@pungfe/element 0.6.6 → 0.6.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/advance-BkjMiFIF.cjs +1 -0
- package/dist/advance-CeuQa3QF.js +2079 -0
- package/dist/advance.cjs +1 -0
- package/dist/advance.d.ts +25 -0
- package/dist/advance.js +2 -0
- package/dist/basic-CHngH3v0.js +1051 -0
- package/dist/basic-QaGJh7c5.cjs +1 -0
- package/dist/basic.cjs +1 -0
- package/dist/basic.d.ts +33 -0
- package/dist/basic.js +2 -0
- package/dist/components/advance/XButtonAsync.vue.d.ts +17 -0
- package/dist/components/advance/XButtonConfirm.vue.d.ts +23 -0
- package/dist/components/advance/XCascaderRequest.vue.d.ts +60 -0
- package/dist/components/advance/XFormFlex.vue.d.ts +23 -0
- package/dist/components/advance/XFormRequest.vue.d.ts +58 -0
- package/dist/components/advance/XRequest.vue.d.ts +71 -0
- package/dist/components/advance/XSelectRequest.vue.d.ts +58 -0
- package/dist/components/advance/XTableConfig.vue.d.ts +54 -0
- package/dist/components/advance/XTableFlex.vue.d.ts +65 -0
- package/dist/components/advance/XTableRequest.vue.d.ts +103 -0
- package/dist/components/advance/XTableRequestConfig.vue.d.ts +91 -0
- package/dist/components/advance/XUploadOss.vue.d.ts +31 -0
- package/dist/components/basic/Button.vue.d.ts +33 -0
- package/dist/components/basic/Cascader.vue.d.ts +40 -0
- package/dist/components/basic/Checkbox.vue.d.ts +24 -0
- package/dist/components/basic/ConfigProvider.vue.d.ts +17 -0
- package/dist/components/basic/DatePicker.vue.d.ts +43 -0
- package/dist/components/basic/Dialog.vue.d.ts +36 -0
- package/dist/components/basic/Form.vue.d.ts +37 -0
- package/dist/components/basic/FormItem.vue.d.ts +36 -0
- package/dist/components/basic/Input.vue.d.ts +44 -0
- package/dist/components/basic/InputNumber.vue.d.ts +41 -0
- package/dist/components/basic/Pagination.vue.d.ts +41 -0
- package/dist/components/basic/Select.vue.d.ts +57 -0
- package/dist/components/basic/TabPane.vue.d.ts +28 -0
- package/dist/components/basic/Table.vue.d.ts +125 -0
- package/dist/components/basic/Tabs.vue.d.ts +41 -0
- package/dist/components/basic/Upload.vue.d.ts +34 -0
- package/dist/composables/useElementConfig.d.ts +8 -0
- package/dist/composables/useFormValidation.d.ts +1 -0
- package/dist/composables/useXConfig.d.ts +3 -0
- package/dist/constants/index.d.ts +18 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +36 -0
- package/dist/install.d.ts +12 -0
- package/dist/locales/ar.d.ts +2 -0
- package/dist/locales/en.d.ts +2 -0
- package/dist/locales/th.d.ts +2 -0
- package/dist/locales/zh-cn.d.ts +2 -0
- package/dist/locales-BCty7For.cjs +1 -0
- package/dist/locales-C7JFCxgs.js +865 -0
- package/dist/locales.cjs +1 -0
- package/dist/locales.d.ts +4 -0
- package/dist/locales.js +2 -0
- package/dist/package.json.d.ts +142 -0
- package/dist/resolver.cjs +1 -0
- package/dist/resolver.d.ts +5 -0
- package/dist/resolver.js +66 -0
- package/dist/style.css +3 -0
- package/dist/types.d.ts +32 -0
- package/package.json +6 -10
package/dist/locales.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./locales-BCty7For.cjs");exports.ar=e.i,exports.en=e.r,exports.th=e.n,exports.zhCn=e.t;
|
package/dist/locales.js
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"name": "@pungfe/element",
|
|
3
|
+
"version": "0.6.8",
|
|
4
|
+
"description": "Element Plus Components",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Element",
|
|
7
|
+
"Element Plus",
|
|
8
|
+
"vue"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/pungfen/element#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/pungfen/element/issues"
|
|
13
|
+
},
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "pungfeng <fp94214@gmail.com>",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/pungfen/element.git"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"package.json"
|
|
23
|
+
],
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "./dist/index.cjs",
|
|
26
|
+
"module": "./dist/index.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"import": "./dist/index.js",
|
|
32
|
+
"require": "./dist/index.cjs"
|
|
33
|
+
},
|
|
34
|
+
"./advance": {
|
|
35
|
+
"types": "./dist/advance.d.ts",
|
|
36
|
+
"import": "./dist/advance.js",
|
|
37
|
+
"require": "./dist/advance.cjs"
|
|
38
|
+
},
|
|
39
|
+
"./basic": {
|
|
40
|
+
"types": "./dist/basic.d.ts",
|
|
41
|
+
"import": "./dist/basic.js",
|
|
42
|
+
"require": "./dist/basic.cjs"
|
|
43
|
+
},
|
|
44
|
+
"./locales": {
|
|
45
|
+
"types": "./dist/locales.d.ts",
|
|
46
|
+
"import": "./dist/locales.js",
|
|
47
|
+
"require": "./dist/locales.cjs"
|
|
48
|
+
},
|
|
49
|
+
"./resolver": {
|
|
50
|
+
"types": "./dist/resolver.d.ts",
|
|
51
|
+
"import": "./dist/resolver.js",
|
|
52
|
+
"require": "./dist/resolver.cjs"
|
|
53
|
+
},
|
|
54
|
+
"./style.css": {
|
|
55
|
+
"import": "./dist/style.css",
|
|
56
|
+
"require": "./dist/style.css"
|
|
57
|
+
},
|
|
58
|
+
"./package.json": "./package.json"
|
|
59
|
+
},
|
|
60
|
+
"packageManager": "pnpm@11.6.0",
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"scripts": {
|
|
65
|
+
"dev": "pnpm -C __play__ dev",
|
|
66
|
+
"build": "vite build",
|
|
67
|
+
"build:dev": "vite build --mode staging",
|
|
68
|
+
"test": "vitest",
|
|
69
|
+
"lint": "eslint",
|
|
70
|
+
"lint:fix": "eslint --fix",
|
|
71
|
+
"typecheck": "vue-tsc -p tsconfig.src.json --noEmit",
|
|
72
|
+
"commit": "git-cz",
|
|
73
|
+
"prepare": "simple-git-hooks"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@element-plus/icons-vue": "^2.3.2",
|
|
77
|
+
"@vueuse/core": "^14.3.0",
|
|
78
|
+
"@vueuse/integrations": "^14.3.0",
|
|
79
|
+
"element-plus": "catalog:",
|
|
80
|
+
"sortablejs": "^1.15.7",
|
|
81
|
+
"vue": "catalog:"
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@changesets/cli": "^2.31.0",
|
|
85
|
+
"@commitlint/cli": "^21.1.0",
|
|
86
|
+
"@commitlint/config-conventional": "^21.1.0",
|
|
87
|
+
"@commitlint/cz-commitlint": "^21.1.0",
|
|
88
|
+
"@eslint/json": "^2.0.0",
|
|
89
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
90
|
+
"@tailwindcss/vite": "catalog:",
|
|
91
|
+
"@types/node": "^26.0.1",
|
|
92
|
+
"@types/sortablejs": "^1.15.9",
|
|
93
|
+
"@vitejs/plugin-vue": "catalog:",
|
|
94
|
+
"@vitejs/plugin-vue-jsx": "catalog:",
|
|
95
|
+
"@vitest/eslint-plugin": "^1.6.20",
|
|
96
|
+
"@vue/eslint-config-typescript": "^14.9.0",
|
|
97
|
+
"@vue/test-utils": "^2.4.11",
|
|
98
|
+
"eslint": "catalog:",
|
|
99
|
+
"eslint-plugin-perfectionist": "^5.9.1",
|
|
100
|
+
"eslint-plugin-vue": "^10.9.2",
|
|
101
|
+
"fast-glob": "^3.3.3",
|
|
102
|
+
"happy-dom": "catalog:",
|
|
103
|
+
"jsdom": "^29.1.1",
|
|
104
|
+
"lint-staged": "^17.0.8",
|
|
105
|
+
"simple-git-hooks": "^2.13.1",
|
|
106
|
+
"tailwindcss": "catalog:",
|
|
107
|
+
"typescript": "catalog:",
|
|
108
|
+
"typescript-eslint": "^8.62.0",
|
|
109
|
+
"unplugin-dts": "catalog:",
|
|
110
|
+
"unplugin-vue": "^7.2.0",
|
|
111
|
+
"unplugin-vue-components": "^32.1.0",
|
|
112
|
+
"vite": "catalog:",
|
|
113
|
+
"vitest": "catalog:",
|
|
114
|
+
"vue-component-type-helpers": "catalog:",
|
|
115
|
+
"vue-eslint-parser": "^10.4.1",
|
|
116
|
+
"vue-tsc": "catalog:"
|
|
117
|
+
},
|
|
118
|
+
"peerDependencies": {
|
|
119
|
+
"element-plus": "catalog:",
|
|
120
|
+
"vue": "catalog:"
|
|
121
|
+
},
|
|
122
|
+
"simple-git-hooks": {
|
|
123
|
+
"pre-commit": "pnpx lint-staged",
|
|
124
|
+
"commit-msg": "pnpm commitlint --edit \"$1\""
|
|
125
|
+
},
|
|
126
|
+
"lint-staged": {
|
|
127
|
+
"*": "eslint --fix"
|
|
128
|
+
},
|
|
129
|
+
"commitlint": {
|
|
130
|
+
"extends": [
|
|
131
|
+
"@commitlint/config-conventional"
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
"config": {
|
|
135
|
+
"commitizen": {
|
|
136
|
+
"path": "@commitlint/cz-commitlint"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
;
|
|
141
|
+
|
|
142
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var e=[`element-plus/es/components/base/style/css`],t={XButton:[...e,`element-plus/es/components/button/style/css`],XButtonPopconfirm:[...e,`element-plus/es/components/button/style/css`,`element-plus/es/components/popconfirm/style/css`],XCascader:[...e,`element-plus/es/components/cascader/style/css`],XCheckbox:[...e,`element-plus/es/components/checkbox/style/css`],XConfigProvider:[],XDatePicker:[...e,`element-plus/es/components/date-picker/style/css`,`element-plus/es/components/date-picker-panel/style/css`],XDialog:[...e,`element-plus/es/components/dialog/style/css`],XForm:[...e,`element-plus/es/components/form/style/css`],XFormItem:[...e,`element-plus/es/components/form-item/style/css`],XInput:[...e,`element-plus/es/components/input/style/css`],XInputNumber:[...e,`element-plus/es/components/input-number/style/css`],XPagination:[...e,`element-plus/es/components/pagination/style/css`],XSelect:[...e,`element-plus/es/components/select/style/css`],XTable:[...e,`element-plus/es/components/table/style/css`,`element-plus/es/components/table-column/style/css`],XTabPane:[...e,`element-plus/es/components/tab-pane/style/css`],XTabs:[...e,`element-plus/es/components/tabs/style/css`],XUpload:[...e,`element-plus/es/components/upload/style/css`]},n={XButtonAsync:[...t.XButton],XButtonConfirm:[...t.XButton],XCascaderRequest:[...t.XCascader],XFormFlex:[...t.XForm],XFormRequest:[...t.XForm],XRequest:[],XSelectRequest:[...t.XSelect],XTableConfig:[...t.XSelect],XTableFlex:[...t.XTable],XTableRequest:[...t.XTable,...t.XPagination],XTableRequestConfig:[...t.XTable,...t.XPagination,...t.XForm,...t.XFormItem],XUploadOss:[...t.XUpload]},r=e=>[{resolve:r=>{if(r in t)return{from:`@pungfe/element/basic`,name:r,sideEffects:t[r]};if(e?.advance&&r in n)return{from:`@pungfe/element/advance`,name:r,sideEffects:n[r]}},type:`component`}];exports.default=r;
|
package/dist/resolver.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
//#region src/resolver.ts
|
|
2
|
+
var e = ["element-plus/es/components/base/style/css"], t = {
|
|
3
|
+
XButton: [...e, "element-plus/es/components/button/style/css"],
|
|
4
|
+
XButtonPopconfirm: [
|
|
5
|
+
...e,
|
|
6
|
+
"element-plus/es/components/button/style/css",
|
|
7
|
+
"element-plus/es/components/popconfirm/style/css"
|
|
8
|
+
],
|
|
9
|
+
XCascader: [...e, "element-plus/es/components/cascader/style/css"],
|
|
10
|
+
XCheckbox: [...e, "element-plus/es/components/checkbox/style/css"],
|
|
11
|
+
XConfigProvider: [],
|
|
12
|
+
XDatePicker: [
|
|
13
|
+
...e,
|
|
14
|
+
"element-plus/es/components/date-picker/style/css",
|
|
15
|
+
"element-plus/es/components/date-picker-panel/style/css"
|
|
16
|
+
],
|
|
17
|
+
XDialog: [...e, "element-plus/es/components/dialog/style/css"],
|
|
18
|
+
XForm: [...e, "element-plus/es/components/form/style/css"],
|
|
19
|
+
XFormItem: [...e, "element-plus/es/components/form-item/style/css"],
|
|
20
|
+
XInput: [...e, "element-plus/es/components/input/style/css"],
|
|
21
|
+
XInputNumber: [...e, "element-plus/es/components/input-number/style/css"],
|
|
22
|
+
XPagination: [...e, "element-plus/es/components/pagination/style/css"],
|
|
23
|
+
XSelect: [...e, "element-plus/es/components/select/style/css"],
|
|
24
|
+
XTable: [
|
|
25
|
+
...e,
|
|
26
|
+
"element-plus/es/components/table/style/css",
|
|
27
|
+
"element-plus/es/components/table-column/style/css"
|
|
28
|
+
],
|
|
29
|
+
XTabPane: [...e, "element-plus/es/components/tab-pane/style/css"],
|
|
30
|
+
XTabs: [...e, "element-plus/es/components/tabs/style/css"],
|
|
31
|
+
XUpload: [...e, "element-plus/es/components/upload/style/css"]
|
|
32
|
+
}, n = {
|
|
33
|
+
XButtonAsync: [...t.XButton],
|
|
34
|
+
XButtonConfirm: [...t.XButton],
|
|
35
|
+
XCascaderRequest: [...t.XCascader],
|
|
36
|
+
XFormFlex: [...t.XForm],
|
|
37
|
+
XFormRequest: [...t.XForm],
|
|
38
|
+
XRequest: [],
|
|
39
|
+
XSelectRequest: [...t.XSelect],
|
|
40
|
+
XTableConfig: [...t.XSelect],
|
|
41
|
+
XTableFlex: [...t.XTable],
|
|
42
|
+
XTableRequest: [...t.XTable, ...t.XPagination],
|
|
43
|
+
XTableRequestConfig: [
|
|
44
|
+
...t.XTable,
|
|
45
|
+
...t.XPagination,
|
|
46
|
+
...t.XForm,
|
|
47
|
+
...t.XFormItem
|
|
48
|
+
],
|
|
49
|
+
XUploadOss: [...t.XUpload]
|
|
50
|
+
}, r = (e) => [{
|
|
51
|
+
resolve: (r) => {
|
|
52
|
+
if (r in t) return {
|
|
53
|
+
from: "@pungfe/element/basic",
|
|
54
|
+
name: r,
|
|
55
|
+
sideEffects: t[r]
|
|
56
|
+
};
|
|
57
|
+
if (e?.advance && r in n) return {
|
|
58
|
+
from: "@pungfe/element/advance",
|
|
59
|
+
name: r,
|
|
60
|
+
sideEffects: n[r]
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
type: "component"
|
|
64
|
+
}];
|
|
65
|
+
//#endregion
|
|
66
|
+
export { r as default };
|
package/dist/style.css
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--spacing:.25rem;--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875)}}@layer base,components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-0{top:0}.right-0{right:0}.z-1000{z-index:1000}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline{display:inline}.table{display:table}.h-150{height:calc(var(--spacing) * 150)}.w-20\!{width:calc(var(--spacing) * 20)!important}.w-50{width:calc(var(--spacing) * 50)}.w-50\!{width:calc(var(--spacing) * 50)!important}.flex-1{flex:1}.cursor-grab{cursor:grab}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing) * 2)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-\[\#f2f6fc\]>:not(:last-child)){border-color:#f2f6fc}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.bg-\(--el-bg-color\){background-color:var(--el-bg-color)}.bg-\(--el-color-primary-light-7\){background-color:var(--el-color-primary-light-7)}.bg-\(--el-fill-color-darker\){background-color:var(--el-fill-color-darker)}.p-2{padding:calc(var(--spacing) * 2)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-2{padding-block:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-ellipsis{text-overflow:ellipsis}.text-\(--el-color-primary\){color:var(--el-color-primary)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-\(--el-border-color\){outline-color:var(--el-border-color)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}@media (width>=48rem){.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=64rem){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
|
|
3
|
+
/*$vite$:1*/
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { XButtonConfig, XDateConfig, XPaginationConfig, XTableConfig } from './basic';
|
|
2
|
+
export interface ElementConfig {
|
|
3
|
+
button?: XButtonConfig;
|
|
4
|
+
datePicker?: XDateConfig;
|
|
5
|
+
oss?: (() => OssInfo) | OssInfo;
|
|
6
|
+
pagination?: XPaginationConfig;
|
|
7
|
+
table?: XTableConfig;
|
|
8
|
+
}
|
|
9
|
+
export interface OssInfo {
|
|
10
|
+
accessId?: string;
|
|
11
|
+
accessKeyId?: string;
|
|
12
|
+
accessKeySecret?: string;
|
|
13
|
+
accessSecret?: string;
|
|
14
|
+
dir?: string;
|
|
15
|
+
expire?: number;
|
|
16
|
+
host?: string;
|
|
17
|
+
policy?: string;
|
|
18
|
+
signature?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface Paging {
|
|
21
|
+
itemCount: number;
|
|
22
|
+
pageIndex: number;
|
|
23
|
+
pageSize: number;
|
|
24
|
+
}
|
|
25
|
+
export interface TableColumnField {
|
|
26
|
+
code: string;
|
|
27
|
+
label?: string;
|
|
28
|
+
prop?: string;
|
|
29
|
+
search?: boolean;
|
|
30
|
+
visible?: boolean;
|
|
31
|
+
width?: number;
|
|
32
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pungfe/element",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.8",
|
|
4
4
|
"description": "Element Plus Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Element",
|
|
@@ -66,9 +66,10 @@
|
|
|
66
66
|
"@vueuse/integrations": "^14.3.0",
|
|
67
67
|
"element-plus": "~2.14.2",
|
|
68
68
|
"sortablejs": "^1.15.7",
|
|
69
|
-
"vue": "~3.5.
|
|
69
|
+
"vue": "~3.5.39"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
+
"@changesets/cli": "^2.31.0",
|
|
72
73
|
"@commitlint/cli": "^21.1.0",
|
|
73
74
|
"@commitlint/config-conventional": "^21.1.0",
|
|
74
75
|
"@commitlint/cz-commitlint": "^21.1.0",
|
|
@@ -82,10 +83,7 @@
|
|
|
82
83
|
"@vitest/eslint-plugin": "^1.6.20",
|
|
83
84
|
"@vue/eslint-config-typescript": "^14.9.0",
|
|
84
85
|
"@vue/test-utils": "^2.4.11",
|
|
85
|
-
"
|
|
86
|
-
"commitizen": "^4.3.2",
|
|
87
|
-
"conventional-changelog": "^7.2.1",
|
|
88
|
-
"eslint": "^10.5.0",
|
|
86
|
+
"eslint": "^10.6.0",
|
|
89
87
|
"eslint-plugin-perfectionist": "^5.9.1",
|
|
90
88
|
"eslint-plugin-vue": "^10.9.2",
|
|
91
89
|
"fast-glob": "^3.3.3",
|
|
@@ -107,7 +105,7 @@
|
|
|
107
105
|
},
|
|
108
106
|
"peerDependencies": {
|
|
109
107
|
"element-plus": "~2.14.2",
|
|
110
|
-
"vue": "~3.5.
|
|
108
|
+
"vue": "~3.5.39"
|
|
111
109
|
},
|
|
112
110
|
"simple-git-hooks": {
|
|
113
111
|
"pre-commit": "pnpx lint-staged",
|
|
@@ -133,9 +131,7 @@
|
|
|
133
131
|
"test": "vitest",
|
|
134
132
|
"lint": "eslint",
|
|
135
133
|
"lint:fix": "eslint --fix",
|
|
136
|
-
"changelog": "conventional-changelog -p angular",
|
|
137
|
-
"release": "pnpm build && bumpp --execute=\"pnpm changelog\"",
|
|
138
134
|
"typecheck": "vue-tsc -p tsconfig.src.json --noEmit",
|
|
139
|
-
"commit": "cz"
|
|
135
|
+
"commit": "git-cz"
|
|
140
136
|
}
|
|
141
137
|
}
|