@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.
@@ -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 'element-plus';
13
- import { ElAlert as FoxAlert } from 'element-plus';
14
- import { ElAside as FoxAside } from 'element-plus';
15
- import { ElAutocomplete as FoxAutocomplete } from 'element-plus';
16
- import { ElAutoResizer as FoxAutoResizer } from 'element-plus';
17
- import { ElAvatar as FoxAvatar } from 'element-plus';
18
- import { ElBacktop as FoxBacktop } from 'element-plus';
19
- import { ElBadge as FoxBadge } from 'element-plus';
20
- import { ElBreadcrumb as FoxBreadcrumb } from 'element-plus';
21
- import { ElBreadcrumbItem as FoxBreadcrumbItem } from 'element-plus';
22
- import { ElButton as FoxButton } from 'element-plus';
23
- import { ElButtonGroup as FoxButtonGroup } from 'element-plus';
24
- import { ElCalendar as FoxCalendar } from 'element-plus';
25
- import { ElCard as FoxCard } from 'element-plus';
26
- import { ElCarousel as FoxCarousel } from 'element-plus';
27
- import { ElCarouselItem as FoxCarouselItem } from 'element-plus';
28
- import { ElCascader as FoxCascader } from 'element-plus';
29
- import { ElCascaderPanel as FoxCascaderPanel } from 'element-plus';
30
- import { ElCheckbox as FoxCheckbox } from 'element-plus';
31
- import { ElCheckboxButton as FoxCheckboxButton } from 'element-plus';
32
- import { ElCheckboxGroup as FoxCheckboxGroup } from 'element-plus';
33
- import { ElCheckTag as FoxCheckTag } from 'element-plus';
34
- import { ElCol as FoxCol } from 'element-plus';
35
- import { ElCollapse as FoxCollapse } from 'element-plus';
36
- import { ElCollapseItem as FoxCollapseItem } from 'element-plus';
37
- import { ElCollapseTransition as FoxCollapseTransition } from 'element-plus';
38
- import { ElColorPicker as FoxColorPicker } from 'element-plus';
39
- import { ElConfigProvider as FoxConfigProvider } from 'element-plus';
40
- import { ElContainer as FoxContainer } from 'element-plus';
41
- import { ElDatePicker as FoxDatePicker } from 'element-plus';
42
- import { ElDescriptions as FoxDescriptions } from 'element-plus';
43
- import { ElDescriptionsItem as FoxDescriptionsItem } from 'element-plus';
44
- import { ElDialog as FoxDialog } from 'element-plus';
45
- import { ElDivider as FoxDivider } from 'element-plus';
46
- import { ElDrawer as FoxDrawer } from 'element-plus';
47
- import { ElDropdown as FoxDropdown } from 'element-plus';
48
- import { ElDropdownItem as FoxDropdownItem } from 'element-plus';
49
- import { ElDropdownMenu as FoxDropdownMenu } from 'element-plus';
50
- import { ElEmpty as FoxEmpty } from 'element-plus';
51
- import { ElFooter as FoxFooter } from 'element-plus';
52
- import { ElForm as FoxForm } from 'element-plus';
53
- import { ElFormItem as FoxFormItem } from 'element-plus';
54
- import { ElHeader as FoxHeader } from 'element-plus';
55
- import { ElIcon as FoxIcon } from 'element-plus';
56
- import { ElImage as FoxImage } from 'element-plus';
57
- import { ElImageViewer as FoxImageViewer } from 'element-plus';
58
- import { ElInput as FoxInput } from 'element-plus';
59
- import { ElInputNumber as FoxInputNumber } from 'element-plus';
60
- import { ElLink as FoxLink } from 'element-plus';
61
- import { ElMain as FoxMain } from 'element-plus';
62
- import { ElMenu as FoxMenu } from 'element-plus';
63
- import { ElMenuItem as FoxMenuItem } from 'element-plus';
64
- import { ElMenuItemGroup as FoxMenuItemGroup } from 'element-plus';
65
- import { ElOption as FoxOption } from 'element-plus';
66
- import { ElOptionGroup as FoxOptionGroup } from 'element-plus';
67
- import { ElPageHeader as FoxPageHeader } from 'element-plus';
68
- import { ElPagination as FoxPagination } from 'element-plus';
69
- import { ElPopconfirm as FoxPopconfirm } from 'element-plus';
70
- import { ElPopover as FoxPopover } from 'element-plus';
71
- import { ElPopper as FoxPopper } from 'element-plus';
72
- import { ElProgress as FoxProgress } from 'element-plus';
73
- import { ElRadio as FoxRadio } from 'element-plus';
74
- import { ElRadioButton as FoxRadioButton } from 'element-plus';
75
- import { ElRadioGroup as FoxRadioGroup } from 'element-plus';
76
- import { ElRate as FoxRate } from 'element-plus';
77
- import { ElResult as FoxResult } from 'element-plus';
78
- import { ElRow as FoxRow } from 'element-plus';
79
- import { ElScrollbar as FoxScrollbar } from 'element-plus';
80
- import { ElSelect as FoxSelect } from 'element-plus';
81
- import { ElSelectV2 as FoxSelectV2 } from 'element-plus';
82
- import { ElSkeleton as FoxSkeleton } from 'element-plus';
83
- import { ElSkeletonItem as FoxSkeletonItem } from 'element-plus';
84
- import { ElSlider as FoxSlider } from 'element-plus';
85
- import { ElSpace as FoxSpace } from 'element-plus';
86
- import { ElStep as FoxStep } from 'element-plus';
87
- import { ElSteps as FoxSteps } from 'element-plus';
88
- import { ElSubMenu as FoxSubMenu } from 'element-plus';
89
- import { ElSwitch as FoxSwitch } from 'element-plus';
90
- import { ElTable as FoxTable } from 'element-plus';
91
- import { ElTableColumn as FoxTableColumn } from 'element-plus';
92
- import { ElTableV2 as FoxTableV2 } from 'element-plus';
93
- import { ElTabPane as FoxTabPane } from 'element-plus';
94
- import { ElTabs as FoxTabs } from 'element-plus';
95
- import { ElTag as FoxTag } from 'element-plus';
96
- import { ElTimeline as FoxTimeline } from 'element-plus';
97
- import { ElTimelineItem as FoxTimelineItem } from 'element-plus';
98
- import { ElTimePicker as FoxTimePicker } from 'element-plus';
99
- import { ElTimeSelect as FoxTimeSelect } from 'element-plus';
100
- import { ElTooltip as FoxTooltip } from 'element-plus';
101
- import { ElTransfer as FoxTransfer } from 'element-plus';
102
- import { ElTree as FoxTree } from 'element-plus';
103
- import { ElTreeSelect as FoxTreeSelect } from 'element-plus';
104
- import { ElTreeV2 as FoxTreeV2 } from 'element-plus';
105
- import { ElUpload as FoxUpload } from 'element-plus';
106
- import type { MethodOptions } from 'vue';
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
202
+ export declare const CalendarItem: any;
206
203
 
207
- export declare const CalendarPicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
204
+ export declare const CalendarPicker: any;
208
205
 
209
206
  export declare function cancelRaf(id: number): void;
210
207
 
211
- export declare const CascaderItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
208
+ export declare const CascaderItem: any;
212
209
 
213
- export declare const CascaderPicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
210
+ export declare const CascaderPicker: any;
214
211
 
215
- export declare const CheckboxItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
258
+ export declare const DateItem: any;
262
259
 
263
- export declare const DatePicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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 week date
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
603
+ export declare const ExtTabPane: any;
608
604
 
609
- export declare const ExtTabs: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
935
+ export declare const HeaderBar: any;
1023
936
 
1024
- export declare const HintText: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
955
+ export declare const Indicator: any;
1043
956
 
1044
- export declare const InputItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
957
+ export declare const InputItem: any;
1045
958
 
1046
- export declare const InputNumberItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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(value: string | number): number;
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) => boolean;
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(value: string): boolean;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1165
+ export declare const MoneyItem: any;
1248
1166
 
1249
- export declare const MoreButton: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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?: number | string;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1254
+ export declare const Popup: any;
1333
1255
 
1334
- export declare const Price: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1275
+ export declare const RadioItem: any;
1354
1276
 
1355
1277
  export declare const raf: any;
1356
1278
 
1357
- export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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 RowItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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
- export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1352
+ /**
1353
+ * size
1354
+ */
1355
+ declare interface Size {
1356
+ width: number;
1357
+ height: number;
1358
+ }
1446
1359
 
1447
- export declare const sticky: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1360
+ export declare const SlotItem: any;
1448
1361
 
1449
- export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1362
+ export declare const sticky: any;
1450
1363
 
1451
- export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1364
+ export declare const SwitchItem: any;
1452
1365
 
1453
- export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1366
+ export declare const TableItem: any;
1454
1367
 
1455
- export declare const TableRadioColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1368
+ export declare const TableMappingColumn: any;
1456
1369
 
1457
- export declare const TableSetting: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1370
+ export declare const TableRadioColumn: any;
1458
1371
 
1459
- declare const Text_2: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1385
+ export declare const TimeItem: any;
1471
1386
 
1472
- export declare const TimeSelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1387
+ export declare const TimeSelectItem: any;
1473
1388
 
1474
- export declare const Toast: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
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>) => Rect_2;
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: Ref<number>;
1598
- startY: Ref<number>;
1599
- startTime: Ref<number>;
1600
- duration: Ref<number>;
1601
- moveX: Ref<number>;
1602
- moveY: Ref<number>;
1603
- deltaX: Ref<number>;
1604
- deltaY: Ref<number>;
1605
- offsetX: Ref<number>;
1606
- offsetY: Ref<number>;
1607
- direction: Ref<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
  };