UNPKG

@scandit/web-datacapture-barcode

Version:

Scandit Data Capture SDK for the Web

27 lines (24 loc) 1.72 kB
import { SvgIcon } from '@scandit/web-datacapture-core/build/js/private/ui/atoms/SvgIcon.js'; import { defineCustomElements, html } from '@scandit/web-datacapture-core/build/js/private/utils/index.js'; var r="scandit-exit-icon",t=class t extends SvgIcon{static create(){return defineCustomElements({[t.tag]:t}),document.createElement(t.tag)}static register(){defineCustomElements({[t.tag]:t});}render(){return html` <style> ${t.tag} { display: flex; } ${t.tag}[hidden] { display: none; } </style> <svg width="${this.size}" height="${this.heightForViewbox(40,40)}" viewBox="0 0 40 40" fill="none"> <circle cx="20" cy="20" r="20" fill="#F8FAFC" /> <path d="M28.2782 19.1805C28.6687 19.571 28.6687 20.2042 28.2782 20.5947L25.3487 23.5241C25.014 23.8589 24.4713 23.8589 24.1365 23.5241C23.8018 23.1894 23.8018 22.6467 24.1365 22.312L25.4485 21L17.5 21C16.9477 21 16.5 20.5523 16.5 20C16.5 19.4477 16.9477 19 17.5 19L25.6733 19L24.1365 17.4632C23.8018 17.1285 23.8018 16.5858 24.1365 16.2511C24.4713 15.9163 25.014 15.9163 25.3487 16.2511L28.2782 19.1805Z" fill="${this.fill}" /> <path d="M19.7308 13C20.2406 13 20.6538 13.4477 20.6538 14L20.6538 16H22.5V14C22.5 12.3431 21.2602 11 19.7308 11L13.2692 11C11.7398 11 10.5 12.3431 10.5 14L10.5 26C10.5 27.6569 11.7398 29 13.2692 29H19.7308C21.2602 29 22.5 27.6569 22.5 26V24H20.6538V26C20.6538 26.5523 20.2406 27 19.7308 27H13.2692C12.7594 27 12.3462 26.5523 12.3462 26L12.3462 14C12.3462 13.4477 12.7594 13 13.2692 13L19.7308 13Z" fill="${this.fill}" /> </svg> `}};t.tag=r;var e=t;e.register(); export { e as a };