@fox-js/foxui-pc 4.0.1-1 → 4.0.1-11

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.
@@ -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 instance
162
+ * vue proxy
67
163
  */
68
- private instance;
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 instance
172
+ * @param proxy
77
173
  * @param name
78
174
  */
79
- constructor(parent: Broadcast | null, instance: ComponentInternalInstance, name?: string);
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(instance: ComponentInternalInstance, parent: Broadcast | null, name?: string, callbacks?: Record<string, BroadcastCallback>): Broadcast;
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 instance
250
+ * @param proxy
149
251
  * @param parent
150
252
  * @param descriptor
151
253
  * @returns
152
254
  */
153
- export declare function createValidateSchema(instance: ComponentInternalInstance, parent: ValidateSchema | null, descriptor: Descriptor): ValidateSchema;
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>): Broadcast | null;
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[];
@@ -225,6 +342,8 @@ export declare interface Descriptor {
225
342
 
226
343
  export declare const DialogItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
227
344
 
345
+ declare type Direction = '' | 'vertical' | 'horizontal';
346
+
228
347
  /**
229
348
  * 禁用属性
230
349
  * @param source
@@ -359,10 +478,200 @@ export declare function excludeProps(src: Record<string, any>, ...excludeTemplat
359
478
 
360
479
  export { extend }
361
480
 
481
+ export declare const ExtIcon: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
482
+
362
483
  export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
363
484
 
364
485
  export declare const FooterBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
365
486
 
487
+ export { FoxAffix }
488
+
489
+ export { FoxAlert }
490
+
491
+ export { FoxAside }
492
+
493
+ export { FoxAutocomplete }
494
+
495
+ export { FoxAutoResizer }
496
+
497
+ export { FoxAvatar }
498
+
499
+ export { FoxBacktop }
500
+
501
+ export { FoxBadge }
502
+
503
+ export { FoxBreadcrumb }
504
+
505
+ export { FoxBreadcrumbItem }
506
+
507
+ export { FoxButton }
508
+
509
+ export { FoxButtonGroup }
510
+
511
+ export { FoxCalendar }
512
+
513
+ export { FoxCard }
514
+
515
+ export { FoxCarousel }
516
+
517
+ export { FoxCarouselItem }
518
+
519
+ export { FoxCascader }
520
+
521
+ export { FoxCascaderPanel }
522
+
523
+ export { FoxCheckbox }
524
+
525
+ export { FoxCheckboxButton }
526
+
527
+ export { FoxCheckboxGroup }
528
+
529
+ export { FoxCheckTag }
530
+
531
+ export { FoxCol }
532
+
533
+ export { FoxCollapse }
534
+
535
+ export { FoxCollapseItem }
536
+
537
+ export { FoxCollapseTransition }
538
+
539
+ export { FoxColorPicker }
540
+
541
+ declare type FoxComponentPublicInstance = any;
542
+
543
+ export { FoxConfigProvider }
544
+
545
+ export { FoxContainer }
546
+
547
+ export { FoxDatePicker }
548
+
549
+ export { FoxDescriptions }
550
+
551
+ export { FoxDescriptionsItem }
552
+
553
+ export { FoxDialog }
554
+
555
+ export { FoxDivider }
556
+
557
+ export { FoxDrawer }
558
+
559
+ export { FoxDropdown }
560
+
561
+ export { FoxDropdownItem }
562
+
563
+ export { FoxDropdownMenu }
564
+
565
+ export { FoxEmpty }
566
+
567
+ export { FoxFooter }
568
+
569
+ export { FoxForm }
570
+
571
+ export { FoxFormItem }
572
+
573
+ export { FoxHeader }
574
+
575
+ export { FoxIcon }
576
+
577
+ export { FoxImage }
578
+
579
+ export { FoxImageViewer }
580
+
581
+ export { FoxInput }
582
+
583
+ export { FoxInputNumber }
584
+
585
+ export { FoxLink }
586
+
587
+ export { FoxMain }
588
+
589
+ export { FoxMenu }
590
+
591
+ export { FoxMenuItem }
592
+
593
+ export { FoxMenuItemGroup }
594
+
595
+ export { FoxOption }
596
+
597
+ export { FoxOptionGroup }
598
+
599
+ export { FoxPageHeader }
600
+
601
+ export { FoxPagination }
602
+
603
+ export { FoxPopconfirm }
604
+
605
+ export { FoxPopover }
606
+
607
+ export { FoxPopper }
608
+
609
+ export { FoxProgress }
610
+
611
+ export { FoxRadio }
612
+
613
+ export { FoxRadioButton }
614
+
615
+ export { FoxRadioGroup }
616
+
617
+ export { FoxRate }
618
+
619
+ export { FoxResult }
620
+
621
+ export { FoxRow }
622
+
623
+ export { FoxScrollbar }
624
+
625
+ export { FoxSelect }
626
+
627
+ export { FoxSelectV2 }
628
+
629
+ export { FoxSkeleton }
630
+
631
+ export { FoxSkeletonItem }
632
+
633
+ export { FoxSlider }
634
+
635
+ export { FoxSpace }
636
+
637
+ export { FoxStep }
638
+
639
+ export { FoxSteps }
640
+
641
+ export { FoxSubMenu }
642
+
643
+ export { FoxSwitch }
644
+
645
+ export { FoxTable }
646
+
647
+ export { FoxTableColumn }
648
+
649
+ export { FoxTableV2 }
650
+
651
+ export { FoxTabPane }
652
+
653
+ export { FoxTabs }
654
+
655
+ export { FoxTag }
656
+
657
+ export { FoxTimeline }
658
+
659
+ export { FoxTimelineItem }
660
+
661
+ export { FoxTimePicker }
662
+
663
+ export { FoxTimeSelect }
664
+
665
+ export { FoxTooltip }
666
+
667
+ export { FoxTransfer }
668
+
669
+ export { FoxTree }
670
+
671
+ export { FoxTreeSelect }
672
+
673
+ export { FoxTreeV2 }
674
+
366
675
  /**
367
676
  * Fox UI
368
677
  */
@@ -376,7 +685,7 @@ declare interface FoxUI {
376
685
  * @param app
377
686
  * @param options
378
687
  */
379
- install(app: App, options: FoxUIOptions): void;
688
+ install(app: App, options: FoxUIOptions): any;
380
689
  /**
381
690
  * 初始化page Layout
382
691
  *
@@ -463,7 +772,7 @@ declare class FoxUIVue implements FoxUI {
463
772
  * @param app
464
773
  * @param options
465
774
  */
466
- install(app: App, options?: FoxUIOptions): void;
775
+ install(app: App, options?: FoxUIOptions): any;
467
776
  /**
468
777
  * 初始化page Layout
469
778
  *
@@ -507,6 +816,8 @@ declare class FoxUIVue implements FoxUI {
507
816
  getRootDomain(): Domain;
508
817
  }
509
818
 
819
+ export { FoxUpload }
820
+
510
821
  /**
511
822
  * 通用函数接口
512
823
  */
@@ -594,8 +905,12 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
594
905
  */
595
906
  export declare function indexOf(x: unknown, arr: unknown[]): number;
596
907
 
908
+ export declare const Indicator: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
909
+
597
910
  export declare const InputItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
598
911
 
912
+ export declare const InputNumberItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
913
+
599
914
  /**
600
915
  * 安装函数
601
916
  */
@@ -697,6 +1012,8 @@ export declare interface Matched {
697
1012
  level?: number;
698
1013
  }
699
1014
 
1015
+ export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1016
+
700
1017
  export { multiply }
701
1018
 
702
1019
  export { negate }
@@ -772,11 +1089,15 @@ export declare enum PriorityPolicy {
772
1089
  */
773
1090
  export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
774
1091
 
1092
+ export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1093
+
775
1094
  /**
776
1095
  * 动画
777
1096
  */
778
1097
  export declare const raf: any;
779
1098
 
1099
+ export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1100
+
780
1101
  /**
781
1102
  * 只读属性
782
1103
  * @param source
@@ -865,6 +1186,8 @@ export declare function setGlobalValidator(type: string, validator: ExecuteValid
865
1186
 
866
1187
  export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
867
1188
 
1189
+ export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1190
+
868
1191
  export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
869
1192
 
870
1193
  export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
@@ -947,7 +1270,7 @@ export declare function updatePageState(state: PageState, pageLayout: any, overr
947
1270
  * @param proxy
948
1271
  * @returns
949
1272
  */
950
- export declare function useBroadcast(proxy?: ComponentPublicInstance | null): Broadcast | null;
1273
+ export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null): Broadcast | null;
951
1274
 
952
1275
  /**
953
1276
  * 获取当前domain
@@ -977,6 +1300,25 @@ export declare const usePosition: (elementRef: (Element | Window) | Ref<Element
977
1300
 
978
1301
  export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
979
1302
 
1303
+ export declare function useTouch(): {
1304
+ move: EventListener;
1305
+ start: EventListener;
1306
+ reset: () => void;
1307
+ startX: Ref<number>;
1308
+ startY: Ref<number>;
1309
+ startTime: Ref<number>;
1310
+ duration: Ref<number>;
1311
+ moveX: Ref<number>;
1312
+ moveY: Ref<number>;
1313
+ deltaX: Ref<number>;
1314
+ deltaY: Ref<number>;
1315
+ offsetX: Ref<number>;
1316
+ offsetY: Ref<number>;
1317
+ direction: Ref<Direction>;
1318
+ isVertical: () => boolean;
1319
+ isHorizontal: () => boolean;
1320
+ };
1321
+
980
1322
  /**
981
1323
  * 校验条件
982
1324
  */
@@ -993,35 +1335,35 @@ export declare interface ValidateHandler {
993
1335
  * 错误处理
994
1336
  * @param errorMsg
995
1337
  * @param proxy
996
- * @param instance
1338
+ *
997
1339
  */
998
- error?(errorMsg: string, proxy: ComponentPublicInstance, instance: ComponentInternalInstance): void;
1340
+ error?(errorMsg: string, proxy: FoxComponentPublicInstance): void;
999
1341
  /**
1000
1342
  * 重置处理
1001
1343
  * @param proxy
1002
- * @param instance
1344
+ *
1003
1345
  */
1004
- reset?(proxy: ComponentPublicInstance, instance: ComponentInternalInstance): void;
1346
+ reset?(proxy: FoxComponentPublicInstance): void;
1005
1347
  /**
1006
1348
  * 成功处理
1007
1349
  * @param proxy
1008
- * @param instance
1350
+ *
1009
1351
  */
1010
- success?(proxy: ComponentPublicInstance, instance: ComponentInternalInstance): void;
1352
+ success?(proxy: FoxComponentPublicInstance): void;
1011
1353
  /**
1012
1354
  * 规则装饰处理
1013
1355
  * @param newRule
1014
1356
  * @param oldRule
1015
1357
  * @param proxy
1016
- * @param instance
1358
+ *
1017
1359
  */
1018
- decorate?(newRule: Rule, oldRle: Rule, proxy: ComponentPublicInstance, instance: ComponentInternalInstance): void;
1360
+ decorate?(newRule: Rule, oldRule: Rule, proxy: FoxComponentPublicInstance): void;
1019
1361
  /**
1020
1362
  * 获取value
1021
1363
  * @param proxy
1022
- * @param instance
1364
+ *
1023
1365
  */
1024
- getValue?(proxy: ComponentPublicInstance, instance: ComponentInternalInstance): any;
1366
+ getValue?(proxy: FoxComponentPublicInstance): any;
1025
1367
  }
1026
1368
 
1027
1369
  /**
@@ -1051,7 +1393,7 @@ export declare class ValidateSchema {
1051
1393
  /**
1052
1394
  * 实例
1053
1395
  */
1054
- private instance;
1396
+ private proxy;
1055
1397
  /**
1056
1398
  * effect scope
1057
1399
  */
@@ -1060,9 +1402,9 @@ export declare class ValidateSchema {
1060
1402
  * 构造函数
1061
1403
  * @param parent
1062
1404
  * @param descriptor
1063
- * @param instance
1405
+ * @param proxy
1064
1406
  */
1065
- constructor(parent: ValidateSchema | null, descriptor: Descriptor, instance: ComponentInternalInstance);
1407
+ constructor(parent: ValidateSchema | null, descriptor: Descriptor, proxy: FoxComponentPublicInstance);
1066
1408
  /**
1067
1409
  * 初始化
1068
1410
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fox-js/foxui-pc",
3
- "version": "4.0.1-1",
3
+ "version": "4.0.1-11",
4
4
  "description": "FoxUI PC端组件库",
5
5
  "author": "jiangcheng",
6
6
  "main": "dist/index.umd.js",
@@ -27,8 +27,9 @@
27
27
  "access": "public"
28
28
  },
29
29
  "scripts": {
30
- "publish:next": "npm version prerelease && npm publish --tag next"
30
+ "publish:next": "npm version prerelease && npm publish --tag next --no-git-checks"
31
31
  },
32
32
  "license": "",
33
- "repository": ""
33
+ "repository": "",
34
+ "dependencies": {}
34
35
  }