@fox-js/foxui-pad 4.0.1-15 → 4.0.1-17
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 +5822 -5700
- package/dist/index.umd.js +4 -4
- package/dist/locale/index.esm.js +1 -1
- package/dist/locale/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -5
- package/dist/types/index.d.ts +199 -100
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -34,7 +34,6 @@ import { ElColorPicker as FoxColorPicker } from './base';
|
|
|
34
34
|
import { FoxComponentPublicInstance } from './types';
|
|
35
35
|
import { ElConfigProvider as FoxConfigProvider } from './base';
|
|
36
36
|
import { ElContainer as FoxContainer } from './base';
|
|
37
|
-
import { ElDatePicker as FoxDatePicker } from './base';
|
|
38
37
|
import { ElDescriptions as FoxDescriptions } from './base';
|
|
39
38
|
import { ElDescriptionsItem as FoxDescriptionsItem } from './base';
|
|
40
39
|
import { ElDialog as FoxDialog } from './base';
|
|
@@ -120,8 +119,6 @@ export declare interface AcceptFilter {
|
|
|
120
119
|
(value: any): boolean;
|
|
121
120
|
}
|
|
122
121
|
|
|
123
|
-
export declare const AutocompleteItem: any;
|
|
124
|
-
|
|
125
122
|
/**
|
|
126
123
|
* 广播类
|
|
127
124
|
*/
|
|
@@ -199,18 +196,8 @@ export declare interface BroadcastCallback {
|
|
|
199
196
|
|
|
200
197
|
export declare const BroadcastKey: unique symbol;
|
|
201
198
|
|
|
202
|
-
export declare const CalendarItem: any;
|
|
203
|
-
|
|
204
|
-
export declare const CalendarPicker: any;
|
|
205
|
-
|
|
206
199
|
export declare function cancelRaf(id: number): void;
|
|
207
200
|
|
|
208
|
-
export declare const CascaderItem: any;
|
|
209
|
-
|
|
210
|
-
export declare const CascaderPicker: any;
|
|
211
|
-
|
|
212
|
-
export declare const CheckboxItem: any;
|
|
213
|
-
|
|
214
201
|
/**
|
|
215
202
|
* 清理非数字
|
|
216
203
|
*/
|
|
@@ -228,8 +215,6 @@ export declare function clone(target: any, source: any, plain?: boolean): any;
|
|
|
228
215
|
|
|
229
216
|
export { compareTo }
|
|
230
217
|
|
|
231
|
-
export declare const Content: any;
|
|
232
|
-
|
|
233
218
|
/**
|
|
234
219
|
* 创建broadcast
|
|
235
220
|
*
|
|
@@ -255,10 +240,6 @@ export declare function createValidateSchema(proxy: FoxComponentPublicInstance,
|
|
|
255
240
|
*/
|
|
256
241
|
export declare const DataItemsKey: unique symbol;
|
|
257
242
|
|
|
258
|
-
export declare const DateItem: any;
|
|
259
|
-
|
|
260
|
-
export declare const DatePicker: any;
|
|
261
|
-
|
|
262
243
|
export declare const DateUtils: {
|
|
263
244
|
/**
|
|
264
245
|
* 格式化
|
|
@@ -386,6 +367,198 @@ export declare function decimalLength(value: string | number): number;
|
|
|
386
367
|
declare const _default: FoxUIVue;
|
|
387
368
|
export default _default;
|
|
388
369
|
|
|
370
|
+
declare const _default_10: any;
|
|
371
|
+
export { _default_10 as FoxHintText }
|
|
372
|
+
export { _default_10 as HintText }
|
|
373
|
+
|
|
374
|
+
declare const _default_11: any;
|
|
375
|
+
export { _default_11 as FoxInputItem }
|
|
376
|
+
export { _default_11 as InputItem }
|
|
377
|
+
|
|
378
|
+
declare const _default_12: any;
|
|
379
|
+
export { _default_12 as FoxSelectItem }
|
|
380
|
+
export { _default_12 as SelectItem }
|
|
381
|
+
|
|
382
|
+
declare const _default_13: any;
|
|
383
|
+
export { _default_13 as DateItem }
|
|
384
|
+
export { _default_13 as FoxDateItem }
|
|
385
|
+
|
|
386
|
+
declare const _default_14: any;
|
|
387
|
+
export { _default_14 as CalendarItem }
|
|
388
|
+
export { _default_14 as FoxCalendarItem }
|
|
389
|
+
|
|
390
|
+
declare const _default_15: any;
|
|
391
|
+
export { _default_15 as FoxTimeItem }
|
|
392
|
+
export { _default_15 as TimeItem }
|
|
393
|
+
|
|
394
|
+
declare const _default_16: any;
|
|
395
|
+
export { _default_16 as FoxTimeSelectItem }
|
|
396
|
+
export { _default_16 as TimeSelectItem }
|
|
397
|
+
|
|
398
|
+
declare const _default_17: any;
|
|
399
|
+
export { _default_17 as FoxMoneyItem }
|
|
400
|
+
export { _default_17 as MoneyItem }
|
|
401
|
+
|
|
402
|
+
declare const _default_18: any;
|
|
403
|
+
export { _default_18 as FoxInputNumberItem }
|
|
404
|
+
export { _default_18 as InputNumberItem }
|
|
405
|
+
|
|
406
|
+
declare const _default_19: any;
|
|
407
|
+
export { _default_19 as CascaderItem }
|
|
408
|
+
export { _default_19 as FoxCascaderItem }
|
|
409
|
+
|
|
410
|
+
declare const _default_2: any;
|
|
411
|
+
export { _default_2 as FoxPage }
|
|
412
|
+
export { _default_2 as Page }
|
|
413
|
+
|
|
414
|
+
declare const _default_20: any;
|
|
415
|
+
export { _default_20 as AutocompleteItem }
|
|
416
|
+
export { _default_20 as FoxAutocompleteItem }
|
|
417
|
+
|
|
418
|
+
declare const _default_21: any;
|
|
419
|
+
export { _default_21 as FoxTableMappingColumn }
|
|
420
|
+
export { _default_21 as TableMappingColumn }
|
|
421
|
+
|
|
422
|
+
declare const _default_22: any;
|
|
423
|
+
export { _default_22 as FoxTableRadioColumn }
|
|
424
|
+
export { _default_22 as TableRadioColumn }
|
|
425
|
+
|
|
426
|
+
declare const _default_23: any;
|
|
427
|
+
export { _default_23 as FoxTableSetting }
|
|
428
|
+
export { _default_23 as TableSetting }
|
|
429
|
+
|
|
430
|
+
declare const _default_24: any;
|
|
431
|
+
export { _default_24 as FoxTableItem }
|
|
432
|
+
export { _default_24 as TableItem }
|
|
433
|
+
|
|
434
|
+
declare const _default_25: any;
|
|
435
|
+
export { _default_25 as FoxRadioItem }
|
|
436
|
+
export { _default_25 as RadioItem }
|
|
437
|
+
|
|
438
|
+
declare const _default_26: any;
|
|
439
|
+
export { _default_26 as CheckboxItem }
|
|
440
|
+
export { _default_26 as FoxCheckboxItem }
|
|
441
|
+
|
|
442
|
+
declare const _default_27: any;
|
|
443
|
+
export { _default_27 as FoxRateItem }
|
|
444
|
+
export { _default_27 as RateItem }
|
|
445
|
+
|
|
446
|
+
declare const _default_28: any;
|
|
447
|
+
export { _default_28 as FoxSwitchItem }
|
|
448
|
+
export { _default_28 as SwitchItem }
|
|
449
|
+
|
|
450
|
+
declare const _default_29: any;
|
|
451
|
+
export { _default_29 as FoxTreeSelectItem }
|
|
452
|
+
export { _default_29 as TreeSelectItem }
|
|
453
|
+
|
|
454
|
+
declare const _default_3: any;
|
|
455
|
+
export { _default_3 as FoxHeaderBar }
|
|
456
|
+
export { _default_3 as HeaderBar }
|
|
457
|
+
|
|
458
|
+
declare const _default_30: any;
|
|
459
|
+
export { _default_30 as DialogItem }
|
|
460
|
+
export { _default_30 as FoxDialogItem }
|
|
461
|
+
|
|
462
|
+
declare const _default_31: any;
|
|
463
|
+
export { _default_31 as FoxMapping }
|
|
464
|
+
export { _default_31 as Mapping }
|
|
465
|
+
|
|
466
|
+
declare const _default_32: any;
|
|
467
|
+
export { _default_32 as FoxPrice }
|
|
468
|
+
export { _default_32 as Price }
|
|
469
|
+
|
|
470
|
+
declare const _default_33: any;
|
|
471
|
+
export { _default_33 as FoxIndicator }
|
|
472
|
+
export { _default_33 as Indicator }
|
|
473
|
+
|
|
474
|
+
declare const _default_34: any;
|
|
475
|
+
export { _default_34 as FoxText }
|
|
476
|
+
export { _default_34 as Text }
|
|
477
|
+
|
|
478
|
+
declare const _default_35: any;
|
|
479
|
+
export { _default_35 as FoxToast }
|
|
480
|
+
export { _default_35 as Toast }
|
|
481
|
+
|
|
482
|
+
declare const _default_36: any;
|
|
483
|
+
export { _default_36 as FoxOverlay }
|
|
484
|
+
export { _default_36 as Overlay }
|
|
485
|
+
|
|
486
|
+
declare const _default_37: any;
|
|
487
|
+
export { _default_37 as FoxPopup }
|
|
488
|
+
export { _default_37 as Popup }
|
|
489
|
+
|
|
490
|
+
declare const _default_38: any;
|
|
491
|
+
export { _default_38 as FoxPicker }
|
|
492
|
+
export { _default_38 as Picker }
|
|
493
|
+
|
|
494
|
+
declare const _default_39: any;
|
|
495
|
+
export { _default_39 as DatePicker }
|
|
496
|
+
export { _default_39 as FoxDatePicker }
|
|
497
|
+
|
|
498
|
+
declare const _default_4: any;
|
|
499
|
+
export { _default_4 as FooterBar }
|
|
500
|
+
export { _default_4 as FoxFooterBar }
|
|
501
|
+
|
|
502
|
+
declare const _default_40: any;
|
|
503
|
+
export { _default_40 as CalendarPicker }
|
|
504
|
+
export { _default_40 as FoxCalendarPicker }
|
|
505
|
+
|
|
506
|
+
declare const _default_41: any;
|
|
507
|
+
export { _default_41 as ExtTabPane }
|
|
508
|
+
export { _default_41 as FoxExtTabPane }
|
|
509
|
+
|
|
510
|
+
declare const _default_42: any;
|
|
511
|
+
export { _default_42 as ExtTabs }
|
|
512
|
+
export { _default_42 as FoxExtTabs }
|
|
513
|
+
|
|
514
|
+
declare const _default_43: any;
|
|
515
|
+
export { _default_43 as CascaderPicker }
|
|
516
|
+
export { _default_43 as FoxCascaderPicker }
|
|
517
|
+
|
|
518
|
+
declare const _default_44: any;
|
|
519
|
+
export { _default_44 as FoxMoreButton }
|
|
520
|
+
export { _default_44 as MoreButton }
|
|
521
|
+
|
|
522
|
+
declare const _default_45: any;
|
|
523
|
+
export { _default_45 as FoxTour }
|
|
524
|
+
export { _default_45 as Tour }
|
|
525
|
+
|
|
526
|
+
declare const _default_46: any;
|
|
527
|
+
export { _default_46 as Foxsticky }
|
|
528
|
+
export { _default_46 as sticky }
|
|
529
|
+
|
|
530
|
+
declare const _default_47: any;
|
|
531
|
+
export { _default_47 as FloatingWindow }
|
|
532
|
+
export { _default_47 as FoxFloatingWindow }
|
|
533
|
+
|
|
534
|
+
declare const _default_48: any;
|
|
535
|
+
export { _default_48 as DomainProvider }
|
|
536
|
+
export { _default_48 as FoxDomainProvider }
|
|
537
|
+
|
|
538
|
+
declare const _default_49: any;
|
|
539
|
+
export { _default_49 as FoxRollingProvider }
|
|
540
|
+
export { _default_49 as RollingProvider }
|
|
541
|
+
|
|
542
|
+
declare const _default_5: any;
|
|
543
|
+
export { _default_5 as Content }
|
|
544
|
+
export { _default_5 as FoxContent }
|
|
545
|
+
|
|
546
|
+
declare const _default_6: any;
|
|
547
|
+
export { _default_6 as FoxGroup }
|
|
548
|
+
export { _default_6 as Group }
|
|
549
|
+
|
|
550
|
+
declare const _default_7: any;
|
|
551
|
+
export { _default_7 as FoxItem }
|
|
552
|
+
export { _default_7 as Item }
|
|
553
|
+
|
|
554
|
+
declare const _default_8: any;
|
|
555
|
+
export { _default_8 as FoxSlotItem }
|
|
556
|
+
export { _default_8 as SlotItem }
|
|
557
|
+
|
|
558
|
+
declare const _default_9: any;
|
|
559
|
+
export { _default_9 as FoxRowItem }
|
|
560
|
+
export { _default_9 as RowItem }
|
|
561
|
+
|
|
389
562
|
/**
|
|
390
563
|
* anyNode
|
|
391
564
|
* @param name
|
|
@@ -457,8 +630,6 @@ export declare interface Descriptor {
|
|
|
457
630
|
validateResetEvents?: string[];
|
|
458
631
|
}
|
|
459
632
|
|
|
460
|
-
export declare const DialogItem: any;
|
|
461
|
-
|
|
462
633
|
/**
|
|
463
634
|
* 禁用属性
|
|
464
635
|
* @param source
|
|
@@ -576,8 +747,6 @@ export declare interface DomainItem {
|
|
|
576
747
|
*/
|
|
577
748
|
export declare const DomainKey: unique symbol;
|
|
578
749
|
|
|
579
|
-
export declare const DomainProvider: any;
|
|
580
|
-
|
|
581
750
|
/**
|
|
582
751
|
* event listener
|
|
583
752
|
*/
|
|
@@ -600,16 +769,15 @@ export declare function excludeProps(src: Record<string, any>, ...excludeTemplat
|
|
|
600
769
|
*/
|
|
601
770
|
export declare function extend(...args: any[]): any;
|
|
602
771
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
772
|
+
/**
|
|
773
|
+
* float data
|
|
774
|
+
* @param format
|
|
775
|
+
* @param dataOp
|
|
776
|
+
* @param mapOps
|
|
777
|
+
* @returns
|
|
778
|
+
*/
|
|
607
779
|
export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
|
|
608
780
|
|
|
609
|
-
export declare const FloatingWindow: any;
|
|
610
|
-
|
|
611
|
-
export declare const FooterBar: any;
|
|
612
|
-
|
|
613
781
|
export { FoxAffix }
|
|
614
782
|
|
|
615
783
|
export { FoxAlert }
|
|
@@ -668,8 +836,6 @@ export { FoxConfigProvider }
|
|
|
668
836
|
|
|
669
837
|
export { FoxContainer }
|
|
670
838
|
|
|
671
|
-
export { FoxDatePicker }
|
|
672
|
-
|
|
673
839
|
export { FoxDescriptions }
|
|
674
840
|
|
|
675
841
|
export { FoxDescriptionsItem }
|
|
@@ -925,17 +1091,11 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
|
|
|
925
1091
|
*/
|
|
926
1092
|
export declare function getRootDomain(): Domain;
|
|
927
1093
|
|
|
928
|
-
export declare const Group: any;
|
|
929
|
-
|
|
930
1094
|
/**
|
|
931
1095
|
* 是否支持symbol
|
|
932
1096
|
*/
|
|
933
1097
|
export declare const hasSymbol: boolean;
|
|
934
1098
|
|
|
935
|
-
export declare const HeaderBar: any;
|
|
936
|
-
|
|
937
|
-
export declare const HintText: any;
|
|
938
|
-
|
|
939
1099
|
/**
|
|
940
1100
|
* 根据包含模版,抽取属性
|
|
941
1101
|
* @param src
|
|
@@ -952,12 +1112,6 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
|
|
|
952
1112
|
*/
|
|
953
1113
|
export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
954
1114
|
|
|
955
|
-
export declare const Indicator: any;
|
|
956
|
-
|
|
957
|
-
export declare const InputItem: any;
|
|
958
|
-
|
|
959
|
-
export declare const InputNumberItem: any;
|
|
960
|
-
|
|
961
1115
|
/**
|
|
962
1116
|
* 安装函数
|
|
963
1117
|
*/
|
|
@@ -1123,8 +1277,6 @@ export declare const isSymbol: (val: unknown) => val is symbol;
|
|
|
1123
1277
|
*/
|
|
1124
1278
|
export declare function isWindow(obj: any): boolean;
|
|
1125
1279
|
|
|
1126
|
-
export declare const Item: any;
|
|
1127
|
-
|
|
1128
1280
|
/**
|
|
1129
1281
|
* 获取对应元素的在数组中最后一个匹配的索引
|
|
1130
1282
|
* @param x
|
|
@@ -1141,8 +1293,6 @@ export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
|
|
|
1141
1293
|
*/
|
|
1142
1294
|
export declare function makeArray(arr: any, results?: any[]): any[];
|
|
1143
1295
|
|
|
1144
|
-
export declare const Mapping: any;
|
|
1145
|
-
|
|
1146
1296
|
/**
|
|
1147
1297
|
* 匹配条件
|
|
1148
1298
|
*/
|
|
@@ -1162,10 +1312,6 @@ export declare interface Matched {
|
|
|
1162
1312
|
*/
|
|
1163
1313
|
export declare function merge(first: any[], second: any[]): any[];
|
|
1164
1314
|
|
|
1165
|
-
export declare const MoneyItem: any;
|
|
1166
|
-
|
|
1167
|
-
export declare const MoreButton: any;
|
|
1168
|
-
|
|
1169
1315
|
export { multiply }
|
|
1170
1316
|
|
|
1171
1317
|
export { negate }
|
|
@@ -1193,8 +1339,6 @@ export declare const objectToString: () => string;
|
|
|
1193
1339
|
*/
|
|
1194
1340
|
export declare function once(func: GenericFunction): GenericFunction;
|
|
1195
1341
|
|
|
1196
|
-
export declare const Overlay: any;
|
|
1197
|
-
|
|
1198
1342
|
/**
|
|
1199
1343
|
* padding
|
|
1200
1344
|
*/
|
|
@@ -1205,8 +1349,6 @@ export declare interface Padding {
|
|
|
1205
1349
|
bottom: number | null;
|
|
1206
1350
|
}
|
|
1207
1351
|
|
|
1208
|
-
export declare const Page: any;
|
|
1209
|
-
|
|
1210
1352
|
/**
|
|
1211
1353
|
* page layout
|
|
1212
1354
|
*/
|
|
@@ -1241,8 +1383,6 @@ export declare interface PageState {
|
|
|
1241
1383
|
footerMounted?: boolean;
|
|
1242
1384
|
}
|
|
1243
1385
|
|
|
1244
|
-
export declare const Picker: any;
|
|
1245
|
-
|
|
1246
1386
|
/**
|
|
1247
1387
|
* 坐标
|
|
1248
1388
|
*/
|
|
@@ -1251,10 +1391,6 @@ export declare interface Point {
|
|
|
1251
1391
|
y: number;
|
|
1252
1392
|
}
|
|
1253
1393
|
|
|
1254
|
-
export declare const Popup: any;
|
|
1255
|
-
|
|
1256
|
-
export declare const Price: any;
|
|
1257
|
-
|
|
1258
1394
|
/**
|
|
1259
1395
|
* 优先策略
|
|
1260
1396
|
*/
|
|
@@ -1272,12 +1408,8 @@ export declare enum PriorityPolicy {
|
|
|
1272
1408
|
*/
|
|
1273
1409
|
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
|
|
1274
1410
|
|
|
1275
|
-
export declare const RadioItem: any;
|
|
1276
|
-
|
|
1277
1411
|
export declare const raf: any;
|
|
1278
1412
|
|
|
1279
|
-
export declare const RateItem: any;
|
|
1280
|
-
|
|
1281
1413
|
/**
|
|
1282
1414
|
* 只读属性
|
|
1283
1415
|
* @param source
|
|
@@ -1303,10 +1435,6 @@ export declare type Result = Promise<any> | any;
|
|
|
1303
1435
|
*/
|
|
1304
1436
|
export declare type Results = Result[];
|
|
1305
1437
|
|
|
1306
|
-
export declare const RollingProvider: any;
|
|
1307
|
-
|
|
1308
|
-
export declare const RowItem: any;
|
|
1309
|
-
|
|
1310
1438
|
/**
|
|
1311
1439
|
* 安全区域
|
|
1312
1440
|
*/
|
|
@@ -1317,8 +1445,6 @@ export declare interface SafeAreaInset {
|
|
|
1317
1445
|
bottom: number | string;
|
|
1318
1446
|
}
|
|
1319
1447
|
|
|
1320
|
-
export declare const SelectItem: any;
|
|
1321
|
-
|
|
1322
1448
|
/**
|
|
1323
1449
|
* 设置公共校验检查事件
|
|
1324
1450
|
* @param events
|
|
@@ -1357,23 +1483,6 @@ declare interface Size {
|
|
|
1357
1483
|
height: number;
|
|
1358
1484
|
}
|
|
1359
1485
|
|
|
1360
|
-
export declare const SlotItem: any;
|
|
1361
|
-
|
|
1362
|
-
export declare const sticky: any;
|
|
1363
|
-
|
|
1364
|
-
export declare const SwitchItem: any;
|
|
1365
|
-
|
|
1366
|
-
export declare const TableItem: any;
|
|
1367
|
-
|
|
1368
|
-
export declare const TableMappingColumn: any;
|
|
1369
|
-
|
|
1370
|
-
export declare const TableRadioColumn: any;
|
|
1371
|
-
|
|
1372
|
-
export declare const TableSetting: any;
|
|
1373
|
-
|
|
1374
|
-
declare const Text_2: any;
|
|
1375
|
-
export { Text_2 as Text }
|
|
1376
|
-
|
|
1377
1486
|
/**
|
|
1378
1487
|
* 节流函数(执行时间范围内的第一次)
|
|
1379
1488
|
* @param func 函数
|
|
@@ -1382,12 +1491,6 @@ export { Text_2 as Text }
|
|
|
1382
1491
|
*/
|
|
1383
1492
|
export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
|
|
1384
1493
|
|
|
1385
|
-
export declare const TimeItem: any;
|
|
1386
|
-
|
|
1387
|
-
export declare const TimeSelectItem: any;
|
|
1388
|
-
|
|
1389
|
-
export declare const Toast: any;
|
|
1390
|
-
|
|
1391
1494
|
/**
|
|
1392
1495
|
* 转换为boolean值
|
|
1393
1496
|
* @param val
|
|
@@ -1424,8 +1527,6 @@ export declare const toPxDesc: (value: string | number, size?: number) => string
|
|
|
1424
1527
|
|
|
1425
1528
|
export declare const toTypeString: (value: unknown) => string;
|
|
1426
1529
|
|
|
1427
|
-
export declare const Tour: any;
|
|
1428
|
-
|
|
1429
1530
|
/**
|
|
1430
1531
|
* to model value
|
|
1431
1532
|
* @param props
|
|
@@ -1434,8 +1535,6 @@ export declare const Tour: any;
|
|
|
1434
1535
|
*/
|
|
1435
1536
|
export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
|
|
1436
1537
|
|
|
1437
|
-
export declare const TreeSelectItem: any;
|
|
1438
|
-
|
|
1439
1538
|
/**
|
|
1440
1539
|
* 尝试执行多次函数
|
|
1441
1540
|
* @param func 执行函数
|