primereact 10.6.4 → 10.6.5
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/accordion/accordion.cjs.js +2 -2
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +2 -2
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +2 -2
- package/accordion/accordion.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +1 -1
- package/autocomplete/autocomplete.esm.js +1 -1
- package/autocomplete/autocomplete.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +1 -1
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +1 -1
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +1 -1
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/calendar/calendar.cjs.js +3 -3
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +3 -3
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +3 -3
- package/calendar/calendar.min.js +1 -1
- package/chips/chips.cjs.js +1 -1
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +1 -1
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +1 -1
- package/chips/chips.min.js +1 -1
- package/core/core.js +2 -2
- package/core/core.min.js +1 -1
- package/datatable/datatable.cjs.js +12 -0
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +22 -0
- package/datatable/datatable.esm.js +12 -0
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +12 -0
- package/datatable/datatable.min.js +1 -1
- package/dropdown/dropdown.cjs.js +2 -2
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +2 -2
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +2 -2
- package/dropdown/dropdown.min.js +1 -1
- package/inputotp/inputotp.cjs.js +4 -0
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.esm.js +4 -0
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +4 -0
- package/inputotp/inputotp.min.js +1 -1
- package/menubar/menubar.d.ts +4 -0
- package/metergroup/metergroup.cjs.js +1 -1
- package/metergroup/metergroup.cjs.min.js +1 -1
- package/metergroup/metergroup.esm.js +1 -1
- package/metergroup/metergroup.esm.min.js +1 -1
- package/metergroup/metergroup.js +1 -1
- package/metergroup/metergroup.min.js +1 -1
- package/multiselect/multiselect.cjs.js +1 -1
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +1 -1
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +1 -1
- package/multiselect/multiselect.min.js +1 -1
- package/package.json +1 -1
- package/panelmenu/panelmenu.d.ts +4 -0
- package/password/password.cjs.js +7 -1
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +4 -0
- package/password/password.esm.js +7 -1
- package/password/password.esm.min.js +1 -1
- package/password/password.js +7 -1
- package/password/password.min.js +1 -1
- package/primereact.all.cjs.js +30 -12
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +30 -12
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +30 -12
- package/primereact.all.min.js +1 -1
- package/stepper/stepper.d.ts +1 -1
- package/web-types.json +2 -2
package/datatable/datatable.d.ts
CHANGED
|
@@ -1858,6 +1858,28 @@ export declare class DataTable<TValue extends DataTableValueArray> extends React
|
|
|
1858
1858
|
* Saves the state.
|
|
1859
1859
|
*/
|
|
1860
1860
|
public saveState(): void;
|
|
1861
|
+
/**
|
|
1862
|
+
* Retrieves the currently applied filters for the data table.
|
|
1863
|
+
* @returns {DataTableFilterMeta | undefined} The currently applied filters, if any, or undefined if no filters are set.
|
|
1864
|
+
*/
|
|
1865
|
+
public getFilterMeta(): DataTableFilterMeta | undefined;
|
|
1866
|
+
/**
|
|
1867
|
+
* Sets the filters for the data table.
|
|
1868
|
+
* @param {DataTableFilterMeta} filters - The filters to be applied to the data table.
|
|
1869
|
+
* @returns {void}
|
|
1870
|
+
*/
|
|
1871
|
+
public setFilterMeta(filters: DataTableFilterMeta): void;
|
|
1872
|
+
/**
|
|
1873
|
+
* Retrieves the currently applied multiple sort metadata for the data table.
|
|
1874
|
+
* @returns {DataTableSortMeta[] | undefined} The currently applied sorts, if any, or undefined if no sorts are set.
|
|
1875
|
+
*/
|
|
1876
|
+
public getSortMeta(): DataTableSortMeta[] | undefined;
|
|
1877
|
+
/**
|
|
1878
|
+
* Sets the multiple sort metadata for the data table.
|
|
1879
|
+
* @param {DataTableSortMeta[]} sorts - The sorts to be applied to the data table.
|
|
1880
|
+
* @returns {void}
|
|
1881
|
+
*/
|
|
1882
|
+
public setSortMeta(sorts: DataTableSortMeta[]): void;
|
|
1861
1883
|
/**
|
|
1862
1884
|
* Used to get container element.
|
|
1863
1885
|
* @return {HTMLDivElement} Container element
|
|
@@ -6979,6 +6979,18 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6979
6979
|
restoreState: restoreState,
|
|
6980
6980
|
restoreTableState: restoreTableState,
|
|
6981
6981
|
saveState: saveState,
|
|
6982
|
+
getFilterMeta: function getFilterMeta() {
|
|
6983
|
+
return filtersState;
|
|
6984
|
+
},
|
|
6985
|
+
setFilterMeta: function setFilterMeta(filters) {
|
|
6986
|
+
return setFiltersState(filters);
|
|
6987
|
+
},
|
|
6988
|
+
getSortMeta: function getSortMeta() {
|
|
6989
|
+
return multiSortMetaState;
|
|
6990
|
+
},
|
|
6991
|
+
setSortMeta: function setSortMeta(sorts) {
|
|
6992
|
+
return setMultiSortMetaState(sorts);
|
|
6993
|
+
},
|
|
6982
6994
|
getElement: function getElement() {
|
|
6983
6995
|
return elementRef.current;
|
|
6984
6996
|
},
|