vue-business-kit 0.0.1

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/LICENSE ADDED
@@ -0,0 +1,31 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 dongchen-xie
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ ---
24
+
25
+ This project uses and modifies code or documentation from:
26
+
27
+ - Element Plus (MIT License)
28
+ - Lodash (MIT License)
29
+
30
+ The original copyright belongs to their respective authors.
31
+ Modifications are made under the MIT License.
package/README.md ADDED
@@ -0,0 +1,58 @@
1
+ <p align="center">
2
+ <img width="200px" src="./docs/public/logo.png">
3
+ </p>
4
+
5
+ <h1 align="center">Vue Business Kit</h1>
6
+
7
+ <p align="center">
8
+ <a href="https://www.npmjs.org/package/vue-business-kit">
9
+ <img src="https://img.shields.io/npm/v/vue-business-kit.svg" />
10
+ </a>
11
+ <a href="https://www.npmjs.org/package/vue-business-kit">
12
+ <img src="https://img.shields.io/npm/dm/vue-business-kit.svg" />
13
+ </a>
14
+ <a href="https://gitee.com/xie-dongchen/vue-business-kit">
15
+ <img src="https://img.shields.io/badge/node-%20%3E%3D%2018-47c219" />
16
+ </a>
17
+ <a href="https://github.com/dongchen-xie/vue-business-kit/blob/main/LICENSE">
18
+ <img src="https://img.shields.io/npm/l/vue-business-kit" />
19
+ </a>
20
+ </p>
21
+
22
+ <p align="center">Ready-to-use component library based on Vue3 + TypeScript + Element Plus + Lodash</p>
23
+
24
+ > ⚠️ **Development Status**: This project is currently under active development. APIs may change before the stable release.
25
+
26
+ ## ✨ Features
27
+
28
+ - 🚀 **Vue3 + TypeScript** - Built with the latest Vue3 and TypeScript, providing complete type support
29
+ - 📦 **Built-in Element Plus** - No need to install Element Plus separately, all components and icons ready to use
30
+ - 🛠️ **Built-in Lodash** - Integrated Lodash utility functions for rich data processing capabilities
31
+ - 📱 **Ready to Use** - One-time installation, no additional configuration needed, use all features immediately
32
+
33
+ ## 📦 Installation
34
+
35
+ ```bash
36
+ npm install vue-business-kit
37
+ # or
38
+ pnpm add vue-business-kit
39
+ ```
40
+
41
+ ## 🚀 Usage
42
+
43
+ ```ts
44
+ import { createApp } from "vue"
45
+ import VueEPToolkit from "vue-business-kit"
46
+ import "vue-business-kit/dist/index.css"
47
+ import App from "./App.vue"
48
+
49
+ const app = createApp(App)
50
+ app.use(VueEPToolkit)
51
+ app.mount("#app")
52
+ ```
53
+
54
+ ## 📄 License
55
+
56
+ Released under the [MIT](https://github.com/dongchen-xie/vue-business-kit/blob/main/LICENSE) License.
57
+
58
+ Made with ❤️ by Vue Business Kit
@@ -0,0 +1,21 @@
1
+
2
+ import type { DefineComponent } from "vue"
3
+ import type {
4
+ BkButtonProps,
5
+ BkFormEmits,
6
+ BkFormInstance,
7
+ BkFormProps,
8
+ BkIconProps,
9
+ BkTableEmits,
10
+ BkTableInstance,
11
+ BkTableProps
12
+ } from "./index"
13
+
14
+ declare module "@vue/runtime-core" {
15
+ export interface GlobalComponents {
16
+ BkButton: DefineComponent<BkButtonProps, {}>
17
+ BkForm: DefineComponent<BkFormProps, BkFormInstance, {}, {}, {}, {}, string, BkFormEmits>
18
+ BkIcon: DefineComponent<BkIconProps, {}>
19
+ BkTable: DefineComponent<BkTableProps, BkTableInstance, {}, {}, {}, {}, string, BkTableEmits>
20
+ }
21
+ }