@authup/client-web-kit
Version:
This package contains vue components.
277 lines • 10.2 kB
TypeScript
import type { BuildInput } from 'rapiq';
import { type PropType } from 'vue';
import type { Policy } from '@authup/core-kit';
import type { FormSelectOption } from '@vuecs/form-controls';
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
entity: {
type: PropType<Partial<Policy>>;
};
}>, {
id: import("vue").ComputedRef<string>;
handleUpdated: (children: string[]) => void;
handleDecisionStrategyUpdated: () => void;
decisionStrategyHint: import("vue").ComputedRef<"At least one child policy must evaluate positively." | "More child policies must evaluate positively than negatively." | "All child policies must evaluate positively." | "No strategy selected. Defaults to unanimous (all child policies must evaluate positively).">;
decisionStrategyOptions: FormSelectOption[];
vuelidate: import("vue").Ref<import("@vuelidate/core").Validation<{
items: {};
decision_strategy: {};
}, {
items: string[];
decision_strategy: string;
}>, import("@vuelidate/core").Validation<{
items: {};
decision_strategy: {};
}, {
items: string[];
decision_strategy: string;
}>>;
query: import("vue").ComputedRef<BuildInput<Policy & {
parent_id?: string | null;
}>>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "updated"[], "updated", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
entity: {
type: PropType<Partial<Policy>>;
};
}>> & Readonly<{
onUpdated?: (...args: any[]) => any;
}>, {}, {}, {
APolicyChildrenPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
query: {
type: PropType<BuildInput<Policy>>;
default(): {};
};
realmId: {
type: StringConstructor;
default: any;
};
loadOnSetup: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: PropType<boolean | import("../../../index.ts").ListLoadingOptions<Policy>>;
default: boolean;
};
noMore: {
type: PropType<boolean | import("../../../index.ts").ListNoMoreOptions<Policy>>;
default: boolean;
};
footer: {
type: PropType<boolean | import("../../../index.ts").ListFooterOptions<Policy>>;
default: boolean;
};
header: {
type: PropType<boolean | import("../../../index.ts").ListHeaderOptions<Policy>>;
default: boolean;
};
body: {
type: PropType<import("../../../index.ts").ListBodyOptions<Policy>>;
};
value: {
type: PropType<string[] | string | null>;
};
multiple: {
type: PropType<boolean | undefined>;
};
parentId: {
type: StringConstructor;
};
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
change: (values: string[]) => true;
} & import("../../../index.ts").EntityCollectionVEmitOptions<Policy>, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
query: {
type: PropType<BuildInput<Policy>>;
default(): {};
};
realmId: {
type: StringConstructor;
default: any;
};
loadOnSetup: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: PropType<boolean | import("../../../index.ts").ListLoadingOptions<Policy>>;
default: boolean;
};
noMore: {
type: PropType<boolean | import("../../../index.ts").ListNoMoreOptions<Policy>>;
default: boolean;
};
footer: {
type: PropType<boolean | import("../../../index.ts").ListFooterOptions<Policy>>;
default: boolean;
};
header: {
type: PropType<boolean | import("../../../index.ts").ListHeaderOptions<Policy>>;
default: boolean;
};
body: {
type: PropType<import("../../../index.ts").ListBodyOptions<Policy>>;
};
value: {
type: PropType<string[] | string | null>;
};
multiple: {
type: PropType<boolean | undefined>;
};
parentId: {
type: StringConstructor;
};
}>> & Readonly<{
onUpdated?: (item: Policy) => any;
onDeleted?: (item: Policy) => any;
onCreated?: (item: Policy) => any;
onChange?: (values: string[]) => any;
}>, {
footer: boolean;
header: boolean;
query: BuildInput<Policy>;
realmId: string;
loadOnSetup: boolean;
loading: boolean;
noMore: boolean;
}, import("vue").SlotsType<import("../../../index.ts").EntityPickerVSlots<Policy>>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
VCFormGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
label: {
type: BooleanConstructor;
default: any;
};
labelClass: {
type: StringConstructor;
};
labelContent: {
type: StringConstructor;
};
hint: {
type: BooleanConstructor;
default: any;
};
hintClass: {
type: StringConstructor;
};
hintContent: {
type: StringConstructor;
};
validation: {
type: BooleanConstructor;
default: any;
};
validationSeverity: {
type: PropType<`${import("@vuecs/form-controls").ValidationSeverity}` | undefined>;
default: any;
};
validationMessages: {
type: PropType<import("@vuecs/form-controls").ValidationMessages>;
default: 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<{
label: {
type: BooleanConstructor;
default: any;
};
labelClass: {
type: StringConstructor;
};
labelContent: {
type: StringConstructor;
};
hint: {
type: BooleanConstructor;
default: any;
};
hintClass: {
type: StringConstructor;
};
hintContent: {
type: StringConstructor;
};
validation: {
type: BooleanConstructor;
default: any;
};
validationSeverity: {
type: PropType<`${import("@vuecs/form-controls").ValidationSeverity}` | undefined>;
default: any;
};
validationMessages: {
type: PropType<import("@vuecs/form-controls").ValidationMessages>;
default: any;
};
}>> & Readonly<{}>, {
label: boolean;
hint: boolean;
validation: boolean;
validationMessages: import("@vuecs/form-controls").ValidationMessages;
validationSeverity: "error" | "warning";
}, import("vue").SlotsType<{
default: undefined;
label: undefined;
hint: undefined;
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
VCFormSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
modelValue: {
type: StringConstructor;
default: string;
};
options: {
type: PropType<FormSelectOption[]>;
required: true;
};
optionDefault: {
type: BooleanConstructor;
default: boolean;
};
optionDefaultId: {
type: (StringConstructor | NumberConstructor)[];
};
optionDefaultValue: {
type: StringConstructor;
};
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: StringConstructor;
default: string;
};
options: {
type: PropType<FormSelectOption[]>;
required: true;
};
optionDefault: {
type: BooleanConstructor;
default: boolean;
};
optionDefaultId: {
type: (StringConstructor | NumberConstructor)[];
};
optionDefaultValue: {
type: StringConstructor;
};
}>> & Readonly<{
"onUpdate:modelValue"?: (...args: any[]) => any;
}>, {
modelValue: string;
optionDefault: boolean;
}, {}, {}, {}, 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>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
//# sourceMappingURL=ACompositePolicyForm.vue.d.ts.map