@sepveneto/dnde-core 0.4.2 → 0.4.4
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-6MWWYHG2.js → chunk-77RZWUI5.js} +1 -1
- package/dist/{chunk-ZH4BREEZ.js → chunk-ZYXSKUF4.js} +9 -9
- package/dist/class/Node.cjs +1 -1
- package/dist/class/Node.d.cts +1 -0
- package/dist/class/Node.d.ts +1 -0
- package/dist/class/Node.js +1 -1
- package/dist/class/index.cjs +1 -1
- package/dist/class/index.js +1 -1
- package/dist/helper/index.cjs +9 -9
- package/dist/helper/index.js +1 -1
- package/dist/helper/schema.cjs +9 -9
- package/dist/helper/schema.d.cts +1 -4
- package/dist/helper/schema.d.ts +1 -4
- package/dist/helper/schema.js +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ var Node = class _Node {
|
|
|
14
14
|
this.hovering = false;
|
|
15
15
|
this.dragging = false;
|
|
16
16
|
this.widget = widget;
|
|
17
|
-
this.wid = v4();
|
|
17
|
+
this.wid = (info == null ? void 0 : info.uuid) || v4();
|
|
18
18
|
this.list = (info == null ? void 0 : info.list) || [];
|
|
19
19
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
20
20
|
this.style = (info == null ? void 0 : info.style) || {};
|
|
@@ -64,15 +64,15 @@ var schema = {
|
|
|
64
64
|
rules: normalizeRules(config)
|
|
65
65
|
};
|
|
66
66
|
},
|
|
67
|
-
image(config) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
},
|
|
67
|
+
// image(config: BaseConfig & { attrs?: ImageInstance['$props'] }): SchemaItem {
|
|
68
|
+
// return {
|
|
69
|
+
// label: config.label,
|
|
70
|
+
// key: config.key,
|
|
71
|
+
// type: 'image',
|
|
72
|
+
// attrs: config.attrs,
|
|
73
|
+
// rules: normalizeRules(config),
|
|
74
|
+
// }
|
|
75
|
+
// },
|
|
76
76
|
time(config) {
|
|
77
77
|
return {
|
|
78
78
|
label: config.label,
|
package/dist/class/Node.cjs
CHANGED
|
@@ -68,7 +68,7 @@ var Node = class _Node {
|
|
|
68
68
|
this.hovering = false;
|
|
69
69
|
this.dragging = false;
|
|
70
70
|
this.widget = widget;
|
|
71
|
-
this.wid = (0, import_uuid.v4)();
|
|
71
|
+
this.wid = (info == null ? void 0 : info.uuid) || (0, import_uuid.v4)();
|
|
72
72
|
this.list = (info == null ? void 0 : info.list) || [];
|
|
73
73
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
74
74
|
this.style = (info == null ? void 0 : info.style) || {};
|
package/dist/class/Node.d.cts
CHANGED
package/dist/class/Node.d.ts
CHANGED
package/dist/class/Node.js
CHANGED
package/dist/class/index.cjs
CHANGED
|
@@ -151,7 +151,7 @@ var Node = class _Node {
|
|
|
151
151
|
this.hovering = false;
|
|
152
152
|
this.dragging = false;
|
|
153
153
|
this.widget = widget;
|
|
154
|
-
this.wid = (0, import_uuid.v4)();
|
|
154
|
+
this.wid = (info == null ? void 0 : info.uuid) || (0, import_uuid.v4)();
|
|
155
155
|
this.list = (info == null ? void 0 : info.list) || [];
|
|
156
156
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
157
157
|
this.style = (info == null ? void 0 : info.style) || {};
|
package/dist/class/index.js
CHANGED
package/dist/helper/index.cjs
CHANGED
|
@@ -127,15 +127,15 @@ var schema = {
|
|
|
127
127
|
rules: normalizeRules(config)
|
|
128
128
|
};
|
|
129
129
|
},
|
|
130
|
-
image(config) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
},
|
|
130
|
+
// image(config: BaseConfig & { attrs?: ImageInstance['$props'] }): SchemaItem {
|
|
131
|
+
// return {
|
|
132
|
+
// label: config.label,
|
|
133
|
+
// key: config.key,
|
|
134
|
+
// type: 'image',
|
|
135
|
+
// attrs: config.attrs,
|
|
136
|
+
// rules: normalizeRules(config),
|
|
137
|
+
// }
|
|
138
|
+
// },
|
|
139
139
|
time(config) {
|
|
140
140
|
return {
|
|
141
141
|
label: config.label,
|
package/dist/helper/index.js
CHANGED
package/dist/helper/schema.cjs
CHANGED
|
@@ -91,15 +91,15 @@ var schema = {
|
|
|
91
91
|
rules: normalizeRules(config)
|
|
92
92
|
};
|
|
93
93
|
},
|
|
94
|
-
image(config) {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
},
|
|
94
|
+
// image(config: BaseConfig & { attrs?: ImageInstance['$props'] }): SchemaItem {
|
|
95
|
+
// return {
|
|
96
|
+
// label: config.label,
|
|
97
|
+
// key: config.key,
|
|
98
|
+
// type: 'image',
|
|
99
|
+
// attrs: config.attrs,
|
|
100
|
+
// rules: normalizeRules(config),
|
|
101
|
+
// }
|
|
102
|
+
// },
|
|
103
103
|
time(config) {
|
|
104
104
|
return {
|
|
105
105
|
label: config.label,
|
package/dist/helper/schema.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputInstance, InputNumberInstance, SelectInstance, RadioInstance, SwitchInstance,
|
|
1
|
+
import { InputInstance, InputNumberInstance, SelectInstance, RadioInstance, SwitchInstance, DatePickerInstance, ColorPickerInstance } from 'element-plus';
|
|
2
2
|
import { k as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-Dfw3PnBq.cjs';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import 'async-validator';
|
|
@@ -32,9 +32,6 @@ declare const schema: {
|
|
|
32
32
|
switch(config: BaseConfig & {
|
|
33
33
|
attrs?: SwitchInstance["$props"];
|
|
34
34
|
}): SchemaItem;
|
|
35
|
-
image(config: BaseConfig & {
|
|
36
|
-
attrs?: ImageInstance["$props"];
|
|
37
|
-
}): SchemaItem;
|
|
38
35
|
time(config: BaseConfig & {
|
|
39
36
|
attrs?: Partial<DatePickerInstance["$props"]>;
|
|
40
37
|
}): SchemaItem;
|
package/dist/helper/schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputInstance, InputNumberInstance, SelectInstance, RadioInstance, SwitchInstance,
|
|
1
|
+
import { InputInstance, InputNumberInstance, SelectInstance, RadioInstance, SwitchInstance, DatePickerInstance, ColorPickerInstance } from 'element-plus';
|
|
2
2
|
import { k as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-Dfw3PnBq.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import 'async-validator';
|
|
@@ -32,9 +32,6 @@ declare const schema: {
|
|
|
32
32
|
switch(config: BaseConfig & {
|
|
33
33
|
attrs?: SwitchInstance["$props"];
|
|
34
34
|
}): SchemaItem;
|
|
35
|
-
image(config: BaseConfig & {
|
|
36
|
-
attrs?: ImageInstance["$props"];
|
|
37
|
-
}): SchemaItem;
|
|
38
35
|
time(config: BaseConfig & {
|
|
39
36
|
attrs?: Partial<DatePickerInstance["$props"]>;
|
|
40
37
|
}): SchemaItem;
|
package/dist/helper/schema.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -131,15 +131,15 @@ var schema = {
|
|
|
131
131
|
rules: normalizeRules(config)
|
|
132
132
|
};
|
|
133
133
|
},
|
|
134
|
-
image(config) {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
},
|
|
134
|
+
// image(config: BaseConfig & { attrs?: ImageInstance['$props'] }): SchemaItem {
|
|
135
|
+
// return {
|
|
136
|
+
// label: config.label,
|
|
137
|
+
// key: config.key,
|
|
138
|
+
// type: 'image',
|
|
139
|
+
// attrs: config.attrs,
|
|
140
|
+
// rules: normalizeRules(config),
|
|
141
|
+
// }
|
|
142
|
+
// },
|
|
143
143
|
time(config) {
|
|
144
144
|
return {
|
|
145
145
|
label: config.label,
|
package/dist/index.js
CHANGED