@fluid-topics/ft-collapsible 1.1.17 → 1.1.19
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.
|
@@ -574,7 +574,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
574
574
|
</div>
|
|
575
575
|
</div>
|
|
576
576
|
</div>
|
|
577
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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="",Xe(this.slottedElement,this.tooltip,{platform:{...Ve,getOffsetParent:t=>Ve.getOffsetParent(t,qe)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=le(t,o),s={x:e,y:r},p=await be(o,c),f=de(ce(i)),d=pe(f);let h=s[d],y=s[f];if(a){const t="y"===d?"bottom":"right";h=ne(h+p["y"===d?"top":"left"],h,h-p[t])}if(n){const t="y"===f?"bottom":"right";y=ne(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...o,[d]:h,[f]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),xe({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}}rr.elementDefinitions={"ft-typography":To},rr.styles=qo,er([r.property()],rr.prototype,"text",void 0),er([r.property({type:Boolean})],rr.prototype,"manual",void 0),er([r.property({type:Boolean})],rr.prototype,"inline",void 0),er([r.property({type:Number})],rr.prototype,"delay",void 0),er([r.property()],rr.prototype,"position",void 0),er([r.queryAssignedNodes()],rr.prototype,"slotNodes",void 0),er([r.query(".ft-tooltip--container")],rr.prototype,"container",void 0),er([r.query(".ft-tooltip")],rr.prototype,"tooltip",void 0),er([r.query(".ft-tooltip--content")],rr.prototype,"tooltipContent",void 0),er([r.state()],rr.prototype,"visible",void 0),er([r.eventOptions({passive:!0})],rr.prototype,"onTouch",null),er([r.eventOptions({passive:!0})],rr.prototype,"onHover",null),er([r.eventOptions({passive:!0})],rr.prototype,"onOut",null),er([r.eventOptions({passive:!0})],rr.prototype,"onClick",null),o.customElement("ft-tooltip")(rr),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=""}(Qe||(Qe={})),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=""}(tr||(tr={})),new Map([...["abw"].map((t=>[t,tr.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,tr.AUDIO])),...["avi"].map((t=>[t,tr.AVI])),...["chm","xhs"].map((t=>[t,tr.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,tr.CODE])),...["csv"].map((t=>[t,tr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,tr.DITA])),...["epub"].map((t=>[t,tr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,tr.EXCEL])),...["flac"].map((t=>[t,tr.FLAC])),...["gif"].map((t=>[t,tr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,tr.GZIP])),...["html","htm","xhtml"].map((t=>[t,tr.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,tr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,tr.JPEG])),...["json"].map((t=>[t,tr.JSON])),...["m4a","m4p"].map((t=>[t,tr.M4A])),...["mov","qt"].map((t=>[t,tr.MOV])),...["mp3"].map((t=>[t,tr.MP3])),...["mp4","m4v"].map((t=>[t,tr.MP4])),...["ogg","oga"].map((t=>[t,tr.OGG])),...["pdf","ps"].map((t=>[t,tr.PDF])),...["png"].map((t=>[t,tr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,tr.POWERPOINT])),...["rar"].map((t=>[t,tr.RAR])),...["stp"].map((t=>[t,tr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,tr.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,tr.VIDEO])),...["wav"].map((t=>[t,tr.WAV])),...["wma"].map((t=>[t,tr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,tr.WORD])),...["xml","xsl","rdf"].map((t=>[t,tr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,tr.YAML])),...["zip"].map((t=>[t,tr.ZIP]))]),tr.ABW,tr.AUDIO,tr.AVI,tr.CHM,tr.CODE,tr.CSV,tr.DITA,tr.EPUB,tr.EXCEL,tr.FLAC,tr.GIF,tr.GZIP,tr.HTML,tr.IMAGE,tr.JPEG,tr.JSON,tr.M4A,tr.MOV,tr.MP3,tr.MP4,tr.OGG,tr.PDF,tr.PNG,tr.POWERPOINT,tr.RAR,tr.STP,tr.TEXT,tr.UNKNOWN,tr.VIDEO,tr.WAV,tr.WMA,tr.WORD,tr.XML,tr.YAML,tr.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(or||(or={}));var ir=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ar extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(or).includes(this.variant)?this.variant:or.fluid_topics,o=t!==or.material||!!this.value;return e.html`
|
|
577
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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="",Xe(this.slottedElement,this.tooltip,{platform:{...Ve,getOffsetParent:t=>Ve.getOffsetParent(t,qe)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=le(t,o),s={x:e,y:r},p=await be(o,c),f=de(ce(i)),d=pe(f);let h=s[d],y=s[f];if(a){const t="y"===d?"bottom":"right";h=ne(h+p["y"===d?"top":"left"],h,h-p[t])}if(n){const t="y"===f?"bottom":"right";y=ne(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...o,[d]:h,[f]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),xe({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}}rr.elementDefinitions={"ft-typography":To},rr.styles=qo,er([r.property()],rr.prototype,"text",void 0),er([r.property({type:Boolean})],rr.prototype,"manual",void 0),er([r.property({type:Boolean})],rr.prototype,"inline",void 0),er([r.property({type:Number})],rr.prototype,"delay",void 0),er([r.property()],rr.prototype,"position",void 0),er([r.queryAssignedNodes()],rr.prototype,"slotNodes",void 0),er([r.query(".ft-tooltip--container")],rr.prototype,"container",void 0),er([r.query(".ft-tooltip")],rr.prototype,"tooltip",void 0),er([r.query(".ft-tooltip--content")],rr.prototype,"tooltipContent",void 0),er([r.state()],rr.prototype,"visible",void 0),er([r.eventOptions({passive:!0})],rr.prototype,"onTouch",null),er([r.eventOptions({passive:!0})],rr.prototype,"onHover",null),er([r.eventOptions({passive:!0})],rr.prototype,"onOut",null),er([r.eventOptions({passive:!0})],rr.prototype,"onClick",null),o.customElement("ft-tooltip")(rr),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=""}(Qe||(Qe={})),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=""}(tr||(tr={})),new Map([...["abw"].map((t=>[t,tr.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,tr.AUDIO])),...["avi"].map((t=>[t,tr.AVI])),...["chm","xhs"].map((t=>[t,tr.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,tr.CODE])),...["csv"].map((t=>[t,tr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,tr.DITA])),...["epub"].map((t=>[t,tr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,tr.EXCEL])),...["flac"].map((t=>[t,tr.FLAC])),...["gif"].map((t=>[t,tr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,tr.GZIP])),...["html","htm","xhtml"].map((t=>[t,tr.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,tr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,tr.JPEG])),...["json"].map((t=>[t,tr.JSON])),...["m4a","m4p"].map((t=>[t,tr.M4A])),...["mov","qt"].map((t=>[t,tr.MOV])),...["mp3"].map((t=>[t,tr.MP3])),...["mp4","m4v"].map((t=>[t,tr.MP4])),...["ogg","oga"].map((t=>[t,tr.OGG])),...["pdf","ps"].map((t=>[t,tr.PDF])),...["png"].map((t=>[t,tr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,tr.POWERPOINT])),...["rar"].map((t=>[t,tr.RAR])),...["stp"].map((t=>[t,tr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,tr.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,tr.VIDEO])),...["wav"].map((t=>[t,tr.WAV])),...["wma"].map((t=>[t,tr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,tr.WORD])),...["xml","xsl","rdf"].map((t=>[t,tr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,tr.YAML])),...["zip"].map((t=>[t,tr.ZIP]))]),tr.ABW,tr.AUDIO,tr.AVI,tr.CHM,tr.CODE,tr.CSV,tr.DITA,tr.EPUB,tr.EXCEL,tr.FLAC,tr.GIF,tr.GZIP,tr.HTML,tr.IMAGE,tr.JPEG,tr.JSON,tr.M4A,tr.MOV,tr.MP3,tr.MP4,tr.OGG,tr.PDF,tr.PNG,tr.POWERPOINT,tr.RAR,tr.STP,tr.TEXT,tr.UNKNOWN,tr.VIDEO,tr.WAV,tr.WMA,tr.WORD,tr.XML,tr.YAML,tr.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(or||(or={}));var ir=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ar extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(or).includes(this.variant)?this.variant:or.fluid_topics,o=t!==or.material||!!this.value;return e.html`
|
|
578
578
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
579
579
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
580
580
|
<slot ?hidden=${o}></slot>
|
|
@@ -702,13 +702,13 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Yi=t=>({_$li
|
|
|
702
702
|
</div>
|
|
703
703
|
</div>
|
|
704
704
|
</div>
|
|
705
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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="",an(this.slottedElement,this.tooltip,{platform:{...nn,getOffsetParent:t=>nn.getOffsetParent(t,sn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=gr(t,o),c={x:e,y:i},p=await $r(o,l),f=vr(br(r)),h=xr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=yr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=yr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Er({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}}pn.elementDefinitions={"ft-typography":Qi},pn.styles=ar,cn([C()],pn.prototype,"text",void 0),cn([C({type:Boolean})],pn.prototype,"manual",void 0),cn([C({type:Boolean})],pn.prototype,"inline",void 0),cn([C({type:Number})],pn.prototype,"delay",void 0),cn([C()],pn.prototype,"position",void 0),cn([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],pn.prototype,"slotNodes",void 0),cn([U(".ft-tooltip--container")],pn.prototype,"container",void 0),cn([U(".ft-tooltip")],pn.prototype,"tooltip",void 0),cn([U(".ft-tooltip--content")],pn.prototype,"tooltipContent",void 0),cn([$()],pn.prototype,"visible",void 0),cn([R({passive:!0})],pn.prototype,"onTouch",null),cn([R({passive:!0})],pn.prototype,"onHover",null),cn([R({passive:!0})],pn.prototype,"onOut",null),cn([R({passive:!0})],pn.prototype,"onClick",null),I("ft-tooltip")(pn);
|
|
705
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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="",an(this.slottedElement,this.tooltip,{platform:{...nn,getOffsetParent:t=>nn.getOffsetParent(t,sn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=gr(t,o),c={x:e,y:i},p=await $r(o,l),f=vr(br(r)),h=xr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=yr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=yr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Er({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}}pn.elementDefinitions={"ft-typography":Qi},pn.styles=ar,cn([C()],pn.prototype,"text",void 0),cn([C({type:Boolean})],pn.prototype,"manual",void 0),cn([C({type:Boolean})],pn.prototype,"inline",void 0),cn([C({type:Number})],pn.prototype,"delay",void 0),cn([C()],pn.prototype,"position",void 0),cn([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],pn.prototype,"slotNodes",void 0),cn([U(".ft-tooltip--container")],pn.prototype,"container",void 0),cn([U(".ft-tooltip")],pn.prototype,"tooltip",void 0),cn([U(".ft-tooltip--content")],pn.prototype,"tooltipContent",void 0),cn([$()],pn.prototype,"visible",void 0),cn([R({passive:!0})],pn.prototype,"onTouch",null),cn([R({passive:!0})],pn.prototype,"onHover",null),cn([R({passive:!0})],pn.prototype,"onOut",null),cn([R({passive:!0})],pn.prototype,"onClick",null),I("ft-tooltip")(pn);
|
|
706
706
|
/**
|
|
707
707
|
* @license
|
|
708
708
|
* Copyright 2017 Google LLC
|
|
709
709
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
710
710
|
*/
|
|
711
|
-
class fn extends ee{constructor(t){if(super(t),this.et=tt,t.type!==te)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}fn.directiveName="unsafeHTML",fn.resultType=1;const hn=oe(fn);var dn,un,yn;!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=""}(dn||(dn={})),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=""}(un||(un={})),new Map([...["abw"].map((t=>[t,un.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,un.AUDIO])),...["avi"].map((t=>[t,un.AVI])),...["chm","xhs"].map((t=>[t,un.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,un.CODE])),...["csv"].map((t=>[t,un.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,un.DITA])),...["epub"].map((t=>[t,un.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,un.EXCEL])),...["flac"].map((t=>[t,un.FLAC])),...["gif"].map((t=>[t,un.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,un.GZIP])),...["html","htm","xhtml"].map((t=>[t,un.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,un.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,un.JPEG])),...["json"].map((t=>[t,un.JSON])),...["m4a","m4p"].map((t=>[t,un.M4A])),...["mov","qt"].map((t=>[t,un.MOV])),...["mp3"].map((t=>[t,un.MP3])),...["mp4","m4v"].map((t=>[t,un.MP4])),...["ogg","oga"].map((t=>[t,un.OGG])),...["pdf","ps"].map((t=>[t,un.PDF])),...["png"].map((t=>[t,un.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,un.POWERPOINT])),...["rar"].map((t=>[t,un.RAR])),...["stp"].map((t=>[t,un.STP])),...["txt","rtf","md","mdown"].map((t=>[t,un.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,un.VIDEO])),...["wav"].map((t=>[t,un.WAV])),...["wma"].map((t=>[t,un.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,un.WORD])),...["xml","xsl","rdf"].map((t=>[t,un.XML])),...["yaml","yml","x-yaml"].map((t=>[t,un.YAML])),...["zip"].map((t=>[t,un.ZIP]))]),un.ABW,un.AUDIO,un.AVI,un.CHM,un.CODE,un.CSV,un.DITA,un.EPUB,un.EXCEL,un.FLAC,un.GIF,un.GZIP,un.HTML,un.IMAGE,un.JPEG,un.JSON,un.M4A,un.MOV,un.MP3,un.MP4,un.OGG,un.PDF,un.PNG,un.POWERPOINT,un.RAR,un.STP,un.TEXT,un.UNKNOWN,un.VIDEO,un.WAV,un.WMA,un.WORD,un.XML,un.YAML,un.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yn||(yn={}));var gn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends zo{constructor(){super(...arguments),this.resolvedIcon=io}render(){const t=this.variant&&Object.values(yn).includes(this.variant)?this.variant:yn.fluid_topics,o=t!==yn.material||!!this.value;return oo`
|
|
711
|
+
class fn extends ee{constructor(t){if(super(t),this.et=tt,t.type!==te)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}fn.directiveName="unsafeHTML",fn.resultType=1;const hn=oe(fn);var dn,un,yn;!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=""}(dn||(dn={})),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=""}(un||(un={})),new Map([...["abw"].map((t=>[t,un.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,un.AUDIO])),...["avi"].map((t=>[t,un.AVI])),...["chm","xhs"].map((t=>[t,un.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,un.CODE])),...["csv"].map((t=>[t,un.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,un.DITA])),...["epub"].map((t=>[t,un.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,un.EXCEL])),...["flac"].map((t=>[t,un.FLAC])),...["gif"].map((t=>[t,un.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,un.GZIP])),...["html","htm","xhtml"].map((t=>[t,un.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,un.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,un.JPEG])),...["json"].map((t=>[t,un.JSON])),...["m4a","m4p"].map((t=>[t,un.M4A])),...["mov","qt"].map((t=>[t,un.MOV])),...["mp3"].map((t=>[t,un.MP3])),...["mp4","m4v"].map((t=>[t,un.MP4])),...["ogg","oga"].map((t=>[t,un.OGG])),...["pdf","ps"].map((t=>[t,un.PDF])),...["png"].map((t=>[t,un.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,un.POWERPOINT])),...["rar"].map((t=>[t,un.RAR])),...["stp"].map((t=>[t,un.STP])),...["txt","rtf","md","mdown"].map((t=>[t,un.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,un.VIDEO])),...["wav"].map((t=>[t,un.WAV])),...["wma"].map((t=>[t,un.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,un.WORD])),...["xml","xsl","rdf"].map((t=>[t,un.XML])),...["yaml","yml","x-yaml"].map((t=>[t,un.YAML])),...["zip"].map((t=>[t,un.ZIP]))]),un.ABW,un.AUDIO,un.AVI,un.CHM,un.CODE,un.CSV,un.DITA,un.EPUB,un.EXCEL,un.FLAC,un.GIF,un.GZIP,un.HTML,un.IMAGE,un.JPEG,un.JSON,un.M4A,un.MOV,un.MP3,un.MP4,un.OGG,un.PDF,un.PNG,un.POWERPOINT,un.RAR,un.STP,un.TEXT,un.UNKNOWN,un.VIDEO,un.WAV,un.WMA,un.WORD,un.XML,un.YAML,un.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yn||(yn={}));var gn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends zo{constructor(){super(...arguments),this.resolvedIcon=io}render(){const t=this.variant&&Object.values(yn).includes(this.variant)?this.variant:yn.fluid_topics,o=t!==yn.material||!!this.value;return oo`
|
|
712
712
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
713
713
|
${hn(this.resolvedIcon)}
|
|
714
714
|
<slot ?hidden=${o}></slot>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-collapsible",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.19",
|
|
4
4
|
"description": "Collapsible web component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-button": "1.1.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-button": "1.1.19",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "1.1.19",
|
|
24
24
|
"lit": "3.1.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "b272462216d04e50b2a31bfdb5e1b6f3a241ce9d"
|
|
27
27
|
}
|