@knime/jsonforms 0.1.7 → 1.0.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/CHANGELOG.md +14 -0
- package/README.md +71 -70
- package/dist/AnyOfTwinlist-B_ZhgekG.js +20 -0
- package/dist/BaseButton-arvXMjXG.js +112 -0
- package/dist/Button-Bc51Uur8.js +83 -0
- package/dist/Checkbox-BxPISyW3.js +75 -0
- package/dist/CheckboxControl-B-RyvD0K.js +42 -0
- package/dist/{Checkboxes-C6FkTqJJ.js → Checkboxes-COtqblKj.js} +11 -10
- package/dist/CheckboxesControl-YyKWzrxj.js +38 -0
- package/dist/ColumnFilter-bO-fKaHD.js +22 -0
- package/dist/ColumnSelect-D0vqxZ2B.js +65 -0
- package/dist/{ComboBoxControl-ZCl7sHRN.js → ComboBoxControl-CLL5eRHX.js} +127 -126
- package/dist/DateControl-v0qHckKz.js +27 -0
- package/dist/DateTimeControl-COnMFfMd.js +47 -0
- package/dist/DateTimeInput-ltP7o2TE.js +11059 -0
- package/dist/Dropdown-By1NMrXZ.js +691 -0
- package/dist/{DropdownControl-BFnea4SN.js → DropdownControl-Eb3G4P0X.js} +1 -1
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-Cfmqdv7v.js +223 -0
- package/dist/ErrorMessage-fuIcc8xw.js +23 -0
- package/dist/FunctionButton-DBec3TQi.js +75 -0
- package/dist/HorizontalLayout-Dsv1qfyL.js +30 -0
- package/dist/InputField-BKH5rtn3.js +148 -0
- package/dist/IntegerControl-CBuOHc4B.js +18 -0
- package/dist/{IntervalControl-CsuXbPwA.js → IntervalControl-JL6QGHT2.js} +214 -216
- package/dist/{MultiselectListBox-BWKtEC8t.js → MultiselectListBox-Dv5n9S3f.js} +4 -3
- package/dist/NameFilter-oHBcHQTY.js +22 -0
- package/dist/NumberControl-Cwf50Oe-.js +18 -0
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-C_g1bVI2.js +42 -0
- package/dist/{NumberInput-84bJjfB4.js → NumberInput-DERn3NyL.js} +9 -7
- package/dist/OneOfDropdown-kY3PQFJX.js +32 -0
- package/dist/RadioControl-DsVkQLSI.js +22 -0
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BsA00YLx.js +106 -0
- package/dist/{RichTextControl-DgdPhNzf.js → RichTextControl-DXH5XiAI.js} +4595 -3481
- package/dist/SectionLayout-BDgtf57K.js +43 -0
- package/dist/SimpleButtonControl-6d7wNl3P.js +58 -0
- package/dist/SimpleTwinlistControl-CJyR3gN8.js +48 -0
- package/dist/SortListControl-On9GHu_U.js +356 -0
- package/dist/TextAreaControl-DF_pLD80.js +108 -0
- package/dist/TextControl-BTZ4ONmV.js +4 -0
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-CYfvYMWm.js +65 -0
- package/dist/{TimeControl-D07XI-Sl.js → TimeControl-D2j2e_nC.js} +122 -124
- package/dist/TwinlistControl-DcFpZrni.js +553 -0
- package/dist/{TwinlistLoadingInfo-DHKwC-WM.js → TwinlistLoadingInfo-CTVlN9EZ.js} +183 -175
- package/dist/{ValueSwitch-DXmeJXda.js → ValueSwitch-CpE1f4ie.js} +1 -1
- package/dist/ValueSwitchControl-BQFL8H6P.js +18 -0
- package/dist/VerticalLayout-D1KXulG4.js +30 -0
- package/dist/{VerticalLayoutBase-CI2PQj0c.js → VerticalLayoutBase-D-NdtOho.js} +2 -2
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-BmCXzwjJ.js +13201 -0
- package/dist/_baseAssignValue-C56BMUo_.js +19 -0
- package/dist/_baseEach-1sO8_8tT.js +31 -0
- package/dist/_baseIsEqual-d71B2UwX.js +248 -0
- package/dist/_baseIteratee-BgB8cpN8.js +104 -0
- package/dist/_getTag-BiNJdVyP.js +314 -0
- package/dist/arrow-dropdown-DjUxzjqC.js +17 -0
- package/dist/close-h7XT0ja0.js +17 -0
- package/dist/floating-ui.vue.esm-CDpUY3-t.js +986 -0
- package/dist/getPossibleValuesFromUiSchema-BFJtj-id.js +40 -0
- package/dist/index-BrIvBSNK-BRWnkVln.js +685 -0
- package/dist/index-C1PjXAJX.js +17 -0
- package/dist/index-Cp7Xre_V.js +331 -0
- package/dist/isObject-B53jY8Qg.js +7 -0
- package/dist/isSymbol-DLKDpjGl.js +8 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.d.ts +2 -0
- package/dist/knime-jsonforms.js +119 -3
- package/dist/magic-string.es-DFyz70Kz.js +860 -0
- package/dist/popper-1JCni0RT.js +907 -0
- package/dist/reload-BhzcZRFp.js +17 -0
- package/dist/src/JsonFormsDialog.vue.d.ts +50 -0
- package/dist/src/constants/index.d.ts +2 -0
- package/dist/src/constants/inputFormats.d.ts +25 -0
- package/dist/src/constants/priorityRanks.d.ts +4 -0
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +31 -0
- package/dist/src/higherOrderComponents/control/addLabel.d.ts +6 -0
- package/dist/src/higherOrderComponents/control/controlToRenderer.d.ts +6 -0
- package/dist/src/higherOrderComponents/control/handleVisibility.d.ts +2 -0
- package/dist/src/higherOrderComponents/control/index.d.ts +7 -0
- package/dist/src/higherOrderComponents/control/types.d.ts +36 -0
- package/dist/src/higherOrderComponents/control/util.d.ts +44 -0
- package/dist/src/higherOrderComponents/index.d.ts +3 -0
- package/dist/src/higherOrderComponents/layout/handleVisibility.d.ts +2 -0
- package/dist/src/higherOrderComponents/layout/index.d.ts +4 -0
- package/dist/src/higherOrderComponents/layout/layoutToRenderer.d.ts +6 -0
- package/dist/src/higherOrderComponents/layout/types.d.ts +28 -0
- package/dist/src/higherOrderComponents/layout/util.d.ts +25 -0
- package/dist/src/higherOrderComponents/types.d.ts +25 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/layoutComponents/Form.vue.d.ts +10 -0
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +12 -0
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +21 -0
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +12 -0
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +26 -0
- package/dist/src/layoutComponents/index.d.ts +3 -0
- package/dist/src/loading/LoadingDialog.vue.d.ts +2 -0
- package/dist/src/renderers/checkboxRenderer.d.ts +192 -0
- package/dist/src/renderers/checkboxesRenderer.d.ts +7 -0
- package/dist/src/renderers/columnFilterRenderer.d.ts +5 -0
- package/dist/src/renderers/columnSelectRenderer.d.ts +209 -0
- package/dist/src/renderers/comboBoxRenderer.d.ts +6 -0
- package/dist/src/renderers/dateTimeRenderer.d.ts +5 -0
- package/dist/src/renderers/defaultRenderers.d.ts +1898 -0
- package/dist/src/renderers/dropdownRenderer.d.ts +253 -0
- package/dist/src/renderers/fallbackRenderers.d.ts +649 -0
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +48 -0
- package/dist/src/renderers/index.d.ts +1 -0
- package/dist/src/renderers/integerRenderer.d.ts +5 -0
- package/dist/src/renderers/intervalRenderer.d.ts +5 -0
- package/dist/src/renderers/localDateRenderer.d.ts +5 -0
- package/dist/src/renderers/localTimeRenderer.d.ts +5 -0
- package/dist/src/renderers/nameFilterRenderer.d.ts +5 -0
- package/dist/src/renderers/numberRenderer.d.ts +5 -0
- package/dist/src/renderers/radioRenderer.d.ts +5 -0
- package/dist/src/renderers/richTextRenderer.d.ts +5 -0
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +108 -0
- package/dist/src/renderers/simpleButtonRenderer.d.ts +121 -0
- package/dist/src/renderers/sortListRenderer.d.ts +288 -0
- package/dist/src/renderers/textAreaRenderer.d.ts +5 -0
- package/dist/src/renderers/textMessageRenderer.d.ts +89 -0
- package/dist/src/renderers/textRenderer.d.ts +193 -0
- package/dist/src/renderers/twinlistRenderer.d.ts +13 -0
- package/dist/src/renderers/valueSwitchRenderer.d.ts +5 -0
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +94 -0
- package/dist/src/types/ChoicesUiSchema.d.ts +21 -0
- package/dist/src/types/Control.d.ts +2 -0
- package/dist/src/types/alert.d.ts +5 -0
- package/dist/src/types/provided.d.ts +25 -0
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +22 -0
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/ColumnSelect.vue.d.ts +26 -0
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/DateControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +52 -0
- package/dist/src/uiComponents/DynamicIcon.vue.d.ts +16 -0
- package/dist/src/uiComponents/ErrorMessage.vue.d.ts +23 -0
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/NumberControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +19 -0
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +23 -0
- package/dist/src/uiComponents/RadioControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +19 -0
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +121 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +93 -0
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/TextControl.vue.d.ts +23 -0
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/TimeControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/composables/useHideOnNull.d.ts +28 -0
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +3 -0
- package/dist/src/uiComponents/index.d.ts +4 -0
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +12 -0
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +2 -0
- package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +8 -0
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +29 -0
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +12 -0
- package/dist/src/uiComponents/twinlist/ColumnFilter.vue.d.ts +13 -0
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +13 -0
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +109 -0
- package/dist/src/uiComponents/twinlist/TwinlistControl.vue.d.ts +67 -0
- package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +19 -0
- package/dist/src/utils/getFlattenedSettings.d.ts +5 -0
- package/dist/src/utils/getPossibleValuesFromUiSchema.d.ts +10 -0
- package/dist/src/utils/index.d.ts +15 -0
- package/dist/src/utils/inject.d.ts +3 -0
- package/dist/src/utils/localTimeUtils.d.ts +16 -0
- package/dist/svgWithTitle-zrGi2kyc.js +18 -0
- package/dist/testUtils/component.d.ts +190 -0
- package/dist/testUtils/index.d.ts +2 -0
- package/dist/testUtils/renderer.d.ts +6 -0
- package/dist/testing.d.ts +2 -0
- package/dist/testing.js +18889 -0
- package/dist/toString-C9vll-oa.js +26 -0
- package/dist/useSearch-hpyYQ_6y.js +74 -0
- package/package.json +11 -7
- package/dist/AnyOfTwinlist-BAbzoFfn.js +0 -17
- package/dist/ArrayLayout-Cfdlkm_T.js +0 -487
- package/dist/ButtonControl-yAb2GdQI.js +0 -127
- package/dist/CheckboxControl-Ck45Jycu.js +0 -50
- package/dist/CheckboxesControl-Xx9tpOL6.js +0 -39
- package/dist/ColumnFilter-u7yVpuFC.js +0 -17
- package/dist/ColumnSelect-DfXHTA0Z.js +0 -60
- package/dist/CredentialsControl-D1Te47JG.js +0 -20
- package/dist/CredentialsControlBase-Dqhh-4hT.js +0 -110
- package/dist/DateControl-CuV2lKvs.js +0 -30
- package/dist/DateTimeControl-BDZ18Hzl.js +0 -4
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-BRWvAXuk.js +0 -171
- package/dist/DynamicValuesControl-BgNPwoHm.js +0 -127
- package/dist/FileChooserControl-HX_GjlNB.js +0 -605
- package/dist/FileExplorerTab-FjmnUl9M.js +0 -3951
- package/dist/HorizontalLayout-BrHkxvnP.js +0 -39
- package/dist/IntegerControl-Dxk1Y8LA.js +0 -13
- package/dist/LayoutComponentWrapper-VvzxL4qE.js +0 -36
- package/dist/LegacyCredentialsControl-p5U7Vp0h.js +0 -62
- package/dist/LocalFileChooserControl-Cr0A0dg6.js +0 -57
- package/dist/MenuItems.vue_vue_type_style_index_0_lang-BiJVA2Wt.js +0 -464
- package/dist/NameFilter-CsfBC6e2.js +0 -17
- package/dist/NodeDialog.vue.d.ts +0 -8
- package/dist/NumberControl-BJCFqjn3.js +0 -13
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DkAPaKAi.js +0 -43
- package/dist/OneOfDropdown-CBLlPlxh.js +0 -15
- package/dist/RadioControl-BZEV6NYx.js +0 -13
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-DvA87Y4C.js +0 -128
- package/dist/SectionLayout-DtVREvcv.js +0 -54
- package/dist/SimpleButtonControl-D2kCPiU9.js +0 -59
- package/dist/SimpleTwinlistControl-D6E8DEoD.js +0 -68
- package/dist/SortListControl-DcW5Ofs5.js +0 -316
- package/dist/TextAreaControl-DTw_oBDS.js +0 -111
- package/dist/TextControl-BlfySQDC.js +0 -49
- package/dist/TwinlistControl-BqoP2Kbq.js +0 -587
- package/dist/ValueSwitchControl-CyDbUKLv.js +0 -13
- package/dist/VennDiagramLayout-DXH6CUzc.js +0 -104
- package/dist/VerticalLayout-CTFSrGS8.js +0 -39
- package/dist/arrow-up-Dsq3EgtE.js +0 -30
- package/dist/floating-ui.vue.esm-D_FlISFP.js +0 -94
- package/dist/getFlattenedSettings-D64OwqpI.js +0 -7
- package/dist/index-1mTLieVA.js +0 -32714
- package/dist/index.d.ts +0 -3
- package/dist/layoutComponents/Form.vue.d.ts +0 -2
- package/dist/link-BA69Hfx6.js +0 -17
- package/dist/loading/LoadingDialog.vue.d.ts +0 -2
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { IdAndText } from '../../types/ChoicesUiSchema';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Omit<import('../..').VueControlProps<string[]>, "labelForId"> & {
|
|
3
|
+
labelForId: string;
|
|
4
|
+
} & {
|
|
5
|
+
twinlistSize?: number | undefined;
|
|
6
|
+
twinlistLeftLabel?: string | undefined;
|
|
7
|
+
twinlistRightLabel?: string | undefined;
|
|
8
|
+
optionsGenerator?: ((control: {
|
|
9
|
+
uischema: import('@jsonforms/core').ControlElement;
|
|
10
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
11
|
+
path: string;
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
14
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
|
|
15
|
+
tester: import('@jsonforms/core').RankedTester;
|
|
16
|
+
cell: any;
|
|
17
|
+
}[];
|
|
18
|
+
config: any;
|
|
19
|
+
label: string;
|
|
20
|
+
description: string;
|
|
21
|
+
required: NonNullable<boolean | undefined>;
|
|
22
|
+
i18nKeyPrefix: string;
|
|
23
|
+
errors: string;
|
|
24
|
+
data: any;
|
|
25
|
+
rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
26
|
+
id: string;
|
|
27
|
+
visible: boolean;
|
|
28
|
+
}) => IdAndText[]) | null | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
twinlistSize: number;
|
|
31
|
+
twinlistLeftLabel: string;
|
|
32
|
+
twinlistRightLabel: string;
|
|
33
|
+
optionsGenerator: null;
|
|
34
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Omit<import('../..').VueControlProps<string[]>, "labelForId"> & {
|
|
35
|
+
labelForId: string;
|
|
36
|
+
} & {
|
|
37
|
+
twinlistSize?: number | undefined;
|
|
38
|
+
twinlistLeftLabel?: string | undefined;
|
|
39
|
+
twinlistRightLabel?: string | undefined;
|
|
40
|
+
optionsGenerator?: ((control: {
|
|
41
|
+
uischema: import('@jsonforms/core').ControlElement;
|
|
42
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
43
|
+
path: string;
|
|
44
|
+
enabled: boolean;
|
|
45
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
46
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
|
|
47
|
+
tester: import('@jsonforms/core').RankedTester;
|
|
48
|
+
cell: any;
|
|
49
|
+
}[];
|
|
50
|
+
config: any;
|
|
51
|
+
label: string;
|
|
52
|
+
description: string;
|
|
53
|
+
required: NonNullable<boolean | undefined>;
|
|
54
|
+
i18nKeyPrefix: string;
|
|
55
|
+
errors: string;
|
|
56
|
+
data: any;
|
|
57
|
+
rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
58
|
+
id: string;
|
|
59
|
+
visible: boolean;
|
|
60
|
+
}) => IdAndText[]) | null | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
twinlistSize: number;
|
|
63
|
+
twinlistLeftLabel: string;
|
|
64
|
+
twinlistRightLabel: string;
|
|
65
|
+
optionsGenerator: null;
|
|
66
|
+
}>>>, {
|
|
67
|
+
twinlistSize: number;
|
|
68
|
+
twinlistLeftLabel: string;
|
|
69
|
+
twinlistRightLabel: string;
|
|
70
|
+
optionsGenerator: ((control: {
|
|
71
|
+
uischema: import('@jsonforms/core').ControlElement;
|
|
72
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
73
|
+
path: string;
|
|
74
|
+
enabled: boolean;
|
|
75
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
76
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
|
|
77
|
+
tester: import('@jsonforms/core').RankedTester;
|
|
78
|
+
cell: any;
|
|
79
|
+
}[];
|
|
80
|
+
config: any;
|
|
81
|
+
label: string;
|
|
82
|
+
description: string;
|
|
83
|
+
required: NonNullable<boolean | undefined>;
|
|
84
|
+
i18nKeyPrefix: string;
|
|
85
|
+
errors: string;
|
|
86
|
+
data: any;
|
|
87
|
+
rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
88
|
+
id: string;
|
|
89
|
+
visible: boolean;
|
|
90
|
+
}) => IdAndText[]) | null;
|
|
91
|
+
}, {}>;
|
|
92
|
+
export default _default;
|
|
93
|
+
type __VLS_WithDefaults<P, D> = {
|
|
94
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
95
|
+
default: D[K];
|
|
96
|
+
}> : P[K];
|
|
97
|
+
};
|
|
98
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
99
|
+
type __VLS_TypePropsToOption<T> = {
|
|
100
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
101
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
102
|
+
} : {
|
|
103
|
+
type: import('vue').PropType<T[K]>;
|
|
104
|
+
required: true;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
type __VLS_PrettifyLocal<T> = {
|
|
108
|
+
[K in keyof T]: T[K];
|
|
109
|
+
} & {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { IdAndText } from '../../types/ChoicesUiSchema';
|
|
2
|
+
export type TwinlistData = {
|
|
3
|
+
mode: string;
|
|
4
|
+
manualFilter: {
|
|
5
|
+
manuallySelected: string[];
|
|
6
|
+
manuallyDeselected: string[];
|
|
7
|
+
includeUnknownColumns: boolean;
|
|
8
|
+
};
|
|
9
|
+
typeFilter?: {
|
|
10
|
+
selectedTypes: string[];
|
|
11
|
+
typeDisplays: IdAndText[] | undefined;
|
|
12
|
+
};
|
|
13
|
+
patternFilter: {
|
|
14
|
+
pattern: string;
|
|
15
|
+
isInverted: boolean;
|
|
16
|
+
isCaseSensitive: boolean;
|
|
17
|
+
};
|
|
18
|
+
selected: string[] | null | undefined;
|
|
19
|
+
};
|
|
20
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Omit<import('../..').VueControlProps<TwinlistData>, "labelForId"> & {
|
|
21
|
+
labelForId: string;
|
|
22
|
+
} & {
|
|
23
|
+
twinlistSize?: number | undefined;
|
|
24
|
+
twinlistLeftLabel?: string | undefined;
|
|
25
|
+
showUnknownValues?: boolean | undefined;
|
|
26
|
+
twinlistRightLabel?: string | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
twinlistSize: number;
|
|
29
|
+
twinlistLeftLabel: string;
|
|
30
|
+
showUnknownValues: boolean;
|
|
31
|
+
twinlistRightLabel: string;
|
|
32
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Omit<import('../..').VueControlProps<TwinlistData>, "labelForId"> & {
|
|
33
|
+
labelForId: string;
|
|
34
|
+
} & {
|
|
35
|
+
twinlistSize?: number | undefined;
|
|
36
|
+
twinlistLeftLabel?: string | undefined;
|
|
37
|
+
showUnknownValues?: boolean | undefined;
|
|
38
|
+
twinlistRightLabel?: string | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
twinlistSize: number;
|
|
41
|
+
twinlistLeftLabel: string;
|
|
42
|
+
showUnknownValues: boolean;
|
|
43
|
+
twinlistRightLabel: string;
|
|
44
|
+
}>>>, {
|
|
45
|
+
twinlistSize: number;
|
|
46
|
+
twinlistLeftLabel: string;
|
|
47
|
+
showUnknownValues: boolean;
|
|
48
|
+
twinlistRightLabel: string;
|
|
49
|
+
}, {}>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithDefaults<P, D> = {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
53
|
+
default: D[K];
|
|
54
|
+
}> : P[K];
|
|
55
|
+
};
|
|
56
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
+
type __VLS_TypePropsToOption<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
+
} : {
|
|
61
|
+
type: import('vue').PropType<T[K]>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type __VLS_PrettifyLocal<T> = {
|
|
66
|
+
[K in keyof T]: T[K];
|
|
67
|
+
} & {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { TwinlistData } from './TwinlistControl.vue';
|
|
3
|
+
declare const _default: ({ data, possibleValueIds, }: {
|
|
4
|
+
/**
|
|
5
|
+
* The jsonforms data of the TwinlistControl
|
|
6
|
+
*/
|
|
7
|
+
data: Ref<TwinlistData>;
|
|
8
|
+
/**
|
|
9
|
+
* The array of possible value ids or null if no possible values are present yet.
|
|
10
|
+
*/
|
|
11
|
+
possibleValueIds: Ref<Array<string> | null>;
|
|
12
|
+
}) => {
|
|
13
|
+
selectedAndDeselected: Ref<{
|
|
14
|
+
selected: string[] | null;
|
|
15
|
+
deselected: string[] | null;
|
|
16
|
+
}>;
|
|
17
|
+
setCurrentManualFilter: (newData: TwinlistData["manualFilter"]) => void;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { AlertParams } from '@knime/ui-extension-service';
|
|
3
|
+
import { ChoicesUiSchema, PossibleValue } from '../types/ChoicesUiSchema';
|
|
4
|
+
export declare const withSpecialChoices: <T extends PossibleValue[] | null>(choicesRef: Ref<T>, control: {
|
|
5
|
+
uischema: ChoicesUiSchema;
|
|
6
|
+
}) => Ref<import('vue').UnwrapRef<T>>;
|
|
7
|
+
declare const _default: (control: {
|
|
8
|
+
uischema: ChoicesUiSchema;
|
|
9
|
+
}, getAsyncPossibleValues: (choicesProviderClass: string) => Promise<any>, sendAlert: (params: AlertParams) => void) => Promise<PossibleValue[]>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { JsonSchema4, JsonSchema7 } from '@jsonforms/core';
|
|
2
|
+
import { PartialDeep } from 'type-fest';
|
|
3
|
+
import { Control } from '../types/Control';
|
|
4
|
+
import { default as getPossibleValuesFromUiSchema } from './getPossibleValuesFromUiSchema';
|
|
5
|
+
export { getPossibleValuesFromUiSchema };
|
|
6
|
+
export declare const optionsMapper: ({ const: id, title: text, }: JsonSchema4 | JsonSchema7) => {
|
|
7
|
+
id: string;
|
|
8
|
+
text: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const mergeDeep: <T extends object>(obj1: T, obj2: PartialDeep<T>) => T;
|
|
11
|
+
export declare const isModelSettingAndHasNodeView: (control: Control, hasNodeView: boolean) => boolean;
|
|
12
|
+
export declare const hasAdvancedOptions: (uischema: object) => boolean;
|
|
13
|
+
export declare const getValuesNotInSet: <T>(arr: T[], valueSet: Set<T>) => T[];
|
|
14
|
+
export declare const getValuesInSet: <T>(arr: T[], valueSet: Set<T>) => T[];
|
|
15
|
+
export declare const partitionBy: <T, Keys extends string | number | symbol>(arr: T[], fn: (item: T) => Keys) => Record<Keys, T[] | undefined>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Try to parse the string as a full ISO date, but if that doesn't work then
|
|
3
|
+
* just assume it's a time and parse that instead.
|
|
4
|
+
*
|
|
5
|
+
* @param value string representation of a time like 01:23:45.678, or an ISO
|
|
6
|
+
* date time.
|
|
7
|
+
* @returns a Date object representing the time. JavaScript being JavaScript,
|
|
8
|
+
* this will be in the local time zone, with the date part set to 1970-01-01,
|
|
9
|
+
* unless the input was an ISO date time string.
|
|
10
|
+
*/
|
|
11
|
+
export declare const fromString: (value: string) => Date;
|
|
12
|
+
export declare const toString: (value: Date) => string;
|
|
13
|
+
export declare const localTimeUtils: {
|
|
14
|
+
toString: (value: Date) => string;
|
|
15
|
+
fromString: (value: string) => Date;
|
|
16
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineComponent as r, openBlock as c, createBlock as s, unref as a, h as i } from "vue";
|
|
2
|
+
import { R as d } from "./reload-BhzcZRFp.js";
|
|
3
|
+
import { _ } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-BmCXzwjJ.js";
|
|
4
|
+
const p = /* @__PURE__ */ r({
|
|
5
|
+
__name: "LoadingIcon",
|
|
6
|
+
setup(t) {
|
|
7
|
+
const e = l(d, "Loading…");
|
|
8
|
+
return (o, n) => (c(), s(a(e)));
|
|
9
|
+
}
|
|
10
|
+
}), u = /* @__PURE__ */ _(p, [["__scopeId", "data-v-faec3cac"]]), l = (t, e) => ({
|
|
11
|
+
render() {
|
|
12
|
+
const o = t.render({}, []), n = i("title", e);
|
|
13
|
+
return n.ns = "svg", o.children.unshift(n), o;
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
u as L
|
|
18
|
+
};
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { Mock } from 'vitest';
|
|
2
|
+
import { Component, ExtractPropTypes } from 'vue';
|
|
3
|
+
import { VueControl, VueControlProps, VueControlPropsForLabelContent, VueControlThatRequiresLabelWrapper, VueLayout, VueLayoutProps } from '../src/higherOrderComponents';
|
|
4
|
+
import * as jsonformsVueModule from "@jsonforms/vue";
|
|
5
|
+
export type ProvidedMethods = {
|
|
6
|
+
sendAlert: Mock;
|
|
7
|
+
trigger: Mock;
|
|
8
|
+
addStateProviderListener: Mock;
|
|
9
|
+
};
|
|
10
|
+
export type VueControlTestProps<C extends abstract new (...args: any) => any> = Omit<InstanceType<C>["$props"], "handleChange" | "changeValue">;
|
|
11
|
+
export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { props, provide, stubs, }: {
|
|
12
|
+
props: NoInfer<Omit<VueControlProps<D>, "handleChange" | "changeValue">>;
|
|
13
|
+
provide?: Partial<ProvidedMethods>;
|
|
14
|
+
stubs?: Record<any, any>;
|
|
15
|
+
}) => {
|
|
16
|
+
wrapper: import('@vue/test-utils').VueWrapper<({} | (VueControlProps<D> & ({} | {
|
|
17
|
+
[x: `on${Capitalize<any>}`]: ((...args: any[]) => any) | undefined;
|
|
18
|
+
} | {
|
|
19
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
|
|
20
|
+
})) | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, never>>) & {} & ({} | import('vue').CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
21
|
+
P: {};
|
|
22
|
+
B: {};
|
|
23
|
+
D: {};
|
|
24
|
+
C: {};
|
|
25
|
+
M: {};
|
|
26
|
+
Defaults: {};
|
|
27
|
+
}, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | VueControlProps<D>), import('vue').ComponentPublicInstance<{} | (VueControlProps<D> & ({} | {
|
|
28
|
+
[x: `on${Capitalize<any>}`]: ((...args: any[]) => any) | undefined;
|
|
29
|
+
} | {
|
|
30
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
|
|
31
|
+
})) | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, never>>, ({} | import('vue').CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | VueControlProps<D>) & Omit<{
|
|
39
|
+
handleChange: Mock<(...args: any[]) => any>;
|
|
40
|
+
changeValue: Mock<(...args: any[]) => any>;
|
|
41
|
+
control: {
|
|
42
|
+
data: D;
|
|
43
|
+
} & Omit<{
|
|
44
|
+
uischema: import('@jsonforms/core').ControlElement;
|
|
45
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
46
|
+
path: string;
|
|
47
|
+
enabled: boolean;
|
|
48
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
49
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
|
|
50
|
+
tester: import('@jsonforms/core').RankedTester;
|
|
51
|
+
cell: any;
|
|
52
|
+
}[];
|
|
53
|
+
config: any;
|
|
54
|
+
label: string;
|
|
55
|
+
description: string;
|
|
56
|
+
required: NonNullable<boolean | undefined>;
|
|
57
|
+
i18nKeyPrefix: string;
|
|
58
|
+
errors: string;
|
|
59
|
+
data: any;
|
|
60
|
+
rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
61
|
+
id: string;
|
|
62
|
+
visible: boolean;
|
|
63
|
+
}, "data">;
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
labelForId?: null | undefined;
|
|
66
|
+
}, never>>>;
|
|
67
|
+
handleChange: Mock<(...args: any[]) => any>;
|
|
68
|
+
changeValue: Mock<(...args: any[]) => any>;
|
|
69
|
+
};
|
|
70
|
+
export declare const mountJsonFormsControlLabelContent: <D>(component: VueControlThatRequiresLabelWrapper<D>, { props, provide, stubs, }: {
|
|
71
|
+
props: NoInfer<Omit<VueControlPropsForLabelContent<D>, "handleChange" | "changeValue">>;
|
|
72
|
+
provide?: Partial<ProvidedMethods>;
|
|
73
|
+
stubs?: Record<any, any>;
|
|
74
|
+
}) => {
|
|
75
|
+
wrapper: import('@vue/test-utils').VueWrapper<({} | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, never>> | (Omit<VueControlProps<D>, "labelForId"> & {
|
|
76
|
+
labelForId: string;
|
|
77
|
+
} & ({} | {
|
|
78
|
+
[x: `on${Capitalize<any>}`]: ((...args: any[]) => any) | undefined;
|
|
79
|
+
} | {
|
|
80
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
|
|
81
|
+
}))) & {} & ({} | import('vue').CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
82
|
+
P: {};
|
|
83
|
+
B: {};
|
|
84
|
+
D: {};
|
|
85
|
+
C: {};
|
|
86
|
+
M: {};
|
|
87
|
+
Defaults: {};
|
|
88
|
+
}, 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 & Readonly<ExtractPropTypes<{}>>, never>> | (Omit<VueControlProps<D>, "labelForId"> & {
|
|
89
|
+
labelForId: string;
|
|
90
|
+
} & ({} | {
|
|
91
|
+
[x: `on${Capitalize<any>}`]: ((...args: any[]) => any) | undefined;
|
|
92
|
+
} | {
|
|
93
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
|
|
94
|
+
})), ({} | import('vue').CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
95
|
+
P: {};
|
|
96
|
+
B: {};
|
|
97
|
+
D: {};
|
|
98
|
+
C: {};
|
|
99
|
+
M: {};
|
|
100
|
+
Defaults: {};
|
|
101
|
+
}, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | VueControlPropsForLabelContent<D>) & Omit<{
|
|
102
|
+
handleChange: Mock<(...args: any[]) => any>;
|
|
103
|
+
changeValue: Mock<(...args: any[]) => any>;
|
|
104
|
+
control: {
|
|
105
|
+
data: D;
|
|
106
|
+
} & Omit<{
|
|
107
|
+
uischema: import('@jsonforms/core').ControlElement;
|
|
108
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
109
|
+
path: string;
|
|
110
|
+
enabled: boolean;
|
|
111
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
112
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
|
|
113
|
+
tester: import('@jsonforms/core').RankedTester;
|
|
114
|
+
cell: any;
|
|
115
|
+
}[];
|
|
116
|
+
config: any;
|
|
117
|
+
label: string;
|
|
118
|
+
description: string;
|
|
119
|
+
required: NonNullable<boolean | undefined>;
|
|
120
|
+
i18nKeyPrefix: string;
|
|
121
|
+
errors: string;
|
|
122
|
+
data: any;
|
|
123
|
+
rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
124
|
+
id: string;
|
|
125
|
+
visible: boolean;
|
|
126
|
+
}, "data">;
|
|
127
|
+
disabled: boolean;
|
|
128
|
+
labelForId: string;
|
|
129
|
+
}, never>>>;
|
|
130
|
+
handleChange: Mock<(...args: any[]) => any>;
|
|
131
|
+
changeValue: Mock<(...args: any[]) => any>;
|
|
132
|
+
};
|
|
133
|
+
export declare const mountJsonFormsLayout: (component: VueLayout, { props, provide, stubs, }: {
|
|
134
|
+
props: VueLayoutProps;
|
|
135
|
+
provide?: Partial<ProvidedMethods>;
|
|
136
|
+
stubs?: Record<any, any>;
|
|
137
|
+
}) => {
|
|
138
|
+
wrapper: import('@vue/test-utils').VueWrapper<({} | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, never>> | (VueLayoutProps & ({} | {
|
|
139
|
+
[x: `on${Capitalize<any>}`]: ((...args: any[]) => any) | undefined;
|
|
140
|
+
} | {
|
|
141
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
|
|
142
|
+
}))) & {} & ({} | import('vue').CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
143
|
+
P: {};
|
|
144
|
+
B: {};
|
|
145
|
+
D: {};
|
|
146
|
+
C: {};
|
|
147
|
+
M: {};
|
|
148
|
+
Defaults: {};
|
|
149
|
+
}, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | VueLayoutProps), import('vue').ComponentPublicInstance<{} | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, never>> | (VueLayoutProps & ({} | {
|
|
150
|
+
[x: `on${Capitalize<any>}`]: ((...args: any[]) => any) | undefined;
|
|
151
|
+
} | {
|
|
152
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
|
|
153
|
+
})), ({} | import('vue').CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
154
|
+
P: {};
|
|
155
|
+
B: {};
|
|
156
|
+
D: {};
|
|
157
|
+
C: {};
|
|
158
|
+
M: {};
|
|
159
|
+
Defaults: {};
|
|
160
|
+
}, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | VueLayoutProps) & Omit<VueLayoutProps, never>>>;
|
|
161
|
+
};
|
|
162
|
+
export declare const mountJsonFormsRenderer: (component: Component, { props, provide, stubs, }: {
|
|
163
|
+
props: {
|
|
164
|
+
control: ReturnType<typeof jsonformsVueModule.useJsonFormsControl>["control"];
|
|
165
|
+
} | {
|
|
166
|
+
layout: ReturnType<typeof jsonformsVueModule.useJsonFormsLayout>["layout"];
|
|
167
|
+
};
|
|
168
|
+
provide?: Partial<ProvidedMethods>;
|
|
169
|
+
stubs?: Record<any, any>;
|
|
170
|
+
}) => import('@vue/test-utils').VueWrapper<any, any>;
|
|
171
|
+
export declare const getControlBase: (path: string) => {
|
|
172
|
+
path: string;
|
|
173
|
+
enabled: true;
|
|
174
|
+
visible: true;
|
|
175
|
+
label: string;
|
|
176
|
+
rootSchema: {
|
|
177
|
+
type: string;
|
|
178
|
+
properties: {
|
|
179
|
+
[x: string]: {};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
renderers: never[];
|
|
183
|
+
cells: never[];
|
|
184
|
+
errors: string;
|
|
185
|
+
id: string;
|
|
186
|
+
config: {};
|
|
187
|
+
description: string;
|
|
188
|
+
required: false;
|
|
189
|
+
i18nKeyPrefix: string;
|
|
190
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JsonSchema, UISchemaElement } from '@jsonforms/core';
|
|
2
|
+
import { NamedRenderer } from '../src';
|
|
3
|
+
export declare const setUpRendererTest: (renderers: NamedRenderer[]) => {
|
|
4
|
+
getRendererName: (uiSchema: UISchemaElement, schema: JsonSchema) => string | undefined;
|
|
5
|
+
};
|
|
6
|
+
export declare const determineRenderer: (uiSchema: UISchemaElement, schema: JsonSchema) => string | undefined;
|