UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

194 lines (193 loc) 7.46 kB
declare const _default: { edit: import('../types').EditFormDefinition<{ type: "selectboxes"; id: string; key: string; label: string; description?: string | undefined; tooltip?: string | undefined; showInSummary?: boolean | undefined; showInEmail?: boolean | undefined; showInPDF?: boolean | undefined; hidden?: boolean | undefined; clearOnHide?: boolean | undefined; isSensitiveData?: boolean | undefined; defaultValue?: Record<string, boolean> | undefined; values: import('@open-formulieren/types').Option[]; conditional?: { show?: boolean; when?: string; eq?: string | number | boolean; } | undefined; validate?: { required?: boolean | undefined; plugins?: string[] | undefined; minSelectedCount?: number | undefined; maxSelectedCount?: number | undefined; } | undefined; translatedErrors?: { en?: { required?: string | undefined; minSelectedCount?: string | undefined; maxSelectedCount?: string | undefined; } | undefined; nl?: { required?: string | undefined; minSelectedCount?: string | undefined; maxSelectedCount?: string | undefined; } | undefined; } | undefined; readonly errors?: { readonly required?: string | undefined; readonly minSelectedCount?: string | undefined; readonly maxSelectedCount?: string | undefined; } | undefined; registration?: { attribute: string; } | undefined; openForms: { translations?: { en?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; nl?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; } | undefined; dataSrc: "manual"; } | { translations?: { en?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; nl?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; } | undefined; dataSrc: "variable"; itemsExpression: import('@open-formulieren/types/dist/options').JsonLogicExpression; } | { translations?: { en?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; nl?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; } | undefined; dataSrc: "referenceLists"; service: string; code: string; }; }>; editSchema: import('../types').EditSchema; preview: { panel: React.FC<import('../types').ComponentPreviewProps<{ type: "selectboxes"; id: string; key: string; label: string; description?: string | undefined; tooltip?: string | undefined; showInSummary?: boolean | undefined; showInEmail?: boolean | undefined; showInPDF?: boolean | undefined; hidden?: boolean | undefined; clearOnHide?: boolean | undefined; isSensitiveData?: boolean | undefined; defaultValue?: Record<string, boolean> | undefined; values: import('@open-formulieren/types').Option[]; conditional?: { show?: boolean; when?: string; eq?: string | number | boolean; } | undefined; validate?: { required?: boolean | undefined; plugins?: string[] | undefined; minSelectedCount?: number | undefined; maxSelectedCount?: number | undefined; } | undefined; translatedErrors?: { en?: { required?: string | undefined; minSelectedCount?: string | undefined; maxSelectedCount?: string | undefined; } | undefined; nl?: { required?: string | undefined; minSelectedCount?: string | undefined; maxSelectedCount?: string | undefined; } | undefined; } | undefined; readonly errors?: { readonly required?: string | undefined; readonly minSelectedCount?: string | undefined; readonly maxSelectedCount?: string | undefined; } | undefined; registration?: { attribute: string; } | undefined; openForms: { translations?: { en?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; nl?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; } | undefined; dataSrc: "manual"; } | { translations?: { en?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; nl?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; } | undefined; dataSrc: "variable"; itemsExpression: import('@open-formulieren/types/dist/options').JsonLogicExpression; } | { translations?: { en?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; nl?: { label?: string | undefined; description?: string | undefined; tooltip?: string | undefined; } | undefined; } | undefined; dataSrc: "referenceLists"; service: string; code: string; }; }>>; }; defaultValue: {}; }; export default _default;