jaxs 0.9.0 → 0.9.2
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/jaxs.d.ts +60 -48
- package/dist/jaxs.js +373 -341
- package/dist/jaxs.umd.cjs +303 -275
- package/package.json +1 -1
package/dist/jaxs.umd.cjs
CHANGED
|
@@ -1,17 +1,35 @@
|
|
|
1
|
-
;(function (
|
|
1
|
+
;(function (l, b) {
|
|
2
2
|
typeof exports == 'object' && typeof module < 'u'
|
|
3
3
|
? b(exports)
|
|
4
4
|
: typeof define == 'function' && define.amd
|
|
5
5
|
? define(['exports'], b)
|
|
6
|
-
: ((
|
|
7
|
-
b((
|
|
8
|
-
})(this, function (
|
|
6
|
+
: ((l = typeof globalThis < 'u' ? globalThis : l || self),
|
|
7
|
+
b((l.jaxs = {})))
|
|
8
|
+
})(this, function (l) {
|
|
9
9
|
'use strict'
|
|
10
|
-
const b = (e, t) =>
|
|
11
|
-
|
|
10
|
+
const b = (e, t) => {
|
|
11
|
+
for (let s = e.length - 1; s >= 0; s--) e[s] === t && e.splice(s, 1)
|
|
12
|
+
return e
|
|
13
|
+
},
|
|
14
|
+
j = (e, t) => {
|
|
15
|
+
for (let s = e.length - 1; s >= 0; s--) t(e[s]) && e.splice(s, 1)
|
|
16
|
+
return e
|
|
17
|
+
},
|
|
12
18
|
O = (e, t, s) => (e.splice(t, 0, s), e),
|
|
13
|
-
|
|
14
|
-
|
|
19
|
+
M = (e, t) => (e.includes(t) || e.push(t), e),
|
|
20
|
+
dt = {
|
|
21
|
+
remove: b,
|
|
22
|
+
removeBy: j,
|
|
23
|
+
insertAt: O,
|
|
24
|
+
appendIfUnique: M,
|
|
25
|
+
push: (e, t) => e.push(t),
|
|
26
|
+
pop: (e) => e.pop(),
|
|
27
|
+
unshift: (e, t) => e.unshift(t),
|
|
28
|
+
shift: (e) => e.shift(),
|
|
29
|
+
sortBy: (e, t) => e.sort(t),
|
|
30
|
+
includes: (e, t) => e.includes(t),
|
|
31
|
+
}
|
|
32
|
+
class pt {
|
|
15
33
|
constructor(t) {
|
|
16
34
|
this.store = t
|
|
17
35
|
}
|
|
@@ -34,13 +52,21 @@
|
|
|
34
52
|
setFalse() {
|
|
35
53
|
this.update(!1)
|
|
36
54
|
}
|
|
55
|
+
isTrue() {
|
|
56
|
+
return this.value === !0
|
|
57
|
+
}
|
|
58
|
+
isFalse() {
|
|
59
|
+
return this.value === !1
|
|
60
|
+
}
|
|
37
61
|
}
|
|
38
|
-
const v = (e) => new
|
|
39
|
-
|
|
62
|
+
const v = (e) => new pt(e),
|
|
63
|
+
ft = {
|
|
40
64
|
toggle: (e) => v(e).toggle(),
|
|
41
65
|
setTrue: (e) => v(e).setTrue(),
|
|
42
66
|
setFalse: (e) => v(e).setFalse(),
|
|
43
67
|
reset: (e) => v(e).reset(),
|
|
68
|
+
isTrue: (e) => v(e).isTrue(),
|
|
69
|
+
isFalse: (e) => v(e).isFalse(),
|
|
44
70
|
}
|
|
45
71
|
class mt {
|
|
46
72
|
constructor(t) {
|
|
@@ -89,20 +115,29 @@
|
|
|
89
115
|
const s = j(this.value, t)
|
|
90
116
|
this.update(s)
|
|
91
117
|
}
|
|
118
|
+
includes(t) {
|
|
119
|
+
return this.value.includes(t)
|
|
120
|
+
}
|
|
121
|
+
appendIfUnique(t) {
|
|
122
|
+
const s = this.value
|
|
123
|
+
M(s, t), this.update(s)
|
|
124
|
+
}
|
|
92
125
|
}
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
push: (e, t) =>
|
|
96
|
-
pop: (e) =>
|
|
97
|
-
unshift: (e, t) =>
|
|
98
|
-
shift: (e) =>
|
|
99
|
-
sortBy: (e, t) =>
|
|
100
|
-
insertAt: (e, t, s) =>
|
|
101
|
-
remove: (e, t) =>
|
|
102
|
-
removeBy: (e, t) =>
|
|
103
|
-
reset: (e) =>
|
|
104
|
-
|
|
105
|
-
|
|
126
|
+
const m = (e) => new mt(e),
|
|
127
|
+
bt = {
|
|
128
|
+
push: (e, t) => m(e).push(t),
|
|
129
|
+
pop: (e) => m(e).pop(),
|
|
130
|
+
unshift: (e, t) => m(e).unshift(t),
|
|
131
|
+
shift: (e) => m(e).shift(),
|
|
132
|
+
sortBy: (e, t) => m(e).sortBy(t),
|
|
133
|
+
insertAt: (e, t, s) => m(e).insertAt(t, s),
|
|
134
|
+
remove: (e, t) => m(e).remove(t),
|
|
135
|
+
removeBy: (e, t) => m(e).removeBy(t),
|
|
136
|
+
reset: (e) => m(e).reset(),
|
|
137
|
+
includes: (e, t) => m(e).includes(t),
|
|
138
|
+
appendIfUnique: (e, t) => m(e).appendIfUnique(t),
|
|
139
|
+
}
|
|
140
|
+
class vt {
|
|
106
141
|
constructor(t) {
|
|
107
142
|
this.store = t
|
|
108
143
|
}
|
|
@@ -137,22 +172,26 @@
|
|
|
137
172
|
const s = { ...this.value, ...t }
|
|
138
173
|
this.update(s)
|
|
139
174
|
}
|
|
175
|
+
attributeTruthy(t) {
|
|
176
|
+
return !!this.value[t]
|
|
177
|
+
}
|
|
140
178
|
}
|
|
141
|
-
const
|
|
142
|
-
|
|
143
|
-
reset: (e) =>
|
|
144
|
-
resetAttribute: (e, t) =>
|
|
145
|
-
updateAttribute: (e, t, s) =>
|
|
146
|
-
updateAttributes: (e, t) =>
|
|
179
|
+
const y = (e) => new vt(e),
|
|
180
|
+
yt = {
|
|
181
|
+
reset: (e) => y(e).reset(),
|
|
182
|
+
resetAttribute: (e, t) => y(e).resetAttribute(t),
|
|
183
|
+
updateAttribute: (e, t, s) => y(e).updateAttribute(t, s),
|
|
184
|
+
updateAttributes: (e, t) => y(e).updateAttributes(t),
|
|
185
|
+
attributeTruthy: (e, t) => y(e).attributeTruthy(t),
|
|
147
186
|
},
|
|
148
187
|
gt = (e) => typeof e == 'boolean',
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
A = (e) => e !== null && !
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
188
|
+
Et = (e) => typeof e == 'number',
|
|
189
|
+
k = (e) => typeof e == 'string',
|
|
190
|
+
g = (e) => Array.isArray(e),
|
|
191
|
+
A = (e) => e !== null && !g(e) && typeof e == 'object',
|
|
192
|
+
At = { boolean: gt, number: Et, string: k, array: g, object: A },
|
|
193
|
+
wt = (e, t) => t.createElement(e),
|
|
194
|
+
Nt = (e, t) => {
|
|
156
195
|
for (const s in t) {
|
|
157
196
|
if (s === '__self') continue
|
|
158
197
|
const r = t[s].toString()
|
|
@@ -160,10 +199,10 @@
|
|
|
160
199
|
const n = e
|
|
161
200
|
n.value !== r && (n.value = r)
|
|
162
201
|
} else
|
|
163
|
-
|
|
202
|
+
k(r) && r.trim() === '' ? e.removeAttribute(s) : e.setAttribute(s, r)
|
|
164
203
|
}
|
|
165
204
|
},
|
|
166
|
-
|
|
205
|
+
St = (e, t, s) => {
|
|
167
206
|
const r = {}
|
|
168
207
|
for (const n in t) {
|
|
169
208
|
const i = t[n],
|
|
@@ -174,8 +213,8 @@
|
|
|
174
213
|
e.eventMaps = r
|
|
175
214
|
},
|
|
176
215
|
_t = (e, t, s, r) => {
|
|
177
|
-
const n =
|
|
178
|
-
return
|
|
216
|
+
const n = wt(e, r.document)
|
|
217
|
+
return Nt(n, t), St(n, s, r.publish), n
|
|
179
218
|
},
|
|
180
219
|
N = 'http://www.w3.org/2000/svg',
|
|
181
220
|
xt = {
|
|
@@ -242,8 +281,8 @@
|
|
|
242
281
|
use: !0,
|
|
243
282
|
view: !0,
|
|
244
283
|
},
|
|
245
|
-
|
|
246
|
-
|
|
284
|
+
Tt = (e, t) => !!(xt[e] || (e === 'a' && t === N)),
|
|
285
|
+
jt = (e, t, s) => {
|
|
247
286
|
const r = s.createElementNS(N, e)
|
|
248
287
|
for (const n in t)
|
|
249
288
|
n === '__self' ||
|
|
@@ -251,24 +290,24 @@
|
|
|
251
290
|
r.setAttributeNS(null, n, t[n].toString())
|
|
252
291
|
return r
|
|
253
292
|
},
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
class
|
|
293
|
+
Ot = (e) => e.namespaceURI === N,
|
|
294
|
+
Mt = (e, t) => t.createTextNode(e)
|
|
295
|
+
class kt {
|
|
257
296
|
constructor(t) {
|
|
258
297
|
this.value = t.toString()
|
|
259
298
|
}
|
|
260
299
|
render(t) {
|
|
261
|
-
const s =
|
|
300
|
+
const s = Mt(this.value, t.document)
|
|
262
301
|
return (s.__jsx = 'TextNode'), [s]
|
|
263
302
|
}
|
|
264
303
|
}
|
|
265
|
-
const
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
304
|
+
const $t = (e) => typeof e == 'string' || typeof e == 'number',
|
|
305
|
+
Dt = (e) => new kt(e),
|
|
306
|
+
Pt = (e) => ($t(e) ? Dt(e) : e),
|
|
307
|
+
$ = (e) => Bt(e).map(Pt).flat(),
|
|
308
|
+
Bt = (e) => (Array.isArray(e) ? e.flat() : e ? [e] : []),
|
|
309
|
+
D = (e, t = {}) => $(e || t.children || []),
|
|
310
|
+
Ft = (e, t = '') => {
|
|
272
311
|
const s = {},
|
|
273
312
|
r = {}
|
|
274
313
|
for (const n in e) {
|
|
@@ -284,21 +323,21 @@
|
|
|
284
323
|
return { attributes: s, events: r }
|
|
285
324
|
},
|
|
286
325
|
Vt = (e, t, s = '') => (t == null ? s : t.toString()),
|
|
287
|
-
|
|
326
|
+
Lt = (e, t) => {
|
|
288
327
|
const s = e || {},
|
|
289
|
-
r =
|
|
328
|
+
r = D(t, s)
|
|
290
329
|
return (s.children = s.children || r), s
|
|
291
330
|
},
|
|
292
|
-
|
|
293
|
-
|
|
331
|
+
P = (e, t, s, r = []) => e.reduce(zt(t, s), r).flat(),
|
|
332
|
+
zt = (e, t) => (s, r) =>
|
|
294
333
|
r
|
|
295
334
|
? Array.isArray(r)
|
|
296
|
-
?
|
|
335
|
+
? P(r, e, t, s)
|
|
297
336
|
: (r.render(e, t).forEach((n) => s.push(n)), s)
|
|
298
337
|
: s
|
|
299
|
-
class
|
|
338
|
+
class B {
|
|
300
339
|
constructor(t) {
|
|
301
|
-
this.collection =
|
|
340
|
+
this.collection = $(t)
|
|
302
341
|
}
|
|
303
342
|
render(t, s) {
|
|
304
343
|
this.parentElement = s
|
|
@@ -306,7 +345,7 @@
|
|
|
306
345
|
return this.attachToParent(r), r
|
|
307
346
|
}
|
|
308
347
|
generateDom(t) {
|
|
309
|
-
return
|
|
348
|
+
return P(this.collection, t, this.parentElement)
|
|
310
349
|
}
|
|
311
350
|
attachToParent(t) {
|
|
312
351
|
if (this.parentElement === void 0) return
|
|
@@ -314,7 +353,7 @@
|
|
|
314
353
|
t.forEach((r) => s.appendChild(r))
|
|
315
354
|
}
|
|
316
355
|
}
|
|
317
|
-
class
|
|
356
|
+
class Kt {
|
|
318
357
|
constructor(t, s) {
|
|
319
358
|
;(this.type = t), (this.attributes = s)
|
|
320
359
|
}
|
|
@@ -342,14 +381,14 @@
|
|
|
342
381
|
return `${this.type}${t}${s}${r}`
|
|
343
382
|
}
|
|
344
383
|
}
|
|
345
|
-
class
|
|
384
|
+
class Rt {
|
|
346
385
|
constructor(t, s, r = []) {
|
|
347
386
|
this.type = t
|
|
348
|
-
const { events: n, attributes: i } =
|
|
387
|
+
const { events: n, attributes: i } = Ft(s)
|
|
349
388
|
;(this.events = n),
|
|
350
389
|
(this.attributes = i),
|
|
351
|
-
(this.isSvg =
|
|
352
|
-
(this.children = new
|
|
390
|
+
(this.isSvg = Tt(this.type, this.attributes.xmlns)),
|
|
391
|
+
(this.children = new B(r))
|
|
353
392
|
}
|
|
354
393
|
render(t) {
|
|
355
394
|
const s = this.generateDom(t)
|
|
@@ -363,20 +402,20 @@
|
|
|
363
402
|
return (s.__jsx = this.jsxKey()), s
|
|
364
403
|
}
|
|
365
404
|
generateSvgDom(t) {
|
|
366
|
-
const s =
|
|
405
|
+
const s = jt(this.type, this.attributes, t.document)
|
|
367
406
|
return (s.__jsx = this.jsxKey()), s
|
|
368
407
|
}
|
|
369
408
|
jsxKey() {
|
|
370
|
-
return new
|
|
409
|
+
return new Kt(this.type, this.attributes).generate()
|
|
371
410
|
}
|
|
372
411
|
}
|
|
373
|
-
const
|
|
374
|
-
typeof e == 'string' ? new
|
|
375
|
-
|
|
376
|
-
const s =
|
|
377
|
-
return new
|
|
412
|
+
const F = (e, t, ...s) =>
|
|
413
|
+
typeof e == 'string' ? new Rt(e, t, s) : e(Lt(t, s))
|
|
414
|
+
F.fragment = (e, t) => {
|
|
415
|
+
const s = D(t, e)
|
|
416
|
+
return new B(s)
|
|
378
417
|
}
|
|
379
|
-
class
|
|
418
|
+
class Ut {
|
|
380
419
|
constructor(t, s, r) {
|
|
381
420
|
;(this.template = t),
|
|
382
421
|
(this.selector = s),
|
|
@@ -401,45 +440,45 @@
|
|
|
401
440
|
return this.renderKit.document.querySelector(this.selector)
|
|
402
441
|
}
|
|
403
442
|
}
|
|
404
|
-
const
|
|
405
|
-
const r = new
|
|
443
|
+
const qt = (e, t, s) => {
|
|
444
|
+
const r = new Ut(e, t, s)
|
|
406
445
|
return r.renderAndAttach(s), r
|
|
407
446
|
},
|
|
408
447
|
V = 'go-to-href',
|
|
409
|
-
|
|
448
|
+
L = 'go-to',
|
|
410
449
|
E = 'navigation:location-change',
|
|
411
|
-
|
|
412
|
-
|
|
450
|
+
z = 'navigation:route-change',
|
|
451
|
+
It = Object.freeze(
|
|
413
452
|
Object.defineProperty(
|
|
414
453
|
{
|
|
415
454
|
__proto__: null,
|
|
416
455
|
linkNavigationEvent: V,
|
|
417
456
|
locationChangeEvent: E,
|
|
418
|
-
navigationEvent:
|
|
419
|
-
routeChangeEvent:
|
|
457
|
+
navigationEvent: L,
|
|
458
|
+
routeChangeEvent: z,
|
|
420
459
|
},
|
|
421
460
|
Symbol.toStringTag,
|
|
422
461
|
{ value: 'Module' },
|
|
423
462
|
),
|
|
424
463
|
),
|
|
425
|
-
|
|
464
|
+
K = (e) => {
|
|
426
465
|
e.create('route', { host: '', path: '', query: {} })
|
|
427
466
|
},
|
|
428
|
-
|
|
467
|
+
R = (e) => {
|
|
429
468
|
const t = e.closest('[href]')
|
|
430
469
|
return (t && t.getAttribute('href')) || ''
|
|
431
470
|
},
|
|
432
|
-
|
|
471
|
+
S = ({ payload: e, publish: t, window: s }) => {
|
|
433
472
|
s.history.pushState(null, '', e), t(E, null)
|
|
434
473
|
},
|
|
435
|
-
|
|
474
|
+
U = (e) => {
|
|
436
475
|
const t = e.payload
|
|
437
476
|
if (!t || !t.target) return
|
|
438
477
|
t.preventDefault()
|
|
439
|
-
const s =
|
|
440
|
-
|
|
478
|
+
const s = R(t.target)
|
|
479
|
+
S({ ...e, payload: s })
|
|
441
480
|
},
|
|
442
|
-
|
|
481
|
+
q = (e) =>
|
|
443
482
|
e
|
|
444
483
|
.replace(/^\?/, '')
|
|
445
484
|
.split('&')
|
|
@@ -448,45 +487,45 @@
|
|
|
448
487
|
const r = s.split('=')
|
|
449
488
|
return (t[r[0]] = r[1]), t
|
|
450
489
|
}, {}),
|
|
451
|
-
|
|
490
|
+
I = (e) => {
|
|
452
491
|
const { state: t, publish: s, window: r } = e,
|
|
453
492
|
{ host: n, pathname: i, search: a } = r.location,
|
|
454
493
|
c = i,
|
|
455
|
-
u =
|
|
456
|
-
|
|
457
|
-
t.store('route').update(
|
|
494
|
+
u = q(a),
|
|
495
|
+
d = { host: n, path: c, query: u }
|
|
496
|
+
t.store('route').update(d), s(z, d)
|
|
458
497
|
},
|
|
459
|
-
|
|
498
|
+
J = (e) => {
|
|
460
499
|
const { subscribe: t } = e
|
|
461
|
-
t(V,
|
|
462
|
-
t(
|
|
463
|
-
|
|
500
|
+
t(V, U),
|
|
501
|
+
t(L, (s) => {
|
|
502
|
+
S(s)
|
|
464
503
|
})
|
|
465
504
|
},
|
|
466
|
-
|
|
505
|
+
G = (e) => {
|
|
467
506
|
const { publish: t, subscribe: s, state: r, window: n } = e
|
|
468
|
-
|
|
507
|
+
K(r), n.addEventListener('popstate', () => t(E, null)), s(E, I)
|
|
469
508
|
},
|
|
470
|
-
|
|
509
|
+
H = (e) => {
|
|
471
510
|
setTimeout(() => e.publish(E, null), 0)
|
|
472
511
|
},
|
|
473
|
-
|
|
474
|
-
|
|
512
|
+
C = (e) => {
|
|
513
|
+
G(e), J(e), H(e)
|
|
475
514
|
},
|
|
476
|
-
|
|
515
|
+
Jt = Object.freeze(
|
|
477
516
|
Object.defineProperty(
|
|
478
517
|
{
|
|
479
518
|
__proto__: null,
|
|
480
|
-
publishLocation:
|
|
481
|
-
startNavigation:
|
|
482
|
-
subscribeToHistoryChange:
|
|
483
|
-
subscribeToNavigation:
|
|
519
|
+
publishLocation: H,
|
|
520
|
+
startNavigation: C,
|
|
521
|
+
subscribeToHistoryChange: G,
|
|
522
|
+
subscribeToNavigation: J,
|
|
484
523
|
},
|
|
485
524
|
Symbol.toStringTag,
|
|
486
525
|
{ value: 'Module' },
|
|
487
526
|
),
|
|
488
527
|
)
|
|
489
|
-
class
|
|
528
|
+
class Q {
|
|
490
529
|
constructor({
|
|
491
530
|
window: t,
|
|
492
531
|
document: s,
|
|
@@ -506,19 +545,19 @@
|
|
|
506
545
|
(this.roots = [])
|
|
507
546
|
}
|
|
508
547
|
render(t, s) {
|
|
509
|
-
const r =
|
|
548
|
+
const r = qt(t, s, this.renderKit)
|
|
510
549
|
return this.roots.push(r), r
|
|
511
550
|
}
|
|
512
551
|
startNavigation() {
|
|
513
|
-
|
|
552
|
+
C(this)
|
|
514
553
|
}
|
|
515
554
|
}
|
|
516
|
-
const
|
|
517
|
-
Object.defineProperty({ __proto__: null, App:
|
|
555
|
+
const Gt = Object.freeze(
|
|
556
|
+
Object.defineProperty({ __proto__: null, App: Q }, Symbol.toStringTag, {
|
|
518
557
|
value: 'Module',
|
|
519
558
|
}),
|
|
520
559
|
)
|
|
521
|
-
class
|
|
560
|
+
class W {
|
|
522
561
|
constructor() {
|
|
523
562
|
this.lookup = {}
|
|
524
563
|
}
|
|
@@ -541,7 +580,7 @@
|
|
|
541
580
|
this.lookup[t] || (this.lookup[t] = [])
|
|
542
581
|
}
|
|
543
582
|
}
|
|
544
|
-
class
|
|
583
|
+
class X {
|
|
545
584
|
constructor() {
|
|
546
585
|
this.lookup = []
|
|
547
586
|
}
|
|
@@ -556,7 +595,7 @@
|
|
|
556
595
|
return this.lookup.filter((s) => s.matcher.test(t))
|
|
557
596
|
}
|
|
558
597
|
}
|
|
559
|
-
class
|
|
598
|
+
class Ht {
|
|
560
599
|
constructor({ publish: t, event: s, payload: r, timer: n }) {
|
|
561
600
|
;(this.setNewTimeout = () => {
|
|
562
601
|
this.stopped ||
|
|
@@ -593,7 +632,7 @@
|
|
|
593
632
|
((this.callCount += 1), this.publish(this.event, this.payload))
|
|
594
633
|
}
|
|
595
634
|
}
|
|
596
|
-
const
|
|
635
|
+
const Ct = (e) => {
|
|
597
636
|
const { offset: t, period: s } = e,
|
|
598
637
|
r = ({ callCount: n }) => (t && n == 0 ? t : s)
|
|
599
638
|
return {
|
|
@@ -603,16 +642,16 @@
|
|
|
603
642
|
timer: r,
|
|
604
643
|
}
|
|
605
644
|
},
|
|
606
|
-
|
|
645
|
+
Qt = (e) => {
|
|
607
646
|
let t
|
|
608
|
-
'timer' in e ? (t = e) : (t =
|
|
609
|
-
const s = new
|
|
647
|
+
'timer' in e ? (t = e) : (t = Ct(e))
|
|
648
|
+
const s = new Ht(t)
|
|
610
649
|
return s.start(), s.stop
|
|
611
650
|
}
|
|
612
|
-
class
|
|
651
|
+
class Y {
|
|
613
652
|
constructor() {
|
|
614
|
-
;(this.exactSubscriptions = new
|
|
615
|
-
(this.fuzzySubscriptions = new
|
|
653
|
+
;(this.exactSubscriptions = new W()),
|
|
654
|
+
(this.fuzzySubscriptions = new X()),
|
|
616
655
|
(this.currentIndex = 0)
|
|
617
656
|
}
|
|
618
657
|
subscribe(t, s) {
|
|
@@ -647,48 +686,48 @@
|
|
|
647
686
|
}
|
|
648
687
|
}
|
|
649
688
|
}
|
|
650
|
-
const
|
|
651
|
-
const e = new
|
|
689
|
+
const Z = () => {
|
|
690
|
+
const e = new Y()
|
|
652
691
|
return {
|
|
653
692
|
bus: e,
|
|
654
693
|
publish: (r, n) => e.publish(r, n),
|
|
655
694
|
subscribe: (r, n) => e.subscribe(r, n),
|
|
656
695
|
}
|
|
657
696
|
},
|
|
658
|
-
|
|
697
|
+
Wt = Object.freeze(
|
|
659
698
|
Object.defineProperty(
|
|
660
699
|
{
|
|
661
700
|
__proto__: null,
|
|
662
|
-
ExactSubscriptions:
|
|
663
|
-
FuzzySubscriptions:
|
|
664
|
-
JaxsBus:
|
|
665
|
-
createBus:
|
|
666
|
-
publishPeriodically:
|
|
701
|
+
ExactSubscriptions: W,
|
|
702
|
+
FuzzySubscriptions: X,
|
|
703
|
+
JaxsBus: Y,
|
|
704
|
+
createBus: Z,
|
|
705
|
+
publishPeriodically: Qt,
|
|
667
706
|
},
|
|
668
707
|
Symbol.toStringTag,
|
|
669
708
|
{ value: 'Module' },
|
|
670
709
|
),
|
|
671
710
|
),
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
!(A(e) && A(t)) || !
|
|
711
|
+
Xt = (e, t) => e === t,
|
|
712
|
+
Yt = (e, t) => Object.keys(e).length === Object.keys(t).length,
|
|
713
|
+
tt = (e, t) =>
|
|
714
|
+
!(A(e) && A(t)) || !Yt(e, t)
|
|
676
715
|
? !1
|
|
677
716
|
: Object.keys(e).every((s) => {
|
|
678
717
|
const r = e[s],
|
|
679
718
|
n = t[s]
|
|
680
719
|
return w(r, n)
|
|
681
720
|
}),
|
|
682
|
-
|
|
683
|
-
!(
|
|
721
|
+
et = (e, t) =>
|
|
722
|
+
!(g(e) && g(t)) || e.length !== t.length
|
|
684
723
|
? !1
|
|
685
724
|
: e.every((s, r) => {
|
|
686
725
|
const n = t[r]
|
|
687
726
|
return w(s, n)
|
|
688
727
|
}),
|
|
689
|
-
w = (e, t) => (A(e) ?
|
|
690
|
-
|
|
691
|
-
class
|
|
728
|
+
w = (e, t) => (A(e) ? tt(e, t) : g(e) ? et(e, t) : Xt(e, t)),
|
|
729
|
+
Zt = { objects: tt, arrays: et, equal: w }
|
|
730
|
+
class _ {
|
|
692
731
|
constructor(t) {
|
|
693
732
|
;(this.name = t.name),
|
|
694
733
|
(this.parent = t.parent),
|
|
@@ -717,22 +756,21 @@
|
|
|
717
756
|
return t(this.value)
|
|
718
757
|
}
|
|
719
758
|
}
|
|
720
|
-
const
|
|
721
|
-
|
|
722
|
-
class et {
|
|
759
|
+
const x = 'state'
|
|
760
|
+
class st {
|
|
723
761
|
constructor(t) {
|
|
724
762
|
;(this.publisher = t),
|
|
725
763
|
(this.stores = {}),
|
|
726
|
-
(this.eventNamePrefix =
|
|
764
|
+
(this.eventNamePrefix = x),
|
|
727
765
|
(this.notifications = new Set()),
|
|
728
766
|
(this.inTransaction = !1)
|
|
729
767
|
}
|
|
730
768
|
create(t, s) {
|
|
731
|
-
const r = new
|
|
769
|
+
const r = new _({ name: t, parent: this, value: s })
|
|
732
770
|
return (this.stores[t] = r), r
|
|
733
771
|
}
|
|
734
772
|
store(t) {
|
|
735
|
-
return this.stores[t] || new
|
|
773
|
+
return this.stores[t] || new _({ name: t, parent: this, value: void 0 })
|
|
736
774
|
}
|
|
737
775
|
get(t) {
|
|
738
776
|
return this.store(t).value
|
|
@@ -765,17 +803,10 @@
|
|
|
765
803
|
return `${this.eventNamePrefix}:${t}`
|
|
766
804
|
}
|
|
767
805
|
}
|
|
768
|
-
const
|
|
806
|
+
const rt = (e) => new st(e),
|
|
769
807
|
te = Object.freeze(
|
|
770
808
|
Object.defineProperty(
|
|
771
|
-
{
|
|
772
|
-
__proto__: null,
|
|
773
|
-
State: et,
|
|
774
|
-
Store: x,
|
|
775
|
-
createState: st,
|
|
776
|
-
eventName: S,
|
|
777
|
-
updaters: Zt,
|
|
778
|
-
},
|
|
809
|
+
{ __proto__: null, State: st, Store: _, createState: rt, eventName: x },
|
|
779
810
|
Symbol.toStringTag,
|
|
780
811
|
{ value: 'Module' },
|
|
781
812
|
),
|
|
@@ -790,7 +821,7 @@
|
|
|
790
821
|
this.setupState(),
|
|
791
822
|
this.addBusOptions(),
|
|
792
823
|
this.setRenderKit(),
|
|
793
|
-
new
|
|
824
|
+
new Q({
|
|
794
825
|
window: this.window,
|
|
795
826
|
document: this.document,
|
|
796
827
|
publish: this.publish,
|
|
@@ -810,11 +841,11 @@
|
|
|
810
841
|
: ((this.window = window), (this.document = document))
|
|
811
842
|
}
|
|
812
843
|
setupBus() {
|
|
813
|
-
const { publish: t, subscribe: s, bus: r } =
|
|
844
|
+
const { publish: t, subscribe: s, bus: r } = Z()
|
|
814
845
|
;(this.publish = t), (this.subscribe = s), (this.bus = r)
|
|
815
846
|
}
|
|
816
847
|
setupState() {
|
|
817
|
-
this.state =
|
|
848
|
+
this.state = rt(this.publish)
|
|
818
849
|
}
|
|
819
850
|
addBusOptions() {
|
|
820
851
|
this.bus.addListenerOptions({
|
|
@@ -876,12 +907,12 @@
|
|
|
876
907
|
ce = (e, t, s) => ({ source: e, target: t, data: s, type: o.removeEvent }),
|
|
877
908
|
le = (e, t, s) => ({ source: e, target: t, data: s, type: o.addEvent }),
|
|
878
909
|
he = (e, t, s) => ({ source: e, target: t, data: s, type: o.updateEvent }),
|
|
879
|
-
|
|
910
|
+
nt = (e) => ({ source: e, target: e, type: o.removeNode, data: {} }),
|
|
880
911
|
T = (e, t) => ({ target: e, source: e, type: o.insertNode, data: t }),
|
|
881
912
|
de = (e, t, s) => ({ source: e, target: t, type: o.changeValue, data: s }),
|
|
882
913
|
pe = (e, t) => (e.type > t.type ? 1 : e.type < t.type ? -1 : 0),
|
|
883
|
-
|
|
884
|
-
class
|
|
914
|
+
it = { index: -1 }
|
|
915
|
+
class fe {
|
|
885
916
|
constructor() {
|
|
886
917
|
this.map = {}
|
|
887
918
|
}
|
|
@@ -896,7 +927,7 @@
|
|
|
896
927
|
pullMatch(t) {
|
|
897
928
|
const s = t && t.__jsx
|
|
898
929
|
return !s || !(this.map[s] && this.map[s].length)
|
|
899
|
-
?
|
|
930
|
+
? it
|
|
900
931
|
: this.map[s].shift()
|
|
901
932
|
}
|
|
902
933
|
clear(t) {
|
|
@@ -913,51 +944,51 @@
|
|
|
913
944
|
return Object.values(this.map).flat()
|
|
914
945
|
}
|
|
915
946
|
}
|
|
916
|
-
const
|
|
917
|
-
const t = new
|
|
947
|
+
const ot = (e) => {
|
|
948
|
+
const t = new fe()
|
|
918
949
|
return t.populate(e), t
|
|
919
950
|
},
|
|
920
|
-
|
|
951
|
+
ut = (e, t, s = !1) => {
|
|
921
952
|
const r = [],
|
|
922
953
|
n = e.attributes,
|
|
923
954
|
i = n.length,
|
|
924
955
|
a = t.attributes,
|
|
925
956
|
c = a.length
|
|
926
|
-
let u,
|
|
957
|
+
let u, d, p
|
|
927
958
|
for (u = 0; u < i; u++) {
|
|
928
|
-
|
|
929
|
-
const
|
|
930
|
-
if (
|
|
931
|
-
for (
|
|
932
|
-
const
|
|
933
|
-
if (
|
|
934
|
-
|
|
959
|
+
p = null
|
|
960
|
+
const h = n.item(u)
|
|
961
|
+
if (h) {
|
|
962
|
+
for (d = 0; d < c; d++) {
|
|
963
|
+
const f = a.item(d)
|
|
964
|
+
if (f && h.name == f.name) {
|
|
965
|
+
p = f
|
|
935
966
|
break
|
|
936
967
|
}
|
|
937
968
|
}
|
|
938
|
-
|
|
939
|
-
?
|
|
940
|
-
r.push(ae(e, t, { name:
|
|
941
|
-
: r.push(oe(e, t, { name:
|
|
969
|
+
p
|
|
970
|
+
? h.value !== p.value &&
|
|
971
|
+
r.push(ae(e, t, { name: h.name, value: p.value, isSvg: s }))
|
|
972
|
+
: r.push(oe(e, t, { name: h.name, isSvg: s }))
|
|
942
973
|
}
|
|
943
974
|
}
|
|
944
975
|
for (u = 0; u < c; u++) {
|
|
945
|
-
|
|
946
|
-
const
|
|
947
|
-
if (
|
|
948
|
-
for (
|
|
949
|
-
const
|
|
950
|
-
if (
|
|
951
|
-
|
|
976
|
+
p = null
|
|
977
|
+
const h = a.item(u)
|
|
978
|
+
if (h) {
|
|
979
|
+
for (d = 0; d < i; d++) {
|
|
980
|
+
const f = n.item(d)
|
|
981
|
+
if (f && f.name == h.name) {
|
|
982
|
+
p = f
|
|
952
983
|
break
|
|
953
984
|
}
|
|
954
985
|
}
|
|
955
|
-
|
|
986
|
+
p || r.push(ue(e, t, { name: h.name, value: h.value, isSvg: s }))
|
|
956
987
|
}
|
|
957
988
|
}
|
|
958
989
|
return r
|
|
959
990
|
},
|
|
960
|
-
|
|
991
|
+
me = (e, t) => {
|
|
961
992
|
const s = [],
|
|
962
993
|
r = e.eventMaps,
|
|
963
994
|
n = t.eventMaps,
|
|
@@ -966,13 +997,13 @@
|
|
|
966
997
|
return (
|
|
967
998
|
i.forEach((c) => {
|
|
968
999
|
const u = r[c],
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
?
|
|
1000
|
+
d = n[c]
|
|
1001
|
+
d
|
|
1002
|
+
? d.busEvent !== u.busEvent &&
|
|
972
1003
|
s.push(
|
|
973
1004
|
he(e, t, {
|
|
974
1005
|
name: c,
|
|
975
|
-
targetValue:
|
|
1006
|
+
targetValue: d.listener,
|
|
976
1007
|
sourceValue: u.listener,
|
|
977
1008
|
}),
|
|
978
1009
|
)
|
|
@@ -980,31 +1011,31 @@
|
|
|
980
1011
|
}),
|
|
981
1012
|
a.forEach((c) => {
|
|
982
1013
|
const u = r[c],
|
|
983
|
-
|
|
984
|
-
u || s.push(le(e, t, { name:
|
|
1014
|
+
d = n[c]
|
|
1015
|
+
u || s.push(le(e, t, { name: d.domEvent, value: d.listener }))
|
|
985
1016
|
}),
|
|
986
1017
|
s
|
|
987
1018
|
)
|
|
988
1019
|
},
|
|
989
1020
|
be = (e) => e.tagName !== 'INPUT',
|
|
990
1021
|
ve = (e, t) => e.value === t.value,
|
|
991
|
-
|
|
1022
|
+
ye = (e, t) => {
|
|
992
1023
|
if (be(e) || ve(e, t)) return []
|
|
993
1024
|
const s = e,
|
|
994
1025
|
r = t
|
|
995
1026
|
return [de(s, r, { name: 'value', value: r.value })]
|
|
996
1027
|
},
|
|
997
|
-
|
|
998
|
-
const s =
|
|
999
|
-
r =
|
|
1000
|
-
n =
|
|
1028
|
+
ge = (e, t) => {
|
|
1029
|
+
const s = ut(e, t),
|
|
1030
|
+
r = me(e, t),
|
|
1031
|
+
n = ye(e, t)
|
|
1001
1032
|
return s.concat(r).concat(n)
|
|
1002
1033
|
},
|
|
1003
|
-
Ee = (e, t) =>
|
|
1034
|
+
Ee = (e, t) => ut(e, t, !0),
|
|
1004
1035
|
Ae = (e, t) => (e.textContent !== t.textContent ? [ne(e, t)] : []),
|
|
1005
1036
|
we = (e, t, s) => {
|
|
1006
1037
|
let r = []
|
|
1007
|
-
if (e.nodeType === 1 &&
|
|
1038
|
+
if (e.nodeType === 1 && Ot(e)) {
|
|
1008
1039
|
const n = e,
|
|
1009
1040
|
i = t,
|
|
1010
1041
|
a = Ee(n, i),
|
|
@@ -1013,62 +1044,62 @@
|
|
|
1013
1044
|
} else if (e.nodeType === 1) {
|
|
1014
1045
|
const n = e,
|
|
1015
1046
|
i = t,
|
|
1016
|
-
a =
|
|
1047
|
+
a = ge(n, i),
|
|
1017
1048
|
c = s(n.childNodes, i.childNodes, n)
|
|
1018
1049
|
r = a.concat(c)
|
|
1019
1050
|
} else e.nodeType === 3 && (r = Ae(e, t))
|
|
1020
1051
|
return r
|
|
1021
1052
|
},
|
|
1022
|
-
|
|
1053
|
+
at = (e, t, s) => {
|
|
1023
1054
|
const r = [],
|
|
1024
1055
|
n = Ne(e, t),
|
|
1025
|
-
i =
|
|
1026
|
-
a =
|
|
1056
|
+
i = ot(e),
|
|
1057
|
+
a = ot(t),
|
|
1027
1058
|
c = []
|
|
1028
1059
|
let u = 0
|
|
1029
1060
|
for (; u < n; u++) {
|
|
1030
|
-
const
|
|
1031
|
-
|
|
1032
|
-
if (
|
|
1033
|
-
const
|
|
1034
|
-
a.clear(
|
|
1035
|
-
|
|
1036
|
-
? (
|
|
1037
|
-
c.push({ source:
|
|
1038
|
-
:
|
|
1039
|
-
? a.check(
|
|
1040
|
-
? r.push(T(
|
|
1041
|
-
: (i.clear(
|
|
1042
|
-
: r.push(T(
|
|
1043
|
-
} else
|
|
1061
|
+
const p = e[u],
|
|
1062
|
+
h = t[u]
|
|
1063
|
+
if (h && a.check(h)) {
|
|
1064
|
+
const f = i.pullMatch(h)
|
|
1065
|
+
a.clear(h),
|
|
1066
|
+
f.element
|
|
1067
|
+
? (f.index !== u && r.push(T(f.element, { parent: s, index: u })),
|
|
1068
|
+
c.push({ source: f.element, target: h }))
|
|
1069
|
+
: p
|
|
1070
|
+
? a.check(p)
|
|
1071
|
+
? r.push(T(h, { parent: s, index: u }))
|
|
1072
|
+
: (i.clear(p), r.push(ie(p, h)))
|
|
1073
|
+
: r.push(T(h, { parent: s, index: u }))
|
|
1074
|
+
} else p && i.pullMatch(p).element && r.push(nt(p))
|
|
1044
1075
|
}
|
|
1045
|
-
i.remaining().forEach(({ element:
|
|
1046
|
-
r.push(
|
|
1076
|
+
i.remaining().forEach(({ element: p }) => {
|
|
1077
|
+
r.push(nt(p))
|
|
1047
1078
|
})
|
|
1048
|
-
const
|
|
1049
|
-
(
|
|
1079
|
+
const d = c.reduce(
|
|
1080
|
+
(p, { source: h, target: f }) => p.concat(we(h, f, at)),
|
|
1050
1081
|
[],
|
|
1051
1082
|
)
|
|
1052
|
-
return r.concat(
|
|
1083
|
+
return r.concat(d).sort(pe)
|
|
1053
1084
|
},
|
|
1054
1085
|
Ne = (e, t) => {
|
|
1055
1086
|
const s = e.length,
|
|
1056
1087
|
r = t.length
|
|
1057
1088
|
return s > r ? s : r
|
|
1058
1089
|
},
|
|
1059
|
-
|
|
1060
|
-
const r =
|
|
1090
|
+
Se = (e, t, s) => {
|
|
1091
|
+
const r = at(e, t, s)
|
|
1061
1092
|
return (
|
|
1062
1093
|
r.forEach((n) => {
|
|
1063
|
-
|
|
1094
|
+
_e(n)
|
|
1064
1095
|
}),
|
|
1065
1096
|
r
|
|
1066
1097
|
)
|
|
1067
1098
|
},
|
|
1068
|
-
|
|
1069
|
-
;(
|
|
1099
|
+
_e = (e) => {
|
|
1100
|
+
;(Ve[e.type] || xe)(e)
|
|
1070
1101
|
},
|
|
1071
|
-
|
|
1102
|
+
xe = (e) => {},
|
|
1072
1103
|
Te = (e) => {
|
|
1073
1104
|
const { source: t, target: s } = e
|
|
1074
1105
|
t.nodeValue = s.textContent
|
|
@@ -1092,13 +1123,13 @@
|
|
|
1092
1123
|
{ name: r, isSvg: n } = s
|
|
1093
1124
|
n ? t.removeAttributeNS(null, r) : t.removeAttribute(r)
|
|
1094
1125
|
},
|
|
1095
|
-
|
|
1126
|
+
ct = (e) => {
|
|
1096
1127
|
const { source: t, data: s } = e,
|
|
1097
1128
|
{ name: r, value: n, isSvg: i } = s
|
|
1098
1129
|
i ? t.setAttributeNS(null, r, n) : t.setAttribute(r, n)
|
|
1099
1130
|
},
|
|
1100
1131
|
$e = (e) => {
|
|
1101
|
-
|
|
1132
|
+
ct(e)
|
|
1102
1133
|
},
|
|
1103
1134
|
De = (e) => {
|
|
1104
1135
|
const t = e.data,
|
|
@@ -1118,24 +1149,24 @@
|
|
|
1118
1149
|
{ name: r, sourceValue: n, targetValue: i } = t
|
|
1119
1150
|
s.removeEventListener(r, n), s.addEventListener(r, i)
|
|
1120
1151
|
},
|
|
1121
|
-
|
|
1152
|
+
Fe = (e) => {
|
|
1122
1153
|
const t = e.data,
|
|
1123
1154
|
s = e.source,
|
|
1124
1155
|
{ value: r } = t
|
|
1125
1156
|
s.value = r
|
|
1126
1157
|
},
|
|
1127
|
-
|
|
1158
|
+
Ve = {
|
|
1128
1159
|
[o.changeText]: Te,
|
|
1129
1160
|
[o.removeNode]: je,
|
|
1130
1161
|
[o.insertNode]: Oe,
|
|
1131
1162
|
[o.replaceNode]: Me,
|
|
1132
1163
|
[o.removeAttribute]: ke,
|
|
1133
|
-
[o.addAttribute]:
|
|
1164
|
+
[o.addAttribute]: ct,
|
|
1134
1165
|
[o.updateAttribute]: $e,
|
|
1135
1166
|
[o.removeEvent]: De,
|
|
1136
1167
|
[o.addEvent]: Pe,
|
|
1137
1168
|
[o.updateEvent]: Be,
|
|
1138
|
-
[o.changeValue]:
|
|
1169
|
+
[o.changeValue]: Fe,
|
|
1139
1170
|
},
|
|
1140
1171
|
Le = (e, t, s) => {
|
|
1141
1172
|
const r = [...t]
|
|
@@ -1167,7 +1198,7 @@
|
|
|
1167
1198
|
n >= 0 && (t[n] = s)
|
|
1168
1199
|
},
|
|
1169
1200
|
qe = { [o.removeNode]: Ke, [o.insertNode]: Re, [o.replaceNode]: Ue }
|
|
1170
|
-
class
|
|
1201
|
+
class Ie {
|
|
1171
1202
|
constructor({
|
|
1172
1203
|
Template: t,
|
|
1173
1204
|
subscriptions: s,
|
|
@@ -1204,7 +1235,7 @@
|
|
|
1204
1235
|
this.parentElement = r
|
|
1205
1236
|
}
|
|
1206
1237
|
const t = this.generateDom(this.renderKit),
|
|
1207
|
-
s =
|
|
1238
|
+
s = Se(this.dom, t, this.parentElement)
|
|
1208
1239
|
this.dom = Le(s, this.dom, this.parentElement)
|
|
1209
1240
|
}
|
|
1210
1241
|
subscribeForRerender() {
|
|
@@ -1214,38 +1245,38 @@
|
|
|
1214
1245
|
})
|
|
1215
1246
|
}
|
|
1216
1247
|
eventName(t) {
|
|
1217
|
-
return `${
|
|
1248
|
+
return `${x}:${t}`
|
|
1218
1249
|
}
|
|
1219
1250
|
}
|
|
1220
|
-
const
|
|
1221
|
-
|
|
1251
|
+
const Je = (e) => e,
|
|
1252
|
+
lt = ({ Template: e, viewModel: t, subscriptions: s }) => (
|
|
1222
1253
|
(s = s || []),
|
|
1223
|
-
(t = t ||
|
|
1254
|
+
(t = t || Je),
|
|
1224
1255
|
(r) =>
|
|
1225
|
-
new
|
|
1256
|
+
new Ie({ Template: e, viewModel: t, subscriptions: s, attributes: r })
|
|
1226
1257
|
),
|
|
1227
|
-
|
|
1258
|
+
Ge =
|
|
1228
1259
|
(e) =>
|
|
1229
1260
|
({ path: t }) =>
|
|
1230
1261
|
t === e,
|
|
1231
|
-
|
|
1232
|
-
|
|
1262
|
+
He = () => !0,
|
|
1263
|
+
ht =
|
|
1233
1264
|
(e) =>
|
|
1234
1265
|
({ route: t }) => {
|
|
1235
1266
|
const s = e.find((r) => r.match(t))
|
|
1236
1267
|
return s && s.Partial
|
|
1237
1268
|
},
|
|
1238
|
-
|
|
1269
|
+
Ce = Object.freeze(
|
|
1239
1270
|
Object.defineProperty(
|
|
1240
|
-
{ __proto__: null, buildRouter:
|
|
1271
|
+
{ __proto__: null, buildRouter: ht, catchAll: He, exactPathMatch: Ge },
|
|
1241
1272
|
Symbol.toStringTag,
|
|
1242
1273
|
{ value: 'Module' },
|
|
1243
1274
|
),
|
|
1244
1275
|
),
|
|
1245
1276
|
Qe = () => ({ render: (e, t) => [] }),
|
|
1246
1277
|
We = (e) => {
|
|
1247
|
-
const t =
|
|
1248
|
-
return
|
|
1278
|
+
const t = ht(e)
|
|
1279
|
+
return lt({
|
|
1249
1280
|
Template: ({ route: r }) => (t({ route: r }) || Qe)(),
|
|
1250
1281
|
subscriptions: ['route'],
|
|
1251
1282
|
})
|
|
@@ -1254,37 +1285,34 @@
|
|
|
1254
1285
|
Object.defineProperty(
|
|
1255
1286
|
{
|
|
1256
1287
|
__proto__: null,
|
|
1257
|
-
createRouteState:
|
|
1258
|
-
events:
|
|
1259
|
-
extractQueryParams:
|
|
1260
|
-
findHref:
|
|
1261
|
-
navigate:
|
|
1262
|
-
onLinkClick:
|
|
1263
|
-
onLocationChange:
|
|
1264
|
-
start:
|
|
1288
|
+
createRouteState: K,
|
|
1289
|
+
events: It,
|
|
1290
|
+
extractQueryParams: q,
|
|
1291
|
+
findHref: R,
|
|
1292
|
+
navigate: S,
|
|
1293
|
+
onLinkClick: U,
|
|
1294
|
+
onLocationChange: I,
|
|
1295
|
+
start: Jt,
|
|
1265
1296
|
},
|
|
1266
1297
|
Symbol.toStringTag,
|
|
1267
1298
|
{ value: 'Module' },
|
|
1268
1299
|
),
|
|
1269
|
-
)
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
(
|
|
1278
|
-
(
|
|
1279
|
-
(
|
|
1280
|
-
(
|
|
1281
|
-
(
|
|
1282
|
-
(
|
|
1283
|
-
(
|
|
1284
|
-
(
|
|
1285
|
-
(
|
|
1286
|
-
(
|
|
1287
|
-
(p.routing = He),
|
|
1288
|
-
(p.state = te),
|
|
1289
|
-
Object.defineProperty(p, Symbol.toStringTag, { value: 'Module' })
|
|
1300
|
+
)
|
|
1301
|
+
;(l.ArrayModifiers = dt),
|
|
1302
|
+
(l.BooleanStore = ft),
|
|
1303
|
+
(l.Equality = Zt),
|
|
1304
|
+
(l.Is = At),
|
|
1305
|
+
(l.JaxsTypes = re),
|
|
1306
|
+
(l.ListStore = bt),
|
|
1307
|
+
(l.RecordStore = yt),
|
|
1308
|
+
(l.appBuilding = Gt),
|
|
1309
|
+
(l.bind = lt),
|
|
1310
|
+
(l.createApp = se),
|
|
1311
|
+
(l.jsx = F),
|
|
1312
|
+
(l.messageBus = Wt),
|
|
1313
|
+
(l.navigation = Xe),
|
|
1314
|
+
(l.routedView = We),
|
|
1315
|
+
(l.routing = Ce),
|
|
1316
|
+
(l.state = te),
|
|
1317
|
+
Object.defineProperty(l, Symbol.toStringTag, { value: 'Module' })
|
|
1290
1318
|
})
|