@ningboyz/vue 1.0.10 → 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.
@@ -1,3 +1,3 @@
1
- import { App } from 'vue';
2
- export declare function install(app: App): void;
1
+ import { Plugin } from 'vue';
2
+ export declare const YzUI: Plugin;
3
3
  export * from './stimulsoft/desgin';
package/es/components.js CHANGED
@@ -1,9 +1,10 @@
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
- }
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
+ };
6
7
  export {
7
- t as YzDesgin,
8
- e as install
8
+ s as YzDesgin,
9
+ e as YzUI
9
10
  };
package/es/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as o from "./components.js";
2
- import { install as e } from "./components.js";
2
+ import { YzUI as t } from "./components.js";
3
3
  import { YzDesgin as p } from "./stimulsoft/desgin/index.js";
4
4
  export {
5
5
  p as YzDesgin,
6
- o as default,
7
- e as install
6
+ t as YzUI,
7
+ o as default
8
8
  };
@@ -1,28 +1,3 @@
1
- import { App } from 'vue';
2
- export declare const YzDesgin: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./interface').IStimulsoftDesginProps> & Readonly<{
4
- onSaveReport?: ((fileName: string, json: string) => any) | undefined;
5
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
- saveReport: (fileName: string, json: string) => any;
7
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
8
- P: {};
9
- B: {};
10
- D: {};
11
- C: {};
12
- M: {};
13
- Defaults: {};
14
- }, Readonly<import('./interface').IStimulsoftDesginProps> & Readonly<{
15
- onSaveReport?: ((fileName: string, json: string) => any) | undefined;
16
- }>, {}, {}, {}, {}, {}>;
17
- __isFragment?: never;
18
- __isTeleport?: never;
19
- __isSuspense?: never;
20
- } & import('vue').ComponentOptionsBase<Readonly<import('./interface').IStimulsoftDesginProps> & Readonly<{
21
- onSaveReport?: ((fileName: string, json: string) => any) | undefined;
22
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
23
- saveReport: (fileName: string, json: string) => any;
24
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
25
- install(app: App): void;
26
- version: string;
27
- };
1
+ import { Plugin } from 'vue';
2
+ export declare const YzDesgin: Plugin;
28
3
  export default YzDesgin;
@@ -1,10 +1,8 @@
1
1
  import n from "./desgin.vue.js";
2
- import e from "../../package.json.js";
3
2
  const t = Object.assign({}, n, {
4
- install(o) {
5
- o.component(n.name, n);
6
- },
7
- version: e.version
3
+ install(e) {
4
+ e.component(n.name, n);
5
+ }
8
6
  });
9
7
  export {
10
8
  t as YzDesgin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/vue",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "private": false,
5
5
  "description": "宁波甬政vue-ui库",
6
6
  "author": "nbyt-syq",
@@ -1,7 +0,0 @@
1
- const o = "1.0.10", s = {
2
- version: o
3
- };
4
- export {
5
- s as default,
6
- o as version
7
- };