@fox-js/foxui-pc 4.0.1-13 → 4.0.1-130

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.
Files changed (116) hide show
  1. package/dist/index.cjs.js +2 -4
  2. package/dist/index.d.ts +2 -2
  3. package/dist/index.esm.js +12172 -7309
  4. package/dist/index.umd.js +3 -5
  5. package/dist/locale/index.d.ts +470 -0
  6. package/dist/locale/index.esm.js +458 -0
  7. package/dist/locale/index.umd.js +1 -0
  8. package/dist/style.css +1 -1
  9. package/dist/style.esm.js +1 -5
  10. package/dist/style.js +3 -0
  11. package/dist/types/index.d.ts +648 -306
  12. package/package.json +14 -8
  13. package/dist/index.cjs.js.map +0 -1
  14. package/dist/index.esm.js.map +0 -1
  15. package/dist/index.umd.js.map +0 -1
  16. package/dist/types/src/api/index.d.ts +0 -35
  17. package/dist/types/src/base/component.d.ts +0 -70
  18. package/dist/types/src/base/index.d.ts +0 -4
  19. package/dist/types/src/base/plugin.d.ts +0 -2
  20. package/dist/types/src/components/autocompleteitem/common.d.ts +0 -152
  21. package/dist/types/src/components/autocompleteitem/index.vue.d.ts +0 -3
  22. package/dist/types/src/components/cascaderitem/common.d.ts +0 -223
  23. package/dist/types/src/components/cascaderitem/index.vue.d.ts +0 -3
  24. package/dist/types/src/components/cascaderitem/model.d.ts +0 -70
  25. package/dist/types/src/components/cascaderitem/types.d.ts +0 -26
  26. package/dist/types/src/components/checkboxitem/common.d.ts +0 -181
  27. package/dist/types/src/components/checkboxitem/index.vue.d.ts +0 -3
  28. package/dist/types/src/components/checkboxitem/model.d.ts +0 -63
  29. package/dist/types/src/components/checkboxitem/types.d.ts +0 -33
  30. package/dist/types/src/components/content/common.d.ts +0 -16
  31. package/dist/types/src/components/content/index.vue.d.ts +0 -3
  32. package/dist/types/src/components/dateitem/common.d.ts +0 -152
  33. package/dist/types/src/components/dateitem/index.vue.d.ts +0 -3
  34. package/dist/types/src/components/dialogitem/common.d.ts +0 -27
  35. package/dist/types/src/components/dialogitem/index.vue.d.ts +0 -3
  36. package/dist/types/src/components/exticon/index.vue.d.ts +0 -3
  37. package/dist/types/src/components/footerbar/common.d.ts +0 -26
  38. package/dist/types/src/components/footerbar/index.vue.d.ts +0 -3
  39. package/dist/types/src/components/footerbar/type.d.ts +0 -1
  40. package/dist/types/src/components/group/commons.d.ts +0 -122
  41. package/dist/types/src/components/group/group-props.d.ts +0 -97
  42. package/dist/types/src/components/group/index.vue.d.ts +0 -3
  43. package/dist/types/src/components/headerbar/common.d.ts +0 -80
  44. package/dist/types/src/components/headerbar/index.vue.d.ts +0 -3
  45. package/dist/types/src/components/headerbar/types.d.ts +0 -5
  46. package/dist/types/src/components/hinttext/index.d.ts +0 -27
  47. package/dist/types/src/components/hinttext/index.vue.d.ts +0 -3
  48. package/dist/types/src/components/indicator/common.d.ts +0 -19
  49. package/dist/types/src/components/indicator/index.vue.d.ts +0 -3
  50. package/dist/types/src/components/indicator/types.d.ts +0 -1
  51. package/dist/types/src/components/inputitem/common.d.ts +0 -176
  52. package/dist/types/src/components/inputitem/index.vue.d.ts +0 -3
  53. package/dist/types/src/components/inputnumberitem/common.d.ts +0 -176
  54. package/dist/types/src/components/inputnumberitem/index.vue.d.ts +0 -3
  55. package/dist/types/src/components/item/common.d.ts +0 -137
  56. package/dist/types/src/components/item/index.vue.d.ts +0 -3
  57. package/dist/types/src/components/mapping/common.d.ts +0 -105
  58. package/dist/types/src/components/mapping/index.vue.d.ts +0 -3
  59. package/dist/types/src/components/mapping/model.d.ts +0 -28
  60. package/dist/types/src/components/mapping/types.d.ts +0 -17
  61. package/dist/types/src/components/moneyitem/common.d.ts +0 -300
  62. package/dist/types/src/components/moneyitem/index.vue.d.ts +0 -3
  63. package/dist/types/src/components/moneyitem/util.d.ts +0 -51
  64. package/dist/types/src/components/page/common.d.ts +0 -120
  65. package/dist/types/src/components/page/index.vue.d.ts +0 -3
  66. package/dist/types/src/components/price/index.vue.d.ts +0 -3
  67. package/dist/types/src/components/price/price-props.d.ts +0 -37
  68. package/dist/types/src/components/radioitem/common.d.ts +0 -173
  69. package/dist/types/src/components/radioitem/index.vue.d.ts +0 -3
  70. package/dist/types/src/components/radioitem/model.d.ts +0 -63
  71. package/dist/types/src/components/radioitem/types.d.ts +0 -33
  72. package/dist/types/src/components/rateitem/common.d.ts +0 -136
  73. package/dist/types/src/components/rateitem/index.vue.d.ts +0 -3
  74. package/dist/types/src/components/rowitem/common.d.ts +0 -38
  75. package/dist/types/src/components/rowitem/index.vue.d.ts +0 -3
  76. package/dist/types/src/components/selectitem/common.d.ts +0 -239
  77. package/dist/types/src/components/selectitem/index.vue.d.ts +0 -3
  78. package/dist/types/src/components/selectitem/model.d.ts +0 -70
  79. package/dist/types/src/components/selectitem/types.d.ts +0 -26
  80. package/dist/types/src/components/slotitem/common.d.ts +0 -21
  81. package/dist/types/src/components/slotitem/index.vue.d.ts +0 -3
  82. package/dist/types/src/components/switchitem/common.d.ts +0 -136
  83. package/dist/types/src/components/switchitem/index.vue.d.ts +0 -3
  84. package/dist/types/src/components/tableitem/common.d.ts +0 -230
  85. package/dist/types/src/components/tableitem/index.vue.d.ts +0 -3
  86. package/dist/types/src/components/tableitem/model.d.ts +0 -27
  87. package/dist/types/src/components/tableitem/types.d.ts +0 -19
  88. package/dist/types/src/components/tablemappingcolumn/common.d.ts +0 -56
  89. package/dist/types/src/components/tablemappingcolumn/index.vue.d.ts +0 -3
  90. package/dist/types/src/components/timeitem/common.d.ts +0 -152
  91. package/dist/types/src/components/timeitem/index.vue.d.ts +0 -3
  92. package/dist/types/src/components/timeselectitem/common.d.ts +0 -152
  93. package/dist/types/src/components/timeselectitem/index.vue.d.ts +0 -3
  94. package/dist/types/src/foxui.vue.build.d.ts +0 -137
  95. package/dist/types/src/interface.d.ts +0 -83
  96. package/dist/types/src/main.d.ts +0 -81
  97. package/dist/types/src/utils/commons.d.ts +0 -220
  98. package/dist/types/src/utils/create/component.d.ts +0 -18
  99. package/dist/types/src/utils/create/index.d.ts +0 -1
  100. package/dist/types/src/utils/date.d.ts +0 -76
  101. package/dist/types/src/utils/domain/broadcast.d.ts +0 -116
  102. package/dist/types/src/utils/domain/domain.d.ts +0 -146
  103. package/dist/types/src/utils/domain/events.d.ts +0 -51
  104. package/dist/types/src/utils/domain/group.d.ts +0 -61
  105. package/dist/types/src/utils/domain/index.d.ts +0 -5
  106. package/dist/types/src/utils/domain/item.d.ts +0 -45
  107. package/dist/types/src/utils/domain/page.d.ts +0 -113
  108. package/dist/types/src/utils/domain/types.d.ts +0 -5
  109. package/dist/types/src/utils/domain/validator.d.ts +0 -230
  110. package/dist/types/src/utils/functions.d.ts +0 -20
  111. package/dist/types/src/utils/px.d.ts +0 -13
  112. package/dist/types/src/utils/unique-id.d.ts +0 -16
  113. package/dist/types/src/utils/use-expose/index.d.ts +0 -6
  114. package/dist/types/src/utils/use-position/index.d.ts +0 -14
  115. package/dist/types/src/utils/use-rect/index.d.ts +0 -20
  116. package/dist/types/src/utils/use-touch/index.d.ts +0 -21
@@ -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,8 +120,6 @@ 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>, {}>;
127
-
128
123
  /**
129
124
  * 广播类
130
125
  */
@@ -149,6 +144,10 @@ export declare class Broadcast {
149
144
  * 名称
150
145
  */
151
146
  private name?;
147
+ /**
148
+ * 持久消息注册表
149
+ */
150
+ private persistantMessages;
152
151
  /**
153
152
  * 构造函数
154
153
  * @param parent
@@ -170,6 +169,46 @@ export declare class Broadcast {
170
169
  * 销毁
171
170
  */
172
171
  destroy(): void;
172
+ /**
173
+ * 设置持久化消息
174
+ * @param matched
175
+ * @param action
176
+ * @param args
177
+ */
178
+ private setPersistantMessage;
179
+ /**
180
+ * 删除持久化消息
181
+ * @param matched
182
+ * @param action
183
+ * @param args
184
+ */
185
+ private deletePersistantMessage;
186
+ /**
187
+ * 获取持久化消息列表
188
+ * @returns
189
+ */
190
+ getPersistantMessages(): PersistantMessage[];
191
+ /**
192
+ * 清空持久化消息列表
193
+ */
194
+ clearPersistantMessage(): void;
195
+ /**
196
+ * 判断是否匹配
197
+ * @param name
198
+ * @param matched
199
+ * @returns
200
+ */
201
+ private isMatched;
202
+ /**
203
+ * 触发函数
204
+ * @param action
205
+ * @param args
206
+ */
207
+ private trigger;
208
+ /**
209
+ * 拉取持久消息
210
+ */
211
+ pull(): void;
173
212
  /**
174
213
  * 发生消息
175
214
  * @param matched
@@ -200,17 +239,12 @@ export declare interface BroadcastCallback {
200
239
  (...args: any[]): Result;
201
240
  }
202
241
 
242
+ /**
243
+ * broadcast key
244
+ */
203
245
  export declare const BroadcastKey: unique symbol;
204
246
 
205
- export declare const CalendarItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
206
-
207
- export declare const CalendarPicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
208
-
209
- export declare const CascaderItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
210
-
211
- export declare const CascaderPicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
212
-
213
- export declare const CheckboxItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
247
+ export declare function cancelRaf(id: number): void;
214
248
 
215
249
  /**
216
250
  * 清理非数字
@@ -229,8 +263,6 @@ export declare function clone(target: any, source: any, plain?: boolean): any;
229
263
 
230
264
  export { compareTo }
231
265
 
232
- export declare const Content: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
233
-
234
266
  /**
235
267
  * 创建broadcast
236
268
  *
@@ -256,17 +288,123 @@ export declare function createValidateSchema(proxy: FoxComponentPublicInstance,
256
288
  */
257
289
  export declare const DataItemsKey: unique symbol;
258
290
 
259
- export declare const DateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
260
-
261
- export declare const DatePicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
291
+ export declare const DateUtils: {
292
+ /**
293
+ * 格式化
294
+ * @param date
295
+ * @param template
296
+ * @returns
297
+ */
298
+ format(date: Date, template: string): string;
299
+ /**
300
+ * 解析
301
+ * @param str
302
+ * @param template
303
+ */
304
+ parser(str: string, template: string): Date;
305
+ /**
306
+ * 是否为闫年
307
+ * @return {Boolse} true|false
308
+ */
309
+ isLeapYear(y: number): boolean;
310
+ /**
311
+ * 返回星期数
312
+ * @return {String}
313
+ */
314
+ getWhatDay(year: number, month: number, day: number): string;
315
+ /**
316
+ * 返回星期数
317
+ * @return {Number}
318
+ */
319
+ getMonthPreDay(year: number, month: number): number;
320
+ /**
321
+ * 返回月份天数
322
+ * @return {Number}
323
+ */
324
+ getMonthDays(year: string, month: string): number;
325
+ /**
326
+ * 补齐数字位数
327
+ * @return {string}
328
+ */
329
+ getNumTwoBit(n: number): string;
330
+ /**
331
+ * 日期对象转成字符串
332
+ * @return {string}
333
+ */
334
+ date2Str: (date: Date, split?: string) => string;
335
+ /**
336
+ * 返回日期格式字符串
337
+ * @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
338
+ * @param {Date} 起点日期
339
+ * @return {string} '2014-12-31'
340
+ */
341
+ getDay(i: number, startDate?: Date): string;
342
+ /**
343
+ * 时间比较
344
+ * @return
345
+ */
346
+ compareDate(date1: string | Date, date2: string | Date): boolean;
347
+ /**
348
+ * 时间是否相等
349
+ * @return
350
+ */
351
+ isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
352
+ /**
353
+ * get month week
354
+ * @param year
355
+ * @param month
356
+ * @param date
357
+ * @param firstDayOfWeek
358
+ * @returns
359
+ */
360
+ getMonthWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
361
+ /**
362
+ * get year week
363
+ * @param year
364
+ * @param month
365
+ * @param date
366
+ * @param firstDayOfWeek
367
+ * @returns
368
+ */
369
+ getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
370
+ /**
371
+ * get week date
372
+ */
373
+ getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
374
+ /**
375
+ * format result date
376
+ */
377
+ formatResultDate: (date: string) => string[];
378
+ /**
379
+ * 判断日期是否在范围内
380
+ * @param date
381
+ * @param startDate
382
+ * @param span 允许负数
383
+ */
384
+ inScope4Day(date: Date, startDate: Date, span: number): boolean;
385
+ /**
386
+ * 判断日期是否在范围内
387
+ * @param date
388
+ * @param startDate
389
+ * @param span
390
+ */
391
+ inScope4Month(date: Date, startDate: Date, span: number): boolean;
392
+ };
262
393
 
263
394
  /**
264
- * 防抖函数
395
+ * 防抖函数(执行时间范围内的最后一次)
265
396
  * @param func 函数
266
- * @param time 防止抖动毫秒数
397
+ * @param delay 防止抖动毫秒数
267
398
  * @returns
268
399
  */
269
- export declare function debounce(func: GenericFunction, time: number): GenericFunction;
400
+ export declare function debounce(func: GenericFunction, delay: number): GenericFunction;
401
+
402
+ /**
403
+ * 防抖Ref
404
+ * @param value
405
+ * @param delay
406
+ */
407
+ export declare function debounceRef<T>(value: T, delay: number): Ref<T>;
270
408
 
271
409
  /**
272
410
  * 获取小数长度
@@ -277,6 +415,198 @@ export declare function decimalLength(value: string | number): number;
277
415
  declare const _default: FoxUIVue;
278
416
  export default _default;
279
417
 
418
+ declare const _default_10: any;
419
+ export { _default_10 as FoxHintText }
420
+ export { _default_10 as HintText }
421
+
422
+ declare const _default_11: any;
423
+ export { _default_11 as FoxInputItem }
424
+ export { _default_11 as InputItem }
425
+
426
+ declare const _default_12: any;
427
+ export { _default_12 as FoxSelectItem }
428
+ export { _default_12 as SelectItem }
429
+
430
+ declare const _default_13: any;
431
+ export { _default_13 as DateItem }
432
+ export { _default_13 as FoxDateItem }
433
+
434
+ declare const _default_14: any;
435
+ export { _default_14 as FoxTimeItem }
436
+ export { _default_14 as TimeItem }
437
+
438
+ declare const _default_15: any;
439
+ export { _default_15 as FoxTimeSelectItem }
440
+ export { _default_15 as TimeSelectItem }
441
+
442
+ declare const _default_16: any;
443
+ export { _default_16 as FoxMoneyItem }
444
+ export { _default_16 as MoneyItem }
445
+
446
+ declare const _default_17: any;
447
+ export { _default_17 as FoxInputNumberItem }
448
+ export { _default_17 as InputNumberItem }
449
+
450
+ declare const _default_18: any;
451
+ export { _default_18 as CascaderItem }
452
+ export { _default_18 as FoxCascaderItem }
453
+
454
+ declare const _default_19: any;
455
+ export { _default_19 as AutocompleteItem }
456
+ export { _default_19 as FoxAutocompleteItem }
457
+
458
+ declare const _default_2: any;
459
+ export { _default_2 as FoxPage }
460
+ export { _default_2 as Page }
461
+
462
+ declare const _default_20: any;
463
+ export { _default_20 as FoxTableMappingColumn }
464
+ export { _default_20 as TableMappingColumn }
465
+
466
+ declare const _default_21: any;
467
+ export { _default_21 as FoxTableRadioColumn }
468
+ export { _default_21 as TableRadioColumn }
469
+
470
+ declare const _default_22: any;
471
+ export { _default_22 as FoxTableSetting }
472
+ export { _default_22 as TableSetting }
473
+
474
+ declare const _default_23: any;
475
+ export { _default_23 as FoxTableItem }
476
+ export { _default_23 as TableItem }
477
+
478
+ declare const _default_24: any;
479
+ export { _default_24 as FoxRadioItem }
480
+ export { _default_24 as RadioItem }
481
+
482
+ declare const _default_25: any;
483
+ export { _default_25 as CheckboxItem }
484
+ export { _default_25 as FoxCheckboxItem }
485
+
486
+ declare const _default_26: any;
487
+ export { _default_26 as FoxRateItem }
488
+ export { _default_26 as RateItem }
489
+
490
+ declare const _default_27: any;
491
+ export { _default_27 as FoxSwitchItem }
492
+ export { _default_27 as SwitchItem }
493
+
494
+ declare const _default_28: any;
495
+ export { _default_28 as FoxTreeSelectItem }
496
+ export { _default_28 as TreeSelectItem }
497
+
498
+ declare const _default_29: any;
499
+ export { _default_29 as FoxGroupSetting }
500
+ export { _default_29 as GroupSetting }
501
+
502
+ declare const _default_3: any;
503
+ export { _default_3 as FoxHeaderBar }
504
+ export { _default_3 as HeaderBar }
505
+
506
+ declare const _default_30: any;
507
+ export { _default_30 as FoxTabsBar }
508
+ export { _default_30 as TabsBar }
509
+
510
+ declare const _default_31: any;
511
+ export { _default_31 as FoxTabsContainer }
512
+ export { _default_31 as TabsContainer }
513
+
514
+ declare const _default_32: any;
515
+ export { _default_32 as FoxTabsPane }
516
+ export { _default_32 as TabsPane }
517
+
518
+ declare const _default_33: any;
519
+ export { _default_33 as FoxStepsBar }
520
+ export { _default_33 as StepsBar }
521
+
522
+ declare const _default_34: any;
523
+ export { _default_34 as DialogItem }
524
+ export { _default_34 as FoxDialogItem }
525
+
526
+ declare const _default_35: any;
527
+ export { _default_35 as FoxOverLay }
528
+ export { _default_35 as OverLay }
529
+
530
+ declare const _default_36: any;
531
+ export { _default_36 as FoxPopup }
532
+ export { _default_36 as Popup }
533
+
534
+ declare const _default_37: any;
535
+ export { _default_37 as FoxToast }
536
+ export { _default_37 as Toast }
537
+
538
+ declare const _default_38: any;
539
+ export { _default_38 as FoxSearchBar }
540
+ export { _default_38 as SearchBar }
541
+
542
+ declare const _default_39: any;
543
+ export { _default_39 as FoxInfiniteLoading }
544
+ export { _default_39 as InfiniteLoading }
545
+
546
+ declare const _default_4: any;
547
+ export { _default_4 as FooterBar }
548
+ export { _default_4 as FoxFooterBar }
549
+
550
+ declare const _default_40: any;
551
+ export { _default_40 as FoxPullRefresh }
552
+ export { _default_40 as PullRefresh }
553
+
554
+ declare const _default_41: any;
555
+ export { _default_41 as FoxMapping }
556
+ export { _default_41 as Mapping }
557
+
558
+ declare const _default_42: any;
559
+ export { _default_42 as FoxPrice }
560
+ export { _default_42 as Price }
561
+
562
+ declare const _default_43: any;
563
+ export { _default_43 as FoxIndicator }
564
+ export { _default_43 as Indicator }
565
+
566
+ declare const _default_44: any;
567
+ export { _default_44 as FoxText }
568
+ export { _default_44 as Text }
569
+
570
+ declare const _default_45: any;
571
+ export { _default_45 as FoxMoreButton }
572
+ export { _default_45 as MoreButton }
573
+
574
+ declare const _default_46: any;
575
+ export { _default_46 as FoxTour }
576
+ export { _default_46 as Tour }
577
+
578
+ declare const _default_47: any;
579
+ export { _default_47 as FloatingWindow }
580
+ export { _default_47 as FoxFloatingWindow }
581
+
582
+ declare const _default_48: any;
583
+ export { _default_48 as DomainProvider }
584
+ export { _default_48 as FoxDomainProvider }
585
+
586
+ declare const _default_49: any;
587
+ export { _default_49 as FoxRollingProvider }
588
+ export { _default_49 as RollingProvider }
589
+
590
+ declare const _default_5: any;
591
+ export { _default_5 as Content }
592
+ export { _default_5 as FoxContent }
593
+
594
+ declare const _default_6: any;
595
+ export { _default_6 as FoxGroup }
596
+ export { _default_6 as Group }
597
+
598
+ declare const _default_7: any;
599
+ export { _default_7 as FoxItem }
600
+ export { _default_7 as Item }
601
+
602
+ declare const _default_8: any;
603
+ export { _default_8 as FoxSlotItem }
604
+ export { _default_8 as SlotItem }
605
+
606
+ declare const _default_9: any;
607
+ export { _default_9 as FoxRowItem }
608
+ export { _default_9 as RowItem }
609
+
280
610
  /**
281
611
  * anyNode
282
612
  * @param name
@@ -285,6 +615,15 @@ export default _default;
285
615
  */
286
616
  export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback>, proxy?: FoxComponentPublicInstance): Broadcast | null;
287
617
 
618
+ /**
619
+ * 安装config domain
620
+ * @param name 名称
621
+ * @param props 属性
622
+ * @param ignores 忽略的属性
623
+ * @returns
624
+ */
625
+ export declare function defineConfigDomain(name: string | null, props: Record<string, any>, ignores?: any[]): Domain;
626
+
288
627
  /**
289
628
  * 定义domain data item
290
629
  * @returns
@@ -318,6 +657,16 @@ export declare function defineItem(descriptor: Descriptor, name?: string, expose
318
657
  */
319
658
  export declare function definePageState(domain: Domain, overrideProps?: Record<string, unknown>): UnwrapNestedRefs<PageState> | null;
320
659
 
660
+ /**
661
+ * 定义simple item
662
+ * @returns
663
+ */
664
+ export declare function defineSimpleItem(): {
665
+ emitEvent: (type: string, ...args: any[]) => void;
666
+ onEvent: (type: string, listener: EventListener_2) => void;
667
+ offEvent: (type: string, listener: EventListener_2) => void;
668
+ };
669
+
321
670
  /**
322
671
  * 删除公共校验器
323
672
  * @param type
@@ -333,14 +682,14 @@ export declare interface Descriptor {
333
682
  valueName?: string;
334
683
  valueType?: ValueType;
335
684
  validate?: boolean;
685
+ readonly?: boolean;
686
+ disabled?: boolean;
336
687
  pureDataValidate?: boolean;
337
688
  validateHandler?: ValidateHandler;
338
689
  validateCheckEvents?: string[];
339
690
  validateResetEvents?: string[];
340
691
  }
341
692
 
342
- export declare const DialogItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
343
-
344
693
  declare type Direction = '' | 'vertical' | 'horizontal';
345
694
 
346
695
  /**
@@ -482,16 +831,15 @@ export declare function excludeProps(src: Record<string, any>, ...excludeTemplat
482
831
  */
483
832
  export declare function extend(...args: any[]): any;
484
833
 
485
- export declare const ExtIcon: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
486
-
487
- export declare const ExtTabPane: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
488
-
489
- export declare const ExtTabs: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
490
-
834
+ /**
835
+ * float data
836
+ * @param format
837
+ * @param dataOp
838
+ * @param mapOps
839
+ * @returns
840
+ */
491
841
  export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
492
842
 
493
- export declare const FooterBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
494
-
495
843
  export { FoxAffix }
496
844
 
497
845
  export { FoxAlert }
@@ -546,8 +894,6 @@ export { FoxCollapseTransition }
546
894
 
547
895
  export { FoxColorPicker }
548
896
 
549
- declare type FoxComponentPublicInstance = any;
550
-
551
897
  export { FoxConfigProvider }
552
898
 
553
899
  export { FoxContainer }
@@ -680,78 +1026,6 @@ export { FoxTreeSelect }
680
1026
 
681
1027
  export { FoxTreeV2 }
682
1028
 
683
- /**
684
- * Fox UI
685
- */
686
- declare interface FoxUI {
687
- /**
688
- * 版本号
689
- */
690
- version: string;
691
- /**
692
- * 安装
693
- * @param app
694
- * @param options
695
- */
696
- install(app: App, options: FoxUIOptions): any;
697
- /**
698
- * 初始化page Layout
699
- *
700
- * @param options
701
- * @param rootDomain
702
- */
703
- initPageLayout(options: FoxUIOptions, rootDomain?: Domain): void;
704
- /**
705
- * 设置scope getter
706
- * @param getter
707
- */
708
- setScopeGetter(getter: ScopeGetter): void;
709
- /**
710
- * 设置API
711
- * @param name
712
- * @param func
713
- * @param scope
714
- */
715
- setAPI(name: string, func: any, scope?: string): void;
716
- /**
717
- * 获取API
718
- * @param proxy
719
- * @param name
720
- * @param scope
721
- */
722
- getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
723
- /**
724
- * 批量增加api
725
- * @param apis
726
- * @param scope
727
- */
728
- batchSetAPI(apis: Record<string, any>, scope?: string): void;
729
- /**
730
- * 清空scope apis
731
- * @param scope
732
- */
733
- clearScopeAPI(scope: string): void;
734
- /**
735
- * 获取root domain
736
- */
737
- getRootDomain(): Domain;
738
- }
739
-
740
- /**
741
- * UI Options
742
- */
743
- declare interface FoxUIOptions {
744
- headerBarHeight?: number;
745
- footerBarHeight?: number;
746
- safeAreaInset?: SafeAreaInset;
747
- pageLayout?: PageLayout;
748
- headerPadding?: Rect;
749
- contentPadding?: Rect;
750
- groupLayout?: GroupLayout;
751
- labelWidth?: number | string;
752
- [propName: string]: any;
753
- }
754
-
755
1029
  /**
756
1030
  * Fox UI vue实例
757
1031
  */
@@ -881,27 +1155,11 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
881
1155
  */
882
1156
  export declare function getRootDomain(): Domain;
883
1157
 
884
- export declare const Group: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
885
-
886
- /**
887
- * Layout信息接口
888
- */
889
- declare interface GroupLayout {
890
- type: string;
891
- width: number;
892
- column: number;
893
- gutter: number;
894
- }
895
-
896
1158
  /**
897
1159
  * 是否支持symbol
898
1160
  */
899
1161
  export declare const hasSymbol: boolean;
900
1162
 
901
- export declare const HeaderBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
902
-
903
- export declare const HintText: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
904
-
905
1163
  /**
906
1164
  * 根据包含模版,抽取属性
907
1165
  * @param src
@@ -918,12 +1176,6 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
918
1176
  */
919
1177
  export declare function indexOf(x: unknown, arr: unknown[]): number;
920
1178
 
921
- export declare const Indicator: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
922
-
923
- export declare const InputItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
924
-
925
- export declare const InputNumberItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
926
-
927
1179
  /**
928
1180
  * 安装函数
929
1181
  */
@@ -935,7 +1187,7 @@ declare interface Installer {
935
1187
  * 获取整数长度
936
1188
  * @param value
937
1189
  */
938
- export declare function integerLength(value: string | number): number;
1190
+ export declare function integerLength(v: string | number): number;
939
1191
 
940
1192
  /**
941
1193
  * 是否数组
@@ -966,7 +1218,7 @@ export declare const isDate: (val: unknown) => val is Date;
966
1218
  * @param v
967
1219
  * @returns
968
1220
  */
969
- export declare const isEmptyString: (v: unknown) => boolean;
1221
+ export declare const isEmptyString: (v: unknown) => v is "";
970
1222
 
971
1223
  /**
972
1224
  * 判断两个对象是否一致
@@ -990,6 +1242,12 @@ export declare function isESModule(obj: any): obj is Object;
990
1242
  */
991
1243
  export declare const isFunction: (val: unknown) => val is Function;
992
1244
 
1245
+ /**
1246
+ * 是否是隐藏element
1247
+ * @param el
1248
+ */
1249
+ export declare function isHidden(el: any): boolean;
1250
+
993
1251
  /**
994
1252
  * 是否为内嵌页面
995
1253
  * 内嵌页面为内嵌在容器内,如dialog,不需要设置content的高度
@@ -1006,12 +1264,17 @@ export declare function isInnerPage(domain: Domain, proxy: any): boolean;
1006
1264
  */
1007
1265
  export declare const isMap: (val: unknown) => val is Map<any, any>;
1008
1266
 
1267
+ /**
1268
+ * 是否null/undefined对象
1269
+ */
1270
+ export declare function isNil(v: unknown): v is null | undefined;
1271
+
1009
1272
  /**
1010
1273
  * 是否为数字字符串
1011
1274
  * @param value
1012
1275
  * @returns
1013
1276
  */
1014
- export declare function isNumberString(value: string): boolean;
1277
+ export declare function isNumberString(v: string): v is string;
1015
1278
 
1016
1279
  /**
1017
1280
  * 是否为object
@@ -1066,14 +1329,18 @@ export declare function isSubPage(domain: Domain): boolean;
1066
1329
  */
1067
1330
  export declare const isSymbol: (val: unknown) => val is symbol;
1068
1331
 
1332
+ /**
1333
+ * 是否为支持触摸
1334
+ * @returns
1335
+ */
1336
+ export declare function isTouch(): boolean;
1337
+
1069
1338
  /**
1070
1339
  * 是否是window对象
1071
1340
  * @param obj
1072
1341
  */
1073
1342
  export declare function isWindow(obj: any): boolean;
1074
1343
 
1075
- export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1076
-
1077
1344
  /**
1078
1345
  * 获取对应元素的在数组中最后一个匹配的索引
1079
1346
  * @param x
@@ -1090,8 +1357,6 @@ export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
1090
1357
  */
1091
1358
  export declare function makeArray(arr: any, results?: any[]): any[];
1092
1359
 
1093
- export declare const Mapping: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1094
-
1095
1360
  /**
1096
1361
  * 匹配条件
1097
1362
  */
@@ -1099,8 +1364,11 @@ export declare interface Matched {
1099
1364
  name?: string | RegExp | {
1100
1365
  (name: string): boolean;
1101
1366
  };
1102
- maxLevel?: number;
1103
- level?: number;
1367
+ resolve?: Resolve;
1368
+ resolved?: boolean;
1369
+ uniqueId?: string;
1370
+ cachePolicy?: MessageCachePolicy;
1371
+ messagingPolicy?: MessagingPolicy;
1104
1372
  }
1105
1373
 
1106
1374
  /**
@@ -1111,7 +1379,17 @@ export declare interface Matched {
1111
1379
  */
1112
1380
  export declare function merge(first: any[], second: any[]): any[];
1113
1381
 
1114
- export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1382
+ /**
1383
+ * 消息缓存策略
1384
+ * None:不缓存; UnResolved:消息未命中前缓存;Persistant:永久缓存
1385
+ */
1386
+ export declare type MessageCachePolicy = 'None' | 'Unresolved' | 'Persistant';
1387
+
1388
+ /**
1389
+ * 消息传递策略
1390
+ * broadcast
1391
+ */
1392
+ export declare type MessagingPolicy = 'Brodcast' | 'Once';
1115
1393
 
1116
1394
  export { multiply }
1117
1395
 
@@ -1133,7 +1411,18 @@ export { numberFormat }
1133
1411
  */
1134
1412
  export declare const objectToString: () => string;
1135
1413
 
1136
- export declare const Overlay: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1414
+ /**
1415
+ * 只执行一次函数
1416
+ * @param func
1417
+ * @returns
1418
+ */
1419
+ export declare function once(func: GenericFunction): GenericFunction;
1420
+
1421
+ /**
1422
+ * 覆盖更新公共的校验处理器
1423
+ * @param validateHandler
1424
+ */
1425
+ export declare function overrideGlobalValidateHandler(validateHandler: Partial<ValidateHandler>): void;
1137
1426
 
1138
1427
  /**
1139
1428
  * padding
@@ -1145,16 +1434,14 @@ export declare interface Padding {
1145
1434
  bottom: number | null;
1146
1435
  }
1147
1436
 
1148
- export declare const Page: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1149
-
1150
1437
  /**
1151
1438
  * page layout
1152
1439
  */
1153
1440
  export declare interface PageLayout {
1154
1441
  width: number | string;
1155
- height?: number | string;
1156
- headerHeight: number | string;
1157
- footerHeight: number | string;
1442
+ height: number | string;
1443
+ headerHeight?: number | string;
1444
+ footerHeight?: number | string;
1158
1445
  headerPadding?: Padding;
1159
1446
  footerPadding?: Padding;
1160
1447
  contentPadding?: Padding;
@@ -1165,10 +1452,14 @@ export declare interface PageState {
1165
1452
  height: number;
1166
1453
  headerHeight: number;
1167
1454
  headerPadding: Padding;
1455
+ headerAllHeight?: number;
1168
1456
  footerHeight: number;
1169
1457
  footerPadding: Padding;
1458
+ footerAllHeight?: number;
1170
1459
  contentHeight: number | string | null;
1171
1460
  contentPadding: Padding;
1461
+ contentInnerHeight?: number;
1462
+ contentInnerWidth?: number;
1172
1463
  safeAreaTop: number;
1173
1464
  safeAreaBottom: number;
1174
1465
  safeAreaLeft: number;
@@ -1177,7 +1468,14 @@ export declare interface PageState {
1177
1468
  footerMounted?: boolean;
1178
1469
  }
1179
1470
 
1180
- export declare const Picker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1471
+ /**
1472
+ * 持久消息
1473
+ */
1474
+ declare interface PersistantMessage {
1475
+ matched: Matched;
1476
+ action: string;
1477
+ args: any[];
1478
+ }
1181
1479
 
1182
1480
  /**
1183
1481
  * 坐标
@@ -1187,10 +1485,6 @@ export declare interface Point {
1187
1485
  y: number;
1188
1486
  }
1189
1487
 
1190
- export declare const Popup: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1191
-
1192
- export declare const Price: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1193
-
1194
1488
  /**
1195
1489
  * 优先策略
1196
1490
  */
@@ -1208,32 +1502,15 @@ export declare enum PriorityPolicy {
1208
1502
  */
1209
1503
  export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
1210
1504
 
1211
- export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1212
-
1213
- /**
1214
- * 动画
1215
- */
1216
1505
  export declare const raf: any;
1217
1506
 
1218
- export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1219
-
1220
1507
  /**
1221
1508
  * 只读属性
1222
1509
  * @param source
1223
1510
  */
1224
1511
  export declare function readonlyProperty(source: Ref): Ref;
1225
1512
 
1226
- /**
1227
- * Rect类型
1228
- */
1229
1513
  declare interface Rect {
1230
- left: number;
1231
- top: number;
1232
- right: number;
1233
- bottom: number;
1234
- }
1235
-
1236
- declare interface Rect_2 {
1237
1514
  top: number;
1238
1515
  left: number;
1239
1516
  right: number;
@@ -1242,6 +1519,11 @@ declare interface Rect_2 {
1242
1519
  height: number;
1243
1520
  }
1244
1521
 
1522
+ /**
1523
+ * 消息确认函数
1524
+ */
1525
+ declare type Resolve = (...args: any) => void;
1526
+
1245
1527
  /**
1246
1528
  * 结果类型
1247
1529
  */
@@ -1252,8 +1534,6 @@ export declare type Result = Promise<any> | any;
1252
1534
  */
1253
1535
  export declare type Results = Result[];
1254
1536
 
1255
- export declare const RowItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1256
-
1257
1537
  /**
1258
1538
  * 安全区域
1259
1539
  */
@@ -1264,15 +1544,6 @@ export declare interface SafeAreaInset {
1264
1544
  bottom: number | string;
1265
1545
  }
1266
1546
 
1267
- /**
1268
- * scope getter
1269
- */
1270
- declare interface ScopeGetter {
1271
- (proxy: ComponentPublicInstance): string | null;
1272
- }
1273
-
1274
- export declare const SelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1275
-
1276
1547
  /**
1277
1548
  * 设置公共校验检查事件
1278
1549
  * @param events
@@ -1303,27 +1574,21 @@ export declare function setGlobalValidateResetEvents(events: string[]): void;
1303
1574
  */
1304
1575
  export declare function setGlobalValidator(type: string, validator: ExecuteValidator): void;
1305
1576
 
1306
- export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1307
-
1308
- export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1309
-
1310
- export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1311
-
1312
- export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1577
+ /**
1578
+ * size
1579
+ */
1580
+ declare interface Size {
1581
+ width: number;
1582
+ height: number;
1583
+ }
1313
1584
 
1314
1585
  /**
1315
- * 节流函数
1586
+ * 节流函数(执行时间范围内的第一次)
1316
1587
  * @param func 函数
1317
- * @param time 延迟执行毫秒数
1588
+ * @param delay 延迟执行毫秒数
1318
1589
  * @returns
1319
1590
  */
1320
- export declare function throttle(func: GenericFunction, time: number): GenericFunction;
1321
-
1322
- export declare const TimeItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1323
-
1324
- export declare const TimeSelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1325
-
1326
- export declare const Toast: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1591
+ export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
1327
1592
 
1328
1593
  /**
1329
1594
  * 转换为boolean值
@@ -1364,10 +1629,35 @@ export declare const toTypeString: (value: unknown) => string;
1364
1629
  /**
1365
1630
  * to model value
1366
1631
  * @param props
1632
+ * @param name
1367
1633
  * @param format
1634
+ * @param emitEvent
1368
1635
  * @returns
1369
1636
  */
1370
- export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
1637
+ export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any> | null, emitEvent?: {
1638
+ (type: string, ...args: any[]): void;
1639
+ }): Ref;
1640
+
1641
+ /**
1642
+ * 尝试执行多次函数
1643
+ * @param func 执行函数
1644
+ * @param milliseconds 执行间隔
1645
+ * @param maxLimit 最大尝试次数
1646
+ * @param step 间隔增加步长
1647
+ * @param immediately 是否立刻执行
1648
+ * @param callback 执行成功后的回调函数
1649
+ */
1650
+ export declare function tryTimes(func: TryTimesFunction, milliseconds: number, maxLimit: number, step?: number, immediately?: boolean, callback?: {
1651
+ (ret: boolean): void;
1652
+ }): void;
1653
+
1654
+ /**
1655
+ * 尝试多次函数
1656
+ * 返回true,代表执行完成,不在需要重试
1657
+ */
1658
+ export declare interface TryTimesFunction {
1659
+ (): boolean;
1660
+ }
1371
1661
 
1372
1662
  /**
1373
1663
  * 判断类型
@@ -1400,6 +1690,11 @@ export { unNumberFormat }
1400
1690
  * @param state
1401
1691
  * @param pageLayout
1402
1692
  * @param overrideProps
1693
+ * @param root
1694
+ * @param rootWidth
1695
+ * @param rootHeight
1696
+ * @param headerBarHeight
1697
+ * @param footerBarHeight
1403
1698
  */
1404
1699
  export declare function updatePageState(state: PageState, pageLayout: any, overrideProps?: Record<string, unknown>, root?: boolean, rootWidth?: number, rootHeight?: number, headerBarHeight?: number, footerBarHeight?: number): void;
1405
1700
 
@@ -1414,7 +1709,7 @@ export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null):
1414
1709
  * 获取当前domain
1415
1710
  * @returns
1416
1711
  */
1417
- export declare function useDomain(instance?: ComponentInternalInstance | null): Domain | null;
1712
+ export declare function useDomain(proxy?: ComponentPublicInstance | null): Domain | null;
1418
1713
 
1419
1714
  /**
1420
1715
  * use expose
@@ -1422,6 +1717,13 @@ export declare function useDomain(instance?: ComponentInternalInstance | null):
1422
1717
  */
1423
1718
  export declare function useExpose(apis: Record<string, any>, instance?: ComponentInternalInstance | null): void;
1424
1719
 
1720
+ /**
1721
+ * 获取内部可用size
1722
+ * @param elementRef
1723
+ * @returns
1724
+ */
1725
+ export declare function useInnerSize(elementRef: Element | Ref<Element>): Size;
1726
+
1425
1727
  /**
1426
1728
  * 获取page state
1427
1729
  * @param domain
@@ -1436,23 +1738,59 @@ export declare function usePageState(domain: Domain): PageState | null;
1436
1738
  */
1437
1739
  export declare const usePosition: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Point;
1438
1740
 
1439
- export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
1741
+ /**
1742
+ * 获取非响应式touch对象
1743
+ * @returns
1744
+ */
1745
+ export declare function useRawTouch(): {
1746
+ move: EventListener;
1747
+ start: EventListener;
1748
+ reset: () => void;
1749
+ isVertical: () => boolean;
1750
+ isHorizontal: () => boolean;
1751
+ state: {
1752
+ startX: number;
1753
+ startY: number;
1754
+ startTime: number;
1755
+ duration: number;
1756
+ moveX: number;
1757
+ moveY: number;
1758
+ deltaX: number;
1759
+ deltaY: number;
1760
+ offsetX: number;
1761
+ offsetY: number;
1762
+ direction: Direction;
1763
+ };
1764
+ };
1765
+
1766
+ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
1440
1767
 
1768
+ /**
1769
+ * 获取size
1770
+ * @param elementRef
1771
+ * @returns
1772
+ */
1773
+ export declare function useSize(elementRef: Element | Ref<Element>): Size;
1774
+
1775
+ /**
1776
+ * 获取响应式touch对象
1777
+ * @returns
1778
+ */
1441
1779
  export declare function useTouch(): {
1442
1780
  move: EventListener;
1443
1781
  start: EventListener;
1444
1782
  reset: () => void;
1445
- startX: Ref<number>;
1446
- startY: Ref<number>;
1447
- startTime: Ref<number>;
1448
- duration: Ref<number>;
1449
- moveX: Ref<number>;
1450
- moveY: Ref<number>;
1451
- deltaX: Ref<number>;
1452
- deltaY: Ref<number>;
1453
- offsetX: Ref<number>;
1454
- offsetY: Ref<number>;
1455
- direction: Ref<Direction>;
1783
+ startX: any;
1784
+ startY: any;
1785
+ startTime: any;
1786
+ duration: any;
1787
+ moveX: any;
1788
+ moveY: any;
1789
+ deltaX: any;
1790
+ deltaY: any;
1791
+ offsetX: any;
1792
+ offsetY: any;
1793
+ direction: any;
1456
1794
  isVertical: () => boolean;
1457
1795
  isHorizontal: () => boolean;
1458
1796
  };
@@ -1461,8 +1799,12 @@ export declare function useTouch(): {
1461
1799
  * 校验条件
1462
1800
  */
1463
1801
  export declare interface ValidateCondition {
1464
- exclude?: string[];
1802
+ deep?: boolean;
1465
1803
  include?: string[];
1804
+ exclude?: string[];
1805
+ ignoreHidden?: boolean;
1806
+ ignoreDisabled?: boolean;
1807
+ ignoreReadonly?: boolean;
1466
1808
  }
1467
1809
 
1468
1810
  /**