@fangzhongya/fang-ui 0.0.55 → 0.0.57

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.
Files changed (35) hide show
  1. package/dist/components/lists/index.css +3 -3
  2. package/dist/components/lists/index.scss +3 -3
  3. package/dist/components/lists/src/index2.cjs +1 -1
  4. package/dist/components/lists/src/index2.js +1 -1
  5. package/dist/components/listsp/index.css +8 -3
  6. package/dist/components/listsp/index.scss +7 -0
  7. package/dist/components/listsp/src/index2.cjs +10 -10
  8. package/dist/components/listsp/src/index2.js +10 -10
  9. package/dist/components/page/index.css +6 -0
  10. package/dist/components/tables/common/pagin.cjs +32 -15
  11. package/dist/components/tables/common/pagin.d.ts +12 -3
  12. package/dist/components/tables/common/pagin.js +32 -15
  13. package/dist/components/tables/src/column.cjs +2 -1
  14. package/dist/components/tables/src/column.js +2 -1
  15. package/dist/components/tablesp/index.css +6 -0
  16. package/dist/components/tablesp/index.scss +8 -0
  17. package/dist/components/tablesp/src/index2.cjs +15 -6
  18. package/dist/components/tablesp/src/index2.js +15 -6
  19. package/dist/components/tablesv/src/column.cjs +2 -1
  20. package/dist/components/tablesv/src/column.js +2 -1
  21. package/dist/css/index.css +14 -3
  22. package/dist/css/lists.css +3 -3
  23. package/dist/css/listsp.css +8 -3
  24. package/dist/css/page.css +6 -0
  25. package/dist/css/tablesp.css +6 -0
  26. package/dist/directives/scroll/index.cjs +59 -12
  27. package/dist/directives/scroll/index.js +59 -12
  28. package/dist/hooks/cssname/index.cjs +16 -0
  29. package/dist/hooks/cssname/index.d.ts +2 -0
  30. package/dist/hooks/cssname/index.js +16 -0
  31. package/dist/icons/index.css +29 -29
  32. package/dist/icons/index.json +7 -7
  33. package/dist/index.css +14 -3
  34. package/dist/type.d.ts +4 -2
  35. package/package.json +5 -5
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1756777747968,
4
+ "lastModified": 1756792199153,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": " <path fill=\"currentColor\" d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\" ></path> "
8
8
  },
9
- "bottom-right": {
10
- "body": "<path fill=\"currentColor\" d=\"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416H352z\"/><path fill=\"currentColor\" d=\"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312l544 544z\"/>"
11
- },
12
- "bottom-left": {
13
- "body": "<path fill=\"currentColor\" d=\"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0v416z\"/><path fill=\"currentColor\" d=\"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z\"/>"
14
- },
15
9
  "bottom": {
16
10
  "body": "<path fill=\"currentColor\" d=\"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z\"/>"
17
11
  },
12
+ "below": {
13
+ "body": " <path fill=\"currentColor\" d=\"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z\" ></path> "
14
+ },
15
+ "clear": {
16
+ "body": " <path fill=\"currentColor\" d=\"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z\" ></path> <path fill=\"currentColor\" d=\"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z\" ></path> "
17
+ },
18
18
  "left": {
19
19
  "body": " <path fill=\"currentColor\" d=\"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z\" ></path> "
20
20
  },
package/dist/index.css CHANGED
@@ -540,6 +540,12 @@
540
540
  .tablesp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
541
541
  display: none;
542
542
  }
543
+ .tablesp-main.is-scroll .v-scroll-add {
544
+ text-align: center;
545
+ padding: 10px;
546
+ color: #999;
547
+ background-color: #eee;
548
+ }
543
549
  .tablesp-paginat {
544
550
  overflow: hidden;
545
551
  }
@@ -912,11 +918,11 @@
912
918
  .lists-list-item {
913
919
  background-color: #fff;
914
920
  margin: 0 var(--lists-interval);
915
- margin-top: calc(var(--lists-interval) * 2);
916
- }
917
- .lists-list-item:last-child {
918
921
  margin-bottom: calc(var(--lists-interval) * 2);
919
922
  }
923
+ .lists-list-item:first-child {
924
+ margin-top: calc(var(--lists-interval) * 2);
925
+ }
920
926
  .lists-list-item.is-active {
921
927
  background-color: rgb(250, 235, 215);
922
928
  }
@@ -939,6 +945,11 @@
939
945
  flex: 1;
940
946
  width: 100%;
941
947
  }
948
+ .listsp-main.is-scroll .v-scroll-add {
949
+ text-align: center;
950
+ padding: 10px;
951
+ color: #999;
952
+ }
942
953
  .listsp-paginat {
943
954
  overflow: hidden;
944
955
  }
package/dist/type.d.ts CHANGED
@@ -133,6 +133,8 @@ type ListObj = {
133
133
 
134
134
  // 添加类型定义
135
135
  interface PaginatType {
136
+ is: boolean;
137
+ cross: boolean | string;
136
138
  front: boolean;
137
139
  scroll: boolean;
138
140
  current: number;
@@ -153,8 +155,6 @@ type TableConfig = {
153
155
  isradio?: boolean;
154
156
  // 是否多选
155
157
  ischecked?: boolean;
156
- // 是否可以跨页多选
157
- crossPage?: boolean | string;
158
158
  //纵向边框
159
159
  border?: boolean;
160
160
  //对齐方式
@@ -195,6 +195,8 @@ type TableConfig = {
195
195
  scroll?: boolean;
196
196
  // 分页方式 前端/后端
197
197
  front?: boolean;
198
+ // 是否可以跨页多选
199
+ cross?: boolean | string;
198
200
  config?: {
199
201
  [key: string]: any;
200
202
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.0.55",
4
+ "version": "0.0.57",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -49,14 +49,14 @@
49
49
  "vue-tsc": "^3.0.5",
50
50
  "vuedraggable": "4.1.0",
51
51
  "vxe-table": "4.15.10",
52
- "@fang-ui/directives": "0.0.1-0",
53
- "@fang-ui/hooks": "0.0.1-0",
54
- "@fang-ui/locale": "0.0.1-0",
55
52
  "@fang-ui/components": "0.0.1-0",
53
+ "@fang-ui/directives": "0.0.1-0",
56
54
  "@fang-ui/theme": "0.0.1-0",
57
55
  "@fang-ui/icons": "0.0.1-0",
56
+ "@fang-ui/hooks": "0.0.1-0",
58
57
  "@fang-ui/types": "0.0.1-0",
59
- "@fang-ui/utils": "0.0.1-0"
58
+ "@fang-ui/utils": "0.0.1-0",
59
+ "@fang-ui/locale": "0.0.1-0"
60
60
  },
61
61
  "main": "./dist/index.cjs",
62
62
  "module": "./dist/index.js",