UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

1 lines 8.29 kB
{"version":3,"file":"union-pay.cjs","sources":["../../../src/icons/union-pay.vue"],"sourcesContent":["<template>\n <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Union Pay\" class=\"d-icon d-icon--union-pay\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\".25\" y=\"3.75\" width=\"23.5\" height=\"16.5\" rx=\"1.75\" fill=\"#fff\" stroke=\"#E3E5E8\" stroke-width=\".5\"/><path d=\"M6.968 7h3.782c.528 0 .856.444.733.99l-1.76 7.782c-.125.543-.654.987-1.182.987H4.759c-.527 0-.856-.444-.733-.987l1.761-7.783c.124-.545.652-.988 1.18-.988Z\" fill=\"#E21836\"/><path d=\"M10.435 7h4.35c.527 0 .29.443.165.988l-1.76 7.783c-.124.543-.086.987-.615.987H8.226c-.529 0-.856-.444-.732-.987l1.76-7.783C9.38 7.443 9.907 7 10.434 7Z\" fill=\"#00447C\"/><path d=\"M14.612 7h3.782c.529 0 .857.443.733.988l-1.76 7.783c-.125.543-.654.987-1.182.987h-3.78c-.53 0-.858-.444-.734-.987l1.76-7.783c.124-.545.652-.988 1.18-.988Z\" fill=\"#007B84\"/><path d=\"M7.955 9.494c-.389.004-.504 0-.54-.009a639.26 639.26 0 0 1-.278 1.317c-.056.252-.097.431-.237.548a.415.415 0 0 1-.28.1c-.172 0-.272-.089-.289-.256l-.003-.057.052-.34s.276-1.136.325-1.286a.113.113 0 0 0 .004-.017c-.536.005-.631 0-.638-.009l-.016.083-.282 1.28-.024.108-.047.356c0 .105.02.19.06.264.129.23.494.265.7.265.267 0 .517-.059.686-.165.293-.178.37-.457.438-.705l.032-.127s.284-1.18.332-1.333l.005-.017Zm.966.952a.732.732 0 0 0-.306.073c-.04.022-.08.047-.12.072l.037-.137-.02-.023c-.239.05-.292.057-.512.088l-.018.013a6.878 6.878 0 0 1-.143.81l-.111.475.01.02c.225-.012.294-.012.49-.009l.016-.017c.025-.132.028-.162.083-.428.026-.126.08-.403.106-.502a.357.357 0 0 1 .144-.046c.11 0 .096.099.092.138a5.083 5.083 0 0 1-.086.466l-.027.12-.06.26.01.018a5.14 5.14 0 0 1 .479-.009l.022-.017c.034-.205.044-.26.105-.559l.03-.137c.06-.268.09-.404.045-.515-.047-.124-.162-.154-.266-.154Zm1.078.28c-.118.024-.193.04-.268.05l-.26.04-.01.008-.008.007c-.012.087-.02.163-.036.252a4.74 4.74 0 0 1-.067.346c-.026.115-.04.155-.054.195-.015.041-.03.08-.06.193l.007.01.006.01c.106-.005.176-.009.248-.01.072-.002.146 0 .26.001l.01-.008.011-.01c.017-.101.02-.129.03-.178.01-.054.027-.128.07-.325l.063-.28.066-.279-.003-.011-.005-.01Zm.003-.378c-.108-.065-.296-.045-.423.045-.126.089-.14.214-.034.28.106.063.295.044.42-.046.127-.09.143-.215.037-.28Zm.649 1.51c.217 0 .44-.062.607-.245.129-.148.188-.368.208-.46.067-.3.015-.44-.05-.526-.1-.13-.274-.173-.456-.173-.109 0-.369.011-.572.204-.146.14-.213.328-.254.509-.04.184-.088.516.208.64.092.04.224.05.309.05Zm-.017-.678c.05-.227.109-.419.26-.419.118 0 .127.143.074.371-.01.051-.053.24-.111.32-.04.06-.089.095-.142.095-.016 0-.11 0-.112-.144 0-.07.014-.144.03-.223Zm1.375.648.017-.017c.024-.132.028-.162.081-.428.027-.126.082-.403.108-.502.049-.023.097-.046.144-.046.11 0 .096.098.091.138a4.621 4.621 0 0 1-.085.466l-.026.12c-.02.088-.042.173-.06.26l.008.018c.223-.012.288-.012.479-.009l.023-.017c.033-.205.042-.26.105-.559l.03-.137c.06-.268.09-.404.045-.515-.048-.124-.163-.154-.267-.154a.727.727 0 0 0-.425.145l.035-.137-.019-.023c-.238.05-.292.057-.512.089l-.017.012a7.161 7.161 0 0 1-.143.81l-.11.475.01.02a5.32 5.32 0 0 1 .488-.009Zm1.638.01.098-.488s.07-.307.075-.318c0 0 .022-.032.045-.044h.033c.31 0 .659 0 .933-.208.186-.142.314-.352.37-.608a.943.943 0 0 0 .026-.212.455.455 0 0 0-.074-.27c-.14-.201-.418-.205-.74-.206l-.158.001a7.109 7.109 0 0 1-.644-.005l-.016.086-.147.704-.37 1.565a7 7 0 0 1 .569.002Zm.273-1.25.156-.698.005-.036.002-.027.063.006.33.03c.128.05.18.181.143.352a.511.511 0 0 1-.258.35c-.104.055-.231.059-.363.059h-.085l.007-.035Zm.975.605c-.041.182-.089.514.206.632a.562.562 0 0 0 .264.05.43.43 0 0 0 .252-.12l-.021.083.013.018c.212-.01.278-.01.508-.008l.02-.016c.034-.203.066-.4.153-.789l.129-.555-.007-.02c-.238.044-.301.054-.53.087l-.016.015-.008.055a.328.328 0 0 0-.166-.14c-.101-.042-.34.011-.545.203-.144.137-.213.325-.252.505Zm.498.011c.051-.223.11-.413.26-.413.096 0 .147.091.136.246a7.89 7.89 0 0 1-.027.125l-.047.199a.488.488 0 0 1-.056.116.259.259 0 0 1-.185.092c-.015 0-.108 0-.112-.142a.99.99 0 0 1 .031-.223Zm2.603-.739-.018-.021a5.415 5.415 0 0 1-.494.086l-.015.017-.003.01v-.003c-.161.381-.156.299-.287.599 0-.014 0-.022-.002-.037l-.032-.65-.02-.022c-.247.049-.253.056-.48.086l-.018.017c-.002.008-.002.016-.003.025l.001.004c.028.15.021.116.05.352.013.115.031.232.044.346.023.191.035.285.063.577-.154.26-.19.36-.338.588l.001.002-.104.17c-.012.017-.023.03-.038.035a.154.154 0 0 1-.068.01h-.057l-.086.293.294.005a.36.36 0 0 0 .34-.195l.184-.326h-.003l.02-.023c.124-.275 1.069-1.945 1.069-1.945Zm-3.101 3.852h-.125l.462-1.571h.153l.048-.162.005.18c-.006.111.08.21.303.194h.258l.089-.303h-.098c-.055 0-.081-.014-.078-.045l-.005-.184h-.478v.001c-.155.004-.616.016-.71.041-.113.03-.232.118-.232.118l.047-.162h-.448l-.093.322-.467 1.595h-.09l-.09.3h.891l-.03.1h.44l.028-.1h.123l.097-.324Zm-.366-1.252c-.071.02-.204.082-.204.082l.118-.401h.355l-.085.292s-.11.007-.184.027Zm.007.574s-.111.014-.185.031a1.794 1.794 0 0 0-.208.094l.122-.418h.358l-.087.293Zm-.199.681h-.356l.103-.352h.355l-.102.352Zm.859-.974h.514l-.074.246h-.521l-.078.27h.455l-.345.5a.142.142 0 0 1-.07.06.201.201 0 0 1-.092.027h-.126l-.087.295h.33a.4.4 0 0 0 .349-.186l.236-.334.051.339c.01.063.055.1.085.115.033.017.067.046.116.05.051.003.089.005.114.005h.162l.098-.33h-.064c-.037 0-.1-.007-.111-.019-.011-.014-.011-.036-.017-.07l-.051-.34h-.211l.092-.113h.52l.08-.269h-.481l.075-.246h.48l.088-.303h-1.43l-.087.303Zm-4.34 1.043.12-.41h.492l.09-.306h-.493l.075-.253h.483l.089-.296h-1.207l-.087.296h.274l-.073.253h-.275l-.09.31h.273l-.16.544c-.021.072.01.1.03.133a.135.135 0 0 0 .089.066.517.517 0 0 0 .126.018h.556l.099-.339-.246.035c-.048 0-.18-.006-.165-.051Zm.056-1.966-.125.232a.27.27 0 0 1-.072.097c-.02.012-.057.017-.112.017h-.065l-.087.298h.216a.48.48 0 0 0 .222-.06c.041-.022.052-.009.084-.04l.073-.066h.676l.09-.31h-.495l.086-.168h-.49Zm.998 1.972c-.011-.017-.003-.047.014-.11l.185-.63h.657a4.27 4.27 0 0 0 .21-.005.42.42 0 0 0 .158-.055.3.3 0 0 0 .115-.11.942.942 0 0 0 .114-.264l.232-.796-.682.004s-.21.031-.303.067c-.093.039-.226.149-.226.149l.061-.219h-.42l-.59 2.014a1.096 1.096 0 0 0-.039.17c-.001.036.045.072.075.1.035.027.088.022.137.027.053.004.128.007.231.007h.324l.1-.346-.29.028a.076.076 0 0 1-.063-.031Zm.318-1.165h.69l-.043.142c-.006.003-.021-.007-.091.002h-.598l.042-.144Zm.139-.475h.696l-.05.171s-.328-.003-.381.007c-.231.04-.366.168-.366.168l.1-.346Zm.523 1.091a.076.076 0 0 1-.027.044c-.014.01-.037.012-.07.012h-.1l.007-.172h-.41l-.016.843c0 .06.005.096.048.124.044.036.177.04.356.04h.256l.093-.316-.223.013-.074.005c-.01-.005-.02-.009-.031-.02-.01-.01-.025-.004-.023-.065l.002-.216.234-.01c.127 0 .18-.042.227-.082.044-.039.058-.083.075-.143l.039-.192h-.322l-.04.135Z\" fill=\"#FEFEFE\"/></svg>\n</template>\n\n<script>\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n name: 'DtIconUnionPay',\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 },\n};\n</script>\n"],"names":["_sfc_main","s","ICON_SIZE_MODIFIERS"],"mappings":"+GAOAA,EAAA,CACA,KAAA,iBAEA,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,CACA,CACA"}