@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
45 lines (40 loc) • 1.88 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var helper = require('./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.cjs');
var configsVue = require('./packages/tools/pie-icons-configs/configs-vue.cjs');
var IconTicket = {
name: 'IconTicket',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--ticket', 'IconTicket');
return h('svg', helper.default([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 16 16',
},
}, ctx.data]), [h('path', {
attrs: {
'fill-rule': 'evenodd',
d: 'M9.312 10.039a2.257 2.257 0 1 0 0-4.515 2.257 2.257 0 0 0 0 4.515Zm-.674-2.923a.941.941 0 0 1 1.61.665c0 .254-.096.49-.28.665a.941.941 0 0 1-1.61-.665c0-.253.097-.49.28-.665Z',
'clip-rule': 'evenodd',
},
}), h('path', {
attrs: {
d: 'M5.515 7.055H4.202v1.453h1.313V7.055Z',
},
}), h('path', {
attrs: {
'fill-rule': 'evenodd',
d: 'm14.948 7.125-.35.184.008.009c-.34.175-.56.533-.56.91 0 .376.21.726.56.91l.35.183v3.177H1.053V9.33l.358-.184a1.04 1.04 0 0 0 .57-.918 1.04 1.04 0 0 0-.57-.92l-.358-.183V3.083h13.895v4.042Zm-2.223 1.094c0-.726.341-1.409.91-1.846l.009.008V4.395H5.506v1.348H4.194V4.395H2.365v1.969c.578.437.928 1.12.928 1.864 0 .743-.342 1.426-.928 1.863v1.094h1.838V9.811h1.312v1.374h8.12v-1.111a2.364 2.364 0 0 1-.91-1.855Z',
'clip-rule': 'evenodd',
},
})]);
},
};
exports.default = IconTicket;