@thyn/core 0.0.42 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/element.js +2 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/signals.js +1 -1
- package/package.json +1 -1
- package/tsconfig.json +2 -8
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/element.d.ts +0 -14
- package/dist/router.d.ts +0 -8
- package/dist/signals.d.ts +0 -42
- package/dist/src/element.d.ts +0 -14
- package/dist/src/element.js +0 -363
- package/dist/src/index.d.ts +0 -2
- package/dist/src/index.js +0 -2
- package/dist/src/router.d.ts +0 -8
- package/dist/src/router.js +0 -26
- package/dist/src/signals.d.ts +0 -42
- package/dist/src/signals.js +0 -153
- package/dist/tests/Counter.test.d.ts +0 -1
- package/dist/tests/Counter.test.js +0 -11
- package/dist/tests/lists.test.d.ts +0 -1
- package/dist/tests/lists.test.js +0 -111
- package/dist/tests/show.test.d.ts +0 -1
- package/dist/tests/show.test.js +0 -47
- package/dist/tests/utils.d.ts +0 -1
- package/dist/tests/utils.js +0 -3
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/tests/Counter.test.ts +0 -12
- package/tests/Counter.thyn +0 -7
- package/types/thyn.d.ts +0 -4
package/dist/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $effect, cleanup } from "./signals";
|
|
1
|
+
import { $effect, cleanup } from "./signals.js";
|
|
2
2
|
export function mount(app, parent) {
|
|
3
3
|
parent.appendChild(app());
|
|
4
4
|
}
|
|
@@ -152,9 +152,7 @@ export function show(props) {
|
|
|
152
152
|
}
|
|
153
153
|
return;
|
|
154
154
|
}
|
|
155
|
-
const newElem = currIndex < 0
|
|
156
|
-
? document.createComment("")
|
|
157
|
-
: props[currIndex].then();
|
|
155
|
+
const newElem = currIndex < 0 ? document.createComment("") : props[currIndex].then();
|
|
158
156
|
if (prevElem) {
|
|
159
157
|
const prevFx = effects.get(prevElem);
|
|
160
158
|
if (prevFx) {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { addChildren, addEffect, component, createReactiveTextNode, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList, } from "./element";
|
|
2
|
-
export { $compare, $effect, $signal, type Signal } from "./signals";
|
|
1
|
+
export { addChildren, addEffect, component, createReactiveTextNode, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList, } from "./element.js";
|
|
2
|
+
export { $compare, $effect, $signal, type Signal } from "./signals.js";
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { addChildren, addEffect, component, createReactiveTextNode, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList, } from "./element";
|
|
2
|
-
export { $compare, $effect, $signal } from "./signals";
|
|
1
|
+
export { addChildren, addEffect, component, createReactiveTextNode, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList, } from "./element.js";
|
|
2
|
+
export { $compare, $effect, $signal } from "./signals.js";
|
package/dist/signals.js
CHANGED
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -10,15 +10,9 @@
|
|
|
10
10
|
"skipLibCheck": true,
|
|
11
11
|
"isolatedModules": true,
|
|
12
12
|
"outDir": "dist",
|
|
13
|
-
"rootDir": "
|
|
14
|
-
"typeRoots": [
|
|
15
|
-
"./node_modules/@types",
|
|
16
|
-
"./types"
|
|
17
|
-
]
|
|
13
|
+
"rootDir": "src"
|
|
18
14
|
},
|
|
19
15
|
"include": [
|
|
20
|
-
"src/**/*"
|
|
21
|
-
"tests/**/*",
|
|
22
|
-
"types/**/*.d.ts"
|
|
16
|
+
"src/**/*"
|
|
23
17
|
]
|
|
24
18
|
}
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"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.dom.iterable.d.ts","./node_modules/typescript/lib/lib.dom.asynciterable.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.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.es2016.intl.d.ts","./node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","./node_modules/typescript/lib/lib.es2017.date.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.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/typescript/lib/lib.es2020.full.d.ts","./src/signals.ts","./src/element.ts","./src/index.ts","./src/router.ts","./node_modules/@vitest/pretty-format/dist/index.d.ts","./node_modules/@vitest/utils/dist/types.d.ts","./node_modules/@vitest/utils/dist/helpers.d.ts","./node_modules/tinyrainbow/dist/index-8b61d5bc.d.ts","./node_modules/tinyrainbow/dist/node.d.ts","./node_modules/@vitest/utils/dist/index.d.ts","./node_modules/@vitest/runner/dist/tasks.d-CkscK4of.d.ts","./node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","./node_modules/@vitest/utils/dist/diff.d.ts","./node_modules/@vitest/utils/diff.d.ts","./node_modules/@vitest/runner/dist/types.d.ts","./node_modules/@vitest/utils/dist/error.d.ts","./node_modules/@vitest/utils/error.d.ts","./node_modules/@vitest/runner/dist/index.d.ts","./node_modules/vitest/optional-types.d.ts","./node_modules/vitest/dist/chunks/environment.d.cL3nLXbE.d.ts","./node_modules/vite/types/hmrPayload.d.ts","./node_modules/vite/dist/node/moduleRunnerTransport-BWUZBVLX.d.ts","./node_modules/vite/types/customEvent.d.ts","./node_modules/@types/estree/index.d.ts","./node_modules/rollup/dist/rollup.d.ts","./node_modules/vite/types/hot.d.ts","./node_modules/vite/dist/node/module-runner.d.ts","./node_modules/esbuild/lib/main.d.ts","./node_modules/vite/types/internal/terserOptions.d.ts","./node_modules/source-map-js/source-map.d.ts","./node_modules/postcss/lib/previous-map.d.ts","./node_modules/postcss/lib/input.d.ts","./node_modules/postcss/lib/css-syntax-error.d.ts","./node_modules/postcss/lib/declaration.d.ts","./node_modules/postcss/lib/root.d.ts","./node_modules/postcss/lib/warning.d.ts","./node_modules/postcss/lib/lazy-result.d.ts","./node_modules/postcss/lib/no-work-result.d.ts","./node_modules/postcss/lib/processor.d.ts","./node_modules/postcss/lib/result.d.ts","./node_modules/postcss/lib/document.d.ts","./node_modules/postcss/lib/rule.d.ts","./node_modules/postcss/lib/node.d.ts","./node_modules/postcss/lib/comment.d.ts","./node_modules/postcss/lib/container.d.ts","./node_modules/postcss/lib/at-rule.d.ts","./node_modules/postcss/lib/list.d.ts","./node_modules/postcss/lib/postcss.d.ts","./node_modules/vite/types/internal/lightningcssOptions.d.ts","./node_modules/vite/types/internal/cssPreprocessorOptions.d.ts","./node_modules/vite/types/importGlob.d.ts","./node_modules/vite/types/metadata.d.ts","./node_modules/vite/dist/node/index.d.ts","./node_modules/@vitest/mocker/dist/registry.d-D765pazg.d.ts","./node_modules/@vitest/mocker/dist/types.d-D_aRZRdy.d.ts","./node_modules/@vitest/mocker/dist/index.d.ts","./node_modules/@vitest/utils/dist/source-map.d.ts","./node_modules/vite-node/dist/trace-mapping.d-DLVdEqOp.d.ts","./node_modules/vite-node/dist/index.d-DGmxD2U7.d.ts","./node_modules/vite-node/dist/index.d.ts","./node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts","./node_modules/@vitest/snapshot/dist/rawSnapshot.d-lFsMJFUd.d.ts","./node_modules/@vitest/snapshot/dist/index.d.ts","./node_modules/@vitest/snapshot/dist/environment.d.ts","./node_modules/@vitest/snapshot/environment.d.ts","./node_modules/vitest/dist/chunks/config.d.D2ROskhv.d.ts","./node_modules/vitest/dist/chunks/worker.d.1GmBbd7G.d.ts","./node_modules/@types/deep-eql/index.d.ts","./node_modules/@types/chai/index.d.ts","./node_modules/@vitest/runner/dist/utils.d.ts","./node_modules/@vitest/runner/utils.d.ts","./node_modules/tinybench/dist/index.d.cts","./node_modules/vitest/dist/chunks/benchmark.d.BwvBVTda.d.ts","./node_modules/vite-node/dist/client.d.ts","./node_modules/vitest/dist/chunks/coverage.d.S9RMNXIe.d.ts","./node_modules/@vitest/snapshot/dist/manager.d.ts","./node_modules/@vitest/snapshot/manager.d.ts","./node_modules/vitest/dist/chunks/reporters.d.BFLkQcL6.d.ts","./node_modules/vitest/dist/chunks/worker.d.CKwWzBSj.d.ts","./node_modules/@vitest/spy/dist/index.d.ts","./node_modules/@vitest/expect/dist/index.d.ts","./node_modules/vitest/dist/chunks/global.d.MAmajcmJ.d.ts","./node_modules/vitest/dist/chunks/vite.d.CMLlLIFP.d.ts","./node_modules/vitest/dist/chunks/mocker.d.BE_2ls6u.d.ts","./node_modules/vitest/dist/chunks/suite.d.FvehnV49.d.ts","./node_modules/expect-type/dist/utils.d.ts","./node_modules/expect-type/dist/overloads.d.ts","./node_modules/expect-type/dist/branding.d.ts","./node_modules/expect-type/dist/messages.d.ts","./node_modules/expect-type/dist/index.d.ts","./node_modules/vitest/dist/index.d.ts","./tests/Counter.test.ts","./tests/lists.test.ts","./types/thyn.d.ts"],"fileIdsList":[[119],[60,61,65,131],[105,106],[61,62,65,66,68],[61],[61,62,65],[61,62],[121],[112],[56,112,113],[56,112],[115],[127],[64],[56,63],[57],[56,57,58,60],[56],[67],[137,138],[137,138,139,140],[137,139],[137],[96],[94,96],[85,93,94,95,97,99],[83],[86,91,96,99],[82,99],[86,87,90,91,92,99],[86,87,88,90,91,99],[83,84,85,86,87,91,92,93,95,96,97,99],[81,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98],[81,99],[86,88,89,91,92,99],[90,99],[91,92,96,99],[84,94],[75,76],[59],[109,110],[109],[72,73,74,76,78,79,80,99,100,101,102,103,104],[72,73,74,77],[72],[74],[76,104],[69,122,123,133],[56,65,69,114,116,133],[125],[70],[56,69,71,114,124,132,133],[107],[56,61,65,69,71,104,107,108,111,114,117,118,120,124,126,128,133,134],[69,122,123,124,133],[104,129,134],[69,71,111,114,117,133],[118],[56,61,65,69,70,71,104,107,108,111,114,116,117,118,120,122,123,124,125,126,128,129,130,131,132,133,134,135,136,141],[52],[52,53],[53],[142,145],[54,142]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"e2a1f8e9201f385eb7f4a9fe2ad40e5f4030c1c6fc243b5842767c35f7db6945","signature":"b290f55f19a8eea3ca7744260e2e9390859360051fc8ce2a7e0dfcf4b4ffa020"},{"version":"d6f0fb6e6fbf5f31b99b9b0cfe4bf5ffcc3ab5b6cf9de4339f8586cc1b7ae41a","signature":"df3fa22f0ef1f6ad168345c5e393d2cab9f7716b42bedb53cd2012fccae65364"},{"version":"4a8bf37f5e5a07171e2c4c4819fcb62b2438c592b10cb28abfceb6d68c37fd8b","signature":"91b8f5156960fe5595282e7081f0523603e771495917abeecc0b3e1aee15a73f"},{"version":"c0c1bb4306b6cc152f775560e3a1a3ef40675420ba36becf0b5db4401f526aba","signature":"ddcca2e735001a121906facae57fec6a497d7d36841e8482fc0f90c5a4f7ca3d"},{"version":"5c54a34e3d91727f7ae840bfe4d5d1c9a2f93c54cb7b6063d06ee4a6c3322656","impliedFormat":99},{"version":"db4da53b03596668cf6cc9484834e5de3833b9e7e64620cf08399fe069cd398d","impliedFormat":99},{"version":"ac7c28f153820c10850457994db1462d8c8e462f253b828ad942a979f726f2f9","impliedFormat":99},{"version":"f9b028d3c3891dd817e24d53102132b8f696269309605e6ed4f0db2c113bbd82","impliedFormat":99},{"version":"fb7c8d90e52e2884509166f96f3d591020c7b7977ab473b746954b0c8d100960","impliedFormat":99},{"version":"0bff51d6ed0c9093f6955b9d8258ce152ddb273359d50a897d8baabcb34de2c4","impliedFormat":99},{"version":"45cec9a1ba6549060552eead8959d47226048e0b71c7d0702ae58b7e16a28912","impliedFormat":99},{"version":"ef13c73d6157a32933c612d476c1524dd674cf5b9a88571d7d6a0d147544d529","impliedFormat":99},{"version":"13918e2b81c4288695f9b1f3dcc2468caf0f848d5c1f3dc00071c619d34ff63a","impliedFormat":99},{"version":"05c7aef6a4e496b93c2e682cced8903c0dfe6340d04f3fe616176e2782193435","impliedFormat":99},{"version":"6907b09850f86610e7a528348c15484c1e1c09a18a9c1e98861399dfe4b18b46","impliedFormat":99},{"version":"12deea8eaa7a4fc1a2908e67da99831e5c5a6b46ad4f4f948fd4759314ea2b80","impliedFormat":99},{"version":"500a67e158e4025f27570ab6a99831680852bb45a44d4c3647ab7567feb1fb4c","impliedFormat":99},{"version":"f0a8b376568a18f9a4976ecb0855187672b16b96c4df1c183a7e52dc1b5d98e8","impliedFormat":99},{"version":"8124828a11be7db984fcdab052fd4ff756b18edcfa8d71118b55388176210923","impliedFormat":99},{"version":"092944a8c05f9b96579161e88c6f211d5304a76bd2c47f8d4c30053269146bc8","impliedFormat":99},{"version":"a7ca8df4f2931bef2aa4118078584d84a0b16539598eaadf7dce9104dfaa381c","impliedFormat":1},{"version":"5c31dea483b64cbb341ea8a7073c457720d1574f87837e71cccb70ce91196211","impliedFormat":99},{"version":"11443a1dcfaaa404c68d53368b5b818712b95dd19f188cab1669c39bee8b84b3","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"ffb518fc55181aefd066c690dbc0f8fa6a1533c8ddac595469c8c5f7fda2d756","affectsGlobalScope":true,"impliedFormat":1},{"version":"36977c14a7f7bfc8c0426ae4343875689949fb699f3f84ecbe5b300ebf9a2c55","impliedFormat":1},{"version":"91b625209fa2a7c406923f59460ddb8d8919cd1c956edd76a047a670a6250d22","impliedFormat":99},{"version":"dd7ca4f0ef3661dac7043fb2cdf1b99e008d2b6bc5cd998dd1fa5a2968034984","affectsGlobalScope":true,"impliedFormat":1},{"version":"f582b0fcbf1eea9b318ab92fb89ea9ab2ebb84f9b60af89328a91155e1afce72","impliedFormat":1},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","impliedFormat":1},{"version":"333caa2bfff7f06017f114de738050dd99a765c7eb16571c6d25a38c0d5365dc","impliedFormat":1},{"version":"e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","impliedFormat":1},{"version":"459920181700cec8cbdf2a5faca127f3f17fd8dd9d9e577ed3f5f3af5d12a2e4","impliedFormat":1},{"version":"4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","impliedFormat":1},{"version":"70790a7f0040993ca66ab8a07a059a0f8256e7bb57d968ae945f696cbff4ac7a","impliedFormat":1},{"version":"d1b9a81e99a0050ca7f2d98d7eedc6cda768f0eb9fa90b602e7107433e64c04c","impliedFormat":1},{"version":"a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","impliedFormat":1},{"version":"b215c4f0096f108020f666ffcc1f072c81e9f2f95464e894a5d5f34c5ea2a8b1","impliedFormat":1},{"version":"644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","impliedFormat":1},{"version":"dfe54dab1fa4961a6bcfba68c4ca955f8b5bbeb5f2ab3c915aa7adaa2eabc03a","impliedFormat":1},{"version":"1251d53755b03cde02466064260bb88fd83c30006a46395b7d9167340bc59b73","impliedFormat":1},{"version":"47865c5e695a382a916b1eedda1b6523145426e48a2eae4647e96b3b5e52024f","impliedFormat":1},{"version":"4cdf27e29feae6c7826cdd5c91751cc35559125e8304f9e7aed8faef97dcf572","impliedFormat":1},{"version":"331b8f71bfae1df25d564f5ea9ee65a0d847c4a94baa45925b6f38c55c7039bf","impliedFormat":1},{"version":"2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","impliedFormat":1},{"version":"0146fd6262c3fd3da51cb0254bb6b9a4e42931eb2f56329edd4c199cb9aaf804","impliedFormat":1},{"version":"4ec16d7a4e366c06a4573d299e15fe6207fc080f41beac5da06f4af33ea9761e","impliedFormat":1},{"version":"960bd764c62ac43edc24eaa2af958a4b4f1fa5d27df5237e176d0143b36a39c6","affectsGlobalScope":true,"impliedFormat":1},{"version":"f6a2b059a33edc17f69fe47dd65a6fce6d10a036ba5f71d8f53d5833226e45c2","impliedFormat":1},{"version":"f70b8328a15ca1d10b1436b691e134a49bc30dcf3183a69bfaa7ba77e1b78ecd","impliedFormat":1},{"version":"37290a5437be341902457e9d575d89a44b401c209055b00617b6956604ed5516","impliedFormat":99},{"version":"b34b5f6b506abb206b1ea73c6a332b9ee9c8c98be0f6d17cdbda9430ecc1efab","impliedFormat":99},{"version":"75d4c746c3d16af0df61e7b0afe9606475a23335d9f34fcc525d388c21e9058b","impliedFormat":99},{"version":"fa959bf357232201c32566f45d97e70538c75a093c940af594865d12f31d4912","impliedFormat":99},{"version":"d2c52abd76259fc39a30dfae70a2e5ce77fd23144457a7ff1b64b03de6e3aec7","impliedFormat":99},{"version":"e6233e1c976265e85aa8ad76c3881febe6264cb06ae3136f0257e1eab4a6cc5a","impliedFormat":99},{"version":"f73e2335e568014e279927321770da6fe26facd4ac96cdc22a56687f1ecbb58e","impliedFormat":99},{"version":"317878f156f976d487e21fd1d58ad0461ee0a09185d5b0a43eedf2a56eb7e4ea","impliedFormat":99},{"version":"324ac98294dab54fbd580c7d0e707d94506d7b2c3d5efe981a8495f02cf9ad96","impliedFormat":99},{"version":"9ec72eb493ff209b470467e24264116b6a8616484bca438091433a545dfba17e","impliedFormat":99},{"version":"d6ee22aba183d5fc0c7b8617f77ee82ecadc2c14359cc51271c135e23f6ed51f","impliedFormat":99},{"version":"49747416f08b3ba50500a215e7a55d75268b84e31e896a40313c8053e8dec908","impliedFormat":99},{"version":"f2d1a59a658165341b0e2b7879aa2e19ea6a709146b2d3f70ee8a07159d3d08e","impliedFormat":99},{"version":"81e634f1c5e1ca309e7e3dc69e2732eea932ef07b8b34517d452e5a3e9a36fa3","impliedFormat":99},{"version":"34f39f75f2b5aa9c84a9f8157abbf8322e6831430e402badeaf58dd284f9b9a6","impliedFormat":99},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"c8905dbea83f3220676a669366cd8c1acef56af4d9d72a8b2241b1d044bb4302","affectsGlobalScope":true,"impliedFormat":99},{"version":"891694d3694abd66f0b8872997b85fd8e52bc51632ce0f8128c96962b443189f","impliedFormat":99},{"version":"e666e31d323fef5642f87db0da48a83e58f0aaf9e3823e87eabd8ec7e0441a36","impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","impliedFormat":1},{"version":"971a2c327ff166c770c5fb35699575ba2d13bba1f6d2757309c9be4b30036c8e","impliedFormat":99},{"version":"4f45e8effab83434a78d17123b01124259fbd1e335732135c213955d85222234","impliedFormat":99},{"version":"7bd51996fb7717941cbe094b05adc0d80b9503b350a77b789bbb0fc786f28053","impliedFormat":99},{"version":"b62006bbc815fe8190c7aee262aad6bff993e3f9ade70d7057dfceab6de79d2f","impliedFormat":99},{"version":"b7e28e06011460436d5c2ec2996846ac0c451e135357fc5a7269e5665a32fbd7","impliedFormat":99},{"version":"13497c0d73306e27f70634c424cd2f3b472187164f36140b504b3756b0ff476d","impliedFormat":99},{"version":"bf7a2d0f6d9e72d59044079d61000c38da50328ccdff28c47528a1a139c610ec","impliedFormat":99},{"version":"04471dc55f802c29791cc75edda8c4dd2a121f71c2401059da61eff83099e8ab","impliedFormat":99},{"version":"120a80aa556732f684db3ed61aeff1d6671e1655bd6cba0aa88b22b88ac9a6b1","affectsGlobalScope":true,"impliedFormat":99},{"version":"e58c0b5226aff07b63be6ac6e1bec9d55bc3d2bda3b11b9b68cccea8c24ae839","affectsGlobalScope":true,"impliedFormat":99},{"version":"a23a08b626aa4d4a1924957bd8c4d38a7ffc032e21407bbd2c97413e1d8c3dbd","impliedFormat":99},{"version":"5a88655bf852c8cc007d6bc874ab61d1d63fba97063020458177173c454e9b4a","impliedFormat":99},{"version":"7e4dfae2da12ec71ffd9f55f4641a6e05610ce0d6784838659490e259e4eb13c","impliedFormat":99},{"version":"c30a41267fc04c6518b17e55dcb2b810f267af4314b0b6d7df1c33a76ce1b330","impliedFormat":1},{"version":"72422d0bac4076912385d0c10911b82e4694fc106e2d70added091f88f0824ba","impliedFormat":1},{"version":"da251b82c25bee1d93f9fd80c5a61d945da4f708ca21285541d7aff83ecb8200","impliedFormat":1},{"version":"4c8ca51077f382498f47074cf304d654aba5d362416d4f809dfdd5d4f6b3aaca","impliedFormat":1},{"version":"c6bddf16578495abc8b5546850b047f30c4b5a2a2b7fecefc0e11a44a6e91399","impliedFormat":1},{"version":"13573a613314e40482386fe9c7934f9d86f3e06f19b840466c75391fb833b99b","impliedFormat":99},{"version":"2e5c0be3eb60f4b69b8f5527c7f4ec61fe1b8e4ea0649842d183d22b8f71fc41","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"fa99e3aba4ac6dd847f52b76ac36c65922100343afa4a11352e9553121555d3b","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"792d513903a3e06084365097c8dfdf1201e4a36324dc75b88766de07b27d8b44"],"root":[[52,55],[143,145]],"options":{"allowJs":true,"checkJs":false,"composite":true,"esModuleInterop":true,"module":99,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"target":7},"referencedMap":[[120,1],[132,2],[107,3],[69,4],[62,5],[66,6],[121,7],[122,8],[115,9],[114,10],[127,10],[113,11],[116,12],[128,13],[65,14],[64,15],[67,15],[58,16],[61,17],[108,16],[63,18],[68,19],[139,20],[141,21],[140,22],[138,23],[97,24],[95,25],[96,26],[84,27],[85,25],[92,28],[83,29],[88,30],[89,31],[94,32],[99,33],[82,34],[90,35],[91,36],[86,37],[93,24],[87,38],[76,39],[60,40],[125,41],[110,42],[111,41],[104,43],[78,44],[73,45],[74,45],[77,46],[103,47],[124,48],[117,49],[126,50],[71,51],[133,52],[135,53],[129,54],[136,55],[134,56],[118,57],[130,58],[142,59],[53,60],[54,61],[55,61],[52,62],[143,63],[144,64]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,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],"latestChangedDtsFile":"./tests/lists.test.d.ts","version":"5.8.3"}
|
|
1
|
+
{"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.dom.iterable.d.ts","./node_modules/typescript/lib/lib.dom.asynciterable.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.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.es2016.intl.d.ts","./node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","./node_modules/typescript/lib/lib.es2017.date.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.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/typescript/lib/lib.es2020.full.d.ts","./src/signals.ts","./src/element.ts","./src/index.ts","./src/router.ts","./node_modules/@types/deep-eql/index.d.ts","./node_modules/@types/chai/index.d.ts","./node_modules/@types/estree/index.d.ts"],"fileIdsList":[[56],[52],[52,53],[53]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"3446c1d19d4e23fa948d6ed420e0b4c9b2527bdd56d3739ccce4bdbd2a04ca26","signature":"b290f55f19a8eea3ca7744260e2e9390859360051fc8ce2a7e0dfcf4b4ffa020"},{"version":"dae3b45c6576ed860708ff58099f9e50acc225b7ad1a460e79276c51539d5ae4","signature":"df3fa22f0ef1f6ad168345c5e393d2cab9f7716b42bedb53cd2012fccae65364"},{"version":"f078bb1ffe7613336b4ba1e113f2efeb1807af583ac83d705f01a9cd868bfdd0","signature":"b1a9d2029bc09d94260873e1f48c13f05dda2176e23821d0b194812fcc9c3ccc"},{"version":"c0c1bb4306b6cc152f775560e3a1a3ef40675420ba36becf0b5db4401f526aba","signature":"ddcca2e735001a121906facae57fec6a497d7d36841e8482fc0f90c5a4f7ca3d"},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"c8905dbea83f3220676a669366cd8c1acef56af4d9d72a8b2241b1d044bb4302","affectsGlobalScope":true,"impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1}],"root":[[52,55]],"options":{"allowJs":true,"checkJs":false,"composite":true,"esModuleInterop":true,"module":99,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"target":7},"referencedMap":[[57,1],[53,2],[54,3],[55,3],[52,4]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.8.3"}
|
package/dist/element.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare function mount(app: any, parent: any): void;
|
|
2
|
-
export declare let currentEffects: any | undefined;
|
|
3
|
-
export declare function createReactiveTextNode(v: any): any;
|
|
4
|
-
export declare function component(name: any, props?: any): any;
|
|
5
|
-
export declare function setAttribute(el: any, key: any, val: any): any;
|
|
6
|
-
export declare function setProperty(el: any, key: any, val: any): any;
|
|
7
|
-
export declare function setReactiveAttribute(el: any, key: any, val: any): any;
|
|
8
|
-
export declare function setReactiveProperty(el: any, key: any, val: any): any;
|
|
9
|
-
export declare function addChildren(e: any, children: any): any;
|
|
10
|
-
export declare function markAsReactive(el: any): any;
|
|
11
|
-
export declare function addEffect(el: any, ef: any): any;
|
|
12
|
-
export declare function show(props: any): Element | Comment;
|
|
13
|
-
export declare function terminalList(props: any): DocumentFragment;
|
|
14
|
-
export declare function list(props: any, terminal?: boolean): DocumentFragment;
|
package/dist/router.d.ts
DELETED
package/dist/signals.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export type Signal<T> = {
|
|
2
|
-
(): T;
|
|
3
|
-
(value: T): void;
|
|
4
|
-
(updater: (prev: T) => T): void;
|
|
5
|
-
};
|
|
6
|
-
export declare function $signal<T>(value: T): Signal<T>;
|
|
7
|
-
/**
|
|
8
|
-
* Creates a reactive equality checker function based on a reactive source.
|
|
9
|
-
*
|
|
10
|
-
* This is useful when you want to conditionally react to equality against a selected value,
|
|
11
|
-
* such as highlighting a selected item in a list. Only effects that call the returned function
|
|
12
|
-
* with the **current** value will re-run when the source value changes.
|
|
13
|
-
*
|
|
14
|
-
* Example:
|
|
15
|
-
*
|
|
16
|
-
* ```ts
|
|
17
|
-
* const selectedId = $signal(null);
|
|
18
|
-
* const isSelected = $compare(selectedId);
|
|
19
|
-
*
|
|
20
|
-
* $effect(() => {
|
|
21
|
-
* if (isSelected(row.id)) {
|
|
22
|
-
* // React only if row.id === selectedId()
|
|
23
|
-
* }
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* Internally, only effects that compare against the current or previous selected value
|
|
28
|
-
* are re-evaluated when the source changes. This is especially efficient in large lists.
|
|
29
|
-
*
|
|
30
|
-
* @template T The type of the reactive value being compared.
|
|
31
|
-
* @param {() => T} fn A reactive function returning the current value to compare against.
|
|
32
|
-
* @returns {(value: T) => boolean} A function that returns true if the provided value
|
|
33
|
-
* matches the current value from `fn()`. Automatically subscribes the calling effect
|
|
34
|
-
* to changes in that specific value.
|
|
35
|
-
*/
|
|
36
|
-
export declare function $compare<T>(fn: () => T): (value: T) => boolean;
|
|
37
|
-
export declare function $effect(fn: any): {
|
|
38
|
-
run: any;
|
|
39
|
-
deps: Set<unknown>;
|
|
40
|
-
td: any;
|
|
41
|
-
};
|
|
42
|
-
export declare function cleanup(effectFn: any): void;
|
package/dist/src/element.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare function mount(app: any, parent: any): void;
|
|
2
|
-
export declare let currentEffects: any | undefined;
|
|
3
|
-
export declare function createReactiveTextNode(v: any): any;
|
|
4
|
-
export declare function component(name: any, props?: any): any;
|
|
5
|
-
export declare function setAttribute(el: any, key: any, val: any): any;
|
|
6
|
-
export declare function setProperty(el: any, key: any, val: any): any;
|
|
7
|
-
export declare function setReactiveAttribute(el: any, key: any, val: any): any;
|
|
8
|
-
export declare function setReactiveProperty(el: any, key: any, val: any): any;
|
|
9
|
-
export declare function addChildren(e: any, children: any): any;
|
|
10
|
-
export declare function markAsReactive(el: any): any;
|
|
11
|
-
export declare function addEffect(el: any, ef: any): any;
|
|
12
|
-
export declare function show(props: any): Element | Comment;
|
|
13
|
-
export declare function terminalList(props: any): DocumentFragment;
|
|
14
|
-
export declare function list(props: any, terminal?: boolean): DocumentFragment;
|
package/dist/src/element.js
DELETED
|
@@ -1,363 +0,0 @@
|
|
|
1
|
-
import { $effect, cleanup } from "./signals.js";
|
|
2
|
-
export function mount(app, parent) {
|
|
3
|
-
parent.appendChild(app());
|
|
4
|
-
}
|
|
5
|
-
const effects = new Map();
|
|
6
|
-
export let currentEffects;
|
|
7
|
-
export function createReactiveTextNode(v) {
|
|
8
|
-
let n;
|
|
9
|
-
$effect(() => {
|
|
10
|
-
if (n) {
|
|
11
|
-
n.nodeValue = v();
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
n = document.createTextNode(v());
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
return n;
|
|
18
|
-
}
|
|
19
|
-
export function component(name, props) {
|
|
20
|
-
const prevEffects = currentEffects;
|
|
21
|
-
currentEffects = [];
|
|
22
|
-
const e = name(props);
|
|
23
|
-
const existing = effects.get(e);
|
|
24
|
-
if (existing) {
|
|
25
|
-
existing.push(...currentEffects);
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
effects.set(e, currentEffects);
|
|
29
|
-
}
|
|
30
|
-
currentEffects = prevEffects;
|
|
31
|
-
return e;
|
|
32
|
-
}
|
|
33
|
-
export function setAttribute(el, key, val) {
|
|
34
|
-
if (val)
|
|
35
|
-
el.setAttribute(key, val);
|
|
36
|
-
return el;
|
|
37
|
-
}
|
|
38
|
-
export function setProperty(el, key, val) {
|
|
39
|
-
if (val)
|
|
40
|
-
el[key] = val;
|
|
41
|
-
return el;
|
|
42
|
-
}
|
|
43
|
-
export function setReactiveAttribute(el, key, val) {
|
|
44
|
-
let first = true;
|
|
45
|
-
addEffect(el, $effect(() => {
|
|
46
|
-
const v = val();
|
|
47
|
-
if (first) {
|
|
48
|
-
if (v !== undefined)
|
|
49
|
-
el.setAttribute(key, val());
|
|
50
|
-
first = false;
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
if (v === undefined)
|
|
54
|
-
el.removeAttribute(key);
|
|
55
|
-
else
|
|
56
|
-
el.setAttribute(key, v);
|
|
57
|
-
}));
|
|
58
|
-
return el;
|
|
59
|
-
}
|
|
60
|
-
export function setReactiveProperty(el, key, val) {
|
|
61
|
-
let first = true;
|
|
62
|
-
addEffect(el, $effect(() => {
|
|
63
|
-
const v = val();
|
|
64
|
-
if (first) {
|
|
65
|
-
if (v !== undefined)
|
|
66
|
-
el[key] = v;
|
|
67
|
-
first = false;
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
if (v === undefined)
|
|
71
|
-
delete el[key];
|
|
72
|
-
else
|
|
73
|
-
el[key] = v;
|
|
74
|
-
}));
|
|
75
|
-
return el;
|
|
76
|
-
}
|
|
77
|
-
export function addChildren(e, children) {
|
|
78
|
-
for (const ch of children) {
|
|
79
|
-
e.appendChild(ch);
|
|
80
|
-
}
|
|
81
|
-
return e;
|
|
82
|
-
}
|
|
83
|
-
export function markAsReactive(el) {
|
|
84
|
-
if (!effects.has(el))
|
|
85
|
-
effects.set(el, []);
|
|
86
|
-
return el;
|
|
87
|
-
}
|
|
88
|
-
export function addEffect(el, ef) {
|
|
89
|
-
if (effects.has(el)) {
|
|
90
|
-
effects.get(el).push(ef);
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
effects.set(el, [ef]);
|
|
94
|
-
}
|
|
95
|
-
return el;
|
|
96
|
-
}
|
|
97
|
-
function teardown(elem, iterating = false) {
|
|
98
|
-
let end;
|
|
99
|
-
let start;
|
|
100
|
-
if (elem.nodeType === 8) { // COMMENT_NODE
|
|
101
|
-
const bookends = fragments.get(elem);
|
|
102
|
-
if (!bookends) {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
fragments.delete(elem);
|
|
106
|
-
start = elem;
|
|
107
|
-
[elem, end] = bookends;
|
|
108
|
-
}
|
|
109
|
-
const fx = effects.get(elem);
|
|
110
|
-
if (fx) {
|
|
111
|
-
for (const eff of fx) {
|
|
112
|
-
cleanup(eff);
|
|
113
|
-
}
|
|
114
|
-
effects.delete(elem);
|
|
115
|
-
if (end && elem.nodeType === 11) { // DOCUMENT_FRAGMENT_NODE
|
|
116
|
-
if (iterating)
|
|
117
|
-
return;
|
|
118
|
-
while (end.previousSibling !== start) {
|
|
119
|
-
teardown(end.previousSibling);
|
|
120
|
-
end = end.previousSibling;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
for (const ch of elem.childNodes) {
|
|
125
|
-
teardown(ch, true);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
function remove(elem) {
|
|
131
|
-
if (!elem.parentNode) {
|
|
132
|
-
const [, end] = fragments.get(elem);
|
|
133
|
-
if (!elem.previousSibling && !end.nextSibling) {
|
|
134
|
-
elem.parentNode.textContent = "";
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
137
|
-
while (end.previousSibling !== elem) {
|
|
138
|
-
end.previousSibling.remove();
|
|
139
|
-
}
|
|
140
|
-
end.remove();
|
|
141
|
-
}
|
|
142
|
-
elem.remove();
|
|
143
|
-
}
|
|
144
|
-
export function show(props) {
|
|
145
|
-
let prevIndex = -1;
|
|
146
|
-
let prevElem;
|
|
147
|
-
const eff = $effect(() => {
|
|
148
|
-
const currIndex = props.findIndex((c) => !c.if || c.if());
|
|
149
|
-
if (currIndex === prevIndex) {
|
|
150
|
-
if (!prevElem) {
|
|
151
|
-
prevElem = document.createComment("");
|
|
152
|
-
}
|
|
153
|
-
return;
|
|
154
|
-
}
|
|
155
|
-
const newElem = currIndex < 0 ? document.createComment("") : props[currIndex].then();
|
|
156
|
-
if (prevElem) {
|
|
157
|
-
const prevFx = effects.get(prevElem);
|
|
158
|
-
if (prevFx) {
|
|
159
|
-
effects.set(prevElem, prevFx.filter((f) => f !== eff));
|
|
160
|
-
}
|
|
161
|
-
const fx = effects.get(newElem);
|
|
162
|
-
if (fx) {
|
|
163
|
-
fx.push(eff);
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
effects.set(newElem, [eff]);
|
|
167
|
-
}
|
|
168
|
-
let td = prevElem;
|
|
169
|
-
queueMicrotask(() => {
|
|
170
|
-
teardown(td);
|
|
171
|
-
td.replaceWith(newElem);
|
|
172
|
-
td = null;
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
prevElem = newElem;
|
|
176
|
-
prevIndex = currIndex;
|
|
177
|
-
});
|
|
178
|
-
return prevElem;
|
|
179
|
-
}
|
|
180
|
-
const replaceWith = (nextItem, prevElement, render) => {
|
|
181
|
-
teardown(prevElement);
|
|
182
|
-
prevElement.replaceWith(render(nextItem));
|
|
183
|
-
};
|
|
184
|
-
const fragments = new Map();
|
|
185
|
-
export function terminalList(props) {
|
|
186
|
-
return list(props, true);
|
|
187
|
-
}
|
|
188
|
-
export function list(props, terminal = false) {
|
|
189
|
-
let prevItems;
|
|
190
|
-
let outlet = document.createDocumentFragment();
|
|
191
|
-
const startBookend = document.createComment("");
|
|
192
|
-
const endBookend = document.createComment("");
|
|
193
|
-
const render = props.render;
|
|
194
|
-
const keyMap = new Map();
|
|
195
|
-
let isolated = false;
|
|
196
|
-
$effect(() => {
|
|
197
|
-
const parent = startBookend.parentNode;
|
|
198
|
-
if (!parent) {
|
|
199
|
-
prevItems = props.items();
|
|
200
|
-
for (const i of prevItems) {
|
|
201
|
-
outlet.appendChild(render(i));
|
|
202
|
-
}
|
|
203
|
-
return;
|
|
204
|
-
}
|
|
205
|
-
let nextItems = props.items();
|
|
206
|
-
let newLength = nextItems.length;
|
|
207
|
-
let oldLength = prevItems.length;
|
|
208
|
-
if (!oldLength && newLength) {
|
|
209
|
-
for (const i of nextItems) {
|
|
210
|
-
parent.insertBefore(render(i), endBookend);
|
|
211
|
-
}
|
|
212
|
-
prevItems = nextItems;
|
|
213
|
-
return;
|
|
214
|
-
}
|
|
215
|
-
if (!newLength && isolated) {
|
|
216
|
-
const end = parent.childNodes.length - 1;
|
|
217
|
-
if (terminal) {
|
|
218
|
-
for (let i = 1; i < end; i++) {
|
|
219
|
-
const ch = parent.childNodes[i];
|
|
220
|
-
for (const f of effects.get(ch))
|
|
221
|
-
cleanup(f);
|
|
222
|
-
effects.delete(ch);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
else {
|
|
226
|
-
for (let i = 1; i < parent.childNodes.length - 1; i++) {
|
|
227
|
-
teardown(parent.childNodes[i]);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
parent.textContent = "";
|
|
231
|
-
parent.append(startBookend, endBookend);
|
|
232
|
-
prevItems = nextItems;
|
|
233
|
-
return;
|
|
234
|
-
}
|
|
235
|
-
let start = nextItems.findIndex((item, index) => prevItems[index] !== item);
|
|
236
|
-
if (start === oldLength) {
|
|
237
|
-
for (let i = start; i < newLength; i++) {
|
|
238
|
-
parent.insertBefore(render(nextItems[i]), endBookend);
|
|
239
|
-
}
|
|
240
|
-
prevItems = nextItems;
|
|
241
|
-
return;
|
|
242
|
-
}
|
|
243
|
-
const childNodes = Array.from(parent.childNodes);
|
|
244
|
-
const offset = childNodes.indexOf(startBookend) + 1;
|
|
245
|
-
if (start < 0) {
|
|
246
|
-
for (let i = nextItems.length; i < oldLength; i++) {
|
|
247
|
-
const e = childNodes[offset + --oldLength];
|
|
248
|
-
teardown(e);
|
|
249
|
-
remove(e);
|
|
250
|
-
}
|
|
251
|
-
prevItems = nextItems;
|
|
252
|
-
return;
|
|
253
|
-
}
|
|
254
|
-
if (start >= newLength) {
|
|
255
|
-
while (start < oldLength) {
|
|
256
|
-
const e = childNodes[offset + --oldLength];
|
|
257
|
-
teardown(e);
|
|
258
|
-
remove(e);
|
|
259
|
-
}
|
|
260
|
-
prevItems = nextItems;
|
|
261
|
-
return;
|
|
262
|
-
}
|
|
263
|
-
// suffix
|
|
264
|
-
oldLength--;
|
|
265
|
-
newLength--;
|
|
266
|
-
while (newLength > start &&
|
|
267
|
-
oldLength >= start &&
|
|
268
|
-
(nextItems[newLength] === prevItems[oldLength])) {
|
|
269
|
-
oldLength--;
|
|
270
|
-
newLength--;
|
|
271
|
-
}
|
|
272
|
-
const nextKeys = new Set(nextItems);
|
|
273
|
-
let rem = [];
|
|
274
|
-
for (let i = start; i <= oldLength; i++) {
|
|
275
|
-
if (!nextKeys.has(prevItems[i])) {
|
|
276
|
-
const ch = childNodes[i + offset];
|
|
277
|
-
if (terminal) {
|
|
278
|
-
for (const f of effects.get(ch))
|
|
279
|
-
cleanup(f);
|
|
280
|
-
effects.delete(ch);
|
|
281
|
-
}
|
|
282
|
-
else {
|
|
283
|
-
teardown(ch);
|
|
284
|
-
}
|
|
285
|
-
rem.push(ch);
|
|
286
|
-
childNodes[i + offset] = null;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
if (isolated && rem.length === prevItems.length) {
|
|
290
|
-
parent.textContent = "";
|
|
291
|
-
parent.appendChild(startBookend);
|
|
292
|
-
for (const i of nextItems) {
|
|
293
|
-
parent.appendChild(render(i));
|
|
294
|
-
}
|
|
295
|
-
parent.appendChild(endBookend);
|
|
296
|
-
prevItems = nextItems;
|
|
297
|
-
rem = null;
|
|
298
|
-
return;
|
|
299
|
-
}
|
|
300
|
-
for (const e of rem) {
|
|
301
|
-
remove(e);
|
|
302
|
-
}
|
|
303
|
-
rem = null;
|
|
304
|
-
for (let i = start; i <= oldLength; i++) {
|
|
305
|
-
if (childNodes[i + offset] &&
|
|
306
|
-
(!nextItems[i] ||
|
|
307
|
-
prevItems[i] !== nextItems[i])) {
|
|
308
|
-
keyMap.set(prevItems[i], {
|
|
309
|
-
element: childNodes[i + offset],
|
|
310
|
-
item: prevItems[i],
|
|
311
|
-
});
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
if (newLength === oldLength && keyMap.size > (newLength - start + 1) / 2) {
|
|
315
|
-
const lastOrdered = childNodes[start + offset - 1];
|
|
316
|
-
const set = [];
|
|
317
|
-
for (let i = start; i <= newLength; i++) {
|
|
318
|
-
set.push(keyMap.get(nextItems[i])?.element ?? childNodes[i + offset]);
|
|
319
|
-
}
|
|
320
|
-
lastOrdered.after(...set);
|
|
321
|
-
prevItems = nextItems;
|
|
322
|
-
keyMap.clear();
|
|
323
|
-
return;
|
|
324
|
-
}
|
|
325
|
-
while (start <= newLength) {
|
|
326
|
-
const newChd = nextItems[start];
|
|
327
|
-
const oldChd = prevItems[start];
|
|
328
|
-
const oldDom = parent.childNodes[start + offset];
|
|
329
|
-
const mappedOld = keyMap.get(newChd);
|
|
330
|
-
if (oldChd === undefined) {
|
|
331
|
-
endBookend.before(render(newChd));
|
|
332
|
-
}
|
|
333
|
-
else if (mappedOld) {
|
|
334
|
-
if (oldDom !== mappedOld.element) {
|
|
335
|
-
const tmp = mappedOld.element.nextSibling;
|
|
336
|
-
parent.insertBefore(mappedOld.element, oldDom);
|
|
337
|
-
parent.insertBefore(oldDom, tmp);
|
|
338
|
-
}
|
|
339
|
-
if (mappedOld.item !== newChd) {
|
|
340
|
-
replaceWith(newChd, mappedOld.element, render);
|
|
341
|
-
}
|
|
342
|
-
keyMap.delete(newChd);
|
|
343
|
-
}
|
|
344
|
-
else if (oldChd !== newChd) {
|
|
345
|
-
parent.insertBefore(render(newChd), oldDom);
|
|
346
|
-
}
|
|
347
|
-
start++;
|
|
348
|
-
}
|
|
349
|
-
for (const v of keyMap.values()) {
|
|
350
|
-
const el = v.element;
|
|
351
|
-
teardown(el);
|
|
352
|
-
remove(el);
|
|
353
|
-
}
|
|
354
|
-
keyMap.clear();
|
|
355
|
-
prevItems = nextItems;
|
|
356
|
-
nextItems = null;
|
|
357
|
-
});
|
|
358
|
-
outlet.prepend(startBookend);
|
|
359
|
-
outlet.append(endBookend);
|
|
360
|
-
fragments.set(startBookend, [outlet, endBookend]);
|
|
361
|
-
isolated = !startBookend.previousSibling && !endBookend.nextSibling;
|
|
362
|
-
return outlet;
|
|
363
|
-
}
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { addChildren, addEffect, component, createReactiveTextNode, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList, } from "./element.js";
|
|
2
|
-
export { $compare, $effect, $signal, type Signal } from "./signals.js";
|
package/dist/src/index.js
DELETED
package/dist/src/router.d.ts
DELETED
package/dist/src/router.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { component, show } from "./element.js";
|
|
2
|
-
import { $signal } from "./signals.js";
|
|
3
|
-
export const pathname = $signal(location.pathname);
|
|
4
|
-
export function Router({ routes }) {
|
|
5
|
-
return component(show, routes.map((r) => ({
|
|
6
|
-
if: () => r.path === pathname(),
|
|
7
|
-
then: r.component,
|
|
8
|
-
})));
|
|
9
|
-
}
|
|
10
|
-
export function Link({ slot, to }) {
|
|
11
|
-
const a = document.createElement("a");
|
|
12
|
-
a.href = to;
|
|
13
|
-
for (const ch of slot) {
|
|
14
|
-
a.appendChild(ch);
|
|
15
|
-
}
|
|
16
|
-
a.onclick = (e) => {
|
|
17
|
-
if (!e.defaultPrevented &&
|
|
18
|
-
e.button === 0 &&
|
|
19
|
-
!(e.metaKey || e.ctrlKey || e.shiftKey || e.altKey)) {
|
|
20
|
-
e.preventDefault();
|
|
21
|
-
history.pushState({}, "", to);
|
|
22
|
-
pathname(to);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
return a;
|
|
26
|
-
}
|
package/dist/src/signals.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export type Signal<T> = {
|
|
2
|
-
(): T;
|
|
3
|
-
(value: T): void;
|
|
4
|
-
(updater: (prev: T) => T): void;
|
|
5
|
-
};
|
|
6
|
-
export declare function $signal<T>(value: T): Signal<T>;
|
|
7
|
-
/**
|
|
8
|
-
* Creates a reactive equality checker function based on a reactive source.
|
|
9
|
-
*
|
|
10
|
-
* This is useful when you want to conditionally react to equality against a selected value,
|
|
11
|
-
* such as highlighting a selected item in a list. Only effects that call the returned function
|
|
12
|
-
* with the **current** value will re-run when the source value changes.
|
|
13
|
-
*
|
|
14
|
-
* Example:
|
|
15
|
-
*
|
|
16
|
-
* ```ts
|
|
17
|
-
* const selectedId = $signal(null);
|
|
18
|
-
* const isSelected = $compare(selectedId);
|
|
19
|
-
*
|
|
20
|
-
* $effect(() => {
|
|
21
|
-
* if (isSelected(row.id)) {
|
|
22
|
-
* // React only if row.id === selectedId()
|
|
23
|
-
* }
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* Internally, only effects that compare against the current or previous selected value
|
|
28
|
-
* are re-evaluated when the source changes. This is especially efficient in large lists.
|
|
29
|
-
*
|
|
30
|
-
* @template T The type of the reactive value being compared.
|
|
31
|
-
* @param {() => T} fn A reactive function returning the current value to compare against.
|
|
32
|
-
* @returns {(value: T) => boolean} A function that returns true if the provided value
|
|
33
|
-
* matches the current value from `fn()`. Automatically subscribes the calling effect
|
|
34
|
-
* to changes in that specific value.
|
|
35
|
-
*/
|
|
36
|
-
export declare function $compare<T>(fn: () => T): (value: T) => boolean;
|
|
37
|
-
export declare function $effect(fn: any): {
|
|
38
|
-
run: any;
|
|
39
|
-
deps: Set<unknown>;
|
|
40
|
-
td: any;
|
|
41
|
-
};
|
|
42
|
-
export declare function cleanup(effectFn: any): void;
|
package/dist/src/signals.js
DELETED
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { currentEffects } from "./element.js";
|
|
2
|
-
let currentEffect;
|
|
3
|
-
let isBatching;
|
|
4
|
-
const pendingEffects = [];
|
|
5
|
-
function scheduleEffect(effectFn) {
|
|
6
|
-
pendingEffects.push(effectFn);
|
|
7
|
-
if (!isBatching) {
|
|
8
|
-
isBatching = true;
|
|
9
|
-
queueMicrotask(() => {
|
|
10
|
-
for (const ef of pendingEffects)
|
|
11
|
-
runEffect(ef);
|
|
12
|
-
pendingEffects.length = 0;
|
|
13
|
-
isBatching = false;
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export function $signal(value) {
|
|
18
|
-
const subscribers = new Set();
|
|
19
|
-
return (...args) => {
|
|
20
|
-
if (!args.length) {
|
|
21
|
-
if (currentEffect) {
|
|
22
|
-
subscribers.add(currentEffect);
|
|
23
|
-
currentEffect.deps.add(subscribers);
|
|
24
|
-
}
|
|
25
|
-
return value;
|
|
26
|
-
}
|
|
27
|
-
const action = args[0];
|
|
28
|
-
const newValue = typeof action === "function"
|
|
29
|
-
? action(value)
|
|
30
|
-
: action;
|
|
31
|
-
if (newValue !== value) {
|
|
32
|
-
value = newValue;
|
|
33
|
-
for (const sub of subscribers) {
|
|
34
|
-
scheduleEffect(sub);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Creates a reactive equality checker function based on a reactive source.
|
|
41
|
-
*
|
|
42
|
-
* This is useful when you want to conditionally react to equality against a selected value,
|
|
43
|
-
* such as highlighting a selected item in a list. Only effects that call the returned function
|
|
44
|
-
* with the **current** value will re-run when the source value changes.
|
|
45
|
-
*
|
|
46
|
-
* Example:
|
|
47
|
-
*
|
|
48
|
-
* ```ts
|
|
49
|
-
* const selectedId = $signal(null);
|
|
50
|
-
* const isSelected = $compare(selectedId);
|
|
51
|
-
*
|
|
52
|
-
* $effect(() => {
|
|
53
|
-
* if (isSelected(row.id)) {
|
|
54
|
-
* // React only if row.id === selectedId()
|
|
55
|
-
* }
|
|
56
|
-
* });
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* Internally, only effects that compare against the current or previous selected value
|
|
60
|
-
* are re-evaluated when the source changes. This is especially efficient in large lists.
|
|
61
|
-
*
|
|
62
|
-
* @template T The type of the reactive value being compared.
|
|
63
|
-
* @param {() => T} fn A reactive function returning the current value to compare against.
|
|
64
|
-
* @returns {(value: T) => boolean} A function that returns true if the provided value
|
|
65
|
-
* matches the current value from `fn()`. Automatically subscribes the calling effect
|
|
66
|
-
* to changes in that specific value.
|
|
67
|
-
*/
|
|
68
|
-
export function $compare(fn) {
|
|
69
|
-
const map = new Map();
|
|
70
|
-
let current = fn();
|
|
71
|
-
$effect(() => {
|
|
72
|
-
const newValue = fn();
|
|
73
|
-
if (newValue === current)
|
|
74
|
-
return;
|
|
75
|
-
const prevSubs = map.get(current);
|
|
76
|
-
const nextSubs = map.get(newValue);
|
|
77
|
-
current = newValue;
|
|
78
|
-
// Only notify subscribers for new and old values
|
|
79
|
-
if (prevSubs) {
|
|
80
|
-
for (const sub of prevSubs)
|
|
81
|
-
scheduleEffect(sub);
|
|
82
|
-
}
|
|
83
|
-
if (nextSubs) {
|
|
84
|
-
for (const sub of nextSubs)
|
|
85
|
-
scheduleEffect(sub);
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
return (value) => {
|
|
89
|
-
if (currentEffect) {
|
|
90
|
-
let subs = map.get(value);
|
|
91
|
-
if (!subs)
|
|
92
|
-
map.set(value, subs = new Set());
|
|
93
|
-
subs.add(currentEffect);
|
|
94
|
-
currentEffect.deps.add(subs);
|
|
95
|
-
const teardownFn = () => {
|
|
96
|
-
subs.delete(currentEffect);
|
|
97
|
-
if (subs.size === 0) {
|
|
98
|
-
map.delete(value);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
if (currentEffect.td) {
|
|
102
|
-
currentEffect.td.push(teardownFn);
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
currentEffect.td = [teardownFn];
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
return current === value;
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
function runEffect(effectFn, skip) {
|
|
112
|
-
if (!skip) {
|
|
113
|
-
cleanup(effectFn);
|
|
114
|
-
}
|
|
115
|
-
const prev = currentEffect;
|
|
116
|
-
currentEffect = effectFn;
|
|
117
|
-
const td = effectFn.run();
|
|
118
|
-
if (td) {
|
|
119
|
-
if (effectFn.td) {
|
|
120
|
-
effectFn.td.push(td);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
effectFn.td = [td];
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
currentEffect = prev;
|
|
127
|
-
}
|
|
128
|
-
export function $effect(fn) {
|
|
129
|
-
const effectFn = {
|
|
130
|
-
run: fn,
|
|
131
|
-
deps: new Set(),
|
|
132
|
-
td: null,
|
|
133
|
-
};
|
|
134
|
-
runEffect(effectFn, true);
|
|
135
|
-
if (currentEffects)
|
|
136
|
-
currentEffects.push(effectFn);
|
|
137
|
-
return effectFn;
|
|
138
|
-
}
|
|
139
|
-
export function cleanup(effectFn) {
|
|
140
|
-
const { deps, td } = effectFn;
|
|
141
|
-
if (deps.size) {
|
|
142
|
-
for (const subs of deps) {
|
|
143
|
-
subs.delete(effectFn);
|
|
144
|
-
}
|
|
145
|
-
deps.clear();
|
|
146
|
-
}
|
|
147
|
-
if (td) {
|
|
148
|
-
for (const f of td) {
|
|
149
|
-
f();
|
|
150
|
-
}
|
|
151
|
-
effectFn.td = null;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect } from 'vitest';
|
|
2
|
-
import Counter from './Counter.thyn';
|
|
3
|
-
describe('Counter component', () => {
|
|
4
|
-
it('increments on click', async () => {
|
|
5
|
-
const root = Counter();
|
|
6
|
-
expect(root.textContent).toBe('Count: 0');
|
|
7
|
-
root.click();
|
|
8
|
-
await Promise.resolve();
|
|
9
|
-
expect(root.textContent).toBe('Count: 1');
|
|
10
|
-
});
|
|
11
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/tests/lists.test.js
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect } from "vitest";
|
|
2
|
-
import { $signal, list } from "../src";
|
|
3
|
-
import { wait } from "./utils";
|
|
4
|
-
function makeList(signal) {
|
|
5
|
-
return list({
|
|
6
|
-
items: () => signal(),
|
|
7
|
-
render: (item) => {
|
|
8
|
-
const span = document.createElement("span");
|
|
9
|
-
span.textContent = `${item}`;
|
|
10
|
-
return span;
|
|
11
|
-
},
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
describe("list", () => {
|
|
15
|
-
it("renders", async () => {
|
|
16
|
-
const items = $signal([0, 1, 2]);
|
|
17
|
-
const root = makeList(items);
|
|
18
|
-
expect(root.textContent).toBe("012");
|
|
19
|
-
});
|
|
20
|
-
it("removes all", async () => {
|
|
21
|
-
const items = $signal([0, 1]);
|
|
22
|
-
const root = makeList(items);
|
|
23
|
-
items([]);
|
|
24
|
-
await wait();
|
|
25
|
-
expect(root.textContent).toBe("");
|
|
26
|
-
});
|
|
27
|
-
it("stays the same", async () => {
|
|
28
|
-
const items = $signal([0, 1]);
|
|
29
|
-
const root = makeList(items);
|
|
30
|
-
items([0, 1]);
|
|
31
|
-
await wait();
|
|
32
|
-
expect(root.textContent).toBe("01");
|
|
33
|
-
});
|
|
34
|
-
it("reverses 2", async () => {
|
|
35
|
-
const items = $signal([0, 1]);
|
|
36
|
-
const root = makeList(items);
|
|
37
|
-
items([1, 0]);
|
|
38
|
-
await wait();
|
|
39
|
-
expect(root.textContent).toBe("10");
|
|
40
|
-
});
|
|
41
|
-
it("reverses 3", async () => {
|
|
42
|
-
const items = $signal([0, 1, 2]);
|
|
43
|
-
const root = makeList(items);
|
|
44
|
-
items([2, 1, 0]);
|
|
45
|
-
await wait();
|
|
46
|
-
expect(root.textContent).toBe("210");
|
|
47
|
-
});
|
|
48
|
-
it("reverses 4", async () => {
|
|
49
|
-
const items = $signal([0, 1, 2, 3]);
|
|
50
|
-
const root = makeList(items);
|
|
51
|
-
items([3, 2, 1, 0]);
|
|
52
|
-
await wait();
|
|
53
|
-
expect(root.textContent).toBe("3210");
|
|
54
|
-
});
|
|
55
|
-
it("removes from start", async () => {
|
|
56
|
-
const items = $signal([0, 1, 2]);
|
|
57
|
-
const root = makeList(items);
|
|
58
|
-
items([1, 2]);
|
|
59
|
-
await wait();
|
|
60
|
-
expect(root.textContent).toBe("12");
|
|
61
|
-
});
|
|
62
|
-
it("removes from end", async () => {
|
|
63
|
-
const items = $signal([0, 1, 2]);
|
|
64
|
-
const root = makeList(items);
|
|
65
|
-
items([0, 1]);
|
|
66
|
-
await wait();
|
|
67
|
-
expect(root.textContent).toBe("01");
|
|
68
|
-
});
|
|
69
|
-
it("removes from middle", async () => {
|
|
70
|
-
const items = $signal([0, 1, 2]);
|
|
71
|
-
const root = makeList(items);
|
|
72
|
-
items([0, 2]);
|
|
73
|
-
await wait();
|
|
74
|
-
expect(root.textContent).toBe("02");
|
|
75
|
-
});
|
|
76
|
-
it("removes from everywhere", async () => {
|
|
77
|
-
const items = $signal([0, 1, 2, 3, 4, 5, 6]);
|
|
78
|
-
const root = makeList(items);
|
|
79
|
-
items([1, 3, 5]);
|
|
80
|
-
await wait();
|
|
81
|
-
expect(root.textContent).toBe("135");
|
|
82
|
-
});
|
|
83
|
-
it("adds to start", async () => {
|
|
84
|
-
const items = $signal([1, 2]);
|
|
85
|
-
const root = makeList(items);
|
|
86
|
-
items([0, 1, 2]);
|
|
87
|
-
await wait();
|
|
88
|
-
expect(root.textContent).toBe("012");
|
|
89
|
-
});
|
|
90
|
-
it("adds to end", async () => {
|
|
91
|
-
const items = $signal([0, 1]);
|
|
92
|
-
const root = makeList(items);
|
|
93
|
-
items([0, 1, 2]);
|
|
94
|
-
await wait();
|
|
95
|
-
expect(root.textContent).toBe("012");
|
|
96
|
-
});
|
|
97
|
-
it("adds to middle", async () => {
|
|
98
|
-
const items = $signal([0, 2]);
|
|
99
|
-
const root = makeList(items);
|
|
100
|
-
items([0, 1, 2]);
|
|
101
|
-
await wait();
|
|
102
|
-
expect(root.textContent).toBe("012");
|
|
103
|
-
});
|
|
104
|
-
it("sorts", async () => {
|
|
105
|
-
const items = $signal([6, 0, 2, 4, 7, 1, 3, 5]);
|
|
106
|
-
const root = makeList(items);
|
|
107
|
-
items([0, 1, 2, 3, 4, 5, 6, 7]);
|
|
108
|
-
await wait();
|
|
109
|
-
expect(root.textContent).toBe("01234567");
|
|
110
|
-
});
|
|
111
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/tests/show.test.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect } from "vitest";
|
|
2
|
-
import { $signal, show } from "../src";
|
|
3
|
-
import { wait } from "./utils";
|
|
4
|
-
function makeShow(cases) {
|
|
5
|
-
const root = document.createElement("div");
|
|
6
|
-
root.appendChild(show(cases));
|
|
7
|
-
return root;
|
|
8
|
-
}
|
|
9
|
-
describe("show", () => {
|
|
10
|
-
it("if else", async () => {
|
|
11
|
-
const on = $signal(true);
|
|
12
|
-
const root = makeShow([
|
|
13
|
-
{ if: on, then: () => document.createTextNode("on") },
|
|
14
|
-
{ then: () => document.createTextNode("off") },
|
|
15
|
-
]);
|
|
16
|
-
expect(root.textContent).toBe("on");
|
|
17
|
-
on(false);
|
|
18
|
-
await wait();
|
|
19
|
-
expect(root.textContent).toBe("off");
|
|
20
|
-
});
|
|
21
|
-
it("if else-if", async () => {
|
|
22
|
-
const on = $signal(true);
|
|
23
|
-
const root = makeShow([
|
|
24
|
-
{ if: on, then: () => document.createTextNode("on") },
|
|
25
|
-
{ if: () => !on(), then: () => document.createTextNode("off") },
|
|
26
|
-
]);
|
|
27
|
-
expect(root.textContent).toBe("on");
|
|
28
|
-
on(false);
|
|
29
|
-
await wait();
|
|
30
|
-
expect(root.textContent).toBe("off");
|
|
31
|
-
});
|
|
32
|
-
it("if else-if else", async () => {
|
|
33
|
-
const on = $signal("a");
|
|
34
|
-
const root = makeShow([
|
|
35
|
-
{ if: () => on() === "a", then: () => document.createTextNode("a") },
|
|
36
|
-
{ if: () => on() === "b", then: () => document.createTextNode("b") },
|
|
37
|
-
{ then: () => document.createTextNode("c") },
|
|
38
|
-
]);
|
|
39
|
-
expect(root.textContent).toBe("a");
|
|
40
|
-
on("b");
|
|
41
|
-
await wait();
|
|
42
|
-
expect(root.textContent).toBe("b");
|
|
43
|
-
on("");
|
|
44
|
-
await wait();
|
|
45
|
-
expect(root.textContent).toBe("c");
|
|
46
|
-
});
|
|
47
|
-
});
|
package/dist/tests/utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function wait(): Promise<unknown>;
|
package/dist/tests/utils.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"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.dom.iterable.d.ts","../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.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.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.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.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/typescript/lib/lib.es2020.full.d.ts","../src/signals.ts","../src/element.ts","../src/index.ts","../src/router.ts","../node_modules/@vitest/pretty-format/dist/index.d.ts","../node_modules/@vitest/utils/dist/types.d.ts","../node_modules/@vitest/utils/dist/helpers.d.ts","../node_modules/tinyrainbow/dist/index-8b61d5bc.d.ts","../node_modules/tinyrainbow/dist/node.d.ts","../node_modules/@vitest/utils/dist/index.d.ts","../node_modules/@vitest/runner/dist/tasks.d-CkscK4of.d.ts","../node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../node_modules/@vitest/utils/dist/diff.d.ts","../node_modules/@vitest/utils/diff.d.ts","../node_modules/@vitest/runner/dist/types.d.ts","../node_modules/@vitest/utils/dist/error.d.ts","../node_modules/@vitest/utils/error.d.ts","../node_modules/@vitest/runner/dist/index.d.ts","../node_modules/vitest/optional-types.d.ts","../node_modules/vitest/dist/chunks/environment.d.cL3nLXbE.d.ts","../node_modules/vite/types/hmrPayload.d.ts","../node_modules/vite/dist/node/moduleRunnerTransport-BWUZBVLX.d.ts","../node_modules/vite/types/customEvent.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/rollup/dist/rollup.d.ts","../node_modules/vite/types/hot.d.ts","../node_modules/vite/dist/node/module-runner.d.ts","../node_modules/esbuild/lib/main.d.ts","../node_modules/vite/types/internal/terserOptions.d.ts","../node_modules/source-map-js/source-map.d.ts","../node_modules/postcss/lib/previous-map.d.ts","../node_modules/postcss/lib/input.d.ts","../node_modules/postcss/lib/css-syntax-error.d.ts","../node_modules/postcss/lib/declaration.d.ts","../node_modules/postcss/lib/root.d.ts","../node_modules/postcss/lib/warning.d.ts","../node_modules/postcss/lib/lazy-result.d.ts","../node_modules/postcss/lib/no-work-result.d.ts","../node_modules/postcss/lib/processor.d.ts","../node_modules/postcss/lib/result.d.ts","../node_modules/postcss/lib/document.d.ts","../node_modules/postcss/lib/rule.d.ts","../node_modules/postcss/lib/node.d.ts","../node_modules/postcss/lib/comment.d.ts","../node_modules/postcss/lib/container.d.ts","../node_modules/postcss/lib/at-rule.d.ts","../node_modules/postcss/lib/list.d.ts","../node_modules/postcss/lib/postcss.d.ts","../node_modules/vite/types/internal/lightningcssOptions.d.ts","../node_modules/vite/types/internal/cssPreprocessorOptions.d.ts","../node_modules/vite/types/importGlob.d.ts","../node_modules/vite/types/metadata.d.ts","../node_modules/vite/dist/node/index.d.ts","../node_modules/@vitest/mocker/dist/registry.d-D765pazg.d.ts","../node_modules/@vitest/mocker/dist/types.d-D_aRZRdy.d.ts","../node_modules/@vitest/mocker/dist/index.d.ts","../node_modules/@vitest/utils/dist/source-map.d.ts","../node_modules/vite-node/dist/trace-mapping.d-DLVdEqOp.d.ts","../node_modules/vite-node/dist/index.d-DGmxD2U7.d.ts","../node_modules/vite-node/dist/index.d.ts","../node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts","../node_modules/@vitest/snapshot/dist/rawSnapshot.d-lFsMJFUd.d.ts","../node_modules/@vitest/snapshot/dist/index.d.ts","../node_modules/@vitest/snapshot/dist/environment.d.ts","../node_modules/@vitest/snapshot/environment.d.ts","../node_modules/vitest/dist/chunks/config.d.D2ROskhv.d.ts","../node_modules/vitest/dist/chunks/worker.d.1GmBbd7G.d.ts","../node_modules/@types/deep-eql/index.d.ts","../node_modules/@types/chai/index.d.ts","../node_modules/@vitest/runner/dist/utils.d.ts","../node_modules/@vitest/runner/utils.d.ts","../node_modules/tinybench/dist/index.d.cts","../node_modules/vitest/dist/chunks/benchmark.d.BwvBVTda.d.ts","../node_modules/vite-node/dist/client.d.ts","../node_modules/vitest/dist/chunks/coverage.d.S9RMNXIe.d.ts","../node_modules/@vitest/snapshot/dist/manager.d.ts","../node_modules/@vitest/snapshot/manager.d.ts","../node_modules/vitest/dist/chunks/reporters.d.BFLkQcL6.d.ts","../node_modules/vitest/dist/chunks/worker.d.CKwWzBSj.d.ts","../node_modules/@vitest/spy/dist/index.d.ts","../node_modules/@vitest/expect/dist/index.d.ts","../node_modules/vitest/dist/chunks/global.d.MAmajcmJ.d.ts","../node_modules/vitest/dist/chunks/vite.d.CMLlLIFP.d.ts","../node_modules/vitest/dist/chunks/mocker.d.BE_2ls6u.d.ts","../node_modules/vitest/dist/chunks/suite.d.FvehnV49.d.ts","../node_modules/expect-type/dist/utils.d.ts","../node_modules/expect-type/dist/overloads.d.ts","../node_modules/expect-type/dist/branding.d.ts","../node_modules/expect-type/dist/messages.d.ts","../node_modules/expect-type/dist/index.d.ts","../node_modules/vitest/dist/index.d.ts","../tests/Counter.test.ts","../tests/utils.ts","../tests/lists.test.ts","../tests/show.test.ts","../types/thyn.d.ts"],"fileIdsList":[[119],[60,61,65,131],[105,106],[61,62,65,66,68],[61],[61,62,65],[61,62],[121],[112],[56,112,113],[56,112],[115],[127],[64],[56,63],[57],[56,57,58,60],[56],[67],[137,138],[137,138,139,140],[137,139],[137],[96],[94,96],[85,93,94,95,97,99],[83],[86,91,96,99],[82,99],[86,87,90,91,92,99],[86,87,88,90,91,99],[83,84,85,86,87,91,92,93,95,96,97,99],[81,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98],[81,99],[86,88,89,91,92,99],[90,99],[91,92,96,99],[84,94],[75,76],[59],[109,110],[109],[72,73,74,76,78,79,80,99,100,101,102,103,104],[72,73,74,77],[72],[74],[76,104],[69,122,123,133],[56,65,69,114,116,133],[125],[70],[56,69,71,114,124,132,133],[107],[56,61,65,69,71,104,107,108,111,114,117,118,120,124,126,128,133,134],[69,122,123,124,133],[104,129,134],[69,71,111,114,117,133],[118],[56,61,65,69,70,71,104,107,108,111,114,116,117,118,120,122,123,124,125,126,128,129,130,131,132,133,134,135,136,141],[52],[52,53],[53],[142,147],[54,142,144]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"3446c1d19d4e23fa948d6ed420e0b4c9b2527bdd56d3739ccce4bdbd2a04ca26","signature":"b290f55f19a8eea3ca7744260e2e9390859360051fc8ce2a7e0dfcf4b4ffa020"},{"version":"dae3b45c6576ed860708ff58099f9e50acc225b7ad1a460e79276c51539d5ae4","signature":"df3fa22f0ef1f6ad168345c5e393d2cab9f7716b42bedb53cd2012fccae65364"},{"version":"f078bb1ffe7613336b4ba1e113f2efeb1807af583ac83d705f01a9cd868bfdd0","signature":"b1a9d2029bc09d94260873e1f48c13f05dda2176e23821d0b194812fcc9c3ccc"},{"version":"c0c1bb4306b6cc152f775560e3a1a3ef40675420ba36becf0b5db4401f526aba","signature":"ddcca2e735001a121906facae57fec6a497d7d36841e8482fc0f90c5a4f7ca3d"},{"version":"5c54a34e3d91727f7ae840bfe4d5d1c9a2f93c54cb7b6063d06ee4a6c3322656","impliedFormat":99},{"version":"db4da53b03596668cf6cc9484834e5de3833b9e7e64620cf08399fe069cd398d","impliedFormat":99},{"version":"ac7c28f153820c10850457994db1462d8c8e462f253b828ad942a979f726f2f9","impliedFormat":99},{"version":"f9b028d3c3891dd817e24d53102132b8f696269309605e6ed4f0db2c113bbd82","impliedFormat":99},{"version":"fb7c8d90e52e2884509166f96f3d591020c7b7977ab473b746954b0c8d100960","impliedFormat":99},{"version":"0bff51d6ed0c9093f6955b9d8258ce152ddb273359d50a897d8baabcb34de2c4","impliedFormat":99},{"version":"45cec9a1ba6549060552eead8959d47226048e0b71c7d0702ae58b7e16a28912","impliedFormat":99},{"version":"ef13c73d6157a32933c612d476c1524dd674cf5b9a88571d7d6a0d147544d529","impliedFormat":99},{"version":"13918e2b81c4288695f9b1f3dcc2468caf0f848d5c1f3dc00071c619d34ff63a","impliedFormat":99},{"version":"05c7aef6a4e496b93c2e682cced8903c0dfe6340d04f3fe616176e2782193435","impliedFormat":99},{"version":"6907b09850f86610e7a528348c15484c1e1c09a18a9c1e98861399dfe4b18b46","impliedFormat":99},{"version":"12deea8eaa7a4fc1a2908e67da99831e5c5a6b46ad4f4f948fd4759314ea2b80","impliedFormat":99},{"version":"500a67e158e4025f27570ab6a99831680852bb45a44d4c3647ab7567feb1fb4c","impliedFormat":99},{"version":"f0a8b376568a18f9a4976ecb0855187672b16b96c4df1c183a7e52dc1b5d98e8","impliedFormat":99},{"version":"8124828a11be7db984fcdab052fd4ff756b18edcfa8d71118b55388176210923","impliedFormat":99},{"version":"092944a8c05f9b96579161e88c6f211d5304a76bd2c47f8d4c30053269146bc8","impliedFormat":99},{"version":"a7ca8df4f2931bef2aa4118078584d84a0b16539598eaadf7dce9104dfaa381c","impliedFormat":1},{"version":"5c31dea483b64cbb341ea8a7073c457720d1574f87837e71cccb70ce91196211","impliedFormat":99},{"version":"11443a1dcfaaa404c68d53368b5b818712b95dd19f188cab1669c39bee8b84b3","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"ffb518fc55181aefd066c690dbc0f8fa6a1533c8ddac595469c8c5f7fda2d756","affectsGlobalScope":true,"impliedFormat":1},{"version":"36977c14a7f7bfc8c0426ae4343875689949fb699f3f84ecbe5b300ebf9a2c55","impliedFormat":1},{"version":"91b625209fa2a7c406923f59460ddb8d8919cd1c956edd76a047a670a6250d22","impliedFormat":99},{"version":"dd7ca4f0ef3661dac7043fb2cdf1b99e008d2b6bc5cd998dd1fa5a2968034984","affectsGlobalScope":true,"impliedFormat":1},{"version":"f582b0fcbf1eea9b318ab92fb89ea9ab2ebb84f9b60af89328a91155e1afce72","impliedFormat":1},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","impliedFormat":1},{"version":"333caa2bfff7f06017f114de738050dd99a765c7eb16571c6d25a38c0d5365dc","impliedFormat":1},{"version":"e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","impliedFormat":1},{"version":"459920181700cec8cbdf2a5faca127f3f17fd8dd9d9e577ed3f5f3af5d12a2e4","impliedFormat":1},{"version":"4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","impliedFormat":1},{"version":"70790a7f0040993ca66ab8a07a059a0f8256e7bb57d968ae945f696cbff4ac7a","impliedFormat":1},{"version":"d1b9a81e99a0050ca7f2d98d7eedc6cda768f0eb9fa90b602e7107433e64c04c","impliedFormat":1},{"version":"a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","impliedFormat":1},{"version":"b215c4f0096f108020f666ffcc1f072c81e9f2f95464e894a5d5f34c5ea2a8b1","impliedFormat":1},{"version":"644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","impliedFormat":1},{"version":"dfe54dab1fa4961a6bcfba68c4ca955f8b5bbeb5f2ab3c915aa7adaa2eabc03a","impliedFormat":1},{"version":"1251d53755b03cde02466064260bb88fd83c30006a46395b7d9167340bc59b73","impliedFormat":1},{"version":"47865c5e695a382a916b1eedda1b6523145426e48a2eae4647e96b3b5e52024f","impliedFormat":1},{"version":"4cdf27e29feae6c7826cdd5c91751cc35559125e8304f9e7aed8faef97dcf572","impliedFormat":1},{"version":"331b8f71bfae1df25d564f5ea9ee65a0d847c4a94baa45925b6f38c55c7039bf","impliedFormat":1},{"version":"2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","impliedFormat":1},{"version":"0146fd6262c3fd3da51cb0254bb6b9a4e42931eb2f56329edd4c199cb9aaf804","impliedFormat":1},{"version":"4ec16d7a4e366c06a4573d299e15fe6207fc080f41beac5da06f4af33ea9761e","impliedFormat":1},{"version":"960bd764c62ac43edc24eaa2af958a4b4f1fa5d27df5237e176d0143b36a39c6","affectsGlobalScope":true,"impliedFormat":1},{"version":"f6a2b059a33edc17f69fe47dd65a6fce6d10a036ba5f71d8f53d5833226e45c2","impliedFormat":1},{"version":"f70b8328a15ca1d10b1436b691e134a49bc30dcf3183a69bfaa7ba77e1b78ecd","impliedFormat":1},{"version":"37290a5437be341902457e9d575d89a44b401c209055b00617b6956604ed5516","impliedFormat":99},{"version":"b34b5f6b506abb206b1ea73c6a332b9ee9c8c98be0f6d17cdbda9430ecc1efab","impliedFormat":99},{"version":"75d4c746c3d16af0df61e7b0afe9606475a23335d9f34fcc525d388c21e9058b","impliedFormat":99},{"version":"fa959bf357232201c32566f45d97e70538c75a093c940af594865d12f31d4912","impliedFormat":99},{"version":"d2c52abd76259fc39a30dfae70a2e5ce77fd23144457a7ff1b64b03de6e3aec7","impliedFormat":99},{"version":"e6233e1c976265e85aa8ad76c3881febe6264cb06ae3136f0257e1eab4a6cc5a","impliedFormat":99},{"version":"f73e2335e568014e279927321770da6fe26facd4ac96cdc22a56687f1ecbb58e","impliedFormat":99},{"version":"317878f156f976d487e21fd1d58ad0461ee0a09185d5b0a43eedf2a56eb7e4ea","impliedFormat":99},{"version":"324ac98294dab54fbd580c7d0e707d94506d7b2c3d5efe981a8495f02cf9ad96","impliedFormat":99},{"version":"9ec72eb493ff209b470467e24264116b6a8616484bca438091433a545dfba17e","impliedFormat":99},{"version":"d6ee22aba183d5fc0c7b8617f77ee82ecadc2c14359cc51271c135e23f6ed51f","impliedFormat":99},{"version":"49747416f08b3ba50500a215e7a55d75268b84e31e896a40313c8053e8dec908","impliedFormat":99},{"version":"f2d1a59a658165341b0e2b7879aa2e19ea6a709146b2d3f70ee8a07159d3d08e","impliedFormat":99},{"version":"81e634f1c5e1ca309e7e3dc69e2732eea932ef07b8b34517d452e5a3e9a36fa3","impliedFormat":99},{"version":"34f39f75f2b5aa9c84a9f8157abbf8322e6831430e402badeaf58dd284f9b9a6","impliedFormat":99},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"c8905dbea83f3220676a669366cd8c1acef56af4d9d72a8b2241b1d044bb4302","affectsGlobalScope":true,"impliedFormat":99},{"version":"891694d3694abd66f0b8872997b85fd8e52bc51632ce0f8128c96962b443189f","impliedFormat":99},{"version":"e666e31d323fef5642f87db0da48a83e58f0aaf9e3823e87eabd8ec7e0441a36","impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","impliedFormat":1},{"version":"971a2c327ff166c770c5fb35699575ba2d13bba1f6d2757309c9be4b30036c8e","impliedFormat":99},{"version":"4f45e8effab83434a78d17123b01124259fbd1e335732135c213955d85222234","impliedFormat":99},{"version":"7bd51996fb7717941cbe094b05adc0d80b9503b350a77b789bbb0fc786f28053","impliedFormat":99},{"version":"b62006bbc815fe8190c7aee262aad6bff993e3f9ade70d7057dfceab6de79d2f","impliedFormat":99},{"version":"b7e28e06011460436d5c2ec2996846ac0c451e135357fc5a7269e5665a32fbd7","impliedFormat":99},{"version":"13497c0d73306e27f70634c424cd2f3b472187164f36140b504b3756b0ff476d","impliedFormat":99},{"version":"bf7a2d0f6d9e72d59044079d61000c38da50328ccdff28c47528a1a139c610ec","impliedFormat":99},{"version":"04471dc55f802c29791cc75edda8c4dd2a121f71c2401059da61eff83099e8ab","impliedFormat":99},{"version":"120a80aa556732f684db3ed61aeff1d6671e1655bd6cba0aa88b22b88ac9a6b1","affectsGlobalScope":true,"impliedFormat":99},{"version":"e58c0b5226aff07b63be6ac6e1bec9d55bc3d2bda3b11b9b68cccea8c24ae839","affectsGlobalScope":true,"impliedFormat":99},{"version":"a23a08b626aa4d4a1924957bd8c4d38a7ffc032e21407bbd2c97413e1d8c3dbd","impliedFormat":99},{"version":"5a88655bf852c8cc007d6bc874ab61d1d63fba97063020458177173c454e9b4a","impliedFormat":99},{"version":"7e4dfae2da12ec71ffd9f55f4641a6e05610ce0d6784838659490e259e4eb13c","impliedFormat":99},{"version":"c30a41267fc04c6518b17e55dcb2b810f267af4314b0b6d7df1c33a76ce1b330","impliedFormat":1},{"version":"72422d0bac4076912385d0c10911b82e4694fc106e2d70added091f88f0824ba","impliedFormat":1},{"version":"da251b82c25bee1d93f9fd80c5a61d945da4f708ca21285541d7aff83ecb8200","impliedFormat":1},{"version":"4c8ca51077f382498f47074cf304d654aba5d362416d4f809dfdd5d4f6b3aaca","impliedFormat":1},{"version":"c6bddf16578495abc8b5546850b047f30c4b5a2a2b7fecefc0e11a44a6e91399","impliedFormat":1},{"version":"13573a613314e40482386fe9c7934f9d86f3e06f19b840466c75391fb833b99b","impliedFormat":99},{"version":"2e5c0be3eb60f4b69b8f5527c7f4ec61fe1b8e4ea0649842d183d22b8f71fc41","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"e2db0d1723f0ffe4f4f736de36f23e50a8d625265940718b8b499273d9f1dc29","signature":"6da5c15183ae07eb7b503e2da374b4b59a81386f156f89399ae9e402e3a295b0"},{"version":"7e6a2a987cb4c0f21458c9b41f838fbadd4a01e86067fa50214f67ab09d03517","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"3126c30054a0e2d6e2dd94205a3f1a2f002afa744e445234ce4cc3f072dc22a2","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"792d513903a3e06084365097c8dfdf1201e4a36324dc75b88766de07b27d8b44"],"root":[[52,55],[143,147]],"options":{"allowJs":true,"checkJs":false,"composite":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"..","skipLibCheck":true,"target":7},"referencedMap":[[120,1],[132,2],[107,3],[69,4],[62,5],[66,6],[121,7],[122,8],[115,9],[114,10],[127,10],[113,11],[116,12],[128,13],[65,14],[64,15],[67,15],[58,16],[61,17],[108,16],[63,18],[68,19],[139,20],[141,21],[140,22],[138,23],[97,24],[95,25],[96,26],[84,27],[85,25],[92,28],[83,29],[88,30],[89,31],[94,32],[99,33],[82,34],[90,35],[91,36],[86,37],[93,24],[87,38],[76,39],[60,40],[125,41],[110,42],[111,41],[104,43],[78,44],[73,45],[74,45],[77,46],[103,47],[124,48],[117,49],[126,50],[71,51],[133,52],[135,53],[129,54],[136,55],[134,56],[118,57],[130,58],[142,59],[53,60],[54,61],[55,61],[52,62],[143,63],[145,64],[146,64]],"latestChangedDtsFile":"./tests/show.test.d.ts","version":"5.8.3"}
|
package/tests/Counter.test.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect } from 'vitest';
|
|
2
|
-
import Counter from './Counter.thyn';
|
|
3
|
-
|
|
4
|
-
describe('Counter component', () => {
|
|
5
|
-
it('increments on click', async () => {
|
|
6
|
-
const root = Counter();
|
|
7
|
-
expect(root.textContent).toBe('Count: 0');
|
|
8
|
-
root.click();
|
|
9
|
-
await Promise.resolve();
|
|
10
|
-
expect(root.textContent).toBe('Count: 1');
|
|
11
|
-
});
|
|
12
|
-
});
|
package/tests/Counter.thyn
DELETED
package/types/thyn.d.ts
DELETED