@fox-js/foxui-pad 4.0.1-12 → 4.0.1-13
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 +4737 -4673
- 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 +186 -266
- 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,13 @@ 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 FooterBar:
|
|
609
|
+
export declare const FooterBar: any;
|
|
614
610
|
|
|
615
611
|
export { FoxAffix }
|
|
616
612
|
|
|
@@ -666,8 +662,6 @@ export { FoxCollapseTransition }
|
|
|
666
662
|
|
|
667
663
|
export { FoxColorPicker }
|
|
668
664
|
|
|
669
|
-
declare type FoxComponentPublicInstance = any;
|
|
670
|
-
|
|
671
665
|
export { FoxConfigProvider }
|
|
672
666
|
|
|
673
667
|
export { FoxContainer }
|
|
@@ -800,79 +794,6 @@ export { FoxTreeSelect }
|
|
|
800
794
|
|
|
801
795
|
export { FoxTreeV2 }
|
|
802
796
|
|
|
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
797
|
/**
|
|
877
798
|
* Fox UI vue实例
|
|
878
799
|
*/
|
|
@@ -1002,26 +923,16 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
|
|
|
1002
923
|
*/
|
|
1003
924
|
export declare function getRootDomain(): Domain;
|
|
1004
925
|
|
|
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
|
-
}
|
|
926
|
+
export declare const Group: any;
|
|
1016
927
|
|
|
1017
928
|
/**
|
|
1018
929
|
* 是否支持symbol
|
|
1019
930
|
*/
|
|
1020
931
|
export declare const hasSymbol: boolean;
|
|
1021
932
|
|
|
1022
|
-
export declare const HeaderBar:
|
|
933
|
+
export declare const HeaderBar: any;
|
|
1023
934
|
|
|
1024
|
-
export declare const HintText:
|
|
935
|
+
export declare const HintText: any;
|
|
1025
936
|
|
|
1026
937
|
/**
|
|
1027
938
|
* 根据包含模版,抽取属性
|
|
@@ -1039,11 +950,11 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
|
|
|
1039
950
|
*/
|
|
1040
951
|
export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
1041
952
|
|
|
1042
|
-
export declare const Indicator:
|
|
953
|
+
export declare const Indicator: any;
|
|
1043
954
|
|
|
1044
|
-
export declare const InputItem:
|
|
955
|
+
export declare const InputItem: any;
|
|
1045
956
|
|
|
1046
|
-
export declare const InputNumberItem:
|
|
957
|
+
export declare const InputNumberItem: any;
|
|
1047
958
|
|
|
1048
959
|
/**
|
|
1049
960
|
* 安装函数
|
|
@@ -1205,7 +1116,7 @@ export declare const isSymbol: (val: unknown) => val is symbol;
|
|
|
1205
1116
|
*/
|
|
1206
1117
|
export declare function isWindow(obj: any): boolean;
|
|
1207
1118
|
|
|
1208
|
-
export declare const Item:
|
|
1119
|
+
export declare const Item: any;
|
|
1209
1120
|
|
|
1210
1121
|
/**
|
|
1211
1122
|
* 获取对应元素的在数组中最后一个匹配的索引
|
|
@@ -1223,7 +1134,7 @@ export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
|
|
|
1223
1134
|
*/
|
|
1224
1135
|
export declare function makeArray(arr: any, results?: any[]): any[];
|
|
1225
1136
|
|
|
1226
|
-
export declare const Mapping:
|
|
1137
|
+
export declare const Mapping: any;
|
|
1227
1138
|
|
|
1228
1139
|
/**
|
|
1229
1140
|
* 匹配条件
|
|
@@ -1244,9 +1155,9 @@ export declare interface Matched {
|
|
|
1244
1155
|
*/
|
|
1245
1156
|
export declare function merge(first: any[], second: any[]): any[];
|
|
1246
1157
|
|
|
1247
|
-
export declare const MoneyItem:
|
|
1158
|
+
export declare const MoneyItem: any;
|
|
1248
1159
|
|
|
1249
|
-
export declare const MoreButton:
|
|
1160
|
+
export declare const MoreButton: any;
|
|
1250
1161
|
|
|
1251
1162
|
export { multiply }
|
|
1252
1163
|
|
|
@@ -1275,7 +1186,7 @@ export declare const objectToString: () => string;
|
|
|
1275
1186
|
*/
|
|
1276
1187
|
export declare function once(func: GenericFunction): GenericFunction;
|
|
1277
1188
|
|
|
1278
|
-
export declare const Overlay:
|
|
1189
|
+
export declare const Overlay: any;
|
|
1279
1190
|
|
|
1280
1191
|
/**
|
|
1281
1192
|
* padding
|
|
@@ -1287,14 +1198,14 @@ export declare interface Padding {
|
|
|
1287
1198
|
bottom: number | null;
|
|
1288
1199
|
}
|
|
1289
1200
|
|
|
1290
|
-
export declare const Page:
|
|
1201
|
+
export declare const Page: any;
|
|
1291
1202
|
|
|
1292
1203
|
/**
|
|
1293
1204
|
* page layout
|
|
1294
1205
|
*/
|
|
1295
1206
|
export declare interface PageLayout {
|
|
1296
1207
|
width: number | string;
|
|
1297
|
-
height
|
|
1208
|
+
height: number | string;
|
|
1298
1209
|
headerHeight: number | string;
|
|
1299
1210
|
footerHeight: number | string;
|
|
1300
1211
|
headerPadding?: Padding;
|
|
@@ -1307,10 +1218,14 @@ export declare interface PageState {
|
|
|
1307
1218
|
height: number;
|
|
1308
1219
|
headerHeight: number;
|
|
1309
1220
|
headerPadding: Padding;
|
|
1221
|
+
headerAllHeight?: number;
|
|
1310
1222
|
footerHeight: number;
|
|
1311
1223
|
footerPadding: Padding;
|
|
1224
|
+
footerAllHeight?: number;
|
|
1312
1225
|
contentHeight: number | string | null;
|
|
1313
1226
|
contentPadding: Padding;
|
|
1227
|
+
contentInnerHeight?: number;
|
|
1228
|
+
contentInnerWidth?: number;
|
|
1314
1229
|
safeAreaTop: number;
|
|
1315
1230
|
safeAreaBottom: number;
|
|
1316
1231
|
safeAreaLeft: number;
|
|
@@ -1319,7 +1234,7 @@ export declare interface PageState {
|
|
|
1319
1234
|
footerMounted?: boolean;
|
|
1320
1235
|
}
|
|
1321
1236
|
|
|
1322
|
-
export declare const Picker:
|
|
1237
|
+
export declare const Picker: any;
|
|
1323
1238
|
|
|
1324
1239
|
/**
|
|
1325
1240
|
* 坐标
|
|
@@ -1329,9 +1244,9 @@ export declare interface Point {
|
|
|
1329
1244
|
y: number;
|
|
1330
1245
|
}
|
|
1331
1246
|
|
|
1332
|
-
export declare const Popup:
|
|
1247
|
+
export declare const Popup: any;
|
|
1333
1248
|
|
|
1334
|
-
export declare const Price:
|
|
1249
|
+
export declare const Price: any;
|
|
1335
1250
|
|
|
1336
1251
|
/**
|
|
1337
1252
|
* 优先策略
|
|
@@ -1350,11 +1265,11 @@ export declare enum PriorityPolicy {
|
|
|
1350
1265
|
*/
|
|
1351
1266
|
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
|
|
1352
1267
|
|
|
1353
|
-
export declare const RadioItem:
|
|
1268
|
+
export declare const RadioItem: any;
|
|
1354
1269
|
|
|
1355
1270
|
export declare const raf: any;
|
|
1356
1271
|
|
|
1357
|
-
export declare const RateItem:
|
|
1272
|
+
export declare const RateItem: any;
|
|
1358
1273
|
|
|
1359
1274
|
/**
|
|
1360
1275
|
* 只读属性
|
|
@@ -1362,17 +1277,7 @@ export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOpti
|
|
|
1362
1277
|
*/
|
|
1363
1278
|
export declare function readonlyProperty(source: Ref): Ref;
|
|
1364
1279
|
|
|
1365
|
-
/**
|
|
1366
|
-
* Rect类型
|
|
1367
|
-
*/
|
|
1368
1280
|
declare interface Rect {
|
|
1369
|
-
left: number;
|
|
1370
|
-
top: number;
|
|
1371
|
-
right: number;
|
|
1372
|
-
bottom: number;
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
declare interface Rect_2 {
|
|
1376
1281
|
top: number;
|
|
1377
1282
|
left: number;
|
|
1378
1283
|
right: number;
|
|
@@ -1391,7 +1296,7 @@ export declare type Result = Promise<any> | any;
|
|
|
1391
1296
|
*/
|
|
1392
1297
|
export declare type Results = Result[];
|
|
1393
1298
|
|
|
1394
|
-
export declare const RowItem:
|
|
1299
|
+
export declare const RowItem: any;
|
|
1395
1300
|
|
|
1396
1301
|
/**
|
|
1397
1302
|
* 安全区域
|
|
@@ -1403,14 +1308,7 @@ export declare interface SafeAreaInset {
|
|
|
1403
1308
|
bottom: number | string;
|
|
1404
1309
|
}
|
|
1405
1310
|
|
|
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>, {}>;
|
|
1311
|
+
export declare const SelectItem: any;
|
|
1414
1312
|
|
|
1415
1313
|
/**
|
|
1416
1314
|
* 设置公共校验检查事件
|
|
@@ -1442,21 +1340,29 @@ export declare function setGlobalValidateResetEvents(events: string[]): void;
|
|
|
1442
1340
|
*/
|
|
1443
1341
|
export declare function setGlobalValidator(type: string, validator: ExecuteValidator): void;
|
|
1444
1342
|
|
|
1445
|
-
|
|
1343
|
+
/**
|
|
1344
|
+
* size
|
|
1345
|
+
*/
|
|
1346
|
+
declare interface Size {
|
|
1347
|
+
width: number;
|
|
1348
|
+
height: number;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
export declare const SlotItem: any;
|
|
1446
1352
|
|
|
1447
|
-
export declare const sticky:
|
|
1353
|
+
export declare const sticky: any;
|
|
1448
1354
|
|
|
1449
|
-
export declare const SwitchItem:
|
|
1355
|
+
export declare const SwitchItem: any;
|
|
1450
1356
|
|
|
1451
|
-
export declare const TableItem:
|
|
1357
|
+
export declare const TableItem: any;
|
|
1452
1358
|
|
|
1453
|
-
export declare const TableMappingColumn:
|
|
1359
|
+
export declare const TableMappingColumn: any;
|
|
1454
1360
|
|
|
1455
|
-
export declare const TableRadioColumn:
|
|
1361
|
+
export declare const TableRadioColumn: any;
|
|
1456
1362
|
|
|
1457
|
-
export declare const TableSetting:
|
|
1363
|
+
export declare const TableSetting: any;
|
|
1458
1364
|
|
|
1459
|
-
declare const Text_2:
|
|
1365
|
+
declare const Text_2: any;
|
|
1460
1366
|
export { Text_2 as Text }
|
|
1461
1367
|
|
|
1462
1368
|
/**
|
|
@@ -1467,11 +1373,11 @@ export { Text_2 as Text }
|
|
|
1467
1373
|
*/
|
|
1468
1374
|
export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
|
|
1469
1375
|
|
|
1470
|
-
export declare const TimeItem:
|
|
1376
|
+
export declare const TimeItem: any;
|
|
1471
1377
|
|
|
1472
|
-
export declare const TimeSelectItem:
|
|
1378
|
+
export declare const TimeSelectItem: any;
|
|
1473
1379
|
|
|
1474
|
-
export declare const Toast:
|
|
1380
|
+
export declare const Toast: any;
|
|
1475
1381
|
|
|
1476
1382
|
/**
|
|
1477
1383
|
* 转换为boolean值
|
|
@@ -1509,7 +1415,7 @@ export declare const toPxDesc: (value: string | number, size?: number) => string
|
|
|
1509
1415
|
|
|
1510
1416
|
export declare const toTypeString: (value: unknown) => string;
|
|
1511
1417
|
|
|
1512
|
-
export declare const Tour:
|
|
1418
|
+
export declare const Tour: any;
|
|
1513
1419
|
|
|
1514
1420
|
/**
|
|
1515
1421
|
* to model value
|
|
@@ -1519,7 +1425,7 @@ export declare const Tour: DefineComponent<unknown, object, {}, ComputedOptions,
|
|
|
1519
1425
|
*/
|
|
1520
1426
|
export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
|
|
1521
1427
|
|
|
1522
|
-
export declare const TreeSelectItem:
|
|
1428
|
+
export declare const TreeSelectItem: any;
|
|
1523
1429
|
|
|
1524
1430
|
/**
|
|
1525
1431
|
* 判断类型
|
|
@@ -1574,6 +1480,13 @@ export declare function useDomain(proxy?: ComponentPublicInstance | null): Domai
|
|
|
1574
1480
|
*/
|
|
1575
1481
|
export declare function useExpose(apis: Record<string, any>, instance?: ComponentInternalInstance | null): void;
|
|
1576
1482
|
|
|
1483
|
+
/**
|
|
1484
|
+
* 获取内部可用size
|
|
1485
|
+
* @param elementRef
|
|
1486
|
+
* @returns
|
|
1487
|
+
*/
|
|
1488
|
+
export declare function useInnerSize(elementRef: Element | Ref<Element>): Size;
|
|
1489
|
+
|
|
1577
1490
|
/**
|
|
1578
1491
|
* 获取page state
|
|
1579
1492
|
* @param domain
|
|
@@ -1588,23 +1501,30 @@ export declare function usePageState(domain: Domain): PageState | null;
|
|
|
1588
1501
|
*/
|
|
1589
1502
|
export declare const usePosition: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Point;
|
|
1590
1503
|
|
|
1591
|
-
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) =>
|
|
1504
|
+
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* 获取size
|
|
1508
|
+
* @param elementRef
|
|
1509
|
+
* @returns
|
|
1510
|
+
*/
|
|
1511
|
+
export declare function useSize(elementRef: Element | Ref<Element>): Size;
|
|
1592
1512
|
|
|
1593
1513
|
export declare function useTouch(): {
|
|
1594
1514
|
move: EventListener;
|
|
1595
1515
|
start: EventListener;
|
|
1596
1516
|
reset: () => void;
|
|
1597
|
-
startX:
|
|
1598
|
-
startY:
|
|
1599
|
-
startTime:
|
|
1600
|
-
duration:
|
|
1601
|
-
moveX:
|
|
1602
|
-
moveY:
|
|
1603
|
-
deltaX:
|
|
1604
|
-
deltaY:
|
|
1605
|
-
offsetX:
|
|
1606
|
-
offsetY:
|
|
1607
|
-
direction:
|
|
1517
|
+
startX: any;
|
|
1518
|
+
startY: any;
|
|
1519
|
+
startTime: any;
|
|
1520
|
+
duration: any;
|
|
1521
|
+
moveX: any;
|
|
1522
|
+
moveY: any;
|
|
1523
|
+
deltaX: any;
|
|
1524
|
+
deltaY: any;
|
|
1525
|
+
offsetX: any;
|
|
1526
|
+
offsetY: any;
|
|
1527
|
+
direction: any;
|
|
1608
1528
|
isVertical: () => boolean;
|
|
1609
1529
|
isHorizontal: () => boolean;
|
|
1610
1530
|
};
|