@reinosoft-ui/core 0.1.80 → 0.1.81
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.
- package/dist/components/ConfirmModal/ConfirmModal.vue.d.ts +3 -0
- package/dist/components/ConfirmModal/confirm.d.ts +21 -0
- package/dist/components/ConfirmModal/index.d.ts +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/reinosoft-ui.es.js +1862 -1765
- package/dist/reinosoft-ui.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type ConfirmType = 'success' | 'error' | 'warning';
|
|
2
|
+
export type ConfirmOptions = {
|
|
3
|
+
title?: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
type?: ConfirmType;
|
|
6
|
+
confirmText?: string;
|
|
7
|
+
cancelText?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const confirmState: {
|
|
10
|
+
title: string;
|
|
11
|
+
text: string;
|
|
12
|
+
type: ConfirmType;
|
|
13
|
+
confirmText: string;
|
|
14
|
+
cancelText: string;
|
|
15
|
+
open: boolean;
|
|
16
|
+
resolve?: ((v: boolean) => void) | undefined;
|
|
17
|
+
};
|
|
18
|
+
export declare function confirm(text: string): Promise<boolean>;
|
|
19
|
+
export declare function confirm(options: ConfirmOptions): Promise<boolean>;
|
|
20
|
+
export declare const confirmOk: () => void | undefined;
|
|
21
|
+
export declare const confirmCancel: () => void | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { default as ButtonMenu } from './components/ButtonMenu';
|
|
|
13
13
|
export { default as Input } from './components/Input/Input.vue';
|
|
14
14
|
export { default as Avatar } from './components/Avatar/Avatar.vue';
|
|
15
15
|
export { default as Select } from './components/Select/Select.vue';
|
|
16
|
+
export { default as ConfirmModal } from './components/ConfirmModal';
|
|
16
17
|
export { default as ImageGallery } from './components/ImageGallery';
|
|
17
18
|
export { default as Spinner } from './components/Spinner/Spinner.vue';
|
|
18
19
|
export { default as Checkbox } from './components/Checkbox/Checkbox.vue';
|
|
@@ -28,6 +29,8 @@ export type { EditorButton, IconType } from './components/Editor';
|
|
|
28
29
|
export type { Toast, ToastVariant } from './components/Toast';
|
|
29
30
|
export type { OptionDefinition } from './components/Select/types';
|
|
30
31
|
export type { PasswordRule } from './components/PasswordValidator/PasswordValidator';
|
|
32
|
+
export type { ConfirmOptions, ConfirmType } from './components/ConfirmModal/confirm';
|
|
33
|
+
export { confirm } from './components/ConfirmModal/confirm';
|
|
31
34
|
export * from './components/Card';
|
|
32
35
|
export * from './components/Steps';
|
|
33
36
|
export * from './components/Timeline';
|