ziko 0.46.3 → 0.47.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/{readme.md → README.md}
RENAMED
|
@@ -128,4 +128,8 @@ npx create-ziko-app [app-title]
|
|
|
128
128
|
|
|
129
129
|
If you appreciate the library, kindly demonstrate your support by giving it a star!<br>
|
|
130
130
|
[](https://github.com/zakarialaoui10/ziko.js)
|
|
131
|
-
<!--## Financial support-->
|
|
131
|
+
<!--## Financial support-->
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
To do
|
|
135
|
+
add component middlware/wrapper
|
package/dist/ziko.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/*
|
|
3
3
|
Project: ziko.js
|
|
4
4
|
Author: Zakaria Elalaoui
|
|
5
|
-
Date : Sun Nov 09 2025
|
|
5
|
+
Date : Sun Nov 09 2025 14:56:25 GMT+0100 (UTC+01:00)
|
|
6
6
|
Git-Repo : https://github.com/zakarialaoui10/ziko.js
|
|
7
7
|
Git-Wiki : https://github.com/zakarialaoui10/ziko.js/wiki
|
|
8
8
|
Released under MIT License
|
|
@@ -1161,9 +1161,10 @@
|
|
|
1161
1161
|
const __HYDRATION__ = {
|
|
1162
1162
|
store : new Map(),
|
|
1163
1163
|
index : 0,
|
|
1164
|
-
register: function(component){
|
|
1165
|
-
this.store.set(
|
|
1166
|
-
}
|
|
1164
|
+
register: function(node, component){
|
|
1165
|
+
this.store.set(node, component);
|
|
1166
|
+
},
|
|
1167
|
+
|
|
1167
1168
|
};
|
|
1168
1169
|
|
|
1169
1170
|
const __CACHE__ = {
|
|
@@ -1273,8 +1274,10 @@
|
|
|
1273
1274
|
this.isInteractive()){
|
|
1274
1275
|
// this.setAttr("ziko-hydration-index", globalThis.__Ziko__.__HYDRATION__.index);
|
|
1275
1276
|
// this.element.setAttribute('ziko-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1276
|
-
|
|
1277
|
-
globalThis.__Ziko__.__HYDRATION__.
|
|
1277
|
+
// console.log({i : globalThis.__Ziko__.__HYDRATION__.index})
|
|
1278
|
+
// const index = globalThis.__Ziko__.__HYDRATION__.index
|
|
1279
|
+
// this.element.setAttribute('data-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1280
|
+
globalThis.__Ziko__.__HYDRATION__.register(this.element, () => this);
|
|
1278
1281
|
}
|
|
1279
1282
|
globalThis.__Ziko__.__UI__.push(this);
|
|
1280
1283
|
}
|
package/dist/ziko.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/*
|
|
3
3
|
Project: ziko.js
|
|
4
4
|
Author: Zakaria Elalaoui
|
|
5
|
-
Date : Sun Nov 09 2025
|
|
5
|
+
Date : Sun Nov 09 2025 14:56:25 GMT+0100 (UTC+01:00)
|
|
6
6
|
Git-Repo : https://github.com/zakarialaoui10/ziko.js
|
|
7
7
|
Git-Wiki : https://github.com/zakarialaoui10/ziko.js/wiki
|
|
8
8
|
Released under MIT License
|
|
@@ -1155,9 +1155,10 @@ const __Config__ = {
|
|
|
1155
1155
|
const __HYDRATION__ = {
|
|
1156
1156
|
store : new Map(),
|
|
1157
1157
|
index : 0,
|
|
1158
|
-
register: function(component){
|
|
1159
|
-
this.store.set(
|
|
1160
|
-
}
|
|
1158
|
+
register: function(node, component){
|
|
1159
|
+
this.store.set(node, component);
|
|
1160
|
+
},
|
|
1161
|
+
|
|
1161
1162
|
};
|
|
1162
1163
|
|
|
1163
1164
|
const __CACHE__ = {
|
|
@@ -1267,8 +1268,10 @@ class UIElementCore extends UINode{
|
|
|
1267
1268
|
this.isInteractive()){
|
|
1268
1269
|
// this.setAttr("ziko-hydration-index", globalThis.__Ziko__.__HYDRATION__.index);
|
|
1269
1270
|
// this.element.setAttribute('ziko-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1270
|
-
|
|
1271
|
-
globalThis.__Ziko__.__HYDRATION__.
|
|
1271
|
+
// console.log({i : globalThis.__Ziko__.__HYDRATION__.index})
|
|
1272
|
+
// const index = globalThis.__Ziko__.__HYDRATION__.index
|
|
1273
|
+
// this.element.setAttribute('data-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1274
|
+
globalThis.__Ziko__.__HYDRATION__.register(this.element, () => this);
|
|
1272
1275
|
}
|
|
1273
1276
|
globalThis.__Ziko__.__UI__.push(this);
|
|
1274
1277
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ziko",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "A versatile JavaScript library offering a rich set of Hyperscript Based UI components, advanced mathematical utilities, interactivity ,animations, client side routing and more ...",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"front-end",
|
|
@@ -71,8 +71,10 @@ class UIElementCore extends UINode{
|
|
|
71
71
|
this.isInteractive()){
|
|
72
72
|
// this.setAttr("ziko-hydration-index", globalThis.__Ziko__.__HYDRATION__.index);
|
|
73
73
|
// this.element.setAttribute('ziko-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
74
|
-
|
|
75
|
-
globalThis.__Ziko__.__HYDRATION__.
|
|
74
|
+
// console.log({i : globalThis.__Ziko__.__HYDRATION__.index})
|
|
75
|
+
// const index = globalThis.__Ziko__.__HYDRATION__.index
|
|
76
|
+
// this.element.setAttribute('data-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
77
|
+
globalThis.__Ziko__.__HYDRATION__.register(this.element, () => this)
|
|
76
78
|
}
|
|
77
79
|
globalThis.__Ziko__.__UI__.push(this)
|
|
78
80
|
}
|