ziko 0.46.4 → 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/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__ = {
|
|
@@ -1275,8 +1276,8 @@
|
|
|
1275
1276
|
// this.element.setAttribute('ziko-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1276
1277
|
// console.log({i : globalThis.__Ziko__.__HYDRATION__.index})
|
|
1277
1278
|
// const index = globalThis.__Ziko__.__HYDRATION__.index
|
|
1278
|
-
this.element.setAttribute('data-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1279
|
-
globalThis.__Ziko__.__HYDRATION__.register(() => this);
|
|
1279
|
+
// this.element.setAttribute('data-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1280
|
+
globalThis.__Ziko__.__HYDRATION__.register(this.element, () => this);
|
|
1280
1281
|
}
|
|
1281
1282
|
globalThis.__Ziko__.__UI__.push(this);
|
|
1282
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__ = {
|
|
@@ -1269,8 +1270,8 @@ class UIElementCore extends UINode{
|
|
|
1269
1270
|
// this.element.setAttribute('ziko-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1270
1271
|
// console.log({i : globalThis.__Ziko__.__HYDRATION__.index})
|
|
1271
1272
|
// const index = globalThis.__Ziko__.__HYDRATION__.index
|
|
1272
|
-
this.element.setAttribute('data-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1273
|
-
globalThis.__Ziko__.__HYDRATION__.register(() => this);
|
|
1273
|
+
// this.element.setAttribute('data-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
1274
|
+
globalThis.__Ziko__.__HYDRATION__.register(this.element, () => this);
|
|
1274
1275
|
}
|
|
1275
1276
|
globalThis.__Ziko__.__UI__.push(this);
|
|
1276
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",
|
|
@@ -73,8 +73,8 @@ class UIElementCore extends UINode{
|
|
|
73
73
|
// this.element.setAttribute('ziko-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
74
74
|
// console.log({i : globalThis.__Ziko__.__HYDRATION__.index})
|
|
75
75
|
// const index = globalThis.__Ziko__.__HYDRATION__.index
|
|
76
|
-
this.element.setAttribute('data-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
77
|
-
globalThis.__Ziko__.__HYDRATION__.register(() => this)
|
|
76
|
+
// this.element.setAttribute('data-hydration-index', globalThis.__Ziko__.__HYDRATION__.index)
|
|
77
|
+
globalThis.__Ziko__.__HYDRATION__.register(this.element, () => this)
|
|
78
78
|
}
|
|
79
79
|
globalThis.__Ziko__.__UI__.push(this)
|
|
80
80
|
}
|