UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

1 lines 4.95 kB
{"version":3,"file":"microsoft-dynamics-365.cjs","sources":["../../../src/icons/microsoft-dynamics-365.vue"],"sourcesContent":["<template>\n <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Microsoft Dynamics 365\" class=\"d-icon d-icon--microsoft-dynamics-365\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><mask id=\"a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"4\" y=\"2\" width=\"15\" height=\"20\"><path d=\"M18.583 8.328c0-.88-.553-1.666-1.382-1.962L5.114 2.049A.833.833 0 0 0 4 2.834v6.564c0 .352.221.666.553.784l5.417 1.935a.833.833 0 0 0 1.113-.785V7.563c0-.29.291-.492.564-.39l1.42.535a2.083 2.083 0 0 1 1.35 1.95v1.641l-6.12 2.236a.833.833 0 0 0-.547.783v6.559c0 .578.576.98 1.12.782l8.345-3.05a2.083 2.083 0 0 0 1.368-1.956V8.328z\" fill=\"#fff\"/></mask><g mask=\"url(#a)\"><path d=\"M4 1.652 18.583 6.86v7.15c0 .577-.57.98-1.113.786l-3.053-1.09v-4.05c0-.867-.538-1.644-1.35-1.95l-1.42-.533a.417.417 0 0 0-.564.39v4.952L4 9.985V1.652z\" :fill=\"`url(#${uniqueID}b)`\"/><g filter=\"url(#c)\"><path d=\"M18.583 8.401c0 .875-.546 1.659-1.368 1.959L7.75 13.818v8.333l10.833-3.958V8.401z\" fill=\"currentColor\" fill-opacity=\".24\"/></g><g filter=\"url(#d)\"><path d=\"M18.583 8.735c0 .875-.546 1.658-1.368 1.958L7.75 14.152v8.333l10.833-3.959V8.735z\" fill=\"currentColor\" fill-opacity=\".32\"/></g><path d=\"M18.583 8.318c0 .875-.546 1.658-1.368 1.959L7.75 13.735v8.333l10.833-3.958V8.318z\" :fill=\"`url(#${uniqueID}e)`\"/><path opacity=\".5\" d=\"M18.583 8.318c0 .875-.546 1.658-1.368 1.959L7.75 13.735v8.333l10.833-3.958V8.318z\" :fill=\"`url(#${uniqueID}f)`\"/><path opacity=\".5\" d=\"m14.417 11.302-3.335 1.22v4.887c0 .29.29.492.563.39l1.423-.536a2.083 2.083 0 0 0 1.349-1.95v-4.011z\" fill=\"#B0ADFF\"/></g><defs><linearGradient :id=\"`${uniqueID}b`\" x1=\"9.426\" y1=\"1.652\" x2=\"13.304\" y2=\"11.802\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#0B53CE\"/><stop offset=\"1\" stop-color=\"#7252AA\"/></linearGradient><linearGradient :id=\"`${uniqueID}e`\" x1=\"14.862\" y1=\"21.337\" x2=\"14.862\" y2=\"9.238\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#2266E3\"/><stop offset=\"1\" stop-color=\"#AE7FE2\"/></linearGradient><linearGradient :id=\"`${uniqueID}f`\" x1=\"18.583\" y1=\"13.69\" x2=\"14.433\" y2=\"13.69\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#94B9FF\"/><stop offset=\".288\" stop-color=\"#94B9FF\" stop-opacity=\".524\"/><stop offset=\"1\" stop-color=\"#538FFF\" stop-opacity=\"0\"/></linearGradient><filter id=\"c\" x=\"6.95\" y=\"7.601\" width=\"12.433\" height=\"15.35\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur stdDeviation=\".4\" result=\"effect1_foregroundBlur\"/></filter><filter id=\"d\" x=\"-.25\" y=\".735\" width=\"26.833\" height=\"29.75\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur stdDeviation=\"4\" result=\"effect1_foregroundBlur\"/></filter></defs></svg>\n</template>\n\n<script>\nimport { getUniqueString } from '@/src/utils';\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n name: 'DtIconMicrosoftDynamics365',\n\n props: {\n /**\n * The size of the icon.\n * @values 100, 200, 300, 400, 500, 600, 700, 800\n */\n size: {\n type: String,\n default: '500',\n validator: (s) => Object.keys(ICON_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational\n */\n ariaLabel: {\n type: String,\n default: undefined,\n },\n },\n\n /**\n * @TODO: Remove this emit once the icons migration is complete,\n * they will no longer need this event.\n * */\n emits: ['loaded'],\n\n computed: {\n iconSizeClass () {\n return ICON_SIZE_MODIFIERS[this.size];\n },\n\n ariaHidden () {\n return !this.ariaLabel ? 'true' : 'false';\n },\n\n dataQA () {\n return this.$attrs['data-qa'] ?? 'dt-icon';\n },\n },\n\n created () {\n this.$emit('loaded');\n this.uniqueID = getUniqueString();\n },\n};\n</script>\n"],"names":["_sfc_main","s","ICON_SIZE_MODIFIERS","getUniqueString"],"mappings":"kJAQAA,EAAA,CACA,KAAA,6BAEA,MAAA,CAKA,KAAA,CACA,KAAA,OACA,QAAA,MACA,UAAAC,GAAA,OAAA,KAAAC,GAAA,EAAA,SAAAD,CAAA,CACA,EAKA,UAAA,CACA,KAAA,OACA,QAAA,MACA,CACA,EAMA,MAAA,CAAA,QAAA,EAEA,SAAA,CACA,eAAA,CACA,OAAAC,EAAA,EAAA,KAAA,IAAA,CACA,EAEA,YAAA,CACA,OAAA,KAAA,UAAA,QAAA,MACA,EAEA,QAAA,CACA,OAAA,KAAA,OAAA,SAAA,GAAA,SACA,CACA,EAEA,SAAA,CACA,KAAA,MAAA,QAAA,EACA,KAAA,SAAAC,EAAAA,GACA,CACA"}