fantasia-ui 0.2.13 → 0.2.25

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.
Files changed (152) hide show
  1. package/dist/fantasia-ui.css +6892 -1
  2. package/dist/fantasia-ui.es.js +4551 -2311
  3. package/dist/fantasia-ui.umd.js +5194 -9
  4. package/dist/index.d.ts +8 -4
  5. package/dist/types/assets/index.d.ts +5 -0
  6. package/dist/types/components/index.d.ts +43 -47
  7. package/dist/types/components/modules/FAffix.vue.d.ts +16 -0
  8. package/dist/types/components/modules/FAlert.vue.d.ts +15 -0
  9. package/dist/types/components/modules/FAvatar.vue.d.ts +6 -0
  10. package/dist/types/components/modules/FBadge.vue.d.ts +19 -0
  11. package/dist/types/components/modules/FBreadcrumb.vue.d.ts +19 -0
  12. package/dist/types/components/modules/FButton.vue.d.ts +16 -0
  13. package/dist/types/components/modules/FButtonGroup.vue.d.ts +18 -0
  14. package/dist/types/components/modules/FCard.vue.d.ts +19 -0
  15. package/dist/types/components/modules/FCheckbox.vue.d.ts +11 -0
  16. package/dist/types/components/modules/FCol.vue.d.ts +17 -0
  17. package/dist/types/components/modules/FCollapse.vue.d.ts +27 -0
  18. package/dist/types/components/modules/FCollapseItem.vue.d.ts +18 -0
  19. package/dist/types/components/modules/FColorPicker.vue.d.ts +16 -0
  20. package/dist/types/components/modules/FContainer.vue.d.ts +15 -0
  21. package/dist/types/components/modules/FDialog.vue.d.ts +25 -0
  22. package/dist/types/components/modules/FDivider.vue.d.ts +6 -0
  23. package/dist/types/components/modules/FDropdown.vue.d.ts +25 -0
  24. package/dist/types/components/modules/FEditor.vue.d.ts +15 -0
  25. package/dist/types/components/modules/FEmpty.vue.d.ts +21 -0
  26. package/dist/types/components/modules/FForm.vue.d.ts +21 -0
  27. package/dist/types/components/modules/FFormItem.vue.d.ts +16 -0
  28. package/dist/types/components/modules/FIcon.vue.d.ts +15 -0
  29. package/dist/types/components/modules/FImage.vue.d.ts +15 -0
  30. package/dist/{components/modules/FInput.d.ts → types/components/modules/FInput.vue.d.ts} +6 -7
  31. package/dist/types/components/modules/FInputNumber.vue.d.ts +21 -0
  32. package/dist/types/components/modules/FLink.vue.d.ts +16 -0
  33. package/dist/types/components/modules/FLoading.vue.d.ts +6 -0
  34. package/dist/types/components/modules/FPagination.vue.d.ts +18 -0
  35. package/dist/types/components/modules/FProgress.vue.d.ts +6 -0
  36. package/dist/{components/modules/FRate.d.ts → types/components/modules/FRate.vue.d.ts} +6 -7
  37. package/dist/types/components/modules/FResult.vue.d.ts +18 -0
  38. package/dist/types/components/modules/FRow.vue.d.ts +19 -0
  39. package/dist/types/components/modules/FScrollbar.vue.d.ts +41 -0
  40. package/dist/types/components/modules/FSelect.vue.d.ts +17 -0
  41. package/dist/types/components/modules/FSlider.vue.d.ts +21 -0
  42. package/dist/types/components/modules/FSpace.vue.d.ts +9 -0
  43. package/dist/types/components/modules/FTable.vue.d.ts +38 -0
  44. package/dist/types/components/modules/FTabs.vue.d.ts +21 -0
  45. package/dist/types/components/modules/FTag.vue.d.ts +20 -0
  46. package/dist/types/components/modules/FText.vue.d.ts +17 -0
  47. package/dist/types/components/modules/FTooltip.vue.d.ts +21 -0
  48. package/dist/types/components/modules/FTypography.vue.d.ts +15 -0
  49. package/dist/types/components/modules/FUpload.vue.d.ts +28 -0
  50. package/dist/types/index.d.ts +4 -1
  51. package/dist/types/types/components/index.d.ts +47 -0
  52. package/dist/types/{components → types/components}/modules/base.d.ts +2 -1
  53. package/dist/types/{components → types/components}/modules/f-avatar.d.ts +2 -2
  54. package/dist/types/types/components/modules/f-button-group.d.ts +13 -0
  55. package/dist/types/types/components/modules/f-button.d.ts +17 -0
  56. package/dist/types/{components → types/components}/modules/f-card.d.ts +1 -1
  57. package/dist/types/{components → types/components}/modules/f-divider.d.ts +1 -1
  58. package/dist/types/{components → types/components}/modules/f-dropdown.d.ts +2 -2
  59. package/dist/types/{components → types/components}/modules/f-form.d.ts +1 -1
  60. package/dist/types/{components → types/components}/modules/f-menu.d.ts +1 -1
  61. package/dist/types/{components → types/components}/modules/f-result.d.ts +1 -1
  62. package/dist/types/{components → types/components}/modules/f-row.d.ts +1 -1
  63. package/dist/types/{components → types/components}/modules/f-space.d.ts +1 -1
  64. package/dist/types/{components → types/components}/modules/f-tag.d.ts +1 -1
  65. package/dist/types/{components → types/components}/modules/f-toolbar.d.ts +1 -1
  66. package/dist/types/types/index.d.ts +2 -0
  67. package/dist/{utils → types/utils}/validator.d.ts +1 -1
  68. package/package.json +4 -3
  69. package/dist/assets/index.d.ts +0 -5
  70. package/dist/auto-imports.d.ts +0 -623
  71. package/dist/components/index.d.ts +0 -42
  72. package/dist/components/modules/FAffix.d.ts +0 -22
  73. package/dist/components/modules/FAlert.d.ts +0 -21
  74. package/dist/components/modules/FAvatar.d.ts +0 -7
  75. package/dist/components/modules/FBadge.d.ts +0 -25
  76. package/dist/components/modules/FBreadcrumb.d.ts +0 -25
  77. package/dist/components/modules/FButton.d.ts +0 -22
  78. package/dist/components/modules/FButtonGroup.d.ts +0 -24
  79. package/dist/components/modules/FCard.d.ts +0 -32
  80. package/dist/components/modules/FCheckbox.d.ts +0 -12
  81. package/dist/components/modules/FCol.d.ts +0 -23
  82. package/dist/components/modules/FCollapse.d.ts +0 -29
  83. package/dist/components/modules/FCollapseItem.d.ts +0 -23
  84. package/dist/components/modules/FColorPicker.d.ts +0 -22
  85. package/dist/components/modules/FContainer.d.ts +0 -21
  86. package/dist/components/modules/FDialog.d.ts +0 -31
  87. package/dist/components/modules/FDivider.d.ts +0 -7
  88. package/dist/components/modules/FDropdown.d.ts +0 -36
  89. package/dist/components/modules/FEditor.d.ts +0 -20
  90. package/dist/components/modules/FEmpty.d.ts +0 -25
  91. package/dist/components/modules/FForm.d.ts +0 -27
  92. package/dist/components/modules/FFormItem.d.ts +0 -22
  93. package/dist/components/modules/FIcon.d.ts +0 -21
  94. package/dist/components/modules/FImage.d.ts +0 -24
  95. package/dist/components/modules/FInputNumber.d.ts +0 -24
  96. package/dist/components/modules/FLink.d.ts +0 -22
  97. package/dist/components/modules/FLoading.d.ts +0 -7
  98. package/dist/components/modules/FPagination.d.ts +0 -19
  99. package/dist/components/modules/FProgress.d.ts +0 -7
  100. package/dist/components/modules/FRow.d.ts +0 -25
  101. package/dist/components/modules/FScrollbar.d.ts +0 -57
  102. package/dist/components/modules/FSelect.d.ts +0 -18
  103. package/dist/components/modules/FSlider.d.ts +0 -24
  104. package/dist/components/modules/FSpace.d.ts +0 -10
  105. package/dist/components/modules/FTable.d.ts +0 -43
  106. package/dist/components/modules/FTabs.d.ts +0 -25
  107. package/dist/components/modules/FTag.d.ts +0 -26
  108. package/dist/components/modules/FText.d.ts +0 -23
  109. package/dist/components/modules/FTooltip.d.ts +0 -32
  110. package/dist/components/modules/FTypography.d.ts +0 -21
  111. package/dist/components/modules/FUpload.d.ts +0 -34
  112. package/dist/env.d.ts +0 -24
  113. package/dist/global.d.ts +0 -53
  114. package/dist/types/components/modules/f-button-group.d.ts +0 -11
  115. package/dist/types/components/modules/f-button.d.ts +0 -9
  116. package/dist/volar.d.ts +0 -53
  117. /package/dist/types/{components → types/components}/modules/f-affix.d.ts +0 -0
  118. /package/dist/types/{components → types/components}/modules/f-alert.d.ts +0 -0
  119. /package/dist/types/{components → types/components}/modules/f-badge.d.ts +0 -0
  120. /package/dist/types/{components → types/components}/modules/f-breadcrumb.d.ts +0 -0
  121. /package/dist/types/{components → types/components}/modules/f-checkbox.d.ts +0 -0
  122. /package/dist/types/{components → types/components}/modules/f-col.d.ts +0 -0
  123. /package/dist/types/{components → types/components}/modules/f-collapse-item.d.ts +0 -0
  124. /package/dist/types/{components → types/components}/modules/f-collapse.d.ts +0 -0
  125. /package/dist/types/{components → types/components}/modules/f-color-picker.d.ts +0 -0
  126. /package/dist/types/{components → types/components}/modules/f-container.d.ts +0 -0
  127. /package/dist/types/{components → types/components}/modules/f-dialog.d.ts +0 -0
  128. /package/dist/types/{components → types/components}/modules/f-editor.d.ts +0 -0
  129. /package/dist/types/{components → types/components}/modules/f-empty.d.ts +0 -0
  130. /package/dist/types/{components → types/components}/modules/f-form-item.d.ts +0 -0
  131. /package/dist/types/{components → types/components}/modules/f-icon.d.ts +0 -0
  132. /package/dist/types/{components → types/components}/modules/f-image.d.ts +0 -0
  133. /package/dist/types/{components → types/components}/modules/f-input-number.d.ts +0 -0
  134. /package/dist/types/{components → types/components}/modules/f-input.d.ts +0 -0
  135. /package/dist/types/{components → types/components}/modules/f-link.d.ts +0 -0
  136. /package/dist/types/{components → types/components}/modules/f-loading.d.ts +0 -0
  137. /package/dist/types/{components → types/components}/modules/f-pagination.d.ts +0 -0
  138. /package/dist/types/{components → types/components}/modules/f-progress.d.ts +0 -0
  139. /package/dist/types/{components → types/components}/modules/f-rate.d.ts +0 -0
  140. /package/dist/types/{components → types/components}/modules/f-scrollbar.d.ts +0 -0
  141. /package/dist/types/{components → types/components}/modules/f-slider-captcha.d.ts +0 -0
  142. /package/dist/types/{components → types/components}/modules/f-slider.d.ts +0 -0
  143. /package/dist/types/{components → types/components}/modules/f-table.d.ts +0 -0
  144. /package/dist/types/{components → types/components}/modules/f-tabs.d.ts +0 -0
  145. /package/dist/types/{components → types/components}/modules/f-tagsview.d.ts +0 -0
  146. /package/dist/types/{components → types/components}/modules/f-text.d.ts +0 -0
  147. /package/dist/types/{components → types/components}/modules/f-tooltip.d.ts +0 -0
  148. /package/dist/types/{components → types/components}/modules/f-typography.d.ts +0 -0
  149. /package/dist/types/{components → types/components}/modules/f-upload.d.ts +0 -0
  150. /package/dist/types/{models → types/models}/index.d.ts +0 -0
  151. /package/dist/{utils → types/utils}/general.d.ts +0 -0
  152. /package/dist/{utils → types/utils}/index.d.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -1,4 +1,8 @@
1
- import { Plugin } from 'vue';
2
- declare const install: Plugin;
3
- export default install;
4
- export * from './components';
1
+ import type { App, Plugin } from 'vue'
2
+
3
+ declare const install: Plugin
4
+
5
+ export default install
6
+
7
+ // 导出所有组件
8
+ export * from './types/components'
@@ -0,0 +1,5 @@
1
+ import Theme from './icons/theme-light-dark.svg';
2
+ import ThemeDark from './icons/theme-dark.svg';
3
+ import ThemeLight from './icons/theme-light.svg';
4
+ import PictureError from './icons/picture_error.svg';
5
+ export { Theme, ThemeDark, ThemeLight, PictureError };
@@ -1,47 +1,43 @@
1
- export * from './modules/base';
2
- export * from './modules/f-dialog';
3
- export * from './modules/f-pagination';
4
- export * from './modules/f-slider-captcha';
5
- export * from './modules/f-upload';
6
- export * from './modules/f-dropdown';
7
- export * from './modules/f-tooltip';
8
- export * from './modules/f-menu';
9
- export * from './modules/f-icon';
10
- export * from './modules/f-tagsview';
11
- export * from './modules/f-toolbar';
12
- export * from './modules/f-tag';
13
- export * from './modules/f-table';
14
- export * from './modules/f-loading';
15
- export * from './modules/f-button';
16
- export * from './modules/f-image';
17
- export * from './modules/f-rate';
18
- export * from './modules/f-input';
19
- export * from './modules/f-card';
20
- export * from './modules/f-progress';
21
- export * from './modules/f-tabs';
22
- export * from './modules/f-col';
23
- export * from './modules/f-row';
24
- export * from './modules/f-space';
25
- export * from './modules/f-divider';
26
- export * from './modules/f-container';
27
- export * from './modules/f-avatar';
28
- export * from './modules/f-text';
29
- export * from './modules/f-link';
30
- export * from './modules/f-badge';
31
- export * from './modules/f-affix';
32
- export * from './modules/f-breadcrumb';
33
- export * from './modules/f-form';
34
- export * from './modules/f-form-item';
35
- export * from './modules/f-checkbox';
36
- export * from './modules/f-alert';
37
- export * from './modules/f-editor';
38
- export * from './modules/f-typography';
39
- export * from './modules/f-result';
40
- export * from './modules/f-collapse';
41
- export * from './modules/f-collapse-item';
42
- export * from './modules/f-button-group';
43
- export * from './modules/f-scrollbar';
44
- export * from './modules/f-empty';
45
- export * from './modules/f-color-picker';
46
- export * from './modules/f-slider';
47
- export * from './modules/f-input-number';
1
+ export { default as FIcon } from "./modules/FIcon.vue";
2
+ export { default as FImage } from "./modules/FImage.vue";
3
+ export { default as FInput } from "./modules/FInput.vue";
4
+ export { default as FLoading } from "./modules/FLoading.vue";
5
+ export { default as FRate } from './modules/FRate.vue';
6
+ export { default as FDropdown } from "./modules/FDropdown.vue";
7
+ export { default as FSelect } from "./modules/FSelect.vue";
8
+ export { default as FPagination } from "./modules/FPagination.vue";
9
+ export { default as FCard } from "./modules/FCard.vue";
10
+ export { default as FTag } from "./modules/FTag.vue";
11
+ export { default as FTooltip } from "./modules/FTooltip.vue";
12
+ export { default as FProgress } from "./modules/FProgress.vue";
13
+ export { default as FTabs } from './modules/FTabs.vue';
14
+ export { default as FBreadcrumb } from "./modules/FBreadcrumb.vue";
15
+ export { default as FCol } from "./modules/FCol.vue";
16
+ export { default as FRow } from "./modules/FRow.vue";
17
+ export { default as FSpace } from "./modules/FSpace.vue";
18
+ export { default as FContainer } from "./modules/FContainer.vue";
19
+ export { default as FDivider } from "./modules/FDivider.vue";
20
+ export { default as FAvatar } from "./modules/FAvatar.vue";
21
+ export { default as FButton } from "./modules/FButton.vue";
22
+ export { default as FTypography } from './modules/FTypography.vue';
23
+ export { default as FText } from "./modules/FText.vue";
24
+ export { default as FLink } from "./modules/FLink.vue";
25
+ export { default as FBadge } from "./modules/FBadge.vue";
26
+ export { default as FAffix } from "./modules/FAffix.vue";
27
+ export { default as FForm } from "./modules/FForm.vue";
28
+ export { default as FFormItem } from "./modules/FFormItem.vue";
29
+ export { default as FCheckbox } from "./modules/FCheckbox.vue";
30
+ export { default as FAlert } from "./modules/FAlert.vue";
31
+ export { default as FEditor } from "./modules/FEditor.vue";
32
+ export { default as FTable } from "./modules/FTable.vue";
33
+ export { default as FDialog } from "./modules/FDialog.vue";
34
+ export { default as FUpload } from './modules/FUpload.vue';
35
+ export { default as FButtonGroup } from './modules/FButtonGroup.vue';
36
+ export { default as FCollapse } from './modules/FCollapse.vue';
37
+ export { default as FCollapseItem } from './modules/FCollapseItem.vue';
38
+ export { default as FColorPicker } from './modules/FColorPicker.vue';
39
+ export { default as FEmpty } from './modules/FEmpty.vue';
40
+ export { default as FSlider } from './modules/FSlider.vue';
41
+ export { default as FScrollbar } from './modules/FScrollbar.vue';
42
+ export { default as FInputNumber } from './modules/FInputNumber.vue';
43
+ export { default as FResult } from './modules/FResult.vue';
@@ -0,0 +1,16 @@
1
+ import type { FAffixProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FAffixProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FAffixProps> & Readonly<{}>, {
7
+ placement: "top-left" | "top-right" | "bottom-left" | "bottom-right";
8
+ offset: [number, number];
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,15 @@
1
+ import type { FAlertProps } from '@/types';
2
+ declare var __VLS_8: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_8) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FAlertProps> & Readonly<{}>, {
7
+ type: "success" | "error" | "warning" | "info";
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,6 @@
1
+ import type { FAvatarProps, Size } from '@/types';
2
+ declare const _default: import("vue").DefineComponent<FAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FAvatarProps> & Readonly<{}>, {
3
+ size: Size | number;
4
+ shape: "circle" | "square";
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import type { FBadgeProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FBadgeProps> & Readonly<{}>, {
7
+ type: "danger" | "primary" | "success" | "warning" | "info";
8
+ dot: boolean;
9
+ placement: "top-right" | "top-left" | "bottom-right" | "bottom-left";
10
+ offset: [number, number];
11
+ max: number;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ import type { FBreadcrumbProps } from '@/types';
2
+ declare var __VLS_5: {
3
+ item: import("@/types").BreadcrumbItem;
4
+ };
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_5) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<FBreadcrumbProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FBreadcrumbProps> & Readonly<{}>, {
9
+ separator: string;
10
+ items: import("@/types").BreadcrumbItem[];
11
+ animated: boolean;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,16 @@
1
+ import type { FButtonProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FButtonProps> & Readonly<{}>, {
7
+ round: boolean | number;
8
+ nativeType: import("@/types").ButtonNativeType;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,18 @@
1
+ import type { FButtonGroupProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FButtonGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FButtonGroupProps> & Readonly<{}>, {
7
+ vertical: boolean;
8
+ type: import("@/types").Type;
9
+ disabled: boolean;
10
+ size: import("@/types").Size;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,19 @@
1
+ import type { FCardProps } from '@/types';
2
+ type __VLS_Slots = {
3
+ header?: () => any;
4
+ 'header-extra'?: () => any;
5
+ cover?: () => any;
6
+ default?: () => any;
7
+ footer?: () => any;
8
+ };
9
+ declare const __VLS_component: import("vue").DefineComponent<FCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FCardProps> & Readonly<{}>, {
10
+ hoverable: boolean;
11
+ direction: import("@/types").Direction;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,11 @@
1
+ import type { FCheckboxProps } from '@/types';
2
+ type __VLS_Props = FCheckboxProps;
3
+ type __VLS_PublicProps = __VLS_Props & {
4
+ modelValue?: boolean;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (value: boolean) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: (value: boolean) => any;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import type { FColProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FColProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FColProps> & Readonly<{}>, {
7
+ span: number;
8
+ offset: number;
9
+ order: number;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,27 @@
1
+ import type { FCollapseProps } from '@/types';
2
+ type __VLS_Props = FCollapseProps;
3
+ type __VLS_PublicProps = __VLS_Props & {
4
+ /**
5
+ * accordion = false 时 modelValue 为 (string | number)[]
6
+ * accordion = true 时 modelValue 为 string | number
7
+ */
8
+ modelValue?: Array<string | number> | string | number;
9
+ };
10
+ declare var __VLS_1: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_1) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:modelValue": (value: string | number | (string | number)[]) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
+ "onUpdate:modelValue"?: (value: string | number | (string | number)[]) => any;
18
+ }>, {
19
+ accordion: boolean;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,18 @@
1
+ import type { FCollapseItemProps } from '@/types';
2
+ declare var __VLS_1: {}, __VLS_13: {};
3
+ type __VLS_Slots = {} & {
4
+ title?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_13) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<FCollapseItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FCollapseItemProps> & Readonly<{}>, {
9
+ disabled: boolean;
10
+ title: string;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,16 @@
1
+ import type { FColorPickerProps } from '@/types';
2
+ type __VLS_Props = FColorPickerProps;
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
+ }>, {
11
+ disabled: boolean;
12
+ size: "small" | "default" | "large";
13
+ showAlpha: boolean;
14
+ predefine: string[];
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import type { FContainerProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FContainerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FContainerProps> & Readonly<{}>, {
7
+ gap: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,25 @@
1
+ import type { FDialogProps } from '@/types';
2
+ type __VLS_Props = FDialogProps;
3
+ type __VLS_PublicProps = __VLS_Props & {
4
+ modelValue?: boolean;
5
+ };
6
+ declare var __VLS_9: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_9) => any;
9
+ };
10
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:modelValue": (value: boolean) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: (value: boolean) => any;
14
+ }>, {
15
+ maskClosable: boolean;
16
+ maskColor: "white" | "black" | "transparent";
17
+ showMask: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,6 @@
1
+ import type { FDividerProps } from '@/types';
2
+ declare const _default: import("vue").DefineComponent<FDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FDividerProps> & Readonly<{}>, {
3
+ line: "none" | "solid" | "hidden" | "dashed";
4
+ direction: import("@/types").Direction;
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import type { FDropdownProps, FDropdownOption } from '@/types';
2
+ declare var __VLS_1: {}, __VLS_15: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ content?: (props: typeof __VLS_15) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<FDropdownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ select: (...args: any[]) => void;
10
+ }, string, import("vue").PublicProps, Readonly<FDropdownProps> & Readonly<{
11
+ onSelect?: (...args: any[]) => any;
12
+ }>, {
13
+ placement: import("@/types").Placement;
14
+ offset: number | [number, number];
15
+ zIndex: number;
16
+ trigger: "hover" | "click";
17
+ options: FDropdownOption[];
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,15 @@
1
+ import type { FEditorProps } from '@/types';
2
+ type __VLS_Props = FEditorProps;
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
+ blur: () => any;
8
+ "update:modelValue": (value: string) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ onBlur?: () => any;
11
+ "onUpdate:modelValue"?: (value: string) => any;
12
+ }>, {
13
+ height: number;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import type { FEmptyProps } from '@/types';
2
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
3
+ type __VLS_Slots = {} & {
4
+ image?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ description?: (props: typeof __VLS_3) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_5) => any;
9
+ };
10
+ declare const __VLS_component: import("vue").DefineComponent<FEmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FEmptyProps> & Readonly<{}>, {
11
+ image: string;
12
+ description: string;
13
+ imageSize: number;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,21 @@
1
+ import type { FFormProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FFormProps, {
7
+ validate: () => Promise<boolean>;
8
+ resetFields: () => void;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FFormProps> & Readonly<{}>, {
10
+ size: import("@/types").Size;
11
+ rules: import("@/types").Rules;
12
+ labelWidth: string;
13
+ labelPosition: "top" | "left" | "right";
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,16 @@
1
+ import type { FFormItemProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FFormItemProps, {
7
+ validate: () => Promise<string>;
8
+ clearValidate: () => void;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FFormItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,15 @@
1
+ import type { FIconProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FIconProps> & Readonly<{}>, {
7
+ size: string | number;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,15 @@
1
+ import type { FImageProps } from '@/types';
2
+ type __VLS_Slots = {
3
+ error?: () => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<FImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FImageProps> & Readonly<{}>, {
6
+ fit: "fill" | "contain" | "none" | "cover" | "scale-down";
7
+ lazy: boolean;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -1,17 +1,16 @@
1
- import { FInputProps } from '../../types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import type { FInputProps } from '@/types';
3
2
  type __VLS_Props = FInputProps;
4
- type __VLS_PublicProps = {
3
+ type __VLS_PublicProps = __VLS_Props & {
5
4
  modelValue?: string;
6
- } & __VLS_Props;
7
- declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
7
  "update:modelValue": (value: string) => any;
9
8
  } & {
10
9
  input: (value: string) => any;
11
10
  change: (value: string) => any;
12
11
  focus: (event: FocusEvent) => any;
13
12
  blur: (event: FocusEvent) => any;
14
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
14
  onInput?: (value: string) => any;
16
15
  onChange?: (value: string) => any;
17
16
  onFocus?: (event: FocusEvent) => any;
@@ -24,5 +23,5 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
24
23
  readonly: boolean;
25
24
  name: string;
26
25
  placeholder: string;
27
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
27
  export default _default;
@@ -0,0 +1,21 @@
1
+ import type { FInputNumberProps } from '@/types';
2
+ type __VLS_Props = FInputNumberProps;
3
+ type __VLS_PublicProps = __VLS_Props & {
4
+ modelValue?: number | undefined;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (value: number) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: (value: number) => any;
10
+ }>, {
11
+ disabled: boolean;
12
+ size: "small" | "default" | "large";
13
+ placeholder: string;
14
+ min: number;
15
+ max: number;
16
+ step: number;
17
+ precision: number;
18
+ controls: boolean;
19
+ controlsPosition: "right" | "both";
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import type { FLinkProps } from '@/types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<FLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FLinkProps> & Readonly<{}>, {
7
+ target: "_self" | "_blank" | "_parent" | "_top";
8
+ underline: "none" | "always" | "hover";
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,6 @@
1
+ import type { FLoadingProps } from '@/types';
2
+ declare const _default: import("vue").DefineComponent<FLoadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FLoadingProps> & Readonly<{}>, {
3
+ type: string;
4
+ mask: boolean;
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;