@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.23.0](https://github.com/SAP/ui5-webcomponents/compare/v1.23.0-rc.5...v1.23.0) (2024-03-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui5-side-navigation:** fix private types ([#8158](https://github.com/SAP/ui5-webcomponents/issues/8158)) ([a03921c](https://github.com/SAP/ui5-webcomponents/commit/a03921cc4ad90418d3ca9dd2241a3cafe24e4fff))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **ui5-illustrated-message:** introduced "Dot" size ([#8343](https://github.com/SAP/ui5-webcomponents/issues/8343)) ([9c88f36](https://github.com/SAP/ui5-webcomponents/commit/9c88f36112888c1a766875611eb2a0aecbbc6f23)), closes [#8328](https://github.com/SAP/ui5-webcomponents/issues/8328)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [1.23.0-rc.5](https://github.com/SAP/ui5-webcomponents/compare/v1.23.0-rc.4...v1.23.0-rc.5) (2024-02-29)
|
|
7
23
|
|
|
8
24
|
|
package/dist/Bar.d.ts
CHANGED
|
@@ -3,33 +3,31 @@ import BarDesign from "./types/BarDesign.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* @class
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* ### Overview
|
|
7
7
|
* The Bar is a container which is primarily used to hold titles, buttons and input elements
|
|
8
8
|
* and its design and functionality is the basis for page headers and footers.
|
|
9
9
|
* The component consists of three areas to hold its content - startContent slot, default slot and endContent slot.
|
|
10
10
|
* It has the capability to center content, such as a title, while having other components on the left and right side.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* ### Usage
|
|
13
13
|
* With the use of the design property, you can set the style of the Bar to appear designed like a Header, Subheader, Footer and FloatingFooter.
|
|
14
|
-
* <br>
|
|
15
|
-
* <b>Note:</b> Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.
|
|
16
14
|
*
|
|
17
|
-
*
|
|
15
|
+
* **Note:** Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.
|
|
16
|
+
*
|
|
17
|
+
* ### Responsive Behavior
|
|
18
18
|
* The default slot will be centered in the available space between the startContent and the endContent areas,
|
|
19
19
|
* therefore it might not always be centered in the entire bar.
|
|
20
20
|
*
|
|
21
|
-
*
|
|
21
|
+
* ### Keyboard Handling
|
|
22
22
|
*
|
|
23
|
-
*
|
|
24
|
-
* This component provides a build in fast navigation group which can be used via
|
|
23
|
+
* #### Fast Navigation
|
|
24
|
+
* This component provides a build in fast navigation group which can be used via `F6 / Shift + F6` or ` Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up`.
|
|
25
25
|
* In order to use this functionality, you need to import the following module:
|
|
26
|
-
*
|
|
27
|
-
* <br><br>
|
|
28
|
-
*
|
|
29
|
-
* <h3>ES6 Module Import</h3>
|
|
26
|
+
* `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
|
|
30
27
|
*
|
|
31
|
-
*
|
|
28
|
+
* ### ES6 Module Import
|
|
32
29
|
*
|
|
30
|
+
* `import "@ui5/webcomponents-fiori/dist/Bar.js";`
|
|
33
31
|
* @csspart bar - Used to style the wrapper of the content of the component
|
|
34
32
|
* @constructor
|
|
35
33
|
* @extends UI5Element
|
|
@@ -39,7 +37,6 @@ import BarDesign from "./types/BarDesign.js";
|
|
|
39
37
|
declare class Bar extends UI5Element {
|
|
40
38
|
/**
|
|
41
39
|
* Defines the component's design.
|
|
42
|
-
*
|
|
43
40
|
* @default "Header"
|
|
44
41
|
* @public
|
|
45
42
|
*/
|
package/dist/Bar.js
CHANGED
|
@@ -18,33 +18,31 @@ import BarCss from "./generated/themes/Bar.css.js";
|
|
|
18
18
|
/**
|
|
19
19
|
* @class
|
|
20
20
|
*
|
|
21
|
-
*
|
|
21
|
+
* ### Overview
|
|
22
22
|
* The Bar is a container which is primarily used to hold titles, buttons and input elements
|
|
23
23
|
* and its design and functionality is the basis for page headers and footers.
|
|
24
24
|
* The component consists of three areas to hold its content - startContent slot, default slot and endContent slot.
|
|
25
25
|
* It has the capability to center content, such as a title, while having other components on the left and right side.
|
|
26
26
|
*
|
|
27
|
-
*
|
|
27
|
+
* ### Usage
|
|
28
28
|
* With the use of the design property, you can set the style of the Bar to appear designed like a Header, Subheader, Footer and FloatingFooter.
|
|
29
|
-
* <br>
|
|
30
|
-
* <b>Note:</b> Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.
|
|
31
29
|
*
|
|
32
|
-
*
|
|
30
|
+
* **Note:** Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.
|
|
31
|
+
*
|
|
32
|
+
* ### Responsive Behavior
|
|
33
33
|
* The default slot will be centered in the available space between the startContent and the endContent areas,
|
|
34
34
|
* therefore it might not always be centered in the entire bar.
|
|
35
35
|
*
|
|
36
|
-
*
|
|
36
|
+
* ### Keyboard Handling
|
|
37
37
|
*
|
|
38
|
-
*
|
|
39
|
-
* This component provides a build in fast navigation group which can be used via
|
|
38
|
+
* #### Fast Navigation
|
|
39
|
+
* This component provides a build in fast navigation group which can be used via `F6 / Shift + F6` or ` Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up`.
|
|
40
40
|
* In order to use this functionality, you need to import the following module:
|
|
41
|
-
*
|
|
42
|
-
* <br><br>
|
|
43
|
-
*
|
|
44
|
-
* <h3>ES6 Module Import</h3>
|
|
41
|
+
* `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
|
|
45
42
|
*
|
|
46
|
-
*
|
|
43
|
+
* ### ES6 Module Import
|
|
47
44
|
*
|
|
45
|
+
* `import "@ui5/webcomponents-fiori/dist/Bar.js";`
|
|
48
46
|
* @csspart bar - Used to style the wrapper of the content of the component
|
|
49
47
|
* @constructor
|
|
50
48
|
* @extends UI5Element
|
package/dist/Bar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bar.js","sourceRoot":"","sources":["../src/Bar.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;AACnF,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAE7C,WAAW;AACX,OAAO,WAAW,MAAM,0CAA0C,CAAC;AAEnE,SAAS;AACT,OAAO,MAAM,MAAM,+BAA+B,CAAC;AAEnD
|
|
1
|
+
{"version":3,"file":"Bar.js","sourceRoot":"","sources":["../src/Bar.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;AACnF,OAAO,SAAS,MAAM,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ACV,CAAC;IAED,SAAS;QACR,aAAa,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAExD,IAAI,CAAC,SAAS,EAAG,CAAC,gBAAgB,CAAC,4BAA4B,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YAChF,aAAa,CAAC,UAAU,CAAC,KAAoB,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;QACzE,CAAC,EAAE,IAAI,CAAC,CAAC;IACT,CAAC;CACF,CAAA;AAtEA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,CAAC,MAAM,EAAE,CAAC;mCACvC;AAOvB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;yCACM;AAOlC;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;0CACX;AAOlC;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;uCACG;AA5B1B,GAAG;IAPR,aAAa,CAAC;QACd,GAAG,EAAE,SAAS;QACd,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,WAAW;KACrB,CAAC;GACI,GAAG,CA6ER;AAED,GAAG,CAAC,MAAM,EAAE,CAAC;AAEb,eAAe,GAAG,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 BarDesign from \"./types/BarDesign.js\";\n\n// Template\nimport BarTemplate from \"./generated/templates/BarTemplate.lit.js\";\n\n// Styles\nimport BarCss from \"./generated/themes/Bar.css.js\";\n\n/**\n * @class\n *\n * ### Overview\n * The Bar is a container which is primarily used to hold titles, buttons and input elements\n * and its design and functionality is the basis for page headers and footers.\n * The component consists of three areas to hold its content - startContent slot, default slot and endContent slot.\n * It has the capability to center content, such as a title, while having other components on the left and right side.\n *\n * ### Usage\n * With the use of the design property, you can set the style of the Bar to appear designed like a Header, Subheader, Footer and FloatingFooter.\n *\n * **Note:** Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.\n *\n * ### Responsive Behavior\n * The default slot will be centered in the available space between the startContent and the endContent areas,\n * therefore it might not always be centered in the entire bar.\n *\n * ### Keyboard Handling\n *\n * #### Fast Navigation\n * This component provides a build in fast navigation group which can be used via `F6 / Shift + F6` or ` Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up`.\n * In order to use this functionality, you need to import the following module:\n * `import \"@ui5/webcomponents-base/dist/features/F6Navigation.js\"`\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents-fiori/dist/Bar.js\";`\n * @csspart bar - Used to style the wrapper of the content of the component\n * @constructor\n * @extends UI5Element\n * @public\n * @since 1.0.0-rc.11\n */\n@customElement({\n\ttag: \"ui5-bar\",\n\tfastNavigation: true,\n\trenderer: litRender,\n\tstyles: BarCss,\n\ttemplate: BarTemplate,\n})\nclass Bar extends UI5Element {\n\t/**\n\t * Defines the component's design.\n\t * @default \"Header\"\n\t * @public\n\t */\n\t@property({ type: BarDesign, defaultValue: BarDesign.Header })\n\tdesign!: `${BarDesign}`\n\n\t/**\n\t* Defines the content at the start of the bar.\n\t* @public\n\t*/\n\t@slot({ type: HTMLElement })\n\tstartContent!: Array<HTMLElement>;\n\n\t/**\n\t* Defines the content in the middle of the bar.\n\t* @public\n\t*/\n\t@slot({ type: HTMLElement, \"default\": true })\n\tmiddleContent!: Array<HTMLElement>\n\n\t/**\n\t* Defines the content at the end of the bar.\n\t* @public\n\t*/\n\t@slot({ type: HTMLElement })\n\tendContent!: Array<HTMLElement>\n\n\t_handleResizeBound: () => void;\n\n\tget accInfo() {\n\t\treturn {\n\t\t\t\"label\": this.design,\n\t\t};\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._handleResizeBound = this.handleResize.bind(this);\n\t}\n\n\thandleResize() {\n\t\tconst bar = this.getDomRef()!;\n\t\tconst barWidth = bar.offsetWidth;\n\t\tconst needShrinked = Array.from(bar.children).some(child => {\n\t\t\treturn (child as HTMLElement).offsetWidth > barWidth / 3;\n\t\t});\n\n\t\tbar.classList.toggle(\"ui5-bar-root-shrinked\", needShrinked);\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-bar-root\": true,\n\t\t\t},\n\t\t};\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._handleResizeBound);\n\n\t\tthis.getDomRef()!.querySelectorAll(\".ui5-bar-content-container\").forEach(child => {\n\t\t\tResizeHandler.register(child as HTMLElement, this._handleResizeBound);\n\t\t}, this);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._handleResizeBound);\n\n\t\tthis.getDomRef()!.querySelectorAll(\".ui5-bar-content-container\").forEach(child => {\n\t\t\tResizeHandler.deregister(child as HTMLElement, this._handleResizeBound);\n\t\t}, this);\n\t }\n}\n\nBar.define();\n\nexport default Bar;\n"]}
|
|
@@ -12,20 +12,17 @@ type BarcodeScannerDialogScanErrorEventDetail = {
|
|
|
12
12
|
/**
|
|
13
13
|
* @class
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* ### Overview
|
|
16
16
|
*
|
|
17
|
-
* The
|
|
17
|
+
* The `BarcodeScannerDialog` component provides barcode scanning functionality for all devices that support the `MediaDevices.getUserMedia()` native API.
|
|
18
18
|
* Opening the dialog launches the device camera and scans for known barcode formats.
|
|
19
|
-
* <br>
|
|
20
|
-
* <br>
|
|
21
|
-
* A <code>scanSuccess</code> event fires whenever a barcode is identified
|
|
22
|
-
* and a <code>scanError</code> event fires when the scan failed (for example, due to missing permisions).
|
|
23
|
-
* <br>
|
|
24
|
-
* <br>
|
|
25
|
-
* Internally, the component uses the zxing-js/library third party OSS.
|
|
26
19
|
*
|
|
27
|
-
*
|
|
20
|
+
* A `scanSuccess` event fires whenever a barcode is identified
|
|
21
|
+
* and a `scanError` event fires when the scan failed (for example, due to missing permisions).
|
|
22
|
+
*
|
|
23
|
+
* Internally, the component uses the zxing-js/library third party OSS.
|
|
28
24
|
*
|
|
25
|
+
* For a list of supported barcode formats, see the [zxing-js/library](https://github.com/zxing-js/library) documentation.
|
|
29
26
|
* @constructor
|
|
30
27
|
* @extends UI5Element
|
|
31
28
|
* @public
|
|
@@ -34,7 +31,6 @@ type BarcodeScannerDialogScanErrorEventDetail = {
|
|
|
34
31
|
declare class BarcodeScannerDialog extends UI5Element {
|
|
35
32
|
/**
|
|
36
33
|
* Indicates whether a loading indicator should be displayed in the dialog.
|
|
37
|
-
*
|
|
38
34
|
* @default false
|
|
39
35
|
* @private
|
|
40
36
|
*/
|
|
@@ -40,20 +40,17 @@ const defaultMediaConstraints = {
|
|
|
40
40
|
/**
|
|
41
41
|
* @class
|
|
42
42
|
*
|
|
43
|
-
*
|
|
43
|
+
* ### Overview
|
|
44
44
|
*
|
|
45
|
-
* The
|
|
45
|
+
* The `BarcodeScannerDialog` component provides barcode scanning functionality for all devices that support the `MediaDevices.getUserMedia()` native API.
|
|
46
46
|
* Opening the dialog launches the device camera and scans for known barcode formats.
|
|
47
|
-
* <br>
|
|
48
|
-
* <br>
|
|
49
|
-
* A <code>scanSuccess</code> event fires whenever a barcode is identified
|
|
50
|
-
* and a <code>scanError</code> event fires when the scan failed (for example, due to missing permisions).
|
|
51
|
-
* <br>
|
|
52
|
-
* <br>
|
|
53
|
-
* Internally, the component uses the zxing-js/library third party OSS.
|
|
54
47
|
*
|
|
55
|
-
*
|
|
48
|
+
* A `scanSuccess` event fires whenever a barcode is identified
|
|
49
|
+
* and a `scanError` event fires when the scan failed (for example, due to missing permisions).
|
|
50
|
+
*
|
|
51
|
+
* Internally, the component uses the zxing-js/library third party OSS.
|
|
56
52
|
*
|
|
53
|
+
* For a list of supported barcode formats, see the [zxing-js/library](https://github.com/zxing-js/library) documentation.
|
|
57
54
|
* @constructor
|
|
58
55
|
* @extends UI5Element
|
|
59
56
|
* @public
|
|
@@ -170,7 +167,6 @@ BarcodeScannerDialog = BarcodeScannerDialog_1 = __decorate([
|
|
|
170
167
|
})
|
|
171
168
|
/**
|
|
172
169
|
* Fires when the scan is completed successfuuly.
|
|
173
|
-
*
|
|
174
170
|
* @param {string} text the scan result as string
|
|
175
171
|
* @param {Object} rawBytes the scan result as a Uint8Array
|
|
176
172
|
* @public
|
|
@@ -190,7 +186,6 @@ BarcodeScannerDialog = BarcodeScannerDialog_1 = __decorate([
|
|
|
190
186
|
})
|
|
191
187
|
/**
|
|
192
188
|
* Fires when the scan fails with error.
|
|
193
|
-
*
|
|
194
189
|
* @param {string} message the error message
|
|
195
190
|
* @public
|
|
196
191
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarcodeScannerDialog.js","sourceRoot":"","sources":["../src/BarcodeScannerDialog.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,aAAa,MAAM,0CAA0C,CAAC;AACrE,OAAO,KAAK,KAAK,MAAM,iCAAiC,CAAC;AACzD,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,kDAAkD,CAAC;AAGrE,QAAQ;AACR,OAAO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;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;qDACV;AARb,oBAAoB;IA/CzB,aAAa,CAAC;QACd,GAAG,EAAE,4BAA4B;QACjC,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,kBAAkB,EAAE,4BAA4B;QAChD,gBAAgB,EAAE,CAAC,uBAAuB,CAAC;QAC3C,YAAY,EAAE;YACb,MAAM;YACN,aAAa;YACb,MAAM;SACN;KACD,CAAC;IACF;;;;;;OAMG;;IACF,KAAK,CAA6C,cAAc,EAAE;QAClE,MAAM,EAAE;YACP;;cAEE;YACF,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;YACtB;;cAEE;YACF,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;SAC1B;KACD,CAAC;IAEF;;;;;OAKG;;IACF,KAAK,CAA2C,YAAY,EAAE;QAC9D,MAAM,EAAE;YACP;;cAEE;YACF,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;SACzB;KACD,CAAC;GAEI,oBAAoB,CA4HzB;AAED,oBAAoB,CAAC,MAAM,EAAE,CAAC;AAE9B,eAAe,oBAAoB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport Dialog from \"@ui5/webcomponents/dist/Dialog.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\nimport BusyIndicator from \"@ui5/webcomponents/dist/BusyIndicator.js\";\nimport * as ZXing from \"@zxing/library/umd/index.min.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport type { Result, Exception } from \"@zxing/library/esm5/index.js\";\n\n// Texts\nimport {\n\tBARCODE_SCANNER_DIALOG_CANCEL_BUTTON_TXT,\n\tBARCODE_SCANNER_DIALOG_LOADING_TXT,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Template\nimport BarcodeScannerDialogTemplate from \"./generated/templates/BarcodeScannerDialogTemplate.lit.js\";\n\n// Styles\nimport BarcodeScannerDialogCss from \"./generated/themes/BarcodeScannerDialog.css.js\";\n\n// some tools handle named exports from UMD files and the window object is not assigned but the imports work (vitejs)\n// other tools do not handle named exports (they are undefined after the import), but the window global is assigned and can be used (web dev server)\nconst effectiveZXing = { ...ZXing, ...window.ZXing };\nconst { BrowserMultiFormatReader, NotFoundException } = effectiveZXing;\n\nconst defaultMediaConstraints = {\n\taudio: false,\n\tvideo: {\n\t\theight: {\n\t\t\tmin: 480,\n\t\t\tideal: 960,\n\t\t\tmax: 1440,\n\t\t},\n\t\taspectRatio: 1.333333333,\n\t\tfacingMode: \"environment\",\n\t},\n};\n\ntype BarcodeScannerDialogScanSuccessEventDetail = {\n\ttext: string,\n\trawBytes: Uint8Array,\n};\n\ntype BarcodeScannerDialogScanErrorEventDetail = {\n\tmessage: string,\n};\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>BarcodeScannerDialog</code> component provides barcode scanning functionality for all devices that support the <code>MediaDevices.getUserMedia()</code> native API.\n * Opening the dialog launches the device camera and scans for known barcode formats.\n * <br>\n * <br>\n * A <code>scanSuccess</code> event fires whenever a barcode is identified\n * and a <code>scanError</code> event fires when the scan failed (for example, due to missing permisions).\n * <br>\n * <br>\n * Internally, the component uses the zxing-js/library third party OSS.\n *\n * For a list of supported barcode formats, see the <ui5-link target=\"_blank\" href=\"https://github.com/zxing-js/library\">zxing-js/library</ui5-link> documentation.\n *\n * @constructor\n * @extends UI5Element\n * @public\n * @since 1.0.0-rc.15\n */\n@customElement({\n\ttag: \"ui5-barcode-scanner-dialog\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstaticAreaTemplate: BarcodeScannerDialogTemplate,\n\tstaticAreaStyles: [BarcodeScannerDialogCss],\n\tdependencies: [\n\t\tDialog,\n\t\tBusyIndicator,\n\t\tButton,\n\t],\n})\n/**\n * Fires when the scan is completed successfuuly.\n *\n * @param {string} text the scan result as string\n * @param {Object} rawBytes the scan result as a Uint8Array\n * @public\n */\n@event<BarcodeScannerDialogScanSuccessEventDetail>(\"scan-success\", {\n\tdetail: {\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\ttext: { type: String },\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\trawBytes: { type: Object },\n\t},\n})\n\n/**\n * Fires when the scan fails with error.\n *\n * @param {string} message the error message\n * @public\n */\n@event<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", {\n\tdetail: {\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\tmessage: { type: String },\n\t},\n})\n\nclass BarcodeScannerDialog extends UI5Element {\n\t/**\n\t * Indicates whether a loading indicator should be displayed in the dialog.\n\t *\n\t * @default false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tloading!: boolean;\n\n\t_codeReader: InstanceType<typeof BrowserMultiFormatReader>;\n\tdialog?: Dialog;\n\tstatic i18nBundle: I18nBundle;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._codeReader = new BrowserMultiFormatReader();\n\t}\n\n\tstatic async onDefine() {\n\t\tBarcodeScannerDialog.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\t/**\n\t * Shows a dialog with the camera videostream. Starts a scan session.\n\t * @public\n\t */\n\tshow(): void {\n\t\tif (this.loading) {\n\t\t\tconsole.warn(\"Barcode scanning is already in progress.\"); // eslint-disable-line\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._hasGetUserMedia()) {\n\t\t\tthis.fireEvent<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", { message: \"getUserMedia() is not supported by your browser\" });\n\t\t\treturn;\n\t\t}\n\n\t\tthis.loading = true;\n\n\t\tthis._getUserPermission()\n\t\t\t.then(() => this._showDialog())\n\t\t\t.catch(err => {\n\t\t\t\tthis.fireEvent<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", { message: err });\n\t\t\t\tthis.loading = false;\n\t\t\t});\n\t}\n\n\t/**\n\t * Closes the dialog and the scan session.\n\t * @public\n\t */\n\tclose():void {\n\t\tthis._closeDialog();\n\t\tthis.loading = false;\n\t}\n\n\t/**\n\t * PRIVATE METHODS\n\t */\n\n\t_hasGetUserMedia() {\n\t\treturn !!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia);\n\t}\n\n\t_getUserPermission() {\n\t\treturn navigator.mediaDevices.getUserMedia(defaultMediaConstraints);\n\t}\n\n\tasync _getDialog() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Dialog>(\"[ui5-dialog]\")!;\n\t}\n\n\tasync _getVideoElement() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<HTMLVideoElement>(\".ui5-barcode-scanner-dialog-video\")!;\n\t}\n\n\tasync _showDialog() {\n\t\tthis.dialog = await this._getDialog();\n\t\tthis.dialog.show();\n\t}\n\n\t_closeDialog() {\n\t\tif (this.dialog && this.dialog.opened) {\n\t\t\tthis.dialog.close();\n\t\t}\n\t}\n\n\t_startReader() {\n\t\tthis._decodeFromCamera();\n\t}\n\n\tasync _resetReader() {\n\t\tconst videoElement = await this._getVideoElement();\n\t\tvideoElement.pause();\n\t\tthis._codeReader.reset();\n\t}\n\n\tasync _decodeFromCamera() {\n\t\tconst videoElement = await this._getVideoElement();\n\t\tthis._codeReader.decodeFromVideoDevice(null, videoElement, (result: Result, err?: Exception) => {\n\t\t\tthis.loading = false;\n\t\t\tif (result) {\n\t\t\t\tthis.fireEvent<BarcodeScannerDialogScanSuccessEventDetail>(\"scan-success\",\n\t\t\t\t\t{\n\t\t\t\t\t\ttext: result.getText(),\n\t\t\t\t\t\trawBytes: result.getRawBytes(),\n\t\t\t\t\t});\n\t\t\t}\n\t\t\tif (err && !(err instanceof NotFoundException)) {\n\t\t\t\tthis.fireEvent<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", { message: err.message });\n\t\t\t}\n\t\t}).catch((err: Error) => this.fireEvent<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", { message: err.message }));\n\t}\n\n\tget _cancelButtonText() {\n\t\treturn BarcodeScannerDialog.i18nBundle.getText(BARCODE_SCANNER_DIALOG_CANCEL_BUTTON_TXT);\n\t}\n\n\tget _busyIndicatorText() {\n\t\treturn BarcodeScannerDialog.i18nBundle.getText(BARCODE_SCANNER_DIALOG_LOADING_TXT);\n\t}\n}\n\nBarcodeScannerDialog.define();\n\nexport default BarcodeScannerDialog;\nexport type {\n\tBarcodeScannerDialogScanErrorEventDetail,\n\tBarcodeScannerDialogScanSuccessEventDetail,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"BarcodeScannerDialog.js","sourceRoot":"","sources":["../src/BarcodeScannerDialog.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,aAAa,MAAM,0CAA0C,CAAC;AACrE,OAAO,KAAK,KAAK,MAAM,iCAAiC,CAAC;AACzD,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,kDAAkD,CAAC;AAGrE,QAAQ;AACR,OAAO,EACN,wCAAwC,EACxC,kCAAkC,GAClC,MAAM,mCAAmC,CAAC;AAE3C,WAAW;AACX,OAAO,4BAA4B,MAAM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QACd,GAAG,EAAE,4BAA4B;QACjC,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,kBAAkB,EAAE,4BAA4B;QAChD,gBAAgB,EAAE,CAAC,uBAAuB,CAAC;QAC3C,YAAY,EAAE;YACb,MAAM;YACN,aAAa;YACb,MAAM;SACN;KACD,CAAC;IACF;;;;;OAKG;;IACF,KAAK,CAA6C,cAAc,EAAE;QAClE,MAAM,EAAE;YACP;;cAEE;YACF,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;YACtB;;cAEE;YACF,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;SAC1B;KACD,CAAC;IAEF;;;;OAIG;;IACF,KAAK,CAA2C,YAAY,EAAE;QAC9D,MAAM,EAAE;YACP;;cAEE;YACF,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;SACzB;KACD,CAAC;GAEI,oBAAoB,CA2HzB;AAED,oBAAoB,CAAC,MAAM,EAAE,CAAC;AAE9B,eAAe,oBAAoB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport Dialog from \"@ui5/webcomponents/dist/Dialog.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\nimport BusyIndicator from \"@ui5/webcomponents/dist/BusyIndicator.js\";\nimport * as ZXing from \"@zxing/library/umd/index.min.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport type { Result, Exception } from \"@zxing/library/esm5/index.js\";\n\n// Texts\nimport {\n\tBARCODE_SCANNER_DIALOG_CANCEL_BUTTON_TXT,\n\tBARCODE_SCANNER_DIALOG_LOADING_TXT,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Template\nimport BarcodeScannerDialogTemplate from \"./generated/templates/BarcodeScannerDialogTemplate.lit.js\";\n\n// Styles\nimport BarcodeScannerDialogCss from \"./generated/themes/BarcodeScannerDialog.css.js\";\n\n// some tools handle named exports from UMD files and the window object is not assigned but the imports work (vitejs)\n// other tools do not handle named exports (they are undefined after the import), but the window global is assigned and can be used (web dev server)\nconst effectiveZXing = { ...ZXing, ...window.ZXing };\nconst { BrowserMultiFormatReader, NotFoundException } = effectiveZXing;\n\nconst defaultMediaConstraints = {\n\taudio: false,\n\tvideo: {\n\t\theight: {\n\t\t\tmin: 480,\n\t\t\tideal: 960,\n\t\t\tmax: 1440,\n\t\t},\n\t\taspectRatio: 1.333333333,\n\t\tfacingMode: \"environment\",\n\t},\n};\n\ntype BarcodeScannerDialogScanSuccessEventDetail = {\n\ttext: string,\n\trawBytes: Uint8Array,\n};\n\ntype BarcodeScannerDialogScanErrorEventDetail = {\n\tmessage: string,\n};\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `BarcodeScannerDialog` component provides barcode scanning functionality for all devices that support the `MediaDevices.getUserMedia()` native API.\n * Opening the dialog launches the device camera and scans for known barcode formats.\n *\n * A `scanSuccess` event fires whenever a barcode is identified\n * and a `scanError` event fires when the scan failed (for example, due to missing permisions).\n *\n * Internally, the component uses the zxing-js/library third party OSS.\n *\n * For a list of supported barcode formats, see the [zxing-js/library](https://github.com/zxing-js/library) documentation.\n * @constructor\n * @extends UI5Element\n * @public\n * @since 1.0.0-rc.15\n */\n@customElement({\n\ttag: \"ui5-barcode-scanner-dialog\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstaticAreaTemplate: BarcodeScannerDialogTemplate,\n\tstaticAreaStyles: [BarcodeScannerDialogCss],\n\tdependencies: [\n\t\tDialog,\n\t\tBusyIndicator,\n\t\tButton,\n\t],\n})\n/**\n * Fires when the scan is completed successfuuly.\n * @param {string} text the scan result as string\n * @param {Object} rawBytes the scan result as a Uint8Array\n * @public\n */\n@event<BarcodeScannerDialogScanSuccessEventDetail>(\"scan-success\", {\n\tdetail: {\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\ttext: { type: String },\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\trawBytes: { type: Object },\n\t},\n})\n\n/**\n * Fires when the scan fails with error.\n * @param {string} message the error message\n * @public\n */\n@event<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", {\n\tdetail: {\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\tmessage: { type: String },\n\t},\n})\n\nclass BarcodeScannerDialog extends UI5Element {\n\t/**\n\t * Indicates whether a loading indicator should be displayed in the dialog.\n\t * @default false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tloading!: boolean;\n\n\t_codeReader: InstanceType<typeof BrowserMultiFormatReader>;\n\tdialog?: Dialog;\n\tstatic i18nBundle: I18nBundle;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._codeReader = new BrowserMultiFormatReader();\n\t}\n\n\tstatic async onDefine() {\n\t\tBarcodeScannerDialog.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\t/**\n\t * Shows a dialog with the camera videostream. Starts a scan session.\n\t * @public\n\t */\n\tshow(): void {\n\t\tif (this.loading) {\n\t\t\tconsole.warn(\"Barcode scanning is already in progress.\"); // eslint-disable-line\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._hasGetUserMedia()) {\n\t\t\tthis.fireEvent<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", { message: \"getUserMedia() is not supported by your browser\" });\n\t\t\treturn;\n\t\t}\n\n\t\tthis.loading = true;\n\n\t\tthis._getUserPermission()\n\t\t\t.then(() => this._showDialog())\n\t\t\t.catch(err => {\n\t\t\t\tthis.fireEvent<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", { message: err });\n\t\t\t\tthis.loading = false;\n\t\t\t});\n\t}\n\n\t/**\n\t * Closes the dialog and the scan session.\n\t * @public\n\t */\n\tclose():void {\n\t\tthis._closeDialog();\n\t\tthis.loading = false;\n\t}\n\n\t/**\n\t * PRIVATE METHODS\n\t */\n\n\t_hasGetUserMedia() {\n\t\treturn !!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia);\n\t}\n\n\t_getUserPermission() {\n\t\treturn navigator.mediaDevices.getUserMedia(defaultMediaConstraints);\n\t}\n\n\tasync _getDialog() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Dialog>(\"[ui5-dialog]\")!;\n\t}\n\n\tasync _getVideoElement() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<HTMLVideoElement>(\".ui5-barcode-scanner-dialog-video\")!;\n\t}\n\n\tasync _showDialog() {\n\t\tthis.dialog = await this._getDialog();\n\t\tthis.dialog.show();\n\t}\n\n\t_closeDialog() {\n\t\tif (this.dialog && this.dialog.opened) {\n\t\t\tthis.dialog.close();\n\t\t}\n\t}\n\n\t_startReader() {\n\t\tthis._decodeFromCamera();\n\t}\n\n\tasync _resetReader() {\n\t\tconst videoElement = await this._getVideoElement();\n\t\tvideoElement.pause();\n\t\tthis._codeReader.reset();\n\t}\n\n\tasync _decodeFromCamera() {\n\t\tconst videoElement = await this._getVideoElement();\n\t\tthis._codeReader.decodeFromVideoDevice(null, videoElement, (result: Result, err?: Exception) => {\n\t\t\tthis.loading = false;\n\t\t\tif (result) {\n\t\t\t\tthis.fireEvent<BarcodeScannerDialogScanSuccessEventDetail>(\"scan-success\",\n\t\t\t\t\t{\n\t\t\t\t\t\ttext: result.getText(),\n\t\t\t\t\t\trawBytes: result.getRawBytes(),\n\t\t\t\t\t});\n\t\t\t}\n\t\t\tif (err && !(err instanceof NotFoundException)) {\n\t\t\t\tthis.fireEvent<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", { message: err.message });\n\t\t\t}\n\t\t}).catch((err: Error) => this.fireEvent<BarcodeScannerDialogScanErrorEventDetail>(\"scan-error\", { message: err.message }));\n\t}\n\n\tget _cancelButtonText() {\n\t\treturn BarcodeScannerDialog.i18nBundle.getText(BARCODE_SCANNER_DIALOG_CANCEL_BUTTON_TXT);\n\t}\n\n\tget _busyIndicatorText() {\n\t\treturn BarcodeScannerDialog.i18nBundle.getText(BARCODE_SCANNER_DIALOG_LOADING_TXT);\n\t}\n}\n\nBarcodeScannerDialog.define();\n\nexport default BarcodeScannerDialog;\nexport type {\n\tBarcodeScannerDialogScanErrorEventDetail,\n\tBarcodeScannerDialogScanSuccessEventDetail,\n};\n"]}
|
|
@@ -13,19 +13,18 @@ type DynamicSideContentLayoutChangeEventDetail = {
|
|
|
13
13
|
/**
|
|
14
14
|
* @class
|
|
15
15
|
*
|
|
16
|
-
*
|
|
16
|
+
* ### Overview
|
|
17
17
|
*
|
|
18
|
-
* The DynamicSideContent (
|
|
18
|
+
* The DynamicSideContent (`ui5-dynamic-side-content`) is a layout component that allows additional content
|
|
19
19
|
* to be displayed in a way that flexibly adapts to different screen sizes. The side
|
|
20
20
|
* content appears in a container next to or directly below the main content
|
|
21
21
|
* (it doesn't overlay). When the side content is triggered, the main content becomes
|
|
22
22
|
* narrower (if appearing side-by-side). The side content contains a separate scrollbar
|
|
23
23
|
* when appearing next to the main content.
|
|
24
24
|
*
|
|
25
|
+
* ### Usage
|
|
25
26
|
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* <i>When to use?</i>
|
|
27
|
+
* *When to use?*
|
|
29
28
|
*
|
|
30
29
|
* Use this component if you want to display relevant information that is not critical
|
|
31
30
|
* for users to complete a task. Users should have access to all the key functions and
|
|
@@ -33,41 +32,40 @@ type DynamicSideContentLayoutChangeEventDetail = {
|
|
|
33
32
|
* important because on smaller screen sizes it may be difficult to display the side
|
|
34
33
|
* content in a way that is easily accessible for the user.
|
|
35
34
|
*
|
|
36
|
-
*
|
|
35
|
+
* *When not to use?*
|
|
37
36
|
*
|
|
38
37
|
* Don't use it if you want to display navigation or critical information that prevents
|
|
39
38
|
* users from completing a task when they have no access to the side content.
|
|
40
39
|
*
|
|
40
|
+
* ### Responsive Behavior
|
|
41
41
|
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* Screen width > 1440px
|
|
42
|
+
* Screen width \> 1440px
|
|
45
43
|
*
|
|
46
|
-
*
|
|
47
|
-
* each)
|
|
48
|
-
*
|
|
44
|
+
* - Main vs. side content ratio is 75 vs. 25 percent (with a minimum of 320px
|
|
45
|
+
* each).
|
|
46
|
+
* - If the application defines a trigger, the side content can be hidden.
|
|
49
47
|
*
|
|
50
|
-
* Screen width
|
|
48
|
+
* Screen width \<\= 1440px and \> 1024px
|
|
51
49
|
*
|
|
52
|
-
*
|
|
50
|
+
* - Main vs. side content ratio is 66.666 vs. 33.333 percent (with a minimum of
|
|
53
51
|
* 320px each). If the side content width falls below 320 px, it automatically slides
|
|
54
52
|
* under the main content, unless the app development team specifies that it should
|
|
55
|
-
* disappear
|
|
53
|
+
* disappear.
|
|
56
54
|
*
|
|
57
|
-
* Screen width
|
|
55
|
+
* Screen width \<\= 1024px and \> 720px
|
|
58
56
|
*
|
|
59
|
-
*
|
|
60
|
-
* of the width. Only if the
|
|
61
|
-
* and screen width is
|
|
57
|
+
* - The side content ratio is fixed to 340px, and the main content takes the rest
|
|
58
|
+
* of the width. Only if the `sideContentFallDown` is set to `OnMinimumWidth`
|
|
59
|
+
* and screen width is \<\= 960px and \> 720px the side content falls below the main content.
|
|
62
60
|
*
|
|
63
|
-
* Screen width
|
|
61
|
+
* Screen width \<\= 720px (for example on a mobile device)
|
|
64
62
|
*
|
|
65
|
-
*
|
|
66
|
-
* specified to stay under the content by setting of
|
|
67
|
-
* property to
|
|
63
|
+
* - In this case, the side content automatically disappears from the screen (unless
|
|
64
|
+
* specified to stay under the content by setting of `sideContentVisibility`
|
|
65
|
+
* property to `AlwaysShow`) and can be triggered from a pre-set trigger
|
|
68
66
|
* (specified within the app). When the side content is triggered, it replaces the main
|
|
69
67
|
* content. We recommend that you always place the trigger for the side content in the
|
|
70
|
-
* same location, such as in the app footer
|
|
68
|
+
* same location, such as in the app footer.
|
|
71
69
|
*
|
|
72
70
|
* A special case allows switching the comparison mode between the main and side content.
|
|
73
71
|
* In this case, the screen is split into 50:50 percent for main vs. side content. The
|
|
@@ -75,10 +73,9 @@ type DynamicSideContentLayoutChangeEventDetail = {
|
|
|
75
73
|
* side content disappears on screen widths of less than 720 px and can only be
|
|
76
74
|
* viewed by triggering it.
|
|
77
75
|
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
* <code>import "@ui5/webcomponents-fiori/dist/DynamicSideContent";</code>
|
|
76
|
+
* ### ES6 Module Import
|
|
81
77
|
*
|
|
78
|
+
* `import "@ui5/webcomponents-fiori/dist/DynamicSideContent.js";`
|
|
82
79
|
* @constructor
|
|
83
80
|
* @extends UI5Element
|
|
84
81
|
* @public
|
|
@@ -88,7 +85,6 @@ type DynamicSideContentLayoutChangeEventDetail = {
|
|
|
88
85
|
declare class DynamicSideContent extends UI5Element {
|
|
89
86
|
/**
|
|
90
87
|
* Defines the visibility of the main content.
|
|
91
|
-
*
|
|
92
88
|
* @default false
|
|
93
89
|
* @public
|
|
94
90
|
*
|
|
@@ -96,7 +92,6 @@ declare class DynamicSideContent extends UI5Element {
|
|
|
96
92
|
hideMainContent: boolean;
|
|
97
93
|
/**
|
|
98
94
|
* Defines the visibility of the side content.
|
|
99
|
-
*
|
|
100
95
|
* @default false
|
|
101
96
|
* @public
|
|
102
97
|
*
|
|
@@ -105,15 +100,7 @@ declare class DynamicSideContent extends UI5Element {
|
|
|
105
100
|
/**
|
|
106
101
|
* Defines whether the side content is positioned before the main content (left side
|
|
107
102
|
* in LTR mode), or after the the main content (right side in LTR mode).
|
|
108
|
-
|
|
109
|
-
* <br><br>
|
|
110
|
-
* <b>The available values are:</b>
|
|
111
|
-
*
|
|
112
|
-
* <ul>
|
|
113
|
-
* <li><code>Start</code></li>
|
|
114
|
-
* <li><code>End</code></li>
|
|
115
|
-
* </ul>
|
|
116
|
-
*
|
|
103
|
+
|
|
117
104
|
* @default "End"
|
|
118
105
|
* @public
|
|
119
106
|
*
|
|
@@ -121,18 +108,6 @@ declare class DynamicSideContent extends UI5Element {
|
|
|
121
108
|
sideContentPosition: `${SideContentPosition}`;
|
|
122
109
|
/**
|
|
123
110
|
* Defines on which breakpoints the side content is visible.
|
|
124
|
-
*
|
|
125
|
-
* <br><br>
|
|
126
|
-
* <b>The available values are:</b>
|
|
127
|
-
*
|
|
128
|
-
* <ul>
|
|
129
|
-
* <li><code>AlwaysShow</code></li>
|
|
130
|
-
* <li><code>ShowAboveL</code></li>
|
|
131
|
-
* <li><code>ShowAboveM</code></li>
|
|
132
|
-
* <li><code>ShowAboveS</code></li>
|
|
133
|
-
* <li><code>NeverShow</code></li>
|
|
134
|
-
* </ul>
|
|
135
|
-
*
|
|
136
111
|
* @default "ShowAboveS"
|
|
137
112
|
* @public
|
|
138
113
|
*
|
|
@@ -140,17 +115,6 @@ declare class DynamicSideContent extends UI5Element {
|
|
|
140
115
|
sideContentVisibility: `${SideContentVisibility}`;
|
|
141
116
|
/**
|
|
142
117
|
* Defines on which breakpoints the side content falls down below the main content.
|
|
143
|
-
*
|
|
144
|
-
* <br><br>
|
|
145
|
-
* <b>The available values are:</b>
|
|
146
|
-
*
|
|
147
|
-
* <ul>
|
|
148
|
-
* <li><code>BelowXL</code></li>
|
|
149
|
-
* <li><code>BelowL</code></li>
|
|
150
|
-
* <li><code>BelowM</code></li>
|
|
151
|
-
* <li><code>OnMinimumWidth</code></li>
|
|
152
|
-
* </ul>
|
|
153
|
-
*
|
|
154
118
|
* @default "OnMinimumWidth"
|
|
155
119
|
* @public
|
|
156
120
|
*
|
|
@@ -161,7 +125,6 @@ declare class DynamicSideContent extends UI5Element {
|
|
|
161
125
|
* the main content take 50:50 percent of the container on all screen sizes
|
|
162
126
|
* except for phone, where the main and side contents are switching visibility
|
|
163
127
|
* using the toggle method.
|
|
164
|
-
*
|
|
165
128
|
* @default false
|
|
166
129
|
* @public
|
|
167
130
|
*
|
|
@@ -185,7 +148,6 @@ declare class DynamicSideContent extends UI5Element {
|
|
|
185
148
|
_currentBreakpoint: string;
|
|
186
149
|
/**
|
|
187
150
|
* Defines the side content.
|
|
188
|
-
*
|
|
189
151
|
* @public
|
|
190
152
|
*/
|
|
191
153
|
sideContent: Array<HTMLElement>;
|
|
@@ -198,7 +160,6 @@ declare class DynamicSideContent extends UI5Element {
|
|
|
198
160
|
onExitDOM(): void;
|
|
199
161
|
/**
|
|
200
162
|
* Toggles visibility of main and side contents on S screen size (mobile device).
|
|
201
|
-
*
|
|
202
163
|
* @public
|
|
203
164
|
*/
|
|
204
165
|
toggleContents(): void;
|
|
@@ -29,19 +29,18 @@ MINIMUM_WIDTH_BREAKPOINT = 960; // Minimum width of the control where main and s
|
|
|
29
29
|
/**
|
|
30
30
|
* @class
|
|
31
31
|
*
|
|
32
|
-
*
|
|
32
|
+
* ### Overview
|
|
33
33
|
*
|
|
34
|
-
* The DynamicSideContent (
|
|
34
|
+
* The DynamicSideContent (`ui5-dynamic-side-content`) is a layout component that allows additional content
|
|
35
35
|
* to be displayed in a way that flexibly adapts to different screen sizes. The side
|
|
36
36
|
* content appears in a container next to or directly below the main content
|
|
37
37
|
* (it doesn't overlay). When the side content is triggered, the main content becomes
|
|
38
38
|
* narrower (if appearing side-by-side). The side content contains a separate scrollbar
|
|
39
39
|
* when appearing next to the main content.
|
|
40
40
|
*
|
|
41
|
+
* ### Usage
|
|
41
42
|
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* <i>When to use?</i>
|
|
43
|
+
* *When to use?*
|
|
45
44
|
*
|
|
46
45
|
* Use this component if you want to display relevant information that is not critical
|
|
47
46
|
* for users to complete a task. Users should have access to all the key functions and
|
|
@@ -49,41 +48,40 @@ MINIMUM_WIDTH_BREAKPOINT = 960; // Minimum width of the control where main and s
|
|
|
49
48
|
* important because on smaller screen sizes it may be difficult to display the side
|
|
50
49
|
* content in a way that is easily accessible for the user.
|
|
51
50
|
*
|
|
52
|
-
*
|
|
51
|
+
* *When not to use?*
|
|
53
52
|
*
|
|
54
53
|
* Don't use it if you want to display navigation or critical information that prevents
|
|
55
54
|
* users from completing a task when they have no access to the side content.
|
|
56
55
|
*
|
|
56
|
+
* ### Responsive Behavior
|
|
57
57
|
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* Screen width > 1440px
|
|
58
|
+
* Screen width \> 1440px
|
|
61
59
|
*
|
|
62
|
-
*
|
|
63
|
-
* each)
|
|
64
|
-
*
|
|
60
|
+
* - Main vs. side content ratio is 75 vs. 25 percent (with a minimum of 320px
|
|
61
|
+
* each).
|
|
62
|
+
* - If the application defines a trigger, the side content can be hidden.
|
|
65
63
|
*
|
|
66
|
-
* Screen width
|
|
64
|
+
* Screen width \<\= 1440px and \> 1024px
|
|
67
65
|
*
|
|
68
|
-
*
|
|
66
|
+
* - Main vs. side content ratio is 66.666 vs. 33.333 percent (with a minimum of
|
|
69
67
|
* 320px each). If the side content width falls below 320 px, it automatically slides
|
|
70
68
|
* under the main content, unless the app development team specifies that it should
|
|
71
|
-
* disappear
|
|
69
|
+
* disappear.
|
|
72
70
|
*
|
|
73
|
-
* Screen width
|
|
71
|
+
* Screen width \<\= 1024px and \> 720px
|
|
74
72
|
*
|
|
75
|
-
*
|
|
76
|
-
* of the width. Only if the
|
|
77
|
-
* and screen width is
|
|
73
|
+
* - The side content ratio is fixed to 340px, and the main content takes the rest
|
|
74
|
+
* of the width. Only if the `sideContentFallDown` is set to `OnMinimumWidth`
|
|
75
|
+
* and screen width is \<\= 960px and \> 720px the side content falls below the main content.
|
|
78
76
|
*
|
|
79
|
-
* Screen width
|
|
77
|
+
* Screen width \<\= 720px (for example on a mobile device)
|
|
80
78
|
*
|
|
81
|
-
*
|
|
82
|
-
* specified to stay under the content by setting of
|
|
83
|
-
* property to
|
|
79
|
+
* - In this case, the side content automatically disappears from the screen (unless
|
|
80
|
+
* specified to stay under the content by setting of `sideContentVisibility`
|
|
81
|
+
* property to `AlwaysShow`) and can be triggered from a pre-set trigger
|
|
84
82
|
* (specified within the app). When the side content is triggered, it replaces the main
|
|
85
83
|
* content. We recommend that you always place the trigger for the side content in the
|
|
86
|
-
* same location, such as in the app footer
|
|
84
|
+
* same location, such as in the app footer.
|
|
87
85
|
*
|
|
88
86
|
* A special case allows switching the comparison mode between the main and side content.
|
|
89
87
|
* In this case, the screen is split into 50:50 percent for main vs. side content. The
|
|
@@ -91,10 +89,9 @@ MINIMUM_WIDTH_BREAKPOINT = 960; // Minimum width of the control where main and s
|
|
|
91
89
|
* side content disappears on screen widths of less than 720 px and can only be
|
|
92
90
|
* viewed by triggering it.
|
|
93
91
|
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* <code>import "@ui5/webcomponents-fiori/dist/DynamicSideContent";</code>
|
|
92
|
+
* ### ES6 Module Import
|
|
97
93
|
*
|
|
94
|
+
* `import "@ui5/webcomponents-fiori/dist/DynamicSideContent.js";`
|
|
98
95
|
* @constructor
|
|
99
96
|
* @extends UI5Element
|
|
100
97
|
* @public
|
|
@@ -120,7 +117,6 @@ let DynamicSideContent = DynamicSideContent_1 = class DynamicSideContent extends
|
|
|
120
117
|
}
|
|
121
118
|
/**
|
|
122
119
|
* Toggles visibility of main and side contents on S screen size (mobile device).
|
|
123
|
-
*
|
|
124
120
|
* @public
|
|
125
121
|
*/
|
|
126
122
|
toggleContents() {
|