UNPKG

@authup/client-web-kit

Version:

This package contains vue components.

381 lines 15.3 kB
import type { PropType, Ref } from 'vue'; import type { IdentityProvider, OAuth2AuthorizationCodeRequest } from '@authup/core-kit'; import type { BuildInput } from 'rapiq'; declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ codeRequest: { type: PropType<OAuth2AuthorizationCodeRequest>; }; }>, { updateRealmId: (realmId: string | string[]) => void; vuelidate: Ref<import("@vuelidate/core").Validation<{ name: { required: import("@vuelidate/core").ValidationRuleWithoutParams<any>; minLength: import("@vuelidate/core").ValidationRuleWithParams<{ min: number; }, any>; maxLength: import("@vuelidate/core").ValidationRuleWithParams<{ max: number; }, any>; }; password: { required: import("@vuelidate/core").ValidationRuleWithoutParams<any>; minLength: import("@vuelidate/core").ValidationRuleWithParams<{ min: number; }, any>; maxLength: import("@vuelidate/core").ValidationRuleWithParams<{ max: number; }, any>; }; realm_id: {}; }, { name: string; password: string; realm_id: string; }>, import("@vuelidate/core").Validation<{ name: { required: import("@vuelidate/core").ValidationRuleWithoutParams<any>; minLength: import("@vuelidate/core").ValidationRuleWithParams<{ min: number; }, any>; maxLength: import("@vuelidate/core").ValidationRuleWithParams<{ max: number; }, any>; }; password: { required: import("@vuelidate/core").ValidationRuleWithoutParams<any>; minLength: import("@vuelidate/core").ValidationRuleWithParams<{ min: number; }, any>; maxLength: import("@vuelidate/core").ValidationRuleWithParams<{ max: number; }, any>; }; realm_id: {}; }, { name: string; password: string; realm_id: string; }>>; form: { name: string; password: string; realm_id: string; }; submit: () => Promise<void>; busy: Ref<boolean, boolean>; identityProviderQuery: Ref<BuildInput<IdentityProvider>, BuildInput<IdentityProvider>>; identityProviderRef: Ref<{ [x: string]: unknown; load: () => Promise<void>; }, { [key: string]: unknown; load: () => Promise<void>; } | { [x: string]: unknown; load: () => Promise<void>; }>; buildIdentityProviderURL: (id: string) => string; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("done" | "failed")[], "done" | "failed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ codeRequest: { type: PropType<OAuth2AuthorizationCodeRequest>; }; }>> & Readonly<{ onDone?: (...args: any[]) => any; onFailed?: (...args: any[]) => any; }>, {}, {}, { ARealmPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ query: { type: PropType<BuildInput<import("@authup/core-kit").Realm>>; default(): {}; }; realmId: { type: StringConstructor; default: any; }; loadOnSetup: { type: BooleanConstructor; default: boolean; }; loading: { type: PropType<boolean | import("..").ListLoadingOptions<import("@authup/core-kit").Realm>>; default: boolean; }; noMore: { type: PropType<boolean | import("..").ListNoMoreOptions<import("@authup/core-kit").Realm>>; default: boolean; }; footer: { type: PropType<boolean | import("..").ListFooterOptions<import("@authup/core-kit").Realm>>; default: boolean; }; header: { type: PropType<boolean | import("..").ListHeaderOptions<import("@authup/core-kit").Realm>>; default: boolean; }; body: { type: PropType<import("..").ListBodyOptions<import("@authup/core-kit").Realm>>; }; value: { type: PropType<string[] | string | null>; }; multiple: { type: PropType<boolean | undefined>; }; }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { change: (values: string[]) => true; } & import("..").EntityCollectionVEmitOptions<import("@authup/core-kit").Realm>, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ query: { type: PropType<BuildInput<import("@authup/core-kit").Realm>>; default(): {}; }; realmId: { type: StringConstructor; default: any; }; loadOnSetup: { type: BooleanConstructor; default: boolean; }; loading: { type: PropType<boolean | import("..").ListLoadingOptions<import("@authup/core-kit").Realm>>; default: boolean; }; noMore: { type: PropType<boolean | import("..").ListNoMoreOptions<import("@authup/core-kit").Realm>>; default: boolean; }; footer: { type: PropType<boolean | import("..").ListFooterOptions<import("@authup/core-kit").Realm>>; default: boolean; }; header: { type: PropType<boolean | import("..").ListHeaderOptions<import("@authup/core-kit").Realm>>; default: boolean; }; body: { type: PropType<import("..").ListBodyOptions<import("@authup/core-kit").Realm>>; }; value: { type: PropType<string[] | string | null>; }; multiple: { type: PropType<boolean | undefined>; }; }>> & Readonly<{ onUpdated?: (item: import("@authup/core-kit").Realm) => any; onDeleted?: (item: import("@authup/core-kit").Realm) => any; onCreated?: (item: import("@authup/core-kit").Realm) => any; onChange?: (values: string[]) => any; }>, { footer: boolean; header: boolean; query: BuildInput<import("@authup/core-kit").Realm>; realmId: string; loadOnSetup: boolean; loading: boolean; noMore: boolean; }, import("vue").SlotsType<import("..").EntityPickerVSlots<import("@authup/core-kit").Realm>>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; APagination: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ total: { type: NumberConstructor; }; meta: { type: PropType<Record<string, any>>; }; busy: { type: BooleanConstructor; }; load: { type: PropType<import("../utility/pagination/type").PaginationLoadFn>; }; }>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ total: { type: NumberConstructor; }; meta: { type: PropType<Record<string, any>>; }; busy: { type: BooleanConstructor; }; load: { type: PropType<import("../utility/pagination/type").PaginationLoadFn>; }; }>> & Readonly<{}>, { busy: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; ATitle: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ icon: { type: BooleanConstructor; default: boolean; }; iconPosition: { type: PropType<"start" | "end">; }; iconClass: { type: StringConstructor; }; text: { type: StringConstructor; }; }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ icon: { type: BooleanConstructor; default: boolean; }; iconPosition: { type: PropType<"start" | "end">; }; iconClass: { type: StringConstructor; }; text: { type: StringConstructor; }; }>> & Readonly<{}>, { icon: boolean; }, import("vue").SlotsType<{ default: import("../utility/title/type").TitleSlotProps; }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; IVuelidate: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ validation: { type: PropType<Record<string, any>>; required: true; }; }>, () => import("vue").VNodeArrayChildren, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ validation: { type: PropType<Record<string, any>>; required: true; }; }>> & Readonly<{}>, {}, import("vue").SlotsType<{ default: import("@ilingo/vuelidate").SlotProps; }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; AIdentityProviders: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ query: { type: PropType<BuildInput<IdentityProvider>>; default(): {}; }; realmId: { type: StringConstructor; default: any; }; loadOnSetup: { type: BooleanConstructor; default: boolean; }; loading: { type: PropType<boolean | import("..").ListLoadingOptions<IdentityProvider>>; default: boolean; }; noMore: { type: PropType<boolean | import("..").ListNoMoreOptions<IdentityProvider>>; default: boolean; }; footer: { type: PropType<boolean | import("..").ListFooterOptions<IdentityProvider>>; default: boolean; }; header: { type: PropType<boolean | import("..").ListHeaderOptions<IdentityProvider>>; default: boolean; }; body: { type: PropType<import("..").ListBodyOptions<IdentityProvider>>; }; }>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("..").EntityCollectionVEmitOptions<IdentityProvider>, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ query: { type: PropType<BuildInput<IdentityProvider>>; default(): {}; }; realmId: { type: StringConstructor; default: any; }; loadOnSetup: { type: BooleanConstructor; default: boolean; }; loading: { type: PropType<boolean | import("..").ListLoadingOptions<IdentityProvider>>; default: boolean; }; noMore: { type: PropType<boolean | import("..").ListNoMoreOptions<IdentityProvider>>; default: boolean; }; footer: { type: PropType<boolean | import("..").ListFooterOptions<IdentityProvider>>; default: boolean; }; header: { type: PropType<boolean | import("..").ListHeaderOptions<IdentityProvider>>; default: boolean; }; body: { type: PropType<import("..").ListBodyOptions<IdentityProvider>>; }; }>> & Readonly<{ onUpdated?: (item: IdentityProvider) => any; onDeleted?: (item: IdentityProvider) => any; onCreated?: (item: IdentityProvider) => any; }>, { footer: boolean; header: boolean; query: BuildInput<IdentityProvider>; realmId: string; loadOnSetup: boolean; loading: boolean; noMore: boolean; }, import("vue").SlotsType<import("..").EntityCollectionVSlots<IdentityProvider>>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; AIdentityProviderIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ entity: { type: PropType<IdentityProvider>; required: true; }; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ entity: { type: PropType<IdentityProvider>; required: true; }; }>> & Readonly<{}>, {}, {}, { AIdentityProviderPreset: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ id: { type: StringConstructor; required: true; }; }>, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>[]) | (() => any[]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ id: { type: StringConstructor; required: true; }; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; AIdentityProviderProtocol: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ id: { type: StringConstructor; required: true; }; }>, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>[]) | (() => any[]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ id: { type: StringConstructor; required: true; }; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //# sourceMappingURL=Login.vue.d.ts.map