@ui5/webcomponents 2.5.0 → 2.6.0-rc.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 +29 -0
- package/cypress/specs/ExpandableText.cy.ts +389 -0
- package/cypress/specs/Input.cy.ts +99 -0
- package/cypress/specs/MessageStrip.cy.ts +29 -0
- package/cypress/specs/StepInput.cy.ts +34 -0
- package/cypress/specs/TableDragAndDrop.cy.ts +233 -0
- package/cypress/specs/TableUtils.cy.ts +26 -0
- package/cypress/specs/Toast.cy.ts +43 -0
- package/cypress/specs/Toolbar.cy.ts +1 -1
- package/cypress/specs/base/Events.cy.ts +16 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/Avatar.d.ts +5 -8
- package/dist/Avatar.js +10 -11
- package/dist/Avatar.js.map +1 -1
- package/dist/AvatarGroup.d.ts +8 -16
- package/dist/AvatarGroup.js +21 -33
- package/dist/AvatarGroup.js.map +1 -1
- package/dist/AvatarGroupTemplate.d.ts +2 -0
- package/dist/AvatarGroupTemplate.js +17 -0
- package/dist/AvatarGroupTemplate.js.map +1 -0
- package/dist/AvatarTemplate.d.ts +2 -0
- package/dist/AvatarTemplate.js +10 -0
- package/dist/AvatarTemplate.js.map +1 -0
- package/dist/Bar.d.ts +0 -5
- package/dist/Bar.js +3 -10
- package/dist/Bar.js.map +1 -1
- package/dist/BarTemplate.d.ts +2 -0
- package/dist/BarTemplate.js +5 -0
- package/dist/BarTemplate.js.map +1 -0
- package/dist/Breadcrumbs.d.ts +5 -1
- package/dist/Breadcrumbs.js +11 -5
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/BreadcrumbsPopoverTemplate.d.ts +2 -0
- package/dist/BreadcrumbsPopoverTemplate.js +9 -0
- package/dist/BreadcrumbsPopoverTemplate.js.map +1 -0
- package/dist/BreadcrumbsTemplate.d.ts +2 -0
- package/dist/BreadcrumbsTemplate.js +12 -0
- package/dist/BreadcrumbsTemplate.js.map +1 -0
- package/dist/BusyIndicator.d.ts +0 -5
- package/dist/BusyIndicator.js +3 -10
- package/dist/BusyIndicator.js.map +1 -1
- package/dist/BusyIndicatorTemplate.d.ts +2 -0
- package/dist/BusyIndicatorTemplate.js +9 -0
- package/dist/BusyIndicatorTemplate.js.map +1 -0
- package/dist/Button.d.ts +6 -10
- package/dist/Button.js +18 -35
- package/dist/Button.js.map +1 -1
- package/dist/ButtonTemplate.d.ts +8 -0
- package/dist/ButtonTemplate.js +9 -0
- package/dist/ButtonTemplate.js.map +1 -0
- package/dist/Calendar.js +1 -1
- package/dist/Calendar.js.map +1 -1
- package/dist/CalendarDateRange.js +3 -0
- package/dist/CalendarDateRange.js.map +1 -1
- package/dist/CalendarHeaderTemplate.d.ts +2 -0
- package/dist/CalendarHeaderTemplate.js +16 -0
- package/dist/CalendarHeaderTemplate.js.map +1 -0
- package/dist/CalendarLegend.d.ts +6 -3
- package/dist/CalendarLegend.js +22 -13
- package/dist/CalendarLegend.js.map +1 -1
- package/dist/CalendarLegendItem.js +3 -3
- package/dist/CalendarLegendItem.js.map +1 -1
- package/dist/CalendarLegendItemTemplate.d.ts +2 -0
- package/dist/CalendarLegendItemTemplate.js +7 -0
- package/dist/CalendarLegendItemTemplate.js.map +1 -0
- package/dist/CalendarLegendTemplate.d.ts +2 -0
- package/dist/CalendarLegendTemplate.js +6 -0
- package/dist/CalendarLegendTemplate.js.map +1 -0
- package/dist/CalendarTemplate.d.ts +2 -0
- package/dist/CalendarTemplate.js +9 -0
- package/dist/CalendarTemplate.js.map +1 -0
- package/dist/Card.d.ts +0 -7
- package/dist/Card.js +3 -12
- package/dist/Card.js.map +1 -1
- package/dist/CardHeader.d.ts +1 -9
- package/dist/CardHeader.js +5 -15
- package/dist/CardHeader.js.map +1 -1
- package/dist/CardHeaderTemplate.d.ts +2 -0
- package/dist/CardHeaderTemplate.js +16 -0
- package/dist/CardHeaderTemplate.js.map +1 -0
- package/dist/CardTemplate.d.ts +2 -0
- package/dist/CardTemplate.js +11 -0
- package/dist/CardTemplate.js.map +1 -0
- package/dist/Carousel.d.ts +12 -25
- package/dist/Carousel.js +7 -27
- package/dist/Carousel.js.map +1 -1
- package/dist/CarouselTemplate.d.ts +2 -0
- package/dist/CarouselTemplate.js +36 -0
- package/dist/CarouselTemplate.js.map +1 -0
- package/dist/CheckBox.d.ts +3 -7
- package/dist/CheckBox.js +9 -17
- package/dist/CheckBox.js.map +1 -1
- package/dist/CheckBoxTemplate.d.ts +2 -0
- package/dist/CheckBoxTemplate.js +30 -0
- package/dist/CheckBoxTemplate.js.map +1 -0
- package/dist/ColorPalette.d.ts +3 -3
- package/dist/ColorPalette.js +4 -3
- package/dist/ColorPalette.js.map +1 -1
- package/dist/ColorPaletteDialogTemplate.d.ts +2 -0
- package/dist/ColorPaletteDialogTemplate.js +9 -0
- package/dist/ColorPaletteDialogTemplate.js.map +1 -0
- package/dist/ColorPaletteItem.js +5 -3
- package/dist/ColorPaletteItem.js.map +1 -1
- package/dist/ColorPaletteItemTemplate.d.ts +2 -0
- package/dist/ColorPaletteItemTemplate.js +7 -0
- package/dist/ColorPaletteItemTemplate.js.map +1 -0
- package/dist/ColorPalettePopover.d.ts +1 -1
- package/dist/ColorPalettePopover.js +3 -3
- package/dist/ColorPalettePopover.js.map +1 -1
- package/dist/ColorPalettePopoverTemplate.d.ts +2 -0
- package/dist/ColorPalettePopoverTemplate.js +9 -0
- package/dist/ColorPalettePopoverTemplate.js.map +1 -0
- package/dist/ColorPaletteTemplate.d.ts +2 -0
- package/dist/ColorPaletteTemplate.js +15 -0
- package/dist/ColorPaletteTemplate.js.map +1 -0
- package/dist/ColorPicker.d.ts +5 -4
- package/dist/ColorPicker.js +22 -19
- package/dist/ColorPicker.js.map +1 -1
- package/dist/ColorPickerTemplate.d.ts +2 -0
- package/dist/ColorPickerTemplate.js +13 -0
- package/dist/ColorPickerTemplate.js.map +1 -0
- package/dist/ComboBox.js +3 -3
- package/dist/ComboBox.js.map +1 -1
- package/dist/ComboBoxItem.d.ts +1 -0
- package/dist/ComboBoxItem.js +1 -1
- package/dist/ComboBoxItem.js.map +1 -1
- package/dist/ComboBoxItemGroup.d.ts +1 -0
- package/dist/ComboBoxItemGroup.js +1 -1
- package/dist/ComboBoxItemGroup.js.map +1 -1
- package/dist/ComboBoxItemGroupTemplate.d.ts +2 -0
- package/dist/ComboBoxItemGroupTemplate.js +9 -0
- package/dist/ComboBoxItemGroupTemplate.js.map +1 -0
- package/dist/ComboBoxItemTemplate.d.ts +2 -0
- package/dist/ComboBoxItemTemplate.js +9 -0
- package/dist/ComboBoxItemTemplate.js.map +1 -0
- package/dist/ComboBoxPopoverTemplate.d.ts +2 -0
- package/dist/ComboBoxPopoverTemplate.js +26 -0
- package/dist/ComboBoxPopoverTemplate.js.map +1 -0
- package/dist/ComboBoxTemplate.d.ts +2 -0
- package/dist/ComboBoxTemplate.js +16 -0
- package/dist/ComboBoxTemplate.js.map +1 -0
- package/dist/DateComponentBase.js +2 -2
- package/dist/DateComponentBase.js.map +1 -1
- package/dist/DatePicker.d.ts +8 -12
- package/dist/DatePicker.js +3 -5
- package/dist/DatePicker.js.map +1 -1
- package/dist/DatePickerInputTemplate.d.ts +2 -0
- package/dist/DatePickerInputTemplate.js +14 -0
- package/dist/DatePickerInputTemplate.js.map +1 -0
- package/dist/DatePickerPopoverTemplate.d.ts +8 -0
- package/dist/DatePickerPopoverTemplate.js +20 -0
- package/dist/DatePickerPopoverTemplate.js.map +1 -0
- package/dist/DatePickerTemplate.d.ts +2 -0
- package/dist/DatePickerTemplate.js +9 -0
- package/dist/DatePickerTemplate.js.map +1 -0
- package/dist/DateRangePicker.d.ts +2 -1
- package/dist/DateRangePicker.js +1 -1
- package/dist/DateRangePicker.js.map +1 -1
- package/dist/DateRangePickerTemplate.d.ts +2 -0
- package/dist/DateRangePickerTemplate.js +15 -0
- package/dist/DateRangePickerTemplate.js.map +1 -0
- package/dist/DateTimePicker.d.ts +2 -1
- package/dist/DateTimePicker.js +7 -4
- package/dist/DateTimePicker.js.map +1 -1
- package/dist/DateTimePickerTemplate.d.ts +2 -0
- package/dist/DateTimePickerTemplate.js +40 -0
- package/dist/DateTimePickerTemplate.js.map +1 -0
- package/dist/DayPicker.d.ts +4 -10
- package/dist/DayPicker.js +4 -12
- package/dist/DayPicker.js.map +1 -1
- package/dist/DayPickerTemplate.d.ts +2 -0
- package/dist/DayPickerTemplate.js +23 -0
- package/dist/DayPickerTemplate.js.map +1 -0
- package/dist/Dialog.d.ts +3 -6
- package/dist/Dialog.js +5 -5
- package/dist/Dialog.js.map +1 -1
- package/dist/DialogTemplate.d.ts +2 -0
- package/dist/DialogTemplate.js +29 -0
- package/dist/DialogTemplate.js.map +1 -0
- package/dist/DropIndicator.d.ts +0 -6
- package/dist/DropIndicator.js +3 -11
- package/dist/DropIndicator.js.map +1 -1
- package/dist/DropIndicatorTemplate.d.ts +2 -0
- package/dist/DropIndicatorTemplate.js +9 -0
- package/dist/DropIndicatorTemplate.js.map +1 -0
- package/dist/ExpandableText.d.ts +77 -0
- package/dist/ExpandableText.js +177 -0
- package/dist/ExpandableText.js.map +1 -0
- package/dist/ExpandableTextTemplate.d.ts +2 -0
- package/dist/ExpandableTextTemplate.js +10 -0
- package/dist/ExpandableTextTemplate.js.map +1 -0
- package/dist/FileUploader.d.ts +0 -14
- package/dist/FileUploader.js +3 -21
- package/dist/FileUploader.js.map +1 -1
- package/dist/FileUploaderPopoverTemplate.d.ts +2 -0
- package/dist/FileUploaderPopoverTemplate.js +23 -0
- package/dist/FileUploaderPopoverTemplate.js.map +1 -0
- package/dist/FileUploaderTemplate.d.ts +2 -0
- package/dist/FileUploaderTemplate.js +8 -0
- package/dist/FileUploaderTemplate.js.map +1 -0
- package/dist/Form.d.ts +2 -3
- package/dist/Form.js +8 -4
- package/dist/Form.js.map +1 -1
- package/dist/FormItem.js +3 -3
- package/dist/FormItem.js.map +1 -1
- package/dist/FormItemTemplate.d.ts +2 -0
- package/dist/FormItemTemplate.js +5 -0
- package/dist/FormItemTemplate.js.map +1 -0
- package/dist/FormTemplate.d.ts +2 -0
- package/dist/FormTemplate.js +29 -0
- package/dist/FormTemplate.js.map +1 -0
- package/dist/Icon.d.ts +1 -1
- package/dist/Icon.js +4 -4
- package/dist/Icon.js.map +1 -1
- package/dist/IconTemplate.d.ts +2 -0
- package/dist/IconTemplate.js +7 -0
- package/dist/IconTemplate.js.map +1 -0
- package/dist/Input.d.ts +29 -31
- package/dist/Input.js +37 -27
- package/dist/Input.js.map +1 -1
- package/dist/InputPopoverTemplate.d.ts +2 -0
- package/dist/InputPopoverTemplate.js +42 -0
- package/dist/InputPopoverTemplate.js.map +1 -0
- package/dist/InputTemplate.d.ts +7 -0
- package/dist/InputTemplate.js +17 -0
- package/dist/InputTemplate.js.map +1 -0
- package/dist/Label.js +4 -4
- package/dist/Label.js.map +1 -1
- package/dist/LabelTemplate.d.ts +2 -0
- package/dist/LabelTemplate.js +5 -0
- package/dist/LabelTemplate.js.map +1 -0
- package/dist/Link.d.ts +4 -4
- package/dist/Link.js +7 -6
- package/dist/Link.js.map +1 -1
- package/dist/LinkTemplate.d.ts +2 -0
- package/dist/LinkTemplate.js +9 -0
- package/dist/LinkTemplate.js.map +1 -0
- package/dist/List.d.ts +2 -12
- package/dist/List.js +22 -54
- package/dist/List.js.map +1 -1
- package/dist/ListItem.d.ts +8 -9
- package/dist/ListItem.js +10 -12
- package/dist/ListItem.js.map +1 -1
- package/dist/ListItemBase.d.ts +4 -4
- package/dist/ListItemBase.js +9 -9
- package/dist/ListItemBase.js.map +1 -1
- package/dist/ListItemBaseTemplate.d.ts +8 -0
- package/dist/ListItemBaseTemplate.js +9 -0
- package/dist/ListItemBaseTemplate.js.map +1 -0
- package/dist/ListItemCustom.js +3 -1
- package/dist/ListItemCustom.js.map +1 -1
- package/dist/ListItemCustomTemplate.d.ts +3 -0
- package/dist/ListItemCustomTemplate.js +13 -0
- package/dist/ListItemCustomTemplate.js.map +1 -0
- package/dist/ListItemGroup.js +3 -3
- package/dist/ListItemGroup.js.map +1 -1
- package/dist/ListItemGroupHeader.d.ts +1 -0
- package/dist/ListItemGroupHeader.js +1 -1
- package/dist/ListItemGroupHeader.js.map +1 -1
- package/dist/ListItemGroupHeaderTemplate.d.ts +2 -0
- package/dist/ListItemGroupHeaderTemplate.js +8 -0
- package/dist/ListItemGroupHeaderTemplate.js.map +1 -0
- package/dist/ListItemGroupTemplate.d.ts +4 -0
- package/dist/ListItemGroupTemplate.js +12 -0
- package/dist/ListItemGroupTemplate.js.map +1 -0
- package/dist/ListItemStandard.js +3 -1
- package/dist/ListItemStandard.js.map +1 -1
- package/dist/ListItemStandardTemplate.d.ts +3 -0
- package/dist/ListItemStandardTemplate.js +32 -0
- package/dist/ListItemStandardTemplate.js.map +1 -0
- package/dist/ListItemTemplate.d.ts +11 -0
- package/dist/ListItemTemplate.js +37 -0
- package/dist/ListItemTemplate.js.map +1 -0
- package/dist/ListTemplate.d.ts +2 -0
- package/dist/ListTemplate.js +19 -0
- package/dist/ListTemplate.js.map +1 -0
- package/dist/Menu.d.ts +2 -2
- package/dist/Menu.js +4 -3
- package/dist/Menu.js.map +1 -1
- package/dist/MenuItem.d.ts +4 -5
- package/dist/MenuItem.js +5 -3
- package/dist/MenuItem.js.map +1 -1
- package/dist/MenuItemTemplate.d.ts +7 -0
- package/dist/MenuItemTemplate.js +43 -0
- package/dist/MenuItemTemplate.js.map +1 -0
- package/dist/MenuSeparator.d.ts +1 -0
- package/dist/MenuSeparator.js +3 -3
- package/dist/MenuSeparator.js.map +1 -1
- package/dist/MenuSeparatorTemplate.d.ts +2 -0
- package/dist/MenuSeparatorTemplate.js +6 -0
- package/dist/MenuSeparatorTemplate.js.map +1 -0
- package/dist/MenuTemplate.d.ts +2 -0
- package/dist/MenuTemplate.js +13 -0
- package/dist/MenuTemplate.js.map +1 -0
- package/dist/MessageStrip.d.ts +3 -9
- package/dist/MessageStrip.js +18 -35
- package/dist/MessageStrip.js.map +1 -1
- package/dist/MessageStripTemplate.d.ts +2 -0
- package/dist/MessageStripTemplate.js +37 -0
- package/dist/MessageStripTemplate.js.map +1 -0
- package/dist/MonthPicker.d.ts +4 -4
- package/dist/MonthPicker.js +10 -10
- package/dist/MonthPicker.js.map +1 -1
- package/dist/MonthPickerTemplate.d.ts +2 -0
- package/dist/MonthPickerTemplate.js +6 -0
- package/dist/MonthPickerTemplate.js.map +1 -0
- package/dist/MultiComboBox.js +1 -3
- package/dist/MultiComboBox.js.map +1 -1
- package/dist/MultiComboBoxItem.d.ts +1 -1
- package/dist/MultiComboBoxItem.js +4 -5
- package/dist/MultiComboBoxItem.js.map +1 -1
- package/dist/MultiComboBoxItemGroup.d.ts +1 -0
- package/dist/MultiComboBoxItemGroup.js +1 -1
- package/dist/MultiComboBoxItemGroup.js.map +1 -1
- package/dist/MultiComboBoxItemGroupTemplate.d.ts +2 -0
- package/dist/MultiComboBoxItemGroupTemplate.js +9 -0
- package/dist/MultiComboBoxItemGroupTemplate.js.map +1 -0
- package/dist/MultiComboBoxItemTemplate.d.ts +2 -0
- package/dist/MultiComboBoxItemTemplate.js +10 -0
- package/dist/MultiComboBoxItemTemplate.js.map +1 -0
- package/dist/MultiInput.d.ts +12 -14
- package/dist/MultiInput.js +6 -9
- package/dist/MultiInput.js.map +1 -1
- package/dist/MultiInputTemplate.d.ts +2 -0
- package/dist/MultiInputTemplate.js +18 -0
- package/dist/MultiInputTemplate.js.map +1 -0
- package/dist/NavigationMenu.js +4 -4
- package/dist/NavigationMenu.js.map +1 -1
- package/dist/NavigationMenuItem.d.ts +2 -2
- package/dist/NavigationMenuItem.js +3 -1
- package/dist/NavigationMenuItem.js.map +1 -1
- package/dist/NavigationMenuItemTemplate.d.ts +3 -0
- package/dist/NavigationMenuItemTemplate.js +44 -0
- package/dist/NavigationMenuItemTemplate.js.map +1 -0
- package/dist/NavigationMenuTemplate.d.ts +2 -0
- package/dist/NavigationMenuTemplate.js +15 -0
- package/dist/NavigationMenuTemplate.js.map +1 -0
- package/dist/Option.d.ts +1 -0
- package/dist/Option.js +1 -1
- package/dist/Option.js.map +1 -1
- package/dist/OptionCustom.d.ts +1 -0
- package/dist/OptionCustom.js +1 -1
- package/dist/OptionCustom.js.map +1 -1
- package/dist/OptionCustomTemplate.d.ts +2 -0
- package/dist/OptionCustomTemplate.js +9 -0
- package/dist/OptionCustomTemplate.js.map +1 -0
- package/dist/OptionTemplate.d.ts +2 -0
- package/dist/OptionTemplate.js +12 -0
- package/dist/OptionTemplate.js.map +1 -0
- package/dist/Panel.d.ts +6 -20
- package/dist/Panel.js +7 -25
- package/dist/Panel.js.map +1 -1
- package/dist/PanelTemplate.d.ts +2 -0
- package/dist/PanelTemplate.js +29 -0
- package/dist/PanelTemplate.js.map +1 -0
- package/dist/Popover.d.ts +1 -6
- package/dist/Popover.js +4 -16
- package/dist/Popover.js.map +1 -1
- package/dist/PopoverTemplate.d.ts +2 -0
- package/dist/PopoverTemplate.js +21 -0
- package/dist/PopoverTemplate.js.map +1 -0
- package/dist/Popup.d.ts +6 -6
- package/dist/Popup.js +5 -4
- package/dist/Popup.js.map +1 -1
- package/dist/PopupBlockLayerTemplate.d.ts +2 -0
- package/dist/PopupBlockLayerTemplate.js +5 -0
- package/dist/PopupBlockLayerTemplate.js.map +1 -0
- package/dist/PopupTemplate.d.ts +8 -0
- package/dist/PopupTemplate.js +8 -0
- package/dist/PopupTemplate.js.map +1 -0
- package/dist/ProgressIndicator.d.ts +0 -14
- package/dist/ProgressIndicator.js +3 -30
- package/dist/ProgressIndicator.js.map +1 -1
- package/dist/ProgressIndicatorTemplate.d.ts +2 -0
- package/dist/ProgressIndicatorTemplate.js +28 -0
- package/dist/ProgressIndicatorTemplate.js.map +1 -0
- package/dist/RadioButton.d.ts +3 -8
- package/dist/RadioButton.js +7 -14
- package/dist/RadioButton.js.map +1 -1
- package/dist/RadioButtonGroup.js +3 -3
- package/dist/RadioButtonGroup.js.map +1 -1
- package/dist/RadioButtonTemplate.d.ts +2 -0
- package/dist/RadioButtonTemplate.js +12 -0
- package/dist/RadioButtonTemplate.js.map +1 -0
- package/dist/RangeSlider.js +1 -1
- package/dist/RangeSlider.js.map +1 -1
- package/dist/RangeSliderTemplate.d.ts +5 -0
- package/dist/RangeSliderTemplate.js +30 -0
- package/dist/RangeSliderTemplate.js.map +1 -0
- package/dist/RatingIndicator.d.ts +2 -4
- package/dist/RatingIndicator.js +7 -9
- package/dist/RatingIndicator.js.map +1 -1
- package/dist/RatingIndicatorTemplate.d.ts +2 -0
- package/dist/RatingIndicatorTemplate.js +26 -0
- package/dist/RatingIndicatorTemplate.js.map +1 -0
- package/dist/ResponsivePopover.d.ts +2 -4
- package/dist/ResponsivePopover.js +4 -2
- package/dist/ResponsivePopover.js.map +1 -1
- package/dist/ResponsivePopoverTemplate.d.ts +2 -0
- package/dist/ResponsivePopoverTemplate.js +18 -0
- package/dist/ResponsivePopoverTemplate.js.map +1 -0
- package/dist/SegmentedButton.js +3 -3
- package/dist/SegmentedButton.js.map +1 -1
- package/dist/SegmentedButtonItem.js +3 -3
- package/dist/SegmentedButtonItem.js.map +1 -1
- package/dist/SegmentedButtonItemTemplate.d.ts +2 -0
- package/dist/SegmentedButtonItemTemplate.js +7 -0
- package/dist/SegmentedButtonItemTemplate.js.map +1 -0
- package/dist/SegmentedButtonTemplate.d.ts +2 -0
- package/dist/SegmentedButtonTemplate.js +5 -0
- package/dist/SegmentedButtonTemplate.js.map +1 -0
- package/dist/Select.d.ts +1 -1
- package/dist/Slider.d.ts +2 -1
- package/dist/Slider.js +1 -1
- package/dist/Slider.js.map +1 -1
- package/dist/SliderBase.d.ts +4 -7
- package/dist/SliderBase.js +3 -11
- package/dist/SliderBase.js.map +1 -1
- package/dist/SliderBaseTemplate.d.ts +10 -0
- package/dist/SliderBaseTemplate.js +20 -0
- package/dist/SliderBaseTemplate.js.map +1 -0
- package/dist/SliderTemplate.d.ts +4 -0
- package/dist/SliderTemplate.js +22 -0
- package/dist/SliderTemplate.js.map +1 -0
- package/dist/SplitButton.d.ts +3 -8
- package/dist/SplitButton.js +23 -29
- package/dist/SplitButton.js.map +1 -1
- package/dist/SplitButtonTemplate.d.ts +2 -0
- package/dist/SplitButtonTemplate.js +7 -0
- package/dist/SplitButtonTemplate.js.map +1 -0
- package/dist/StepInput.d.ts +6 -8
- package/dist/StepInput.js +23 -13
- package/dist/StepInput.js.map +1 -1
- package/dist/StepInputTemplate.d.ts +2 -0
- package/dist/StepInputTemplate.js +18 -0
- package/dist/StepInputTemplate.js.map +1 -0
- package/dist/SuggestionItem.d.ts +2 -0
- package/dist/SuggestionItem.js +4 -1
- package/dist/SuggestionItem.js.map +1 -1
- package/dist/SuggestionItemCustom.d.ts +2 -0
- package/dist/SuggestionItemCustom.js +4 -1
- package/dist/SuggestionItemCustom.js.map +1 -1
- package/dist/SuggestionItemCustomTemplate.d.ts +2 -0
- package/dist/SuggestionItemCustomTemplate.js +9 -0
- package/dist/SuggestionItemCustomTemplate.js.map +1 -0
- package/dist/SuggestionItemGroupTemplate.d.ts +2 -0
- package/dist/SuggestionItemGroupTemplate.js +5 -0
- package/dist/SuggestionItemGroupTemplate.js.map +1 -0
- package/dist/SuggestionItemTemplate.d.ts +2 -0
- package/dist/SuggestionItemTemplate.js +10 -0
- package/dist/SuggestionItemTemplate.js.map +1 -0
- package/dist/SuggestionListItem.js +3 -1
- package/dist/SuggestionListItem.js.map +1 -1
- package/dist/SuggestionListItemTemplate.d.ts +3 -0
- package/dist/SuggestionListItemTemplate.js +13 -0
- package/dist/SuggestionListItemTemplate.js.map +1 -0
- package/dist/Switch.d.ts +2 -4
- package/dist/Switch.js +4 -18
- package/dist/Switch.js.map +1 -1
- package/dist/SwitchTemplate.d.ts +2 -0
- package/dist/SwitchTemplate.js +23 -0
- package/dist/SwitchTemplate.js.map +1 -0
- package/dist/Tab.d.ts +9 -4
- package/dist/Tab.js +15 -5
- package/dist/Tab.js.map +1 -1
- package/dist/TabContainer.d.ts +3 -3
- package/dist/TabContainer.js +12 -37
- package/dist/TabContainer.js.map +1 -1
- package/dist/TabContainerPopoverTemplate.d.ts +2 -0
- package/dist/TabContainerPopoverTemplate.js +8 -0
- package/dist/TabContainerPopoverTemplate.js.map +1 -0
- package/dist/TabContainerTemplate.d.ts +7 -0
- package/dist/TabContainerTemplate.js +33 -0
- package/dist/TabContainerTemplate.js.map +1 -0
- package/dist/TabInOverflowTemplate.d.ts +2 -0
- package/dist/TabInOverflowTemplate.js +7 -0
- package/dist/TabInOverflowTemplate.js.map +1 -0
- package/dist/TabInStripTemplate.d.ts +2 -0
- package/dist/TabInStripTemplate.js +17 -0
- package/dist/TabInStripTemplate.js.map +1 -0
- package/dist/TabSeparator.d.ts +5 -7
- package/dist/TabSeparator.js +9 -11
- package/dist/TabSeparator.js.map +1 -1
- package/dist/TabSeparatorInOverflowTemplate.d.ts +2 -0
- package/dist/TabSeparatorInOverflowTemplate.js +8 -0
- package/dist/TabSeparatorInOverflowTemplate.js.map +1 -0
- package/dist/TabSeparatorInStripTemplate.d.ts +2 -0
- package/dist/TabSeparatorInStripTemplate.js +5 -0
- package/dist/TabSeparatorInStripTemplate.js.map +1 -0
- package/dist/TabTemplate.d.ts +2 -0
- package/dist/TabTemplate.js +5 -0
- package/dist/TabTemplate.js.map +1 -0
- package/dist/Table.d.ts +8 -1
- package/dist/Table.js +48 -3
- package/dist/Table.js.map +1 -1
- package/dist/TableCellBase.d.ts +0 -1
- package/dist/TableCellBase.js.map +1 -1
- package/dist/TableDragAndDrop.d.ts +10 -0
- package/dist/TableDragAndDrop.js +43 -0
- package/dist/TableDragAndDrop.js.map +1 -0
- package/dist/TableGrowing.d.ts +0 -1
- package/dist/TableGrowing.js.map +1 -1
- package/dist/TableHeaderCell.d.ts +4 -2
- package/dist/TableHeaderCell.js +4 -2
- package/dist/TableHeaderCell.js.map +1 -1
- package/dist/TableRow.d.ts +7 -0
- package/dist/TableRow.js +16 -0
- package/dist/TableRow.js.map +1 -1
- package/dist/TableUtils.js +1 -1
- package/dist/TableUtils.js.map +1 -1
- package/dist/Tag.d.ts +1 -1
- package/dist/Tag.js +3 -3
- package/dist/Tag.js.map +1 -1
- package/dist/TagTemplate.d.ts +2 -0
- package/dist/TagTemplate.js +14 -0
- package/dist/TagTemplate.js.map +1 -0
- package/dist/Text.js +4 -4
- package/dist/Text.js.map +1 -1
- package/dist/TextArea.d.ts +1 -14
- package/dist/TextArea.js +5 -28
- package/dist/TextArea.js.map +1 -1
- package/dist/TextAreaPopoverTemplate.d.ts +2 -0
- package/dist/TextAreaPopoverTemplate.js +28 -0
- package/dist/TextAreaPopoverTemplate.js.map +1 -0
- package/dist/TextAreaTemplate.d.ts +2 -0
- package/dist/TextAreaTemplate.js +12 -0
- package/dist/TextAreaTemplate.js.map +1 -0
- package/dist/TextTemplate.d.ts +2 -0
- package/dist/TextTemplate.js +8 -0
- package/dist/TextTemplate.js.map +1 -0
- package/dist/TimePicker.d.ts +2 -8
- package/dist/TimePicker.js +7 -9
- package/dist/TimePicker.js.map +1 -1
- package/dist/TimePickerClock.d.ts +3 -1
- package/dist/TimePickerClock.js +18 -3
- package/dist/TimePickerClock.js.map +1 -1
- package/dist/TimePickerClockTemplate.d.ts +2 -0
- package/dist/TimePickerClockTemplate.js +13 -0
- package/dist/TimePickerClockTemplate.js.map +1 -0
- package/dist/TimePickerInternals.d.ts +2 -2
- package/dist/TimePickerInternals.js +2 -2
- package/dist/TimePickerInternals.js.map +1 -1
- package/dist/TimePickerPopoverTemplate.d.ts +2 -0
- package/dist/TimePickerPopoverTemplate.js +11 -0
- package/dist/TimePickerPopoverTemplate.js.map +1 -0
- package/dist/TimePickerTemplate.d.ts +2 -0
- package/dist/TimePickerTemplate.js +14 -0
- package/dist/TimePickerTemplate.js.map +1 -0
- package/dist/TimeSelectionClocks.js +1 -1
- package/dist/TimeSelectionClocks.js.map +1 -1
- package/dist/TimeSelectionClocksTemplate.d.ts +2 -0
- package/dist/TimeSelectionClocksTemplate.js +10 -0
- package/dist/TimeSelectionClocksTemplate.js.map +1 -0
- package/dist/TimeSelectionInputs.js +1 -1
- package/dist/TimeSelectionInputs.js.map +1 -1
- package/dist/TimeSelectionInputsTemplate.d.ts +2 -0
- package/dist/TimeSelectionInputsTemplate.js +9 -0
- package/dist/TimeSelectionInputsTemplate.js.map +1 -0
- package/dist/Title.js +3 -3
- package/dist/Title.js.map +1 -1
- package/dist/TitleTemplate.d.ts +2 -0
- package/dist/TitleTemplate.js +26 -0
- package/dist/TitleTemplate.js.map +1 -0
- package/dist/Toast.d.ts +2 -1
- package/dist/Toast.js +13 -4
- package/dist/Toast.js.map +1 -1
- package/dist/ToastTemplate.d.ts +2 -0
- package/dist/ToastTemplate.js +5 -0
- package/dist/ToastTemplate.js.map +1 -0
- package/dist/ToggleButton.js +1 -1
- package/dist/ToggleButton.js.map +1 -1
- package/dist/ToggleButtonTemplate.d.ts +2 -0
- package/dist/ToggleButtonTemplate.js +6 -0
- package/dist/ToggleButtonTemplate.js.map +1 -0
- package/dist/ToggleSpinButton.d.ts +2 -1
- package/dist/ToggleSpinButton.js +3 -3
- package/dist/ToggleSpinButton.js.map +1 -1
- package/dist/ToggleSpinButtonTemplate.d.ts +2 -0
- package/dist/ToggleSpinButtonTemplate.js +12 -0
- package/dist/ToggleSpinButtonTemplate.js.map +1 -0
- package/dist/Token.d.ts +0 -2
- package/dist/Token.js +8 -5
- package/dist/Token.js.map +1 -1
- package/dist/TokenTemplate.d.ts +2 -0
- package/dist/TokenTemplate.js +11 -0
- package/dist/TokenTemplate.js.map +1 -0
- package/dist/Tokenizer.d.ts +3 -2
- package/dist/Tokenizer.js +8 -5
- package/dist/Tokenizer.js.map +1 -1
- package/dist/TokenizerPopoverTemplate.d.ts +2 -0
- package/dist/TokenizerPopoverTemplate.js +14 -0
- package/dist/TokenizerPopoverTemplate.js.map +1 -0
- package/dist/TokenizerTemplate.d.ts +2 -0
- package/dist/TokenizerTemplate.js +8 -0
- package/dist/TokenizerTemplate.js.map +1 -0
- package/dist/Toolbar.d.ts +22 -31
- package/dist/Toolbar.js +11 -25
- package/dist/Toolbar.js.map +1 -1
- package/dist/ToolbarButton.d.ts +2 -2
- package/dist/ToolbarButton.js +2 -2
- package/dist/ToolbarButton.js.map +1 -1
- package/dist/ToolbarButtonTemplate.d.ts +2 -0
- package/dist/ToolbarButtonTemplate.js +9 -0
- package/dist/ToolbarButtonTemplate.js.map +1 -0
- package/dist/ToolbarItem.d.ts +3 -0
- package/dist/ToolbarItem.js.map +1 -1
- package/dist/ToolbarPopoverButtonTemplate.d.ts +2 -0
- package/dist/ToolbarPopoverButtonTemplate.js +6 -0
- package/dist/ToolbarPopoverButtonTemplate.js.map +1 -0
- package/dist/ToolbarPopoverSelectTemplate.d.ts +2 -0
- package/dist/ToolbarPopoverSelectTemplate.js +7 -0
- package/dist/ToolbarPopoverSelectTemplate.js.map +1 -0
- package/dist/ToolbarPopoverSeparatorTemplate.d.ts +2 -0
- package/dist/ToolbarPopoverSeparatorTemplate.js +5 -0
- package/dist/ToolbarPopoverSeparatorTemplate.js.map +1 -0
- package/dist/ToolbarPopoverTemplate.d.ts +2 -0
- package/dist/ToolbarPopoverTemplate.js +9 -0
- package/dist/ToolbarPopoverTemplate.js.map +1 -0
- package/dist/ToolbarSelect.d.ts +2 -2
- package/dist/ToolbarSelect.js +2 -2
- package/dist/ToolbarSelect.js.map +1 -1
- package/dist/ToolbarSelectTemplate.d.ts +2 -0
- package/dist/ToolbarSelectTemplate.js +7 -0
- package/dist/ToolbarSelectTemplate.js.map +1 -0
- package/dist/ToolbarSeparator.d.ts +2 -2
- package/dist/ToolbarSeparator.js +2 -2
- package/dist/ToolbarSeparator.js.map +1 -1
- package/dist/ToolbarSeparatorTemplate.d.ts +2 -0
- package/dist/ToolbarSeparatorTemplate.js +5 -0
- package/dist/ToolbarSeparatorTemplate.js.map +1 -0
- package/dist/ToolbarSpacer.d.ts +1 -1
- package/dist/ToolbarSpacer.js +1 -1
- package/dist/ToolbarSpacer.js.map +1 -1
- package/dist/ToolbarSpacerTemplate.d.ts +2 -0
- package/dist/ToolbarSpacerTemplate.js +5 -0
- package/dist/ToolbarSpacerTemplate.js.map +1 -0
- package/dist/ToolbarTemplate.d.ts +2 -0
- package/dist/ToolbarTemplate.js +15 -0
- package/dist/ToolbarTemplate.js.map +1 -0
- package/dist/Tree.js +13 -39
- package/dist/Tree.js.map +1 -1
- package/dist/TreeItem.js +3 -1
- package/dist/TreeItem.js.map +1 -1
- package/dist/TreeItemBase.d.ts +2 -2
- package/dist/TreeItemBase.js +3 -1
- package/dist/TreeItemBase.js.map +1 -1
- package/dist/TreeItemBaseTemplate.d.ts +3 -0
- package/dist/TreeItemBaseTemplate.js +32 -0
- package/dist/TreeItemBaseTemplate.js.map +1 -0
- package/dist/TreeItemCustom.js +3 -1
- package/dist/TreeItemCustom.js.map +1 -1
- package/dist/TreeItemCustomTemplate.d.ts +3 -0
- package/dist/TreeItemCustomTemplate.js +13 -0
- package/dist/TreeItemCustomTemplate.js.map +1 -0
- package/dist/TreeItemTemplate.d.ts +3 -0
- package/dist/TreeItemTemplate.js +15 -0
- package/dist/TreeItemTemplate.js.map +1 -0
- package/dist/TreeTemplate.d.ts +2 -0
- package/dist/TreeTemplate.js +7 -0
- package/dist/TreeTemplate.js.map +1 -0
- package/dist/YearPicker.d.ts +4 -4
- package/dist/YearPicker.js +10 -10
- package/dist/YearPicker.js.map +1 -1
- package/dist/YearPickerTemplate.d.ts +2 -0
- package/dist/YearPickerTemplate.js +6 -0
- package/dist/YearPickerTemplate.js.map +1 -0
- package/dist/bundle.esm.js +1 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/Avatar.css +1 -1
- package/dist/css/themes/AvatarGroup.css +1 -1
- package/dist/css/themes/Bar.css +1 -1
- package/dist/css/themes/Breadcrumbs.css +1 -1
- package/dist/css/themes/BusyIndicator.css +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/Calendar.css +1 -1
- package/dist/css/themes/CalendarHeader.css +1 -1
- package/dist/css/themes/CalendarLegend.css +1 -1
- package/dist/css/themes/CalendarLegendItem.css +1 -1
- package/dist/css/themes/Card.css +1 -1
- package/dist/css/themes/CardHeader.css +1 -1
- package/dist/css/themes/Carousel.css +1 -1
- package/dist/css/themes/CheckBox.css +1 -1
- package/dist/css/themes/ColorPalette.css +1 -1
- package/dist/css/themes/ColorPaletteItem.css +1 -1
- package/dist/css/themes/ColorPalettePopover.css +1 -1
- package/dist/css/themes/ColorPicker.css +1 -1
- package/dist/css/themes/ComboBox.css +1 -1
- package/dist/css/themes/ComboBoxItem.css +1 -1
- package/dist/css/themes/DatePicker.css +1 -1
- package/dist/css/themes/DateTimePickerPopover.css +1 -1
- package/dist/css/themes/DayPicker.css +1 -1
- package/dist/css/themes/Dialog.css +1 -1
- package/dist/css/themes/ExpandableText.css +1 -0
- package/dist/css/themes/FileUploader.css +1 -1
- package/dist/css/themes/Form.css +1 -1
- package/dist/css/themes/FormItem.css +1 -1
- package/dist/css/themes/FormItemSpan.css +1 -1
- package/dist/css/themes/GrowingButton.css +1 -1
- package/dist/css/themes/Icon.css +1 -1
- package/dist/css/themes/Input.css +1 -1
- package/dist/css/themes/InputIcon.css +1 -1
- package/dist/css/themes/InputSharedStyles.css +1 -1
- package/dist/css/themes/Label.css +1 -1
- package/dist/css/themes/Link.css +1 -1
- package/dist/css/themes/List.css +1 -1
- package/dist/css/themes/ListItem.css +1 -1
- package/dist/css/themes/ListItemBase.css +1 -1
- package/dist/css/themes/ListItemCustom.css +1 -1
- package/dist/css/themes/ListItemGroup.css +1 -1
- package/dist/css/themes/ListItemGroupHeader.css +1 -1
- package/dist/css/themes/ListItemIcon.css +1 -1
- package/dist/css/themes/Menu.css +1 -1
- package/dist/css/themes/MenuItem.css +1 -1
- package/dist/css/themes/MessageStrip.css +1 -1
- package/dist/css/themes/MonthPicker.css +1 -1
- package/dist/css/themes/MultiComboBox.css +1 -1
- package/dist/css/themes/MultiComboBoxItem.css +1 -1
- package/dist/css/themes/MultiComboBoxPopover.css +1 -1
- package/dist/css/themes/MultiInput.css +1 -1
- package/dist/css/themes/NavigationMenu.css +1 -1
- package/dist/css/themes/NavigationMenuItem.css +1 -1
- package/dist/css/themes/OptionBase.css +1 -1
- package/dist/css/themes/Panel.css +1 -1
- package/dist/css/themes/Popover.css +1 -1
- package/dist/css/themes/PopupsCommon.css +1 -1
- package/dist/css/themes/ProgressIndicator.css +1 -1
- package/dist/css/themes/RadioButton.css +1 -1
- package/dist/css/themes/RangeSlider.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/ResponsivePopover.css +1 -1
- package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
- package/dist/css/themes/SegmentedButton.css +1 -1
- package/dist/css/themes/SegmentedButtonItem.css +1 -1
- package/dist/css/themes/Select.css +1 -1
- package/dist/css/themes/SliderBase.css +1 -1
- package/dist/css/themes/SplitButton.css +1 -1
- package/dist/css/themes/StepInput.css +1 -1
- package/dist/css/themes/SuggestionItem.css +1 -1
- package/dist/css/themes/SuggestionItemCustom.css +1 -1
- package/dist/css/themes/Switch.css +1 -1
- package/dist/css/themes/TabContainer.css +1 -1
- package/dist/css/themes/TabInOverflow.css +1 -1
- package/dist/css/themes/TabInStrip.css +1 -1
- package/dist/css/themes/TabSemanticIcon.css +1 -1
- package/dist/css/themes/TabSeparatorInOverflow.css +1 -1
- package/dist/css/themes/Table.css +1 -1
- package/dist/css/themes/TableCellBase.css +1 -1
- package/dist/css/themes/TableHeaderRow.css +1 -1
- package/dist/css/themes/TableRow.css +1 -1
- package/dist/css/themes/TableRowBase.css +1 -1
- package/dist/css/themes/Tag.css +1 -1
- package/dist/css/themes/Text.css +1 -1
- package/dist/css/themes/TextArea.css +1 -1
- package/dist/css/themes/TimePicker.css +1 -1
- package/dist/css/themes/TimePickerClock.css +1 -1
- package/dist/css/themes/TimeSelectionClocks.css +1 -1
- package/dist/css/themes/TimeSelectionInputs.css +1 -1
- package/dist/css/themes/Toast.css +1 -1
- package/dist/css/themes/ToggleButton.css +1 -1
- package/dist/css/themes/Token.css +1 -1
- package/dist/css/themes/Tokenizer.css +1 -1
- package/dist/css/themes/TokenizerPopover.css +1 -1
- package/dist/css/themes/Toolbar.css +1 -1
- package/dist/css/themes/ToolbarPopover.css +1 -1
- package/dist/css/themes/TreeItem.css +1 -1
- package/dist/css/themes/ValueStateMessage.css +1 -1
- package/dist/css/themes/YearPicker.css +1 -1
- package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_dark_exp/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcb_exp/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcw_exp/parameters-bundle.css +1 -1
- package/dist/custom-elements-internal.json +423 -115
- package/dist/custom-elements.json +324 -110
- package/dist/features/InputSuggestions.d.ts +1 -1
- package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark_exp/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb_exp/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw_exp/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +13 -2
- package/dist/generated/i18n/i18n-defaults.js +13 -2
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js +3 -1
- package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MultiComboBoxTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/MultiComboBoxTemplate.lit.js +3 -1
- package/dist/generated/templates/MultiComboBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectPopoverTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/SelectPopoverTemplate.lit.js +3 -1
- package/dist/generated/templates/SelectPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/SelectTemplate.lit.js +3 -1
- package/dist/generated/templates/SelectTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableCellTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/TableCellTemplate.lit.js +3 -1
- package/dist/generated/templates/TableCellTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableGrowingTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/TableGrowingTemplate.lit.js +3 -1
- package/dist/generated/templates/TableGrowingTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableHeaderCellTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/TableHeaderCellTemplate.lit.js +3 -1
- package/dist/generated/templates/TableHeaderCellTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableHeaderRowTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/TableHeaderRowTemplate.lit.js +3 -1
- package/dist/generated/templates/TableHeaderRowTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableRowTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/TableRowTemplate.lit.js +3 -1
- package/dist/generated/templates/TableRowTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableTemplate.lit.d.ts +2 -3
- package/dist/generated/templates/TableTemplate.lit.js +5 -3
- package/dist/generated/templates/TableTemplate.lit.js.map +1 -1
- package/dist/generated/themes/Avatar.css.js +1 -1
- package/dist/generated/themes/Avatar.css.js.map +1 -1
- package/dist/generated/themes/AvatarGroup.css.js +1 -1
- package/dist/generated/themes/AvatarGroup.css.js.map +1 -1
- package/dist/generated/themes/Bar.css.js +1 -1
- package/dist/generated/themes/Bar.css.js.map +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
- package/dist/generated/themes/BusyIndicator.css.js +1 -1
- package/dist/generated/themes/BusyIndicator.css.js.map +1 -1
- package/dist/generated/themes/Button.css.js +1 -1
- package/dist/generated/themes/Button.css.js.map +1 -1
- package/dist/generated/themes/Calendar.css.js +1 -1
- package/dist/generated/themes/Calendar.css.js.map +1 -1
- package/dist/generated/themes/CalendarHeader.css.js +1 -1
- package/dist/generated/themes/CalendarHeader.css.js.map +1 -1
- package/dist/generated/themes/CalendarLegend.css.js +1 -1
- package/dist/generated/themes/CalendarLegend.css.js.map +1 -1
- package/dist/generated/themes/CalendarLegendItem.css.js +1 -1
- package/dist/generated/themes/CalendarLegendItem.css.js.map +1 -1
- package/dist/generated/themes/Card.css.js +1 -1
- package/dist/generated/themes/Card.css.js.map +1 -1
- package/dist/generated/themes/CardHeader.css.js +1 -1
- package/dist/generated/themes/CardHeader.css.js.map +1 -1
- package/dist/generated/themes/Carousel.css.js +1 -1
- package/dist/generated/themes/Carousel.css.js.map +1 -1
- package/dist/generated/themes/CheckBox.css.js +1 -1
- package/dist/generated/themes/CheckBox.css.js.map +1 -1
- package/dist/generated/themes/ColorPalette.css.js +1 -1
- package/dist/generated/themes/ColorPalette.css.js.map +1 -1
- package/dist/generated/themes/ColorPaletteItem.css.js +1 -1
- package/dist/generated/themes/ColorPaletteItem.css.js.map +1 -1
- package/dist/generated/themes/ColorPalettePopover.css.js +1 -1
- package/dist/generated/themes/ColorPalettePopover.css.js.map +1 -1
- package/dist/generated/themes/ColorPicker.css.js +1 -1
- package/dist/generated/themes/ColorPicker.css.js.map +1 -1
- package/dist/generated/themes/ComboBox.css.js +1 -1
- package/dist/generated/themes/ComboBox.css.js.map +1 -1
- package/dist/generated/themes/ComboBoxItem.css.js +1 -1
- package/dist/generated/themes/ComboBoxItem.css.js.map +1 -1
- package/dist/generated/themes/DatePicker.css.js +1 -1
- package/dist/generated/themes/DatePicker.css.js.map +1 -1
- package/dist/generated/themes/DateTimePickerPopover.css.js +1 -1
- package/dist/generated/themes/DateTimePickerPopover.css.js.map +1 -1
- package/dist/generated/themes/DayPicker.css.js +1 -1
- package/dist/generated/themes/DayPicker.css.js.map +1 -1
- package/dist/generated/themes/Dialog.css.js +1 -1
- package/dist/generated/themes/Dialog.css.js.map +1 -1
- package/dist/generated/themes/ExpandableText.css.d.ts +3 -0
- package/dist/generated/themes/ExpandableText.css.js +9 -0
- package/dist/generated/themes/ExpandableText.css.js.map +1 -0
- package/dist/generated/themes/FileUploader.css.js +1 -1
- package/dist/generated/themes/FileUploader.css.js.map +1 -1
- package/dist/generated/themes/Form.css.js +1 -1
- package/dist/generated/themes/Form.css.js.map +1 -1
- package/dist/generated/themes/FormItem.css.js +1 -1
- package/dist/generated/themes/FormItem.css.js.map +1 -1
- package/dist/generated/themes/FormItemSpan.css.js +1 -1
- package/dist/generated/themes/FormItemSpan.css.js.map +1 -1
- package/dist/generated/themes/GrowingButton.css.js +1 -1
- package/dist/generated/themes/GrowingButton.css.js.map +1 -1
- package/dist/generated/themes/Icon.css.js +1 -1
- package/dist/generated/themes/Icon.css.js.map +1 -1
- package/dist/generated/themes/Input.css.js +1 -1
- package/dist/generated/themes/Input.css.js.map +1 -1
- package/dist/generated/themes/InputIcon.css.js +1 -1
- package/dist/generated/themes/InputIcon.css.js.map +1 -1
- package/dist/generated/themes/InputSharedStyles.css.js +1 -1
- package/dist/generated/themes/InputSharedStyles.css.js.map +1 -1
- package/dist/generated/themes/Label.css.js +1 -1
- package/dist/generated/themes/Label.css.js.map +1 -1
- package/dist/generated/themes/Link.css.js +1 -1
- package/dist/generated/themes/Link.css.js.map +1 -1
- package/dist/generated/themes/List.css.js +1 -1
- package/dist/generated/themes/List.css.js.map +1 -1
- package/dist/generated/themes/ListItem.css.js +1 -1
- package/dist/generated/themes/ListItem.css.js.map +1 -1
- package/dist/generated/themes/ListItemBase.css.js +1 -1
- package/dist/generated/themes/ListItemBase.css.js.map +1 -1
- package/dist/generated/themes/ListItemCustom.css.js +1 -1
- package/dist/generated/themes/ListItemCustom.css.js.map +1 -1
- package/dist/generated/themes/ListItemGroup.css.js +1 -1
- package/dist/generated/themes/ListItemGroup.css.js.map +1 -1
- package/dist/generated/themes/ListItemGroupHeader.css.js +1 -1
- package/dist/generated/themes/ListItemGroupHeader.css.js.map +1 -1
- package/dist/generated/themes/ListItemIcon.css.js +1 -1
- package/dist/generated/themes/ListItemIcon.css.js.map +1 -1
- package/dist/generated/themes/Menu.css.js +1 -1
- package/dist/generated/themes/Menu.css.js.map +1 -1
- package/dist/generated/themes/MenuItem.css.js +1 -1
- package/dist/generated/themes/MenuItem.css.js.map +1 -1
- package/dist/generated/themes/MessageStrip.css.js +1 -1
- package/dist/generated/themes/MessageStrip.css.js.map +1 -1
- package/dist/generated/themes/MonthPicker.css.js +1 -1
- package/dist/generated/themes/MonthPicker.css.js.map +1 -1
- package/dist/generated/themes/MultiComboBox.css.js +1 -1
- package/dist/generated/themes/MultiComboBox.css.js.map +1 -1
- package/dist/generated/themes/MultiComboBoxItem.css.js +1 -1
- package/dist/generated/themes/MultiComboBoxItem.css.js.map +1 -1
- package/dist/generated/themes/MultiComboBoxPopover.css.js +1 -1
- package/dist/generated/themes/MultiComboBoxPopover.css.js.map +1 -1
- package/dist/generated/themes/MultiInput.css.js +1 -1
- package/dist/generated/themes/MultiInput.css.js.map +1 -1
- package/dist/generated/themes/NavigationMenu.css.js +1 -1
- package/dist/generated/themes/NavigationMenu.css.js.map +1 -1
- package/dist/generated/themes/NavigationMenuItem.css.js +1 -1
- package/dist/generated/themes/NavigationMenuItem.css.js.map +1 -1
- package/dist/generated/themes/OptionBase.css.js +1 -1
- package/dist/generated/themes/OptionBase.css.js.map +1 -1
- package/dist/generated/themes/Panel.css.js +1 -1
- package/dist/generated/themes/Panel.css.js.map +1 -1
- package/dist/generated/themes/Popover.css.js +1 -1
- package/dist/generated/themes/Popover.css.js.map +1 -1
- package/dist/generated/themes/PopupsCommon.css.js +1 -1
- package/dist/generated/themes/PopupsCommon.css.js.map +1 -1
- package/dist/generated/themes/ProgressIndicator.css.js +1 -1
- package/dist/generated/themes/ProgressIndicator.css.js.map +1 -1
- package/dist/generated/themes/RadioButton.css.js +1 -1
- package/dist/generated/themes/RadioButton.css.js.map +1 -1
- package/dist/generated/themes/RangeSlider.css.js +1 -1
- package/dist/generated/themes/RangeSlider.css.js.map +1 -1
- package/dist/generated/themes/RatingIndicator.css.js +1 -1
- package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
- package/dist/generated/themes/ResponsivePopover.css.js +1 -1
- package/dist/generated/themes/ResponsivePopover.css.js.map +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
- package/dist/generated/themes/SegmentedButton.css.js +1 -1
- package/dist/generated/themes/SegmentedButton.css.js.map +1 -1
- package/dist/generated/themes/SegmentedButtonItem.css.js +1 -1
- package/dist/generated/themes/SegmentedButtonItem.css.js.map +1 -1
- package/dist/generated/themes/Select.css.js +1 -1
- package/dist/generated/themes/Select.css.js.map +1 -1
- package/dist/generated/themes/SliderBase.css.js +1 -1
- package/dist/generated/themes/SliderBase.css.js.map +1 -1
- package/dist/generated/themes/SplitButton.css.js +1 -1
- package/dist/generated/themes/SplitButton.css.js.map +1 -1
- package/dist/generated/themes/StepInput.css.js +1 -1
- package/dist/generated/themes/StepInput.css.js.map +1 -1
- package/dist/generated/themes/SuggestionItem.css.js +1 -1
- package/dist/generated/themes/SuggestionItem.css.js.map +1 -1
- package/dist/generated/themes/SuggestionItemCustom.css.js +1 -1
- package/dist/generated/themes/SuggestionItemCustom.css.js.map +1 -1
- package/dist/generated/themes/Switch.css.js +1 -1
- package/dist/generated/themes/Switch.css.js.map +1 -1
- package/dist/generated/themes/TabContainer.css.js +1 -1
- package/dist/generated/themes/TabContainer.css.js.map +1 -1
- package/dist/generated/themes/TabInOverflow.css.js +1 -1
- package/dist/generated/themes/TabInOverflow.css.js.map +1 -1
- package/dist/generated/themes/TabInStrip.css.js +1 -1
- package/dist/generated/themes/TabInStrip.css.js.map +1 -1
- package/dist/generated/themes/TabSemanticIcon.css.js +1 -1
- package/dist/generated/themes/TabSemanticIcon.css.js.map +1 -1
- package/dist/generated/themes/TabSeparatorInOverflow.css.js +1 -1
- package/dist/generated/themes/TabSeparatorInOverflow.css.js.map +1 -1
- package/dist/generated/themes/Table.css.js +1 -1
- package/dist/generated/themes/Table.css.js.map +1 -1
- package/dist/generated/themes/TableCellBase.css.js +1 -1
- package/dist/generated/themes/TableCellBase.css.js.map +1 -1
- package/dist/generated/themes/TableHeaderRow.css.js +1 -1
- package/dist/generated/themes/TableHeaderRow.css.js.map +1 -1
- package/dist/generated/themes/TableRow.css.js +1 -1
- package/dist/generated/themes/TableRow.css.js.map +1 -1
- package/dist/generated/themes/TableRowBase.css.js +1 -1
- package/dist/generated/themes/TableRowBase.css.js.map +1 -1
- package/dist/generated/themes/Tag.css.js +1 -1
- package/dist/generated/themes/Tag.css.js.map +1 -1
- package/dist/generated/themes/Text.css.js +1 -1
- package/dist/generated/themes/Text.css.js.map +1 -1
- package/dist/generated/themes/TextArea.css.js +1 -1
- package/dist/generated/themes/TextArea.css.js.map +1 -1
- package/dist/generated/themes/TimePicker.css.js +1 -1
- package/dist/generated/themes/TimePicker.css.js.map +1 -1
- package/dist/generated/themes/TimePickerClock.css.js +1 -1
- package/dist/generated/themes/TimePickerClock.css.js.map +1 -1
- package/dist/generated/themes/TimeSelectionClocks.css.js +1 -1
- package/dist/generated/themes/TimeSelectionClocks.css.js.map +1 -1
- package/dist/generated/themes/TimeSelectionInputs.css.js +1 -1
- package/dist/generated/themes/TimeSelectionInputs.css.js.map +1 -1
- package/dist/generated/themes/Toast.css.js +1 -1
- package/dist/generated/themes/Toast.css.js.map +1 -1
- package/dist/generated/themes/ToggleButton.css.js +1 -1
- package/dist/generated/themes/ToggleButton.css.js.map +1 -1
- package/dist/generated/themes/Token.css.js +1 -1
- package/dist/generated/themes/Token.css.js.map +1 -1
- package/dist/generated/themes/Tokenizer.css.js +1 -1
- package/dist/generated/themes/Tokenizer.css.js.map +1 -1
- package/dist/generated/themes/TokenizerPopover.css.js +1 -1
- package/dist/generated/themes/TokenizerPopover.css.js.map +1 -1
- package/dist/generated/themes/Toolbar.css.js +1 -1
- package/dist/generated/themes/Toolbar.css.js.map +1 -1
- package/dist/generated/themes/ToolbarPopover.css.js +1 -1
- package/dist/generated/themes/ToolbarPopover.css.js.map +1 -1
- package/dist/generated/themes/TreeItem.css.js +1 -1
- package/dist/generated/themes/TreeItem.css.js.map +1 -1
- package/dist/generated/themes/ValueStateMessage.css.js +1 -1
- package/dist/generated/themes/ValueStateMessage.css.js.map +1 -1
- package/dist/generated/themes/YearPicker.css.js +1 -1
- package/dist/generated/themes/YearPicker.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js.map +1 -1
- package/dist/types/ExpandableTextOverflowMode.d.ts +17 -0
- package/dist/types/ExpandableTextOverflowMode.js +19 -0
- package/dist/types/ExpandableTextOverflowMode.js.map +1 -0
- package/dist/vscode.html-custom-data.json +37 -5
- package/dist/web-types.json +101 -11
- package/package.json +9 -9
- package/src/AvatarGroupTemplate.tsx +45 -0
- package/src/AvatarTemplate.tsx +38 -0
- package/src/BarTemplate.tsx +21 -0
- package/src/BreadcrumbsPopoverTemplate.tsx +43 -0
- package/src/BreadcrumbsTemplate.tsx +71 -0
- package/src/BusyIndicatorTemplate.tsx +51 -0
- package/src/ButtonTemplate.tsx +70 -0
- package/src/CalendarHeaderTemplate.tsx +71 -0
- package/src/CalendarLegendItemTemplate.tsx +15 -0
- package/src/CalendarLegendTemplate.tsx +22 -0
- package/src/CalendarTemplate.tsx +82 -0
- package/src/CardHeaderTemplate.tsx +70 -0
- package/src/CardTemplate.tsx +35 -0
- package/src/CarouselTemplate.tsx +108 -0
- package/src/CheckBoxTemplate.tsx +85 -0
- package/src/ColorPaletteDialogTemplate.tsx +35 -0
- package/src/ColorPaletteItemTemplate.tsx +16 -0
- package/src/ColorPalettePopoverTemplate.tsx +49 -0
- package/src/ColorPaletteTemplate.tsx +73 -0
- package/src/ColorPickerTemplate.tsx +128 -0
- package/src/ComboBoxItemGroupTemplate.tsx +10 -0
- package/src/ComboBoxItemTemplate.tsx +17 -0
- package/src/ComboBoxPopoverTemplate.tsx +140 -0
- package/src/ComboBoxTemplate.tsx +70 -0
- package/src/DatePickerInputTemplate.tsx +54 -0
- package/src/DatePickerPopoverTemplate.tsx +80 -0
- package/src/DatePickerTemplate.tsx +11 -0
- package/src/DateRangePickerTemplate.tsx +36 -0
- package/src/DateTimePickerTemplate.tsx +112 -0
- package/src/DayPickerTemplate.tsx +82 -0
- package/src/DialogTemplate.tsx +72 -0
- package/src/DropIndicatorTemplate.tsx +9 -0
- package/src/ExpandableTextTemplate.tsx +59 -0
- package/src/FileUploaderPopoverTemplate.tsx +52 -0
- package/src/FileUploaderTemplate.tsx +48 -0
- package/src/FormItemTemplate.tsx +21 -0
- package/src/FormTemplate.tsx +75 -0
- package/src/IconTemplate.tsx +35 -0
- package/src/InputPopoverTemplate.tsx +158 -0
- package/src/InputTemplate.tsx +114 -0
- package/src/LabelTemplate.tsx +20 -0
- package/src/LinkTemplate.tsx +51 -0
- package/src/ListItemBaseTemplate.tsx +35 -0
- package/src/ListItemCustomTemplate.tsx +17 -0
- package/src/ListItemGroupHeaderTemplate.tsx +23 -0
- package/src/ListItemGroupTemplate.tsx +32 -0
- package/src/ListItemStandardTemplate.tsx +71 -0
- package/src/ListItemTemplate.tsx +172 -0
- package/src/ListTemplate.tsx +113 -0
- package/src/MenuItemTemplate.tsx +155 -0
- package/src/MenuSeparatorTemplate.tsx +12 -0
- package/src/MenuTemplate.tsx +71 -0
- package/src/MessageStripTemplate.tsx +64 -0
- package/src/MonthPickerTemplate.tsx +44 -0
- package/src/MultiComboBoxItemGroupTemplate.tsx +10 -0
- package/src/MultiComboBoxItemTemplate.tsx +26 -0
- package/src/MultiInputTemplate.tsx +48 -0
- package/src/NavigationMenuItemTemplate.tsx +142 -0
- package/src/NavigationMenuTemplate.tsx +70 -0
- package/src/OptionCustomTemplate.tsx +10 -0
- package/src/OptionTemplate.tsx +23 -0
- package/src/PanelTemplate.tsx +102 -0
- package/src/PopoverTemplate.tsx +36 -0
- package/src/PopupBlockLayerTemplate.tsx +10 -0
- package/src/PopupTemplate.tsx +43 -0
- package/src/ProgressIndicatorTemplate.tsx +55 -0
- package/src/RadioButtonTemplate.tsx +50 -0
- package/src/RangeSliderTemplate.tsx +134 -0
- package/src/RatingIndicatorTemplate.tsx +74 -0
- package/src/ResponsivePopoverTemplate.tsx +60 -0
- package/src/SegmentedButtonItemTemplate.tsx +36 -0
- package/src/SegmentedButtonTemplate.tsx +22 -0
- package/src/SliderBaseTemplate.tsx +74 -0
- package/src/SliderTemplate.tsx +79 -0
- package/src/SplitButtonTemplate.tsx +54 -0
- package/src/StepInputTemplate.tsx +92 -0
- package/src/SuggestionItemCustomTemplate.tsx +10 -0
- package/src/SuggestionItemGroupTemplate.tsx +6 -0
- package/src/SuggestionItemTemplate.tsx +17 -0
- package/src/SuggestionListItemTemplate.tsx +50 -0
- package/src/SwitchTemplate.tsx +74 -0
- package/src/TabContainerPopoverTemplate.tsx +38 -0
- package/src/TabContainerTemplate.tsx +132 -0
- package/src/TabInOverflowTemplate.tsx +41 -0
- package/src/TabInStripTemplate.tsx +94 -0
- package/src/TabSeparatorInOverflowTemplate.tsx +16 -0
- package/src/TabSeparatorInStripTemplate.tsx +12 -0
- package/src/TabTemplate.tsx +16 -0
- package/src/Table.hbs +6 -1
- package/src/TagTemplate.tsx +40 -0
- package/src/TextAreaPopoverTemplate.tsx +49 -0
- package/src/TextAreaTemplate.tsx +64 -0
- package/src/TextTemplate.tsx +17 -0
- package/src/TimePickerClockTemplate.tsx +82 -0
- package/src/TimePickerPopoverTemplate.tsx +73 -0
- package/src/TimePickerTemplate.tsx +54 -0
- package/src/TimeSelectionClocksTemplate.tsx +78 -0
- package/src/TimeSelectionInputsTemplate.tsx +49 -0
- package/src/TitleTemplate.tsx +66 -0
- package/src/ToastTemplate.tsx +10 -0
- package/src/ToggleButtonTemplate.tsx +8 -0
- package/src/ToggleSpinButtonTemplate.tsx +14 -0
- package/src/TokenTemplate.tsx +37 -0
- package/src/TokenizerPopoverTemplate.tsx +64 -0
- package/src/TokenizerTemplate.tsx +51 -0
- package/src/ToolbarButtonTemplate.tsx +28 -0
- package/src/ToolbarPopoverButtonTemplate.tsx +23 -0
- package/src/ToolbarPopoverSelectTemplate.tsx +25 -0
- package/src/ToolbarPopoverSeparatorTemplate.tsx +10 -0
- package/src/ToolbarPopoverTemplate.tsx +24 -0
- package/src/ToolbarSelectTemplate.tsx +26 -0
- package/src/ToolbarSeparatorTemplate.tsx +10 -0
- package/src/ToolbarSpacerTemplate.tsx +12 -0
- package/src/ToolbarTemplate.tsx +37 -0
- package/src/TreeItemBaseTemplate.tsx +60 -0
- package/src/TreeItemCustomTemplate.tsx +21 -0
- package/src/TreeItemTemplate.tsx +28 -0
- package/src/TreeTemplate.tsx +40 -0
- package/src/YearPickerTemplate.tsx +42 -0
- package/src/i18n/messagebundle.properties +35 -2
- package/src/themes/CalendarLegendItem.css +1 -2
- package/src/themes/Carousel.css +1 -1
- package/src/themes/ComboBoxItem.css +4 -0
- package/src/themes/DayPicker.css +6 -6
- package/src/themes/ExpandableText.css +36 -0
- package/src/themes/GrowingButton.css +11 -17
- package/src/themes/Input.css +8 -8
- package/src/themes/InputIcon.css +2 -2
- package/src/themes/InputSharedStyles.css +8 -8
- package/src/themes/Label.css +1 -1
- package/src/themes/Menu.css +3 -1
- package/src/themes/MenuItem.css +2 -2
- package/src/themes/NavigationMenu.css +1 -1
- package/src/themes/StepInput.css +5 -5
- package/src/themes/Table.css +0 -1
- package/src/themes/TableHeaderRow.css +1 -0
- package/src/themes/TableRowBase.css +2 -0
- package/src/themes/TimePickerClock.css +1 -1
- package/src/themes/TimeSelectionClocks.css +1 -1
- package/src/themes/TimeSelectionInputs.css +1 -1
- package/src/themes/Toast.css +3 -0
- package/src/themes/ValueStateMessage.css +1 -1
- package/src/themes/base/Table-parameters.css +1 -1
- package/tsconfig.json +2 -0
- package/dist/generated/templates/AvatarGroupTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/AvatarGroupTemplate.lit.js +0 -7
- package/dist/generated/templates/AvatarGroupTemplate.lit.js.map +0 -1
- package/dist/generated/templates/AvatarTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/AvatarTemplate.lit.js +0 -9
- package/dist/generated/templates/AvatarTemplate.lit.js.map +0 -1
- package/dist/generated/templates/BarTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/BarTemplate.lit.js +0 -5
- package/dist/generated/templates/BarTemplate.lit.js.map +0 -1
- package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.js +0 -6
- package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/BreadcrumbsTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/BreadcrumbsTemplate.lit.js +0 -10
- package/dist/generated/templates/BreadcrumbsTemplate.lit.js.map +0 -1
- package/dist/generated/templates/BusyIndicatorTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/BusyIndicatorTemplate.lit.js +0 -11
- package/dist/generated/templates/BusyIndicatorTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ButtonTemplate.lit.js +0 -8
- package/dist/generated/templates/ButtonTemplate.lit.js.map +0 -1
- package/dist/generated/templates/CalendarHeaderTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/CalendarHeaderTemplate.lit.js +0 -7
- package/dist/generated/templates/CalendarHeaderTemplate.lit.js.map +0 -1
- package/dist/generated/templates/CalendarLegendItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/CalendarLegendItemTemplate.lit.js +0 -5
- package/dist/generated/templates/CalendarLegendItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/CalendarLegendTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/CalendarLegendTemplate.lit.js +0 -8
- package/dist/generated/templates/CalendarLegendTemplate.lit.js.map +0 -1
- package/dist/generated/templates/CalendarTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/CalendarTemplate.lit.js +0 -7
- package/dist/generated/templates/CalendarTemplate.lit.js.map +0 -1
- package/dist/generated/templates/CardHeaderTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/CardHeaderTemplate.lit.js +0 -10
- package/dist/generated/templates/CardHeaderTemplate.lit.js.map +0 -1
- package/dist/generated/templates/CardTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/CardTemplate.lit.js +0 -6
- package/dist/generated/templates/CardTemplate.lit.js.map +0 -1
- package/dist/generated/templates/CarouselTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/CarouselTemplate.lit.js +0 -14
- package/dist/generated/templates/CarouselTemplate.lit.js.map +0 -1
- package/dist/generated/templates/CheckBoxTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/CheckBoxTemplate.lit.js +0 -10
- package/dist/generated/templates/CheckBoxTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ColorPaletteDialogTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ColorPaletteDialogTemplate.lit.js +0 -6
- package/dist/generated/templates/ColorPaletteDialogTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ColorPaletteItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ColorPaletteItemTemplate.lit.js +0 -5
- package/dist/generated/templates/ColorPaletteItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ColorPalettePopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ColorPalettePopoverTemplate.lit.js +0 -6
- package/dist/generated/templates/ColorPalettePopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ColorPaletteTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ColorPaletteTemplate.lit.js +0 -11
- package/dist/generated/templates/ColorPaletteTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ColorPickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ColorPickerTemplate.lit.js +0 -7
- package/dist/generated/templates/ColorPickerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ComboBoxItemGroupTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ComboBoxItemGroupTemplate.lit.js +0 -10
- package/dist/generated/templates/ComboBoxItemGroupTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ComboBoxItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ComboBoxItemTemplate.lit.js +0 -6
- package/dist/generated/templates/ComboBoxItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ComboBoxPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js +0 -21
- package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ComboBoxTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ComboBoxTemplate.lit.js +0 -25
- package/dist/generated/templates/ComboBoxTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DatePickerInputTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DatePickerInputTemplate.lit.js +0 -7
- package/dist/generated/templates/DatePickerInputTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DatePickerPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DatePickerPopoverTemplate.lit.js +0 -8
- package/dist/generated/templates/DatePickerPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DatePickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DatePickerTemplate.lit.js +0 -10
- package/dist/generated/templates/DatePickerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DateRangePickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DateRangePickerTemplate.lit.js +0 -9
- package/dist/generated/templates/DateRangePickerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.js +0 -11
- package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DateTimePickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DateTimePickerTemplate.lit.js +0 -13
- package/dist/generated/templates/DateTimePickerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DayPickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DayPickerTemplate.lit.js +0 -15
- package/dist/generated/templates/DayPickerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DialogTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DialogTemplate.lit.js +0 -16
- package/dist/generated/templates/DialogTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DropIndicatorTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DropIndicatorTemplate.lit.js +0 -5
- package/dist/generated/templates/DropIndicatorTemplate.lit.js.map +0 -1
- package/dist/generated/templates/FileUploaderPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/FileUploaderPopoverTemplate.lit.js +0 -8
- package/dist/generated/templates/FileUploaderPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/FileUploaderTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/FileUploaderTemplate.lit.js +0 -9
- package/dist/generated/templates/FileUploaderTemplate.lit.js.map +0 -1
- package/dist/generated/templates/FormItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/FormItemTemplate.lit.js +0 -6
- package/dist/generated/templates/FormItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/FormTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/FormTemplate.lit.js +0 -13
- package/dist/generated/templates/FormTemplate.lit.js.map +0 -1
- package/dist/generated/templates/IconTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/IconTemplate.lit.js +0 -12
- package/dist/generated/templates/IconTemplate.lit.js.map +0 -1
- package/dist/generated/templates/InputPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/InputPopoverTemplate.lit.js +0 -21
- package/dist/generated/templates/InputPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/InputTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/InputTemplate.lit.js +0 -26
- package/dist/generated/templates/InputTemplate.lit.js.map +0 -1
- package/dist/generated/templates/LabelTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/LabelTemplate.lit.js +0 -5
- package/dist/generated/templates/LabelTemplate.lit.js.map +0 -1
- package/dist/generated/templates/LinkTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/LinkTemplate.lit.js +0 -8
- package/dist/generated/templates/LinkTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ListItemBaseTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ListItemBaseTemplate.lit.js +0 -5
- package/dist/generated/templates/ListItemBaseTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ListItemCustomTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ListItemCustomTemplate.lit.js +0 -21
- package/dist/generated/templates/ListItemCustomTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ListItemGroupHeaderTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ListItemGroupHeaderTemplate.lit.js +0 -5
- package/dist/generated/templates/ListItemGroupHeaderTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ListItemGroupTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ListItemGroupTemplate.lit.js +0 -8
- package/dist/generated/templates/ListItemGroupTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ListItemStandardTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ListItemStandardTemplate.lit.js +0 -29
- package/dist/generated/templates/ListItemStandardTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ListItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ListItemTemplate.lit.js +0 -21
- package/dist/generated/templates/ListItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ListTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ListTemplate.lit.js +0 -13
- package/dist/generated/templates/ListTemplate.lit.js.map +0 -1
- package/dist/generated/templates/MenuItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/MenuItemTemplate.lit.js +0 -35
- package/dist/generated/templates/MenuItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/MenuSeparatorTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/MenuSeparatorTemplate.lit.js +0 -5
- package/dist/generated/templates/MenuSeparatorTemplate.lit.js.map +0 -1
- package/dist/generated/templates/MenuTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/MenuTemplate.lit.js +0 -9
- package/dist/generated/templates/MenuTemplate.lit.js.map +0 -1
- package/dist/generated/templates/MessageStripTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/MessageStripTemplate.lit.js +0 -9
- package/dist/generated/templates/MessageStripTemplate.lit.js.map +0 -1
- package/dist/generated/templates/MonthPickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/MonthPickerTemplate.lit.js +0 -8
- package/dist/generated/templates/MonthPickerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/MultiComboBoxItemGroupTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/MultiComboBoxItemGroupTemplate.lit.js +0 -10
- package/dist/generated/templates/MultiComboBoxItemGroupTemplate.lit.js.map +0 -1
- package/dist/generated/templates/MultiComboBoxItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/MultiComboBoxItemTemplate.lit.js +0 -6
- package/dist/generated/templates/MultiComboBoxItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/MultiInputTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/MultiInputTemplate.lit.js +0 -28
- package/dist/generated/templates/MultiInputTemplate.lit.js.map +0 -1
- package/dist/generated/templates/NavigationMenuItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/NavigationMenuItemTemplate.lit.js +0 -57
- package/dist/generated/templates/NavigationMenuItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/NavigationMenuTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/NavigationMenuTemplate.lit.js +0 -9
- package/dist/generated/templates/NavigationMenuTemplate.lit.js.map +0 -1
- package/dist/generated/templates/OptionCustomTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/OptionCustomTemplate.lit.js +0 -5
- package/dist/generated/templates/OptionCustomTemplate.lit.js.map +0 -1
- package/dist/generated/templates/OptionTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/OptionTemplate.lit.js +0 -7
- package/dist/generated/templates/OptionTemplate.lit.js.map +0 -1
- package/dist/generated/templates/PanelTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/PanelTemplate.lit.js +0 -11
- package/dist/generated/templates/PanelTemplate.lit.js.map +0 -1
- package/dist/generated/templates/PopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/PopoverTemplate.lit.js +0 -10
- package/dist/generated/templates/PopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/PopupBlockLayerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/PopupBlockLayerTemplate.lit.js +0 -5
- package/dist/generated/templates/PopupBlockLayerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/PopupTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/PopupTemplate.lit.js +0 -5
- package/dist/generated/templates/PopupTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.js +0 -15
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.js.map +0 -1
- package/dist/generated/templates/RadioButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/RadioButtonTemplate.lit.js +0 -11
- package/dist/generated/templates/RadioButtonTemplate.lit.js.map +0 -1
- package/dist/generated/templates/RangeSliderTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/RangeSliderTemplate.lit.js +0 -20
- package/dist/generated/templates/RangeSliderTemplate.lit.js.map +0 -1
- package/dist/generated/templates/RatingIndicatorTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/RatingIndicatorTemplate.lit.js +0 -14
- package/dist/generated/templates/RatingIndicatorTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ResponsivePopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ResponsivePopoverTemplate.lit.js +0 -17
- package/dist/generated/templates/ResponsivePopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SegmentedButtonItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SegmentedButtonItemTemplate.lit.js +0 -6
- package/dist/generated/templates/SegmentedButtonItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SegmentedButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SegmentedButtonTemplate.lit.js +0 -5
- package/dist/generated/templates/SegmentedButtonTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SliderBaseTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SliderBaseTemplate.lit.js +0 -14
- package/dist/generated/templates/SliderBaseTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SliderTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SliderTemplate.lit.js +0 -17
- package/dist/generated/templates/SliderTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SplitButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SplitButtonTemplate.lit.js +0 -6
- package/dist/generated/templates/SplitButtonTemplate.lit.js.map +0 -1
- package/dist/generated/templates/StepInputTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/StepInputTemplate.lit.js +0 -8
- package/dist/generated/templates/StepInputTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SuggestionItemCustomTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SuggestionItemCustomTemplate.lit.js +0 -5
- package/dist/generated/templates/SuggestionItemCustomTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SuggestionItemGroupTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SuggestionItemGroupTemplate.lit.js +0 -8
- package/dist/generated/templates/SuggestionItemGroupTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SuggestionItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SuggestionItemTemplate.lit.js +0 -6
- package/dist/generated/templates/SuggestionItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SuggestionListItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SuggestionListItemTemplate.lit.js +0 -32
- package/dist/generated/templates/SuggestionListItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/SwitchTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/SwitchTemplate.lit.js +0 -9
- package/dist/generated/templates/SwitchTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TabContainerPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TabContainerPopoverTemplate.lit.js +0 -6
- package/dist/generated/templates/TabContainerPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TabContainerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TabContainerTemplate.lit.js +0 -16
- package/dist/generated/templates/TabContainerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TabInOverflowTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TabInOverflowTemplate.lit.js +0 -9
- package/dist/generated/templates/TabInOverflowTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TabInStripTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TabInStripTemplate.lit.js +0 -12
- package/dist/generated/templates/TabInStripTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TabSeparatorInOverflowTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TabSeparatorInOverflowTemplate.lit.js +0 -5
- package/dist/generated/templates/TabSeparatorInOverflowTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TabSeparatorInStripTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TabSeparatorInStripTemplate.lit.js +0 -5
- package/dist/generated/templates/TabSeparatorInStripTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TabTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TabTemplate.lit.js +0 -6
- package/dist/generated/templates/TabTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TagTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TagTemplate.lit.js +0 -11
- package/dist/generated/templates/TagTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TextAreaPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TextAreaPopoverTemplate.lit.js +0 -8
- package/dist/generated/templates/TextAreaPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TextAreaTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TextAreaTemplate.lit.js +0 -12
- package/dist/generated/templates/TextAreaTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TextTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TextTemplate.lit.js +0 -7
- package/dist/generated/templates/TextTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TimePickerClockTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TimePickerClockTemplate.lit.js +0 -11
- package/dist/generated/templates/TimePickerClockTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TimePickerPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TimePickerPopoverTemplate.lit.js +0 -6
- package/dist/generated/templates/TimePickerPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TimePickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TimePickerTemplate.lit.js +0 -8
- package/dist/generated/templates/TimePickerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TimeSelectionClocksTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TimeSelectionClocksTemplate.lit.js +0 -10
- package/dist/generated/templates/TimeSelectionClocksTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TimeSelectionInputsTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TimeSelectionInputsTemplate.lit.js +0 -9
- package/dist/generated/templates/TimeSelectionInputsTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TitleTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TitleTemplate.lit.js +0 -11
- package/dist/generated/templates/TitleTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToastTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToastTemplate.lit.js +0 -6
- package/dist/generated/templates/ToastTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToggleButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToggleButtonTemplate.lit.js +0 -8
- package/dist/generated/templates/ToggleButtonTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToggleSpinButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToggleSpinButtonTemplate.lit.js +0 -8
- package/dist/generated/templates/ToggleSpinButtonTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TokenTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TokenTemplate.lit.js +0 -8
- package/dist/generated/templates/TokenTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TokenizerPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TokenizerPopoverTemplate.lit.js +0 -9
- package/dist/generated/templates/TokenizerPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TokenizerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TokenizerTemplate.lit.js +0 -12
- package/dist/generated/templates/TokenizerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToolbarButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToolbarButtonTemplate.lit.js +0 -5
- package/dist/generated/templates/ToolbarButtonTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToolbarPopoverButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToolbarPopoverButtonTemplate.lit.js +0 -5
- package/dist/generated/templates/ToolbarPopoverButtonTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToolbarPopoverSelectTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToolbarPopoverSelectTemplate.lit.js +0 -6
- package/dist/generated/templates/ToolbarPopoverSelectTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToolbarPopoverSeparatorTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToolbarPopoverSeparatorTemplate.lit.js +0 -5
- package/dist/generated/templates/ToolbarPopoverSeparatorTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToolbarPopoverTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToolbarPopoverTemplate.lit.js +0 -6
- package/dist/generated/templates/ToolbarPopoverTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToolbarSelectTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToolbarSelectTemplate.lit.js +0 -6
- package/dist/generated/templates/ToolbarSelectTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToolbarSeparatorTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToolbarSeparatorTemplate.lit.js +0 -5
- package/dist/generated/templates/ToolbarSeparatorTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToolbarSpacerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToolbarSpacerTemplate.lit.js +0 -5
- package/dist/generated/templates/ToolbarSpacerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ToolbarTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ToolbarTemplate.lit.js +0 -7
- package/dist/generated/templates/ToolbarTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TreeItemBaseTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TreeItemBaseTemplate.lit.js +0 -24
- package/dist/generated/templates/TreeItemBaseTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TreeItemCustomTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TreeItemCustomTemplate.lit.js +0 -24
- package/dist/generated/templates/TreeItemCustomTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TreeItemTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TreeItemTemplate.lit.js +0 -26
- package/dist/generated/templates/TreeItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TreeTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TreeTemplate.lit.js +0 -6
- package/dist/generated/templates/TreeTemplate.lit.js.map +0 -1
- package/dist/generated/templates/YearPickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/YearPickerTemplate.lit.js +0 -8
- package/dist/generated/templates/YearPickerTemplate.lit.js.map +0 -1
- package/src/Avatar.hbs +0 -31
- package/src/AvatarGroup.hbs +0 -30
- package/src/Bar.hbs +0 -16
- package/src/Breadcrumbs.hbs +0 -57
- package/src/BreadcrumbsPopover.hbs +0 -28
- package/src/BusyIndicator.hbs +0 -40
- package/src/Button.hbs +0 -55
- package/src/Calendar.hbs +0 -70
- package/src/CalendarHeader.hbs +0 -55
- package/src/CalendarLegend.hbs +0 -16
- package/src/CalendarLegendItem.hbs +0 -6
- package/src/Card.hbs +0 -23
- package/src/CardHeader.hbs +0 -61
- package/src/Carousel.hbs +0 -87
- package/src/CheckBox.hbs +0 -51
- package/src/ColorPalette.hbs +0 -56
- package/src/ColorPaletteDialog.hbs +0 -20
- package/src/ColorPaletteItem.hbs +0 -11
- package/src/ColorPalettePopover.hbs +0 -36
- package/src/ColorPicker.hbs +0 -110
- package/src/ComboBox.hbs +0 -55
- package/src/ComboBoxItem.hbs +0 -18
- package/src/ComboBoxItemGroup.hbs +0 -9
- package/src/ComboBoxPopover.hbs +0 -130
- package/src/DatePicker.hbs +0 -2
- package/src/DatePickerInput.hbs +0 -43
- package/src/DatePickerPopover.hbs +0 -66
- package/src/DateRangePicker.hbs +0 -23
- package/src/DateTimePicker.hbs +0 -2
- package/src/DateTimePickerPopover.hbs +0 -76
- package/src/DayPicker.hbs +0 -71
- package/src/Dialog.hbs +0 -56
- package/src/DropIndicator.hbs +0 -1
- package/src/FileUploader.hbs +0 -37
- package/src/FileUploaderPopover.hbs +0 -24
- package/src/Form.hbs +0 -37
- package/src/FormItem.hbs +0 -14
- package/src/Icon.hbs +0 -29
- package/src/Input.hbs +0 -85
- package/src/InputPopover.hbs +0 -118
- package/src/Label.hbs +0 -14
- package/src/Link.hbs +0 -44
- package/src/List.hbs +0 -110
- package/src/ListItem.hbs +0 -133
- package/src/ListItemBase.hbs +0 -25
- package/src/ListItemCustom.hbs +0 -5
- package/src/ListItemGroup.hbs +0 -28
- package/src/ListItemGroupHeader.hbs +0 -14
- package/src/ListItemStandard.hbs +0 -44
- package/src/Menu.hbs +0 -66
- package/src/MenuItem.hbs +0 -116
- package/src/MenuSeparator.hbs +0 -6
- package/src/MessageStrip.hbs +0 -32
- package/src/MonthPicker.hbs +0 -39
- package/src/MultiComboBoxItem.hbs +0 -19
- package/src/MultiComboBoxItemGroup.hbs +0 -9
- package/src/MultiInput.hbs +0 -33
- package/src/NavigationMenu.hbs +0 -64
- package/src/NavigationMenuItem.hbs +0 -124
- package/src/Option.hbs +0 -20
- package/src/OptionCustom.hbs +0 -10
- package/src/Panel.hbs +0 -77
- package/src/Popover.hbs +0 -25
- package/src/Popup.hbs +0 -34
- package/src/PopupBlockLayer.hbs +0 -4
- package/src/ProgressIndicator.hbs +0 -34
- package/src/RadioButton.hbs +0 -30
- package/src/RangeSlider.hbs +0 -111
- package/src/RatingIndicator.hbs +0 -50
- package/src/ResponsivePopover.hbs +0 -51
- package/src/SegmentedButton.hbs +0 -18
- package/src/SegmentedButtonItem.hbs +0 -31
- package/src/Slider.hbs +0 -61
- package/src/SliderBase.hbs +0 -56
- package/src/SplitButton.hbs +0 -49
- package/src/StepInput.hbs +0 -79
- package/src/SuggestionItem.hbs +0 -14
- package/src/SuggestionItemCustom.hbs +0 -5
- package/src/SuggestionItemGroup.hbs +0 -1
- package/src/SuggestionListItem.hbs +0 -33
- package/src/Switch.hbs +0 -50
- package/src/Tab.hbs +0 -9
- package/src/TabContainer.hbs +0 -100
- package/src/TabContainerPopover.hbs +0 -29
- package/src/TabInOverflow.hbs +0 -30
- package/src/TabInStrip.hbs +0 -69
- package/src/TabSeparatorInOverflow.hbs +0 -9
- package/src/TabSeparatorInStrip.hbs +0 -6
- package/src/Tag.hbs +0 -30
- package/src/Text.hbs +0 -8
- package/src/TextArea.hbs +0 -53
- package/src/TextAreaPopover.hbs +0 -25
- package/src/TimePicker.hbs +0 -45
- package/src/TimePickerClock.hbs +0 -51
- package/src/TimePickerPopover.hbs +0 -61
- package/src/TimeSelectionClocks.hbs +0 -73
- package/src/TimeSelectionInputs.hbs +0 -41
- package/src/Title.hbs +0 -47
- package/src/Toast.hbs +0 -8
- package/src/ToggleButton.hbs +0 -5
- package/src/ToggleSpinButton.hbs +0 -9
- package/src/Token.hbs +0 -31
- package/src/Tokenizer.hbs +0 -44
- package/src/TokenizerPopover.hbs +0 -59
- package/src/Toolbar.hbs +0 -22
- package/src/ToolbarButton.hbs +0 -18
- package/src/ToolbarPopover.hbs +0 -14
- package/src/ToolbarPopoverButton.hbs +0 -16
- package/src/ToolbarPopoverSelect.hbs +0 -13
- package/src/ToolbarPopoverSeparator.hbs +0 -6
- package/src/ToolbarSelect.hbs +0 -14
- package/src/ToolbarSeparator.hbs +0 -5
- package/src/ToolbarSpacer.hbs +0 -6
- package/src/Tree.hbs +0 -35
- package/src/TreeItem.hbs +0 -12
- package/src/TreeItemBase.hbs +0 -46
- package/src/TreeItemCustom.hbs +0 -7
- package/src/YearPicker.hbs +0 -37
package/dist/Popover.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.js","sourceRoot":"","sources":["../src/Popover.ts"],"names":[],"mappings":";;;;;;;AACA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,OAAO,KAAK,MAAM,4CAA4C,CAAC;AAC/D,OAAO,wBAAwB,MAAM,+DAA+D,CAAC;AACrG,OAAO,0BAA0B,MAAM,iEAAiE,CAAC;AACzG,OAAO,gBAAgB,MAAM,uDAAuD,CAAC;AACrF,OAAO,qBAAqB,MAAM,yDAAyD,CAAC;AAE5F,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,sBAAsB,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEzF,WAAW;AACX,OAAO,eAAe,MAAM,8CAA8C,CAAC;AAC3E,SAAS;AACT,OAAO,eAAe,MAAM,wCAAwC,CAAC;AACrE,OAAO,UAAU,M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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 { isIOS } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport { getClosedPopupParent } from \"@ui5/webcomponents-base/dist/util/PopupUtils.js\";\nimport clamp from \"@ui5/webcomponents-base/dist/util/clamp.js\";\nimport isElementContainingBlock from \"@ui5/webcomponents-base/dist/util/isElementContainingBlock.js\";\nimport getEffectiveScrollbarStyle from \"@ui5/webcomponents-base/dist/util/getEffectiveScrollbarStyle.js\";\nimport getParentElement from \"@ui5/webcomponents-base/dist/util/getParentElement.js\";\nimport DOMReferenceConverter from \"@ui5/webcomponents-base/dist/converters/DOMReference.js\";\n\nimport { renderFinished } from \"@ui5/webcomponents-base/dist/Render.js\";\nimport Popup from \"./Popup.js\";\nimport type { PopupBeforeCloseEventDetail as PopoverBeforeCloseEventDetail } from \"./Popup.js\";\nimport PopoverPlacement from \"./types/PopoverPlacement.js\";\nimport PopoverVerticalAlign from \"./types/PopoverVerticalAlign.js\";\nimport PopoverHorizontalAlign from \"./types/PopoverHorizontalAlign.js\";\nimport { addOpenedPopover, removeOpenedPopover } from \"./popup-utils/PopoverRegistry.js\";\n\n// Template\nimport PopoverTemplate from \"./generated/templates/PopoverTemplate.lit.js\";\n// Styles\nimport PopupsCommonCss from \"./generated/themes/PopupsCommon.css.js\";\nimport PopoverCss from \"./generated/themes/Popover.css.js\";\n\nconst ARROW_SIZE = 8;\n\ntype PopoverSize = {\n\twidth: number;\n\theight: number;\n}\n\ntype ArrowPosition = {\n\tx: number;\n\ty: number;\n}\n\ntype CalculatedPlacement = {\n\tarrow: ArrowPosition,\n\ttop: number,\n\tleft: number,\n\tplacement: `${PopoverPlacement}`,\n}\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-popover` component displays additional information for an object\n * in a compact way and without leaving the page.\n * The Popover can contain various UI elements, such as fields, tables, images, and charts.\n * It can also include actions in the footer.\n *\n * ### Structure\n *\n * The popover has three main areas:\n *\n * - Header (optional)\n * - Content\n * - Footer (optional)\n *\n * **Note:** The `ui5-popover` is closed when the user clicks\n * or taps outside the popover\n * or selects an action within the popover. You can prevent this with the\n * `modal` property.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Popover.js\";`\n *\n * @constructor\n * @extends Popup\n * @since 1.0.0-rc.6\n * @public\n * @csspart header - Used to style the header of the component\n * @csspart content - Used to style the content of the component\n * @csspart footer - Used to style the footer of the component\n */\n@customElement({\n\ttag: \"ui5-popover\",\n\tstyles: [\n\t\tPopup.styles,\n\t\tPopupsCommonCss,\n\t\tPopoverCss,\n\t\tgetEffectiveScrollbarStyle(),\n\t],\n\ttemplate: PopoverTemplate,\n})\nclass Popover extends Popup {\n\t/**\n\t * Defines the header text.\n\t *\n\t * **Note:** If `header` slot is provided, the `headerText` is ignored.\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\theaderText?: string;\n\n\t/**\n\t * Determines on which side the component is placed at.\n\t * @default \"End\"\n\t * @public\n\t */\n\t@property()\n\tplacement: `${PopoverPlacement}` = \"End\";\n\n\t/**\n\t * Determines the horizontal alignment of the component.\n\t * @default \"Center\"\n\t * @public\n\t */\n\t@property()\n\thorizontalAlign: `${PopoverHorizontalAlign}` = \"Center\";\n\n\t/**\n\t * Determines the vertical alignment of the component.\n\t * @default \"Center\"\n\t * @public\n\t */\n\t@property()\n\tverticalAlign: `${PopoverVerticalAlign}` = \"Center\";\n\n\t/**\n\t * Defines whether the component should close when\n\t * clicking/tapping outside of the popover.\n\t * If enabled, it blocks any interaction with the background.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tmodal = false;\n\n\t/**\n\t * Determines whether the component arrow is hidden.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.15\n\t */\n\t@property({ type: Boolean })\n\thideArrow = false;\n\n\t/**\n\t * Determines if there is no enough space, the component can be placed\n\t * over the target.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tallowTargetOverlap = false;\n\n\t/**\n\t * Defines whether the content is scrollable.\n\t * @default false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tdisableScrolling = false;\n\n\t/**\n\t * Sets the X translation of the arrow\n\t * @private\n\t */\n\t@property({ type: Number, noAttribute: true })\n\tarrowTranslateX = 0;\n\n\t/**\n\t * Sets the Y translation of the arrow\n\t * @private\n\t */\n\t@property({ type: Number, noAttribute: true })\n\tarrowTranslateY = 0;\n\n\t/**\n\t * Returns the calculated placement depending on the free space\n\t * @private\n\t */\n\t@property()\n\tactualPlacement: `${PopoverPlacement}` = \"End\";\n\n\t@property({ type: Number, noAttribute: true })\n\t_maxHeight?: number;\n\n\t@property({ type: Number, noAttribute: true })\n\t_maxWidth?: number;\n\n\t/**\n\t * Defines the header HTML Element.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\theader!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the footer HTML Element.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\tfooter!: Array<HTMLElement>;\n\n\t_opener?: HTMLElement | string;\n\t_openerRect?: DOMRect;\n\t_preventRepositionAndClose?: boolean;\n\t_top?: number;\n\t_left?: number;\n\t_oldPlacement?: CalculatedPlacement;\n\t_width?: string;\n\t_height?: string;\n\n\tstatic get VIEWPORT_MARGIN() {\n\t\treturn 10; // px\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\t/**\n\t * Defines the ID or DOM Reference of the element at which the popover is shown.\n\t * When using this attribute in a declarative way, you must only use the `id` (as a string) of the element at which you want to show the popover.\n\t * You can only set the `opener` attribute to a DOM Reference when using JavaScript.\n\t * @public\n\t * @default undefined\n\t * @since 1.2.0\n\t */\n\t@property({ converter: DOMReferenceConverter })\n\tset opener(value: HTMLElement | string) {\n\t\tif (this._opener === value) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._opener = value;\n\n\t\tif (value && this.open) {\n\t\t\tthis.openPopup();\n\t\t}\n\t}\n\n\tget opener(): HTMLElement | string | undefined {\n\t\treturn this._opener;\n\t}\n\n\tasync openPopup() {\n\t\tif (this._opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (!opener) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.isOpenerOutsideViewport(opener.getBoundingClientRect())) {\n\t\t\tawait renderFinished();\n\t\t\tthis.open = false;\n\t\t\tthis.fireDecoratorEvent(\"close\");\n\t\t\treturn;\n\t\t}\n\n\t\tthis._openerRect = opener.getBoundingClientRect();\n\n\t\tawait super.openPopup();\n\t}\n\n\tisOpenerClicked(e: MouseEvent) {\n\t\tconst target = e.target as HTMLElement;\n\t\tif (target === this._opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\tconst ui5ElementTarget = target as UI5Element;\n\n\t\tif (ui5ElementTarget.getFocusDomRef && ui5ElementTarget.getFocusDomRef() === this._opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn e.composedPath().indexOf(this._opener as EventTarget) > -1;\n\t}\n\n\t/**\n\t * Override for the _addOpenedPopup hook, which would otherwise just call addOpenedPopup(this)\n\t * @private\n\t */\n\t_addOpenedPopup() {\n\t\taddOpenedPopover(this);\n\t}\n\n\t/**\n\t * Override for the _removeOpenedPopup hook, which would otherwise just call removeOpenedPopup(this)\n\t * @private\n\t */\n\t_removeOpenedPopup() {\n\t\tremoveOpenedPopover(this);\n\t}\n\n\tgetOpenerHTMLElement(opener: HTMLElement | string | undefined): HTMLElement | null | undefined {\n\t\tif (opener === undefined || opener instanceof HTMLElement) {\n\t\t\treturn opener;\n\t\t}\n\n\t\tconst rootNode = this.getRootNode();\n\n\t\tif (!(rootNode instanceof ShadowRoot || rootNode instanceof Document)) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet openerHTMLElement = rootNode.getElementById(opener);\n\n\t\tif (rootNode instanceof ShadowRoot && !openerHTMLElement) {\n\t\t\topenerHTMLElement = document.getElementById(opener);\n\t\t}\n\n\t\tif (openerHTMLElement && this._isUI5Element(openerHTMLElement)) {\n\t\t\treturn openerHTMLElement.getFocusDomRef();\n\t\t}\n\n\t\treturn openerHTMLElement;\n\t}\n\n\tshouldCloseDueToOverflow(placement: `${PopoverPlacement}`, openerRect: DOMRect): boolean {\n\t\tconst threshold = 32;\n\t\tconst limits = {\n\t\t\t\"Start\": openerRect.right,\n\t\t\t\"End\": openerRect.left,\n\t\t\t\"Top\": openerRect.top,\n\t\t\t\"Bottom\": openerRect.bottom,\n\t\t};\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\t\tconst closedPopupParent = getClosedPopupParent(opener!);\n\t\tlet overflowsBottom = false;\n\t\tlet overflowsTop = false;\n\n\t\tif (closedPopupParent instanceof Popover) {\n\t\t\tconst contentRect = closedPopupParent.contentDOM.getBoundingClientRect();\n\t\t\toverflowsBottom = openerRect.top > (contentRect.top + contentRect.height);\n\t\t\toverflowsTop = (openerRect.top + openerRect.height) < contentRect.top;\n\t\t}\n\n\t\treturn (limits[placement] < 0 || (limits[placement] + threshold > (closedPopupParent as unknown as Window).innerHeight)) || overflowsBottom || overflowsTop;\n\t}\n\n\tshouldCloseDueToNoOpener(openerRect: DOMRect): boolean {\n\t\treturn openerRect.top === 0\n\t\t\t&& openerRect.bottom === 0\n\t\t\t&& openerRect.left === 0\n\t\t\t&& openerRect.right === 0;\n\t}\n\n\tisOpenerOutsideViewport(openerRect: DOMRect): boolean {\n\t\treturn openerRect.bottom < 0\n\t\t\t|| openerRect.top > window.innerHeight\n\t\t\t|| openerRect.right < 0\n\t\t\t|| openerRect.left > window.innerWidth;\n\t}\n\n\t/**\n\t * @override\n\t */\n\t_resize() {\n\t\tsuper._resize();\n\n\t\tif (this.open) {\n\t\t\tthis.reposition();\n\t\t}\n\t}\n\n\treposition() {\n\t\tthis._show();\n\t}\n\n\tasync _show() {\n\t\tsuper._show();\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (opener && this._isUI5Element(opener) && !opener.getDomRef()) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._opened) {\n\t\t\tthis._showOutsideViewport();\n\t\t}\n\n\t\tconst popoverSize = this.getPopoverSize();\n\t\tlet placement;\n\n\t\tif (popoverSize.width === 0 || popoverSize.height === 0) {\n\t\t\t// size can not be determined properly at this point, popover will be shown with the next reposition\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.open) {\n\t\t\t// update opener rect if it was changed during the popover being opened\n\t\t\tthis._openerRect = opener!.getBoundingClientRect();\n\t\t}\n\n\t\tif (this._oldPlacement && this.shouldCloseDueToNoOpener(this._openerRect!) && this.isFocusWithin()) {\n\t\t\t// reuse the old placement as the opener is not available,\n\t\t\t// but keep the popover open as the focus is within\n\t\t\tplacement = this._oldPlacement;\n\t\t} else {\n\t\t\tplacement = this.calcPlacement(this._openerRect!, popoverSize);\n\t\t}\n\n\t\tif (this._preventRepositionAndClose || this.isOpenerOutsideViewport(this._openerRect!)) {\n\t\t\tawait this._waitForDomRef();\n\t\t\treturn this.closePopup();\n\t\t}\n\n\t\tthis._oldPlacement = placement;\n\t\tthis.actualPlacement = placement.placement;\n\n\t\tlet left = clamp(\n\t\t\tthis._left!,\n\t\t\tPopover.VIEWPORT_MARGIN,\n\t\t\tdocument.documentElement.clientWidth - popoverSize.width - Popover.VIEWPORT_MARGIN,\n\t\t);\n\n\t\tif (this.actualPlacement === PopoverPlacement.End) {\n\t\t\tleft = Math.max(left, this._left!);\n\t\t}\n\n\t\tlet top = clamp(\n\t\t\tthis._top!,\n\t\t\tPopover.VIEWPORT_MARGIN,\n\t\t\tdocument.documentElement.clientHeight - popoverSize.height - Popover.VIEWPORT_MARGIN,\n\t\t);\n\n\t\tif (this.actualPlacement === PopoverPlacement.Bottom) {\n\t\t\ttop = Math.max(top, this._top!);\n\t\t}\n\n\t\tthis.arrowTranslateX = placement.arrow.x;\n\t\tthis.arrowTranslateY = placement.arrow.y;\n\n\t\ttop = this._adjustForIOSKeyboard(top);\n\n\t\tObject.assign(this.style, {\n\t\t\ttop: `${top}px`,\n\t\t\tleft: `${left}px`,\n\t\t});\n\n\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && this._width) {\n\t\t\tthis.style.width = this._width;\n\t\t}\n\n\t\tif (this.verticalAlign === PopoverVerticalAlign.Stretch && this._height) {\n\t\t\tthis.style.height = this._height;\n\t\t}\n\t}\n\n\t/**\n\t * Adjust the desired top position to compensate for shift of the screen\n\t * caused by opened keyboard on iOS which affects all elements with position:fixed.\n\t * @private\n\t * @param top The target top in px.\n\t * @returns The adjusted top in px.\n\t */\n\t_adjustForIOSKeyboard(top: number): number {\n\t\tif (!isIOS()) {\n\t\t\treturn top;\n\t\t}\n\n\t\tconst actualTop = Math.ceil(this.getBoundingClientRect().top);\n\n\t\treturn top + (Number.parseInt(this.style.top || \"0\") - actualTop);\n\t}\n\n\t_getContainingBlockClientLocation() {\n\t\tlet parentElement = getParentElement(this);\n\n\t\twhile (parentElement) {\n\t\t\tif (isElementContainingBlock(parentElement)) {\n\t\t\t\treturn parentElement.getBoundingClientRect();\n\t\t\t}\n\n\t\t\tparentElement = getParentElement(parentElement);\n\t\t}\n\n\t\treturn { left: 0, top: 0 };\n\t}\n\n\tgetPopoverSize(): PopoverSize {\n\t\tconst rect = this.getBoundingClientRect(),\n\t\t\twidth = rect.width,\n\t\t\theight = rect.height;\n\n\t\treturn { width, height };\n\t}\n\n\t_showOutsideViewport() {\n\t\tObject.assign(this.style, {\n\t\t\ttop: \"-10000px\",\n\t\t\tleft: \"-10000px\",\n\t\t});\n\t}\n\n\t_isUI5Element(el: HTMLElement): el is UI5Element {\n\t\treturn \"isUI5Element\" in el;\n\t}\n\n\tget arrowDOM() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popover-arrow\")!;\n\t}\n\n\t/**\n\t * @private\n\t */\n\tcalcPlacement(targetRect: DOMRect, popoverSize: PopoverSize): CalculatedPlacement {\n\t\tlet left = Popover.VIEWPORT_MARGIN;\n\t\tlet top = 0;\n\t\tconst allowTargetOverlap = this.allowTargetOverlap;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tlet maxHeight = clientHeight;\n\t\tlet maxWidth = clientWidth;\n\n\t\tconst placement = this.getActualPlacement(targetRect, popoverSize);\n\n\t\tthis._preventRepositionAndClose = this.shouldCloseDueToNoOpener(targetRect) || this.shouldCloseDueToOverflow(placement, targetRect);\n\n\t\tconst isVertical = placement === PopoverPlacement.Top\n\t\t\t|| placement === PopoverPlacement.Bottom;\n\n\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && isVertical) {\n\t\t\tpopoverSize.width = targetRect.width;\n\t\t\tthis._width = `${targetRect.width}px`;\n\t\t} else if (this.verticalAlign === PopoverVerticalAlign.Stretch && !isVertical) {\n\t\t\tpopoverSize.height = targetRect.height;\n\t\t\tthis._height = `${targetRect.height}px`;\n\t\t}\n\n\t\tconst arrowOffset = this.hideArrow ? 0 : ARROW_SIZE;\n\n\t\t// calc popover positions\n\t\tswitch (placement) {\n\t\tcase PopoverPlacement.Top:\n\t\t\tleft = this.getVerticalLeft(targetRect, popoverSize);\n\t\t\ttop = Math.max(targetRect.top - popoverSize.height - arrowOffset, 0);\n\n\t\t\tif (!allowTargetOverlap) {\n\t\t\t\tmaxHeight = targetRect.top - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Bottom:\n\t\t\tleft = this.getVerticalLeft(targetRect, popoverSize);\n\t\t\ttop = targetRect.bottom + arrowOffset;\n\n\t\t\tif (allowTargetOverlap) {\n\t\t\t\ttop = Math.max(Math.min(top, clientHeight - popoverSize.height), 0);\n\t\t\t} else {\n\t\t\t\tmaxHeight = clientHeight - targetRect.bottom - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Start:\n\t\t\tleft = Math.max(targetRect.left - popoverSize.width - arrowOffset, 0);\n\t\t\ttop = this.getHorizontalTop(targetRect, popoverSize);\n\n\t\t\tif (!allowTargetOverlap) {\n\t\t\t\tmaxWidth = targetRect.left - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.End:\n\t\t\tleft = targetRect.left + targetRect.width + arrowOffset;\n\t\t\ttop = this.getHorizontalTop(targetRect, popoverSize);\n\n\t\t\tif (allowTargetOverlap) {\n\t\t\t\tleft = Math.max(Math.min(left, clientWidth - popoverSize.width), 0);\n\t\t\t} else {\n\t\t\t\tmaxWidth = clientWidth - targetRect.right - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\t// correct popover positions\n\t\tif (isVertical) {\n\t\t\tif (popoverSize.width > clientWidth || left < Popover.VIEWPORT_MARGIN) {\n\t\t\t\tleft = Popover.VIEWPORT_MARGIN;\n\t\t\t} else if (left + popoverSize.width > clientWidth - Popover.VIEWPORT_MARGIN) {\n\t\t\t\tleft = clientWidth - Popover.VIEWPORT_MARGIN - popoverSize.width;\n\t\t\t}\n\t\t} else {\n\t\t\tif (popoverSize.height > clientHeight || top < Popover.VIEWPORT_MARGIN) { // eslint-disable-line\n\t\t\t\ttop = Popover.VIEWPORT_MARGIN;\n\t\t\t} else if (top + popoverSize.height > clientHeight - Popover.VIEWPORT_MARGIN) {\n\t\t\t\ttop = clientHeight - Popover.VIEWPORT_MARGIN - popoverSize.height;\n\t\t\t}\n\t\t}\n\n\t\tthis._maxHeight = Math.round(maxHeight - Popover.VIEWPORT_MARGIN);\n\t\tthis._maxWidth = Math.round(maxWidth - Popover.VIEWPORT_MARGIN);\n\n\t\tif (this._left === undefined || Math.abs(this._left - left) > 1.5) {\n\t\t\tthis._left = Math.round(left);\n\t\t}\n\n\t\tif (this._top === undefined || Math.abs(this._top - top) > 1.5) {\n\t\t\tthis._top = Math.round(top);\n\t\t}\n\n\t\tconst borderRadius = Number.parseInt(window.getComputedStyle(this).getPropertyValue(\"border-radius\"));\n\t\tconst arrowPos = this.getArrowPosition(targetRect, popoverSize, left, top, isVertical, borderRadius);\n\n\t\tthis._left += this.getRTLCorrectionLeft();\n\n\t\treturn {\n\t\t\tarrow: arrowPos,\n\t\t\ttop: this._top,\n\t\t\tleft: this._left,\n\t\t\tplacement,\n\t\t};\n\t}\n\n\tgetRTLCorrectionLeft() {\n\t\treturn parseFloat(window.getComputedStyle(this).left) - this.getBoundingClientRect().left;\n\t}\n\n\t/**\n\t * Calculates the position for the arrow.\n\t * @private\n\t * @param targetRect BoundingClientRect of the target element\n\t * @param popoverSize Width and height of the popover\n\t * @param left Left offset of the popover\n\t * @param top Top offset of the popover\n\t * @param isVertical If the popover is positioned vertically to the target element\n\t * @param borderRadius Value of the border-radius property\n\t * @returns Arrow's coordinates\n\t */\n\tgetArrowPosition(targetRect: DOMRect, popoverSize: PopoverSize, left: number, top: number, isVertical: boolean, borderRadius: number): ArrowPosition {\n\t\tconst horizontalAlign = this._actualHorizontalAlign;\n\t\tlet arrowXCentered = horizontalAlign === PopoverHorizontalAlign.Center || horizontalAlign === PopoverHorizontalAlign.Stretch;\n\n\t\tif (horizontalAlign === PopoverHorizontalAlign.End && left <= targetRect.left) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tif (horizontalAlign === PopoverHorizontalAlign.Start && left + popoverSize.width >= targetRect.left + targetRect.width) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tlet arrowTranslateX = 0;\n\t\tif (isVertical && arrowXCentered) {\n\t\t\tarrowTranslateX = targetRect.left + targetRect.width / 2 - left - popoverSize.width / 2;\n\t\t}\n\n\t\tlet arrowTranslateY = 0;\n\t\tif (!isVertical) {\n\t\t\tarrowTranslateY = targetRect.top + targetRect.height / 2 - top - popoverSize.height / 2;\n\t\t}\n\n\t\t// Restricts the arrow's translate value along each dimension,\n\t\t// so that the arrow does not clip over the popover's rounded borders.\n\t\tconst safeRangeForArrowY = popoverSize.height / 2 - borderRadius - ARROW_SIZE / 2;\n\t\tarrowTranslateY = clamp(\n\t\t\tarrowTranslateY,\n\t\t\t-safeRangeForArrowY,\n\t\t\tsafeRangeForArrowY,\n\t\t);\n\n\t\tconst safeRangeForArrowX = popoverSize.width / 2 - borderRadius - ARROW_SIZE / 2;\n\t\tarrowTranslateX = clamp(\n\t\t\tarrowTranslateX,\n\t\t\t-safeRangeForArrowX,\n\t\t\tsafeRangeForArrowX,\n\t\t);\n\n\t\treturn {\n\t\t\tx: Math.round(arrowTranslateX),\n\t\t\ty: Math.round(arrowTranslateY),\n\t\t};\n\t}\n\n\t/**\n\t * Fallbacks to new placement, prioritizing `Left` and `Right` placements.\n\t * @private\n\t */\n\tfallbackPlacement(clientWidth: number, clientHeight: number, targetRect: DOMRect, popoverSize: PopoverSize): PopoverPlacement | undefined {\n\t\tif (targetRect.left > popoverSize.width) {\n\t\t\treturn PopoverPlacement.Start;\n\t\t}\n\n\t\tif (clientWidth - targetRect.right > targetRect.left) {\n\t\t\treturn PopoverPlacement.End;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom > popoverSize.height) {\n\t\t\treturn PopoverPlacement.Bottom;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\treturn PopoverPlacement.Top;\n\t\t}\n\t}\n\n\tgetActualPlacement(targetRect: DOMRect, popoverSize: PopoverSize): `${PopoverPlacement}` {\n\t\tconst placement = this.placement;\n\t\tlet actualPlacement = placement;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tswitch (placement) {\n\t\tcase PopoverPlacement.Top:\n\t\t\tif (targetRect.top < popoverSize.height\n\t\t\t\t&& targetRect.top < clientHeight - targetRect.bottom) {\n\t\t\t\tactualPlacement = PopoverPlacement.Bottom;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Bottom:\n\t\t\tif (clientHeight - targetRect.bottom < popoverSize.height\n\t\t\t\t&& clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\t\tactualPlacement = PopoverPlacement.Top;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Start:\n\t\t\tif (targetRect.left < popoverSize.width) {\n\t\t\t\tactualPlacement = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || placement;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.End:\n\t\t\tif (clientWidth - targetRect.right < popoverSize.width) {\n\t\t\t\tactualPlacement = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || placement;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\treturn actualPlacement;\n\t}\n\n\tgetVerticalLeft(targetRect: DOMRect, popoverSize: PopoverSize): number {\n\t\tconst horizontalAlign = this._actualHorizontalAlign;\n\t\tlet left = Popover.VIEWPORT_MARGIN;\n\n\t\tswitch (horizontalAlign) {\n\t\tcase PopoverHorizontalAlign.Center:\n\t\tcase PopoverHorizontalAlign.Stretch:\n\t\t\tleft = targetRect.left - (popoverSize.width - targetRect.width) / 2;\n\t\t\tbreak;\n\t\tcase PopoverHorizontalAlign.Start:\n\t\t\tleft = targetRect.left;\n\t\t\tbreak;\n\t\tcase PopoverHorizontalAlign.End:\n\t\t\tleft = targetRect.right - popoverSize.width;\n\t\t\tbreak;\n\t\t}\n\n\t\treturn left;\n\t}\n\n\tgetHorizontalTop(targetRect: DOMRect, popoverSize: PopoverSize): number {\n\t\tlet top = 0;\n\n\t\tswitch (this.verticalAlign) {\n\t\tcase PopoverVerticalAlign.Center:\n\t\tcase PopoverVerticalAlign.Stretch:\n\t\t\ttop = targetRect.top - (popoverSize.height - targetRect.height) / 2;\n\t\t\tbreak;\n\t\tcase PopoverVerticalAlign.Top:\n\t\t\ttop = targetRect.top;\n\t\t\tbreak;\n\t\tcase PopoverVerticalAlign.Bottom:\n\t\t\ttop = targetRect.bottom - popoverSize.height;\n\t\t\tbreak;\n\t\t}\n\n\t\treturn top;\n\t}\n\n\tget isModal() { // Required by Popup.js\n\t\treturn this.modal;\n\t}\n\n\tget _ariaLabelledBy() { // Required by Popup.js\n\t\tif (!this._ariaLabel && this._displayHeader) {\n\t\t\treturn \"ui5-popup-header\";\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\t...super.styles,\n\t\t\troot: {\n\t\t\t\t\"max-height\": this._maxHeight ? `${this._maxHeight}px` : \"\",\n\t\t\t\t\"max-width\": this._maxWidth ? `${this._maxWidth}px` : \"\",\n\t\t\t},\n\t\t\tarrow: {\n\t\t\t\ttransform: `translate(${this.arrowTranslateX}px, ${this.arrowTranslateY}px)`,\n\t\t\t},\n\t\t};\n\t}\n\n\tget classes() {\n\t\tconst allClasses = super.classes;\n\t\tallClasses.root[\"ui5-popover-root\"] = true;\n\n\t\treturn allClasses;\n\t}\n\n\t/**\n\t * Hook for descendants to hide header.\n\t */\n\tget _displayHeader() {\n\t\treturn !!(this.header.length || this.headerText);\n\t}\n\n\t/**\n\t * Hook for descendants to hide footer.\n\t */\n\tget _displayFooter() {\n\t\treturn true;\n\t}\n\n\tget _actualHorizontalAlign() {\n\t\tif (this.effectiveDir === \"rtl\") {\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Start) {\n\t\t\t\treturn PopoverHorizontalAlign.End;\n\t\t\t}\n\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.End) {\n\t\t\t\treturn PopoverHorizontalAlign.Start;\n\t\t\t}\n\t\t}\n\n\t\treturn this.horizontalAlign;\n\t}\n}\n\nconst instanceOfPopover = (object: any): object is Popover => {\n\treturn \"opener\" in object;\n};\n\nPopover.define();\n\nexport default Popover;\n\nexport { instanceOfPopover };\n\nexport type {\n\tPopoverBeforeCloseEventDetail,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"Popover.js","sourceRoot":"","sources":["../src/Popover.ts"],"names":[],"mappings":";;;;;;;AACA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CA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;AAED,MAAM,iBAAiB,GAAG,CAAC,MAAW,EAAqB,EAAE;IAC5D,OAAO,QAAQ,IAAI,MAAM,CAAC;AAC3B,CAAC,CAAC;AAEF,OAAO,CAAC,MAAM,EAAE,CAAC;AAEjB,eAAe,OAAO,CAAC;AAEvB,OAAO,EAAE,iBAAiB,EAAE,CAAC","sourcesContent":["import type 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 { isIOS } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport { getClosedPopupParent } from \"@ui5/webcomponents-base/dist/util/PopupUtils.js\";\nimport clamp from \"@ui5/webcomponents-base/dist/util/clamp.js\";\nimport getEffectiveScrollbarStyle from \"@ui5/webcomponents-base/dist/util/getEffectiveScrollbarStyle.js\";\nimport DOMReferenceConverter from \"@ui5/webcomponents-base/dist/converters/DOMReference.js\";\n\nimport { renderFinished } from \"@ui5/webcomponents-base/dist/Render.js\";\nimport Popup from \"./Popup.js\";\nimport PopoverPlacement from \"./types/PopoverPlacement.js\";\nimport PopoverVerticalAlign from \"./types/PopoverVerticalAlign.js\";\nimport PopoverHorizontalAlign from \"./types/PopoverHorizontalAlign.js\";\nimport { addOpenedPopover, removeOpenedPopover } from \"./popup-utils/PopoverRegistry.js\";\n\n// Template\nimport PopoverTemplate from \"./PopoverTemplate.js\";\n// Styles\nimport PopupsCommonCss from \"./generated/themes/PopupsCommon.css.js\";\nimport PopoverCss from \"./generated/themes/Popover.css.js\";\n\nconst ARROW_SIZE = 8;\n\ntype PopoverSize = {\n\twidth: number;\n\theight: number;\n}\n\ntype ArrowPosition = {\n\tx: number;\n\ty: number;\n}\n\ntype CalculatedPlacement = {\n\tarrow: ArrowPosition,\n\ttop: number,\n\tleft: number,\n\tplacement: `${PopoverPlacement}`,\n}\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-popover` component displays additional information for an object\n * in a compact way and without leaving the page.\n * The Popover can contain various UI elements, such as fields, tables, images, and charts.\n * It can also include actions in the footer.\n *\n * ### Structure\n *\n * The popover has three main areas:\n *\n * - Header (optional)\n * - Content\n * - Footer (optional)\n *\n * **Note:** The `ui5-popover` is closed when the user clicks\n * or taps outside the popover\n * or selects an action within the popover. You can prevent this with the\n * `modal` property.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Popover.js\";`\n *\n * @constructor\n * @extends Popup\n * @since 1.0.0-rc.6\n * @public\n * @csspart header - Used to style the header of the component\n * @csspart content - Used to style the content of the component\n * @csspart footer - Used to style the footer of the component\n */\n@customElement({\n\ttag: \"ui5-popover\",\n\tstyles: [\n\t\tPopup.styles,\n\t\tPopupsCommonCss,\n\t\tPopoverCss,\n\t\tgetEffectiveScrollbarStyle(),\n\t],\n\ttemplate: PopoverTemplate,\n})\nclass Popover extends Popup {\n\teventDetails!: Popup[\"eventDetails\"];\n\t/**\n\t * Defines the header text.\n\t *\n\t * **Note:** If `header` slot is provided, the `headerText` is ignored.\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\theaderText?: string;\n\n\t/**\n\t * Determines on which side the component is placed at.\n\t * @default \"End\"\n\t * @public\n\t */\n\t@property()\n\tplacement: `${PopoverPlacement}` = \"End\";\n\n\t/**\n\t * Determines the horizontal alignment of the component.\n\t * @default \"Center\"\n\t * @public\n\t */\n\t@property()\n\thorizontalAlign: `${PopoverHorizontalAlign}` = \"Center\";\n\n\t/**\n\t * Determines the vertical alignment of the component.\n\t * @default \"Center\"\n\t * @public\n\t */\n\t@property()\n\tverticalAlign: `${PopoverVerticalAlign}` = \"Center\";\n\n\t/**\n\t * Defines whether the component should close when\n\t * clicking/tapping outside of the popover.\n\t * If enabled, it blocks any interaction with the background.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tmodal = false;\n\n\t/**\n\t * Determines whether the component arrow is hidden.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.15\n\t */\n\t@property({ type: Boolean })\n\thideArrow = false;\n\n\t/**\n\t * Determines if there is no enough space, the component can be placed\n\t * over the target.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tallowTargetOverlap = false;\n\n\t/**\n\t * Defines whether the content is scrollable.\n\t * @default false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tdisableScrolling = false;\n\n\t/**\n\t * Sets the X translation of the arrow\n\t * @private\n\t */\n\t@property({ type: Number, noAttribute: true })\n\tarrowTranslateX = 0;\n\n\t/**\n\t * Sets the Y translation of the arrow\n\t * @private\n\t */\n\t@property({ type: Number, noAttribute: true })\n\tarrowTranslateY = 0;\n\n\t/**\n\t * Returns the calculated placement depending on the free space\n\t * @private\n\t */\n\t@property()\n\tactualPlacement: `${PopoverPlacement}` = \"End\";\n\n\t@property({ type: Number, noAttribute: true })\n\t_maxHeight?: number;\n\n\t@property({ type: Number, noAttribute: true })\n\t_maxWidth?: number;\n\n\t/**\n\t * Defines the header HTML Element.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\theader!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the footer HTML Element.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\tfooter!: Array<HTMLElement>;\n\n\t_opener?: HTMLElement | string;\n\t_openerRect?: DOMRect;\n\t_preventRepositionAndClose?: boolean;\n\t_top?: number;\n\t_left?: number;\n\t_oldPlacement?: CalculatedPlacement;\n\t_width?: string;\n\t_height?: string;\n\n\tstatic get VIEWPORT_MARGIN() {\n\t\treturn 10; // px\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\t/**\n\t * Defines the ID or DOM Reference of the element at which the popover is shown.\n\t * When using this attribute in a declarative way, you must only use the `id` (as a string) of the element at which you want to show the popover.\n\t * You can only set the `opener` attribute to a DOM Reference when using JavaScript.\n\t * @public\n\t * @default undefined\n\t * @since 1.2.0\n\t */\n\t@property({ converter: DOMReferenceConverter })\n\tset opener(value: HTMLElement | string) {\n\t\tif (this._opener === value) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._opener = value;\n\n\t\tif (value && this.open) {\n\t\t\tthis.openPopup();\n\t\t}\n\t}\n\n\tget opener(): HTMLElement | string | undefined {\n\t\treturn this._opener;\n\t}\n\n\tasync openPopup() {\n\t\tif (this._opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (!opener) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.isOpenerOutsideViewport(opener.getBoundingClientRect())) {\n\t\t\tawait renderFinished();\n\t\t\tthis.open = false;\n\t\t\tthis.fireDecoratorEvent(\"close\");\n\t\t\treturn;\n\t\t}\n\n\t\tthis._openerRect = opener.getBoundingClientRect();\n\n\t\tawait super.openPopup();\n\t}\n\n\tisOpenerClicked(e: MouseEvent) {\n\t\tconst target = e.target as HTMLElement;\n\t\tif (target === this._opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\tconst ui5ElementTarget = target as UI5Element;\n\n\t\tif (ui5ElementTarget.getFocusDomRef && ui5ElementTarget.getFocusDomRef() === this._opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn e.composedPath().indexOf(this._opener as EventTarget) > -1;\n\t}\n\n\t/**\n\t * Override for the _addOpenedPopup hook, which would otherwise just call addOpenedPopup(this)\n\t * @private\n\t */\n\t_addOpenedPopup() {\n\t\taddOpenedPopover(this);\n\t}\n\n\t/**\n\t * Override for the _removeOpenedPopup hook, which would otherwise just call removeOpenedPopup(this)\n\t * @private\n\t */\n\t_removeOpenedPopup() {\n\t\tremoveOpenedPopover(this);\n\t}\n\n\tgetOpenerHTMLElement(opener: HTMLElement | string | undefined): HTMLElement | null | undefined {\n\t\tif (opener === undefined || opener instanceof HTMLElement) {\n\t\t\treturn opener;\n\t\t}\n\n\t\tlet rootNode = this.getRootNode();\n\n\t\tif (rootNode === this) {\n\t\t\trootNode = document;\n\t\t}\n\n\t\tlet openerHTMLElement = (rootNode as Document | ShadowRoot).getElementById(opener);\n\n\t\tif (rootNode instanceof ShadowRoot && !openerHTMLElement) {\n\t\t\topenerHTMLElement = document.getElementById(opener);\n\t\t}\n\n\t\tif (openerHTMLElement && this._isUI5Element(openerHTMLElement)) {\n\t\t\treturn openerHTMLElement.getFocusDomRef();\n\t\t}\n\n\t\treturn openerHTMLElement;\n\t}\n\n\tshouldCloseDueToOverflow(placement: `${PopoverPlacement}`, openerRect: DOMRect): boolean {\n\t\tconst threshold = 32;\n\t\tconst limits = {\n\t\t\t\"Start\": openerRect.right,\n\t\t\t\"End\": openerRect.left,\n\t\t\t\"Top\": openerRect.top,\n\t\t\t\"Bottom\": openerRect.bottom,\n\t\t};\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\t\tconst closedPopupParent = getClosedPopupParent(opener!);\n\t\tlet overflowsBottom = false;\n\t\tlet overflowsTop = false;\n\n\t\tif (closedPopupParent instanceof Popover) {\n\t\t\tconst contentRect = closedPopupParent.contentDOM.getBoundingClientRect();\n\t\t\toverflowsBottom = openerRect.top > (contentRect.top + contentRect.height);\n\t\t\toverflowsTop = (openerRect.top + openerRect.height) < contentRect.top;\n\t\t}\n\n\t\treturn (limits[placement] < 0 || (limits[placement] + threshold > (closedPopupParent as unknown as Window).innerHeight)) || overflowsBottom || overflowsTop;\n\t}\n\n\tshouldCloseDueToNoOpener(openerRect: DOMRect): boolean {\n\t\treturn openerRect.top === 0\n\t\t\t&& openerRect.bottom === 0\n\t\t\t&& openerRect.left === 0\n\t\t\t&& openerRect.right === 0;\n\t}\n\n\tisOpenerOutsideViewport(openerRect: DOMRect): boolean {\n\t\treturn openerRect.bottom < 0\n\t\t\t|| openerRect.top > window.innerHeight\n\t\t\t|| openerRect.right < 0\n\t\t\t|| openerRect.left > window.innerWidth;\n\t}\n\n\t/**\n\t * @override\n\t */\n\t_resize() {\n\t\tsuper._resize();\n\n\t\tif (this.open) {\n\t\t\tthis.reposition();\n\t\t}\n\t}\n\n\treposition() {\n\t\tthis._show();\n\t}\n\n\tasync _show() {\n\t\tsuper._show();\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (opener && this._isUI5Element(opener) && !opener.getDomRef()) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._opened) {\n\t\t\tthis._showOutsideViewport();\n\t\t}\n\n\t\tconst popoverSize = this.getPopoverSize();\n\t\tlet placement;\n\n\t\tif (popoverSize.width === 0 || popoverSize.height === 0) {\n\t\t\t// size can not be determined properly at this point, popover will be shown with the next reposition\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.open) {\n\t\t\t// update opener rect if it was changed during the popover being opened\n\t\t\tthis._openerRect = opener!.getBoundingClientRect();\n\t\t}\n\n\t\tif (this._oldPlacement && this.shouldCloseDueToNoOpener(this._openerRect!) && this.isFocusWithin()) {\n\t\t\t// reuse the old placement as the opener is not available,\n\t\t\t// but keep the popover open as the focus is within\n\t\t\tplacement = this._oldPlacement;\n\t\t} else {\n\t\t\tplacement = this.calcPlacement(this._openerRect!, popoverSize);\n\t\t}\n\n\t\tif (this._preventRepositionAndClose || this.isOpenerOutsideViewport(this._openerRect!)) {\n\t\t\tawait this._waitForDomRef();\n\t\t\treturn this.closePopup();\n\t\t}\n\n\t\tthis._oldPlacement = placement;\n\t\tthis.actualPlacement = placement.placement;\n\n\t\tlet left = clamp(\n\t\t\tthis._left!,\n\t\t\tPopover.VIEWPORT_MARGIN,\n\t\t\tdocument.documentElement.clientWidth - popoverSize.width - Popover.VIEWPORT_MARGIN,\n\t\t);\n\n\t\tif (this.actualPlacement === PopoverPlacement.End) {\n\t\t\tleft = Math.max(left, this._left!);\n\t\t}\n\n\t\tlet top = clamp(\n\t\t\tthis._top!,\n\t\t\tPopover.VIEWPORT_MARGIN,\n\t\t\tdocument.documentElement.clientHeight - popoverSize.height - Popover.VIEWPORT_MARGIN,\n\t\t);\n\n\t\tif (this.actualPlacement === PopoverPlacement.Bottom) {\n\t\t\ttop = Math.max(top, this._top!);\n\t\t}\n\n\t\tthis.arrowTranslateX = placement.arrow.x;\n\t\tthis.arrowTranslateY = placement.arrow.y;\n\n\t\ttop = this._adjustForIOSKeyboard(top);\n\n\t\tObject.assign(this.style, {\n\t\t\ttop: `${top}px`,\n\t\t\tleft: `${left}px`,\n\t\t});\n\n\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && this._width) {\n\t\t\tthis.style.width = this._width;\n\t\t}\n\n\t\tif (this.verticalAlign === PopoverVerticalAlign.Stretch && this._height) {\n\t\t\tthis.style.height = this._height;\n\t\t}\n\t}\n\n\t/**\n\t * Adjust the desired top position to compensate for shift of the screen\n\t * caused by opened keyboard on iOS which affects all elements with position:fixed.\n\t * @private\n\t * @param top The target top in px.\n\t * @returns The adjusted top in px.\n\t */\n\t_adjustForIOSKeyboard(top: number): number {\n\t\tif (!isIOS()) {\n\t\t\treturn top;\n\t\t}\n\n\t\tconst actualTop = Math.ceil(this.getBoundingClientRect().top);\n\n\t\treturn top + (Number.parseInt(this.style.top || \"0\") - actualTop);\n\t}\n\n\tgetPopoverSize(): PopoverSize {\n\t\tconst rect = this.getBoundingClientRect(),\n\t\t\twidth = rect.width,\n\t\t\theight = rect.height;\n\n\t\treturn { width, height };\n\t}\n\n\t_showOutsideViewport() {\n\t\tObject.assign(this.style, {\n\t\t\ttop: \"-10000px\",\n\t\t\tleft: \"-10000px\",\n\t\t});\n\t}\n\n\t_isUI5Element(el: HTMLElement): el is UI5Element {\n\t\treturn \"isUI5Element\" in el;\n\t}\n\n\tget arrowDOM() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popover-arrow\")!;\n\t}\n\n\t/**\n\t * @private\n\t */\n\tcalcPlacement(targetRect: DOMRect, popoverSize: PopoverSize): CalculatedPlacement {\n\t\tlet left = Popover.VIEWPORT_MARGIN;\n\t\tlet top = 0;\n\t\tconst allowTargetOverlap = this.allowTargetOverlap;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tlet maxHeight = clientHeight;\n\t\tlet maxWidth = clientWidth;\n\n\t\tconst placement = this.getActualPlacement(targetRect, popoverSize);\n\n\t\tthis._preventRepositionAndClose = this.shouldCloseDueToNoOpener(targetRect) || this.shouldCloseDueToOverflow(placement, targetRect);\n\n\t\tconst isVertical = placement === PopoverPlacement.Top\n\t\t\t|| placement === PopoverPlacement.Bottom;\n\n\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && isVertical) {\n\t\t\tpopoverSize.width = targetRect.width;\n\t\t\tthis._width = `${targetRect.width}px`;\n\t\t} else if (this.verticalAlign === PopoverVerticalAlign.Stretch && !isVertical) {\n\t\t\tpopoverSize.height = targetRect.height;\n\t\t\tthis._height = `${targetRect.height}px`;\n\t\t}\n\n\t\tconst arrowOffset = this.hideArrow ? 0 : ARROW_SIZE;\n\n\t\t// calc popover positions\n\t\tswitch (placement) {\n\t\tcase PopoverPlacement.Top:\n\t\t\tleft = this.getVerticalLeft(targetRect, popoverSize);\n\t\t\ttop = Math.max(targetRect.top - popoverSize.height - arrowOffset, 0);\n\n\t\t\tif (!allowTargetOverlap) {\n\t\t\t\tmaxHeight = targetRect.top - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Bottom:\n\t\t\tleft = this.getVerticalLeft(targetRect, popoverSize);\n\t\t\ttop = targetRect.bottom + arrowOffset;\n\n\t\t\tif (allowTargetOverlap) {\n\t\t\t\ttop = Math.max(Math.min(top, clientHeight - popoverSize.height), 0);\n\t\t\t} else {\n\t\t\t\tmaxHeight = clientHeight - targetRect.bottom - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Start:\n\t\t\tleft = Math.max(targetRect.left - popoverSize.width - arrowOffset, 0);\n\t\t\ttop = this.getHorizontalTop(targetRect, popoverSize);\n\n\t\t\tif (!allowTargetOverlap) {\n\t\t\t\tmaxWidth = targetRect.left - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.End:\n\t\t\tleft = targetRect.left + targetRect.width + arrowOffset;\n\t\t\ttop = this.getHorizontalTop(targetRect, popoverSize);\n\n\t\t\tif (allowTargetOverlap) {\n\t\t\t\tleft = Math.max(Math.min(left, clientWidth - popoverSize.width), 0);\n\t\t\t} else {\n\t\t\t\tmaxWidth = clientWidth - targetRect.right - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\t// correct popover positions\n\t\tif (isVertical) {\n\t\t\tif (popoverSize.width > clientWidth || left < Popover.VIEWPORT_MARGIN) {\n\t\t\t\tleft = Popover.VIEWPORT_MARGIN;\n\t\t\t} else if (left + popoverSize.width > clientWidth - Popover.VIEWPORT_MARGIN) {\n\t\t\t\tleft = clientWidth - Popover.VIEWPORT_MARGIN - popoverSize.width;\n\t\t\t}\n\t\t} else {\n\t\t\tif (popoverSize.height > clientHeight || top < Popover.VIEWPORT_MARGIN) { // eslint-disable-line\n\t\t\t\ttop = Popover.VIEWPORT_MARGIN;\n\t\t\t} else if (top + popoverSize.height > clientHeight - Popover.VIEWPORT_MARGIN) {\n\t\t\t\ttop = clientHeight - Popover.VIEWPORT_MARGIN - popoverSize.height;\n\t\t\t}\n\t\t}\n\n\t\tthis._maxHeight = Math.round(maxHeight - Popover.VIEWPORT_MARGIN);\n\t\tthis._maxWidth = Math.round(maxWidth - Popover.VIEWPORT_MARGIN);\n\n\t\tif (this._left === undefined || Math.abs(this._left - left) > 1.5) {\n\t\t\tthis._left = Math.round(left);\n\t\t}\n\n\t\tif (this._top === undefined || Math.abs(this._top - top) > 1.5) {\n\t\t\tthis._top = Math.round(top);\n\t\t}\n\n\t\tconst borderRadius = Number.parseInt(window.getComputedStyle(this).getPropertyValue(\"border-radius\"));\n\t\tconst arrowPos = this.getArrowPosition(targetRect, popoverSize, left, top, isVertical, borderRadius);\n\n\t\tthis._left += this.getRTLCorrectionLeft();\n\n\t\treturn {\n\t\t\tarrow: arrowPos,\n\t\t\ttop: this._top,\n\t\t\tleft: this._left,\n\t\t\tplacement,\n\t\t};\n\t}\n\n\tgetRTLCorrectionLeft() {\n\t\treturn parseFloat(window.getComputedStyle(this).left) - this.getBoundingClientRect().left;\n\t}\n\n\t/**\n\t * Calculates the position for the arrow.\n\t * @private\n\t * @param targetRect BoundingClientRect of the target element\n\t * @param popoverSize Width and height of the popover\n\t * @param left Left offset of the popover\n\t * @param top Top offset of the popover\n\t * @param isVertical If the popover is positioned vertically to the target element\n\t * @param borderRadius Value of the border-radius property\n\t * @returns Arrow's coordinates\n\t */\n\tgetArrowPosition(targetRect: DOMRect, popoverSize: PopoverSize, left: number, top: number, isVertical: boolean, borderRadius: number): ArrowPosition {\n\t\tconst horizontalAlign = this._actualHorizontalAlign;\n\t\tlet arrowXCentered = horizontalAlign === PopoverHorizontalAlign.Center || horizontalAlign === PopoverHorizontalAlign.Stretch;\n\n\t\tif (horizontalAlign === PopoverHorizontalAlign.End && left <= targetRect.left) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tif (horizontalAlign === PopoverHorizontalAlign.Start && left + popoverSize.width >= targetRect.left + targetRect.width) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tlet arrowTranslateX = 0;\n\t\tif (isVertical && arrowXCentered) {\n\t\t\tarrowTranslateX = targetRect.left + targetRect.width / 2 - left - popoverSize.width / 2;\n\t\t}\n\n\t\tlet arrowTranslateY = 0;\n\t\tif (!isVertical) {\n\t\t\tarrowTranslateY = targetRect.top + targetRect.height / 2 - top - popoverSize.height / 2;\n\t\t}\n\n\t\t// Restricts the arrow's translate value along each dimension,\n\t\t// so that the arrow does not clip over the popover's rounded borders.\n\t\tconst safeRangeForArrowY = popoverSize.height / 2 - borderRadius - ARROW_SIZE / 2;\n\t\tarrowTranslateY = clamp(\n\t\t\tarrowTranslateY,\n\t\t\t-safeRangeForArrowY,\n\t\t\tsafeRangeForArrowY,\n\t\t);\n\n\t\tconst safeRangeForArrowX = popoverSize.width / 2 - borderRadius - ARROW_SIZE / 2;\n\t\tarrowTranslateX = clamp(\n\t\t\tarrowTranslateX,\n\t\t\t-safeRangeForArrowX,\n\t\t\tsafeRangeForArrowX,\n\t\t);\n\n\t\treturn {\n\t\t\tx: Math.round(arrowTranslateX),\n\t\t\ty: Math.round(arrowTranslateY),\n\t\t};\n\t}\n\n\t/**\n\t * Fallbacks to new placement, prioritizing `Left` and `Right` placements.\n\t * @private\n\t */\n\tfallbackPlacement(clientWidth: number, clientHeight: number, targetRect: DOMRect, popoverSize: PopoverSize): PopoverPlacement | undefined {\n\t\tif (targetRect.left > popoverSize.width) {\n\t\t\treturn PopoverPlacement.Start;\n\t\t}\n\n\t\tif (clientWidth - targetRect.right > targetRect.left) {\n\t\t\treturn PopoverPlacement.End;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom > popoverSize.height) {\n\t\t\treturn PopoverPlacement.Bottom;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\treturn PopoverPlacement.Top;\n\t\t}\n\t}\n\n\tgetActualPlacement(targetRect: DOMRect, popoverSize: PopoverSize): `${PopoverPlacement}` {\n\t\tconst placement = this.placement;\n\t\tlet actualPlacement = placement;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tswitch (placement) {\n\t\tcase PopoverPlacement.Top:\n\t\t\tif (targetRect.top < popoverSize.height\n\t\t\t\t&& targetRect.top < clientHeight - targetRect.bottom) {\n\t\t\t\tactualPlacement = PopoverPlacement.Bottom;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Bottom:\n\t\t\tif (clientHeight - targetRect.bottom < popoverSize.height\n\t\t\t\t&& clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\t\tactualPlacement = PopoverPlacement.Top;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Start:\n\t\t\tif (targetRect.left < popoverSize.width) {\n\t\t\t\tactualPlacement = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || placement;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacement.End:\n\t\t\tif (clientWidth - targetRect.right < popoverSize.width) {\n\t\t\t\tactualPlacement = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || placement;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\treturn actualPlacement;\n\t}\n\n\tgetVerticalLeft(targetRect: DOMRect, popoverSize: PopoverSize): number {\n\t\tconst horizontalAlign = this._actualHorizontalAlign;\n\t\tlet left = Popover.VIEWPORT_MARGIN;\n\n\t\tswitch (horizontalAlign) {\n\t\tcase PopoverHorizontalAlign.Center:\n\t\tcase PopoverHorizontalAlign.Stretch:\n\t\t\tleft = targetRect.left - (popoverSize.width - targetRect.width) / 2;\n\t\t\tbreak;\n\t\tcase PopoverHorizontalAlign.Start:\n\t\t\tleft = targetRect.left;\n\t\t\tbreak;\n\t\tcase PopoverHorizontalAlign.End:\n\t\t\tleft = targetRect.right - popoverSize.width;\n\t\t\tbreak;\n\t\t}\n\n\t\treturn left;\n\t}\n\n\tgetHorizontalTop(targetRect: DOMRect, popoverSize: PopoverSize): number {\n\t\tlet top = 0;\n\n\t\tswitch (this.verticalAlign) {\n\t\tcase PopoverVerticalAlign.Center:\n\t\tcase PopoverVerticalAlign.Stretch:\n\t\t\ttop = targetRect.top - (popoverSize.height - targetRect.height) / 2;\n\t\t\tbreak;\n\t\tcase PopoverVerticalAlign.Top:\n\t\t\ttop = targetRect.top;\n\t\t\tbreak;\n\t\tcase PopoverVerticalAlign.Bottom:\n\t\t\ttop = targetRect.bottom - popoverSize.height;\n\t\t\tbreak;\n\t\t}\n\n\t\treturn top;\n\t}\n\n\tget isModal() { // Required by Popup.js\n\t\treturn this.modal;\n\t}\n\n\tget _ariaLabelledBy() { // Required by Popup.js\n\t\tif (!this._ariaLabel && this._displayHeader) {\n\t\t\treturn \"ui5-popup-header\";\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\t...super.styles,\n\t\t\troot: {\n\t\t\t\t\"max-height\": this._maxHeight ? `${this._maxHeight}px` : \"\",\n\t\t\t\t\"max-width\": this._maxWidth ? `${this._maxWidth}px` : \"\",\n\t\t\t},\n\t\t\tarrow: {\n\t\t\t\ttransform: `translate(${this.arrowTranslateX}px, ${this.arrowTranslateY}px)`,\n\t\t\t},\n\t\t};\n\t}\n\n\tget classes() {\n\t\tconst allClasses = super.classes;\n\t\tallClasses.root[\"ui5-popover-root\"] = true;\n\n\t\treturn allClasses;\n\t}\n\n\t/**\n\t * Hook for descendants to hide header.\n\t */\n\tget _displayHeader() {\n\t\treturn !!(this.header.length || this.headerText);\n\t}\n\n\t/**\n\t * Hook for descendants to hide footer.\n\t */\n\tget _displayFooter() {\n\t\treturn true;\n\t}\n\n\tget _actualHorizontalAlign() {\n\t\tif (this.effectiveDir === \"rtl\") {\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Start) {\n\t\t\t\treturn PopoverHorizontalAlign.End;\n\t\t\t}\n\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.End) {\n\t\t\t\treturn PopoverHorizontalAlign.Start;\n\t\t\t}\n\t\t}\n\n\t\treturn this.horizontalAlign;\n\t}\n}\n\nconst instanceOfPopover = (object: any): object is Popover => {\n\treturn \"opener\" in object;\n};\n\nPopover.define();\n\nexport default Popover;\n\nexport { instanceOfPopover };\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@ui5/webcomponents-base/jsx-runtime";
|
|
2
|
+
import PopupTemplate from "./PopupTemplate.js";
|
|
3
|
+
import Title from "./Title.js";
|
|
4
|
+
export default function PopoverTemplate() {
|
|
5
|
+
return PopupTemplate.call(this, {
|
|
6
|
+
beforeContent,
|
|
7
|
+
afterContent,
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function beforeContent() {
|
|
11
|
+
return (_jsxs(_Fragment, { children: [_jsx("span", { class: "ui5-popover-arrow", style: this.styles.arrow }), this._displayHeader &&
|
|
12
|
+
_jsx("header", { class: "ui5-popup-header-root", id: "ui5-popup-header", part: "header", children: this.header.length ?
|
|
13
|
+
_jsx("slot", { name: "header" })
|
|
14
|
+
:
|
|
15
|
+
_jsx(Title, { level: "H1", class: "ui5-popup-header-text", children: this.headerText }) })] }));
|
|
16
|
+
}
|
|
17
|
+
function afterContent() {
|
|
18
|
+
return (_jsx(_Fragment, { children: this._displayFooter && !!this.footer.length &&
|
|
19
|
+
_jsx("footer", { class: "ui5-popup-footer-root", part: "footer", children: _jsx("slot", { name: "footer" }) }) }));
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=PopoverTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopoverTemplate.js","sourceRoot":"","sources":["../src/PopoverTemplate.tsx"],"names":[],"mappings":";AACA,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,MAAM,CAAC,OAAO,UAAU,eAAe;IACtC,OAAO,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE;QAC/B,aAAa;QACb,YAAY;KACZ,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,aAAa;IACrB,OAAO,CAAC,8BACP,eAAM,KAAK,EAAC,mBAAmB,EAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,GAAS,EAEhE,IAAI,CAAC,cAAc;gBACnB,iBAAQ,KAAK,EAAC,uBAAuB,EAAC,EAAE,EAAC,kBAAkB,EAAC,IAAI,EAAC,QAAQ,YACvE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;wBACpB,eAAM,IAAI,EAAC,QAAQ,GAAQ;wBAC3B,CAAC;4BACD,KAAC,KAAK,IAAC,KAAK,EAAC,IAAI,EAAC,KAAK,EAAC,uBAAuB,YAAE,IAAI,CAAC,UAAU,GAAS,GAElE,IAER,CAAC,CAAC;AACN,CAAC;AAED,SAAS,YAAY;IACpB,OAAO,CAAC,4BACN,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM;YAC3C,iBAAQ,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,QAAQ,YAClD,eAAM,IAAI,EAAC,QAAQ,GAAQ,GACnB,GAER,CAAC,CAAC;AACN,CAAC","sourcesContent":["import type Popover from \"./Popover.js\";\nimport PopupTemplate from \"./PopupTemplate.js\";\nimport Title from \"./Title.js\";\n\nexport default function PopoverTemplate(this: Popover) {\n\treturn PopupTemplate.call(this, {\n\t\tbeforeContent,\n\t\tafterContent,\n\t});\n}\n\nfunction beforeContent(this: Popover) {\n\treturn (<>\n\t\t<span class=\"ui5-popover-arrow\" style={this.styles.arrow}></span>\n\n\t\t{this._displayHeader &&\n\t\t\t<header class=\"ui5-popup-header-root\" id=\"ui5-popup-header\" part=\"header\">\n\t\t\t\t{this.header.length ?\n\t\t\t\t\t<slot name=\"header\"></slot>\n\t\t\t\t\t:\n\t\t\t\t\t<Title level=\"H1\" class=\"ui5-popup-header-text\">{this.headerText}</Title>\n\t\t\t\t}\n\t\t\t</header>\n\t\t}\n\t</>);\n}\n\nfunction afterContent(this: Popover) {\n\treturn (<>\n\t\t{this._displayFooter && !!this.footer.length &&\n\t\t\t<footer class=\"ui5-popup-footer-root\" part=\"footer\">\n\t\t\t\t<slot name=\"footer\"></slot>\n\t\t\t</footer>\n\t\t}\n\t</>);\n}\n"]}
|
package/dist/Popup.d.ts
CHANGED
|
@@ -37,10 +37,10 @@ type PopupBeforeCloseEventDetail = {
|
|
|
37
37
|
declare abstract class Popup extends UI5Element {
|
|
38
38
|
eventDetails: {
|
|
39
39
|
"before-open": void;
|
|
40
|
-
open: void;
|
|
40
|
+
"open": void;
|
|
41
41
|
"before-close": PopupBeforeCloseEventDetail;
|
|
42
|
-
close: void;
|
|
43
|
-
scroll: PopupScrollEventDetail;
|
|
42
|
+
"close": void;
|
|
43
|
+
"scroll": PopupScrollEventDetail;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
46
|
* Defines the ID of the HTML Element, which will get the initial focus.
|
|
@@ -222,8 +222,8 @@ declare abstract class Popup extends UI5Element {
|
|
|
222
222
|
*/
|
|
223
223
|
get _ariaLabel(): string | undefined;
|
|
224
224
|
get _root(): HTMLElement;
|
|
225
|
-
get _role():
|
|
226
|
-
get _ariaModal():
|
|
225
|
+
get _role(): "dialog" | "alertdialog" | undefined;
|
|
226
|
+
get _ariaModal(): "true" | undefined;
|
|
227
227
|
get contentDOM(): HTMLElement;
|
|
228
228
|
get styles(): {
|
|
229
229
|
root: {};
|
|
@@ -232,4 +232,4 @@ declare abstract class Popup extends UI5Element {
|
|
|
232
232
|
get classes(): ClassMap;
|
|
233
233
|
}
|
|
234
234
|
export default Popup;
|
|
235
|
-
export type { PopupScrollEventDetail, PopupBeforeCloseEventDetail
|
|
235
|
+
export type { PopupScrollEventDetail, PopupBeforeCloseEventDetail };
|
package/dist/Popup.js
CHANGED
|
@@ -10,7 +10,7 @@ import { renderFinished } from "@ui5/webcomponents-base/dist/Render.js";
|
|
|
10
10
|
import event from "@ui5/webcomponents-base/dist/decorators/event-strict.js";
|
|
11
11
|
import slot from "@ui5/webcomponents-base/dist/decorators/slot.js";
|
|
12
12
|
import property from "@ui5/webcomponents-base/dist/decorators/property.js";
|
|
13
|
-
import
|
|
13
|
+
import jsxRender from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js";
|
|
14
14
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
15
15
|
import { isChrome, isDesktop, isPhone, } from "@ui5/webcomponents-base/dist/Device.js";
|
|
16
16
|
import { getFirstFocusableElement, getLastFocusableElement } from "@ui5/webcomponents-base/dist/util/FocusableElements.js";
|
|
@@ -20,8 +20,9 @@ import { isEnter, isTabPrevious } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
|
20
20
|
import { getFocusedElement, isFocusedElementWithinNode } from "@ui5/webcomponents-base/dist/util/PopupUtils.js";
|
|
21
21
|
import ResizeHandler from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js";
|
|
22
22
|
import MediaRange from "@ui5/webcomponents-base/dist/MediaRange.js";
|
|
23
|
+
import toLowercaseEnumValue from "@ui5/webcomponents-base/dist/util/toLowercaseEnumValue.js";
|
|
23
24
|
import Title from "./Title.js";
|
|
24
|
-
import PopupTemplate from "./
|
|
25
|
+
import PopupTemplate from "./PopupTemplate.js";
|
|
25
26
|
import PopupAccessibleRole from "./types/PopupAccessibleRole.js";
|
|
26
27
|
import { addOpenedPopup, removeOpenedPopup } from "./popup-utils/OpenedPopupsRegistry.js";
|
|
27
28
|
// Styles
|
|
@@ -400,7 +401,7 @@ let Popup = Popup_1 = class Popup extends UI5Element {
|
|
|
400
401
|
return this.shadowRoot.querySelector(".ui5-popup-root");
|
|
401
402
|
}
|
|
402
403
|
get _role() {
|
|
403
|
-
return (this.accessibleRole === PopupAccessibleRole.None) ? undefined : this.accessibleRole
|
|
404
|
+
return (this.accessibleRole === PopupAccessibleRole.None) ? undefined : toLowercaseEnumValue(this.accessibleRole);
|
|
404
405
|
}
|
|
405
406
|
get _ariaModal() {
|
|
406
407
|
return this.accessibleRole === PopupAccessibleRole.None ? undefined : "true";
|
|
@@ -463,7 +464,7 @@ __decorate([
|
|
|
463
464
|
], Popup.prototype, "open", null);
|
|
464
465
|
Popup = Popup_1 = __decorate([
|
|
465
466
|
customElement({
|
|
466
|
-
renderer:
|
|
467
|
+
renderer: jsxRender,
|
|
467
468
|
styles: [popupStlyes, popupBlockLayerStyles],
|
|
468
469
|
template: PopupTemplate,
|
|
469
470
|
dependencies: [
|
package/dist/Popup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popup.js","sourceRoot":"","sources":["../src/Popup.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M,CAAC;IAEd;;;;OAIG;;IACF,KAAK,CAAC,cAAc,EAAE;QACtB,UAAU,EAAE,IAAI;KAChB,CAAC;IAEF;;;OAGG;;IACF,KAAK,CAAC,OAAO,CAAC;IAEf;;;OAGG;;IACF,KAAK,CAAC,QAAQ,EAAE;QAChB,OAAO,EAAE,IAAI;KACb,CAAC;GACa,KAAK,CAmgBnB;AAED,eAAe,KAAK,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport { renderFinished } from \"@ui5/webcomponents-base/dist/Render.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport type { ClassMap } from \"@ui5/webcomponents-base/dist/types.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport {\n\tisChrome,\n\tisDesktop,\n\tisPhone,\n} from \"@ui5/webcomponents-base/dist/Device.js\";\nimport { getFirstFocusableElement, getLastFocusableElement } from \"@ui5/webcomponents-base/dist/util/FocusableElements.js\";\nimport { getEffectiveAriaLabelText } from \"@ui5/webcomponents-base/dist/util/AccessibilityTextsHelper.js\";\nimport { hasStyle, createStyle } from \"@ui5/webcomponents-base/dist/ManagedStyles.js\";\nimport { isEnter, isTabPrevious } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport { getFocusedElement, isFocusedElementWithinNode } from \"@ui5/webcomponents-base/dist/util/PopupUtils.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport MediaRange from \"@ui5/webcomponents-base/dist/MediaRange.js\";\nimport Title from \"./Title.js\";\nimport PopupTemplate from \"./generated/templates/PopupTemplate.lit.js\";\nimport PopupAccessibleRole from \"./types/PopupAccessibleRole.js\";\nimport { addOpenedPopup, removeOpenedPopup } from \"./popup-utils/OpenedPopupsRegistry.js\";\n\n// Styles\nimport popupStlyes from \"./generated/themes/Popup.css.js\";\nimport popupBlockLayerStyles from \"./generated/themes/PopupBlockLayer.css.js\";\nimport globalStyles from \"./generated/themes/PopupGlobal.css.js\";\n\nconst createBlockingStyle = (): void => {\n\tif (!hasStyle(\"data-ui5-popup-scroll-blocker\")) {\n\t\tcreateStyle(globalStyles, \"data-ui5-popup-scroll-blocker\");\n\t}\n};\n\ncreateBlockingStyle();\n\nconst pageScrollingBlockers = new Set<Popup>();\n\ntype PopupScrollEventDetail = {\n\tscrollTop: number;\n\ttargetRef: HTMLElement;\n}\n\ntype PopupBeforeCloseEventDetail = {\n\tescPressed: boolean;\n}\n\n/**\n * @class\n * ### Overview\n * Base class for all popup Web Components.\n *\n * If you need to create your own popup-like custom UI5 Web Components.\n *\n * 1. The Popup class handles modality:\n * - The \"isModal\" getter can be overridden by derivatives to provide their own conditions when they are modal or not\n * - Derivatives may call the \"blockPageScrolling\" and \"unblockPageScrolling\" static methods to temporarily remove scrollbars on the html element\n * - Derivatives may call the \"openPopup\" and \"closePopup\" methods which handle focus, manage the popup registry and for modal popups, manage the blocking layer\n *\n * 2. Provides blocking layer (relevant for modal popups only):\n * - Controlled by the \"open\" and \"close\" methods\n *\n * 3. The Popup class \"traps\" focus:\n * - Derivatives may call the \"applyInitialFocus\" method (usually when opening, to transfer focus inside the popup)\n *\n * 4. The template of this component exposes two inline partials you can override in derivatives:\n * - beforeContent (upper part of the box, useful for header/title/close button)\n * - afterContent (lower part, useful for footer/action buttons)\n * @constructor\n * @extends UI5Element\n * @public\n */\n@customElement({\n\trenderer: litRender,\n\tstyles: [popupStlyes, popupBlockLayerStyles],\n\ttemplate: PopupTemplate,\n\tdependencies: [\n\t\tTitle,\n\t],\n})\n/**\n * Fired before the component is opened. This event can be cancelled, which will prevent the popup from opening.\n * @public\n */\n@event(\"before-open\", {\n\tcancelable: true,\n})\n\n/**\n * Fired after the component is opened.\n * @public\n */\n@event(\"open\")\n\n/**\n * Fired before the component is closed. This event can be cancelled, which will prevent the popup from closing.\n * @public\n * @param {boolean} escPressed Indicates that `ESC` key has triggered the event.\n */\n@event(\"before-close\", {\n\tcancelable: true,\n})\n\n/**\n * Fired after the component is closed.\n * @public\n */\n@event(\"close\")\n\n/**\n * Fired whenever the popup content area is scrolled\n * @private\n */\n@event(\"scroll\", {\n\tbubbles: true,\n})\nabstract class Popup extends UI5Element {\n\teventDetails!: {\n\t\t\"before-open\": void,\n\t\topen: void,\n\t\t\"before-close\": PopupBeforeCloseEventDetail,\n\t\tclose: void,\n\t\tscroll: PopupScrollEventDetail,\n\t}\n\t/**\n\t * Defines the ID of the HTML Element, which will get the initial focus.\n\t *\n\t * **Note:** If an element with `autofocus` attribute is added inside the component,\n\t * `initialFocus` won't take effect.\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\tinitialFocus?: string;\n\n\t/**\n\t * Defines if the focus should be returned to the previously focused element,\n\t * when the popup closes.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.8\n\t*/\n\t@property({ type: Boolean })\n\tpreventFocusRestore = false;\n\n\t/**\n\t * Defines the accessible name of the component.\n\t * @default undefined\n\t * @public\n\t * @since 1.0.0-rc.15\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 * @default undefined\n\t * @public\n\t * @since 1.1.0\n\t */\n\t@property()\n\taccessibleNameRef?: string;\n\n\t/**\n\t * Allows setting a custom role.\n\t * @default \"Dialog\"\n\t * @public\n\t * @since 1.10.0\n\t */\n\t@property()\n\taccessibleRole: `${PopupAccessibleRole}` = \"Dialog\";\n\n\t/**\n\t * Defines the current media query size.\n\t * @private\n\t */\n\t@property()\n\tmediaRange?: string;\n\n\t/**\n\t * Indicates whether initial focus should be prevented.\n\t * @public\n\t * @default false\n\t * @since 2.0.0\n\t */\n\t@property({ type: Boolean })\n\tpreventInitialFocus = false;\n\n\t/**\n\t * Indicates if the element is the top modal popup\n\t *\n\t * This property is calculated automatically\n\t * @private\n\t * @default false\n\t */\n\t@property({ type: Boolean, noAttribute: true })\n\tisTopModalPopup = false;\n\n\t/**\n\t * Defines the content of the Popup.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tonPhone = false;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tonDesktop = false;\n\n\t_resizeHandler: ResizeObserverCallback;\n\t_shouldFocusRoot?: boolean;\n\t_focusedElementBeforeOpen?: HTMLElement | null;\n\t_opened = false;\n\t_open = false;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._resizeHandler = this._resize.bind(this);\n\n\t\tthis._getRealDomRef = () => {\n\t\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\"[root-element]\")!;\n\t\t};\n\t}\n\n\tonBeforeRendering() {\n\t\tthis.onPhone = isPhone();\n\t\tthis.onDesktop = isDesktop();\n\t}\n\n\tonAfterRendering() {\n\t\trenderFinished().then(() => {\n\t\t\tthis._updateMediaRange();\n\t\t});\n\t}\n\n\tonEnterDOM() {\n\t\tthis.setAttribute(\"popover\", \"manual\");\n\t\tResizeHandler.register(this, this._resizeHandler);\n\t\tif (isDesktop()) {\n\t\t\tthis.setAttribute(\"desktop\", \"\");\n\t\t}\n\n\t\tthis.tabIndex = -1;\n\n\t\tif (this.open) {\n\t\t\tthis.showPopover();\n\t\t}\n\t}\n\n\tonExitDOM() {\n\t\tif (this._opened) {\n\t\t\tPopup.unblockPageScrolling(this);\n\t\t\tthis._removeOpenedPopup();\n\t\t}\n\n\t\tResizeHandler.deregister(this, this._resizeHandler);\n\t}\n\n\t/**\n\t * Indicates if the element is open\n\t * @public\n\t * @default false\n\t * @since 1.2.0\n\t */\n\t@property({ type: Boolean })\n\tset open(value: boolean) {\n\t\tif (this._open === value) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._open = value;\n\n\t\tif (value) {\n\t\t\tthis.openPopup();\n\t\t} else {\n\t\t\tthis.closePopup();\n\t\t}\n\t}\n\n\tget open() : boolean {\n\t\treturn this._open;\n\t}\n\n\tasync openPopup() {\n\t\tif (this._opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst prevented = !this.fireDecoratorEvent(\"before-open\");\n\n\t\tif (prevented || this._opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._opened = true;\n\n\t\tif (this.isModal) {\n\t\t\tPopup.blockPageScrolling(this);\n\t\t}\n\n\t\tthis._focusedElementBeforeOpen = getFocusedElement();\n\n\t\tthis._show();\n\n\t\tif (this.getDomRef()) {\n\t\t\tthis._updateMediaRange();\n\t\t}\n\n\t\tthis._addOpenedPopup();\n\n\t\tthis.open = true;\n\n\t\t// initial focus, if focused element is statically created\n\t\tawait this.applyInitialFocus();\n\n\t\tawait renderFinished();\n\n\t\t// initial focus, if focused element is dynamically created\n\t\tawait this.applyInitialFocus();\n\n\t\tif (this.isConnected) {\n\t\t\tthis.fireDecoratorEvent(\"open\");\n\t\t}\n\t}\n\n\t_resize() {\n\t\tthis._updateMediaRange();\n\t}\n\n\t/**\n\t * Prevents the user from interacting with the content under the block layer\n\t */\n\t_preventBlockLayerFocus(e: KeyboardEvent | MouseEvent) {\n\t\te.preventDefault();\n\t}\n\n\t/**\n\t * Temporarily removes scrollbars from the html element\n\t * @protected\n\t */\n\tstatic blockPageScrolling(popup: Popup) {\n\t\tpageScrollingBlockers.add(popup);\n\n\t\tif (pageScrollingBlockers.size !== 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tdocument.documentElement.classList.add(\"ui5-popup-scroll-blocker\");\n\t}\n\n\t/**\n\t * Restores scrollbars on the html element, if needed\n\t * @protected\n\t */\n\tstatic unblockPageScrolling(popup: Popup) {\n\t\tpageScrollingBlockers.delete(popup);\n\n\t\tif (pageScrollingBlockers.size !== 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tdocument.documentElement.classList.remove(\"ui5-popup-scroll-blocker\");\n\t}\n\n\t_scroll(e: Event) {\n\t\tthis.fireDecoratorEvent(\"scroll\", {\n\t\t\tscrollTop: (e.target as HTMLElement).scrollTop,\n\t\t\ttargetRef: e.target as HTMLElement,\n\t\t});\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tconst isTabOutAttempt = e.target === this._root && isTabPrevious(e);\n\t\t// if the popup is closed, focus is already moved, so Enter keydown may result in click on the newly focused element\n\t\tconst isEnterOnClosedPopupChild = isEnter(e) && !this.open;\n\n\t\tif (isTabOutAttempt || isEnterOnClosedPopupChild) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_onfocusout(e: FocusEvent) {\n\t\t// relatedTarget is the element, which will get focus. If no such element exists, focus the root.\n\t\t// This happens after the mouse is released in order to not interrupt text selection.\n\t\tif (!e.relatedTarget) {\n\t\t\tthis._shouldFocusRoot = true;\n\t\t}\n\t}\n\n\t_onmousedown(e: MouseEvent) {\n\t\tif (this.shadowRoot!.contains(e.target as HTMLElement)) {\n\t\t\tthis._shouldFocusRoot = true;\n\t\t} else {\n\t\t\tthis._shouldFocusRoot = false;\n\t\t}\n\t}\n\n\t_onmouseup() {\n\t\tif (this._shouldFocusRoot) {\n\t\t\tif (isChrome()) {\n\t\t\t\tthis._root.focus();\n\t\t\t}\n\t\t\tthis._shouldFocusRoot = false;\n\t\t}\n\t}\n\n\t/**\n\t * Focus trapping\n\t * @private\n\t */\n\tasync forwardToFirst() {\n\t\tconst firstFocusable = await getFirstFocusableElement(this);\n\n\t\tif (firstFocusable) {\n\t\t\tfirstFocusable.focus();\n\t\t} else {\n\t\t\tthis._root.focus();\n\t\t}\n\t}\n\n\t/**\n\t * Focus trapping\n\t * @private\n\t */\n\tasync forwardToLast() {\n\t\tconst lastFocusable = await getLastFocusableElement(this);\n\n\t\tif (lastFocusable) {\n\t\t\tlastFocusable.focus();\n\t\t} else {\n\t\t\tthis._root.focus();\n\t\t}\n\t}\n\n\t/**\n\t * Use this method to focus the element denoted by \"initialFocus\", if provided,\n\t * or the first focusable element otherwise.\n\t * @protected\n\t */\n\tasync applyInitialFocus() {\n\t\tif (!this.preventInitialFocus) {\n\t\t\tawait this.applyFocus();\n\t\t}\n\t}\n\n\t/**\n\t * Focuses the element denoted by `initialFocus`, if provided,\n\t * or the first focusable element otherwise.\n\t * @public\n\t * @returns Promise that resolves when the focus is applied\n\t */\n\tasync applyFocus(): Promise<void> {\n\t\t// do nothing if the standard HTML autofocus is used\n\t\tif (this.querySelector(\"[autofocus]\")) {\n\t\t\treturn;\n\t\t}\n\n\t\tawait this._waitForDomRef();\n\n\t\tif (this.getRootNode() === this) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet element;\n\n\t\tif (this.initialFocus) {\n\t\t\telement = (this.getRootNode() as Document).getElementById(this.initialFocus)\n\t\t\t|| document.getElementById(this.initialFocus);\n\t\t}\n\n\t\telement = element || await getFirstFocusableElement(this) || this._root; // in case of no focusable content focus the root\n\n\t\tif (element) {\n\t\t\tif (element === this._root) {\n\t\t\t\telement.tabIndex = -1;\n\t\t\t}\n\t\t\telement.focus();\n\t\t}\n\t}\n\n\tisFocusWithin() {\n\t\treturn isFocusedElementWithinNode(this._root);\n\t}\n\n\t_updateMediaRange() {\n\t\tthis.mediaRange = MediaRange.getCurrentRange(MediaRange.RANGESETS.RANGE_4STEPS, this.getDomRef()!.offsetWidth);\n\t}\n\n\t/**\n\t * Adds the popup to the \"opened popups registry\"\n\t * @protected\n\t */\n\t_addOpenedPopup() {\n\t\taddOpenedPopup(this);\n\t}\n\n\t/**\n\t * Closes the popup.\n\t */\n\tclosePopup(escPressed = false, preventRegistryUpdate = false, preventFocusRestore = false): void {\n\t\tif (!this._opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst prevented = !this.fireDecoratorEvent(\"before-close\", { escPressed });\n\t\tif (prevented) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._opened = false;\n\n\t\tif (this.isModal) {\n\t\t\tPopup.unblockPageScrolling(this);\n\t\t}\n\n\t\tthis.hide();\n\t\tthis.open = false;\n\n\t\tif (!preventRegistryUpdate) {\n\t\t\tthis._removeOpenedPopup();\n\t\t}\n\n\t\tif (!this.preventFocusRestore && !preventFocusRestore) {\n\t\t\tthis.resetFocus();\n\t\t}\n\n\t\tthis.fireDecoratorEvent(\"close\");\n\t}\n\n\t/**\n\t * Removes the popup from the \"opened popups registry\"\n\t * @protected\n\t */\n\t_removeOpenedPopup() {\n\t\tremoveOpenedPopup(this);\n\t}\n\n\t/**\n\t * Returns the focus to the previously focused element\n\t * @protected\n\t */\n\tresetFocus() {\n\t\tif (!this._focusedElementBeforeOpen) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focusedElementBeforeOpen.focus();\n\t\tthis._focusedElementBeforeOpen = null;\n\t}\n\n\t/**\n\t * Sets \"block\" display to the popup. The property can be overriden by derivatives of Popup.\n\t * @protected\n\t */\n\t_show() {\n\t\tif (this.isConnected) {\n\t\t\tthis.setAttribute(\"popover\", \"manual\");\n\t\t\tthis.showPopover();\n\t\t}\n\t}\n\n\t/**\n\t * Sets \"none\" display to the popup\n\t * @protected\n\t */\n\thide() {\n\t\tthis.isConnected && this.hidePopover();\n\t}\n\n\t/**\n\t * Implement this getter with relevant logic regarding the modality of the popup (e.g. based on a public property)\n\t * @protected\n\t */\n\tabstract get isModal(): boolean\n\n\t/**\n\t * Return the ID of an element in the shadow DOM that is going to label this popup\n\t * @protected\n\t */\n\tabstract get _ariaLabelledBy(): string | undefined\n\n\t/**\n\t * Ensures ariaLabel is never null or empty string\n\t * @protected\n\t */\n\tget _ariaLabel() {\n\t\treturn getEffectiveAriaLabelText(this);\n\t}\n\n\tget _root(): HTMLElement {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popup-root\")!;\n\t}\n\n\tget _role(): string | undefined {\n\t\treturn (this.accessibleRole === PopupAccessibleRole.None) ? undefined : this.accessibleRole.toLowerCase();\n\t}\n\n\tget _ariaModal(): string | undefined {\n\t\treturn this.accessibleRole === PopupAccessibleRole.None ? undefined : \"true\";\n\t}\n\n\tget contentDOM(): HTMLElement {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popup-content\")!;\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\troot: {},\n\t\t\tcontent: {},\n\t\t};\n\t}\n\n\tget classes(): ClassMap {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-popup-root\": true,\n\t\t\t},\n\t\t\tcontent: {\n\t\t\t\t\"ui5-popup-content\": true,\n\t\t\t},\n\t\t};\n\t}\n}\n\nexport default Popup;\n\nexport type {\n\tPopupScrollEventDetail,\n\tPopupBeforeCloseEventDetail,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"Popup.js","sourceRoot":"","sources":["../src/Popup.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,KAAK,MAAM,yDAAyD,CAAC;AAC5E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAE3E,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,EACN,QAAQ,EACR,SAAS,EACT,OAAO,GACP,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAC3H,OAAO,EAAE,yBAAyB,EAAE,MAAM,+DAA+D,CAAC;AAC1G,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,iD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B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;sCAChB;AAM7B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sCACZ;AAMhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;wCACV;AA2DlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;iCAa3B;AA3Ka,KAAK;IA5CnB,aAAa,CAAC;QACd,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,CAAC,WAAW,EAAE,qBAAqB,CAAC;QAC5C,QAAQ,EAAE,aAAa;QACvB,YAAY,EAAE;YACb,KAAK;SACL;KACD,CAAC;IACF;;;OAGG;;IACF,KAAK,CAAC,aAAa,EAAE;QACrB,UAAU,EAAE,IAAI;KAChB,CAAC;IAEF;;;OAGG;;IACF,KAAK,CAAC,MAAM,CAAC;IAEd;;;;OAIG;;IACF,KAAK,CAAC,cAAc,EAAE;QACtB,UAAU,EAAE,IAAI;KAChB,CAAC;IAEF;;;OAGG;;IACF,KAAK,CAAC,OAAO,CAAC;IAEf;;;OAGG;;IACF,KAAK,CAAC,QAAQ,EAAE;QAChB,OAAO,EAAE,IAAI;KACb,CAAC;GACa,KAAK,CAogBnB;AAED,eAAe,KAAK,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport { renderFinished } from \"@ui5/webcomponents-base/dist/Render.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport type { ClassMap } from \"@ui5/webcomponents-base/dist/types.js\";\nimport jsxRender from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport {\n\tisChrome,\n\tisDesktop,\n\tisPhone,\n} from \"@ui5/webcomponents-base/dist/Device.js\";\nimport { getFirstFocusableElement, getLastFocusableElement } from \"@ui5/webcomponents-base/dist/util/FocusableElements.js\";\nimport { getEffectiveAriaLabelText } from \"@ui5/webcomponents-base/dist/util/AccessibilityTextsHelper.js\";\nimport { hasStyle, createStyle } from \"@ui5/webcomponents-base/dist/ManagedStyles.js\";\nimport { isEnter, isTabPrevious } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport { getFocusedElement, isFocusedElementWithinNode } from \"@ui5/webcomponents-base/dist/util/PopupUtils.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport MediaRange from \"@ui5/webcomponents-base/dist/MediaRange.js\";\nimport toLowercaseEnumValue from \"@ui5/webcomponents-base/dist/util/toLowercaseEnumValue.js\";\nimport Title from \"./Title.js\";\nimport PopupTemplate from \"./PopupTemplate.js\";\nimport PopupAccessibleRole from \"./types/PopupAccessibleRole.js\";\nimport { addOpenedPopup, removeOpenedPopup } from \"./popup-utils/OpenedPopupsRegistry.js\";\n\n// Styles\nimport popupStlyes from \"./generated/themes/Popup.css.js\";\nimport popupBlockLayerStyles from \"./generated/themes/PopupBlockLayer.css.js\";\nimport globalStyles from \"./generated/themes/PopupGlobal.css.js\";\n\nconst createBlockingStyle = (): void => {\n\tif (!hasStyle(\"data-ui5-popup-scroll-blocker\")) {\n\t\tcreateStyle(globalStyles, \"data-ui5-popup-scroll-blocker\");\n\t}\n};\n\ncreateBlockingStyle();\n\nconst pageScrollingBlockers = new Set<Popup>();\n\ntype PopupScrollEventDetail = {\n\tscrollTop: number;\n\ttargetRef: HTMLElement;\n}\n\ntype PopupBeforeCloseEventDetail = {\n\tescPressed: boolean;\n}\n\n/**\n * @class\n * ### Overview\n * Base class for all popup Web Components.\n *\n * If you need to create your own popup-like custom UI5 Web Components.\n *\n * 1. The Popup class handles modality:\n * - The \"isModal\" getter can be overridden by derivatives to provide their own conditions when they are modal or not\n * - Derivatives may call the \"blockPageScrolling\" and \"unblockPageScrolling\" static methods to temporarily remove scrollbars on the html element\n * - Derivatives may call the \"openPopup\" and \"closePopup\" methods which handle focus, manage the popup registry and for modal popups, manage the blocking layer\n *\n * 2. Provides blocking layer (relevant for modal popups only):\n * - Controlled by the \"open\" and \"close\" methods\n *\n * 3. The Popup class \"traps\" focus:\n * - Derivatives may call the \"applyInitialFocus\" method (usually when opening, to transfer focus inside the popup)\n *\n * 4. The template of this component exposes two inline partials you can override in derivatives:\n * - beforeContent (upper part of the box, useful for header/title/close button)\n * - afterContent (lower part, useful for footer/action buttons)\n * @constructor\n * @extends UI5Element\n * @public\n */\n@customElement({\n\trenderer: jsxRender,\n\tstyles: [popupStlyes, popupBlockLayerStyles],\n\ttemplate: PopupTemplate,\n\tdependencies: [\n\t\tTitle,\n\t],\n})\n/**\n * Fired before the component is opened. This event can be cancelled, which will prevent the popup from opening.\n * @public\n */\n@event(\"before-open\", {\n\tcancelable: true,\n})\n\n/**\n * Fired after the component is opened.\n * @public\n */\n@event(\"open\")\n\n/**\n * Fired before the component is closed. This event can be cancelled, which will prevent the popup from closing.\n * @public\n * @param {boolean} escPressed Indicates that `ESC` key has triggered the event.\n */\n@event(\"before-close\", {\n\tcancelable: true,\n})\n\n/**\n * Fired after the component is closed.\n * @public\n */\n@event(\"close\")\n\n/**\n * Fired whenever the popup content area is scrolled\n * @private\n */\n@event(\"scroll\", {\n\tbubbles: true,\n})\nabstract class Popup extends UI5Element {\n\teventDetails!: {\n\t\t\"before-open\": void\n\t\t\"open\": void\n\t\t\"before-close\": PopupBeforeCloseEventDetail\n\t\t\"close\": void\n\t\t\"scroll\": PopupScrollEventDetail\n\t}\n\n\t/**\n\t * Defines the ID of the HTML Element, which will get the initial focus.\n\t *\n\t * **Note:** If an element with `autofocus` attribute is added inside the component,\n\t * `initialFocus` won't take effect.\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\tinitialFocus?: string;\n\n\t/**\n\t * Defines if the focus should be returned to the previously focused element,\n\t * when the popup closes.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.8\n\t*/\n\t@property({ type: Boolean })\n\tpreventFocusRestore = false;\n\n\t/**\n\t * Defines the accessible name of the component.\n\t * @default undefined\n\t * @public\n\t * @since 1.0.0-rc.15\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 * @default undefined\n\t * @public\n\t * @since 1.1.0\n\t */\n\t@property()\n\taccessibleNameRef?: string;\n\n\t/**\n\t * Allows setting a custom role.\n\t * @default \"Dialog\"\n\t * @public\n\t * @since 1.10.0\n\t */\n\t@property()\n\taccessibleRole: `${PopupAccessibleRole}` = \"Dialog\";\n\n\t/**\n\t * Defines the current media query size.\n\t * @private\n\t */\n\t@property()\n\tmediaRange?: string;\n\n\t/**\n\t * Indicates whether initial focus should be prevented.\n\t * @public\n\t * @default false\n\t * @since 2.0.0\n\t */\n\t@property({ type: Boolean })\n\tpreventInitialFocus = false;\n\n\t/**\n\t * Indicates if the element is the top modal popup\n\t *\n\t * This property is calculated automatically\n\t * @private\n\t * @default false\n\t */\n\t@property({ type: Boolean, noAttribute: true })\n\tisTopModalPopup = false;\n\n\t/**\n\t * Defines the content of the Popup.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tonPhone = false;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tonDesktop = false;\n\n\t_resizeHandler: ResizeObserverCallback;\n\t_shouldFocusRoot?: boolean;\n\t_focusedElementBeforeOpen?: HTMLElement | null;\n\t_opened = false;\n\t_open = false;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._resizeHandler = this._resize.bind(this);\n\n\t\tthis._getRealDomRef = () => {\n\t\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\"[root-element]\")!;\n\t\t};\n\t}\n\n\tonBeforeRendering() {\n\t\tthis.onPhone = isPhone();\n\t\tthis.onDesktop = isDesktop();\n\t}\n\n\tonAfterRendering() {\n\t\trenderFinished().then(() => {\n\t\t\tthis._updateMediaRange();\n\t\t});\n\t}\n\n\tonEnterDOM() {\n\t\tthis.setAttribute(\"popover\", \"manual\");\n\t\tResizeHandler.register(this, this._resizeHandler);\n\t\tif (isDesktop()) {\n\t\t\tthis.setAttribute(\"desktop\", \"\");\n\t\t}\n\n\t\tthis.tabIndex = -1;\n\n\t\tif (this.open) {\n\t\t\tthis.showPopover();\n\t\t}\n\t}\n\n\tonExitDOM() {\n\t\tif (this._opened) {\n\t\t\tPopup.unblockPageScrolling(this);\n\t\t\tthis._removeOpenedPopup();\n\t\t}\n\n\t\tResizeHandler.deregister(this, this._resizeHandler);\n\t}\n\n\t/**\n\t * Indicates if the element is open\n\t * @public\n\t * @default false\n\t * @since 1.2.0\n\t */\n\t@property({ type: Boolean })\n\tset open(value: boolean) {\n\t\tif (this._open === value) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._open = value;\n\n\t\tif (value) {\n\t\t\tthis.openPopup();\n\t\t} else {\n\t\t\tthis.closePopup();\n\t\t}\n\t}\n\n\tget open() : boolean {\n\t\treturn this._open;\n\t}\n\n\tasync openPopup() {\n\t\tif (this._opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst prevented = !this.fireDecoratorEvent(\"before-open\");\n\n\t\tif (prevented || this._opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._opened = true;\n\n\t\tif (this.isModal) {\n\t\t\tPopup.blockPageScrolling(this);\n\t\t}\n\n\t\tthis._focusedElementBeforeOpen = getFocusedElement();\n\n\t\tthis._show();\n\n\t\tif (this.getDomRef()) {\n\t\t\tthis._updateMediaRange();\n\t\t}\n\n\t\tthis._addOpenedPopup();\n\n\t\tthis.open = true;\n\n\t\t// initial focus, if focused element is statically created\n\t\tawait this.applyInitialFocus();\n\n\t\tawait renderFinished();\n\n\t\t// initial focus, if focused element is dynamically created\n\t\tawait this.applyInitialFocus();\n\n\t\tif (this.isConnected) {\n\t\t\tthis.fireDecoratorEvent(\"open\");\n\t\t}\n\t}\n\n\t_resize() {\n\t\tthis._updateMediaRange();\n\t}\n\n\t/**\n\t * Prevents the user from interacting with the content under the block layer\n\t */\n\t_preventBlockLayerFocus(e: KeyboardEvent | MouseEvent) {\n\t\te.preventDefault();\n\t}\n\n\t/**\n\t * Temporarily removes scrollbars from the html element\n\t * @protected\n\t */\n\tstatic blockPageScrolling(popup: Popup) {\n\t\tpageScrollingBlockers.add(popup);\n\n\t\tif (pageScrollingBlockers.size !== 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tdocument.documentElement.classList.add(\"ui5-popup-scroll-blocker\");\n\t}\n\n\t/**\n\t * Restores scrollbars on the html element, if needed\n\t * @protected\n\t */\n\tstatic unblockPageScrolling(popup: Popup) {\n\t\tpageScrollingBlockers.delete(popup);\n\n\t\tif (pageScrollingBlockers.size !== 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tdocument.documentElement.classList.remove(\"ui5-popup-scroll-blocker\");\n\t}\n\n\t_scroll(e: Event) {\n\t\tthis.fireDecoratorEvent(\"scroll\", {\n\t\t\tscrollTop: (e.target as HTMLElement).scrollTop,\n\t\t\ttargetRef: e.target as HTMLElement,\n\t\t});\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tconst isTabOutAttempt = e.target === this._root && isTabPrevious(e);\n\t\t// if the popup is closed, focus is already moved, so Enter keydown may result in click on the newly focused element\n\t\tconst isEnterOnClosedPopupChild = isEnter(e) && !this.open;\n\n\t\tif (isTabOutAttempt || isEnterOnClosedPopupChild) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_onfocusout(e: FocusEvent) {\n\t\t// relatedTarget is the element, which will get focus. If no such element exists, focus the root.\n\t\t// This happens after the mouse is released in order to not interrupt text selection.\n\t\tif (!e.relatedTarget) {\n\t\t\tthis._shouldFocusRoot = true;\n\t\t}\n\t}\n\n\t_onmousedown(e: MouseEvent) {\n\t\tif (this.shadowRoot!.contains(e.target as HTMLElement)) {\n\t\t\tthis._shouldFocusRoot = true;\n\t\t} else {\n\t\t\tthis._shouldFocusRoot = false;\n\t\t}\n\t}\n\n\t_onmouseup() {\n\t\tif (this._shouldFocusRoot) {\n\t\t\tif (isChrome()) {\n\t\t\t\tthis._root.focus();\n\t\t\t}\n\t\t\tthis._shouldFocusRoot = false;\n\t\t}\n\t}\n\n\t/**\n\t * Focus trapping\n\t * @private\n\t */\n\tasync forwardToFirst() {\n\t\tconst firstFocusable = await getFirstFocusableElement(this);\n\n\t\tif (firstFocusable) {\n\t\t\tfirstFocusable.focus();\n\t\t} else {\n\t\t\tthis._root.focus();\n\t\t}\n\t}\n\n\t/**\n\t * Focus trapping\n\t * @private\n\t */\n\tasync forwardToLast() {\n\t\tconst lastFocusable = await getLastFocusableElement(this);\n\n\t\tif (lastFocusable) {\n\t\t\tlastFocusable.focus();\n\t\t} else {\n\t\t\tthis._root.focus();\n\t\t}\n\t}\n\n\t/**\n\t * Use this method to focus the element denoted by \"initialFocus\", if provided,\n\t * or the first focusable element otherwise.\n\t * @protected\n\t */\n\tasync applyInitialFocus() {\n\t\tif (!this.preventInitialFocus) {\n\t\t\tawait this.applyFocus();\n\t\t}\n\t}\n\n\t/**\n\t * Focuses the element denoted by `initialFocus`, if provided,\n\t * or the first focusable element otherwise.\n\t * @public\n\t * @returns Promise that resolves when the focus is applied\n\t */\n\tasync applyFocus(): Promise<void> {\n\t\t// do nothing if the standard HTML autofocus is used\n\t\tif (this.querySelector(\"[autofocus]\")) {\n\t\t\treturn;\n\t\t}\n\n\t\tawait this._waitForDomRef();\n\n\t\tif (this.getRootNode() === this) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet element;\n\n\t\tif (this.initialFocus) {\n\t\t\telement = (this.getRootNode() as Document).getElementById(this.initialFocus)\n\t\t\t|| document.getElementById(this.initialFocus);\n\t\t}\n\n\t\telement = element || await getFirstFocusableElement(this) || this._root; // in case of no focusable content focus the root\n\n\t\tif (element) {\n\t\t\tif (element === this._root) {\n\t\t\t\telement.tabIndex = -1;\n\t\t\t}\n\t\t\telement.focus();\n\t\t}\n\t}\n\n\tisFocusWithin() {\n\t\treturn isFocusedElementWithinNode(this._root);\n\t}\n\n\t_updateMediaRange() {\n\t\tthis.mediaRange = MediaRange.getCurrentRange(MediaRange.RANGESETS.RANGE_4STEPS, this.getDomRef()!.offsetWidth);\n\t}\n\n\t/**\n\t * Adds the popup to the \"opened popups registry\"\n\t * @protected\n\t */\n\t_addOpenedPopup() {\n\t\taddOpenedPopup(this);\n\t}\n\n\t/**\n\t * Closes the popup.\n\t */\n\tclosePopup(escPressed = false, preventRegistryUpdate = false, preventFocusRestore = false): void {\n\t\tif (!this._opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst prevented = !this.fireDecoratorEvent(\"before-close\", { escPressed });\n\t\tif (prevented) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._opened = false;\n\n\t\tif (this.isModal) {\n\t\t\tPopup.unblockPageScrolling(this);\n\t\t}\n\n\t\tthis.hide();\n\t\tthis.open = false;\n\n\t\tif (!preventRegistryUpdate) {\n\t\t\tthis._removeOpenedPopup();\n\t\t}\n\n\t\tif (!this.preventFocusRestore && !preventFocusRestore) {\n\t\t\tthis.resetFocus();\n\t\t}\n\n\t\tthis.fireDecoratorEvent(\"close\");\n\t}\n\n\t/**\n\t * Removes the popup from the \"opened popups registry\"\n\t * @protected\n\t */\n\t_removeOpenedPopup() {\n\t\tremoveOpenedPopup(this);\n\t}\n\n\t/**\n\t * Returns the focus to the previously focused element\n\t * @protected\n\t */\n\tresetFocus() {\n\t\tif (!this._focusedElementBeforeOpen) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focusedElementBeforeOpen.focus();\n\t\tthis._focusedElementBeforeOpen = null;\n\t}\n\n\t/**\n\t * Sets \"block\" display to the popup. The property can be overriden by derivatives of Popup.\n\t * @protected\n\t */\n\t_show() {\n\t\tif (this.isConnected) {\n\t\t\tthis.setAttribute(\"popover\", \"manual\");\n\t\t\tthis.showPopover();\n\t\t}\n\t}\n\n\t/**\n\t * Sets \"none\" display to the popup\n\t * @protected\n\t */\n\thide() {\n\t\tthis.isConnected && this.hidePopover();\n\t}\n\n\t/**\n\t * Implement this getter with relevant logic regarding the modality of the popup (e.g. based on a public property)\n\t * @protected\n\t */\n\tabstract get isModal(): boolean\n\n\t/**\n\t * Return the ID of an element in the shadow DOM that is going to label this popup\n\t * @protected\n\t */\n\tabstract get _ariaLabelledBy(): string | undefined\n\n\t/**\n\t * Ensures ariaLabel is never null or empty string\n\t * @protected\n\t */\n\tget _ariaLabel() {\n\t\treturn getEffectiveAriaLabelText(this);\n\t}\n\n\tget _root(): HTMLElement {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popup-root\")!;\n\t}\n\n\tget _role() {\n\t\treturn (this.accessibleRole === PopupAccessibleRole.None) ? undefined : toLowercaseEnumValue(this.accessibleRole);\n\t}\n\n\tget _ariaModal(): \"true\" | undefined {\n\t\treturn this.accessibleRole === PopupAccessibleRole.None ? undefined : \"true\";\n\t}\n\n\tget contentDOM(): HTMLElement {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popup-content\")!;\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\troot: {},\n\t\t\tcontent: {},\n\t\t};\n\t}\n\n\tget classes(): ClassMap {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-popup-root\": true,\n\t\t\t},\n\t\t\tcontent: {\n\t\t\t\t\"ui5-popup-content\": true,\n\t\t\t},\n\t\t};\n\t}\n}\n\nexport default Popup;\nexport type { PopupScrollEventDetail, PopupBeforeCloseEventDetail };\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@ui5/webcomponents-base/jsx-runtime";
|
|
2
|
+
export default function PopubBlockLayerTemplate() {
|
|
3
|
+
return (_jsx("div", { class: "ui5-block-layer", onKeyDown: this._preventBlockLayerFocus, onMouseDown: this._preventBlockLayerFocus }));
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=PopupBlockLayerTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopupBlockLayerTemplate.js","sourceRoot":"","sources":["../src/PopupBlockLayerTemplate.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,OAAO,UAAU,uBAAuB;IAC9C,OAAO,CACN,cAAK,KAAK,EAAC,iBAAiB,EAC3B,SAAS,EAAE,IAAI,CAAC,uBAAuB,EACvC,WAAW,EAAE,IAAI,CAAC,uBAAuB,GACnC,CACP,CAAC;AACH,CAAC","sourcesContent":["import type Popup from \"./Popup.js\";\n\nexport default function PopubBlockLayerTemplate(this: Popup) {\n\treturn (\n\t\t<div class=\"ui5-block-layer\"\n\t\t\tonKeyDown={this._preventBlockLayerFocus}\n\t\t\tonMouseDown={this._preventBlockLayerFocus}\n\t\t></div>\n\t);\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { JsxTemplate } from "@ui5/webcomponents-base";
|
|
2
|
+
import type Popup from "./Popup.js";
|
|
3
|
+
export default function PopupTemplate(this: Popup, hooks?: {
|
|
4
|
+
beforeContent?: JsxTemplate;
|
|
5
|
+
afterContent?: JsxTemplate;
|
|
6
|
+
}): import("@ui5/webcomponents-base").JSX.Element;
|
|
7
|
+
export declare function beforeContent(this: Popup): void;
|
|
8
|
+
export declare function afterContent(this: Popup): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@ui5/webcomponents-base/jsx-runtime";
|
|
2
|
+
import PopubBlockLayerTemplate from "./PopupBlockLayerTemplate.js";
|
|
3
|
+
export default function PopupTemplate(hooks) {
|
|
4
|
+
return (_jsxs(_Fragment, { children: [PopubBlockLayerTemplate.call(this), _jsxs("section", { "root-element": true, style: this.styles.root, class: this.classes.root, role: this._role, "aria-modal": this._ariaModal, "aria-label": this._ariaLabel, "aria-labelledby": this._ariaLabelledBy, onKeyDown: this._onkeydown, onFocusOut: this._onfocusout, onMouseUp: this._onmouseup, onMouseDown: this._onmousedown, children: [_jsx("span", { class: "first-fe", "data-ui5-focus-trap": true, role: "none", tabIndex: 0, onFocusIn: this.forwardToLast }), (hooks?.beforeContent || beforeContent).call(this), _jsx("div", { style: this.styles.content, class: this.classes.content, onScroll: this._scroll, part: "content", children: _jsx("slot", {}) }), (hooks?.afterContent || afterContent).call(this), _jsx("span", { class: "last-fe", "data-ui5-focus-trap": true, role: "none", tabIndex: 0, onFocusIn: this.forwardToFirst })] })] }));
|
|
5
|
+
}
|
|
6
|
+
export function beforeContent() { }
|
|
7
|
+
export function afterContent() { }
|
|
8
|
+
//# sourceMappingURL=PopupTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopupTemplate.js","sourceRoot":"","sources":["../src/PopupTemplate.tsx"],"names":[],"mappings":";AAEA,OAAO,uBAAuB,MAAM,8BAA8B,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,aAAa,CAAc,KAGlD;IACA,OAAO,CAAC,8BACN,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,yCAEC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EACvB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,EACxB,IAAI,EAAE,IAAI,CAAC,KAAK,gBACJ,IAAI,CAAC,UAAU,gBACf,IAAI,CAAC,UAAU,qBACV,IAAI,CAAC,eAAe,EACrC,SAAS,EAAE,IAAI,CAAC,UAAU,EAC1B,UAAU,EAAE,IAAI,CAAC,WAAW,EAC5B,SAAS,EAAE,IAAI,CAAC,UAAU,EAC1B,WAAW,EAAE,IAAI,CAAC,YAAY,aAG9B,eAAM,KAAK,EAAC,UAAU,+BAAqB,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,aAAa,GAAS,EAEzG,CAAC,KAAK,EAAE,aAAa,IAAI,aAAa,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAEnD,cAAK,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAC,SAAS,YACnG,gBAAa,GACR,EAEL,CAAC,KAAK,EAAE,YAAY,IAAI,YAAY,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAEjD,eAAM,KAAK,EAAC,SAAS,+BAAqB,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,GAAS,IAEjG,IAER,CAAC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,aAAa,KAAgB,CAAC;AAC9C,MAAM,UAAU,YAAY,KAAgB,CAAC","sourcesContent":["import type { JsxTemplate } from \"@ui5/webcomponents-base\";\nimport type Popup from \"./Popup.js\";\nimport PopubBlockLayerTemplate from \"./PopupBlockLayerTemplate.js\";\n\nexport default function PopupTemplate(this: Popup, hooks?: {\n\tbeforeContent?: JsxTemplate\n\tafterContent?: JsxTemplate\n}) {\n\treturn (<>\n\t\t{PopubBlockLayerTemplate.call(this)}\n\t\t<section\n\t\t\troot-element\n\t\t\tstyle={this.styles.root}\n\t\t\tclass={this.classes.root}\n\t\t\trole={this._role}\n\t\t\taria-modal={this._ariaModal}\n\t\t\taria-label={this._ariaLabel}\n\t\t\taria-labelledby={this._ariaLabelledBy}\n\t\t\tonKeyDown={this._onkeydown}\n\t\t\tonFocusOut={this._onfocusout}\n\t\t\tonMouseUp={this._onmouseup}\n\t\t\tonMouseDown={this._onmousedown}\n\t\t>\n\n\t\t\t<span class=\"first-fe\" data-ui5-focus-trap role=\"none\" tabIndex={0} onFocusIn={this.forwardToLast}></span>\n\n\t\t\t{(hooks?.beforeContent || beforeContent).call(this)}\n\n\t\t\t<div style={this.styles.content} class={this.classes.content} onScroll={this._scroll} part=\"content\">\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n\n\t\t\t{(hooks?.afterContent || afterContent).call(this)}\n\n\t\t\t<span class=\"last-fe\" data-ui5-focus-trap role=\"none\" tabIndex={0} onFocusIn={this.forwardToFirst}></span>\n\n\t\t</section>\n\n\t</>);\n}\n\nexport function beforeContent(this: Popup) { }\nexport function afterContent(this: Popup) { }\n"]}
|
|
@@ -67,24 +67,10 @@ declare class ProgressIndicator extends UI5Element {
|
|
|
67
67
|
constructor();
|
|
68
68
|
onBeforeRendering(): void;
|
|
69
69
|
valueStateTextMappings(): Record<string, string>;
|
|
70
|
-
valueStateIconMappings(): Record<string, string>;
|
|
71
|
-
get styles(): {
|
|
72
|
-
bar: {
|
|
73
|
-
width: string;
|
|
74
|
-
"transition-duration": string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
get classes(): {
|
|
78
|
-
root: {
|
|
79
|
-
"ui5-progress-indicator-max-value": boolean;
|
|
80
|
-
"ui5-progress-indicator-min-value": boolean;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
70
|
get validatedValue(): number;
|
|
84
71
|
get showValueInRemainingBar(): boolean;
|
|
85
72
|
get shouldAnimate(): boolean;
|
|
86
73
|
get valueStateText(): string;
|
|
87
74
|
get showIcon(): boolean;
|
|
88
|
-
get valueStateIcon(): string;
|
|
89
75
|
}
|
|
90
76
|
export default ProgressIndicator;
|
|
@@ -8,7 +8,7 @@ var ProgressIndicator_1;
|
|
|
8
8
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
9
9
|
import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
|
|
10
10
|
import property from "@ui5/webcomponents-base/dist/decorators/property.js";
|
|
11
|
-
import
|
|
11
|
+
import jsxRenderer from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js";
|
|
12
12
|
import AnimationMode from "@ui5/webcomponents-base/dist/types/AnimationMode.js";
|
|
13
13
|
import ValueState from "@ui5/webcomponents-base/dist/types/ValueState.js";
|
|
14
14
|
import { getAnimationMode } from "@ui5/webcomponents-base/dist/config/AnimationMode.js";
|
|
@@ -16,7 +16,7 @@ import i18n from "@ui5/webcomponents-base/dist/decorators/i18n.js";
|
|
|
16
16
|
import Icon from "./Icon.js";
|
|
17
17
|
import { VALUE_STATE_ERROR, VALUE_STATE_WARNING, VALUE_STATE_SUCCESS, VALUE_STATE_INFORMATION, } from "./generated/i18n/i18n-defaults.js";
|
|
18
18
|
// Template
|
|
19
|
-
import ProgressIndicatorTemplate from "./
|
|
19
|
+
import ProgressIndicatorTemplate from "./ProgressIndicatorTemplate.js";
|
|
20
20
|
// Styles
|
|
21
21
|
import ProgressIndicatorCss from "./generated/themes/ProgressIndicator.css.js";
|
|
22
22
|
/**
|
|
@@ -78,30 +78,6 @@ let ProgressIndicator = ProgressIndicator_1 = class ProgressIndicator extends UI
|
|
|
78
78
|
"Information": ProgressIndicator_1.i18nBundle.getText(VALUE_STATE_INFORMATION),
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
valueStateIconMappings() {
|
|
82
|
-
return {
|
|
83
|
-
"Negative": "status-negative",
|
|
84
|
-
"Critical": "status-critical",
|
|
85
|
-
"Positive": "status-positive",
|
|
86
|
-
"Information": "information",
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
get styles() {
|
|
90
|
-
return {
|
|
91
|
-
bar: {
|
|
92
|
-
"width": `${this.validatedValue}%`,
|
|
93
|
-
"transition-duration": this.shouldAnimate ? `${this._transitionDuration}ms` : "none",
|
|
94
|
-
},
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
get classes() {
|
|
98
|
-
return {
|
|
99
|
-
root: {
|
|
100
|
-
"ui5-progress-indicator-max-value": this.validatedValue === 100,
|
|
101
|
-
"ui5-progress-indicator-min-value": this.validatedValue === 0,
|
|
102
|
-
},
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
81
|
get validatedValue() {
|
|
106
82
|
if (this.value < 0) {
|
|
107
83
|
return 0;
|
|
@@ -125,9 +101,6 @@ let ProgressIndicator = ProgressIndicator_1 = class ProgressIndicator extends UI
|
|
|
125
101
|
get showIcon() {
|
|
126
102
|
return this.valueState !== ValueState.None;
|
|
127
103
|
}
|
|
128
|
-
get valueStateIcon() {
|
|
129
|
-
return this.valueStateIconMappings()[this.valueState];
|
|
130
|
-
}
|
|
131
104
|
};
|
|
132
105
|
__decorate([
|
|
133
106
|
property()
|
|
@@ -150,7 +123,7 @@ __decorate([
|
|
|
150
123
|
ProgressIndicator = ProgressIndicator_1 = __decorate([
|
|
151
124
|
customElement({
|
|
152
125
|
tag: "ui5-progress-indicator",
|
|
153
|
-
renderer:
|
|
126
|
+
renderer: jsxRenderer,
|
|
154
127
|
styles: ProgressIndicatorCss,
|
|
155
128
|
template: ProgressIndicatorTemplate,
|
|
156
129
|
dependencies: [Icon],
|