@ui5/webcomponents-core
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -6,2 +6,9 @@ # Change Log | ||
# [0.16.0](https://github.com/SAP/ui5-webcomponents/compare/v0.15.0...v0.16.0) (2019-10-03) | ||
**Note:** Version bump only for package @ui5/webcomponents-core | ||
# [0.15.0](https://github.com/SAP/ui5-webcomponents/compare/v0.14.0...v0.15.0) (2019-07-04) | ||
@@ -8,0 +15,0 @@ |
@@ -13,3 +13,3 @@ import jQuery from '../thirdparty/jquery.js'; | ||
import assert from '../../base/assert.js'; | ||
import LocaleData from './LocaleData.js'; | ||
var LocaleData; | ||
var Configuration = BaseObject.extend('sap.ui.core.Configuration', { | ||
@@ -176,15 +176,2 @@ constructor: function (oCore) { | ||
}, | ||
'xx-wc-no-conflict': { | ||
type: 'object', | ||
defaultValue: undefined, | ||
noUrl: true | ||
}, | ||
'xx-wc-force-default-gestures': { | ||
type: 'boolean', | ||
defaultValue: false | ||
}, | ||
'compactSize': { | ||
type: 'boolean', | ||
defaultValue: false | ||
}, | ||
'xx-rootComponentNode': { | ||
@@ -279,6 +266,2 @@ type: 'string', | ||
'xx-waitForTheme': { | ||
type: 'boolean', | ||
defaultValue: false | ||
}, | ||
'xx-xml-processing': { | ||
type: 'string', | ||
@@ -557,2 +540,8 @@ defaultValue: '' | ||
} | ||
if (config['xx-waitForTheme'] === 'true') { | ||
config['xx-waitForTheme'] = 'rendering'; | ||
} | ||
if (config['xx-waitForTheme'] !== 'rendering' && config['xx-waitForTheme'] !== 'init') { | ||
config['xx-waitForTheme'] = undefined; | ||
} | ||
for (var n in M_SETTINGS) { | ||
@@ -632,9 +621,2 @@ if (config[n] !== M_SETTINGS[n].defaultValue) { | ||
}, | ||
getXMLProcessingMode: function () { | ||
return this['xx-xml-processing']; | ||
}, | ||
setXMLProcessingMode: function (sMode) { | ||
this['xx-xml-processing'] = sMode; | ||
return this; | ||
}, | ||
isUI5CacheOn: function () { | ||
@@ -659,6 +641,4 @@ return this['xx-cache-use']; | ||
var sName; | ||
if (!CalendarType) { | ||
Global.getCore().loadLibrary('sap.ui.core'); | ||
} | ||
if (!LocaleData) { | ||
LocaleData = sap.ui.requireSync('sap/ui/core/LocaleData'); | ||
} | ||
@@ -753,11 +733,2 @@ if (this.calendarType) { | ||
}, | ||
getWCNoConflict: function () { | ||
return this['xx-wc-no-conflict']; | ||
}, | ||
getWCForceDefaultGestures: function () { | ||
return this['xx-wc-force-default-gestures']; | ||
}, | ||
getCompactSize: function () { | ||
return this['compactSize']; | ||
}, | ||
setRTL: function (bRTL) { | ||
@@ -764,0 +735,0 @@ check(bRTL === null || typeof bRTL === 'boolean', 'bRTL must be null or a boolean'); |
@@ -208,3 +208,3 @@ import BaseObject from '../../base/Object.js'; | ||
function getFirstDayOfFirstWeek(clDate, iYear) { | ||
var oLocale = sap.ui.getWCCore().getFormatSettings().getFormatLocale(), oLocaleData = LocaleData.getInstance(oLocale), iMinDays = oLocaleData.getMinimalDaysInFirstWeek(), iFirstDayOfWeek = oLocaleData.getFirstDayOfWeek(), oFirstDay = new clDate(clDate.UTC(iYear, 0, 1)), iDayCount = 7; | ||
var oLocale = sap.ui.getWCCore().getFormatSettings().getFormatLocale(), oLocaleData = LocaleData.getInstance(oLocale), iMinDays = oLocaleData.getMinimalDaysInFirstWeek(), iFirstDayOfWeek = sap.ui.getConfiguration().getFirstDateOfWeek() || oLocaleData.getFirstDayOfWeek(), oFirstDay = new clDate(clDate.UTC(iYear, 0, 1)), iDayCount = 7; | ||
while (oFirstDay.getUTCDay() !== iFirstDayOfWeek) { | ||
@@ -211,0 +211,0 @@ oFirstDay.setUTCDate(oFirstDay.getUTCDate() - 1); |
{ | ||
"name": "@ui5/webcomponents-core", | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"description": "UI5 Web Components: webcomponents.core", | ||
@@ -5,0 +5,0 @@ "author": "SAP SE (https://www.sap.com)", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10656813
399850