@fangzhongya/fang-ui 0.1.23 → 0.1.24

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.
@@ -146,16 +146,14 @@ function comHandle(props2, emit, config) {
146
146
  if (config == null ? void 0 : config.getValue) v = config.getValue(v);
147
147
  if (v && v instanceof Array) {
148
148
  return v.join(props2.multiple);
149
- } else {
150
- return v;
151
149
  }
150
+ return v;
152
151
  };
153
152
  setMultipleValue = (v) => {
154
- let arr = [];
155
153
  if (v && typeof v === "string") {
156
- arr = v.split(props2.multiple);
154
+ return v.split(props2.multiple);
157
155
  }
158
- return arr;
156
+ return v;
159
157
  };
160
158
  setValue(3);
161
159
  }
@@ -144,16 +144,14 @@ function comHandle(props2, emit, config) {
144
144
  if (config == null ? void 0 : config.getValue) v = config.getValue(v);
145
145
  if (v && v instanceof Array) {
146
146
  return v.join(props2.multiple);
147
- } else {
148
- return v;
149
147
  }
148
+ return v;
150
149
  };
151
150
  setMultipleValue = (v) => {
152
- let arr = [];
153
151
  if (v && typeof v === "string") {
154
- arr = v.split(props2.multiple);
152
+ return v.split(props2.multiple);
155
153
  }
156
- return arr;
154
+ return v;
157
155
  };
158
156
  setValue(3);
159
157
  }
@@ -119,4 +119,4 @@
119
119
  @use './tablesp/index.scss' as *;
120
120
  @use './tablespd/index.scss' as *;
121
121
  @use './tabless/index.scss' as *;
122
- @use './tablesv/index.scss' as *;
122
+ @use './tablesvp/index.scss' as *;
@@ -141,6 +141,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
141
141
  if (is) {
142
142
  if (multiple.value) {
143
143
  value.value.splice(index2, 1);
144
+ value.value = value.value;
144
145
  } else {
145
146
  value.value = "";
146
147
  }
@@ -152,6 +153,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
152
153
  } else {
153
154
  if (multiple.value) {
154
155
  value.value.splice(index2, 1);
156
+ value.value = value.value;
155
157
  } else {
156
158
  value.value = "";
157
159
  }
@@ -206,12 +208,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
206
208
  if (v instanceof Array) {
207
209
  if (value.value) {
208
210
  value.value.push(...v);
211
+ value.value = value.value;
209
212
  } else {
210
213
  value.value = [...v];
211
214
  }
212
215
  } else {
213
216
  if (value.value) {
214
217
  value.value.push(v);
218
+ value.value = value.value;
215
219
  } else {
216
220
  value.value = [v];
217
221
  }
@@ -139,6 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
139
139
  if (is) {
140
140
  if (multiple.value) {
141
141
  value.value.splice(index, 1);
142
+ value.value = value.value;
142
143
  } else {
143
144
  value.value = "";
144
145
  }
@@ -150,6 +151,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
150
151
  } else {
151
152
  if (multiple.value) {
152
153
  value.value.splice(index, 1);
154
+ value.value = value.value;
153
155
  } else {
154
156
  value.value = "";
155
157
  }
@@ -204,12 +206,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
204
206
  if (v instanceof Array) {
205
207
  if (value.value) {
206
208
  value.value.push(...v);
209
+ value.value = value.value;
207
210
  } else {
208
211
  value.value = [...v];
209
212
  }
210
213
  } else {
211
214
  if (value.value) {
212
215
  value.value.push(v);
216
+ value.value = value.value;
213
217
  } else {
214
218
  value.value = [v];
215
219
  }
@@ -1835,4 +1835,26 @@
1835
1835
  left: 0;
1836
1836
  z-index: 1;
1837
1837
  opacity: 0;
1838
+ }
1839
+
1840
+ .tablesvp {
1841
+ width: 100%;
1842
+ height: var(--tablesvp-height);
1843
+ display: flex;
1844
+ flex-direction: column;
1845
+ }
1846
+ .tablesvp-main {
1847
+ display: flex;
1848
+ flex-direction: column;
1849
+ flex: 1;
1850
+ width: 100%;
1851
+ }
1852
+ .tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
1853
+ display: none;
1854
+ }
1855
+ .tablesvp-paginat {
1856
+ overflow: hidden;
1857
+ }
1858
+ .tablesvp-paginat .el-pagination {
1859
+ justify-content: flex-end;
1838
1860
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1762953996277,
4
+ "lastModified": 1762957513602,
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> "
package/dist/index.css CHANGED
@@ -1835,4 +1835,26 @@
1835
1835
  left: 0;
1836
1836
  z-index: 1;
1837
1837
  opacity: 0;
1838
+ }
1839
+
1840
+ .tablesvp {
1841
+ width: 100%;
1842
+ height: var(--tablesvp-height);
1843
+ display: flex;
1844
+ flex-direction: column;
1845
+ }
1846
+ .tablesvp-main {
1847
+ display: flex;
1848
+ flex-direction: column;
1849
+ flex: 1;
1850
+ width: 100%;
1851
+ }
1852
+ .tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
1853
+ display: none;
1854
+ }
1855
+ .tablesvp-paginat {
1856
+ overflow: hidden;
1857
+ }
1858
+ .tablesvp-paginat .el-pagination {
1859
+ justify-content: flex-end;
1838
1860
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.1.23",
4
+ "version": "0.1.24",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -51,14 +51,14 @@
51
51
  "vue-tsc": "^3.1.3",
52
52
  "vuedraggable": "4.1.0",
53
53
  "vxe-table": "4.17.13",
54
+ "@fang-ui/icons": "0.0.1-0",
54
55
  "@fang-ui/components": "0.0.1-0",
56
+ "@fang-ui/locale": "0.0.1-0",
55
57
  "@fang-ui/directives": "0.0.1-0",
56
58
  "@fang-ui/hooks": "0.0.1-0",
57
- "@fang-ui/locale": "0.0.1-0",
58
- "@fang-ui/icons": "0.0.1-0",
59
- "@fang-ui/theme": "0.0.1-0",
60
59
  "@fang-ui/types": "0.0.1-0",
61
- "@fang-ui/utils": "0.0.1-0"
60
+ "@fang-ui/utils": "0.0.1-0",
61
+ "@fang-ui/theme": "0.0.1-0"
62
62
  },
63
63
  "main": "./dist/index.cjs",
64
64
  "module": "./dist/index.js",
File without changes
File without changes