prizm-ui-vue 2.2.8 → 2.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -409,31 +409,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
409
409
|
};
|
|
410
410
|
}) | null>>;
|
|
411
411
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
412
|
-
|
|
413
|
-
blur: () => any;
|
|
414
|
-
change: () => any;
|
|
415
|
-
compositionend: () => any;
|
|
416
|
-
compositionstart: () => any;
|
|
417
|
-
compositionupdate: () => any;
|
|
418
|
-
focus: () => any;
|
|
419
|
-
input: () => any;
|
|
420
|
-
keydown: () => any;
|
|
421
|
-
mouseenter: () => any;
|
|
422
|
-
mouseleave: () => any;
|
|
423
|
-
"update:modelValue": (...args: unknown[]) => any;
|
|
412
|
+
"update:modelValue": (value: string | number | undefined) => any;
|
|
424
413
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
425
|
-
|
|
426
|
-
onBlur?: (() => any) | undefined;
|
|
427
|
-
onChange?: (() => any) | undefined;
|
|
428
|
-
onCompositionend?: (() => any) | undefined;
|
|
429
|
-
onCompositionstart?: (() => any) | undefined;
|
|
430
|
-
onCompositionupdate?: (() => any) | undefined;
|
|
431
|
-
onFocus?: (() => any) | undefined;
|
|
432
|
-
onInput?: (() => any) | undefined;
|
|
433
|
-
onKeydown?: (() => any) | undefined;
|
|
434
|
-
onMouseenter?: (() => any) | undefined;
|
|
435
|
-
onMouseleave?: (() => any) | undefined;
|
|
436
|
-
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
414
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
437
415
|
}>, {
|
|
438
416
|
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>;
|
|
439
417
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ElMessageBoxOptions, type MessageBoxData, type MessageBoxType } from 'element-plus';
|
|
2
|
+
import 'element-plus/es/components/message-box/style/css';
|
|
3
|
+
export type Props = Pick<ElMessageBoxOptions, 'title' | 'message' | 'showCancelButton' | 'showConfirmButton' | 'center' | 'customClass' | 'confirmButtonClass' | 'cancelButtonClass' | 'buttonSize' | 'customStyle'> & {
|
|
4
|
+
/** 'primary' refers to the confirm styles from Figma. 'danger' refers to the delete styles from Figma. @default 'primary' */
|
|
5
|
+
variant?: 'primary' | 'danger';
|
|
6
|
+
/** @default 'confirm' */
|
|
7
|
+
boxType?: Extract<MessageBoxType, 'confirm'>;
|
|
8
|
+
cancelButtonText?: string;
|
|
9
|
+
confirmButtonText?: string;
|
|
10
|
+
classLocalComponent?: string;
|
|
11
|
+
vertical?: boolean;
|
|
12
|
+
width?: `${string}px` | `${string}%` | string | number;
|
|
13
|
+
};
|
|
14
|
+
export declare const PrizmMessageBox: {
|
|
15
|
+
({ showCancelButton, showConfirmButton, center, variant, boxType, vertical, ...props }: Props): Promise<MessageBoxData>;
|
|
16
|
+
inheritAttrs: boolean;
|
|
17
|
+
};
|
|
@@ -8,3 +8,4 @@ export { default as PrizmDatePicker } from './PrizmDatePicker.vue';
|
|
|
8
8
|
export { default as PrizmForm } from './PrizmForm/PrizmForm.vue';
|
|
9
9
|
export { default as PrizmFormItem } from './PrizmForm/PrizmFormItem.vue';
|
|
10
10
|
export { default as PrizmDrawer } from './PrizmDrawer.vue';
|
|
11
|
+
export { PrizmMessageBox } from './PrizmMessageBox/PrizmMessageBox';
|