@kelvininc/ui-components
Version:
Kelvin UI Components
40 lines (35 loc) • 5.01 kB
JavaScript
import { p as proxyCustomElement, H, h, e as Host } from './p-D6GMjtmE.js';
import { g as getClassMap } from './p-DKOxy79t.js';
const illustrationsCss = "@property --rotation{syntax:\"<angle>\";initial-value:0deg;inherits:false}@keyframes rotate-border{to{--rotation:360deg}}.illustration{--illustration-color:var(--kv-illustrations-color, #005cc7);--illustration-color-light-90:var(--kv-illustrations-color-light-90, rgb(228.225, 237.885, 249.12));--illustration-color-light-80:var(--kv-illustrations-color-light-80, rgb(200.175, 219.955, 242.96));--illustration-color-dark-55:var(--kv-illustrations-color-dark-55, rgb(0, 41.86, 90.545));--illustration-color-dark-35:var(--kv-illustrations-color-dark-35, rgb(0, 58.88, 127.36));--illustration-success-color:var(--kv-illustrations-success-color, #05a357);width:var(--illustration-width);height:var(--illustration-height);display:flex}.illustration-full-size{width:100%;height:100%}";
const KvNoContentHere$1 = /*@__PURE__*/ proxyCustomElement(class KvNoContentHere extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
/** @inheritdoc */
this.customClass = '';
}
render() {
return (h(Host, { key: '2162075e4dc2e4a43d1cb3bbf49109912f7e2a8a' }, h("svg", { key: '871327ac009a2b6b10e416758656baae20d1f2e3', part: "illustration", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 100 87", class: Object.assign(Object.assign({}, getClassMap(this.customClass)), { illustration: true }) }, h("circle", { key: '0f82c146b57b71d6954da7d21d33b9b45ace4fe8', cx: "56.5", cy: "43.63", r: "40", fill: "#2A2A2A" }), h("mask", { key: '92df8e8831c5df76604e639b5ecf1244b375cfdd', id: "a", width: "81", height: "81", x: "16", y: "3", maskUnits: "userSpaceOnUse", style: { "mask-type": "alpha" } }, h("circle", { key: '49d0c6c463455ea78a722d8a02497abe8fb9476e', cx: "56.5", cy: "43.63", r: "40", fill: "#2A2A2A" })), h("g", { key: '2016e868991ed01aa0cfa055b8cc4cb298495c2b', mask: "url(#a)" }, h("path", { key: '58e6f87ab88d53a50211b5bd0adc4c8770b6bd7d', fill: "#3F3F3F", d: "M86.5 33.63h-60v54h60z" }), h("path", { key: '3ae3532c8701389cb340dc1fd7784c0d6758621f', fill: "#707070", d: "M87.5 33.63h-62v3h62z" }), h("path", { key: '044e40728b74a7a9f0bf6a82ad351196fee583b2', fill: "#3F3F3F", d: "M38.5 36.63h-6v48h6z" }), h("path", { key: 'f77642172e0db049ee1465917a8e0c76db380a7f', fill: "#707070", d: "M35.5 33.63h-5v3h5z" }), h("path", { key: 'b6c052890b2a13f0c98e10607d7208aaa61c5b84', fill: "#202020", d: "M81.5 60.63v-2h-10v2z" }), h("path", { key: 'f60a55d1f0c2ad54e76ba09dd4c3f18fc0b5550d', fill: "#202020", d: "M72.451 33.555h-1.95v58.15h1.95zm10.049 0h-1.95v58.15h1.95z" }), h("path", { key: '7ec8f165340adec42efc4136c2e7fca8d358f7e0', fill: "#202020", d: "M81.5 74.63v-2h-10v2zm0-7v-2h-10v2zm0-14v-2h-10v2zm0-7v-2h-10v2zm0-7v-2h-10v2z" }), h("path", { key: 'a7e1390434bba33d3a2e2a02713b4f26b8e4ee9e', fill: "#707070", d: "M48.782 58.912c1.427-4.817 7.104-13.546 7.463-13.546s6.046 8.729 7.463 13.546c1.473 4.979-3.09 9.267-7.463 9.267s-8.936-4.288-7.463-9.267" }), h("path", { key: 'e889a8aa6751fd9415b7afb2e4c840a19339dde0', fill: "#3F3F3F", d: "M63.5 31.63h-13v2h13z" }), h("path", { key: '8542135109e269698586b7983ccfaf254a2f995e', fill: "#707070", d: "M65.5 30.63h-17v1h17z" })), h("path", { key: '937e91c340149b7cad3695e307c189eb1e576888', fill: "#8358FE", d: "M13.402 58.43v25.2h5.4v-25.2z" }), h("path", { key: '1da9618f966569ac7cf0ba022f47a61a294ffe2d', fill: "#714ED3", d: "M13.402 62.21v17.64h2.7V62.21z" }), h("path", { key: '839285d9b4feae4fd07847a253f9a90118e5c09b', fill: "#8358FE", d: "M24.201 58.43v25.2h5.4v-25.2z" }), h("path", { key: '2838f20eb010ef09fb35ea212d27e1704185c9b9', fill: "#714ED3", d: "M24.201 62.21v17.64h2.7V62.21z" }), h("path", { key: 'cd86fd539ba0a7afa7747178b6e1706c2dd91afe', fill: "#BEBEBE", d: "M39.5 58.05h-36v5.685h36z" }), h("path", { key: 'c4191d57921705845f5ebf23ccc5936d73a1e456', fill: "#DDD", d: "M36.658 58.05H5.395v2.843h31.263z" }), h("path", { key: '22ea6621edf8c8678a40ded4307f05693c3df171', fill: "#DDD", "fill-rule": "evenodd", d: "M6.2 83.63a2.7 2.7 0 0 1-2.7-2.7v-30.6a2.7 2.7 0 0 1 2.7-2.7h30.6a2.7 2.7 0 0 1 2.7 2.7v30.6a2.7 2.7 0 0 1-2.7 2.7zm29.51-3.79V51.42H7.29v28.42z", "clip-rule": "evenodd" }))));
}
static get style() { return illustrationsCss; }
}, [1, "kv-no-content-here", {
"customClass": [513, "custom-class"]
}]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["kv-no-content-here"];
components.forEach(tagName => { switch (tagName) {
case "kv-no-content-here":
if (!customElements.get(tagName)) {
customElements.define(tagName, KvNoContentHere$1);
}
break;
} });
}
defineCustomElement$1();
const KvNoContentHere = KvNoContentHere$1;
const defineCustomElement = defineCustomElement$1;
export { KvNoContentHere, defineCustomElement };