@ningboyz/vue 1.0.25 → 1.0.27
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/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/vue",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"private": false,
|
|
5
|
+
"type": "module",
|
|
5
6
|
"description": "宁波甬政vue-ui库",
|
|
6
7
|
"author": "nbyt-syq",
|
|
7
8
|
"license": "ISC",
|
|
@@ -23,7 +24,8 @@
|
|
|
23
24
|
],
|
|
24
25
|
"scripts": {
|
|
25
26
|
"build": "vite build",
|
|
26
|
-
"prettier": "prettier --config ./.prettierrc --write \"./**/*.{ts,tsx}\" "
|
|
27
|
+
"prettier": "prettier --config ./.prettierrc --write \"./**/*.{ts,tsx}\" ",
|
|
28
|
+
"lint": "eslint ."
|
|
27
29
|
},
|
|
28
30
|
"publishConfig": {
|
|
29
31
|
"access": "public",
|
|
@@ -36,18 +38,26 @@
|
|
|
36
38
|
"vue": "3.5.20"
|
|
37
39
|
},
|
|
38
40
|
"devDependencies": {
|
|
41
|
+
"@eslint/js": "9.34.0",
|
|
39
42
|
"@tsconfig/node22": "22.0.2",
|
|
40
43
|
"@types/lodash": "4.17.20",
|
|
41
44
|
"@types/node": "22.16.5",
|
|
42
45
|
"@vitejs/plugin-vue": "6.0.1",
|
|
43
46
|
"@vue/tsconfig": "0.7.0",
|
|
47
|
+
"eslint": "9.34.0",
|
|
48
|
+
"eslint-config-prettier": "^10.1.8",
|
|
49
|
+
"eslint-plugin-prettier": "5.5.4",
|
|
50
|
+
"eslint-plugin-vue": "10.4.0",
|
|
51
|
+
"globals": "16.3.0",
|
|
44
52
|
"npm-run-all2": "8.0.4",
|
|
45
53
|
"sass": "1.91.0",
|
|
46
54
|
"typescript": "~5.8.0",
|
|
55
|
+
"typescript-eslint": "8.41.0",
|
|
47
56
|
"vite": "7.1.3",
|
|
48
57
|
"vite-plugin-dts": "4.5.4",
|
|
49
58
|
"vite-plugin-tsx-resolve-types": "0.0.4",
|
|
50
59
|
"vite-plugin-vue-devtools": "8.0.0",
|
|
60
|
+
"vue-eslint-parser": "10.2.0",
|
|
51
61
|
"vue-tsc": "3.0.4"
|
|
52
62
|
}
|
|
53
63
|
}
|
package/types/all.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import YzDesginer from "./components/stimulsoft/desginer/desginer";
|
|
2
|
+
import { type App } from "vue";
|
|
3
|
+
|
|
2
4
|
interface AllComponents {
|
|
3
5
|
YzDesginer: typeof YzDesginer;
|
|
4
6
|
}
|
|
@@ -6,8 +8,12 @@ interface AllComponents {
|
|
|
6
8
|
export function install(app: App): void;
|
|
7
9
|
|
|
8
10
|
declare module "@vue/runtime-core" {
|
|
9
|
-
export interface GlobalComponents extends AllComponents {
|
|
11
|
+
export interface GlobalComponents extends AllComponents {
|
|
12
|
+
["yz-desgin"]: typeof YzDesginer;
|
|
13
|
+
}
|
|
10
14
|
}
|
|
11
15
|
|
|
16
|
+
|
|
17
|
+
|
|
12
18
|
export * from "./components/core/component";
|
|
13
19
|
export * from "./components/stimulsoft/desginer/desginer";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { TWldy } from "@ningboyz/types";
|
|
2
2
|
import { YzComponent } from "../../core/component";
|
|
3
3
|
|
|
4
|
-
export declare const YzDesginer: YzComponent<YzDesginerProps, {}, YzDesginerSlots,
|
|
4
|
+
export declare const YzDesginer: YzComponent<YzDesginerProps, {}, YzDesginerSlots, YzDesginerMethod>;
|
|
5
5
|
|
|
6
6
|
export type YzDesginerProps = {
|
|
7
7
|
listData: TWldy.IWldyDataResponse[];
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
+
export type YzDesginerMethod = {} & YzDesginerEmits;
|
|
10
11
|
export type YzDesginerEmits = {
|
|
11
12
|
(event: "saveReport", fileName: string, json: string): void;
|
|
12
13
|
};
|