@fangzhongya/fang-ui 0.1.13 → 0.1.15

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.
@@ -20,6 +20,7 @@ const _sfc_main = vue.defineComponent({
20
20
  const prs = index$1.usePropsDefault(data.name, p, data.dataProps);
21
21
  index$1.viewProps(prs, data.name);
22
22
  const props = prs.listobj;
23
+ console.log("props", props);
23
24
  const compons = vue.inject(data$1.provides.compons, {});
24
25
  const formvalue = vue.computed(() => {
25
26
  const o = {};
@@ -83,8 +84,12 @@ const _sfc_main = vue.defineComponent({
83
84
  }
84
85
  if (props.computed) {
85
86
  if (props.computed instanceof Array) {
86
- props.computed.forEach((k) => {
87
- v[k] = value2 ? value2[k] : "";
87
+ props.computed.forEach((k, i) => {
88
+ if (value2 instanceof Array) {
89
+ v[k] = value2[i];
90
+ } else {
91
+ v[k] = value2 ? value2[k] : void 0;
92
+ }
88
93
  });
89
94
  } else if (props.computed.set) {
90
95
  props.computed.set(value2, v, props);
@@ -18,6 +18,7 @@ const _sfc_main = defineComponent({
18
18
  const prs = usePropsDefault(name, p, dataProps);
19
19
  viewProps(prs, name);
20
20
  const props = prs.listobj;
21
+ console.log("props", props);
21
22
  const compons = inject(provides.compons, {});
22
23
  const formvalue = computed(() => {
23
24
  const o = {};
@@ -81,8 +82,12 @@ const _sfc_main = defineComponent({
81
82
  }
82
83
  if (props.computed) {
83
84
  if (props.computed instanceof Array) {
84
- props.computed.forEach((k) => {
85
- v[k] = value2 ? value2[k] : "";
85
+ props.computed.forEach((k, i) => {
86
+ if (value2 instanceof Array) {
87
+ v[k] = value2[i];
88
+ } else {
89
+ v[k] = value2 ? value2[k] : void 0;
90
+ }
86
91
  });
87
92
  } else if (props.computed.set) {
88
93
  props.computed.set(value2, v, props);
@@ -117,5 +117,4 @@
117
117
  @use './tables/index.scss' as *;
118
118
  @use './tablesp/index.scss' as *;
119
119
  @use './tabless/index.scss' as *;
120
- @use './tablesv/index.scss' as *;
121
- @use './tablesvp/index.scss' as *;
120
+ @use './tablesv/index.scss' as *;
@@ -1772,26 +1772,4 @@
1772
1772
  left: 0;
1773
1773
  z-index: 1;
1774
1774
  opacity: 0;
1775
- }
1776
-
1777
- .tablesvp {
1778
- width: 100%;
1779
- height: var(--tablesvp-height);
1780
- display: flex;
1781
- flex-direction: column;
1782
- }
1783
- .tablesvp-main {
1784
- display: flex;
1785
- flex-direction: column;
1786
- flex: 1;
1787
- width: 100%;
1788
- }
1789
- .tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
1790
- display: none;
1791
- }
1792
- .tablesvp-paginat {
1793
- overflow: hidden;
1794
- }
1795
- .tablesvp-paginat .el-pagination {
1796
- justify-content: flex-end;
1797
1775
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1762740997138,
4
+ "lastModified": 1762745157389,
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
@@ -1772,26 +1772,4 @@
1772
1772
  left: 0;
1773
1773
  z-index: 1;
1774
1774
  opacity: 0;
1775
- }
1776
-
1777
- .tablesvp {
1778
- width: 100%;
1779
- height: var(--tablesvp-height);
1780
- display: flex;
1781
- flex-direction: column;
1782
- }
1783
- .tablesvp-main {
1784
- display: flex;
1785
- flex-direction: column;
1786
- flex: 1;
1787
- width: 100%;
1788
- }
1789
- .tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
1790
- display: none;
1791
- }
1792
- .tablesvp-paginat {
1793
- overflow: hidden;
1794
- }
1795
- .tablesvp-paginat .el-pagination {
1796
- justify-content: flex-end;
1797
1775
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.1.13",
4
+ "version": "0.1.15",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -24,7 +24,7 @@
24
24
  "fangui": "bin/fang-ui.js"
25
25
  },
26
26
  "dependencies": {
27
- "@fangzhongya/utils": "0.0.44"
27
+ "@fangzhongya/utils": "0.0.45"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@fangzhongya/create": "0.2.41",
@@ -50,10 +50,10 @@
50
50
  "vuedraggable": "4.1.0",
51
51
  "vxe-table": "4.17.12",
52
52
  "@fang-ui/components": "0.0.1-0",
53
- "@fang-ui/directives": "0.0.1-0",
53
+ "@fang-ui/hooks": "0.0.1-0",
54
54
  "@fang-ui/icons": "0.0.1-0",
55
+ "@fang-ui/directives": "0.0.1-0",
55
56
  "@fang-ui/locale": "0.0.1-0",
56
- "@fang-ui/hooks": "0.0.1-0",
57
57
  "@fang-ui/theme": "0.0.1-0",
58
58
  "@fang-ui/types": "0.0.1-0",
59
59
  "@fang-ui/utils": "0.0.1-0"
File without changes