UNPKG

@agendize/design-system

Version:
145 lines 7.87 kB
export interface Props { title: string; label: string; modelValue: string; type?: 'text' | 'textarea'; confirmation: string; closeOnBlurClick?: boolean; size: 350 | 600 | 700 | undefined; } declare function focus(): void; declare const _default: import("vue").DefineComponent<Props, { focus: typeof focus; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { "update:modelValue": (item: string) => any; cancel: () => any; confirm: (item: string) => any; }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{ "onUpdate:modelValue"?: ((item: string) => any) | undefined; onCancel?: (() => any) | undefined; onConfirm?: ((item: string) => any) | undefined; }>, { type: "text" | "textarea"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, { modalDialogBox: ({ $: import("vue").ComponentInternalInstance; $data: {}; $props: { readonly id?: string | undefined; readonly title: string; readonly subTitle?: string | undefined; readonly icon?: string | undefined; readonly primaryLabel?: string | undefined; readonly primaryAction?: Function | undefined; readonly primaryDisabled?: boolean | undefined; readonly primaryColor?: string | undefined; readonly neutralLabel?: string | undefined; readonly neutralAction?: Function | undefined; readonly neutralDisabled?: boolean | undefined; readonly neutralClass?: string | undefined; readonly neutralColor?: string | undefined; readonly closeOnBlurClick?: boolean | undefined; readonly closeDisabled?: boolean | undefined; readonly closeCrossSize?: import("../action/button/viewModel.js").ButtonSize | undefined; readonly hasFooter?: boolean | undefined; readonly hasNeutral?: boolean | undefined; readonly hasPadding?: boolean | undefined; readonly modalAutofocus?: import("../../../index").AutoFocusType | undefined; readonly autoInProgressOnPrimary?: boolean | undefined; readonly size?: 350 | 600 | 700 | 900 | undefined | undefined; readonly maxHeight?: 600 | undefined; readonly resize?: boolean | undefined; readonly fixedHeight?: boolean | undefined; readonly tapTrap?: boolean | undefined; readonly contentOverflow?: "auto" | "unset" | "hidden" | undefined; readonly autoHeight?: boolean | undefined; readonly onClose?: ((type?: import("../modal-dialog-box/viewModel.js").ComponentCloseTriggerType | undefined) => any) | undefined; readonly onAction?: (() => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot<any> | undefined; }>; $root: import("vue").ComponentPublicInstance | null; $parent: import("vue").ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "close", type?: import("../modal-dialog-box/viewModel.js").ComponentCloseTriggerType | undefined) => void) & ((event: "action") => void); $el: HTMLDivElement; $options: import("vue").ComponentOptionsBase<Readonly<import("../modal-dialog-box/viewModel.js").ModalDialogBoxProps> & Readonly<{ onClose?: ((type?: import("../modal-dialog-box/viewModel.js").ComponentCloseTriggerType | undefined) => any) | undefined; onAction?: (() => any) | undefined; }>, { focus: () => void; actionInProgress: (progress: boolean) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { close: (type?: import("../modal-dialog-box/viewModel.js").ComponentCloseTriggerType | undefined) => any; action: () => any; }, string, { id: string; resize: boolean; hasPadding: boolean; primaryDisabled: boolean; neutralDisabled: boolean; closeOnBlurClick: boolean; closeDisabled: boolean; hasFooter: boolean; hasNeutral: boolean; modalAutofocus: import("../../../index").AutoFocusType; autoInProgressOnPrimary: boolean; fixedHeight: boolean; contentOverflow: "auto" | "unset" | "hidden"; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import("vue").nextTick; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle; } & Readonly<{ id: string; resize: boolean; hasPadding: boolean; primaryDisabled: boolean; neutralDisabled: boolean; closeOnBlurClick: boolean; closeDisabled: boolean; hasFooter: boolean; hasNeutral: boolean; modalAutofocus: import("../../../index").AutoFocusType; autoInProgressOnPrimary: boolean; fixedHeight: boolean; contentOverflow: "auto" | "unset" | "hidden"; }> & Omit<Readonly<import("../modal-dialog-box/viewModel.js").ModalDialogBoxProps> & Readonly<{ onClose?: ((type?: import("../modal-dialog-box/viewModel.js").ComponentCloseTriggerType | undefined) => any) | undefined; onAction?: (() => any) | undefined; }>, "focus" | "actionInProgress" | ("id" | "resize" | "hasPadding" | "primaryDisabled" | "neutralDisabled" | "closeOnBlurClick" | "closeDisabled" | "hasFooter" | "hasNeutral" | "modalAutofocus" | "autoInProgressOnPrimary" | "fixedHeight" | "contentOverflow")> & import("vue").ShallowUnwrapRef<{ focus: () => void; actionInProgress: (progress: boolean) => void; }> & {} & import("vue").ComponentCustomProperties & {} & { $slots: { header?(_: {}): any; content?(_: {}): any; footer?(_: {}): any; }; }) | null; }, HTMLDivElement>; export default _default; //# sourceMappingURL=View.vue.d.ts.map