@fox-js/foxui-pc 4.0.1-1 → 4.0.1-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -3
- package/dist/index.esm.js +4731 -2805
- package/dist/index.umd.js +4 -4
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +345 -24
- package/package.json +3 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -11,6 +11,100 @@ import type { DefineComponent } from 'vue';
|
|
|
11
11
|
import { divide } from '@fox-js/big-decimal';
|
|
12
12
|
import { ExecuteValidator } from '@fox-js/validator';
|
|
13
13
|
import { extend } from '@fox-js/fox';
|
|
14
|
+
import { ElAffix as FoxAffix } from 'element-plus';
|
|
15
|
+
import { ElAlert as FoxAlert } from 'element-plus';
|
|
16
|
+
import { ElAside as FoxAside } from 'element-plus';
|
|
17
|
+
import { ElAutocomplete as FoxAutocomplete } from 'element-plus';
|
|
18
|
+
import { ElAutoResizer as FoxAutoResizer } from 'element-plus';
|
|
19
|
+
import { ElAvatar as FoxAvatar } from 'element-plus';
|
|
20
|
+
import { ElBacktop as FoxBacktop } from 'element-plus';
|
|
21
|
+
import { ElBadge as FoxBadge } from 'element-plus';
|
|
22
|
+
import { ElBreadcrumb as FoxBreadcrumb } from 'element-plus';
|
|
23
|
+
import { ElBreadcrumbItem as FoxBreadcrumbItem } from 'element-plus';
|
|
24
|
+
import { ElButton as FoxButton } from 'element-plus';
|
|
25
|
+
import { ElButtonGroup as FoxButtonGroup } from 'element-plus';
|
|
26
|
+
import { ElCalendar as FoxCalendar } from 'element-plus';
|
|
27
|
+
import { ElCard as FoxCard } from 'element-plus';
|
|
28
|
+
import { ElCarousel as FoxCarousel } from 'element-plus';
|
|
29
|
+
import { ElCarouselItem as FoxCarouselItem } from 'element-plus';
|
|
30
|
+
import { ElCascader as FoxCascader } from 'element-plus';
|
|
31
|
+
import { ElCascaderPanel as FoxCascaderPanel } from 'element-plus';
|
|
32
|
+
import { ElCheckbox as FoxCheckbox } from 'element-plus';
|
|
33
|
+
import { ElCheckboxButton as FoxCheckboxButton } from 'element-plus';
|
|
34
|
+
import { ElCheckboxGroup as FoxCheckboxGroup } from 'element-plus';
|
|
35
|
+
import { ElCheckTag as FoxCheckTag } from 'element-plus';
|
|
36
|
+
import { ElCol as FoxCol } from 'element-plus';
|
|
37
|
+
import { ElCollapse as FoxCollapse } from 'element-plus';
|
|
38
|
+
import { ElCollapseItem as FoxCollapseItem } from 'element-plus';
|
|
39
|
+
import { ElCollapseTransition as FoxCollapseTransition } from 'element-plus';
|
|
40
|
+
import { ElColorPicker as FoxColorPicker } from 'element-plus';
|
|
41
|
+
import { ElConfigProvider as FoxConfigProvider } from 'element-plus';
|
|
42
|
+
import { ElContainer as FoxContainer } from 'element-plus';
|
|
43
|
+
import { ElDatePicker as FoxDatePicker } from 'element-plus';
|
|
44
|
+
import { ElDescriptions as FoxDescriptions } from 'element-plus';
|
|
45
|
+
import { ElDescriptionsItem as FoxDescriptionsItem } from 'element-plus';
|
|
46
|
+
import { ElDialog as FoxDialog } from 'element-plus';
|
|
47
|
+
import { ElDivider as FoxDivider } from 'element-plus';
|
|
48
|
+
import { ElDrawer as FoxDrawer } from 'element-plus';
|
|
49
|
+
import { ElDropdown as FoxDropdown } from 'element-plus';
|
|
50
|
+
import { ElDropdownItem as FoxDropdownItem } from 'element-plus';
|
|
51
|
+
import { ElDropdownMenu as FoxDropdownMenu } from 'element-plus';
|
|
52
|
+
import { ElEmpty as FoxEmpty } from 'element-plus';
|
|
53
|
+
import { ElFooter as FoxFooter } from 'element-plus';
|
|
54
|
+
import { ElForm as FoxForm } from 'element-plus';
|
|
55
|
+
import { ElFormItem as FoxFormItem } from 'element-plus';
|
|
56
|
+
import { ElHeader as FoxHeader } from 'element-plus';
|
|
57
|
+
import { ElIcon as FoxIcon } from 'element-plus';
|
|
58
|
+
import { ElImage as FoxImage } from 'element-plus';
|
|
59
|
+
import { ElImageViewer as FoxImageViewer } from 'element-plus';
|
|
60
|
+
import { ElInput as FoxInput } from 'element-plus';
|
|
61
|
+
import { ElInputNumber as FoxInputNumber } from 'element-plus';
|
|
62
|
+
import { ElLink as FoxLink } from 'element-plus';
|
|
63
|
+
import { ElMain as FoxMain } from 'element-plus';
|
|
64
|
+
import { ElMenu as FoxMenu } from 'element-plus';
|
|
65
|
+
import { ElMenuItem as FoxMenuItem } from 'element-plus';
|
|
66
|
+
import { ElMenuItemGroup as FoxMenuItemGroup } from 'element-plus';
|
|
67
|
+
import { ElOption as FoxOption } from 'element-plus';
|
|
68
|
+
import { ElOptionGroup as FoxOptionGroup } from 'element-plus';
|
|
69
|
+
import { ElPageHeader as FoxPageHeader } from 'element-plus';
|
|
70
|
+
import { ElPagination as FoxPagination } from 'element-plus';
|
|
71
|
+
import { ElPopconfirm as FoxPopconfirm } from 'element-plus';
|
|
72
|
+
import { ElPopover as FoxPopover } from 'element-plus';
|
|
73
|
+
import { ElPopper as FoxPopper } from 'element-plus';
|
|
74
|
+
import { ElProgress as FoxProgress } from 'element-plus';
|
|
75
|
+
import { ElRadio as FoxRadio } from 'element-plus';
|
|
76
|
+
import { ElRadioButton as FoxRadioButton } from 'element-plus';
|
|
77
|
+
import { ElRadioGroup as FoxRadioGroup } from 'element-plus';
|
|
78
|
+
import { ElRate as FoxRate } from 'element-plus';
|
|
79
|
+
import { ElResult as FoxResult } from 'element-plus';
|
|
80
|
+
import { ElRow as FoxRow } from 'element-plus';
|
|
81
|
+
import { ElScrollbar as FoxScrollbar } from 'element-plus';
|
|
82
|
+
import { ElSelect as FoxSelect } from 'element-plus';
|
|
83
|
+
import { ElSelectV2 as FoxSelectV2 } from 'element-plus';
|
|
84
|
+
import { ElSkeleton as FoxSkeleton } from 'element-plus';
|
|
85
|
+
import { ElSkeletonItem as FoxSkeletonItem } from 'element-plus';
|
|
86
|
+
import { ElSlider as FoxSlider } from 'element-plus';
|
|
87
|
+
import { ElSpace as FoxSpace } from 'element-plus';
|
|
88
|
+
import { ElStep as FoxStep } from 'element-plus';
|
|
89
|
+
import { ElSteps as FoxSteps } from 'element-plus';
|
|
90
|
+
import { ElSubMenu as FoxSubMenu } from 'element-plus';
|
|
91
|
+
import { ElSwitch as FoxSwitch } from 'element-plus';
|
|
92
|
+
import { ElTable as FoxTable } from 'element-plus';
|
|
93
|
+
import { ElTableColumn as FoxTableColumn } from 'element-plus';
|
|
94
|
+
import { ElTableV2 as FoxTableV2 } from 'element-plus';
|
|
95
|
+
import { ElTabPane as FoxTabPane } from 'element-plus';
|
|
96
|
+
import { ElTabs as FoxTabs } from 'element-plus';
|
|
97
|
+
import { ElTag as FoxTag } from 'element-plus';
|
|
98
|
+
import { ElTimeline as FoxTimeline } from 'element-plus';
|
|
99
|
+
import { ElTimelineItem as FoxTimelineItem } from 'element-plus';
|
|
100
|
+
import { ElTimePicker as FoxTimePicker } from 'element-plus';
|
|
101
|
+
import { ElTimeSelect as FoxTimeSelect } from 'element-plus';
|
|
102
|
+
import { ElTooltip as FoxTooltip } from 'element-plus';
|
|
103
|
+
import { ElTransfer as FoxTransfer } from 'element-plus';
|
|
104
|
+
import { ElTree as FoxTree } from 'element-plus';
|
|
105
|
+
import { ElTreeSelect as FoxTreeSelect } from 'element-plus';
|
|
106
|
+
import { ElTreeV2 as FoxTreeV2 } from 'element-plus';
|
|
107
|
+
import { ElUpload as FoxUpload } from 'element-plus';
|
|
14
108
|
import { isArray } from '@fox-js/fox';
|
|
15
109
|
import { isDate } from '@fox-js/fox';
|
|
16
110
|
import { isEqual } from '@fox-js/fox';
|
|
@@ -46,6 +140,8 @@ export declare interface AcceptFilter {
|
|
|
46
140
|
(value: any): boolean;
|
|
47
141
|
}
|
|
48
142
|
|
|
143
|
+
export declare const AutocompleteItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
144
|
+
|
|
49
145
|
/**
|
|
50
146
|
* 广播类
|
|
51
147
|
*/
|
|
@@ -63,9 +159,9 @@ export declare class Broadcast {
|
|
|
63
159
|
*/
|
|
64
160
|
private callbacks;
|
|
65
161
|
/**
|
|
66
|
-
* vue
|
|
162
|
+
* vue proxy
|
|
67
163
|
*/
|
|
68
|
-
private
|
|
164
|
+
private proxy;
|
|
69
165
|
/**
|
|
70
166
|
* 名称
|
|
71
167
|
*/
|
|
@@ -73,10 +169,10 @@ export declare class Broadcast {
|
|
|
73
169
|
/**
|
|
74
170
|
* 构造函数
|
|
75
171
|
* @param parent
|
|
76
|
-
* @param
|
|
172
|
+
* @param proxy
|
|
77
173
|
* @param name
|
|
78
174
|
*/
|
|
79
|
-
constructor(parent: Broadcast | null,
|
|
175
|
+
constructor(parent: Broadcast | null, proxy: FoxComponentPublicInstance, name?: string);
|
|
80
176
|
/**
|
|
81
177
|
* 加入孩子节点
|
|
82
178
|
* @param child
|
|
@@ -123,6 +219,10 @@ export declare interface BroadcastCallback {
|
|
|
123
219
|
|
|
124
220
|
export declare const BroadcastKey: unique symbol;
|
|
125
221
|
|
|
222
|
+
export declare const CascaderItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
223
|
+
|
|
224
|
+
export declare const CheckboxItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
225
|
+
|
|
126
226
|
/**
|
|
127
227
|
* 清理非数字
|
|
128
228
|
*/
|
|
@@ -136,21 +236,28 @@ export declare const Content: DefineComponent<unknown, object, {}, ComputedOptio
|
|
|
136
236
|
|
|
137
237
|
/**
|
|
138
238
|
* 创建broadcast
|
|
239
|
+
*
|
|
240
|
+
* @param proxy
|
|
139
241
|
* @param parent
|
|
140
242
|
* @param name
|
|
141
243
|
* @param callbacks
|
|
142
244
|
* @returns
|
|
143
245
|
*/
|
|
144
|
-
export declare function createBroadcast(
|
|
246
|
+
export declare function createBroadcast(proxy: FoxComponentPublicInstance, parent: Broadcast | null, name?: string, callbacks?: Record<string, BroadcastCallback>): Broadcast;
|
|
145
247
|
|
|
146
248
|
/**
|
|
147
249
|
* 创建校验schema
|
|
148
|
-
* @param
|
|
250
|
+
* @param proxy
|
|
149
251
|
* @param parent
|
|
150
252
|
* @param descriptor
|
|
151
253
|
* @returns
|
|
152
254
|
*/
|
|
153
|
-
export declare function createValidateSchema(
|
|
255
|
+
export declare function createValidateSchema(proxy: FoxComponentPublicInstance, parent: ValidateSchema | null, descriptor: Descriptor): ValidateSchema;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* data items key
|
|
259
|
+
*/
|
|
260
|
+
export declare const DataItemsKey: unique symbol;
|
|
154
261
|
|
|
155
262
|
export declare const DateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
156
263
|
|
|
@@ -177,7 +284,16 @@ export default _default;
|
|
|
177
284
|
* @param callbacks
|
|
178
285
|
* @returns
|
|
179
286
|
*/
|
|
180
|
-
export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback
|
|
287
|
+
export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback>, proxy?: FoxComponentPublicInstance): Broadcast | null;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* 定义domain data item
|
|
291
|
+
* @returns
|
|
292
|
+
*/
|
|
293
|
+
export declare function defineDataItem(domain: Domain, name: string, descriptor: Descriptor, parentBroadcast: Broadcast, parentValidateSchema: ValidateSchema): {
|
|
294
|
+
broadcast: Broadcast;
|
|
295
|
+
validateSchema: ValidateSchema;
|
|
296
|
+
};
|
|
181
297
|
|
|
182
298
|
/**
|
|
183
299
|
* 安装domain
|
|
@@ -218,6 +334,7 @@ export declare interface Descriptor {
|
|
|
218
334
|
valueName?: string;
|
|
219
335
|
valueType?: ValueType;
|
|
220
336
|
validate?: boolean;
|
|
337
|
+
pureDataValidate?: boolean;
|
|
221
338
|
validateHandler?: ValidateHandler;
|
|
222
339
|
validateCheckEvents?: string[];
|
|
223
340
|
validateResetEvents?: string[];
|
|
@@ -359,10 +476,200 @@ export declare function excludeProps(src: Record<string, any>, ...excludeTemplat
|
|
|
359
476
|
|
|
360
477
|
export { extend }
|
|
361
478
|
|
|
479
|
+
export declare const ExtIcon: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
480
|
+
|
|
362
481
|
export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
|
|
363
482
|
|
|
364
483
|
export declare const FooterBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
365
484
|
|
|
485
|
+
export { FoxAffix }
|
|
486
|
+
|
|
487
|
+
export { FoxAlert }
|
|
488
|
+
|
|
489
|
+
export { FoxAside }
|
|
490
|
+
|
|
491
|
+
export { FoxAutocomplete }
|
|
492
|
+
|
|
493
|
+
export { FoxAutoResizer }
|
|
494
|
+
|
|
495
|
+
export { FoxAvatar }
|
|
496
|
+
|
|
497
|
+
export { FoxBacktop }
|
|
498
|
+
|
|
499
|
+
export { FoxBadge }
|
|
500
|
+
|
|
501
|
+
export { FoxBreadcrumb }
|
|
502
|
+
|
|
503
|
+
export { FoxBreadcrumbItem }
|
|
504
|
+
|
|
505
|
+
export { FoxButton }
|
|
506
|
+
|
|
507
|
+
export { FoxButtonGroup }
|
|
508
|
+
|
|
509
|
+
export { FoxCalendar }
|
|
510
|
+
|
|
511
|
+
export { FoxCard }
|
|
512
|
+
|
|
513
|
+
export { FoxCarousel }
|
|
514
|
+
|
|
515
|
+
export { FoxCarouselItem }
|
|
516
|
+
|
|
517
|
+
export { FoxCascader }
|
|
518
|
+
|
|
519
|
+
export { FoxCascaderPanel }
|
|
520
|
+
|
|
521
|
+
export { FoxCheckbox }
|
|
522
|
+
|
|
523
|
+
export { FoxCheckboxButton }
|
|
524
|
+
|
|
525
|
+
export { FoxCheckboxGroup }
|
|
526
|
+
|
|
527
|
+
export { FoxCheckTag }
|
|
528
|
+
|
|
529
|
+
export { FoxCol }
|
|
530
|
+
|
|
531
|
+
export { FoxCollapse }
|
|
532
|
+
|
|
533
|
+
export { FoxCollapseItem }
|
|
534
|
+
|
|
535
|
+
export { FoxCollapseTransition }
|
|
536
|
+
|
|
537
|
+
export { FoxColorPicker }
|
|
538
|
+
|
|
539
|
+
declare type FoxComponentPublicInstance = any;
|
|
540
|
+
|
|
541
|
+
export { FoxConfigProvider }
|
|
542
|
+
|
|
543
|
+
export { FoxContainer }
|
|
544
|
+
|
|
545
|
+
export { FoxDatePicker }
|
|
546
|
+
|
|
547
|
+
export { FoxDescriptions }
|
|
548
|
+
|
|
549
|
+
export { FoxDescriptionsItem }
|
|
550
|
+
|
|
551
|
+
export { FoxDialog }
|
|
552
|
+
|
|
553
|
+
export { FoxDivider }
|
|
554
|
+
|
|
555
|
+
export { FoxDrawer }
|
|
556
|
+
|
|
557
|
+
export { FoxDropdown }
|
|
558
|
+
|
|
559
|
+
export { FoxDropdownItem }
|
|
560
|
+
|
|
561
|
+
export { FoxDropdownMenu }
|
|
562
|
+
|
|
563
|
+
export { FoxEmpty }
|
|
564
|
+
|
|
565
|
+
export { FoxFooter }
|
|
566
|
+
|
|
567
|
+
export { FoxForm }
|
|
568
|
+
|
|
569
|
+
export { FoxFormItem }
|
|
570
|
+
|
|
571
|
+
export { FoxHeader }
|
|
572
|
+
|
|
573
|
+
export { FoxIcon }
|
|
574
|
+
|
|
575
|
+
export { FoxImage }
|
|
576
|
+
|
|
577
|
+
export { FoxImageViewer }
|
|
578
|
+
|
|
579
|
+
export { FoxInput }
|
|
580
|
+
|
|
581
|
+
export { FoxInputNumber }
|
|
582
|
+
|
|
583
|
+
export { FoxLink }
|
|
584
|
+
|
|
585
|
+
export { FoxMain }
|
|
586
|
+
|
|
587
|
+
export { FoxMenu }
|
|
588
|
+
|
|
589
|
+
export { FoxMenuItem }
|
|
590
|
+
|
|
591
|
+
export { FoxMenuItemGroup }
|
|
592
|
+
|
|
593
|
+
export { FoxOption }
|
|
594
|
+
|
|
595
|
+
export { FoxOptionGroup }
|
|
596
|
+
|
|
597
|
+
export { FoxPageHeader }
|
|
598
|
+
|
|
599
|
+
export { FoxPagination }
|
|
600
|
+
|
|
601
|
+
export { FoxPopconfirm }
|
|
602
|
+
|
|
603
|
+
export { FoxPopover }
|
|
604
|
+
|
|
605
|
+
export { FoxPopper }
|
|
606
|
+
|
|
607
|
+
export { FoxProgress }
|
|
608
|
+
|
|
609
|
+
export { FoxRadio }
|
|
610
|
+
|
|
611
|
+
export { FoxRadioButton }
|
|
612
|
+
|
|
613
|
+
export { FoxRadioGroup }
|
|
614
|
+
|
|
615
|
+
export { FoxRate }
|
|
616
|
+
|
|
617
|
+
export { FoxResult }
|
|
618
|
+
|
|
619
|
+
export { FoxRow }
|
|
620
|
+
|
|
621
|
+
export { FoxScrollbar }
|
|
622
|
+
|
|
623
|
+
export { FoxSelect }
|
|
624
|
+
|
|
625
|
+
export { FoxSelectV2 }
|
|
626
|
+
|
|
627
|
+
export { FoxSkeleton }
|
|
628
|
+
|
|
629
|
+
export { FoxSkeletonItem }
|
|
630
|
+
|
|
631
|
+
export { FoxSlider }
|
|
632
|
+
|
|
633
|
+
export { FoxSpace }
|
|
634
|
+
|
|
635
|
+
export { FoxStep }
|
|
636
|
+
|
|
637
|
+
export { FoxSteps }
|
|
638
|
+
|
|
639
|
+
export { FoxSubMenu }
|
|
640
|
+
|
|
641
|
+
export { FoxSwitch }
|
|
642
|
+
|
|
643
|
+
export { FoxTable }
|
|
644
|
+
|
|
645
|
+
export { FoxTableColumn }
|
|
646
|
+
|
|
647
|
+
export { FoxTableV2 }
|
|
648
|
+
|
|
649
|
+
export { FoxTabPane }
|
|
650
|
+
|
|
651
|
+
export { FoxTabs }
|
|
652
|
+
|
|
653
|
+
export { FoxTag }
|
|
654
|
+
|
|
655
|
+
export { FoxTimeline }
|
|
656
|
+
|
|
657
|
+
export { FoxTimelineItem }
|
|
658
|
+
|
|
659
|
+
export { FoxTimePicker }
|
|
660
|
+
|
|
661
|
+
export { FoxTimeSelect }
|
|
662
|
+
|
|
663
|
+
export { FoxTooltip }
|
|
664
|
+
|
|
665
|
+
export { FoxTransfer }
|
|
666
|
+
|
|
667
|
+
export { FoxTree }
|
|
668
|
+
|
|
669
|
+
export { FoxTreeSelect }
|
|
670
|
+
|
|
671
|
+
export { FoxTreeV2 }
|
|
672
|
+
|
|
366
673
|
/**
|
|
367
674
|
* Fox UI
|
|
368
675
|
*/
|
|
@@ -376,7 +683,7 @@ declare interface FoxUI {
|
|
|
376
683
|
* @param app
|
|
377
684
|
* @param options
|
|
378
685
|
*/
|
|
379
|
-
install(app: App, options: FoxUIOptions):
|
|
686
|
+
install(app: App, options: FoxUIOptions): any;
|
|
380
687
|
/**
|
|
381
688
|
* 初始化page Layout
|
|
382
689
|
*
|
|
@@ -463,7 +770,7 @@ declare class FoxUIVue implements FoxUI {
|
|
|
463
770
|
* @param app
|
|
464
771
|
* @param options
|
|
465
772
|
*/
|
|
466
|
-
install(app: App, options?: FoxUIOptions):
|
|
773
|
+
install(app: App, options?: FoxUIOptions): any;
|
|
467
774
|
/**
|
|
468
775
|
* 初始化page Layout
|
|
469
776
|
*
|
|
@@ -507,6 +814,8 @@ declare class FoxUIVue implements FoxUI {
|
|
|
507
814
|
getRootDomain(): Domain;
|
|
508
815
|
}
|
|
509
816
|
|
|
817
|
+
export { FoxUpload }
|
|
818
|
+
|
|
510
819
|
/**
|
|
511
820
|
* 通用函数接口
|
|
512
821
|
*/
|
|
@@ -594,8 +903,12 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
|
|
|
594
903
|
*/
|
|
595
904
|
export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
596
905
|
|
|
906
|
+
export declare const Indicator: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
907
|
+
|
|
597
908
|
export declare const InputItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
598
909
|
|
|
910
|
+
export declare const InputNumberItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
911
|
+
|
|
599
912
|
/**
|
|
600
913
|
* 安装函数
|
|
601
914
|
*/
|
|
@@ -697,6 +1010,8 @@ export declare interface Matched {
|
|
|
697
1010
|
level?: number;
|
|
698
1011
|
}
|
|
699
1012
|
|
|
1013
|
+
export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1014
|
+
|
|
700
1015
|
export { multiply }
|
|
701
1016
|
|
|
702
1017
|
export { negate }
|
|
@@ -772,11 +1087,15 @@ export declare enum PriorityPolicy {
|
|
|
772
1087
|
*/
|
|
773
1088
|
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
|
|
774
1089
|
|
|
1090
|
+
export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1091
|
+
|
|
775
1092
|
/**
|
|
776
1093
|
* 动画
|
|
777
1094
|
*/
|
|
778
1095
|
export declare const raf: any;
|
|
779
1096
|
|
|
1097
|
+
export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1098
|
+
|
|
780
1099
|
/**
|
|
781
1100
|
* 只读属性
|
|
782
1101
|
* @param source
|
|
@@ -865,6 +1184,8 @@ export declare function setGlobalValidator(type: string, validator: ExecuteValid
|
|
|
865
1184
|
|
|
866
1185
|
export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
867
1186
|
|
|
1187
|
+
export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1188
|
+
|
|
868
1189
|
export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
869
1190
|
|
|
870
1191
|
export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
@@ -947,7 +1268,7 @@ export declare function updatePageState(state: PageState, pageLayout: any, overr
|
|
|
947
1268
|
* @param proxy
|
|
948
1269
|
* @returns
|
|
949
1270
|
*/
|
|
950
|
-
export declare function useBroadcast(proxy?:
|
|
1271
|
+
export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null): Broadcast | null;
|
|
951
1272
|
|
|
952
1273
|
/**
|
|
953
1274
|
* 获取当前domain
|
|
@@ -993,35 +1314,35 @@ export declare interface ValidateHandler {
|
|
|
993
1314
|
* 错误处理
|
|
994
1315
|
* @param errorMsg
|
|
995
1316
|
* @param proxy
|
|
996
|
-
*
|
|
1317
|
+
*
|
|
997
1318
|
*/
|
|
998
|
-
error?(errorMsg: string, proxy:
|
|
1319
|
+
error?(errorMsg: string, proxy: FoxComponentPublicInstance): void;
|
|
999
1320
|
/**
|
|
1000
1321
|
* 重置处理
|
|
1001
1322
|
* @param proxy
|
|
1002
|
-
*
|
|
1323
|
+
*
|
|
1003
1324
|
*/
|
|
1004
|
-
reset?(proxy:
|
|
1325
|
+
reset?(proxy: FoxComponentPublicInstance): void;
|
|
1005
1326
|
/**
|
|
1006
1327
|
* 成功处理
|
|
1007
1328
|
* @param proxy
|
|
1008
|
-
*
|
|
1329
|
+
*
|
|
1009
1330
|
*/
|
|
1010
|
-
success?(proxy:
|
|
1331
|
+
success?(proxy: FoxComponentPublicInstance): void;
|
|
1011
1332
|
/**
|
|
1012
1333
|
* 规则装饰处理
|
|
1013
1334
|
* @param newRule
|
|
1014
1335
|
* @param oldRule
|
|
1015
1336
|
* @param proxy
|
|
1016
|
-
*
|
|
1337
|
+
*
|
|
1017
1338
|
*/
|
|
1018
|
-
decorate?(newRule: Rule,
|
|
1339
|
+
decorate?(newRule: Rule, oldRule: Rule, proxy: FoxComponentPublicInstance): void;
|
|
1019
1340
|
/**
|
|
1020
1341
|
* 获取value
|
|
1021
1342
|
* @param proxy
|
|
1022
|
-
*
|
|
1343
|
+
*
|
|
1023
1344
|
*/
|
|
1024
|
-
getValue?(proxy:
|
|
1345
|
+
getValue?(proxy: FoxComponentPublicInstance): any;
|
|
1025
1346
|
}
|
|
1026
1347
|
|
|
1027
1348
|
/**
|
|
@@ -1051,7 +1372,7 @@ export declare class ValidateSchema {
|
|
|
1051
1372
|
/**
|
|
1052
1373
|
* 实例
|
|
1053
1374
|
*/
|
|
1054
|
-
private
|
|
1375
|
+
private proxy;
|
|
1055
1376
|
/**
|
|
1056
1377
|
* effect scope
|
|
1057
1378
|
*/
|
|
@@ -1060,9 +1381,9 @@ export declare class ValidateSchema {
|
|
|
1060
1381
|
* 构造函数
|
|
1061
1382
|
* @param parent
|
|
1062
1383
|
* @param descriptor
|
|
1063
|
-
* @param
|
|
1384
|
+
* @param proxy
|
|
1064
1385
|
*/
|
|
1065
|
-
constructor(parent: ValidateSchema | null, descriptor: Descriptor,
|
|
1386
|
+
constructor(parent: ValidateSchema | null, descriptor: Descriptor, proxy: FoxComponentPublicInstance);
|
|
1066
1387
|
/**
|
|
1067
1388
|
* 初始化
|
|
1068
1389
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fox-js/foxui-pc",
|
|
3
|
-
"version": "4.0.1-
|
|
3
|
+
"version": "4.0.1-10",
|
|
4
4
|
"description": "FoxUI PC端组件库",
|
|
5
5
|
"author": "jiangcheng",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
@@ -30,5 +30,6 @@
|
|
|
30
30
|
"publish:next": "npm version prerelease && npm publish --tag next"
|
|
31
31
|
},
|
|
32
32
|
"license": "",
|
|
33
|
-
"repository": ""
|
|
33
|
+
"repository": "",
|
|
34
|
+
"dependencies": {}
|
|
34
35
|
}
|