1
0
mirror of https://github.com/coreui/coreui-icons.git synced 2025-08-11 03:04:02 +02:00

fix: fix js imports and exports naming, rename 'delete' icon to 'remove'

This commit is contained in:
woothu
2019-10-17 11:31:52 +02:00
parent fcc0d3ab58
commit 20e7bddc7b
27 changed files with 583 additions and 563 deletions

View File

@@ -15,8 +15,8 @@ fs.readdir(dirname, function(e, filenames) {
if (e) {
return
} else {
const variableName = getVariableName(filename, directory)
const jsFilename = filename.replace('.svg', '.js')
let variableName = getVariableName(filename, directory)
let jsFilename = filename.replace('.svg', '.js')
const viewBox = getAttributeValue(content, 'viewBox').split(' ')
const dimensions = `${viewBox[2]} ${viewBox[3]}`
@@ -30,10 +30,20 @@ fs.readdir(dirname, function(e, filenames) {
iconData.push(computedContent)
contents[variableName] = iconData
names.push({ jsFilename, variableName})
// variableName = validate(variableName)
// jsFilename = validate(jsFilename)
importName = validate(variableName)
names.push({
jsFilename,
variableName,
importName
})
fs.writeFile(
`${directory}js/${jsFilename}`,
`export const ${variableName} = ` + JSON.stringify(iconData),
`export const ${importName} = ` + JSON.stringify(iconData),
() => ''
)
}
@@ -54,13 +64,13 @@ fs.readdir(dirname, function(e, filenames) {
})
const toPascalCase = function (name) {
return name.match(/[A-Za-z0-9]+/gi)
.map(function (word) {
return word.charAt(0).toUpperCase() + word.substr(1).toLowerCase()
})
.join('')
}
// const toPascalCase = function (name) {
// return name.match(/[A-Za-z0-9]+/gi)
// .map(function (word) {
// return word.charAt(0).toUpperCase() + word.substr(1).toLowerCase()
// })
// .join('')
// }
const getAttributeValue = (string, attribute) => {
const regex = new RegExp(`${attribute}="([^"]+)"`, 'g')
@@ -78,19 +88,27 @@ function getVariableName (filename, directory) {
}
function toCamel (str) {
return str.replace(/([-_][a-z])/ig, ($1) => {
return str.replace(/([-_][a-z0-9])/ig, ($1) => {
return $1.toUpperCase().replace('-', '')
})
}
function validate(str) {
if (!isNaN(str.charAt(0))) {
return 'n' + str
} else {
return str
}
}
function getImports(names) {
const defaultImport = "import { iconSet } from './js/icon-set.js' \n"
const defaultExport = "export { iconSet } \n\n\n"
const importString = names.map(name => {
return `import { ${name.variableName} } from './js/${name.jsFilename}'`
return `import { ${name.importName} } from './js/${name.jsFilename}'`
}).join('\n')
const exportString = names.map(name => {
return `export { ${name.variableName} }`
return `export { ${name.importName} }`
}).join('\n')
return defaultImport + defaultExport + importString + '\n' + exportString
}

1048
index.js

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
export const 3d = ["24 24","\r\r<title>3d</title>\r<path d='M20.798 6.064l-8.032-4.637c-0.215-0.126-0.474-0.2-0.75-0.2s-0.535 0.074-0.757 0.204l0.007-0.004-8.032 4.637c-0.451 0.265-0.749 0.747-0.75 1.299v9.275c0.001 0.552 0.299 1.034 0.743 1.295l0.007 0.004 8.032 4.637c0.215 0.126 0.474 0.2 0.75 0.2s0.535-0.074 0.757-0.204l-0.007 0.004 8.032-4.637c0.451-0.265 0.749-0.747 0.75-1.299v-9.275c-0.001-0.552-0.299-1.034-0.743-1.295l-0.007-0.004zM20.048 7.363v8.315l-7.282-4.116v-8.403zM3.984 7.363l7.282-4.204v8.4l-7.282 4.116zM12.016 21.275l-7.367-4.253 7.364-4.162 7.367 4.164z'></path>\r\r"]
export const n3d = ["24 24","\r\r<title>3d</title>\r<path d='M20.798 6.064l-8.032-4.637c-0.215-0.126-0.474-0.2-0.75-0.2s-0.535 0.074-0.757 0.204l0.007-0.004-8.032 4.637c-0.451 0.265-0.749 0.747-0.75 1.299v9.275c0.001 0.552 0.299 1.034 0.743 1.295l0.007 0.004 8.032 4.637c0.215 0.126 0.474 0.2 0.75 0.2s0.535-0.074 0.757-0.204l-0.007 0.004 8.032-4.637c0.451-0.265 0.749-0.747 0.75-1.299v-9.275c-0.001-0.552-0.299-1.034-0.743-1.295l-0.007-0.004zM20.048 7.363v8.315l-7.282-4.116v-8.403zM3.984 7.363l7.282-4.204v8.4l-7.282 4.116zM12.016 21.275l-7.367-4.253 7.364-4.162 7.367 4.164z'></path>\r\r"]

View File

@@ -1 +1 @@
export const 4k = ["24 24","\r\r<title>4k</title>\r<path d='M9.75 8.625h-1.5v4.125h-2.921l0.638-6.375h-1.508l-0.787 7.875h4.579v3.375h1.5v-3.375h1.5v-1.5h-1.5v-4.125z'></path>\r<path d='M18.099 6.375l-2.437 4.875h-1.411v-4.875h-1.5v11.25h1.5v-4.875h1.411l2.437 4.875h1.677l-2.813-5.625 2.813-5.625h-1.677z'></path>\r<path d='M21.75 0.75h-19.5c-0.828 0-1.5 0.672-1.5 1.5v0 19.5c0 0.828 0.672 1.5 1.5 1.5v0h19.5c0.828 0 1.5-0.672 1.5-1.5v0-19.5c0-0.828-0.672-1.5-1.5-1.5v0zM21.75 21.75h-19.5v-19.5h19.5v19.5z'></path>\r\r"]
export const n4k = ["24 24","\r\r<title>4k</title>\r<path d='M9.75 8.625h-1.5v4.125h-2.921l0.638-6.375h-1.508l-0.787 7.875h4.579v3.375h1.5v-3.375h1.5v-1.5h-1.5v-4.125z'></path>\r<path d='M18.099 6.375l-2.437 4.875h-1.411v-4.875h-1.5v11.25h1.5v-4.875h1.411l2.437 4.875h1.677l-2.813-5.625 2.813-5.625h-1.677z'></path>\r<path d='M21.75 0.75h-19.5c-0.828 0-1.5 0.672-1.5 1.5v0 19.5c0 0.828 0.672 1.5 1.5 1.5v0h19.5c0.828 0 1.5-0.672 1.5-1.5v0-19.5c0-0.828-0.672-1.5-1.5-1.5v0zM21.75 21.75h-19.5v-19.5h19.5v19.5z'></path>\r\r"]

View File

@@ -1 +1 @@
export const battery-0 = ["24 24","\r\r<title>battery-0</title>\r<path d='M1.874 19.875h17.251c0.002 0 0.005 0 0.008 0 0.613 0 1.111-0.494 1.117-1.105v-2.645h3v-7.875h-3v-2.644c-0.006-0.612-0.504-1.106-1.117-1.106-0.003 0-0.006 0-0.009 0h-17.25c-0.002-0-0.005-0-0.008-0-0.613 0-1.111 0.494-1.117 1.105v13.164c0.006 0.612 0.504 1.106 1.117 1.106 0.003 0 0.006 0 0.009-0h-0zM2.249 6h16.501v3.75h3v4.875h-3v3.75h-16.501z'></path>\r\r"]
export const battery0 = ["24 24","\r\r<title>battery-0</title>\r<path d='M1.874 19.875h17.251c0.002 0 0.005 0 0.008 0 0.613 0 1.111-0.494 1.117-1.105v-2.645h3v-7.875h-3v-2.644c-0.006-0.612-0.504-1.106-1.117-1.106-0.003 0-0.006 0-0.009 0h-17.25c-0.002-0-0.005-0-0.008-0-0.613 0-1.111 0.494-1.117 1.105v13.164c0.006 0.612 0.504 1.106 1.117 1.106 0.003 0 0.006 0 0.009-0h-0zM2.249 6h16.501v3.75h3v4.875h-3v3.75h-16.501z'></path>\r\r"]

View File

@@ -1 +1 @@
export const battery-3 = ["24 24","\r\r<title>battery-3</title>\r<path d='M3.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M6.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M9.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M20.25 8.25v-2.644c-0.006-0.612-0.504-1.106-1.117-1.106-0.003 0-0.006 0-0.009 0h-17.25c-0.002-0-0.005-0-0.008-0-0.613 0-1.111 0.494-1.117 1.105v13.164c0.006 0.612 0.504 1.106 1.117 1.106 0.003 0 0.006 0 0.009-0h17.25c0.002 0 0.005 0 0.008 0 0.613 0 1.111-0.494 1.117-1.105v-2.645h3v-7.875zM21.75 14.625h-3v3.75h-16.501v-12.375h16.501v3.75h3z'></path>\r\r"]
export const battery3 = ["24 24","\r\r<title>battery-3</title>\r<path d='M3.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M6.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M9.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M20.25 8.25v-2.644c-0.006-0.612-0.504-1.106-1.117-1.106-0.003 0-0.006 0-0.009 0h-17.25c-0.002-0-0.005-0-0.008-0-0.613 0-1.111 0.494-1.117 1.105v13.164c0.006 0.612 0.504 1.106 1.117 1.106 0.003 0 0.006 0 0.009-0h17.25c0.002 0 0.005 0 0.008 0 0.613 0 1.111-0.494 1.117-1.105v-2.645h3v-7.875zM21.75 14.625h-3v3.75h-16.501v-12.375h16.501v3.75h3z'></path>\r\r"]

View File

@@ -1 +1 @@
export const battery-5 = ["24 24","\r\r<title>battery-5</title>\r<path d='M3.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M6.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M9.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M12.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M15.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M20.25 8.25v-2.644c-0.006-0.612-0.504-1.106-1.117-1.106-0.003 0-0.006 0-0.009 0h-17.25c-0.002-0-0.005-0-0.008-0-0.613 0-1.111 0.494-1.117 1.105v13.164c0.006 0.612 0.504 1.106 1.117 1.106 0.003 0 0.006 0 0.009-0h17.25c0.002 0 0.005 0 0.008 0 0.613 0 1.111-0.494 1.117-1.105v-2.645h3v-7.875zM21.75 14.625h-3v3.75h-16.501v-12.375h16.501v3.75h3z'></path>\r\r"]
export const battery5 = ["24 24","\r\r<title>battery-5</title>\r<path d='M3.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M6.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M9.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M12.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M15.75 7.5h1.5v9.375h-1.5v-9.375z'></path>\r<path d='M20.25 8.25v-2.644c-0.006-0.612-0.504-1.106-1.117-1.106-0.003 0-0.006 0-0.009 0h-17.25c-0.002-0-0.005-0-0.008-0-0.613 0-1.111 0.494-1.117 1.105v13.164c0.006 0.612 0.504 1.106 1.117 1.106 0.003 0 0.006 0 0.009-0h17.25c0.002 0 0.005 0 0.008 0 0.613 0 1.111-0.494 1.117-1.105v-2.645h3v-7.875zM21.75 14.625h-3v3.75h-16.501v-12.375h16.501v3.75h3z'></path>\r\r"]

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
export const loop-1 = ["24 24","\r\r<title>loop-1</title>\r<path d='M9.75 14.625v1.5h5.25v-1.5h-1.875v-6.375h-1.5v1.125h-1.5v1.5h1.5v3.75h-1.875z'></path>\r<path d='M21.75 9.868v2.507c-0.003 2.898-2.352 5.247-5.25 5.25h-12.815l2.094-2.095-1.060-1.060-3.876 3.875 3.469 3.904 1.125-0.997-1.892-2.127h12.955c3.722 0 6.75-3.028 6.75-6.75v-4.007z'></path>\r<path d='M2.25 12c0.003-2.898 2.352-5.247 5.25-5.25h12.815l-2.094 2.095 1.060 1.060 3.876-3.875-3.469-3.904-1.125 0.997 1.892 2.127h-12.955c-3.722 0-6.75 3.028-6.75 6.75v4.021l1.5-1.5z'></path>\r\r"]
export const loop1 = ["24 24","\r\r<title>loop-1</title>\r<path d='M9.75 14.625v1.5h5.25v-1.5h-1.875v-6.375h-1.5v1.125h-1.5v1.5h1.5v3.75h-1.875z'></path>\r<path d='M21.75 9.868v2.507c-0.003 2.898-2.352 5.247-5.25 5.25h-12.815l2.094-2.095-1.060-1.060-3.876 3.875 3.469 3.904 1.125-0.997-1.892-2.127h12.955c3.722 0 6.75-3.028 6.75-6.75v-4.007z'></path>\r<path d='M2.25 12c0.003-2.898 2.352-5.247 5.25-5.25h12.815l-2.094 2.095 1.060 1.060 3.876-3.875-3.469-3.904-1.125 0.997 1.892 2.127h-12.955c-3.722 0-6.75 3.028-6.75 6.75v4.021l1.5-1.5z'></path>\r\r"]

1
js/n3d.js Normal file
View File

@@ -0,0 +1 @@
export const n3d = ["24 24","\r\r<title>3d</title>\r<path d='M20.798 6.064l-8.032-4.637c-0.215-0.126-0.474-0.2-0.75-0.2s-0.535 0.074-0.757 0.204l0.007-0.004-8.032 4.637c-0.451 0.265-0.749 0.747-0.75 1.299v9.275c0.001 0.552 0.299 1.034 0.743 1.295l0.007 0.004 8.032 4.637c0.215 0.126 0.474 0.2 0.75 0.2s0.535-0.074 0.757-0.204l-0.007 0.004 8.032-4.637c0.451-0.265 0.749-0.747 0.75-1.299v-9.275c-0.001-0.552-0.299-1.034-0.743-1.295l-0.007-0.004zM20.048 7.363v8.315l-7.282-4.116v-8.403zM3.984 7.363l7.282-4.204v8.4l-7.282 4.116zM12.016 21.275l-7.367-4.253 7.364-4.162 7.367 4.164z'></path>\r\r"]

1
js/n4k.js Normal file
View File

@@ -0,0 +1 @@
export const n4k = ["24 24","\r\r<title>4k</title>\r<path d='M9.75 8.625h-1.5v4.125h-2.921l0.638-6.375h-1.508l-0.787 7.875h4.579v3.375h1.5v-3.375h1.5v-1.5h-1.5v-4.125z'></path>\r<path d='M18.099 6.375l-2.437 4.875h-1.411v-4.875h-1.5v11.25h1.5v-4.875h1.411l2.437 4.875h1.677l-2.813-5.625 2.813-5.625h-1.677z'></path>\r<path d='M21.75 0.75h-19.5c-0.828 0-1.5 0.672-1.5 1.5v0 19.5c0 0.828 0.672 1.5 1.5 1.5v0h19.5c0.828 0 1.5-0.672 1.5-1.5v0-19.5c0-0.828-0.672-1.5-1.5-1.5v0zM21.75 21.75h-19.5v-19.5h19.5v19.5z'></path>\r\r"]

View File

@@ -1 +1 @@
export const delete = ["24 24","\r\r<title>delete</title>\r<path d='M10.655 17.030l3.97-3.97 3.97 3.97 1.061-1.061-3.97-3.97 3.97-3.97-1.061-1.061-3.97 3.97-3.97-3.97-1.061 1.061 3.97 3.97-3.97 3.97 1.061 1.061z'></path>\r<path d='M22.125 3h-13.001c-0.321 0.001-0.611 0.135-0.816 0.351l-0 0-7.557 7.975v1.348l7.557 7.975c0.206 0.216 0.495 0.351 0.816 0.351h13.001c0.621-0.001 1.124-0.504 1.125-1.125v-15.75c-0.001-0.621-0.504-1.124-1.125-1.125h-0zM21.75 19.5h-12.465l-7.035-7.424v-0.152l7.035-7.424h12.465z'></path>\r\r"]
export const remove = ["24 24","\r\r<title>remove</title>\r<path d='M10.655 17.030l3.97-3.97 3.97 3.97 1.061-1.061-3.97-3.97 3.97-3.97-1.061-1.061-3.97 3.97-3.97-3.97-1.061 1.061 3.97 3.97-3.97 3.97 1.061 1.061z'></path>\r<path d='M22.125 3h-13.001c-0.321 0.001-0.611 0.135-0.816 0.351l-0 0-7.557 7.975v1.348l7.557 7.975c0.206 0.216 0.495 0.351 0.816 0.351h13.001c0.621-0.001 1.124-0.504 1.125-1.125v-15.75c-0.001-0.621-0.504-1.124-1.125-1.125h-0zM21.75 19.5h-12.465l-7.035-7.424v-0.152l7.035-7.424h12.465z'></path>\r\r"]

View File

@@ -1 +1 @@
export const signalCellular-0 = ["24 24","\r\r<title>signal-cellular-0</title>\r<path d='M23.25 0.75h-1.838l-20.662 20.662v1.838h22.5zM21.75 21.75h-19.217l19.217-19.217z'></path>\r\r"]
export const signalCellular0 = ["24 24","\r\r<title>signal-cellular-0</title>\r<path d='M23.25 0.75h-1.838l-20.662 20.662v1.838h22.5zM21.75 21.75h-19.217l19.217-19.217z'></path>\r\r"]

View File

@@ -1 +1 @@
export const signalCellular-3 = ["24 24","\r\r<title>signal-cellular-3</title>\r<path d='M9.787 12.375h-0.005v0.005l-9.032 9.032v1.838h22.5v-22.5h-1.838zM13.907 10.376v11.374h-2.625v-8.749zM9.782 21.75h-2.625v-4.624l2.625-2.625zM5.657 18.626v3.124h-3.124zM21.75 21.75h-6.343v-12.874l6.343-6.343z'></path>\r\r"]
export const signalCellular3 = ["24 24","\r\r<title>signal-cellular-3</title>\r<path d='M9.787 12.375h-0.005v0.005l-9.032 9.032v1.838h22.5v-22.5h-1.838zM13.907 10.376v11.374h-2.625v-8.749zM9.782 21.75h-2.625v-4.624l2.625-2.625zM5.657 18.626v3.124h-3.124zM21.75 21.75h-6.343v-12.874l6.343-6.343z'></path>\r\r"]

View File

@@ -1 +1 @@
export const signalCellular-4 = ["24 24","\r\r<title>signal-cellular-4</title>\r<path d='M18.037 4.125h-0.005v0.005l-17.282 17.282v1.838h22.5v-22.5h-1.838zM15.407 8.876l2.625-2.625v15.499h-2.625zM13.907 21.75h-2.625v-8.749l2.625-2.625zM9.782 21.75h-2.625v-4.624l2.625-2.625zM5.657 18.626v3.124h-3.124zM21.75 21.75h-2.218v-16.999l2.218-2.218z'></path>\r\r"]
export const signalCellular4 = ["24 24","\r\r<title>signal-cellular-4</title>\r<path d='M18.037 4.125h-0.005v0.005l-17.282 17.282v1.838h22.5v-22.5h-1.838zM15.407 8.876l2.625-2.625v15.499h-2.625zM13.907 21.75h-2.625v-8.749l2.625-2.625zM9.782 21.75h-2.625v-4.624l2.625-2.625zM5.657 18.626v3.124h-3.124zM21.75 21.75h-2.218v-16.999l2.218-2.218z'></path>\r\r"]

View File

@@ -1 +1 @@
export const wifiSignal-0 = ["24 24","\r\r<title>wifi-signal-0</title>\r<path d='M11.146 22.5h1.708l10.771-15.382v-1.286l-0.010-0.007c-3.237-2.291-7.266-3.662-11.615-3.662s-8.378 1.371-11.678 3.705l0.063-0.043-0.010 0.007v1.286zM12 3.662c0.009-0 0.019-0 0.030-0 3.753 0 7.248 1.109 10.174 3.017l-0.072-0.044-10.132 14.47-10.132-14.47c2.854-1.864 6.348-2.973 10.102-2.973 0.011 0 0.021 0 0.032 0h-0.002z'></path>\r\r"]
export const wifiSignal0 = ["24 24","\r\r<title>wifi-signal-0</title>\r<path d='M11.146 22.5h1.708l10.771-15.382v-1.286l-0.010-0.007c-3.237-2.291-7.266-3.662-11.615-3.662s-8.378 1.371-11.678 3.705l0.063-0.043-0.010 0.007v1.286zM12 3.662c0.009-0 0.019-0 0.030-0 3.753 0 7.248 1.109 10.174 3.017l-0.072-0.044-10.132 14.47-10.132-14.47c2.854-1.864 6.348-2.973 10.102-2.973 0.011 0 0.021 0 0.032 0h-0.002z'></path>\r\r"]

View File

@@ -1 +1 @@
export const wifiSignal-1 = ["24 24","\r\r<title>wifi-signal-1</title>\r<path d='M11.146 22.5h1.708l10.771-15.382v-1.286l-0.010-0.007c-3.237-2.291-7.266-3.662-11.615-3.662s-8.378 1.371-11.678 3.705l0.063-0.043-0.010 0.007v1.286zM8.384 15.941c1.041-0.592 2.288-0.941 3.616-0.941s2.574 0.349 3.652 0.96l-0.037-0.019-3.616 5.164zM12 3.662c0.009-0 0.019-0 0.030-0 3.753 0 7.248 1.109 10.174 3.017l-0.072-0.044-5.652 8.072c-1.284-0.759-2.829-1.207-4.479-1.207s-3.196 0.448-4.521 1.23l0.042-0.023-5.652-8.072c2.854-1.864 6.348-2.973 10.102-2.973 0.011 0 0.021 0 0.032 0h-0.002z'></path>\r\r"]
export const wifiSignal1 = ["24 24","\r\r<title>wifi-signal-1</title>\r<path d='M11.146 22.5h1.708l10.771-15.382v-1.286l-0.010-0.007c-3.237-2.291-7.266-3.662-11.615-3.662s-8.378 1.371-11.678 3.705l0.063-0.043-0.010 0.007v1.286zM8.384 15.941c1.041-0.592 2.288-0.941 3.616-0.941s2.574 0.349 3.652 0.96l-0.037-0.019-3.616 5.164zM12 3.662c0.009-0 0.019-0 0.030-0 3.753 0 7.248 1.109 10.174 3.017l-0.072-0.044-5.652 8.072c-1.284-0.759-2.829-1.207-4.479-1.207s-3.196 0.448-4.521 1.23l0.042-0.023-5.652-8.072c2.854-1.864 6.348-2.973 10.102-2.973 0.011 0 0.021 0 0.032 0h-0.002z'></path>\r\r"]

View File

@@ -1 +1 @@
export const wifiSignal-2 = ["24 24","\r\r<title>wifi-signal-2</title>\r<path d='M23.615 5.824c-3.237-2.291-7.266-3.662-11.615-3.662s-8.378 1.371-11.678 3.705l0.063-0.043-0.010 0.007v1.286l10.771 15.382h1.708l10.771-15.382v-1.286zM8.898 16.675l3.561-5.503c0.735 0.030 1.432 0.125 2.104 0.281l-0.076-0.015-4.463 6.844zM7.969 15.348l-1.794-2.562c1.275-0.787 2.781-1.333 4.394-1.535l0.055-0.006zM10.951 19.606l5.033-7.717c0.711 0.272 1.317 0.574 1.889 0.926l-0.049-0.028-5.824 8.318zM18.686 11.556c-1.902-1.189-4.212-1.894-6.686-1.894s-4.785 0.705-6.74 1.925l0.054-0.031-3.446-4.921c2.864-1.864 6.368-2.973 10.132-2.973s7.268 1.109 10.204 3.017l-0.073-0.044z'></path>\r\r"]
export const wifiSignal2 = ["24 24","\r\r<title>wifi-signal-2</title>\r<path d='M23.615 5.824c-3.237-2.291-7.266-3.662-11.615-3.662s-8.378 1.371-11.678 3.705l0.063-0.043-0.010 0.007v1.286l10.771 15.382h1.708l10.771-15.382v-1.286zM8.898 16.675l3.561-5.503c0.735 0.030 1.432 0.125 2.104 0.281l-0.076-0.015-4.463 6.844zM7.969 15.348l-1.794-2.562c1.275-0.787 2.781-1.333 4.394-1.535l0.055-0.006zM10.951 19.606l5.033-7.717c0.711 0.272 1.317 0.574 1.889 0.926l-0.049-0.028-5.824 8.318zM18.686 11.556c-1.902-1.189-4.212-1.894-6.686-1.894s-4.785 0.705-6.74 1.925l0.054-0.031-3.446-4.921c2.864-1.864 6.368-2.973 10.132-2.973s7.268 1.109 10.204 3.017l-0.073-0.044z'></path>\r\r"]

View File

@@ -1 +1 @@
export const wifiSignal-4 = ["24 24","\r\r<title>wifi-signal-4</title>\r<path d='M23.615 5.824c-3.237-2.291-7.266-3.662-11.615-3.662s-8.378 1.371-11.678 3.705l0.063-0.043-0.010 0.007v1.286l10.771 15.383h1.708l10.771-15.382v-1.286zM18.906 4.977l-8.876 13.314-1.129-1.612 8.109-12.339c0.776 0.215 1.406 0.432 2.020 0.681l-0.124-0.045zM13.425 3.716c0.769 0.059 1.463 0.152 2.144 0.283l-0.117-0.019-7.476 11.377-1.244-1.776zM5.811 12.266l-1.069-1.526 4.592-6.889c0.682-0.103 1.482-0.169 2.294-0.185l0.018-0zM7.252 4.27l-3.434 5.151-1.95-2.785c1.547-1.011 3.339-1.822 5.253-2.336l0.13-0.030zM12 21.105l-1.047-1.495 9.343-14.014c0.729 0.362 1.33 0.707 1.908 1.084l-0.073-0.044z'></path>\r\r"]
export const wifiSignal4 = ["24 24","\r\r<title>wifi-signal-4</title>\r<path d='M23.615 5.824c-3.237-2.291-7.266-3.662-11.615-3.662s-8.378 1.371-11.678 3.705l0.063-0.043-0.010 0.007v1.286l10.771 15.383h1.708l10.771-15.382v-1.286zM18.906 4.977l-8.876 13.314-1.129-1.612 8.109-12.339c0.776 0.215 1.406 0.432 2.020 0.681l-0.124-0.045zM13.425 3.716c0.769 0.059 1.463 0.152 2.144 0.283l-0.117-0.019-7.476 11.377-1.244-1.776zM5.811 12.266l-1.069-1.526 4.592-6.889c0.682-0.103 1.482-0.169 2.294-0.185l0.018-0zM7.252 4.27l-3.434 5.151-1.95-2.785c1.547-1.011 3.339-1.822 5.253-2.336l0.13-0.030zM12 21.105l-1.047-1.495 9.343-14.014c0.729 0.362 1.33 0.707 1.908 1.084l-0.073-0.044z'></path>\r\r"]

View File

@@ -1,6 +1,6 @@
<!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<title>delete</title>
<title>remove</title>
<path d="M10.655 17.030l3.97-3.97 3.97 3.97 1.061-1.061-3.97-3.97 3.97-3.97-1.061-1.061-3.97 3.97-3.97-3.97-1.061 1.061 3.97 3.97-3.97 3.97 1.061 1.061z"></path>
<path d="M22.125 3h-13.001c-0.321 0.001-0.611 0.135-0.816 0.351l-0 0-7.557 7.975v1.348l7.557 7.975c0.206 0.216 0.495 0.351 0.816 0.351h13.001c0.621-0.001 1.124-0.504 1.125-1.125v-15.75c-0.001-0.621-0.504-1.124-1.125-1.125h-0zM21.75 19.5h-12.465l-7.035-7.424v-0.152l7.035-7.424h12.465z"></path>
</svg>

Before

Width:  |  Height:  |  Size: 616 B

After

Width:  |  Height:  |  Size: 616 B

View File

@@ -54,7 +54,7 @@ export default {
},
methods: {
toCamelCase (str) {
return str.replace(/([-_][a-z])/ig, ($1) => {
return str.replace(/([-_][a-z0-9])/ig, ($1) => {
return $1.toUpperCase().replace('-', '')
})
}

View File

@@ -1247,7 +1247,7 @@ if (typeof window !== 'undefined') {
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6d8e4675-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./CIcon.vue?vue&type=template&id=4d8bd2f9&
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6d8e4675-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./CIcon.vue?vue&type=template&id=73c4f513&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{class:_vm.classes,style:(_vm.style),attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":_vm.viewBox},domProps:{"innerHTML":_vm._s(_vm.icon.svgContent)}})}
var staticRenderFns = []
@@ -1337,7 +1337,7 @@ var es6_string_includes = __webpack_require__("2fdb");
},
methods: {
toCamelCase: function toCamelCase(str) {
return str.replace(/([-_][a-z])/ig, function ($1) {
return str.replace(/([-_][a-z0-9])/ig, function ($1) {
return $1.toUpperCase().replace('-', '');
});
}

File diff suppressed because one or more lines are too long

View File

@@ -1256,7 +1256,7 @@ if (typeof window !== 'undefined') {
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6d8e4675-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./CIcon.vue?vue&type=template&id=4d8bd2f9&
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6d8e4675-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./CIcon.vue?vue&type=template&id=73c4f513&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{class:_vm.classes,style:(_vm.style),attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":_vm.viewBox},domProps:{"innerHTML":_vm._s(_vm.icon.svgContent)}})}
var staticRenderFns = []
@@ -1346,7 +1346,7 @@ var es6_string_includes = __webpack_require__("2fdb");
},
methods: {
toCamelCase: function toCamelCase(str) {
return str.replace(/([-_][a-z])/ig, function ($1) {
return str.replace(/([-_][a-z0-9])/ig, function ($1) {
return $1.toUpperCase().replace('-', '');
});
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long