@creekjs/web-components 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/.fatherrc.ts +13 -0
  2. package/.turbo/daemon/deec863de02760ed-turbo.log.2024-11-20 +0 -0
  3. package/README.md +1026 -0
  4. package/dist/bg-center/index.js +28 -0
  5. package/dist/creek-config-provider/CreekConfigContext.js +2 -0
  6. package/dist/creek-config-provider/index.js +14 -0
  7. package/dist/creek-hooks/index.js +1 -0
  8. package/dist/creek-hooks/useViewportHeight.js +147 -0
  9. package/dist/creek-icon/index.js +37 -0
  10. package/dist/creek-keep-alive/index.js +20 -0
  11. package/dist/creek-layout/CollapseButton.js +59 -0
  12. package/dist/creek-layout/Exception/NotFound.js +13 -0
  13. package/dist/creek-layout/Exception/NotFoundPage.js +5 -0
  14. package/dist/creek-layout/Exception/index.js +8 -0
  15. package/dist/creek-layout/HeaderContent/FullScreen.js +50 -0
  16. package/dist/creek-layout/HeaderContent/UserInfo.js +58 -0
  17. package/dist/creek-layout/HeaderContent/index.js +33 -0
  18. package/dist/creek-layout/index.js +86 -0
  19. package/dist/creek-loading/index.js +52 -0
  20. package/dist/creek-search/CreekSearch.js +51 -0
  21. package/dist/creek-search/CreekSearchContext.js +546 -0
  22. package/dist/creek-search/CreekSearchFilterDisplay.js +97 -0
  23. package/dist/creek-search/CreekSearchInput.js +96 -0
  24. package/dist/creek-search/CreekSearchValueSelector.js +422 -0
  25. package/dist/creek-search/index.js +5 -0
  26. package/dist/creek-search/type.js +1 -0
  27. package/dist/creek-table/SearchTable.js +121 -0
  28. package/dist/creek-table/TableOptionRender.js +65 -0
  29. package/dist/creek-table/TableViewContent.js +45 -0
  30. package/dist/creek-table/hooks/index.js +3 -0
  31. package/dist/creek-table/hooks/useAdaptiveToolBar.js +48 -0
  32. package/dist/creek-table/hooks/useAutoAddFilterToColumns.js +93 -0
  33. package/dist/creek-table/hooks/useElementDistance.js +58 -0
  34. package/dist/creek-table/index.js +25 -0
  35. package/dist/creek-table/toolBarRender.js +36 -0
  36. package/dist/creek-table/type.js +1 -0
  37. package/dist/index.js +7 -0
  38. package/package.json +19 -0
  39. package/src/bg-center/index.tsx +26 -0
  40. package/src/creek-config-provider/CreekConfigContext.tsx +7 -0
  41. package/src/creek-config-provider/index.tsx +12 -0
  42. package/src/creek-hooks/index.ts +1 -0
  43. package/src/creek-hooks/useViewportHeight.tsx +154 -0
  44. package/src/creek-icon/index.tsx +34 -0
  45. package/src/creek-keep-alive/index.tsx +11 -0
  46. package/src/creek-layout/CollapseButton.tsx +66 -0
  47. package/src/creek-layout/Exception/NotFound.tsx +12 -0
  48. package/src/creek-layout/Exception/NotFoundPage.tsx +4 -0
  49. package/src/creek-layout/Exception/index.tsx +10 -0
  50. package/src/creek-layout/HeaderContent/FullScreen.tsx +46 -0
  51. package/src/creek-layout/HeaderContent/UserInfo.tsx +54 -0
  52. package/src/creek-layout/HeaderContent/index.tsx +27 -0
  53. package/src/creek-layout/index.tsx +98 -0
  54. package/src/creek-loading/index.tsx +35 -0
  55. package/src/creek-search/CreekSearch.tsx +59 -0
  56. package/src/creek-search/CreekSearchContext.tsx +593 -0
  57. package/src/creek-search/CreekSearchFilterDisplay.tsx +84 -0
  58. package/src/creek-search/CreekSearchInput.tsx +75 -0
  59. package/src/creek-search/CreekSearchValueSelector.tsx +324 -0
  60. package/src/creek-search/index.tsx +5 -0
  61. package/src/creek-search/type.ts +9 -0
  62. package/src/creek-table/SearchTable.tsx +115 -0
  63. package/src/creek-table/TableOptionRender.tsx +57 -0
  64. package/src/creek-table/TableViewContent.tsx +44 -0
  65. package/src/creek-table/hooks/index.ts +4 -0
  66. package/src/creek-table/hooks/useAdaptiveToolBar.tsx +45 -0
  67. package/src/creek-table/hooks/useAutoAddFilterToColumns.tsx +90 -0
  68. package/src/creek-table/hooks/useElementDistance.tsx +64 -0
  69. package/src/creek-table/index.tsx +16 -0
  70. package/src/creek-table/toolBarRender.tsx +28 -0
  71. package/src/creek-table/type.ts +21 -0
  72. package/src/index.tsx +8 -0
  73. package/tsconfig.json +12 -0
package/README.md ADDED
@@ -0,0 +1,1026 @@
1
+ # @creekjs/web-components
2
+
3
+ No description available
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @creekjs/web-components
9
+ # or
10
+ yarn add @creekjs/web-components
11
+ # or
12
+ pnpm add @creekjs/web-components
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```typescript
18
+ import { /* component names */ } from '@creekjs/web-components';
19
+ ```
20
+
21
+ ## API Reference
22
+
23
+
24
+ ### BgCenterProps
25
+
26
+ No description available
27
+
28
+
29
+
30
+
31
+ #### Properties
32
+
33
+ | Name | Type | Description |
34
+ |------|------|-------------|
35
+ | children | `React.ReactNode` | |
36
+
37
+
38
+
39
+
40
+ **Source:** `web-components/src/bg-center/index.tsx`
41
+
42
+ ---
43
+
44
+
45
+ ### BgCenter
46
+
47
+ No description available
48
+
49
+
50
+
51
+
52
+ #### Properties
53
+
54
+ | Name | Type | Description |
55
+ |------|------|-------------|
56
+ | children | `React.ReactNode` | |
57
+
58
+
59
+
60
+
61
+ **Source:** `web-components/src/bg-center/index.tsx`
62
+
63
+ ---
64
+
65
+
66
+ ### CreekConfigContextProps
67
+
68
+ No description available
69
+
70
+
71
+
72
+
73
+ #### Properties
74
+
75
+ | Name | Type | Description |
76
+ |------|------|-------------|
77
+ | iconFontCNs | `string[]` | |
78
+
79
+
80
+
81
+
82
+ **Source:** `web-components/src/creek-config-provider/CreekConfigContext.tsx`
83
+
84
+ ---
85
+
86
+
87
+ ### CreekConfigContext
88
+
89
+ No description available
90
+
91
+
92
+
93
+
94
+ #### Properties
95
+
96
+ | Name | Type | Description |
97
+ |------|------|-------------|
98
+ | iconFontCNs | `string[]` | |
99
+
100
+
101
+
102
+
103
+ **Source:** `web-components/src/creek-config-provider/CreekConfigContext.tsx`
104
+
105
+ ---
106
+
107
+
108
+ ### CreekConfigProviderProps
109
+
110
+ No description available
111
+
112
+
113
+
114
+
115
+ #### Properties
116
+
117
+ | Name | Type | Description |
118
+ |------|------|-------------|
119
+ | children | `React.ReactNode` | |
120
+
121
+
122
+
123
+
124
+ **Source:** `web-components/src/creek-config-provider/index.tsx`
125
+
126
+ ---
127
+
128
+
129
+ ### CreekConfigProvider
130
+
131
+ No description available
132
+
133
+
134
+
135
+
136
+ #### Properties
137
+
138
+ | Name | Type | Description |
139
+ |------|------|-------------|
140
+ | children | `React.ReactNode` | |
141
+
142
+
143
+
144
+
145
+ **Source:** `web-components/src/creek-config-provider/index.tsx`
146
+
147
+ ---
148
+
149
+
150
+ ### useViewportHeight
151
+
152
+ No description available
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+ **Source:** `web-components/src/creek-hooks/useViewportHeight.tsx`
161
+
162
+ ---
163
+
164
+
165
+ ### CreekIconProps
166
+
167
+ No description available
168
+
169
+
170
+
171
+
172
+ #### Properties
173
+
174
+ | Name | Type | Description |
175
+ |------|------|-------------|
176
+ | iconFontCNs | `CreekConfigProviderProps['iconFontCNs']` | |
177
+ | type | `string` | |
178
+ | component | `CustomIconComponentProps['component']` | |
179
+
180
+
181
+
182
+
183
+ **Source:** `web-components/src/creek-icon/index.tsx`
184
+
185
+ ---
186
+
187
+
188
+ ### CreekIcon
189
+
190
+ No description available
191
+
192
+
193
+
194
+
195
+ #### Properties
196
+
197
+ | Name | Type | Description |
198
+ |------|------|-------------|
199
+ | iconFontCNs | `CreekConfigProviderProps['iconFontCNs']` | |
200
+ | type | `string` | |
201
+ | component | `CustomIconComponentProps['component']` | |
202
+
203
+
204
+
205
+
206
+ **Source:** `web-components/src/creek-icon/index.tsx`
207
+
208
+ ---
209
+
210
+
211
+ ### CreekKeepAlive
212
+
213
+ No description available
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+ **Source:** `web-components/src/creek-keep-alive/index.tsx`
222
+
223
+ ---
224
+
225
+
226
+ ### CollapsedButtonProps
227
+
228
+ No description available
229
+
230
+
231
+
232
+
233
+ #### Properties
234
+
235
+ | Name | Type | Description |
236
+ |------|------|-------------|
237
+ | collapsed | `boolean` | |
238
+
239
+
240
+
241
+
242
+ **Source:** `web-components/src/creek-layout/CollapseButton.tsx`
243
+
244
+ ---
245
+
246
+
247
+ ### CollapsedButtonStore
248
+
249
+ No description available
250
+
251
+
252
+
253
+
254
+ #### Properties
255
+
256
+ | Name | Type | Description |
257
+ |------|------|-------------|
258
+ | collapsed | `boolean` | |
259
+ | changeCollapsed | `() => void` | |
260
+
261
+
262
+
263
+
264
+ **Source:** `web-components/src/creek-layout/CollapseButton.tsx`
265
+
266
+ ---
267
+
268
+
269
+ ### useCollapsedStore
270
+
271
+ No description available
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+ **Source:** `web-components/src/creek-layout/CollapseButton.tsx`
280
+
281
+ ---
282
+
283
+
284
+ ### CollapsedButton
285
+
286
+ No description available
287
+
288
+
289
+
290
+
291
+ #### Properties
292
+
293
+ | Name | Type | Description |
294
+ |------|------|-------------|
295
+ | collapsed | `boolean` | |
296
+
297
+
298
+
299
+
300
+ **Source:** `web-components/src/creek-layout/CollapseButton.tsx`
301
+
302
+ ---
303
+
304
+
305
+ ### NotFound
306
+
307
+ No description available
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+ **Source:** `web-components/src/creek-layout/Exception/NotFound.tsx`
316
+
317
+ ---
318
+
319
+
320
+ ### ExceptionProps
321
+
322
+ No description available
323
+
324
+
325
+
326
+
327
+ #### Properties
328
+
329
+ | Name | Type | Description |
330
+ |------|------|-------------|
331
+ | children | `React.ReactNode` | |
332
+
333
+
334
+
335
+
336
+ **Source:** `web-components/src/creek-layout/Exception/index.tsx`
337
+
338
+ ---
339
+
340
+
341
+ ### Exception
342
+
343
+ No description available
344
+
345
+
346
+
347
+
348
+ #### Properties
349
+
350
+ | Name | Type | Description |
351
+ |------|------|-------------|
352
+ | children | `React.ReactNode` | |
353
+
354
+
355
+
356
+
357
+ **Source:** `web-components/src/creek-layout/Exception/index.tsx`
358
+
359
+ ---
360
+
361
+
362
+ ### FullScreenStore
363
+
364
+ No description available
365
+
366
+
367
+
368
+
369
+ #### Properties
370
+
371
+ | Name | Type | Description |
372
+ |------|------|-------------|
373
+ | isFullScreen | `boolean` | |
374
+ | changeFullScreen | `() => void` | |
375
+
376
+
377
+
378
+
379
+ **Source:** `web-components/src/creek-layout/HeaderContent/FullScreen.tsx`
380
+
381
+ ---
382
+
383
+
384
+ ### useFullScreenStore
385
+
386
+ No description available
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+ **Source:** `web-components/src/creek-layout/HeaderContent/FullScreen.tsx`
395
+
396
+ ---
397
+
398
+
399
+ ### FullScreen
400
+
401
+ No description available
402
+
403
+
404
+
405
+
406
+ #### Properties
407
+
408
+ | Name | Type | Description |
409
+ |------|------|-------------|
410
+ | isFullScreen | `boolean` | |
411
+ | changeFullScreen | `() => void` | |
412
+
413
+
414
+
415
+
416
+ **Source:** `web-components/src/creek-layout/HeaderContent/FullScreen.tsx`
417
+
418
+ ---
419
+
420
+
421
+ ### UserInfo
422
+
423
+ No description available
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+ **Source:** `web-components/src/creek-layout/HeaderContent/UserInfo.tsx`
432
+
433
+ ---
434
+
435
+
436
+ ### HeaderContent
437
+
438
+ No description available
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+ **Source:** `web-components/src/creek-layout/HeaderContent/index.tsx`
447
+
448
+ ---
449
+
450
+
451
+ ### LayoutProps
452
+
453
+ No description available
454
+
455
+
456
+
457
+
458
+ #### Properties
459
+
460
+ | Name | Type | Description |
461
+ |------|------|-------------|
462
+ | runtimeConfig | `ProLayoutProps` | |
463
+ | userConfig | `ProLayoutProps` | |
464
+ | navigate | `(path?: string | number) => void` | |
465
+ | initialInfo | `{
466
+ initialState: any` | |
467
+ | loading | `boolean` | |
468
+ | setInitialState | `() => void` | |
469
+
470
+
471
+
472
+
473
+ **Source:** `web-components/src/creek-layout/index.tsx`
474
+
475
+ ---
476
+
477
+
478
+ ### CreekLayout
479
+
480
+ No description available
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+ **Source:** `web-components/src/creek-layout/index.tsx`
489
+
490
+ ---
491
+
492
+
493
+ ### Loading
494
+
495
+ No description available
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+ **Source:** `web-components/src/creek-loading/index.tsx`
504
+
505
+ ---
506
+
507
+
508
+ ### CreekSearchProps
509
+
510
+ No description available
511
+
512
+
513
+
514
+
515
+ #### Properties
516
+
517
+ | Name | Type | Description |
518
+ |------|------|-------------|
519
+ | columns | `ProColumnType<T>[]` | |
520
+ | onSubmit | `(values: Record<string, any>) => void` | |
521
+ | justify | `'start' | 'end'` | |
522
+
523
+
524
+
525
+
526
+ **Source:** `web-components/src/creek-search/CreekSearch.tsx`
527
+
528
+ ---
529
+
530
+
531
+ ### CreekSearch
532
+
533
+ No description available
534
+
535
+
536
+
537
+
538
+ #### Properties
539
+
540
+ | Name | Type | Description |
541
+ |------|------|-------------|
542
+ | columns | `ProColumnType<T>[]` | |
543
+ | onSubmit | `(values: Record<string, any>) => void` | |
544
+ | justify | `'start' | 'end'` | |
545
+
546
+
547
+
548
+
549
+ **Source:** `web-components/src/creek-search/CreekSearch.tsx`
550
+
551
+ ---
552
+
553
+
554
+ ### SearchContextValue
555
+
556
+ No description available
557
+
558
+
559
+
560
+
561
+ #### Properties
562
+
563
+ | Name | Type | Description |
564
+ |------|------|-------------|
565
+ | searchValue | `string` | |
566
+ | filters | `CreekSearchFilter[]` | |
567
+ | showValueSelector | `boolean` | |
568
+ | selectedColumn | `ProColumnType<T, U>` | |
569
+ | tempValue | `any` | |
570
+ | inputRef | `React.RefObject<any>` | |
571
+ | columns | `ProTableProps<T, U, ValueType>['columns']` | |
572
+ | filterOptions | `ProTableProps<T, U, ValueType>['columns']` | |
573
+ | onSubmit | `(params: U) => void` | |
574
+ | beforeSearchSubmit | `(params: Record<string, any>) => Record<string, any>` | |
575
+ | setSearchValue | `(value: string) => void` | |
576
+ | setFilters | `React.Dispatch<React.SetStateAction<CreekSearchFilter[]>>` | |
577
+ | setShowValueSelector | `(show: boolean) => void` | |
578
+ | setSelectedColumn | `(column: any) => void` | |
579
+ | setTempValue | `(value: any) => void` | |
580
+ | handleSearch | `(value: string) => void` | |
581
+ | handleSelectColumn | `(value: string) => void` | |
582
+ | addFilter | `(key: string, option: CreekSearchAddFilterOption) => void` | |
583
+ | confirmAddFilter | `() => void` | |
584
+ | cancelValueSelector | `() => void` | |
585
+ | removeFilter | `(filterId: string) => void` | |
586
+ | handelRest | `() => void` | |
587
+ | getColumnOptions | `(column: any) => Array<{ label: string` | |
588
+ | value | `string` | |
589
+
590
+
591
+
592
+
593
+ **Source:** `web-components/src/creek-search/CreekSearchContext.tsx`
594
+
595
+ ---
596
+
597
+
598
+ ### useSearchContext
599
+
600
+ No description available
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+ **Source:** `web-components/src/creek-search/CreekSearchContext.tsx`
609
+
610
+ ---
611
+
612
+
613
+ ### CreekSearchProvider
614
+
615
+ No description available
616
+
617
+
618
+
619
+
620
+ #### Properties
621
+
622
+ | Name | Type | Description |
623
+ |------|------|-------------|
624
+ | columns | `ProTableProps<T, U, ValueType>['columns']` | |
625
+ | onSubmit | `(params: U) => void` | |
626
+ | beforeSearchSubmit | `(params: Record<string, any>) => Record<string, any>` | |
627
+ | children | `ReactNode` | |
628
+
629
+
630
+
631
+
632
+ **Source:** `web-components/src/creek-search/CreekSearchContext.tsx`
633
+
634
+ ---
635
+
636
+
637
+ ### CreekFilterDisplayProps
638
+
639
+ No description available
640
+
641
+
642
+
643
+
644
+ #### Properties
645
+
646
+ | Name | Type | Description |
647
+ |------|------|-------------|
648
+ | className | `string` | |
649
+
650
+
651
+
652
+
653
+ **Source:** `web-components/src/creek-search/CreekSearchFilterDisplay.tsx`
654
+
655
+ ---
656
+
657
+
658
+ ### CreekFilterDisplay
659
+
660
+ No description available
661
+
662
+
663
+
664
+
665
+ #### Properties
666
+
667
+ | Name | Type | Description |
668
+ |------|------|-------------|
669
+ | className | `string` | |
670
+
671
+
672
+
673
+
674
+ **Source:** `web-components/src/creek-search/CreekSearchFilterDisplay.tsx`
675
+
676
+ ---
677
+
678
+
679
+ ### CreekSearchInputProps
680
+
681
+ No description available
682
+
683
+
684
+
685
+
686
+ #### Properties
687
+
688
+ | Name | Type | Description |
689
+ |------|------|-------------|
690
+ | className | `string` | |
691
+
692
+
693
+
694
+
695
+ **Source:** `web-components/src/creek-search/CreekSearchInput.tsx`
696
+
697
+ ---
698
+
699
+
700
+ ### CreekSearchInput
701
+
702
+ No description available
703
+
704
+
705
+
706
+
707
+ #### Properties
708
+
709
+ | Name | Type | Description |
710
+ |------|------|-------------|
711
+ | className | `string` | |
712
+
713
+
714
+
715
+
716
+ **Source:** `web-components/src/creek-search/CreekSearchInput.tsx`
717
+
718
+ ---
719
+
720
+
721
+ ### CreekSearchValueSelectorProps
722
+
723
+ No description available
724
+
725
+
726
+
727
+
728
+ #### Properties
729
+
730
+ | Name | Type | Description |
731
+ |------|------|-------------|
732
+ | onConfirm | `() => void` | |
733
+
734
+
735
+
736
+
737
+ **Source:** `web-components/src/creek-search/CreekSearchValueSelector.tsx`
738
+
739
+ ---
740
+
741
+
742
+ ### CreekSearchValueSelector
743
+
744
+ No description available
745
+
746
+
747
+
748
+
749
+ #### Properties
750
+
751
+ | Name | Type | Description |
752
+ |------|------|-------------|
753
+ | onConfirm | `() => void` | |
754
+
755
+
756
+
757
+
758
+ **Source:** `web-components/src/creek-search/CreekSearchValueSelector.tsx`
759
+
760
+ ---
761
+
762
+
763
+ ### CreekSearchAddFilterOption
764
+
765
+ No description available
766
+
767
+
768
+
769
+
770
+ #### Properties
771
+
772
+ | Name | Type | Description |
773
+ |------|------|-------------|
774
+ | value | `any` | |
775
+ | displayText | `string` | |
776
+
777
+
778
+
779
+
780
+ **Source:** `web-components/src/creek-search/type.ts`
781
+
782
+ ---
783
+
784
+
785
+ ### CreekSearchFilter
786
+
787
+ No description available
788
+
789
+
790
+
791
+
792
+ #### Properties
793
+
794
+ | Name | Type | Description |
795
+ |------|------|-------------|
796
+ | dataIndex | `string` | |
797
+ | title | `string` | |
798
+
799
+
800
+
801
+
802
+ **Source:** `web-components/src/creek-search/type.ts`
803
+
804
+ ---
805
+
806
+
807
+ ### SearchProTable
808
+
809
+ No description available
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+ **Source:** `web-components/src/creek-table/SearchTable.tsx`
818
+
819
+ ---
820
+
821
+
822
+ ### TableOptionRenderProps
823
+
824
+ No description available
825
+
826
+
827
+
828
+
829
+ #### Properties
830
+
831
+ | Name | Type | Description |
832
+ |------|------|-------------|
833
+ | defaultDom | `React.ReactNode[]` | |
834
+ | importConfig | `OptionRenderCustom` | |
835
+ | exportConfig | `OptionRenderCustom` | |
836
+
837
+
838
+
839
+
840
+ **Source:** `web-components/src/creek-table/TableOptionRender.tsx`
841
+
842
+ ---
843
+
844
+
845
+ ### TableOptionRender
846
+
847
+ No description available
848
+
849
+
850
+
851
+
852
+ #### Properties
853
+
854
+ | Name | Type | Description |
855
+ |------|------|-------------|
856
+ | defaultDom | `React.ReactNode[]` | |
857
+ | importConfig | `OptionRenderCustom` | |
858
+ | exportConfig | `OptionRenderCustom` | |
859
+
860
+
861
+
862
+
863
+ **Source:** `web-components/src/creek-table/TableOptionRender.tsx`
864
+
865
+ ---
866
+
867
+
868
+ ### CreekTableViewRender
869
+
870
+ No description available
871
+
872
+
873
+
874
+
875
+
876
+
877
+
878
+ **Source:** `web-components/src/creek-table/TableViewContent.tsx`
879
+
880
+ ---
881
+
882
+
883
+ ### TableViewContent
884
+
885
+ No description available
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+ **Source:** `web-components/src/creek-table/TableViewContent.tsx`
894
+
895
+ ---
896
+
897
+
898
+ ### useAdaptiveToolBar
899
+
900
+ No description available
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+ **Source:** `web-components/src/creek-table/hooks/useAdaptiveToolBar.tsx`
909
+
910
+ ---
911
+
912
+
913
+ ### useAutoAddFilterToColumns
914
+
915
+ No description available
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+ **Source:** `web-components/src/creek-table/hooks/useAutoAddFilterToColumns.tsx`
924
+
925
+ ---
926
+
927
+
928
+ ### useElementDistance
929
+
930
+ No description available
931
+
932
+
933
+
934
+
935
+
936
+
937
+
938
+ **Source:** `web-components/src/creek-table/hooks/useElementDistance.tsx`
939
+
940
+ ---
941
+
942
+
943
+ ### CreekTable
944
+
945
+ No description available
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+ **Source:** `web-components/src/creek-table/index.tsx`
954
+
955
+ ---
956
+
957
+
958
+ ### toolBarRender
959
+
960
+ No description available
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+ **Source:** `web-components/src/creek-table/toolBarRender.tsx`
969
+
970
+ ---
971
+
972
+
973
+ ### OptionRenderCustom
974
+
975
+ No description available
976
+
977
+
978
+
979
+
980
+ #### Properties
981
+
982
+ | Name | Type | Description |
983
+ |------|------|-------------|
984
+ | text | `string` | |
985
+ | icon | `React.ReactNode` | |
986
+ | onClick | `() => void` | |
987
+
988
+
989
+
990
+
991
+ **Source:** `web-components/src/creek-table/type.ts`
992
+
993
+ ---
994
+
995
+
996
+ ### CreekTableProps
997
+
998
+ No description available
999
+
1000
+
1001
+
1002
+
1003
+ #### Properties
1004
+
1005
+ | Name | Type | Description |
1006
+ |------|------|-------------|
1007
+ | pageFixedBottom | `boolean` | |
1008
+ | pageFixedBottomConfig | `{
1009
+ /** 底部保留空间(如固定在底部的元素高度),默认 0 */
1010
+ bottomFix?: number` | |
1011
+
1012
+
1013
+
1014
+
1015
+ **Source:** `web-components/src/creek-table/type.ts`
1016
+
1017
+ ---
1018
+
1019
+
1020
+ ## Version
1021
+
1022
+ 1.0.0
1023
+
1024
+ ## License
1025
+
1026
+ ISC