@amaoaaaaa/search-table 0.1.0-beta.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/README.md +147 -0
- package/dist/ProTable/components/RenderFormatterResult.vue.d.ts +9 -0
- package/dist/ProTable/index.d.ts +2 -0
- package/dist/ProTable/index.vue.d.ts +1288 -0
- package/dist/ProTable/types.d.ts +157 -0
- package/dist/SearchTable/SelectionStore.d.ts +45 -0
- package/dist/SearchTable/index.vue.d.ts +3971 -0
- package/dist/SearchTable/types.d.ts +118 -0
- package/dist/SearchTable/useTableSort.d.ts +25 -0
- package/dist/hooks/useDelayedRef.d.ts +41 -0
- package/dist/index.d.ts +10 -0
- package/dist/search-table.js +2972 -0
- package/dist/style.css +1 -0
- package/dist/utils/parseErrorReason.d.ts +5 -0
- package/package.json +97 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.fixed{position:fixed}.\!m-0{margin:0!important}.-mx-3{margin-left:-.75rem;margin-right:-.75rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.mt-5{margin-top:1.25rem}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-\[23px\]{height:23px}.h-full{height:100%}.\!w-\[260px\]{width:260px!important}.w-\[150px\]{width:150px}.w-\[164px\]{width:164px}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-x-0{-moz-column-gap:0px;column-gap:0px}.gap-x-0\.5{-moz-column-gap:.125rem;column-gap:.125rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.overflow-hidden{overflow:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.border{border-width:1px}.border-t{border-top-width:1px}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-\[--el-color-primary\]{color:var(--el-color-primary)}.filter{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)}.duration-100{transition-duration:.1s}.hover\:text-\[--el-color-primary\]:hover{color:var(--el-color-primary)}[data-v-1031459e] .pro-table{--el-table-header-bg-color: #f7f8fa;--el-table-header-text-color: var(--el-text-color-regular);--el-table-text-color: var(--el-text-color-primary)}[data-v-1031459e] .pro-table thead th{font-weight:400}[data-v-f8fbbfde] .el-table .el-table-column--selection.el-table__cell{display:flex;align-items:center;justify-content:center}[data-v-f8fbbfde] .el-button>span{gap:0 4px}.el-pagination[data-v-f8fbbfde] .el-pagination__sizes .el-select{width:110px}
|
package/package.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@amaoaaaaa/search-table",
|
|
3
|
+
"version": "0.1.0-beta.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "基于 Element Plus 的搜索表格组件,支持分页、排序、筛选、跨页勾选等功能",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "amaoaaaaa",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"vue3",
|
|
10
|
+
"element-plus",
|
|
11
|
+
"table",
|
|
12
|
+
"search",
|
|
13
|
+
"pagination",
|
|
14
|
+
"component"
|
|
15
|
+
],
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"main": "./dist/search-table.js",
|
|
20
|
+
"module": "./dist/search-table.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"import": "./dist/search-table.js",
|
|
25
|
+
"types": "./dist/index.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./style.css": "./dist/style.css"
|
|
28
|
+
},
|
|
29
|
+
"sideEffects": [
|
|
30
|
+
"**/*.css"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"dev": "vite",
|
|
34
|
+
"lint:tsc": "vue-tsc -b",
|
|
35
|
+
"lint:eslint": "eslint .",
|
|
36
|
+
"lint:prettier": "prettier --check .",
|
|
37
|
+
"lint": "npm run lint:tsc && npm run lint:eslint && npm run lint:prettier",
|
|
38
|
+
"format": "prettier --write .",
|
|
39
|
+
"build": "vite build",
|
|
40
|
+
"build:demo": "vite build --mode demo",
|
|
41
|
+
"preview:demo": "vite preview --outDir demo-dist",
|
|
42
|
+
"prepublishOnly": "npm run build && nrm use npm && npm login",
|
|
43
|
+
"publish!": "npm publish --access public",
|
|
44
|
+
"publish!:patch": "npm run prepublishOnly && npm version patch && npm run publish!",
|
|
45
|
+
"publish!:minor": "npm run prepublishOnly && npm version minor && npm run publish!",
|
|
46
|
+
"publish!:major": "npm run prepublishOnly && npm version major && npm run publish!",
|
|
47
|
+
"prepare": "husky"
|
|
48
|
+
},
|
|
49
|
+
"lint-staged": {
|
|
50
|
+
"*.{ts,vue}": [
|
|
51
|
+
"eslint --fix",
|
|
52
|
+
"prettier --write"
|
|
53
|
+
],
|
|
54
|
+
"*.{js,json,css,scss,md,html}": [
|
|
55
|
+
"prettier --write"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"axios": "^1.7.0",
|
|
60
|
+
"element-plus": "^2.14.2",
|
|
61
|
+
"lodash-es": "^4.17.21",
|
|
62
|
+
"vue": "^3.4.0"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@eslint/js": "^9.27.0",
|
|
66
|
+
"@iconify-json/ri": "^1.2.5",
|
|
67
|
+
"@iconify-json/tabler": "^1.2.26",
|
|
68
|
+
"@types/lodash-es": "^4.17.12",
|
|
69
|
+
"@types/node": "^22.7.5",
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^8.61.1",
|
|
71
|
+
"@typescript-eslint/parser": "^8.61.1",
|
|
72
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
73
|
+
"autoprefixer": "^10.4.0",
|
|
74
|
+
"eslint": "^10.5.0",
|
|
75
|
+
"eslint-config-prettier": "^10.1.8",
|
|
76
|
+
"eslint-plugin-vue": "^10.9.2",
|
|
77
|
+
"globals": "^16.1.0",
|
|
78
|
+
"husky": "^9.1.7",
|
|
79
|
+
"lint-staged": "^17.0.7",
|
|
80
|
+
"prettier": "^3.3.3",
|
|
81
|
+
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
82
|
+
"sass-embedded": "^1.100.0",
|
|
83
|
+
"tailwindcss": "^3.4.0",
|
|
84
|
+
"typescript": "^5.5.2",
|
|
85
|
+
"unplugin-auto-import": "^0.18.2",
|
|
86
|
+
"unplugin-icons": "^22.2.0",
|
|
87
|
+
"unplugin-vue-components": "^0.27.4",
|
|
88
|
+
"vite": "^5.4.1",
|
|
89
|
+
"vite-plugin-dts": "^4.0.0",
|
|
90
|
+
"vue": "^3.4.31",
|
|
91
|
+
"vue-eslint-parser": "^10.1.3",
|
|
92
|
+
"vue-tsc": "^2.0.22"
|
|
93
|
+
},
|
|
94
|
+
"dependencies": {
|
|
95
|
+
"@amaoaaaaa/v-text-ellipsis": "^0.2.4"
|
|
96
|
+
}
|
|
97
|
+
}
|