|
|
@ -21,17 +21,14 @@ import TablerColumnInsertRight from '~icons/tabler/column-insert-right' |
|
|
|
import MdiEyeCircleOutline from '~icons/mdi/eye-circle-outline' |
|
|
|
import MdiEyeCircleOutline from '~icons/mdi/eye-circle-outline' |
|
|
|
import MsGroup from '~icons/material-symbols/groups-outline-rounded' |
|
|
|
import MsGroup from '~icons/material-symbols/groups-outline-rounded' |
|
|
|
import MsAddBoxOutline from '~icons/nc-icons/add-box' |
|
|
|
import MsAddBoxOutline from '~icons/nc-icons/add-box' |
|
|
|
import MsDownloadRounded from '~icons/nc-icons/download' |
|
|
|
|
|
|
|
import LogosAirtable from '~icons/logos/airtable' |
|
|
|
import LogosAirtable from '~icons/logos/airtable' |
|
|
|
import MsSort from '~icons/material-symbols/sort' |
|
|
|
import MsSort from '~icons/material-symbols/sort' |
|
|
|
import MaterialSymbolsEdit from '~icons/material-symbols/edit-outline-rounded' |
|
|
|
import MaterialSymbolsEdit from '~icons/material-symbols/edit-outline-rounded' |
|
|
|
import MaterialDuplicate from '~icons/material-symbols/file-copy-outline-rounded' |
|
|
|
|
|
|
|
import MaterialSymbolsWarningOutlineRounded from '~icons/material-symbols/warning-outline-rounded' |
|
|
|
import MaterialSymbolsWarningOutlineRounded from '~icons/material-symbols/warning-outline-rounded' |
|
|
|
import MaterialSymbolsDragIndicator from '~icons/ri/draggable' |
|
|
|
import MaterialSymbolsDragIndicator from '~icons/ri/draggable' |
|
|
|
import PlusSquare from '~icons/nc-icons/plus-square' |
|
|
|
import PlusSquare from '~icons/nc-icons/plus-square' |
|
|
|
import MobileShare from '~icons/nc-icons/share' |
|
|
|
import MobileShare from '~icons/nc-icons/share' |
|
|
|
import PhLayout from '~icons/ph/layout' |
|
|
|
import PhLayout from '~icons/ph/layout' |
|
|
|
import Delete from '~icons/material-symbols/delete-outline-rounded' |
|
|
|
|
|
|
|
import Minus from '~icons/material-symbols/remove-rounded' |
|
|
|
import Minus from '~icons/material-symbols/remove-rounded' |
|
|
|
import Code from '~icons/material-symbols/code-rounded' |
|
|
|
import Code from '~icons/material-symbols/code-rounded' |
|
|
|
import Palette from '~icons/material-symbols/palette-outline' |
|
|
|
import Palette from '~icons/material-symbols/palette-outline' |
|
|
@ -112,6 +109,16 @@ import NcCommentHere from '~icons/nc-icons/comment-here' |
|
|
|
import NcAddDataSource from '~icons/nc-icons/add-data-source' |
|
|
|
import NcAddDataSource from '~icons/nc-icons/add-data-source' |
|
|
|
import NcDatabaseIcon from '~icons/nc-icons/database' |
|
|
|
import NcDatabaseIcon from '~icons/nc-icons/database' |
|
|
|
import NcChevronDown from '~icons/nc-icons/chevron-down' |
|
|
|
import NcChevronDown from '~icons/nc-icons/chevron-down' |
|
|
|
|
|
|
|
import NcTrash from '~icons/nc-icons/trash' |
|
|
|
|
|
|
|
import NcPencil from '~icons/nc-icons/pencil' |
|
|
|
|
|
|
|
import NcRename from '~icons/nc-icons/rename' |
|
|
|
|
|
|
|
import NcDuplicate from '~icons/nc-icons/duplicate' |
|
|
|
|
|
|
|
import NcEdit from '~icons/nc-icons/edit' |
|
|
|
|
|
|
|
import NcCopy from '~icons/nc-icons/copy' |
|
|
|
|
|
|
|
import NcArrowUp from '~icons/nc-icons/arrow-up' |
|
|
|
|
|
|
|
import NcArrowDown from '~icons/nc-icons/arrow-down' |
|
|
|
|
|
|
|
import NcUpload from '~icons/nc-icons/upload' |
|
|
|
|
|
|
|
import NcDownload from '~icons/nc-icons/download' |
|
|
|
|
|
|
|
|
|
|
|
// keep it for reference
|
|
|
|
// keep it for reference
|
|
|
|
// todo: remove it after all icons are migrated
|
|
|
|
// todo: remove it after all icons are migrated
|
|
|
@ -332,16 +339,17 @@ export const iconMap = { |
|
|
|
user: NcUser, |
|
|
|
user: NcUser, |
|
|
|
users: NcUsers, |
|
|
|
users: NcUsers, |
|
|
|
cloudDownload: h('span', { class: 'material-symbols' }, 'cloud_download'), |
|
|
|
cloudDownload: h('span', { class: 'material-symbols' }, 'cloud_download'), |
|
|
|
download: MsDownloadRounded, |
|
|
|
download: NcDownload, |
|
|
|
upload: h('span', { class: 'material-symbols' }, 'cloud_upload'), |
|
|
|
cloudUpload: h('span', { class: 'material-symbols' }, 'cloud_upload'), |
|
|
|
|
|
|
|
upload: NcUpload, |
|
|
|
hook: Phishing, |
|
|
|
hook: Phishing, |
|
|
|
erd: h('span', { class: 'material-symbols' }, 'account_tree'), |
|
|
|
erd: h('span', { class: 'material-symbols' }, 'account_tree'), |
|
|
|
plus: h('span', { class: 'material-symbols', style: '-webkit-text-stroke: 0.3px' }, 'add'), |
|
|
|
plus: h('span', { class: 'material-symbols', style: '-webkit-text-stroke: 0.3px' }, 'add'), |
|
|
|
plusSquare: PlusSquare, |
|
|
|
plusSquare: PlusSquare, |
|
|
|
minus: Minus, |
|
|
|
minus: Minus, |
|
|
|
help: h('span', { class: 'material-symbols' }, 'help'), |
|
|
|
help: h('span', { class: 'material-symbols' }, 'help'), |
|
|
|
copy: h('span', { class: 'material-symbols' }, 'content_copy'), |
|
|
|
copy: NcCopy, |
|
|
|
duplicate: MaterialDuplicate, |
|
|
|
duplicate: NcDuplicate, |
|
|
|
clipboard: h('span', { class: 'material-symbols' }, 'content_paste'), |
|
|
|
clipboard: h('span', { class: 'material-symbols' }, 'content_paste'), |
|
|
|
settings: h('span', { class: 'material-symbols' }, 'settings'), |
|
|
|
settings: h('span', { class: 'material-symbols' }, 'settings'), |
|
|
|
image: h('span', { class: 'material-symbols' }, 'image'), |
|
|
|
image: h('span', { class: 'material-symbols' }, 'image'), |
|
|
@ -364,7 +372,7 @@ export const iconMap = { |
|
|
|
csv: PhCsvThin, // h('span', { class: 'material-symbols' }, 'grid_on'),
|
|
|
|
csv: PhCsvThin, // h('span', { class: 'material-symbols' }, 'grid_on'),
|
|
|
|
code: Code, |
|
|
|
code: Code, |
|
|
|
palette: h(Palette, {}, () => 'palette'), |
|
|
|
palette: h(Palette, {}, () => 'palette'), |
|
|
|
delete: Delete, |
|
|
|
delete: NcTrash, |
|
|
|
deleteListItem: h('span', { class: 'material-symbols' }, 'delete'), |
|
|
|
deleteListItem: h('span', { class: 'material-symbols' }, 'delete'), |
|
|
|
import: h('span', { class: 'material-symbols' }, 'system_update_alt'), |
|
|
|
import: h('span', { class: 'material-symbols' }, 'system_update_alt'), |
|
|
|
edit: MaterialSymbolsEdit, |
|
|
|
edit: MaterialSymbolsEdit, |
|
|
@ -464,6 +472,11 @@ export const iconMap = { |
|
|
|
fileImage: FileImageIcon, |
|
|
|
fileImage: FileImageIcon, |
|
|
|
paste: h('span', { class: 'material-symbols' }, 'content_paste'), |
|
|
|
paste: h('span', { class: 'material-symbols' }, 'content_paste'), |
|
|
|
chevronDown: NcChevronDown, |
|
|
|
chevronDown: NcChevronDown, |
|
|
|
|
|
|
|
pencil: NcPencil, |
|
|
|
|
|
|
|
rename: NcRename, |
|
|
|
|
|
|
|
ncEdit: NcEdit, |
|
|
|
|
|
|
|
ncArrowUp: NcArrowUp, |
|
|
|
|
|
|
|
ncArrowDown: NcArrowDown, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export const getMdiIcon = (type: string): any => { |
|
|
|
export const getMdiIcon = (type: string): any => { |
|
|
|