@openui5/sap.m 1.71.47 → 1.71.51
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/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +3 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +19 -3
- package/src/sap/m/DatePickerRenderer.js +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +2 -11
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +3 -1
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +6 -6
- package/src/sap/m/ListItemBase.js +1 -1
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +10 -7
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +1 -1
- package/src/sap/m/P13nConditionPanel.js +5 -1
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +3 -3
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -1
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +2 -3
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +31 -2
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectRenderer.js +1 -33
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +59 -17
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +1 -1
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +2 -2
- package/src/sap/m/messagebundle.properties +25 -4
- package/src/sap/m/messagebundle_cs.properties +6 -6
- package/src/sap/m/messagebundle_lt.properties +6 -6
- package/src/sap/m/messagebundle_nl.properties +1 -1
- package/src/sap/m/messagebundle_pt.properties +2 -2
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/upload/UploadSet.js +16 -3
- package/src/sap/m/upload/UploadSetItem.js +1 -1
|
@@ -124,7 +124,6 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/IconPool', 'sap/m/library',
|
|
|
124
124
|
this.renderShadowList(oRm, oList);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
this.renderAccessibilityDomNodes(oRm, oSelect);
|
|
128
127
|
oRm.close("div");
|
|
129
128
|
};
|
|
130
129
|
|
|
@@ -353,14 +352,12 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/IconPool', 'sap/m/library',
|
|
|
353
352
|
* @param {sap.ui.core.Control} oSelect An object representation of the control that should be rendered.
|
|
354
353
|
*/
|
|
355
354
|
SelectRenderer.writeAccessibilityState = function(oRm, oSelect) {
|
|
356
|
-
var
|
|
357
|
-
oSelectedItem = oSelect.getSelectedItem(),
|
|
355
|
+
var oSelectedItem = oSelect.getSelectedItem(),
|
|
358
356
|
bIconOnly = oSelect.getType() === SelectType.IconOnly,
|
|
359
357
|
oValueIcon = oSelect._getValueIcon(),
|
|
360
358
|
aLabels = [],
|
|
361
359
|
aAriaLabelledBy = [],
|
|
362
360
|
oAriaLabelledBy,
|
|
363
|
-
sAriaDescribedBy,
|
|
364
361
|
sActiveDescendant,
|
|
365
362
|
sDesc;
|
|
366
363
|
|
|
@@ -381,10 +378,6 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/IconPool', 'sap/m/library',
|
|
|
381
378
|
}
|
|
382
379
|
}
|
|
383
380
|
|
|
384
|
-
if (sValueState !== ValueState.None) {
|
|
385
|
-
sAriaDescribedBy = oSelect.getValueStateMessageId() + "-sr";
|
|
386
|
-
}
|
|
387
|
-
|
|
388
381
|
if (sDesc && oValueIcon) {
|
|
389
382
|
aAriaLabelledBy.push(oValueIcon.getId());
|
|
390
383
|
}
|
|
@@ -405,35 +398,10 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/IconPool', 'sap/m/library',
|
|
|
405
398
|
expanded: oSelect.isOpen(),
|
|
406
399
|
invalid: (oSelect.getValueState() === ValueState.Error) ? true : undefined,
|
|
407
400
|
labelledby: (bIconOnly || oAriaLabelledBy.value === "") ? undefined : oAriaLabelledBy,
|
|
408
|
-
describedby: sAriaDescribedBy,
|
|
409
401
|
activedescendant: sActiveDescendant,
|
|
410
402
|
haspopup: "listbox"
|
|
411
403
|
});
|
|
412
404
|
};
|
|
413
405
|
|
|
414
|
-
/**
|
|
415
|
-
* Render value state accessibility DOM nodes for screen readers.
|
|
416
|
-
*
|
|
417
|
-
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
418
|
-
* @param {sap.ui.core.Control} oControl An object representation of the control that should be rendered.
|
|
419
|
-
*/
|
|
420
|
-
SelectRenderer.renderAccessibilityDomNodes = function (oRm, oControl) {
|
|
421
|
-
var sValueState = oControl.getValueState(),
|
|
422
|
-
sValueStateText;
|
|
423
|
-
|
|
424
|
-
if (sValueState === ValueState.None) {
|
|
425
|
-
return;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
sValueStateText = oControl._getValueStateText();
|
|
429
|
-
|
|
430
|
-
oRm.openStart("div", oControl.getValueStateMessageId() + "-sr")
|
|
431
|
-
.class("sapUiPseudoInvisibleText")
|
|
432
|
-
.attr("aria-hidden", true)
|
|
433
|
-
.openEnd()
|
|
434
|
-
.text(sValueStateText)
|
|
435
|
-
.close("div");
|
|
436
|
-
};
|
|
437
|
-
|
|
438
406
|
return SelectRenderer;
|
|
439
407
|
}, /* bExport= */ true);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @since 1.48.0
|
|
11
11
|
* @public
|
|
12
12
|
* @author SAP SE
|
|
13
|
-
* @version 1.71.
|
|
13
|
+
* @version 1.71.51
|
|
14
14
|
* @borrows sap.ui.core.Element#addCustomData as addCustomData
|
|
15
15
|
* @borrows sap.ui.core.Element#getCustomData as getCustomData
|
|
16
16
|
* @borrows sap.ui.core.Element#indexOfCustomData as indexOfCustomData
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
* @since 1.48.0
|
|
46
46
|
* @public
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.71.
|
|
48
|
+
* @version 1.71.51
|
|
49
49
|
* @borrows sap.ui.core.Element#addCustomData as addCustomData
|
|
50
50
|
* @borrows sap.ui.core.Element#getCustomData as getCustomData
|
|
51
51
|
* @borrows sap.ui.core.Element#indexOfCustomData as indexOfCustomData
|
package/src/sap/m/Shell.js
CHANGED
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* The Shell control can be used as root element of applications. It can contain an App or a <code>SplitApp</code> control.
|
|
35
35
|
* The Shell provides some overarching functionality for the overall application and takes care of visual adaptation, such as a frame around the App, on desktop browser platforms.
|
|
36
36
|
* @extends sap.ui.core.Control
|
|
37
|
-
* @version 1.71.
|
|
37
|
+
* @version 1.71.51
|
|
38
38
|
*
|
|
39
39
|
* @constructor
|
|
40
40
|
* @public
|
|
@@ -96,7 +96,7 @@ function(
|
|
|
96
96
|
* @extends sap.ui.core.Control
|
|
97
97
|
*
|
|
98
98
|
* @author SAP SE
|
|
99
|
-
* @version 1.71.
|
|
99
|
+
* @version 1.71.51
|
|
100
100
|
*
|
|
101
101
|
* @constructor
|
|
102
102
|
* @public
|
|
@@ -834,15 +834,23 @@ function(
|
|
|
834
834
|
};
|
|
835
835
|
|
|
836
836
|
SinglePlanningCalendar.prototype.setSelectedView = function(vView) {
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
this.
|
|
837
|
+
// first check if vView is string (ID), or object with getKey method
|
|
838
|
+
if (typeof vView === "string") {
|
|
839
|
+
// it is string, try to find corresponding view
|
|
840
|
+
vView = this._getViewById(vView);
|
|
841
|
+
} else if (vView.isA("sap.m.SinglePlanningCalendarView") && !this._isViewKeyExisting(vView.getKey())) {
|
|
842
|
+
// non-existing view
|
|
843
|
+
vView = null;
|
|
844
|
+
}
|
|
842
845
|
|
|
843
|
-
|
|
844
|
-
|
|
846
|
+
if (!vView) {
|
|
847
|
+
// view is missing
|
|
848
|
+
Log.error("There is no such view.", this);
|
|
849
|
+
return this;
|
|
850
|
+
}
|
|
845
851
|
|
|
852
|
+
// view is found
|
|
853
|
+
this._setupNewView(vView);
|
|
846
854
|
this._getHeader()._getOrCreateViewSwitch().setSelectedKey(vView.getKey());
|
|
847
855
|
|
|
848
856
|
return this;
|
|
@@ -932,6 +940,40 @@ function(
|
|
|
932
940
|
});
|
|
933
941
|
};
|
|
934
942
|
|
|
943
|
+
/**
|
|
944
|
+
* Finds the view object by given key
|
|
945
|
+
* @param {String} sKey The key of the view
|
|
946
|
+
* @private
|
|
947
|
+
* @returns {sap.m.SinglePlanningCalendarView} the view object matched the given sKey, of null if there is no such view
|
|
948
|
+
*/
|
|
949
|
+
SinglePlanningCalendar.prototype._getViewByKey = function (sKey) {
|
|
950
|
+
var aViews = this.getViews(),
|
|
951
|
+
i;
|
|
952
|
+
for (i = 0; i < aViews.length; i++) {
|
|
953
|
+
if (aViews[i].getKey() === sKey) {
|
|
954
|
+
return aViews[i];
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
return null;
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Finds the view object by given ID
|
|
962
|
+
* @param {String} sId The ID of the view
|
|
963
|
+
* @private
|
|
964
|
+
* @returns {sap.m.SinglePlanningCalendarView} the view object matched the given sId, of null if there is no such view
|
|
965
|
+
*/
|
|
966
|
+
SinglePlanningCalendar.prototype._getViewById = function (sId) {
|
|
967
|
+
var aViews = this.getViews(),
|
|
968
|
+
i;
|
|
969
|
+
for (i = 0; i < aViews.length; i++) {
|
|
970
|
+
if (aViews[i].getId() === sId) {
|
|
971
|
+
return aViews[i];
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
return null;
|
|
975
|
+
};
|
|
976
|
+
|
|
935
977
|
/**
|
|
936
978
|
* Getter for the associated as selectedView view.
|
|
937
979
|
* @returns {object} The currently selected view object
|
|
@@ -983,7 +1025,6 @@ function(
|
|
|
983
1025
|
oHeader.attachEvent("pressToday", this._handlePressToday, this);
|
|
984
1026
|
oHeader.attachEvent("pressNext", this._handlePressArrow, this);
|
|
985
1027
|
oHeader.attachEvent("dateSelect", this._handleCalendarPickerDateSelect, this);
|
|
986
|
-
oHeader._getOrCreateViewSwitch().attachEvent("selectionChange", this._handleViewSwitchChange, this);
|
|
987
1028
|
|
|
988
1029
|
return this;
|
|
989
1030
|
};
|
|
@@ -1122,7 +1163,10 @@ function(
|
|
|
1122
1163
|
* Handler for the viewChange event in the _header aggregation.
|
|
1123
1164
|
* @private
|
|
1124
1165
|
*/
|
|
1125
|
-
SinglePlanningCalendar.prototype._handleViewChange = function () {
|
|
1166
|
+
SinglePlanningCalendar.prototype._handleViewChange = function (oEvent) {
|
|
1167
|
+
var sNewViewKey = oEvent.getParameter("item").getProperty("key"),
|
|
1168
|
+
oNewView = this._getViewByKey(sNewViewKey);
|
|
1169
|
+
this._setupNewView(oNewView);
|
|
1126
1170
|
this.fireViewChange();
|
|
1127
1171
|
};
|
|
1128
1172
|
|
|
@@ -1151,17 +1195,15 @@ function(
|
|
|
1151
1195
|
};
|
|
1152
1196
|
|
|
1153
1197
|
/**
|
|
1154
|
-
*
|
|
1155
|
-
*
|
|
1198
|
+
* Sets given view in the selectedView association and then prepares the calendar
|
|
1199
|
+
* for the new view.
|
|
1200
|
+
* @param {Object || String} vViwe The new view
|
|
1156
1201
|
* @private
|
|
1157
1202
|
*/
|
|
1158
|
-
SinglePlanningCalendar.prototype.
|
|
1203
|
+
SinglePlanningCalendar.prototype._setupNewView = function(vView) {
|
|
1159
1204
|
var oPreviousGrid = this._getCurrentGrid();
|
|
1160
|
-
|
|
1161
|
-
this.setAssociation("selectedView", oEvent.getParameter("item"));
|
|
1162
|
-
|
|
1205
|
+
this.setAssociation("selectedView", vView);
|
|
1163
1206
|
this._transferAggregations(oPreviousGrid);
|
|
1164
|
-
|
|
1165
1207
|
this._alignColumns();
|
|
1166
1208
|
this._adjustColumnHeadersTopOffset();
|
|
1167
1209
|
};
|
package/src/sap/m/SlideTile.js
CHANGED
package/src/sap/m/Slider.js
CHANGED
package/src/sap/m/SplitApp.js
CHANGED
package/src/sap/m/SplitButton.js
CHANGED
package/src/sap/m/StepInput.js
CHANGED
package/src/sap/m/Switch.js
CHANGED
package/src/sap/m/TabStrip.js
CHANGED
package/src/sap/m/Table.js
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @class Table Personalization Controller
|
|
36
36
|
* @extends sap.ui.base.ManagedObject
|
|
37
37
|
* @author SAP
|
|
38
|
-
* @version 1.71.
|
|
38
|
+
* @version 1.71.51
|
|
39
39
|
* @alias sap.m.TablePersoController
|
|
40
40
|
*/
|
|
41
41
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController */
|
|
@@ -79,7 +79,7 @@ sap.ui.define([
|
|
|
79
79
|
* @class Table Personalization Dialog
|
|
80
80
|
* @extends sap.ui.base.ManagedObject
|
|
81
81
|
* @author SAP
|
|
82
|
-
* @version 1.71.
|
|
82
|
+
* @version 1.71.51
|
|
83
83
|
* @alias sap.m.TablePersoDialog
|
|
84
84
|
*/
|
|
85
85
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog */
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
21
21
|
* @extends sap.ui.base.ManagedObject
|
|
22
22
|
* @abstract
|
|
23
23
|
* @author SAP
|
|
24
|
-
* @version 1.71.
|
|
24
|
+
* @version 1.71.51
|
|
25
25
|
* @alias sap.m.TablePersoProvider
|
|
26
26
|
*/
|
|
27
27
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider */
|
package/src/sap/m/Text.js
CHANGED
package/src/sap/m/TextArea.js
CHANGED
package/src/sap/m/Tile.js
CHANGED
package/src/sap/m/TileContent.js
CHANGED
package/src/sap/m/TimePicker.js
CHANGED