bilitoolkit-ui 0.0.2 → 0.0.3

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,37 @@ 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
9
  import { ComputedRef } from 'vue';
16
- import { CreateComponentPublicInstanceWithMixins } from 'vue';
17
- import { CSSProperties } from 'vue';
18
10
  import { DebouncedFunc } from 'lodash';
19
- import { DefaultRow } from 'element-plus/es/components/table/src/table/defaults.mjs';
11
+ import { default as default_2 } from 'element-plus/es/components/table/src/table-layout.mjs';
20
12
  import { DefineComponent } from 'vue';
21
13
  import { ElMessageBoxOptions } from 'element-plus';
22
- import { EpPropMergeType } from 'element-plus/es/utils/index.mjs';
23
- import { ExtractPropTypes } from 'vue';
24
14
  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
15
  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
16
  import { Pinia } from 'pinia';
33
- import { PropType } from 'vue';
34
17
  import { PublicProps } from 'vue';
35
- import { Reactive } from 'vue';
36
18
  import { Ref } from 'vue';
37
- import { RendererElement } from 'vue';
38
- import { RendererNode } from 'vue';
39
19
  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
20
  import { ShallowRef } from 'vue';
44
21
  import { ShallowUnwrapRef } from 'vue';
45
- import { SilenceStatus } from '@ybgnb/bili-api';
46
22
  import { Sort } from 'element-plus';
47
23
  import { StoreDefinition } from 'pinia';
48
24
  import { StoreFilter } from 'element-plus/es/components/table/src/store/index.mjs';
49
- import { StyleValue } from 'vue';
50
25
  import { Table } from 'element-plus';
51
- import { TableBodyProps } from 'element-plus/es/components/table/src/table-body/defaults.mjs';
52
26
  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
27
  import { TableSortOrder } from 'element-plus/es/components/table/src/table/defaults.mjs';
58
- import { TimestampMs } from '@ybgnb/bili-api';
59
28
  import { ToolkitApi } from 'bilitoolkit-types';
60
29
  import { Translator } from 'element-plus';
61
30
  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
31
  import { UnwrapRefSimple } from '@vue/reactivity';
64
32
  import { UserInfo } from '@ybgnb/bili-api';
65
33
  import { UserInfoWithCookie } from '@ybgnb/bili-api';
66
34
  import { UseTooltipProps } from 'element-plus';
67
- import { VipStatus } from '@ybgnb/bili-api';
68
- import { VipType } from '@ybgnb/bili-api';
69
35
  import { VNode } from 'vue';
70
36
  import { VNodeProps } from 'vue';
71
- import { WheelElement } from 'element-plus/es/directives/mousewheel/index.mjs';
72
37
 
73
38
  declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
74
39
 
@@ -411,8 +376,6 @@ export declare const initBilitoolkitUi: (pinia: Pinia, options?: InitOptions) =>
411
376
  }>;
412
377
 
413
378
  declare interface InitOptions {
414
- /** 是否使用测试数据 */
415
- useTestData?: boolean;
416
379
  /** core 环境特有 */
417
380
  appThemeDBName?: string;
418
381
  /** core 环境特有 */
@@ -512,1478 +475,14 @@ export declare interface PageResult<D> extends PageData {
512
475
  data: D[];
513
476
  }
514
477
 
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<{
478
+ 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
479
  props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
517
480
  readonly onSearch?: (() => any) | undefined;
518
481
  readonly onReset?: (() => any) | undefined;
519
482
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onReset" | "onSearch"> & PageTableProps<D, Q> & Partial<{}>> & PublicProps;
520
483
  expose(exposed: ShallowUnwrapRef< {
521
484
  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
- }>, {
485
+ tableRef: Readonly<ShallowRef< {
1987
486
  ns: {
1988
487
  namespace: ComputedRef<string>;
1989
488
  b: (blockSuffix?: string) => string;
@@ -2002,457 +501,473 @@ declare const PageTable_2: <D, Q>(__VLS_props: NonNullable<Awaited<typeof __VLS_
2002
501
  cssVarBlock: (object: Record<string, string>) => Record<string, string>;
2003
502
  cssVarBlockName: (name: string) => string;
2004
503
  };
2005
- layout: TableLayout<any>;
504
+ layout: default_2<D>;
2006
505
  store: {
2007
506
  mutations: {
2008
507
  setData(states: {
2009
508
  _currentRowKey: Ref<string | null, string | null>;
2010
- currentRow: Ref<any, any>;
509
+ currentRow: Ref<D | null, D | null>;
2011
510
  expandRowKeys: Ref<string[], string[]>;
2012
511
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2013
512
  indent: Ref<number, number>;
2014
513
  lazy: Ref<boolean, boolean>;
2015
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
514
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2016
515
  lazyColumnIdentifier: Ref<string, string>;
2017
516
  childrenColumnName: Ref<string, string>;
2018
517
  checkStrictly: Ref<boolean, boolean>;
2019
- expandRows: Ref<any[], any[]>;
518
+ expandRows: Ref<D[], D[]>;
2020
519
  defaultExpandAll: Ref<boolean, boolean>;
2021
520
  tableSize: Ref<any, any>;
2022
521
  rowKey: Ref<string | null, string | null>;
2023
- data: Ref<any[], any[]>;
2024
- _data: Ref<any[], any[]>;
522
+ data: Ref<D[], D[]>;
523
+ _data: Ref<D[], D[]>;
2025
524
  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>[]>;
525
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
526
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
527
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
528
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
529
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
530
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
531
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
532
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2034
533
  updateOrderFns: (() => void)[];
2035
534
  leafColumnsLength: Ref<number, number>;
2036
535
  fixedLeafColumnsLength: Ref<number, number>;
2037
536
  rightFixedLeafColumnsLength: Ref<number, number>;
2038
537
  isAllSelected: Ref<boolean, boolean>;
2039
- selection: Ref<any[], any[]>;
538
+ selection: Ref<D[], D[]>;
539
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2040
540
  reserveSelection: Ref<boolean, boolean>;
2041
541
  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>;
542
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
543
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2044
544
  filters: Ref<StoreFilter, StoreFilter>;
2045
- filteredData: Ref<any[] | null, any[] | null>;
2046
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
545
+ filteredData: Ref<D[] | null, D[] | null>;
546
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2047
547
  sortProp: Ref<string | null, string | null>;
2048
- sortOrder: Ref<string | number | null, string | number | null>;
2049
- hoverRow: Ref<any, any>;
2050
- }, data: any[]): void;
548
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
549
+ hoverRow: Ref<D | null, D | null>;
550
+ }, data: D[]): void;
2051
551
  insertColumn(states: {
2052
552
  _currentRowKey: Ref<string | null, string | null>;
2053
- currentRow: Ref<any, any>;
553
+ currentRow: Ref<D | null, D | null>;
2054
554
  expandRowKeys: Ref<string[], string[]>;
2055
555
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2056
556
  indent: Ref<number, number>;
2057
557
  lazy: Ref<boolean, boolean>;
2058
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
558
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2059
559
  lazyColumnIdentifier: Ref<string, string>;
2060
560
  childrenColumnName: Ref<string, string>;
2061
561
  checkStrictly: Ref<boolean, boolean>;
2062
- expandRows: Ref<any[], any[]>;
562
+ expandRows: Ref<D[], D[]>;
2063
563
  defaultExpandAll: Ref<boolean, boolean>;
2064
564
  tableSize: Ref<any, any>;
2065
565
  rowKey: Ref<string | null, string | null>;
2066
- data: Ref<any[], any[]>;
2067
- _data: Ref<any[], any[]>;
566
+ data: Ref<D[], D[]>;
567
+ _data: Ref<D[], D[]>;
2068
568
  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>[]>;
569
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
570
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
571
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
572
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
573
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
574
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
575
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
576
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2077
577
  updateOrderFns: (() => void)[];
2078
578
  leafColumnsLength: Ref<number, number>;
2079
579
  fixedLeafColumnsLength: Ref<number, number>;
2080
580
  rightFixedLeafColumnsLength: Ref<number, number>;
2081
581
  isAllSelected: Ref<boolean, boolean>;
2082
- selection: Ref<any[], any[]>;
582
+ selection: Ref<D[], D[]>;
583
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2083
584
  reserveSelection: Ref<boolean, boolean>;
2084
585
  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>;
586
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
587
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2087
588
  filters: Ref<StoreFilter, StoreFilter>;
2088
- filteredData: Ref<any[] | null, any[] | null>;
2089
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
589
+ filteredData: Ref<D[] | null, D[] | null>;
590
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2090
591
  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;
592
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
593
+ hoverRow: Ref<D | null, D | null>;
594
+ }, column: TableColumnCtx<D>, parent: TableColumnCtx<D>, updateColumnOrder: () => void): void;
2094
595
  updateColumnOrder(states: {
2095
596
  _currentRowKey: Ref<string | null, string | null>;
2096
- currentRow: Ref<any, any>;
597
+ currentRow: Ref<D | null, D | null>;
2097
598
  expandRowKeys: Ref<string[], string[]>;
2098
599
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2099
600
  indent: Ref<number, number>;
2100
601
  lazy: Ref<boolean, boolean>;
2101
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
602
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2102
603
  lazyColumnIdentifier: Ref<string, string>;
2103
604
  childrenColumnName: Ref<string, string>;
2104
605
  checkStrictly: Ref<boolean, boolean>;
2105
- expandRows: Ref<any[], any[]>;
606
+ expandRows: Ref<D[], D[]>;
2106
607
  defaultExpandAll: Ref<boolean, boolean>;
2107
608
  tableSize: Ref<any, any>;
2108
609
  rowKey: Ref<string | null, string | null>;
2109
- data: Ref<any[], any[]>;
2110
- _data: Ref<any[], any[]>;
610
+ data: Ref<D[], D[]>;
611
+ _data: Ref<D[], D[]>;
2111
612
  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>[]>;
613
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
614
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
615
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
616
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
617
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
618
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
619
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
620
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2120
621
  updateOrderFns: (() => void)[];
2121
622
  leafColumnsLength: Ref<number, number>;
2122
623
  fixedLeafColumnsLength: Ref<number, number>;
2123
624
  rightFixedLeafColumnsLength: Ref<number, number>;
2124
625
  isAllSelected: Ref<boolean, boolean>;
2125
- selection: Ref<any[], any[]>;
626
+ selection: Ref<D[], D[]>;
627
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2126
628
  reserveSelection: Ref<boolean, boolean>;
2127
629
  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>;
630
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
631
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2130
632
  filters: Ref<StoreFilter, StoreFilter>;
2131
- filteredData: Ref<any[] | null, any[] | null>;
2132
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
633
+ filteredData: Ref<D[] | null, D[] | null>;
634
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2133
635
  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;
636
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
637
+ hoverRow: Ref<D | null, D | null>;
638
+ }, column: TableColumnCtx<D>): void;
2137
639
  removeColumn(states: {
2138
640
  _currentRowKey: Ref<string | null, string | null>;
2139
- currentRow: Ref<any, any>;
641
+ currentRow: Ref<D | null, D | null>;
2140
642
  expandRowKeys: Ref<string[], string[]>;
2141
643
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2142
644
  indent: Ref<number, number>;
2143
645
  lazy: Ref<boolean, boolean>;
2144
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
646
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2145
647
  lazyColumnIdentifier: Ref<string, string>;
2146
648
  childrenColumnName: Ref<string, string>;
2147
649
  checkStrictly: Ref<boolean, boolean>;
2148
- expandRows: Ref<any[], any[]>;
650
+ expandRows: Ref<D[], D[]>;
2149
651
  defaultExpandAll: Ref<boolean, boolean>;
2150
652
  tableSize: Ref<any, any>;
2151
653
  rowKey: Ref<string | null, string | null>;
2152
- data: Ref<any[], any[]>;
2153
- _data: Ref<any[], any[]>;
654
+ data: Ref<D[], D[]>;
655
+ _data: Ref<D[], D[]>;
2154
656
  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>[]>;
657
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
658
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
659
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
660
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
661
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
662
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
663
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
664
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2163
665
  updateOrderFns: (() => void)[];
2164
666
  leafColumnsLength: Ref<number, number>;
2165
667
  fixedLeafColumnsLength: Ref<number, number>;
2166
668
  rightFixedLeafColumnsLength: Ref<number, number>;
2167
669
  isAllSelected: Ref<boolean, boolean>;
2168
- selection: Ref<any[], any[]>;
670
+ selection: Ref<D[], D[]>;
671
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2169
672
  reserveSelection: Ref<boolean, boolean>;
2170
673
  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>;
674
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
675
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2173
676
  filters: Ref<StoreFilter, StoreFilter>;
2174
- filteredData: Ref<any[] | null, any[] | null>;
2175
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
677
+ filteredData: Ref<D[] | null, D[] | null>;
678
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2176
679
  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;
680
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
681
+ hoverRow: Ref<D | null, D | null>;
682
+ }, column: TableColumnCtx<D>, parent: TableColumnCtx<D>, updateColumnOrder: () => void): void;
2180
683
  sort(states: {
2181
684
  _currentRowKey: Ref<string | null, string | null>;
2182
- currentRow: Ref<any, any>;
685
+ currentRow: Ref<D | null, D | null>;
2183
686
  expandRowKeys: Ref<string[], string[]>;
2184
687
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2185
688
  indent: Ref<number, number>;
2186
689
  lazy: Ref<boolean, boolean>;
2187
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
690
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2188
691
  lazyColumnIdentifier: Ref<string, string>;
2189
692
  childrenColumnName: Ref<string, string>;
2190
693
  checkStrictly: Ref<boolean, boolean>;
2191
- expandRows: Ref<any[], any[]>;
694
+ expandRows: Ref<D[], D[]>;
2192
695
  defaultExpandAll: Ref<boolean, boolean>;
2193
696
  tableSize: Ref<any, any>;
2194
697
  rowKey: Ref<string | null, string | null>;
2195
- data: Ref<any[], any[]>;
2196
- _data: Ref<any[], any[]>;
698
+ data: Ref<D[], D[]>;
699
+ _data: Ref<D[], D[]>;
2197
700
  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>[]>;
701
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
702
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
703
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
704
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
705
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
706
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
707
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
708
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2206
709
  updateOrderFns: (() => void)[];
2207
710
  leafColumnsLength: Ref<number, number>;
2208
711
  fixedLeafColumnsLength: Ref<number, number>;
2209
712
  rightFixedLeafColumnsLength: Ref<number, number>;
2210
713
  isAllSelected: Ref<boolean, boolean>;
2211
- selection: Ref<any[], any[]>;
714
+ selection: Ref<D[], D[]>;
715
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2212
716
  reserveSelection: Ref<boolean, boolean>;
2213
717
  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>;
718
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
719
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2216
720
  filters: Ref<StoreFilter, StoreFilter>;
2217
- filteredData: Ref<any[] | null, any[] | null>;
2218
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
721
+ filteredData: Ref<D[] | null, D[] | null>;
722
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2219
723
  sortProp: Ref<string | null, string | null>;
2220
- sortOrder: Ref<string | number | null, string | number | null>;
2221
- hoverRow: Ref<any, any>;
724
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
725
+ hoverRow: Ref<D | null, D | null>;
2222
726
  }, options: Sort): void;
2223
727
  changeSortCondition(states: {
2224
728
  _currentRowKey: Ref<string | null, string | null>;
2225
- currentRow: Ref<any, any>;
729
+ currentRow: Ref<D | null, D | null>;
2226
730
  expandRowKeys: Ref<string[], string[]>;
2227
731
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2228
732
  indent: Ref<number, number>;
2229
733
  lazy: Ref<boolean, boolean>;
2230
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
734
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2231
735
  lazyColumnIdentifier: Ref<string, string>;
2232
736
  childrenColumnName: Ref<string, string>;
2233
737
  checkStrictly: Ref<boolean, boolean>;
2234
- expandRows: Ref<any[], any[]>;
738
+ expandRows: Ref<D[], D[]>;
2235
739
  defaultExpandAll: Ref<boolean, boolean>;
2236
740
  tableSize: Ref<any, any>;
2237
741
  rowKey: Ref<string | null, string | null>;
2238
- data: Ref<any[], any[]>;
2239
- _data: Ref<any[], any[]>;
742
+ data: Ref<D[], D[]>;
743
+ _data: Ref<D[], D[]>;
2240
744
  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>[]>;
745
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
746
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
747
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
748
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
749
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
750
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
751
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
752
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2249
753
  updateOrderFns: (() => void)[];
2250
754
  leafColumnsLength: Ref<number, number>;
2251
755
  fixedLeafColumnsLength: Ref<number, number>;
2252
756
  rightFixedLeafColumnsLength: Ref<number, number>;
2253
757
  isAllSelected: Ref<boolean, boolean>;
2254
- selection: Ref<any[], any[]>;
758
+ selection: Ref<D[], D[]>;
759
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2255
760
  reserveSelection: Ref<boolean, boolean>;
2256
761
  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>;
762
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
763
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2259
764
  filters: Ref<StoreFilter, StoreFilter>;
2260
- filteredData: Ref<any[] | null, any[] | null>;
2261
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
765
+ filteredData: Ref<D[] | null, D[] | null>;
766
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2262
767
  sortProp: Ref<string | null, string | null>;
2263
- sortOrder: Ref<string | number | null, string | number | null>;
2264
- hoverRow: Ref<any, any>;
768
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
769
+ hoverRow: Ref<D | null, D | null>;
2265
770
  }, options: Sort): void;
2266
771
  filterChange(_states: {
2267
772
  _currentRowKey: Ref<string | null, string | null>;
2268
- currentRow: Ref<any, any>;
773
+ currentRow: Ref<D | null, D | null>;
2269
774
  expandRowKeys: Ref<string[], string[]>;
2270
775
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2271
776
  indent: Ref<number, number>;
2272
777
  lazy: Ref<boolean, boolean>;
2273
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
778
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2274
779
  lazyColumnIdentifier: Ref<string, string>;
2275
780
  childrenColumnName: Ref<string, string>;
2276
781
  checkStrictly: Ref<boolean, boolean>;
2277
- expandRows: Ref<any[], any[]>;
782
+ expandRows: Ref<D[], D[]>;
2278
783
  defaultExpandAll: Ref<boolean, boolean>;
2279
784
  tableSize: Ref<any, any>;
2280
785
  rowKey: Ref<string | null, string | null>;
2281
- data: Ref<any[], any[]>;
2282
- _data: Ref<any[], any[]>;
786
+ data: Ref<D[], D[]>;
787
+ _data: Ref<D[], D[]>;
2283
788
  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>[]>;
789
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
790
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
791
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
792
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
793
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
794
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
795
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
796
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2292
797
  updateOrderFns: (() => void)[];
2293
798
  leafColumnsLength: Ref<number, number>;
2294
799
  fixedLeafColumnsLength: Ref<number, number>;
2295
800
  rightFixedLeafColumnsLength: Ref<number, number>;
2296
801
  isAllSelected: Ref<boolean, boolean>;
2297
- selection: Ref<any[], any[]>;
802
+ selection: Ref<D[], D[]>;
803
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2298
804
  reserveSelection: Ref<boolean, boolean>;
2299
805
  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>;
806
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
807
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2302
808
  filters: Ref<StoreFilter, StoreFilter>;
2303
- filteredData: Ref<any[] | null, any[] | null>;
2304
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
809
+ filteredData: Ref<D[] | null, D[] | null>;
810
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2305
811
  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;
812
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
813
+ hoverRow: Ref<D | null, D | null>;
814
+ }, options: Filter<D>): void;
2309
815
  toggleAllSelection(): void;
2310
816
  rowSelectedChanged(_states: {
2311
817
  _currentRowKey: Ref<string | null, string | null>;
2312
- currentRow: Ref<any, any>;
818
+ currentRow: Ref<D | null, D | null>;
2313
819
  expandRowKeys: Ref<string[], string[]>;
2314
820
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2315
821
  indent: Ref<number, number>;
2316
822
  lazy: Ref<boolean, boolean>;
2317
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
823
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2318
824
  lazyColumnIdentifier: Ref<string, string>;
2319
825
  childrenColumnName: Ref<string, string>;
2320
826
  checkStrictly: Ref<boolean, boolean>;
2321
- expandRows: Ref<any[], any[]>;
827
+ expandRows: Ref<D[], D[]>;
2322
828
  defaultExpandAll: Ref<boolean, boolean>;
2323
829
  tableSize: Ref<any, any>;
2324
830
  rowKey: Ref<string | null, string | null>;
2325
- data: Ref<any[], any[]>;
2326
- _data: Ref<any[], any[]>;
831
+ data: Ref<D[], D[]>;
832
+ _data: Ref<D[], D[]>;
2327
833
  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>[]>;
834
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
835
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
836
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
837
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
838
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
839
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
840
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
841
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2336
842
  updateOrderFns: (() => void)[];
2337
843
  leafColumnsLength: Ref<number, number>;
2338
844
  fixedLeafColumnsLength: Ref<number, number>;
2339
845
  rightFixedLeafColumnsLength: Ref<number, number>;
2340
846
  isAllSelected: Ref<boolean, boolean>;
2341
- selection: Ref<any[], any[]>;
847
+ selection: Ref<D[], D[]>;
848
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2342
849
  reserveSelection: Ref<boolean, boolean>;
2343
850
  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>;
851
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
852
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2346
853
  filters: Ref<StoreFilter, StoreFilter>;
2347
- filteredData: Ref<any[] | null, any[] | null>;
2348
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
854
+ filteredData: Ref<D[] | null, D[] | null>;
855
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2349
856
  sortProp: Ref<string | null, string | null>;
2350
- sortOrder: Ref<string | number | null, string | number | null>;
2351
- hoverRow: Ref<any, any>;
2352
- }, row: any): void;
857
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
858
+ hoverRow: Ref<D | null, D | null>;
859
+ }, row: D): void;
2353
860
  setHoverRow(states: {
2354
861
  _currentRowKey: Ref<string | null, string | null>;
2355
- currentRow: Ref<any, any>;
862
+ currentRow: Ref<D | null, D | null>;
2356
863
  expandRowKeys: Ref<string[], string[]>;
2357
864
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2358
865
  indent: Ref<number, number>;
2359
866
  lazy: Ref<boolean, boolean>;
2360
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
867
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2361
868
  lazyColumnIdentifier: Ref<string, string>;
2362
869
  childrenColumnName: Ref<string, string>;
2363
870
  checkStrictly: Ref<boolean, boolean>;
2364
- expandRows: Ref<any[], any[]>;
871
+ expandRows: Ref<D[], D[]>;
2365
872
  defaultExpandAll: Ref<boolean, boolean>;
2366
873
  tableSize: Ref<any, any>;
2367
874
  rowKey: Ref<string | null, string | null>;
2368
- data: Ref<any[], any[]>;
2369
- _data: Ref<any[], any[]>;
875
+ data: Ref<D[], D[]>;
876
+ _data: Ref<D[], D[]>;
2370
877
  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>[]>;
878
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
879
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
880
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
881
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
882
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
883
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
884
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
885
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2379
886
  updateOrderFns: (() => void)[];
2380
887
  leafColumnsLength: Ref<number, number>;
2381
888
  fixedLeafColumnsLength: Ref<number, number>;
2382
889
  rightFixedLeafColumnsLength: Ref<number, number>;
2383
890
  isAllSelected: Ref<boolean, boolean>;
2384
- selection: Ref<any[], any[]>;
891
+ selection: Ref<D[], D[]>;
892
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2385
893
  reserveSelection: Ref<boolean, boolean>;
2386
894
  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>;
895
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
896
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2389
897
  filters: Ref<StoreFilter, StoreFilter>;
2390
- filteredData: Ref<any[] | null, any[] | null>;
2391
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
898
+ filteredData: Ref<D[] | null, D[] | null>;
899
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2392
900
  sortProp: Ref<string | null, string | null>;
2393
- sortOrder: Ref<string | number | null, string | number | null>;
2394
- hoverRow: Ref<any, any>;
2395
- }, row: any): void;
901
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
902
+ hoverRow: Ref<D | null, D | null>;
903
+ }, row: D): void;
2396
904
  setCurrentRow(_states: {
2397
905
  _currentRowKey: Ref<string | null, string | null>;
2398
- currentRow: Ref<any, any>;
906
+ currentRow: Ref<D | null, D | null>;
2399
907
  expandRowKeys: Ref<string[], string[]>;
2400
908
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2401
909
  indent: Ref<number, number>;
2402
910
  lazy: Ref<boolean, boolean>;
2403
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
911
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2404
912
  lazyColumnIdentifier: Ref<string, string>;
2405
913
  childrenColumnName: Ref<string, string>;
2406
914
  checkStrictly: Ref<boolean, boolean>;
2407
- expandRows: Ref<any[], any[]>;
915
+ expandRows: Ref<D[], D[]>;
2408
916
  defaultExpandAll: Ref<boolean, boolean>;
2409
917
  tableSize: Ref<any, any>;
2410
918
  rowKey: Ref<string | null, string | null>;
2411
- data: Ref<any[], any[]>;
2412
- _data: Ref<any[], any[]>;
919
+ data: Ref<D[], D[]>;
920
+ _data: Ref<D[], D[]>;
2413
921
  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>[]>;
922
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
923
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
924
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
925
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
926
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
927
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
928
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
929
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2422
930
  updateOrderFns: (() => void)[];
2423
931
  leafColumnsLength: Ref<number, number>;
2424
932
  fixedLeafColumnsLength: Ref<number, number>;
2425
933
  rightFixedLeafColumnsLength: Ref<number, number>;
2426
934
  isAllSelected: Ref<boolean, boolean>;
2427
- selection: Ref<any[], any[]>;
935
+ selection: Ref<D[], D[]>;
936
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2428
937
  reserveSelection: Ref<boolean, boolean>;
2429
938
  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>;
939
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
940
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2432
941
  filters: Ref<StoreFilter, StoreFilter>;
2433
- filteredData: Ref<any[] | null, any[] | null>;
2434
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
942
+ filteredData: Ref<D[] | null, D[] | null>;
943
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2435
944
  sortProp: Ref<string | null, string | null>;
2436
- sortOrder: Ref<string | number | null, string | number | null>;
2437
- hoverRow: Ref<any, any>;
2438
- }, row: any): void;
945
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
946
+ hoverRow: Ref<D | null, D | null>;
947
+ }, row: D): void;
2439
948
  };
2440
949
  commit: (name: "sort" | "setData" | "insertColumn" | "updateColumnOrder" | "removeColumn" | "changeSortCondition" | "filterChange" | "toggleAllSelection" | "rowSelectedChanged" | "setHoverRow" | "setCurrentRow", ...args: any[]) => void;
2441
950
  updateTableScrollY: () => void;
2442
951
  assertRowKey: () => void;
2443
952
  updateColumns: () => void;
2444
953
  scheduleLayout: (needUpdateColumns?: boolean, immediate?: boolean) => void;
2445
- isSelected: (row: any) => boolean;
954
+ isSelected: (row: D) => boolean;
2446
955
  clearSelection: () => void;
2447
956
  cleanSelection: () => void;
2448
- getSelectionRows: () => any[];
2449
- toggleRowSelection: (row: any, selected?: boolean, emitChange?: boolean, ignoreSelectable?: boolean) => void;
957
+ getSelectionRows: () => D[];
958
+ getHalfSelectionRows: () => D[];
959
+ toggleRowSelection: (row: D, selected?: boolean, emitChange?: boolean, ignoreSelectable?: boolean) => void;
2450
960
  _toggleAllSelection: () => void;
2451
961
  toggleAllSelection: (() => void) | null;
2452
962
  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;
963
+ updateSelectionByChildren: (options?: {
964
+ emitChange?: boolean;
965
+ rowIndexMap?: Map<string, number>;
966
+ }) => void;
967
+ getRowIndeterminate: (row: D) => boolean;
968
+ updateFilters: (column: TableColumnCtx<D>, values: string[]) => Record<string, string[]>;
969
+ updateCurrentRow: (_currentRow: D) => void;
970
+ updateSort: (column: TableColumnCtx<D> | null, prop: string | null, order: TableSortOrder | null) => void;
2456
971
  execFilter: () => void;
2457
972
  execSort: () => void;
2458
973
  execQuery: (ignore?: {
@@ -2460,58 +975,59 @@ declare const PageTable_2: <D, Q>(__VLS_props: NonNullable<Awaited<typeof __VLS_
2460
975
  } | undefined) => void;
2461
976
  clearFilter: (columnKeys?: string[] | string) => void;
2462
977
  clearSort: () => void;
2463
- toggleRowExpansion: (row: any, expanded?: boolean) => void;
978
+ toggleRowExpansion: (row: D, expanded?: boolean) => void;
2464
979
  setExpandRowKeysAdapter: (val: string[]) => void;
2465
980
  setCurrentRowKey: (key: string) => void;
2466
- toggleRowExpansionAdapter: (row: any, expanded?: boolean) => void;
2467
- isRowExpanded: (row: any) => boolean;
981
+ toggleRowExpansionAdapter: (row: D, expanded?: boolean) => void;
982
+ isRowExpanded: (row: D) => boolean;
2468
983
  updateExpandRows: () => void;
2469
984
  updateCurrentRowData: () => void;
2470
- loadOrToggle: (row: any) => void;
985
+ loadOrToggle: (row: D) => void;
2471
986
  updateTreeData: (ifChangeExpandRowKeys?: boolean, ifExpandAll?: boolean) => void;
2472
- updateKeyChildren: (key: string, data: any[]) => void;
987
+ updateKeyChildren: (key: string, data: D[]) => void;
2473
988
  states: {
2474
989
  _currentRowKey: Ref<string | null, string | null>;
2475
- currentRow: Ref<any, any>;
990
+ currentRow: Ref<D | null, D | null>;
2476
991
  expandRowKeys: Ref<string[], string[]>;
2477
992
  treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2478
993
  indent: Ref<number, number>;
2479
994
  lazy: Ref<boolean, boolean>;
2480
- lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
995
+ lazyTreeNodeMap: Ref<Record<string, D[]>, Record<string, D[]>>;
2481
996
  lazyColumnIdentifier: Ref<string, string>;
2482
997
  childrenColumnName: Ref<string, string>;
2483
998
  checkStrictly: Ref<boolean, boolean>;
2484
- expandRows: Ref<any[], any[]>;
999
+ expandRows: Ref<D[], D[]>;
2485
1000
  defaultExpandAll: Ref<boolean, boolean>;
2486
1001
  tableSize: Ref<any, any>;
2487
1002
  rowKey: Ref<string | null, string | null>;
2488
- data: Ref<any[], any[]>;
2489
- _data: Ref<any[], any[]>;
1003
+ data: Ref<D[], D[]>;
1004
+ _data: Ref<D[], D[]>;
2490
1005
  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>[]>;
1006
+ _columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
1007
+ originColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
1008
+ columns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
1009
+ fixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
1010
+ rightFixedColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
1011
+ leafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
1012
+ fixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
1013
+ rightFixedLeafColumns: Ref<TableColumnCtx<D>[], TableColumnCtx<D>[]>;
2499
1014
  updateOrderFns: (() => void)[];
2500
1015
  leafColumnsLength: Ref<number, number>;
2501
1016
  fixedLeafColumnsLength: Ref<number, number>;
2502
1017
  rightFixedLeafColumnsLength: Ref<number, number>;
2503
1018
  isAllSelected: Ref<boolean, boolean>;
2504
- selection: Ref<any[], any[]>;
1019
+ selection: Ref<D[], D[]>;
1020
+ selectionIndeterminate: Ref<Record<string, boolean>, Record<string, boolean>>;
2505
1021
  reserveSelection: Ref<boolean, boolean>;
2506
1022
  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>;
1023
+ selectable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
1024
+ rowExpandable: Ref<((row: D, index: number) => boolean) | null, ((row: D, index: number) => boolean) | null>;
2509
1025
  filters: Ref<StoreFilter, StoreFilter>;
2510
- filteredData: Ref<any[] | null, any[] | null>;
2511
- sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
1026
+ filteredData: Ref<D[] | null, D[] | null>;
1027
+ sortingColumn: Ref<TableColumnCtx<D> | null, TableColumnCtx<D> | null>;
2512
1028
  sortProp: Ref<string | null, string | null>;
2513
- sortOrder: Ref<string | number | null, string | number | null>;
2514
- hoverRow: Ref<any, any>;
1029
+ sortOrder: Ref<TableSortOrder | null, TableSortOrder | null>;
1030
+ hoverRow: Ref<D | null, D | null>;
2515
1031
  };
2516
1032
  ns: {
2517
1033
  namespace: ComputedRef<string>;
@@ -2533,62 +1049,55 @@ declare const PageTable_2: <D, Q>(__VLS_props: NonNullable<Awaited<typeof __VLS_
2533
1049
  };
2534
1050
  t: Translator;
2535
1051
  };
2536
- columns: ComputedRef<TableColumnCtx<any>[]>;
1052
+ columns: TableColumnCtx<D>[];
2537
1053
  handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
2538
1054
  handleMouseLeave: () => void;
2539
1055
  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
- }, {
1056
+ tableSize: "" | "default" | "small" | "large";
1057
+ isHidden: boolean;
1058
+ isEmpty: boolean;
1059
+ renderExpanded: RenderExpanded<D> | null;
1060
+ resizeProxyVisible: boolean;
1061
+ resizeState: {
2550
1062
  width: null | number;
2551
1063
  height: null | number;
2552
1064
  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< {
1065
+ };
1066
+ isGroup: boolean;
1067
+ bodyWidth: string;
1068
+ tableBodyStyles: {
2561
1069
  width: string;
2562
- }>;
2563
- emptyBlockStyle: ComputedRef< {
1070
+ };
1071
+ emptyBlockStyle: {
2564
1072
  width: string;
2565
1073
  height: string;
2566
- } | undefined>;
1074
+ } | undefined;
2567
1075
  debouncedUpdateLayout: DebouncedFunc<() => void>;
2568
- setCurrentRow: (row: any) => void;
2569
- getSelectionRows: () => any[];
2570
- toggleRowSelection: (row: any, selected?: boolean, ignoreSelectable?: boolean) => void;
1076
+ setCurrentRow: (row?: D | undefined) => void;
1077
+ getSelectionRows: () => D[];
1078
+ getHalfSelectionRows: () => D[];
1079
+ toggleRowSelection: (row: D, selected?: boolean, ignoreSelectable?: boolean) => void;
2571
1080
  clearSelection: () => void;
2572
1081
  clearFilter: (columnKeys?: string[] | string) => void;
2573
1082
  toggleAllSelection: () => void;
2574
- toggleRowExpansion: (row: any, expanded?: boolean) => void;
1083
+ toggleRowExpansion: (row: D, expanded?: boolean) => void;
2575
1084
  clearSort: () => void;
2576
1085
  doLayout: () => void;
2577
1086
  sort: (prop: string, order: string) => void;
2578
- updateKeyChildren: (key: string, data: any[]) => void;
1087
+ updateKeyChildren: (key: string, data: D[]) => void;
2579
1088
  t: Translator;
2580
1089
  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">;
1090
+ context: Table<D>;
1091
+ computedSumText: string;
1092
+ computedEmptyText: string;
1093
+ computedTooltipEffect: string | undefined;
1094
+ computedTooltipOptions: Partial<Omit<UseTooltipProps, "content" | "visible" | "referenceEl" | "triggerTargetEl" | "virtualTriggering" | "rawContent" | "persistent" | "autoClose" | "virtualRef">> | undefined;
1095
+ tableLayout: "fixed" | "auto";
2587
1096
  scrollbarViewStyle: {
2588
1097
  display: string;
2589
1098
  verticalAlign: string;
2590
1099
  };
2591
- scrollbarStyle: ComputedRef< {
1100
+ scrollbarStyle: {
2592
1101
  height: string;
2593
1102
  maxHeight?: undefined;
2594
1103
  } | {
@@ -2597,36 +1106,13 @@ declare const PageTable_2: <D, Q>(__VLS_props: NonNullable<Awaited<typeof __VLS_
2597
1106
  } | {
2598
1107
  height?: undefined;
2599
1108
  maxHeight?: undefined;
2600
- }>;
2601
- scrollBarRef: Ref<any, any>;
1109
+ };
1110
+ scrollBarRef: any;
2602
1111
  scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
2603
1112
  setScrollLeft: (left?: number) => void;
2604
1113
  setScrollTop: (top?: number) => void;
2605
1114
  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>>;
1115
+ } | null>>;
2630
1116
  tableData: Ref<D[]>;
2631
1117
  pageData: Ref<{
2632
1118
  pageNum: number;
@@ -2641,9 +1127,9 @@ declare const PageTable_2: <D, Q>(__VLS_props: NonNullable<Awaited<typeof __VLS_
2641
1127
  }>;
2642
1128
  refresh: () => Promise<void>;
2643
1129
  resetAndRefresh: () => Promise<void>;
2644
- getSelectionRows: (() => any[]) | undefined;
2645
- toggleRowSelection: ((row: any, selected?: boolean, ignoreSelectable?: boolean) => void) | undefined;
2646
- setCurrentRow: ((row: any) => void) | undefined;
1130
+ getSelectionRows: (() => D[]) | undefined;
1131
+ toggleRowSelection: ((row: D, selected?: boolean, ignoreSelectable?: boolean) => void) | undefined;
1132
+ setCurrentRow: ((row?: D | undefined) => void) | undefined;
2647
1133
  clearSelection: (() => void) | undefined;
2648
1134
  scrollTo: ((options: ScrollToOptions | number, yCoord?: number) => void) | undefined;
2649
1135
  }>): void;
@@ -2939,275 +1425,21 @@ export declare const useSelectData: <Data, ID>(dataList: MaybeRefOrGetter<Data[]
2939
1425
  */
2940
1426
  export declare const useSelectedUserStore: StoreDefinition<"biliToolkit-ui-selected-user", Pick<{
2941
1427
  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>;
1428
+ user: Ref<UserInfoWithCookie | null, UserInfoWithCookie | null>;
2991
1429
  deleteUser: () => void;
2992
1430
  setUser: (user: UserInfoWithCookie) => void;
2993
1431
  }, "user">, Pick<{
2994
1432
  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>;
1433
+ user: Ref<UserInfoWithCookie | null, UserInfoWithCookie | null>;
3044
1434
  deleteUser: () => void;
3045
1435
  setUser: (user: UserInfoWithCookie) => void;
3046
1436
  }, never>, Pick<{
3047
1437
  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>;
1438
+ user: Ref<UserInfoWithCookie | null, UserInfoWithCookie | null>;
3097
1439
  deleteUser: () => void;
3098
1440
  setUser: (user: UserInfoWithCookie) => void;
3099
1441
  }, "init" | "deleteUser" | "setUser">>;
3100
1442
 
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
1443
  export declare const whiteColor = "#ffffff";
3212
1444
 
3213
1445
  export { }