@dinert/element-plus 1.0.6 → 1.0.8
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/dist/element-plus.umd.js +1 -1
- package/dist/element-plus.umd.js.map +1 -1
- package/es/packages/components/form/index.mjs +6 -6
- package/es/packages/components/form/index.mjs.map +1 -1
- package/es/packages/components/index.mjs +8 -8
- package/es/packages/components/table/index.mjs +6 -6
- package/es/packages/components/table/index.mjs.map +1 -1
- package/es/packages/components/table-page/index.mjs +7 -7
- package/es/packages/components/table-page/index.mjs.map +1 -1
- package/es/packages/components/table-page/src/index.mjs +2 -2
- package/es/packages/components/tooltip/index.mjs +5 -5
- package/es/packages/components/tooltip/index.mjs.map +1 -1
- package/es/packages/index.mjs +15 -15
- package/es/src/components/form/index.d.ts +2 -2
- package/es/src/components/form/types/index.d.ts +1 -1
- package/es/src/components/table/index.d.ts +2 -2
- package/es/src/components/tooltip/index.d.ts +2 -2
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/src/components/form/index.d.ts +2 -2
- package/lib/src/components/form/types/index.d.ts +1 -1
- package/lib/src/components/table/index.d.ts +2 -2
- package/lib/src/components/tooltip/index.d.ts +2 -2
- package/package.json +89 -88
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Plugin } from 'vue';
|
|
2
2
|
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const DinertForm: SFCWithInstall<import("vue").DefineComponent<{
|
|
4
4
|
form: {
|
|
5
5
|
type: import("vue").PropType<import("./types").RewriteFormProps<any>>;
|
|
6
6
|
default: () => {};
|
|
@@ -313,4 +313,4 @@ export declare const Form: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
313
313
|
form: import("./types").RewriteFormProps<any>;
|
|
314
314
|
search: boolean;
|
|
315
315
|
}, {}>>;
|
|
316
|
-
export default
|
|
316
|
+
export default DinertForm;
|
|
@@ -3,7 +3,7 @@ import { SelectProps } from 'element-plus/es/components/select-v2/src/defaults';
|
|
|
3
3
|
type RewriteColProps = Partial<ColProps>;
|
|
4
4
|
type RewriteRowProps = Partial<RowProps>;
|
|
5
5
|
type TypeName = 'input' | 'select' | 'textarea' | 'input-autocomplete' | 'input-number' | 'switch' | 'datetime' | 'date' | 'week' | 'month' | 'year' | 'datetimerange' | 'daterange' | 'monthrange' | 'custom' | 'radio' | 'tree-select' | 'radio-button' | 'rate' | 'checkbox' | 'cascader';
|
|
6
|
-
export interface RewriteFormItemProps<T = any[]> extends Partial<InputProps & InputNumberProps & Omit<typeof SelectProps, 'options' | 'props'> & Omit<typeof ElTreeSelect, 'options' | 'data'> & AutocompleteProps & SwitchProps & DatePickerProps & RateProps & CheckboxGroupProps> {
|
|
6
|
+
export interface RewriteFormItemProps<T = any[]> extends Partial<InputProps & InputNumberProps & Omit<typeof SelectProps, 'options' | 'props' | 'valueKey'> & Omit<typeof ElTreeSelect, 'options' | 'data'> & AutocompleteProps & SwitchProps & DatePickerProps & RateProps & CheckboxGroupProps> {
|
|
7
7
|
data?: T | Partial<CheckboxProps[] & SelectOptionProxy[]>;
|
|
8
8
|
options?: T | Partial<CheckboxProps[] & SelectOptionProxy[]>;
|
|
9
9
|
props?: Partial<CascaderProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
2
|
import type { Plugin } from 'vue';
|
|
3
3
|
type SFCWithInstall<T> = T & Plugin;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const DinertTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
5
5
|
table: {
|
|
6
6
|
type: import("vue").PropType<import("./types").RewriteTableProps<any>>;
|
|
7
7
|
};
|
|
@@ -25318,4 +25318,4 @@ export declare const Table: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
25318
25318
|
header: boolean;
|
|
25319
25319
|
tableSlot: boolean;
|
|
25320
25320
|
}, {}>>;
|
|
25321
|
-
export default
|
|
25321
|
+
export default DinertTable;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Plugin } from 'vue';
|
|
2
2
|
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const DinertTooltip: SFCWithInstall<import("vue").DefineComponent<{
|
|
4
4
|
options: {
|
|
5
5
|
type: ObjectConstructor;
|
|
6
6
|
default: () => {};
|
|
@@ -57,4 +57,4 @@ export declare const Tooltip: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
57
57
|
} | undefined;
|
|
58
58
|
} | undefined;
|
|
59
59
|
}, {}>>;
|
|
60
|
-
export default
|
|
60
|
+
export default DinertTooltip;
|
package/package.json
CHANGED
|
@@ -1,92 +1,93 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"@dinert/element-plus",
|
|
15
|
-
"element-plus",
|
|
16
|
-
"@dinert"
|
|
17
|
-
],
|
|
18
|
-
"files": [
|
|
19
|
-
"dist",
|
|
20
|
-
"es",
|
|
21
|
-
"lib"
|
|
22
|
-
],
|
|
23
|
-
"main": "lib/index.js",
|
|
24
|
-
"module": "es/packages/index.mjs",
|
|
25
|
-
"types": "es/src/index.d.ts",
|
|
26
|
-
"exports": {
|
|
27
|
-
".": {
|
|
28
|
-
"types": "./es/src/index.d.ts",
|
|
29
|
-
"import": "./es/packages/index.mjs",
|
|
30
|
-
"require": "./lib/index.js"
|
|
2
|
+
"name": "@dinert/element-plus",
|
|
3
|
+
"version": "1.0.8",
|
|
4
|
+
"description": "基于vue3封装的element-plus包",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "vite",
|
|
7
|
+
"build": "vite build",
|
|
8
|
+
"prepare": "husky install",
|
|
9
|
+
"docs:dev": "vuepress dev docs --port 8060",
|
|
10
|
+
"docs:build": "vuepress build docs",
|
|
11
|
+
"deploy": "bash deploy.sh"
|
|
31
12
|
},
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"author": "dinert",
|
|
37
|
-
"license": "MIT",
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"@babel/core": "^7.23.2",
|
|
40
|
-
"@babel/eslint-parser": "^7.22.15",
|
|
41
|
-
"@babel/eslint-plugin": "^7.22.10",
|
|
42
|
-
"@babel/preset-typescript": "^7.23.3",
|
|
43
|
-
"@element-plus/icons-vue": "^2.1.0",
|
|
44
|
-
"@rollup/plugin-commonjs": "^25.0.7",
|
|
45
|
-
"@types/node": "^20.9.0",
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
|
47
|
-
"@typescript-eslint/parser": "^6.10.0",
|
|
48
|
-
"@vitejs/plugin-vue": "^4.4.0",
|
|
49
|
-
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
|
50
|
-
"@vue/runtime-core": "^3.3.8",
|
|
51
|
-
"@vuepress/client": "^2.0.0-rc.0",
|
|
52
|
-
"element-plus": "^2.4.2",
|
|
53
|
-
"eslint": "^8.53.0",
|
|
54
|
-
"eslint-plugin-vue": "^9.18.1",
|
|
55
|
-
"husky": "^8.0.3",
|
|
56
|
-
"lint-staged": "12.5.0",
|
|
57
|
-
"lodash": "^4.17.21",
|
|
58
|
-
"postcss": "^8.4.31",
|
|
59
|
-
"postcss-html": "^1.5.0",
|
|
60
|
-
"postcss-scss": "^4.0.9",
|
|
61
|
-
"sass": "^1.69.5",
|
|
62
|
-
"stylelint": "^15.11.0",
|
|
63
|
-
"stylelint-config-recommended-vue": "^1.5.0",
|
|
64
|
-
"stylelint-config-standard": "^34.0.0",
|
|
65
|
-
"stylelint-order": "^6.0.3",
|
|
66
|
-
"stylelint-scss": "^5.3.1",
|
|
67
|
-
"typescript": "^5.2.2",
|
|
68
|
-
"validate-commit-msg": "^2.14.0",
|
|
69
|
-
"vite": "^4.5.0",
|
|
70
|
-
"vite-plugin-dts": "^3.6.3",
|
|
71
|
-
"vue": "^3.3.8",
|
|
72
|
-
"vue-eslint-parser": "^9.3.2"
|
|
73
|
-
},
|
|
74
|
-
"lint-staged": {
|
|
75
|
-
"*.{tsx, ts}": [
|
|
76
|
-
"eslint --fix",
|
|
77
|
-
"git add"
|
|
13
|
+
"keywords": [
|
|
14
|
+
"@dinert/element-plus",
|
|
15
|
+
"element-plus",
|
|
16
|
+
"@dinert"
|
|
78
17
|
],
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"es",
|
|
21
|
+
"lib"
|
|
82
22
|
],
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
23
|
+
"main": "lib/index.js",
|
|
24
|
+
"module": "es/packages/index.mjs",
|
|
25
|
+
"browser": "dist/element-plus.umd.js",
|
|
26
|
+
"types": "es/src/index.d.ts",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./es/src/index.d.ts",
|
|
30
|
+
"import": "./es/packages/index.mjs",
|
|
31
|
+
"require": "./lib/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./style": {
|
|
34
|
+
"import": "./es/style.css"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"author": "dinert",
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@babel/core": "^7.23.2",
|
|
41
|
+
"@babel/eslint-parser": "^7.22.15",
|
|
42
|
+
"@babel/eslint-plugin": "^7.22.10",
|
|
43
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
44
|
+
"@element-plus/icons-vue": "^2.1.0",
|
|
45
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
46
|
+
"@types/node": "^20.9.0",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
|
48
|
+
"@typescript-eslint/parser": "^6.10.0",
|
|
49
|
+
"@vitejs/plugin-vue": "^4.4.0",
|
|
50
|
+
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
|
51
|
+
"@vue/runtime-core": "^3.3.8",
|
|
52
|
+
"@vuepress/client": "^2.0.0-rc.0",
|
|
53
|
+
"element-plus": "^2.4.2",
|
|
54
|
+
"eslint": "^8.53.0",
|
|
55
|
+
"eslint-plugin-vue": "^9.18.1",
|
|
56
|
+
"husky": "^8.0.3",
|
|
57
|
+
"lint-staged": "12.5.0",
|
|
58
|
+
"lodash": "^4.17.21",
|
|
59
|
+
"postcss": "^8.4.31",
|
|
60
|
+
"postcss-html": "^1.5.0",
|
|
61
|
+
"postcss-scss": "^4.0.9",
|
|
62
|
+
"sass": "^1.69.5",
|
|
63
|
+
"stylelint": "^15.11.0",
|
|
64
|
+
"stylelint-config-recommended-vue": "^1.5.0",
|
|
65
|
+
"stylelint-config-standard": "^34.0.0",
|
|
66
|
+
"stylelint-order": "^6.0.3",
|
|
67
|
+
"stylelint-scss": "^5.3.1",
|
|
68
|
+
"typescript": "^5.2.2",
|
|
69
|
+
"validate-commit-msg": "^2.14.0",
|
|
70
|
+
"vite": "^4.5.0",
|
|
71
|
+
"vite-plugin-dts": "^3.6.3",
|
|
72
|
+
"vue": "^3.3.8",
|
|
73
|
+
"vue-eslint-parser": "^9.3.2"
|
|
74
|
+
},
|
|
75
|
+
"lint-staged": {
|
|
76
|
+
"*.{tsx, ts}": [
|
|
77
|
+
"eslint --fix",
|
|
78
|
+
"git add"
|
|
79
|
+
],
|
|
80
|
+
"*.{css,scss,sass}": [
|
|
81
|
+
"stylelint --fix",
|
|
82
|
+
"git add"
|
|
83
|
+
],
|
|
84
|
+
"*.{html,vue}": [
|
|
85
|
+
"eslint --fix",
|
|
86
|
+
"stylelint --fix",
|
|
87
|
+
"git add"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"dependencies": {
|
|
91
|
+
"vuepress": "^2.0.0-rc.0"
|
|
92
|
+
}
|
|
93
|
+
}
|