@scandit/web-datacapture-barcode
Version:
Scandit Data Capture SDK for the Web
22 lines (19 loc) • 1.77 kB
JavaScript
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 t=class t extends SvgIcon{static create(){return document.createElement(t.tag)}static register(){defineCustomElements({[t.tag]:t});}render(){return html`
<style>
${t.tag} {
display: flex;
}
${t.tag}[shadow] svg {
filter: drop-shadow(0px 1px 2px rgba(18, 22, 25, 0.3));
}
</style>
<svg width="${this.size}" height="${this.heightForViewbox(32,32)}" viewBox="0 0 32 32" fill="none">
<path
d="M23.0072 11.0026H18.3321L19.9687 5.27515C20.0113 5.12618 20.0187 4.96936 19.9903 4.81705C19.9619 4.66475 19.8985 4.52112 19.8051 4.39748C19.7118 4.27385 19.5909 4.17359 19.4522 4.10462C19.3135 4.03564 19.1606 3.99983 19.0057 4H12.0031C11.7834 3.9999 11.5699 4.07207 11.3954 4.20538C11.2209 4.33868 11.095 4.52571 11.0374 4.73761L8.03623 15.7378C7.99509 15.8864 7.98889 16.0426 8.01812 16.1941C8.04735 16.3456 8.11122 16.4882 8.20472 16.6109C8.29823 16.7336 8.41884 16.833 8.55714 16.9014C8.69543 16.9697 8.84766 17.0052 9.00192 17.0049H13.8037L12.0191 26.83C11.9767 27.0569 12.0142 27.2915 12.1251 27.494C12.236 27.6964 12.4135 27.8543 12.6276 27.9408C12.8416 28.0273 13.0789 28.0372 13.2994 27.9687C13.5198 27.9002 13.7098 27.7575 13.8371 27.5649L23.8409 12.5592C23.9417 12.4085 23.9997 12.2331 24.0085 12.052C24.0174 11.8708 23.9769 11.6906 23.8912 11.5307C23.8056 11.3708 23.6781 11.2372 23.5224 11.1442C23.3667 11.0512 23.1886 11.0023 23.0072 11.0026Z"
fill="${this.fill}"
/>
</svg>
`}};t.tag="scandit-torch-on-icon";var e=t;e.register();
export { e as a };