@dialpad/dialtone-icons
Version:
Dialtone icon library
135 lines (134 loc) • 13.1 kB
JavaScript
import { t as e } from "../../utils-C1uyTI6x.js";
import { t } from "../../constants-B7fXbm2f.js";
import { t as n } from "../../_plugin-vue_export-helper-B52Kst-M.js";
import { createElementBlock as r, createElementVNode as i, createStaticVNode as a, normalizeClass as o, openBlock as s } from "vue";
//#region ../src/icons/o365-calendar.vue
var c = {
name: "DtIconO365Calendar",
props: {
size: {
type: String,
default: "500",
validator: (e) => Object.keys(t).includes(e)
},
ariaLabel: {
type: String,
default: void 0
}
},
emits: ["loaded"],
computed: {
iconSizeClass() {
return t[this.size];
},
ariaHidden() {
return this.ariaLabel ? "false" : "true";
},
dataQA() {
return this.$attrs["data-qa"] ?? "dt-icon";
}
},
created() {
this.$emit("loaded"), this.uniqueID = e();
}
}, l = [
"aria-label",
"data-qa",
"aria-hidden"
], u = ["clip-path"], d = ["fill"], f = ["fill"], p = { filter: "url(#m)" }, m = ["fill"], h = { filter: "url(#o)" }, g = ["fill"], _ = ["id"], v = ["id"], y = ["id"], b = ["id"], x = ["id"];
function S(e, t, n, c, S, C) {
return s(), r("svg", {
"aria-label": n.ariaLabel,
class: o([C.iconSizeClass, "d-icon d-icon--o365-calendar"]),
"data-qa": C.dataQA,
"aria-hidden": C.ariaHidden,
role: "img",
"data-name": "O365 Calendar",
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg"
}, [i("g", { "clip-path": `url(#${e.uniqueID}a)` }, [
i("rect", {
x: "2",
y: "3.428",
width: "20",
height: "5.714",
rx: "1.143",
fill: `url(#${e.uniqueID}b)`
}, null, 8, d),
i("path", {
d: "M2 7.715h20v13.143c0 .631-.512 1.143-1.143 1.143H3.143A1.143 1.143 0 0 1 2 20.858V7.715Z",
fill: `url(#${e.uniqueID}c)`
}, null, 8, f),
t[0] || (t[0] = a("<g filter=\"url(#d)\"><circle cx=\"10.213\" cy=\"10.215\" fill=\"#F2F2F2\" r=\"1.071\"></circle></g><g filter=\"url(#e)\"><circle cx=\"10.213\" cy=\"14.5\" fill=\"#F2F2F2\" r=\"1.071\"></circle></g><g filter=\"url(#f)\"><circle cx=\"10.213\" cy=\"18.787\" fill=\"#F2F2F2\" r=\"1.071\"></circle></g><g filter=\"url(#g)\"><circle cx=\"5.93\" cy=\"14.5\" fill=\"#F2F2F2\" r=\"1.071\"></circle></g><g filter=\"url(#h)\"><circle cx=\"5.93\" cy=\"18.787\" fill=\"#F2F2F2\" r=\"1.071\"></circle></g><g filter=\"url(#i)\"><circle cx=\"14.499\" cy=\"10.215\" fill=\"#F2F2F2\" r=\"1.071\"></circle></g><g filter=\"url(#j)\"><circle cx=\"18.786\" cy=\"10.215\" fill=\"#F2F2F2\" r=\"1.071\"></circle></g><g filter=\"url(#k)\"><circle cx=\"14.499\" cy=\"14.5\" fill=\"#F2F2F2\" r=\"1.071\"></circle></g><g filter=\"url(#l)\"><circle cx=\"18.786\" cy=\"14.5\" fill=\"#F2F2F2\" r=\"1.071\"></circle></g>", 9)),
i("g", p, [i("rect", {
x: "6.286",
y: "2",
width: "2.857",
height: "4.286",
rx: "1.429",
fill: `url(#${e.uniqueID}n)`
}, null, 8, m)]),
i("g", h, [i("rect", {
x: "14.858",
y: "2",
width: "2.857",
height: "4.286",
rx: "1.429",
fill: `url(#${e.uniqueID}p)`
}, null, 8, g)])
], 8, u), i("defs", null, [
t[6] || (t[6] = a("<filter id=\"d\" x=\"5.714\" y=\"6.858\" width=\"11.286\" height=\"11.286\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"2.286\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"e\" x=\"5.714\" y=\"11.143\" width=\"11.286\" height=\"11.286\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"2.286\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"f\" x=\"5.714\" y=\"15.43\" width=\"11.286\" height=\"11.286\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"2.286\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"g\" x=\"1.43\" y=\"11.143\" width=\"11.286\" height=\"11.286\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"2.286\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"h\" x=\"1.43\" y=\"15.43\" width=\"11.286\" height=\"11.286\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"2.286\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"i\" x=\"9.999\" y=\"6.858\" width=\"11.286\" height=\"11.286\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"2.286\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"j\" x=\"14.286\" y=\"6.858\" width=\"11.286\" height=\"11.286\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"2.286\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"k\" x=\"9.999\" y=\"11.143\" width=\"11.286\" height=\"11.286\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"2.286\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"l\" x=\"14.286\" y=\"11.143\" width=\"11.286\" height=\"11.286\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"2.286\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"m\" x=\"2.858\" y=\"-1.429\" width=\"12\" height=\"13.429\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"1.143\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter><filter id=\"o\" x=\"11.43\" y=\"-1.429\" width=\"12\" height=\"13.429\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feColorMatrix in=\"SourceAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"></feColorMatrix><feOffset dx=\"1.143\" dy=\"1.143\"></feOffset><feGaussianBlur stdDeviation=\"2.286\"></feGaussianBlur><feComposite in2=\"hardAlpha\" operator=\"out\"></feComposite><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0\"></feColorMatrix><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_13091_975\"></feBlend><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_13091_975\" result=\"shape\"></feBlend></filter>", 11)),
i("linearGradient", {
id: `${e.uniqueID}b`,
x1: "2.714",
y1: "4.143",
x2: "22",
y2: "7.714",
gradientUnits: "userSpaceOnUse"
}, [...t[1] || (t[1] = [i("stop", { "stop-color": "#0667B8" }, null, -1), i("stop", {
offset: "1",
"stop-color": "#0E5399"
}, null, -1)])], 8, _),
i("linearGradient", {
id: `${e.uniqueID}c`,
x1: "2.714",
y1: "8.365",
x2: "19.219",
y2: "22.889",
gradientUnits: "userSpaceOnUse"
}, [...t[2] || (t[2] = [i("stop", { "stop-color": "#28AFEA" }, null, -1), i("stop", {
offset: "1",
"stop-color": "#1797E0"
}, null, -1)])], 8, v),
i("linearGradient", {
id: `${e.uniqueID}n`,
x1: "7.715",
y1: "2",
x2: "7.715",
y2: "6.286",
gradientUnits: "userSpaceOnUse"
}, [...t[3] || (t[3] = [i("stop", { "stop-color": "#3CCBF4" }, null, -1), i("stop", {
offset: "1",
"stop-color": "#3CCBF4"
}, null, -1)])], 8, y),
i("linearGradient", {
id: `${e.uniqueID}p`,
x1: "16.287",
y1: "2",
x2: "16.287",
y2: "6.286",
gradientUnits: "userSpaceOnUse"
}, [...t[4] || (t[4] = [i("stop", { "stop-color": "#3CCBF4" }, null, -1), i("stop", {
offset: "1",
"stop-color": "#3CCBF4"
}, null, -1)])], 8, b),
i("clipPath", { id: `${e.uniqueID}a` }, [...t[5] || (t[5] = [i("path", {
fill: "#fff",
d: "M0 0h24v24H0z"
}, null, -1)])], 8, x)
])], 10, l);
}
var C = /* @__PURE__ */ n(c, [["render", S]]);
//#endregion
export { C as default };
//# sourceMappingURL=o365-calendar.js.map