@94ai/nf-table 5.0.38 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -76,6 +76,22 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
76
76
  type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
77
77
  default: () => never[];
78
78
  };
79
+ initSearchApi: {
80
+ type: import("vue-demi").PropType<boolean>;
81
+ default: undefined;
82
+ };
83
+ pageChangeSearchApi: {
84
+ type: import("vue-demi").PropType<boolean>;
85
+ default: undefined;
86
+ };
87
+ pageKeys: {
88
+ type: import("vue-demi").PropType<string[]>;
89
+ default: () => string[];
90
+ };
91
+ setEasyConf: {
92
+ type: import("vue-demi").PropType<boolean>;
93
+ default: boolean;
94
+ };
79
95
  dragCached: {
80
96
  type: import("vue-demi").PropType<boolean>;
81
97
  default: boolean;
@@ -347,6 +363,22 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
347
363
  type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
348
364
  default: () => never[];
349
365
  };
366
+ initSearchApi: {
367
+ type: import("vue-demi").PropType<boolean>;
368
+ default: undefined;
369
+ };
370
+ pageChangeSearchApi: {
371
+ type: import("vue-demi").PropType<boolean>;
372
+ default: undefined;
373
+ };
374
+ pageKeys: {
375
+ type: import("vue-demi").PropType<string[]>;
376
+ default: () => string[];
377
+ };
378
+ setEasyConf: {
379
+ type: import("vue-demi").PropType<boolean>;
380
+ default: boolean;
381
+ };
350
382
  dragCached: {
351
383
  type: import("vue-demi").PropType<boolean>;
352
384
  default: boolean;
@@ -544,6 +576,10 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
544
576
  }>>, {
545
577
  fieldsChange: (event: string[]) => void;
546
578
  "update:showColumn": (event: string[] | undefined) => void;
579
+ searchApi: (event: {
580
+ data: Record<string, any>;
581
+ callback: Function;
582
+ }) => void;
547
583
  }, {
548
584
  background: string;
549
585
  columns: any;
@@ -564,6 +600,10 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
564
600
  pageAttrs: import("./types").ElPaginationAttributes;
565
601
  pageEvents: Partial<Record<import("./types").ElPaginationEventKey, Function>>;
566
602
  actionBarOptList: import("./types").NfTableActionBtnAttributes[];
603
+ initSearchApi: boolean;
604
+ pageChangeSearchApi: boolean;
605
+ pageKeys: string[];
606
+ setEasyConf: boolean;
567
607
  dragCached: boolean;
568
608
  emptyImageSize: number;
569
609
  emptyText: string;
@@ -688,6 +728,22 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
688
728
  type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
689
729
  default: () => never[];
690
730
  };
731
+ initSearchApi: {
732
+ type: import("vue-demi").PropType<boolean>;
733
+ default: undefined;
734
+ };
735
+ pageChangeSearchApi: {
736
+ type: import("vue-demi").PropType<boolean>;
737
+ default: undefined;
738
+ };
739
+ pageKeys: {
740
+ type: import("vue-demi").PropType<string[]>;
741
+ default: () => string[];
742
+ };
743
+ setEasyConf: {
744
+ type: import("vue-demi").PropType<boolean>;
745
+ default: boolean;
746
+ };
691
747
  dragCached: {
692
748
  type: import("vue-demi").PropType<boolean>;
693
749
  default: boolean;
@@ -922,6 +978,14 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
922
978
  render?: Function | undefined;
923
979
  slot?: any;
924
980
  headerSlot?: any;
981
+ labelTooltip?: string | undefined;
982
+ unit?: string | undefined;
983
+ options: {
984
+ label: string;
985
+ value: string | number;
986
+ tagType?: any;
987
+ }[];
988
+ getOptions?: Function | undefined;
925
989
  singleHeadMutiColSlot?: any;
926
990
  attr?: {
927
991
  type?: "index" | "selection" | "expand" | undefined;
@@ -955,6 +1019,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
955
1019
  'filtered-value'?: string[] | undefined;
956
1020
  } | undefined;
957
1021
  }[]>;
1022
+ isLoading: import("vue-demi").ComputedRef<boolean>;
958
1023
  calcTableHeight: () => void;
959
1024
  syncLocalShowColumnToCookies: () => void;
960
1025
  syncCookiesToLocalShowColumn: () => Promise<void>;
@@ -1039,6 +1104,22 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1039
1104
  type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
1040
1105
  default: () => never[];
1041
1106
  };
1107
+ initSearchApi: {
1108
+ type: import("vue-demi").PropType<boolean>;
1109
+ default: undefined;
1110
+ };
1111
+ pageChangeSearchApi: {
1112
+ type: import("vue-demi").PropType<boolean>;
1113
+ default: undefined;
1114
+ };
1115
+ pageKeys: {
1116
+ type: import("vue-demi").PropType<string[]>;
1117
+ default: () => string[];
1118
+ };
1119
+ setEasyConf: {
1120
+ type: import("vue-demi").PropType<boolean>;
1121
+ default: boolean;
1122
+ };
1042
1123
  dragCached: {
1043
1124
  type: import("vue-demi").PropType<boolean>;
1044
1125
  default: boolean;
@@ -1310,6 +1391,22 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1310
1391
  type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
1311
1392
  default: () => never[];
1312
1393
  };
1394
+ initSearchApi: {
1395
+ type: import("vue-demi").PropType<boolean>;
1396
+ default: undefined;
1397
+ };
1398
+ pageChangeSearchApi: {
1399
+ type: import("vue-demi").PropType<boolean>;
1400
+ default: undefined;
1401
+ };
1402
+ pageKeys: {
1403
+ type: import("vue-demi").PropType<string[]>;
1404
+ default: () => string[];
1405
+ };
1406
+ setEasyConf: {
1407
+ type: import("vue-demi").PropType<boolean>;
1408
+ default: boolean;
1409
+ };
1313
1410
  dragCached: {
1314
1411
  type: import("vue-demi").PropType<boolean>;
1315
1412
  default: boolean;
@@ -1544,6 +1641,14 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1544
1641
  render?: Function | undefined;
1545
1642
  slot?: any;
1546
1643
  headerSlot?: any;
1644
+ labelTooltip?: string | undefined;
1645
+ unit?: string | undefined;
1646
+ options: {
1647
+ label: string;
1648
+ value: string | number;
1649
+ tagType?: any;
1650
+ }[];
1651
+ getOptions?: Function | undefined;
1547
1652
  singleHeadMutiColSlot?: any;
1548
1653
  attr?: {
1549
1654
  type?: "index" | "selection" | "expand" | undefined;
@@ -1577,6 +1682,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1577
1682
  'filtered-value'?: string[] | undefined;
1578
1683
  } | undefined;
1579
1684
  }[]>;
1685
+ isLoading: import("vue-demi").ComputedRef<boolean>;
1580
1686
  calcTableHeight: () => void;
1581
1687
  syncLocalShowColumnToCookies: () => void;
1582
1688
  syncCookiesToLocalShowColumn: () => Promise<void>;
@@ -1587,6 +1693,10 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1587
1693
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
1588
1694
  fieldsChange: (event: string[]) => void;
1589
1695
  "update:showColumn": (event: string[] | undefined) => void;
1696
+ searchApi: (event: {
1697
+ data: Record<string, any>;
1698
+ callback: Function;
1699
+ }) => void;
1590
1700
  }, string, {
1591
1701
  background: string;
1592
1702
  columns: any;
@@ -1607,6 +1717,10 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1607
1717
  pageAttrs: import("./types").ElPaginationAttributes;
1608
1718
  pageEvents: Partial<Record<import("./types").ElPaginationEventKey, Function>>;
1609
1719
  actionBarOptList: import("./types").NfTableActionBtnAttributes[];
1720
+ initSearchApi: boolean;
1721
+ pageChangeSearchApi: boolean;
1722
+ pageKeys: string[];
1723
+ setEasyConf: boolean;
1610
1724
  dragCached: boolean;
1611
1725
  emptyImageSize: number;
1612
1726
  emptyText: string;
@@ -1732,6 +1846,22 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1732
1846
  type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
1733
1847
  default: () => never[];
1734
1848
  };
1849
+ initSearchApi: {
1850
+ type: import("vue-demi").PropType<boolean>;
1851
+ default: undefined;
1852
+ };
1853
+ pageChangeSearchApi: {
1854
+ type: import("vue-demi").PropType<boolean>;
1855
+ default: undefined;
1856
+ };
1857
+ pageKeys: {
1858
+ type: import("vue-demi").PropType<string[]>;
1859
+ default: () => string[];
1860
+ };
1861
+ setEasyConf: {
1862
+ type: import("vue-demi").PropType<boolean>;
1863
+ default: boolean;
1864
+ };
1735
1865
  dragCached: {
1736
1866
  type: import("vue-demi").PropType<boolean>;
1737
1867
  default: boolean;
@@ -1927,136 +2057,5 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1927
2057
  default: boolean;
1928
2058
  };
1929
2059
  };
1930
- } & (new () => {
1931
- $scopedSlots: Partial<Record<any, (_: {
1932
- slot: any;
1933
- }) => any>> & Partial<Record<any, (_: {
1934
- slot: any;
1935
- }) => any>> & Partial<Record<any, (_: {
1936
- slot: any;
1937
- }) => any>> & Partial<Record<any, (_: {
1938
- slot: any;
1939
- }) => any>> & Partial<Record<any, (_: {
1940
- slot: any;
1941
- }) => any>> & Partial<Record<any, (_: {
1942
- slot: any;
1943
- }) => any>> & Partial<Record<any, (_: {
1944
- slot: any;
1945
- }) => any>> & Partial<Record<any, (_: {
1946
- slot: any;
1947
- }) => any>> & Partial<Record<any, (_: {
1948
- slot: any;
1949
- }) => any>> & Partial<Record<any, (_: {
1950
- slot: any;
1951
- }) => any>> & Partial<Record<any, (_: {
1952
- slot: any;
1953
- }) => any>> & Partial<Record<any, (_: {
1954
- slot: any;
1955
- }) => any>> & Partial<Record<any, (_: {
1956
- row: any;
1957
- index: any;
1958
- }) => any>> & Partial<Record<any, (_: {}) => any>> & Partial<Record<any, (_: {
1959
- $index: any;
1960
- column: any;
1961
- }) => any>> & Partial<Record<any, (_: {}) => any>> & Partial<Record<any, (_: {
1962
- $index: any;
1963
- column: any;
1964
- }) => any>> & Partial<Record<any, (_: {
1965
- row: any;
1966
- index: any;
1967
- }) => any>> & Partial<Record<string, (_: {
1968
- slot: string;
1969
- }) => any>> & Partial<Record<string, (_: {
1970
- slot: string;
1971
- }) => any>> & Partial<Record<string, (_: {
1972
- slot: string;
1973
- }) => any>> & Partial<Record<string, (_: {
1974
- slot: string;
1975
- }) => any>> & Partial<Record<string, (_: {
1976
- slot: string;
1977
- }) => any>> & Partial<Record<string, (_: {
1978
- slot: string;
1979
- }) => any>> & Partial<Record<string, (_: {
1980
- slot: string;
1981
- }) => any>> & Partial<Record<string, (_: {
1982
- slot: string;
1983
- }) => any>> & {
1984
- searchBox?(_: {
1985
- ref: string;
1986
- }): any;
1987
- btnBox?(_: {
1988
- slot: string;
1989
- }): any;
1990
- searchFormColumnEditDialogTitle?(_: {
1991
- slot: string;
1992
- }): any;
1993
- searchFormColumnEditDialogFooter?(_: {
1994
- slot: string;
1995
- }): any;
1996
- columnEdit?(_: {}): any;
1997
- operationIconColumnCheck?(_: {
1998
- column: {
1999
- _index?: number | undefined;
2000
- __index?: number | undefined;
2001
- initHidden?: boolean | undefined;
2002
- destory?: boolean | undefined;
2003
- type?: "index" | "selection" | "expand" | undefined;
2004
- label?: string | undefined;
2005
- addLabel?: string | undefined;
2006
- prop?: string | undefined;
2007
- render?: Function | undefined;
2008
- slot?: any;
2009
- headerSlot?: any;
2010
- singleHeadMutiColSlot?: any;
2011
- attr?: {
2012
- type?: "index" | "selection" | "expand" | undefined;
2013
- label?: string | undefined;
2014
- prop?: string | undefined;
2015
- index?: number | ((index: number) => number) | undefined;
2016
- 'column-key'?: string | undefined;
2017
- width?: string | undefined;
2018
- 'min-width'?: string | undefined;
2019
- fixed?: boolean | "left" | "right" | undefined;
2020
- 'render-header'?: Function | undefined;
2021
- sortable?: boolean | "custom" | undefined;
2022
- 'sort-method'?: Function | undefined;
2023
- 'sort-by'?: string | Function | string[] | undefined;
2024
- 'sort-orders'?: ["descending" | "ascending" | null, "descending" | "ascending" | null, "descending" | "ascending" | null] | undefined;
2025
- resizable?: boolean | undefined;
2026
- formatter?: Function | undefined;
2027
- 'show-overflow-tooltip'?: boolean | undefined;
2028
- align?: "left" | "right" | "center" | undefined;
2029
- 'class-name'?: string | undefined;
2030
- 'label-class-name'?: string | undefined;
2031
- selectable?: Function | undefined;
2032
- 'reserve-selection'?: boolean | undefined;
2033
- filters?: {
2034
- text?: string | number | undefined;
2035
- value?: string | number | undefined;
2036
- }[] | undefined;
2037
- 'filter-placement'?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | undefined;
2038
- 'filter-multiple'?: boolean | undefined;
2039
- 'filter-method'?: Function | undefined;
2040
- 'filtered-value'?: string[] | undefined;
2041
- } | undefined;
2042
- };
2043
- }): any;
2044
- append?(_: {
2045
- slot: string;
2046
- }): any;
2047
- empty?(_: {
2048
- slot: string;
2049
- }): any;
2050
- actionBar?(_: {
2051
- ref: string;
2052
- }): any;
2053
- pagination?(_: {}): any;
2054
- title?(_: {
2055
- slot: string;
2056
- }): any;
2057
- footer?(_: {
2058
- slot: string;
2059
- }): any;
2060
- };
2061
- }) & PluginObject<undefined>;
2060
+ } & PluginObject<undefined>;
2062
2061
  export default _default;