bilitoolkit-ui 0.0.2 → 0.0.4

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.d.ts CHANGED
@@ -3,72 +3,26 @@ import { App } from 'vue';
3
3
  import { AppThemeBackgroundMode } from 'bilitoolkit-types';
4
4
  import { AppThemeMode } from 'bilitoolkit-types';
5
5
  import { AppThemeState } from 'bilitoolkit-types';
6
- import { CheckboxGroupProps } from 'element-plus';
7
- import { CheckboxGroupValueType } from 'element-plus';
8
- import { CheckboxProps } from 'element-plus';
9
- import { CheckboxValueType } from 'element-plus';
10
6
  import { ComponentCustomProps } from 'vue';
11
- import { ComponentOptionsBase } from 'vue';
12
7
  import { ComponentOptionsMixin } from 'vue';
13
8
  import { ComponentProvideOptions } from 'vue';
14
- import { ComponentSize } from 'element-plus';
15
- import { ComputedRef } from 'vue';
16
- import { CreateComponentPublicInstanceWithMixins } from 'vue';
17
- import { CSSProperties } from 'vue';
18
- import { DebouncedFunc } from 'lodash';
19
9
  import { DefaultRow } from 'element-plus/es/components/table/src/table/defaults.mjs';
20
10
  import { DefineComponent } from 'vue';
21
11
  import { ElMessageBoxOptions } from 'element-plus';
22
- import { EpPropMergeType } from 'element-plus/es/utils/index.mjs';
23
- import { ExtractPropTypes } from 'vue';
24
- import { Filter } from 'element-plus';
25
- import { GlobalComponents } from 'vue';
26
- import { GlobalDirectives } from 'vue';
27
- import { hColgroup } from 'element-plus/es/components/table/src/h-helper.mjs';
28
12
  import { MaybeRefOrGetter } from 'vue';
29
- import { MousewheelCallback } from 'element-plus/es/directives/mousewheel/index.mjs';
30
- import { ObjectDirective } from 'vue';
31
- import { ObjectPlugin } from 'vue';
32
13
  import { Pinia } from 'pinia';
33
- import { PropType } from 'vue';
34
14
  import { PublicProps } from 'vue';
35
- import { Reactive } from 'vue';
36
15
  import { Ref } from 'vue';
37
- import { RendererElement } from 'vue';
38
- import { RendererNode } from 'vue';
39
- import { RenderExpanded } from 'element-plus/es/components/table/src/table/defaults.mjs';
40
- import { ScrollbarDirection } from 'element-plus';
41
- import { ScrollbarProps } from 'element-plus';
42
- import { SFCWithInstall } from 'element-plus/es/utils/index.mjs';
43
16
  import { ShallowRef } from 'vue';
44
17
  import { ShallowUnwrapRef } from 'vue';
45
- import { SilenceStatus } from '@ybgnb/bili-api';
46
- import { Sort } from 'element-plus';
47
18
  import { StoreDefinition } from 'pinia';
48
- import { StoreFilter } from 'element-plus/es/components/table/src/store/index.mjs';
49
- import { StyleValue } from 'vue';
50
- import { Table } from 'element-plus';
51
- import { TableBodyProps } from 'element-plus/es/components/table/src/table-body/defaults.mjs';
52
- import { TableColumnCtx } from 'element-plus';
53
- import { TableFooter } from 'element-plus/es/components/table/src/table-footer/index.mjs';
54
- import { TableHeaderProps } from 'element-plus/es/components/table/src/table-header/index.mjs';
55
- import { TableLayout } from 'element-plus/es/components/table/src/table-layout.mjs';
56
- import { TableProps } from 'element-plus';
57
- import { TableSortOrder } from 'element-plus/es/components/table/src/table/defaults.mjs';
58
- import { TimestampMs } from '@ybgnb/bili-api';
19
+ import { TableInstance } from 'element-plus';
59
20
  import { ToolkitApi } from 'bilitoolkit-types';
60
- import { Translator } from 'element-plus';
61
- import { TreeData } from 'element-plus/es/components/table/src/store/tree.mjs';
62
- import { TreeProps } from 'element-plus/es/components/table/src/table/defaults.mjs';
63
21
  import { UnwrapRefSimple } from '@vue/reactivity';
64
22
  import { UserInfo } from '@ybgnb/bili-api';
65
23
  import { UserInfoWithCookie } from '@ybgnb/bili-api';
66
- import { UseTooltipProps } from 'element-plus';
67
- import { VipStatus } from '@ybgnb/bili-api';
68
- import { VipType } from '@ybgnb/bili-api';
69
24
  import { VNode } from 'vue';
70
25
  import { VNodeProps } from 'vue';
71
- import { WheelElement } from 'element-plus/es/directives/mousewheel/index.mjs';
72
26
 
73
27
  declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
74
28
 
@@ -411,8 +365,6 @@ export declare const initBilitoolkitUi: (pinia: Pinia, options?: InitOptions) =>
411
365
  }>;
412
366
 
413
367
  declare interface InitOptions {
414
- /** 是否使用测试数据 */
415
- useTestData?: boolean;
416
368
  /** core 环境特有 */
417
369
  appThemeDBName?: string;
418
370
  /** core 环境特有 */
@@ -512,2121 +464,14 @@ export declare interface PageResult<D> extends PageData {
512
464
  data: D[];
513
465
  }
514
466
 
515
- declare const PageTable_2: <D, Q>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
467
+ declare const PageTable_2: <D extends Record<PropertyKey, any>, Q>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
516
468
  props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
517
469
  readonly onSearch?: (() => any) | undefined;
518
470
  readonly onReset?: (() => any) | undefined;
519
471
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onReset" | "onSearch"> & PageTableProps<D, Q> & Partial<{}>> & PublicProps;
520
472
  expose(exposed: ShallowUnwrapRef< {
521
473
  loading: Ref<boolean, boolean>;
522
- tableRef: Readonly<ShallowRef<CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
523
- data: {
524
- type: PropType<any[]>;
525
- default: () => never[];
526
- };
527
- size: {
528
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
529
- readonly required: false;
530
- readonly validator: ((val: unknown) => boolean) | undefined;
531
- __epPropKey: true;
532
- };
533
- width: (NumberConstructor | StringConstructor)[];
534
- height: (NumberConstructor | StringConstructor)[];
535
- maxHeight: (NumberConstructor | StringConstructor)[];
536
- fit: {
537
- type: BooleanConstructor;
538
- default: boolean;
539
- };
540
- stripe: BooleanConstructor;
541
- border: BooleanConstructor;
542
- rowKey: PropType<TableProps<any>["rowKey"]>;
543
- showHeader: {
544
- type: BooleanConstructor;
545
- default: boolean;
546
- };
547
- showSummary: BooleanConstructor;
548
- sumText: StringConstructor;
549
- summaryMethod: PropType<TableProps<any>["summaryMethod"]>;
550
- rowClassName: PropType<TableProps<any>["rowClassName"]>;
551
- rowStyle: PropType<TableProps<any>["rowStyle"]>;
552
- cellClassName: PropType<TableProps<any>["cellClassName"]>;
553
- cellStyle: PropType<TableProps<any>["cellStyle"]>;
554
- headerRowClassName: PropType<TableProps<any>["headerRowClassName"]>;
555
- headerRowStyle: PropType<TableProps<any>["headerRowStyle"]>;
556
- headerCellClassName: PropType<TableProps<any>["headerCellClassName"]>;
557
- headerCellStyle: PropType<TableProps<any>["headerCellStyle"]>;
558
- highlightCurrentRow: BooleanConstructor;
559
- currentRowKey: (NumberConstructor | StringConstructor)[];
560
- emptyText: StringConstructor;
561
- expandRowKeys: PropType<TableProps<any>["expandRowKeys"]>;
562
- defaultExpandAll: BooleanConstructor;
563
- rowExpandable: {
564
- type: PropType<TableProps<any>["rowExpandable"]>;
565
- };
566
- defaultSort: PropType<TableProps<any>["defaultSort"]>;
567
- tooltipEffect: StringConstructor;
568
- tooltipOptions: PropType<TableProps<any>["tooltipOptions"]>;
569
- spanMethod: PropType<TableProps<any>["spanMethod"]>;
570
- selectOnIndeterminate: {
571
- type: BooleanConstructor;
572
- default: boolean;
573
- };
574
- indent: {
575
- type: NumberConstructor;
576
- default: number;
577
- };
578
- treeProps: {
579
- type: PropType<TableProps<any>["treeProps"]>;
580
- default: () => {
581
- hasChildren: string;
582
- children: string;
583
- checkStrictly: boolean;
584
- };
585
- };
586
- lazy: BooleanConstructor;
587
- load: PropType<TableProps<any>["load"]>;
588
- style: {
589
- type: PropType<TableProps<any>["style"]>;
590
- default: () => {};
591
- };
592
- className: {
593
- type: StringConstructor;
594
- default: string;
595
- };
596
- tableLayout: {
597
- type: PropType<"fixed" | "auto">;
598
- default: string;
599
- };
600
- scrollbarAlwaysOn: BooleanConstructor;
601
- flexible: BooleanConstructor;
602
- showOverflowTooltip: {
603
- type: PropType<TableProps<any>["showOverflowTooltip"]>;
604
- default: undefined;
605
- };
606
- tooltipFormatter: PropType<TableProps<any>["tooltipFormatter"]>;
607
- appendFilterPanelTo: StringConstructor;
608
- scrollbarTabindex: {
609
- type: (NumberConstructor | StringConstructor)[];
610
- default: undefined;
611
- };
612
- allowDragLastColumn: {
613
- type: BooleanConstructor;
614
- default: boolean;
615
- };
616
- preserveExpandedContent: BooleanConstructor;
617
- nativeScrollbar: BooleanConstructor;
618
- }>> & Readonly<{
619
- onScroll?: ((...args: any[]) => any) | undefined;
620
- onSelect?: ((...args: any[]) => any) | undefined;
621
- "onExpand-change"?: ((...args: any[]) => any) | undefined;
622
- "onCurrent-change"?: ((...args: any[]) => any) | undefined;
623
- "onSelect-all"?: ((...args: any[]) => any) | undefined;
624
- "onSelection-change"?: ((...args: any[]) => any) | undefined;
625
- "onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
626
- "onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
627
- "onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
628
- "onCell-click"?: ((...args: any[]) => any) | undefined;
629
- "onCell-dblclick"?: ((...args: any[]) => any) | undefined;
630
- "onRow-click"?: ((...args: any[]) => any) | undefined;
631
- "onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
632
- "onRow-dblclick"?: ((...args: any[]) => any) | undefined;
633
- "onHeader-click"?: ((...args: any[]) => any) | undefined;
634
- "onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
635
- "onSort-change"?: ((...args: any[]) => any) | undefined;
636
- "onFilter-change"?: ((...args: any[]) => any) | undefined;
637
- "onHeader-dragend"?: ((...args: any[]) => any) | undefined;
638
- }>, {
639
- ns: {
640
- namespace: ComputedRef<string>;
641
- b: (blockSuffix?: string) => string;
642
- e: (element?: string) => string;
643
- m: (modifier?: string) => string;
644
- be: (blockSuffix?: string, element?: string) => string;
645
- em: (element?: string, modifier?: string) => string;
646
- bm: (blockSuffix?: string, modifier?: string) => string;
647
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
648
- is: {
649
- (name: string, state: boolean | undefined): string;
650
- (name: string): string;
651
- };
652
- cssVar: (object: Record<string, string>) => Record<string, string>;
653
- cssVarName: (name: string) => string;
654
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
655
- cssVarBlockName: (name: string) => string;
656
- };
657
- layout: TableLayout<any>;
658
- store: {
659
- mutations: {
660
- setData(states: {
661
- _currentRowKey: Ref<string | null, string | null>;
662
- currentRow: Ref<any, any>;
663
- expandRowKeys: Ref<string[], string[]>;
664
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
665
- indent: Ref<number, number>;
666
- lazy: Ref<boolean, boolean>;
667
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
668
- lazyColumnIdentifier: Ref<string, string>;
669
- childrenColumnName: Ref<string, string>;
670
- checkStrictly: Ref<boolean, boolean>;
671
- expandRows: Ref<any[], any[]>;
672
- defaultExpandAll: Ref<boolean, boolean>;
673
- tableSize: Ref<any, any>;
674
- rowKey: Ref<string | null, string | null>;
675
- data: Ref<any[], any[]>;
676
- _data: Ref<any[], any[]>;
677
- isComplex: Ref<boolean, boolean>;
678
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
679
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
680
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
681
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
682
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
683
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
684
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
685
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
686
- updateOrderFns: (() => void)[];
687
- leafColumnsLength: Ref<number, number>;
688
- fixedLeafColumnsLength: Ref<number, number>;
689
- rightFixedLeafColumnsLength: Ref<number, number>;
690
- isAllSelected: Ref<boolean, boolean>;
691
- selection: Ref<any[], any[]>;
692
- reserveSelection: Ref<boolean, boolean>;
693
- selectOnIndeterminate: Ref<boolean, boolean>;
694
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
695
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
696
- filters: Ref<StoreFilter, StoreFilter>;
697
- filteredData: Ref<any[] | null, any[] | null>;
698
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
699
- sortProp: Ref<string | null, string | null>;
700
- sortOrder: Ref<string | number | null, string | number | null>;
701
- hoverRow: Ref<any, any>;
702
- }, data: any[]): void;
703
- insertColumn(states: {
704
- _currentRowKey: Ref<string | null, string | null>;
705
- currentRow: Ref<any, any>;
706
- expandRowKeys: Ref<string[], string[]>;
707
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
708
- indent: Ref<number, number>;
709
- lazy: Ref<boolean, boolean>;
710
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
711
- lazyColumnIdentifier: Ref<string, string>;
712
- childrenColumnName: Ref<string, string>;
713
- checkStrictly: Ref<boolean, boolean>;
714
- expandRows: Ref<any[], any[]>;
715
- defaultExpandAll: Ref<boolean, boolean>;
716
- tableSize: Ref<any, any>;
717
- rowKey: Ref<string | null, string | null>;
718
- data: Ref<any[], any[]>;
719
- _data: Ref<any[], any[]>;
720
- isComplex: Ref<boolean, boolean>;
721
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
722
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
723
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
724
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
725
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
726
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
727
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
728
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
729
- updateOrderFns: (() => void)[];
730
- leafColumnsLength: Ref<number, number>;
731
- fixedLeafColumnsLength: Ref<number, number>;
732
- rightFixedLeafColumnsLength: Ref<number, number>;
733
- isAllSelected: Ref<boolean, boolean>;
734
- selection: Ref<any[], any[]>;
735
- reserveSelection: Ref<boolean, boolean>;
736
- selectOnIndeterminate: Ref<boolean, boolean>;
737
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
738
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
739
- filters: Ref<StoreFilter, StoreFilter>;
740
- filteredData: Ref<any[] | null, any[] | null>;
741
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
742
- sortProp: Ref<string | null, string | null>;
743
- sortOrder: Ref<string | number | null, string | number | null>;
744
- hoverRow: Ref<any, any>;
745
- }, column: TableColumnCtx<any>, parent: TableColumnCtx<any>, updateColumnOrder: () => void): void;
746
- updateColumnOrder(states: {
747
- _currentRowKey: Ref<string | null, string | null>;
748
- currentRow: Ref<any, any>;
749
- expandRowKeys: Ref<string[], string[]>;
750
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
751
- indent: Ref<number, number>;
752
- lazy: Ref<boolean, boolean>;
753
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
754
- lazyColumnIdentifier: Ref<string, string>;
755
- childrenColumnName: Ref<string, string>;
756
- checkStrictly: Ref<boolean, boolean>;
757
- expandRows: Ref<any[], any[]>;
758
- defaultExpandAll: Ref<boolean, boolean>;
759
- tableSize: Ref<any, any>;
760
- rowKey: Ref<string | null, string | null>;
761
- data: Ref<any[], any[]>;
762
- _data: Ref<any[], any[]>;
763
- isComplex: Ref<boolean, boolean>;
764
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
765
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
766
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
767
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
768
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
769
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
770
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
771
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
772
- updateOrderFns: (() => void)[];
773
- leafColumnsLength: Ref<number, number>;
774
- fixedLeafColumnsLength: Ref<number, number>;
775
- rightFixedLeafColumnsLength: Ref<number, number>;
776
- isAllSelected: Ref<boolean, boolean>;
777
- selection: Ref<any[], any[]>;
778
- reserveSelection: Ref<boolean, boolean>;
779
- selectOnIndeterminate: Ref<boolean, boolean>;
780
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
781
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
782
- filters: Ref<StoreFilter, StoreFilter>;
783
- filteredData: Ref<any[] | null, any[] | null>;
784
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
785
- sortProp: Ref<string | null, string | null>;
786
- sortOrder: Ref<string | number | null, string | number | null>;
787
- hoverRow: Ref<any, any>;
788
- }, column: TableColumnCtx<any>): void;
789
- removeColumn(states: {
790
- _currentRowKey: Ref<string | null, string | null>;
791
- currentRow: Ref<any, any>;
792
- expandRowKeys: Ref<string[], string[]>;
793
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
794
- indent: Ref<number, number>;
795
- lazy: Ref<boolean, boolean>;
796
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
797
- lazyColumnIdentifier: Ref<string, string>;
798
- childrenColumnName: Ref<string, string>;
799
- checkStrictly: Ref<boolean, boolean>;
800
- expandRows: Ref<any[], any[]>;
801
- defaultExpandAll: Ref<boolean, boolean>;
802
- tableSize: Ref<any, any>;
803
- rowKey: Ref<string | null, string | null>;
804
- data: Ref<any[], any[]>;
805
- _data: Ref<any[], any[]>;
806
- isComplex: Ref<boolean, boolean>;
807
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
808
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
809
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
810
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
811
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
812
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
813
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
814
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
815
- updateOrderFns: (() => void)[];
816
- leafColumnsLength: Ref<number, number>;
817
- fixedLeafColumnsLength: Ref<number, number>;
818
- rightFixedLeafColumnsLength: Ref<number, number>;
819
- isAllSelected: Ref<boolean, boolean>;
820
- selection: Ref<any[], any[]>;
821
- reserveSelection: Ref<boolean, boolean>;
822
- selectOnIndeterminate: Ref<boolean, boolean>;
823
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
824
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
825
- filters: Ref<StoreFilter, StoreFilter>;
826
- filteredData: Ref<any[] | null, any[] | null>;
827
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
828
- sortProp: Ref<string | null, string | null>;
829
- sortOrder: Ref<string | number | null, string | number | null>;
830
- hoverRow: Ref<any, any>;
831
- }, column: TableColumnCtx<any>, parent: TableColumnCtx<any>, updateColumnOrder: () => void): void;
832
- sort(states: {
833
- _currentRowKey: Ref<string | null, string | null>;
834
- currentRow: Ref<any, any>;
835
- expandRowKeys: Ref<string[], string[]>;
836
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
837
- indent: Ref<number, number>;
838
- lazy: Ref<boolean, boolean>;
839
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
840
- lazyColumnIdentifier: Ref<string, string>;
841
- childrenColumnName: Ref<string, string>;
842
- checkStrictly: Ref<boolean, boolean>;
843
- expandRows: Ref<any[], any[]>;
844
- defaultExpandAll: Ref<boolean, boolean>;
845
- tableSize: Ref<any, any>;
846
- rowKey: Ref<string | null, string | null>;
847
- data: Ref<any[], any[]>;
848
- _data: Ref<any[], any[]>;
849
- isComplex: Ref<boolean, boolean>;
850
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
851
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
852
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
853
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
854
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
855
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
856
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
857
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
858
- updateOrderFns: (() => void)[];
859
- leafColumnsLength: Ref<number, number>;
860
- fixedLeafColumnsLength: Ref<number, number>;
861
- rightFixedLeafColumnsLength: Ref<number, number>;
862
- isAllSelected: Ref<boolean, boolean>;
863
- selection: Ref<any[], any[]>;
864
- reserveSelection: Ref<boolean, boolean>;
865
- selectOnIndeterminate: Ref<boolean, boolean>;
866
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
867
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
868
- filters: Ref<StoreFilter, StoreFilter>;
869
- filteredData: Ref<any[] | null, any[] | null>;
870
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
871
- sortProp: Ref<string | null, string | null>;
872
- sortOrder: Ref<string | number | null, string | number | null>;
873
- hoverRow: Ref<any, any>;
874
- }, options: Sort): void;
875
- changeSortCondition(states: {
876
- _currentRowKey: Ref<string | null, string | null>;
877
- currentRow: Ref<any, any>;
878
- expandRowKeys: Ref<string[], string[]>;
879
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
880
- indent: Ref<number, number>;
881
- lazy: Ref<boolean, boolean>;
882
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
883
- lazyColumnIdentifier: Ref<string, string>;
884
- childrenColumnName: Ref<string, string>;
885
- checkStrictly: Ref<boolean, boolean>;
886
- expandRows: Ref<any[], any[]>;
887
- defaultExpandAll: Ref<boolean, boolean>;
888
- tableSize: Ref<any, any>;
889
- rowKey: Ref<string | null, string | null>;
890
- data: Ref<any[], any[]>;
891
- _data: Ref<any[], any[]>;
892
- isComplex: Ref<boolean, boolean>;
893
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
894
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
895
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
896
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
897
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
898
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
899
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
900
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
901
- updateOrderFns: (() => void)[];
902
- leafColumnsLength: Ref<number, number>;
903
- fixedLeafColumnsLength: Ref<number, number>;
904
- rightFixedLeafColumnsLength: Ref<number, number>;
905
- isAllSelected: Ref<boolean, boolean>;
906
- selection: Ref<any[], any[]>;
907
- reserveSelection: Ref<boolean, boolean>;
908
- selectOnIndeterminate: Ref<boolean, boolean>;
909
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
910
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
911
- filters: Ref<StoreFilter, StoreFilter>;
912
- filteredData: Ref<any[] | null, any[] | null>;
913
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
914
- sortProp: Ref<string | null, string | null>;
915
- sortOrder: Ref<string | number | null, string | number | null>;
916
- hoverRow: Ref<any, any>;
917
- }, options: Sort): void;
918
- filterChange(_states: {
919
- _currentRowKey: Ref<string | null, string | null>;
920
- currentRow: Ref<any, any>;
921
- expandRowKeys: Ref<string[], string[]>;
922
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
923
- indent: Ref<number, number>;
924
- lazy: Ref<boolean, boolean>;
925
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
926
- lazyColumnIdentifier: Ref<string, string>;
927
- childrenColumnName: Ref<string, string>;
928
- checkStrictly: Ref<boolean, boolean>;
929
- expandRows: Ref<any[], any[]>;
930
- defaultExpandAll: Ref<boolean, boolean>;
931
- tableSize: Ref<any, any>;
932
- rowKey: Ref<string | null, string | null>;
933
- data: Ref<any[], any[]>;
934
- _data: Ref<any[], any[]>;
935
- isComplex: Ref<boolean, boolean>;
936
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
937
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
938
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
939
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
940
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
941
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
942
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
943
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
944
- updateOrderFns: (() => void)[];
945
- leafColumnsLength: Ref<number, number>;
946
- fixedLeafColumnsLength: Ref<number, number>;
947
- rightFixedLeafColumnsLength: Ref<number, number>;
948
- isAllSelected: Ref<boolean, boolean>;
949
- selection: Ref<any[], any[]>;
950
- reserveSelection: Ref<boolean, boolean>;
951
- selectOnIndeterminate: Ref<boolean, boolean>;
952
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
953
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
954
- filters: Ref<StoreFilter, StoreFilter>;
955
- filteredData: Ref<any[] | null, any[] | null>;
956
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
957
- sortProp: Ref<string | null, string | null>;
958
- sortOrder: Ref<string | number | null, string | number | null>;
959
- hoverRow: Ref<any, any>;
960
- }, options: Filter<any>): void;
961
- toggleAllSelection(): void;
962
- rowSelectedChanged(_states: {
963
- _currentRowKey: Ref<string | null, string | null>;
964
- currentRow: Ref<any, any>;
965
- expandRowKeys: Ref<string[], string[]>;
966
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
967
- indent: Ref<number, number>;
968
- lazy: Ref<boolean, boolean>;
969
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
970
- lazyColumnIdentifier: Ref<string, string>;
971
- childrenColumnName: Ref<string, string>;
972
- checkStrictly: Ref<boolean, boolean>;
973
- expandRows: Ref<any[], any[]>;
974
- defaultExpandAll: Ref<boolean, boolean>;
975
- tableSize: Ref<any, any>;
976
- rowKey: Ref<string | null, string | null>;
977
- data: Ref<any[], any[]>;
978
- _data: Ref<any[], any[]>;
979
- isComplex: Ref<boolean, boolean>;
980
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
981
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
982
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
983
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
984
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
985
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
986
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
987
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
988
- updateOrderFns: (() => void)[];
989
- leafColumnsLength: Ref<number, number>;
990
- fixedLeafColumnsLength: Ref<number, number>;
991
- rightFixedLeafColumnsLength: Ref<number, number>;
992
- isAllSelected: Ref<boolean, boolean>;
993
- selection: Ref<any[], any[]>;
994
- reserveSelection: Ref<boolean, boolean>;
995
- selectOnIndeterminate: Ref<boolean, boolean>;
996
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
997
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
998
- filters: Ref<StoreFilter, StoreFilter>;
999
- filteredData: Ref<any[] | null, any[] | null>;
1000
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
1001
- sortProp: Ref<string | null, string | null>;
1002
- sortOrder: Ref<string | number | null, string | number | null>;
1003
- hoverRow: Ref<any, any>;
1004
- }, row: any): void;
1005
- setHoverRow(states: {
1006
- _currentRowKey: Ref<string | null, string | null>;
1007
- currentRow: Ref<any, any>;
1008
- expandRowKeys: Ref<string[], string[]>;
1009
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
1010
- indent: Ref<number, number>;
1011
- lazy: Ref<boolean, boolean>;
1012
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
1013
- lazyColumnIdentifier: Ref<string, string>;
1014
- childrenColumnName: Ref<string, string>;
1015
- checkStrictly: Ref<boolean, boolean>;
1016
- expandRows: Ref<any[], any[]>;
1017
- defaultExpandAll: Ref<boolean, boolean>;
1018
- tableSize: Ref<any, any>;
1019
- rowKey: Ref<string | null, string | null>;
1020
- data: Ref<any[], any[]>;
1021
- _data: Ref<any[], any[]>;
1022
- isComplex: Ref<boolean, boolean>;
1023
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1024
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1025
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1026
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1027
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1028
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1029
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1030
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1031
- updateOrderFns: (() => void)[];
1032
- leafColumnsLength: Ref<number, number>;
1033
- fixedLeafColumnsLength: Ref<number, number>;
1034
- rightFixedLeafColumnsLength: Ref<number, number>;
1035
- isAllSelected: Ref<boolean, boolean>;
1036
- selection: Ref<any[], any[]>;
1037
- reserveSelection: Ref<boolean, boolean>;
1038
- selectOnIndeterminate: Ref<boolean, boolean>;
1039
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1040
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1041
- filters: Ref<StoreFilter, StoreFilter>;
1042
- filteredData: Ref<any[] | null, any[] | null>;
1043
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
1044
- sortProp: Ref<string | null, string | null>;
1045
- sortOrder: Ref<string | number | null, string | number | null>;
1046
- hoverRow: Ref<any, any>;
1047
- }, row: any): void;
1048
- setCurrentRow(_states: {
1049
- _currentRowKey: Ref<string | null, string | null>;
1050
- currentRow: Ref<any, any>;
1051
- expandRowKeys: Ref<string[], string[]>;
1052
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
1053
- indent: Ref<number, number>;
1054
- lazy: Ref<boolean, boolean>;
1055
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
1056
- lazyColumnIdentifier: Ref<string, string>;
1057
- childrenColumnName: Ref<string, string>;
1058
- checkStrictly: Ref<boolean, boolean>;
1059
- expandRows: Ref<any[], any[]>;
1060
- defaultExpandAll: Ref<boolean, boolean>;
1061
- tableSize: Ref<any, any>;
1062
- rowKey: Ref<string | null, string | null>;
1063
- data: Ref<any[], any[]>;
1064
- _data: Ref<any[], any[]>;
1065
- isComplex: Ref<boolean, boolean>;
1066
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1067
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1068
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1069
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1070
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1071
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1072
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1073
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1074
- updateOrderFns: (() => void)[];
1075
- leafColumnsLength: Ref<number, number>;
1076
- fixedLeafColumnsLength: Ref<number, number>;
1077
- rightFixedLeafColumnsLength: Ref<number, number>;
1078
- isAllSelected: Ref<boolean, boolean>;
1079
- selection: Ref<any[], any[]>;
1080
- reserveSelection: Ref<boolean, boolean>;
1081
- selectOnIndeterminate: Ref<boolean, boolean>;
1082
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1083
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1084
- filters: Ref<StoreFilter, StoreFilter>;
1085
- filteredData: Ref<any[] | null, any[] | null>;
1086
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
1087
- sortProp: Ref<string | null, string | null>;
1088
- sortOrder: Ref<string | number | null, string | number | null>;
1089
- hoverRow: Ref<any, any>;
1090
- }, row: any): void;
1091
- };
1092
- commit: (name: "sort" | "setData" | "insertColumn" | "updateColumnOrder" | "removeColumn" | "changeSortCondition" | "filterChange" | "toggleAllSelection" | "rowSelectedChanged" | "setHoverRow" | "setCurrentRow", ...args: any[]) => void;
1093
- updateTableScrollY: () => void;
1094
- assertRowKey: () => void;
1095
- updateColumns: () => void;
1096
- scheduleLayout: (needUpdateColumns?: boolean, immediate?: boolean) => void;
1097
- isSelected: (row: any) => boolean;
1098
- clearSelection: () => void;
1099
- cleanSelection: () => void;
1100
- getSelectionRows: () => any[];
1101
- toggleRowSelection: (row: any, selected?: boolean, emitChange?: boolean, ignoreSelectable?: boolean) => void;
1102
- _toggleAllSelection: () => void;
1103
- toggleAllSelection: (() => void) | null;
1104
- updateAllSelected: () => void;
1105
- updateFilters: (column: TableColumnCtx<any>, values: string[]) => Record<string, string[]>;
1106
- updateCurrentRow: (_currentRow: any) => void;
1107
- updateSort: (column: TableColumnCtx<any> | null, prop: string | null, order: TableSortOrder | null) => void;
1108
- execFilter: () => void;
1109
- execSort: () => void;
1110
- execQuery: (ignore?: {
1111
- filter: boolean;
1112
- } | undefined) => void;
1113
- clearFilter: (columnKeys?: string[] | string) => void;
1114
- clearSort: () => void;
1115
- toggleRowExpansion: (row: any, expanded?: boolean) => void;
1116
- setExpandRowKeysAdapter: (val: string[]) => void;
1117
- setCurrentRowKey: (key: string) => void;
1118
- toggleRowExpansionAdapter: (row: any, expanded?: boolean) => void;
1119
- isRowExpanded: (row: any) => boolean;
1120
- updateExpandRows: () => void;
1121
- updateCurrentRowData: () => void;
1122
- loadOrToggle: (row: any) => void;
1123
- updateTreeData: (ifChangeExpandRowKeys?: boolean, ifExpandAll?: boolean) => void;
1124
- updateKeyChildren: (key: string, data: any[]) => void;
1125
- states: {
1126
- _currentRowKey: Ref<string | null, string | null>;
1127
- currentRow: Ref<any, any>;
1128
- expandRowKeys: Ref<string[], string[]>;
1129
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
1130
- indent: Ref<number, number>;
1131
- lazy: Ref<boolean, boolean>;
1132
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
1133
- lazyColumnIdentifier: Ref<string, string>;
1134
- childrenColumnName: Ref<string, string>;
1135
- checkStrictly: Ref<boolean, boolean>;
1136
- expandRows: Ref<any[], any[]>;
1137
- defaultExpandAll: Ref<boolean, boolean>;
1138
- tableSize: Ref<any, any>;
1139
- rowKey: Ref<string | null, string | null>;
1140
- data: Ref<any[], any[]>;
1141
- _data: Ref<any[], any[]>;
1142
- isComplex: Ref<boolean, boolean>;
1143
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1144
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1145
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1146
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1147
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1148
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1149
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1150
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1151
- updateOrderFns: (() => void)[];
1152
- leafColumnsLength: Ref<number, number>;
1153
- fixedLeafColumnsLength: Ref<number, number>;
1154
- rightFixedLeafColumnsLength: Ref<number, number>;
1155
- isAllSelected: Ref<boolean, boolean>;
1156
- selection: Ref<any[], any[]>;
1157
- reserveSelection: Ref<boolean, boolean>;
1158
- selectOnIndeterminate: Ref<boolean, boolean>;
1159
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1160
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1161
- filters: Ref<StoreFilter, StoreFilter>;
1162
- filteredData: Ref<any[] | null, any[] | null>;
1163
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
1164
- sortProp: Ref<string | null, string | null>;
1165
- sortOrder: Ref<string | number | null, string | number | null>;
1166
- hoverRow: Ref<any, any>;
1167
- };
1168
- ns: {
1169
- namespace: ComputedRef<string>;
1170
- b: (blockSuffix?: string) => string;
1171
- e: (element?: string) => string;
1172
- m: (modifier?: string) => string;
1173
- be: (blockSuffix?: string, element?: string) => string;
1174
- em: (element?: string, modifier?: string) => string;
1175
- bm: (blockSuffix?: string, modifier?: string) => string;
1176
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1177
- is: {
1178
- (name: string, state: boolean | undefined): string;
1179
- (name: string): string;
1180
- };
1181
- cssVar: (object: Record<string, string>) => Record<string, string>;
1182
- cssVarName: (name: string) => string;
1183
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
1184
- cssVarBlockName: (name: string) => string;
1185
- };
1186
- t: Translator;
1187
- };
1188
- columns: ComputedRef<TableColumnCtx<any>[]>;
1189
- handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
1190
- handleMouseLeave: () => void;
1191
- tableId: string;
1192
- tableSize: ComputedRef<"" | "default" | "small" | "large">;
1193
- isHidden: Ref<boolean, boolean>;
1194
- isEmpty: ComputedRef<boolean>;
1195
- renderExpanded: Ref<RenderExpanded<any> | null, RenderExpanded<any> | null>;
1196
- resizeProxyVisible: Ref<boolean, boolean>;
1197
- resizeState: Ref<{
1198
- width: null | number;
1199
- height: null | number;
1200
- headerHeight: null | number;
1201
- }, {
1202
- width: null | number;
1203
- height: null | number;
1204
- headerHeight: null | number;
1205
- } | {
1206
- width: null | number;
1207
- height: null | number;
1208
- headerHeight: null | number;
1209
- }>;
1210
- isGroup: Ref<boolean, boolean>;
1211
- bodyWidth: ComputedRef<string>;
1212
- tableBodyStyles: ComputedRef< {
1213
- width: string;
1214
- }>;
1215
- emptyBlockStyle: ComputedRef< {
1216
- width: string;
1217
- height: string;
1218
- } | undefined>;
1219
- debouncedUpdateLayout: DebouncedFunc<() => void>;
1220
- setCurrentRow: (row: any) => void;
1221
- getSelectionRows: () => any[];
1222
- toggleRowSelection: (row: any, selected?: boolean, ignoreSelectable?: boolean) => void;
1223
- clearSelection: () => void;
1224
- clearFilter: (columnKeys?: string[] | string) => void;
1225
- toggleAllSelection: () => void;
1226
- toggleRowExpansion: (row: any, expanded?: boolean) => void;
1227
- clearSort: () => void;
1228
- doLayout: () => void;
1229
- sort: (prop: string, order: string) => void;
1230
- updateKeyChildren: (key: string, data: any[]) => void;
1231
- t: Translator;
1232
- setDragVisible: (visible: boolean) => void;
1233
- context: Table<any>;
1234
- computedSumText: ComputedRef<string>;
1235
- computedEmptyText: ComputedRef<string>;
1236
- computedTooltipEffect: ComputedRef<string | undefined>;
1237
- computedTooltipOptions: ComputedRef<Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined>;
1238
- tableLayout: ComputedRef<"fixed" | "auto">;
1239
- scrollbarViewStyle: {
1240
- display: string;
1241
- verticalAlign: string;
1242
- };
1243
- scrollbarStyle: ComputedRef< {
1244
- height: string;
1245
- maxHeight?: undefined;
1246
- } | {
1247
- maxHeight: string;
1248
- height?: undefined;
1249
- } | {
1250
- height?: undefined;
1251
- maxHeight?: undefined;
1252
- }>;
1253
- scrollBarRef: Ref<any, any>;
1254
- scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
1255
- setScrollLeft: (left?: number) => void;
1256
- setScrollTop: (top?: number) => void;
1257
- allowDragLastColumn: boolean;
1258
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "select-all" | "scroll" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], PublicProps, {
1259
- lazy: boolean;
1260
- style: StyleValue;
1261
- border: boolean;
1262
- className: string;
1263
- tableLayout: "fixed" | "auto";
1264
- data: any[];
1265
- fit: boolean;
1266
- scrollbarAlwaysOn: boolean;
1267
- allowDragLastColumn: boolean;
1268
- stripe: boolean;
1269
- treeProps: TreeProps | undefined;
1270
- showOverflowTooltip: boolean | Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined;
1271
- showHeader: boolean;
1272
- showSummary: boolean;
1273
- highlightCurrentRow: boolean;
1274
- defaultExpandAll: boolean;
1275
- selectOnIndeterminate: boolean;
1276
- indent: number;
1277
- flexible: boolean;
1278
- scrollbarTabindex: string | number;
1279
- preserveExpandedContent: boolean;
1280
- nativeScrollbar: boolean;
1281
- }, true, {}, {}, {
1282
- TableHeader: DefineComponent<ExtractPropTypes< {
1283
- fixed: {
1284
- type: StringConstructor;
1285
- default: string;
1286
- };
1287
- store: {
1288
- required: true;
1289
- type: PropType<TableHeaderProps<any>["store"]>;
1290
- };
1291
- border: BooleanConstructor;
1292
- defaultSort: {
1293
- type: PropType<TableHeaderProps<any>["defaultSort"]>;
1294
- default: () => {
1295
- prop: string;
1296
- order: string;
1297
- };
1298
- };
1299
- appendFilterPanelTo: {
1300
- type: StringConstructor;
1301
- };
1302
- allowDragLastColumn: {
1303
- type: BooleanConstructor;
1304
- };
1305
- }>, {
1306
- ns: {
1307
- namespace: ComputedRef<string>;
1308
- b: (blockSuffix?: string) => string;
1309
- e: (element?: string) => string;
1310
- m: (modifier?: string) => string;
1311
- be: (blockSuffix?: string, element?: string) => string;
1312
- em: (element?: string, modifier?: string) => string;
1313
- bm: (blockSuffix?: string, modifier?: string) => string;
1314
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1315
- is: {
1316
- (name: string, state: boolean | undefined): string;
1317
- (name: string): string;
1318
- };
1319
- cssVar: (object: Record<string, string>) => Record<string, string>;
1320
- cssVarName: (name: string) => string;
1321
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
1322
- cssVarBlockName: (name: string) => string;
1323
- };
1324
- t: Translator;
1325
- filterPanels: Ref<{}, {}>;
1326
- onColumnsChange: (layout: TableLayout<DefaultRow>) => void;
1327
- onScrollableChange: (layout: TableLayout<DefaultRow>) => void;
1328
- columnRows: ComputedRef<TableColumnCtx<any>[][]>;
1329
- getHeaderRowClass: (rowIndex: number) => string;
1330
- getHeaderRowStyle: (rowIndex: number) => any;
1331
- getHeaderCellClass: (rowIndex: number, columnIndex: number, row: any, column: TableColumnCtx<any>) => string;
1332
- getHeaderCellStyle: (rowIndex: number, columnIndex: number, row: any, column: TableColumnCtx<any>) => CSSProperties;
1333
- handleHeaderClick: (event: Event, column: TableColumnCtx<any>) => void;
1334
- handleHeaderContextMenu: (event: Event, column: TableColumnCtx<any>) => void;
1335
- handleMouseDown: (event: MouseEvent, column: TableColumnCtx<any>) => void;
1336
- handleMouseMove: (event: MouseEvent, column: TableColumnCtx<any>) => void;
1337
- handleMouseOut: () => void;
1338
- handleSortClick: (event: Event, column: TableColumnCtx<any>, givenOrder?: TableSortOrder | boolean) => void;
1339
- handleFilterClick: (event: Event) => void;
1340
- isGroup: ComputedRef<boolean>;
1341
- toggleAllSelection: (event: Event) => void;
1342
- saveIndexSelection: Reactive<Map<any, any>>;
1343
- isTableLayoutAuto: boolean;
1344
- theadRef: Ref<any, any>;
1345
- updateFixedColumnStyle: () => void;
1346
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1347
- fixed: {
1348
- type: StringConstructor;
1349
- default: string;
1350
- };
1351
- store: {
1352
- required: true;
1353
- type: PropType<TableHeaderProps<any>["store"]>;
1354
- };
1355
- border: BooleanConstructor;
1356
- defaultSort: {
1357
- type: PropType<TableHeaderProps<any>["defaultSort"]>;
1358
- default: () => {
1359
- prop: string;
1360
- order: string;
1361
- };
1362
- };
1363
- appendFilterPanelTo: {
1364
- type: StringConstructor;
1365
- };
1366
- allowDragLastColumn: {
1367
- type: BooleanConstructor;
1368
- };
1369
- }>> & Readonly<{}>, {
1370
- fixed: string;
1371
- border: boolean;
1372
- defaultSort: Sort;
1373
- allowDragLastColumn: boolean;
1374
- }, {}, {
1375
- ElCheckbox: {
1376
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
1377
- onChange?: ((val: CheckboxValueType) => any) | undefined;
1378
- "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1379
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1380
- change: (val: CheckboxValueType) => void;
1381
- "update:modelValue": (val: CheckboxValueType) => void;
1382
- }, PublicProps, {
1383
- id: string;
1384
- disabled: boolean;
1385
- modelValue: number | string | boolean;
1386
- validateEvent: boolean;
1387
- name: string;
1388
- value: string | boolean | number | object;
1389
- label: string | boolean | number | object;
1390
- trueValue: string | number;
1391
- falseValue: string | number;
1392
- trueLabel: string | number;
1393
- falseLabel: string | number;
1394
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1395
- P: {};
1396
- B: {};
1397
- D: {};
1398
- C: {};
1399
- M: {};
1400
- Defaults: {};
1401
- }, Readonly<CheckboxProps> & Readonly<{
1402
- onChange?: ((val: CheckboxValueType) => any) | undefined;
1403
- "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1404
- }>, {}, {}, {}, {}, {
1405
- id: string;
1406
- disabled: boolean;
1407
- modelValue: number | string | boolean;
1408
- validateEvent: boolean;
1409
- name: string;
1410
- value: string | boolean | number | object;
1411
- label: string | boolean | number | object;
1412
- trueValue: string | number;
1413
- falseValue: string | number;
1414
- trueLabel: string | number;
1415
- falseLabel: string | number;
1416
- }>;
1417
- __isFragment?: never;
1418
- __isTeleport?: never;
1419
- __isSuspense?: never;
1420
- } & ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
1421
- onChange?: ((val: CheckboxValueType) => any) | undefined;
1422
- "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1423
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1424
- change: (val: CheckboxValueType) => void;
1425
- "update:modelValue": (val: CheckboxValueType) => void;
1426
- }, string, {
1427
- id: string;
1428
- disabled: boolean;
1429
- modelValue: number | string | boolean;
1430
- validateEvent: boolean;
1431
- name: string;
1432
- value: string | boolean | number | object;
1433
- label: string | boolean | number | object;
1434
- trueValue: string | number;
1435
- falseValue: string | number;
1436
- trueLabel: string | number;
1437
- falseLabel: string | number;
1438
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1439
- $slots: {
1440
- default?: (props: {}) => any;
1441
- };
1442
- }) & ObjectPlugin & {
1443
- setPropsDefaults: (defaults: Partial<Omit<{
1444
- readonly modelValue?: (number | string | boolean) | undefined;
1445
- readonly label?: (string | boolean | number | object) | undefined;
1446
- readonly value?: (string | boolean | number | object) | undefined;
1447
- readonly indeterminate?: boolean | undefined;
1448
- readonly disabled?: boolean | undefined;
1449
- readonly checked?: boolean | undefined;
1450
- readonly name?: string | undefined;
1451
- readonly trueValue?: (string | number) | undefined;
1452
- readonly falseValue?: (string | number) | undefined;
1453
- readonly trueLabel?: (string | number) | undefined;
1454
- readonly falseLabel?: (string | number) | undefined;
1455
- readonly id?: string | undefined;
1456
- readonly border?: boolean | undefined;
1457
- readonly size?: ComponentSize | undefined;
1458
- readonly tabindex?: (string | number) | undefined;
1459
- readonly validateEvent?: boolean | undefined;
1460
- readonly ariaLabel?: string | undefined;
1461
- readonly ariaControls?: string | undefined;
1462
- readonly onChange?: ((val: CheckboxValueType) => any) | undefined;
1463
- readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1464
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "onChange" | "onUpdate:modelValue" | keyof VNodeProps | keyof AllowedComponentProps>>) => void;
1465
- } & {
1466
- CheckboxButton: {
1467
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
1468
- onChange?: ((val: CheckboxValueType) => any) | undefined;
1469
- "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1470
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1471
- change: (val: CheckboxValueType) => void;
1472
- "update:modelValue": (val: CheckboxValueType) => void;
1473
- }, PublicProps, {
1474
- id: string;
1475
- disabled: boolean;
1476
- modelValue: number | string | boolean;
1477
- validateEvent: boolean;
1478
- name: string;
1479
- value: string | boolean | number | object;
1480
- label: string | boolean | number | object;
1481
- trueValue: string | number;
1482
- falseValue: string | number;
1483
- trueLabel: string | number;
1484
- falseLabel: string | number;
1485
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1486
- P: {};
1487
- B: {};
1488
- D: {};
1489
- C: {};
1490
- M: {};
1491
- Defaults: {};
1492
- }, Readonly<CheckboxProps> & Readonly<{
1493
- onChange?: ((val: CheckboxValueType) => any) | undefined;
1494
- "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1495
- }>, {}, {}, {}, {}, {
1496
- id: string;
1497
- disabled: boolean;
1498
- modelValue: number | string | boolean;
1499
- validateEvent: boolean;
1500
- name: string;
1501
- value: string | boolean | number | object;
1502
- label: string | boolean | number | object;
1503
- trueValue: string | number;
1504
- falseValue: string | number;
1505
- trueLabel: string | number;
1506
- falseLabel: string | number;
1507
- }>;
1508
- __isFragment?: never;
1509
- __isTeleport?: never;
1510
- __isSuspense?: never;
1511
- } & ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
1512
- onChange?: ((val: CheckboxValueType) => any) | undefined;
1513
- "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1514
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1515
- change: (val: CheckboxValueType) => void;
1516
- "update:modelValue": (val: CheckboxValueType) => void;
1517
- }, string, {
1518
- id: string;
1519
- disabled: boolean;
1520
- modelValue: number | string | boolean;
1521
- validateEvent: boolean;
1522
- name: string;
1523
- value: string | boolean | number | object;
1524
- label: string | boolean | number | object;
1525
- trueValue: string | number;
1526
- falseValue: string | number;
1527
- trueLabel: string | number;
1528
- falseLabel: string | number;
1529
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1530
- $slots: {
1531
- default?: (props: {}) => any;
1532
- };
1533
- });
1534
- CheckboxGroup: {
1535
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<CheckboxGroupProps> & Readonly<{
1536
- onChange?: ((val: CheckboxValueType[]) => any) | undefined;
1537
- "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
1538
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1539
- change: (val: CheckboxValueType[]) => void;
1540
- "update:modelValue": (val: CheckboxGroupValueType) => void;
1541
- }, PublicProps, {
1542
- props: {
1543
- value?: string;
1544
- label?: string;
1545
- disabled?: string;
1546
- };
1547
- type: "checkbox" | "button";
1548
- disabled: boolean;
1549
- modelValue: CheckboxGroupValueType;
1550
- validateEvent: boolean;
1551
- tag: string;
1552
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1553
- P: {};
1554
- B: {};
1555
- D: {};
1556
- C: {};
1557
- M: {};
1558
- Defaults: {};
1559
- }, Readonly<CheckboxGroupProps> & Readonly<{
1560
- onChange?: ((val: CheckboxValueType[]) => any) | undefined;
1561
- "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
1562
- }>, {}, {}, {}, {}, {
1563
- props: {
1564
- value?: string;
1565
- label?: string;
1566
- disabled?: string;
1567
- };
1568
- type: "checkbox" | "button";
1569
- disabled: boolean;
1570
- modelValue: CheckboxGroupValueType;
1571
- validateEvent: boolean;
1572
- tag: string;
1573
- }>;
1574
- __isFragment?: never;
1575
- __isTeleport?: never;
1576
- __isSuspense?: never;
1577
- } & ComponentOptionsBase<Readonly<CheckboxGroupProps> & Readonly<{
1578
- onChange?: ((val: CheckboxValueType[]) => any) | undefined;
1579
- "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
1580
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1581
- change: (val: CheckboxValueType[]) => void;
1582
- "update:modelValue": (val: CheckboxGroupValueType) => void;
1583
- }, string, {
1584
- props: {
1585
- value?: string;
1586
- label?: string;
1587
- disabled?: string;
1588
- };
1589
- type: "checkbox" | "button";
1590
- disabled: boolean;
1591
- modelValue: CheckboxGroupValueType;
1592
- validateEvent: boolean;
1593
- tag: string;
1594
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1595
- $slots: {
1596
- default?: (props: {}) => any;
1597
- };
1598
- });
1599
- };
1600
- }, {}, string, ComponentProvideOptions, true, {}, any>;
1601
- TableBody: DefineComponent<ExtractPropTypes< {
1602
- store: {
1603
- required: boolean;
1604
- type: PropType<TableBodyProps<any>["store"]>;
1605
- };
1606
- stripe: BooleanConstructor;
1607
- tooltipEffect: StringConstructor;
1608
- tooltipOptions: {
1609
- type: PropType<TableBodyProps<any>["tooltipOptions"]>;
1610
- };
1611
- context: {
1612
- default: () => {};
1613
- type: PropType<TableBodyProps<any>["context"]>;
1614
- };
1615
- rowClassName: PropType<TableBodyProps<any>["rowClassName"]>;
1616
- rowStyle: PropType<TableBodyProps<any>["rowStyle"]>;
1617
- fixed: {
1618
- type: StringConstructor;
1619
- default: string;
1620
- };
1621
- highlight: BooleanConstructor;
1622
- }>, {
1623
- ns: {
1624
- namespace: ComputedRef<string>;
1625
- b: (blockSuffix?: string) => string;
1626
- e: (element?: string) => string;
1627
- m: (modifier?: string) => string;
1628
- be: (blockSuffix?: string, element?: string) => string;
1629
- em: (element?: string, modifier?: string) => string;
1630
- bm: (blockSuffix?: string, modifier?: string) => string;
1631
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1632
- is: {
1633
- (name: string, state: boolean | undefined): string;
1634
- (name: string): string;
1635
- };
1636
- cssVar: (object: Record<string, string>) => Record<string, string>;
1637
- cssVarName: (name: string) => string;
1638
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
1639
- cssVarBlockName: (name: string) => string;
1640
- };
1641
- onColumnsChange: (layout: TableLayout<DefaultRow>) => void;
1642
- onScrollableChange: (layout: TableLayout<DefaultRow>) => void;
1643
- wrappedRowRender: (row: any, $index: number) => VNode<RendererNode, RendererElement, {
1644
- [key: string]: any;
1645
- }> | VNode<RendererNode, RendererElement, {
1646
- [key: string]: any;
1647
- }>[] | VNode<RendererNode, RendererElement, {
1648
- [key: string]: any;
1649
- }>[][];
1650
- tooltipContent: Ref<string, string>;
1651
- tooltipTrigger: Ref<VNode<RendererNode, RendererElement, {
1652
- [key: string]: any;
1653
- }>, VNode<RendererNode, RendererElement, {
1654
- [key: string]: any;
1655
- }>>;
1656
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1657
- store: {
1658
- required: boolean;
1659
- type: PropType<TableBodyProps<any>["store"]>;
1660
- };
1661
- stripe: BooleanConstructor;
1662
- tooltipEffect: StringConstructor;
1663
- tooltipOptions: {
1664
- type: PropType<TableBodyProps<any>["tooltipOptions"]>;
1665
- };
1666
- context: {
1667
- default: () => {};
1668
- type: PropType<TableBodyProps<any>["context"]>;
1669
- };
1670
- rowClassName: PropType<TableBodyProps<any>["rowClassName"]>;
1671
- rowStyle: PropType<TableBodyProps<any>["rowStyle"]>;
1672
- fixed: {
1673
- type: StringConstructor;
1674
- default: string;
1675
- };
1676
- highlight: BooleanConstructor;
1677
- }>> & Readonly<{}>, {
1678
- fixed: string;
1679
- context: Table<any>;
1680
- stripe: boolean;
1681
- highlight: boolean;
1682
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1683
- TableFooter: DefineComponent<ExtractPropTypes< {
1684
- fixed: {
1685
- type: StringConstructor;
1686
- default: string;
1687
- };
1688
- store: {
1689
- required: true;
1690
- type: PropType<TableFooter<any>["store"]>;
1691
- };
1692
- summaryMethod: PropType<TableFooter<any>["summaryMethod"]>;
1693
- sumText: StringConstructor;
1694
- border: BooleanConstructor;
1695
- defaultSort: {
1696
- type: PropType<TableFooter<any>["defaultSort"]>;
1697
- default: () => {
1698
- prop: string;
1699
- order: string;
1700
- };
1701
- };
1702
- }>, {
1703
- ns: {
1704
- namespace: ComputedRef<string>;
1705
- b: (blockSuffix?: string) => string;
1706
- e: (element?: string) => string;
1707
- m: (modifier?: string) => string;
1708
- be: (blockSuffix?: string, element?: string) => string;
1709
- em: (element?: string, modifier?: string) => string;
1710
- bm: (blockSuffix?: string, modifier?: string) => string;
1711
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1712
- is: {
1713
- (name: string, state: boolean | undefined): string;
1714
- (name: string): string;
1715
- };
1716
- cssVar: (object: Record<string, string>) => Record<string, string>;
1717
- cssVarName: (name: string) => string;
1718
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
1719
- cssVarBlockName: (name: string) => string;
1720
- };
1721
- onScrollableChange: (layout: TableLayout<any>) => void;
1722
- onColumnsChange: (layout: TableLayout<any>) => void;
1723
- getCellClasses: (columns: TableColumnCtx<any>[], cellIndex: number) => string[];
1724
- getCellStyles: (column: TableColumnCtx<any>, cellIndex: number) => CSSProperties | undefined;
1725
- columns: ComputedRef<TableColumnCtx<DefaultRow>[]>;
1726
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1727
- fixed: {
1728
- type: StringConstructor;
1729
- default: string;
1730
- };
1731
- store: {
1732
- required: true;
1733
- type: PropType<TableFooter<any>["store"]>;
1734
- };
1735
- summaryMethod: PropType<TableFooter<any>["summaryMethod"]>;
1736
- sumText: StringConstructor;
1737
- border: BooleanConstructor;
1738
- defaultSort: {
1739
- type: PropType<TableFooter<any>["defaultSort"]>;
1740
- default: () => {
1741
- prop: string;
1742
- order: string;
1743
- };
1744
- };
1745
- }>> & Readonly<{}>, {
1746
- fixed: string;
1747
- border: boolean;
1748
- defaultSort: Sort;
1749
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1750
- ElScrollbar: SFCWithInstall< {
1751
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ScrollbarProps> & Readonly<{
1752
- onScroll?: ((args_0: {
1753
- scrollTop: number;
1754
- scrollLeft: number;
1755
- }) => any) | undefined;
1756
- "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
1757
- }>, {
1758
- wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
1759
- update: () => void;
1760
- scrollTo: {
1761
- (xCord: number, yCord?: number): void;
1762
- (options: ScrollToOptions): void;
1763
- };
1764
- setScrollTop: (value: number) => void;
1765
- setScrollLeft: (value: number) => void;
1766
- handleScroll: () => void;
1767
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1768
- scroll: (args_0: {
1769
- scrollTop: number;
1770
- scrollLeft: number;
1771
- }) => void;
1772
- "end-reached": (direction: ScrollbarDirection) => void;
1773
- }, PublicProps, {
1774
- tabindex: number | string;
1775
- height: number | string;
1776
- maxHeight: number | string;
1777
- tag: keyof HTMLElementTagNameMap | (string & {});
1778
- distance: number;
1779
- wrapStyle: string | false | CSSProperties | StyleValue[] | null;
1780
- wrapClass: string | string[];
1781
- viewClass: string | string[];
1782
- viewStyle: string | false | CSSProperties | StyleValue[] | null;
1783
- minSize: number;
1784
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1785
- P: {};
1786
- B: {};
1787
- D: {};
1788
- C: {};
1789
- M: {};
1790
- Defaults: {};
1791
- }, Readonly<ScrollbarProps> & Readonly<{
1792
- onScroll?: ((args_0: {
1793
- scrollTop: number;
1794
- scrollLeft: number;
1795
- }) => any) | undefined;
1796
- "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
1797
- }>, {
1798
- wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
1799
- update: () => void;
1800
- scrollTo: {
1801
- (xCord: number, yCord?: number): void;
1802
- (options: ScrollToOptions): void;
1803
- };
1804
- setScrollTop: (value: number) => void;
1805
- setScrollLeft: (value: number) => void;
1806
- handleScroll: () => void;
1807
- }, {}, {}, {}, {
1808
- tabindex: number | string;
1809
- height: number | string;
1810
- maxHeight: number | string;
1811
- tag: keyof HTMLElementTagNameMap | (string & {});
1812
- distance: number;
1813
- wrapStyle: string | false | CSSProperties | StyleValue[] | null;
1814
- wrapClass: string | string[];
1815
- viewClass: string | string[];
1816
- viewStyle: string | false | CSSProperties | StyleValue[] | null;
1817
- minSize: number;
1818
- }>;
1819
- __isFragment?: never;
1820
- __isTeleport?: never;
1821
- __isSuspense?: never;
1822
- } & ComponentOptionsBase<Readonly<ScrollbarProps> & Readonly<{
1823
- onScroll?: ((args_0: {
1824
- scrollTop: number;
1825
- scrollLeft: number;
1826
- }) => any) | undefined;
1827
- "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
1828
- }>, {
1829
- wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
1830
- update: () => void;
1831
- scrollTo: {
1832
- (xCord: number, yCord?: number): void;
1833
- (options: ScrollToOptions): void;
1834
- };
1835
- setScrollTop: (value: number) => void;
1836
- setScrollLeft: (value: number) => void;
1837
- handleScroll: () => void;
1838
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1839
- scroll: (args_0: {
1840
- scrollTop: number;
1841
- scrollLeft: number;
1842
- }) => void;
1843
- "end-reached": (direction: ScrollbarDirection) => void;
1844
- }, string, {
1845
- tabindex: number | string;
1846
- height: number | string;
1847
- maxHeight: number | string;
1848
- tag: keyof HTMLElementTagNameMap | (string & {});
1849
- distance: number;
1850
- wrapStyle: string | false | CSSProperties | StyleValue[] | null;
1851
- wrapClass: string | string[];
1852
- viewClass: string | string[];
1853
- viewStyle: string | false | CSSProperties | StyleValue[] | null;
1854
- minSize: number;
1855
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1856
- $slots: {
1857
- default?: (props: {}) => any;
1858
- };
1859
- })>;
1860
- hColgroup: hColgroup;
1861
- } & GlobalComponents, {
1862
- Mousewheel: ObjectDirective<WheelElement, MousewheelCallback, string, any>;
1863
- } & GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1864
- P: {};
1865
- B: {};
1866
- D: {};
1867
- C: {};
1868
- M: {};
1869
- Defaults: {};
1870
- }, Readonly<ExtractPropTypes< {
1871
- data: {
1872
- type: PropType<any[]>;
1873
- default: () => never[];
1874
- };
1875
- size: {
1876
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
1877
- readonly required: false;
1878
- readonly validator: ((val: unknown) => boolean) | undefined;
1879
- __epPropKey: true;
1880
- };
1881
- width: (NumberConstructor | StringConstructor)[];
1882
- height: (NumberConstructor | StringConstructor)[];
1883
- maxHeight: (NumberConstructor | StringConstructor)[];
1884
- fit: {
1885
- type: BooleanConstructor;
1886
- default: boolean;
1887
- };
1888
- stripe: BooleanConstructor;
1889
- border: BooleanConstructor;
1890
- rowKey: PropType<TableProps<any>["rowKey"]>;
1891
- showHeader: {
1892
- type: BooleanConstructor;
1893
- default: boolean;
1894
- };
1895
- showSummary: BooleanConstructor;
1896
- sumText: StringConstructor;
1897
- summaryMethod: PropType<TableProps<any>["summaryMethod"]>;
1898
- rowClassName: PropType<TableProps<any>["rowClassName"]>;
1899
- rowStyle: PropType<TableProps<any>["rowStyle"]>;
1900
- cellClassName: PropType<TableProps<any>["cellClassName"]>;
1901
- cellStyle: PropType<TableProps<any>["cellStyle"]>;
1902
- headerRowClassName: PropType<TableProps<any>["headerRowClassName"]>;
1903
- headerRowStyle: PropType<TableProps<any>["headerRowStyle"]>;
1904
- headerCellClassName: PropType<TableProps<any>["headerCellClassName"]>;
1905
- headerCellStyle: PropType<TableProps<any>["headerCellStyle"]>;
1906
- highlightCurrentRow: BooleanConstructor;
1907
- currentRowKey: (NumberConstructor | StringConstructor)[];
1908
- emptyText: StringConstructor;
1909
- expandRowKeys: PropType<TableProps<any>["expandRowKeys"]>;
1910
- defaultExpandAll: BooleanConstructor;
1911
- rowExpandable: {
1912
- type: PropType<TableProps<any>["rowExpandable"]>;
1913
- };
1914
- defaultSort: PropType<TableProps<any>["defaultSort"]>;
1915
- tooltipEffect: StringConstructor;
1916
- tooltipOptions: PropType<TableProps<any>["tooltipOptions"]>;
1917
- spanMethod: PropType<TableProps<any>["spanMethod"]>;
1918
- selectOnIndeterminate: {
1919
- type: BooleanConstructor;
1920
- default: boolean;
1921
- };
1922
- indent: {
1923
- type: NumberConstructor;
1924
- default: number;
1925
- };
1926
- treeProps: {
1927
- type: PropType<TableProps<any>["treeProps"]>;
1928
- default: () => {
1929
- hasChildren: string;
1930
- children: string;
1931
- checkStrictly: boolean;
1932
- };
1933
- };
1934
- lazy: BooleanConstructor;
1935
- load: PropType<TableProps<any>["load"]>;
1936
- style: {
1937
- type: PropType<TableProps<any>["style"]>;
1938
- default: () => {};
1939
- };
1940
- className: {
1941
- type: StringConstructor;
1942
- default: string;
1943
- };
1944
- tableLayout: {
1945
- type: PropType<"fixed" | "auto">;
1946
- default: string;
1947
- };
1948
- scrollbarAlwaysOn: BooleanConstructor;
1949
- flexible: BooleanConstructor;
1950
- showOverflowTooltip: {
1951
- type: PropType<TableProps<any>["showOverflowTooltip"]>;
1952
- default: undefined;
1953
- };
1954
- tooltipFormatter: PropType<TableProps<any>["tooltipFormatter"]>;
1955
- appendFilterPanelTo: StringConstructor;
1956
- scrollbarTabindex: {
1957
- type: (NumberConstructor | StringConstructor)[];
1958
- default: undefined;
1959
- };
1960
- allowDragLastColumn: {
1961
- type: BooleanConstructor;
1962
- default: boolean;
1963
- };
1964
- preserveExpandedContent: BooleanConstructor;
1965
- nativeScrollbar: BooleanConstructor;
1966
- }>> & Readonly<{
1967
- onScroll?: ((...args: any[]) => any) | undefined;
1968
- onSelect?: ((...args: any[]) => any) | undefined;
1969
- "onExpand-change"?: ((...args: any[]) => any) | undefined;
1970
- "onCurrent-change"?: ((...args: any[]) => any) | undefined;
1971
- "onSelect-all"?: ((...args: any[]) => any) | undefined;
1972
- "onSelection-change"?: ((...args: any[]) => any) | undefined;
1973
- "onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
1974
- "onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
1975
- "onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
1976
- "onCell-click"?: ((...args: any[]) => any) | undefined;
1977
- "onCell-dblclick"?: ((...args: any[]) => any) | undefined;
1978
- "onRow-click"?: ((...args: any[]) => any) | undefined;
1979
- "onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
1980
- "onRow-dblclick"?: ((...args: any[]) => any) | undefined;
1981
- "onHeader-click"?: ((...args: any[]) => any) | undefined;
1982
- "onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
1983
- "onSort-change"?: ((...args: any[]) => any) | undefined;
1984
- "onFilter-change"?: ((...args: any[]) => any) | undefined;
1985
- "onHeader-dragend"?: ((...args: any[]) => any) | undefined;
1986
- }>, {
1987
- ns: {
1988
- namespace: ComputedRef<string>;
1989
- b: (blockSuffix?: string) => string;
1990
- e: (element?: string) => string;
1991
- m: (modifier?: string) => string;
1992
- be: (blockSuffix?: string, element?: string) => string;
1993
- em: (element?: string, modifier?: string) => string;
1994
- bm: (blockSuffix?: string, modifier?: string) => string;
1995
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1996
- is: {
1997
- (name: string, state: boolean | undefined): string;
1998
- (name: string): string;
1999
- };
2000
- cssVar: (object: Record<string, string>) => Record<string, string>;
2001
- cssVarName: (name: string) => string;
2002
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
2003
- cssVarBlockName: (name: string) => string;
2004
- };
2005
- layout: TableLayout<any>;
2006
- store: {
2007
- mutations: {
2008
- setData(states: {
2009
- _currentRowKey: Ref<string | null, string | null>;
2010
- currentRow: Ref<any, any>;
2011
- expandRowKeys: Ref<string[], string[]>;
2012
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2013
- indent: Ref<number, number>;
2014
- lazy: Ref<boolean, boolean>;
2015
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2016
- lazyColumnIdentifier: Ref<string, string>;
2017
- childrenColumnName: Ref<string, string>;
2018
- checkStrictly: Ref<boolean, boolean>;
2019
- expandRows: Ref<any[], any[]>;
2020
- defaultExpandAll: Ref<boolean, boolean>;
2021
- tableSize: Ref<any, any>;
2022
- rowKey: Ref<string | null, string | null>;
2023
- data: Ref<any[], any[]>;
2024
- _data: Ref<any[], any[]>;
2025
- isComplex: Ref<boolean, boolean>;
2026
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2027
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2028
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2029
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2030
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2031
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2032
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2033
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2034
- updateOrderFns: (() => void)[];
2035
- leafColumnsLength: Ref<number, number>;
2036
- fixedLeafColumnsLength: Ref<number, number>;
2037
- rightFixedLeafColumnsLength: Ref<number, number>;
2038
- isAllSelected: Ref<boolean, boolean>;
2039
- selection: Ref<any[], any[]>;
2040
- reserveSelection: Ref<boolean, boolean>;
2041
- selectOnIndeterminate: Ref<boolean, boolean>;
2042
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2043
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2044
- filters: Ref<StoreFilter, StoreFilter>;
2045
- filteredData: Ref<any[] | null, any[] | null>;
2046
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2047
- sortProp: Ref<string | null, string | null>;
2048
- sortOrder: Ref<string | number | null, string | number | null>;
2049
- hoverRow: Ref<any, any>;
2050
- }, data: any[]): void;
2051
- insertColumn(states: {
2052
- _currentRowKey: Ref<string | null, string | null>;
2053
- currentRow: Ref<any, any>;
2054
- expandRowKeys: Ref<string[], string[]>;
2055
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2056
- indent: Ref<number, number>;
2057
- lazy: Ref<boolean, boolean>;
2058
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2059
- lazyColumnIdentifier: Ref<string, string>;
2060
- childrenColumnName: Ref<string, string>;
2061
- checkStrictly: Ref<boolean, boolean>;
2062
- expandRows: Ref<any[], any[]>;
2063
- defaultExpandAll: Ref<boolean, boolean>;
2064
- tableSize: Ref<any, any>;
2065
- rowKey: Ref<string | null, string | null>;
2066
- data: Ref<any[], any[]>;
2067
- _data: Ref<any[], any[]>;
2068
- isComplex: Ref<boolean, boolean>;
2069
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2070
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2071
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2072
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2073
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2074
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2075
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2076
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2077
- updateOrderFns: (() => void)[];
2078
- leafColumnsLength: Ref<number, number>;
2079
- fixedLeafColumnsLength: Ref<number, number>;
2080
- rightFixedLeafColumnsLength: Ref<number, number>;
2081
- isAllSelected: Ref<boolean, boolean>;
2082
- selection: Ref<any[], any[]>;
2083
- reserveSelection: Ref<boolean, boolean>;
2084
- selectOnIndeterminate: Ref<boolean, boolean>;
2085
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2086
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2087
- filters: Ref<StoreFilter, StoreFilter>;
2088
- filteredData: Ref<any[] | null, any[] | null>;
2089
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2090
- sortProp: Ref<string | null, string | null>;
2091
- sortOrder: Ref<string | number | null, string | number | null>;
2092
- hoverRow: Ref<any, any>;
2093
- }, column: TableColumnCtx<any>, parent: TableColumnCtx<any>, updateColumnOrder: () => void): void;
2094
- updateColumnOrder(states: {
2095
- _currentRowKey: Ref<string | null, string | null>;
2096
- currentRow: Ref<any, any>;
2097
- expandRowKeys: Ref<string[], string[]>;
2098
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2099
- indent: Ref<number, number>;
2100
- lazy: Ref<boolean, boolean>;
2101
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2102
- lazyColumnIdentifier: Ref<string, string>;
2103
- childrenColumnName: Ref<string, string>;
2104
- checkStrictly: Ref<boolean, boolean>;
2105
- expandRows: Ref<any[], any[]>;
2106
- defaultExpandAll: Ref<boolean, boolean>;
2107
- tableSize: Ref<any, any>;
2108
- rowKey: Ref<string | null, string | null>;
2109
- data: Ref<any[], any[]>;
2110
- _data: Ref<any[], any[]>;
2111
- isComplex: Ref<boolean, boolean>;
2112
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2113
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2114
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2115
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2116
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2117
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2118
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2119
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2120
- updateOrderFns: (() => void)[];
2121
- leafColumnsLength: Ref<number, number>;
2122
- fixedLeafColumnsLength: Ref<number, number>;
2123
- rightFixedLeafColumnsLength: Ref<number, number>;
2124
- isAllSelected: Ref<boolean, boolean>;
2125
- selection: Ref<any[], any[]>;
2126
- reserveSelection: Ref<boolean, boolean>;
2127
- selectOnIndeterminate: Ref<boolean, boolean>;
2128
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2129
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2130
- filters: Ref<StoreFilter, StoreFilter>;
2131
- filteredData: Ref<any[] | null, any[] | null>;
2132
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2133
- sortProp: Ref<string | null, string | null>;
2134
- sortOrder: Ref<string | number | null, string | number | null>;
2135
- hoverRow: Ref<any, any>;
2136
- }, column: TableColumnCtx<any>): void;
2137
- removeColumn(states: {
2138
- _currentRowKey: Ref<string | null, string | null>;
2139
- currentRow: Ref<any, any>;
2140
- expandRowKeys: Ref<string[], string[]>;
2141
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2142
- indent: Ref<number, number>;
2143
- lazy: Ref<boolean, boolean>;
2144
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2145
- lazyColumnIdentifier: Ref<string, string>;
2146
- childrenColumnName: Ref<string, string>;
2147
- checkStrictly: Ref<boolean, boolean>;
2148
- expandRows: Ref<any[], any[]>;
2149
- defaultExpandAll: Ref<boolean, boolean>;
2150
- tableSize: Ref<any, any>;
2151
- rowKey: Ref<string | null, string | null>;
2152
- data: Ref<any[], any[]>;
2153
- _data: Ref<any[], any[]>;
2154
- isComplex: Ref<boolean, boolean>;
2155
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2156
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2157
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2158
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2159
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2160
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2161
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2162
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2163
- updateOrderFns: (() => void)[];
2164
- leafColumnsLength: Ref<number, number>;
2165
- fixedLeafColumnsLength: Ref<number, number>;
2166
- rightFixedLeafColumnsLength: Ref<number, number>;
2167
- isAllSelected: Ref<boolean, boolean>;
2168
- selection: Ref<any[], any[]>;
2169
- reserveSelection: Ref<boolean, boolean>;
2170
- selectOnIndeterminate: Ref<boolean, boolean>;
2171
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2172
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2173
- filters: Ref<StoreFilter, StoreFilter>;
2174
- filteredData: Ref<any[] | null, any[] | null>;
2175
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2176
- sortProp: Ref<string | null, string | null>;
2177
- sortOrder: Ref<string | number | null, string | number | null>;
2178
- hoverRow: Ref<any, any>;
2179
- }, column: TableColumnCtx<any>, parent: TableColumnCtx<any>, updateColumnOrder: () => void): void;
2180
- sort(states: {
2181
- _currentRowKey: Ref<string | null, string | null>;
2182
- currentRow: Ref<any, any>;
2183
- expandRowKeys: Ref<string[], string[]>;
2184
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2185
- indent: Ref<number, number>;
2186
- lazy: Ref<boolean, boolean>;
2187
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2188
- lazyColumnIdentifier: Ref<string, string>;
2189
- childrenColumnName: Ref<string, string>;
2190
- checkStrictly: Ref<boolean, boolean>;
2191
- expandRows: Ref<any[], any[]>;
2192
- defaultExpandAll: Ref<boolean, boolean>;
2193
- tableSize: Ref<any, any>;
2194
- rowKey: Ref<string | null, string | null>;
2195
- data: Ref<any[], any[]>;
2196
- _data: Ref<any[], any[]>;
2197
- isComplex: Ref<boolean, boolean>;
2198
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2199
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2200
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2201
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2202
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2203
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2204
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2205
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2206
- updateOrderFns: (() => void)[];
2207
- leafColumnsLength: Ref<number, number>;
2208
- fixedLeafColumnsLength: Ref<number, number>;
2209
- rightFixedLeafColumnsLength: Ref<number, number>;
2210
- isAllSelected: Ref<boolean, boolean>;
2211
- selection: Ref<any[], any[]>;
2212
- reserveSelection: Ref<boolean, boolean>;
2213
- selectOnIndeterminate: Ref<boolean, boolean>;
2214
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2215
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2216
- filters: Ref<StoreFilter, StoreFilter>;
2217
- filteredData: Ref<any[] | null, any[] | null>;
2218
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2219
- sortProp: Ref<string | null, string | null>;
2220
- sortOrder: Ref<string | number | null, string | number | null>;
2221
- hoverRow: Ref<any, any>;
2222
- }, options: Sort): void;
2223
- changeSortCondition(states: {
2224
- _currentRowKey: Ref<string | null, string | null>;
2225
- currentRow: Ref<any, any>;
2226
- expandRowKeys: Ref<string[], string[]>;
2227
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2228
- indent: Ref<number, number>;
2229
- lazy: Ref<boolean, boolean>;
2230
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2231
- lazyColumnIdentifier: Ref<string, string>;
2232
- childrenColumnName: Ref<string, string>;
2233
- checkStrictly: Ref<boolean, boolean>;
2234
- expandRows: Ref<any[], any[]>;
2235
- defaultExpandAll: Ref<boolean, boolean>;
2236
- tableSize: Ref<any, any>;
2237
- rowKey: Ref<string | null, string | null>;
2238
- data: Ref<any[], any[]>;
2239
- _data: Ref<any[], any[]>;
2240
- isComplex: Ref<boolean, boolean>;
2241
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2242
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2243
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2244
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2245
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2246
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2247
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2248
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2249
- updateOrderFns: (() => void)[];
2250
- leafColumnsLength: Ref<number, number>;
2251
- fixedLeafColumnsLength: Ref<number, number>;
2252
- rightFixedLeafColumnsLength: Ref<number, number>;
2253
- isAllSelected: Ref<boolean, boolean>;
2254
- selection: Ref<any[], any[]>;
2255
- reserveSelection: Ref<boolean, boolean>;
2256
- selectOnIndeterminate: Ref<boolean, boolean>;
2257
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2258
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2259
- filters: Ref<StoreFilter, StoreFilter>;
2260
- filteredData: Ref<any[] | null, any[] | null>;
2261
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2262
- sortProp: Ref<string | null, string | null>;
2263
- sortOrder: Ref<string | number | null, string | number | null>;
2264
- hoverRow: Ref<any, any>;
2265
- }, options: Sort): void;
2266
- filterChange(_states: {
2267
- _currentRowKey: Ref<string | null, string | null>;
2268
- currentRow: Ref<any, any>;
2269
- expandRowKeys: Ref<string[], string[]>;
2270
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2271
- indent: Ref<number, number>;
2272
- lazy: Ref<boolean, boolean>;
2273
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2274
- lazyColumnIdentifier: Ref<string, string>;
2275
- childrenColumnName: Ref<string, string>;
2276
- checkStrictly: Ref<boolean, boolean>;
2277
- expandRows: Ref<any[], any[]>;
2278
- defaultExpandAll: Ref<boolean, boolean>;
2279
- tableSize: Ref<any, any>;
2280
- rowKey: Ref<string | null, string | null>;
2281
- data: Ref<any[], any[]>;
2282
- _data: Ref<any[], any[]>;
2283
- isComplex: Ref<boolean, boolean>;
2284
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2285
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2286
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2287
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2288
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2289
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2290
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2291
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2292
- updateOrderFns: (() => void)[];
2293
- leafColumnsLength: Ref<number, number>;
2294
- fixedLeafColumnsLength: Ref<number, number>;
2295
- rightFixedLeafColumnsLength: Ref<number, number>;
2296
- isAllSelected: Ref<boolean, boolean>;
2297
- selection: Ref<any[], any[]>;
2298
- reserveSelection: Ref<boolean, boolean>;
2299
- selectOnIndeterminate: Ref<boolean, boolean>;
2300
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2301
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2302
- filters: Ref<StoreFilter, StoreFilter>;
2303
- filteredData: Ref<any[] | null, any[] | null>;
2304
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2305
- sortProp: Ref<string | null, string | null>;
2306
- sortOrder: Ref<string | number | null, string | number | null>;
2307
- hoverRow: Ref<any, any>;
2308
- }, options: Filter<any>): void;
2309
- toggleAllSelection(): void;
2310
- rowSelectedChanged(_states: {
2311
- _currentRowKey: Ref<string | null, string | null>;
2312
- currentRow: Ref<any, any>;
2313
- expandRowKeys: Ref<string[], string[]>;
2314
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2315
- indent: Ref<number, number>;
2316
- lazy: Ref<boolean, boolean>;
2317
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2318
- lazyColumnIdentifier: Ref<string, string>;
2319
- childrenColumnName: Ref<string, string>;
2320
- checkStrictly: Ref<boolean, boolean>;
2321
- expandRows: Ref<any[], any[]>;
2322
- defaultExpandAll: Ref<boolean, boolean>;
2323
- tableSize: Ref<any, any>;
2324
- rowKey: Ref<string | null, string | null>;
2325
- data: Ref<any[], any[]>;
2326
- _data: Ref<any[], any[]>;
2327
- isComplex: Ref<boolean, boolean>;
2328
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2329
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2330
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2331
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2332
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2333
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2334
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2335
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2336
- updateOrderFns: (() => void)[];
2337
- leafColumnsLength: Ref<number, number>;
2338
- fixedLeafColumnsLength: Ref<number, number>;
2339
- rightFixedLeafColumnsLength: Ref<number, number>;
2340
- isAllSelected: Ref<boolean, boolean>;
2341
- selection: Ref<any[], any[]>;
2342
- reserveSelection: Ref<boolean, boolean>;
2343
- selectOnIndeterminate: Ref<boolean, boolean>;
2344
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2345
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2346
- filters: Ref<StoreFilter, StoreFilter>;
2347
- filteredData: Ref<any[] | null, any[] | null>;
2348
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2349
- sortProp: Ref<string | null, string | null>;
2350
- sortOrder: Ref<string | number | null, string | number | null>;
2351
- hoverRow: Ref<any, any>;
2352
- }, row: any): void;
2353
- setHoverRow(states: {
2354
- _currentRowKey: Ref<string | null, string | null>;
2355
- currentRow: Ref<any, any>;
2356
- expandRowKeys: Ref<string[], string[]>;
2357
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2358
- indent: Ref<number, number>;
2359
- lazy: Ref<boolean, boolean>;
2360
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2361
- lazyColumnIdentifier: Ref<string, string>;
2362
- childrenColumnName: Ref<string, string>;
2363
- checkStrictly: Ref<boolean, boolean>;
2364
- expandRows: Ref<any[], any[]>;
2365
- defaultExpandAll: Ref<boolean, boolean>;
2366
- tableSize: Ref<any, any>;
2367
- rowKey: Ref<string | null, string | null>;
2368
- data: Ref<any[], any[]>;
2369
- _data: Ref<any[], any[]>;
2370
- isComplex: Ref<boolean, boolean>;
2371
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2372
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2373
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2374
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2375
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2376
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2377
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2378
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2379
- updateOrderFns: (() => void)[];
2380
- leafColumnsLength: Ref<number, number>;
2381
- fixedLeafColumnsLength: Ref<number, number>;
2382
- rightFixedLeafColumnsLength: Ref<number, number>;
2383
- isAllSelected: Ref<boolean, boolean>;
2384
- selection: Ref<any[], any[]>;
2385
- reserveSelection: Ref<boolean, boolean>;
2386
- selectOnIndeterminate: Ref<boolean, boolean>;
2387
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2388
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2389
- filters: Ref<StoreFilter, StoreFilter>;
2390
- filteredData: Ref<any[] | null, any[] | null>;
2391
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2392
- sortProp: Ref<string | null, string | null>;
2393
- sortOrder: Ref<string | number | null, string | number | null>;
2394
- hoverRow: Ref<any, any>;
2395
- }, row: any): void;
2396
- setCurrentRow(_states: {
2397
- _currentRowKey: Ref<string | null, string | null>;
2398
- currentRow: Ref<any, any>;
2399
- expandRowKeys: Ref<string[], string[]>;
2400
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2401
- indent: Ref<number, number>;
2402
- lazy: Ref<boolean, boolean>;
2403
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2404
- lazyColumnIdentifier: Ref<string, string>;
2405
- childrenColumnName: Ref<string, string>;
2406
- checkStrictly: Ref<boolean, boolean>;
2407
- expandRows: Ref<any[], any[]>;
2408
- defaultExpandAll: Ref<boolean, boolean>;
2409
- tableSize: Ref<any, any>;
2410
- rowKey: Ref<string | null, string | null>;
2411
- data: Ref<any[], any[]>;
2412
- _data: Ref<any[], any[]>;
2413
- isComplex: Ref<boolean, boolean>;
2414
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2415
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2416
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2417
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2418
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2419
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2420
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2421
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2422
- updateOrderFns: (() => void)[];
2423
- leafColumnsLength: Ref<number, number>;
2424
- fixedLeafColumnsLength: Ref<number, number>;
2425
- rightFixedLeafColumnsLength: Ref<number, number>;
2426
- isAllSelected: Ref<boolean, boolean>;
2427
- selection: Ref<any[], any[]>;
2428
- reserveSelection: Ref<boolean, boolean>;
2429
- selectOnIndeterminate: Ref<boolean, boolean>;
2430
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2431
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2432
- filters: Ref<StoreFilter, StoreFilter>;
2433
- filteredData: Ref<any[] | null, any[] | null>;
2434
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2435
- sortProp: Ref<string | null, string | null>;
2436
- sortOrder: Ref<string | number | null, string | number | null>;
2437
- hoverRow: Ref<any, any>;
2438
- }, row: any): void;
2439
- };
2440
- commit: (name: "sort" | "setData" | "insertColumn" | "updateColumnOrder" | "removeColumn" | "changeSortCondition" | "filterChange" | "toggleAllSelection" | "rowSelectedChanged" | "setHoverRow" | "setCurrentRow", ...args: any[]) => void;
2441
- updateTableScrollY: () => void;
2442
- assertRowKey: () => void;
2443
- updateColumns: () => void;
2444
- scheduleLayout: (needUpdateColumns?: boolean, immediate?: boolean) => void;
2445
- isSelected: (row: any) => boolean;
2446
- clearSelection: () => void;
2447
- cleanSelection: () => void;
2448
- getSelectionRows: () => any[];
2449
- toggleRowSelection: (row: any, selected?: boolean, emitChange?: boolean, ignoreSelectable?: boolean) => void;
2450
- _toggleAllSelection: () => void;
2451
- toggleAllSelection: (() => void) | null;
2452
- updateAllSelected: () => void;
2453
- updateFilters: (column: TableColumnCtx<any>, values: string[]) => Record<string, string[]>;
2454
- updateCurrentRow: (_currentRow: any) => void;
2455
- updateSort: (column: TableColumnCtx<any> | null, prop: string | null, order: TableSortOrder | null) => void;
2456
- execFilter: () => void;
2457
- execSort: () => void;
2458
- execQuery: (ignore?: {
2459
- filter: boolean;
2460
- } | undefined) => void;
2461
- clearFilter: (columnKeys?: string[] | string) => void;
2462
- clearSort: () => void;
2463
- toggleRowExpansion: (row: any, expanded?: boolean) => void;
2464
- setExpandRowKeysAdapter: (val: string[]) => void;
2465
- setCurrentRowKey: (key: string) => void;
2466
- toggleRowExpansionAdapter: (row: any, expanded?: boolean) => void;
2467
- isRowExpanded: (row: any) => boolean;
2468
- updateExpandRows: () => void;
2469
- updateCurrentRowData: () => void;
2470
- loadOrToggle: (row: any) => void;
2471
- updateTreeData: (ifChangeExpandRowKeys?: boolean, ifExpandAll?: boolean) => void;
2472
- updateKeyChildren: (key: string, data: any[]) => void;
2473
- states: {
2474
- _currentRowKey: Ref<string | null, string | null>;
2475
- currentRow: Ref<any, any>;
2476
- expandRowKeys: Ref<string[], string[]>;
2477
- treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2478
- indent: Ref<number, number>;
2479
- lazy: Ref<boolean, boolean>;
2480
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2481
- lazyColumnIdentifier: Ref<string, string>;
2482
- childrenColumnName: Ref<string, string>;
2483
- checkStrictly: Ref<boolean, boolean>;
2484
- expandRows: Ref<any[], any[]>;
2485
- defaultExpandAll: Ref<boolean, boolean>;
2486
- tableSize: Ref<any, any>;
2487
- rowKey: Ref<string | null, string | null>;
2488
- data: Ref<any[], any[]>;
2489
- _data: Ref<any[], any[]>;
2490
- isComplex: Ref<boolean, boolean>;
2491
- _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2492
- originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2493
- columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2494
- fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2495
- rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2496
- leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2497
- fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2498
- rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2499
- updateOrderFns: (() => void)[];
2500
- leafColumnsLength: Ref<number, number>;
2501
- fixedLeafColumnsLength: Ref<number, number>;
2502
- rightFixedLeafColumnsLength: Ref<number, number>;
2503
- isAllSelected: Ref<boolean, boolean>;
2504
- selection: Ref<any[], any[]>;
2505
- reserveSelection: Ref<boolean, boolean>;
2506
- selectOnIndeterminate: Ref<boolean, boolean>;
2507
- selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2508
- rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2509
- filters: Ref<StoreFilter, StoreFilter>;
2510
- filteredData: Ref<any[] | null, any[] | null>;
2511
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2512
- sortProp: Ref<string | null, string | null>;
2513
- sortOrder: Ref<string | number | null, string | number | null>;
2514
- hoverRow: Ref<any, any>;
2515
- };
2516
- ns: {
2517
- namespace: ComputedRef<string>;
2518
- b: (blockSuffix?: string) => string;
2519
- e: (element?: string) => string;
2520
- m: (modifier?: string) => string;
2521
- be: (blockSuffix?: string, element?: string) => string;
2522
- em: (element?: string, modifier?: string) => string;
2523
- bm: (blockSuffix?: string, modifier?: string) => string;
2524
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
2525
- is: {
2526
- (name: string, state: boolean | undefined): string;
2527
- (name: string): string;
2528
- };
2529
- cssVar: (object: Record<string, string>) => Record<string, string>;
2530
- cssVarName: (name: string) => string;
2531
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
2532
- cssVarBlockName: (name: string) => string;
2533
- };
2534
- t: Translator;
2535
- };
2536
- columns: ComputedRef<TableColumnCtx<any>[]>;
2537
- handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
2538
- handleMouseLeave: () => void;
2539
- tableId: string;
2540
- tableSize: ComputedRef<"" | "default" | "small" | "large">;
2541
- isHidden: Ref<boolean, boolean>;
2542
- isEmpty: ComputedRef<boolean>;
2543
- renderExpanded: Ref<RenderExpanded<any> | null, RenderExpanded<any> | null>;
2544
- resizeProxyVisible: Ref<boolean, boolean>;
2545
- resizeState: Ref<{
2546
- width: null | number;
2547
- height: null | number;
2548
- headerHeight: null | number;
2549
- }, {
2550
- width: null | number;
2551
- height: null | number;
2552
- headerHeight: null | number;
2553
- } | {
2554
- width: null | number;
2555
- height: null | number;
2556
- headerHeight: null | number;
2557
- }>;
2558
- isGroup: Ref<boolean, boolean>;
2559
- bodyWidth: ComputedRef<string>;
2560
- tableBodyStyles: ComputedRef< {
2561
- width: string;
2562
- }>;
2563
- emptyBlockStyle: ComputedRef< {
2564
- width: string;
2565
- height: string;
2566
- } | undefined>;
2567
- debouncedUpdateLayout: DebouncedFunc<() => void>;
2568
- setCurrentRow: (row: any) => void;
2569
- getSelectionRows: () => any[];
2570
- toggleRowSelection: (row: any, selected?: boolean, ignoreSelectable?: boolean) => void;
2571
- clearSelection: () => void;
2572
- clearFilter: (columnKeys?: string[] | string) => void;
2573
- toggleAllSelection: () => void;
2574
- toggleRowExpansion: (row: any, expanded?: boolean) => void;
2575
- clearSort: () => void;
2576
- doLayout: () => void;
2577
- sort: (prop: string, order: string) => void;
2578
- updateKeyChildren: (key: string, data: any[]) => void;
2579
- t: Translator;
2580
- setDragVisible: (visible: boolean) => void;
2581
- context: Table<any>;
2582
- computedSumText: ComputedRef<string>;
2583
- computedEmptyText: ComputedRef<string>;
2584
- computedTooltipEffect: ComputedRef<string | undefined>;
2585
- computedTooltipOptions: ComputedRef<Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined>;
2586
- tableLayout: ComputedRef<"fixed" | "auto">;
2587
- scrollbarViewStyle: {
2588
- display: string;
2589
- verticalAlign: string;
2590
- };
2591
- scrollbarStyle: ComputedRef< {
2592
- height: string;
2593
- maxHeight?: undefined;
2594
- } | {
2595
- maxHeight: string;
2596
- height?: undefined;
2597
- } | {
2598
- height?: undefined;
2599
- maxHeight?: undefined;
2600
- }>;
2601
- scrollBarRef: Ref<any, any>;
2602
- scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
2603
- setScrollLeft: (left?: number) => void;
2604
- setScrollTop: (top?: number) => void;
2605
- allowDragLastColumn: boolean;
2606
- }, {}, {}, {}, {
2607
- lazy: boolean;
2608
- style: StyleValue;
2609
- border: boolean;
2610
- className: string;
2611
- tableLayout: "fixed" | "auto";
2612
- data: any[];
2613
- fit: boolean;
2614
- scrollbarAlwaysOn: boolean;
2615
- allowDragLastColumn: boolean;
2616
- stripe: boolean;
2617
- treeProps: TreeProps | undefined;
2618
- showOverflowTooltip: boolean | Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined;
2619
- showHeader: boolean;
2620
- showSummary: boolean;
2621
- highlightCurrentRow: boolean;
2622
- defaultExpandAll: boolean;
2623
- selectOnIndeterminate: boolean;
2624
- indent: number;
2625
- flexible: boolean;
2626
- scrollbarTabindex: string | number;
2627
- preserveExpandedContent: boolean;
2628
- nativeScrollbar: boolean;
2629
- }> | null>>;
474
+ tableRef: Readonly<ShallowRef<TableInstance | null>>;
2630
475
  tableData: Ref<D[]>;
2631
476
  pageData: Ref<{
2632
477
  pageNum: number;
@@ -2641,9 +486,9 @@ declare const PageTable_2: <D, Q>(__VLS_props: NonNullable<Awaited<typeof __VLS_
2641
486
  }>;
2642
487
  refresh: () => Promise<void>;
2643
488
  resetAndRefresh: () => Promise<void>;
2644
- getSelectionRows: (() => any[]) | undefined;
2645
- toggleRowSelection: ((row: any, selected?: boolean, ignoreSelectable?: boolean) => void) | undefined;
2646
- setCurrentRow: ((row: any) => void) | undefined;
489
+ getSelectionRows: (() => DefaultRow[]) | undefined;
490
+ toggleRowSelection: ((row: DefaultRow, selected?: boolean, ignoreSelectable?: boolean) => void) | undefined;
491
+ setCurrentRow: ((row?: DefaultRow | undefined) => void) | undefined;
2647
492
  clearSelection: (() => void) | undefined;
2648
493
  scrollTo: ((options: ScrollToOptions | number, yCoord?: number) => void) | undefined;
2649
494
  }>): void;
@@ -2939,275 +784,21 @@ export declare const useSelectData: <Data, ID>(dataList: MaybeRefOrGetter<Data[]
2939
784
  */
2940
785
  export declare const useSelectedUserStore: StoreDefinition<"biliToolkit-ui-selected-user", Pick<{
2941
786
  init: () => Promise<void>;
2942
- user: Ref< {
2943
- [x: string]: unknown;
2944
- userCookie: {
2945
- uid: number;
2946
- bili_jct: string;
2947
- cookie: string;
2948
- };
2949
- sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
2950
- moral: number;
2951
- following: number;
2952
- follower: number;
2953
- coins: number;
2954
- vip: {
2955
- type: VipType;
2956
- due_date?: TimestampMs | undefined;
2957
- status: VipStatus;
2958
- };
2959
- mid: number;
2960
- name: string;
2961
- face: string;
2962
- sign: string;
2963
- rank: number;
2964
- level: number;
2965
- silence: SilenceStatus;
2966
- } | null, UserInfoWithCookie | {
2967
- [x: string]: unknown;
2968
- userCookie: {
2969
- uid: number;
2970
- bili_jct: string;
2971
- cookie: string;
2972
- };
2973
- sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
2974
- moral: number;
2975
- following: number;
2976
- follower: number;
2977
- coins: number;
2978
- vip: {
2979
- type: VipType;
2980
- due_date?: TimestampMs | undefined;
2981
- status: VipStatus;
2982
- };
2983
- mid: number;
2984
- name: string;
2985
- face: string;
2986
- sign: string;
2987
- rank: number;
2988
- level: number;
2989
- silence: SilenceStatus;
2990
- } | null>;
787
+ user: Ref<UserInfoWithCookie | null, UserInfoWithCookie | null>;
2991
788
  deleteUser: () => void;
2992
789
  setUser: (user: UserInfoWithCookie) => void;
2993
790
  }, "user">, Pick<{
2994
791
  init: () => Promise<void>;
2995
- user: Ref< {
2996
- [x: string]: unknown;
2997
- userCookie: {
2998
- uid: number;
2999
- bili_jct: string;
3000
- cookie: string;
3001
- };
3002
- sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3003
- moral: number;
3004
- following: number;
3005
- follower: number;
3006
- coins: number;
3007
- vip: {
3008
- type: VipType;
3009
- due_date?: TimestampMs | undefined;
3010
- status: VipStatus;
3011
- };
3012
- mid: number;
3013
- name: string;
3014
- face: string;
3015
- sign: string;
3016
- rank: number;
3017
- level: number;
3018
- silence: SilenceStatus;
3019
- } | null, UserInfoWithCookie | {
3020
- [x: string]: unknown;
3021
- userCookie: {
3022
- uid: number;
3023
- bili_jct: string;
3024
- cookie: string;
3025
- };
3026
- sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3027
- moral: number;
3028
- following: number;
3029
- follower: number;
3030
- coins: number;
3031
- vip: {
3032
- type: VipType;
3033
- due_date?: TimestampMs | undefined;
3034
- status: VipStatus;
3035
- };
3036
- mid: number;
3037
- name: string;
3038
- face: string;
3039
- sign: string;
3040
- rank: number;
3041
- level: number;
3042
- silence: SilenceStatus;
3043
- } | null>;
792
+ user: Ref<UserInfoWithCookie | null, UserInfoWithCookie | null>;
3044
793
  deleteUser: () => void;
3045
794
  setUser: (user: UserInfoWithCookie) => void;
3046
795
  }, never>, Pick<{
3047
796
  init: () => Promise<void>;
3048
- user: Ref< {
3049
- [x: string]: unknown;
3050
- userCookie: {
3051
- uid: number;
3052
- bili_jct: string;
3053
- cookie: string;
3054
- };
3055
- sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3056
- moral: number;
3057
- following: number;
3058
- follower: number;
3059
- coins: number;
3060
- vip: {
3061
- type: VipType;
3062
- due_date?: TimestampMs | undefined;
3063
- status: VipStatus;
3064
- };
3065
- mid: number;
3066
- name: string;
3067
- face: string;
3068
- sign: string;
3069
- rank: number;
3070
- level: number;
3071
- silence: SilenceStatus;
3072
- } | null, UserInfoWithCookie | {
3073
- [x: string]: unknown;
3074
- userCookie: {
3075
- uid: number;
3076
- bili_jct: string;
3077
- cookie: string;
3078
- };
3079
- sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3080
- moral: number;
3081
- following: number;
3082
- follower: number;
3083
- coins: number;
3084
- vip: {
3085
- type: VipType;
3086
- due_date?: TimestampMs | undefined;
3087
- status: VipStatus;
3088
- };
3089
- mid: number;
3090
- name: string;
3091
- face: string;
3092
- sign: string;
3093
- rank: number;
3094
- level: number;
3095
- silence: SilenceStatus;
3096
- } | null>;
797
+ user: Ref<UserInfoWithCookie | null, UserInfoWithCookie | null>;
3097
798
  deleteUser: () => void;
3098
799
  setUser: (user: UserInfoWithCookie) => void;
3099
800
  }, "init" | "deleteUser" | "setUser">>;
3100
801
 
3101
- /**
3102
- * 测试数据状态 Store
3103
- */
3104
- export declare const useTestDataStore: StoreDefinition<"biliToolkit-ui-test-data", Pick<{
3105
- init: (isTest: boolean) => Promise<void>;
3106
- state: {
3107
- isTest: boolean;
3108
- user: {
3109
- [x: string]: unknown;
3110
- userCookie: {
3111
- uid: number;
3112
- bili_jct: string;
3113
- cookie: string;
3114
- };
3115
- sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3116
- moral: number;
3117
- following: number;
3118
- follower: number;
3119
- coins: number;
3120
- vip: {
3121
- type: VipType;
3122
- due_date?: TimestampMs | undefined;
3123
- status: VipStatus;
3124
- };
3125
- mid: number;
3126
- name: string;
3127
- face: string;
3128
- sign: string;
3129
- rank: number;
3130
- level: number;
3131
- silence: SilenceStatus;
3132
- };
3133
- menus: {
3134
- title: string;
3135
- path: string;
3136
- children?: /*elided*/ any[] | undefined;
3137
- }[];
3138
- };
3139
- }, "state">, Pick<{
3140
- init: (isTest: boolean) => Promise<void>;
3141
- state: {
3142
- isTest: boolean;
3143
- user: {
3144
- [x: string]: unknown;
3145
- userCookie: {
3146
- uid: number;
3147
- bili_jct: string;
3148
- cookie: string;
3149
- };
3150
- sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3151
- moral: number;
3152
- following: number;
3153
- follower: number;
3154
- coins: number;
3155
- vip: {
3156
- type: VipType;
3157
- due_date?: TimestampMs | undefined;
3158
- status: VipStatus;
3159
- };
3160
- mid: number;
3161
- name: string;
3162
- face: string;
3163
- sign: string;
3164
- rank: number;
3165
- level: number;
3166
- silence: SilenceStatus;
3167
- };
3168
- menus: {
3169
- title: string;
3170
- path: string;
3171
- children?: /*elided*/ any[] | undefined;
3172
- }[];
3173
- };
3174
- }, never>, Pick<{
3175
- init: (isTest: boolean) => Promise<void>;
3176
- state: {
3177
- isTest: boolean;
3178
- user: {
3179
- [x: string]: unknown;
3180
- userCookie: {
3181
- uid: number;
3182
- bili_jct: string;
3183
- cookie: string;
3184
- };
3185
- sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3186
- moral: number;
3187
- following: number;
3188
- follower: number;
3189
- coins: number;
3190
- vip: {
3191
- type: VipType;
3192
- due_date?: TimestampMs | undefined;
3193
- status: VipStatus;
3194
- };
3195
- mid: number;
3196
- name: string;
3197
- face: string;
3198
- sign: string;
3199
- rank: number;
3200
- level: number;
3201
- silence: SilenceStatus;
3202
- };
3203
- menus: {
3204
- title: string;
3205
- path: string;
3206
- children?: /*elided*/ any[] | undefined;
3207
- }[];
3208
- };
3209
- }, "init">>;
3210
-
3211
802
  export declare const whiteColor = "#ffffff";
3212
803
 
3213
804
  export { }