@wlydfe/pro-ui 0.2.12 → 0.2.14
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 +21 -0
- package/README.md +119 -119
- package/es/components/form-item/src/index.vue.d.ts +2 -6
- package/es/components/form-item/src/index.vue2.mjs +6 -6
- package/es/components/page/src/index.vue.d.ts +54 -30
- package/es/components/page/src/index.vue2.mjs +3 -2
- package/es/components/radio/src/index.vue2.mjs +1 -1
- package/es/components/render/src/index.vue2.mjs +1 -1
- package/es/index.css +12 -13
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/global.d.ts +29 -29
- package/index.js +13 -12
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +13 -12
- package/lib/components/form-item/src/index.vue.d.ts +2 -6
- package/lib/components/form-item/src/index.vue2.js +6 -6
- package/lib/components/page/src/index.vue.d.ts +54 -30
- package/lib/components/page/src/index.vue2.js +3 -2
- package/lib/components/radio/src/index.vue2.js +1 -1
- package/lib/components/render/src/index.vue2.js +1 -1
- package/lib/{index.css → form.css} +14 -14
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +2 -2
- package/theme-chalk/src/breadcrumb.scss +9 -9
- package/theme-chalk/src/date-picker.scss +96 -96
- package/theme-chalk/src/descriptions.scss +41 -41
- package/theme-chalk/src/display-item.scss +82 -82
- package/theme-chalk/src/drawer-form.scss +16 -16
- package/theme-chalk/src/form.scss +34 -34
- package/theme-chalk/src/input-tag.scss +91 -91
- package/theme-chalk/src/layout.scss +36 -36
- package/theme-chalk/src/mixins/function.scss +73 -73
- package/theme-chalk/src/search.scss +49 -49
- package/theme-chalk/src/sidebar.scss +93 -93
- package/theme-chalk/src/steps-form.scss +18 -18
- package/theme-chalk/src/table.scss +170 -170
- package/theme-chalk/src/var/index.scss +6 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) xiaofei.
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img width="180px" src="https://plus-pro-components.github.io/logo.png">
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
<p align="center">
|
|
6
|
-
<a href="https://www.npmjs.com/package/plus-pro-components">
|
|
7
|
-
<img src="https://img.shields.io/npm/v/plus-pro-components.svg?style=flat-square" />
|
|
8
|
-
</a>
|
|
9
|
-
<a href="https://vitepress.dev/">
|
|
10
|
-
<img src="https://img.shields.io/badge/docs%20by-vitepress-10b981" />
|
|
11
|
-
</a>
|
|
12
|
-
<a href="https://rollupjs.org/">
|
|
13
|
-
<img src="https://img.shields.io/badge/build%20with-rollup-646cff.svg" />
|
|
14
|
-
</a>
|
|
15
|
-
<a href="https://www.pnpm.cn/">
|
|
16
|
-
<img src="https://img.shields.io/badge/maintained%20with-pnpm-cc00ff.svg" />
|
|
17
|
-
</a>
|
|
18
|
-
<a href="https://element-plus.org/">
|
|
19
|
-
<img src="https://img.shields.io/badge/ui%20width-element%20plus-409eff.svg" />
|
|
20
|
-
</a>
|
|
21
|
-
<a href="https://npmcharts.com/compare/plus-pro-components?minimal=true">
|
|
22
|
-
<img src="https://img.shields.io/npm/dm/plus-pro-components" />
|
|
23
|
-
</a>
|
|
24
|
-
<br>
|
|
25
|
-
</p>
|
|
26
|
-
|
|
27
|
-
# plus-pro-components
|
|
28
|
-
|
|
29
|
-
**Frontend components at the page level**
|
|
30
|
-
|
|
31
|
-
**English** | [中文](https://github.com/plus-pro-components/plus-pro-components/blob/dev/README.zh-CN.md)
|
|
32
|
-
|
|
33
|
-
## Documentation
|
|
34
|
-
|
|
35
|
-
[Documentation](https://plus-pro-components.github.io/)| [国内镜像文档](https://plus-pro-components.com)
|
|
36
|
-
|
|
37
|
-
## Introduction
|
|
38
|
-
|
|
39
|
-
plus-pro-components is a page level component library based on Vue and element plus, which has the following advantages:
|
|
40
|
-
|
|
41
|
-
- Powerful function:plus-pro-components not only provide basic UI display functions, but also have complex data operations and business logic processing capabilities, which can quickly build powerful enterprise applications.
|
|
42
|
-
|
|
43
|
-
- Easy to use: plus-pro-components provide easy-to-use APIs and comprehensive documentation, allowing developers to quickly get started and use the components within them.
|
|
44
|
-
|
|
45
|
-
- Highly customizable: plus-pro-components support multiple configurations and style customization, which can meet the needs of different projects.
|
|
46
|
-
|
|
47
|
-
- Compatible with element plus: plus-pro-components are 100% compatible with components with the same name as element plus, including properties, events, methods, slots, and more.
|
|
48
|
-
|
|
49
|
-
- Rich component library: plus-pro-components provide a large number of UI components based on element plus, including tables, forms, layout, etc., which can meet the needs of most enterprise applications.
|
|
50
|
-
|
|
51
|
-
- Use TypeScript: plus-pro-components are fully written using TypeScript, seamlessly integrating with your TypeScript project.
|
|
52
|
-
|
|
53
|
-
- internationalization: provide complete internationalization, connecting with the element plus system, without the need for redundant configuration.
|
|
54
|
-
|
|
55
|
-
- Presets: plus-pro-components preset basic styles, which are in line with the element plus style. plus-pro-components preset basic behavior, with less code and more functionality.
|
|
56
|
-
|
|
57
|
-
# Advanced Component List
|
|
58
|
-
|
|
59
|
-
- [x] Table -- Finished
|
|
60
|
-
- [x] Search -- Finished
|
|
61
|
-
- [x] Page -- Finished
|
|
62
|
-
- [x] Form -- Finished
|
|
63
|
-
- [x] DialogForm -- Finished
|
|
64
|
-
- [x] DrawerForm -- Finished
|
|
65
|
-
- [x] Descriptions -- Finished
|
|
66
|
-
- [x] Layout -- Finished
|
|
67
|
-
|
|
68
|
-
# Built-in Components List
|
|
69
|
-
|
|
70
|
-
- [x] Dialog -- Finished
|
|
71
|
-
- [x] Pagination -- Finished
|
|
72
|
-
- [x] Radio -- Finished
|
|
73
|
-
- [x] DatePicker -- Finished
|
|
74
|
-
- [x] InputTag -- Finished
|
|
75
|
-
- [x] DisplayItem -- Finished
|
|
76
|
-
- [x] FormItem -- Finished
|
|
77
|
-
- [x] Sidebar -- Finished
|
|
78
|
-
- [x] Breadcrumb -- Finished
|
|
79
|
-
- [x] Header -- Finished
|
|
80
|
-
|
|
81
|
-
## shortcoming
|
|
82
|
-
|
|
83
|
-
plus-pro-components is a Vue and element plus based component library that provides many commonly used UI and business components, making it easy for developers to quickly build front-end pages. Although plus-pro components have many advantages, they also have the following drawbacks:
|
|
84
|
-
|
|
85
|
-
- Higher learning costs:plus-pro-components is relatively complex, and learning all components may take a long time. Therefore, for novice developers, the learning cost may be relatively high.
|
|
86
|
-
|
|
87
|
-
- Highly customizable limited: plus-pro-components support high customizability, but it is still impossible to guarantee 100% complete customization of the components. Projects with very high customization requirements should be used with caution.
|
|
88
|
-
|
|
89
|
-
## 🖥 Browser Compatibility
|
|
90
|
-
|
|
91
|
-
- modern browser
|
|
92
|
-
|
|
93
|
-
| [](http://godban.github.io/browsers-support-badges/) | [](http://godban.github.io/browsers-support-badges/) | [](http://godban.github.io/browsers-support-badges/) | [](http://godban.github.io/browsers-support-badges/) |
|
|
94
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
95
|
-
| Edge | last 2 versions | last 2 versions | last 2 versions |
|
|
96
|
-
|
|
97
|
-
## Contribution
|
|
98
|
-
|
|
99
|
-
Please make sure to read the [Contributing Guide](https://plus-pro-components.github.io/guide/contribution.html) and [Local Development Guidelines](https://plus-pro-components.github.io/guide/dev.html) before making a pull request.
|
|
100
|
-
|
|
101
|
-
Thank you to all the people who already contributed to plus-pro-components!
|
|
102
|
-
|
|
103
|
-
<a href="https://github.com/plus-pro-components/plus-pro-components/graphs/contributors"><img src="https://opencollective.com/plus-pro-components/contributors.svg?width=890" /></a>
|
|
104
|
-
|
|
105
|
-
## Donate
|
|
106
|
-
|
|
107
|
-
If you find this project useful, you can buy author a glass of juice 🍹
|
|
108
|
-
|
|
109
|
-
| Wechat | Alipay |
|
|
110
|
-
| -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|
|
111
|
-
| <img src="https://plus-pro-components-1252186245.cos.ap-chengdu.myqcloud.com/wx.jpg" height="188" width="188"> | <img src="https://plus-pro-components-1252186245.cos.ap-chengdu.myqcloud.com/ali.jpg" height="188" width="188"> |
|
|
112
|
-
|
|
113
|
-
Thank you to all those who have made donations for the plus-pro-components! [Donation List](https://plus-pro-components.com/donate.html#%E6%8D%90%E8%B5%A0%E8%80%85%E5%90%8D%E5%8D%95)
|
|
114
|
-
|
|
115
|
-
## LICENSE
|
|
116
|
-
|
|
117
|
-
MIT
|
|
118
|
-
|
|
119
|
-
Copyright (c) 2023-present, xiaofei
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img width="180px" src="https://plus-pro-components.github.io/logo.png">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://www.npmjs.com/package/plus-pro-components">
|
|
7
|
+
<img src="https://img.shields.io/npm/v/plus-pro-components.svg?style=flat-square" />
|
|
8
|
+
</a>
|
|
9
|
+
<a href="https://vitepress.dev/">
|
|
10
|
+
<img src="https://img.shields.io/badge/docs%20by-vitepress-10b981" />
|
|
11
|
+
</a>
|
|
12
|
+
<a href="https://rollupjs.org/">
|
|
13
|
+
<img src="https://img.shields.io/badge/build%20with-rollup-646cff.svg" />
|
|
14
|
+
</a>
|
|
15
|
+
<a href="https://www.pnpm.cn/">
|
|
16
|
+
<img src="https://img.shields.io/badge/maintained%20with-pnpm-cc00ff.svg" />
|
|
17
|
+
</a>
|
|
18
|
+
<a href="https://element-plus.org/">
|
|
19
|
+
<img src="https://img.shields.io/badge/ui%20width-element%20plus-409eff.svg" />
|
|
20
|
+
</a>
|
|
21
|
+
<a href="https://npmcharts.com/compare/plus-pro-components?minimal=true">
|
|
22
|
+
<img src="https://img.shields.io/npm/dm/plus-pro-components" />
|
|
23
|
+
</a>
|
|
24
|
+
<br>
|
|
25
|
+
</p>
|
|
26
|
+
|
|
27
|
+
# plus-pro-components
|
|
28
|
+
|
|
29
|
+
**Frontend components at the page level**
|
|
30
|
+
|
|
31
|
+
**English** | [中文](https://github.com/plus-pro-components/plus-pro-components/blob/dev/README.zh-CN.md)
|
|
32
|
+
|
|
33
|
+
## Documentation
|
|
34
|
+
|
|
35
|
+
[Documentation](https://plus-pro-components.github.io/)| [国内镜像文档](https://plus-pro-components.com)
|
|
36
|
+
|
|
37
|
+
## Introduction
|
|
38
|
+
|
|
39
|
+
plus-pro-components is a page level component library based on Vue and element plus, which has the following advantages:
|
|
40
|
+
|
|
41
|
+
- Powerful function:plus-pro-components not only provide basic UI display functions, but also have complex data operations and business logic processing capabilities, which can quickly build powerful enterprise applications.
|
|
42
|
+
|
|
43
|
+
- Easy to use: plus-pro-components provide easy-to-use APIs and comprehensive documentation, allowing developers to quickly get started and use the components within them.
|
|
44
|
+
|
|
45
|
+
- Highly customizable: plus-pro-components support multiple configurations and style customization, which can meet the needs of different projects.
|
|
46
|
+
|
|
47
|
+
- Compatible with element plus: plus-pro-components are 100% compatible with components with the same name as element plus, including properties, events, methods, slots, and more.
|
|
48
|
+
|
|
49
|
+
- Rich component library: plus-pro-components provide a large number of UI components based on element plus, including tables, forms, layout, etc., which can meet the needs of most enterprise applications.
|
|
50
|
+
|
|
51
|
+
- Use TypeScript: plus-pro-components are fully written using TypeScript, seamlessly integrating with your TypeScript project.
|
|
52
|
+
|
|
53
|
+
- internationalization: provide complete internationalization, connecting with the element plus system, without the need for redundant configuration.
|
|
54
|
+
|
|
55
|
+
- Presets: plus-pro-components preset basic styles, which are in line with the element plus style. plus-pro-components preset basic behavior, with less code and more functionality.
|
|
56
|
+
|
|
57
|
+
# Advanced Component List
|
|
58
|
+
|
|
59
|
+
- [x] Table -- Finished
|
|
60
|
+
- [x] Search -- Finished
|
|
61
|
+
- [x] Page -- Finished
|
|
62
|
+
- [x] Form -- Finished
|
|
63
|
+
- [x] DialogForm -- Finished
|
|
64
|
+
- [x] DrawerForm -- Finished
|
|
65
|
+
- [x] Descriptions -- Finished
|
|
66
|
+
- [x] Layout -- Finished
|
|
67
|
+
|
|
68
|
+
# Built-in Components List
|
|
69
|
+
|
|
70
|
+
- [x] Dialog -- Finished
|
|
71
|
+
- [x] Pagination -- Finished
|
|
72
|
+
- [x] Radio -- Finished
|
|
73
|
+
- [x] DatePicker -- Finished
|
|
74
|
+
- [x] InputTag -- Finished
|
|
75
|
+
- [x] DisplayItem -- Finished
|
|
76
|
+
- [x] FormItem -- Finished
|
|
77
|
+
- [x] Sidebar -- Finished
|
|
78
|
+
- [x] Breadcrumb -- Finished
|
|
79
|
+
- [x] Header -- Finished
|
|
80
|
+
|
|
81
|
+
## shortcoming
|
|
82
|
+
|
|
83
|
+
plus-pro-components is a Vue and element plus based component library that provides many commonly used UI and business components, making it easy for developers to quickly build front-end pages. Although plus-pro components have many advantages, they also have the following drawbacks:
|
|
84
|
+
|
|
85
|
+
- Higher learning costs:plus-pro-components is relatively complex, and learning all components may take a long time. Therefore, for novice developers, the learning cost may be relatively high.
|
|
86
|
+
|
|
87
|
+
- Highly customizable limited: plus-pro-components support high customizability, but it is still impossible to guarantee 100% complete customization of the components. Projects with very high customization requirements should be used with caution.
|
|
88
|
+
|
|
89
|
+
## 🖥 Browser Compatibility
|
|
90
|
+
|
|
91
|
+
- modern browser
|
|
92
|
+
|
|
93
|
+
| [](http://godban.github.io/browsers-support-badges/) | [](http://godban.github.io/browsers-support-badges/) | [](http://godban.github.io/browsers-support-badges/) | [](http://godban.github.io/browsers-support-badges/) |
|
|
94
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
95
|
+
| Edge | last 2 versions | last 2 versions | last 2 versions |
|
|
96
|
+
|
|
97
|
+
## Contribution
|
|
98
|
+
|
|
99
|
+
Please make sure to read the [Contributing Guide](https://plus-pro-components.github.io/guide/contribution.html) and [Local Development Guidelines](https://plus-pro-components.github.io/guide/dev.html) before making a pull request.
|
|
100
|
+
|
|
101
|
+
Thank you to all the people who already contributed to plus-pro-components!
|
|
102
|
+
|
|
103
|
+
<a href="https://github.com/plus-pro-components/plus-pro-components/graphs/contributors"><img src="https://opencollective.com/plus-pro-components/contributors.svg?width=890" /></a>
|
|
104
|
+
|
|
105
|
+
## Donate
|
|
106
|
+
|
|
107
|
+
If you find this project useful, you can buy author a glass of juice 🍹
|
|
108
|
+
|
|
109
|
+
| Wechat | Alipay |
|
|
110
|
+
| -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|
|
111
|
+
| <img src="https://plus-pro-components-1252186245.cos.ap-chengdu.myqcloud.com/wx.jpg" height="188" width="188"> | <img src="https://plus-pro-components-1252186245.cos.ap-chengdu.myqcloud.com/ali.jpg" height="188" width="188"> |
|
|
112
|
+
|
|
113
|
+
Thank you to all those who have made donations for the plus-pro-components! [Donation List](https://plus-pro-components.com/donate.html#%E6%8D%90%E8%B5%A0%E8%80%85%E5%90%8D%E5%8D%95)
|
|
114
|
+
|
|
115
|
+
## LICENSE
|
|
116
|
+
|
|
117
|
+
MIT
|
|
118
|
+
|
|
119
|
+
Copyright (c) 2023-present, xiaofei
|
|
@@ -423,9 +423,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
423
423
|
fieldProps: PropsItemType<Partial<{
|
|
424
424
|
[key: string]: any;
|
|
425
425
|
style: CSSProperties;
|
|
426
|
-
rows: number;
|
|
427
|
-
* @version v0.1.18
|
|
428
|
-
*/
|
|
426
|
+
rows: number;
|
|
429
427
|
autocomplete: string;
|
|
430
428
|
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
431
429
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
@@ -499,9 +497,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
499
497
|
readonly fieldProps: PropsItemType<Partial<{
|
|
500
498
|
[key: string]: any;
|
|
501
499
|
style: CSSProperties;
|
|
502
|
-
rows: number;
|
|
503
|
-
* @version v0.1.18
|
|
504
|
-
*/
|
|
500
|
+
rows: number;
|
|
505
501
|
autocomplete: string;
|
|
506
502
|
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
507
503
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
@@ -19,20 +19,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
},
|
|
20
20
|
__name: "index",
|
|
21
21
|
props: {
|
|
22
|
-
modelValue: { default: "" },
|
|
23
|
-
hasLabel: { default: true },
|
|
22
|
+
modelValue: { type: [String, Number, Boolean, null, Date, Array, Object], default: "" },
|
|
23
|
+
hasLabel: { type: [Boolean, Object], default: true },
|
|
24
24
|
label: { default: "" },
|
|
25
25
|
prop: {},
|
|
26
26
|
fieldProps: { default: () => ({}) },
|
|
27
27
|
valueType: { default: void 0 },
|
|
28
28
|
options: { default: () => [] },
|
|
29
29
|
formItemProps: { default: () => ({}) },
|
|
30
|
-
renderField: { default: void 0 },
|
|
31
|
-
renderLabel: { default: void 0 },
|
|
30
|
+
renderField: { type: Function, default: void 0 },
|
|
31
|
+
renderLabel: { type: Function, default: void 0 },
|
|
32
32
|
tooltip: { default: "" },
|
|
33
33
|
fieldSlots: { default: () => ({}) },
|
|
34
|
-
fieldChildrenSlot: { default: void 0 },
|
|
35
|
-
renderErrorMessage: { default: void 0 },
|
|
34
|
+
fieldChildrenSlot: { type: Function, default: void 0 },
|
|
35
|
+
renderErrorMessage: { type: Function, default: void 0 },
|
|
36
36
|
optionsMap: { default: void 0 },
|
|
37
37
|
index: { default: 0 },
|
|
38
38
|
clearable: { type: Boolean, default: true }
|
|
@@ -1375,14 +1375,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1375
1375
|
}>;
|
|
1376
1376
|
readonly fieldProps: PropsItemType<Partial<{
|
|
1377
1377
|
[key: string]: any;
|
|
1378
|
-
style: CSSProperties;
|
|
1379
|
-
* 表格和搜索是否需要el-card 包裹 默认true
|
|
1380
|
-
*/
|
|
1378
|
+
style: CSSProperties;
|
|
1381
1379
|
rows: number;
|
|
1382
1380
|
autocomplete: string;
|
|
1383
1381
|
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1384
1382
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1385
|
-
step: string | number;
|
|
1383
|
+
step: string | number; /**
|
|
1384
|
+
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
1385
|
+
* @version v0.1.25
|
|
1386
|
+
* @default false
|
|
1387
|
+
*/
|
|
1386
1388
|
format: string | ProgressFn | undefined;
|
|
1387
1389
|
filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
|
|
1388
1390
|
id: string | [string, string];
|
|
@@ -1452,14 +1454,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1452
1454
|
}>;
|
|
1453
1455
|
readonly fieldProps: PropsItemType<Partial<{
|
|
1454
1456
|
[key: string]: any;
|
|
1455
|
-
style: CSSProperties;
|
|
1456
|
-
* 表格和搜索是否需要el-card 包裹 默认true
|
|
1457
|
-
*/
|
|
1457
|
+
style: CSSProperties;
|
|
1458
1458
|
rows: number;
|
|
1459
1459
|
autocomplete: string;
|
|
1460
1460
|
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1461
1461
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1462
|
-
step: string | number;
|
|
1462
|
+
step: string | number; /**
|
|
1463
|
+
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
1464
|
+
* @version v0.1.25
|
|
1465
|
+
* @default false
|
|
1466
|
+
*/
|
|
1463
1467
|
format: string | ProgressFn | undefined;
|
|
1464
1468
|
filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
|
|
1465
1469
|
id: string | [string, string];
|
|
@@ -2680,14 +2684,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2680
2684
|
}>;
|
|
2681
2685
|
readonly fieldProps: PropsItemType<Partial<{
|
|
2682
2686
|
[key: string]: any;
|
|
2683
|
-
style: CSSProperties;
|
|
2684
|
-
* 表格和搜索是否需要el-card 包裹 默认true
|
|
2685
|
-
*/
|
|
2687
|
+
style: CSSProperties;
|
|
2686
2688
|
rows: number;
|
|
2687
2689
|
autocomplete: string;
|
|
2688
2690
|
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2689
2691
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2690
|
-
step: string | number;
|
|
2692
|
+
step: string | number; /**
|
|
2693
|
+
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
2694
|
+
* @version v0.1.25
|
|
2695
|
+
* @default false
|
|
2696
|
+
*/
|
|
2691
2697
|
format: string | ProgressFn | undefined;
|
|
2692
2698
|
filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
|
|
2693
2699
|
id: string | [string, string];
|
|
@@ -2757,14 +2763,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2757
2763
|
}>;
|
|
2758
2764
|
readonly fieldProps: PropsItemType<Partial<{
|
|
2759
2765
|
[key: string]: any;
|
|
2760
|
-
style: CSSProperties;
|
|
2761
|
-
* 表格和搜索是否需要el-card 包裹 默认true
|
|
2762
|
-
*/
|
|
2766
|
+
style: CSSProperties;
|
|
2763
2767
|
rows: number;
|
|
2764
2768
|
autocomplete: string;
|
|
2765
2769
|
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2766
2770
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2767
|
-
step: string | number;
|
|
2771
|
+
step: string | number; /**
|
|
2772
|
+
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
2773
|
+
* @version v0.1.25
|
|
2774
|
+
* @default false
|
|
2775
|
+
*/
|
|
2768
2776
|
format: string | ProgressFn | undefined;
|
|
2769
2777
|
filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
|
|
2770
2778
|
id: string | [string, string];
|
|
@@ -2852,14 +2860,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2852
2860
|
}>;
|
|
2853
2861
|
readonly fieldProps: PropsItemType<Partial<{
|
|
2854
2862
|
[key: string]: any;
|
|
2855
|
-
style: CSSProperties;
|
|
2856
|
-
* 表格和搜索是否需要el-card 包裹 默认true
|
|
2857
|
-
*/
|
|
2863
|
+
style: CSSProperties;
|
|
2858
2864
|
rows: number;
|
|
2859
2865
|
autocomplete: string;
|
|
2860
2866
|
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2861
2867
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2862
|
-
step: string | number;
|
|
2868
|
+
step: string | number; /**
|
|
2869
|
+
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
2870
|
+
* @version v0.1.25
|
|
2871
|
+
* @default false
|
|
2872
|
+
*/
|
|
2863
2873
|
format: string | ProgressFn | undefined;
|
|
2864
2874
|
filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
|
|
2865
2875
|
id: string | [string, string];
|
|
@@ -2947,7 +2957,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2947
2957
|
actionBar: false | Partial< ActionBarProps>;
|
|
2948
2958
|
hasIndexColumn: boolean;
|
|
2949
2959
|
titleBar: boolean | Partial<Partial<{
|
|
2950
|
-
title?: string | undefined;
|
|
2960
|
+
title?: string | undefined; /**
|
|
2961
|
+
* TODO: 将会在v0.2.0中移除
|
|
2962
|
+
*/
|
|
2951
2963
|
refresh?: boolean | undefined;
|
|
2952
2964
|
density?: boolean | undefined;
|
|
2953
2965
|
columnSetting?: boolean | ColumnSetting | undefined;
|
|
@@ -2991,7 +3003,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2991
3003
|
readonly actionBar: false | Partial< ActionBarProps>;
|
|
2992
3004
|
readonly hasIndexColumn: boolean;
|
|
2993
3005
|
readonly titleBar: boolean | Partial<Partial<{
|
|
2994
|
-
title?: string | undefined;
|
|
3006
|
+
title?: string | undefined; /**
|
|
3007
|
+
* TODO: 将会在v0.2.0中移除
|
|
3008
|
+
*/
|
|
2995
3009
|
refresh?: boolean | undefined;
|
|
2996
3010
|
density?: boolean | undefined;
|
|
2997
3011
|
columnSetting?: boolean | ColumnSetting | undefined;
|
|
@@ -3084,7 +3098,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3084
3098
|
};
|
|
3085
3099
|
titleBar: {
|
|
3086
3100
|
type: PropType<boolean | Partial<Partial<{
|
|
3087
|
-
title?: string | undefined;
|
|
3101
|
+
title?: string | undefined; /**
|
|
3102
|
+
* TODO: 将会在v0.2.0中移除
|
|
3103
|
+
*/
|
|
3088
3104
|
refresh?: boolean | undefined;
|
|
3089
3105
|
density?: boolean | undefined;
|
|
3090
3106
|
columnSetting?: boolean | ColumnSetting | undefined;
|
|
@@ -3244,7 +3260,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3244
3260
|
};
|
|
3245
3261
|
titleBar: {
|
|
3246
3262
|
type: PropType<boolean | Partial<Partial<{
|
|
3247
|
-
title?: string | undefined;
|
|
3263
|
+
title?: string | undefined; /**
|
|
3264
|
+
* TODO: 将会在v0.2.0中移除
|
|
3265
|
+
*/
|
|
3248
3266
|
refresh?: boolean | undefined;
|
|
3249
3267
|
density?: boolean | undefined;
|
|
3250
3268
|
columnSetting?: boolean | ColumnSetting | undefined;
|
|
@@ -3917,7 +3935,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3917
3935
|
actionBar: false | Partial< ActionBarProps>;
|
|
3918
3936
|
hasIndexColumn: boolean;
|
|
3919
3937
|
titleBar: boolean | Partial<Partial<{
|
|
3920
|
-
title?: string | undefined;
|
|
3938
|
+
title?: string | undefined; /**
|
|
3939
|
+
* TODO: 将会在v0.2.0中移除
|
|
3940
|
+
*/
|
|
3921
3941
|
refresh?: boolean | undefined;
|
|
3922
3942
|
density?: boolean | undefined;
|
|
3923
3943
|
columnSetting?: boolean | ColumnSetting | undefined;
|
|
@@ -4017,7 +4037,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4017
4037
|
};
|
|
4018
4038
|
titleBar: {
|
|
4019
4039
|
type: PropType<boolean | Partial<Partial<{
|
|
4020
|
-
title?: string | undefined;
|
|
4040
|
+
title?: string | undefined; /**
|
|
4041
|
+
* TODO: 将会在v0.2.0中移除
|
|
4042
|
+
*/
|
|
4021
4043
|
refresh?: boolean | undefined;
|
|
4022
4044
|
density?: boolean | undefined;
|
|
4023
4045
|
columnSetting?: boolean | ColumnSetting | undefined;
|
|
@@ -4770,14 +4792,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4770
4792
|
}>;
|
|
4771
4793
|
readonly fieldProps: PropsItemType<Partial<{
|
|
4772
4794
|
[key: string]: any;
|
|
4773
|
-
style: CSSProperties;
|
|
4774
|
-
* 表格和搜索是否需要el-card 包裹 默认true
|
|
4775
|
-
*/
|
|
4795
|
+
style: CSSProperties;
|
|
4776
4796
|
rows: number;
|
|
4777
4797
|
autocomplete: string;
|
|
4778
4798
|
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
4779
4799
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4780
|
-
step: string | number;
|
|
4800
|
+
step: string | number; /**
|
|
4801
|
+
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
4802
|
+
* @version v0.1.25
|
|
4803
|
+
* @default false
|
|
4804
|
+
*/
|
|
4781
4805
|
format: string | ProgressFn | undefined;
|
|
4782
4806
|
filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
|
|
4783
4807
|
id: string | [string, string];
|
|
@@ -223,7 +223,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
223
223
|
class: "plus-page__table_wrapper"
|
|
224
224
|
}, {
|
|
225
225
|
default: withCtx(() => {
|
|
226
|
-
var _a2, _b;
|
|
226
|
+
var _a2, _b, _c, _d;
|
|
227
227
|
return [
|
|
228
228
|
createVNode(unref(PlusTable), mergeProps({
|
|
229
229
|
ref_key: "plusTableInstance",
|
|
@@ -231,6 +231,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
231
231
|
"title-bar": { refresh: true }
|
|
232
232
|
}, _ctx.table, {
|
|
233
233
|
adaptive: (_b = (_a2 = _ctx.table) == null ? void 0 : _a2.adaptive) != null ? _b : true,
|
|
234
|
+
stripe: (_d = (_c = _ctx.table) == null ? void 0 : _c.stripe) != null ? _d : true,
|
|
234
235
|
"table-data": unref(tableData),
|
|
235
236
|
"loading-status": unref(loadingStatus),
|
|
236
237
|
columns: processedColumns.value,
|
|
@@ -289,7 +290,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
289
290
|
])
|
|
290
291
|
};
|
|
291
292
|
})
|
|
292
|
-
]), 1040, ["adaptive", "table-data", "loading-status", "columns", "pagination"])
|
|
293
|
+
]), 1040, ["adaptive", "stripe", "table-data", "loading-status", "columns", "pagination"])
|
|
293
294
|
];
|
|
294
295
|
}),
|
|
295
296
|
_: 3
|
|
@@ -13,7 +13,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
options: { default: () => [] },
|
|
14
14
|
isCancel: { type: Boolean, default: true },
|
|
15
15
|
fieldSlots: { default: void 0 },
|
|
16
|
-
fieldChildrenSlot: { default: void 0 }
|
|
16
|
+
fieldChildrenSlot: { type: Function, default: void 0 }
|
|
17
17
|
},
|
|
18
18
|
emits: ["change", "update:modelValue"],
|
|
19
19
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -9,7 +9,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: {
|
|
11
11
|
renderType: { default: void 0 },
|
|
12
|
-
callbackValue: { default: "" },
|
|
12
|
+
callbackValue: { type: [String, Number, Boolean, null, Date, Array, Object], default: "" },
|
|
13
13
|
customFieldProps: { default: () => ({}) },
|
|
14
14
|
render: {},
|
|
15
15
|
params: { default: () => ({}) },
|