@fox-js/foxui-pad 4.0.1-12 → 4.0.1-14
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 +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +5991 -4937
- package/dist/index.umd.js +5 -5
- package/dist/locale/index.esm.js +4 -4
- package/dist/locale/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +216 -269
- package/package.json +13 -15
- package/dist/locale/index.d.ts +0 -398
package/dist/types/index.d.ts
CHANGED
|
@@ -1,120 +1,117 @@
|
|
|
1
|
-
import type { AllowedComponentProps } from 'vue';
|
|
2
1
|
import { App } from 'vue';
|
|
3
2
|
import { compareTo } from '@fox-js/big-decimal';
|
|
4
|
-
import type { ComponentCustomProps } from 'vue';
|
|
5
3
|
import { ComponentInternalInstance } from 'vue';
|
|
6
|
-
import type { ComponentOptionsMixin } from 'vue';
|
|
7
4
|
import { ComponentPublicInstance } from 'vue';
|
|
8
|
-
import type { ComputedOptions } from 'vue';
|
|
9
|
-
import type { DefineComponent } from 'vue';
|
|
10
5
|
import { divide } from '@fox-js/big-decimal';
|
|
11
6
|
import { ExecuteValidator } from '@fox-js/validator';
|
|
12
|
-
import { ElAffix as FoxAffix } from '
|
|
13
|
-
import { ElAlert as FoxAlert } from '
|
|
14
|
-
import { ElAside as FoxAside } from '
|
|
15
|
-
import { ElAutocomplete as FoxAutocomplete } from '
|
|
16
|
-
import { ElAutoResizer as FoxAutoResizer } from '
|
|
17
|
-
import { ElAvatar as FoxAvatar } from '
|
|
18
|
-
import { ElBacktop as FoxBacktop } from '
|
|
19
|
-
import { ElBadge as FoxBadge } from '
|
|
20
|
-
import { ElBreadcrumb as FoxBreadcrumb } from '
|
|
21
|
-
import { ElBreadcrumbItem as FoxBreadcrumbItem } from '
|
|
22
|
-
import { ElButton as FoxButton } from '
|
|
23
|
-
import { ElButtonGroup as FoxButtonGroup } from '
|
|
24
|
-
import { ElCalendar as FoxCalendar } from '
|
|
25
|
-
import { ElCard as FoxCard } from '
|
|
26
|
-
import { ElCarousel as FoxCarousel } from '
|
|
27
|
-
import { ElCarouselItem as FoxCarouselItem } from '
|
|
28
|
-
import { ElCascader as FoxCascader } from '
|
|
29
|
-
import { ElCascaderPanel as FoxCascaderPanel } from '
|
|
30
|
-
import { ElCheckbox as FoxCheckbox } from '
|
|
31
|
-
import { ElCheckboxButton as FoxCheckboxButton } from '
|
|
32
|
-
import { ElCheckboxGroup as FoxCheckboxGroup } from '
|
|
33
|
-
import { ElCheckTag as FoxCheckTag } from '
|
|
34
|
-
import { ElCol as FoxCol } from '
|
|
35
|
-
import { ElCollapse as FoxCollapse } from '
|
|
36
|
-
import { ElCollapseItem as FoxCollapseItem } from '
|
|
37
|
-
import { ElCollapseTransition as FoxCollapseTransition } from '
|
|
38
|
-
import { ElColorPicker as FoxColorPicker } from '
|
|
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
|
|
7
|
+
import { ElAffix as FoxAffix } from './base';
|
|
8
|
+
import { ElAlert as FoxAlert } from './base';
|
|
9
|
+
import { ElAside as FoxAside } from './base';
|
|
10
|
+
import { ElAutocomplete as FoxAutocomplete } from './base';
|
|
11
|
+
import { ElAutoResizer as FoxAutoResizer } from './base';
|
|
12
|
+
import { ElAvatar as FoxAvatar } from './base';
|
|
13
|
+
import { ElBacktop as FoxBacktop } from './base';
|
|
14
|
+
import { ElBadge as FoxBadge } from './base';
|
|
15
|
+
import { ElBreadcrumb as FoxBreadcrumb } from './base';
|
|
16
|
+
import { ElBreadcrumbItem as FoxBreadcrumbItem } from './base';
|
|
17
|
+
import { ElButton as FoxButton } from './base';
|
|
18
|
+
import { ElButtonGroup as FoxButtonGroup } from './base';
|
|
19
|
+
import { ElCalendar as FoxCalendar } from './base';
|
|
20
|
+
import { ElCard as FoxCard } from './base';
|
|
21
|
+
import { ElCarousel as FoxCarousel } from './base';
|
|
22
|
+
import { ElCarouselItem as FoxCarouselItem } from './base';
|
|
23
|
+
import { ElCascader as FoxCascader } from './base';
|
|
24
|
+
import { ElCascaderPanel as FoxCascaderPanel } from './base';
|
|
25
|
+
import { ElCheckbox as FoxCheckbox } from './base';
|
|
26
|
+
import { ElCheckboxButton as FoxCheckboxButton } from './base';
|
|
27
|
+
import { ElCheckboxGroup as FoxCheckboxGroup } from './base';
|
|
28
|
+
import { ElCheckTag as FoxCheckTag } from './base';
|
|
29
|
+
import { ElCol as FoxCol } from './base';
|
|
30
|
+
import { ElCollapse as FoxCollapse } from './base';
|
|
31
|
+
import { ElCollapseItem as FoxCollapseItem } from './base';
|
|
32
|
+
import { ElCollapseTransition as FoxCollapseTransition } from './base';
|
|
33
|
+
import { ElColorPicker as FoxColorPicker } from './base';
|
|
34
|
+
import { FoxComponentPublicInstance } from './types';
|
|
35
|
+
import { ElConfigProvider as FoxConfigProvider } from './base';
|
|
36
|
+
import { ElContainer as FoxContainer } from './base';
|
|
37
|
+
import { ElDatePicker as FoxDatePicker } from './base';
|
|
38
|
+
import { ElDescriptions as FoxDescriptions } from './base';
|
|
39
|
+
import { ElDescriptionsItem as FoxDescriptionsItem } from './base';
|
|
40
|
+
import { ElDialog as FoxDialog } from './base';
|
|
41
|
+
import { ElDivider as FoxDivider } from './base';
|
|
42
|
+
import { ElDrawer as FoxDrawer } from './base';
|
|
43
|
+
import { ElDropdown as FoxDropdown } from './base';
|
|
44
|
+
import { ElDropdownItem as FoxDropdownItem } from './base';
|
|
45
|
+
import { ElDropdownMenu as FoxDropdownMenu } from './base';
|
|
46
|
+
import { ElEmpty as FoxEmpty } from './base';
|
|
47
|
+
import { ElFooter as FoxFooter } from './base';
|
|
48
|
+
import { ElForm as FoxForm } from './base';
|
|
49
|
+
import { ElFormItem as FoxFormItem } from './base';
|
|
50
|
+
import { ElHeader as FoxHeader } from './base';
|
|
51
|
+
import { ElIcon as FoxIcon } from './base';
|
|
52
|
+
import { ElImage as FoxImage } from './base';
|
|
53
|
+
import { ElImageViewer as FoxImageViewer } from './base';
|
|
54
|
+
import { ElInput as FoxInput } from './base';
|
|
55
|
+
import { ElInputNumber as FoxInputNumber } from './base';
|
|
56
|
+
import { ElLink as FoxLink } from './base';
|
|
57
|
+
import { ElMain as FoxMain } from './base';
|
|
58
|
+
import { ElMenu as FoxMenu } from './base';
|
|
59
|
+
import { ElMenuItem as FoxMenuItem } from './base';
|
|
60
|
+
import { ElMenuItemGroup as FoxMenuItemGroup } from './base';
|
|
61
|
+
import { ElOption as FoxOption } from './base';
|
|
62
|
+
import { ElOptionGroup as FoxOptionGroup } from './base';
|
|
63
|
+
import { ElPageHeader as FoxPageHeader } from './base';
|
|
64
|
+
import { ElPagination as FoxPagination } from './base';
|
|
65
|
+
import { ElPopconfirm as FoxPopconfirm } from './base';
|
|
66
|
+
import { ElPopover as FoxPopover } from './base';
|
|
67
|
+
import { ElPopper as FoxPopper } from './base';
|
|
68
|
+
import { ElProgress as FoxProgress } from './base';
|
|
69
|
+
import { ElRadio as FoxRadio } from './base';
|
|
70
|
+
import { ElRadioButton as FoxRadioButton } from './base';
|
|
71
|
+
import { ElRadioGroup as FoxRadioGroup } from './base';
|
|
72
|
+
import { ElRate as FoxRate } from './base';
|
|
73
|
+
import { ElResult as FoxResult } from './base';
|
|
74
|
+
import { ElRow as FoxRow } from './base';
|
|
75
|
+
import { ElScrollbar as FoxScrollbar } from './base';
|
|
76
|
+
import { ElSelect as FoxSelect } from './base';
|
|
77
|
+
import { ElSelectV2 as FoxSelectV2 } from './base';
|
|
78
|
+
import { ElSkeleton as FoxSkeleton } from './base';
|
|
79
|
+
import { ElSkeletonItem as FoxSkeletonItem } from './base';
|
|
80
|
+
import { ElSlider as FoxSlider } from './base';
|
|
81
|
+
import { ElSpace as FoxSpace } from './base';
|
|
82
|
+
import { ElStep as FoxStep } from './base';
|
|
83
|
+
import { ElSteps as FoxSteps } from './base';
|
|
84
|
+
import { ElSubMenu as FoxSubMenu } from './base';
|
|
85
|
+
import { ElSwitch as FoxSwitch } from './base';
|
|
86
|
+
import { ElTable as FoxTable } from './base';
|
|
87
|
+
import { ElTableColumn as FoxTableColumn } from './base';
|
|
88
|
+
import { ElTableV2 as FoxTableV2 } from './base';
|
|
89
|
+
import { ElTabPane as FoxTabPane } from './base';
|
|
90
|
+
import { ElTabs as FoxTabs } from './base';
|
|
91
|
+
import { ElTag as FoxTag } from './base';
|
|
92
|
+
import { ElTimeline as FoxTimeline } from './base';
|
|
93
|
+
import { ElTimelineItem as FoxTimelineItem } from './base';
|
|
94
|
+
import { ElTimePicker as FoxTimePicker } from './base';
|
|
95
|
+
import { ElTimeSelect as FoxTimeSelect } from './base';
|
|
96
|
+
import { ElTooltip as FoxTooltip } from './base';
|
|
97
|
+
import { ElTransfer as FoxTransfer } from './base';
|
|
98
|
+
import { ElTree as FoxTree } from './base';
|
|
99
|
+
import { ElTreeSelect as FoxTreeSelect } from './base';
|
|
100
|
+
import { ElTreeV2 as FoxTreeV2 } from './base';
|
|
101
|
+
import { FoxUI } from './interface';
|
|
102
|
+
import { FoxUIOptions } from './interface';
|
|
103
|
+
import { ElUpload as FoxUpload } from './base';
|
|
107
104
|
import { multiply } from '@fox-js/big-decimal';
|
|
108
105
|
import { negate } from '@fox-js/big-decimal';
|
|
109
106
|
import { numberFormat } from '@fox-js/big-decimal';
|
|
110
107
|
import { Ref } from 'vue';
|
|
111
108
|
import { Rule } from '@fox-js/validator';
|
|
109
|
+
import { ScopeGetter } from './api';
|
|
112
110
|
import { unNumberFormat } from '@fox-js/big-decimal';
|
|
113
111
|
import { UnwrapNestedRefs } from 'vue';
|
|
114
112
|
import { UnwrapRef } from 'vue';
|
|
115
113
|
import { ValidateMessages } from '@fox-js/validator';
|
|
116
114
|
import { ValidateResult } from '@fox-js/validator';
|
|
117
|
-
import type { VNodeProps } from 'vue';
|
|
118
115
|
|
|
119
116
|
/**
|
|
120
117
|
* 是否接受value过滤器
|
|
@@ -123,7 +120,7 @@ export declare interface AcceptFilter {
|
|
|
123
120
|
(value: any): boolean;
|
|
124
121
|
}
|
|
125
122
|
|
|
126
|
-
export declare const AutocompleteItem:
|
|
123
|
+
export declare const AutocompleteItem: any;
|
|
127
124
|
|
|
128
125
|
/**
|
|
129
126
|
* 广播类
|
|
@@ -202,17 +199,17 @@ export declare interface BroadcastCallback {
|
|
|
202
199
|
|
|
203
200
|
export declare const BroadcastKey: unique symbol;
|
|
204
201
|
|
|
205
|
-
export declare const CalendarItem:
|
|
202
|
+
export declare const CalendarItem: any;
|
|
206
203
|
|
|
207
|
-
export declare const CalendarPicker:
|
|
204
|
+
export declare const CalendarPicker: any;
|
|
208
205
|
|
|
209
206
|
export declare function cancelRaf(id: number): void;
|
|
210
207
|
|
|
211
|
-
export declare const CascaderItem:
|
|
208
|
+
export declare const CascaderItem: any;
|
|
212
209
|
|
|
213
|
-
export declare const CascaderPicker:
|
|
210
|
+
export declare const CascaderPicker: any;
|
|
214
211
|
|
|
215
|
-
export declare const CheckboxItem:
|
|
212
|
+
export declare const CheckboxItem: any;
|
|
216
213
|
|
|
217
214
|
/**
|
|
218
215
|
* 清理非数字
|
|
@@ -231,7 +228,7 @@ export declare function clone(target: any, source: any, plain?: boolean): any;
|
|
|
231
228
|
|
|
232
229
|
export { compareTo }
|
|
233
230
|
|
|
234
|
-
export declare const Content:
|
|
231
|
+
export declare const Content: any;
|
|
235
232
|
|
|
236
233
|
/**
|
|
237
234
|
* 创建broadcast
|
|
@@ -258,9 +255,9 @@ export declare function createValidateSchema(proxy: FoxComponentPublicInstance,
|
|
|
258
255
|
*/
|
|
259
256
|
export declare const DataItemsKey: unique symbol;
|
|
260
257
|
|
|
261
|
-
export declare const DateItem:
|
|
258
|
+
export declare const DateItem: any;
|
|
262
259
|
|
|
263
|
-
export declare const DatePicker:
|
|
260
|
+
export declare const DatePicker: any;
|
|
264
261
|
|
|
265
262
|
export declare const DateUtils: {
|
|
266
263
|
/**
|
|
@@ -309,9 +306,10 @@ export declare const DateUtils: {
|
|
|
309
306
|
/**
|
|
310
307
|
* 返回日期格式字符串
|
|
311
308
|
* @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
|
|
309
|
+
* @param {Date} 起点日期
|
|
312
310
|
* @return {string} '2014-12-31'
|
|
313
311
|
*/
|
|
314
|
-
getDay(i: number): string;
|
|
312
|
+
getDay(i: number, startDate?: Date): string;
|
|
315
313
|
/**
|
|
316
314
|
* 时间比较
|
|
317
315
|
* @return
|
|
@@ -341,7 +339,7 @@ export declare const DateUtils: {
|
|
|
341
339
|
*/
|
|
342
340
|
getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
|
|
343
341
|
/**
|
|
344
|
-
* get
|
|
342
|
+
* get week date
|
|
345
343
|
*/
|
|
346
344
|
getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
|
|
347
345
|
/**
|
|
@@ -459,9 +457,7 @@ export declare interface Descriptor {
|
|
|
459
457
|
validateResetEvents?: string[];
|
|
460
458
|
}
|
|
461
459
|
|
|
462
|
-
export declare const DialogItem:
|
|
463
|
-
|
|
464
|
-
declare type Direction = '' | 'vertical' | 'horizontal';
|
|
460
|
+
export declare const DialogItem: any;
|
|
465
461
|
|
|
466
462
|
/**
|
|
467
463
|
* 禁用属性
|
|
@@ -580,7 +576,7 @@ export declare interface DomainItem {
|
|
|
580
576
|
*/
|
|
581
577
|
export declare const DomainKey: unique symbol;
|
|
582
578
|
|
|
583
|
-
export declare const DomainProvider:
|
|
579
|
+
export declare const DomainProvider: any;
|
|
584
580
|
|
|
585
581
|
/**
|
|
586
582
|
* event listener
|
|
@@ -604,13 +600,15 @@ export declare function excludeProps(src: Record<string, any>, ...excludeTemplat
|
|
|
604
600
|
*/
|
|
605
601
|
export declare function extend(...args: any[]): any;
|
|
606
602
|
|
|
607
|
-
export declare const ExtTabPane:
|
|
603
|
+
export declare const ExtTabPane: any;
|
|
608
604
|
|
|
609
|
-
export declare const ExtTabs:
|
|
605
|
+
export declare const ExtTabs: any;
|
|
610
606
|
|
|
611
607
|
export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
|
|
612
608
|
|
|
613
|
-
export declare const
|
|
609
|
+
export declare const FloatingWindow: any;
|
|
610
|
+
|
|
611
|
+
export declare const FooterBar: any;
|
|
614
612
|
|
|
615
613
|
export { FoxAffix }
|
|
616
614
|
|
|
@@ -666,8 +664,6 @@ export { FoxCollapseTransition }
|
|
|
666
664
|
|
|
667
665
|
export { FoxColorPicker }
|
|
668
666
|
|
|
669
|
-
declare type FoxComponentPublicInstance = any;
|
|
670
|
-
|
|
671
667
|
export { FoxConfigProvider }
|
|
672
668
|
|
|
673
669
|
export { FoxContainer }
|
|
@@ -800,79 +796,6 @@ export { FoxTreeSelect }
|
|
|
800
796
|
|
|
801
797
|
export { FoxTreeV2 }
|
|
802
798
|
|
|
803
|
-
/**
|
|
804
|
-
* Fox UI
|
|
805
|
-
*/
|
|
806
|
-
declare interface FoxUI {
|
|
807
|
-
/**
|
|
808
|
-
* 版本号
|
|
809
|
-
*/
|
|
810
|
-
version: string;
|
|
811
|
-
/**
|
|
812
|
-
* 安装
|
|
813
|
-
* @param app
|
|
814
|
-
* @param options
|
|
815
|
-
*/
|
|
816
|
-
install(app: App, options: FoxUIOptions): any;
|
|
817
|
-
/**
|
|
818
|
-
* 初始化page Layout
|
|
819
|
-
*
|
|
820
|
-
* @param options
|
|
821
|
-
* @param rootDomain
|
|
822
|
-
*/
|
|
823
|
-
initPageLayout(options: FoxUIOptions, rootDomain?: Domain): void;
|
|
824
|
-
/**
|
|
825
|
-
* 设置scope getter
|
|
826
|
-
* @param getter
|
|
827
|
-
*/
|
|
828
|
-
setScopeGetter(getter: ScopeGetter): void;
|
|
829
|
-
/**
|
|
830
|
-
* 设置API
|
|
831
|
-
* @param name
|
|
832
|
-
* @param func
|
|
833
|
-
* @param scope
|
|
834
|
-
*/
|
|
835
|
-
setAPI(name: string, func: any, scope?: string): void;
|
|
836
|
-
/**
|
|
837
|
-
* 获取API
|
|
838
|
-
* @param proxy
|
|
839
|
-
* @param name
|
|
840
|
-
* @param scope
|
|
841
|
-
*/
|
|
842
|
-
getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
|
|
843
|
-
/**
|
|
844
|
-
* 批量增加api
|
|
845
|
-
* @param apis
|
|
846
|
-
* @param scope
|
|
847
|
-
*/
|
|
848
|
-
batchSetAPI(apis: Record<string, any>, scope?: string): void;
|
|
849
|
-
/**
|
|
850
|
-
* 清空scope apis
|
|
851
|
-
* @param scope
|
|
852
|
-
*/
|
|
853
|
-
clearScopeAPI(scope: string): void;
|
|
854
|
-
/**
|
|
855
|
-
* 获取root domain
|
|
856
|
-
*/
|
|
857
|
-
getRootDomain(): Domain;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
* UI Options
|
|
862
|
-
*/
|
|
863
|
-
declare interface FoxUIOptions {
|
|
864
|
-
install?: boolean;
|
|
865
|
-
headerBarHeight?: number;
|
|
866
|
-
footerBarHeight?: number;
|
|
867
|
-
safeAreaInset?: SafeAreaInset;
|
|
868
|
-
pageLayout?: PageLayout;
|
|
869
|
-
headerPadding?: Rect;
|
|
870
|
-
contentPadding?: Rect;
|
|
871
|
-
groupLayout?: GroupLayout;
|
|
872
|
-
labelWidth?: number | string;
|
|
873
|
-
[propName: string]: any;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
799
|
/**
|
|
877
800
|
* Fox UI vue实例
|
|
878
801
|
*/
|
|
@@ -1002,26 +925,16 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
|
|
|
1002
925
|
*/
|
|
1003
926
|
export declare function getRootDomain(): Domain;
|
|
1004
927
|
|
|
1005
|
-
export declare const Group:
|
|
1006
|
-
|
|
1007
|
-
/**
|
|
1008
|
-
* Layout信息接口
|
|
1009
|
-
*/
|
|
1010
|
-
declare interface GroupLayout {
|
|
1011
|
-
type: string;
|
|
1012
|
-
width: number;
|
|
1013
|
-
column: number;
|
|
1014
|
-
gutter: number;
|
|
1015
|
-
}
|
|
928
|
+
export declare const Group: any;
|
|
1016
929
|
|
|
1017
930
|
/**
|
|
1018
931
|
* 是否支持symbol
|
|
1019
932
|
*/
|
|
1020
933
|
export declare const hasSymbol: boolean;
|
|
1021
934
|
|
|
1022
|
-
export declare const HeaderBar:
|
|
935
|
+
export declare const HeaderBar: any;
|
|
1023
936
|
|
|
1024
|
-
export declare const HintText:
|
|
937
|
+
export declare const HintText: any;
|
|
1025
938
|
|
|
1026
939
|
/**
|
|
1027
940
|
* 根据包含模版,抽取属性
|
|
@@ -1039,11 +952,11 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
|
|
|
1039
952
|
*/
|
|
1040
953
|
export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
1041
954
|
|
|
1042
|
-
export declare const Indicator:
|
|
955
|
+
export declare const Indicator: any;
|
|
1043
956
|
|
|
1044
|
-
export declare const InputItem:
|
|
957
|
+
export declare const InputItem: any;
|
|
1045
958
|
|
|
1046
|
-
export declare const InputNumberItem:
|
|
959
|
+
export declare const InputNumberItem: any;
|
|
1047
960
|
|
|
1048
961
|
/**
|
|
1049
962
|
* 安装函数
|
|
@@ -1062,7 +975,7 @@ export declare function installRules(proxy: FoxComponentPublicInstance, validate
|
|
|
1062
975
|
* 获取整数长度
|
|
1063
976
|
* @param value
|
|
1064
977
|
*/
|
|
1065
|
-
export declare function integerLength(
|
|
978
|
+
export declare function integerLength(v: string | number): number;
|
|
1066
979
|
|
|
1067
980
|
/**
|
|
1068
981
|
* 是否数组
|
|
@@ -1093,7 +1006,7 @@ export declare const isDate: (val: unknown) => val is Date;
|
|
|
1093
1006
|
* @param v
|
|
1094
1007
|
* @returns
|
|
1095
1008
|
*/
|
|
1096
|
-
export declare const isEmptyString: (v: unknown) =>
|
|
1009
|
+
export declare const isEmptyString: (v: unknown) => v is "";
|
|
1097
1010
|
|
|
1098
1011
|
/**
|
|
1099
1012
|
* 判断两个对象是否一致
|
|
@@ -1139,12 +1052,17 @@ export declare function isInnerPage(domain: Domain, proxy: any): boolean;
|
|
|
1139
1052
|
*/
|
|
1140
1053
|
export declare const isMap: (val: unknown) => val is Map<any, any>;
|
|
1141
1054
|
|
|
1055
|
+
/**
|
|
1056
|
+
* 是否null/undefined对象
|
|
1057
|
+
*/
|
|
1058
|
+
export declare function isNil(v: unknown): v is null | undefined;
|
|
1059
|
+
|
|
1142
1060
|
/**
|
|
1143
1061
|
* 是否为数字字符串
|
|
1144
1062
|
* @param value
|
|
1145
1063
|
* @returns
|
|
1146
1064
|
*/
|
|
1147
|
-
export declare function isNumberString(
|
|
1065
|
+
export declare function isNumberString(v: string): v is string;
|
|
1148
1066
|
|
|
1149
1067
|
/**
|
|
1150
1068
|
* 是否为object
|
|
@@ -1205,7 +1123,7 @@ export declare const isSymbol: (val: unknown) => val is symbol;
|
|
|
1205
1123
|
*/
|
|
1206
1124
|
export declare function isWindow(obj: any): boolean;
|
|
1207
1125
|
|
|
1208
|
-
export declare const Item:
|
|
1126
|
+
export declare const Item: any;
|
|
1209
1127
|
|
|
1210
1128
|
/**
|
|
1211
1129
|
* 获取对应元素的在数组中最后一个匹配的索引
|
|
@@ -1223,7 +1141,7 @@ export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
|
|
|
1223
1141
|
*/
|
|
1224
1142
|
export declare function makeArray(arr: any, results?: any[]): any[];
|
|
1225
1143
|
|
|
1226
|
-
export declare const Mapping:
|
|
1144
|
+
export declare const Mapping: any;
|
|
1227
1145
|
|
|
1228
1146
|
/**
|
|
1229
1147
|
* 匹配条件
|
|
@@ -1244,9 +1162,9 @@ export declare interface Matched {
|
|
|
1244
1162
|
*/
|
|
1245
1163
|
export declare function merge(first: any[], second: any[]): any[];
|
|
1246
1164
|
|
|
1247
|
-
export declare const MoneyItem:
|
|
1165
|
+
export declare const MoneyItem: any;
|
|
1248
1166
|
|
|
1249
|
-
export declare const MoreButton:
|
|
1167
|
+
export declare const MoreButton: any;
|
|
1250
1168
|
|
|
1251
1169
|
export { multiply }
|
|
1252
1170
|
|
|
@@ -1275,7 +1193,7 @@ export declare const objectToString: () => string;
|
|
|
1275
1193
|
*/
|
|
1276
1194
|
export declare function once(func: GenericFunction): GenericFunction;
|
|
1277
1195
|
|
|
1278
|
-
export declare const Overlay:
|
|
1196
|
+
export declare const Overlay: any;
|
|
1279
1197
|
|
|
1280
1198
|
/**
|
|
1281
1199
|
* padding
|
|
@@ -1287,14 +1205,14 @@ export declare interface Padding {
|
|
|
1287
1205
|
bottom: number | null;
|
|
1288
1206
|
}
|
|
1289
1207
|
|
|
1290
|
-
export declare const Page:
|
|
1208
|
+
export declare const Page: any;
|
|
1291
1209
|
|
|
1292
1210
|
/**
|
|
1293
1211
|
* page layout
|
|
1294
1212
|
*/
|
|
1295
1213
|
export declare interface PageLayout {
|
|
1296
1214
|
width: number | string;
|
|
1297
|
-
height
|
|
1215
|
+
height: number | string;
|
|
1298
1216
|
headerHeight: number | string;
|
|
1299
1217
|
footerHeight: number | string;
|
|
1300
1218
|
headerPadding?: Padding;
|
|
@@ -1307,10 +1225,14 @@ export declare interface PageState {
|
|
|
1307
1225
|
height: number;
|
|
1308
1226
|
headerHeight: number;
|
|
1309
1227
|
headerPadding: Padding;
|
|
1228
|
+
headerAllHeight?: number;
|
|
1310
1229
|
footerHeight: number;
|
|
1311
1230
|
footerPadding: Padding;
|
|
1231
|
+
footerAllHeight?: number;
|
|
1312
1232
|
contentHeight: number | string | null;
|
|
1313
1233
|
contentPadding: Padding;
|
|
1234
|
+
contentInnerHeight?: number;
|
|
1235
|
+
contentInnerWidth?: number;
|
|
1314
1236
|
safeAreaTop: number;
|
|
1315
1237
|
safeAreaBottom: number;
|
|
1316
1238
|
safeAreaLeft: number;
|
|
@@ -1319,7 +1241,7 @@ export declare interface PageState {
|
|
|
1319
1241
|
footerMounted?: boolean;
|
|
1320
1242
|
}
|
|
1321
1243
|
|
|
1322
|
-
export declare const Picker:
|
|
1244
|
+
export declare const Picker: any;
|
|
1323
1245
|
|
|
1324
1246
|
/**
|
|
1325
1247
|
* 坐标
|
|
@@ -1329,9 +1251,9 @@ export declare interface Point {
|
|
|
1329
1251
|
y: number;
|
|
1330
1252
|
}
|
|
1331
1253
|
|
|
1332
|
-
export declare const Popup:
|
|
1254
|
+
export declare const Popup: any;
|
|
1333
1255
|
|
|
1334
|
-
export declare const Price:
|
|
1256
|
+
export declare const Price: any;
|
|
1335
1257
|
|
|
1336
1258
|
/**
|
|
1337
1259
|
* 优先策略
|
|
@@ -1350,11 +1272,11 @@ export declare enum PriorityPolicy {
|
|
|
1350
1272
|
*/
|
|
1351
1273
|
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
|
|
1352
1274
|
|
|
1353
|
-
export declare const RadioItem:
|
|
1275
|
+
export declare const RadioItem: any;
|
|
1354
1276
|
|
|
1355
1277
|
export declare const raf: any;
|
|
1356
1278
|
|
|
1357
|
-
export declare const RateItem:
|
|
1279
|
+
export declare const RateItem: any;
|
|
1358
1280
|
|
|
1359
1281
|
/**
|
|
1360
1282
|
* 只读属性
|
|
@@ -1362,17 +1284,7 @@ export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOpti
|
|
|
1362
1284
|
*/
|
|
1363
1285
|
export declare function readonlyProperty(source: Ref): Ref;
|
|
1364
1286
|
|
|
1365
|
-
/**
|
|
1366
|
-
* Rect类型
|
|
1367
|
-
*/
|
|
1368
1287
|
declare interface Rect {
|
|
1369
|
-
left: number;
|
|
1370
|
-
top: number;
|
|
1371
|
-
right: number;
|
|
1372
|
-
bottom: number;
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
declare interface Rect_2 {
|
|
1376
1288
|
top: number;
|
|
1377
1289
|
left: number;
|
|
1378
1290
|
right: number;
|
|
@@ -1391,7 +1303,9 @@ export declare type Result = Promise<any> | any;
|
|
|
1391
1303
|
*/
|
|
1392
1304
|
export declare type Results = Result[];
|
|
1393
1305
|
|
|
1394
|
-
export declare const
|
|
1306
|
+
export declare const RollingProvider: any;
|
|
1307
|
+
|
|
1308
|
+
export declare const RowItem: any;
|
|
1395
1309
|
|
|
1396
1310
|
/**
|
|
1397
1311
|
* 安全区域
|
|
@@ -1403,14 +1317,7 @@ export declare interface SafeAreaInset {
|
|
|
1403
1317
|
bottom: number | string;
|
|
1404
1318
|
}
|
|
1405
1319
|
|
|
1406
|
-
|
|
1407
|
-
* scope getter
|
|
1408
|
-
*/
|
|
1409
|
-
declare interface ScopeGetter {
|
|
1410
|
-
(proxy: ComponentPublicInstance): string | null;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
export declare const SelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1320
|
+
export declare const SelectItem: any;
|
|
1414
1321
|
|
|
1415
1322
|
/**
|
|
1416
1323
|
* 设置公共校验检查事件
|
|
@@ -1442,21 +1349,29 @@ export declare function setGlobalValidateResetEvents(events: string[]): void;
|
|
|
1442
1349
|
*/
|
|
1443
1350
|
export declare function setGlobalValidator(type: string, validator: ExecuteValidator): void;
|
|
1444
1351
|
|
|
1445
|
-
|
|
1352
|
+
/**
|
|
1353
|
+
* size
|
|
1354
|
+
*/
|
|
1355
|
+
declare interface Size {
|
|
1356
|
+
width: number;
|
|
1357
|
+
height: number;
|
|
1358
|
+
}
|
|
1446
1359
|
|
|
1447
|
-
export declare const
|
|
1360
|
+
export declare const SlotItem: any;
|
|
1448
1361
|
|
|
1449
|
-
export declare const
|
|
1362
|
+
export declare const sticky: any;
|
|
1450
1363
|
|
|
1451
|
-
export declare const
|
|
1364
|
+
export declare const SwitchItem: any;
|
|
1452
1365
|
|
|
1453
|
-
export declare const
|
|
1366
|
+
export declare const TableItem: any;
|
|
1454
1367
|
|
|
1455
|
-
export declare const
|
|
1368
|
+
export declare const TableMappingColumn: any;
|
|
1456
1369
|
|
|
1457
|
-
export declare const
|
|
1370
|
+
export declare const TableRadioColumn: any;
|
|
1458
1371
|
|
|
1459
|
-
declare const
|
|
1372
|
+
export declare const TableSetting: any;
|
|
1373
|
+
|
|
1374
|
+
declare const Text_2: any;
|
|
1460
1375
|
export { Text_2 as Text }
|
|
1461
1376
|
|
|
1462
1377
|
/**
|
|
@@ -1467,11 +1382,11 @@ export { Text_2 as Text }
|
|
|
1467
1382
|
*/
|
|
1468
1383
|
export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
|
|
1469
1384
|
|
|
1470
|
-
export declare const TimeItem:
|
|
1385
|
+
export declare const TimeItem: any;
|
|
1471
1386
|
|
|
1472
|
-
export declare const TimeSelectItem:
|
|
1387
|
+
export declare const TimeSelectItem: any;
|
|
1473
1388
|
|
|
1474
|
-
export declare const Toast:
|
|
1389
|
+
export declare const Toast: any;
|
|
1475
1390
|
|
|
1476
1391
|
/**
|
|
1477
1392
|
* 转换为boolean值
|
|
@@ -1509,7 +1424,7 @@ export declare const toPxDesc: (value: string | number, size?: number) => string
|
|
|
1509
1424
|
|
|
1510
1425
|
export declare const toTypeString: (value: unknown) => string;
|
|
1511
1426
|
|
|
1512
|
-
export declare const Tour:
|
|
1427
|
+
export declare const Tour: any;
|
|
1513
1428
|
|
|
1514
1429
|
/**
|
|
1515
1430
|
* to model value
|
|
@@ -1519,7 +1434,25 @@ export declare const Tour: DefineComponent<unknown, object, {}, ComputedOptions,
|
|
|
1519
1434
|
*/
|
|
1520
1435
|
export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
|
|
1521
1436
|
|
|
1522
|
-
export declare const TreeSelectItem:
|
|
1437
|
+
export declare const TreeSelectItem: any;
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* 尝试执行多次函数
|
|
1441
|
+
* @param func 执行函数
|
|
1442
|
+
* @param milliseconds 执行间隔
|
|
1443
|
+
* @param maxLimit 最大尝试次数
|
|
1444
|
+
* @param step 间隔增加步长
|
|
1445
|
+
* @param immediately 是否立刻执行
|
|
1446
|
+
*/
|
|
1447
|
+
export declare function tryTimes(func: TryTimesFunction, milliseconds: number, maxLimit: number, step?: number, immediately?: boolean): void;
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* 尝试多次函数
|
|
1451
|
+
* 返回true,代表执行完成,不在需要重试
|
|
1452
|
+
*/
|
|
1453
|
+
export declare interface TryTimesFunction {
|
|
1454
|
+
(): boolean;
|
|
1455
|
+
}
|
|
1523
1456
|
|
|
1524
1457
|
/**
|
|
1525
1458
|
* 判断类型
|
|
@@ -1574,6 +1507,13 @@ export declare function useDomain(proxy?: ComponentPublicInstance | null): Domai
|
|
|
1574
1507
|
*/
|
|
1575
1508
|
export declare function useExpose(apis: Record<string, any>, instance?: ComponentInternalInstance | null): void;
|
|
1576
1509
|
|
|
1510
|
+
/**
|
|
1511
|
+
* 获取内部可用size
|
|
1512
|
+
* @param elementRef
|
|
1513
|
+
* @returns
|
|
1514
|
+
*/
|
|
1515
|
+
export declare function useInnerSize(elementRef: Element | Ref<Element>): Size;
|
|
1516
|
+
|
|
1577
1517
|
/**
|
|
1578
1518
|
* 获取page state
|
|
1579
1519
|
* @param domain
|
|
@@ -1588,23 +1528,30 @@ export declare function usePageState(domain: Domain): PageState | null;
|
|
|
1588
1528
|
*/
|
|
1589
1529
|
export declare const usePosition: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Point;
|
|
1590
1530
|
|
|
1591
|
-
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) =>
|
|
1531
|
+
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* 获取size
|
|
1535
|
+
* @param elementRef
|
|
1536
|
+
* @returns
|
|
1537
|
+
*/
|
|
1538
|
+
export declare function useSize(elementRef: Element | Ref<Element>): Size;
|
|
1592
1539
|
|
|
1593
1540
|
export declare function useTouch(): {
|
|
1594
1541
|
move: EventListener;
|
|
1595
1542
|
start: EventListener;
|
|
1596
1543
|
reset: () => void;
|
|
1597
|
-
startX:
|
|
1598
|
-
startY:
|
|
1599
|
-
startTime:
|
|
1600
|
-
duration:
|
|
1601
|
-
moveX:
|
|
1602
|
-
moveY:
|
|
1603
|
-
deltaX:
|
|
1604
|
-
deltaY:
|
|
1605
|
-
offsetX:
|
|
1606
|
-
offsetY:
|
|
1607
|
-
direction:
|
|
1544
|
+
startX: any;
|
|
1545
|
+
startY: any;
|
|
1546
|
+
startTime: any;
|
|
1547
|
+
duration: any;
|
|
1548
|
+
moveX: any;
|
|
1549
|
+
moveY: any;
|
|
1550
|
+
deltaX: any;
|
|
1551
|
+
deltaY: any;
|
|
1552
|
+
offsetX: any;
|
|
1553
|
+
offsetY: any;
|
|
1554
|
+
direction: any;
|
|
1608
1555
|
isVertical: () => boolean;
|
|
1609
1556
|
isHorizontal: () => boolean;
|
|
1610
1557
|
};
|