@sepveneto/dnde-core 0.2.0 → 0.3.1
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-5TEJAPQD.js → chunk-KTDOAEEU.js} +9 -0
- package/dist/helper/index.cjs +9 -0
- package/dist/helper/index.js +1 -1
- package/dist/helper/schema.cjs +9 -0
- package/dist/helper/schema.d.cts +4 -1
- package/dist/helper/schema.d.ts +4 -1
- package/dist/helper/schema.js +1 -1
- package/dist/index.cjs +9 -0
- package/dist/index.js +1 -1
- package/dist/tokens.d.cts +1 -0
- package/dist/tokens.d.ts +1 -0
- package/package.json +1 -6
|
@@ -51,6 +51,15 @@ var schema = {
|
|
|
51
51
|
rules: normalizeRules(config)
|
|
52
52
|
};
|
|
53
53
|
},
|
|
54
|
+
time(config) {
|
|
55
|
+
return {
|
|
56
|
+
label: config.label,
|
|
57
|
+
key: config.key,
|
|
58
|
+
type: "datetimePicker",
|
|
59
|
+
attrs: config.attrs,
|
|
60
|
+
rules: normalizeRules(config)
|
|
61
|
+
};
|
|
62
|
+
},
|
|
54
63
|
custom(config) {
|
|
55
64
|
return {
|
|
56
65
|
label: config.label,
|
package/dist/helper/index.cjs
CHANGED
|
@@ -114,6 +114,15 @@ var schema = {
|
|
|
114
114
|
rules: normalizeRules(config)
|
|
115
115
|
};
|
|
116
116
|
},
|
|
117
|
+
time(config) {
|
|
118
|
+
return {
|
|
119
|
+
label: config.label,
|
|
120
|
+
key: config.key,
|
|
121
|
+
type: "datetimePicker",
|
|
122
|
+
attrs: config.attrs,
|
|
123
|
+
rules: normalizeRules(config)
|
|
124
|
+
};
|
|
125
|
+
},
|
|
117
126
|
custom(config) {
|
|
118
127
|
return {
|
|
119
128
|
label: config.label,
|
package/dist/helper/index.js
CHANGED
package/dist/helper/schema.cjs
CHANGED
|
@@ -78,6 +78,15 @@ var schema = {
|
|
|
78
78
|
rules: normalizeRules(config)
|
|
79
79
|
};
|
|
80
80
|
},
|
|
81
|
+
time(config) {
|
|
82
|
+
return {
|
|
83
|
+
label: config.label,
|
|
84
|
+
key: config.key,
|
|
85
|
+
type: "datetimePicker",
|
|
86
|
+
attrs: config.attrs,
|
|
87
|
+
rules: normalizeRules(config)
|
|
88
|
+
};
|
|
89
|
+
},
|
|
81
90
|
custom(config) {
|
|
82
91
|
return {
|
|
83
92
|
label: config.label,
|
package/dist/helper/schema.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputInstance, InputNumberInstance, SelectInstance, ElOption, SwitchInstance, ImageInstance } from 'element-plus';
|
|
1
|
+
import { InputInstance, InputNumberInstance, SelectInstance, ElOption, SwitchInstance, ImageInstance, DatePickerInstance } from 'element-plus';
|
|
2
2
|
import { j as SchemaItem } from '../Widget-BXpoxMwR.cjs';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import 'async-validator';
|
|
@@ -28,6 +28,9 @@ declare const schema: {
|
|
|
28
28
|
image(config: BaseConfig & {
|
|
29
29
|
attrs?: ImageInstance["$props"];
|
|
30
30
|
}): SchemaItem;
|
|
31
|
+
time(config: BaseConfig & {
|
|
32
|
+
attrs?: Partial<DatePickerInstance["$props"]>;
|
|
33
|
+
}): SchemaItem;
|
|
31
34
|
custom(config: BaseConfig & {
|
|
32
35
|
attrs?: Record<string, any>;
|
|
33
36
|
type: string;
|
package/dist/helper/schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputInstance, InputNumberInstance, SelectInstance, ElOption, SwitchInstance, ImageInstance } from 'element-plus';
|
|
1
|
+
import { InputInstance, InputNumberInstance, SelectInstance, ElOption, SwitchInstance, ImageInstance, DatePickerInstance } from 'element-plus';
|
|
2
2
|
import { j as SchemaItem } from '../Widget-BXpoxMwR.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import 'async-validator';
|
|
@@ -28,6 +28,9 @@ declare const schema: {
|
|
|
28
28
|
image(config: BaseConfig & {
|
|
29
29
|
attrs?: ImageInstance["$props"];
|
|
30
30
|
}): SchemaItem;
|
|
31
|
+
time(config: BaseConfig & {
|
|
32
|
+
attrs?: Partial<DatePickerInstance["$props"]>;
|
|
33
|
+
}): SchemaItem;
|
|
31
34
|
custom(config: BaseConfig & {
|
|
32
35
|
attrs?: Record<string, any>;
|
|
33
36
|
type: string;
|
package/dist/helper/schema.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -118,6 +118,15 @@ var schema = {
|
|
|
118
118
|
rules: normalizeRules(config)
|
|
119
119
|
};
|
|
120
120
|
},
|
|
121
|
+
time(config) {
|
|
122
|
+
return {
|
|
123
|
+
label: config.label,
|
|
124
|
+
key: config.key,
|
|
125
|
+
type: "datetimePicker",
|
|
126
|
+
attrs: config.attrs,
|
|
127
|
+
rules: normalizeRules(config)
|
|
128
|
+
};
|
|
129
|
+
},
|
|
121
130
|
custom(config) {
|
|
122
131
|
return {
|
|
123
132
|
label: config.label,
|
package/dist/index.js
CHANGED
package/dist/tokens.d.cts
CHANGED
package/dist/tokens.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sepveneto/dnde-core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "sepveneto",
|
|
7
7
|
"license": "MIT",
|
|
@@ -17,11 +17,6 @@
|
|
|
17
17
|
"import": "./dist/index.js",
|
|
18
18
|
"require": "./dist/index.cjs"
|
|
19
19
|
},
|
|
20
|
-
"./vue": {
|
|
21
|
-
"types": "./dist/vue/index.d.ts",
|
|
22
|
-
"import": "./dist/vue/index.js",
|
|
23
|
-
"require": "./dist/vue/index.cjs"
|
|
24
|
-
},
|
|
25
20
|
"./class": {
|
|
26
21
|
"types": "./dist/class/index.d.ts",
|
|
27
22
|
"import": "./dist/class/index.js",
|