@ui5/webcomponents-fiori 1.23.0-rc.5 → 1.23.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 +16 -0
- package/dist/Bar.d.ts +11 -14
- package/dist/Bar.js +11 -13
- package/dist/Bar.js.map +1 -1
- package/dist/BarcodeScannerDialog.d.ts +7 -11
- package/dist/BarcodeScannerDialog.js +7 -12
- package/dist/BarcodeScannerDialog.js.map +1 -1
- package/dist/DynamicSideContent.d.ts +25 -64
- package/dist/DynamicSideContent.js +24 -28
- package/dist/DynamicSideContent.js.map +1 -1
- package/dist/FilterItem.d.ts +6 -9
- package/dist/FilterItem.js +5 -6
- package/dist/FilterItem.js.map +1 -1
- package/dist/FilterItemOption.d.ts +5 -9
- package/dist/FilterItemOption.js +5 -7
- package/dist/FilterItemOption.js.map +1 -1
- package/dist/FlexibleColumnLayout.d.ts +41 -52
- package/dist/FlexibleColumnLayout.js +22 -27
- package/dist/FlexibleColumnLayout.js.map +1 -1
- package/dist/IllustratedMessage.d.ts +63 -68
- package/dist/IllustratedMessage.js +43 -32
- package/dist/IllustratedMessage.js.map +1 -1
- package/dist/MediaGallery.d.ts +22 -39
- package/dist/MediaGallery.js +16 -24
- package/dist/MediaGallery.js.map +1 -1
- package/dist/MediaGalleryItem.d.ts +10 -25
- package/dist/MediaGalleryItem.js +10 -14
- package/dist/MediaGalleryItem.js.map +1 -1
- package/dist/NotificationAction.d.ts +9 -15
- package/dist/NotificationAction.js +3 -6
- package/dist/NotificationAction.js.map +1 -1
- package/dist/NotificationListGroupItem.d.ts +18 -21
- package/dist/NotificationListGroupItem.js +16 -19
- package/dist/NotificationListGroupItem.js.map +1 -1
- package/dist/NotificationListItem.d.ts +27 -35
- package/dist/NotificationListItem.js +15 -18
- package/dist/NotificationListItem.js.map +1 -1
- package/dist/NotificationListItemBase.d.ts +8 -12
- package/dist/NotificationListItemBase.js +2 -4
- package/dist/NotificationListItemBase.js.map +1 -1
- package/dist/Page.d.ts +16 -26
- package/dist/Page.js +13 -14
- package/dist/Page.js.map +1 -1
- package/dist/ProductSwitch.d.ts +14 -21
- package/dist/ProductSwitch.js +12 -17
- package/dist/ProductSwitch.js.map +1 -1
- package/dist/ProductSwitchItem.d.ts +22 -28
- package/dist/ProductSwitchItem.js +11 -16
- package/dist/ProductSwitchItem.js.map +1 -1
- package/dist/ShellBar.d.ts +64 -81
- package/dist/ShellBar.js +27 -36
- package/dist/ShellBar.js.map +1 -1
- package/dist/ShellBarItem.d.ts +7 -9
- package/dist/ShellBarItem.js +5 -8
- package/dist/ShellBarItem.js.map +1 -1
- package/dist/SideNavigation.d.ts +29 -41
- package/dist/SideNavigation.js +18 -22
- package/dist/SideNavigation.js.map +1 -1
- package/dist/SideNavigationItem.d.ts +7 -11
- package/dist/SideNavigationItem.js +5 -6
- package/dist/SideNavigationItem.js.map +1 -1
- package/dist/SideNavigationItemBase.d.ts +10 -19
- package/dist/SideNavigationItemBase.js +2 -5
- package/dist/SideNavigationItemBase.js.map +1 -1
- package/dist/SideNavigationSubItem.d.ts +4 -5
- package/dist/SideNavigationSubItem.js +4 -5
- package/dist/SideNavigationSubItem.js.map +1 -1
- package/dist/SortItem.d.ts +5 -9
- package/dist/SortItem.js +5 -7
- package/dist/SortItem.js.map +1 -1
- package/dist/Timeline.d.ts +4 -17
- package/dist/Timeline.js +2 -3
- package/dist/Timeline.js.map +1 -1
- package/dist/TimelineItem.d.ts +6 -14
- package/dist/TimelineItem.js +4 -6
- package/dist/TimelineItem.js.map +1 -1
- package/dist/UploadCollection.d.ts +18 -27
- package/dist/UploadCollection.js +9 -13
- package/dist/UploadCollection.js.map +1 -1
- package/dist/UploadCollectionItem.d.ts +17 -29
- package/dist/UploadCollectionItem.js +11 -17
- package/dist/UploadCollectionItem.js.map +1 -1
- package/dist/ViewSettingsDialog.d.ts +28 -48
- package/dist/ViewSettingsDialog.js +30 -46
- package/dist/ViewSettingsDialog.js.map +1 -1
- package/dist/Wizard.d.ts +66 -76
- package/dist/Wizard.js +57 -65
- package/dist/Wizard.js.map +1 -1
- package/dist/WizardStep.d.ts +25 -39
- package/dist/WizardStep.js +10 -12
- package/dist/WizardStep.js.map +1 -1
- package/dist/WizardTab.d.ts +12 -24
- package/dist/WizardTab.js +6 -8
- package/dist/WizardTab.js.map +1 -1
- package/dist/css/themes/Bar.css +1 -1
- package/dist/css/themes/FlexibleColumnLayout.css +1 -1
- package/dist/css/themes/IllustratedMessage.css +1 -1
- package/dist/css/themes/MediaGallery.css +1 -1
- package/dist/css/themes/MediaGalleryItem.css +1 -1
- package/dist/css/themes/NotificationListGroupItem.css +1 -1
- package/dist/css/themes/NotificationListItem.css +1 -1
- package/dist/css/themes/NotificationListItemBase.css +1 -1
- package/dist/css/themes/NotificationOverflowActionsPopover.css +1 -1
- package/dist/css/themes/Page.css +1 -1
- package/dist/css/themes/ProductSwitchItem.css +1 -1
- package/dist/css/themes/ShellBar.css +1 -1
- package/dist/css/themes/SideNavigation.css +1 -1
- package/dist/css/themes/SideNavigationPopover.css +1 -1
- package/dist/css/themes/Timeline.css +1 -1
- package/dist/css/themes/TimelineItem.css +1 -1
- package/dist/css/themes/UploadCollection.css +1 -1
- package/dist/css/themes/UploadCollectionItem.css +1 -1
- package/dist/css/themes/ViewSettingsDialog.css +1 -1
- package/dist/css/themes/Wizard.css +1 -1
- package/dist/css/themes/WizardTab.css +1 -1
- package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_belize_hcw/parameters-bundle.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 +194 -185
- package/dist/custom-elements.json +165 -165
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
- package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.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_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/js-imports/Illustrations.js +47 -1
- package/dist/generated/js-imports/Illustrations.js.map +1 -1
- package/dist/generated/templates/IllustratedMessageTemplate.lit.js +1 -1
- package/dist/generated/templates/IllustratedMessageTemplate.lit.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/FlexibleColumnLayout.css.js +1 -1
- package/dist/generated/themes/FlexibleColumnLayout.css.js.map +1 -1
- package/dist/generated/themes/IllustratedMessage.css.js +1 -1
- package/dist/generated/themes/IllustratedMessage.css.js.map +1 -1
- package/dist/generated/themes/MediaGallery.css.js +1 -1
- package/dist/generated/themes/MediaGallery.css.js.map +1 -1
- package/dist/generated/themes/MediaGalleryItem.css.js +1 -1
- package/dist/generated/themes/MediaGalleryItem.css.js.map +1 -1
- package/dist/generated/themes/NotificationListGroupItem.css.js +1 -1
- package/dist/generated/themes/NotificationListGroupItem.css.js.map +1 -1
- package/dist/generated/themes/NotificationListItem.css.js +1 -1
- package/dist/generated/themes/NotificationListItem.css.js.map +1 -1
- package/dist/generated/themes/NotificationListItemBase.css.js +1 -1
- package/dist/generated/themes/NotificationListItemBase.css.js.map +1 -1
- package/dist/generated/themes/NotificationOverflowActionsPopover.css.js +1 -1
- package/dist/generated/themes/NotificationOverflowActionsPopover.css.js.map +1 -1
- package/dist/generated/themes/Page.css.js +1 -1
- package/dist/generated/themes/Page.css.js.map +1 -1
- package/dist/generated/themes/ProductSwitchItem.css.js +1 -1
- package/dist/generated/themes/ProductSwitchItem.css.js.map +1 -1
- package/dist/generated/themes/ShellBar.css.js +1 -1
- package/dist/generated/themes/ShellBar.css.js.map +1 -1
- package/dist/generated/themes/SideNavigation.css.js +1 -1
- package/dist/generated/themes/SideNavigation.css.js.map +1 -1
- package/dist/generated/themes/SideNavigationPopover.css.js +1 -1
- package/dist/generated/themes/SideNavigationPopover.css.js.map +1 -1
- package/dist/generated/themes/Timeline.css.js +1 -1
- package/dist/generated/themes/Timeline.css.js.map +1 -1
- package/dist/generated/themes/TimelineItem.css.js +1 -1
- package/dist/generated/themes/TimelineItem.css.js.map +1 -1
- package/dist/generated/themes/UploadCollection.css.js +1 -1
- package/dist/generated/themes/UploadCollection.css.js.map +1 -1
- package/dist/generated/themes/UploadCollectionItem.css.js +1 -1
- package/dist/generated/themes/UploadCollectionItem.css.js.map +1 -1
- package/dist/generated/themes/ViewSettingsDialog.css.js +1 -1
- package/dist/generated/themes/ViewSettingsDialog.css.js.map +1 -1
- package/dist/generated/themes/Wizard.css.js +1 -1
- package/dist/generated/themes/Wizard.css.js.map +1 -1
- package/dist/generated/themes/WizardTab.css.js +1 -1
- package/dist/generated/themes/WizardTab.css.js.map +1 -1
- package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_belize/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_belize_hcw/parameters-bundle.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/illustrations/AddColumn.d.ts +2 -1
- package/dist/illustrations/AddColumn.js +4 -1
- package/dist/illustrations/AddDimensions.d.ts +2 -1
- package/dist/illustrations/AddDimensions.js +4 -1
- package/dist/illustrations/AddPeople.d.ts +2 -1
- package/dist/illustrations/AddPeople.js +4 -1
- package/dist/illustrations/BalloonSky.d.ts +2 -1
- package/dist/illustrations/BalloonSky.js +4 -1
- package/dist/illustrations/BeforeSearch.d.ts +2 -1
- package/dist/illustrations/BeforeSearch.js +4 -1
- package/dist/illustrations/Connection.d.ts +2 -1
- package/dist/illustrations/Connection.js +4 -1
- package/dist/illustrations/EmptyCalendar.d.ts +2 -1
- package/dist/illustrations/EmptyCalendar.js +4 -1
- package/dist/illustrations/EmptyList.d.ts +2 -1
- package/dist/illustrations/EmptyList.js +4 -1
- package/dist/illustrations/EmptyPlanningCalendar.d.ts +2 -1
- package/dist/illustrations/EmptyPlanningCalendar.js +4 -1
- package/dist/illustrations/ErrorScreen.d.ts +2 -1
- package/dist/illustrations/ErrorScreen.js +4 -1
- package/dist/illustrations/FilterTable.d.ts +2 -1
- package/dist/illustrations/FilterTable.js +4 -1
- package/dist/illustrations/GroupTable.d.ts +2 -1
- package/dist/illustrations/GroupTable.js +4 -1
- package/dist/illustrations/NewMail.d.ts +2 -1
- package/dist/illustrations/NewMail.js +4 -1
- package/dist/illustrations/NoActivities.d.ts +2 -1
- package/dist/illustrations/NoActivities.js +4 -1
- package/dist/illustrations/NoColumnsSet.d.ts +2 -1
- package/dist/illustrations/NoColumnsSet.js +4 -1
- package/dist/illustrations/NoData.d.ts +2 -1
- package/dist/illustrations/NoData.js +4 -1
- package/dist/illustrations/NoDimensionsSet.d.ts +2 -1
- package/dist/illustrations/NoDimensionsSet.js +4 -1
- package/dist/illustrations/NoEntries.d.ts +2 -1
- package/dist/illustrations/NoEntries.js +4 -1
- package/dist/illustrations/NoFilterResults.d.ts +2 -1
- package/dist/illustrations/NoFilterResults.js +4 -1
- package/dist/illustrations/NoMail.d.ts +2 -1
- package/dist/illustrations/NoMail.js +4 -1
- package/dist/illustrations/NoMail_v1.d.ts +2 -1
- package/dist/illustrations/NoMail_v1.js +4 -1
- package/dist/illustrations/NoNotifications.d.ts +2 -1
- package/dist/illustrations/NoNotifications.js +4 -1
- package/dist/illustrations/NoSavedItems.d.ts +2 -1
- package/dist/illustrations/NoSavedItems.js +4 -1
- package/dist/illustrations/NoSavedItems_v1.d.ts +2 -1
- package/dist/illustrations/NoSavedItems_v1.js +4 -1
- package/dist/illustrations/NoSearchResults.d.ts +2 -1
- package/dist/illustrations/NoSearchResults.js +4 -1
- package/dist/illustrations/NoTasks.d.ts +2 -1
- package/dist/illustrations/NoTasks.js +4 -1
- package/dist/illustrations/NoTasks_v1.d.ts +2 -1
- package/dist/illustrations/NoTasks_v1.js +4 -1
- package/dist/illustrations/PageNotFound.d.ts +2 -1
- package/dist/illustrations/PageNotFound.js +4 -1
- package/dist/illustrations/ReloadScreen.d.ts +2 -1
- package/dist/illustrations/ReloadScreen.js +4 -1
- package/dist/illustrations/ResizeColumn.d.ts +2 -1
- package/dist/illustrations/ResizeColumn.js +4 -1
- package/dist/illustrations/SearchEarth.d.ts +2 -1
- package/dist/illustrations/SearchEarth.js +4 -1
- package/dist/illustrations/SearchFolder.d.ts +2 -1
- package/dist/illustrations/SearchFolder.js +4 -1
- package/dist/illustrations/SignOut.d.ts +2 -1
- package/dist/illustrations/SignOut.js +4 -1
- package/dist/illustrations/SimpleBalloon.d.ts +2 -1
- package/dist/illustrations/SimpleBalloon.js +4 -1
- package/dist/illustrations/SimpleBell.d.ts +2 -1
- package/dist/illustrations/SimpleBell.js +4 -1
- package/dist/illustrations/SimpleCalendar.d.ts +2 -1
- package/dist/illustrations/SimpleCalendar.js +4 -1
- package/dist/illustrations/SimpleCheckMark.d.ts +2 -1
- package/dist/illustrations/SimpleCheckMark.js +4 -1
- package/dist/illustrations/SimpleConnection.d.ts +2 -1
- package/dist/illustrations/SimpleConnection.js +4 -1
- package/dist/illustrations/SimpleEmptyDoc.d.ts +2 -1
- package/dist/illustrations/SimpleEmptyDoc.js +4 -1
- package/dist/illustrations/SimpleEmptyList.d.ts +2 -1
- package/dist/illustrations/SimpleEmptyList.js +4 -1
- package/dist/illustrations/SimpleError.d.ts +2 -1
- package/dist/illustrations/SimpleError.js +4 -1
- package/dist/illustrations/SimpleMagnifier.d.ts +2 -1
- package/dist/illustrations/SimpleMagnifier.js +4 -1
- package/dist/illustrations/SimpleMail.d.ts +2 -1
- package/dist/illustrations/SimpleMail.js +4 -1
- package/dist/illustrations/SimpleNoSavedItems.d.ts +2 -1
- package/dist/illustrations/SimpleNoSavedItems.js +4 -1
- package/dist/illustrations/SimpleNotFoundMagnifier.d.ts +2 -1
- package/dist/illustrations/SimpleNotFoundMagnifier.js +4 -1
- package/dist/illustrations/SimpleReload.d.ts +2 -1
- package/dist/illustrations/SimpleReload.js +4 -1
- package/dist/illustrations/SimpleTask.d.ts +2 -1
- package/dist/illustrations/SimpleTask.js +4 -1
- package/dist/illustrations/SleepingBell.d.ts +2 -1
- package/dist/illustrations/SleepingBell.js +4 -1
- package/dist/illustrations/SortColumn.d.ts +2 -1
- package/dist/illustrations/SortColumn.js +4 -1
- package/dist/illustrations/SuccessBalloon.d.ts +2 -1
- package/dist/illustrations/SuccessBalloon.js +4 -1
- package/dist/illustrations/SuccessCheckMark.d.ts +2 -1
- package/dist/illustrations/SuccessCheckMark.js +4 -1
- package/dist/illustrations/SuccessHighFive.d.ts +2 -1
- package/dist/illustrations/SuccessHighFive.js +4 -1
- package/dist/illustrations/SuccessScreen.d.ts +2 -1
- package/dist/illustrations/SuccessScreen.js +4 -1
- package/dist/illustrations/Survey.d.ts +2 -1
- package/dist/illustrations/Survey.js +4 -1
- package/dist/illustrations/Tent.d.ts +2 -1
- package/dist/illustrations/Tent.js +4 -1
- package/dist/illustrations/UnableToLoad.d.ts +2 -1
- package/dist/illustrations/UnableToLoad.js +4 -1
- package/dist/illustrations/UnableToLoadImage.d.ts +2 -1
- package/dist/illustrations/UnableToLoadImage.js +4 -1
- package/dist/illustrations/UnableToUpload.d.ts +2 -1
- package/dist/illustrations/UnableToUpload.js +4 -1
- package/dist/illustrations/UploadCollection.d.ts +2 -1
- package/dist/illustrations/UploadCollection.js +4 -1
- package/dist/illustrations/UploadToCloud.d.ts +2 -1
- package/dist/illustrations/UploadToCloud.js +4 -1
- package/dist/illustrations/sapIllus-Dot-AddColumn.js +27 -0
- package/dist/illustrations/sapIllus-Dot-AddDimensions.js +16 -0
- package/dist/illustrations/sapIllus-Dot-AddPeople.js +9 -0
- package/dist/illustrations/sapIllus-Dot-BalloonSky.js +7 -0
- package/dist/illustrations/sapIllus-Dot-Connection.js +10 -0
- package/dist/illustrations/sapIllus-Dot-EmptyCalendar.js +37 -0
- package/dist/illustrations/sapIllus-Dot-EmptyList.js +7 -0
- package/dist/illustrations/sapIllus-Dot-EmptyPlanningCalendar.js +37 -0
- package/dist/illustrations/sapIllus-Dot-ErrorScreen.js +9 -0
- package/dist/illustrations/sapIllus-Dot-FilterTable.js +8 -0
- package/dist/illustrations/sapIllus-Dot-GroupTable.js +36 -0
- package/dist/illustrations/sapIllus-Dot-NoColumnsSet.js +7 -0
- package/dist/illustrations/sapIllus-Dot-NoDimensionsSet.js +7 -0
- package/dist/illustrations/sapIllus-Dot-NoFilterResults.js +8 -0
- package/dist/illustrations/sapIllus-Dot-NoMail_v1.js +10 -0
- package/dist/illustrations/sapIllus-Dot-NoSavedItems_v1.js +13 -0
- package/dist/illustrations/sapIllus-Dot-NoSearchResults.js +11 -0
- package/dist/illustrations/sapIllus-Dot-NoTasks_v1.js +13 -0
- package/dist/illustrations/sapIllus-Dot-PageNotFound.js +7 -0
- package/dist/illustrations/sapIllus-Dot-ReloadScreen.js +9 -0
- package/dist/illustrations/sapIllus-Dot-ResizeColumn.js +27 -0
- package/dist/illustrations/sapIllus-Dot-SearchEarth.js +7 -0
- package/dist/illustrations/sapIllus-Dot-SearchFolder.js +11 -0
- package/dist/illustrations/sapIllus-Dot-SimpleBalloon.js +7 -0
- package/dist/illustrations/sapIllus-Dot-SimpleBell.js +8 -0
- package/dist/illustrations/sapIllus-Dot-SimpleCalendar.js +37 -0
- package/dist/illustrations/sapIllus-Dot-SimpleCheckMark.js +5 -0
- package/dist/illustrations/sapIllus-Dot-SimpleConnection.js +10 -0
- package/dist/illustrations/sapIllus-Dot-SimpleEmptyDoc.js +8 -0
- package/dist/illustrations/sapIllus-Dot-SimpleEmptyList.js +7 -0
- package/dist/illustrations/sapIllus-Dot-SimpleError.js +9 -0
- package/dist/illustrations/sapIllus-Dot-SimpleMagnifier.js +7 -0
- package/dist/illustrations/sapIllus-Dot-SimpleMail.js +10 -0
- package/dist/illustrations/sapIllus-Dot-SimpleNoSavedItems.js +13 -0
- package/dist/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.js +11 -0
- package/dist/illustrations/sapIllus-Dot-SimpleReload.js +9 -0
- package/dist/illustrations/sapIllus-Dot-SimpleTask.js +13 -0
- package/dist/illustrations/sapIllus-Dot-SleepingBell.js +8 -0
- package/dist/illustrations/sapIllus-Dot-SortColumn.js +29 -0
- package/dist/illustrations/sapIllus-Dot-SuccessHighFive.js +7 -0
- package/dist/illustrations/sapIllus-Dot-SuccessScreen.js +5 -0
- package/dist/illustrations/sapIllus-Dot-Survey.js +8 -0
- package/dist/illustrations/sapIllus-Dot-Tent.js +8 -0
- package/dist/illustrations/sapIllus-Dot-UnableToLoadImage.js +9 -0
- package/dist/illustrations/sapIllus-Dot-UploadCollection.js +7 -0
- package/dist/illustrations/sapIllus-Dot-UploadToCloud.js +6 -0
- package/dist/illustrations/tnt/Avatar.d.ts +2 -1
- package/dist/illustrations/tnt/Avatar.js +3 -0
- package/dist/illustrations/tnt/Calculator.d.ts +2 -1
- package/dist/illustrations/tnt/Calculator.js +3 -0
- package/dist/illustrations/tnt/ChartArea.d.ts +2 -1
- package/dist/illustrations/tnt/ChartArea.js +3 -0
- package/dist/illustrations/tnt/ChartArea2.d.ts +2 -1
- package/dist/illustrations/tnt/ChartArea2.js +3 -0
- package/dist/illustrations/tnt/ChartBPMNFlow.d.ts +2 -1
- package/dist/illustrations/tnt/ChartBPMNFlow.js +3 -0
- package/dist/illustrations/tnt/ChartBar.d.ts +2 -1
- package/dist/illustrations/tnt/ChartBar.js +3 -0
- package/dist/illustrations/tnt/ChartBullet.d.ts +2 -1
- package/dist/illustrations/tnt/ChartBullet.js +3 -0
- package/dist/illustrations/tnt/ChartDoughnut.d.ts +2 -1
- package/dist/illustrations/tnt/ChartDoughnut.js +3 -0
- package/dist/illustrations/tnt/ChartFlow.d.ts +2 -1
- package/dist/illustrations/tnt/ChartFlow.js +3 -0
- package/dist/illustrations/tnt/ChartGantt.d.ts +2 -1
- package/dist/illustrations/tnt/ChartGantt.js +3 -0
- package/dist/illustrations/tnt/ChartOrg.d.ts +2 -1
- package/dist/illustrations/tnt/ChartOrg.js +3 -0
- package/dist/illustrations/tnt/ChartPie.d.ts +2 -1
- package/dist/illustrations/tnt/ChartPie.js +3 -0
- package/dist/illustrations/tnt/CodePlaceholder.d.ts +2 -1
- package/dist/illustrations/tnt/CodePlaceholder.js +3 -0
- package/dist/illustrations/tnt/Company.d.ts +2 -1
- package/dist/illustrations/tnt/Company.js +3 -0
- package/dist/illustrations/tnt/Compass.d.ts +2 -1
- package/dist/illustrations/tnt/Compass.js +3 -0
- package/dist/illustrations/tnt/Components.d.ts +2 -1
- package/dist/illustrations/tnt/Components.js +3 -0
- package/dist/illustrations/tnt/Dialog.d.ts +2 -1
- package/dist/illustrations/tnt/Dialog.js +3 -0
- package/dist/illustrations/tnt/ExternalLink.d.ts +2 -1
- package/dist/illustrations/tnt/ExternalLink.js +3 -0
- package/dist/illustrations/tnt/FaceID.d.ts +2 -1
- package/dist/illustrations/tnt/FaceID.js +3 -0
- package/dist/illustrations/tnt/Fingerprint.d.ts +2 -1
- package/dist/illustrations/tnt/Fingerprint.js +3 -0
- package/dist/illustrations/tnt/Handshake.d.ts +2 -1
- package/dist/illustrations/tnt/Handshake.js +3 -0
- package/dist/illustrations/tnt/Help.d.ts +2 -1
- package/dist/illustrations/tnt/Help.js +3 -0
- package/dist/illustrations/tnt/Lock.d.ts +2 -1
- package/dist/illustrations/tnt/Lock.js +3 -0
- package/dist/illustrations/tnt/Mission.d.ts +2 -1
- package/dist/illustrations/tnt/Mission.js +3 -0
- package/dist/illustrations/tnt/MissionFailed.d.ts +2 -1
- package/dist/illustrations/tnt/MissionFailed.js +3 -0
- package/dist/illustrations/tnt/NoApplications.d.ts +2 -1
- package/dist/illustrations/tnt/NoApplications.js +3 -0
- package/dist/illustrations/tnt/NoFlows.d.ts +2 -1
- package/dist/illustrations/tnt/NoFlows.js +3 -0
- package/dist/illustrations/tnt/NoUsers.d.ts +2 -1
- package/dist/illustrations/tnt/NoUsers.js +3 -0
- package/dist/illustrations/tnt/Radar.d.ts +2 -1
- package/dist/illustrations/tnt/Radar.js +3 -0
- package/dist/illustrations/tnt/RoadMap.d.ts +2 -1
- package/dist/illustrations/tnt/RoadMap.js +3 -0
- package/dist/illustrations/tnt/Secrets.d.ts +2 -1
- package/dist/illustrations/tnt/Secrets.js +3 -0
- package/dist/illustrations/tnt/Services.d.ts +2 -1
- package/dist/illustrations/tnt/Services.js +3 -0
- package/dist/illustrations/tnt/SessionExpired.d.ts +2 -1
- package/dist/illustrations/tnt/SessionExpired.js +3 -0
- package/dist/illustrations/tnt/SessionExpiring.d.ts +2 -1
- package/dist/illustrations/tnt/SessionExpiring.js +3 -0
- package/dist/illustrations/tnt/Settings.d.ts +2 -1
- package/dist/illustrations/tnt/Settings.js +3 -0
- package/dist/illustrations/tnt/Success.d.ts +2 -1
- package/dist/illustrations/tnt/Success.js +3 -0
- package/dist/illustrations/tnt/SuccessfulAuth.d.ts +2 -1
- package/dist/illustrations/tnt/SuccessfulAuth.js +3 -0
- package/dist/illustrations/tnt/Systems.d.ts +2 -1
- package/dist/illustrations/tnt/Systems.js +3 -0
- package/dist/illustrations/tnt/Teams.d.ts +2 -1
- package/dist/illustrations/tnt/Teams.js +3 -0
- package/dist/illustrations/tnt/Tools.d.ts +2 -1
- package/dist/illustrations/tnt/Tools.js +3 -0
- package/dist/illustrations/tnt/Tutorials.d.ts +2 -1
- package/dist/illustrations/tnt/Tutorials.js +3 -0
- package/dist/illustrations/tnt/UnableToLoad.d.ts +2 -1
- package/dist/illustrations/tnt/UnableToLoad.js +3 -0
- package/dist/illustrations/tnt/Unlock.d.ts +2 -1
- package/dist/illustrations/tnt/Unlock.js +3 -0
- package/dist/illustrations/tnt/UnsuccessfulAuth.d.ts +2 -1
- package/dist/illustrations/tnt/UnsuccessfulAuth.js +3 -0
- package/dist/illustrations/tnt/User2.d.ts +2 -1
- package/dist/illustrations/tnt/User2.js +3 -0
- package/dist/illustrations-v5/tnt/ChartArea.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartArea.js +3 -0
- package/dist/illustrations-v5/tnt/ChartArea2.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartArea2.js +3 -0
- package/dist/illustrations-v5/tnt/ChartBPMNFlow.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartBPMNFlow.js +3 -0
- package/dist/illustrations-v5/tnt/ChartBar.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartBar.js +3 -0
- package/dist/illustrations-v5/tnt/ChartBullet.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartBullet.js +3 -0
- package/dist/illustrations-v5/tnt/ChartDoughnut.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartDoughnut.js +3 -0
- package/dist/illustrations-v5/tnt/ChartFlow.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartFlow.js +3 -0
- package/dist/illustrations-v5/tnt/ChartGantt.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartGantt.js +3 -0
- package/dist/illustrations-v5/tnt/ChartOrg.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartOrg.js +3 -0
- package/dist/illustrations-v5/tnt/ChartPie.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ChartPie.js +3 -0
- package/dist/illustrations-v5/tnt/CodePlaceholder.d.ts +2 -1
- package/dist/illustrations-v5/tnt/CodePlaceholder.js +3 -0
- package/dist/illustrations-v5/tnt/Company.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Company.js +3 -0
- package/dist/illustrations-v5/tnt/Components.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Components.js +3 -0
- package/dist/illustrations-v5/tnt/EmptyContentPane.d.ts +2 -1
- package/dist/illustrations-v5/tnt/EmptyContentPane.js +3 -0
- package/dist/illustrations-v5/tnt/ExternalLink.d.ts +2 -1
- package/dist/illustrations-v5/tnt/ExternalLink.js +3 -0
- package/dist/illustrations-v5/tnt/FaceID.d.ts +2 -1
- package/dist/illustrations-v5/tnt/FaceID.js +3 -0
- package/dist/illustrations-v5/tnt/Fingerprint.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Fingerprint.js +3 -0
- package/dist/illustrations-v5/tnt/Lock.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Lock.js +3 -0
- package/dist/illustrations-v5/tnt/Mission.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Mission.js +3 -0
- package/dist/illustrations-v5/tnt/NoApplications.d.ts +2 -1
- package/dist/illustrations-v5/tnt/NoApplications.js +3 -0
- package/dist/illustrations-v5/tnt/NoFlows.d.ts +2 -1
- package/dist/illustrations-v5/tnt/NoFlows.js +3 -0
- package/dist/illustrations-v5/tnt/NoUsers.d.ts +2 -1
- package/dist/illustrations-v5/tnt/NoUsers.js +3 -0
- package/dist/illustrations-v5/tnt/Radar.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Radar.js +3 -0
- package/dist/illustrations-v5/tnt/Secrets.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Secrets.js +3 -0
- package/dist/illustrations-v5/tnt/Services.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Services.js +3 -0
- package/dist/illustrations-v5/tnt/SessionExpired.d.ts +2 -1
- package/dist/illustrations-v5/tnt/SessionExpired.js +3 -0
- package/dist/illustrations-v5/tnt/SessionExpiring.d.ts +2 -1
- package/dist/illustrations-v5/tnt/SessionExpiring.js +3 -0
- package/dist/illustrations-v5/tnt/Success.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Success.js +3 -0
- package/dist/illustrations-v5/tnt/SuccessfulAuth.d.ts +2 -1
- package/dist/illustrations-v5/tnt/SuccessfulAuth.js +3 -0
- package/dist/illustrations-v5/tnt/Systems.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Systems.js +3 -0
- package/dist/illustrations-v5/tnt/Teams.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Teams.js +3 -0
- package/dist/illustrations-v5/tnt/Tools.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Tools.js +3 -0
- package/dist/illustrations-v5/tnt/UnSuccessfulAuth.d.ts +2 -1
- package/dist/illustrations-v5/tnt/UnSuccessfulAuth.js +3 -0
- package/dist/illustrations-v5/tnt/Unlock.d.ts +2 -1
- package/dist/illustrations-v5/tnt/Unlock.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Avatar.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Avatar.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Calculator.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Calculator.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartArea.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartArea.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartArea2.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartArea2.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartBPMNFlow.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartBPMNFlow.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartBar.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartBar.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartBullet.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartBullet.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartDoughnut.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartDoughnut.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartFlow.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartFlow.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartGantt.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartGantt.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartOrg.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartOrg.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ChartPie.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ChartPie.js +3 -0
- package/dist/illustrations-v5/tnt/hc/CodePlaceholder.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/CodePlaceholder.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Company.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Company.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Compass.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Compass.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Components.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Components.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Dialog.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Dialog.js +3 -0
- package/dist/illustrations-v5/tnt/hc/EmptyContentPane.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/EmptyContentPane.js +3 -0
- package/dist/illustrations-v5/tnt/hc/ExternalLink.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/ExternalLink.js +3 -0
- package/dist/illustrations-v5/tnt/hc/FaceID.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/FaceID.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Fingerprint.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Fingerprint.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Handshake.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Handshake.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Help.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Help.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Lock.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Lock.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Mission.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Mission.js +3 -0
- package/dist/illustrations-v5/tnt/hc/MissionFailed.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/MissionFailed.js +3 -0
- package/dist/illustrations-v5/tnt/hc/NoApplications.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/NoApplications.js +3 -0
- package/dist/illustrations-v5/tnt/hc/NoFlows.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/NoFlows.js +3 -0
- package/dist/illustrations-v5/tnt/hc/NoUsers.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/NoUsers.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Radar.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Radar.js +3 -0
- package/dist/illustrations-v5/tnt/hc/RoadMap.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/RoadMap.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Secrets.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Secrets.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Services.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Services.js +3 -0
- package/dist/illustrations-v5/tnt/hc/SessionExpired.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/SessionExpired.js +3 -0
- package/dist/illustrations-v5/tnt/hc/SessionExpiring.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/SessionExpiring.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Settings.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Settings.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Success.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Success.js +3 -0
- package/dist/illustrations-v5/tnt/hc/SuccessfulAuth.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/SuccessfulAuth.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Systems.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Systems.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Teams.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Teams.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Tools.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Tools.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Tutorials.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Tutorials.js +3 -0
- package/dist/illustrations-v5/tnt/hc/UnSuccessfulAuth.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/UnSuccessfulAuth.js +3 -0
- package/dist/illustrations-v5/tnt/hc/Unlock.d.ts +2 -1
- package/dist/illustrations-v5/tnt/hc/Unlock.js +3 -0
- package/dist/types/BarDesign.d.ts +0 -1
- package/dist/types/BarDesign.js +0 -1
- package/dist/types/BarDesign.js.map +1 -1
- package/dist/types/FCLLayout.d.ts +0 -9
- package/dist/types/FCLLayout.js +0 -9
- package/dist/types/FCLLayout.js.map +1 -1
- package/dist/types/IllustrationMessageSize.d.ts +12 -10
- package/dist/types/IllustrationMessageSize.js +12 -10
- package/dist/types/IllustrationMessageSize.js.map +1 -1
- package/dist/types/IllustrationMessageType.d.ts +0 -1
- package/dist/types/IllustrationMessageType.js +0 -1
- package/dist/types/IllustrationMessageType.js.map +1 -1
- package/dist/types/MediaGalleryItemLayout.d.ts +1 -2
- package/dist/types/MediaGalleryItemLayout.js +1 -2
- package/dist/types/MediaGalleryItemLayout.js.map +1 -1
- package/dist/types/MediaGalleryLayout.d.ts +1 -2
- package/dist/types/MediaGalleryLayout.js +1 -2
- package/dist/types/MediaGalleryLayout.js.map +1 -1
- package/dist/types/MediaGalleryMenuHorizontalAlign.d.ts +1 -2
- package/dist/types/MediaGalleryMenuHorizontalAlign.js +1 -2
- package/dist/types/MediaGalleryMenuHorizontalAlign.js.map +1 -1
- package/dist/types/MediaGalleryMenuVerticalAlign.d.ts +1 -2
- package/dist/types/MediaGalleryMenuVerticalAlign.js +1 -2
- package/dist/types/MediaGalleryMenuVerticalAlign.js.map +1 -1
- package/dist/types/PageBackgroundDesign.d.ts +0 -4
- package/dist/types/PageBackgroundDesign.js +0 -4
- package/dist/types/PageBackgroundDesign.js.map +1 -1
- package/dist/types/SideContentFallDown.d.ts +0 -1
- package/dist/types/SideContentFallDown.js +0 -1
- package/dist/types/SideContentFallDown.js.map +1 -1
- package/dist/types/SideContentPosition.d.ts +0 -1
- package/dist/types/SideContentPosition.js +0 -1
- package/dist/types/SideContentPosition.js.map +1 -1
- package/dist/types/SideContentVisibility.d.ts +0 -1
- package/dist/types/SideContentVisibility.js +0 -1
- package/dist/types/SideContentVisibility.js.map +1 -1
- package/dist/types/TimelineLayout.d.ts +0 -1
- package/dist/types/TimelineLayout.js +0 -1
- package/dist/types/TimelineLayout.js.map +1 -1
- package/dist/types/UploadCollectionDnDMode.d.ts +0 -1
- package/dist/types/UploadCollectionDnDMode.js +0 -1
- package/dist/types/UploadCollectionDnDMode.js.map +1 -1
- package/dist/types/UploadState.d.ts +0 -1
- package/dist/types/UploadState.js +0 -1
- package/dist/types/UploadState.js.map +1 -1
- package/dist/types/ViewSettingsDialogMode.d.ts +0 -1
- package/dist/types/ViewSettingsDialogMode.js +0 -1
- package/dist/types/ViewSettingsDialogMode.js.map +1 -1
- package/dist/types/WizardContentLayout.d.ts +3 -4
- package/dist/types/WizardContentLayout.js +3 -4
- package/dist/types/WizardContentLayout.js.map +1 -1
- package/package.json +7 -7
- package/src/IllustratedMessage.hbs +25 -22
- package/src/i18n/messagebundle_sk.properties +6 -6
- package/src/i18n/messagebundle_th.properties +6 -6
- package/src/illustrations/sapIllus-Dot-AddColumn.svg +26 -0
- package/src/illustrations/sapIllus-Dot-AddDimensions.svg +15 -0
- package/src/illustrations/sapIllus-Dot-AddPeople.svg +8 -0
- package/src/illustrations/sapIllus-Dot-BalloonSky.svg +6 -0
- package/src/illustrations/sapIllus-Dot-Connection.svg +9 -0
- package/src/illustrations/sapIllus-Dot-EmptyCalendar.svg +36 -0
- package/src/illustrations/sapIllus-Dot-EmptyList.svg +6 -0
- package/src/illustrations/sapIllus-Dot-EmptyPlanningCalendar.svg +36 -0
- package/src/illustrations/sapIllus-Dot-ErrorScreen.svg +8 -0
- package/src/illustrations/sapIllus-Dot-FilterTable.svg +7 -0
- package/src/illustrations/sapIllus-Dot-GroupTable.svg +35 -0
- package/src/illustrations/sapIllus-Dot-NoColumnsSet.svg +6 -0
- package/src/illustrations/sapIllus-Dot-NoDimensionsSet.svg +6 -0
- package/src/illustrations/sapIllus-Dot-NoFilterResults.svg +7 -0
- package/src/illustrations/sapIllus-Dot-NoMail_v1.svg +9 -0
- package/src/illustrations/sapIllus-Dot-NoSavedItems_v1.svg +12 -0
- package/src/illustrations/sapIllus-Dot-NoSearchResults.svg +10 -0
- package/src/illustrations/sapIllus-Dot-NoTasks_v1.svg +12 -0
- package/src/illustrations/sapIllus-Dot-PageNotFound.svg +6 -0
- package/src/illustrations/sapIllus-Dot-ReloadScreen.svg +8 -0
- package/src/illustrations/sapIllus-Dot-ResizeColumn.svg +26 -0
- package/src/illustrations/sapIllus-Dot-SearchEarth.svg +6 -0
- package/src/illustrations/sapIllus-Dot-SearchFolder.svg +10 -0
- package/src/illustrations/sapIllus-Dot-SimpleBalloon.svg +6 -0
- package/src/illustrations/sapIllus-Dot-SimpleBell.svg +7 -0
- package/src/illustrations/sapIllus-Dot-SimpleCalendar.svg +36 -0
- package/src/illustrations/sapIllus-Dot-SimpleCheckMark.svg +4 -0
- package/src/illustrations/sapIllus-Dot-SimpleConnection.svg +9 -0
- package/src/illustrations/sapIllus-Dot-SimpleEmptyDoc.svg +7 -0
- package/src/illustrations/sapIllus-Dot-SimpleEmptyList.svg +6 -0
- package/src/illustrations/sapIllus-Dot-SimpleError.svg +8 -0
- package/src/illustrations/sapIllus-Dot-SimpleMagnifier.svg +6 -0
- package/src/illustrations/sapIllus-Dot-SimpleMail.svg +9 -0
- package/src/illustrations/sapIllus-Dot-SimpleNoSavedItems.svg +12 -0
- package/src/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.svg +10 -0
- package/src/illustrations/sapIllus-Dot-SimpleReload.svg +8 -0
- package/src/illustrations/sapIllus-Dot-SimpleTask.svg +12 -0
- package/src/illustrations/sapIllus-Dot-SleepingBell.svg +7 -0
- package/src/illustrations/sapIllus-Dot-SortColumn.svg +28 -0
- package/src/illustrations/sapIllus-Dot-SuccessHighFive.svg +6 -0
- package/src/illustrations/sapIllus-Dot-SuccessScreen.svg +4 -0
- package/src/illustrations/sapIllus-Dot-Survey.svg +7 -0
- package/src/illustrations/sapIllus-Dot-Tent.svg +7 -0
- package/src/illustrations/sapIllus-Dot-UnableToLoadImage.svg +8 -0
- package/src/illustrations/sapIllus-Dot-UploadCollection.svg +6 -0
- package/src/illustrations/sapIllus-Dot-UploadToCloud.svg +5 -0
- package/src/themes/IllustratedMessage.css +37 -1
|
@@ -14,8 +14,7 @@ type NotificationListItemBaseCloseEventDetail = {
|
|
|
14
14
|
/**
|
|
15
15
|
* @class
|
|
16
16
|
*
|
|
17
|
-
* The base class of the
|
|
18
|
-
*
|
|
17
|
+
* The base class of the `NotificationListItem` and `NotificationListGroupItem`.
|
|
19
18
|
* @constructor
|
|
20
19
|
* @extends ListItemBase
|
|
21
20
|
* @since 1.0.0-rc.8
|
|
@@ -23,28 +22,27 @@ type NotificationListItemBaseCloseEventDetail = {
|
|
|
23
22
|
*/
|
|
24
23
|
declare class NotificationListItemBase extends ListItemBase {
|
|
25
24
|
/**
|
|
26
|
-
* Defines the
|
|
25
|
+
* Defines the `titleText` of the item.
|
|
27
26
|
* @default ""
|
|
28
27
|
* @public
|
|
29
28
|
*/
|
|
30
29
|
titleText: string;
|
|
31
30
|
/**
|
|
32
|
-
* Defines the
|
|
33
|
-
*
|
|
31
|
+
* Defines the `priority` of the item.
|
|
34
32
|
* @default "None"
|
|
35
33
|
* @public
|
|
36
34
|
*/
|
|
37
35
|
priority: `${Priority}`;
|
|
38
36
|
/**
|
|
39
|
-
* Defines if the
|
|
37
|
+
* Defines if the `close` button would be displayed.
|
|
40
38
|
* @default false
|
|
41
39
|
* @public
|
|
42
40
|
*/
|
|
43
41
|
showClose: boolean;
|
|
44
42
|
/**
|
|
45
|
-
* Defines if the
|
|
46
|
-
*
|
|
47
|
-
*
|
|
43
|
+
* Defines if the `notification` is new or has been already read.
|
|
44
|
+
*
|
|
45
|
+
* **Note:** if set to `false` the `titleText` has bold font,
|
|
48
46
|
* if set to true - it has a normal font.
|
|
49
47
|
* @default false
|
|
50
48
|
* @public
|
|
@@ -59,16 +57,14 @@ declare class NotificationListItemBase extends ListItemBase {
|
|
|
59
57
|
busy: boolean;
|
|
60
58
|
/**
|
|
61
59
|
* Defines the delay in milliseconds, after which the busy indicator will show up for this component.
|
|
62
|
-
*
|
|
63
60
|
* @default 1000
|
|
64
61
|
* @public
|
|
65
62
|
*/
|
|
66
63
|
busyDelay: number;
|
|
67
64
|
/**
|
|
68
65
|
* Defines the actions, displayed in the top-right area.
|
|
69
|
-
* <br><br>
|
|
70
|
-
* <b>Note:</b> use the <code>ui5-notification-action</code> component.
|
|
71
66
|
*
|
|
67
|
+
* **Note:** use the `ui5-notification-action` component.
|
|
72
68
|
* @public
|
|
73
69
|
*/
|
|
74
70
|
actions: Array<NotificationAction>;
|
|
@@ -37,8 +37,7 @@ const ICON_PER_PRIORITY = {
|
|
|
37
37
|
/**
|
|
38
38
|
* @class
|
|
39
39
|
*
|
|
40
|
-
* The base class of the
|
|
41
|
-
*
|
|
40
|
+
* The base class of the `NotificationListItem` and `NotificationListGroupItem`.
|
|
42
41
|
* @constructor
|
|
43
42
|
* @extends ListItemBase
|
|
44
43
|
* @since 1.0.0-rc.8
|
|
@@ -155,8 +154,7 @@ NotificationListItemBase = NotificationListItemBase_1 = __decorate([
|
|
|
155
154
|
staticAreaTemplate: NotificationOverflowActionsPopoverTemplate,
|
|
156
155
|
})
|
|
157
156
|
/**
|
|
158
|
-
* Fired when the
|
|
159
|
-
*
|
|
157
|
+
* Fired when the `Close` button is pressed.
|
|
160
158
|
* @param {HTMLElement} item the closed item.
|
|
161
159
|
* @public
|
|
162
160
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationListItemBase.js","sourceRoot":"","sources":["../src/NotificationListItemBase.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAA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AAQ,CAAC,IAAI,EAAE,CAAC;0DACjC;AAQzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;2DACR;AAWpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACb;AASf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACb;AASf;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;2DAClC;AAUnB;IADC,IAAI,EAAE;yDAC4B;AA/D9B,wBAAwB;IArB7B,aAAa,CAAC;QACd,gBAAgB,EAAE,qCAAqC;QACvD,kBAAkB,EAAE,0CAA0C;KAC9D,CAAC;IAEF;;;;;OAKG;;IACF,KAAK,CAA2C,OAAO,EAAE;QACxD,MAAM,EAAE;YACR;;eAEG;YACH,IAAI,EAAE;gBACL,IAAI,EAAE,WAAW;aACjB;SACD;KACD,CAAC;GACI,wBAAwB,CA0K7B;AAED,eAAe,wBAAwB,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport { isSpace } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport ListItemBase from \"@ui5/webcomponents/dist/ListItemBase.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport Priority from \"@ui5/webcomponents/dist/types/Priority.js\";\nimport type Popover from \"@ui5/webcomponents/dist/Popover.js\";\nimport type NotificationAction from \"./NotificationAction.js\";\n\n// Icons\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\nimport \"@ui5/webcomponents-icons/dist/message-success.js\";\nimport \"@ui5/webcomponents-icons/dist/message-error.js\";\nimport \"@ui5/webcomponents-icons/dist/message-warning.js\";\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\n\n// Templates\nimport NotificationOverflowActionsPopoverTemplate from \"./generated/templates/NotificationOverflowActionsPopoverTemplate.lit.js\";\n\n// Styles\nimport NotificationOverflowActionsPopoverCss from \"./generated/themes/NotificationOverflowActionsPopover.css.js\";\n\n/**\n * Defines the icons corresponding to the notification's priority.\n */\nconst ICON_PER_PRIORITY = {\n\t[Priority.High]: \"message-error\",\n\t[Priority.Medium]: \"message-warning\",\n\t[Priority.Low]: \"message-success\",\n\t[Priority.None]: \"\",\n};\n\ntype NotificationListItemBaseCloseEventDetail = {\n\titem: HTMLElement,\n};\n\n/**\n * @class\n *\n * The base class of the <code>NotificationListItem</code> and <code>NotificationListGroupItem</code>.\n *\n * @constructor\n * @extends ListItemBase\n * @since 1.0.0-rc.8\n * @public\n */\n@customElement({\n\tstaticAreaStyles: NotificationOverflowActionsPopoverCss,\n\tstaticAreaTemplate: NotificationOverflowActionsPopoverTemplate,\n})\n\n/**\n * Fired when the <code>Close</code> button is pressed.\n *\n * @param {HTMLElement} item the closed item.\n * @public\n */\n@event<NotificationListItemBaseCloseEventDetail>(\"close\", {\n\t detail: {\n\t\t/**\n\t\t * @public\n\t\t */\n\t\titem: {\n\t\t\ttype: HTMLElement,\n\t\t},\n\t},\n})\nclass NotificationListItemBase extends ListItemBase {\n\t/**\n\t * Defines the <code>titleText</code> of the item.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttitleText!: string;\n\n\t/**\n\t * Defines the <code>priority</code> of the item.\n\t *\n\t * @default \"None\"\n\t * @public\n\t */\n\t@property({ type: Priority, defaultValue: Priority.None })\n\tpriority!: `${Priority}`;\n\n\t/**\n\t * Defines if the <code>close</code> button would be displayed.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowClose!: boolean;\n\n\t/**\n\t * Defines if the <code>notification</code> is new or has been already read.\n\t * <br><br>\n\t * <b>Note:</b> if set to <code>false</code> the <code>titleText</code> has bold font,\n\t * if set to true - it has a normal font.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tread!: boolean;\n\n\t/**\n\t * Defines if a busy indicator would be displayed over the item.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.8\n\t */\n\t@property({ type: Boolean })\n\tbusy!: boolean;\n\n\t/**\n\t * Defines the delay in milliseconds, after which the busy indicator will show up for this component.\n\t *\n\t * @default 1000\n\t * @public\n\t */\n\t@property({ validator: Integer, defaultValue: 1000 })\n\tbusyDelay!: number;\n\n\t/**\n\t * Defines the actions, displayed in the top-right area.\n\t * <br><br>\n\t * <b>Note:</b> use the <code>ui5-notification-action</code> component.\n\t *\n\t * @public\n\t */\n\t@slot()\n\tactions!: Array<NotificationAction>\n\n\tstatic i18nFioriBundle: I18nBundle;\n\n\tget hasTitleText() {\n\t\treturn !!this.titleText.length;\n\t}\n\n\tget hasPriority() {\n\t\treturn this.priority !== Priority.None;\n\t}\n\n\tget priorityIcon() {\n\t\treturn ICON_PER_PRIORITY[this.priority];\n\t}\n\n\tget overflowButtonDOM() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-nli-overflow-btn\")!;\n\t}\n\n\tget showOverflow() {\n\t\treturn !!this.overflowActions.length;\n\t}\n\n\tget overflowActions() {\n\t\tif (this.actions.length <= 1) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn this.actionsInfo;\n\t}\n\n\tget standardActions() {\n\t\tif (this.actions.length > 1) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn this.actionsInfo;\n\t}\n\n\tget actionsInfo() {\n\t\treturn this.actions.map(action => {\n\t\t\treturn {\n\t\t\t\ticon: action.icon,\n\t\t\t\ttext: action.text,\n\t\t\t\tpress: this._onCustomActionClick.bind(this),\n\t\t\t\trefItemid: action._id,\n\t\t\t\tdisabled: action.disabled ? true : undefined,\n\t\t\t\tdesign: action.design,\n\t\t\t};\n\t\t});\n\t}\n\n\t/**\n\t * Event handlers\n\t */\n\t_onBtnCloseClick() {\n\t\tthis.fireEvent<NotificationListItemBaseCloseEventDetail>(\"close\", { item: this });\n\t}\n\n\t_onBtnOverflowClick() {\n\t\tthis.openOverflow();\n\t}\n\n\t_onCustomActionClick(e: MouseEvent) {\n\t\tconst refItemId = (e.target as Element).getAttribute(\"data-ui5-external-action-item-id\");\n\n\t\tif (refItemId) {\n\t\t\tthis.getActionByID(refItemId)!.fireClickEvent(e);\n\t\t\tthis.closeOverflow();\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tsuper._onkeydown(e);\n\n\t\tif (getEventMark(e) === \"button\") {\n\t\t\treturn;\n\t\t}\n\n\t\tif (isSpace(e)) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\tgetActionByID(id: string) {\n\t\treturn this.actions.find(action => action._id === id);\n\t}\n\n\tasync openOverflow() {\n\t\tconst overflowPopover = await this.getOverflowPopover();\n\t\toverflowPopover.showAt(this.overflowButtonDOM);\n\t}\n\n\tasync closeOverflow() {\n\t\tconst overflowPopover = await this.getOverflowPopover();\n\t\toverflowPopover.close();\n\t}\n\n\tasync getOverflowPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Popover>(\".ui5-notification-overflow-popover\")!;\n\t}\n\n\tstatic async onDefine() {\n\t\tNotificationListItemBase.i18nFioriBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n}\n\nexport default NotificationListItemBase;\nexport type {\n\tNotificationListItemBaseCloseEventDetail,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"NotificationListItemBase.js","sourceRoot":"","sources":["../src/NotificationListItemBase.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,O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E,QAAQ,CAAC,IAAI,EAAE,CAAC;0DACjC;AAQzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;2DACR;AAWpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACb;AASf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACb;AAQf;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;2DAClC;AASnB;IADC,IAAI,EAAE;yDAC4B;AA5D9B,wBAAwB;IApB7B,aAAa,CAAC;QACd,gBAAgB,EAAE,qCAAqC;QACvD,kBAAkB,EAAE,0CAA0C;KAC9D,CAAC;IAEF;;;;OAIG;;IACF,KAAK,CAA2C,OAAO,EAAE;QACxD,MAAM,EAAE;YACR;;eAEG;YACH,IAAI,EAAE;gBACL,IAAI,EAAE,WAAW;aACjB;SACD;KACD,CAAC;GACI,wBAAwB,CAuK7B;AAED,eAAe,wBAAwB,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport { isSpace } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport ListItemBase from \"@ui5/webcomponents/dist/ListItemBase.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport Priority from \"@ui5/webcomponents/dist/types/Priority.js\";\nimport type Popover from \"@ui5/webcomponents/dist/Popover.js\";\nimport type NotificationAction from \"./NotificationAction.js\";\n\n// Icons\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\nimport \"@ui5/webcomponents-icons/dist/message-success.js\";\nimport \"@ui5/webcomponents-icons/dist/message-error.js\";\nimport \"@ui5/webcomponents-icons/dist/message-warning.js\";\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\n\n// Templates\nimport NotificationOverflowActionsPopoverTemplate from \"./generated/templates/NotificationOverflowActionsPopoverTemplate.lit.js\";\n\n// Styles\nimport NotificationOverflowActionsPopoverCss from \"./generated/themes/NotificationOverflowActionsPopover.css.js\";\n\n/**\n * Defines the icons corresponding to the notification's priority.\n */\nconst ICON_PER_PRIORITY = {\n\t[Priority.High]: \"message-error\",\n\t[Priority.Medium]: \"message-warning\",\n\t[Priority.Low]: \"message-success\",\n\t[Priority.None]: \"\",\n};\n\ntype NotificationListItemBaseCloseEventDetail = {\n\titem: HTMLElement,\n};\n\n/**\n * @class\n *\n * The base class of the `NotificationListItem` and `NotificationListGroupItem`.\n * @constructor\n * @extends ListItemBase\n * @since 1.0.0-rc.8\n * @public\n */\n@customElement({\n\tstaticAreaStyles: NotificationOverflowActionsPopoverCss,\n\tstaticAreaTemplate: NotificationOverflowActionsPopoverTemplate,\n})\n\n/**\n * Fired when the `Close` button is pressed.\n * @param {HTMLElement} item the closed item.\n * @public\n */\n@event<NotificationListItemBaseCloseEventDetail>(\"close\", {\n\t detail: {\n\t\t/**\n\t\t * @public\n\t\t */\n\t\titem: {\n\t\t\ttype: HTMLElement,\n\t\t},\n\t},\n})\nclass NotificationListItemBase extends ListItemBase {\n\t/**\n\t * Defines the `titleText` of the item.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttitleText!: string;\n\n\t/**\n\t * Defines the `priority` of the item.\n\t * @default \"None\"\n\t * @public\n\t */\n\t@property({ type: Priority, defaultValue: Priority.None })\n\tpriority!: `${Priority}`;\n\n\t/**\n\t * Defines if the `close` button would be displayed.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowClose!: boolean;\n\n\t/**\n\t * Defines if the `notification` is new or has been already read.\n\t *\n\t * **Note:** if set to `false` the `titleText` has bold font,\n\t * if set to true - it has a normal font.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tread!: boolean;\n\n\t/**\n\t * Defines if a busy indicator would be displayed over the item.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.8\n\t */\n\t@property({ type: Boolean })\n\tbusy!: boolean;\n\n\t/**\n\t * Defines the delay in milliseconds, after which the busy indicator will show up for this component.\n\t * @default 1000\n\t * @public\n\t */\n\t@property({ validator: Integer, defaultValue: 1000 })\n\tbusyDelay!: number;\n\n\t/**\n\t * Defines the actions, displayed in the top-right area.\n\t *\n\t * **Note:** use the `ui5-notification-action` component.\n\t * @public\n\t */\n\t@slot()\n\tactions!: Array<NotificationAction>\n\n\tstatic i18nFioriBundle: I18nBundle;\n\n\tget hasTitleText() {\n\t\treturn !!this.titleText.length;\n\t}\n\n\tget hasPriority() {\n\t\treturn this.priority !== Priority.None;\n\t}\n\n\tget priorityIcon() {\n\t\treturn ICON_PER_PRIORITY[this.priority];\n\t}\n\n\tget overflowButtonDOM() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-nli-overflow-btn\")!;\n\t}\n\n\tget showOverflow() {\n\t\treturn !!this.overflowActions.length;\n\t}\n\n\tget overflowActions() {\n\t\tif (this.actions.length <= 1) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn this.actionsInfo;\n\t}\n\n\tget standardActions() {\n\t\tif (this.actions.length > 1) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn this.actionsInfo;\n\t}\n\n\tget actionsInfo() {\n\t\treturn this.actions.map(action => {\n\t\t\treturn {\n\t\t\t\ticon: action.icon,\n\t\t\t\ttext: action.text,\n\t\t\t\tpress: this._onCustomActionClick.bind(this),\n\t\t\t\trefItemid: action._id,\n\t\t\t\tdisabled: action.disabled ? true : undefined,\n\t\t\t\tdesign: action.design,\n\t\t\t};\n\t\t});\n\t}\n\n\t/**\n\t * Event handlers\n\t */\n\t_onBtnCloseClick() {\n\t\tthis.fireEvent<NotificationListItemBaseCloseEventDetail>(\"close\", { item: this });\n\t}\n\n\t_onBtnOverflowClick() {\n\t\tthis.openOverflow();\n\t}\n\n\t_onCustomActionClick(e: MouseEvent) {\n\t\tconst refItemId = (e.target as Element).getAttribute(\"data-ui5-external-action-item-id\");\n\n\t\tif (refItemId) {\n\t\t\tthis.getActionByID(refItemId)!.fireClickEvent(e);\n\t\t\tthis.closeOverflow();\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tsuper._onkeydown(e);\n\n\t\tif (getEventMark(e) === \"button\") {\n\t\t\treturn;\n\t\t}\n\n\t\tif (isSpace(e)) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\tgetActionByID(id: string) {\n\t\treturn this.actions.find(action => action._id === id);\n\t}\n\n\tasync openOverflow() {\n\t\tconst overflowPopover = await this.getOverflowPopover();\n\t\toverflowPopover.showAt(this.overflowButtonDOM);\n\t}\n\n\tasync closeOverflow() {\n\t\tconst overflowPopover = await this.getOverflowPopover();\n\t\toverflowPopover.close();\n\t}\n\n\tasync getOverflowPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Popover>(\".ui5-notification-overflow-popover\")!;\n\t}\n\n\tstatic async onDefine() {\n\t\tNotificationListItemBase.i18nFioriBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n}\n\nexport default NotificationListItemBase;\nexport type {\n\tNotificationListItemBaseCloseEventDetail,\n};\n"]}
|
package/dist/Page.d.ts
CHANGED
|
@@ -4,28 +4,27 @@ import PageBackgroundDesign from "./types/PageBackgroundDesign.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* @class
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* ### Overview
|
|
8
8
|
*
|
|
9
|
-
* The
|
|
9
|
+
* The `ui5-page` is a container component that holds one whole screen of an application.
|
|
10
10
|
* The page has three distinct areas that can hold content - a header, content area and a footer.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* ### Structure
|
|
12
|
+
* #### Header
|
|
13
13
|
* The top most area of the page is occupied by the header. The standard header includes a navigation button and a title.
|
|
14
|
-
*
|
|
14
|
+
* #### Content
|
|
15
15
|
* The content occupies the main part of the page. Only the content area is scrollable by default.
|
|
16
|
-
* This can be prevented by setting
|
|
17
|
-
*
|
|
16
|
+
* This can be prevented by setting `enableScrolling` to `false`.
|
|
17
|
+
* #### Footer
|
|
18
18
|
* The footer is optional and occupies the fixed bottom part of the page. Alternatively, the footer can be floating above the bottom part of the content.
|
|
19
|
-
* This is enabled with the
|
|
19
|
+
* This is enabled with the `floatingFooter` property.
|
|
20
20
|
*
|
|
21
|
-
*
|
|
22
|
-
* that there is enough space for the
|
|
23
|
-
*
|
|
21
|
+
* **Note:** `ui5-page` occipues the whole available space of its parent. In order to achieve the intended design you have to make sure
|
|
22
|
+
* that there is enough space for the `ui5-page` to be rendered.
|
|
23
|
+
* **Note:** In order for the `ui5-page` to be displayed, the parent element should have fixed height.
|
|
24
24
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* <code>import "@ui5/webcomponents-fiori/dist/Page.js";</code>
|
|
25
|
+
* ### ES6 Module Import
|
|
28
26
|
*
|
|
27
|
+
* `import "@ui5/webcomponents-fiori/dist/Page.js";`
|
|
29
28
|
* @constructor
|
|
30
29
|
* @extends UI5Element
|
|
31
30
|
* @since 1.0.0-rc.12
|
|
@@ -34,11 +33,9 @@ import PageBackgroundDesign from "./types/PageBackgroundDesign.js";
|
|
|
34
33
|
*/
|
|
35
34
|
declare class Page extends UI5Element {
|
|
36
35
|
/**
|
|
37
|
-
* Defines the background color of the
|
|
38
|
-
* <br><br>
|
|
39
|
-
* <b>Note:</b> When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.
|
|
40
|
-
* <br><br>
|
|
36
|
+
* Defines the background color of the `ui5-page`.
|
|
41
37
|
*
|
|
38
|
+
* **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.
|
|
42
39
|
* @default "Solid"
|
|
43
40
|
* @public
|
|
44
41
|
*/
|
|
@@ -46,49 +43,42 @@ declare class Page extends UI5Element {
|
|
|
46
43
|
/**
|
|
47
44
|
* Disables vertical scrolling of page content.
|
|
48
45
|
* If set to true, there will be no vertical scrolling at all.
|
|
49
|
-
*
|
|
50
46
|
* @default false
|
|
51
47
|
* @public
|
|
52
48
|
*/
|
|
53
49
|
disableScrolling: boolean;
|
|
54
50
|
/**
|
|
55
51
|
* Defines if the footer should float over the content.
|
|
56
|
-
* <br><br>
|
|
57
|
-
* <b>Note:</b> When set to true the footer floats over the content with a slight offset from the bottom, otherwise it is fixed at the very bottom of the page.
|
|
58
52
|
*
|
|
53
|
+
* **Note:** When set to true the footer floats over the content with a slight offset from the bottom, otherwise it is fixed at the very bottom of the page.
|
|
59
54
|
* @default true
|
|
60
55
|
* @public
|
|
61
56
|
*/
|
|
62
57
|
floatingFooter: boolean;
|
|
63
58
|
/**
|
|
64
59
|
* Defines the footer visibility.
|
|
65
|
-
*
|
|
66
60
|
* @default false
|
|
67
61
|
* @public
|
|
68
62
|
*/
|
|
69
63
|
hideFooter: boolean;
|
|
70
64
|
/**
|
|
71
65
|
* Defines the current media query size.
|
|
72
|
-
*
|
|
73
66
|
* @private
|
|
74
67
|
* @since 1.0.0-rc.15
|
|
75
68
|
*/
|
|
76
69
|
mediaRange: string;
|
|
77
70
|
/**
|
|
78
71
|
* Defines the header HTML Element.
|
|
79
|
-
*
|
|
80
72
|
* @public
|
|
81
73
|
*/
|
|
82
74
|
header: Array<HTMLElement>;
|
|
83
75
|
/**
|
|
84
76
|
* Defines the content HTML Element.
|
|
85
|
-
*
|
|
86
77
|
* @public
|
|
87
78
|
*/
|
|
88
79
|
content: Array<HTMLElement>;
|
|
89
80
|
/**
|
|
90
81
|
* Defines the footer HTML Element.
|
|
91
|
-
*
|
|
92
82
|
* @public
|
|
93
83
|
*/
|
|
94
84
|
footer: Array<HTMLElement>;
|
package/dist/Page.js
CHANGED
|
@@ -20,28 +20,27 @@ import PageCss from "./generated/themes/Page.css.js";
|
|
|
20
20
|
/**
|
|
21
21
|
* @class
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* ### Overview
|
|
24
24
|
*
|
|
25
|
-
* The
|
|
25
|
+
* The `ui5-page` is a container component that holds one whole screen of an application.
|
|
26
26
|
* The page has three distinct areas that can hold content - a header, content area and a footer.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* ### Structure
|
|
28
|
+
* #### Header
|
|
29
29
|
* The top most area of the page is occupied by the header. The standard header includes a navigation button and a title.
|
|
30
|
-
*
|
|
30
|
+
* #### Content
|
|
31
31
|
* The content occupies the main part of the page. Only the content area is scrollable by default.
|
|
32
|
-
* This can be prevented by setting
|
|
33
|
-
*
|
|
32
|
+
* This can be prevented by setting `enableScrolling` to `false`.
|
|
33
|
+
* #### Footer
|
|
34
34
|
* The footer is optional and occupies the fixed bottom part of the page. Alternatively, the footer can be floating above the bottom part of the content.
|
|
35
|
-
* This is enabled with the
|
|
35
|
+
* This is enabled with the `floatingFooter` property.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
38
|
-
* that there is enough space for the
|
|
39
|
-
*
|
|
37
|
+
* **Note:** `ui5-page` occipues the whole available space of its parent. In order to achieve the intended design you have to make sure
|
|
38
|
+
* that there is enough space for the `ui5-page` to be rendered.
|
|
39
|
+
* **Note:** In order for the `ui5-page` to be displayed, the parent element should have fixed height.
|
|
40
40
|
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* <code>import "@ui5/webcomponents-fiori/dist/Page.js";</code>
|
|
41
|
+
* ### ES6 Module Import
|
|
44
42
|
*
|
|
43
|
+
* `import "@ui5/webcomponents-fiori/dist/Page.js";`
|
|
45
44
|
* @constructor
|
|
46
45
|
* @extends UI5Element
|
|
47
46
|
* @since 1.0.0-rc.12
|
package/dist/Page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Page.js","sourceRoot":"","sources":["../src/Page.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,mBAAmB,MAAM,kEAAkE,CAAC;AACnG,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AAEnE,WAAW;AACX,OAAO,YAAY,MAAM,2CAA2C,CAAC;AAErE,SAAS;AACT,OAAO,OAAO,MAAM,gCAAgC,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"Page.js","sourceRoot":"","sources":["../src/Page.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,mBAAmB,MAAM,kEAAkE,CAAC;AACnG,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AAEnE,WAAW;AACX,OAAO,YAAY,MAAM,2CAA2C,CAAC;AAErE,SAAS;AACT,OAAO,OAAO,MAAM,gCAAgC,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAWH,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,UAAU;IAqE5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,EAAE,oBAAoB,EAAE,YAAY,EAAE,oBAAoB,CAAC,KAAK,EAAE,CAAC;8CACtC;AAS7C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8CACD;AAU3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;4CACH;AAQzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;wCACP;AAQrB;IADC,QAAQ,EAAE;wCACS;AAOpB;IADC,IAAI,EAAE;oCACqB;AAO5B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;qCAChB;AAO7B;IADC,IAAI,EAAE;oCACqB;AAjEvB,IAAI;IAVT,aAAa,CAAC;QACd,GAAG,EAAE,UAAU;QACf,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE;YACP,mBAAmB;YACnB,OAAO;SACP;QACD,QAAQ,EAAE,YAAY;KACtB,CAAC;GACI,IAAI,CA6GT;AAED,IAAI,CAAC,MAAM,EAAE,CAAC;AAEd,eAAe,IAAI,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport 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 browserScrollbarCSS from \"@ui5/webcomponents/dist/generated/themes/BrowserScrollbar.css.js\";\nimport PageBackgroundDesign from \"./types/PageBackgroundDesign.js\";\n\n// Template\nimport PageTemplate from \"./generated/templates/PageTemplate.lit.js\";\n\n// Styles\nimport PageCss from \"./generated/themes/Page.css.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-page` is a container component that holds one whole screen of an application.\n * The page has three distinct areas that can hold content - a header, content area and a footer.\n * ### Structure\n * #### Header\n * The top most area of the page is occupied by the header. The standard header includes a navigation button and a title.\n * #### Content\n * The content occupies the main part of the page. Only the content area is scrollable by default.\n * This can be prevented by setting `enableScrolling` to `false`.\n * #### Footer\n * The footer is optional and occupies the fixed bottom part of the page. Alternatively, the footer can be floating above the bottom part of the content.\n * This is enabled with the `floatingFooter` property.\n *\n * **Note:** `ui5-page` occipues the whole available space of its parent. In order to achieve the intended design you have to make sure\n * that there is enough space for the `ui5-page` to be rendered.\n * **Note:** In order for the `ui5-page` to be displayed, the parent element should have fixed height.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents-fiori/dist/Page.js\";`\n * @constructor\n * @extends UI5Element\n * @since 1.0.0-rc.12\n * @public\n * @csspart content - Used to style the content section of the component\n */\n@customElement({\n\ttag: \"ui5-page\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstyles: [\n\t\tbrowserScrollbarCSS,\n\t\tPageCss,\n\t],\n\ttemplate: PageTemplate,\n})\nclass Page extends UI5Element {\n\t/**\n\t * Defines the background color of the `ui5-page`.\n\t *\n\t * **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.\n\t * @default \"Solid\"\n\t * @public\n\t */\n\t@property({ type: PageBackgroundDesign, defaultValue: PageBackgroundDesign.Solid })\n\tbackgroundDesign!: `${PageBackgroundDesign}`;\n\n\t/**\n\t * Disables vertical scrolling of page content.\n\t * If set to true, there will be no vertical scrolling at all.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisableScrolling!: boolean;\n\n\t/**\n\t * Defines if the footer should float over the content.\n\t *\n\t * **Note:** When set to true the footer floats over the content with a slight offset from the bottom, otherwise it is fixed at the very bottom of the page.\n\t * @default true\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tfloatingFooter!: boolean;\n\n\t/**\n\t * Defines the footer visibility.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\thideFooter!: boolean;\n\n\t/**\n\t * Defines the current media query size.\n\t * @private\n\t * @since 1.0.0-rc.15\n\t */\n\t@property()\n\tmediaRange!: string;\n\n\t/**\n\t * Defines the header HTML Element.\n\t * @public\n\t */\n\t@slot()\n\theader!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the content HTML Element.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the footer HTML Element.\n\t * @public\n\t */\n\t@slot()\n\tfooter!: Array<HTMLElement>;\n\n\t_updateMediaRange: ResizeObserverCallback;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._updateMediaRange = this.updateMediaRange.bind(this);\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._updateMediaRange);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._updateMediaRange);\n\t}\n\n\tupdateMediaRange() {\n\t\tthis.mediaRange = MediaRange.getCurrentRange(MediaRange.RANGESETS.RANGE_4STEPS, this.getDomRef()!.offsetWidth);\n\t}\n\n\tget _contentBottom() {\n\t\treturn !this.floatingFooter && !this.hideFooter ? \"2.75rem\" : \"0\";\n\t}\n\n\tget _contentPaddingBottom() {\n\t\treturn this.floatingFooter && !this.hideFooter ? \"3.5rem\" : \"0\";\n\t}\n\n\tget _contentTop() {\n\t\treturn this.header.length ? \"2.75rem\" : \"0rem\";\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\tcontent: {\n\t\t\t\t\"padding-bottom\": this.footer.length && this._contentPaddingBottom,\n\t\t\t\t\"bottom\": this.footer.length && this._contentBottom,\n\t\t\t\t\"top\": this._contentTop,\n\t\t\t},\n\t\t\tfooter: {},\n\t\t};\n\t}\n}\n\nPage.define();\n\nexport default Page;\n"]}
|
package/dist/ProductSwitch.d.ts
CHANGED
|
@@ -4,8 +4,7 @@ import ItemNavigation from "@ui5/webcomponents-base/dist/delegate/ItemNavigation
|
|
|
4
4
|
import type { ITabbable } from "@ui5/webcomponents-base/dist/delegate/ItemNavigation.js";
|
|
5
5
|
import type { ResizeObserverCallback } from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js";
|
|
6
6
|
/**
|
|
7
|
-
* Interface for components that may be slotted inside
|
|
8
|
-
*
|
|
7
|
+
* Interface for components that may be slotted inside `ui5-product-switch` as items
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
interface IProductSwitchItem extends HTMLElement, ITabbable {
|
|
@@ -18,29 +17,24 @@ interface IProductSwitchItem extends HTMLElement, ITabbable {
|
|
|
18
17
|
}
|
|
19
18
|
/**
|
|
20
19
|
* @class
|
|
21
|
-
*
|
|
20
|
+
* ### Overview
|
|
22
21
|
*
|
|
23
|
-
* The
|
|
22
|
+
* The `ui5-product-switch` is an SAP Fiori specific web component that is used in `ui5-shellbar`
|
|
24
23
|
* and allows the user to easily switch between products.
|
|
25
|
-
* <br><br>
|
|
26
24
|
*
|
|
27
|
-
*
|
|
28
|
-
* The
|
|
25
|
+
* ### Keyboard Handling
|
|
26
|
+
* The `ui5-product-switch` provides advanced keyboard handling.
|
|
29
27
|
* When focused, the user can use the following keyboard
|
|
30
28
|
* shortcuts in order to perform a navigation:
|
|
31
|
-
* <br>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>[TAB] - Move focus to the next interactive element after the <code>ui5-product-switch</code></li>
|
|
34
|
-
* <li>[UP/DOWN] - Navigates up and down the items </li>
|
|
35
|
-
* <li>[LEFT/RIGHT] - Navigates left and right the items</li>
|
|
36
|
-
* </ul>
|
|
37
|
-
* <br>
|
|
38
|
-
* <br>
|
|
39
29
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
30
|
+
* - [TAB] - Move focus to the next interactive element after the `ui5-product-switch`
|
|
31
|
+
* - [UP/DOWN] - Navigates up and down the items
|
|
32
|
+
* - [LEFT/RIGHT] - Navigates left and right the items
|
|
33
|
+
*
|
|
34
|
+
* ### ES6 Module Import
|
|
35
|
+
* `import "@ui5/webcomponents-fiori/dist/ProductSwitch.js";`
|
|
36
|
+
*
|
|
37
|
+
* `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";` (for `ui5-product-switch-item`)
|
|
44
38
|
* @constructor
|
|
45
39
|
* @extends UI5Element
|
|
46
40
|
* @public
|
|
@@ -54,8 +48,7 @@ declare class ProductSwitch extends UI5Element {
|
|
|
54
48
|
*/
|
|
55
49
|
desktopColumns?: number;
|
|
56
50
|
/**
|
|
57
|
-
* Defines the items of the
|
|
58
|
-
*
|
|
51
|
+
* Defines the items of the `ui5-product-switch`.
|
|
59
52
|
* @public
|
|
60
53
|
*/
|
|
61
54
|
items: Array<IProductSwitchItem>;
|
package/dist/ProductSwitch.js
CHANGED
|
@@ -21,29 +21,24 @@ import { PRODUCT_SWITCH_CONTAINER_LABEL, } from "./generated/i18n/i18n-defaults.
|
|
|
21
21
|
import ProductSwitchCss from "./generated/themes/ProductSwitch.css.js";
|
|
22
22
|
/**
|
|
23
23
|
* @class
|
|
24
|
-
*
|
|
24
|
+
* ### Overview
|
|
25
25
|
*
|
|
26
|
-
* The
|
|
26
|
+
* The `ui5-product-switch` is an SAP Fiori specific web component that is used in `ui5-shellbar`
|
|
27
27
|
* and allows the user to easily switch between products.
|
|
28
|
-
* <br><br>
|
|
29
28
|
*
|
|
30
|
-
*
|
|
31
|
-
* The
|
|
29
|
+
* ### Keyboard Handling
|
|
30
|
+
* The `ui5-product-switch` provides advanced keyboard handling.
|
|
32
31
|
* When focused, the user can use the following keyboard
|
|
33
32
|
* shortcuts in order to perform a navigation:
|
|
34
|
-
* <br>
|
|
35
|
-
* <ul>
|
|
36
|
-
* <li>[TAB] - Move focus to the next interactive element after the <code>ui5-product-switch</code></li>
|
|
37
|
-
* <li>[UP/DOWN] - Navigates up and down the items </li>
|
|
38
|
-
* <li>[LEFT/RIGHT] - Navigates left and right the items</li>
|
|
39
|
-
* </ul>
|
|
40
|
-
* <br>
|
|
41
|
-
* <br>
|
|
42
33
|
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
34
|
+
* - [TAB] - Move focus to the next interactive element after the `ui5-product-switch`
|
|
35
|
+
* - [UP/DOWN] - Navigates up and down the items
|
|
36
|
+
* - [LEFT/RIGHT] - Navigates left and right the items
|
|
37
|
+
*
|
|
38
|
+
* ### ES6 Module Import
|
|
39
|
+
* `import "@ui5/webcomponents-fiori/dist/ProductSwitch.js";`
|
|
40
|
+
*
|
|
41
|
+
* `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";` (for `ui5-product-switch-item`)
|
|
47
42
|
* @constructor
|
|
48
43
|
* @extends UI5Element
|
|
49
44
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSwitch.js","sourceRoot":"","sources":["../src/ProductSwitch.ts"],"names":[],"mappings":";;;;;;;AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,cAAc,MAAM,yDAAyD,CAAC;AAErF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAE7E,OAAO,EACN,MAAM,EACN,IAAI,GACJ,MAAM,sCAAsC,CAAC;AAE9C,OAAO,qBAAqB,MAAM,oDAAoD,CAAC;AAEvF,OAAO,EACN,8BAA8B,GAC9B,MAAM,mCAAmC,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IAAI,EAAE,CAAC;4CACZ;AA3B5B,aAAa;IANlB,aAAa,CAAC;QACd,GAAG,EAAE,oBAAoB;QACzB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,gBAAgB;QACxB,QAAQ,EAAE,qBAAqB;KAC/B,CAAC;GACI,aAAa,CAgHlB;AAED,aAAa,CAAC,MAAM,EAAE,CAAC;AAEvB,eAAe,aAAa,CAAC","sourcesContent":["import type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport ItemNavigation from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport type { ITabbable } from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\n\nimport {\n\tisDown,\n\tisUp,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\n\nimport ProductSwitchTemplate from \"./generated/templates/ProductSwitchTemplate.lit.js\";\n\nimport {\n\tPRODUCT_SWITCH_CONTAINER_LABEL,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport ProductSwitchCss from \"./generated/themes/ProductSwitch.css.js\";\n\n/**\n * Interface for components that may be slotted inside `ui5-product-switch` as items\n * @public\n */\ninterface IProductSwitchItem extends HTMLElement, ITabbable {\n\ttitleText: string,\n\tsubtitleText: string,\n\ticon: string,\n\ttarget: string,\n\ttargetSrc: string,\n\tselected: boolean,\n}\n\n/**\n * @class\n * ### Overview\n *\n * The `ui5-product-switch` is an SAP Fiori specific web component that is used in `ui5-shellbar`\n * and allows the user to easily switch between products.\n *\n * ### Keyboard Handling\n * The `ui5-product-switch` provides advanced keyboard handling.\n * When focused, the user can use the following keyboard\n * shortcuts in order to perform a navigation:\n *\n * - [TAB] - Move focus to the next interactive element after the `ui5-product-switch`\n * - [UP/DOWN] - Navigates up and down the items\n * - [LEFT/RIGHT] - Navigates left and right the items\n *\n * ### ES6 Module Import\n * `import \"@ui5/webcomponents-fiori/dist/ProductSwitch.js\";`\n *\n * `import \"@ui5/webcomponents-fiori/dist/ProductSwitchItem.js\";` (for `ui5-product-switch-item`)\n * @constructor\n * @extends UI5Element\n * @public\n * @since 1.0.0-rc.5\n */\n@customElement({\n\ttag: \"ui5-product-switch\",\n\trenderer: litRender,\n\tstyles: ProductSwitchCss,\n\ttemplate: ProductSwitchTemplate,\n})\nclass ProductSwitch extends UI5Element {\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._currentIndex = 0;\n\t\tthis._rowSize = 4;\n\n\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\trowSize: this._rowSize,\n\t\t\tgetItemsCallback: () => this.items,\n\t\t});\n\n\t\tthis._handleResizeBound = this._handleResize.bind(this);\n\t}\n\n\t/**\n\t * Indicates how many columns are displayed.\n\t * @private\n\t */\n\t@property({ validator: Integer })\n\tdesktopColumns?: number;\n\n\t/**\n\t * Defines the items of the `ui5-product-switch`.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\titems!: Array<IProductSwitchItem>\n\n\t_itemNavigation: ItemNavigation;\n\t_currentIndex: number;\n\t_rowSize: number;\n\t_handleResizeBound: ResizeObserverCallback;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tstatic get ROW_MIN_WIDTH() {\n\t\treturn {\n\t\t\tONE_COLUMN: 600,\n\t\t\tTHREE_COLUMN: 900,\n\t\t};\n\t}\n\n\tstatic async onDefine() {\n\t\tProductSwitch.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\tget _ariaLabelText() {\n\t\treturn ProductSwitch.i18nBundle.getText(PRODUCT_SWITCH_CONTAINER_LABEL);\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(document.body, this._handleResizeBound);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(document.body, this._handleResizeBound);\n\t}\n\n\tonBeforeRendering() {\n\t\tthis.desktopColumns = this.items.length > 6 ? 4 : 3;\n\t}\n\n\t_handleResize() {\n\t\tconst documentWidth = document.body.clientWidth;\n\n\t\tif (documentWidth <= (this.constructor as typeof ProductSwitch).ROW_MIN_WIDTH.ONE_COLUMN) {\n\t\t\tthis._setRowSize(1);\n\t\t} else if (documentWidth <= (this.constructor as typeof ProductSwitch).ROW_MIN_WIDTH.THREE_COLUMN || this.items.length <= 6) {\n\t\t\tthis._setRowSize(3);\n\t\t} else {\n\t\t\tthis._setRowSize(4);\n\t\t}\n\t}\n\n\thandleProductSwitchItemClick(e: MouseEvent) {\n\t\tthis.items.forEach(item => { item.selected = false; });\n\t\t(e.target as IProductSwitchItem).selected = true;\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tconst target = e.target as IProductSwitchItem;\n\n\t\tthis._itemNavigation.setCurrentItem(target);\n\t\tthis._currentIndex = this.items.indexOf(target);\n\t}\n\n\t_setRowSize(size: number) {\n\t\tthis._rowSize = size;\n\t\tthis._itemNavigation.setRowSize(size);\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (isDown(e)) {\n\t\t\tthis._handleDown(e);\n\t\t} else if (isUp(e)) {\n\t\t\tthis._handleUp(e);\n\t\t}\n\t}\n\n\t_handleDown(e: KeyboardEvent) {\n\t\tconst itemsLength = this.items.length;\n\t\tif (this._currentIndex + this._rowSize > itemsLength) { // border reached, do nothing\n\t\t\te.stopPropagation();\n\t\t}\n\t}\n\n\t_handleUp(e: KeyboardEvent) {\n\t\tif (this._currentIndex - this._rowSize < 0) { // border reached, do nothing\n\t\t\te.stopPropagation();\n\t\t}\n\t}\n}\n\nProductSwitch.define();\n\nexport default ProductSwitch;\n\nexport type {\n\tIProductSwitchItem,\n};\n"]}
|
|
@@ -2,25 +2,21 @@ import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
|
2
2
|
import type { IProductSwitchItem } from "./ProductSwitch.js";
|
|
3
3
|
/**
|
|
4
4
|
* @class
|
|
5
|
-
*
|
|
6
|
-
* The
|
|
7
|
-
*
|
|
8
|
-
* <br><br>
|
|
9
|
-
* <b>Note:</b> <code>ui5-product-switch-item</code> is not supported when used outside of <code>ui5-product-switch</code>.
|
|
10
|
-
* <br><br>
|
|
5
|
+
* ### Overview
|
|
6
|
+
* The `ui5-product-switch-item` web component represents the items displayed in the
|
|
7
|
+
* `ui5-product-switch` web component.
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
9
|
+
* **Note:** `ui5-product-switch-item` is not supported when used outside of `ui5-product-switch`.
|
|
10
|
+
*
|
|
11
|
+
* ### Keyboard Handling
|
|
12
|
+
* The `ui5-product-switch` provides advanced keyboard handling.
|
|
14
13
|
* When focused, the user can use the following keyboard
|
|
15
14
|
* shortcuts in order to perform a navigation:
|
|
16
|
-
* <br>
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>[SPACE/ENTER/RETURN] - Trigger <code>ui5-click</code> event</li>
|
|
19
|
-
* </ul>
|
|
20
15
|
*
|
|
21
|
-
*
|
|
22
|
-
* <code>import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";</code>
|
|
16
|
+
* - [SPACE/ENTER/RETURN] - Trigger `ui5-click` event
|
|
23
17
|
*
|
|
18
|
+
* ### ES6 Module Import
|
|
19
|
+
* `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";`
|
|
24
20
|
* @constructor
|
|
25
21
|
* @extends UI5Element
|
|
26
22
|
* @public
|
|
@@ -45,28 +41,26 @@ declare class ProductSwitchItem extends UI5Element implements IProductSwitchItem
|
|
|
45
41
|
subtitleText: string;
|
|
46
42
|
/**
|
|
47
43
|
* Defines the icon to be displayed as a graphical element within the component.
|
|
48
|
-
*
|
|
44
|
+
*
|
|
49
45
|
* Example:
|
|
50
|
-
* <br>
|
|
51
|
-
* <pre>ui5-product-switch-item icon="palette"</pre>
|
|
52
46
|
*
|
|
53
|
-
*
|
|
47
|
+
* `<ui5-product-switch-item icon="palette">`
|
|
54
48
|
*
|
|
49
|
+
* See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
|
|
55
50
|
* @default ""
|
|
56
51
|
* @public
|
|
57
52
|
*/
|
|
58
53
|
icon: string;
|
|
59
54
|
/**
|
|
60
|
-
* Defines a target where the
|
|
61
|
-
*
|
|
55
|
+
* Defines a target where the `targetSrc` content must be open.
|
|
56
|
+
*
|
|
62
57
|
* Available options are:
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* </ul>
|
|
58
|
+
*
|
|
59
|
+
* - `_self`
|
|
60
|
+
* - `_top`
|
|
61
|
+
* - `_blank`
|
|
62
|
+
* - `_parent`
|
|
63
|
+
* - `_search`
|
|
70
64
|
* @default "_self"
|
|
71
65
|
* @public
|
|
72
66
|
*/
|
|
@@ -89,7 +83,7 @@ declare class ProductSwitchItem extends UI5Element implements IProductSwitchItem
|
|
|
89
83
|
private focused;
|
|
90
84
|
/**
|
|
91
85
|
* Used to set the selected state of the component. Only one selected in a sequence.
|
|
92
|
-
*
|
|
86
|
+
* **Note:** Set by the `ProductSwitch`
|
|
93
87
|
*/
|
|
94
88
|
selected: boolean;
|
|
95
89
|
/**
|
|
@@ -16,25 +16,21 @@ import ProductSwitchItemTemplate from "./generated/templates/ProductSwitchItemTe
|
|
|
16
16
|
import ProductSwitchItemCss from "./generated/themes/ProductSwitchItem.css.js";
|
|
17
17
|
/**
|
|
18
18
|
* @class
|
|
19
|
-
*
|
|
20
|
-
* The
|
|
21
|
-
*
|
|
22
|
-
* <br><br>
|
|
23
|
-
* <b>Note:</b> <code>ui5-product-switch-item</code> is not supported when used outside of <code>ui5-product-switch</code>.
|
|
24
|
-
* <br><br>
|
|
19
|
+
* ### Overview
|
|
20
|
+
* The `ui5-product-switch-item` web component represents the items displayed in the
|
|
21
|
+
* `ui5-product-switch` web component.
|
|
25
22
|
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
23
|
+
* **Note:** `ui5-product-switch-item` is not supported when used outside of `ui5-product-switch`.
|
|
24
|
+
*
|
|
25
|
+
* ### Keyboard Handling
|
|
26
|
+
* The `ui5-product-switch` provides advanced keyboard handling.
|
|
28
27
|
* When focused, the user can use the following keyboard
|
|
29
28
|
* shortcuts in order to perform a navigation:
|
|
30
|
-
* <br>
|
|
31
|
-
* <ul>
|
|
32
|
-
* <li>[SPACE/ENTER/RETURN] - Trigger <code>ui5-click</code> event</li>
|
|
33
|
-
* </ul>
|
|
34
29
|
*
|
|
35
|
-
*
|
|
36
|
-
* <code>import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";</code>
|
|
30
|
+
* - [SPACE/ENTER/RETURN] - Trigger `ui5-click` event
|
|
37
31
|
*
|
|
32
|
+
* ### ES6 Module Import
|
|
33
|
+
* `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";`
|
|
38
34
|
* @constructor
|
|
39
35
|
* @extends UI5Element
|
|
40
36
|
* @public
|
|
@@ -129,9 +125,8 @@ ProductSwitchItem = __decorate([
|
|
|
129
125
|
dependencies: [Icon],
|
|
130
126
|
})
|
|
131
127
|
/**
|
|
132
|
-
* Fired when the
|
|
128
|
+
* Fired when the `ui5-product-switch-item` is activated either with a
|
|
133
129
|
* click/tap or by using the Enter or Space key.
|
|
134
|
-
*
|
|
135
130
|
* @public
|
|
136
131
|
*/
|
|
137
132
|
,
|