x-block-lib 0.9.7 → 0.9.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/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -89,7 +89,7 @@ function cn(t, e) {
|
|
|
89
89
|
return e === "string" ? n = je("") : e === "integer" || e === "decimal" ? n = Rn(0) : e === "boolean" ? n = ks() : e === "enum" || e === "dateTime" ? n = je("") : console.assert(!1), n ? Hn.domToBlock(n, t) : null;
|
|
90
90
|
}
|
|
91
91
|
function St(t) {
|
|
92
|
-
return t === "string" ? "String" : t === "number" ? "Number" : t === "boolean" ? "Boolean" : t === "array" ? "Array" : t === "object" ? "Object" : (console.assert(!1), null);
|
|
92
|
+
return t === "string" ? "String" : t === "number" ? "Number" : t === "boolean" ? "Boolean" : t === "array" ? "Array" : t === "object" ? "Object" : (t === "any" || console.assert(!1), null);
|
|
93
93
|
}
|
|
94
94
|
function Ns(t) {
|
|
95
95
|
return t.array ? "Array" : t.ui === "dummy" ? null : t.ui === "strInput" ? "String" : t.ui === "numInput" ? "Number" : t.ui === "switch" ? "Boolean" : t.ui === "select" ? me(t.items) : t.ui === "multiTypes" ? me(t.types) : t.ui === "selectComp" ? "Comp" : t.ui === "selectSlot" ? "Slot" : t.ui === "selectAdaptSlot" ? "AdaptSlot" : t.ui === "colorPicker" ? "Color" : (console.assert(!1), null);
|
|
@@ -167,7 +167,7 @@ function Rs(t) {
|
|
|
167
167
|
}
|
|
168
168
|
function rt(t) {
|
|
169
169
|
let e = null;
|
|
170
|
-
return t === "string" ? e = yt("") : t === "number" ? e = Te(0) : t === "boolean" ? e = Ee(!1) : t === "array" ? e = uo() : t === "object" ? e = Ss() : console.assert(!1), e;
|
|
170
|
+
return t === "string" ? e = yt("") : t === "number" ? e = Te(0) : t === "boolean" ? e = Ee(!1) : t === "array" ? e = uo() : t === "object" ? e = Ss() : t === "any" ? e = null : console.assert(!1), e;
|
|
171
171
|
}
|
|
172
172
|
function Ds(t) {
|
|
173
173
|
let e = null;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-block-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"vue-router": "^4.6.4",
|
|
39
39
|
"vuetify": "^3.11.6",
|
|
40
40
|
"x-essential-lib": "^0.9.21",
|
|
41
|
-
"x-runtime-lib": "^0.8.
|
|
41
|
+
"x-runtime-lib": "^0.8.169",
|
|
42
42
|
"x-state-lib": "^0.3.34"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|