UNPKG

@agendize/design-system

Version:
171 lines 9.89 kB
interface Props { mode?: "save-or-quit" | "cancel-or-quit"; } declare function inProgress(value?: boolean): void; declare const _default: import("vue").DefineComponent<Props, { inProgress: typeof inProgress; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { saveAndExit: () => any; exit: () => any; closeDialog: () => any; }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{ onSaveAndExit?: (() => any) | undefined; onExit?: (() => any) | undefined; onCloseDialog?: (() => any) | undefined; }>, { mode: "save-or-quit" | "cancel-or-quit"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, { confirmDialogRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../confirm-dialog/View.vue").Props> & Readonly<{ onCancel?: ((isClosed?: boolean | undefined, type?: import("../modal-dialog-box/viewModel.js").ComponentCloseTriggerType | undefined) => any) | undefined; onConfirm?: (() => any) | undefined; }>, { focus: () => void; inProgress: (value?: boolean) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { cancel: (isClosed?: boolean | undefined, type?: import("../modal-dialog-box/viewModel.js").ComponentCloseTriggerType | undefined) => any; confirm: () => any; }, import("vue").PublicProps, { modalAutofocus: import("../../../index.js").AutoFocusType; autoInProgressOnPrimary: boolean; confirmType: "error" | "confirm"; }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, { 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.js").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.js").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.js").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, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("../confirm-dialog/View.vue").Props> & Readonly<{ onCancel?: ((isClosed?: boolean | undefined, type?: import("../modal-dialog-box/viewModel.js").ComponentCloseTriggerType | undefined) => any) | undefined; onConfirm?: (() => any) | undefined; }>, { focus: () => void; inProgress: (value?: boolean) => void; }, {}, {}, {}, { modalAutofocus: import("../../../index.js").AutoFocusType; autoInProgressOnPrimary: boolean; confirmType: "error" | "confirm"; }> | null; }, HTMLDivElement>; export default _default; //# sourceMappingURL=View.vue.d.ts.map