8 lines
2.7 KiB
Plaintext
8 lines
2.7 KiB
Plaintext
{
|
|
"version": 3,
|
|
"sources": ["../../.pnpm/solid-icons@1.0.1_solid-js@1.4.7/node_modules/solid-icons/lib/index.js"],
|
|
"sourcesContent": ["import { spread, insert, memo, effect, setAttribute, style, template } from 'solid-js/web';\n\nconst _tmpl$ = /*#__PURE__*/template(`<svg fill=\"currentColor\" stroke-width=\"0\" xmlns=\"http://www.w3.org/2000/svg\"></svg>`, 2),\n _tmpl$2 = /*#__PURE__*/template(`<title></title>`, 2);\n\nfunction IconTemplate(iconSrc, props) {\n return (() => {\n const _el$ = _tmpl$.cloneNode(true);\n\n spread(_el$, () => iconSrc.a, true, true);\n\n spread(_el$, props, true, true);\n\n insert(_el$, (() => {\n const _c$ = memo(() => !!props.title, true);\n\n return () => _c$() && (() => {\n const _el$2 = _tmpl$2.cloneNode(true);\n\n insert(_el$2, () => props.title);\n\n return _el$2;\n })();\n })());\n\n effect(_p$ => {\n const _v$ = iconSrc.a.stroke,\n _v$2 = { ...props.style,\n overflow: \"visible\",\n color: props.color\n },\n _v$3 = props.size || \"1em\",\n _v$4 = props.size || \"1em\",\n _v$5 = iconSrc.c;\n\n _v$ !== _p$._v$ && setAttribute(_el$, \"stroke\", _p$._v$ = _v$);\n _p$._v$2 = style(_el$, _v$2, _p$._v$2);\n _v$3 !== _p$._v$3 && setAttribute(_el$, \"height\", _p$._v$3 = _v$3);\n _v$4 !== _p$._v$4 && setAttribute(_el$, \"width\", _p$._v$4 = _v$4);\n _v$5 !== _p$._v$5 && (_el$.innerHTML = _p$._v$5 = _v$5);\n return _p$;\n }, {\n _v$: undefined,\n _v$2: undefined,\n _v$3: undefined,\n _v$4: undefined,\n _v$5: undefined\n });\n\n return _el$;\n })();\n}\n\nexport { IconTemplate };\n"],
|
|
"mappings": ";;;;;;;;;;;;;AAEA,IAAM,SAAsB,SAAS,uFAAuF,CAAC;AAA7H,IACM,UAAuB,SAAS,mBAAmB,CAAC;AAE1D,sBAA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