es-plus-ui 1.0.0 → 1.0.2

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.
@@ -9,7 +9,7 @@ export interface RequestConfig {
9
9
  }
10
10
  export declare function useFormRequest(httpRequestGlobal?: (params: Record<string, unknown>) => Promise<unknown>): {
11
11
  queryTableListMethod: (params: Record<string, unknown>, options?: RequestConfig, option?: FormItemOption) => void;
12
- getEveryFormQueryField: (rowsList: FormItemOption[]) => Promise<{
12
+ getEveryFormQueryField: (rowsList: FormItemOption[], fieldFieldOutput?: (defaults: Record<string, string>) => Record<string, string>) => Promise<{
13
13
  prop: string;
14
14
  listData: unknown[];
15
15
  }[]>;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.btns[data-v-8e62c688]{padding:0 0 5px;display:flex;justify-content:space-between;align-items:center}.left-text[data-v-8e62c688]{color:#7d7d7d;font-size:14px}.btn-container_block[data-v-8e62c688]{display:flex;justify-content:space-between;align-items:center;flex:1}.btn-container_block .btn-left[data-v-8e62c688]{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.btn-container_block .btn-right[data-v-8e62c688]{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap}@media (max-width: 768px){.btns[data-v-8e62c688]{flex-direction:column;align-items:flex-start}.btn-container_block[data-v-8e62c688]{flex-direction:column;align-items:flex-start;gap:10px}.btn-container_block .btn-left[data-v-8e62c688],.btn-container_block .btn-right[data-v-8e62c688]{width:100%;justify-content:flex-start}}.el-dp_tables[data-v-a655f407],.el-dp_tables[data-v-a655f407] .el-table__body-wrapper{height:auto}.table_component[data-v-a655f407]{width:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;overflow:hidden}.table_containers[data-v-a655f407]{flex:1;width:100%;height:100%;display:flex;justify-content:space-between;flex-direction:column;align-items:flex-start;position:relative}.pagination_page[data-v-a655f407]{width:100%;display:flex;justify-content:center;align-items:center}.btn-slot[data-v-a655f407]{width:100%}.btn-slot .headerBar[data-v-a655f407]{box-sizing:border-box;background-color:#fff;border-radius:6px}.btn-slot .headerBar[data-v-a655f407] .el-form-item--small .el-form-item__label{box-sizing:border-box}.tableContainer[data-v-a655f407]{border-radius:0;transition:all 1.5s;flex:1;width:100%;display:flex;justify-content:space-between;flex-direction:column;align-items:flex-start}.tableContainer .table_inner_containers[data-v-a655f407]{width:100%}.tableContainer[data-v-a655f407] .el-table__empty-block{width:100%!important;margin:32px 0;font-size:14px;line-height:1.5715}.tableContainer[data-v-a655f407] .el-table__empty-block .el-table__empty-text{width:auto!important}.tableContainer[data-v-a655f407] .el-table__empty-block .ant-empty-image{height:40px;margin-bottom:8px}.tableContainer[data-v-a655f407] .el-table__empty-block .ant-empty-image .ant-empty-img-simple-ellipse{fill:#f5f5f5}.tableContainer[data-v-a655f407] .el-table__empty-block .ant-empty-image .ant-empty-img-simple-g{stroke:#d9d9d9}.tableContainer[data-v-a655f407] .el-table__empty-block .ant-empty-image .ant-empty-img-simple-path{fill:#fafafa}.tableContainer[data-v-a655f407] .el-table__empty-block .ant-empty-description{line-height:1.5715;color:#00000040}.tableContainer[data-v-a655f407] .el-tag{height:20px;padding:0 7px;line-height:20px;background:#fafafa;border:none;border-radius:4px}.tableContainer[data-v-a655f407] .el-tag.el-tag--info{color:#000000d9}.tableContainer[data-v-a655f407] .el-tag.el-tag--success{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.es-form[data-v-767c4265] .el-form-item{margin-bottom:18px}.es-form[data-v-767c4265] .el-form-item__label{font-weight:500}.es-form .buttonOperate[data-v-767c4265]{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.es-form .leftRightBtn[data-v-767c4265]{display:flex;justify-content:space-between;align-items:center;width:100%}.es-form .leftRightBtn .btn-left[data-v-767c4265],.es-form .leftRightBtn .btn-right[data-v-767c4265]{display:flex;align-items:center}.es-form .btn-formItem[data-v-767c4265]{margin-bottom:0}.es-form .formItemCols[data-v-767c4265]{width:100%}.dp-dialog_wrapper[data-v-857351a8] .dialogAuto{margin:0!important}.dp-dialog_wrapper[data-v-857351a8] .el-overlay-dialog{display:flex;justify-content:center;align-items:center}.dp-dialog_wrapper[data-v-857351a8] .el-dialog{padding:10px}.dp-dialog_wrapper[data-v-857351a8] .el-dialog .el-dialog__footer{padding-top:0}.dp-dialog_wrapper[data-v-857351a8] .el-dialog .el-dialog__body{padding:10px 0}.dp-dialog_wrapper[data-v-857351a8] .el-dialog .el-dialog__header{border-bottom:1px solid #eee;display:flex;padding:0 0 10px;align-items:center;justify-content:space-between;margin:0}.dialog-title[data-v-857351a8]{line-height:24px;font-size:14px;color:#303133;font-weight:700}.btns[data-v-857351a8]{display:flex;align-items:center}.btns i[data-v-857351a8]{margin-right:8px;font-size:14px;cursor:pointer}.btns i[data-v-857351a8]:last-child{margin-right:0}.dialog_body_layouts[data-v-857351a8]{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(135,162,189,.1490196078) rgba(200,213,225,.2784313725)}[data-v-857351a8]::-webkit-scrollbar{width:14px;height:14px}[data-v-857351a8]::-webkit-scrollbar-button{width:0;height:0;display:none}[data-v-857351a8]::-webkit-scrollbar-corner{background-color:transparent}[data-v-857351a8]::-webkit-scrollbar-thumb{min-height:12px;border:4px solid transparent;background-clip:content-box;border-radius:7px;background-color:#c8d5e1}[data-v-857351a8]::-webkit-scrollbar-thumb:hover{background-color:#a8bbcf}[data-v-857351a8]::-webkit-scrollbar-thumb:active{background-color:#87a2bd}[data-v-857351a8]::-webkit-scrollbar-track{background-color:transparent}[data-v-857351a8]::-webkit-scrollbar-track-piece{background-color:transparent}.svg-icon[data-v-3a11db57]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.svg-external-icon[data-v-3a11db57]{background-color:currentColor;-webkit-mask-size:cover!important;mask-size:cover!important;display:inline-block}
1
+ @charset "UTF-8";.btns[data-v-8e62c688]{padding:0 0 5px;display:flex;justify-content:space-between;align-items:center}.left-text[data-v-8e62c688]{color:#7d7d7d;font-size:14px}.btn-container_block[data-v-8e62c688]{display:flex;justify-content:space-between;align-items:center;flex:1}.btn-container_block .btn-left[data-v-8e62c688]{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.btn-container_block .btn-right[data-v-8e62c688]{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap}@media (max-width: 768px){.btns[data-v-8e62c688]{flex-direction:column;align-items:flex-start}.btn-container_block[data-v-8e62c688]{flex-direction:column;align-items:flex-start;gap:10px}.btn-container_block .btn-left[data-v-8e62c688],.btn-container_block .btn-right[data-v-8e62c688]{width:100%;justify-content:flex-start}}.el-dp_tables[data-v-72303e9b],.el-dp_tables[data-v-72303e9b] .el-table__body-wrapper{height:auto}.table_component[data-v-72303e9b]{width:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;overflow:hidden}.table_containers[data-v-72303e9b]{flex:1;width:100%;height:100%;display:flex;justify-content:space-between;flex-direction:column;align-items:flex-start;position:relative}.pagination_page[data-v-72303e9b]{width:100%;display:flex;justify-content:center;align-items:center}.btn-slot[data-v-72303e9b]{width:100%}.btn-slot .headerBar[data-v-72303e9b]{box-sizing:border-box;background-color:#fff;border-radius:6px}.btn-slot .headerBar[data-v-72303e9b] .el-form-item--small .el-form-item__label{box-sizing:border-box}.tableContainer[data-v-72303e9b]{border-radius:0;transition:all 1.5s;flex:1;width:100%;display:flex;justify-content:space-between;flex-direction:column;align-items:flex-start}.tableContainer .table_inner_containers[data-v-72303e9b]{width:100%}.tableContainer[data-v-72303e9b] .el-table__empty-block{width:100%!important;margin:32px 0;font-size:14px;line-height:1.5715}.tableContainer[data-v-72303e9b] .el-table__empty-block .el-table__empty-text{width:auto!important}.tableContainer[data-v-72303e9b] .el-table__empty-block .ant-empty-image{height:40px;margin-bottom:8px}.tableContainer[data-v-72303e9b] .el-table__empty-block .ant-empty-image .ant-empty-img-simple-ellipse{fill:#f5f5f5}.tableContainer[data-v-72303e9b] .el-table__empty-block .ant-empty-image .ant-empty-img-simple-g{stroke:#d9d9d9}.tableContainer[data-v-72303e9b] .el-table__empty-block .ant-empty-image .ant-empty-img-simple-path{fill:#fafafa}.tableContainer[data-v-72303e9b] .el-table__empty-block .ant-empty-description{line-height:1.5715;color:#00000040}.tableContainer[data-v-72303e9b] .el-tag{height:20px;padding:0 7px;line-height:20px;background:#fafafa;border:none;border-radius:4px}.tableContainer[data-v-72303e9b] .el-tag.el-tag--info{color:#000000d9}.tableContainer[data-v-72303e9b] .el-tag.el-tag--success{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.es-form[data-v-1397c643] .el-form-item{margin-bottom:18px}.es-form[data-v-1397c643] .el-form-item__label{font-weight:500}.es-form .buttonOperate[data-v-1397c643]{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.es-form .leftRightBtn[data-v-1397c643]{display:flex;justify-content:space-between;align-items:center;width:100%}.es-form .leftRightBtn .btn-left[data-v-1397c643],.es-form .leftRightBtn .btn-right[data-v-1397c643]{display:flex;align-items:center}.es-form .btn-formItem[data-v-1397c643]{margin-bottom:0}.es-form .formItemCols[data-v-1397c643]{width:100%}.dp-dialog_wrapper[data-v-857351a8] .dialogAuto{margin:0!important}.dp-dialog_wrapper[data-v-857351a8] .el-overlay-dialog{display:flex;justify-content:center;align-items:center}.dp-dialog_wrapper[data-v-857351a8] .el-dialog{padding:10px}.dp-dialog_wrapper[data-v-857351a8] .el-dialog .el-dialog__footer{padding-top:0}.dp-dialog_wrapper[data-v-857351a8] .el-dialog .el-dialog__body{padding:10px 0}.dp-dialog_wrapper[data-v-857351a8] .el-dialog .el-dialog__header{border-bottom:1px solid #eee;display:flex;padding:0 0 10px;align-items:center;justify-content:space-between;margin:0}.dialog-title[data-v-857351a8]{line-height:24px;font-size:14px;color:#303133;font-weight:700}.btns[data-v-857351a8]{display:flex;align-items:center}.btns i[data-v-857351a8]{margin-right:8px;font-size:14px;cursor:pointer}.btns i[data-v-857351a8]:last-child{margin-right:0}.dialog_body_layouts[data-v-857351a8]{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(135,162,189,.1490196078) rgba(200,213,225,.2784313725)}[data-v-857351a8]::-webkit-scrollbar{width:14px;height:14px}[data-v-857351a8]::-webkit-scrollbar-button{width:0;height:0;display:none}[data-v-857351a8]::-webkit-scrollbar-corner{background-color:transparent}[data-v-857351a8]::-webkit-scrollbar-thumb{min-height:12px;border:4px solid transparent;background-clip:content-box;border-radius:7px;background-color:#c8d5e1}[data-v-857351a8]::-webkit-scrollbar-thumb:hover{background-color:#a8bbcf}[data-v-857351a8]::-webkit-scrollbar-thumb:active{background-color:#87a2bd}[data-v-857351a8]::-webkit-scrollbar-track{background-color:transparent}[data-v-857351a8]::-webkit-scrollbar-track-piece{background-color:transparent}.svg-icon[data-v-3a11db57]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.svg-external-icon[data-v-3a11db57]{background-color:currentColor;-webkit-mask-size:cover!important;mask-size:cover!important;display:inline-block}
package/package.json CHANGED
@@ -1,70 +1,70 @@
1
- {
2
- "name": "es-plus-ui",
3
- "version": "1.0.0",
4
- "description": "基于 Vue 3 和 Element Plus 的企业级中后台前端组件库",
5
- "type": "module",
6
- "main": "./dist/es-plus.umd.cjs",
7
- "module": "./dist/es-plus.js",
8
- "types": "./dist/index.d.ts",
9
- "exports": {
10
- ".": {
11
- "import": "./dist/es-plus.js",
12
- "require": "./dist/es-plus.umd.cjs",
13
- "types": "./dist/index.d.ts"
14
- },
15
- "./dist/style.css": "./dist/style.css"
16
- },
17
- "files": [
18
- "dist",
19
- "README.md"
20
- ],
21
- "sideEffects": [
22
- "**/*.css"
23
- ],
24
- "scripts": {
25
- "build": "vite build",
26
- "prepublishOnly": "echo 'Skipping build, already built'",
27
- "test": "vitest",
28
- "test:ui": "vitest --ui",
29
- "test:coverage": "vitest --coverage"
30
- },
31
- "keywords": [
32
- "vue3",
33
- "vue",
34
- "element-plus",
35
- "component-library",
36
- "form",
37
- "table",
38
- "dialog",
39
- "es-plus",
40
- "typescript",
41
- "enterprise",
42
- "config-driven",
43
- "crud"
44
- ],
45
- "author": "",
46
- "license": "MIT",
47
- "publishConfig": {
48
- "access": "public",
49
- "registry": "https://registry.npmjs.org/"
50
- },
51
- "peerDependencies": {
52
- "vue": "^3.2.0",
53
- "element-plus": "^2.2.0",
54
- "@element-plus/icons-vue": "^2.1.0"
55
- },
56
- "devDependencies": {
57
- "@vitejs/plugin-vue": "^5.0.0",
58
- "@vitejs/plugin-vue-jsx": "^4.0.0",
59
- "@vue/test-utils": "^2.4.0",
60
- "happy-dom": "^14.0.0",
61
- "sass": "^1.70.0",
62
- "typescript": "^5.3.0",
63
- "vite": "^5.0.0",
64
- "vite-plugin-dts": "^3.7.0",
65
- "vitest": "^1.2.0",
66
- "vue": "^3.4.0",
67
- "vue-tsc": "^1.8.0",
68
- "element-plus": "^2.5.0"
69
- }
70
- }
1
+ {
2
+ "name": "es-plus-ui",
3
+ "version": "1.0.2",
4
+ "description": "基于 Vue 3 和 Element Plus 的企业级中后台前端组件库",
5
+ "type": "module",
6
+ "main": "./dist/es-plus.umd.cjs",
7
+ "module": "./dist/es-plus.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/es-plus.js",
12
+ "require": "./dist/es-plus.umd.cjs",
13
+ "types": "./dist/index.d.ts"
14
+ },
15
+ "./dist/style.css": "./dist/style.css"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "README.md"
20
+ ],
21
+ "sideEffects": [
22
+ "**/*.css"
23
+ ],
24
+ "scripts": {
25
+ "build": "vite build",
26
+ "prepublishOnly": "echo 'Skipping build, already built'",
27
+ "test": "vitest",
28
+ "test:ui": "vitest --ui",
29
+ "test:coverage": "vitest --coverage"
30
+ },
31
+ "keywords": [
32
+ "vue3",
33
+ "vue",
34
+ "element-plus",
35
+ "component-library",
36
+ "form",
37
+ "table",
38
+ "dialog",
39
+ "es-plus",
40
+ "typescript",
41
+ "enterprise",
42
+ "config-driven",
43
+ "crud"
44
+ ],
45
+ "author": "",
46
+ "license": "MIT",
47
+ "publishConfig": {
48
+ "access": "public",
49
+ "registry": "https://registry.npmjs.org/"
50
+ },
51
+ "peerDependencies": {
52
+ "vue": "^3.2.0",
53
+ "element-plus": "^2.2.0",
54
+ "@element-plus/icons-vue": "^2.1.0"
55
+ },
56
+ "devDependencies": {
57
+ "@vitejs/plugin-vue": "^5.0.0",
58
+ "@vitejs/plugin-vue-jsx": "^4.0.0",
59
+ "@vue/test-utils": "^2.4.0",
60
+ "happy-dom": "^14.0.0",
61
+ "sass": "^1.70.0",
62
+ "typescript": "^5.3.0",
63
+ "vite": "^5.0.0",
64
+ "vite-plugin-dts": "^3.7.0",
65
+ "vitest": "^1.2.0",
66
+ "vue": "^3.4.0",
67
+ "vue-tsc": "^1.8.0",
68
+ "element-plus": "^2.5.0"
69
+ }
70
+ }