@topdatasec/report 1.0.0

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 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=t=>{const n=t;return n.install=function(e){e.component(n.__name,t)},t};exports.withInstall=l;
@@ -0,0 +1,2 @@
1
+ import { Plugin, Component } from 'vue';
2
+ export declare const withInstall: <T extends Component>(comp: T) => T & Plugin;
package/package.json ADDED
@@ -0,0 +1,102 @@
1
+ {
2
+ "name": "@topdatasec/report",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "author": "wangguiwang",
6
+ "homepage": "",
7
+ "description": "",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "keywords": [
12
+ "Vue3",
13
+ "TypeScript",
14
+ "Vite"
15
+ ],
16
+ "files": [
17
+ "dist",
18
+ "es",
19
+ "lib",
20
+ "package.json",
21
+ "README.md",
22
+ "README.zh-CN.md"
23
+ ],
24
+ "sideEffects": false,
25
+ "main": "lib/index.cjs",
26
+ "module": "es/index.js",
27
+ "unpkg": "dist/index.iife.js",
28
+ "jsdelivr": "dist/index.iife.js",
29
+ "types": "es/index.d.ts",
30
+ "exports": {
31
+ "./dist/*": "./dist/*",
32
+ "./es/*": "./es/*",
33
+ "./lib/*": "./lib/*",
34
+ "./css": "./dist/style.css",
35
+ ".": {
36
+ "types": "./es/index.d.ts",
37
+ "import": "./es/index.js",
38
+ "require": "./lib/index.cjs"
39
+ }
40
+ },
41
+ "scripts": {
42
+ "docs:dev": "vitepress dev docs --port 8000 --open",
43
+ "docs:build": "vitepress build docs",
44
+ "docs:deploy": "sh scripts/deploy.sh",
45
+ "dev": "vite",
46
+ "pub": "sh scripts/publish.sh",
47
+ "push": "sh scripts/push.sh",
48
+ "build": "run-s format clean build:components",
49
+ "format": "prettier --write components/",
50
+ "clean": "rimraf dist es lib",
51
+ "build:components": "run-p type-check build:dist build:browser build-only",
52
+ "type-check": "vue-tsc --build --force",
53
+ "build:dist": "vite build -- dir=dist",
54
+ "build:browser": "vite build -- dir=dist f=iife",
55
+ "build-only": "vite build",
56
+ "preview": "vite preview",
57
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
58
+ },
59
+ "dependencies": {
60
+ "@vuepic/vue-datepicker": "^11.0.1",
61
+ "@vueuse/core": "^12.8.2"
62
+ },
63
+ "devDependencies": {
64
+ "@ant-design/colors": "^7.2.0",
65
+ "@ant-design/icons-vue": "^7.0.1",
66
+ "@tsconfig/node22": "^22.0.0",
67
+ "@types/minimist": "^1.2.5",
68
+ "@types/node": "^22.13.10",
69
+ "@vitejs/plugin-vue": "^5.2.1",
70
+ "@vue/eslint-config-prettier": "^10.2.0",
71
+ "@vue/eslint-config-typescript": "^14.5.0",
72
+ "@vue/tsconfig": "^0.7.0",
73
+ "eslint": "^9.22.0",
74
+ "eslint-plugin-vue": "^10.0.0",
75
+ "less": "^4.2.2",
76
+ "minimist": "^1.2.8",
77
+ "npm-run-all2": "^7.0.2",
78
+ "prettier": "^3.5.3",
79
+ "rimraf": "^6.0.1",
80
+ "rollup-plugin-visualizer": "^5.14.0",
81
+ "topdatasec-ui": "^1.6.1",
82
+ "typescript": "^5.8.2",
83
+ "unplugin-auto-import": "^19.1.1",
84
+ "unplugin-vue-components": "^28.4.1",
85
+ "vite": "^6.2.1",
86
+ "vite-plugin-dts": "^4.5.3",
87
+ "vite-plugin-vue-devtools": "^7.7.2",
88
+ "vitepress": "^1.6.3",
89
+ "vue": "^3.5.13",
90
+ "vue-router": "^4.5.0",
91
+ "vue-tsc": "^2.2.8"
92
+ },
93
+ "license": "MIT",
94
+ "bugs": {
95
+ "url": ""
96
+ },
97
+ "browserslist": [
98
+ "> 1%",
99
+ "last 2 versions",
100
+ "not dead"
101
+ ]
102
+ }