@ui5/webcomponents-localization
Advanced tools
Comparing version 0.0.0-538a79a92 to 0.0.0-538a79a93
var ObjectPath = {}; | ||
var defaultRootContext = window; | ||
function getObjectPathArray(vObjectPath) { | ||
return Array.isArray(vObjectPath) ? vObjectPath : vObjectPath.split("."); | ||
return Array.isArray(vObjectPath) ? vObjectPath.slice() : vObjectPath.split("."); | ||
} | ||
@@ -6,0 +6,0 @@ ObjectPath.create = function (vObjectPath, oRootContext) { |
import UniversalDate from './UniversalDate.js'; | ||
import CalendarType from '../CalendarType.js'; | ||
import _Calendars from './_Calendars.js'; | ||
var Buddhist = UniversalDate.extend('sap.ui.core.date.Buddhist', { | ||
@@ -125,2 +126,3 @@ constructor: function () { | ||
}; | ||
_Calendars.set(CalendarType.Buddhist, Buddhist); | ||
export default Buddhist; |
import UniversalDate from './UniversalDate.js'; | ||
import CalendarType from '../CalendarType.js'; | ||
import _Calendars from './_Calendars.js'; | ||
var Gregorian = UniversalDate.extend('sap.ui.core.date.Gregorian', { | ||
@@ -15,2 +16,3 @@ constructor: function () { | ||
}; | ||
_Calendars.set(CalendarType.Gregorian, Gregorian); | ||
export default Gregorian; |
@@ -5,2 +5,3 @@ import Core from '../Core.js'; | ||
import Log from '../../../base/Log.js'; | ||
import _Calendars from './_Calendars.js'; | ||
var Islamic = UniversalDate.extend('sap.ui.core.date.Islamic', { | ||
@@ -253,2 +254,3 @@ constructor: function () { | ||
}; | ||
_Calendars.set(CalendarType.Islamic, Islamic); | ||
export default Islamic; |
import UniversalDate from './UniversalDate.js'; | ||
import CalendarType from '../CalendarType.js'; | ||
import _Calendars from './_Calendars.js'; | ||
var Japanese = UniversalDate.extend('sap.ui.core.date.Japanese', { | ||
@@ -160,2 +161,3 @@ constructor: function () { | ||
}; | ||
_Calendars.set(CalendarType.Japanese, Japanese); | ||
export default Japanese; |
import UniversalDate from './UniversalDate.js'; | ||
import CalendarType from '../CalendarType.js'; | ||
import _Calendars from './_Calendars.js'; | ||
var Persian = UniversalDate.extend('sap.ui.core.date.Persian', { | ||
@@ -263,2 +264,3 @@ constructor: function () { | ||
}; | ||
_Calendars.set(CalendarType.Persian, Persian); | ||
export default Persian; |
import Core from '../Core.js'; | ||
import BaseObject from '../../base/Object.js'; | ||
import LocaleData from '../LocaleData.js'; | ||
import _Calendars from './_Calendars.js'; | ||
var UniversalDate = BaseObject.extend('sap.ui.core.date.UniversalDate', { | ||
@@ -55,3 +56,3 @@ constructor: function () { | ||
} | ||
return sap.ui.requireSync('sap/ui/core/date/' + sCalendarType); | ||
return _Calendars.get(sCalendarType); | ||
}; | ||
@@ -58,0 +59,0 @@ [ |
{ | ||
"name": "@ui5/webcomponents-localization", | ||
"version": "0.0.0-538a79a92", | ||
"version": "0.0.0-538a79a93", | ||
"description": "Localization for UI5 Web Components", | ||
@@ -25,3 +25,3 @@ "author": "SAP SE (https://www.sap.com)", | ||
"devDependencies": { | ||
"@ui5/webcomponents-tools": "0.0.0-538a79a92", | ||
"@ui5/webcomponents-tools": "0.0.0-538a79a93", | ||
"@buxlabs/amd-to-es6": "^0.15.0", | ||
@@ -38,4 +38,4 @@ "@openui5/sap.ui.core": "1.76.0", | ||
"dependencies": { | ||
"@ui5/webcomponents-base": "0.0.0-538a79a92" | ||
"@ui5/webcomponents-base": "0.0.0-538a79a93" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
372665
8583558
+ Added@ui5/webcomponents-base@0.0.0-538a79a93(transitive)
- Removed@ui5/webcomponents-base@0.0.0-538a79a92(transitive)