fancy-plugins-components 1.0.9 → 1.0.11

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.
@@ -0,0 +1,3 @@
1
+ import { ButtonProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { defineComponent as e, createBlock as o, openBlock as n, unref as r, withCtx as p, createTextVNode as a } from "vue";
2
+ import { ElButton as s } from "element-plus";
3
+ const f = /* @__PURE__ */ e({
4
+ name: "FancyButton",
5
+ __name: "button",
6
+ props: {
7
+ type: {},
8
+ size: {},
9
+ loading: {}
10
+ },
11
+ setup(u) {
12
+ return (m, t) => (n(), o(r(s), { class: "test_btn" }, {
13
+ default: p(() => [...t[0] || (t[0] = [
14
+ a("123", -1)
15
+ ])]),
16
+ _: 1
17
+ }));
18
+ }
19
+ });
20
+ export {
21
+ f as default
22
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./button.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,5 @@
1
+ export interface ButtonProps {
2
+ type?: string;
3
+ size?: string;
4
+ loading?: string;
5
+ }
@@ -0,0 +1 @@
1
+ export { default as FancyButton } from './Button/button.vue';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./Button/button.vue.js";
2
+ export {
3
+ o as FancyButton
4
+ };
@@ -0,0 +1,3 @@
1
+ export * from './components';
2
+ export * from './types';
3
+ export { installer } from './installer';
@@ -0,0 +1,6 @@
1
+ import { default as r } from "./Button/button.vue.js";
2
+ import { installer as e } from "./installer.js";
3
+ export {
4
+ r as FancyButton,
5
+ e as installer
6
+ };
@@ -0,0 +1,2 @@
1
+ import { Plugin } from 'vue';
2
+ export declare const installer: Plugin;
@@ -0,0 +1,12 @@
1
+ import * as n from "./components.js";
2
+ const c = {
3
+ install(t) {
4
+ Object.keys(n).forEach((e) => {
5
+ const o = n[e];
6
+ o && o.name && t.component(o.name, o);
7
+ });
8
+ }
9
+ };
10
+ export {
11
+ c as installer
12
+ };
@@ -0,0 +1,3 @@
1
+ .test_btn {
2
+ height: 22px;
3
+ }
@@ -0,0 +1 @@
1
+ @use './button/index.scss';
@@ -0,0 +1 @@
1
+ export * from './Button/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fancy-plugins-components",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "",
5
5
  "main": "./dist/es/index.js",
6
6
  "module": "./dist/es/index.js",
@@ -13,7 +13,7 @@
13
13
  "./*": "./*"
14
14
  },
15
15
  "files": [
16
- "es"
16
+ "dist/es"
17
17
  ],
18
18
  "scripts": {
19
19
  "build": "vite build"