|
|
|
@ -79,69 +79,69 @@ import BTIcon from '~icons/mdi/table-arrow-left'
|
|
|
|
|
import MMIcon from '~icons/mdi/table-network' |
|
|
|
|
|
|
|
|
|
export const iconMap = { |
|
|
|
|
'lock-icon': PhLockIcon, |
|
|
|
|
'account-icon': PhAccountIcon, |
|
|
|
|
'users-icon': PhUsersThreeThin, |
|
|
|
|
'download': PhDownloadThin, |
|
|
|
|
'upload': PhUploadThin, |
|
|
|
|
'hook': PhHookThin, |
|
|
|
|
'erd': PhTreeThin, |
|
|
|
|
'plus': PhPlusThin, |
|
|
|
|
'search': PhSearchThin, |
|
|
|
|
'copy': PhCopySimpleThin, |
|
|
|
|
'clipboard': PhClipboardThin, |
|
|
|
|
'settings': PhGearThin, |
|
|
|
|
'image': PhImageThin, |
|
|
|
|
'datasource': PhHardDriveThin, |
|
|
|
|
'book': PhBookThin, |
|
|
|
|
'arrow-down': PhCaretDownLight, |
|
|
|
|
'three-dot-vertical': PhDotsThreeOutlineVerticalThin, |
|
|
|
|
'table': PhTableThin, |
|
|
|
|
'excel': PhExcelThin, |
|
|
|
|
'csv': PhCsvThin, |
|
|
|
|
'code': PhBracketsCurlyThin, |
|
|
|
|
'delete': PhTrashThin, |
|
|
|
|
'edit': PhPencilSimpleThin, |
|
|
|
|
'link': PhLinkSimpleThin, |
|
|
|
|
'lookup': PhListMagnifyingGlassThin, |
|
|
|
|
'text': PhStringIcon, |
|
|
|
|
'long-text': PhTextAreaIcon, |
|
|
|
|
'clock': ClockIcon, |
|
|
|
|
'web': WebIcon, |
|
|
|
|
'boolean': BooleanIcon, |
|
|
|
|
'calendar': CalendarIcon, |
|
|
|
|
'single-select': SingleSelectIcon, |
|
|
|
|
'multi-select': MultiSelectIcon, |
|
|
|
|
'datetime': DatetimeIcon, |
|
|
|
|
'geo-data': GeoDataIcon, |
|
|
|
|
'rating': RatingIcon, |
|
|
|
|
'generic': GenericIcon, |
|
|
|
|
'numeric': NumericIcon, |
|
|
|
|
'email': EmailIcon, |
|
|
|
|
'currency': CurrencyIcon, |
|
|
|
|
'percent': PercentIcon, |
|
|
|
|
'decimal': DecimalIcon, |
|
|
|
|
'specific-db-type': SpecificDBTypeIcon, |
|
|
|
|
'duration': DurationIcon, |
|
|
|
|
'file-phone': FilePhoneIcon, |
|
|
|
|
'formula': PhFunctiontone, |
|
|
|
|
'key': KeyIcon, |
|
|
|
|
'json': PhBracketsCurlyThin, |
|
|
|
|
'qr-code': PhQrCodeThin, |
|
|
|
|
'bar-code': PhBarcodeThin, |
|
|
|
|
'calculator': PhCalculatorThin, |
|
|
|
|
'rollup': PhLifebuoyThin, |
|
|
|
|
'eye': PhEyeThin, |
|
|
|
|
'eye-slash': PhEyeSlashThin, |
|
|
|
|
'expand': PhExpandThin, |
|
|
|
|
'check': PhCheckThin, |
|
|
|
|
'acl': PhFolderLockThin, |
|
|
|
|
'sync': MdiDatabaseSync, |
|
|
|
|
'warning': PhWarningThin, |
|
|
|
|
lock: PhLockIcon, |
|
|
|
|
account: PhAccountIcon, |
|
|
|
|
users: PhUsersThreeThin, |
|
|
|
|
download: PhDownloadThin, |
|
|
|
|
upload: PhUploadThin, |
|
|
|
|
hook: PhHookThin, |
|
|
|
|
erd: PhTreeThin, |
|
|
|
|
plus: PhPlusThin, |
|
|
|
|
search: PhSearchThin, |
|
|
|
|
copy: PhCopySimpleThin, |
|
|
|
|
clipboard: PhClipboardThin, |
|
|
|
|
settings: PhGearThin, |
|
|
|
|
image: PhImageThin, |
|
|
|
|
datasource: PhHardDriveThin, |
|
|
|
|
book: PhBookThin, |
|
|
|
|
arrowDown: PhCaretDownLight, |
|
|
|
|
threeDotVertical: PhDotsThreeOutlineVerticalThin, |
|
|
|
|
table: PhTableThin, |
|
|
|
|
excel: PhExcelThin, |
|
|
|
|
csv: PhCsvThin, |
|
|
|
|
code: PhBracketsCurlyThin, |
|
|
|
|
delete: PhTrashThin, |
|
|
|
|
edit: PhPencilSimpleThin, |
|
|
|
|
link: PhLinkSimpleThin, |
|
|
|
|
lookup: PhListMagnifyingGlassThin, |
|
|
|
|
text: PhStringIcon, |
|
|
|
|
longText: PhTextAreaIcon, |
|
|
|
|
clock: ClockIcon, |
|
|
|
|
web: WebIcon, |
|
|
|
|
boolean: BooleanIcon, |
|
|
|
|
calendar: CalendarIcon, |
|
|
|
|
singleSelect: SingleSelectIcon, |
|
|
|
|
multiSelect: MultiSelectIcon, |
|
|
|
|
datetime: DatetimeIcon, |
|
|
|
|
geoData: GeoDataIcon, |
|
|
|
|
rating: RatingIcon, |
|
|
|
|
generic: GenericIcon, |
|
|
|
|
numeric: NumericIcon, |
|
|
|
|
email: EmailIcon, |
|
|
|
|
currency: CurrencyIcon, |
|
|
|
|
percent: PercentIcon, |
|
|
|
|
decimal: DecimalIcon, |
|
|
|
|
specificDbType: SpecificDBTypeIcon, |
|
|
|
|
duration: DurationIcon, |
|
|
|
|
phone: FilePhoneIcon, |
|
|
|
|
formula: PhFunctiontone, |
|
|
|
|
key: KeyIcon, |
|
|
|
|
json: PhBracketsCurlyThin, |
|
|
|
|
qrCode: PhQrCodeThin, |
|
|
|
|
barCode: PhBarcodeThin, |
|
|
|
|
calculator: PhCalculatorThin, |
|
|
|
|
rollup: PhLifebuoyThin, |
|
|
|
|
eye: PhEyeThin, |
|
|
|
|
eyeSlash: PhEyeSlashThin, |
|
|
|
|
expand: PhExpandThin, |
|
|
|
|
check: PhCheckThin, |
|
|
|
|
acl: PhFolderLockThin, |
|
|
|
|
sync: MdiDatabaseSync, |
|
|
|
|
warning: PhWarningThin, |
|
|
|
|
|
|
|
|
|
'mm': MMIcon, |
|
|
|
|
'hm': HMIcon, |
|
|
|
|
'bt': BTIcon, |
|
|
|
|
mm: MMIcon, |
|
|
|
|
hm: HMIcon, |
|
|
|
|
bt: BTIcon, |
|
|
|
|
} as const |
|
|
|
|
|
|
|
|
|
export const getMdiIcon = (type: string): any => { |
|
|
|
|