@openui5/sap.ui.core 1.90.10 → 1.90.13
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.
- package/THIRDPARTY.txt +1 -1
- package/package.json +1 -1
- package/src/jquery.sap.global.js +1 -1
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +1 -1
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +2 -2
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +1 -1
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +1 -1
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/CustomizingConfiguration.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/Element.js +1 -1
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +1 -1
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +1 -1
- package/src/sap/ui/core/UIArea.js +1 -1
- package/src/sap/ui/core/UIComponent.js +1 -1
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +1 -1
- package/src/sap/ui/core/VariantLayoutData.js +1 -1
- package/src/sap/ui/core/XMLComposite.js +1 -1
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +3 -3
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/MessageTest.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/resource/ResourceModel.js +1 -1
- package/src/sap/ui/model/type/Boolean.js +1 -1
- package/src/sap/ui/model/type/Currency.js +1 -1
- package/src/sap/ui/model/type/Date.js +1 -1
- package/src/sap/ui/model/type/DateInterval.js +1 -1
- package/src/sap/ui/model/type/DateTime.js +1 -1
- package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
- package/src/sap/ui/model/type/FileSize.js +1 -1
- package/src/sap/ui/model/type/Float.js +1 -1
- package/src/sap/ui/model/type/Integer.js +1 -1
- package/src/sap/ui/model/type/String.js +1 -1
- package/src/sap/ui/model/type/Time.js +1 -1
- package/src/sap/ui/model/type/TimeInterval.js +1 -1
- package/src/sap/ui/model/type/Unit.js +1 -1
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/thirdparty/IPv6.js +1 -1
- package/src/sap/ui/thirdparty/SecondLevelDomains.js +1 -1
- package/src/sap/ui/thirdparty/URI.js +7 -3
- package/src/sap/ui/thirdparty/URITemplate.js +1 -1
- package/src/sap/ui/thirdparty/jqueryui/jquery-ui-datepicker.js +143 -3
- package/src/sap/ui/thirdparty/jqueryui/jquery-ui-position.js +8 -1
- package/src/sap/ui/thirdparty/jszip.js +18 -7
- package/src/sap/ui/util/Storage.js +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* URI.js - Mutating URLs
|
|
3
3
|
*
|
|
4
|
-
* Version: 1.19.
|
|
4
|
+
* Version: 1.19.10
|
|
5
5
|
*
|
|
6
6
|
* Author: Rodney Rehm
|
|
7
7
|
* Web: http://medialize.github.io/URI.js/
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
return /^[0-9]+$/.test(value);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
URI.version = '1.19.
|
|
93
|
+
URI.version = '1.19.10';
|
|
94
94
|
|
|
95
95
|
var p = URI.prototype;
|
|
96
96
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
@@ -248,6 +248,7 @@
|
|
|
248
248
|
// balanced parens inclusion (), [], {}, <>
|
|
249
249
|
parens: /(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g,
|
|
250
250
|
};
|
|
251
|
+
URI.leading_whitespace_expression = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/
|
|
251
252
|
// http://www.iana.org/assignments/uri-schemes.html
|
|
252
253
|
// http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers#Well-known_ports
|
|
253
254
|
URI.defaultPorts = {
|
|
@@ -503,6 +504,9 @@
|
|
|
503
504
|
preventInvalidHostname: URI.preventInvalidHostname
|
|
504
505
|
};
|
|
505
506
|
}
|
|
507
|
+
|
|
508
|
+
string = string.replace(URI.leading_whitespace_expression, '')
|
|
509
|
+
|
|
506
510
|
// [protocol"://"[username[":"password]"@"]hostname[":"port]"/"?][path]["?"querystring]["#"fragment]
|
|
507
511
|
|
|
508
512
|
// extract fragment
|
|
@@ -522,7 +526,7 @@
|
|
|
522
526
|
}
|
|
523
527
|
|
|
524
528
|
// slashes and backslashes have lost all meaning for the web protocols (https, http, wss, ws)
|
|
525
|
-
string = string.replace(/^(https?|ftp|wss?)
|
|
529
|
+
string = string.replace(/^(https?|ftp|wss?)?:+[/\\]*/i, '$1://');
|
|
526
530
|
|
|
527
531
|
// extract protocol
|
|
528
532
|
if (string.substring(0, 2) === '//') {
|
|
@@ -197,7 +197,12 @@ $.extend(Datepicker.prototype, {
|
|
|
197
197
|
inst.append.remove();
|
|
198
198
|
}
|
|
199
199
|
if (appendText) {
|
|
200
|
-
|
|
200
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
201
|
+
// inst.append = $("<span class='" + this._appendClass + "'>" + appendText + "</span>");
|
|
202
|
+
inst.append = $( "<span></span>" )
|
|
203
|
+
.addClass( this._appendClass )
|
|
204
|
+
.text( appendText );
|
|
205
|
+
// ##### END: MODIFIED BY SAP
|
|
201
206
|
input[isRTL ? "before" : "after"](inst.append);
|
|
202
207
|
}
|
|
203
208
|
|
|
@@ -220,12 +225,43 @@ $.extend(Datepicker.prototype, {
|
|
|
220
225
|
if (showOn === "button" || showOn === "both") { // pop-up date picker when button clicked
|
|
221
226
|
buttonText = this._get(inst, "buttonText");
|
|
222
227
|
buttonImage = this._get(inst, "buttonImage");
|
|
223
|
-
|
|
228
|
+
|
|
229
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
230
|
+
/*
|
|
231
|
+
inst.trigger = $( this._get(inst, "buttonImageOnly" ) ?
|
|
224
232
|
$("<img/>").addClass(this._triggerClass).
|
|
225
233
|
attr({ src: buttonImage, alt: buttonText, title: buttonText }) :
|
|
226
234
|
$("<button type='button'></button>").addClass(this._triggerClass).
|
|
227
235
|
html(!buttonImage ? buttonText : $("<img/>").attr(
|
|
228
236
|
{ src:buttonImage, alt:buttonText, title:buttonText })));
|
|
237
|
+
*/
|
|
238
|
+
|
|
239
|
+
if ( this._get( inst, "buttonImageOnly" ) ) {
|
|
240
|
+
inst.trigger = $( "<img>" )
|
|
241
|
+
.addClass( this._triggerClass )
|
|
242
|
+
.attr( {
|
|
243
|
+
src: buttonImage,
|
|
244
|
+
alt: buttonText,
|
|
245
|
+
title: buttonText
|
|
246
|
+
} );
|
|
247
|
+
} else {
|
|
248
|
+
inst.trigger = $( "<button type='button'></button>" )
|
|
249
|
+
.addClass( this._triggerClass );
|
|
250
|
+
if ( buttonImage ) {
|
|
251
|
+
inst.trigger.html(
|
|
252
|
+
$( "<img>" )
|
|
253
|
+
.attr( {
|
|
254
|
+
src: buttonImage,
|
|
255
|
+
alt: buttonText,
|
|
256
|
+
title: buttonText
|
|
257
|
+
} )
|
|
258
|
+
);
|
|
259
|
+
} else {
|
|
260
|
+
inst.trigger.text( buttonText );
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
// ##### END: MODIFIED BY SAP
|
|
264
|
+
|
|
229
265
|
input[isRTL ? "before" : "after"](inst.trigger);
|
|
230
266
|
inst.trigger.click(function() {
|
|
231
267
|
if ($.datepicker._datepickerShowing && $.datepicker._lastInput === input[0]) {
|
|
@@ -1040,7 +1076,10 @@ $.extend(Datepicker.prototype, {
|
|
|
1040
1076
|
altFormat = this._get(inst, "altFormat") || this._get(inst, "dateFormat");
|
|
1041
1077
|
date = this._getDate(inst);
|
|
1042
1078
|
dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));
|
|
1043
|
-
|
|
1079
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
1080
|
+
// $(altField).each(function() { $(this).val(dateStr); });
|
|
1081
|
+
$( document ).find( altField ).val( dateStr );
|
|
1082
|
+
// ##### END: MODIFIED BY SAP
|
|
1044
1083
|
}
|
|
1045
1084
|
},
|
|
1046
1085
|
|
|
@@ -1647,32 +1686,133 @@ $.extend(Datepicker.prototype, {
|
|
|
1647
1686
|
this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)),
|
|
1648
1687
|
this._getFormatConfig(inst)));
|
|
1649
1688
|
|
|
1689
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
1690
|
+
/*
|
|
1650
1691
|
prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
|
|
1651
1692
|
"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +
|
|
1652
1693
|
" title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>" :
|
|
1653
1694
|
(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+ prevText +"'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>"));
|
|
1695
|
+
*/
|
|
1696
|
+
|
|
1697
|
+
if ( this._canAdjustMonth( inst, -1, drawYear, drawMonth ) ) {
|
|
1698
|
+
prev = $( "<a></a>" )
|
|
1699
|
+
.attr( {
|
|
1700
|
+
"class": "ui-datepicker-prev ui-corner-all",
|
|
1701
|
+
"data-handler": "prev",
|
|
1702
|
+
"data-event": "click",
|
|
1703
|
+
title: prevText
|
|
1704
|
+
} )
|
|
1705
|
+
.append(
|
|
1706
|
+
$( "<span></span>" )
|
|
1707
|
+
.addClass( "ui-icon ui-icon-circle-triangle-" +
|
|
1708
|
+
( isRTL ? "e" : "w" ) )
|
|
1709
|
+
.text( prevText )
|
|
1710
|
+
)[ 0 ].outerHTML;
|
|
1711
|
+
} else if ( hideIfNoPrevNext ) {
|
|
1712
|
+
prev = "";
|
|
1713
|
+
} else {
|
|
1714
|
+
prev = $( "<a></a>" )
|
|
1715
|
+
.attr( {
|
|
1716
|
+
"class": "ui-datepicker-prev ui-corner-all ui-state-disabled",
|
|
1717
|
+
title: prevText
|
|
1718
|
+
} )
|
|
1719
|
+
.append(
|
|
1720
|
+
$( "<span></span>" )
|
|
1721
|
+
.addClass( "ui-icon ui-icon-circle-triangle-" +
|
|
1722
|
+
( isRTL ? "e" : "w" ) )
|
|
1723
|
+
.text( prevText )
|
|
1724
|
+
)[ 0 ].outerHTML;
|
|
1725
|
+
}
|
|
1726
|
+
// ##### END: MODIFIED BY SAP
|
|
1654
1727
|
|
|
1655
1728
|
nextText = this._get(inst, "nextText");
|
|
1656
1729
|
nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,
|
|
1657
1730
|
this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)),
|
|
1658
1731
|
this._getFormatConfig(inst)));
|
|
1659
1732
|
|
|
1733
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
1734
|
+
/*
|
|
1660
1735
|
next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
|
|
1661
1736
|
"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +
|
|
1662
1737
|
" title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>" :
|
|
1663
1738
|
(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+ nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>"));
|
|
1739
|
+
*/
|
|
1740
|
+
|
|
1741
|
+
if ( this._canAdjustMonth( inst, +1, drawYear, drawMonth ) ) {
|
|
1742
|
+
next = $( "<a></a>" )
|
|
1743
|
+
.attr( {
|
|
1744
|
+
"class": "ui-datepicker-next ui-corner-all",
|
|
1745
|
+
"data-handler": "next",
|
|
1746
|
+
"data-event": "click",
|
|
1747
|
+
title: nextText
|
|
1748
|
+
} )
|
|
1749
|
+
.append(
|
|
1750
|
+
$( "<span></span>" )
|
|
1751
|
+
.addClass( "ui-icon ui-icon-circle-triangle-" +
|
|
1752
|
+
( isRTL ? "w" : "e" ) )
|
|
1753
|
+
.text( nextText )
|
|
1754
|
+
)[ 0 ].outerHTML;
|
|
1755
|
+
} else if ( hideIfNoPrevNext ) {
|
|
1756
|
+
next = "";
|
|
1757
|
+
} else {
|
|
1758
|
+
next = $( "<a></a>" )
|
|
1759
|
+
.attr( {
|
|
1760
|
+
"class": "ui-datepicker-next ui-corner-all ui-state-disabled",
|
|
1761
|
+
title: nextText
|
|
1762
|
+
} )
|
|
1763
|
+
.append(
|
|
1764
|
+
$( "<span></span>" )
|
|
1765
|
+
.attr( "class", "ui-icon ui-icon-circle-triangle-" +
|
|
1766
|
+
( isRTL ? "w" : "e" ) )
|
|
1767
|
+
.text( nextText )
|
|
1768
|
+
)[ 0 ].outerHTML;
|
|
1769
|
+
}
|
|
1770
|
+
// ##### END: MODIFIED BY SAP
|
|
1664
1771
|
|
|
1665
1772
|
currentText = this._get(inst, "currentText");
|
|
1666
1773
|
gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today);
|
|
1667
1774
|
currentText = (!navigationAsDateFormat ? currentText :
|
|
1668
1775
|
this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));
|
|
1669
1776
|
|
|
1777
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
1778
|
+
/*
|
|
1670
1779
|
controls = (!inst.inline ? "<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>" +
|
|
1671
1780
|
this._get(inst, "closeText") + "</button>" : "");
|
|
1672
1781
|
|
|
1673
1782
|
buttonPanel = (showButtonPanel) ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + (isRTL ? controls : "") +
|
|
1674
1783
|
(this._isInRange(inst, gotoDate) ? "<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'" +
|
|
1675
1784
|
">" + currentText + "</button>" : "") + (isRTL ? "" : controls) + "</div>" : "";
|
|
1785
|
+
*/
|
|
1786
|
+
|
|
1787
|
+
controls = "";
|
|
1788
|
+
if ( !inst.inline ) {
|
|
1789
|
+
controls = $( "<button></button>" )
|
|
1790
|
+
.attr( {
|
|
1791
|
+
type: "button",
|
|
1792
|
+
"class": "ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all",
|
|
1793
|
+
"data-handler": "hide",
|
|
1794
|
+
"data-event": "click"
|
|
1795
|
+
} )
|
|
1796
|
+
.text( this._get( inst, "closeText" ) )[ 0 ].outerHTML;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
buttonPanel = "";
|
|
1800
|
+
if ( showButtonPanel ) {
|
|
1801
|
+
buttonPanel = $( "<div class='ui-datepicker-buttonpane ui-widget-content'></div>" )
|
|
1802
|
+
.append( isRTL ? controls : "" )
|
|
1803
|
+
.append( this._isInRange( inst, gotoDate ) ?
|
|
1804
|
+
$( "<button></button>" )
|
|
1805
|
+
.attr( {
|
|
1806
|
+
type: "button",
|
|
1807
|
+
"class": "ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all",
|
|
1808
|
+
"data-handler": "today",
|
|
1809
|
+
"data-event": "click"
|
|
1810
|
+
} )
|
|
1811
|
+
.text( currentText ) :
|
|
1812
|
+
"" )
|
|
1813
|
+
.append( isRTL ? "" : controls )[ 0 ].outerHTML;
|
|
1814
|
+
}
|
|
1815
|
+
// ##### END: MODIFIED BY SAP
|
|
1676
1816
|
|
|
1677
1817
|
firstDay = parseInt(this._get(inst, "firstDay"),10);
|
|
1678
1818
|
firstDay = (isNaN(firstDay) ? 0 : firstDay);
|
|
@@ -152,7 +152,14 @@ $.fn.position = function( options ) {
|
|
|
152
152
|
options = $.extend( {}, options );
|
|
153
153
|
|
|
154
154
|
var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
|
|
155
|
-
|
|
155
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
156
|
+
// target = $( options.of ),
|
|
157
|
+
|
|
158
|
+
// Make sure string options are treated as CSS selectors
|
|
159
|
+
target = typeof options.of === "string" ?
|
|
160
|
+
$( document ).find( options.of ) :
|
|
161
|
+
$( options.of ),
|
|
162
|
+
// ##### END: MODIFIED BY SAP
|
|
156
163
|
within = $.position.getWithinInfo( options.within ),
|
|
157
164
|
scrollInfo = $.position.getScrollInfo( within ),
|
|
158
165
|
collision = ( options.collision || "flip" ).split( " " ),
|
|
@@ -292,7 +292,14 @@ function JSZip(data, options) {
|
|
|
292
292
|
// "folder/" : {...},
|
|
293
293
|
// "folder/data.txt" : {...}
|
|
294
294
|
// }
|
|
295
|
-
|
|
295
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
296
|
+
// gh-762
|
|
297
|
+
// this.files = {};
|
|
298
|
+
// NOTE: we use a null prototype because we do not
|
|
299
|
+
// want filenames like "toString" coming from a zip file
|
|
300
|
+
// to overwrite methods and attributes in a normal Object.
|
|
301
|
+
this.files = Object.create(null);
|
|
302
|
+
// ##### END: MODIFIED BY SAP
|
|
296
303
|
|
|
297
304
|
// Where we are in the hierarchy
|
|
298
305
|
this.root = "";
|
|
@@ -905,9 +912,11 @@ var out = {
|
|
|
905
912
|
var result = [],
|
|
906
913
|
filename, relativePath, file, fileClone;
|
|
907
914
|
for (filename in this.files) {
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
915
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
916
|
+
// if (!this.files.hasOwnProperty(filename)) {
|
|
917
|
+
// continue;
|
|
918
|
+
// }
|
|
919
|
+
// ##### END: MODIFIED BY SAP
|
|
911
920
|
file = this.files[filename];
|
|
912
921
|
// return a new object, don't let the user mess with our internal objects :)
|
|
913
922
|
fileClone = new ZipObject(file.name, file._data, extend(file.options));
|
|
@@ -1036,9 +1045,11 @@ var out = {
|
|
|
1036
1045
|
|
|
1037
1046
|
// first, generate all the zip parts.
|
|
1038
1047
|
for (var name in this.files) {
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1048
|
+
// ##### BEGIN: MODIFIED BY SAP
|
|
1049
|
+
// if (!this.files.hasOwnProperty(name)) {
|
|
1050
|
+
// continue;
|
|
1051
|
+
// }
|
|
1052
|
+
// ##### END: MODIFIED BY SAP
|
|
1042
1053
|
var file = this.files[name];
|
|
1043
1054
|
|
|
1044
1055
|
var compressionName = file.options.compression || options.compression.toUpperCase();
|