@94ai/nf-table 6.1.1 → 6.1.7
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 +132 -131
- package/lib/nf-table.cjs.js +66 -241
- package/lib/nf-table.esm-bundler.js +61 -236
- package/lib/nf-table.vue.d.ts +135 -34
- package/lib/types.d.ts +0 -8
- package/package/nf-table.vue +116 -265
- package/package/types.ts +0 -16
- package/package.json +8 -10
package/lib/index.d.ts
CHANGED
|
@@ -76,22 +76,6 @@ 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
|
-
};
|
|
95
79
|
dragCached: {
|
|
96
80
|
type: import("vue-demi").PropType<boolean>;
|
|
97
81
|
default: boolean;
|
|
@@ -363,22 +347,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
363
347
|
type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
|
|
364
348
|
default: () => never[];
|
|
365
349
|
};
|
|
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
|
-
};
|
|
382
350
|
dragCached: {
|
|
383
351
|
type: import("vue-demi").PropType<boolean>;
|
|
384
352
|
default: boolean;
|
|
@@ -576,10 +544,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
576
544
|
}>>, {
|
|
577
545
|
fieldsChange: (event: string[]) => void;
|
|
578
546
|
"update:showColumn": (event: string[] | undefined) => void;
|
|
579
|
-
searchApi: (event: {
|
|
580
|
-
data: Record<string, any>;
|
|
581
|
-
callback: Function;
|
|
582
|
-
}) => void;
|
|
583
547
|
}, {
|
|
584
548
|
background: string;
|
|
585
549
|
columns: any;
|
|
@@ -600,10 +564,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
600
564
|
pageAttrs: import("./types").ElPaginationAttributes;
|
|
601
565
|
pageEvents: Partial<Record<import("./types").ElPaginationEventKey, Function>>;
|
|
602
566
|
actionBarOptList: import("./types").NfTableActionBtnAttributes[];
|
|
603
|
-
initSearchApi: boolean;
|
|
604
|
-
pageChangeSearchApi: boolean;
|
|
605
|
-
pageKeys: string[];
|
|
606
|
-
setEasyConf: boolean;
|
|
607
567
|
dragCached: boolean;
|
|
608
568
|
emptyImageSize: number;
|
|
609
569
|
emptyText: string;
|
|
@@ -728,22 +688,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
728
688
|
type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
|
|
729
689
|
default: () => never[];
|
|
730
690
|
};
|
|
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
|
-
};
|
|
747
691
|
dragCached: {
|
|
748
692
|
type: import("vue-demi").PropType<boolean>;
|
|
749
693
|
default: boolean;
|
|
@@ -978,14 +922,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
978
922
|
render?: Function | undefined;
|
|
979
923
|
slot?: any;
|
|
980
924
|
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;
|
|
989
925
|
singleHeadMutiColSlot?: any;
|
|
990
926
|
attr?: {
|
|
991
927
|
type?: "index" | "selection" | "expand" | undefined;
|
|
@@ -1019,7 +955,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
1019
955
|
'filtered-value'?: string[] | undefined;
|
|
1020
956
|
} | undefined;
|
|
1021
957
|
}[]>;
|
|
1022
|
-
isLoading: import("vue-demi").ComputedRef<boolean>;
|
|
1023
958
|
calcTableHeight: () => void;
|
|
1024
959
|
syncLocalShowColumnToCookies: () => void;
|
|
1025
960
|
syncCookiesToLocalShowColumn: () => Promise<void>;
|
|
@@ -1104,22 +1039,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
1104
1039
|
type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
|
|
1105
1040
|
default: () => never[];
|
|
1106
1041
|
};
|
|
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
|
-
};
|
|
1123
1042
|
dragCached: {
|
|
1124
1043
|
type: import("vue-demi").PropType<boolean>;
|
|
1125
1044
|
default: boolean;
|
|
@@ -1391,22 +1310,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
1391
1310
|
type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
|
|
1392
1311
|
default: () => never[];
|
|
1393
1312
|
};
|
|
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
|
-
};
|
|
1410
1313
|
dragCached: {
|
|
1411
1314
|
type: import("vue-demi").PropType<boolean>;
|
|
1412
1315
|
default: boolean;
|
|
@@ -1641,14 +1544,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
1641
1544
|
render?: Function | undefined;
|
|
1642
1545
|
slot?: any;
|
|
1643
1546
|
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;
|
|
1652
1547
|
singleHeadMutiColSlot?: any;
|
|
1653
1548
|
attr?: {
|
|
1654
1549
|
type?: "index" | "selection" | "expand" | undefined;
|
|
@@ -1682,7 +1577,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
1682
1577
|
'filtered-value'?: string[] | undefined;
|
|
1683
1578
|
} | undefined;
|
|
1684
1579
|
}[]>;
|
|
1685
|
-
isLoading: import("vue-demi").ComputedRef<boolean>;
|
|
1686
1580
|
calcTableHeight: () => void;
|
|
1687
1581
|
syncLocalShowColumnToCookies: () => void;
|
|
1688
1582
|
syncCookiesToLocalShowColumn: () => Promise<void>;
|
|
@@ -1693,10 +1587,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
1693
1587
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
1694
1588
|
fieldsChange: (event: string[]) => void;
|
|
1695
1589
|
"update:showColumn": (event: string[] | undefined) => void;
|
|
1696
|
-
searchApi: (event: {
|
|
1697
|
-
data: Record<string, any>;
|
|
1698
|
-
callback: Function;
|
|
1699
|
-
}) => void;
|
|
1700
1590
|
}, string, {
|
|
1701
1591
|
background: string;
|
|
1702
1592
|
columns: any;
|
|
@@ -1717,10 +1607,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
1717
1607
|
pageAttrs: import("./types").ElPaginationAttributes;
|
|
1718
1608
|
pageEvents: Partial<Record<import("./types").ElPaginationEventKey, Function>>;
|
|
1719
1609
|
actionBarOptList: import("./types").NfTableActionBtnAttributes[];
|
|
1720
|
-
initSearchApi: boolean;
|
|
1721
|
-
pageChangeSearchApi: boolean;
|
|
1722
|
-
pageKeys: string[];
|
|
1723
|
-
setEasyConf: boolean;
|
|
1724
1610
|
dragCached: boolean;
|
|
1725
1611
|
emptyImageSize: number;
|
|
1726
1612
|
emptyText: string;
|
|
@@ -1846,22 +1732,6 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
1846
1732
|
type: import("vue-demi").PropType<import("./types").NfTableActionBtnAttributes[]>;
|
|
1847
1733
|
default: () => never[];
|
|
1848
1734
|
};
|
|
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
|
-
};
|
|
1865
1735
|
dragCached: {
|
|
1866
1736
|
type: import("vue-demi").PropType<boolean>;
|
|
1867
1737
|
default: boolean;
|
|
@@ -2057,5 +1927,136 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
2057
1927
|
default: boolean;
|
|
2058
1928
|
};
|
|
2059
1929
|
};
|
|
2060
|
-
} &
|
|
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>;
|
|
2061
2062
|
export default _default;
|