@fox-js/foxui-pad 4.1.1-19 → 4.1.1-20
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 +6829 -6381
- package/dist/index.umd.js +1 -1
- package/dist/locale/index.d.ts +503 -0
- package/dist/locale/index.esm.js +17 -4
- package/dist/locale/index.umd.js +1 -1
- package/dist/style.css +59 -1
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +400 -272
- 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,243 +407,243 @@ 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 CalendarItem }
|
|
446
428
|
export { _default_14 as FoxCalendarItem }
|
|
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 FoxTimeItem }
|
|
450
432
|
export { _default_15 as TimeItem }
|
|
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 FoxTimeSelectItem }
|
|
454
436
|
export { _default_16 as TimeSelectItem }
|
|
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 FoxMoneyItem }
|
|
458
440
|
export { _default_17 as MoneyItem }
|
|
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 FoxInputNumberItem }
|
|
462
444
|
export { _default_18 as InputNumberItem }
|
|
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 CascaderItem }
|
|
466
448
|
export { _default_19 as FoxCascaderItem }
|
|
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 AutocompleteItem }
|
|
474
456
|
export { _default_20 as FoxAutocompleteItem }
|
|
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 FoxTableMappingColumn }
|
|
478
460
|
export { _default_21 as TableMappingColumn }
|
|
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 FoxTableRadioColumn }
|
|
482
464
|
export { _default_22 as TableRadioColumn }
|
|
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 FoxTableSetting }
|
|
486
468
|
export { _default_23 as TableSetting }
|
|
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 FoxTableItem }
|
|
490
472
|
export { _default_24 as TableItem }
|
|
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 FoxRadioItem }
|
|
494
476
|
export { _default_25 as RadioItem }
|
|
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 CheckboxItem }
|
|
498
480
|
export { _default_26 as FoxCheckboxItem }
|
|
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 FoxRateItem }
|
|
502
484
|
export { _default_27 as RateItem }
|
|
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 FoxSwitchItem }
|
|
506
488
|
export { _default_28 as SwitchItem }
|
|
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 FoxTreeSelectItem }
|
|
510
492
|
export { _default_29 as TreeSelectItem }
|
|
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 FoxGroupSetting }
|
|
518
500
|
export { _default_30 as GroupSetting }
|
|
519
501
|
|
|
520
|
-
declare const _default_31: any
|
|
502
|
+
declare const _default_31: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
521
503
|
export { _default_31 as FoxTreeItem }
|
|
522
504
|
export { _default_31 as TreeItem }
|
|
523
505
|
|
|
524
|
-
declare const _default_32: any
|
|
506
|
+
declare const _default_32: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
525
507
|
export { _default_32 as ActionsheetPane }
|
|
526
508
|
export { _default_32 as FoxActionsheetPane }
|
|
527
509
|
|
|
528
|
-
declare const _default_33: any
|
|
510
|
+
declare const _default_33: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
529
511
|
export { _default_33 as ActionsheetItem }
|
|
530
512
|
export { _default_33 as FoxActionsheetItem }
|
|
531
513
|
|
|
532
|
-
declare const _default_34: any
|
|
514
|
+
declare const _default_34: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
533
515
|
export { _default_34 as FoxPickerItem }
|
|
534
516
|
export { _default_34 as PickerItem }
|
|
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 FoxLinkItem }
|
|
520
|
+
export { _default_35 as LinkItem }
|
|
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 FoxTabsBar }
|
|
524
|
+
export { _default_36 as TabsBar }
|
|
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 FoxTabsContainer }
|
|
528
|
+
export { _default_37 as TabsContainer }
|
|
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 FoxTabsPane }
|
|
532
|
+
export { _default_38 as TabsPane }
|
|
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 FoxTabsFrame }
|
|
536
|
+
export { _default_39 as TabsFrame }
|
|
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
|
|
561
|
-
export { _default_40 as
|
|
562
|
-
export { _default_40 as
|
|
542
|
+
declare const _default_40: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
543
|
+
export { _default_40 as FoxStepsBar }
|
|
544
|
+
export { _default_40 as StepsBar }
|
|
563
545
|
|
|
564
|
-
declare const _default_41: any
|
|
565
|
-
export { _default_41 as
|
|
566
|
-
export { _default_41 as
|
|
546
|
+
declare const _default_41: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
547
|
+
export { _default_41 as FloatingWindow }
|
|
548
|
+
export { _default_41 as FoxFloatingWindow }
|
|
567
549
|
|
|
568
|
-
declare const _default_42: any
|
|
569
|
-
export { _default_42 as
|
|
570
|
-
export { _default_42 as
|
|
550
|
+
declare const _default_42: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
551
|
+
export { _default_42 as FoxPopoverDialog }
|
|
552
|
+
export { _default_42 as PopoverDialog }
|
|
571
553
|
|
|
572
|
-
declare const _default_43: any
|
|
573
|
-
export { _default_43 as
|
|
574
|
-
export { _default_43 as
|
|
554
|
+
declare const _default_43: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
555
|
+
export { _default_43 as Foxpicker }
|
|
556
|
+
export { _default_43 as picker }
|
|
575
557
|
|
|
576
|
-
declare const _default_44: any
|
|
577
|
-
export { _default_44 as
|
|
578
|
-
export { _default_44 as
|
|
558
|
+
declare const _default_44: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
559
|
+
export { _default_44 as Foxdatepicker }
|
|
560
|
+
export { _default_44 as datepicker }
|
|
579
561
|
|
|
580
|
-
declare const _default_45: any
|
|
581
|
-
export { _default_45 as
|
|
582
|
-
export { _default_45 as
|
|
562
|
+
declare const _default_45: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
563
|
+
export { _default_45 as Foxcalendarpicker }
|
|
564
|
+
export { _default_45 as calendarpicker }
|
|
583
565
|
|
|
584
|
-
declare const _default_46: any
|
|
585
|
-
export { _default_46 as
|
|
586
|
-
export { _default_46 as
|
|
566
|
+
declare const _default_46: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
567
|
+
export { _default_46 as Foxcascaderpicker }
|
|
568
|
+
export { _default_46 as cascaderpicker }
|
|
587
569
|
|
|
588
|
-
declare const _default_47: any
|
|
589
|
-
export { _default_47 as
|
|
590
|
-
export { _default_47 as
|
|
570
|
+
declare const _default_47: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
571
|
+
export { _default_47 as DialogItem }
|
|
572
|
+
export { _default_47 as FoxDialogItem }
|
|
591
573
|
|
|
592
|
-
declare const _default_48: any
|
|
593
|
-
export { _default_48 as
|
|
594
|
-
export { _default_48 as
|
|
574
|
+
declare const _default_48: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
575
|
+
export { _default_48 as FoxOverLay }
|
|
576
|
+
export { _default_48 as OverLay }
|
|
595
577
|
|
|
596
|
-
declare const _default_49: any
|
|
597
|
-
export { _default_49 as
|
|
598
|
-
export { _default_49 as
|
|
578
|
+
declare const _default_49: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
579
|
+
export { _default_49 as FoxPopup }
|
|
580
|
+
export { _default_49 as Popup }
|
|
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 FoxSearchBar }
|
|
606
588
|
export { _default_50 as SearchBar }
|
|
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 FoxInfiniteLoading }
|
|
610
592
|
export { _default_51 as InfiniteLoading }
|
|
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 FoxPullRefresh }
|
|
614
596
|
export { _default_52 as PullRefresh }
|
|
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 FoxMoreButton }
|
|
618
600
|
export { _default_53 as MoreButton }
|
|
619
601
|
|
|
620
|
-
declare const _default_54: any
|
|
602
|
+
declare const _default_54: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
621
603
|
export { _default_54 as FloatingButton }
|
|
622
604
|
export { _default_54 as FoxFloatingButton }
|
|
623
605
|
|
|
624
|
-
declare const _default_55: any
|
|
606
|
+
declare const _default_55: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
625
607
|
export { _default_55 as FoxMapping }
|
|
626
608
|
export { _default_55 as Mapping }
|
|
627
609
|
|
|
628
|
-
declare const _default_56: any
|
|
610
|
+
declare const _default_56: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
629
611
|
export { _default_56 as FoxPrice }
|
|
630
612
|
export { _default_56 as Price }
|
|
631
613
|
|
|
632
|
-
declare const _default_57: any
|
|
614
|
+
declare const _default_57: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
633
615
|
export { _default_57 as FoxIndicator }
|
|
634
616
|
export { _default_57 as Indicator }
|
|
635
617
|
|
|
636
|
-
declare const _default_58: any
|
|
618
|
+
declare const _default_58: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
637
619
|
export { _default_58 as FoxText }
|
|
638
620
|
export { _default_58 as Text }
|
|
639
621
|
|
|
640
|
-
declare const _default_59: any
|
|
622
|
+
declare const _default_59: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
641
623
|
export { _default_59 as FoxTour }
|
|
642
624
|
export { _default_59 as Tour }
|
|
643
625
|
|
|
644
|
-
declare const _default_6: any
|
|
626
|
+
declare const _default_6: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
645
627
|
export { _default_6 as FoxGroup }
|
|
646
628
|
export { _default_6 as Group }
|
|
647
629
|
|
|
648
|
-
declare const _default_60: any
|
|
630
|
+
declare const _default_60: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
649
631
|
export { _default_60 as DomainProvider }
|
|
650
632
|
export { _default_60 as FoxDomainProvider }
|
|
651
633
|
|
|
652
|
-
declare const _default_61: any
|
|
634
|
+
declare const _default_61: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
653
635
|
export { _default_61 as FoxRollingProvider }
|
|
654
636
|
export { _default_61 as RollingProvider }
|
|
655
637
|
|
|
656
|
-
declare const _default_7: any
|
|
638
|
+
declare const _default_7: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
657
639
|
export { _default_7 as FoxItem }
|
|
658
640
|
export { _default_7 as Item }
|
|
659
641
|
|
|
660
|
-
declare const _default_8: any
|
|
642
|
+
declare const _default_8: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
661
643
|
export { _default_8 as FoxSlotItem }
|
|
662
644
|
export { _default_8 as SlotItem }
|
|
663
645
|
|
|
664
|
-
declare const _default_9: any
|
|
646
|
+
declare const _default_9: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
665
647
|
export { _default_9 as FoxRowItem }
|
|
666
648
|
export { _default_9 as RowItem }
|
|
667
649
|
|
|
@@ -956,6 +938,8 @@ export { FoxCollapseTransition }
|
|
|
956
938
|
|
|
957
939
|
export { FoxColorPicker }
|
|
958
940
|
|
|
941
|
+
declare type FoxComponentPublicInstance = any;
|
|
942
|
+
|
|
959
943
|
export { FoxConfigProvider }
|
|
960
944
|
|
|
961
945
|
export { FoxContainer }
|
|
@@ -1104,6 +1088,80 @@ export { FoxTreeSelect }
|
|
|
1104
1088
|
|
|
1105
1089
|
export { FoxTreeV2 }
|
|
1106
1090
|
|
|
1091
|
+
/**
|
|
1092
|
+
* Fox UI
|
|
1093
|
+
*/
|
|
1094
|
+
declare interface FoxUI {
|
|
1095
|
+
/**
|
|
1096
|
+
* 版本号
|
|
1097
|
+
*/
|
|
1098
|
+
version: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* 安装
|
|
1101
|
+
* @param app
|
|
1102
|
+
* @param options
|
|
1103
|
+
*/
|
|
1104
|
+
install(app: App, options: FoxUIOptions): any;
|
|
1105
|
+
/**
|
|
1106
|
+
* 更新Layout
|
|
1107
|
+
*
|
|
1108
|
+
* @param options
|
|
1109
|
+
* @param rootDomain
|
|
1110
|
+
*/
|
|
1111
|
+
updateLayout(options: FoxUIOptions, rootDomain?: Domain): void;
|
|
1112
|
+
/**
|
|
1113
|
+
* 设置scope getter
|
|
1114
|
+
* @param getter
|
|
1115
|
+
*/
|
|
1116
|
+
setScopeGetter(getter: ScopeGetter): void;
|
|
1117
|
+
/**
|
|
1118
|
+
* 设置API
|
|
1119
|
+
* @param name
|
|
1120
|
+
* @param func
|
|
1121
|
+
* @param scope
|
|
1122
|
+
*/
|
|
1123
|
+
setAPI(name: string, func: any, scope?: string): void;
|
|
1124
|
+
/**
|
|
1125
|
+
* 获取API
|
|
1126
|
+
* @param proxy
|
|
1127
|
+
* @param name
|
|
1128
|
+
* @param scope
|
|
1129
|
+
*/
|
|
1130
|
+
getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
|
|
1131
|
+
/**
|
|
1132
|
+
* 批量增加api
|
|
1133
|
+
* @param apis
|
|
1134
|
+
* @param scope
|
|
1135
|
+
*/
|
|
1136
|
+
batchSetAPI(apis: Record<string, any>, scope?: string): void;
|
|
1137
|
+
/**
|
|
1138
|
+
* 清空scope apis
|
|
1139
|
+
* @param scope
|
|
1140
|
+
*/
|
|
1141
|
+
clearScopeAPI(scope: string): void;
|
|
1142
|
+
/**
|
|
1143
|
+
* 获取root domain
|
|
1144
|
+
*/
|
|
1145
|
+
getRootDomain(): Domain;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* UI Options
|
|
1150
|
+
*/
|
|
1151
|
+
declare interface FoxUIOptions {
|
|
1152
|
+
install?: boolean;
|
|
1153
|
+
componentPrefix?: string;
|
|
1154
|
+
headerBarHeight?: number;
|
|
1155
|
+
footerBarHeight?: number;
|
|
1156
|
+
safeAreaInset?: SafeAreaInset;
|
|
1157
|
+
pageLayout?: PageLayout;
|
|
1158
|
+
headerPadding?: Rect;
|
|
1159
|
+
contentPadding?: Rect;
|
|
1160
|
+
groupLayout?: GroupLayout;
|
|
1161
|
+
labelWidth?: number | string;
|
|
1162
|
+
[propName: string]: any;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1107
1165
|
/**
|
|
1108
1166
|
* Fox UI vue实例
|
|
1109
1167
|
*/
|
|
@@ -1241,6 +1299,16 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
|
|
|
1241
1299
|
*/
|
|
1242
1300
|
export declare function getRootDomain(): Domain;
|
|
1243
1301
|
|
|
1302
|
+
/**
|
|
1303
|
+
* Layout信息接口
|
|
1304
|
+
*/
|
|
1305
|
+
declare interface GroupLayout {
|
|
1306
|
+
type?: string;
|
|
1307
|
+
width?: number | string;
|
|
1308
|
+
column?: number;
|
|
1309
|
+
gutter?: number | string;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1244
1312
|
/**
|
|
1245
1313
|
* 是否支持symbol
|
|
1246
1314
|
*/
|
|
@@ -1253,6 +1321,30 @@ declare const HintTextFunction: HintTextTooltip;
|
|
|
1253
1321
|
export { HintTextFunction as FoxHintText }
|
|
1254
1322
|
export { HintTextFunction as HintText }
|
|
1255
1323
|
|
|
1324
|
+
/**
|
|
1325
|
+
* HintTextTooltip
|
|
1326
|
+
*/
|
|
1327
|
+
declare interface HintTextTooltip {
|
|
1328
|
+
/**
|
|
1329
|
+
* 显示
|
|
1330
|
+
* @param reference
|
|
1331
|
+
* @param message
|
|
1332
|
+
* @param opts
|
|
1333
|
+
* @param only
|
|
1334
|
+
* @returns
|
|
1335
|
+
*/
|
|
1336
|
+
show(reference: HTMLElement, message: string, opts: Record<string, any>, only?: boolean): string;
|
|
1337
|
+
/**
|
|
1338
|
+
* 隐藏
|
|
1339
|
+
* @param id
|
|
1340
|
+
*/
|
|
1341
|
+
hide(id?: string): void;
|
|
1342
|
+
/**
|
|
1343
|
+
* 额外属性
|
|
1344
|
+
*/
|
|
1345
|
+
[propName: string]: any;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1256
1348
|
declare type Icons = {
|
|
1257
1349
|
headerbar: {
|
|
1258
1350
|
Left?: any;
|
|
@@ -1288,13 +1380,13 @@ export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
|
1288
1380
|
* 获取是否为虚拟页面范围
|
|
1289
1381
|
* @param defaultValue
|
|
1290
1382
|
*/
|
|
1291
|
-
export declare function injectAbstractPageScope(defaultValue?: boolean):
|
|
1383
|
+
export declare function injectAbstractPageScope(defaultValue?: boolean): boolean;
|
|
1292
1384
|
|
|
1293
1385
|
/**
|
|
1294
1386
|
* 获取是否为内部页面范围
|
|
1295
1387
|
* @param defaultValue
|
|
1296
1388
|
*/
|
|
1297
|
-
export declare function injectInnerPageScope(defaultValue?: boolean):
|
|
1389
|
+
export declare function injectInnerPageScope(defaultValue?: boolean): boolean;
|
|
1298
1390
|
|
|
1299
1391
|
/**
|
|
1300
1392
|
* inner page scope key(内部页面,默认适配父亲容器尺寸,not watch resize)
|
|
@@ -1338,6 +1430,13 @@ export declare const isBrowser: boolean;
|
|
|
1338
1430
|
*/
|
|
1339
1431
|
export declare const isDate: (val: unknown) => val is Date;
|
|
1340
1432
|
|
|
1433
|
+
/**
|
|
1434
|
+
* 是否display none
|
|
1435
|
+
* @param el
|
|
1436
|
+
* @returns
|
|
1437
|
+
*/
|
|
1438
|
+
export declare function isDisplayNone(el: HTMLElement): boolean;
|
|
1439
|
+
|
|
1341
1440
|
/**
|
|
1342
1441
|
* 是否空字符串
|
|
1343
1442
|
* @param v
|
|
@@ -1554,10 +1653,10 @@ export declare function overrideGlobalValidateHandler(validateHandler: Partial<V
|
|
|
1554
1653
|
* padding
|
|
1555
1654
|
*/
|
|
1556
1655
|
export declare interface Padding {
|
|
1557
|
-
left: number | null;
|
|
1558
|
-
top: number | null;
|
|
1559
|
-
right: number | null;
|
|
1560
|
-
bottom: number | null;
|
|
1656
|
+
left: number | string | null;
|
|
1657
|
+
top: number | string | null;
|
|
1658
|
+
right: number | string | null;
|
|
1659
|
+
bottom: number | string | null;
|
|
1561
1660
|
}
|
|
1562
1661
|
|
|
1563
1662
|
/**
|
|
@@ -1568,9 +1667,9 @@ export declare interface PageLayout {
|
|
|
1568
1667
|
height?: number | string;
|
|
1569
1668
|
headerHeight?: number | string;
|
|
1570
1669
|
footerHeight?: number | string;
|
|
1571
|
-
headerPadding?: Padding
|
|
1572
|
-
footerPadding?: Padding
|
|
1573
|
-
contentPadding?: Padding
|
|
1670
|
+
headerPadding?: Partial<Padding>;
|
|
1671
|
+
footerPadding?: Partial<Padding>;
|
|
1672
|
+
contentPadding?: Partial<Padding>;
|
|
1574
1673
|
}
|
|
1575
1674
|
|
|
1576
1675
|
/**
|
|
@@ -1653,7 +1752,17 @@ export declare const raf: any;
|
|
|
1653
1752
|
*/
|
|
1654
1753
|
export declare function readonlyProperty(source: Ref): Ref;
|
|
1655
1754
|
|
|
1755
|
+
/**
|
|
1756
|
+
* Rect类型
|
|
1757
|
+
*/
|
|
1656
1758
|
declare interface Rect {
|
|
1759
|
+
left: number;
|
|
1760
|
+
top: number;
|
|
1761
|
+
right: number;
|
|
1762
|
+
bottom: number;
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
declare interface Rect_2 {
|
|
1657
1766
|
top: number;
|
|
1658
1767
|
left: number;
|
|
1659
1768
|
right: number;
|
|
@@ -1687,6 +1796,13 @@ export declare interface SafeAreaInset {
|
|
|
1687
1796
|
bottom: number | string;
|
|
1688
1797
|
}
|
|
1689
1798
|
|
|
1799
|
+
/**
|
|
1800
|
+
* scope getter
|
|
1801
|
+
*/
|
|
1802
|
+
declare interface ScopeGetter {
|
|
1803
|
+
(proxy: ComponentPublicInstance): string | null;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1690
1806
|
/**
|
|
1691
1807
|
* 设置公共校验检查事件
|
|
1692
1808
|
* @param events
|
|
@@ -1733,6 +1849,18 @@ declare interface Size {
|
|
|
1733
1849
|
*/
|
|
1734
1850
|
export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
|
|
1735
1851
|
|
|
1852
|
+
declare const ToastFunction: {
|
|
1853
|
+
text(msg: string, opts?: {}): /*elided*/ any;
|
|
1854
|
+
success(msg: string, opts?: {}): /*elided*/ any;
|
|
1855
|
+
fail(msg: string, opts?: {}): /*elided*/ any;
|
|
1856
|
+
warn(msg: string, opts?: {}): /*elided*/ any;
|
|
1857
|
+
loading(msg: string, opts?: {}): /*elided*/ any;
|
|
1858
|
+
hide(id?: string): void;
|
|
1859
|
+
install(app: any): void;
|
|
1860
|
+
};
|
|
1861
|
+
export { ToastFunction as FoxToast }
|
|
1862
|
+
export { ToastFunction as Toast }
|
|
1863
|
+
|
|
1736
1864
|
/**
|
|
1737
1865
|
* 转换为boolean值
|
|
1738
1866
|
* @param val
|
|
@@ -1908,7 +2036,7 @@ export declare function useRawTouch(): {
|
|
|
1908
2036
|
};
|
|
1909
2037
|
};
|
|
1910
2038
|
|
|
1911
|
-
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) =>
|
|
2039
|
+
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
|
|
1912
2040
|
|
|
1913
2041
|
/**
|
|
1914
2042
|
* 获取size
|
|
@@ -1934,17 +2062,17 @@ export declare function useTouch(): {
|
|
|
1934
2062
|
move: EventListener;
|
|
1935
2063
|
start: EventListener;
|
|
1936
2064
|
reset: () => void;
|
|
1937
|
-
startX:
|
|
1938
|
-
startY:
|
|
1939
|
-
startTime:
|
|
1940
|
-
duration:
|
|
1941
|
-
moveX:
|
|
1942
|
-
moveY:
|
|
1943
|
-
deltaX:
|
|
1944
|
-
deltaY:
|
|
1945
|
-
offsetX:
|
|
1946
|
-
offsetY:
|
|
1947
|
-
direction:
|
|
2065
|
+
startX: Ref<number, number>;
|
|
2066
|
+
startY: Ref<number, number>;
|
|
2067
|
+
startTime: Ref<number, number>;
|
|
2068
|
+
duration: Ref<number, number>;
|
|
2069
|
+
moveX: Ref<number, number>;
|
|
2070
|
+
moveY: Ref<number, number>;
|
|
2071
|
+
deltaX: Ref<number, number>;
|
|
2072
|
+
deltaY: Ref<number, number>;
|
|
2073
|
+
offsetX: Ref<number, number>;
|
|
2074
|
+
offsetY: Ref<number, number>;
|
|
2075
|
+
direction: Ref<Direction, Direction>;
|
|
1948
2076
|
isVertical: () => boolean;
|
|
1949
2077
|
isHorizontal: () => boolean;
|
|
1950
2078
|
};
|