74 lines
2.8 KiB
TypeScript
74 lines
2.8 KiB
TypeScript
import { type PropType } from 'vue';
|
|
export declare const panelProps: {
|
|
readonly positiveText: PropType<string | null>;
|
|
readonly negativeText: PropType<string | null>;
|
|
readonly showIcon: {
|
|
readonly type: BooleanConstructor;
|
|
readonly default: true;
|
|
};
|
|
readonly onPositiveClick: {
|
|
readonly type: PropType<(e: MouseEvent) => void>;
|
|
readonly required: true;
|
|
};
|
|
readonly onNegativeClick: {
|
|
readonly type: PropType<(e: MouseEvent) => void>;
|
|
readonly required: true;
|
|
};
|
|
};
|
|
export declare const panelPropKeys: ("positiveText" | "negativeText" | "showIcon" | "onPositiveClick" | "onNegativeClick")[];
|
|
declare const _default: import("vue").DefineComponent<{
|
|
readonly positiveText: PropType<string | null>;
|
|
readonly negativeText: PropType<string | null>;
|
|
readonly showIcon: {
|
|
readonly type: BooleanConstructor;
|
|
readonly default: true;
|
|
};
|
|
readonly onPositiveClick: {
|
|
readonly type: PropType<(e: MouseEvent) => void>;
|
|
readonly required: true;
|
|
};
|
|
readonly onNegativeClick: {
|
|
readonly type: PropType<(e: MouseEvent) => void>;
|
|
readonly required: true;
|
|
};
|
|
}, {
|
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
cssVars: import("vue").ComputedRef<{
|
|
'--n-bezier': string;
|
|
'--n-font-size': string;
|
|
'--n-icon-size': string;
|
|
'--n-icon-color': string;
|
|
}> | undefined;
|
|
localizedPositiveText: import("vue").ComputedRef<string>;
|
|
localizedNegativeText: import("vue").ComputedRef<string>;
|
|
positiveButtonProps: import("vue").Ref<import("../../button").ButtonProps | undefined>;
|
|
negativeButtonProps: import("vue").Ref<import("../../button").ButtonProps | undefined>;
|
|
handlePositiveClick(e: MouseEvent): void;
|
|
handleNegativeClick(e: MouseEvent): void;
|
|
themeClass: import("vue").Ref<string> | undefined;
|
|
onRender: (() => void) | undefined;
|
|
localeRef: import("vue").Ref<{
|
|
positiveText: string;
|
|
negativeText: string;
|
|
}>;
|
|
dateLocaleRef: import("vue").Ref<import("../../locales/date/enUS").NDateLocale>;
|
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
readonly positiveText: PropType<string | null>;
|
|
readonly negativeText: PropType<string | null>;
|
|
readonly showIcon: {
|
|
readonly type: BooleanConstructor;
|
|
readonly default: true;
|
|
};
|
|
readonly onPositiveClick: {
|
|
readonly type: PropType<(e: MouseEvent) => void>;
|
|
readonly required: true;
|
|
};
|
|
readonly onNegativeClick: {
|
|
readonly type: PropType<(e: MouseEvent) => void>;
|
|
readonly required: true;
|
|
};
|
|
}>>, {
|
|
readonly showIcon: boolean;
|
|
}, {}>;
|
|
export default _default;
|