@thyn/core 0.0.112 → 0.0.115

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