@fox-js/foxui-pc 4.1.1-26 → 4.1.1-27
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/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +4130 -3731
- package/dist/index.umd.js +1 -1
- package/dist/style.css +59 -1
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +380 -252
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -2,123 +2,120 @@ import { App } from 'vue';
|
|
|
2
2
|
import { compareTo } from '@fox-js/big-decimal';
|
|
3
3
|
import { ComponentInternalInstance } from 'vue';
|
|
4
4
|
import { ComponentPublicInstance } from 'vue';
|
|
5
|
+
import { DefineSetupFnComponent } from 'vue';
|
|
5
6
|
import { divide } from '@fox-js/big-decimal';
|
|
6
7
|
import { ExecuteValidator } from '@fox-js/validator';
|
|
7
|
-
import { ElAffix as FoxAffix } from '
|
|
8
|
-
import { ElAlert as FoxAlert } from '
|
|
9
|
-
import { ElAnchor as FoxAnchor } from '
|
|
10
|
-
import { ElAnchorLink as FoxAnchorLink } from '
|
|
11
|
-
import { ElAside as FoxAside } from '
|
|
12
|
-
import { ElAutocomplete as FoxAutocomplete } from '
|
|
13
|
-
import { ElAutoResizer as FoxAutoResizer } from '
|
|
14
|
-
import { ElAvatar as FoxAvatar } from '
|
|
15
|
-
import { ElBacktop as FoxBacktop } from '
|
|
16
|
-
import { ElBadge as FoxBadge } from '
|
|
17
|
-
import { ElBreadcrumb as FoxBreadcrumb } from '
|
|
18
|
-
import { ElBreadcrumbItem as FoxBreadcrumbItem } from '
|
|
19
|
-
import { ElButton as FoxButton } from '
|
|
20
|
-
import { ElButtonGroup as FoxButtonGroup } from '
|
|
21
|
-
import { ElCalendar as FoxCalendar } from '
|
|
22
|
-
import { ElCard as FoxCard } from '
|
|
23
|
-
import { ElCarousel as FoxCarousel } from '
|
|
24
|
-
import { ElCarouselItem as FoxCarouselItem } from '
|
|
25
|
-
import { ElCascader as FoxCascader } from '
|
|
26
|
-
import { ElCascaderPanel as FoxCascaderPanel } from '
|
|
27
|
-
import { ElCheckbox as FoxCheckbox } from '
|
|
28
|
-
import { ElCheckboxButton as FoxCheckboxButton } from '
|
|
29
|
-
import { ElCheckboxGroup as FoxCheckboxGroup } from '
|
|
30
|
-
import { ElCheckTag as FoxCheckTag } from '
|
|
31
|
-
import { ElCol as FoxCol } from '
|
|
32
|
-
import { ElCollapse as FoxCollapse } from '
|
|
33
|
-
import { ElCollapseItem as FoxCollapseItem } from '
|
|
34
|
-
import { ElCollapseTransition as FoxCollapseTransition } from '
|
|
35
|
-
import { ElColorPicker as FoxColorPicker } from '
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import { FoxUIOptions } from './interface';
|
|
113
|
-
import { ElUpload as FoxUpload } from './base';
|
|
114
|
-
import { ElWatermark as FoxWatermark } from './base';
|
|
115
|
-
import { HintTextTooltip } from './types';
|
|
8
|
+
import { ElAffix as FoxAffix } from 'element-plus';
|
|
9
|
+
import { ElAlert as FoxAlert } from 'element-plus';
|
|
10
|
+
import { ElAnchor as FoxAnchor } from 'element-plus';
|
|
11
|
+
import { ElAnchorLink as FoxAnchorLink } from 'element-plus';
|
|
12
|
+
import { ElAside as FoxAside } from 'element-plus';
|
|
13
|
+
import { ElAutocomplete as FoxAutocomplete } from 'element-plus';
|
|
14
|
+
import { ElAutoResizer as FoxAutoResizer } from 'element-plus';
|
|
15
|
+
import { ElAvatar as FoxAvatar } from 'element-plus';
|
|
16
|
+
import { ElBacktop as FoxBacktop } from 'element-plus';
|
|
17
|
+
import { ElBadge as FoxBadge } from 'element-plus';
|
|
18
|
+
import { ElBreadcrumb as FoxBreadcrumb } from 'element-plus';
|
|
19
|
+
import { ElBreadcrumbItem as FoxBreadcrumbItem } from 'element-plus';
|
|
20
|
+
import { ElButton as FoxButton } from 'element-plus';
|
|
21
|
+
import { ElButtonGroup as FoxButtonGroup } from 'element-plus';
|
|
22
|
+
import { ElCalendar as FoxCalendar } from 'element-plus';
|
|
23
|
+
import { ElCard as FoxCard } from 'element-plus';
|
|
24
|
+
import { ElCarousel as FoxCarousel } from 'element-plus';
|
|
25
|
+
import { ElCarouselItem as FoxCarouselItem } from 'element-plus';
|
|
26
|
+
import { ElCascader as FoxCascader } from 'element-plus';
|
|
27
|
+
import { ElCascaderPanel as FoxCascaderPanel } from 'element-plus';
|
|
28
|
+
import { ElCheckbox as FoxCheckbox } from 'element-plus';
|
|
29
|
+
import { ElCheckboxButton as FoxCheckboxButton } from 'element-plus';
|
|
30
|
+
import { ElCheckboxGroup as FoxCheckboxGroup } from 'element-plus';
|
|
31
|
+
import { ElCheckTag as FoxCheckTag } from 'element-plus';
|
|
32
|
+
import { ElCol as FoxCol } from 'element-plus';
|
|
33
|
+
import { ElCollapse as FoxCollapse } from 'element-plus';
|
|
34
|
+
import { ElCollapseItem as FoxCollapseItem } from 'element-plus';
|
|
35
|
+
import { ElCollapseTransition as FoxCollapseTransition } from 'element-plus';
|
|
36
|
+
import { ElColorPicker as FoxColorPicker } from 'element-plus';
|
|
37
|
+
import { ElConfigProvider as FoxConfigProvider } from 'element-plus';
|
|
38
|
+
import { ElContainer as FoxContainer } from 'element-plus';
|
|
39
|
+
import { ElCountdown as FoxCountdown } from 'element-plus';
|
|
40
|
+
import { ElDatePicker as FoxDatePicker } from 'element-plus';
|
|
41
|
+
import { ElDescriptions as FoxDescriptions } from 'element-plus';
|
|
42
|
+
import { ElDescriptionsItem as FoxDescriptionsItem } from 'element-plus';
|
|
43
|
+
import { ElDialog as FoxDialog } from 'element-plus';
|
|
44
|
+
import { ElDivider as FoxDivider } from 'element-plus';
|
|
45
|
+
import { ElDrawer as FoxDrawer } from 'element-plus';
|
|
46
|
+
import { ElDropdown as FoxDropdown } from 'element-plus';
|
|
47
|
+
import { ElDropdownItem as FoxDropdownItem } from 'element-plus';
|
|
48
|
+
import { ElDropdownMenu as FoxDropdownMenu } from 'element-plus';
|
|
49
|
+
import { ElEmpty as FoxEmpty } from 'element-plus';
|
|
50
|
+
import { ElFooter as FoxFooter } from 'element-plus';
|
|
51
|
+
import { ElForm as FoxForm } from 'element-plus';
|
|
52
|
+
import { ElFormItem as FoxFormItem } from 'element-plus';
|
|
53
|
+
import { ElHeader as FoxHeader } from 'element-plus';
|
|
54
|
+
import { ElIcon as FoxIcon } from 'element-plus';
|
|
55
|
+
import { ElImage as FoxImage } from 'element-plus';
|
|
56
|
+
import { ElImageViewer as FoxImageViewer } from 'element-plus';
|
|
57
|
+
import { ElInput as FoxInput } from 'element-plus';
|
|
58
|
+
import { ElInputNumber as FoxInputNumber } from 'element-plus';
|
|
59
|
+
import { ElInputTag as FoxInputTag } from 'element-plus';
|
|
60
|
+
import { ElLink as FoxLink } from 'element-plus';
|
|
61
|
+
import { ElMain as FoxMain } from 'element-plus';
|
|
62
|
+
import { ElMention as FoxMention } from 'element-plus';
|
|
63
|
+
import { ElMenu as FoxMenu } from 'element-plus';
|
|
64
|
+
import { ElMenuItem as FoxMenuItem } from 'element-plus';
|
|
65
|
+
import { ElMenuItemGroup as FoxMenuItemGroup } from 'element-plus';
|
|
66
|
+
import { ElMessage as FoxMessage } from 'element-plus';
|
|
67
|
+
import { ElMessageBox as FoxMessageBox } from 'element-plus';
|
|
68
|
+
import { ElNotification as FoxNotification } from 'element-plus';
|
|
69
|
+
import { ElOption as FoxOption } from 'element-plus';
|
|
70
|
+
import { ElOptionGroup as FoxOptionGroup } from 'element-plus';
|
|
71
|
+
import { ElPageHeader as FoxPageHeader } from 'element-plus';
|
|
72
|
+
import { ElPagination as FoxPagination } from 'element-plus';
|
|
73
|
+
import { ElPopconfirm as FoxPopconfirm } from 'element-plus';
|
|
74
|
+
import { ElPopover as FoxPopover } from 'element-plus';
|
|
75
|
+
import { ElPopper as FoxPopper } from 'element-plus';
|
|
76
|
+
import { ElProgress as FoxProgress } from 'element-plus';
|
|
77
|
+
import { ElRadio as FoxRadio } from 'element-plus';
|
|
78
|
+
import { ElRadioButton as FoxRadioButton } from 'element-plus';
|
|
79
|
+
import { ElRadioGroup as FoxRadioGroup } from 'element-plus';
|
|
80
|
+
import { ElRate as FoxRate } from 'element-plus';
|
|
81
|
+
import { ElResult as FoxResult } from 'element-plus';
|
|
82
|
+
import { ElRow as FoxRow } from 'element-plus';
|
|
83
|
+
import { ElScrollbar as FoxScrollbar } from 'element-plus';
|
|
84
|
+
import { ElSegmented as FoxSegmented } from 'element-plus';
|
|
85
|
+
import { ElSelect as FoxSelect } from 'element-plus';
|
|
86
|
+
import { ElSelectV2 as FoxSelectV2 } from 'element-plus';
|
|
87
|
+
import { ElSkeleton as FoxSkeleton } from 'element-plus';
|
|
88
|
+
import { ElSkeletonItem as FoxSkeletonItem } from 'element-plus';
|
|
89
|
+
import { ElSlider as FoxSlider } from 'element-plus';
|
|
90
|
+
import { ElSpace as FoxSpace } from 'element-plus';
|
|
91
|
+
import { ElStatistic as FoxStatistic } from 'element-plus';
|
|
92
|
+
import { ElStep as FoxStep } from 'element-plus';
|
|
93
|
+
import { ElSteps as FoxSteps } from 'element-plus';
|
|
94
|
+
import { ElSubMenu as FoxSubMenu } from 'element-plus';
|
|
95
|
+
import { ElSwitch as FoxSwitch } from 'element-plus';
|
|
96
|
+
import { ElTable as FoxTable } from 'element-plus';
|
|
97
|
+
import { ElTableColumn as FoxTableColumn } from 'element-plus';
|
|
98
|
+
import { ElTableV2 as FoxTableV2 } from 'element-plus';
|
|
99
|
+
import { ElTabPane as FoxTabPane } from 'element-plus';
|
|
100
|
+
import { ElTabs as FoxTabs } from 'element-plus';
|
|
101
|
+
import { ElTag as FoxTag } from 'element-plus';
|
|
102
|
+
import { ElTimeline as FoxTimeline } from 'element-plus';
|
|
103
|
+
import { ElTimelineItem as FoxTimelineItem } from 'element-plus';
|
|
104
|
+
import { ElTimePicker as FoxTimePicker } from 'element-plus';
|
|
105
|
+
import { ElTimeSelect as FoxTimeSelect } from 'element-plus';
|
|
106
|
+
import { ElTooltip as FoxTooltip } from 'element-plus';
|
|
107
|
+
import { ElTransfer as FoxTransfer } from 'element-plus';
|
|
108
|
+
import { ElTree as FoxTree } from 'element-plus';
|
|
109
|
+
import { ElTreeSelect as FoxTreeSelect } from 'element-plus';
|
|
110
|
+
import { ElTreeV2 as FoxTreeV2 } from 'element-plus';
|
|
111
|
+
import { ElUpload as FoxUpload } from 'element-plus';
|
|
112
|
+
import { ElWatermark as FoxWatermark } from 'element-plus';
|
|
116
113
|
import { multiply } from '@fox-js/big-decimal';
|
|
117
114
|
import { negate } from '@fox-js/big-decimal';
|
|
118
115
|
import { numberFormat } from '@fox-js/big-decimal';
|
|
116
|
+
import { PublicProps } from 'vue';
|
|
119
117
|
import { Ref } from 'vue';
|
|
120
118
|
import { Rule } from '@fox-js/validator';
|
|
121
|
-
import { ScopeGetter } from './api';
|
|
122
119
|
import { unNumberFormat } from '@fox-js/big-decimal';
|
|
123
120
|
import { UnwrapNestedRefs } from 'vue';
|
|
124
121
|
import { UnwrapRef } from 'vue';
|
|
@@ -300,16 +297,25 @@ export declare const DateUtils: {
|
|
|
300
297
|
/**
|
|
301
298
|
* 格式化
|
|
302
299
|
* @param date
|
|
303
|
-
* @param
|
|
300
|
+
* @param formatTemplate
|
|
304
301
|
* @returns
|
|
305
302
|
*/
|
|
306
|
-
format(date: Date,
|
|
303
|
+
format(date: Date, formatTemplate?: string): string;
|
|
307
304
|
/**
|
|
308
305
|
* 解析
|
|
309
|
-
* @param
|
|
310
|
-
* @param
|
|
306
|
+
* @param dateString
|
|
307
|
+
* @param formatTemplate
|
|
311
308
|
*/
|
|
312
|
-
parser(
|
|
309
|
+
parser(dateString: string, formatTemplate?: string): Date;
|
|
310
|
+
/**
|
|
311
|
+
* 返回日期格式字符串
|
|
312
|
+
* @param i 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
|
|
313
|
+
* @param startDate 起点日期
|
|
314
|
+
* @param formatTemplate 格式化模版
|
|
315
|
+
* @return '2014-12-31'
|
|
316
|
+
*
|
|
317
|
+
*/
|
|
318
|
+
getDay(i: number, startDate?: Date, formatTemplate?: string): string;
|
|
313
319
|
/**
|
|
314
320
|
* 是否为闫年
|
|
315
321
|
* @return {Boolse} true|false
|
|
@@ -319,12 +325,7 @@ export declare const DateUtils: {
|
|
|
319
325
|
* 返回星期数
|
|
320
326
|
* @return {String}
|
|
321
327
|
*/
|
|
322
|
-
getWhatDay(year: number, month: number, day: number):
|
|
323
|
-
/**
|
|
324
|
-
* 返回星期数
|
|
325
|
-
* @return {Number}
|
|
326
|
-
*/
|
|
327
|
-
getMonthPreDay(year: number, month: number): number;
|
|
328
|
+
getWhatDay(year: number, month: number, day: number): number;
|
|
328
329
|
/**
|
|
329
330
|
* 返回月份天数
|
|
330
331
|
* @return {Number}
|
|
@@ -337,68 +338,49 @@ export declare const DateUtils: {
|
|
|
337
338
|
getNumTwoBit(n: number): string;
|
|
338
339
|
/**
|
|
339
340
|
* 日期对象转成字符串
|
|
341
|
+
* 转换为YYYY-MM-DD格式
|
|
340
342
|
* @return {string}
|
|
341
343
|
*/
|
|
342
344
|
date2Str: (date: Date, split?: string) => string;
|
|
343
345
|
/**
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
* @param {Date} 起点日期
|
|
347
|
-
* @param {formatTemplate} 格式化模版
|
|
348
|
-
* @return {string} '2014-12-31'
|
|
346
|
+
* 对比
|
|
347
|
+
* 0:相等, 1: x > y, -1: x < y
|
|
349
348
|
*
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
* 时间比较
|
|
354
|
-
* @return
|
|
355
|
-
*/
|
|
356
|
-
compareDate(date1: string | Date, date2: string | Date): boolean;
|
|
357
|
-
/**
|
|
358
|
-
* 时间是否相等
|
|
359
|
-
* @return
|
|
360
|
-
*/
|
|
361
|
-
isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
|
|
362
|
-
/**
|
|
363
|
-
* get month week
|
|
364
|
-
* @param year
|
|
365
|
-
* @param month
|
|
366
|
-
* @param date
|
|
367
|
-
* @param firstDayOfWeek
|
|
349
|
+
* @param x
|
|
350
|
+
* @param y
|
|
351
|
+
* @param formatTemplate
|
|
368
352
|
* @returns
|
|
369
353
|
*/
|
|
370
|
-
|
|
354
|
+
compare(x: string | Date, y: string | Date, formatTemplate?: string): number;
|
|
371
355
|
/**
|
|
372
|
-
*
|
|
373
|
-
* @param year
|
|
374
|
-
* @param month
|
|
356
|
+
* 判断
|
|
375
357
|
* @param date
|
|
376
|
-
* @param
|
|
377
|
-
* @
|
|
378
|
-
|
|
379
|
-
getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
|
|
380
|
-
/**
|
|
381
|
-
* get week date
|
|
382
|
-
*/
|
|
383
|
-
getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
|
|
384
|
-
/**
|
|
385
|
-
* format result date
|
|
358
|
+
* @param startDate 开始日期
|
|
359
|
+
* @param span 允许负数
|
|
360
|
+
* @param dateUint span单位 'year'|'month'|'day'
|
|
386
361
|
*/
|
|
387
|
-
|
|
362
|
+
between(date: Date, startDate: Date, span: number, dateUint: "year" | "month" | "day"): boolean;
|
|
388
363
|
/**
|
|
389
|
-
* 判断日期是否在范围内
|
|
364
|
+
* 判断日期是否在范围内(day)
|
|
390
365
|
* @param date
|
|
391
366
|
* @param startDate
|
|
392
367
|
* @param span 允许负数
|
|
393
368
|
*/
|
|
394
369
|
inScope4Day(date: Date, startDate: Date, span: number): boolean;
|
|
395
370
|
/**
|
|
396
|
-
* 判断日期是否在范围内
|
|
371
|
+
* 判断日期是否在范围内(month)
|
|
397
372
|
* @param date
|
|
398
373
|
* @param startDate
|
|
399
374
|
* @param span
|
|
400
375
|
*/
|
|
401
376
|
inScope4Month(date: Date, startDate: Date, span: number): boolean;
|
|
377
|
+
/**
|
|
378
|
+
* 判断日期是否在范围内(year)
|
|
379
|
+
* @param date
|
|
380
|
+
* @param startDate
|
|
381
|
+
* @param span
|
|
382
|
+
*/
|
|
383
|
+
inScope4Year(date: Date, startDate: Date, span: number): boolean;
|
|
402
384
|
};
|
|
403
385
|
|
|
404
386
|
/**
|
|
@@ -425,211 +407,211 @@ export declare function decimalLength(value: string | number): number;
|
|
|
425
407
|
declare const _default: FoxUIVue;
|
|
426
408
|
export default _default;
|
|
427
409
|
|
|
428
|
-
declare const _default_10: any
|
|
410
|
+
declare const _default_10: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
429
411
|
export { _default_10 as ButtonsItem }
|
|
430
412
|
export { _default_10 as FoxButtonsItem }
|
|
431
413
|
|
|
432
|
-
declare const _default_11: any
|
|
414
|
+
declare const _default_11: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
433
415
|
export { _default_11 as FoxInputItem }
|
|
434
416
|
export { _default_11 as InputItem }
|
|
435
417
|
|
|
436
|
-
declare const _default_12: any
|
|
418
|
+
declare const _default_12: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
437
419
|
export { _default_12 as FoxSelectItem }
|
|
438
420
|
export { _default_12 as SelectItem }
|
|
439
421
|
|
|
440
|
-
declare const _default_13: any
|
|
422
|
+
declare const _default_13: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
441
423
|
export { _default_13 as DateItem }
|
|
442
424
|
export { _default_13 as FoxDateItem }
|
|
443
425
|
|
|
444
|
-
declare const _default_14: any
|
|
426
|
+
declare const _default_14: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
445
427
|
export { _default_14 as FoxTimeItem }
|
|
446
428
|
export { _default_14 as TimeItem }
|
|
447
429
|
|
|
448
|
-
declare const _default_15: any
|
|
430
|
+
declare const _default_15: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
449
431
|
export { _default_15 as FoxTimeSelectItem }
|
|
450
432
|
export { _default_15 as TimeSelectItem }
|
|
451
433
|
|
|
452
|
-
declare const _default_16: any
|
|
434
|
+
declare const _default_16: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
453
435
|
export { _default_16 as FoxMoneyItem }
|
|
454
436
|
export { _default_16 as MoneyItem }
|
|
455
437
|
|
|
456
|
-
declare const _default_17: any
|
|
438
|
+
declare const _default_17: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
457
439
|
export { _default_17 as FoxInputNumberItem }
|
|
458
440
|
export { _default_17 as InputNumberItem }
|
|
459
441
|
|
|
460
|
-
declare const _default_18: any
|
|
442
|
+
declare const _default_18: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
461
443
|
export { _default_18 as CascaderItem }
|
|
462
444
|
export { _default_18 as FoxCascaderItem }
|
|
463
445
|
|
|
464
|
-
declare const _default_19: any
|
|
446
|
+
declare const _default_19: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
465
447
|
export { _default_19 as AutocompleteItem }
|
|
466
448
|
export { _default_19 as FoxAutocompleteItem }
|
|
467
449
|
|
|
468
|
-
declare const _default_2: any
|
|
450
|
+
declare const _default_2: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
469
451
|
export { _default_2 as FoxPage }
|
|
470
452
|
export { _default_2 as Page }
|
|
471
453
|
|
|
472
|
-
declare const _default_20: any
|
|
454
|
+
declare const _default_20: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
473
455
|
export { _default_20 as FoxTableMappingColumn }
|
|
474
456
|
export { _default_20 as TableMappingColumn }
|
|
475
457
|
|
|
476
|
-
declare const _default_21: any
|
|
458
|
+
declare const _default_21: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
477
459
|
export { _default_21 as FoxTableRadioColumn }
|
|
478
460
|
export { _default_21 as TableRadioColumn }
|
|
479
461
|
|
|
480
|
-
declare const _default_22: any
|
|
462
|
+
declare const _default_22: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
481
463
|
export { _default_22 as FoxTableSetting }
|
|
482
464
|
export { _default_22 as TableSetting }
|
|
483
465
|
|
|
484
|
-
declare const _default_23: any
|
|
466
|
+
declare const _default_23: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
485
467
|
export { _default_23 as FoxTableItem }
|
|
486
468
|
export { _default_23 as TableItem }
|
|
487
469
|
|
|
488
|
-
declare const _default_24: any
|
|
470
|
+
declare const _default_24: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
489
471
|
export { _default_24 as FoxRadioItem }
|
|
490
472
|
export { _default_24 as RadioItem }
|
|
491
473
|
|
|
492
|
-
declare const _default_25: any
|
|
474
|
+
declare const _default_25: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
493
475
|
export { _default_25 as CheckboxItem }
|
|
494
476
|
export { _default_25 as FoxCheckboxItem }
|
|
495
477
|
|
|
496
|
-
declare const _default_26: any
|
|
478
|
+
declare const _default_26: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
497
479
|
export { _default_26 as FoxRateItem }
|
|
498
480
|
export { _default_26 as RateItem }
|
|
499
481
|
|
|
500
|
-
declare const _default_27: any
|
|
482
|
+
declare const _default_27: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
501
483
|
export { _default_27 as FoxSwitchItem }
|
|
502
484
|
export { _default_27 as SwitchItem }
|
|
503
485
|
|
|
504
|
-
declare const _default_28: any
|
|
486
|
+
declare const _default_28: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
505
487
|
export { _default_28 as FoxTreeSelectItem }
|
|
506
488
|
export { _default_28 as TreeSelectItem }
|
|
507
489
|
|
|
508
|
-
declare const _default_29: any
|
|
490
|
+
declare const _default_29: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
509
491
|
export { _default_29 as FoxGroupSetting }
|
|
510
492
|
export { _default_29 as GroupSetting }
|
|
511
493
|
|
|
512
|
-
declare const _default_3: any
|
|
494
|
+
declare const _default_3: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
513
495
|
export { _default_3 as FoxHeaderBar }
|
|
514
496
|
export { _default_3 as HeaderBar }
|
|
515
497
|
|
|
516
|
-
declare const _default_30: any
|
|
498
|
+
declare const _default_30: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
517
499
|
export { _default_30 as FoxTreeItem }
|
|
518
500
|
export { _default_30 as TreeItem }
|
|
519
501
|
|
|
520
|
-
declare const _default_31: any
|
|
521
|
-
export { _default_31 as
|
|
522
|
-
export { _default_31 as
|
|
502
|
+
declare const _default_31: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
503
|
+
export { _default_31 as FoxLinkItem }
|
|
504
|
+
export { _default_31 as LinkItem }
|
|
523
505
|
|
|
524
|
-
declare const _default_32: any
|
|
525
|
-
export { _default_32 as
|
|
526
|
-
export { _default_32 as
|
|
506
|
+
declare const _default_32: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
507
|
+
export { _default_32 as FoxTabsBar }
|
|
508
|
+
export { _default_32 as TabsBar }
|
|
527
509
|
|
|
528
|
-
declare const _default_33: any
|
|
529
|
-
export { _default_33 as
|
|
530
|
-
export { _default_33 as
|
|
510
|
+
declare const _default_33: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
511
|
+
export { _default_33 as FoxTabsContainer }
|
|
512
|
+
export { _default_33 as TabsContainer }
|
|
531
513
|
|
|
532
|
-
declare const _default_34: any
|
|
533
|
-
export { _default_34 as
|
|
534
|
-
export { _default_34 as
|
|
514
|
+
declare const _default_34: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
515
|
+
export { _default_34 as FoxTabsPane }
|
|
516
|
+
export { _default_34 as TabsPane }
|
|
535
517
|
|
|
536
|
-
declare const _default_35: any
|
|
537
|
-
export { _default_35 as
|
|
538
|
-
export { _default_35 as
|
|
518
|
+
declare const _default_35: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
519
|
+
export { _default_35 as FoxTabsFrame }
|
|
520
|
+
export { _default_35 as TabsFrame }
|
|
539
521
|
|
|
540
|
-
declare const _default_36: any
|
|
541
|
-
export { _default_36 as
|
|
542
|
-
export { _default_36 as
|
|
522
|
+
declare const _default_36: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
523
|
+
export { _default_36 as FoxStepsBar }
|
|
524
|
+
export { _default_36 as StepsBar }
|
|
543
525
|
|
|
544
|
-
declare const _default_37: any
|
|
545
|
-
export { _default_37 as
|
|
546
|
-
export { _default_37 as
|
|
526
|
+
declare const _default_37: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
527
|
+
export { _default_37 as DialogItem }
|
|
528
|
+
export { _default_37 as FoxDialogItem }
|
|
547
529
|
|
|
548
|
-
declare const _default_38: any
|
|
549
|
-
export { _default_38 as
|
|
550
|
-
export { _default_38 as
|
|
530
|
+
declare const _default_38: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
531
|
+
export { _default_38 as FoxOverLay }
|
|
532
|
+
export { _default_38 as OverLay }
|
|
551
533
|
|
|
552
|
-
declare const _default_39: any
|
|
553
|
-
export { _default_39 as
|
|
554
|
-
export { _default_39 as
|
|
534
|
+
declare const _default_39: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
535
|
+
export { _default_39 as FoxPopup }
|
|
536
|
+
export { _default_39 as Popup }
|
|
555
537
|
|
|
556
|
-
declare const _default_4: any
|
|
538
|
+
declare const _default_4: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
557
539
|
export { _default_4 as FooterBar }
|
|
558
540
|
export { _default_4 as FoxFooterBar }
|
|
559
541
|
|
|
560
|
-
declare const _default_40: any
|
|
542
|
+
declare const _default_40: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
561
543
|
export { _default_40 as FoxSearchBar }
|
|
562
544
|
export { _default_40 as SearchBar }
|
|
563
545
|
|
|
564
|
-
declare const _default_41: any
|
|
546
|
+
declare const _default_41: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
565
547
|
export { _default_41 as FoxInfiniteLoading }
|
|
566
548
|
export { _default_41 as InfiniteLoading }
|
|
567
549
|
|
|
568
|
-
declare const _default_42: any
|
|
550
|
+
declare const _default_42: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
569
551
|
export { _default_42 as FoxPullRefresh }
|
|
570
552
|
export { _default_42 as PullRefresh }
|
|
571
553
|
|
|
572
|
-
declare const _default_43: any
|
|
554
|
+
declare const _default_43: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
573
555
|
export { _default_43 as FoxMoreButton }
|
|
574
556
|
export { _default_43 as MoreButton }
|
|
575
557
|
|
|
576
|
-
declare const _default_44: any
|
|
558
|
+
declare const _default_44: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
577
559
|
export { _default_44 as FloatingButton }
|
|
578
560
|
export { _default_44 as FoxFloatingButton }
|
|
579
561
|
|
|
580
|
-
declare const _default_45: any
|
|
562
|
+
declare const _default_45: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
581
563
|
export { _default_45 as FloatingWindow }
|
|
582
564
|
export { _default_45 as FoxFloatingWindow }
|
|
583
565
|
|
|
584
|
-
declare const _default_46: any
|
|
566
|
+
declare const _default_46: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
585
567
|
export { _default_46 as FoxPopoverDialog }
|
|
586
568
|
export { _default_46 as PopoverDialog }
|
|
587
569
|
|
|
588
|
-
declare const _default_47: any
|
|
570
|
+
declare const _default_47: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
589
571
|
export { _default_47 as FoxMapping }
|
|
590
572
|
export { _default_47 as Mapping }
|
|
591
573
|
|
|
592
|
-
declare const _default_48: any
|
|
574
|
+
declare const _default_48: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
593
575
|
export { _default_48 as FoxPrice }
|
|
594
576
|
export { _default_48 as Price }
|
|
595
577
|
|
|
596
|
-
declare const _default_49: any
|
|
578
|
+
declare const _default_49: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
597
579
|
export { _default_49 as FoxIndicator }
|
|
598
580
|
export { _default_49 as Indicator }
|
|
599
581
|
|
|
600
|
-
declare const _default_5: any
|
|
582
|
+
declare const _default_5: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
601
583
|
export { _default_5 as Content }
|
|
602
584
|
export { _default_5 as FoxContent }
|
|
603
585
|
|
|
604
|
-
declare const _default_50: any
|
|
586
|
+
declare const _default_50: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
605
587
|
export { _default_50 as FoxText }
|
|
606
588
|
export { _default_50 as Text }
|
|
607
589
|
|
|
608
|
-
declare const _default_51: any
|
|
590
|
+
declare const _default_51: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
609
591
|
export { _default_51 as FoxTour }
|
|
610
592
|
export { _default_51 as Tour }
|
|
611
593
|
|
|
612
|
-
declare const _default_52: any
|
|
594
|
+
declare const _default_52: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
613
595
|
export { _default_52 as DomainProvider }
|
|
614
596
|
export { _default_52 as FoxDomainProvider }
|
|
615
597
|
|
|
616
|
-
declare const _default_53: any
|
|
598
|
+
declare const _default_53: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
617
599
|
export { _default_53 as FoxRollingProvider }
|
|
618
600
|
export { _default_53 as RollingProvider }
|
|
619
601
|
|
|
620
|
-
declare const _default_6: any
|
|
602
|
+
declare const _default_6: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
621
603
|
export { _default_6 as FoxGroup }
|
|
622
604
|
export { _default_6 as Group }
|
|
623
605
|
|
|
624
|
-
declare const _default_7: any
|
|
606
|
+
declare const _default_7: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
625
607
|
export { _default_7 as FoxItem }
|
|
626
608
|
export { _default_7 as Item }
|
|
627
609
|
|
|
628
|
-
declare const _default_8: any
|
|
610
|
+
declare const _default_8: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
629
611
|
export { _default_8 as FoxSlotItem }
|
|
630
612
|
export { _default_8 as SlotItem }
|
|
631
613
|
|
|
632
|
-
declare const _default_9: any
|
|
614
|
+
declare const _default_9: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
633
615
|
export { _default_9 as FoxRowItem }
|
|
634
616
|
export { _default_9 as RowItem }
|
|
635
617
|
|
|
@@ -924,6 +906,8 @@ export { FoxCollapseTransition }
|
|
|
924
906
|
|
|
925
907
|
export { FoxColorPicker }
|
|
926
908
|
|
|
909
|
+
declare type FoxComponentPublicInstance = any;
|
|
910
|
+
|
|
927
911
|
export { FoxConfigProvider }
|
|
928
912
|
|
|
929
913
|
export { FoxContainer }
|
|
@@ -1072,6 +1056,80 @@ export { FoxTreeSelect }
|
|
|
1072
1056
|
|
|
1073
1057
|
export { FoxTreeV2 }
|
|
1074
1058
|
|
|
1059
|
+
/**
|
|
1060
|
+
* Fox UI
|
|
1061
|
+
*/
|
|
1062
|
+
declare interface FoxUI {
|
|
1063
|
+
/**
|
|
1064
|
+
* 版本号
|
|
1065
|
+
*/
|
|
1066
|
+
version: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* 安装
|
|
1069
|
+
* @param app
|
|
1070
|
+
* @param options
|
|
1071
|
+
*/
|
|
1072
|
+
install(app: App, options: FoxUIOptions): any;
|
|
1073
|
+
/**
|
|
1074
|
+
* 更新Layout
|
|
1075
|
+
*
|
|
1076
|
+
* @param options
|
|
1077
|
+
* @param rootDomain
|
|
1078
|
+
*/
|
|
1079
|
+
updateLayout(options: FoxUIOptions, rootDomain?: Domain): void;
|
|
1080
|
+
/**
|
|
1081
|
+
* 设置scope getter
|
|
1082
|
+
* @param getter
|
|
1083
|
+
*/
|
|
1084
|
+
setScopeGetter(getter: ScopeGetter): void;
|
|
1085
|
+
/**
|
|
1086
|
+
* 设置API
|
|
1087
|
+
* @param name
|
|
1088
|
+
* @param func
|
|
1089
|
+
* @param scope
|
|
1090
|
+
*/
|
|
1091
|
+
setAPI(name: string, func: any, scope?: string): void;
|
|
1092
|
+
/**
|
|
1093
|
+
* 获取API
|
|
1094
|
+
* @param proxy
|
|
1095
|
+
* @param name
|
|
1096
|
+
* @param scope
|
|
1097
|
+
*/
|
|
1098
|
+
getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* 批量增加api
|
|
1101
|
+
* @param apis
|
|
1102
|
+
* @param scope
|
|
1103
|
+
*/
|
|
1104
|
+
batchSetAPI(apis: Record<string, any>, scope?: string): void;
|
|
1105
|
+
/**
|
|
1106
|
+
* 清空scope apis
|
|
1107
|
+
* @param scope
|
|
1108
|
+
*/
|
|
1109
|
+
clearScopeAPI(scope: string): void;
|
|
1110
|
+
/**
|
|
1111
|
+
* 获取root domain
|
|
1112
|
+
*/
|
|
1113
|
+
getRootDomain(): Domain;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* UI Options
|
|
1118
|
+
*/
|
|
1119
|
+
declare interface FoxUIOptions {
|
|
1120
|
+
install?: boolean;
|
|
1121
|
+
componentPrefix?: string;
|
|
1122
|
+
headerBarHeight?: number;
|
|
1123
|
+
footerBarHeight?: number;
|
|
1124
|
+
safeAreaInset?: SafeAreaInset;
|
|
1125
|
+
pageLayout?: PageLayout;
|
|
1126
|
+
headerPadding?: Rect;
|
|
1127
|
+
contentPadding?: Rect;
|
|
1128
|
+
groupLayout?: GroupLayout;
|
|
1129
|
+
labelWidth?: number | string;
|
|
1130
|
+
[propName: string]: any;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1075
1133
|
/**
|
|
1076
1134
|
* Fox UI vue实例
|
|
1077
1135
|
*/
|
|
@@ -1209,6 +1267,16 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
|
|
|
1209
1267
|
*/
|
|
1210
1268
|
export declare function getRootDomain(): Domain;
|
|
1211
1269
|
|
|
1270
|
+
/**
|
|
1271
|
+
* Layout信息接口
|
|
1272
|
+
*/
|
|
1273
|
+
declare interface GroupLayout {
|
|
1274
|
+
type?: string;
|
|
1275
|
+
width?: number | string;
|
|
1276
|
+
column?: number;
|
|
1277
|
+
gutter?: number | string;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1212
1280
|
/**
|
|
1213
1281
|
* 是否支持symbol
|
|
1214
1282
|
*/
|
|
@@ -1221,6 +1289,30 @@ declare const HintTextFunction: HintTextTooltip;
|
|
|
1221
1289
|
export { HintTextFunction as FoxHintText }
|
|
1222
1290
|
export { HintTextFunction as HintText }
|
|
1223
1291
|
|
|
1292
|
+
/**
|
|
1293
|
+
* HintTextTooltip
|
|
1294
|
+
*/
|
|
1295
|
+
declare interface HintTextTooltip {
|
|
1296
|
+
/**
|
|
1297
|
+
* 显示
|
|
1298
|
+
* @param reference
|
|
1299
|
+
* @param message
|
|
1300
|
+
* @param opts
|
|
1301
|
+
* @param only
|
|
1302
|
+
* @returns
|
|
1303
|
+
*/
|
|
1304
|
+
show(reference: HTMLElement, message: string, opts: Record<string, any>, only?: boolean): string;
|
|
1305
|
+
/**
|
|
1306
|
+
* 隐藏
|
|
1307
|
+
* @param id
|
|
1308
|
+
*/
|
|
1309
|
+
hide(id?: string): void;
|
|
1310
|
+
/**
|
|
1311
|
+
* 额外属性
|
|
1312
|
+
*/
|
|
1313
|
+
[propName: string]: any;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1224
1316
|
declare type Icons = {
|
|
1225
1317
|
headerbar: {
|
|
1226
1318
|
Left?: any;
|
|
@@ -1256,13 +1348,13 @@ export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
|
1256
1348
|
* 获取是否为虚拟页面范围
|
|
1257
1349
|
* @param defaultValue
|
|
1258
1350
|
*/
|
|
1259
|
-
export declare function injectAbstractPageScope(defaultValue?: boolean):
|
|
1351
|
+
export declare function injectAbstractPageScope(defaultValue?: boolean): boolean;
|
|
1260
1352
|
|
|
1261
1353
|
/**
|
|
1262
1354
|
* 获取是否为内部页面范围
|
|
1263
1355
|
* @param defaultValue
|
|
1264
1356
|
*/
|
|
1265
|
-
export declare function injectInnerPageScope(defaultValue?: boolean):
|
|
1357
|
+
export declare function injectInnerPageScope(defaultValue?: boolean): boolean;
|
|
1266
1358
|
|
|
1267
1359
|
/**
|
|
1268
1360
|
* inner page scope key(内部页面,默认适配父亲容器尺寸,not watch resize)
|
|
@@ -1306,6 +1398,13 @@ export declare const isBrowser: boolean;
|
|
|
1306
1398
|
*/
|
|
1307
1399
|
export declare const isDate: (val: unknown) => val is Date;
|
|
1308
1400
|
|
|
1401
|
+
/**
|
|
1402
|
+
* 是否display none
|
|
1403
|
+
* @param el
|
|
1404
|
+
* @returns
|
|
1405
|
+
*/
|
|
1406
|
+
export declare function isDisplayNone(el: HTMLElement): boolean;
|
|
1407
|
+
|
|
1309
1408
|
/**
|
|
1310
1409
|
* 是否空字符串
|
|
1311
1410
|
* @param v
|
|
@@ -1522,10 +1621,10 @@ export declare function overrideGlobalValidateHandler(validateHandler: Partial<V
|
|
|
1522
1621
|
* padding
|
|
1523
1622
|
*/
|
|
1524
1623
|
export declare interface Padding {
|
|
1525
|
-
left: number | null;
|
|
1526
|
-
top: number | null;
|
|
1527
|
-
right: number | null;
|
|
1528
|
-
bottom: number | null;
|
|
1624
|
+
left: number | string | null;
|
|
1625
|
+
top: number | string | null;
|
|
1626
|
+
right: number | string | null;
|
|
1627
|
+
bottom: number | string | null;
|
|
1529
1628
|
}
|
|
1530
1629
|
|
|
1531
1630
|
/**
|
|
@@ -1536,9 +1635,9 @@ export declare interface PageLayout {
|
|
|
1536
1635
|
height?: number | string;
|
|
1537
1636
|
headerHeight?: number | string;
|
|
1538
1637
|
footerHeight?: number | string;
|
|
1539
|
-
headerPadding?: Padding
|
|
1540
|
-
footerPadding?: Padding
|
|
1541
|
-
contentPadding?: Padding
|
|
1638
|
+
headerPadding?: Partial<Padding>;
|
|
1639
|
+
footerPadding?: Partial<Padding>;
|
|
1640
|
+
contentPadding?: Partial<Padding>;
|
|
1542
1641
|
}
|
|
1543
1642
|
|
|
1544
1643
|
/**
|
|
@@ -1621,7 +1720,17 @@ export declare const raf: any;
|
|
|
1621
1720
|
*/
|
|
1622
1721
|
export declare function readonlyProperty(source: Ref): Ref;
|
|
1623
1722
|
|
|
1723
|
+
/**
|
|
1724
|
+
* Rect类型
|
|
1725
|
+
*/
|
|
1624
1726
|
declare interface Rect {
|
|
1727
|
+
left: number;
|
|
1728
|
+
top: number;
|
|
1729
|
+
right: number;
|
|
1730
|
+
bottom: number;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
declare interface Rect_2 {
|
|
1625
1734
|
top: number;
|
|
1626
1735
|
left: number;
|
|
1627
1736
|
right: number;
|
|
@@ -1655,6 +1764,13 @@ export declare interface SafeAreaInset {
|
|
|
1655
1764
|
bottom: number | string;
|
|
1656
1765
|
}
|
|
1657
1766
|
|
|
1767
|
+
/**
|
|
1768
|
+
* scope getter
|
|
1769
|
+
*/
|
|
1770
|
+
declare interface ScopeGetter {
|
|
1771
|
+
(proxy: ComponentPublicInstance): string | null;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1658
1774
|
/**
|
|
1659
1775
|
* 设置公共校验检查事件
|
|
1660
1776
|
* @param events
|
|
@@ -1701,6 +1817,18 @@ declare interface Size {
|
|
|
1701
1817
|
*/
|
|
1702
1818
|
export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
|
|
1703
1819
|
|
|
1820
|
+
declare const ToastFunction: {
|
|
1821
|
+
text(msg: string, opts?: {}): /*elided*/ any;
|
|
1822
|
+
success(msg: string, opts?: {}): /*elided*/ any;
|
|
1823
|
+
fail(msg: string, opts?: {}): /*elided*/ any;
|
|
1824
|
+
warn(msg: string, opts?: {}): /*elided*/ any;
|
|
1825
|
+
loading(msg: string, opts?: {}): /*elided*/ any;
|
|
1826
|
+
hide(id?: string): void;
|
|
1827
|
+
install(app: any): void;
|
|
1828
|
+
};
|
|
1829
|
+
export { ToastFunction as FoxToast }
|
|
1830
|
+
export { ToastFunction as Toast }
|
|
1831
|
+
|
|
1704
1832
|
/**
|
|
1705
1833
|
* 转换为boolean值
|
|
1706
1834
|
* @param val
|
|
@@ -1876,7 +2004,7 @@ export declare function useRawTouch(): {
|
|
|
1876
2004
|
};
|
|
1877
2005
|
};
|
|
1878
2006
|
|
|
1879
|
-
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) =>
|
|
2007
|
+
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
|
|
1880
2008
|
|
|
1881
2009
|
/**
|
|
1882
2010
|
* 获取size
|
|
@@ -1902,17 +2030,17 @@ export declare function useTouch(): {
|
|
|
1902
2030
|
move: EventListener;
|
|
1903
2031
|
start: EventListener;
|
|
1904
2032
|
reset: () => void;
|
|
1905
|
-
startX:
|
|
1906
|
-
startY:
|
|
1907
|
-
startTime:
|
|
1908
|
-
duration:
|
|
1909
|
-
moveX:
|
|
1910
|
-
moveY:
|
|
1911
|
-
deltaX:
|
|
1912
|
-
deltaY:
|
|
1913
|
-
offsetX:
|
|
1914
|
-
offsetY:
|
|
1915
|
-
direction:
|
|
2033
|
+
startX: Ref<number, number>;
|
|
2034
|
+
startY: Ref<number, number>;
|
|
2035
|
+
startTime: Ref<number, number>;
|
|
2036
|
+
duration: Ref<number, number>;
|
|
2037
|
+
moveX: Ref<number, number>;
|
|
2038
|
+
moveY: Ref<number, number>;
|
|
2039
|
+
deltaX: Ref<number, number>;
|
|
2040
|
+
deltaY: Ref<number, number>;
|
|
2041
|
+
offsetX: Ref<number, number>;
|
|
2042
|
+
offsetY: Ref<number, number>;
|
|
2043
|
+
direction: Ref<Direction, Direction>;
|
|
1916
2044
|
isVertical: () => boolean;
|
|
1917
2045
|
isHorizontal: () => boolean;
|
|
1918
2046
|
};
|