|
|
@ -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' |
|
|
@ -99,6 +96,7 @@ import NcUnStar from '~icons/nc-icons/star-remove' |
|
|
|
import NcSearch from '~icons/nc-icons/search' |
|
|
|
import NcSearch from '~icons/nc-icons/search' |
|
|
|
import NcCreditCard from '~icons/nc-icons/credit-card' |
|
|
|
import NcCreditCard from '~icons/nc-icons/credit-card' |
|
|
|
import NcLayers from '~icons/nc-icons/layers' |
|
|
|
import NcLayers from '~icons/nc-icons/layers' |
|
|
|
|
|
|
|
import NcUser from '~icons/nc-icons/user' |
|
|
|
import NcUsers from '~icons/nc-icons/users' |
|
|
|
import NcUsers from '~icons/nc-icons/users' |
|
|
|
import NcCheck from '~icons/nc-icons/check' |
|
|
|
import NcCheck from '~icons/nc-icons/check' |
|
|
|
import NcIconsRowHeightMedium from '~icons/nc-icons/row-height-medium' |
|
|
|
import NcIconsRowHeightMedium from '~icons/nc-icons/row-height-medium' |
|
|
@ -110,6 +108,18 @@ import NcNotification from '~icons/material-symbols/notifications-outline' |
|
|
|
import NcCommentHere from '~icons/nc-icons/comment-here' |
|
|
|
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 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 NcPaste from '~icons/nc-icons/paste' |
|
|
|
|
|
|
|
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
|
|
|
@ -327,18 +337,20 @@ export const iconMap = { |
|
|
|
accountCircle: h('span', { class: 'material-symbols' }, 'account_circle'), |
|
|
|
accountCircle: h('span', { class: 'material-symbols' }, 'account_circle'), |
|
|
|
phUser: PhUser, |
|
|
|
phUser: PhUser, |
|
|
|
phUsers: PhUsers, |
|
|
|
phUsers: PhUsers, |
|
|
|
|
|
|
|
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'), |
|
|
@ -361,7 +373,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, |
|
|
@ -459,7 +471,13 @@ export const iconMap = { |
|
|
|
role_no_access: NoAccess, |
|
|
|
role_no_access: NoAccess, |
|
|
|
commentHere: NcCommentHere, |
|
|
|
commentHere: NcCommentHere, |
|
|
|
fileImage: FileImageIcon, |
|
|
|
fileImage: FileImageIcon, |
|
|
|
paste: h('span', { class: 'material-symbols' }, 'content_paste'), |
|
|
|
paste: NcPaste, |
|
|
|
|
|
|
|
chevronDown: NcChevronDown, |
|
|
|
|
|
|
|
pencil: NcPencil, |
|
|
|
|
|
|
|
rename: NcRename, |
|
|
|
|
|
|
|
ncEdit: NcEdit, |
|
|
|
|
|
|
|
ncArrowUp: NcArrowUp, |
|
|
|
|
|
|
|
ncArrowDown: NcArrowDown, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export const getMdiIcon = (type: string): any => { |
|
|
|
export const getMdiIcon = (type: string): any => { |
|
|
|