ziko 0.33.0 → 0.34.0
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/ziko.cjs +2440 -3447
- package/dist/ziko.js +8192 -9199
- package/dist/ziko.min.js +2 -2
- package/dist/ziko.mjs +2423 -3424
- package/package.json +4 -6
- package/src/app/index.js +0 -3
- package/src/events/__Events__.js +18 -8
- package/src/events/pointer.js +1 -1
- package/src/index.js +9 -3
- package/src/math/functions/index.js +6 -9
- package/src/math/index.js +0 -7
- package/src/math/matrix/Matrix.js +1 -50
- package/src/math/matrix/index.js +1 -3
- package/src/math/signal/index.js +1 -110
- package/src/math/statistics/index.js +2 -2
- package/src/reactivity/events/index.js +8 -8
- package/src/reactivity/hooks/Head/useFavIcon.js +2 -2
- package/src/reactivity/hooks/Head/useTitle.js +1 -1
- package/src/reactivity/hooks/index.js +3 -3
- package/src/ui/elements/ZikoUIElement.js +34 -176
- package/src/ui/elements/semantic/index.js +33 -73
- package/src/ui/methods/events.js +39 -0
- package/src/use/decorators/index.js +2 -0
- package/src/use/decorators/use-debounce.js +4 -0
- package/src/use/decorators/use-throttle.js +9 -0
- package/src/use/index.js +3 -0
- package/src/use/interactions/index.js +3 -0
- package/src/{reactivity/hooks/Interactions/useChannel.js → use/interactions/use-channel.js} +8 -8
- package/src/{reactivity/hooks/Storage/useStorage.js → use/storage/index.js} +2 -2
- package/src/app/json-style-sheet.js +0 -64
- package/src/compose.js +0 -89
- package/src/math/calculus/derivation/index.js +0 -7
- package/src/math/calculus/index.js +0 -2
- package/src/math/calculus/special-functions/bessel.js +0 -31
- package/src/math/calculus/special-functions/beta.js +0 -38
- package/src/math/calculus/special-functions/gamma.js +0 -30
- package/src/math/calculus/special-functions/index.js +0 -4
- package/src/math/matrix/Decomposition.js +0 -90
- package/src/math/matrix/LinearSystem.js +0 -10
- package/src/math/signal/__np.py.txt +0 -40
- package/src/math/signal/conv.js +0 -175
- package/src/math/signal/fft.js +0 -55
- package/src/math/signal/filter.js +0 -39
- package/src/reactivity/events/Pointer.js +0 -232
- package/src/reactivity/events/click.js +0 -102
- package/src/reactivity/events/clipboard.js +0 -88
- package/src/reactivity/events/drag.js +0 -137
- package/src/reactivity/events/focus.js +0 -59
- package/src/reactivity/events/key.js +0 -102
- package/src/reactivity/events/wheel.js +0 -47
- package/src/reactivity/hooks/Decorators/index.js +0 -6
- package/src/reactivity/hooks/Decorators/time.js +0 -17
- package/src/reactivity/hooks/Decorators/type.js +0 -88
- package/src/reactivity/hooks/Interactions/_useBluetooth.js +0 -48
- package/src/reactivity/hooks/Interactions/index.js +0 -4
- package/src/reactivity/hooks/Sensors ( To Be Moved )/index.js +0 -2
- package/src/reactivity/hooks/Sensors ( To Be Moved )/useBattery.js +0 -36
- package/src/reactivity/hooks/Sensors ( To Be Moved )/useGeolocation.js +0 -17
- package/src/reactivity/hooks/Storage/index.js +0 -1
- package/src/reactivity/hooks/Storage/useCookie.js +0 -0
- package/src/reactivity/hooks/Storage/useIndexedDb.js +0 -0
- /package/src/events/{index.d.ts → index.d.ts.txt} +0 -0
- /package/src/math/statistics/{Functions → functions}/index.js +0 -0
- /package/src/{math/numeric → use/app}/index.js +0 -0
- /package/src/{reactivity/hooks/Interactions/useUsb.js → use/app/use-favicon.js} +0 -0
- /package/src/{reactivity/hooks/Sensors ( To Be Moved )/useCamera.js → use/app/use-link.js} +0 -0
- /package/src/{reactivity/hooks/Sensors ( To Be Moved )/useMicro.js → use/app/use-meta.js} +0 -0
- /package/src/{reactivity/hooks/Sensors ( To Be Moved )/useOrientation.js → use/app/use-title.js} +0 -0
- /package/src/{reactivity/hooks/Interactions/useEventEmmiter.js → use/interactions/use-event-emmiter.js} +0 -0
- /package/src/{reactivity/hooks/Interactions/useThread.js → use/interactions/use-thread.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ziko",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "a versatile javaScript framework offering a rich set of UI components, advanced mathematical utilities, reactivity, animations, client side routing and graphics capabilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"front-end",
|
|
@@ -10,10 +10,6 @@
|
|
|
10
10
|
"math",
|
|
11
11
|
"user-interface",
|
|
12
12
|
"time",
|
|
13
|
-
"data",
|
|
14
|
-
"svg",
|
|
15
|
-
"canvas",
|
|
16
|
-
"reactivity",
|
|
17
13
|
"dom",
|
|
18
14
|
"single page application",
|
|
19
15
|
"file based routing"
|
|
@@ -38,6 +34,9 @@
|
|
|
38
34
|
"./events": {
|
|
39
35
|
"import": "./src/events/index.js"
|
|
40
36
|
},
|
|
37
|
+
"./use": {
|
|
38
|
+
"import": "./src/use/index.js"
|
|
39
|
+
},
|
|
41
40
|
"./ui":{
|
|
42
41
|
"import": "./src/ui/index.js",
|
|
43
42
|
"type": "./src/ui/index.d.ts"
|
|
@@ -50,7 +49,6 @@
|
|
|
50
49
|
"./html": {},
|
|
51
50
|
"./app": {},
|
|
52
51
|
"./time": {},
|
|
53
|
-
"./use": {},
|
|
54
52
|
"./components": {}
|
|
55
53
|
},
|
|
56
54
|
"bin": {
|
package/src/app/index.js
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
export * from "./ziko-app.js";
|
|
2
|
-
export * from "./json-style-sheet.js";
|
|
3
2
|
export * from "./spa.js"
|
|
4
3
|
export * from "./params.js"
|
|
5
4
|
export * from "./globals.js"
|
|
6
5
|
export * from "./spa-file-based-routing.js"
|
|
7
6
|
|
|
8
7
|
import * as __App__ from "./ziko-app.js"
|
|
9
|
-
import * as JsonStyleSheet from "./json-style-sheet.js"
|
|
10
8
|
import * as Spa from "./spa.js"
|
|
11
9
|
import * as Global from "./globals.js"
|
|
12
10
|
// import * as Params from "./params"
|
|
13
11
|
|
|
14
12
|
const App={
|
|
15
13
|
...__App__,
|
|
16
|
-
...JsonStyleSheet,
|
|
17
14
|
...Spa,
|
|
18
15
|
...Global,
|
|
19
16
|
// ...Params
|
package/src/events/__Events__.js
CHANGED
|
@@ -3,7 +3,7 @@ const Events = {
|
|
|
3
3
|
'Click',
|
|
4
4
|
'DblClick'
|
|
5
5
|
],
|
|
6
|
-
'
|
|
6
|
+
'Ptr' : [
|
|
7
7
|
'PtrMove',
|
|
8
8
|
'PtrDown',
|
|
9
9
|
'PtrUp',
|
|
@@ -12,8 +12,15 @@ const Events = {
|
|
|
12
12
|
'PtrOut',
|
|
13
13
|
'PtrCancel'
|
|
14
14
|
],
|
|
15
|
-
'Mouse' : [
|
|
16
|
-
|
|
15
|
+
'Mouse' : [
|
|
16
|
+
'MouseMove',
|
|
17
|
+
'MouseDown',
|
|
18
|
+
'MouseUp',
|
|
19
|
+
'MouseEnter',
|
|
20
|
+
'MouseLeave',
|
|
21
|
+
'MouseOut'
|
|
22
|
+
],
|
|
23
|
+
// 'Touch' : [],
|
|
17
24
|
'Key' : [
|
|
18
25
|
'KeyDown',
|
|
19
26
|
'KeyPress',
|
|
@@ -34,12 +41,15 @@ const Events = {
|
|
|
34
41
|
"DragEnd",
|
|
35
42
|
"Drop"
|
|
36
43
|
],
|
|
37
|
-
'
|
|
38
|
-
|
|
39
|
-
],
|
|
40
|
-
'Hash':[
|
|
41
|
-
"HashChange"
|
|
44
|
+
'Wheel': [
|
|
45
|
+
'Wheel'
|
|
42
46
|
]
|
|
47
|
+
// 'Media':[
|
|
48
|
+
|
|
49
|
+
// ],
|
|
50
|
+
// 'Hash':[
|
|
51
|
+
// "HashChange"
|
|
52
|
+
// ]
|
|
43
53
|
}
|
|
44
54
|
|
|
45
55
|
export {
|
package/src/events/pointer.js
CHANGED
|
@@ -2,7 +2,7 @@ import { __ZikoEvent__ } from "./__ZikoEvent__.js";
|
|
|
2
2
|
import { Events } from "./__Events__.js";
|
|
3
3
|
class ZikoEventPointer extends __ZikoEvent__{
|
|
4
4
|
constructor(target, customizer){
|
|
5
|
-
super(target, Events.
|
|
5
|
+
super(target, Events.Ptr, details_setter, customizer);
|
|
6
6
|
this.isDown = false;
|
|
7
7
|
}
|
|
8
8
|
}
|
package/src/index.js
CHANGED
|
@@ -5,6 +5,10 @@ import Time from "./time/index.js";
|
|
|
5
5
|
import Data from "./data/index.js";
|
|
6
6
|
import Reactivity from "./reactivity/index.js";
|
|
7
7
|
import Graphics from "./graphics/index.js";
|
|
8
|
+
|
|
9
|
+
import * as Events from "./events/index.js"
|
|
10
|
+
import * as Use from "./use/index.js"
|
|
11
|
+
|
|
8
12
|
import App,{__UI__,__HYDRATION_MAP__, __Config__, __CACHE__, defineParamsGetter, __HYDRATION__} from "./app";
|
|
9
13
|
|
|
10
14
|
export * from "./math/index.js";
|
|
@@ -15,6 +19,9 @@ export * from "./reactivity/index.js"
|
|
|
15
19
|
export * from "./graphics/index.js";
|
|
16
20
|
export * from "./app/index.js";
|
|
17
21
|
|
|
22
|
+
export * from "./events/index.js";
|
|
23
|
+
export * from "./use/index.js";
|
|
24
|
+
|
|
18
25
|
[
|
|
19
26
|
App,
|
|
20
27
|
Math,
|
|
@@ -22,7 +29,7 @@ export * from "./app/index.js";
|
|
|
22
29
|
Time,
|
|
23
30
|
Data,
|
|
24
31
|
Reactivity,
|
|
25
|
-
Graphics
|
|
32
|
+
Graphics,
|
|
26
33
|
].forEach(n=>Object.assign(n,{
|
|
27
34
|
ExtractAll:()=>__ExtractAll__(n),
|
|
28
35
|
RemoveAll:()=>__RemoveAll__(n)
|
|
@@ -35,8 +42,7 @@ const Ziko={
|
|
|
35
42
|
Time,
|
|
36
43
|
Data,
|
|
37
44
|
Reactivity,
|
|
38
|
-
Graphics
|
|
39
|
-
|
|
45
|
+
Graphics
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
if ( globalThis.__Ziko__ ) {
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
min,
|
|
6
6
|
max
|
|
7
7
|
}from "../statistics/index.js";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "../calculus/index.js";
|
|
8
|
+
// import {
|
|
9
|
+
// gamma,
|
|
10
|
+
// bessel,
|
|
11
|
+
// beta
|
|
12
|
+
// } from "../calculus/index.js";
|
|
13
13
|
|
|
14
14
|
const abs=(...x)=>mapfun(Math.abs,...x);
|
|
15
15
|
const sqrt=(...x)=>mapfun(Math.sqrt,...x);
|
|
@@ -155,9 +155,6 @@ export{
|
|
|
155
155
|
fact,
|
|
156
156
|
hypot,
|
|
157
157
|
sig,
|
|
158
|
-
atan2
|
|
159
|
-
gamma,
|
|
160
|
-
bessel,
|
|
161
|
-
beta
|
|
158
|
+
atan2
|
|
162
159
|
};
|
|
163
160
|
|
package/src/math/index.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import * as __Const__ from "./const.js"
|
|
2
2
|
import * as __Functions__ from "./functions/index.js"
|
|
3
|
-
// import * as __Signal__ from "./const.js"
|
|
4
3
|
import * as __Random__ from "./random"
|
|
5
|
-
//import { Derivation } from "./Numeric";
|
|
6
4
|
import * as __Complex__ from "./complex"
|
|
7
5
|
import * as __Matrix__ from "./matrix"
|
|
8
6
|
import * as __Discrect__ from "./discret"
|
|
9
7
|
import * as __Utils__ from "./utils"
|
|
10
|
-
import * as __Calculus__ from "./calculus"
|
|
11
8
|
const Math = {
|
|
12
9
|
...__Const__,
|
|
13
10
|
...__Functions__,
|
|
@@ -16,17 +13,13 @@ const Math = {
|
|
|
16
13
|
...__Random__,
|
|
17
14
|
...__Utils__,
|
|
18
15
|
...__Discrect__,
|
|
19
|
-
// ...__Signal__,
|
|
20
|
-
...__Calculus__,
|
|
21
16
|
}
|
|
22
17
|
export * from "./const.js"
|
|
23
18
|
export * from "./functions/index.js"
|
|
24
19
|
export * from "./complex"
|
|
25
20
|
export * from "./matrix"
|
|
26
21
|
export * from "./discret"
|
|
27
|
-
export * from "./numeric"
|
|
28
22
|
export * from "./random"
|
|
29
|
-
// export * from "./signal"
|
|
30
23
|
export * from "./utils"
|
|
31
24
|
export * from "./statistics"
|
|
32
25
|
export default Math;
|
|
@@ -7,11 +7,6 @@ import{
|
|
|
7
7
|
import {Utils} from "../utils/index.js";
|
|
8
8
|
import {Complex } from "../complex/index.js";
|
|
9
9
|
import {Random} from "../random/index.js"
|
|
10
|
-
import {
|
|
11
|
-
luDecomposition,
|
|
12
|
-
qrDecomposition,
|
|
13
|
-
choleskyDecomposition
|
|
14
|
-
} from "./Decomposition.js";
|
|
15
10
|
import { arr2str } from "../../data/index.js";
|
|
16
11
|
class Matrix extends ZikoMath{
|
|
17
12
|
constructor(rows, cols, element = [] ) {
|
|
@@ -546,51 +541,7 @@ class Matrix extends ZikoMath{
|
|
|
546
541
|
matrix.arr = data.arr;
|
|
547
542
|
return matrix;
|
|
548
543
|
}
|
|
549
|
-
|
|
550
|
-
const [L,U]=luDecomposition(this);
|
|
551
|
-
return {
|
|
552
|
-
L,
|
|
553
|
-
U
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
static DecompositionLU(...M){
|
|
557
|
-
const Decomposition=M.map(n=>n.clone.LU());
|
|
558
|
-
return Decomposition.length===1?Decomposition[0]:Decomposition;
|
|
559
|
-
}
|
|
560
|
-
DecompositionQR(){
|
|
561
|
-
const [Q,R]=qrDecomposition(this);
|
|
562
|
-
return {
|
|
563
|
-
Q,
|
|
564
|
-
R
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
static DecompositionQR(...M){
|
|
568
|
-
const Decomposition=M.map(n=>n.clone.DecompositionQr());
|
|
569
|
-
return Decomposition.length===1?Decomposition[0]:Decomposition;
|
|
570
|
-
}
|
|
571
|
-
DecompositionCholesky(){
|
|
572
|
-
return {
|
|
573
|
-
L:choleskyDecomposition(this)
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
static DecompositionCholesky(...M){
|
|
577
|
-
const Decomposition=M.map(n=>n.clone.DecompositionCholesky());
|
|
578
|
-
return Decomposition.length===1?Decomposition[0]:Decomposition;
|
|
579
|
-
}
|
|
580
|
-
get decomposition(){
|
|
581
|
-
return{
|
|
582
|
-
LU:()=>this.DecompositionLU(),
|
|
583
|
-
QR:()=>this.DecompositionQR(),
|
|
584
|
-
Cholesky:()=>this.DecompositionCholesky()
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
static get decomposition(){
|
|
588
|
-
return{
|
|
589
|
-
LU:(...M)=>Matrix.LU(...M),
|
|
590
|
-
QR:(...M)=>Matrix.QR(...M),
|
|
591
|
-
CHOLESKY:(...M)=>Matrix.CHOLESKY(...M)
|
|
592
|
-
}
|
|
593
|
-
}
|
|
544
|
+
|
|
594
545
|
toTable() {
|
|
595
546
|
var table = new DocumentFragment();
|
|
596
547
|
var Tr = new Array(this.rows).fill(null).map(() => document?.createElement("tr"));
|
package/src/math/matrix/index.js
CHANGED
package/src/math/signal/index.js
CHANGED
|
@@ -1,110 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { abs , sinc , sign , sin } from "../functions/index.js"
|
|
3
|
-
import { Random } from "../random/index.js";
|
|
4
|
-
import {
|
|
5
|
-
zeros,
|
|
6
|
-
ones,
|
|
7
|
-
nums,
|
|
8
|
-
arange,
|
|
9
|
-
linspace,
|
|
10
|
-
logspace,
|
|
11
|
-
geomspace,
|
|
12
|
-
map,
|
|
13
|
-
norm,
|
|
14
|
-
lerp,
|
|
15
|
-
clamp,
|
|
16
|
-
} from "./functions.js";
|
|
17
|
-
import{
|
|
18
|
-
fft,
|
|
19
|
-
ifft
|
|
20
|
-
} from "./fft.js"
|
|
21
|
-
import {
|
|
22
|
-
conv,
|
|
23
|
-
conv1d,
|
|
24
|
-
conv2d,
|
|
25
|
-
circularConv,
|
|
26
|
-
linearConv,
|
|
27
|
-
circularConv1d,
|
|
28
|
-
linearConv1d,
|
|
29
|
-
circularConv2d,
|
|
30
|
-
linearConv2d
|
|
31
|
-
} from "./conv.js";
|
|
32
|
-
import {
|
|
33
|
-
filter
|
|
34
|
-
} from "./filter.js";
|
|
35
|
-
//import { Matrix } from "../Matrix/index.js";
|
|
36
|
-
const Signal={
|
|
37
|
-
zeros,
|
|
38
|
-
ones,
|
|
39
|
-
nums,
|
|
40
|
-
arange,
|
|
41
|
-
linspace,
|
|
42
|
-
logspace,
|
|
43
|
-
geomspace,
|
|
44
|
-
map,
|
|
45
|
-
norm,
|
|
46
|
-
lerp,
|
|
47
|
-
clamp,
|
|
48
|
-
noise(n,min = 0,max = 1){
|
|
49
|
-
return Random.floats(n,min,max);
|
|
50
|
-
},
|
|
51
|
-
echelon(t,t0 = 0 , A = 1){
|
|
52
|
-
if(!(t instanceof Array))t=[t];
|
|
53
|
-
const Y = mapfun(n=>n>=t0?1:0,...t);
|
|
54
|
-
return Y instanceof Array ? Y.map(n=>n*A) : Y*A
|
|
55
|
-
},
|
|
56
|
-
rampe(t,t0 = 0 , A = 1){
|
|
57
|
-
if(!(t instanceof Array))t=[t]
|
|
58
|
-
const Y = mapfun(n=>n>=t0?n-t0:0,...t);
|
|
59
|
-
return Y instanceof Array ? Y.map(n=>n*A) : Y*A
|
|
60
|
-
},
|
|
61
|
-
sign(t,t0 = 0 , A = 1){
|
|
62
|
-
if(!(t instanceof Array))t=[t]
|
|
63
|
-
const Y = mapfun(n=>Math.sign(n-t0),...t);
|
|
64
|
-
return Y instanceof Array ? Y.map(n=>n*A) : Y*A
|
|
65
|
-
},
|
|
66
|
-
rect(t,T,t0 = 0, A = 1){
|
|
67
|
-
if(!(t instanceof Array))t=[t];
|
|
68
|
-
const Y = mapfun(n=>((t0-T/2 < n) && (t0+T/2 > n)? 1 - 2 * abs(n/T) : 0),...t)
|
|
69
|
-
return Y instanceof Array ? Y.map(n=>n*A) : Y*A
|
|
70
|
-
},
|
|
71
|
-
tri(t,T,t0 = 0 , A = 1){
|
|
72
|
-
if(!(t instanceof Array))t=[t]
|
|
73
|
-
const Y = mapfun(n=>((t0-T/2 < n) && (t0+T/2 > n)? 1 - 2 * abs(n/T) : 0),...t)
|
|
74
|
-
return Y instanceof Array ? Y.map(n=>n*A) : Y*A;
|
|
75
|
-
},
|
|
76
|
-
dirac(t,t0){
|
|
77
|
-
return mapfun(n=>n===t0?Infinity:0,...t);
|
|
78
|
-
},
|
|
79
|
-
lorentz(t , t0 = 0 , A = 1){
|
|
80
|
-
if(!(t instanceof Array))t=[t]
|
|
81
|
-
const Y = mapfun(n => 1/(1+(n-t0)**2),...t);
|
|
82
|
-
return Y instanceof Array ? Y.map(n=>n*A) : Y*A;
|
|
83
|
-
},
|
|
84
|
-
sinc(t , t0 , A = 1){
|
|
85
|
-
if(!(t instanceof Array))t=[t]
|
|
86
|
-
const Y = mapfun(n=>sinc(n-t0),...t);
|
|
87
|
-
return Y instanceof Array ? Y.map(n=>n*A) : Y*A;
|
|
88
|
-
},
|
|
89
|
-
square(t,T=1,A=1){
|
|
90
|
-
if(!(t instanceof Array))t=[t]
|
|
91
|
-
const Y = mapfun(n=>sign(sin(n*2*Math.PI/T)),...t);
|
|
92
|
-
return Y instanceof Array ? Y.map(n=>n*A) : Y*A;
|
|
93
|
-
},
|
|
94
|
-
sawtooth(){
|
|
95
|
-
|
|
96
|
-
},
|
|
97
|
-
conv,
|
|
98
|
-
conv1d,
|
|
99
|
-
conv2d,
|
|
100
|
-
circularConv,
|
|
101
|
-
linearConv,
|
|
102
|
-
circularConv1d,
|
|
103
|
-
linearConv1d,
|
|
104
|
-
circularConv2d,
|
|
105
|
-
linearConv2d,
|
|
106
|
-
fft,
|
|
107
|
-
ifft,
|
|
108
|
-
filter,
|
|
109
|
-
}
|
|
110
|
-
export{Signal}
|
|
1
|
+
export * from "./functions.js"
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
min,
|
|
5
5
|
max,
|
|
6
6
|
accum
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./functions/index.js"
|
|
8
8
|
const Stats={
|
|
9
9
|
sum,
|
|
10
10
|
prod,
|
|
@@ -13,4 +13,4 @@ const Stats={
|
|
|
13
13
|
accum,
|
|
14
14
|
}
|
|
15
15
|
export default Stats;
|
|
16
|
-
export * from "./
|
|
16
|
+
export * from "./functions/index.js"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from "./click.js";
|
|
2
|
-
export * from "./pointer.js";
|
|
3
|
-
export * from "./mouse.js";
|
|
4
|
-
export * from "./wheel.js";
|
|
5
|
-
export * from "./key.js";
|
|
6
|
-
export * from "./drag.js";
|
|
7
|
-
export * from "./clipboard.js";
|
|
8
|
-
export * from "./focus.js";
|
|
1
|
+
// export * from "./click.js";
|
|
2
|
+
// export * from "./pointer.js";
|
|
3
|
+
// export * from "./mouse.js";
|
|
4
|
+
// export * from "./wheel.js";
|
|
5
|
+
// export * from "./key.js";
|
|
6
|
+
// export * from "./drag.js";
|
|
7
|
+
// export * from "./clipboard.js";
|
|
8
|
+
// export * from "./focus.js";
|
|
9
9
|
export * from "./Input.js";
|
|
10
10
|
export * from "./hash.js";
|
|
11
11
|
export * from "./custom-event.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useEventEmitter } from "
|
|
1
|
+
import { useEventEmitter } from "../../../use/interactions/use-event-emmiter.js";
|
|
2
2
|
class ZikoUseFavIcon{
|
|
3
3
|
constructor(FavIcon,useEventEmitter=true){
|
|
4
4
|
this.#init();
|
|
@@ -9,7 +9,7 @@ class ZikoUseFavIcon{
|
|
|
9
9
|
this.set(FavIcon);
|
|
10
10
|
}
|
|
11
11
|
#init(){
|
|
12
|
-
this.__FavIcon__=document.querySelector("link[rel*='icon']") || document?.createElement('link');
|
|
12
|
+
this.__FavIcon__ = document.querySelector("link[rel*='icon']") || document?.createElement('link');
|
|
13
13
|
this.__FavIcon__.type = 'image/x-icon';
|
|
14
14
|
this.__FavIcon__.rel = 'shortcut icon';
|
|
15
15
|
return this;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from "./contexte"
|
|
2
|
-
export * from "./decorators"
|
|
2
|
+
// export * from "./decorators"
|
|
3
3
|
export * from "./head"
|
|
4
|
-
export * from "./interactions"
|
|
4
|
+
// export * from "./interactions"
|
|
5
5
|
// export * from "./sensors"
|
|
6
|
-
export * from "./storage"
|
|
6
|
+
// export * from "./storage"
|
|
7
7
|
export * from "./ui"
|
|
8
8
|
// export * from "./window"
|