@fox-js/foxui-pc 4.0.1-0 → 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.
@@ -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
 
@@ -168,7 +275,7 @@ export declare function debounce(func: GenericFunction, time: number): GenericFu
168
275
  */
169
276
  export declare function decimalLength(value: string | number): number;
170
277
 
171
- declare const _default: FoxUIApp;
278
+ declare const _default: FoxUIVue;
172
279
  export default _default;
173
280
 
174
281
  /**
@@ -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[];
@@ -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): void;
686
+ install(app: App, options: FoxUIOptions): any;
380
687
  /**
381
688
  * 初始化page Layout
382
689
  *
@@ -421,9 +728,24 @@ declare interface FoxUI {
421
728
  }
422
729
 
423
730
  /**
424
- * Fox UI App
731
+ * UI Options
732
+ */
733
+ declare interface FoxUIOptions {
734
+ headerBarHeight?: number;
735
+ footerBarHeight?: number;
736
+ safeAreaInset?: SafeAreaInset;
737
+ pageLayout?: PageLayout;
738
+ headerPadding?: Rect;
739
+ contentPadding?: Rect;
740
+ groupLayout?: GroupLayout;
741
+ labelWidth?: number | string;
742
+ [propName: string]: any;
743
+ }
744
+
745
+ /**
746
+ * Fox UI vue实例
425
747
  */
426
- declare class FoxUIApp implements FoxUI {
748
+ declare class FoxUIVue implements FoxUI {
427
749
  /**
428
750
  * packages
429
751
  */
@@ -448,7 +770,7 @@ declare class FoxUIApp implements FoxUI {
448
770
  * @param app
449
771
  * @param options
450
772
  */
451
- install(app: App, options?: FoxUIOptions): void;
773
+ install(app: App, options?: FoxUIOptions): any;
452
774
  /**
453
775
  * 初始化page Layout
454
776
  *
@@ -492,20 +814,7 @@ declare class FoxUIApp implements FoxUI {
492
814
  getRootDomain(): Domain;
493
815
  }
494
816
 
495
- /**
496
- * UI Options
497
- */
498
- declare interface FoxUIOptions {
499
- headerBarHeight?: number;
500
- footerBarHeight?: number;
501
- safeAreaInset?: SafeAreaInset;
502
- pageLayout?: PageLayout;
503
- headerPadding?: Rect;
504
- contentPadding?: Rect;
505
- groupLayout?: GroupLayout;
506
- labelWidth?: number | string;
507
- [propName: string]: any;
508
- }
817
+ export { FoxUpload }
509
818
 
510
819
  /**
511
820
  * 通用函数接口
@@ -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
  */
@@ -684,6 +997,8 @@ export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions,
684
997
  */
685
998
  export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
686
999
 
1000
+ export declare const Mapping: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1001
+
687
1002
  /**
688
1003
  * 匹配条件
689
1004
  */
@@ -695,6 +1010,8 @@ export declare interface Matched {
695
1010
  level?: number;
696
1011
  }
697
1012
 
1013
+ export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1014
+
698
1015
  export { multiply }
699
1016
 
700
1017
  export { negate }
@@ -770,11 +1087,15 @@ export declare enum PriorityPolicy {
770
1087
  */
771
1088
  export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
772
1089
 
1090
+ export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1091
+
773
1092
  /**
774
1093
  * 动画
775
1094
  */
776
1095
  export declare const raf: any;
777
1096
 
1097
+ export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1098
+
778
1099
  /**
779
1100
  * 只读属性
780
1101
  * @param source
@@ -863,8 +1184,12 @@ export declare function setGlobalValidator(type: string, validator: ExecuteValid
863
1184
 
864
1185
  export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
865
1186
 
1187
+ export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1188
+
866
1189
  export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
867
1190
 
1191
+ export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1192
+
868
1193
  /**
869
1194
  * 节流函数
870
1195
  * @param func 函数
@@ -896,9 +1221,10 @@ export declare function toPx(value: number | string, size?: number): number;
896
1221
  /**
897
1222
  * to px desc
898
1223
  * @param value
1224
+ * @parma size
899
1225
  * @returns
900
1226
  */
901
- export declare const toPxDesc: (value: string | number) => string;
1227
+ export declare const toPxDesc: (value: string | number, size?: number) => string;
902
1228
 
903
1229
  export { toTypeString }
904
1230
 
@@ -942,7 +1268,7 @@ export declare function updatePageState(state: PageState, pageLayout: any, overr
942
1268
  * @param proxy
943
1269
  * @returns
944
1270
  */
945
- export declare function useBroadcast(proxy?: ComponentPublicInstance | null): Broadcast | null;
1271
+ export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null): Broadcast | null;
946
1272
 
947
1273
  /**
948
1274
  * 获取当前domain
@@ -972,6 +1298,14 @@ export declare const usePosition: (elementRef: (Element | Window) | Ref<Element
972
1298
 
973
1299
  export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
974
1300
 
1301
+ /**
1302
+ * 校验条件
1303
+ */
1304
+ export declare interface ValidateCondition {
1305
+ exclude?: string[];
1306
+ include?: string[];
1307
+ }
1308
+
975
1309
  /**
976
1310
  * 校验器handler
977
1311
  */
@@ -980,35 +1314,35 @@ export declare interface ValidateHandler {
980
1314
  * 错误处理
981
1315
  * @param errorMsg
982
1316
  * @param proxy
983
- * @param instance
1317
+ *
984
1318
  */
985
- error?(errorMsg: string, proxy: ComponentPublicInstance, instance: ComponentInternalInstance): void;
1319
+ error?(errorMsg: string, proxy: FoxComponentPublicInstance): void;
986
1320
  /**
987
1321
  * 重置处理
988
1322
  * @param proxy
989
- * @param instance
1323
+ *
990
1324
  */
991
- reset?(proxy: ComponentPublicInstance, instance: ComponentInternalInstance): void;
1325
+ reset?(proxy: FoxComponentPublicInstance): void;
992
1326
  /**
993
1327
  * 成功处理
994
1328
  * @param proxy
995
- * @param instance
1329
+ *
996
1330
  */
997
- success?(proxy: ComponentPublicInstance, instance: ComponentInternalInstance): void;
1331
+ success?(proxy: FoxComponentPublicInstance): void;
998
1332
  /**
999
1333
  * 规则装饰处理
1000
1334
  * @param newRule
1001
1335
  * @param oldRule
1002
1336
  * @param proxy
1003
- * @param instance
1337
+ *
1004
1338
  */
1005
- decorate?(newRule: Rule, oldRle: Rule, proxy: ComponentPublicInstance, instance: ComponentInternalInstance): void;
1339
+ decorate?(newRule: Rule, oldRule: Rule, proxy: FoxComponentPublicInstance): void;
1006
1340
  /**
1007
1341
  * 获取value
1008
1342
  * @param proxy
1009
- * @param instance
1343
+ *
1010
1344
  */
1011
- getValue?(proxy: ComponentPublicInstance, instance: ComponentInternalInstance): any;
1345
+ getValue?(proxy: FoxComponentPublicInstance): any;
1012
1346
  }
1013
1347
 
1014
1348
  /**
@@ -1038,7 +1372,7 @@ export declare class ValidateSchema {
1038
1372
  /**
1039
1373
  * 实例
1040
1374
  */
1041
- private instance;
1375
+ private proxy;
1042
1376
  /**
1043
1377
  * effect scope
1044
1378
  */
@@ -1047,9 +1381,9 @@ export declare class ValidateSchema {
1047
1381
  * 构造函数
1048
1382
  * @param parent
1049
1383
  * @param descriptor
1050
- * @param instance
1384
+ * @param proxy
1051
1385
  */
1052
- constructor(parent: ValidateSchema | null, descriptor: Descriptor, instance: ComponentInternalInstance);
1386
+ constructor(parent: ValidateSchema | null, descriptor: Descriptor, proxy: FoxComponentPublicInstance);
1053
1387
  /**
1054
1388
  * 初始化
1055
1389
  */
@@ -1132,14 +1466,6 @@ export declare class ValidateSchema {
1132
1466
  */
1133
1467
  export declare const ValidateSchemaKey: unique symbol;
1134
1468
 
1135
- /**
1136
- * 校验条件
1137
- */
1138
- export declare interface ValidateTerm {
1139
- exclude?: string[];
1140
- include?: string[];
1141
- }
1142
-
1143
1469
  /**
1144
1470
  * value 格式话
1145
1471
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fox-js/foxui-pc",
3
- "version": "4.0.1-0",
3
+ "version": "4.0.1-10",
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"
31
31
  },
32
32
  "license": "",
33
- "repository": ""
33
+ "repository": "",
34
+ "dependencies": {}
34
35
  }