@thyn/core 0.0.110 → 0.0.112
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.d.ts +4 -1
- package/dist/element.js +32 -36
- package/dist/signals.js +10 -1
- package/package.json +1 -1
- package/src/element.ts +51 -60
- package/src/signals.ts +9 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/element.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export declare function mount(app: any, parent: any): void;
|
|
2
|
-
export declare let currentEffects:
|
|
2
|
+
export declare let currentEffects: {
|
|
3
|
+
head: any;
|
|
4
|
+
tail: any;
|
|
5
|
+
} | undefined;
|
|
3
6
|
export declare function createReactiveTextNode(v: any): any;
|
|
4
7
|
export declare function component(name: any, props?: any): any;
|
|
5
8
|
export declare function setAttribute(el: any, key: any, val: any): any;
|
package/dist/element.js
CHANGED
|
@@ -17,7 +17,7 @@ export function createReactiveTextNode(v) {
|
|
|
17
17
|
}
|
|
18
18
|
export function component(name, props) {
|
|
19
19
|
const prevEffects = currentEffects;
|
|
20
|
-
currentEffects =
|
|
20
|
+
currentEffects = { head: null, tail: null };
|
|
21
21
|
const e = name(props);
|
|
22
22
|
const existing = e.$fx;
|
|
23
23
|
if (existing) {
|
|
@@ -29,36 +29,30 @@ export function component(name, props) {
|
|
|
29
29
|
hasMvEffect = true;
|
|
30
30
|
break;
|
|
31
31
|
}
|
|
32
|
-
current = current
|
|
32
|
+
current = current.$fx;
|
|
33
33
|
}
|
|
34
34
|
if (hasMvEffect) {
|
|
35
35
|
// Mark all current effects as mv
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
let curr = currentEffects.head;
|
|
37
|
+
while (curr) {
|
|
38
|
+
curr.mv = true;
|
|
39
|
+
curr = curr.$fx;
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
// Append current effects to existing chain
|
|
41
|
-
if (currentEffects.
|
|
43
|
+
if (currentEffects.head) {
|
|
42
44
|
// Find the end of existing chain
|
|
43
45
|
let tail = existing;
|
|
44
|
-
while (tail
|
|
45
|
-
tail = tail
|
|
46
|
+
while (tail.$fx) {
|
|
47
|
+
tail = tail.$fx;
|
|
46
48
|
}
|
|
47
49
|
// Link the new effects
|
|
48
|
-
tail
|
|
49
|
-
for (let i = 0; i < currentEffects.length - 1; i++) {
|
|
50
|
-
currentEffects[i].next = currentEffects[i + 1];
|
|
51
|
-
}
|
|
50
|
+
tail.$fx = currentEffects.head;
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
else {
|
|
55
|
-
//
|
|
56
|
-
|
|
57
|
-
for (let i = 0; i < currentEffects.length - 1; i++) {
|
|
58
|
-
currentEffects[i].next = currentEffects[i + 1];
|
|
59
|
-
}
|
|
60
|
-
e.$fx = currentEffects[0];
|
|
61
|
-
}
|
|
54
|
+
// Use current effects as the new chain
|
|
55
|
+
e.$fx = currentEffects.head;
|
|
62
56
|
}
|
|
63
57
|
currentEffects = prevEffects;
|
|
64
58
|
return e;
|
|
@@ -75,7 +69,7 @@ export function setProperty(el, key, val) {
|
|
|
75
69
|
}
|
|
76
70
|
export function setReactiveAttribute(el, key, val) {
|
|
77
71
|
let ran;
|
|
78
|
-
|
|
72
|
+
const effect = $effect(() => {
|
|
79
73
|
const v = val();
|
|
80
74
|
if (ran) {
|
|
81
75
|
if (v === undefined)
|
|
@@ -87,12 +81,13 @@ export function setReactiveAttribute(el, key, val) {
|
|
|
87
81
|
if (v !== undefined)
|
|
88
82
|
el.setAttribute(key, val());
|
|
89
83
|
ran = true;
|
|
90
|
-
}, true)
|
|
84
|
+
}, true);
|
|
85
|
+
addEffect(el, effect);
|
|
91
86
|
return el;
|
|
92
87
|
}
|
|
93
88
|
export function setReactiveProperty(el, key, val) {
|
|
94
89
|
let ran = true;
|
|
95
|
-
|
|
90
|
+
const effect = $effect(() => {
|
|
96
91
|
const v = val();
|
|
97
92
|
if (ran) {
|
|
98
93
|
if (v === undefined)
|
|
@@ -104,7 +99,8 @@ export function setReactiveProperty(el, key, val) {
|
|
|
104
99
|
if (v !== undefined)
|
|
105
100
|
el[key] = v;
|
|
106
101
|
ran = true;
|
|
107
|
-
}, true)
|
|
102
|
+
}, true);
|
|
103
|
+
addEffect(el, effect);
|
|
108
104
|
return el;
|
|
109
105
|
}
|
|
110
106
|
export function addChildren(e, children) {
|
|
@@ -120,7 +116,7 @@ export function markAsReactive(el) {
|
|
|
120
116
|
}
|
|
121
117
|
export function addEffect(el, ef) {
|
|
122
118
|
if (el.$fx) {
|
|
123
|
-
ef
|
|
119
|
+
ef.$fx = el.$fx;
|
|
124
120
|
el.$fx = ef;
|
|
125
121
|
}
|
|
126
122
|
else {
|
|
@@ -129,10 +125,10 @@ export function addEffect(el, ef) {
|
|
|
129
125
|
return el;
|
|
130
126
|
}
|
|
131
127
|
function shallowTeardown(elem) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
128
|
+
while (elem.$fx) {
|
|
129
|
+
cleanup(elem.$fx);
|
|
130
|
+
elem = elem.$fx;
|
|
131
|
+
elem.$fx = undefined;
|
|
136
132
|
}
|
|
137
133
|
}
|
|
138
134
|
function teardown(elem, iterating = false) {
|
|
@@ -141,7 +137,7 @@ function teardown(elem, iterating = false) {
|
|
|
141
137
|
var end = elem.$end;
|
|
142
138
|
elem = elem.$frag;
|
|
143
139
|
}
|
|
144
|
-
if (elem.$fx) {
|
|
140
|
+
if (elem.$fx !== undefined) {
|
|
145
141
|
shallowTeardown(elem);
|
|
146
142
|
if (end) {
|
|
147
143
|
if (iterating)
|
|
@@ -184,21 +180,21 @@ function filterEffects(head, predicate) {
|
|
|
184
180
|
filteredTail = current;
|
|
185
181
|
}
|
|
186
182
|
else {
|
|
187
|
-
filteredTail
|
|
183
|
+
filteredTail.$fx = current;
|
|
188
184
|
filteredTail = current;
|
|
189
185
|
}
|
|
190
186
|
}
|
|
191
|
-
current = current
|
|
187
|
+
current = current.$fx;
|
|
192
188
|
}
|
|
193
189
|
if (filteredTail) {
|
|
194
|
-
filteredTail
|
|
190
|
+
filteredTail.$fx = null;
|
|
195
191
|
}
|
|
196
192
|
return filtered;
|
|
197
193
|
}
|
|
198
194
|
export function show(props) {
|
|
199
195
|
let prevIndex = -1;
|
|
200
196
|
let prevElem;
|
|
201
|
-
$effect(() => {
|
|
197
|
+
const effect = $effect(() => {
|
|
202
198
|
const currIndex = props.findIndex((c) => !c.if || c.if());
|
|
203
199
|
if (currIndex === prevIndex) {
|
|
204
200
|
if (!prevElem) {
|
|
@@ -217,12 +213,12 @@ export function show(props) {
|
|
|
217
213
|
if (sticky) {
|
|
218
214
|
// Find tail of sticky effects
|
|
219
215
|
let stickyTail = sticky;
|
|
220
|
-
while (stickyTail
|
|
221
|
-
stickyTail = stickyTail
|
|
216
|
+
while (stickyTail.$fx) {
|
|
217
|
+
stickyTail = stickyTail.$fx;
|
|
222
218
|
}
|
|
223
219
|
// Append to new element's effects
|
|
224
220
|
if (newElem.$fx) {
|
|
225
|
-
stickyTail
|
|
221
|
+
stickyTail.$fx = newElem.$fx;
|
|
226
222
|
newElem.$fx = sticky;
|
|
227
223
|
}
|
|
228
224
|
else {
|
|
@@ -259,7 +255,7 @@ export function list(props, terminal = false) {
|
|
|
259
255
|
startBookend.$end = endBookend;
|
|
260
256
|
const render = props.render;
|
|
261
257
|
let isolated;
|
|
262
|
-
$effect(() => {
|
|
258
|
+
const effect = $effect(() => {
|
|
263
259
|
parent = startBookend.parentNode;
|
|
264
260
|
if (!parent) {
|
|
265
261
|
prevItems = props.items();
|
package/dist/signals.js
CHANGED
|
@@ -113,7 +113,16 @@ export function $effect(fn, stat, mv) {
|
|
|
113
113
|
currentEffect = effectFn;
|
|
114
114
|
runEffectFn(effectFn);
|
|
115
115
|
currentEffect = prev;
|
|
116
|
-
currentEffects
|
|
116
|
+
if (currentEffects) {
|
|
117
|
+
if (!currentEffects.head) {
|
|
118
|
+
currentEffects.head = effectFn;
|
|
119
|
+
currentEffects.tail = effectFn;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
currentEffects.tail.$fx = effectFn;
|
|
123
|
+
currentEffects.tail = effectFn;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
117
126
|
return effectFn;
|
|
118
127
|
}
|
|
119
128
|
export function cleanup(effectFn) {
|
package/package.json
CHANGED
package/src/element.ts
CHANGED
|
@@ -4,7 +4,7 @@ export function mount(app, parent) {
|
|
|
4
4
|
parent.appendChild(app());
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export let currentEffects: any | undefined;
|
|
7
|
+
export let currentEffects: { head: any; tail: any } | undefined;
|
|
8
8
|
|
|
9
9
|
export function createReactiveTextNode(v) {
|
|
10
10
|
let n;
|
|
@@ -20,9 +20,10 @@ export function createReactiveTextNode(v) {
|
|
|
20
20
|
|
|
21
21
|
export function component(name, props?: any) {
|
|
22
22
|
const prevEffects = currentEffects;
|
|
23
|
-
currentEffects =
|
|
23
|
+
currentEffects = { head: null, tail: null };
|
|
24
24
|
const e = name(props);
|
|
25
25
|
const existing = e.$fx;
|
|
26
|
+
|
|
26
27
|
if (existing) {
|
|
27
28
|
// Check if any existing effects are marked as mv (move)
|
|
28
29
|
let hasMvEffect = false;
|
|
@@ -32,39 +33,34 @@ export function component(name, props?: any) {
|
|
|
32
33
|
hasMvEffect = true;
|
|
33
34
|
break;
|
|
34
35
|
}
|
|
35
|
-
current = current
|
|
36
|
+
current = current.$fx;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
if (hasMvEffect) {
|
|
39
40
|
// Mark all current effects as mv
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
let curr = currentEffects.head;
|
|
42
|
+
while (curr) {
|
|
43
|
+
curr.mv = true;
|
|
44
|
+
curr = curr.$fx;
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
|
|
45
48
|
// Append current effects to existing chain
|
|
46
|
-
if (currentEffects.
|
|
49
|
+
if (currentEffects.head) {
|
|
47
50
|
// Find the end of existing chain
|
|
48
51
|
let tail = existing;
|
|
49
|
-
while (tail
|
|
50
|
-
tail = tail
|
|
52
|
+
while (tail.$fx) {
|
|
53
|
+
tail = tail.$fx;
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
// Link the new effects
|
|
54
|
-
tail
|
|
55
|
-
for (let i = 0; i < currentEffects.length - 1; i++) {
|
|
56
|
-
currentEffects[i].next = currentEffects[i + 1];
|
|
57
|
-
}
|
|
57
|
+
tail.$fx = currentEffects.head;
|
|
58
58
|
}
|
|
59
59
|
} else {
|
|
60
|
-
//
|
|
61
|
-
|
|
62
|
-
for (let i = 0; i < currentEffects.length - 1; i++) {
|
|
63
|
-
currentEffects[i].next = currentEffects[i + 1];
|
|
64
|
-
}
|
|
65
|
-
e.$fx = currentEffects[0];
|
|
66
|
-
}
|
|
60
|
+
// Use current effects as the new chain
|
|
61
|
+
e.$fx = currentEffects.head;
|
|
67
62
|
}
|
|
63
|
+
|
|
68
64
|
currentEffects = prevEffects;
|
|
69
65
|
return e;
|
|
70
66
|
}
|
|
@@ -79,36 +75,32 @@ export function setProperty(el, key, val) {
|
|
|
79
75
|
}
|
|
80
76
|
export function setReactiveAttribute(el, key, val) {
|
|
81
77
|
let ran;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}, true),
|
|
94
|
-
);
|
|
78
|
+
const effect = $effect(() => {
|
|
79
|
+
const v = val();
|
|
80
|
+
if (ran) {
|
|
81
|
+
if (v === undefined) el.removeAttribute(key);
|
|
82
|
+
else el.setAttribute(key, v);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (v !== undefined) el.setAttribute(key, val());
|
|
86
|
+
ran = true;
|
|
87
|
+
}, true);
|
|
88
|
+
addEffect(el, effect);
|
|
95
89
|
return el;
|
|
96
90
|
}
|
|
97
91
|
export function setReactiveProperty(el, key, val) {
|
|
98
92
|
let ran = true;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}, true),
|
|
111
|
-
);
|
|
93
|
+
const effect = $effect(() => {
|
|
94
|
+
const v = val();
|
|
95
|
+
if (ran) {
|
|
96
|
+
if (v === undefined) delete el[key];
|
|
97
|
+
else el[key] = v;
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
if (v !== undefined) el[key] = v;
|
|
101
|
+
ran = true;
|
|
102
|
+
}, true);
|
|
103
|
+
addEffect(el, effect);
|
|
112
104
|
return el;
|
|
113
105
|
}
|
|
114
106
|
|
|
@@ -126,7 +118,7 @@ export function markAsReactive(el) {
|
|
|
126
118
|
|
|
127
119
|
export function addEffect(el, ef) {
|
|
128
120
|
if (el.$fx) {
|
|
129
|
-
ef
|
|
121
|
+
ef.$fx = el.$fx;
|
|
130
122
|
el.$fx = ef;
|
|
131
123
|
} else {
|
|
132
124
|
el.$fx = ef;
|
|
@@ -135,10 +127,10 @@ export function addEffect(el, ef) {
|
|
|
135
127
|
}
|
|
136
128
|
|
|
137
129
|
function shallowTeardown(elem) {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
130
|
+
while (elem.$fx) {
|
|
131
|
+
cleanup(elem.$fx);
|
|
132
|
+
elem = elem.$fx;
|
|
133
|
+
elem.$fx = undefined;
|
|
142
134
|
}
|
|
143
135
|
}
|
|
144
136
|
|
|
@@ -148,7 +140,7 @@ function teardown(elem, iterating = false) {
|
|
|
148
140
|
var end = elem.$end;
|
|
149
141
|
elem = elem.$frag;
|
|
150
142
|
}
|
|
151
|
-
if (elem.$fx) {
|
|
143
|
+
if (elem.$fx !== undefined) {
|
|
152
144
|
shallowTeardown(elem);
|
|
153
145
|
if (end) {
|
|
154
146
|
if (iterating) return;
|
|
@@ -191,15 +183,15 @@ function filterEffects(head, predicate) {
|
|
|
191
183
|
filtered = current;
|
|
192
184
|
filteredTail = current;
|
|
193
185
|
} else {
|
|
194
|
-
filteredTail
|
|
186
|
+
filteredTail.$fx = current;
|
|
195
187
|
filteredTail = current;
|
|
196
188
|
}
|
|
197
189
|
}
|
|
198
|
-
current = current
|
|
190
|
+
current = current.$fx;
|
|
199
191
|
}
|
|
200
192
|
|
|
201
193
|
if (filteredTail) {
|
|
202
|
-
filteredTail
|
|
194
|
+
filteredTail.$fx = null;
|
|
203
195
|
}
|
|
204
196
|
|
|
205
197
|
return filtered;
|
|
@@ -209,7 +201,7 @@ export function show(props) {
|
|
|
209
201
|
let prevIndex = -1;
|
|
210
202
|
let prevElem: (Element | Comment) & { $fx?: any };
|
|
211
203
|
|
|
212
|
-
$effect(() => {
|
|
204
|
+
const effect = $effect(() => {
|
|
213
205
|
const currIndex = props.findIndex((c) => !c.if || c.if());
|
|
214
206
|
if (currIndex === prevIndex) {
|
|
215
207
|
if (!prevElem) {
|
|
@@ -229,13 +221,13 @@ export function show(props) {
|
|
|
229
221
|
if (sticky) {
|
|
230
222
|
// Find tail of sticky effects
|
|
231
223
|
let stickyTail = sticky;
|
|
232
|
-
while (stickyTail
|
|
233
|
-
stickyTail = stickyTail
|
|
224
|
+
while (stickyTail.$fx) {
|
|
225
|
+
stickyTail = stickyTail.$fx;
|
|
234
226
|
}
|
|
235
227
|
|
|
236
228
|
// Append to new element's effects
|
|
237
229
|
if (newElem.$fx) {
|
|
238
|
-
stickyTail
|
|
230
|
+
stickyTail.$fx = newElem.$fx;
|
|
239
231
|
newElem.$fx = sticky;
|
|
240
232
|
} else {
|
|
241
233
|
newElem.$fx = sticky;
|
|
@@ -252,7 +244,6 @@ export function show(props) {
|
|
|
252
244
|
prevElem = newElem;
|
|
253
245
|
prevIndex = currIndex;
|
|
254
246
|
}, false, true);
|
|
255
|
-
|
|
256
247
|
return prevElem;
|
|
257
248
|
}
|
|
258
249
|
|
|
@@ -277,7 +268,7 @@ export function list(props, terminal = false) {
|
|
|
277
268
|
const render = props.render;
|
|
278
269
|
let isolated;
|
|
279
270
|
|
|
280
|
-
$effect(() => {
|
|
271
|
+
const effect = $effect(() => {
|
|
281
272
|
parent = startBookend.parentNode;
|
|
282
273
|
if (!parent) {
|
|
283
274
|
prevItems = props.items();
|
package/src/signals.ts
CHANGED
|
@@ -135,7 +135,15 @@ export function $effect(fn: EffectFn["run"], stat?: boolean, mv?: boolean) {
|
|
|
135
135
|
currentEffect = effectFn;
|
|
136
136
|
runEffectFn(effectFn);
|
|
137
137
|
currentEffect = prev;
|
|
138
|
-
currentEffects
|
|
138
|
+
if (currentEffects) {
|
|
139
|
+
if (!currentEffects.head) {
|
|
140
|
+
currentEffects.head = effectFn;
|
|
141
|
+
currentEffects.tail = effectFn;
|
|
142
|
+
} else {
|
|
143
|
+
currentEffects.tail.$fx = effectFn;
|
|
144
|
+
currentEffects.tail = effectFn;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
139
147
|
return effectFn;
|
|
140
148
|
}
|
|
141
149
|
|
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/@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":"d8931cd9b3f2bd837fe46461d9f8fa61dc987389e54fe183e9de63b22fb1b158","signature":"ca1767cb3f596ea5d06cfde4264f8e5c7894b9c95f73a7e87fc049ce6739d602"},{"version":"283d0f5ed202ed2c1fcf0d8a9702b8e84396e03bb1a33c01aee14ae65639b67b","signature":"0038e441c381e52b0588d74e2908ffb99c4ed752686b54056b06ba34ee6f3c82"},{"version":"f078bb1ffe7613336b4ba1e113f2efeb1807af583ac83d705f01a9cd868bfdd0","signature":"b1a9d2029bc09d94260873e1f48c13f05dda2176e23821d0b194812fcc9c3ccc"},{"version":"5af6ec6879f94e91634dd1c33e9665da6a3c248580114b44d16d5ff5dcf4e9f4","signature":"a32c52a25b47067dac589266e7667623ea1ef2b0c1f9c4fd41adbc7b67a59eee"},{"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/router.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":"c5900936258ad8275566507769e549f9b2c3e5ca8251450870a0579b3feceb42","signature":"ca1767cb3f596ea5d06cfde4264f8e5c7894b9c95f73a7e87fc049ce6739d602"},{"version":"55b929e1368593eba2d231cbd1ea3227fe889a56427b073bb9db01d786cc4b29","signature":"e86f85e941d345605850753117c5019294272029596557820c18807116c7c771"},{"version":"f078bb1ffe7613336b4ba1e113f2efeb1807af583ac83d705f01a9cd868bfdd0","signature":"b1a9d2029bc09d94260873e1f48c13f05dda2176e23821d0b194812fcc9c3ccc"},{"version":"5af6ec6879f94e91634dd1c33e9665da6a3c248580114b44d16d5ff5dcf4e9f4","signature":"a32c52a25b47067dac589266e7667623ea1ef2b0c1f9c4fd41adbc7b67a59eee"},{"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/element.d.ts","version":"5.8.3"}
|