@sapudex/web-components 0.111.0 → 0.117.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.npmrc +1 -2
- package/bundle.esm.js +4 -0
- package/dist/AccordionItem.d.ts +7 -0
- package/dist/AccordionItem.js +6 -2
- package/dist/AccordionItem.js.map +1 -1
- package/dist/Avatar.d.ts +8 -1
- package/dist/Avatar.js +5 -2
- package/dist/Avatar.js.map +1 -1
- package/dist/CountrySelector.d.ts +6 -7
- package/dist/CountrySelector.js +15 -7
- package/dist/CountrySelector.js.map +1 -1
- package/dist/Dropdown.d.ts +10 -0
- package/dist/Dropdown.js +10 -0
- package/dist/Dropdown.js.map +1 -1
- package/dist/FilterMenu.d.ts +14 -4
- package/dist/FilterMenu.js +46 -7
- package/dist/FilterMenu.js.map +1 -1
- package/dist/Footer.d.ts +40 -1
- package/dist/Footer.js +151 -1
- package/dist/Footer.js.map +1 -1
- package/dist/InputGroup.d.ts +75 -0
- package/dist/InputGroup.js +101 -0
- package/dist/InputGroup.js.map +1 -0
- package/dist/List.d.ts +7 -0
- package/dist/List.js +78 -18
- package/dist/List.js.map +1 -1
- package/dist/ListItem.d.ts +0 -1
- package/dist/ListItem.js +0 -6
- package/dist/ListItem.js.map +1 -1
- package/dist/ListItemBase.d.ts +3 -0
- package/dist/ListItemBase.js +12 -0
- package/dist/ListItemBase.js.map +1 -1
- package/dist/MastheadMobileMenu.d.ts +4 -1
- package/dist/MastheadMobileMenu.js +10 -3
- package/dist/MastheadMobileMenu.js.map +1 -1
- package/dist/PhoneNumberField.d.ts +8 -0
- package/dist/PhoneNumberField.js +23 -10
- package/dist/PhoneNumberField.js.map +1 -1
- package/dist/Search.d.ts +60 -1
- package/dist/Search.js +191 -19
- package/dist/Search.js.map +1 -1
- package/dist/SecondaryNavigation.d.ts +37 -45
- package/dist/SecondaryNavigation.js +148 -153
- package/dist/SecondaryNavigation.js.map +1 -1
- package/dist/SecondaryNavigationItem.d.ts +101 -0
- package/dist/SecondaryNavigationItem.js +287 -0
- package/dist/SecondaryNavigationItem.js.map +1 -0
- package/dist/SecondaryNavigationItemBase.d.ts +68 -0
- package/dist/SecondaryNavigationItemBase.js +78 -0
- package/dist/SecondaryNavigationItemBase.js.map +1 -0
- package/dist/SecondaryNavigationSubItem.d.ts +52 -0
- package/dist/SecondaryNavigationSubItem.js +102 -0
- package/dist/SecondaryNavigationSubItem.js.map +1 -0
- package/dist/SelectBox.d.ts +7 -0
- package/dist/SelectBox.js +27 -2
- package/dist/SelectBox.js.map +1 -1
- package/dist/StatusBadge.d.ts +67 -0
- package/dist/StatusBadge.js +104 -0
- package/dist/StatusBadge.js.map +1 -0
- package/dist/Tab.js +1 -1
- package/dist/Tab.js.map +1 -1
- package/dist/Table.d.ts +5 -5
- package/dist/Table.js +5 -5
- package/dist/Table.js.map +1 -1
- package/dist/Tag.d.ts +7 -1
- package/dist/Tag.js +6 -2
- package/dist/Tag.js.map +1 -1
- package/dist/TextArea.js.map +1 -1
- package/dist/assets/{bundle.esm-b7920968.js → bundle.esm-f65ae7da.js} +189 -184
- package/dist/assets/messagebundle_en-7249941b.js +1 -0
- package/dist/css/themes/AccordionItem.css +1 -1
- package/dist/css/themes/Avatar.css +1 -1
- package/dist/css/themes/Breadcrumbs.css +1 -1
- package/dist/css/themes/Checkbox.css +1 -1
- package/dist/css/themes/CountrySelector.css +1 -1
- package/dist/css/themes/DatePicker.css +1 -1
- package/dist/css/themes/Dropdown.css +1 -1
- package/dist/css/themes/FilterMenu.css +1 -1
- package/dist/css/themes/HeroBanner.css +1 -1
- package/dist/css/themes/InputGroup.css +1 -0
- package/dist/css/themes/MastheadItem.css +1 -1
- package/dist/css/themes/MastheadMenuItem.css +1 -1
- package/dist/css/themes/MastheadShell.css +1 -1
- package/dist/css/themes/MediaPlayer.css +1 -1
- package/dist/css/themes/PhoneNumberField.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/Search.css +1 -1
- package/dist/css/themes/SearchSuggestions.css +1 -1
- package/dist/css/themes/SecondaryNavigation.css +1 -1
- package/dist/css/themes/SecondaryNavigationItem.css +1 -0
- package/dist/css/themes/SecondaryNavigationSubItem.css +1 -0
- package/dist/css/themes/Slider.css +1 -1
- package/dist/css/themes/StatusBadge.css +1 -0
- package/dist/css/themes/Tag.css +1 -1
- package/dist/css/themes/TextField.css +1 -1
- package/dist/custom-elements-internal.json +1070 -116
- package/dist/custom-elements.json +1047 -169
- package/dist/features/SearchSuggestionsPopover.d.ts +3 -3
- package/dist/features/SearchSuggestionsPopover.js +16 -18
- package/dist/features/SearchSuggestionsPopover.js.map +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +8 -1
- package/dist/generated/i18n/i18n-defaults.js +8 -1
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/templates/AccordionItemTemplate.lit.js +2 -1
- package/dist/generated/templates/AccordionItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CountrySelectorTemplate.lit.js +1 -1
- package/dist/generated/templates/CountrySelectorTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DropdownTemplate.lit.js +1 -1
- package/dist/generated/templates/DropdownTemplate.lit.js.map +1 -1
- package/dist/generated/templates/FilterMenuTemplate.lit.js +3 -3
- package/dist/generated/templates/FilterMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/FooterTemplate.lit.js +15 -15
- package/dist/generated/templates/FooterTemplate.lit.js.map +1 -1
- package/dist/generated/templates/HeroBannerTemplate.lit.js +2 -2
- package/dist/generated/templates/HeroBannerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/InputGroupTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/InputGroupTemplate.lit.js +7 -0
- package/dist/generated/templates/InputGroupTemplate.lit.js.map +1 -0
- package/dist/generated/templates/ListGroupHeaderTemplate.lit.js +4 -4
- package/dist/generated/templates/ListGroupHeaderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListItemTemplate.lit.js +1 -1
- package/dist/generated/templates/ListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListSelectAllTemplate.lit.js +1 -1
- package/dist/generated/templates/ListSelectAllTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MastheadMobileMenuTemplate.lit.js +15 -10
- package/dist/generated/templates/MastheadMobileMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MastheadProfileMenuTemplate.lit.js +1 -1
- package/dist/generated/templates/MastheadProfileMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchSuggestionsTemplate.lit.js +11 -10
- package/dist/generated/templates/SearchSuggestionsTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchTemplate.lit.js +11 -10
- package/dist/generated/templates/SearchTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchableListBaseTemplate.lit.js +2 -2
- package/dist/generated/templates/SearchableListBaseTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js +11 -0
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js.map +1 -0
- package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js +9 -0
- package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js.map +1 -0
- package/dist/generated/templates/SecondaryNavigationTemplate.lit.js +7 -9
- package/dist/generated/templates/SecondaryNavigationTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectBoxTemplate.lit.js +1 -1
- package/dist/generated/templates/SelectBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/StatusBadgeTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/StatusBadgeTemplate.lit.js +5 -0
- package/dist/generated/templates/StatusBadgeTemplate.lit.js.map +1 -0
- package/dist/generated/themes/AccordionItem.css.js +1 -1
- package/dist/generated/themes/AccordionItem.css.js.map +1 -1
- package/dist/generated/themes/Avatar.css.js +1 -1
- package/dist/generated/themes/Avatar.css.js.map +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
- package/dist/generated/themes/Checkbox.css.js +1 -1
- package/dist/generated/themes/Checkbox.css.js.map +1 -1
- package/dist/generated/themes/CountrySelector.css.js +1 -1
- package/dist/generated/themes/CountrySelector.css.js.map +1 -1
- package/dist/generated/themes/DatePicker.css.js +1 -1
- package/dist/generated/themes/DatePicker.css.js.map +1 -1
- package/dist/generated/themes/Dropdown.css.js +1 -1
- package/dist/generated/themes/Dropdown.css.js.map +1 -1
- package/dist/generated/themes/FilterMenu.css.js +1 -1
- package/dist/generated/themes/FilterMenu.css.js.map +1 -1
- package/dist/generated/themes/HeroBanner.css.js +1 -1
- package/dist/generated/themes/HeroBanner.css.js.map +1 -1
- package/dist/generated/themes/InputGroup.css.d.ts +3 -0
- package/dist/generated/themes/InputGroup.css.js +9 -0
- package/dist/generated/themes/InputGroup.css.js.map +1 -0
- package/dist/generated/themes/MastheadItem.css.js +1 -1
- package/dist/generated/themes/MastheadItem.css.js.map +1 -1
- package/dist/generated/themes/MastheadMenuItem.css.js +1 -1
- package/dist/generated/themes/MastheadMenuItem.css.js.map +1 -1
- package/dist/generated/themes/MastheadShell.css.js +1 -1
- package/dist/generated/themes/MastheadShell.css.js.map +1 -1
- package/dist/generated/themes/MediaPlayer.css.js +1 -1
- package/dist/generated/themes/MediaPlayer.css.js.map +1 -1
- package/dist/generated/themes/PhoneNumberField.css.js +1 -1
- package/dist/generated/themes/PhoneNumberField.css.js.map +1 -1
- package/dist/generated/themes/RatingIndicator.css.js +1 -1
- package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
- package/dist/generated/themes/Search.css.js +1 -1
- package/dist/generated/themes/Search.css.js.map +1 -1
- package/dist/generated/themes/SearchSuggestions.css.js +1 -1
- package/dist/generated/themes/SearchSuggestions.css.js.map +1 -1
- package/dist/generated/themes/SecondaryNavigation.css.js +1 -1
- package/dist/generated/themes/SecondaryNavigation.css.js.map +1 -1
- package/dist/generated/themes/SecondaryNavigationItem.css.d.ts +3 -0
- package/dist/generated/themes/SecondaryNavigationItem.css.js +9 -0
- package/dist/generated/themes/SecondaryNavigationItem.css.js.map +1 -0
- package/dist/generated/themes/SecondaryNavigationSubItem.css.d.ts +3 -0
- package/dist/generated/themes/SecondaryNavigationSubItem.css.js +9 -0
- package/dist/generated/themes/SecondaryNavigationSubItem.css.js.map +1 -0
- package/dist/generated/themes/Slider.css.js +1 -1
- package/dist/generated/themes/Slider.css.js.map +1 -1
- package/dist/generated/themes/StatusBadge.css.d.ts +3 -0
- package/dist/generated/themes/StatusBadge.css.js +9 -0
- package/dist/generated/themes/StatusBadge.css.js.map +1 -0
- package/dist/generated/themes/Tag.css.js +1 -1
- package/dist/generated/themes/Tag.css.js.map +1 -1
- package/dist/generated/themes/TextField.css.js +1 -1
- package/dist/generated/themes/TextField.css.js.map +1 -1
- package/dist/i18n/messagebundle.properties +12 -1
- package/dist/i18n/messagebundle_en.properties +8 -1
- package/dist/types/callback.d.ts +2 -0
- package/dist/types/callback.js +2 -0
- package/dist/types/callback.js.map +1 -0
- package/dist/utils/debounce.d.ts +2 -2
- package/dist/utils/debounce.js.map +1 -1
- package/dist/utils/retryUntilSuccessful.d.ts +3 -0
- package/dist/utils/retryUntilSuccessful.js +21 -0
- package/dist/utils/retryUntilSuccessful.js.map +1 -0
- package/dist/vscode.html-custom-data.json +178 -14
- package/dist/web-types.json +406 -32
- package/package.json +1 -1
- package/src/AccordionItem.hbs +12 -1
- package/src/AccordionItem.ts +11 -2
- package/src/Avatar.ts +12 -3
- package/src/CountrySelector.hbs +3 -3
- package/src/CountrySelector.ts +22 -21
- package/src/Dropdown.hbs +0 -1
- package/src/Dropdown.ts +10 -0
- package/src/FilterMenu.hbs +5 -1
- package/src/FilterMenu.ts +60 -10
- package/src/Footer.hbs +154 -91
- package/src/Footer.ts +158 -1
- package/src/HeroBanner.hbs +24 -21
- package/src/InputGroup.hbs +20 -0
- package/src/InputGroup.ts +137 -0
- package/src/List.ts +92 -21
- package/src/ListGroupHeader.hbs +9 -5
- package/src/ListItem.hbs +2 -1
- package/src/ListItem.ts +0 -7
- package/src/ListItemBase.ts +14 -0
- package/src/ListSelectAll.hbs +1 -0
- package/src/MastheadMobileMenu.hbs +51 -28
- package/src/MastheadMobileMenu.ts +12 -3
- package/src/MastheadProfileMenu.hbs +1 -1
- package/src/PhoneNumberField.ts +27 -3
- package/src/Search.hbs +26 -3
- package/src/Search.ts +236 -21
- package/src/SearchSuggestions.hbs +47 -49
- package/src/SearchableListBase.hbs +2 -0
- package/src/SecondaryNavigation.hbs +52 -72
- package/src/SecondaryNavigation.ts +182 -186
- package/src/SecondaryNavigationItem.hbs +63 -0
- package/src/SecondaryNavigationItem.ts +358 -0
- package/src/SecondaryNavigationItemBase.ts +115 -0
- package/src/SecondaryNavigationSubItem.hbs +41 -0
- package/src/SecondaryNavigationSubItem.ts +123 -0
- package/src/SelectBox.hbs +1 -0
- package/src/SelectBox.ts +38 -1
- package/src/StatusBadge.hbs +9 -0
- package/src/StatusBadge.ts +129 -0
- package/src/Tab.ts +1 -1
- package/src/Table.ts +7 -7
- package/src/Tag.ts +12 -3
- package/src/TextArea.ts +1 -1
- package/src/features/SearchSuggestionsPopover.ts +18 -20
- package/src/generated/i18n/i18n-defaults.ts +2 -2
- package/src/generated/templates/AccordionItemTemplate.lit.ts +2 -1
- package/src/generated/templates/CountrySelectorTemplate.lit.ts +1 -1
- package/src/generated/templates/DropdownTemplate.lit.ts +1 -1
- package/src/generated/templates/FilterMenuTemplate.lit.ts +3 -3
- package/src/generated/templates/FooterTemplate.lit.ts +15 -15
- package/src/generated/templates/HeroBannerTemplate.lit.ts +2 -2
- package/src/generated/templates/InputGroupTemplate.lit.ts +12 -0
- package/src/generated/templates/ListGroupHeaderTemplate.lit.ts +4 -4
- package/src/generated/templates/ListItemTemplate.lit.ts +1 -1
- package/src/generated/templates/ListSelectAllTemplate.lit.ts +1 -1
- package/src/generated/templates/MastheadMobileMenuTemplate.lit.ts +15 -10
- package/src/generated/templates/MastheadProfileMenuTemplate.lit.ts +1 -1
- package/src/generated/templates/SearchSuggestionsTemplate.lit.ts +11 -10
- package/src/generated/templates/SearchTemplate.lit.ts +10 -9
- package/src/generated/templates/SearchableListBaseTemplate.lit.ts +2 -2
- package/src/generated/templates/SecondaryNavigationItemTemplate.lit.ts +16 -0
- package/src/generated/templates/SecondaryNavigationSubItemTemplate.lit.ts +14 -0
- package/src/generated/templates/SecondaryNavigationTemplate.lit.ts +7 -9
- package/src/generated/templates/SelectBoxTemplate.lit.ts +1 -1
- package/src/generated/templates/StatusBadgeTemplate.lit.ts +10 -0
- package/src/generated/themes/AccordionItem.css.ts +1 -1
- package/src/generated/themes/Avatar.css.ts +1 -1
- package/src/generated/themes/Breadcrumbs.css.ts +1 -1
- package/src/generated/themes/Checkbox.css.ts +1 -1
- package/src/generated/themes/CountrySelector.css.ts +1 -1
- package/src/generated/themes/DatePicker.css.ts +1 -1
- package/src/generated/themes/Dropdown.css.ts +1 -1
- package/src/generated/themes/FilterMenu.css.ts +1 -1
- package/src/generated/themes/HeroBanner.css.ts +1 -1
- package/src/generated/themes/InputGroup.css.ts +13 -0
- package/src/generated/themes/MastheadItem.css.ts +1 -1
- package/src/generated/themes/MastheadMenuItem.css.ts +1 -1
- package/src/generated/themes/MastheadShell.css.ts +1 -1
- package/src/generated/themes/MediaPlayer.css.ts +1 -1
- package/src/generated/themes/PhoneNumberField.css.ts +1 -1
- package/src/generated/themes/RatingIndicator.css.ts +1 -1
- package/src/generated/themes/Search.css.ts +1 -1
- package/src/generated/themes/SearchSuggestions.css.ts +1 -1
- package/src/generated/themes/SecondaryNavigation.css.ts +1 -1
- package/src/generated/themes/SecondaryNavigationItem.css.ts +13 -0
- package/src/generated/themes/SecondaryNavigationSubItem.css.ts +13 -0
- package/src/generated/themes/Slider.css.ts +1 -1
- package/src/generated/themes/StatusBadge.css.ts +13 -0
- package/src/generated/themes/Tag.css.ts +1 -1
- package/src/generated/themes/TextField.css.ts +1 -1
- package/src/i18n/messagebundle.properties +12 -1
- package/src/i18n/messagebundle_en.properties +8 -1
- package/src/themes/AccordionItem.css +20 -15
- package/src/themes/Avatar.css +20 -0
- package/src/themes/Breadcrumbs.css +4 -2
- package/src/themes/Checkbox.css +12 -0
- package/src/themes/CountrySelector.css +16 -1
- package/src/themes/DatePicker.css +1 -1
- package/src/themes/Dropdown.css +3 -1
- package/src/themes/FilterMenu.css +10 -0
- package/src/themes/HeroBanner.css +42 -6
- package/src/themes/InputGroup.css +19 -0
- package/src/themes/MastheadItem.css +2 -7
- package/src/themes/MastheadMenuItem.css +0 -4
- package/src/themes/MastheadShell.css +9 -10
- package/src/themes/MediaPlayer.css +3 -2
- package/src/themes/PhoneNumberField.css +17 -3
- package/src/themes/Search.css +168 -21
- package/src/themes/SearchSuggestions.css +7 -1
- package/src/themes/SecondaryNavigation.css +44 -302
- package/src/themes/SecondaryNavigationItem.css +220 -0
- package/src/themes/SecondaryNavigationSubItem.css +118 -0
- package/src/themes/StatusBadge.css +135 -0
- package/src/themes/Tag.css +6 -1
- package/src/themes/TextField.css +10 -1
- package/src/types/callback.ts +3 -0
- package/src/utils/debounce.ts +1 -1
- package/src/utils/retryUntilSuccessful.ts +23 -0
- package/dist/assets/messagebundle_en-26cd7a92.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SearchTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAmC,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAgB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,oFAAoF,S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CAAC;AAG3nB,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type Search from \"../../Search.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-search__root\"><form role=\"search\" class=\"udex-search__container ${ifDefined(this.focusClasses)}${ifDefined(this.isNotEmptyClass)}\">${ this.labelAnimationDisabled ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix) }<div class=\"udex-search__icons\">${ this.isShowResetButton ? block4.call(this, context, tags, suffix) : undefined }${ this.isVoiceButton ? block5.call(this, context, tags, suffix) : undefined }${ this.showSubmitButton ? block6.call(this, context, tags, suffix) : undefined }</div></form></div>`;}\nfunction block1 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<input id=\"search-input\" type=\"search\" name=\"search\" class=\"udex-search__field\" autocomplete=\"off\" role=\"combobox\" aria-controls=\"suggestions-popover\" aria-expanded=\"false\" aria-haspopup=\"${ifDefined(this.showSuggestedPopover)}\" placeholder=\"${ifDefined(this.label)}\" .value=\"${ifDefined(this.value)}\" @input=\"${this.handleSearchChange}\" @keydown=\"${this.handleKeyDown}\" @focus=\"${this.handleFocus}\" @focusout=\"${this.handleFocusout}\" @blur=\"${this.handleBlur}\" @click=\"${this.handleInputClick}\" />`;}\nfunction block2 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.label ? block3.call(this, context, tags, suffix) : undefined }<input id=\"search-input\" type=\"search\" name=\"search\" class=\"udex-search__field\" autocomplete=\"off\" role=\"combobox\" aria-label=\"${ifDefined(this.accInfo.ariaLabel)}\" aria-controls=\"suggestions-popover\" aria-expanded=\"false\" aria-haspopup=\"${ifDefined(this.showSuggestedPopover)}\" .value=\"${ifDefined(this.value)}\" @input=\"${this.handleSearchChange}\" @keydown=\"${this.handleKeyDown}\" @focus=\"${this.handleFocus}\" @focusout=\"${this.handleFocusout}\" @blur=\"${this.handleBlur}\" @click=\"${this.handleInputClick}\" />`;}\nfunction block3 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<label for=\"search-input\" class=\"${ifDefined(this.labelClasses)}\">${ifDefined(this.label)}</label>`;}\nfunction block4 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"reset-button\" class=\"udex-search__button udex-search__reset-button\" design=\"Default\" icon=\"decline\" tooltip=\"Reset Button\" @click=\"${this.onReset}\" @keydown=\"${this.handleKeyDownReset}\"></${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"reset-button\" class=\"udex-search__button udex-search__reset-button\" design=\"Default\" icon=\"decline\" tooltip=\"Reset Button\" @click=\"${this.onReset}\" @keydown=\"${this.handleKeyDownReset}\"></ui5-button>`;}\nfunction block5 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"voice-button\" class=\"udex-search__button udex-search__voice-button ${ifDefined(this.voiceActiveClass)}\" design=\"Default\" icon=\"microphone\" tooltip=\"Voice Button\" @click=\"${this.onVoice}\"></${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"voice-button\" class=\"udex-search__button udex-search__voice-button ${ifDefined(this.voiceActiveClass)}\" design=\"Default\" icon=\"microphone\" tooltip=\"Voice Button\" @click=\"${this.onVoice}\"></ui5-button>`;}\nfunction block6 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.nonInteractiveSubmitButton ? block7.call(this, context, tags, suffix) : block8.call(this, context, tags, suffix) }`;}\nfunction block7 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-search__icon\" name=\"search\"></${scopeTag(\"ui5-icon\", tags, suffix)}>` : html`<ui5-icon class=\"udex-search__icon\" name=\"search\"></ui5-icon>`;}\nfunction block8 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"submit-button\" class=\"udex-search__button udex-search__submit-button ${ifDefined(this.searchButtonActiveClass)}\" design=\"Default\" icon=\"search\" tooltip=\"Submit Button\" @click=\"${this.onSubmit}\"></${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"submit-button\" class=\"udex-search__button udex-search__submit-button ${ifDefined(this.searchButtonActiveClass)}\" design=\"Default\" icon=\"search\" tooltip=\"Submit Button\" @click=\"${this.onSubmit}\"></ui5-button>`;}\n\n\nexport default block0;"]}
|
|
1
|
+
{"version":3,"file":"SearchTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SearchTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAyB,QAAQ,EAAE,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAgB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,iCAAiC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,KAAM,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,qDAAqD,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,KAAM,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,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,EAAE,IAAI,EAAE,MAAM,CAAC,8CAA8C,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,+DAA+D,CAAC,CAAA,CAAC;AACvT,SAAS,MAAM,CAAgB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,6EAA6E,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,oEAAoE,IAAI,CAAC,QAAQ,OAAO,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,wFAAwF,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,oEAAoE,IAAI,CAAC,QAAQ,iBAAiB,CAAC,CAAA,CAAC;AAG3nB,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type Search from \"../../Search.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-search__root ${ifDefined(this.classWithPrefix)}\">${ this.isShowSearchHomePrefix ? block1.call(this, context, tags, suffix) : undefined }<form role=\"search\" class=\"udex-search__container ${ifDefined(this.focusClasses)}${ifDefined(this.isNotEmptyClass)}\">${ this.labelAnimationDisabled ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) }<div class=\"udex-search__icons\">${ this.isShowResetButton ? block5.call(this, context, tags, suffix) : undefined }${ this.isVoiceButton ? block6.call(this, context, tags, suffix) : undefined }${ this.showSubmitButton ? block7.call(this, context, tags, suffix) : undefined }</div></form></div>`;}\nfunction block1 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-search__prefix\"><button type=\"button\" aria-haspopup=\"true\" aria-controls=\"udex-search-prefix\" class=\"udex-search__prefix-button\" @click=\"${this.handleDropdownClick}\"><span class=\"udex-search__prefix-label\">${ifDefined(this.labelPrefix)}</span><${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-search__prefix-icon\" name=\"slim-arrow-down\"></${scopeTag(\"ui5-icon\", tags, suffix)}></button><${scopeTag(\"ui5-popover\", tags, suffix)} id=\"udex-search-prefix\" class=\"udex-search__prefix-popover\" hide-arrow placement-type=\"Bottom\" horizontal-align=\"Left\" style=\"${styleMap(this.prefixPopoverStyles)}\" @after-close=\"${this.handleAfterClosePrefixPopover}\"><slot></slot></${scopeTag(\"ui5-popover\", tags, suffix)}></div>` : html`<div class=\"udex-search__prefix\"><button type=\"button\" aria-haspopup=\"true\" aria-controls=\"udex-search-prefix\" class=\"udex-search__prefix-button\" @click=\"${this.handleDropdownClick}\"><span class=\"udex-search__prefix-label\">${ifDefined(this.labelPrefix)}</span><ui5-icon class=\"udex-search__prefix-icon\" name=\"slim-arrow-down\"></ui5-icon></button><ui5-popover id=\"udex-search-prefix\" class=\"udex-search__prefix-popover\" hide-arrow placement-type=\"Bottom\" horizontal-align=\"Left\" style=\"${styleMap(this.prefixPopoverStyles)}\" @after-close=\"${this.handleAfterClosePrefixPopover}\"><slot></slot></ui5-popover></div>`;}\nfunction block2 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<input id=\"search-input\" type=\"search\" name=\"search\" class=\"udex-search__field\" autocomplete=\"off\" role=\"combobox\" aria-controls=\"${ifDefined(this.getAriaControls)}\" aria-expanded=\"false\" aria-haspopup=\"${ifDefined(this.showSuggestedPopover)}\" aria-label=\"Search\" placeholder=\"${ifDefined(this.label)}\" .value=\"${ifDefined(this.value)}\" @input=\"${this.handleSearchChange}\" @keydown=\"${this.handleKeyDown}\" @focus=\"${this.handleFocus}\" @focusout=\"${this.handleFocusout}\" @blur=\"${this.handleBlur}\" @click=\"${this.handleInputClick}\" />`;}\nfunction block3 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.label ? block4.call(this, context, tags, suffix) : undefined }<input id=\"search-input\" type=\"search\" name=\"search\" class=\"udex-search__field\" autocomplete=\"off\" role=\"combobox\" aria-label=\"${ifDefined(this.accInfo.ariaLabel)}\" aria-controls=\"${ifDefined(this.getAriaControls)}\" aria-expanded=\"false\" aria-haspopup=\"${ifDefined(this.showSuggestedPopover)}\" .value=\"${ifDefined(this.value)}\" @input=\"${this.handleSearchChange}\" @keydown=\"${this.handleKeyDown}\" @focus=\"${this.handleFocus}\" @focusout=\"${this.handleFocusout}\" @blur=\"${this.handleBlur}\" @click=\"${this.handleInputClick}\" />`;}\nfunction block4 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<label for=\"search-input\" class=\"${ifDefined(this.labelClasses)}\">${ifDefined(this.label)}</label>`;}\nfunction block5 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"reset-button\" class=\"udex-search__button udex-search__reset-button\" design=\"Default\" icon=\"decline\" tooltip=\"Reset Button\" @click=\"${this.onReset}\" @keydown=\"${this.handleKeyDownReset}\"></${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"reset-button\" class=\"udex-search__button udex-search__reset-button\" design=\"Default\" icon=\"decline\" tooltip=\"Reset Button\" @click=\"${this.onReset}\" @keydown=\"${this.handleKeyDownReset}\"></ui5-button>`;}\nfunction block6 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"voice-button\" class=\"udex-search__button udex-search__voice-button ${ifDefined(this.voiceActiveClass)}\" design=\"Default\" icon=\"microphone\" tooltip=\"Voice Button\" @click=\"${this.onVoice}\"></${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"voice-button\" class=\"udex-search__button udex-search__voice-button ${ifDefined(this.voiceActiveClass)}\" design=\"Default\" icon=\"microphone\" tooltip=\"Voice Button\" @click=\"${this.onVoice}\"></ui5-button>`;}\nfunction block7 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.nonInteractiveSubmitButton ? block8.call(this, context, tags, suffix) : block9.call(this, context, tags, suffix) }`;}\nfunction block8 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-search__icon\" name=\"search\"></${scopeTag(\"ui5-icon\", tags, suffix)}>` : html`<ui5-icon class=\"udex-search__icon\" name=\"search\"></ui5-icon>`;}\nfunction block9 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"submit-button\" class=\"udex-search__button udex-search__submit-button ${ifDefined(this.searchButtonActiveClass)}\" design=\"Default\" icon=\"search\" tooltip=\"Submit Button\" @click=\"${this.onSubmit}\"></${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"submit-button\" class=\"udex-search__button udex-search__submit-button ${ifDefined(this.searchButtonActiveClass)}\" design=\"Default\" icon=\"search\" tooltip=\"Submit Button\" @click=\"${this.onSubmit}\"></ui5-button>`;}\n\n\nexport default block0;"]}
|
|
@@ -8,8 +8,8 @@ function block4(context, tags, suffix, item, index) { return html `${item.isGrou
|
|
|
8
8
|
function block5(context, tags, suffix, item, index) { return html `${item.item.isSelectAllHeader ? block6.call(this, context, tags, suffix, item, index) : block8.call(this, context, tags, suffix, item, index)}`; }
|
|
9
9
|
function block6(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-select-all", tags, suffix)} _additional-class-name="${ifDefined(this.additionalClassName)}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" ?controlled="${item.item.controlled}" supporting-text="${ifDefined(item.item.supportingText)}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block7.call(this, context, tags, suffix, item, index))}</${scopeTag("udex-list-select-all", tags, suffix)}>` : html `<udex-list-select-all _additional-class-name="${ifDefined(this.additionalClassName)}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" ?controlled="${item.item.controlled}" supporting-text="${ifDefined(item.item.supportingText)}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block7.call(this, context, tags, suffix, item, index))}</udex-list-select-all>`; }
|
|
10
10
|
function block7(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-item", tags, suffix)} data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</${scopeTag("udex-list-item", tags, suffix)}>` : html `<udex-list-item data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</udex-list-item>`; }
|
|
11
|
-
function block8(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-group-header", tags, suffix)} _additional-class-name="udex-searchable-list__header" class="${ifDefined(this.groupClassName)}" ?non-interactive="${item.item.nonInteractive}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" supporting-text="${ifDefined(item.item.supportingText)}" ?controlled="${item.item.controlled}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block9.call(this, context, tags, suffix, item, index))}</${scopeTag("udex-list-group-header", tags, suffix)}>` : html `<udex-list-group-header _additional-class-name="udex-searchable-list__header" class="${ifDefined(this.groupClassName)}" ?non-interactive="${item.item.nonInteractive}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" supporting-text="${ifDefined(item.item.supportingText)}" ?controlled="${item.item.controlled}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block9.call(this, context, tags, suffix, item, index))}</udex-list-group-header>`; }
|
|
12
|
-
function block9(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-item", tags, suffix)} data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</${scopeTag("udex-list-item", tags, suffix)}>` : html `<udex-list-item data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</udex-list-item>`; }
|
|
11
|
+
function block8(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-group-header", tags, suffix)} role="list" _additional-class-name="udex-searchable-list__header" class="${ifDefined(this.groupClassName)}" ?non-interactive="${item.item.nonInteractive}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" supporting-text="${ifDefined(item.item.supportingText)}" ?controlled="${item.item.controlled}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block9.call(this, context, tags, suffix, item, index))}</${scopeTag("udex-list-group-header", tags, suffix)}>` : html `<udex-list-group-header role="list" _additional-class-name="udex-searchable-list__header" class="${ifDefined(this.groupClassName)}" ?non-interactive="${item.item.nonInteractive}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" supporting-text="${ifDefined(item.item.supportingText)}" ?controlled="${item.item.controlled}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block9.call(this, context, tags, suffix, item, index))}</udex-list-group-header>`; }
|
|
12
|
+
function block9(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-item", tags, suffix)} role="none" data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</${scopeTag("udex-list-item", tags, suffix)}>` : html `<udex-list-item role="none" data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</udex-list-item>`; }
|
|
13
13
|
function block10(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-item", tags, suffix)} data-token-id="${ifDefined(item.item._id)}" supporting-text="${ifDefined(item.item.supportingText)}" ?disabled="${item.item.disabled}" ?controlled="${item.controlled}" ?divider="${item.divider}" ?selected="${item.item.selected}" label="${ifDefined(item.item.label)}">${unsafeHTML(item.item.innerHTML)}</${scopeTag("udex-list-item", tags, suffix)}>` : html `<udex-list-item data-token-id="${ifDefined(item.item._id)}" supporting-text="${ifDefined(item.item.supportingText)}" ?disabled="${item.item.disabled}" ?controlled="${item.controlled}" ?divider="${item.divider}" ?selected="${item.item.selected}" label="${ifDefined(item.item.label)}">${unsafeHTML(item.item.innerHTML)}</udex-list-item>`; }
|
|
14
14
|
export default block0;
|
|
15
15
|
//# sourceMappingURL=SearchableListBaseTemplate.lit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableListBaseTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SearchableListBaseTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA4B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,GAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAE,GAAG,CAAC,CAAA,CAAC;AACpT,SAAS,MAAM,CAA4B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,0EAA0E,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,iFAAiF,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,sFAAsF,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,4FAA4F,CAAC,CAAA,CAAC;A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,IAAI,CAAC,OAAO,gBAAgB,IAAI,CAAC,IAAI,CAAC,QAAQ,YAAY,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,QAAQ,CAAC,gBAAgB,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,kCAAkC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,sBAAsB,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,QAAQ,kBAAkB,IAAI,CAAC,UAAU,eAAe,IAAI,CAAC,OAAO,gBAAgB,IAAI,CAAC,IAAI,CAAC,QAAQ,YAAY,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAA,CAAC;AAGh4B,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SearchableListBase from \"../../SearchableListBase.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.showSearch ? block1.call(this, context, tags, suffix) : undefined }${ this.isListEmpty ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) } `;}\nfunction block1 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-search\", tags, suffix)} slot=\"header\" mode=\"Standard\" class=\"udex-filter-menu__search\" label=\"${ifDefined(this.searchPlaceholder)}\" label-animation-disabled non-interactive-submit-button show-submit-button></${scopeTag(\"udex-search\", tags, suffix)}>` : html`<udex-search slot=\"header\" mode=\"Standard\" class=\"udex-filter-menu__search\" label=\"${ifDefined(this.searchPlaceholder)}\" label-animation-disabled non-interactive-submit-button show-submit-button></udex-search>`;}\nfunction block2 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-no-result\"><span>${ifDefined(this.getNoResultText)}‎</span></div>`;}\nfunction block3 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-list\", tags, suffix)} id=\"udex-list\" class=\"udex-filter-menu__list\" ?controlled=\"${this.isControlled}\" mode=\"${ifDefined(this.mode)}\">${ repeat(this._filteredItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list\", tags, suffix)}>` : html`<udex-list id=\"udex-list\" class=\"udex-filter-menu__list\" ?controlled=\"${this.isControlled}\" mode=\"${ifDefined(this.mode)}\">${ repeat(this._filteredItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }</udex-list>`;}\nfunction block4 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.isGroup ? block5.call(this, context, tags, suffix, item, index) : block10.call(this, context, tags, suffix, item, index) }`;}\nfunction block5 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.item.isSelectAllHeader ? block6.call(this, context, tags, suffix, item, index) : block8.call(this, context, tags, suffix, item, index) }`;}\nfunction block6 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-select-all\", tags, suffix)} _additional-class-name=\"${ifDefined(this.additionalClassName)}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" ?controlled=\"${item.item.controlled}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list-select-all\", tags, suffix)}>` : html`<udex-list-select-all _additional-class-name=\"${ifDefined(this.additionalClassName)}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" ?controlled=\"${item.item.controlled}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }</udex-list-select-all>`;}\nfunction block7 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</udex-list-item>`;}\nfunction block8 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-group-header\", tags, suffix)} _additional-class-name=\"udex-searchable-list__header\" class=\"${ifDefined(this.groupClassName)}\" ?non-interactive=\"${item.item.nonInteractive}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?controlled=\"${item.item.controlled}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block9.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list-group-header\", tags, suffix)}>` : html`<udex-list-group-header _additional-class-name=\"udex-searchable-list__header\" class=\"${ifDefined(this.groupClassName)}\" ?non-interactive=\"${item.item.nonInteractive}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?controlled=\"${item.item.controlled}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block9.call(this, context, tags, suffix, item, index)) }</udex-list-group-header>`;}\nfunction block9 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</udex-list-item>`;}\nfunction block10 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} data-token-id=\"${ifDefined(item.item._id)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?controlled=\"${item.controlled}\" ?divider=\"${item.divider}\" ?selected=\"${item.item.selected}\" label=\"${ifDefined(item.item.label)}\">${unsafeHTML(item.item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item data-token-id=\"${ifDefined(item.item._id)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?controlled=\"${item.controlled}\" ?divider=\"${item.divider}\" ?selected=\"${item.item.selected}\" label=\"${ifDefined(item.item.label)}\">${unsafeHTML(item.item.innerHTML)}</udex-list-item>`;}\n\n\nexport default block0;"]}
|
|
1
|
+
{"version":3,"file":"SearchableListBaseTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SearchableListBaseTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA4B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,GAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,C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ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SearchableListBase from \"../../SearchableListBase.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.showSearch ? block1.call(this, context, tags, suffix) : undefined }${ this.isListEmpty ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) } `;}\nfunction block1 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-search\", tags, suffix)} slot=\"header\" mode=\"Standard\" class=\"udex-filter-menu__search\" label=\"${ifDefined(this.searchPlaceholder)}\" label-animation-disabled non-interactive-submit-button show-submit-button></${scopeTag(\"udex-search\", tags, suffix)}>` : html`<udex-search slot=\"header\" mode=\"Standard\" class=\"udex-filter-menu__search\" label=\"${ifDefined(this.searchPlaceholder)}\" label-animation-disabled non-interactive-submit-button show-submit-button></udex-search>`;}\nfunction block2 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-no-result\"><span>${ifDefined(this.getNoResultText)}‎</span></div>`;}\nfunction block3 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-list\", tags, suffix)} id=\"udex-list\" class=\"udex-filter-menu__list\" ?controlled=\"${this.isControlled}\" mode=\"${ifDefined(this.mode)}\">${ repeat(this._filteredItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list\", tags, suffix)}>` : html`<udex-list id=\"udex-list\" class=\"udex-filter-menu__list\" ?controlled=\"${this.isControlled}\" mode=\"${ifDefined(this.mode)}\">${ repeat(this._filteredItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }</udex-list>`;}\nfunction block4 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.isGroup ? block5.call(this, context, tags, suffix, item, index) : block10.call(this, context, tags, suffix, item, index) }`;}\nfunction block5 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.item.isSelectAllHeader ? block6.call(this, context, tags, suffix, item, index) : block8.call(this, context, tags, suffix, item, index) }`;}\nfunction block6 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-select-all\", tags, suffix)} _additional-class-name=\"${ifDefined(this.additionalClassName)}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" ?controlled=\"${item.item.controlled}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list-select-all\", tags, suffix)}>` : html`<udex-list-select-all _additional-class-name=\"${ifDefined(this.additionalClassName)}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" ?controlled=\"${item.item.controlled}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }</udex-list-select-all>`;}\nfunction block7 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</udex-list-item>`;}\nfunction block8 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-group-header\", tags, suffix)} role=\"list\" _additional-class-name=\"udex-searchable-list__header\" class=\"${ifDefined(this.groupClassName)}\" ?non-interactive=\"${item.item.nonInteractive}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?controlled=\"${item.item.controlled}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block9.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list-group-header\", tags, suffix)}>` : html`<udex-list-group-header role=\"list\" _additional-class-name=\"udex-searchable-list__header\" class=\"${ifDefined(this.groupClassName)}\" ?non-interactive=\"${item.item.nonInteractive}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?controlled=\"${item.item.controlled}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block9.call(this, context, tags, suffix, item, index)) }</udex-list-group-header>`;}\nfunction block9 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} role=\"none\" data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item role=\"none\" data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</udex-list-item>`;}\nfunction block10 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} data-token-id=\"${ifDefined(item.item._id)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?controlled=\"${item.controlled}\" ?divider=\"${item.divider}\" ?selected=\"${item.item.selected}\" label=\"${ifDefined(item.item.label)}\">${unsafeHTML(item.item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item data-token-id=\"${ifDefined(item.item._id)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?controlled=\"${item.controlled}\" ?divider=\"${item.divider}\" ?selected=\"${item.item.selected}\" label=\"${ifDefined(item.item.label)}\">${unsafeHTML(item.item.innerHTML)}</udex-list-item>`;}\n\n\nexport default block0;"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
|
+
import type SecondaryNavigationItem from "../../SecondaryNavigationItem.js";
|
|
3
|
+
declare function block0(this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult<1 | 2>;
|
|
4
|
+
export default block0;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint no-unused-vars: 0 */
|
|
2
|
+
import { html, repeat, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
+
function block0(context, tags, suffix) { return html `${this.isLink ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix)} `; }
|
|
4
|
+
function block1(context, tags, suffix) { return html `<a class="udex-secondary-navigation__item" role="${ifDefined(this.menuItemRole)}" ?active="${this.isActive}" href="${ifDefined(this.path)}" target="${ifDefined(this.target)}" @keydown="${this.handleItemLinkKeyDown}" @click="${this.onItemClick}">${ifDefined(this.label)}</a>`; }
|
|
5
|
+
function block2(context, tags, suffix) { return html `<button class="udex-secondary-navigation__item" role="${ifDefined(this.itemRole)}" ?active="${this.isActive}" aria-haspopup="${ifDefined(this.hasNestedItems)}" aria-expanded="${ifDefined(this.isOpen)}" aria-label="${ifDefined(this.ariaLabel)}" @keydown="${this.handleItemButtonKeyDown}" @click="${this.onItemClick}"><span class="udex-secondary-navigation__item-text-wrap">${ifDefined(this.label)}${this._subTitle ? block3.call(this, context, tags, suffix) : undefined}${this.hasNestedItems ? block4.call(this, context, tags, suffix) : undefined}</span></button>${this.isOpen ? block5.call(this, context, tags, suffix) : undefined}`; }
|
|
6
|
+
function block3(context, tags, suffix) { return html `<span class="udex-secondary-navigation__item-sub-title">${ifDefined(this._subTitle)}</span>`; }
|
|
7
|
+
function block4(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-icon", tags, suffix)} class="udex-secondary-navigation__item-icon" name="slim-arrow-down"></${scopeTag("ui5-icon", tags, suffix)}>` : html `<ui5-icon class="udex-secondary-navigation__item-icon" name="slim-arrow-down"></ui5-icon>`; }
|
|
8
|
+
function block5(context, tags, suffix) { return html `<div class="udex-secondary-navigation__dropdown" @keydown="${this.handleSubItemKeyDown}"><ul role="menu" class="udex-secondary-navigation__dropdown-list">${repeat(this._processedItems, (item, index) => item._id || index, (item, index) => block6.call(this, context, tags, suffix, item, index))}</ul><slot></slot></div>`; }
|
|
9
|
+
function block6(context, tags, suffix, item, index) { return suffix ? html `<li role="none"><${scopeTag("udex-secondary-navigation-sub-item", tags, suffix)} index="${index}" @ui5-sub-item-click="${ifDefined(this.onSubItemClick)}" @ui5-back-item-click="${ifDefined(this.onBackClick)}" is-back="${ifDefined(item.isBack)}" label="${ifDefined(item.title)}" .nestedItems="${ifDefined(item.items)}" path="${ifDefined(item.path)}" target="${ifDefined(item.target)}" ?is-active="${item.active}"></${scopeTag("udex-secondary-navigation-sub-item", tags, suffix)}></li>` : html `<li role="none"><udex-secondary-navigation-sub-item index="${index}" @ui5-sub-item-click="${ifDefined(this.onSubItemClick)}" @ui5-back-item-click="${ifDefined(this.onBackClick)}" is-back="${ifDefined(item.isBack)}" label="${ifDefined(item.title)}" .nestedItems="${ifDefined(item.items)}" path="${ifDefined(item.path)}" target="${ifDefined(item.target)}" ?is-active="${item.active}"></udex-secondary-navigation-sub-item></li>`; }
|
|
10
|
+
export default block0;
|
|
11
|
+
//# sourceMappingURL=SecondaryNavigationItemTemplate.lit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecondaryNavigationItemTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SecondaryNavigationItemTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAiC,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,GAAI,IAAI,CAAC,MAAM,CAAC,CAA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2B,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,IAAI,CAAC,MAAM,OAAO,QAAQ,CAAC,oCAAoC,EAAE,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA,8DAA8D,KAAK,0BAA0B,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,2BAA2B,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,IAAI,CAAC,MAAM,8CAA8C,CAAC,CAAA,CAAC;AAGxjC,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SecondaryNavigationItem from \"../../SecondaryNavigationItem.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.isLink ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix) } `;}\nfunction block1 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a class=\"udex-secondary-navigation__item\" role=\"${ifDefined(this.menuItemRole)}\" ?active=\"${this.isActive}\" href=\"${ifDefined(this.path)}\" target=\"${ifDefined(this.target)}\" @keydown=\"${this.handleItemLinkKeyDown}\" @click=\"${this.onItemClick}\">${ifDefined(this.label)}</a>`;}\nfunction block2 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button class=\"udex-secondary-navigation__item\" role=\"${ifDefined(this.itemRole)}\" ?active=\"${this.isActive}\" aria-haspopup=\"${ifDefined(this.hasNestedItems)}\" aria-expanded=\"${ifDefined(this.isOpen)}\" aria-label=\"${ifDefined(this.ariaLabel)}\" @keydown=\"${this.handleItemButtonKeyDown}\" @click=\"${this.onItemClick}\"><span class=\"udex-secondary-navigation__item-text-wrap\">${ifDefined(this.label)}${ this._subTitle ? block3.call(this, context, tags, suffix) : undefined }${ this.hasNestedItems ? block4.call(this, context, tags, suffix) : undefined }</span></button>${ this.isOpen ? block5.call(this, context, tags, suffix) : undefined }`;}\nfunction block3 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"udex-secondary-navigation__item-sub-title\">${ifDefined(this._subTitle)}</span>`;}\nfunction block4 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-secondary-navigation__item-icon\" name=\"slim-arrow-down\"></${scopeTag(\"ui5-icon\", tags, suffix)}>` : html`<ui5-icon class=\"udex-secondary-navigation__item-icon\" name=\"slim-arrow-down\"></ui5-icon>`;}\nfunction block5 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-secondary-navigation__dropdown\" @keydown=\"${this.handleSubItemKeyDown}\"><ul role=\"menu\" class=\"udex-secondary-navigation__dropdown-list\">${ repeat(this._processedItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block6.call(this, context, tags, suffix, item, index)) }</ul><slot></slot></div>`;}\nfunction block6 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<li role=\"none\"><${scopeTag(\"udex-secondary-navigation-sub-item\", tags, suffix)} index=\"${index}\" @ui5-sub-item-click=\"${ifDefined(this.onSubItemClick)}\" @ui5-back-item-click=\"${ifDefined(this.onBackClick)}\" is-back=\"${ifDefined(item.isBack)}\" label=\"${ifDefined(item.title)}\" .nestedItems=\"${ifDefined(item.items)}\" path=\"${ifDefined(item.path)}\" target=\"${ifDefined(item.target)}\" ?is-active=\"${item.active}\"></${scopeTag(\"udex-secondary-navigation-sub-item\", tags, suffix)}></li>` : html`<li role=\"none\"><udex-secondary-navigation-sub-item index=\"${index}\" @ui5-sub-item-click=\"${ifDefined(this.onSubItemClick)}\" @ui5-back-item-click=\"${ifDefined(this.onBackClick)}\" is-back=\"${ifDefined(item.isBack)}\" label=\"${ifDefined(item.title)}\" .nestedItems=\"${ifDefined(item.items)}\" path=\"${ifDefined(item.path)}\" target=\"${ifDefined(item.target)}\" ?is-active=\"${item.active}\"></udex-secondary-navigation-sub-item></li>`;}\n\n\nexport default block0;"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
|
+
import type SecondaryNavigationSubItem from "../../SecondaryNavigationSubItem.js";
|
|
3
|
+
declare function block0(this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult<1 | 2>;
|
|
4
|
+
export default block0;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* eslint no-unused-vars: 0 */
|
|
2
|
+
import { html, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
+
function block0(context, tags, suffix) { return html `${this.isBack ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix)} `; }
|
|
4
|
+
function block1(context, tags, suffix) { return suffix ? html `<button @click="${this.onBackItemClick}" role="menuitem" aria-label="${ifDefined(this.backButtonLabel)}" aria-haspopup="true" is-back class="udex-secondary-navigation__dropdown-item"><${scopeTag("ui5-icon", tags, suffix)} class="udex-secondary-navigation__dropdown-icon udex-secondary-navigation__dropdown-icon_back" name="slim-arrow-left"></${scopeTag("ui5-icon", tags, suffix)}>${ifDefined(this.label)}</button>` : html `<button @click="${this.onBackItemClick}" role="menuitem" aria-label="${ifDefined(this.backButtonLabel)}" aria-haspopup="true" is-back class="udex-secondary-navigation__dropdown-item"><ui5-icon class="udex-secondary-navigation__dropdown-icon udex-secondary-navigation__dropdown-icon_back" name="slim-arrow-left"></ui5-icon>${ifDefined(this.label)}</button>`; }
|
|
5
|
+
function block2(context, tags, suffix) { return html `${this.hasItems ? block3.call(this, context, tags, suffix) : block4.call(this, context, tags, suffix)}`; }
|
|
6
|
+
function block3(context, tags, suffix) { return suffix ? html `<button @click="${this.onItemClick}" role="menuitem" aria-haspopup="true" ?sub-active="${this.isSubItemActive}" aria-label="${ifDefined(this.label)}" class="udex-secondary-navigation__dropdown-item">${ifDefined(this.label)}<${scopeTag("ui5-icon", tags, suffix)} class="udex-secondary-navigation__dropdown-icon" name="slim-arrow-right"></${scopeTag("ui5-icon", tags, suffix)}></button>` : html `<button @click="${this.onItemClick}" role="menuitem" aria-haspopup="true" ?sub-active="${this.isSubItemActive}" aria-label="${ifDefined(this.label)}" class="udex-secondary-navigation__dropdown-item">${ifDefined(this.label)}<ui5-icon class="udex-secondary-navigation__dropdown-icon" name="slim-arrow-right"></ui5-icon></button>`; }
|
|
7
|
+
function block4(context, tags, suffix) { return html `<a @click="${this.onItemClick}" role="menuitem" href="${ifDefined(this.path)}" target="${ifDefined(this.target)}" ?active="${this.isActive}" class="udex-secondary-navigation__dropdown-item">${ifDefined(this.label)}</a>`; }
|
|
8
|
+
export default block0;
|
|
9
|
+
//# sourceMappingURL=SecondaryNavigationSubItemTemplate.lit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file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C,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAE,EAAE,CAAC,CAAA,CAAC;AAC7O,SAAS,MAAM,CAAoC,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,mBAAmB,IAAI,CAAC,WAAW,uDAAuD,IAAI,CAAC,eAAe,iBAAiB,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,sDAAsD,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,+EAA+E,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAA,mBAAmB,IAAI,CAAC,WAAW,uDAAuD,IAAI,CAAC,eAAe,iBAAiB,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,sDAAsD,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,yGAAyG,CAAC,CAAA,CAAC;AAC71B,SAAS,MAAM,CAAoC,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,cAAc,IAAI,CAAC,WAAW,2BAA2B,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,IAAI,CAAC,QAAQ,sDAAsD,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA,CAAC;AAG/V,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SecondaryNavigationSubItem from \"../../SecondaryNavigationSubItem.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.isBack ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix) } `;}\nfunction block1 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<button @click=\"${this.onBackItemClick}\" role=\"menuitem\" aria-label=\"${ifDefined(this.backButtonLabel)}\" aria-haspopup=\"true\" is-back class=\"udex-secondary-navigation__dropdown-item\"><${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-secondary-navigation__dropdown-icon udex-secondary-navigation__dropdown-icon_back\" name=\"slim-arrow-left\"></${scopeTag(\"ui5-icon\", tags, suffix)}>${ifDefined(this.label)}</button>` : html`<button @click=\"${this.onBackItemClick}\" role=\"menuitem\" aria-label=\"${ifDefined(this.backButtonLabel)}\" aria-haspopup=\"true\" is-back class=\"udex-secondary-navigation__dropdown-item\"><ui5-icon class=\"udex-secondary-navigation__dropdown-icon udex-secondary-navigation__dropdown-icon_back\" name=\"slim-arrow-left\"></ui5-icon>${ifDefined(this.label)}</button>`;}\nfunction block2 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.hasItems ? block3.call(this, context, tags, suffix) : block4.call(this, context, tags, suffix) }`;}\nfunction block3 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<button @click=\"${this.onItemClick}\" role=\"menuitem\" aria-haspopup=\"true\" ?sub-active=\"${this.isSubItemActive}\" aria-label=\"${ifDefined(this.label)}\" class=\"udex-secondary-navigation__dropdown-item\">${ifDefined(this.label)}<${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-secondary-navigation__dropdown-icon\" name=\"slim-arrow-right\"></${scopeTag(\"ui5-icon\", tags, suffix)}></button>` : html`<button @click=\"${this.onItemClick}\" role=\"menuitem\" aria-haspopup=\"true\" ?sub-active=\"${this.isSubItemActive}\" aria-label=\"${ifDefined(this.label)}\" class=\"udex-secondary-navigation__dropdown-item\">${ifDefined(this.label)}<ui5-icon class=\"udex-secondary-navigation__dropdown-icon\" name=\"slim-arrow-right\"></ui5-icon></button>`;}\nfunction block4 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a @click=\"${this.onItemClick}\" role=\"menuitem\" href=\"${ifDefined(this.path)}\" target=\"${ifDefined(this.target)}\" ?active=\"${this.isActive}\" class=\"udex-secondary-navigation__dropdown-item\">${ifDefined(this.label)}</a>`;}\n\n\nexport default block0;"]}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/* eslint no-unused-vars: 0 */
|
|
2
2
|
import { html, repeat, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
-
function block0(context, tags, suffix) { return suffix ? html `<div class="
|
|
3
|
+
function block0(context, tags, suffix) { return suffix ? html `<div class="udex-secondary-navigation__root">${this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined}<div class="udex-secondary-navigation__holder"><div class="udex-secondary-navigation__heading">${this.titleHref.length ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix)}</div><div class="udex-secondary-navigation__wrap"><ul role="menubar" class="udex-secondary-navigation__list" @keydown="${this.handleKeyDown}">${repeat(this.visibleItems, (item, index) => item._id || index, (item, index) => block4.call(this, context, tags, suffix, item, index))}${this._showMoreButton ? block5.call(this, context, tags, suffix) : undefined}</ul>${this.hasDesktopButtonsSlot ? block6.call(this, context, tags, suffix) : undefined}</div></div><${scopeTag("udex-secondary-navigation-item", tags, suffix)} class="udex-secondary-navigation__mobile-nav" role="button" aria-label="${ifDefined(this.mobileMenuOpenerAriaLabel)}" label="${ifDefined(this.title)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" .subItems="${ifDefined(this.parsedItems)}">${this.hasMobileButtonsSlot ? block7.call(this, context, tags, suffix) : undefined}</${scopeTag("udex-secondary-navigation-item", tags, suffix)}></div> ` : html `<div class="udex-secondary-navigation__root">${this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined}<div class="udex-secondary-navigation__holder"><div class="udex-secondary-navigation__heading">${this.titleHref.length ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix)}</div><div class="udex-secondary-navigation__wrap"><ul role="menubar" class="udex-secondary-navigation__list" @keydown="${this.handleKeyDown}">${repeat(this.visibleItems, (item, index) => item._id || index, (item, index) => block4.call(this, context, tags, suffix, item, index))}${this._showMoreButton ? block5.call(this, context, tags, suffix) : undefined}</ul>${this.hasDesktopButtonsSlot ? block6.call(this, context, tags, suffix) : undefined}</div></div><udex-secondary-navigation-item class="udex-secondary-navigation__mobile-nav" role="button" aria-label="${ifDefined(this.mobileMenuOpenerAriaLabel)}" label="${ifDefined(this.title)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" .subItems="${ifDefined(this.parsedItems)}">${this.hasMobileButtonsSlot ? block7.call(this, context, tags, suffix) : undefined}</udex-secondary-navigation-item></div> `; }
|
|
4
4
|
function block1(context, tags, suffix) { return html `<div class="udex-secondary-navigation__breadcrumbs"><slot name="breadcrumbs"></slot></div>`; }
|
|
5
|
-
function block2(context, tags, suffix
|
|
6
|
-
function block3(context, tags, suffix
|
|
7
|
-
function block4(context, tags, suffix, item, index) { return html `<
|
|
8
|
-
function block5(context, tags, suffix) { return suffix ? html `<li role="none" class="
|
|
9
|
-
function block6(context, tags, suffix) { return html `<div class="udex-secondary-
|
|
10
|
-
function block7(context, tags, suffix
|
|
11
|
-
function block8(context, tags, suffix, item, index) { return html `<a role="menuitem" href="${ifDefined(item.path)}" target="${ifDefined(item.target)}" class="udex-secondary-navigation__dropdown-item udex-secondary-navigation__link-btn" @click="${this.handleNavigationClick}">${ifDefined(item.title)}</a>`; }
|
|
12
|
-
function block9(context, tags, suffix, item, index) { return html `<button role="menuitem" class="udex-secondary-navigation__dropdown-item" @click="${this.handleNavigationClick}">${ifDefined(item.title)}</button>`; }
|
|
5
|
+
function block2(context, tags, suffix) { return html `<a class="udex-secondary-navigation__title" href="${ifDefined(this.titleHref)}">${ifDefined(this.title)}</a>`; }
|
|
6
|
+
function block3(context, tags, suffix) { return html `<span class="udex-secondary-navigation__title">${ifDefined(this.title)}</span>`; }
|
|
7
|
+
function block4(context, tags, suffix, item, index) { return suffix ? html `<li role="none" class="udex-secondary-navigation__list-item"><${scopeTag("udex-secondary-navigation-item", tags, suffix)} ?active="${item.active}" path="${ifDefined(item.path)}" label="${ifDefined(item.title)}" target="${ifDefined(item.target)}" .subItems="${ifDefined(item.items)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}"></${scopeTag("udex-secondary-navigation-item", tags, suffix)}></li>` : html `<li role="none" class="udex-secondary-navigation__list-item"><udex-secondary-navigation-item ?active="${item.active}" path="${ifDefined(item.path)}" label="${ifDefined(item.title)}" target="${ifDefined(item.target)}" .subItems="${ifDefined(item.items)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}"></udex-secondary-navigation-item></li>`; }
|
|
8
|
+
function block5(context, tags, suffix) { return suffix ? html `<li role="none" class="udex-secondary-navigation__list-item"><${scopeTag("udex-secondary-navigation-item", tags, suffix)} @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}" label="${ifDefined(this.moreButtonText)}" .subItems="${ifDefined(this._overflowItems)}"></${scopeTag("udex-secondary-navigation-item", tags, suffix)}></li>` : html `<li role="none" class="udex-secondary-navigation__list-item"><udex-secondary-navigation-item @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}" label="${ifDefined(this.moreButtonText)}" .subItems="${ifDefined(this._overflowItems)}"></udex-secondary-navigation-item></li>`; }
|
|
9
|
+
function block6(context, tags, suffix) { return html `<div class="udex-secondary-navigation__buttons"><slot name="buttons"></slot></div>`; }
|
|
10
|
+
function block7(context, tags, suffix) { return html `<div class="udex-secondary-navigation__buttons"><slot name="buttons"></slot></div>`; }
|
|
13
11
|
export default block0;
|
|
14
12
|
//# sourceMappingURL=SecondaryNavigationTemplate.lit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecondaryNavigationTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SecondaryNavigationTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA6B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,eAAe,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,KAAM,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,mMAAmM,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,gEAAgE,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,sGAAsG,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,iBAAiB,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,kCAAkC,IAAI,CAAC,gBAAgB,MAAM,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,2EAA2E,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,qIAAqI,IAAI,CAAC,aAAa,KAAM,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAE,IAAkC,CAAC,GAAG,IAAI,KAAK,EAAE,CAAC,IAAI,EAAE,KAAa,EAAE,EAAE,CAAC,MAAM,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AAA,4BAA4B,IAAI,CAAC,MAAM,sDAAuD,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAE,OAAO,CAAC,CAAA,CAAC;AACrX,SAAS,MAAM,CAA6B,OAAmB,EAAE,IAAc,EAAE,MAA0B,EAAE,IAAS,EAAE,KAAa,IAAI,OAAO,IAAI,CAAA,4BAA4B,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,kGAAkG,IAAI,CAAC,qBAAqB,KAAK,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA,CAAC;AACrY,SAAS,MAAM,CAA6B,OAAmB,EAAE,IAAc,EAAE,MAA0B,EAAE,IAAS,EAAE,KAAa,IAAI,OAAO,IAAI,CAAA,oFAAoF,IAAI,CAAC,qBAAqB,KAAK,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA,CAAC;AAGzS,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SecondaryNavigation from \"../../SecondaryNavigation.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"${ifDefined(this.rootClass)}\">${ this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined }<div class=\"udex-secondary-navigation__holder\"><div class=\"udex-secondary-navigation__heading\"><div class=\"udex-secondary-navigation__text-wrap\"><span class=\"udex-secondary-navigation__title\">${ifDefined(this.title)}</span><span class=\"udex-secondary-navigation__active-title\">${ifDefined(this.activeItemText)}</span></div><button class=\"udex-secondary-navigation__mobile-opener\" role=\"button\" aria-expanded=\"${ifDefined(this._mobileBtnExpanded)}\" aria-label=\"${ifDefined(this.mobileMenuOpenerAriaLabel)}\" aria-haspopup=\"true\" @click=\"${this.handleMobileOpen}\"><${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-secondary-navigation__title-icon\" name=\"slim-arrow-down\"></${scopeTag(\"ui5-icon\", tags, suffix)}></button></div><div class=\"udex-secondary-navigation__wrap\"><ul role=\"menubar\" class=\"udex-secondary-navigation__list\" @keydown=\"${this.handleKeyDown}\">${ repeat(this.items, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block2.call(this, context, tags, suffix, item, index)) }${ this._overflowItems.length ? block5.call(this, context, tags, suffix) : undefined }</ul><div class=\"udex-secondary-navigation__buttons\"><slot name=\"buttons\"></slot></div></div></div></div>` : html`<div class=\"${ifDefined(this.rootClass)}\">${ this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined }<div class=\"udex-secondary-navigation__holder\"><div class=\"udex-secondary-navigation__heading\"><div class=\"udex-secondary-navigation__text-wrap\"><span class=\"udex-secondary-navigation__title\">${ifDefined(this.title)}</span><span class=\"udex-secondary-navigation__active-title\">${ifDefined(this.activeItemText)}</span></div><button class=\"udex-secondary-navigation__mobile-opener\" role=\"button\" aria-expanded=\"${ifDefined(this._mobileBtnExpanded)}\" aria-label=\"${ifDefined(this.mobileMenuOpenerAriaLabel)}\" aria-haspopup=\"true\" @click=\"${this.handleMobileOpen}\"><ui5-icon class=\"udex-secondary-navigation__title-icon\" name=\"slim-arrow-down\"></ui5-icon></button></div><div class=\"udex-secondary-navigation__wrap\"><ul role=\"menubar\" class=\"udex-secondary-navigation__list\" @keydown=\"${this.handleKeyDown}\">${ repeat(this.items, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block2.call(this, context, tags, suffix, item, index)) }${ this._overflowItems.length ? block5.call(this, context, tags, suffix) : undefined }</ul><div class=\"udex-secondary-navigation__buttons\"><slot name=\"buttons\"></slot></div></div></div></div>`;}\nfunction block1 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-secondary-navigation__breadcrumbs\"><slot name=\"breadcrumbs\"></slot></div>`;}\nfunction block2 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<li role=\"none\" class=\"udex-secondary-navigation__list-item udex-secondary-navigation__link-btn-wrap\" ?active=\"${item.active}\">${ item.path ? block3.call(this, context, tags, suffix, item, index) : block4.call(this, context, tags, suffix, item, index) }</li>`;}\nfunction block3 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<a role=\"menuitem\" class=\"udex-secondary-navigation__item udex-secondary-navigation__link-btn\" href=\"${ifDefined(item.path)}\" target=\"${ifDefined(item.target)}\" @click=\"${this.handleNavigationClick}\">${ifDefined(item.title)}</a>`;}\nfunction block4 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<button role=\"menuitem\" class=\"udex-secondary-navigation__item udex-secondary-navigation__link-btn\" @click=\"${this.handleNavigationClick}\">${ifDefined(item.title)}</button>`;}\nfunction block5 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<li role=\"none\" class=\"${ifDefined(this.moreClass)} udex-secondary-navigation__link-btn-wrap\" ?active=\"${this.moreIsActive}\"><button role=\"menuitem\" @click=\"${this.handleToggleDropdown}\" aria-expanded=\"${ifDefined(this._dropdownMoreIsOpen)}\" aria-label=\"${ifDefined(this.moreButtonText)}\" aria-haspopup=\"true\" class=\"udex-secondary-navigation__item udex-secondary-navigation__link-btn udex-secondary-navigation__link-btn-more\">${ifDefined(this.moreButtonText)}<${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-secondary-navigation__item-icon\" name=\"slim-arrow-down\"></${scopeTag(\"ui5-icon\", tags, suffix)}></button>${ this._dropdownMoreIsOpen ? block6.call(this, context, tags, suffix) : undefined }</li>` : html`<li role=\"none\" class=\"${ifDefined(this.moreClass)} udex-secondary-navigation__link-btn-wrap\" ?active=\"${this.moreIsActive}\"><button role=\"menuitem\" @click=\"${this.handleToggleDropdown}\" aria-expanded=\"${ifDefined(this._dropdownMoreIsOpen)}\" aria-label=\"${ifDefined(this.moreButtonText)}\" aria-haspopup=\"true\" class=\"udex-secondary-navigation__item udex-secondary-navigation__link-btn udex-secondary-navigation__link-btn-more\">${ifDefined(this.moreButtonText)}<ui5-icon class=\"udex-secondary-navigation__item-icon\" name=\"slim-arrow-down\"></ui5-icon></button>${ this._dropdownMoreIsOpen ? block6.call(this, context, tags, suffix) : undefined }</li>`;}\nfunction block6 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-secondary-navigation__dropdown\"><ul role=\"menu\" class=\"udex-secondary-navigation__dropdown-list\" @keydown=\"${this.handleKeyDownDropdown}\">${ repeat(this._overflowItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }</ul></div>`;}\nfunction block7 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<li role=\"none\" ?active=\"${item.active}\" class=\"udex-secondary-navigation__link-btn-wrap\">${ item.path ? block8.call(this, context, tags, suffix, item, index) : block9.call(this, context, tags, suffix, item, index) }</li>`;}\nfunction block8 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<a role=\"menuitem\" href=\"${ifDefined(item.path)}\" target=\"${ifDefined(item.target)}\" class=\"udex-secondary-navigation__dropdown-item udex-secondary-navigation__link-btn\" @click=\"${this.handleNavigationClick}\">${ifDefined(item.title)}</a>`;}\nfunction block9 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<button role=\"menuitem\" class=\"udex-secondary-navigation__dropdown-item\" @click=\"${this.handleNavigationClick}\">${ifDefined(item.title)}</button>`;}\n\n\nexport default block0;"]}
|
|
1
|
+
{"version":3,"file":"SecondaryNavigationTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SecondaryNavigationTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA6B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,gDAAiD,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,kGAAmG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAE,2HAA2H,IAAI,CAAC,aAAa,KAAM,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAE,IAAkC,CAAC,GAAG,IAAI,KAAK,EAAE,CAAC,IAAI,EAAE,KAAa,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,CAAE,GAAI,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM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CAAgC,EAAE,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA,qHAAqH,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,0BAA0B,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,YAAY,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,gBAAgB,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,0CAA0C,CAAC,CAAA,CAAC;AAC12B,SAAS,MAAM,CAA6B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,oFAAoF,CAAC,CAAA,CAAC;AAChN,SAAS,MAAM,CAA6B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,oFAAoF,CAAC,CAAA,CAAC;AAGhN,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SecondaryNavigation from \"../../SecondaryNavigation.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-secondary-navigation__root\">${ this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined }<div class=\"udex-secondary-navigation__holder\"><div class=\"udex-secondary-navigation__heading\">${ this.titleHref.length ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) }</div><div class=\"udex-secondary-navigation__wrap\"><ul role=\"menubar\" class=\"udex-secondary-navigation__list\" @keydown=\"${this.handleKeyDown}\">${ repeat(this.visibleItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }${ this._showMoreButton ? block5.call(this, context, tags, suffix) : undefined }</ul>${ this.hasDesktopButtonsSlot ? block6.call(this, context, tags, suffix) : undefined }</div></div><${scopeTag(\"udex-secondary-navigation-item\", tags, suffix)} class=\"udex-secondary-navigation__mobile-nav\" role=\"button\" aria-label=\"${ifDefined(this.mobileMenuOpenerAriaLabel)}\" label=\"${ifDefined(this.title)}\" @ui5-sub-item-click=\"${ifDefined(this.handleSubItemClick)}\" .subItems=\"${ifDefined(this.parsedItems)}\">${ this.hasMobileButtonsSlot ? block7.call(this, context, tags, suffix) : undefined }</${scopeTag(\"udex-secondary-navigation-item\", tags, suffix)}></div> ` : html`<div class=\"udex-secondary-navigation__root\">${ this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined }<div class=\"udex-secondary-navigation__holder\"><div class=\"udex-secondary-navigation__heading\">${ this.titleHref.length ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) }</div><div class=\"udex-secondary-navigation__wrap\"><ul role=\"menubar\" class=\"udex-secondary-navigation__list\" @keydown=\"${this.handleKeyDown}\">${ repeat(this.visibleItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }${ this._showMoreButton ? block5.call(this, context, tags, suffix) : undefined }</ul>${ this.hasDesktopButtonsSlot ? block6.call(this, context, tags, suffix) : undefined }</div></div><udex-secondary-navigation-item class=\"udex-secondary-navigation__mobile-nav\" role=\"button\" aria-label=\"${ifDefined(this.mobileMenuOpenerAriaLabel)}\" label=\"${ifDefined(this.title)}\" @ui5-sub-item-click=\"${ifDefined(this.handleSubItemClick)}\" .subItems=\"${ifDefined(this.parsedItems)}\">${ this.hasMobileButtonsSlot ? block7.call(this, context, tags, suffix) : undefined }</udex-secondary-navigation-item></div> `;}\nfunction block1 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-secondary-navigation__breadcrumbs\"><slot name=\"breadcrumbs\"></slot></div>`;}\nfunction block2 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a class=\"udex-secondary-navigation__title\" href=\"${ifDefined(this.titleHref)}\">${ifDefined(this.title)}</a>`;}\nfunction block3 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"udex-secondary-navigation__title\">${ifDefined(this.title)}</span>`;}\nfunction block4 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<li role=\"none\" class=\"udex-secondary-navigation__list-item\"><${scopeTag(\"udex-secondary-navigation-item\", tags, suffix)} ?active=\"${item.active}\" path=\"${ifDefined(item.path)}\" label=\"${ifDefined(item.title)}\" target=\"${ifDefined(item.target)}\" .subItems=\"${ifDefined(item.items)}\" @ui5-sub-item-click=\"${ifDefined(this.handleSubItemClick)}\" @ui5-nav-item-click=\"${ifDefined(this.handleItemClick)}\"></${scopeTag(\"udex-secondary-navigation-item\", tags, suffix)}></li>` : html`<li role=\"none\" class=\"udex-secondary-navigation__list-item\"><udex-secondary-navigation-item ?active=\"${item.active}\" path=\"${ifDefined(item.path)}\" label=\"${ifDefined(item.title)}\" target=\"${ifDefined(item.target)}\" .subItems=\"${ifDefined(item.items)}\" @ui5-sub-item-click=\"${ifDefined(this.handleSubItemClick)}\" @ui5-nav-item-click=\"${ifDefined(this.handleItemClick)}\"></udex-secondary-navigation-item></li>`;}\nfunction block5 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<li role=\"none\" class=\"udex-secondary-navigation__list-item\"><${scopeTag(\"udex-secondary-navigation-item\", tags, suffix)} @ui5-sub-item-click=\"${ifDefined(this.handleSubItemClick)}\" @ui5-nav-item-click=\"${ifDefined(this.handleItemClick)}\" label=\"${ifDefined(this.moreButtonText)}\" .subItems=\"${ifDefined(this._overflowItems)}\"></${scopeTag(\"udex-secondary-navigation-item\", tags, suffix)}></li>` : html`<li role=\"none\" class=\"udex-secondary-navigation__list-item\"><udex-secondary-navigation-item @ui5-sub-item-click=\"${ifDefined(this.handleSubItemClick)}\" @ui5-nav-item-click=\"${ifDefined(this.handleItemClick)}\" label=\"${ifDefined(this.moreButtonText)}\" .subItems=\"${ifDefined(this._overflowItems)}\"></udex-secondary-navigation-item></li>`;}\nfunction block6 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-secondary-navigation__buttons\"><slot name=\"buttons\"></slot></div>`;}\nfunction block7 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-secondary-navigation__buttons\"><slot name=\"buttons\"></slot></div>`;}\n\n\nexport default block0;"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint no-unused-vars: 0 */
|
|
2
2
|
import { html, repeat, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
-
function block0(context, tags, suffix) { return suffix ? html `<div class="udex-select-box__root"><div class="udex-text-field__container"><div @click="${this.getHandleSingleSelectOpen}" class="udex-text-field__input" @ui5-iconClick="${ifDefined(this.handleRemoveTag)}" @keydown="${this.handleKeyDownTrigger}" ?open="${this._open}" tabindex="${ifDefined(this.effectiveTabIndex)}" @focusin="${this.handleFocusIn}" @focusout="${this.handleFocusOut}" ?disabled="${this.disabled}" ?displayonly="${this.displayonly}" ?readonly="${this.readonly}" role="combobox" aria-label="${ifDefined(this.accInfo.ariaLabel)}" aria-labelledby="${ifDefined(this.accInfo.ariaLabelledBy)}" aria-readonly="${ifDefined(this.isReadOrDisplayOnly)}" aria-disabled="${ifDefined(this.disabled)}" aria-haspopup="listbox" aria-controls="udex-select-box__dropdown" aria-expanded="${ifDefined(this.tokenizerExpanded)}" aria-activedescendant>${this.label ? block1.call(this, context, tags, suffix) : undefined}${this.showSingleSelectedOption ? block3.call(this, context, tags, suffix) : undefined}${this.showMultiSelectedOptions ? block4.call(this, context, tags, suffix) : undefined}${this.showTrigger ? block7.call(this, context, tags, suffix) : undefined}</div>${this.supportingText ? block8.call(this, context, tags, suffix) : undefined}</div><${scopeTag("udex-dropdown", tags, suffix)} id="udex-select-box__dropdown" class="udex-select-box__dropdown" ?disable-target-overlap="${this.disableTargetOverlap}" @keydown="${this.handleKeyDownDropdown}" @ui5-select-all="${ifDefined(this.handleSelectAll)}" @ui5-item-press="${ifDefined(this.handleItemPress)}" @ui5-header-press="${ifDefined(this.handleHeaderPress)}" @ui5-submit-search-value="${ifDefined(this.handleSubmitSearch)}" @ui5-handle-value-search="${ifDefined(this.handleValueSearch)}" @ui5-handle-value-reset="${ifDefined(this.handleResetSearch)}" @before-open="${this.handleDropdownBeforeOpen}" @after-close="${this.handleDropdownAfterClose}" height="${ifDefined(this.height)}" accessible-role="Dialog" horizontal-align="Left">${this._showTagsDropdownContent ? block9.call(this, context, tags, suffix) : block10.call(this, context, tags, suffix)}</${scopeTag("udex-dropdown", tags, suffix)}>${this.displayonly ? block11.call(this, context, tags, suffix) : undefined}</div>` : html `<div class="udex-select-box__root"><div class="udex-text-field__container"><div @click="${this.getHandleSingleSelectOpen}" class="udex-text-field__input" @ui5-iconClick="${ifDefined(this.handleRemoveTag)}" @keydown="${this.handleKeyDownTrigger}" ?open="${this._open}" tabindex="${ifDefined(this.effectiveTabIndex)}" @focusin="${this.handleFocusIn}" @focusout="${this.handleFocusOut}" ?disabled="${this.disabled}" ?displayonly="${this.displayonly}" ?readonly="${this.readonly}" role="combobox" aria-label="${ifDefined(this.accInfo.ariaLabel)}" aria-labelledby="${ifDefined(this.accInfo.ariaLabelledBy)}" aria-readonly="${ifDefined(this.isReadOrDisplayOnly)}" aria-disabled="${ifDefined(this.disabled)}" aria-haspopup="listbox" aria-controls="udex-select-box__dropdown" aria-expanded="${ifDefined(this.tokenizerExpanded)}" aria-activedescendant>${this.label ? block1.call(this, context, tags, suffix) : undefined}${this.showSingleSelectedOption ? block3.call(this, context, tags, suffix) : undefined}${this.showMultiSelectedOptions ? block4.call(this, context, tags, suffix) : undefined}${this.showTrigger ? block7.call(this, context, tags, suffix) : undefined}</div>${this.supportingText ? block8.call(this, context, tags, suffix) : undefined}</div><udex-dropdown id="udex-select-box__dropdown" class="udex-select-box__dropdown" ?disable-target-overlap="${this.disableTargetOverlap}" @keydown="${this.handleKeyDownDropdown}" @ui5-select-all="${ifDefined(this.handleSelectAll)}" @ui5-item-press="${ifDefined(this.handleItemPress)}" @ui5-header-press="${ifDefined(this.handleHeaderPress)}" @ui5-submit-search-value="${ifDefined(this.handleSubmitSearch)}" @ui5-handle-value-search="${ifDefined(this.handleValueSearch)}" @ui5-handle-value-reset="${ifDefined(this.handleResetSearch)}" @before-open="${this.handleDropdownBeforeOpen}" @after-close="${this.handleDropdownAfterClose}" height="${ifDefined(this.height)}" accessible-role="Dialog" horizontal-align="Left">${this._showTagsDropdownContent ? block9.call(this, context, tags, suffix) : block10.call(this, context, tags, suffix)}</udex-dropdown>${this.displayonly ? block11.call(this, context, tags, suffix) : undefined}</div>`; }
|
|
3
|
+
function block0(context, tags, suffix) { return suffix ? html `<div class="udex-select-box__root"><div class="udex-text-field__container"><div @click="${this.getHandleSingleSelectOpen}" class="udex-text-field__input" @ui5-iconClick="${ifDefined(this.handleRemoveTag)}" @keydown="${this.handleKeyDownTrigger}" ?open="${this._open}" tabindex="${ifDefined(this.effectiveTabIndex)}" @focusin="${this.handleFocusIn}" @focusout="${this.handleFocusOut}" ?disabled="${this.disabled}" ?displayonly="${this.displayonly}" ?readonly="${this.readonly}" role="combobox" aria-label="${ifDefined(this.accInfo.ariaLabel)}" aria-labelledby="${ifDefined(this.accInfo.ariaLabelledBy)}" aria-readonly="${ifDefined(this.isReadOrDisplayOnly)}" aria-disabled="${ifDefined(this.disabled)}" aria-haspopup="listbox" aria-controls="udex-select-box__dropdown" aria-expanded="${ifDefined(this.tokenizerExpanded)}" aria-activedescendant>${this.label ? block1.call(this, context, tags, suffix) : undefined}${this.showSingleSelectedOption ? block3.call(this, context, tags, suffix) : undefined}${this.showMultiSelectedOptions ? block4.call(this, context, tags, suffix) : undefined}${this.showTrigger ? block7.call(this, context, tags, suffix) : undefined}</div>${this.supportingText ? block8.call(this, context, tags, suffix) : undefined}</div><${scopeTag("udex-dropdown", tags, suffix)} id="udex-select-box__dropdown" class="udex-select-box__dropdown" ?disable-target-overlap="${this.disableTargetOverlap}" @keydown="${this.handleKeyDownDropdown}" @ui5-select-all="${ifDefined(this.handleSelectAll)}" @ui5-item-press="${ifDefined(this.handleItemPress)}" @ui5-header-press="${ifDefined(this.handleHeaderPress)}" @ui5-submit-search-value="${ifDefined(this.handleSubmitSearch)}" @ui5-handle-value-search="${ifDefined(this.handleValueSearch)}" @ui5-handle-value-reset="${ifDefined(this.handleResetSearch)}" @before-open="${this.handleDropdownBeforeOpen}" @after-close="${this.handleDropdownAfterClose}" @search-keydown="${this.handleKeyDownSearch}" height="${ifDefined(this.height)}" accessible-role="Dialog" horizontal-align="Left">${this._showTagsDropdownContent ? block9.call(this, context, tags, suffix) : block10.call(this, context, tags, suffix)}</${scopeTag("udex-dropdown", tags, suffix)}>${this.displayonly ? block11.call(this, context, tags, suffix) : undefined}</div>` : html `<div class="udex-select-box__root"><div class="udex-text-field__container"><div @click="${this.getHandleSingleSelectOpen}" class="udex-text-field__input" @ui5-iconClick="${ifDefined(this.handleRemoveTag)}" @keydown="${this.handleKeyDownTrigger}" ?open="${this._open}" tabindex="${ifDefined(this.effectiveTabIndex)}" @focusin="${this.handleFocusIn}" @focusout="${this.handleFocusOut}" ?disabled="${this.disabled}" ?displayonly="${this.displayonly}" ?readonly="${this.readonly}" role="combobox" aria-label="${ifDefined(this.accInfo.ariaLabel)}" aria-labelledby="${ifDefined(this.accInfo.ariaLabelledBy)}" aria-readonly="${ifDefined(this.isReadOrDisplayOnly)}" aria-disabled="${ifDefined(this.disabled)}" aria-haspopup="listbox" aria-controls="udex-select-box__dropdown" aria-expanded="${ifDefined(this.tokenizerExpanded)}" aria-activedescendant>${this.label ? block1.call(this, context, tags, suffix) : undefined}${this.showSingleSelectedOption ? block3.call(this, context, tags, suffix) : undefined}${this.showMultiSelectedOptions ? block4.call(this, context, tags, suffix) : undefined}${this.showTrigger ? block7.call(this, context, tags, suffix) : undefined}</div>${this.supportingText ? block8.call(this, context, tags, suffix) : undefined}</div><udex-dropdown id="udex-select-box__dropdown" class="udex-select-box__dropdown" ?disable-target-overlap="${this.disableTargetOverlap}" @keydown="${this.handleKeyDownDropdown}" @ui5-select-all="${ifDefined(this.handleSelectAll)}" @ui5-item-press="${ifDefined(this.handleItemPress)}" @ui5-header-press="${ifDefined(this.handleHeaderPress)}" @ui5-submit-search-value="${ifDefined(this.handleSubmitSearch)}" @ui5-handle-value-search="${ifDefined(this.handleValueSearch)}" @ui5-handle-value-reset="${ifDefined(this.handleResetSearch)}" @before-open="${this.handleDropdownBeforeOpen}" @after-close="${this.handleDropdownAfterClose}" @search-keydown="${this.handleKeyDownSearch}" height="${ifDefined(this.height)}" accessible-role="Dialog" horizontal-align="Left">${this._showTagsDropdownContent ? block9.call(this, context, tags, suffix) : block10.call(this, context, tags, suffix)}</udex-dropdown>${this.displayonly ? block11.call(this, context, tags, suffix) : undefined}</div>`; }
|
|
4
4
|
function block1(context, tags, suffix) { return html `<span class="${ifDefined(this.labelClass)}">${ifDefined(this.label)}${this.required ? block2.call(this, context, tags, suffix) : undefined}</span>`; }
|
|
5
5
|
function block2(context, tags, suffix) { return html ` * `; }
|
|
6
6
|
function block3(context, tags, suffix) { return html `<div class="udex-text-field__text-holder"><span class="udex-text-field__single-label">${unsafeHTML(this._singleSelectedOption)}</span></div>`; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBoxTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SelectBoxTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAmB,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AE,MAA0B,EAAE,IAAS,EAAE,KAAa,IAAI,OAAO,IAAI,CAAA,kDAAkD,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA,CAAC;AAG/N,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SelectBox from \"../../SelectBox.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-select-box__root\"><div class=\"udex-text-field__container\"><div @click=\"${this.getHandleSingleSelectOpen}\" class=\"udex-text-field__input\" @ui5-iconClick=\"${ifDefined(this.handleRemoveTag)}\" @keydown=\"${this.handleKeyDownTrigger}\" ?open=\"${this._open}\" tabindex=\"${ifDefined(this.effectiveTabIndex)}\" @focusin=\"${this.handleFocusIn}\" @focusout=\"${this.handleFocusOut}\" ?disabled=\"${this.disabled}\" ?displayonly=\"${this.displayonly}\" ?readonly=\"${this.readonly}\" role=\"combobox\" aria-label=\"${ifDefined(this.accInfo.ariaLabel)}\" aria-labelledby=\"${ifDefined(this.accInfo.ariaLabelledBy)}\" aria-readonly=\"${ifDefined(this.isReadOrDisplayOnly)}\" aria-disabled=\"${ifDefined(this.disabled)}\" aria-haspopup=\"listbox\" aria-controls=\"udex-select-box__dropdown\" aria-expanded=\"${ifDefined(this.tokenizerExpanded)}\" aria-activedescendant>${ this.label ? block1.call(this, context, tags, suffix) : undefined }${ this.showSingleSelectedOption ? block3.call(this, context, tags, suffix) : undefined }${ this.showMultiSelectedOptions ? block4.call(this, context, tags, suffix) : undefined }${ this.showTrigger ? block7.call(this, context, tags, suffix) : undefined }</div>${ this.supportingText ? block8.call(this, context, tags, suffix) : undefined }</div><${scopeTag(\"udex-dropdown\", tags, suffix)} id=\"udex-select-box__dropdown\" class=\"udex-select-box__dropdown\" ?disable-target-overlap=\"${this.disableTargetOverlap}\" @keydown=\"${this.handleKeyDownDropdown}\" @ui5-select-all=\"${ifDefined(this.handleSelectAll)}\" @ui5-item-press=\"${ifDefined(this.handleItemPress)}\" @ui5-header-press=\"${ifDefined(this.handleHeaderPress)}\" @ui5-submit-search-value=\"${ifDefined(this.handleSubmitSearch)}\" @ui5-handle-value-search=\"${ifDefined(this.handleValueSearch)}\" @ui5-handle-value-reset=\"${ifDefined(this.handleResetSearch)}\" @before-open=\"${this.handleDropdownBeforeOpen}\" @after-close=\"${this.handleDropdownAfterClose}\" height=\"${ifDefined(this.height)}\" accessible-role=\"Dialog\" horizontal-align=\"Left\">${ this._showTagsDropdownContent ? block9.call(this, context, tags, suffix) : block10.call(this, context, tags, suffix) }</${scopeTag(\"udex-dropdown\", tags, suffix)}>${ this.displayonly ? block11.call(this, context, tags, suffix) : undefined }</div>` : html`<div class=\"udex-select-box__root\"><div class=\"udex-text-field__container\"><div @click=\"${this.getHandleSingleSelectOpen}\" class=\"udex-text-field__input\" @ui5-iconClick=\"${ifDefined(this.handleRemoveTag)}\" @keydown=\"${this.handleKeyDownTrigger}\" ?open=\"${this._open}\" tabindex=\"${ifDefined(this.effectiveTabIndex)}\" @focusin=\"${this.handleFocusIn}\" @focusout=\"${this.handleFocusOut}\" ?disabled=\"${this.disabled}\" ?displayonly=\"${this.displayonly}\" ?readonly=\"${this.readonly}\" role=\"combobox\" aria-label=\"${ifDefined(this.accInfo.ariaLabel)}\" aria-labelledby=\"${ifDefined(this.accInfo.ariaLabelledBy)}\" aria-readonly=\"${ifDefined(this.isReadOrDisplayOnly)}\" aria-disabled=\"${ifDefined(this.disabled)}\" aria-haspopup=\"listbox\" aria-controls=\"udex-select-box__dropdown\" aria-expanded=\"${ifDefined(this.tokenizerExpanded)}\" aria-activedescendant>${ this.label ? block1.call(this, context, tags, suffix) : undefined }${ this.showSingleSelectedOption ? block3.call(this, context, tags, suffix) : undefined }${ this.showMultiSelectedOptions ? block4.call(this, context, tags, suffix) : undefined }${ this.showTrigger ? block7.call(this, context, tags, suffix) : undefined }</div>${ this.supportingText ? block8.call(this, context, tags, suffix) : undefined }</div><udex-dropdown id=\"udex-select-box__dropdown\" class=\"udex-select-box__dropdown\" ?disable-target-overlap=\"${this.disableTargetOverlap}\" @keydown=\"${this.handleKeyDownDropdown}\" @ui5-select-all=\"${ifDefined(this.handleSelectAll)}\" @ui5-item-press=\"${ifDefined(this.handleItemPress)}\" @ui5-header-press=\"${ifDefined(this.handleHeaderPress)}\" @ui5-submit-search-value=\"${ifDefined(this.handleSubmitSearch)}\" @ui5-handle-value-search=\"${ifDefined(this.handleValueSearch)}\" @ui5-handle-value-reset=\"${ifDefined(this.handleResetSearch)}\" @before-open=\"${this.handleDropdownBeforeOpen}\" @after-close=\"${this.handleDropdownAfterClose}\" height=\"${ifDefined(this.height)}\" accessible-role=\"Dialog\" horizontal-align=\"Left\">${ this._showTagsDropdownContent ? block9.call(this, context, tags, suffix) : block10.call(this, context, tags, suffix) }</udex-dropdown>${ this.displayonly ? block11.call(this, context, tags, suffix) : undefined }</div>`;}\nfunction block1 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"${ifDefined(this.labelClass)}\">${ifDefined(this.label)}${ this.required ? block2.call(this, context, tags, suffix) : undefined }</span>`;}\nfunction block2 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return html` * `;}\nfunction block3 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-text-field__text-holder\"><span class=\"udex-text-field__single-label\">${unsafeHTML(this._singleSelectedOption)}</span></div>`;}\nfunction block4 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-tokenizer\", tags, suffix)} part=\"tokenizer\" show-more @ui5-selectionChange=\"${ifDefined(this.handleTagPress)}\" @keydown=\"${this.handleKeydownTokenizer}\" prevent-popover-open class=\"${ifDefined(this.tokenizerClass)}\" ?disabled=\"${this.disabled}\" @ui5-show-more-items-press=\"${ifDefined(this.getHandlerShowMoreItems)}\" ?expanded=\"${this.tokenizerExpanded}\">${ repeat(this.selectedItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"ui5-tokenizer\", tags, suffix)}>` : html`<ui5-tokenizer part=\"tokenizer\" show-more @ui5-selectionChange=\"${ifDefined(this.handleTagPress)}\" @keydown=\"${this.handleKeydownTokenizer}\" prevent-popover-open class=\"${ifDefined(this.tokenizerClass)}\" ?disabled=\"${this.disabled}\" @ui5-show-more-items-press=\"${ifDefined(this.getHandlerShowMoreItems)}\" ?expanded=\"${this.tokenizerExpanded}\">${ repeat(this.selectedItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }</ui5-tokenizer>`;}\nfunction block5 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ !item.isGroup ? block6.call(this, context, tags, suffix, item, index) : undefined }`;}\nfunction block6 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-tag\", tags, suffix)} accessible-role=\"option\" class=\"udex-text-field__token\" @keydown=\"${this.handleKeyDownTag}\" ?read-only=\"${this.isReadOrDisplayOnly}\" data-id=\"${ifDefined(item._id)}\" part=\"token-${index}\" text=\"${ifDefined(item.label)}\" icon=\"decline\"></${scopeTag(\"udex-tag\", tags, suffix)}>` : html`<udex-tag accessible-role=\"option\" class=\"udex-text-field__token\" @keydown=\"${this.handleKeyDownTag}\" ?read-only=\"${this.isReadOrDisplayOnly}\" data-id=\"${ifDefined(item._id)}\" part=\"token-${index}\" text=\"${ifDefined(item.label)}\" icon=\"decline\"></udex-tag>`;}\nfunction block7 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-text-field__trigger\" role=\"combobox\" aria-label=\"${ifDefined(this.iconAccessibleNameText)}\" aria-haspopup=\"listbox\" aria-expanded=\"${ifDefined(this._open)}\" aria-controls=\"${ifDefined(this.accInfo.ariaControls)}\" @click=\"${this.getHandleMultiSelectOpen}\" aria-activedescendant><${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-text-field__icon\" name=\"navigation-down-arrow\" accessible-name=\"${ifDefined(this.iconAccessibleNameText)}\"></${scopeTag(\"ui5-icon\", tags, suffix)}></div>` : html`<div class=\"udex-text-field__trigger\" role=\"combobox\" aria-label=\"${ifDefined(this.iconAccessibleNameText)}\" aria-haspopup=\"listbox\" aria-expanded=\"${ifDefined(this._open)}\" aria-controls=\"${ifDefined(this.accInfo.ariaControls)}\" @click=\"${this.getHandleMultiSelectOpen}\" aria-activedescendant><ui5-icon class=\"udex-text-field__icon\" name=\"navigation-down-arrow\" accessible-name=\"${ifDefined(this.iconAccessibleNameText)}\"></ui5-icon></div>`;}\nfunction block8 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-status-message\", tags, suffix)} ?disabled=\"${this.disabled}\" supporting-text=\"${ifDefined(this.supportingText)}\" value-state=\"${ifDefined(this.valueState)}\"></${scopeTag(\"udex-status-message\", tags, suffix)}>` : html`<udex-status-message ?disabled=\"${this.disabled}\" supporting-text=\"${ifDefined(this.supportingText)}\" value-state=\"${ifDefined(this.valueState)}\"></udex-status-message>`;}\nfunction block9 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-truncatable-tag-content\"><span class=\"udex-truncatable-tag-content__label\">${ifDefined(this.truncatableTagLabel)}</span><${scopeTag(\"ui5-icon\", tags, suffix)} @click=\"${this.handleRemoveTruncatableTag}\" class=\"udex-truncatable-tag-content__icon\" name=\"decline\"></${scopeTag(\"ui5-icon\", tags, suffix)}></div>` : html`<div class=\"udex-truncatable-tag-content\"><span class=\"udex-truncatable-tag-content__label\">${ifDefined(this.truncatableTagLabel)}</span><ui5-icon @click=\"${this.handleRemoveTruncatableTag}\" class=\"udex-truncatable-tag-content__icon\" name=\"decline\"></ui5-icon></div>`;}\nfunction block10 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ifDefined(this.searchableList)}`;}\nfunction block11 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-tooltip\", tags, suffix)} placement=\"${ifDefined(this.tooltipPlacement)}\">${ repeat(this.overflowsTags, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block12.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-tooltip\", tags, suffix)}>` : html`<udex-tooltip placement=\"${ifDefined(this.tooltipPlacement)}\">${ repeat(this.overflowsTags, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block12.call(this, context, tags, suffix, item, index)) }</udex-tooltip>`;}\nfunction block12 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<ul class=\"udex-select-box__overflow-tags\"><li>${ifDefined(item.text)}</li></ul>`;}\n\n\nexport default block0;"]}
|
|
1
|
+
{"version":3,"file":"SelectBoxTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SelectBoxTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAmB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,2FAA2F,IAAI,CAAC,yBAAyB,oDAAoD,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,eAAe,IAAI,CAAC,oBAAoB,YAAY,IAAI,CAAC,KAAK,e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CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SelectBox from \"../../SelectBox.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-select-box__root\"><div class=\"udex-text-field__container\"><div @click=\"${this.getHandleSingleSelectOpen}\" class=\"udex-text-field__input\" @ui5-iconClick=\"${ifDefined(this.handleRemoveTag)}\" @keydown=\"${this.handleKeyDownTrigger}\" ?open=\"${this._open}\" tabindex=\"${ifDefined(this.effectiveTabIndex)}\" @focusin=\"${this.handleFocusIn}\" @focusout=\"${this.handleFocusOut}\" ?disabled=\"${this.disabled}\" ?displayonly=\"${this.displayonly}\" ?readonly=\"${this.readonly}\" role=\"combobox\" aria-label=\"${ifDefined(this.accInfo.ariaLabel)}\" aria-labelledby=\"${ifDefined(this.accInfo.ariaLabelledBy)}\" aria-readonly=\"${ifDefined(this.isReadOrDisplayOnly)}\" aria-disabled=\"${ifDefined(this.disabled)}\" aria-haspopup=\"listbox\" aria-controls=\"udex-select-box__dropdown\" aria-expanded=\"${ifDefined(this.tokenizerExpanded)}\" aria-activedescendant>${ this.label ? block1.call(this, context, tags, suffix) : undefined }${ this.showSingleSelectedOption ? block3.call(this, context, tags, suffix) : undefined }${ this.showMultiSelectedOptions ? block4.call(this, context, tags, suffix) : undefined }${ this.showTrigger ? block7.call(this, context, tags, suffix) : undefined }</div>${ this.supportingText ? block8.call(this, context, tags, suffix) : undefined }</div><${scopeTag(\"udex-dropdown\", tags, suffix)} id=\"udex-select-box__dropdown\" class=\"udex-select-box__dropdown\" ?disable-target-overlap=\"${this.disableTargetOverlap}\" @keydown=\"${this.handleKeyDownDropdown}\" @ui5-select-all=\"${ifDefined(this.handleSelectAll)}\" @ui5-item-press=\"${ifDefined(this.handleItemPress)}\" @ui5-header-press=\"${ifDefined(this.handleHeaderPress)}\" @ui5-submit-search-value=\"${ifDefined(this.handleSubmitSearch)}\" @ui5-handle-value-search=\"${ifDefined(this.handleValueSearch)}\" @ui5-handle-value-reset=\"${ifDefined(this.handleResetSearch)}\" @before-open=\"${this.handleDropdownBeforeOpen}\" @after-close=\"${this.handleDropdownAfterClose}\" @search-keydown=\"${this.handleKeyDownSearch}\" height=\"${ifDefined(this.height)}\" accessible-role=\"Dialog\" horizontal-align=\"Left\">${ this._showTagsDropdownContent ? block9.call(this, context, tags, suffix) : block10.call(this, context, tags, suffix) }</${scopeTag(\"udex-dropdown\", tags, suffix)}>${ this.displayonly ? block11.call(this, context, tags, suffix) : undefined }</div>` : html`<div class=\"udex-select-box__root\"><div class=\"udex-text-field__container\"><div @click=\"${this.getHandleSingleSelectOpen}\" class=\"udex-text-field__input\" @ui5-iconClick=\"${ifDefined(this.handleRemoveTag)}\" @keydown=\"${this.handleKeyDownTrigger}\" ?open=\"${this._open}\" tabindex=\"${ifDefined(this.effectiveTabIndex)}\" @focusin=\"${this.handleFocusIn}\" @focusout=\"${this.handleFocusOut}\" ?disabled=\"${this.disabled}\" ?displayonly=\"${this.displayonly}\" ?readonly=\"${this.readonly}\" role=\"combobox\" aria-label=\"${ifDefined(this.accInfo.ariaLabel)}\" aria-labelledby=\"${ifDefined(this.accInfo.ariaLabelledBy)}\" aria-readonly=\"${ifDefined(this.isReadOrDisplayOnly)}\" aria-disabled=\"${ifDefined(this.disabled)}\" aria-haspopup=\"listbox\" aria-controls=\"udex-select-box__dropdown\" aria-expanded=\"${ifDefined(this.tokenizerExpanded)}\" aria-activedescendant>${ this.label ? block1.call(this, context, tags, suffix) : undefined }${ this.showSingleSelectedOption ? block3.call(this, context, tags, suffix) : undefined }${ this.showMultiSelectedOptions ? block4.call(this, context, tags, suffix) : undefined }${ this.showTrigger ? block7.call(this, context, tags, suffix) : undefined }</div>${ this.supportingText ? block8.call(this, context, tags, suffix) : undefined }</div><udex-dropdown id=\"udex-select-box__dropdown\" class=\"udex-select-box__dropdown\" ?disable-target-overlap=\"${this.disableTargetOverlap}\" @keydown=\"${this.handleKeyDownDropdown}\" @ui5-select-all=\"${ifDefined(this.handleSelectAll)}\" @ui5-item-press=\"${ifDefined(this.handleItemPress)}\" @ui5-header-press=\"${ifDefined(this.handleHeaderPress)}\" @ui5-submit-search-value=\"${ifDefined(this.handleSubmitSearch)}\" @ui5-handle-value-search=\"${ifDefined(this.handleValueSearch)}\" @ui5-handle-value-reset=\"${ifDefined(this.handleResetSearch)}\" @before-open=\"${this.handleDropdownBeforeOpen}\" @after-close=\"${this.handleDropdownAfterClose}\" @search-keydown=\"${this.handleKeyDownSearch}\" height=\"${ifDefined(this.height)}\" accessible-role=\"Dialog\" horizontal-align=\"Left\">${ this._showTagsDropdownContent ? block9.call(this, context, tags, suffix) : block10.call(this, context, tags, suffix) }</udex-dropdown>${ this.displayonly ? block11.call(this, context, tags, suffix) : undefined }</div>`;}\nfunction block1 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"${ifDefined(this.labelClass)}\">${ifDefined(this.label)}${ this.required ? block2.call(this, context, tags, suffix) : undefined }</span>`;}\nfunction block2 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return html` * `;}\nfunction block3 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-text-field__text-holder\"><span class=\"udex-text-field__single-label\">${unsafeHTML(this._singleSelectedOption)}</span></div>`;}\nfunction block4 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-tokenizer\", tags, suffix)} part=\"tokenizer\" show-more @ui5-selectionChange=\"${ifDefined(this.handleTagPress)}\" @keydown=\"${this.handleKeydownTokenizer}\" prevent-popover-open class=\"${ifDefined(this.tokenizerClass)}\" ?disabled=\"${this.disabled}\" @ui5-show-more-items-press=\"${ifDefined(this.getHandlerShowMoreItems)}\" ?expanded=\"${this.tokenizerExpanded}\">${ repeat(this.selectedItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"ui5-tokenizer\", tags, suffix)}>` : html`<ui5-tokenizer part=\"tokenizer\" show-more @ui5-selectionChange=\"${ifDefined(this.handleTagPress)}\" @keydown=\"${this.handleKeydownTokenizer}\" prevent-popover-open class=\"${ifDefined(this.tokenizerClass)}\" ?disabled=\"${this.disabled}\" @ui5-show-more-items-press=\"${ifDefined(this.getHandlerShowMoreItems)}\" ?expanded=\"${this.tokenizerExpanded}\">${ repeat(this.selectedItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }</ui5-tokenizer>`;}\nfunction block5 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ !item.isGroup ? block6.call(this, context, tags, suffix, item, index) : undefined }`;}\nfunction block6 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-tag\", tags, suffix)} accessible-role=\"option\" class=\"udex-text-field__token\" @keydown=\"${this.handleKeyDownTag}\" ?read-only=\"${this.isReadOrDisplayOnly}\" data-id=\"${ifDefined(item._id)}\" part=\"token-${index}\" text=\"${ifDefined(item.label)}\" icon=\"decline\"></${scopeTag(\"udex-tag\", tags, suffix)}>` : html`<udex-tag accessible-role=\"option\" class=\"udex-text-field__token\" @keydown=\"${this.handleKeyDownTag}\" ?read-only=\"${this.isReadOrDisplayOnly}\" data-id=\"${ifDefined(item._id)}\" part=\"token-${index}\" text=\"${ifDefined(item.label)}\" icon=\"decline\"></udex-tag>`;}\nfunction block7 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-text-field__trigger\" role=\"combobox\" aria-label=\"${ifDefined(this.iconAccessibleNameText)}\" aria-haspopup=\"listbox\" aria-expanded=\"${ifDefined(this._open)}\" aria-controls=\"${ifDefined(this.accInfo.ariaControls)}\" @click=\"${this.getHandleMultiSelectOpen}\" aria-activedescendant><${scopeTag(\"ui5-icon\", tags, suffix)} class=\"udex-text-field__icon\" name=\"navigation-down-arrow\" accessible-name=\"${ifDefined(this.iconAccessibleNameText)}\"></${scopeTag(\"ui5-icon\", tags, suffix)}></div>` : html`<div class=\"udex-text-field__trigger\" role=\"combobox\" aria-label=\"${ifDefined(this.iconAccessibleNameText)}\" aria-haspopup=\"listbox\" aria-expanded=\"${ifDefined(this._open)}\" aria-controls=\"${ifDefined(this.accInfo.ariaControls)}\" @click=\"${this.getHandleMultiSelectOpen}\" aria-activedescendant><ui5-icon class=\"udex-text-field__icon\" name=\"navigation-down-arrow\" accessible-name=\"${ifDefined(this.iconAccessibleNameText)}\"></ui5-icon></div>`;}\nfunction block8 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-status-message\", tags, suffix)} ?disabled=\"${this.disabled}\" supporting-text=\"${ifDefined(this.supportingText)}\" value-state=\"${ifDefined(this.valueState)}\"></${scopeTag(\"udex-status-message\", tags, suffix)}>` : html`<udex-status-message ?disabled=\"${this.disabled}\" supporting-text=\"${ifDefined(this.supportingText)}\" value-state=\"${ifDefined(this.valueState)}\"></udex-status-message>`;}\nfunction block9 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-truncatable-tag-content\"><span class=\"udex-truncatable-tag-content__label\">${ifDefined(this.truncatableTagLabel)}</span><${scopeTag(\"ui5-icon\", tags, suffix)} @click=\"${this.handleRemoveTruncatableTag}\" class=\"udex-truncatable-tag-content__icon\" name=\"decline\"></${scopeTag(\"ui5-icon\", tags, suffix)}></div>` : html`<div class=\"udex-truncatable-tag-content\"><span class=\"udex-truncatable-tag-content__label\">${ifDefined(this.truncatableTagLabel)}</span><ui5-icon @click=\"${this.handleRemoveTruncatableTag}\" class=\"udex-truncatable-tag-content__icon\" name=\"decline\"></ui5-icon></div>`;}\nfunction block10 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ifDefined(this.searchableList)}`;}\nfunction block11 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-tooltip\", tags, suffix)} placement=\"${ifDefined(this.tooltipPlacement)}\">${ repeat(this.overflowsTags, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block12.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-tooltip\", tags, suffix)}>` : html`<udex-tooltip placement=\"${ifDefined(this.tooltipPlacement)}\">${ repeat(this.overflowsTags, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block12.call(this, context, tags, suffix, item, index)) }</udex-tooltip>`;}\nfunction block12 (this: SelectBox, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<ul class=\"udex-select-box__overflow-tags\"><li>${ifDefined(item.text)}</li></ul>`;}\n\n\nexport default block0;"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
|
+
import type StatusBadge from "../../StatusBadge.js";
|
|
3
|
+
declare function block0(this: StatusBadge, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult<1 | 2>;
|
|
4
|
+
export default block0;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* eslint no-unused-vars: 0 */
|
|
2
|
+
import { html, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
+
function block0(context, tags, suffix) { return suffix ? html `<div class="udex-status-badge" title="${ifDefined(this.ariaTitle)}"><${scopeTag("ui5-icon", tags, suffix)} name="${ifDefined(this.iconFieldName)}" class="udex-status-badge__icon" accessible-name="${ifDefined(this.badgeAccessibleName)}"></${scopeTag("ui5-icon", tags, suffix)}></div>` : html `<div class="udex-status-badge" title="${ifDefined(this.ariaTitle)}"><ui5-icon name="${ifDefined(this.iconFieldName)}" class="udex-status-badge__icon" accessible-name="${ifDefined(this.badgeAccessibleName)}"></ui5-icon></div>`; }
|
|
4
|
+
export default block0;
|
|
5
|
+
//# sourceMappingURL=StatusBadgeTemplate.lit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadgeTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/StatusBadgeTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAmC,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAqB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,yCAAyC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,UAAU,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,sDAAsD,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA,yCAAyC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,qBAAqB,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,sDAAsD,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,CAAA,CAAC;AAGloB,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type StatusBadge from \"../../StatusBadge.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: StatusBadge, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-status-badge\" title=\"${ifDefined(this.ariaTitle)}\"><${scopeTag(\"ui5-icon\", tags, suffix)} name=\"${ifDefined(this.iconFieldName)}\" class=\"udex-status-badge__icon\" accessible-name=\"${ifDefined(this.badgeAccessibleName)}\"></${scopeTag(\"ui5-icon\", tags, suffix)}></div>` : html`<div class=\"udex-status-badge\" title=\"${ifDefined(this.ariaTitle)}\"><ui5-icon name=\"${ifDefined(this.iconFieldName)}\" class=\"udex-status-badge__icon\" accessible-name=\"${ifDefined(this.badgeAccessibleName)}\"></ui5-icon></div>`;}\n\n\nexport default block0;"]}
|
|
@@ -3,7 +3,7 @@ import defaultThemeBase from "@ui5/webcomponents-theming/dist/generated/themes/s
|
|
|
3
3
|
import defaultTheme from "./sap_horizon/parameters-bundle.css.js";
|
|
4
4
|
registerThemePropertiesLoader("@ui5/webcomponents-theming", "sap_horizon", async () => defaultThemeBase);
|
|
5
5
|
registerThemePropertiesLoader("@sapudex/web-components", "sap_horizon", async () => defaultTheme);
|
|
6
|
-
const styleData = { packageName: "@sapudex/web-components", fileName: "themes/AccordionItem.css.ts", content: `:host{--udex-accordion-icon-color: var(--sapContent_MarkerIconColor, var(--udexColorBlue9));--udex-accordion-headline-color: var(--sapTextColor, var(--udexCoreTextDark));--udex-accordion-headline-font-size: var(--sapFontHeader5Size, var(--udexTypographyHeadingMediumXXXSFontSize, 18px));--udex-accordion-title-font-weight: var(--udexTypographyFontWeightMedium, 500);--udex-accordion-border-color: var(--sapList_BorderColor, var(--udexColorGrey4));--udex-accordion-border-width: .5px;--udex-accordion-item-header-padding: 12px 12px 12px 8px;--udex-accordion-item-content-margin: var(--udexSpacer12, 12px) var(--udexSpacer16, 16px);font-family:var(--sapFontFamily, sans-serif);font-size:var(--sapProgress_FontSize, 16px)}.udex-accordion-item{list-style-type:none}.udex-accordion-item__header{align-items:center;color:var(--udex-accordion-headline-color);display:flex;font-size:var(--udex-accordion-headline-font-size);gap:var(--udexSpacer12, 12px);padding:var(--udex-accordion-item-header-padding);line-height:var(--udexTypographyHeadingLineHeight, 1.1);border-bottom:var(--udex-accordion-border-width) solid var(--udex-accordion-border-color);cursor:pointer}:host([desktop]) .udex-accordion-item__header:focus,.udex-accordion-item__header:focus-visible{outline:2px solid #002A86;border-radius:8px}.udex-accordion-item__icon{height:var(--udex-button-icon-l-size, 18px);width:var(--udex-button-icon-l-size, 18px);color:var(--udex-accordion-icon-color);transform:rotate(0)}.udex-accordion-item__icon-wrapper{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center}.rtl .udex-accordion-item__icon{transform:rotate(0)}.active .udex-accordion-item__icon{transform:rotate(90deg)}.rtl.active .udex-accordion-item__icon{transform:rotate(-90deg)}.udex-accordion-item__title{
|
|
6
|
+
const styleData = { packageName: "@sapudex/web-components", fileName: "themes/AccordionItem.css.ts", content: `:host{--udex-accordion-item-icon-color: var(--sapContent_MarkerIconColor, var(--udexColorBlue9));--udex-accordion-item-headline-color: var(--sapTextColor, var(--udexCoreTextDark));--udex-accordion-item-headline-font-size: var(--sapFontHeader5Size, var(--udexTypographyHeadingMediumXXXSFontSize, 18px));--udex-accordion-item-title-font-weight: var(--udexTypographyFontWeightMedium, 500);--udex-accordion-item-border-color: var(--sapList_BorderColor, var(--udexColorGrey4));--udex-accordion-item-border-width: .5px;--udex-accordion-item-header-padding: 12px 12px 12px 8px;--udex-accordion-item-content-margin: var(--udexSpacer12, 12px) var(--udexSpacer16, 16px);font-family:var(--sapFontFamily, sans-serif);font-size:var(--sapProgress_FontSize, 16px)}.udex-accordion-item{list-style-type:none}.udex-accordion-item__header{align-items:center;color:var(--udex-accordion-item-headline-color);display:flex;font-size:var(--udex-accordion-item-headline-font-size);gap:var(--udexSpacer12, 12px);padding:var(--udex-accordion-item-header-padding);line-height:var(--udexTypographyHeadingLineHeight, 1.1);border-bottom:var(--udex-accordion-item-border-width) solid var(--udex-accordion-item-border-color);cursor:pointer}:host([desktop]) .udex-accordion-item__header:focus,.udex-accordion-item__header:focus-visible{outline:2px solid var(--udexColorBlue10, #002A86);border-radius:var(--udexRadiusM, 8px)}.udex-accordion-item__icon{height:var(--udex-button-icon-l-size, 18px);width:var(--udex-button-icon-l-size, 18px);color:var(--udex-accordion-item-icon-color);transform:rotate(0)}.udex-accordion-item__icon-wrapper{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center}.rtl .udex-accordion-item__icon{transform:rotate(0)}.active .udex-accordion-item__icon{transform:rotate(90deg)}.rtl.active .udex-accordion-item__icon{transform:rotate(-90deg)}.udex-accordion-item__title{font-weight:var(--udex-accordion-item-title-font-weight);align-items:center;display:flex}.udex-accordion-item__content{display:none;margin:var(--udex-accordion-item-content-margin)}.active.udex-accordion-item{border:none}.active .udex-accordion-item__content{display:block}.udex-accordion-item__badge{display:inline-flex;margin-inline-start:var(--udexSpacer8)}
|
|
7
7
|
` };
|
|
8
8
|
export default styleData;
|
|
9
9
|
//# sourceMappingURL=AccordionItem.css.js.map
|