@progress/kendo-vue-data-tools
Version:
30 lines (29 loc) • 801 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
const c = ({
buttonCount: e = 10,
info: t = !0,
type: o = "numeric",
pageSizes: r = !1,
previousNext: u = !0,
responsive: i = !0,
pagerRender: n = void 0,
pageSizeValue: a = void 0
}) => ({
buttonCount: e,
info: t,
pageSizes: r === !0 ? [5, 10, 20] : r,
previousNext: u,
type: o,
responsive: i,
pagerRender: n,
pageSizeValue: a
}), l = (e) => c(e === !0 ? {} : e);
export {
l as normalize
};