@sepveneto/dnde-core 0.4.7 → 0.4.9
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/{Widget-xF5X82JJ.d.cts → Widget-CHTbCsAd.d.cts} +5 -2
- package/dist/{Widget-xF5X82JJ.d.ts → Widget-CHTbCsAd.d.ts} +5 -2
- package/dist/{chunk-M7DQRYCX.js → chunk-I4XJIKFE.js} +1 -1
- package/dist/{chunk-CETJOSM3.js → chunk-KJZSF66T.js} +0 -2
- package/dist/{chunk-KHPFRVKB.js → chunk-LTDSWBOW.js} +6 -1
- package/dist/{chunk-ZNYRMDSU.js → chunk-XDF4SBRY.js} +1 -1
- package/dist/class/Container.cjs +6 -1
- package/dist/class/Container.d.cts +1 -1
- package/dist/class/Container.d.ts +1 -1
- package/dist/class/Container.js +2 -2
- package/dist/class/Node.cjs +0 -2
- package/dist/class/Node.d.cts +1 -1
- package/dist/class/Node.d.ts +1 -1
- package/dist/class/Node.js +1 -1
- package/dist/class/Widget.cjs +6 -1
- package/dist/class/Widget.d.cts +1 -1
- package/dist/class/Widget.d.ts +1 -1
- package/dist/class/Widget.js +1 -1
- package/dist/class/index.cjs +6 -3
- package/dist/class/index.d.cts +1 -1
- package/dist/class/index.d.ts +1 -1
- package/dist/class/index.js +3 -3
- package/dist/helper/index.cjs +1 -1
- package/dist/helper/index.d.cts +1 -1
- package/dist/helper/index.d.ts +1 -1
- package/dist/helper/index.js +1 -1
- package/dist/helper/schema.cjs +1 -1
- package/dist/helper/schema.d.cts +5 -1
- package/dist/helper/schema.d.ts +5 -1
- package/dist/helper/schema.js +1 -1
- package/dist/helper/widget.d.cts +3 -3
- package/dist/helper/widget.d.ts +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/tokens.d.cts +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +2 -2
|
@@ -19,7 +19,7 @@ interface Base {
|
|
|
19
19
|
meta?: {
|
|
20
20
|
draggable?: boolean;
|
|
21
21
|
visible?: boolean;
|
|
22
|
-
fixed?: boolean;
|
|
22
|
+
fixed?: boolean | 'header' | 'footer';
|
|
23
23
|
};
|
|
24
24
|
schema?: {
|
|
25
25
|
props?: SchemaItem[];
|
|
@@ -147,6 +147,7 @@ interface SchemaItemSelect extends SchemaItemBase {
|
|
|
147
147
|
type: 'select';
|
|
148
148
|
options?: Option['$props'][];
|
|
149
149
|
attrs?: SelectInstance['$props'];
|
|
150
|
+
link?: Record<string | number, SchemaItem[]>;
|
|
150
151
|
}
|
|
151
152
|
interface SchemaItemNumber extends SchemaItemBase {
|
|
152
153
|
type: 'number';
|
|
@@ -180,11 +181,13 @@ interface SchemaItemRadio extends SchemaItemBase {
|
|
|
180
181
|
type: 'radio';
|
|
181
182
|
attrs?: RadioGroupInstance['$props'];
|
|
182
183
|
options?: RadioOption['$props'][];
|
|
184
|
+
link?: Record<string | number, SchemaItem[]>;
|
|
183
185
|
}
|
|
184
186
|
interface SchemaItemRadioButton extends SchemaItemBase {
|
|
185
187
|
type: 'radioButton';
|
|
186
188
|
attrs?: RadioGroupInstance['$props'];
|
|
187
189
|
options?: RadioButtonOption['$props'][];
|
|
190
|
+
link?: Record<string | number, SchemaItem[]>;
|
|
188
191
|
}
|
|
189
192
|
type SchemaItem = SchemaItemInput | SchemaItemSelect | SchemaItemNumber | SchemaItemSwitch | SchemaItemImage | SchemaItemCustom | SchemaItemStyleNumber | SchemaItemRadio | SchemaItemRadioButton | SchemaItemDatetimePicker | SchemaItemColorPicker;
|
|
190
193
|
declare class Widget {
|
|
@@ -200,7 +203,7 @@ declare class Widget {
|
|
|
200
203
|
get defaultStyle(): (vue.CSSProperties & WidgetPos) | undefined;
|
|
201
204
|
get defaultData(): any[] | Record<string, any> | undefined;
|
|
202
205
|
get draggable(): boolean;
|
|
203
|
-
get isFixed():
|
|
206
|
+
get isFixed(): false | "header" | "footer" | undefined;
|
|
204
207
|
get visible(): boolean;
|
|
205
208
|
get validatorProps(): Validator;
|
|
206
209
|
get validatorStyle(): Validator;
|
|
@@ -19,7 +19,7 @@ interface Base {
|
|
|
19
19
|
meta?: {
|
|
20
20
|
draggable?: boolean;
|
|
21
21
|
visible?: boolean;
|
|
22
|
-
fixed?: boolean;
|
|
22
|
+
fixed?: boolean | 'header' | 'footer';
|
|
23
23
|
};
|
|
24
24
|
schema?: {
|
|
25
25
|
props?: SchemaItem[];
|
|
@@ -147,6 +147,7 @@ interface SchemaItemSelect extends SchemaItemBase {
|
|
|
147
147
|
type: 'select';
|
|
148
148
|
options?: Option['$props'][];
|
|
149
149
|
attrs?: SelectInstance['$props'];
|
|
150
|
+
link?: Record<string | number, SchemaItem[]>;
|
|
150
151
|
}
|
|
151
152
|
interface SchemaItemNumber extends SchemaItemBase {
|
|
152
153
|
type: 'number';
|
|
@@ -180,11 +181,13 @@ interface SchemaItemRadio extends SchemaItemBase {
|
|
|
180
181
|
type: 'radio';
|
|
181
182
|
attrs?: RadioGroupInstance['$props'];
|
|
182
183
|
options?: RadioOption['$props'][];
|
|
184
|
+
link?: Record<string | number, SchemaItem[]>;
|
|
183
185
|
}
|
|
184
186
|
interface SchemaItemRadioButton extends SchemaItemBase {
|
|
185
187
|
type: 'radioButton';
|
|
186
188
|
attrs?: RadioGroupInstance['$props'];
|
|
187
189
|
options?: RadioButtonOption['$props'][];
|
|
190
|
+
link?: Record<string | number, SchemaItem[]>;
|
|
188
191
|
}
|
|
189
192
|
type SchemaItem = SchemaItemInput | SchemaItemSelect | SchemaItemNumber | SchemaItemSwitch | SchemaItemImage | SchemaItemCustom | SchemaItemStyleNumber | SchemaItemRadio | SchemaItemRadioButton | SchemaItemDatetimePicker | SchemaItemColorPicker;
|
|
190
193
|
declare class Widget {
|
|
@@ -200,7 +203,7 @@ declare class Widget {
|
|
|
200
203
|
get defaultStyle(): (vue.CSSProperties & WidgetPos) | undefined;
|
|
201
204
|
get defaultData(): any[] | Record<string, any> | undefined;
|
|
202
205
|
get draggable(): boolean;
|
|
203
|
-
get isFixed():
|
|
206
|
+
get isFixed(): false | "header" | "footer" | undefined;
|
|
204
207
|
get visible(): boolean;
|
|
205
208
|
get validatorProps(): Validator;
|
|
206
209
|
get validatorStyle(): Validator;
|
|
@@ -21,7 +21,7 @@ var schema = {
|
|
|
21
21
|
case "select":
|
|
22
22
|
case "radio":
|
|
23
23
|
case "radioButton":
|
|
24
|
-
return __spreadProps(__spreadValues({}, base), { type, options: config.options });
|
|
24
|
+
return __spreadProps(__spreadValues({}, base), { type, options: config.options, link: config.link });
|
|
25
25
|
default:
|
|
26
26
|
return base;
|
|
27
27
|
}
|
|
@@ -33,7 +33,12 @@ var Widget = class _Widget {
|
|
|
33
33
|
}
|
|
34
34
|
get isFixed() {
|
|
35
35
|
var _a;
|
|
36
|
-
|
|
36
|
+
const fixed = (_a = this._data.meta) == null ? void 0 : _a.fixed;
|
|
37
|
+
if (fixed === true) {
|
|
38
|
+
return "header";
|
|
39
|
+
} else {
|
|
40
|
+
return fixed;
|
|
41
|
+
}
|
|
37
42
|
}
|
|
38
43
|
get visible() {
|
|
39
44
|
var _a, _b;
|
package/dist/class/Container.cjs
CHANGED
|
@@ -69,7 +69,12 @@ var Widget = class _Widget {
|
|
|
69
69
|
}
|
|
70
70
|
get isFixed() {
|
|
71
71
|
var _a;
|
|
72
|
-
|
|
72
|
+
const fixed = (_a = this._data.meta) == null ? void 0 : _a.fixed;
|
|
73
|
+
if (fixed === true) {
|
|
74
|
+
return "header";
|
|
75
|
+
} else {
|
|
76
|
+
return fixed;
|
|
77
|
+
}
|
|
73
78
|
}
|
|
74
79
|
get visible() {
|
|
75
80
|
var _a, _b;
|
package/dist/class/Container.js
CHANGED
package/dist/class/Node.cjs
CHANGED
package/dist/class/Node.d.cts
CHANGED
package/dist/class/Node.d.ts
CHANGED
package/dist/class/Node.js
CHANGED
package/dist/class/Widget.cjs
CHANGED
|
@@ -67,7 +67,12 @@ var Widget = class _Widget {
|
|
|
67
67
|
}
|
|
68
68
|
get isFixed() {
|
|
69
69
|
var _a;
|
|
70
|
-
|
|
70
|
+
const fixed = (_a = this._data.meta) == null ? void 0 : _a.fixed;
|
|
71
|
+
if (fixed === true) {
|
|
72
|
+
return "header";
|
|
73
|
+
} else {
|
|
74
|
+
return fixed;
|
|
75
|
+
}
|
|
71
76
|
}
|
|
72
77
|
get visible() {
|
|
73
78
|
var _a, _b;
|
package/dist/class/Widget.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-
|
|
1
|
+
export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-CHTbCsAd.cjs';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import 'element-plus';
|
|
4
4
|
import 'async-validator';
|
package/dist/class/Widget.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-
|
|
1
|
+
export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-CHTbCsAd.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import 'element-plus';
|
|
4
4
|
import 'async-validator';
|
package/dist/class/Widget.js
CHANGED
package/dist/class/index.cjs
CHANGED
|
@@ -106,7 +106,12 @@ var Widget = class _Widget {
|
|
|
106
106
|
}
|
|
107
107
|
get isFixed() {
|
|
108
108
|
var _a;
|
|
109
|
-
|
|
109
|
+
const fixed = (_a = this._data.meta) == null ? void 0 : _a.fixed;
|
|
110
|
+
if (fixed === true) {
|
|
111
|
+
return "header";
|
|
112
|
+
} else {
|
|
113
|
+
return fixed;
|
|
114
|
+
}
|
|
110
115
|
}
|
|
111
116
|
get visible() {
|
|
112
117
|
var _a, _b;
|
|
@@ -226,8 +231,6 @@ var Node = class _Node {
|
|
|
226
231
|
_uuid: this.wid,
|
|
227
232
|
_name: this.name,
|
|
228
233
|
_view: this.type,
|
|
229
|
-
// TODO
|
|
230
|
-
isShow: true,
|
|
231
234
|
data: this.data,
|
|
232
235
|
style: this.style,
|
|
233
236
|
list: (_a = this.list) == null ? void 0 : _a.map((item) => item.parse())
|
package/dist/class/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Container } from './Container.cjs';
|
|
2
2
|
export { Node, RootNode } from './Node.cjs';
|
|
3
|
-
export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-
|
|
3
|
+
export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-CHTbCsAd.cjs';
|
|
4
4
|
import 'vue';
|
|
5
5
|
import 'element-plus';
|
|
6
6
|
import 'async-validator';
|
package/dist/class/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Container } from './Container.js';
|
|
2
2
|
export { Node, RootNode } from './Node.js';
|
|
3
|
-
export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-
|
|
3
|
+
export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-CHTbCsAd.js';
|
|
4
4
|
import 'vue';
|
|
5
5
|
import 'element-plus';
|
|
6
6
|
import 'async-validator';
|
package/dist/class/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Container
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XDF4SBRY.js";
|
|
4
4
|
import {
|
|
5
5
|
Node,
|
|
6
6
|
RootNode
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-KJZSF66T.js";
|
|
8
8
|
import {
|
|
9
9
|
Widget
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-LTDSWBOW.js";
|
|
11
11
|
import "../chunk-6FNC3XMI.js";
|
|
12
12
|
export {
|
|
13
13
|
Container,
|
package/dist/helper/index.cjs
CHANGED
|
@@ -97,7 +97,7 @@ var schema = {
|
|
|
97
97
|
case "select":
|
|
98
98
|
case "radio":
|
|
99
99
|
case "radioButton":
|
|
100
|
-
return __spreadProps(__spreadValues({}, base), { type, options: config.options });
|
|
100
|
+
return __spreadProps(__spreadValues({}, base), { type, options: config.options, link: config.link });
|
|
101
101
|
default:
|
|
102
102
|
return base;
|
|
103
103
|
}
|
package/dist/helper/index.d.cts
CHANGED
|
@@ -2,6 +2,6 @@ export { EventEmitter } from './EventEmitter.cjs';
|
|
|
2
2
|
export { schema } from './schema.cjs';
|
|
3
3
|
export { widget, widgetType } from './widget.cjs';
|
|
4
4
|
import 'element-plus';
|
|
5
|
-
import '../Widget-
|
|
5
|
+
import '../Widget-CHTbCsAd.cjs';
|
|
6
6
|
import 'vue';
|
|
7
7
|
import 'async-validator';
|
package/dist/helper/index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ export { EventEmitter } from './EventEmitter.js';
|
|
|
2
2
|
export { schema } from './schema.js';
|
|
3
3
|
export { widget, widgetType } from './widget.js';
|
|
4
4
|
import 'element-plus';
|
|
5
|
-
import '../Widget-
|
|
5
|
+
import '../Widget-CHTbCsAd.js';
|
|
6
6
|
import 'vue';
|
|
7
7
|
import 'async-validator';
|
package/dist/helper/index.js
CHANGED
package/dist/helper/schema.cjs
CHANGED
|
@@ -61,7 +61,7 @@ var schema = {
|
|
|
61
61
|
case "select":
|
|
62
62
|
case "radio":
|
|
63
63
|
case "radioButton":
|
|
64
|
-
return __spreadProps(__spreadValues({}, base), { type, options: config.options });
|
|
64
|
+
return __spreadProps(__spreadValues({}, base), { type, options: config.options, link: config.link });
|
|
65
65
|
default:
|
|
66
66
|
return base;
|
|
67
67
|
}
|
package/dist/helper/schema.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormItemProps, InputInstance, InputNumberInstance, SelectInstance, RadioInstance, SwitchInstance, DatePickerInstance, ColorPickerInstance } from 'element-plus';
|
|
2
|
-
import { l as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-
|
|
2
|
+
import { l as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-CHTbCsAd.cjs';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import 'async-validator';
|
|
5
5
|
|
|
@@ -15,6 +15,7 @@ declare const schema: {
|
|
|
15
15
|
_create(type: any, config: BaseConfig & {
|
|
16
16
|
attrs?: any;
|
|
17
17
|
options?: any;
|
|
18
|
+
link?: any;
|
|
18
19
|
}): SchemaItem;
|
|
19
20
|
input(config: BaseConfig & {
|
|
20
21
|
attrs?: InputInstance["$props"];
|
|
@@ -25,14 +26,17 @@ declare const schema: {
|
|
|
25
26
|
select(config: BaseConfig & {
|
|
26
27
|
attrs?: SelectInstance["$props"];
|
|
27
28
|
options?: Option["$props"][];
|
|
29
|
+
link?: Record<string, SchemaItem[]>;
|
|
28
30
|
}): SchemaItem;
|
|
29
31
|
radio(config: BaseConfig & {
|
|
30
32
|
attrs?: RadioInstance["$props"];
|
|
31
33
|
options?: RadioOption["$props"][];
|
|
34
|
+
link?: Record<string, SchemaItem[]>;
|
|
32
35
|
}): SchemaItem;
|
|
33
36
|
radioButton(config: BaseConfig & {
|
|
34
37
|
attrs?: RadioInstance["$props"];
|
|
35
38
|
options?: RadioButtonOption["$props"][];
|
|
39
|
+
link?: Record<string, SchemaItem[]>;
|
|
36
40
|
}): SchemaItem;
|
|
37
41
|
switch(config: BaseConfig & {
|
|
38
42
|
attrs?: SwitchInstance["$props"];
|
package/dist/helper/schema.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormItemProps, InputInstance, InputNumberInstance, SelectInstance, RadioInstance, SwitchInstance, DatePickerInstance, ColorPickerInstance } from 'element-plus';
|
|
2
|
-
import { l as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-
|
|
2
|
+
import { l as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-CHTbCsAd.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import 'async-validator';
|
|
5
5
|
|
|
@@ -15,6 +15,7 @@ declare const schema: {
|
|
|
15
15
|
_create(type: any, config: BaseConfig & {
|
|
16
16
|
attrs?: any;
|
|
17
17
|
options?: any;
|
|
18
|
+
link?: any;
|
|
18
19
|
}): SchemaItem;
|
|
19
20
|
input(config: BaseConfig & {
|
|
20
21
|
attrs?: InputInstance["$props"];
|
|
@@ -25,14 +26,17 @@ declare const schema: {
|
|
|
25
26
|
select(config: BaseConfig & {
|
|
26
27
|
attrs?: SelectInstance["$props"];
|
|
27
28
|
options?: Option["$props"][];
|
|
29
|
+
link?: Record<string, SchemaItem[]>;
|
|
28
30
|
}): SchemaItem;
|
|
29
31
|
radio(config: BaseConfig & {
|
|
30
32
|
attrs?: RadioInstance["$props"];
|
|
31
33
|
options?: RadioOption["$props"][];
|
|
34
|
+
link?: Record<string, SchemaItem[]>;
|
|
32
35
|
}): SchemaItem;
|
|
33
36
|
radioButton(config: BaseConfig & {
|
|
34
37
|
attrs?: RadioInstance["$props"];
|
|
35
38
|
options?: RadioButtonOption["$props"][];
|
|
39
|
+
link?: Record<string, SchemaItem[]>;
|
|
36
40
|
}): SchemaItem;
|
|
37
41
|
switch(config: BaseConfig & {
|
|
38
42
|
attrs?: SwitchInstance["$props"];
|
package/dist/helper/schema.js
CHANGED
package/dist/helper/widget.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as IWidget, l as SchemaItem, W as WidgetPos, B as Base } from '../Widget-
|
|
1
|
+
import { I as IWidget, l as SchemaItem, W as WidgetPos, B as Base } from '../Widget-CHTbCsAd.cjs';
|
|
2
2
|
import * as vue from 'vue';
|
|
3
3
|
import 'element-plus';
|
|
4
4
|
import 'async-validator';
|
|
@@ -43,7 +43,7 @@ declare const widget: {
|
|
|
43
43
|
meta: {
|
|
44
44
|
draggable?: boolean;
|
|
45
45
|
visible?: boolean;
|
|
46
|
-
fixed?: boolean;
|
|
46
|
+
fixed?: boolean | "header" | "footer";
|
|
47
47
|
} | undefined;
|
|
48
48
|
schema: {
|
|
49
49
|
props: SchemaItem[] | undefined;
|
|
@@ -70,7 +70,7 @@ declare const widget: {
|
|
|
70
70
|
meta: {
|
|
71
71
|
draggable?: boolean;
|
|
72
72
|
visible?: boolean;
|
|
73
|
-
fixed?: boolean;
|
|
73
|
+
fixed?: boolean | "header" | "footer";
|
|
74
74
|
} | undefined;
|
|
75
75
|
schema: {
|
|
76
76
|
props: SchemaItem[] | undefined;
|
package/dist/helper/widget.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as IWidget, l as SchemaItem, W as WidgetPos, B as Base } from '../Widget-
|
|
1
|
+
import { I as IWidget, l as SchemaItem, W as WidgetPos, B as Base } from '../Widget-CHTbCsAd.js';
|
|
2
2
|
import * as vue from 'vue';
|
|
3
3
|
import 'element-plus';
|
|
4
4
|
import 'async-validator';
|
|
@@ -43,7 +43,7 @@ declare const widget: {
|
|
|
43
43
|
meta: {
|
|
44
44
|
draggable?: boolean;
|
|
45
45
|
visible?: boolean;
|
|
46
|
-
fixed?: boolean;
|
|
46
|
+
fixed?: boolean | "header" | "footer";
|
|
47
47
|
} | undefined;
|
|
48
48
|
schema: {
|
|
49
49
|
props: SchemaItem[] | undefined;
|
|
@@ -70,7 +70,7 @@ declare const widget: {
|
|
|
70
70
|
meta: {
|
|
71
71
|
draggable?: boolean;
|
|
72
72
|
visible?: boolean;
|
|
73
|
-
fixed?: boolean;
|
|
73
|
+
fixed?: boolean | "header" | "footer";
|
|
74
74
|
} | undefined;
|
|
75
75
|
schema: {
|
|
76
76
|
props: SchemaItem[] | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -101,7 +101,7 @@ var schema = {
|
|
|
101
101
|
case "select":
|
|
102
102
|
case "radio":
|
|
103
103
|
case "radioButton":
|
|
104
|
-
return __spreadProps(__spreadValues({}, base), { type, options: config.options });
|
|
104
|
+
return __spreadProps(__spreadValues({}, base), { type, options: config.options, link: config.link });
|
|
105
105
|
default:
|
|
106
106
|
return base;
|
|
107
107
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ export { schema } from './helper/schema.cjs';
|
|
|
3
3
|
export { widget, widgetType } from './helper/widget.cjs';
|
|
4
4
|
export { createCopy, createDelete } from './internal.cjs';
|
|
5
5
|
export { EditorContext, editorContextKey } from './tokens.cjs';
|
|
6
|
-
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-
|
|
6
|
+
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-CHTbCsAd.cjs';
|
|
7
7
|
import 'element-plus';
|
|
8
8
|
import 'vue';
|
|
9
9
|
import './class/Node.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { schema } from './helper/schema.js';
|
|
|
3
3
|
export { widget, widgetType } from './helper/widget.js';
|
|
4
4
|
export { createCopy, createDelete } from './internal.js';
|
|
5
5
|
export { EditorContext, editorContextKey } from './tokens.js';
|
|
6
|
-
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-
|
|
6
|
+
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-CHTbCsAd.js';
|
|
7
7
|
import 'element-plus';
|
|
8
8
|
import 'vue';
|
|
9
9
|
import './class/Node.js';
|
package/dist/index.js
CHANGED
package/dist/internal.d.cts
CHANGED
package/dist/internal.d.ts
CHANGED
package/dist/tokens.d.cts
CHANGED
package/dist/tokens.d.ts
CHANGED
package/dist/types.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'element-plus';
|
|
2
2
|
import 'vue';
|
|
3
|
-
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-
|
|
3
|
+
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-CHTbCsAd.cjs';
|
|
4
4
|
import 'async-validator';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'element-plus';
|
|
2
2
|
import 'vue';
|
|
3
|
-
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-
|
|
3
|
+
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-CHTbCsAd.js';
|
|
4
4
|
import 'async-validator';
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sepveneto/dnde-core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.9",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "sepveneto",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://github.com/SepVeneto/miniprogram-design/blob/master/packages/core",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/SepVeneto/
|
|
11
|
+
"url": "https://github.com/SepVeneto/dnd-editor"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"exports": {
|