@progress/kendo-react-intl 7.0.3-develop.4 → 7.0.3-develop.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.
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { DateFormatOptions, NumberFormatOptions, DateFieldNameOptions, DateFormatNameOptions, DateFormatPart } from './../coreExports';
package/Intl/main.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { IntlProvider } from './IntlProvider';
package/LICENSE.md CHANGED
@@ -8,4 +8,4 @@ This is commercial software. To use it, you need to agree to the [**End User Lic
8
8
 
9
9
  All available KendoReact commercial licenses may be obtained at the [KendoReact website](https://www.telerik.com/kendo-react-ui/pricing).
10
10
 
11
- *Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
11
+ *Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { loadMessages } from './loadMessages';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
package/NOTICE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Progress KendoReact 2023
1
+ Progress KendoReact 2024
2
2
 
3
3
  Copyright © 2018-2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
4
4
 
package/README.md CHANGED
@@ -31,6 +31,6 @@ For any issues you might encounter while working with the KendoReact Internation
31
31
  * [KendoReact pricing and licensing](https://www.telerik.com/kendo-react-ui/pricing?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-intl)
32
32
  * [Changelog](https://www.telerik.com/kendo-react-ui/components/changelogs/ui-for-react/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-intl)
33
33
 
34
- *Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
34
+ *Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
35
35
 
36
36
  *Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
package/coreExports.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export type { DateFormatOptions, NumberFormatOptions, DateFieldNameOptions, DateFormatNameOptions, DateFormatPart } from '@progress/kendo-intl';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  (function(o,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("@progress/kendo-intl"),require("@progress/kendo-react-common"),require("prop-types")):typeof define=="function"&&define.amd?define(["exports","react","@progress/kendo-intl","@progress/kendo-react-common","prop-types"],l):(o=typeof globalThis<"u"?globalThis:o||self,l(o.KendoReactIntl={},o.React,o.KendoIntl,o.KendoReactCommon,o.PropTypes))})(this,function(o,l,m,z,f){"use strict";"use client";function g(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,c.get?c:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const i=g(l),r=g(m),S={name:"@progress/kendo-react-intl",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class u{constructor(e){if(this.locale=e,z.validatePackage(S),e===""&&process.env.NODE_ENV!=="production")throw"Locale should not be empty string"}format(e,...n){return n.length===1&&Array.isArray(n[0])?r.format(e,n[0],this.locale):r.format(e,n,this.locale)}formatDate(e,n){return r.formatDate(e,n,this.locale)}toString(e,n){return r.toString(e,n,this.locale)}parseNumber(e,n){return r.parseNumber(e,this.locale,n)}parseDate(e,n){return r.parseDate(e,n,this.locale)}formatNumber(e,n){return r.formatNumber(e,n,this.locale)}dateFieldName(e){return r.dateFieldName(e,this.locale)}dateFormatNames(e){return r.dateFormatNames(this.locale,e)}splitDateFormat(e){return r.splitDateFormat(e,this.locale)}numberSymbols(){return r.numberSymbols(this.locale)}firstDay(){return r.firstDay(this.locale)}localeInfo(){return r.localeInfo(this.locale)}localeCurrency(){return r.localeCurrency(this.locale)}}const s=Object.create({});class d{constructor(e){if(this.language=e,e===""&&process.env.NODE_ENV!=="production")throw"Language should not be an empty string"}toLanguageString(e,n){return this.language&&s[this.language]&&s[this.language].hasOwnProperty(e)?s[this.language][e]:n}}const a=i.createContext({intl:new u("en"),localization:new d});class h extends i.Component{getIntlService(){return new u(this.props.locale)}render(){return i.createElement(a.Consumer,null,e=>i.createElement(a.Provider,{value:{...e,intl:this.getIntlService()}},this.props.children))}}h.propTypes={locale:f.string};const v=(t,e,n)=>{for(const c in t)if(t.hasOwnProperty(c)){const p=[...n];if(p.push(c),typeof t[c]!="string")v(t[c],e,p);else{const w=t[c];Object.defineProperty(e,p.join("."),{value:w})}}};function N(t,e){let n=s[e]=s[e]||{};v(t,n,[])}class y extends i.Component{getLocalizationService(){return new d(this.props.language)}render(){return i.createElement(a.Consumer,null,e=>i.createElement(a.Provider,{value:{...e,localization:this.getLocalizationService()}},this.props.children))}}y.propTypes={language:f.string};function b(t){if(!t&&process.env.NODE_ENV!=="production")throw`Passed component - ${t} is invalid.`;const e=t.context;return e&&e.intl?e.intl:new u("en")}function D(t){if(!t&&process.env.NODE_ENV!=="production")throw`Passed component - ${t} is invalid.`;const e=t.context;return e&&e.localization?e.localization:new d}function I(t){t.contextType=a}function O(t){t.contextType=a}const E=()=>i.useContext(a).intl,P=()=>i.useContext(a).localization;Object.defineProperty(o,"load",{enumerable:!0,get:()=>m.load}),o.GlobalizationContext=a,o.IntlProvider=h,o.IntlService=u,o.LocalizationProvider=y,o.LocalizationService=d,o.loadMessages=N,o.localizationMessages=s,o.provideIntlService=b,o.provideLocalizationService=D,o.registerForIntl=I,o.registerForLocalization=O,o.useInternationalization=E,o.useLocalization=P,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
package/hooks/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export * from './useInternationalization';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { IntlService } from '../Intl/main';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { LocalizationService } from '../Localization/main';
package/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export * from './index';
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export { GlobalizationContext } from './globalization/GlobalizationContext';
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),p=require("@progress/kendo-intl"),z=require("@progress/kendo-react-common"),d=require("prop-types");function g(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const n=g(y),o=g(p),b={name:"@progress/kendo-react-intl",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class s{constructor(e){if(this.locale=e,z.validatePackage(b),e===""&&process.env.NODE_ENV!=="production")throw"Locale should not be empty string"}format(e,...r){return r.length===1&&Array.isArray(r[0])?o.format(e,r[0],this.locale):o.format(e,r,this.locale)}formatDate(e,r){return o.formatDate(e,r,this.locale)}toString(e,r){return o.toString(e,r,this.locale)}parseNumber(e,r){return o.parseNumber(e,this.locale,r)}parseDate(e,r){return o.parseDate(e,r,this.locale)}formatNumber(e,r){return o.formatNumber(e,r,this.locale)}dateFieldName(e){return o.dateFieldName(e,this.locale)}dateFormatNames(e){return o.dateFormatNames(this.locale,e)}splitDateFormat(e){return o.splitDateFormat(e,this.locale)}numberSymbols(){return o.numberSymbols(this.locale)}firstDay(){return o.firstDay(this.locale)}localeInfo(){return o.localeInfo(this.locale)}localeCurrency(){return o.localeCurrency(this.locale)}}const l=Object.create({});class c{constructor(e){if(this.language=e,e===""&&process.env.NODE_ENV!=="production")throw"Language should not be an empty string"}toLanguageString(e,r){return this.language&&l[this.language]&&l[this.language].hasOwnProperty(e)?l[this.language][e]:r}}const a=n.createContext({intl:new s("en"),localization:new c});class m extends n.Component{getIntlService(){return new s(this.props.locale)}render(){return n.createElement(a.Consumer,null,e=>n.createElement(a.Provider,{value:{...e,intl:this.getIntlService()}},this.props.children))}}m.propTypes={locale:d.string};const h=(t,e,r)=>{for(const i in t)if(t.hasOwnProperty(i)){const u=[...r];if(u.push(i),typeof t[i]!="string")h(t[i],e,u);else{const v=t[i];Object.defineProperty(e,u.join("."),{value:v})}}};function S(t,e){let r=l[e]=l[e]||{};h(t,r,[])}class f extends n.Component{getLocalizationService(){return new c(this.props.language)}render(){return n.createElement(a.Consumer,null,e=>n.createElement(a.Provider,{value:{...e,localization:this.getLocalizationService()}},this.props.children))}}f.propTypes={language:d.string};function N(t){if(!t&&process.env.NODE_ENV!=="production")throw`Passed component - ${t} is invalid.`;const e=t.context;return e&&e.intl?e.intl:new s("en")}function D(t){if(!t&&process.env.NODE_ENV!=="production")throw`Passed component - ${t} is invalid.`;const e=t.context;return e&&e.localization?e.localization:new c}function I(t){t.contextType=a}function O(t){t.contextType=a}const P=()=>n.useContext(a).intl,E=()=>n.useContext(a).localization;Object.defineProperty(exports,"load",{enumerable:!0,get:()=>p.load});exports.GlobalizationContext=a;exports.IntlProvider=m;exports.IntlService=s;exports.LocalizationProvider=f;exports.LocalizationService=c;exports.loadMessages=S;exports.localizationMessages=l;exports.provideIntlService=N;exports.provideLocalizationService=D;exports.registerForIntl=I;exports.registerForLocalization=O;exports.useInternationalization=P;exports.useLocalization=E;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  "use client";
@@ -12,7 +12,7 @@ const g = {
12
12
  name: "@progress/kendo-react-intl",
13
13
  productName: "KendoReact",
14
14
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
15
- publishDate: 1703227497,
15
+ publishDate: 1704295549,
16
16
  version: "",
17
17
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
18
18
  };
package/intlUtils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PackageMetadata } from '@progress/kendo-licensing';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-intl",
3
- "version": "7.0.3-develop.4",
3
+ "version": "7.0.3-develop.5",
4
4
  "description": "React Internationalization package provides services for parsing and formatting of dates and numbers. KendoReact Internationalization package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -24,7 +24,7 @@
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-intl": "^3.1.1",
26
26
  "@progress/kendo-licensing": "^1.3.4",
27
- "@progress/kendo-react-common": "7.0.3-develop.4",
27
+ "@progress/kendo-react-common": "7.0.3-develop.5",
28
28
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
29
29
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
30
30
  },