@openui5/sap.ui.commons 1.90.6 → 1.93.1
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/.reuse/dep5 +41 -0
- package/THIRDPARTY.txt +49 -0
- package/package.json +4 -4
- package/src/sap/ui/commons/.library +1 -1
- package/src/sap/ui/commons/Accordion.js +2 -1
- package/src/sap/ui/commons/AccordionSection.js +6 -5
- package/src/sap/ui/commons/ApplicationHeader.js +4 -3
- package/src/sap/ui/commons/Area.js +2 -1
- package/src/sap/ui/commons/AutoComplete.js +2 -1
- package/src/sap/ui/commons/Button.js +3 -2
- package/src/sap/ui/commons/ButtonRenderer.js +2 -12
- package/src/sap/ui/commons/Callout.js +2 -1
- package/src/sap/ui/commons/CalloutBase.js +2 -1
- package/src/sap/ui/commons/Carousel.js +2 -1
- package/src/sap/ui/commons/CheckBox.js +2 -1
- package/src/sap/ui/commons/ColorPicker.js +1 -1
- package/src/sap/ui/commons/ComboBox.js +21 -28
- package/src/sap/ui/commons/DatePicker.js +5 -4
- package/src/sap/ui/commons/Dialog.js +2 -1
- package/src/sap/ui/commons/DropdownBox.js +20 -44
- package/src/sap/ui/commons/FileUploader.js +1 -1
- package/src/sap/ui/commons/FileUploaderParameter.js +1 -1
- package/src/sap/ui/commons/FormattedTextView.js +2 -1
- package/src/sap/ui/commons/HorizontalDivider.js +2 -1
- package/src/sap/ui/commons/Image.js +2 -1
- package/src/sap/ui/commons/ImageMap.js +7 -33
- package/src/sap/ui/commons/InPlaceEdit.js +4 -3
- package/src/sap/ui/commons/Label.js +5 -4
- package/src/sap/ui/commons/Link.js +2 -1
- package/src/sap/ui/commons/ListBox.js +3 -16
- package/src/sap/ui/commons/ListBoxRenderer.js +4 -21
- package/src/sap/ui/commons/Menu.js +1 -1
- package/src/sap/ui/commons/MenuBar.js +2 -1
- package/src/sap/ui/commons/MenuButton.js +2 -1
- package/src/sap/ui/commons/MenuItem.js +1 -1
- package/src/sap/ui/commons/MenuItemBase.js +1 -1
- package/src/sap/ui/commons/MenuTextFieldItem.js +1 -1
- package/src/sap/ui/commons/Message.js +1 -1
- package/src/sap/ui/commons/MessageBar.js +3 -3
- package/src/sap/ui/commons/MessageBox.js +1 -1
- package/src/sap/ui/commons/MessageList.js +1 -1
- package/src/sap/ui/commons/MessageToast.js +3 -3
- package/src/sap/ui/commons/Paginator.js +2 -1
- package/src/sap/ui/commons/Panel.js +2 -1
- package/src/sap/ui/commons/PasswordField.js +3 -2
- package/src/sap/ui/commons/ProgressIndicator.js +2 -1
- package/src/sap/ui/commons/RadioButton.js +2 -1
- package/src/sap/ui/commons/RadioButtonGroup.js +4 -3
- package/src/sap/ui/commons/RangeSlider.js +2 -1
- package/src/sap/ui/commons/RatingIndicator.js +8 -26
- package/src/sap/ui/commons/ResponsiveContainer.js +2 -1
- package/src/sap/ui/commons/ResponsiveContainerRange.js +2 -1
- package/src/sap/ui/commons/RichTooltip.js +2 -1
- package/src/sap/ui/commons/RoadMap.js +2 -1
- package/src/sap/ui/commons/RoadMapRenderer.js +1 -1
- package/src/sap/ui/commons/RoadMapStep.js +2 -1
- package/src/sap/ui/commons/RowRepeater.js +4 -3
- package/src/sap/ui/commons/RowRepeaterFilter.js +2 -1
- package/src/sap/ui/commons/RowRepeaterSorter.js +2 -1
- package/src/sap/ui/commons/SearchField.js +2 -1
- package/src/sap/ui/commons/SearchProvider.js +1 -1
- package/src/sap/ui/commons/SegmentedButton.js +2 -1
- package/src/sap/ui/commons/Slider.js +2 -1
- package/src/sap/ui/commons/Splitter.js +2 -1
- package/src/sap/ui/commons/Tab.js +3 -2
- package/src/sap/ui/commons/TabStrip.js +2 -1
- package/src/sap/ui/commons/TextArea.js +2 -1
- package/src/sap/ui/commons/TextAreaRenderer.js +4 -4
- package/src/sap/ui/commons/TextField.js +13 -64
- package/src/sap/ui/commons/TextFieldRenderer.js +1 -1
- package/src/sap/ui/commons/TextView.js +2 -1
- package/src/sap/ui/commons/Title.js +1 -1
- package/src/sap/ui/commons/ToggleButton.js +3 -2
- package/src/sap/ui/commons/Toolbar.js +2 -1
- package/src/sap/ui/commons/ToolbarSeparator.js +2 -1
- package/src/sap/ui/commons/Tree.js +3 -1
- package/src/sap/ui/commons/TreeNode.js +2 -1
- package/src/sap/ui/commons/TriStateCheckBox.js +2 -1
- package/src/sap/ui/commons/ValueHelpField.js +2 -1
- package/src/sap/ui/commons/form/Form.js +1 -1
- package/src/sap/ui/commons/form/FormContainer.js +1 -1
- package/src/sap/ui/commons/form/FormElement.js +1 -1
- package/src/sap/ui/commons/form/FormLayout.js +1 -1
- package/src/sap/ui/commons/form/GridContainerData.js +1 -1
- package/src/sap/ui/commons/form/GridElementData.js +1 -1
- package/src/sap/ui/commons/form/GridLayout.js +1 -1
- package/src/sap/ui/commons/form/ResponsiveLayout.js +1 -1
- package/src/sap/ui/commons/form/SimpleForm.js +1 -1
- package/src/sap/ui/commons/layout/AbsoluteLayout.js +2 -1
- package/src/sap/ui/commons/layout/BorderLayout.js +2 -1
- package/src/sap/ui/commons/layout/BorderLayoutArea.js +2 -1
- package/src/sap/ui/commons/layout/HorizontalLayout.js +2 -1
- package/src/sap/ui/commons/layout/MatrixLayout.js +2 -1
- package/src/sap/ui/commons/layout/MatrixLayoutCell.js +2 -1
- package/src/sap/ui/commons/layout/MatrixLayoutRenderer.js +2 -35
- package/src/sap/ui/commons/layout/MatrixLayoutRow.js +2 -1
- package/src/sap/ui/commons/layout/PositionContainer.js +2 -1
- package/src/sap/ui/commons/layout/ResponsiveFlowLayout.js +1 -1
- package/src/sap/ui/commons/layout/ResponsiveFlowLayoutData.js +1 -1
- package/src/sap/ui/commons/layout/VerticalLayout.js +1 -1
- package/src/sap/ui/commons/library.js +3 -2
- package/src/sap/ui/commons/messagebundle_de.properties +2 -2
- package/src/sap/ui/commons/themes/base/ControlsInUITable.less +0 -4
package/.reuse/dep5
CHANGED
|
@@ -352,6 +352,11 @@ Copyright: 2006 Google Inc.
|
|
|
352
352
|
License: Apache-2.0
|
|
353
353
|
Comment: these files belong to: google-code-prettify
|
|
354
354
|
|
|
355
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
|
|
356
|
+
Copyright: 2006-2020, Ivan Sagalaev
|
|
357
|
+
License: BSD-3-Clause
|
|
358
|
+
Comment: these files belong to: highlight.js
|
|
359
|
+
|
|
355
360
|
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
|
|
356
361
|
Copyright: 2017 Wei Song and Oliver Nightingale
|
|
357
362
|
License: MIT
|
|
@@ -411,6 +416,35 @@ License: Apache-2.0 and MIT
|
|
|
411
416
|
Comment: these files contain content from SAP and BooleanExpressionEvaluator: BoolExprTool.js is authored by SAP, but partly inspired by BooleanExpressionEvaluator
|
|
412
417
|
|
|
413
418
|
|
|
419
|
+
# Library: sap.ui.webc.common:
|
|
420
|
+
|
|
421
|
+
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theme-base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
422
|
+
Copyright: SAP
|
|
423
|
+
License: Apache-2.0
|
|
424
|
+
Comment: these files belong to: UI5 Web Components
|
|
425
|
+
|
|
426
|
+
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/*.*
|
|
427
|
+
Copyright: Google LLC
|
|
428
|
+
License: BSD-3-Clause
|
|
429
|
+
Comment: these files belong to: lit-html
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
# Library: sap.ui.webc.fiori:
|
|
433
|
+
|
|
434
|
+
Files: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
|
|
435
|
+
Copyright: SAP
|
|
436
|
+
License: Apache-2.0
|
|
437
|
+
Comment: these files belong to: UI5 Web Components
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
# Library: sap.ui.webc.main:
|
|
441
|
+
|
|
442
|
+
Files: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
|
|
443
|
+
Copyright: SAP
|
|
444
|
+
License: Apache-2.0
|
|
445
|
+
Comment: these files belong to: UI5 Web Components
|
|
446
|
+
|
|
447
|
+
|
|
414
448
|
# Outside of Libraries:
|
|
415
449
|
|
|
416
450
|
Files: src/testsuite-utils/src/main/resources/META-INF/less/less.js
|
|
@@ -423,3 +457,10 @@ Copyright: 2015-2017 Evgeny Poberezkin
|
|
|
423
457
|
License: MIT
|
|
424
458
|
Comment: these files belong to: ajv
|
|
425
459
|
|
|
460
|
+
Files: lib/jsdoc/ui5/plugin.js
|
|
461
|
+
Copyright:
|
|
462
|
+
2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
463
|
+
2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
464
|
+
License: Apache-2.0
|
|
465
|
+
Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
|
|
466
|
+
|
package/THIRDPARTY.txt
CHANGED
|
@@ -330,6 +330,12 @@ License: Apache-2.0
|
|
|
330
330
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
331
331
|
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
|
|
332
332
|
|
|
333
|
+
Component: highlight.js, version: 10.4.1
|
|
334
|
+
Copyright: 2006-2020, Ivan Sagalaev
|
|
335
|
+
License: BSD-3-Clause
|
|
336
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
337
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
|
|
338
|
+
|
|
333
339
|
Component: Elasticlunr, version: 0.9.5
|
|
334
340
|
Copyright: 2017 Wei Song and Oliver Nightingale
|
|
335
341
|
License: MIT
|
|
@@ -399,6 +405,43 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
|
399
405
|
Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
|
|
400
406
|
|
|
401
407
|
|
|
408
|
+
Library: sap.ui.webc.common:
|
|
409
|
+
|
|
410
|
+
Component: UI5 Web Components, version: 1.0.0-rc.12
|
|
411
|
+
Copyright: SAP
|
|
412
|
+
License: Apache-2.0
|
|
413
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
414
|
+
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
|
|
415
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theme-base/*.*
|
|
416
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
|
|
417
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
|
|
418
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
419
|
+
|
|
420
|
+
Component: lit-html, version: 1.4.1
|
|
421
|
+
Copyright: Google LLC
|
|
422
|
+
License: BSD-3-Clause
|
|
423
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
424
|
+
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/*.*
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
Library: sap.ui.webc.fiori:
|
|
428
|
+
|
|
429
|
+
Component: UI5 Web Components, version: 1.0.0-rc.12
|
|
430
|
+
Copyright: SAP
|
|
431
|
+
License: Apache-2.0
|
|
432
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
433
|
+
Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
Library: sap.ui.webc.main:
|
|
437
|
+
|
|
438
|
+
Component: UI5 Web Components, version: 1.0.0-rc.12
|
|
439
|
+
Copyright: SAP
|
|
440
|
+
License: Apache-2.0
|
|
441
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
442
|
+
Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
|
|
443
|
+
|
|
444
|
+
|
|
402
445
|
Outside of Libraries:
|
|
403
446
|
|
|
404
447
|
Component: LESS, version: 1.6.3
|
|
@@ -413,6 +456,12 @@ License: MIT
|
|
|
413
456
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
414
457
|
Contained in: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
|
|
415
458
|
|
|
459
|
+
Component: JSDoc 3, version: 3.6.7
|
|
460
|
+
Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
461
|
+
License: Apache-2.0
|
|
462
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
463
|
+
Contained in: lib/jsdoc/ui5/plugin.js
|
|
464
|
+
|
|
416
465
|
|
|
417
466
|
ALL LICENSE TEXTS:
|
|
418
467
|
==================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.commons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.93.1",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.commons",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
18
|
-
"@openui5/sap.ui.layout": "1.
|
|
19
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.93.1",
|
|
18
|
+
"@openui5/sap.ui.layout": "1.93.1",
|
|
19
|
+
"@openui5/sap.ui.unified": "1.93.1"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.93.1</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Common basic controls, mainly intended for desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.core.Control
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.93.1
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -43,6 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
var Accordion = Control.extend("sap.ui.commons.Accordion", /** @lends sap.ui.commons.Accordion.prototype */ { metadata : {
|
|
44
44
|
|
|
45
45
|
library : "sap.ui.commons",
|
|
46
|
+
deprecated: true,
|
|
46
47
|
properties : {
|
|
47
48
|
|
|
48
49
|
/**
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
|
|
|
22
22
|
* @extends sap.ui.core.Element
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.93.1
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
@@ -33,6 +33,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
|
|
|
33
33
|
var AccordionSection = Element.extend("sap.ui.commons.AccordionSection", /** @lends sap.ui.commons.AccordionSection.prototype */ { metadata : {
|
|
34
34
|
|
|
35
35
|
library : "sap.ui.commons",
|
|
36
|
+
deprecated: true,
|
|
36
37
|
properties : {
|
|
37
38
|
|
|
38
39
|
/**
|
|
@@ -140,12 +141,12 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
|
|
|
140
141
|
this.onAfterRendering();
|
|
141
142
|
}
|
|
142
143
|
|
|
143
|
-
}
|
|
144
|
+
};
|
|
144
145
|
|
|
145
146
|
/**
|
|
146
147
|
* Adapts size settings of the rendered HTML
|
|
147
148
|
* @private
|
|
148
|
-
|
|
149
|
+
*/
|
|
149
150
|
AccordionSection.prototype.onAfterRendering = function () {
|
|
150
151
|
|
|
151
152
|
this.oScrollDomRef = this.getDomRef("cont");
|
|
@@ -311,7 +312,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
|
|
|
311
312
|
*/
|
|
312
313
|
AccordionSection._isSizeSet = function(sCssSize) {
|
|
313
314
|
return (sCssSize && !(sCssSize === "auto") && !(sCssSize === "inherit"));
|
|
314
|
-
}
|
|
315
|
+
};
|
|
315
316
|
|
|
316
317
|
|
|
317
318
|
/* Event Handling */
|
|
@@ -321,7 +322,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
|
|
|
321
322
|
*
|
|
322
323
|
* @param {jQuery.Event} oEvent . Current event which is processed
|
|
323
324
|
* @private
|
|
324
|
-
|
|
325
|
+
*/
|
|
325
326
|
AccordionSection.prototype._handleTrigger = function(oEvent) {
|
|
326
327
|
// minimize button toggled
|
|
327
328
|
if ((oEvent.target.id === this.getId() + "-minL") ||
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* @class
|
|
42
42
|
* The application header control stands on the top of any application page. It consists of 4 areas: Logo area, Function area provided by application, Search area, Logout area.
|
|
43
43
|
* @extends sap.ui.core.Control
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.93.1
|
|
45
45
|
*
|
|
46
46
|
* @constructor
|
|
47
47
|
* @public
|
|
@@ -52,6 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
var ApplicationHeader = Control.extend("sap.ui.commons.ApplicationHeader", /** @lends sap.ui.commons.ApplicationHeader.prototype */ { metadata : {
|
|
53
53
|
|
|
54
54
|
library : "sap.ui.commons",
|
|
55
|
+
deprecated: true,
|
|
55
56
|
properties : {
|
|
56
57
|
|
|
57
58
|
/**
|
|
@@ -142,14 +143,14 @@ sap.ui.define([
|
|
|
142
143
|
this.oLogoffBtn.attachPress(this.logoff,this);
|
|
143
144
|
this.oLogoffBtn.setParent(this);
|
|
144
145
|
this.oLogoffBtn.setLite(true);
|
|
145
|
-
}
|
|
146
|
+
};
|
|
146
147
|
|
|
147
148
|
|
|
148
149
|
/**
|
|
149
150
|
* This event is fired when the user clicks on the Log Off button
|
|
150
151
|
* @param oEvent The event triggered
|
|
151
152
|
* @private
|
|
152
|
-
|
|
153
|
+
*/
|
|
153
154
|
ApplicationHeader.prototype.logoff = function(oEvent){
|
|
154
155
|
this.fireLogoff();
|
|
155
156
|
};
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/thirdparty/jquery', './library', 'sap/ui/core/Element', '
|
|
|
22
22
|
* @extends sap.ui.core.Element
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.93.1
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
@@ -33,6 +33,7 @@ sap.ui.define(['sap/ui/thirdparty/jquery', './library', 'sap/ui/core/Element', '
|
|
|
33
33
|
var Area = Element.extend("sap.ui.commons.Area", /** @lends sap.ui.commons.Area.prototype */ { metadata : {
|
|
34
34
|
|
|
35
35
|
library : "sap.ui.commons",
|
|
36
|
+
deprecated: true,
|
|
36
37
|
properties : {
|
|
37
38
|
|
|
38
39
|
/**
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @implements sap.ui.commons.ToolbarItem
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.93.1
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -47,6 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
"sap.ui.commons.ToolbarItem"
|
|
48
48
|
],
|
|
49
49
|
library : "sap.ui.commons",
|
|
50
|
+
deprecated: true,
|
|
50
51
|
properties : {
|
|
51
52
|
|
|
52
53
|
/**
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @implements sap.ui.commons.ToolbarItem, sap.ui.core.IFormContent
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.93.1
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -50,6 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
"sap.ui.core.IFormContent"
|
|
51
51
|
],
|
|
52
52
|
library : "sap.ui.commons",
|
|
53
|
+
deprecated: true,
|
|
53
54
|
properties : {
|
|
54
55
|
|
|
55
56
|
/**
|
|
@@ -342,7 +343,7 @@ sap.ui.define([
|
|
|
342
343
|
|
|
343
344
|
/**
|
|
344
345
|
* @see sap.ui.core.Control#getAccessibilityInfo
|
|
345
|
-
* @returns {
|
|
346
|
+
* @returns {object} Current accessibility state of the control.
|
|
346
347
|
* @protected
|
|
347
348
|
*/
|
|
348
349
|
Button.prototype.getAccessibilityInfo = function() {
|
|
@@ -8,9 +8,8 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'sap/ui/commons/library',
|
|
10
10
|
'sap/ui/core/IconPool',
|
|
11
|
-
'sap/ui/Device',
|
|
12
11
|
'sap/base/security/encodeXML'
|
|
13
|
-
], function(library, IconPool,
|
|
12
|
+
], function(library, IconPool, encodeXML) {
|
|
14
13
|
"use strict";
|
|
15
14
|
|
|
16
15
|
|
|
@@ -20,7 +19,7 @@ sap.ui.define([
|
|
|
20
19
|
|
|
21
20
|
/**
|
|
22
21
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
22
|
+
* @version 1.93.1
|
|
24
23
|
* @namespace
|
|
25
24
|
*/
|
|
26
25
|
var ButtonRenderer = {
|
|
@@ -103,12 +102,6 @@ sap.ui.define([
|
|
|
103
102
|
this.renderButtonAttributes(rm, oButton);
|
|
104
103
|
}
|
|
105
104
|
|
|
106
|
-
// feature-dependent CSS class, written for browsers not understanding CSS gradients (=IE8, IE9)
|
|
107
|
-
// required to avoid a large number of browser selectors which is needed to NOT serve filter:... to IE10
|
|
108
|
-
if (Device.browser.msie && (!document.documentMode || document.documentMode < 10)) {
|
|
109
|
-
rm.addClass("sapUiBtnNoGradient");
|
|
110
|
-
}
|
|
111
|
-
|
|
112
105
|
rm.writeClasses();
|
|
113
106
|
|
|
114
107
|
rm.write(">");
|
|
@@ -182,9 +175,6 @@ sap.ui.define([
|
|
|
182
175
|
ButtonRenderer.onblur = function(oButton) {
|
|
183
176
|
oButton.$().removeClass("sapUiBtnFoc");
|
|
184
177
|
oButton.$("img").attr("src", this._getIconForState(oButton, "blur"));
|
|
185
|
-
if (Device.browser.msie) {
|
|
186
|
-
ButtonRenderer.onmouseout(oButton);
|
|
187
|
-
}
|
|
188
178
|
};
|
|
189
179
|
|
|
190
180
|
/**
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['./CalloutBase', './library', './CalloutRenderer'],
|
|
|
22
22
|
* @extends sap.ui.commons.CalloutBase
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.93.1
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
@@ -33,6 +33,7 @@ sap.ui.define(['./CalloutBase', './library', './CalloutRenderer'],
|
|
|
33
33
|
var Callout = CalloutBase.extend("sap.ui.commons.Callout", /** @lends sap.ui.commons.Callout.prototype */ { metadata : {
|
|
34
34
|
|
|
35
35
|
library : "sap.ui.commons",
|
|
36
|
+
deprecated: true,
|
|
36
37
|
aggregations : {
|
|
37
38
|
|
|
38
39
|
/**
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @extends sap.ui.core.TooltipBase
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.93.1
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
@@ -49,6 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
var CalloutBase = TooltipBase.extend("sap.ui.commons.CalloutBase", /** @lends sap.ui.commons.CalloutBase.prototype */ { metadata : {
|
|
50
50
|
|
|
51
51
|
library : "sap.ui.commons",
|
|
52
|
+
deprecated: true,
|
|
52
53
|
events : {
|
|
53
54
|
|
|
54
55
|
/**
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @extends sap.ui.core.Control
|
|
43
43
|
*
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.93.1
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -54,6 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
var Carousel = Control.extend("sap.ui.commons.Carousel", /** @lends sap.ui.commons.Carousel.prototype */ { metadata : {
|
|
55
55
|
|
|
56
56
|
library : "sap.ui.commons",
|
|
57
|
+
deprecated: true,
|
|
57
58
|
properties : {
|
|
58
59
|
|
|
59
60
|
/**
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @implements sap.ui.core.IFormContent
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.93.1
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
@@ -49,6 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
var CheckBox = Control.extend("sap.ui.commons.CheckBox", /** @lends sap.ui.commons.CheckBox.prototype */ { metadata : {
|
|
50
50
|
|
|
51
51
|
library : "sap.ui.commons",
|
|
52
|
+
deprecated: true,
|
|
52
53
|
properties : {
|
|
53
54
|
|
|
54
55
|
/**
|
|
@@ -6,23 +6,23 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.ui.commons.ComboBox.
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
9
|
+
'sap/ui/thirdparty/jquery',
|
|
10
|
+
'./TextField',
|
|
11
|
+
'./library',
|
|
12
|
+
'sap/ui/Device',
|
|
13
|
+
'sap/ui/core/Popup',
|
|
14
|
+
'./ComboBoxRenderer',
|
|
15
|
+
'sap/ui/core/library',
|
|
16
|
+
'./ListBox',
|
|
17
|
+
'sap/ui/base/Event',
|
|
18
|
+
'sap/ui/dom/containsOrEquals',
|
|
19
|
+
'sap/ui/events/KeyCodes',
|
|
20
|
+
'sap/ui/events/jquery/EventExtension',
|
|
21
|
+
'sap/ui/dom/jquery/rect', // jQuery Plugin "rect"
|
|
22
|
+
'sap/ui/dom/jquery/selectText', // jQuery.fn.selectText
|
|
23
|
+
'jquery.sap.strings' // jQuery.sap.startsWithIgnoreCase
|
|
24
24
|
],
|
|
25
|
-
function(jQuery, TextField, library, Popup, ComboBoxRenderer, coreLibrary,
|
|
25
|
+
function(jQuery, TextField, library, Device, Popup, ComboBoxRenderer, coreLibrary, ListBox, Event, containsOrEquals, KeyCodes, EventExtension) {
|
|
26
26
|
"use strict";
|
|
27
27
|
|
|
28
28
|
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @implements sap.ui.commons.ToolbarItem
|
|
45
45
|
*
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.93.1
|
|
48
48
|
*
|
|
49
49
|
* @constructor
|
|
50
50
|
* @public
|
|
@@ -58,6 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
"sap.ui.commons.ToolbarItem"
|
|
59
59
|
],
|
|
60
60
|
library : "sap.ui.commons",
|
|
61
|
+
deprecated: true,
|
|
61
62
|
properties : {
|
|
62
63
|
|
|
63
64
|
/**
|
|
@@ -498,7 +499,7 @@ sap.ui.define([
|
|
|
498
499
|
oValue = jQuery(oDomRef).val();
|
|
499
500
|
|
|
500
501
|
var i = this._prepareUpDown(aItems, oValue);
|
|
501
|
-
i = this._updateIdx(aItems, oDomRef, i - 1, i, oEvent);
|
|
502
|
+
i = this._updateIdx(aItems, oDomRef, i - 1, i, oEvent); // eslint-disable-line
|
|
502
503
|
|
|
503
504
|
oEvent.preventDefault();
|
|
504
505
|
oEvent.stopPropagation(); // prevent itemNavigation if ComboBox is in toolbar
|
|
@@ -534,7 +535,7 @@ sap.ui.define([
|
|
|
534
535
|
oValue = jQuery(oDomRef).val();
|
|
535
536
|
|
|
536
537
|
var i = this._prepareUpDown(aItems, oValue);
|
|
537
|
-
i = this._updateIdx(aItems, oDomRef, i + 1, i, oEvent);
|
|
538
|
+
i = this._updateIdx(aItems, oDomRef, i + 1, i, oEvent); // eslint-disable-line
|
|
538
539
|
|
|
539
540
|
oEvent.preventDefault();
|
|
540
541
|
oEvent.stopPropagation(); // prevent itemNavigation if ComboBox is in toolbar
|
|
@@ -597,7 +598,7 @@ sap.ui.define([
|
|
|
597
598
|
oDomRef = this.getInputDomRef();
|
|
598
599
|
|
|
599
600
|
var i = aItems.length - 1;
|
|
600
|
-
i = this._updateIdx(aItems, oDomRef, i, undefined, oEvent);
|
|
601
|
+
i = this._updateIdx(aItems, oDomRef, i, undefined, oEvent); // eslint-disable-line
|
|
601
602
|
|
|
602
603
|
oEvent.preventDefault();
|
|
603
604
|
oEvent.stopPropagation();
|
|
@@ -1004,14 +1005,6 @@ sap.ui.define([
|
|
|
1004
1005
|
// and also ensure we get to know it closes / gets closed via automatic-close again
|
|
1005
1006
|
this.oPopup.attachClosed(this._handleClosed, this);
|
|
1006
1007
|
|
|
1007
|
-
if (Device.browser.msie) {
|
|
1008
|
-
// as IE just ignores syncron focus() called from popup by opening it must be called asynchron
|
|
1009
|
-
// otherwise onfocusin is not executed.
|
|
1010
|
-
setTimeout(function(){
|
|
1011
|
-
jQuery(this.getInputDomRef()).trigger("focus");
|
|
1012
|
-
}.bind(this), 0);
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
1008
|
// if ComboBox is open -> switch to action mode
|
|
1016
1009
|
if (jQuery(this.getFocusDomRef()).data("sap.InNavArea")) {
|
|
1017
1010
|
jQuery(this.getFocusDomRef()).data("sap.InNavArea", false);
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
* @extends sap.ui.commons.TextField
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.93.1
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
@@ -57,6 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
var DatePicker = TextField.extend("sap.ui.commons.DatePicker", /** @lends sap.ui.commons.DatePicker.prototype */ { metadata : {
|
|
58
58
|
|
|
59
59
|
library : "sap.ui.commons",
|
|
60
|
+
deprecated: true,
|
|
60
61
|
properties : {
|
|
61
62
|
|
|
62
63
|
/**
|
|
@@ -442,7 +443,7 @@ sap.ui.define([
|
|
|
442
443
|
if (!this._oDate || this._oDate.getTime() < this._oMinDate.getTime() || this._oDate.getTime() > this._oMaxDate.getTime()) {
|
|
443
444
|
this._oDate = undefined;
|
|
444
445
|
bWrong = true;
|
|
445
|
-
}else
|
|
446
|
+
} else {
|
|
446
447
|
// just format date to right pattern, because maybe a fallback pattern is used in the parsing
|
|
447
448
|
sNewValue = this._formatValue(this._oDate);
|
|
448
449
|
oInput.value = sNewValue;
|
|
@@ -533,7 +534,7 @@ sap.ui.define([
|
|
|
533
534
|
|
|
534
535
|
/**
|
|
535
536
|
* @see sap.ui.core.Control#getAccessibilityInfo
|
|
536
|
-
* @returns {
|
|
537
|
+
* @returns {object} Current accessibility state of the control
|
|
537
538
|
* @protected
|
|
538
539
|
*/
|
|
539
540
|
DatePicker.prototype.getAccessibilityInfo = function() {
|
|
@@ -782,7 +783,7 @@ sap.ui.define([
|
|
|
782
783
|
|
|
783
784
|
if (oDate.getTime() < oThis._oMinDate.getTime()) {
|
|
784
785
|
oDate = new UniversalDate(oThis._oMinDate.getTime());
|
|
785
|
-
}else if (oDate.getTime() > oThis._oMaxDate.getTime()){
|
|
786
|
+
} else if (oDate.getTime() > oThis._oMaxDate.getTime()){
|
|
786
787
|
oDate = new UniversalDate(oThis._oMaxDate.getTime());
|
|
787
788
|
}
|
|
788
789
|
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
*
|
|
48
48
|
* @namespace
|
|
49
49
|
* @author SAP SE
|
|
50
|
-
* @version 1.
|
|
50
|
+
* @version 1.93.1
|
|
51
51
|
*
|
|
52
52
|
* @constructor
|
|
53
53
|
* @public
|
|
@@ -62,6 +62,7 @@ sap.ui.define([
|
|
|
62
62
|
"sap.ui.core.PopupInterface"
|
|
63
63
|
],
|
|
64
64
|
library: "sap.ui.commons",
|
|
65
|
+
deprecated: true,
|
|
65
66
|
properties: {
|
|
66
67
|
|
|
67
68
|
/**
|