@koumoul/vjsf 3.0.0-alpha.4 → 3.0.0-alpha.6
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/package.json +27 -6
- package/src/compile/index.js +18 -4
- package/src/compile/options.js +19 -0
- package/src/compile/v-jsf-compiled.vue.ejs +28 -10
- package/src/components/fragments/help-message.vue +2 -1
- package/src/components/fragments/node-slot.vue +3 -3
- package/src/components/fragments/section-header.vue +2 -1
- package/src/components/fragments/text-field-menu.vue +3 -3
- package/src/components/node.vue +12 -8
- package/src/components/nodes/autocomplete.vue +3 -4
- package/src/components/nodes/checkbox.vue +3 -3
- package/src/components/nodes/color-picker.vue +3 -3
- package/src/components/nodes/combobox.vue +3 -4
- package/src/components/nodes/date-picker.vue +3 -4
- package/src/components/nodes/date-time-picker.vue +2 -2
- package/src/components/nodes/expansion-panels.vue +3 -3
- package/src/components/nodes/file-input.vue +43 -0
- package/src/components/nodes/list.vue +4 -4
- package/src/components/nodes/number-combobox.vue +3 -4
- package/src/components/nodes/number-field.vue +3 -4
- package/src/components/nodes/one-of-select.vue +3 -3
- package/src/components/nodes/section.vue +3 -3
- package/src/components/nodes/select.vue +3 -4
- package/src/components/nodes/slider.vue +3 -3
- package/src/components/nodes/stepper.vue +3 -5
- package/src/components/nodes/switch.vue +3 -3
- package/src/components/nodes/tabs.vue +3 -3
- package/src/components/nodes/text-field.vue +3 -4
- package/src/components/nodes/textarea.vue +3 -4
- package/src/components/nodes/vertical-tabs.vue +3 -3
- package/src/components/options.js +9 -6
- package/src/components/tree.vue +2 -2
- package/src/components/vjsf.vue +9 -13
- package/src/composables/use-dnd.js +1 -1
- package/src/composables/use-vjsf.js +9 -8
- package/src/index.js +1 -0
- package/src/{components/types.ts → types.ts} +18 -2
- package/src/utils/global-register.js +10 -0
- package/src/utils/index.js +5 -0
- package/src/utils/props.js +4 -4
- package/src/utils/slots.js +2 -3
- package/types/compile/index.d.ts +3 -2
- package/types/compile/index.d.ts.map +1 -1
- package/types/compile/options.d.ts +4 -0
- package/types/compile/options.d.ts.map +1 -0
- package/types/components/fragments/help-message.vue.d.ts +2 -2
- package/types/components/fragments/node-slot.vue.d.ts +8 -8
- package/types/components/fragments/node-slot.vue.d.ts.map +1 -1
- package/types/components/fragments/section-header.vue.d.ts +2 -2
- package/types/components/fragments/select-item.vue.d.ts +2 -2
- package/types/components/fragments/text-field-menu.vue.d.ts +4 -4
- package/types/components/fragments/text-field-menu.vue.d.ts.map +1 -1
- package/types/components/global-register.d.ts +8 -0
- package/types/components/global-register.d.ts.map +1 -0
- package/types/components/node.vue.d.ts +4 -4
- package/types/components/nodes/autocomplete.vue.d.ts +8 -8
- package/types/components/nodes/autocomplete.vue.d.ts.map +1 -1
- package/types/components/nodes/checkbox.vue.d.ts +4 -4
- package/types/components/nodes/color-picker.vue.d.ts +4 -4
- package/types/components/nodes/combobox.vue.d.ts +8 -8
- package/types/components/nodes/combobox.vue.d.ts.map +1 -1
- package/types/components/nodes/date-picker.vue.d.ts +4 -4
- package/types/components/nodes/date-time-picker.vue.d.ts +4 -4
- package/types/components/nodes/expansion-panels.vue.d.ts +4 -4
- package/types/components/nodes/file-input.vue.d.ts +27 -0
- package/types/components/nodes/file-input.vue.d.ts.map +1 -0
- package/types/components/nodes/list.vue.d.ts +4 -4
- package/types/components/nodes/number-combobox.vue.d.ts +8 -8
- package/types/components/nodes/number-combobox.vue.d.ts.map +1 -1
- package/types/components/nodes/number-field.vue.d.ts +8 -8
- package/types/components/nodes/number-field.vue.d.ts.map +1 -1
- package/types/components/nodes/one-of-select.vue.d.ts +4 -4
- package/types/components/nodes/section.vue.d.ts +4 -4
- package/types/components/nodes/select.vue.d.ts +8 -8
- package/types/components/nodes/select.vue.d.ts.map +1 -1
- package/types/components/nodes/slider.vue.d.ts +4 -4
- package/types/components/nodes/stepper.vue.d.ts +4 -4
- package/types/components/nodes/switch.vue.d.ts +4 -4
- package/types/components/nodes/tabs.vue.d.ts +4 -4
- package/types/components/nodes/text-field.vue.d.ts +8 -8
- package/types/components/nodes/text-field.vue.d.ts.map +1 -1
- package/types/components/nodes/textarea.vue.d.ts +8 -8
- package/types/components/nodes/textarea.vue.d.ts.map +1 -1
- package/types/components/nodes/vertical-tabs.vue.d.ts +4 -4
- package/types/components/options.d.ts +3 -3
- package/types/components/options.d.ts.map +1 -1
- package/types/components/tree.vue.d.ts +2 -2
- package/types/components/types.d.ts +14 -2
- package/types/components/types.d.ts.map +1 -1
- package/types/components/vjsf.vue.d.ts +3 -3
- package/types/composables/use-dnd.d.ts +5 -1
- package/types/composables/use-dnd.d.ts.map +1 -1
- package/types/composables/use-vjsf.d.ts +4 -5
- package/types/composables/use-vjsf.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/types.d.ts +95 -0
- package/types/types.d.ts.map +1 -0
- package/types/utils/global-register.d.ts +8 -0
- package/types/utils/global-register.d.ts.map +1 -0
- package/types/utils/index.d.ts +6 -0
- package/types/utils/index.d.ts.map +1 -0
- package/types/utils/props.d.ts +3 -3
- package/types/utils/props.d.ts.map +1 -1
- package/types/utils/slots.d.ts +3 -3
- package/types/utils/slots.d.ts.map +1 -1
- package/src/components/nodes/markdown.vue +0 -341
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
modelValue: import("
|
|
3
|
-
statefulLayout: import("
|
|
2
|
+
modelValue: import("../../types.js").VjsfVerticalTabsNode;
|
|
3
|
+
statefulLayout: import("../../types.js").VjsfStatefulLayout;
|
|
4
4
|
$props: {
|
|
5
|
-
readonly modelValue?: import("
|
|
6
|
-
readonly statefulLayout?: import("
|
|
5
|
+
readonly modelValue?: import("../../types.js").VjsfVerticalTabsNode | undefined;
|
|
6
|
+
readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
|
|
7
7
|
};
|
|
8
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
9
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @type import("
|
|
2
|
-
export const defaultOptions: import("
|
|
3
|
-
export function getFullOptions(options: Partial<import("
|
|
1
|
+
/** @type import("../types.js").PartialVjsfOptions */
|
|
2
|
+
export const defaultOptions: import("../types.js").PartialVjsfOptions;
|
|
3
|
+
export function getFullOptions(options: Partial<import("../types.js").VjsfOptions>, form: any, width: number, slots: import("vue").Slots, nodeComponents: Record<string, import('vue').Component>): import("../types.js").VjsfOptions;
|
|
4
4
|
//# sourceMappingURL=options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/components/options.js"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/components/options.js"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,6BADU,OAAO,aAAa,EAAE,kBAAkB,CA0BjD;AAWM,wCAPI,QAAQ,OAAO,aAAa,EAAE,WAAW,CAAC,QAC1C,GAAG,SACH,MAAM,SACN,OAAO,KAAK,EAAE,KAAK,kBACnB,OAAO,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,qCAcjD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
modelValue: import("../../../node_modules/@json-layout/core/types/state/types.js").StateTree;
|
|
3
|
-
statefulLayout: import("
|
|
3
|
+
statefulLayout: import("../types.js").VjsfStatefulLayout;
|
|
4
4
|
$props: {
|
|
5
5
|
readonly modelValue?: import("../../../node_modules/@json-layout/core/types/state/types.js").StateTree | undefined;
|
|
6
|
-
readonly statefulLayout?: import("
|
|
6
|
+
readonly statefulLayout?: import("../types.js").VjsfStatefulLayout | undefined;
|
|
7
7
|
};
|
|
8
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
9
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { StatefulLayout, StatefulLayoutOptions, StateNode, CheckboxNode, ColorPickerNode, DatePickerNode, DateTimePickerNode, TabsNode, ExpansionPanelsNode, ListNode, NumberFieldNode, OneOfSelectNode, SectionNode, SelectNode, SliderNode, SwitchNode, TextFieldNode, TextareaNode, VerticalTabsNode, StepperNode, ComboboxNode, MarkdownNode, FileInputNode, CompileOptions } from '@json-layout/core';
|
|
2
3
|
export type Density = 'default' | 'comfortable' | 'compact';
|
|
3
|
-
export type
|
|
4
|
+
export type VjsfStatefulLayoutOptions = StatefulLayoutOptions & {
|
|
4
5
|
density: Density;
|
|
5
6
|
fieldProps: Record<string, unknown>;
|
|
6
7
|
fieldPropsCompact: Record<string, unknown>;
|
|
@@ -17,6 +18,11 @@ export type VjsfOptions = StatefulLayoutOptions & CompileOptions & {
|
|
|
17
18
|
errorAlertProps: Record<string, unknown>;
|
|
18
19
|
vjsfSlots: Record<string, () => unknown>;
|
|
19
20
|
easyMDEOptions: Record<string, unknown>;
|
|
21
|
+
nodeComponents: Record<string, Component>;
|
|
22
|
+
};
|
|
23
|
+
export type VjsfOptions = CompileOptions & VjsfStatefulLayoutOptions;
|
|
24
|
+
export type VjsfStatefulLayout = Omit<StatefulLayout, 'options'> & {
|
|
25
|
+
options: VjsfStatefulLayoutOptions;
|
|
20
26
|
};
|
|
21
27
|
export type PartialVjsfOptions = Partial<Omit<VjsfOptions, 'width'>>;
|
|
22
28
|
export type VjsfNode = Omit<StateNode, 'options'> & {
|
|
@@ -67,6 +73,9 @@ export type VjsfTextFieldNode = Omit<TextFieldNode, 'options'> & {
|
|
|
67
73
|
export type VjsfTextareaNode = Omit<TextareaNode, 'options'> & {
|
|
68
74
|
options: VjsfOptions;
|
|
69
75
|
};
|
|
76
|
+
export type VjsfMarkdownNode = Omit<MarkdownNode, 'options'> & {
|
|
77
|
+
options: VjsfOptions;
|
|
78
|
+
};
|
|
70
79
|
export type VjsfVerticalTabsNode = Omit<VerticalTabsNode, 'options'> & {
|
|
71
80
|
options: VjsfOptions;
|
|
72
81
|
};
|
|
@@ -76,4 +85,7 @@ export type VjsfStepperNode = Omit<StepperNode, 'options'> & {
|
|
|
76
85
|
export type VjsfComboboxNode = Omit<ComboboxNode, 'options'> & {
|
|
77
86
|
options: VjsfOptions;
|
|
78
87
|
};
|
|
88
|
+
export type VjsfFileInputNode = Omit<FileInputNode, 'options'> & {
|
|
89
|
+
options: VjsfOptions;
|
|
90
|
+
};
|
|
79
91
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,eAAe,EACf,eAAe,EACf,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,cAAc,EACf,MAAM,mBAAmB,CAAA;AAE1B,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAAA;AAE3D,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAE/B,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,SA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M,oBAAoB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC,CAAA;AAC7F,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC,CAAA;AACnF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC,CAAA;AACrF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
$emit: ((event: "update:modelValue", data: any) => void) & ((event: "update:state", state: import("
|
|
3
|
-
options: Partial<Omit<import("
|
|
2
|
+
$emit: ((event: "update:modelValue", data: any) => void) & ((event: "update:state", state: import("../types.js").VjsfStatefulLayout) => void);
|
|
3
|
+
options: Partial<Omit<import("../types.js").VjsfOptions, "width">>;
|
|
4
4
|
modelValue: any;
|
|
5
5
|
schema: Record<string, any>;
|
|
6
6
|
precompiledLayout: import("../../../node_modules/@json-layout/core/types/compile/types.js").CompiledLayout;
|
|
7
7
|
$props: {
|
|
8
|
-
readonly options?: Partial<Omit<import("
|
|
8
|
+
readonly options?: Partial<Omit<import("../types.js").VjsfOptions, "width">> | undefined;
|
|
9
9
|
readonly modelValue?: any;
|
|
10
10
|
readonly schema?: Record<string, any> | undefined;
|
|
11
11
|
readonly precompiledLayout?: import("../../../node_modules/@json-layout/core/types/compile/types.js").CompiledLayout | undefined;
|
|
@@ -6,9 +6,13 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export default function useDnd<T>(array: T[], callback: () => void): {
|
|
8
8
|
activeDnd: import("vue").ComputedRef<boolean>;
|
|
9
|
-
sortableArray: import("vue").ShallowRef<T[]>;
|
|
9
|
+
sortableArray: import("vue").Ref<T[]> | import("vue").ShallowRef<T[]>;
|
|
10
|
+
hovered: import("vue").Ref<number>;
|
|
10
11
|
draggable: import("vue").Ref<number>;
|
|
12
|
+
dragging: import("vue").Ref<number>;
|
|
11
13
|
itemBind: (itemIndex: number) => {
|
|
14
|
+
onMouseenter: () => void;
|
|
15
|
+
onMouseleave: () => void;
|
|
12
16
|
onDragstart: () => void;
|
|
13
17
|
onDragover: () => void;
|
|
14
18
|
onDragend: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-dnd.d.ts","sourceRoot":"","sources":["../../src/composables/use-dnd.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wDAHW,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"use-dnd.d.ts","sourceRoot":"","sources":["../../src/composables/use-dnd.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wDAHW,MAAM,IAAI;;;;;;0BAoBU,MAAM;;;;;;;4BAuBJ,MAAM;;;;EAmBtC"}
|
|
@@ -4,14 +4,13 @@ export const emits: {
|
|
|
4
4
|
*/
|
|
5
5
|
'update:modelValue': (data: any) => boolean;
|
|
6
6
|
/**
|
|
7
|
-
* @arg {
|
|
7
|
+
* @arg {import('../types.js').VjsfStatefulLayout} state
|
|
8
8
|
*/
|
|
9
|
-
'update:state': (state:
|
|
9
|
+
'update:state': (state: import('../types.js').VjsfStatefulLayout) => boolean;
|
|
10
10
|
};
|
|
11
|
-
export function useVjsf(schema: import('vue').Ref<Object>, modelValue: import('vue').Ref<any>, options: import('vue').Ref<import("../
|
|
11
|
+
export function useVjsf(schema: import('vue').Ref<Object>, modelValue: import('vue').Ref<any>, options: import('vue').Ref<import("../types.js").PartialVjsfOptions>, nodeComponents: Record<string, import('vue').Component>, emit: any, compile?: typeof import("@json-layout/core").compile | undefined, precompiledLayout?: import("vue").Ref<import("../../../node_modules/@json-layout/core/types/compile/types.js").CompiledLayout> | undefined): {
|
|
12
12
|
el: import("vue").Ref<null>;
|
|
13
|
-
statefulLayout: import("vue").ShallowRef<
|
|
13
|
+
statefulLayout: import("vue").ShallowRef<import("../types.js").VjsfStatefulLayout | null>;
|
|
14
14
|
stateTree: import("vue").ShallowRef<import("../../../node_modules/@json-layout/core/types/state/types.js").StateTree | null>;
|
|
15
15
|
};
|
|
16
|
-
import { StatefulLayout } from '@json-layout/core';
|
|
17
16
|
//# sourceMappingURL=use-vjsf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-vjsf.d.ts","sourceRoot":"","sources":["../../src/composables/use-vjsf.js"],"names":[],"mappings":"AAKA;IACE;;MAEE;gCADO,GAAG;IAGZ;;MAEE;4BADO,
|
|
1
|
+
{"version":3,"file":"use-vjsf.d.ts","sourceRoot":"","sources":["../../src/composables/use-vjsf.js"],"names":[],"mappings":"AAKA;IACE;;MAEE;gCADO,GAAG;IAGZ;;MAEE;4BADO,OAAO,aAAa,EAAE,kBAAkB;EAGlD;AAWM,gCARI,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,cACzB,OAAO,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,WACtB,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,aAAa,EAAE,kBAAkB,CAAC,kBAC3D,OAAO,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,QACvC,GAAG;;;;EAmGb"}
|
package/types/index.d.ts
CHANGED
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"iBAAiB,uBAAuB;+BACT,yBAAyB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";iBAAiB,uBAAuB;+BACT,yBAAyB"}
|
package/types/types.d.ts
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { StatefulLayout, StatefulLayoutOptions, StateNode, CheckboxNode, ColorPickerNode, DatePickerNode, DateTimePickerNode, TabsNode, ExpansionPanelsNode, ListNode, NumberFieldNode, OneOfSelectNode, SectionNode, SelectNode, SliderNode, SwitchNode, TextFieldNode, TextareaNode, VerticalTabsNode, StepperNode, ComboboxNode, MarkdownNode, FileInputNode, CompileOptions } from '@json-layout/core';
|
|
3
|
+
export type Density = 'default' | 'comfortable' | 'compact';
|
|
4
|
+
export type VjsfStatefulLayoutOptions = StatefulLayoutOptions & {
|
|
5
|
+
density: Density;
|
|
6
|
+
fieldProps: Record<string, unknown>;
|
|
7
|
+
fieldPropsCompact: Record<string, unknown>;
|
|
8
|
+
fieldPropsComfortable: Record<string, unknown>;
|
|
9
|
+
fieldPropsReadOnly: Record<string, unknown>;
|
|
10
|
+
textfieldProps: Record<string, unknown>;
|
|
11
|
+
textfieldPropsReadOnly: Record<string, unknown>;
|
|
12
|
+
textareaProps: Record<string, unknown>;
|
|
13
|
+
textareaPropsReadOnly: Record<string, unknown>;
|
|
14
|
+
checkboxProps: Record<string, unknown>;
|
|
15
|
+
checkboxPropsReadOnly: Record<string, unknown>;
|
|
16
|
+
switchProps: Record<string, unknown>;
|
|
17
|
+
switchPropsReadOnly: Record<string, unknown>;
|
|
18
|
+
errorAlertProps: Record<string, unknown>;
|
|
19
|
+
vjsfSlots: Record<string, () => unknown>;
|
|
20
|
+
easyMDEOptions: Record<string, unknown>;
|
|
21
|
+
nodeComponents: Record<string, Component>;
|
|
22
|
+
};
|
|
23
|
+
export type VjsfCompileOptions = CompileOptions & {
|
|
24
|
+
nodeComponentImports: Record<string, string>;
|
|
25
|
+
};
|
|
26
|
+
export type VjsfOptions = VjsfCompileOptions & VjsfStatefulLayoutOptions;
|
|
27
|
+
export type VjsfStatefulLayout = Omit<StatefulLayout, 'options'> & {
|
|
28
|
+
options: VjsfStatefulLayoutOptions;
|
|
29
|
+
};
|
|
30
|
+
export type PartialVjsfCompileOptions = Partial<Omit<VjsfCompileOptions, 'width'>>;
|
|
31
|
+
export type PartialVjsfOptions = Partial<Omit<VjsfOptions, 'width'>>;
|
|
32
|
+
export type VjsfNode = Omit<StateNode, 'options'> & {
|
|
33
|
+
options: VjsfOptions;
|
|
34
|
+
};
|
|
35
|
+
export type VjsfTabsNode = Omit<TabsNode, 'options'> & {
|
|
36
|
+
options: VjsfOptions;
|
|
37
|
+
};
|
|
38
|
+
export type VjsfCheckboxNode = Omit<CheckboxNode, 'options'> & {
|
|
39
|
+
options: VjsfOptions;
|
|
40
|
+
};
|
|
41
|
+
export type VjsfColorPickerNode = Omit<ColorPickerNode, 'options'> & {
|
|
42
|
+
options: VjsfOptions;
|
|
43
|
+
};
|
|
44
|
+
export type VjsfDatePickerNode = Omit<DatePickerNode, 'options'> & {
|
|
45
|
+
options: VjsfOptions;
|
|
46
|
+
};
|
|
47
|
+
export type VjsfDateTimePickerNode = Omit<DateTimePickerNode, 'options'> & {
|
|
48
|
+
options: VjsfOptions;
|
|
49
|
+
};
|
|
50
|
+
export type VjsfExpansionPanelsNode = Omit<ExpansionPanelsNode, 'options'> & {
|
|
51
|
+
options: VjsfOptions;
|
|
52
|
+
};
|
|
53
|
+
export type VjsfListNode = Omit<ListNode, 'options'> & {
|
|
54
|
+
options: VjsfOptions;
|
|
55
|
+
};
|
|
56
|
+
export type VjsfNumberFieldNode = Omit<NumberFieldNode, 'options'> & {
|
|
57
|
+
options: VjsfOptions;
|
|
58
|
+
};
|
|
59
|
+
export type VjsfOneOfSelectNode = Omit<OneOfSelectNode, 'options'> & {
|
|
60
|
+
options: VjsfOptions;
|
|
61
|
+
};
|
|
62
|
+
export type VjsfSectionNode = Omit<SectionNode, 'options'> & {
|
|
63
|
+
options: VjsfOptions;
|
|
64
|
+
};
|
|
65
|
+
export type VjsfSelectNode = Omit<SelectNode, 'options'> & {
|
|
66
|
+
options: VjsfOptions;
|
|
67
|
+
};
|
|
68
|
+
export type VjsfSliderNode = Omit<SliderNode, 'options'> & {
|
|
69
|
+
options: VjsfOptions;
|
|
70
|
+
};
|
|
71
|
+
export type VjsfSwitchNode = Omit<SwitchNode, 'options'> & {
|
|
72
|
+
options: VjsfOptions;
|
|
73
|
+
};
|
|
74
|
+
export type VjsfTextFieldNode = Omit<TextFieldNode, 'options'> & {
|
|
75
|
+
options: VjsfOptions;
|
|
76
|
+
};
|
|
77
|
+
export type VjsfTextareaNode = Omit<TextareaNode, 'options'> & {
|
|
78
|
+
options: VjsfOptions;
|
|
79
|
+
};
|
|
80
|
+
export type VjsfMarkdownNode = Omit<MarkdownNode, 'options'> & {
|
|
81
|
+
options: VjsfOptions;
|
|
82
|
+
};
|
|
83
|
+
export type VjsfVerticalTabsNode = Omit<VerticalTabsNode, 'options'> & {
|
|
84
|
+
options: VjsfOptions;
|
|
85
|
+
};
|
|
86
|
+
export type VjsfStepperNode = Omit<StepperNode, 'options'> & {
|
|
87
|
+
options: VjsfOptions;
|
|
88
|
+
};
|
|
89
|
+
export type VjsfComboboxNode = Omit<ComboboxNode, 'options'> & {
|
|
90
|
+
options: VjsfOptions;
|
|
91
|
+
};
|
|
92
|
+
export type VjsfFileInputNode = Omit<FileInputNode, 'options'> & {
|
|
93
|
+
options: VjsfOptions;
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAE/B,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,eAAe,EACf,eAAe,EACf,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,WAAW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rF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC,CAAA;AAC7F,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC,CAAA;AACnF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC,CAAA;AACrF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {string} name
|
|
3
|
+
* @param {import('vue').Component} component
|
|
4
|
+
*/
|
|
5
|
+
export function registerNodeComponent(name: string, component: import('vue').Component): void;
|
|
6
|
+
/** @type {Record<string, import('vue').Component>} */
|
|
7
|
+
export const registeredNodeComponents: Record<string, import('vue').Component>;
|
|
8
|
+
//# sourceMappingURL=global-register.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-register.d.ts","sourceRoot":"","sources":["../../src/utils/global-register.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,4CAHW,MAAM,aACN,OAAO,KAAK,EAAE,SAAS,QAIjC;AATD,sDAAsD;AACtD,uCADW,OAAO,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,CACR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.js"],"names":[],"mappings":""}
|
package/types/utils/props.d.ts
CHANGED
|
@@ -6,13 +6,13 @@ export function mergePropsLevels(propsLevels: (Record<string, any> | undefined)[
|
|
|
6
6
|
class: string[];
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
|
-
* @param {import('
|
|
10
|
-
* @param {import('
|
|
9
|
+
* @param {import('../types.js').VjsfNode} node
|
|
10
|
+
* @param {import('../types.js').VjsfStatefulLayout} statefulLayout
|
|
11
11
|
* @param {(string | [string, string])[]} [layoutPropsMap]
|
|
12
12
|
* @param {boolean} isMainComp
|
|
13
13
|
* @returns {Record<string, any>}
|
|
14
14
|
*/
|
|
15
|
-
export function getInputProps(node: import('
|
|
15
|
+
export function getInputProps(node: import('../types.js').VjsfNode, statefulLayout: import('../types.js').VjsfStatefulLayout, layoutPropsMap?: (string | [string, string])[] | undefined, isMainComp?: boolean): Record<string, any>;
|
|
16
16
|
/**
|
|
17
17
|
* @param {import('@json-layout/core').StateNode} node
|
|
18
18
|
* @param {string} comp
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/utils/props.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,8CAHW,CAAC,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,EAAE,GACjC,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAC,CAqBnD;AAID;;;;;;GAMG;AACH,oCANW,OAAO,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/utils/props.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,8CAHW,CAAC,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,EAAE,GACjC,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAC,CAqBnD;AAID;;;;;;GAMG;AACH,oCANW,OAAO,aAAa,EAAE,QAAQ,kBAC9B,OAAO,aAAa,EAAE,kBAAkB,2EAExC,OAAO,GACL,OAAO,MAAM,EAAE,GAAG,CAAC,CA2C/B;AAGD;;;;;GAKG;AACH,mCALW,OAAO,mBAAmB,EAAE,SAAS,QACrC,MAAM,eACN,OAAO,GACL,OAAO,MAAM,EAAE,GAAG,CAAC,CAY/B"}
|
package/types/utils/slots.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @param {import('
|
|
3
|
-
* @param {import('
|
|
2
|
+
* @param {import('../types.js').VjsfNode} node
|
|
3
|
+
* @param {import('../types.js').VjsfStatefulLayout} statefulLayout
|
|
4
4
|
* @returns {Record<string, any>}
|
|
5
5
|
*/
|
|
6
|
-
export function getCompSlots(node: import('
|
|
6
|
+
export function getCompSlots(node: import('../types.js').VjsfNode, statefulLayout: import('../types.js').VjsfStatefulLayout): Record<string, any>;
|
|
7
7
|
//# sourceMappingURL=slots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../src/utils/slots.js"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,mCAJW,OAAO,
|
|
1
|
+
{"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../src/utils/slots.js"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,mCAJW,OAAO,aAAa,EAAE,QAAQ,kBAC9B,OAAO,aAAa,EAAE,kBAAkB,GACtC,OAAO,MAAM,EAAE,GAAG,CAAC,CAU/B"}
|