@ui5/webcomponents 2.26.0 → 2.27.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/Avatar.d.ts +7 -0
- package/dist/Avatar.js +18 -5
- package/dist/Avatar.js.map +1 -1
- package/dist/ComboBoxItemGroup.d.ts +2 -0
- package/dist/ComboBoxItemGroup.js +2 -0
- package/dist/ComboBoxItemGroup.js.map +1 -1
- package/dist/DatePicker.d.ts +14 -0
- package/dist/DatePicker.js +14 -0
- package/dist/DatePicker.js.map +1 -1
- package/dist/DayPicker.d.ts +1 -0
- package/dist/DayPicker.js +4 -1
- package/dist/DayPicker.js.map +1 -1
- package/dist/DayPickerTemplate.js +1 -1
- package/dist/DayPickerTemplate.js.map +1 -1
- package/dist/Icon.js +3 -0
- package/dist/Icon.js.map +1 -1
- package/dist/List.js +1 -1
- package/dist/List.js.map +1 -1
- package/dist/ListBoxItemGroupTemplate.js +1 -1
- package/dist/ListBoxItemGroupTemplate.js.map +1 -1
- package/dist/ListItem.d.ts +4 -2
- package/dist/ListItem.js +5 -9
- package/dist/ListItem.js.map +1 -1
- package/dist/ListItemBaseTemplate.d.ts +2 -0
- package/dist/ListItemBaseTemplate.js +1 -1
- package/dist/ListItemBaseTemplate.js.map +1 -1
- package/dist/ListItemGroup.d.ts +7 -23
- package/dist/ListItemGroup.js +4 -21
- package/dist/ListItemGroup.js.map +1 -1
- package/dist/ListItemGroupBase.d.ts +41 -0
- package/dist/ListItemGroupBase.js +54 -0
- package/dist/ListItemGroupBase.js.map +1 -0
- package/dist/ListItemStandardTemplate.js +1 -1
- package/dist/ListItemStandardTemplate.js.map +1 -1
- package/dist/MultiComboBoxItemGroup.d.ts +2 -0
- package/dist/MultiComboBoxItemGroup.js +2 -0
- package/dist/MultiComboBoxItemGroup.js.map +1 -1
- package/dist/NumberInput.d.ts +271 -0
- package/dist/NumberInput.js +719 -0
- package/dist/NumberInput.js.map +1 -0
- package/dist/NumberInputTemplate.d.ts +2 -0
- package/dist/NumberInputTemplate.js +18 -0
- package/dist/NumberInputTemplate.js.map +1 -0
- package/dist/Option.d.ts +10 -0
- package/dist/Option.js +6 -0
- package/dist/Option.js.map +1 -1
- package/dist/OptionGroup.d.ts +34 -0
- package/dist/OptionGroup.js +61 -0
- package/dist/OptionGroup.js.map +1 -0
- package/dist/OptionGroupTemplate.d.ts +2 -0
- package/dist/OptionGroupTemplate.js +6 -0
- package/dist/OptionGroupTemplate.js.map +1 -0
- package/dist/OptionTemplate.js +6 -1
- package/dist/OptionTemplate.js.map +1 -1
- package/dist/Popover.js +5 -3
- package/dist/Popover.js.map +1 -1
- package/dist/Select.d.ts +19 -2
- package/dist/Select.js +79 -28
- package/dist/Select.js.map +1 -1
- package/dist/SelectPopoverTemplate.js +1 -1
- package/dist/SelectPopoverTemplate.js.map +1 -1
- package/dist/SelectTemplate.js +2 -1
- package/dist/SelectTemplate.js.map +1 -1
- package/dist/SplitButton.d.ts +7 -3
- package/dist/SplitButton.js +4 -4
- package/dist/SplitButton.js.map +1 -1
- package/dist/SplitButtonTemplate.js +1 -1
- package/dist/SplitButtonTemplate.js.map +1 -1
- package/dist/StepInput.d.ts +14 -127
- package/dist/StepInput.js +40 -472
- package/dist/StepInput.js.map +1 -1
- package/dist/StepInputTemplate.js +4 -15
- package/dist/StepInputTemplate.js.map +1 -1
- package/dist/SuggestionItemGroup.d.ts +2 -0
- package/dist/SuggestionItemGroup.js +2 -0
- package/dist/SuggestionItemGroup.js.map +1 -1
- package/dist/ToolbarButton.d.ts +18 -0
- package/dist/ToolbarButton.js +16 -0
- package/dist/ToolbarButton.js.map +1 -1
- package/dist/ToolbarButtonTemplate.js +1 -1
- package/dist/ToolbarButtonTemplate.js.map +1 -1
- package/dist/bundle.esm.js +2 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/NumberInput.css +1 -0
- package/dist/css/themes/OptionGroup.css +1 -0
- package/dist/css/themes/StepInput.css +1 -1
- package/dist/css/themes/TimePickerClock.css +1 -1
- package/dist/css/themes/TimeSelectionClocks.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_auto/parameters-bundle.css +30 -22
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hc_auto/parameters-bundle.css +31 -24
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/dist/custom-elements-internal.json +719 -156
- package/dist/custom-elements.json +658 -162
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +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_auto/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_hc_auto/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_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +8 -6
- package/dist/generated/i18n/i18n-defaults.js +8 -6
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/themes/NumberInput.css.d.ts +2 -0
- package/dist/generated/themes/NumberInput.css.js +8 -0
- package/dist/generated/themes/NumberInput.css.js.map +1 -0
- package/dist/generated/themes/OptionGroup.css.d.ts +2 -0
- package/dist/generated/themes/OptionGroup.css.js +8 -0
- package/dist/generated/themes/OptionGroup.css.js.map +1 -0
- package/dist/generated/themes/StepInput.css.d.ts +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/TimePickerClock.css.d.ts +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.d.ts +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/sap_fiori_3/parameters-bundle.css.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +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_auto/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.js +30 -22
- package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +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_hc_auto/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hc_auto/parameters-bundle.css.js +31 -24
- package/dist/generated/themes/sap_horizon_hc_auto/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +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_hcw/parameters-bundle.css.d.ts +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/vscode.html-custom-data.json +117 -17
- package/dist/web-types.json +266 -34
- package/package.json +9 -9
- package/src/DayPickerTemplate.tsx +1 -1
- package/src/ListBoxItemGroupTemplate.tsx +1 -1
- package/src/ListItemBaseTemplate.tsx +4 -0
- package/src/ListItemStandardTemplate.tsx +1 -1
- package/src/NumberInputTemplate.tsx +95 -0
- package/src/OptionGroupTemplate.tsx +20 -0
- package/src/OptionTemplate.tsx +6 -1
- package/src/SelectPopoverTemplate.tsx +1 -1
- package/src/SelectTemplate.tsx +6 -0
- package/src/SplitButtonTemplate.tsx +1 -2
- package/src/StepInputTemplate.tsx +23 -86
- package/src/ToolbarButtonTemplate.tsx +2 -0
- package/src/i18n/messagebundle.properties +13 -8
- package/src/i18n/messagebundle_de.properties +2 -2
- package/src/i18n/messagebundle_en.properties +2 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +7 -6
- package/src/i18n/messagebundle_pl.properties +1 -1
- package/src/i18n/messagebundle_ru.properties +1 -1
- package/src/themes/NumberInput.css +321 -0
- package/src/themes/OptionGroup.css +28 -0
- package/src/themes/StepInput.css +0 -276
- package/src/themes/TimePickerClock.css +1 -1
- package/src/themes/TimeSelectionClocks.css +1 -1
- package/src/themes/base/NumberInput-parameters.css +31 -0
- package/src/themes/base/sizes-parameters.css +3 -3
- package/src/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/src/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/src/themes/sap_horizon/NumberInput-parameters.css +26 -0
- package/src/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/themes/sap_horizon_dark/NumberInput-parameters.css +26 -0
- package/src/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/src/themes/sap_horizon_hcb/NumberInput-parameters.css +14 -0
- package/src/themes/sap_horizon_hcb/parameters-bundle.css +2 -1
- package/src/themes/sap_horizon_hcw/NumberInput-parameters.css +14 -0
- package/src/themes/sap_horizon_hcw/parameters-bundle.css +2 -1
- package/src/themes/base/StepInput-parameters.css +0 -25
- package/src/themes/sap_horizon/StepInput-parameters.css +0 -25
- package/src/themes/sap_horizon_dark/StepInput-parameters.css +0 -25
package/dist/Popover.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|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BAAsB,EAAE,4BAA4B,EAAE,CAAC","sourcesContent":["import { instanceOfUI5Element } from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type { Slot } from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport 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-strict.js\";\nimport { isIOS } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport { isClickInRect, getClosedPopupParent } from \"@ui5/webcomponents-base/dist/util/PopupUtils.js\";\nimport clamp from \"@ui5/webcomponents-base/dist/util/clamp.js\";\nimport DOMReferenceConverter from \"@ui5/webcomponents-base/dist/converters/DOMReference.js\";\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\";\nimport PopoverResize from \"./PopoverResize.js\";\nimport type { ResizeHandlePlacement } from \"./PopoverResize.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\";\nimport createInstanceChecker from \"@ui5/webcomponents-base/dist/util/createInstanceChecker.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\nenum PopoverActualHorizontalAlign {\n\tCenter = \"Center\",\n\tLeft = \"Left\",\n\tRight = \"Right\",\n\tStretch = \"Stretch\",\n}\n\nenum PopoverActualPlacement {\n\tLeft = \"Left\",\n\tRight = \"Right\",\n\tTop = \"Top\",\n\tBottom = \"Bottom\",\n}\n\ntype CalculatedPlacement = {\n\tarrow: ArrowPosition,\n\ttop: number,\n\tleft: number,\n\tactualPlacement: `${PopoverActualPlacement}`,\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],\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 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 * Determines whether the component is resizable.\n\t * **Note:** This property is effective only on desktop devices.\n\t * @default false\n\t * @public\n\t * @since 2.19.0\n\t */\n\t@property({ type: Boolean })\n\tresizable = 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: `${PopoverActualPlacement}` = \"Right\";\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@property({ noAttribute: true })\n\t_resizeHandlePlacement?: `${ResizeHandlePlacement}`;\n\n\t/**\n\t * Defines the header HTML Element.\n\t * @public\n\t */\n\t@slot()\n\theader!: Slot<HTMLElement>;\n\n\t/**\n\t * Defines the footer HTML Element.\n\t * @public\n\t */\n\t@slot()\n\tfooter!: Slot<HTMLElement>;\n\n\t_opener?: HTMLElement | string | null | undefined;\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\t_openerIntersectionObserver?: IntersectionObserver | null;\n\n\t_popoverResize: PopoverResize;\n\n\t_initialWidth?: string;\n\t_initialHeight?: string;\n\n\tstatic get VIEWPORT_MARGIN() {\n\t\treturn 10; // px\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._popoverResize = new PopoverResize(this);\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 | null) {\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 | null | 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 (!opener || 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._initialWidth = this.style.width;\n\t\tthis._initialHeight = this.style.height;\n\n\t\tthis._openerRect = opener.getBoundingClientRect();\n\t\tthis._observeOpenerVisibility();\n\n\t\tawait super.openPopup();\n\t}\n\n\tclosePopup(escPressed = false, preventRegistryUpdate = false, preventFocusRestore = false) : void {\n\t\tthis._unobserveOpenerVisibility();\n\n\t\tObject.assign(this.style, {\n\t\t\twidth: this._initialWidth,\n\t\t\theight: this._initialHeight,\n\t\t});\n\n\t\tthis._popoverResize.reset();\n\t\tdelete this._resizeHandlePlacement;\n\n\t\tsuper.closePopup(escPressed, preventRegistryUpdate, preventFocusRestore);\n\t}\n\n\tisOpenerClicked(e: MouseEvent) {\n\t\tconst target = e.target as HTMLElement;\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (!opener) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (target === opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (this._isUI5AbstractElement(target) && target.getFocusDomRef() === opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn e.composedPath().indexOf(opener) > -1;\n\t}\n\n\tisClicked(e: MouseEvent) {\n\t\tif (this._showResizeHandle) {\n\t\t\tconst resizeHandle = this.shadowRoot!.querySelector(\".ui5-popover-resize-handle\");\n\t\t\tif (resizeHandle === e.composedPath()[0]) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn isClickInRect(e, this.getBoundingClientRect());\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 | null | undefined): HTMLElement | null | undefined {\n\t\tif (opener === undefined || opener === null) {\n\t\t\treturn opener;\n\t\t}\n\n\t\tif (opener instanceof HTMLElement) {\n\t\t\treturn this._isUI5AbstractElement(opener) ? opener.getFocusDomRef() : opener;\n\t\t}\n\n\t\tlet rootNode = this.getRootNode();\n\n\t\tif (!rootNode) {\n\t\t\treturn null;\n\t\t}\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) {\n\t\t\treturn this._isUI5AbstractElement(openerHTMLElement) ? openerHTMLElement.getFocusDomRef() : openerHTMLElement;\n\t\t}\n\n\t\treturn openerHTMLElement;\n\t}\n\n\tshouldCloseDueToOverflow(placement: `${PopoverActualPlacement}`, openerRect: DOMRect): boolean {\n\t\tconst threshold = 32;\n\t\tconst limits = {\n\t\t\t\"Left\": openerRect.right,\n\t\t\t\"Right\": 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.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\tget _viewportMargin() {\n\t\treturn Popover.VIEWPORT_MARGIN;\n\t}\n\n\treposition() {\n\t\tthis._show();\n\n\t\tif (this.resizable) {\n\t\t\tthis._resizeHandlePlacement = this._popoverResize.getResizeHandlePlacement();\n\t\t}\n\t}\n\n\tasync _show() {\n\t\tsuper._show();\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (!opener) {\n\t\t\tObject.assign(this.style, {\n\t\t\t\ttop: `0px`,\n\t\t\t\tleft: `0px`,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\n\t\tif (opener && instanceOfUI5Element(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.actualPlacement;\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 === PopoverActualPlacement.Right) {\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 === PopoverActualPlacement.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._popoverResize.isResized) {\n\t\t\treturn;\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/**\n\t * Callback invoked when the opener element's intersection status changes.\n\t * Closes the popover when the opener is no longer visible.\n\t * @private\n\t */\n\t_onOpenerIntersection(entries: Array<IntersectionObserverEntry>): void {\n\t\tif (this.open && !entries[0]?.isIntersecting) {\n\t\t\tthis.closePopup();\n\t\t}\n\t}\n\n\t/**\n\t * Starts observing the opener element's visibility in the viewport.\n\t * @private\n\t */\n\t_observeOpenerVisibility(): void {\n\t\tthis._unobserveOpenerVisibility();\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (!opener) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._openerIntersectionObserver = new IntersectionObserver(this._onOpenerIntersection.bind(this));\n\n\t\tthis._openerIntersectionObserver.observe(opener);\n\t}\n\n\t/**\n\t * Stops observing the opener element and cleans up the IntersectionObserver instance.\n\t * @private\n\t */\n\t_unobserveOpenerVisibility(): void {\n\t\tif (this._openerIntersectionObserver) {\n\t\t\tthis._openerIntersectionObserver.disconnect();\n\t\t\tthis._openerIntersectionObserver = null;\n\t\t}\n\t}\n\n\tgetPopoverSize(calcScrollHeight: boolean = false): PopoverSize {\n\t\tconst rect = this.getBoundingClientRect();\n\t\tconst width = rect.width;\n\t\tlet height;\n\n\t\tconst domRef = this.getDomRef();\n\n\t\tif (calcScrollHeight && domRef) {\n\t\t\tconst header = domRef.querySelector(\".ui5-popup-header-root\");\n\t\t\tconst content = domRef.querySelector(\".ui5-popup-content\");\n\t\t\tconst footer = domRef.querySelector(\".ui5-popup-footer-root\");\n\n\t\t\theight = content?.scrollHeight || 0;\n\t\t\theight += header?.scrollHeight || 0;\n\t\t\theight += footer?.scrollHeight || 0;\n\t\t} else {\n\t\t\theight = rect.height;\n\t\t}\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_isUI5AbstractElement(el: HTMLElement): el is UI5Element {\n\t\treturn instanceOfUI5Element(el) && el.isUI5AbstractElement;\n\t}\n\n\tget arrowDOM() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popover-arrow\")!;\n\t}\n\n\t/**\n\t * @protected\n\t */\n\tfocusOpener() {\n\t\tthis.getOpenerHTMLElement(this.opener)?.focus();\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 actualPlacement = this.getActualPlacement(targetRect);\n\n\t\tthis._preventRepositionAndClose = this.shouldCloseDueToNoOpener(targetRect) || this.shouldCloseDueToOverflow(actualPlacement, targetRect);\n\n\t\tconst isVertical = actualPlacement === PopoverActualPlacement.Top\n\t\t\t|| actualPlacement === PopoverActualPlacement.Bottom;\n\n\t\tif (!this._popoverResize.isResized) {\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && isVertical) {\n\t\t\t\tpopoverSize.width = targetRect.width;\n\t\t\t\tthis._width = `${targetRect.width}px`;\n\t\t\t} else if (this.verticalAlign === PopoverVerticalAlign.Stretch && !isVertical) {\n\t\t\t\tpopoverSize.height = targetRect.height;\n\t\t\t\tthis._height = `${targetRect.height}px`;\n\t\t\t}\n\t\t}\n\n\t\tconst arrowOffset = this.hideArrow ? 0 : ARROW_SIZE;\n\n\t\t// calc popover positions\n\t\tswitch (actualPlacement) {\n\t\tcase PopoverActualPlacement.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 PopoverActualPlacement.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 PopoverActualPlacement.Left:\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 PopoverActualPlacement.Right:\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\tactualPlacement,\n\t\t};\n\t}\n\n\tget isVertical() : boolean {\n\t\treturn this.placement === PopoverPlacement.Top || this.placement === PopoverPlacement.Bottom;\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 actualHorizontalAlign = this._actualHorizontalAlign;\n\t\tlet arrowXCentered = actualHorizontalAlign === PopoverActualHorizontalAlign.Center || actualHorizontalAlign === PopoverActualHorizontalAlign.Stretch;\n\n\t\tif (actualHorizontalAlign === PopoverActualHorizontalAlign.Right && left <= targetRect.left) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tif (actualHorizontalAlign === PopoverActualHorizontalAlign.Left && 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 - 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 - 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): PopoverActualPlacement | undefined {\n\t\tif (targetRect.left > popoverSize.width) {\n\t\t\treturn PopoverActualPlacement.Left;\n\t\t}\n\n\t\tif (clientWidth - targetRect.right > targetRect.left) {\n\t\t\treturn PopoverActualPlacement.Right;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom > popoverSize.height) {\n\t\t\treturn PopoverActualPlacement.Bottom;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\treturn PopoverActualPlacement.Top;\n\t\t}\n\t}\n\n\tgetActualPlacement(targetRect: DOMRect): `${PopoverActualPlacement}` {\n\t\tconst placement = this.placement;\n\t\tconst popoverSize = this.getPopoverSize(!this.allowTargetOverlap);\n\n\t\tlet actualPlacement: PopoverActualPlacement = PopoverActualPlacement.Right;\n\n\t\tswitch (placement) {\n\t\tcase PopoverPlacement.Start:\n\t\t\tactualPlacement = this.isRtl ? PopoverActualPlacement.Right : PopoverActualPlacement.Left;\n\t\t\tbreak;\n\t\tcase PopoverPlacement.End:\n\t\t\tactualPlacement = this.isRtl ? PopoverActualPlacement.Left : PopoverActualPlacement.Right;\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Top:\n\t\t\tactualPlacement = PopoverActualPlacement.Top;\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Bottom:\n\t\t\tactualPlacement = PopoverActualPlacement.Bottom;\n\t\t\tbreak;\n\t\t}\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tlet clientHeight = document.documentElement.clientHeight;\n\t\tlet popoverHeight = popoverSize.height;\n\n\t\tif (this.isVertical) {\n\t\t\tpopoverHeight += this.hideArrow ? 0 : ARROW_SIZE;\n\t\t\tclientHeight -= Popover.VIEWPORT_MARGIN;\n\t\t}\n\n\t\tswitch (actualPlacement) {\n\t\tcase PopoverActualPlacement.Top:\n\t\t\tif (targetRect.top < popoverHeight\n\t\t\t\t&& targetRect.top < clientHeight - targetRect.bottom) {\n\t\t\t\tactualPlacement = PopoverActualPlacement.Bottom;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverActualPlacement.Bottom:\n\t\t\tif (clientHeight - targetRect.bottom < popoverHeight\n\t\t\t\t&& clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\t\tactualPlacement = PopoverActualPlacement.Top;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverActualPlacement.Left:\n\t\t\tif (targetRect.left < popoverSize.width) {\n\t\t\t\tactualPlacement = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || actualPlacement;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverActualPlacement.Right:\n\t\t\tif (clientWidth - targetRect.right < popoverSize.width) {\n\t\t\t\tactualPlacement = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || actualPlacement;\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 actualHorizontalAlign = this._actualHorizontalAlign;\n\t\tlet left = Popover.VIEWPORT_MARGIN;\n\n\t\tswitch (actualHorizontalAlign) {\n\t\tcase PopoverActualHorizontalAlign.Center:\n\t\tcase PopoverActualHorizontalAlign.Stretch:\n\t\t\tleft = targetRect.left - (popoverSize.width - targetRect.width) / 2;\n\t\t\tleft = this._popoverResize.getCorrectedLeft(left);\n\t\t\tbreak;\n\t\tcase PopoverActualHorizontalAlign.Left:\n\t\t\tleft = targetRect.left;\n\t\t\tbreak;\n\t\tcase PopoverActualHorizontalAlign.Right:\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\ttop = this._popoverResize.getCorrectedTop(top);\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\t\tallClasses.root[\"ui5-popover-rtl\"] = this.isRtl;\n\n\t\tif (this.resizable) {\n\t\t\tthis._popoverResize.setCorrectResizeHandleClass(allClasses);\n\t\t}\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 isRtl() {\n\t\treturn this.effectiveDir === \"rtl\";\n\t}\n\n\tget _actualHorizontalAlign() : PopoverActualHorizontalAlign {\n\t\tswitch (this.horizontalAlign) {\n\t\tcase PopoverHorizontalAlign.Start:\n\t\t\treturn this.isRtl ? PopoverActualHorizontalAlign.Right : PopoverActualHorizontalAlign.Left;\n\t\tcase PopoverHorizontalAlign.End:\n\t\t\treturn this.isRtl ? PopoverActualHorizontalAlign.Left : PopoverActualHorizontalAlign.Right;\n\t\tcase PopoverHorizontalAlign.Stretch:\n\t\t\treturn PopoverActualHorizontalAlign.Stretch;\n\t\tcase PopoverHorizontalAlign.Center:\n\t\tdefault:\n\t\t\treturn PopoverActualHorizontalAlign.Center;\n\t\t}\n\t}\n\n\tget _showResizeHandle() {\n\t\treturn this.resizable && this.onDesktop;\n\t}\n\n\tget resizeHandlePlacement() {\n\t\treturn this._resizeHandlePlacement;\n\t}\n\n\t_onResizeMouseDown(e: MouseEvent) {\n\t\tthis._popoverResize.onResizeMouseDown(e);\n\t\tthis._resizeHandlePlacement = this._popoverResize.getResizeHandlePlacement();\n\t}\n\n\t// for instance checks\n\treadonly isPopover = true;\n}\n\nPopover.define();\n\nexport default Popover;\nexport const instanceOfPopover = createInstanceChecker<Popover>(\"isPopover\");\nexport { PopoverActualPlacement, PopoverActualHorizontalAlign };\n"]}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CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,CAAC","sourcesContent":["import { instanceOfUI5Element } from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type { Slot } from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport 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-strict.js\";\nimport { isIOS } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport { isClickInRect, getClosedPopupParent } from \"@ui5/webcomponents-base/dist/util/PopupUtils.js\";\nimport clamp from \"@ui5/webcomponents-base/dist/util/clamp.js\";\nimport DOMReferenceConverter from \"@ui5/webcomponents-base/dist/converters/DOMReference.js\";\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\";\nimport PopoverResize from \"./PopoverResize.js\";\nimport type { ResizeHandlePlacement } from \"./PopoverResize.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\";\nimport createInstanceChecker from \"@ui5/webcomponents-base/dist/util/createInstanceChecker.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\nenum PopoverActualHorizontalAlign {\n\tCenter = \"Center\",\n\tLeft = \"Left\",\n\tRight = \"Right\",\n\tStretch = \"Stretch\",\n}\n\nenum PopoverActualPlacement {\n\tLeft = \"Left\",\n\tRight = \"Right\",\n\tTop = \"Top\",\n\tBottom = \"Bottom\",\n}\n\ntype CalculatedPlacement = {\n\tarrow: ArrowPosition,\n\ttop: number,\n\tleft: number,\n\tactualPlacement: `${PopoverActualPlacement}`,\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],\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 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 * Determines whether the component is resizable.\n\t * **Note:** This property is effective only on desktop devices.\n\t * @default false\n\t * @public\n\t * @since 2.19.0\n\t */\n\t@property({ type: Boolean })\n\tresizable = 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: `${PopoverActualPlacement}` = \"Right\";\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@property({ noAttribute: true })\n\t_resizeHandlePlacement?: `${ResizeHandlePlacement}`;\n\n\t/**\n\t * Defines the header HTML Element.\n\t * @public\n\t */\n\t@slot()\n\theader!: Slot<HTMLElement>;\n\n\t/**\n\t * Defines the footer HTML Element.\n\t * @public\n\t */\n\t@slot()\n\tfooter!: Slot<HTMLElement>;\n\n\t_opener?: HTMLElement | string | null | undefined;\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\t_openerIntersectionObserver?: IntersectionObserver | null;\n\n\t_popoverResize: PopoverResize;\n\n\t_initialWidth?: string;\n\t_initialHeight?: string;\n\n\tstatic get VIEWPORT_MARGIN() {\n\t\treturn 10; // px\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._popoverResize = new PopoverResize(this);\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 | null) {\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 | null | 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 (!opener || 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._initialWidth = this.style.width;\n\t\tthis._initialHeight = this.style.height;\n\n\t\tthis._openerRect = opener.getBoundingClientRect();\n\t\tthis._observeOpenerVisibility();\n\n\t\tawait super.openPopup();\n\t}\n\n\tclosePopup(escPressed = false, preventRegistryUpdate = false, preventFocusRestore = false) : void {\n\t\tthis._unobserveOpenerVisibility();\n\n\t\tObject.assign(this.style, {\n\t\t\twidth: this._initialWidth,\n\t\t\theight: this._initialHeight,\n\t\t});\n\n\t\tthis._popoverResize.reset();\n\t\tdelete this._resizeHandlePlacement;\n\n\t\tsuper.closePopup(escPressed, preventRegistryUpdate, preventFocusRestore);\n\t}\n\n\tisOpenerClicked(e: MouseEvent) {\n\t\tconst target = e.target as HTMLElement;\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (!opener) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (target === opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (this._isUI5AbstractElement(target) && target.getFocusDomRef() === opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn e.composedPath().indexOf(opener) > -1;\n\t}\n\n\tisClicked(e: MouseEvent) {\n\t\tif (this._showResizeHandle) {\n\t\t\tconst resizeHandle = this.shadowRoot!.querySelector(\".ui5-popover-resize-handle\");\n\t\t\tif (resizeHandle === e.composedPath()[0]) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn isClickInRect(e, this.getBoundingClientRect());\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 | null | undefined): HTMLElement | null | undefined {\n\t\tif (opener === undefined || opener === null) {\n\t\t\treturn opener;\n\t\t}\n\n\t\tif (opener instanceof HTMLElement) {\n\t\t\treturn this._isUI5AbstractElement(opener) ? opener.getFocusDomRef() : opener;\n\t\t}\n\n\t\tlet rootNode = this.getRootNode();\n\n\t\tif (!rootNode) {\n\t\t\treturn null;\n\t\t}\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) {\n\t\t\treturn this._isUI5AbstractElement(openerHTMLElement) ? openerHTMLElement.getFocusDomRef() : openerHTMLElement;\n\t\t}\n\n\t\treturn openerHTMLElement;\n\t}\n\n\tshouldCloseDueToOverflow(placement: `${PopoverActualPlacement}`, openerRect: DOMRect): boolean {\n\t\tconst threshold = 32;\n\t\tconst limits = {\n\t\t\t\"Left\": openerRect.right,\n\t\t\t\"Right\": 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.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\tget _viewportMargin() {\n\t\treturn Popover.VIEWPORT_MARGIN;\n\t}\n\n\treposition() {\n\t\tthis._show();\n\n\t\tif (this.resizable) {\n\t\t\tthis._resizeHandlePlacement = this._popoverResize.getResizeHandlePlacement();\n\t\t}\n\t}\n\n\tasync _show() {\n\t\tsuper._show();\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (!opener) {\n\t\t\tObject.assign(this.style, {\n\t\t\t\ttop: `0px`,\n\t\t\t\tleft: `0px`,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\n\t\tif (opener && instanceOfUI5Element(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.actualPlacement;\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 === PopoverActualPlacement.Right) {\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 === PopoverActualPlacement.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._popoverResize.isResized) {\n\t\t\treturn;\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/**\n\t * Callback invoked when the opener element's intersection status changes.\n\t * Closes the popover when the opener is no longer visible.\n\t * @private\n\t */\n\t_onOpenerIntersection(entries: Array<IntersectionObserverEntry>): void {\n\t\tif (this.open && !entries[0]?.isIntersecting) {\n\t\t\tthis.closePopup();\n\t\t}\n\t}\n\n\t/**\n\t * Starts observing the opener element's visibility in the viewport.\n\t * @private\n\t */\n\t_observeOpenerVisibility(): void {\n\t\tthis._unobserveOpenerVisibility();\n\n\t\tconst opener = this.getOpenerHTMLElement(this.opener);\n\n\t\tif (!opener) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._openerIntersectionObserver = new IntersectionObserver(this._onOpenerIntersection.bind(this));\n\n\t\tthis._openerIntersectionObserver.observe(opener);\n\t}\n\n\t/**\n\t * Stops observing the opener element and cleans up the IntersectionObserver instance.\n\t * @private\n\t */\n\t_unobserveOpenerVisibility(): void {\n\t\tif (this._openerIntersectionObserver) {\n\t\t\tthis._openerIntersectionObserver.disconnect();\n\t\t\tthis._openerIntersectionObserver = null;\n\t\t}\n\t}\n\n\tgetPopoverSize(calcScrollHeight: boolean = false): PopoverSize {\n\t\tconst rect = this.getBoundingClientRect();\n\t\tconst width = rect.width;\n\t\tlet height;\n\n\t\tconst domRef = this.getDomRef();\n\n\t\tif (calcScrollHeight && domRef) {\n\t\t\tconst header = domRef.querySelector(\".ui5-popup-header-root\");\n\t\t\tconst content = domRef.querySelector(\".ui5-popup-content\");\n\t\t\tconst footer = domRef.querySelector(\".ui5-popup-footer-root\");\n\n\t\t\theight = content?.scrollHeight || 0;\n\t\t\theight += header?.scrollHeight || 0;\n\t\t\theight += footer?.scrollHeight || 0;\n\t\t} else {\n\t\t\theight = rect.height;\n\t\t}\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_isUI5AbstractElement(el: HTMLElement): el is UI5Element {\n\t\treturn instanceOfUI5Element(el) && el.isUI5AbstractElement;\n\t}\n\n\tget arrowDOM() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popover-arrow\")!;\n\t}\n\n\t/**\n\t * @protected\n\t */\n\tfocusOpener() {\n\t\tthis.getOpenerHTMLElement(this.opener)?.focus();\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 actualPlacement = this.getActualPlacement(targetRect);\n\n\t\tthis._preventRepositionAndClose = this.shouldCloseDueToNoOpener(targetRect) || this.shouldCloseDueToOverflow(actualPlacement, targetRect);\n\n\t\tconst isVertical = actualPlacement === PopoverActualPlacement.Top\n\t\t\t|| actualPlacement === PopoverActualPlacement.Bottom;\n\n\t\tif (!this._popoverResize.isResized) {\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && isVertical) {\n\t\t\t\tpopoverSize.width = targetRect.width;\n\t\t\t\tthis._width = `${targetRect.width}px`;\n\t\t\t} else if (this.verticalAlign === PopoverVerticalAlign.Stretch && !isVertical) {\n\t\t\t\tpopoverSize.height = targetRect.height;\n\t\t\t\tthis._height = `${targetRect.height}px`;\n\t\t\t}\n\t\t}\n\n\t\tconst arrowOffset = this.hideArrow ? 0 : ARROW_SIZE;\n\n\t\t// calc popover positions\n\t\tswitch (actualPlacement) {\n\t\tcase PopoverActualPlacement.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 PopoverActualPlacement.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 PopoverActualPlacement.Left:\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 PopoverActualPlacement.Right:\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\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\t// Apply the RTL correction before the dead-band check so it is baked into `this._left`\n\t\t// once. Adding it after would re-apply it every reposition, causing the position to drift.\n\t\tleft += this.getRTLCorrectionLeft();\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\treturn {\n\t\t\tarrow: arrowPos,\n\t\t\ttop: this._top,\n\t\t\tleft: this._left,\n\t\t\tactualPlacement,\n\t\t};\n\t}\n\n\tget isVertical() : boolean {\n\t\treturn this.placement === PopoverPlacement.Top || this.placement === PopoverPlacement.Bottom;\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 actualHorizontalAlign = this._actualHorizontalAlign;\n\t\tlet arrowXCentered = actualHorizontalAlign === PopoverActualHorizontalAlign.Center || actualHorizontalAlign === PopoverActualHorizontalAlign.Stretch;\n\n\t\tif (actualHorizontalAlign === PopoverActualHorizontalAlign.Right && left <= targetRect.left) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tif (actualHorizontalAlign === PopoverActualHorizontalAlign.Left && 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 - 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 - 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): PopoverActualPlacement | undefined {\n\t\tif (targetRect.left > popoverSize.width) {\n\t\t\treturn PopoverActualPlacement.Left;\n\t\t}\n\n\t\tif (clientWidth - targetRect.right > targetRect.left) {\n\t\t\treturn PopoverActualPlacement.Right;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom > popoverSize.height) {\n\t\t\treturn PopoverActualPlacement.Bottom;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\treturn PopoverActualPlacement.Top;\n\t\t}\n\t}\n\n\tgetActualPlacement(targetRect: DOMRect): `${PopoverActualPlacement}` {\n\t\tconst placement = this.placement;\n\t\tconst popoverSize = this.getPopoverSize(!this.allowTargetOverlap);\n\n\t\tlet actualPlacement: PopoverActualPlacement = PopoverActualPlacement.Right;\n\n\t\tswitch (placement) {\n\t\tcase PopoverPlacement.Start:\n\t\t\tactualPlacement = this.isRtl ? PopoverActualPlacement.Right : PopoverActualPlacement.Left;\n\t\t\tbreak;\n\t\tcase PopoverPlacement.End:\n\t\t\tactualPlacement = this.isRtl ? PopoverActualPlacement.Left : PopoverActualPlacement.Right;\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Top:\n\t\t\tactualPlacement = PopoverActualPlacement.Top;\n\t\t\tbreak;\n\t\tcase PopoverPlacement.Bottom:\n\t\t\tactualPlacement = PopoverActualPlacement.Bottom;\n\t\t\tbreak;\n\t\t}\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tlet clientHeight = document.documentElement.clientHeight;\n\t\tlet popoverHeight = popoverSize.height;\n\n\t\tif (this.isVertical) {\n\t\t\tpopoverHeight += this.hideArrow ? 0 : ARROW_SIZE;\n\t\t\tclientHeight -= Popover.VIEWPORT_MARGIN;\n\t\t}\n\n\t\tswitch (actualPlacement) {\n\t\tcase PopoverActualPlacement.Top:\n\t\t\tif (targetRect.top < popoverHeight\n\t\t\t\t&& targetRect.top < clientHeight - targetRect.bottom) {\n\t\t\t\tactualPlacement = PopoverActualPlacement.Bottom;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverActualPlacement.Bottom:\n\t\t\tif (clientHeight - targetRect.bottom < popoverHeight\n\t\t\t\t&& clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\t\tactualPlacement = PopoverActualPlacement.Top;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverActualPlacement.Left:\n\t\t\tif (targetRect.left < popoverSize.width) {\n\t\t\t\tactualPlacement = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || actualPlacement;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverActualPlacement.Right:\n\t\t\tif (clientWidth - targetRect.right < popoverSize.width) {\n\t\t\t\tactualPlacement = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || actualPlacement;\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 actualHorizontalAlign = this._actualHorizontalAlign;\n\t\tlet left = Popover.VIEWPORT_MARGIN;\n\n\t\tswitch (actualHorizontalAlign) {\n\t\tcase PopoverActualHorizontalAlign.Center:\n\t\tcase PopoverActualHorizontalAlign.Stretch:\n\t\t\tleft = targetRect.left - (popoverSize.width - targetRect.width) / 2;\n\t\t\tleft = this._popoverResize.getCorrectedLeft(left);\n\t\t\tbreak;\n\t\tcase PopoverActualHorizontalAlign.Left:\n\t\t\tleft = targetRect.left;\n\t\t\tbreak;\n\t\tcase PopoverActualHorizontalAlign.Right:\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\ttop = this._popoverResize.getCorrectedTop(top);\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\t\tallClasses.root[\"ui5-popover-rtl\"] = this.isRtl;\n\n\t\tif (this.resizable) {\n\t\t\tthis._popoverResize.setCorrectResizeHandleClass(allClasses);\n\t\t}\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 isRtl() {\n\t\treturn this.effectiveDir === \"rtl\";\n\t}\n\n\tget _actualHorizontalAlign() : PopoverActualHorizontalAlign {\n\t\tswitch (this.horizontalAlign) {\n\t\tcase PopoverHorizontalAlign.Start:\n\t\t\treturn this.isRtl ? PopoverActualHorizontalAlign.Right : PopoverActualHorizontalAlign.Left;\n\t\tcase PopoverHorizontalAlign.End:\n\t\t\treturn this.isRtl ? PopoverActualHorizontalAlign.Left : PopoverActualHorizontalAlign.Right;\n\t\tcase PopoverHorizontalAlign.Stretch:\n\t\t\treturn PopoverActualHorizontalAlign.Stretch;\n\t\tcase PopoverHorizontalAlign.Center:\n\t\tdefault:\n\t\t\treturn PopoverActualHorizontalAlign.Center;\n\t\t}\n\t}\n\n\tget _showResizeHandle() {\n\t\treturn this.resizable && this.onDesktop;\n\t}\n\n\tget resizeHandlePlacement() {\n\t\treturn this._resizeHandlePlacement;\n\t}\n\n\t_onResizeMouseDown(e: MouseEvent) {\n\t\tthis._popoverResize.onResizeMouseDown(e);\n\t\tthis._resizeHandlePlacement = this._popoverResize.getResizeHandlePlacement();\n\t}\n\n\t// for instance checks\n\treadonly isPopover = true;\n}\n\nPopover.define();\n\nexport default Popover;\nexport const instanceOfPopover = createInstanceChecker<Popover>(\"isPopover\");\nexport { PopoverActualPlacement, PopoverActualHorizontalAlign };\n"]}
|
package/dist/Select.d.ts
CHANGED
|
@@ -24,6 +24,17 @@ interface IOption extends ListItemBase {
|
|
|
24
24
|
additionalText?: string;
|
|
25
25
|
focused: boolean;
|
|
26
26
|
effectiveDisplayText: string;
|
|
27
|
+
_forcedSetsize?: number;
|
|
28
|
+
_forcedPosinset?: number;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Interface for group containers slotted inside `ui5-select`
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
interface IOptionGroup {
|
|
35
|
+
isOptionGroup: boolean;
|
|
36
|
+
items: Array<IOption>;
|
|
37
|
+
headerText?: string;
|
|
27
38
|
}
|
|
28
39
|
type SelectChangeEventDetail = {
|
|
29
40
|
selectedOption: IOption;
|
|
@@ -231,9 +242,10 @@ declare class Select extends UI5Element implements IFormInputElement {
|
|
|
231
242
|
* If more than one option is defined as selected, the last one would be considered as the selected one.
|
|
232
243
|
*
|
|
233
244
|
* **Note:** Use the `ui5-option` component to define the desired options.
|
|
245
|
+
* Use the `ui5-option-group` component to group options.
|
|
234
246
|
* @public
|
|
235
247
|
*/
|
|
236
|
-
options: DefaultSlot<IOption>;
|
|
248
|
+
options: DefaultSlot<IOption | IOptionGroup>;
|
|
237
249
|
/**
|
|
238
250
|
* Defines the value state message that will be displayed as pop up under the component.
|
|
239
251
|
*
|
|
@@ -266,6 +278,11 @@ declare class Select extends UI5Element implements IFormInputElement {
|
|
|
266
278
|
get formFormattedValue(): string | null;
|
|
267
279
|
onEnterDOM(): void;
|
|
268
280
|
onExitDOM(): void;
|
|
281
|
+
get _flatOptions(): Array<IOption>;
|
|
282
|
+
get hasGroups(): boolean;
|
|
283
|
+
get _groupCountMessageId(): string;
|
|
284
|
+
get _groupCountText(): string;
|
|
285
|
+
_applyGroupAriaPositions(): void;
|
|
269
286
|
onBeforeRendering(): void;
|
|
270
287
|
onAfterRendering(): void;
|
|
271
288
|
/**
|
|
@@ -446,4 +463,4 @@ declare class Select extends UI5Element implements IFormInputElement {
|
|
|
446
463
|
_getPopover(): Popover | null;
|
|
447
464
|
}
|
|
448
465
|
export default Select;
|
|
449
|
-
export type { IOption, SelectChangeEventDetail, SelectLiveChangeEventDetail, };
|
|
466
|
+
export type { IOption, IOptionGroup, SelectChangeEventDetail, SelectLiveChangeEventDetail, };
|
package/dist/Select.js
CHANGED
|
@@ -24,12 +24,13 @@ import { isPhone } from "@ui5/webcomponents-base/dist/Device.js";
|
|
|
24
24
|
import i18n from "@ui5/webcomponents-base/dist/decorators/i18n.js";
|
|
25
25
|
import InvisibleMessageMode from "@ui5/webcomponents-base/dist/types/InvisibleMessageMode.js";
|
|
26
26
|
import List from "./List.js";
|
|
27
|
-
import { VALUE_STATE_SUCCESS, VALUE_STATE_INFORMATION, VALUE_STATE_ERROR, VALUE_STATE_WARNING, VALUE_STATE_TYPE_SUCCESS, VALUE_STATE_TYPE_INFORMATION, VALUE_STATE_TYPE_ERROR, VALUE_STATE_TYPE_WARNING, LIST_ITEM_POSITION, SELECT_ROLE_DESCRIPTION, SELECT_POPOVER_ACCESSIBLE_NAME_PREFIX, SELECT_LISTBOX_LABEL, SELECT_DIALOG_CANCEL_BUTTON, FORM_SELECTABLE_REQUIRED, } from "./generated/i18n/i18n-defaults.js";
|
|
27
|
+
import { VALUE_STATE_SUCCESS, VALUE_STATE_INFORMATION, VALUE_STATE_ERROR, VALUE_STATE_WARNING, VALUE_STATE_TYPE_SUCCESS, VALUE_STATE_TYPE_INFORMATION, VALUE_STATE_TYPE_ERROR, VALUE_STATE_TYPE_WARNING, LIST_ITEM_POSITION, SELECT_ROLE_DESCRIPTION, SELECT_POPOVER_ACCESSIBLE_NAME_PREFIX, SELECT_LISTBOX_LABEL, SELECT_DIALOG_CANCEL_BUTTON, FORM_SELECTABLE_REQUIRED, SELECT_OPTIONS_IN_GROUPS, } from "./generated/i18n/i18n-defaults.js";
|
|
28
28
|
import Label from "./Label.js";
|
|
29
29
|
import ResponsivePopover from "./ResponsivePopover.js";
|
|
30
30
|
import Popover from "./Popover.js";
|
|
31
31
|
import Icon from "./Icon.js";
|
|
32
32
|
import Button from "./Button.js";
|
|
33
|
+
import OptionGroup, { isInstanceOfOptionGroup } from "./OptionGroup.js";
|
|
33
34
|
// Templates
|
|
34
35
|
import SelectTemplate from "./SelectTemplate.js";
|
|
35
36
|
// Styles
|
|
@@ -189,8 +190,50 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
189
190
|
onExitDOM() {
|
|
190
191
|
deregisterUI5Element(this);
|
|
191
192
|
}
|
|
193
|
+
get _flatOptions() {
|
|
194
|
+
return this.options.flatMap(item => {
|
|
195
|
+
if (isInstanceOfOptionGroup(item)) {
|
|
196
|
+
return item.items;
|
|
197
|
+
}
|
|
198
|
+
return item;
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
get hasGroups() {
|
|
202
|
+
return this.options.some(item => isInstanceOfOptionGroup(item));
|
|
203
|
+
}
|
|
204
|
+
get _groupCountMessageId() {
|
|
205
|
+
return `${this._id}-groupCountDesc`;
|
|
206
|
+
}
|
|
207
|
+
get _groupCountText() {
|
|
208
|
+
const groups = this.options.filter(item => isInstanceOfOptionGroup(item));
|
|
209
|
+
return Select_1.i18nBundle.getText(SELECT_OPTIONS_IN_GROUPS, this._flatOptions.length, groups.length);
|
|
210
|
+
}
|
|
211
|
+
_applyGroupAriaPositions() {
|
|
212
|
+
const flatOptions = this._flatOptions;
|
|
213
|
+
flatOptions.forEach(o => {
|
|
214
|
+
o._forcedSetsize = undefined;
|
|
215
|
+
o._forcedPosinset = undefined;
|
|
216
|
+
});
|
|
217
|
+
if (!this.hasGroups) {
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
const totalCount = flatOptions.length;
|
|
221
|
+
let globalPosition = 0;
|
|
222
|
+
this.options.forEach(item => {
|
|
223
|
+
if (isInstanceOfOptionGroup(item)) {
|
|
224
|
+
item.items.forEach(opt => {
|
|
225
|
+
opt._forcedSetsize = totalCount;
|
|
226
|
+
opt._forcedPosinset = ++globalPosition;
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
globalPosition++;
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
}
|
|
192
234
|
onBeforeRendering() {
|
|
193
235
|
this._applySelection();
|
|
236
|
+
this._applyGroupAriaPositions();
|
|
194
237
|
this.style.setProperty("--_ui5-input-icons-count", `${this.iconsCount}`);
|
|
195
238
|
}
|
|
196
239
|
onAfterRendering() {
|
|
@@ -219,8 +262,7 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
219
262
|
*/
|
|
220
263
|
_applySelectionByValue(value) {
|
|
221
264
|
if (value !== (this.selectedOption?.value || this.selectedOption?.textContent)) {
|
|
222
|
-
|
|
223
|
-
options.forEach(option => {
|
|
265
|
+
this._flatOptions.forEach(option => {
|
|
224
266
|
option.selected = !!((option.getAttribute("value") || option.textContent) === value);
|
|
225
267
|
});
|
|
226
268
|
}
|
|
@@ -230,10 +272,11 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
230
272
|
* or selects the last option if multiple options are selected.
|
|
231
273
|
*/
|
|
232
274
|
_applyAutoSelection() {
|
|
233
|
-
|
|
275
|
+
const flatOptions = this._flatOptions;
|
|
276
|
+
let selectedIndex = flatOptions.findLastIndex(option => option.selected);
|
|
234
277
|
selectedIndex = selectedIndex === -1 ? 0 : selectedIndex;
|
|
235
|
-
for (let i = 0; i <
|
|
236
|
-
|
|
278
|
+
for (let i = 0; i < flatOptions.length; i++) {
|
|
279
|
+
flatOptions[i].selected = selectedIndex === i;
|
|
237
280
|
if (selectedIndex === i) {
|
|
238
281
|
break;
|
|
239
282
|
}
|
|
@@ -287,7 +330,7 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
287
330
|
return this.selectedOption?.value === undefined ? (this.selectedOption?.textContent || "") : this.selectedOption?.value;
|
|
288
331
|
}
|
|
289
332
|
get _selectedIndex() {
|
|
290
|
-
return this.
|
|
333
|
+
return this._flatOptions.findIndex(option => option.selected);
|
|
291
334
|
}
|
|
292
335
|
/**
|
|
293
336
|
* Currently selected `ui5-option` element.
|
|
@@ -295,7 +338,7 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
295
338
|
* @default undefined
|
|
296
339
|
*/
|
|
297
340
|
get selectedOption() {
|
|
298
|
-
return this.
|
|
341
|
+
return this._flatOptions.find(option => option.selected);
|
|
299
342
|
}
|
|
300
343
|
/**
|
|
301
344
|
* Helper function to build display text with separator when additional text exists
|
|
@@ -418,7 +461,7 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
418
461
|
const currentIndex = this._selectedIndex;
|
|
419
462
|
const itemToSelect = this._searchNextItemByText(text);
|
|
420
463
|
if (itemToSelect) {
|
|
421
|
-
const nextIndex = this.
|
|
464
|
+
const nextIndex = this._flatOptions.indexOf(itemToSelect);
|
|
422
465
|
this._changeSelectedItem(this._selectedIndex, nextIndex);
|
|
423
466
|
if (currentIndex !== this._selectedIndex) {
|
|
424
467
|
this.itemSelectionAnnounce();
|
|
@@ -427,7 +470,7 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
427
470
|
}
|
|
428
471
|
}
|
|
429
472
|
_searchNextItemByText(text) {
|
|
430
|
-
let orderedOptions = this.
|
|
473
|
+
let orderedOptions = this._flatOptions.slice(0);
|
|
431
474
|
const optionsAfterSelected = orderedOptions.splice(this._selectedIndex + 1, orderedOptions.length - this._selectedIndex);
|
|
432
475
|
const optionsBeforeSelected = orderedOptions.splice(0, orderedOptions.length - 1);
|
|
433
476
|
orderedOptions = optionsAfterSelected.concat(optionsBeforeSelected);
|
|
@@ -445,7 +488,7 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
445
488
|
if (this.readonly) {
|
|
446
489
|
return;
|
|
447
490
|
}
|
|
448
|
-
const lastIndex = this.
|
|
491
|
+
const lastIndex = this._flatOptions.length - 1;
|
|
449
492
|
this._changeSelectedItem(this._selectedIndex, lastIndex);
|
|
450
493
|
}
|
|
451
494
|
_onkeyup(e) {
|
|
@@ -459,17 +502,18 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
459
502
|
}
|
|
460
503
|
}
|
|
461
504
|
_getItemIndex(item) {
|
|
462
|
-
return this.
|
|
505
|
+
return this._flatOptions.indexOf(item);
|
|
463
506
|
}
|
|
464
507
|
_select(index) {
|
|
465
508
|
const selectedIndex = this._selectedIndex;
|
|
466
|
-
|
|
509
|
+
const flatOptions = this._flatOptions;
|
|
510
|
+
if (index < 0 || index >= flatOptions.length || flatOptions.length === 0) {
|
|
467
511
|
return;
|
|
468
512
|
}
|
|
469
|
-
if (
|
|
470
|
-
|
|
513
|
+
if (flatOptions[selectedIndex]) {
|
|
514
|
+
flatOptions[selectedIndex].selected = false;
|
|
471
515
|
}
|
|
472
|
-
const selectedOption =
|
|
516
|
+
const selectedOption = flatOptions[index];
|
|
473
517
|
if (selectedIndex !== index) {
|
|
474
518
|
this.fireDecoratorEvent("live-change", { selectedOption });
|
|
475
519
|
}
|
|
@@ -540,7 +584,7 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
540
584
|
}
|
|
541
585
|
}
|
|
542
586
|
_changeSelectedItem(oldIndex, newIndex) {
|
|
543
|
-
const options = this.
|
|
587
|
+
const options = this._flatOptions;
|
|
544
588
|
// Normalize: first navigation with Up when nothing selected -> last item
|
|
545
589
|
if (oldIndex === -1 && newIndex < 0 && options.length) {
|
|
546
590
|
newIndex = options.length - 1;
|
|
@@ -570,14 +614,14 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
570
614
|
}
|
|
571
615
|
}
|
|
572
616
|
_getNextOptionIndex() {
|
|
573
|
-
return this._selectedIndex === (this.
|
|
617
|
+
return this._selectedIndex === (this._flatOptions.length - 1) ? this._selectedIndex : (this._selectedIndex + 1);
|
|
574
618
|
}
|
|
575
619
|
_getPreviousOptionIndex() {
|
|
576
620
|
return this._selectedIndex === 0 ? this._selectedIndex : (this._selectedIndex - 1);
|
|
577
621
|
}
|
|
578
622
|
_beforeOpen() {
|
|
579
623
|
this._selectedIndexBeforeOpen = this._selectedIndex;
|
|
580
|
-
this._lastSelectedOption = this.
|
|
624
|
+
this._lastSelectedOption = this._flatOptions[this._selectedIndex];
|
|
581
625
|
}
|
|
582
626
|
_afterOpen() {
|
|
583
627
|
this.opened = true;
|
|
@@ -587,7 +631,8 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
587
631
|
this._applyFocusToSelectedItem();
|
|
588
632
|
}
|
|
589
633
|
_applyFocusToSelectedItem() {
|
|
590
|
-
this.
|
|
634
|
+
const flatOptions = this._flatOptions;
|
|
635
|
+
flatOptions.forEach(option => {
|
|
591
636
|
option.focused = option.selected;
|
|
592
637
|
if (option.focused) {
|
|
593
638
|
// move focus to the selected option so screen readers
|
|
@@ -604,9 +649,9 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
604
649
|
this._select(this._selectedIndexBeforeOpen);
|
|
605
650
|
this._escapePressed = false;
|
|
606
651
|
}
|
|
607
|
-
else if (this._lastSelectedOption !== this.
|
|
608
|
-
this._fireChangeEvent(this.
|
|
609
|
-
this._lastSelectedOption = this.
|
|
652
|
+
else if (this._lastSelectedOption !== this._flatOptions[this._selectedIndex]) {
|
|
653
|
+
this._fireChangeEvent(this._flatOptions[this._selectedIndex]);
|
|
654
|
+
this._lastSelectedOption = this._flatOptions[this._selectedIndex];
|
|
610
655
|
}
|
|
611
656
|
this.fireDecoratorEvent("close");
|
|
612
657
|
}
|
|
@@ -674,7 +719,7 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
674
719
|
return Select_1.i18nBundle.getText(SELECT_DIALOG_CANCEL_BUTTON);
|
|
675
720
|
}
|
|
676
721
|
get _currentlySelectedOption() {
|
|
677
|
-
return this.
|
|
722
|
+
return this._flatOptions[this._selectedIndex];
|
|
678
723
|
}
|
|
679
724
|
get _effectiveTabIndex() {
|
|
680
725
|
return this.disabled
|
|
@@ -713,13 +758,14 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
713
758
|
}
|
|
714
759
|
get styles() {
|
|
715
760
|
const remSizeInPx = parseInt(getComputedStyle(document.documentElement).fontSize);
|
|
761
|
+
const flatOptionsCount = this._flatOptions.length;
|
|
716
762
|
return {
|
|
717
763
|
popoverHeader: {
|
|
718
764
|
"display": "block",
|
|
719
765
|
},
|
|
720
766
|
responsivePopoverHeader: {
|
|
721
|
-
"display":
|
|
722
|
-
"width": `${
|
|
767
|
+
"display": flatOptionsCount && this._listWidth === 0 ? "none" : "inline-block",
|
|
768
|
+
"width": `${flatOptionsCount ? this._listWidth : this.offsetWidth}px`,
|
|
723
769
|
"max-width": "100%",
|
|
724
770
|
},
|
|
725
771
|
responsivePopover: {
|
|
@@ -761,7 +807,7 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
761
807
|
}
|
|
762
808
|
itemSelectionAnnounce() {
|
|
763
809
|
let text;
|
|
764
|
-
const optionsCount = this.
|
|
810
|
+
const optionsCount = this._flatOptions.length;
|
|
765
811
|
const itemPositionText = Select_1.i18nBundle.getText(LIST_ITEM_POSITION, this._selectedIndex + 1, optionsCount);
|
|
766
812
|
if (this.focused && this._currentlySelectedOption) {
|
|
767
813
|
text = `${this._currentlySelectedOption.textContent} ${this._isPickerOpen ? itemPositionText : ""}`;
|
|
@@ -796,7 +842,11 @@ let Select = Select_1 = class Select extends UI5Element {
|
|
|
796
842
|
return this.ariaDescriptionText ? "accessibleDescription" : "";
|
|
797
843
|
}
|
|
798
844
|
get ariaDescribedByIds() {
|
|
799
|
-
const ids = [
|
|
845
|
+
const ids = [
|
|
846
|
+
this.valueStateTextId,
|
|
847
|
+
this.ariaDescriptionTextId,
|
|
848
|
+
this.hasGroups ? this._groupCountMessageId : undefined,
|
|
849
|
+
].filter(Boolean);
|
|
800
850
|
return ids.length ? ids.join(" ") : undefined;
|
|
801
851
|
}
|
|
802
852
|
get accessibilityInfo() {
|
|
@@ -903,6 +953,7 @@ Select = Select_1 = __decorate([
|
|
|
903
953
|
List,
|
|
904
954
|
Icon,
|
|
905
955
|
Button,
|
|
956
|
+
OptionGroup,
|
|
906
957
|
],
|
|
907
958
|
})
|
|
908
959
|
/**
|