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.
- package/README.md +2 -1
- package/dist/components/FouBadge/utils/pca-code.json.d.ts +3 -0
- package/dist/components/FouBreadcrumb/types.d.ts +14 -0
- package/dist/components/FouCalendar/types.d.ts +5 -0
- package/dist/components/FouConfigProvider/types.d.ts +6 -0
- package/dist/components/FouFloatButton/context.d.ts +1 -0
- package/dist/components/FouForm/types.d.ts +2 -1
- package/dist/components/FouImagePreviewGroup/context.d.ts +6 -0
- package/dist/components/FouInfiniteScroll/index.d.ts +14 -0
- package/dist/components/FouMsgBox/index.d.ts +7 -2
- package/dist/components/FouSelect/types.d.ts +6 -4
- package/dist/components/FouSplitter/types.d.ts +19 -0
- package/dist/components/FouTabBar/types.d.ts +5 -0
- package/dist/components/FouTour/types.d.ts +18 -0
- package/dist/components/popupZIndex.d.ts +3 -0
- package/dist/components/useFormField.d.ts +14 -0
- package/dist/components/useVirtualList.d.ts +19 -0
- package/dist/foucui.css +2 -1
- package/dist/foucui.js +24152 -26741
- package/dist/foucui.umd.cjs +26 -28
- package/dist/index.d.ts +57 -5
- package/dist/src/bridge/@/store/modules/settings.d.ts +10 -3
- package/package.json +100 -95
- package/README.publish.md +0 -19
- package/dist/components/FouAnchorLink/index.vue.d.ts +0 -23
- package/dist/components/FouBadge/components/BadgeImagePickerDialog.vue.d.ts +0 -16
- package/dist/components/FouBadge/components/BadgeLibraryManagerDialog.vue.d.ts +0 -9
- package/dist/components/FouBadge/components/BadgeLibraryPanel.vue.d.ts +0 -5
- package/dist/components/FouBadge/shared/BadgeTemplateRenderer.vue.d.ts +0 -14
- package/dist/components/FouBadge/views/BadgeLibraryView.vue.d.ts +0 -2
- package/dist/components/FouBadge/views/BadgeManageView.vue.d.ts +0 -7
- package/dist/components/FouBadge/views/BadgeTemplateListView.vue.d.ts +0 -4
- package/dist/components/FouBadge/views/DeskLabelTemplateListView.vue.d.ts +0 -4
- package/dist/components/FouBadge/views/DeskLabelView.vue.d.ts +0 -4
- package/dist/components/FouBanner/index.vue.d.ts +0 -53
- package/dist/components/FouButton/index.vue.d.ts +0 -52
- package/dist/components/FouCanvasKit/FouCanvasEditor.vue.d.ts +0 -26
- package/dist/components/FouCanvasKit/FouCanvasRenderer.vue.d.ts +0 -13
- package/dist/components/FouCanvasKit/components/DataModulesPanel.vue.d.ts +0 -24
- package/dist/components/FouCarouselItem/index.vue.d.ts +0 -20
- package/dist/components/FouCheckbox/FouCheckboxGroup.vue.d.ts +0 -33
- package/dist/components/FouCheckbox/index.vue.d.ts +0 -38
- package/dist/components/FouCode/index.vue.d.ts +0 -15
- package/dist/components/FouCollapseItem/index.vue.d.ts +0 -30
- package/dist/components/FouColorField/index.vue.d.ts +0 -23
- package/dist/components/FouColorPicker/index.vue.d.ts +0 -21
- package/dist/components/FouCombobox/index.vue.d.ts +0 -54
- package/dist/components/FouContextMenu/index.vue.d.ts +0 -46
- package/dist/components/FouDescriptionsItem/index.vue.d.ts +0 -25
- package/dist/components/FouDigitalCard/index.vue.d.ts +0 -45
- package/dist/components/FouDropdown/FouDropdownItem.vue.d.ts +0 -30
- package/dist/components/FouDropdown/FouDropdownMenu.vue.d.ts +0 -17
- package/dist/components/FouDropdown/index.vue.d.ts +0 -47
- package/dist/components/FouHoverCard/index.vue.d.ts +0 -44
- package/dist/components/FouIcon/index.vue.d.ts +0 -18
- package/dist/components/FouInput/index.vue.d.ts +0 -71
- package/dist/components/FouInputNumber/index.vue.d.ts +0 -38
- package/dist/components/FouInputOtp/index.vue.d.ts +0 -28
- package/dist/components/FouKbd/index.vue.d.ts +0 -22
- package/dist/components/FouLayoutContainer/index.vue.d.ts +0 -29
- package/dist/components/FouLinkPreview/index.vue.d.ts +0 -43
- package/dist/components/FouLoading/spinner.vue.d.ts +0 -14
- package/dist/components/FouMention/index.vue.d.ts +0 -35
- package/dist/components/FouMenu/FouMenuRoot.vue.d.ts +0 -36
- package/dist/components/FouMenuNav/FouMenuNavItem.vue.d.ts +0 -26
- package/dist/components/FouMenuNav/FouMenuNavSub.vue.d.ts +0 -25
- package/dist/components/FouMenuNav/index.vue.d.ts +0 -35
- package/dist/components/FouMsg/FouMsgItem.vue.d.ts +0 -15
- package/dist/components/FouNotification/FouNotificationItem.vue.d.ts +0 -16
- package/dist/components/FouPageMain/index.vue.d.ts +0 -27
- package/dist/components/FouPagination/index.vue.d.ts +0 -44
- package/dist/components/FouPasswordStrength/index.vue.d.ts +0 -9
- package/dist/components/FouQrcode/index.vue.d.ts +0 -20
- package/dist/components/FouRadio/FouRadioGroup.vue.d.ts +0 -33
- package/dist/components/FouSearchBar/index.vue.d.ts +0 -38
- package/dist/components/FouSearchInput/index.vue.d.ts +0 -57
- package/dist/components/FouSelect/FouOption.vue.d.ts +0 -24
- package/dist/components/FouSelect/index.vue.d.ts +0 -52
- package/dist/components/FouSparkline/index.vue.d.ts +0 -18
- package/dist/components/FouStep/index.vue.d.ts +0 -31
- package/dist/components/FouSwitch/index.vue.d.ts +0 -25
- package/dist/components/FouTabBar/index.vue.d.ts +0 -32
- package/dist/components/FouTabPane/index.vue.d.ts +0 -25
- package/dist/components/FouTable/index.vue.d.ts +0 -322
- package/dist/components/FouTime/index.vue.d.ts +0 -43
- package/dist/components/FouTimeAgo/index.vue.d.ts +0 -35
- package/dist/components/FouTimelineItem/index.vue.d.ts +0 -35
- package/dist/components/FouTooltip/index.vue.d.ts +0 -38
- package/dist/components/FouTrend/index.vue.d.ts +0 -34
- package/dist/components/FouUpload/index.vue.d.ts +0 -86
- package/dist/components/FouUploadCrop/index.vue.d.ts +0 -136
- package/dist/src/bridge/@/api/media.d.ts +0 -7
- package/dist/src/bridge/@/api/notice.d.ts +0 -5
- package/dist/src/bridge/@/config/media.config.d.ts +0 -15
- package/dist/src/bridge/@/config/security.config.d.ts +0 -7
- package/dist/src/bridge/@/store/modules/bing.d.ts +0 -3
- package/dist/src/bridge/@/store/modules/errorLog.d.ts +0 -3
- package/dist/src/bridge/@/store/modules/media.d.ts +0 -4
- package/dist/src/bridge/@/store/modules/routes.d.ts +0 -3
- package/dist/src/bridge/@/store/modules/tabs.d.ts +0 -3
- package/dist/src/bridge/@/store/modules/user.d.ts +0 -3
- package/dist/src/bridge/@/utils/convertToCamelCase.d.ts +0 -2
- package/dist/src/bridge/@/utils/index.d.ts +0 -5
- package/dist/src/bridge/@/utils/pageTitle.d.ts +0 -1
- package/dist/src/bridge/@/utils/routes.d.ts +0 -11
- package/dist/src/bridge/@fou/plugins/shortcuts.d.ts +0 -2
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
modelValue?: string;
|
|
3
|
-
/** 组件展示宽高(px) */
|
|
4
|
-
width?: number;
|
|
5
|
-
height?: number;
|
|
6
|
-
/** 允许上传的图片类型后缀 */
|
|
7
|
-
type?: string[];
|
|
8
|
-
/** 文件大小上限(MB) */
|
|
9
|
-
size?: number;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
buttonText?: string;
|
|
12
|
-
tip?: string;
|
|
13
|
-
/** 裁剪框形状 */
|
|
14
|
-
shape?: 'rect' | 'round';
|
|
15
|
-
/** 是否允许 round 时输出圆形(裁切透明背景) */
|
|
16
|
-
circleOutput?: boolean;
|
|
17
|
-
/** 点击遮罩是否关闭(不保存) */
|
|
18
|
-
shadeClose?: boolean;
|
|
19
|
-
/** 输出图片格式 */
|
|
20
|
-
outputType?: 'image/png' | 'image/jpeg' | 'image/webp';
|
|
21
|
-
accept?: string;
|
|
22
|
-
/** 输出图片质量 0.1~1(控制体积,便于存储) */
|
|
23
|
-
outputQuality?: number;
|
|
24
|
-
/** 输出原图裁切结果的目标宽高(px);0 表示按裁剪框自然尺寸 */
|
|
25
|
-
outputWidth?: number;
|
|
26
|
-
outputHeight?: number;
|
|
27
|
-
/** 是否同时输出缩略图 */
|
|
28
|
-
withThumbnail?: boolean;
|
|
29
|
-
/** 缩略图边长(px) */
|
|
30
|
-
thumbnailSize?: number;
|
|
31
|
-
/** 是否同时输出圆形头像 */
|
|
32
|
-
withAvatar?: boolean;
|
|
33
|
-
/** 头像边长(px) */
|
|
34
|
-
avatarSize?: number;
|
|
35
|
-
/** 初始裁剪框宽(px),0 表示自适应 */
|
|
36
|
-
cropInitWidth?: number;
|
|
37
|
-
/** 初始裁剪框高(px),0 表示自适应 */
|
|
38
|
-
cropInitHeight?: number;
|
|
39
|
-
/** 裁剪框缩放时是否锁定宽高比 */
|
|
40
|
-
fixedAspect?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* 宽/高比。支持 number(如 3.2)或字符串 `"16:5"` / `"16/5"`。
|
|
43
|
-
* 为 0 且 fixedAspect 时从 cropInit / output 尺寸推导,否则为 1。
|
|
44
|
-
*/
|
|
45
|
-
aspectRatio?: number | string;
|
|
46
|
-
/** 工具栏:旋转按钮 */
|
|
47
|
-
showRotate?: boolean;
|
|
48
|
-
/** 工具栏:翻转按钮 */
|
|
49
|
-
showFlip?: boolean;
|
|
50
|
-
/** 工具栏:缩放按钮 */
|
|
51
|
-
showZoom?: boolean;
|
|
52
|
-
/** 工具栏:宽高输入 */
|
|
53
|
-
showSizeInputs?: boolean;
|
|
54
|
-
};
|
|
55
|
-
declare function __VLS_template(): {
|
|
56
|
-
attrs: Partial<{}>;
|
|
57
|
-
slots: {
|
|
58
|
-
toolbar?(_: {}): any;
|
|
59
|
-
};
|
|
60
|
-
refs: {
|
|
61
|
-
inputRef: HTMLInputElement;
|
|
62
|
-
stageRef: HTMLDivElement;
|
|
63
|
-
imgRef: HTMLImageElement;
|
|
64
|
-
};
|
|
65
|
-
rootEl: HTMLDivElement;
|
|
66
|
-
};
|
|
67
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
68
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
69
|
-
"update:modelValue": (args_0: string) => any;
|
|
70
|
-
change: (args_0: string) => any;
|
|
71
|
-
error: (args_0: string) => any;
|
|
72
|
-
remove: () => any;
|
|
73
|
-
"cropper-image": (args_0: string) => any;
|
|
74
|
-
"cropper-thumbnail": (args_0: string) => any;
|
|
75
|
-
"cropper-avatar": (args_0: string) => any;
|
|
76
|
-
"cropper-result": (args_0: {
|
|
77
|
-
image: string;
|
|
78
|
-
thumbnail: string;
|
|
79
|
-
avatar: string;
|
|
80
|
-
}) => any;
|
|
81
|
-
"cropper-file": (args_0: File) => any;
|
|
82
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
83
|
-
"onUpdate:modelValue"?: (args_0: string) => any;
|
|
84
|
-
onChange?: (args_0: string) => any;
|
|
85
|
-
onError?: (args_0: string) => any;
|
|
86
|
-
onRemove?: () => any;
|
|
87
|
-
"onCropper-image"?: (args_0: string) => any;
|
|
88
|
-
"onCropper-thumbnail"?: (args_0: string) => any;
|
|
89
|
-
"onCropper-avatar"?: (args_0: string) => any;
|
|
90
|
-
"onCropper-result"?: (args_0: {
|
|
91
|
-
image: string;
|
|
92
|
-
thumbnail: string;
|
|
93
|
-
avatar: string;
|
|
94
|
-
}) => any;
|
|
95
|
-
"onCropper-file"?: (args_0: File) => any;
|
|
96
|
-
}>, {
|
|
97
|
-
modelValue: string;
|
|
98
|
-
disabled: boolean;
|
|
99
|
-
type: string[];
|
|
100
|
-
width: number;
|
|
101
|
-
height: number;
|
|
102
|
-
size: number;
|
|
103
|
-
shape: "rect" | "round";
|
|
104
|
-
accept: string;
|
|
105
|
-
buttonText: string;
|
|
106
|
-
tip: string;
|
|
107
|
-
thumbnailSize: number;
|
|
108
|
-
outputQuality: number;
|
|
109
|
-
circleOutput: boolean;
|
|
110
|
-
shadeClose: boolean;
|
|
111
|
-
outputType: "image/png" | "image/jpeg" | "image/webp";
|
|
112
|
-
outputWidth: number;
|
|
113
|
-
outputHeight: number;
|
|
114
|
-
withThumbnail: boolean;
|
|
115
|
-
withAvatar: boolean;
|
|
116
|
-
avatarSize: number;
|
|
117
|
-
cropInitWidth: number;
|
|
118
|
-
cropInitHeight: number;
|
|
119
|
-
fixedAspect: boolean;
|
|
120
|
-
aspectRatio: number | string;
|
|
121
|
-
showRotate: boolean;
|
|
122
|
-
showFlip: boolean;
|
|
123
|
-
showZoom: boolean;
|
|
124
|
-
showSizeInputs: boolean;
|
|
125
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
126
|
-
inputRef: HTMLInputElement;
|
|
127
|
-
stageRef: HTMLDivElement;
|
|
128
|
-
imgRef: HTMLImageElement;
|
|
129
|
-
}, HTMLDivElement>;
|
|
130
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
131
|
-
export default _default;
|
|
132
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
133
|
-
new (): {
|
|
134
|
-
$slots: S;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function fetchHolidayBreaks(params?: any): Promise<any[]>;
|
|
2
|
-
export declare function fetchMediaPersist(params?: any): Promise<any>;
|
|
3
|
-
declare const _default: {
|
|
4
|
-
fetchHolidayBreaks: typeof fetchHolidayBreaks;
|
|
5
|
-
fetchMediaPersist: typeof fetchMediaPersist;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const mediaConfig: {
|
|
2
|
-
workspaceEnabled: boolean;
|
|
3
|
-
holidayEnabled: boolean;
|
|
4
|
-
defaultPlan: any;
|
|
5
|
-
};
|
|
6
|
-
export declare function getSecondsUntilStart(_plan?: any): number;
|
|
7
|
-
export declare function isInHolidayBreak(_date?: Date): boolean;
|
|
8
|
-
export declare function isInSchedule(_date?: Date): boolean;
|
|
9
|
-
export declare function findScheduledItem(_items?: any[]): any;
|
|
10
|
-
export declare function findUpcomingItem(_items?: any[]): any;
|
|
11
|
-
export declare const MediaHolidayBreak: any;
|
|
12
|
-
export declare const MediaItem: any;
|
|
13
|
-
export declare const MediaSchedule: any;
|
|
14
|
-
export declare const TimedPlayPlan: any;
|
|
15
|
-
export default mediaConfig;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function getPageTitle(route: any): string;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare function handleActivePath(route: any, type?: string): string;
|
|
2
|
-
export declare function handleMatched(routes?: any[], path?: string): any[];
|
|
3
|
-
export declare function handleTabs(routes?: any[]): any[];
|
|
4
|
-
export declare function toLoginRoute(currentPath?: string): any;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
handleActivePath: typeof handleActivePath;
|
|
7
|
-
handleMatched: typeof handleMatched;
|
|
8
|
-
handleTabs: typeof handleTabs;
|
|
9
|
-
toLoginRoute: typeof toLoginRoute;
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|