@peculiar/fortify-webcomponents
Version:
Web-components for creating CSR or Certificate and viewing certificates list using Fortify
5 lines • 1.23 kB
JavaScript
/*!
* © Peculiar Ventures https://peculiarventures.com/ - BSD 3-Clause License
*/
import{r as e,h as a,H as t}from"./p-BA3hMeq-.js";import{B as s}from"./p-Cu2G3S4P.js";import{A as i,a as c}from"./p-BHJ6SFGg.js";import"./p-DLAyyF7V.js";const r=()=>`.sc-peculiar-text-hider-h{display:-ms-flexbox;display:flex;width:100%;gap:calc(var(--pv-size-base) * 4)}[aria-expanded=true].sc-peculiar-text-hider-h .content.sc-peculiar-text-hider{white-space:initial}.content.sc-peculiar-text-hider{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.action.sc-peculiar-text-hider{-ms-flex-negative:0;flex-shrink:0;margin-top:calc(var(--pv-size-base) * -1)}`;const d=class{constructor(a){e(this,a);this.opened=false}render(){return a(t,{key:"e62e0ae5bad2145d9d0f8e47493d89f1c9bdd559","aria-expanded":String(this.opened)},a("div",{key:"ee6a5b678e4ff568d017fde3168a37c818c241da",class:"content"},a("slot",{key:"b9d073a716fec21e5e9c1dadc66da3fef292d00b"})),a(s,{key:"398b81d7ec84ccac8803f46dd4d78104a86b9be7",class:"action",startIcon:this.opened?a(i,{color:"secondary"}):a(c,{color:"secondary"}),onClick:()=>{this.opened=!this.opened}}))}};d.style=r();export{d as peculiar_text_hider};
//# sourceMappingURL=p-8c2835bf.entry.js.map