@knime/jsonforms 1.12.8 → 1.13.0
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/CHANGELOG.md +14 -0
- package/dist/{AnyOfTwinlist-C64AJ-qM.js → AnyOfTwinlist-jEm0miJS.js} +1 -1
- package/dist/{Button-BnO2ctHk.js → Button-5I-2rkYv.js} +1 -1
- package/dist/{CheckboxControl-CIprz1mr.js → CheckboxControl-ClEXpElZ.js} +1 -1
- package/dist/{Checkboxes-gk2dQ0ay.js → Checkboxes-C45AjAWE.js} +1 -1
- package/dist/{CheckboxesControl-AxwZBv-d.js → CheckboxesControl-C1cGL4hR.js} +3 -3
- package/dist/{ComboBoxControl-Di7LvbVo.js → ComboBoxControl-Dj4phhfu.js} +3 -3
- package/dist/{DateControl-BxIC9FrW.js → DateControl-BNfvRYI7.js} +1 -1
- package/dist/{DateTimeControl-CND2Ws6l.js → DateTimeControl-D6PaDQ17.js} +2 -2
- package/dist/{DateTimeFormatInput-q3bE9FDf.js → DateTimeFormatInput-5NZOx6-8.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-DyqX449y.js → DateTimeFormatPickerControl-DAMcQn-p.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-q9Uy4q6l.js → DateTimeFormatPickerWithTypeControl-Bvg9-ktg.js} +3 -3
- package/dist/{DateTimeInput-DMWRo8Rw.js → DateTimeInput-DTyyMh2m.js} +7 -7
- package/dist/{Dropdown-CkTNCSyg.js → Dropdown-BYs4ujD0.js} +3 -3
- package/dist/{DropdownControl-BbpLYzdw.js → DropdownControl-bAGD7DZB.js} +2 -2
- package/dist/{HorizontalLayout-L7yybmHw.js → HorizontalLayout-OOTjU_wP.js} +1 -1
- package/dist/{InputField-DqiHmU2J.js → InputField-B9Y9RVSH.js} +1 -1
- package/dist/{IntegerControl-D6Brt095.js → IntegerControl-BzzrdFhI.js} +1 -1
- package/dist/{IntervalControl-DGWMCQvo.js → IntervalControl-DaGHHMa1.js} +3 -3
- package/dist/{LoadingDropdown-1EtneC8N.js → LoadingDropdown-DNm-_4cb.js} +3 -3
- package/dist/{ManualTwinlistControl-V63nnyr_.js → ManualTwinlistControl-CG4lepwl.js} +4 -4
- package/dist/{MultiSelectListBoxControl-B3Mt0AMc.js → MultiSelectListBoxControl-rc7_JFER.js} +2 -2
- package/dist/{MultimodeTwinlistControl-DTU3GV_1.js → MultimodeTwinlistControl-Dq6pc9YB.js} +10 -9
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_ca157254_lang-DEB2RPFe.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-mK7PZFMW.js} +1 -1
- package/dist/{MultiselectListBox-DMA-bS8g.js → MultiselectListBox-3FH_9O2r.js} +12 -12
- package/dist/{NameFilter-CirK1jbB.js → NameFilter-CpTQb0Pd.js} +1 -1
- package/dist/{NumberControl-C2rDPFM6.js → NumberControl-CnEHT4oS.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BhJ-pM0U.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CjDC1GcO.js} +2 -2
- package/dist/{NumberInput-DgJPSX-t.js → NumberInput-u3jz31AG.js} +1 -1
- package/dist/{OneOfDropdown-kHNHWYo1.js → OneOfDropdown-apZ3Zgkp.js} +1 -1
- package/dist/{RadioControl-Di8ZHzfP.js → RadioControl--kdqwsJ8.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Dfd0RHVf.js → RadioControlBase.vue_vue_type_script_setup_true_lang-75IYNytl.js} +3 -3
- package/dist/{RichTextControl-DkV_1bmO.js → RichTextControl-Cd0CGkK3.js} +12 -13
- package/dist/{SectionHeading-jyubFaij.js → SectionHeading-BdXKDy1J.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-f4_oWidN.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DuNRJy9L.js} +38 -37
- package/dist/{SectionLayout-rsR8zc2o.js → SectionLayout-na3-BW7t.js} +3 -3
- package/dist/SettingsSubPanel-8QQYlTc8.js +5 -0
- package/dist/{SettingsSubPanelLayout-IFWJzpyo.js → SettingsSubPanelLayout-B3X4TFhn.js} +4 -4
- package/dist/{SimpleButtonControl-TaYKjvaZ.js → SimpleButtonControl-D3NjT3Co.js} +2 -2
- package/dist/{SimpleTwinlistControl-DHSEVMNw.js → SimpleTwinlistControl-CWQ9mxLK.js} +2 -2
- package/dist/{SingleSelectControl-DbvPKelZ.js → SingleSelectControl-CjaNa5W6.js} +2 -2
- package/dist/{SingleSelectListBoxControl-BxvByTfI.js → SingleSelectListBoxControl-DkbIqc7D.js} +3 -3
- package/dist/{SortListControl-M2XPJctR.js → SortListControl-CEBQTnzi.js} +8 -8
- package/dist/{StyledListItem-BZD6Sgly.js → StyledListItem-CZ6JnSHy.js} +1 -1
- package/dist/{TextAreaControl-C6a_q86j.js → TextAreaControl-ClLLPR0i.js} +1 -1
- package/dist/{TextControl-P30hO_Go.js → TextControl-CFAXdPaT.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DXxUGEzp.js → TextControl.vue_vue_type_script_setup_true_lang-BAQEC_j_.js} +3 -3
- package/dist/{TimeControl-CCkMiZi0.js → TimeControl-D7GiB-2N.js} +2 -2
- package/dist/{TwinlistControlBase-BF0UtrbI.js → TwinlistControlBase-2zFzZ0N6.js} +4 -4
- package/dist/{TwinlistLoadingInfo-DSi4-BVf.js → TwinlistLoadingInfo-NU2a47rs.js} +82 -84
- package/dist/{TypedStringFilter-7K-JOtAd.js → TypedStringFilter-tH5G038m.js} +1 -1
- package/dist/{ValueSwitch-p35zJYHc.js → ValueSwitch-CiNa5fZH.js} +1 -1
- package/dist/{ValueSwitchControl-Dn9Q7uZJ.js → ValueSwitchControl-DBE9tVb-.js} +1 -1
- package/dist/{VerticalLayout-vUV02amg.js → VerticalLayout-9LOUDk5D.js} +2 -2
- package/dist/{VerticalLayoutBase-LcRfVrUV.js → VerticalLayoutBase-BgCjMNS4.js} +1 -1
- package/dist/{ZonedDateTimeControl-CagN8mx_.js → ZonedDateTimeControl-B9uTOiar.js} +4 -4
- package/dist/{_baseEach-8BL3bfU1.js → _baseEach-D0edQTNy.js} +2 -2
- package/dist/{_baseIteratee-Dwk5GuFQ.js → _baseIteratee-BNrFMJLO.js} +3 -3
- package/dist/{_getTag-CPfnTOpI.js → _getTag-Cwst2VWp.js} +1 -1
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +10 -9
- package/dist/{localTimeUtils-BA466gCF.js → localTimeUtils-B7NfKduX.js} +1 -1
- package/dist/{magic-string.es-D13vKDHh.js → magic-string.es-CiPQTuXC.js} +1 -1
- package/dist/src/JsonFormsDialog.vue.d.ts +9 -9
- package/dist/src/higherOrderComponents/control/controlToRenderer.d.ts +1 -1
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +1 -1
- package/dist/src/higherOrderComponents/control/types.d.ts +4 -4
- package/dist/src/higherOrderComponents/control/util.d.ts +5 -5
- package/dist/src/higherOrderComponents/control/validation/useValidation.d.ts +1 -1
- package/dist/src/higherOrderComponents/layout/types.d.ts +2 -2
- package/dist/src/higherOrderComponents/layout/util.d.ts +2 -2
- package/dist/src/higherOrderComponents/types.d.ts +11 -10
- package/dist/src/renderers/defaultRenderers.d.ts +6 -6
- package/dist/src/renderers/simpleButtonRenderer.d.ts +3 -3
- package/dist/src/renderers/sortListRenderer.d.ts +3 -3
- package/dist/src/types/ChoicesUiSchema.d.ts +4 -4
- package/dist/src/types/provided.d.ts +8 -3
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +3 -3
- package/dist/src/uiComponents/SortListControl.vue.d.ts +2 -2
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +1 -1
- package/dist/svgWithTitle-y7ysv-61.js +18 -0
- package/dist/testUtils/component.d.ts +42 -28
- package/dist/testing.js +4 -3
- package/dist/{toString-DoCh2Ni9.js → toString-DHlqgclo.js} +1 -1
- package/dist/{useBuiltinValidations-Ck98ZbJs.js → useBuiltinValidations-C2V26Lv_.js} +1 -1
- package/dist/{usePossibleValues-Cjkgr7Bs.js → usePossibleValues-DVdiB2Wo.js} +1 -1
- package/package.json +4 -4
- package/dist/SettingsSubPanel-Cu9tMmFH.js +0 -5
- package/dist/svgWithTitle-IEX8zkIB.js +0 -18
|
@@ -5,35 +5,35 @@ import { StateProviderLocation } from './types/provided';
|
|
|
5
5
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
6
6
|
schema: JsonSchema;
|
|
7
7
|
uischema: UISchemaElement;
|
|
8
|
-
data:
|
|
8
|
+
data: unknown;
|
|
9
9
|
renderers: readonly NamedRenderer[];
|
|
10
10
|
}, {
|
|
11
|
-
updateData: (path: string, value:
|
|
11
|
+
updateData: (path: string, value: unknown) => void;
|
|
12
12
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
13
|
change: (args_0: {
|
|
14
|
-
data:
|
|
14
|
+
data: unknown;
|
|
15
15
|
}) => any;
|
|
16
|
-
trigger: (id:
|
|
16
|
+
trigger: (id: unknown) => any;
|
|
17
17
|
updateData: (path: string) => any;
|
|
18
18
|
alert: (alert: AlertParams) => any;
|
|
19
19
|
stateProviderListener: (identifier: StateProviderLocation & {
|
|
20
20
|
[key: string]: unknown;
|
|
21
|
-
}, callback: (value:
|
|
21
|
+
}, callback: (value: never) => void) => any;
|
|
22
22
|
}, string, import('vue').PublicProps, Readonly<{
|
|
23
23
|
schema: JsonSchema;
|
|
24
24
|
uischema: UISchemaElement;
|
|
25
|
-
data:
|
|
25
|
+
data: unknown;
|
|
26
26
|
renderers: readonly NamedRenderer[];
|
|
27
27
|
}> & Readonly<{
|
|
28
28
|
onChange?: ((args_0: {
|
|
29
|
-
data:
|
|
29
|
+
data: unknown;
|
|
30
30
|
}) => any) | undefined;
|
|
31
|
-
onTrigger?: ((id:
|
|
31
|
+
onTrigger?: ((id: unknown) => any) | undefined;
|
|
32
32
|
onUpdateData?: ((path: string) => any) | undefined;
|
|
33
33
|
onAlert?: ((alert: AlertParams) => any) | undefined;
|
|
34
34
|
onStateProviderListener?: ((identifier: StateProviderLocation & {
|
|
35
35
|
[key: string]: unknown;
|
|
36
|
-
}, callback: (value:
|
|
36
|
+
}, callback: (value: never) => void) => any) | undefined;
|
|
37
37
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
38
38
|
top?(_: {}): any;
|
|
39
39
|
bottom?(_: {}): any;
|
|
@@ -5,7 +5,7 @@ import { PerformExternalValidation } from './validation/types';
|
|
|
5
5
|
* The last transformation step, since JSONForms expects renderers with core params.
|
|
6
6
|
*/
|
|
7
7
|
export declare const controlToRenderer: ({ component, asyncSetup, config, }: {
|
|
8
|
-
component: VueControl<
|
|
8
|
+
component: VueControl<unknown>;
|
|
9
9
|
asyncSetup?: () => Promise<void>;
|
|
10
10
|
config?: {
|
|
11
11
|
performExternalValidation?: PerformExternalValidation<unknown>;
|
|
@@ -2,7 +2,7 @@ import { VNode } from 'vue';
|
|
|
2
2
|
import { VueControl, VueControlProps } from '../types';
|
|
3
3
|
export declare const addErrorMessageToVNode: ({ fill }: {
|
|
4
4
|
fill: boolean;
|
|
5
|
-
}) => (vNode: VNode, props: Pick<VueControlProps<
|
|
5
|
+
}) => (vNode: VNode, props: Pick<VueControlProps<unknown>, "messages">) => VNode | VNode[];
|
|
6
6
|
export declare const withErrorMessage: (config?: {
|
|
7
7
|
/**
|
|
8
8
|
* Set to true if the renderer should grow within its parent
|
|
@@ -13,7 +13,7 @@ export type VueControlProps<D> = {
|
|
|
13
13
|
id?: string;
|
|
14
14
|
};
|
|
15
15
|
} & Omit<ReturnType<typeof useJsonFormsControl>["control"]["value"], "data">;
|
|
16
|
-
handleChange: (path: string, value:
|
|
16
|
+
handleChange: (path: string, value: unknown) => void;
|
|
17
17
|
changeValue: (newValue: D) => void;
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
labelForId?: null;
|
|
@@ -25,14 +25,14 @@ export type ControlSlots = {
|
|
|
25
25
|
buttons?: (props: {
|
|
26
26
|
controlHTMLElement?: HTMLElement | null;
|
|
27
27
|
hover: boolean;
|
|
28
|
-
}) =>
|
|
29
|
-
icon?:
|
|
28
|
+
}) => unknown[];
|
|
29
|
+
icon?: unknown;
|
|
30
30
|
};
|
|
31
31
|
export type VueControlParamsFromProps<P> = {
|
|
32
32
|
props: P;
|
|
33
33
|
slots: ControlSlots;
|
|
34
34
|
};
|
|
35
|
-
export type PropsToComponent<P extends Record<string,
|
|
35
|
+
export type PropsToComponent<P extends Record<string, unknown>> = ParameterizedComponent<VueControlParamsFromProps<P>>;
|
|
36
36
|
export type VueControl<D> = PropsToComponent<VueControlProps<D>>;
|
|
37
37
|
export type VueControlRenderer = NamedTester & {
|
|
38
38
|
control: VueControl<any>;
|
|
@@ -4,7 +4,7 @@ import { ControlSlots, VueControl, VueControlProps, VueControlRenderer } from '.
|
|
|
4
4
|
export declare const controlProps: {
|
|
5
5
|
control: {
|
|
6
6
|
type: PropType<{
|
|
7
|
-
data:
|
|
7
|
+
data: never;
|
|
8
8
|
uischema: {
|
|
9
9
|
providedOptions?: string[] | undefined;
|
|
10
10
|
id?: string | undefined;
|
|
@@ -33,11 +33,11 @@ export declare const controlProps: {
|
|
|
33
33
|
required: boolean;
|
|
34
34
|
};
|
|
35
35
|
handleChange: {
|
|
36
|
-
type: PropType<(path: string, value:
|
|
36
|
+
type: PropType<(path: string, value: unknown) => void>;
|
|
37
37
|
required: boolean;
|
|
38
38
|
};
|
|
39
39
|
changeValue: {
|
|
40
|
-
type: PropType<(newValue:
|
|
40
|
+
type: PropType<(newValue: unknown) => void>;
|
|
41
41
|
required: boolean;
|
|
42
42
|
};
|
|
43
43
|
disabled: {
|
|
@@ -53,11 +53,11 @@ export declare const controlProps: {
|
|
|
53
53
|
required: boolean;
|
|
54
54
|
};
|
|
55
55
|
onRegisterValidation: {
|
|
56
|
-
type: PropType<(validation: import('./validation/types').ValidationMethod<
|
|
56
|
+
type: PropType<(validation: import('./validation/types').ValidationMethod<never>) => () => void>;
|
|
57
57
|
required: boolean;
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
|
-
export declare const defineControl: <D>(setup: (props: VueControlProps<D>, ctx: SetupContext<
|
|
60
|
+
export declare const defineControl: <D>(setup: (props: VueControlProps<D>, ctx: SetupContext<unknown, SlotsType<ControlSlots>>) => () => VNode | null | VNode[]) => VueControl<D>;
|
|
61
61
|
export declare const mapControls: (mapper: (control: VueControl<any>, key: string) => VueControl<any>) => <T extends Record<string, VueControlRenderer>>(cs: T) => T;
|
|
62
62
|
export declare const mapLayouts: (mapper: (layout: VueLayout, key: string) => VueLayout) => <T extends Record<string, VueLayoutRenderer>>(ls: T) => T;
|
|
63
63
|
export type SpecialControlRenderer<SpecialControl> = Omit<VueControlRenderer, "control"> & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { Messages, PerformExternalValidation, ValidationMethod } from './types';
|
|
3
|
-
export declare const useValidation: <T =
|
|
3
|
+
export declare const useValidation: <T = unknown>({ data, options, performExternalValidation, }: {
|
|
4
4
|
data: Ref<T>;
|
|
5
5
|
options: Ref<Record<string, any>>;
|
|
6
6
|
performExternalValidation?: PerformExternalValidation<unknown>;
|
|
@@ -7,7 +7,7 @@ import { NamedTester, ParameterizedComponent } from '../types';
|
|
|
7
7
|
export type VueLayoutProps = {
|
|
8
8
|
layout: ReturnType<typeof useJsonFormsLayout>["layout"]["value"] & {
|
|
9
9
|
uischema: {
|
|
10
|
-
[K: string]:
|
|
10
|
+
[K: string]: never;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
};
|
|
@@ -17,7 +17,7 @@ export type VueLayoutProps = {
|
|
|
17
17
|
export type LayoutSlots = {
|
|
18
18
|
buttons?: (props: {
|
|
19
19
|
hover: boolean;
|
|
20
|
-
}) =>
|
|
20
|
+
}) => unknown[];
|
|
21
21
|
};
|
|
22
22
|
export type VueLayout = ParameterizedComponent<{
|
|
23
23
|
props: VueLayoutProps;
|
|
@@ -16,10 +16,10 @@ export declare const layoutProps: {
|
|
|
16
16
|
visible: boolean;
|
|
17
17
|
} & {
|
|
18
18
|
uischema: {
|
|
19
|
-
[K: string]:
|
|
19
|
+
[K: string]: never;
|
|
20
20
|
};
|
|
21
21
|
}>;
|
|
22
22
|
required: boolean;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
export declare const defineLayout: (setup: (props: VueLayoutProps, ctx: SetupContext<
|
|
25
|
+
export declare const defineLayout: (setup: (props: VueLayoutProps, ctx: SetupContext<unknown, SlotsType<LayoutSlots>>) => () => VNode | null) => VueLayout;
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { Component } from 'vue';
|
|
1
|
+
import { Component, ComputedOptions, EmitsOptions, MethodOptions } from 'vue';
|
|
2
2
|
import { RankedTester } from '@jsonforms/core';
|
|
3
3
|
import { RendererProps } from '@jsonforms/vue';
|
|
4
4
|
export type ComponentParams = {
|
|
5
|
-
props:
|
|
6
|
-
slots: Record<string,
|
|
5
|
+
props: object;
|
|
6
|
+
slots: Record<string, unknown>;
|
|
7
7
|
};
|
|
8
8
|
export type ParameterizedComponent<T extends ComponentParams> = Component<T["props"], // props
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
unknown, // bindings
|
|
10
|
+
unknown, // data
|
|
11
|
+
ComputedOptions, // computed
|
|
12
|
+
MethodOptions, // methods
|
|
13
|
+
// methods
|
|
14
|
+
EmitsOptions | Record<string, unknown[]>, // emits
|
|
14
15
|
T["slots"]>;
|
|
15
16
|
export type RendererParams = {
|
|
16
17
|
props: RendererProps;
|
|
17
|
-
slots:
|
|
18
|
+
slots: ComponentParams;
|
|
18
19
|
};
|
|
19
20
|
export type NamedTester = {
|
|
20
21
|
tester: RankedTester;
|
|
21
22
|
name: string;
|
|
22
23
|
};
|
|
23
24
|
export type NamedRenderer = NamedTester & {
|
|
24
|
-
renderer:
|
|
25
|
+
renderer: unknown;
|
|
25
26
|
};
|
|
@@ -73,7 +73,7 @@ export declare const controls: {
|
|
|
73
73
|
id: string;
|
|
74
74
|
visible: boolean;
|
|
75
75
|
}, "data">;
|
|
76
|
-
handleChange: (path: string, value:
|
|
76
|
+
handleChange: (path: string, value: unknown) => void;
|
|
77
77
|
changeValue: (newValue: string[]) => void;
|
|
78
78
|
disabled: boolean;
|
|
79
79
|
labelForId?: null | undefined;
|
|
@@ -118,7 +118,7 @@ export declare const controls: {
|
|
|
118
118
|
id: string;
|
|
119
119
|
visible: boolean;
|
|
120
120
|
}, "data">;
|
|
121
|
-
handleChange: (path: string, value:
|
|
121
|
+
handleChange: (path: string, value: unknown) => void;
|
|
122
122
|
changeValue: (newValue: string[]) => void;
|
|
123
123
|
disabled: boolean;
|
|
124
124
|
labelForId?: null | undefined;
|
|
@@ -160,7 +160,7 @@ export declare const controls: {
|
|
|
160
160
|
id: string;
|
|
161
161
|
visible: boolean;
|
|
162
162
|
}, "data">;
|
|
163
|
-
handleChange: (path: string, value:
|
|
163
|
+
handleChange: (path: string, value: unknown) => void;
|
|
164
164
|
changeValue: (newValue: string[]) => void;
|
|
165
165
|
disabled: boolean;
|
|
166
166
|
labelForId?: null | undefined;
|
|
@@ -231,7 +231,7 @@ export declare const controls: {
|
|
|
231
231
|
id: string;
|
|
232
232
|
visible: boolean;
|
|
233
233
|
}, "data">;
|
|
234
|
-
handleChange: (path: string, value:
|
|
234
|
+
handleChange: (path: string, value: unknown) => void;
|
|
235
235
|
changeValue: (newValue: undefined) => void;
|
|
236
236
|
disabled: boolean;
|
|
237
237
|
labelForId?: null | undefined;
|
|
@@ -275,7 +275,7 @@ export declare const controls: {
|
|
|
275
275
|
id: string;
|
|
276
276
|
visible: boolean;
|
|
277
277
|
}, "data">;
|
|
278
|
-
handleChange: (path: string, value:
|
|
278
|
+
handleChange: (path: string, value: unknown) => void;
|
|
279
279
|
changeValue: (newValue: undefined) => void;
|
|
280
280
|
disabled: boolean;
|
|
281
281
|
labelForId?: null | undefined;
|
|
@@ -323,7 +323,7 @@ export declare const controls: {
|
|
|
323
323
|
id: string;
|
|
324
324
|
visible: boolean;
|
|
325
325
|
}, "data">;
|
|
326
|
-
handleChange: (path: string, value:
|
|
326
|
+
handleChange: (path: string, value: unknown) => void;
|
|
327
327
|
changeValue: (newValue: undefined) => void;
|
|
328
328
|
disabled: boolean;
|
|
329
329
|
labelForId?: null | undefined;
|
|
@@ -28,7 +28,7 @@ export declare const simpleButtonRenderer: {
|
|
|
28
28
|
id: string;
|
|
29
29
|
visible: boolean;
|
|
30
30
|
}, "data">;
|
|
31
|
-
handleChange: (path: string, value:
|
|
31
|
+
handleChange: (path: string, value: unknown) => void;
|
|
32
32
|
changeValue: (newValue: undefined) => void;
|
|
33
33
|
disabled: boolean;
|
|
34
34
|
labelForId?: null | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const simpleButtonRenderer: {
|
|
|
72
72
|
id: string;
|
|
73
73
|
visible: boolean;
|
|
74
74
|
}, "data">;
|
|
75
|
-
handleChange: (path: string, value:
|
|
75
|
+
handleChange: (path: string, value: unknown) => void;
|
|
76
76
|
changeValue: (newValue: undefined) => void;
|
|
77
77
|
disabled: boolean;
|
|
78
78
|
labelForId?: null | undefined;
|
|
@@ -120,7 +120,7 @@ export declare const simpleButtonRenderer: {
|
|
|
120
120
|
id: string;
|
|
121
121
|
visible: boolean;
|
|
122
122
|
}, "data">;
|
|
123
|
-
handleChange: (path: string, value:
|
|
123
|
+
handleChange: (path: string, value: unknown) => void;
|
|
124
124
|
changeValue: (newValue: undefined) => void;
|
|
125
125
|
disabled: boolean;
|
|
126
126
|
labelForId?: null | undefined;
|
|
@@ -29,7 +29,7 @@ export declare const sortListRenderer: {
|
|
|
29
29
|
id: string;
|
|
30
30
|
visible: boolean;
|
|
31
31
|
}, "data">;
|
|
32
|
-
handleChange: (path: string, value:
|
|
32
|
+
handleChange: (path: string, value: unknown) => void;
|
|
33
33
|
changeValue: (newValue: string[]) => void;
|
|
34
34
|
disabled: boolean;
|
|
35
35
|
labelForId?: null | undefined;
|
|
@@ -74,7 +74,7 @@ export declare const sortListRenderer: {
|
|
|
74
74
|
id: string;
|
|
75
75
|
visible: boolean;
|
|
76
76
|
}, "data">;
|
|
77
|
-
handleChange: (path: string, value:
|
|
77
|
+
handleChange: (path: string, value: unknown) => void;
|
|
78
78
|
changeValue: (newValue: string[]) => void;
|
|
79
79
|
disabled: boolean;
|
|
80
80
|
labelForId?: null | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const sortListRenderer: {
|
|
|
116
116
|
id: string;
|
|
117
117
|
visible: boolean;
|
|
118
118
|
}, "data">;
|
|
119
|
-
handleChange: (path: string, value:
|
|
119
|
+
handleChange: (path: string, value: unknown) => void;
|
|
120
120
|
changeValue: (newValue: string[]) => void;
|
|
121
121
|
disabled: boolean;
|
|
122
122
|
labelForId?: null | undefined;
|
|
@@ -5,8 +5,8 @@ export type IdAndText = {
|
|
|
5
5
|
id: string;
|
|
6
6
|
text: string;
|
|
7
7
|
};
|
|
8
|
-
export type PossibleValue<SpecialChoicesProps extends Record<string,
|
|
9
|
-
export type ChoicesUiSchemaOptions<SpecialChoicesProps extends Record<string,
|
|
8
|
+
export type PossibleValue<SpecialChoicesProps extends Record<string, unknown>> = IdAndText & SpecialChoicesProps;
|
|
9
|
+
export type ChoicesUiSchemaOptions<SpecialChoicesProps extends Record<string, unknown>> = {
|
|
10
10
|
possibleValues?: PossibleValue<SpecialChoicesProps>[];
|
|
11
11
|
choicesProvider?: StateProviderLocation;
|
|
12
12
|
};
|
|
@@ -14,7 +14,7 @@ export type IncludedExcludedLabelOptions = {
|
|
|
14
14
|
includedLabel?: string;
|
|
15
15
|
excludedLabel?: string;
|
|
16
16
|
};
|
|
17
|
-
export type ChoicesUiSchema<S extends Record<string,
|
|
17
|
+
export type ChoicesUiSchema<S extends Record<string, unknown>> = ControlElement & {
|
|
18
18
|
options?: ChoicesUiSchemaOptions<S>;
|
|
19
19
|
};
|
|
20
|
-
export type ChoicesUiSchemaWithProvidedOptions<S extends Record<string, unknown
|
|
20
|
+
export type ChoicesUiSchemaWithProvidedOptions<S extends Record<string, unknown>> = UiSchemaWithProvidedOptions<ChoicesUiSchemaOptions<S>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IdAndText } from './ChoicesUiSchema';
|
|
1
2
|
import { AlertParams } from './alert';
|
|
2
3
|
export type StateProviderLocation = ({
|
|
3
4
|
id: string;
|
|
@@ -18,13 +19,17 @@ type registerWatcher = (params: {
|
|
|
18
19
|
init?: (newData: SettingsData) => Promise<void>;
|
|
19
20
|
dependencies: string[];
|
|
20
21
|
}) => Promise<() => void>;
|
|
21
|
-
type getData = (params:
|
|
22
|
+
type getData = (params: unknown) => Promise<{
|
|
23
|
+
result: IdAndText[];
|
|
24
|
+
state: string;
|
|
25
|
+
message: string[];
|
|
26
|
+
}>;
|
|
22
27
|
/**
|
|
23
28
|
* Types provided by the JsonFormsDialog.vue component
|
|
24
29
|
*/
|
|
25
30
|
export interface Provided {
|
|
26
|
-
addStateProviderListener: addStateProviderListener<
|
|
27
|
-
trigger: (triggerId:
|
|
31
|
+
addStateProviderListener: addStateProviderListener<never>;
|
|
32
|
+
trigger: (triggerId: unknown) => void;
|
|
28
33
|
sendAlert: (params: AlertParams) => void;
|
|
29
34
|
registerWatcher: registerWatcher;
|
|
30
35
|
getData: getData;
|
|
@@ -26,7 +26,7 @@ declare const _default: <SettingValue>(__VLS_props: {
|
|
|
26
26
|
id: string;
|
|
27
27
|
visible: boolean;
|
|
28
28
|
}, "data">;
|
|
29
|
-
handleChange: (path: string, value:
|
|
29
|
+
handleChange: (path: string, value: unknown) => void;
|
|
30
30
|
changeValue: (newValue: undefined) => void;
|
|
31
31
|
disabled: boolean;
|
|
32
32
|
labelForId?: null | undefined;
|
|
@@ -70,7 +70,7 @@ declare const _default: <SettingValue>(__VLS_props: {
|
|
|
70
70
|
id: string;
|
|
71
71
|
visible: boolean;
|
|
72
72
|
}, "data">;
|
|
73
|
-
handleChange: (path: string, value:
|
|
73
|
+
handleChange: (path: string, value: unknown) => void;
|
|
74
74
|
changeValue: (newValue: undefined) => void;
|
|
75
75
|
disabled: boolean;
|
|
76
76
|
labelForId?: null | undefined;
|
|
@@ -118,7 +118,7 @@ declare const _default: <SettingValue>(__VLS_props: {
|
|
|
118
118
|
id: string;
|
|
119
119
|
visible: boolean;
|
|
120
120
|
}, "data">;
|
|
121
|
-
handleChange: (path: string, value:
|
|
121
|
+
handleChange: (path: string, value: unknown) => void;
|
|
122
122
|
changeValue: (newValue: undefined) => void;
|
|
123
123
|
disabled: boolean;
|
|
124
124
|
labelForId?: null | undefined;
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
27
27
|
id: string;
|
|
28
28
|
visible: boolean;
|
|
29
29
|
}, "data">;
|
|
30
|
-
handleChange: (path: string, value:
|
|
30
|
+
handleChange: (path: string, value: unknown) => void;
|
|
31
31
|
changeValue: (newValue: string[]) => void;
|
|
32
32
|
disabled: boolean;
|
|
33
33
|
labelForId?: null | undefined;
|
|
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
62
62
|
id: string;
|
|
63
63
|
visible: boolean;
|
|
64
64
|
}, "data">;
|
|
65
|
-
handleChange: (path: string, value:
|
|
65
|
+
handleChange: (path: string, value: unknown) => void;
|
|
66
66
|
changeValue: (newValue: string[]) => void;
|
|
67
67
|
disabled: boolean;
|
|
68
68
|
labelForId?: null | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { ChoicesUiSchema, ChoicesUiSchemaWithProvidedOptions, IdAndText, IncludedExcludedLabelOptions } from '../../types/ChoicesUiSchema';
|
|
3
|
-
export declare const usePossibleValues: <SpecialChoicesProps extends Record<string,
|
|
3
|
+
export declare const usePossibleValues: <SpecialChoicesProps extends Record<string, unknown>>(control: Ref<{
|
|
4
4
|
uischema: ChoicesUiSchemaWithProvidedOptions<SpecialChoicesProps>;
|
|
5
5
|
}>) => {
|
|
6
6
|
possibleValues: Ref<import('../../types/ChoicesUiSchema').PossibleValue<SpecialChoicesProps>[] | null, import('../../types/ChoicesUiSchema').PossibleValue<SpecialChoicesProps>[] | null>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineComponent as r, openBlock as c, createBlock as s, unref as i, h as a } from "vue";
|
|
2
|
+
import { R as d } from "./reload-BVbCGubF.js";
|
|
3
|
+
import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DuNRJy9L.js";
|
|
4
|
+
const p = /* @__PURE__ */ r({
|
|
5
|
+
__name: "LoadingIcon",
|
|
6
|
+
setup(t) {
|
|
7
|
+
const o = l(d, "Loading…");
|
|
8
|
+
return (e, n) => (c(), s(i(o)));
|
|
9
|
+
}
|
|
10
|
+
}), u = /* @__PURE__ */ _(p, [["__scopeId", "data-v-928b9628"]]), l = (t, o) => ({
|
|
11
|
+
render() {
|
|
12
|
+
const e = t.render({}, []), n = a("title", o);
|
|
13
|
+
return n.ns = "svg", e.children.unshift(n), e;
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
u as L
|
|
18
|
+
};
|
|
@@ -7,10 +7,11 @@ export type ProvidedMethods = {
|
|
|
7
7
|
trigger: Mock;
|
|
8
8
|
addStateProviderListener: Mock;
|
|
9
9
|
};
|
|
10
|
-
export type VueControlTestProps<C extends abstract new (...args:
|
|
10
|
+
export type VueControlTestProps<C extends abstract new (...args: never[]) => void> = Omit<InstanceType<C>["$props"], "handleChange" | "changeValue" | "onRegisterValidation">;
|
|
11
|
+
type RecordKeyTypes = string | number | symbol;
|
|
11
12
|
export declare const getGlobal: ({ provide, stubs, }: {
|
|
12
13
|
provide?: Partial<ProvidedMethods>;
|
|
13
|
-
stubs?: Record<
|
|
14
|
+
stubs?: Record<RecordKeyTypes, unknown>;
|
|
14
15
|
}) => {
|
|
15
16
|
provide: {
|
|
16
17
|
sendAlert: Mock;
|
|
@@ -24,7 +25,7 @@ export declare const getGlobal: ({ provide, stubs, }: {
|
|
|
24
25
|
export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { props, provide, stubs, }: {
|
|
25
26
|
props: NoInfer<Omit<VueControlProps<D>, "handleChange" | "changeValue" | "onRegisterValidation">>;
|
|
26
27
|
provide?: Partial<ProvidedMethods>;
|
|
27
|
-
stubs?: Record<
|
|
28
|
+
stubs?: Record<RecordKeyTypes, unknown>;
|
|
28
29
|
}) => {
|
|
29
30
|
wrapper: import('@vue/test-utils').VueWrapper<({} | ({
|
|
30
31
|
control: {
|
|
@@ -54,14 +55,16 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
|
|
|
54
55
|
id: string;
|
|
55
56
|
visible: boolean;
|
|
56
57
|
}, "data">;
|
|
57
|
-
handleChange: (path: string, value:
|
|
58
|
+
handleChange: (path: string, value: unknown) => void;
|
|
58
59
|
changeValue: (newValue: D) => void;
|
|
59
60
|
disabled: boolean;
|
|
60
61
|
labelForId?: null | undefined;
|
|
61
|
-
} & import('../src/higherOrderComponents/control/validation/types').ValidationSettings<D> & ({
|
|
62
|
-
[x: `on${Capitalize<
|
|
62
|
+
} & import('../src/higherOrderComponents/control/validation/types').ValidationSettings<D> & ({
|
|
63
|
+
[x: `on${Capitalize<string>}`]: ((...args: never) => any) | undefined;
|
|
63
64
|
} | {
|
|
64
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]
|
|
65
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
66
|
+
} | {
|
|
67
|
+
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
65
68
|
})) | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>>) & {} & ({} | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
66
69
|
P: {};
|
|
67
70
|
B: {};
|
|
@@ -97,14 +100,16 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
|
|
|
97
100
|
id: string;
|
|
98
101
|
visible: boolean;
|
|
99
102
|
}, "data">;
|
|
100
|
-
handleChange: (path: string, value:
|
|
103
|
+
handleChange: (path: string, value: unknown) => void;
|
|
101
104
|
changeValue: (newValue: D) => void;
|
|
102
105
|
disabled: boolean;
|
|
103
106
|
labelForId?: null | undefined;
|
|
104
|
-
} & import('../src/higherOrderComponents/control/validation/types').ValidationSettings<D> & ({
|
|
105
|
-
[x: `on${Capitalize<
|
|
107
|
+
} & import('../src/higherOrderComponents/control/validation/types').ValidationSettings<D> & ({
|
|
108
|
+
[x: `on${Capitalize<string>}`]: ((...args: never) => any) | undefined;
|
|
109
|
+
} | {
|
|
110
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
106
111
|
} | {
|
|
107
|
-
[x: `on${Capitalize<string>}`]: ((...args:
|
|
112
|
+
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
108
113
|
})) | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>>, ({} | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
109
114
|
P: {};
|
|
110
115
|
B: {};
|
|
@@ -155,14 +160,16 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
|
|
|
155
160
|
export declare const mountJsonFormsControlLabelContent: <D>(component: VueControlThatRequiresLabelWrapper<D>, { props, provide, stubs, }: {
|
|
156
161
|
props: NoInfer<Omit<VueControlPropsForLabelContent<D>, "handleChange" | "changeValue" | "onRegisterValidation">>;
|
|
157
162
|
provide?: Partial<ProvidedMethods>;
|
|
158
|
-
stubs?: Record<
|
|
163
|
+
stubs?: Record<RecordKeyTypes, unknown>;
|
|
159
164
|
}) => {
|
|
160
165
|
wrapper: import('@vue/test-utils').VueWrapper<({} | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>> | (Omit<VueControlProps<D>, "messages" | "labelForId"> & {
|
|
161
166
|
labelForId: string;
|
|
162
|
-
} & ({
|
|
163
|
-
[x: `on${Capitalize<
|
|
167
|
+
} & ({
|
|
168
|
+
[x: `on${Capitalize<string>}`]: ((...args: never) => any) | undefined;
|
|
169
|
+
} | {
|
|
170
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
164
171
|
} | {
|
|
165
|
-
[x: `on${Capitalize<string>}`]: ((...args:
|
|
172
|
+
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
166
173
|
}))) & {} & ({} | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
167
174
|
P: {};
|
|
168
175
|
B: {};
|
|
@@ -172,10 +179,12 @@ export declare const mountJsonFormsControlLabelContent: <D>(component: VueContro
|
|
|
172
179
|
Defaults: {};
|
|
173
180
|
}, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | VueControlPropsForLabelContent<D>), import('vue').ComponentPublicInstance<{} | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>> | (Omit<VueControlProps<D>, "messages" | "labelForId"> & {
|
|
174
181
|
labelForId: string;
|
|
175
|
-
} & ({
|
|
176
|
-
[x: `on${Capitalize<
|
|
182
|
+
} & ({
|
|
183
|
+
[x: `on${Capitalize<string>}`]: ((...args: never) => any) | undefined;
|
|
177
184
|
} | {
|
|
178
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]
|
|
185
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
186
|
+
} | {
|
|
187
|
+
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
179
188
|
})), ({} | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
180
189
|
P: {};
|
|
181
190
|
B: {};
|
|
@@ -225,24 +234,28 @@ export declare const mountJsonFormsControlLabelContent: <D>(component: VueContro
|
|
|
225
234
|
export declare const mountJsonFormsLayout: (component: VueLayout, { props, provide, stubs, }: {
|
|
226
235
|
props: VueLayoutProps;
|
|
227
236
|
provide?: Partial<ProvidedMethods>;
|
|
228
|
-
stubs?: Record<
|
|
237
|
+
stubs?: Record<RecordKeyTypes, unknown>;
|
|
229
238
|
}) => {
|
|
230
|
-
wrapper: import('@vue/test-utils').VueWrapper<({} |
|
|
231
|
-
[x: `on${Capitalize<
|
|
239
|
+
wrapper: import('@vue/test-utils').VueWrapper<({} | (VueLayoutProps & ({
|
|
240
|
+
[x: `on${Capitalize<string>}`]: ((...args: never) => any) | undefined;
|
|
241
|
+
} | {
|
|
242
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
232
243
|
} | {
|
|
233
|
-
[x: `on${Capitalize<string>}`]: ((...args:
|
|
234
|
-
}))) & {} & ({} | VueLayoutProps | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
244
|
+
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
245
|
+
})) | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>>) & {} & ({} | VueLayoutProps | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
235
246
|
P: {};
|
|
236
247
|
B: {};
|
|
237
248
|
D: {};
|
|
238
249
|
C: {};
|
|
239
250
|
M: {};
|
|
240
251
|
Defaults: {};
|
|
241
|
-
}, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}>), import('vue').ComponentPublicInstance<{} |
|
|
242
|
-
[x: `on${Capitalize<
|
|
252
|
+
}, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}>), import('vue').ComponentPublicInstance<{} | (VueLayoutProps & ({
|
|
253
|
+
[x: `on${Capitalize<string>}`]: ((...args: never) => any) | undefined;
|
|
254
|
+
} | {
|
|
255
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
243
256
|
} | {
|
|
244
|
-
[x: `on${Capitalize<string>}`]: ((...args:
|
|
245
|
-
})), ({} | VueLayoutProps | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
257
|
+
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
258
|
+
})) | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>>, ({} | VueLayoutProps | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
246
259
|
P: {};
|
|
247
260
|
B: {};
|
|
248
261
|
D: {};
|
|
@@ -258,7 +271,7 @@ export declare const mountJsonFormsRenderer: (component: Component, { props, pro
|
|
|
258
271
|
layout: ReturnType<typeof jsonformsVueModule.useJsonFormsLayout>["layout"];
|
|
259
272
|
};
|
|
260
273
|
provide?: Partial<ProvidedMethods>;
|
|
261
|
-
stubs?: Record<
|
|
274
|
+
stubs?: Record<RecordKeyTypes, unknown>;
|
|
262
275
|
}) => import('@vue/test-utils').VueWrapper<any, any>;
|
|
263
276
|
export declare const getControlBase: (path: string) => {
|
|
264
277
|
path: string;
|
|
@@ -284,3 +297,4 @@ export declare const useInitialProvidedState: <T>() => {
|
|
|
284
297
|
addStateProviderListener: Mock<(_id: any, callback: any) => void>;
|
|
285
298
|
provideState: (state: T) => Promise<void>;
|
|
286
299
|
};
|
|
300
|
+
export {};
|
package/dist/testing.js
CHANGED
|
@@ -3,8 +3,8 @@ var L_ = (e, t, n) => t in e ? j_(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var G = (e, t, n) => L_(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as nh from "vue";
|
|
5
5
|
import { initDirectivesForSSR as F_, nextTick as fo, defineComponent as ui, computed as kr, h as xn, shallowReactive as B_, reactive as V_, ref as rh, createApp as q_, transformVNodeArgs as W_, setDevtoolsHook as U_, Transition as z_, BaseTransition as K_, TransitionGroup as X_, isRef as G_ } from "vue";
|
|
6
|
-
import { o as J_, q as H_, e as Y_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
7
|
-
import { b as Q_ } from "./_baseIteratee-
|
|
6
|
+
import { o as J_, q as H_, e as Y_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DuNRJy9L.js";
|
|
7
|
+
import { b as Q_ } from "./_baseIteratee-BNrFMJLO.js";
|
|
8
8
|
function Z_(e, t) {
|
|
9
9
|
return e > t;
|
|
10
10
|
}
|
|
@@ -9512,7 +9512,7 @@ function Bw(e, t) {
|
|
|
9512
9512
|
return s + 1;
|
|
9513
9513
|
}
|
|
9514
9514
|
async function Vw(e, t) {
|
|
9515
|
-
const n = (await import("./magic-string.es-
|
|
9515
|
+
const n = (await import("./magic-string.es-CiPQTuXC.js")).default, r = new Set(t.map((i) => i.file));
|
|
9516
9516
|
await Promise.all(
|
|
9517
9517
|
Array.from(r).map(async (i) => {
|
|
9518
9518
|
const s = t.filter((c) => c.file === i), o = await e.readSnapshotFile(i), a = new n(o);
|
|
@@ -20216,6 +20216,7 @@ const rs = ({
|
|
|
20216
20216
|
provide: n = {},
|
|
20217
20217
|
stubs: r = {}
|
|
20218
20218
|
}) => ns(e, {
|
|
20219
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
20219
20220
|
props: t,
|
|
20220
20221
|
global: rs({ provide: n, stubs: r })
|
|
20221
20222
|
}), cx = (e) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as s, o as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
1
|
+
import { S as s, o as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DuNRJy9L.js";
|
|
2
2
|
import { i as l } from "./isArray-WzO_os3q.js";
|
|
3
3
|
function p(r, t) {
|
|
4
4
|
for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
|