@reltio/search 1.4.2372-hotfix.0 → 1.4.2382

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/646.bundle.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_reltio_search=self.webpackChunk_reltio_search||[]).push([[646],{16646:(e,t,i)=>{i.r(t),i.d(t,{default:()=>K});var o,n=i(79458),r=i(74283),s=i(57577),a=i(12992),l=i(52330),c=i(51651),p=i(62846);!function(e){e.InPlace="InPlace",e.Popover="Popover"}(o||(o={}));const d=o;var h,u=i(89182),_=i(44398),x=i(9981);!function(e){e.Off="Off",e.On="On"}(h||(h={}));const v=h;var f=i(18238),y=i(70171),g=i(61374);(0,f.e5)("@ui5/webcomponents-theming","sap_horizon",(async()=>y.Z)),(0,f.e5)("@ui5/webcomponents","sap_horizon",(async()=>g.Z),"host");var m,b=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let k=m=class extends r.Z{constructor(){super(...arguments),this.maxLines=1/0,this.emptyIndicatorMode="Off"}onBeforeRendering(){this.style.setProperty("--_ui5_text_max_lines",`${this.maxLines}`)}get hasText(){return(0,x.Z)(this.text)}get _renderEmptyIndicator(){return!this.hasText&&this.emptyIndicatorMode===v.On}get _emptyIndicatorAriaLabel(){return m.i18nBundle.getText(u.UDO)}get _emptyIndicatorSymbol(){return m.i18nBundle.getText(u.Cv3)}};b([(0,a.Z)({type:Number})],k.prototype,"maxLines",void 0),b([(0,a.Z)()],k.prototype,"emptyIndicatorMode",void 0),b([(0,_.Z)({type:Node,default:!0})],k.prototype,"text",void 0),b([(0,l.Z)("@ui5/webcomponents")],k,"i18nBundle",void 0),k=m=b([(0,s.Z)({tag:"ui5-text",renderer:c.Z,template:function(){return(0,n.tZ)(n.HY,{children:(0,n.tZ)("span",{children:this._renderEmptyIndicator?(0,n.BX)(n.HY,{children:[(0,n.tZ)("span",{className:"empty-indicator","aria-hidden":"true",children:this._emptyIndicatorSymbol}),(0,n.tZ)("span",{className:"empty-indicator-aria-label",children:this._emptyIndicatorAriaLabel})]}):(0,n.tZ)("slot",{})})})},styles:':host{max-width:100%;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);color:var(--sapTextColor);line-height:normal;cursor:text;overflow:hidden}:host([max-lines="1"]){display:inline-block;text-overflow:ellipsis;white-space:nowrap}:host(:not([max-lines="1"])){display:-webkit-inline-box;-webkit-line-clamp:var(--_ui5_text_max_lines);line-clamp:var(--_ui5_text_max_lines);-webkit-box-orient:vertical;white-space:normal;word-wrap:break-word}.empty-indicator-aria-label{position:absolute!important;clip:rect(1px,1px,1px,1px);user-select:none;left:0;top:0;font-size:0}\n'})],k),k.define();const w=k;var Z,T=i(66655),C=i(14811),I=i(72810),P=i(9814),B=i(23260);!function(e){e.Default="Default",e.Subtle="Subtle",e.Emphasized="Emphasized"}(Z||(Z={}));const D=Z;var R=i(25368);(0,f.e5)("@ui5/webcomponents-theming","sap_horizon",(async()=>y.Z)),(0,f.e5)("@ui5/webcomponents","sap_horizon",(async()=>g.Z),"host");var z,A=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let O=z=class extends r.Z{constructor(){super(),this.disabled=!1,this.design="Default",this.interactiveAreaSize="Normal",this.wrappingType="Normal",this.accessibleRole="Link",this.accessibilityAttributes={},this._dummyAnchor=document.createElement("a")}onEnterDOM(){(0,p.nI)()&&this.setAttribute("desktop","")}onBeforeRendering(){const e="_blank"===this.target&&this.href&&this._isCrossOrigin(this.href);this._rel=e?"noreferrer noopener":void 0}_isCrossOrigin(e){return this._dummyAnchor.href=e,!(this._dummyAnchor.hostname===(0,B.Td)()&&this._dummyAnchor.port===(0,B.mJ)()&&this._dummyAnchor.protocol===(0,B.SJ)())}get effectiveTabIndex(){return this.forcedTabIndex?Number.parseInt(this.forcedTabIndex):this.disabled?-1:0}get ariaLabelText(){return(0,I.Hp)(this)}get hasLinkType(){return this.design!==D.Default}static typeTextMappings(){return{Subtle:u.S1I,Emphasized:u.x41}}get linkTypeText(){return z.i18nBundle.getText(z.typeTextMappings()[this.design])}get parsedRef(){return this.href&&this.href.length>0?this.href:void 0}get effectiveAccRole(){return(0,P.Z)(this.accessibleRole)}get ariaDescriptionText(){return""===this.accessibleDescription?void 0:this.accessibleDescription}get _hasPopup(){return this.accessibilityAttributes.hasPopup}_onclick(e){const{altKey:t,ctrlKey:i,metaKey:o,shiftKey:n}=e;e.stopImmediatePropagation(),this.fireDecoratorEvent("click",{altKey:t,ctrlKey:i,metaKey:o,shiftKey:n})||e.preventDefault()}_onkeydown(e){(0,C.tH)(e)&&!this.href?(this._onclick(e),e.preventDefault()):(0,C.Wd)(e)&&e.preventDefault()}_onkeyup(e){if((0,C.Wd)(e)&&(this._onclick(e),this.href&&!e.defaultPrevented)){const e=new MouseEvent("click");e.stopImmediatePropagation(),this.getDomRef().dispatchEvent(e)}}};A([(0,a.Z)({type:Boolean})],O.prototype,"disabled",void 0),A([(0,a.Z)()],O.prototype,"tooltip",void 0),A([(0,a.Z)()],O.prototype,"href",void 0),A([(0,a.Z)()],O.prototype,"target",void 0),A([(0,a.Z)()],O.prototype,"design",void 0),A([(0,a.Z)()],O.prototype,"interactiveAreaSize",void 0),A([(0,a.Z)()],O.prototype,"wrappingType",void 0),A([(0,a.Z)()],O.prototype,"accessibleName",void 0),A([(0,a.Z)()],O.prototype,"accessibleNameRef",void 0),A([(0,a.Z)()],O.prototype,"accessibleRole",void 0),A([(0,a.Z)({type:Object})],O.prototype,"accessibilityAttributes",void 0),A([(0,a.Z)()],O.prototype,"accessibleDescription",void 0),A([(0,a.Z)()],O.prototype,"icon",void 0),A([(0,a.Z)()],O.prototype,"endIcon",void 0),A([(0,a.Z)({noAttribute:!0})],O.prototype,"_rel",void 0),A([(0,a.Z)({noAttribute:!0})],O.prototype,"forcedTabIndex",void 0),A([(0,l.Z)("@ui5/webcomponents")],O,"i18nBundle",void 0),O=z=A([(0,s.Z)({tag:"ui5-link",languageAware:!0,renderer:c.Z,template:function(){return(0,n.BX)("a",{part:"root",class:"ui5-link-root",role:this.effectiveAccRole,href:this.parsedRef,target:this.target,rel:this._rel,tabindex:this.effectiveTabIndex,title:this.tooltip,"aria-disabled":this.disabled,"aria-label":this.ariaLabelText,"aria-haspopup":this._hasPopup,"aria-expanded":this.accessibilityAttributes.expanded,"aria-current":this.accessibilityAttributes.current,"aria-description":this.ariaDescriptionText,onClick:this._onclick,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,children:[this.icon&&(0,n.tZ)(R.Z,{class:"ui5-link-icon",name:this.icon,mode:"Decorative",part:"icon"}),(0,n.tZ)("span",{class:"ui5-link-text",children:(0,n.tZ)("slot",{})}),this.hasLinkType&&(0,n.tZ)("span",{class:"ui5-hidden-text",children:this.linkTypeText}),this.endIcon&&(0,n.tZ)(R.Z,{class:"ui5-link-end-icon",name:this.endIcon,mode:"Decorative",part:"endIcon"})]})},styles:'.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-flex}:host{max-width:100%;color:var(--sapLinkColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);cursor:pointer;outline:none;text-decoration:var(--_ui5_link_text_decoration);text-shadow:var(--sapContent_TextShadow);white-space:normal;overflow-wrap:break-word}:host(:hover){color:var(--sapLink_Hover_Color);text-decoration:var(--_ui5_link_hover_text_decoration)}:host(:active){color:var(--sapLink_Active_Color);text-decoration:var(--_ui5_link_active_text_decoration)}:host([disabled]){pointer-events:none}:host([disabled]) .ui5-link-root{text-shadow:none;outline:none;cursor:default;pointer-events:none;opacity:var(--sapContent_DisabledOpacity)}:host([design="Emphasized"]) .ui5-link-root{font-family:var(--sapFontBoldFamily)}:host([design="Subtle"]){color:var(--sapLink_SubtleColor);text-decoration:var(--_ui5_link_subtle_text_decoration)}:host([design="Subtle"]:hover:not(:active)){color:var(--sapLink_SubtleColor);text-decoration:var(--_ui5_link_subtle_text_decoration_hover)}:host([wrapping-type="None"]){white-space:nowrap;overflow-wrap:normal}.ui5-link-root{max-width:100%;display:inline-block;position:relative;overflow:hidden;text-overflow:ellipsis;outline:none;white-space:inherit;overflow-wrap:inherit;text-decoration:inherit;color:inherit}:host([wrapping-type="None"][end-icon]) .ui5-link-root{display:inline-flex;align-items:end}:host .ui5-link-root{outline-offset:-.0625rem;border-radius:var(--_ui5_link_focus_border-radius)}.ui5-link-icon,.ui5-link-end-icon{color:inherit;flex-shrink:0}.ui5-link-icon{float:inline-start;margin-inline-end:.125rem}.ui5-link-end-icon{margin-inline-start:.125rem;vertical-align:bottom}.ui5-link-text{overflow:hidden;text-overflow:ellipsis}.ui5-link-root:focus-visible,:host([desktop]) .ui5-link-root:focus-within,:host([design="Subtle"]) .ui5-link-root:focus-visible,:host([design="Subtle"][desktop]) .ui5-link-root:focus-within{background-color:var(--_ui5_link_focus_background_color);outline:var(--_ui5_link_outline);border-radius:var(--_ui5_link_focus_border-radius);text-shadow:none;color:var(--_ui5_link_focus_color)}:host(:not([desktop])) .ui5-link-root:focus-visible,:host([desktop]:focus-within),:host([design="Subtle"][desktop]:focus-within){text-decoration:var(--_ui5_link_focus_text_decoration)}:host([desktop]:hover:not(:active):focus-within),:host([design="Subtle"][desktop]:hover:not(:active):focus-within){color:var(--_ui5_link_focused_hover_text_color);text-decoration:var(--_ui5_link_focused_hover_text_decoration)}:host([interactive-area-size="Large"]) .ui5-link-root{line-height:var(--_ui5_link_large_interactive_area_height)}:host([interactive-area-size="Large"])::part(icon),:host([interactive-area-size="Large"])::part(endIcon){height:var(--_ui5_link_large_interactive_area_height)}\n'}),(0,T.Z)("click",{bubbles:!0,cancelable:!0})],O),O.define();const S=O;var F=i(59562),L=i(94462);(0,f.e5)("@ui5/webcomponents-theming","sap_horizon",(async()=>y.Z)),(0,f.e5)("@ui5/webcomponents","sap_horizon",(async()=>g.Z),"host");var N,M=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let E=N=class extends r.Z{constructor(){super(...arguments),this.maxCharacters=100,this.overflowMode="InPlace",this.emptyIndicatorMode="Off",this._expanded=!1}getFocusDomRef(){return this._usePopover?this.shadowRoot?.querySelector("[ui5-responsive-popover]"):this.shadowRoot?.querySelector("[ui5-link]")}get _displayedText(){return this._expanded&&!this._usePopover?this.text:this.text?.substring(0,this.maxCharacters)}get _maxCharactersExceeded(){return(this.text?.length||0)>this.maxCharacters}get _usePopover(){return this.overflowMode===d.Popover}get _ellipsisText(){return this._expanded&&!this._usePopover?" ":"... "}get _textForToggle(){return this._expanded?N.i18nBundle.getText(u.gMI):N.i18nBundle.getText(u.j1v)}get _closeButtonText(){return N.i18nBundle.getText(u.XvI)}get _accessibilityAttributesForToggle(){return this._usePopover?{expanded:this._expanded,hasPopup:"dialog"}:{expanded:this._expanded}}get _accessibleNameForToggle(){if(this._usePopover)return this._expanded?N.i18nBundle.getText(u.m58):N.i18nBundle.getText(u.PJ)}_handlePopoverClose(){(0,p.Mn)()||(this._expanded=!1)}_handleToggleClick(){this._expanded=!this._expanded}_handleCloseButtonClick(e){this._expanded=!1,e.stopPropagation()}};M([(0,a.Z)()],E.prototype,"text",void 0),M([(0,a.Z)({type:Number})],E.prototype,"maxCharacters",void 0),M([(0,a.Z)()],E.prototype,"overflowMode",void 0),M([(0,a.Z)()],E.prototype,"emptyIndicatorMode",void 0),M([(0,a.Z)({type:Boolean})],E.prototype,"_expanded",void 0),M([(0,l.Z)("@ui5/webcomponents")],E,"i18nBundle",void 0),E=N=M([(0,s.Z)({tag:"ui5-expandable-text",renderer:c.Z,styles:":host{display:inline-block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapTextColor)}:host([hidden]){display:none}.ui5-exp-text-text{display:inline}.ui5-exp-text-text,.ui5-exp-text-toggle{font-family:inherit;font-size:inherit}.ui5-exp-text-text,.ui5-exp-text-ellipsis{color:inherit}.ui5-exp-text-popover::part(content){padding-inline:1rem}.ui5-exp-text-footer{width:100%;display:flex;align-items:center;justify-content:flex-end}\n",template:function(){return(0,n.BX)("div",{children:[(0,n.tZ)(w,{class:"ui5-exp-text-text",emptyIndicatorMode:this.emptyIndicatorMode,children:this._displayedText}),this._maxCharactersExceeded&&(0,n.BX)(n.HY,{children:[(0,n.tZ)("span",{class:"ui5-exp-text-ellipsis",children:this._ellipsisText}),(0,n.tZ)(S,{id:"toggle",class:"ui5-exp-text-toggle",accessibleRole:"Button",accessibleName:this._accessibleNameForToggle,accessibilityAttributes:this._accessibilityAttributesForToggle,onClick:this._handleToggleClick,children:this._textForToggle}),this._usePopover&&(0,n.BX)(L.Z,{open:this._expanded,opener:"toggle",accessibleNameRef:"popover-text",contentOnlyOnDesktop:!0,_hideHeader:!0,class:"ui5-exp-text-popover",onClose:this._handlePopoverClose,children:[(0,n.tZ)(w,{id:"popover-text",children:this.text}),(0,n.tZ)("div",{slot:"footer",class:"ui5-exp-text-footer",children:(0,n.tZ)(F.Z,{design:"Transparent",onClick:this._handleCloseButtonClick,children:this._closeButtonText})})]})]})]})}})],E),E.define();const j=E;function K(e){const{className:t,text:i,maxCharacters:o,part:r}=e;return(0,n.tZ)(j,{part:r,class:t,text:i,maxCharacters:o})}}}]);