foucui 2.2.2 → 2.3.2
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 +44 -43
- 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/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 +1 -1
- package/dist/foucui.js +10780 -7024
- package/dist/foucui.umd.cjs +20 -13
- package/dist/index.d.ts +57 -5
- package/dist/src/bridge/@/store/modules/settings.d.ts +10 -3
- package/package.json +8 -2
- package/README.publish.md +0 -23
- 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,322 +0,0 @@
|
|
|
1
|
-
import { FouLoadingEffect } from '../FouLoading/types';
|
|
2
|
-
import { FouTableClipboardConfig, FouTableColumnConfig, FouTableColumnConfigExtra, FouTableEditConfig, FouTableExportConfig, FouTableFilterConfig, FouTableFooterMethod, FouTableHistoryConfig, FouTableKeyboardConfig, FouTableMergeCell, FouTablePagerConfig, FouTableRowConfig, FouTableSortConfig, FouTableSpanMethod, FouTableToolbarConfig, FouTableTooltipConfig } from './types';
|
|
3
|
-
import { LeafColumn } from './columns';
|
|
4
|
-
import { FouTableCustomConfig, FouTableEditRules, FouTableMenuConfig, FouTableMenuItem, FouTableValidConfig } from './utils';
|
|
5
|
-
import { FouTableExportFormat } from './export';
|
|
6
|
-
type __VLS_Props = {
|
|
7
|
-
data: any[];
|
|
8
|
-
columns?: FouTableColumnConfig[];
|
|
9
|
-
editable?: boolean;
|
|
10
|
-
editTrigger?: 'click' | 'dblclick' | 'manual' | 'always';
|
|
11
|
-
editConfig?: FouTableEditConfig;
|
|
12
|
-
keyboardConfig?: FouTableKeyboardConfig;
|
|
13
|
-
clipboardConfig?: FouTableClipboardConfig;
|
|
14
|
-
tooltipConfig?: FouTableTooltipConfig;
|
|
15
|
-
exportConfig?: FouTableExportConfig;
|
|
16
|
-
historyConfig?: FouTableHistoryConfig | boolean;
|
|
17
|
-
sortConfig?: FouTableSortConfig;
|
|
18
|
-
filterConfig?: FouTableFilterConfig;
|
|
19
|
-
rowConfig?: FouTableRowConfig;
|
|
20
|
-
columnConfig?: FouTableColumnConfigExtra;
|
|
21
|
-
spanMethod?: FouTableSpanMethod;
|
|
22
|
-
mergeCells?: FouTableMergeCell[];
|
|
23
|
-
/** 合并表头单元格(扁平表头额外合并;多级表头优先用 children) */
|
|
24
|
-
mergeHeaderCells?: FouTableMergeCell[];
|
|
25
|
-
border?: boolean | 'full' | 'outer' | 'inner' | 'none' | 'default';
|
|
26
|
-
stripe?: boolean;
|
|
27
|
-
round?: boolean;
|
|
28
|
-
height?: string | number;
|
|
29
|
-
maxHeight?: string | number;
|
|
30
|
-
rowKey?: string | ((row: any) => string);
|
|
31
|
-
showIndex?: boolean;
|
|
32
|
-
showSelection?: boolean;
|
|
33
|
-
showRadio?: boolean;
|
|
34
|
-
showExpand?: boolean;
|
|
35
|
-
radioConfig?: import('./types').FouTableRadioConfig;
|
|
36
|
-
expandConfig?: import('./types').FouTableExpandConfig;
|
|
37
|
-
columnDragConfig?: import('./types').FouTableColumnDragConfig;
|
|
38
|
-
keepSource?: boolean;
|
|
39
|
-
virtualXConfig?: boolean | {
|
|
40
|
-
enabled?: boolean;
|
|
41
|
-
gt?: number;
|
|
42
|
-
};
|
|
43
|
-
tree?: boolean;
|
|
44
|
-
treeProps?: {
|
|
45
|
-
children?: string;
|
|
46
|
-
hasChildren?: string;
|
|
47
|
-
};
|
|
48
|
-
virtualY?: boolean;
|
|
49
|
-
showToolbar?: boolean;
|
|
50
|
-
showRefresh?: boolean;
|
|
51
|
-
showExport?: boolean;
|
|
52
|
-
showImport?: boolean;
|
|
53
|
-
showPrint?: boolean;
|
|
54
|
-
showCopy?: boolean;
|
|
55
|
-
showFullscreen?: boolean;
|
|
56
|
-
toolbarConfig?: FouTableToolbarConfig | boolean;
|
|
57
|
-
showFooter?: boolean;
|
|
58
|
-
footerMethod?: FouTableFooterMethod;
|
|
59
|
-
footerData?: string[][];
|
|
60
|
-
pagerConfig?: FouTablePagerConfig | boolean;
|
|
61
|
-
gridOptions?: Record<string, any>;
|
|
62
|
-
dragSort?: boolean;
|
|
63
|
-
defaultExpandAll?: boolean;
|
|
64
|
-
size?: 'large' | 'default' | 'small';
|
|
65
|
-
emptyText?: string;
|
|
66
|
-
loading?: boolean;
|
|
67
|
-
/** loading 文案 */
|
|
68
|
-
loadingText?: string;
|
|
69
|
-
/** loading 动画,见 FOU_LOADING_EFFECTS(20 种) */
|
|
70
|
-
loadingEffect?: FouLoadingEffect;
|
|
71
|
-
/** loading 遮罩更透明 */
|
|
72
|
-
loadingTransparent?: boolean;
|
|
73
|
-
/** 是否将剩余宽度分配给仅 minWidth 的弹性列(对齐 vxe fit) */
|
|
74
|
-
fit?: boolean;
|
|
75
|
-
/** 表格级默认对齐 */
|
|
76
|
-
align?: 'left' | 'center' | 'right';
|
|
77
|
-
headerAlign?: 'left' | 'center' | 'right';
|
|
78
|
-
footerAlign?: 'left' | 'center' | 'right';
|
|
79
|
-
minHeight?: string | number;
|
|
80
|
-
rowClassName?: string | ((params: {
|
|
81
|
-
row: any;
|
|
82
|
-
rowIndex: number;
|
|
83
|
-
}) => string);
|
|
84
|
-
cellClassName?: string | ((params: {
|
|
85
|
-
row: any;
|
|
86
|
-
column: FouTableColumnConfig;
|
|
87
|
-
rowIndex: number;
|
|
88
|
-
columnIndex: number;
|
|
89
|
-
}) => string);
|
|
90
|
-
customConfig?: FouTableCustomConfig;
|
|
91
|
-
menuConfig?: FouTableMenuConfig;
|
|
92
|
-
editRules?: FouTableEditRules;
|
|
93
|
-
validConfig?: FouTableValidConfig;
|
|
94
|
-
virtualYConfig?: boolean | {
|
|
95
|
-
enabled?: boolean;
|
|
96
|
-
gt?: number;
|
|
97
|
-
oSize?: number;
|
|
98
|
-
rowHeight?: number;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
declare function __VLS_template(): any;
|
|
102
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
103
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
104
|
-
tableRef: globalThis.Ref<HTMLTableElement, HTMLTableElement>;
|
|
105
|
-
gridRef: globalThis.Ref<HTMLTableElement, HTMLTableElement>;
|
|
106
|
-
getGrid: () => {
|
|
107
|
-
getTableData: () => {
|
|
108
|
-
fullData: any[];
|
|
109
|
-
};
|
|
110
|
-
getCheckboxRecords: () => any[];
|
|
111
|
-
clearEdit: () => void;
|
|
112
|
-
exportData: (opts?: {
|
|
113
|
-
filename?: string;
|
|
114
|
-
format?: FouTableExportFormat;
|
|
115
|
-
columns?: string[];
|
|
116
|
-
mode?: "current" | "all" | "selected" | "range";
|
|
117
|
-
startPage?: number;
|
|
118
|
-
endPage?: number;
|
|
119
|
-
}) => Promise<void>;
|
|
120
|
-
setAllTreeExpand: (checked: boolean) => void;
|
|
121
|
-
importData: () => void;
|
|
122
|
-
print: () => void;
|
|
123
|
-
};
|
|
124
|
-
clearEdit: () => void;
|
|
125
|
-
exportData: (opts?: {
|
|
126
|
-
filename?: string;
|
|
127
|
-
format?: FouTableExportFormat;
|
|
128
|
-
columns?: string[];
|
|
129
|
-
mode?: "current" | "all" | "selected" | "range";
|
|
130
|
-
startPage?: number;
|
|
131
|
-
endPage?: number;
|
|
132
|
-
}) => Promise<void>;
|
|
133
|
-
getCheckboxRecords: () => any[];
|
|
134
|
-
setAllTreeExpand: (checked: boolean) => void;
|
|
135
|
-
importData: () => void;
|
|
136
|
-
print: () => void;
|
|
137
|
-
getRadioRecord: () => any;
|
|
138
|
-
clearRadioRow: () => void;
|
|
139
|
-
setRowExpand: (rows: any[], checked: boolean) => void;
|
|
140
|
-
clearRowExpand: () => void;
|
|
141
|
-
getUpdateRecords: () => any[];
|
|
142
|
-
getInsertRecords: () => any[];
|
|
143
|
-
isUpdateByRow: (row: any) => boolean;
|
|
144
|
-
reloadRow: (row: any) => void;
|
|
145
|
-
reloadColumn: () => void;
|
|
146
|
-
setCurrentRow: (row: any | null) => void;
|
|
147
|
-
clearCurrentRow: () => void;
|
|
148
|
-
clearSort: () => void;
|
|
149
|
-
clearFilter: (field?: string) => void;
|
|
150
|
-
scrollTo: (opts: {
|
|
151
|
-
top?: number;
|
|
152
|
-
left?: number;
|
|
153
|
-
}) => void;
|
|
154
|
-
scrollToRow: (row: any) => void;
|
|
155
|
-
getColumnWidth: (fieldOrKey: string) => number;
|
|
156
|
-
setColumnWidth: (fieldOrKey: string, width: number) => void;
|
|
157
|
-
recalculate: () => void;
|
|
158
|
-
getColumns: () => LeafColumn[];
|
|
159
|
-
undo: () => boolean;
|
|
160
|
-
redo: () => boolean;
|
|
161
|
-
clearHistory: () => void;
|
|
162
|
-
canUndo: () => boolean;
|
|
163
|
-
canRedo: () => boolean;
|
|
164
|
-
copy: () => Promise<void>;
|
|
165
|
-
cut: () => Promise<void>;
|
|
166
|
-
paste: () => Promise<void>;
|
|
167
|
-
copyData: (direction: "vertical" | "horizontal", scope?: "all" | "selected") => Promise<void>;
|
|
168
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
169
|
-
"current-change": (payload: {
|
|
170
|
-
row: any | null;
|
|
171
|
-
}) => any;
|
|
172
|
-
refresh: () => any;
|
|
173
|
-
edit: (payload: {
|
|
174
|
-
row: any;
|
|
175
|
-
column: FouTableColumnConfig;
|
|
176
|
-
value: any;
|
|
177
|
-
}) => any;
|
|
178
|
-
"cell-edit-start": (payload: {
|
|
179
|
-
row: any;
|
|
180
|
-
column: FouTableColumnConfig;
|
|
181
|
-
}) => any;
|
|
182
|
-
"cell-edit-end": (payload: {
|
|
183
|
-
row: any;
|
|
184
|
-
column: FouTableColumnConfig;
|
|
185
|
-
value: any;
|
|
186
|
-
}) => any;
|
|
187
|
-
"row-dragend": (payload: any) => any;
|
|
188
|
-
"checkbox-change": (payload: any) => any;
|
|
189
|
-
"checkbox-all": (payload: any) => any;
|
|
190
|
-
"selection-change": (payload: any[]) => any;
|
|
191
|
-
"filter-change": (payload: Record<string, any[]>) => any;
|
|
192
|
-
"sort-change": (payload: {
|
|
193
|
-
prop: string;
|
|
194
|
-
order: "asc" | "desc" | null;
|
|
195
|
-
}) => any;
|
|
196
|
-
"page-change": (payload: {
|
|
197
|
-
currentPage: number;
|
|
198
|
-
pageSize: number;
|
|
199
|
-
}) => any;
|
|
200
|
-
"resizable-change": (payload: {
|
|
201
|
-
column: FouTableColumnConfig;
|
|
202
|
-
width: number;
|
|
203
|
-
}) => any;
|
|
204
|
-
"menu-click": (payload: {
|
|
205
|
-
menu: FouTableMenuItem;
|
|
206
|
-
row?: any;
|
|
207
|
-
column?: FouTableColumnConfig;
|
|
208
|
-
}) => any;
|
|
209
|
-
"import-data": (payload: {
|
|
210
|
-
rows: any[];
|
|
211
|
-
}) => any;
|
|
212
|
-
"radio-change": (payload: {
|
|
213
|
-
row: any | null;
|
|
214
|
-
}) => any;
|
|
215
|
-
"toggle-row-expand": (payload: {
|
|
216
|
-
row: any;
|
|
217
|
-
expanded: boolean;
|
|
218
|
-
}) => any;
|
|
219
|
-
"column-dragend": (payload: {
|
|
220
|
-
oldIndex: number;
|
|
221
|
-
newIndex: number;
|
|
222
|
-
columnKeys: string[];
|
|
223
|
-
}) => any;
|
|
224
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
225
|
-
"onCurrent-change"?: (payload: {
|
|
226
|
-
row: any | null;
|
|
227
|
-
}) => any;
|
|
228
|
-
onRefresh?: () => any;
|
|
229
|
-
onEdit?: (payload: {
|
|
230
|
-
row: any;
|
|
231
|
-
column: FouTableColumnConfig;
|
|
232
|
-
value: any;
|
|
233
|
-
}) => any;
|
|
234
|
-
"onCell-edit-start"?: (payload: {
|
|
235
|
-
row: any;
|
|
236
|
-
column: FouTableColumnConfig;
|
|
237
|
-
}) => any;
|
|
238
|
-
"onCell-edit-end"?: (payload: {
|
|
239
|
-
row: any;
|
|
240
|
-
column: FouTableColumnConfig;
|
|
241
|
-
value: any;
|
|
242
|
-
}) => any;
|
|
243
|
-
"onRow-dragend"?: (payload: any) => any;
|
|
244
|
-
"onCheckbox-change"?: (payload: any) => any;
|
|
245
|
-
"onCheckbox-all"?: (payload: any) => any;
|
|
246
|
-
"onSelection-change"?: (payload: any[]) => any;
|
|
247
|
-
"onFilter-change"?: (payload: Record<string, any[]>) => any;
|
|
248
|
-
"onSort-change"?: (payload: {
|
|
249
|
-
prop: string;
|
|
250
|
-
order: "asc" | "desc" | null;
|
|
251
|
-
}) => any;
|
|
252
|
-
"onPage-change"?: (payload: {
|
|
253
|
-
currentPage: number;
|
|
254
|
-
pageSize: number;
|
|
255
|
-
}) => any;
|
|
256
|
-
"onResizable-change"?: (payload: {
|
|
257
|
-
column: FouTableColumnConfig;
|
|
258
|
-
width: number;
|
|
259
|
-
}) => any;
|
|
260
|
-
"onMenu-click"?: (payload: {
|
|
261
|
-
menu: FouTableMenuItem;
|
|
262
|
-
row?: any;
|
|
263
|
-
column?: FouTableColumnConfig;
|
|
264
|
-
}) => any;
|
|
265
|
-
"onImport-data"?: (payload: {
|
|
266
|
-
rows: any[];
|
|
267
|
-
}) => any;
|
|
268
|
-
"onRadio-change"?: (payload: {
|
|
269
|
-
row: any | null;
|
|
270
|
-
}) => any;
|
|
271
|
-
"onToggle-row-expand"?: (payload: {
|
|
272
|
-
row: any;
|
|
273
|
-
expanded: boolean;
|
|
274
|
-
}) => any;
|
|
275
|
-
"onColumn-dragend"?: (payload: {
|
|
276
|
-
oldIndex: number;
|
|
277
|
-
newIndex: number;
|
|
278
|
-
columnKeys: string[];
|
|
279
|
-
}) => any;
|
|
280
|
-
}>, {
|
|
281
|
-
fit: boolean;
|
|
282
|
-
round: boolean;
|
|
283
|
-
border: boolean | "full" | "outer" | "inner" | "none" | "default";
|
|
284
|
-
loading: boolean;
|
|
285
|
-
stripe: boolean;
|
|
286
|
-
tree: boolean;
|
|
287
|
-
columns: FouTableColumnConfig[];
|
|
288
|
-
editable: boolean;
|
|
289
|
-
dragSort: boolean;
|
|
290
|
-
showSelection: boolean;
|
|
291
|
-
showIndex: boolean;
|
|
292
|
-
showRadio: boolean;
|
|
293
|
-
showExpand: boolean;
|
|
294
|
-
editTrigger: "click" | "dblclick" | "manual" | "always";
|
|
295
|
-
mergeCells: FouTableMergeCell[];
|
|
296
|
-
mergeHeaderCells: FouTableMergeCell[];
|
|
297
|
-
keepSource: boolean;
|
|
298
|
-
treeProps: {
|
|
299
|
-
children?: string;
|
|
300
|
-
hasChildren?: string;
|
|
301
|
-
};
|
|
302
|
-
virtualY: boolean;
|
|
303
|
-
showToolbar: boolean;
|
|
304
|
-
showRefresh: boolean;
|
|
305
|
-
showExport: boolean;
|
|
306
|
-
showImport: boolean;
|
|
307
|
-
showPrint: boolean;
|
|
308
|
-
showCopy: boolean;
|
|
309
|
-
showFullscreen: boolean;
|
|
310
|
-
showFooter: boolean;
|
|
311
|
-
defaultExpandAll: boolean;
|
|
312
|
-
loadingText: string;
|
|
313
|
-
loadingEffect: FouLoadingEffect;
|
|
314
|
-
loadingTransparent: boolean;
|
|
315
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>;
|
|
316
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
317
|
-
export default _default;
|
|
318
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
319
|
-
new (): {
|
|
320
|
-
$slots: S;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
modelValue?: string | null;
|
|
3
|
-
/** 展示/绑定格式:HH:mm:ss 或 HH:mm */
|
|
4
|
-
format?: 'HH:mm:ss' | 'HH:mm';
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
clearable?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
size?: 'large' | 'default' | 'small';
|
|
9
|
-
/** 按内容自适应宽度(表格单元格内推荐) */
|
|
10
|
-
fit?: boolean;
|
|
11
|
-
hourStep?: number;
|
|
12
|
-
minuteStep?: number;
|
|
13
|
-
secondStep?: number;
|
|
14
|
-
};
|
|
15
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (args_0: string) => any;
|
|
17
|
-
change: (args_0: string) => any;
|
|
18
|
-
clear: () => any;
|
|
19
|
-
"visible-change": (args_0: boolean) => any;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: (args_0: string) => any;
|
|
22
|
-
onChange?: (args_0: string) => any;
|
|
23
|
-
onClear?: () => any;
|
|
24
|
-
"onVisible-change"?: (args_0: boolean) => any;
|
|
25
|
-
}>, {
|
|
26
|
-
modelValue: string | null;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
size: "large" | "default" | "small";
|
|
29
|
-
placeholder: string;
|
|
30
|
-
fit: boolean;
|
|
31
|
-
clearable: boolean;
|
|
32
|
-
format: "HH:mm:ss" | "HH:mm";
|
|
33
|
-
hourStep: number;
|
|
34
|
-
minuteStep: number;
|
|
35
|
-
secondStep: number;
|
|
36
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
37
|
-
rootRef: HTMLDivElement;
|
|
38
|
-
panelRef: HTMLDivElement;
|
|
39
|
-
hourListRef: HTMLUListElement;
|
|
40
|
-
minuteListRef: HTMLUListElement;
|
|
41
|
-
secondListRef: HTMLUListElement;
|
|
42
|
-
}, any>;
|
|
43
|
-
export default _default;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
/** 时间:Date / 时间戳(ms) / 时间字符串 */
|
|
3
|
-
value?: Date | number | string;
|
|
4
|
-
/** 是否自动刷新 */
|
|
5
|
-
autoUpdate?: boolean;
|
|
6
|
-
/** 刷新间隔(ms) */
|
|
7
|
-
interval?: number;
|
|
8
|
-
};
|
|
9
|
-
declare function __VLS_template(): {
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
|
-
slots: {
|
|
12
|
-
default?(_: {
|
|
13
|
-
value: string;
|
|
14
|
-
}): any;
|
|
15
|
-
};
|
|
16
|
-
refs: {};
|
|
17
|
-
rootEl: HTMLSpanElement;
|
|
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: (args_0: string) => any;
|
|
22
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
onUpdate?: (args_0: string) => any;
|
|
24
|
-
}>, {
|
|
25
|
-
value: Date | number | string;
|
|
26
|
-
autoUpdate: boolean;
|
|
27
|
-
interval: number;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
29
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
-
export default _default;
|
|
31
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
-
new (): {
|
|
33
|
-
$slots: S;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
timestamp?: string;
|
|
3
|
-
placement?: 'top' | 'bottom';
|
|
4
|
-
type?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
5
|
-
color?: string;
|
|
6
|
-
hollow?: boolean;
|
|
7
|
-
icon?: string;
|
|
8
|
-
center?: boolean;
|
|
9
|
-
};
|
|
10
|
-
declare function __VLS_template(): {
|
|
11
|
-
attrs: Partial<{}>;
|
|
12
|
-
slots: {
|
|
13
|
-
dot?(_: {}): any;
|
|
14
|
-
default?(_: {}): any;
|
|
15
|
-
};
|
|
16
|
-
refs: {};
|
|
17
|
-
rootEl: HTMLLIElement;
|
|
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, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
-
type: "primary" | "success" | "warning" | "danger" | "info";
|
|
22
|
-
icon: string;
|
|
23
|
-
color: string;
|
|
24
|
-
center: boolean;
|
|
25
|
-
timestamp: string;
|
|
26
|
-
placement: "top" | "bottom";
|
|
27
|
-
hollow: boolean;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
|
|
29
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
-
export default _default;
|
|
31
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
-
new (): {
|
|
33
|
-
$slots: S;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
type Placement = 'top' | 'bottom' | 'left' | 'right';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
content?: string;
|
|
4
|
-
placement?: Placement;
|
|
5
|
-
/** hover 延迟显示(ms) */
|
|
6
|
-
showAfter?: number;
|
|
7
|
-
/** hover 延迟隐藏(ms) */
|
|
8
|
-
hideAfter?: number;
|
|
9
|
-
};
|
|
10
|
-
declare function __VLS_template(): {
|
|
11
|
-
attrs: Partial<{}>;
|
|
12
|
-
slots: {
|
|
13
|
-
default?(_: {}): any;
|
|
14
|
-
content?(_: {}): any;
|
|
15
|
-
};
|
|
16
|
-
refs: {
|
|
17
|
-
triggerRef: HTMLSpanElement;
|
|
18
|
-
popperRef: HTMLDivElement;
|
|
19
|
-
};
|
|
20
|
-
rootEl: any;
|
|
21
|
-
};
|
|
22
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
-
content: string;
|
|
25
|
-
placement: Placement;
|
|
26
|
-
showAfter: number;
|
|
27
|
-
hideAfter: number;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
29
|
-
triggerRef: HTMLSpanElement;
|
|
30
|
-
popperRef: HTMLDivElement;
|
|
31
|
-
}, any>;
|
|
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,34 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
/** 上升/下降/持平;不传则根据 value 自动判断 */
|
|
3
|
-
direction?: 'up' | 'down' | 'flat';
|
|
4
|
-
/** 数值,正负自动判断方向 */
|
|
5
|
-
value?: number;
|
|
6
|
-
/** 是否显示箭头图标 */
|
|
7
|
-
showArrow?: boolean;
|
|
8
|
-
/** 前缀,如 + / - */
|
|
9
|
-
prefix?: string;
|
|
10
|
-
suffix?: string;
|
|
11
|
-
};
|
|
12
|
-
declare function __VLS_template(): {
|
|
13
|
-
attrs: Partial<{}>;
|
|
14
|
-
slots: {
|
|
15
|
-
default?(_: {}): any;
|
|
16
|
-
};
|
|
17
|
-
refs: {};
|
|
18
|
-
rootEl: HTMLSpanElement;
|
|
19
|
-
};
|
|
20
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
-
value: number;
|
|
23
|
-
direction: "up" | "down" | "flat";
|
|
24
|
-
showArrow: boolean;
|
|
25
|
-
prefix: string;
|
|
26
|
-
suffix: string;
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
28
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
-
new (): {
|
|
32
|
-
$slots: S;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
export type FouUploadFile = {
|
|
2
|
-
uid: number;
|
|
3
|
-
name: string;
|
|
4
|
-
size: number;
|
|
5
|
-
raw?: File;
|
|
6
|
-
url?: string;
|
|
7
|
-
/** 缩略图(blob/dataURL) */
|
|
8
|
-
thumbnail?: string;
|
|
9
|
-
status?: 'ready' | 'uploading' | 'success' | 'fail';
|
|
10
|
-
percentage?: number;
|
|
11
|
-
response?: unknown;
|
|
12
|
-
};
|
|
13
|
-
type __VLS_Props = {
|
|
14
|
-
modelValue?: FouUploadFile[];
|
|
15
|
-
accept?: string;
|
|
16
|
-
multiple?: boolean;
|
|
17
|
-
limit?: number;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
drag?: boolean;
|
|
20
|
-
listType?: 'text' | 'picture-card';
|
|
21
|
-
buttonText?: string;
|
|
22
|
-
tip?: string;
|
|
23
|
-
autoUpload?: boolean;
|
|
24
|
-
action?: string;
|
|
25
|
-
headers?: Record<string, string>;
|
|
26
|
-
name?: string;
|
|
27
|
-
data?: Record<string, string | Blob>;
|
|
28
|
-
withCredentials?: boolean;
|
|
29
|
-
/** 是否显示实时图片预览 */
|
|
30
|
-
showPreview?: boolean;
|
|
31
|
-
/** 上传成功后是否展示返回内容 */
|
|
32
|
-
showResponse?: boolean;
|
|
33
|
-
/** 是否自动生成缩略图 */
|
|
34
|
-
autoThumbnail?: boolean;
|
|
35
|
-
/** 缩略图边长(px) */
|
|
36
|
-
thumbnailSize?: number;
|
|
37
|
-
/** 缩略图压缩质量 0.1~1(控制体积,便于存储) */
|
|
38
|
-
outputQuality?: number;
|
|
39
|
-
/** 缩略图输出格式 */
|
|
40
|
-
thumbnailType?: 'image/jpeg' | 'image/webp' | 'image/png';
|
|
41
|
-
};
|
|
42
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
43
|
-
clearFiles: () => void;
|
|
44
|
-
submit: () => void;
|
|
45
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
|
-
"update:modelValue": (args_0: FouUploadFile[]) => any;
|
|
47
|
-
change: (file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
48
|
-
progress: (percent: number, file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
49
|
-
error: (error: Error, file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
50
|
-
success: (response: unknown, file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
51
|
-
remove: (file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
52
|
-
exceed: (files: File[], fileList: FouUploadFile[]) => any;
|
|
53
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
54
|
-
"onUpdate:modelValue"?: (args_0: FouUploadFile[]) => any;
|
|
55
|
-
onChange?: (file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
56
|
-
onProgress?: (percent: number, file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
57
|
-
onError?: (error: Error, file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
58
|
-
onSuccess?: (response: unknown, file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
59
|
-
onRemove?: (file: FouUploadFile, fileList: FouUploadFile[]) => any;
|
|
60
|
-
onExceed?: (files: File[], fileList: FouUploadFile[]) => any;
|
|
61
|
-
}>, {
|
|
62
|
-
name: string;
|
|
63
|
-
data: Record<string, string | Blob>;
|
|
64
|
-
modelValue: FouUploadFile[];
|
|
65
|
-
disabled: boolean;
|
|
66
|
-
drag: boolean;
|
|
67
|
-
multiple: boolean;
|
|
68
|
-
accept: string;
|
|
69
|
-
limit: number;
|
|
70
|
-
listType: "text" | "picture-card";
|
|
71
|
-
buttonText: string;
|
|
72
|
-
tip: string;
|
|
73
|
-
autoUpload: boolean;
|
|
74
|
-
action: string;
|
|
75
|
-
headers: Record<string, string>;
|
|
76
|
-
withCredentials: boolean;
|
|
77
|
-
showPreview: boolean;
|
|
78
|
-
showResponse: boolean;
|
|
79
|
-
autoThumbnail: boolean;
|
|
80
|
-
thumbnailSize: number;
|
|
81
|
-
outputQuality: number;
|
|
82
|
-
thumbnailType: "image/jpeg" | "image/webp" | "image/png";
|
|
83
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
84
|
-
inputRef: HTMLInputElement;
|
|
85
|
-
}, HTMLDivElement>;
|
|
86
|
-
export default _default;
|