@fangzhongya/fang-ui 0.1.45 → 0.1.47

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 (121) hide show
  1. package/dist/components/cascaders/index.css +6 -0
  2. package/dist/components/cascaders/index.scss +6 -0
  3. package/dist/components/common/compons/components.cjs +0 -16
  4. package/dist/components/common/compons/components.d.ts +0 -8
  5. package/dist/components/common/compons/components.js +0 -16
  6. package/dist/components/common/compons/index.scss +0 -8
  7. package/dist/components/common/compons/index2.scss +0 -8
  8. package/dist/components/common/css.cjs +0 -1
  9. package/dist/components/common/css.js +0 -1
  10. package/dist/components/date-picker/style/element.scss +1 -1
  11. package/dist/components/dates-divide/index.css +6 -0
  12. package/dist/components/dates-divide/index.scss +6 -0
  13. package/dist/components/dates-divide/src/index2.cjs +4 -2
  14. package/dist/components/dates-divide/src/index2.js +4 -2
  15. package/dist/components/dates-picker/index.css +2 -2
  16. package/dist/components/dates-picker/index.scss +4 -4
  17. package/dist/components/dates-picker/src/index2.cjs +2 -1
  18. package/dist/components/dates-picker/src/index2.js +2 -1
  19. package/dist/components/dates2/index.css +9 -0
  20. package/dist/components/dates2/index.scss +3 -0
  21. package/dist/components/dates2/src/index2.cjs +6 -4
  22. package/dist/components/dates2/src/index2.js +6 -4
  23. package/dist/components/double/index.css +45 -10
  24. package/dist/components/double/index.scss +30 -17
  25. package/dist/components/double/src/data.cjs +24 -5
  26. package/dist/components/double/src/data.d.ts +23 -1
  27. package/dist/components/double/src/data.js +24 -5
  28. package/dist/components/double/src/index2.cjs +129 -64
  29. package/dist/components/double/src/index2.js +126 -61
  30. package/dist/components/double/style/index2.scss +1 -0
  31. package/dist/components/forms/common/config.cjs +3 -2
  32. package/dist/components/forms/common/config.js +3 -2
  33. package/dist/components/forms/index.css +74 -162
  34. package/dist/components/forms/src/setup.cjs +1 -2
  35. package/dist/components/forms/src/setup.js +1 -2
  36. package/dist/components/forms/src/util.cjs +30 -33
  37. package/dist/components/forms/src/util.js +29 -32
  38. package/dist/components/forms-item/index.css +3 -0
  39. package/dist/components/forms-item/index.scss +5 -0
  40. package/dist/components/forms-items/index.css +3 -0
  41. package/dist/components/forms-items/src/index2.cjs +1 -2
  42. package/dist/components/forms-items/src/index2.js +1 -2
  43. package/dist/components/input-history/index.css +3 -0
  44. package/dist/components/input-history/index.scss +3 -1
  45. package/dist/components/input-history/src/data.d.ts +1 -0
  46. package/dist/components/input-history/src/index2.cjs +23 -19
  47. package/dist/components/input-history/src/index2.js +15 -11
  48. package/dist/components/input-select/index.css +35 -7
  49. package/dist/components/input-select/index.scss +10 -7
  50. package/dist/components/input-select/src/index2.cjs +26 -19
  51. package/dist/components/input-select/src/index2.js +23 -16
  52. package/dist/components/input-select/style/index2.scss +2 -1
  53. package/dist/components/list/index.css +15 -14
  54. package/dist/components/list/index.scss +21 -19
  55. package/dist/components/list/src/index2.cjs +60 -41
  56. package/dist/components/list/src/index2.js +61 -42
  57. package/dist/components/lists/index.css +15 -14
  58. package/dist/components/lists/src/index2.cjs +1 -2
  59. package/dist/components/lists/src/index2.js +1 -2
  60. package/dist/components/listsp/index.css +15 -14
  61. package/dist/components/listspd/index.css +15 -14
  62. package/dist/components/page/index.css +94 -176
  63. package/dist/components/scss/function.scss +3 -1
  64. package/dist/components/select-scroll/src/index2.cjs +1 -1
  65. package/dist/components/select-scroll/src/index2.js +2 -2
  66. package/dist/components/selector/index.css +50 -10
  67. package/dist/components/selector/index.scss +5 -0
  68. package/dist/components/selector/src/data.cjs +7 -3
  69. package/dist/components/selector/src/data.d.ts +8 -4
  70. package/dist/components/selector/src/data.js +7 -3
  71. package/dist/components/selector/src/index2.cjs +127 -91
  72. package/dist/components/selector/src/index2.js +124 -88
  73. package/dist/components/tables/common/pagin.cjs +1 -1
  74. package/dist/components/tables/common/pagin.d.ts +4 -4
  75. package/dist/components/tables/common/pagin.js +1 -1
  76. package/dist/components/tables/common/tooltip.cjs +1 -1
  77. package/dist/components/tables/common/tooltip.js +1 -1
  78. package/dist/components/tables/index.css +5 -0
  79. package/dist/components/tables/index.scss +3 -0
  80. package/dist/components/tables/src/data.cjs +1 -3
  81. package/dist/components/tables/src/data.d.ts +1 -1
  82. package/dist/components/tables/src/data.js +1 -3
  83. package/dist/components/tables/src/index2.cjs +9 -3
  84. package/dist/components/tables/src/index2.js +10 -4
  85. package/dist/components/tablesp/index.css +5 -0
  86. package/dist/components/tablespd/index.css +5 -0
  87. package/dist/components/tablesv/src/data.cjs +1 -3
  88. package/dist/components/tablesv/src/data.d.ts +1 -1
  89. package/dist/components/tablesv/src/data.js +1 -3
  90. package/dist/components/tablesv/src/index2.cjs +9 -3
  91. package/dist/components/tablesv/src/index2.js +10 -4
  92. package/dist/css/cascaders.css +6 -0
  93. package/dist/css/dates-divide.css +6 -0
  94. package/dist/css/dates-picker.css +2 -2
  95. package/dist/css/dates2.css +9 -0
  96. package/dist/css/double.css +45 -10
  97. package/dist/css/forms-item.css +3 -0
  98. package/dist/css/forms-items.css +3 -0
  99. package/dist/css/forms.css +74 -162
  100. package/dist/css/index.css +247 -200
  101. package/dist/css/input-history.css +3 -0
  102. package/dist/css/input-select.css +35 -7
  103. package/dist/css/list.css +15 -14
  104. package/dist/css/lists.css +15 -14
  105. package/dist/css/listsp.css +15 -14
  106. package/dist/css/listspd.css +15 -14
  107. package/dist/css/page.css +94 -176
  108. package/dist/css/selector.css +50 -10
  109. package/dist/css/tables.css +5 -0
  110. package/dist/css/tablesp.css +5 -0
  111. package/dist/css/tablespd.css +5 -0
  112. package/dist/icons/index.json +1 -1
  113. package/dist/index.css +247 -200
  114. package/dist/type.d.ts +2 -2
  115. package/dist/utils/css.cjs +0 -10
  116. package/dist/utils/css.d.ts +0 -2
  117. package/dist/utils/css.js +1 -5
  118. package/dist/utils/vues/buildProps.d.ts +5 -0
  119. package/package.json +4 -4
  120. /package/dist/components/{keep-com → alert}/index.css +0 -0
  121. /package/dist/css/{keep-com.css → alert.css} +0 -0
package/dist/css/list.css CHANGED
@@ -27,10 +27,10 @@
27
27
  width: 100%;
28
28
  height: 100%;
29
29
  }
30
- .list-div .list-table td {
30
+ .list-div .list-table-td {
31
31
  text-align: left;
32
32
  }
33
- .list-div .list-table th {
33
+ .list-div .list-table-th {
34
34
  font-weight: initial;
35
35
  }
36
36
  .list-div .list-table .is-whole .list-table-auto {
@@ -102,11 +102,13 @@
102
102
  .list-div .list-table .list-table-value {
103
103
  word-break: break-all;
104
104
  white-space: pre-wrap;
105
+ overflow: hidden;
106
+ }
107
+ .list-div .list-table .list-table-value.is-tooltip {
105
108
  max-height: var(--list-row-max-height);
106
109
  display: -webkit-box;
107
- -webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
110
+ -webkit-line-clamp: var(--list-line-clamp, 1); /* 显示的行数 */
108
111
  -webkit-box-orient: vertical;
109
- overflow: hidden;
110
112
  text-overflow: ellipsis;
111
113
  }
112
114
  .list-div .list-table.right .list-table-th {
@@ -126,34 +128,33 @@
126
128
  border-top: 1px solid var(--list-border-color);
127
129
  border-bottom: 1px solid var(--list-border-color);
128
130
  }
129
- .list-div .list-table.is-border > tr > td {
131
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td {
130
132
  border-bottom: 1px solid var(--list-border-color);
131
133
  border-left: 1px solid var(--list-border-color);
132
134
  }
133
- .list-div .list-table.is-border > tr > td:last-child {
135
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td:last-child {
134
136
  border-right: 1px solid var(--list-border-color);
135
137
  }
136
- .list-div .list-table.is-border > tr > th {
138
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th {
137
139
  border-left: 1px solid var(--list-border-color);
138
140
  border-bottom: 1px solid var(--list-border-color);
139
141
  }
140
- .list-div .list-table.is-border > tr > th:last-child {
142
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th:last-child {
141
143
  border-right: 1px solid var(--list-border-color);
142
144
  }
143
- .list-div .list-table.is-border > tr:last-child > td {
145
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-td {
144
146
  border-bottom: 0;
145
147
  }
146
- .list-div .list-table.is-border > tr:last-child > th {
148
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-th {
147
149
  border-bottom: 0;
148
150
  }
149
- .list-div .list-table.is-border.top > tr > th {
151
+ .list-div .list-table.is-border.top > .list-table-tr > .list-table-th {
150
152
  border-bottom: 0;
151
153
  }
152
154
  .list-div .list-table .list-com {
153
155
  display: flex;
154
156
  align-items: center;
155
157
  }
156
- .list-div .list-table .list-com-img {
157
- width: 50px;
158
- height: 50px;
158
+ .list-div .el-tooltip {
159
+ white-space: pre-wrap;
159
160
  }
@@ -27,10 +27,10 @@
27
27
  width: 100%;
28
28
  height: 100%;
29
29
  }
30
- .list-div .list-table td {
30
+ .list-div .list-table-td {
31
31
  text-align: left;
32
32
  }
33
- .list-div .list-table th {
33
+ .list-div .list-table-th {
34
34
  font-weight: initial;
35
35
  }
36
36
  .list-div .list-table .is-whole .list-table-auto {
@@ -102,11 +102,13 @@
102
102
  .list-div .list-table .list-table-value {
103
103
  word-break: break-all;
104
104
  white-space: pre-wrap;
105
+ overflow: hidden;
106
+ }
107
+ .list-div .list-table .list-table-value.is-tooltip {
105
108
  max-height: var(--list-row-max-height);
106
109
  display: -webkit-box;
107
- -webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
110
+ -webkit-line-clamp: var(--list-line-clamp, 1); /* 显示的行数 */
108
111
  -webkit-box-orient: vertical;
109
- overflow: hidden;
110
112
  text-overflow: ellipsis;
111
113
  }
112
114
  .list-div .list-table.right .list-table-th {
@@ -126,36 +128,35 @@
126
128
  border-top: 1px solid var(--list-border-color);
127
129
  border-bottom: 1px solid var(--list-border-color);
128
130
  }
129
- .list-div .list-table.is-border > tr > td {
131
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td {
130
132
  border-bottom: 1px solid var(--list-border-color);
131
133
  border-left: 1px solid var(--list-border-color);
132
134
  }
133
- .list-div .list-table.is-border > tr > td:last-child {
135
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td:last-child {
134
136
  border-right: 1px solid var(--list-border-color);
135
137
  }
136
- .list-div .list-table.is-border > tr > th {
138
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th {
137
139
  border-left: 1px solid var(--list-border-color);
138
140
  border-bottom: 1px solid var(--list-border-color);
139
141
  }
140
- .list-div .list-table.is-border > tr > th:last-child {
142
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th:last-child {
141
143
  border-right: 1px solid var(--list-border-color);
142
144
  }
143
- .list-div .list-table.is-border > tr:last-child > td {
145
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-td {
144
146
  border-bottom: 0;
145
147
  }
146
- .list-div .list-table.is-border > tr:last-child > th {
148
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-th {
147
149
  border-bottom: 0;
148
150
  }
149
- .list-div .list-table.is-border.top > tr > th {
151
+ .list-div .list-table.is-border.top > .list-table-tr > .list-table-th {
150
152
  border-bottom: 0;
151
153
  }
152
154
  .list-div .list-table .list-com {
153
155
  display: flex;
154
156
  align-items: center;
155
157
  }
156
- .list-div .list-table .list-com-img {
157
- width: 50px;
158
- height: 50px;
158
+ .list-div .el-tooltip {
159
+ white-space: pre-wrap;
159
160
  }
160
161
 
161
162
  .lists {
@@ -27,10 +27,10 @@
27
27
  width: 100%;
28
28
  height: 100%;
29
29
  }
30
- .list-div .list-table td {
30
+ .list-div .list-table-td {
31
31
  text-align: left;
32
32
  }
33
- .list-div .list-table th {
33
+ .list-div .list-table-th {
34
34
  font-weight: initial;
35
35
  }
36
36
  .list-div .list-table .is-whole .list-table-auto {
@@ -102,11 +102,13 @@
102
102
  .list-div .list-table .list-table-value {
103
103
  word-break: break-all;
104
104
  white-space: pre-wrap;
105
+ overflow: hidden;
106
+ }
107
+ .list-div .list-table .list-table-value.is-tooltip {
105
108
  max-height: var(--list-row-max-height);
106
109
  display: -webkit-box;
107
- -webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
110
+ -webkit-line-clamp: var(--list-line-clamp, 1); /* 显示的行数 */
108
111
  -webkit-box-orient: vertical;
109
- overflow: hidden;
110
112
  text-overflow: ellipsis;
111
113
  }
112
114
  .list-div .list-table.right .list-table-th {
@@ -126,36 +128,35 @@
126
128
  border-top: 1px solid var(--list-border-color);
127
129
  border-bottom: 1px solid var(--list-border-color);
128
130
  }
129
- .list-div .list-table.is-border > tr > td {
131
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td {
130
132
  border-bottom: 1px solid var(--list-border-color);
131
133
  border-left: 1px solid var(--list-border-color);
132
134
  }
133
- .list-div .list-table.is-border > tr > td:last-child {
135
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td:last-child {
134
136
  border-right: 1px solid var(--list-border-color);
135
137
  }
136
- .list-div .list-table.is-border > tr > th {
138
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th {
137
139
  border-left: 1px solid var(--list-border-color);
138
140
  border-bottom: 1px solid var(--list-border-color);
139
141
  }
140
- .list-div .list-table.is-border > tr > th:last-child {
142
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th:last-child {
141
143
  border-right: 1px solid var(--list-border-color);
142
144
  }
143
- .list-div .list-table.is-border > tr:last-child > td {
145
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-td {
144
146
  border-bottom: 0;
145
147
  }
146
- .list-div .list-table.is-border > tr:last-child > th {
148
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-th {
147
149
  border-bottom: 0;
148
150
  }
149
- .list-div .list-table.is-border.top > tr > th {
151
+ .list-div .list-table.is-border.top > .list-table-tr > .list-table-th {
150
152
  border-bottom: 0;
151
153
  }
152
154
  .list-div .list-table .list-com {
153
155
  display: flex;
154
156
  align-items: center;
155
157
  }
156
- .list-div .list-table .list-com-img {
157
- width: 50px;
158
- height: 50px;
158
+ .list-div .el-tooltip {
159
+ white-space: pre-wrap;
159
160
  }
160
161
 
161
162
  .lists {
@@ -27,10 +27,10 @@
27
27
  width: 100%;
28
28
  height: 100%;
29
29
  }
30
- .list-div .list-table td {
30
+ .list-div .list-table-td {
31
31
  text-align: left;
32
32
  }
33
- .list-div .list-table th {
33
+ .list-div .list-table-th {
34
34
  font-weight: initial;
35
35
  }
36
36
  .list-div .list-table .is-whole .list-table-auto {
@@ -102,11 +102,13 @@
102
102
  .list-div .list-table .list-table-value {
103
103
  word-break: break-all;
104
104
  white-space: pre-wrap;
105
+ overflow: hidden;
106
+ }
107
+ .list-div .list-table .list-table-value.is-tooltip {
105
108
  max-height: var(--list-row-max-height);
106
109
  display: -webkit-box;
107
- -webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
110
+ -webkit-line-clamp: var(--list-line-clamp, 1); /* 显示的行数 */
108
111
  -webkit-box-orient: vertical;
109
- overflow: hidden;
110
112
  text-overflow: ellipsis;
111
113
  }
112
114
  .list-div .list-table.right .list-table-th {
@@ -126,36 +128,35 @@
126
128
  border-top: 1px solid var(--list-border-color);
127
129
  border-bottom: 1px solid var(--list-border-color);
128
130
  }
129
- .list-div .list-table.is-border > tr > td {
131
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td {
130
132
  border-bottom: 1px solid var(--list-border-color);
131
133
  border-left: 1px solid var(--list-border-color);
132
134
  }
133
- .list-div .list-table.is-border > tr > td:last-child {
135
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td:last-child {
134
136
  border-right: 1px solid var(--list-border-color);
135
137
  }
136
- .list-div .list-table.is-border > tr > th {
138
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th {
137
139
  border-left: 1px solid var(--list-border-color);
138
140
  border-bottom: 1px solid var(--list-border-color);
139
141
  }
140
- .list-div .list-table.is-border > tr > th:last-child {
142
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th:last-child {
141
143
  border-right: 1px solid var(--list-border-color);
142
144
  }
143
- .list-div .list-table.is-border > tr:last-child > td {
145
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-td {
144
146
  border-bottom: 0;
145
147
  }
146
- .list-div .list-table.is-border > tr:last-child > th {
148
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-th {
147
149
  border-bottom: 0;
148
150
  }
149
- .list-div .list-table.is-border.top > tr > th {
151
+ .list-div .list-table.is-border.top > .list-table-tr > .list-table-th {
150
152
  border-bottom: 0;
151
153
  }
152
154
  .list-div .list-table .list-com {
153
155
  display: flex;
154
156
  align-items: center;
155
157
  }
156
- .list-div .list-table .list-com-img {
157
- width: 50px;
158
- height: 50px;
158
+ .list-div .el-tooltip {
159
+ white-space: pre-wrap;
159
160
  }
160
161
 
161
162
  .lists {