zet-lib 3.0.7 → 3.0.8

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/lib/zRoute.js CHANGED
@@ -400,6 +400,9 @@ zRoute.attributeData = async (res, MYMODEL, obj) => {
400
400
  if (MYMODEL.widgets[key].name == "custom") {
401
401
  customs.push(key);
402
402
  }
403
+ if (MYMODEL.widgets[key].name == "html") {
404
+ customs.push(key);
405
+ }
403
406
  }
404
407
  if (customs.length) {
405
408
  visibles = visibles.filter((item) => !customs.includes(item));
@@ -3103,6 +3106,10 @@ zRoute.forms = (
3103
3106
  case "tags":
3104
3107
  obj.type = "tags";
3105
3108
  break;
3109
+ case "html":
3110
+ obj.type = "html";
3111
+ obj.code = widgets[key].code || ""
3112
+ break;
3106
3113
  case "checkbox":
3107
3114
  obj.type = "checkbox";
3108
3115
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"