@ningboyz/vue 1.0.11 → 1.0.12

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.
@@ -1,3 +1,3 @@
1
- import { Plugin } from 'vue';
2
- export declare const YzUI: Plugin;
1
+ import { App } from 'vue';
2
+ export declare function install(app: App): void;
3
3
  export * from './stimulsoft/desgin';
package/es/components.js CHANGED
@@ -1,10 +1,9 @@
1
- import { YzDesgin as s } from "./stimulsoft/desgin/index.js";
2
- const t = [s], e = {
3
- install(o) {
4
- t.forEach((n) => o.use(n));
5
- }
6
- };
1
+ import { YzDesgin as t } from "./stimulsoft/desgin/index.js";
2
+ const s = [t];
3
+ function e(o) {
4
+ s.forEach((n) => o.use(n));
5
+ }
7
6
  export {
8
- s as YzDesgin,
9
- e as YzUI
7
+ t as YzDesgin,
8
+ e as install
10
9
  };
package/es/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
- import * as YzUI from './components';
1
+ import { Plugin } from 'vue';
2
2
  export * from './components';
3
- export default YzUI;
3
+ declare const _default: Plugin;
4
+ export default _default;
package/es/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as o from "./components.js";
2
- import { YzUI as t } from "./components.js";
2
+ import { install as e } from "./components.js";
3
3
  import { YzDesgin as p } from "./stimulsoft/desgin/index.js";
4
4
  export {
5
5
  p as YzDesgin,
6
- t as YzUI,
7
- o as default
6
+ o as default,
7
+ e as install
8
8
  };
@@ -1,10 +1,10 @@
1
1
  import n from "./desgin.vue.js";
2
- const t = Object.assign({}, n, {
3
- install(e) {
4
- e.component(n.name, n);
2
+ const s = {
3
+ install: (e) => {
4
+ e.component(n.name || "yz-desgin", n);
5
5
  }
6
- });
6
+ };
7
7
  export {
8
- t as YzDesgin,
9
- t as default
8
+ s as YzDesgin,
9
+ s as default
10
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/vue",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "private": false,
5
5
  "description": "宁波甬政vue-ui库",
6
6
  "author": "nbyt-syq",