fo-vue-ui 0.0.1 → 0.0.2
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/fo-vue-ui.js +11 -11
- package/dist/fo-vue-ui.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/App.vue +8 -2
- package/src/components/index.ts +1 -0
- package/tsconfig.app.tsbuildinfo +1 -0
- package/tsconfig.node.tsbuildinfo +1 -0
package/dist/fo-vue-ui.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { createElementBlock as s, openBlock as a } from "vue";
|
|
2
|
-
const i = (e,
|
|
3
|
-
const
|
|
4
|
-
for (const [
|
|
5
|
-
|
|
6
|
-
return
|
|
2
|
+
const i = (e, o) => {
|
|
3
|
+
const c = e.__vccOpts || e;
|
|
4
|
+
for (const [n, t] of o)
|
|
5
|
+
c[n] = t;
|
|
6
|
+
return c;
|
|
7
7
|
}, p = { class: "ceshicomp" }, r = {
|
|
8
8
|
__name: "ceshicomp",
|
|
9
9
|
props: { name: "ceshicomp" },
|
|
10
10
|
setup(e) {
|
|
11
|
-
return (
|
|
11
|
+
return (o, c) => (a(), s("div", p, "123"));
|
|
12
12
|
}
|
|
13
|
-
}, _ = /* @__PURE__ */ i(r, [["__scopeId", "data-v-80063cdc"]]), m = [_],
|
|
14
|
-
m.forEach((
|
|
15
|
-
|
|
13
|
+
}, _ = /* @__PURE__ */ i(r, [["__scopeId", "data-v-80063cdc"]]), m = [_], l = (e) => {
|
|
14
|
+
m.forEach((o) => {
|
|
15
|
+
console.log("install component", o.name), o.name && e.component(o.name, o);
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
|
-
typeof window < "u" && "Vue" in window &&
|
|
18
|
+
typeof window < "u" && "Vue" in window && l(window.Vue);
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
l as default
|
|
21
21
|
};
|
package/dist/fo-vue-ui.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("vue")):typeof define=="function"&&define.amd?define(["vue"],o):(e=typeof globalThis<"u"?globalThis:e||self,e["fo-vue-ui"]=o(e.Vue))})(this,(function(e){"use strict";const o=(c,n)=>{const t=c.__vccOpts||c;for(const[p,u]of n)t[p]=u;return t},i={class:"ceshicomp"},f=[o({__name:"ceshicomp",props:{name:"ceshicomp"},setup(c){return(n,t)=>(e.openBlock(),e.createElementBlock("div",i,"123"))}},[["__scopeId","data-v-80063cdc"]])],s=c=>{f.forEach(n=>{n.name&&c.component(n.name,n)})};return typeof window<"u"&&"Vue"in window&&s(window.Vue),s}));
|
|
1
|
+
(function(e,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("vue")):typeof define=="function"&&define.amd?define(["vue"],o):(e=typeof globalThis<"u"?globalThis:e||self,e["fo-vue-ui"]=o(e.Vue))})(this,(function(e){"use strict";const o=(c,n)=>{const t=c.__vccOpts||c;for(const[p,u]of n)t[p]=u;return t},i={class:"ceshicomp"},f=[o({__name:"ceshicomp",props:{name:"ceshicomp"},setup(c){return(n,t)=>(e.openBlock(),e.createElementBlock("div",i,"123"))}},[["__scopeId","data-v-80063cdc"]])],s=c=>{f.forEach(n=>{console.log("install component",n.name),n.name&&c.component(n.name,n)})};return typeof window<"u"&&"Vue"in window&&s(window.Vue),s}));
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
<template
|
|
2
|
-
<
|
|
1
|
+
<template>
|
|
2
|
+
<div class="app">
|
|
3
|
+
<ceshicomp></ceshicomp>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import ceshicomp from "./components/ceshicomp/ceshicomp.vue"
|
|
8
|
+
</script>
|
|
3
9
|
<style scoped></style>
|
package/src/components/index.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["./src/main.ts","./src/vue.d.ts","./src/components/index.ts","./src/app.vue","./src/components/ceshicomp/ceshicomp.vue"],"version":"5.9.3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["./vite.config.ts"],"version":"5.9.3"}
|