fantasia-ui 0.2.39 → 0.2.44
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/README.en.md +8 -356
- package/README.md +10 -358
- package/dist/fantasia-ui.css +534 -205
- package/dist/fantasia-ui.es.js +3323 -524
- package/dist/fantasia-ui.umd.js +3301 -502
- package/dist/types/{components → packages/components}/index.d.ts +4 -3
- package/dist/types/{components → packages/components}/modules/FButton.vue.d.ts +3 -3
- package/dist/types/packages/components/modules/FDialog.vue.d.ts +46 -0
- package/dist/types/{components → packages/components}/modules/FDropdown.vue.d.ts +5 -0
- package/dist/types/packages/components/modules/FInput.vue.d.ts +11 -0
- package/dist/types/{components → packages/components}/modules/FInputNumber.vue.d.ts +0 -1
- package/dist/types/{components/modules/FDialog.vue.d.ts → packages/components/modules/FMask.vue.d.ts} +2 -2
- package/dist/types/{components → packages/components}/modules/FSelect.vue.d.ts +3 -0
- package/dist/types/packages/composables/FDialog.d.ts +3 -0
- package/dist/types/{types → packages/types}/components/index.d.ts +3 -1
- package/dist/types/{types → packages/types}/components/modules/base.d.ts +1 -1
- package/dist/types/{types → packages/types}/components/modules/f-button.d.ts +3 -1
- package/dist/types/packages/types/components/modules/f-dialog.d.ts +69 -0
- package/dist/types/{types → packages/types}/components/modules/f-dropdown.d.ts +1 -0
- package/dist/types/{types → packages/types}/components/modules/f-input-number.d.ts +0 -1
- package/dist/types/{types → packages/types}/components/modules/f-input.d.ts +3 -5
- package/dist/types/{types/components/modules/f-dialog.d.ts → packages/types/components/modules/f-mask.d.ts} +2 -2
- package/dist/types/packages/types/components/modules/f-select.d.ts +7 -0
- package/package.json +1 -1
- package/dist/types/components/modules/FInput.vue.d.ts +0 -27
- package/dist/types/{assets → packages/assets}/index.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FAffix.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FAlert.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FAvatar.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FBadge.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FBreadcrumb.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FButtonGroup.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FCard.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FCheckbox.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FCol.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FCollapse.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FCollapseItem.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FColorPicker.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FContainer.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FDivider.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FEditor.vue.d.ts +2 -2
- package/dist/types/{components → packages/components}/modules/FEmpty.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FForm.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FFormItem.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FIcon.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FImage.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FLink.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FLoading.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FMessage.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FNotification.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FPagination.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FProgress.vue.d.ts +0 -0
- package/dist/types/{components → packages/components}/modules/FRate.vue.d.ts +2 -2
- /package/dist/types/{components → packages/components}/modules/FResult.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FRow.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FScrollbar.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FSlider.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FSpace.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FTable.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FTabs.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FTag.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FText.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FTooltip.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FTypography.vue.d.ts +0 -0
- /package/dist/types/{components → packages/components}/modules/FUpload.vue.d.ts +0 -0
- /package/dist/types/{components/modules → packages/composables}/FMessage.d.ts +0 -0
- /package/dist/types/{components/modules → packages/composables}/FNotification.d.ts +0 -0
- /package/dist/types/{index.d.ts → packages/index.d.ts} +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-affix.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-alert.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-avatar.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-badge.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-breadcrumb.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-button-group.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-card.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-checkbox.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-col.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-collapse-item.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-collapse.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-color-picker.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-container.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-divider.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-editor.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-empty.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-form-item.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-form.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-icon.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-image.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-link.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-loading.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-menu.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-message.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-notification.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-pagination.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-progress.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-rate.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-result.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-row.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-scrollbar.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-slider-captcha.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-slider.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-space.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-table.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-tabs.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-tag.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-tagsview.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-text.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-toolbar.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-tooltip.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-typography.d.ts +0 -0
- /package/dist/types/{types → packages/types}/components/modules/f-upload.d.ts +0 -0
- /package/dist/types/{types → packages/types}/index.d.ts +0 -0
- /package/dist/types/{types → packages/types}/models/index.d.ts +0 -0
- /package/dist/types/{utils → packages/utils}/general.d.ts +0 -0
- /package/dist/types/{utils → packages/utils}/index.d.ts +0 -0
- /package/dist/types/{utils → packages/utils}/validator.d.ts +0 -0
|
@@ -30,7 +30,6 @@ export { default as FCheckbox } from "./modules/FCheckbox.vue";
|
|
|
30
30
|
export { default as FAlert } from "./modules/FAlert.vue";
|
|
31
31
|
export { default as FEditor } from "./modules/FEditor.vue";
|
|
32
32
|
export { default as FTable } from "./modules/FTable.vue";
|
|
33
|
-
export { default as FDialog } from "./modules/FDialog.vue";
|
|
34
33
|
export { default as FUpload } from './modules/FUpload.vue';
|
|
35
34
|
export { default as FButtonGroup } from './modules/FButtonGroup.vue';
|
|
36
35
|
export { default as FCollapse } from './modules/FCollapse.vue';
|
|
@@ -41,9 +40,11 @@ export { default as FSlider } from './modules/FSlider.vue';
|
|
|
41
40
|
export { default as FScrollbar } from './modules/FScrollbar.vue';
|
|
42
41
|
export { default as FInputNumber } from './modules/FInputNumber.vue';
|
|
43
42
|
export { default as FResult } from './modules/FResult.vue';
|
|
44
|
-
import FMessageDefault from '
|
|
45
|
-
import FNotificationDefault from '
|
|
43
|
+
import FMessageDefault from '../composables/FMessage.js';
|
|
44
|
+
import FNotificationDefault from '../composables/FNotification.js';
|
|
45
|
+
import FDialogDefault from '../composables/FDialog.js';
|
|
46
46
|
export { FMessageDefault as FMessage };
|
|
47
47
|
export { FNotificationDefault as FNotification };
|
|
48
|
+
export { FDialogDefault as FDialog };
|
|
48
49
|
export type { FMessageFn, FMessageOptions, FMessageInstance } from '@/types';
|
|
49
50
|
export type { FNotificationFn, FNotificationOptions, FNotificationInstance } from '@/types';
|
|
@@ -2,9 +2,9 @@ import type { FButtonProps } from '@/types';
|
|
|
2
2
|
type __VLS_Props = FButtonProps & {
|
|
3
3
|
active?: boolean;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default?: () => any;
|
|
7
|
+
icon?: () => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
10
|
nativeType: import("@/types").ButtonNativeType;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { FDialogProps } from '@/types/components';
|
|
2
|
+
type __VLS_Props = FDialogProps;
|
|
3
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
+
modelValue: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_20: {}, __VLS_29: {}, __VLS_31: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
header?: (props: typeof __VLS_20) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_29) => any;
|
|
11
|
+
} & {
|
|
12
|
+
footer?: (props: typeof __VLS_31) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: boolean) => any;
|
|
16
|
+
cancel: () => any;
|
|
17
|
+
close: () => any;
|
|
18
|
+
confirm: () => any;
|
|
19
|
+
open: () => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
22
|
+
onCancel?: () => any;
|
|
23
|
+
onClose?: () => any;
|
|
24
|
+
onConfirm?: () => any;
|
|
25
|
+
onOpen?: () => any;
|
|
26
|
+
}>, {
|
|
27
|
+
center: boolean;
|
|
28
|
+
width: string;
|
|
29
|
+
type: import("@/types/components").Type;
|
|
30
|
+
title: string;
|
|
31
|
+
confirmText: string;
|
|
32
|
+
cancelText: string;
|
|
33
|
+
showCancel: boolean;
|
|
34
|
+
showClose: boolean;
|
|
35
|
+
closeOnClickModal: boolean;
|
|
36
|
+
closeOnEsc: boolean;
|
|
37
|
+
fullscreen: boolean;
|
|
38
|
+
destroyOnClose: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -7,9 +7,14 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_component: import("vue").DefineComponent<FDropdownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
select: (...args: any[]) => void;
|
|
10
|
+
show: (...args: any[]) => void;
|
|
11
|
+
hide: (...args: any[]) => void;
|
|
10
12
|
}, string, import("vue").PublicProps, Readonly<FDropdownProps> & Readonly<{
|
|
11
13
|
onSelect?: (...args: any[]) => any;
|
|
14
|
+
onShow?: (...args: any[]) => any;
|
|
15
|
+
onHide?: (...args: any[]) => any;
|
|
12
16
|
}>, {
|
|
17
|
+
disabled: boolean;
|
|
13
18
|
placement: import("@/types").Placement;
|
|
14
19
|
offset: number | [number, number];
|
|
15
20
|
zIndex: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FInputProps } from '@/types';
|
|
2
|
+
type __VLS_Props = FInputProps;
|
|
3
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -2,6 +2,7 @@ import type { FDropdownOption } from '@/types';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
options: FDropdownOption[];
|
|
4
4
|
placeholder?: string;
|
|
5
|
+
disabled?: boolean;
|
|
5
6
|
};
|
|
6
7
|
type __VLS_PublicProps = __VLS_Props & {
|
|
7
8
|
modelValue?: string | number;
|
|
@@ -10,8 +11,10 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
10
11
|
"update:modelValue": (value: string | number) => any;
|
|
11
12
|
} & {
|
|
12
13
|
select: (key: string | number, option: FDropdownOption) => any;
|
|
14
|
+
change: (key: string | number, option: FDropdownOption) => any;
|
|
13
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
16
|
onSelect?: (key: string | number, option: FDropdownOption) => any;
|
|
15
17
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
18
|
+
onChange?: (key: string | number, option: FDropdownOption) => any;
|
|
16
19
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
20
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './modules/base';
|
|
2
|
-
export * from './modules/f-
|
|
2
|
+
export * from './modules/f-mask';
|
|
3
3
|
export * from './modules/f-pagination';
|
|
4
4
|
export * from './modules/f-slider-captcha';
|
|
5
5
|
export * from './modules/f-upload';
|
|
@@ -47,3 +47,5 @@ export * from './modules/f-slider';
|
|
|
47
47
|
export * from './modules/f-input-number';
|
|
48
48
|
export * from './modules/f-message';
|
|
49
49
|
export * from './modules/f-notification';
|
|
50
|
+
export * from './modules/f-select';
|
|
51
|
+
export * from './modules/f-dialog';
|
|
@@ -5,7 +5,7 @@ type Wrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
|
5
5
|
type Direction = 'horizontal' | 'vertical';
|
|
6
6
|
type Size = 'small' | 'normal' | 'large' | number;
|
|
7
7
|
type Placement = 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'bottom' | 'top' | 'top-start' | 'top-end' | 'left-start' | 'left-end';
|
|
8
|
-
type Type = '
|
|
8
|
+
type Type = 'default' | 'primary' | 'success' | 'info' | 'warning' | 'failed';
|
|
9
9
|
type Position = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
10
10
|
interface ActiveInstance {
|
|
11
11
|
id: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
1
2
|
import type { Size, Type } from "./base";
|
|
2
3
|
type ButtonNativeType = 'button' | 'submit' | 'reset';
|
|
3
4
|
interface FButtonProps {
|
|
@@ -9,8 +10,9 @@ interface FButtonProps {
|
|
|
9
10
|
round?: boolean | number;
|
|
10
11
|
circle?: boolean;
|
|
11
12
|
plain?: boolean;
|
|
13
|
+
text?: boolean;
|
|
12
14
|
block?: boolean;
|
|
13
|
-
icon?: string;
|
|
15
|
+
icon?: Component | string;
|
|
14
16
|
active?: boolean;
|
|
15
17
|
bgColor?: string;
|
|
16
18
|
color?: string;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { Type } from "./base";
|
|
2
|
+
/**
|
|
3
|
+
* FDialog 组件属性
|
|
4
|
+
*/
|
|
5
|
+
interface FDialogProps {
|
|
6
|
+
/** 标题 */
|
|
7
|
+
title?: string;
|
|
8
|
+
/** 内容文本 */
|
|
9
|
+
content?: string;
|
|
10
|
+
/** 对话框宽度 */
|
|
11
|
+
width?: string;
|
|
12
|
+
/** 对话框类型 */
|
|
13
|
+
type?: Type;
|
|
14
|
+
/** 确认按钮文本 */
|
|
15
|
+
confirmText?: string;
|
|
16
|
+
/** 取消按钮文本 */
|
|
17
|
+
cancelText?: string;
|
|
18
|
+
/** 是否显示取消按钮 */
|
|
19
|
+
showCancel?: boolean;
|
|
20
|
+
/** 是否显示关闭按钮 */
|
|
21
|
+
showClose?: boolean;
|
|
22
|
+
/** 点击遮罩是否关闭 */
|
|
23
|
+
closeOnClickModal?: boolean;
|
|
24
|
+
/** 按 ESC 是否关闭 */
|
|
25
|
+
closeOnEsc?: boolean;
|
|
26
|
+
/** 是否居中布局 */
|
|
27
|
+
center?: boolean;
|
|
28
|
+
/** 是否全屏显示 */
|
|
29
|
+
fullscreen?: boolean;
|
|
30
|
+
/** 关闭时销毁内容 */
|
|
31
|
+
destroyOnClose?: boolean;
|
|
32
|
+
/** 关闭前的回调 */
|
|
33
|
+
beforeClose?: (done: () => void) => void;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* FDialog 组件事件
|
|
37
|
+
*/
|
|
38
|
+
interface FDialogEmits {
|
|
39
|
+
/** 打开事件 */
|
|
40
|
+
open: [];
|
|
41
|
+
/** 关闭事件 */
|
|
42
|
+
close: [];
|
|
43
|
+
/** 确认事件 */
|
|
44
|
+
confirm: [];
|
|
45
|
+
/** 取消事件 */
|
|
46
|
+
cancel: [];
|
|
47
|
+
}
|
|
48
|
+
interface FDialogOptions {
|
|
49
|
+
title?: string;
|
|
50
|
+
content?: string;
|
|
51
|
+
width?: string;
|
|
52
|
+
type?: Type;
|
|
53
|
+
confirmText?: string;
|
|
54
|
+
cancelText?: string;
|
|
55
|
+
showCancel?: boolean;
|
|
56
|
+
showClose?: boolean;
|
|
57
|
+
center?: boolean;
|
|
58
|
+
beforeClose?: (done: () => void) => void;
|
|
59
|
+
}
|
|
60
|
+
type FDialogFn = ((options: FDialogOptions) => Promise<boolean>) & {
|
|
61
|
+
showDialog: (options: FDialogOptions) => Promise<boolean>;
|
|
62
|
+
confirm: (content: string, title?: string) => Promise<boolean>;
|
|
63
|
+
alert: (content: string, title?: string, type?: Type) => Promise<boolean>;
|
|
64
|
+
success: (content: string, title?: string) => Promise<boolean>;
|
|
65
|
+
warning: (content: string, title?: string) => Promise<boolean>;
|
|
66
|
+
failed: (content: string, title?: string) => Promise<boolean>;
|
|
67
|
+
info: (content: string, title?: string) => Promise<boolean>;
|
|
68
|
+
};
|
|
69
|
+
export type { FDialogProps, FDialogEmits, FDialogOptions, FDialogFn };
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { FInputProps } from '@/types';
|
|
2
|
-
type __VLS_Props = FInputProps;
|
|
3
|
-
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
-
modelValue?: string;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (value: string) => any;
|
|
8
|
-
} & {
|
|
9
|
-
input: (value: string) => any;
|
|
10
|
-
change: (value: string) => any;
|
|
11
|
-
focus: (event: FocusEvent) => any;
|
|
12
|
-
blur: (event: FocusEvent) => any;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
-
onInput?: (value: string) => any;
|
|
15
|
-
onChange?: (value: string) => any;
|
|
16
|
-
onFocus?: (event: FocusEvent) => any;
|
|
17
|
-
onBlur?: (event: FocusEvent) => any;
|
|
18
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
19
|
-
}>, {
|
|
20
|
-
id: string;
|
|
21
|
-
type: string;
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
readonly: boolean;
|
|
24
|
-
name: string;
|
|
25
|
-
placeholder: string;
|
|
26
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
-
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -4,11 +4,11 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
4
4
|
modelValue?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
blur: () => any;
|
|
8
7
|
"update:modelValue": (value: string) => any;
|
|
8
|
+
blur: () => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
-
onBlur?: () => any;
|
|
11
10
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
11
|
+
onBlur?: () => any;
|
|
12
12
|
}>, {
|
|
13
13
|
height: number;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -4,11 +4,11 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
4
4
|
modelValue?: number;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
change: (value: number) => any;
|
|
8
7
|
"update:modelValue": (value: number) => any;
|
|
8
|
+
change: (value: number) => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
-
onChange?: (value: number) => any;
|
|
11
10
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
11
|
+
onChange?: (value: number) => any;
|
|
12
12
|
}>, {
|
|
13
13
|
color: string;
|
|
14
14
|
size: "large" | "normal" | "small";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|