@sepveneto/dnde-core 0.5.0 → 0.5.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/{Widget-C7n5dKys.d.cts → Widget-B-BAQlzv.d.cts} +5 -3
- package/dist/{Widget-C7n5dKys.d.ts → Widget-B-BAQlzv.d.ts} +5 -3
- package/dist/{chunk-3C7FYUNE.js → chunk-PRK4NPVH.js} +4 -0
- package/dist/class/Container.d.cts +1 -1
- package/dist/class/Container.d.ts +1 -1
- package/dist/class/Node.d.cts +1 -1
- package/dist/class/Node.d.ts +1 -1
- package/dist/class/Widget.d.cts +1 -1
- package/dist/class/Widget.d.ts +1 -1
- package/dist/class/index.d.cts +1 -1
- package/dist/class/index.d.ts +1 -1
- package/dist/helper/index.cjs +4 -0
- 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 +4 -0
- package/dist/helper/schema.d.cts +8 -1
- package/dist/helper/schema.d.ts +8 -1
- package/dist/helper/schema.js +1 -1
- package/dist/helper/widget.d.cts +1 -1
- package/dist/helper/widget.d.ts +1 -1
- package/dist/index.cjs +4 -0
- 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 +1 -1
|
@@ -130,10 +130,12 @@ interface EditorData {
|
|
|
130
130
|
settings?: EditorSettings;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
type Option = InstanceType<typeof ElOption
|
|
134
|
-
type RadioOption = InstanceType<typeof ElRadio
|
|
135
|
-
type RadioButtonOption = InstanceType<typeof ElRadioButton
|
|
133
|
+
type Option = InstanceType<typeof ElOption>['$props'];
|
|
134
|
+
type RadioOption = InstanceType<typeof ElRadio>['$props'];
|
|
135
|
+
type RadioButtonOption = InstanceType<typeof ElRadioButton>['$props'];
|
|
136
136
|
interface SchemaItemBase {
|
|
137
|
+
/** @private */
|
|
138
|
+
_role?: string;
|
|
137
139
|
label: string;
|
|
138
140
|
key: string;
|
|
139
141
|
formItem?: Partial<FormItemProps>;
|
|
@@ -130,10 +130,12 @@ interface EditorData {
|
|
|
130
130
|
settings?: EditorSettings;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
type Option = InstanceType<typeof ElOption
|
|
134
|
-
type RadioOption = InstanceType<typeof ElRadio
|
|
135
|
-
type RadioButtonOption = InstanceType<typeof ElRadioButton
|
|
133
|
+
type Option = InstanceType<typeof ElOption>['$props'];
|
|
134
|
+
type RadioOption = InstanceType<typeof ElRadio>['$props'];
|
|
135
|
+
type RadioButtonOption = InstanceType<typeof ElRadioButton>['$props'];
|
|
136
136
|
interface SchemaItemBase {
|
|
137
|
+
/** @private */
|
|
138
|
+
_role?: string;
|
|
137
139
|
label: string;
|
|
138
140
|
key: string;
|
|
139
141
|
formItem?: Partial<FormItemProps>;
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
var schema = {
|
|
11
11
|
_create(type, config) {
|
|
12
12
|
const base = {
|
|
13
|
+
_role: config._role,
|
|
13
14
|
label: config.label,
|
|
14
15
|
key: config.key,
|
|
15
16
|
type,
|
|
@@ -62,6 +63,9 @@ var schema = {
|
|
|
62
63
|
},
|
|
63
64
|
styleNumber(config) {
|
|
64
65
|
return this._create("styleNumber", config);
|
|
66
|
+
},
|
|
67
|
+
topbar(config) {
|
|
68
|
+
return this.radio(__spreadProps(__spreadValues({}, config), { _role: "topbar" }));
|
|
65
69
|
}
|
|
66
70
|
};
|
|
67
71
|
function normalizeRules(config) {
|
package/dist/class/Node.d.cts
CHANGED
package/dist/class/Node.d.ts
CHANGED
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-B-BAQlzv.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-B-BAQlzv.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import 'element-plus';
|
|
4
4
|
import 'async-validator';
|
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-B-BAQlzv.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-B-BAQlzv.js';
|
|
4
4
|
import 'vue';
|
|
5
5
|
import 'element-plus';
|
|
6
6
|
import 'async-validator';
|
package/dist/helper/index.cjs
CHANGED
|
@@ -86,6 +86,7 @@ function likeArray(val) {
|
|
|
86
86
|
var schema = {
|
|
87
87
|
_create(type, config) {
|
|
88
88
|
const base = {
|
|
89
|
+
_role: config._role,
|
|
89
90
|
label: config.label,
|
|
90
91
|
key: config.key,
|
|
91
92
|
type,
|
|
@@ -138,6 +139,9 @@ var schema = {
|
|
|
138
139
|
},
|
|
139
140
|
styleNumber(config) {
|
|
140
141
|
return this._create("styleNumber", config);
|
|
142
|
+
},
|
|
143
|
+
topbar(config) {
|
|
144
|
+
return this.radio(__spreadProps(__spreadValues({}, config), { _role: "topbar" }));
|
|
141
145
|
}
|
|
142
146
|
};
|
|
143
147
|
function normalizeRules(config) {
|
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-B-BAQlzv.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-B-BAQlzv.js';
|
|
6
6
|
import 'vue';
|
|
7
7
|
import 'async-validator';
|
package/dist/helper/index.js
CHANGED
package/dist/helper/schema.cjs
CHANGED
|
@@ -50,6 +50,7 @@ function likeArray(val) {
|
|
|
50
50
|
var schema = {
|
|
51
51
|
_create(type, config) {
|
|
52
52
|
const base = {
|
|
53
|
+
_role: config._role,
|
|
53
54
|
label: config.label,
|
|
54
55
|
key: config.key,
|
|
55
56
|
type,
|
|
@@ -102,6 +103,9 @@ var schema = {
|
|
|
102
103
|
},
|
|
103
104
|
styleNumber(config) {
|
|
104
105
|
return this._create("styleNumber", config);
|
|
106
|
+
},
|
|
107
|
+
topbar(config) {
|
|
108
|
+
return this.radio(__spreadProps(__spreadValues({}, config), { _role: "topbar" }));
|
|
105
109
|
}
|
|
106
110
|
};
|
|
107
111
|
function normalizeRules(config) {
|
package/dist/helper/schema.d.cts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { FormItemProps, InputProps, InputNumberProps, CheckboxProps, SelectProps, RadioProps, RadioButtonProps, SwitchProps, DatePickerProps, ColorPickerProps } 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-B-BAQlzv.cjs';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import 'async-validator';
|
|
5
5
|
|
|
6
6
|
interface BaseConfig {
|
|
7
|
+
/** @private */
|
|
8
|
+
_role?: string;
|
|
7
9
|
label: SchemaItem['label'];
|
|
8
10
|
key: SchemaItem['key'];
|
|
9
11
|
tips?: string;
|
|
@@ -55,6 +57,11 @@ declare const schema: {
|
|
|
55
57
|
type: string;
|
|
56
58
|
}): SchemaItem;
|
|
57
59
|
styleNumber(config: BaseConfig): SchemaItem;
|
|
60
|
+
topbar(config: BaseConfig & {
|
|
61
|
+
attrs?: RadioProps;
|
|
62
|
+
options?: RadioOption[];
|
|
63
|
+
link?: Record<string, SchemaItem[]>;
|
|
64
|
+
}): SchemaItem;
|
|
58
65
|
};
|
|
59
66
|
|
|
60
67
|
export { schema };
|
package/dist/helper/schema.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { FormItemProps, InputProps, InputNumberProps, CheckboxProps, SelectProps, RadioProps, RadioButtonProps, SwitchProps, DatePickerProps, ColorPickerProps } 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-B-BAQlzv.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import 'async-validator';
|
|
5
5
|
|
|
6
6
|
interface BaseConfig {
|
|
7
|
+
/** @private */
|
|
8
|
+
_role?: string;
|
|
7
9
|
label: SchemaItem['label'];
|
|
8
10
|
key: SchemaItem['key'];
|
|
9
11
|
tips?: string;
|
|
@@ -55,6 +57,11 @@ declare const schema: {
|
|
|
55
57
|
type: string;
|
|
56
58
|
}): SchemaItem;
|
|
57
59
|
styleNumber(config: BaseConfig): SchemaItem;
|
|
60
|
+
topbar(config: BaseConfig & {
|
|
61
|
+
attrs?: RadioProps;
|
|
62
|
+
options?: RadioOption[];
|
|
63
|
+
link?: Record<string, SchemaItem[]>;
|
|
64
|
+
}): SchemaItem;
|
|
58
65
|
};
|
|
59
66
|
|
|
60
67
|
export { schema };
|
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-B-BAQlzv.cjs';
|
|
2
2
|
import * as vue from 'vue';
|
|
3
3
|
import 'element-plus';
|
|
4
4
|
import 'async-validator';
|
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-B-BAQlzv.js';
|
|
2
2
|
import * as vue from 'vue';
|
|
3
3
|
import 'element-plus';
|
|
4
4
|
import 'async-validator';
|
package/dist/index.cjs
CHANGED
|
@@ -90,6 +90,7 @@ function likeArray(val) {
|
|
|
90
90
|
var schema = {
|
|
91
91
|
_create(type, config) {
|
|
92
92
|
const base = {
|
|
93
|
+
_role: config._role,
|
|
93
94
|
label: config.label,
|
|
94
95
|
key: config.key,
|
|
95
96
|
type,
|
|
@@ -142,6 +143,9 @@ var schema = {
|
|
|
142
143
|
},
|
|
143
144
|
styleNumber(config) {
|
|
144
145
|
return this._create("styleNumber", config);
|
|
146
|
+
},
|
|
147
|
+
topbar(config) {
|
|
148
|
+
return this.radio(__spreadProps(__spreadValues({}, config), { _role: "topbar" }));
|
|
145
149
|
}
|
|
146
150
|
};
|
|
147
151
|
function normalizeRules(config) {
|
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-B-BAQlzv.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-B-BAQlzv.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-B-BAQlzv.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-B-BAQlzv.js';
|
|
4
4
|
import 'async-validator';
|