@fluid-topics/ft-search-selected-facets 1.1.16 → 1.1.18
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.
|
@@ -257,7 +257,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
257
257
|
</${_t(this.element)}>
|
|
258
258
|
`:Vt`
|
|
259
259
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
260
|
-
`}}bo.styles=[eo,oo,io,ro,no,ao,so,lo,co,ho,fo,...po],yo([r.property()],bo.prototype,"element",void 0),yo([r.property()],bo.prototype,"variant",void 0),e.customElement("ft-typography")(bo),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(uo||(uo={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(go||(go={})),new Map([...["abw"].map((t=>[t,go.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,go.AUDIO])),...["avi"].map((t=>[t,go.AVI])),...["chm","xhs"].map((t=>[t,go.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,go.CODE])),...["csv"].map((t=>[t,go.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,go.DITA])),...["epub"].map((t=>[t,go.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,go.EXCEL])),...["flac"].map((t=>[t,go.FLAC])),...["gif"].map((t=>[t,go.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,go.GZIP])),...["html","htm","xhtml"].map((t=>[t,go.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,go.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,go.JPEG])),...["json"].map((t=>[t,go.JSON])),...["m4a","m4p"].map((t=>[t,go.M4A])),...["mov","qt"].map((t=>[t,go.MOV])),...["mp3"].map((t=>[t,go.MP3])),...["mp4","m4v"].map((t=>[t,go.MP4])),...["ogg","oga"].map((t=>[t,go.OGG])),...["pdf","ps"].map((t=>[t,go.PDF])),...["png"].map((t=>[t,go.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,go.POWERPOINT])),...["rar"].map((t=>[t,go.RAR])),...["stp"].map((t=>[t,go.STP])),...["txt","rtf","md","mdown"].map((t=>[t,go.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,go.VIDEO])),...["wav"].map((t=>[t,go.WAV])),...["wma"].map((t=>[t,go.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,go.WORD])),...["xml","xsl","rdf"].map((t=>[t,go.XML])),...["yaml","yml","x-yaml"].map((t=>[t,go.YAML])),...["zip"].map((t=>[t,go.ZIP]))]),go.ABW,go.AUDIO,go.AVI,go.CHM,go.CODE,go.CSV,go.DITA,go.EPUB,go.EXCEL,go.FLAC,go.GIF,go.GZIP,go.HTML,go.IMAGE,go.JPEG,go.JSON,go.M4A,go.MOV,go.MP3,go.MP4,go.OGG,go.PDF,go.PNG,go.POWERPOINT,go.RAR,go.STP,go.TEXT,go.UNKNOWN,go.VIDEO,go.WAV,go.WMA,go.WORD,go.XML,go.YAML,go.ZIP;const mo={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},vo=o.css`
|
|
260
|
+
`}}bo.styles=[eo,oo,io,ro,no,ao,so,lo,co,ho,fo,...po],yo([r.property()],bo.prototype,"element",void 0),yo([r.property()],bo.prototype,"variant",void 0),e.customElement("ft-typography")(bo),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE=""}(uo||(uo={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(go||(go={})),new Map([...["abw"].map((t=>[t,go.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,go.AUDIO])),...["avi"].map((t=>[t,go.AVI])),...["chm","xhs"].map((t=>[t,go.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,go.CODE])),...["csv"].map((t=>[t,go.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,go.DITA])),...["epub"].map((t=>[t,go.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,go.EXCEL])),...["flac"].map((t=>[t,go.FLAC])),...["gif"].map((t=>[t,go.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,go.GZIP])),...["html","htm","xhtml"].map((t=>[t,go.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,go.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,go.JPEG])),...["json"].map((t=>[t,go.JSON])),...["m4a","m4p"].map((t=>[t,go.M4A])),...["mov","qt"].map((t=>[t,go.MOV])),...["mp3"].map((t=>[t,go.MP3])),...["mp4","m4v"].map((t=>[t,go.MP4])),...["ogg","oga"].map((t=>[t,go.OGG])),...["pdf","ps"].map((t=>[t,go.PDF])),...["png"].map((t=>[t,go.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,go.POWERPOINT])),...["rar"].map((t=>[t,go.RAR])),...["stp"].map((t=>[t,go.STP])),...["txt","rtf","md","mdown"].map((t=>[t,go.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,go.VIDEO])),...["wav"].map((t=>[t,go.WAV])),...["wma"].map((t=>[t,go.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,go.WORD])),...["xml","xsl","rdf"].map((t=>[t,go.XML])),...["yaml","yml","x-yaml"].map((t=>[t,go.YAML])),...["zip"].map((t=>[t,go.ZIP]))]),go.ABW,go.AUDIO,go.AVI,go.CHM,go.CODE,go.CSV,go.DITA,go.EPUB,go.EXCEL,go.FLAC,go.GIF,go.GZIP,go.HTML,go.IMAGE,go.JPEG,go.JSON,go.M4A,go.MOV,go.MP3,go.MP4,go.OGG,go.PDF,go.PNG,go.POWERPOINT,go.RAR,go.STP,go.TEXT,go.UNKNOWN,go.VIDEO,go.WAV,go.WMA,go.WORD,go.XML,go.YAML,go.ZIP;const mo={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},vo=o.css`
|
|
261
261
|
:host, i.ft-icon {
|
|
262
262
|
display: inline-flex;
|
|
263
263
|
align-items: center;
|
|
@@ -563,7 +563,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
563
563
|
</div>
|
|
564
564
|
</div>
|
|
565
565
|
</div>
|
|
566
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fi(this.slottedElement,this.tooltip,{platform:{...Ki,getOffsetParent:t=>Ki.getOffsetParent(t,Zi)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Yo(t,e),c={x:o,y:i},h=await ai(e,l),f=ei(Qo(r)),p=Jo(f);let d=c[p],u=c[f];if(n){const t="y"===p?"bottom":"right";d=qo(d+h["y"===p?"top":"left"],d,d-h[t])}if(a){const t="y"===f?"bottom":"right";u=qo(u+h["y"===f?"top":"left"],u,u-h[t])}const g=s.fn({...e,[p]:d,[f]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),li({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Hi.elementDefinitions={"ft-typography":bo},Hi.styles=Zo,Pi([r.property()],Hi.prototype,"text",void 0),Pi([r.property({type:Boolean})],Hi.prototype,"manual",void 0),Pi([r.property({type:Boolean})],Hi.prototype,"inline",void 0),Pi([r.property({type:Number})],Hi.prototype,"delay",void 0),Pi([r.property()],Hi.prototype,"position",void 0),Pi([r.queryAssignedNodes()],Hi.prototype,"slotNodes",void 0),Pi([r.query(".ft-tooltip--container")],Hi.prototype,"container",void 0),Pi([r.query(".ft-tooltip")],Hi.prototype,"tooltip",void 0),Pi([r.query(".ft-tooltip--content")],Hi.prototype,"tooltipContent",void 0),Pi([r.state()],Hi.prototype,"visible",void 0),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onTouch",null),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onHover",null),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onOut",null),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onClick",null),e.customElement("ft-tooltip")(Hi);class ji extends e.FtLitElement{render(){return o.html`
|
|
566
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fi(this.slottedElement,this.tooltip,{platform:{...Ki,getOffsetParent:t=>Ki.getOffsetParent(t,Zi)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Yo(t,e),c={x:o,y:i},h=await ai(e,l),f=ei(Qo(r)),p=Jo(f);let d=c[p],u=c[f];if(n){const t="y"===p?"bottom":"right";d=qo(d+h["y"===p?"top":"left"],d,d-h[t])}if(a){const t="y"===f?"bottom":"right";u=qo(u+h["y"===f?"top":"left"],u,u-h[t])}const g=s.fn({...e,[p]:d,[f]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),li({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Hi.elementDefinitions={"ft-typography":bo},Hi.styles=Zo,Pi([r.property()],Hi.prototype,"text",void 0),Pi([r.property({type:Boolean})],Hi.prototype,"manual",void 0),Pi([r.property({type:Boolean})],Hi.prototype,"inline",void 0),Pi([r.property({type:Number})],Hi.prototype,"delay",void 0),Pi([r.property()],Hi.prototype,"position",void 0),Pi([r.queryAssignedNodes()],Hi.prototype,"slotNodes",void 0),Pi([r.query(".ft-tooltip--container")],Hi.prototype,"container",void 0),Pi([r.query(".ft-tooltip")],Hi.prototype,"tooltip",void 0),Pi([r.query(".ft-tooltip--content")],Hi.prototype,"tooltipContent",void 0),Pi([r.state()],Hi.prototype,"visible",void 0),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onTouch",null),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onHover",null),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onOut",null),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onClick",null),e.customElement("ft-tooltip")(Hi);class ji extends e.FtLitElement{render(){return o.html`
|
|
567
567
|
<div class="ft-loader">
|
|
568
568
|
<div></div>
|
|
569
569
|
<div></div>
|
|
@@ -401,7 +401,7 @@ const gn=Symbol.for(""),bn=t=>{if(t?.r===gn)return t?._$litStatic$},vn=t=>({_$li
|
|
|
401
401
|
* Copyright 2017 Google LLC
|
|
402
402
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
403
403
|
*/
|
|
404
|
-
class js extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ct||null==t)return this.vt=void 0,this.et=t;if(t===lt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}js.directiveName="unsafeHTML",js.resultType=1;const zs=ir(js);var Ds,Fs;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Ds||(Ds={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Fs||(Fs={})),new Map([...["abw"].map((t=>[t,Fs.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Fs.AUDIO])),...["avi"].map((t=>[t,Fs.AVI])),...["chm","xhs"].map((t=>[t,Fs.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Fs.CODE])),...["csv"].map((t=>[t,Fs.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fs.DITA])),...["epub"].map((t=>[t,Fs.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fs.EXCEL])),...["flac"].map((t=>[t,Fs.FLAC])),...["gif"].map((t=>[t,Fs.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fs.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fs.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Fs.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fs.JPEG])),...["json"].map((t=>[t,Fs.JSON])),...["m4a","m4p"].map((t=>[t,Fs.M4A])),...["mov","qt"].map((t=>[t,Fs.MOV])),...["mp3"].map((t=>[t,Fs.MP3])),...["mp4","m4v"].map((t=>[t,Fs.MP4])),...["ogg","oga"].map((t=>[t,Fs.OGG])),...["pdf","ps"].map((t=>[t,Fs.PDF])),...["png"].map((t=>[t,Fs.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fs.POWERPOINT])),...["rar"].map((t=>[t,Fs.RAR])),...["stp"].map((t=>[t,Fs.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fs.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Fs.VIDEO])),...["wav"].map((t=>[t,Fs.WAV])),...["wma"].map((t=>[t,Fs.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fs.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fs.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fs.YAML])),...["zip"].map((t=>[t,Fs.ZIP]))]),Fs.ABW,Fs.AUDIO,Fs.AVI,Fs.CHM,Fs.CODE,Fs.CSV,Fs.DITA,Fs.EPUB,Fs.EXCEL,Fs.FLAC,Fs.GIF,Fs.GZIP,Fs.HTML,Fs.IMAGE,Fs.JPEG,Fs.JSON,Fs.M4A,Fs.MOV,Fs.MP3,Fs.MP4,Fs.OGG,Fs.PDF,Fs.PNG,Fs.POWERPOINT,Fs.RAR,Fs.STP,Fs.TEXT,Fs.UNKNOWN,Fs.VIDEO,Fs.WAV,Fs.WMA,Fs.WORD,Fs.XML,Fs.YAML,Fs.ZIP;const Bs={size:Ue.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ue.extend("--ft-icon-fluid-topics-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ue.extend("--ft-icon-file-format-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ue.extend("--ft-icon-material-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ue.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ps=Ut`
|
|
404
|
+
class js extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ct||null==t)return this.vt=void 0,this.et=t;if(t===lt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}js.directiveName="unsafeHTML",js.resultType=1;const zs=ir(js);var Ds,Fs;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE=""}(Ds||(Ds={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Fs||(Fs={})),new Map([...["abw"].map((t=>[t,Fs.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Fs.AUDIO])),...["avi"].map((t=>[t,Fs.AVI])),...["chm","xhs"].map((t=>[t,Fs.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Fs.CODE])),...["csv"].map((t=>[t,Fs.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fs.DITA])),...["epub"].map((t=>[t,Fs.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fs.EXCEL])),...["flac"].map((t=>[t,Fs.FLAC])),...["gif"].map((t=>[t,Fs.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fs.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fs.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Fs.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fs.JPEG])),...["json"].map((t=>[t,Fs.JSON])),...["m4a","m4p"].map((t=>[t,Fs.M4A])),...["mov","qt"].map((t=>[t,Fs.MOV])),...["mp3"].map((t=>[t,Fs.MP3])),...["mp4","m4v"].map((t=>[t,Fs.MP4])),...["ogg","oga"].map((t=>[t,Fs.OGG])),...["pdf","ps"].map((t=>[t,Fs.PDF])),...["png"].map((t=>[t,Fs.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fs.POWERPOINT])),...["rar"].map((t=>[t,Fs.RAR])),...["stp"].map((t=>[t,Fs.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fs.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Fs.VIDEO])),...["wav"].map((t=>[t,Fs.WAV])),...["wma"].map((t=>[t,Fs.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fs.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fs.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fs.YAML])),...["zip"].map((t=>[t,Fs.ZIP]))]),Fs.ABW,Fs.AUDIO,Fs.AVI,Fs.CHM,Fs.CODE,Fs.CSV,Fs.DITA,Fs.EPUB,Fs.EXCEL,Fs.FLAC,Fs.GIF,Fs.GZIP,Fs.HTML,Fs.IMAGE,Fs.JPEG,Fs.JSON,Fs.M4A,Fs.MOV,Fs.MP3,Fs.MP4,Fs.OGG,Fs.PDF,Fs.PNG,Fs.POWERPOINT,Fs.RAR,Fs.STP,Fs.TEXT,Fs.UNKNOWN,Fs.VIDEO,Fs.WAV,Fs.WMA,Fs.WORD,Fs.XML,Fs.YAML,Fs.ZIP;const Bs={size:Ue.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ue.extend("--ft-icon-fluid-topics-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ue.extend("--ft-icon-file-format-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ue.extend("--ft-icon-material-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ue.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ps=Ut`
|
|
405
405
|
:host, i.ft-icon {
|
|
406
406
|
display: inline-flex;
|
|
407
407
|
align-items: center;
|
|
@@ -707,7 +707,7 @@ class js extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
|
|
|
707
707
|
</div>
|
|
708
708
|
</div>
|
|
709
709
|
</div>
|
|
710
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",sl(this.slottedElement,this.tooltip,{platform:{...nl,getOffsetParent:t=>nl.getOffsetParent(t,al)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=ba(t,e),c={x:o,y:i},h=await Ea(e,l),f=wa(va(r)),p=xa(f);let u=c[p],d=c[f];if(n){const t="y"===p?"bottom":"right";u=ga(u+h["y"===p?"top":"left"],u,u-h[t])}if(s){const t="y"===f?"bottom":"right";d=ga(d+h["y"===f?"top":"left"],d,d-h[t])}const y=a.fn({...e,[p]:u,[f]:d});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Ra({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}hl.elementDefinitions={"ft-typography":Ws},hl.styles=aa,cl([R()],hl.prototype,"text",void 0),cl([R({type:Boolean})],hl.prototype,"manual",void 0),cl([R({type:Boolean})],hl.prototype,"inline",void 0),cl([R({type:Number})],hl.prototype,"delay",void 0),cl([R()],hl.prototype,"position",void 0),cl([
|
|
710
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",sl(this.slottedElement,this.tooltip,{platform:{...nl,getOffsetParent:t=>nl.getOffsetParent(t,al)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=ba(t,e),c={x:o,y:i},h=await Ea(e,l),f=wa(va(r)),p=xa(f);let u=c[p],d=c[f];if(n){const t="y"===p?"bottom":"right";u=ga(u+h["y"===p?"top":"left"],u,u-h[t])}if(s){const t="y"===f?"bottom":"right";d=ga(d+h["y"===f?"top":"left"],d,d-h[t])}const y=a.fn({...e,[p]:u,[f]:d});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Ra({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}hl.elementDefinitions={"ft-typography":Ws},hl.styles=aa,cl([R()],hl.prototype,"text",void 0),cl([R({type:Boolean})],hl.prototype,"manual",void 0),cl([R({type:Boolean})],hl.prototype,"inline",void 0),cl([R({type:Number})],hl.prototype,"delay",void 0),cl([R()],hl.prototype,"position",void 0),cl([
|
|
711
711
|
/**
|
|
712
712
|
* @license
|
|
713
713
|
* Copyright 2017 Google LLC
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-selected-facets",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"description": "List of selected facets in a designed search page context",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-chip": "1.1.
|
|
23
|
-
"@fluid-topics/ft-search-context": "1.1.
|
|
24
|
-
"@fluid-topics/ft-search-type": "1.1.
|
|
25
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-chip": "1.1.18",
|
|
23
|
+
"@fluid-topics/ft-search-context": "1.1.18",
|
|
24
|
+
"@fluid-topics/ft-search-type": "1.1.18",
|
|
25
|
+
"@fluid-topics/ft-tooltip": "1.1.18",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.1.18",
|
|
27
27
|
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "30d914e4439747c7af8baebd0b9ebbc344de2ecf"
|
|
30
30
|
}
|