@sunny-base-web/effects 0.8.83 → 0.8.84

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.
package/dist/index.mjs CHANGED
@@ -14603,15 +14603,24 @@ function $Q(A) {
14603
14603
  }[A] || "Input";
14604
14604
  }
14605
14605
  function Ac(A) {
14606
- return A.map((e) => ({
14607
- label: e.label,
14608
- fieldName: e.prop,
14609
- component: $Q(e.type),
14610
- componentProps: {
14611
- placeholder: e.meta?.placeholder || `请输入${e.label}`,
14612
- ...e.meta
14613
- }
14614
- }));
14606
+ return A.map((e) => {
14607
+ const g = {
14608
+ label: e.label,
14609
+ fieldName: e.prop,
14610
+ component: $Q(e.type),
14611
+ componentProps: {
14612
+ placeholder: e.meta?.placeholder || `请输入${e.label}`,
14613
+ ...e.meta
14614
+ }
14615
+ };
14616
+ return e.type === "select" && Array.isArray(e.optionlist) && e.optionlist.length > 0 && (g.componentProps.options = e.optionlist.map((t) => ({
14617
+ label: t.cKeyname,
14618
+ value: t.cKeynumb
14619
+ }))), e.seltype === "3" && e.selval && (g.component = "SunnyCustomizeSelect", g.componentProps = {
14620
+ ...g.componentProps,
14621
+ cNum: e.selval
14622
+ }), g;
14623
+ });
14615
14624
  }
14616
14625
  function ec(A) {
14617
14626
  return A.map((e) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunny-base-web/effects",
3
- "version": "0.8.83",
3
+ "version": "0.8.84",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist"
@@ -34,11 +34,11 @@
34
34
  "vxe-table": "^4.17.49",
35
35
  "xe-utils": "3.9.1",
36
36
  "zod": "^4.3.6",
37
- "@sunny-base-web/locales": "^0.8.83",
38
- "@sunny-base-web/stores": "^0.8.83",
39
- "@sunny-base-web/icons": "^0.8.83",
40
- "@sunny-base-web/ui": "^0.8.83",
41
- "@sunny-base-web/utils": "^0.8.83"
37
+ "@sunny-base-web/icons": "^0.8.84",
38
+ "@sunny-base-web/stores": "^0.8.84",
39
+ "@sunny-base-web/locales": "^0.8.84",
40
+ "@sunny-base-web/ui": "^0.8.84",
41
+ "@sunny-base-web/utils": "^0.8.84"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/lodash-es": "^4.17.12",
@@ -49,10 +49,10 @@
49
49
  "typescript": "^5.7.2",
50
50
  "vite": "^7.3.1",
51
51
  "vite-plugin-dts": "^4.5.4",
52
- "@sunny-base-web/constants": "0.8.83",
52
+ "@sunny-base-web/constants": "0.8.84",
53
53
  "@sunny-base-web/designer-studio": "^0.1.1",
54
- "@sunny-base-web/tsconfig": "0.8.83",
55
- "@sunny-base-web/tailwind-config": "0.8.83"
54
+ "@sunny-base-web/tsconfig": "0.8.84",
55
+ "@sunny-base-web/tailwind-config": "0.8.84"
56
56
  },
57
57
  "publishConfig": {
58
58
  "style": "./dist/effects.css",