@ui5/webcomponents 1.13.0-rc.4 → 1.13.0
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/CHANGELOG.md +8 -0
- package/LICENSE.txt +201 -0
- package/dist/Card.d.ts +1 -1
- package/dist/Card.js.map +1 -1
- package/dist/CardHeader.d.ts +1 -0
- package/dist/CardHeader.js +1 -0
- package/dist/CardHeader.js.map +1 -1
- package/dist/DateComponentBase.d.ts +1 -1
- package/dist/DateRangePicker.d.ts +1 -1
- package/dist/Interfaces.d.ts +9 -1
- package/dist/Interfaces.js +9 -1
- package/dist/Interfaces.js.map +1 -1
- package/dist/TimePicker.d.ts +1 -1
- package/dist/TimePickerBase.d.ts +1 -1
- package/dist/TimeSelection.d.ts +1 -1
- package/dist/api.json +1 -1
- package/dist/assets/test/pages/ComboBox.html.cf015503.js +1 -0
- package/dist/assets/test/pages/Icon.html.89db7569.js +1 -0
- package/dist/assets/test/pages/Label.html.fecdf0ce.js +4 -0
- package/dist/assets/test/pages/Popups.html.ab9c99cd.js +1 -0
- package/dist/generated/templates/AvatarGroupTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/AvatarGroupTemplate.lit.js.map +1 -1
- package/dist/generated/templates/AvatarTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/AvatarTemplate.lit.js.map +1 -1
- package/dist/generated/templates/BadgeTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/BadgeTemplate.lit.js.map +1 -1
- package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/BreadcrumbsTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/BreadcrumbsTemplate.lit.js.map +1 -1
- package/dist/generated/templates/BusyIndicatorTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/BusyIndicatorTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ButtonTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CalendarHeaderTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/CalendarHeaderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CalendarTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/CalendarTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CardHeaderTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/CardHeaderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CardTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/CardTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CarouselTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/CarouselTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CheckBoxTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/CheckBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ColorPaletteDialogTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/ColorPaletteDialogTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ColorPaletteItemTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ColorPaletteItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ColorPalettePopoverTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ColorPalettePopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ColorPaletteTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ColorPaletteTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ColorPickerTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ColorPickerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ComboBoxPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ComboBoxTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ComboBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CustomListItemTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/CustomListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DatePickerPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/DatePickerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DatePickerTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/DatePickerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DayPickerTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/DayPickerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DialogTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/DialogTemplate.lit.js.map +1 -1
- package/dist/generated/templates/FileUploaderPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/FileUploaderPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/FileUploaderTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/FileUploaderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/GroupHeaderListItemTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/GroupHeaderListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/IconTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/IconTemplate.lit.js.map +1 -1
- package/dist/generated/templates/InputPopoverTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/InputPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/InputTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/InputTemplate.lit.js.map +1 -1
- package/dist/generated/templates/LabelTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/LabelTemplate.lit.js.map +1 -1
- package/dist/generated/templates/LinkTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/LinkTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListItemTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ListTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MenuTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/MenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MessageStripTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/MessageStripTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MonthPickerTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/MonthPickerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MultiComboBoxTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/MultiComboBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MultiInputTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/MultiInputTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PanelTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/PanelTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PopoverTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/PopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PopupBlockLayerTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/PopupBlockLayerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PopupTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/PopupTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.js.map +1 -1
- package/dist/generated/templates/RadioButtonTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/RadioButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/RangeSliderTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/RangeSliderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/RatingIndicatorTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/RatingIndicatorTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ResponsivePopoverTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ResponsivePopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SegmentedButtonItemTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/SegmentedButtonItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SegmentedButtonTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/SegmentedButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/SelectPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/SelectTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SliderBaseTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/SliderBaseTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SliderTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/SliderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SplitButtonTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/SplitButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/StandardListItemTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/StandardListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/StepInputTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/StepInputTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SuggestionListItemTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/SuggestionListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SwitchTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/SwitchTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabContainerPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/TabContainerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabContainerTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TabContainerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabInOverflowTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/TabInOverflowTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabInStripTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/TabInStripTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabSeparatorInOverflowTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/TabSeparatorInOverflowTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabSeparatorInStripTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/TabSeparatorInStripTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TabTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableCellTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TableCellTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableColumnTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TableColumnTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableGroupRowTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TableGroupRowTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableRowTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TableRowTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TableTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TextAreaPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/TextAreaPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TextAreaTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TextAreaTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TimePickerPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/TimePickerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TimePickerTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TimePickerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TimeSelectionTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TimeSelectionTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TitleTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TitleTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ToastTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ToastTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ToggleButtonTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/ToggleButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TokenTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TokenTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TokenizerPopoverTemplate.lit.d.ts +1 -1
- package/dist/generated/templates/TokenizerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TokenizerTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TokenizerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TreeItemBaseTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TreeItemBaseTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TreeItemCustomTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TreeItemCustomTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TreeItemTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TreeItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TreeTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/TreeTemplate.lit.js.map +1 -1
- package/dist/generated/templates/WheelSliderTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/WheelSliderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/YearPickerTemplate.lit.d.ts +2 -2
- package/dist/generated/templates/YearPickerTemplate.lit.js.map +1 -1
- package/dist/test/pages/72override.html +33 -0
- package/dist/test/pages/AnimanitionOff.html +52 -0
- package/dist/test/pages/Avatar.html +264 -0
- package/dist/test/pages/AvatarGroup.html +376 -0
- package/dist/test/pages/Badge.html +75 -0
- package/dist/test/pages/Breadcrumbs.html +239 -0
- package/dist/test/pages/BusyIndicator.html +278 -0
- package/dist/test/pages/Button.html +273 -0
- package/dist/test/pages/Calendar.html +98 -0
- package/dist/test/pages/Card.html +347 -0
- package/dist/test/pages/Carousel.html +584 -0
- package/dist/test/pages/CheckBox.html +90 -0
- package/dist/test/pages/ColorPalette.html +126 -0
- package/dist/test/pages/ColorPalettePopover.html +141 -0
- package/dist/test/pages/ColorPicker.html +66 -0
- package/dist/test/pages/ComboBox.html +292 -0
- package/dist/test/pages/Components.html +106 -0
- package/dist/test/pages/CoreControls.html +203 -0
- package/dist/test/pages/CoreControls_exp.html +203 -0
- package/dist/test/pages/CustomCSS.html +55 -0
- package/dist/test/pages/DatePicker.html +205 -0
- package/dist/test/pages/DatePicker_test_page.html +106 -0
- package/dist/test/pages/DateRangePicker.html +64 -0
- package/dist/test/pages/DateTimePicker.html +190 -0
- package/dist/test/pages/DateTimePicker_Timezone.html +72 -0
- package/dist/test/pages/DayPicker.html +37 -0
- package/dist/test/pages/Dialog.html +799 -0
- package/dist/test/pages/DialogLifecycle.html +62 -0
- package/dist/test/pages/DialogSemantic.html +58 -0
- package/dist/test/pages/Eventing.html +33 -0
- package/dist/test/pages/F6Test1.html +42 -0
- package/dist/test/pages/F6Test2.html +42 -0
- package/dist/test/pages/F6Test3.html +39 -0
- package/dist/test/pages/F6Test4.html +46 -0
- package/dist/test/pages/F6Test5.html +42 -0
- package/dist/test/pages/F6Test6.html +39 -0
- package/dist/test/pages/F6Test7.html +36 -0
- package/dist/test/pages/FileUploader.html +138 -0
- package/dist/test/pages/FormComponents.html +72 -0
- package/dist/test/pages/FormSupport.html +59 -0
- package/dist/test/pages/HCB.html +45 -0
- package/dist/test/pages/Icon.html +278 -0
- package/dist/test/pages/Icon_and_theming.html +67 -0
- package/dist/test/pages/Icon_custom.html +26 -0
- package/dist/test/pages/Input.html +731 -0
- package/dist/test/pages/InputFieldLabels.html +355 -0
- package/dist/test/pages/InputFieldMinWidth.html +230 -0
- package/dist/test/pages/InputIcons.html +80 -0
- package/dist/test/pages/Input_quickview.html +204 -0
- package/dist/test/pages/InputsAlignment.html +131 -0
- package/dist/test/pages/InputsLazyLoading.html +244 -0
- package/dist/test/pages/ItemNavigation.html +94 -0
- package/dist/test/pages/Kitchen.html +637 -0
- package/dist/test/pages/Kitchen.openui5.html +570 -0
- package/dist/test/pages/Label.html +161 -0
- package/dist/test/pages/Link.html +201 -0
- package/dist/test/pages/List.html +465 -0
- package/dist/test/pages/ListGrowing_Button.html +64 -0
- package/dist/test/pages/ListGrowing_Scroll.html +93 -0
- package/dist/test/pages/List_keyboard_support.html +130 -0
- package/dist/test/pages/List_test_page.html +371 -0
- package/dist/test/pages/LitKeyFunction.html +40 -0
- package/dist/test/pages/MemoryLeak.html +78 -0
- package/dist/test/pages/Menu.html +145 -0
- package/dist/test/pages/MessagePage.html +39 -0
- package/dist/test/pages/MessageStrip.html +55 -0
- package/dist/test/pages/MultiComboBox.html +489 -0
- package/dist/test/pages/MultiInput.html +451 -0
- package/dist/test/pages/MultiInput_Suggestions.html +161 -0
- package/dist/test/pages/OpenUI5-second.html +60 -0
- package/dist/test/pages/OpenUI5.html +83 -0
- package/dist/test/pages/Panel.html +226 -0
- package/dist/test/pages/Popover.html +624 -0
- package/dist/test/pages/PopoverArrowBounds.html +52 -0
- package/dist/test/pages/Popups.html +131 -0
- package/dist/test/pages/ProgressIndicator.html +151 -0
- package/dist/test/pages/RTL.html +118 -0
- package/dist/test/pages/RadioButton.html +201 -0
- package/dist/test/pages/RangeSlider.html +96 -0
- package/dist/test/pages/RatingIndicator.html +97 -0
- package/dist/test/pages/ResizeHandler.html +74 -0
- package/dist/test/pages/ResponsivePopover.html +267 -0
- package/dist/test/pages/SegmentedButton.html +151 -0
- package/dist/test/pages/Select.html +260 -0
- package/dist/test/pages/Simple.html +25 -0
- package/dist/test/pages/Slider.html +79 -0
- package/dist/test/pages/SplitButton.html +101 -0
- package/dist/test/pages/StepInput.html +189 -0
- package/dist/test/pages/Switch.html +97 -0
- package/dist/test/pages/TabContainer.html +904 -0
- package/dist/test/pages/Table-perf-pure.html +73 -0
- package/dist/test/pages/Table-perf.html +76 -0
- package/dist/test/pages/Table.html +2808 -0
- package/dist/test/pages/Table2.html +53 -0
- package/dist/test/pages/TableAllPopin.html +228 -0
- package/dist/test/pages/TableCustomStyling.html +89 -0
- package/dist/test/pages/TableGrouping.html +109 -0
- package/dist/test/pages/TableGrowingWithButton.html +805 -0
- package/dist/test/pages/TableGrowingWithScroll.html +801 -0
- package/dist/test/pages/TableSelection.html +445 -0
- package/dist/test/pages/Test.html +15 -0
- package/dist/test/pages/TextArea.html +222 -0
- package/dist/test/pages/TimePicker.html +81 -0
- package/dist/test/pages/TimeSelection.html +31 -0
- package/dist/test/pages/Title.html +60 -0
- package/dist/test/pages/Toast.html +111 -0
- package/dist/test/pages/ToggleButton.html +71 -0
- package/dist/test/pages/Tree.html +307 -0
- package/dist/test/pages/WheelSlider_Test_Page.html +26 -0
- package/dist/test/pages/base/AriaLabelHelper.html +334 -0
- package/dist/test/pages/base/DOMObserver.html +20 -0
- package/dist/test/pages/base/IconCollection.html +23 -0
- package/dist/test/pages/base/IconCollectionInCustomTheme.html +25 -0
- package/dist/test/pages/base/InvisibleMessage.html +44 -0
- package/dist/test/pages/form.html +123 -0
- package/dist/test/pages/i18n-defaultLang.html +31 -0
- package/dist/test/pages/i18n-demo.html +79 -0
- package/package.json +8 -7
- package/tsconfig.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.13.0](https://github.com/SAP/ui5-webcomponents/compare/v1.13.0-rc.4...v1.13.0) (2023-05-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @ui5/webcomponents
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [1.13.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v1.13.0-rc.3...v1.13.0-rc.4) (2023-05-04)
|
|
7
15
|
|
|
8
16
|
|
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2020-21 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/dist/Card.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ declare class Card extends UI5Element {
|
|
|
61
61
|
* Defines the header of the component.
|
|
62
62
|
* <br><br>
|
|
63
63
|
* <b>Note:</b> Use <code>ui5-card-header</code> for the intended design.
|
|
64
|
-
* @type {sap.ui.webc.main.
|
|
64
|
+
* @type {sap.ui.webc.main.ICardHeader[]}
|
|
65
65
|
* @since 1.0.0-rc.15
|
|
66
66
|
* @slot header
|
|
67
67
|
* @name sap.ui.webc.main.Card.prototype.header
|
package/dist/Card.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../src/Card.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,sDAAsD,CAAC;AACjG,OAAO,Y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IAAI,EAAE,CAAC;qCAChB;AAa7B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,uBAAuB,EAAE,IAAI,EAAE,CAAC;oCAChC;AAhDtB,IAAI;IART,aAAa,CAAC;QACd,GAAG,EAAE,UAAU;QACf,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,OAAO;QACf,YAAY,EAAE,CAAC,IAAI,CAAC;KACpB,CAAC;GACI,IAAI,CA+ET;AAED,IAAI,CAAC,MAAM,EAAE,CAAC;AAEd,eAAe,IAAI,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getEffectiveAriaLabelText } from \"@ui5/webcomponents-base/dist/util/AriaLabelHelper.js\";\nimport CardTemplate from \"./generated/templates/CardTemplate.lit.js\";\nimport Icon from \"./Icon.js\";\nimport type CardHeader from \"./CardHeader.js\";\n\nimport {\n\tARIA_ROLEDESCRIPTION_CARD,\n\tARIA_LABEL_CARD_CONTENT,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport cardCss from \"./generated/themes/Card.css.js\";\n\n/**\n * @class\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-card</code> is a component that represents information in the form of a\n * tile with separate header and content areas.\n * The content area of a <code>ui5-card</code> can be arbitrary HTML content.\n * The header can be used through slot <code>header</code>. For which there is a <code>ui5-card-header</code> component to achieve the card look and feel.\n *\n * Note: We recommend the usage of <code>ui5-card-header</code> for the header slot, so advantage can be taken for keyboard handling, styling and accessibility.\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/Card\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents/dist/CardHeader.js\";</code> (for <code>ui5-card-header</code>)\n *\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.Card\n * @extends sap.ui.webc.base.UI5Element\n * @tagname ui5-card\n * @public\n * @appenddocs sap.ui.webc.main.CardHeader\n */\n@customElement({\n\ttag: \"ui5-card\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\ttemplate: CardTemplate,\n\tstyles: cardCss,\n\tdependencies: [Icon],\n})\nclass Card extends UI5Element {\n\t/**\n\t * Defines the accessible name of the component, which is used as the name of the card region and should be unique per card.\n\t * <b>Note:</b> <code>accessibleName</code> should be always set, unless <code>accessibleNameRef</code> is set.\n\t *\n\t *\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.Card.prototype.accessibleName\n\t * @public\n\t * @since 1.0.0-rc.16\n\t*/\n\t@property()\n\taccessibleName!: string;\n\n\t/**\n\t * Defines the IDs of the elements that label the component.\n\t *\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.Card.prototype.accessibleNameRef\n\t * @public\n\t * @since 1.0.0-rc.16\n\t*/\n\t@property()\n\taccessibleNameRef!: string;\n\n\t/**\n\t * Defines the content of the component.\n\t * @type {HTMLElement[]}\n\t * @slot content\n\t * @name sap.ui.webc.main.Card.prototype.default\n\t * @public\n\t*/\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the header of the component.\n\t * <br><br>\n\t * <b>Note:</b> Use <code>ui5-card-header</code> for the intended design.\n\t * @type {sap.ui.webc.main.
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../src/Card.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C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CAAC,CAAC;IACzD,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,QAAQ;QACpB,MAAI,CAAC,UAAU,GAAG,MAAM,aAAa,CAAC,oBAAoB,CAAC,CAAC;IAC7D,CAAC;CACD,CAAA;AAlEA;IADC,QAAQ,EAAE;4CACa;AAYxB;IADC,QAAQ,EAAE;+CACgB;AAU3B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;qCAChB;AAa7B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,uBAAuB,EAAE,IAAI,EAAE,CAAC;oCAChC;AAhDtB,IAAI;IART,aAAa,CAAC;QACd,GAAG,EAAE,UAAU;QACf,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,OAAO;QACf,YAAY,EAAE,CAAC,IAAI,CAAC;KACpB,CAAC;GACI,IAAI,CA+ET;AAED,IAAI,CAAC,MAAM,EAAE,CAAC;AAEd,eAAe,IAAI,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getEffectiveAriaLabelText } from \"@ui5/webcomponents-base/dist/util/AriaLabelHelper.js\";\nimport CardTemplate from \"./generated/templates/CardTemplate.lit.js\";\nimport Icon from \"./Icon.js\";\nimport type CardHeader from \"./CardHeader.js\";\n\nimport {\n\tARIA_ROLEDESCRIPTION_CARD,\n\tARIA_LABEL_CARD_CONTENT,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport cardCss from \"./generated/themes/Card.css.js\";\n\n/**\n * @class\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-card</code> is a component that represents information in the form of a\n * tile with separate header and content areas.\n * The content area of a <code>ui5-card</code> can be arbitrary HTML content.\n * The header can be used through slot <code>header</code>. For which there is a <code>ui5-card-header</code> component to achieve the card look and feel.\n *\n * Note: We recommend the usage of <code>ui5-card-header</code> for the header slot, so advantage can be taken for keyboard handling, styling and accessibility.\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/Card\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents/dist/CardHeader.js\";</code> (for <code>ui5-card-header</code>)\n *\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.Card\n * @extends sap.ui.webc.base.UI5Element\n * @tagname ui5-card\n * @public\n * @appenddocs sap.ui.webc.main.CardHeader\n */\n@customElement({\n\ttag: \"ui5-card\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\ttemplate: CardTemplate,\n\tstyles: cardCss,\n\tdependencies: [Icon],\n})\nclass Card extends UI5Element {\n\t/**\n\t * Defines the accessible name of the component, which is used as the name of the card region and should be unique per card.\n\t * <b>Note:</b> <code>accessibleName</code> should be always set, unless <code>accessibleNameRef</code> is set.\n\t *\n\t *\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.Card.prototype.accessibleName\n\t * @public\n\t * @since 1.0.0-rc.16\n\t*/\n\t@property()\n\taccessibleName!: string;\n\n\t/**\n\t * Defines the IDs of the elements that label the component.\n\t *\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.Card.prototype.accessibleNameRef\n\t * @public\n\t * @since 1.0.0-rc.16\n\t*/\n\t@property()\n\taccessibleNameRef!: string;\n\n\t/**\n\t * Defines the content of the component.\n\t * @type {HTMLElement[]}\n\t * @slot content\n\t * @name sap.ui.webc.main.Card.prototype.default\n\t * @public\n\t*/\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the header of the component.\n\t * <br><br>\n\t * <b>Note:</b> Use <code>ui5-card-header</code> for the intended design.\n\t * @type {sap.ui.webc.main.ICardHeader[]}\n\t * @since 1.0.0-rc.15\n\t * @slot header\n\t * @name sap.ui.webc.main.Card.prototype.header\n\t * @public\n\t*/\n\t@slot({ type: HTMLElement, invalidateOnChildChange: true })\n\theader!: Array<CardHeader>;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tget classes() {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-card-root\": true,\n\t\t\t\t\"ui5-card--interactive\": this._hasHeader && this.header[0].interactive,\n\t\t\t\t\"ui5-card--nocontent\": !this.content.length,\n\t\t\t},\n\t\t};\n\t}\n\n\tget _hasHeader() {\n\t\treturn !!this.header.length;\n\t}\n\n\tget _getAriaLabel() {\n\t\tconst effectiveAriaLabelText = getEffectiveAriaLabelText(this),\n\t\t\teffectiveAriaLabel = effectiveAriaLabelText ? ` ${effectiveAriaLabelText}` : \"\";\n\t\treturn Card.i18nBundle.getText(ARIA_ROLEDESCRIPTION_CARD) + effectiveAriaLabel;\n\t}\n\n\tget _ariaCardContentLabel() {\n\t\treturn Card.i18nBundle.getText(ARIA_LABEL_CARD_CONTENT);\n\t}\n\n\tstatic async onDefine() {\n\t\tCard.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\n\t}\n}\n\nCard.define();\n\nexport default Card;\n"]}
|
package/dist/CardHeader.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
|
30
30
|
* @constructor
|
|
31
31
|
* @author SAP SE
|
|
32
32
|
* @alias sap.ui.webc.main.CardHeader
|
|
33
|
+
* @implements sap.ui.webc.main.ICardHeader
|
|
33
34
|
* @extends sap.ui.webc.base.UI5Element
|
|
34
35
|
* @tagname ui5-card-header
|
|
35
36
|
* @public
|
package/dist/CardHeader.js
CHANGED
|
@@ -49,6 +49,7 @@ import cardHeaderCss from "./generated/themes/CardHeader.css.js";
|
|
|
49
49
|
* @constructor
|
|
50
50
|
* @author SAP SE
|
|
51
51
|
* @alias sap.ui.webc.main.CardHeader
|
|
52
|
+
* @implements sap.ui.webc.main.ICardHeader
|
|
52
53
|
* @extends sap.ui.webc.base.UI5Element
|
|
53
54
|
* @tagname ui5-card-header
|
|
54
55
|
* @public
|
package/dist/CardHeader.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardHeader.js","sourceRoot":"","sources":["../src/CardHeader.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAE7E,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,kBAAkB,MAAM,iDAAiD,CAAC;AAEjF,OAAO,EACN,cAAc,EACd,gCAAgC,EAChC,4CAA4C,GAC5C,MAAM,mCAAmC,CAAC;AAE3C,SAAS;AACT,OAAO,aAAa,MAAM,sCAAsC,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAgBH,IAAM,UAAU,kBAAhB,MAAM,UAAW,SAAQ,UAAU;IA6ElC,IAAI,OAAO;QACV,OAAO;YACN,IAAI,EAAE;gBACL,iBAAiB,EAAE,IAAI;gBACvB,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O;SACP;QAED,IAAI,KAAK,EAAE;YACV,CAAC,CAAC,cAAc,EAAE,CAAC;SACnB;IACF,CAAC;IAED,MAAM,CAAC,CAAgB;QACtB,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAqB,CAAC,EAAE;YACvE,OAAO;SACP;QAED,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;QAEzB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAE3B,IAAI,KAAK,EAAE;YACV,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;SACxB;IACF,CAAC;CACD,CAAA;AAnLA;IADC,QAAQ,EAAE;6CACQ;AAUnB;IADC,QAAQ,EAAE;gDACW;AAUtB;IADC,QAAQ,EAAE;0CACK;AAWhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;+CACN;AAUtB;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;8CAC9B;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;iDACvB;AAUxB;IADC,IAAI,EAAE;0CACqB;AAU5B;IADC,IAAI,EAAE;0CACqB;AAzEvB,UAAU;IAff,aAAa,CAAC;QACd,GAAG,EAAE,iBAAiB;QACtB,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,kBAAkB;QAC5B,MAAM,EAAE,aAAa;KACrB,CAAC;IACF;;;;;;OAMG;;IACF,KAAK,CAAC,OAAO,CAAC;GACT,UAAU,CA4Lf;AAED,UAAU,CAAC,MAAM,EAAE,CAAC;AAEpB,eAAe,UAAU,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { isSpace, isEnter } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport { isFirefox } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport CardHeaderTemplate from \"./generated/templates/CardHeaderTemplate.lit.js\";\n\nimport {\n\tAVATAR_TOOLTIP,\n\tARIA_ROLEDESCRIPTION_CARD_HEADER,\n\tARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport cardHeaderCss from \"./generated/themes/CardHeader.css.js\";\n\n/**\n * @class\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-card-header</code> is a component, meant to be used as a header of the <code>ui5-card</code> component.\n * It displays valuable information, that can be defined with several properties, such as: <code>titleText</code>, <code>subtitleText</code>, <code>status</code>\n * and two slots: <code>avatar</code> and <code>action</code>.\n *\n * <h3>Keyboard handling</h3>\n * In case you enable <code>interactive</code> property, you can press the <code>ui5-card-header</code> by Space and Enter keys.\n *\n * <h3>CSS Shadow Parts</h3>\n *\n * <ui5-link target=\"_blank\" href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/::part\">CSS Shadow Parts</ui5-link> allow developers to style elements inside the Shadow DOM.\n * <br>\n * The <code>ui5-card</code> exposes the following CSS Shadow Parts:\n * <ul>\n * <li>root - Used to style the root DOM element of the CardHeader</li>\n * <li>title - Used to style the title of the CardHeader</li>\n * <li>subtitle - Used to style the subtitle of the CardHeader</li>\n * <li>status - Used to style the status of the CardHeader</li>\n * </ul>\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/CardHeader\";</code>\n *\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.CardHeader\n * @extends sap.ui.webc.base.UI5Element\n * @tagname ui5-card-header\n * @public\n * @since 1.0.0-rc.15\n */\n@customElement({\n\ttag: \"ui5-card-header\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\ttemplate: CardHeaderTemplate,\n\tstyles: cardHeaderCss,\n})\n/**\n * Fired when the component is activated by mouse/tap or by using the Enter or Space key.\n * <br><br>\n * <b>Note:</b> The event would be fired only if the <code>interactive</code> property is set to true.\n * @event sap.ui.webc.main.CardHeader#click\n * @public\n */\n@event(\"click\")\nclass CardHeader extends UI5Element {\n\t/**\n\t * Defines the title text.\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.CardHeader.prototype.titleText\n\t * @public\n\t*/\n\t@property()\n\ttitleText!: string;\n\n\t/**\n\t * Defines the subtitle text.\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.CardHeader.prototype.subtitleText\n\t * @public\n\t*/\n\t@property()\n\tsubtitleText!: string;\n\n\t/**\n\t * Defines the status text.\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.CardHeader.prototype.status\n\t * @public\n\t*/\n\t@property()\n\tstatus!: string;\n\n\t/**\n\t * Defines if the component would be interactive,\n\t * e.g gets hover effect, gets focus outline and <code>click</code> event is fired, when pressed.\n\t * @type {boolean}\n\t * @defaultvalue false\n\t * @name sap.ui.webc.main.CardHeader.prototype.interactive\n\t * @public\n\t*/\n\t@property({ type: Boolean })\n\tinteractive!: boolean;\n\n\t/**\n\t * Define the <code>aria-level</code> attribute of the component\n\t * <b>Note: </b> If the interactive property is set, <code>aria-level</code> attribute is not rendered at all.\n\t * @private\n\t * @type {sap.ui.webc.base.types.Integer}\n\t * @defaultValue 3\n\t*/\n\t@property({ validator: Integer, defaultValue: 3 })\n\t_ariaLevel!: number;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_headerActive!: boolean;\n\n\t/**\n\t * Defines an avatar image, displayed in the left most part of the header.\n\t * @type {HTMLElement[]}\n\t * @slot\n\t * @name sap.ui.webc.main.CardHeader.prototype.avatar\n\t * @public\n\t*/\n\t@slot()\n\tavatar!: Array<HTMLElement>;\n\n\t/**\n\t * Defines an action, displayed in the right most part of the header.\n\t * @type {HTMLElement[]}\n\t * @slot\n\t * @name sap.ui.webc.main.CardHeader.prototype.action\n\t * @public\n\t*/\n\t@slot()\n\taction!: Array<HTMLElement>;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tget classes() {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-card-header\": true,\n\t\t\t\t\"ui5-card-header--interactive\": this.interactive,\n\t\t\t\t\"ui5-card-header--active\": this.interactive && this._headerActive,\n\t\t\t\t\"ui5-card-header-ff\": isFirefox(),\n\t\t\t},\n\t\t};\n\t}\n\n\tget _root() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-card-header\")!;\n\t}\n\n\tget ariaRoleDescription() {\n\t\treturn this.interactive ? CardHeader.i18nBundle.getText(ARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER) : CardHeader.i18nBundle.getText(ARIA_ROLEDESCRIPTION_CARD_HEADER);\n\t}\n\n\tget ariaRoleFocusableElement() {\n\t\treturn this.interactive ? \"button\" : null;\n\t}\n\n\tget ariaCardAvatarLabel() {\n\t\treturn CardHeader.i18nBundle.getText(AVATAR_TOOLTIP);\n\t}\n\n\tget ariaLabelledBy() {\n\t\tconst labels = [];\n\n\t\tif (this.titleText) {\n\t\t\tlabels.push(`${this._id}-title`);\n\t\t}\n\n\t\tif (this.subtitleText) {\n\t\t\tlabels.push(`${this._id}-subtitle`);\n\t\t}\n\n\t\tif (this.status) {\n\t\t\tlabels.push(`${this._id}-status`);\n\t\t}\n\n\t\tif (this.hasAvatar) {\n\t\t\tlabels.push(`${this._id}-avatar`);\n\t\t}\n\n\t\treturn labels.length !== 0 ? labels.join(\" \") : undefined;\n\t}\n\n\tget hasAvatar() {\n\t\treturn !!this.avatar.length;\n\t}\n\n\tget hasAction() {\n\t\treturn !!this.action.length;\n\t}\n\n\tstatic async onDefine() {\n\t\tCardHeader.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\n\t}\n\n\t_actionsFocusin() {\n\t\tthis._root.classList.add(\"ui5-card-header-hide-focus\");\n\t}\n\n\t_actionsFocusout() {\n\t\tthis._root.classList.remove(\"ui5-card-header-hide-focus\");\n\t}\n\n\t_click(e: MouseEvent) {\n\t\t// prevents the native browser \"click\" event from firing\n\t\te.stopImmediatePropagation();\n\n\t\tif (this.interactive && this._root.contains(e.target as HTMLElement)) {\n\t\t\tthis.fireEvent(\"click\");\n\t\t}\n\t}\n\n\t_keydown(e: KeyboardEvent) {\n\t\tif (!this.interactive || !this._root.contains(e.target as HTMLElement)) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst enter = isEnter(e);\n\t\tconst space = isSpace(e);\n\n\t\tthis._headerActive = enter || space;\n\n\t\tif (enter) {\n\t\t\tthis.fireEvent(\"click\");\n\t\t\treturn;\n\t\t}\n\n\t\tif (space) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_keyup(e: KeyboardEvent) {\n\t\tif (!this.interactive || !this._root.contains(e.target as HTMLElement)) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst space = isSpace(e);\n\n\t\tthis._headerActive = false;\n\n\t\tif (space) {\n\t\t\tthis.fireEvent(\"click\");\n\t\t}\n\t}\n}\n\nCardHeader.define();\n\nexport default CardHeader;\n"]}
|
|
1
|
+
{"version":3,"file":"CardHeader.js","sourceRoot":"","sources":["../src/CardHeader.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,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,EAAE;0CACK;AAWhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;+CACN;AAUtB;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;8CAC9B;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;iDACvB;AAUxB;IADC,IAAI,EAAE;0CACqB;AAU5B;IADC,IAAI,EAAE;0CACqB;AAzEvB,UAAU;IAff,aAAa,CAAC;QACd,GAAG,EAAE,iBAAiB;QACtB,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,kBAAkB;QAC5B,MAAM,EAAE,aAAa;KACrB,CAAC;IACF;;;;;;OAMG;;IACF,KAAK,CAAC,OAAO,CAAC;GACT,UAAU,CA4Lf;AAED,UAAU,CAAC,MAAM,EAAE,CAAC;AAEpB,eAAe,UAAU,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { isSpace, isEnter } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport { isFirefox } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport CardHeaderTemplate from \"./generated/templates/CardHeaderTemplate.lit.js\";\n\nimport {\n\tAVATAR_TOOLTIP,\n\tARIA_ROLEDESCRIPTION_CARD_HEADER,\n\tARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport cardHeaderCss from \"./generated/themes/CardHeader.css.js\";\n\n/**\n * @class\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-card-header</code> is a component, meant to be used as a header of the <code>ui5-card</code> component.\n * It displays valuable information, that can be defined with several properties, such as: <code>titleText</code>, <code>subtitleText</code>, <code>status</code>\n * and two slots: <code>avatar</code> and <code>action</code>.\n *\n * <h3>Keyboard handling</h3>\n * In case you enable <code>interactive</code> property, you can press the <code>ui5-card-header</code> by Space and Enter keys.\n *\n * <h3>CSS Shadow Parts</h3>\n *\n * <ui5-link target=\"_blank\" href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/::part\">CSS Shadow Parts</ui5-link> allow developers to style elements inside the Shadow DOM.\n * <br>\n * The <code>ui5-card</code> exposes the following CSS Shadow Parts:\n * <ul>\n * <li>root - Used to style the root DOM element of the CardHeader</li>\n * <li>title - Used to style the title of the CardHeader</li>\n * <li>subtitle - Used to style the subtitle of the CardHeader</li>\n * <li>status - Used to style the status of the CardHeader</li>\n * </ul>\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/CardHeader\";</code>\n *\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.CardHeader\n * @implements sap.ui.webc.main.ICardHeader\n * @extends sap.ui.webc.base.UI5Element\n * @tagname ui5-card-header\n * @public\n * @since 1.0.0-rc.15\n */\n@customElement({\n\ttag: \"ui5-card-header\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\ttemplate: CardHeaderTemplate,\n\tstyles: cardHeaderCss,\n})\n/**\n * Fired when the component is activated by mouse/tap or by using the Enter or Space key.\n * <br><br>\n * <b>Note:</b> The event would be fired only if the <code>interactive</code> property is set to true.\n * @event sap.ui.webc.main.CardHeader#click\n * @public\n */\n@event(\"click\")\nclass CardHeader extends UI5Element {\n\t/**\n\t * Defines the title text.\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.CardHeader.prototype.titleText\n\t * @public\n\t*/\n\t@property()\n\ttitleText!: string;\n\n\t/**\n\t * Defines the subtitle text.\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.CardHeader.prototype.subtitleText\n\t * @public\n\t*/\n\t@property()\n\tsubtitleText!: string;\n\n\t/**\n\t * Defines the status text.\n\t * @type {string}\n\t * @defaultvalue \"\"\n\t * @name sap.ui.webc.main.CardHeader.prototype.status\n\t * @public\n\t*/\n\t@property()\n\tstatus!: string;\n\n\t/**\n\t * Defines if the component would be interactive,\n\t * e.g gets hover effect, gets focus outline and <code>click</code> event is fired, when pressed.\n\t * @type {boolean}\n\t * @defaultvalue false\n\t * @name sap.ui.webc.main.CardHeader.prototype.interactive\n\t * @public\n\t*/\n\t@property({ type: Boolean })\n\tinteractive!: boolean;\n\n\t/**\n\t * Define the <code>aria-level</code> attribute of the component\n\t * <b>Note: </b> If the interactive property is set, <code>aria-level</code> attribute is not rendered at all.\n\t * @private\n\t * @type {sap.ui.webc.base.types.Integer}\n\t * @defaultValue 3\n\t*/\n\t@property({ validator: Integer, defaultValue: 3 })\n\t_ariaLevel!: number;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_headerActive!: boolean;\n\n\t/**\n\t * Defines an avatar image, displayed in the left most part of the header.\n\t * @type {HTMLElement[]}\n\t * @slot\n\t * @name sap.ui.webc.main.CardHeader.prototype.avatar\n\t * @public\n\t*/\n\t@slot()\n\tavatar!: Array<HTMLElement>;\n\n\t/**\n\t * Defines an action, displayed in the right most part of the header.\n\t * @type {HTMLElement[]}\n\t * @slot\n\t * @name sap.ui.webc.main.CardHeader.prototype.action\n\t * @public\n\t*/\n\t@slot()\n\taction!: Array<HTMLElement>;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tget classes() {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-card-header\": true,\n\t\t\t\t\"ui5-card-header--interactive\": this.interactive,\n\t\t\t\t\"ui5-card-header--active\": this.interactive && this._headerActive,\n\t\t\t\t\"ui5-card-header-ff\": isFirefox(),\n\t\t\t},\n\t\t};\n\t}\n\n\tget _root() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-card-header\")!;\n\t}\n\n\tget ariaRoleDescription() {\n\t\treturn this.interactive ? CardHeader.i18nBundle.getText(ARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER) : CardHeader.i18nBundle.getText(ARIA_ROLEDESCRIPTION_CARD_HEADER);\n\t}\n\n\tget ariaRoleFocusableElement() {\n\t\treturn this.interactive ? \"button\" : null;\n\t}\n\n\tget ariaCardAvatarLabel() {\n\t\treturn CardHeader.i18nBundle.getText(AVATAR_TOOLTIP);\n\t}\n\n\tget ariaLabelledBy() {\n\t\tconst labels = [];\n\n\t\tif (this.titleText) {\n\t\t\tlabels.push(`${this._id}-title`);\n\t\t}\n\n\t\tif (this.subtitleText) {\n\t\t\tlabels.push(`${this._id}-subtitle`);\n\t\t}\n\n\t\tif (this.status) {\n\t\t\tlabels.push(`${this._id}-status`);\n\t\t}\n\n\t\tif (this.hasAvatar) {\n\t\t\tlabels.push(`${this._id}-avatar`);\n\t\t}\n\n\t\treturn labels.length !== 0 ? labels.join(\" \") : undefined;\n\t}\n\n\tget hasAvatar() {\n\t\treturn !!this.avatar.length;\n\t}\n\n\tget hasAction() {\n\t\treturn !!this.action.length;\n\t}\n\n\tstatic async onDefine() {\n\t\tCardHeader.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\n\t}\n\n\t_actionsFocusin() {\n\t\tthis._root.classList.add(\"ui5-card-header-hide-focus\");\n\t}\n\n\t_actionsFocusout() {\n\t\tthis._root.classList.remove(\"ui5-card-header-hide-focus\");\n\t}\n\n\t_click(e: MouseEvent) {\n\t\t// prevents the native browser \"click\" event from firing\n\t\te.stopImmediatePropagation();\n\n\t\tif (this.interactive && this._root.contains(e.target as HTMLElement)) {\n\t\t\tthis.fireEvent(\"click\");\n\t\t}\n\t}\n\n\t_keydown(e: KeyboardEvent) {\n\t\tif (!this.interactive || !this._root.contains(e.target as HTMLElement)) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst enter = isEnter(e);\n\t\tconst space = isSpace(e);\n\n\t\tthis._headerActive = enter || space;\n\n\t\tif (enter) {\n\t\t\tthis.fireEvent(\"click\");\n\t\t\treturn;\n\t\t}\n\n\t\tif (space) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_keyup(e: KeyboardEvent) {\n\t\tif (!this.interactive || !this._root.contains(e.target as HTMLElement)) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst space = isSpace(e);\n\n\t\tthis._headerActive = false;\n\n\t\tif (space) {\n\t\t\tthis.fireEvent(\"click\");\n\t\t}\n\t}\n}\n\nCardHeader.define();\n\nexport default CardHeader;\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="openui5" />
|
|
1
|
+
/// <reference types="openui5" resolution-mode="require"/>
|
|
2
2
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
3
3
|
import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
4
4
|
import CalendarType from "@ui5/webcomponents-base/dist/types/CalendarType.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="openui5" />
|
|
1
|
+
/// <reference types="openui5" resolution-mode="require"/>
|
|
2
2
|
import DatePicker from "./DatePicker.js";
|
|
3
3
|
import type { DatePickerChangeEventDetail } from "./DatePicker.js";
|
|
4
4
|
import CalendarPickersMode from "./types/CalendarPickersMode.js";
|
package/dist/Interfaces.d.ts
CHANGED
|
@@ -22,6 +22,14 @@ declare const IBreadcrumbsItem = "sap.ui.webc.main.IBreadcrumbsItem";
|
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
24
|
declare const IButton = "sap.ui.webc.main.IButton";
|
|
25
|
+
/**
|
|
26
|
+
* Interface for components that may be slotted inside <code>ui5-card</code> as header
|
|
27
|
+
*
|
|
28
|
+
* @name sap.ui.webc.main.ICardHeader
|
|
29
|
+
* @interface
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
declare const ICardHeader = "sap.ui.webc.main.ICardHeader";
|
|
25
33
|
/**
|
|
26
34
|
* Interface for components that may be used as dates inside <code>ui5-calendar</code>
|
|
27
35
|
*
|
|
@@ -158,4 +166,4 @@ declare const IToken = "sap.ui.webc.main.IToken";
|
|
|
158
166
|
* @public
|
|
159
167
|
*/
|
|
160
168
|
declare const ITreeItem = "sap.ui.webc.main.ITreeItem";
|
|
161
|
-
export { IAvatar, IBreadcrumbsItem, IButton, ICalendarDate, IColorPaletteItem, IComboBoxItem, IIcon, IInput, IInputSuggestionItem, IListItem, IMenuItem, IMultiComboBoxItem, ISegmentedButtonItem, ISelectOption, ITab, ITableCell, ITableColumn, ITableRow, IToken, ITreeItem, };
|
|
169
|
+
export { IAvatar, IBreadcrumbsItem, IButton, ICardHeader, ICalendarDate, IColorPaletteItem, IComboBoxItem, IIcon, IInput, IInputSuggestionItem, IListItem, IMenuItem, IMultiComboBoxItem, ISegmentedButtonItem, ISelectOption, ITab, ITableCell, ITableColumn, ITableRow, IToken, ITreeItem, };
|
package/dist/Interfaces.js
CHANGED
|
@@ -22,6 +22,14 @@ const IBreadcrumbsItem = "sap.ui.webc.main.IBreadcrumbsItem";
|
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
24
|
const IButton = "sap.ui.webc.main.IButton";
|
|
25
|
+
/**
|
|
26
|
+
* Interface for components that may be slotted inside <code>ui5-card</code> as header
|
|
27
|
+
*
|
|
28
|
+
* @name sap.ui.webc.main.ICardHeader
|
|
29
|
+
* @interface
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
const ICardHeader = "sap.ui.webc.main.ICardHeader";
|
|
25
33
|
/**
|
|
26
34
|
* Interface for components that may be used as dates inside <code>ui5-calendar</code>
|
|
27
35
|
*
|
|
@@ -158,5 +166,5 @@ const IToken = "sap.ui.webc.main.IToken";
|
|
|
158
166
|
* @public
|
|
159
167
|
*/
|
|
160
168
|
const ITreeItem = "sap.ui.webc.main.ITreeItem";
|
|
161
|
-
export { IAvatar, IBreadcrumbsItem, IButton, ICalendarDate, IColorPaletteItem, IComboBoxItem, IIcon, IInput, IInputSuggestionItem, IListItem, IMenuItem, IMultiComboBoxItem, ISegmentedButtonItem, ISelectOption, ITab, ITableCell, ITableColumn, ITableRow, IToken, ITreeItem, };
|
|
169
|
+
export { IAvatar, IBreadcrumbsItem, IButton, ICardHeader, ICalendarDate, IColorPaletteItem, IComboBoxItem, IIcon, IInput, IInputSuggestionItem, IListItem, IMenuItem, IMultiComboBoxItem, ISegmentedButtonItem, ISelectOption, ITab, ITableCell, ITableColumn, ITableRow, IToken, ITreeItem, };
|
|
162
170
|
//# sourceMappingURL=Interfaces.js.map
|
package/dist/Interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../src/Interfaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,OAAO,GAAG,0BAA0B,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,gBAAgB,GAAG,mCAAmC,CAAC;AAE7D;;;;;;GAMG;AACH,MAAM,OAAO,GAAG,0BAA0B,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,aAAa,GAAG,gCAAgC,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,aAAa,GAAG,gCAAgC,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,oCAAoC,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,KAAK,GAAG,wBAAwB,CAAC;AAEvC;;;;;;GAMG;AACH,MAAM,MAAM,GAAG,yBAAyB,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,oBAAoB,GAAG,uCAAuC,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,4BAA4B,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,4BAA4B,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,kBAAkB,GAAG,qCAAqC,CAAC;AAEjE;;;;;;GAMG;AACH,MAAM,oBAAoB,GAAG,uCAAuC,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,aAAa,GAAG,gCAAgC,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,IAAI,GAAG,uBAAuB,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,4BAA4B,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,YAAY,GAAG,+BAA+B,CAAC;AAErD;;;;;;GAMG;AACH,MAAM,UAAU,GAAG,6BAA6B,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,MAAM,GAAG,yBAAyB,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,4BAA4B,CAAC;AAE/C,OAAO,EACN,OAAO,EACP,gBAAgB,EAChB,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,KAAK,EACL,MAAM,EACN,oBAAoB,EACpB,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,SAAS,EACT,MAAM,EACN,SAAS,GACT,CAAC","sourcesContent":["/**\n * Interface for components that represent an avatar and may be slotted in numerous higher-order components such as <code>ui5-avatar-group</code>\n *\n * @name sap.ui.webc.main.IAvatar\n * @interface\n * @public\n */\nconst IAvatar = \"sap.ui.webc.main.IAvatar\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-breadcrumbs</code> as options\n *\n * @name sap.ui.webc.main.IBreadcrumbsItem\n * @interface\n * @public\n */\nconst IBreadcrumbsItem = \"sap.ui.webc.main.IBreadcrumbsItem\";\n\n/**\n * Interface for components that may be used as a button inside numerous higher-order components\n *\n * @name sap.ui.webc.main.IButton\n * @interface\n * @public\n */\nconst IButton = \"sap.ui.webc.main.IButton\";\n\n/**\n * Interface for components that may be used as dates inside <code>ui5-calendar</code>\n *\n * @name sap.ui.webc.main.ICalendarDate\n * @interface\n * @public\n */\nconst ICalendarDate = \"sap.ui.webc.main.ICalendarDate\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-combobox</code>\n *\n * @name sap.ui.webc.main.IComboBoxItem\n * @interface\n * @public\n */\nconst IComboBoxItem = \"sap.ui.webc.main.IComboBoxItem\";\n\n/**\n * Interface for components that may be used inside a <code>ui5-color-palette</code> or <code>ui5-color-palette-popover</code>\n *\n * @name sap.ui.webc.main.IColorPaletteItem\n * @interface\n * @public\n */\nconst IColorPaletteItem = \"sap.ui.webc.main.IColorPaletteItem\";\n\n/**\n * Interface for components that represent an icon, usable in numerous higher-order components\n *\n * @name sap.ui.webc.main.IIcon\n * @interface\n * @public\n */\nconst IIcon = \"sap.ui.webc.main.IIcon\";\n\n/**\n * Interface for components that represent an input, usable in numerous higher-order components\n *\n * @name sap.ui.webc.main.IInput\n * @interface\n * @public\n */\nconst IInput = \"sap.ui.webc.main.IInput\";\n\n/**\n * Interface for components that represent a suggestion item, usable in <code>ui5-input</code>\n *\n * @name sap.ui.webc.main.IInputSuggestionItem\n * @interface\n * @public\n */\nconst IInputSuggestionItem = \"sap.ui.webc.main.IInputSuggestionItem\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-list</code> as items\n *\n * @name sap.ui.webc.main.IListItem\n * @interface\n * @public\n */\nconst IListItem = \"sap.ui.webc.main.IListItem\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-menu</code> as items\n *\n * @name sap.ui.webc.main.IMenuItem\n * @interface\n * @public\n */\nconst IMenuItem = \"sap.ui.webc.main.IMenuItem\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-multi-combobox</code> as items\n *\n * @name sap.ui.webc.main.IMultiComboBoxItem\n * @interface\n * @public\n */\nconst IMultiComboBoxItem = \"sap.ui.webc.main.IMultiComboBoxItem\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-segmented-button</code> as items\n *\n * @name sap.ui.webc.main.ISegmentedButtonItem\n * @interface\n * @public\n */\nconst ISegmentedButtonItem = \"sap.ui.webc.main.ISegmentedButtonItem\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-select</code> as options\n *\n * @name sap.ui.webc.main.ISelectOption\n * @interface\n * @public\n */\nconst ISelectOption = \"sap.ui.webc.main.ISelectOption\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-tabcontainer</code>\n *\n * @name sap.ui.webc.main.ITab\n * @interface\n * @public\n */\nconst ITab = \"sap.ui.webc.main.ITab\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-table</code> as rows\n *\n * @name sap.ui.webc.main.ITableRow\n * @interface\n * @public\n */\nconst ITableRow = \"sap.ui.webc.main.ITableRow\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-table</code> as columns\n *\n * @name sap.ui.webc.main.ITableColumn\n * @interface\n * @public\n */\nconst ITableColumn = \"sap.ui.webc.main.ITableColumn\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-table-row</code> as cells\n *\n * @name sap.ui.webc.main.ITableCell\n * @interface\n * @public\n */\nconst ITableCell = \"sap.ui.webc.main.ITableCell\";\n\n/**\n * Interface for components that represent a token and are usable in components such as <code>ui5-multi-input</code>\n *\n * @name sap.ui.webc.main.IToken\n * @interface\n * @public\n */\nconst IToken = \"sap.ui.webc.main.IToken\";\n\n/**\n * Interface for tree items for the purpose of <code>ui5-tree</code>\n *\n * @name sap.ui.webc.main.ITreeItem\n * @interface\n * @public\n */\nconst ITreeItem = \"sap.ui.webc.main.ITreeItem\";\n\nexport {\n\tIAvatar,\n\tIBreadcrumbsItem,\n\tIButton,\n\tICalendarDate,\n\tIColorPaletteItem,\n\tIComboBoxItem,\n\tIIcon,\n\tIInput,\n\tIInputSuggestionItem,\n\tIListItem,\n\tIMenuItem,\n\tIMultiComboBoxItem,\n\tISegmentedButtonItem,\n\tISelectOption,\n\tITab,\n\tITableCell,\n\tITableColumn,\n\tITableRow,\n\tIToken,\n\tITreeItem,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../src/Interfaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,OAAO,GAAG,0BAA0B,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,gBAAgB,GAAG,mCAAmC,CAAC;AAE7D;;;;;;GAMG;AACH,MAAM,OAAO,GAAG,0BAA0B,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,WAAW,GAAG,8BAA8B,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,aAAa,GAAG,gCAAgC,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,aAAa,GAAG,gCAAgC,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,oCAAoC,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,KAAK,GAAG,wBAAwB,CAAC;AAEvC;;;;;;GAMG;AACH,MAAM,MAAM,GAAG,yBAAyB,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,oBAAoB,GAAG,uCAAuC,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,4BAA4B,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,4BAA4B,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,kBAAkB,GAAG,qCAAqC,CAAC;AAEjE;;;;;;GAMG;AACH,MAAM,oBAAoB,GAAG,uCAAuC,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,aAAa,GAAG,gCAAgC,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,IAAI,GAAG,uBAAuB,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,4BAA4B,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,YAAY,GAAG,+BAA+B,CAAC;AAErD;;;;;;GAMG;AACH,MAAM,UAAU,GAAG,6BAA6B,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,MAAM,GAAG,yBAAyB,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,4BAA4B,CAAC;AAE/C,OAAO,EACN,OAAO,EACP,gBAAgB,EAChB,OAAO,EACP,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,KAAK,EACL,MAAM,EACN,oBAAoB,EACpB,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,SAAS,EACT,MAAM,EACN,SAAS,GACT,CAAC","sourcesContent":["/**\n * Interface for components that represent an avatar and may be slotted in numerous higher-order components such as <code>ui5-avatar-group</code>\n *\n * @name sap.ui.webc.main.IAvatar\n * @interface\n * @public\n */\nconst IAvatar = \"sap.ui.webc.main.IAvatar\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-breadcrumbs</code> as options\n *\n * @name sap.ui.webc.main.IBreadcrumbsItem\n * @interface\n * @public\n */\nconst IBreadcrumbsItem = \"sap.ui.webc.main.IBreadcrumbsItem\";\n\n/**\n * Interface for components that may be used as a button inside numerous higher-order components\n *\n * @name sap.ui.webc.main.IButton\n * @interface\n * @public\n */\nconst IButton = \"sap.ui.webc.main.IButton\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-card</code> as header\n *\n * @name sap.ui.webc.main.ICardHeader\n * @interface\n * @public\n */\nconst ICardHeader = \"sap.ui.webc.main.ICardHeader\";\n\n/**\n * Interface for components that may be used as dates inside <code>ui5-calendar</code>\n *\n * @name sap.ui.webc.main.ICalendarDate\n * @interface\n * @public\n */\nconst ICalendarDate = \"sap.ui.webc.main.ICalendarDate\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-combobox</code>\n *\n * @name sap.ui.webc.main.IComboBoxItem\n * @interface\n * @public\n */\nconst IComboBoxItem = \"sap.ui.webc.main.IComboBoxItem\";\n\n/**\n * Interface for components that may be used inside a <code>ui5-color-palette</code> or <code>ui5-color-palette-popover</code>\n *\n * @name sap.ui.webc.main.IColorPaletteItem\n * @interface\n * @public\n */\nconst IColorPaletteItem = \"sap.ui.webc.main.IColorPaletteItem\";\n\n/**\n * Interface for components that represent an icon, usable in numerous higher-order components\n *\n * @name sap.ui.webc.main.IIcon\n * @interface\n * @public\n */\nconst IIcon = \"sap.ui.webc.main.IIcon\";\n\n/**\n * Interface for components that represent an input, usable in numerous higher-order components\n *\n * @name sap.ui.webc.main.IInput\n * @interface\n * @public\n */\nconst IInput = \"sap.ui.webc.main.IInput\";\n\n/**\n * Interface for components that represent a suggestion item, usable in <code>ui5-input</code>\n *\n * @name sap.ui.webc.main.IInputSuggestionItem\n * @interface\n * @public\n */\nconst IInputSuggestionItem = \"sap.ui.webc.main.IInputSuggestionItem\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-list</code> as items\n *\n * @name sap.ui.webc.main.IListItem\n * @interface\n * @public\n */\nconst IListItem = \"sap.ui.webc.main.IListItem\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-menu</code> as items\n *\n * @name sap.ui.webc.main.IMenuItem\n * @interface\n * @public\n */\nconst IMenuItem = \"sap.ui.webc.main.IMenuItem\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-multi-combobox</code> as items\n *\n * @name sap.ui.webc.main.IMultiComboBoxItem\n * @interface\n * @public\n */\nconst IMultiComboBoxItem = \"sap.ui.webc.main.IMultiComboBoxItem\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-segmented-button</code> as items\n *\n * @name sap.ui.webc.main.ISegmentedButtonItem\n * @interface\n * @public\n */\nconst ISegmentedButtonItem = \"sap.ui.webc.main.ISegmentedButtonItem\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-select</code> as options\n *\n * @name sap.ui.webc.main.ISelectOption\n * @interface\n * @public\n */\nconst ISelectOption = \"sap.ui.webc.main.ISelectOption\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-tabcontainer</code>\n *\n * @name sap.ui.webc.main.ITab\n * @interface\n * @public\n */\nconst ITab = \"sap.ui.webc.main.ITab\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-table</code> as rows\n *\n * @name sap.ui.webc.main.ITableRow\n * @interface\n * @public\n */\nconst ITableRow = \"sap.ui.webc.main.ITableRow\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-table</code> as columns\n *\n * @name sap.ui.webc.main.ITableColumn\n * @interface\n * @public\n */\nconst ITableColumn = \"sap.ui.webc.main.ITableColumn\";\n\n/**\n * Interface for components that may be slotted inside a <code>ui5-table-row</code> as cells\n *\n * @name sap.ui.webc.main.ITableCell\n * @interface\n * @public\n */\nconst ITableCell = \"sap.ui.webc.main.ITableCell\";\n\n/**\n * Interface for components that represent a token and are usable in components such as <code>ui5-multi-input</code>\n *\n * @name sap.ui.webc.main.IToken\n * @interface\n * @public\n */\nconst IToken = \"sap.ui.webc.main.IToken\";\n\n/**\n * Interface for tree items for the purpose of <code>ui5-tree</code>\n *\n * @name sap.ui.webc.main.ITreeItem\n * @interface\n * @public\n */\nconst ITreeItem = \"sap.ui.webc.main.ITreeItem\";\n\nexport {\n\tIAvatar,\n\tIBreadcrumbsItem,\n\tIButton,\n\tICardHeader,\n\tICalendarDate,\n\tIColorPaletteItem,\n\tIComboBoxItem,\n\tIIcon,\n\tIInput,\n\tIInputSuggestionItem,\n\tIListItem,\n\tIMenuItem,\n\tIMultiComboBoxItem,\n\tISegmentedButtonItem,\n\tISelectOption,\n\tITab,\n\tITableCell,\n\tITableColumn,\n\tITableRow,\n\tIToken,\n\tITreeItem,\n};\n"]}
|
package/dist/TimePicker.d.ts
CHANGED
package/dist/TimePickerBase.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="openui5" />
|
|
1
|
+
/// <reference types="openui5" resolution-mode="require"/>
|
|
2
2
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
3
3
|
import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
4
4
|
import ValueState from "@ui5/webcomponents-base/dist/types/ValueState.js";
|
package/dist/TimeSelection.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="openui5" />
|
|
1
|
+
/// <reference types="openui5" resolution-mode="require"/>
|
|
2
2
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
3
3
|
import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
4
4
|
import DateFormat from "@ui5/webcomponents-localization/dist/DateFormat.js";
|