UNPKG

@phosphor-icons/webcomponents

Version:
79 lines (78 loc) 4.88 kB
import "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.mjs"; import { svg as e, html as H } from "../node_modules/.pnpm/lit-html@3.1.4/node_modules/lit-html/lit-html.mjs"; import { LitElement as V } from "../node_modules/.pnpm/lit-element@4.0.6/node_modules/lit-element/lit-element.mjs"; import { customElement as l } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.mjs"; import { property as m } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.mjs"; import { css as A } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.mjs"; var M = Object.defineProperty, n = Object.getOwnPropertyDescriptor, s = (a, o, Z, h) => { for (var r = h > 1 ? void 0 : h ? n(o, Z) : o, i = a.length - 1, p; i >= 0; i--) (p = a[i]) && (r = (h ? p(o, Z, r) : p(r)) || r); return h && r && M(o, Z, r), r; }; let t = class extends V { constructor() { super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1; } render() { var a; return H`<svg xmlns="http://www.w3.org/2000/svg" width="${this.size}" height="${this.size}" fill="${this.color}" viewBox="0 0 256 256" transform=${this.mirrored ? "scale(-1, 1)" : null} > ${t.weightsMap.get((a = this.weight) != null ? a : "regular")} </svg>`; } }; t.weightsMap = /* @__PURE__ */ new Map([ [ "thin", e`<path d="M208,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36Zm-20,64h24v56H188Zm24-52V92H188V44h20A4,4,0,0,1,212,48ZM44,208V48a4,4,0,0,1,4-4H180V212H48A4,4,0,0,1,44,208Zm164,4H188V164h24v44A4,4,0,0,1,208,212Zm-60.12-45a36.24,36.24,0,0,0-20.44-23.67,28,28,0,1,0-30.88,0A36.28,36.28,0,0,0,76.13,167,4,4,0,0,0,79,171.87a3.87,3.87,0,0,0,1,.13,4,4,0,0,0,3.87-3C87,157,99.05,148,112,148s25.05,9,28.12,21a4,4,0,0,0,7.76-2ZM92,120a20,20,0,1,1,20,20A20,20,0,0,1,92,120Z"/>` ], [ "light", e`<path d="M208,34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34Zm-18,68h20v52H190Zm20-54V90H190V46h18A2,2,0,0,1,210,48ZM46,208V48a2,2,0,0,1,2-2H178V210H48A2,2,0,0,1,46,208Zm162,2H190V166h20v42A2,2,0,0,1,208,210Zm-58.19-43.49A38,38,0,0,0,131.23,143a30,30,0,1,0-38.45,0A38,38,0,0,0,74.19,166.5a6,6,0,0,0,11.62,3C88.67,158.38,99.93,150,112,150s23.34,8.38,26.19,19.49a6,6,0,0,0,11.62-3ZM94,120a18,18,0,1,1,18,18A18,18,0,0,1,94,120Z"/>` ], [ "regular", e`<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm-16,72h16v48H192Zm16-16H192V48h16ZM48,48H176V208H48ZM208,208H192V168h16v40Zm-56.25-42a39.76,39.76,0,0,0-17.19-23.34,32,32,0,1,0-45.12,0A39.84,39.84,0,0,0,72.25,166a8,8,0,0,0,15.5,4c2.64-10.25,13.06-18,24.25-18s21.62,7.73,24.25,18a8,8,0,1,0,15.5-4ZM96,120a16,16,0,1,1,16,16A16,16,0,0,1,96,120Z"/>` ], [ "bold", e`<path d="M208,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28Zm-20,80h16v40H188Zm16-24H188V52h16ZM52,52H164V204H52ZM188,204V172h16v32Zm-36.38-39a43.22,43.22,0,0,0-15.16-23,36,36,0,1,0-56.92,0,43.35,43.35,0,0,0-15.16,23,12,12,0,1,0,23.24,6c2.2-8.54,11-15,20.38-15s18.19,6.44,20.38,15a12,12,0,0,0,23.24-6ZM96,120a12,12,0,1,1,12,12A12,12,0,0,1,96,120Z"/>` ], [ "fill", e`<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,48h24V88H184Zm0,56h24v48H184Zm-38,71.75a8,8,0,0,1-9.74-5.76c-2.63-10.26-13.06-18-24.25-18s-21.61,7.74-24.25,18a8,8,0,0,1-15.5-4,39.84,39.84,0,0,1,17.19-23.34,32,32,0,1,1,45.12,0A39.76,39.76,0,0,1,151.75,166,8,8,0,0,1,146,175.75ZM208,208H184V168h24v40Zm-80-88a16,16,0,1,1-16-16A16,16,0,0,1,128,120Z"/>` ], [ "duotone", e`<path d="M48,40a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8H184V40Zm64,104a24,24,0,1,1,24-24A24,24,0,0,1,112,144Z" opacity="0.2"/><path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm-16,72h16v48H192Zm16-16H192V48h16ZM48,48H176V208H48ZM208,208H192V168h16v40Zm-56.25-42a39.76,39.76,0,0,0-17.19-23.34,32,32,0,1,0-45.12,0A39.84,39.84,0,0,0,72.25,166a8,8,0,0,0,15.5,4c2.64-10.25,13.06-18,24.25-18s21.62,7.73,24.25,18a8,8,0,1,0,15.5-4ZM96,120a16,16,0,1,1,16,16A16,16,0,0,1,96,120Z"/>` ] ]); t.styles = A` :host { display: contents; } `; s([ m({ type: String, reflect: !0 }) ], t.prototype, "size", 2); s([ m({ type: String, reflect: !0 }) ], t.prototype, "weight", 2); s([ m({ type: String, reflect: !0 }) ], t.prototype, "color", 2); s([ m({ type: Boolean, reflect: !0 }) ], t.prototype, "mirrored", 2); t = s([ l("ph-address-book-tabs") ], t); export { t as PhAddressBookTabs };