@sepveneto/dnde-core 0.4.6 → 0.4.7
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/{chunk-2KTF7TW7.js → chunk-M7DQRYCX.js} +8 -1
- package/dist/helper/index.cjs +8 -1
- package/dist/helper/index.js +1 -1
- package/dist/helper/schema.cjs +8 -1
- package/dist/helper/schema.d.cts +1 -0
- package/dist/helper/schema.d.ts +1 -0
- package/dist/helper/schema.js +1 -1
- package/dist/index.cjs +8 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -17,7 +17,14 @@ var schema = {
|
|
|
17
17
|
rules: normalizeRules(config),
|
|
18
18
|
attrs: config.attrs
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
switch (type) {
|
|
21
|
+
case "select":
|
|
22
|
+
case "radio":
|
|
23
|
+
case "radioButton":
|
|
24
|
+
return __spreadProps(__spreadValues({}, base), { type, options: config.options });
|
|
25
|
+
default:
|
|
26
|
+
return base;
|
|
27
|
+
}
|
|
21
28
|
},
|
|
22
29
|
input(config) {
|
|
23
30
|
return this._create("input", config);
|
package/dist/helper/index.cjs
CHANGED
|
@@ -93,7 +93,14 @@ var schema = {
|
|
|
93
93
|
rules: normalizeRules(config),
|
|
94
94
|
attrs: config.attrs
|
|
95
95
|
};
|
|
96
|
-
|
|
96
|
+
switch (type) {
|
|
97
|
+
case "select":
|
|
98
|
+
case "radio":
|
|
99
|
+
case "radioButton":
|
|
100
|
+
return __spreadProps(__spreadValues({}, base), { type, options: config.options });
|
|
101
|
+
default:
|
|
102
|
+
return base;
|
|
103
|
+
}
|
|
97
104
|
},
|
|
98
105
|
input(config) {
|
|
99
106
|
return this._create("input", config);
|
package/dist/helper/index.js
CHANGED
package/dist/helper/schema.cjs
CHANGED
|
@@ -57,7 +57,14 @@ var schema = {
|
|
|
57
57
|
rules: normalizeRules(config),
|
|
58
58
|
attrs: config.attrs
|
|
59
59
|
};
|
|
60
|
-
|
|
60
|
+
switch (type) {
|
|
61
|
+
case "select":
|
|
62
|
+
case "radio":
|
|
63
|
+
case "radioButton":
|
|
64
|
+
return __spreadProps(__spreadValues({}, base), { type, options: config.options });
|
|
65
|
+
default:
|
|
66
|
+
return base;
|
|
67
|
+
}
|
|
61
68
|
},
|
|
62
69
|
input(config) {
|
|
63
70
|
return this._create("input", config);
|
package/dist/helper/schema.d.cts
CHANGED
package/dist/helper/schema.d.ts
CHANGED
package/dist/helper/schema.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -97,7 +97,14 @@ var schema = {
|
|
|
97
97
|
rules: normalizeRules(config),
|
|
98
98
|
attrs: config.attrs
|
|
99
99
|
};
|
|
100
|
-
|
|
100
|
+
switch (type) {
|
|
101
|
+
case "select":
|
|
102
|
+
case "radio":
|
|
103
|
+
case "radioButton":
|
|
104
|
+
return __spreadProps(__spreadValues({}, base), { type, options: config.options });
|
|
105
|
+
default:
|
|
106
|
+
return base;
|
|
107
|
+
}
|
|
101
108
|
},
|
|
102
109
|
input(config) {
|
|
103
110
|
return this._create("input", config);
|
package/dist/index.js
CHANGED