@progress/kendo-react-intl
Version:
React Internationalization package provides services for parsing and formatting of dates and numbers. KendoReact Internationalization package
22 lines (21 loc) • 730 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
*-------------------------------------------------------------------------------------------
*/
import { load as c } from "@progress/kendo-intl";
const o = {}, l = (...i) => {
i.forEach((e) => {
const n = Object.keys(e)[0];
if (["main", "supplemental"].includes(n)) {
const s = Object.keys(e[n])[0];
s in o ? o[s].includes(e) || (o[s] = [...o[s], e]) : o[s] = [e];
}
}), c(...i);
};
export {
l as load,
o as locales
};