@ui5/webcomponents-fiori 0.0.0-aeb93167c → 0.0.0-b053ad005
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 +121 -0
- package/README.md +57 -9
- package/dist/Assets-static.js +6 -0
- package/dist/Assets.js +1 -1
- package/dist/Bar.js +182 -0
- package/dist/BarcodeScannerDialog.js +262 -0
- package/dist/FilterItem.js +94 -0
- package/dist/FilterItemOption.js +69 -0
- package/dist/FlexibleColumnLayout.js +67 -28
- package/dist/IllustratedMessage.js +314 -0
- package/dist/Interfaces.js +122 -0
- package/dist/{NotificationOverflowAction.js → NotificationAction.js} +22 -13
- package/dist/NotificationListGroupItem.js +60 -27
- package/dist/NotificationListItem.js +68 -69
- package/dist/NotificationListItemBase.js +45 -15
- package/dist/Page.js +223 -0
- package/dist/ProductSwitch.js +78 -11
- package/dist/ProductSwitchItem.js +32 -8
- package/dist/ShellBar.js +198 -76
- package/dist/ShellBarItem.js +5 -15
- package/dist/SideNavigation.js +54 -13
- package/dist/SideNavigationItem.js +38 -4
- package/dist/SideNavigationSubItem.js +20 -1
- package/dist/SortItem.js +68 -0
- package/dist/Timeline.js +169 -0
- package/dist/TimelineItem.js +197 -0
- package/dist/UploadCollection.js +73 -26
- package/dist/UploadCollectionItem.js +111 -99
- package/dist/ViewSettingsDialog.js +628 -0
- package/dist/Wizard.js +413 -109
- package/dist/WizardStep.js +25 -34
- package/dist/WizardTab.js +23 -83
- package/dist/api.json +2204 -1
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_in.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_TW.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 -0
- package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -0
- package/dist/generated/i18n/i18n-defaults.js +2 -2
- package/dist/generated/json-imports/Themes-static.js +35 -0
- package/dist/generated/json-imports/Themes.js +23 -19
- package/dist/generated/json-imports/i18n-static.js +162 -0
- package/dist/generated/json-imports/i18n.js +113 -89
- package/dist/generated/templates/BarTemplate.lit.js +7 -0
- package/dist/generated/templates/BarcodeScannerDialogTemplate.lit.js +7 -0
- package/dist/generated/templates/FilterItemTemplate.lit.js +20 -0
- package/dist/generated/templates/FlexibleColumnLayoutTemplate.lit.js +4 -11
- package/dist/generated/templates/IllustratedMessageTemplate.lit.js +13 -0
- package/dist/generated/templates/NotifactionOverflowActionsPopoverTemplate.lit.js +5 -12
- package/dist/generated/templates/NotificationListGroupItemTemplate.lit.js +12 -19
- package/dist/generated/templates/NotificationListItemTemplate.lit.js +13 -20
- package/dist/generated/templates/PageTemplate.lit.js +7 -0
- package/dist/generated/templates/ProductSwitchItemTemplate.lit.js +12 -19
- package/dist/generated/templates/ProductSwitchTemplate.lit.js +4 -11
- package/dist/generated/templates/ShellBarPopoverTemplate.lit.js +6 -13
- package/dist/generated/templates/ShellBarTemplate.lit.js +22 -27
- package/dist/generated/templates/SideNavigationItemPopoverContentTemplate.lit.js +5 -12
- package/dist/generated/templates/SideNavigationTemplate.lit.js +13 -19
- package/dist/generated/templates/TimelineItemTemplate.lit.js +13 -0
- package/dist/generated/templates/TimelineTemplate.lit.js +8 -0
- package/dist/generated/templates/UploadCollectionItemTemplate.lit.js +23 -30
- package/dist/generated/templates/UploadCollectionTemplate.lit.js +6 -14
- package/dist/generated/templates/ViewSettingsDialogTemplate.lit.js +18 -0
- package/dist/generated/templates/WizardPopoverTemplate.lit.js +8 -0
- package/dist/generated/templates/WizardTabTemplate.lit.js +8 -15
- package/dist/generated/templates/WizardTemplate.lit.js +6 -13
- package/dist/generated/themes/Bar.css.js +8 -0
- package/dist/generated/themes/BarcodeScannerDialog.css.js +8 -0
- package/dist/generated/themes/FilterItem.css.js +8 -0
- package/dist/generated/themes/FlexibleColumnLayout.css.js +5 -5
- package/dist/generated/themes/IllustratedMessage.css.js +8 -0
- package/dist/generated/themes/InvisibleTextStyles.css.js +5 -5
- package/dist/generated/themes/NotifactionOverflowActionsPopover.css.js +5 -5
- package/dist/generated/themes/NotificationListGroupItem.css.js +5 -5
- package/dist/generated/themes/NotificationListItem.css.js +5 -5
- package/dist/generated/themes/NotificationListItemBase.css.js +5 -5
- package/dist/generated/themes/NotificationPrioIcon.css.js +5 -5
- package/dist/generated/themes/Page.css.js +8 -0
- package/dist/generated/themes/ProductSwitch.css.js +5 -5
- package/dist/generated/themes/ProductSwitchItem.css.js +5 -5
- package/dist/generated/themes/ShellBar.css.js +5 -5
- package/dist/generated/themes/SideNavigation.css.js +5 -5
- package/dist/generated/themes/Timeline.css.js +8 -0
- package/dist/generated/themes/TimelineItem.css.js +8 -0
- package/dist/generated/themes/UploadCollection.css.js +5 -5
- package/dist/generated/themes/UploadCollectionItem.css.js +5 -5
- package/dist/generated/themes/ViewSettingsDialog.css.js +8 -0
- package/dist/generated/themes/Wizard.css.js +5 -5
- package/dist/generated/themes/WizardPopover.css.js +8 -0
- package/dist/generated/themes/WizardTab.css.js +5 -5
- package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -0
- package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -0
- package/dist/i18n/messagebundle.properties +266 -0
- package/dist/i18n/messagebundle_ar.properties +177 -0
- package/dist/i18n/messagebundle_bg.properties +177 -0
- package/dist/i18n/messagebundle_ca.properties +177 -0
- package/dist/i18n/messagebundle_cs.properties +177 -0
- package/dist/i18n/messagebundle_cy.properties +177 -0
- package/dist/i18n/messagebundle_da.properties +177 -0
- package/dist/i18n/messagebundle_de.properties +177 -0
- package/dist/i18n/messagebundle_el.properties +177 -0
- package/dist/i18n/messagebundle_en.properties +177 -0
- package/dist/i18n/messagebundle_en_GB.properties +177 -0
- package/dist/i18n/messagebundle_en_US_sappsd.properties +177 -0
- package/dist/i18n/messagebundle_en_US_saprigi.properties +177 -0
- package/dist/i18n/messagebundle_en_US_saptrc.properties +177 -0
- package/dist/i18n/messagebundle_es.properties +177 -0
- package/dist/i18n/messagebundle_es_MX.properties +177 -0
- package/dist/i18n/messagebundle_et.properties +177 -0
- package/dist/i18n/messagebundle_fi.properties +177 -0
- package/dist/i18n/messagebundle_fr.properties +177 -0
- package/dist/i18n/messagebundle_fr_CA.properties +177 -0
- package/dist/i18n/messagebundle_hi.properties +177 -0
- package/dist/i18n/messagebundle_hr.properties +177 -0
- package/dist/i18n/messagebundle_hu.properties +177 -0
- package/dist/i18n/messagebundle_id.properties +177 -0
- package/dist/i18n/messagebundle_in.properties +88 -0
- package/dist/i18n/messagebundle_it.properties +177 -0
- package/dist/i18n/messagebundle_iw.properties +177 -0
- package/dist/i18n/messagebundle_ja.properties +177 -0
- package/dist/i18n/messagebundle_kk.properties +177 -0
- package/dist/i18n/messagebundle_ko.properties +177 -0
- package/dist/i18n/messagebundle_lt.properties +177 -0
- package/dist/i18n/messagebundle_lv.properties +177 -0
- package/dist/i18n/messagebundle_ms.properties +177 -0
- package/dist/i18n/messagebundle_nl.properties +177 -0
- package/dist/i18n/messagebundle_no.properties +177 -0
- package/dist/i18n/messagebundle_pl.properties +177 -0
- package/dist/i18n/messagebundle_pt.properties +177 -0
- package/dist/i18n/messagebundle_pt_PT.properties +177 -0
- package/dist/i18n/messagebundle_ro.properties +177 -0
- package/dist/i18n/messagebundle_ru.properties +177 -0
- package/dist/i18n/messagebundle_sh.properties +177 -0
- package/dist/i18n/messagebundle_sk.properties +177 -0
- package/dist/i18n/messagebundle_sl.properties +177 -0
- package/dist/i18n/messagebundle_sv.properties +177 -0
- package/dist/i18n/messagebundle_th.properties +177 -0
- package/dist/i18n/messagebundle_tr.properties +177 -0
- package/dist/i18n/messagebundle_uk.properties +177 -0
- package/dist/i18n/messagebundle_vi.properties +177 -0
- package/dist/i18n/messagebundle_zh_CN.properties +177 -0
- package/dist/i18n/messagebundle_zh_TW.properties +177 -0
- package/dist/illustrations/BeforeSearch.js +28 -0
- package/dist/illustrations/NoActivities.js +28 -0
- package/dist/illustrations/NoData.js +28 -0
- package/dist/illustrations/NoEntries.js +28 -0
- package/dist/illustrations/NoMail.js +28 -0
- package/dist/illustrations/NoNotifications.js +28 -0
- package/dist/illustrations/NoSavedItems.js +28 -0
- package/dist/illustrations/NoSearchResults.js +28 -0
- package/dist/illustrations/NoTasks.js +28 -0
- package/dist/illustrations/UnableToLoad.js +28 -0
- package/dist/illustrations/UnableToUpload.js +28 -0
- package/dist/illustrations/sapIllus-Dialog-BeforeSearch.js +14 -0
- package/dist/illustrations/sapIllus-Dialog-NoActivities.js +19 -0
- package/dist/illustrations/sapIllus-Dialog-NoData.js +11 -0
- package/dist/illustrations/sapIllus-Dialog-NoEntries.js +19 -0
- package/dist/illustrations/sapIllus-Dialog-NoMail.js +12 -0
- package/dist/illustrations/sapIllus-Dialog-NoNotifications.js +15 -0
- package/dist/illustrations/sapIllus-Dialog-NoSavedItems.js +14 -0
- package/dist/illustrations/sapIllus-Dialog-NoSearchResults.js +16 -0
- package/dist/illustrations/sapIllus-Dialog-NoTasks.js +19 -0
- package/dist/illustrations/sapIllus-Dialog-UnableToLoad.js +12 -0
- package/dist/illustrations/sapIllus-Dialog-UnableToUpload.js +14 -0
- package/dist/illustrations/sapIllus-Scene-BeforeSearch.js +32 -0
- package/dist/illustrations/sapIllus-Scene-NoActivities.js +29 -0
- package/dist/illustrations/sapIllus-Scene-NoData.js +24 -0
- package/dist/illustrations/sapIllus-Scene-NoEntries.js +33 -0
- package/dist/illustrations/sapIllus-Scene-NoMail.js +24 -0
- package/dist/illustrations/sapIllus-Scene-NoNotifications.js +37 -0
- package/dist/illustrations/sapIllus-Scene-NoSavedItems.js +36 -0
- package/dist/illustrations/sapIllus-Scene-NoSearchResults.js +16 -0
- package/dist/illustrations/sapIllus-Scene-NoTasks.js +23 -0
- package/dist/illustrations/sapIllus-Scene-UnableToLoad.js +24 -0
- package/dist/illustrations/sapIllus-Scene-UnableToUpload.js +14 -0
- package/dist/illustrations/sapIllus-Spot-BeforeSearch.js +11 -0
- package/dist/illustrations/sapIllus-Spot-NoActivities.js +23 -0
- package/dist/illustrations/sapIllus-Spot-NoData.js +9 -0
- package/dist/illustrations/sapIllus-Spot-NoEntries.js +22 -0
- package/dist/illustrations/sapIllus-Spot-NoMail.js +11 -0
- package/dist/illustrations/sapIllus-Spot-NoNotifications.js +15 -0
- package/dist/illustrations/sapIllus-Spot-NoSavedItems.js +9 -0
- package/dist/illustrations/sapIllus-Spot-NoSearchResults.js +14 -0
- package/dist/illustrations/sapIllus-Spot-NoTasks.js +20 -0
- package/dist/illustrations/sapIllus-Spot-UnableToLoad.js +11 -0
- package/dist/illustrations/sapIllus-Spot-UnableToUpload.js +11 -0
- package/dist/illustrations/tnt/CodePlaceholder.js +20 -0
- package/dist/illustrations/tnt/Company.js +20 -0
- package/dist/illustrations/tnt/ExternalLink.js +20 -0
- package/dist/illustrations/tnt/FaceID.js +20 -0
- package/dist/illustrations/tnt/Fingerprint.js +20 -0
- package/dist/illustrations/tnt/Lock.js +20 -0
- package/dist/illustrations/tnt/Mission.js +20 -0
- package/dist/illustrations/tnt/NoApplications.js +20 -0
- package/dist/illustrations/tnt/NoFlows.js +20 -0
- package/dist/illustrations/tnt/NoUsers.js +20 -0
- package/dist/illustrations/tnt/Radar.js +20 -0
- package/dist/illustrations/tnt/Services.js +20 -0
- package/dist/illustrations/tnt/SessionExpired.js +20 -0
- package/dist/illustrations/tnt/SessionExpiring.js +20 -0
- package/dist/illustrations/tnt/Success.js +20 -0
- package/dist/illustrations/tnt/SuccessfulAuth.js +20 -0
- package/dist/illustrations/tnt/Unlock.js +20 -0
- package/dist/illustrations/tnt/UnsuccessfulAuth.js +20 -0
- package/dist/illustrations/tnt/tnt-Dialog-CodePlaceholder.js +6 -0
- package/dist/illustrations/tnt/tnt-Dialog-Company.js +13 -0
- package/dist/illustrations/tnt/tnt-Dialog-ExternalLink.js +11 -0
- package/dist/illustrations/tnt/tnt-Dialog-FaceID.js +17 -0
- package/dist/illustrations/tnt/tnt-Dialog-Fingerprint.js +16 -0
- package/dist/illustrations/tnt/tnt-Dialog-Lock.js +12 -0
- package/dist/illustrations/tnt/tnt-Dialog-Mission.js +18 -0
- package/dist/illustrations/tnt/tnt-Dialog-NoApplications.js +16 -0
- package/dist/illustrations/tnt/tnt-Dialog-NoFlows.js +12 -0
- package/dist/illustrations/tnt/tnt-Dialog-NoUsers.js +16 -0
- package/dist/illustrations/tnt/tnt-Dialog-Radar.js +15 -0
- package/dist/illustrations/tnt/tnt-Dialog-Services.js +16 -0
- package/dist/illustrations/tnt/tnt-Dialog-SessionExpired.js +11 -0
- package/dist/illustrations/tnt/tnt-Dialog-SessionExpiring.js +10 -0
- package/dist/illustrations/tnt/tnt-Dialog-Success.js +10 -0
- package/dist/illustrations/tnt/tnt-Dialog-SuccessfulAuth.js +10 -0
- package/dist/illustrations/tnt/tnt-Dialog-Unlock.js +12 -0
- package/dist/illustrations/tnt/tnt-Dialog-UnsuccessfulAuth.js +11 -0
- package/dist/illustrations/tnt/tnt-Scene-CodePlaceholder.js +9 -0
- package/dist/illustrations/tnt/tnt-Scene-Company.js +30 -0
- package/dist/illustrations/tnt/tnt-Scene-ExternalLink.js +14 -0
- package/dist/illustrations/tnt/tnt-Scene-FaceID.js +21 -0
- package/dist/illustrations/tnt/tnt-Scene-Fingerprint.js +35 -0
- package/dist/illustrations/tnt/tnt-Scene-Lock.js +22 -0
- package/dist/illustrations/tnt/tnt-Scene-Mission.js +19 -0
- package/dist/illustrations/tnt/tnt-Scene-NoApplications.js +18 -0
- package/dist/illustrations/tnt/tnt-Scene-NoFlows.js +20 -0
- package/dist/illustrations/tnt/tnt-Scene-NoUsers.js +17 -0
- package/dist/illustrations/tnt/tnt-Scene-Radar.js +20 -0
- package/dist/illustrations/tnt/tnt-Scene-Services.js +17 -0
- package/dist/illustrations/tnt/tnt-Scene-SessionExpired.js +18 -0
- package/dist/illustrations/tnt/tnt-Scene-SessionExpiring.js +17 -0
- package/dist/illustrations/tnt/tnt-Scene-Success.js +18 -0
- package/dist/illustrations/tnt/tnt-Scene-SuccessfulAuth.js +20 -0
- package/dist/illustrations/tnt/tnt-Scene-Unlock.js +15 -0
- package/dist/illustrations/tnt/tnt-Scene-UnsuccessfulAuth.js +22 -0
- package/dist/illustrations/tnt/tnt-Spot-CodePlaceholder.js +6 -0
- package/dist/illustrations/tnt/tnt-Spot-Company.js +13 -0
- package/dist/illustrations/tnt/tnt-Spot-ExternalLink.js +9 -0
- package/dist/illustrations/tnt/tnt-Spot-FaceID.js +16 -0
- package/dist/illustrations/tnt/tnt-Spot-Fingerprint.js +10 -0
- package/dist/illustrations/tnt/tnt-Spot-Lock.js +13 -0
- package/dist/illustrations/tnt/tnt-Spot-Mission.js +17 -0
- package/dist/illustrations/tnt/tnt-Spot-NoApplications.js +12 -0
- package/dist/illustrations/tnt/tnt-Spot-NoFlows.js +9 -0
- package/dist/illustrations/tnt/tnt-Spot-NoUsers.js +12 -0
- package/dist/illustrations/tnt/tnt-Spot-Radar.js +14 -0
- package/dist/illustrations/tnt/tnt-Spot-Services.js +15 -0
- package/dist/illustrations/tnt/tnt-Spot-SessionExpired.js +9 -0
- package/dist/illustrations/tnt/tnt-Spot-SessionExpiring.js +9 -0
- package/dist/illustrations/tnt/tnt-Spot-Success.js +9 -0
- package/dist/illustrations/tnt/tnt-Spot-SuccessfulAuth.js +9 -0
- package/dist/illustrations/tnt/tnt-Spot-Unlock.js +11 -0
- package/dist/illustrations/tnt/tnt-Spot-UnsuccessfulAuth.js +10 -0
- package/dist/types/BarDesign.js +54 -0
- package/dist/types/FCLLayout.js +1 -1
- package/dist/types/IllustrationMessageType.js +202 -0
- package/dist/types/PageBackgroundDesign.js +53 -0
- package/dist/types/TimelineLayout.js +42 -0
- package/dist/types/UploadCollectionDnDMode.js +1 -1
- package/dist/types/UploadState.js +1 -1
- package/dist/types/ViewSettingsDialogMode.js +43 -0
- package/dist/upload-utils/UploadCollectionBodyDnD.js +0 -1
- package/dist/webcomponentsjs/CHANGELOG.md +61 -0
- package/dist/webcomponentsjs/README.md +64 -47
- package/dist/webcomponentsjs/bundles/webcomponents-ce.js +38 -38
- package/dist/webcomponentsjs/bundles/webcomponents-ce.js.map +1 -1
- package/dist/webcomponentsjs/bundles/webcomponents-pf_dom.js +60 -0
- package/dist/webcomponentsjs/bundles/webcomponents-pf_dom.js.map +1 -0
- package/dist/webcomponentsjs/bundles/webcomponents-pf_js.js +95 -0
- package/dist/webcomponentsjs/bundles/webcomponents-pf_js.js.map +1 -0
- package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +292 -229
- package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +1 -1
- package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js +190 -170
- package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +1 -1
- package/dist/webcomponentsjs/bundles/webcomponents-sd.js +151 -132
- package/dist/webcomponentsjs/bundles/webcomponents-sd.js.map +1 -1
- package/dist/webcomponentsjs/custom-elements-es5-adapter.js +2 -2
- package/dist/webcomponentsjs/webcomponents-bundle.js +302 -230
- package/dist/webcomponentsjs/webcomponents-bundle.js.map +1 -1
- package/dist/webcomponentsjs/webcomponents-loader.js +49 -28
- package/package-scripts.js +18 -1
- package/package.json +19 -7
- package/src/Assets-static.js +6 -0
- package/src/Assets.js +1 -1
- package/src/Bar.hbs +16 -0
- package/src/Bar.js +182 -0
- package/src/BarcodeScannerDialog.hbs +17 -0
- package/src/BarcodeScannerDialog.js +262 -0
- package/src/FilterItem.hbs +8 -0
- package/src/FilterItem.js +94 -0
- package/src/FilterItemOption.js +69 -0
- package/src/FlexibleColumnLayout.hbs +0 -2
- package/src/FlexibleColumnLayout.js +67 -28
- package/src/IllustratedMessage.hbs +58 -0
- package/src/IllustratedMessage.js +314 -0
- package/src/Interfaces.js +122 -0
- package/src/NotifactionOverflowActionsPopover.hbs +1 -1
- package/src/{NotificationOverflowAction.js → NotificationAction.js} +22 -13
- package/src/NotificationListGroupItem.hbs +16 -7
- package/src/NotificationListGroupItem.js +60 -27
- package/src/NotificationListItem.hbs +15 -8
- package/src/NotificationListItem.js +68 -69
- package/src/NotificationListItemBase.js +45 -15
- package/src/Page.hbs +15 -0
- package/src/Page.js +223 -0
- package/src/ProductSwitch.hbs +7 -1
- package/src/ProductSwitch.js +78 -11
- package/src/ProductSwitchItem.hbs +5 -4
- package/src/ProductSwitchItem.js +32 -8
- package/src/ShellBar.hbs +31 -23
- package/src/ShellBar.js +198 -76
- package/src/ShellBarItem.js +5 -15
- package/src/ShellBarPopover.hbs +1 -1
- package/src/SideNavigation.hbs +11 -3
- package/src/SideNavigation.js +54 -13
- package/src/SideNavigationItem.js +38 -4
- package/src/SideNavigationItemPopoverContent.hbs +18 -15
- package/src/SideNavigationSubItem.js +20 -1
- package/src/SortItem.js +68 -0
- package/src/Timeline.hbs +15 -0
- package/src/Timeline.js +169 -0
- package/src/TimelineItem.hbs +38 -0
- package/src/TimelineItem.js +197 -0
- package/src/UploadCollection.hbs +13 -9
- package/src/UploadCollection.js +73 -26
- package/src/UploadCollectionItem.hbs +16 -7
- package/src/UploadCollectionItem.js +111 -99
- package/src/ViewSettingsDialog.hbs +108 -0
- package/src/ViewSettingsDialog.js +628 -0
- package/src/Wizard.hbs +17 -17
- package/src/Wizard.js +413 -109
- package/src/WizardPopover.hbs +33 -0
- package/src/WizardStep.js +25 -34
- package/src/WizardTab.hbs +8 -9
- package/src/WizardTab.js +23 -83
- package/src/i18n/messagebundle.properties +150 -2
- package/src/i18n/messagebundle_ar.properties +111 -0
- package/src/i18n/messagebundle_bg.properties +111 -0
- package/src/i18n/messagebundle_ca.properties +111 -0
- package/src/i18n/messagebundle_cs.properties +111 -0
- package/src/i18n/messagebundle_cy.properties +177 -0
- package/src/i18n/messagebundle_da.properties +111 -0
- package/src/i18n/messagebundle_de.properties +111 -0
- package/src/i18n/messagebundle_el.properties +111 -0
- package/src/i18n/messagebundle_en.properties +111 -0
- package/src/i18n/messagebundle_en_GB.properties +177 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +111 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +177 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +111 -0
- package/src/i18n/messagebundle_es.properties +111 -0
- package/src/i18n/messagebundle_es_MX.properties +177 -0
- package/src/i18n/messagebundle_et.properties +111 -0
- package/src/i18n/messagebundle_fi.properties +111 -0
- package/src/i18n/messagebundle_fr.properties +111 -0
- package/src/i18n/messagebundle_fr_CA.properties +177 -0
- package/src/i18n/messagebundle_hi.properties +111 -0
- package/src/i18n/messagebundle_hr.properties +111 -0
- package/src/i18n/messagebundle_hu.properties +111 -0
- package/src/i18n/messagebundle_id.properties +177 -0
- package/src/i18n/messagebundle_in.properties +88 -0
- package/src/i18n/messagebundle_it.properties +113 -2
- package/src/i18n/messagebundle_iw.properties +111 -0
- package/src/i18n/messagebundle_ja.properties +111 -0
- package/src/i18n/messagebundle_kk.properties +111 -0
- package/src/i18n/messagebundle_ko.properties +112 -1
- package/src/i18n/messagebundle_lt.properties +111 -0
- package/src/i18n/messagebundle_lv.properties +111 -0
- package/src/i18n/messagebundle_ms.properties +111 -0
- package/src/i18n/messagebundle_nl.properties +111 -0
- package/src/i18n/messagebundle_no.properties +111 -0
- package/src/i18n/messagebundle_pl.properties +112 -1
- package/src/i18n/messagebundle_pt.properties +111 -0
- package/src/i18n/messagebundle_pt_PT.properties +177 -0
- package/src/i18n/messagebundle_ro.properties +111 -0
- package/src/i18n/messagebundle_ru.properties +111 -0
- package/src/i18n/messagebundle_sh.properties +112 -1
- package/src/i18n/messagebundle_sk.properties +111 -0
- package/src/i18n/messagebundle_sl.properties +111 -0
- package/src/i18n/messagebundle_sv.properties +111 -0
- package/src/i18n/messagebundle_th.properties +111 -0
- package/src/i18n/messagebundle_tr.properties +112 -1
- package/src/i18n/messagebundle_uk.properties +111 -0
- package/src/i18n/messagebundle_vi.properties +111 -0
- package/src/i18n/messagebundle_zh_CN.properties +111 -0
- package/src/i18n/messagebundle_zh_TW.properties +111 -0
- package/src/illustrations/sapIllus-Dialog-BeforeSearch.svg +13 -0
- package/src/illustrations/sapIllus-Dialog-NoActivities.svg +18 -0
- package/src/illustrations/sapIllus-Dialog-NoData.svg +10 -0
- package/src/illustrations/sapIllus-Dialog-NoEntries.svg +18 -0
- package/src/illustrations/sapIllus-Dialog-NoMail.svg +11 -0
- package/src/illustrations/sapIllus-Dialog-NoNotifications.svg +14 -0
- package/src/illustrations/sapIllus-Dialog-NoSavedItems.svg +13 -0
- package/src/illustrations/sapIllus-Dialog-NoSearchResults.svg +15 -0
- package/src/illustrations/sapIllus-Dialog-NoTasks.svg +18 -0
- package/src/illustrations/sapIllus-Dialog-UnableToLoad.svg +11 -0
- package/src/illustrations/sapIllus-Dialog-UnableToUpload.svg +13 -0
- package/src/illustrations/sapIllus-Scene-BeforeSearch.svg +31 -0
- package/src/illustrations/sapIllus-Scene-NoActivities.svg +28 -0
- package/src/illustrations/sapIllus-Scene-NoData.svg +23 -0
- package/src/illustrations/sapIllus-Scene-NoEntries.svg +32 -0
- package/src/illustrations/sapIllus-Scene-NoMail.svg +23 -0
- package/src/illustrations/sapIllus-Scene-NoNotifications.svg +36 -0
- package/src/illustrations/sapIllus-Scene-NoSavedItems.svg +36 -0
- package/src/illustrations/sapIllus-Scene-NoSearchResults.svg +15 -0
- package/src/illustrations/sapIllus-Scene-NoTasks.svg +22 -0
- package/src/illustrations/sapIllus-Scene-UnableToLoad.svg +23 -0
- package/src/illustrations/sapIllus-Scene-UnableToUpload.svg +13 -0
- package/src/illustrations/sapIllus-Spot-BeforeSearch.svg +10 -0
- package/src/illustrations/sapIllus-Spot-NoActivities.svg +23 -0
- package/src/illustrations/sapIllus-Spot-NoData.svg +9 -0
- package/src/illustrations/sapIllus-Spot-NoEntries.svg +22 -0
- package/src/illustrations/sapIllus-Spot-NoMail.svg +10 -0
- package/src/illustrations/sapIllus-Spot-NoNotifications.svg +15 -0
- package/src/illustrations/sapIllus-Spot-NoSavedItems.svg +9 -0
- package/src/illustrations/sapIllus-Spot-NoSearchResults.svg +13 -0
- package/src/illustrations/sapIllus-Spot-NoTasks.svg +20 -0
- package/src/illustrations/sapIllus-Spot-UnableToLoad.svg +10 -0
- package/src/illustrations/sapIllus-Spot-UnableToUpload.svg +10 -0
- package/src/illustrations/tnt/tnt-Dialog-CodePlaceholder.svg +6 -0
- package/src/illustrations/tnt/tnt-Dialog-Company.svg +13 -0
- package/src/illustrations/tnt/tnt-Dialog-ExternalLink.svg +11 -0
- package/src/illustrations/tnt/tnt-Dialog-FaceID.svg +17 -0
- package/src/illustrations/tnt/tnt-Dialog-Fingerprint.svg +16 -0
- package/src/illustrations/tnt/tnt-Dialog-Lock.svg +12 -0
- package/src/illustrations/tnt/tnt-Dialog-Mission.svg +18 -0
- package/src/illustrations/tnt/tnt-Dialog-NoApplications.svg +16 -0
- package/src/illustrations/tnt/tnt-Dialog-NoFlows.svg +12 -0
- package/src/illustrations/tnt/tnt-Dialog-NoUsers.svg +16 -0
- package/src/illustrations/tnt/tnt-Dialog-Radar.svg +15 -0
- package/src/illustrations/tnt/tnt-Dialog-Services.svg +16 -0
- package/src/illustrations/tnt/tnt-Dialog-SessionExpired.svg +11 -0
- package/src/illustrations/tnt/tnt-Dialog-SessionExpiring.svg +10 -0
- package/src/illustrations/tnt/tnt-Dialog-Success.svg +10 -0
- package/src/illustrations/tnt/tnt-Dialog-SuccessfulAuth.svg +10 -0
- package/src/illustrations/tnt/tnt-Dialog-Unlock.svg +12 -0
- package/src/illustrations/tnt/tnt-Dialog-UnsuccessfulAuth.svg +11 -0
- package/src/illustrations/tnt/tnt-Scene-CodePlaceholder.svg +9 -0
- package/src/illustrations/tnt/tnt-Scene-Company.svg +30 -0
- package/src/illustrations/tnt/tnt-Scene-ExternalLink.svg +14 -0
- package/src/illustrations/tnt/tnt-Scene-FaceID.svg +21 -0
- package/src/illustrations/tnt/tnt-Scene-Fingerprint.svg +35 -0
- package/src/illustrations/tnt/tnt-Scene-Lock.svg +22 -0
- package/src/illustrations/tnt/tnt-Scene-Mission.svg +19 -0
- package/src/illustrations/tnt/tnt-Scene-NoApplications.svg +18 -0
- package/src/illustrations/tnt/tnt-Scene-NoFlows.svg +20 -0
- package/src/illustrations/tnt/tnt-Scene-NoUsers.svg +17 -0
- package/src/illustrations/tnt/tnt-Scene-Radar.svg +20 -0
- package/src/illustrations/tnt/tnt-Scene-Services.svg +17 -0
- package/src/illustrations/tnt/tnt-Scene-SessionExpired.svg +18 -0
- package/src/illustrations/tnt/tnt-Scene-SessionExpiring.svg +17 -0
- package/src/illustrations/tnt/tnt-Scene-Success.svg +18 -0
- package/src/illustrations/tnt/tnt-Scene-SuccessfulAuth.svg +20 -0
- package/src/illustrations/tnt/tnt-Scene-Unlock.svg +15 -0
- package/src/illustrations/tnt/tnt-Scene-UnsuccessfulAuth.svg +22 -0
- package/src/illustrations/tnt/tnt-Spot-CodePlaceholder.svg +6 -0
- package/src/illustrations/tnt/tnt-Spot-Company.svg +13 -0
- package/src/illustrations/tnt/tnt-Spot-ExternalLink.svg +9 -0
- package/src/illustrations/tnt/tnt-Spot-FaceID.svg +16 -0
- package/src/illustrations/tnt/tnt-Spot-Fingerprint.svg +10 -0
- package/src/illustrations/tnt/tnt-Spot-Lock.svg +13 -0
- package/src/illustrations/tnt/tnt-Spot-Mission.svg +17 -0
- package/src/illustrations/tnt/tnt-Spot-NoApplications.svg +12 -0
- package/src/illustrations/tnt/tnt-Spot-NoFlows.svg +9 -0
- package/src/illustrations/tnt/tnt-Spot-NoUsers.svg +12 -0
- package/src/illustrations/tnt/tnt-Spot-Radar.svg +14 -0
- package/src/illustrations/tnt/tnt-Spot-Services.svg +15 -0
- package/src/illustrations/tnt/tnt-Spot-SessionExpired.svg +9 -0
- package/src/illustrations/tnt/tnt-Spot-SessionExpiring.svg +9 -0
- package/src/illustrations/tnt/tnt-Spot-Success.svg +9 -0
- package/src/illustrations/tnt/tnt-Spot-SuccessfulAuth.svg +9 -0
- package/src/illustrations/tnt/tnt-Spot-Unlock.svg +11 -0
- package/src/illustrations/tnt/tnt-Spot-UnsuccessfulAuth.svg +10 -0
- package/src/types/BarDesign.js +54 -0
- package/src/types/FCLLayout.js +1 -1
- package/src/types/IllustrationMessageType.js +202 -0
- package/src/types/PageBackgroundDesign.js +53 -0
- package/src/types/TimelineLayout.js +42 -0
- package/src/types/UploadCollectionDnDMode.js +1 -1
- package/src/types/UploadState.js +1 -1
- package/src/types/ViewSettingsDialogMode.js +43 -0
- package/src/upload-utils/UploadCollectionBodyDnD.js +0 -1
- package/dist/generated/templates/ShellBarItemTemplate.lit.js +0 -14
- package/dist/webcomponentsjs/package.json +0 -46
- package/dist/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
- package/dist/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
- package/dist/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
- package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
- package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
- package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
- package/src/ShellBarItem.hbs +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,127 @@
|
|
|
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.0.0-rc.15](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.14...v1.0.0-rc.15) (2021-07-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui5-bar:** aria-label added depending on the "design" property ([#3161](https://github.com/SAP/ui5-webcomponents/issues/3161)) ([7ffb575](https://github.com/SAP/ui5-webcomponents/commit/7ffb575)), closes [#3020](https://github.com/SAP/ui5-webcomponents/issues/3020)
|
|
12
|
+
* **ui5-bar:** rename middleContent slot ([#3440](https://github.com/SAP/ui5-webcomponents/issues/3440)) ([e235d7d](https://github.com/SAP/ui5-webcomponents/commit/e235d7d)), closes [#3107](https://github.com/SAP/ui5-webcomponents/issues/3107)
|
|
13
|
+
* **ui5-flexible-column-layout:** column borders in high contrast themes ([#3328](https://github.com/SAP/ui5-webcomponents/issues/3328)) ([bd18bb9](https://github.com/SAP/ui5-webcomponents/commit/bd18bb9)), closes [#3320](https://github.com/SAP/ui5-webcomponents/issues/3320)
|
|
14
|
+
* **ui5-flexible-column-layout:** correct columns display ([#3444](https://github.com/SAP/ui5-webcomponents/issues/3444)) ([62977d0](https://github.com/SAP/ui5-webcomponents/commit/62977d0)), closes [#3425](https://github.com/SAP/ui5-webcomponents/issues/3425)
|
|
15
|
+
* **ui5-flexible-column-layout:** rename noArrows property to hideArrows ([#3352](https://github.com/SAP/ui5-webcomponents/issues/3352)) ([8660d11](https://github.com/SAP/ui5-webcomponents/commit/8660d11)), closes [#3107](https://github.com/SAP/ui5-webcomponents/issues/3107)
|
|
16
|
+
* **ui5-shellbar:** fix search field width ([#3296](https://github.com/SAP/ui5-webcomponents/issues/3296)) ([51fb1a3](https://github.com/SAP/ui5-webcomponents/commit/51fb1a3))
|
|
17
|
+
* **ui5-shellbar:** Fix unnecessary cutting space on left side ([#3513](https://github.com/SAP/ui5-webcomponents/issues/3513)) ([c7e6f07](https://github.com/SAP/ui5-webcomponents/commit/c7e6f07)), closes [#3501](https://github.com/SAP/ui5-webcomponents/issues/3501)
|
|
18
|
+
* **ui5-shellbar:** hide notification bubble if empty str ([#3123](https://github.com/SAP/ui5-webcomponents/issues/3123)) ([33fde82](https://github.com/SAP/ui5-webcomponents/commit/33fde82)), closes [#3121](https://github.com/SAP/ui5-webcomponents/issues/3121)
|
|
19
|
+
* **ui5-shellbar:** menu button arrow position ([#3285](https://github.com/SAP/ui5-webcomponents/issues/3285)) ([18ea76d](https://github.com/SAP/ui5-webcomponents/commit/18ea76d)), closes [#3199](https://github.com/SAP/ui5-webcomponents/issues/3199)
|
|
20
|
+
* **ui5-side-navigation:** items in popup fire click event ([#3468](https://github.com/SAP/ui5-webcomponents/issues/3468)) ([658328a](https://github.com/SAP/ui5-webcomponents/commit/658328a))
|
|
21
|
+
* **ui5-upload-collection:** change file deleted event name ([#3413](https://github.com/SAP/ui5-webcomponents/issues/3413)) ([5898eb8](https://github.com/SAP/ui5-webcomponents/commit/5898eb8)), closes [#3107](https://github.com/SAP/ui5-webcomponents/issues/3107)
|
|
22
|
+
* **ui5-upload-collection:** rename noDnd property to hideDragOverlay ([#3335](https://github.com/SAP/ui5-webcomponents/issues/3335)) ([c360443](https://github.com/SAP/ui5-webcomponents/commit/c360443)), closes [#3107](https://github.com/SAP/ui5-webcomponents/issues/3107)
|
|
23
|
+
* **ui5-upload-collection-item:** fixed keyboard navigation ([#3327](https://github.com/SAP/ui5-webcomponents/issues/3327)) ([aad0c32](https://github.com/SAP/ui5-webcomponents/commit/aad0c32))
|
|
24
|
+
* **ui5-wizard:** Circle's number horizontally aligned with the step's title ([#3370](https://github.com/SAP/ui5-webcomponents/issues/3370)) ([2cd97ec](https://github.com/SAP/ui5-webcomponents/commit/2cd97ec)), closes [#3251](https://github.com/SAP/ui5-webcomponents/issues/3251) [#3251](https://github.com/SAP/ui5-webcomponents/issues/3251)
|
|
25
|
+
* **ui5-wizard:** correct aria-controls value ([#3180](https://github.com/SAP/ui5-webcomponents/issues/3180)) ([d449812](https://github.com/SAP/ui5-webcomponents/commit/d449812))
|
|
26
|
+
* **ui5-wizard:** implement revised accessibility spec ([#2990](https://github.com/SAP/ui5-webcomponents/issues/2990)) ([99cb6b1](https://github.com/SAP/ui5-webcomponents/commit/99cb6b1))
|
|
27
|
+
* **ui5-wizard-step:** rename properties ([#3334](https://github.com/SAP/ui5-webcomponents/issues/3334)) ([b0e73ad](https://github.com/SAP/ui5-webcomponents/commit/b0e73ad)), closes [#3107](https://github.com/SAP/ui5-webcomponents/issues/3107)
|
|
28
|
+
* keep invisible texts out of the view port ([#3085](https://github.com/SAP/ui5-webcomponents/issues/3085)) ([de47520](https://github.com/SAP/ui5-webcomponents/commit/de47520)), closes [#2723](https://github.com/SAP/ui5-webcomponents/issues/2723) [#2723](https://github.com/SAP/ui5-webcomponents/issues/2723)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **ui5-page:** implement responsive paddings ([#3412](https://github.com/SAP/ui5-webcomponents/issues/3412)) ([b720393](https://github.com/SAP/ui5-webcomponents/commit/b720393))
|
|
34
|
+
* **ui5-product-switch:** Implement accessibility specification ([#2865](https://github.com/SAP/ui5-webcomponents/issues/2865)) ([8c0225c](https://github.com/SAP/ui5-webcomponents/commit/8c0225c)), closes [#2707](https://github.com/SAP/ui5-webcomponents/issues/2707)
|
|
35
|
+
* **ui5-wizard:** set initial focus when a step is changed ([#3310](https://github.com/SAP/ui5-webcomponents/issues/3310)) ([70f5563](https://github.com/SAP/ui5-webcomponents/commit/70f5563))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# [1.0.0-rc.14](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.13...v1.0.0-rc.14) (2021-04-01)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Bug Fixes
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
* **ui5-li-notification-group, ui5-li-notification:** fix i18n bundles usage ([#3063](https://github.com/SAP/ui5-webcomponents/issues/3063)) ([d6b6fa4](https://github.com/SAP/ui5-webcomponents/commit/d6b6fa4))
|
|
47
|
+
* **ui5-upload-collection-item:** make use of both main & fiori i18n bundles ([#3061](https://github.com/SAP/ui5-webcomponents/issues/3061)) ([2a01cb4](https://github.com/SAP/ui5-webcomponents/commit/2a01cb4))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Features
|
|
51
|
+
|
|
52
|
+
* **ui5-static-area-item:** StaticAreaItem can now be scoped ([#3076](https://github.com/SAP/ui5-webcomponents/issues/3076)) ([9a7ffe4](https://github.com/SAP/ui5-webcomponents/commit/9a7ffe4))
|
|
53
|
+
* **ui5-wizard:** add parameter to selectionChange event ([#3034](https://github.com/SAP/ui5-webcomponents/issues/3034)) ([7ad94d2](https://github.com/SAP/ui5-webcomponents/commit/7ad94d2))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
# [1.0.0-rc.13](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.12...v1.0.0-rc.13) (2021-03-26)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
* **ui5-page:** correct background-design styles ([#2862](https://github.com/SAP/ui5-webcomponents/issues/2862)) ([b10ee4c](https://github.com/SAP/ui5-webcomponents/commit/b10ee4c))
|
|
63
|
+
* **ui5-upload-collection:** add region and roledescription to root element ([#2915](https://github.com/SAP/ui5-webcomponents/issues/2915)) ([6db9f09](https://github.com/SAP/ui5-webcomponents/commit/6db9f09))
|
|
64
|
+
* **ui5-upload-collection:** add tooltip to edit button ([#2886](https://github.com/SAP/ui5-webcomponents/issues/2886)) ([35de38c](https://github.com/SAP/ui5-webcomponents/commit/35de38c))
|
|
65
|
+
* **ui5-upload-collection-item:** show disabled delete button ([#2893](https://github.com/SAP/ui5-webcomponents/issues/2893)) ([b609b47](https://github.com/SAP/ui5-webcomponents/commit/b609b47))
|
|
66
|
+
* **ui5-wizard:** use CSS vars for navigation bg-color ([#2892](https://github.com/SAP/ui5-webcomponents/issues/2892)) ([c967c6c](https://github.com/SAP/ui5-webcomponents/commit/c967c6c))
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
# [1.0.0-rc.12](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.11...v1.0.0-rc.12) (2021-02-18)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
* **ui5-li-notification:** it is now possible to not have a description ([#2744](https://github.com/SAP/ui5-webcomponents/issues/2744)) ([ef35f84](https://github.com/SAP/ui5-webcomponents/commit/ef35f84))
|
|
78
|
+
* **ui5-li-notification-group:** align priority icon ([#2584](https://github.com/SAP/ui5-webcomponents/issues/2584)) ([ff247f0](https://github.com/SAP/ui5-webcomponents/commit/ff247f0))
|
|
79
|
+
* **ui5-upload-collection:** wrap noDataText/Desc text ([#2674](https://github.com/SAP/ui5-webcomponents/issues/2674)) ([c48bfe7](https://github.com/SAP/ui5-webcomponents/commit/c48bfe7)), closes [#2672](https://github.com/SAP/ui5-webcomponents/issues/2672)
|
|
80
|
+
* **ui5-upload-collection-item:** fix title behaviour on small screens ([#2699](https://github.com/SAP/ui5-webcomponents/issues/2699)) ([bb7c952](https://github.com/SAP/ui5-webcomponents/commit/bb7c952))
|
|
81
|
+
* **ui5-wizard:** observe content height changes ([#2801](https://github.com/SAP/ui5-webcomponents/issues/2801)) ([b4cbc43](https://github.com/SAP/ui5-webcomponents/commit/b4cbc43))
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### Features
|
|
85
|
+
|
|
86
|
+
* **ui5-li-notification*:** full-fill accessibility spec ([#2578](https://github.com/SAP/ui5-webcomponents/issues/2578)) ([20de5ae](https://github.com/SAP/ui5-webcomponents/commit/20de5ae))
|
|
87
|
+
* **ui5-page:** Initial implementation ([#2685](https://github.com/SAP/ui5-webcomponents/issues/2685)) ([bd09e17](https://github.com/SAP/ui5-webcomponents/commit/bd09e17)), closes [#2433](https://github.com/SAP/ui5-webcomponents/issues/2433)
|
|
88
|
+
* **ui5-wizard:** improve progress navigator responsiveness ([#2590](https://github.com/SAP/ui5-webcomponents/issues/2590)) ([01cd6f9](https://github.com/SAP/ui5-webcomponents/commit/01cd6f9))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
# [1.0.0-rc.11](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.10...v1.0.0-rc.11) (2020-12-21)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Bug Fixes
|
|
97
|
+
|
|
98
|
+
* **docs:** fix ui5-side-navigation sample ([#2564](https://github.com/SAP/ui5-webcomponents/issues/2564)) ([0338fdc](https://github.com/SAP/ui5-webcomponents/commit/0338fdc))
|
|
99
|
+
* **ui5-shellbar:** fix overlapping of the search box over icons ([#2155](https://github.com/SAP/ui5-webcomponents/issues/2155)) ([3597902](https://github.com/SAP/ui5-webcomponents/commit/3597902)), closes [#2044](https://github.com/SAP/ui5-webcomponents/issues/2044)
|
|
100
|
+
* **ui5-upload-collection:** fire drop only when files are dropped within dnd overlay ([#2527](https://github.com/SAP/ui5-webcomponents/issues/2527)) ([455f614](https://github.com/SAP/ui5-webcomponents/commit/455f614))
|
|
101
|
+
* **ui5-wizard:** correct phone breakpoint size ([#2596](https://github.com/SAP/ui5-webcomponents/issues/2596)) ([c98d9ba](https://github.com/SAP/ui5-webcomponents/commit/c98d9ba))
|
|
102
|
+
* **ui5-wizard:** fix styling issues ([#2547](https://github.com/SAP/ui5-webcomponents/issues/2547)) ([65cb42f](https://github.com/SAP/ui5-webcomponents/commit/65cb42f)), closes [#2523](https://github.com/SAP/ui5-webcomponents/issues/2523)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Features
|
|
106
|
+
|
|
107
|
+
* **framework:** Change child-parent invalidation API ([#2541](https://github.com/SAP/ui5-webcomponents/issues/2541)) ([a1a3f80](https://github.com/SAP/ui5-webcomponents/commit/a1a3f80))
|
|
108
|
+
* **ui5-bar:** initial implementation ([#2533](https://github.com/SAP/ui5-webcomponents/issues/2533)) ([5c601cd](https://github.com/SAP/ui5-webcomponents/commit/5c601cd)), closes [#2434](https://github.com/SAP/ui5-webcomponents/issues/2434)
|
|
109
|
+
* **ui5-flexible-column-layout:** add start/mid/endColumnAccessibleName properties ([#2483](https://github.com/SAP/ui5-webcomponents/issues/2483)) ([fb0b24c](https://github.com/SAP/ui5-webcomponents/commit/fb0b24c))
|
|
110
|
+
* **ui5-side-navigation:** add "header" slot ([#2520](https://github.com/SAP/ui5-webcomponents/issues/2520)) ([b5c4a92](https://github.com/SAP/ui5-webcomponents/commit/b5c4a92)), closes [#2518](https://github.com/SAP/ui5-webcomponents/issues/2518)
|
|
111
|
+
* **ui5-side-navigation-item, ui5-side-navigation-sub-item:** introduce click event ([#2298](https://github.com/SAP/ui5-webcomponents/issues/2298)) ([d73ce38](https://github.com/SAP/ui5-webcomponents/commit/d73ce38))
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
# [1.0.0-rc.10](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.9...v1.0.0-rc.10) (2020-11-12)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
### Features
|
|
122
|
+
|
|
123
|
+
* **ui5-wizard:** introduce new component ([#2400](https://github.com/SAP/ui5-webcomponents/issues/2400)) ([bdec517](https://github.com/SAP/ui5-webcomponents/commit/bdec517)), closes [#2368](https://github.com/SAP/ui5-webcomponents/issues/2368)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
6
127
|
# [1.0.0-rc.9](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.8...v1.0.0-rc.9) (2020-10-08)
|
|
7
128
|
|
|
8
129
|
|
package/README.md
CHANGED
|
@@ -7,15 +7,63 @@
|
|
|
7
7
|
|
|
8
8
|
Provides essential building blocks, necessary to implement the Fiori UX concept,
|
|
9
9
|
such as a common header (ShellBar).
|
|
10
|
-
|
|
11
|
-
| Web Component | Tag name | Module import |
|
|
12
|
-
| ------------------------ | -------------------- | ---------------------------------------------------------- |
|
|
13
|
-
| Shell Bar | `ui5-shellbar` | `import "@ui5/webcomponents-fiori/dist/ShellBar.js";` |
|
|
14
|
-
| Shell Bar Item | `ui5-shellbar-item` | `import "@ui5/webcomponents-fiori/dist/ShellBarItem.js";` |
|
|
15
|
-
| Product Switch | `ui5-product-switch` | `import "@ui5/webcomponents-fiori/dist/ProductSwitch.js";` |
|
|
16
|
-
| Product Switch Item | `ui5-product-switch-item` | `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";` |
|
|
17
10
|
|
|
18
|
-
|
|
11
|
+
## Provided components
|
|
12
|
+
|
|
13
|
+
| Web Component | Tag name | Module import |
|
|
14
|
+
|-------------------------------------------|--------------------------------|-----------------------------------------------------------------------|
|
|
15
|
+
| Bar | `ui5-bar` | `import "@ui5/webcomponents-fiori/dist/Bar.js";` |
|
|
16
|
+
| Barcode Scanner Dialog | `ui5-barcode-scanner-dialog` | `import "@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js";` |
|
|
17
|
+
| Flexible Column Layout | `ui5-flexible-column-layout` | `import "@ui5/webcomponents-fiori/dist/FlexibleColumnLayout.js";` |
|
|
18
|
+
| Illustrated Message | `ui5-illustrated-message` | `import "@ui5/webcomponents-fiori/dist/IllustratedMessage.js";` |
|
|
19
|
+
| Notification List Item | `ui5-li-notifcation` | `import "@ui5/webcomponents-fiori/dist/NotifcationListItem.js";` |
|
|
20
|
+
| Notification Group List Item | `ui5-li-notification-group` | `import "@ui5/webcomponents-fiori/dist/NotifcationListGroupItem.js";` |
|
|
21
|
+
| Notification Action | `ui5-notification-action` | `import "@ui5/webcomponents-fiori/dist/NotificationAction.js";` |
|
|
22
|
+
| Page | `ui5-page` | `import "@ui5/webcomponents-fiori/dist/Page.js";` |
|
|
23
|
+
| Product Switch | `ui5-product-switch` | `import "@ui5/webcomponents-fiori/dist/ProductSwitch.js";` |
|
|
24
|
+
| Product Switch Item | `ui5-product-switch-item` | `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";` |
|
|
25
|
+
| Shell Bar | `ui5-shellbar` | `import "@ui5/webcomponents-fiori/dist/ShellBar.js";` |
|
|
26
|
+
| Shell Bar Item | `ui5-shellbar-item` | `import "@ui5/webcomponents-fiori/dist/ShellBarItem.js";` |
|
|
27
|
+
| Side Navigation | `ui5-side-navigation` | `import "@ui5/webcomponents-fiori/dist/SideNavigation.js";` |
|
|
28
|
+
| Side Navigation Item | `ui5-side-navigation-item` | `import "@ui5/webcomponents-fiori/dist/SideNavigationItem.js";` |
|
|
29
|
+
| Side Navigation Sub Item | `ui5-side-navigation-sub-item` | `import "@ui5/webcomponents-fiori/dist/SideNavigationSubItem.js";` |
|
|
30
|
+
| Timeline | `ui5-timeline` | `import "@ui5/webcomponents-fiori/dist/Timeline.js";` |
|
|
31
|
+
| Timeline Item | `ui5-timeline-item` | comes with `ui5-timeline` |
|
|
32
|
+
| Upload Collection | `ui5-upload-collection` | `import "@ui5/webcomponents-fiori/dist/UploadCollection.js";` |
|
|
33
|
+
| Upload Collection Item | `ui5-upload-collection-item` | `import "@ui5/webcomponents-fiori/dist/UploadCollectionItem.js";` |
|
|
34
|
+
| View Settings Dialog | `ui5-view-settings-dialog` | `import "@ui5/webcomponents-fiori/dist/ViewSettingsDialog.js";` |
|
|
35
|
+
| View Settings Dialog - Sort Item | `ui5-sort-item` | `import "@ui5/webcomponents-fiori/dist/SortItem.js";` |
|
|
36
|
+
| View Settings Dialog - Filter Item | `ui5-filter-item` | `import "@ui5/webcomponents-fiori/dist/FilterItem.js";` |
|
|
37
|
+
| View Settings Dialog - Filter Item Option | `ui5-filter-item-option` | `import "@ui5/webcomponents-fiori/dist/FilterItemOption.js";` |
|
|
38
|
+
| Wizard | `ui5-wizard` | `import "@ui5/webcomponents-fiori/dist/Wizard.js";` |
|
|
39
|
+
| Wizard Step | `ui5-wizard-step` | comes with `ui5-wizard` |
|
|
40
|
+
|
|
41
|
+
## Provided assets
|
|
42
|
+
|
|
43
|
+
```js
|
|
44
|
+
import "@ui5/webcomponents-fiori/dist/Assets.js";
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
| Assets | Module | Notes |
|
|
48
|
+
|------------------|-------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
|
|
49
|
+
| `i18n`, `themes` | `@ui5/webcomponents-fiori/dist/Assets.js` | Theming parameters and translations for the components <br><br> *Automatically imports also:<br> `@ui5/webcomponents/dist/Assets.js`* |
|
|
50
|
+
|
|
51
|
+
## Provided features
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
| Affects | Feature Import | Description |
|
|
55
|
+
|----------------|--------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
|
|
56
|
+
| `ui5-shellbar` | `@ui5/webcomponents-fiori/dist/features/CoPilotAnimation.js` | Support for a better (but bigger in size) animation for the "co-pilot" button in the shellbar component |
|
|
57
|
+
|
|
58
|
+
### Shellbar CoPilot animation
|
|
59
|
+
|
|
60
|
+
```js
|
|
61
|
+
import "@ui5/webcomponents-fiori/dist/features/CoPilotAnimation.js";
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
By default, the `ui5-shellbar` CoPilot button ships with a simple animation for better performance.
|
|
65
|
+
Importing the module above enables the detailed but more resource-intensive animation instead.
|
|
66
|
+
|
|
19
67
|
|
|
20
68
|
## Resources
|
|
21
69
|
- [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/master/README.md)
|
|
@@ -26,7 +74,7 @@ For a complete list of all public module imports from the `fiori` package, click
|
|
|
26
74
|
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).
|
|
27
75
|
|
|
28
76
|
## Contribute
|
|
29
|
-
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/
|
|
77
|
+
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/docs/6-contributing/02-conventions-and-guidelines.md).
|
|
30
78
|
|
|
31
79
|
## License
|
|
32
80
|
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
|
package/dist/Assets.js
CHANGED
package/dist/Bar.js
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
|
+
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
+
import ResizeHandler from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js";
|
|
4
|
+
import BarTemplate from "./generated/templates/BarTemplate.lit.js";
|
|
5
|
+
import BarDesign from "./types/BarDesign.js";
|
|
6
|
+
|
|
7
|
+
// Styles
|
|
8
|
+
import BarCss from "./generated/themes/Bar.css.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
const metadata = {
|
|
14
|
+
tag: "ui5-bar",
|
|
15
|
+
managedSlots: true,
|
|
16
|
+
properties: /** @lends sap.ui.webcomponents.fiori.Bar.prototype */ {
|
|
17
|
+
/**
|
|
18
|
+
* Defines the <code>ui5-bar</code> design.
|
|
19
|
+
*
|
|
20
|
+
* <br><br>
|
|
21
|
+
* <b>Note:</b>
|
|
22
|
+
* Available options are:
|
|
23
|
+
* <ul>
|
|
24
|
+
* <li><code>Header</code></li>
|
|
25
|
+
* <li><code>Subheader</code></li>
|
|
26
|
+
* <li><code>Footer</code></li>
|
|
27
|
+
* <li><code>FloatingFooter</code></li>
|
|
28
|
+
* </ul>
|
|
29
|
+
*
|
|
30
|
+
* @type {BarDesign}
|
|
31
|
+
* @defaultvalue "Header"
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
design: {
|
|
35
|
+
type: BarDesign,
|
|
36
|
+
defaultValue: BarDesign.Header,
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Defines if the component middle area needs to be centered between start and end area
|
|
41
|
+
* @type {Boolean}
|
|
42
|
+
* @private
|
|
43
|
+
*/
|
|
44
|
+
_shrinked: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
slots: /** @lends sap.ui.webcomponents.fiori.Bar.prototype */ {
|
|
49
|
+
/**
|
|
50
|
+
* Defines the content at the start of the bar
|
|
51
|
+
* @type {HTMLElement[]}
|
|
52
|
+
* @slot
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
startContent: {
|
|
56
|
+
type: HTMLElement,
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Defines the content in the middle of the bar
|
|
61
|
+
* @type {HTMLElement[]}
|
|
62
|
+
* @slot
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
"default": {
|
|
66
|
+
type: HTMLElement,
|
|
67
|
+
propertyName: "middleContent",
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Defines the content at the end of the bar
|
|
72
|
+
* @type {HTMLElement[]}
|
|
73
|
+
* @slot
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
endContent: {
|
|
77
|
+
type: HTMLElement,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
events: /** @lends sap.ui.webcomponents.fiori.Bar.prototype */ {
|
|
81
|
+
//
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @class
|
|
87
|
+
*
|
|
88
|
+
* <h3 class="comment-api-title">Overview</h3>
|
|
89
|
+
* The Bar is a container which is primarily used to hold titles, buttons and input elements
|
|
90
|
+
* and its design and functionality is the basis for page headers and footers.
|
|
91
|
+
* The component consists of three areas to hold its content - startContent slot, default slot and endContent slot.
|
|
92
|
+
* It has the capability to center content, such as a title, while having other components on the left and right side.
|
|
93
|
+
*
|
|
94
|
+
* <h3>Usage</h3>
|
|
95
|
+
* 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.
|
|
96
|
+
* <br>
|
|
97
|
+
* <b>Note:</b> Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.
|
|
98
|
+
*
|
|
99
|
+
* <h3>Responsive Behavior</h3>
|
|
100
|
+
* The default slot will be centered in the available space between the startContent and the endContent areas,
|
|
101
|
+
* therefore it might not always be centered in the entire bar.
|
|
102
|
+
*
|
|
103
|
+
* <h3>CSS Shadow Parts</h3>
|
|
104
|
+
*
|
|
105
|
+
* <ui5-link target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part">CSS Shadow Parts</ui5-link> allow developers to style elements inside the Shadow DOM.
|
|
106
|
+
* <br>
|
|
107
|
+
* The <code>ui5-bar</code> exposes the following CSS Shadow Parts:
|
|
108
|
+
* <ul>
|
|
109
|
+
* <li>bar - Used to style the wrapper of the content of the component</li>
|
|
110
|
+
* </ul>
|
|
111
|
+
*
|
|
112
|
+
* <h3>ES6 Module Import</h3>
|
|
113
|
+
*
|
|
114
|
+
* <code>import "@ui5/webcomponents-fiori/dist/Bar.js";</code>
|
|
115
|
+
*
|
|
116
|
+
* @constructor
|
|
117
|
+
* @author SAP SE
|
|
118
|
+
* @alias sap.ui.webcomponents.fiori.Bar
|
|
119
|
+
* @extends UI5Element
|
|
120
|
+
* @tagname ui5-bar
|
|
121
|
+
* @public
|
|
122
|
+
* @since 1.0.0-rc.11
|
|
123
|
+
*/
|
|
124
|
+
class Bar extends UI5Element {
|
|
125
|
+
static get metadata() {
|
|
126
|
+
return metadata;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
static get render() {
|
|
130
|
+
return litRender;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
static get styles() {
|
|
134
|
+
return BarCss;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static get template() {
|
|
138
|
+
return BarTemplate;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
get accInfo() {
|
|
142
|
+
return {
|
|
143
|
+
"label": this.design,
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
constructor() {
|
|
148
|
+
super();
|
|
149
|
+
|
|
150
|
+
this._handleResizeBound = this.handleResize.bind(this);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
handleResize() {
|
|
154
|
+
const bar = this.getDomRef();
|
|
155
|
+
const barWidth = bar.offsetWidth;
|
|
156
|
+
|
|
157
|
+
this._shrinked = Array.from(bar.children).some(element => {
|
|
158
|
+
return barWidth / 3 < element.offsetWidth;
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
get classes() {
|
|
163
|
+
return {
|
|
164
|
+
root: {
|
|
165
|
+
"ui5-bar-root": true,
|
|
166
|
+
"ui5-bar-root-shrinked": this._shrinked,
|
|
167
|
+
},
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
onEnterDOM() {
|
|
172
|
+
ResizeHandler.register(this, this._handleResizeBound);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
onExitDOM() {
|
|
176
|
+
ResizeHandler.deregister(this, this._handleResizeBound);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
Bar.define();
|
|
181
|
+
|
|
182
|
+
export default Bar;
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
|
+
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
+
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
4
|
+
import Dialog from "@ui5/webcomponents/dist/Dialog.js";
|
|
5
|
+
import Button from "@ui5/webcomponents/dist/Button.js";
|
|
6
|
+
import BusyIndicator from "@ui5/webcomponents/dist/BusyIndicator.js";
|
|
7
|
+
import { BrowserMultiFormatReader, NotFoundException } from "@zxing/library";
|
|
8
|
+
|
|
9
|
+
// Template
|
|
10
|
+
import BarcodeScannerDialogTemplate from "./generated/templates/BarcodeScannerDialogTemplate.lit.js";
|
|
11
|
+
|
|
12
|
+
// Styles
|
|
13
|
+
import barcodeScannerDialogCss from "./generated/themes/BarcodeScannerDialog.css.js";
|
|
14
|
+
|
|
15
|
+
// Texts
|
|
16
|
+
import {
|
|
17
|
+
BARCODE_SCANNER_DIALOG_CANCEL_BUTTON_TXT,
|
|
18
|
+
BARCODE_SCANNER_DIALOG_LOADING_TXT,
|
|
19
|
+
} from "./generated/i18n/i18n-defaults.js";
|
|
20
|
+
|
|
21
|
+
const defaultMediaConstraints = {
|
|
22
|
+
audio: false,
|
|
23
|
+
video: {
|
|
24
|
+
height: {
|
|
25
|
+
min: 480,
|
|
26
|
+
ideal: 960,
|
|
27
|
+
max: 1440,
|
|
28
|
+
},
|
|
29
|
+
aspectRatio: 1.333333333,
|
|
30
|
+
facingMode: "environment",
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
const metadata = {
|
|
38
|
+
tag: "ui5-barcode-scanner-dialog",
|
|
39
|
+
languageAware: true,
|
|
40
|
+
slots: /** @lends sap.ui.webcomponents.fiori.BarcodeScannerDialog.prototype */ {
|
|
41
|
+
},
|
|
42
|
+
properties: /** @lends sap.ui.webcomponents.fiori.BarcodeScannerDialog.prototype */ {
|
|
43
|
+
/**
|
|
44
|
+
* Indicates whether a loading indicator should be displayed in the dialog.
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @defaultvalue false
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
loading: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
events: /** @lends sap.ui.webcomponents.fiori.BarcodeScannerDialog.prototype */ {
|
|
55
|
+
/**
|
|
56
|
+
* Fires when the scan is completed successfuuly.
|
|
57
|
+
*
|
|
58
|
+
* @event sap.ui.webcomponents.fiori.BarcodeScannerDialog#scan-success
|
|
59
|
+
* @param {String} text the scan result as string
|
|
60
|
+
* @param {Object} rawBytes the scan result as a Uint8Array
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
"scan-success": {
|
|
64
|
+
detail: {
|
|
65
|
+
text: { type: String },
|
|
66
|
+
rawBytes: { type: Object },
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Fires when the scan fails with error.
|
|
72
|
+
*
|
|
73
|
+
* @event sap.ui.webcomponents.fiori.BarcodeScannerDialog#scan-error
|
|
74
|
+
* @param {String} message the error message
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
"scan-error": {
|
|
78
|
+
detail: {
|
|
79
|
+
message: { type: String },
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @class
|
|
87
|
+
*
|
|
88
|
+
* <h3 class="comment-api-title">Overview</h3>
|
|
89
|
+
*
|
|
90
|
+
* The <code>BarcodeScannerDialog</code> component provides barcode scanning functionality for all devices that support the <code>MediaDevices.getUserMedia()</code> native API.
|
|
91
|
+
* Opening the dialog launches the device camera and scans for known barcode formats.
|
|
92
|
+
* <br>
|
|
93
|
+
* <br>
|
|
94
|
+
* A <code>scanSuccess</code> event fires whenever a barcode is identified
|
|
95
|
+
* and a <code>scanError</code> event fires when the scan failed (for example, due to missing permisions).
|
|
96
|
+
* <br>
|
|
97
|
+
* <br>
|
|
98
|
+
* Internally, the component uses the zxing-js/library third party OSS.
|
|
99
|
+
*
|
|
100
|
+
* 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.
|
|
101
|
+
*
|
|
102
|
+
* @constructor
|
|
103
|
+
* @author SAP SE
|
|
104
|
+
* @alias sap.ui.webcomponents.fiori.BarcodeScannerDialog
|
|
105
|
+
* @extends UI5Element
|
|
106
|
+
* @tagname ui5-barcode-scanner-dialog
|
|
107
|
+
* @public
|
|
108
|
+
* @since 1.0.0-rc.15
|
|
109
|
+
*/
|
|
110
|
+
class BarcodeScannerDialog extends UI5Element {
|
|
111
|
+
constructor() {
|
|
112
|
+
super();
|
|
113
|
+
this._codeReader = new BrowserMultiFormatReader();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
static get metadata() {
|
|
117
|
+
return metadata;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
static get render() {
|
|
121
|
+
return litRender;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
static get template() {
|
|
125
|
+
return null;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
static get staticAreaTemplate() {
|
|
129
|
+
return BarcodeScannerDialogTemplate;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
static get styles() {
|
|
133
|
+
return null;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
static get staticAreaStyles() {
|
|
137
|
+
return [barcodeScannerDialogCss];
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
static async onDefine() {
|
|
141
|
+
BarcodeScannerDialog.i18nBundle = await getI18nBundle("@ui5/webcomponents-fiori");
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Shows a dialog with the camera videostream. Starts a scan session.
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
show() {
|
|
149
|
+
if (this.loading) {
|
|
150
|
+
console.warn("Barcode scanning is already in progress."); // eslint-disable-line
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (!this._hasGetUserMedia()) {
|
|
155
|
+
this.fireEvent("scan-error", { message: "getUserMedia() is not supported by your browser" });
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
this.loading = true;
|
|
160
|
+
|
|
161
|
+
this._getUserPermission()
|
|
162
|
+
.then(() => this._showDialog())
|
|
163
|
+
.catch(err => {
|
|
164
|
+
this.fireEvent("scan-error", { message: err });
|
|
165
|
+
this.loading = false;
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Closes the dialog and the scan session.
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
close() {
|
|
174
|
+
this._closeDialog();
|
|
175
|
+
this.loading = false;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* PRIVATE METHODS
|
|
180
|
+
*/
|
|
181
|
+
|
|
182
|
+
_hasGetUserMedia() {
|
|
183
|
+
return !!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
_getUserPermission() {
|
|
187
|
+
return navigator.mediaDevices.getUserMedia(defaultMediaConstraints);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
async _getDialog() {
|
|
191
|
+
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
|
192
|
+
return staticAreaItem.querySelector("[ui5-dialog]");
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
async _getVideoElement() {
|
|
196
|
+
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
|
197
|
+
return staticAreaItem.querySelector(".ui5-barcode-scanner-dialog-video");
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
async _showDialog() {
|
|
201
|
+
this.dialog = await this._getDialog();
|
|
202
|
+
this.dialog.show();
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
_closeDialog() {
|
|
206
|
+
if (this._isOpen) {
|
|
207
|
+
this.dialog.close();
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
_startReader() {
|
|
212
|
+
this._decodeFromCamera(null);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
async _resetReader() {
|
|
216
|
+
const videoElement = await this._getVideoElement();
|
|
217
|
+
videoElement.pause();
|
|
218
|
+
this._codeReader.reset();
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
async _decodeFromCamera(cameraId) {
|
|
222
|
+
const videoElement = await this._getVideoElement();
|
|
223
|
+
|
|
224
|
+
this._codeReader.decodeFromVideoDevice(cameraId, videoElement, (result, err) => {
|
|
225
|
+
this.loading = false;
|
|
226
|
+
if (result) {
|
|
227
|
+
this.fireEvent("scan-success",
|
|
228
|
+
{
|
|
229
|
+
text: result.getText(),
|
|
230
|
+
rawBytes: result.getRawBytes(),
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
if (err && !(err instanceof NotFoundException)) {
|
|
234
|
+
this.fireEvent("scan-error", { message: err });
|
|
235
|
+
}
|
|
236
|
+
}).catch(err => this.fireEvent("scan-error", { message: err }));
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
get _isOpen() {
|
|
240
|
+
return !!this.dialog && this.dialog.opened;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
get _cancelButtonText() {
|
|
244
|
+
return BarcodeScannerDialog.i18nBundle.getText(BARCODE_SCANNER_DIALOG_CANCEL_BUTTON_TXT);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
get _busyIndicatorText() {
|
|
248
|
+
return BarcodeScannerDialog.i18nBundle.getText(BARCODE_SCANNER_DIALOG_LOADING_TXT);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
static get dependencies() {
|
|
252
|
+
return [
|
|
253
|
+
Dialog,
|
|
254
|
+
BusyIndicator,
|
|
255
|
+
Button,
|
|
256
|
+
];
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
BarcodeScannerDialog.define();
|
|
261
|
+
|
|
262
|
+
export default BarcodeScannerDialog;
|