foucui 2.2.1 → 2.3.1

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 (106) hide show
  1. package/README.md +2 -1
  2. package/dist/components/FouBadge/utils/pca-code.json.d.ts +3 -0
  3. package/dist/components/FouBreadcrumb/types.d.ts +14 -0
  4. package/dist/components/FouCalendar/types.d.ts +5 -0
  5. package/dist/components/FouConfigProvider/types.d.ts +6 -0
  6. package/dist/components/FouFloatButton/context.d.ts +1 -0
  7. package/dist/components/FouForm/types.d.ts +2 -1
  8. package/dist/components/FouImagePreviewGroup/context.d.ts +6 -0
  9. package/dist/components/FouInfiniteScroll/index.d.ts +14 -0
  10. package/dist/components/FouMsgBox/index.d.ts +7 -2
  11. package/dist/components/FouSelect/types.d.ts +6 -4
  12. package/dist/components/FouSplitter/types.d.ts +19 -0
  13. package/dist/components/FouTabBar/types.d.ts +5 -0
  14. package/dist/components/FouTour/types.d.ts +18 -0
  15. package/dist/components/popupZIndex.d.ts +3 -0
  16. package/dist/components/useFormField.d.ts +14 -0
  17. package/dist/components/useVirtualList.d.ts +19 -0
  18. package/dist/foucui.css +2 -1
  19. package/dist/foucui.js +24152 -26741
  20. package/dist/foucui.umd.cjs +26 -28
  21. package/dist/index.d.ts +57 -5
  22. package/dist/src/bridge/@/store/modules/settings.d.ts +10 -3
  23. package/package.json +100 -95
  24. package/README.publish.md +0 -19
  25. package/dist/components/FouAnchorLink/index.vue.d.ts +0 -23
  26. package/dist/components/FouBadge/components/BadgeImagePickerDialog.vue.d.ts +0 -16
  27. package/dist/components/FouBadge/components/BadgeLibraryManagerDialog.vue.d.ts +0 -9
  28. package/dist/components/FouBadge/components/BadgeLibraryPanel.vue.d.ts +0 -5
  29. package/dist/components/FouBadge/shared/BadgeTemplateRenderer.vue.d.ts +0 -14
  30. package/dist/components/FouBadge/views/BadgeLibraryView.vue.d.ts +0 -2
  31. package/dist/components/FouBadge/views/BadgeManageView.vue.d.ts +0 -7
  32. package/dist/components/FouBadge/views/BadgeTemplateListView.vue.d.ts +0 -4
  33. package/dist/components/FouBadge/views/DeskLabelTemplateListView.vue.d.ts +0 -4
  34. package/dist/components/FouBadge/views/DeskLabelView.vue.d.ts +0 -4
  35. package/dist/components/FouBanner/index.vue.d.ts +0 -53
  36. package/dist/components/FouButton/index.vue.d.ts +0 -52
  37. package/dist/components/FouCanvasKit/FouCanvasEditor.vue.d.ts +0 -26
  38. package/dist/components/FouCanvasKit/FouCanvasRenderer.vue.d.ts +0 -13
  39. package/dist/components/FouCanvasKit/components/DataModulesPanel.vue.d.ts +0 -24
  40. package/dist/components/FouCarouselItem/index.vue.d.ts +0 -20
  41. package/dist/components/FouCheckbox/FouCheckboxGroup.vue.d.ts +0 -33
  42. package/dist/components/FouCheckbox/index.vue.d.ts +0 -38
  43. package/dist/components/FouCode/index.vue.d.ts +0 -15
  44. package/dist/components/FouCollapseItem/index.vue.d.ts +0 -30
  45. package/dist/components/FouColorField/index.vue.d.ts +0 -23
  46. package/dist/components/FouColorPicker/index.vue.d.ts +0 -21
  47. package/dist/components/FouCombobox/index.vue.d.ts +0 -54
  48. package/dist/components/FouContextMenu/index.vue.d.ts +0 -46
  49. package/dist/components/FouDescriptionsItem/index.vue.d.ts +0 -25
  50. package/dist/components/FouDigitalCard/index.vue.d.ts +0 -45
  51. package/dist/components/FouDropdown/FouDropdownItem.vue.d.ts +0 -30
  52. package/dist/components/FouDropdown/FouDropdownMenu.vue.d.ts +0 -17
  53. package/dist/components/FouDropdown/index.vue.d.ts +0 -47
  54. package/dist/components/FouHoverCard/index.vue.d.ts +0 -44
  55. package/dist/components/FouIcon/index.vue.d.ts +0 -18
  56. package/dist/components/FouInput/index.vue.d.ts +0 -71
  57. package/dist/components/FouInputNumber/index.vue.d.ts +0 -38
  58. package/dist/components/FouInputOtp/index.vue.d.ts +0 -28
  59. package/dist/components/FouKbd/index.vue.d.ts +0 -22
  60. package/dist/components/FouLayoutContainer/index.vue.d.ts +0 -29
  61. package/dist/components/FouLinkPreview/index.vue.d.ts +0 -43
  62. package/dist/components/FouLoading/spinner.vue.d.ts +0 -14
  63. package/dist/components/FouMention/index.vue.d.ts +0 -35
  64. package/dist/components/FouMenu/FouMenuRoot.vue.d.ts +0 -36
  65. package/dist/components/FouMenuNav/FouMenuNavItem.vue.d.ts +0 -26
  66. package/dist/components/FouMenuNav/FouMenuNavSub.vue.d.ts +0 -25
  67. package/dist/components/FouMenuNav/index.vue.d.ts +0 -35
  68. package/dist/components/FouMsg/FouMsgItem.vue.d.ts +0 -15
  69. package/dist/components/FouNotification/FouNotificationItem.vue.d.ts +0 -16
  70. package/dist/components/FouPageMain/index.vue.d.ts +0 -27
  71. package/dist/components/FouPagination/index.vue.d.ts +0 -44
  72. package/dist/components/FouPasswordStrength/index.vue.d.ts +0 -9
  73. package/dist/components/FouQrcode/index.vue.d.ts +0 -20
  74. package/dist/components/FouRadio/FouRadioGroup.vue.d.ts +0 -33
  75. package/dist/components/FouSearchBar/index.vue.d.ts +0 -38
  76. package/dist/components/FouSearchInput/index.vue.d.ts +0 -57
  77. package/dist/components/FouSelect/FouOption.vue.d.ts +0 -24
  78. package/dist/components/FouSelect/index.vue.d.ts +0 -52
  79. package/dist/components/FouSparkline/index.vue.d.ts +0 -18
  80. package/dist/components/FouStep/index.vue.d.ts +0 -31
  81. package/dist/components/FouSwitch/index.vue.d.ts +0 -25
  82. package/dist/components/FouTabBar/index.vue.d.ts +0 -32
  83. package/dist/components/FouTabPane/index.vue.d.ts +0 -25
  84. package/dist/components/FouTable/index.vue.d.ts +0 -322
  85. package/dist/components/FouTime/index.vue.d.ts +0 -43
  86. package/dist/components/FouTimeAgo/index.vue.d.ts +0 -35
  87. package/dist/components/FouTimelineItem/index.vue.d.ts +0 -35
  88. package/dist/components/FouTooltip/index.vue.d.ts +0 -38
  89. package/dist/components/FouTrend/index.vue.d.ts +0 -34
  90. package/dist/components/FouUpload/index.vue.d.ts +0 -86
  91. package/dist/components/FouUploadCrop/index.vue.d.ts +0 -136
  92. package/dist/src/bridge/@/api/media.d.ts +0 -7
  93. package/dist/src/bridge/@/api/notice.d.ts +0 -5
  94. package/dist/src/bridge/@/config/media.config.d.ts +0 -15
  95. package/dist/src/bridge/@/config/security.config.d.ts +0 -7
  96. package/dist/src/bridge/@/store/modules/bing.d.ts +0 -3
  97. package/dist/src/bridge/@/store/modules/errorLog.d.ts +0 -3
  98. package/dist/src/bridge/@/store/modules/media.d.ts +0 -4
  99. package/dist/src/bridge/@/store/modules/routes.d.ts +0 -3
  100. package/dist/src/bridge/@/store/modules/tabs.d.ts +0 -3
  101. package/dist/src/bridge/@/store/modules/user.d.ts +0 -3
  102. package/dist/src/bridge/@/utils/convertToCamelCase.d.ts +0 -2
  103. package/dist/src/bridge/@/utils/index.d.ts +0 -5
  104. package/dist/src/bridge/@/utils/pageTitle.d.ts +0 -1
  105. package/dist/src/bridge/@/utils/routes.d.ts +0 -11
  106. package/dist/src/bridge/@fou/plugins/shortcuts.d.ts +0 -2
@@ -1,33 +0,0 @@
1
- type __VLS_Props = {
2
- modelValue?: (string | number)[];
3
- disabled?: boolean;
4
- /** default | button */
5
- type?: 'default' | 'button';
6
- };
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- default?(_: {}): any;
11
- };
12
- refs: {};
13
- rootEl: HTMLDivElement;
14
- };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- "update:modelValue": (args_0: (string | number)[]) => any;
18
- change: (args_0: (string | number)[]) => any;
19
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- "onUpdate:modelValue"?: (args_0: (string | number)[]) => any;
21
- onChange?: (args_0: (string | number)[]) => any;
22
- }>, {
23
- modelValue: (string | number)[];
24
- disabled: boolean;
25
- type: "default" | "button";
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
27
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
- export default _default;
29
- type __VLS_WithTemplateSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
33
- };
@@ -1,38 +0,0 @@
1
- type __VLS_Props = {
2
- modelValue?: boolean | string | number;
3
- /** 选项值(用于 CheckboxGroup);勿用 boolean,否则 Vue 会把未传当成 false 并显示成文字 */
4
- label?: string | number;
5
- disabled?: boolean;
6
- indeterminate?: boolean;
7
- trueLabel?: string | number;
8
- falseLabel?: string | number;
9
- border?: boolean;
10
- };
11
- declare function __VLS_template(): {
12
- attrs: Partial<{}>;
13
- slots: {
14
- default?(_: {}): any;
15
- };
16
- refs: {};
17
- rootEl: HTMLLabelElement;
18
- };
19
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
- "update:modelValue": (args_0: string | number | boolean) => any;
22
- change: (args_0: string | number | boolean) => any;
23
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
- "onUpdate:modelValue"?: (args_0: string | number | boolean) => any;
25
- onChange?: (args_0: string | number | boolean) => any;
26
- }>, {
27
- modelValue: boolean | string | number;
28
- disabled: boolean;
29
- border: boolean;
30
- indeterminate: boolean;
31
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLabelElement>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
- export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
@@ -1,15 +0,0 @@
1
- type __VLS_Props = {
2
- code?: string;
3
- /** 语言标识,仅做展示用途 */
4
- language?: string;
5
- /** 是否自动换行 */
6
- wrap?: boolean;
7
- theme?: 'light' | 'dark';
8
- };
9
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
- code: string;
11
- language: string;
12
- wrap: boolean;
13
- theme: "light" | "dark";
14
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLPreElement>;
15
- export default _default;
@@ -1,30 +0,0 @@
1
- type __VLS_Props = {
2
- name: string | number;
3
- title?: string;
4
- disabled?: boolean;
5
- };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- title?(_: {}): any;
10
- default?(_: {}): any;
11
- };
12
- refs: {
13
- contentRef: HTMLDivElement;
14
- };
15
- rootEl: HTMLDivElement;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
- disabled: boolean;
20
- title: string;
21
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
- contentRef: HTMLDivElement;
23
- }, HTMLDivElement>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
- export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,23 +0,0 @@
1
- type __VLS_Props = {
2
- modelValue?: string;
3
- presets?: string[];
4
- placeholder?: string;
5
- clearable?: boolean;
6
- disabled?: boolean;
7
- };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- "update:modelValue": (args_0: string) => any;
10
- change: (args_0: string) => any;
11
- clear: () => any;
12
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
- "onUpdate:modelValue"?: (args_0: string) => any;
14
- onChange?: (args_0: string) => any;
15
- onClear?: () => any;
16
- }>, {
17
- modelValue: string;
18
- disabled: boolean;
19
- placeholder: string;
20
- presets: string[];
21
- clearable: boolean;
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
23
- export default _default;
@@ -1,21 +0,0 @@
1
- type __VLS_Props = {
2
- modelValue?: string;
3
- presets?: string[];
4
- placeholder?: string;
5
- clearable?: boolean;
6
- disabled?: boolean;
7
- };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- "update:modelValue": (value: string) => any;
10
- change: (value: string) => any;
11
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
- "onUpdate:modelValue"?: (value: string) => any;
13
- onChange?: (value: string) => any;
14
- }>, {
15
- modelValue: string;
16
- disabled: boolean;
17
- placeholder: string;
18
- presets: string[];
19
- clearable: boolean;
20
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
21
- export default _default;
@@ -1,54 +0,0 @@
1
- interface Option {
2
- label: string;
3
- value: string | number;
4
- disabled?: boolean;
5
- }
6
- type __VLS_Props = {
7
- modelValue?: string | number;
8
- options?: Option[];
9
- placeholder?: string;
10
- size?: 'small' | 'default' | 'large';
11
- disabled?: boolean;
12
- /** 允许输入非选项值 */
13
- allowFree?: boolean;
14
- filterable?: boolean;
15
- };
16
- declare function __VLS_template(): {
17
- attrs: Partial<{}>;
18
- slots: {
19
- option?(_: {
20
- option: Option;
21
- }): any;
22
- };
23
- refs: {
24
- rootRef: HTMLDivElement;
25
- panelRef: HTMLDivElement;
26
- };
27
- rootEl: HTMLDivElement;
28
- };
29
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
- "update:modelValue": (args_0: string | number) => any;
32
- change: (args_0: Option) => any;
33
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
34
- "onUpdate:modelValue"?: (args_0: string | number) => any;
35
- onChange?: (args_0: Option) => any;
36
- }>, {
37
- modelValue: string | number;
38
- disabled: boolean;
39
- size: "small" | "default" | "large";
40
- placeholder: string;
41
- options: Option[];
42
- allowFree: boolean;
43
- filterable: boolean;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
45
- rootRef: HTMLDivElement;
46
- panelRef: HTMLDivElement;
47
- }, HTMLDivElement>;
48
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
- export default _default;
50
- type __VLS_WithTemplateSlots<T, S> = T & {
51
- new (): {
52
- $slots: S;
53
- };
54
- };
@@ -1,46 +0,0 @@
1
- interface MenuItem {
2
- label: string;
3
- icon?: string;
4
- shortcut?: string;
5
- disabled?: boolean;
6
- /** 自定义标识,点击时回传 */
7
- command?: string | number;
8
- divider?: boolean;
9
- }
10
- type __VLS_Props = {
11
- items?: MenuItem[];
12
- };
13
- declare function __VLS_template(): {
14
- attrs: Partial<{}>;
15
- slots: {
16
- default?(_: {}): any;
17
- items?(_: {}): any;
18
- };
19
- refs: {
20
- triggerRef: HTMLSpanElement;
21
- menuRef: HTMLDivElement;
22
- };
23
- rootEl: any;
24
- };
25
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
- select: (args_0: MenuItem) => any;
28
- command: (args_0: string | number) => any;
29
- visibleChange: (args_0: boolean) => any;
30
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
31
- onSelect?: (args_0: MenuItem) => any;
32
- onCommand?: (args_0: string | number) => any;
33
- onVisibleChange?: (args_0: boolean) => any;
34
- }>, {
35
- items: MenuItem[];
36
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
37
- triggerRef: HTMLSpanElement;
38
- menuRef: HTMLDivElement;
39
- }, any>;
40
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
- export default _default;
42
- type __VLS_WithTemplateSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
@@ -1,25 +0,0 @@
1
- type __VLS_Props = {
2
- label?: string;
3
- span?: number;
4
- };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- label?(_: {}): any;
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLDivElement;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
- label: string;
17
- span: number;
18
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
- export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
22
- new (): {
23
- $slots: S;
24
- };
25
- };
@@ -1,45 +0,0 @@
1
- type __VLS_Props = {
2
- value?: number;
3
- title?: string;
4
- prefix?: string;
5
- suffix?: string;
6
- icon?: string;
7
- /** 保留小数位 */
8
- precision?: number;
9
- /** 千分位分隔 */
10
- groupSeparator?: boolean;
11
- /** 是否开启动画滚动 */
12
- animated?: boolean;
13
- duration?: number;
14
- theme?: 'light' | 'dark';
15
- };
16
- declare function __VLS_template(): {
17
- attrs: Partial<{}>;
18
- slots: {
19
- icon?(_: {}): any;
20
- title?(_: {}): any;
21
- footer?(_: {}): any;
22
- };
23
- refs: {};
24
- rootEl: HTMLDivElement;
25
- };
26
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
28
- value: number;
29
- title: string;
30
- icon: string;
31
- duration: number;
32
- prefix: string;
33
- suffix: string;
34
- theme: "light" | "dark";
35
- precision: number;
36
- groupSeparator: boolean;
37
- animated: boolean;
38
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
39
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
- export default _default;
41
- type __VLS_WithTemplateSlots<T, S> = T & {
42
- new (): {
43
- $slots: S;
44
- };
45
- };
@@ -1,30 +0,0 @@
1
- type __VLS_Props = {
2
- command?: string | number;
3
- disabled?: boolean;
4
- divided?: boolean;
5
- };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLLIElement;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- click: (args_0: MouseEvent) => any;
17
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
- onClick?: (args_0: MouseEvent) => any;
19
- }>, {
20
- disabled: boolean;
21
- command: string | number;
22
- divided: boolean;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
- export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,17 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLUListElement;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLUListElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
- export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };
@@ -1,47 +0,0 @@
1
- type __VLS_Props = {
2
- disabled?: boolean;
3
- /** 触发方式 */
4
- trigger?: 'click' | 'contextmenu' | 'hover';
5
- placement?: 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'bottom' | 'top';
6
- popperClass?: string;
7
- };
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- default?(_: {}): any;
12
- dropdown?(_: {}): any;
13
- };
14
- refs: {
15
- triggerRef: HTMLSpanElement;
16
- menuHostRef: HTMLDivElement;
17
- };
18
- rootEl: HTMLSpanElement;
19
- };
20
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
22
- open: () => Promise<void>;
23
- close: () => void;
24
- toggle: () => void;
25
- openAt: (x: number, y: number) => Promise<void>;
26
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
- command: (args_0: string | number) => any;
28
- visibleChange: (args_0: boolean) => any;
29
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
30
- onCommand?: (args_0: string | number) => any;
31
- onVisibleChange?: (args_0: boolean) => any;
32
- }>, {
33
- disabled: boolean;
34
- placement: "bottom-start" | "bottom-end" | "top-start" | "top-end" | "bottom" | "top";
35
- trigger: "click" | "contextmenu" | "hover";
36
- popperClass: string;
37
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
38
- triggerRef: HTMLSpanElement;
39
- menuHostRef: HTMLDivElement;
40
- }, HTMLSpanElement>;
41
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
- export default _default;
43
- type __VLS_WithTemplateSlots<T, S> = T & {
44
- new (): {
45
- $slots: S;
46
- };
47
- };
@@ -1,44 +0,0 @@
1
- type Placement = 'top' | 'bottom' | 'left' | 'right';
2
- type __VLS_Props = {
3
- title?: string;
4
- placement?: Placement;
5
- width?: number;
6
- /** 悬停延迟(ms) */
7
- openDelay?: number;
8
- closeDelay?: number;
9
- };
10
- declare function __VLS_template(): {
11
- attrs: Partial<{}>;
12
- slots: {
13
- trigger?(_: {}): any;
14
- title?(_: {}): any;
15
- default?(_: {}): any;
16
- };
17
- refs: {
18
- triggerRef: HTMLSpanElement;
19
- cardRef: HTMLDivElement;
20
- };
21
- rootEl: any;
22
- };
23
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
- visibleChange: (args_0: boolean) => any;
26
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
27
- onVisibleChange?: (args_0: boolean) => any;
28
- }>, {
29
- title: string;
30
- width: number;
31
- placement: Placement;
32
- openDelay: number;
33
- closeDelay: number;
34
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
35
- triggerRef: HTMLSpanElement;
36
- cardRef: HTMLDivElement;
37
- }, any>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
- export default _default;
40
- type __VLS_WithTemplateSlots<T, S> = T & {
41
- new (): {
42
- $slots: S;
43
- };
44
- };
@@ -1,18 +0,0 @@
1
- type __VLS_Props = {
2
- icon?: string;
3
- isCustomSvg?: boolean;
4
- /** 保留 SVG 原色(布局预览等多色图标) */
5
- keepColor?: boolean;
6
- viewBox?: string;
7
- };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- click: (args_0: MouseEvent) => any;
10
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
- onClick?: (args_0: MouseEvent) => any;
12
- }>, {
13
- icon: string;
14
- isCustomSvg: boolean;
15
- keepColor: boolean;
16
- viewBox: string;
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
- export default _default;
@@ -1,71 +0,0 @@
1
- type __VLS_Props = {
2
- modelValue?: string | number;
3
- type?: string;
4
- placeholder?: string;
5
- clearable?: boolean;
6
- disabled?: boolean;
7
- readonly?: boolean;
8
- size?: 'large' | 'default' | 'small';
9
- showPassword?: boolean;
10
- prefixIcon?: string;
11
- suffixIcon?: string;
12
- rows?: number;
13
- maxlength?: number | string;
14
- };
15
- declare function __VLS_template(): {
16
- attrs: Partial<{}>;
17
- slots: {
18
- prepend?(_: {}): any;
19
- prefix?(_: {}): any;
20
- suffix?(_: {}): any;
21
- append?(_: {}): any;
22
- };
23
- refs: {
24
- textareaRef: HTMLTextAreaElement;
25
- inputRef: HTMLInputElement;
26
- };
27
- rootEl: any;
28
- };
29
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
31
- focus: () => void;
32
- blur: () => void;
33
- inputRef: globalThis.Ref<HTMLInputElement, HTMLInputElement>;
34
- textareaRef: globalThis.Ref<HTMLTextAreaElement, HTMLTextAreaElement>;
35
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
- "update:modelValue": (args_0: string | number) => any;
37
- change: (args_0: string | number) => any;
38
- input: (args_0: string | number) => any;
39
- clear: () => any;
40
- blur: (args_0: FocusEvent) => any;
41
- focus: (args_0: FocusEvent) => any;
42
- keyup: (args_0: KeyboardEvent) => any;
43
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
44
- "onUpdate:modelValue"?: (args_0: string | number) => any;
45
- onChange?: (args_0: string | number) => any;
46
- onInput?: (args_0: string | number) => any;
47
- onClear?: () => any;
48
- onBlur?: (args_0: FocusEvent) => any;
49
- onFocus?: (args_0: FocusEvent) => any;
50
- onKeyup?: (args_0: KeyboardEvent) => any;
51
- }>, {
52
- modelValue: string | number;
53
- disabled: boolean;
54
- type: string;
55
- size: "large" | "default" | "small";
56
- placeholder: string;
57
- rows: number;
58
- clearable: boolean;
59
- readonly: boolean;
60
- showPassword: boolean;
61
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
62
- textareaRef: HTMLTextAreaElement;
63
- inputRef: HTMLInputElement;
64
- }, any>;
65
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
66
- export default _default;
67
- type __VLS_WithTemplateSlots<T, S> = T & {
68
- new (): {
69
- $slots: S;
70
- };
71
- };
@@ -1,38 +0,0 @@
1
- type __VLS_Props = {
2
- modelValue?: number | null;
3
- min?: number;
4
- max?: number;
5
- step?: number;
6
- stepStrictly?: boolean;
7
- disabled?: boolean;
8
- readonly?: boolean;
9
- controls?: boolean;
10
- controlsPosition?: '' | 'right';
11
- size?: 'large' | 'default' | 'small';
12
- precision?: number;
13
- };
14
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
15
- focus: () => void;
16
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- "update:modelValue": (args_0: number) => any;
18
- change: (args_0: number) => any;
19
- blur: (args_0: FocusEvent) => any;
20
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
- "onUpdate:modelValue"?: (args_0: number) => any;
22
- onChange?: (args_0: number) => any;
23
- onBlur?: (args_0: FocusEvent) => any;
24
- }>, {
25
- modelValue: number | null;
26
- disabled: boolean;
27
- size: "large" | "default" | "small";
28
- min: number;
29
- max: number;
30
- controlsPosition: "" | "right";
31
- step: number;
32
- readonly: boolean;
33
- stepStrictly: boolean;
34
- controls: boolean;
35
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
36
- inputRef: HTMLInputElement;
37
- }, HTMLDivElement>;
38
- export default _default;
@@ -1,28 +0,0 @@
1
- type __VLS_Props = {
2
- modelValue?: string;
3
- length?: number;
4
- size?: 'small' | 'default' | 'large';
5
- disabled?: boolean;
6
- mask?: boolean;
7
- /** 仅允许数字 */
8
- numeric?: boolean;
9
- };
10
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- "update:modelValue": (args_0: string) => any;
12
- change: (args_0: string) => any;
13
- complete: (args_0: string) => any;
14
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- "onUpdate:modelValue"?: (args_0: string) => any;
16
- onChange?: (args_0: string) => any;
17
- onComplete?: (args_0: string) => any;
18
- }>, {
19
- length: number;
20
- modelValue: string;
21
- disabled: boolean;
22
- mask: boolean;
23
- size: "small" | "default" | "large";
24
- numeric: boolean;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
26
- rootRef: HTMLDivElement;
27
- }, HTMLDivElement>;
28
- export default _default;
@@ -1,22 +0,0 @@
1
- type __VLS_Props = {
2
- size?: 'small' | 'default' | 'large';
3
- };
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: HTMLElement;
11
- };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
- size: "small" | "default" | "large";
15
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
- export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };