@fangzhongya/vue-archive 0.0.3-8 → 0.0.3-9
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/node/index.cjs
CHANGED
|
@@ -66538,7 +66538,7 @@ function getChange(str) {
|
|
|
66538
66538
|
`{
|
|
66539
66539
|
return ${str}
|
|
66540
66540
|
}`
|
|
66541
|
-
)
|
|
66541
|
+
)()
|
|
66542
66542
|
);
|
|
66543
66543
|
}
|
|
66544
66544
|
}
|
|
@@ -66693,7 +66693,7 @@ function getDefaultValue(obj) {
|
|
|
66693
66693
|
`{
|
|
66694
66694
|
return ${d}
|
|
66695
66695
|
}`
|
|
66696
|
-
);
|
|
66696
|
+
)();
|
|
66697
66697
|
}
|
|
66698
66698
|
}
|
|
66699
66699
|
function setVue(propsname, param, url) {
|
package/dist/node/index.js
CHANGED
|
@@ -66538,7 +66538,7 @@ function getChange(str) {
|
|
|
66538
66538
|
`{
|
|
66539
66539
|
return ${str}
|
|
66540
66540
|
}`
|
|
66541
|
-
)
|
|
66541
|
+
)()
|
|
66542
66542
|
);
|
|
66543
66543
|
}
|
|
66544
66544
|
}
|
|
@@ -66693,7 +66693,7 @@ function getDefaultValue(obj) {
|
|
|
66693
66693
|
`{
|
|
66694
66694
|
return ${d}
|
|
66695
66695
|
}`
|
|
66696
|
-
);
|
|
66696
|
+
)();
|
|
66697
66697
|
}
|
|
66698
66698
|
}
|
|
66699
66699
|
function setVue(propsname, param, url) {
|
|
@@ -17,4 +17,4 @@ ${h.vueFormat(r," ")}
|
|
|
17
17
|
${h.vueFormat(h.getFunBody(t.body)," ")}
|
|
18
18
|
}`;return`function${t.param}${e}`}else return"undefined"}function E(n){const t=n.trim();return/^\(/.test(t)?y(t):JSON.stringify(new Function("",`{
|
|
19
19
|
return ${n}
|
|
20
|
-
}`))}function $(n,t,e){const r=e?e[t]:"";return r||(typeof n=="string"?E(n+""):JSON.stringify(n))}function T(n){let t=q(n.type),e="any";t.length==1&&(e=t[0].split("<")[0]);const r=e;let o=(n.selectable||"").trim(),i=[];return o&&e!="boolean"&&(o.split(",").forEach(l=>{if(l){let g=l.split(":");i.push({label:l,prop:g[0].trim()})}}),e=="function"?e="function":e=="array"?e="choice":e="select"),{arr:i,zdtype:r,type:e,dataType:t}}function q(n){let t=[];return(n||"").trim().toLowerCase().split(",").forEach(r=>{r=r.trim(),r&&t.push(r)}),[...new Set(t)].sort()}exports.getHmtl=j;exports.getSpecType=T;exports.setValStringify=$;
|
|
20
|
+
}`)())}function $(n,t,e){const r=e?e[t]:"";return r||(typeof n=="string"?E(n+""):JSON.stringify(n))}function T(n){let t=q(n.type),e="any";t.length==1&&(e=t[0].split("<")[0]);const r=e;let o=(n.selectable||"").trim(),i=[];return o&&e!="boolean"&&(o.split(",").forEach(l=>{if(l){let g=l.split(":");i.push({label:l,prop:g[0].trim()})}}),e=="function"?e="function":e=="array"?e="choice":e="select"),{arr:i,zdtype:r,type:e,dataType:t}}function q(n){let t=[];return(n||"").trim().toLowerCase().split(",").forEach(r=>{r=r.trim(),r&&t.push(r)}),[...new Set(t)].sort()}exports.getHmtl=j;exports.getSpecType=T;exports.setValStringify=$;
|