@dialpad/dialtone-icons
Version:
Dialtone icon library
1 lines • 4.78 kB
Source Map (JSON)
{"version":3,"file":"dialpad-analytics-ai.cjs","sources":["../../../../src/icons/dialpad-analytics-ai.vue"],"sourcesContent":["<template>\n <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Dialpad Analytics Ai\" class=\"d-icon d-icon--dialpad-analytics-ai\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"12\" cy=\"12\" r=\"12\" :fill=\"`url(#${uniqueID}a)`\"/><circle cx=\"12\" cy=\"12\" r=\"11.75\" fill=\"transparent\" stroke=\"#000\" stroke-opacity=\".1\" stroke-width=\".5\"/><path d=\"M13.499 8.49c.357.302.707.623 1.047.963 2.964 2.964 4.328 6.47 2.853 7.947-.866.865-2.427.767-4.225-.112a.433.433 0 0 1 .38-.777c1.503.735 2.7.81 3.234.277 1-1-.19-4.061-2.853-6.723a15.829 15.829 0 0 0-.993-.913.432.432 0 0 1 .557-.661Zm1.958 4.408a.432.432 0 0 1 .05.61c-.294.346-.615.693-.96 1.039-2.965 2.963-6.471 4.327-7.946 2.852-.865-.865-.768-2.424.11-4.222a.432.432 0 1 1 .776.38c-.734 1.502-.808 2.698-.275 3.231 1 1 4.06-.19 6.723-2.852.33-.33.634-.66.912-.988a.433.433 0 0 1 .61-.05ZM10.822 6.71a.433.433 0 0 1-.38.778c-1.502-.734-2.697-.809-3.23-.276-1 1 .19 4.06 2.852 6.724.322.322.653.626.99.91a.433.433 0 0 1-.556.661 16.71 16.71 0 0 1-1.046-.96C6.49 11.583 5.125 8.076 6.601 6.6c.864-.865 2.423-.768 4.221.11Zm1.2 3.79a.246.246 0 0 1 .178.18l.18.747c.03.129.129.232.257.267l.66.185a.227.227 0 0 1-.009.44l-.624.15a.367.367 0 0 0-.273.278l-.186.852a.24.24 0 0 1-.469 0l-.185-.85a.366.366 0 0 0-.274-.28l-.647-.152a.227.227 0 0 1-.17-.274.227.227 0 0 1 .16-.168l.65-.182a.366.366 0 0 0 .256-.26l.198-.758a.245.245 0 0 1 .299-.175ZM17.4 6.6c.865.867.768 2.431-.111 4.232a.432.432 0 1 1-.777-.38c.736-1.506.81-2.706.277-3.24-1.001-1-4.062.19-6.724 2.853-.324.323-.63.657-.916.997a.432.432 0 1 1-.661-.557c.301-.359.625-.71.966-1.052 2.963-2.963 6.47-4.328 7.946-2.852Z\" fill=\"#fff\"/><defs><linearGradient :id=\"`${uniqueID}a`\" x1=\"0\" y1=\"0\" x2=\"24\" y2=\"24\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#471571\"/><stop offset=\".031\" stop-color=\"#551B84\"/><stop offset=\".145\" stop-color=\"#7C229E\"/><stop offset=\".237\" stop-color=\"#9024A4\"/><stop offset=\".355\" stop-color=\"#B02290\"/><stop offset=\".483\" stop-color=\"#D32B86\"/><stop offset=\".603\" stop-color=\"#E92F6F\"/><stop offset=\".701\" stop-color=\"#F6484F\"/><stop offset=\".9\" stop-color=\"#FB7328\"/><stop offset=\".973\" stop-color=\"#F3960F\"/><stop offset=\"1\" stop-color=\"#F3960F\"/></linearGradient></defs></svg>\n</template>\n\n<script>\nimport { getUniqueString } from '@/src/utils';\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n name: 'DtIconDialpadAnalyticsAi',\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","_createElementBlock","$props","_normalizeClass","$options","_createElementVNode","_ctx"],"mappings":"8KAQKA,EAAU,CACb,KAAM,2BAEN,MAAO,CAKL,KAAM,CACJ,KAAM,OACN,QAAS,MACT,UAAYC,GAAM,OAAO,KAAKC,GAAmB,EAAE,SAASD,CAAC,GAM/D,UAAW,CACT,KAAM,OACN,QAAS,SAQb,MAAO,CAAC,QAAQ,EAEhB,SAAU,CACR,eAAiB,CACf,OAAOC,EAAAA,EAAoB,KAAK,IAAI,CACtC,EAEA,YAAc,CACZ,OAAQ,KAAK,UAAqB,QAAT,MAC3B,EAEA,QAAU,CACR,OAAO,KAAK,OAAO,SAAS,GAAK,SACnC,GAGF,SAAW,CACT,KAAK,MAAM,QAAQ,EACnB,KAAK,SAAWC,IAAe,CACjC,CACF,4GAtDEC,EAAAA,mBAAivE,MAAA,CAA3uE,aAAYC,EAAA,UAAY,MAAKC,EAAAA,eAAA,CAAEC,EAAA,cAA6G,qCAAqC,CAAA,EAAlI,UAASA,EAAA,OAAS,cAAaA,EAAA,WAAY,KAAK,MAAM,YAAU,uBAAmE,QAAQ,YAAY,MAAM,+BAA6BC,EAAAA,mBAA6D,SAAA,CAArD,GAAG,KAAK,GAAG,KAAK,EAAE,KAAM,aAAcC,EAAA,QAAQ,4BAAOD,EAAAA,mBAA0G,SAAA,CAAlG,GAAG,KAAK,GAAG,KAAK,EAAE,QAAQ,KAAK,cAAc,OAAO,OAAO,iBAAe,KAAK,eAAa,4BAAMA,EAAAA,mBAA0xC,OAAA,CAApxC,EAAE,qwCAAqwC,KAAK,kBAAQA,EAAAA,mBAA2jB,OAAA,KAAA,CAArjBA,EAAAA,mBAA8iB,iBAAA,CAA7hB,MAAOC,EAAA,QAAQ,IAAK,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,cAAc"}