UNPKG

@jsonforms/vue-vuetify

Version:

Vue Vuetify renderers for JSON Forms

136 lines (134 loc) 5.33 kB
import { LabelElement, JsonSchema, JsonFormsRendererRegistryEntry, JsonFormsCellRendererRegistryEntry } from '@jsonforms/core'; import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, CreateComponentPublicInstanceWithMixins, StyleValue, VNodeChild, VNodeProps, AllowedComponentProps, ComponentCustomProps, SlotsType, VNode, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, PropType, ExtractPropTypes } from 'vue'; import { Styles } from '..'; import { FilterPropsOptions } from 'vuetify/lib/util/defineComponent.mjs'; import { ClassValue } from 'vuetify/lib/composables/component.mjs'; declare const labelRenderer: DefineComponent<{ schema: JsonSchema; uischema: LabelElement; path: string; enabled?: boolean | undefined; renderers?: JsonFormsRendererRegistryEntry[] | undefined; cells?: JsonFormsCellRendererRegistryEntry[] | undefined; config?: any; }, { label: ComputedRef<{ schema: NonNullable< JsonSchema>; uischema: LabelElement; path: string; enabled: NonNullable<boolean | undefined>; renderers: JsonFormsRendererRegistryEntry[]; cells: JsonFormsCellRendererRegistryEntry[]; config: any; text: string; visible: boolean; }>; } & { appliedOptions: ComputedRef<any>; vuetifyProps: (path: string) => any; styles: Styles; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{ schema: JsonSchema; uischema: LabelElement; path: string; enabled?: boolean | undefined; renderers?: JsonFormsRendererRegistryEntry[] | undefined; cells?: JsonFormsCellRendererRegistryEntry[] | undefined; config?: any; }> & Readonly<{}>, { enabled: boolean; renderers: JsonFormsRendererRegistryEntry[]; cells: JsonFormsCellRendererRegistryEntry[]; config: Record<string, any>; }, {}, { VLabel: { new (...args: any[]): CreateComponentPublicInstanceWithMixins<{ style: StyleValue; } & { text?: string | undefined; class?: any; theme?: string | undefined; onClick?: ((args_0: MouseEvent) => void) | undefined; } & { $children?: VNodeChild | { default?: (() => VNodeChild) | undefined; } | (() => VNodeChild); "v-slots"?: { default?: false | (() => VNodeChild) | undefined; } | undefined; } & { "v-slot:default"?: false | (() => VNodeChild) | undefined; }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, VNodeProps & AllowedComponentProps & ComponentCustomProps, { style: StyleValue; }, true, {}, SlotsType<Partial<{ default: () => VNode[]; }>>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, { style: StyleValue; } & { text?: string | undefined; class?: any; theme?: string | undefined; onClick?: ((args_0: MouseEvent) => void) | undefined; } & { $children?: VNodeChild | { default?: (() => VNodeChild) | undefined; } | (() => VNodeChild); "v-slots"?: { default?: false | (() => VNodeChild) | undefined; } | undefined; } & { "v-slot:default"?: false | (() => VNodeChild) | undefined; }, {}, {}, {}, {}, { style: StyleValue; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & ComponentOptionsBase<{ style: StyleValue; } & { text?: string | undefined; class?: any; theme?: string | undefined; onClick?: ((args_0: MouseEvent) => void) | undefined; } & { $children?: VNodeChild | { default?: (() => VNodeChild) | undefined; } | (() => VNodeChild); 'v-slots'?: { default?: false | (() => VNodeChild) | undefined; } | undefined; } & { "v-slot:default"?: false | (() => VNodeChild) | undefined; }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, { style: StyleValue; }, {}, string, SlotsType<Partial<{ default: () => VNode[]; }>>, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & FilterPropsOptions<{ theme: StringConstructor; class: PropType<ClassValue>; style: { type: PropType<StyleValue>; default: null; }; text: StringConstructor; onClick: PropType<(args_0: MouseEvent) => void>; }, ExtractPropTypes<{ theme: StringConstructor; class: PropType<ClassValue>; style: { type: PropType<StyleValue>; default: null; }; text: StringConstructor; onClick: PropType<(args_0: MouseEvent) => void>; }>>; }, {}, string, ComponentProvideOptions, true, {}, any>; export default labelRenderer;