code
stringlengths 501
5.19M
| package
stringlengths 2
81
| path
stringlengths 9
304
| filename
stringlengths 4
145
|
---|---|---|---|
from django.urls import path
from . import views
urlpatterns = [
path("lesson", views.register_object, {"model": "lesson"}, name="lesson_period"),
path(
"lesson/<int:year>/<int:week>/<int:id_>",
views.register_object,
{"model": "lesson"},
name="lesson_period",
),
path(
"extra_lesson/<int:id_>/",
views.register_object,
{"model": "extra_lesson"},
name="extra_lesson",
),
path(
"event/<int:id_>/",
views.register_object,
{"model": "event"},
name="event",
),
path("week/", views.week_view, name="week_view"),
path("week/<int:year>/<int:week>/", views.week_view, name="week_view_by_week"),
path("week/year/cw/", views.week_view, name="week_view_placeholders"),
path("week/<str:type_>/<int:id_>/", views.week_view, name="week_view"),
path(
"week/year/cw/<str:type_>/<int:id_>/",
views.week_view,
name="week_view_placeholders",
),
path(
"week/<int:year>/<int:week>/<str:type_>/<int:id_>/",
views.week_view,
name="week_view_by_week",
),
path("print/group/<int:id_>", views.full_register_group, name="full_register_group"),
path("groups/", views.my_groups, name="my_groups"),
path("groups/<int:pk>/", views.StudentsList.as_view(), name="students_list"),
path("persons/", views.my_students, name="my_students"),
path("persons/<int:id_>/", views.overview_person, name="overview_person"),
path("me/", views.overview_person, name="overview_me"),
path(
"notes/<int:pk>/delete/",
views.DeletePersonalNoteView.as_view(),
name="delete_personal_note",
),
path("absence/new/<int:id_>/", views.register_absence, name="register_absence"),
path("absence/new/", views.register_absence, name="register_absence"),
path("extra_marks/", views.ExtraMarkListView.as_view(), name="extra_marks"),
path(
"extra_marks/create/",
views.ExtraMarkCreateView.as_view(),
name="create_extra_mark",
),
path(
"extra_marks/<int:pk>/edit/",
views.ExtraMarkEditView.as_view(),
name="edit_extra_mark",
),
path(
"extra_marks/<int:pk>/delete/",
views.ExtraMarkDeleteView.as_view(),
name="delete_extra_mark",
),
path("excuse_types/", views.ExcuseTypeListView.as_view(), name="excuse_types"),
path(
"excuse_types/create/",
views.ExcuseTypeCreateView.as_view(),
name="create_excuse_type",
),
path(
"excuse_types/<int:pk>/edit/",
views.ExcuseTypeEditView.as_view(),
name="edit_excuse_type",
),
path(
"excuse_types/<int:pk>/delete/",
views.ExcuseTypeDeleteView.as_view(),
name="delete_excuse_type",
),
path("group_roles/", views.GroupRoleListView.as_view(), name="group_roles"),
path("group_roles/create/", views.GroupRoleCreateView.as_view(), name="create_group_role"),
path(
"group_roles/<int:pk>/edit/",
views.GroupRoleEditView.as_view(),
name="edit_group_role",
),
path(
"group_roles/<int:pk>/delete/",
views.GroupRoleDeleteView.as_view(),
name="delete_group_role",
),
path(
"groups/<int:pk>/group_roles/",
views.AssignedGroupRolesView.as_view(),
name="assigned_group_roles",
),
path(
"groups/<int:pk>/group_roles/assign/",
views.AssignGroupRoleView.as_view(),
name="assign_group_role",
),
path(
"groups/<int:pk>/group_roles/<int:role_pk>/assign/",
views.AssignGroupRoleView.as_view(),
name="assign_group_role",
),
path(
"group_roles/assignments/<int:pk>/edit/",
views.GroupRoleAssignmentEditView.as_view(),
name="edit_group_role_assignment",
),
path(
"group_roles/assignments/<int:pk>/stop/",
views.GroupRoleAssignmentStopView.as_view(),
name="stop_group_role_assignment",
),
path(
"group_roles/assignments/<int:pk>/delete/",
views.GroupRoleAssignmentDeleteView.as_view(),
name="delete_group_role_assignment",
),
path(
"group_roles/assignments/assign/",
views.AssignGroupRoleMultipleView.as_view(),
name="assign_group_role_multiple",
),
path("all/", views.AllRegisterObjectsView.as_view(), name="all_register_objects"),
] | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/urls.py | urls.py |
from rules import add_perm
from aleksis.core.models import Group
from aleksis.core.util.predicates import (
has_any_object,
has_global_perm,
has_object_perm,
has_person,
is_current_person,
is_site_preference_set,
)
from .util.predicates import (
has_lesson_group_object_perm,
has_person_group_object_perm,
has_personal_note_group_perm,
is_group_member,
is_group_owner,
is_group_role_assignment_group_owner,
is_lesson_original_teacher,
is_lesson_parent_group_owner,
is_lesson_participant,
is_lesson_teacher,
is_none,
is_own_personal_note,
is_owner_of_any_group,
is_parent_group_owner,
is_person_group_owner,
is_person_primary_group_owner,
is_personal_note_lesson_original_teacher,
is_personal_note_lesson_parent_group_owner,
is_personal_note_lesson_teacher,
is_teacher,
)
# View lesson
view_register_object_predicate = has_person & (
is_none # View is opened as "Current lesson"
| is_lesson_teacher
| is_lesson_original_teacher
| is_lesson_participant
| is_lesson_parent_group_owner
| has_global_perm("alsijil.view_lesson")
| has_lesson_group_object_perm("core.view_week_class_register_group")
)
add_perm("alsijil.view_register_object_rule", view_register_object_predicate)
# View lesson in menu
add_perm("alsijil.view_lesson_menu_rule", has_person)
# View lesson personal notes
view_lesson_personal_notes_predicate = view_register_object_predicate & (
~is_lesson_participant
| is_lesson_teacher
| is_lesson_original_teacher
| (
is_lesson_parent_group_owner
& is_site_preference_set("alsijil", "inherit_privileges_from_parent_group")
)
| has_global_perm("alsijil.view_personalnote")
| has_lesson_group_object_perm("core.view_personalnote_group")
)
add_perm("alsijil.view_register_object_personalnote_rule", view_lesson_personal_notes_predicate)
# Edit personal note
edit_lesson_personal_note_predicate = view_lesson_personal_notes_predicate & (
is_lesson_teacher
| (
is_lesson_original_teacher
& is_site_preference_set("alsijil", "edit_lesson_documentation_as_original_teacher")
)
| (
is_lesson_parent_group_owner
& is_site_preference_set("alsijil", "inherit_privileges_from_parent_group")
)
| has_global_perm("alsijil.change_personalnote")
| has_lesson_group_object_perm("core.edit_personalnote_group")
)
add_perm("alsijil.edit_register_object_personalnote_rule", edit_lesson_personal_note_predicate)
# View personal note
view_personal_note_predicate = has_person & (
(is_own_personal_note & is_site_preference_set("alsijil", "view_own_personal_notes"))
| is_personal_note_lesson_teacher
| is_personal_note_lesson_original_teacher
| is_personal_note_lesson_parent_group_owner
| has_global_perm("alsijil.view_personalnote")
| has_personal_note_group_perm("core.view_personalnote_group")
)
add_perm("alsijil.view_personalnote_rule", view_personal_note_predicate)
# Edit personal note
edit_personal_note_predicate = view_personal_note_predicate & (
~is_own_personal_note
& ~(
is_personal_note_lesson_original_teacher
| ~is_site_preference_set("alsijil", "edit_lesson_documentation_as_original_teacher")
)
| (
is_personal_note_lesson_parent_group_owner
| is_site_preference_set("alsijil", "inherit_privileges_from_parent_group")
)
| has_global_perm("alsijil.view_personalnote")
| has_personal_note_group_perm("core.edit_personalnote_group")
)
add_perm("alsijil.edit_personalnote_rule", edit_personal_note_predicate)
# View lesson documentation
view_lesson_documentation_predicate = view_register_object_predicate
add_perm("alsijil.view_lessondocumentation_rule", view_lesson_documentation_predicate)
# Edit lesson documentation
edit_lesson_documentation_predicate = view_register_object_predicate & (
is_lesson_teacher
| (
is_lesson_original_teacher
& is_site_preference_set("alsijil", "edit_lesson_documentation_as_original_teacher")
)
| (
is_lesson_parent_group_owner
& is_site_preference_set("alsijil", "inherit_privileges_from_parent_group")
)
| has_global_perm("alsijil.change_lessondocumentation")
| has_lesson_group_object_perm("core.edit_lessondocumentation_group")
)
add_perm("alsijil.edit_lessondocumentation_rule", edit_lesson_documentation_predicate)
# View week overview
view_week_predicate = has_person & (
is_current_person
| is_group_member
| is_group_owner
| (
is_parent_group_owner
& is_site_preference_set("alsijil", "inherit_privileges_from_parent_group")
)
| has_global_perm("alsijil.view_week")
| has_object_perm("core.view_week_class_register_group")
)
add_perm("alsijil.view_week_rule", view_week_predicate)
# View week overview in menu
add_perm("alsijil.view_week_menu_rule", has_person)
# View week personal notes
view_week_personal_notes_predicate = has_person & (
(is_current_person & is_teacher)
| is_group_owner
| (
is_parent_group_owner
& is_site_preference_set("alsijil", "inherit_privileges_from_parent_group")
)
| has_global_perm("alsijil.view_personalnote")
| has_object_perm("core.view_personalnote_group")
)
add_perm("alsijil.view_week_personalnote_rule", view_week_personal_notes_predicate)
# Register absence
view_register_absence_predicate = has_person & (
(
is_person_group_owner
& is_site_preference_set("alsijil", "register_absence_as_primary_group_owner")
)
| has_global_perm("alsijil.register_absence")
)
register_absence_predicate = has_person & (
view_register_absence_predicate
| has_object_perm("core.register_absence_person")
| has_person_group_object_perm("core.register_absence_group")
)
add_perm("alsijil.view_register_absence_rule", view_register_absence_predicate)
add_perm("alsijil.register_absence_rule", register_absence_predicate)
# View full register for group
view_full_register_predicate = has_person & (
is_group_owner
| (
is_parent_group_owner
& is_site_preference_set("alsijil", "inherit_privileges_from_parent_group")
)
| has_global_perm("alsijil.view_full_register")
| has_object_perm("core.view_full_register_group")
)
add_perm("alsijil.view_full_register_rule", view_full_register_predicate)
# View students list
view_my_students_predicate = has_person & is_teacher
add_perm("alsijil.view_my_students_rule", view_my_students_predicate)
# View groups list
view_my_groups_predicate = has_person & is_teacher
add_perm("alsijil.view_my_groups_rule", view_my_groups_predicate)
# View students list
view_students_list_predicate = view_my_groups_predicate & (
is_group_owner
| (
is_parent_group_owner
& is_site_preference_set("alsijil", "inherit_privileges_from_parent_group")
)
| has_global_perm("alsijil.view_personalnote")
| has_object_perm("core.view_personalnote_group")
)
add_perm("alsijil.view_students_list_rule", view_students_list_predicate)
# View person overview
view_person_overview_predicate = has_person & (
(is_current_person & is_site_preference_set("alsijil", "view_own_personal_notes"))
| is_person_group_owner
)
add_perm("alsijil.view_person_overview_rule", view_person_overview_predicate)
# View person overview
view_person_overview_menu_predicate = has_person
add_perm("alsijil.view_person_overview_menu_rule", view_person_overview_menu_predicate)
# View person overview personal notes
view_person_overview_personal_notes_predicate = view_person_overview_predicate & (
(is_current_person & is_site_preference_set("alsijil", "view_own_personal_notes"))
| is_person_primary_group_owner
| has_global_perm("alsijil.view_personalnote")
| has_person_group_object_perm("core.view_personalnote_group")
)
add_perm(
"alsijil.view_person_overview_personalnote_rule",
view_person_overview_personal_notes_predicate,
)
# Edit person overview personal notes
edit_person_overview_personal_notes_predicate = view_person_overview_predicate & (
~is_current_person
| has_global_perm("alsijil.change_personalnote")
| has_person_group_object_perm("core.edit_personalnote_group")
)
add_perm(
"alsijil.edit_person_overview_personalnote_rule",
edit_person_overview_personal_notes_predicate,
)
# View person statistics on personal notes
view_person_statistics_personal_notes_predicate = view_person_overview_personal_notes_predicate
add_perm(
"alsijil.view_person_statistics_personalnote_rule",
view_person_statistics_personal_notes_predicate,
)
# View excuse type list
view_excusetypes_predicate = has_person & has_global_perm("alsijil.view_excusetype")
add_perm("alsijil.view_excusetypes_rule", view_excusetypes_predicate)
# Add excuse type
add_excusetype_predicate = view_excusetypes_predicate & has_global_perm("alsijil.add_excusetype")
add_perm("alsijil.add_excusetype_rule", add_excusetype_predicate)
# Edit excuse type
edit_excusetype_predicate = view_excusetypes_predicate & has_global_perm(
"alsijil.change_excusetype"
)
add_perm("alsijil.edit_excusetype_rule", edit_excusetype_predicate)
# Delete excuse type
delete_excusetype_predicate = view_excusetypes_predicate & has_global_perm(
"alsijil.delete_excusetype"
)
add_perm("alsijil.delete_excusetype_rule", delete_excusetype_predicate)
# View extra mark list
view_extramarks_predicate = has_person & has_global_perm("alsijil.view_extramark")
add_perm("alsijil.view_extramarks_rule", view_extramarks_predicate)
# Add extra mark
add_extramark_predicate = view_extramarks_predicate & has_global_perm("alsijil.add_extramark")
add_perm("alsijil.add_extramark_rule", add_extramark_predicate)
# Edit extra mark
edit_extramark_predicate = view_extramarks_predicate & has_global_perm("alsijil.change_extramark")
add_perm("alsijil.edit_extramark_rule", edit_extramark_predicate)
# Delete extra mark
delete_extramark_predicate = view_extramarks_predicate & has_global_perm("alsijil.delete_extramark")
add_perm("alsijil.delete_extramark_rule", delete_extramark_predicate)
# View group role list
view_group_roles_predicate = has_person & has_global_perm("alsijil.view_grouprole")
add_perm("alsijil.view_grouproles_rule", view_group_roles_predicate)
# Add group role
add_group_role_predicate = view_group_roles_predicate & has_global_perm("alsijil.add_grouprole")
add_perm("alsijil.add_grouprole_rule", add_group_role_predicate)
# Edit group role
edit_group_role_predicate = view_group_roles_predicate & has_global_perm("alsijil.change_grouprole")
add_perm("alsijil.edit_grouprole_rule", edit_group_role_predicate)
# Delete group role
delete_group_role_predicate = view_group_roles_predicate & has_global_perm(
"alsijil.delete_grouprole"
)
add_perm("alsijil.delete_grouprole_rule", delete_group_role_predicate)
view_assigned_group_roles_predicate = has_person & (
is_group_owner
| (
is_parent_group_owner
& is_site_preference_set("alsijil", "inherit_privileges_from_parent_group")
)
| has_global_perm("alsijil.assign_grouprole")
| has_object_perm("core.assign_grouprole")
)
add_perm("alsijil.view_assigned_grouproles_rule", view_assigned_group_roles_predicate)
view_assigned_group_roles_register_object_predicate = has_person & (
is_lesson_teacher
| is_lesson_original_teacher
| is_lesson_parent_group_owner
| has_global_perm("alsijil.assign_grouprole")
)
add_perm(
"alsijil.view_assigned_grouproles_for_register_object",
view_assigned_group_roles_register_object_predicate,
)
assign_group_role_person_predicate = has_person & (
is_person_group_owner | has_global_perm("alsijil.assign_grouprole")
)
add_perm("alsijil.assign_grouprole_to_person_rule", assign_group_role_person_predicate)
assign_group_role_for_multiple_predicate = has_person & (
is_owner_of_any_group | has_global_perm("alsijil.assign_grouprole")
)
add_perm("alsijil.assign_grouprole_for_multiple_rule", assign_group_role_for_multiple_predicate)
assign_group_role_group_predicate = view_assigned_group_roles_predicate
add_perm("alsijil.assign_grouprole_for_group_rule", assign_group_role_group_predicate)
edit_group_role_assignment_predicate = has_person & (
has_global_perm("alsijil.assign_grouprole") | is_group_role_assignment_group_owner
)
add_perm("alsijil.edit_grouproleassignment_rule", edit_group_role_assignment_predicate)
stop_group_role_assignment_predicate = edit_group_role_assignment_predicate
add_perm("alsijil.stop_grouproleassignment_rule", stop_group_role_assignment_predicate)
delete_group_role_assignment_predicate = has_person & (
has_global_perm("alsijil.assign_grouprole") | is_group_role_assignment_group_owner
)
add_perm("alsijil.delete_grouproleassignment_rule", delete_group_role_assignment_predicate)
view_register_objects_list_predicate = has_person & (
has_any_object("core.view_full_register_group", Group)
| has_global_perm("alsijil.view_full_register")
)
add_perm("alsijil.view_register_objects_list_rule", view_register_objects_list_predicate) | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/rules.py | rules.py |
import logging
from django.db.models import F
from django.db.models.query_utils import Q
from django.utils.translation import gettext as _
from aleksis.core.data_checks import DataCheck, IgnoreSolveOption, SolveOption
class DeleteRelatedObjectSolveOption(SolveOption):
name = "delete"
verbose_name = _("Delete object")
@classmethod
def solve(cls, check_result: "DataCheckResult"):
check_result.related_object.delete()
check_result.delete()
class SetGroupsWithCurrentGroupsSolveOption(SolveOption):
name = "set_groups_of_person"
verbose_name = _("Set current groups")
@classmethod
def solve(cls, check_result: "DataCheckResult"):
person = check_result.related_object.person
check_result.related_object.groups_of_person.set(person.member_of.all())
check_result.delete()
class ResetPersonalNoteSolveOption(SolveOption):
name = "reset_personal_note"
verbose_name = _("Reset personal note to defaults")
@classmethod
def solve(cls, check_result: "DataCheckResult"):
note = check_result.related_object
note.reset_values()
note.save()
check_result.delete()
class NoPersonalNotesInCancelledLessonsDataCheck(DataCheck):
name = "no_personal_notes_in_cancelled_lessons"
verbose_name = _("Ensure that there are no personal notes in cancelled lessons")
problem_name = _("The personal note is related to a cancelled lesson.")
solve_options = {
DeleteRelatedObjectSolveOption.name: DeleteRelatedObjectSolveOption,
IgnoreSolveOption.name: IgnoreSolveOption,
}
@classmethod
def check_data(cls):
from .models import PersonalNote
personal_notes = (
PersonalNote.objects.not_empty()
.filter(
lesson_period__substitutions__cancelled=True,
lesson_period__substitutions__week=F("week"),
lesson_period__substitutions__year=F("year"),
)
.prefetch_related("lesson_period", "lesson_period__substitutions")
)
for note in personal_notes:
logging.info(f"Check personal note {note}")
cls.register_result(note)
class NoGroupsOfPersonsSetInPersonalNotesDataCheck(DataCheck):
name = "no_groups_of_persons_set_in_personal_notes"
verbose_name = _("Ensure that 'groups_of_person' is set for every personal note")
problem_name = _("The personal note has no group in 'groups_of_person'.")
solve_options = {
SetGroupsWithCurrentGroupsSolveOption.name: SetGroupsWithCurrentGroupsSolveOption,
DeleteRelatedObjectSolveOption.name: DeleteRelatedObjectSolveOption,
IgnoreSolveOption.name: IgnoreSolveOption,
}
@classmethod
def check_data(cls):
from .models import PersonalNote
personal_notes = PersonalNote.objects.filter(groups_of_person__isnull=True)
for note in personal_notes:
logging.info(f"Check personal note {note}")
cls.register_result(note)
class LessonDocumentationOnHolidaysDataCheck(DataCheck):
"""Checks for lesson documentation objects on holidays.
This ignores empty lesson documentation as they are created by default.
"""
name = "lesson_documentation_on_holidays"
verbose_name = _("Ensure that there are no filled out lesson documentations on holidays")
problem_name = _("The lesson documentation is on holidays.")
solve_options = {
DeleteRelatedObjectSolveOption.name: DeleteRelatedObjectSolveOption,
IgnoreSolveOption.name: IgnoreSolveOption,
}
@classmethod
def check_data(cls):
from aleksis.apps.chronos.models import Holiday
from .models import LessonDocumentation
holidays = Holiday.objects.all()
documentations = LessonDocumentation.objects.not_empty().annotate_date_range()
q = Q(pk__in=[])
for holiday in holidays:
q = q | Q(day_end__gte=holiday.date_start, day_start__lte=holiday.date_end)
documentations = documentations.filter(q)
for doc in documentations:
logging.info(f"Lesson documentation {doc} is on holidays")
cls.register_result(doc)
class PersonalNoteOnHolidaysDataCheck(DataCheck):
"""Checks for personal note objects on holidays.
This ignores empty personal notes as they are created by default.
"""
name = "personal_note_on_holidays"
verbose_name = _("Ensure that there are no filled out personal notes on holidays")
problem_name = _("The personal note is on holidays.")
solve_options = {
DeleteRelatedObjectSolveOption.name: DeleteRelatedObjectSolveOption,
IgnoreSolveOption.name: IgnoreSolveOption,
}
@classmethod
def check_data(cls):
from aleksis.apps.chronos.models import Holiday
from .models import PersonalNote
holidays = Holiday.objects.all()
personal_notes = PersonalNote.objects.not_empty().annotate_date_range()
q = Q(pk__in=[])
for holiday in holidays:
q = q | Q(day_end__gte=holiday.date_start, day_start__lte=holiday.date_end)
personal_notes = personal_notes.filter(q)
for note in personal_notes:
logging.info(f"Personal note {note} is on holidays")
cls.register_result(note)
class ExcusesWithoutAbsences(DataCheck):
name = "excuses_without_absences"
verbose_name = _("Ensure that there are no excused personal notes without an absence")
problem_name = _("The personal note is marked as excused, but not as absent.")
solve_options = {
ResetPersonalNoteSolveOption.name: ResetPersonalNoteSolveOption,
IgnoreSolveOption.name: IgnoreSolveOption,
}
@classmethod
def check_data(cls):
from .models import PersonalNote
personal_notes = PersonalNote.objects.filter(excused=True, absent=False)
for note in personal_notes:
logging.info(f"Check personal note {note}")
cls.register_result(note) | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/data_checks.py | data_checks.py |
from datetime import date
from typing import Dict, Iterable, Iterator, Optional, Union
from django.db.models import Exists, FilteredRelation, OuterRef, Q, QuerySet
from django.db.models.aggregates import Count, Sum
from django.urls import reverse
from django.utils.translation import gettext as _
from calendarweek import CalendarWeek
from aleksis.apps.alsijil.managers import PersonalNoteQuerySet
from aleksis.apps.chronos.models import Event, ExtraLesson, LessonPeriod
from aleksis.core.models import Group, Person
from aleksis.core.util.core_helpers import get_site_preferences
from .models import ExcuseType, ExtraMark, LessonDocumentation, PersonalNote
def alsijil_url(
self: Union[LessonPeriod, Event, ExtraLesson], week: Optional[CalendarWeek] = None
) -> str:
"""Build URL for the detail page of register objects.
Works with `LessonPeriod`, `Event` and `ExtraLesson`.
On `LessonPeriod` objects, it will work with annotated or passed weeks.
"""
if isinstance(self, LessonPeriod):
week = week or self.week
return reverse("lesson_period", args=[week.year, week.week, self.pk])
else:
return reverse(self.label_, args=[self.pk])
LessonPeriod.property_(alsijil_url)
LessonPeriod.method(alsijil_url, "get_alsijil_url")
Event.property_(alsijil_url)
Event.method(alsijil_url, "get_alsijil_url")
ExtraLesson.property_(alsijil_url)
ExtraLesson.method(alsijil_url, "get_alsijil_url")
@Person.method
def mark_absent(
self,
day: date,
from_period: int = 0,
absent: bool = True,
excused: bool = False,
excuse_type: Optional[ExcuseType] = None,
remarks: str = "",
to_period: Optional[int] = None,
dry_run: bool = False,
):
"""Mark a person absent for all lessons in a day, optionally starting with a selected period number.
This function creates `PersonalNote` objects for every `LessonPeriod` and `ExtraLesson`
the person participates in on the selected day and marks them as absent/excused.
:param dry_run: With this activated, the function won't change any data
and just return the count of affected lessons
:return: Count of affected lesson periods
..note:: Only available when AlekSIS-App-Alsijil is installed.
:Date: 2019-11-10
:Authors:
- Dominik George <[email protected]>
"""
wanted_week = CalendarWeek.from_date(day)
# Get all lessons of this person on the specified day
lesson_periods = (
self.lesson_periods_as_participant.on_day(day)
.filter(period__period__gte=from_period)
.annotate_week(wanted_week)
)
extra_lessons = (
ExtraLesson.objects.filter(groups__members=self)
.on_day(day)
.filter(period__period__gte=from_period)
)
if to_period:
lesson_periods = lesson_periods.filter(period__period__lte=to_period)
extra_lessons = extra_lessons.filter(period__period__lte=to_period)
# Create and update all personal notes for the discovered lesson periods
if not dry_run:
for register_object in list(lesson_periods) + list(extra_lessons):
if isinstance(register_object, LessonPeriod):
sub = register_object.get_substitution()
q_attrs = dict(
week=wanted_week.week, year=wanted_week.year, lesson_period=register_object
)
else:
sub = None
q_attrs = dict(extra_lesson=register_object)
if sub and sub.cancelled:
continue
personal_note, created = (
PersonalNote.objects.select_related(None)
.prefetch_related(None)
.update_or_create(
person=self,
defaults={
"absent": absent,
"excused": excused,
"excuse_type": excuse_type,
},
**q_attrs,
)
)
personal_note.groups_of_person.set(self.member_of.all())
if remarks:
if personal_note.remarks:
personal_note.remarks += "; %s" % remarks
else:
personal_note.remarks = remarks
personal_note.save()
return lesson_periods.count() + extra_lessons.count()
def get_personal_notes(
self, persons: QuerySet, wanted_week: Optional[CalendarWeek] = None
) -> PersonalNoteQuerySet:
"""Get all personal notes for that register object in a specified week.
The week is optional for extra lessons and events as they have own date information.
Returns all linked `PersonalNote` objects,
filtered by the given week for `LessonPeriod` objects,
creating those objects that haven't been created yet.
..note:: Only available when AlekSIS-App-Alsijil is installed.
:Date: 2019-11-09
:Authors:
- Dominik George <[email protected]>
"""
# Find all persons in the associated groups that do not yet have a personal note for this lesson
if isinstance(self, LessonPeriod):
q_attrs = dict(week=wanted_week.week, year=wanted_week.year, lesson_period=self)
elif isinstance(self, Event):
q_attrs = dict(event=self)
else:
q_attrs = dict(extra_lesson=self)
missing_persons = persons.annotate(
no_personal_notes=~Exists(PersonalNote.objects.filter(person__pk=OuterRef("pk"), **q_attrs))
).filter(
member_of__in=Group.objects.filter(pk__in=self.get_groups().all()),
no_personal_notes=True,
)
# Create all missing personal notes
new_personal_notes = [
PersonalNote(
person=person,
**q_attrs,
)
for person in missing_persons
]
PersonalNote.objects.bulk_create(new_personal_notes)
for personal_note in new_personal_notes:
personal_note.groups_of_person.set(personal_note.person.member_of.all())
return (
PersonalNote.objects.filter(**q_attrs, person__in=persons)
.select_related(None)
.prefetch_related(None)
.select_related("person", "excuse_type")
.prefetch_related("extra_marks")
)
LessonPeriod.method(get_personal_notes)
Event.method(get_personal_notes)
ExtraLesson.method(get_personal_notes)
# Dynamically add extra permissions to Group and Person models in core
# Note: requires migrate afterwards
Group.add_permission(
"view_week_class_register_group",
_("Can view week overview of group class register"),
)
Group.add_permission(
"view_lesson_class_register_group",
_("Can view lesson overview of group class register"),
)
Group.add_permission("view_personalnote_group", _("Can view all personal notes of a group"))
Group.add_permission("edit_personalnote_group", _("Can edit all personal notes of a group"))
Group.add_permission(
"view_lessondocumentation_group", _("Can view all lesson documentation of a group")
)
Group.add_permission(
"edit_lessondocumentation_group", _("Can edit all lesson documentation of a group")
)
Group.add_permission("view_full_register_group", _("Can view full register of a group"))
Group.add_permission(
"register_absence_group", _("Can register an absence for all members of a group")
)
Group.add_permission("assign_grouprole", _("Can assign a group role for this group"))
Person.add_permission("register_absence_person", _("Can register an absence for a person"))
@LessonPeriod.method
def get_lesson_documentation(
self, week: Optional[CalendarWeek] = None
) -> Union[LessonDocumentation, None]:
"""Get lesson documentation object for this lesson."""
if not week:
week = self.week
# Use all to make effect of prefetched data
doc_filter = filter(
lambda d: d.week == week.week and d.year == week.year,
self.documentations.all(),
)
try:
return next(doc_filter)
except StopIteration:
return None
def get_lesson_documentation_single(
self, week: Optional[CalendarWeek] = None
) -> Union[LessonDocumentation, None]:
"""Get lesson documentation object for this event/extra lesson."""
if self.documentations.exists():
return self.documentations.all()[0]
return None
Event.method(get_lesson_documentation_single, "get_lesson_documentation")
ExtraLesson.method(get_lesson_documentation_single, "get_lesson_documentation")
@LessonPeriod.method
def get_or_create_lesson_documentation(
self, week: Optional[CalendarWeek] = None
) -> LessonDocumentation:
"""Get or create lesson documentation object for this lesson."""
if not week:
week = self.week
lesson_documentation, __ = LessonDocumentation.objects.get_or_create(
lesson_period=self, week=week.week, year=week.year
)
return lesson_documentation
def get_or_create_lesson_documentation_single(
self, week: Optional[CalendarWeek] = None
) -> LessonDocumentation:
"""Get or create lesson documentation object for this event/extra lesson."""
lesson_documentation, created = LessonDocumentation.objects.get_or_create(**{self.label_: self})
return lesson_documentation
Event.method(get_or_create_lesson_documentation_single, "get_or_create_lesson_documentation")
ExtraLesson.method(get_or_create_lesson_documentation_single, "get_or_create_lesson_documentation")
@LessonPeriod.method
def get_absences(self, week: Optional[CalendarWeek] = None) -> Iterator:
"""Get all personal notes of absent persons for this lesson."""
if not week:
week = self.week
return filter(
lambda p: p.week == week.week and p.year == week.year and p.absent,
self.personal_notes.all(),
)
def get_absences_simple(self, week: Optional[CalendarWeek] = None) -> Iterator:
"""Get all personal notes of absent persons for this event/extra lesson."""
return filter(lambda p: p.absent, self.personal_notes.all())
Event.method(get_absences_simple, "get_absences")
ExtraLesson.method(get_absences_simple, "get_absences")
@LessonPeriod.method
def get_excused_absences(self, week: Optional[CalendarWeek] = None) -> QuerySet:
"""Get all personal notes of excused absent persons for this lesson."""
if not week:
week = self.week
return self.personal_notes.filter(week=week.week, year=week.year, absent=True, excused=True)
def get_excused_absences_simple(self, week: Optional[CalendarWeek] = None) -> QuerySet:
"""Get all personal notes of excused absent persons for this event/extra lesson."""
return self.personal_notes.filter(absent=True, excused=True)
Event.method(get_excused_absences_simple, "get_excused_absences")
ExtraLesson.method(get_excused_absences_simple, "get_excused_absences")
@LessonPeriod.method
def get_unexcused_absences(self, week: Optional[CalendarWeek] = None) -> QuerySet:
"""Get all personal notes of unexcused absent persons for this lesson."""
if not week:
week = self.week
return self.personal_notes.filter(week=week.week, year=week.year, absent=True, excused=False)
def get_unexcused_absences_simple(self, week: Optional[CalendarWeek] = None) -> QuerySet:
"""Get all personal notes of unexcused absent persons for this event/extra lesson."""
return self.personal_notes.filter(absent=True, excused=False)
Event.method(get_unexcused_absences_simple, "get_unexcused_absences")
ExtraLesson.method(get_unexcused_absences_simple, "get_unexcused_absences")
@LessonPeriod.method
def get_tardinesses(self, week: Optional[CalendarWeek] = None) -> QuerySet:
"""Get all personal notes of late persons for this lesson."""
if not week:
week = self.week
return self.personal_notes.filter(week=week.week, year=week.year, tardiness__gt=0)
def get_tardinesses_simple(self, week: Optional[CalendarWeek] = None) -> QuerySet:
"""Get all personal notes of late persons for this event/extra lesson."""
return self.personal_notes.filter(tardiness__gt=0)
Event.method(get_tardinesses_simple, "get_tardinesses")
ExtraLesson.method(get_tardinesses_simple, "get_tardinesses")
@LessonPeriod.method
def get_extra_marks(self, week: Optional[CalendarWeek] = None) -> Dict[ExtraMark, QuerySet]:
"""Get all statistics on extra marks for this lesson."""
if not week:
week = self.week
stats = {}
for extra_mark in ExtraMark.objects.all():
qs = self.personal_notes.filter(week=week.week, year=week.year, extra_marks=extra_mark)
if qs:
stats[extra_mark] = qs
return stats
def get_extra_marks_simple(self, week: Optional[CalendarWeek] = None) -> Dict[ExtraMark, QuerySet]:
"""Get all statistics on extra marks for this event/extra lesson."""
stats = {}
for extra_mark in ExtraMark.objects.all():
qs = self.personal_notes.filter(extra_marks=extra_mark)
if qs:
stats[extra_mark] = qs
return stats
Event.method(get_extra_marks_simple, "get_extra_marks")
ExtraLesson.method(get_extra_marks_simple, "get_extra_marks")
@Group.class_method
def get_groups_with_lessons(cls: Group):
"""Get all groups which have related lessons or child groups with related lessons."""
group_pks = (
cls.objects.for_current_school_term_or_all()
.annotate(lessons_count=Count("lessons"))
.filter(lessons_count__gt=0)
.values_list("pk", flat=True)
)
groups = cls.objects.filter(Q(child_groups__pk__in=group_pks) | Q(pk__in=group_pks)).distinct()
return groups
@Person.method
def get_owner_groups_with_lessons(self: Person):
"""Get all groups the person is an owner of and which have related lessons.
Groups which have child groups with related lessons are also included, as well as all
child groups of the groups owned by the person with related lessons if the
inherit_privileges_from_parent_group preference is turned on.
"""
if get_site_preferences()["alsijil__inherit_privileges_from_parent_group"]:
return (
Group.get_groups_with_lessons()
.filter(Q(owners=self) | Q(parent_groups__owners=self))
.distinct()
)
return Group.get_groups_with_lessons().filter(owners=self).distinct()
@Group.method
def generate_person_list_with_class_register_statistics(
self: Group, persons: Optional[Iterable] = None
) -> QuerySet:
"""Get with class register statistics annotated list of all members."""
if persons is None:
persons = self.members.all()
lesson_periods = LessonPeriod.objects.filter(
lesson__validity__school_term=self.school_term
).filter(Q(lesson__groups=self) | Q(lesson__groups__parent_groups=self))
extra_lessons = ExtraLesson.objects.filter(school_term=self.school_term).filter(
Q(groups=self) | Q(groups__parent_groups=self)
)
events = Event.objects.filter(school_term=self.school_term).filter(
Q(groups=self) | Q(groups__parent_groups=self)
)
persons = persons.select_related("primary_group", "primary_group__school_term").order_by(
"last_name", "first_name"
)
persons = persons.annotate(
filtered_personal_notes=FilteredRelation(
"personal_notes",
condition=(
Q(personal_notes__event__in=events)
| Q(personal_notes__lesson_period__in=lesson_periods)
| Q(personal_notes__extra_lesson__in=extra_lessons)
),
)
).annotate(
absences_count=Count(
"filtered_personal_notes",
filter=Q(filtered_personal_notes__absent=True)
& ~Q(filtered_personal_notes__excuse_type__count_as_absent=False),
distinct=True,
),
excused=Count(
"filtered_personal_notes",
filter=Q(
filtered_personal_notes__absent=True,
filtered_personal_notes__excused=True,
)
& ~Q(filtered_personal_notes__excuse_type__count_as_absent=False),
distinct=True,
),
excused_without_excuse_type=Count(
"filtered_personal_notes",
filter=Q(
filtered_personal_notes__absent=True,
filtered_personal_notes__excused=True,
filtered_personal_notes__excuse_type__isnull=True,
),
distinct=True,
),
unexcused=Count(
"filtered_personal_notes",
filter=Q(filtered_personal_notes__absent=True, filtered_personal_notes__excused=False),
distinct=True,
),
tardiness=Sum("filtered_personal_notes__tardiness"),
tardiness_count=Count(
"filtered_personal_notes",
filter=Q(filtered_personal_notes__tardiness__gt=0),
distinct=True,
),
)
for extra_mark in ExtraMark.objects.all():
persons = persons.annotate(
**{
extra_mark.count_label: Count(
"filtered_personal_notes",
filter=Q(filtered_personal_notes__extra_marks=extra_mark),
distinct=True,
)
}
)
for excuse_type in ExcuseType.objects.all():
persons = persons.annotate(
**{
excuse_type.count_label: Count(
"filtered_personal_notes",
filter=Q(
filtered_personal_notes__absent=True,
filtered_personal_notes__excuse_type=excuse_type,
),
distinct=True,
)
}
)
return persons | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/model_extensions.py | model_extensions.py |
from django.template.loader import render_to_string
from django.utils.safestring import mark_safe
from django.utils.translation import gettext_lazy as _
import django_tables2 as tables
from django_tables2.utils import A
from aleksis.apps.chronos.models import Event, LessonPeriod
from aleksis.core.util.tables import SelectColumn
from .models import PersonalNote
class ExtraMarkTable(tables.Table):
class Meta:
attrs = {"class": "highlight"}
name = tables.LinkColumn("edit_extra_mark", args=[A("id")])
short_name = tables.Column()
edit = tables.LinkColumn(
"edit_extra_mark",
args=[A("id")],
text=_("Edit"),
attrs={"a": {"class": "btn-flat waves-effect waves-orange orange-text"}},
)
delete = tables.LinkColumn(
"delete_extra_mark",
args=[A("id")],
text=_("Delete"),
attrs={"a": {"class": "btn-flat waves-effect waves-red red-text"}},
)
class ExcuseTypeTable(tables.Table):
class Meta:
attrs = {"class": "highlight"}
name = tables.LinkColumn("edit_excuse_type", args=[A("id")])
short_name = tables.Column()
count_as_absent = tables.BooleanColumn(
verbose_name=_("Count as absent"),
accessor="count_as_absent",
)
edit = tables.LinkColumn(
"edit_excuse_type",
args=[A("id")],
text=_("Edit"),
attrs={"a": {"class": "btn-flat waves-effect waves-orange orange-text"}},
)
delete = tables.LinkColumn(
"delete_excuse_type",
args=[A("id")],
text=_("Delete"),
attrs={"a": {"class": "btn-flat waves-effect waves-red red-text"}},
)
def before_render(self, request):
if not request.user.has_perm("alsijil.edit_excusetype_rule"):
self.columns.hide("edit")
if not request.user.has_perm("alsijil.delete_excusetype_rule"):
self.columns.hide("delete")
class GroupRoleTable(tables.Table):
class Meta:
attrs = {"class": "highlight"}
name = tables.LinkColumn("edit_excuse_type", args=[A("id")])
edit = tables.LinkColumn(
"edit_group_role",
args=[A("id")],
text=_("Edit"),
attrs={"a": {"class": "btn-flat waves-effect waves-orange orange-text"}},
)
delete = tables.LinkColumn(
"delete_group_role",
args=[A("id")],
text=_("Delete"),
attrs={"a": {"class": "btn-flat waves-effect waves-red red-text"}},
)
def render_name(self, value, record):
context = dict(role=record)
return render_to_string("alsijil/group_role/chip.html", context)
def before_render(self, request):
if not request.user.has_perm("alsijil.edit_grouprole_rule"):
self.columns.hide("edit")
if not request.user.has_perm("alsijil.delete_grouprole_rule"):
self.columns.hide("delete")
class PersonalNoteTable(tables.Table):
selected = SelectColumn(attrs={"input": {"name": "selected_objects"}}, accessor=A("pk"))
date = tables.Column(
verbose_name=_("Date"), accessor=A("date_formatted"), order_by=A("day_start"), linkify=True
)
period = tables.Column(
verbose_name=_("Period"),
accessor=A("period_formatted"),
order_by=A("order_period"),
linkify=True,
)
groups = tables.Column(
verbose_name=_("Groups"),
accessor=A("register_object__group_names"),
order_by=A("order_groups"),
linkify=True,
)
teachers = tables.Column(
verbose_name=_("Teachers"),
accessor=A("register_object__teacher_names"),
order_by=A("order_teachers"),
linkify=True,
)
subject = tables.Column(verbose_name=_("Subject"), accessor=A("subject"), linkify=True)
absent = tables.Column(verbose_name=_("Absent"))
tardiness = tables.Column(verbose_name=_("Tardiness"))
excused = tables.Column(verbose_name=_("Excuse"))
extra_marks = tables.Column(verbose_name=_("Extra marks"), accessor=A("extra_marks__all"))
def render_groups(self, value, record):
if isinstance(record.register_object, LessonPeriod):
return record.register_object.lesson.group_names
else:
return value
def render_subject(self, value, record):
if isinstance(record.register_object, Event):
return _("Event")
else:
return value
def render_absent(self, value):
return (
render_to_string(
"components/materialize-chips.html",
dict(content=_("Absent"), classes="red white-text"),
)
if value
else "–"
)
def render_excused(self, value, record):
if record.absent and value:
context = dict(content=_("Excused"), classes="green white-text")
badge = render_to_string("components/materialize-chips.html", context)
if record.excuse_type:
context = dict(content=record.excuse_type.name, classes="green white-text")
badge = render_to_string("components/materialize-chips.html", context)
return badge
return "–"
def render_tardiness(self, value):
if value:
content = _(f"{value}' tardiness")
context = dict(content=content, classes="orange white-text")
return render_to_string("components/materialize-chips.html", context)
else:
return "–"
def render_extra_marks(self, value):
if value:
badges = ""
for extra_mark in value:
content = extra_mark.name
badges += render_to_string(
"components/materialize-chips.html", context=dict(content=content)
)
return mark_safe(badges) # noqa
else:
return "–"
class Meta:
model = PersonalNote
fields = ()
def _get_link(value, record):
return record["register_object"].get_alsijil_url(record.get("week"))
class RegisterObjectTable(tables.Table):
"""Table to show all register objects in an overview.
.. warning::
Works only with ``generate_list_of_all_register_objects``.
"""
class Meta:
attrs = {"class": "highlight responsive-table"}
status = tables.Column(accessor="register_object")
date = tables.Column(order_by="date_sort", linkify=_get_link)
period = tables.Column(order_by="period_sort", linkify=_get_link)
groups = tables.Column(linkify=_get_link)
teachers = tables.Column(linkify=_get_link)
subject = tables.Column(linkify=_get_link)
topic = tables.Column(linkify=_get_link)
homework = tables.Column(linkify=_get_link)
group_note = tables.Column(linkify=_get_link)
def render_status(self, value, record):
context = {
"has_documentation": record.get("has_documentation", False),
"register_object": value,
}
if record.get("week"):
context["week"] = record["week"]
if record.get("substitution"):
context["substitution"] = record["substitution"]
return render_to_string("alsijil/partials/lesson_status.html", context)
class RegisterObjectSelectTable(RegisterObjectTable):
"""Table to show all register objects with multi-select support.
More information at ``RegisterObjectTable``
"""
selected = SelectColumn()
class Meta(RegisterObjectTable.Meta):
sequence = ("selected", "...") | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/tables.py | tables.py |
from contextlib import nullcontext
from copy import deepcopy
from datetime import datetime, timedelta
from typing import Any, Dict, Optional
from django.apps import apps
from django.core.exceptions import PermissionDenied
from django.db.models import Count, Exists, FilteredRelation, OuterRef, Prefetch, Q, Sum
from django.db.models.expressions import Case, When
from django.db.models.functions import Extract
from django.http import Http404, HttpRequest, HttpResponse, HttpResponseNotFound
from django.shortcuts import get_object_or_404, redirect, render
from django.urls import reverse, reverse_lazy
from django.utils import timezone
from django.utils.decorators import method_decorator
from django.utils.http import url_has_allowed_host_and_scheme
from django.utils.translation import gettext as _
from django.views import View
from django.views.decorators.cache import never_cache
from django.views.generic import DetailView
import reversion
from calendarweek import CalendarWeek
from django_tables2 import RequestConfig, SingleTableView
from guardian.core import ObjectPermissionChecker
from guardian.shortcuts import get_objects_for_user
from reversion.views import RevisionMixin
from rules.contrib.views import PermissionRequiredMixin, permission_required
from aleksis.apps.chronos.managers import TimetableType
from aleksis.apps.chronos.models import Event, ExtraLesson, Holiday, LessonPeriod, TimePeriod
from aleksis.apps.chronos.util.build import build_weekdays
from aleksis.apps.chronos.util.date import get_weeks_for_year, week_weekday_to_date
from aleksis.core.decorators import pwa_cache
from aleksis.core.mixins import (
AdvancedCreateView,
AdvancedDeleteView,
AdvancedEditView,
SuccessNextMixin,
)
from aleksis.core.models import Group, PDFFile, Person, SchoolTerm
from aleksis.core.util import messages
from aleksis.core.util.celery_progress import render_progress_page
from aleksis.core.util.core_helpers import get_site_preferences, has_person, objectgetter_optional
from aleksis.core.util.predicates import check_global_permission
from .filters import PersonalNoteFilter
from .forms import (
AssignGroupRoleForm,
ExcuseTypeForm,
ExtraMarkForm,
FilterRegisterObjectForm,
GroupRoleAssignmentEditForm,
GroupRoleForm,
LessonDocumentationForm,
PersonalNoteFormSet,
PersonOverviewForm,
RegisterAbsenceForm,
RegisterObjectActionForm,
SelectForm,
)
from .models import ExcuseType, ExtraMark, GroupRole, GroupRoleAssignment, PersonalNote
from .tables import (
ExcuseTypeTable,
ExtraMarkTable,
GroupRoleTable,
PersonalNoteTable,
RegisterObjectSelectTable,
RegisterObjectTable,
)
from .tasks import generate_full_register_printout
from .util.alsijil_helpers import (
annotate_documentations,
generate_list_of_all_register_objects,
get_register_object_by_pk,
get_timetable_instance_by_pk,
register_objects_sorter,
)
@pwa_cache
@permission_required("alsijil.view_register_object_rule", fn=get_register_object_by_pk) # FIXME
def register_object(
request: HttpRequest,
model: Optional[str] = None,
year: Optional[int] = None,
week: Optional[int] = None,
id_: Optional[int] = None,
) -> HttpResponse:
context = {}
register_object = get_register_object_by_pk(request, model, year, week, id_)
if id_ and model == "lesson":
wanted_week = CalendarWeek(year=year, week=week)
elif id_ and model == "extra_lesson":
wanted_week = register_object.calendar_week
elif hasattr(request, "user") and hasattr(request.user, "person"):
wanted_week = CalendarWeek()
else:
wanted_week = None
if not all((year, week, id_)):
if register_object and model == "lesson":
return redirect(
"lesson_period",
wanted_week.year,
wanted_week.week,
register_object.pk,
)
elif not register_object:
raise Http404(
_(
"You either selected an invalid lesson or "
"there is currently no lesson in progress."
)
)
date_of_lesson = (
week_weekday_to_date(wanted_week, register_object.period.weekday)
if not isinstance(register_object, Event)
else register_object.date_start
)
start_time = (
register_object.period.time_start
if not isinstance(register_object, Event)
else register_object.period_from.time_start
)
if isinstance(register_object, Event):
register_object.annotate_day(date_of_lesson)
if isinstance(register_object, LessonPeriod) and (
date_of_lesson < register_object.lesson.validity.date_start
or date_of_lesson > register_object.lesson.validity.date_end
):
return HttpResponseNotFound()
if (
datetime.combine(date_of_lesson, start_time) > datetime.now()
and not (
get_site_preferences()["alsijil__open_periods_same_day"]
and date_of_lesson <= datetime.now().date()
)
and not request.user.is_superuser
):
raise PermissionDenied(
_("You are not allowed to create a lesson documentation for a lesson in the future.")
)
holiday = Holiday.on_day(date_of_lesson)
blocked_because_holidays = (
holiday is not None and not get_site_preferences()["alsijil__allow_entries_in_holidays"]
)
context["blocked_because_holidays"] = blocked_because_holidays
context["holiday"] = holiday
next_lesson = (
request.user.person.next_lesson(register_object, date_of_lesson)
if isinstance(register_object, LessonPeriod)
else None
)
prev_lesson = (
request.user.person.previous_lesson(register_object, date_of_lesson)
if isinstance(register_object, LessonPeriod)
else None
)
back_url = reverse(
"lesson_period", args=[wanted_week.year, wanted_week.week, register_object.pk]
)
context["back_url"] = back_url
context["register_object"] = register_object
context["week"] = wanted_week
context["day"] = date_of_lesson
context["next_lesson_person"] = next_lesson
context["prev_lesson_person"] = prev_lesson
context["prev_lesson"] = (
register_object.prev if isinstance(register_object, LessonPeriod) else None
)
context["next_lesson"] = (
register_object.next if isinstance(register_object, LessonPeriod) else None
)
if not blocked_because_holidays:
groups = register_object.get_groups().all()
if groups:
first_group = groups.first()
context["first_group"] = first_group
# Group roles
show_group_roles = request.user.person.preferences[
"alsijil__group_roles_in_lesson_view"
] and request.user.has_perm(
"alsijil.view_assigned_grouproles_for_register_object_rule", register_object
)
if show_group_roles:
group_roles = GroupRole.objects.with_assignments(date_of_lesson, groups)
context["group_roles"] = group_roles
with_seating_plan = (
apps.is_installed("aleksis.apps.stoelindeling")
and groups
and request.user.has_perm("stoelindeling.view_seatingplan_for_group_rule", first_group)
)
context["with_seating_plan"] = with_seating_plan
if with_seating_plan:
seating_plan = register_object.seating_plan
context["seating_plan"] = register_object.seating_plan
if seating_plan and seating_plan.group != first_group:
context["seating_plan_parent"] = True
# Create or get lesson documentation object; can be empty when first opening lesson
lesson_documentation = register_object.get_or_create_lesson_documentation(wanted_week)
context["has_documentation"] = bool(lesson_documentation.topic)
lesson_documentation_form = LessonDocumentationForm(
request.POST or None,
instance=lesson_documentation,
prefix="lesson_documentation",
)
# Prefetch object permissions for all related groups of the register object
# because the object permissions are checked for all groups of the register object
# That has to be set as an attribute of the register object,
# so that the permission system can use the prefetched data.
checker = ObjectPermissionChecker(request.user)
checker.prefetch_perms(register_object.get_groups().all())
register_object.set_object_permission_checker(checker)
# Create a formset that holds all personal notes for all persons in this lesson
if not request.user.has_perm(
"alsijil.view_register_object_personalnote_rule", register_object
):
persons = Person.objects.filter(
Q(pk=request.user.person.pk) | Q(member_of__in=request.user.person.owner_of.all())
).distinct()
else:
persons = Person.objects.all()
persons_qs = register_object.get_personal_notes(persons, wanted_week).distinct()
# Annotate group roles
if show_group_roles:
persons_qs = persons_qs.prefetch_related(
Prefetch(
"person__group_roles",
queryset=GroupRoleAssignment.objects.on_day(date_of_lesson).for_groups(groups),
),
)
personal_note_formset = PersonalNoteFormSet(
request.POST or None, queryset=persons_qs, prefix="personal_notes"
)
if request.method == "POST":
if lesson_documentation_form.is_valid() and request.user.has_perm(
"alsijil.edit_lessondocumentation_rule", register_object
):
with reversion.create_revision():
reversion.set_user(request.user)
lesson_documentation_form.save()
messages.success(request, _("The lesson documentation has been saved."))
substitution = (
register_object.get_substitution()
if isinstance(register_object, LessonPeriod)
else None
)
if (
not getattr(substitution, "cancelled", False)
or not get_site_preferences()["alsijil__block_personal_notes_for_cancelled"]
):
if personal_note_formset.is_valid() and request.user.has_perm(
"alsijil.edit_register_object_personalnote_rule", register_object
):
with reversion.create_revision():
reversion.set_user(request.user)
instances = personal_note_formset.save()
if (not isinstance(register_object, Event)) and get_site_preferences()[
"alsijil__carry_over_personal_notes"
]:
# Iterate over personal notes
# and carry changed absences to following lessons
with reversion.create_revision():
reversion.set_user(request.user)
for instance in instances:
instance.person.mark_absent(
wanted_week[register_object.period.weekday],
register_object.period.period + 1,
instance.absent,
instance.excused,
instance.excuse_type,
)
messages.success(request, _("The personal notes have been saved."))
# Regenerate form here to ensure that programmatically
# changed data will be shown correctly
personal_note_formset = PersonalNoteFormSet(
None, queryset=persons_qs, prefix="personal_notes"
)
back_url = request.GET.get("back", "")
back_url_is_safe = url_has_allowed_host_and_scheme(
url=back_url,
allowed_hosts={request.get_host()},
require_https=request.is_secure(),
)
if back_url_is_safe:
context["back_to_week_url"] = back_url
elif register_object.get_groups().all():
context["back_to_week_url"] = reverse(
"week_view_by_week",
args=[
lesson_documentation.calendar_week.year,
lesson_documentation.calendar_week.week,
"group",
register_object.get_groups().all()[0].pk,
],
)
context["lesson_documentation"] = lesson_documentation
context["lesson_documentation_form"] = lesson_documentation_form
context["personal_note_formset"] = personal_note_formset
return render(request, "alsijil/class_register/lesson.html", context)
@pwa_cache
@permission_required("alsijil.view_week_rule", fn=get_timetable_instance_by_pk)
def week_view(
request: HttpRequest,
year: Optional[int] = None,
week: Optional[int] = None,
type_: Optional[str] = None,
id_: Optional[int] = None,
) -> HttpResponse:
context = {}
if year and week:
wanted_week = CalendarWeek(year=year, week=week)
else:
wanted_week = CalendarWeek()
instance = get_timetable_instance_by_pk(request, year, week, type_, id_)
lesson_periods = LessonPeriod.objects.in_week(wanted_week).prefetch_related(
"lesson__groups__members",
"lesson__groups__parent_groups",
"lesson__groups__parent_groups__owners",
)
events = Event.objects.in_week(wanted_week)
extra_lessons = ExtraLesson.objects.in_week(wanted_week)
query_exists = True
if type_ and id_:
if isinstance(instance, HttpResponseNotFound):
return HttpResponseNotFound()
type_ = TimetableType.from_string(type_)
lesson_periods = lesson_periods.filter_from_type(type_, instance)
events = events.filter_from_type(type_, instance)
extra_lessons = extra_lessons.filter_from_type(type_, instance)
elif hasattr(request, "user") and hasattr(request.user, "person"):
if request.user.person.lessons_as_teacher.exists():
inherit_privileges_preference = get_site_preferences()[
"alsijil__inherit_privileges_from_parent_group"
]
lesson_periods = (
lesson_periods.filter_teacher(request.user.person).union(
lesson_periods.filter_groups(request.user.person.owner_of.all())
)
if inherit_privileges_preference
else lesson_periods.filter_teacher(request.user.person)
)
events = (
events.filter_teacher(request.user.person).union(
events.filter_groups(request.user.person.owner_of.all())
)
if inherit_privileges_preference
else events.filter_teacher(request.user.person)
)
extra_lessons = (
extra_lessons.filter_teacher(request.user.person).union(
extra_lessons.filter_groups(request.user.person.owner_of.all())
)
if inherit_privileges_preference
else extra_lessons.filter_teacher(request.user.person)
)
type_ = TimetableType.TEACHER
else:
lesson_periods = lesson_periods.filter_participant(request.user.person)
events = events.filter_participant(request.user.person)
extra_lessons = extra_lessons.filter_participant(request.user.person)
else:
query_exists = False
lesson_periods = None
events = None
extra_lessons = None
# Add a form to filter the view
if type_:
initial = {type_.value: instance}
back_url = reverse(
"week_view_by_week", args=[wanted_week.year, wanted_week.week, type_.value, instance.pk]
)
else:
initial = {}
back_url = reverse("week_view_by_week", args=[wanted_week.year, wanted_week.week])
context["back_url"] = back_url
select_form = SelectForm(request, request.POST or None, initial=initial)
if request.method == "POST":
if select_form.is_valid():
if "type_" not in select_form.cleaned_data:
return redirect("week_view_by_week", wanted_week.year, wanted_week.week)
else:
return redirect(
"week_view_by_week",
wanted_week.year,
wanted_week.week,
select_form.cleaned_data["type_"].value,
select_form.cleaned_data["instance"].pk,
)
if type_ == TimetableType.GROUP:
group = instance
else:
group = None
# Group roles
show_group_roles = (
group
and request.user.person.preferences["alsijil__group_roles_in_week_view"]
and request.user.has_perm("alsijil.view_assigned_grouproles_rule", group)
)
if show_group_roles:
group_roles = GroupRole.objects.with_assignments(wanted_week, [group])
context["group_roles"] = group_roles
group_roles_persons = GroupRoleAssignment.objects.in_week(wanted_week).for_group(group)
extra_marks = ExtraMark.objects.all()
if query_exists:
lesson_periods_pk = list(lesson_periods.values_list("pk", flat=True))
lesson_periods = annotate_documentations(LessonPeriod, wanted_week, lesson_periods_pk)
events_pk = [event.pk for event in events]
events = annotate_documentations(Event, wanted_week, events_pk)
extra_lessons_pk = list(extra_lessons.values_list("pk", flat=True))
extra_lessons = annotate_documentations(ExtraLesson, wanted_week, extra_lessons_pk)
groups = Group.objects.filter(
Q(lessons__lesson_periods__in=lesson_periods_pk)
| Q(events__in=events_pk)
| Q(extra_lessons__in=extra_lessons_pk)
)
else:
lesson_periods_pk = []
events_pk = []
extra_lessons_pk = []
if lesson_periods_pk or events_pk or extra_lessons_pk:
# Aggregate all personal notes for this group and week
persons_qs = Person.objects.all()
if not request.user.has_perm("alsijil.view_week_personalnote_rule", instance):
persons_qs = persons_qs.filter(pk=request.user.person.pk)
elif group:
persons_qs = (
persons_qs.filter(member_of=group)
.filter(member_of__in=request.user.person.owner_of.all())
.distinct()
)
else:
persons_qs = (
persons_qs.filter(member_of__in=groups)
.filter(member_of__in=request.user.person.owner_of.all())
.distinct()
)
# Prefetch object permissions for persons and groups the persons are members of
# because the object permissions are checked for both persons and groups
checker = ObjectPermissionChecker(request.user)
checker.prefetch_perms(persons_qs.prefetch_related(None))
checker.prefetch_perms(groups)
prefetched_personal_notes = list(
PersonalNote.objects.filter( #
Q(event__in=events_pk)
| Q(
week=wanted_week.week,
year=wanted_week.year,
lesson_period__in=lesson_periods_pk,
)
| Q(extra_lesson__in=extra_lessons_pk)
).filter(~Q(remarks=""))
)
persons_qs = (
persons_qs.select_related("primary_group")
.prefetch_related(
Prefetch(
"primary_group__owners",
queryset=Person.objects.filter(pk=request.user.person.pk),
to_attr="owners_prefetched",
),
Prefetch("member_of", queryset=groups, to_attr="member_of_prefetched"),
)
.annotate(
filtered_personal_notes=FilteredRelation(
"personal_notes",
condition=(
Q(personal_notes__event__in=events_pk)
| Q(
personal_notes__week=wanted_week.week,
personal_notes__year=wanted_week.year,
personal_notes__lesson_period__in=lesson_periods_pk,
)
| Q(personal_notes__extra_lesson__in=extra_lessons_pk)
),
)
)
)
persons_qs = persons_qs.annotate(
absences_count=Count(
"filtered_personal_notes",
filter=Q(filtered_personal_notes__absent=True),
),
unexcused_count=Count(
"filtered_personal_notes",
filter=Q(
filtered_personal_notes__absent=True, filtered_personal_notes__excused=False
),
),
tardiness_sum=Sum("filtered_personal_notes__tardiness"),
tardiness_count=Count(
"filtered_personal_notes",
filter=Q(filtered_personal_notes__tardiness__gt=0),
),
)
for extra_mark in extra_marks:
persons_qs = persons_qs.annotate(
**{
extra_mark.count_label: Count(
"filtered_personal_notes",
filter=Q(filtered_personal_notes__extra_marks=extra_mark),
)
}
)
persons = []
for person in persons_qs:
personal_notes = []
for note in filter(lambda note: note.person_id == person.pk, prefetched_personal_notes):
if note.lesson_period:
note.lesson_period.annotate_week(wanted_week)
personal_notes.append(note)
person.set_object_permission_checker(checker)
person_dict = {"person": person, "personal_notes": personal_notes}
if show_group_roles:
person_dict["group_roles"] = filter(
lambda role: role.person_id == person.pk, group_roles_persons
)
persons.append(person_dict)
else:
persons = None
context["extra_marks"] = extra_marks
context["week"] = wanted_week
context["weeks"] = get_weeks_for_year(year=wanted_week.year)
context["lesson_periods"] = lesson_periods
context["events"] = events
context["extra_lessons"] = extra_lessons
context["persons"] = persons
context["group"] = group
context["select_form"] = select_form
context["instance"] = instance
context["weekdays"] = build_weekdays(TimePeriod.WEEKDAY_CHOICES, wanted_week)
regrouped_objects = {}
for register_object in list(lesson_periods) + list(extra_lessons):
register_object.weekday = register_object.period.weekday
regrouped_objects.setdefault(register_object.period.weekday, [])
regrouped_objects[register_object.period.weekday].append(register_object)
for event in events:
weekday_from = event.get_start_weekday(wanted_week)
weekday_to = event.get_end_weekday(wanted_week)
for weekday in range(weekday_from, weekday_to + 1):
# Make a copy in order to keep the annotation only on this weekday
event_copy = deepcopy(event)
event_copy.annotate_day(wanted_week[weekday])
event_copy.weekday = weekday
regrouped_objects.setdefault(weekday, [])
regrouped_objects[weekday].append(event_copy)
# Sort register objects
for weekday in regrouped_objects.keys():
to_sort = regrouped_objects[weekday]
regrouped_objects[weekday] = sorted(to_sort, key=register_objects_sorter)
context["regrouped_objects"] = regrouped_objects
week_prev = wanted_week - 1
week_next = wanted_week + 1
args_prev = [week_prev.year, week_prev.week]
args_next = [week_next.year, week_next.week]
args_dest = []
if type_ and id_:
args_prev += [type_.value, id_]
args_next += [type_.value, id_]
args_dest += [type_.value, id_]
context["week_select"] = {
"year": wanted_week.year,
"dest": reverse("week_view_placeholders", args=args_dest),
}
context["url_prev"] = reverse("week_view_by_week", args=args_prev)
context["url_next"] = reverse("week_view_by_week", args=args_next)
return render(request, "alsijil/class_register/week_view.html", context)
@pwa_cache
@permission_required(
"alsijil.view_full_register_rule", fn=objectgetter_optional(Group, None, False)
)
def full_register_group(request: HttpRequest, id_: int) -> HttpResponse:
group = get_object_or_404(Group, pk=id_)
file_object = PDFFile.objects.create()
if has_person(request):
file_object.person = request.user.person
file_object.save()
redirect_url = f"/pdfs/{file_object.pk}"
result = generate_full_register_printout.delay(group.pk, file_object.pk)
back_url = request.GET.get("back", "")
back_url_is_safe = url_has_allowed_host_and_scheme(
url=back_url,
allowed_hosts={request.get_host()},
require_https=request.is_secure(),
)
if not back_url_is_safe:
back_url = reverse("my_groups")
return render_progress_page(
request,
result,
title=_("Generate full register printout for {}").format(group),
progress_title=_("Generate full register printout …"),
success_message=_("The printout has been generated successfully."),
error_message=_("There was a problem while generating the printout."),
redirect_on_success_url=redirect_url,
back_url=back_url,
button_title=_("Download PDF"),
button_url=redirect_url,
button_icon="picture_as_pdf",
)
@pwa_cache
@permission_required("alsijil.view_my_students_rule")
def my_students(request: HttpRequest) -> HttpResponse:
context = {}
relevant_groups = (
request.user.person.get_owner_groups_with_lessons()
.annotate(has_parents=Exists(Group.objects.filter(child_groups=OuterRef("pk"))))
.filter(members__isnull=False)
.order_by("has_parents", "name")
.prefetch_related("members")
.distinct()
)
# Prefetch object permissions for persons and groups the persons are members of
# because the object permissions are checked for both persons and groups
all_persons = Person.objects.filter(member_of__in=relevant_groups)
checker = ObjectPermissionChecker(request.user)
checker.prefetch_perms(relevant_groups)
checker.prefetch_perms(all_persons)
new_groups = []
for group in relevant_groups:
persons = group.generate_person_list_with_class_register_statistics(
group.members.prefetch_related(
"primary_group__owners",
Prefetch("member_of", queryset=relevant_groups, to_attr="member_of_prefetched"),
)
).distinct()
persons_for_group = []
for person in persons:
person.set_object_permission_checker(checker)
persons_for_group.append(person)
new_groups.append((group, persons_for_group))
context["groups"] = new_groups
context["excuse_types"] = ExcuseType.objects.filter(count_as_absent=True)
context["excuse_types_not_absent"] = ExcuseType.objects.filter(count_as_absent=False)
context["extra_marks"] = ExtraMark.objects.all()
return render(request, "alsijil/class_register/persons.html", context)
@pwa_cache
@permission_required(
"alsijil.view_my_groups_rule",
)
def my_groups(request: HttpRequest) -> HttpResponse:
context = {}
context["groups"] = request.user.person.get_owner_groups_with_lessons().annotate(
students_count=Count("members", distinct=True)
)
return render(request, "alsijil/class_register/groups.html", context)
@method_decorator(pwa_cache, "dispatch")
class StudentsList(PermissionRequiredMixin, DetailView):
model = Group
template_name = "alsijil/class_register/students_list.html"
permission_required = "alsijil.view_students_list_rule"
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["group"] = self.object
context["persons"] = (
self.object.generate_person_list_with_class_register_statistics()
.filter(member_of__in=self.request.user.person.owner_of.all())
.distinct()
)
context["extra_marks"] = ExtraMark.objects.all()
context["excuse_types"] = ExcuseType.objects.filter(count_as_absent=True)
context["excuse_types_not_absent"] = ExcuseType.objects.filter(count_as_absent=False)
return context
@pwa_cache
@permission_required(
"alsijil.view_person_overview_rule",
fn=objectgetter_optional(
Person.objects.prefetch_related("member_of__owners"), "request.user.person", True
),
)
def overview_person(request: HttpRequest, id_: Optional[int] = None) -> HttpResponse:
context = {}
person = objectgetter_optional(
Person.objects.prefetch_related("member_of__owners"),
default="request.user.person",
default_eval=True,
)(request, id_)
context["person"] = person
person_personal_notes = (
person.personal_notes.all()
.prefetch_related(
"lesson_period__lesson__groups",
"lesson_period__lesson__teachers",
"lesson_period__substitutions",
)
.annotate_date_range()
)
# Prefetch object permissions for groups the person is a member of
# because the object permissions are checked for all groups the person is a member of
# That has to be set as an attribute of the register object,
# so that the permission system can use the prefetched data.
checker = ObjectPermissionChecker(request.user)
checker.prefetch_perms(Group.objects.filter(members=person))
person.set_object_permission_checker(checker)
if request.user.has_perm("alsijil.view_person_overview_personalnote_rule", person):
allowed_personal_notes = person_personal_notes.all()
else:
allowed_personal_notes = person_personal_notes.filter(
Q(lesson_period__lesson__groups__owners=request.user.person)
| Q(extra_lesson__groups__owners=request.user.person)
| Q(event__groups__owners=request.user.person)
)
unexcused_absences = allowed_personal_notes.filter(absent=True, excused=False)
context["unexcused_absences"] = unexcused_absences
personal_notes = (
allowed_personal_notes.not_empty()
.filter(Q(absent=True) | Q(tardiness__gt=0) | ~Q(remarks="") | Q(extra_marks__isnull=False))
.annotate(
school_term_start=Case(
When(event__isnull=False, then="event__school_term__date_start"),
When(extra_lesson__isnull=False, then="extra_lesson__school_term__date_start"),
When(
lesson_period__isnull=False,
then="lesson_period__lesson__validity__school_term__date_start",
),
),
order_year=Case(
When(event__isnull=False, then=Extract("event__date_start", "year")),
When(extra_lesson__isnull=False, then="extra_lesson__year"),
When(lesson_period__isnull=False, then="year"),
),
order_week=Case(
When(event__isnull=False, then=Extract("event__date_start", "week")),
When(extra_lesson__isnull=False, then="extra_lesson__week"),
When(lesson_period__isnull=False, then="week"),
),
order_weekday=Case(
When(event__isnull=False, then="event__period_from__weekday"),
When(extra_lesson__isnull=False, then="extra_lesson__period__weekday"),
When(lesson_period__isnull=False, then="lesson_period__period__weekday"),
),
order_period=Case(
When(event__isnull=False, then="event__period_from__period"),
When(extra_lesson__isnull=False, then="extra_lesson__period__period"),
When(lesson_period__isnull=False, then="lesson_period__period__period"),
),
order_groups=Case(
When(event__isnull=False, then="event__groups"),
When(extra_lesson__isnull=False, then="extra_lesson__groups"),
When(lesson_period__isnull=False, then="lesson_period__lesson__groups"),
),
order_teachers=Case(
When(event__isnull=False, then="event__teachers"),
When(extra_lesson__isnull=False, then="extra_lesson__teachers"),
When(lesson_period__isnull=False, then="lesson_period__lesson__teachers"),
),
)
.order_by(
"-school_term_start",
"-order_year",
"-order_week",
"-order_weekday",
"order_period",
)
.annotate_date_range()
.annotate_subject()
)
personal_note_filter_object = PersonalNoteFilter(request.GET, queryset=personal_notes)
filtered_personal_notes = personal_note_filter_object.qs
context["personal_note_filter_form"] = personal_note_filter_object.form
used_filters = list(personal_note_filter_object.data.values())
context["num_filters"] = (
len(used_filters) - used_filters.count("") - used_filters.count("unknown")
)
personal_notes_list = []
for note in personal_notes:
note.set_object_permission_checker(checker)
personal_notes_list.append(note)
context["personal_notes"] = personal_notes_list
context["excuse_types"] = ExcuseType.objects.filter(count_as_absent=True)
context["excuse_types_not_absent"] = ExcuseType.objects.filter(count_as_absent=False)
form = PersonOverviewForm(request, request.POST or None, queryset=allowed_personal_notes)
if request.method == "POST" and request.user.has_perm(
"alsijil.edit_person_overview_personalnote_rule", person
):
if form.is_valid():
with reversion.create_revision():
reversion.set_user(request.user)
form.execute()
person.refresh_from_db()
context["action_form"] = form
table = PersonalNoteTable(filtered_personal_notes)
RequestConfig(request, paginate={"per_page": 20}).configure(table)
context["personal_notes_table"] = table
extra_marks = ExtraMark.objects.all()
excuse_types = ExcuseType.objects.all()
if request.user.has_perm("alsijil.view_person_statistics_personalnote_rule", person):
school_terms = SchoolTerm.objects.all().order_by("-date_start")
stats = []
for school_term in school_terms:
stat = {}
personal_notes = PersonalNote.objects.filter(
person=person,
).filter(
Q(lesson_period__lesson__validity__school_term=school_term)
| Q(extra_lesson__school_term=school_term)
| Q(event__school_term=school_term)
)
if not personal_notes.exists():
continue
stat.update(
personal_notes.filter(absent=True)
.exclude(excuse_type__count_as_absent=False)
.aggregate(absences_count=Count("absent"))
)
stat.update(
personal_notes.filter(absent=True, excused=True)
.exclude(excuse_type__count_as_absent=False)
.aggregate(excused=Count("absent"))
)
stat.update(
personal_notes.filter(absent=True, excused=True, excuse_type__isnull=True)
.exclude(excuse_type__count_as_absent=False)
.aggregate(excused_no_excuse_type=Count("absent"))
)
stat.update(
personal_notes.filter(absent=True, excused=False).aggregate(
unexcused=Count("absent")
)
)
stat.update(personal_notes.aggregate(tardiness=Sum("tardiness")))
stat.update(
personal_notes.filter(~Q(tardiness=0)).aggregate(tardiness_count=Count("tardiness"))
)
for extra_mark in extra_marks:
stat.update(
personal_notes.filter(extra_marks=extra_mark).aggregate(
**{extra_mark.count_label: Count("pk")}
)
)
for excuse_type in excuse_types:
stat.update(
personal_notes.filter(absent=True, excuse_type=excuse_type).aggregate(
**{excuse_type.count_label: Count("absent")}
)
)
stats.append((school_term, stat))
context["stats"] = stats
context["extra_marks"] = extra_marks
# Build filter with own form and logic as django-filter can't work with different models
if request.user.person.preferences["alsijil__default_lesson_documentation_filter"]:
default_documentation = False
else:
default_documentation = None
filter_form = FilterRegisterObjectForm(
request, request.GET or None, for_person=True, default_documentation=default_documentation
)
filter_dict = (
filter_form.cleaned_data
if filter_form.is_valid()
else {"has_documentation": default_documentation}
)
filter_dict["person"] = person
context["filter_form"] = filter_form
if person.is_teacher:
register_objects = generate_list_of_all_register_objects(filter_dict)
table = RegisterObjectTable(register_objects)
items_per_page = request.user.person.preferences[
"alsijil__register_objects_table_items_per_page"
]
RequestConfig(request, paginate={"per_page": items_per_page}).configure(table)
context["register_object_table"] = table
return render(request, "alsijil/class_register/person.html", context)
@never_cache
@permission_required("alsijil.register_absence_rule", fn=objectgetter_optional(Person))
def register_absence(request: HttpRequest, id_: int = None) -> HttpResponse:
context = {}
if id_:
person = get_object_or_404(Person, pk=id_)
else:
person = None
register_absence_form = RegisterAbsenceForm(
request, request.POST or None, initial={"person": person}
)
if (
request.method == "POST"
and register_absence_form.is_valid()
and request.user.has_perm("alsijil.register_absence_rule", person)
):
confirmed = request.POST.get("confirmed", "0") == "1"
# Get data from form
person = register_absence_form.cleaned_data["person"]
start_date = register_absence_form.cleaned_data["date_start"]
end_date = register_absence_form.cleaned_data["date_end"]
from_period = register_absence_form.cleaned_data["from_period"]
to_period = register_absence_form.cleaned_data["to_period"]
absent = register_absence_form.cleaned_data["absent"]
excused = register_absence_form.cleaned_data["excused"]
excuse_type = register_absence_form.cleaned_data["excuse_type"]
remarks = register_absence_form.cleaned_data["remarks"]
# Mark person as absent
affected_count = 0
delta = end_date - start_date
for i in range(delta.days + 1):
from_period_on_day = from_period if i == 0 else TimePeriod.period_min
to_period_on_day = to_period if i == delta.days else TimePeriod.period_max
day = start_date + timedelta(days=i)
# Skip holidays if activated
if not get_site_preferences()["alsijil__allow_entries_in_holidays"]:
holiday = Holiday.on_day(day)
if holiday:
continue
with reversion.create_revision() if confirmed else nullcontext():
affected_count += person.mark_absent(
day,
from_period_on_day,
absent,
excused,
excuse_type,
remarks,
to_period_on_day,
dry_run=not confirmed,
)
if not confirmed:
# Show confirmation page
context = {}
context["affected_lessons"] = affected_count
context["person"] = person
context["form_data"] = register_absence_form.cleaned_data
context["form"] = register_absence_form
return render(request, "alsijil/absences/register_confirm.html", context)
else:
messages.success(request, _("The absence has been saved."))
return redirect("overview_person", person.pk)
context["person"] = person
context["register_absence_form"] = register_absence_form
return render(request, "alsijil/absences/register.html", context)
@method_decorator(never_cache, name="dispatch")
class DeletePersonalNoteView(PermissionRequiredMixin, DetailView):
model = PersonalNote
template_name = "core/pages/delete.html"
permission_required = "alsijil.edit_personalnote_rule"
def post(self, request, *args, **kwargs):
note = self.get_object()
with reversion.create_revision():
reversion.set_user(request.user)
note.reset_values()
note.save()
messages.success(request, _("The personal note has been deleted."))
return redirect("overview_person", note.person.pk)
@method_decorator(pwa_cache, "dispatch")
class ExtraMarkListView(PermissionRequiredMixin, SingleTableView):
"""Table of all extra marks."""
model = ExtraMark
table_class = ExtraMarkTable
permission_required = "alsijil.view_extramarks_rule"
template_name = "alsijil/extra_mark/list.html"
@method_decorator(never_cache, name="dispatch")
class ExtraMarkCreateView(PermissionRequiredMixin, AdvancedCreateView):
"""Create view for extra marks."""
model = ExtraMark
form_class = ExtraMarkForm
permission_required = "alsijil.add_extramark_rule"
template_name = "alsijil/extra_mark/create.html"
success_url = reverse_lazy("extra_marks")
success_message = _("The extra mark has been created.")
@method_decorator(never_cache, name="dispatch")
class ExtraMarkEditView(PermissionRequiredMixin, AdvancedEditView):
"""Edit view for extra marks."""
model = ExtraMark
form_class = ExtraMarkForm
permission_required = "alsijil.edit_extramark_rule"
template_name = "alsijil/extra_mark/edit.html"
success_url = reverse_lazy("extra_marks")
success_message = _("The extra mark has been saved.")
@method_decorator(never_cache, name="dispatch")
class ExtraMarkDeleteView(PermissionRequiredMixin, RevisionMixin, AdvancedDeleteView):
"""Delete view for extra marks."""
model = ExtraMark
permission_required = "alsijil.delete_extramark_rule"
template_name = "core/pages/delete.html"
success_url = reverse_lazy("extra_marks")
success_message = _("The extra mark has been deleted.")
@method_decorator(pwa_cache, "dispatch")
class ExcuseTypeListView(PermissionRequiredMixin, SingleTableView):
"""Table of all excuse types."""
model = ExcuseType
table_class = ExcuseTypeTable
permission_required = "alsijil.view_excusetypes_rule"
template_name = "alsijil/excuse_type/list.html"
@method_decorator(never_cache, name="dispatch")
class ExcuseTypeCreateView(PermissionRequiredMixin, AdvancedCreateView):
"""Create view for excuse types."""
model = ExcuseType
form_class = ExcuseTypeForm
permission_required = "alsijil.add_excusetype_rule"
template_name = "alsijil/excuse_type/create.html"
success_url = reverse_lazy("excuse_types")
success_message = _("The excuse type has been created.")
@method_decorator(never_cache, name="dispatch")
class ExcuseTypeEditView(PermissionRequiredMixin, AdvancedEditView):
"""Edit view for excuse types."""
model = ExcuseType
form_class = ExcuseTypeForm
permission_required = "alsijil.edit_excusetype_rule"
template_name = "alsijil/excuse_type/edit.html"
success_url = reverse_lazy("excuse_types")
success_message = _("The excuse type has been saved.")
@method_decorator(never_cache, "dispatch")
class ExcuseTypeDeleteView(PermissionRequiredMixin, RevisionMixin, AdvancedDeleteView):
"""Delete view for excuse types."""
model = ExcuseType
permission_required = "alsijil.delete_excusetype_rule"
template_name = "core/pages/delete.html"
success_url = reverse_lazy("excuse_types")
success_message = _("The excuse type has been deleted.")
@method_decorator(pwa_cache, "dispatch")
class GroupRoleListView(PermissionRequiredMixin, SingleTableView):
"""Table of all group roles."""
model = GroupRole
table_class = GroupRoleTable
permission_required = "alsijil.view_grouproles_rule"
template_name = "alsijil/group_role/list.html"
@method_decorator(never_cache, name="dispatch")
class GroupRoleCreateView(PermissionRequiredMixin, AdvancedCreateView):
"""Create view for group roles."""
model = GroupRole
form_class = GroupRoleForm
permission_required = "alsijil.add_grouprole_rule"
template_name = "alsijil/group_role/create.html"
success_url = reverse_lazy("group_roles")
success_message = _("The group role has been created.")
@method_decorator(never_cache, name="dispatch")
class GroupRoleEditView(PermissionRequiredMixin, AdvancedEditView):
"""Edit view for group roles."""
model = GroupRole
form_class = GroupRoleForm
permission_required = "alsijil.edit_grouprole_rule"
template_name = "alsijil/group_role/edit.html"
success_url = reverse_lazy("group_roles")
success_message = _("The group role has been saved.")
@method_decorator(never_cache, "dispatch")
class GroupRoleDeleteView(PermissionRequiredMixin, RevisionMixin, AdvancedDeleteView):
"""Delete view for group roles."""
model = GroupRole
permission_required = "alsijil.delete_grouprole_rule"
template_name = "core/pages/delete.html"
success_url = reverse_lazy("group_roles")
success_message = _("The group role has been deleted.")
@method_decorator(pwa_cache, "dispatch")
class AssignedGroupRolesView(PermissionRequiredMixin, DetailView):
permission_required = "alsijil.view_assigned_grouproles_rule"
model = Group
template_name = "alsijil/group_role/assigned_list.html"
def get_context_data(self, **kwargs: Any) -> Dict[str, Any]:
context = super().get_context_data()
today = timezone.now().date()
context["today"] = today
self.roles = GroupRole.objects.with_assignments(today, [self.object])
context["roles"] = self.roles
assignments = (
GroupRoleAssignment.objects.filter(
Q(groups=self.object) | Q(groups__child_groups=self.object)
)
.distinct()
.order_by("-date_start")
)
context["assignments"] = assignments
return context
@method_decorator(never_cache, name="dispatch")
class AssignGroupRoleView(PermissionRequiredMixin, SuccessNextMixin, AdvancedCreateView):
model = GroupRoleAssignment
form_class = AssignGroupRoleForm
permission_required = "alsijil.assign_grouprole_for_group_rule"
template_name = "alsijil/group_role/assign.html"
success_message = _("The group role has been assigned.")
def get_success_url(self) -> str:
return reverse("assigned_group_roles", args=[self.group.pk])
def get_permission_object(self):
self.group = get_object_or_404(Group, pk=self.kwargs.get("pk"))
try:
self.role = GroupRole.objects.get(pk=self.kwargs.get("role_pk"))
except GroupRole.DoesNotExist:
self.role = None
return self.group
def get_form_kwargs(self):
kwargs = super().get_form_kwargs()
kwargs["request"] = self.request
kwargs["initial"] = {"role": self.role, "groups": [self.group]}
return kwargs
def get_context_data(self, **kwargs: Any) -> Dict[str, Any]:
context = super().get_context_data(**kwargs)
context["role"] = self.role
context["group"] = self.group
return context
@method_decorator(never_cache, name="dispatch")
class AssignGroupRoleMultipleView(PermissionRequiredMixin, SuccessNextMixin, AdvancedCreateView):
model = GroupRoleAssignment
form_class = AssignGroupRoleForm
permission_required = "alsijil.assign_grouprole_for_multiple_rule"
template_name = "alsijil/group_role/assign.html"
success_message = _("The group role has been assigned.")
def get_success_url(self) -> str:
return reverse("assign_group_role_multiple")
def get_form_kwargs(self):
kwargs = super().get_form_kwargs()
kwargs["request"] = self.request
return kwargs
@method_decorator(never_cache, name="dispatch")
class GroupRoleAssignmentEditView(PermissionRequiredMixin, SuccessNextMixin, AdvancedEditView):
"""Edit view for group role assignments."""
model = GroupRoleAssignment
form_class = GroupRoleAssignmentEditForm
permission_required = "alsijil.edit_grouproleassignment_rule"
template_name = "alsijil/group_role/edit_assignment.html"
success_message = _("The group role assignment has been saved.")
def get_success_url(self) -> str:
pk = self.object.groups.first().pk
return reverse("assigned_group_roles", args=[pk])
@method_decorator(never_cache, "dispatch")
class GroupRoleAssignmentStopView(PermissionRequiredMixin, SuccessNextMixin, DetailView):
model = GroupRoleAssignment
permission_required = "alsijil.stop_grouproleassignment_rule"
def get_success_url(self) -> str:
pk = self.object.groups.first().pk
return reverse("assigned_group_roles", args=[pk])
def get(self, request, *args, **kwargs):
self.object = self.get_object()
if not self.object.date_end:
self.object.date_end = timezone.now().date()
self.object.save()
messages.success(request, _("The group role assignment has been stopped."))
return redirect(self.get_success_url())
@method_decorator(never_cache, "dispatch")
class GroupRoleAssignmentDeleteView(
PermissionRequiredMixin, RevisionMixin, SuccessNextMixin, AdvancedDeleteView
):
"""Delete view for group role assignments."""
model = GroupRoleAssignment
permission_required = "alsijil.delete_grouproleassignment_rule"
template_name = "core/pages/delete.html"
success_message = _("The group role assignment has been deleted.")
def get_success_url(self) -> str:
pk = self.object.groups.first().pk
return reverse("assigned_group_roles", args=[pk])
@method_decorator(pwa_cache, "dispatch")
class AllRegisterObjectsView(PermissionRequiredMixin, View):
"""Provide overview of all register objects for coordinators."""
permission_required = "alsijil.view_register_objects_list_rule"
def get_context_data(self, request):
context = {}
# Filter selectable groups by permissions
groups = Group.objects.all()
if not check_global_permission(request.user, "alsijil.view_full_register"):
allowed_groups = get_objects_for_user(
self.request.user, "core.view_full_register_group", Group
).values_list("pk", flat=True)
groups = groups.filter(Q(parent_groups__in=allowed_groups) | Q(pk__in=allowed_groups))
# Build filter with own form and logic as django-filter can't work with different models
filter_form = FilterRegisterObjectForm(
request, request.GET or None, for_person=False, groups=groups
)
filter_dict = filter_form.cleaned_data if filter_form.is_valid() else {}
filter_dict["groups"] = groups
context["filter_form"] = filter_form
register_objects = generate_list_of_all_register_objects(filter_dict)
self.action_form = RegisterObjectActionForm(request, register_objects, request.POST or None)
context["action_form"] = self.action_form
if register_objects:
self.table = RegisterObjectSelectTable(register_objects)
items_per_page = request.user.person.preferences[
"alsijil__register_objects_table_items_per_page"
]
RequestConfig(request, paginate={"per_page": items_per_page}).configure(self.table)
context["table"] = self.table
return context
def get(self, request: HttpRequest) -> HttpResponse:
context = self.get_context_data(request)
return render(request, "alsijil/class_register/all_objects.html", context)
def post(self, request: HttpRequest):
context = self.get_context_data(request)
if self.action_form.is_valid():
self.action_form.execute()
return render(request, "alsijil/class_register/all_objects.html", context) | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/views.py | views.py |
from django.core.exceptions import ValidationError
from django.utils.translation import gettext_lazy as _
from dynamic_preferences.preferences import Section
from dynamic_preferences.types import BooleanPreference, IntegerPreference
from aleksis.core.registries import person_preferences_registry, site_preferences_registry
alsijil = Section("alsijil", verbose_name=_("Class register"))
@site_preferences_registry.register
class BlockPersonalNotesForCancelled(BooleanPreference):
section = alsijil
name = "block_personal_notes_for_cancelled"
default = True
verbose_name = _("Block adding personal notes for cancelled lessons")
@site_preferences_registry.register
class ViewOwnPersonalNotes(BooleanPreference):
section = alsijil
name = "view_own_personal_notes"
default = True
verbose_name = _("Allow users to view their own personal notes")
@site_preferences_registry.register
class RegisterAbsenceAsPrimaryGroupOwner(BooleanPreference):
section = alsijil
name = "register_absence_as_primary_group_owner"
default = True
verbose_name = _(
"Allow primary group owners to register future absences for students in their groups"
)
@site_preferences_registry.register
class InheritPrivilegesFromParentGroup(BooleanPreference):
section = alsijil
name = "inherit_privileges_from_parent_group"
default = True
verbose_name = _(
"Grant the owner of a parent group the same privileges "
"as the owners of the respective child groups"
)
@site_preferences_registry.register
class EditLessonDocumentationAsOriginalTeacher(BooleanPreference):
section = alsijil
name = "edit_lesson_documentation_as_original_teacher"
default = True
verbose_name = _("Allow original teachers to edit their lessons although they are substituted")
@site_preferences_registry.register
class CarryOverDataToNextPeriods(BooleanPreference):
section = alsijil
name = "carry_over_next_periods"
default = True
verbose_name = _(
"Carry over data from first lesson period to the "
"following lesson periods in lessons over multiple periods"
)
help_text = _("This will carry over data only if the data in the following periods are empty.")
@site_preferences_registry.register
class AllowCarryOverLessonDocumentationToCurrentWeek(BooleanPreference):
section = alsijil
name = "allow_carry_over_same_week"
default = False
verbose_name = _(
"Allow carrying over data from any lesson period to all other lesson \
periods with the same lesson and in the same week"
)
help_text = _(
"This will carry over data only if the data in the aforementioned periods are empty."
)
@site_preferences_registry.register
class CarryOverPersonalNotesToNextPeriods(BooleanPreference):
section = alsijil
name = "carry_over_personal_notes"
default = True
verbose_name = _("Carry over personal notes to all following lesson periods on the same day.")
@site_preferences_registry.register
class AllowOpenPeriodsOnSameDay(BooleanPreference):
section = alsijil
name = "open_periods_same_day"
default = False
verbose_name = _(
"Allow teachers to open lesson periods on the "
"same day and not just at the beginning of the period"
)
help_text = _(
"Lessons in the past are not affected by this setting, you can open them whenever you want."
)
@site_preferences_registry.register
class AllowEntriesInHolidays(BooleanPreference):
section = alsijil
name = "allow_entries_in_holidays"
default = False
verbose_name = _("Allow teachers to add data for lessons in holidays")
@site_preferences_registry.register
class GroupOwnersCanAssignRolesToParents(BooleanPreference):
section = alsijil
name = "group_owners_can_assign_roles_to_parents"
default = False
verbose_name = _(
"Allow group owners to assign group roles to the parents of the group's members"
)
@person_preferences_registry.register
class ShowGroupRolesInWeekView(BooleanPreference):
section = alsijil
name = "group_roles_in_week_view"
default = True
verbose_name = _("Show assigned group roles in week view")
help_text = _("Only week view of groups")
@person_preferences_registry.register
class ShowGroupRolesInLessonView(BooleanPreference):
section = alsijil
name = "group_roles_in_lesson_view"
default = True
verbose_name = _("Show assigned group roles in lesson view")
@person_preferences_registry.register
class RegisterObjectsTableItemsPerPage(IntegerPreference):
"""Preference how many items are shown per page in ``RegisterObjectTable``."""
section = alsijil
name = "register_objects_table_items_per_page"
default = 100
verbose_name = _("Items per page in lessons table")
def validate(self, value):
if value < 1:
raise ValidationError(_("Each page must show at least one item."))
@person_preferences_registry.register
class DefaultLessonDocumentationFilter(BooleanPreference):
section = alsijil
name = "default_lesson_documentation_filter"
default = True
verbose_name = _("Filter lessons by existence of their lesson documentation on default") | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/preferences.py | preferences.py |
from typing import Callable, Sequence
from django.contrib import messages
from django.contrib.humanize.templatetags.humanize import apnumber
from django.http import HttpRequest
from django.template.loader import get_template
from django.urls import reverse
from django.utils.translation import gettext_lazy as _
from aleksis.apps.alsijil.models import PersonalNote
from aleksis.core.models import Notification
def mark_as_excused(modeladmin, request, queryset):
queryset.filter(absent=True).update(excused=True, excuse_type=None)
mark_as_excused.short_description = _("Mark as excused")
def mark_as_unexcused(modeladmin, request, queryset):
queryset.filter(absent=True).update(excused=False, excuse_type=None)
mark_as_unexcused.short_description = _("Mark as unexcused")
def mark_as_excuse_type_generator(excuse_type) -> Callable:
def mark_as_excuse_type(modeladmin, request, queryset):
queryset.filter(absent=True).update(excused=True, excuse_type=excuse_type)
mark_as_excuse_type.short_description = _(f"Mark as {excuse_type.name}")
mark_as_excuse_type.__name__ = f"mark_as_excuse_type_{excuse_type.short_name}"
return mark_as_excuse_type
def delete_personal_note(modeladmin, request, queryset):
notes = []
for personal_note in queryset:
personal_note.reset_values()
notes.append(personal_note)
PersonalNote.objects.bulk_update(
notes, fields=["absent", "excused", "tardiness", "excuse_type", "remarks"]
)
delete_personal_note.short_description = _("Delete")
def send_request_to_check_entry(modeladmin, request: HttpRequest, selected_items: Sequence[dict]):
"""Send notifications to the teachers of the selected register objects.
Action for use with ``RegisterObjectTable`` and ``RegisterObjectActionForm``.
"""
# Group class register entries by teachers so each teacher gets just one notification
grouped_by_teachers = {}
for entry in selected_items:
teachers = entry["register_object"].get_teachers().all()
for teacher in teachers:
grouped_by_teachers.setdefault(teacher, [])
grouped_by_teachers[teacher].append(entry)
template = get_template("alsijil/notifications/check.html")
for teacher, items in grouped_by_teachers.items():
msg = template.render({"items": items})
title = _("{} asks you to check some class register entries.").format(
request.user.person.addressing_name
)
n = Notification(
title=title,
description=msg,
sender=request.user.person.addressing_name,
recipient=teacher,
link=request.build_absolute_uri(reverse("overview_me")),
)
n.save()
count_teachers = len(grouped_by_teachers.keys())
count_items = len(selected_items)
messages.success(
request,
_(
"We have successfully sent notifications to "
"{count_teachers} persons for {count_items} lessons."
).format(count_teachers=apnumber(count_teachers), count_items=apnumber(count_items)),
)
send_request_to_check_entry.short_description = _("Ask teacher to check data") | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/actions.py | actions.py |
from copy import deepcopy
from datetime import date, timedelta
from django.db.models import Q
from django.utils.translation import gettext as _
from calendarweek import CalendarWeek
from celery.result import allow_join_result
from celery.states import SUCCESS
from aleksis.apps.chronos.models import Event, ExtraLesson, LessonPeriod
from aleksis.core.models import Group, PDFFile
from aleksis.core.util.celery_progress import ProgressRecorder, recorded_task
from aleksis.core.util.pdf import generate_pdf_from_template
from .models import ExcuseType, ExtraMark, LessonDocumentation, PersonalNote
@recorded_task
def generate_full_register_printout(group: int, file_object: int, recorder: ProgressRecorder):
"""Generate a full register printout as PDF for a group."""
context = {}
_number_of_steps = 8
recorder.set_progress(1, _number_of_steps, _("Load data ..."))
group = Group.objects.get(pk=group)
file_object = PDFFile.objects.get(pk=file_object)
groups_q = (
Q(lesson_period__lesson__groups=group)
| Q(lesson_period__lesson__groups__parent_groups=group)
| Q(extra_lesson__groups=group)
| Q(extra_lesson__groups__parent_groups=group)
| Q(event__groups=group)
| Q(event__groups__parent_groups=group)
)
personal_notes = (
PersonalNote.objects.prefetch_related(
"lesson_period__substitutions", "lesson_period__lesson__teachers"
)
.not_empty()
.filter(groups_q)
.filter(groups_of_person=group)
)
documentations = LessonDocumentation.objects.not_empty().filter(groups_q)
recorder.set_progress(2, _number_of_steps, _("Sort data ..."))
sorted_documentations = {"extra_lesson": {}, "event": {}, "lesson_period": {}}
sorted_personal_notes = {"extra_lesson": {}, "event": {}, "lesson_period": {}, "person": {}}
for documentation in documentations:
key = documentation.register_object.label_
sorted_documentations[key][documentation.register_object_key] = documentation
for note in personal_notes:
key = note.register_object.label_
sorted_personal_notes[key].setdefault(note.register_object_key, [])
sorted_personal_notes[key][note.register_object_key].append(note)
sorted_personal_notes["person"].setdefault(note.person.pk, [])
sorted_personal_notes["person"][note.person.pk].append(note)
recorder.set_progress(3, _number_of_steps, _("Load lesson data ..."))
# Get all lesson periods for the selected group
lesson_periods = LessonPeriod.objects.filter_group(group).distinct()
events = Event.objects.filter_group(group).distinct()
extra_lessons = ExtraLesson.objects.filter_group(group).distinct()
weeks = CalendarWeek.weeks_within(group.school_term.date_start, group.school_term.date_end)
register_objects_by_day = {}
for extra_lesson in extra_lessons:
day = extra_lesson.date
register_objects_by_day.setdefault(day, []).append(
(
extra_lesson,
sorted_documentations["extra_lesson"].get(extra_lesson.pk),
sorted_personal_notes["extra_lesson"].get(extra_lesson.pk, []),
None,
)
)
for event in events:
day_number = (event.date_end - event.date_start).days + 1
for i in range(day_number):
day = event.date_start + timedelta(days=i)
event_copy = deepcopy(event)
event_copy.annotate_day(day)
# Skip event days if it isn't inside the timetable schema
if not (event_copy.raw_period_from_on_day and event_copy.raw_period_to_on_day):
continue
register_objects_by_day.setdefault(day, []).append(
(
event_copy,
sorted_documentations["event"].get(event.pk),
sorted_personal_notes["event"].get(event.pk, []),
None,
)
)
recorder.set_progress(4, _number_of_steps, _("Sort lesson data ..."))
weeks = CalendarWeek.weeks_within(
group.school_term.date_start,
group.school_term.date_end,
)
for lesson_period in lesson_periods:
for week in weeks:
day = week[lesson_period.period.weekday]
if (
lesson_period.lesson.validity.date_start
<= day
<= lesson_period.lesson.validity.date_end
):
filtered_documentation = sorted_documentations["lesson_period"].get(
f"{lesson_period.pk}_{week.week}_{week.year}"
)
filtered_personal_notes = sorted_personal_notes["lesson_period"].get(
f"{lesson_period.pk}_{week.week}_{week.year}", []
)
substitution = lesson_period.get_substitution(week)
register_objects_by_day.setdefault(day, []).append(
(lesson_period, filtered_documentation, filtered_personal_notes, substitution)
)
recorder.set_progress(5, _number_of_steps, _("Load statistics ..."))
persons = group.members.prefetch_related(None).select_related(None)
persons = group.generate_person_list_with_class_register_statistics(persons)
prefetched_persons = []
for person in persons:
person.filtered_notes = sorted_personal_notes["person"].get(person.pk, [])
prefetched_persons.append(person)
context["school_term"] = group.school_term
context["persons"] = prefetched_persons
context["excuse_types"] = ExcuseType.objects.filter(count_as_absent=True)
context["excuse_types_not_absent"] = ExcuseType.objects.filter(count_as_absent=False)
context["extra_marks"] = ExtraMark.objects.all()
context["group"] = group
context["weeks"] = weeks
context["register_objects_by_day"] = register_objects_by_day
context["register_objects"] = list(lesson_periods) + list(events) + list(extra_lessons)
context["today"] = date.today()
context["lessons"] = (
group.lessons.all()
.select_related(None)
.prefetch_related(None)
.select_related("validity", "subject")
.prefetch_related("teachers", "lesson_periods")
)
context["child_groups"] = (
group.child_groups.all()
.select_related(None)
.prefetch_related(None)
.prefetch_related(
"lessons",
"lessons__validity",
"lessons__subject",
"lessons__teachers",
"lessons__lesson_periods",
)
)
recorder.set_progress(6, _number_of_steps, _("Generate template ..."))
file_object, result = generate_pdf_from_template(
"alsijil/print/full_register.html", context, file_object=file_object
)
recorder.set_progress(7, _number_of_steps, _("Generate PDF ..."))
with allow_join_result():
result.wait()
file_object.refresh_from_db()
if not result.status == SUCCESS and file_object.file:
raise Exception(_("PDF generation failed"))
recorder.set_progress(8, _number_of_steps) | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/tasks.py | tasks.py |
from datetime import date
from typing import Optional, Union
from urllib.parse import urlparse
from django.db import models
from django.db.models.constraints import CheckConstraint
from django.db.models.query_utils import Q
from django.urls import reverse
from django.utils.formats import date_format
from django.utils.translation import gettext_lazy as _
from calendarweek import CalendarWeek
from colorfield.fields import ColorField
from aleksis.apps.alsijil.data_checks import (
ExcusesWithoutAbsences,
LessonDocumentationOnHolidaysDataCheck,
NoGroupsOfPersonsSetInPersonalNotesDataCheck,
NoPersonalNotesInCancelledLessonsDataCheck,
PersonalNoteOnHolidaysDataCheck,
)
from aleksis.apps.alsijil.managers import (
GroupRoleAssignmentManager,
GroupRoleAssignmentQuerySet,
GroupRoleManager,
GroupRoleQuerySet,
LessonDocumentationManager,
LessonDocumentationQuerySet,
PersonalNoteManager,
PersonalNoteQuerySet,
)
from aleksis.apps.chronos.managers import GroupPropertiesMixin
from aleksis.apps.chronos.mixins import WeekRelatedMixin
from aleksis.apps.chronos.models import Event, ExtraLesson, LessonPeriod, TimePeriod
from aleksis.core.data_checks import field_validation_data_check_factory
from aleksis.core.mixins import ExtensibleModel, GlobalPermissionModel
from aleksis.core.models import SchoolTerm
from aleksis.core.util.core_helpers import get_site_preferences
from aleksis.core.util.model_helpers import ICONS
def isidentifier(value: str) -> bool:
return value.isidentifier()
class ExcuseType(ExtensibleModel):
"""An type of excuse.
Can be used to count different types of absences separately.
"""
short_name = models.CharField(max_length=255, unique=True, verbose_name=_("Short name"))
name = models.CharField(max_length=255, unique=True, verbose_name=_("Name"))
count_as_absent = models.BooleanField(
default=True,
verbose_name=_("Count as absent"),
help_text=_(
"If checked, this excuse type will be counted as a missed lesson. If not checked,"
"it won't show up in the absence report."
),
)
def __str__(self):
return f"{self.name} ({self.short_name})"
@property
def count_label(self):
return f"excuse_type_{self.id}_count"
class Meta:
ordering = ["name"]
verbose_name = _("Excuse type")
verbose_name_plural = _("Excuse types")
constraints = [
models.UniqueConstraint(
fields=("site_id", "short_name"), name="unique_excuse_short_name"
),
models.UniqueConstraint(fields=("site_id", "name"), name="unique_excuse_name"),
]
lesson_related_constraint_q = (
Q(
lesson_period__isnull=False,
event__isnull=True,
extra_lesson__isnull=True,
week__isnull=False,
year__isnull=False,
)
| Q(
lesson_period__isnull=True,
event__isnull=False,
extra_lesson__isnull=True,
week__isnull=True,
year__isnull=True,
)
| Q(
lesson_period__isnull=True,
event__isnull=True,
extra_lesson__isnull=False,
week__isnull=True,
year__isnull=True,
)
)
class RegisterObjectRelatedMixin(WeekRelatedMixin):
"""Mixin with common API for lesson documentations and personal notes."""
@property
def register_object(
self: Union["LessonDocumentation", "PersonalNote"]
) -> Union[LessonPeriod, Event, ExtraLesson]:
"""Get the object related to this lesson documentation or personal note."""
if self.lesson_period:
return self.lesson_period
elif self.event:
return self.event
else:
return self.extra_lesson
@property
def register_object_key(self: Union["LessonDocumentation", "PersonalNote"]) -> str:
"""Get a unique reference to the related object related."""
if self.week and self.year:
return f"{self.register_object.pk}_{self.week}_{self.year}"
else:
return self.register_object.pk
@property
def calendar_week(self: Union["LessonDocumentation", "PersonalNote"]) -> CalendarWeek:
"""Get the calendar week of this lesson documentation or personal note.
.. note::
As events can be longer than one week,
this will return the week of the start date for events.
"""
if self.lesson_period:
return CalendarWeek(week=self.week, year=self.year)
elif self.extra_lesson:
return self.extra_lesson.calendar_week
else:
return CalendarWeek.from_date(self.register_object.date_start)
@property
def school_term(self: Union["LessonDocumentation", "PersonalNote"]) -> SchoolTerm:
"""Get the school term of the related register object."""
if self.lesson_period:
return self.lesson_period.lesson.validity.school_term
else:
return self.register_object.school_term
@property
def date(self: Union["LessonDocumentation", "PersonalNote"]) -> Optional[date]:
"""Get the date of this lesson documentation or personal note.
:: warning::
As events can be longer than one day,
this will return `None` for events.
"""
if self.lesson_period:
return super().date
elif self.extra_lesson:
return self.extra_lesson.date
return None
@property
def date_formatted(self: Union["LessonDocumentation", "PersonalNote"]) -> str:
"""Get a formatted version of the date of this object.
Lesson periods, extra lessons: formatted date
Events: formatted date range
"""
return (
date_format(self.date)
if self.date
else f"{date_format(self.event.date_start)}–{date_format(self.event.date_end)}"
)
@property
def period(self: Union["LessonDocumentation", "PersonalNote"]) -> TimePeriod:
"""Get the date of this lesson documentation or personal note.
:: warning::
As events can be longer than one day,
this will return `None` for events.
"""
if self.event:
return self.event.period_from
else:
return self.register_object.period
@property
def period_formatted(self: Union["LessonDocumentation", "PersonalNote"]) -> str:
"""Get a formatted version of the period of this object.
Lesson periods, extra lessons: formatted period
Events: formatted period range
"""
return (
f"{self.period.period}."
if not self.event
else f"{self.event.period_from.period}.–{self.event.period_to.period}."
)
def get_absolute_url(self: Union["LessonDocumentation", "PersonalNote"]) -> str:
"""Get the absolute url of the detail view for the related register object."""
return self.register_object.get_alsijil_url(self.calendar_week)
class PersonalNote(RegisterObjectRelatedMixin, ExtensibleModel):
"""A personal note about a single person.
Used in the class register to note absences, excuses
and remarks about a student in a single lesson period.
"""
data_checks = [
NoPersonalNotesInCancelledLessonsDataCheck,
NoGroupsOfPersonsSetInPersonalNotesDataCheck,
PersonalNoteOnHolidaysDataCheck,
ExcusesWithoutAbsences,
]
objects = PersonalNoteManager.from_queryset(PersonalNoteQuerySet)()
person = models.ForeignKey("core.Person", models.CASCADE, related_name="personal_notes")
groups_of_person = models.ManyToManyField("core.Group", related_name="+")
week = models.IntegerField(blank=True, null=True)
year = models.IntegerField(verbose_name=_("Year"), blank=True, null=True)
lesson_period = models.ForeignKey(
"chronos.LessonPeriod", models.CASCADE, related_name="personal_notes", blank=True, null=True
)
event = models.ForeignKey(
"chronos.Event", models.CASCADE, related_name="personal_notes", blank=True, null=True
)
extra_lesson = models.ForeignKey(
"chronos.ExtraLesson", models.CASCADE, related_name="personal_notes", blank=True, null=True
)
absent = models.BooleanField(default=False)
tardiness = models.PositiveSmallIntegerField(default=0)
excused = models.BooleanField(default=False)
excuse_type = models.ForeignKey(
ExcuseType,
on_delete=models.SET_NULL,
null=True,
blank=True,
verbose_name=_("Excuse type"),
)
remarks = models.CharField(max_length=200, blank=True)
extra_marks = models.ManyToManyField("ExtraMark", blank=True, verbose_name=_("Extra marks"))
def save(self, *args, **kwargs):
if self.excuse_type:
self.excused = True
if not self.absent:
self.excused = False
self.excuse_type = None
super().save(*args, **kwargs)
def reset_values(self):
"""Reset all saved data to default values.
.. warning ::
This won't save the data, please execute ``save`` extra.
"""
defaults = PersonalNote()
self.absent = defaults.absent
self.tardiness = defaults.tardiness
self.excused = defaults.excused
self.excuse_type = defaults.excuse_type
self.remarks = defaults.remarks
self.extra_marks.clear()
def __str__(self) -> str:
return f"{self.date_formatted}, {self.lesson_period}, {self.person}"
def get_absolute_url(self) -> str:
"""Get the absolute url of the detail view for the related register object."""
return urlparse(super().get_absolute_url())._replace(fragment="personal-notes").geturl()
class Meta:
verbose_name = _("Personal note")
verbose_name_plural = _("Personal notes")
ordering = [
"year",
"week",
"lesson_period__period__weekday",
"lesson_period__period__period",
"person__last_name",
"person__first_name",
]
constraints = [
CheckConstraint(
check=lesson_related_constraint_q, name="one_relation_only_personal_note"
),
models.UniqueConstraint(
fields=("week", "year", "lesson_period", "person"),
name="unique_note_per_lp",
),
models.UniqueConstraint(
fields=("week", "year", "event", "person"),
name="unique_note_per_ev",
),
models.UniqueConstraint(
fields=("week", "year", "extra_lesson", "person"),
name="unique_note_per_el",
),
]
class LessonDocumentation(RegisterObjectRelatedMixin, ExtensibleModel):
"""A documentation on a single lesson period.
Non-personal, includes the topic and homework of the lesson.
"""
objects = LessonDocumentationManager.from_queryset(LessonDocumentationQuerySet)()
data_checks = [LessonDocumentationOnHolidaysDataCheck]
week = models.IntegerField(blank=True, null=True)
year = models.IntegerField(verbose_name=_("Year"), blank=True, null=True)
lesson_period = models.ForeignKey(
"chronos.LessonPeriod", models.CASCADE, related_name="documentations", blank=True, null=True
)
event = models.ForeignKey(
"chronos.Event", models.CASCADE, related_name="documentations", blank=True, null=True
)
extra_lesson = models.ForeignKey(
"chronos.ExtraLesson", models.CASCADE, related_name="documentations", blank=True, null=True
)
topic = models.CharField(verbose_name=_("Lesson topic"), max_length=200, blank=True)
homework = models.CharField(verbose_name=_("Homework"), max_length=200, blank=True)
group_note = models.CharField(verbose_name=_("Group note"), max_length=200, blank=True)
def carry_over_data(self, all_periods_of_lesson: LessonPeriod):
"""Carry over data to given periods in this lesson if data is not already set.
Both forms of carrying over data can be deactivated using site preferences
``alsijil__carry_over_next_periods`` and ``alsijil__allow_carry_over_same_week``
respectively.
"""
for period in all_periods_of_lesson:
lesson_documentation = period.get_or_create_lesson_documentation(
CalendarWeek(week=self.week, year=self.year)
)
changed = False
if not lesson_documentation.topic:
lesson_documentation.topic = self.topic
changed = True
if not lesson_documentation.homework:
lesson_documentation.homework = self.homework
changed = True
if not lesson_documentation.group_note:
lesson_documentation.group_note = self.group_note
changed = True
if changed:
lesson_documentation.save(carry_over_next_periods=False)
def __str__(self) -> str:
return f"{self.lesson_period}, {self.date_formatted}"
def save(self, carry_over_next_periods=True, *args, **kwargs):
if (
get_site_preferences()["alsijil__carry_over_next_periods"]
and (self.topic or self.homework or self.group_note)
and self.lesson_period
and carry_over_next_periods
):
self.carry_over_data(
LessonPeriod.objects.filter(
lesson=self.lesson_period.lesson,
period__weekday=self.lesson_period.period.weekday,
)
)
super().save(*args, **kwargs)
class Meta:
verbose_name = _("Lesson documentation")
verbose_name_plural = _("Lesson documentations")
ordering = [
"year",
"week",
"lesson_period__period__weekday",
"lesson_period__period__period",
]
constraints = [
CheckConstraint(
check=lesson_related_constraint_q,
name="one_relation_only_lesson_documentation",
),
models.UniqueConstraint(
fields=("week", "year", "lesson_period"),
name="unique_documentation_per_lp",
),
models.UniqueConstraint(
fields=("week", "year", "event"),
name="unique_documentation_per_ev",
),
models.UniqueConstraint(
fields=("week", "year", "extra_lesson"),
name="unique_documentation_per_el",
),
]
class ExtraMark(ExtensibleModel):
"""A model for extra marks.
Can be used for lesson-based counting of things (like forgotten homework).
"""
short_name = models.CharField(max_length=255, unique=True, verbose_name=_("Short name"))
name = models.CharField(max_length=255, unique=True, verbose_name=_("Name"))
def __str__(self):
return f"{self.name}"
@property
def count_label(self):
return f"extra_mark_{self.id}_count"
class Meta:
ordering = ["short_name"]
verbose_name = _("Extra mark")
verbose_name_plural = _("Extra marks")
constraints = [
models.UniqueConstraint(
fields=("site_id", "short_name"), name="unique_mark_short_name"
),
models.UniqueConstraint(fields=("site_id", "name"), name="unique_mark_name"),
]
class GroupRole(ExtensibleModel):
data_checks = [field_validation_data_check_factory("alsijil", "GroupRole", "icon")]
objects = GroupRoleManager.from_queryset(GroupRoleQuerySet)()
name = models.CharField(max_length=255, verbose_name=_("Name"))
icon = models.CharField(max_length=50, blank=True, choices=ICONS, verbose_name=_("Icon"))
colour = ColorField(blank=True, verbose_name=_("Colour"))
def __str__(self):
return self.name
class Meta:
verbose_name = _("Group role")
verbose_name_plural = _("Group roles")
constraints = [
models.UniqueConstraint(fields=("site_id", "name"), name="unique_role_per_site"),
]
permissions = (("assign_group_role", _("Can assign group role")),)
def get_absolute_url(self) -> str:
return reverse("edit_group_role", args=[self.id])
class GroupRoleAssignment(GroupPropertiesMixin, ExtensibleModel):
objects = GroupRoleAssignmentManager.from_queryset(GroupRoleAssignmentQuerySet)()
role = models.ForeignKey(
GroupRole,
on_delete=models.CASCADE,
related_name="assignments",
verbose_name=_("Group role"),
)
person = models.ForeignKey(
"core.Person",
on_delete=models.CASCADE,
related_name="group_roles",
verbose_name=_("Assigned person"),
)
groups = models.ManyToManyField(
"core.Group",
related_name="group_roles",
verbose_name=_("Groups"),
)
date_start = models.DateField(verbose_name=_("Start date"))
date_end = models.DateField(
blank=True,
null=True,
verbose_name=_("End date"),
help_text=_("Can be left empty if end date is not clear yet"),
)
def __str__(self):
date_end = date_format(self.date_end) if self.date_end else "?"
return f"{self.role}: {self.person}, {date_format(self.date_start)}–{date_end}"
@property
def date_range(self) -> str:
if not self.date_end:
return f"{date_format(self.date_start)}–?"
else:
return f"{date_format(self.date_start)}–{date_format(self.date_end)}"
class Meta:
verbose_name = _("Group role assignment")
verbose_name_plural = _("Group role assignments")
class AlsijilGlobalPermissions(GlobalPermissionModel):
class Meta:
managed = False
permissions = (
("view_lesson", _("Can view lesson overview")),
("view_week", _("Can view week overview")),
("view_full_register", _("Can view full register")),
("register_absence", _("Can register absence")),
("list_personal_note_filters", _("Can list all personal note filters")),
) | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/models.py | models.py |
from datetime import date, datetime
from typing import Optional, Sequence, Union
from django.db.models import Case, ExpressionWrapper, F, Func, QuerySet, Value, When
from django.db.models.fields import DateField
from django.db.models.functions import Concat
from django.db.models.query import Prefetch
from django.db.models.query_utils import Q
from django.utils.translation import gettext as _
from calendarweek import CalendarWeek
from aleksis.apps.chronos.managers import DateRangeQuerySetMixin
from aleksis.core.managers import CurrentSiteManagerWithoutMigrations
class RegisterObjectRelatedQuerySet(QuerySet):
"""Common queryset for personal notes and lesson documentations with shared API."""
def _get_weekday_to_date(self, weekday_name, year_name="year", week_name="week"):
"""Get a ORM function which converts a weekday, a week and a year to a date."""
return ExpressionWrapper(
Func(
Concat(F(year_name), F(week_name)),
Value("IYYYIW"),
output_field=DateField(),
function="TO_DATE",
)
+ F(weekday_name),
output_field=DateField(),
)
def annotate_day(self) -> QuerySet:
"""Annotate every personal note/lesson documentation with the real date.
Attribute name: ``day``
.. note::
For events, this will annotate ``None``.
"""
return self.annotate(
day=Case(
When(
lesson_period__isnull=False,
then=self._get_weekday_to_date("lesson_period__period__weekday"),
),
When(
extra_lesson__isnull=False,
then=self._get_weekday_to_date(
"extra_lesson__period__weekday", "extra_lesson__year", "extra_lesson__week"
),
),
)
)
def annotate_date_range(self) -> QuerySet:
"""Annotate every personal note/lesson documentation with the real date.
Attribute names: ``day_start``, ``day_end``
.. note::
For lesson periods and extra lessons,
this will annotate the same date for start and end day.
"""
return self.annotate_day().annotate(
day_start=Case(
When(day__isnull=False, then="day"),
When(day__isnull=True, then="event__date_start"),
),
day_end=Case(
When(day__isnull=False, then="day"),
When(day__isnull=True, then="event__date_end"),
),
)
def annotate_subject(self) -> QuerySet:
"""Annotate lesson documentations with the subjects."""
return self.annotate(
subject=Case(
When(
lesson_period__isnull=False,
then="lesson_period__lesson__subject__name",
),
When(
extra_lesson__isnull=False,
then="extra_lesson__subject__name",
),
default=Value(_("Event")),
)
)
class PersonalNoteManager(CurrentSiteManagerWithoutMigrations):
"""Manager adding specific methods to personal notes."""
def get_queryset(self):
"""Ensure all related lesson and person data are loaded as well."""
return (
super()
.get_queryset()
.select_related(
"person",
"excuse_type",
"lesson_period",
"lesson_period__lesson",
"lesson_period__lesson__subject",
"lesson_period__period",
"lesson_period__lesson__validity",
"lesson_period__lesson__validity__school_term",
"event",
"extra_lesson",
"extra_lesson__subject",
)
.prefetch_related("extra_marks")
)
class PersonalNoteQuerySet(RegisterObjectRelatedQuerySet, QuerySet):
def not_empty(self):
"""Get all not empty personal notes."""
return self.filter(
~Q(remarks="") | Q(absent=True) | ~Q(tardiness=0) | Q(extra_marks__isnull=False)
)
class LessonDocumentationManager(CurrentSiteManagerWithoutMigrations):
pass
class LessonDocumentationQuerySet(RegisterObjectRelatedQuerySet, QuerySet):
def not_empty(self):
"""Get all not empty lesson documentations."""
return self.filter(~Q(topic="") | ~Q(group_note="") | ~Q(homework=""))
class GroupRoleManager(CurrentSiteManagerWithoutMigrations):
pass
class GroupRoleQuerySet(QuerySet):
def with_assignments(
self, time_ref: Union[date, CalendarWeek], groups: Sequence["Group"]
) -> QuerySet:
from aleksis.apps.alsijil.models import GroupRoleAssignment
if isinstance(time_ref, CalendarWeek):
qs = GroupRoleAssignment.objects.in_week(time_ref)
else:
qs = GroupRoleAssignment.objects.on_day(time_ref)
qs = qs.for_groups(groups).distinct()
return self.prefetch_related(
Prefetch(
"assignments",
queryset=qs,
)
)
class GroupRoleAssignmentManager(CurrentSiteManagerWithoutMigrations):
pass
class GroupRoleAssignmentQuerySet(DateRangeQuerySetMixin, QuerySet):
def within_dates(self, start: date, end: date):
"""Filter for all role assignments within a date range."""
return self.filter(
Q(date_start__lte=end) & (Q(date_end__gte=start) | Q(date_end__isnull=True))
)
def at_time(self, when: Optional[datetime] = None):
"""Filter for role assignments assigned at a certain point in time."""
now = when or datetime.now()
return self.on_day(now.date())
def for_groups(self, groups: Sequence["Group"]):
"""Filter all role assignments for a sequence of groups."""
qs = self
for group in groups:
qs = qs.for_group(group)
return qs
def for_group(self, group: "Group"):
"""Filter all role assignments for a group."""
return self.filter(Q(groups=group) | Q(groups__child_groups=group)) | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/managers.py | managers.py |
from datetime import datetime, timedelta
from typing import Optional, Sequence
from django import forms
from django.core.exceptions import ValidationError
from django.db.models import Count, Q
from django.http import HttpRequest
from django.utils import timezone
from django.utils.translation import gettext_lazy as _
from django_select2.forms import ModelSelect2MultipleWidget, ModelSelect2Widget, Select2Widget
from guardian.shortcuts import get_objects_for_user
from material import Fieldset, Layout, Row
from aleksis.apps.chronos.managers import TimetableType
from aleksis.apps.chronos.models import LessonPeriod, Subject, TimePeriod
from aleksis.core.forms import ActionForm, ListActionForm
from aleksis.core.models import Group, Person, SchoolTerm
from aleksis.core.util.core_helpers import get_site_preferences
from aleksis.core.util.predicates import check_global_permission
from .actions import (
delete_personal_note,
mark_as_excuse_type_generator,
mark_as_excused,
mark_as_unexcused,
send_request_to_check_entry,
)
from .models import (
ExcuseType,
ExtraMark,
GroupRole,
GroupRoleAssignment,
LessonDocumentation,
PersonalNote,
)
class LessonDocumentationForm(forms.ModelForm):
class Meta:
model = LessonDocumentation
fields = ["topic", "homework", "group_note"]
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields["homework"].label = _("Homework for the next lesson")
if (
self.instance.lesson_period
and get_site_preferences()["alsijil__allow_carry_over_same_week"]
):
self.fields["carry_over_week"] = forms.BooleanField(
label=_("Carry over data to all other lessons with the same subject in this week"),
initial=True,
required=False,
)
def save(self, **kwargs):
lesson_documentation = super(LessonDocumentationForm, self).save(commit=True)
if (
get_site_preferences()["alsijil__allow_carry_over_same_week"]
and self.cleaned_data["carry_over_week"]
and (
lesson_documentation.topic
or lesson_documentation.homework
or lesson_documentation.group_note
)
and lesson_documentation.lesson_period
):
lesson_documentation.carry_over_data(
LessonPeriod.objects.filter(lesson=lesson_documentation.lesson_period.lesson)
)
class PersonalNoteForm(forms.ModelForm):
class Meta:
model = PersonalNote
fields = ["absent", "tardiness", "excused", "excuse_type", "extra_marks", "remarks"]
person_name = forms.CharField(disabled=True)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields["person_name"].widget.attrs.update(
{"class": "alsijil-lesson-personal-note-name"}
)
self.fields["person_name"].widget = forms.HiddenInput()
if self.instance and getattr(self.instance, "person", None):
self.fields["person_name"].initial = str(self.instance.person)
class SelectForm(forms.Form):
layout = Layout(Row("group", "teacher"))
group = forms.ModelChoiceField(
queryset=None,
label=_("Group"),
required=False,
widget=Select2Widget,
)
teacher = forms.ModelChoiceField(
queryset=None,
label=_("Teacher"),
required=False,
widget=Select2Widget,
)
def clean(self) -> dict:
data = super().clean()
if data.get("group") and not data.get("teacher"):
type_ = TimetableType.GROUP
instance = data["group"]
elif data.get("teacher") and not data.get("group"):
type_ = TimetableType.TEACHER
instance = data["teacher"]
elif not data.get("teacher") and not data.get("group"):
return data
else:
raise ValidationError(_("You can't select a group and a teacher both."))
data["type_"] = type_
data["instance"] = instance
return data
def __init__(self, request, *args, **kwargs):
self.request = request
super().__init__(*args, **kwargs)
person = self.request.user.person
group_qs = Group.get_groups_with_lessons()
# Filter selectable groups by permissions
if not check_global_permission(self.request.user, "alsijil.view_week"):
# 1) All groups the user is allowed to see the week view by object permissions
# 2) All groups the user is a member of an owner of
# 3) If the corresponding preference is turned on:
# All groups that have a parent group the user is an owner of
group_qs = (
group_qs.filter(
pk__in=get_objects_for_user(
self.request.user, "core.view_week_class_register_group", Group
).values_list("pk", flat=True)
)
).union(
group_qs.filter(
Q(members=person) | Q(owners=person) | Q(parent_groups__owners=person)
if get_site_preferences()["alsijil__inherit_privileges_from_parent_group"]
else Q(members=person) | Q(owners=person)
)
)
# Flatten query by filtering groups by pk
self.fields["group"].queryset = Group.objects.filter(
pk__in=list(group_qs.values_list("pk", flat=True))
)
teacher_qs = Person.objects.annotate(lessons_count=Count("lessons_as_teacher")).filter(
lessons_count__gt=0
)
# Filter selectable teachers by permissions
if not check_global_permission(self.request.user, "alsijil.view_week"):
# If the user hasn't got the global permission and the inherit privileges preference is
# turned off, the user is only allowed to see their own person. Otherwise, the user
# is allowed to see all persons that teach lessons that the given groups attend.
if get_site_preferences()["alsijil__inherit_privileges_from_parent_group"]:
teacher_pks = []
for group in group_qs:
for lesson in group.lessons.all():
for teacher in lesson.teachers.all():
teacher_pks.append(teacher.pk)
teacher_qs = teacher_qs.filter(pk__in=teacher_pks)
else:
teacher_qs = teacher_qs.filter(pk=person.pk)
self.fields["teacher"].queryset = teacher_qs
PersonalNoteFormSet = forms.modelformset_factory(
PersonalNote, form=PersonalNoteForm, max_num=0, extra=0
)
class RegisterAbsenceForm(forms.Form):
layout = Layout(
Fieldset("", "person"),
Fieldset("", Row("date_start", "date_end"), Row("from_period", "to_period")),
Fieldset("", Row("absent", "excused"), Row("excuse_type"), Row("remarks")),
)
person = forms.ModelChoiceField(label=_("Person"), queryset=None, widget=Select2Widget)
date_start = forms.DateField(label=_("Start date"), initial=datetime.today)
date_end = forms.DateField(label=_("End date"), initial=datetime.today)
from_period = forms.ChoiceField(label=_("Start period"))
to_period = forms.ChoiceField(label=_("End period"))
absent = forms.BooleanField(label=_("Absent"), initial=True, required=False)
excused = forms.BooleanField(label=_("Excused"), initial=True, required=False)
excuse_type = forms.ModelChoiceField(
label=_("Excuse type"),
queryset=ExcuseType.objects.all(),
widget=Select2Widget,
required=False,
)
remarks = forms.CharField(label=_("Remarks"), max_length=30, required=False)
def __init__(self, request, *args, **kwargs):
self.request = request
super().__init__(*args, **kwargs)
period_choices = TimePeriod.period_choices
if self.request.user.has_perm("alsijil.register_absence"):
self.fields["person"].queryset = Person.objects.all()
else:
persons_qs = Person.objects.filter(
Q(
pk__in=get_objects_for_user(
self.request.user, "core.register_absence_person", Person
)
)
| Q(primary_group__owners=self.request.user.person)
| Q(
member_of__in=get_objects_for_user(
self.request.user, "core.register_absence_group", Group
)
)
).distinct()
self.fields["person"].queryset = persons_qs
self.fields["from_period"].choices = period_choices
self.fields["to_period"].choices = period_choices
self.fields["from_period"].initial = TimePeriod.period_min
self.fields["to_period"].initial = TimePeriod.period_max
class ExtraMarkForm(forms.ModelForm):
layout = Layout("short_name", "name")
class Meta:
model = ExtraMark
fields = ["short_name", "name"]
class ExcuseTypeForm(forms.ModelForm):
layout = Layout("short_name", "name", "count_as_absent")
class Meta:
model = ExcuseType
fields = ["short_name", "name", "count_as_absent"]
class PersonOverviewForm(ActionForm):
def get_actions(self):
return (
[mark_as_excused, mark_as_unexcused]
+ [
mark_as_excuse_type_generator(excuse_type)
for excuse_type in ExcuseType.objects.all()
]
+ [delete_personal_note]
)
class GroupRoleForm(forms.ModelForm):
layout = Layout("name", "icon", "colour")
class Meta:
model = GroupRole
fields = ["name", "icon", "colour"]
class AssignGroupRoleForm(forms.ModelForm):
layout_base = ["groups", "person", "role", Row("date_start", "date_end")]
groups = forms.ModelMultipleChoiceField(
label=_("Group"),
required=True,
queryset=Group.objects.all(),
widget=ModelSelect2MultipleWidget(
model=Group,
search_fields=["name__icontains", "short_name__icontains"],
attrs={
"data-minimum-input-length": 0,
"class": "browser-default",
},
),
)
person = forms.ModelChoiceField(
label=_("Person"),
required=True,
queryset=Person.objects.all(),
widget=ModelSelect2Widget(
model=Person,
search_fields=[
"first_name__icontains",
"last_name__icontains",
"short_name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
)
def __init__(self, request, *args, **kwargs):
self.request = request
initial = kwargs.get("initial", {})
# Build layout with or without groups field
base_layout = self.layout_base[:]
if "groups" in initial:
base_layout.remove("groups")
self.layout = Layout(*base_layout)
super().__init__(*args, **kwargs)
if "groups" in initial:
self.fields["groups"].required = False
# Filter persons and groups by permissions
if not self.request.user.has_perm("alsijil.assign_grouprole"): # Global permission
persons = Person.objects
if initial.get("groups"):
persons = persons.filter(member_of__in=initial["groups"])
if get_site_preferences()["alsijil__group_owners_can_assign_roles_to_parents"]:
persons = persons.filter(
Q(member_of__owners=self.request.user.person)
| Q(children__member_of__owners=self.request.user.person)
)
else:
persons = persons.filter(member_of__owners=self.request.user.person)
self.fields["person"].queryset = persons.distinct()
if "groups" not in initial:
groups = (
Group.objects.for_current_school_term_or_all()
.filter(
Q(owners=self.request.user.person)
| Q(parent_groups__owners=self.request.user.person)
if get_site_preferences()["alsijil__inherit_privileges_from_parent_group"]
else Q(owners=self.request.user.person)
)
.distinct()
)
self.fields["groups"].queryset = groups
def clean_groups(self):
"""Ensure that only permitted groups are used."""
return self.initial["groups"] if "groups" in self.initial else self.cleaned_data["groups"]
class Meta:
model = GroupRoleAssignment
fields = ["groups", "person", "role", "date_start", "date_end"]
class GroupRoleAssignmentEditForm(forms.ModelForm):
class Meta:
model = GroupRoleAssignment
fields = ["date_start", "date_end"]
class FilterRegisterObjectForm(forms.Form):
"""Form for filtering register objects in ``RegisterObjectTable``."""
layout = Layout(
Row("school_term", "date_start", "date_end"), Row("has_documentation", "group", "subject")
)
school_term = forms.ModelChoiceField(queryset=None, label=_("School term"))
has_documentation = forms.NullBooleanField(label=_("Has lesson documentation"))
group = forms.ModelChoiceField(queryset=None, label=_("Group"), required=False)
subject = forms.ModelChoiceField(queryset=None, label=_("Subject"), required=False)
date_start = forms.DateField(label=_("Start date"))
date_end = forms.DateField(label=_("End date"))
@classmethod
def get_initial(cls, has_documentation: Optional[bool] = None):
date_end = timezone.now().date()
date_start = date_end - timedelta(days=30)
school_term = SchoolTerm.current
# If there is no current school year, use last known school year.
if not school_term:
school_term = SchoolTerm.objects.all().last()
return {
"school_term": school_term,
"date_start": date_start,
"date_end": date_end,
"has_documentation": has_documentation,
}
def __init__(
self,
request: HttpRequest,
*args,
for_person: bool = True,
default_documentation: Optional[bool] = None,
groups: Optional[Sequence[Group]] = None,
**kwargs
):
self.request = request
person = self.request.user.person
kwargs["initial"] = self.get_initial(has_documentation=default_documentation)
super().__init__(*args, **kwargs)
self.fields["school_term"].queryset = SchoolTerm.objects.all()
if not groups and for_person:
groups = Group.objects.filter(
Q(lessons__teachers=person)
| Q(lessons__lesson_periods__substitutions__teachers=person)
| Q(events__teachers=person)
| Q(extra_lessons__teachers=person)
).distinct()
elif not for_person:
groups = Group.objects.all()
self.fields["group"].queryset = groups
# Filter subjects by selectable groups
subject_qs = Subject.objects.filter(
Q(lessons__groups__in=groups) | Q(extra_lessons__groups__in=groups)
).distinct()
self.fields["subject"].queryset = subject_qs
class RegisterObjectActionForm(ListActionForm):
"""Action form for managing register objects for use with ``RegisterObjectTable``."""
actions = [send_request_to_check_entry] | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/forms.py | forms.py |
import django.contrib.sites.managers
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("sites", "0002_alter_domain_unique"),
("alsijil", "0002_excuse_type"),
]
operations = [
migrations.CreateModel(
name="ExtraMark",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
models.JSONField(
default=dict, editable=False
),
),
(
"short_name",
models.CharField(
max_length=255, unique=True, verbose_name="Short name"
),
),
(
"name",
models.CharField(max_length=255, unique=True, verbose_name="Name"),
),
(
"site",
models.ForeignKey(
default=1,
editable=False,
on_delete=django.db.models.deletion.CASCADE,
to="sites.Site",
),
),
],
options={
"verbose_name": "Extra mark",
"verbose_name_plural": "Extra marks",
"ordering": ["short_name"],
},
managers=[("objects", django.contrib.sites.managers.CurrentSiteManager()),],
),
migrations.AddField(
model_name="personalnote",
name="extra_marks",
field=models.ManyToManyField(
blank=True,
to="alsijil.ExtraMark",
verbose_name="Extra marks",
),
),
] | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/migrations/0003_extra_mark.py | 0003_extra_mark.py |
import django.contrib.sites.managers
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("sites", "0002_alter_domain_unique"),
("alsijil", "0001_initial"),
]
operations = [
migrations.CreateModel(
name="ExcuseType",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
models.JSONField(
default=dict, editable=False
),
),
(
"short_name",
models.CharField(
max_length=255, unique=True, verbose_name="Short name"
),
),
(
"name",
models.CharField(max_length=255, unique=True, verbose_name="Name"),
),
(
"site",
models.ForeignKey(
default=1,
editable=False,
on_delete=django.db.models.deletion.CASCADE,
to="sites.Site",
),
),
],
options={
"verbose_name": "Excuse type",
"verbose_name_plural": "Excuse types",
"ordering": ["name"],
},
managers=[("objects", django.contrib.sites.managers.CurrentSiteManager()),],
),
migrations.AddField(
model_name="personalnote",
name="excuse_type",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to="alsijil.ExcuseType",
verbose_name="Excuse type",
),
),
] | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/migrations/0002_excuse_type.py | 0002_excuse_type.py |
import aleksis.apps.chronos.managers
from aleksis.core.util.model_helpers import ICONS
import colorfield.fields
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0009_default_dashboard'),
('sites', '0002_alter_domain_unique'),
('alsijil', '0008_global_permissions'),
]
operations = [
migrations.CreateModel(
name='GroupRole',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('name', models.CharField(max_length=255, verbose_name='Name')),
('icon', models.CharField(blank=True, choices=(lambda: ICONS)(), max_length=50, verbose_name='Icon')),
('colour', colorfield.fields.ColorField(blank=True, default='', max_length=18, verbose_name='Colour')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.site')),
],
options={
'verbose_name': 'Group role',
'verbose_name_plural': 'Group roles',
},
),
migrations.CreateModel(
name='GroupRoleAssignment',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('date_start', models.DateField(verbose_name='Start date')),
('date_end', models.DateField(blank=True, help_text='Can be left empty if end date is not clear yet', null=True, verbose_name='End date')),
('groups', models.ManyToManyField(related_name='group_roles', to='core.Group', verbose_name='Groups')),
('person', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='group_roles', to='core.person', verbose_name='Assigned person')),
('role', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='assignments', to='alsijil.grouprole', verbose_name='Group role')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.site')),
],
options={
'verbose_name': 'Group role assignment',
'verbose_name_plural': 'Group role assignments',
},
bases=(aleksis.apps.chronos.managers.GroupPropertiesMixin, models.Model),
),
] | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/migrations/0009_group_roles.py | 0009_group_roles.py |
import django.contrib.sites.managers
import django.db.models.deletion
from django.db import migrations, models
import aleksis.apps.alsijil.models
class Migration(migrations.Migration):
initial = True
dependencies = [
("core", "0001_initial"),
("chronos", "0001_initial"),
("sites", "0002_alter_domain_unique"),
]
operations = [
migrations.CreateModel(
name="PersonalNoteFilter",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
models.JSONField(
default=dict, editable=False
),
),
(
"identifier",
models.CharField(
max_length=30,
unique=True,
validators=[aleksis.apps.alsijil.models.isidentifier],
verbose_name="Identifier",
),
),
(
"description",
models.CharField(
blank=True,
max_length=60,
unique=True,
verbose_name="Description",
),
),
(
"regex",
models.CharField(
max_length=100, unique=True, verbose_name="Match expression"
),
),
(
"site",
models.ForeignKey(
default=1,
editable=False,
on_delete=django.db.models.deletion.CASCADE,
to="sites.Site",
),
),
],
options={
"verbose_name": "Personal note filter",
"verbose_name_plural": "Personal note filters",
"ordering": ["identifier"],
},
managers=[("objects", django.contrib.sites.managers.CurrentSiteManager()),],
),
migrations.CreateModel(
name="PersonalNote",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
models.JSONField(
default=dict, editable=False
),
),
("week", models.IntegerField()),
("absent", models.BooleanField(default=False)),
("late", models.IntegerField(default=0)),
("excused", models.BooleanField(default=False)),
("remarks", models.CharField(blank=True, max_length=200)),
(
"lesson_period",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="personal_notes",
to="chronos.LessonPeriod",
),
),
(
"person",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="personal_notes",
to="core.Person",
),
),
(
"site",
models.ForeignKey(
default=1,
editable=False,
on_delete=django.db.models.deletion.CASCADE,
to="sites.Site",
),
),
],
options={
"verbose_name": "Personal note",
"verbose_name_plural": "Personal notes",
"ordering": [
"lesson_period__lesson__validity__date_start",
"week",
"lesson_period__period__weekday",
"lesson_period__period__period",
"person__last_name",
"person__first_name",
],
"unique_together": {("lesson_period", "week", "person")},
},
managers=[],
),
migrations.CreateModel(
name="LessonDocumentation",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
models.JSONField(
default=dict, editable=False
),
),
("week", models.IntegerField()),
(
"topic",
models.CharField(
blank=True, max_length=200, verbose_name="Lesson topic"
),
),
(
"homework",
models.CharField(
blank=True, max_length=200, verbose_name="Homework"
),
),
(
"lesson_period",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="documentations",
to="chronos.LessonPeriod",
),
),
(
"site",
models.ForeignKey(
default=1,
editable=False,
on_delete=django.db.models.deletion.CASCADE,
to="sites.Site",
),
),
],
options={
"verbose_name": "Lesson documentation",
"verbose_name_plural": "Lesson documentations",
"ordering": [
"lesson_period__lesson__validity__date_start",
"week",
"lesson_period__period__weekday",
"lesson_period__period__period",
],
"unique_together": {("lesson_period", "week")},
},
managers=[],
),
] | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/migrations/0001_initial.py | 0001_initial.py |
import aleksis.apps.chronos.util.date
import django.contrib.sites.managers
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('chronos', '0004_substitution_extra_lesson_year'),
('alsijil', '0009_group_roles'),
]
operations = [
migrations.AlterModelOptions(
name='lessondocumentation',
options={'ordering': ['year', 'week', 'lesson_period__period__weekday', 'lesson_period__period__period'], 'verbose_name': 'Lesson documentation', 'verbose_name_plural': 'Lesson documentations'},
),
migrations.AlterModelOptions(
name='personalnote',
options={'ordering': ['year', 'week', 'lesson_period__period__weekday', 'lesson_period__period__period', 'person__last_name', 'person__first_name'], 'verbose_name': 'Personal note', 'verbose_name_plural': 'Personal notes'},
),
migrations.AddField(
model_name='lessondocumentation',
name='event',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='documentations', to='chronos.event'),
),
migrations.AddField(
model_name='lessondocumentation',
name='extra_lesson',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='documentations', to='chronos.extralesson'),
),
migrations.AddField(
model_name='personalnote',
name='event',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='personal_notes', to='chronos.event'),
),
migrations.AddField(
model_name='personalnote',
name='extra_lesson',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='personal_notes', to='chronos.extralesson'),
),
migrations.AlterField(
model_name='lessondocumentation',
name='lesson_period',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='documentations', to='chronos.lessonperiod'),
),
migrations.AlterField(
model_name='lessondocumentation',
name='week',
field=models.IntegerField(blank=True, null=True),
),
migrations.AlterField(
model_name='lessondocumentation',
name='year',
field=models.IntegerField(blank=True, null=True, verbose_name='Year'),
),
migrations.AlterField(
model_name='personalnote',
name='lesson_period',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='personal_notes', to='chronos.lessonperiod'),
),
migrations.AlterField(
model_name='personalnote',
name='week',
field=models.IntegerField(blank=True, null=True),
),
migrations.AlterField(
model_name='personalnote',
name='year',
field=models.IntegerField(blank=True, null=True, verbose_name='Year'),
),
migrations.AlterUniqueTogether(
name='lessondocumentation',
unique_together=set(),
),
migrations.AlterUniqueTogether(
name='personalnote',
unique_together=set(),
),
migrations.AddConstraint(
model_name='lessondocumentation',
constraint=models.CheckConstraint(check=models.Q(models.Q(('event__isnull', True), ('extra_lesson__isnull', True), ('lesson_period__isnull', False), ('week__isnull', False), ('year__isnull', False)), models.Q(('event__isnull', False), ('extra_lesson__isnull', True), ('lesson_period__isnull', True), ('week__isnull', True), ('year__isnull', True)), models.Q(('event__isnull', True), ('extra_lesson__isnull', False), ('lesson_period__isnull', True), ('week__isnull', True), ('year__isnull', True)), _connector='OR'), name='one_relation_only_lesson_documentation'),
),
migrations.AddConstraint(
model_name='personalnote',
constraint=models.CheckConstraint(check=models.Q(models.Q(('event__isnull', True), ('extra_lesson__isnull', True), ('lesson_period__isnull', False), ('week__isnull', False), ('year__isnull', False)), models.Q(('event__isnull', False), ('extra_lesson__isnull', True), ('lesson_period__isnull', True), ('week__isnull', True), ('year__isnull', True)), models.Q(('event__isnull', True), ('extra_lesson__isnull', False), ('lesson_period__isnull', True), ('week__isnull', True), ('year__isnull', True)), _connector='OR'), name='one_relation_only_personal_note'),
),
] | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/migrations/0010_events_extra_lessons.py | 0010_events_extra_lessons.py |
import {
notLoggedInValidator,
hasPersonValidator,
} from "aleksis.core/routeValidators";
export default {
meta: {
inMenu: true,
titleKey: "alsijil.menu_title",
icon: "mdi-account-group-outline",
validators: [hasPersonValidator],
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
children: [
{
path: "lesson",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.lessonPeriod",
meta: {
inMenu: true,
titleKey: "alsijil.lesson.menu_title",
icon: "mdi-alarm",
permission: "alsijil.view_lesson_menu_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "lesson/:year(\\d+)/:week(\\d+)/:id_(\\d+)",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.lessonPeriodByCWAndID",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "extra_lesson/:id_(\\d+)/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.extraLessonByID",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "event/:id_(\\d+)/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.eventByID",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "week/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.weekView",
meta: {
inMenu: true,
titleKey: "alsijil.week.menu_title",
icon: "mdi-view-week-outline",
permission: "alsijil.view_week_menu_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "week/:year(\\d+)/:week(\\d+)/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.weekViewByWeek",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "week/year/cw/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.weekViewPlaceholders",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "week/:type_/:id_(\\d+)/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.weekViewByTypeAndID",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "week/year/cw/:type_/:id_(\\d+)/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.weekViewPlaceholdersByTypeAndID",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "week/:year(\\d+)/:week(\\d+)/:type_/:id_(\\d+)/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.weekViewByWeekTypeAndID",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "print/group/:id_(\\d+)",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.fullRegisterGroup",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "groups/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.myGroups",
meta: {
inMenu: true,
titleKey: "alsijil.groups.menu_title",
icon: "mdi-account-multiple-outline",
permission: "alsijil.view_my_groups_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "groups/:pk(\\d+)/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.studentsList",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "persons/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.myStudents",
meta: {
inMenu: true,
titleKey: "alsijil.persons.menu_title",
icon: "mdi-account-school-outline",
permission: "alsijil.view_my_students_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "persons/:id_(\\d+)/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.overviewPerson",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "me/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.overviewMe",
meta: {
inMenu: true,
titleKey: "alsijil.my_overview.menu_title",
icon: "mdi-chart-box-outline",
permission: "alsijil.view_person_overview_menu_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "notes/:pk(\\d+)/delete/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.deletePersonalNote",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "absence/new/:id_(\\d+)/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.registerAbsenceWithID",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "absence/new/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.registerAbsence",
meta: {
inMenu: true,
titleKey: "alsijil.absence.menu_title",
icon: "mdi-message-alert-outline",
permission: "alsijil.view_register_absence_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "extra_marks/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.extraMarks",
meta: {
inMenu: true,
titleKey: "alsijil.extra_marks.menu_title",
icon: "mdi-label-variant-outline",
permission: "alsijil.view_extramarks_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "extra_marks/create/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.createExtraMark",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "extra_marks/:pk(\\d+)/edit/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.editExtraMark",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "extra_marks/:pk(\\d+)/delete/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.deleteExtraMark",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "excuse_types/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.excuseTypes",
meta: {
inMenu: true,
titleKey: "alsijil.excuse_types.menu_title",
icon: "mdi-label-outline",
permission: "alsijil.view_excusetypes_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "excuse_types/create/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.createExcuseType",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "excuse_types/:pk(\\d+)/edit/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.editExcuseType",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "excuse_types/:pk(\\d+)/delete/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.deleteExcuseType",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "group_roles/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.groupRoles",
meta: {
inMenu: true,
titleKey: "alsijil.group_roles.menu_title_manage",
icon: "mdi-clipboard-plus-outline",
permission: "alsijil.view_grouproles_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "group_roles/create/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.createGroupRole",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "group_roles/:pk(\\d+)/edit/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.editGroupRole",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "group_roles/:pk(\\d+)/delete/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.deleteGroupRole",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "groups/:pk(\\d+)/group_roles/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.assignedGroupRoles",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "groups/:pk(\\d+)/group_roles/assign/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.assignGroupRole",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "groups/:pk(\\d+)/group_roles/:role_pk(\\d+)/assign/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.assignGroupRoleByRolePK",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "group_roles/assignments/:pk(\\d+)/edit/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.editGroupRoleAssignment",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "group_roles/assignments/:pk(\\d+)/stop/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.stopGroupRoleAssignment",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "group_roles/assignments/:pk(\\d+)/delete/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.deleteGroupRoleAssignment",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "group_roles/assignments/assign/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.assignGroupRoleMultiple",
meta: {
inMenu: true,
titleKey: "alsijil.group_roles.menu_title_assign",
icon: "mdi-clipboard-account-outline",
permission: "alsijil.assign_grouprole_for_multiple_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "all/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "alsijil.allRegisterObjects",
meta: {
inMenu: true,
titleKey: "alsijil.all_lessons.menu_title",
icon: "mdi-format-list-text",
permission: "alsijil.view_register_objects_list_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
],
}; | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/frontend/index.js | index.js |
from typing import Any, Union
from django.contrib.auth.models import User
from rules import predicate
from aleksis.apps.chronos.models import Event, ExtraLesson, LessonPeriod
from aleksis.core.models import Group, Person
from aleksis.core.util.predicates import check_object_permission
from ..models import PersonalNote
@predicate
def is_none(user: User, obj: Any) -> bool:
"""Predicate that checks if the provided object is None-like."""
return not bool(obj)
@predicate
def is_lesson_teacher(user: User, obj: Union[LessonPeriod, Event, ExtraLesson]) -> bool:
"""Predicate for teachers of a lesson.
Checks whether the person linked to the user is a teacher in the register object.
If the register object is a lesson period and has a substitution linked,
this will **only** check if the person is one of the substitution teachers.
"""
if obj:
return user.person in obj.get_teachers().all()
return False
@predicate
def is_lesson_original_teacher(user: User, obj: Union[LessonPeriod, Event, ExtraLesson]) -> bool:
"""Predicate for teachers of a lesson.
Checks whether the person linked to the user is a teacher in the register object.
If the register object is a lesson period and has a substitution linked,
this will **also** check if the person is one of the substitution teachers.
"""
if obj:
if isinstance(obj, LessonPeriod) and user.person in obj.lesson.teachers.all():
return True
return user.person in obj.get_teachers().all()
return False
@predicate
def is_lesson_participant(user: User, obj: LessonPeriod) -> bool:
"""Predicate for participants of a lesson.
Checks whether the person linked to the user is a member in
the groups linked to the given LessonPeriod.
"""
if hasattr(obj, "lesson") or hasattr(obj, "groups"):
for group in obj.get_groups().all():
if user.person in list(group.members.all()):
return True
return False
@predicate
def is_lesson_parent_group_owner(user: User, obj: LessonPeriod) -> bool:
"""
Predicate for parent group owners of a lesson.
Checks whether the person linked to the user is the owner of
any parent groups of any groups of the given LessonPeriods lesson.
"""
if hasattr(obj, "lesson") or hasattr(obj, "groups"):
for group in obj.get_groups().all():
for parent_group in group.parent_groups.all():
if user.person in list(parent_group.owners.all()):
return True
return False
@predicate
def is_group_owner(user: User, obj: Union[Group, Person]) -> bool:
"""Predicate for group owners of a given group.
Checks whether the person linked to the user is the owner of the given group.
If there isn't provided a group, it will return `False`.
"""
if isinstance(obj, Group):
if user.person in obj.owners.all():
return True
return False
@predicate
def is_person_group_owner(user: User, obj: Person) -> bool:
"""
Predicate for group owners of any group.
Checks whether the person linked to the user is
the owner of any group of the given person.
"""
if obj:
for group in use_prefetched(obj, "member_of"):
if user.person in use_prefetched(group, "owners"):
return True
return False
return False
def use_prefetched(obj, attr):
prefetched_attr = f"{attr}_prefetched"
if hasattr(obj, prefetched_attr):
return getattr(obj, prefetched_attr)
return getattr(obj, attr).all()
@predicate
def is_person_primary_group_owner(user: User, obj: Person) -> bool:
"""
Predicate for group owners of the person's primary group.
Checks whether the person linked to the user is
the owner of the primary group of the given person.
"""
if obj.primary_group:
return user.person in use_prefetched(obj.primary_group, "owners")
return False
def has_person_group_object_perm(perm: str):
"""Predicate builder for permissions on a set of member groups.
Checks whether a user has a permission on any group of a person.
"""
name = f"has_person_group_object_perm:{perm}"
@predicate(name)
def fn(user: User, obj: Person) -> bool:
groups = use_prefetched(obj, "member_of")
for group in groups:
if check_object_permission(user, perm, group, checker_obj=obj):
return True
return False
return fn
@predicate
def is_group_member(user: User, obj: Union[Group, Person]) -> bool:
"""Predicate for group membership.
Checks whether the person linked to the user is a member of the given group.
If there isn't provided a group, it will return `False`.
"""
if isinstance(obj, Group):
if user.person in obj.members.all():
return True
return False
def has_lesson_group_object_perm(perm: str):
"""Predicate builder for permissions on lesson groups.
Checks whether a user has a permission on any group of a LessonPeriod.
"""
name = f"has_lesson_group_object_perm:{perm}"
@predicate(name)
def fn(user: User, obj: LessonPeriod) -> bool:
if hasattr(obj, "lesson"):
groups = obj.lesson.groups.all()
for group in groups:
if check_object_permission(user, perm, group, checker_obj=obj):
return True
return False
return fn
def has_personal_note_group_perm(perm: str):
"""Predicate builder for permissions on personal notes.
Checks whether a user has a permission on any group of a person of a PersonalNote.
"""
name = f"has_personal_note_person_or_group_perm:{perm}"
@predicate(name)
def fn(user: User, obj: PersonalNote) -> bool:
if hasattr(obj, "person"):
groups = obj.person.member_of.all()
for group in groups:
if check_object_permission(user, perm, group, checker_obj=obj):
return True
return False
return fn
@predicate
def is_own_personal_note(user: User, obj: PersonalNote) -> bool:
"""Predicate for users referred to in a personal note.
Checks whether the user referred to in a PersonalNote is the active user.
"""
if hasattr(obj, "person") and obj.person is user.person:
return True
return False
@predicate
def is_parent_group_owner(user: User, obj: Group) -> bool:
"""Predicate which checks whether the user is the owner of any parent group of the group."""
if hasattr(obj, "parent_groups"):
for parent_group in use_prefetched(obj, "parent_groups"):
if user.person in use_prefetched(parent_group, "owners"):
return True
return False
@predicate
def is_personal_note_lesson_teacher(user: User, obj: PersonalNote) -> bool:
"""Predicate for teachers of a register object linked to a personal note.
Checks whether the person linked to the user is a teacher
in the register object linked to the personal note.
If the register object is a lesson period and has a substitution linked,
this will **only** check if the person is one of the substitution teachers.
"""
if hasattr(obj, "register_object"):
return user.person in obj.register_object.get_teachers().all()
return False
@predicate
def is_personal_note_lesson_original_teacher(user: User, obj: PersonalNote) -> bool:
"""Predicate for teachers of a register object linked to a personal note.
Checks whether the person linked to the user is a teacher
in the register object linked to the personal note.
If the register object is a lesson period and has a substitution linked,
this will **also** check if the person is one of the substitution teachers.
"""
if hasattr(obj, "register_object"):
if (
isinstance(obj.register_object, LessonPeriod)
and user.person in obj.lesson_period.lesson.teachers.all()
):
return True
return user.person in obj.register_object.get_teachers().all()
return False
@predicate
def is_personal_note_lesson_parent_group_owner(user: User, obj: PersonalNote) -> bool:
"""
Predicate for parent group owners of a lesson referred to in the lesson of a personal note.
Checks whether the person linked to the user is the owner of
any parent groups of any groups of the given LessonPeriod lesson of the given PersonalNote.
If so, also checks whether the person linked to the personal note actually is a member of this
parent group.
"""
if hasattr(obj, "register_object"):
for group in obj.register_object.get_groups().all():
for parent_group in group.parent_groups.all():
if user.person in use_prefetched(
parent_group, "owners"
) and obj.person in use_prefetched(parent_group, "members"):
return True
return False
@predicate
def is_teacher(user: User, obj: Person) -> bool:
"""Predicate which checks if the provided object is a teacher."""
return user.person.is_teacher
@predicate
def is_group_role_assignment_group_owner(user: User, obj: Union[Group, Person]) -> bool:
"""Predicate for group owners of a group role assignment.
Checks whether the person linked to the user is the owner of the groups
linked to the given group role assignment.
If there isn't provided a group role assignment, it will return `False`.
"""
if obj:
for group in obj.groups.all():
if user.person in list(group.owners.all()):
return True
return False
@predicate
def is_owner_of_any_group(user: User, obj):
"""Predicate which checks if the person is group owner of any group."""
return Group.objects.filter(owners=user.person).exists() | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/util/predicates.py | predicates.py |
from datetime import date
from operator import itemgetter
from typing import Any, Dict, Iterable, List, Optional, Sequence, Union
from django.db.models.expressions import Exists, OuterRef
from django.db.models.query import Prefetch, QuerySet
from django.db.models.query_utils import Q
from django.http import HttpRequest
from django.utils.formats import date_format
from django.utils.translation import gettext as _
from calendarweek import CalendarWeek
from aleksis.apps.alsijil.forms import FilterRegisterObjectForm
from aleksis.apps.alsijil.models import LessonDocumentation
from aleksis.apps.chronos.models import Event, ExtraLesson, Holiday, LessonPeriod
from aleksis.apps.chronos.util.chronos_helpers import get_el_by_pk
from aleksis.core.models import Group
from aleksis.core.util.core_helpers import get_site_preferences
def get_register_object_by_pk(
request: HttpRequest,
model: Optional[str] = None,
year: Optional[int] = None,
week: Optional[int] = None,
id_: Optional[int] = None,
) -> Optional[Union[LessonPeriod, Event, ExtraLesson]]:
"""Get register object either by given object_id or by time and current person."""
wanted_week = CalendarWeek(year=year, week=week)
if id_ and model == "lesson":
register_object = LessonPeriod.objects.annotate_week(wanted_week).get(pk=id_)
elif id_ and model == "event":
register_object = Event.objects.get(pk=id_)
elif id_ and model == "extra_lesson":
register_object = ExtraLesson.objects.get(pk=id_)
elif hasattr(request, "user") and hasattr(request.user, "person"):
if request.user.person.lessons_as_teacher.exists():
register_object = (
LessonPeriod.objects.at_time().filter_teacher(request.user.person).first()
)
else:
register_object = (
LessonPeriod.objects.at_time().filter_participant(request.user.person).first()
)
else:
register_object = None
return register_object
def get_timetable_instance_by_pk(
request: HttpRequest,
year: Optional[int] = None,
week: Optional[int] = None,
type_: Optional[str] = None,
id_: Optional[int] = None,
):
"""Get timetable object (teacher, room or group) by given type and id or the current person."""
if type_ and id_:
return get_el_by_pk(request, type_, id_)
elif hasattr(request, "user") and hasattr(request.user, "person"):
return request.user.person
def annotate_documentations(
klass: Union[Event, LessonPeriod, ExtraLesson], wanted_week: CalendarWeek, pks: List[int]
) -> QuerySet:
"""Return an annotated queryset of all provided register objects."""
if isinstance(klass, LessonPeriod):
prefetch = Prefetch(
"documentations",
queryset=LessonDocumentation.objects.filter(
week=wanted_week.week, year=wanted_week.year
),
)
else:
prefetch = Prefetch("documentations")
instances = klass.objects.prefetch_related(prefetch).filter(pk__in=pks)
if klass == LessonPeriod:
instances = instances.annotate_week(wanted_week)
elif klass in (LessonPeriod, ExtraLesson):
instances = instances.order_by("period__weekday", "period__period")
else:
instances = instances.order_by("period_from__weekday", "period_from__period")
instances = instances.annotate(
has_documentation=Exists(
LessonDocumentation.objects.filter(
~Q(topic__exact=""),
Q(week=wanted_week.week, year=wanted_week.year) | Q(week=None, year=None),
).filter(**{klass.label_: OuterRef("pk")})
)
)
return instances
def register_objects_sorter(register_object: Union[LessonPeriod, Event, ExtraLesson]) -> int:
"""Sort key for sorted/sort for sorting a list of class register objects.
This will sort the objects by the start period.
"""
if hasattr(register_object, "period"):
return register_object.period.period
elif isinstance(register_object, Event):
return register_object.period_from_on_day
else:
return 0
def _filter_register_objects_by_dict(
filter_dict: Dict[str, Any],
register_objects: QuerySet[Union[LessonPeriod, Event, ExtraLesson]],
label_: str,
) -> QuerySet[Union[LessonPeriod, Event, ExtraLesson]]:
"""Filter register objects by a dictionary generated through ``FilterRegisterObjectForm``."""
if label_ == LessonPeriod.label_:
register_objects = register_objects.filter(
lesson__validity__school_term=filter_dict.get("school_term")
)
else:
register_objects = register_objects.filter(school_term=filter_dict.get("school_term"))
register_objects = register_objects.distinct()
if (
filter_dict.get("date_start")
and filter_dict.get("date_end")
and label_ != LessonPeriod.label_
):
register_objects = register_objects.within_dates(
filter_dict.get("date_start"), filter_dict.get("date_end")
)
if filter_dict.get("person"):
if label_ == LessonPeriod.label_:
register_objects = register_objects.filter(
Q(lesson__teachers=filter_dict.get("person"))
| Q(substitutions__teachers=filter_dict.get("person"))
)
else:
register_objects = register_objects.filter_teacher(filter_dict.get("person"))
if filter_dict.get("group"):
register_objects = register_objects.filter_group(filter_dict.get("group"))
if filter_dict.get("groups"):
register_objects = register_objects.filter_groups(filter_dict.get("groups"))
if filter_dict.get("subject"):
if label_ == LessonPeriod.label_:
register_objects = register_objects.filter(
Q(lesson__subject=filter_dict.get("subject"))
| Q(substitutions__subject=filter_dict.get("subject"))
)
elif label_ == Event.label_:
# As events have no subject, we exclude them at all
register_objects = register_objects.none()
else:
register_objects = register_objects.filter(subject=filter_dict.get("subject"))
return register_objects
def _generate_dicts_for_lesson_periods(
filter_dict: Dict[str, Any],
lesson_periods: QuerySet[LessonPeriod],
documentations: Optional[Iterable[LessonDocumentation]] = None,
holiday_days: Optional[Sequence[date]] = None,
) -> List[Dict[str, Any]]:
"""Generate a list of dicts for use with ``RegisterObjectTable``."""
if not holiday_days:
holiday_days = []
lesson_periods = list(lesson_periods)
date_start = lesson_periods[0].lesson.validity.date_start
date_end = lesson_periods[-1].lesson.validity.date_end
if (
filter_dict["filter_date"]
and filter_dict.get("date_start") > date_start
and filter_dict.get("date_start") < date_end
):
date_start = filter_dict.get("date_start")
if (
filter_dict["filter_date"]
and filter_dict.get("date_end") < date_end
and filter_dict.get("date_end") > date_start
):
date_end = filter_dict.get("date_end")
weeks = CalendarWeek.weeks_within(date_start, date_end)
register_objects = []
inherit_privileges_preference = get_site_preferences()[
"alsijil__inherit_privileges_from_parent_group"
]
for lesson_period in lesson_periods:
parent_group_owned_by_person = inherit_privileges_preference and (
Group.objects.filter(
child_groups__in=Group.objects.filter(lessons__lesson_periods=lesson_period),
owners=filter_dict.get("person"),
).exists()
)
for week in weeks:
day = week[lesson_period.period.weekday]
# Skip all lesson periods in holidays
if day in holiday_days:
continue
# Ensure that the lesson period is in filter range and validity range
if (
lesson_period.lesson.validity.date_start
<= day
<= lesson_period.lesson.validity.date_end
) and (
not filter_dict.get("filter_date")
or (filter_dict.get("date_start") <= day <= filter_dict.get("date_end"))
):
sub = lesson_period.get_substitution()
# Skip lesson period if the person isn't a teacher,
# substitution teacher or, when the corresponding
# preference is switched on, owner of a parent group
# of this lesson period
if filter_dict.get("person") and (
filter_dict.get("person") not in lesson_period.lesson.teachers.all()
and not sub
and not parent_group_owned_by_person
):
continue
teachers = lesson_period.teacher_names
if (
filter_dict.get("subject")
and filter_dict.get("subject") != lesson_period.get_subject()
):
continue
# Filter matching documentations and annotate if they exist
filtered_documentations = list(
filter(
lambda d: d.week == week.week
and d.year == week.year
and d.lesson_period_id == lesson_period.pk,
documentations
if documentations is not None
else lesson_period.documentations.all(),
)
)
has_documentation = bool(filtered_documentations)
if filter_dict.get(
"has_documentation"
) is not None and has_documentation != filter_dict.get("has_documentation"):
continue
# Build table entry
entry = {
"pk": f"lesson_period_{lesson_period.pk}_{week.year}_{week.week}",
"week": week,
"has_documentation": has_documentation,
"substitution": sub,
"register_object": lesson_period,
"date": date_format(day),
"date_sort": day,
"period": f"{lesson_period.period.period}.",
"period_sort": lesson_period.period.period,
"groups": lesson_period.lesson.group_names,
"teachers": teachers,
"subject": lesson_period.get_subject().name,
}
if has_documentation:
doc = filtered_documentations[0]
entry["topic"] = doc.topic
entry["homework"] = doc.homework
entry["group_note"] = doc.group_note
register_objects.append(entry)
return register_objects
def _generate_dicts_for_events_and_extra_lessons(
filter_dict: Dict[str, Any],
register_objects_start: Sequence[Union[Event, ExtraLesson]],
documentations: Optional[Iterable[LessonDocumentation]] = None,
) -> List[Dict[str, Any]]:
"""Generate a list of dicts for use with ``RegisterObjectTable``."""
register_objects = []
for register_object in register_objects_start:
filtered_documentations = list(
filter(
lambda d: getattr(d, f"{register_object.label_}_id") == register_object.pk,
documentations
if documentations is not None
else register_object.documentations.all(),
)
)
has_documentation = bool(filtered_documentations)
if filter_dict.get(
"has_documentation"
) is not None and has_documentation != filter_dict.get("has_documentation"):
continue
if isinstance(register_object, ExtraLesson):
day = date_format(register_object.date)
day_sort = register_object.date
period = f"{register_object.period.period}."
period_sort = register_object.period.period
else:
register_object.annotate_day(register_object.date_end)
day = (
f"{date_format(register_object.date_start)}"
f"–{date_format(register_object.date_end)}"
)
day_sort = register_object.date_start
period = f"{register_object.period_from.period}.–{register_object.period_to.period}."
period_sort = register_object.period_from.period
# Build table entry
entry = {
"pk": f"{register_object.label_}_{register_object.pk}",
"has_documentation": has_documentation,
"register_object": register_object,
"date": day,
"date_sort": day_sort,
"period": period,
"period_sort": period_sort,
"groups": register_object.group_names,
"teachers": register_object.teacher_names,
"subject": register_object.subject.name
if isinstance(register_object, ExtraLesson)
else _("Event"),
}
if has_documentation:
doc = filtered_documentations[0]
entry["topic"] = doc.topic
entry["homework"] = doc.homework
entry["group_note"] = doc.group_note
register_objects.append(entry)
return register_objects
def generate_list_of_all_register_objects(filter_dict: Dict[str, Any]) -> List[Dict[str, Any]]:
"""Generate a list of all register objects.
This list can be filtered using ``filter_dict``. The following keys are supported:
- ``school_term`` (defaults to the current school term)
- ``date_start`` and ``date_end`` (defaults to the last thirty days)
- ``groups`` and/or ``groups``
- ``person``
- ``subject``
"""
# Always force a value for school term, start and end date so that queries won't get too big
initial_filter_data = FilterRegisterObjectForm.get_initial()
filter_dict["school_term"] = filter_dict.get("school_term", initial_filter_data["school_term"])
# If there is not school year at all, there are definitely no data.
if not filter_dict["school_term"]:
return []
filter_dict["date_start"] = filter_dict.get("date_start", initial_filter_data["date_start"])
filter_dict["date_end"] = filter_dict.get("date_end", initial_filter_data["date_end"])
filter_dict["filter_date"] = bool(filter_dict.get("date_start")) and bool(
filter_dict.get("date_end")
)
# Get all holidays in the selected school term to sort all data in holidays out
holidays = Holiday.objects.within_dates(
filter_dict["school_term"].date_start, filter_dict["school_term"].date_end
)
holiday_days = holidays.get_all_days()
lesson_periods = _filter_register_objects_by_dict(
filter_dict,
LessonPeriod.objects.order_by("lesson__validity__date_start"),
LessonPeriod.label_,
)
events = _filter_register_objects_by_dict(
filter_dict, Event.objects.exclude_holidays(holidays), Event.label_
)
extra_lessons = _filter_register_objects_by_dict(
filter_dict, ExtraLesson.objects.exclude_holidays(holidays), ExtraLesson.label_
)
# Prefetch documentations for all register objects and substitutions for all lesson periods
# in order to prevent extra queries
documentations = LessonDocumentation.objects.not_empty().filter(
Q(event__in=events)
| Q(extra_lesson__in=extra_lessons)
| Q(lesson_period__in=lesson_periods)
)
if lesson_periods:
register_objects = _generate_dicts_for_lesson_periods(
filter_dict, lesson_periods, documentations, holiday_days
)
register_objects += _generate_dicts_for_events_and_extra_lessons(
filter_dict, list(events) + list(extra_lessons), documentations
)
# Sort table entries by date and period and configure table
register_objects = sorted(register_objects, key=itemgetter("date_sort", "period_sort"))
return register_objects
return [] | AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/aleksis/apps/alsijil/util/alsijil_helpers.py | alsijil_helpers.py |
.. AlekSIS documentation master file, created by
sphinx-quickstart on Thu Aug 15 10:49:03 2019.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to AlekSIS-App-Alsijil's documentation!
===============================================
.. toctree::
:maxdepth: 2
:caption: Contents:
user/00_index
admin/00_index
dev/00_index
ref/00_index
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
| AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/docs/index.rst | index.rst |
System-wide settings for the digital class register
===================================================
The behaviour of the digital class register can be customised
under `Admin → Configuration → Class Register`. The section contains the
following preferences:
* **Block adding personal notes for cancelled lessons**: If this option is
activated, teachers will not be able to add personal notes for cancelled
lessons.
* **Allow users to view their own personal notes:** With this option, the school management
can control whether students should be able to view their own personal notes.
* **Allow primary group owners to register future absences for students in their groups**:
This allows owners of the student's primary group (e. g. the class)
to register future absences like doctor's appointments or family celebrations.
* **Grant the owner of a parent group the same privileges as the owners of the respective child groups**:
The owner of a group can perform all operations on child groups and related objects an owner of
the respected child groups is allowed to (e. g. editing the lesson documentation).
* **Allow original teachers to edit their lessons although they are substituted:**
In the case of substitute teaching, absent teachers can be given write-in privileges for the lesson.
* **Carry over data from first lesson period to the following lesson periods in lessons over multiple periods:**
For double (or even more adjacent) lessons, the lesson data from the first lesson period
can be automatically carried over to the following lessons.
* **Carry over personal notes to all following lesson periods on the same day:**
For double (or more adjacent) lessons, the personal notes from the first lesson period
can be automatically carried over to the following lessons.
* **Allow teachers to open lesson periods on the same day and not just at the beginning of the period:**
Teachers can open lessons earlier on the same day and not just at the beginning of the lesson.
* **Allow teachers to add data for lessons in holidays:**
It is possible to allow entering content for lessons during the holidays.
* **Allow group owners to assign group roles to the parents of the group's members:**
With this being activated, group roles like parent representatives can be managed by the class teacher.
| AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/docs/admin/40_preferences.rst | 40_preferences.rst |
Defining base data
==================
With sufficient authorisation, two additional menu items appear in the class register menu.
Excuse types
------------
Additional types of excuse for an absence can be created here.
This can be useful if you only want to count certain absences.
For example, if a student is busy at a school event and misses lessons,
this may not be counted as a normal absence.
.. image:: ../_static/excuse_types.png
:width: 100%
:alt: List with defined excuse types
.. image:: ../_static/create_excuse_type.png
:width: 100%
:alt: Form for creating new excuse types
Extra marks
-----------
Some remarks are repeated over and over again, such as 'Forgot homework'.
In order not to have to write this again and again in the remark field,
additional marks can be set, which then only have to be clicked on in the class register.
.. image:: ../_static/extra_marks.png
:width: 100%
:alt: List with defined extra marks
.. image:: ../_static/create_extra_mark.png
:width: 100%
:alt: Form for creating new extra marks
Group roles
-----------
To track special roles in groups in the class register, group roles
like class representatives or ventilation services can be defined here.
.. image:: ../_static/group_roles.png
:width: 100%
:alt: Overview about group roles
.. image:: ../_static/edit_group_role.png
:width: 100%
:alt: Form for managing a group role
Group roles can be managed via menu entry "Manage group roles" located in
the submenu "Class register".
| AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/docs/admin/30_configure.rst | 30_configure.rst |
Viewing and managing lessons
============================
The lesson documentation can be called up in different ways:
1. **Via 'Current lesson'**: During the current lesson, this is the quickest way to access the lesson documentation.
2. **Via 'Weekly overview'**: This menu item shows all lessons of the current week. Individual lessons can be clicked on to access the lesson documentation.
3. **'My Overview'**: This menu item shows teachers a list of all hours worked in the last weeks. Individual lessons can be called up directly.
The lesson documentation consists of four main parts accessible via tabs.
The data can be entered, changed and saved via the relevant forms.
In addition, navigation to the previous or next lesson is possible.
Tab 'Lesson Documentation'
--------------------------
The lesson documentation is a strictly non-personal information about the contents
of the lesson. It contains the topic, describing what contents were taught, and an
optional homework, describing what tasks students got for the next lesson.
Everything entered here should be considered public knowledge.
.. warning::
Never add any personal information to the lesson documentation.
.. image:: ../_static/lesson_documentation.png
:width: 100%
:alt: Lesson documentation in lesson overview
If enabled in the preferences, lesson documentation is carried over to adjacent
lessons. So if one subject is held in a double or triple lesson, only one needs
to be filled in.
Tab 'Personal Notes'
--------------------
Personal notes are specific to single students, and contain information about
absences, tardiness, any extra marks defined in the system, and a free text comment.
This information can never be viewed by other students. It is visible to any
teacher in the class by default, and might also be visible to the concerned
student.
.. image:: ../_static/lesson_personal_notes.png
:width: 100%
:alt: Personal notes in lesson overview
Behaviour of absences and tardiness
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When a student is marked as absent, this information is carried over to all future
lessons on the same day, meaning that for any teacher holding lessons in the class
after the one that marked them as absent will automatically see them as absent.
Likewise, if a student returns and is marked as not absent, this is carried over
to all future lessons.
Tab 'Previous lesson'
---------------------
This tab shows information about the previous lesson in the same group and subject
for reference.
Tab 'More'
----------
This tab contains several special items not mentioned before:
* **Changes**: Alsijil tracks all changes made to class register entries. This list shows a log of all these changes.
.. image:: ../_static/lesson_version_history.png
:width: 100%
:alt: Change history of the lesson
| AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/docs/user/21_lesson.rst | 21_lesson.rst |
Concept of Alsijil and overview about functionality
===================================================
AlekSIS provides a privacy-compliant online class register solution.
It is not simply the digital equivalent of a paper class book, although elements are adopted
for easier orientation and smoother transition for teachers. For example, there is a weekly
view of all lessons and a list of all the students in the class. Lesson content,
notes about the student and also remarks about the learning group can be entered.
However, the application uses the possibilities and therefore the advantages of a digital application.
The student lists do not have to be filled in by the class teacher,
but are provided automatically by the system. The timetable is also already stored.
In addition, statistical evaluation, like counting absences, is done
automatically.
In an overview, Alsijil currently provides the following functionality:
- Direct link to the lesson currently taking place
- Overview with all lessons of one week
+ Navigation between lessons
+ Filtering according to learning groups/courses and teachers
- List of learning groups
+ List of students with current statistics (absences, lateness, etc.)
+ printing of the group-specific class register
- "My overview" for pupils with an overview of "personal notes" such as omissions, lateness, remarks
- "My overview" for teachers with a list of their own lessons over the last four weeks and the following filtering options:
+ Specifying the period
+ Restriction to lessons with or without entry for lesson content
+ Restriction to certain groups
+ Restriction to certain lesson contents
- Only for teachers: Listing of students from their own lessons with totalled absences and lateness as well as other remarks
- Only for teachers with special privileges: Listing of all lessons of a specific class in preparation for printing the class register
- For administrators only: Definition of types of excuses, e.g. for absences due to school-related reasons
- For administrators only: Determination of types of remark, e.g. HA for homework forgotten
- Only for administrators: Assignment of special group roles, e.g. for the evaluation of class book entries or access to the print function
- Only for administrators: Creating group roles
| AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/docs/user/10_basic.rst | 10_basic.rst |
Overviews about lessons and students
====================================
Week overview
-------------
In the weekly overview, all lessons of the week for the respective user are displayed in a weekly schedule.
Clicking on a lesson takes you to the data for that lesson.
Above the schedule, you can navigate to the previous or following week.
It is also possible to filter the schedule according to certain groups or teachers.
.. image:: ../_static/week_view.png
:width: 100%
:alt: Week view
.. image:: ../_static/week_view_personal_notes.png
:width: 100%
:alt: Personal notes tab in week view
My overview
-----------
Personal overview for students
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This menu item provides the student with an overview of the personal notes
such as tardiness, absences and remarks that teachers have entered in the class register.
This enables them to quickly check whether excuses still need to be submitted,
and to verify what notes have been made about them.
.. image:: ../_static/overview_person.png
:width: 100%
:alt: Overview for students
Personal overview for teachers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For teachers, this view shows their own lessons for the last four weeks.
A filter can be used to adjust the list with regard to period,
missing entries, certain groups or certain lesson contents.
A corresponding symbol in each line immediately shows
whether entries are still missing for the lesson in question.
Individual lessons can be called up from the list to add or change entries.
.. image:: ../_static/overview_lessons.png
:width: 100%
:alt: Overview of lessons for teachers
My groups
---------
This menu item is only available for teachers.
With this quick access to your own learning groups,
you can on the one hand access the relevant student lists
and the weekly view of the lessons of this group,
and on the other hand you can print the course-specific class book.
.. image:: ../_static/my_groups.png
:width: 100%
:alt: List with all groups and their students
My students
-----------
With this menu item, teachers receive a list of all students from their lessons.
From each entry, you can switch to a detailed view to add specific data.
.. image:: ../_static/my_students.png
:width: 100%
:alt: List with all students of a teacher
You are also able to create custom excuse types via the menu entry "Excuse
types". These custom types are also shown in the statistical overview. The
custom excuse types are also shown in the legend under the students overview
table.
All lessons
-----------
For the head teacher or the coordinators of certain grades,
this menu item gives the possibility to see all lessons of a learning group in a list.
By means of a filter, the list can be specified to certain entries.
This makes it possible to call up all lessons with missing entries and
to send a request for completion of the data to the teachers concerned via a button.
| AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/docs/user/20_overview.rst | 20_overview.rst |
Basic data concepts
===================
Timetable data
--------------
The class register uses the data from the timetable app. This means that timetables with
all current changes such as substitutions, events and exams can be found directly in the class book.
Even basic settings such as lesson times, holidays and public holidays do not have to be
entered separately in the class book, as they are managed centrally.
Lesson documentations
---------------------
Three input fields are provided for the lesson content:
1. **Lesson topic:** The content of the lesson is to be noted here, if necessary with information on the material used.
2. **Homework:** In this field, the teacher can enter the homework for the next lesson.
3. **Group note:** Here, there is space for notes that concern the whole learning group, e.g. instructions, dates, or similar.
Personal notes
--------------
Under the tab 'Personal Notes', you will find a student list of the group. The following entries can be made there:
1. **Absent:**
2. **Tardiness in minutes**
3. **Excused**
4. **Excuse type:** Several types can be set up for an excuse for absence, e.g. in case a student was absent due to a school event.
5. **Extra marks:** This item is also configurable. A selection field for missing homework or similar would be possible here.
6. **Remarks:**
With the appropriate configuration, students can view all personal notes concerning themselves.
| AlekSIS-App-Alsijil | /aleksis_app_alsijil-3.0.1.tar.gz/aleksis_app_alsijil-3.0.1/docs/user/15_concepts.rst | 15_concepts.rst |
AlekSIS (School Information System) — App Kort (manage student IDs)
==================================================================================================
AlekSIS
-------
This is an application for use with the `AlekSIS®`_ platform.
Features
--------
The author of this app did not describe it yet.
Licence
-------
::
Copyright © 2021, 2022 Jonathan Weth <[email protected]>
Copyright © 2021 Margarete Grassl <[email protected]>
Licenced under the EUPL, version 1.2 or later
Please see the LICENCE.rst file accompanying this distribution for the
full licence text or on the `European Union Public Licence`_ website
https://joinup.ec.europa.eu/collection/eupl/guidelines-users-and-developers
(including all other official language versions).
.. _AlekSIS®: https://edugit.org/AlekSIS/AlekSIS
.. _European Union Public Licence: https://eupl.eu/
| AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/README.rst | README.rst |
Changelog
=========
All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog`_,
and this project adheres to `Semantic Versioning`_.
`0.2.1`_ - 2023-08-30
---------------------
Fixed
~~~~~
* Columns had unsable links.
* API endpoint for printer details returned 500 instead of 403.
* Card PDF generation wasn't possible without a chip number.
* Only hashed client secret was provided in config.json
`0.2`_ - 2023-05-15
-------------------
This version requires AlekSIS-Core 3.0. It is incompatible with any previous
version.
`0.1.1`_ - 2023-03-20
---------------------
Fixed
~~~~~
* Menu item 'Documents' was always shown.
`0.1`_ - 2023-03-19
-------------------
Added
~~~~~
* Initial release.
.. _Keep a Changelog: https://keepachangelog.com/en/1.0.0/
.. _Semantic Versioning: https://semver.org/spec/v2.0.0.html
.. _0.1: https://edugit.org/AlekSIS/onboarding/AlekSIS-App-Kort/-/tags/0.1
.. _0.1.1: https://edugit.org/AlekSIS/onboarding/AlekSIS-App-Kort/-/tags/0.1.1
.. _0.2: https://edugit.org/AlekSIS/onboarding/AlekSIS-App-Kort/-/tags/0.2
.. _0.2.1: https://edugit.org/AlekSIS/onboarding/AlekSIS-App-Kort/-/tags/0.2.1
| AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/CHANGELOG.rst | CHANGELOG.rst |
======================================
EUROPEAN UNION PUBLIC LICENCE v. 1.2
======================================
--------------------------------------
EUPL © the European Union 2007, 2016
--------------------------------------
This European Union Public Licence (the ‘EUPL’) applies to the Work
(as defined below) which is provided under the terms of this Licence.
Any use of the Work, other than as authorised under this Licence is
prohibited (to the extent such use is covered by a right of the
copyright holder of the Work).
The Work is provided under the terms of this Licence when the Licensor
(as defined below) has placed the following notice immediately following
the copyright notice for the Work:
Licensed under the EUPL
or has expressed by any other means his willingness to license under
the EUPL.
1. Definitions
==============
In this Licence, the following terms have the following meaning:
* ‘The Licence’: this Licence.
* ‘The Original Work’: the work or software distributed or communicated
by the Licensor under this Licence, available as Source Code and also
as Executable Code as the case may be.
* ‘Derivative Works’: the works or software that could be created by the
Licensee, based upon the Original Work or modifications thereof. This
Licence does not define the extent of modification or dependence on
the Original Work required in order to classify a work as a Derivative
Work; this extent is determined by copyright law applicable in the
country mentioned in Article 15.
* ‘The Work’: the Original Work or its Derivative Works.
* ‘The Source Code’: the human-readable form of the Work which is the
most convenient for people to study and modify.
* ‘The Executable Code’: any code which has generally been compiled and
which is meant to be interpreted by a computer as a program.
* ‘The Licensor’: the natural or legal person that distributes or
communicates the Work under the Licence.
* ‘Contributor(s)’: any natural or legal person who modifies the Work
under the Licence, or otherwise contributes to the creation of a
Derivative Work.
* ‘The Licensee’ or ‘You’: any natural or legal person who makes any
usage of the Work under the terms of the Licence.
* ‘Distribution’ or ‘Communication’: any act of selling, giving,
lending, renting, distributing, communicating, transmitting, or
otherwise making available, online or offline, copies of the Work or
providing access to its essential functionalities at the disposal of
any other natural or legal person.
2. Scope of the rights granted by the Licence
=============================================
The Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
sublicensable licence to do the following, for the duration of copyright
vested in the Original Work:
* use the Work in any circumstance and for all usage,
* reproduce the Work,
* modify the Work, and make Derivative Works based upon the Work,
* communicate to the public, including the right to make available or
display the Work or copies thereof to the public and perform publicly,
as the case may be, the Work,
* distribute the Work or copies thereof,
* lend and rent the Work or copies thereof,
* sublicense rights in the Work or copies thereof.
Those rights can be exercised on any media, supports and formats,
whether now known or later invented, as far as the applicable law
permits so.
In the countries where moral rights apply, the Licensor waives his right
to exercise his moral right to the extent allowed by law in order to
make effective the licence of the economic rights here above listed.
The Licensor grants to the Licensee royalty-free, non-exclusive usage
rights to any patents held by the Licensor, to the extent necessary to
make use of the rights granted on the Work under this Licence.
3. Communication of the Source Code
===================================
The Licensor may provide the Work either in its Source Code form, or as
Executable Code. If the Work is provided as Executable Code, the
Licensor provides in addition a machine-readable copy of the Source Code
of the Work along with each copy of the Work that the Licensor
distributes or indicates, in a notice following the copyright notice
attached to the Work, a repository where the Source Code is easily and
freely accessible for as long as the Licensor continues to distribute or
communicate the Work.
4. Limitations on copyright
===========================
Nothing in this Licence is intended to deprive the Licensee of the
benefits from any exception or limitation to the exclusive rights of the
rights owners in the Work, of the exhaustion of those rights or of other
applicable limitations thereto.
5. Obligations of the Licensee
==============================
The grant of the rights mentioned above is subject to some restrictions
and obligations imposed on the Licensee. Those obligations are the
following:
*Attribution right*: The Licensee shall keep intact all copyright,
patent or trademarks notices and all notices that refer to the Licence
and to the disclaimer of warranties. The Licensee must include a copy
of such notices and a copy of the Licence with every copy of the Work
he/she distributes or communicates. The Licensee must cause any
Derivative Work to carry prominent notices stating that the Work has
been modified and the date of modification.
*Copyleft clause*: If the Licensee distributes or communicates copies
of the Original Works or Derivative Works, this Distribution or
Communication will be done under the terms of this Licence or of a
later version of this Licence unless the Original Work is expressly
distributed only under this version of the Licence — for example by
communicating ‘EUPL v. 1.2 only’. The Licensee (becoming Licensor)
cannot offer or impose any additional terms or conditions on the Work
or Derivative Work that alter or restrict the terms of the Licence.
*Compatibility clause*: If the Licensee Distributes or Communicates
Derivative Works or copies thereof based upon both the Work and another
work licensed under a Compatible Licence, this Distribution or
Communication can be done under the terms of this Compatible Licence.
For the sake of this clause, ‘Compatible Licence’ refers to the licences
listed in the appendix attached to this Licence. Should the Licensee’s
obligations under the Compatible Licence conflict with his/her
obligations under this Licence, the obligations of the Compatible
Licence shall prevail.
*Provision of Source Code*: When distributing or communicating copies
of the Work, the Licensee will provide a machine-readable copy of the
Source Code or indicate a repository where this Source will be easily
and freely available for as long as the Licensee continues to distribute
or communicate the Work. Legal Protection: This Licence does not grant
permission to use the trade names, trademarks, service marks, or names
of the Licensor, except as required for reasonable and customary use
in describing the origin of the Work and reproducing the content of
the copyright notice.
6. Chain of Authorship
======================
The original Licensor warrants that the copyright in the Original Work
granted hereunder is owned by him/her or licensed to him/her and that
he/she has the power and authority to grant the Licence.
Each Contributor warrants that the copyright in the modifications he/she
brings to the Work are owned by him/her or licensed to him/her and that
he/she has the power and authority to grant the Licence.
Each time You accept the Licence, the original Licensor and subsequent
Contributors grant You a licence to their contributions to the Work,
under the terms of this Licence.
7. Disclaimer of Warranty
=========================
The Work is a work in progress, which is continuously improved by
numerous Contributors. It is not a finished work and may therefore
contain defects or ‘bugs’ inherent to this type of development. For
the above reason, the Work is provided under the Licence on an ‘as is’
basis and without warranties of any kind concerning the Work, including
without limitation merchantability, fitness for a particular purpose,
absence of defects or errors, accuracy, non-infringement of intellectual
property rights other than copyright as stated in Article 6 of this
Licence.
This disclaimer of warranty is an essential part of the Licence and a
condition for the grant of any rights to the Work.
8. Disclaimer of Liability
==========================
Except in the cases of wilful misconduct or damages directly caused to
natural persons, the Licensor will in no event be liable for any direct
or indirect, material or moral, damages of any kind, arising out of the
Licence or of the use of the Work, including without limitation, damages
for loss of goodwill, work stoppage, computer failure or malfunction,
loss of data or any commercial damage, even if the Licensor has been
advised of the possibility of such damage. However, the Licensor will be
liable under statutory product liability laws as far such laws apply to
the Work.
9. Additional agreements
========================
While distributing the Work, You may choose to conclude an additional
agreement, defining obligations or services consistent with this
Licence. However, if accepting obligations, You may act only on your own
behalf and on your sole responsibility, not on behalf of the original
Licensor or any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability incurred
by, or claims asserted against such Contributor by the fact You have
accepted any warranty or additional liability.
10. Acceptance of the Licence
=============================
The provisions of this Licence can be accepted by clicking on an icon
‘I agree’ placed under the bottom of a window displaying the text of
this Licence or by affirming consent in any other similar way, in
accordance with the rules of applicable law. Clicking on that icon
indicates your clear and irrevocable acceptance of this Licence and
all of its terms and conditions.
Similarly, you irrevocably accept this Licence and all of its terms
and conditions by exercising any rights granted to You by Article 2
of this Licence, such as the use of the Work, the creation by You of
a Derivative Work or the Distribution or Communication by You of the
Work or copies thereof.
11. Information to the public
=============================
In case of any Distribution or Communication of the Work by means of
electronic communication by You (for example, by offering to download
the Work from a remote location) the distribution channel or media (for
example, a website) must at least provide to the public the information
requested by the applicable law regarding the Licensor, the Licence and
the way it may be accessible, concluded, stored and reproduced by the
Licensee.
12. Termination of the Licence
==============================
The Licence and the rights granted hereunder will terminate
automatically upon any breach by the Licensee of the terms of the
Licence.
Such a termination will not terminate the licences of any person who
has received the Work from the Licensee under the Licence, provided
such persons remain in full compliance with the Licence.
13. Miscellaneous
=================
Without prejudice of Article 9 above, the Licence represents the
complete agreement between the Parties as to the Work.
If any provision of the Licence is invalid or unenforceable under
applicable law, this will not affect the validity or enforceability of
the Licence as a whole. Such provision will be construed or reformed so
as necessary to make it valid and enforceable.
The European Commission may publish other linguistic versions or new
versions of this Licence or updated versions of the Appendix, so far
this is required and reasonable, without reducing the scope of the
rights granted by the Licence.
New versions of the Licence will be published with a unique
version number.
All linguistic versions of this Licence, approved by the European
Commission, have identical value. Parties can take advantage of the
linguistic version of their choice.
14. Jurisdiction
================
Without prejudice to specific agreement between parties,
* any litigation resulting from the interpretation of this License,
arising between the European Union institutions, bodies, offices or
agencies, as a Licensor, and any Licensee, will be subject to the
jurisdiction of the Court of Justice of the European Union, as laid
down in article 272 of the Treaty on the Functioning of the European
Union,
* any litigation arising between other parties and resulting from the
interpretation of this License, will be subject to the exclusive
jurisdiction of the competent court where the Licensor resides or
conducts its primary business.
15. Applicable Law
==================
Without prejudice to specific agreement between parties,
* this Licence shall be governed by the law of the European Union Member
State where the Licensor has his seat, resides or has his registered
office,
* this licence shall be governed by Belgian law if the Licensor has no
seat, residence or registered office inside a European Union Member
State.
Appendix
========
‘Compatible Licences’ according to Article 5 EUPL are:
* GNU General Public License (GPL) v. 2, v. 3
* GNU Affero General Public License (AGPL) v. 3
* Open Software License (OSL) v. 2.1, v. 3.0
* Eclipse Public License (EPL) v. 1.0
* CeCILL v. 2.0, v. 2.1
* Mozilla Public Licence (MPL) v. 2
* GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
* Creative Commons Attribution-ShareAlike v. 3.0 Unported
(CC BY-SA 3.0) for works other than software
* European Union Public Licence (EUPL) v. 1.1, v. 1.2
* Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R)
or Strong Reciprocity (LiLiQ-R+)
The European Commission may update this Appendix to later versions of
the above licences without producing a new version of the EUPL, as long
as they provide the rights granted in Article 2 of this Licence and
protect the covered Source Code from exclusive appropriation.
All other changes or additions to this Appendix require the production
of a new EUPL version.
| AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/LICENCE.rst | LICENCE.rst |
from django.urls import path
from . import api, views
urlpatterns = [
path("cards/", views.CardListView.as_view(), name="cards"),
path("cards/create/", views.CardIssueView.as_view(), name="create_card"),
path("cards/<int:pk>/", views.CardDetailView.as_view(), name="card"),
path(
"cards/<int:pk>/generate_pdf/",
views.CardGeneratePDFView.as_view(),
name="generate_card_pdf",
),
path("cards/<int:pk>/deactivate/", views.CardDeactivateView.as_view(), name="deactivate_card"),
path("cards/<int:pk>/print/", views.CardPrintView.as_view(), name="print_card"),
path("cards/<int:pk>/delete/", views.CardDeleteView.as_view(), name="delete_card"),
path("printers/", views.CardPrinterListView.as_view(), name="card_printers"),
path("printers/create/", views.CardPrinterCreateView.as_view(), name="create_card_printer"),
path("printers/<int:pk>/", views.CardPrinterDetailView.as_view(), name="card_printer"),
path("printers/<int:pk>/edit/", views.CardPrinterEditView.as_view(), name="edit_card_printer"),
path(
"printers/<int:pk>/delete/",
views.CardPrinterDeleteView.as_view(),
name="delete_card_printer",
),
path(
"printers/<int:pk>/config/",
views.CardPrinterConfigView.as_view(),
name="card_printer_config",
),
path("layouts/", views.CardLayoutListView.as_view(), name="card_layouts"),
path("layouts/create/", views.CardLayoutCreateView.as_view(), name="create_card_layout"),
path("layouts/<int:pk>/", views.CardLayoutDetailView.as_view(), name="card_layout"),
path("layouts/<int:pk>/edit/", views.CardLayoutEditView.as_view(), name="edit_card_layout"),
path(
"layouts/<int:pk>/delete/",
views.CardLayoutDeleteView.as_view(),
name="delete_card_layout",
),
]
api_urlpatterns = [
path("api/v1/printers/", api.CardPrinterDetails.as_view(), name="api_card_printer"),
path(
"api/v1/printers/<int:pk>/status/",
api.CardPrinterUpdateStatus.as_view(),
name="api_card_printer_status",
),
path(
"api/v1/printers/<int:pk>/jobs/next/",
api.GetNextPrintJob.as_view(),
name="api_get_next_print_job",
),
path(
"api/v1/jobs/<int:pk>/status/",
api.CardPrintJobUpdateStatusView.as_view(),
name="api_update_job_status",
),
path(
"api/v1/jobs/<int:pk>/chip_number/",
api.CardPrintJobSetChipNumberView.as_view(),
name="api_set_chip_number",
),
] | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/urls.py | urls.py |
from rules import add_perm
from aleksis.core.util.predicates import (
has_any_object,
has_global_perm,
has_object_perm,
has_person,
)
from .models import Card, CardLayout, CardPrinter
view_card_printers_predicate = has_person & (
has_global_perm("kort.view_cardprinter") | has_any_object("kort.view_cardprinter", CardPrinter)
)
add_perm("kort.view_cardprinters_rule", view_card_printers_predicate)
view_card_printer_predicate = has_person & (
has_global_perm("kort.view_cardprinter") | has_object_perm("kort.view_cardprinter")
)
add_perm("kort.view_cardprinter_rule", view_card_printer_predicate)
create_card_printer_predicate = view_card_printers_predicate & has_global_perm(
"kort.add_cardprinter"
)
add_perm("kort.create_cardprinter_rule", create_card_printer_predicate)
edit_card_printer_predicate = view_card_printer_predicate & (
has_global_perm("kort.change_cardprinter") | has_object_perm("kort.change_cardprinter")
)
add_perm("kort.edit_cardprinter_rule", edit_card_printer_predicate)
delete_card_printer_predicate = view_card_printer_predicate & (
has_global_perm("kort.delete_cardprinter") | has_object_perm("kort.delete_cardprinter")
)
add_perm("kort.delete_cardprinter_rule", delete_card_printer_predicate)
view_card_layouts_predicate = has_person & (
has_global_perm("kort.view_cardlayout") | has_any_object("kort.view_cardlayout", CardLayout)
)
add_perm("kort.view_cardlayouts_rule", view_card_layouts_predicate)
view_card_layout_predicate = has_person & (
has_global_perm("kort.view_cardlayout") | has_object_perm("kort.view_cardlayout")
)
add_perm("kort.view_cardlayout_rule", view_card_layout_predicate)
create_card_layout_predicate = view_card_layouts_predicate & has_global_perm("kort.add_cardlayout")
add_perm("kort.create_cardlayout_rule", create_card_layout_predicate)
edit_card_layout_predicate = view_card_layout_predicate & (
has_global_perm("kort.change_cardlayout") | has_object_perm("kort.change_cardlayout")
)
add_perm("kort.edit_cardlayout_rule", edit_card_layout_predicate)
delete_card_layout_predicate = view_card_layout_predicate & (
has_global_perm("kort.delete_cardlayout") | has_object_perm("kort.delete_cardlayout")
)
add_perm("kort.delete_cardlayout_rule", delete_card_layout_predicate)
view_cards_predicate = has_person & (
has_global_perm("kort.view_card") | has_any_object("kort.view_card", Card)
)
add_perm("kort.view_cards_rule", view_cards_predicate)
view_card_predicate = has_person & (
has_global_perm("kort.view_card") | has_object_perm("kort.view_card")
)
add_perm("kort.view_card_rule", view_card_predicate)
create_card_predicate = view_cards_predicate & has_global_perm("kort.add_card")
add_perm("kort.create_card_rule", create_card_predicate)
edit_card_predicate = view_card_predicate & (
has_global_perm("kort.change_card") | has_object_perm("kort.change_card")
)
add_perm("kort.edit_card_rule", edit_card_predicate)
delete_card_predicate = view_card_predicate & (
has_global_perm("kort.delete_card") | has_object_perm("kort.delete_card")
)
add_perm("kort.delete_card_rule", delete_card_predicate)
print_card_predicate = edit_card_predicate
add_perm("kort.print_card_rule", print_card_predicate)
deactivate_card_predicate = edit_card_predicate
add_perm("kort.deactivate_card_rule", deactivate_card_predicate)
view_menu_predicate = (
view_cards_predicate | view_card_printers_predicate | view_card_layouts_predicate
)
add_perm("kort.view_menu_rule", view_menu_predicate) | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/rules.py | rules.py |
from django.db.models.fields.files import ImageFieldFile
from django.template.loader import render_to_string
from django.utils.safestring import SafeString, mark_safe
from django.utils.translation import gettext as _
from django_tables2 import (
BooleanColumn,
Column,
DateTimeColumn,
LinkColumn,
Table,
)
from django_tables2.utils import A, AttributeDict, computed_values
from aleksis.apps.kort.forms import PrinterSelectForm
from aleksis.core.models import Person
from aleksis.core.util.tables import SelectColumn
class CardTable(Table):
"""Table to list cards."""
class Meta:
attrs = {"class": "highlight"}
person = LinkColumn("card", verbose_name=_("Person"), args=[A("pk")])
chip_number = LinkColumn("card", verbose_name=_("Chip number"), args=[A("pk")])
current_status = Column(verbose_name=_("Current status"), accessor=A("pk"))
valid_until = Column(verbose_name=_("Valid until"))
deactivated = BooleanColumn(verbose_name=_("Deactivated"))
actions = Column(verbose_name=_("Actions"), accessor=A("pk"))
def render_current_status(self, value, record):
return render_to_string(
"kort/card/status.html",
dict(
card=record,
),
)
def render_actions(self, value, record):
return render_to_string(
"kort/card/actions.html", dict(pk=value, card=record, printer_form=PrinterSelectForm())
)
class CardPrinterTable(Table):
"""Table to list card printers."""
class Meta:
attrs = {"class": "highlight"}
name = LinkColumn("card_printer", verbose_name=_("Printer name"), args=[A("pk")])
location = Column(verbose_name=_("Printer location"))
current_status = Column(verbose_name=_("Current status"), accessor=A("pk"))
last_seen_at = DateTimeColumn(verbose_name=_("Last seen at"))
jobs_count = Column(verbose_name=_("Running jobs"))
actions = Column(verbose_name=_("Actions"), accessor=A("pk"))
def render_current_status(self, value, record):
return render_to_string(
"kort/printer/status.html",
dict(
printer=record,
),
)
def render_actions(self, value, record):
return render_to_string("kort/printer/actions.html", dict(pk=value, printer=record))
class CardLayoutTable(Table):
"""Table to list card layouts."""
class Meta:
attrs = {"class": "highlight"}
name = LinkColumn("card_layout", verbose_name=_("Layout name"), args=[A("pk")])
width = Column()
height = Column()
actions = Column(verbose_name=_("Actions"), accessor=A("pk"))
def render_actions(self, value, record):
return render_to_string("kort/card_layout/actions.html", dict(pk=value, card_layout=record))
class IssueCardPersonsTable(Table):
"""Table to list persons with all needed data for issueing cards."""
selected = SelectColumn()
status = Column(accessor=A("pk"), verbose_name=_("Status"))
def get_missing_fields(self, person: Person):
"""Return a list of missing data fields for the given person."""
required_fields = self.card_layout.required_fields
missing_fields = []
for field in required_fields:
if not getattr(person, field, None):
missing_fields.append(field)
return missing_fields
def render_selected(self, value: int, record: Person) -> SafeString:
"""Render the selected checkbox and mark valid rows as selected."""
attrs = {"type": "checkbox", "name": "selected_objects", "value": value}
if not self.get_missing_fields(record):
attrs.update({"checked": "checked"})
attrs = computed_values(attrs, kwargs={"record": record, "value": value})
return mark_safe( # noqa
"<label><input %s/><span></span</label>" % AttributeDict(attrs).as_html()
)
def render_status(self, value: int, record: Person) -> str:
"""Render the status of the person data."""
missing_fields = self.get_missing_fields(record)
return render_to_string(
"kort/person_status.html",
{"missing_fields": missing_fields, "missing_fields_count": len(missing_fields)},
self.request,
)
def render_photo(self, value: ImageFieldFile, record: Person) -> str:
"""Render the photo of the person as circle."""
return render_to_string(
"kort/picture.html",
{
"picture": record.photo,
"class": "materialize-circle table-circle",
"img_class": "materialize-circle",
},
self.request,
)
def render_avatar(self, value: ImageFieldFile, record: Person) -> str:
"""Render the avatar of the person as circle."""
return render_to_string(
"kort/picture.html",
{
"picture": record.avatar,
"class": "materialize-circle table-circle",
"img_class": "materialize-circle",
},
self.request,
)
class Meta:
sequence = ["selected", "status", "..."] | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/tables.py | tables.py |
import json
from django.contrib import messages
from django.db.models import Count, Q, QuerySet
from django.forms import Form
from django.http import HttpRequest, HttpResponse
from django.shortcuts import get_object_or_404, redirect
from django.urls import reverse, reverse_lazy
from django.utils.translation import gettext as _
from django.views import View
from django.views.generic.detail import DetailView, SingleObjectMixin
from django_tables2 import RequestConfig, SingleTableView, table_factory
from formtools.wizard.views import CookieWizardView
from guardian.shortcuts import get_objects_for_user
from reversion.views import RevisionMixin
from rules.contrib.views import PermissionRequiredMixin
from aleksis.apps.kort.forms import (
CardIssueFinishForm,
CardIssueForm,
CardLayoutForm,
CardLayoutMediaFileFormSet,
CardPrinterForm,
PrinterSelectForm,
)
from aleksis.apps.kort.models import Card, CardLayout, CardPrinter, PrintStatus
from aleksis.apps.kort.tables import (
CardLayoutTable,
CardPrinterTable,
CardTable,
IssueCardPersonsTable,
)
from aleksis.core.mixins import AdvancedCreateView, AdvancedDeleteView, AdvancedEditView
from aleksis.core.models import Person
from aleksis.core.util.celery_progress import render_progress_page
class PrinterSelectMixin:
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["printers"] = CardPrinter.objects.all()
context["printer_form"] = PrinterSelectForm()
return context
class CardListView(PermissionRequiredMixin, RevisionMixin, PrinterSelectMixin, SingleTableView):
"""List view for all cards."""
permission_required = "kort.view_cards_rule"
template_name = "kort/card/list.html"
model = Card
table_class = CardTable
def get_queryset(self):
qs = Card.objects.order_by("-pk")
if not self.request.user.has_perm("kort.view_card"):
return get_objects_for_user(self.request.user, "kort.view_card", qs)
return qs
class CardIssueView(PermissionRequiredMixin, RevisionMixin, CookieWizardView):
"""View used to issue one or more cards."""
permission_required = "kort.create_card_rule"
context_object_name = "application"
template_name = "kort/card/issue.html"
form_list = [CardIssueForm, CardIssueFinishForm]
success_message = _("The cards have been created successfully.")
success_url = reverse_lazy("cards")
def _get_data(self) -> dict[str, any]:
return self.get_cleaned_data_for_step("0")
def _get_persons(self) -> QuerySet:
"""Get all persons selected in the first step."""
return self._get_data()["all_persons"]
def get_form_initial(self, step: str) -> dict[str, any]:
if step == "1":
return {"persons": self._get_persons()}
return super().get_form_initial(step)
def get_form_kwargs(self, step: str = None) -> dict[str, any]:
kwargs = super().get_form_kwargs(step)
if step == "1":
kwargs["queryset"] = self._get_persons()
return kwargs
def get_form_prefix(self, step: str = None, form: Form = None):
prefix = super().get_form_prefix(step, form)
if step == "1":
return None
return prefix
def get_context_data(self, form: Form, **kwargs) -> dict[str, any]:
context = super().get_context_data(form, **kwargs)
if self.steps.current == "1":
table_obj = table_factory(
Person,
IssueCardPersonsTable,
fields=self._get_data()["card_layout"].required_fields,
)
table_obj.card_layout = self._get_data()["card_layout"]
persons_table = table_obj(self._get_persons())
context["persons_table"] = RequestConfig(self.request, paginate=False).configure(
persons_table
)
return context
def done(self, form_list: list[Form], **kwargs) -> HttpResponse:
first_data = form_list[0].cleaned_data
second_data = form_list[1].cleaned_data
# Firstly, create all the cards
cards = []
for person in second_data["selected_objects"]:
card = Card(
person=person,
layout=first_data["card_layout"],
valid_until=first_data["valid_until"],
)
cards.append(card)
Card.objects.bulk_create(cards)
messages.success(self.request, self.success_message)
# Secondly, print the cards (if activated)
if first_data.get("printer"):
printer = first_data["printer"]
for card in cards:
try:
job = card.print_card(printer)
messages.success(
self.request,
_(
"The print job #{} for the card {} on "
"the printer {} has been created successfully."
).format(job.pk, card.person, printer.name),
)
except ValueError as e:
messages.error(
self.request,
_(
"The print job couldn't be started because of the following error: {}"
).format(e),
)
return redirect(self.success_url)
class CardDeleteView(PermissionRequiredMixin, RevisionMixin, AdvancedDeleteView):
"""View used to delete a card."""
permission_required = "kort.delete_card_rule"
success_url = reverse_lazy("cards")
template_name = "kort/card/delete.html"
model = Card
success_message = _("The card has been deleted successfully.")
class CardDeactivateView(PermissionRequiredMixin, RevisionMixin, SingleObjectMixin, View):
"""View used to deactivate a card."""
permission_required = "kort.deactivate_card_rule"
model = Card
success_url = reverse_lazy("cards")
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
self.object = self.get_object()
self.object.deactivate()
messages.success(request, _("The card has been deactivated successfully."))
return redirect(self.success_url)
class CardPrintView(PermissionRequiredMixin, RevisionMixin, SingleObjectMixin, View):
"""View used to create a print job for a card."""
permission_required = "kort.print_card_rule"
model = Card
success_url = reverse_lazy("cards")
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
self.object = self.get_object()
printer = self.request.GET.get("printer")
printer = get_object_or_404(CardPrinter, pk=printer)
try:
job = self.object.print_card(printer)
messages.success(
request,
_(
"The print job #{} for the card {} on "
"the printer {} has been created successfully."
).format(job.pk, self.object.person, printer.name),
)
except ValueError as e:
messages.error(
request,
_("The print job couldn't be started because of the following error: {}").format(e),
)
return redirect(self.success_url)
class CardDetailView(PermissionRequiredMixin, RevisionMixin, PrinterSelectMixin, DetailView):
permission_required = "kort.view_card_rule"
model = Card
template_name = "kort/card/detail.html"
class CardGeneratePDFView(PermissionRequiredMixin, RevisionMixin, SingleObjectMixin, View):
permission_required = "views.edit_card_rule"
model = Card
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
self.object = self.get_object()
redirect_url = f"/app/kort/cards/{self.object.pk}/"
result = self.object.generate_pdf()
if result is True:
return redirect(redirect_url)
return render_progress_page(
request,
result,
title=_("Progress: Generate card layout as PDF file"),
progress_title=_("Generating PDF file …"),
success_message=_("The PDF file with the card layout has been generated successfully."),
error_message=_("There was a problem while generating the PDF file."),
redirect_on_success_url=redirect_url,
button_title=_("Show card"),
button_url=redirect_url,
button_icon="credit_card",
)
class CardPrinterListView(PermissionRequiredMixin, RevisionMixin, SingleTableView):
"""List view for all card printers."""
permission_required = "kort.view_cardprinters_rule"
template_name = "kort/printer/list.html"
model = CardPrinter
table_class = CardPrinterTable
def get_queryset(self):
qs = CardPrinter.objects.all().annotate(
jobs_count=Count(
"jobs", filter=~Q(jobs__status__in=[PrintStatus.FINISHED, PrintStatus.FAILED])
)
)
if not self.request.user.has_perm("kort.view_cardprinter"):
return get_objects_for_user(self.request.user, "kort.view_cardprinter", CardPrinter)
return qs
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
CardPrinter.check_online_status_for_all(self.get_queryset())
return context
class CardPrinterCreateView(PermissionRequiredMixin, RevisionMixin, AdvancedCreateView):
"""View used to create a card printer."""
permission_required = "kort.create_cardprinter_rule"
template_name = "kort/printer/create.html"
form_class = CardPrinterForm
model = CardPrinter
success_message = _("The card printer has been created successfully.")
def get_success_url(self):
return reverse("card_printer", args=[self.object.pk])
class CardPrinterEditView(PermissionRequiredMixin, RevisionMixin, AdvancedEditView):
"""View used to edit a card printer."""
permission_required = "kort.edit_cardprinter_rule"
template_name = "kort/printer/edit.html"
form_class = CardPrinterForm
model = CardPrinter
success_message = _("The card printer has been changed successfully.")
def get_success_url(self):
return reverse("card_printer", args=[self.object.pk])
class CardPrinterDeleteView(PermissionRequiredMixin, RevisionMixin, AdvancedDeleteView):
"""View used to delete a card printer."""
permission_required = "kort.delete_cardprinter_rule"
success_url = reverse_lazy("card_printers")
template_name = "kort/printer/delete.html"
model = CardPrinter
success_message = _("The card printer has been deleted successfully.")
class CardPrinterDetailView(PermissionRequiredMixin, RevisionMixin, DetailView):
permission_required = "kort.view_cardprinter_rule"
model = CardPrinter
template_name = "kort/printer/detail.html"
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
self.object.check_online_status()
return context
class CardLayoutFormMixin:
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
self.formset = CardLayoutMediaFileFormSet(
self.request.POST or None, self.request.FILES or None, instance=self.object
)
context["formset"] = self.formset
return context
def post(self, request, *args, **kwargs):
self.object = self.get_object()
context = self.get_context_data(**kwargs)
form = self.get_form()
if form.is_valid() and self.formset.is_valid():
return self.form_valid(form)
else:
return self.form_invalid(form)
def form_valid(self, form):
self.object = form.save()
self.formset.instance = self.object
self.formset.save()
return super().form_valid(form)
class CardLayoutListView(PermissionRequiredMixin, RevisionMixin, SingleTableView):
"""List view for all card layouts."""
permission_required = "kort.view_cardlayouts_rule"
template_name = "kort/card_layout/list.html"
model = CardLayout
table_class = CardLayoutTable
def get_queryset(self):
qs = super().get_queryset()
if not self.request.user.has_perm("kort.view_cardlayout"):
return get_objects_for_user(self.request.user, "kort.view_cardlayout", CardPrinter)
return qs
class CardLayoutCreateView(
PermissionRequiredMixin, CardLayoutFormMixin, RevisionMixin, AdvancedCreateView
):
"""View used to create a card layout."""
permission_required = "kort.create_cardlayout_rule"
template_name = "kort/card_layout/create.html"
form_class = CardLayoutForm
model = CardLayout
success_message = _("The card layout has been created successfully.")
def get_success_url(self):
return reverse("card_layout", args=[self.object.pk])
def get_object(self):
return None
class CardLayoutEditView(
PermissionRequiredMixin, CardLayoutFormMixin, RevisionMixin, AdvancedEditView
):
"""View used to edit a card layout."""
permission_required = "kort.edit_cardlayout_rule"
template_name = "kort/card_layout/edit.html"
form_class = CardLayoutForm
model = CardLayout
success_message = _("The card layout has been changed successfully.")
def get_success_url(self):
return reverse("card_layout", args=[self.object.pk])
class CardLayoutDeleteView(PermissionRequiredMixin, RevisionMixin, AdvancedDeleteView):
"""View used to delete a card layout."""
permission_required = "kort.delete_cardlayout_rule"
success_url = reverse_lazy("card_layouts")
template_name = "kort/card_layout/delete.html"
model = CardLayout
success_message = _("The card layout has been deleted successfully.")
class CardLayoutDetailView(PermissionRequiredMixin, RevisionMixin, DetailView):
permission_required = "kort.view_cardlayout_rule"
model = CardLayout
template_name = "kort/card_layout/detail.html"
class CardPrinterConfigView(PermissionRequiredMixin, RevisionMixin, SingleObjectMixin, View):
permission_required = "kort.view_cardprinter_rule"
model = CardPrinter
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
self.object = self.get_object()
response = HttpResponse(
json.dumps(self.object.generate_config()), content_type="application/json"
)
response["Content-Disposition"] = f'attachment; filename="{self.object.config_filename}"'
return response | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/views.py | views.py |
from django.contrib import admin
from django.shortcuts import get_object_or_404
from django.utils import timezone
from celery.result import allow_join_result
from celery.states import SUCCESS
from oauth2_provider.oauth2_backends import get_oauthlib_core
from oauthlib.common import Request as OauthlibRequest
from rest_framework import generics, serializers
from rest_framework.authentication import BaseAuthentication
from rest_framework.exceptions import APIException, PermissionDenied, ValidationError
from rest_framework.permissions import BasePermission
from rest_framework.response import Response
from rest_framework.views import APIView
from aleksis.apps.kort.models import Card, CardPrinter, CardPrintJob
from aleksis.core.util.auth_helpers import AppScopes
admin.autodiscover()
class OAuth2ClientAuthentication(BaseAuthentication):
"""OAuth 2 authentication backend using client credentials authentication."""
www_authenticate_realm = "api"
def authenticate(self, request):
"""Authenticate the request with client credentials."""
oauthlib_core = get_oauthlib_core()
uri, http_method, body, headers = oauthlib_core._extract_params(request)
oauth_request = OauthlibRequest(uri, http_method, body, headers)
# Verify general authentication of the client
if not oauthlib_core.server.request_validator.authenticate_client(oauth_request):
# Client credentials were invalid
return None
request.auth = oauth_request
return (oauth_request.client.client_id, oauth_request)
class ClientProtectedResourcePermission(BasePermission):
def has_object_permission(self, request, view, obj):
# Verify scopes of configured application
# The OAuth request was enriched with a reference to the Application when using the
# validator above.
if not request.auth.client.allowed_scopes:
# If there are no allowed scopes, the client is not allowed to access this resource
return None
required_scopes = set(self.get_scopes(request, view, obj) or [])
allowed_scopes = set(AppScopes().get_available_scopes(request.auth.client) or [])
return required_scopes.issubset(allowed_scopes)
def get_scopes(self, request, view, obj):
return view.get_scopes()
class CorrectPrinterPermission(ClientProtectedResourcePermission):
"""Check whether the OAuth2 application belongs to the printer."""
def get_scopes(self, request, view, obj):
return [obj.scope]
class CorrectJobPrinterPermission(BasePermission):
"""Check whether the OAuth2 application belongs to the job's printer."""
def get_scopes(self, request, view, obj):
return [obj.printer.scope]
class CardPrinterSerializer(serializers.ModelSerializer):
class Meta:
model = CardPrinter
fields = (
"id",
"name",
"description",
"location",
"status",
"status_label",
"status_color",
"status_icon",
"status_text",
"last_seen_at",
"cups_printer",
"generate_number_on_server",
"card_detector",
)
class CardPrinterStatusSerializer(serializers.ModelSerializer):
class Meta:
model = CardPrinter
fields = ("status", "status_text")
class CardSerializer(serializers.ModelSerializer):
class Meta:
model = Card
fields = ("id", "chip_number", "valid_until", "deactivated", "person", "pdf_file")
class CardPrintJobSerializer(serializers.ModelSerializer):
card = CardSerializer()
class Meta:
model = CardPrintJob
fields = ("id", "printer", "card", "status", "status_text")
class CardPrintJobStatusSerializer(serializers.ModelSerializer):
class Meta:
model = CardPrintJob
fields = ("id", "status", "status_text")
class CardChipNumberSerializer(serializers.ModelSerializer):
class Meta:
model = Card
fields = ("chip_number",)
class CardPrinterDetails(generics.RetrieveAPIView):
"""Show details about the card printer."""
authentication_classes = [OAuth2ClientAuthentication]
permission_classes = [CorrectPrinterPermission]
serializer_class = CardPrinterSerializer
queryset = CardPrinter.objects.all()
def get_object(self):
token = self.request.auth
if not token:
raise PermissionDenied()
return token.client.card_printers.all().first()
class CardPrinterUpdateStatus(generics.UpdateAPIView):
"""Update the status of the card printer."""
authentication_classes = [OAuth2ClientAuthentication]
permission_classes = [CorrectPrinterPermission]
serializer_class = CardPrinterStatusSerializer
queryset = CardPrinter.objects.all()
def update(self, request, *args, **kwargs):
r = super().update(request, *args, **kwargs)
instance = self.get_object()
instance.last_seen_at = timezone.now()
instance.save()
return r
class GetNextPrintJob(APIView):
"""Get the next print job."""
authentication_classes = [OAuth2ClientAuthentication]
permission_classes = [CorrectPrinterPermission]
serializer_class = CardPrinterSerializer
queryset = CardPrinter.objects.all()
def get_object(self, pk):
return get_object_or_404(CardPrinter, pk=pk)
def get(self, request, pk, *args, **kwargs):
printer = self.get_object(pk)
job = printer.get_next_print_job()
if not job:
return Response({"status": "no_job"})
serializer = CardPrintJobSerializer(job)
return Response(serializer.data)
class CardPrintJobUpdateStatusView(generics.UpdateAPIView):
"""Update the status of the card printer."""
authentication_classes = [OAuth2ClientAuthentication]
permission_classes = [CorrectJobPrinterPermission]
serializer_class = CardPrintJobStatusSerializer
queryset = CardPrintJob.objects.all()
class CardPrintJobSetChipNumberView(generics.UpdateAPIView):
"""Update the status of the card printer."""
authentication_classes = [OAuth2ClientAuthentication]
permission_classes = [CorrectJobPrinterPermission]
serializer_class = CardChipNumberSerializer
queryset = CardPrintJob.objects.all()
def update(self, request, *args, **kwargs):
instance = self.get_object()
card = instance.card
if card.chip_number:
raise ValidationError
serializer = self.get_serializer(card, data=request.data)
serializer.is_valid(raise_exception=True)
self.perform_update(serializer)
result = instance.card.generate_pdf()
with allow_join_result():
result.wait()
card.refresh_from_db()
if result.status == SUCCESS and card.pdf_file:
serializer = CardPrintJobSerializer(instance)
instance.refresh_from_db()
return Response(serializer.data)
else:
card.chip_number = None
card.save()
raise APIException("Error while generating PDF file") | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/api.py | api.py |
import uuid
from datetime import timedelta
from typing import Any, Optional, Union
from django.conf import settings
from django.contrib.postgres.fields import ArrayField
from django.core.exceptions import ValidationError
from django.core.validators import FileExtensionValidator
from django.db import models
from django.db.models import Q
from django.template import Context, Template
from django.utils import timezone
from django.utils.translation import gettext as _
from celery.result import AsyncResult
from model_utils.models import TimeStampedModel
from oauth2_provider.generators import generate_client_secret
from aleksis.core.mixins import ExtensibleModel
from aleksis.core.models import OAuthApplication, Person
from aleksis.core.util.pdf import process_context_for_pdf
class CardPrinterStatus(models.TextChoices):
ONLINE = "online", _("Online")
OFFLINE = "offline", _("Offline")
WITH_ERRORS = "with_errors", _("With errors")
NOT_REGISTERED = "not_registered", _("Not registered")
@classmethod
def get_color(cls, value):
_colors = {
CardPrinterStatus.ONLINE.value: "green",
CardPrinterStatus.OFFLINE.value: "red",
CardPrinterStatus.WITH_ERRORS.value: "orange",
CardPrinterStatus.NOT_REGISTERED.value: "grey",
}
return _colors.get(value)
@classmethod
def get_icon(cls, value):
_icons = {
CardPrinterStatus.ONLINE.value: "mdi:printer-check",
CardPrinterStatus.OFFLINE.value: "mdi:printer-off",
CardPrinterStatus.WITH_ERRORS.value: "mdi:printer-alert",
CardPrinterStatus.NOT_REGISTERED.value: "mdi:printer-search",
}
return _icons.get(value)
@classmethod
def get_label(cls, value):
_labels = {x: y for x, y in cls.choices}
return _labels.get(value)
class PrintStatus(models.TextChoices):
REGISTERED = "registered", _("Registered")
IN_PROGRESS = "in_progress", _("In progress")
FINISHED = "finished", _("Finished")
FAILED = "failed", _("Failed")
class CardPrinter(ExtensibleModel):
SCOPE_PREFIX = "card_printer"
name = models.CharField(max_length=255, verbose_name=_("Name"))
description = models.TextField(verbose_name=_("Description"), blank=True)
location = models.CharField(max_length=255, verbose_name=_("Location"), blank=True)
status = models.CharField(
max_length=255,
verbose_name=_("Status"),
choices=CardPrinterStatus.choices,
default=CardPrinterStatus.NOT_REGISTERED,
)
status_text = models.TextField(verbose_name=_("Status text"), blank=True)
last_seen_at = models.DateTimeField(verbose_name=_("Last seen at"), blank=True, null=True)
oauth2_application = models.ForeignKey(
to=OAuthApplication,
on_delete=models.CASCADE,
verbose_name=_("OAuth2 application"),
blank=True,
null=True,
related_name="card_printers",
)
oauth2_client_secret = models.CharField(
max_length=255,
blank=True,
verbose_name=_("OAuth2 client secret"),
)
# Settings
cups_printer = models.CharField(
max_length=255,
verbose_name=_("CUPS printer"),
blank=True,
help_text=_("Leave blank to deactivate CUPS printing"),
)
generate_number_on_server = models.BooleanField(
default=True, verbose_name=_("Generate card number on server")
)
card_detector = models.CharField(max_length=255, verbose_name=_("Card detector"), blank=True)
def save(self, *args, **kwargs):
super().save(*args, **kwargs)
if not self.oauth2_application:
client_secret = generate_client_secret()
application = OAuthApplication(
client_type=OAuthApplication.CLIENT_CONFIDENTIAL,
authorization_grant_type=OAuthApplication.GRANT_CLIENT_CREDENTIALS,
name=f"Card printer: {self.name}",
allowed_scopes=[self.scope],
client_secret=client_secret,
)
application.save()
self.oauth2_application = application
self.oauth2_client_secret = client_secret
super().save(*args, **kwargs)
def __str__(self):
return self.name
@property
def status_label(self) -> str:
"""Return the verbose name of the status."""
return CardPrinterStatus.get_label(self.status)
@property
def status_color(self) -> str:
"""Return a color for the status."""
return CardPrinterStatus.get_color(self.status)
@property
def status_icon(self) -> str:
"""Return an iconify icon for the status."""
return CardPrinterStatus.get_icon(self.status)
def generate_config(self) -> dict[str, Any]:
"""Generate the configuration for the printer client."""
config = {
"base_url": settings.BASE_URL,
"client_id": self.oauth2_application.client_id,
"client_secret": self.oauth2_client_secret,
}
return config
@property
def config_filename(self) -> str:
"""Return the filename for the printer client configuration."""
return f"card-printer-config-{self.pk}.json"
def check_online_status(self):
if (
self.status
not in (CardPrinterStatus.NOT_REGISTERED.value, CardPrinterStatus.OFFLINE.value)
and self.last_seen_at
):
if self.last_seen_at < timezone.now() - timedelta(minutes=1):
self.status = CardPrinterStatus.OFFLINE.value
self.save()
@classmethod
def check_online_status_for_all(cls, qs=None):
if not qs:
qs = cls.objects.all()
for printer in cls.objects.all():
printer.check_online_status()
def get_next_print_job(self) -> Optional["CardPrintJob"]:
if not self.generate_number_on_server:
self.jobs.filter(
(Q(card__pdf_file="") & ~Q(card__chip_number=""))
| Q(status=PrintStatus.IN_PROGRESS)
).update(status=PrintStatus.FAILED)
Card.objects.filter(
jobs__in=self.jobs.filter(status=PrintStatus.FAILED), chip_number=""
).update(chip_number="")
else:
self.jobs.filter(status=PrintStatus.IN_PROGRESS).update(status=PrintStatus.FAILED)
jobs = self.jobs.order_by("created").filter(status=PrintStatus.REGISTERED)
if self.generate_number_on_server:
jobs = jobs.filter(card__pdf_file__isnull=False)
if jobs.exists():
return jobs.first()
return None
@property
def scope(self) -> str:
"""Return OAuth2 scope name to access PDF file via API."""
return f"{self.SCOPE_PREFIX}_{self.id}"
class Meta:
verbose_name = _("Card printer")
verbose_name_plural = _("Card printers")
class CardLayoutMediaFile(ExtensibleModel):
media_file = models.FileField(upload_to="card_layouts/media/", verbose_name=_("Media file"))
card_layout = models.ForeignKey(
"CardLayout",
on_delete=models.CASCADE,
related_name="media_files",
verbose_name=_("Card layout"),
)
def __str__(self):
return self.media_file.name
class Meta:
verbose_name = _("Media file for a card layout")
verbose_name_plural = _("Media files for card layouts")
class CardLayout(ExtensibleModel):
BASE_TEMPLATE = """
{{% extends "core/base_simple_print.html" %}}
{{% load i18n static barcode %}}
{{% block size %}}
{{% with width={width} height={height} %}}
{{{{ block.super }}}}
{{% endwith %}}
{{% endblock %}}
{{% block extra_head %}}
<style>
{css}
</style>
{{% endblock %}}
{{% block content %}}
{template}
{{% endblock %}}
"""
name = models.CharField(max_length=255, verbose_name=_("Name"))
template = models.TextField(verbose_name=_("Template"))
css = models.TextField(verbose_name=_("Custom CSS"), blank=True)
width = models.PositiveIntegerField(verbose_name=_("Width"), help_text=_("in mm"))
height = models.PositiveIntegerField(verbose_name=_("Height"), help_text=_("in mm"))
required_fields = ArrayField(models.TextField(), verbose_name=_("Required data fields"))
def get_template(self) -> Template:
template = self.BASE_TEMPLATE.format(
width=self.width, height=self.height, css=self.css, template=self.template
)
return Template(template)
def render(self, card: "Card"):
t = self.get_template()
context = card.get_context()
processed_context = process_context_for_pdf(context)
return t.render(Context(processed_context))
def validate_template(self):
try:
t = Template(self.template)
t.render(Context())
except Exception as e:
raise ValidationError(_("Template is invalid: {}").format(e))
def __str__(self):
return self.name
class Meta:
verbose_name = _("Card Layout")
verbose_name_plural = _("Card Layouts")
class Card(ExtensibleModel):
person = models.ForeignKey(
Person, models.CASCADE, verbose_name=_("Person"), related_name="cards"
)
chip_number = models.CharField(verbose_name=_("Chip Number"), blank=True, max_length=255)
valid_until = models.DateField(verbose_name=_("Valid until"))
deactivated = models.BooleanField(verbose_name=_("Deactivated"), default=False)
layout = models.ForeignKey(
CardLayout, on_delete=models.SET_NULL, blank=True, null=True, verbose_name=_("Card Layout")
)
pdf_file = models.FileField(
verbose_name=_("PDF file"),
blank=True,
upload_to="cards/",
validators=[FileExtensionValidator(["pdf"])],
)
@property
def is_valid(self):
return (
self.valid_until >= timezone.now().date() and not self.deactivated and self.chip_number
)
def deactivate(self):
self.deactivated = True
self.save()
def get_context(self):
return {
"person": self.person,
"chip_number": self.chip_number,
"valid_until": self.valid_until,
"media_files": self.layout.media_files.all(),
}
def generate_pdf(self) -> Union[bool, AsyncResult]:
from .tasks import generate_card_pdf
if self.pdf_file:
return True
return generate_card_pdf.delay(self.pk)
def print_card(self, printer: CardPrinter):
if not self.layout:
raise ValueError(_("There is no layout provided for the card."))
job = CardPrintJob(card=self, printer=printer)
job.save()
if not self.chip_number and printer.generate_number_on_server:
self.chip_number = str(self.generate_number())
self.save()
if self.chip_number:
self.generate_pdf()
return job
def generate_number(self) -> int:
return uuid.uuid1().int >> 32
def __str__(self):
if self.chip_number:
return f"{self.person} ({self.chip_number})"
return f"{self.person}"
class Meta:
verbose_name = _("Card")
verbose_name_plural = _("Cards")
class CardPrintJob(TimeStampedModel, ExtensibleModel):
printer = models.ForeignKey(
CardPrinter, on_delete=models.CASCADE, verbose_name=_("Printer"), related_name="jobs"
)
card = models.ForeignKey(
Card, on_delete=models.CASCADE, verbose_name=_("Card"), related_name="jobs"
)
status = models.CharField(
max_length=255,
verbose_name=_("Status"),
choices=PrintStatus.choices,
default=PrintStatus.REGISTERED,
)
status_text = models.TextField(verbose_name=_("Status text"), blank=True)
class Meta:
verbose_name = _("Card print job")
verbose_name_plural = _("Card print jobs") | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/models.py | models.py |
from django import forms
from django.db.models import Q
from django.utils.translation import gettext as _
from django_ace import AceWidget
from django_select2.forms import ModelSelect2MultipleWidget
from material import Fieldset, Layout, Row
from aleksis.apps.kort.models import CardLayout, CardLayoutMediaFile, CardPrinter
from aleksis.core.models import Group, Person
class CardIssueForm(forms.Form):
layout = Layout(
Fieldset(_("Select person(s) or group(s)"), "persons", "groups"),
Fieldset(_("Select validity"), "valid_until"),
Fieldset(_("Select layout"), "card_layout"),
Fieldset(_("Select printer (optional)"), "printer"),
)
printer = forms.ModelChoiceField(
queryset=None,
label=_("Card Printer"),
help_text=_("Select a printer to directly print the newly issued card."),
required=False,
)
persons = forms.ModelMultipleChoiceField(
queryset=None,
label=_("Persons"),
required=False,
widget=ModelSelect2MultipleWidget(
search_fields=[
"first_name__icontains",
"last_name__icontains",
"short_name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
)
groups = forms.ModelMultipleChoiceField(
queryset=None,
label=_("Groups"),
required=False,
widget=ModelSelect2MultipleWidget(
search_fields=[
"name__icontains",
"short_name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
)
card_layout = forms.ModelChoiceField(queryset=None, label=_("Card layout"), required=True)
valid_until = forms.DateField(
label=_("Valid until"),
required=True,
)
def clean(self):
"""Clean and validate person data."""
cleaned_data = super().clean()
# Ensure that there is at least one person selected
if not cleaned_data.get("persons") and not cleaned_data.get("groups"):
raise forms.ValidationError(_("You must select at least one person or group."))
cleaned_data["all_persons"] = Person.objects.filter(
Q(pk__in=cleaned_data.get("persons", []))
| Q(member_of__in=cleaned_data.get("groups", []))
).distinct()
if not cleaned_data["all_persons"].exists():
raise forms.ValidationError(_("The selected groups don't have any members."))
return cleaned_data
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# Assume that users would select the layout if there is only one layout available
layouts = CardLayout.objects.all()
self.fields["card_layout"].queryset = layouts
if layouts.count() == 1:
self.fields["card_layout"].initial = layouts.first()
self.fields["printer"].queryset = CardPrinter.objects.all()
self.fields["persons"].queryset = Person.objects.all()
self.fields["groups"].queryset = Group.objects.all()
class CardPrinterForm(forms.ModelForm):
layout = Layout(
Fieldset(_("Generic attributes"), "name", "location", "description"),
Fieldset(
_("Printer settings"), "cups_printer", "generate_number_on_server", "card_detector"
),
)
class Meta:
model = CardPrinter
fields = [
"name",
"location",
"description",
"cups_printer",
"generate_number_on_server",
"card_detector",
]
class PrinterSelectForm(forms.Form):
layout = Layout("printer")
printer = forms.ModelChoiceField(queryset=None, label=_("Card Printer"), required=True)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
printers = CardPrinter.objects.all()
self.fields["printer"].queryset = printers
if printers.count() == 1:
self.fields["printer"].initial = printers.first()
class CardLayoutMediaFileForm(forms.ModelForm):
layout = Layout(Row("media_file", "DELETE"))
class Meta:
model = CardLayoutMediaFile
fields = ["media_file"]
class CardLayoutForm(forms.ModelForm):
layout = Layout(
Row("name"), Row("required_fields"), Row("width", "height"), Row("template"), "css"
)
template = forms.CharField(widget=AceWidget(mode="django"))
css = forms.CharField(widget=AceWidget(mode="css"))
required_fields = forms.MultipleChoiceField(
label=_("Required data fields"), required=True, choices=Person.syncable_fields_choices()
)
class Meta:
model = CardLayout
fields = ["name", "template", "css", "width", "height", "required_fields"]
CardLayoutMediaFileFormSet = forms.inlineformset_factory(
CardLayout, CardLayoutMediaFile, form=CardLayoutMediaFileForm
)
class CardIssueFinishForm(forms.Form):
layout = Layout()
selected_objects = forms.ModelMultipleChoiceField(queryset=None, required=True)
def __init__(self, *args, **kwargs):
queryset = kwargs.pop("queryset")
super().__init__(*args, **kwargs)
self.fields["selected_objects"].queryset = queryset | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/forms.py | forms.py |
import django.contrib.sites.managers
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('sites', '0002_alter_domain_unique'),
('kort', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='card',
name='print_finished_at',
field=models.DateTimeField(blank=True, null=True, verbose_name='Printed at'),
),
migrations.AddField(
model_name='card',
name='print_started_at',
field=models.DateTimeField(blank=True, null=True, verbose_name='Printed at'),
),
migrations.CreateModel(
name='CardPrinter',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('name', models.CharField(max_length=255, verbose_name='Name')),
('description', models.TextField(blank=True, verbose_name='Description')),
('location', models.CharField(max_length=255, verbose_name='Location')),
('status', models.CharField(choices=[('online', 'Online'), ('offline', 'Offline'), ('with_errors', 'With errors')], max_length=255, verbose_name='Status')),
('status_text', models.TextField(blank=True, verbose_name='Status text')),
('last_seen_at', models.DateTimeField(blank=True, null=True, verbose_name='Last seen at')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.site')),
],
options={
'verbose_name': 'Card printer',
'verbose_name_plural': 'Card printers',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.AddField(
model_name='card',
name='printed_with',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='kort.cardprinter', verbose_name='Printed with'),
),
] | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/migrations/0002_card_printer.py | 0002_card_printer.py |
import django.contrib.sites.managers
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('sites', '0002_alter_domain_unique'),
('kort', '0011_cardprinter_card_detector'),
]
operations = [
migrations.AddField(
model_name='cardlayout',
name='height',
field=models.PositiveIntegerField(default=1, verbose_name='Height'),
preserve_default=False,
),
migrations.AddField(
model_name='cardlayout',
name='width',
field=models.PositiveIntegerField(default=1, verbose_name='Width'),
preserve_default=False,
),
migrations.AlterField(
model_name='cardprintjob',
name='card',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='jobs', to='kort.card', verbose_name='Card'),
),
migrations.CreateModel(
name='CardLayoutMediaFile',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('media_file', models.FileField(upload_to='card_layouts/media/', verbose_name='Media file')),
('card_layout', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='media_files', to='kort.cardlayout', verbose_name='Card layout')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.site')),
],
options={
'verbose_name': 'Media file for a card layout',
'verbose_name_plural': 'Media files for card layouts',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
] | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/migrations/0012_auto_20220529_1435.py | 0012_auto_20220529_1435.py |
from django.conf import settings
import django.contrib.sites.managers
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.OAUTH2_PROVIDER_APPLICATION_MODEL),
('sites', '0002_alter_domain_unique'),
('kort', '0006_auto_20220310_2003'),
]
operations = [
migrations.AlterField(
model_name='card',
name='pdf_file',
field=models.FileField(blank=True, default='', upload_to='cards/', validators=[django.core.validators.FileExtensionValidator(['pdf'])], verbose_name='PDF file'),
preserve_default=False,
),
migrations.AlterField(
model_name='cardprinter',
name='oauth2_application',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='card_printers', to=settings.OAUTH2_PROVIDER_APPLICATION_MODEL, verbose_name='OAuth2 application'),
),
migrations.CreateModel(
name='CardPrintJob',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('status', models.CharField(choices=[('registered', 'Registered'), ('in_progress', 'In progress'), ('finished', 'Finished')], default='registered', max_length=255, verbose_name='Status')),
('status_text', models.TextField(blank=True, verbose_name='Status text')),
('card', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='kort.card', verbose_name='Card')),
('printer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='kort.cardprinter', verbose_name='Printer')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.site')),
],
options={
'verbose_name': 'Card print job',
'verbose_name_plural': 'Card print jobs',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
] | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/migrations/0007_auto_20220315_1957.py | 0007_auto_20220315_1957.py |
export default {
meta: {
inMenu: true,
titleKey: "kort.menu_title",
icon: "mdi-card-account-details-outline",
permission: "kort.view_menu_rule",
},
children: [
{
path: "cards/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.cards",
meta: {
inMenu: true,
titleKey: "kort.card.menu_title",
icon: "mdi-card-multiple-outline",
permission: "kort.view_cards_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "cards/create/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.createCard",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "cards/:pk/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.card",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "cards/:pk/generate_pdf/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.generateCardPdf",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "cards/:pk/deactivate/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.deactivateCard",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "cards/:pk/print/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.printCard",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "cards/:pk/delete/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.deleteCard",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "printers/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.cardPrinters",
meta: {
inMenu: true,
titleKey: "kort.printer.menu_title",
icon: "mdi-printer-outline",
permission: "kort.view_cardprinters_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "printers/create/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.createCardPrinter",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "printers/:pk/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.cardPrinter",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "printers/:pk/edit/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.editCardPrinter",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "printers/:pk/delete/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.deleteCardPrinter",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "printers/:pk/config/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.cardPrinterConfig",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "layouts/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.cardLayouts",
meta: {
inMenu: true,
titleKey: "kort.layout.menu_title",
icon: "mdi-card-account-details-star-outline",
permission: "kort.view_cardlayouts_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "layouts/create/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.createCardLayout",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "layouts/:pk/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.cardLayout",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "layouts/:pk/edit/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.editCardLayout",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
{
path: "layouts/:pk/delete/",
component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),
name: "kort.deleteCardLayout",
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
},
],
}; | AlekSIS-App-Kort | /aleksis_app_kort-0.2.1.tar.gz/aleksis_app_kort-0.2.1/aleksis/apps/kort/frontend/index.js | index.js |
import os
from datetime import datetime
from typing import Any, Callable, ClassVar, List, Optional, Union
from django.conf import settings
from django.contrib import messages
from django.contrib.auth.views import LoginView, RedirectURLMixin
from django.contrib.contenttypes.models import ContentType
from django.contrib.sites.managers import CurrentSiteManager
from django.contrib.sites.models import Site
from django.db import models
from django.db.models import JSONField, QuerySet
from django.db.models.fields import CharField, TextField
from django.forms.forms import BaseForm
from django.forms.models import ModelForm, ModelFormMetaclass, fields_for_model
from django.http import HttpResponse
from django.utils.functional import classproperty, lazy
from django.utils.translation import gettext as _
from django.views.generic import CreateView, UpdateView
from django.views.generic.edit import DeleteView, ModelFormMixin
import reversion
from dynamic_preferences.settings import preferences_settings
from dynamic_preferences.types import FilePreference
from guardian.admin import GuardedModelAdmin
from guardian.core import ObjectPermissionChecker
from jsonstore.fields import IntegerField, JSONFieldMixin
from material.base import Fieldset, Layout, LayoutNode
from polymorphic.base import PolymorphicModelBase
from polymorphic.managers import PolymorphicManager
from polymorphic.models import PolymorphicModel
from rules.contrib.admin import ObjectPermissionsModelAdmin
from aleksis.core.managers import (
CurrentSiteManagerWithoutMigrations,
PolymorphicCurrentSiteManager,
SchoolTermRelatedQuerySet,
)
class _ExtensibleModelBase(models.base.ModelBase):
"""Ensure predefined behaviour on model creation.
This metaclass serves the following purposes:
- Register all AlekSIS models with django-reverseion
"""
def __new__(mcls, name, bases, attrs):
mcls = super().__new__(mcls, name, bases, attrs)
if "Meta" not in attrs or not attrs["Meta"].abstract:
# Register all non-abstract models with django-reversion
mcls = reversion.register(mcls)
mcls.extra_permissions = []
return mcls
def _generate_one_to_one_proxy_property(field, subfield):
def getter(self):
if hasattr(self, field.name):
related = getattr(self, field.name)
return getattr(related, subfield.name)
# Related instane does not exist
return None
def setter(self, val):
if hasattr(self, field.name):
related = getattr(self, field.name)
else:
# Auto-create related instance (but do not save)
related = field.related_model()
setattr(related, field.remote_field.name, self)
# Ensure the related model is saved later
self._save_reverse = getattr(self, "_save_reverse", []) + [related]
setattr(related, subfield.name, val)
return property(getter, setter)
class ExtensibleModel(models.Model, metaclass=_ExtensibleModelBase):
"""Base model for all objects in AlekSIS apps.
This base model ensures all objects in AlekSIS apps fulfill the
following properties:
* `versions` property to retrieve all versions of the model from reversion
* Allow injection of fields and code from AlekSIS apps to extend
model functionality.
Injection of fields and code
============================
After all apps have been loaded, the code in the `model_extensions` module
in every app is executed. All code that shall be injected into a model goes there.
:Example:
.. code-block:: python
from datetime import date, timedelta
from jsonstore import CharField
from aleksis.core.models import Person
@Person.property
def is_cool(self) -> bool:
return True
@Person.property
def age(self) -> timedelta:
return self.date_of_birth - date.today()
Person.field(shirt_size=CharField())
For a more advanced example, using features from the ORM, see AlekSIS-App-Chronos
and AlekSIS-App-Alsijil.
:Date: 2019-11-07
:Authors:
- Dominik George <[email protected]>
"""
# Defines a material design icon associated with this type of model
icon_ = "radiobox-blank"
site = models.ForeignKey(
Site, on_delete=models.CASCADE, default=settings.SITE_ID, editable=False, related_name="+"
)
objects = CurrentSiteManager()
objects_all_sites = models.Manager()
extra_permissions = []
def get_absolute_url(self) -> str:
"""Get the URL o a view representing this model instance."""
pass
@property
def versions(self) -> list[tuple[str, tuple[Any, Any]]]:
"""Get all versions of this object from django-reversion.
Includes diffs to previous version.
"""
versions = reversion.models.Version.objects.get_for_object(self)
versions_with_changes = []
for i, version in enumerate(versions):
diff = {}
if i > 0:
prev_version = versions[i - 1]
for k, val in version.field_dict.items():
prev_val = prev_version.field_dict.get(k, None)
if prev_val != val:
diff[k] = (prev_val, val)
versions_with_changes.append((version, diff))
return versions_with_changes
extended_data = JSONField(default=dict, editable=False)
@classmethod
def _safe_add(cls, obj: Any, name: Optional[str]) -> None:
# Decide the name for the attribute
if name is None:
prop_name = obj.__name__
else:
if name.isidentifier():
prop_name = name
else:
raise ValueError(f"{name} is not a valid name.")
# Verify that attribute name does not clash with other names in the class
if hasattr(cls, prop_name):
raise ValueError(f"{prop_name} already used.")
# Let Django's model magic add the attribute if we got here
cls.add_to_class(name, obj)
@classmethod
def property_(cls, func: Callable[[], Any], name: Optional[str] = None) -> None:
"""Add the passed callable as a property."""
cls._safe_add(property(func), name or func.__name__)
@classmethod
def method(cls, func: Callable[[], Any], name: Optional[str] = None) -> None:
"""Add the passed callable as a method."""
cls._safe_add(func, name or func.__name__)
@classmethod
def class_method(cls, func: Callable[[], Any], name: Optional[str] = None) -> None:
"""Add the passed callable as a classmethod."""
cls._safe_add(classmethod(func), name or func.__name__)
@classmethod
def field(cls, **kwargs) -> None:
"""Add the passed jsonstore field. Must be one of the fields in django-jsonstore.
Accepts exactly one keyword argument, with the name being the desired
model field name and the value the field instance.
"""
# Force kwargs to be exactly one argument
if len(kwargs) != 1:
raise TypeError(f"field() takes 1 keyword argument but {len(kwargs)} were given")
name, field = kwargs.popitem()
# Force the field to be one of the jsonstore fields
if JSONFieldMixin not in field.__class__.__mro__:
raise TypeError("Only jsonstore fields can be added to models.")
# Force use of the one JSONField defined in this mixin
field.json_field_name = "extended_data"
cls._safe_add(field, name)
@classmethod
def foreign_key(
cls,
field_name: str,
to: models.Model,
to_field: str = "pk",
to_field_type: JSONFieldMixin = IntegerField,
related_name: Optional[str] = None,
) -> None:
"""Add a virtual ForeignKey.
This works by storing the primary key (or any field passed in the to_field argument)
and adding a property that queries the desired model.
If the foreign model also is an ExtensibleModel, a reverse mapping is also added under
the related_name passed as argument, or this model's default related name.
"""
id_field_name = f"{field_name}_id"
if related_name is None:
related_name = cls.Meta.default_related_name
# Add field to hold key to foreign model
id_field = to_field_type(blank=True, null=True)
cls.field(**{id_field_name: id_field})
@property
def _virtual_fk(self) -> Optional[models.Model]:
id_field_val = getattr(self, id_field_name)
if id_field_val:
try:
return to.objects.get(**{to_field: id_field_val})
except to.DoesNotExist:
# We found a stale foreign key
setattr(self, id_field_name, None)
self.save()
return None
else:
return None
@_virtual_fk.setter
def _virtual_fk(self, value: Optional[models.Model] = None) -> None:
if value is None:
id_field_val = None
else:
id_field_val = getattr(value, to_field)
setattr(self, id_field_name, id_field_val)
# Add property to wrap get/set on foreign model instance
cls._safe_add(_virtual_fk, field_name)
# Add related property on foreign model instance if it provides such an interface
if hasattr(to, "_safe_add"):
def _virtual_related(self) -> models.QuerySet:
id_field_val = getattr(self, to_field)
return cls.objects.filter(**{id_field_name: id_field_val})
to.property_(_virtual_related, related_name)
@classmethod
def get_filter_fields(cls) -> List[str]:
"""Get names of all text-searchable fields of this model."""
fields = []
for field in cls.syncable_fields():
if isinstance(field, (CharField, TextField)):
fields.append(field.name)
return fields
@classmethod
def syncable_fields(
cls, recursive: bool = True, exclude_remotes: list = []
) -> list[models.Field]:
"""Collect all fields that can be synced on a model.
If recursive is True, it recurses into related models and generates virtual
proxy fields to access fields in related models."""
fields = []
for field in cls._meta.get_fields():
if field.is_relation and field.one_to_one and recursive:
if ExtensibleModel not in field.related_model.__mro__:
# Related model is not extensible and thus has no syncable fields
continue
if field.related_model in exclude_remotes:
# Remote is excluded, probably to avoid recursion
continue
# Recurse into related model to get its fields as well
for subfield in field.related_model.syncable_fields(
recursive, exclude_remotes + [cls]
):
# generate virtual field names for proxy access
name = f"_{field.name}__{subfield.name}"
verbose_name = f"{field.name} ({field.related_model._meta.verbose_name}) → {subfield.verbose_name}"
if not hasattr(cls, name):
# Add proxy properties to handle access to related model
setattr(cls, name, _generate_one_to_one_proxy_property(field, subfield))
# Generate a fake field class with enough API to detect attribute names
fields.append(
type(
"FakeRelatedProxyField",
(),
{
"name": name,
"verbose_name": verbose_name,
"to_python": lambda v: subfield.to_python(v),
},
)
)
elif field.editable and not field.auto_created:
fields.append(field)
return fields
@classmethod
def syncable_fields_choices(cls) -> tuple[tuple[str, str]]:
"""Collect all fields that can be synced on a model."""
return tuple(
[(field.name, field.verbose_name or field.name) for field in cls.syncable_fields()]
)
@classmethod
def syncable_fields_choices_lazy(cls) -> Callable[[], tuple[tuple[str, str]]]:
"""Collect all fields that can be synced on a model."""
return lazy(cls.syncable_fields_choices, tuple)
@classmethod
def add_permission(cls, name: str, verbose_name: str):
"""Dynamically add a new permission to a model."""
cls.extra_permissions.append((name, verbose_name))
def set_object_permission_checker(self, checker: ObjectPermissionChecker):
"""Annotate a ``ObjectPermissionChecker`` for use with permission system."""
self._permission_checker = checker
def save(self, *args, **kwargs):
"""Ensure all functionality of our extensions that needs saving gets it."""
# For auto-created remote syncable fields
if hasattr(self, "_save_reverse"):
for related in self._save_reverse:
related.save()
del self._save_reverse
super().save(*args, **kwargs)
class Meta:
abstract = True
class _ExtensiblePolymorphicModelBase(_ExtensibleModelBase, PolymorphicModelBase):
"""Base class for extensible, polymorphic models."""
class ExtensiblePolymorphicModel(
ExtensibleModel, PolymorphicModel, metaclass=_ExtensiblePolymorphicModelBase
):
"""Model class for extensible, polymorphic models."""
objects = PolymorphicCurrentSiteManager()
objects_all_sites = PolymorphicManager()
class Meta:
abstract = True
class PureDjangoModel(object):
"""No-op mixin to mark a model as deliberately not using ExtensibleModel."""
pass
class GlobalPermissionModel(models.Model):
"""Base model for global permissions.
This base model ensures that global permissions are not managed."""
class Meta:
default_permissions = ()
abstract = True
managed = False
class _ExtensibleFormMetaclass(ModelFormMetaclass):
def __new__(cls, name, bases, dct):
x = super().__new__(cls, name, bases, dct)
# Enforce a default for the base layout for forms that o not specify one
if hasattr(x, "layout"):
base_layout = x.layout.elements
else:
base_layout = []
x.base_layout = base_layout
x.layout = Layout(*base_layout)
return x
class ExtensibleForm(ModelForm, metaclass=_ExtensibleFormMetaclass):
"""Base model for extensible forms.
This mixin adds functionality which allows
- apps to add layout nodes to the layout used by django-material
:Add layout nodes:
.. code-block:: python
from material import Fieldset
from aleksis.core.forms import ExampleForm
node = Fieldset("field_name")
ExampleForm.add_node_to_layout(node)
"""
@classmethod
def add_node_to_layout(cls, node: Union[LayoutNode, str]):
"""Add a node to `layout` attribute.
:param node: django-material layout node (Fieldset, Row etc.)
:type node: LayoutNode
"""
cls.base_layout.append(node)
cls.layout = Layout(*cls.base_layout)
visit_nodes = [node]
while visit_nodes:
current_node = visit_nodes.pop()
if isinstance(current_node, Fieldset):
visit_nodes += node.elements
else:
field_name = (
current_node if isinstance(current_node, str) else current_node.field_name
)
field = fields_for_model(cls._meta.model, [field_name])[field_name]
cls._meta.fields.append(field_name)
cls.base_fields[field_name] = field
setattr(cls, field_name, field)
class BaseModelAdmin(GuardedModelAdmin, ObjectPermissionsModelAdmin):
"""A base class for ModelAdmin combining django-guardian and rules."""
pass
class SuccessMessageMixin(ModelFormMixin):
success_message: Optional[str] = None
def form_valid(self, form: BaseForm) -> HttpResponse:
if self.success_message:
messages.success(self.request, self.success_message)
return super().form_valid(form)
class SuccessNextMixin(RedirectURLMixin):
redirect_field_name = "next"
def get_success_url(self) -> str:
return LoginView.get_redirect_url(self) or super().get_success_url()
class AdvancedCreateView(SuccessMessageMixin, CreateView):
pass
class AdvancedEditView(SuccessMessageMixin, UpdateView):
pass
class AdvancedDeleteView(DeleteView):
"""Common confirm view for deleting.
.. warning ::
Using this view, objects are deleted permanently after confirming.
We recommend to include the mixin :class:`reversion.views.RevisionMixin`
from `django-reversion` to enable soft-delete.
"""
success_message: Optional[str] = None
def form_valid(self, form):
r = super().form_valid(form)
if self.success_message:
messages.success(self.request, self.success_message)
return r
class SchoolTermRelatedExtensibleModel(ExtensibleModel):
"""Add relation to school term."""
objects = CurrentSiteManagerWithoutMigrations.from_queryset(SchoolTermRelatedQuerySet)()
school_term = models.ForeignKey(
"core.SchoolTerm",
on_delete=models.CASCADE,
related_name="+",
verbose_name=_("Linked school term"),
blank=True,
null=True,
)
class Meta:
abstract = True
class SchoolTermRelatedExtensibleForm(ExtensibleForm):
"""Extensible form for school term related data.
.. warning::
This doesn't automatically include the field `school_term` in `fields` or `layout`,
it just sets an initial value.
"""
def __init__(self, *args, **kwargs):
from aleksis.core.models import SchoolTerm # noqa
if "instance" not in kwargs:
kwargs["initial"] = {"school_term": SchoolTerm.current}
super().__init__(*args, **kwargs)
class PublicFilePreferenceMixin(FilePreference):
"""Uploads a file to the public namespace."""
upload_path = "public"
def get_upload_path(self):
return os.path.join(
self.upload_path, preferences_settings.FILE_PREFERENCE_UPLOAD_DIR, self.identifier()
)
class RegistryObject:
"""Generic registry to allow registration of subclasses over all apps."""
_registry: ClassVar[Optional[dict[str, "RegistryObject"]]] = None
name: ClassVar[str] = ""
def __init_subclass__(cls):
if getattr(cls, "_registry", None) is None:
cls._registry = {}
else:
if not cls.name:
cls.name = cls.__name__
cls._register()
@classmethod
def _register(cls):
if cls.name and cls.name not in cls._registry:
cls._registry[cls.name] = cls
@classproperty
def registered_objects_dict(cls):
return cls._registry
@classproperty
def registered_objects_list(cls):
return list(cls._registry.values())
@classmethod
def get_object_by_name(cls, name):
cls.registered_objects_dict.get(name) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/mixins.py | mixins.py |
const fs = require("fs");
const path = require("path");
const crypto = require("crypto");
const process = require("process");
import { defineConfig, searchForWorkspaceRoot } from "vite";
import vue from "@vitejs/plugin-vue2";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import graphql from "@rollup/plugin-graphql";
import virtual from "@rollup/plugin-virtual";
import { VitePWA } from "vite-plugin-pwa";
import topLevelAwait from "vite-plugin-top-level-await";
import browserslistToEsbuild from "browserslist-to-esbuild";
const license = require("rollup-plugin-license");
// Read the hints writen by `aleksis-admin vite`
const django_values = JSON.parse(fs.readFileSync("./django-vite-values.json"));
// Browsers supported by us
const browsersList = [
"defaults and supports es6-module",
">0.2% in de and supports es6-module",
];
/**
* Generate code to import messages from a single AlekSIS app.
*/
function generateMessageImportCode(assetDir, name, importAppName) {
let code = "";
let messagesPath = assetDir + "/messages/";
code += `appMessages["${name}"] = {};`;
const files = fs.readdirSync(messagesPath);
for (file of files) {
let lang = file.split(".")[0];
code += `import ${importAppName}Messages_${lang} from '${
messagesPath + file
}';\n`;
code += `appMessages["${name}"]["${lang}"] = ${importAppName}Messages_${lang};\n`;
}
return code;
}
/**
* Generate a virtual module that helps the AlekSIS-Core frontend code import other apps.
*
* App code locations are discovered by the `aleksis-admin` vite wrapper and passed
* in the django_values hints.
*/
function generateAppImporter(appDetails) {
let code = "let appObjects = {};\n";
code += "let appMessages = {};\n";
for (const [appPackage, appMeta] of Object.entries(appDetails)) {
let indexPath = appMeta.assetDir + "/index.js";
let importAppName =
appMeta.name.charAt(0).toUpperCase() + appMeta.name.substring(1);
code += `console.debug("Importing AlekSIS app entrypoint for ${appPackage}");\n`;
code += `import ${importAppName} from '${indexPath}';\n`;
code += `appObjects["${appMeta.name}"] = ${importAppName};\n`;
if (appMeta.hasMessages) {
code += generateMessageImportCode(
appMeta.assetDir,
appMeta.name,
importAppName
);
}
}
// Include core messages
code += generateMessageImportCode(django_values.coreAssetDir, "core", "Core");
code += "export default appObjects;\n";
code += "export { appObjects, appMessages };\n";
return code;
}
export default defineConfig({
// root must always be the base directory of the AlekSIS-Core source tree
// Changing this will mangle the manifest key of the entrypoint!
root: django_values.baseDir,
// Base URL needs to mimic the /static/ URL in Django
base: django_values.static_url,
build: {
outDir: path.resolve("./vite_bundles/"),
manifest: true,
target: browserslistToEsbuild(browsersList),
rollupOptions: {
input: django_values.coreAssetDir + "/index.js",
output: {
manualChunks(id) {
// Split big libraries into own chunks
if (id.includes("node_modules/vue")) {
return "vue";
} else if (id.includes("node_modules/apollo")) {
return "apollo";
} else if (id.includes("node_modules/graphql")) {
return "graphql";
} else if (id.includes("node_modules/@sentry")) {
return "sentry";
} else if (id.includes("node_modules")) {
// Fallback for all other libraries
return "vendor";
}
// Split each AlekSIS app in its own chunk
for (const [appPackage, ad] of Object.entries(
django_values.appDetails
)) {
if (id.includes(ad.assetDir + "/index.js")) {
return appPackage;
}
}
},
},
},
},
server: {
strictPort: true,
port: django_values.serverPort,
origin: `http://localhost:${django_values.serverPort}`,
watch: {
ignored: [
"**/*.py",
"**/__pycache__/**",
"**/*.mo",
"**/.venv/**",
"**/.tox/**",
"**/static/**",
"**/assets/**",
],
},
fs: {
allow: [
searchForWorkspaceRoot(path.resolve(django_values.baseDir)),
...Object.values(django_values.appDetails).map(
(details) => details.assetDir
),
],
},
},
plugins: [
virtual({
// Will be used in AlekSIS-Core frontend code to import aps
aleksisAppImporter: generateAppImporter(django_values.appDetails),
}),
vue(),
nodeResolve({ modulePaths: [path.resolve(django_values.node_modules)] }),
graphql(),
topLevelAwait(),
license({
// A package.json will be written here by `aleksis-admin vite`
cwd: path.resolve(django_values.cacheDir),
banner: {
commentStyle: "ignored",
content: `Frontend bundle for AlekSIS\nSee ./vendor.LICENSE.txt for copyright information.`,
},
thirdParty: {
allow: {
test: "MIT OR Apache-2.0 OR 0BSD OR BSD-3-Clause",
failOnUnlicensed: true,
failOnViolation: true,
},
output: {
file: path.resolve(
django_values.cacheDir + "/vite_bundles/assets/vendor.LICENSE.txt"
),
},
},
}),
VitePWA({
injectRegister: "null",
devOptions: {
enabled: true,
},
scope: "/",
base: "/",
workbox: {
navigateFallback: "/",
directoryIndex: null,
navigateFallbackAllowlist: [
new RegExp(
"^/(?!(django|admin|graphql|__icons__|oauth/authorize))[^.]*$"
),
],
additionalManifestEntries: [
{ url: "/", revision: crypto.randomUUID() },
{ url: "/django/offline/", revision: crypto.randomUUID() },
],
inlineWorkboxRuntime: true,
modifyURLPrefix: {
"": "/static/",
},
globPatterns: ["**/*.{js,css,eot,woff,woff2,ttf}"],
runtimeCaching: [
{
urlPattern: new RegExp(
"^/(?!(django|admin|graphql|__icons__|oauth/authorize))[^.]*$"
),
handler: "CacheFirst",
},
{
urlPattern: new RegExp("/django/.*"),
handler: "NetworkFirst",
options: {
cacheName: "aleksis-legacy-cache",
networkTimeoutSeconds: 5,
expiration: {
maxAgeSeconds: 60 * 60 * 24,
},
precacheFallback: {
fallbackURL: "/django/offline/",
},
cacheableResponse: {
headers: {
"PWA-Is-Cacheable": "true",
},
},
plugins: [
{
fetchDidSucceed: async ({ request, response }) => {
if (response.status < 500) {
return response;
}
throw new Error(
`${response.status} ${response.statusText}`
);
},
},
],
},
},
{
urlPattern: ({ request, sameOrigin }) => {
return sameOrigin && request.destination === "image";
},
handler: "StaleWhileRevalidate",
options: {
cacheName: "aleksis-image-cache",
expiration: {
maxAgeSeconds: 60 * 60 * 24,
},
},
},
{
urlPattern: ({ request, sameOrigin }) => {
return sameOrigin && request.destination === "style";
},
handler: "StaleWhileRevalidate",
options: {
cacheName: "aleksis-style-cache",
expiration: {
maxAgeSeconds: 60 * 60 * 24 * 30,
},
},
},
{
urlPattern: ({ request, sameOrigin }) => {
return sameOrigin && request.destination === "script";
},
handler: "StaleWhileRevalidate",
options: {
cacheName: "aleksis-script-cache",
expiration: {
maxAgeSeconds: 60 * 60 * 24 * 30,
},
},
},
{
urlPattern: ({ request, sameOrigin }) => {
return sameOrigin && request.destination === "font";
},
handler: "CacheFirst",
options: {
cacheName: "aleksis-font-cache",
expiration: {
maxAgeSeconds: 60 * 60 * 24 * 90,
},
},
},
],
},
}),
],
resolve: {
alias: {
"@": path.resolve(django_values.node_modules),
vue: path.resolve(django_values.node_modules + "/vue/dist/vue.esm.js"),
"aleksis.core": django_values.coreAssetDir,
// Add aliases for every app using their package name
...Object.fromEntries(
Object.entries(django_values.appDetails).map(([name, appMeta]) => [
name,
appMeta.assetDir,
])
),
},
},
}); | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/vite.config.js | vite.config.js |
from typing import Optional
import django.apps
from django.core.checks import Tags, Warning, register
from .mixins import ExtensibleModel, GlobalPermissionModel, PureDjangoModel
from .util.apps import AppConfig
@register(Tags.compatibility)
def check_app_configs_base_class(
app_configs: Optional[django.apps.registry.Apps] = None, **kwargs
) -> list:
"""Check whether all apps derive from AlekSIS's base app config."""
results = []
if app_configs is None:
app_configs = django.apps.apps.get_app_configs()
for app_config in filter(lambda c: c.name.startswith("aleksis."), app_configs):
if not isinstance(app_config, AppConfig):
results.append(
Warning(
f"App config {app_config.name} does not derive"
"from aleksis.core.util.apps.AppConfig.",
hint=(
"Ensure the app uses the correct base class for all"
"registry functionality to work."
),
obj=app_config,
id="aleksis.core.W001",
)
)
return results
@register(Tags.compatibility)
def check_app_models_base_class(
app_configs: Optional[django.apps.registry.Apps] = None, **kwargs
) -> list:
"""Check whether all app models derive from AlekSIS's allowed base models.
Does only allow ExtensibleModel, GlobalPermissionModel and PureDjangoModel.
"""
results = []
if app_configs is None:
app_configs = django.apps.apps.get_app_configs()
for app_config in filter(lambda c: c.name.startswith("aleksis."), app_configs):
for model in app_config.get_models():
if not (
set(model.__mro__) & set((ExtensibleModel, PureDjangoModel, GlobalPermissionModel))
):
results.append(
Warning(
f"Model {model._meta.object_name} in app config {app_config.name} does "
"not derive from aleksis.core.mixins.ExtensibleModel "
"or aleksis.core.mixins.GlobalPermissionModel.",
hint=(
"Ensure all models in AlekSIS use ExtensibleModel (or "
"GlobalPermissionModel, if you want to define global permissions) "
"as base. "
"If your deviation is intentional, you can add the PureDjangoModel "
"mixin instead to silence this warning."
),
obj=model,
id="aleksis.core.W002",
)
)
return results | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/checks.py | checks.py |
from typing import Sequence
from django.contrib.auth.models import Group as DjangoGroup
from django.contrib.auth.models import Permission, User
from django.contrib.contenttypes.models import ContentType
from django.db.models import Q
from django.utils.translation import gettext as _
from django_filters import CharFilter, FilterSet, ModelChoiceFilter, ModelMultipleChoiceFilter
from django_select2.forms import ModelSelect2Widget
from guardian.models import GroupObjectPermission, UserObjectPermission
from material import Layout, Row
from aleksis.core.models import Group, GroupType, Person, SchoolTerm
class MultipleCharFilter(CharFilter):
"""Filter for filtering multiple fields with one input.
>>> multiple_filter = MultipleCharFilter(["name__icontains", "short_name__icontains"])
"""
def filter(self, qs, value): # noqa
q = None
for field in self.fields:
if not q:
q = Q(**{field: value})
else:
q = q | Q(**{field: value})
return qs.filter(q)
def __init__(self, fields: Sequence[str], *args, **kwargs):
self.fields = fields
super().__init__(self, *args, **kwargs)
class GroupFilter(FilterSet):
school_term = ModelChoiceFilter(queryset=SchoolTerm.objects.all())
group_type = ModelChoiceFilter(queryset=GroupType.objects.all())
parent_groups = ModelMultipleChoiceFilter(queryset=Group.objects.all())
search = MultipleCharFilter(["name__icontains", "short_name__icontains"], label=_("Search"))
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.form.layout = Layout(Row("search"), Row("school_term", "group_type", "parent_groups"))
self.form.initial = {"school_term": SchoolTerm.current}
class PersonFilter(FilterSet):
name = MultipleCharFilter(
[
"first_name__icontains",
"additional_name__icontains",
"last_name__icontains",
"short_name__icontains",
"user__username__icontains",
],
label=_("Search by name"),
)
contact = MultipleCharFilter(
[
"street__icontains",
"housenumber__icontains",
"postal_code__icontains",
"place__icontains",
"phone_number__icontains",
"mobile_number__icontains",
"email__icontains",
],
label=_("Search by contact details"),
)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.form.layout = Layout(Row("name", "contact"), Row("sex", "primary_group"))
class Meta:
model = Person
fields = ["sex", "primary_group"]
class PermissionFilter(FilterSet):
"""Common filter for permissions."""
permission = ModelChoiceFilter(
queryset=Permission.objects.all(),
widget=ModelSelect2Widget(
search_fields=["name__icontains", "codename__icontains"],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
label=_("Permission"),
)
permission__content_type = ModelChoiceFilter(
queryset=ContentType.objects.all(),
widget=ModelSelect2Widget(
search_fields=["app_label__icontains", "model__icontains"],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
label=_("Content type"),
)
class UserPermissionFilter(PermissionFilter):
"""Common filter for user permissions."""
user = ModelChoiceFilter(
queryset=User.objects.all(),
widget=ModelSelect2Widget(
search_fields=["username__icontains", "first_name__icontains", "last_name__icontains"],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
label=_("User"),
)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.form.layout = Layout(Row("user", "permission", "permission__content_type"))
class Meta:
fields = ["user", "permission", "permission__content_type"]
class GroupPermissionFilter(PermissionFilter):
"""Common filter for group permissions."""
group = ModelChoiceFilter(
queryset=DjangoGroup.objects.all(),
widget=ModelSelect2Widget(
search_fields=[
"name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
label=_("Group"),
)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.form.layout = Layout(Row("group", "permission", "permission__content_type"))
class Meta:
fields = ["group", "permission", "permission__content_type"]
class UserGlobalPermissionFilter(UserPermissionFilter):
"""Filter for global user permissions."""
class Meta(UserPermissionFilter.Meta):
model = User.user_permissions.through
class GroupGlobalPermissionFilter(GroupPermissionFilter):
"""Filter for global group permissions."""
class Meta(GroupPermissionFilter.Meta):
model = DjangoGroup.permissions.through
class UserObjectPermissionFilter(UserPermissionFilter):
"""Filter for object user permissions."""
class Meta(UserPermissionFilter.Meta):
model = UserObjectPermission
class GroupObjectPermissionFilter(GroupPermissionFilter):
"""Filter for object group permissions."""
class Meta(GroupPermissionFilter.Meta):
model = GroupObjectPermission | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/filters.py | filters.py |
from typing import Any, Optional
import django.apps
from django.apps import apps
from django.conf import settings
from django.contrib import messages
from django.http import HttpRequest
from django.utils.module_loading import autodiscover_modules
from django.utils.translation import gettext as _
from dynamic_preferences.registries import preference_models
from health_check.plugins import plugin_dir
from oauthlib.common import Request as OauthlibRequest
from .registries import (
group_preferences_registry,
person_preferences_registry,
site_preferences_registry,
)
from .util.apps import AppConfig
from .util.core_helpers import (
create_default_celery_schedule,
get_or_create_favicon,
get_site_preferences,
has_person,
)
from .util.sass_helpers import clean_scss
class CoreConfig(AppConfig):
name = "aleksis.core"
verbose_name = "AlekSIS — The Free School Information System"
dist_name = "AlekSIS-Core"
urls = {
"Repository": "https://edugit.org/AlekSIS/official/AlekSIS/",
}
licence = "EUPL-1.2+"
copyright_info = (
([2017, 2018, 2019, 2020, 2021, 2022, 2023], "Jonathan Weth", "[email protected]"),
([2017, 2018, 2019, 2020], "Frank Poetzsch-Heffter", "[email protected]"),
([2018, 2019, 2020, 2021, 2022, 2023], "Hangzhi Yu", "[email protected]"),
([2018, 2019, 2020, 2021, 2022, 2023], "Julian Leucker", "[email protected]"),
([2019, 2020, 2021, 2022, 2023], "Dominik George", "[email protected]"),
([2019, 2020, 2021, 2022], "Tom Teichler", "[email protected]"),
([2019], "mirabilos", "[email protected]"),
([2021, 2022, 2023], "magicfelix", "[email protected]"),
([2021], "Lloyd Meins", "[email protected]"),
([2022], "Benedict Suska", "[email protected]"),
([2022], "Lukas Weichelt", "[email protected]"),
)
def ready(self):
super().ready()
from django.conf import settings # noqa
# Autodiscover various modules defined by AlekSIS
autodiscover_modules("model_extensions", "form_extensions", "checks")
sitepreferencemodel = self.get_model("SitePreferenceModel")
personpreferencemodel = self.get_model("PersonPreferenceModel")
grouppreferencemodel = self.get_model("GroupPreferenceModel")
preference_models.register(sitepreferencemodel, site_preferences_registry)
preference_models.register(personpreferencemodel, person_preferences_registry)
preference_models.register(grouppreferencemodel, group_preferences_registry)
from .health_checks import (
BackupJobHealthCheck,
DataChecksHealthCheckBackend,
DbBackupAgeHealthCheck,
MediaBackupAgeHealthCheck,
)
plugin_dir.register(DataChecksHealthCheckBackend)
plugin_dir.register(DbBackupAgeHealthCheck)
plugin_dir.register(MediaBackupAgeHealthCheck)
plugin_dir.register(BackupJobHealthCheck)
def preference_updated(
self,
sender: Any,
section: Optional[str] = None,
name: Optional[str] = None,
old_value: Optional[Any] = None,
new_value: Optional[Any] = None,
**kwargs,
) -> None:
from django.conf import settings # noqa
if section == "theme":
if name in ("primary", "secondary"):
clean_scss()
elif name in ("favicon", "pwa_icon"):
from favicon.models import Favicon, FaviconImg # noqa
is_favicon = name == "favicon"
if new_value:
# Get file object from preferences instead of using new_value
# to prevent problems with special file storages
file_obj = get_site_preferences()[f"{section}__{name}"]
favicon = Favicon.on_site.update_or_create(
title=name,
defaults={"isFavicon": is_favicon, "faviconImage": file_obj},
)[0]
FaviconImg.objects.filter(faviconFK=favicon).delete()
else:
Favicon.on_site.filter(title=name, isFavicon=is_favicon).delete()
if name in settings.DEFAULT_FAVICON_PATHS:
get_or_create_favicon(
name, settings.DEFAULT_FAVICON_PATHS[name], is_favicon=is_favicon
)
def post_migrate(
self,
app_config: django.apps.AppConfig,
verbosity: int,
interactive: bool,
using: str,
**kwargs,
) -> None:
from django.conf import settings # noqa
super().post_migrate(app_config, verbosity, interactive, using, **kwargs)
# Ensure presence of an OTP YubiKey default config
apps.get_model("otp_yubikey", "ValidationService").objects.using(using).update_or_create(
name="default", defaults={"use_ssl": True, "param_sl": "", "param_timeout": ""}
)
# Ensure that default Favicon object exists
for name, default in settings.DEFAULT_FAVICON_PATHS.items():
get_or_create_favicon(name, default, is_favicon=name == "favicon")
# Create default periodic tasks
create_default_celery_schedule()
def user_logged_in(
self, sender: type, request: Optional[HttpRequest], user: "User", **kwargs
) -> None:
if has_person(user):
# Save the associated person to pick up defaults
user.person.save()
def user_logged_out(
self, sender: type, request: Optional[HttpRequest], user: "User", **kwargs
) -> None:
messages.success(request, _("You have been logged out successfully."))
@classmethod
def get_all_scopes(cls) -> dict[str, str]:
scopes = {
"read": "Read anything the resource owner can read",
"write": "Write anything the resource owner can write",
}
if settings.OAUTH2_PROVIDER.get("OIDC_ENABLED", False):
scopes |= {
"openid": _("OpenID Connect scope"),
"profile": _("Given name, family name, link to profile and picture if existing."),
"address": _("Full home postal address"),
"email": _("Email address"),
"phone": _("Home and mobile phone"),
"groups": _("Groups"),
}
return scopes
@classmethod
def get_additional_claims(cls, scopes: list[str], request: OauthlibRequest) -> dict[str, Any]:
django_request = HttpRequest()
django_request.META = request.headers
claims = {
"preferred_username": request.user.username,
}
if "profile" in scopes:
if has_person(request.user):
claims["given_name"] = request.user.person.first_name
claims["family_name"] = request.user.person.last_name
claims["profile"] = django_request.build_absolute_uri(
request.user.person.get_absolute_url()
)
if request.user.person.avatar:
claims["picture"] = django_request.build_absolute_uri(
request.user.person.avatar.url
)
else:
claims["given_name"] = request.user.first_name
claims["family_name"] = request.user.last_name
if "email" in scopes:
if has_person(request.user):
claims["email"] = request.user.person.email
else:
claims["email"] = request.user.email
if "address" in scopes and has_person(request.user):
claims["address"] = {
"street_address": request.user.person.street
+ " "
+ request.user.person.housenumber,
"locality": request.user.person.place,
"postal_code": request.user.person.postal_code,
}
if "phone" in scopes and has_person(request.user):
claims["mobile_number"] = request.user.person.mobile_number
claims["phone_number"] = request.user.person.phone_number
if "groups" in scopes and has_person(request.user):
claims["groups"] = list(
request.user.person.member_of.values_list("name", flat=True).all()
)
return claims | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/apps.py | apps.py |
from importlib import import_module
from django.apps import apps
from django.conf import settings
from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.urls import include, path, re_path
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import TemplateView
from django.views.i18n import JavaScriptCatalog
import calendarweek.django
from ckeditor_uploader import views as ckeditor_uploader_views
from health_check.urls import urlpatterns as health_urls
from maintenance_mode.decorators import force_maintenance_mode_off
from oauth2_provider.views import ConnectDiscoveryInfoView
from rules.contrib.views import permission_required
from two_factor.urls import urlpatterns as tf_urls
from . import views
urlpatterns = [
path("", TemplateView.as_view(template_name="core/vue_index.html"), name="vue_app"),
path("manifest.json", views.ManifestView.as_view(), name="manifest"),
path("sw.js", views.ServiceWorkerView.as_view(), name="service_worker"),
path(settings.MEDIA_URL.removeprefix("/"), include("titofisto.urls")),
path("__icons__/", include("dj_iconify.urls")),
path(
"graphql/",
csrf_exempt(views.LoggingGraphQLView.as_view(batch=True)),
name="graphql",
),
path("logo", force_maintenance_mode_off(views.LogoView.as_view()), name="logo"),
path(
".well-known/openid-configuration/",
ConnectDiscoveryInfoView.as_view(),
name="oidc_configuration",
),
path("oauth/applications/", views.TemplateView.as_view(template_name="core/vue_index.html")),
path(
"oauth/authorized_tokens/", views.TemplateView.as_view(template_name="core/vue_index.html")
),
path("oauth/", include("oauth2_provider.urls", namespace="oauth2_provider")),
path("system_status/", views.SystemStatusAPIView.as_view(), name="system_status_api"),
path("", include("django_prometheus.urls")),
path(
"django/",
include(
[
path("account/login/", views.LoginView.as_view(), name="login"),
path(
"accounts/signup/", views.AccountRegisterView.as_view(), name="account_signup"
),
path("accounts/logout/", auth_views.LogoutView.as_view(), name="logout"),
path(
"accounts/password/change/",
views.CustomPasswordChangeView.as_view(),
name="account_change_password",
),
path(
"accounts/password/reset/",
views.CustomPasswordResetView.as_view(),
name="account_reset_password",
),
path("accounts/", include("allauth.urls")),
path(
"accounts/social/connections/<int:pk>/delete/",
views.SocialAccountDeleteView.as_view(),
name="delete_social_account_by_pk",
),
path("offline/", views.OfflineView.as_view(), name="offline"),
path(
"invitations/send-invite/", views.InvitePerson.as_view(), name="invite_person"
),
path(
"invitations/code/enter/",
views.EnterInvitationCode.as_view(),
name="enter_invitation_code",
),
path(
"invitations/code/generate/",
views.GenerateInvitationCode.as_view(),
name="generate_invitation_code",
),
path(
"invitations/disabled/",
views.InviteDisabledView.as_view(),
name="invite_disabled",
),
path("invitations/", include("invitations.urls")),
path("status/", views.SystemStatus.as_view(), name="system_status"),
path("", include(tf_urls)),
path("account/login/", views.TwoFactorLoginView.as_view()),
path(
"account/two_factor/add/",
views.TwoFactorSetupView.as_view(),
name="setup_two_factor_auth",
),
path("school_terms/", views.SchoolTermListView.as_view(), name="school_terms"),
path(
"school_terms/create/",
views.SchoolTermCreateView.as_view(),
name="create_school_term",
),
path(
"school_terms/<int:pk>/",
views.SchoolTermEditView.as_view(),
name="edit_school_term",
),
path("persons/", views.persons, name="persons"),
path(
"person/", TemplateView.as_view(template_name="core/empty.html"), name="person"
),
path("persons/create/", views.CreatePersonView.as_view(), name="create_person"),
path(
"persons/<int:id_>/",
TemplateView.as_view(template_name="core/empty.html"),
name="person_by_id",
),
path(
"persons/<int:pk>/edit/",
views.EditPersonView.as_view(),
name="edit_person_by_id",
),
path("persons/<int:id_>/delete/", views.delete_person, name="delete_person_by_id"),
path(
"persons/<int:pk>/invite/",
views.InvitePersonByID.as_view(),
name="invite_person_by_id",
),
path("groups/", views.groups, name="groups"),
path(
"groups/additional_fields/", views.additional_fields, name="additional_fields"
),
path("groups/child_groups/", views.groups_child_groups, name="groups_child_groups"),
path(
"groups/additional_fields/<int:id_>/edit/",
views.edit_additional_field,
name="edit_additional_field_by_id",
),
path(
"groups/additional_fields/create/",
views.edit_additional_field,
name="create_additional_field",
),
path(
"groups/additional_fields/<int:id_>/delete/",
views.delete_additional_field,
name="delete_additional_field_by_id",
),
path("groups/create/", views.edit_group, name="create_group"),
path("groups/<int:id_>/", views.group, name="group_by_id"),
path("groups/<int:id_>/edit/", views.edit_group, name="edit_group_by_id"),
path("groups/<int:id_>/delete/", views.delete_group, name="delete_group_by_id"),
path("", views.index, name="index"),
path("dashboard/edit/", views.EditDashboardView.as_view(), name="edit_dashboard"),
path("groups/group_types/create", views.edit_group_type, name="create_group_type"),
path(
"groups/group_types/<int:id_>/delete/",
views.delete_group_type,
name="delete_group_type_by_id",
),
path(
"groups/group_types/<int:id_>/edit/",
views.edit_group_type,
name="edit_group_type_by_id",
),
path("groups/group_types/", views.group_types, name="group_types"),
path("announcements/", views.announcements, name="announcements"),
path("announcements/create/", views.announcement_form, name="add_announcement"),
path(
"announcements/edit/<int:id_>/",
views.announcement_form,
name="edit_announcement",
),
path(
"announcements/delete/<int:id_>/",
views.delete_announcement,
name="delete_announcement",
),
path("search/searchbar/", views.searchbar_snippets, name="searchbar_snippets"),
path("search/", views.PermissionSearchView.as_view(), name="haystack_search"),
path("maintenance-mode/", include("maintenance_mode.urls")),
path("impersonate/", include("impersonate.urls")),
path(
"oauth/applications/",
views.OAuth2ListView.as_view(),
name="oauth2_applications",
),
path(
"oauth/applications/register/",
views.OAuth2RegisterView.as_view(),
name="register_oauth_application",
),
path(
"oauth/applications/<int:pk>/",
views.OAuth2DetailView.as_view(),
name="oauth2_application",
),
path(
"oauth/applications/<int:pk>/delete/",
views.OAuth2DeleteView.as_view(),
name="delete_oauth2_application",
),
path(
"oauth/applications/<int:pk>/edit/",
views.OAuth2EditView.as_view(),
name="edit_oauth2_application",
),
path(
"oauth/authorize/",
views.CustomAuthorizationView.as_view(),
name="oauth2_provider:authorize",
),
path("__i18n__/", include("django.conf.urls.i18n")),
path(
"ckeditor/upload/",
permission_required("core.ckeditor_upload_files_rule")(
ckeditor_uploader_views.upload
),
name="ckeditor_upload",
),
path(
"ckeditor/browse/",
permission_required("core.ckeditor_upload_files_rule")(
ckeditor_uploader_views.browse
),
name="ckeditor_browse",
),
path("select2/", include("django_select2.urls")),
path(
"calendarweek_i18n.js", calendarweek.django.i18n_js, name="calendarweek_i18n_js"
),
path("gettext.js", JavaScriptCatalog.as_view(), name="javascript-catalog"),
path(
"preferences/site/",
views.preferences,
{"registry_name": "site"},
name="preferences_site",
),
path(
"preferences/person/",
views.preferences,
{"registry_name": "person"},
name="preferences_person",
),
path(
"preferences/group/",
views.preferences,
{"registry_name": "group"},
name="preferences_group",
),
path(
"preferences/site/<int:pk>/",
views.preferences,
{"registry_name": "site"},
name="preferences_site",
),
path(
"preferences/person/<int:pk>/",
views.preferences,
{"registry_name": "person"},
name="preferences_person",
),
path(
"preferences/group/<int:pk>/",
views.preferences,
{"registry_name": "group"},
name="preferences_group",
),
path(
"preferences/site/<int:pk>/<str:section>/",
views.preferences,
{"registry_name": "site"},
name="preferences_site",
),
path(
"preferences/person/<int:pk>/<str:section>/",
views.preferences,
{"registry_name": "person"},
name="preferences_person",
),
path(
"preferences/group/<int:pk>/<str:section>/",
views.preferences,
{"registry_name": "group"},
name="preferences_group",
),
path(
"preferences/site/<str:section>/",
views.preferences,
{"registry_name": "site"},
name="preferences_site",
),
path(
"preferences/person/<str:section>/",
views.preferences,
{"registry_name": "person"},
name="preferences_person",
),
path(
"preferences/group/<str:section>/",
views.preferences,
{"registry_name": "group"},
name="preferences_group",
),
path("health/", include(health_urls)),
path("health/pdf/", views.TestPDFGenerationView.as_view(), name="test_pdf"),
path(
"data_checks/",
views.DataCheckView.as_view(),
name="check_data",
),
path(
"data_checks/run/",
views.RunDataChecks.as_view(),
name="data_check_run",
),
path(
"data_checks/<int:pk>/<str:solve_option>/",
views.SolveDataCheckView.as_view(),
name="data_check_solve",
),
path(
"dashboard_widgets/",
views.DashboardWidgetListView.as_view(),
name="dashboard_widgets",
),
path(
"dashboard_widgets/<int:pk>/edit/",
views.DashboardWidgetEditView.as_view(),
name="edit_dashboard_widget",
),
path(
"dashboard_widgets/<int:pk>/delete/",
views.DashboardWidgetDeleteView.as_view(),
name="delete_dashboard_widget",
),
path(
"dashboard_widgets/<str:app>/<str:model>/new/",
views.DashboardWidgetCreateView.as_view(),
name="create_dashboard_widget",
),
path(
"dashboard_widgets/default/",
views.EditDashboardView.as_view(),
{"default": True},
name="edit_default_dashboard",
),
path(
"permissions/global/user/",
views.UserGlobalPermissionsListBaseView.as_view(),
name="manage_user_global_permissions",
),
path(
"permissions/global/group/",
views.GroupGlobalPermissionsListBaseView.as_view(),
name="manage_group_global_permissions",
),
path(
"permissions/object/user/",
views.UserObjectPermissionsListBaseView.as_view(),
name="manage_user_object_permissions",
),
path(
"permissions/object/group/",
views.GroupObjectPermissionsListBaseView.as_view(),
name="manage_group_object_permissions",
),
path(
"permissions/global/user/<int:pk>/delete/",
views.UserGlobalPermissionDeleteView.as_view(),
name="delete_user_global_permission",
),
path(
"permissions/global/group/<int:pk>/delete/",
views.GroupGlobalPermissionDeleteView.as_view(),
name="delete_group_global_permission",
),
path(
"permissions/object/user/<int:pk>/delete/",
views.UserObjectPermissionDeleteView.as_view(),
name="delete_user_object_permission",
),
path(
"permissions/object/group/<int:pk>/delete/",
views.GroupObjectPermissionDeleteView.as_view(),
name="delete_group_object_permission",
),
path(
"permissions/assign/",
views.SelectPermissionForAssignView.as_view(),
name="select_permission_for_assign",
),
path(
"permissions/<int:pk>/assign/",
views.AssignPermissionView.as_view(),
name="assign_permission",
),
]
),
),
path("admin/", admin.site.urls),
path("admin/uwsgi/", include("django_uwsgi.urls")),
]
# Use custom server error handler to get a request object in the template
handler500 = views.server_error
# Add URLs for optional features
if hasattr(settings, "TWILIO_ACCOUNT_SID"):
from two_factor.gateways.twilio.urls import urlpatterns as tf_twilio_urls # noqa
urlpatterns += [path("django/", include(tf_twilio_urls))]
# Automatically mount URLs from all installed AlekSIS apps
for app_config in apps.app_configs.values():
if not app_config.name.startswith("aleksis.apps."):
continue
try:
urls_module = import_module(f"{app_config.name}.urls")
except ModuleNotFoundError:
# Ignore exception as app just has no URLs
urls_module = None
if hasattr(urls_module, "urlpatterns"):
urlpatterns.append(
path(f"django/app/{app_config.label}/", include(urls_module.urlpatterns))
)
if hasattr(urls_module, "api_urlpatterns"):
urlpatterns.append(path(f"app/{app_config.label}/", include(urls_module.api_urlpatterns)))
urlpatterns.append(
re_path(
r"^(?P<url>.*)/$", TemplateView.as_view(template_name="core/vue_index.html"), name="vue_app"
)
) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/urls.py | urls.py |
import os
import warnings
from copy import deepcopy
from glob import glob
from socket import getfqdn
from django.utils.log import DEFAULT_LOGGING
from django.utils.translation import gettext_lazy as _
from dynaconf import LazySettings
from .util.core_helpers import (
get_app_packages,
get_app_settings_overrides,
merge_app_settings,
monkey_patch,
)
monkey_patch()
IN_PYTEST = "PYTEST_CURRENT_TEST" in os.environ or "TOX_ENV_DIR" in os.environ
PYTEST_SETUP_DATABASES = [("default", "default_oot")]
ENVVAR_PREFIX_FOR_DYNACONF = "ALEKSIS"
DIRS_FOR_DYNACONF = ["/etc/aleksis"]
MERGE_ENABLED_FOR_DYNACONF = True
SETTINGS_FILE_FOR_DYNACONF = []
for directory in DIRS_FOR_DYNACONF:
SETTINGS_FILE_FOR_DYNACONF += glob(os.path.join(directory, "*.json"))
SETTINGS_FILE_FOR_DYNACONF += glob(os.path.join(directory, "*.ini"))
SETTINGS_FILE_FOR_DYNACONF += glob(os.path.join(directory, "*.yaml"))
SETTINGS_FILE_FOR_DYNACONF += glob(os.path.join(directory, "*.toml"))
SETTINGS_FILE_FOR_DYNACONF += glob(os.path.join(directory, "*/*.json"))
SETTINGS_FILE_FOR_DYNACONF += glob(os.path.join(directory, "*/*.ini"))
SETTINGS_FILE_FOR_DYNACONF += glob(os.path.join(directory, "*/*.yaml"))
SETTINGS_FILE_FOR_DYNACONF += glob(os.path.join(directory, "*/*.toml"))
_settings = LazySettings(
ENVVAR_PREFIX_FOR_DYNACONF=ENVVAR_PREFIX_FOR_DYNACONF,
SETTINGS_FILE_FOR_DYNACONF=SETTINGS_FILE_FOR_DYNACONF,
MERGE_ENABLED_FOR_DYNACONF=MERGE_ENABLED_FOR_DYNACONF,
)
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# Cache directory for external operations
CACHE_DIR = _settings.get("caching.dir", os.path.join(BASE_DIR, "cache"))
SILENCED_SYSTEM_CHECKS = []
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = _settings.get("secret_key", "DoNotUseInProduction")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = _settings.get("maintenance.debug", False)
INTERNAL_IPS = _settings.get("maintenance.internal_ips", [])
UWSGI = {
"module": "aleksis.core.wsgi",
}
UWSGI_SERVE_STATIC = True
UWSGI_SERVE_MEDIA = False
DEV_SERVER_PORT = 8000
DJANGO_VITE_DEV_SERVER_PORT = DEV_SERVER_PORT + 1
ALLOWED_HOSTS = _settings.get("http.allowed_hosts", [getfqdn(), "localhost", "127.0.0.1", "[::1]"])
BASE_URL = _settings.get(
"http.base_url",
f"http://localhost:{DEV_SERVER_PORT}" if DEBUG else f"https://{ALLOWED_HOSTS[0]}",
)
def generate_trusted_origins():
origins = []
origins += [f"http://{host}" for host in ALLOWED_HOSTS]
origins += [f"https://{host}" for host in ALLOWED_HOSTS]
if DEBUG:
origins += [f"http://{host}:{DEV_SERVER_PORT}" for host in ALLOWED_HOSTS]
origins += [f"http://{host}:{DJANGO_VITE_DEV_SERVER_PORT}" for host in ALLOWED_HOSTS]
return origins
CSRF_TRUSTED_ORIGINS = _settings.get("http.trusted_origins", generate_trusted_origins())
# Application definition
INSTALLED_APPS = [
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.sites",
"django.contrib.staticfiles",
"django.contrib.humanize",
"django_uwsgi",
"django_extensions",
"guardian",
"rules.apps.AutodiscoverRulesConfig",
"haystack",
"polymorphic",
"dj_cleavejs.apps.DjCleaveJSConfig",
"dbbackup",
"django_celery_beat",
"django_celery_results",
"celery_progress",
"health_check.contrib.celery",
"djcelery_email",
"celery_haystack",
"sass_processor",
"django_any_js",
"django_yarnpkg",
"django_vite",
"django_tables2",
"maintenance_mode",
"reversion",
"phonenumber_field",
"django_prometheus",
"django_select2",
"templated_email",
"html2text",
"django_otp.plugins.otp_totp",
"django_otp.plugins.otp_static",
"django_otp.plugins.otp_email",
"django_otp",
"otp_yubikey",
"aleksis.core",
"allauth",
"allauth.account",
"allauth.socialaccount",
"invitations",
"health_check",
"health_check.db",
"health_check.cache",
"health_check.storage",
"health_check.contrib.psutil",
"health_check.contrib.migrations",
"dynamic_preferences",
"dynamic_preferences.users.apps.UserPreferencesConfig",
"impersonate",
"two_factor",
"two_factor.plugins.email",
"two_factor.plugins.phonenumber",
"two_factor.plugins.yubikey",
"two_factor.plugins.webauthn",
"material",
"ckeditor",
"ckeditor_uploader",
"colorfield",
"django_bleach",
"favicon",
"django_filters",
"oauth2_provider",
"rest_framework",
"graphene_django",
"dj_iconify.apps.DjIconifyConfig",
]
merge_app_settings("INSTALLED_APPS", INSTALLED_APPS, True)
INSTALLED_APPS += get_app_packages()
STATICFILES_FINDERS = [
"django.contrib.staticfiles.finders.FileSystemFinder",
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
"sass_processor.finders.CssFinder",
]
MIDDLEWARE = [
# 'django.middleware.cache.UpdateCacheMiddleware',
"django_prometheus.middleware.PrometheusBeforeMiddleware",
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.middleware.locale.LocaleMiddleware",
"django.middleware.http.ConditionalGetMiddleware",
"django.contrib.sites.middleware.CurrentSiteMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django_otp.middleware.OTPMiddleware",
"impersonate.middleware.ImpersonateMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"maintenance_mode.middleware.MaintenanceModeMiddleware",
"aleksis.core.util.middlewares.EnsurePersonMiddleware",
"django_prometheus.middleware.PrometheusAfterMiddleware",
# 'django.middleware.cache.FetchFromCacheMiddleware'
]
ROOT_URLCONF = "aleksis.core.urls"
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
"django.template.context_processors.debug",
"django.template.context_processors.request",
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
"maintenance_mode.context_processors.maintenance_mode",
"dynamic_preferences.processors.global_preferences",
"aleksis.core.util.core_helpers.custom_information_processor",
"aleksis.core.util.context_processors.need_maintenance_response_context_processor",
],
},
},
]
# Attention: The following context processors must accept None
# as first argument (in addition to a HttpRequest object)
NON_REQUEST_CONTEXT_PROCESSORS = [
"django.template.context_processors.i18n",
"django.template.context_processors.tz",
"aleksis.core.util.core_helpers.custom_information_processor",
]
WSGI_APPLICATION = "aleksis.core.wsgi.application"
# Database
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases
DATABASES = {
"default": {
"ENGINE": "django_prometheus.db.backends.postgresql",
"NAME": _settings.get("database.name", "aleksis"),
"USER": _settings.get("database.username", "aleksis"),
"PASSWORD": _settings.get("database.password", None),
"HOST": _settings.get("database.host", "127.0.0.1"),
"PORT": _settings.get("database.port", "5432"),
"CONN_MAX_AGE": _settings.get("database.conn_max_age", None),
"CONN_HEALTH_CHECK": True,
"OPTIONS": _settings.get("database.options", {}),
}
}
# Duplicate default database for out-of-transaction updates
DATABASES["default_oot"] = DATABASES["default"].copy()
DATABASE_ROUTERS = [
"aleksis.core.util.core_helpers.OOTRouter",
]
DATABASE_OOT_LABELS = ["django_celery_results"]
merge_app_settings("DATABASES", DATABASES, False)
PASSWORD_HASHERS = [
"django.contrib.auth.hashers.ScryptPasswordHasher",
"django.contrib.auth.hashers.PBKDF2PasswordHasher",
"django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher",
]
REDIS_HOST = _settings.get("redis.host", "localhost")
REDIS_PORT = _settings.get("redis.port", 6379)
REDIS_DB = _settings.get("redis.database", 0)
REDIS_PASSWORD = _settings.get("redis.password", None)
REDIS_USER = _settings.get("redis.user", None if REDIS_PASSWORD is None else "default")
REDIS_URL = (
f"redis://{REDIS_USER+':'+REDIS_PASSWORD+'@' if REDIS_USER else ''}"
f"{REDIS_HOST}:{REDIS_PORT}/{REDIS_DB}"
)
if _settings.get("caching.redis.enabled", not IN_PYTEST):
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.redis.RedisCache",
"LOCATION": _settings.get("caching.redis.address", REDIS_URL),
}
}
else:
CACHES = {
"default": {
# Use uWSGI if available (will auot-fallback to LocMemCache)
"BACKEND": "django_uwsgi.cache.UwsgiCache"
}
}
INSTALLED_APPS.append("cachalot")
CACHALOT_TIMEOUT = _settings.get("caching.cachalot.timeout", None)
CACHALOT_DATABASES = set(["default", "default_oot"])
SILENCED_SYSTEM_CHECKS += ["cachalot.W001"]
CACHALOT_ENABLED = _settings.get("caching.query_caching", True)
CACHALOT_UNCACHABLE_TABLES = ("django_migrations", "django_session")
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
SESSION_CACHE_ALIAS = "default"
# Password validation
# https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
"NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator",
},
{
"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator",
},
{
"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator",
},
{
"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",
},
]
AUTH_INITIAL_SUPERUSER = {
"username": _settings.get("auth.superuser.username", "admin"),
"password": _settings.get("auth.superuser.password", "admin"),
"email": _settings.get("auth.superuser.email", "[email protected]"),
}
# Authentication backends are dynamically populated
AUTHENTICATION_BACKENDS = []
# Configuration for django-allauth.
# Use custom adapter to override some behaviour, i.e. honour the LDAP backend
SOCIALACCOUNT_ADAPTER = "aleksis.core.util.auth_helpers.OurSocialAccountAdapter"
# Get django-allauth providers from config
_SOCIALACCOUNT_PROVIDERS = _settings.get("auth.providers", None)
if _SOCIALACCOUNT_PROVIDERS:
SOCIALACCOUNT_PROVIDERS = _SOCIALACCOUNT_PROVIDERS.to_dict()
# Add configured social auth providers to INSTALLED_APPS
for provider, config in SOCIALACCOUNT_PROVIDERS.items():
INSTALLED_APPS.append(f"allauth.socialaccount.providers.{provider}")
SOCIALACCOUNT_PROVIDERS[provider] = {k.upper(): v for k, v in config.items()}
# Configure custom forms
ACCOUNT_FORMS = {
"signup": "aleksis.core.forms.AccountRegisterForm",
}
# Use custom adapter
ACCOUNT_ADAPTER = "aleksis.core.util.auth_helpers.OurAccountAdapter"
# Require password confirmation
SIGNUP_PASSWORD_ENTER_TWICE = True
# Allow login by either username or email
ACCOUNT_AUTHENTICATION_METHOD = _settings.get("auth.registration.method", "username_email")
# Require email address to sign up
ACCOUNT_EMAIL_REQUIRED = _settings.get("auth.registration.email_required", True)
SOCIALACCOUNT_EMAIL_REQUIRED = False
# Cooldown for verification mails
ACCOUNT_EMAIL_CONFIRMATION_COOLDOWN = _settings.get("auth.registration.verification_cooldown", 180)
# Require email verification after sign up
ACCOUNT_EMAIL_VERIFICATION = _settings.get("auth.registration.email_verification", "optional")
SOCIALACCOUNT_EMAIL_VERIFICATION = False
# Email subject prefix for verification mails
ACCOUNT_EMAIL_SUBJECT_PREFIX = _settings.get("auth.registration.subject", "[AlekSIS] ")
# Max attempts before login timeout
ACCOUNT_LOGIN_ATTEMPTS_LIMIT = _settings.get("auth.login.login_limit", 5)
# Login timeout after max attempts in seconds
ACCOUNT_LOGIN_ATTEMPTS_TIMEOUT = _settings.get("auth.login.login_timeout", 300)
# Email confirmation field in form
ACCOUNT_SIGNUP_EMAIL_ENTER_TWICE = True
# Enforce uniqueness of email addresses
ACCOUNT_UNIQUE_EMAIL = _settings.get("auth.login.registration.unique_email", True)
# Configurable username validators
ACCOUNT_USERNAME_VALIDATORS = "aleksis.core.util.auth_helpers.custom_username_validators"
# Configuration for django-invitations
# Use custom account adapter
ACCOUNT_ADAPTER = "invitations.models.InvitationsAdapter"
# Expire invitations are configured amout of days
INVITATIONS_INVITATION_EXPIRY = _settings.get("auth.invitation.expiry", 3)
# Use email prefix configured for django-allauth
INVITATIONS_EMAIL_SUBJECT_PREFIX = ACCOUNT_EMAIL_SUBJECT_PREFIX
# Use custom invitation model
INVITATIONS_INVITATION_MODEL = "core.PersonInvitation"
# Use custom invitation form
INVITATIONS_INVITE_FORM = "aleksis.core.forms.PersonCreateInviteForm"
# Display error message if invitation code is invalid
INVITATIONS_GONE_ON_ACCEPT_ERROR = False
# Mark invitation as accepted after signup
INVITATIONS_ACCEPT_INVITE_AFTER_SIGNUP = True
# Configuration for OAuth2 provider
OAUTH2_PROVIDER = {
"SCOPES_BACKEND_CLASS": "aleksis.core.util.auth_helpers.AppScopes",
"OAUTH2_VALIDATOR_CLASS": "aleksis.core.util.auth_helpers.CustomOAuth2Validator",
"OIDC_ENABLED": True,
"OIDC_ISS_ENDPOINT": BASE_URL,
"REFRESH_TOKEN_EXPIRE_SECONDS": _settings.get("oauth2.token_expiry", 86400),
"PKCE_REQUIRED": False,
}
OAUTH2_PROVIDER_APPLICATION_MODEL = "core.OAuthApplication"
OAUTH2_PROVIDER_GRANT_MODEL = "core.OAuthGrant"
OAUTH2_PROVIDER_ACCESS_TOKEN_MODEL = "core.OAuthAccessToken" # noqa: S105
OAUTH2_PROVIDER_ID_TOKEN_MODEL = "core.OAuthIDToken" # noqa: S105
OAUTH2_PROVIDER_REFRESH_TOKEN_MODEL = "core.OAuthRefreshToken" # noqa: S105
_OIDC_RSA_KEY_DEFAULT = "/etc/aleksis/oidc.pem"
_OIDC_RSA_KEY = _settings.get("oauth2.oidc.rsa_key", "/etc/aleksis/oidc.pem")
if "BEGIN RSA PRIVATE KEY" in _OIDC_RSA_KEY:
OAUTH2_PROVIDER["OIDC_RSA_PRIVATE_KEY"] = _OIDC_RSA_KEY
elif _OIDC_RSA_KEY == _OIDC_RSA_KEY_DEFAULT and not os.path.exists(_OIDC_RSA_KEY):
warnings.warn(
(
f"The default OIDC RSA key in {_OIDC_RSA_KEY} does not exist. "
f"RSA will be disabled for now, but creating and configuring a "
f"key is recommended. To silence this warning, set oauth2.oidc.rsa_key "
f"to the empty string in a configuration file."
)
)
elif _OIDC_RSA_KEY:
with open(_OIDC_RSA_KEY, "r") as f:
OAUTH2_PROVIDER["OIDC_RSA_PRIVATE_KEY"] = f.read()
# Configuration for REST framework
REST_FRAMEWORK = {
"DEFAULT_AUTHENTICATION_CLASSES": [
"oauth2_provider.contrib.rest_framework.OAuth2Authentication",
]
}
# Configuration for GraphQL framework
GRAPHENE = {
"SCHEMA": "aleksis.core.schema.schema",
}
# LDAP config
if _settings.get("ldap.uri", None):
# LDAP dependencies are not necessarily installed, so import them here
import ldap # noqa
from django_auth_ldap.config import (
LDAPSearch,
LDAPSearchUnion,
NestedGroupOfNamesType,
NestedGroupOfUniqueNamesType,
PosixGroupType,
)
AUTH_LDAP_GLOBAL_OPTIONS = {
ldap.OPT_NETWORK_TIMEOUT: _settings.get("ldap.network_timeout", 3),
}
# Enable Django's integration to LDAP
AUTHENTICATION_BACKENDS.append("aleksis.core.util.ldap.LDAPBackend")
AUTH_LDAP_SERVER_URI = _settings.get("ldap.uri")
# Optional: non-anonymous bind
if _settings.get("ldap.bind.dn", None):
AUTH_LDAP_BIND_DN = _settings.get("ldap.bind.dn")
AUTH_LDAP_BIND_PASSWORD = _settings.get("ldap.bind.password")
# Keep local password for users to be required to provide their old password on change
AUTH_LDAP_SET_USABLE_PASSWORD = _settings.get("ldap.handle_passwords", True)
# Keep bound as the authenticating user
# Ensures proper read permissions, and ability to change password without admin
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER = True
# The TOML config might contain either one table or an array of tables
_AUTH_LDAP_USER_SETTINGS = _settings.get("ldap.users.search")
if not isinstance(_AUTH_LDAP_USER_SETTINGS, list):
_AUTH_LDAP_USER_SETTINGS = [_AUTH_LDAP_USER_SETTINGS]
# Search attributes to find users by username
AUTH_LDAP_USER_SEARCH = LDAPSearchUnion(
*[
LDAPSearch(
entry["base"],
ldap.SCOPE_SUBTREE,
entry.get("filter", "(uid=%(user)s)"),
)
for entry in _AUTH_LDAP_USER_SETTINGS
]
)
# Mapping of LDAP attributes to Django model fields
AUTH_LDAP_USER_ATTR_MAP = {
"first_name": _settings.get("ldap.users.map.first_name", "givenName"),
"last_name": _settings.get("ldap.users.map.last_name", "sn"),
"email": _settings.get("ldap.users.map.email", "mail"),
}
# Discover flags by LDAP groups
if _settings.get("ldap.groups.search", None):
group_type = _settings.get("ldap.groups.type", "groupOfNames")
# The TOML config might contain either one table or an array of tables
_AUTH_LDAP_GROUP_SETTINGS = _settings.get("ldap.groups.search")
if not isinstance(_AUTH_LDAP_GROUP_SETTINGS, list):
_AUTH_LDAP_GROUP_SETTINGS = [_AUTH_LDAP_GROUP_SETTINGS]
AUTH_LDAP_GROUP_SEARCH = LDAPSearchUnion(
*[
LDAPSearch(
entry["base"],
ldap.SCOPE_SUBTREE,
entry.get("filter", f"(objectClass={group_type})"),
)
for entry in _AUTH_LDAP_GROUP_SETTINGS
]
)
_group_type = _settings.get("ldap.groups.type", "groupOfNames").lower()
if _group_type == "groupofnames":
AUTH_LDAP_GROUP_TYPE = NestedGroupOfNamesType()
elif _group_type == "groupofuniquenames":
AUTH_LDAP_GROUP_TYPE = NestedGroupOfUniqueNamesType()
elif _group_type == "posixgroup":
AUTH_LDAP_GROUP_TYPE = PosixGroupType()
AUTH_LDAP_USER_FLAGS_BY_GROUP = {}
for _flag in ["is_active", "is_staff", "is_superuser"]:
_dn = _settings.get(f"ldap.groups.flags.{_flag}", None)
if _dn:
AUTH_LDAP_USER_FLAGS_BY_GROUP[_flag] = _dn
# Backend admin requires superusers to also be staff members
if (
"is_superuser" in AUTH_LDAP_USER_FLAGS_BY_GROUP
and "is_staff" not in AUTH_LDAP_USER_FLAGS_BY_GROUP
):
AUTH_LDAP_USER_FLAGS_BY_GROUP["is_staff"] = AUTH_LDAP_USER_FLAGS_BY_GROUP[
"is_superuser"
]
# Add ModelBackend last so all other backends get a chance
# to verify passwords first
AUTHENTICATION_BACKENDS.append("django.contrib.auth.backends.ModelBackend")
# Authentication backend for django-allauth.
AUTHENTICATION_BACKENDS.append("allauth.account.auth_backends.AuthenticationBackend")
# Internationalization
# https://docs.djangoproject.com/en/2.1/topics/i18n/
LANGUAGES = [
("en", _("English")),
("de", _("German")),
("uk", _("Ukrainian")),
]
LANGUAGE_CODE = _settings.get("l10n.lang", "en")
TIME_ZONE = _settings.get("l10n.tz", "UTC")
USE_TZ = True
PHONENUMBER_DEFAULT_REGION = _settings.get("l10n.phone_number_country", None)
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL = _settings.get("static.url", "/static/")
MEDIA_URL = _settings.get("media.url", "/media/")
LOGIN_REDIRECT_URL = "index"
LOGOUT_REDIRECT_URL = "index"
STATIC_ROOT = _settings.get("static.root", os.path.join(BASE_DIR, "static"))
MEDIA_ROOT = _settings.get("media.root", os.path.join(BASE_DIR, "media"))
NODE_MODULES_ROOT = CACHE_DIR
YARN_INSTALLED_APPS = [
"cleave.js@^1.6.0",
"@fontsource/roboto@^4.5.5",
"jquery@^3.6.0",
"@materializecss/materialize@~1.0.0",
"material-design-icons-iconfont@^6.7.0",
"select2-materialize@^0.1.8",
"paper-css@^0.4.1",
"jquery-sortablejs@^1.0.1",
"sortablejs@^1.15.0",
"@sentry/tracing@^7.28.0",
"luxon@^2.3.2",
"@iconify/iconify@^2.2.1",
"@iconify/json@^2.1.30",
"@mdi/font@^7.2.96",
"apollo-boost@^0.4.9",
"apollo-link-batch-http@^1.2.14",
"apollo-link-retry@^2.2.16",
"apollo3-cache-persist@^0.14.1",
"deepmerge@^4.2.2",
"graphql@^15.8.0",
"graphql-tag@^2.12.6",
"sass@^1.32",
"vue@^2.7.7",
"vue-apollo@^3.1.0",
"vuetify@^2.6.7",
"vue-router@^3.5.2",
"vue-cookies@^1.8.2",
"vite@^4.0.1",
"vite-plugin-pwa@^0.14.1",
"vite-plugin-top-level-await@^1.2.2",
"@vitejs/plugin-vue2@^2.2.0",
"@rollup/plugin-node-resolve@^15.0.1",
"@rollup/plugin-graphql@^2.0.2",
"@rollup/plugin-virtual@^3.0.1",
"rollup-plugin-license@^3.0.1",
"vue-i18n@^8.0.0",
"browserslist-to-esbuild@^1.2.0",
"@sentry/vue@^7.28.0",
"prettier@^2.8.1",
"eslint@^8.26.0",
"eslint-plugin-vue@^9.7.0",
"eslint-config-prettier@^8.5.0",
"@intlify/eslint-plugin-vue-i18n@^2.0.0",
"stylelint@^14.14.0",
"stylelint-config-standard@^29.0.0",
"stylelint-config-prettier@^9.0.3",
]
merge_app_settings("YARN_INSTALLED_APPS", YARN_INSTALLED_APPS, True)
JS_URL = _settings.get("js_assets.url", STATIC_URL)
JS_ROOT = _settings.get("js_assets.root", os.path.join(NODE_MODULES_ROOT, "node_modules"))
DJANGO_VITE_ASSETS_PATH = os.path.join(NODE_MODULES_ROOT, "vite_bundles")
DJANGO_VITE_DEV_MODE = DEBUG
STATICFILES_DIRS = (
DJANGO_VITE_ASSETS_PATH,
JS_ROOT,
)
ANY_JS = {
"materialize": {"js_url": JS_URL + "/@materializecss/materialize/dist/js/materialize.min.js"},
"jQuery": {"js_url": JS_URL + "/jquery/dist/jquery.min.js"},
"material-design-icons": {
"css_url": JS_URL + "/material-design-icons-iconfont/dist/material-design-icons.css"
},
"paper-css": {"css_url": JS_URL + "/paper-css/paper.min.css"},
"select2-materialize": {
"css_url": JS_URL + "/select2-materialize/select2-materialize.css",
"js_url": JS_URL + "/select2-materialize/index.js",
},
"sortablejs": {"js_url": JS_URL + "/sortablejs/Sortable.min.js"},
"jquery-sortablejs": {"js_url": JS_URL + "/jquery-sortablejs/jquery-sortable.js"},
"Roboto100": {"css_url": JS_URL + "/@fontsource/roboto/100.css"},
"Roboto300": {"css_url": JS_URL + "/@fontsource/roboto/300.css"},
"Roboto400": {"css_url": JS_URL + "/@fontsource/roboto/400.css"},
"Roboto500": {"css_url": JS_URL + "/@fontsource/roboto/500.css"},
"Roboto700": {"css_url": JS_URL + "/@fontsource/roboto/700.css"},
"Roboto900": {"css_url": JS_URL + "/@fontsource/roboto/900.css"},
"Sentry": {"js_url": JS_URL + "/@sentry/tracing/build/bundle.tracing.js"},
"cleavejs": {"js_url": JS_URL + "/cleave.js/dist/cleave.min.js"},
"luxon": {"js_url": JS_URL + "/luxon/build/global/luxon.min.js"},
"iconify": {"js_url": JS_URL + "/@iconify/iconify/dist/iconify.min.js"},
}
merge_app_settings("ANY_JS", ANY_JS, True)
CLEAVE_JS = ANY_JS["cleavejs"]["js_url"]
SASS_PROCESSOR_ENABLED = True
SASS_PROCESSOR_AUTO_INCLUDE = False
SASS_PROCESSOR_CUSTOM_FUNCTIONS = {
"get-colour": "aleksis.core.util.sass_helpers.get_colour",
"get-preference": "aleksis.core.util.sass_helpers.get_preference",
}
SASS_PROCESSOR_INCLUDE_DIRS = [
_settings.get(
"materialize.sass_path", os.path.join(JS_ROOT, "@materializecss", "materialize", "sass")
),
os.path.join(STATIC_ROOT, "public"),
]
ICONIFY_JSON_ROOT = os.path.join(JS_ROOT, "@iconify", "json")
ICONIFY_COLLECTIONS_ALLOWED = ["mdi"]
ADMINS = _settings.get(
"contact.admins", [(AUTH_INITIAL_SUPERUSER["username"], AUTH_INITIAL_SUPERUSER["email"])]
)
SERVER_EMAIL = _settings.get("contact.from", ADMINS[0][1])
DEFAULT_FROM_EMAIL = _settings.get("contact.from", ADMINS[0][1])
MANAGERS = _settings.get("contact.admins", ADMINS)
if _settings.get("mail.server.host", None):
EMAIL_HOST = _settings.get("mail.server.host")
EMAIL_USE_TLS = _settings.get("mail.server.tls", False)
EMAIL_USE_SSL = _settings.get("mail.server.ssl", False)
if _settings.get("mail.server.port", None):
EMAIL_PORT = _settings.get("mail.server.port")
if _settings.get("mail.server.user", None):
EMAIL_HOST_USER = _settings.get("mail.server.user")
EMAIL_HOST_PASSWORD = _settings.get("mail.server.password")
TEMPLATED_EMAIL_BACKEND = "templated_email.backends.vanilla_django"
TEMPLATED_EMAIL_AUTO_PLAIN = True
DYNAMIC_PREFERENCES = {
"REGISTRY_MODULE": "preferences",
}
MAINTENANCE_MODE = _settings.get("maintenance.enabled", None)
MAINTENANCE_MODE_IGNORE_IP_ADDRESSES = _settings.get(
"maintenance.ignore_ips", _settings.get("maintenance.internal_ips", [])
)
MAINTENANCE_MODE_GET_CLIENT_IP_ADDRESS = "aleksis.core.util.core_helpers.get_ip"
MAINTENANCE_MODE_IGNORE_SUPERUSER = True
MAINTENANCE_MODE_STATE_FILE_NAME = _settings.get(
"maintenance.statefile", "maintenance_mode_state.txt"
)
MAINTENANCE_MODE_STATE_BACKEND = "maintenance_mode.backends.DefaultStorageBackend"
DBBACKUP_STORAGE = _settings.get("backup.storage", "django.core.files.storage.FileSystemStorage")
DBBACKUP_STORAGE_OPTIONS = {"location": _settings.get("backup.location", "/var/backups/aleksis")}
DBBACKUP_CLEANUP_KEEP = _settings.get("backup.database.keep", 10)
DBBACKUP_CLEANUP_KEEP_MEDIA = _settings.get("backup.media.keep", 10)
DBBACKUP_GPG_RECIPIENT = _settings.get("backup.gpg_recipient", None)
DBBACKUP_COMPRESS_DB = _settings.get("backup.database.compress", True)
DBBACKUP_ENCRYPT_DB = _settings.get("backup.database.encrypt", DBBACKUP_GPG_RECIPIENT is not None)
DBBACKUP_COMPRESS_MEDIA = _settings.get("backup.media.compress", True)
DBBACKUP_ENCRYPT_MEDIA = _settings.get("backup.media.encrypt", DBBACKUP_GPG_RECIPIENT is not None)
DBBACKUP_CLEANUP_DB = _settings.get("backup.database.clean", True)
DBBACKUP_CLEANUP_MEDIA = _settings.get("backup.media.clean", True)
DBBACKUP_CONNECTOR_MAPPING = {
"django_prometheus.db.backends.postgresql": "dbbackup.db.postgresql.PgDumpConnector",
}
if _settings.get("backup.storage.type", "").lower() == "s3":
DBBACKUP_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
DBBACKUP_STORAGE_OPTIONS = {
key: value for (key, value) in _settings.get("backup.storage.s3").items()
}
IMPERSONATE = {"REQUIRE_SUPERUSER": True, "ALLOW_SUPERUSER": True, "REDIRECT_FIELD_NAME": "next"}
DJANGO_TABLES2_TEMPLATE = "django_tables2/materialize.html"
ANONYMIZE_ENABLED = _settings.get("maintenance.anonymisable", True)
LOGIN_URL = "two_factor:login"
if _settings.get("2fa.call.enabled", False):
if "two_factor.middleware.threadlocals.ThreadLocals" not in MIDDLEWARE:
MIDDLEWARE.insert(
MIDDLEWARE.index("django_otp.middleware.OTPMiddleware") + 1,
"two_factor.middleware.threadlocals.ThreadLocals",
)
TWO_FACTOR_CALL_GATEWAY = "two_factor.gateways.twilio.gateway.Twilio"
if _settings.get("2fa.sms.enabled", False):
if "two_factor.middleware.threadlocals.ThreadLocals" not in MIDDLEWARE:
MIDDLEWARE.insert(
MIDDLEWARE.index("django_otp.middleware.OTPMiddleware") + 1,
"two_factor.middleware.threadlocals.ThreadLocals",
)
TWO_FACTOR_SMS_GATEWAY = "two_factor.gateways.twilio.gateway.Twilio"
if _settings.get("twilio.sid", None):
TWILIO_ACCOUNT_SID = _settings.get("twilio.sid")
TWILIO_AUTH_TOKEN = _settings.get("twilio.token")
TWILIO_CALLER_ID = _settings.get("twilio.callerid")
TWO_FACTOR_WEBAUTHN_RP_NAME = _settings.get("2fa.webauthn.rp_name", "AlekSIS")
CELERY_BROKER_URL = _settings.get("celery.broker", REDIS_URL)
CELERY_RESULT_BACKEND = "django-db"
CELERY_CACHE_BACKEND = "django-cache"
CELERY_BEAT_SCHEDULER = "django_celery_beat.schedulers:DatabaseScheduler"
CELERY_RESULT_EXTENDED = True
if _settings.get("celery.email", False):
EMAIL_BACKEND = "djcelery_email.backends.CeleryEmailBackend"
if _settings.get("dev.uwsgi.celery", DEBUG):
concurrency = _settings.get("celery.uwsgi.concurrency", 2)
UWSGI.setdefault("attach-daemon", [])
UWSGI["attach-daemon"].append(f"celery -A aleksis.core worker --concurrency={concurrency}")
UWSGI["attach-daemon"].append("celery -A aleksis.core beat")
UWSGI["attach-daemon"].append("aleksis-admin vite --no-install serve")
DEFAULT_FAVICON_PATHS = {
"pwa_icon": os.path.join(STATIC_ROOT, "img/aleksis-icon-maskable.png"),
"favicon": os.path.join(STATIC_ROOT, "img/aleksis-favicon.png"),
}
PWA_ICONS_CONFIG = {
"android": [192, 512],
"apple": [76, 114, 152, 180],
"apple_splash": [192],
"microsoft": [144],
}
FAVICON_PATH = os.path.join("public", "favicon")
FAVICON_CONFIG = {
"shortcut icon": [16, 32, 48, 128, 192],
"touch-icon": [196],
"icon": [196],
}
SERVICE_WORKER_PATH = os.path.join(STATIC_ROOT, "sw.js")
SITE_ID = 1
CKEDITOR_CONFIGS = {
"default": {
"toolbar_Basic": [["Source", "-", "Bold", "Italic"]],
"toolbar_Full": [
{
"name": "document",
"items": ["Source", "-", "Save", "NewPage", "Preview", "Print", "-", "Templates"],
},
{
"name": "clipboard",
"items": [
"Cut",
"Copy",
"Paste",
"PasteText",
"PasteFromWord",
"-",
"Undo",
"Redo",
],
},
{"name": "editing", "items": ["Find", "Replace", "-", "SelectAll"]},
{
"name": "insert",
"items": [
"Image",
"Table",
"HorizontalRule",
"Smiley",
"SpecialChar",
"PageBreak",
"Iframe",
],
},
"/",
{
"name": "basicstyles",
"items": [
"Bold",
"Italic",
"Underline",
"Strike",
"Subscript",
"Superscript",
"-",
"RemoveFormat",
],
},
{
"name": "paragraph",
"items": [
"NumberedList",
"BulletedList",
"-",
"Outdent",
"Indent",
"-",
"Blockquote",
"CreateDiv",
"-",
"JustifyLeft",
"JustifyCenter",
"JustifyRight",
"JustifyBlock",
"-",
"BidiLtr",
"BidiRtl",
"Language",
],
},
{"name": "links", "items": ["Link", "Unlink", "Anchor"]},
"/",
{"name": "styles", "items": ["Styles", "Format", "Font", "FontSize"]},
{"name": "colors", "items": ["TextColor", "BGColor"]},
{"name": "tools", "items": ["Maximize", "ShowBlocks"]},
{"name": "about", "items": ["About"]},
{
"name": "customtools",
"items": [
"Preview",
"Maximize",
],
},
],
"toolbar": "Full",
"tabSpaces": 4,
"extraPlugins": ",".join(
[
"uploadimage",
"div",
"autolink",
"autoembed",
"embedsemantic",
"autogrow",
# 'devtools',
"widget",
"lineutils",
"clipboard",
"dialog",
"dialogui",
"elementspath",
]
),
}
}
# Upload path for CKEditor. Relative to MEDIA_ROOT.
CKEDITOR_UPLOAD_PATH = "ckeditor_uploads/"
# Which HTML tags are allowed
BLEACH_ALLOWED_TAGS = ["p", "b", "i", "u", "em", "strong", "a", "div"]
# Which HTML attributes are allowed
BLEACH_ALLOWED_ATTRIBUTES = ["href", "title", "style"]
# Which CSS properties are allowed in 'style' attributes (assuming
# style is an allowed attribute)
BLEACH_ALLOWED_STYLES = ["font-family", "font-weight", "text-decoration", "font-variant"]
# Strip unknown tags if True, replace with HTML escaped characters if
# False
BLEACH_STRIP_TAGS = True
# Strip comments, or leave them in.
BLEACH_STRIP_COMMENTS = True
LOGGING = deepcopy(DEFAULT_LOGGING)
# Set root logging level as default
LOGGING["root"] = {
"handlers": ["console"],
"level": _settings.get("logging.level", "WARNING"),
}
# Configure global log Format
LOGGING["formatters"]["verbose"] = {
"format": "{asctime} {levelname} {name}[{process}]: {message}",
"style": "{",
}
# Add null handler for selective silencing
LOGGING["handlers"]["null"] = {"class": "logging.NullHandler"}
# Make console logging independent of DEBUG
LOGGING["handlers"]["console"]["filters"].remove("require_debug_true")
# Use root log level for console
del LOGGING["handlers"]["console"]["level"]
# Use verbose log format for console
LOGGING["handlers"]["console"]["formatter"] = "verbose"
# Disable exception mails if not desired
if not _settings.get("logging.mail_admins", True):
LOGGING["loggers"]["django"]["handlers"].remove("mail_admins")
# Disable mails on disaalowed host by default
if not _settings.get("logging.disallowed_host", False):
LOGGING["loggers"]["django.security.DisallowedHost"] = {
"handlers": ["null"],
"propagate": False,
}
# Configure logging explicitly for Celery
LOGGING["loggers"]["celery"] = {
"handlers": ["console"],
"level": _settings.get("logging.level", "WARNING"),
"propagate": False,
}
# Set Django log levels
LOGGING["loggers"]["django"]["level"] = _settings.get("logging.level", "WARNING")
LOGGING["loggers"]["django.server"]["level"] = _settings.get("logging.level", "WARNING")
# Rules and permissions
GUARDIAN_RAISE_403 = True
ANONYMOUS_USER_NAME = None
SILENCED_SYSTEM_CHECKS.append("guardian.W001")
# Append authentication backends
AUTHENTICATION_BACKENDS.append("rules.permissions.ObjectPermissionBackend")
HAYSTACK_CONNECTIONS = {
"default": {
"ENGINE": "haystack_redis.RedisEngine",
"PATH": REDIS_URL,
},
}
HAYSTACK_SIGNAL_PROCESSOR = "celery_haystack.signals.CelerySignalProcessor"
CELERY_HAYSTACK_IGNORE_RESULT = True
HAYSTACK_SEARCH_RESULTS_PER_PAGE = 10
DJANGO_EASY_AUDIT_WATCH_REQUEST_EVENTS = False
HEALTH_CHECK = {
"DISK_USAGE_MAX": _settings.get("health.disk_usage_max_percent", 90),
"MEMORY_MIN": _settings.get("health.memory_min_mb", 500),
}
DBBACKUP_CHECK_SECONDS = _settings.get("backup.database.check_seconds", 7200)
MEDIABACKUP_CHECK_SECONDS = _settings.get("backup.media.check_seconds", 7200)
PROMETHEUS_EXPORT_MIGRATIONS = False
PROMETHEUS_METRICS_EXPORT_PORT = _settings.get("prometheus.metrics.port", None)
PROMETHEUS_METRICS_EXPORT_ADDRESS = _settings.get("prometheus.metrucs.address", None)
SECURE_PROXY_SSL_HEADER = ("REQUEST_SCHEME", "https")
FILE_UPLOAD_HANDLERS = [
"django.core.files.uploadhandler.MemoryFileUploadHandler",
"django.core.files.uploadhandler.TemporaryFileUploadHandler",
]
if _settings.get("storage.type", "").lower() == "s3":
INSTALLED_APPS.append("storages")
DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
FILE_UPLOAD_HANDLERS.remove("django.core.files.uploadhandler.MemoryFileUploadHandler")
if _settings.get("storage.s3.static.enabled", False):
STATICFILES_STORAGE = "storages.backends.s3boto3.S3StaticStorage"
AWS_STORAGE_BUCKET_NAME_STATIC = _settings.get("storage.s3.static.bucket_name", "")
AWS_S3_MAX_AGE_SECONDS_CACHED_STATIC = _settings.get(
"storage.s3.static.max_age_seconds", 24 * 60 * 60
)
AWS_REGION = _settings.get("storage.s3.region_name", "")
AWS_ACCESS_KEY_ID = _settings.get("storage.s3.access_key", "")
AWS_SECRET_ACCESS_KEY = _settings.get("storage.s3.secret_key", "")
AWS_SESSION_TOKEN = _settings.get("storage.s3.session_token", "")
AWS_STORAGE_BUCKET_NAME = _settings.get("storage.s3.bucket_name", "")
AWS_LOCATION = _settings.get("storage.s3.location", "")
AWS_S3_ADDRESSING_STYLE = _settings.get("storage.s3.addressing_style", "auto")
AWS_S3_ENDPOINT_URL = _settings.get("storage.s3.endpoint_url", "")
AWS_S3_KEY_PREFIX = _settings.get("storage.s3.key_prefix", "")
AWS_S3_BUCKET_AUTH = _settings.get("storage.s3.bucket_auth", True)
AWS_S3_MAX_AGE_SECONDS = _settings.get("storage.s3.max_age_seconds", 24 * 60 * 60)
AWS_S3_PUBLIC_URL = _settings.get("storage.s3.public_url", "")
AWS_S3_REDUCED_REDUNDANCY = _settings.get("storage.s3.reduced_redundancy", False)
AWS_S3_CONTENT_DISPOSITION = _settings.get("storage.s3.content_disposition", "")
AWS_S3_CONTENT_LANGUAGE = _settings.get("storage.s3.content_language", "")
AWS_S3_METADATA = _settings.get("storage.s3.metadata", {})
AWS_S3_ENCRYPT_KEY = _settings.get("storage.s3.encrypt_key", False)
AWS_S3_KMS_ENCRYPTION_KEY_ID = _settings.get("storage.s3.kms_encryption_key_id", "")
AWS_S3_GZIP = _settings.get("storage.s3.gzip", True)
AWS_S3_SIGNATURE_VERSION = _settings.get("storage.s3.signature_version", None)
AWS_S3_FILE_OVERWRITE = _settings.get("storage.s3.file_overwrite", False)
AWS_S3_VERIFY = _settings.get("storage.s3.verify", True)
AWS_S3_USE_SSL = _settings.get("storage.s3.use_ssl", True)
else:
DEFAULT_FILE_STORAGE = "titofisto.TitofistoStorage"
TITOFISTO_TIMEOUT = 10 * 60
SASS_PROCESSOR_STORAGE = DEFAULT_FILE_STORAGE
SENTRY_ENABLED = _settings.get("health.sentry.enabled", False)
if SENTRY_ENABLED:
import sentry_sdk
from sentry_sdk.integrations.celery import CeleryIntegration
from sentry_sdk.integrations.django import DjangoIntegration
from sentry_sdk.integrations.redis import RedisIntegration
from aleksis.core import __version__
SENTRY_SETTINGS = {
"dsn": _settings.get("health.sentry.dsn"),
"environment": _settings.get("health.sentry.environment"),
"traces_sample_rate": _settings.get("health.sentry.traces_sample_rate", 1.0),
"send_default_pii": _settings.get("health.sentry.send_default_pii", False),
"release": f"aleksis-core@{__version__}",
"in_app_include": "aleksis",
}
sentry_sdk.init(
integrations=[
DjangoIntegration(transaction_style="function_name"),
RedisIntegration(),
CeleryIntegration(),
],
**SENTRY_SETTINGS,
)
SHELL_PLUS_MODEL_IMPORTS_RESOLVER = "django_extensions.collision_resolvers.AppLabelPrefixCR"
SHELL_PLUS_APP_PREFIXES = {
"auth": "auth",
}
SHELL_PLUS_DONT_LOAD = []
merge_app_settings("SHELL_PLUS_APP_PREFIXES", SHELL_PLUS_APP_PREFIXES)
merge_app_settings("SHELL_PLUS_DONT_LOAD", SHELL_PLUS_DONT_LOAD)
X_FRAME_OPTIONS = "SAMEORIGIN"
# Add django-cleanup after all apps to ensure that it gets all signals as last app
INSTALLED_APPS.append("django_cleanup.apps.CleanupConfig")
locals().update(get_app_settings_overrides()) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/settings.py | settings.py |
import rules
from rules import is_superuser
from .models import AdditionalField, Announcement, Group, GroupType, Person
from .util.predicates import (
has_any_object,
has_global_perm,
has_object_perm,
has_person,
is_anonymous,
is_current_person,
is_group_owner,
is_notification_recipient,
is_own_celery_task,
is_site_preference_set,
)
rules.add_perm("core", rules.always_allow)
# Login
login_predicate = is_anonymous
rules.add_perm("core.login_rule", login_predicate)
# Logout
logout_predicate = ~is_anonymous
rules.add_perm("core.logout_rule", logout_predicate)
# Account
view_account_predicate = has_person
rules.add_perm("core.view_account_rule", view_account_predicate)
# 2FA
manage_2fa_predicate = has_person
rules.add_perm("core.manage_2fa_rule", manage_2fa_predicate)
# Social Connections
manage_social_connections_predicate = has_person
rules.add_perm("core.manage_social_connections_rule", manage_social_connections_predicate)
# Authorized tokens
manage_authorized_tokens_predicate = has_person
rules.add_perm("core.manage_authorized_tokens_rule", manage_authorized_tokens_predicate)
# View dashboard
view_dashboard_predicate = is_site_preference_set("general", "anonymous_dashboard") | has_person
rules.add_perm("core.view_dashboard_rule", view_dashboard_predicate)
# View notifications
rules.add_perm("core.view_notifications_rule", has_person)
# Use search
search_predicate = has_person & has_global_perm("core.search")
rules.add_perm("core.search_rule", search_predicate)
# View persons
view_persons_predicate = has_person & (
has_global_perm("core.view_person") | has_any_object("core.view_person", Person)
)
rules.add_perm("core.view_persons_rule", view_persons_predicate)
# View person
view_person_predicate = has_person & (
is_current_person | has_global_perm("core.view_person") | has_object_perm("core.view_person")
)
rules.add_perm("core.view_person_rule", view_person_predicate)
# View person address
view_address_predicate = has_person & (
is_current_person | has_global_perm("core.view_address") | has_object_perm("core.view_address")
)
rules.add_perm("core.view_address_rule", view_address_predicate)
# View person contact details
view_contact_details_predicate = has_person & (
is_current_person
| has_global_perm("core.view_contact_details")
| has_object_perm("core.view_contact_details")
)
rules.add_perm("core.view_contact_details_rule", view_contact_details_predicate)
# View person photo
view_photo_predicate = has_person & (
is_current_person | has_global_perm("core.view_photo") | has_object_perm("core.view_photo")
)
rules.add_perm("core.view_photo_rule", view_photo_predicate)
# View person avatar image
view_avatar_predicate = has_person & (
is_current_person | has_global_perm("core.view_avatar") | has_object_perm("core.view_avatar")
)
rules.add_perm("core.view_avatar_rule", view_avatar_predicate)
# View persons groups
view_groups_predicate = has_person & (
is_current_person
| has_global_perm("core.view_person_groups")
| has_object_perm("core.view_person_groups")
)
rules.add_perm("core.view_person_groups_rule", view_groups_predicate)
# Edit person
edit_person_predicate = has_person & (
is_current_person & is_site_preference_set("account", "editable_fields_person")
| has_global_perm("core.change_person")
| has_object_perm("core.change_person")
)
rules.add_perm("core.edit_person_rule", edit_person_predicate)
# Delete person
delete_person_predicate = has_person & (
has_global_perm("core.delete_person") | has_object_perm("core.delete_person")
)
rules.add_perm("core.delete_person_rule", delete_person_predicate)
# View groups
view_groups_predicate = has_person & (
has_global_perm("core.view_group") | has_any_object("core.view_group", Group)
)
rules.add_perm("core.view_groups_rule", view_groups_predicate)
# View group
view_group_predicate = has_person & (
has_global_perm("core.view_group") | has_object_perm("core.view_group")
)
rules.add_perm("core.view_group_rule", view_group_predicate)
# Edit group
edit_group_predicate = has_person & (
has_global_perm("core.change_group") | has_object_perm("core.change_group")
)
rules.add_perm("core.edit_group_rule", edit_group_predicate)
# Delete group
delete_group_predicate = has_person & (
has_global_perm("core.delete_group") | has_object_perm("core.delete_group")
)
rules.add_perm("core.delete_group_rule", delete_group_predicate)
# Assign child groups to groups
assign_child_groups_to_groups_predicate = has_person & has_global_perm(
"core.assign_child_groups_to_groups"
)
rules.add_perm("core.assign_child_groups_to_groups_rule", assign_child_groups_to_groups_predicate)
# Edit school information
edit_school_information_predicate = has_person & has_global_perm("core.change_school")
rules.add_perm("core.edit_school_information_rule", edit_school_information_predicate)
# Manage data
manage_data_predicate = has_person & has_global_perm("core.manage_data")
rules.add_perm("core.manage_data_rule", manage_data_predicate)
# Mark notification as read
mark_notification_as_read_predicate = has_person & is_notification_recipient
rules.add_perm("core.mark_notification_as_read_rule", mark_notification_as_read_predicate)
# View announcements
view_announcements_predicate = has_person & (
has_global_perm("core.view_announcement")
| has_any_object("core.view_announcement", Announcement)
)
rules.add_perm("core.view_announcements_rule", view_announcements_predicate)
# Create or edit announcement
create_or_edit_announcement_predicate = has_person & (
has_global_perm("core.add_announcement")
& (has_global_perm("core.change_announcement") | has_object_perm("core.change_announcement"))
)
rules.add_perm("core.create_or_edit_announcement_rule", create_or_edit_announcement_predicate)
# Delete announcement
delete_announcement_predicate = has_person & (
has_global_perm("core.delete_announcement") | has_object_perm("core.delete_announcement")
)
rules.add_perm("core.delete_announcement_rule", delete_announcement_predicate)
# Use impersonate
impersonate_predicate = has_person & has_global_perm("core.impersonate")
rules.add_perm("core.impersonate_rule", impersonate_predicate)
# View system status
view_system_status_predicate = has_person & has_global_perm("core.view_system_status")
rules.add_perm("core.view_system_status_rule", view_system_status_predicate)
# View people menu (persons + objects)
rules.add_perm(
"core.view_people_menu_rule",
has_person
& (view_persons_predicate | view_groups_predicate | assign_child_groups_to_groups_predicate),
)
# View person personal details
view_personal_details_predicate = has_person & (
is_current_person
| has_global_perm("core.view_personal_details")
| has_object_perm("core.view_personal_details")
)
rules.add_perm("core.view_personal_details_rule", view_personal_details_predicate)
# Change site preferences
change_site_preferences = has_person & (
has_global_perm("core.change_site_preferences")
| has_object_perm("core.change_site_preferences")
)
rules.add_perm("core.change_site_preferences_rule", change_site_preferences)
# Change person preferences
change_person_preferences = has_person & (
is_current_person
| has_global_perm("core.change_person_preferences")
| has_object_perm("core.change_person_preferences")
)
rules.add_perm("core.change_person_preferences_rule", change_person_preferences)
# Change account preferences
change_account_preferences = has_person
rules.add_perm("core.change_account_preferences_rule", change_account_preferences)
# Change group preferences
change_group_preferences = has_person & (
has_global_perm("core.change_group_preferences")
| has_object_perm("core.change_group_preferences")
| is_group_owner
)
rules.add_perm("core.change_group_preferences_rule", change_group_preferences)
# Edit additional field
change_additional_field_predicate = has_person & (
has_global_perm("core.change_additionalfield") | has_object_perm("core.change_additionalfield")
)
rules.add_perm("core.change_additionalfield_rule", change_additional_field_predicate)
# Edit additional field
create_additional_field_predicate = has_person & (
has_global_perm("core.add_additionalfield") | has_object_perm("core.add_additionalfield")
)
rules.add_perm("core.create_additionalfield_rule", create_additional_field_predicate)
# Delete additional field
delete_additional_field_predicate = has_person & (
has_global_perm("core.delete_additionalfield") | has_object_perm("core.delete_additionalfield")
)
rules.add_perm("core.delete_additionalfield_rule", delete_additional_field_predicate)
# View additional fields
view_additional_fields_predicate = has_person & (
has_global_perm("core.view_additionalfield")
| has_any_object("core.view_additionalfield", AdditionalField)
)
rules.add_perm("core.view_additionalfields_rule", view_additional_fields_predicate)
# View group type
view_group_type_predicate = has_person & (
has_global_perm("core.view_grouptype") | has_object_perm("core.view_grouptype")
)
rules.add_perm("core.view_grouptype_rule", view_group_type_predicate)
# Edit group type
change_group_type_predicate = has_person & (
has_global_perm("core.change_grouptype") | has_object_perm("core.change_grouptype")
)
rules.add_perm("core.edit_grouptype_rule", change_group_type_predicate)
# Create group type
create_group_type_predicate = has_person & (
has_global_perm("core.add_grouptype") | has_object_perm("core.add_grouptype")
)
rules.add_perm("core.create_grouptype_rule", create_group_type_predicate)
# Delete group type
delete_group_type_predicate = has_person & (
has_global_perm("core.delete_grouptype") | has_object_perm("core.delete_grouptype")
)
rules.add_perm("core.delete_grouptype_rule", delete_group_type_predicate)
# View group types
view_group_types_predicate = has_person & (
has_global_perm("core.view_grouptype") | has_any_object("core.view_grouptype", GroupType)
)
rules.add_perm("core.view_grouptypes_rule", view_group_types_predicate)
# Create person
create_person_predicate = has_person & (
has_global_perm("core.add_person") | has_object_perm("core.add_person")
)
rules.add_perm("core.create_person_rule", create_person_predicate)
# Create group
create_group_predicate = has_person & (
has_global_perm("core.add_group") | has_object_perm("core.add_group")
)
rules.add_perm("core.create_group_rule", create_group_predicate)
# School years
view_school_term_predicate = has_person & has_global_perm("core.view_schoolterm")
rules.add_perm("core.view_schoolterm_rule", view_school_term_predicate)
create_school_term_predicate = has_person & has_global_perm("core.add_schoolterm")
rules.add_perm("core.create_schoolterm_rule", create_school_term_predicate)
edit_school_term_predicate = has_person & has_global_perm("core.change_schoolterm")
rules.add_perm("core.edit_schoolterm_rule", edit_school_term_predicate)
# View group stats
view_group_stats_predicate = has_person & (
has_global_perm("core.view_group_stats") | has_object_perm("core.view_group_stats")
)
rules.add_perm("core.view_group_stats_rule", view_group_stats_predicate)
# View data check results
view_data_check_results_predicate = has_person & has_global_perm("core.view_datacheckresult")
rules.add_perm("core.view_datacheckresults_rule", view_data_check_results_predicate)
# Run data checks
run_data_checks_predicate = (
has_person & view_data_check_results_predicate & has_global_perm("core.run_data_checks")
)
rules.add_perm("core.run_data_checks_rule", run_data_checks_predicate)
# Solve data problems
solve_data_problem_predicate = (
has_person & view_data_check_results_predicate & has_global_perm("core.solve_data_problem")
)
rules.add_perm("core.solve_data_problem_rule", solve_data_problem_predicate)
view_dashboard_widget_predicate = has_person & has_global_perm("core.view_dashboardwidget")
rules.add_perm("core.view_dashboardwidget_rule", view_dashboard_widget_predicate)
create_dashboard_widget_predicate = has_person & has_global_perm("core.add_dashboardwidget")
rules.add_perm("core.create_dashboardwidget_rule", create_dashboard_widget_predicate)
edit_dashboard_widget_predicate = has_person & has_global_perm("core.change_dashboardwidget")
rules.add_perm("core.edit_dashboardwidget_rule", edit_dashboard_widget_predicate)
delete_dashboard_widget_predicate = has_person & has_global_perm("core.delete_dashboardwidget")
rules.add_perm("core.delete_dashboardwidget_rule", delete_dashboard_widget_predicate)
edit_dashboard_predicate = is_site_preference_set("general", "dashboard_editing") & has_person
rules.add_perm("core.edit_dashboard_rule", edit_dashboard_predicate)
edit_default_dashboard_predicate = has_person & has_global_perm("core.edit_default_dashboard")
rules.add_perm("core.edit_default_dashboard_rule", edit_default_dashboard_predicate)
# django-allauth
signup_predicate = is_site_preference_set(section="auth", pref="signup_enabled")
rules.add_perm("core.signup_rule", signup_predicate)
change_password_predicate = is_site_preference_set(section="auth", pref="allow_password_change")
rules.add_perm("core.change_password_rule", change_password_predicate)
reset_password_predicate = is_site_preference_set(section="auth", pref="allow_password_reset")
rules.add_perm("core.reset_password_rule", reset_password_predicate)
# django-invitations
invite_enabled_predicate = is_site_preference_set(section="auth", pref="invite_enabled")
rules.add_perm("core.invite_enabled", invite_enabled_predicate)
accept_invite_predicate = has_person & invite_enabled_predicate
rules.add_perm("core.accept_invite_rule", accept_invite_predicate)
invite_predicate = has_person & invite_enabled_predicate & has_global_perm("core.invite")
rules.add_perm("core.invite_rule", invite_predicate)
# OAuth2 permissions
create_oauthapplication_predicate = has_person & has_global_perm("core.add_oauthapplication")
rules.add_perm("core.create_oauthapplication_rule", create_oauthapplication_predicate)
view_oauth_applications_predicate = has_person & has_global_perm("core.view_oauthapplication")
rules.add_perm("core.view_oauthapplications_rule", view_oauth_applications_predicate)
view_oauth_application_predicate = has_person & has_global_perm("core.view_oauthapplication")
rules.add_perm("core.view_oauthapplication_rule", view_oauth_application_predicate)
edit_oauth_application_predicate = has_person & has_global_perm("core.change_oauthapplication")
rules.add_perm("core.edit_oauthapplication_rule", edit_oauth_application_predicate)
delete_oauth_applications_predicate = has_person & has_global_perm("core.delete_oauth_applications")
rules.add_perm("core.delete_oauth_applications_rule", delete_oauth_applications_predicate)
view_django_admin_predicate = has_person & is_superuser
rules.add_perm("core.view_django_admin_rule", view_django_admin_predicate)
# View admin menu
view_admin_menu_predicate = has_person & (
manage_data_predicate
| view_school_term_predicate
| impersonate_predicate
| view_system_status_predicate
| view_announcements_predicate
| view_data_check_results_predicate
| view_oauth_applications_predicate
| view_dashboard_widget_predicate
| view_django_admin_predicate
)
rules.add_perm("core.view_admin_menu_rule", view_admin_menu_predicate)
# Upload and browse files via CKEditor
upload_files_ckeditor_predicate = has_person & has_global_perm("core.upload_files_ckeditor")
rules.add_perm("core.upload_files_ckeditor_rule", upload_files_ckeditor_predicate)
manage_person_permissions_predicate = has_person & is_superuser
rules.add_perm("core.manage_permissions_rule", manage_person_permissions_predicate)
test_pdf_generation_predicate = has_person & has_global_perm("core.test_pdf")
rules.add_perm("core.test_pdf_rule", test_pdf_generation_predicate)
view_progress_predicate = has_person & is_own_celery_task
rules.add_perm("core.view_progress_rule", view_progress_predicate) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/rules.py | rules.py |
import logging
from datetime import timedelta
from django.apps import apps
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import ValidationError
from django.db.models import Model
from django.db.models.aggregates import Count
from django.utils.functional import classproperty
from django.utils.text import slugify
from django.utils.translation import gettext as _
import reversion
from reversion import set_comment
from .mixins import RegistryObject
from .util.celery_progress import ProgressRecorder, recorded_task
from .util.core_helpers import get_site_preferences
from .util.email import send_email
class SolveOption:
"""Define a solve option for one or more data checks.
Solve options are used in order to give the data admin typical
solutions to a data issue detected by a data check.
Example definition
.. code-block:: python
from aleksis.core.data_checks import SolveOption
from django.utils.translation import gettext as _
class DeleteSolveOption(SolveOption):
name = "delete" # has to be unqiue
verbose_name = _("Delete") # should make use of i18n
@classmethod
def solve(cls, check_result: "DataCheckResult"):
check_result.related_object.delete()
check_result.delete()
After the solve option has been successfully executed,
the corresponding data check result has to be deleted.
"""
name: str = "default"
verbose_name: str = ""
@classmethod
def solve(cls, check_result: "DataCheckResult"):
pass
class IgnoreSolveOption(SolveOption):
"""Mark the object with data issues as solved."""
name = "ignore"
verbose_name = _("Ignore problem")
@classmethod
def solve(cls, check_result: "DataCheckResult"):
"""Mark the object as solved without doing anything more."""
check_result.solved = True
check_result.save()
class DataCheck(RegistryObject):
"""Define a data check.
Data checks should be used to search objects of
any type which are broken or need some extra action.
Defining data checks
--------------------
Data checks are defined by inheriting from the class DataCheck
and registering the inherited class in the data check registry.
Example:
``data_checks.py``
******************
.. code-block:: python
from aleksis.core.data_checks import DataCheck, DATA_CHECK_REGISTRY
from django.utils.translation import gettext as _
class ExampleDataCheck(DataCheck):
name = "example" # has to be unique
verbose_name = _("Ensure that there are no examples.")
problem_name = _("There is an example.") # should both make use of i18n
solve_options = {
IgnoreSolveOption.name: IgnoreSolveOption
}
@classmethod
def check_data(cls):
from example_app.models import ExampleModel
wrong_examples = ExampleModel.objects.filter(wrong_value=True)
for example in wrong_examples:
cls.register_result(example)
``models.py``
*************
.. code-block:: python
from .data_checks import ExampleDataCheck
# ...
class ExampleModel(Model):
data_checks = [ExampleDataCheck]
Solve options are used in order to give the data admin typical solutions to this specific issue.
They are defined by inheriting from SolveOption.
More information about defining solve options can be find there.
The dictionary ``solve_options`` should include at least the IgnoreSolveOption,
but preferably also own solve options. The keys in this dictionary
have to be ``<YourOption>SolveOption.name``
and the values must be the corresponding solve option classes.
The class method ``check_data`` does the actual work. In this method
your code should find all objects with issues and should register
them in the result database using the class method ``register_result``.
Data checks have to be registered in their corresponding model.
This can be done by adding a list ``data_checks``
containing the data check classes.
Executing data checks
---------------------
The data checks can be executed by using the
celery task named ``aleksis.core.data_checks.check_data``.
We recommend to create a periodic task in the backend
which executes ``check_data`` on a regular base (e. g. every day).
.. warning::
To use the option described above, you must have setup celery properly.
Notifications about results
---------------------------
The data check tasks can notify persons via email
if there are new data issues. You can set these persons
by adding them to the preference
``Email recipients for data checks problem emails`` in the site configuration.
To enable this feature, you also have to activate
the preference ``Send emails if data checks detect problems``.
""" # noqa: D412
verbose_name: str = ""
problem_name: str = ""
solve_options = {IgnoreSolveOption.name: IgnoreSolveOption}
_current_results = []
@classmethod
def check_data(cls):
"""Find all objects with data issues and register them."""
pass
@classmethod
def run_check_data(cls):
"""Wrap ``check_data`` to ensure that post-processing tasks are run."""
cls.check_data()
cls.delete_old_results()
@classmethod
def solve(cls, check_result: "DataCheckResult", solve_option: str):
"""Execute a solve option for an object detected by this check.
:param check_result: The result item from database
:param solve_option: The name of the solve option that should be executed
"""
with reversion.create_revision():
solve_option_obj = cls.solve_options[solve_option]
set_comment(
_(
f"Solve option '{solve_option_obj.verbose_name}' "
f"for data check '{cls.verbose_name}'"
)
)
solve_option_obj.solve(check_result)
@classmethod
def register_result(cls, instance) -> "DataCheckResult":
"""Register an object with data issues in the result database.
:param instance: The affected object
:return: The database entry
"""
from aleksis.core.models import DataCheckResult
ct = ContentType.objects.get_for_model(instance)
result, __ = DataCheckResult.objects.get_or_create(
data_check=cls.name, content_type=ct, object_id=instance.id
)
# Track all existing problems (for deleting old results)
cls._current_results.append(result)
return result
@classmethod
def delete_old_results(cls):
"""Delete old data check results for problems which exist no longer."""
DataCheckResult = apps.get_model("core", "DataCheckResult")
pks = [r.pk for r in cls._current_results]
old_results = DataCheckResult.objects.filter(data_check=cls.name).exclude(pk__in=pks)
if old_results:
logging.info(f"Delete {old_results.count()} old data check results.")
old_results.delete()
# Reset list with existing problems
cls._current_results = []
@classproperty
def data_checks_choices(cls):
return [(check.name, check.verbose_name) for check in cls.registered_objects_list]
@recorded_task(run_every=timedelta(minutes=15))
def check_data(recorder: ProgressRecorder):
"""Execute all registered data checks and send email if activated."""
for check in recorder.iterate(DataCheck.registered_objects_list):
logging.info(f"Run check: {check.verbose_name}")
check.run_check_data()
if get_site_preferences()["general__data_checks_send_emails"]:
send_emails_for_data_checks()
def send_emails_for_data_checks():
"""Notify one or more recipients about new problems with data.
Recipients can be set in dynamic preferences.
"""
from .models import DataCheckResult # noqa
results = DataCheckResult.objects.filter(solved=False, sent=False)
if results.exists():
results_by_check = results.values("data_check").annotate(count=Count("data_check"))
results_with_checks = []
for result in results_by_check:
results_with_checks.append(
(DataCheck.registered_objects_dict[result["data_check"]], result["count"])
)
recipient_list = [
p.mail_sender
for p in get_site_preferences()["general__data_checks_recipients"]
if p.email
]
for group in get_site_preferences()["general__data_checks_recipient_groups"]:
recipient_list += [p.mail_sender for p in group.announcement_recipients if p.email]
send_email(
template_name="data_checks",
recipient_list=recipient_list,
context={"results": results_with_checks},
)
logging.info("Sent notification email because of unsent data checks")
results.update(sent=True)
class DeactivateDashboardWidgetSolveOption(SolveOption):
name = "deactivate_dashboard_widget"
verbose_name = _("Deactivate DashboardWidget")
@classmethod
def solve(cls, check_result: "DataCheckResult"):
widget = check_result.related_object
widget.active = False
widget.save()
check_result.delete()
class BrokenDashboardWidgetDataCheck(DataCheck):
name = "broken_dashboard_widgets"
verbose_name = _("Ensure that there are no broken DashboardWidgets.")
problem_name = _("The DashboardWidget was reported broken automatically.")
solve_options = {
IgnoreSolveOption.name: IgnoreSolveOption,
DeactivateDashboardWidgetSolveOption.name: DeactivateDashboardWidgetSolveOption,
}
@classmethod
def check_data(cls):
from .models import DashboardWidget
broken_widgets = DashboardWidget.objects.filter(broken=True, active=True)
for widget in broken_widgets:
logging.info("Check DashboardWidget %s", widget)
cls.register_result(widget)
def field_validation_data_check_factory(app_name: str, model_name: str, field_name: str) -> type:
from django.apps import apps
class FieldValidationDataCheck(DataCheck):
name = f"field_validation_{slugify(model_name)}_{slugify(field_name)}"
verbose_name = _(
"Validate field %s of model %s." % (field_name, app_name + "." + model_name)
)
problem_name = _("The field %s couldn't be validated successfully." % field_name)
solve_options = {
IgnoreSolveOption.name: IgnoreSolveOption,
}
@classmethod
def check_data(cls):
model: Model = apps.get_model(app_name, model_name)
for obj in model.objects.all():
try:
model._meta.get_field(field_name).validate(getattr(obj, field_name), obj)
except ValidationError as e:
logging.info(f"Check {model_name} {obj}")
cls.register_result(obj)
FieldValidationDataCheck.__name__ = model_name + "FieldValidationDataCheck"
return FieldValidationDataCheck
field_validation_data_check_factory("core", "CustomMenuItem", "icon") | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/data_checks.py | data_checks.py |
from datetime import datetime
from django.conf import settings
from django.utils.translation import gettext as _
from dbbackup import utils as dbbackup_utils
from dbbackup.storage import get_storage
from django_celery_results.models import TaskResult
from health_check.backends import BaseHealthCheckBackend
from aleksis.core.models import DataCheckResult
class DataChecksHealthCheckBackend(BaseHealthCheckBackend):
"""Checks whether there are unresolved data problems."""
critical_service = False
def check_status(self):
if DataCheckResult.objects.filter(solved=False).exists():
self.add_error(_("There are unresolved data problems."))
def identifier(self):
return self.__class__.__name__
class BaseBackupHealthCheck(BaseHealthCheckBackend):
"""Common base class for backup age checks."""
critical_service = False
content_type = None
configured_seconds = None
def check_status(self):
storage = get_storage()
try:
backups = storage.list_backups(content_type=self.content_type)
except Exception as ex:
self.add_error(_("Error accessing backup storage: {}").format(str(ex)))
return
if backups:
last_backup = backups[:1]
last_backup_time = dbbackup_utils.filename_to_date(last_backup[0])
time_gone_since_backup = datetime.now() - last_backup_time
# Check if backup is older than configured time
if time_gone_since_backup.seconds > self.configured_seconds:
self.add_error(_("Last backup {}!").format(time_gone_since_backup))
else:
self.add_error(_("No backup found!"))
class DbBackupAgeHealthCheck(BaseBackupHealthCheck):
"""Checks if last backup file is less than configured seconds ago."""
content_type = "db"
configured_seconds = settings.DBBACKUP_CHECK_SECONDS
class MediaBackupAgeHealthCheck(BaseBackupHealthCheck):
"""Checks if last backup file is less than configured seconds ago."""
content_type = "media"
configured_seconds = settings.MEDIABACKUP_CHECK_SECONDS
class BackupJobHealthCheck(BaseHealthCheckBackend):
"""Checks if last backup file is less than configured seconds ago."""
critical_service = False
def check_status(self):
task = TaskResult.objects.filter(task_name="aleksis.core.tasks.backup_data").last()
# Check if state is success
if not task:
self.add_error(_("No backup result found!"))
elif task and task.status != "SUCCESS":
self.add_error(f"{task.status} - {task.result}") | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/health_checks.py | health_checks.py |
from textwrap import wrap
from django.template.loader import render_to_string
from django.utils.translation import gettext_lazy as _
import django_tables2 as tables
from django_tables2.utils import A
from .models import Person
from .util.core_helpers import get_site_preferences
class SchoolTermTable(tables.Table):
"""Table to list persons."""
class Meta:
attrs = {"class": "highlight"}
name = tables.LinkColumn("edit_school_term", args=[A("id")])
date_start = tables.Column()
date_end = tables.Column()
edit = tables.LinkColumn(
"edit_school_term",
args=[A("id")],
text=_("Edit"),
attrs={"a": {"class": "btn-flat waves-effect waves-orange orange-text"}},
verbose_name=_("Actions"),
)
class PersonsTable(tables.Table):
"""Table to list persons."""
class Meta:
model = Person
attrs = {"class": "highlight"}
fields = []
first_name = tables.LinkColumn("person_by_id", args=[A("id")])
last_name = tables.LinkColumn("person_by_id", args=[A("id")])
class FullPersonsTable(PersonsTable):
"""Table to list persons."""
photo = tables.Column(verbose_name=_("Photo"), accessor="pk", orderable=False)
address = tables.Column(verbose_name=_("Address"), accessor="pk", orderable=False)
class Meta(PersonsTable.Meta):
fields = (
"photo",
"short_name",
"date_of_birth",
"sex",
"email",
"user__username",
)
sequence = ("photo", "first_name", "last_name", "short_name", "...")
def render_photo(self, value, record):
return render_to_string(
"core/partials/avatar_content.html",
{
"person_or_user": record,
"class": "materialize-circle table-circle",
"img_class": "materialize-circle",
},
self.request,
)
def render_address(self, value, record):
return render_to_string(
"core/partials/address.html",
{
"person": record,
},
self.request,
)
def before_render(self, request):
"""Hide columns if user has no permission to view them."""
if not self.request.user.has_perm("core.view_person_rule"):
self.columns.hide("date_of_birth")
self.columns.hide("sex")
if not self.request.user.has_perm("core.view_contact_details_rule"):
self.columns.hide("email")
if not self.request.user.has_perm("core.view_address"):
self.columns.hide("street")
self.columns.hide("housenumber")
self.columns.hide("postal_code")
self.columns.hide("place")
class GroupsTable(tables.Table):
"""Table to list groups."""
class Meta:
attrs = {"class": "highlight"}
name = tables.LinkColumn("group_by_id", args=[A("id")])
short_name = tables.LinkColumn("group_by_id", args=[A("id")])
school_term = tables.Column()
class AdditionalFieldsTable(tables.Table):
"""Table to list group types."""
class Meta:
attrs = {"class": "hightlight"}
title = tables.LinkColumn("edit_additional_field_by_id", args=[A("id")])
delete = tables.LinkColumn(
"delete_additional_field_by_id",
args=[A("id")],
verbose_name=_("Delete"),
text=_("Delete"),
attrs={"a": {"class": "btn-flat waves-effect waves-red"}},
)
class GroupTypesTable(tables.Table):
"""Table to list group types."""
class Meta:
attrs = {"class": "highlight"}
name = tables.LinkColumn("edit_group_type_by_id", args=[A("id")])
description = tables.LinkColumn("edit_group_type_by_id", args=[A("id")])
delete = tables.LinkColumn(
"delete_group_type_by_id", args=[A("id")], verbose_name=_("Delete"), text=_("Delete")
)
class DashboardWidgetTable(tables.Table):
"""Table to list dashboard widgets."""
class Meta:
attrs = {"class": "highlight"}
widget_name = tables.Column(accessor="pk")
title = tables.LinkColumn("edit_dashboard_widget", args=[A("id")])
active = tables.BooleanColumn(yesno="check,cancel", attrs={"span": {"class": "material-icons"}})
delete = tables.LinkColumn(
"delete_dashboard_widget",
args=[A("id")],
text=_("Delete"),
attrs={"a": {"class": "btn-flat waves-effect waves-red red-text"}},
verbose_name=_("Actions"),
)
def render_widget_name(self, value, record):
return record._meta.verbose_name
class InvitationCodeColumn(tables.Column):
"""Returns invitation code in a more readable format."""
def render(self, value):
packet_size = get_site_preferences()["auth__invite_code_packet_size"]
return "-".join(wrap(value, packet_size))
class InvitationsTable(tables.Table):
"""Table to list persons."""
person = tables.Column()
email = tables.EmailColumn()
sent = tables.DateColumn()
inviter = tables.Column()
key = InvitationCodeColumn()
accepted = tables.BooleanColumn(
yesno="check,cancel", attrs={"span": {"class": "material-icons"}}
)
class PermissionDeleteColumn(tables.LinkColumn):
"""Link column with label 'Delete'."""
def __init__(self, url, **kwargs):
super().__init__(
url,
args=[A("pk")],
text=_("Delete"),
attrs={"a": {"class": "btn-flat waves-effect waves-red red-text"}},
verbose_name=_("Actions"),
**kwargs
)
class PermissionTable(tables.Table):
"""Table to list permissions."""
class Meta:
attrs = {"class": "responsive-table highlight"}
permission = tables.Column()
class ObjectPermissionTable(PermissionTable):
"""Table to list object permissions."""
content_object = tables.Column()
class GlobalPermissionTable(PermissionTable):
"""Table to list global permissions."""
pass
class GroupObjectPermissionTable(ObjectPermissionTable):
"""Table to list assigned group object permissions."""
group = tables.Column()
delete = PermissionDeleteColumn("delete_group_object_permission")
class UserObjectPermissionTable(ObjectPermissionTable):
"""Table to list assigned user object permissions."""
user = tables.Column()
delete = PermissionDeleteColumn("delete_user_object_permission")
class GroupGlobalPermissionTable(GlobalPermissionTable):
"""Table to list assigned global user permissions."""
group = tables.Column()
delete = PermissionDeleteColumn("delete_group_global_permission")
class UserGlobalPermissionTable(GlobalPermissionTable):
"""Table to list assigned global group permissions."""
user = tables.Column()
delete = PermissionDeleteColumn("delete_user_global_permission") | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/tables.py | tables.py |
from textwrap import wrap
from typing import Any, Dict, Optional, Type
from urllib.parse import urlencode, urlparse, urlunparse
from django.apps import apps
from django.conf import settings
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib.auth.models import Group as DjangoGroup
from django.contrib.auth.models import Permission, User
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import PermissionDenied, ValidationError
from django.core.paginator import Paginator
from django.db.models import QuerySet
from django.forms.models import BaseModelForm, modelform_factory
from django.http import (
Http404,
HttpRequest,
HttpResponse,
HttpResponseBadRequest,
HttpResponseRedirect,
HttpResponseServerError,
JsonResponse,
QueryDict,
)
from django.shortcuts import get_object_or_404, redirect, render
from django.template import loader
from django.templatetags.static import static
from django.urls import reverse, reverse_lazy
from django.utils import timezone
from django.utils.decorators import method_decorator
from django.utils.translation import get_language
from django.utils.translation import gettext_lazy as _
from django.views.decorators.cache import never_cache
from django.views.defaults import ERROR_500_TEMPLATE_NAME
from django.views.generic.base import TemplateView, View
from django.views.generic.detail import DetailView, SingleObjectMixin
from django.views.generic.edit import DeleteView, FormView
from django.views.generic.list import ListView
import reversion
from allauth.account.utils import has_verified_email, send_email_confirmation
from allauth.account.views import PasswordChangeView, PasswordResetView, SignupView
from allauth.socialaccount.adapter import get_adapter
from allauth.socialaccount.models import SocialAccount
from django_celery_results.models import TaskResult
from django_filters.views import FilterView
from django_tables2 import RequestConfig, SingleTableMixin, SingleTableView
from dynamic_preferences.forms import preference_form_builder
from graphene_django.views import GraphQLView
from graphql import GraphQLError
from guardian.shortcuts import GroupObjectPermission, UserObjectPermission, get_objects_for_user
from haystack.generic_views import SearchView
from haystack.inputs import AutoQuery
from haystack.query import SearchQuerySet
from haystack.utils.loading import UnifiedIndex
from health_check.views import MainView
from invitations.views import SendInvite
from maintenance_mode.core import set_maintenance_mode
from oauth2_provider.exceptions import OAuthToolkitError
from oauth2_provider.models import get_application_model
from oauth2_provider.views import AuthorizationView
from reversion import set_user
from reversion.views import RevisionMixin
from rules.contrib.views import PermissionRequiredMixin, permission_required
from two_factor import views as two_factor_views
from two_factor.utils import devices_for_user
from two_factor.views.core import LoginView as AllAuthLoginView
from aleksis.core.data_checks import DataCheck, check_data
from .celery import app
from .decorators import pwa_cache
from .filters import (
GroupFilter,
GroupGlobalPermissionFilter,
GroupObjectPermissionFilter,
PersonFilter,
UserGlobalPermissionFilter,
UserObjectPermissionFilter,
)
from .forms import (
AccountRegisterForm,
AnnouncementForm,
AssignPermissionForm,
ChildGroupsForm,
DashboardWidgetOrderFormSet,
EditAdditionalFieldForm,
EditGroupForm,
EditGroupTypeForm,
GroupPreferenceForm,
InvitationCodeForm,
MaintenanceModeForm,
OAuthApplicationForm,
PersonForm,
PersonPreferenceForm,
SchoolTermForm,
SelectPermissionForm,
SitePreferenceForm,
)
from .mixins import AdvancedCreateView, AdvancedDeleteView, AdvancedEditView, SuccessNextMixin
from .models import (
AdditionalField,
Announcement,
DashboardWidget,
DashboardWidgetOrder,
DataCheckResult,
Group,
GroupType,
OAuthApplication,
Person,
PersonInvitation,
SchoolTerm,
)
from .registries import (
group_preferences_registry,
person_preferences_registry,
site_preferences_registry,
)
from .tables import (
AdditionalFieldsTable,
DashboardWidgetTable,
FullPersonsTable,
GroupGlobalPermissionTable,
GroupObjectPermissionTable,
GroupsTable,
GroupTypesTable,
InvitationsTable,
PersonsTable,
SchoolTermTable,
UserGlobalPermissionTable,
UserObjectPermissionTable,
)
from .util import messages
from .util.celery_progress import render_progress_page
from .util.core_helpers import (
generate_random_code,
get_allowed_object_ids,
get_pwa_icons,
get_site_preferences,
has_person,
objectgetter_optional,
)
from .util.forms import PreferenceLayout
from .util.pdf import render_pdf
class LogoView(View):
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
image = request.site.preferences["theme__logo"]
if image:
image = image.url
else:
image = static("img/aleksis-banner.svg")
return redirect(image)
class RenderPDFView(TemplateView):
"""View to render a PDF file from a template.
Makes use of ``render_pdf``.
"""
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
context = self.get_context_data(**kwargs)
return render_pdf(request, self.template_name, context)
class ServiceWorkerView(View):
"""Render serviceworker.js under root URL.
This can't be done by static files,
because the PWA has a scope and
only accepts service worker files from the root URL.
"""
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
return HttpResponse(
open(settings.SERVICE_WORKER_PATH, "rt"), content_type="application/javascript"
)
class ManifestView(View):
"""Build manifest.json for PWA."""
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
prefs = get_site_preferences()
pwa_imgs = get_pwa_icons()
icons = [
{
"src": favicon_img.faviconImage.url,
"sizes": f"{favicon_img.size}x{favicon_img.size}",
"purpose": "maskable any" if prefs["theme__pwa_icon_maskable"] else "any",
}
for favicon_img in pwa_imgs
]
manifest = {
"name": prefs["general__title"],
"short_name": prefs["general__title"],
"description": prefs["general__description"],
"start_url": "/",
"scope": "/",
"lang": get_language(),
"display": "standalone",
"orientation": "any",
"status_bar": "default",
"background_color": "#ffffff",
"theme_color": prefs["theme__primary"],
"icons": icons,
}
return JsonResponse(manifest)
@method_decorator(pwa_cache, name="dispatch")
class OfflineView(TemplateView):
"""Show an error page if there is no internet connection."""
template_name = "offline.html"
@pwa_cache
@permission_required("core.view_dashboard_rule")
def index(request: HttpRequest) -> HttpResponse:
"""View for dashboard."""
context = {}
if has_person(request.user):
person = request.user.person
widgets = person.dashboard_widgets
activities = person.activities.all().order_by("-created")[:5]
notifications = person.notifications.filter(send_at__lte=timezone.now()).order_by(
"-created"
)[:5]
unread_notifications = person.notifications.filter(
send_at__lte=timezone.now(), read=False
).order_by("-created")
announcements = Announcement.objects.at_time().for_person(person)
activities = person.activities.all().order_by("-created")[:5]
else:
person = None
activities = []
notifications = []
unread_notifications = []
widgets = []
announcements = []
if len(widgets) == 0:
# Use default dashboard if there are no widgets
widgets = DashboardWidgetOrder.default_dashboard_widgets
context["default_dashboard"] = True
media = DashboardWidget.get_media(widgets)
show_edit_dashboard_button = not getattr(person, "is_dummy", False)
context["widgets"] = widgets
context["media"] = media
context["show_edit_dashboard_button"] = show_edit_dashboard_button
context["activities"] = activities
context["announcements"] = announcements
return render(request, "core/index.html", context)
@method_decorator(pwa_cache, name="dispatch")
class SchoolTermListView(PermissionRequiredMixin, SingleTableView):
"""Table of all school terms."""
model = SchoolTerm
table_class = SchoolTermTable
permission_required = "core.view_schoolterm_rule"
template_name = "core/school_term/list.html"
@method_decorator(never_cache, name="dispatch")
class SchoolTermCreateView(PermissionRequiredMixin, AdvancedCreateView):
"""Create view for school terms."""
model = SchoolTerm
form_class = SchoolTermForm
permission_required = "core.add_schoolterm_rule"
template_name = "core/school_term/create.html"
success_url = reverse_lazy("school_terms")
success_message = _("The school term has been created.")
@method_decorator(never_cache, name="dispatch")
class SchoolTermEditView(PermissionRequiredMixin, AdvancedEditView):
"""Edit view for school terms."""
model = SchoolTerm
form_class = SchoolTermForm
permission_required = "core.edit_schoolterm"
template_name = "core/school_term/edit.html"
success_url = reverse_lazy("school_terms")
success_message = _("The school term has been saved.")
@pwa_cache
@permission_required("core.view_persons_rule")
def persons(request: HttpRequest) -> HttpResponse:
"""List view listing all persons."""
context = {}
# Get all persons
persons = get_objects_for_user(request.user, "core.view_person", Person.objects.all())
# Get filter
persons_filter = PersonFilter(request.GET, queryset=persons)
context["persons_filter"] = persons_filter
# Build table
persons_table = PersonsTable(persons_filter.qs)
RequestConfig(request).configure(persons_table)
context["persons_table"] = persons_table
return render(request, "core/person/list.html", context)
@pwa_cache
@permission_required("core.view_group_rule", fn=objectgetter_optional(Group, None, False))
def group(request: HttpRequest, id_: int) -> HttpResponse:
"""Detail view for one group."""
context = {}
group = objectgetter_optional(Group, None, False)(request, id_)
context["group"] = group
# Get group
group = Group.objects.get(pk=id_)
# Get members
members = group.members.all()
# Build table
members_table = FullPersonsTable(members)
RequestConfig(request).configure(members_table)
context["members_table"] = members_table
# Get owners
owners = group.owners.all()
# Build table
owners_table = FullPersonsTable(owners)
RequestConfig(request).configure(owners_table)
context["owners_table"] = owners_table
# Get statistics
context["stats"] = group.get_group_stats
return render(request, "core/group/full.html", context)
@pwa_cache
@permission_required("core.view_groups_rule")
def groups(request: HttpRequest) -> HttpResponse:
"""List view for listing all groups."""
context = {}
# Get all groups
groups = get_objects_for_user(request.user, "core.view_group", Group)
# Get filter
groups_filter = GroupFilter(request.GET, queryset=groups)
context["groups_filter"] = groups_filter
# Build table
groups_table = GroupsTable(groups_filter.qs)
RequestConfig(request).configure(groups_table)
context["groups_table"] = groups_table
return render(request, "core/group/list.html", context)
@never_cache
@permission_required("core.assign_child_groups_to_groups_rule")
def groups_child_groups(request: HttpRequest) -> HttpResponse:
"""View for batch-processing assignment from child groups to groups."""
context = {}
# Apply filter
filter_ = GroupFilter(request.GET, queryset=Group.objects.all())
context["filter"] = filter_
# Paginate
paginator = Paginator(filter_.qs, 1)
page_number = request.POST.get("page", request.POST.get("old_page"))
if page_number:
page = paginator.get_page(page_number)
group = page[0]
if "save" in request.POST:
form = ChildGroupsForm(request.POST)
form.is_valid()
if "child_groups" in form.cleaned_data:
group.child_groups.set(form.cleaned_data["child_groups"])
group.save()
messages.success(request, _("The child groups were successfully saved."))
else:
# Init form
form = ChildGroupsForm(initial={"child_groups": group.child_groups.all()})
context["paginator"] = paginator
context["page"] = page
context["group"] = group
context["form"] = form
return render(request, "core/group/child_groups.html", context)
@method_decorator(never_cache, name="dispatch")
class CreatePersonView(PermissionRequiredMixin, AdvancedCreateView):
form_class = PersonForm
model = Person
permission_required = "core.create_person_rule"
template_name = "core/person/create.html"
success_message = _("The person has been saved.")
@method_decorator(never_cache, name="dispatch")
class EditPersonView(PermissionRequiredMixin, RevisionMixin, AdvancedEditView):
form_class = PersonForm
model = Person
permission_required = "core.edit_person_rule"
context_object_name = "person"
template_name = "core/person/edit.html"
success_message = _("The person has been saved.")
def get_form_kwargs(self):
kwargs = super().get_form_kwargs()
kwargs["request"] = self.request
return kwargs
def form_valid(self, form):
if self.object == self.request.user.person:
# Get all changed fields and send a notification about them
notification_fields = get_site_preferences()["account__notification_on_person_change"]
send_notification_fields = set(form.changed_data).intersection(set(notification_fields))
if send_notification_fields:
self.object.notify_about_changed_data(send_notification_fields)
return super().form_valid(form)
def get_group_by_id(request: HttpRequest, id_: Optional[int] = None):
if id_:
return get_object_or_404(Group, id=id_)
else:
return None
@never_cache
@permission_required("core.edit_group_rule", fn=objectgetter_optional(Group, None, False))
def edit_group(request: HttpRequest, id_: Optional[int] = None) -> HttpResponse:
"""View to edit or create a group."""
context = {}
group = objectgetter_optional(Group, None, False)(request, id_)
context["group"] = group
if id_:
# Edit form for existing group
edit_group_form = EditGroupForm(request.POST or None, instance=group)
else:
# Empty form to create a new group
if request.user.has_perm("core.create_group_rule"):
edit_group_form = EditGroupForm(request.POST or None)
else:
raise PermissionDenied()
if request.method == "POST":
if edit_group_form.is_valid():
with reversion.create_revision():
set_user(request.user)
group = edit_group_form.save(commit=True)
messages.success(request, _("The group has been saved."))
return redirect("group_by_id", group.pk)
context["edit_group_form"] = edit_group_form
return render(request, "core/group/edit.html", context)
@method_decorator(pwa_cache, name="dispatch")
class SystemStatus(PermissionRequiredMixin, MainView):
"""View giving information about the system status."""
template_name = "core/pages/system_status.html"
permission_required = "core.view_system_status_rule"
context = {}
def get(self, request, *args, **kwargs):
task_results = []
if app.control.inspect().registered_tasks():
job_list = list(app.control.inspect().registered_tasks().values())[0]
for job in job_list:
task_results.append(
TaskResult.objects.filter(task_name=job).order_by("date_done").last()
)
context = {
"plugins": self.plugins,
"tasks": task_results,
"DEBUG": settings.DEBUG,
"form": MaintenanceModeForm(),
}
return self.render_to_response(context)
def post(self, request, *args, **kwargs):
form = MaintenanceModeForm(request.POST)
if form.is_valid():
mode = form.cleaned_data.get("maintenance_mode")
else:
return HttpResponseBadRequest()
if not request.user.is_superuser:
return self.handle_no_permission()
set_maintenance_mode(mode)
if mode:
messages.success(request, _("Maintenance mode was turned on successfully."))
else:
messages.success(request, _("Maintenance mode was turned off successfully."))
return self.get(request, *args, **kwargs)
class SystemStatusAPIView(PermissionRequiredMixin, MainView):
"""Provide information about system status as JSON."""
permission_required = "core.view_system_status_rule"
@method_decorator(never_cache)
def get(self, request, *args, **kwargs):
status_code = 500 if self.errors else 200
return self.render_to_response_json(self.plugins, status_code)
class TestPDFGenerationView(PermissionRequiredMixin, RenderPDFView):
template_name = "core/pages/test_pdf.html"
permission_required = "core.test_pdf_rule"
@pwa_cache
@permission_required("core.view_announcements_rule")
def announcements(request: HttpRequest) -> HttpResponse:
"""List view of announcements."""
context = {}
# Get all announcements
announcements = Announcement.objects.all()
context["announcements"] = announcements
return render(request, "core/announcement/list.html", context)
@never_cache
@permission_required(
"core.create_or_edit_announcement_rule", fn=objectgetter_optional(Announcement, None, False)
)
def announcement_form(request: HttpRequest, id_: Optional[int] = None) -> HttpResponse:
"""View to create or edit an announcement."""
context = {}
announcement = objectgetter_optional(Announcement, None, False)(request, id_)
if announcement:
# Edit form for existing announcement
form = AnnouncementForm(request.POST or None, instance=announcement)
context["mode"] = "edit"
else:
# Empty form to create new announcement
form = AnnouncementForm(request.POST or None)
context["mode"] = "add"
if request.method == "POST":
if form.is_valid():
form.save()
messages.success(request, _("The announcement has been saved."))
return redirect("announcements")
context["form"] = form
return render(request, "core/announcement/form.html", context)
@permission_required(
"core.delete_announcement_rule", fn=objectgetter_optional(Announcement, None, False)
)
def delete_announcement(request: HttpRequest, id_: int) -> HttpResponse:
"""View to delete an announcement."""
if request.method == "POST":
announcement = objectgetter_optional(Announcement, None, False)(request, id_)
announcement.delete()
messages.success(request, _("The announcement has been deleted."))
return redirect("announcements")
@permission_required("core.search_rule")
def searchbar_snippets(request: HttpRequest) -> HttpResponse:
"""View to return HTML snippet with searchbar autocompletion results."""
query = request.GET.get("q", "")
limit = int(request.GET.get("limit", "5"))
indexed_models = UnifiedIndex().get_indexed_models()
allowed_object_ids = get_allowed_object_ids(request, indexed_models)
results = (
SearchQuerySet().filter(id__in=allowed_object_ids).filter(text=AutoQuery(query))[:limit]
)
context = {"results": results}
return render(request, "search/searchbar_snippets.html", context)
@method_decorator(pwa_cache, name="dispatch")
class PermissionSearchView(PermissionRequiredMixin, SearchView):
"""Wrapper to apply permission to haystack's search view."""
permission_required = "core.search_rule"
def get_context_data(self, *, object_list=None, **kwargs):
queryset = object_list if object_list is not None else self.object_list
indexed_models = UnifiedIndex().get_indexed_models()
allowed_object_ids = get_allowed_object_ids(self.request, indexed_models)
queryset = queryset.filter(id__in=allowed_object_ids)
return super().get_context_data(object_list=queryset, **kwargs)
@never_cache
def preferences(
request: HttpRequest,
registry_name: str = "person",
pk: Optional[int] = None,
section: Optional[str] = None,
) -> HttpResponse:
"""View for changing preferences."""
context = {}
# Decide which registry to use and check preferences
if registry_name == "site":
registry = site_preferences_registry
instance = request.site
form_class = SitePreferenceForm
if not request.user.has_perm("core.change_site_preferences_rule", instance):
raise PermissionDenied()
elif registry_name == "person":
registry = person_preferences_registry
instance = objectgetter_optional(Person, "request.user.person", True)(request, pk)
form_class = PersonPreferenceForm
if not request.user.has_perm("core.change_person_preferences_rule", instance):
raise PermissionDenied()
elif registry_name == "group":
registry = group_preferences_registry
instance = objectgetter_optional(Group, None, False)(request, pk)
form_class = GroupPreferenceForm
if not request.user.has_perm("core.change_group_preferences_rule", instance):
raise PermissionDenied()
else:
# Invalid registry name passed from URL
raise Http404(_("The requested preference registry does not exist"))
if not section and len(registry.sections()) > 0:
default_section = list(registry.sections())[0]
if instance:
return redirect(f"preferences_{registry_name}", instance.pk, default_section)
else:
return redirect(f"preferences_{registry_name}", default_section)
# Build final form from dynamic-preferences
form_class = preference_form_builder(form_class, instance=instance, section=section)
# Get layout
form_class.layout = PreferenceLayout(form_class, section=section)
if request.method == "POST":
form = form_class(request.POST, request.FILES or None)
if form.is_valid():
form.update_preferences()
messages.success(request, _("The preferences have been saved successfully."))
else:
form = form_class()
context["registry"] = registry
context["registry_name"] = registry_name
context["section"] = section
context["registry_url"] = "preferences_" + registry_name
context["form"] = form
context["instance"] = instance
return render(request, "dynamic_preferences/form.html", context)
@permission_required("core.delete_person_rule", fn=objectgetter_optional(Person))
def delete_person(request: HttpRequest, id_: int) -> HttpResponse:
"""View to delete an person."""
person = objectgetter_optional(Person)(request, id_)
with reversion.create_revision():
set_user(request.user)
person.save()
person.delete()
messages.success(request, _("The person has been deleted."))
return redirect("persons")
@permission_required("core.delete_group_rule", fn=objectgetter_optional(Group))
def delete_group(request: HttpRequest, id_: int) -> HttpResponse:
"""View to delete an group."""
group = objectgetter_optional(Group)(request, id_)
with reversion.create_revision():
set_user(request.user)
group.save()
group.delete()
messages.success(request, _("The group has been deleted."))
return redirect("groups")
@never_cache
@permission_required(
"core.change_additionalfield_rule", fn=objectgetter_optional(AdditionalField, None, False)
)
def edit_additional_field(request: HttpRequest, id_: Optional[int] = None) -> HttpResponse:
"""View to edit or create a additional_field."""
context = {}
additional_field = objectgetter_optional(AdditionalField, None, False)(request, id_)
context["additional_field"] = additional_field
if id_:
# Edit form for existing additional_field
edit_additional_field_form = EditAdditionalFieldForm(
request.POST or None, instance=additional_field
)
else:
if request.user.has_perm("core.create_additionalfield_rule"):
# Empty form to create a new additional_field
edit_additional_field_form = EditAdditionalFieldForm(request.POST or None)
else:
raise PermissionDenied()
if request.method == "POST":
if edit_additional_field_form.is_valid():
edit_additional_field_form.save(commit=True)
messages.success(request, _("The additional field has been saved."))
return redirect("additional_fields")
context["edit_additional_field_form"] = edit_additional_field_form
return render(request, "core/additional_field/edit.html", context)
@pwa_cache
@permission_required("core.view_additionalfields_rule")
def additional_fields(request: HttpRequest) -> HttpResponse:
"""List view for listing all additional fields."""
context = {}
# Get all additional fields
additional_fields = get_objects_for_user(
request.user, "core.view_additionalfield", AdditionalField
)
# Build table
additional_fields_table = AdditionalFieldsTable(additional_fields)
RequestConfig(request).configure(additional_fields_table)
context["additional_fields_table"] = additional_fields_table
return render(request, "core/additional_field/list.html", context)
@permission_required(
"core.delete_additionalfield_rule", fn=objectgetter_optional(AdditionalField, None, False)
)
def delete_additional_field(request: HttpRequest, id_: int) -> HttpResponse:
"""View to delete an additional field."""
additional_field = objectgetter_optional(AdditionalField, None, False)(request, id_)
additional_field.delete()
messages.success(request, _("The additional field has been deleted."))
return redirect("additional_fields")
@never_cache
@permission_required("core.change_grouptype_rule", fn=objectgetter_optional(GroupType, None, False))
def edit_group_type(request: HttpRequest, id_: Optional[int] = None) -> HttpResponse:
"""View to edit or create a group_type."""
context = {}
group_type = objectgetter_optional(GroupType, None, False)(request, id_)
context["group_type"] = group_type
if id_:
# Edit form for existing group_type
edit_group_type_form = EditGroupTypeForm(request.POST or None, instance=group_type)
else:
# Empty form to create a new group_type
edit_group_type_form = EditGroupTypeForm(request.POST or None)
if request.method == "POST":
if edit_group_type_form.is_valid():
edit_group_type_form.save(commit=True)
messages.success(request, _("The group type has been saved."))
return redirect("group_types")
context["edit_group_type_form"] = edit_group_type_form
return render(request, "core/group_type/edit.html", context)
@pwa_cache
@permission_required("core.view_grouptypes_rule")
def group_types(request: HttpRequest) -> HttpResponse:
"""List view for listing all group types."""
context = {}
# Get all group types
group_types = get_objects_for_user(request.user, "core.view_grouptype", GroupType)
# Build table
group_types_table = GroupTypesTable(group_types)
RequestConfig(request).configure(group_types_table)
context["group_types_table"] = group_types_table
return render(request, "core/group_type/list.html", context)
@permission_required("core.delete_grouptype_rule", fn=objectgetter_optional(GroupType, None, False))
def delete_group_type(request: HttpRequest, id_: int) -> HttpResponse:
"""View to delete an group_type."""
group_type = objectgetter_optional(GroupType, None, False)(request, id_)
group_type.delete()
messages.success(request, _("The group type has been deleted."))
return redirect("group_types")
@method_decorator(pwa_cache, name="dispatch")
class DataCheckView(PermissionRequiredMixin, ListView):
permission_required = "core.view_datacheckresults_rule"
model = DataCheckResult
template_name = "core/data_check/list.html"
context_object_name = "results"
def get_queryset(self) -> QuerySet:
return (
DataCheckResult.objects.filter(content_type__app_label__in=apps.app_configs.keys())
.filter(solved=False)
.order_by("data_check")
)
def get_context_data(self, **kwargs: Any) -> dict[str, Any]:
context = super().get_context_data(**kwargs)
context["registered_checks"] = DataCheck.registered_objects_list
return context
@method_decorator(pwa_cache, name="dispatch")
class RunDataChecks(PermissionRequiredMixin, View):
permission_required = "core.run_data_checks_rule"
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
result = check_data.delay()
return render_progress_page(
request,
result,
title=_("Progress: Run data checks"),
progress_title=_("Run data checks …"),
success_message=_("The data checks were run successfully."),
error_message=_("There was a problem while running data checks."),
back_url="/data_checks/",
)
@method_decorator(pwa_cache, name="dispatch")
class SolveDataCheckView(PermissionRequiredMixin, RevisionMixin, DetailView):
queryset = DataCheckResult.objects.all()
permission_required = "core.solve_data_problem_rule"
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
solve_option = self.kwargs["solve_option"]
result = self.get_object()
if solve_option in result.related_check.solve_options:
solve_option_obj = result.related_check.solve_options[solve_option]
msg = _(
f"The solve option '{solve_option_obj.verbose_name}' "
f"has been executed on the object '{result.related_object}' "
f"(type: {result.related_object._meta.verbose_name})."
)
result.solve(solve_option)
messages.success(request, msg)
return redirect("check_data")
else:
raise Http404(_("The requested solve option does not exist"))
@method_decorator(pwa_cache, name="dispatch")
class DashboardWidgetListView(PermissionRequiredMixin, SingleTableView):
"""Table of all dashboard widgets."""
model = DashboardWidget
table_class = DashboardWidgetTable
permission_required = "core.view_dashboardwidget_rule"
template_name = "core/dashboard_widget/list.html"
def get_context_data(self, **kwargs: Any) -> dict[str, Any]:
context = super().get_context_data(**kwargs)
context["widget_types"] = [
(ContentType.objects.get_for_model(m, False), m)
for m in DashboardWidget.registered_objects_list
]
return context
@method_decorator(never_cache, name="dispatch")
class DashboardWidgetEditView(PermissionRequiredMixin, AdvancedEditView):
"""Edit view for dashboard widgets."""
def get_form_class(self) -> Type[BaseModelForm]:
return modelform_factory(self.object.__class__, fields=self.fields)
model = DashboardWidget
fields = "__all__"
permission_required = "core.edit_dashboardwidget_rule"
template_name = "core/dashboard_widget/edit.html"
success_url = reverse_lazy("dashboard_widgets")
success_message = _("The dashboard widget has been saved.")
@method_decorator(never_cache, name="dispatch")
class DashboardWidgetCreateView(PermissionRequiredMixin, AdvancedCreateView):
"""Create view for dashboard widgets."""
def get_model(self, request, *args, **kwargs):
app_label = kwargs.get("app")
model = kwargs.get("model")
ct = get_object_or_404(ContentType, app_label=app_label, model=model)
return ct.model_class()
def get_context_data(self, **kwargs: Any) -> dict[str, Any]:
context = super().get_context_data(**kwargs)
context["model"] = self.model
return context
def get(self, request, *args, **kwargs):
self.model = self.get_model(request, *args, **kwargs)
return super().get(request, *args, **kwargs)
def post(self, request, *args, **kwargs):
self.model = self.get_model(request, *args, **kwargs)
return super().post(request, *args, **kwargs)
fields = "__all__"
permission_required = "core.add_dashboardwidget_rule"
template_name = "core/dashboard_widget/create.html"
success_url = reverse_lazy("dashboard_widgets")
success_message = _("The dashboard widget has been created.")
class DashboardWidgetDeleteView(PermissionRequiredMixin, AdvancedDeleteView):
"""Delete view for dashboard widgets."""
model = DashboardWidget
permission_required = "core.delete_dashboardwidget_rule"
template_name = "core/pages/delete.html"
success_url = reverse_lazy("dashboard_widgets")
success_message = _("The dashboard widget has been deleted.")
class EditDashboardView(PermissionRequiredMixin, View):
"""View for editing dashboard widget order."""
permission_required = "core.edit_dashboard_rule"
def get_context_data(self, request, **kwargs):
context = {}
self.default_dashboard = kwargs.get("default", False)
if (
self.default_dashboard
and not request.user.has_perm("core.edit_default_dashboard_rule")
or getattr(request.user, "person", True)
and getattr(request.user.person, "is_dummy", False)
):
raise PermissionDenied()
context["default_dashboard"] = self.default_dashboard
widgets = (
request.user.person.dashboard_widgets
if not self.default_dashboard
else DashboardWidgetOrder.default_dashboard_widgets
)
not_used_widgets = DashboardWidget.objects.exclude(pk__in=[w.pk for w in widgets]).filter(
active=True
)
context["widgets"] = widgets
context["not_used_widgets"] = not_used_widgets
order = 10
initial = []
for widget in widgets:
initial.append({"pk": widget, "order": order})
order += 10
for widget in not_used_widgets:
initial.append({"pk": widget, "order": 0})
formset = DashboardWidgetOrderFormSet(
request.POST or None, initial=initial, prefix="widget_order"
)
context["formset"] = formset
return context
def post(self, request, **kwargs):
context = self.get_context_data(request, **kwargs)
if context["formset"].is_valid():
added_objects = []
for form in context["formset"]:
if not form.cleaned_data["order"]:
continue
obj, created = DashboardWidgetOrder.objects.update_or_create(
widget=form.cleaned_data["pk"],
person=request.user.person if not self.default_dashboard else None,
default=self.default_dashboard,
defaults={"order": form.cleaned_data["order"]},
)
added_objects.append(obj.pk)
DashboardWidgetOrder.objects.filter(
person=request.user.person if not self.default_dashboard else None,
default=self.default_dashboard,
).exclude(pk__in=added_objects).delete()
if not self.default_dashboard:
msg = _("Your dashboard configuration has been saved successfully.")
else:
msg = _("The configuration of the default dashboard has been saved successfully.")
messages.success(request, msg)
return redirect("index" if not self.default_dashboard else "dashboard_widgets")
def get(self, request, **kwargs):
context = self.get_context_data(request, **kwargs)
return render(request, "core/edit_dashboard.html", context=context)
class InvitePerson(PermissionRequiredMixin, SingleTableView, SendInvite):
"""View to invite a person to register an account."""
template_name = "invitations/forms/_invite.html"
permission_required = "core.invite_rule"
model = PersonInvitation
table_class = InvitationsTable
context = {}
def dispatch(self, request, *args, **kwargs):
if not get_site_preferences()["auth__invite_enabled"]:
return HttpResponseRedirect(reverse_lazy("invite_disabled"))
return super().dispatch(request, *args, **kwargs)
# Get queryset of invitations
def get_context_data(self, **kwargs):
queryset = kwargs.pop("object_list", None)
if queryset is None:
self.object_list = self.model.objects.all()
return super().get_context_data(**kwargs)
class EnterInvitationCode(FormView):
"""View to enter an invitation code."""
template_name = "invitations/enter.html"
form_class = InvitationCodeForm
def form_valid(self, form):
code = "".join(form.cleaned_data["code"].lower().split("-"))
# Check if valid invitations exists
if (
PersonInvitation.objects.filter(key=code).exists()
and not PersonInvitation.objects.get(key=code).accepted
and not PersonInvitation.objects.get(key=code).key_expired()
):
self.request.session["invitation_code"] = code
return redirect("account_signup")
return redirect("invitations:accept-invite", code)
class GenerateInvitationCode(View):
"""View to generate an invitation code."""
def get(self, request):
# Build code
length = get_site_preferences()["auth__invite_code_length"]
packet_size = get_site_preferences()["auth__invite_code_packet_size"]
code = generate_random_code(length, packet_size)
# Create invitation object
invitation = PersonInvitation.objects.create(
email="", inviter=request.user, key=code, sent=timezone.now()
)
# Make code more readable
code = "-".join(wrap(invitation.key, 5))
# Generate success message and print code
messages.success(
request,
_(f"The invitation was successfully created. The invitation code is {code}"),
)
return redirect("invite_person")
@method_decorator(pwa_cache, name="dispatch")
class PermissionsListBaseView(PermissionRequiredMixin, SingleTableMixin, FilterView):
"""Base view for list of all permissions."""
template_name = "core/perms/list.html"
permission_required = "core.manage_permissions_rule"
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["assign_form"] = SelectPermissionForm()
context["tab"] = self.tab
return context
@method_decorator(pwa_cache, name="dispatch")
class UserGlobalPermissionsListBaseView(PermissionsListBaseView):
"""List all global user permissions."""
filterset_class = UserGlobalPermissionFilter
table_class = UserGlobalPermissionTable
tab = "user_global"
@method_decorator(pwa_cache, name="dispatch")
class GroupGlobalPermissionsListBaseView(PermissionsListBaseView):
"""List all global group permissions."""
filterset_class = GroupGlobalPermissionFilter
table_class = GroupGlobalPermissionTable
tab = "group_global"
@method_decorator(pwa_cache, name="dispatch")
class UserObjectPermissionsListBaseView(PermissionsListBaseView):
"""List all object user permissions."""
filterset_class = UserObjectPermissionFilter
table_class = UserObjectPermissionTable
tab = "user_object"
@method_decorator(pwa_cache, name="dispatch")
class GroupObjectPermissionsListBaseView(PermissionsListBaseView):
"""List all object group permissions."""
filterset_class = GroupObjectPermissionFilter
table_class = GroupObjectPermissionTable
tab = "group_object"
@method_decorator(pwa_cache, name="dispatch")
class SelectPermissionForAssignView(PermissionRequiredMixin, FormView):
"""View for selecting a permission to assign."""
permission_required = "core.manage_permissions_rule"
form_class = SelectPermissionForm
def form_valid(self, form: SelectPermissionForm) -> HttpResponse:
url = reverse("assign_permission", args=[form.cleaned_data["selected_permission"].pk])
params = {"next": self.request.GET["next"]} if "next" in self.request.GET else {}
return redirect(f"{url}?{urlencode(params)}")
def form_invalid(self, form: SelectPermissionForm) -> HttpResponse:
return redirect("manage_group_object_permissions")
class AssignPermissionView(SuccessNextMixin, PermissionRequiredMixin, DetailView, FormView):
"""View for assigning a permission to users/groups for all/some objects."""
permission_required = "core.manage_permissions"
queryset = Permission.objects.all()
template_name = "core/perms/assign.html"
form_class = AssignPermissionForm
success_url = "manage_user_global_permissions"
def get_form_kwargs(self) -> Dict[str, Any]:
kwargs = super().get_form_kwargs()
kwargs["permission"] = self.get_object()
return kwargs
def get_context_data(self, **kwargs: Any) -> Dict[str, Any]:
# Overwrite get_context_data to ensure correct function call order
self.object = self.get_object()
context = super().get_context_data(**kwargs)
return context
def form_valid(self, form: AssignPermissionForm) -> HttpResponse:
form.save_perms()
messages.success(
self.request,
_("We have successfully assigned the permissions."),
)
return redirect(self.get_success_url())
class UserGlobalPermissionDeleteView(PermissionRequiredMixin, AdvancedDeleteView):
"""Delete a global user permission."""
permission_required = "core.manage_permissions"
model = User.user_permissions.through
success_message = _("The global user permission has been deleted.")
success_url = reverse_lazy("manage_user_global_permissions")
template_name = "core/pages/delete.html"
class GroupGlobalPermissionDeleteView(PermissionRequiredMixin, AdvancedDeleteView):
"""Delete a global group permission."""
permission_required = "core.manage_permissions"
model = DjangoGroup.permissions.through
success_message = _("The global group permission has been deleted.")
success_url = reverse_lazy("manage_group_global_permissions")
template_name = "core/pages/delete.html"
class UserObjectPermissionDeleteView(PermissionRequiredMixin, AdvancedDeleteView):
"""Delete a object user permission."""
permission_required = "core.manage_permissions"
model = UserObjectPermission
success_message = _("The object user permission has been deleted.")
success_url = reverse_lazy("manage_user_object_permissions")
template_name = "core/pages/delete.html"
class GroupObjectPermissionDeleteView(PermissionRequiredMixin, AdvancedDeleteView):
"""Delete a object group permission."""
permission_required = "core.manage_permissions"
model = GroupObjectPermission
success_message = _("The object group permission has been deleted.")
success_url = reverse_lazy("manage_group_object_permissions")
template_name = "core/pages/delete.html"
@method_decorator(pwa_cache, name="dispatch")
class OAuth2ListView(PermissionRequiredMixin, ListView):
"""List view for all the applications."""
permission_required = "core.view_oauthapplications_rule"
context_object_name = "applications"
template_name = "oauth2_provider/application/list.html"
def get_queryset(self):
return OAuthApplication.objects.all()
@method_decorator(pwa_cache, name="dispatch")
class OAuth2DetailView(PermissionRequiredMixin, DetailView):
"""Detail view for an application instance."""
context_object_name = "application"
permission_required = "core.view_oauthapplication_rule"
template_name = "oauth2_provider/application/detail.html"
def get_queryset(self):
return OAuthApplication.objects.all()
class OAuth2DeleteView(PermissionRequiredMixin, AdvancedDeleteView):
"""View used to delete an application."""
permission_required = "core.delete_oauthapplication_rule"
context_object_name = "application"
success_url = reverse_lazy("oauth2_applications")
template_name = "core/pages/delete.html"
def get_queryset(self):
return OAuthApplication.objects.all()
class OAuth2EditView(PermissionRequiredMixin, AdvancedEditView):
"""View used to edit an application."""
permission_required = "core.edit_oauthapplication_rule"
context_object_name = "application"
template_name = "oauth2_provider/application/edit.html"
form_class = OAuthApplicationForm
def get_queryset(self):
return OAuthApplication.objects.all()
class OAuth2RegisterView(PermissionRequiredMixin, AdvancedCreateView):
"""View used to register an application."""
permission_required = "core.create_oauthapplication_rule"
context_object_name = "application"
template_name = "oauth2_provider/application/create.html"
form_class = OAuthApplicationForm
class CustomPasswordChangeView(LoginRequiredMixin, PermissionRequiredMixin, PasswordChangeView):
"""Custom password change view to allow to disable changing of password."""
permission_required = "core.change_password_rule"
def __init__(self, *args, **kwargs):
if get_site_preferences()["auth__allow_password_change"]:
self.template_name = "account/password_change.html"
else:
self.template_name = "account/password_change_disabled.html"
super().__init__(*args, **kwargs)
class CustomPasswordResetView(PermissionRequiredMixin, PasswordResetView):
"""Custom password reset view to allow to disable resetting of password."""
permission_required = "core.reset_password_rule"
def __init__(self, *args, **kwargs):
if get_site_preferences()["auth__allow_password_reset"]:
self.template_name = "account/password_reset.html"
else:
self.template_name = "account/password_change_disabled.html"
super().__init__(*args, **kwargs)
class SocialAccountDeleteView(DeleteView):
"""Custom view to delete django-allauth social account."""
template_name = "core/pages/delete.html"
success_url = reverse_lazy("socialaccount_connections")
def get_queryset(self):
return SocialAccount.objects.filter(user=self.request.user)
def form_valid(self, form):
self.object = self.get_object()
try:
get_adapter(self.request).validate_disconnect(
self.object, SocialAccount.objects.filter(user=self.request.user)
)
except ValidationError:
messages.error(
self.request,
_(
"The third-party account could not be disconnected "
"because it is the only login method available."
),
)
else:
self.object.delete()
messages.success(
self.request, _("The third-party account has been successfully disconnected.")
)
return super().form_valid()
def server_error(
request: HttpRequest, template_name: str = ERROR_500_TEMPLATE_NAME
) -> HttpResponseServerError:
"""Ensure the request is passed to the error page."""
template = loader.get_template(template_name)
context = {"request": request}
return HttpResponseServerError(template.render(context))
class AccountRegisterView(SignupView):
"""Custom view to register a user account.
Rewrites dispatch function from allauth to check if signup is open or if the user
has a verified email address from an invitation; otherwise raises permission denied.
"""
form_class = AccountRegisterForm
success_url = reverse_lazy("index")
def dispatch(self, request, *args, **kwargs):
if (
not request.user.has_perm("core.signup_rule")
and not request.session.get("account_verified_email")
and not request.session.get("invitation_code")
):
raise PermissionDenied()
return super(AccountRegisterView, self).dispatch(request, *args, **kwargs)
def get_form_kwargs(self):
kwargs = super(AccountRegisterView, self).get_form_kwargs()
kwargs["request"] = self.request
return kwargs
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["login_url"] = reverse(settings.LOGIN_URL)
return context
class InvitePersonByID(PermissionRequiredMixin, SingleObjectMixin, View):
"""Custom view to invite person by their ID."""
model = Person
success_url = reverse_lazy("persons")
permission_required = "core.invite_rule"
def dispatch(self, request, *args, **kwargs):
if not get_site_preferences()["auth__invite_enabled"]:
return HttpResponseRedirect(reverse_lazy("invite_disabled"))
return super().dispatch(request, *args, **kwargs)
def get(self, request, *args, **kwargs):
person = self.get_object()
if not person.email or not PersonInvitation.objects.filter(email=person.email).exists():
length = get_site_preferences()["auth__invite_code_length"]
packet_size = get_site_preferences()["auth__invite_code_packet_size"]
key = generate_random_code(length, packet_size)
invite = PersonInvitation.objects.create(person=person, key=key)
if person.email:
invite.email = person.email
invite.inviter = self.request.user
invite.save()
invite.send_invitation(self.request)
if person.email:
messages.success(
self.request,
_(
"Person was invited successfully and an email "
"with further instructions has been send to them."
),
)
else:
readable_key = "-".join(wrap(key, packet_size))
messages.success(
self.request,
f"{_('Person was invited successfully. Their key is')} {readable_key}.",
)
else:
messages.success(self.request, _("Person was already invited."))
return HttpResponseRedirect(person.get_absolute_url())
class InviteDisabledView(PermissionRequiredMixin, TemplateView):
"""View to display a notice that the invite feature is disabled and how to enable it."""
template_name = "invitations/disabled.html"
permission_required = "core.change_site_preferences_rule"
def dispatch(self, request, *args, **kwargs):
if get_site_preferences()["auth__invite_enabled"]:
raise PermissionDenied()
return super().dispatch(request, *args, **kwargs)
class LoginView(AllAuthLoginView):
"""Custom login view covering e-mail verification if mandatory.
Overrides view from allauth to check if email verification from django-invitations is
mandatory. If it i, checks if the user has a verified email address, if not,
it re-sends verification.
"""
def done(self, form_list, **kwargs):
if settings.ACCOUNT_EMAIL_VERIFICATION == "mandatory":
user = self.get_user()
if not has_verified_email(user, user.email):
send_email_confirmation(self.request, user, signup=False, email=user.email)
return render(self.request, "account/verification_sent.html")
return super().done(form_list, **kwargs)
def get_context_data(self, form, **kwargs):
"""Override context data to hide side menu and include OAuth2 application if given."""
context = super().get_context_data(form, **kwargs)
if self.request.GET.get("oauth"):
context["no_menu"] = True
if self.request.GET.get("client_id"):
application = get_application_model().objects.get(
client_id=self.request.GET["client_id"]
)
context["oauth_application"] = application
return context
class CustomAuthorizationView(AuthorizationView):
def handle_no_permission(self):
"""Override handle_no_permission to provide OAuth2 information to login page."""
redirect_obj = super().handle_no_permission()
try:
scopes, credentials = self.validate_authorization_request(self.request)
except OAuthToolkitError as error:
# Application is not available at this time.
return self.error_response(error, application=None)
login_url_parts = list(urlparse(redirect_obj.url))
querystring = QueryDict(login_url_parts[4], mutable=True)
querystring["oauth"] = "yes"
querystring["client_id"] = credentials["client_id"]
login_url_parts[4] = querystring.urlencode(safe="/")
return HttpResponseRedirect(urlunparse(login_url_parts))
def get_context_data(self, **kwargs):
"""Override context data to hide side menu."""
context = super().get_context_data(**kwargs)
context["no_menu"] = True
return context
class TwoFactorSetupView(two_factor_views.SetupView):
def get(self, request, *args, **kwargs):
return super(two_factor_views.SetupView, self).get(request, *args, **kwargs)
def get_device(self, **kwargs):
device = super().get_device(**kwargs)
# Ensure that the device is named "backup" if it is a phone device
# to ensure compatibility with django_two_factor_auth
method = self.get_method()
if device and method.code in ("call", "sms"):
device.name = "backup"
return device
class TwoFactorLoginView(two_factor_views.LoginView):
def get_devices(self):
user = self.get_user()
return devices_for_user(user)
def get_other_devices(self, main_device):
other_devices = self.get_devices()
other_devices = list(filter(lambda x: not isinstance(x, type(main_device)), other_devices))
return other_devices
class LoggingGraphQLView(GraphQLView):
"""GraphQL view that raises unknown exceptions instead of blindly catching them."""
def execute_graphql_request(self, *args, **kwargs):
result = super().execute_graphql_request(*args, **kwargs)
errors = result.errors or []
for error in errors:
if not isinstance(error.original_error, GraphQLError):
raise error
return result | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/views.py | views.py |
from django.conf import settings
from django.forms import EmailField, ImageField, URLField
from django.forms.widgets import SelectMultiple
from django.utils.translation import gettext_lazy as _
from colorfield.widgets import ColorWidget
from dynamic_preferences.preferences import Section
from dynamic_preferences.types import (
BooleanPreference,
ChoicePreference,
FilePreference,
IntegerPreference,
ModelMultipleChoicePreference,
MultipleChoicePreference,
StringPreference,
)
from oauth2_provider.models import AbstractApplication
from .mixins import PublicFilePreferenceMixin
from .models import Group, Person
from .registries import person_preferences_registry, site_preferences_registry
from .util.notifications import get_notification_choices_lazy
general = Section("general", verbose_name=_("General"))
school = Section("school", verbose_name=_("School"))
theme = Section("theme", verbose_name=_("Theme"))
mail = Section("mail", verbose_name=_("Mail"))
notification = Section("notification", verbose_name=_("Notifications"))
footer = Section("footer", verbose_name=_("Footer"))
account = Section("account", verbose_name=_("Accounts"))
auth = Section("auth", verbose_name=_("Authentication"))
internationalisation = Section("internationalisation", verbose_name=_("Internationalisation"))
@site_preferences_registry.register
class SiteTitle(StringPreference):
"""Title of the AlekSIS instance, e.g. schools display name."""
section = general
name = "title"
default = "AlekSIS"
verbose_name = _("Site title")
required = True
@site_preferences_registry.register
class SiteDescription(StringPreference):
"""Site description, e.g. a slogan."""
section = general
name = "description"
default = "The Free School Information System"
required = False
verbose_name = _("Site description")
@site_preferences_registry.register
class ColourPrimary(StringPreference):
"""Primary colour in AlekSIS frontend."""
section = theme
name = "primary"
default = "#0d5eaf"
verbose_name = _("Primary colour")
widget = ColorWidget
required = True
@site_preferences_registry.register
class ColourSecondary(StringPreference):
"""Secondary colour in AlekSIS frontend."""
section = theme
name = "secondary"
default = "#0d5eaf"
verbose_name = _("Secondary colour")
widget = ColorWidget
required = True
@site_preferences_registry.register
class Logo(PublicFilePreferenceMixin, FilePreference):
"""Logo of your AlekSIS instance."""
section = theme
field_class = ImageField
name = "logo"
verbose_name = _("Logo")
required = False
@site_preferences_registry.register
class Favicon(PublicFilePreferenceMixin, FilePreference):
"""Favicon of your AlekSIS instance."""
section = theme
field_class = ImageField
name = "favicon"
verbose_name = _("Favicon")
required = False
@site_preferences_registry.register
class PWAIcon(PublicFilePreferenceMixin, FilePreference):
"""PWA-Icon of your AlekSIS instance."""
section = theme
field_class = ImageField
name = "pwa_icon"
verbose_name = _("PWA-Icon")
required = False
@site_preferences_registry.register
class PWAIconMaskable(BooleanPreference):
"""PWA icon is maskable."""
section = theme
name = "pwa_icon_maskable"
verbose_name = _("PWA-Icon is maskable")
default = True
required = False
@site_preferences_registry.register
class MailOutName(StringPreference):
"""Mail out name of your AlekSIS instance."""
section = mail
name = "name"
default = "AlekSIS"
verbose_name = _("Mail out name")
required = True
@site_preferences_registry.register
class MailOut(StringPreference):
"""Mail out address of your AlekSIS instance."""
section = mail
name = "address"
default = settings.DEFAULT_FROM_EMAIL
verbose_name = _("Mail out address")
field_class = EmailField
required = True
@site_preferences_registry.register
class PrivacyURL(StringPreference):
"""Link to privacy policy of your AlekSIS instance."""
section = footer
name = "privacy_url"
default = ""
required = False
verbose_name = _("Link to privacy policy")
field_class = URLField
@site_preferences_registry.register
class ImprintURL(StringPreference):
"""Link to imprint of your AlekSIS instance."""
section = footer
name = "imprint_url"
default = ""
required = False
verbose_name = _("Link to imprint")
field_class = URLField
@person_preferences_registry.register
class AdressingNameFormat(ChoicePreference):
"""User preference for adressing name format."""
section = notification
name = "addressing_name_format"
default = "first_last"
verbose_name = _("Name format for addressing")
choices = (
("first_last", "John Doe"),
("last_fist", "Doe, John"),
)
required = True
@person_preferences_registry.register
class NotificationChannels(ChoicePreference):
"""User preference for notification channels."""
# FIXME should be a MultipleChoicePreference
section = notification
name = "channels"
default = "email"
required = False
verbose_name = _("Channels to use for notifications")
choices = get_notification_choices_lazy()
@person_preferences_registry.register
class Design(ChoicePreference):
"""Change design (on supported pages)."""
section = theme
name = "design"
default = "light"
verbose_name = _("Select Design")
choices = [
# ("system", _("System Design")),
("light", _("Light mode")),
# ("dark", _("Dark mode")),
]
@site_preferences_registry.register
class PrimaryGroupPattern(StringPreference):
"""Regular expression to match primary group."""
section = account
name = "primary_group_pattern"
default = ""
required = False
verbose_name = _("Regular expression to match primary group, e.g. '^Class .*'")
@site_preferences_registry.register
class PrimaryGroupField(ChoicePreference):
"""Field on person to match primary group against."""
section = account
name = "primary_group_field"
default = "name"
required = False
verbose_name = _("Field on person to match primary group against")
def get_choices(self):
return Person.syncable_fields_choices()
@site_preferences_registry.register
class AutoCreatePerson(BooleanPreference):
section = account
name = "auto_create_person"
default = False
required = False
verbose_name = _("Automatically create new persons for new users")
@site_preferences_registry.register
class AutoLinkPerson(BooleanPreference):
section = account
name = "auto_link_person"
default = False
required = False
verbose_name = _("Automatically link existing persons to new users by their e-mail address")
@site_preferences_registry.register
class SchoolName(StringPreference):
"""Display name of the school."""
section = school
name = "name"
default = ""
required = False
verbose_name = _("Display name of the school")
@site_preferences_registry.register
class SchoolNameOfficial(StringPreference):
"""Official name of the school, e.g. as given by supervisory authority."""
section = school
name = "name_official"
default = ""
required = False
verbose_name = _("Official name of the school, e.g. as given by supervisory authority")
@site_preferences_registry.register
class AllowPasswordChange(BooleanPreference):
section = auth
name = "allow_password_change"
default = True
verbose_name = _("Allow users to change their passwords")
@site_preferences_registry.register
class AllowPasswordReset(BooleanPreference):
section = auth
name = "allow_password_reset"
default = True
verbose_name = _("Allow users to reset their passwords")
@site_preferences_registry.register
class SignupEnabled(BooleanPreference):
section = auth
name = "signup_enabled"
default = False
verbose_name = _("Enable signup")
@site_preferences_registry.register
class AllowedUsernameRegex(StringPreference):
section = auth
name = "allowed_username_regex"
default = ".+"
verbose_name = _("Regular expression for allowed usernames")
@site_preferences_registry.register
class InviteEnabled(BooleanPreference):
section = auth
name = "invite_enabled"
default = False
verbose_name = _("Enable invitations")
@site_preferences_registry.register
class InviteCodeLength(IntegerPreference):
section = auth
name = "invite_code_length"
default = 3
verbose_name = _("Length of invite code. (Default 3: abcde-acbde-abcde)")
@site_preferences_registry.register
class InviteCodePacketSize(IntegerPreference):
section = auth
name = "invite_code_packet_size"
default = 5
verbose_name = _("Size of packets. (Default 5: abcde)")
@site_preferences_registry.register
class OAuthAllowedGrants(MultipleChoicePreference):
"""Grant Flows allowed for OAuth applications."""
section = auth
name = "oauth_allowed_grants"
default = [grant[0] for grant in AbstractApplication.GRANT_TYPES]
widget = SelectMultiple
verbose_name = _("Allowed Grant Flows for OAuth applications")
field_attribute = {"initial": []}
choices = AbstractApplication.GRANT_TYPES
required = False
@site_preferences_registry.register
class DataChecksSendEmails(BooleanPreference):
"""Enable email sending if data checks detect problems."""
section = general
name = "data_checks_send_emails"
default = False
verbose_name = _("Send emails if data checks detect problems")
@site_preferences_registry.register
class DataChecksEmailsRecipients(ModelMultipleChoicePreference):
"""Email recipients for data check problem emails."""
section = general
name = "data_checks_recipients"
default = []
model = Person
verbose_name = _("Email recipients for data checks problem emails")
@site_preferences_registry.register
class DataChecksEmailsRecipientGroups(ModelMultipleChoicePreference):
"""Email recipient groups for data check problem emails."""
section = general
name = "data_checks_recipient_groups"
default = []
model = Group
verbose_name = _("Email recipient groups for data checks problem emails")
@site_preferences_registry.register
class AnonymousDashboard(BooleanPreference):
section = general
name = "anonymous_dashboard"
default = False
required = False
verbose_name = _("Show dashboard to users without login")
@site_preferences_registry.register
class DashboardEditing(BooleanPreference):
section = general
name = "dashboard_editing"
default = True
required = False
verbose_name = _("Allow users to edit their dashboard")
@site_preferences_registry.register
class EditableFieldsPerson(MultipleChoicePreference):
"""Fields on person model that should be editable by the person."""
section = account
name = "editable_fields_person"
default = []
widget = SelectMultiple
verbose_name = _("Fields on person model which are editable by themselves.")
field_attribute = {"initial": []}
choices = [(field.name, field.name) for field in Person.syncable_fields()]
required = False
@site_preferences_registry.register
class SendNotificationOnPersonChange(MultipleChoicePreference):
"""Fields on the person model that should trigger a notification on change."""
section = account
name = "notification_on_person_change"
default = []
widget = SelectMultiple
verbose_name = _(
"Editable fields on person model which should trigger a notification on change"
)
field_attribute = {"initial": []}
choices = [(field.name, field.name) for field in Person.syncable_fields()]
required = False
@site_preferences_registry.register
class PersonChangeNotificationContact(StringPreference):
"""Mail recipient address for change notifications."""
section = account
name = "person_change_notification_contact"
default = ""
verbose_name = _("Contact for notification if a person changes their data")
required = False
@site_preferences_registry.register
class PersonPreferPhoto(BooleanPreference):
"""Preference, whether personal photos should be displayed instead of avatars."""
section = account
name = "person_prefer_photo"
default = False
verbose_name = _("Prefer personal photos over avatars")
@site_preferences_registry.register
class PDFFileExpirationDuration(IntegerPreference):
"""PDF file expiration duration."""
section = general
name = "pdf_expiration"
default = 3
verbose_name = _("PDF file expiration duration")
help_text = _("in minutes")
@person_preferences_registry.register
class AutoUpdatingDashboard(BooleanPreference):
"""User preference for automatically updating the dashboard."""
section = general
name = "automatically_update_dashboard"
default = True
verbose_name = _("Automatically update the dashboard and its widgets")
@site_preferences_registry.register
class AutoUpdatingDashboardSite(BooleanPreference):
"""Automatic updating of dashboard."""
section = general
name = "automatically_update_dashboard_site"
default = True
verbose_name = _("Automatically update the dashboard and its widgets sitewide") | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/preferences.py | preferences.py |
import time
from datetime import timedelta
from django.conf import settings
from django.core import management
from .celery import app
from .util.notifications import _send_due_notifications as _send_due_notifications
from .util.notifications import send_notification as _send_notification
@app.task
def send_notification(notification: int, resend: bool = False) -> None:
"""Send a notification object to its recipient.
:param notification: primary key of the notification object to send
:param resend: Define whether to also send if the notification was already sent
"""
_send_notification(notification, resend)
@app.task(run_every=timedelta(days=1))
def backup_data() -> None:
"""Backup database and media using django-dbbackup."""
# Assemble command-line options for dbbackup management command
db_options = []
if settings.DBBACKUP_COMPRESS_DB:
db_options.append("-z")
if settings.DBBACKUP_ENCRYPT_DB:
db_options.append("-e")
if settings.DBBACKUP_CLEANUP_DB:
db_options.append("-c")
media_options = []
if settings.DBBACKUP_COMPRESS_MEDIA:
media_options.append("-z")
if settings.DBBACKUP_ENCRYPT_MEDIA:
media_options.append("-e")
if settings.DBBACKUP_CLEANUP_MEDIA:
media_options.append("-c")
# Hand off to dbbackup's management commands
management.call_command("dbbackup", *db_options)
management.call_command("mediabackup", *media_options)
@app.task(run_every=timedelta(days=1))
def clear_oauth_tokens():
"""Clear expired OAuth2 tokens."""
from oauth2_provider.models import clear_expired # noqa
return clear_expired()
@app.task(run_every=timedelta(minutes=5))
def send_notifications():
"""Send due notifications to users."""
_send_due_notifications()
@app.task
def send_notification_for_done_task(task_id):
"""Send a notification for a done task."""
from aleksis.core.models import TaskUserAssignment
# Wait five seconds to ensure that the client has received the final status
time.sleep(5)
try:
assignment = TaskUserAssignment.objects.get(task_result__task_id=task_id)
except TaskUserAssignment.DoesNotExist:
# No foreground task
return
if not assignment.result_fetched:
assignment.create_notification() | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/tasks.py | tasks.py |
import base64
import hmac
import uuid
from datetime import date, datetime, timedelta
from typing import Any, Iterable, List, Optional, Sequence, Union
from urllib.parse import urljoin, urlparse
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Group as DjangoGroup
from django.contrib.contenttypes.fields import GenericForeignKey
from django.contrib.contenttypes.models import ContentType
from django.contrib.postgres.fields import ArrayField
from django.contrib.sites.models import Site
from django.contrib.sites.shortcuts import get_current_site
from django.core.exceptions import ValidationError
from django.core.validators import MaxValueValidator
from django.db import models, transaction
from django.db.models import Q, QuerySet
from django.db.models.signals import m2m_changed
from django.dispatch import receiver
from django.forms.widgets import Media
from django.urls import reverse
from django.utils import timezone
from django.utils.functional import classproperty
from django.utils.text import slugify
from django.utils.translation import gettext_lazy as _
import customidenticon
import jsonstore
from cachalot.api import cachalot_disabled
from cache_memoize import cache_memoize
from celery.result import AsyncResult
from celery_progress.backend import Progress
from ckeditor.fields import RichTextField
from django_celery_results.models import TaskResult
from django_cte import CTEQuerySet, With
from dynamic_preferences.models import PerInstancePreferenceModel
from invitations import signals
from invitations.adapters import get_invitations_adapter
from invitations.base_invitation import AbstractBaseInvitation
from invitations.models import Invitation
from model_utils import FieldTracker
from model_utils.models import TimeStampedModel
from oauth2_provider.models import (
AbstractAccessToken,
AbstractApplication,
AbstractGrant,
AbstractIDToken,
AbstractRefreshToken,
)
from phonenumber_field.modelfields import PhoneNumberField
from polymorphic.models import PolymorphicModel
from aleksis.core.data_checks import (
BrokenDashboardWidgetDataCheck,
DataCheck,
field_validation_data_check_factory,
)
from .managers import (
CurrentSiteManagerWithoutMigrations,
GroupManager,
GroupQuerySet,
InstalledWidgetsDashboardWidgetOrderManager,
SchoolTermQuerySet,
UninstallRenitentPolymorphicManager,
)
from .mixins import (
ExtensibleModel,
GlobalPermissionModel,
PureDjangoModel,
RegistryObject,
SchoolTermRelatedExtensibleModel,
)
from .tasks import send_notification
from .util.core_helpers import generate_random_code, get_site_preferences, now_tomorrow
from .util.email import send_email
from .util.model_helpers import ICONS
FIELD_CHOICES = (
("BooleanField", _("Boolean (Yes/No)")),
("CharField", _("Text (one line)")),
("DateField", _("Date")),
("DateTimeField", _("Date and time")),
("DecimalField", _("Decimal number")),
("EmailField", _("E-mail address")),
("IntegerField", _("Integer")),
("GenericIPAddressField", _("IP address")),
("NullBooleanField", _("Boolean or empty (Yes/No/Neither)")),
("TextField", _("Text (multi-line)")),
("TimeField", _("Time")),
("URLField", _("URL / Link")),
)
class SchoolTerm(ExtensibleModel):
"""School term model.
This is used to manage start and end times of a school term and link data to it.
"""
objects = CurrentSiteManagerWithoutMigrations.from_queryset(SchoolTermQuerySet)()
name = models.CharField(verbose_name=_("Name"), max_length=255)
date_start = models.DateField(verbose_name=_("Start date"))
date_end = models.DateField(verbose_name=_("End date"))
@classmethod
@cache_memoize(3600)
def get_current(cls, day: Optional[date] = None):
if not day:
day = timezone.now().date()
try:
return cls.objects.on_day(day).first()
except SchoolTerm.DoesNotExist:
return None
@classproperty
def current(cls):
return cls.get_current()
def clean(self):
"""Ensure there is only one school term at each point of time."""
if self.date_end < self.date_start:
raise ValidationError(_("The start date must be earlier than the end date."))
qs = SchoolTerm.objects.within_dates(self.date_start, self.date_end)
if self.pk:
qs = qs.exclude(pk=self.pk)
if qs.exists():
raise ValidationError(
_("There is already a school term for this time or a part of this time.")
)
def __str__(self):
return self.name
class Meta:
verbose_name = _("School term")
verbose_name_plural = _("School terms")
constraints = [
models.UniqueConstraint(
fields=["site_id", "name"], name="unique_school_term_name_per_site"
),
models.UniqueConstraint(
fields=["site_id", "date_start", "date_end"],
name="unique_school_term_dates_per_site",
),
]
class Person(ExtensibleModel):
"""Person model.
A model describing any person related to a school, including, but not
limited to, students, teachers and guardians (parents).
"""
class Meta:
ordering = ["last_name", "first_name"]
verbose_name = _("Person")
verbose_name_plural = _("Persons")
permissions = (
("view_address", _("Can view address")),
("view_contact_details", _("Can view contact details")),
("view_photo", _("Can view photo")),
("view_avatar", _("Can view avatar image")),
("view_person_groups", _("Can view persons groups")),
("view_personal_details", _("Can view personal details")),
)
constraints = [
models.UniqueConstraint(
fields=["site_id", "short_name"], name="unique_short_name_per_site"
),
]
icon_ = "account-outline"
SEX_CHOICES = [("f", _("female")), ("m", _("male")), ("x", _("other"))]
user = models.OneToOneField(
get_user_model(),
on_delete=models.SET_NULL,
blank=True,
null=True,
related_name="person",
verbose_name=_("Linked user"),
)
first_name = models.CharField(verbose_name=_("First name"), max_length=255)
last_name = models.CharField(verbose_name=_("Last name"), max_length=255)
additional_name = models.CharField(
verbose_name=_("Additional name(s)"), max_length=255, blank=True
)
short_name = models.CharField(
verbose_name=_("Short name"), max_length=255, blank=True, null=True # noqa
)
street = models.CharField(verbose_name=_("Street"), max_length=255, blank=True)
housenumber = models.CharField(verbose_name=_("Street number"), max_length=255, blank=True)
postal_code = models.CharField(verbose_name=_("Postal code"), max_length=255, blank=True)
place = models.CharField(verbose_name=_("Place"), max_length=255, blank=True)
phone_number = PhoneNumberField(verbose_name=_("Home phone"), blank=True)
mobile_number = PhoneNumberField(verbose_name=_("Mobile phone"), blank=True)
email = models.EmailField(verbose_name=_("E-mail address"), blank=True)
date_of_birth = models.DateField(verbose_name=_("Date of birth"), blank=True, null=True)
place_of_birth = models.CharField(verbose_name=_("Place of birth"), max_length=255, blank=True)
sex = models.CharField(verbose_name=_("Sex"), max_length=1, choices=SEX_CHOICES, blank=True)
photo = models.ImageField(
verbose_name=_("Photo"),
blank=True,
null=True,
help_text=_(
"This is an official photo, used for official documents and for internal use cases."
),
)
avatar = models.ImageField(
verbose_name=_("Display picture / Avatar"),
blank=True,
null=True,
help_text=_("This is a picture or an avatar for public display."),
)
guardians = models.ManyToManyField(
"self",
verbose_name=_("Guardians / Parents"),
symmetrical=False,
related_name="children",
blank=True,
)
primary_group = models.ForeignKey(
"Group", models.SET_NULL, null=True, blank=True, verbose_name=_("Primary group")
)
description = models.TextField(verbose_name=_("Description"), blank=True)
def get_absolute_url(self) -> str:
return reverse("person_by_id", args=[self.id])
@property
def primary_group_short_name(self) -> Optional[str]:
"""Return the short_name field of the primary group related object."""
if self.primary_group:
return self.primary_group.short_name
@primary_group_short_name.setter
def primary_group_short_name(self, value: str) -> None:
"""
Set the primary group related object by a short name.
It uses the first existing group
with this short name it can find, creating one
if it can't find one.
"""
group, created = Group.objects.get_or_create(short_name=value, defaults={"name": value})
self.primary_group = group
@property
def full_name(self) -> str:
"""Full name of person in last name, first name order."""
return f"{self.last_name}, {self.first_name}"
@property
def addressing_name(self) -> str:
"""Full name of person in format configured for addressing."""
if self.preferences["notification__addressing_name_format"] == "last_first":
return f"{self.last_name}, {self.first_name}"
elif self.preferences["notification__addressing_name_format"] == "first_last":
return f"{self.first_name} {self.last_name}"
@property
def mail_sender(self) -> str:
"""E-mail sender in "Name <email>" format."""
return f'"{self.addressing_name}" <{self.email}>'
@property
def mail_sender_via(self) -> str:
"""E-mail sender for via addresses, in "Name via Site <email>" format."""
site_mail = get_site_preferences()["mail__address"]
site_name = get_site_preferences()["general__title"]
return f'"{self.addressing_name} via {site_name}" <{site_mail}>'
@property
def age(self):
"""Age of the person at current time."""
return self.age_at(timezone.now().date())
def age_at(self, today):
if self.date_of_birth:
years = today.year - self.date_of_birth.year
if self.date_of_birth.month > today.month or (
self.date_of_birth.month == today.month and self.date_of_birth.day > today.day
):
years -= 1
return years
@property
def dashboard_widgets(self):
return [
w.widget
for w in DashboardWidgetOrder.objects.filter(person=self, widget__active=True).order_by(
"order"
)
]
@property
def unread_notifications(self) -> QuerySet:
"""Get all unread notifications for this person."""
return self.notifications.filter(read=False, send_at__lte=timezone.now())
@property
def unread_notifications_count(self) -> int:
"""Return the count of unread notifications for this person."""
return self.unread_notifications.count()
@property
def initials(self):
initials = ""
if self.first_name:
initials += self.first_name[0]
if self.last_name:
initials += self.last_name[0]
return initials.upper() or "?"
user_info_tracker = FieldTracker(fields=("first_name", "last_name", "email", "user_id"))
@property
def member_of_recursive(self) -> QuerySet:
"""Get all groups this person is a member of, recursively."""
q = self.member_of
for group in q.all():
q = q.union(group.parent_groups_recursive)
return q
@property
def owner_of_recursive(self) -> QuerySet:
"""Get all groups this person is a member of, recursively."""
q = self.owner_of
for group in q.all():
q = q.union(group.child_groups_recursive)
return q
@property
@cache_memoize(60 * 60)
def identicon_url(self):
identicon = customidenticon.create(self.full_name, border=35)
base64_data = base64.b64encode(identicon).decode("ascii")
return f"data:image/png;base64,{base64_data}"
@property
def avatar_url(self):
if self.avatar:
return self.avatar.url
else:
return self.identicon_url
def save(self, *args, **kwargs):
# Determine all fields that were changed since last load
changed = self.user_info_tracker.changed()
super().save(*args, **kwargs)
if self.pk is None or bool(changed):
if "user_id" in changed:
# Clear groups of previous Django user
previous_user = changed["user_id"]
if previous_user is not None:
get_user_model().objects.get(pk=previous_user).groups.clear()
if self.user:
if "first_name" in changed or "last_name" in changed or "email" in changed:
# Synchronise user fields to linked User object to keep it up to date
self.user.first_name = self.first_name
self.user.last_name = self.last_name
self.user.email = self.email
self.user.save()
if "user_id" in changed:
# Synchronise groups to Django groups
for group in self.member_of.union(self.owner_of.all()).all():
group.save(force=True)
# Select a primary group if none is set
self.auto_select_primary_group()
def __str__(self) -> str:
return self.full_name
@classmethod
def maintain_default_data(cls):
# Ensure we have an admin user
user = get_user_model()
if not user.objects.filter(is_superuser=True).exists():
admin = user.objects.create_superuser(**settings.AUTH_INITIAL_SUPERUSER)
admin.save()
def auto_select_primary_group(
self, pattern: Optional[str] = None, field: Optional[str] = None, force: bool = False
) -> None:
"""Auto-select the primary group among the groups the person is member of.
Uses either the pattern passed as argument, or the pattern configured system-wide.
Does not do anything if either no pattern is defined or the user already has
a primary group, unless force is True.
"""
pattern = pattern or get_site_preferences()["account__primary_group_pattern"]
field = field or get_site_preferences()["account__primary_group_field"]
if pattern:
if force or not self.primary_group:
self.primary_group = self.member_of.filter(**{f"{field}__regex": pattern}).first()
def notify_about_changed_data(
self, changed_fields: Iterable[str], recipients: Optional[List[str]] = None
):
"""Notify (configured) recipients about changed data of this person."""
context = {"person": self, "changed_fields": changed_fields}
recipients = recipients or [
get_site_preferences()["account__person_change_notification_contact"]
]
send_email(
template_name="person_changed",
from_email=self.mail_sender_via,
headers={
"Reply-To": self.mail_sender,
"Sender": self.mail_sender,
},
recipient_list=recipients,
context=context,
)
class DummyPerson(Person):
"""A dummy person that is not stored into the database.
Used to temporarily inject a Person object into a User.
"""
class Meta:
managed = False
proxy = True
is_dummy = True
def save(self, *args, **kwargs):
# Do nothing, not even call Model's save(), so this is never persisted
pass
class AdditionalField(ExtensibleModel):
"""An additional field that can be linked to a group."""
title = models.CharField(verbose_name=_("Title of field"), max_length=255)
field_type = models.CharField(
verbose_name=_("Type of field"), choices=FIELD_CHOICES, max_length=50
)
required = models.BooleanField(verbose_name=_("Required"), default=False)
help_text = models.TextField(verbose_name=_("Help text / description"), blank=True)
def __str__(self) -> str:
return self.title
class Meta:
verbose_name = _("Addtitional field for groups")
verbose_name_plural = _("Addtitional fields for groups")
constraints = [
models.UniqueConstraint(fields=["site_id", "title"], name="unique_title_per_site"),
]
class Group(SchoolTermRelatedExtensibleModel):
"""Group model.
Any kind of group of persons in a school, including, but not limited
classes, clubs, and the like.
"""
objects = GroupManager.from_queryset(GroupQuerySet)()
class Meta:
ordering = ["short_name", "name"]
verbose_name = _("Group")
verbose_name_plural = _("Groups")
permissions = (
("assign_child_groups_to_groups", _("Can assign child groups to groups")),
("view_group_stats", _("Can view statistics about group.")),
)
constraints = [
# Heads up: Uniqueness per school term already implies uniqueness per site
models.UniqueConstraint(fields=["school_term", "name"], name="unique_school_term_name"),
models.UniqueConstraint(
fields=["school_term", "short_name"], name="unique_school_term_short_name"
),
]
icon_ = "account-multiple-outline"
name = models.CharField(verbose_name=_("Long name"), max_length=255)
short_name = models.CharField(
verbose_name=_("Short name"), max_length=255, blank=True, null=True # noqa
)
members = models.ManyToManyField(
"Person",
related_name="member_of",
blank=True,
through="PersonGroupThrough",
verbose_name=_("Members"),
)
owners = models.ManyToManyField(
"Person", related_name="owner_of", blank=True, verbose_name=_("Owners")
)
parent_groups = models.ManyToManyField(
"self",
related_name="child_groups",
symmetrical=False,
verbose_name=_("Parent groups"),
blank=True,
)
group_type = models.ForeignKey(
"GroupType",
on_delete=models.SET_NULL,
related_name="type",
verbose_name=_("Type of group"),
null=True,
blank=True,
)
additional_fields = models.ManyToManyField(
AdditionalField, verbose_name=_("Additional fields"), blank=True
)
photo = models.ImageField(
verbose_name=_("Photo"),
blank=True,
null=True,
help_text=_(
"This is an official photo, used for official documents and for internal use cases."
),
)
avatar = models.ImageField(
verbose_name=_("Display picture / Avatar"),
blank=True,
null=True,
help_text=_("This is a picture or an avatar for public display."),
)
def get_absolute_url(self) -> str:
return reverse("group_by_id", args=[self.id])
@property
def announcement_recipients(self):
"""Flat list of all members and owners to fulfill announcement API contract."""
return list(self.members.all()) + list(self.owners.all())
@property
def get_group_stats(self) -> dict:
"""Get stats about a given group"""
stats = {}
stats["members"] = len(self.members.all())
ages = [person.age for person in self.members.filter(date_of_birth__isnull=False)]
if ages:
stats["age_avg"] = sum(ages) / len(ages)
stats["age_range_min"] = min(ages)
stats["age_range_max"] = max(ages)
return stats
@property
def parent_groups_recursive(self) -> CTEQuerySet:
"""Get all parent groups recursively."""
def _make_cte(cte):
Through = self.parent_groups.through
return (
Through.objects.values("to_group_id")
.filter(from_group=self)
.union(cte.join(Through, from_group=cte.col.to_group_id), all=True)
)
cte = With.recursive(_make_cte)
return cte.join(Group, id=cte.col.to_group_id).with_cte(cte)
@property
def child_groups_recursive(self) -> CTEQuerySet:
"""Get all child groups recursively."""
def _make_cte(cte):
Through = self.child_groups.through
return (
Through.objects.values("from_group_id")
.filter(to_group=self)
.union(cte.join(Through, to_group=cte.col.from_group_id), all=True)
)
cte = With.recursive(_make_cte)
return cte.join(Group, id=cte.col.from_group_id).with_cte(cte)
@property
def members_recursive(self) -> QuerySet:
"""Get all members of this group and its child groups."""
return Person.objects.filter(
Q(member_of=self) | Q(member_of__in=self.child_groups_recursive)
)
@property
def owners_recursive(self) -> QuerySet:
"""Get all ownerss of this group and its parent groups."""
return Person.objects.filter(
Q(owner_of=self) | Q(owner_of__in=self.parent_groups_recursive)
)
def __str__(self) -> str:
if self.school_term:
return f"{self.name} ({self.short_name}) ({self.school_term})"
else:
return f"{self.name} ({self.short_name})"
group_info_tracker = FieldTracker(fields=("name", "short_name"))
def save(self, force: bool = False, *args, **kwargs):
# Determine state of object in relation to database
dirty = self.pk is None or bool(self.group_info_tracker.changed())
super().save(*args, **kwargs)
if force or dirty:
# Synchronise group to Django group with same name
dj_group, _ = DjangoGroup.objects.get_or_create(name=self.name)
dj_group.user_set.set(
list(
self.members.filter(user__isnull=False)
.values_list("user", flat=True)
.union(self.owners.filter(user__isnull=False).values_list("user", flat=True))
)
)
dj_group.save()
@property
def django_group(self):
"""Get Django group for this group."""
dj_group, _ = DjangoGroup.objects.get_or_create(name=self.name)
return dj_group
class PersonGroupThrough(ExtensibleModel):
"""Through table for many-to-many relationship of group members.
It does not have any fields on its own; these are generated upon instantiation
by inspecting the additional fields selected for the linked group.
"""
group = models.ForeignKey(Group, on_delete=models.CASCADE)
person = models.ForeignKey(Person, on_delete=models.CASCADE)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
for field in self.group.additional_fields.all():
field_class = getattr(jsonstore, field.field_type)
field_name = slugify(field.title).replace("-", "_")
field_instance = field_class(verbose_name=field.title)
setattr(self, field_name, field_instance)
@receiver(models.signals.m2m_changed, sender=PersonGroupThrough)
@receiver(models.signals.m2m_changed, sender=Group.owners.through)
def save_group_on_m2m_changed(
sender: Union[PersonGroupThrough, Group.owners.through],
instance: models.Model,
action: str,
reverse: bool,
model: models.Model,
pk_set: Optional[set],
**kwargs,
) -> None:
"""Ensure user and group data is synced to Django's models.
AlekSIS maintains personal information and group meta-data / membership
in its Person and Group models. As third-party libraries have no knowledge
about this, we need to keep django.contrib.auth in sync.
This signal handler triggers a save of group objects whenever a membership
changes. The save() code will decide whether to update the Django objects
or not.
"""
if action not in ("post_add", "post_remove", "post_clear"):
# Only trigger once, after the change was applied to the database
return
if reverse:
# Relationship was changed on the Person side, saving all groups
# that have been touched there
for group in model.objects.filter(pk__in=pk_set):
group.save(force=True)
else:
# Relationship was changed on the Group side
instance.save(force=True)
class Activity(ExtensibleModel, TimeStampedModel):
"""Activity of a user to trace some actions done in AlekSIS in displayable form."""
user = models.ForeignKey(
"Person", on_delete=models.CASCADE, related_name="activities", verbose_name=_("User")
)
title = models.CharField(max_length=150, verbose_name=_("Title"))
description = models.TextField(max_length=500, verbose_name=_("Description"))
app = models.CharField(max_length=100, verbose_name=_("Application"))
def __str__(self):
return self.title
class Meta:
verbose_name = _("Activity")
verbose_name_plural = _("Activities")
class Notification(ExtensibleModel, TimeStampedModel):
"""Notification to submit to a user."""
sender = models.CharField(max_length=100, verbose_name=_("Sender"))
recipient = models.ForeignKey(
"Person",
on_delete=models.CASCADE,
related_name="notifications",
verbose_name=_("Recipient"),
)
title = models.CharField(max_length=150, verbose_name=_("Title"))
description = models.TextField(max_length=500, verbose_name=_("Description"))
link = models.URLField(blank=True, verbose_name=_("Link"))
icon = models.CharField(
max_length=50, choices=ICONS, verbose_name=_("Icon"), default="information-outline"
)
send_at = models.DateTimeField(default=timezone.now, verbose_name=_("Send notification at"))
read = models.BooleanField(default=False, verbose_name=_("Read"))
sent = models.BooleanField(default=False, verbose_name=_("Sent"))
def __str__(self):
return str(self.title)
def save(self, **kwargs):
super().save(**kwargs)
if not self.sent and self.send_at <= timezone.now():
self.send()
super().save(**kwargs)
def send(self, resend: bool = False) -> Optional[AsyncResult]:
"""Send the notification to the recipient."""
if not self.sent or resend:
return send_notification.delay(self.pk, resend=resend)
class Meta:
verbose_name = _("Notification")
verbose_name_plural = _("Notifications")
class AnnouncementQuerySet(models.QuerySet):
"""Queryset for announcements providing time-based utility functions."""
def relevant_for(self, obj: Union[models.Model, models.QuerySet]) -> models.QuerySet:
"""Get all relevant announcements.
Get a QuerySet with all announcements relevant for a certain Model (e.g. a Group)
or a set of models in a QuerySet.
"""
if isinstance(obj, models.QuerySet):
ct = ContentType.objects.get_for_model(obj.model)
pks = list(obj.values_list("pk", flat=True))
else:
ct = ContentType.objects.get_for_model(obj)
pks = [obj.pk]
return self.filter(recipients__content_type=ct, recipients__recipient_id__in=pks)
def at_time(self, when: Optional[datetime] = None) -> models.QuerySet:
"""Get all announcements at a certain time."""
when = when or timezone.now()
# Get announcements by time
announcements = self.filter(valid_from__lte=when, valid_until__gte=when)
return announcements
def on_date(self, when: Optional[date] = None) -> models.QuerySet:
"""Get all announcements at a certain date."""
when = when or timezone.now().date()
# Get announcements by time
announcements = self.filter(valid_from__date__lte=when, valid_until__date__gte=when)
return announcements
def within_days(self, start: date, stop: date) -> models.QuerySet:
"""Get all announcements valid for a set of days."""
# Get announcements
announcements = self.filter(valid_from__date__lte=stop, valid_until__date__gte=start)
return announcements
def for_person(self, person: Person) -> List:
"""Get all announcements for one person."""
# Filter by person
announcements_for_person = []
for announcement in self:
if person in announcement.recipient_persons:
announcements_for_person.append(announcement)
return announcements_for_person
class Announcement(ExtensibleModel):
"""Announcement model.
Persistent announcement to display to groups or persons in various places during a
specific time range.
"""
objects = models.Manager.from_queryset(AnnouncementQuerySet)()
title = models.CharField(max_length=150, verbose_name=_("Title"))
description = models.TextField(max_length=500, verbose_name=_("Description"), blank=True)
link = models.URLField(blank=True, verbose_name=_("Link to detailed view"))
valid_from = models.DateTimeField(
verbose_name=_("Date and time from when to show"), default=timezone.now
)
valid_until = models.DateTimeField(
verbose_name=_("Date and time until when to show"),
default=now_tomorrow,
)
@property
def recipient_persons(self) -> Sequence[Person]:
"""Return a list of Persons this announcement is relevant for."""
persons = []
for recipient in self.recipients.all():
persons += recipient.persons
return persons
def get_recipients_for_model(self, obj: Union[models.Model]) -> Sequence[models.Model]:
"""Get all recipients.
Get all recipients for this announcement
with a special content type (provided through model)
"""
ct = ContentType.objects.get_for_model(obj)
return [r.recipient for r in self.recipients.filter(content_type=ct)]
def __str__(self):
return self.title
class Meta:
verbose_name = _("Announcement")
verbose_name_plural = _("Announcements")
class AnnouncementRecipient(ExtensibleModel):
"""Announcement recipient model.
Generalisation of a recipient for an announcement, used to wrap arbitrary
objects that can receive announcements.
Contract: Objects to serve as recipient have a property announcement_recipients
returning a flat list of Person objects.
"""
announcement = models.ForeignKey(
Announcement, on_delete=models.CASCADE, related_name="recipients"
)
content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)
recipient_id = models.PositiveIntegerField()
recipient = GenericForeignKey("content_type", "recipient_id")
@property
def persons(self) -> Sequence[Person]:
"""Return a list of Persons selected by this recipient object.
If the recipient is a Person, return that object. If not, it returns the list
from the announcement_recipients field on the target model.
"""
if isinstance(self.recipient, Person):
return [self.recipient]
else:
return getattr(self.recipient, "announcement_recipients", [])
def __str__(self):
return str(self.recipient)
class Meta:
verbose_name = _("Announcement recipient")
verbose_name_plural = _("Announcement recipients")
class DashboardWidget(RegistryObject, PolymorphicModel, PureDjangoModel):
"""Base class for dashboard widgets on the index page."""
objects = UninstallRenitentPolymorphicManager()
@staticmethod
def get_media(widgets: Union[QuerySet, Iterable]):
"""Return all media required to render the selected widgets."""
media = Media()
for widget in widgets:
media = media + widget.media
return media
template = None
template_broken = "core/dashboard_widget/dashboardwidget_broken.html"
media = Media()
title = models.CharField(max_length=150, verbose_name=_("Widget Title"))
active = models.BooleanField(verbose_name=_("Activate Widget"))
broken = models.BooleanField(verbose_name=_("Widget is broken"), default=False)
size_s = models.PositiveSmallIntegerField(
verbose_name=_("Size on mobile devices"),
help_text=_("<= 600 px, 12 columns"),
validators=[MaxValueValidator(12)],
default=12,
)
size_m = models.PositiveSmallIntegerField(
verbose_name=_("Size on tablet devices"),
help_text=_("> 600 px, 12 columns"),
validators=[MaxValueValidator(12)],
default=12,
)
size_l = models.PositiveSmallIntegerField(
verbose_name=_("Size on desktop devices"),
help_text=_("> 992 px, 12 columns"),
validators=[MaxValueValidator(12)],
default=6,
)
size_xl = models.PositiveSmallIntegerField(
verbose_name=_("Size on large desktop devices"),
help_text=_("> 1200 px>, 12 columns"),
validators=[MaxValueValidator(12)],
default=4,
)
def _get_context_safe(self, request):
if self.broken:
return {"title": self.title}
return self.get_context(request)
def get_context(self, request):
"""Get the context dictionary to pass to the widget template."""
raise NotImplementedError("A widget subclass needs to implement the get_context method.")
def get_template(self):
"""Get template.
Get the template to render the widget with. Defaults to the template attribute,
but can be overridden to allow more complex template generation scenarios. If
the widget is marked as broken, the template_broken attribute will be returned.
"""
if self.broken:
return self.template_broken
if not self.template:
raise NotImplementedError("A widget subclass needs to define a template.")
return self.template
def __str__(self):
return self.title
class Meta:
permissions = (("edit_default_dashboard", _("Can edit default dashboard")),)
verbose_name = _("Dashboard Widget")
verbose_name_plural = _("Dashboard Widgets")
class ExternalLinkWidget(DashboardWidget):
template = "core/dashboard_widget/external_link_widget.html"
url = models.URLField(verbose_name=_("URL"))
icon_url = models.URLField(verbose_name=_("Icon URL"))
def get_context(self, request):
return {"title": self.title, "url": self.url, "icon_url": self.icon_url}
class Meta:
verbose_name = _("External link widget")
verbose_name_plural = _("External link widgets")
class StaticContentWidget(DashboardWidget):
template = "core/dashboard_widget/static_content_widget.html"
content = RichTextField(verbose_name=_("Content"))
def get_context(self, request):
return {"title": self.title, "content": self.content}
class Meta:
verbose_name = _("Static content widget")
verbose_name_plural = _("Static content widgets")
class DashboardWidgetOrder(ExtensibleModel):
widget = models.ForeignKey(
DashboardWidget, on_delete=models.CASCADE, verbose_name=_("Dashboard widget")
)
person = models.ForeignKey(
Person, on_delete=models.CASCADE, verbose_name=_("Person"), null=True, blank=True
)
order = models.PositiveIntegerField(verbose_name=_("Order"))
default = models.BooleanField(default=False, verbose_name=_("Part of the default dashboard"))
objects = InstalledWidgetsDashboardWidgetOrderManager()
@classproperty
def default_dashboard_widgets(cls):
"""Get default order for dashboard widgets."""
return [
w.widget
for w in cls.objects.filter(person=None, default=True, widget__active=True).order_by(
"order"
)
]
class Meta:
verbose_name = _("Dashboard widget order")
verbose_name_plural = _("Dashboard widget orders")
class CustomMenu(ExtensibleModel):
"""A custom menu to display in the footer."""
name = models.CharField(max_length=100, verbose_name=_("Menu ID"))
def __str__(self):
return self.name if self.name != "" else self.id
@classmethod
@cache_memoize(3600)
def get_default(cls, name):
"""Get a menu by name or create if it does not exist."""
menu, _ = cls.objects.prefetch_related("items").get_or_create(name=name)
return menu
class Meta:
verbose_name = _("Custom menu")
verbose_name_plural = _("Custom menus")
constraints = [
models.UniqueConstraint(fields=["site_id", "name"], name="unique_menu_name_per_site"),
]
class CustomMenuItem(ExtensibleModel):
"""Single item in a custom menu."""
menu = models.ForeignKey(
CustomMenu, models.CASCADE, verbose_name=_("Menu"), related_name="items"
)
name = models.CharField(max_length=150, verbose_name=_("Name"))
url = models.URLField(verbose_name=_("Link"))
icon = models.CharField(max_length=50, blank=True, choices=ICONS, verbose_name=_("Icon"))
def __str__(self):
return f"[{self.menu}] {self.name}"
class Meta:
verbose_name = _("Custom menu item")
verbose_name_plural = _("Custom menu items")
constraints = [
# Heads up: Uniqueness per menu already implies uniqueness per site
models.UniqueConstraint(fields=["menu", "name"], name="unique_name_per_menu"),
]
def get_absolute_url(self):
return reverse("admin:core_custommenuitem_change", args=[self.id])
class DynamicRoute(RegistryObject):
"""Define a dynamic route.
Dynamic routes should be used to register Vue routes dynamically, e. g.
when an app is supposed to show menu items for dynamically creatable objects.
"""
class GroupType(ExtensibleModel):
"""Group type model.
Descriptive type of a group; used to tag groups and for apps to distinguish
how to display or handle a certain group.
"""
name = models.CharField(verbose_name=_("Title of type"), max_length=50)
description = models.CharField(verbose_name=_("Description"), max_length=500)
def __str__(self) -> str:
return self.name
class Meta:
verbose_name = _("Group type")
verbose_name_plural = _("Group types")
constraints = [
models.UniqueConstraint(
fields=["site_id", "name"], name="unique_group_type_name_per_site"
),
]
class GlobalPermissions(GlobalPermissionModel):
"""Container for global permissions."""
class Meta(GlobalPermissionModel.Meta):
permissions = (
("view_system_status", _("Can view system status")),
("manage_data", _("Can manage data")),
("impersonate", _("Can impersonate")),
("search", _("Can use search")),
("change_site_preferences", _("Can change site preferences")),
("change_person_preferences", _("Can change person preferences")),
("change_group_preferences", _("Can change group preferences")),
("test_pdf", _("Can test PDF generation")),
("invite", _("Can invite persons")),
)
class SitePreferenceModel(PerInstancePreferenceModel, PureDjangoModel):
"""Preference model to hold pereferences valid for a site."""
instance = models.ForeignKey(Site, on_delete=models.CASCADE)
class Meta(PerInstancePreferenceModel.Meta):
app_label = "core"
class PersonPreferenceModel(PerInstancePreferenceModel, PureDjangoModel):
"""Preference model to hold pereferences valid for a person."""
instance = models.ForeignKey(Person, on_delete=models.CASCADE)
class Meta(PerInstancePreferenceModel.Meta):
app_label = "core"
class GroupPreferenceModel(PerInstancePreferenceModel, PureDjangoModel):
"""Preference model to hold pereferences valid for members of a group."""
instance = models.ForeignKey(Group, on_delete=models.CASCADE)
class Meta(PerInstancePreferenceModel.Meta):
app_label = "core"
class DataCheckResult(ExtensibleModel):
"""Save the result of a data check for a specific object."""
data_check = models.CharField(
max_length=255,
verbose_name=_("Related data check task"),
choices=DataCheck.data_checks_choices,
)
content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)
object_id = models.CharField(max_length=255)
related_object = GenericForeignKey("content_type", "object_id")
solved = models.BooleanField(default=False, verbose_name=_("Issue solved"))
sent = models.BooleanField(default=False, verbose_name=_("Notification sent"))
@property
def related_check(self) -> DataCheck:
return DataCheck.registered_objects_dict[self.data_check]
def solve(self, solve_option: str = "default"):
self.related_check.solve(self, solve_option)
def __str__(self):
return f"{self.related_object}: {self.related_check.problem_name}"
class Meta:
verbose_name = _("Data check result")
verbose_name_plural = _("Data check results")
permissions = (
("run_data_checks", _("Can run data checks")),
("solve_data_problem", _("Can solve data check problems")),
)
class PersonInvitation(AbstractBaseInvitation, PureDjangoModel):
"""Custom model for invitations to allow to generate invitations codes without email address."""
email = models.EmailField(verbose_name=_("E-Mail address"), blank=True)
person = models.ForeignKey(
Person, on_delete=models.CASCADE, blank=True, related_name="invitation", null=True
)
def __str__(self) -> str:
return f"{self.email} ({self.inviter})"
@classmethod
def create(cls, email, inviter=None, **kwargs):
length = get_site_preferences()["auth__invite_code_length"]
packet_size = get_site_preferences()["auth__invite_code_packet_size"]
code = generate_random_code(length, packet_size)
instance = cls.objects.create(email=email, inviter=inviter, key=code, **kwargs)
return instance
def send_invitation(self, request, **kwargs):
"""Send the invitation email to the person."""
current_site = get_current_site(request)
invite_url = reverse("invitations:accept-invite", args=[self.key])
invite_url = request.build_absolute_uri(invite_url).replace("/django", "")
context = kwargs
context.update(
{
"invite_url": invite_url,
"site_name": current_site.name,
"email": self.email,
"inviter": self.inviter,
"person": self.person,
},
)
send_email(template_name="invitation", recipient_list=[self.email], context=context)
self.sent = timezone.now()
self.save()
signals.invite_url_sent.send(
sender=self.__class__,
instance=self,
invite_url_sent=invite_url,
inviter=self.inviter,
)
key_expired = Invitation.key_expired
send_invitation = send_invitation
class PDFFile(ExtensibleModel):
"""Link to a rendered PDF file."""
def _get_default_expiration(): # noqa
return timezone.now() + timedelta(minutes=get_site_preferences()["general__pdf_expiration"])
person = models.ForeignKey(
to=Person,
on_delete=models.CASCADE,
blank=True,
null=True,
verbose_name=_("Owner"),
related_name="pdf_files",
)
expires_at = models.DateTimeField(
verbose_name=_("File expires at"), default=_get_default_expiration
)
html_file = models.FileField(
upload_to="pdfs/", verbose_name=_("Generated HTML file"), blank=True, null=True
)
file = models.FileField(
upload_to="pdfs/", blank=True, null=True, verbose_name=_("Generated PDF file")
)
def __str__(self):
return f"{self.person} ({self.pk})"
class Meta:
verbose_name = _("PDF file")
verbose_name_plural = _("PDF files")
class TaskUserAssignment(ExtensibleModel):
task_result = models.ForeignKey(
TaskResult, on_delete=models.CASCADE, verbose_name=_("Task result")
)
user = models.ForeignKey(
get_user_model(), on_delete=models.CASCADE, verbose_name=_("Task user")
)
title = models.CharField(max_length=255, verbose_name=_("Title"))
back_url = models.URLField(verbose_name=_("Back URL"), blank=True)
progress_title = models.CharField(max_length=255, verbose_name=_("Progress title"), blank=True)
error_message = models.TextField(verbose_name=_("Error message"), blank=True)
success_message = models.TextField(verbose_name=_("Success message"), blank=True)
redirect_on_success_url = models.URLField(verbose_name=_("Redirect on success URL"), blank=True)
additional_button_title = models.CharField(
max_length=255, verbose_name=_("Additional button title"), blank=True
)
additional_button_url = models.URLField(verbose_name=_("Additional button URL"), blank=True)
additional_button_icon = models.CharField(
max_length=255, verbose_name=_("Additional button icon"), blank=True
)
result_fetched = models.BooleanField(default=False, verbose_name=_("Result fetched"))
@classmethod
def create_for_task_id(cls, task_id: str, user: "User") -> "TaskUserAssignment":
# Use get_or_create to ensure the TaskResult exists
# django-celery-results will later add the missing information
with cachalot_disabled():
result, __ = TaskResult.objects.get_or_create(task_id=task_id)
return cls.objects.create(task_result=result, user=user)
def get_progress(self) -> dict[str, any]:
"""Get progress information for this task."""
progress = Progress(AsyncResult(self.task_result.task_id))
return progress.get_info()
def get_progress_with_meta(self) -> dict[str, any]:
"""Get progress information for this task."""
progress = self.get_progress()
progress["meta"] = self
return progress
def create_notification(self) -> Optional[Notification]:
"""Create a notification for this task."""
progress = self.get_progress()
if progress["state"] == "SUCCESS":
title = _("Background task completed successfully")
description = _("The background task '{}' has been completed successfully.").format(
self.title
)
icon = "check-circle-outline"
elif progress["state"] == "FAILURE":
title = _("Background task failed")
description = _("The background task '{}' has failed.").format(self.title)
icon = "alert-octagon-outline"
else:
# Task not yet finished
return
link = urljoin(settings.BASE_URL, self.get_absolute_url())
notification = Notification(
sender=_("Background task"),
recipient=self.user.person,
title=title,
description=description,
link=link,
icon=icon,
)
notification.save()
return notification
def get_absolute_url(self) -> str:
return f"/celery_progress/{self.task_result.task_id}"
class Meta:
verbose_name = _("Task user assignment")
verbose_name_plural = _("Task user assignments")
class UserAdditionalAttributes(models.Model, PureDjangoModel):
"""Additional attributes for Django user accounts.
These attributes are explicitly linked to a User, not to a Person.
"""
user = models.OneToOneField(
get_user_model(),
on_delete=models.CASCADE,
related_name="additional_attributes",
verbose_name=_("Linked user"),
)
attributes = models.JSONField(verbose_name=_("Additional attributes"), default=dict)
@classmethod
def get_user_attribute(
cls, username: str, attribute: str, default: Optional[Any] = None
) -> Any:
"""Get a user attribute for a user by name."""
try:
attributes = cls.objects.get(user__username=username)
except cls.DoesNotExist:
return default
return attributes.attributes.get(attribute, default)
@classmethod
def set_user_attribute(cls, username: str, attribute: str, value: Any):
"""Set a user attribute for a user by name.
Raises DoesNotExist if a username for a non-existing Django user is passed.
"""
user = get_user_model().objects.get(username=username)
attributes, __ = cls.objects.update_or_create(user=user)
attributes.attributes[attribute] = value
attributes.save()
class OAuthApplication(AbstractApplication):
"""Modified OAuth application class that supports Grant Flows configured in preferences."""
# Override grant types to make field optional
authorization_grant_type = models.CharField(
max_length=32, choices=AbstractApplication.GRANT_TYPES, blank=True
)
# Optional list of alloewd scopes
allowed_scopes = ArrayField(
models.CharField(max_length=255),
verbose_name=_("Allowed scopes that clients can request"),
null=True,
blank=True,
)
icon = models.ImageField(
verbose_name=_("Icon"),
blank=True,
null=True,
help_text=_(
"This image will be shown as icon in the authorization flow. It should be squared."
),
)
def allows_grant_type(self, *grant_types: set[str]) -> bool:
allowed_grants = get_site_preferences()["auth__oauth_allowed_grants"]
return bool(set(allowed_grants) & set(grant_types))
class OAuthGrant(AbstractGrant):
"""Placeholder for customising the Grant model."""
pass
class OAuthAccessToken(AbstractAccessToken):
"""Placeholder for customising the AccessToken model."""
pass
class OAuthIDToken(AbstractIDToken):
"""Placeholder for customising the IDToken model."""
pass
class OAuthRefreshToken(AbstractRefreshToken):
"""Placeholder for customising the RefreshToken model."""
pass
class Room(ExtensibleModel):
short_name = models.CharField(verbose_name=_("Short name"), max_length=255)
name = models.CharField(verbose_name=_("Long name"), max_length=255)
def __str__(self) -> str:
return f"{self.name} ({self.short_name})"
def get_absolute_url(self) -> str:
return reverse("timetable", args=["room", self.id])
class Meta:
permissions = (("view_room_timetable", _("Can view room timetable")),)
ordering = ["name", "short_name"]
verbose_name = _("Room")
verbose_name_plural = _("Rooms")
constraints = [
models.UniqueConstraint(
fields=["site_id", "short_name"], name="unique_room_short_name_per_site"
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/models.py | models.py |
from datetime import date
from typing import Union
from django.apps import apps
from django.contrib.sites.managers import CurrentSiteManager as _CurrentSiteManager
from django.db.models import QuerySet
from django.db.models.manager import Manager
from calendarweek import CalendarWeek
from django_cte import CTEManager, CTEQuerySet
from polymorphic.managers import PolymorphicManager
class CurrentSiteManagerWithoutMigrations(_CurrentSiteManager):
"""CurrentSiteManager for auto-generating managers just by query sets."""
use_in_migrations = False
class DateRangeQuerySetMixin:
"""QuerySet with custom query methods for models with date ranges.
Filterable fields: date_start, date_end
"""
def within_dates(self, start: date, end: date):
"""Filter for all objects within a date range."""
return self.filter(date_start__lte=end, date_end__gte=start)
def in_week(self, wanted_week: CalendarWeek):
"""Filter for all objects within a calendar week."""
return self.within_dates(wanted_week[0], wanted_week[6])
def on_day(self, day: date):
"""Filter for all objects on a certain day."""
return self.within_dates(day, day)
class SchoolTermQuerySet(QuerySet, DateRangeQuerySetMixin):
"""Custom query set for school terms."""
class SchoolTermRelatedQuerySet(QuerySet):
"""Custom query set for all models related to school terms."""
def within_dates(self, start: date, end: date) -> "SchoolTermRelatedQuerySet":
"""Filter for all objects within a date range."""
return self.filter(school_term__date_start__lte=end, school_term__date_end__gte=start)
def in_week(self, wanted_week: CalendarWeek) -> "SchoolTermRelatedQuerySet":
"""Filter for all objects within a calendar week."""
return self.within_dates(wanted_week[0], wanted_week[6])
def on_day(self, day: date) -> "SchoolTermRelatedQuerySet":
"""Filter for all objects on a certain day."""
return self.within_dates(day, day)
def for_school_term(self, school_term: "SchoolTerm") -> "SchoolTermRelatedQuerySet":
return self.filter(school_term=school_term)
def for_current_school_term_or_all(self) -> "SchoolTermRelatedQuerySet":
"""Get all objects related to current school term.
If there is no current school term, it will return all objects.
"""
from aleksis.core.models import SchoolTerm
current_school_term = SchoolTerm.current
if current_school_term:
return self.for_school_term(current_school_term)
else:
return self
def for_current_school_term_or_none(self) -> Union["SchoolTermRelatedQuerySet", None]:
"""Get all objects related to current school term.
If there is no current school term, it will return `None`.
"""
from aleksis.core.models import SchoolTerm
current_school_term = SchoolTerm.current
if current_school_term:
return self.for_school_term(current_school_term)
else:
return None
class GroupManager(CurrentSiteManagerWithoutMigrations, CTEManager):
"""Manager adding specific methods to groups."""
def get_queryset(self):
"""Ensure all related data is loaded as well."""
return Manager.get_queryset(self).select_related("school_term")
class GroupQuerySet(SchoolTermRelatedQuerySet, CTEQuerySet):
pass
class UninstallRenitentPolymorphicManager(PolymorphicManager):
"""A custom manager for django-polymorphic that filters out submodels of unavailable apps."""
def get_queryset(self):
DashboardWidget = apps.get_model("core", "DashboardWidget")
if self.model is DashboardWidget:
return super().get_queryset().instance_of(*self.model.__subclasses__())
else:
# Called on subclasses
return super().get_queryset()
class InstalledWidgetsDashboardWidgetOrderManager(Manager):
"""A manager that only returns DashboardWidgetOrder objects with an existing widget."""
def get_queryset(self):
queryset = super().get_queryset()
# Get the DashboardWidget model class without importing it to avoid a circular import
DashboardWidget = queryset.model.widget.field.related_model # noqa
dashboard_widget_pks = DashboardWidget.objects.all().values("id")
# [obj["id"] for obj in list(Person.objects.all().values("id"))]
return super().get_queryset().filter(widget_id__in=dashboard_widget_pks)
class PolymorphicCurrentSiteManager(_CurrentSiteManager, PolymorphicManager):
"""Default manager for extensible, polymorphic models.""" | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/managers.py | managers.py |
from datetime import datetime, time
from typing import Any, Callable, Dict, Sequence
from django import forms
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Permission
from django.contrib.sites.models import Site
from django.core.exceptions import SuspiciousOperation, ValidationError
from django.db.models import QuerySet
from django.http import HttpRequest
from django.utils.translation import gettext_lazy as _
from allauth.account.adapter import get_adapter
from allauth.account.forms import SignupForm
from allauth.account.utils import setup_user_email
from dj_cleavejs import CleaveWidget
from django_select2.forms import ModelSelect2MultipleWidget, ModelSelect2Widget, Select2Widget
from dynamic_preferences.forms import PreferenceForm
from guardian.shortcuts import assign_perm
from invitations.forms import InviteForm
from maintenance_mode.core import get_maintenance_mode
from material import Fieldset, Layout, Row
from .mixins import ExtensibleForm, SchoolTermRelatedExtensibleForm
from .models import (
AdditionalField,
Announcement,
DashboardWidget,
Group,
GroupType,
OAuthApplication,
Person,
PersonInvitation,
SchoolTerm,
)
from .registries import (
group_preferences_registry,
person_preferences_registry,
site_preferences_registry,
)
from .util.auth_helpers import AppScopes
from .util.core_helpers import get_site_preferences, queryset_rules_filter
class PersonForm(ExtensibleForm):
"""Form to edit or add a person object in the frontend."""
layout = Layout(
Fieldset(
_("Base data"),
"short_name",
Row("user", "primary_group"),
Row("first_name", "additional_name", "last_name"),
),
Fieldset(_("Address"), Row("street", "housenumber"), Row("postal_code", "place")),
Fieldset(_("Contact data"), "email", Row("phone_number", "mobile_number")),
Fieldset(
_("Advanced personal data"),
Row("date_of_birth", "place_of_birth"),
Row("sex"),
Row("photo", "avatar"),
"guardians",
),
)
class Meta:
model = Person
fields = [
"user",
"first_name",
"last_name",
"additional_name",
"short_name",
"street",
"housenumber",
"postal_code",
"place",
"phone_number",
"mobile_number",
"email",
"date_of_birth",
"place_of_birth",
"sex",
"photo",
"avatar",
"guardians",
"primary_group",
]
widgets = {
"user": Select2Widget(attrs={"class": "browser-default"}),
"primary_group": ModelSelect2Widget(
search_fields=["name__icontains", "short_name__icontains"],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
"guardians": ModelSelect2MultipleWidget(
search_fields=[
"first_name__icontains",
"last_name__icontains",
"short_name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
}
new_user = forms.CharField(
required=False, label=_("New user"), help_text=_("Create a new account")
)
def __init__(self, *args, **kwargs):
request = kwargs.pop("request", None)
super().__init__(*args, **kwargs)
if (
request
and self.instance
and not request.user.has_perm("core.change_person", self.instance)
):
# Disable non-editable fields
allowed_person_fields = get_site_preferences()["account__editable_fields_person"]
for field in self.fields:
if field not in allowed_person_fields:
self.fields[field].disabled = True
def clean(self) -> None:
user = get_user_model()
if self.cleaned_data.get("new_user", None):
if self.cleaned_data.get("user", None):
# The user selected both an existing user and provided a name to create a new one
self.add_error(
"new_user",
_("You cannot set a new username when also selecting an existing user."),
)
elif user.objects.filter(username=self.cleaned_data["new_user"]).exists():
# The user tried to create a new user with the name of an existing user
self.add_error("new_user", _("This username is already in use."))
else:
# Create new User object and assign to form field for existing user
new_user_obj = user.objects.create_user(
self.cleaned_data["new_user"],
self.instance.email,
first_name=self.instance.first_name,
last_name=self.instance.last_name,
)
self.cleaned_data["user"] = new_user_obj
class EditGroupForm(SchoolTermRelatedExtensibleForm):
"""Form to edit an existing group in the frontend."""
layout = Layout(
Fieldset(_("School term"), "school_term"),
Fieldset(_("Common data"), "name", "short_name", "group_type"),
Fieldset(_("Persons"), "members", "owners", "parent_groups"),
Fieldset(_("Additional data"), "additional_fields"),
Fieldset(_("Photo"), "photo", "avatar"),
)
class Meta:
model = Group
fields = [
"school_term",
"name",
"short_name",
"group_type",
"members",
"owners",
"parent_groups",
"additional_fields",
"photo",
"avatar",
]
widgets = {
"members": ModelSelect2MultipleWidget(
search_fields=[
"first_name__icontains",
"last_name__icontains",
"short_name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
"owners": ModelSelect2MultipleWidget(
search_fields=[
"first_name__icontains",
"last_name__icontains",
"short_name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
"parent_groups": ModelSelect2MultipleWidget(
search_fields=["name__icontains", "short_name__icontains"],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
"additional_fields": ModelSelect2MultipleWidget(
search_fields=[
"title__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
}
class AnnouncementForm(ExtensibleForm):
"""Form to create or edit an announcement in the frontend."""
valid_from = forms.DateTimeField(required=False)
valid_until = forms.DateTimeField(required=False)
valid_from_date = forms.DateField(label=_("Date"))
valid_from_time = forms.TimeField(label=_("Time"))
valid_until_date = forms.DateField(label=_("Date"))
valid_until_time = forms.TimeField(label=_("Time"))
persons = forms.ModelMultipleChoiceField(
queryset=Person.objects.all(),
label=_("Persons"),
required=False,
widget=ModelSelect2MultipleWidget(
search_fields=[
"first_name__icontains",
"last_name__icontains",
"short_name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
)
groups = forms.ModelMultipleChoiceField(
queryset=None,
label=_("Groups"),
required=False,
widget=ModelSelect2MultipleWidget(
search_fields=[
"name__icontains",
"short_name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
)
layout = Layout(
Fieldset(
_("From when until when should the announcement be displayed?"),
Row("valid_from_date", "valid_from_time", "valid_until_date", "valid_until_time"),
),
Fieldset(_("Who should see the announcement?"), Row("groups", "persons")),
Fieldset(_("Write your announcement:"), "title", "description"),
)
def __init__(self, *args, **kwargs):
if "instance" not in kwargs:
# Default to today and whole day for new announcements
kwargs["initial"] = {
"valid_from_date": datetime.now(),
"valid_from_time": time(0, 0),
"valid_until_date": datetime.now(),
"valid_until_time": time(23, 59),
}
else:
announcement = kwargs["instance"]
# Fill special fields from given announcement instance
kwargs["initial"] = {
"valid_from_date": announcement.valid_from.date(),
"valid_from_time": announcement.valid_from.time(),
"valid_until_date": announcement.valid_until.date(),
"valid_until_time": announcement.valid_until.time(),
"groups": announcement.get_recipients_for_model(Group),
"persons": announcement.get_recipients_for_model(Person),
}
super().__init__(*args, **kwargs)
self.fields["groups"].queryset = Group.objects.for_current_school_term_or_all()
def clean(self):
data = super().clean()
# Combine date and time fields into datetime objects
valid_from = datetime.combine(data["valid_from_date"], data["valid_from_time"])
valid_until = datetime.combine(data["valid_until_date"], data["valid_until_time"])
# Sanity check validity range
if valid_until < datetime.now():
raise ValidationError(
_("You are not allowed to create announcements which are only valid in the past.")
)
elif valid_from > valid_until:
raise ValidationError(
_("The from date and time must be earlier then the until date and time.")
)
# Inject real time data if all went well
data["valid_from"] = valid_from
data["valid_until"] = valid_until
# Ensure at least one group or one person is set as recipient
if "groups" not in data and "persons" not in data:
raise ValidationError(_("You need at least one recipient."))
# Unwrap all recipients into single user objects and generate final list
data["recipients"] = []
data["recipients"] += data.get("groups", [])
data["recipients"] += data.get("persons", [])
return data
def save(self, _=False):
# Save announcement, respecting data injected in clean()
if self.instance is None:
self.instance = Announcement()
self.instance.valid_from = self.cleaned_data["valid_from"]
self.instance.valid_until = self.cleaned_data["valid_until"]
self.instance.title = self.cleaned_data["title"]
self.instance.description = self.cleaned_data["description"]
self.instance.save()
# Save recipients
self.instance.recipients.all().delete()
for recipient in self.cleaned_data["recipients"]:
self.instance.recipients.create(recipient=recipient)
self.instance.save()
return self.instance
class Meta:
model = Announcement
fields = [
"valid_from_date",
"valid_from_time",
"valid_until_date",
"valid_until_time",
"groups",
"persons",
"title",
"description",
]
class ChildGroupsForm(forms.Form):
"""Inline form for group editing to select child groups."""
child_groups = forms.ModelMultipleChoiceField(queryset=Group.objects.all())
class SitePreferenceForm(PreferenceForm):
"""Form to edit site preferences."""
registry = site_preferences_registry
class PersonPreferenceForm(PreferenceForm):
"""Form to edit preferences valid for one person."""
registry = person_preferences_registry
class GroupPreferenceForm(PreferenceForm):
"""Form to edit preferences valid for members of a group."""
registry = group_preferences_registry
class EditAdditionalFieldForm(forms.ModelForm):
"""Form to manage additional fields."""
class Meta:
model = AdditionalField
fields = ["title", "field_type", "required", "help_text"]
class EditGroupTypeForm(forms.ModelForm):
"""Form to manage group types."""
class Meta:
model = GroupType
fields = ["name", "description"]
class SchoolTermForm(ExtensibleForm):
"""Form for managing school years."""
layout = Layout("name", Row("date_start", "date_end"))
class Meta:
model = SchoolTerm
fields = ["name", "date_start", "date_end"]
class DashboardWidgetOrderForm(ExtensibleForm):
pk = forms.ModelChoiceField(
queryset=None,
widget=forms.HiddenInput(attrs={"class": "pk-input"}),
)
order = forms.IntegerField(initial=0, widget=forms.HiddenInput(attrs={"class": "order-input"}))
class Meta:
model = DashboardWidget
fields = []
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# Set queryset here to prevent problems with not migrated database due to special queryset
self.fields["pk"].queryset = DashboardWidget.objects.all()
DashboardWidgetOrderFormSet = forms.formset_factory(
form=DashboardWidgetOrderForm, max_num=0, extra=0
)
class InvitationCodeForm(forms.Form):
"""Form to enter an invitation code."""
code = forms.CharField(
label=_("Invitation code"),
help_text=_("Please enter your invitation code."),
)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# Calculate number of fields
length = get_site_preferences()["auth__invite_code_length"]
packet_size = get_site_preferences()["auth__invite_code_packet_size"]
blocks = [
packet_size,
] * length
self.fields["code"].widget = CleaveWidget(blocks=blocks, delimiter="-", uppercase=True)
class PersonCreateInviteForm(InviteForm):
"""Custom form to create a person and invite them."""
first_name = forms.CharField(label=_("First name"), required=True)
last_name = forms.CharField(label=_("Last name"), required=True)
layout = Layout(
Row("first_name", "last_name"),
Row("email"),
)
def clean_email(self):
if Person.objects.filter(email=self.cleaned_data["email"]).exists():
raise ValidationError(_("A person is using this e-mail address"))
return super().clean_email()
def save(self, email):
person = Person.objects.create(
first_name=self.cleaned_data["first_name"],
last_name=self.cleaned_data["last_name"],
email=email,
)
return PersonInvitation.create(email=email, person=person)
class SelectPermissionForm(forms.Form):
"""Select a permission to assign."""
selected_permission = forms.ModelChoiceField(
queryset=Permission.objects.all(),
widget=ModelSelect2Widget(
search_fields=["name__icontains", "codename__icontains"],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
)
class AssignPermissionForm(forms.Form):
"""Assign a permission to user/groups for all/some objects."""
layout = Layout(
Fieldset(_("Who should get the permission?"), "groups", "persons"),
Fieldset(_("On what?"), "objects", "all_objects"),
)
groups = forms.ModelMultipleChoiceField(
queryset=Group.objects.all(),
widget=ModelSelect2MultipleWidget(
search_fields=["name__icontains", "short_name__icontains"],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
required=False,
)
persons = forms.ModelMultipleChoiceField(
queryset=Person.objects.all(),
widget=ModelSelect2MultipleWidget(
search_fields=[
"first_name__icontains",
"last_name__icontains",
"short_name__icontains",
],
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
),
required=False,
)
objects = forms.ModelMultipleChoiceField(
queryset=None,
required=False,
label=_("Select objects which the permission should be granted for:"),
)
all_objects = forms.BooleanField(
required=False, label=_("Grant the permission for all objects")
)
def clean(self) -> Dict[str, Any]:
"""Clean form to ensure that at least one target and one type is selected."""
cleaned_data = super().clean()
if not cleaned_data.get("persons") and not cleaned_data.get("groups"):
raise ValidationError(
_("You must select at least one group or person which should get the permission.")
)
if not cleaned_data.get("objects") and not cleaned_data.get("all_objects"):
raise ValidationError(
_("You must grant the permission to all objects or to specific objects.")
)
return cleaned_data
def __init__(self, *args, permission: Permission, **kwargs):
self.permission = permission
super().__init__(*args, **kwargs)
model_class = self.permission.content_type.model_class()
if model_class._meta.managed and not model_class._meta.abstract:
queryset = model_class.objects.all()
else:
# The following queryset is just a dummy one. It has no real meaning.
# We need it as there are permissions without real objects,
# but we want to use the same form.
queryset = Site.objects.none()
self.fields["objects"].queryset = queryset
search_fields = getattr(model_class, "get_filter_fields", lambda: [])()
# Use select2 only if there are any searchable fields as it can't work without
if search_fields:
self.fields["objects"].widget = ModelSelect2MultipleWidget(
search_fields=search_fields,
queryset=queryset,
attrs={"data-minimum-input-length": 0, "class": "browser-default"},
)
def save_perms(self):
"""Save permissions for selected user/groups and selected/all objects."""
persons = self.cleaned_data["persons"]
groups = self.cleaned_data["groups"]
all_objects = self.cleaned_data["all_objects"]
objects = self.cleaned_data["objects"]
permission_name = f"{self.permission.content_type.app_label}.{self.permission.codename}"
created = 0
# Create permissions for users
for person in persons:
if getattr(person, "user", None):
# Global permission
if all_objects:
assign_perm(permission_name, person.user)
# Object permissions
for instance in objects:
assign_perm(permission_name, person.user, instance)
# Create permissions for users
for group in groups:
django_group = group.django_group
# Global permission
if all_objects:
assign_perm(permission_name, django_group)
# Object permissions
for instance in objects:
assign_perm(permission_name, django_group, instance)
class AccountRegisterForm(SignupForm, ExtensibleForm):
"""Form to register new user accounts."""
class Meta:
model = Person
fields = [
"first_name",
"additional_name",
"last_name",
"street",
"housenumber",
"postal_code",
"place",
"date_of_birth",
"place_of_birth",
"sex",
"photo",
"mobile_number",
"phone_number",
"short_name",
"description",
]
layout = Layout(
Fieldset(
_("Base data"),
Row("first_name", "additional_name", "last_name"),
"short_name",
),
Fieldset(
_("Address data"),
Row("street", "housenumber"),
Row("postal_code", "place"),
),
Fieldset(_("Contact data"), Row("mobile_number", "phone_number")),
Fieldset(
_("Additional data"),
Row("date_of_birth", "place_of_birth"),
Row("sex", "photo"),
"description",
),
Fieldset(
_("Account data"),
"username",
Row("email", "email2"),
Row("password1", "password2"),
),
)
password1 = forms.CharField(label=_("Password"), widget=forms.PasswordInput)
if settings.SIGNUP_PASSWORD_ENTER_TWICE:
password2 = forms.CharField(label=_("Password (again)"), widget=forms.PasswordInput)
def __init__(self, *args, **kwargs):
request = kwargs.pop("request", None)
super(AccountRegisterForm, self).__init__(*args, **kwargs)
person = None
if request.session.get("account_verified_email"):
email = request.session["account_verified_email"]
try:
person = Person.objects.get(email=email)
except (Person.DoesNotExist, Person.MultipleObjectsReturned):
raise SuspiciousOperation()
elif request.session.get("invitation_code"):
try:
invitation = PersonInvitation.objects.get(
key=request.session.get("invitation_code")
)
except PersonInvitation.DoesNotExist:
raise SuspiciousOperation()
person = invitation.person
if person:
self.instance = person
available_fields = [field.name for field in Person._meta.get_fields()]
if person.email:
self.fields["email"].disabled = True
self.fields["email2"].disabled = True
self.fields["email2"].initial = person.email
for field in self.fields:
if field in available_fields and getattr(person, field):
self.fields[field].disabled = True
self.fields[field].initial = getattr(person, field)
def save(self, request):
adapter = get_adapter(request)
user = adapter.new_user(request)
adapter.save_user(request, user, self)
# Create person
data = {}
for field in Person._meta.get_fields():
if field.name in self.cleaned_data:
data[field.name] = self.cleaned_data[field.name]
if self.instance:
person_qs = Person.objects.filter(pk=self.instance.pk)
else:
person_qs = Person.objects.filter(email=data["email"])
if not person_qs.exists():
if get_site_preferences()["account__auto_create_person"]:
Person.objects.create(user=user, **data)
if person_qs.exists():
person = person_qs.first()
for field, value in data.items():
setattr(person, field, value)
person.user = user
person.save()
invitation_code = request.session.get("invitation_code")
if invitation_code:
from invitations.views import accept_invitation # noqa
try:
invitation = PersonInvitation.objects.get(key=invitation_code)
except PersonInvitation.DoesNotExist:
raise SuspiciousOperation()
accept_invitation(invitation, request, user)
self.custom_signup(request, user)
setup_user_email(request, user, [])
return user
class ActionForm(forms.Form):
"""Generic form for executing actions on multiple items of a queryset.
This should be used together with a ``Table`` from django-tables2
which includes a ``SelectColumn``.
The queryset can be defined in two different ways:
You can use ``get_queryset`` or provide ``queryset`` as keyword argument
at the initialization of this form class.
If both are declared, it will use the keyword argument.
Any actions can be defined using the ``actions`` class attribute
or overriding the method ``get_actions``.
The actions use the same syntax like the Django Admin actions with one important difference:
Instead of the related model admin,
these actions will get the related ``ActionForm`` as first argument.
Here you can see an example for such an action:
.. code-block:: python
from django.utils.translation import gettext as _
def example_action(form, request, queryset):
# Do something with this queryset
example_action.short_description = _("Example action")
If you can include the ``ActionForm`` like any other form in your views,
but you must add the request as first argument.
When the form is valid, you should run ``execute``:
.. code-block:: python
from aleksis.core.forms import ActionForm
def your_view(request, ...):
# Something
action_form = ActionForm(request, request.POST or None, ...)
if request.method == "POST" and form.is_valid():
form.execute()
# Something
"""
layout = Layout("action")
actions = []
def get_actions(self) -> Sequence[Callable]:
"""Get all defined actions."""
return self.actions
def _get_actions_dict(self) -> dict[str, Callable]:
"""Get all defined actions as dictionary."""
return {value.__name__: value for value in self.get_actions()}
def _get_action_choices(self) -> list[tuple[str, str]]:
"""Get all defined actions as Django choices."""
return [
(value.__name__, getattr(value, "short_description", value.__name__))
for value in self.get_actions()
]
def get_queryset(self) -> QuerySet:
"""Get the related queryset."""
raise NotImplementedError("Queryset necessary.")
action = forms.ChoiceField(choices=[])
selected_objects = forms.ModelMultipleChoiceField(queryset=None)
def __init__(self, request: HttpRequest, *args, queryset: QuerySet = None, **kwargs):
self.request = request
self.queryset = queryset if isinstance(queryset, QuerySet) else self.get_queryset()
super().__init__(*args, **kwargs)
self.fields["selected_objects"].queryset = self.queryset
self.fields["action"].choices = self._get_action_choices()
def clean_action(self):
action = self._get_actions_dict().get(self.cleaned_data["action"], None)
if not action:
raise ValidationError(_("The selected action does not exist."))
return action
def clean_selected_objects(self):
action = self.cleaned_data["action"]
if hasattr(action, "permission"):
selected_objects = queryset_rules_filter(
self.request, self.cleaned_data["selected_objects"], action.permission
)
if selected_objects.count() < self.cleaned_data["selected_objects"].count():
raise ValidationError(
_("You do not have permission to run {} on all selected objects.").format(
getattr(value, "short_description", value.__name__)
)
)
return self.cleaned_data["selected_objects"]
def execute(self) -> Any:
"""Execute the selected action on all selected objects.
:return: the return value of the action
"""
if self.is_valid():
data = self.cleaned_data["selected_objects"]
action = self.cleaned_data["action"]
return action(None, self.request, data)
raise TypeError("execute() must be called on a pre-validated form.")
class ListActionForm(ActionForm):
"""Generic form for executing actions on multiple items of a list of dictionaries.
Sometimes you want to implement actions for data from different sources
than querysets or even querysets from multiple models. For these cases,
you can use this form.
To provide an unique identification of each item, the dictionaries **must**
include the attribute ``pk``. This attribute has to be unique for the whole list.
If you don't mind this aspect, this will cause unexpected behavior.
Any actions can be defined as described in ``ActionForm``, but, of course,
the last argument won't be a queryset but a list of dictionaries.
For further information on usage, you can take a look at ``ActionForm``.
"""
selected_objects = forms.MultipleChoiceField(choices=[])
def get_queryset(self):
# Return None in order not to raise an unwanted exception
return None
def _get_dict(self) -> dict[str, dict]:
"""Get the items sorted by pk attribute."""
return {item["pk"]: item for item in self.items}
def _get_choices(self) -> list[tuple[str, str]]:
"""Get the items as Django choices."""
return [(item["pk"], item["pk"]) for item in self.items]
def _get_real_items(self, items: Sequence[dict]) -> list[dict]:
"""Get the real dictionaries from a list of pks."""
items_dict = self._get_dict()
real_items = []
for item in items:
if item not in items_dict:
raise ValidationError(_("No valid selection."))
real_items.append(items_dict[item])
return real_items
def clean_selected_objects(self) -> list[dict]:
data = self.cleaned_data["selected_objects"]
items = self._get_real_items(data)
return items
def __init__(self, request: HttpRequest, items, *args, **kwargs):
self.items = items
super().__init__(request, *args, **kwargs)
self.fields["selected_objects"].choices = self._get_choices()
class OAuthApplicationForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields["allowed_scopes"].widget = forms.SelectMultiple(
choices=list(AppScopes().get_all_scopes().items())
)
class Meta:
model = OAuthApplication
fields = (
"name",
"icon",
"client_id",
"client_secret",
"client_type",
"algorithm",
"allowed_scopes",
"redirect_uris",
"skip_authorization",
)
class MaintenanceModeForm(forms.Form):
maintenance_mode = forms.BooleanField(
required=False,
initial=not get_maintenance_mode(),
widget=forms.HiddenInput,
) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/forms.py | forms.py |
import aleksis.core.models
import django.contrib.sites.managers
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('sites', '0002_alter_domain_unique'),
('core', '0012_valid_from_announcement'),
]
operations = [
migrations.AlterModelOptions(
name='globalpermissions',
options={'default_permissions': (), 'managed': False, 'permissions': (
('view_system_status', 'Can view system status'), ('link_persons_accounts', 'Can link persons to accounts'),
('manage_data', 'Can manage data'), ('impersonate', 'Can impersonate'), ('search', 'Can use search'),
('change_site_preferences', 'Can change site preferences'),
('change_person_preferences', 'Can change person preferences'),
('change_group_preferences', 'Can change group preferences'), ('test_pdf', 'Can test PDF generation'))},
),
migrations.CreateModel(
name='PDFFile',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('expires_at', models.DateTimeField(default=aleksis.core.models.PDFFile._get_default_expiration, verbose_name='File expires at')),
('html', models.TextField(verbose_name='Rendered HTML')),
('file', models.FileField(blank=True, null=True, upload_to='pdfs/', verbose_name='Generated PDF file')),
('person', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='pdf_files', to='core.person', verbose_name='Owner')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.site')),
],
options={
'verbose_name': 'PDF file',
'verbose_name_plural': 'PDF files',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0013_pdf_file.py | 0013_pdf_file.py |
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0032_remove_person_is_active'),
]
operations = [
migrations.AddField(
model_name='group',
name='avatar',
field=models.ImageField(blank=True, help_text='This is a picture or an avatar for public display.', null=True, upload_to='', verbose_name='Display picture / Avatar'),
),
migrations.AddField(
model_name='group',
name='photo',
field=models.ImageField(blank=True, help_text='This is an official photo, used for official documents and for internal use cases.', null=True, upload_to='', verbose_name='Photo'),
),
migrations.AddField(
model_name='person',
name='avatar',
field=models.ImageField(blank=True, help_text='This is a picture or an avatar for public display.', null=True, upload_to='', verbose_name='Display picture / Avatar'),
),
migrations.AlterField(
model_name='person',
name='photo',
field=models.ImageField(blank=True, help_text='This is an official photo, used for official documents and for internal use cases.', null=True, upload_to='', verbose_name='Photo'),
),
migrations.AlterModelOptions(
name='globalpermissions',
options={'default_permissions': (), 'managed': False, 'permissions': (('view_system_status', 'Can view system status'), ('manage_data', 'Can manage data'), ('impersonate', 'Can impersonate'), ('search', 'Can use search'), ('change_site_preferences', 'Can change site preferences'), ('change_person_preferences', 'Can change person preferences'), ('change_group_preferences', 'Can change group preferences'), ('test_pdf', 'Can test PDF generation'))},
),
migrations.AlterModelOptions(
name='person',
options={'ordering': ['last_name', 'first_name'], 'permissions': (('view_address', 'Can view address'), ('view_contact_details', 'Can view contact details'), ('view_photo', 'Can view photo'), ('view_avatar', 'Can view avatar image'), ('view_person_groups', 'Can view persons groups'), ('view_personal_details', 'Can view personal details')), 'verbose_name': 'Person', 'verbose_name_plural': 'Persons'},
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0033_update_photo_avatar.py | 0033_update_photo_avatar.py |
# Manual migration to replace Django OAuth Toolkit's models with custom models
# This migration is special, because it needs to work correctly both when applied
# during the initial database migration of the whole project, and when updating
# from an older schema version
#
# It strictly has to be applied before Django OAuth Toolkit's initial migration,
# because when the planner introspects existing models, it will stumble upon the swapped
# foreign key relations that now point to our custom models (as configured in settings).
#
# When run during the initial database migration, this simply works by setting run_before.
#
# When run during an update later, Django will refuse to migrate, because run_before will
# lead to an inconsistent migration history. Django OAuth Toolkit's migrations have already
# been run in the past, and we cannot move a new migration to before that.
#
# Therefore, we treat the two cases explicitly:
# – If tables from the oauth2_provider label exist, we…
# …assume that its migrations have been run in the past, and we are in an udpate
# …forcefully drop the migration from the database to convince Django to let our own
# migration run first
# …rename the tables to the new app label through raw SQL, passing the original
# operations that Django OAuth Toolkit would have done to the planner to spoof them
# in the state
# – If no tables from the oauth2_provider label exist, we…
# …assume that we are in the first ever migration of the project
# …introspect the operations that Django OAuth Toolkit would do, and re-create them for
# our own app
# – In both cases, we then let Django OAuth Toolkit do its migrations like normal; they will
# will be no-ops as we swapped all models
from django.apps import apps as global_apps
from django.conf import settings
from django.db import connection, migrations
from django.utils.module_loading import import_string
MODEL_NAMES = ("Application", "Grant", "AccessToken", "IDToken", "RefreshToken")
_MIGRATION_NAMES = ["0001_initial", "0002_auto_20190406_1805", "0003_auto_20201211_1314", "0004_auto_20200902_2022"]
class Migration(migrations.Migration):
"""Empty dummy migration to satisfy loader in utility functions."""
# This migration will later be replaced by the real one.
# We only need a class called Migration here so the loader we use in
# the functions below does not complain that this migration does not
# have a Migration class (yet).
pass
def _get_oauth_migrations():
"""Get all original migrations from Django OAuth Toolkit."""
loader = migrations.loader.MigrationLoader(connection)
return [loader.get_migration("oauth2_provider", name) for name in _MIGRATION_NAMES]
def _get_oauth_migration_operations(for_model=None):
"""Get all original operations from Django Oauth Toolkit and re-create them for the new models."""
operations = []
for migration in _get_oauth_migrations():
for old_operation in migration.operations:
# We need to re-create a new Operation class because Operations
# are immutably linked to an app
op_name, args, kwargs = old_operation.deconstruct()
if not "." in op_name:
op_name = f"django.db.migrations.{op_name}"
op_cls = import_string(op_name)
if "model_name" in kwargs:
# If we are not interested for this model, skip it
if for_model is not None and for_model != "oauth" + kwargs["model_name"].lower():
continue
# We are modifying a field. Replace the model name it belongs to
kwargs["model_name"] = "OAuth" + kwargs["model_name"]
elif "name" in kwargs:
# If we are not interested for this model, skip it
if for_model is not None and for_model != "oauth" + kwargs["name"].lower():
continue
# We are modifying a model. Replace the full name
kwargs["name"] = "OAuth" + kwargs["name"]
operations.append(op_cls(*args, **kwargs))
return operations
def _get_original_models():
"""Get the original models of Django OAuth Toolkit."""
try:
return [global_apps.get_model("oauth2_provider", name) for name in MODEL_NAMES]
except LookupError:
return []
def _get_new_models():
"""Get the new customised models."""
return [global_apps.get_model("core", f"OAuth{name}") for name in MODEL_NAMES]
def _original_tables_exist():
"""Check if original Django OAuth Toolkit tables exist."""
original_tables = set([model._meta.db_table for model in _get_original_models()])
return bool(set(connection.introspection.table_names()) & original_tables)
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('core', '0022_public_favicon'),
]
run_before = [("oauth2_provider", _MIGRATION_NAMES[0])]
operations = []
if _original_tables_exist():
# If original tables existed, we nned to copy data and remove them afterwards
for OldModel, NewModel in zip(_get_original_models(), _get_new_models()):
operations.append(migrations.RunSQL(
f"ALTER TABLE IF EXISTS {OldModel._meta.db_table} RENAME TO {NewModel._meta.db_table};",
reverse_sql=f"ALTER TABLE IF EXISTS {NewModel._meta.db_table} RENAME TO {OldModel._meta.db_table};",
# We copy the original migrations here to trick the planner into believing the migrations had run normally
state_operations=_get_oauth_migration_operations(NewModel._meta.model_name)
))
else:
# We need to copy Django OAuth Toolkit's migrations here to re-create
# all models, because we cannot auto-generate them due to the big swappable
# model circular dependency rabbit hole
operations += _get_oauth_migration_operations()
if _original_tables_exist():
# Fake-unapply migrations so the planner allows run_before
for name in _MIGRATION_NAMES:
connection.cursor().execute(f"DELETE FROM django_migrations WHERE app='oauth2_provider' AND name='{name}';") | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0023_oauth_application_model.py | 0023_oauth_application_model.py |
from django.db import migrations, models
import django.utils.timezone
import oauth2_provider.generators
import oauth2_provider.models
class Migration(migrations.Migration):
dependencies = [
('core', '0042_pdffile_empty'),
]
operations = [
migrations.AddField(
model_name='taskuserassignment',
name='additional_button_icon',
field=models.CharField(blank=True, max_length=255, verbose_name='Additional button icon'),
),
migrations.AddField(
model_name='taskuserassignment',
name='additional_button_title',
field=models.CharField(blank=True, max_length=255, verbose_name='Additional button title'),
),
migrations.AddField(
model_name='taskuserassignment',
name='additional_button_url',
field=models.URLField(blank=True, verbose_name='Additional button URL'),
),
migrations.AddField(
model_name='taskuserassignment',
name='back_url',
field=models.URLField(blank=True, verbose_name='Back URL'),
),
migrations.AddField(
model_name='taskuserassignment',
name='error_message',
field=models.TextField(blank=True, verbose_name='Error message'),
),
migrations.AddField(
model_name='taskuserassignment',
name='success_message',
field=models.TextField(blank=True, verbose_name='Success message'),
),
migrations.AddField(
model_name='taskuserassignment',
name='progress_title',
field=models.CharField(blank=True, max_length=255, verbose_name='Progress title'),
),
migrations.AddField(
model_name='taskuserassignment',
name='redirect_on_success_url',
field=models.URLField(blank=True, verbose_name='Redirect on success URL'),
),
migrations.AddField(
model_name='taskuserassignment',
name='title',
field=models.CharField(default='Data are processed', max_length=255, verbose_name='Title'),
preserve_default=False,
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0043_task_assignment_meta.py | 0043_task_assignment_meta.py |
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('sites', '0002_alter_domain_unique'),
('core', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='SchoolTerm',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('name', models.CharField(max_length=255, unique=True, verbose_name='Name')),
('date_start', models.DateField(verbose_name='Start date')),
('date_end', models.DateField(verbose_name='End date')),
],
options={
'verbose_name': 'School term',
'verbose_name_plural': 'School terms',
},
),
migrations.AlterModelManagers(
name='group',
managers=[
],
),
migrations.AlterField(
model_name='group',
name='name',
field=models.CharField(max_length=255, verbose_name='Long name'),
),
migrations.AlterField(
model_name='group',
name='short_name',
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Short name'),
),
migrations.AddField(
model_name='group',
name='school_term',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE,
related_name='+', to='core.SchoolTerm', verbose_name='Linked school term'),
),
migrations.AddConstraint(
model_name='group',
constraint=models.UniqueConstraint(fields=('school_term', 'name'), name='unique_school_term_name'),
),
migrations.AddConstraint(
model_name='group',
constraint=models.UniqueConstraint(fields=('school_term', 'short_name'), name='unique_school_term_short_name'),
),
migrations.AddField(
model_name='schoolterm',
name='site',
field=models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site'),
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0002_school_term.py | 0002_school_term.py |
from django.apps import apps
import django.contrib.sites.managers
from django.db import migrations, models
from django.db.utils import ProgrammingError
import django.db.models.deletion
import django.utils.timezone
import oauth2_provider.generators
import oauth2_provider.models
from psycopg2.errors import UndefinedTable
class Migration(migrations.Migration):
dependencies = [
('sites', '0002_alter_domain_unique'),
('core', '0046_notification_create_field_icon'),
]
# This migration must run after Chronos' migration 1 through 12, but before
# 13. That's because we are in fact moving a model, and we need to make sure
# that this migration runs at the right time.
if "chronos" in apps.app_configs:
recorder = migrations.recorder
applied = False
try:
applied = recorder.MigrationRecorder.Migration.objects.filter(app="core", name="0047_add_room_model").exists()
except ProgrammingError:
applied = False
if not applied:
dependencies.append(('chronos', '0012_add_supervision_global_permission'))
operations = [
migrations.CreateModel(
name='Room',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('short_name', models.CharField(max_length=255, verbose_name='Short name')),
('name', models.CharField(max_length=255, verbose_name='Long name')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.site')),
],
options={
'verbose_name': 'Room',
'verbose_name_plural': 'Rooms',
'ordering': ['name', 'short_name'],
'permissions': (('view_room_timetable', 'Can view room timetable'),),
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.AddConstraint(
model_name='room',
constraint=models.UniqueConstraint(fields=('site_id', 'short_name'), name='unique_room_short_name_per_site'),
),
# Migrate data from Chronos table; deletion will be handled by Chronos
migrations.RunSQL(
"""
-- Copy rooms from chronos if table exists
DO $$BEGIN INSERT INTO core_room SELECT * FROM chronos_room; EXCEPTION WHEN undefined_table THEN NULL; END$$;
"""
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0047_add_room_model.py | 0047_add_room_model.py |
import aleksis.core.mixins
import aleksis.core.util.core_helpers
import datetime
from django.conf import settings
import django.contrib.postgres.fields.jsonb
import django.contrib.sites.managers
from django.db import migrations, models
import django.db.models.deletion
import phonenumber_field.modelfields
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('contenttypes', '0002_remove_content_type_name'),
('sites', '0002_alter_domain_unique'),
]
operations = [
migrations.CreateModel(
name='GlobalPermissions',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
],
options={
'default_permissions': (),
'permissions': (('view_system_status', 'Can view system status'), ('link_persons_accounts', 'Can link persos to accounts'), ('manage_data', 'Can manage data'), ('impersonate', 'Can impersonate'), ('search', 'Can use search'), ('change_site_preferences', 'Can change site preferences'), ('change_person_preferences', 'Can change person preferences'), ('change_group_preferences', 'Can change group preferences')),
'managed': False,
},
),
migrations.CreateModel(
name='AdditionalField',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('title', models.CharField(max_length=255, verbose_name='Title of field')),
('field_type', models.CharField(choices=[('BooleanField', 'Boolean (Yes/No)'), ('CharField', 'Text (one line)'), ('DateField', 'Date'), ('DateTimeField', 'Date and time'), ('DecimalField', 'Decimal number'), ('EmailField', 'E-mail address'), ('IntegerField', 'Integer'), ('GenericIPAddressField', 'IP address'), ('NullBooleanField', 'Boolean or empty (Yes/No/Neither)'), ('TextField', 'Text (multi-line)'), ('TimeField', 'Time'), ('URLField', 'URL / Link')], max_length=50, verbose_name='Type of field')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
],
options={
'verbose_name': 'Addtitional field for groups',
'verbose_name_plural': 'Addtitional fields for groups',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='Announcement',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('title', models.CharField(max_length=150, verbose_name='Title')),
('description', models.TextField(blank=True, max_length=500, verbose_name='Description')),
('link', models.URLField(blank=True, verbose_name='Link to detailed view')),
('valid_from', models.DateTimeField(default=datetime.datetime.now, verbose_name='Date and time from when to show')),
('valid_until', models.DateTimeField(default=aleksis.core.util.core_helpers.now_tomorrow, verbose_name='Date and time until when to show')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
],
options={
'verbose_name': 'Announcement',
'verbose_name_plural': 'Announcements',
},
),
migrations.CreateModel(
name='CustomMenu',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('name', models.CharField(max_length=100, unique=True, verbose_name='Menu ID')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
],
options={
'verbose_name': 'Custom menu',
'verbose_name_plural': 'Custom menus',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='Group',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('name', models.CharField(max_length=255, unique=True, verbose_name='Long name')),
('short_name', models.CharField(blank=True, max_length=255, null=True, unique=True, verbose_name='Short name')),
('additional_fields', models.ManyToManyField(to='core.AdditionalField', verbose_name='Additional fields')),
],
options={
'verbose_name': 'Group',
'verbose_name_plural': 'Groups',
'ordering': ['short_name', 'name'],
'permissions': (('assign_child_groups_to_groups', 'Can assign child groups to groups'),),
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='Person',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('is_active', models.BooleanField(default=True, verbose_name='Is person active?')),
('first_name', models.CharField(max_length=255, verbose_name='First name')),
('last_name', models.CharField(max_length=255, verbose_name='Last name')),
('additional_name', models.CharField(blank=True, max_length=255, verbose_name='Additional name(s)')),
('short_name', models.CharField(blank=True, max_length=255, null=True, unique=True, verbose_name='Short name')),
('street', models.CharField(blank=True, max_length=255, verbose_name='Street')),
('housenumber', models.CharField(blank=True, max_length=255, verbose_name='Street number')),
('postal_code', models.CharField(blank=True, max_length=255, verbose_name='Postal code')),
('place', models.CharField(blank=True, max_length=255, verbose_name='Place')),
('phone_number', phonenumber_field.modelfields.PhoneNumberField(blank=True, max_length=128, region=None, verbose_name='Home phone')),
('mobile_number', phonenumber_field.modelfields.PhoneNumberField(blank=True, max_length=128, region=None, verbose_name='Mobile phone')),
('email', models.EmailField(blank=True, max_length=254, verbose_name='E-mail address')),
('date_of_birth', models.DateField(blank=True, null=True, verbose_name='Date of birth')),
('sex', models.CharField(blank=True, choices=[('f', 'female'), ('m', 'male')], max_length=1, verbose_name='Sex')),
('photo', models.CharField(blank=True, max_length=1)),
('photo_cropping', models.CharField(blank=True, max_length=1)),
('description', models.TextField(blank=True, verbose_name='Description')),
('guardians', models.ManyToManyField(blank=True, related_name='children', to='core.Person', verbose_name='Guardians / Parents')),
('primary_group', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='core.Group', verbose_name='Primary group')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
('user', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='person', to=settings.AUTH_USER_MODEL, verbose_name='Linked user')),
],
options={
'verbose_name': 'Person',
'verbose_name_plural': 'Persons',
'ordering': ['last_name', 'first_name'],
'permissions': (('view_address', 'Can view address'), ('view_contact_details', 'Can view contact details'), ('view_photo', 'Can view photo'), ('view_person_groups', 'Can view persons groups'), ('view_personal_details', 'Can view personal details')),
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='DummyPerson',
fields=[
],
options={
'managed': False,
'proxy': True,
},
bases=('core.person',),
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='SitePreferenceModel',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('section', models.CharField(blank=True, db_index=True, default=None, max_length=150, null=True, verbose_name='Section Name')),
('name', models.CharField(db_index=True, max_length=150, verbose_name='Name')),
('raw_value', models.TextField(blank=True, null=True, verbose_name='Raw Value')),
('instance', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
],
bases=(models.Model, aleksis.core.mixins.PureDjangoModel),
),
migrations.CreateModel(
name='PersonPreferenceModel',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('section', models.CharField(blank=True, db_index=True, default=None, max_length=150, null=True, verbose_name='Section Name')),
('name', models.CharField(db_index=True, max_length=150, verbose_name='Name')),
('raw_value', models.TextField(blank=True, null=True, verbose_name='Raw Value')),
('instance', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Person')),
],
bases=(models.Model, aleksis.core.mixins.PureDjangoModel),
),
migrations.CreateModel(
name='PersonGroupThrough',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Group')),
('person', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Person')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
],
options={
'abstract': False,
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='Notification',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('sender', models.CharField(max_length=100, verbose_name='Sender')),
('title', models.CharField(max_length=150, verbose_name='Title')),
('description', models.TextField(max_length=500, verbose_name='Description')),
('link', models.URLField(blank=True, verbose_name='Link')),
('read', models.BooleanField(default=False, verbose_name='Read')),
('sent', models.BooleanField(default=False, verbose_name='Sent')),
('recipient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='notifications', to='core.Person', verbose_name='Recipient')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
],
options={
'verbose_name': 'Notification',
'verbose_name_plural': 'Notifications',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='GroupType',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('name', models.CharField(max_length=50, verbose_name='Title of type')),
('description', models.CharField(max_length=500, verbose_name='Description')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
],
options={
'verbose_name': 'Group type',
'verbose_name_plural': 'Group types',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='GroupPreferenceModel',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('section', models.CharField(blank=True, db_index=True, default=None, max_length=150, null=True, verbose_name='Section Name')),
('name', models.CharField(db_index=True, max_length=150, verbose_name='Name')),
('raw_value', models.TextField(blank=True, null=True, verbose_name='Raw Value')),
('instance', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Group')),
],
bases=(models.Model, aleksis.core.mixins.PureDjangoModel),
),
migrations.AddField(
model_name='group',
name='group_type',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='type', to='core.GroupType', verbose_name='Type of group'),
),
migrations.AddField(
model_name='group',
name='members',
field=models.ManyToManyField(blank=True, related_name='member_of', through='core.PersonGroupThrough', to='core.Person', verbose_name='Members'),
),
migrations.AddField(
model_name='group',
name='owners',
field=models.ManyToManyField(blank=True, related_name='owner_of', to='core.Person', verbose_name='Owners'),
),
migrations.AddField(
model_name='group',
name='parent_groups',
field=models.ManyToManyField(blank=True, related_name='child_groups', to='core.Group', verbose_name='Parent groups'),
),
migrations.AddField(
model_name='group',
name='site',
field=models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site'),
),
migrations.CreateModel(
name='DashboardWidget',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=150, verbose_name='Widget Title')),
('active', models.BooleanField(verbose_name='Activate Widget')),
('polymorphic_ctype', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='polymorphic_core.dashboardwidget_set+', to='contenttypes.ContentType')),
],
options={
'verbose_name': 'Dashboard Widget',
'verbose_name_plural': 'Dashboard Widgets',
},
bases=(models.Model, aleksis.core.mixins.PureDjangoModel),
),
migrations.CreateModel(
name='CustomMenuItem',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('name', models.CharField(max_length=150, verbose_name='Name')),
('url', models.URLField(verbose_name='Link')),
('icon', models.CharField(blank=True, choices=[('3d_rotation', '3d_rotation'), ('ac_unit', 'ac_unit'), ('access_alarm', 'access_alarm'), ('access_alarms', 'access_alarms'), ('access_time', 'access_time'), ('accessibility', 'accessibility'), ('accessible', 'accessible'), ('account_balance', 'account_balance'), ('account_balance_wallet', 'account_balance_wallet'), ('account_box', 'account_box'), ('account_circle', 'account_circle'), ('adb', 'adb'), ('add', 'add'), ('add_a_photo', 'add_a_photo'), ('add_alarm', 'add_alarm'), ('add_alert', 'add_alert'), ('add_box', 'add_box'), ('add_circle', 'add_circle'), ('add_circle_outline', 'add_circle_outline'), ('add_location', 'add_location'), ('add_shopping_cart', 'add_shopping_cart'), ('add_to_photos', 'add_to_photos'), ('add_to_queue', 'add_to_queue'), ('adjust', 'adjust'), ('airline_seat_flat', 'airline_seat_flat'), ('airline_seat_flat_angled', 'airline_seat_flat_angled'), ('airline_seat_individual_suite', 'airline_seat_individual_suite'), ('airline_seat_legroom_extra', 'airline_seat_legroom_extra'), ('airline_seat_legroom_normal', 'airline_seat_legroom_normal'), ('airline_seat_legroom_reduced', 'airline_seat_legroom_reduced'), ('airline_seat_recline_extra', 'airline_seat_recline_extra'), ('airline_seat_recline_normal', 'airline_seat_recline_normal'), ('airplanemode_active', 'airplanemode_active'), ('airplanemode_inactive', 'airplanemode_inactive'), ('airplay', 'airplay'), ('airport_shuttle', 'airport_shuttle'), ('alarm', 'alarm'), ('alarm_add', 'alarm_add'), ('alarm_off', 'alarm_off'), ('alarm_on', 'alarm_on'), ('album', 'album'), ('all_inclusive', 'all_inclusive'), ('all_out', 'all_out'), ('android', 'android'), ('announcement', 'announcement'), ('apps', 'apps'), ('archive', 'archive'), ('arrow_back', 'arrow_back'), ('arrow_downward', 'arrow_downward'), ('arrow_drop_down', 'arrow_drop_down'), ('arrow_drop_down_circle', 'arrow_drop_down_circle'), ('arrow_drop_up', 'arrow_drop_up'), ('arrow_forward', 'arrow_forward'), ('arrow_upward', 'arrow_upward'), ('art_track', 'art_track'), ('aspect_ratio', 'aspect_ratio'), ('assessment', 'assessment'), ('assignment', 'assignment'), ('assignment_ind', 'assignment_ind'), ('assignment_late', 'assignment_late'), ('assignment_return', 'assignment_return'), ('assignment_returned', 'assignment_returned'), ('assignment_turned_in', 'assignment_turned_in'), ('assistant', 'assistant'), ('assistant_photo', 'assistant_photo'), ('attach_file', 'attach_file'), ('attach_money', 'attach_money'), ('attachment', 'attachment'), ('audiotrack', 'audiotrack'), ('autorenew', 'autorenew'), ('av_timer', 'av_timer'), ('backspace', 'backspace'), ('backup', 'backup'), ('battery_alert', 'battery_alert'), ('battery_charging_full', 'battery_charging_full'), ('battery_full', 'battery_full'), ('battery_std', 'battery_std'), ('battery_unknown', 'battery_unknown'), ('beach_access', 'beach_access'), ('beenhere', 'beenhere'), ('block', 'block'), ('bluetooth', 'bluetooth'), ('bluetooth_audio', 'bluetooth_audio'), ('bluetooth_connected', 'bluetooth_connected'), ('bluetooth_disabled', 'bluetooth_disabled'), ('bluetooth_searching', 'bluetooth_searching'), ('blur_circular', 'blur_circular'), ('blur_linear', 'blur_linear'), ('blur_off', 'blur_off'), ('blur_on', 'blur_on'), ('book', 'book'), ('bookmark', 'bookmark'), ('bookmark_border', 'bookmark_border'), ('border_all', 'border_all'), ('border_bottom', 'border_bottom'), ('border_clear', 'border_clear'), ('border_color', 'border_color'), ('border_horizontal', 'border_horizontal'), ('border_inner', 'border_inner'), ('border_left', 'border_left'), ('border_outer', 'border_outer'), ('border_right', 'border_right'), ('border_style', 'border_style'), ('border_top', 'border_top'), ('border_vertical', 'border_vertical'), ('branding_watermark', 'branding_watermark'), ('brightness_1', 'brightness_1'), ('brightness_2', 'brightness_2'), ('brightness_3', 'brightness_3'), ('brightness_4', 'brightness_4'), ('brightness_5', 'brightness_5'), ('brightness_6', 'brightness_6'), ('brightness_7', 'brightness_7'), ('brightness_auto', 'brightness_auto'), ('brightness_high', 'brightness_high'), ('brightness_low', 'brightness_low'), ('brightness_medium', 'brightness_medium'), ('broken_image', 'broken_image'), ('brush', 'brush'), ('bubble_chart', 'bubble_chart'), ('bug_report', 'bug_report'), ('build', 'build'), ('burst_mode', 'burst_mode'), ('business', 'business'), ('business_center', 'business_center'), ('cached', 'cached'), ('cake', 'cake'), ('call', 'call'), ('call_end', 'call_end'), ('call_made', 'call_made'), ('call_merge', 'call_merge'), ('call_missed', 'call_missed'), ('call_missed_outgoing', 'call_missed_outgoing'), ('call_received', 'call_received'), ('call_split', 'call_split'), ('call_to_action', 'call_to_action'), ('camera', 'camera'), ('camera_alt', 'camera_alt'), ('camera_enhance', 'camera_enhance'), ('camera_front', 'camera_front'), ('camera_rear', 'camera_rear'), ('camera_roll', 'camera_roll'), ('cancel', 'cancel'), ('card_giftcard', 'card_giftcard'), ('card_membership', 'card_membership'), ('card_travel', 'card_travel'), ('casino', 'casino'), ('cast', 'cast'), ('cast_connected', 'cast_connected'), ('center_focus_strong', 'center_focus_strong'), ('center_focus_weak', 'center_focus_weak'), ('change_history', 'change_history'), ('chat', 'chat'), ('chat_bubble', 'chat_bubble'), ('chat_bubble_outline', 'chat_bubble_outline'), ('check', 'check'), ('check_box', 'check_box'), ('check_box_outline_blank', 'check_box_outline_blank'), ('check_circle', 'check_circle'), ('chevron_left', 'chevron_left'), ('chevron_right', 'chevron_right'), ('child_care', 'child_care'), ('child_friendly', 'child_friendly'), ('chrome_reader_mode', 'chrome_reader_mode'), ('class', 'class'), ('clear', 'clear'), ('clear_all', 'clear_all'), ('close', 'close'), ('closed_caption', 'closed_caption'), ('cloud', 'cloud'), ('cloud_circle', 'cloud_circle'), ('cloud_done', 'cloud_done'), ('cloud_download', 'cloud_download'), ('cloud_off', 'cloud_off'), ('cloud_queue', 'cloud_queue'), ('cloud_upload', 'cloud_upload'), ('code', 'code'), ('collections', 'collections'), ('collections_bookmark', 'collections_bookmark'), ('color_lens', 'color_lens'), ('colorize', 'colorize'), ('comment', 'comment'), ('compare', 'compare'), ('compare_arrows', 'compare_arrows'), ('computer', 'computer'), ('confirmation_number', 'confirmation_number'), ('contact_mail', 'contact_mail'), ('contact_phone', 'contact_phone'), ('contacts', 'contacts'), ('content_copy', 'content_copy'), ('content_cut', 'content_cut'), ('content_paste', 'content_paste'), ('control_point', 'control_point'), ('control_point_duplicate', 'control_point_duplicate'), ('copyright', 'copyright'), ('create', 'create'), ('create_new_folder', 'create_new_folder'), ('credit_card', 'credit_card'), ('crop', 'crop'), ('crop_16_9', 'crop_16_9'), ('crop_3_2', 'crop_3_2'), ('crop_5_4', 'crop_5_4'), ('crop_7_5', 'crop_7_5'), ('crop_din', 'crop_din'), ('crop_free', 'crop_free'), ('crop_landscape', 'crop_landscape'), ('crop_original', 'crop_original'), ('crop_portrait', 'crop_portrait'), ('crop_rotate', 'crop_rotate'), ('crop_square', 'crop_square'), ('dashboard', 'dashboard'), ('data_usage', 'data_usage'), ('date_range', 'date_range'), ('dehaze', 'dehaze'), ('delete', 'delete'), ('delete_forever', 'delete_forever'), ('delete_sweep', 'delete_sweep'), ('description', 'description'), ('desktop_mac', 'desktop_mac'), ('desktop_windows', 'desktop_windows'), ('details', 'details'), ('developer_board', 'developer_board'), ('developer_mode', 'developer_mode'), ('device_hub', 'device_hub'), ('devices', 'devices'), ('devices_other', 'devices_other'), ('dialer_sip', 'dialer_sip'), ('dialpad', 'dialpad'), ('directions', 'directions'), ('directions_bike', 'directions_bike'), ('directions_boat', 'directions_boat'), ('directions_bus', 'directions_bus'), ('directions_car', 'directions_car'), ('directions_railway', 'directions_railway'), ('directions_run', 'directions_run'), ('directions_subway', 'directions_subway'), ('directions_transit', 'directions_transit'), ('directions_walk', 'directions_walk'), ('disc_full', 'disc_full'), ('dns', 'dns'), ('do_not_disturb', 'do_not_disturb'), ('do_not_disturb_alt', 'do_not_disturb_alt'), ('do_not_disturb_off', 'do_not_disturb_off'), ('do_not_disturb_on', 'do_not_disturb_on'), ('dock', 'dock'), ('domain', 'domain'), ('done', 'done'), ('done_all', 'done_all'), ('donut_large', 'donut_large'), ('donut_small', 'donut_small'), ('drafts', 'drafts'), ('drag_handle', 'drag_handle'), ('drive_eta', 'drive_eta'), ('dvr', 'dvr'), ('edit', 'edit'), ('edit_location', 'edit_location'), ('eject', 'eject'), ('email', 'email'), ('enhanced_encryption', 'enhanced_encryption'), ('equalizer', 'equalizer'), ('error', 'error'), ('error_outline', 'error_outline'), ('euro_symbol', 'euro_symbol'), ('ev_station', 'ev_station'), ('event', 'event'), ('event_available', 'event_available'), ('event_busy', 'event_busy'), ('event_note', 'event_note'), ('event_seat', 'event_seat'), ('exit_to_app', 'exit_to_app'), ('expand_less', 'expand_less'), ('expand_more', 'expand_more'), ('explicit', 'explicit'), ('explore', 'explore'), ('exposure', 'exposure'), ('exposure_neg_1', 'exposure_neg_1'), ('exposure_neg_2', 'exposure_neg_2'), ('exposure_plus_1', 'exposure_plus_1'), ('exposure_plus_2', 'exposure_plus_2'), ('exposure_zero', 'exposure_zero'), ('extension', 'extension'), ('face', 'face'), ('fast_forward', 'fast_forward'), ('fast_rewind', 'fast_rewind'), ('favorite', 'favorite'), ('favorite_border', 'favorite_border'), ('featured_play_list', 'featured_play_list'), ('featured_video', 'featured_video'), ('feedback', 'feedback'), ('fiber_dvr', 'fiber_dvr'), ('fiber_manual_record', 'fiber_manual_record'), ('fiber_new', 'fiber_new'), ('fiber_pin', 'fiber_pin'), ('fiber_smart_record', 'fiber_smart_record'), ('file_download', 'file_download'), ('file_upload', 'file_upload'), ('filter', 'filter'), ('filter_1', 'filter_1'), ('filter_2', 'filter_2'), ('filter_3', 'filter_3'), ('filter_4', 'filter_4'), ('filter_5', 'filter_5'), ('filter_6', 'filter_6'), ('filter_7', 'filter_7'), ('filter_8', 'filter_8'), ('filter_9', 'filter_9'), ('filter_9_plus', 'filter_9_plus'), ('filter_b_and_w', 'filter_b_and_w'), ('filter_center_focus', 'filter_center_focus'), ('filter_drama', 'filter_drama'), ('filter_frames', 'filter_frames'), ('filter_hdr', 'filter_hdr'), ('filter_list', 'filter_list'), ('filter_none', 'filter_none'), ('filter_tilt_shift', 'filter_tilt_shift'), ('filter_vintage', 'filter_vintage'), ('find_in_page', 'find_in_page'), ('find_replace', 'find_replace'), ('fingerprint', 'fingerprint'), ('first_page', 'first_page'), ('fitness_center', 'fitness_center'), ('flag', 'flag'), ('flare', 'flare'), ('flash_auto', 'flash_auto'), ('flash_off', 'flash_off'), ('flash_on', 'flash_on'), ('flight', 'flight'), ('flight_land', 'flight_land'), ('flight_takeoff', 'flight_takeoff'), ('flip', 'flip'), ('flip_to_back', 'flip_to_back'), ('flip_to_front', 'flip_to_front'), ('folder', 'folder'), ('folder_open', 'folder_open'), ('folder_shared', 'folder_shared'), ('folder_special', 'folder_special'), ('font_download', 'font_download'), ('format_align_center', 'format_align_center'), ('format_align_justify', 'format_align_justify'), ('format_align_left', 'format_align_left'), ('format_align_right', 'format_align_right'), ('format_bold', 'format_bold'), ('format_clear', 'format_clear'), ('format_color_fill', 'format_color_fill'), ('format_color_reset', 'format_color_reset'), ('format_color_text', 'format_color_text'), ('format_indent_decrease', 'format_indent_decrease'), ('format_indent_increase', 'format_indent_increase'), ('format_italic', 'format_italic'), ('format_line_spacing', 'format_line_spacing'), ('format_list_bulleted', 'format_list_bulleted'), ('format_list_numbered', 'format_list_numbered'), ('format_paint', 'format_paint'), ('format_quote', 'format_quote'), ('format_shapes', 'format_shapes'), ('format_size', 'format_size'), ('format_strikethrough', 'format_strikethrough'), ('format_textdirection_l_to_r', 'format_textdirection_l_to_r'), ('format_textdirection_r_to_l', 'format_textdirection_r_to_l'), ('format_underlined', 'format_underlined'), ('forum', 'forum'), ('forward', 'forward'), ('forward_10', 'forward_10'), ('forward_30', 'forward_30'), ('forward_5', 'forward_5'), ('free_breakfast', 'free_breakfast'), ('fullscreen', 'fullscreen'), ('fullscreen_exit', 'fullscreen_exit'), ('functions', 'functions'), ('g_translate', 'g_translate'), ('gamepad', 'gamepad'), ('games', 'games'), ('gavel', 'gavel'), ('gesture', 'gesture'), ('get_app', 'get_app'), ('gif', 'gif'), ('golf_course', 'golf_course'), ('gps_fixed', 'gps_fixed'), ('gps_not_fixed', 'gps_not_fixed'), ('gps_off', 'gps_off'), ('grade', 'grade'), ('gradient', 'gradient'), ('grain', 'grain'), ('graphic_eq', 'graphic_eq'), ('grid_off', 'grid_off'), ('grid_on', 'grid_on'), ('group', 'group'), ('group_add', 'group_add'), ('group_work', 'group_work'), ('hd', 'hd'), ('hdr_off', 'hdr_off'), ('hdr_on', 'hdr_on'), ('hdr_strong', 'hdr_strong'), ('hdr_weak', 'hdr_weak'), ('headset', 'headset'), ('headset_mic', 'headset_mic'), ('healing', 'healing'), ('hearing', 'hearing'), ('help', 'help'), ('help_outline', 'help_outline'), ('high_quality', 'high_quality'), ('highlight', 'highlight'), ('highlight_off', 'highlight_off'), ('history', 'history'), ('home', 'home'), ('hot_tub', 'hot_tub'), ('hotel', 'hotel'), ('hourglass_empty', 'hourglass_empty'), ('hourglass_full', 'hourglass_full'), ('http', 'http'), ('https', 'https'), ('image', 'image'), ('image_aspect_ratio', 'image_aspect_ratio'), ('import_contacts', 'import_contacts'), ('import_export', 'import_export'), ('important_devices', 'important_devices'), ('inbox', 'inbox'), ('indeterminate_check_box', 'indeterminate_check_box'), ('info', 'info'), ('info_outline', 'info_outline'), ('input', 'input'), ('insert_chart', 'insert_chart'), ('insert_comment', 'insert_comment'), ('insert_drive_file', 'insert_drive_file'), ('insert_emoticon', 'insert_emoticon'), ('insert_invitation', 'insert_invitation'), ('insert_link', 'insert_link'), ('insert_photo', 'insert_photo'), ('invert_colors', 'invert_colors'), ('invert_colors_off', 'invert_colors_off'), ('iso', 'iso'), ('keyboard', 'keyboard'), ('keyboard_arrow_down', 'keyboard_arrow_down'), ('keyboard_arrow_left', 'keyboard_arrow_left'), ('keyboard_arrow_right', 'keyboard_arrow_right'), ('keyboard_arrow_up', 'keyboard_arrow_up'), ('keyboard_backspace', 'keyboard_backspace'), ('keyboard_capslock', 'keyboard_capslock'), ('keyboard_hide', 'keyboard_hide'), ('keyboard_return', 'keyboard_return'), ('keyboard_tab', 'keyboard_tab'), ('keyboard_voice', 'keyboard_voice'), ('kitchen', 'kitchen'), ('label', 'label'), ('label_outline', 'label_outline'), ('landscape', 'landscape'), ('language', 'language'), ('laptop', 'laptop'), ('laptop_chromebook', 'laptop_chromebook'), ('laptop_mac', 'laptop_mac'), ('laptop_windows', 'laptop_windows'), ('last_page', 'last_page'), ('launch', 'launch'), ('layers', 'layers'), ('layers_clear', 'layers_clear'), ('leak_add', 'leak_add'), ('leak_remove', 'leak_remove'), ('lens', 'lens'), ('library_add', 'library_add'), ('library_books', 'library_books'), ('library_music', 'library_music'), ('lightbulb_outline', 'lightbulb_outline'), ('line_style', 'line_style'), ('line_weight', 'line_weight'), ('linear_scale', 'linear_scale'), ('link', 'link'), ('linked_camera', 'linked_camera'), ('list', 'list'), ('live_help', 'live_help'), ('live_tv', 'live_tv'), ('local_activity', 'local_activity'), ('local_airport', 'local_airport'), ('local_atm', 'local_atm'), ('local_bar', 'local_bar'), ('local_cafe', 'local_cafe'), ('local_car_wash', 'local_car_wash'), ('local_convenience_store', 'local_convenience_store'), ('local_dining', 'local_dining'), ('local_drink', 'local_drink'), ('local_florist', 'local_florist'), ('local_gas_station', 'local_gas_station'), ('local_grocery_store', 'local_grocery_store'), ('local_hospital', 'local_hospital'), ('local_hotel', 'local_hotel'), ('local_laundry_service', 'local_laundry_service'), ('local_library', 'local_library'), ('local_mall', 'local_mall'), ('local_movies', 'local_movies'), ('local_offer', 'local_offer'), ('local_parking', 'local_parking'), ('local_pharmacy', 'local_pharmacy'), ('local_phone', 'local_phone'), ('local_pizza', 'local_pizza'), ('local_play', 'local_play'), ('local_post_office', 'local_post_office'), ('local_printshop', 'local_printshop'), ('local_see', 'local_see'), ('local_shipping', 'local_shipping'), ('local_taxi', 'local_taxi'), ('location_city', 'location_city'), ('location_disabled', 'location_disabled'), ('location_off', 'location_off'), ('location_on', 'location_on'), ('location_searching', 'location_searching'), ('lock', 'lock'), ('lock_open', 'lock_open'), ('lock_outline', 'lock_outline'), ('looks', 'looks'), ('looks_3', 'looks_3'), ('looks_4', 'looks_4'), ('looks_5', 'looks_5'), ('looks_6', 'looks_6'), ('looks_one', 'looks_one'), ('looks_two', 'looks_two'), ('loop', 'loop'), ('loupe', 'loupe'), ('low_priority', 'low_priority'), ('loyalty', 'loyalty'), ('mail', 'mail'), ('mail_outline', 'mail_outline'), ('map', 'map'), ('markunread', 'markunread'), ('markunread_mailbox', 'markunread_mailbox'), ('memory', 'memory'), ('menu', 'menu'), ('merge_type', 'merge_type'), ('message', 'message'), ('mic', 'mic'), ('mic_none', 'mic_none'), ('mic_off', 'mic_off'), ('mms', 'mms'), ('mode_comment', 'mode_comment'), ('mode_edit', 'mode_edit'), ('monetization_on', 'monetization_on'), ('money_off', 'money_off'), ('monochrome_photos', 'monochrome_photos'), ('mood', 'mood'), ('mood_bad', 'mood_bad'), ('more', 'more'), ('more_horiz', 'more_horiz'), ('more_vert', 'more_vert'), ('motorcycle', 'motorcycle'), ('mouse', 'mouse'), ('move_to_inbox', 'move_to_inbox'), ('movie', 'movie'), ('movie_creation', 'movie_creation'), ('movie_filter', 'movie_filter'), ('multiline_chart', 'multiline_chart'), ('music_note', 'music_note'), ('music_video', 'music_video'), ('my_location', 'my_location'), ('nature', 'nature'), ('nature_people', 'nature_people'), ('navigate_before', 'navigate_before'), ('navigate_next', 'navigate_next'), ('navigation', 'navigation'), ('near_me', 'near_me'), ('network_cell', 'network_cell'), ('network_check', 'network_check'), ('network_locked', 'network_locked'), ('network_wifi', 'network_wifi'), ('new_releases', 'new_releases'), ('next_week', 'next_week'), ('nfc', 'nfc'), ('no_encryption', 'no_encryption'), ('no_sim', 'no_sim'), ('not_interested', 'not_interested'), ('note', 'note'), ('note_add', 'note_add'), ('notifications', 'notifications'), ('notifications_active', 'notifications_active'), ('notifications_none', 'notifications_none'), ('notifications_off', 'notifications_off'), ('notifications_paused', 'notifications_paused'), ('offline_pin', 'offline_pin'), ('ondemand_video', 'ondemand_video'), ('opacity', 'opacity'), ('open_in_browser', 'open_in_browser'), ('open_in_new', 'open_in_new'), ('open_with', 'open_with'), ('pages', 'pages'), ('pageview', 'pageview'), ('palette', 'palette'), ('pan_tool', 'pan_tool'), ('panorama', 'panorama'), ('panorama_fish_eye', 'panorama_fish_eye'), ('panorama_horizontal', 'panorama_horizontal'), ('panorama_vertical', 'panorama_vertical'), ('panorama_wide_angle', 'panorama_wide_angle'), ('party_mode', 'party_mode'), ('pause', 'pause'), ('pause_circle_filled', 'pause_circle_filled'), ('pause_circle_outline', 'pause_circle_outline'), ('payment', 'payment'), ('people', 'people'), ('people_outline', 'people_outline'), ('perm_camera_mic', 'perm_camera_mic'), ('perm_contact_calendar', 'perm_contact_calendar'), ('perm_data_setting', 'perm_data_setting'), ('perm_device_information', 'perm_device_information'), ('perm_identity', 'perm_identity'), ('perm_media', 'perm_media'), ('perm_phone_msg', 'perm_phone_msg'), ('perm_scan_wifi', 'perm_scan_wifi'), ('person', 'person'), ('person_add', 'person_add'), ('person_outline', 'person_outline'), ('person_pin', 'person_pin'), ('person_pin_circle', 'person_pin_circle'), ('personal_video', 'personal_video'), ('pets', 'pets'), ('phone', 'phone'), ('phone_android', 'phone_android'), ('phone_bluetooth_speaker', 'phone_bluetooth_speaker'), ('phone_forwarded', 'phone_forwarded'), ('phone_in_talk', 'phone_in_talk'), ('phone_iphone', 'phone_iphone'), ('phone_locked', 'phone_locked'), ('phone_missed', 'phone_missed'), ('phone_paused', 'phone_paused'), ('phonelink', 'phonelink'), ('phonelink_erase', 'phonelink_erase'), ('phonelink_lock', 'phonelink_lock'), ('phonelink_off', 'phonelink_off'), ('phonelink_ring', 'phonelink_ring'), ('phonelink_setup', 'phonelink_setup'), ('photo', 'photo'), ('photo_album', 'photo_album'), ('photo_camera', 'photo_camera'), ('photo_filter', 'photo_filter'), ('photo_library', 'photo_library'), ('photo_size_select_actual', 'photo_size_select_actual'), ('photo_size_select_large', 'photo_size_select_large'), ('photo_size_select_small', 'photo_size_select_small'), ('picture_as_pdf', 'picture_as_pdf'), ('picture_in_picture', 'picture_in_picture'), ('picture_in_picture_alt', 'picture_in_picture_alt'), ('pie_chart', 'pie_chart'), ('pie_chart_outlined', 'pie_chart_outlined'), ('pin_drop', 'pin_drop'), ('place', 'place'), ('play_arrow', 'play_arrow'), ('play_circle_filled', 'play_circle_filled'), ('play_circle_outline', 'play_circle_outline'), ('play_for_work', 'play_for_work'), ('playlist_add', 'playlist_add'), ('playlist_add_check', 'playlist_add_check'), ('playlist_play', 'playlist_play'), ('plus_one', 'plus_one'), ('poll', 'poll'), ('polymer', 'polymer'), ('pool', 'pool'), ('portable_wifi_off', 'portable_wifi_off'), ('portrait', 'portrait'), ('power', 'power'), ('power_input', 'power_input'), ('power_settings_new', 'power_settings_new'), ('pregnant_woman', 'pregnant_woman'), ('present_to_all', 'present_to_all'), ('print', 'print'), ('priority_high', 'priority_high'), ('public', 'public'), ('publish', 'publish'), ('query_builder', 'query_builder'), ('question_answer', 'question_answer'), ('queue', 'queue'), ('queue_music', 'queue_music'), ('queue_play_next', 'queue_play_next'), ('radio', 'radio'), ('radio_button_checked', 'radio_button_checked'), ('radio_button_unchecked', 'radio_button_unchecked'), ('rate_review', 'rate_review'), ('receipt', 'receipt'), ('recent_actors', 'recent_actors'), ('record_voice_over', 'record_voice_over'), ('redeem', 'redeem'), ('redo', 'redo'), ('refresh', 'refresh'), ('remove', 'remove'), ('remove_circle', 'remove_circle'), ('remove_circle_outline', 'remove_circle_outline'), ('remove_from_queue', 'remove_from_queue'), ('remove_red_eye', 'remove_red_eye'), ('remove_shopping_cart', 'remove_shopping_cart'), ('reorder', 'reorder'), ('repeat', 'repeat'), ('repeat_one', 'repeat_one'), ('replay', 'replay'), ('replay_10', 'replay_10'), ('replay_30', 'replay_30'), ('replay_5', 'replay_5'), ('reply', 'reply'), ('reply_all', 'reply_all'), ('report', 'report'), ('report_problem', 'report_problem'), ('restaurant', 'restaurant'), ('restaurant_menu', 'restaurant_menu'), ('restore', 'restore'), ('restore_page', 'restore_page'), ('ring_volume', 'ring_volume'), ('room', 'room'), ('room_service', 'room_service'), ('rotate_90_degrees_ccw', 'rotate_90_degrees_ccw'), ('rotate_left', 'rotate_left'), ('rotate_right', 'rotate_right'), ('rounded_corner', 'rounded_corner'), ('router', 'router'), ('rowing', 'rowing'), ('rss_feed', 'rss_feed'), ('rv_hookup', 'rv_hookup'), ('satellite', 'satellite'), ('save', 'save'), ('scanner', 'scanner'), ('schedule', 'schedule'), ('school', 'school'), ('screen_lock_landscape', 'screen_lock_landscape'), ('screen_lock_portrait', 'screen_lock_portrait'), ('screen_lock_rotation', 'screen_lock_rotation'), ('screen_rotation', 'screen_rotation'), ('screen_share', 'screen_share'), ('sd_card', 'sd_card'), ('sd_storage', 'sd_storage'), ('search', 'search'), ('security', 'security'), ('select_all', 'select_all'), ('send', 'send'), ('sentiment_dissatisfied', 'sentiment_dissatisfied'), ('sentiment_neutral', 'sentiment_neutral'), ('sentiment_satisfied', 'sentiment_satisfied'), ('sentiment_very_dissatisfied', 'sentiment_very_dissatisfied'), ('sentiment_very_satisfied', 'sentiment_very_satisfied'), ('settings', 'settings'), ('settings_applications', 'settings_applications'), ('settings_backup_restore', 'settings_backup_restore'), ('settings_bluetooth', 'settings_bluetooth'), ('settings_brightness', 'settings_brightness'), ('settings_cell', 'settings_cell'), ('settings_ethernet', 'settings_ethernet'), ('settings_input_antenna', 'settings_input_antenna'), ('settings_input_component', 'settings_input_component'), ('settings_input_composite', 'settings_input_composite'), ('settings_input_hdmi', 'settings_input_hdmi'), ('settings_input_svideo', 'settings_input_svideo'), ('settings_overscan', 'settings_overscan'), ('settings_phone', 'settings_phone'), ('settings_power', 'settings_power'), ('settings_remote', 'settings_remote'), ('settings_system_daydream', 'settings_system_daydream'), ('settings_voice', 'settings_voice'), ('share', 'share'), ('shop', 'shop'), ('shop_two', 'shop_two'), ('shopping_basket', 'shopping_basket'), ('shopping_cart', 'shopping_cart'), ('short_text', 'short_text'), ('show_chart', 'show_chart'), ('shuffle', 'shuffle'), ('signal_cellular_4_bar', 'signal_cellular_4_bar'), ('signal_cellular_connected_no_internet_4_bar', 'signal_cellular_connected_no_internet_4_bar'), ('signal_cellular_no_sim', 'signal_cellular_no_sim'), ('signal_cellular_null', 'signal_cellular_null'), ('signal_cellular_off', 'signal_cellular_off'), ('signal_wifi_4_bar', 'signal_wifi_4_bar'), ('signal_wifi_4_bar_lock', 'signal_wifi_4_bar_lock'), ('signal_wifi_off', 'signal_wifi_off'), ('sim_card', 'sim_card'), ('sim_card_alert', 'sim_card_alert'), ('skip_next', 'skip_next'), ('skip_previous', 'skip_previous'), ('slideshow', 'slideshow'), ('slow_motion_video', 'slow_motion_video'), ('smartphone', 'smartphone'), ('smoke_free', 'smoke_free'), ('smoking_rooms', 'smoking_rooms'), ('sms', 'sms'), ('sms_failed', 'sms_failed'), ('snooze', 'snooze'), ('sort', 'sort'), ('sort_by_alpha', 'sort_by_alpha'), ('spa', 'spa'), ('space_bar', 'space_bar'), ('speaker', 'speaker'), ('speaker_group', 'speaker_group'), ('speaker_notes', 'speaker_notes'), ('speaker_notes_off', 'speaker_notes_off'), ('speaker_phone', 'speaker_phone'), ('spellcheck', 'spellcheck'), ('star', 'star'), ('star_border', 'star_border'), ('star_half', 'star_half'), ('stars', 'stars'), ('stay_current_landscape', 'stay_current_landscape'), ('stay_current_portrait', 'stay_current_portrait'), ('stay_primary_landscape', 'stay_primary_landscape'), ('stay_primary_portrait', 'stay_primary_portrait'), ('stop', 'stop'), ('stop_screen_share', 'stop_screen_share'), ('storage', 'storage'), ('store', 'store'), ('store_mall_directory', 'store_mall_directory'), ('straighten', 'straighten'), ('streetview', 'streetview'), ('strikethrough_s', 'strikethrough_s'), ('style', 'style'), ('subdirectory_arrow_left', 'subdirectory_arrow_left'), ('subdirectory_arrow_right', 'subdirectory_arrow_right'), ('subject', 'subject'), ('subscriptions', 'subscriptions'), ('subtitles', 'subtitles'), ('subway', 'subway'), ('supervisor_account', 'supervisor_account'), ('surround_sound', 'surround_sound'), ('swap_calls', 'swap_calls'), ('swap_horiz', 'swap_horiz'), ('swap_vert', 'swap_vert'), ('swap_vertical_circle', 'swap_vertical_circle'), ('switch_camera', 'switch_camera'), ('switch_video', 'switch_video'), ('sync', 'sync'), ('sync_disabled', 'sync_disabled'), ('sync_problem', 'sync_problem'), ('system_update', 'system_update'), ('system_update_alt', 'system_update_alt'), ('tab', 'tab'), ('tab_unselected', 'tab_unselected'), ('tablet', 'tablet'), ('tablet_android', 'tablet_android'), ('tablet_mac', 'tablet_mac'), ('tag_faces', 'tag_faces'), ('tap_and_play', 'tap_and_play'), ('terrain', 'terrain'), ('text_fields', 'text_fields'), ('text_format', 'text_format'), ('textsms', 'textsms'), ('texture', 'texture'), ('theaters', 'theaters'), ('thumb_down', 'thumb_down'), ('thumb_up', 'thumb_up'), ('thumbs_up_down', 'thumbs_up_down'), ('time_to_leave', 'time_to_leave'), ('timelapse', 'timelapse'), ('timeline', 'timeline'), ('timer', 'timer'), ('timer_10', 'timer_10'), ('timer_3', 'timer_3'), ('timer_off', 'timer_off'), ('title', 'title'), ('toc', 'toc'), ('today', 'today'), ('toll', 'toll'), ('tonality', 'tonality'), ('touch_app', 'touch_app'), ('toys', 'toys'), ('track_changes', 'track_changes'), ('traffic', 'traffic'), ('train', 'train'), ('tram', 'tram'), ('transfer_within_a_station', 'transfer_within_a_station'), ('transform', 'transform'), ('translate', 'translate'), ('trending_down', 'trending_down'), ('trending_flat', 'trending_flat'), ('trending_up', 'trending_up'), ('tune', 'tune'), ('turned_in', 'turned_in'), ('turned_in_not', 'turned_in_not'), ('tv', 'tv'), ('unarchive', 'unarchive'), ('undo', 'undo'), ('unfold_less', 'unfold_less'), ('unfold_more', 'unfold_more'), ('update', 'update'), ('usb', 'usb'), ('verified_user', 'verified_user'), ('vertical_align_bottom', 'vertical_align_bottom'), ('vertical_align_center', 'vertical_align_center'), ('vertical_align_top', 'vertical_align_top'), ('vibration', 'vibration'), ('video_call', 'video_call'), ('video_label', 'video_label'), ('video_library', 'video_library'), ('videocam', 'videocam'), ('videocam_off', 'videocam_off'), ('videogame_asset', 'videogame_asset'), ('view_agenda', 'view_agenda'), ('view_array', 'view_array'), ('view_carousel', 'view_carousel'), ('view_column', 'view_column'), ('view_comfy', 'view_comfy'), ('view_compact', 'view_compact'), ('view_day', 'view_day'), ('view_headline', 'view_headline'), ('view_list', 'view_list'), ('view_module', 'view_module'), ('view_quilt', 'view_quilt'), ('view_stream', 'view_stream'), ('view_week', 'view_week'), ('vignette', 'vignette'), ('visibility', 'visibility'), ('visibility_off', 'visibility_off'), ('voice_chat', 'voice_chat'), ('voicemail', 'voicemail'), ('volume_down', 'volume_down'), ('volume_mute', 'volume_mute'), ('volume_off', 'volume_off'), ('volume_up', 'volume_up'), ('vpn_key', 'vpn_key'), ('vpn_lock', 'vpn_lock'), ('wallpaper', 'wallpaper'), ('warning', 'warning'), ('watch', 'watch'), ('watch_later', 'watch_later'), ('wb_auto', 'wb_auto'), ('wb_cloudy', 'wb_cloudy'), ('wb_incandescent', 'wb_incandescent'), ('wb_iridescent', 'wb_iridescent'), ('wb_sunny', 'wb_sunny'), ('wc', 'wc'), ('web', 'web'), ('web_asset', 'web_asset'), ('weekend', 'weekend'), ('whatshot', 'whatshot'), ('widgets', 'widgets'), ('wifi', 'wifi'), ('wifi_lock', 'wifi_lock'), ('wifi_tethering', 'wifi_tethering'), ('work', 'work'), ('wrap_text', 'wrap_text'), ('youtube_searched_for', 'youtube_searched_for'), ('zoom_in', 'zoom_in'), ('zoom_out', 'zoom_out'), ('zoom_out_map', 'zoom_out_map')], max_length=50, verbose_name='Icon')),
('menu', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='items', to='core.CustomMenu', verbose_name='Menu')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
],
options={
'verbose_name': 'Custom menu item',
'verbose_name_plural': 'Custom menu items',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='AnnouncementRecipient',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('recipient_id', models.PositiveIntegerField()),
('announcement', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='recipients', to='core.Announcement')),
('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
],
options={
'verbose_name': 'Announcement recipient',
'verbose_name_plural': 'Announcement recipients',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
migrations.CreateModel(
name='Activity',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('extended_data', models.JSONField(default=dict, editable=False)),
('title', models.CharField(max_length=150, verbose_name='Title')),
('description', models.TextField(max_length=500, verbose_name='Description')),
('app', models.CharField(max_length=100, verbose_name='Application')),
('site', models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, to='sites.Site')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='activities', to='core.Person', verbose_name='User')),
],
options={
'verbose_name': 'Activity',
'verbose_name_plural': 'Activities',
},
managers=[
('objects', django.contrib.sites.managers.CurrentSiteManager()),
],
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0001_initial.py | 0001_initial.py |
import django.contrib.sites.managers
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
("sites", "0002_alter_domain_unique"),
("contenttypes", "0002_remove_content_type_name"),
("core", "0007_dashboard_widget_order"),
]
operations = [
migrations.CreateModel(
name="DataCheckResult",
fields=[
(
"id",
models.BigAutoField(
auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
),
),
("extended_data", models.JSONField(default=dict, editable=False)),
(
"check",
models.CharField(
choices=[], max_length=255, verbose_name="Related data check task"
),
),
("object_id", models.CharField(max_length=255)),
("solved", models.BooleanField(default=False, verbose_name="Issue solved")),
("sent", models.BooleanField(default=False, verbose_name="Notification sent")),
(
"content_type",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to="contenttypes.contenttype"
),
),
(
"site",
models.ForeignKey(
default=1,
editable=False,
on_delete=django.db.models.deletion.CASCADE,
to="sites.site",
),
),
],
options={
"permissions": (
("run_data_checks", "Can run data checks"),
("solve_data_problem", "Can solve data check problems"),
),
"verbose_name": "Data check result",
"verbose_name_plural": "Data check results",
},
managers=[("objects", django.contrib.sites.managers.CurrentSiteManager()),],
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0008_data_check_result.py | 0008_data_check_result.py |
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('core', '0045_data_check_result_fix_check_field'),
]
operations = [
migrations.AddField(
model_name='notification',
name='icon',
field=models.CharField(choices=[('ab-testing', 'ab-testing'), ('abacus', 'abacus'), ('abjad-arabic', 'abjad-arabic'), ('abjad-hebrew', 'abjad-hebrew'), ('abugida-devanagari', 'abugida-devanagari'), ('abugida-thai', 'abugida-thai'), ('access-point', 'access-point'), ('access-point-check', 'access-point-check'), ('access-point-minus', 'access-point-minus'), ('access-point-network', 'access-point-network'), ('access-point-network-off', 'access-point-network-off'), ('access-point-off', 'access-point-off'), ('access-point-plus', 'access-point-plus'), ('access-point-remove', 'access-point-remove'), ('account', 'account'), ('account-alert', 'account-alert'), ('account-alert-outline', 'account-alert-outline'), ('account-arrow-down', 'account-arrow-down'), ('account-arrow-down-outline', 'account-arrow-down-outline'), ('account-arrow-left', 'account-arrow-left'), ('account-arrow-left-outline', 'account-arrow-left-outline'), ('account-arrow-right', 'account-arrow-right'), ('account-arrow-right-outline', 'account-arrow-right-outline'), ('account-arrow-up', 'account-arrow-up'), ('account-arrow-up-outline', 'account-arrow-up-outline'), ('account-badge', 'account-badge'), ('account-badge-outline', 'account-badge-outline'), ('account-box', 'account-box'), ('account-box-multiple', 'account-box-multiple'), ('account-box-multiple-outline', 'account-box-multiple-outline'), ('account-box-outline', 'account-box-outline'), ('account-cancel', 'account-cancel'), ('account-cancel-outline', 'account-cancel-outline'), ('account-card', 'account-card'), ('account-card-outline', 'account-card-outline'), ('account-cash', 'account-cash'), ('account-cash-outline', 'account-cash-outline'), ('account-check', 'account-check'), ('account-check-outline', 'account-check-outline'), ('account-child', 'account-child'), ('account-child-circle', 'account-child-circle'), ('account-child-outline', 'account-child-outline'), ('account-circle', 'account-circle'), ('account-circle-outline', 'account-circle-outline'), ('account-clock', 'account-clock'), ('account-clock-outline', 'account-clock-outline'), ('account-cog', 'account-cog'), ('account-cog-outline', 'account-cog-outline'), ('account-convert', 'account-convert'), ('account-convert-outline', 'account-convert-outline'), ('account-cowboy-hat', 'account-cowboy-hat'), ('account-cowboy-hat-outline', 'account-cowboy-hat-outline'), ('account-credit-card', 'account-credit-card'), ('account-credit-card-outline', 'account-credit-card-outline'), ('account-details', 'account-details'), ('account-details-outline', 'account-details-outline'), ('account-edit', 'account-edit'), ('account-edit-outline', 'account-edit-outline'), ('account-eye', 'account-eye'), ('account-eye-outline', 'account-eye-outline'), ('account-filter', 'account-filter'), ('account-filter-outline', 'account-filter-outline'), ('account-group', 'account-group'), ('account-group-outline', 'account-group-outline'), ('account-hard-hat', 'account-hard-hat'), ('account-hard-hat-outline', 'account-hard-hat-outline'), ('account-heart', 'account-heart'), ('account-heart-outline', 'account-heart-outline'), ('account-injury', 'account-injury'), ('account-injury-outline', 'account-injury-outline'), ('account-key', 'account-key'), ('account-key-outline', 'account-key-outline'), ('account-lock', 'account-lock'), ('account-lock-open', 'account-lock-open'), ('account-lock-open-outline', 'account-lock-open-outline'), ('account-lock-outline', 'account-lock-outline'), ('account-minus', 'account-minus'), ('account-minus-outline', 'account-minus-outline'), ('account-multiple', 'account-multiple'), ('account-multiple-check', 'account-multiple-check'), ('account-multiple-check-outline', 'account-multiple-check-outline'), ('account-multiple-minus', 'account-multiple-minus'), ('account-multiple-minus-outline', 'account-multiple-minus-outline'), ('account-multiple-outline', 'account-multiple-outline'), ('account-multiple-plus', 'account-multiple-plus'), ('account-multiple-plus-outline', 'account-multiple-plus-outline'), ('account-multiple-remove', 'account-multiple-remove'), ('account-multiple-remove-outline', 'account-multiple-remove-outline'), ('account-music', 'account-music'), ('account-music-outline', 'account-music-outline'), ('account-network', 'account-network'), ('account-network-off', 'account-network-off'), ('account-network-off-outline', 'account-network-off-outline'), ('account-network-outline', 'account-network-outline'), ('account-off', 'account-off'), ('account-off-outline', 'account-off-outline'), ('account-outline', 'account-outline'), ('account-plus', 'account-plus'), ('account-plus-outline', 'account-plus-outline'), ('account-question', 'account-question'), ('account-question-outline', 'account-question-outline'), ('account-reactivate', 'account-reactivate'), ('account-reactivate-outline', 'account-reactivate-outline'), ('account-remove', 'account-remove'), ('account-remove-outline', 'account-remove-outline'), ('account-school', 'account-school'), ('account-school-outline', 'account-school-outline'), ('account-search', 'account-search'), ('account-search-outline', 'account-search-outline'), ('account-settings', 'account-settings'), ('account-settings-outline', 'account-settings-outline'), ('account-settings-variant', 'account-settings-variant'), ('account-star', 'account-star'), ('account-star-outline', 'account-star-outline'), ('account-supervisor', 'account-supervisor'), ('account-supervisor-circle', 'account-supervisor-circle'), ('account-supervisor-circle-outline', 'account-supervisor-circle-outline'), ('account-supervisor-outline', 'account-supervisor-outline'), ('account-switch', 'account-switch'), ('account-switch-outline', 'account-switch-outline'), ('account-sync', 'account-sync'), ('account-sync-outline', 'account-sync-outline'), ('account-tie', 'account-tie'), ('account-tie-hat', 'account-tie-hat'), ('account-tie-hat-outline', 'account-tie-hat-outline'), ('account-tie-outline', 'account-tie-outline'), ('account-tie-voice', 'account-tie-voice'), ('account-tie-voice-off', 'account-tie-voice-off'), ('account-tie-voice-off-outline', 'account-tie-voice-off-outline'), ('account-tie-voice-outline', 'account-tie-voice-outline'), ('account-tie-woman', 'account-tie-woman'), ('account-voice', 'account-voice'), ('account-voice-off', 'account-voice-off'), ('account-wrench', 'account-wrench'), ('account-wrench-outline', 'account-wrench-outline'), ('accusoft', 'accusoft'), ('ad-choices', 'ad-choices'), ('adchoices', 'adchoices'), ('adjust', 'adjust'), ('adobe', 'adobe'), ('advertisements', 'advertisements'), ('advertisements-off', 'advertisements-off'), ('air-conditioner', 'air-conditioner'), ('air-filter', 'air-filter'), ('air-horn', 'air-horn'), ('air-humidifier', 'air-humidifier'), ('air-humidifier-off', 'air-humidifier-off'), ('air-purifier', 'air-purifier'), ('air-purifier-off', 'air-purifier-off'), ('airbag', 'airbag'), ('airballoon', 'airballoon'), ('airballoon-outline', 'airballoon-outline'), ('airplane', 'airplane'), ('airplane-alert', 'airplane-alert'), ('airplane-check', 'airplane-check'), ('airplane-clock', 'airplane-clock'), ('airplane-cog', 'airplane-cog'), ('airplane-edit', 'airplane-edit'), ('airplane-landing', 'airplane-landing'), ('airplane-marker', 'airplane-marker'), ('airplane-minus', 'airplane-minus'), ('airplane-off', 'airplane-off'), ('airplane-plus', 'airplane-plus'), ('airplane-remove', 'airplane-remove'), ('airplane-search', 'airplane-search'), ('airplane-settings', 'airplane-settings'), ('airplane-takeoff', 'airplane-takeoff'), ('airport', 'airport'), ('alarm', 'alarm'), ('alarm-bell', 'alarm-bell'), ('alarm-check', 'alarm-check'), ('alarm-light', 'alarm-light'), ('alarm-light-off', 'alarm-light-off'), ('alarm-light-off-outline', 'alarm-light-off-outline'), ('alarm-light-outline', 'alarm-light-outline'), ('alarm-multiple', 'alarm-multiple'), ('alarm-note', 'alarm-note'), ('alarm-note-off', 'alarm-note-off'), ('alarm-off', 'alarm-off'), ('alarm-panel', 'alarm-panel'), ('alarm-panel-outline', 'alarm-panel-outline'), ('alarm-plus', 'alarm-plus'), ('alarm-snooze', 'alarm-snooze'), ('album', 'album'), ('alert', 'alert'), ('alert-box', 'alert-box'), ('alert-box-outline', 'alert-box-outline'), ('alert-circle', 'alert-circle'), ('alert-circle-check', 'alert-circle-check'), ('alert-circle-check-outline', 'alert-circle-check-outline'), ('alert-circle-outline', 'alert-circle-outline'), ('alert-decagram', 'alert-decagram'), ('alert-decagram-outline', 'alert-decagram-outline'), ('alert-minus', 'alert-minus'), ('alert-minus-outline', 'alert-minus-outline'), ('alert-octagon', 'alert-octagon'), ('alert-octagon-outline', 'alert-octagon-outline'), ('alert-octagram', 'alert-octagram'), ('alert-octagram-outline', 'alert-octagram-outline'), ('alert-outline', 'alert-outline'), ('alert-plus', 'alert-plus'), ('alert-plus-outline', 'alert-plus-outline'), ('alert-remove', 'alert-remove'), ('alert-remove-outline', 'alert-remove-outline'), ('alert-rhombus', 'alert-rhombus'), ('alert-rhombus-outline', 'alert-rhombus-outline'), ('alien', 'alien'), ('alien-outline', 'alien-outline'), ('align-horizontal-center', 'align-horizontal-center'), ('align-horizontal-distribute', 'align-horizontal-distribute'), ('align-horizontal-left', 'align-horizontal-left'), ('align-horizontal-right', 'align-horizontal-right'), ('align-vertical-bottom', 'align-vertical-bottom'), ('align-vertical-center', 'align-vertical-center'), ('align-vertical-distribute', 'align-vertical-distribute'), ('align-vertical-top', 'align-vertical-top'), ('all-inclusive', 'all-inclusive'), ('all-inclusive-box', 'all-inclusive-box'), ('all-inclusive-box-outline', 'all-inclusive-box-outline'), ('allergy', 'allergy'), ('allo', 'allo'), ('alpha', 'alpha'), ('alpha-a', 'alpha-a'), ('alpha-a-box', 'alpha-a-box'), ('alpha-a-box-outline', 'alpha-a-box-outline'), ('alpha-a-circle', 'alpha-a-circle'), ('alpha-a-circle-outline', 'alpha-a-circle-outline'), ('alpha-b', 'alpha-b'), ('alpha-b-box', 'alpha-b-box'), ('alpha-b-box-outline', 'alpha-b-box-outline'), ('alpha-b-circle', 'alpha-b-circle'), ('alpha-b-circle-outline', 'alpha-b-circle-outline'), ('alpha-c', 'alpha-c'), ('alpha-c-box', 'alpha-c-box'), ('alpha-c-box-outline', 'alpha-c-box-outline'), ('alpha-c-circle', 'alpha-c-circle'), ('alpha-c-circle-outline', 'alpha-c-circle-outline'), ('alpha-d', 'alpha-d'), ('alpha-d-box', 'alpha-d-box'), ('alpha-d-box-outline', 'alpha-d-box-outline'), ('alpha-d-circle', 'alpha-d-circle'), ('alpha-d-circle-outline', 'alpha-d-circle-outline'), ('alpha-e', 'alpha-e'), ('alpha-e-box', 'alpha-e-box'), ('alpha-e-box-outline', 'alpha-e-box-outline'), ('alpha-e-circle', 'alpha-e-circle'), ('alpha-e-circle-outline', 'alpha-e-circle-outline'), ('alpha-f', 'alpha-f'), ('alpha-f-box', 'alpha-f-box'), ('alpha-f-box-outline', 'alpha-f-box-outline'), ('alpha-f-circle', 'alpha-f-circle'), ('alpha-f-circle-outline', 'alpha-f-circle-outline'), ('alpha-g', 'alpha-g'), ('alpha-g-box', 'alpha-g-box'), ('alpha-g-box-outline', 'alpha-g-box-outline'), ('alpha-g-circle', 'alpha-g-circle'), ('alpha-g-circle-outline', 'alpha-g-circle-outline'), ('alpha-h', 'alpha-h'), ('alpha-h-box', 'alpha-h-box'), ('alpha-h-box-outline', 'alpha-h-box-outline'), ('alpha-h-circle', 'alpha-h-circle'), ('alpha-h-circle-outline', 'alpha-h-circle-outline'), ('alpha-i', 'alpha-i'), ('alpha-i-box', 'alpha-i-box'), ('alpha-i-box-outline', 'alpha-i-box-outline'), ('alpha-i-circle', 'alpha-i-circle'), ('alpha-i-circle-outline', 'alpha-i-circle-outline'), ('alpha-j', 'alpha-j'), ('alpha-j-box', 'alpha-j-box'), ('alpha-j-box-outline', 'alpha-j-box-outline'), ('alpha-j-circle', 'alpha-j-circle'), ('alpha-j-circle-outline', 'alpha-j-circle-outline'), ('alpha-k', 'alpha-k'), ('alpha-k-box', 'alpha-k-box'), ('alpha-k-box-outline', 'alpha-k-box-outline'), ('alpha-k-circle', 'alpha-k-circle'), ('alpha-k-circle-outline', 'alpha-k-circle-outline'), ('alpha-l', 'alpha-l'), ('alpha-l-box', 'alpha-l-box'), ('alpha-l-box-outline', 'alpha-l-box-outline'), ('alpha-l-circle', 'alpha-l-circle'), ('alpha-l-circle-outline', 'alpha-l-circle-outline'), ('alpha-m', 'alpha-m'), ('alpha-m-box', 'alpha-m-box'), ('alpha-m-box-outline', 'alpha-m-box-outline'), ('alpha-m-circle', 'alpha-m-circle'), ('alpha-m-circle-outline', 'alpha-m-circle-outline'), ('alpha-n', 'alpha-n'), ('alpha-n-box', 'alpha-n-box'), ('alpha-n-box-outline', 'alpha-n-box-outline'), ('alpha-n-circle', 'alpha-n-circle'), ('alpha-n-circle-outline', 'alpha-n-circle-outline'), ('alpha-o', 'alpha-o'), ('alpha-o-box', 'alpha-o-box'), ('alpha-o-box-outline', 'alpha-o-box-outline'), ('alpha-o-circle', 'alpha-o-circle'), ('alpha-o-circle-outline', 'alpha-o-circle-outline'), ('alpha-p', 'alpha-p'), ('alpha-p-box', 'alpha-p-box'), ('alpha-p-box-outline', 'alpha-p-box-outline'), ('alpha-p-circle', 'alpha-p-circle'), ('alpha-p-circle-outline', 'alpha-p-circle-outline'), ('alpha-q', 'alpha-q'), ('alpha-q-box', 'alpha-q-box'), ('alpha-q-box-outline', 'alpha-q-box-outline'), ('alpha-q-circle', 'alpha-q-circle'), ('alpha-q-circle-outline', 'alpha-q-circle-outline'), ('alpha-r', 'alpha-r'), ('alpha-r-box', 'alpha-r-box'), ('alpha-r-box-outline', 'alpha-r-box-outline'), ('alpha-r-circle', 'alpha-r-circle'), ('alpha-r-circle-outline', 'alpha-r-circle-outline'), ('alpha-s', 'alpha-s'), ('alpha-s-box', 'alpha-s-box'), ('alpha-s-box-outline', 'alpha-s-box-outline'), ('alpha-s-circle', 'alpha-s-circle'), ('alpha-s-circle-outline', 'alpha-s-circle-outline'), ('alpha-t', 'alpha-t'), ('alpha-t-box', 'alpha-t-box'), ('alpha-t-box-outline', 'alpha-t-box-outline'), ('alpha-t-circle', 'alpha-t-circle'), ('alpha-t-circle-outline', 'alpha-t-circle-outline'), ('alpha-u', 'alpha-u'), ('alpha-u-box', 'alpha-u-box'), ('alpha-u-box-outline', 'alpha-u-box-outline'), ('alpha-u-circle', 'alpha-u-circle'), ('alpha-u-circle-outline', 'alpha-u-circle-outline'), ('alpha-v', 'alpha-v'), ('alpha-v-box', 'alpha-v-box'), ('alpha-v-box-outline', 'alpha-v-box-outline'), ('alpha-v-circle', 'alpha-v-circle'), ('alpha-v-circle-outline', 'alpha-v-circle-outline'), ('alpha-w', 'alpha-w'), ('alpha-w-box', 'alpha-w-box'), ('alpha-w-box-outline', 'alpha-w-box-outline'), ('alpha-w-circle', 'alpha-w-circle'), ('alpha-w-circle-outline', 'alpha-w-circle-outline'), ('alpha-x', 'alpha-x'), ('alpha-x-box', 'alpha-x-box'), ('alpha-x-box-outline', 'alpha-x-box-outline'), ('alpha-x-circle', 'alpha-x-circle'), ('alpha-x-circle-outline', 'alpha-x-circle-outline'), ('alpha-y', 'alpha-y'), ('alpha-y-box', 'alpha-y-box'), ('alpha-y-box-outline', 'alpha-y-box-outline'), ('alpha-y-circle', 'alpha-y-circle'), ('alpha-y-circle-outline', 'alpha-y-circle-outline'), ('alpha-z', 'alpha-z'), ('alpha-z-box', 'alpha-z-box'), ('alpha-z-box-outline', 'alpha-z-box-outline'), ('alpha-z-circle', 'alpha-z-circle'), ('alpha-z-circle-outline', 'alpha-z-circle-outline'), ('alphabet-aurebesh', 'alphabet-aurebesh'), ('alphabet-cyrillic', 'alphabet-cyrillic'), ('alphabet-greek', 'alphabet-greek'), ('alphabet-latin', 'alphabet-latin'), ('alphabet-piqad', 'alphabet-piqad'), ('alphabet-tengwar', 'alphabet-tengwar'), ('alphabetical', 'alphabetical'), ('alphabetical-off', 'alphabetical-off'), ('alphabetical-variant', 'alphabetical-variant'), ('alphabetical-variant-off', 'alphabetical-variant-off'), ('altimeter', 'altimeter'), ('amazon', 'amazon'), ('amazon-alexa', 'amazon-alexa'), ('amazon-drive', 'amazon-drive'), ('ambulance', 'ambulance'), ('ammunition', 'ammunition'), ('ampersand', 'ampersand'), ('amplifier', 'amplifier'), ('amplifier-off', 'amplifier-off'), ('anchor', 'anchor'), ('android', 'android'), ('android-auto', 'android-auto'), ('android-debug-bridge', 'android-debug-bridge'), ('android-head', 'android-head'), ('android-messages', 'android-messages'), ('android-studio', 'android-studio'), ('angle-acute', 'angle-acute'), ('angle-obtuse', 'angle-obtuse'), ('angle-right', 'angle-right'), ('angular', 'angular'), ('angularjs', 'angularjs'), ('animation', 'animation'), ('animation-outline', 'animation-outline'), ('animation-play', 'animation-play'), ('animation-play-outline', 'animation-play-outline'), ('ansible', 'ansible'), ('antenna', 'antenna'), ('anvil', 'anvil'), ('apache-kafka', 'apache-kafka'), ('api', 'api'), ('api-off', 'api-off'), ('apple', 'apple'), ('apple-finder', 'apple-finder'), ('apple-icloud', 'apple-icloud'), ('apple-ios', 'apple-ios'), ('apple-keyboard-caps', 'apple-keyboard-caps'), ('apple-keyboard-command', 'apple-keyboard-command'), ('apple-keyboard-control', 'apple-keyboard-control'), ('apple-keyboard-option', 'apple-keyboard-option'), ('apple-keyboard-shift', 'apple-keyboard-shift'), ('apple-safari', 'apple-safari'), ('application', 'application'), ('application-array', 'application-array'), ('application-array-outline', 'application-array-outline'), ('application-braces', 'application-braces'), ('application-braces-outline', 'application-braces-outline'), ('application-brackets', 'application-brackets'), ('application-brackets-outline', 'application-brackets-outline'), ('application-cog', 'application-cog'), ('application-cog-outline', 'application-cog-outline'), ('application-edit', 'application-edit'), ('application-edit-outline', 'application-edit-outline'), ('application-export', 'application-export'), ('application-import', 'application-import'), ('application-outline', 'application-outline'), ('application-parentheses', 'application-parentheses'), ('application-parentheses-outline', 'application-parentheses-outline'), ('application-settings', 'application-settings'), ('application-settings-outline', 'application-settings-outline'), ('application-variable', 'application-variable'), ('application-variable-outline', 'application-variable-outline'), ('appnet', 'appnet'), ('approximately-equal', 'approximately-equal'), ('approximately-equal-box', 'approximately-equal-box'), ('apps', 'apps'), ('apps-box', 'apps-box'), ('arch', 'arch'), ('archive', 'archive'), ('archive-alert', 'archive-alert'), ('archive-alert-outline', 'archive-alert-outline'), ('archive-arrow-down', 'archive-arrow-down'), ('archive-arrow-down-outline', 'archive-arrow-down-outline'), ('archive-arrow-up', 'archive-arrow-up'), ('archive-arrow-up-outline', 'archive-arrow-up-outline'), ('archive-cancel', 'archive-cancel'), ('archive-cancel-outline', 'archive-cancel-outline'), ('archive-check', 'archive-check'), ('archive-check-outline', 'archive-check-outline'), ('archive-clock', 'archive-clock'), ('archive-clock-outline', 'archive-clock-outline'), ('archive-cog', 'archive-cog'), ('archive-cog-outline', 'archive-cog-outline'), ('archive-edit', 'archive-edit'), ('archive-edit-outline', 'archive-edit-outline'), ('archive-eye', 'archive-eye'), ('archive-eye-outline', 'archive-eye-outline'), ('archive-lock', 'archive-lock'), ('archive-lock-open', 'archive-lock-open'), ('archive-lock-open-outline', 'archive-lock-open-outline'), ('archive-lock-outline', 'archive-lock-outline'), ('archive-marker', 'archive-marker'), ('archive-marker-outline', 'archive-marker-outline'), ('archive-minus', 'archive-minus'), ('archive-minus-outline', 'archive-minus-outline'), ('archive-music', 'archive-music'), ('archive-music-outline', 'archive-music-outline'), ('archive-off', 'archive-off'), ('archive-off-outline', 'archive-off-outline'), ('archive-outline', 'archive-outline'), ('archive-plus', 'archive-plus'), ('archive-plus-outline', 'archive-plus-outline'), ('archive-refresh', 'archive-refresh'), ('archive-refresh-outline', 'archive-refresh-outline'), ('archive-remove', 'archive-remove'), ('archive-remove-outline', 'archive-remove-outline'), ('archive-search', 'archive-search'), ('archive-search-outline', 'archive-search-outline'), ('archive-settings', 'archive-settings'), ('archive-settings-outline', 'archive-settings-outline'), ('archive-star', 'archive-star'), ('archive-star-outline', 'archive-star-outline'), ('archive-sync', 'archive-sync'), ('archive-sync-outline', 'archive-sync-outline'), ('arm-flex', 'arm-flex'), ('arm-flex-outline', 'arm-flex-outline'), ('arrange-bring-forward', 'arrange-bring-forward'), ('arrange-bring-to-front', 'arrange-bring-to-front'), ('arrange-send-backward', 'arrange-send-backward'), ('arrange-send-to-back', 'arrange-send-to-back'), ('arrow-all', 'arrow-all'), ('arrow-bottom-left', 'arrow-bottom-left'), ('arrow-bottom-left-bold-box', 'arrow-bottom-left-bold-box'), ('arrow-bottom-left-bold-box-outline', 'arrow-bottom-left-bold-box-outline'), ('arrow-bottom-left-bold-outline', 'arrow-bottom-left-bold-outline'), ('arrow-bottom-left-thick', 'arrow-bottom-left-thick'), ('arrow-bottom-left-thin', 'arrow-bottom-left-thin'), ('arrow-bottom-left-thin-circle-outline', 'arrow-bottom-left-thin-circle-outline'), ('arrow-bottom-right', 'arrow-bottom-right'), ('arrow-bottom-right-bold-box', 'arrow-bottom-right-bold-box'), ('arrow-bottom-right-bold-box-outline', 'arrow-bottom-right-bold-box-outline'), ('arrow-bottom-right-bold-outline', 'arrow-bottom-right-bold-outline'), ('arrow-bottom-right-thick', 'arrow-bottom-right-thick'), ('arrow-bottom-right-thin', 'arrow-bottom-right-thin'), ('arrow-bottom-right-thin-circle-outline', 'arrow-bottom-right-thin-circle-outline'), ('arrow-collapse', 'arrow-collapse'), ('arrow-collapse-all', 'arrow-collapse-all'), ('arrow-collapse-down', 'arrow-collapse-down'), ('arrow-collapse-horizontal', 'arrow-collapse-horizontal'), ('arrow-collapse-left', 'arrow-collapse-left'), ('arrow-collapse-right', 'arrow-collapse-right'), ('arrow-collapse-up', 'arrow-collapse-up'), ('arrow-collapse-vertical', 'arrow-collapse-vertical'), ('arrow-decision', 'arrow-decision'), ('arrow-decision-auto', 'arrow-decision-auto'), ('arrow-decision-auto-outline', 'arrow-decision-auto-outline'), ('arrow-decision-outline', 'arrow-decision-outline'), ('arrow-down', 'arrow-down'), ('arrow-down-bold', 'arrow-down-bold'), ('arrow-down-bold-box', 'arrow-down-bold-box'), ('arrow-down-bold-box-outline', 'arrow-down-bold-box-outline'), ('arrow-down-bold-circle', 'arrow-down-bold-circle'), ('arrow-down-bold-circle-outline', 'arrow-down-bold-circle-outline'), ('arrow-down-bold-hexagon-outline', 'arrow-down-bold-hexagon-outline'), ('arrow-down-bold-outline', 'arrow-down-bold-outline'), ('arrow-down-box', 'arrow-down-box'), ('arrow-down-circle', 'arrow-down-circle'), ('arrow-down-circle-outline', 'arrow-down-circle-outline'), ('arrow-down-drop-circle', 'arrow-down-drop-circle'), ('arrow-down-drop-circle-outline', 'arrow-down-drop-circle-outline'), ('arrow-down-left', 'arrow-down-left'), ('arrow-down-left-bold', 'arrow-down-left-bold'), ('arrow-down-right', 'arrow-down-right'), ('arrow-down-right-bold', 'arrow-down-right-bold'), ('arrow-down-thick', 'arrow-down-thick'), ('arrow-down-thin', 'arrow-down-thin'), ('arrow-down-thin-circle-outline', 'arrow-down-thin-circle-outline'), ('arrow-expand', 'arrow-expand'), ('arrow-expand-all', 'arrow-expand-all'), ('arrow-expand-down', 'arrow-expand-down'), ('arrow-expand-horizontal', 'arrow-expand-horizontal'), ('arrow-expand-left', 'arrow-expand-left'), ('arrow-expand-right', 'arrow-expand-right'), ('arrow-expand-up', 'arrow-expand-up'), ('arrow-expand-vertical', 'arrow-expand-vertical'), ('arrow-horizontal-lock', 'arrow-horizontal-lock'), ('arrow-left', 'arrow-left'), ('arrow-left-bold', 'arrow-left-bold'), ('arrow-left-bold-box', 'arrow-left-bold-box'), ('arrow-left-bold-box-outline', 'arrow-left-bold-box-outline'), ('arrow-left-bold-circle', 'arrow-left-bold-circle'), ('arrow-left-bold-circle-outline', 'arrow-left-bold-circle-outline'), ('arrow-left-bold-hexagon-outline', 'arrow-left-bold-hexagon-outline'), ('arrow-left-bold-outline', 'arrow-left-bold-outline'), ('arrow-left-bottom', 'arrow-left-bottom'), ('arrow-left-bottom-bold', 'arrow-left-bottom-bold'), ('arrow-left-box', 'arrow-left-box'), ('arrow-left-circle', 'arrow-left-circle'), ('arrow-left-circle-outline', 'arrow-left-circle-outline'), ('arrow-left-drop-circle', 'arrow-left-drop-circle'), ('arrow-left-drop-circle-outline', 'arrow-left-drop-circle-outline'), ('arrow-left-right', 'arrow-left-right'), ('arrow-left-right-bold', 'arrow-left-right-bold'), ('arrow-left-right-bold-outline', 'arrow-left-right-bold-outline'), ('arrow-left-thick', 'arrow-left-thick'), ('arrow-left-thin', 'arrow-left-thin'), ('arrow-left-thin-circle-outline', 'arrow-left-thin-circle-outline'), ('arrow-left-top', 'arrow-left-top'), ('arrow-left-top-bold', 'arrow-left-top-bold'), ('arrow-projectile', 'arrow-projectile'), ('arrow-projectile-multiple', 'arrow-projectile-multiple'), ('arrow-right', 'arrow-right'), ('arrow-right-bold', 'arrow-right-bold'), ('arrow-right-bold-box', 'arrow-right-bold-box'), ('arrow-right-bold-box-outline', 'arrow-right-bold-box-outline'), ('arrow-right-bold-circle', 'arrow-right-bold-circle'), ('arrow-right-bold-circle-outline', 'arrow-right-bold-circle-outline'), ('arrow-right-bold-hexagon-outline', 'arrow-right-bold-hexagon-outline'), ('arrow-right-bold-outline', 'arrow-right-bold-outline'), ('arrow-right-bottom', 'arrow-right-bottom'), ('arrow-right-bottom-bold', 'arrow-right-bottom-bold'), ('arrow-right-box', 'arrow-right-box'), ('arrow-right-circle', 'arrow-right-circle'), ('arrow-right-circle-outline', 'arrow-right-circle-outline'), ('arrow-right-drop-circle', 'arrow-right-drop-circle'), ('arrow-right-drop-circle-outline', 'arrow-right-drop-circle-outline'), ('arrow-right-thick', 'arrow-right-thick'), ('arrow-right-thin', 'arrow-right-thin'), ('arrow-right-thin-circle-outline', 'arrow-right-thin-circle-outline'), ('arrow-right-top', 'arrow-right-top'), ('arrow-right-top-bold', 'arrow-right-top-bold'), ('arrow-split-horizontal', 'arrow-split-horizontal'), ('arrow-split-vertical', 'arrow-split-vertical'), ('arrow-top-left', 'arrow-top-left'), ('arrow-top-left-bold-box', 'arrow-top-left-bold-box'), ('arrow-top-left-bold-box-outline', 'arrow-top-left-bold-box-outline'), ('arrow-top-left-bold-outline', 'arrow-top-left-bold-outline'), ('arrow-top-left-bottom-right', 'arrow-top-left-bottom-right'), ('arrow-top-left-bottom-right-bold', 'arrow-top-left-bottom-right-bold'), ('arrow-top-left-thick', 'arrow-top-left-thick'), ('arrow-top-left-thin', 'arrow-top-left-thin'), ('arrow-top-left-thin-circle-outline', 'arrow-top-left-thin-circle-outline'), ('arrow-top-right', 'arrow-top-right'), ('arrow-top-right-bold-box', 'arrow-top-right-bold-box'), ('arrow-top-right-bold-box-outline', 'arrow-top-right-bold-box-outline'), ('arrow-top-right-bold-outline', 'arrow-top-right-bold-outline'), ('arrow-top-right-bottom-left', 'arrow-top-right-bottom-left'), ('arrow-top-right-bottom-left-bold', 'arrow-top-right-bottom-left-bold'), ('arrow-top-right-thick', 'arrow-top-right-thick'), ('arrow-top-right-thin', 'arrow-top-right-thin'), ('arrow-top-right-thin-circle-outline', 'arrow-top-right-thin-circle-outline'), ('arrow-u-down-left', 'arrow-u-down-left'), ('arrow-u-down-left-bold', 'arrow-u-down-left-bold'), ('arrow-u-down-right', 'arrow-u-down-right'), ('arrow-u-down-right-bold', 'arrow-u-down-right-bold'), ('arrow-u-left-bottom', 'arrow-u-left-bottom'), ('arrow-u-left-bottom-bold', 'arrow-u-left-bottom-bold'), ('arrow-u-left-top', 'arrow-u-left-top'), ('arrow-u-left-top-bold', 'arrow-u-left-top-bold'), ('arrow-u-right-bottom', 'arrow-u-right-bottom'), ('arrow-u-right-bottom-bold', 'arrow-u-right-bottom-bold'), ('arrow-u-right-top', 'arrow-u-right-top'), ('arrow-u-right-top-bold', 'arrow-u-right-top-bold'), ('arrow-u-up-left', 'arrow-u-up-left'), ('arrow-u-up-left-bold', 'arrow-u-up-left-bold'), ('arrow-u-up-right', 'arrow-u-up-right'), ('arrow-u-up-right-bold', 'arrow-u-up-right-bold'), ('arrow-up', 'arrow-up'), ('arrow-up-bold', 'arrow-up-bold'), ('arrow-up-bold-box', 'arrow-up-bold-box'), ('arrow-up-bold-box-outline', 'arrow-up-bold-box-outline'), ('arrow-up-bold-circle', 'arrow-up-bold-circle'), ('arrow-up-bold-circle-outline', 'arrow-up-bold-circle-outline'), ('arrow-up-bold-hexagon-outline', 'arrow-up-bold-hexagon-outline'), ('arrow-up-bold-outline', 'arrow-up-bold-outline'), ('arrow-up-box', 'arrow-up-box'), ('arrow-up-circle', 'arrow-up-circle'), ('arrow-up-circle-outline', 'arrow-up-circle-outline'), ('arrow-up-down', 'arrow-up-down'), ('arrow-up-down-bold', 'arrow-up-down-bold'), ('arrow-up-down-bold-outline', 'arrow-up-down-bold-outline'), ('arrow-up-drop-circle', 'arrow-up-drop-circle'), ('arrow-up-drop-circle-outline', 'arrow-up-drop-circle-outline'), ('arrow-up-left', 'arrow-up-left'), ('arrow-up-left-bold', 'arrow-up-left-bold'), ('arrow-up-right', 'arrow-up-right'), ('arrow-up-right-bold', 'arrow-up-right-bold'), ('arrow-up-thick', 'arrow-up-thick'), ('arrow-up-thin', 'arrow-up-thin'), ('arrow-up-thin-circle-outline', 'arrow-up-thin-circle-outline'), ('arrow-vertical-lock', 'arrow-vertical-lock'), ('artboard', 'artboard'), ('artstation', 'artstation'), ('aspect-ratio', 'aspect-ratio'), ('assistant', 'assistant'), ('asterisk', 'asterisk'), ('asterisk-circle-outline', 'asterisk-circle-outline'), ('at', 'at'), ('atlassian', 'atlassian'), ('atm', 'atm'), ('atom', 'atom'), ('atom-variant', 'atom-variant'), ('attachment', 'attachment'), ('attachment-check', 'attachment-check'), ('attachment-lock', 'attachment-lock'), ('attachment-minus', 'attachment-minus'), ('attachment-off', 'attachment-off'), ('attachment-plus', 'attachment-plus'), ('attachment-remove', 'attachment-remove'), ('atv', 'atv'), ('audio-input-rca', 'audio-input-rca'), ('audio-input-stereo-minijack', 'audio-input-stereo-minijack'), ('audio-input-xlr', 'audio-input-xlr'), ('audio-video', 'audio-video'), ('audio-video-off', 'audio-video-off'), ('augmented-reality', 'augmented-reality'), ('aurora', 'aurora'), ('auto-download', 'auto-download'), ('auto-fix', 'auto-fix'), ('auto-upload', 'auto-upload'), ('autorenew', 'autorenew'), ('autorenew-off', 'autorenew-off'), ('av-timer', 'av-timer'), ('awning', 'awning'), ('awning-outline', 'awning-outline'), ('aws', 'aws'), ('axe', 'axe'), ('axe-battle', 'axe-battle'), ('axis', 'axis'), ('axis-arrow', 'axis-arrow'), ('axis-arrow-info', 'axis-arrow-info'), ('axis-arrow-lock', 'axis-arrow-lock'), ('axis-lock', 'axis-lock'), ('axis-x-arrow', 'axis-x-arrow'), ('axis-x-arrow-lock', 'axis-x-arrow-lock'), ('axis-x-rotate-clockwise', 'axis-x-rotate-clockwise'), ('axis-x-rotate-counterclockwise', 'axis-x-rotate-counterclockwise'), ('axis-x-y-arrow-lock', 'axis-x-y-arrow-lock'), ('axis-y-arrow', 'axis-y-arrow'), ('axis-y-arrow-lock', 'axis-y-arrow-lock'), ('axis-y-rotate-clockwise', 'axis-y-rotate-clockwise'), ('axis-y-rotate-counterclockwise', 'axis-y-rotate-counterclockwise'), ('axis-z-arrow', 'axis-z-arrow'), ('axis-z-arrow-lock', 'axis-z-arrow-lock'), ('axis-z-rotate-clockwise', 'axis-z-rotate-clockwise'), ('axis-z-rotate-counterclockwise', 'axis-z-rotate-counterclockwise'), ('babel', 'babel'), ('baby', 'baby'), ('baby-bottle', 'baby-bottle'), ('baby-bottle-outline', 'baby-bottle-outline'), ('baby-buggy', 'baby-buggy'), ('baby-buggy-off', 'baby-buggy-off'), ('baby-carriage', 'baby-carriage'), ('baby-carriage-off', 'baby-carriage-off'), ('baby-face', 'baby-face'), ('baby-face-outline', 'baby-face-outline'), ('backburger', 'backburger'), ('backspace', 'backspace'), ('backspace-outline', 'backspace-outline'), ('backspace-reverse', 'backspace-reverse'), ('backspace-reverse-outline', 'backspace-reverse-outline'), ('backup-restore', 'backup-restore'), ('bacteria', 'bacteria'), ('bacteria-outline', 'bacteria-outline'), ('badge-account', 'badge-account'), ('badge-account-alert', 'badge-account-alert'), ('badge-account-alert-outline', 'badge-account-alert-outline'), ('badge-account-horizontal', 'badge-account-horizontal'), ('badge-account-horizontal-outline', 'badge-account-horizontal-outline'), ('badge-account-outline', 'badge-account-outline'), ('badminton', 'badminton'), ('bag-carry-on', 'bag-carry-on'), ('bag-carry-on-check', 'bag-carry-on-check'), ('bag-carry-on-off', 'bag-carry-on-off'), ('bag-checked', 'bag-checked'), ('bag-personal', 'bag-personal'), ('bag-personal-off', 'bag-personal-off'), ('bag-personal-off-outline', 'bag-personal-off-outline'), ('bag-personal-outline', 'bag-personal-outline'), ('bag-personal-tag', 'bag-personal-tag'), ('bag-personal-tag-outline', 'bag-personal-tag-outline'), ('bag-suitcase', 'bag-suitcase'), ('bag-suitcase-off', 'bag-suitcase-off'), ('bag-suitcase-off-outline', 'bag-suitcase-off-outline'), ('bag-suitcase-outline', 'bag-suitcase-outline'), ('baguette', 'baguette'), ('balcony', 'balcony'), ('balloon', 'balloon'), ('ballot', 'ballot'), ('ballot-outline', 'ballot-outline'), ('ballot-recount', 'ballot-recount'), ('ballot-recount-outline', 'ballot-recount-outline'), ('bandage', 'bandage'), ('bandcamp', 'bandcamp'), ('bank', 'bank'), ('bank-check', 'bank-check'), ('bank-minus', 'bank-minus'), ('bank-off', 'bank-off'), ('bank-off-outline', 'bank-off-outline'), ('bank-outline', 'bank-outline'), ('bank-plus', 'bank-plus'), ('bank-remove', 'bank-remove'), ('bank-transfer', 'bank-transfer'), ('bank-transfer-in', 'bank-transfer-in'), ('bank-transfer-out', 'bank-transfer-out'), ('barcode', 'barcode'), ('barcode-off', 'barcode-off'), ('barcode-scan', 'barcode-scan'), ('barley', 'barley'), ('barley-off', 'barley-off'), ('barn', 'barn'), ('barrel', 'barrel'), ('barrel-outline', 'barrel-outline'), ('baseball', 'baseball'), ('baseball-bat', 'baseball-bat'), ('baseball-diamond', 'baseball-diamond'), ('baseball-diamond-outline', 'baseball-diamond-outline'), ('basecamp', 'basecamp'), ('bash', 'bash'), ('basket', 'basket'), ('basket-check', 'basket-check'), ('basket-check-outline', 'basket-check-outline'), ('basket-fill', 'basket-fill'), ('basket-minus', 'basket-minus'), ('basket-minus-outline', 'basket-minus-outline'), ('basket-off', 'basket-off'), ('basket-off-outline', 'basket-off-outline'), ('basket-outline', 'basket-outline'), ('basket-plus', 'basket-plus'), ('basket-plus-outline', 'basket-plus-outline'), ('basket-remove', 'basket-remove'), ('basket-remove-outline', 'basket-remove-outline'), ('basket-unfill', 'basket-unfill'), ('basketball', 'basketball'), ('basketball-hoop', 'basketball-hoop'), ('basketball-hoop-outline', 'basketball-hoop-outline'), ('bat', 'bat'), ('bathtub', 'bathtub'), ('bathtub-outline', 'bathtub-outline'), ('battery', 'battery'), ('battery-10', 'battery-10'), ('battery-10-bluetooth', 'battery-10-bluetooth'), ('battery-20', 'battery-20'), ('battery-20-bluetooth', 'battery-20-bluetooth'), ('battery-30', 'battery-30'), ('battery-30-bluetooth', 'battery-30-bluetooth'), ('battery-40', 'battery-40'), ('battery-40-bluetooth', 'battery-40-bluetooth'), ('battery-50', 'battery-50'), ('battery-50-bluetooth', 'battery-50-bluetooth'), ('battery-60', 'battery-60'), ('battery-60-bluetooth', 'battery-60-bluetooth'), ('battery-70', 'battery-70'), ('battery-70-bluetooth', 'battery-70-bluetooth'), ('battery-80', 'battery-80'), ('battery-80-bluetooth', 'battery-80-bluetooth'), ('battery-90', 'battery-90'), ('battery-90-bluetooth', 'battery-90-bluetooth'), ('battery-alert', 'battery-alert'), ('battery-alert-bluetooth', 'battery-alert-bluetooth'), ('battery-alert-variant', 'battery-alert-variant'), ('battery-alert-variant-outline', 'battery-alert-variant-outline'), ('battery-arrow-down', 'battery-arrow-down'), ('battery-arrow-down-outline', 'battery-arrow-down-outline'), ('battery-arrow-up', 'battery-arrow-up'), ('battery-arrow-up-outline', 'battery-arrow-up-outline'), ('battery-bluetooth', 'battery-bluetooth'), ('battery-bluetooth-variant', 'battery-bluetooth-variant'), ('battery-charging', 'battery-charging'), ('battery-charging-10', 'battery-charging-10'), ('battery-charging-100', 'battery-charging-100'), ('battery-charging-20', 'battery-charging-20'), ('battery-charging-30', 'battery-charging-30'), ('battery-charging-40', 'battery-charging-40'), ('battery-charging-50', 'battery-charging-50'), ('battery-charging-60', 'battery-charging-60'), ('battery-charging-70', 'battery-charging-70'), ('battery-charging-80', 'battery-charging-80'), ('battery-charging-90', 'battery-charging-90'), ('battery-charging-high', 'battery-charging-high'), ('battery-charging-low', 'battery-charging-low'), ('battery-charging-medium', 'battery-charging-medium'), ('battery-charging-outline', 'battery-charging-outline'), ('battery-charging-wireless', 'battery-charging-wireless'), ('battery-charging-wireless-10', 'battery-charging-wireless-10'), ('battery-charging-wireless-20', 'battery-charging-wireless-20'), ('battery-charging-wireless-30', 'battery-charging-wireless-30'), ('battery-charging-wireless-40', 'battery-charging-wireless-40'), ('battery-charging-wireless-50', 'battery-charging-wireless-50'), ('battery-charging-wireless-60', 'battery-charging-wireless-60'), ('battery-charging-wireless-70', 'battery-charging-wireless-70'), ('battery-charging-wireless-80', 'battery-charging-wireless-80'), ('battery-charging-wireless-90', 'battery-charging-wireless-90'), ('battery-charging-wireless-alert', 'battery-charging-wireless-alert'), ('battery-charging-wireless-outline', 'battery-charging-wireless-outline'), ('battery-check', 'battery-check'), ('battery-check-outline', 'battery-check-outline'), ('battery-clock', 'battery-clock'), ('battery-clock-outline', 'battery-clock-outline'), ('battery-heart', 'battery-heart'), ('battery-heart-outline', 'battery-heart-outline'), ('battery-heart-variant', 'battery-heart-variant'), ('battery-high', 'battery-high'), ('battery-lock', 'battery-lock'), ('battery-lock-open', 'battery-lock-open'), ('battery-low', 'battery-low'), ('battery-medium', 'battery-medium'), ('battery-minus', 'battery-minus'), ('battery-minus-outline', 'battery-minus-outline'), ('battery-minus-variant', 'battery-minus-variant'), ('battery-negative', 'battery-negative'), ('battery-off', 'battery-off'), ('battery-off-outline', 'battery-off-outline'), ('battery-outline', 'battery-outline'), ('battery-plus', 'battery-plus'), ('battery-plus-outline', 'battery-plus-outline'), ('battery-plus-variant', 'battery-plus-variant'), ('battery-positive', 'battery-positive'), ('battery-remove', 'battery-remove'), ('battery-remove-outline', 'battery-remove-outline'), ('battery-standard', 'battery-standard'), ('battery-sync', 'battery-sync'), ('battery-sync-outline', 'battery-sync-outline'), ('battery-unknown', 'battery-unknown'), ('battery-unknown-bluetooth', 'battery-unknown-bluetooth'), ('battlenet', 'battlenet'), ('beach', 'beach'), ('beaker', 'beaker'), ('beaker-alert', 'beaker-alert'), ('beaker-alert-outline', 'beaker-alert-outline'), ('beaker-check', 'beaker-check'), ('beaker-check-outline', 'beaker-check-outline'), ('beaker-minus', 'beaker-minus'), ('beaker-minus-outline', 'beaker-minus-outline'), ('beaker-outline', 'beaker-outline'), ('beaker-plus', 'beaker-plus'), ('beaker-plus-outline', 'beaker-plus-outline'), ('beaker-question', 'beaker-question'), ('beaker-question-outline', 'beaker-question-outline'), ('beaker-remove', 'beaker-remove'), ('beaker-remove-outline', 'beaker-remove-outline'), ('beam', 'beam'), ('beats', 'beats'), ('bed', 'bed'), ('bed-clock', 'bed-clock'), ('bed-double', 'bed-double'), ('bed-double-outline', 'bed-double-outline'), ('bed-empty', 'bed-empty'), ('bed-king', 'bed-king'), ('bed-king-outline', 'bed-king-outline'), ('bed-outline', 'bed-outline'), ('bed-queen', 'bed-queen'), ('bed-queen-outline', 'bed-queen-outline'), ('bed-single', 'bed-single'), ('bed-single-outline', 'bed-single-outline'), ('bee', 'bee'), ('bee-flower', 'bee-flower'), ('beehive-off-outline', 'beehive-off-outline'), ('beehive-outline', 'beehive-outline'), ('beekeeper', 'beekeeper'), ('beer', 'beer'), ('beer-outline', 'beer-outline'), ('behance', 'behance'), ('bell', 'bell'), ('bell-alert', 'bell-alert'), ('bell-alert-outline', 'bell-alert-outline'), ('bell-badge', 'bell-badge'), ('bell-badge-outline', 'bell-badge-outline'), ('bell-cancel', 'bell-cancel'), ('bell-cancel-outline', 'bell-cancel-outline'), ('bell-check', 'bell-check'), ('bell-check-outline', 'bell-check-outline'), ('bell-circle', 'bell-circle'), ('bell-circle-outline', 'bell-circle-outline'), ('bell-cog', 'bell-cog'), ('bell-cog-outline', 'bell-cog-outline'), ('bell-minus', 'bell-minus'), ('bell-minus-outline', 'bell-minus-outline'), ('bell-off', 'bell-off'), ('bell-off-outline', 'bell-off-outline'), ('bell-outline', 'bell-outline'), ('bell-plus', 'bell-plus'), ('bell-plus-outline', 'bell-plus-outline'), ('bell-remove', 'bell-remove'), ('bell-remove-outline', 'bell-remove-outline'), ('bell-ring', 'bell-ring'), ('bell-ring-outline', 'bell-ring-outline'), ('bell-sleep', 'bell-sleep'), ('bell-sleep-outline', 'bell-sleep-outline'), ('beta', 'beta'), ('betamax', 'betamax'), ('biathlon', 'biathlon'), ('bicycle', 'bicycle'), ('bicycle-basket', 'bicycle-basket'), ('bicycle-cargo', 'bicycle-cargo'), ('bicycle-electric', 'bicycle-electric'), ('bicycle-penny-farthing', 'bicycle-penny-farthing'), ('bike', 'bike'), ('bike-fast', 'bike-fast'), ('billboard', 'billboard'), ('billiards', 'billiards'), ('billiards-rack', 'billiards-rack'), ('binoculars', 'binoculars'), ('bio', 'bio'), ('biohazard', 'biohazard'), ('bird', 'bird'), ('bitbucket', 'bitbucket'), ('bitcoin', 'bitcoin'), ('black-mesa', 'black-mesa'), ('blackberry', 'blackberry'), ('blender', 'blender'), ('blender-outline', 'blender-outline'), ('blender-software', 'blender-software'), ('blinds', 'blinds'), ('blinds-horizontal', 'blinds-horizontal'), ('blinds-horizontal-closed', 'blinds-horizontal-closed'), ('blinds-open', 'blinds-open'), ('blinds-vertical', 'blinds-vertical'), ('blinds-vertical-closed', 'blinds-vertical-closed'), ('block-helper', 'block-helper'), ('blogger', 'blogger'), ('blood-bag', 'blood-bag'), ('bluetooth', 'bluetooth'), ('bluetooth-audio', 'bluetooth-audio'), ('bluetooth-connect', 'bluetooth-connect'), ('bluetooth-off', 'bluetooth-off'), ('bluetooth-settings', 'bluetooth-settings'), ('bluetooth-transfer', 'bluetooth-transfer'), ('blur', 'blur'), ('blur-linear', 'blur-linear'), ('blur-off', 'blur-off'), ('blur-radial', 'blur-radial'), ('bolt', 'bolt'), ('bomb', 'bomb'), ('bomb-off', 'bomb-off'), ('bone', 'bone'), ('bone-off', 'bone-off'), ('book', 'book'), ('book-account', 'book-account'), ('book-account-outline', 'book-account-outline'), ('book-alert', 'book-alert'), ('book-alert-outline', 'book-alert-outline'), ('book-alphabet', 'book-alphabet'), ('book-arrow-down', 'book-arrow-down'), ('book-arrow-down-outline', 'book-arrow-down-outline'), ('book-arrow-left', 'book-arrow-left'), ('book-arrow-left-outline', 'book-arrow-left-outline'), ('book-arrow-right', 'book-arrow-right'), ('book-arrow-right-outline', 'book-arrow-right-outline'), ('book-arrow-up', 'book-arrow-up'), ('book-arrow-up-outline', 'book-arrow-up-outline'), ('book-cancel', 'book-cancel'), ('book-cancel-outline', 'book-cancel-outline'), ('book-check', 'book-check'), ('book-check-outline', 'book-check-outline'), ('book-clock', 'book-clock'), ('book-clock-outline', 'book-clock-outline'), ('book-cog', 'book-cog'), ('book-cog-outline', 'book-cog-outline'), ('book-cross', 'book-cross'), ('book-edit', 'book-edit'), ('book-edit-outline', 'book-edit-outline'), ('book-education', 'book-education'), ('book-education-outline', 'book-education-outline'), ('book-heart', 'book-heart'), ('book-heart-outline', 'book-heart-outline'), ('book-information-variant', 'book-information-variant'), ('book-lock', 'book-lock'), ('book-lock-open', 'book-lock-open'), ('book-lock-open-outline', 'book-lock-open-outline'), ('book-lock-outline', 'book-lock-outline'), ('book-marker', 'book-marker'), ('book-marker-outline', 'book-marker-outline'), ('book-minus', 'book-minus'), ('book-minus-multiple', 'book-minus-multiple'), ('book-minus-multiple-outline', 'book-minus-multiple-outline'), ('book-minus-outline', 'book-minus-outline'), ('book-multiple', 'book-multiple'), ('book-multiple-minus', 'book-multiple-minus'), ('book-multiple-outline', 'book-multiple-outline'), ('book-multiple-plus', 'book-multiple-plus'), ('book-multiple-remove', 'book-multiple-remove'), ('book-multiple-variant', 'book-multiple-variant'), ('book-music', 'book-music'), ('book-music-outline', 'book-music-outline'), ('book-off', 'book-off'), ('book-off-outline', 'book-off-outline'), ('book-open', 'book-open'), ('book-open-blank-variant', 'book-open-blank-variant'), ('book-open-outline', 'book-open-outline'), ('book-open-page-variant', 'book-open-page-variant'), ('book-open-page-variant-outline', 'book-open-page-variant-outline'), ('book-open-variant', 'book-open-variant'), ('book-outline', 'book-outline'), ('book-play', 'book-play'), ('book-play-outline', 'book-play-outline'), ('book-plus', 'book-plus'), ('book-plus-multiple', 'book-plus-multiple'), ('book-plus-multiple-outline', 'book-plus-multiple-outline'), ('book-plus-outline', 'book-plus-outline'), ('book-refresh', 'book-refresh'), ('book-refresh-outline', 'book-refresh-outline'), ('book-remove', 'book-remove'), ('book-remove-multiple', 'book-remove-multiple'), ('book-remove-multiple-outline', 'book-remove-multiple-outline'), ('book-remove-outline', 'book-remove-outline'), ('book-search', 'book-search'), ('book-search-outline', 'book-search-outline'), ('book-settings', 'book-settings'), ('book-settings-outline', 'book-settings-outline'), ('book-sync', 'book-sync'), ('book-sync-outline', 'book-sync-outline'), ('book-variant', 'book-variant'), ('book-variant-multiple', 'book-variant-multiple'), ('bookmark', 'bookmark'), ('bookmark-box', 'bookmark-box'), ('bookmark-box-multiple', 'bookmark-box-multiple'), ('bookmark-box-multiple-outline', 'bookmark-box-multiple-outline'), ('bookmark-box-outline', 'bookmark-box-outline'), ('bookmark-check', 'bookmark-check'), ('bookmark-check-outline', 'bookmark-check-outline'), ('bookmark-minus', 'bookmark-minus'), ('bookmark-minus-outline', 'bookmark-minus-outline'), ('bookmark-multiple', 'bookmark-multiple'), ('bookmark-multiple-outline', 'bookmark-multiple-outline'), ('bookmark-music', 'bookmark-music'), ('bookmark-music-outline', 'bookmark-music-outline'), ('bookmark-off', 'bookmark-off'), ('bookmark-off-outline', 'bookmark-off-outline'), ('bookmark-outline', 'bookmark-outline'), ('bookmark-plus', 'bookmark-plus'), ('bookmark-plus-outline', 'bookmark-plus-outline'), ('bookmark-remove', 'bookmark-remove'), ('bookmark-remove-outline', 'bookmark-remove-outline'), ('bookshelf', 'bookshelf'), ('boom-gate', 'boom-gate'), ('boom-gate-alert', 'boom-gate-alert'), ('boom-gate-alert-outline', 'boom-gate-alert-outline'), ('boom-gate-arrow-down', 'boom-gate-arrow-down'), ('boom-gate-arrow-down-outline', 'boom-gate-arrow-down-outline'), ('boom-gate-arrow-up', 'boom-gate-arrow-up'), ('boom-gate-arrow-up-outline', 'boom-gate-arrow-up-outline'), ('boom-gate-outline', 'boom-gate-outline'), ('boom-gate-up', 'boom-gate-up'), ('boom-gate-up-outline', 'boom-gate-up-outline'), ('boombox', 'boombox'), ('boomerang', 'boomerang'), ('bootstrap', 'bootstrap'), ('border-all', 'border-all'), ('border-all-variant', 'border-all-variant'), ('border-bottom', 'border-bottom'), ('border-bottom-variant', 'border-bottom-variant'), ('border-color', 'border-color'), ('border-horizontal', 'border-horizontal'), ('border-inside', 'border-inside'), ('border-left', 'border-left'), ('border-left-variant', 'border-left-variant'), ('border-none', 'border-none'), ('border-none-variant', 'border-none-variant'), ('border-outside', 'border-outside'), ('border-radius', 'border-radius'), ('border-right', 'border-right'), ('border-right-variant', 'border-right-variant'), ('border-style', 'border-style'), ('border-top', 'border-top'), ('border-top-variant', 'border-top-variant'), ('border-vertical', 'border-vertical'), ('bottle-soda', 'bottle-soda'), ('bottle-soda-classic', 'bottle-soda-classic'), ('bottle-soda-classic-outline', 'bottle-soda-classic-outline'), ('bottle-soda-outline', 'bottle-soda-outline'), ('bottle-tonic', 'bottle-tonic'), ('bottle-tonic-outline', 'bottle-tonic-outline'), ('bottle-tonic-plus', 'bottle-tonic-plus'), ('bottle-tonic-plus-outline', 'bottle-tonic-plus-outline'), ('bottle-tonic-skull', 'bottle-tonic-skull'), ('bottle-tonic-skull-outline', 'bottle-tonic-skull-outline'), ('bottle-wine', 'bottle-wine'), ('bottle-wine-outline', 'bottle-wine-outline'), ('bow-arrow', 'bow-arrow'), ('bow-tie', 'bow-tie'), ('bowl', 'bowl'), ('bowl-mix', 'bowl-mix'), ('bowl-mix-outline', 'bowl-mix-outline'), ('bowl-outline', 'bowl-outline'), ('bowling', 'bowling'), ('box', 'box'), ('box-cutter', 'box-cutter'), ('box-cutter-off', 'box-cutter-off'), ('box-download', 'box-download'), ('box-shadow', 'box-shadow'), ('box-upload', 'box-upload'), ('boxing-glove', 'boxing-glove'), ('boxing-gloves', 'boxing-gloves'), ('braille', 'braille'), ('brain', 'brain'), ('bread-slice', 'bread-slice'), ('bread-slice-outline', 'bread-slice-outline'), ('bridge', 'bridge'), ('briefcase', 'briefcase'), ('briefcase-account', 'briefcase-account'), ('briefcase-account-outline', 'briefcase-account-outline'), ('briefcase-arrow-left-right', 'briefcase-arrow-left-right'), ('briefcase-arrow-left-right-outline', 'briefcase-arrow-left-right-outline'), ('briefcase-arrow-up-down', 'briefcase-arrow-up-down'), ('briefcase-arrow-up-down-outline', 'briefcase-arrow-up-down-outline'), ('briefcase-check', 'briefcase-check'), ('briefcase-check-outline', 'briefcase-check-outline'), ('briefcase-clock', 'briefcase-clock'), ('briefcase-clock-outline', 'briefcase-clock-outline'), ('briefcase-download', 'briefcase-download'), ('briefcase-download-outline', 'briefcase-download-outline'), ('briefcase-edit', 'briefcase-edit'), ('briefcase-edit-outline', 'briefcase-edit-outline'), ('briefcase-eye', 'briefcase-eye'), ('briefcase-eye-outline', 'briefcase-eye-outline'), ('briefcase-minus', 'briefcase-minus'), ('briefcase-minus-outline', 'briefcase-minus-outline'), ('briefcase-off', 'briefcase-off'), ('briefcase-off-outline', 'briefcase-off-outline'), ('briefcase-outline', 'briefcase-outline'), ('briefcase-plus', 'briefcase-plus'), ('briefcase-plus-outline', 'briefcase-plus-outline'), ('briefcase-remove', 'briefcase-remove'), ('briefcase-remove-outline', 'briefcase-remove-outline'), ('briefcase-search', 'briefcase-search'), ('briefcase-search-outline', 'briefcase-search-outline'), ('briefcase-upload', 'briefcase-upload'), ('briefcase-upload-outline', 'briefcase-upload-outline'), ('briefcase-variant', 'briefcase-variant'), ('briefcase-variant-off', 'briefcase-variant-off'), ('briefcase-variant-off-outline', 'briefcase-variant-off-outline'), ('briefcase-variant-outline', 'briefcase-variant-outline'), ('brightness', 'brightness'), ('brightness-1', 'brightness-1'), ('brightness-2', 'brightness-2'), ('brightness-3', 'brightness-3'), ('brightness-4', 'brightness-4'), ('brightness-5', 'brightness-5'), ('brightness-6', 'brightness-6'), ('brightness-7', 'brightness-7'), ('brightness-auto', 'brightness-auto'), ('brightness-percent', 'brightness-percent'), ('broadcast', 'broadcast'), ('broadcast-off', 'broadcast-off'), ('broom', 'broom'), ('brush', 'brush'), ('brush-off', 'brush-off'), ('brush-outline', 'brush-outline'), ('brush-variant', 'brush-variant'), ('bucket', 'bucket'), ('bucket-outline', 'bucket-outline'), ('buffer', 'buffer'), ('buffet', 'buffet'), ('bug', 'bug'), ('bug-check', 'bug-check'), ('bug-check-outline', 'bug-check-outline'), ('bug-outline', 'bug-outline'), ('bug-pause', 'bug-pause'), ('bug-pause-outline', 'bug-pause-outline'), ('bug-play', 'bug-play'), ('bug-play-outline', 'bug-play-outline'), ('bug-stop', 'bug-stop'), ('bug-stop-outline', 'bug-stop-outline'), ('bugle', 'bugle'), ('bulkhead-light', 'bulkhead-light'), ('bulldozer', 'bulldozer'), ('bullet', 'bullet'), ('bulletin-board', 'bulletin-board'), ('bullhorn', 'bullhorn'), ('bullhorn-outline', 'bullhorn-outline'), ('bullhorn-variant', 'bullhorn-variant'), ('bullhorn-variant-outline', 'bullhorn-variant-outline'), ('bullseye', 'bullseye'), ('bullseye-arrow', 'bullseye-arrow'), ('bulma', 'bulma'), ('bunk-bed', 'bunk-bed'), ('bunk-bed-outline', 'bunk-bed-outline'), ('bus', 'bus'), ('bus-alert', 'bus-alert'), ('bus-articulated-end', 'bus-articulated-end'), ('bus-articulated-front', 'bus-articulated-front'), ('bus-clock', 'bus-clock'), ('bus-double-decker', 'bus-double-decker'), ('bus-electric', 'bus-electric'), ('bus-marker', 'bus-marker'), ('bus-multiple', 'bus-multiple'), ('bus-school', 'bus-school'), ('bus-side', 'bus-side'), ('bus-stop', 'bus-stop'), ('bus-stop-covered', 'bus-stop-covered'), ('bus-stop-uncovered', 'bus-stop-uncovered'), ('butterfly', 'butterfly'), ('butterfly-outline', 'butterfly-outline'), ('button-cursor', 'button-cursor'), ('button-pointer', 'button-pointer'), ('cabin-a-frame', 'cabin-a-frame'), ('cable-data', 'cable-data'), ('cached', 'cached'), ('cactus', 'cactus'), ('cake', 'cake'), ('cake-layered', 'cake-layered'), ('cake-variant', 'cake-variant'), ('cake-variant-outline', 'cake-variant-outline'), ('calculator', 'calculator'), ('calculator-off', 'calculator-off'), ('calculator-variant', 'calculator-variant'), ('calculator-variant-outline', 'calculator-variant-outline'), ('calendar', 'calendar'), ('calendar-account', 'calendar-account'), ('calendar-account-outline', 'calendar-account-outline'), ('calendar-alert', 'calendar-alert'), ('calendar-alert-outline', 'calendar-alert-outline'), ('calendar-arrow-left', 'calendar-arrow-left'), ('calendar-arrow-right', 'calendar-arrow-right'), ('calendar-badge', 'calendar-badge'), ('calendar-badge-outline', 'calendar-badge-outline'), ('calendar-blank', 'calendar-blank'), ('calendar-blank-multiple', 'calendar-blank-multiple'), ('calendar-blank-outline', 'calendar-blank-outline'), ('calendar-check', 'calendar-check'), ('calendar-check-outline', 'calendar-check-outline'), ('calendar-clock', 'calendar-clock'), ('calendar-clock-outline', 'calendar-clock-outline'), ('calendar-collapse-horizontal', 'calendar-collapse-horizontal'), ('calendar-collapse-horizontal-outline', 'calendar-collapse-horizontal-outline'), ('calendar-cursor', 'calendar-cursor'), ('calendar-cursor-outline', 'calendar-cursor-outline'), ('calendar-edit', 'calendar-edit'), ('calendar-edit-outline', 'calendar-edit-outline'), ('calendar-end', 'calendar-end'), ('calendar-end-outline', 'calendar-end-outline'), ('calendar-expand-horizontal', 'calendar-expand-horizontal'), ('calendar-expand-horizontal-outline', 'calendar-expand-horizontal-outline'), ('calendar-export', 'calendar-export'), ('calendar-export-outline', 'calendar-export-outline'), ('calendar-filter', 'calendar-filter'), ('calendar-filter-outline', 'calendar-filter-outline'), ('calendar-heart', 'calendar-heart'), ('calendar-heart-outline', 'calendar-heart-outline'), ('calendar-import', 'calendar-import'), ('calendar-import-outline', 'calendar-import-outline'), ('calendar-lock', 'calendar-lock'), ('calendar-lock-open', 'calendar-lock-open'), ('calendar-lock-open-outline', 'calendar-lock-open-outline'), ('calendar-lock-outline', 'calendar-lock-outline'), ('calendar-minus', 'calendar-minus'), ('calendar-minus-outline', 'calendar-minus-outline'), ('calendar-month', 'calendar-month'), ('calendar-month-outline', 'calendar-month-outline'), ('calendar-multiple', 'calendar-multiple'), ('calendar-multiple-check', 'calendar-multiple-check'), ('calendar-multiselect', 'calendar-multiselect'), ('calendar-multiselect-outline', 'calendar-multiselect-outline'), ('calendar-outline', 'calendar-outline'), ('calendar-plus', 'calendar-plus'), ('calendar-plus-outline', 'calendar-plus-outline'), ('calendar-question', 'calendar-question'), ('calendar-question-outline', 'calendar-question-outline'), ('calendar-range', 'calendar-range'), ('calendar-range-outline', 'calendar-range-outline'), ('calendar-refresh', 'calendar-refresh'), ('calendar-refresh-outline', 'calendar-refresh-outline'), ('calendar-remove', 'calendar-remove'), ('calendar-remove-outline', 'calendar-remove-outline'), ('calendar-search', 'calendar-search'), ('calendar-search-outline', 'calendar-search-outline'), ('calendar-select', 'calendar-select'), ('calendar-star', 'calendar-star'), ('calendar-star-outline', 'calendar-star-outline'), ('calendar-start', 'calendar-start'), ('calendar-start-outline', 'calendar-start-outline'), ('calendar-sync', 'calendar-sync'), ('calendar-sync-outline', 'calendar-sync-outline'), ('calendar-text', 'calendar-text'), ('calendar-text-outline', 'calendar-text-outline'), ('calendar-today', 'calendar-today'), ('calendar-today-outline', 'calendar-today-outline'), ('calendar-week', 'calendar-week'), ('calendar-week-begin', 'calendar-week-begin'), ('calendar-week-begin-outline', 'calendar-week-begin-outline'), ('calendar-week-end', 'calendar-week-end'), ('calendar-week-end-outline', 'calendar-week-end-outline'), ('calendar-week-outline', 'calendar-week-outline'), ('calendar-weekend', 'calendar-weekend'), ('calendar-weekend-outline', 'calendar-weekend-outline'), ('call-made', 'call-made'), ('call-merge', 'call-merge'), ('call-missed', 'call-missed'), ('call-received', 'call-received'), ('call-split', 'call-split'), ('camcorder', 'camcorder'), ('camcorder-off', 'camcorder-off'), ('camera', 'camera'), ('camera-account', 'camera-account'), ('camera-burst', 'camera-burst'), ('camera-control', 'camera-control'), ('camera-document', 'camera-document'), ('camera-document-off', 'camera-document-off'), ('camera-enhance', 'camera-enhance'), ('camera-enhance-outline', 'camera-enhance-outline'), ('camera-flip', 'camera-flip'), ('camera-flip-outline', 'camera-flip-outline'), ('camera-focus', 'camera-focus'), ('camera-front', 'camera-front'), ('camera-front-variant', 'camera-front-variant'), ('camera-gopro', 'camera-gopro'), ('camera-image', 'camera-image'), ('camera-iris', 'camera-iris'), ('camera-lock', 'camera-lock'), ('camera-lock-outline', 'camera-lock-outline'), ('camera-marker', 'camera-marker'), ('camera-marker-outline', 'camera-marker-outline'), ('camera-metering-center', 'camera-metering-center'), ('camera-metering-matrix', 'camera-metering-matrix'), ('camera-metering-partial', 'camera-metering-partial'), ('camera-metering-spot', 'camera-metering-spot'), ('camera-off', 'camera-off'), ('camera-off-outline', 'camera-off-outline'), ('camera-outline', 'camera-outline'), ('camera-party-mode', 'camera-party-mode'), ('camera-plus', 'camera-plus'), ('camera-plus-outline', 'camera-plus-outline'), ('camera-rear', 'camera-rear'), ('camera-rear-variant', 'camera-rear-variant'), ('camera-retake', 'camera-retake'), ('camera-retake-outline', 'camera-retake-outline'), ('camera-switch', 'camera-switch'), ('camera-switch-outline', 'camera-switch-outline'), ('camera-timer', 'camera-timer'), ('camera-wireless', 'camera-wireless'), ('camera-wireless-outline', 'camera-wireless-outline'), ('campfire', 'campfire'), ('cancel', 'cancel'), ('candelabra', 'candelabra'), ('candelabra-fire', 'candelabra-fire'), ('candle', 'candle'), ('candy', 'candy'), ('candy-off', 'candy-off'), ('candy-off-outline', 'candy-off-outline'), ('candy-outline', 'candy-outline'), ('candycane', 'candycane'), ('cannabis', 'cannabis'), ('cannabis-off', 'cannabis-off'), ('caps-lock', 'caps-lock'), ('car', 'car'), ('car-2-plus', 'car-2-plus'), ('car-3-plus', 'car-3-plus'), ('car-arrow-left', 'car-arrow-left'), ('car-arrow-right', 'car-arrow-right'), ('car-back', 'car-back'), ('car-battery', 'car-battery'), ('car-brake-abs', 'car-brake-abs'), ('car-brake-alert', 'car-brake-alert'), ('car-brake-fluid-level', 'car-brake-fluid-level'), ('car-brake-hold', 'car-brake-hold'), ('car-brake-low-pressure', 'car-brake-low-pressure'), ('car-brake-parking', 'car-brake-parking'), ('car-brake-retarder', 'car-brake-retarder'), ('car-brake-temperature', 'car-brake-temperature'), ('car-brake-worn-linings', 'car-brake-worn-linings'), ('car-child-seat', 'car-child-seat'), ('car-clock', 'car-clock'), ('car-clutch', 'car-clutch'), ('car-cog', 'car-cog'), ('car-connected', 'car-connected'), ('car-convertable', 'car-convertable'), ('car-convertible', 'car-convertible'), ('car-coolant-level', 'car-coolant-level'), ('car-cruise-control', 'car-cruise-control'), ('car-defrost-front', 'car-defrost-front'), ('car-defrost-rear', 'car-defrost-rear'), ('car-door', 'car-door'), ('car-door-lock', 'car-door-lock'), ('car-electric', 'car-electric'), ('car-electric-outline', 'car-electric-outline'), ('car-emergency', 'car-emergency'), ('car-esp', 'car-esp'), ('car-estate', 'car-estate'), ('car-hatchback', 'car-hatchback'), ('car-info', 'car-info'), ('car-key', 'car-key'), ('car-lifted-pickup', 'car-lifted-pickup'), ('car-light-alert', 'car-light-alert'), ('car-light-dimmed', 'car-light-dimmed'), ('car-light-fog', 'car-light-fog'), ('car-light-high', 'car-light-high'), ('car-limousine', 'car-limousine'), ('car-multiple', 'car-multiple'), ('car-off', 'car-off'), ('car-outline', 'car-outline'), ('car-parking-lights', 'car-parking-lights'), ('car-pickup', 'car-pickup'), ('car-search', 'car-search'), ('car-search-outline', 'car-search-outline'), ('car-seat', 'car-seat'), ('car-seat-cooler', 'car-seat-cooler'), ('car-seat-heater', 'car-seat-heater'), ('car-select', 'car-select'), ('car-settings', 'car-settings'), ('car-shift-pattern', 'car-shift-pattern'), ('car-side', 'car-side'), ('car-speed-limiter', 'car-speed-limiter'), ('car-sports', 'car-sports'), ('car-tire-alert', 'car-tire-alert'), ('car-traction-control', 'car-traction-control'), ('car-turbocharger', 'car-turbocharger'), ('car-wash', 'car-wash'), ('car-windshield', 'car-windshield'), ('car-windshield-outline', 'car-windshield-outline'), ('car-wireless', 'car-wireless'), ('car-wrench', 'car-wrench'), ('carabiner', 'carabiner'), ('caravan', 'caravan'), ('card', 'card'), ('card-account-details', 'card-account-details'), ('card-account-details-outline', 'card-account-details-outline'), ('card-account-details-star', 'card-account-details-star'), ('card-account-details-star-outline', 'card-account-details-star-outline'), ('card-account-mail', 'card-account-mail'), ('card-account-mail-outline', 'card-account-mail-outline'), ('card-account-phone', 'card-account-phone'), ('card-account-phone-outline', 'card-account-phone-outline'), ('card-bulleted', 'card-bulleted'), ('card-bulleted-off', 'card-bulleted-off'), ('card-bulleted-off-outline', 'card-bulleted-off-outline'), ('card-bulleted-outline', 'card-bulleted-outline'), ('card-bulleted-settings', 'card-bulleted-settings'), ('card-bulleted-settings-outline', 'card-bulleted-settings-outline'), ('card-minus', 'card-minus'), ('card-minus-outline', 'card-minus-outline'), ('card-multiple', 'card-multiple'), ('card-multiple-outline', 'card-multiple-outline'), ('card-off', 'card-off'), ('card-off-outline', 'card-off-outline'), ('card-outline', 'card-outline'), ('card-plus', 'card-plus'), ('card-plus-outline', 'card-plus-outline'), ('card-remove', 'card-remove'), ('card-remove-outline', 'card-remove-outline'), ('card-search', 'card-search'), ('card-search-outline', 'card-search-outline'), ('card-text', 'card-text'), ('card-text-outline', 'card-text-outline'), ('cards', 'cards'), ('cards-club', 'cards-club'), ('cards-club-outline', 'cards-club-outline'), ('cards-diamond', 'cards-diamond'), ('cards-diamond-outline', 'cards-diamond-outline'), ('cards-heart', 'cards-heart'), ('cards-heart-outline', 'cards-heart-outline'), ('cards-outline', 'cards-outline'), ('cards-playing', 'cards-playing'), ('cards-playing-club', 'cards-playing-club'), ('cards-playing-club-multiple', 'cards-playing-club-multiple'), ('cards-playing-club-multiple-outline', 'cards-playing-club-multiple-outline'), ('cards-playing-club-outline', 'cards-playing-club-outline'), ('cards-playing-diamond', 'cards-playing-diamond'), ('cards-playing-diamond-multiple', 'cards-playing-diamond-multiple'), ('cards-playing-diamond-multiple-outline', 'cards-playing-diamond-multiple-outline'), ('cards-playing-diamond-outline', 'cards-playing-diamond-outline'), ('cards-playing-heart', 'cards-playing-heart'), ('cards-playing-heart-multiple', 'cards-playing-heart-multiple'), ('cards-playing-heart-multiple-outline', 'cards-playing-heart-multiple-outline'), ('cards-playing-heart-outline', 'cards-playing-heart-outline'), ('cards-playing-outline', 'cards-playing-outline'), ('cards-playing-spade', 'cards-playing-spade'), ('cards-playing-spade-multiple', 'cards-playing-spade-multiple'), ('cards-playing-spade-multiple-outline', 'cards-playing-spade-multiple-outline'), ('cards-playing-spade-outline', 'cards-playing-spade-outline'), ('cards-spade', 'cards-spade'), ('cards-spade-outline', 'cards-spade-outline'), ('cards-variant', 'cards-variant'), ('carrot', 'carrot'), ('cart', 'cart'), ('cart-arrow-down', 'cart-arrow-down'), ('cart-arrow-right', 'cart-arrow-right'), ('cart-arrow-up', 'cart-arrow-up'), ('cart-check', 'cart-check'), ('cart-heart', 'cart-heart'), ('cart-minus', 'cart-minus'), ('cart-off', 'cart-off'), ('cart-outline', 'cart-outline'), ('cart-percent', 'cart-percent'), ('cart-plus', 'cart-plus'), ('cart-remove', 'cart-remove'), ('cart-variant', 'cart-variant'), ('case-sensitive-alt', 'case-sensitive-alt'), ('cash', 'cash'), ('cash-100', 'cash-100'), ('cash-check', 'cash-check'), ('cash-clock', 'cash-clock'), ('cash-fast', 'cash-fast'), ('cash-lock', 'cash-lock'), ('cash-lock-open', 'cash-lock-open'), ('cash-marker', 'cash-marker'), ('cash-minus', 'cash-minus'), ('cash-multiple', 'cash-multiple'), ('cash-plus', 'cash-plus'), ('cash-refund', 'cash-refund'), ('cash-register', 'cash-register'), ('cash-remove', 'cash-remove'), ('cash-sync', 'cash-sync'), ('cash-usd', 'cash-usd'), ('cash-usd-outline', 'cash-usd-outline'), ('cassette', 'cassette'), ('cast', 'cast'), ('cast-audio', 'cast-audio'), ('cast-audio-variant', 'cast-audio-variant'), ('cast-connected', 'cast-connected'), ('cast-education', 'cast-education'), ('cast-off', 'cast-off'), ('cast-variant', 'cast-variant'), ('castle', 'castle'), ('cat', 'cat'), ('cctv', 'cctv'), ('cctv-off', 'cctv-off'), ('ceiling-fan', 'ceiling-fan'), ('ceiling-fan-light', 'ceiling-fan-light'), ('ceiling-light', 'ceiling-light'), ('ceiling-light-multiple', 'ceiling-light-multiple'), ('ceiling-light-multiple-outline', 'ceiling-light-multiple-outline'), ('ceiling-light-outline', 'ceiling-light-outline'), ('cellphone', 'cellphone'), ('cellphone-android', 'cellphone-android'), ('cellphone-arrow-down', 'cellphone-arrow-down'), ('cellphone-arrow-down-variant', 'cellphone-arrow-down-variant'), ('cellphone-basic', 'cellphone-basic'), ('cellphone-charging', 'cellphone-charging'), ('cellphone-check', 'cellphone-check'), ('cellphone-cog', 'cellphone-cog'), ('cellphone-dock', 'cellphone-dock'), ('cellphone-information', 'cellphone-information'), ('cellphone-iphone', 'cellphone-iphone'), ('cellphone-key', 'cellphone-key'), ('cellphone-link', 'cellphone-link'), ('cellphone-link-off', 'cellphone-link-off'), ('cellphone-lock', 'cellphone-lock'), ('cellphone-marker', 'cellphone-marker'), ('cellphone-message', 'cellphone-message'), ('cellphone-message-off', 'cellphone-message-off'), ('cellphone-nfc', 'cellphone-nfc'), ('cellphone-nfc-off', 'cellphone-nfc-off'), ('cellphone-off', 'cellphone-off'), ('cellphone-play', 'cellphone-play'), ('cellphone-remove', 'cellphone-remove'), ('cellphone-screenshot', 'cellphone-screenshot'), ('cellphone-settings', 'cellphone-settings'), ('cellphone-sound', 'cellphone-sound'), ('cellphone-text', 'cellphone-text'), ('cellphone-wireless', 'cellphone-wireless'), ('centos', 'centos'), ('certificate', 'certificate'), ('certificate-outline', 'certificate-outline'), ('chair-rolling', 'chair-rolling'), ('chair-school', 'chair-school'), ('chandelier', 'chandelier'), ('charity', 'charity'), ('chart-arc', 'chart-arc'), ('chart-areaspline', 'chart-areaspline'), ('chart-areaspline-variant', 'chart-areaspline-variant'), ('chart-bar', 'chart-bar'), ('chart-bar-stacked', 'chart-bar-stacked'), ('chart-bell-curve', 'chart-bell-curve'), ('chart-bell-curve-cumulative', 'chart-bell-curve-cumulative'), ('chart-box', 'chart-box'), ('chart-box-outline', 'chart-box-outline'), ('chart-box-plus-outline', 'chart-box-plus-outline'), ('chart-bubble', 'chart-bubble'), ('chart-donut', 'chart-donut'), ('chart-donut-variant', 'chart-donut-variant'), ('chart-gantt', 'chart-gantt'), ('chart-histogram', 'chart-histogram'), ('chart-line', 'chart-line'), ('chart-line-stacked', 'chart-line-stacked'), ('chart-line-variant', 'chart-line-variant'), ('chart-multiline', 'chart-multiline'), ('chart-multiple', 'chart-multiple'), ('chart-pie', 'chart-pie'), ('chart-ppf', 'chart-ppf'), ('chart-sankey', 'chart-sankey'), ('chart-sankey-variant', 'chart-sankey-variant'), ('chart-scatter-plot', 'chart-scatter-plot'), ('chart-scatter-plot-hexbin', 'chart-scatter-plot-hexbin'), ('chart-timeline', 'chart-timeline'), ('chart-timeline-variant', 'chart-timeline-variant'), ('chart-timeline-variant-shimmer', 'chart-timeline-variant-shimmer'), ('chart-tree', 'chart-tree'), ('chart-waterfall', 'chart-waterfall'), ('chat', 'chat'), ('chat-alert', 'chat-alert'), ('chat-alert-outline', 'chat-alert-outline'), ('chat-minus', 'chat-minus'), ('chat-minus-outline', 'chat-minus-outline'), ('chat-outline', 'chat-outline'), ('chat-plus', 'chat-plus'), ('chat-plus-outline', 'chat-plus-outline'), ('chat-processing', 'chat-processing'), ('chat-processing-outline', 'chat-processing-outline'), ('chat-question', 'chat-question'), ('chat-question-outline', 'chat-question-outline'), ('chat-remove', 'chat-remove'), ('chat-remove-outline', 'chat-remove-outline'), ('chat-sleep', 'chat-sleep'), ('chat-sleep-outline', 'chat-sleep-outline'), ('check', 'check'), ('check-all', 'check-all'), ('check-bold', 'check-bold'), ('check-bookmark', 'check-bookmark'), ('check-circle', 'check-circle'), ('check-circle-outline', 'check-circle-outline'), ('check-decagram', 'check-decagram'), ('check-decagram-outline', 'check-decagram-outline'), ('check-network', 'check-network'), ('check-network-outline', 'check-network-outline'), ('check-outline', 'check-outline'), ('check-underline', 'check-underline'), ('check-underline-circle', 'check-underline-circle'), ('check-underline-circle-outline', 'check-underline-circle-outline'), ('checkbook', 'checkbook'), ('checkbox-blank', 'checkbox-blank'), ('checkbox-blank-badge', 'checkbox-blank-badge'), ('checkbox-blank-badge-outline', 'checkbox-blank-badge-outline'), ('checkbox-blank-circle', 'checkbox-blank-circle'), ('checkbox-blank-circle-outline', 'checkbox-blank-circle-outline'), ('checkbox-blank-off', 'checkbox-blank-off'), ('checkbox-blank-off-outline', 'checkbox-blank-off-outline'), ('checkbox-blank-outline', 'checkbox-blank-outline'), ('checkbox-indeterminate', 'checkbox-indeterminate'), ('checkbox-intermediate', 'checkbox-intermediate'), ('checkbox-intermediate-variant', 'checkbox-intermediate-variant'), ('checkbox-marked', 'checkbox-marked'), ('checkbox-marked-circle', 'checkbox-marked-circle'), ('checkbox-marked-circle-outline', 'checkbox-marked-circle-outline'), ('checkbox-marked-circle-plus-outline', 'checkbox-marked-circle-plus-outline'), ('checkbox-marked-outline', 'checkbox-marked-outline'), ('checkbox-multiple-blank', 'checkbox-multiple-blank'), ('checkbox-multiple-blank-circle', 'checkbox-multiple-blank-circle'), ('checkbox-multiple-blank-circle-outline', 'checkbox-multiple-blank-circle-outline'), ('checkbox-multiple-blank-outline', 'checkbox-multiple-blank-outline'), ('checkbox-multiple-marked', 'checkbox-multiple-marked'), ('checkbox-multiple-marked-circle', 'checkbox-multiple-marked-circle'), ('checkbox-multiple-marked-circle-outline', 'checkbox-multiple-marked-circle-outline'), ('checkbox-multiple-marked-outline', 'checkbox-multiple-marked-outline'), ('checkbox-multiple-outline', 'checkbox-multiple-outline'), ('checkbox-outline', 'checkbox-outline'), ('checkerboard', 'checkerboard'), ('checkerboard-minus', 'checkerboard-minus'), ('checkerboard-plus', 'checkerboard-plus'), ('checkerboard-remove', 'checkerboard-remove'), ('cheese', 'cheese'), ('cheese-off', 'cheese-off'), ('chef-hat', 'chef-hat'), ('chemical-weapon', 'chemical-weapon'), ('chess-bishop', 'chess-bishop'), ('chess-king', 'chess-king'), ('chess-knight', 'chess-knight'), ('chess-pawn', 'chess-pawn'), ('chess-queen', 'chess-queen'), ('chess-rook', 'chess-rook'), ('chevron-double-down', 'chevron-double-down'), ('chevron-double-left', 'chevron-double-left'), ('chevron-double-right', 'chevron-double-right'), ('chevron-double-up', 'chevron-double-up'), ('chevron-down', 'chevron-down'), ('chevron-down-box', 'chevron-down-box'), ('chevron-down-box-outline', 'chevron-down-box-outline'), ('chevron-down-circle', 'chevron-down-circle'), ('chevron-down-circle-outline', 'chevron-down-circle-outline'), ('chevron-left', 'chevron-left'), ('chevron-left-box', 'chevron-left-box'), ('chevron-left-box-outline', 'chevron-left-box-outline'), ('chevron-left-circle', 'chevron-left-circle'), ('chevron-left-circle-outline', 'chevron-left-circle-outline'), ('chevron-right', 'chevron-right'), ('chevron-right-box', 'chevron-right-box'), ('chevron-right-box-outline', 'chevron-right-box-outline'), ('chevron-right-circle', 'chevron-right-circle'), ('chevron-right-circle-outline', 'chevron-right-circle-outline'), ('chevron-triple-down', 'chevron-triple-down'), ('chevron-triple-left', 'chevron-triple-left'), ('chevron-triple-right', 'chevron-triple-right'), ('chevron-triple-up', 'chevron-triple-up'), ('chevron-up', 'chevron-up'), ('chevron-up-box', 'chevron-up-box'), ('chevron-up-box-outline', 'chevron-up-box-outline'), ('chevron-up-circle', 'chevron-up-circle'), ('chevron-up-circle-outline', 'chevron-up-circle-outline'), ('chili-alert', 'chili-alert'), ('chili-alert-outline', 'chili-alert-outline'), ('chili-hot', 'chili-hot'), ('chili-hot-outline', 'chili-hot-outline'), ('chili-medium', 'chili-medium'), ('chili-medium-outline', 'chili-medium-outline'), ('chili-mild', 'chili-mild'), ('chili-mild-outline', 'chili-mild-outline'), ('chili-off', 'chili-off'), ('chili-off-outline', 'chili-off-outline'), ('chip', 'chip'), ('church', 'church'), ('church-outline', 'church-outline'), ('cigar', 'cigar'), ('cigar-off', 'cigar-off'), ('circle', 'circle'), ('circle-box', 'circle-box'), ('circle-box-outline', 'circle-box-outline'), ('circle-double', 'circle-double'), ('circle-edit-outline', 'circle-edit-outline'), ('circle-expand', 'circle-expand'), ('circle-half', 'circle-half'), ('circle-half-full', 'circle-half-full'), ('circle-medium', 'circle-medium'), ('circle-multiple', 'circle-multiple'), ('circle-multiple-outline', 'circle-multiple-outline'), ('circle-off-outline', 'circle-off-outline'), ('circle-opacity', 'circle-opacity'), ('circle-outline', 'circle-outline'), ('circle-slice-1', 'circle-slice-1'), ('circle-slice-2', 'circle-slice-2'), ('circle-slice-3', 'circle-slice-3'), ('circle-slice-4', 'circle-slice-4'), ('circle-slice-5', 'circle-slice-5'), ('circle-slice-6', 'circle-slice-6'), ('circle-slice-7', 'circle-slice-7'), ('circle-slice-8', 'circle-slice-8'), ('circle-small', 'circle-small'), ('circular-saw', 'circular-saw'), ('cisco-webex', 'cisco-webex'), ('city', 'city'), ('city-variant', 'city-variant'), ('city-variant-outline', 'city-variant-outline'), ('clipboard', 'clipboard'), ('clipboard-account', 'clipboard-account'), ('clipboard-account-outline', 'clipboard-account-outline'), ('clipboard-alert', 'clipboard-alert'), ('clipboard-alert-outline', 'clipboard-alert-outline'), ('clipboard-arrow-down', 'clipboard-arrow-down'), ('clipboard-arrow-down-outline', 'clipboard-arrow-down-outline'), ('clipboard-arrow-left', 'clipboard-arrow-left'), ('clipboard-arrow-left-outline', 'clipboard-arrow-left-outline'), ('clipboard-arrow-right', 'clipboard-arrow-right'), ('clipboard-arrow-right-outline', 'clipboard-arrow-right-outline'), ('clipboard-arrow-up', 'clipboard-arrow-up'), ('clipboard-arrow-up-outline', 'clipboard-arrow-up-outline'), ('clipboard-check', 'clipboard-check'), ('clipboard-check-multiple', 'clipboard-check-multiple'), ('clipboard-check-multiple-outline', 'clipboard-check-multiple-outline'), ('clipboard-check-outline', 'clipboard-check-outline'), ('clipboard-clock', 'clipboard-clock'), ('clipboard-clock-outline', 'clipboard-clock-outline'), ('clipboard-edit', 'clipboard-edit'), ('clipboard-edit-outline', 'clipboard-edit-outline'), ('clipboard-file', 'clipboard-file'), ('clipboard-file-outline', 'clipboard-file-outline'), ('clipboard-flow', 'clipboard-flow'), ('clipboard-flow-outline', 'clipboard-flow-outline'), ('clipboard-list', 'clipboard-list'), ('clipboard-list-outline', 'clipboard-list-outline'), ('clipboard-minus', 'clipboard-minus'), ('clipboard-minus-outline', 'clipboard-minus-outline'), ('clipboard-multiple', 'clipboard-multiple'), ('clipboard-multiple-outline', 'clipboard-multiple-outline'), ('clipboard-off', 'clipboard-off'), ('clipboard-off-outline', 'clipboard-off-outline'), ('clipboard-outline', 'clipboard-outline'), ('clipboard-play', 'clipboard-play'), ('clipboard-play-multiple', 'clipboard-play-multiple'), ('clipboard-play-multiple-outline', 'clipboard-play-multiple-outline'), ('clipboard-play-outline', 'clipboard-play-outline'), ('clipboard-plus', 'clipboard-plus'), ('clipboard-plus-outline', 'clipboard-plus-outline'), ('clipboard-pulse', 'clipboard-pulse'), ('clipboard-pulse-outline', 'clipboard-pulse-outline'), ('clipboard-remove', 'clipboard-remove'), ('clipboard-remove-outline', 'clipboard-remove-outline'), ('clipboard-search', 'clipboard-search'), ('clipboard-search-outline', 'clipboard-search-outline'), ('clipboard-text', 'clipboard-text'), ('clipboard-text-clock', 'clipboard-text-clock'), ('clipboard-text-clock-outline', 'clipboard-text-clock-outline'), ('clipboard-text-multiple', 'clipboard-text-multiple'), ('clipboard-text-multiple-outline', 'clipboard-text-multiple-outline'), ('clipboard-text-off', 'clipboard-text-off'), ('clipboard-text-off-outline', 'clipboard-text-off-outline'), ('clipboard-text-outline', 'clipboard-text-outline'), ('clipboard-text-play', 'clipboard-text-play'), ('clipboard-text-play-outline', 'clipboard-text-play-outline'), ('clipboard-text-search', 'clipboard-text-search'), ('clipboard-text-search-outline', 'clipboard-text-search-outline'), ('clippy', 'clippy'), ('clock', 'clock'), ('clock-alert', 'clock-alert'), ('clock-alert-outline', 'clock-alert-outline'), ('clock-check', 'clock-check'), ('clock-check-outline', 'clock-check-outline'), ('clock-digital', 'clock-digital'), ('clock-edit', 'clock-edit'), ('clock-edit-outline', 'clock-edit-outline'), ('clock-end', 'clock-end'), ('clock-fast', 'clock-fast'), ('clock-in', 'clock-in'), ('clock-minus', 'clock-minus'), ('clock-minus-outline', 'clock-minus-outline'), ('clock-out', 'clock-out'), ('clock-outline', 'clock-outline'), ('clock-plus', 'clock-plus'), ('clock-plus-outline', 'clock-plus-outline'), ('clock-remove', 'clock-remove'), ('clock-remove-outline', 'clock-remove-outline'), ('clock-start', 'clock-start'), ('clock-time-eight', 'clock-time-eight'), ('clock-time-eight-outline', 'clock-time-eight-outline'), ('clock-time-eleven', 'clock-time-eleven'), ('clock-time-eleven-outline', 'clock-time-eleven-outline'), ('clock-time-five', 'clock-time-five'), ('clock-time-five-outline', 'clock-time-five-outline'), ('clock-time-four', 'clock-time-four'), ('clock-time-four-outline', 'clock-time-four-outline'), ('clock-time-nine', 'clock-time-nine'), ('clock-time-nine-outline', 'clock-time-nine-outline'), ('clock-time-one', 'clock-time-one'), ('clock-time-one-outline', 'clock-time-one-outline'), ('clock-time-seven', 'clock-time-seven'), ('clock-time-seven-outline', 'clock-time-seven-outline'), ('clock-time-six', 'clock-time-six'), ('clock-time-six-outline', 'clock-time-six-outline'), ('clock-time-ten', 'clock-time-ten'), ('clock-time-ten-outline', 'clock-time-ten-outline'), ('clock-time-three', 'clock-time-three'), ('clock-time-three-outline', 'clock-time-three-outline'), ('clock-time-twelve', 'clock-time-twelve'), ('clock-time-twelve-outline', 'clock-time-twelve-outline'), ('clock-time-two', 'clock-time-two'), ('clock-time-two-outline', 'clock-time-two-outline'), ('close', 'close'), ('close-box', 'close-box'), ('close-box-multiple', 'close-box-multiple'), ('close-box-multiple-outline', 'close-box-multiple-outline'), ('close-box-outline', 'close-box-outline'), ('close-circle', 'close-circle'), ('close-circle-multiple', 'close-circle-multiple'), ('close-circle-multiple-outline', 'close-circle-multiple-outline'), ('close-circle-outline', 'close-circle-outline'), ('close-network', 'close-network'), ('close-network-outline', 'close-network-outline'), ('close-octagon', 'close-octagon'), ('close-octagon-outline', 'close-octagon-outline'), ('close-outline', 'close-outline'), ('close-thick', 'close-thick'), ('closed-caption', 'closed-caption'), ('closed-caption-outline', 'closed-caption-outline'), ('cloud', 'cloud'), ('cloud-alert', 'cloud-alert'), ('cloud-braces', 'cloud-braces'), ('cloud-check', 'cloud-check'), ('cloud-check-outline', 'cloud-check-outline'), ('cloud-circle', 'cloud-circle'), ('cloud-download', 'cloud-download'), ('cloud-download-outline', 'cloud-download-outline'), ('cloud-lock', 'cloud-lock'), ('cloud-lock-outline', 'cloud-lock-outline'), ('cloud-off-outline', 'cloud-off-outline'), ('cloud-outline', 'cloud-outline'), ('cloud-percent', 'cloud-percent'), ('cloud-percent-outline', 'cloud-percent-outline'), ('cloud-print', 'cloud-print'), ('cloud-print-outline', 'cloud-print-outline'), ('cloud-question', 'cloud-question'), ('cloud-refresh', 'cloud-refresh'), ('cloud-search', 'cloud-search'), ('cloud-search-outline', 'cloud-search-outline'), ('cloud-sync', 'cloud-sync'), ('cloud-sync-outline', 'cloud-sync-outline'), ('cloud-tags', 'cloud-tags'), ('cloud-upload', 'cloud-upload'), ('cloud-upload-outline', 'cloud-upload-outline'), ('clouds', 'clouds'), ('clover', 'clover'), ('coach-lamp', 'coach-lamp'), ('coach-lamp-variant', 'coach-lamp-variant'), ('coat-rack', 'coat-rack'), ('code-array', 'code-array'), ('code-braces', 'code-braces'), ('code-braces-box', 'code-braces-box'), ('code-brackets', 'code-brackets'), ('code-equal', 'code-equal'), ('code-greater-than', 'code-greater-than'), ('code-greater-than-or-equal', 'code-greater-than-or-equal'), ('code-json', 'code-json'), ('code-less-than', 'code-less-than'), ('code-less-than-or-equal', 'code-less-than-or-equal'), ('code-not-equal', 'code-not-equal'), ('code-not-equal-variant', 'code-not-equal-variant'), ('code-parentheses', 'code-parentheses'), ('code-parentheses-box', 'code-parentheses-box'), ('code-string', 'code-string'), ('code-tags', 'code-tags'), ('code-tags-check', 'code-tags-check'), ('codepen', 'codepen'), ('coffee', 'coffee'), ('coffee-maker', 'coffee-maker'), ('coffee-maker-check', 'coffee-maker-check'), ('coffee-maker-check-outline', 'coffee-maker-check-outline'), ('coffee-maker-outline', 'coffee-maker-outline'), ('coffee-off', 'coffee-off'), ('coffee-off-outline', 'coffee-off-outline'), ('coffee-outline', 'coffee-outline'), ('coffee-to-go', 'coffee-to-go'), ('coffee-to-go-outline', 'coffee-to-go-outline'), ('coffin', 'coffin'), ('cog', 'cog'), ('cog-box', 'cog-box'), ('cog-clockwise', 'cog-clockwise'), ('cog-counterclockwise', 'cog-counterclockwise'), ('cog-off', 'cog-off'), ('cog-off-outline', 'cog-off-outline'), ('cog-outline', 'cog-outline'), ('cog-pause', 'cog-pause'), ('cog-pause-outline', 'cog-pause-outline'), ('cog-play', 'cog-play'), ('cog-play-outline', 'cog-play-outline'), ('cog-refresh', 'cog-refresh'), ('cog-refresh-outline', 'cog-refresh-outline'), ('cog-stop', 'cog-stop'), ('cog-stop-outline', 'cog-stop-outline'), ('cog-sync', 'cog-sync'), ('cog-sync-outline', 'cog-sync-outline'), ('cog-transfer', 'cog-transfer'), ('cog-transfer-outline', 'cog-transfer-outline'), ('cogs', 'cogs'), ('collage', 'collage'), ('collapse-all', 'collapse-all'), ('collapse-all-outline', 'collapse-all-outline'), ('color-helper', 'color-helper'), ('comma', 'comma'), ('comma-box', 'comma-box'), ('comma-box-outline', 'comma-box-outline'), ('comma-circle', 'comma-circle'), ('comma-circle-outline', 'comma-circle-outline'), ('comment', 'comment'), ('comment-account', 'comment-account'), ('comment-account-outline', 'comment-account-outline'), ('comment-alert', 'comment-alert'), ('comment-alert-outline', 'comment-alert-outline'), ('comment-arrow-left', 'comment-arrow-left'), ('comment-arrow-left-outline', 'comment-arrow-left-outline'), ('comment-arrow-right', 'comment-arrow-right'), ('comment-arrow-right-outline', 'comment-arrow-right-outline'), ('comment-bookmark', 'comment-bookmark'), ('comment-bookmark-outline', 'comment-bookmark-outline'), ('comment-check', 'comment-check'), ('comment-check-outline', 'comment-check-outline'), ('comment-edit', 'comment-edit'), ('comment-edit-outline', 'comment-edit-outline'), ('comment-eye', 'comment-eye'), ('comment-eye-outline', 'comment-eye-outline'), ('comment-flash', 'comment-flash'), ('comment-flash-outline', 'comment-flash-outline'), ('comment-minus', 'comment-minus'), ('comment-minus-outline', 'comment-minus-outline'), ('comment-multiple', 'comment-multiple'), ('comment-multiple-outline', 'comment-multiple-outline'), ('comment-off', 'comment-off'), ('comment-off-outline', 'comment-off-outline'), ('comment-outline', 'comment-outline'), ('comment-plus', 'comment-plus'), ('comment-plus-outline', 'comment-plus-outline'), ('comment-processing', 'comment-processing'), ('comment-processing-outline', 'comment-processing-outline'), ('comment-question', 'comment-question'), ('comment-question-outline', 'comment-question-outline'), ('comment-quote', 'comment-quote'), ('comment-quote-outline', 'comment-quote-outline'), ('comment-remove', 'comment-remove'), ('comment-remove-outline', 'comment-remove-outline'), ('comment-search', 'comment-search'), ('comment-search-outline', 'comment-search-outline'), ('comment-text', 'comment-text'), ('comment-text-multiple', 'comment-text-multiple'), ('comment-text-multiple-outline', 'comment-text-multiple-outline'), ('comment-text-outline', 'comment-text-outline'), ('compare', 'compare'), ('compare-horizontal', 'compare-horizontal'), ('compare-remove', 'compare-remove'), ('compare-vertical', 'compare-vertical'), ('compass', 'compass'), ('compass-off', 'compass-off'), ('compass-off-outline', 'compass-off-outline'), ('compass-outline', 'compass-outline'), ('compass-rose', 'compass-rose'), ('compost', 'compost'), ('concourse-ci', 'concourse-ci'), ('cone', 'cone'), ('cone-off', 'cone-off'), ('connection', 'connection'), ('console', 'console'), ('console-line', 'console-line'), ('console-network', 'console-network'), ('console-network-outline', 'console-network-outline'), ('consolidate', 'consolidate'), ('contactless-payment', 'contactless-payment'), ('contactless-payment-circle', 'contactless-payment-circle'), ('contactless-payment-circle-outline', 'contactless-payment-circle-outline'), ('contacts', 'contacts'), ('contacts-outline', 'contacts-outline'), ('contain', 'contain'), ('contain-end', 'contain-end'), ('contain-start', 'contain-start'), ('content-copy', 'content-copy'), ('content-cut', 'content-cut'), ('content-duplicate', 'content-duplicate'), ('content-paste', 'content-paste'), ('content-save', 'content-save'), ('content-save-alert', 'content-save-alert'), ('content-save-alert-outline', 'content-save-alert-outline'), ('content-save-all', 'content-save-all'), ('content-save-all-outline', 'content-save-all-outline'), ('content-save-check', 'content-save-check'), ('content-save-check-outline', 'content-save-check-outline'), ('content-save-cog', 'content-save-cog'), ('content-save-cog-outline', 'content-save-cog-outline'), ('content-save-edit', 'content-save-edit'), ('content-save-edit-outline', 'content-save-edit-outline'), ('content-save-minus', 'content-save-minus'), ('content-save-minus-outline', 'content-save-minus-outline'), ('content-save-move', 'content-save-move'), ('content-save-move-outline', 'content-save-move-outline'), ('content-save-off', 'content-save-off'), ('content-save-off-outline', 'content-save-off-outline'), ('content-save-outline', 'content-save-outline'), ('content-save-plus', 'content-save-plus'), ('content-save-plus-outline', 'content-save-plus-outline'), ('content-save-settings', 'content-save-settings'), ('content-save-settings-outline', 'content-save-settings-outline'), ('contrast', 'contrast'), ('contrast-box', 'contrast-box'), ('contrast-circle', 'contrast-circle'), ('controller', 'controller'), ('controller-classic', 'controller-classic'), ('controller-classic-outline', 'controller-classic-outline'), ('controller-off', 'controller-off'), ('controller-xbox', 'controller-xbox'), ('cookie', 'cookie'), ('cookie-alert', 'cookie-alert'), ('cookie-alert-outline', 'cookie-alert-outline'), ('cookie-check', 'cookie-check'), ('cookie-check-outline', 'cookie-check-outline'), ('cookie-clock', 'cookie-clock'), ('cookie-clock-outline', 'cookie-clock-outline'), ('cookie-cog', 'cookie-cog'), ('cookie-cog-outline', 'cookie-cog-outline'), ('cookie-edit', 'cookie-edit'), ('cookie-edit-outline', 'cookie-edit-outline'), ('cookie-lock', 'cookie-lock'), ('cookie-lock-outline', 'cookie-lock-outline'), ('cookie-minus', 'cookie-minus'), ('cookie-minus-outline', 'cookie-minus-outline'), ('cookie-off', 'cookie-off'), ('cookie-off-outline', 'cookie-off-outline'), ('cookie-outline', 'cookie-outline'), ('cookie-plus', 'cookie-plus'), ('cookie-plus-outline', 'cookie-plus-outline'), ('cookie-refresh', 'cookie-refresh'), ('cookie-refresh-outline', 'cookie-refresh-outline'), ('cookie-remove', 'cookie-remove'), ('cookie-remove-outline', 'cookie-remove-outline'), ('cookie-settings', 'cookie-settings'), ('cookie-settings-outline', 'cookie-settings-outline'), ('coolant-temperature', 'coolant-temperature'), ('copyleft', 'copyleft'), ('copyright', 'copyright'), ('cordova', 'cordova'), ('corn', 'corn'), ('corn-off', 'corn-off'), ('cosine-wave', 'cosine-wave'), ('counter', 'counter'), ('countertop', 'countertop'), ('countertop-outline', 'countertop-outline'), ('cow', 'cow'), ('cow-off', 'cow-off'), ('cpu-32-bit', 'cpu-32-bit'), ('cpu-64-bit', 'cpu-64-bit'), ('cradle', 'cradle'), ('cradle-outline', 'cradle-outline'), ('crane', 'crane'), ('creation', 'creation'), ('creative-commons', 'creative-commons'), ('credit-card', 'credit-card'), ('credit-card-check', 'credit-card-check'), ('credit-card-check-outline', 'credit-card-check-outline'), ('credit-card-chip', 'credit-card-chip'), ('credit-card-chip-outline', 'credit-card-chip-outline'), ('credit-card-clock', 'credit-card-clock'), ('credit-card-clock-outline', 'credit-card-clock-outline'), ('credit-card-edit', 'credit-card-edit'), ('credit-card-edit-outline', 'credit-card-edit-outline'), ('credit-card-fast', 'credit-card-fast'), ('credit-card-fast-outline', 'credit-card-fast-outline'), ('credit-card-lock', 'credit-card-lock'), ('credit-card-lock-outline', 'credit-card-lock-outline'), ('credit-card-marker', 'credit-card-marker'), ('credit-card-marker-outline', 'credit-card-marker-outline'), ('credit-card-minus', 'credit-card-minus'), ('credit-card-minus-outline', 'credit-card-minus-outline'), ('credit-card-multiple', 'credit-card-multiple'), ('credit-card-multiple-outline', 'credit-card-multiple-outline'), ('credit-card-off', 'credit-card-off'), ('credit-card-off-outline', 'credit-card-off-outline'), ('credit-card-outline', 'credit-card-outline'), ('credit-card-plus', 'credit-card-plus'), ('credit-card-plus-outline', 'credit-card-plus-outline'), ('credit-card-refresh', 'credit-card-refresh'), ('credit-card-refresh-outline', 'credit-card-refresh-outline'), ('credit-card-refund', 'credit-card-refund'), ('credit-card-refund-outline', 'credit-card-refund-outline'), ('credit-card-remove', 'credit-card-remove'), ('credit-card-remove-outline', 'credit-card-remove-outline'), ('credit-card-scan', 'credit-card-scan'), ('credit-card-scan-outline', 'credit-card-scan-outline'), ('credit-card-search', 'credit-card-search'), ('credit-card-search-outline', 'credit-card-search-outline'), ('credit-card-settings', 'credit-card-settings'), ('credit-card-settings-outline', 'credit-card-settings-outline'), ('credit-card-sync', 'credit-card-sync'), ('credit-card-sync-outline', 'credit-card-sync-outline'), ('credit-card-wireless', 'credit-card-wireless'), ('credit-card-wireless-off', 'credit-card-wireless-off'), ('credit-card-wireless-off-outline', 'credit-card-wireless-off-outline'), ('credit-card-wireless-outline', 'credit-card-wireless-outline'), ('cricket', 'cricket'), ('crop', 'crop'), ('crop-free', 'crop-free'), ('crop-landscape', 'crop-landscape'), ('crop-portrait', 'crop-portrait'), ('crop-rotate', 'crop-rotate'), ('crop-square', 'crop-square'), ('cross', 'cross'), ('cross-bolnisi', 'cross-bolnisi'), ('cross-celtic', 'cross-celtic'), ('cross-outline', 'cross-outline'), ('crosshairs', 'crosshairs'), ('crosshairs-gps', 'crosshairs-gps'), ('crosshairs-off', 'crosshairs-off'), ('crosshairs-question', 'crosshairs-question'), ('crowd', 'crowd'), ('crown', 'crown'), ('crown-circle', 'crown-circle'), ('crown-circle-outline', 'crown-circle-outline'), ('crown-outline', 'crown-outline'), ('cryengine', 'cryengine'), ('crystal-ball', 'crystal-ball'), ('cube', 'cube'), ('cube-off', 'cube-off'), ('cube-off-outline', 'cube-off-outline'), ('cube-outline', 'cube-outline'), ('cube-scan', 'cube-scan'), ('cube-send', 'cube-send'), ('cube-unfolded', 'cube-unfolded'), ('cup', 'cup'), ('cup-off', 'cup-off'), ('cup-off-outline', 'cup-off-outline'), ('cup-outline', 'cup-outline'), ('cup-water', 'cup-water'), ('cupboard', 'cupboard'), ('cupboard-outline', 'cupboard-outline'), ('cupcake', 'cupcake'), ('curling', 'curling'), ('currency-bdt', 'currency-bdt'), ('currency-brl', 'currency-brl'), ('currency-btc', 'currency-btc'), ('currency-chf', 'currency-chf'), ('currency-cny', 'currency-cny'), ('currency-eth', 'currency-eth'), ('currency-eur', 'currency-eur'), ('currency-eur-off', 'currency-eur-off'), ('currency-fra', 'currency-fra'), ('currency-gbp', 'currency-gbp'), ('currency-ils', 'currency-ils'), ('currency-inr', 'currency-inr'), ('currency-jpy', 'currency-jpy'), ('currency-krw', 'currency-krw'), ('currency-kzt', 'currency-kzt'), ('currency-mnt', 'currency-mnt'), ('currency-ngn', 'currency-ngn'), ('currency-php', 'currency-php'), ('currency-rial', 'currency-rial'), ('currency-rub', 'currency-rub'), ('currency-rupee', 'currency-rupee'), ('currency-sign', 'currency-sign'), ('currency-try', 'currency-try'), ('currency-twd', 'currency-twd'), ('currency-uah', 'currency-uah'), ('currency-usd', 'currency-usd'), ('currency-usd-circle', 'currency-usd-circle'), ('currency-usd-circle-outline', 'currency-usd-circle-outline'), ('currency-usd-off', 'currency-usd-off'), ('current-ac', 'current-ac'), ('current-dc', 'current-dc'), ('cursor-default', 'cursor-default'), ('cursor-default-click', 'cursor-default-click'), ('cursor-default-click-outline', 'cursor-default-click-outline'), ('cursor-default-gesture', 'cursor-default-gesture'), ('cursor-default-gesture-outline', 'cursor-default-gesture-outline'), ('cursor-default-outline', 'cursor-default-outline'), ('cursor-move', 'cursor-move'), ('cursor-pointer', 'cursor-pointer'), ('cursor-text', 'cursor-text'), ('curtains', 'curtains'), ('curtains-closed', 'curtains-closed'), ('cylinder', 'cylinder'), ('cylinder-off', 'cylinder-off'), ('dance-ballroom', 'dance-ballroom'), ('dance-pole', 'dance-pole'), ('data', 'data'), ('data-matrix', 'data-matrix'), ('data-matrix-edit', 'data-matrix-edit'), ('data-matrix-minus', 'data-matrix-minus'), ('data-matrix-plus', 'data-matrix-plus'), ('data-matrix-remove', 'data-matrix-remove'), ('data-matrix-scan', 'data-matrix-scan'), ('database', 'database'), ('database-alert', 'database-alert'), ('database-alert-outline', 'database-alert-outline'), ('database-arrow-down', 'database-arrow-down'), ('database-arrow-down-outline', 'database-arrow-down-outline'), ('database-arrow-left', 'database-arrow-left'), ('database-arrow-left-outline', 'database-arrow-left-outline'), ('database-arrow-right', 'database-arrow-right'), ('database-arrow-right-outline', 'database-arrow-right-outline'), ('database-arrow-up', 'database-arrow-up'), ('database-arrow-up-outline', 'database-arrow-up-outline'), ('database-check', 'database-check'), ('database-check-outline', 'database-check-outline'), ('database-clock', 'database-clock'), ('database-clock-outline', 'database-clock-outline'), ('database-cog', 'database-cog'), ('database-cog-outline', 'database-cog-outline'), ('database-edit', 'database-edit'), ('database-edit-outline', 'database-edit-outline'), ('database-export', 'database-export'), ('database-export-outline', 'database-export-outline'), ('database-eye', 'database-eye'), ('database-eye-off', 'database-eye-off'), ('database-eye-off-outline', 'database-eye-off-outline'), ('database-eye-outline', 'database-eye-outline'), ('database-import', 'database-import'), ('database-import-outline', 'database-import-outline'), ('database-lock', 'database-lock'), ('database-lock-outline', 'database-lock-outline'), ('database-marker', 'database-marker'), ('database-marker-outline', 'database-marker-outline'), ('database-minus', 'database-minus'), ('database-minus-outline', 'database-minus-outline'), ('database-off', 'database-off'), ('database-off-outline', 'database-off-outline'), ('database-outline', 'database-outline'), ('database-plus', 'database-plus'), ('database-plus-outline', 'database-plus-outline'), ('database-refresh', 'database-refresh'), ('database-refresh-outline', 'database-refresh-outline'), ('database-remove', 'database-remove'), ('database-remove-outline', 'database-remove-outline'), ('database-search', 'database-search'), ('database-search-outline', 'database-search-outline'), ('database-settings', 'database-settings'), ('database-settings-outline', 'database-settings-outline'), ('database-sync', 'database-sync'), ('database-sync-outline', 'database-sync-outline'), ('death-star', 'death-star'), ('death-star-variant', 'death-star-variant'), ('deathly-hallows', 'deathly-hallows'), ('debian', 'debian'), ('debug-step-into', 'debug-step-into'), ('debug-step-out', 'debug-step-out'), ('debug-step-over', 'debug-step-over'), ('decagram', 'decagram'), ('decagram-outline', 'decagram-outline'), ('decimal', 'decimal'), ('decimal-comma', 'decimal-comma'), ('decimal-comma-decrease', 'decimal-comma-decrease'), ('decimal-comma-increase', 'decimal-comma-increase'), ('decimal-decrease', 'decimal-decrease'), ('decimal-increase', 'decimal-increase'), ('delete', 'delete'), ('delete-alert', 'delete-alert'), ('delete-alert-outline', 'delete-alert-outline'), ('delete-circle', 'delete-circle'), ('delete-circle-outline', 'delete-circle-outline'), ('delete-clock', 'delete-clock'), ('delete-clock-outline', 'delete-clock-outline'), ('delete-empty', 'delete-empty'), ('delete-empty-outline', 'delete-empty-outline'), ('delete-forever', 'delete-forever'), ('delete-forever-outline', 'delete-forever-outline'), ('delete-off', 'delete-off'), ('delete-off-outline', 'delete-off-outline'), ('delete-outline', 'delete-outline'), ('delete-restore', 'delete-restore'), ('delete-sweep', 'delete-sweep'), ('delete-sweep-outline', 'delete-sweep-outline'), ('delete-variant', 'delete-variant'), ('delta', 'delta'), ('desk', 'desk'), ('desk-lamp', 'desk-lamp'), ('desk-lamp-off', 'desk-lamp-off'), ('desk-lamp-on', 'desk-lamp-on'), ('deskphone', 'deskphone'), ('desktop-classic', 'desktop-classic'), ('desktop-mac', 'desktop-mac'), ('desktop-mac-dashboard', 'desktop-mac-dashboard'), ('desktop-tower', 'desktop-tower'), ('desktop-tower-monitor', 'desktop-tower-monitor'), ('details', 'details'), ('dev-to', 'dev-to'), ('developer-board', 'developer-board'), ('deviantart', 'deviantart'), ('devices', 'devices'), ('dharmachakra', 'dharmachakra'), ('diabetes', 'diabetes'), ('dialpad', 'dialpad'), ('diameter', 'diameter'), ('diameter-outline', 'diameter-outline'), ('diameter-variant', 'diameter-variant'), ('diamond', 'diamond'), ('diamond-outline', 'diamond-outline'), ('diamond-stone', 'diamond-stone'), ('dice', 'dice'), ('dice-1', 'dice-1'), ('dice-1-outline', 'dice-1-outline'), ('dice-2', 'dice-2'), ('dice-2-outline', 'dice-2-outline'), ('dice-3', 'dice-3'), ('dice-3-outline', 'dice-3-outline'), ('dice-4', 'dice-4'), ('dice-4-outline', 'dice-4-outline'), ('dice-5', 'dice-5'), ('dice-5-outline', 'dice-5-outline'), ('dice-6', 'dice-6'), ('dice-6-outline', 'dice-6-outline'), ('dice-d10', 'dice-d10'), ('dice-d10-outline', 'dice-d10-outline'), ('dice-d12', 'dice-d12'), ('dice-d12-outline', 'dice-d12-outline'), ('dice-d20', 'dice-d20'), ('dice-d20-outline', 'dice-d20-outline'), ('dice-d4', 'dice-d4'), ('dice-d4-outline', 'dice-d4-outline'), ('dice-d6', 'dice-d6'), ('dice-d6-outline', 'dice-d6-outline'), ('dice-d8', 'dice-d8'), ('dice-d8-outline', 'dice-d8-outline'), ('dice-multiple', 'dice-multiple'), ('dice-multiple-outline', 'dice-multiple-outline'), ('digital-ocean', 'digital-ocean'), ('dip-switch', 'dip-switch'), ('directions', 'directions'), ('directions-fork', 'directions-fork'), ('disc', 'disc'), ('disc-alert', 'disc-alert'), ('disc-player', 'disc-player'), ('discord', 'discord'), ('dishwasher', 'dishwasher'), ('dishwasher-alert', 'dishwasher-alert'), ('dishwasher-off', 'dishwasher-off'), ('disk', 'disk'), ('disk-alert', 'disk-alert'), ('disk-player', 'disk-player'), ('disqus', 'disqus'), ('disqus-outline', 'disqus-outline'), ('distribute-horizontal-center', 'distribute-horizontal-center'), ('distribute-horizontal-left', 'distribute-horizontal-left'), ('distribute-horizontal-right', 'distribute-horizontal-right'), ('distribute-vertical-bottom', 'distribute-vertical-bottom'), ('distribute-vertical-center', 'distribute-vertical-center'), ('distribute-vertical-top', 'distribute-vertical-top'), ('diversify', 'diversify'), ('diving', 'diving'), ('diving-flippers', 'diving-flippers'), ('diving-helmet', 'diving-helmet'), ('diving-scuba', 'diving-scuba'), ('diving-scuba-flag', 'diving-scuba-flag'), ('diving-scuba-mask', 'diving-scuba-mask'), ('diving-scuba-tank', 'diving-scuba-tank'), ('diving-scuba-tank-multiple', 'diving-scuba-tank-multiple'), ('diving-snorkel', 'diving-snorkel'), ('division', 'division'), ('division-box', 'division-box'), ('dlna', 'dlna'), ('dna', 'dna'), ('dns', 'dns'), ('dns-outline', 'dns-outline'), ('do-not-disturb', 'do-not-disturb'), ('dock-bottom', 'dock-bottom'), ('dock-left', 'dock-left'), ('dock-right', 'dock-right'), ('dock-top', 'dock-top'), ('dock-window', 'dock-window'), ('docker', 'docker'), ('doctor', 'doctor'), ('document', 'document'), ('dog', 'dog'), ('dog-service', 'dog-service'), ('dog-side', 'dog-side'), ('dog-side-off', 'dog-side-off'), ('dolby', 'dolby'), ('dolly', 'dolly'), ('dolphin', 'dolphin'), ('domain', 'domain'), ('domain-off', 'domain-off'), ('domain-plus', 'domain-plus'), ('domain-remove', 'domain-remove'), ('dome-light', 'dome-light'), ('domino-mask', 'domino-mask'), ('donkey', 'donkey'), ('door', 'door'), ('door-closed', 'door-closed'), ('door-closed-lock', 'door-closed-lock'), ('door-open', 'door-open'), ('door-sliding', 'door-sliding'), ('door-sliding-lock', 'door-sliding-lock'), ('door-sliding-open', 'door-sliding-open'), ('doorbell', 'doorbell'), ('doorbell-video', 'doorbell-video'), ('dot-net', 'dot-net'), ('dots-circle', 'dots-circle'), ('dots-grid', 'dots-grid'), ('dots-hexagon', 'dots-hexagon'), ('dots-horizontal', 'dots-horizontal'), ('dots-horizontal-circle', 'dots-horizontal-circle'), ('dots-horizontal-circle-outline', 'dots-horizontal-circle-outline'), ('dots-square', 'dots-square'), ('dots-triangle', 'dots-triangle'), ('dots-vertical', 'dots-vertical'), ('dots-vertical-circle', 'dots-vertical-circle'), ('dots-vertical-circle-outline', 'dots-vertical-circle-outline'), ('douban', 'douban'), ('download', 'download'), ('download-box', 'download-box'), ('download-box-outline', 'download-box-outline'), ('download-circle', 'download-circle'), ('download-circle-outline', 'download-circle-outline'), ('download-lock', 'download-lock'), ('download-lock-outline', 'download-lock-outline'), ('download-multiple', 'download-multiple'), ('download-network', 'download-network'), ('download-network-outline', 'download-network-outline'), ('download-off', 'download-off'), ('download-off-outline', 'download-off-outline'), ('download-outline', 'download-outline'), ('drag', 'drag'), ('drag-horizontal', 'drag-horizontal'), ('drag-horizontal-variant', 'drag-horizontal-variant'), ('drag-variant', 'drag-variant'), ('drag-vertical', 'drag-vertical'), ('drag-vertical-variant', 'drag-vertical-variant'), ('drama-masks', 'drama-masks'), ('draw', 'draw'), ('draw-pen', 'draw-pen'), ('drawing', 'drawing'), ('drawing-box', 'drawing-box'), ('dresser', 'dresser'), ('dresser-outline', 'dresser-outline'), ('dribbble', 'dribbble'), ('dribbble-box', 'dribbble-box'), ('drone', 'drone'), ('dropbox', 'dropbox'), ('drupal', 'drupal'), ('duck', 'duck'), ('dumbbell', 'dumbbell'), ('dump-truck', 'dump-truck'), ('ear-hearing', 'ear-hearing'), ('ear-hearing-loop', 'ear-hearing-loop'), ('ear-hearing-off', 'ear-hearing-off'), ('earbuds', 'earbuds'), ('earbuds-off', 'earbuds-off'), ('earbuds-off-outline', 'earbuds-off-outline'), ('earbuds-outline', 'earbuds-outline'), ('earth', 'earth'), ('earth-arrow-right', 'earth-arrow-right'), ('earth-box', 'earth-box'), ('earth-box-minus', 'earth-box-minus'), ('earth-box-off', 'earth-box-off'), ('earth-box-plus', 'earth-box-plus'), ('earth-box-remove', 'earth-box-remove'), ('earth-minus', 'earth-minus'), ('earth-off', 'earth-off'), ('earth-plus', 'earth-plus'), ('earth-remove', 'earth-remove'), ('ebay', 'ebay'), ('egg', 'egg'), ('egg-easter', 'egg-easter'), ('egg-fried', 'egg-fried'), ('egg-off', 'egg-off'), ('egg-off-outline', 'egg-off-outline'), ('egg-outline', 'egg-outline'), ('eiffel-tower', 'eiffel-tower'), ('eight-track', 'eight-track'), ('eject', 'eject'), ('eject-circle', 'eject-circle'), ('eject-circle-outline', 'eject-circle-outline'), ('eject-outline', 'eject-outline'), ('electric-switch', 'electric-switch'), ('electric-switch-closed', 'electric-switch-closed'), ('electron-framework', 'electron-framework'), ('elephant', 'elephant'), ('elevation-decline', 'elevation-decline'), ('elevation-rise', 'elevation-rise'), ('elevator', 'elevator'), ('elevator-down', 'elevator-down'), ('elevator-passenger', 'elevator-passenger'), ('elevator-passenger-off', 'elevator-passenger-off'), ('elevator-passenger-off-outline', 'elevator-passenger-off-outline'), ('elevator-passenger-outline', 'elevator-passenger-outline'), ('elevator-up', 'elevator-up'), ('ellipse', 'ellipse'), ('ellipse-outline', 'ellipse-outline'), ('email', 'email'), ('email-alert', 'email-alert'), ('email-alert-outline', 'email-alert-outline'), ('email-arrow-left', 'email-arrow-left'), ('email-arrow-left-outline', 'email-arrow-left-outline'), ('email-arrow-right', 'email-arrow-right'), ('email-arrow-right-outline', 'email-arrow-right-outline'), ('email-box', 'email-box'), ('email-check', 'email-check'), ('email-check-outline', 'email-check-outline'), ('email-edit', 'email-edit'), ('email-edit-outline', 'email-edit-outline'), ('email-fast', 'email-fast'), ('email-fast-outline', 'email-fast-outline'), ('email-lock', 'email-lock'), ('email-lock-outline', 'email-lock-outline'), ('email-mark-as-unread', 'email-mark-as-unread'), ('email-minus', 'email-minus'), ('email-minus-outline', 'email-minus-outline'), ('email-multiple', 'email-multiple'), ('email-multiple-outline', 'email-multiple-outline'), ('email-newsletter', 'email-newsletter'), ('email-off', 'email-off'), ('email-off-outline', 'email-off-outline'), ('email-open', 'email-open'), ('email-open-multiple', 'email-open-multiple'), ('email-open-multiple-outline', 'email-open-multiple-outline'), ('email-open-outline', 'email-open-outline'), ('email-outline', 'email-outline'), ('email-plus', 'email-plus'), ('email-plus-outline', 'email-plus-outline'), ('email-remove', 'email-remove'), ('email-remove-outline', 'email-remove-outline'), ('email-seal', 'email-seal'), ('email-seal-outline', 'email-seal-outline'), ('email-search', 'email-search'), ('email-search-outline', 'email-search-outline'), ('email-sync', 'email-sync'), ('email-sync-outline', 'email-sync-outline'), ('email-variant', 'email-variant'), ('ember', 'ember'), ('emby', 'emby'), ('emoticon', 'emoticon'), ('emoticon-angry', 'emoticon-angry'), ('emoticon-angry-outline', 'emoticon-angry-outline'), ('emoticon-confused', 'emoticon-confused'), ('emoticon-confused-outline', 'emoticon-confused-outline'), ('emoticon-cool', 'emoticon-cool'), ('emoticon-cool-outline', 'emoticon-cool-outline'), ('emoticon-cry', 'emoticon-cry'), ('emoticon-cry-outline', 'emoticon-cry-outline'), ('emoticon-dead', 'emoticon-dead'), ('emoticon-dead-outline', 'emoticon-dead-outline'), ('emoticon-devil', 'emoticon-devil'), ('emoticon-devil-outline', 'emoticon-devil-outline'), ('emoticon-excited', 'emoticon-excited'), ('emoticon-excited-outline', 'emoticon-excited-outline'), ('emoticon-frown', 'emoticon-frown'), ('emoticon-frown-outline', 'emoticon-frown-outline'), ('emoticon-happy', 'emoticon-happy'), ('emoticon-happy-outline', 'emoticon-happy-outline'), ('emoticon-kiss', 'emoticon-kiss'), ('emoticon-kiss-outline', 'emoticon-kiss-outline'), ('emoticon-lol', 'emoticon-lol'), ('emoticon-lol-outline', 'emoticon-lol-outline'), ('emoticon-neutral', 'emoticon-neutral'), ('emoticon-neutral-outline', 'emoticon-neutral-outline'), ('emoticon-outline', 'emoticon-outline'), ('emoticon-poop', 'emoticon-poop'), ('emoticon-poop-outline', 'emoticon-poop-outline'), ('emoticon-sad', 'emoticon-sad'), ('emoticon-sad-outline', 'emoticon-sad-outline'), ('emoticon-sick', 'emoticon-sick'), ('emoticon-sick-outline', 'emoticon-sick-outline'), ('emoticon-tongue', 'emoticon-tongue'), ('emoticon-tongue-outline', 'emoticon-tongue-outline'), ('emoticon-wink', 'emoticon-wink'), ('emoticon-wink-outline', 'emoticon-wink-outline'), ('engine', 'engine'), ('engine-off', 'engine-off'), ('engine-off-outline', 'engine-off-outline'), ('engine-outline', 'engine-outline'), ('epsilon', 'epsilon'), ('equal', 'equal'), ('equal-box', 'equal-box'), ('equalizer', 'equalizer'), ('equalizer-outline', 'equalizer-outline'), ('eraser', 'eraser'), ('eraser-variant', 'eraser-variant'), ('escalator', 'escalator'), ('escalator-box', 'escalator-box'), ('escalator-down', 'escalator-down'), ('escalator-up', 'escalator-up'), ('eslint', 'eslint'), ('et', 'et'), ('ethereum', 'ethereum'), ('ethernet', 'ethernet'), ('ethernet-cable', 'ethernet-cable'), ('ethernet-cable-off', 'ethernet-cable-off'), ('etsy', 'etsy'), ('ev-plug-ccs1', 'ev-plug-ccs1'), ('ev-plug-ccs2', 'ev-plug-ccs2'), ('ev-plug-chademo', 'ev-plug-chademo'), ('ev-plug-tesla', 'ev-plug-tesla'), ('ev-plug-type1', 'ev-plug-type1'), ('ev-plug-type2', 'ev-plug-type2'), ('ev-station', 'ev-station'), ('eventbrite', 'eventbrite'), ('evernote', 'evernote'), ('excavator', 'excavator'), ('exclamation', 'exclamation'), ('exclamation-thick', 'exclamation-thick'), ('exit-run', 'exit-run'), ('exit-to-app', 'exit-to-app'), ('expand-all', 'expand-all'), ('expand-all-outline', 'expand-all-outline'), ('expansion-card', 'expansion-card'), ('expansion-card-variant', 'expansion-card-variant'), ('exponent', 'exponent'), ('exponent-box', 'exponent-box'), ('export', 'export'), ('export-variant', 'export-variant'), ('eye', 'eye'), ('eye-arrow-left', 'eye-arrow-left'), ('eye-arrow-left-outline', 'eye-arrow-left-outline'), ('eye-arrow-right', 'eye-arrow-right'), ('eye-arrow-right-outline', 'eye-arrow-right-outline'), ('eye-check', 'eye-check'), ('eye-check-outline', 'eye-check-outline'), ('eye-circle', 'eye-circle'), ('eye-circle-outline', 'eye-circle-outline'), ('eye-minus', 'eye-minus'), ('eye-minus-outline', 'eye-minus-outline'), ('eye-off', 'eye-off'), ('eye-off-outline', 'eye-off-outline'), ('eye-outline', 'eye-outline'), ('eye-plus', 'eye-plus'), ('eye-plus-outline', 'eye-plus-outline'), ('eye-refresh', 'eye-refresh'), ('eye-refresh-outline', 'eye-refresh-outline'), ('eye-remove', 'eye-remove'), ('eye-remove-outline', 'eye-remove-outline'), ('eye-settings', 'eye-settings'), ('eye-settings-outline', 'eye-settings-outline'), ('eyedropper', 'eyedropper'), ('eyedropper-minus', 'eyedropper-minus'), ('eyedropper-off', 'eyedropper-off'), ('eyedropper-plus', 'eyedropper-plus'), ('eyedropper-remove', 'eyedropper-remove'), ('eyedropper-variant', 'eyedropper-variant'), ('face-agent', 'face-agent'), ('face-man', 'face-man'), ('face-man-outline', 'face-man-outline'), ('face-man-profile', 'face-man-profile'), ('face-man-shimmer', 'face-man-shimmer'), ('face-man-shimmer-outline', 'face-man-shimmer-outline'), ('face-mask', 'face-mask'), ('face-mask-outline', 'face-mask-outline'), ('face-recognition', 'face-recognition'), ('face-woman', 'face-woman'), ('face-woman-outline', 'face-woman-outline'), ('face-woman-profile', 'face-woman-profile'), ('face-woman-shimmer', 'face-woman-shimmer'), ('face-woman-shimmer-outline', 'face-woman-shimmer-outline'), ('facebook', 'facebook'), ('facebook-box', 'facebook-box'), ('facebook-gaming', 'facebook-gaming'), ('facebook-messenger', 'facebook-messenger'), ('facebook-workplace', 'facebook-workplace'), ('factory', 'factory'), ('family-tree', 'family-tree'), ('fan', 'fan'), ('fan-alert', 'fan-alert'), ('fan-auto', 'fan-auto'), ('fan-chevron-down', 'fan-chevron-down'), ('fan-chevron-up', 'fan-chevron-up'), ('fan-clock', 'fan-clock'), ('fan-minus', 'fan-minus'), ('fan-off', 'fan-off'), ('fan-plus', 'fan-plus'), ('fan-remove', 'fan-remove'), ('fan-speed-1', 'fan-speed-1'), ('fan-speed-2', 'fan-speed-2'), ('fan-speed-3', 'fan-speed-3'), ('fast-forward', 'fast-forward'), ('fast-forward-10', 'fast-forward-10'), ('fast-forward-15', 'fast-forward-15'), ('fast-forward-30', 'fast-forward-30'), ('fast-forward-45', 'fast-forward-45'), ('fast-forward-5', 'fast-forward-5'), ('fast-forward-60', 'fast-forward-60'), ('fast-forward-outline', 'fast-forward-outline'), ('faucet', 'faucet'), ('faucet-variant', 'faucet-variant'), ('fax', 'fax'), ('feather', 'feather'), ('feature-search', 'feature-search'), ('feature-search-outline', 'feature-search-outline'), ('fedora', 'fedora'), ('fence', 'fence'), ('fence-electric', 'fence-electric'), ('fencing', 'fencing'), ('ferris-wheel', 'ferris-wheel'), ('ferry', 'ferry'), ('file', 'file'), ('file-account', 'file-account'), ('file-account-outline', 'file-account-outline'), ('file-alert', 'file-alert'), ('file-alert-outline', 'file-alert-outline'), ('file-arrow-left-right', 'file-arrow-left-right'), ('file-arrow-left-right-outline', 'file-arrow-left-right-outline'), ('file-arrow-up-down', 'file-arrow-up-down'), ('file-arrow-up-down-outline', 'file-arrow-up-down-outline'), ('file-cabinet', 'file-cabinet'), ('file-cad', 'file-cad'), ('file-cad-box', 'file-cad-box'), ('file-cancel', 'file-cancel'), ('file-cancel-outline', 'file-cancel-outline'), ('file-certificate', 'file-certificate'), ('file-certificate-outline', 'file-certificate-outline'), ('file-chart', 'file-chart'), ('file-chart-check', 'file-chart-check'), ('file-chart-check-outline', 'file-chart-check-outline'), ('file-chart-outline', 'file-chart-outline'), ('file-check', 'file-check'), ('file-check-outline', 'file-check-outline'), ('file-clock', 'file-clock'), ('file-clock-outline', 'file-clock-outline'), ('file-cloud', 'file-cloud'), ('file-cloud-outline', 'file-cloud-outline'), ('file-code', 'file-code'), ('file-code-outline', 'file-code-outline'), ('file-cog', 'file-cog'), ('file-cog-outline', 'file-cog-outline'), ('file-compare', 'file-compare'), ('file-delimited', 'file-delimited'), ('file-delimited-outline', 'file-delimited-outline'), ('file-document', 'file-document'), ('file-document-alert', 'file-document-alert'), ('file-document-alert-outline', 'file-document-alert-outline'), ('file-document-check', 'file-document-check'), ('file-document-check-outline', 'file-document-check-outline'), ('file-document-edit', 'file-document-edit'), ('file-document-edit-outline', 'file-document-edit-outline'), ('file-document-minus', 'file-document-minus'), ('file-document-minus-outline', 'file-document-minus-outline'), ('file-document-multiple', 'file-document-multiple'), ('file-document-multiple-outline', 'file-document-multiple-outline'), ('file-document-outline', 'file-document-outline'), ('file-document-plus', 'file-document-plus'), ('file-document-plus-outline', 'file-document-plus-outline'), ('file-document-remove', 'file-document-remove'), ('file-document-remove-outline', 'file-document-remove-outline'), ('file-download', 'file-download'), ('file-download-outline', 'file-download-outline'), ('file-edit', 'file-edit'), ('file-edit-outline', 'file-edit-outline'), ('file-excel', 'file-excel'), ('file-excel-box', 'file-excel-box'), ('file-excel-box-outline', 'file-excel-box-outline'), ('file-excel-outline', 'file-excel-outline'), ('file-export', 'file-export'), ('file-export-outline', 'file-export-outline'), ('file-eye', 'file-eye'), ('file-eye-outline', 'file-eye-outline'), ('file-find', 'file-find'), ('file-find-outline', 'file-find-outline'), ('file-gif-box', 'file-gif-box'), ('file-hidden', 'file-hidden'), ('file-image', 'file-image'), ('file-image-box', 'file-image-box'), ('file-image-marker', 'file-image-marker'), ('file-image-marker-outline', 'file-image-marker-outline'), ('file-image-minus', 'file-image-minus'), ('file-image-minus-outline', 'file-image-minus-outline'), ('file-image-outline', 'file-image-outline'), ('file-image-plus', 'file-image-plus'), ('file-image-plus-outline', 'file-image-plus-outline'), ('file-image-remove', 'file-image-remove'), ('file-image-remove-outline', 'file-image-remove-outline'), ('file-import', 'file-import'), ('file-import-outline', 'file-import-outline'), ('file-jpg-box', 'file-jpg-box'), ('file-key', 'file-key'), ('file-key-outline', 'file-key-outline'), ('file-link', 'file-link'), ('file-link-outline', 'file-link-outline'), ('file-lock', 'file-lock'), ('file-lock-open', 'file-lock-open'), ('file-lock-open-outline', 'file-lock-open-outline'), ('file-lock-outline', 'file-lock-outline'), ('file-marker', 'file-marker'), ('file-marker-outline', 'file-marker-outline'), ('file-minus', 'file-minus'), ('file-minus-outline', 'file-minus-outline'), ('file-move', 'file-move'), ('file-move-outline', 'file-move-outline'), ('file-multiple', 'file-multiple'), ('file-multiple-outline', 'file-multiple-outline'), ('file-music', 'file-music'), ('file-music-outline', 'file-music-outline'), ('file-outline', 'file-outline'), ('file-pdf', 'file-pdf'), ('file-pdf-box', 'file-pdf-box'), ('file-pdf-box-outline', 'file-pdf-box-outline'), ('file-pdf-outline', 'file-pdf-outline'), ('file-percent', 'file-percent'), ('file-percent-outline', 'file-percent-outline'), ('file-phone', 'file-phone'), ('file-phone-outline', 'file-phone-outline'), ('file-plus', 'file-plus'), ('file-plus-outline', 'file-plus-outline'), ('file-png-box', 'file-png-box'), ('file-powerpoint', 'file-powerpoint'), ('file-powerpoint-box', 'file-powerpoint-box'), ('file-powerpoint-box-outline', 'file-powerpoint-box-outline'), ('file-powerpoint-outline', 'file-powerpoint-outline'), ('file-presentation-box', 'file-presentation-box'), ('file-question', 'file-question'), ('file-question-outline', 'file-question-outline'), ('file-refresh', 'file-refresh'), ('file-refresh-outline', 'file-refresh-outline'), ('file-remove', 'file-remove'), ('file-remove-outline', 'file-remove-outline'), ('file-replace', 'file-replace'), ('file-replace-outline', 'file-replace-outline'), ('file-restore', 'file-restore'), ('file-restore-outline', 'file-restore-outline'), ('file-rotate-left', 'file-rotate-left'), ('file-rotate-left-outline', 'file-rotate-left-outline'), ('file-rotate-right', 'file-rotate-right'), ('file-rotate-right-outline', 'file-rotate-right-outline'), ('file-search', 'file-search'), ('file-search-outline', 'file-search-outline'), ('file-send', 'file-send'), ('file-send-outline', 'file-send-outline'), ('file-settings', 'file-settings'), ('file-settings-outline', 'file-settings-outline'), ('file-sign', 'file-sign'), ('file-star', 'file-star'), ('file-star-outline', 'file-star-outline'), ('file-swap', 'file-swap'), ('file-swap-outline', 'file-swap-outline'), ('file-sync', 'file-sync'), ('file-sync-outline', 'file-sync-outline'), ('file-table', 'file-table'), ('file-table-box', 'file-table-box'), ('file-table-box-multiple', 'file-table-box-multiple'), ('file-table-box-multiple-outline', 'file-table-box-multiple-outline'), ('file-table-box-outline', 'file-table-box-outline'), ('file-table-outline', 'file-table-outline'), ('file-tree', 'file-tree'), ('file-tree-outline', 'file-tree-outline'), ('file-undo', 'file-undo'), ('file-undo-outline', 'file-undo-outline'), ('file-upload', 'file-upload'), ('file-upload-outline', 'file-upload-outline'), ('file-video', 'file-video'), ('file-video-outline', 'file-video-outline'), ('file-word', 'file-word'), ('file-word-box', 'file-word-box'), ('file-word-box-outline', 'file-word-box-outline'), ('file-word-outline', 'file-word-outline'), ('file-xml', 'file-xml'), ('file-xml-box', 'file-xml-box'), ('fill', 'fill'), ('film', 'film'), ('filmstrip', 'filmstrip'), ('filmstrip-box', 'filmstrip-box'), ('filmstrip-box-multiple', 'filmstrip-box-multiple'), ('filmstrip-off', 'filmstrip-off'), ('filter', 'filter'), ('filter-check', 'filter-check'), ('filter-check-outline', 'filter-check-outline'), ('filter-cog', 'filter-cog'), ('filter-cog-outline', 'filter-cog-outline'), ('filter-menu', 'filter-menu'), ('filter-menu-outline', 'filter-menu-outline'), ('filter-minus', 'filter-minus'), ('filter-minus-outline', 'filter-minus-outline'), ('filter-multiple', 'filter-multiple'), ('filter-multiple-outline', 'filter-multiple-outline'), ('filter-off', 'filter-off'), ('filter-off-outline', 'filter-off-outline'), ('filter-outline', 'filter-outline'), ('filter-plus', 'filter-plus'), ('filter-plus-outline', 'filter-plus-outline'), ('filter-remove', 'filter-remove'), ('filter-remove-outline', 'filter-remove-outline'), ('filter-settings', 'filter-settings'), ('filter-settings-outline', 'filter-settings-outline'), ('filter-variant', 'filter-variant'), ('filter-variant-minus', 'filter-variant-minus'), ('filter-variant-plus', 'filter-variant-plus'), ('filter-variant-remove', 'filter-variant-remove'), ('finance', 'finance'), ('find-replace', 'find-replace'), ('fingerprint', 'fingerprint'), ('fingerprint-off', 'fingerprint-off'), ('fire', 'fire'), ('fire-alert', 'fire-alert'), ('fire-circle', 'fire-circle'), ('fire-extinguisher', 'fire-extinguisher'), ('fire-hydrant', 'fire-hydrant'), ('fire-hydrant-alert', 'fire-hydrant-alert'), ('fire-hydrant-off', 'fire-hydrant-off'), ('fire-off', 'fire-off'), ('fire-truck', 'fire-truck'), ('firebase', 'firebase'), ('firefox', 'firefox'), ('fireplace', 'fireplace'), ('fireplace-off', 'fireplace-off'), ('firewire', 'firewire'), ('firework', 'firework'), ('firework-off', 'firework-off'), ('fish', 'fish'), ('fish-off', 'fish-off'), ('fishbowl', 'fishbowl'), ('fishbowl-outline', 'fishbowl-outline'), ('fit-to-page', 'fit-to-page'), ('fit-to-page-outline', 'fit-to-page-outline'), ('fit-to-screen', 'fit-to-screen'), ('fit-to-screen-outline', 'fit-to-screen-outline'), ('flag', 'flag'), ('flag-checkered', 'flag-checkered'), ('flag-checkered-variant', 'flag-checkered-variant'), ('flag-minus', 'flag-minus'), ('flag-minus-outline', 'flag-minus-outline'), ('flag-off', 'flag-off'), ('flag-off-outline', 'flag-off-outline'), ('flag-outline', 'flag-outline'), ('flag-outline-variant', 'flag-outline-variant'), ('flag-plus', 'flag-plus'), ('flag-plus-outline', 'flag-plus-outline'), ('flag-remove', 'flag-remove'), ('flag-remove-outline', 'flag-remove-outline'), ('flag-triangle', 'flag-triangle'), ('flag-variant', 'flag-variant'), ('flag-variant-minus', 'flag-variant-minus'), ('flag-variant-minus-outline', 'flag-variant-minus-outline'), ('flag-variant-off', 'flag-variant-off'), ('flag-variant-off-outline', 'flag-variant-off-outline'), ('flag-variant-outline', 'flag-variant-outline'), ('flag-variant-plus', 'flag-variant-plus'), ('flag-variant-plus-outline', 'flag-variant-plus-outline'), ('flag-variant-remove', 'flag-variant-remove'), ('flag-variant-remove-outline', 'flag-variant-remove-outline'), ('flare', 'flare'), ('flash', 'flash'), ('flash-alert', 'flash-alert'), ('flash-alert-outline', 'flash-alert-outline'), ('flash-auto', 'flash-auto'), ('flash-off', 'flash-off'), ('flash-off-outline', 'flash-off-outline'), ('flash-outline', 'flash-outline'), ('flash-red-eye', 'flash-red-eye'), ('flash-triangle', 'flash-triangle'), ('flash-triangle-outline', 'flash-triangle-outline'), ('flashlight', 'flashlight'), ('flashlight-off', 'flashlight-off'), ('flask', 'flask'), ('flask-empty', 'flask-empty'), ('flask-empty-minus', 'flask-empty-minus'), ('flask-empty-minus-outline', 'flask-empty-minus-outline'), ('flask-empty-off', 'flask-empty-off'), ('flask-empty-off-outline', 'flask-empty-off-outline'), ('flask-empty-outline', 'flask-empty-outline'), ('flask-empty-plus', 'flask-empty-plus'), ('flask-empty-plus-outline', 'flask-empty-plus-outline'), ('flask-empty-remove', 'flask-empty-remove'), ('flask-empty-remove-outline', 'flask-empty-remove-outline'), ('flask-minus', 'flask-minus'), ('flask-minus-outline', 'flask-minus-outline'), ('flask-off', 'flask-off'), ('flask-off-outline', 'flask-off-outline'), ('flask-outline', 'flask-outline'), ('flask-plus', 'flask-plus'), ('flask-plus-outline', 'flask-plus-outline'), ('flask-remove', 'flask-remove'), ('flask-remove-outline', 'flask-remove-outline'), ('flask-round-bottom', 'flask-round-bottom'), ('flask-round-bottom-empty', 'flask-round-bottom-empty'), ('flask-round-bottom-empty-outline', 'flask-round-bottom-empty-outline'), ('flask-round-bottom-outline', 'flask-round-bottom-outline'), ('flattr', 'flattr'), ('fleur-de-lis', 'fleur-de-lis'), ('flickr', 'flickr'), ('flickr-after', 'flickr-after'), ('flickr-before', 'flickr-before'), ('flip-horizontal', 'flip-horizontal'), ('flip-to-back', 'flip-to-back'), ('flip-to-front', 'flip-to-front'), ('flip-vertical', 'flip-vertical'), ('floor-1', 'floor-1'), ('floor-2', 'floor-2'), ('floor-3', 'floor-3'), ('floor-a', 'floor-a'), ('floor-b', 'floor-b'), ('floor-g', 'floor-g'), ('floor-l', 'floor-l'), ('floor-lamp', 'floor-lamp'), ('floor-lamp-dual', 'floor-lamp-dual'), ('floor-lamp-dual-outline', 'floor-lamp-dual-outline'), ('floor-lamp-outline', 'floor-lamp-outline'), ('floor-lamp-torchiere', 'floor-lamp-torchiere'), ('floor-lamp-torchiere-outline', 'floor-lamp-torchiere-outline'), ('floor-lamp-torchiere-variant', 'floor-lamp-torchiere-variant'), ('floor-lamp-torchiere-variant-outline', 'floor-lamp-torchiere-variant-outline'), ('floor-plan', 'floor-plan'), ('floppy', 'floppy'), ('floppy-variant', 'floppy-variant'), ('flower', 'flower'), ('flower-outline', 'flower-outline'), ('flower-pollen', 'flower-pollen'), ('flower-pollen-outline', 'flower-pollen-outline'), ('flower-poppy', 'flower-poppy'), ('flower-tulip', 'flower-tulip'), ('flower-tulip-outline', 'flower-tulip-outline'), ('focus-auto', 'focus-auto'), ('focus-field', 'focus-field'), ('focus-field-horizontal', 'focus-field-horizontal'), ('focus-field-vertical', 'focus-field-vertical'), ('folder', 'folder'), ('folder-account', 'folder-account'), ('folder-account-outline', 'folder-account-outline'), ('folder-alert', 'folder-alert'), ('folder-alert-outline', 'folder-alert-outline'), ('folder-arrow-down', 'folder-arrow-down'), ('folder-arrow-down-outline', 'folder-arrow-down-outline'), ('folder-arrow-left', 'folder-arrow-left'), ('folder-arrow-left-outline', 'folder-arrow-left-outline'), ('folder-arrow-left-right', 'folder-arrow-left-right'), ('folder-arrow-left-right-outline', 'folder-arrow-left-right-outline'), ('folder-arrow-right', 'folder-arrow-right'), ('folder-arrow-right-outline', 'folder-arrow-right-outline'), ('folder-arrow-up', 'folder-arrow-up'), ('folder-arrow-up-down', 'folder-arrow-up-down'), ('folder-arrow-up-down-outline', 'folder-arrow-up-down-outline'), ('folder-arrow-up-outline', 'folder-arrow-up-outline'), ('folder-cancel', 'folder-cancel'), ('folder-cancel-outline', 'folder-cancel-outline'), ('folder-check', 'folder-check'), ('folder-check-outline', 'folder-check-outline'), ('folder-clock', 'folder-clock'), ('folder-clock-outline', 'folder-clock-outline'), ('folder-cog', 'folder-cog'), ('folder-cog-outline', 'folder-cog-outline'), ('folder-download', 'folder-download'), ('folder-download-outline', 'folder-download-outline'), ('folder-edit', 'folder-edit'), ('folder-edit-outline', 'folder-edit-outline'), ('folder-eye', 'folder-eye'), ('folder-eye-outline', 'folder-eye-outline'), ('folder-file', 'folder-file'), ('folder-file-outline', 'folder-file-outline'), ('folder-google-drive', 'folder-google-drive'), ('folder-heart', 'folder-heart'), ('folder-heart-outline', 'folder-heart-outline'), ('folder-hidden', 'folder-hidden'), ('folder-home', 'folder-home'), ('folder-home-outline', 'folder-home-outline'), ('folder-image', 'folder-image'), ('folder-information', 'folder-information'), ('folder-information-outline', 'folder-information-outline'), ('folder-key', 'folder-key'), ('folder-key-network', 'folder-key-network'), ('folder-key-network-outline', 'folder-key-network-outline'), ('folder-key-outline', 'folder-key-outline'), ('folder-lock', 'folder-lock'), ('folder-lock-open', 'folder-lock-open'), ('folder-lock-open-outline', 'folder-lock-open-outline'), ('folder-lock-outline', 'folder-lock-outline'), ('folder-marker', 'folder-marker'), ('folder-marker-outline', 'folder-marker-outline'), ('folder-minus', 'folder-minus'), ('folder-minus-outline', 'folder-minus-outline'), ('folder-move', 'folder-move'), ('folder-move-outline', 'folder-move-outline'), ('folder-multiple', 'folder-multiple'), ('folder-multiple-image', 'folder-multiple-image'), ('folder-multiple-outline', 'folder-multiple-outline'), ('folder-multiple-plus', 'folder-multiple-plus'), ('folder-multiple-plus-outline', 'folder-multiple-plus-outline'), ('folder-music', 'folder-music'), ('folder-music-outline', 'folder-music-outline'), ('folder-network', 'folder-network'), ('folder-network-outline', 'folder-network-outline'), ('folder-off', 'folder-off'), ('folder-off-outline', 'folder-off-outline'), ('folder-open', 'folder-open'), ('folder-open-outline', 'folder-open-outline'), ('folder-outline', 'folder-outline'), ('folder-outline-lock', 'folder-outline-lock'), ('folder-play', 'folder-play'), ('folder-play-outline', 'folder-play-outline'), ('folder-plus', 'folder-plus'), ('folder-plus-outline', 'folder-plus-outline'), ('folder-pound', 'folder-pound'), ('folder-pound-outline', 'folder-pound-outline'), ('folder-question', 'folder-question'), ('folder-question-outline', 'folder-question-outline'), ('folder-refresh', 'folder-refresh'), ('folder-refresh-outline', 'folder-refresh-outline'), ('folder-remove', 'folder-remove'), ('folder-remove-outline', 'folder-remove-outline'), ('folder-search', 'folder-search'), ('folder-search-outline', 'folder-search-outline'), ('folder-settings', 'folder-settings'), ('folder-settings-outline', 'folder-settings-outline'), ('folder-star', 'folder-star'), ('folder-star-multiple', 'folder-star-multiple'), ('folder-star-multiple-outline', 'folder-star-multiple-outline'), ('folder-star-outline', 'folder-star-outline'), ('folder-swap', 'folder-swap'), ('folder-swap-outline', 'folder-swap-outline'), ('folder-sync', 'folder-sync'), ('folder-sync-outline', 'folder-sync-outline'), ('folder-table', 'folder-table'), ('folder-table-outline', 'folder-table-outline'), ('folder-text', 'folder-text'), ('folder-text-outline', 'folder-text-outline'), ('folder-upload', 'folder-upload'), ('folder-upload-outline', 'folder-upload-outline'), ('folder-wrench', 'folder-wrench'), ('folder-wrench-outline', 'folder-wrench-outline'), ('folder-zip', 'folder-zip'), ('folder-zip-outline', 'folder-zip-outline'), ('font-awesome', 'font-awesome'), ('food', 'food'), ('food-apple', 'food-apple'), ('food-apple-outline', 'food-apple-outline'), ('food-croissant', 'food-croissant'), ('food-drumstick', 'food-drumstick'), ('food-drumstick-off', 'food-drumstick-off'), ('food-drumstick-off-outline', 'food-drumstick-off-outline'), ('food-drumstick-outline', 'food-drumstick-outline'), ('food-fork-drink', 'food-fork-drink'), ('food-halal', 'food-halal'), ('food-hot-dog', 'food-hot-dog'), ('food-kosher', 'food-kosher'), ('food-off', 'food-off'), ('food-off-outline', 'food-off-outline'), ('food-outline', 'food-outline'), ('food-steak', 'food-steak'), ('food-steak-off', 'food-steak-off'), ('food-takeout-box', 'food-takeout-box'), ('food-takeout-box-outline', 'food-takeout-box-outline'), ('food-turkey', 'food-turkey'), ('food-variant', 'food-variant'), ('food-variant-off', 'food-variant-off'), ('foot-print', 'foot-print'), ('football', 'football'), ('football-australian', 'football-australian'), ('football-helmet', 'football-helmet'), ('footer', 'footer'), ('forest', 'forest'), ('forklift', 'forklift'), ('form-dropdown', 'form-dropdown'), ('form-select', 'form-select'), ('form-textarea', 'form-textarea'), ('form-textbox', 'form-textbox'), ('form-textbox-lock', 'form-textbox-lock'), ('form-textbox-password', 'form-textbox-password'), ('format-align-bottom', 'format-align-bottom'), ('format-align-center', 'format-align-center'), ('format-align-justify', 'format-align-justify'), ('format-align-left', 'format-align-left'), ('format-align-middle', 'format-align-middle'), ('format-align-right', 'format-align-right'), ('format-align-top', 'format-align-top'), ('format-annotation-minus', 'format-annotation-minus'), ('format-annotation-plus', 'format-annotation-plus'), ('format-bold', 'format-bold'), ('format-clear', 'format-clear'), ('format-color', 'format-color'), ('format-color-fill', 'format-color-fill'), ('format-color-highlight', 'format-color-highlight'), ('format-color-marker-cancel', 'format-color-marker-cancel'), ('format-color-text', 'format-color-text'), ('format-columns', 'format-columns'), ('format-float-center', 'format-float-center'), ('format-float-left', 'format-float-left'), ('format-float-none', 'format-float-none'), ('format-float-right', 'format-float-right'), ('format-font', 'format-font'), ('format-font-size-decrease', 'format-font-size-decrease'), ('format-font-size-increase', 'format-font-size-increase'), ('format-header-1', 'format-header-1'), ('format-header-2', 'format-header-2'), ('format-header-3', 'format-header-3'), ('format-header-4', 'format-header-4'), ('format-header-5', 'format-header-5'), ('format-header-6', 'format-header-6'), ('format-header-decrease', 'format-header-decrease'), ('format-header-down', 'format-header-down'), ('format-header-equal', 'format-header-equal'), ('format-header-increase', 'format-header-increase'), ('format-header-pound', 'format-header-pound'), ('format-header-up', 'format-header-up'), ('format-horizontal-align-center', 'format-horizontal-align-center'), ('format-horizontal-align-left', 'format-horizontal-align-left'), ('format-horizontal-align-right', 'format-horizontal-align-right'), ('format-indent-decrease', 'format-indent-decrease'), ('format-indent-increase', 'format-indent-increase'), ('format-italic', 'format-italic'), ('format-letter-case', 'format-letter-case'), ('format-letter-case-lower', 'format-letter-case-lower'), ('format-letter-case-upper', 'format-letter-case-upper'), ('format-letter-ends-with', 'format-letter-ends-with'), ('format-letter-matches', 'format-letter-matches'), ('format-letter-spacing', 'format-letter-spacing'), ('format-letter-spacing-variant', 'format-letter-spacing-variant'), ('format-letter-starts-with', 'format-letter-starts-with'), ('format-line-height', 'format-line-height'), ('format-line-spacing', 'format-line-spacing'), ('format-line-style', 'format-line-style'), ('format-line-weight', 'format-line-weight'), ('format-list-bulleted', 'format-list-bulleted'), ('format-list-bulleted-square', 'format-list-bulleted-square'), ('format-list-bulleted-triangle', 'format-list-bulleted-triangle'), ('format-list-bulleted-type', 'format-list-bulleted-type'), ('format-list-checkbox', 'format-list-checkbox'), ('format-list-checks', 'format-list-checks'), ('format-list-group', 'format-list-group'), ('format-list-group-plus', 'format-list-group-plus'), ('format-list-numbered', 'format-list-numbered'), ('format-list-numbered-rtl', 'format-list-numbered-rtl'), ('format-list-text', 'format-list-text'), ('format-list-triangle', 'format-list-triangle'), ('format-overline', 'format-overline'), ('format-page-break', 'format-page-break'), ('format-page-split', 'format-page-split'), ('format-paint', 'format-paint'), ('format-paragraph', 'format-paragraph'), ('format-paragraph-spacing', 'format-paragraph-spacing'), ('format-pilcrow', 'format-pilcrow'), ('format-pilcrow-arrow-left', 'format-pilcrow-arrow-left'), ('format-pilcrow-arrow-right', 'format-pilcrow-arrow-right'), ('format-quote-close', 'format-quote-close'), ('format-quote-close-outline', 'format-quote-close-outline'), ('format-quote-open', 'format-quote-open'), ('format-quote-open-outline', 'format-quote-open-outline'), ('format-rotate-90', 'format-rotate-90'), ('format-section', 'format-section'), ('format-size', 'format-size'), ('format-strikethrough', 'format-strikethrough'), ('format-strikethrough-variant', 'format-strikethrough-variant'), ('format-subscript', 'format-subscript'), ('format-superscript', 'format-superscript'), ('format-text', 'format-text'), ('format-text-rotation-angle-down', 'format-text-rotation-angle-down'), ('format-text-rotation-angle-up', 'format-text-rotation-angle-up'), ('format-text-rotation-down', 'format-text-rotation-down'), ('format-text-rotation-down-vertical', 'format-text-rotation-down-vertical'), ('format-text-rotation-none', 'format-text-rotation-none'), ('format-text-rotation-up', 'format-text-rotation-up'), ('format-text-rotation-vertical', 'format-text-rotation-vertical'), ('format-text-variant', 'format-text-variant'), ('format-text-variant-outline', 'format-text-variant-outline'), ('format-text-wrapping-clip', 'format-text-wrapping-clip'), ('format-text-wrapping-overflow', 'format-text-wrapping-overflow'), ('format-text-wrapping-wrap', 'format-text-wrapping-wrap'), ('format-textbox', 'format-textbox'), ('format-title', 'format-title'), ('format-underline', 'format-underline'), ('format-underline-wavy', 'format-underline-wavy'), ('format-vertical-align-bottom', 'format-vertical-align-bottom'), ('format-vertical-align-center', 'format-vertical-align-center'), ('format-vertical-align-top', 'format-vertical-align-top'), ('format-wrap-inline', 'format-wrap-inline'), ('format-wrap-square', 'format-wrap-square'), ('format-wrap-tight', 'format-wrap-tight'), ('format-wrap-top-bottom', 'format-wrap-top-bottom'), ('forum', 'forum'), ('forum-minus', 'forum-minus'), ('forum-minus-outline', 'forum-minus-outline'), ('forum-outline', 'forum-outline'), ('forum-plus', 'forum-plus'), ('forum-plus-outline', 'forum-plus-outline'), ('forum-remove', 'forum-remove'), ('forum-remove-outline', 'forum-remove-outline'), ('forward', 'forward'), ('forwardburger', 'forwardburger'), ('fountain', 'fountain'), ('fountain-pen', 'fountain-pen'), ('fountain-pen-tip', 'fountain-pen-tip'), ('foursquare', 'foursquare'), ('fraction-one-half', 'fraction-one-half'), ('freebsd', 'freebsd'), ('french-fries', 'french-fries'), ('frequently-asked-questions', 'frequently-asked-questions'), ('fridge', 'fridge'), ('fridge-alert', 'fridge-alert'), ('fridge-alert-outline', 'fridge-alert-outline'), ('fridge-bottom', 'fridge-bottom'), ('fridge-industrial', 'fridge-industrial'), ('fridge-industrial-alert', 'fridge-industrial-alert'), ('fridge-industrial-alert-outline', 'fridge-industrial-alert-outline'), ('fridge-industrial-off', 'fridge-industrial-off'), ('fridge-industrial-off-outline', 'fridge-industrial-off-outline'), ('fridge-industrial-outline', 'fridge-industrial-outline'), ('fridge-off', 'fridge-off'), ('fridge-off-outline', 'fridge-off-outline'), ('fridge-outline', 'fridge-outline'), ('fridge-top', 'fridge-top'), ('fridge-variant', 'fridge-variant'), ('fridge-variant-alert', 'fridge-variant-alert'), ('fridge-variant-alert-outline', 'fridge-variant-alert-outline'), ('fridge-variant-off', 'fridge-variant-off'), ('fridge-variant-off-outline', 'fridge-variant-off-outline'), ('fridge-variant-outline', 'fridge-variant-outline'), ('fruit-cherries', 'fruit-cherries'), ('fruit-cherries-off', 'fruit-cherries-off'), ('fruit-citrus', 'fruit-citrus'), ('fruit-citrus-off', 'fruit-citrus-off'), ('fruit-grapes', 'fruit-grapes'), ('fruit-grapes-outline', 'fruit-grapes-outline'), ('fruit-pear', 'fruit-pear'), ('fruit-pineapple', 'fruit-pineapple'), ('fruit-watermelon', 'fruit-watermelon'), ('fuel', 'fuel'), ('fuel-cell', 'fuel-cell'), ('fullscreen', 'fullscreen'), ('fullscreen-exit', 'fullscreen-exit'), ('function', 'function'), ('function-variant', 'function-variant'), ('furigana-horizontal', 'furigana-horizontal'), ('furigana-vertical', 'furigana-vertical'), ('fuse', 'fuse'), ('fuse-alert', 'fuse-alert'), ('fuse-blade', 'fuse-blade'), ('fuse-off', 'fuse-off'), ('gamepad', 'gamepad'), ('gamepad-circle', 'gamepad-circle'), ('gamepad-circle-down', 'gamepad-circle-down'), ('gamepad-circle-left', 'gamepad-circle-left'), ('gamepad-circle-outline', 'gamepad-circle-outline'), ('gamepad-circle-right', 'gamepad-circle-right'), ('gamepad-circle-up', 'gamepad-circle-up'), ('gamepad-down', 'gamepad-down'), ('gamepad-left', 'gamepad-left'), ('gamepad-outline', 'gamepad-outline'), ('gamepad-right', 'gamepad-right'), ('gamepad-round', 'gamepad-round'), ('gamepad-round-down', 'gamepad-round-down'), ('gamepad-round-left', 'gamepad-round-left'), ('gamepad-round-outline', 'gamepad-round-outline'), ('gamepad-round-right', 'gamepad-round-right'), ('gamepad-round-up', 'gamepad-round-up'), ('gamepad-square', 'gamepad-square'), ('gamepad-square-outline', 'gamepad-square-outline'), ('gamepad-up', 'gamepad-up'), ('gamepad-variant', 'gamepad-variant'), ('gamepad-variant-outline', 'gamepad-variant-outline'), ('gamma', 'gamma'), ('gantry-crane', 'gantry-crane'), ('garage', 'garage'), ('garage-alert', 'garage-alert'), ('garage-alert-variant', 'garage-alert-variant'), ('garage-lock', 'garage-lock'), ('garage-open', 'garage-open'), ('garage-open-variant', 'garage-open-variant'), ('garage-variant', 'garage-variant'), ('garage-variant-lock', 'garage-variant-lock'), ('gas-burner', 'gas-burner'), ('gas-cylinder', 'gas-cylinder'), ('gas-station', 'gas-station'), ('gas-station-off', 'gas-station-off'), ('gas-station-off-outline', 'gas-station-off-outline'), ('gas-station-outline', 'gas-station-outline'), ('gate', 'gate'), ('gate-alert', 'gate-alert'), ('gate-and', 'gate-and'), ('gate-arrow-left', 'gate-arrow-left'), ('gate-arrow-right', 'gate-arrow-right'), ('gate-buffer', 'gate-buffer'), ('gate-nand', 'gate-nand'), ('gate-nor', 'gate-nor'), ('gate-not', 'gate-not'), ('gate-open', 'gate-open'), ('gate-or', 'gate-or'), ('gate-xnor', 'gate-xnor'), ('gate-xor', 'gate-xor'), ('gatsby', 'gatsby'), ('gauge', 'gauge'), ('gauge-empty', 'gauge-empty'), ('gauge-full', 'gauge-full'), ('gauge-low', 'gauge-low'), ('gavel', 'gavel'), ('gender-female', 'gender-female'), ('gender-male', 'gender-male'), ('gender-male-female', 'gender-male-female'), ('gender-male-female-variant', 'gender-male-female-variant'), ('gender-non-binary', 'gender-non-binary'), ('gender-transgender', 'gender-transgender'), ('gentoo', 'gentoo'), ('gesture', 'gesture'), ('gesture-double-tap', 'gesture-double-tap'), ('gesture-pinch', 'gesture-pinch'), ('gesture-spread', 'gesture-spread'), ('gesture-swipe', 'gesture-swipe'), ('gesture-swipe-down', 'gesture-swipe-down'), ('gesture-swipe-horizontal', 'gesture-swipe-horizontal'), ('gesture-swipe-left', 'gesture-swipe-left'), ('gesture-swipe-right', 'gesture-swipe-right'), ('gesture-swipe-up', 'gesture-swipe-up'), ('gesture-swipe-vertical', 'gesture-swipe-vertical'), ('gesture-tap', 'gesture-tap'), ('gesture-tap-box', 'gesture-tap-box'), ('gesture-tap-button', 'gesture-tap-button'), ('gesture-tap-hold', 'gesture-tap-hold'), ('gesture-two-double-tap', 'gesture-two-double-tap'), ('gesture-two-tap', 'gesture-two-tap'), ('ghost', 'ghost'), ('ghost-off', 'ghost-off'), ('ghost-off-outline', 'ghost-off-outline'), ('ghost-outline', 'ghost-outline'), ('gif', 'gif'), ('gift', 'gift'), ('gift-off', 'gift-off'), ('gift-off-outline', 'gift-off-outline'), ('gift-open', 'gift-open'), ('gift-open-outline', 'gift-open-outline'), ('gift-outline', 'gift-outline'), ('git', 'git'), ('github', 'github'), ('github-box', 'github-box'), ('github-face', 'github-face'), ('gitlab', 'gitlab'), ('glass-cocktail', 'glass-cocktail'), ('glass-cocktail-off', 'glass-cocktail-off'), ('glass-flute', 'glass-flute'), ('glass-fragile', 'glass-fragile'), ('glass-mug', 'glass-mug'), ('glass-mug-off', 'glass-mug-off'), ('glass-mug-variant', 'glass-mug-variant'), ('glass-mug-variant-off', 'glass-mug-variant-off'), ('glass-pint-outline', 'glass-pint-outline'), ('glass-stange', 'glass-stange'), ('glass-tulip', 'glass-tulip'), ('glass-wine', 'glass-wine'), ('glassdoor', 'glassdoor'), ('glasses', 'glasses'), ('globe-light', 'globe-light'), ('globe-light-outline', 'globe-light-outline'), ('globe-model', 'globe-model'), ('gmail', 'gmail'), ('gnome', 'gnome'), ('go-kart', 'go-kart'), ('go-kart-track', 'go-kart-track'), ('gog', 'gog'), ('gold', 'gold'), ('golf', 'golf'), ('golf-cart', 'golf-cart'), ('golf-tee', 'golf-tee'), ('gondola', 'gondola'), ('goodreads', 'goodreads'), ('google', 'google'), ('google-ads', 'google-ads'), ('google-allo', 'google-allo'), ('google-analytics', 'google-analytics'), ('google-assistant', 'google-assistant'), ('google-cardboard', 'google-cardboard'), ('google-chrome', 'google-chrome'), ('google-circles', 'google-circles'), ('google-circles-communities', 'google-circles-communities'), ('google-circles-extended', 'google-circles-extended'), ('google-circles-group', 'google-circles-group'), ('google-classroom', 'google-classroom'), ('google-cloud', 'google-cloud'), ('google-downasaur', 'google-downasaur'), ('google-drive', 'google-drive'), ('google-earth', 'google-earth'), ('google-fit', 'google-fit'), ('google-glass', 'google-glass'), ('google-hangouts', 'google-hangouts'), ('google-home', 'google-home'), ('google-keep', 'google-keep'), ('google-lens', 'google-lens'), ('google-maps', 'google-maps'), ('google-my-business', 'google-my-business'), ('google-nearby', 'google-nearby'), ('google-pages', 'google-pages'), ('google-photos', 'google-photos'), ('google-physical-web', 'google-physical-web'), ('google-play', 'google-play'), ('google-plus', 'google-plus'), ('google-plus-box', 'google-plus-box'), ('google-podcast', 'google-podcast'), ('google-spreadsheet', 'google-spreadsheet'), ('google-street-view', 'google-street-view'), ('google-translate', 'google-translate'), ('google-wallet', 'google-wallet'), ('gradient-horizontal', 'gradient-horizontal'), ('gradient-vertical', 'gradient-vertical'), ('grain', 'grain'), ('graph', 'graph'), ('graph-outline', 'graph-outline'), ('graphql', 'graphql'), ('grass', 'grass'), ('grave-stone', 'grave-stone'), ('grease-pencil', 'grease-pencil'), ('greater-than', 'greater-than'), ('greater-than-or-equal', 'greater-than-or-equal'), ('greenhouse', 'greenhouse'), ('grid', 'grid'), ('grid-large', 'grid-large'), ('grid-off', 'grid-off'), ('grill', 'grill'), ('grill-outline', 'grill-outline'), ('group', 'group'), ('guitar-acoustic', 'guitar-acoustic'), ('guitar-electric', 'guitar-electric'), ('guitar-pick', 'guitar-pick'), ('guitar-pick-outline', 'guitar-pick-outline'), ('guy-fawkes-mask', 'guy-fawkes-mask'), ('gymnastics', 'gymnastics'), ('hail', 'hail'), ('hair-dryer', 'hair-dryer'), ('hair-dryer-outline', 'hair-dryer-outline'), ('halloween', 'halloween'), ('hamburger', 'hamburger'), ('hamburger-check', 'hamburger-check'), ('hamburger-minus', 'hamburger-minus'), ('hamburger-off', 'hamburger-off'), ('hamburger-plus', 'hamburger-plus'), ('hamburger-remove', 'hamburger-remove'), ('hammer', 'hammer'), ('hammer-screwdriver', 'hammer-screwdriver'), ('hammer-sickle', 'hammer-sickle'), ('hammer-wrench', 'hammer-wrench'), ('hand-back-left', 'hand-back-left'), ('hand-back-left-off', 'hand-back-left-off'), ('hand-back-left-off-outline', 'hand-back-left-off-outline'), ('hand-back-left-outline', 'hand-back-left-outline'), ('hand-back-right', 'hand-back-right'), ('hand-back-right-off', 'hand-back-right-off'), ('hand-back-right-off-outline', 'hand-back-right-off-outline'), ('hand-back-right-outline', 'hand-back-right-outline'), ('hand-clap', 'hand-clap'), ('hand-clap-off', 'hand-clap-off'), ('hand-coin', 'hand-coin'), ('hand-coin-outline', 'hand-coin-outline'), ('hand-cycle', 'hand-cycle'), ('hand-extended', 'hand-extended'), ('hand-extended-outline', 'hand-extended-outline'), ('hand-front-left', 'hand-front-left'), ('hand-front-left-outline', 'hand-front-left-outline'), ('hand-front-right', 'hand-front-right'), ('hand-front-right-outline', 'hand-front-right-outline'), ('hand-heart', 'hand-heart'), ('hand-heart-outline', 'hand-heart-outline'), ('hand-left', 'hand-left'), ('hand-okay', 'hand-okay'), ('hand-peace', 'hand-peace'), ('hand-peace-variant', 'hand-peace-variant'), ('hand-pointing-down', 'hand-pointing-down'), ('hand-pointing-left', 'hand-pointing-left'), ('hand-pointing-right', 'hand-pointing-right'), ('hand-pointing-up', 'hand-pointing-up'), ('hand-right', 'hand-right'), ('hand-saw', 'hand-saw'), ('hand-wash', 'hand-wash'), ('hand-wash-outline', 'hand-wash-outline'), ('hand-water', 'hand-water'), ('hand-wave', 'hand-wave'), ('hand-wave-outline', 'hand-wave-outline'), ('handball', 'handball'), ('handcuffs', 'handcuffs'), ('hands-pray', 'hands-pray'), ('handshake', 'handshake'), ('handshake-outline', 'handshake-outline'), ('hanger', 'hanger'), ('hangouts', 'hangouts'), ('hard-hat', 'hard-hat'), ('harddisk', 'harddisk'), ('harddisk-plus', 'harddisk-plus'), ('harddisk-remove', 'harddisk-remove'), ('hat-fedora', 'hat-fedora'), ('hazard-lights', 'hazard-lights'), ('hdmi-port', 'hdmi-port'), ('hdr', 'hdr'), ('hdr-off', 'hdr-off'), ('head', 'head'), ('head-alert', 'head-alert'), ('head-alert-outline', 'head-alert-outline'), ('head-check', 'head-check'), ('head-check-outline', 'head-check-outline'), ('head-cog', 'head-cog'), ('head-cog-outline', 'head-cog-outline'), ('head-dots-horizontal', 'head-dots-horizontal'), ('head-dots-horizontal-outline', 'head-dots-horizontal-outline'), ('head-flash', 'head-flash'), ('head-flash-outline', 'head-flash-outline'), ('head-heart', 'head-heart'), ('head-heart-outline', 'head-heart-outline'), ('head-lightbulb', 'head-lightbulb'), ('head-lightbulb-outline', 'head-lightbulb-outline'), ('head-minus', 'head-minus'), ('head-minus-outline', 'head-minus-outline'), ('head-outline', 'head-outline'), ('head-plus', 'head-plus'), ('head-plus-outline', 'head-plus-outline'), ('head-question', 'head-question'), ('head-question-outline', 'head-question-outline'), ('head-remove', 'head-remove'), ('head-remove-outline', 'head-remove-outline'), ('head-snowflake', 'head-snowflake'), ('head-snowflake-outline', 'head-snowflake-outline'), ('head-sync', 'head-sync'), ('head-sync-outline', 'head-sync-outline'), ('headphones', 'headphones'), ('headphones-bluetooth', 'headphones-bluetooth'), ('headphones-box', 'headphones-box'), ('headphones-off', 'headphones-off'), ('headphones-settings', 'headphones-settings'), ('headset', 'headset'), ('headset-dock', 'headset-dock'), ('headset-off', 'headset-off'), ('heart', 'heart'), ('heart-box', 'heart-box'), ('heart-box-outline', 'heart-box-outline'), ('heart-broken', 'heart-broken'), ('heart-broken-outline', 'heart-broken-outline'), ('heart-circle', 'heart-circle'), ('heart-circle-outline', 'heart-circle-outline'), ('heart-cog', 'heart-cog'), ('heart-cog-outline', 'heart-cog-outline'), ('heart-flash', 'heart-flash'), ('heart-half', 'heart-half'), ('heart-half-full', 'heart-half-full'), ('heart-half-outline', 'heart-half-outline'), ('heart-minus', 'heart-minus'), ('heart-minus-outline', 'heart-minus-outline'), ('heart-multiple', 'heart-multiple'), ('heart-multiple-outline', 'heart-multiple-outline'), ('heart-off', 'heart-off'), ('heart-off-outline', 'heart-off-outline'), ('heart-outline', 'heart-outline'), ('heart-plus', 'heart-plus'), ('heart-plus-outline', 'heart-plus-outline'), ('heart-pulse', 'heart-pulse'), ('heart-remove', 'heart-remove'), ('heart-remove-outline', 'heart-remove-outline'), ('heart-settings', 'heart-settings'), ('heart-settings-outline', 'heart-settings-outline'), ('heat-pump', 'heat-pump'), ('heat-pump-outline', 'heat-pump-outline'), ('heat-wave', 'heat-wave'), ('heating-coil', 'heating-coil'), ('helicopter', 'helicopter'), ('help', 'help'), ('help-box', 'help-box'), ('help-circle', 'help-circle'), ('help-circle-outline', 'help-circle-outline'), ('help-network', 'help-network'), ('help-network-outline', 'help-network-outline'), ('help-rhombus', 'help-rhombus'), ('help-rhombus-outline', 'help-rhombus-outline'), ('hexadecimal', 'hexadecimal'), ('hexagon', 'hexagon'), ('hexagon-multiple', 'hexagon-multiple'), ('hexagon-multiple-outline', 'hexagon-multiple-outline'), ('hexagon-outline', 'hexagon-outline'), ('hexagon-slice-1', 'hexagon-slice-1'), ('hexagon-slice-2', 'hexagon-slice-2'), ('hexagon-slice-3', 'hexagon-slice-3'), ('hexagon-slice-4', 'hexagon-slice-4'), ('hexagon-slice-5', 'hexagon-slice-5'), ('hexagon-slice-6', 'hexagon-slice-6'), ('hexagram', 'hexagram'), ('hexagram-outline', 'hexagram-outline'), ('high-definition', 'high-definition'), ('high-definition-box', 'high-definition-box'), ('highway', 'highway'), ('hiking', 'hiking'), ('history', 'history'), ('hockey-puck', 'hockey-puck'), ('hockey-sticks', 'hockey-sticks'), ('hololens', 'hololens'), ('home', 'home'), ('home-account', 'home-account'), ('home-alert', 'home-alert'), ('home-alert-outline', 'home-alert-outline'), ('home-analytics', 'home-analytics'), ('home-assistant', 'home-assistant'), ('home-automation', 'home-automation'), ('home-battery', 'home-battery'), ('home-battery-outline', 'home-battery-outline'), ('home-circle', 'home-circle'), ('home-circle-outline', 'home-circle-outline'), ('home-city', 'home-city'), ('home-city-outline', 'home-city-outline'), ('home-clock', 'home-clock'), ('home-clock-outline', 'home-clock-outline'), ('home-currency-usd', 'home-currency-usd'), ('home-edit', 'home-edit'), ('home-edit-outline', 'home-edit-outline'), ('home-export-outline', 'home-export-outline'), ('home-flood', 'home-flood'), ('home-floor-0', 'home-floor-0'), ('home-floor-1', 'home-floor-1'), ('home-floor-2', 'home-floor-2'), ('home-floor-3', 'home-floor-3'), ('home-floor-a', 'home-floor-a'), ('home-floor-b', 'home-floor-b'), ('home-floor-g', 'home-floor-g'), ('home-floor-l', 'home-floor-l'), ('home-floor-negative-1', 'home-floor-negative-1'), ('home-group', 'home-group'), ('home-group-minus', 'home-group-minus'), ('home-group-plus', 'home-group-plus'), ('home-group-remove', 'home-group-remove'), ('home-heart', 'home-heart'), ('home-import-outline', 'home-import-outline'), ('home-lightbulb', 'home-lightbulb'), ('home-lightbulb-outline', 'home-lightbulb-outline'), ('home-lightning-bolt', 'home-lightning-bolt'), ('home-lightning-bolt-outline', 'home-lightning-bolt-outline'), ('home-lock', 'home-lock'), ('home-lock-open', 'home-lock-open'), ('home-map-marker', 'home-map-marker'), ('home-minus', 'home-minus'), ('home-minus-outline', 'home-minus-outline'), ('home-modern', 'home-modern'), ('home-off', 'home-off'), ('home-off-outline', 'home-off-outline'), ('home-outline', 'home-outline'), ('home-plus', 'home-plus'), ('home-plus-outline', 'home-plus-outline'), ('home-remove', 'home-remove'), ('home-remove-outline', 'home-remove-outline'), ('home-roof', 'home-roof'), ('home-search', 'home-search'), ('home-search-outline', 'home-search-outline'), ('home-silo', 'home-silo'), ('home-silo-outline', 'home-silo-outline'), ('home-switch', 'home-switch'), ('home-switch-outline', 'home-switch-outline'), ('home-thermometer', 'home-thermometer'), ('home-thermometer-outline', 'home-thermometer-outline'), ('home-variant', 'home-variant'), ('home-variant-outline', 'home-variant-outline'), ('hook', 'hook'), ('hook-off', 'hook-off'), ('hoop-house', 'hoop-house'), ('hops', 'hops'), ('horizontal-rotate-clockwise', 'horizontal-rotate-clockwise'), ('horizontal-rotate-counterclockwise', 'horizontal-rotate-counterclockwise'), ('horse', 'horse'), ('horse-human', 'horse-human'), ('horse-variant', 'horse-variant'), ('horse-variant-fast', 'horse-variant-fast'), ('horseshoe', 'horseshoe'), ('hospital', 'hospital'), ('hospital-box', 'hospital-box'), ('hospital-box-outline', 'hospital-box-outline'), ('hospital-building', 'hospital-building'), ('hospital-marker', 'hospital-marker'), ('hot-tub', 'hot-tub'), ('hours-24', 'hours-24'), ('houzz', 'houzz'), ('houzz-box', 'houzz-box'), ('hubspot', 'hubspot'), ('hulu', 'hulu'), ('human', 'human'), ('human-baby-changing-table', 'human-baby-changing-table'), ('human-cane', 'human-cane'), ('human-capacity-decrease', 'human-capacity-decrease'), ('human-capacity-increase', 'human-capacity-increase'), ('human-child', 'human-child'), ('human-dolly', 'human-dolly'), ('human-edit', 'human-edit'), ('human-female', 'human-female'), ('human-female-boy', 'human-female-boy'), ('human-female-dance', 'human-female-dance'), ('human-female-female', 'human-female-female'), ('human-female-girl', 'human-female-girl'), ('human-greeting', 'human-greeting'), ('human-greeting-proximity', 'human-greeting-proximity'), ('human-greeting-variant', 'human-greeting-variant'), ('human-handsdown', 'human-handsdown'), ('human-handsup', 'human-handsup'), ('human-male', 'human-male'), ('human-male-board', 'human-male-board'), ('human-male-board-poll', 'human-male-board-poll'), ('human-male-boy', 'human-male-boy'), ('human-male-child', 'human-male-child'), ('human-male-female', 'human-male-female'), ('human-male-female-child', 'human-male-female-child'), ('human-male-girl', 'human-male-girl'), ('human-male-height', 'human-male-height'), ('human-male-height-variant', 'human-male-height-variant'), ('human-male-male', 'human-male-male'), ('human-non-binary', 'human-non-binary'), ('human-pregnant', 'human-pregnant'), ('human-queue', 'human-queue'), ('human-scooter', 'human-scooter'), ('human-walker', 'human-walker'), ('human-wheelchair', 'human-wheelchair'), ('human-white-cane', 'human-white-cane'), ('humble-bundle', 'humble-bundle'), ('hurricane', 'hurricane'), ('hvac', 'hvac'), ('hvac-off', 'hvac-off'), ('hydraulic-oil-level', 'hydraulic-oil-level'), ('hydraulic-oil-temperature', 'hydraulic-oil-temperature'), ('hydro-power', 'hydro-power'), ('hydrogen-station', 'hydrogen-station'), ('ice-cream', 'ice-cream'), ('ice-cream-off', 'ice-cream-off'), ('ice-pop', 'ice-pop'), ('id-card', 'id-card'), ('identifier', 'identifier'), ('ideogram-cjk', 'ideogram-cjk'), ('ideogram-cjk-variant', 'ideogram-cjk-variant'), ('image', 'image'), ('image-album', 'image-album'), ('image-area', 'image-area'), ('image-area-close', 'image-area-close'), ('image-auto-adjust', 'image-auto-adjust'), ('image-broken', 'image-broken'), ('image-broken-variant', 'image-broken-variant'), ('image-check', 'image-check'), ('image-check-outline', 'image-check-outline'), ('image-edit', 'image-edit'), ('image-edit-outline', 'image-edit-outline'), ('image-filter-black-white', 'image-filter-black-white'), ('image-filter-center-focus', 'image-filter-center-focus'), ('image-filter-center-focus-strong', 'image-filter-center-focus-strong'), ('image-filter-center-focus-strong-outline', 'image-filter-center-focus-strong-outline'), ('image-filter-center-focus-weak', 'image-filter-center-focus-weak'), ('image-filter-drama', 'image-filter-drama'), ('image-filter-frames', 'image-filter-frames'), ('image-filter-hdr', 'image-filter-hdr'), ('image-filter-none', 'image-filter-none'), ('image-filter-tilt-shift', 'image-filter-tilt-shift'), ('image-filter-vintage', 'image-filter-vintage'), ('image-frame', 'image-frame'), ('image-lock', 'image-lock'), ('image-lock-outline', 'image-lock-outline'), ('image-marker', 'image-marker'), ('image-marker-outline', 'image-marker-outline'), ('image-minus', 'image-minus'), ('image-minus-outline', 'image-minus-outline'), ('image-move', 'image-move'), ('image-multiple', 'image-multiple'), ('image-multiple-outline', 'image-multiple-outline'), ('image-off', 'image-off'), ('image-off-outline', 'image-off-outline'), ('image-outline', 'image-outline'), ('image-plus', 'image-plus'), ('image-plus-outline', 'image-plus-outline'), ('image-refresh', 'image-refresh'), ('image-refresh-outline', 'image-refresh-outline'), ('image-remove', 'image-remove'), ('image-remove-outline', 'image-remove-outline'), ('image-search', 'image-search'), ('image-search-outline', 'image-search-outline'), ('image-size-select-actual', 'image-size-select-actual'), ('image-size-select-large', 'image-size-select-large'), ('image-size-select-small', 'image-size-select-small'), ('image-sync', 'image-sync'), ('image-sync-outline', 'image-sync-outline'), ('image-text', 'image-text'), ('import', 'import'), ('inbox', 'inbox'), ('inbox-arrow-down', 'inbox-arrow-down'), ('inbox-arrow-down-outline', 'inbox-arrow-down-outline'), ('inbox-arrow-up', 'inbox-arrow-up'), ('inbox-arrow-up-outline', 'inbox-arrow-up-outline'), ('inbox-full', 'inbox-full'), ('inbox-full-outline', 'inbox-full-outline'), ('inbox-multiple', 'inbox-multiple'), ('inbox-multiple-outline', 'inbox-multiple-outline'), ('inbox-outline', 'inbox-outline'), ('inbox-remove', 'inbox-remove'), ('inbox-remove-outline', 'inbox-remove-outline'), ('incognito', 'incognito'), ('incognito-circle', 'incognito-circle'), ('incognito-circle-off', 'incognito-circle-off'), ('incognito-off', 'incognito-off'), ('indent', 'indent'), ('induction', 'induction'), ('infinity', 'infinity'), ('information', 'information'), ('information-off', 'information-off'), ('information-off-outline', 'information-off-outline'), ('information-outline', 'information-outline'), ('information-variant', 'information-variant'), ('instagram', 'instagram'), ('instapaper', 'instapaper'), ('instrument-triangle', 'instrument-triangle'), ('integrated-circuit-chip', 'integrated-circuit-chip'), ('invert-colors', 'invert-colors'), ('invert-colors-off', 'invert-colors-off'), ('iobroker', 'iobroker'), ('ip', 'ip'), ('ip-network', 'ip-network'), ('ip-network-outline', 'ip-network-outline'), ('ip-outline', 'ip-outline'), ('ipod', 'ipod'), ('iron', 'iron'), ('iron-board', 'iron-board'), ('iron-outline', 'iron-outline'), ('island', 'island'), ('itunes', 'itunes'), ('iv-bag', 'iv-bag'), ('jabber', 'jabber'), ('jeepney', 'jeepney'), ('jellyfish', 'jellyfish'), ('jellyfish-outline', 'jellyfish-outline'), ('jira', 'jira'), ('jquery', 'jquery'), ('jsfiddle', 'jsfiddle'), ('jump-rope', 'jump-rope'), ('kabaddi', 'kabaddi'), ('kangaroo', 'kangaroo'), ('karate', 'karate'), ('kayaking', 'kayaking'), ('keg', 'keg'), ('kettle', 'kettle'), ('kettle-alert', 'kettle-alert'), ('kettle-alert-outline', 'kettle-alert-outline'), ('kettle-off', 'kettle-off'), ('kettle-off-outline', 'kettle-off-outline'), ('kettle-outline', 'kettle-outline'), ('kettle-pour-over', 'kettle-pour-over'), ('kettle-steam', 'kettle-steam'), ('kettle-steam-outline', 'kettle-steam-outline'), ('kettlebell', 'kettlebell'), ('key', 'key'), ('key-alert', 'key-alert'), ('key-alert-outline', 'key-alert-outline'), ('key-arrow-right', 'key-arrow-right'), ('key-chain', 'key-chain'), ('key-chain-variant', 'key-chain-variant'), ('key-change', 'key-change'), ('key-link', 'key-link'), ('key-minus', 'key-minus'), ('key-outline', 'key-outline'), ('key-plus', 'key-plus'), ('key-remove', 'key-remove'), ('key-star', 'key-star'), ('key-variant', 'key-variant'), ('key-wireless', 'key-wireless'), ('keyboard', 'keyboard'), ('keyboard-backspace', 'keyboard-backspace'), ('keyboard-caps', 'keyboard-caps'), ('keyboard-close', 'keyboard-close'), ('keyboard-esc', 'keyboard-esc'), ('keyboard-f1', 'keyboard-f1'), ('keyboard-f10', 'keyboard-f10'), ('keyboard-f11', 'keyboard-f11'), ('keyboard-f12', 'keyboard-f12'), ('keyboard-f2', 'keyboard-f2'), ('keyboard-f3', 'keyboard-f3'), ('keyboard-f4', 'keyboard-f4'), ('keyboard-f5', 'keyboard-f5'), ('keyboard-f6', 'keyboard-f6'), ('keyboard-f7', 'keyboard-f7'), ('keyboard-f8', 'keyboard-f8'), ('keyboard-f9', 'keyboard-f9'), ('keyboard-off', 'keyboard-off'), ('keyboard-off-outline', 'keyboard-off-outline'), ('keyboard-outline', 'keyboard-outline'), ('keyboard-return', 'keyboard-return'), ('keyboard-settings', 'keyboard-settings'), ('keyboard-settings-outline', 'keyboard-settings-outline'), ('keyboard-space', 'keyboard-space'), ('keyboard-tab', 'keyboard-tab'), ('keyboard-tab-reverse', 'keyboard-tab-reverse'), ('keyboard-variant', 'keyboard-variant'), ('khanda', 'khanda'), ('kickstarter', 'kickstarter'), ('kite', 'kite'), ('kite-outline', 'kite-outline'), ('kitesurfing', 'kitesurfing'), ('klingon', 'klingon'), ('knife', 'knife'), ('knife-military', 'knife-military'), ('knob', 'knob'), ('koala', 'koala'), ('kodi', 'kodi'), ('kubernetes', 'kubernetes'), ('label', 'label'), ('label-multiple', 'label-multiple'), ('label-multiple-outline', 'label-multiple-outline'), ('label-off', 'label-off'), ('label-off-outline', 'label-off-outline'), ('label-outline', 'label-outline'), ('label-percent', 'label-percent'), ('label-percent-outline', 'label-percent-outline'), ('label-variant', 'label-variant'), ('label-variant-outline', 'label-variant-outline'), ('ladder', 'ladder'), ('ladybug', 'ladybug'), ('lambda', 'lambda'), ('lamp', 'lamp'), ('lamp-outline', 'lamp-outline'), ('lamps', 'lamps'), ('lamps-outline', 'lamps-outline'), ('lan', 'lan'), ('lan-check', 'lan-check'), ('lan-connect', 'lan-connect'), ('lan-disconnect', 'lan-disconnect'), ('lan-pending', 'lan-pending'), ('land-fields', 'land-fields'), ('land-plots', 'land-plots'), ('land-plots-circle', 'land-plots-circle'), ('land-plots-circle-variant', 'land-plots-circle-variant'), ('land-rows-horizontal', 'land-rows-horizontal'), ('land-rows-vertical', 'land-rows-vertical'), ('landslide', 'landslide'), ('landslide-outline', 'landslide-outline'), ('language-c', 'language-c'), ('language-cpp', 'language-cpp'), ('language-csharp', 'language-csharp'), ('language-css3', 'language-css3'), ('language-fortran', 'language-fortran'), ('language-go', 'language-go'), ('language-haskell', 'language-haskell'), ('language-html5', 'language-html5'), ('language-java', 'language-java'), ('language-javascript', 'language-javascript'), ('language-jsx', 'language-jsx'), ('language-kotlin', 'language-kotlin'), ('language-lua', 'language-lua'), ('language-markdown', 'language-markdown'), ('language-markdown-outline', 'language-markdown-outline'), ('language-php', 'language-php'), ('language-python', 'language-python'), ('language-python-text', 'language-python-text'), ('language-r', 'language-r'), ('language-ruby', 'language-ruby'), ('language-ruby-on-rails', 'language-ruby-on-rails'), ('language-rust', 'language-rust'), ('language-swift', 'language-swift'), ('language-typescript', 'language-typescript'), ('language-xaml', 'language-xaml'), ('laptop', 'laptop'), ('laptop-account', 'laptop-account'), ('laptop-chromebook', 'laptop-chromebook'), ('laptop-mac', 'laptop-mac'), ('laptop-off', 'laptop-off'), ('laptop-windows', 'laptop-windows'), ('laravel', 'laravel'), ('laser-pointer', 'laser-pointer'), ('lasso', 'lasso'), ('lastfm', 'lastfm'), ('lastpass', 'lastpass'), ('latitude', 'latitude'), ('launch', 'launch'), ('lava-lamp', 'lava-lamp'), ('layers', 'layers'), ('layers-edit', 'layers-edit'), ('layers-minus', 'layers-minus'), ('layers-off', 'layers-off'), ('layers-off-outline', 'layers-off-outline'), ('layers-outline', 'layers-outline'), ('layers-plus', 'layers-plus'), ('layers-remove', 'layers-remove'), ('layers-search', 'layers-search'), ('layers-search-outline', 'layers-search-outline'), ('layers-triple', 'layers-triple'), ('layers-triple-outline', 'layers-triple-outline'), ('lead-pencil', 'lead-pencil'), ('leaf', 'leaf'), ('leaf-circle', 'leaf-circle'), ('leaf-circle-outline', 'leaf-circle-outline'), ('leaf-maple', 'leaf-maple'), ('leaf-maple-off', 'leaf-maple-off'), ('leaf-off', 'leaf-off'), ('leak', 'leak'), ('leak-off', 'leak-off'), ('lectern', 'lectern'), ('led-off', 'led-off'), ('led-on', 'led-on'), ('led-outline', 'led-outline'), ('led-strip', 'led-strip'), ('led-strip-variant', 'led-strip-variant'), ('led-strip-variant-off', 'led-strip-variant-off'), ('led-variant-off', 'led-variant-off'), ('led-variant-on', 'led-variant-on'), ('led-variant-outline', 'led-variant-outline'), ('leek', 'leek'), ('less-than', 'less-than'), ('less-than-or-equal', 'less-than-or-equal'), ('library', 'library'), ('library-books', 'library-books'), ('library-outline', 'library-outline'), ('library-shelves', 'library-shelves'), ('license', 'license'), ('lifebuoy', 'lifebuoy'), ('light-flood-down', 'light-flood-down'), ('light-flood-up', 'light-flood-up'), ('light-recessed', 'light-recessed'), ('light-switch', 'light-switch'), ('light-switch-off', 'light-switch-off'), ('lightbulb', 'lightbulb'), ('lightbulb-alert', 'lightbulb-alert'), ('lightbulb-alert-outline', 'lightbulb-alert-outline'), ('lightbulb-auto', 'lightbulb-auto'), ('lightbulb-auto-outline', 'lightbulb-auto-outline'), ('lightbulb-cfl', 'lightbulb-cfl'), ('lightbulb-cfl-off', 'lightbulb-cfl-off'), ('lightbulb-cfl-spiral', 'lightbulb-cfl-spiral'), ('lightbulb-cfl-spiral-off', 'lightbulb-cfl-spiral-off'), ('lightbulb-fluorescent-tube', 'lightbulb-fluorescent-tube'), ('lightbulb-fluorescent-tube-outline', 'lightbulb-fluorescent-tube-outline'), ('lightbulb-group', 'lightbulb-group'), ('lightbulb-group-off', 'lightbulb-group-off'), ('lightbulb-group-off-outline', 'lightbulb-group-off-outline'), ('lightbulb-group-outline', 'lightbulb-group-outline'), ('lightbulb-multiple', 'lightbulb-multiple'), ('lightbulb-multiple-off', 'lightbulb-multiple-off'), ('lightbulb-multiple-off-outline', 'lightbulb-multiple-off-outline'), ('lightbulb-multiple-outline', 'lightbulb-multiple-outline'), ('lightbulb-night', 'lightbulb-night'), ('lightbulb-night-outline', 'lightbulb-night-outline'), ('lightbulb-off', 'lightbulb-off'), ('lightbulb-off-outline', 'lightbulb-off-outline'), ('lightbulb-on', 'lightbulb-on'), ('lightbulb-on-10', 'lightbulb-on-10'), ('lightbulb-on-20', 'lightbulb-on-20'), ('lightbulb-on-30', 'lightbulb-on-30'), ('lightbulb-on-40', 'lightbulb-on-40'), ('lightbulb-on-50', 'lightbulb-on-50'), ('lightbulb-on-60', 'lightbulb-on-60'), ('lightbulb-on-70', 'lightbulb-on-70'), ('lightbulb-on-80', 'lightbulb-on-80'), ('lightbulb-on-90', 'lightbulb-on-90'), ('lightbulb-on-outline', 'lightbulb-on-outline'), ('lightbulb-outline', 'lightbulb-outline'), ('lightbulb-question', 'lightbulb-question'), ('lightbulb-question-outline', 'lightbulb-question-outline'), ('lightbulb-spot', 'lightbulb-spot'), ('lightbulb-spot-off', 'lightbulb-spot-off'), ('lightbulb-variant', 'lightbulb-variant'), ('lightbulb-variant-outline', 'lightbulb-variant-outline'), ('lighthouse', 'lighthouse'), ('lighthouse-on', 'lighthouse-on'), ('lightning-bolt', 'lightning-bolt'), ('lightning-bolt-circle', 'lightning-bolt-circle'), ('lightning-bolt-outline', 'lightning-bolt-outline'), ('line-scan', 'line-scan'), ('lingerie', 'lingerie'), ('link', 'link'), ('link-box', 'link-box'), ('link-box-outline', 'link-box-outline'), ('link-box-variant', 'link-box-variant'), ('link-box-variant-outline', 'link-box-variant-outline'), ('link-lock', 'link-lock'), ('link-off', 'link-off'), ('link-plus', 'link-plus'), ('link-variant', 'link-variant'), ('link-variant-minus', 'link-variant-minus'), ('link-variant-off', 'link-variant-off'), ('link-variant-plus', 'link-variant-plus'), ('link-variant-remove', 'link-variant-remove'), ('linkedin', 'linkedin'), ('linode', 'linode'), ('linux', 'linux'), ('linux-mint', 'linux-mint'), ('lipstick', 'lipstick'), ('liquid-spot', 'liquid-spot'), ('liquor', 'liquor'), ('list-box', 'list-box'), ('list-box-outline', 'list-box-outline'), ('list-status', 'list-status'), ('litecoin', 'litecoin'), ('loading', 'loading'), ('location-enter', 'location-enter'), ('location-exit', 'location-exit'), ('lock', 'lock'), ('lock-alert', 'lock-alert'), ('lock-alert-outline', 'lock-alert-outline'), ('lock-check', 'lock-check'), ('lock-check-outline', 'lock-check-outline'), ('lock-clock', 'lock-clock'), ('lock-minus', 'lock-minus'), ('lock-minus-outline', 'lock-minus-outline'), ('lock-off', 'lock-off'), ('lock-off-outline', 'lock-off-outline'), ('lock-open', 'lock-open'), ('lock-open-alert', 'lock-open-alert'), ('lock-open-alert-outline', 'lock-open-alert-outline'), ('lock-open-check', 'lock-open-check'), ('lock-open-check-outline', 'lock-open-check-outline'), ('lock-open-minus', 'lock-open-minus'), ('lock-open-minus-outline', 'lock-open-minus-outline'), ('lock-open-outline', 'lock-open-outline'), ('lock-open-plus', 'lock-open-plus'), ('lock-open-plus-outline', 'lock-open-plus-outline'), ('lock-open-remove', 'lock-open-remove'), ('lock-open-remove-outline', 'lock-open-remove-outline'), ('lock-open-variant', 'lock-open-variant'), ('lock-open-variant-outline', 'lock-open-variant-outline'), ('lock-outline', 'lock-outline'), ('lock-pattern', 'lock-pattern'), ('lock-plus', 'lock-plus'), ('lock-plus-outline', 'lock-plus-outline'), ('lock-question', 'lock-question'), ('lock-remove', 'lock-remove'), ('lock-remove-outline', 'lock-remove-outline'), ('lock-reset', 'lock-reset'), ('lock-smart', 'lock-smart'), ('locker', 'locker'), ('locker-multiple', 'locker-multiple'), ('login', 'login'), ('login-variant', 'login-variant'), ('logout', 'logout'), ('logout-variant', 'logout-variant'), ('longitude', 'longitude'), ('looks', 'looks'), ('lotion', 'lotion'), ('lotion-outline', 'lotion-outline'), ('lotion-plus', 'lotion-plus'), ('lotion-plus-outline', 'lotion-plus-outline'), ('loupe', 'loupe'), ('lumx', 'lumx'), ('lungs', 'lungs'), ('lyft', 'lyft'), ('mace', 'mace'), ('magazine-pistol', 'magazine-pistol'), ('magazine-rifle', 'magazine-rifle'), ('magic-staff', 'magic-staff'), ('magnet', 'magnet'), ('magnet-on', 'magnet-on'), ('magnify', 'magnify'), ('magnify-close', 'magnify-close'), ('magnify-expand', 'magnify-expand'), ('magnify-minus', 'magnify-minus'), ('magnify-minus-cursor', 'magnify-minus-cursor'), ('magnify-minus-outline', 'magnify-minus-outline'), ('magnify-plus', 'magnify-plus'), ('magnify-plus-cursor', 'magnify-plus-cursor'), ('magnify-plus-outline', 'magnify-plus-outline'), ('magnify-remove-cursor', 'magnify-remove-cursor'), ('magnify-remove-outline', 'magnify-remove-outline'), ('magnify-scan', 'magnify-scan'), ('mail', 'mail'), ('mail-ru', 'mail-ru'), ('mailbox', 'mailbox'), ('mailbox-open', 'mailbox-open'), ('mailbox-open-outline', 'mailbox-open-outline'), ('mailbox-open-up', 'mailbox-open-up'), ('mailbox-open-up-outline', 'mailbox-open-up-outline'), ('mailbox-outline', 'mailbox-outline'), ('mailbox-up', 'mailbox-up'), ('mailbox-up-outline', 'mailbox-up-outline'), ('manjaro', 'manjaro'), ('map', 'map'), ('map-check', 'map-check'), ('map-check-outline', 'map-check-outline'), ('map-clock', 'map-clock'), ('map-clock-outline', 'map-clock-outline'), ('map-legend', 'map-legend'), ('map-marker', 'map-marker'), ('map-marker-account', 'map-marker-account'), ('map-marker-account-outline', 'map-marker-account-outline'), ('map-marker-alert', 'map-marker-alert'), ('map-marker-alert-outline', 'map-marker-alert-outline'), ('map-marker-check', 'map-marker-check'), ('map-marker-check-outline', 'map-marker-check-outline'), ('map-marker-circle', 'map-marker-circle'), ('map-marker-distance', 'map-marker-distance'), ('map-marker-down', 'map-marker-down'), ('map-marker-left', 'map-marker-left'), ('map-marker-left-outline', 'map-marker-left-outline'), ('map-marker-minus', 'map-marker-minus'), ('map-marker-minus-outline', 'map-marker-minus-outline'), ('map-marker-multiple', 'map-marker-multiple'), ('map-marker-multiple-outline', 'map-marker-multiple-outline'), ('map-marker-off', 'map-marker-off'), ('map-marker-off-outline', 'map-marker-off-outline'), ('map-marker-outline', 'map-marker-outline'), ('map-marker-path', 'map-marker-path'), ('map-marker-plus', 'map-marker-plus'), ('map-marker-plus-outline', 'map-marker-plus-outline'), ('map-marker-question', 'map-marker-question'), ('map-marker-question-outline', 'map-marker-question-outline'), ('map-marker-radius', 'map-marker-radius'), ('map-marker-radius-outline', 'map-marker-radius-outline'), ('map-marker-remove', 'map-marker-remove'), ('map-marker-remove-outline', 'map-marker-remove-outline'), ('map-marker-remove-variant', 'map-marker-remove-variant'), ('map-marker-right', 'map-marker-right'), ('map-marker-right-outline', 'map-marker-right-outline'), ('map-marker-star', 'map-marker-star'), ('map-marker-star-outline', 'map-marker-star-outline'), ('map-marker-up', 'map-marker-up'), ('map-minus', 'map-minus'), ('map-outline', 'map-outline'), ('map-plus', 'map-plus'), ('map-search', 'map-search'), ('map-search-outline', 'map-search-outline'), ('mapbox', 'mapbox'), ('margin', 'margin'), ('marker', 'marker'), ('marker-cancel', 'marker-cancel'), ('marker-check', 'marker-check'), ('mastodon', 'mastodon'), ('mastodon-variant', 'mastodon-variant'), ('material-design', 'material-design'), ('material-ui', 'material-ui'), ('math-compass', 'math-compass'), ('math-cos', 'math-cos'), ('math-integral', 'math-integral'), ('math-integral-box', 'math-integral-box'), ('math-log', 'math-log'), ('math-norm', 'math-norm'), ('math-norm-box', 'math-norm-box'), ('math-sin', 'math-sin'), ('math-tan', 'math-tan'), ('matrix', 'matrix'), ('maxcdn', 'maxcdn'), ('medal', 'medal'), ('medal-outline', 'medal-outline'), ('medical-bag', 'medical-bag'), ('medical-cotton-swab', 'medical-cotton-swab'), ('medication', 'medication'), ('medication-outline', 'medication-outline'), ('meditation', 'meditation'), ('medium', 'medium'), ('meetup', 'meetup'), ('memory', 'memory'), ('menorah', 'menorah'), ('menorah-fire', 'menorah-fire'), ('menu', 'menu'), ('menu-close', 'menu-close'), ('menu-down', 'menu-down'), ('menu-down-outline', 'menu-down-outline'), ('menu-left', 'menu-left'), ('menu-left-outline', 'menu-left-outline'), ('menu-open', 'menu-open'), ('menu-right', 'menu-right'), ('menu-right-outline', 'menu-right-outline'), ('menu-swap', 'menu-swap'), ('menu-swap-outline', 'menu-swap-outline'), ('menu-up', 'menu-up'), ('menu-up-outline', 'menu-up-outline'), ('merge', 'merge'), ('message', 'message'), ('message-alert', 'message-alert'), ('message-alert-outline', 'message-alert-outline'), ('message-arrow-left', 'message-arrow-left'), ('message-arrow-left-outline', 'message-arrow-left-outline'), ('message-arrow-right', 'message-arrow-right'), ('message-arrow-right-outline', 'message-arrow-right-outline'), ('message-badge', 'message-badge'), ('message-badge-outline', 'message-badge-outline'), ('message-bookmark', 'message-bookmark'), ('message-bookmark-outline', 'message-bookmark-outline'), ('message-bulleted', 'message-bulleted'), ('message-bulleted-off', 'message-bulleted-off'), ('message-check', 'message-check'), ('message-check-outline', 'message-check-outline'), ('message-cog', 'message-cog'), ('message-cog-outline', 'message-cog-outline'), ('message-draw', 'message-draw'), ('message-fast', 'message-fast'), ('message-fast-outline', 'message-fast-outline'), ('message-flash', 'message-flash'), ('message-flash-outline', 'message-flash-outline'), ('message-image', 'message-image'), ('message-image-outline', 'message-image-outline'), ('message-lock', 'message-lock'), ('message-lock-outline', 'message-lock-outline'), ('message-minus', 'message-minus'), ('message-minus-outline', 'message-minus-outline'), ('message-off', 'message-off'), ('message-off-outline', 'message-off-outline'), ('message-outline', 'message-outline'), ('message-plus', 'message-plus'), ('message-plus-outline', 'message-plus-outline'), ('message-processing', 'message-processing'), ('message-processing-outline', 'message-processing-outline'), ('message-question', 'message-question'), ('message-question-outline', 'message-question-outline'), ('message-reply', 'message-reply'), ('message-reply-outline', 'message-reply-outline'), ('message-reply-text', 'message-reply-text'), ('message-reply-text-outline', 'message-reply-text-outline'), ('message-settings', 'message-settings'), ('message-settings-outline', 'message-settings-outline'), ('message-star', 'message-star'), ('message-star-outline', 'message-star-outline'), ('message-text', 'message-text'), ('message-text-clock', 'message-text-clock'), ('message-text-clock-outline', 'message-text-clock-outline'), ('message-text-fast', 'message-text-fast'), ('message-text-fast-outline', 'message-text-fast-outline'), ('message-text-lock', 'message-text-lock'), ('message-text-lock-outline', 'message-text-lock-outline'), ('message-text-outline', 'message-text-outline'), ('message-video', 'message-video'), ('meteor', 'meteor'), ('meter-electric', 'meter-electric'), ('meter-electric-outline', 'meter-electric-outline'), ('meter-gas', 'meter-gas'), ('meter-gas-outline', 'meter-gas-outline'), ('metronome', 'metronome'), ('metronome-tick', 'metronome-tick'), ('micro-sd', 'micro-sd'), ('microphone', 'microphone'), ('microphone-message', 'microphone-message'), ('microphone-message-off', 'microphone-message-off'), ('microphone-minus', 'microphone-minus'), ('microphone-off', 'microphone-off'), ('microphone-outline', 'microphone-outline'), ('microphone-plus', 'microphone-plus'), ('microphone-question', 'microphone-question'), ('microphone-question-outline', 'microphone-question-outline'), ('microphone-settings', 'microphone-settings'), ('microphone-variant', 'microphone-variant'), ('microphone-variant-off', 'microphone-variant-off'), ('microscope', 'microscope'), ('microsoft', 'microsoft'), ('microsoft-access', 'microsoft-access'), ('microsoft-azure', 'microsoft-azure'), ('microsoft-azure-devops', 'microsoft-azure-devops'), ('microsoft-bing', 'microsoft-bing'), ('microsoft-dynamics-365', 'microsoft-dynamics-365'), ('microsoft-edge', 'microsoft-edge'), ('microsoft-edge-legacy', 'microsoft-edge-legacy'), ('microsoft-excel', 'microsoft-excel'), ('microsoft-internet-explorer', 'microsoft-internet-explorer'), ('microsoft-office', 'microsoft-office'), ('microsoft-onedrive', 'microsoft-onedrive'), ('microsoft-onenote', 'microsoft-onenote'), ('microsoft-outlook', 'microsoft-outlook'), ('microsoft-powerpoint', 'microsoft-powerpoint'), ('microsoft-sharepoint', 'microsoft-sharepoint'), ('microsoft-teams', 'microsoft-teams'), ('microsoft-visual-studio', 'microsoft-visual-studio'), ('microsoft-visual-studio-code', 'microsoft-visual-studio-code'), ('microsoft-windows', 'microsoft-windows'), ('microsoft-windows-classic', 'microsoft-windows-classic'), ('microsoft-word', 'microsoft-word'), ('microsoft-xbox', 'microsoft-xbox'), ('microsoft-xbox-controller', 'microsoft-xbox-controller'), ('microsoft-xbox-controller-battery-alert', 'microsoft-xbox-controller-battery-alert'), ('microsoft-xbox-controller-battery-charging', 'microsoft-xbox-controller-battery-charging'), ('microsoft-xbox-controller-battery-empty', 'microsoft-xbox-controller-battery-empty'), ('microsoft-xbox-controller-battery-full', 'microsoft-xbox-controller-battery-full'), ('microsoft-xbox-controller-battery-low', 'microsoft-xbox-controller-battery-low'), ('microsoft-xbox-controller-battery-medium', 'microsoft-xbox-controller-battery-medium'), ('microsoft-xbox-controller-battery-unknown', 'microsoft-xbox-controller-battery-unknown'), ('microsoft-xbox-controller-menu', 'microsoft-xbox-controller-menu'), ('microsoft-xbox-controller-off', 'microsoft-xbox-controller-off'), ('microsoft-xbox-controller-view', 'microsoft-xbox-controller-view'), ('microsoft-yammer', 'microsoft-yammer'), ('microwave', 'microwave'), ('microwave-off', 'microwave-off'), ('middleware', 'middleware'), ('middleware-outline', 'middleware-outline'), ('midi', 'midi'), ('midi-input', 'midi-input'), ('midi-port', 'midi-port'), ('mine', 'mine'), ('minecraft', 'minecraft'), ('mini-sd', 'mini-sd'), ('minidisc', 'minidisc'), ('minus', 'minus'), ('minus-box', 'minus-box'), ('minus-box-multiple', 'minus-box-multiple'), ('minus-box-multiple-outline', 'minus-box-multiple-outline'), ('minus-box-outline', 'minus-box-outline'), ('minus-circle', 'minus-circle'), ('minus-circle-multiple', 'minus-circle-multiple'), ('minus-circle-multiple-outline', 'minus-circle-multiple-outline'), ('minus-circle-off', 'minus-circle-off'), ('minus-circle-off-outline', 'minus-circle-off-outline'), ('minus-circle-outline', 'minus-circle-outline'), ('minus-network', 'minus-network'), ('minus-network-outline', 'minus-network-outline'), ('minus-thick', 'minus-thick'), ('mirror', 'mirror'), ('mirror-rectangle', 'mirror-rectangle'), ('mirror-variant', 'mirror-variant'), ('mixcloud', 'mixcloud'), ('mixed-martial-arts', 'mixed-martial-arts'), ('mixed-reality', 'mixed-reality'), ('mixer', 'mixer'), ('molecule', 'molecule'), ('molecule-co', 'molecule-co'), ('molecule-co2', 'molecule-co2'), ('monitor', 'monitor'), ('monitor-account', 'monitor-account'), ('monitor-arrow-down', 'monitor-arrow-down'), ('monitor-arrow-down-variant', 'monitor-arrow-down-variant'), ('monitor-cellphone', 'monitor-cellphone'), ('monitor-cellphone-star', 'monitor-cellphone-star'), ('monitor-dashboard', 'monitor-dashboard'), ('monitor-edit', 'monitor-edit'), ('monitor-eye', 'monitor-eye'), ('monitor-lock', 'monitor-lock'), ('monitor-multiple', 'monitor-multiple'), ('monitor-off', 'monitor-off'), ('monitor-screenshot', 'monitor-screenshot'), ('monitor-share', 'monitor-share'), ('monitor-shimmer', 'monitor-shimmer'), ('monitor-small', 'monitor-small'), ('monitor-speaker', 'monitor-speaker'), ('monitor-speaker-off', 'monitor-speaker-off'), ('monitor-star', 'monitor-star'), ('moon-first-quarter', 'moon-first-quarter'), ('moon-full', 'moon-full'), ('moon-last-quarter', 'moon-last-quarter'), ('moon-new', 'moon-new'), ('moon-waning-crescent', 'moon-waning-crescent'), ('moon-waning-gibbous', 'moon-waning-gibbous'), ('moon-waxing-crescent', 'moon-waxing-crescent'), ('moon-waxing-gibbous', 'moon-waxing-gibbous'), ('moped', 'moped'), ('moped-electric', 'moped-electric'), ('moped-electric-outline', 'moped-electric-outline'), ('moped-outline', 'moped-outline'), ('more', 'more'), ('mortar-pestle', 'mortar-pestle'), ('mortar-pestle-plus', 'mortar-pestle-plus'), ('mosque', 'mosque'), ('mosque-outline', 'mosque-outline'), ('mother-heart', 'mother-heart'), ('mother-nurse', 'mother-nurse'), ('motion', 'motion'), ('motion-outline', 'motion-outline'), ('motion-pause', 'motion-pause'), ('motion-pause-outline', 'motion-pause-outline'), ('motion-play', 'motion-play'), ('motion-play-outline', 'motion-play-outline'), ('motion-sensor', 'motion-sensor'), ('motion-sensor-off', 'motion-sensor-off'), ('motorbike', 'motorbike'), ('motorbike-electric', 'motorbike-electric'), ('motorbike-off', 'motorbike-off'), ('mouse', 'mouse'), ('mouse-bluetooth', 'mouse-bluetooth'), ('mouse-move-down', 'mouse-move-down'), ('mouse-move-up', 'mouse-move-up'), ('mouse-move-vertical', 'mouse-move-vertical'), ('mouse-off', 'mouse-off'), ('mouse-variant', 'mouse-variant'), ('mouse-variant-off', 'mouse-variant-off'), ('move-resize', 'move-resize'), ('move-resize-variant', 'move-resize-variant'), ('movie', 'movie'), ('movie-check', 'movie-check'), ('movie-check-outline', 'movie-check-outline'), ('movie-cog', 'movie-cog'), ('movie-cog-outline', 'movie-cog-outline'), ('movie-edit', 'movie-edit'), ('movie-edit-outline', 'movie-edit-outline'), ('movie-filter', 'movie-filter'), ('movie-filter-outline', 'movie-filter-outline'), ('movie-minus', 'movie-minus'), ('movie-minus-outline', 'movie-minus-outline'), ('movie-off', 'movie-off'), ('movie-off-outline', 'movie-off-outline'), ('movie-open', 'movie-open'), ('movie-open-check', 'movie-open-check'), ('movie-open-check-outline', 'movie-open-check-outline'), ('movie-open-cog', 'movie-open-cog'), ('movie-open-cog-outline', 'movie-open-cog-outline'), ('movie-open-edit', 'movie-open-edit'), ('movie-open-edit-outline', 'movie-open-edit-outline'), ('movie-open-minus', 'movie-open-minus'), ('movie-open-minus-outline', 'movie-open-minus-outline'), ('movie-open-off', 'movie-open-off'), ('movie-open-off-outline', 'movie-open-off-outline'), ('movie-open-outline', 'movie-open-outline'), ('movie-open-play', 'movie-open-play'), ('movie-open-play-outline', 'movie-open-play-outline'), ('movie-open-plus', 'movie-open-plus'), ('movie-open-plus-outline', 'movie-open-plus-outline'), ('movie-open-remove', 'movie-open-remove'), ('movie-open-remove-outline', 'movie-open-remove-outline'), ('movie-open-settings', 'movie-open-settings'), ('movie-open-settings-outline', 'movie-open-settings-outline'), ('movie-open-star', 'movie-open-star'), ('movie-open-star-outline', 'movie-open-star-outline'), ('movie-outline', 'movie-outline'), ('movie-play', 'movie-play'), ('movie-play-outline', 'movie-play-outline'), ('movie-plus', 'movie-plus'), ('movie-plus-outline', 'movie-plus-outline'), ('movie-remove', 'movie-remove'), ('movie-remove-outline', 'movie-remove-outline'), ('movie-roll', 'movie-roll'), ('movie-search', 'movie-search'), ('movie-search-outline', 'movie-search-outline'), ('movie-settings', 'movie-settings'), ('movie-settings-outline', 'movie-settings-outline'), ('movie-star', 'movie-star'), ('movie-star-outline', 'movie-star-outline'), ('mower', 'mower'), ('mower-bag', 'mower-bag'), ('mower-bag-on', 'mower-bag-on'), ('mower-on', 'mower-on'), ('muffin', 'muffin'), ('multicast', 'multicast'), ('multimedia', 'multimedia'), ('multiplication', 'multiplication'), ('multiplication-box', 'multiplication-box'), ('mushroom', 'mushroom'), ('mushroom-off', 'mushroom-off'), ('mushroom-off-outline', 'mushroom-off-outline'), ('mushroom-outline', 'mushroom-outline'), ('music', 'music'), ('music-accidental-double-flat', 'music-accidental-double-flat'), ('music-accidental-double-sharp', 'music-accidental-double-sharp'), ('music-accidental-flat', 'music-accidental-flat'), ('music-accidental-natural', 'music-accidental-natural'), ('music-accidental-sharp', 'music-accidental-sharp'), ('music-box', 'music-box'), ('music-box-multiple', 'music-box-multiple'), ('music-box-multiple-outline', 'music-box-multiple-outline'), ('music-box-outline', 'music-box-outline'), ('music-circle', 'music-circle'), ('music-circle-outline', 'music-circle-outline'), ('music-clef-alto', 'music-clef-alto'), ('music-clef-bass', 'music-clef-bass'), ('music-clef-treble', 'music-clef-treble'), ('music-note', 'music-note'), ('music-note-bluetooth', 'music-note-bluetooth'), ('music-note-bluetooth-off', 'music-note-bluetooth-off'), ('music-note-eighth', 'music-note-eighth'), ('music-note-eighth-dotted', 'music-note-eighth-dotted'), ('music-note-half', 'music-note-half'), ('music-note-half-dotted', 'music-note-half-dotted'), ('music-note-minus', 'music-note-minus'), ('music-note-off', 'music-note-off'), ('music-note-off-outline', 'music-note-off-outline'), ('music-note-outline', 'music-note-outline'), ('music-note-plus', 'music-note-plus'), ('music-note-quarter', 'music-note-quarter'), ('music-note-quarter-dotted', 'music-note-quarter-dotted'), ('music-note-sixteenth', 'music-note-sixteenth'), ('music-note-sixteenth-dotted', 'music-note-sixteenth-dotted'), ('music-note-whole', 'music-note-whole'), ('music-note-whole-dotted', 'music-note-whole-dotted'), ('music-off', 'music-off'), ('music-rest-eighth', 'music-rest-eighth'), ('music-rest-half', 'music-rest-half'), ('music-rest-quarter', 'music-rest-quarter'), ('music-rest-sixteenth', 'music-rest-sixteenth'), ('music-rest-whole', 'music-rest-whole'), ('mustache', 'mustache'), ('nail', 'nail'), ('nas', 'nas'), ('nativescript', 'nativescript'), ('nature', 'nature'), ('nature-people', 'nature-people'), ('navigation', 'navigation'), ('navigation-outline', 'navigation-outline'), ('navigation-variant', 'navigation-variant'), ('navigation-variant-outline', 'navigation-variant-outline'), ('near-me', 'near-me'), ('necklace', 'necklace'), ('needle', 'needle'), ('needle-off', 'needle-off'), ('nest-thermostat', 'nest-thermostat'), ('netflix', 'netflix'), ('network', 'network'), ('network-off', 'network-off'), ('network-off-outline', 'network-off-outline'), ('network-outline', 'network-outline'), ('network-pos', 'network-pos'), ('network-strength-1', 'network-strength-1'), ('network-strength-1-alert', 'network-strength-1-alert'), ('network-strength-2', 'network-strength-2'), ('network-strength-2-alert', 'network-strength-2-alert'), ('network-strength-3', 'network-strength-3'), ('network-strength-3-alert', 'network-strength-3-alert'), ('network-strength-4', 'network-strength-4'), ('network-strength-4-alert', 'network-strength-4-alert'), ('network-strength-4-cog', 'network-strength-4-cog'), ('network-strength-alert', 'network-strength-alert'), ('network-strength-alert-outline', 'network-strength-alert-outline'), ('network-strength-off', 'network-strength-off'), ('network-strength-off-outline', 'network-strength-off-outline'), ('network-strength-outline', 'network-strength-outline'), ('new-box', 'new-box'), ('newspaper', 'newspaper'), ('newspaper-check', 'newspaper-check'), ('newspaper-minus', 'newspaper-minus'), ('newspaper-plus', 'newspaper-plus'), ('newspaper-remove', 'newspaper-remove'), ('newspaper-variant', 'newspaper-variant'), ('newspaper-variant-multiple', 'newspaper-variant-multiple'), ('newspaper-variant-multiple-outline', 'newspaper-variant-multiple-outline'), ('newspaper-variant-outline', 'newspaper-variant-outline'), ('nfc', 'nfc'), ('nfc-off', 'nfc-off'), ('nfc-search-variant', 'nfc-search-variant'), ('nfc-tap', 'nfc-tap'), ('nfc-variant', 'nfc-variant'), ('nfc-variant-off', 'nfc-variant-off'), ('ninja', 'ninja'), ('nintendo-game-boy', 'nintendo-game-boy'), ('nintendo-switch', 'nintendo-switch'), ('nintendo-wii', 'nintendo-wii'), ('nintendo-wiiu', 'nintendo-wiiu'), ('nix', 'nix'), ('nodejs', 'nodejs'), ('noodles', 'noodles'), ('not-equal', 'not-equal'), ('not-equal-variant', 'not-equal-variant'), ('note', 'note'), ('note-alert', 'note-alert'), ('note-alert-outline', 'note-alert-outline'), ('note-check', 'note-check'), ('note-check-outline', 'note-check-outline'), ('note-edit', 'note-edit'), ('note-edit-outline', 'note-edit-outline'), ('note-minus', 'note-minus'), ('note-minus-outline', 'note-minus-outline'), ('note-multiple', 'note-multiple'), ('note-multiple-outline', 'note-multiple-outline'), ('note-off', 'note-off'), ('note-off-outline', 'note-off-outline'), ('note-outline', 'note-outline'), ('note-plus', 'note-plus'), ('note-plus-outline', 'note-plus-outline'), ('note-remove', 'note-remove'), ('note-remove-outline', 'note-remove-outline'), ('note-search', 'note-search'), ('note-search-outline', 'note-search-outline'), ('note-text', 'note-text'), ('note-text-outline', 'note-text-outline'), ('notebook', 'notebook'), ('notebook-check', 'notebook-check'), ('notebook-check-outline', 'notebook-check-outline'), ('notebook-edit', 'notebook-edit'), ('notebook-edit-outline', 'notebook-edit-outline'), ('notebook-heart', 'notebook-heart'), ('notebook-heart-outline', 'notebook-heart-outline'), ('notebook-minus', 'notebook-minus'), ('notebook-minus-outline', 'notebook-minus-outline'), ('notebook-multiple', 'notebook-multiple'), ('notebook-outline', 'notebook-outline'), ('notebook-plus', 'notebook-plus'), ('notebook-plus-outline', 'notebook-plus-outline'), ('notebook-remove', 'notebook-remove'), ('notebook-remove-outline', 'notebook-remove-outline'), ('notification-clear-all', 'notification-clear-all'), ('npm', 'npm'), ('npm-variant', 'npm-variant'), ('npm-variant-outline', 'npm-variant-outline'), ('nuke', 'nuke'), ('null', 'null'), ('numeric', 'numeric'), ('numeric-0', 'numeric-0'), ('numeric-0-box', 'numeric-0-box'), ('numeric-0-box-multiple', 'numeric-0-box-multiple'), ('numeric-0-box-multiple-outline', 'numeric-0-box-multiple-outline'), ('numeric-0-box-outline', 'numeric-0-box-outline'), ('numeric-0-circle', 'numeric-0-circle'), ('numeric-0-circle-outline', 'numeric-0-circle-outline'), ('numeric-1', 'numeric-1'), ('numeric-1-box', 'numeric-1-box'), ('numeric-1-box-multiple', 'numeric-1-box-multiple'), ('numeric-1-box-multiple-outline', 'numeric-1-box-multiple-outline'), ('numeric-1-box-outline', 'numeric-1-box-outline'), ('numeric-1-circle', 'numeric-1-circle'), ('numeric-1-circle-outline', 'numeric-1-circle-outline'), ('numeric-10', 'numeric-10'), ('numeric-10-box', 'numeric-10-box'), ('numeric-10-box-multiple', 'numeric-10-box-multiple'), ('numeric-10-box-multiple-outline', 'numeric-10-box-multiple-outline'), ('numeric-10-box-outline', 'numeric-10-box-outline'), ('numeric-10-circle', 'numeric-10-circle'), ('numeric-10-circle-outline', 'numeric-10-circle-outline'), ('numeric-2', 'numeric-2'), ('numeric-2-box', 'numeric-2-box'), ('numeric-2-box-multiple', 'numeric-2-box-multiple'), ('numeric-2-box-multiple-outline', 'numeric-2-box-multiple-outline'), ('numeric-2-box-outline', 'numeric-2-box-outline'), ('numeric-2-circle', 'numeric-2-circle'), ('numeric-2-circle-outline', 'numeric-2-circle-outline'), ('numeric-3', 'numeric-3'), ('numeric-3-box', 'numeric-3-box'), ('numeric-3-box-multiple', 'numeric-3-box-multiple'), ('numeric-3-box-multiple-outline', 'numeric-3-box-multiple-outline'), ('numeric-3-box-outline', 'numeric-3-box-outline'), ('numeric-3-circle', 'numeric-3-circle'), ('numeric-3-circle-outline', 'numeric-3-circle-outline'), ('numeric-4', 'numeric-4'), ('numeric-4-box', 'numeric-4-box'), ('numeric-4-box-multiple', 'numeric-4-box-multiple'), ('numeric-4-box-multiple-outline', 'numeric-4-box-multiple-outline'), ('numeric-4-box-outline', 'numeric-4-box-outline'), ('numeric-4-circle', 'numeric-4-circle'), ('numeric-4-circle-outline', 'numeric-4-circle-outline'), ('numeric-5', 'numeric-5'), ('numeric-5-box', 'numeric-5-box'), ('numeric-5-box-multiple', 'numeric-5-box-multiple'), ('numeric-5-box-multiple-outline', 'numeric-5-box-multiple-outline'), ('numeric-5-box-outline', 'numeric-5-box-outline'), ('numeric-5-circle', 'numeric-5-circle'), ('numeric-5-circle-outline', 'numeric-5-circle-outline'), ('numeric-6', 'numeric-6'), ('numeric-6-box', 'numeric-6-box'), ('numeric-6-box-multiple', 'numeric-6-box-multiple'), ('numeric-6-box-multiple-outline', 'numeric-6-box-multiple-outline'), ('numeric-6-box-outline', 'numeric-6-box-outline'), ('numeric-6-circle', 'numeric-6-circle'), ('numeric-6-circle-outline', 'numeric-6-circle-outline'), ('numeric-7', 'numeric-7'), ('numeric-7-box', 'numeric-7-box'), ('numeric-7-box-multiple', 'numeric-7-box-multiple'), ('numeric-7-box-multiple-outline', 'numeric-7-box-multiple-outline'), ('numeric-7-box-outline', 'numeric-7-box-outline'), ('numeric-7-circle', 'numeric-7-circle'), ('numeric-7-circle-outline', 'numeric-7-circle-outline'), ('numeric-8', 'numeric-8'), ('numeric-8-box', 'numeric-8-box'), ('numeric-8-box-multiple', 'numeric-8-box-multiple'), ('numeric-8-box-multiple-outline', 'numeric-8-box-multiple-outline'), ('numeric-8-box-outline', 'numeric-8-box-outline'), ('numeric-8-circle', 'numeric-8-circle'), ('numeric-8-circle-outline', 'numeric-8-circle-outline'), ('numeric-9', 'numeric-9'), ('numeric-9-box', 'numeric-9-box'), ('numeric-9-box-multiple', 'numeric-9-box-multiple'), ('numeric-9-box-multiple-outline', 'numeric-9-box-multiple-outline'), ('numeric-9-box-outline', 'numeric-9-box-outline'), ('numeric-9-circle', 'numeric-9-circle'), ('numeric-9-circle-outline', 'numeric-9-circle-outline'), ('numeric-9-plus', 'numeric-9-plus'), ('numeric-9-plus-box', 'numeric-9-plus-box'), ('numeric-9-plus-box-multiple', 'numeric-9-plus-box-multiple'), ('numeric-9-plus-box-multiple-outline', 'numeric-9-plus-box-multiple-outline'), ('numeric-9-plus-box-outline', 'numeric-9-plus-box-outline'), ('numeric-9-plus-circle', 'numeric-9-plus-circle'), ('numeric-9-plus-circle-outline', 'numeric-9-plus-circle-outline'), ('numeric-negative-1', 'numeric-negative-1'), ('numeric-off', 'numeric-off'), ('numeric-positive-1', 'numeric-positive-1'), ('nut', 'nut'), ('nutrition', 'nutrition'), ('nuxt', 'nuxt'), ('oar', 'oar'), ('ocarina', 'ocarina'), ('oci', 'oci'), ('ocr', 'ocr'), ('octagon', 'octagon'), ('octagon-outline', 'octagon-outline'), ('octagram', 'octagram'), ('octagram-outline', 'octagram-outline'), ('octahedron', 'octahedron'), ('octahedron-off', 'octahedron-off'), ('odnoklassniki', 'odnoklassniki'), ('offer', 'offer'), ('office-building', 'office-building'), ('office-building-cog', 'office-building-cog'), ('office-building-cog-outline', 'office-building-cog-outline'), ('office-building-marker', 'office-building-marker'), ('office-building-marker-outline', 'office-building-marker-outline'), ('office-building-minus', 'office-building-minus'), ('office-building-minus-outline', 'office-building-minus-outline'), ('office-building-outline', 'office-building-outline'), ('office-building-plus', 'office-building-plus'), ('office-building-plus-outline', 'office-building-plus-outline'), ('office-building-remove', 'office-building-remove'), ('office-building-remove-outline', 'office-building-remove-outline'), ('oil', 'oil'), ('oil-lamp', 'oil-lamp'), ('oil-level', 'oil-level'), ('oil-temperature', 'oil-temperature'), ('om', 'om'), ('omega', 'omega'), ('one-up', 'one-up'), ('onedrive', 'onedrive'), ('onenote', 'onenote'), ('onepassword', 'onepassword'), ('opacity', 'opacity'), ('open-in-app', 'open-in-app'), ('open-in-new', 'open-in-new'), ('open-source-initiative', 'open-source-initiative'), ('openid', 'openid'), ('opera', 'opera'), ('orbit', 'orbit'), ('orbit-variant', 'orbit-variant'), ('order-alphabetical-ascending', 'order-alphabetical-ascending'), ('order-alphabetical-descending', 'order-alphabetical-descending'), ('order-bool-ascending', 'order-bool-ascending'), ('order-bool-ascending-variant', 'order-bool-ascending-variant'), ('order-bool-descending', 'order-bool-descending'), ('order-bool-descending-variant', 'order-bool-descending-variant'), ('order-numeric-ascending', 'order-numeric-ascending'), ('order-numeric-descending', 'order-numeric-descending'), ('origin', 'origin'), ('ornament', 'ornament'), ('ornament-variant', 'ornament-variant'), ('outbox', 'outbox'), ('outdent', 'outdent'), ('outdoor-lamp', 'outdoor-lamp'), ('outlook', 'outlook'), ('overscan', 'overscan'), ('owl', 'owl'), ('pac-man', 'pac-man'), ('package', 'package'), ('package-check', 'package-check'), ('package-down', 'package-down'), ('package-up', 'package-up'), ('package-variant', 'package-variant'), ('package-variant-closed', 'package-variant-closed'), ('package-variant-closed-check', 'package-variant-closed-check'), ('package-variant-closed-minus', 'package-variant-closed-minus'), ('package-variant-closed-plus', 'package-variant-closed-plus'), ('package-variant-closed-remove', 'package-variant-closed-remove'), ('package-variant-minus', 'package-variant-minus'), ('package-variant-plus', 'package-variant-plus'), ('package-variant-remove', 'package-variant-remove'), ('page-first', 'page-first'), ('page-last', 'page-last'), ('page-layout-body', 'page-layout-body'), ('page-layout-footer', 'page-layout-footer'), ('page-layout-header', 'page-layout-header'), ('page-layout-header-footer', 'page-layout-header-footer'), ('page-layout-sidebar-left', 'page-layout-sidebar-left'), ('page-layout-sidebar-right', 'page-layout-sidebar-right'), ('page-next', 'page-next'), ('page-next-outline', 'page-next-outline'), ('page-previous', 'page-previous'), ('page-previous-outline', 'page-previous-outline'), ('pail', 'pail'), ('pail-minus', 'pail-minus'), ('pail-minus-outline', 'pail-minus-outline'), ('pail-off', 'pail-off'), ('pail-off-outline', 'pail-off-outline'), ('pail-outline', 'pail-outline'), ('pail-plus', 'pail-plus'), ('pail-plus-outline', 'pail-plus-outline'), ('pail-remove', 'pail-remove'), ('pail-remove-outline', 'pail-remove-outline'), ('palette', 'palette'), ('palette-advanced', 'palette-advanced'), ('palette-outline', 'palette-outline'), ('palette-swatch', 'palette-swatch'), ('palette-swatch-outline', 'palette-swatch-outline'), ('palette-swatch-variant', 'palette-swatch-variant'), ('palm-tree', 'palm-tree'), ('pan', 'pan'), ('pan-bottom-left', 'pan-bottom-left'), ('pan-bottom-right', 'pan-bottom-right'), ('pan-down', 'pan-down'), ('pan-horizontal', 'pan-horizontal'), ('pan-left', 'pan-left'), ('pan-right', 'pan-right'), ('pan-top-left', 'pan-top-left'), ('pan-top-right', 'pan-top-right'), ('pan-up', 'pan-up'), ('pan-vertical', 'pan-vertical'), ('panda', 'panda'), ('pandora', 'pandora'), ('panorama', 'panorama'), ('panorama-fisheye', 'panorama-fisheye'), ('panorama-horizontal', 'panorama-horizontal'), ('panorama-horizontal-outline', 'panorama-horizontal-outline'), ('panorama-outline', 'panorama-outline'), ('panorama-sphere', 'panorama-sphere'), ('panorama-sphere-outline', 'panorama-sphere-outline'), ('panorama-variant', 'panorama-variant'), ('panorama-variant-outline', 'panorama-variant-outline'), ('panorama-vertical', 'panorama-vertical'), ('panorama-vertical-outline', 'panorama-vertical-outline'), ('panorama-wide-angle', 'panorama-wide-angle'), ('panorama-wide-angle-outline', 'panorama-wide-angle-outline'), ('paper-cut-vertical', 'paper-cut-vertical'), ('paper-roll', 'paper-roll'), ('paper-roll-outline', 'paper-roll-outline'), ('paperclip', 'paperclip'), ('paperclip-check', 'paperclip-check'), ('paperclip-lock', 'paperclip-lock'), ('paperclip-minus', 'paperclip-minus'), ('paperclip-off', 'paperclip-off'), ('paperclip-plus', 'paperclip-plus'), ('paperclip-remove', 'paperclip-remove'), ('parachute', 'parachute'), ('parachute-outline', 'parachute-outline'), ('paragliding', 'paragliding'), ('parking', 'parking'), ('party-popper', 'party-popper'), ('passport', 'passport'), ('passport-biometric', 'passport-biometric'), ('pasta', 'pasta'), ('patio-heater', 'patio-heater'), ('patreon', 'patreon'), ('pause', 'pause'), ('pause-box', 'pause-box'), ('pause-box-outline', 'pause-box-outline'), ('pause-circle', 'pause-circle'), ('pause-circle-outline', 'pause-circle-outline'), ('pause-octagon', 'pause-octagon'), ('pause-octagon-outline', 'pause-octagon-outline'), ('paw', 'paw'), ('paw-off', 'paw-off'), ('paw-off-outline', 'paw-off-outline'), ('paw-outline', 'paw-outline'), ('paypal', 'paypal'), ('peace', 'peace'), ('peanut', 'peanut'), ('peanut-off', 'peanut-off'), ('peanut-off-outline', 'peanut-off-outline'), ('peanut-outline', 'peanut-outline'), ('pen', 'pen'), ('pen-lock', 'pen-lock'), ('pen-minus', 'pen-minus'), ('pen-off', 'pen-off'), ('pen-plus', 'pen-plus'), ('pen-remove', 'pen-remove'), ('pencil', 'pencil'), ('pencil-box', 'pencil-box'), ('pencil-box-multiple', 'pencil-box-multiple'), ('pencil-box-multiple-outline', 'pencil-box-multiple-outline'), ('pencil-box-outline', 'pencil-box-outline'), ('pencil-circle', 'pencil-circle'), ('pencil-circle-outline', 'pencil-circle-outline'), ('pencil-lock', 'pencil-lock'), ('pencil-lock-outline', 'pencil-lock-outline'), ('pencil-minus', 'pencil-minus'), ('pencil-minus-outline', 'pencil-minus-outline'), ('pencil-off', 'pencil-off'), ('pencil-off-outline', 'pencil-off-outline'), ('pencil-outline', 'pencil-outline'), ('pencil-plus', 'pencil-plus'), ('pencil-plus-outline', 'pencil-plus-outline'), ('pencil-remove', 'pencil-remove'), ('pencil-remove-outline', 'pencil-remove-outline'), ('pencil-ruler', 'pencil-ruler'), ('penguin', 'penguin'), ('pentagon', 'pentagon'), ('pentagon-outline', 'pentagon-outline'), ('pentagram', 'pentagram'), ('percent', 'percent'), ('percent-box', 'percent-box'), ('percent-box-outline', 'percent-box-outline'), ('percent-circle', 'percent-circle'), ('percent-circle-outline', 'percent-circle-outline'), ('percent-outline', 'percent-outline'), ('periodic-table', 'periodic-table'), ('periscope', 'periscope'), ('perspective-less', 'perspective-less'), ('perspective-more', 'perspective-more'), ('ph', 'ph'), ('phone', 'phone'), ('phone-alert', 'phone-alert'), ('phone-alert-outline', 'phone-alert-outline'), ('phone-bluetooth', 'phone-bluetooth'), ('phone-bluetooth-outline', 'phone-bluetooth-outline'), ('phone-cancel', 'phone-cancel'), ('phone-cancel-outline', 'phone-cancel-outline'), ('phone-check', 'phone-check'), ('phone-check-outline', 'phone-check-outline'), ('phone-classic', 'phone-classic'), ('phone-classic-off', 'phone-classic-off'), ('phone-clock', 'phone-clock'), ('phone-dial', 'phone-dial'), ('phone-dial-outline', 'phone-dial-outline'), ('phone-forward', 'phone-forward'), ('phone-forward-outline', 'phone-forward-outline'), ('phone-hangup', 'phone-hangup'), ('phone-hangup-outline', 'phone-hangup-outline'), ('phone-in-talk', 'phone-in-talk'), ('phone-in-talk-outline', 'phone-in-talk-outline'), ('phone-incoming', 'phone-incoming'), ('phone-incoming-outgoing', 'phone-incoming-outgoing'), ('phone-incoming-outgoing-outline', 'phone-incoming-outgoing-outline'), ('phone-incoming-outline', 'phone-incoming-outline'), ('phone-lock', 'phone-lock'), ('phone-lock-outline', 'phone-lock-outline'), ('phone-log', 'phone-log'), ('phone-log-outline', 'phone-log-outline'), ('phone-message', 'phone-message'), ('phone-message-outline', 'phone-message-outline'), ('phone-minus', 'phone-minus'), ('phone-minus-outline', 'phone-minus-outline'), ('phone-missed', 'phone-missed'), ('phone-missed-outline', 'phone-missed-outline'), ('phone-off', 'phone-off'), ('phone-off-outline', 'phone-off-outline'), ('phone-outgoing', 'phone-outgoing'), ('phone-outgoing-outline', 'phone-outgoing-outline'), ('phone-outline', 'phone-outline'), ('phone-paused', 'phone-paused'), ('phone-paused-outline', 'phone-paused-outline'), ('phone-plus', 'phone-plus'), ('phone-plus-outline', 'phone-plus-outline'), ('phone-refresh', 'phone-refresh'), ('phone-refresh-outline', 'phone-refresh-outline'), ('phone-remove', 'phone-remove'), ('phone-remove-outline', 'phone-remove-outline'), ('phone-return', 'phone-return'), ('phone-return-outline', 'phone-return-outline'), ('phone-ring', 'phone-ring'), ('phone-ring-outline', 'phone-ring-outline'), ('phone-rotate-landscape', 'phone-rotate-landscape'), ('phone-rotate-portrait', 'phone-rotate-portrait'), ('phone-settings', 'phone-settings'), ('phone-settings-outline', 'phone-settings-outline'), ('phone-sync', 'phone-sync'), ('phone-sync-outline', 'phone-sync-outline'), ('phone-voip', 'phone-voip'), ('pi', 'pi'), ('pi-box', 'pi-box'), ('pi-hole', 'pi-hole'), ('piano', 'piano'), ('piano-off', 'piano-off'), ('pickaxe', 'pickaxe'), ('picture-in-picture-bottom-right', 'picture-in-picture-bottom-right'), ('picture-in-picture-bottom-right-outline', 'picture-in-picture-bottom-right-outline'), ('picture-in-picture-top-right', 'picture-in-picture-top-right'), ('picture-in-picture-top-right-outline', 'picture-in-picture-top-right-outline'), ('pier', 'pier'), ('pier-crane', 'pier-crane'), ('pig', 'pig'), ('pig-variant', 'pig-variant'), ('pig-variant-outline', 'pig-variant-outline'), ('piggy-bank', 'piggy-bank'), ('piggy-bank-outline', 'piggy-bank-outline'), ('pill', 'pill'), ('pill-multiple', 'pill-multiple'), ('pill-off', 'pill-off'), ('pillar', 'pillar'), ('pin', 'pin'), ('pin-off', 'pin-off'), ('pin-off-outline', 'pin-off-outline'), ('pin-outline', 'pin-outline'), ('pine-tree', 'pine-tree'), ('pine-tree-box', 'pine-tree-box'), ('pine-tree-fire', 'pine-tree-fire'), ('pinterest', 'pinterest'), ('pinterest-box', 'pinterest-box'), ('pinwheel', 'pinwheel'), ('pinwheel-outline', 'pinwheel-outline'), ('pipe', 'pipe'), ('pipe-disconnected', 'pipe-disconnected'), ('pipe-leak', 'pipe-leak'), ('pipe-valve', 'pipe-valve'), ('pipe-wrench', 'pipe-wrench'), ('pirate', 'pirate'), ('pistol', 'pistol'), ('piston', 'piston'), ('pitchfork', 'pitchfork'), ('pizza', 'pizza'), ('plane-car', 'plane-car'), ('plane-train', 'plane-train'), ('play', 'play'), ('play-box', 'play-box'), ('play-box-lock', 'play-box-lock'), ('play-box-lock-open', 'play-box-lock-open'), ('play-box-lock-open-outline', 'play-box-lock-open-outline'), ('play-box-lock-outline', 'play-box-lock-outline'), ('play-box-multiple', 'play-box-multiple'), ('play-box-multiple-outline', 'play-box-multiple-outline'), ('play-box-outline', 'play-box-outline'), ('play-circle', 'play-circle'), ('play-circle-outline', 'play-circle-outline'), ('play-network', 'play-network'), ('play-network-outline', 'play-network-outline'), ('play-outline', 'play-outline'), ('play-pause', 'play-pause'), ('play-protected-content', 'play-protected-content'), ('play-speed', 'play-speed'), ('playlist-check', 'playlist-check'), ('playlist-edit', 'playlist-edit'), ('playlist-minus', 'playlist-minus'), ('playlist-music', 'playlist-music'), ('playlist-music-outline', 'playlist-music-outline'), ('playlist-play', 'playlist-play'), ('playlist-plus', 'playlist-plus'), ('playlist-remove', 'playlist-remove'), ('playlist-star', 'playlist-star'), ('plex', 'plex'), ('pliers', 'pliers'), ('plus', 'plus'), ('plus-box', 'plus-box'), ('plus-box-multiple', 'plus-box-multiple'), ('plus-box-multiple-outline', 'plus-box-multiple-outline'), ('plus-box-outline', 'plus-box-outline'), ('plus-circle', 'plus-circle'), ('plus-circle-multiple', 'plus-circle-multiple'), ('plus-circle-multiple-outline', 'plus-circle-multiple-outline'), ('plus-circle-outline', 'plus-circle-outline'), ('plus-lock', 'plus-lock'), ('plus-lock-open', 'plus-lock-open'), ('plus-minus', 'plus-minus'), ('plus-minus-box', 'plus-minus-box'), ('plus-minus-variant', 'plus-minus-variant'), ('plus-network', 'plus-network'), ('plus-network-outline', 'plus-network-outline'), ('plus-outline', 'plus-outline'), ('plus-thick', 'plus-thick'), ('pocket', 'pocket'), ('podcast', 'podcast'), ('podium', 'podium'), ('podium-bronze', 'podium-bronze'), ('podium-gold', 'podium-gold'), ('podium-silver', 'podium-silver'), ('point-of-sale', 'point-of-sale'), ('pokeball', 'pokeball'), ('pokemon-go', 'pokemon-go'), ('poker-chip', 'poker-chip'), ('polaroid', 'polaroid'), ('police-badge', 'police-badge'), ('police-badge-outline', 'police-badge-outline'), ('police-station', 'police-station'), ('poll', 'poll'), ('polo', 'polo'), ('polymer', 'polymer'), ('pool', 'pool'), ('pool-thermometer', 'pool-thermometer'), ('popcorn', 'popcorn'), ('post', 'post'), ('post-lamp', 'post-lamp'), ('post-outline', 'post-outline'), ('postage-stamp', 'postage-stamp'), ('pot', 'pot'), ('pot-mix', 'pot-mix'), ('pot-mix-outline', 'pot-mix-outline'), ('pot-outline', 'pot-outline'), ('pot-steam', 'pot-steam'), ('pot-steam-outline', 'pot-steam-outline'), ('pound', 'pound'), ('pound-box', 'pound-box'), ('pound-box-outline', 'pound-box-outline'), ('power', 'power'), ('power-cycle', 'power-cycle'), ('power-off', 'power-off'), ('power-on', 'power-on'), ('power-plug', 'power-plug'), ('power-plug-off', 'power-plug-off'), ('power-plug-off-outline', 'power-plug-off-outline'), ('power-plug-outline', 'power-plug-outline'), ('power-settings', 'power-settings'), ('power-sleep', 'power-sleep'), ('power-socket', 'power-socket'), ('power-socket-au', 'power-socket-au'), ('power-socket-ch', 'power-socket-ch'), ('power-socket-de', 'power-socket-de'), ('power-socket-eu', 'power-socket-eu'), ('power-socket-fr', 'power-socket-fr'), ('power-socket-it', 'power-socket-it'), ('power-socket-jp', 'power-socket-jp'), ('power-socket-uk', 'power-socket-uk'), ('power-socket-us', 'power-socket-us'), ('power-standby', 'power-standby'), ('powershell', 'powershell'), ('prescription', 'prescription'), ('presentation', 'presentation'), ('presentation-play', 'presentation-play'), ('pretzel', 'pretzel'), ('prezi', 'prezi'), ('printer', 'printer'), ('printer-3d', 'printer-3d'), ('printer-3d-nozzle', 'printer-3d-nozzle'), ('printer-3d-nozzle-alert', 'printer-3d-nozzle-alert'), ('printer-3d-nozzle-alert-outline', 'printer-3d-nozzle-alert-outline'), ('printer-3d-nozzle-heat', 'printer-3d-nozzle-heat'), ('printer-3d-nozzle-heat-outline', 'printer-3d-nozzle-heat-outline'), ('printer-3d-nozzle-off', 'printer-3d-nozzle-off'), ('printer-3d-nozzle-off-outline', 'printer-3d-nozzle-off-outline'), ('printer-3d-nozzle-outline', 'printer-3d-nozzle-outline'), ('printer-3d-off', 'printer-3d-off'), ('printer-alert', 'printer-alert'), ('printer-check', 'printer-check'), ('printer-eye', 'printer-eye'), ('printer-off', 'printer-off'), ('printer-off-outline', 'printer-off-outline'), ('printer-outline', 'printer-outline'), ('printer-pos', 'printer-pos'), ('printer-search', 'printer-search'), ('printer-settings', 'printer-settings'), ('printer-wireless', 'printer-wireless'), ('priority-high', 'priority-high'), ('priority-low', 'priority-low'), ('professional-hexagon', 'professional-hexagon'), ('progress-alert', 'progress-alert'), ('progress-check', 'progress-check'), ('progress-clock', 'progress-clock'), ('progress-close', 'progress-close'), ('progress-download', 'progress-download'), ('progress-helper', 'progress-helper'), ('progress-pencil', 'progress-pencil'), ('progress-question', 'progress-question'), ('progress-star', 'progress-star'), ('progress-upload', 'progress-upload'), ('progress-wrench', 'progress-wrench'), ('projector', 'projector'), ('projector-off', 'projector-off'), ('projector-screen', 'projector-screen'), ('projector-screen-off', 'projector-screen-off'), ('projector-screen-off-outline', 'projector-screen-off-outline'), ('projector-screen-outline', 'projector-screen-outline'), ('projector-screen-variant', 'projector-screen-variant'), ('projector-screen-variant-off', 'projector-screen-variant-off'), ('projector-screen-variant-off-outline', 'projector-screen-variant-off-outline'), ('projector-screen-variant-outline', 'projector-screen-variant-outline'), ('propane-tank', 'propane-tank'), ('propane-tank-outline', 'propane-tank-outline'), ('protocol', 'protocol'), ('publish', 'publish'), ('publish-off', 'publish-off'), ('pulse', 'pulse'), ('pump', 'pump'), ('pump-off', 'pump-off'), ('pumpkin', 'pumpkin'), ('purse', 'purse'), ('purse-outline', 'purse-outline'), ('puzzle', 'puzzle'), ('puzzle-check', 'puzzle-check'), ('puzzle-check-outline', 'puzzle-check-outline'), ('puzzle-edit', 'puzzle-edit'), ('puzzle-edit-outline', 'puzzle-edit-outline'), ('puzzle-heart', 'puzzle-heart'), ('puzzle-heart-outline', 'puzzle-heart-outline'), ('puzzle-minus', 'puzzle-minus'), ('puzzle-minus-outline', 'puzzle-minus-outline'), ('puzzle-outline', 'puzzle-outline'), ('puzzle-plus', 'puzzle-plus'), ('puzzle-plus-outline', 'puzzle-plus-outline'), ('puzzle-remove', 'puzzle-remove'), ('puzzle-remove-outline', 'puzzle-remove-outline'), ('puzzle-star', 'puzzle-star'), ('puzzle-star-outline', 'puzzle-star-outline'), ('pyramid', 'pyramid'), ('pyramid-off', 'pyramid-off'), ('qi', 'qi'), ('qqchat', 'qqchat'), ('qrcode', 'qrcode'), ('qrcode-edit', 'qrcode-edit'), ('qrcode-minus', 'qrcode-minus'), ('qrcode-plus', 'qrcode-plus'), ('qrcode-remove', 'qrcode-remove'), ('qrcode-scan', 'qrcode-scan'), ('quadcopter', 'quadcopter'), ('quality-high', 'quality-high'), ('quality-low', 'quality-low'), ('quality-medium', 'quality-medium'), ('quick-reply', 'quick-reply'), ('quicktime', 'quicktime'), ('quora', 'quora'), ('rabbit', 'rabbit'), ('rabbit-variant', 'rabbit-variant'), ('rabbit-variant-outline', 'rabbit-variant-outline'), ('racing-helmet', 'racing-helmet'), ('racquetball', 'racquetball'), ('radar', 'radar'), ('radiator', 'radiator'), ('radiator-disabled', 'radiator-disabled'), ('radiator-off', 'radiator-off'), ('radio', 'radio'), ('radio-am', 'radio-am'), ('radio-fm', 'radio-fm'), ('radio-handheld', 'radio-handheld'), ('radio-off', 'radio-off'), ('radio-tower', 'radio-tower'), ('radioactive', 'radioactive'), ('radioactive-circle', 'radioactive-circle'), ('radioactive-circle-outline', 'radioactive-circle-outline'), ('radioactive-off', 'radioactive-off'), ('radiobox-blank', 'radiobox-blank'), ('radiobox-marked', 'radiobox-marked'), ('radiology-box', 'radiology-box'), ('radiology-box-outline', 'radiology-box-outline'), ('radius', 'radius'), ('radius-outline', 'radius-outline'), ('railroad-light', 'railroad-light'), ('rake', 'rake'), ('raspberry-pi', 'raspberry-pi'), ('raw', 'raw'), ('raw-off', 'raw-off'), ('ray-end', 'ray-end'), ('ray-end-arrow', 'ray-end-arrow'), ('ray-start', 'ray-start'), ('ray-start-arrow', 'ray-start-arrow'), ('ray-start-end', 'ray-start-end'), ('ray-start-vertex-end', 'ray-start-vertex-end'), ('ray-vertex', 'ray-vertex'), ('razor-double-edge', 'razor-double-edge'), ('razor-single-edge', 'razor-single-edge'), ('rdio', 'rdio'), ('react', 'react'), ('read', 'read'), ('receipt', 'receipt'), ('receipt-outline', 'receipt-outline'), ('receipt-text', 'receipt-text'), ('receipt-text-check', 'receipt-text-check'), ('receipt-text-check-outline', 'receipt-text-check-outline'), ('receipt-text-minus', 'receipt-text-minus'), ('receipt-text-minus-outline', 'receipt-text-minus-outline'), ('receipt-text-outline', 'receipt-text-outline'), ('receipt-text-plus', 'receipt-text-plus'), ('receipt-text-plus-outline', 'receipt-text-plus-outline'), ('receipt-text-remove', 'receipt-text-remove'), ('receipt-text-remove-outline', 'receipt-text-remove-outline'), ('record', 'record'), ('record-circle', 'record-circle'), ('record-circle-outline', 'record-circle-outline'), ('record-player', 'record-player'), ('record-rec', 'record-rec'), ('rectangle', 'rectangle'), ('rectangle-outline', 'rectangle-outline'), ('recycle', 'recycle'), ('recycle-variant', 'recycle-variant'), ('reddit', 'reddit'), ('redhat', 'redhat'), ('redo', 'redo'), ('redo-variant', 'redo-variant'), ('reflect-horizontal', 'reflect-horizontal'), ('reflect-vertical', 'reflect-vertical'), ('refresh', 'refresh'), ('refresh-auto', 'refresh-auto'), ('refresh-circle', 'refresh-circle'), ('regex', 'regex'), ('registered-trademark', 'registered-trademark'), ('reiterate', 'reiterate'), ('relation-many-to-many', 'relation-many-to-many'), ('relation-many-to-one', 'relation-many-to-one'), ('relation-many-to-one-or-many', 'relation-many-to-one-or-many'), ('relation-many-to-only-one', 'relation-many-to-only-one'), ('relation-many-to-zero-or-many', 'relation-many-to-zero-or-many'), ('relation-many-to-zero-or-one', 'relation-many-to-zero-or-one'), ('relation-one-or-many-to-many', 'relation-one-or-many-to-many'), ('relation-one-or-many-to-one', 'relation-one-or-many-to-one'), ('relation-one-or-many-to-one-or-many', 'relation-one-or-many-to-one-or-many'), ('relation-one-or-many-to-only-one', 'relation-one-or-many-to-only-one'), ('relation-one-or-many-to-zero-or-many', 'relation-one-or-many-to-zero-or-many'), ('relation-one-or-many-to-zero-or-one', 'relation-one-or-many-to-zero-or-one'), ('relation-one-to-many', 'relation-one-to-many'), ('relation-one-to-one', 'relation-one-to-one'), ('relation-one-to-one-or-many', 'relation-one-to-one-or-many'), ('relation-one-to-only-one', 'relation-one-to-only-one'), ('relation-one-to-zero-or-many', 'relation-one-to-zero-or-many'), ('relation-one-to-zero-or-one', 'relation-one-to-zero-or-one'), ('relation-only-one-to-many', 'relation-only-one-to-many'), ('relation-only-one-to-one', 'relation-only-one-to-one'), ('relation-only-one-to-one-or-many', 'relation-only-one-to-one-or-many'), ('relation-only-one-to-only-one', 'relation-only-one-to-only-one'), ('relation-only-one-to-zero-or-many', 'relation-only-one-to-zero-or-many'), ('relation-only-one-to-zero-or-one', 'relation-only-one-to-zero-or-one'), ('relation-zero-or-many-to-many', 'relation-zero-or-many-to-many'), ('relation-zero-or-many-to-one', 'relation-zero-or-many-to-one'), ('relation-zero-or-many-to-one-or-many', 'relation-zero-or-many-to-one-or-many'), ('relation-zero-or-many-to-only-one', 'relation-zero-or-many-to-only-one'), ('relation-zero-or-many-to-zero-or-many', 'relation-zero-or-many-to-zero-or-many'), ('relation-zero-or-many-to-zero-or-one', 'relation-zero-or-many-to-zero-or-one'), ('relation-zero-or-one-to-many', 'relation-zero-or-one-to-many'), ('relation-zero-or-one-to-one', 'relation-zero-or-one-to-one'), ('relation-zero-or-one-to-one-or-many', 'relation-zero-or-one-to-one-or-many'), ('relation-zero-or-one-to-only-one', 'relation-zero-or-one-to-only-one'), ('relation-zero-or-one-to-zero-or-many', 'relation-zero-or-one-to-zero-or-many'), ('relation-zero-or-one-to-zero-or-one', 'relation-zero-or-one-to-zero-or-one'), ('relative-scale', 'relative-scale'), ('reload', 'reload'), ('reload-alert', 'reload-alert'), ('reminder', 'reminder'), ('remote', 'remote'), ('remote-desktop', 'remote-desktop'), ('remote-off', 'remote-off'), ('remote-tv', 'remote-tv'), ('remote-tv-off', 'remote-tv-off'), ('rename-box', 'rename-box'), ('reorder-horizontal', 'reorder-horizontal'), ('reorder-vertical', 'reorder-vertical'), ('repeat', 'repeat'), ('repeat-off', 'repeat-off'), ('repeat-once', 'repeat-once'), ('repeat-variant', 'repeat-variant'), ('replay', 'replay'), ('reply', 'reply'), ('reply-all', 'reply-all'), ('reply-all-outline', 'reply-all-outline'), ('reply-circle', 'reply-circle'), ('reply-outline', 'reply-outline'), ('reproduction', 'reproduction'), ('resistor', 'resistor'), ('resistor-nodes', 'resistor-nodes'), ('resize', 'resize'), ('resize-bottom-right', 'resize-bottom-right'), ('responsive', 'responsive'), ('restart', 'restart'), ('restart-alert', 'restart-alert'), ('restart-off', 'restart-off'), ('restore', 'restore'), ('restore-alert', 'restore-alert'), ('rewind', 'rewind'), ('rewind-10', 'rewind-10'), ('rewind-15', 'rewind-15'), ('rewind-30', 'rewind-30'), ('rewind-45', 'rewind-45'), ('rewind-5', 'rewind-5'), ('rewind-60', 'rewind-60'), ('rewind-outline', 'rewind-outline'), ('rhombus', 'rhombus'), ('rhombus-medium', 'rhombus-medium'), ('rhombus-medium-outline', 'rhombus-medium-outline'), ('rhombus-outline', 'rhombus-outline'), ('rhombus-split', 'rhombus-split'), ('rhombus-split-outline', 'rhombus-split-outline'), ('ribbon', 'ribbon'), ('rice', 'rice'), ('rickshaw', 'rickshaw'), ('rickshaw-electric', 'rickshaw-electric'), ('ring', 'ring'), ('rivet', 'rivet'), ('road', 'road'), ('road-variant', 'road-variant'), ('robber', 'robber'), ('robot', 'robot'), ('robot-angry', 'robot-angry'), ('robot-angry-outline', 'robot-angry-outline'), ('robot-confused', 'robot-confused'), ('robot-confused-outline', 'robot-confused-outline'), ('robot-dead', 'robot-dead'), ('robot-dead-outline', 'robot-dead-outline'), ('robot-excited', 'robot-excited'), ('robot-excited-outline', 'robot-excited-outline'), ('robot-happy', 'robot-happy'), ('robot-happy-outline', 'robot-happy-outline'), ('robot-industrial', 'robot-industrial'), ('robot-industrial-outline', 'robot-industrial-outline'), ('robot-love', 'robot-love'), ('robot-love-outline', 'robot-love-outline'), ('robot-mower', 'robot-mower'), ('robot-mower-outline', 'robot-mower-outline'), ('robot-off', 'robot-off'), ('robot-off-outline', 'robot-off-outline'), ('robot-outline', 'robot-outline'), ('robot-vacuum', 'robot-vacuum'), ('robot-vacuum-alert', 'robot-vacuum-alert'), ('robot-vacuum-variant', 'robot-vacuum-variant'), ('robot-vacuum-variant-alert', 'robot-vacuum-variant-alert'), ('rocket', 'rocket'), ('rocket-launch', 'rocket-launch'), ('rocket-launch-outline', 'rocket-launch-outline'), ('rocket-outline', 'rocket-outline'), ('rodent', 'rodent'), ('roller-shade', 'roller-shade'), ('roller-shade-closed', 'roller-shade-closed'), ('roller-skate', 'roller-skate'), ('roller-skate-off', 'roller-skate-off'), ('rollerblade', 'rollerblade'), ('rollerblade-off', 'rollerblade-off'), ('rollupjs', 'rollupjs'), ('rolodex', 'rolodex'), ('rolodex-outline', 'rolodex-outline'), ('roman-numeral-1', 'roman-numeral-1'), ('roman-numeral-10', 'roman-numeral-10'), ('roman-numeral-2', 'roman-numeral-2'), ('roman-numeral-3', 'roman-numeral-3'), ('roman-numeral-4', 'roman-numeral-4'), ('roman-numeral-5', 'roman-numeral-5'), ('roman-numeral-6', 'roman-numeral-6'), ('roman-numeral-7', 'roman-numeral-7'), ('roman-numeral-8', 'roman-numeral-8'), ('roman-numeral-9', 'roman-numeral-9'), ('room-service', 'room-service'), ('room-service-outline', 'room-service-outline'), ('rotate-360', 'rotate-360'), ('rotate-3d', 'rotate-3d'), ('rotate-3d-variant', 'rotate-3d-variant'), ('rotate-left', 'rotate-left'), ('rotate-left-variant', 'rotate-left-variant'), ('rotate-orbit', 'rotate-orbit'), ('rotate-right', 'rotate-right'), ('rotate-right-variant', 'rotate-right-variant'), ('rounded-corner', 'rounded-corner'), ('router', 'router'), ('router-network', 'router-network'), ('router-wireless', 'router-wireless'), ('router-wireless-off', 'router-wireless-off'), ('router-wireless-settings', 'router-wireless-settings'), ('routes', 'routes'), ('routes-clock', 'routes-clock'), ('rowing', 'rowing'), ('rss', 'rss'), ('rss-box', 'rss-box'), ('rss-off', 'rss-off'), ('rug', 'rug'), ('rugby', 'rugby'), ('ruler', 'ruler'), ('ruler-square', 'ruler-square'), ('ruler-square-compass', 'ruler-square-compass'), ('run', 'run'), ('run-fast', 'run-fast'), ('rv-truck', 'rv-truck'), ('sack', 'sack'), ('sack-percent', 'sack-percent'), ('safe', 'safe'), ('safe-square', 'safe-square'), ('safe-square-outline', 'safe-square-outline'), ('safety-goggles', 'safety-goggles'), ('safety-googles', 'safety-googles'), ('sail-boat', 'sail-boat'), ('sail-boat-sink', 'sail-boat-sink'), ('sale', 'sale'), ('sale-outline', 'sale-outline'), ('salesforce', 'salesforce'), ('sass', 'sass'), ('satellite', 'satellite'), ('satellite-uplink', 'satellite-uplink'), ('satellite-variant', 'satellite-variant'), ('sausage', 'sausage'), ('sausage-off', 'sausage-off'), ('saw-blade', 'saw-blade'), ('sawtooth-wave', 'sawtooth-wave'), ('saxophone', 'saxophone'), ('scale', 'scale'), ('scale-balance', 'scale-balance'), ('scale-bathroom', 'scale-bathroom'), ('scale-off', 'scale-off'), ('scale-unbalanced', 'scale-unbalanced'), ('scan-helper', 'scan-helper'), ('scanner', 'scanner'), ('scanner-off', 'scanner-off'), ('scatter-plot', 'scatter-plot'), ('scatter-plot-outline', 'scatter-plot-outline'), ('scent', 'scent'), ('scent-off', 'scent-off'), ('school', 'school'), ('school-outline', 'school-outline'), ('scissors-cutting', 'scissors-cutting'), ('scooter', 'scooter'), ('scooter-electric', 'scooter-electric'), ('scoreboard', 'scoreboard'), ('scoreboard-outline', 'scoreboard-outline'), ('screen-rotation', 'screen-rotation'), ('screen-rotation-lock', 'screen-rotation-lock'), ('screw-flat-top', 'screw-flat-top'), ('screw-lag', 'screw-lag'), ('screw-machine-flat-top', 'screw-machine-flat-top'), ('screw-machine-round-top', 'screw-machine-round-top'), ('screw-round-top', 'screw-round-top'), ('screwdriver', 'screwdriver'), ('script', 'script'), ('script-outline', 'script-outline'), ('script-text', 'script-text'), ('script-text-key', 'script-text-key'), ('script-text-key-outline', 'script-text-key-outline'), ('script-text-outline', 'script-text-outline'), ('script-text-play', 'script-text-play'), ('script-text-play-outline', 'script-text-play-outline'), ('sd', 'sd'), ('seal', 'seal'), ('seal-variant', 'seal-variant'), ('search-web', 'search-web'), ('seat', 'seat'), ('seat-flat', 'seat-flat'), ('seat-flat-angled', 'seat-flat-angled'), ('seat-individual-suite', 'seat-individual-suite'), ('seat-legroom-extra', 'seat-legroom-extra'), ('seat-legroom-normal', 'seat-legroom-normal'), ('seat-legroom-reduced', 'seat-legroom-reduced'), ('seat-outline', 'seat-outline'), ('seat-passenger', 'seat-passenger'), ('seat-recline-extra', 'seat-recline-extra'), ('seat-recline-normal', 'seat-recline-normal'), ('seatbelt', 'seatbelt'), ('security', 'security'), ('security-close', 'security-close'), ('security-network', 'security-network'), ('seed', 'seed'), ('seed-off', 'seed-off'), ('seed-off-outline', 'seed-off-outline'), ('seed-outline', 'seed-outline'), ('seed-plus', 'seed-plus'), ('seed-plus-outline', 'seed-plus-outline'), ('seesaw', 'seesaw'), ('segment', 'segment'), ('select', 'select'), ('select-all', 'select-all'), ('select-arrow-down', 'select-arrow-down'), ('select-arrow-up', 'select-arrow-up'), ('select-color', 'select-color'), ('select-compare', 'select-compare'), ('select-drag', 'select-drag'), ('select-group', 'select-group'), ('select-inverse', 'select-inverse'), ('select-marker', 'select-marker'), ('select-multiple', 'select-multiple'), ('select-multiple-marker', 'select-multiple-marker'), ('select-off', 'select-off'), ('select-place', 'select-place'), ('select-remove', 'select-remove'), ('select-search', 'select-search'), ('selection', 'selection'), ('selection-drag', 'selection-drag'), ('selection-ellipse', 'selection-ellipse'), ('selection-ellipse-arrow-inside', 'selection-ellipse-arrow-inside'), ('selection-ellipse-remove', 'selection-ellipse-remove'), ('selection-lasso', 'selection-lasso'), ('selection-marker', 'selection-marker'), ('selection-multiple', 'selection-multiple'), ('selection-multiple-marker', 'selection-multiple-marker'), ('selection-off', 'selection-off'), ('selection-remove', 'selection-remove'), ('selection-search', 'selection-search'), ('semantic-web', 'semantic-web'), ('send', 'send'), ('send-check', 'send-check'), ('send-check-outline', 'send-check-outline'), ('send-circle', 'send-circle'), ('send-circle-outline', 'send-circle-outline'), ('send-clock', 'send-clock'), ('send-clock-outline', 'send-clock-outline'), ('send-lock', 'send-lock'), ('send-lock-outline', 'send-lock-outline'), ('send-outline', 'send-outline'), ('serial-port', 'serial-port'), ('server', 'server'), ('server-minus', 'server-minus'), ('server-network', 'server-network'), ('server-network-off', 'server-network-off'), ('server-off', 'server-off'), ('server-plus', 'server-plus'), ('server-remove', 'server-remove'), ('server-security', 'server-security'), ('set-all', 'set-all'), ('set-center', 'set-center'), ('set-center-right', 'set-center-right'), ('set-left', 'set-left'), ('set-left-center', 'set-left-center'), ('set-left-right', 'set-left-right'), ('set-merge', 'set-merge'), ('set-none', 'set-none'), ('set-right', 'set-right'), ('set-split', 'set-split'), ('set-square', 'set-square'), ('set-top-box', 'set-top-box'), ('settings-helper', 'settings-helper'), ('shaker', 'shaker'), ('shaker-outline', 'shaker-outline'), ('shape', 'shape'), ('shape-circle-plus', 'shape-circle-plus'), ('shape-outline', 'shape-outline'), ('shape-oval-plus', 'shape-oval-plus'), ('shape-plus', 'shape-plus'), ('shape-polygon-plus', 'shape-polygon-plus'), ('shape-rectangle-plus', 'shape-rectangle-plus'), ('shape-square-plus', 'shape-square-plus'), ('shape-square-rounded-plus', 'shape-square-rounded-plus'), ('share', 'share'), ('share-all', 'share-all'), ('share-all-outline', 'share-all-outline'), ('share-circle', 'share-circle'), ('share-off', 'share-off'), ('share-off-outline', 'share-off-outline'), ('share-outline', 'share-outline'), ('share-variant', 'share-variant'), ('share-variant-outline', 'share-variant-outline'), ('shark', 'shark'), ('shark-fin', 'shark-fin'), ('shark-fin-outline', 'shark-fin-outline'), ('shark-off', 'shark-off'), ('sheep', 'sheep'), ('shield', 'shield'), ('shield-account', 'shield-account'), ('shield-account-outline', 'shield-account-outline'), ('shield-account-variant', 'shield-account-variant'), ('shield-account-variant-outline', 'shield-account-variant-outline'), ('shield-airplane', 'shield-airplane'), ('shield-airplane-outline', 'shield-airplane-outline'), ('shield-alert', 'shield-alert'), ('shield-alert-outline', 'shield-alert-outline'), ('shield-bug', 'shield-bug'), ('shield-bug-outline', 'shield-bug-outline'), ('shield-car', 'shield-car'), ('shield-check', 'shield-check'), ('shield-check-outline', 'shield-check-outline'), ('shield-cross', 'shield-cross'), ('shield-cross-outline', 'shield-cross-outline'), ('shield-crown', 'shield-crown'), ('shield-crown-outline', 'shield-crown-outline'), ('shield-edit', 'shield-edit'), ('shield-edit-outline', 'shield-edit-outline'), ('shield-half', 'shield-half'), ('shield-half-full', 'shield-half-full'), ('shield-home', 'shield-home'), ('shield-home-outline', 'shield-home-outline'), ('shield-key', 'shield-key'), ('shield-key-outline', 'shield-key-outline'), ('shield-link-variant', 'shield-link-variant'), ('shield-link-variant-outline', 'shield-link-variant-outline'), ('shield-lock', 'shield-lock'), ('shield-lock-open', 'shield-lock-open'), ('shield-lock-open-outline', 'shield-lock-open-outline'), ('shield-lock-outline', 'shield-lock-outline'), ('shield-moon', 'shield-moon'), ('shield-moon-outline', 'shield-moon-outline'), ('shield-off', 'shield-off'), ('shield-off-outline', 'shield-off-outline'), ('shield-outline', 'shield-outline'), ('shield-plus', 'shield-plus'), ('shield-plus-outline', 'shield-plus-outline'), ('shield-refresh', 'shield-refresh'), ('shield-refresh-outline', 'shield-refresh-outline'), ('shield-remove', 'shield-remove'), ('shield-remove-outline', 'shield-remove-outline'), ('shield-search', 'shield-search'), ('shield-star', 'shield-star'), ('shield-star-outline', 'shield-star-outline'), ('shield-sun', 'shield-sun'), ('shield-sun-outline', 'shield-sun-outline'), ('shield-sword', 'shield-sword'), ('shield-sword-outline', 'shield-sword-outline'), ('shield-sync', 'shield-sync'), ('shield-sync-outline', 'shield-sync-outline'), ('shimmer', 'shimmer'), ('ship-wheel', 'ship-wheel'), ('shipping-pallet', 'shipping-pallet'), ('shoe-ballet', 'shoe-ballet'), ('shoe-cleat', 'shoe-cleat'), ('shoe-formal', 'shoe-formal'), ('shoe-heel', 'shoe-heel'), ('shoe-print', 'shoe-print'), ('shoe-sneaker', 'shoe-sneaker'), ('shopify', 'shopify'), ('shopping', 'shopping'), ('shopping-music', 'shopping-music'), ('shopping-outline', 'shopping-outline'), ('shopping-search', 'shopping-search'), ('shopping-search-outline', 'shopping-search-outline'), ('shore', 'shore'), ('shovel', 'shovel'), ('shovel-off', 'shovel-off'), ('shower', 'shower'), ('shower-head', 'shower-head'), ('shredder', 'shredder'), ('shuffle', 'shuffle'), ('shuffle-disabled', 'shuffle-disabled'), ('shuffle-variant', 'shuffle-variant'), ('shuriken', 'shuriken'), ('sickle', 'sickle'), ('sigma', 'sigma'), ('sigma-lower', 'sigma-lower'), ('sign-caution', 'sign-caution'), ('sign-direction', 'sign-direction'), ('sign-direction-minus', 'sign-direction-minus'), ('sign-direction-plus', 'sign-direction-plus'), ('sign-direction-remove', 'sign-direction-remove'), ('sign-language', 'sign-language'), ('sign-language-outline', 'sign-language-outline'), ('sign-pole', 'sign-pole'), ('sign-real-estate', 'sign-real-estate'), ('sign-text', 'sign-text'), ('sign-yield', 'sign-yield'), ('signal', 'signal'), ('signal-2g', 'signal-2g'), ('signal-3g', 'signal-3g'), ('signal-4g', 'signal-4g'), ('signal-5g', 'signal-5g'), ('signal-cellular-1', 'signal-cellular-1'), ('signal-cellular-2', 'signal-cellular-2'), ('signal-cellular-3', 'signal-cellular-3'), ('signal-cellular-outline', 'signal-cellular-outline'), ('signal-distance-variant', 'signal-distance-variant'), ('signal-hspa', 'signal-hspa'), ('signal-hspa-plus', 'signal-hspa-plus'), ('signal-off', 'signal-off'), ('signal-variant', 'signal-variant'), ('signature', 'signature'), ('signature-freehand', 'signature-freehand'), ('signature-image', 'signature-image'), ('signature-text', 'signature-text'), ('silo', 'silo'), ('silo-outline', 'silo-outline'), ('silverware', 'silverware'), ('silverware-clean', 'silverware-clean'), ('silverware-fork', 'silverware-fork'), ('silverware-fork-knife', 'silverware-fork-knife'), ('silverware-spoon', 'silverware-spoon'), ('silverware-variant', 'silverware-variant'), ('sim', 'sim'), ('sim-alert', 'sim-alert'), ('sim-alert-outline', 'sim-alert-outline'), ('sim-off', 'sim-off'), ('sim-off-outline', 'sim-off-outline'), ('sim-outline', 'sim-outline'), ('simple-icons', 'simple-icons'), ('sina-weibo', 'sina-weibo'), ('sine-wave', 'sine-wave'), ('sitemap', 'sitemap'), ('sitemap-outline', 'sitemap-outline'), ('size-l', 'size-l'), ('size-m', 'size-m'), ('size-s', 'size-s'), ('size-xl', 'size-xl'), ('size-xs', 'size-xs'), ('size-xxl', 'size-xxl'), ('size-xxs', 'size-xxs'), ('size-xxxl', 'size-xxxl'), ('skate', 'skate'), ('skate-off', 'skate-off'), ('skateboard', 'skateboard'), ('skateboarding', 'skateboarding'), ('skew-less', 'skew-less'), ('skew-more', 'skew-more'), ('ski', 'ski'), ('ski-cross-country', 'ski-cross-country'), ('ski-water', 'ski-water'), ('skip-backward', 'skip-backward'), ('skip-backward-outline', 'skip-backward-outline'), ('skip-forward', 'skip-forward'), ('skip-forward-outline', 'skip-forward-outline'), ('skip-next', 'skip-next'), ('skip-next-circle', 'skip-next-circle'), ('skip-next-circle-outline', 'skip-next-circle-outline'), ('skip-next-outline', 'skip-next-outline'), ('skip-previous', 'skip-previous'), ('skip-previous-circle', 'skip-previous-circle'), ('skip-previous-circle-outline', 'skip-previous-circle-outline'), ('skip-previous-outline', 'skip-previous-outline'), ('skull', 'skull'), ('skull-crossbones', 'skull-crossbones'), ('skull-crossbones-outline', 'skull-crossbones-outline'), ('skull-outline', 'skull-outline'), ('skull-scan', 'skull-scan'), ('skull-scan-outline', 'skull-scan-outline'), ('skype', 'skype'), ('skype-business', 'skype-business'), ('slack', 'slack'), ('slackware', 'slackware'), ('slash-forward', 'slash-forward'), ('slash-forward-box', 'slash-forward-box'), ('sledding', 'sledding'), ('sleep', 'sleep'), ('sleep-off', 'sleep-off'), ('slide', 'slide'), ('slope-downhill', 'slope-downhill'), ('slope-uphill', 'slope-uphill'), ('slot-machine', 'slot-machine'), ('slot-machine-outline', 'slot-machine-outline'), ('smart-card', 'smart-card'), ('smart-card-off', 'smart-card-off'), ('smart-card-off-outline', 'smart-card-off-outline'), ('smart-card-outline', 'smart-card-outline'), ('smart-card-reader', 'smart-card-reader'), ('smart-card-reader-outline', 'smart-card-reader-outline'), ('smog', 'smog'), ('smoke', 'smoke'), ('smoke-detector', 'smoke-detector'), ('smoke-detector-alert', 'smoke-detector-alert'), ('smoke-detector-alert-outline', 'smoke-detector-alert-outline'), ('smoke-detector-off', 'smoke-detector-off'), ('smoke-detector-off-outline', 'smoke-detector-off-outline'), ('smoke-detector-outline', 'smoke-detector-outline'), ('smoke-detector-variant', 'smoke-detector-variant'), ('smoke-detector-variant-alert', 'smoke-detector-variant-alert'), ('smoke-detector-variant-off', 'smoke-detector-variant-off'), ('smoking', 'smoking'), ('smoking-off', 'smoking-off'), ('smoking-pipe', 'smoking-pipe'), ('smoking-pipe-off', 'smoking-pipe-off'), ('snail', 'snail'), ('snake', 'snake'), ('snapchat', 'snapchat'), ('snowboard', 'snowboard'), ('snowflake', 'snowflake'), ('snowflake-alert', 'snowflake-alert'), ('snowflake-check', 'snowflake-check'), ('snowflake-melt', 'snowflake-melt'), ('snowflake-off', 'snowflake-off'), ('snowflake-thermometer', 'snowflake-thermometer'), ('snowflake-variant', 'snowflake-variant'), ('snowman', 'snowman'), ('snowmobile', 'snowmobile'), ('snowshoeing', 'snowshoeing'), ('soccer', 'soccer'), ('soccer-field', 'soccer-field'), ('social-distance-2-meters', 'social-distance-2-meters'), ('social-distance-6-feet', 'social-distance-6-feet'), ('sofa', 'sofa'), ('sofa-outline', 'sofa-outline'), ('sofa-single', 'sofa-single'), ('sofa-single-outline', 'sofa-single-outline'), ('solar-panel', 'solar-panel'), ('solar-panel-large', 'solar-panel-large'), ('solar-power', 'solar-power'), ('solar-power-variant', 'solar-power-variant'), ('solar-power-variant-outline', 'solar-power-variant-outline'), ('soldering-iron', 'soldering-iron'), ('solid', 'solid'), ('sony-playstation', 'sony-playstation'), ('sort', 'sort'), ('sort-alphabetical-ascending', 'sort-alphabetical-ascending'), ('sort-alphabetical-ascending-variant', 'sort-alphabetical-ascending-variant'), ('sort-alphabetical-descending', 'sort-alphabetical-descending'), ('sort-alphabetical-descending-variant', 'sort-alphabetical-descending-variant'), ('sort-alphabetical-variant', 'sort-alphabetical-variant'), ('sort-ascending', 'sort-ascending'), ('sort-bool-ascending', 'sort-bool-ascending'), ('sort-bool-ascending-variant', 'sort-bool-ascending-variant'), ('sort-bool-descending', 'sort-bool-descending'), ('sort-bool-descending-variant', 'sort-bool-descending-variant'), ('sort-calendar-ascending', 'sort-calendar-ascending'), ('sort-calendar-descending', 'sort-calendar-descending'), ('sort-clock-ascending', 'sort-clock-ascending'), ('sort-clock-ascending-outline', 'sort-clock-ascending-outline'), ('sort-clock-descending', 'sort-clock-descending'), ('sort-clock-descending-outline', 'sort-clock-descending-outline'), ('sort-descending', 'sort-descending'), ('sort-numeric-ascending', 'sort-numeric-ascending'), ('sort-numeric-ascending-variant', 'sort-numeric-ascending-variant'), ('sort-numeric-descending', 'sort-numeric-descending'), ('sort-numeric-descending-variant', 'sort-numeric-descending-variant'), ('sort-numeric-variant', 'sort-numeric-variant'), ('sort-reverse-variant', 'sort-reverse-variant'), ('sort-variant', 'sort-variant'), ('sort-variant-lock', 'sort-variant-lock'), ('sort-variant-lock-open', 'sort-variant-lock-open'), ('sort-variant-off', 'sort-variant-off'), ('sort-variant-remove', 'sort-variant-remove'), ('soundbar', 'soundbar'), ('soundcloud', 'soundcloud'), ('source-branch', 'source-branch'), ('source-branch-check', 'source-branch-check'), ('source-branch-minus', 'source-branch-minus'), ('source-branch-plus', 'source-branch-plus'), ('source-branch-refresh', 'source-branch-refresh'), ('source-branch-remove', 'source-branch-remove'), ('source-branch-sync', 'source-branch-sync'), ('source-commit', 'source-commit'), ('source-commit-end', 'source-commit-end'), ('source-commit-end-local', 'source-commit-end-local'), ('source-commit-local', 'source-commit-local'), ('source-commit-next-local', 'source-commit-next-local'), ('source-commit-start', 'source-commit-start'), ('source-commit-start-next-local', 'source-commit-start-next-local'), ('source-fork', 'source-fork'), ('source-merge', 'source-merge'), ('source-pull', 'source-pull'), ('source-repository', 'source-repository'), ('source-repository-multiple', 'source-repository-multiple'), ('soy-sauce', 'soy-sauce'), ('soy-sauce-off', 'soy-sauce-off'), ('spa', 'spa'), ('spa-outline', 'spa-outline'), ('space-invaders', 'space-invaders'), ('space-station', 'space-station'), ('spade', 'spade'), ('speaker', 'speaker'), ('speaker-bluetooth', 'speaker-bluetooth'), ('speaker-message', 'speaker-message'), ('speaker-multiple', 'speaker-multiple'), ('speaker-off', 'speaker-off'), ('speaker-pause', 'speaker-pause'), ('speaker-play', 'speaker-play'), ('speaker-stop', 'speaker-stop'), ('speaker-wireless', 'speaker-wireless'), ('spear', 'spear'), ('speedometer', 'speedometer'), ('speedometer-medium', 'speedometer-medium'), ('speedometer-slow', 'speedometer-slow'), ('spellcheck', 'spellcheck'), ('sphere', 'sphere'), ('sphere-off', 'sphere-off'), ('spider', 'spider'), ('spider-thread', 'spider-thread'), ('spider-web', 'spider-web'), ('spirit-level', 'spirit-level'), ('split-horizontal', 'split-horizontal'), ('split-vertical', 'split-vertical'), ('spoon-sugar', 'spoon-sugar'), ('spotify', 'spotify'), ('spotlight', 'spotlight'), ('spotlight-beam', 'spotlight-beam'), ('spray', 'spray'), ('spray-bottle', 'spray-bottle'), ('spreadsheet', 'spreadsheet'), ('sprinkler', 'sprinkler'), ('sprinkler-fire', 'sprinkler-fire'), ('sprinkler-variant', 'sprinkler-variant'), ('sprout', 'sprout'), ('sprout-outline', 'sprout-outline'), ('square', 'square'), ('square-circle', 'square-circle'), ('square-edit-outline', 'square-edit-outline'), ('square-inc', 'square-inc'), ('square-inc-cash', 'square-inc-cash'), ('square-medium', 'square-medium'), ('square-medium-outline', 'square-medium-outline'), ('square-off', 'square-off'), ('square-off-outline', 'square-off-outline'), ('square-opacity', 'square-opacity'), ('square-outline', 'square-outline'), ('square-root', 'square-root'), ('square-root-box', 'square-root-box'), ('square-rounded', 'square-rounded'), ('square-rounded-badge', 'square-rounded-badge'), ('square-rounded-badge-outline', 'square-rounded-badge-outline'), ('square-rounded-outline', 'square-rounded-outline'), ('square-small', 'square-small'), ('square-wave', 'square-wave'), ('squeegee', 'squeegee'), ('ssh', 'ssh'), ('stack-exchange', 'stack-exchange'), ('stack-overflow', 'stack-overflow'), ('stackpath', 'stackpath'), ('stadium', 'stadium'), ('stadium-outline', 'stadium-outline'), ('stadium-variant', 'stadium-variant'), ('stairs', 'stairs'), ('stairs-box', 'stairs-box'), ('stairs-down', 'stairs-down'), ('stairs-up', 'stairs-up'), ('stamper', 'stamper'), ('standard-definition', 'standard-definition'), ('star', 'star'), ('star-box', 'star-box'), ('star-box-multiple', 'star-box-multiple'), ('star-box-multiple-outline', 'star-box-multiple-outline'), ('star-box-outline', 'star-box-outline'), ('star-check', 'star-check'), ('star-check-outline', 'star-check-outline'), ('star-circle', 'star-circle'), ('star-circle-outline', 'star-circle-outline'), ('star-cog', 'star-cog'), ('star-cog-outline', 'star-cog-outline'), ('star-crescent', 'star-crescent'), ('star-david', 'star-david'), ('star-face', 'star-face'), ('star-four-points', 'star-four-points'), ('star-four-points-outline', 'star-four-points-outline'), ('star-half', 'star-half'), ('star-half-full', 'star-half-full'), ('star-minus', 'star-minus'), ('star-minus-outline', 'star-minus-outline'), ('star-off', 'star-off'), ('star-off-outline', 'star-off-outline'), ('star-outline', 'star-outline'), ('star-plus', 'star-plus'), ('star-plus-outline', 'star-plus-outline'), ('star-remove', 'star-remove'), ('star-remove-outline', 'star-remove-outline'), ('star-settings', 'star-settings'), ('star-settings-outline', 'star-settings-outline'), ('star-shooting', 'star-shooting'), ('star-shooting-outline', 'star-shooting-outline'), ('star-three-points', 'star-three-points'), ('star-three-points-outline', 'star-three-points-outline'), ('state-machine', 'state-machine'), ('steam', 'steam'), ('steam-box', 'steam-box'), ('steering', 'steering'), ('steering-off', 'steering-off'), ('step-backward', 'step-backward'), ('step-backward-2', 'step-backward-2'), ('step-forward', 'step-forward'), ('step-forward-2', 'step-forward-2'), ('stethoscope', 'stethoscope'), ('sticker', 'sticker'), ('sticker-alert', 'sticker-alert'), ('sticker-alert-outline', 'sticker-alert-outline'), ('sticker-check', 'sticker-check'), ('sticker-check-outline', 'sticker-check-outline'), ('sticker-circle-outline', 'sticker-circle-outline'), ('sticker-emoji', 'sticker-emoji'), ('sticker-minus', 'sticker-minus'), ('sticker-minus-outline', 'sticker-minus-outline'), ('sticker-outline', 'sticker-outline'), ('sticker-plus', 'sticker-plus'), ('sticker-plus-outline', 'sticker-plus-outline'), ('sticker-remove', 'sticker-remove'), ('sticker-remove-outline', 'sticker-remove-outline'), ('sticker-text', 'sticker-text'), ('sticker-text-outline', 'sticker-text-outline'), ('stocking', 'stocking'), ('stomach', 'stomach'), ('stool', 'stool'), ('stool-outline', 'stool-outline'), ('stop', 'stop'), ('stop-circle', 'stop-circle'), ('stop-circle-outline', 'stop-circle-outline'), ('storage-tank', 'storage-tank'), ('storage-tank-outline', 'storage-tank-outline'), ('store', 'store'), ('store-24-hour', 'store-24-hour'), ('store-alert', 'store-alert'), ('store-alert-outline', 'store-alert-outline'), ('store-check', 'store-check'), ('store-check-outline', 'store-check-outline'), ('store-clock', 'store-clock'), ('store-clock-outline', 'store-clock-outline'), ('store-cog', 'store-cog'), ('store-cog-outline', 'store-cog-outline'), ('store-edit', 'store-edit'), ('store-edit-outline', 'store-edit-outline'), ('store-marker', 'store-marker'), ('store-marker-outline', 'store-marker-outline'), ('store-minus', 'store-minus'), ('store-minus-outline', 'store-minus-outline'), ('store-off', 'store-off'), ('store-off-outline', 'store-off-outline'), ('store-outline', 'store-outline'), ('store-plus', 'store-plus'), ('store-plus-outline', 'store-plus-outline'), ('store-remove', 'store-remove'), ('store-remove-outline', 'store-remove-outline'), ('store-search', 'store-search'), ('store-search-outline', 'store-search-outline'), ('store-settings', 'store-settings'), ('store-settings-outline', 'store-settings-outline'), ('storefront', 'storefront'), ('storefront-check', 'storefront-check'), ('storefront-check-outline', 'storefront-check-outline'), ('storefront-edit', 'storefront-edit'), ('storefront-edit-outline', 'storefront-edit-outline'), ('storefront-minus', 'storefront-minus'), ('storefront-minus-outline', 'storefront-minus-outline'), ('storefront-outline', 'storefront-outline'), ('storefront-plus', 'storefront-plus'), ('storefront-plus-outline', 'storefront-plus-outline'), ('storefront-remove', 'storefront-remove'), ('storefront-remove-outline', 'storefront-remove-outline'), ('stove', 'stove'), ('strategy', 'strategy'), ('strava', 'strava'), ('stretch-to-page', 'stretch-to-page'), ('stretch-to-page-outline', 'stretch-to-page-outline'), ('string-lights', 'string-lights'), ('string-lights-off', 'string-lights-off'), ('subdirectory-arrow-left', 'subdirectory-arrow-left'), ('subdirectory-arrow-right', 'subdirectory-arrow-right'), ('submarine', 'submarine'), ('subtitles', 'subtitles'), ('subtitles-outline', 'subtitles-outline'), ('subway', 'subway'), ('subway-alert-variant', 'subway-alert-variant'), ('subway-variant', 'subway-variant'), ('summit', 'summit'), ('sun-angle', 'sun-angle'), ('sun-angle-outline', 'sun-angle-outline'), ('sun-clock', 'sun-clock'), ('sun-clock-outline', 'sun-clock-outline'), ('sun-compass', 'sun-compass'), ('sun-snowflake', 'sun-snowflake'), ('sun-snowflake-variant', 'sun-snowflake-variant'), ('sun-thermometer', 'sun-thermometer'), ('sun-thermometer-outline', 'sun-thermometer-outline'), ('sun-wireless', 'sun-wireless'), ('sun-wireless-outline', 'sun-wireless-outline'), ('sunglasses', 'sunglasses'), ('surfing', 'surfing'), ('surround-sound', 'surround-sound'), ('surround-sound-2-0', 'surround-sound-2-0'), ('surround-sound-2-1', 'surround-sound-2-1'), ('surround-sound-3-1', 'surround-sound-3-1'), ('surround-sound-5-1', 'surround-sound-5-1'), ('surround-sound-5-1-2', 'surround-sound-5-1-2'), ('surround-sound-7-1', 'surround-sound-7-1'), ('svg', 'svg'), ('swap-horizontal', 'swap-horizontal'), ('swap-horizontal-bold', 'swap-horizontal-bold'), ('swap-horizontal-circle', 'swap-horizontal-circle'), ('swap-horizontal-circle-outline', 'swap-horizontal-circle-outline'), ('swap-horizontal-variant', 'swap-horizontal-variant'), ('swap-vertical', 'swap-vertical'), ('swap-vertical-bold', 'swap-vertical-bold'), ('swap-vertical-circle', 'swap-vertical-circle'), ('swap-vertical-circle-outline', 'swap-vertical-circle-outline'), ('swap-vertical-variant', 'swap-vertical-variant'), ('swim', 'swim'), ('switch', 'switch'), ('sword', 'sword'), ('sword-cross', 'sword-cross'), ('syllabary-hangul', 'syllabary-hangul'), ('syllabary-hiragana', 'syllabary-hiragana'), ('syllabary-katakana', 'syllabary-katakana'), ('syllabary-katakana-halfwidth', 'syllabary-katakana-halfwidth'), ('symbol', 'symbol'), ('symfony', 'symfony'), ('synagogue', 'synagogue'), ('synagogue-outline', 'synagogue-outline'), ('sync', 'sync'), ('sync-alert', 'sync-alert'), ('sync-circle', 'sync-circle'), ('sync-off', 'sync-off'), ('tab', 'tab'), ('tab-minus', 'tab-minus'), ('tab-plus', 'tab-plus'), ('tab-remove', 'tab-remove'), ('tab-search', 'tab-search'), ('tab-unselected', 'tab-unselected'), ('table', 'table'), ('table-account', 'table-account'), ('table-alert', 'table-alert'), ('table-arrow-down', 'table-arrow-down'), ('table-arrow-left', 'table-arrow-left'), ('table-arrow-right', 'table-arrow-right'), ('table-arrow-up', 'table-arrow-up'), ('table-border', 'table-border'), ('table-cancel', 'table-cancel'), ('table-chair', 'table-chair'), ('table-check', 'table-check'), ('table-clock', 'table-clock'), ('table-cog', 'table-cog'), ('table-column', 'table-column'), ('table-column-plus-after', 'table-column-plus-after'), ('table-column-plus-before', 'table-column-plus-before'), ('table-column-remove', 'table-column-remove'), ('table-column-width', 'table-column-width'), ('table-edit', 'table-edit'), ('table-eye', 'table-eye'), ('table-eye-off', 'table-eye-off'), ('table-filter', 'table-filter'), ('table-furniture', 'table-furniture'), ('table-headers-eye', 'table-headers-eye'), ('table-headers-eye-off', 'table-headers-eye-off'), ('table-heart', 'table-heart'), ('table-key', 'table-key'), ('table-large', 'table-large'), ('table-large-plus', 'table-large-plus'), ('table-large-remove', 'table-large-remove'), ('table-lock', 'table-lock'), ('table-merge-cells', 'table-merge-cells'), ('table-minus', 'table-minus'), ('table-multiple', 'table-multiple'), ('table-network', 'table-network'), ('table-of-contents', 'table-of-contents'), ('table-off', 'table-off'), ('table-picnic', 'table-picnic'), ('table-pivot', 'table-pivot'), ('table-plus', 'table-plus'), ('table-question', 'table-question'), ('table-refresh', 'table-refresh'), ('table-remove', 'table-remove'), ('table-row', 'table-row'), ('table-row-height', 'table-row-height'), ('table-row-plus-after', 'table-row-plus-after'), ('table-row-plus-before', 'table-row-plus-before'), ('table-row-remove', 'table-row-remove'), ('table-search', 'table-search'), ('table-settings', 'table-settings'), ('table-split-cell', 'table-split-cell'), ('table-star', 'table-star'), ('table-sync', 'table-sync'), ('table-tennis', 'table-tennis'), ('tablet', 'tablet'), ('tablet-android', 'tablet-android'), ('tablet-cellphone', 'tablet-cellphone'), ('tablet-dashboard', 'tablet-dashboard'), ('tablet-ipad', 'tablet-ipad'), ('taco', 'taco'), ('tag', 'tag'), ('tag-arrow-down', 'tag-arrow-down'), ('tag-arrow-down-outline', 'tag-arrow-down-outline'), ('tag-arrow-left', 'tag-arrow-left'), ('tag-arrow-left-outline', 'tag-arrow-left-outline'), ('tag-arrow-right', 'tag-arrow-right'), ('tag-arrow-right-outline', 'tag-arrow-right-outline'), ('tag-arrow-up', 'tag-arrow-up'), ('tag-arrow-up-outline', 'tag-arrow-up-outline'), ('tag-check', 'tag-check'), ('tag-check-outline', 'tag-check-outline'), ('tag-faces', 'tag-faces'), ('tag-heart', 'tag-heart'), ('tag-heart-outline', 'tag-heart-outline'), ('tag-minus', 'tag-minus'), ('tag-minus-outline', 'tag-minus-outline'), ('tag-multiple', 'tag-multiple'), ('tag-multiple-outline', 'tag-multiple-outline'), ('tag-off', 'tag-off'), ('tag-off-outline', 'tag-off-outline'), ('tag-outline', 'tag-outline'), ('tag-plus', 'tag-plus'), ('tag-plus-outline', 'tag-plus-outline'), ('tag-remove', 'tag-remove'), ('tag-remove-outline', 'tag-remove-outline'), ('tag-search', 'tag-search'), ('tag-search-outline', 'tag-search-outline'), ('tag-text', 'tag-text'), ('tag-text-outline', 'tag-text-outline'), ('tailwind', 'tailwind'), ('tally-mark-1', 'tally-mark-1'), ('tally-mark-2', 'tally-mark-2'), ('tally-mark-3', 'tally-mark-3'), ('tally-mark-4', 'tally-mark-4'), ('tally-mark-5', 'tally-mark-5'), ('tangram', 'tangram'), ('tank', 'tank'), ('tanker-truck', 'tanker-truck'), ('tape-drive', 'tape-drive'), ('tape-measure', 'tape-measure'), ('target', 'target'), ('target-account', 'target-account'), ('target-variant', 'target-variant'), ('taxi', 'taxi'), ('tea', 'tea'), ('tea-outline', 'tea-outline'), ('teamspeak', 'teamspeak'), ('teamviewer', 'teamviewer'), ('teddy-bear', 'teddy-bear'), ('telegram', 'telegram'), ('telescope', 'telescope'), ('television', 'television'), ('television-ambient-light', 'television-ambient-light'), ('television-box', 'television-box'), ('television-classic', 'television-classic'), ('television-classic-off', 'television-classic-off'), ('television-guide', 'television-guide'), ('television-off', 'television-off'), ('television-pause', 'television-pause'), ('television-play', 'television-play'), ('television-shimmer', 'television-shimmer'), ('television-speaker', 'television-speaker'), ('television-speaker-off', 'television-speaker-off'), ('television-stop', 'television-stop'), ('temperature-celsius', 'temperature-celsius'), ('temperature-fahrenheit', 'temperature-fahrenheit'), ('temperature-kelvin', 'temperature-kelvin'), ('temple-buddhist', 'temple-buddhist'), ('temple-buddhist-outline', 'temple-buddhist-outline'), ('temple-hindu', 'temple-hindu'), ('temple-hindu-outline', 'temple-hindu-outline'), ('tennis', 'tennis'), ('tennis-ball', 'tennis-ball'), ('tent', 'tent'), ('terraform', 'terraform'), ('terrain', 'terrain'), ('test-tube', 'test-tube'), ('test-tube-empty', 'test-tube-empty'), ('test-tube-off', 'test-tube-off'), ('text', 'text'), ('text-account', 'text-account'), ('text-box', 'text-box'), ('text-box-check', 'text-box-check'), ('text-box-check-outline', 'text-box-check-outline'), ('text-box-edit', 'text-box-edit'), ('text-box-edit-outline', 'text-box-edit-outline'), ('text-box-minus', 'text-box-minus'), ('text-box-minus-outline', 'text-box-minus-outline'), ('text-box-multiple', 'text-box-multiple'), ('text-box-multiple-outline', 'text-box-multiple-outline'), ('text-box-outline', 'text-box-outline'), ('text-box-plus', 'text-box-plus'), ('text-box-plus-outline', 'text-box-plus-outline'), ('text-box-remove', 'text-box-remove'), ('text-box-remove-outline', 'text-box-remove-outline'), ('text-box-search', 'text-box-search'), ('text-box-search-outline', 'text-box-search-outline'), ('text-long', 'text-long'), ('text-recognition', 'text-recognition'), ('text-search', 'text-search'), ('text-search-variant', 'text-search-variant'), ('text-shadow', 'text-shadow'), ('text-short', 'text-short'), ('texture', 'texture'), ('texture-box', 'texture-box'), ('theater', 'theater'), ('theme-light-dark', 'theme-light-dark'), ('thermometer', 'thermometer'), ('thermometer-alert', 'thermometer-alert'), ('thermometer-auto', 'thermometer-auto'), ('thermometer-bluetooth', 'thermometer-bluetooth'), ('thermometer-check', 'thermometer-check'), ('thermometer-chevron-down', 'thermometer-chevron-down'), ('thermometer-chevron-up', 'thermometer-chevron-up'), ('thermometer-high', 'thermometer-high'), ('thermometer-lines', 'thermometer-lines'), ('thermometer-low', 'thermometer-low'), ('thermometer-minus', 'thermometer-minus'), ('thermometer-off', 'thermometer-off'), ('thermometer-plus', 'thermometer-plus'), ('thermometer-probe', 'thermometer-probe'), ('thermometer-probe-off', 'thermometer-probe-off'), ('thermometer-water', 'thermometer-water'), ('thermostat', 'thermostat'), ('thermostat-auto', 'thermostat-auto'), ('thermostat-box', 'thermostat-box'), ('thermostat-box-auto', 'thermostat-box-auto'), ('thought-bubble', 'thought-bubble'), ('thought-bubble-outline', 'thought-bubble-outline'), ('thumb-down', 'thumb-down'), ('thumb-down-outline', 'thumb-down-outline'), ('thumb-up', 'thumb-up'), ('thumb-up-outline', 'thumb-up-outline'), ('thumbs-up-down', 'thumbs-up-down'), ('thumbs-up-down-outline', 'thumbs-up-down-outline'), ('ticket', 'ticket'), ('ticket-account', 'ticket-account'), ('ticket-confirmation', 'ticket-confirmation'), ('ticket-confirmation-outline', 'ticket-confirmation-outline'), ('ticket-outline', 'ticket-outline'), ('ticket-percent', 'ticket-percent'), ('ticket-percent-outline', 'ticket-percent-outline'), ('tie', 'tie'), ('tilde', 'tilde'), ('tilde-off', 'tilde-off'), ('timelapse', 'timelapse'), ('timeline', 'timeline'), ('timeline-alert', 'timeline-alert'), ('timeline-alert-outline', 'timeline-alert-outline'), ('timeline-check', 'timeline-check'), ('timeline-check-outline', 'timeline-check-outline'), ('timeline-clock', 'timeline-clock'), ('timeline-clock-outline', 'timeline-clock-outline'), ('timeline-minus', 'timeline-minus'), ('timeline-minus-outline', 'timeline-minus-outline'), ('timeline-outline', 'timeline-outline'), ('timeline-plus', 'timeline-plus'), ('timeline-plus-outline', 'timeline-plus-outline'), ('timeline-question', 'timeline-question'), ('timeline-question-outline', 'timeline-question-outline'), ('timeline-remove', 'timeline-remove'), ('timeline-remove-outline', 'timeline-remove-outline'), ('timeline-text', 'timeline-text'), ('timeline-text-outline', 'timeline-text-outline'), ('timer', 'timer'), ('timer-10', 'timer-10'), ('timer-3', 'timer-3'), ('timer-alert', 'timer-alert'), ('timer-alert-outline', 'timer-alert-outline'), ('timer-cancel', 'timer-cancel'), ('timer-cancel-outline', 'timer-cancel-outline'), ('timer-check', 'timer-check'), ('timer-check-outline', 'timer-check-outline'), ('timer-cog', 'timer-cog'), ('timer-cog-outline', 'timer-cog-outline'), ('timer-edit', 'timer-edit'), ('timer-edit-outline', 'timer-edit-outline'), ('timer-lock', 'timer-lock'), ('timer-lock-open', 'timer-lock-open'), ('timer-lock-open-outline', 'timer-lock-open-outline'), ('timer-lock-outline', 'timer-lock-outline'), ('timer-marker', 'timer-marker'), ('timer-marker-outline', 'timer-marker-outline'), ('timer-minus', 'timer-minus'), ('timer-minus-outline', 'timer-minus-outline'), ('timer-music', 'timer-music'), ('timer-music-outline', 'timer-music-outline'), ('timer-off', 'timer-off'), ('timer-off-outline', 'timer-off-outline'), ('timer-outline', 'timer-outline'), ('timer-pause', 'timer-pause'), ('timer-pause-outline', 'timer-pause-outline'), ('timer-play', 'timer-play'), ('timer-play-outline', 'timer-play-outline'), ('timer-plus', 'timer-plus'), ('timer-plus-outline', 'timer-plus-outline'), ('timer-refresh', 'timer-refresh'), ('timer-refresh-outline', 'timer-refresh-outline'), ('timer-remove', 'timer-remove'), ('timer-remove-outline', 'timer-remove-outline'), ('timer-sand', 'timer-sand'), ('timer-sand-complete', 'timer-sand-complete'), ('timer-sand-empty', 'timer-sand-empty'), ('timer-sand-full', 'timer-sand-full'), ('timer-sand-paused', 'timer-sand-paused'), ('timer-settings', 'timer-settings'), ('timer-settings-outline', 'timer-settings-outline'), ('timer-star', 'timer-star'), ('timer-star-outline', 'timer-star-outline'), ('timer-stop', 'timer-stop'), ('timer-stop-outline', 'timer-stop-outline'), ('timer-sync', 'timer-sync'), ('timer-sync-outline', 'timer-sync-outline'), ('timetable', 'timetable'), ('tire', 'tire'), ('toaster', 'toaster'), ('toaster-off', 'toaster-off'), ('toaster-oven', 'toaster-oven'), ('toggle-switch', 'toggle-switch'), ('toggle-switch-off', 'toggle-switch-off'), ('toggle-switch-off-outline', 'toggle-switch-off-outline'), ('toggle-switch-outline', 'toggle-switch-outline'), ('toggle-switch-variant', 'toggle-switch-variant'), ('toggle-switch-variant-off', 'toggle-switch-variant-off'), ('toilet', 'toilet'), ('toolbox', 'toolbox'), ('toolbox-outline', 'toolbox-outline'), ('tools', 'tools'), ('tooltip', 'tooltip'), ('tooltip-account', 'tooltip-account'), ('tooltip-cellphone', 'tooltip-cellphone'), ('tooltip-check', 'tooltip-check'), ('tooltip-check-outline', 'tooltip-check-outline'), ('tooltip-edit', 'tooltip-edit'), ('tooltip-edit-outline', 'tooltip-edit-outline'), ('tooltip-image', 'tooltip-image'), ('tooltip-image-outline', 'tooltip-image-outline'), ('tooltip-minus', 'tooltip-minus'), ('tooltip-minus-outline', 'tooltip-minus-outline'), ('tooltip-outline', 'tooltip-outline'), ('tooltip-plus', 'tooltip-plus'), ('tooltip-plus-outline', 'tooltip-plus-outline'), ('tooltip-question', 'tooltip-question'), ('tooltip-question-outline', 'tooltip-question-outline'), ('tooltip-remove', 'tooltip-remove'), ('tooltip-remove-outline', 'tooltip-remove-outline'), ('tooltip-text', 'tooltip-text'), ('tooltip-text-outline', 'tooltip-text-outline'), ('tooth', 'tooth'), ('tooth-outline', 'tooth-outline'), ('toothbrush', 'toothbrush'), ('toothbrush-electric', 'toothbrush-electric'), ('toothbrush-paste', 'toothbrush-paste'), ('tor', 'tor'), ('torch', 'torch'), ('tortoise', 'tortoise'), ('toslink', 'toslink'), ('tournament', 'tournament'), ('tow-truck', 'tow-truck'), ('tower-beach', 'tower-beach'), ('tower-fire', 'tower-fire'), ('town-hall', 'town-hall'), ('toy-brick', 'toy-brick'), ('toy-brick-marker', 'toy-brick-marker'), ('toy-brick-marker-outline', 'toy-brick-marker-outline'), ('toy-brick-minus', 'toy-brick-minus'), ('toy-brick-minus-outline', 'toy-brick-minus-outline'), ('toy-brick-outline', 'toy-brick-outline'), ('toy-brick-plus', 'toy-brick-plus'), ('toy-brick-plus-outline', 'toy-brick-plus-outline'), ('toy-brick-remove', 'toy-brick-remove'), ('toy-brick-remove-outline', 'toy-brick-remove-outline'), ('toy-brick-search', 'toy-brick-search'), ('toy-brick-search-outline', 'toy-brick-search-outline'), ('track-light', 'track-light'), ('track-light-off', 'track-light-off'), ('trackpad', 'trackpad'), ('trackpad-lock', 'trackpad-lock'), ('tractor', 'tractor'), ('tractor-variant', 'tractor-variant'), ('trademark', 'trademark'), ('traffic-cone', 'traffic-cone'), ('traffic-light', 'traffic-light'), ('traffic-light-outline', 'traffic-light-outline'), ('train', 'train'), ('train-car', 'train-car'), ('train-car-autorack', 'train-car-autorack'), ('train-car-box', 'train-car-box'), ('train-car-box-full', 'train-car-box-full'), ('train-car-box-open', 'train-car-box-open'), ('train-car-caboose', 'train-car-caboose'), ('train-car-centerbeam', 'train-car-centerbeam'), ('train-car-centerbeam-full', 'train-car-centerbeam-full'), ('train-car-container', 'train-car-container'), ('train-car-flatbed', 'train-car-flatbed'), ('train-car-flatbed-car', 'train-car-flatbed-car'), ('train-car-flatbed-tank', 'train-car-flatbed-tank'), ('train-car-gondola', 'train-car-gondola'), ('train-car-gondola-full', 'train-car-gondola-full'), ('train-car-hopper', 'train-car-hopper'), ('train-car-hopper-covered', 'train-car-hopper-covered'), ('train-car-hopper-full', 'train-car-hopper-full'), ('train-car-intermodal', 'train-car-intermodal'), ('train-car-passenger', 'train-car-passenger'), ('train-car-passenger-door', 'train-car-passenger-door'), ('train-car-passenger-door-open', 'train-car-passenger-door-open'), ('train-car-passenger-variant', 'train-car-passenger-variant'), ('train-car-tank', 'train-car-tank'), ('train-variant', 'train-variant'), ('tram', 'tram'), ('tram-side', 'tram-side'), ('transcribe', 'transcribe'), ('transcribe-close', 'transcribe-close'), ('transfer', 'transfer'), ('transfer-down', 'transfer-down'), ('transfer-left', 'transfer-left'), ('transfer-right', 'transfer-right'), ('transfer-up', 'transfer-up'), ('transit-connection', 'transit-connection'), ('transit-connection-horizontal', 'transit-connection-horizontal'), ('transit-connection-variant', 'transit-connection-variant'), ('transit-detour', 'transit-detour'), ('transit-skip', 'transit-skip'), ('transit-transfer', 'transit-transfer'), ('transition', 'transition'), ('transition-masked', 'transition-masked'), ('translate', 'translate'), ('translate-off', 'translate-off'), ('translate-variant', 'translate-variant'), ('transmission-tower', 'transmission-tower'), ('transmission-tower-export', 'transmission-tower-export'), ('transmission-tower-import', 'transmission-tower-import'), ('transmission-tower-off', 'transmission-tower-off'), ('trash-can', 'trash-can'), ('trash-can-outline', 'trash-can-outline'), ('tray', 'tray'), ('tray-alert', 'tray-alert'), ('tray-arrow-down', 'tray-arrow-down'), ('tray-arrow-up', 'tray-arrow-up'), ('tray-full', 'tray-full'), ('tray-minus', 'tray-minus'), ('tray-plus', 'tray-plus'), ('tray-remove', 'tray-remove'), ('treasure-chest', 'treasure-chest'), ('tree', 'tree'), ('tree-outline', 'tree-outline'), ('trello', 'trello'), ('trending-down', 'trending-down'), ('trending-neutral', 'trending-neutral'), ('trending-up', 'trending-up'), ('triangle', 'triangle'), ('triangle-outline', 'triangle-outline'), ('triangle-small-down', 'triangle-small-down'), ('triangle-small-up', 'triangle-small-up'), ('triangle-wave', 'triangle-wave'), ('triforce', 'triforce'), ('trophy', 'trophy'), ('trophy-award', 'trophy-award'), ('trophy-broken', 'trophy-broken'), ('trophy-outline', 'trophy-outline'), ('trophy-variant', 'trophy-variant'), ('trophy-variant-outline', 'trophy-variant-outline'), ('truck', 'truck'), ('truck-alert', 'truck-alert'), ('truck-alert-outline', 'truck-alert-outline'), ('truck-cargo-container', 'truck-cargo-container'), ('truck-check', 'truck-check'), ('truck-check-outline', 'truck-check-outline'), ('truck-delivery', 'truck-delivery'), ('truck-delivery-outline', 'truck-delivery-outline'), ('truck-fast', 'truck-fast'), ('truck-fast-outline', 'truck-fast-outline'), ('truck-flatbed', 'truck-flatbed'), ('truck-minus', 'truck-minus'), ('truck-minus-outline', 'truck-minus-outline'), ('truck-outline', 'truck-outline'), ('truck-plus', 'truck-plus'), ('truck-plus-outline', 'truck-plus-outline'), ('truck-remove', 'truck-remove'), ('truck-remove-outline', 'truck-remove-outline'), ('truck-snowflake', 'truck-snowflake'), ('truck-trailer', 'truck-trailer'), ('trumpet', 'trumpet'), ('tshirt-crew', 'tshirt-crew'), ('tshirt-crew-outline', 'tshirt-crew-outline'), ('tshirt-v', 'tshirt-v'), ('tshirt-v-outline', 'tshirt-v-outline'), ('tsunami', 'tsunami'), ('tumble-dryer', 'tumble-dryer'), ('tumble-dryer-alert', 'tumble-dryer-alert'), ('tumble-dryer-off', 'tumble-dryer-off'), ('tumblr', 'tumblr'), ('tumblr-box', 'tumblr-box'), ('tumblr-reblog', 'tumblr-reblog'), ('tune', 'tune'), ('tune-variant', 'tune-variant'), ('tune-vertical', 'tune-vertical'), ('tune-vertical-variant', 'tune-vertical-variant'), ('tunnel', 'tunnel'), ('tunnel-outline', 'tunnel-outline'), ('turbine', 'turbine'), ('turkey', 'turkey'), ('turnstile', 'turnstile'), ('turnstile-outline', 'turnstile-outline'), ('turtle', 'turtle'), ('twitch', 'twitch'), ('twitter', 'twitter'), ('twitter-box', 'twitter-box'), ('twitter-circle', 'twitter-circle'), ('two-factor-authentication', 'two-factor-authentication'), ('typewriter', 'typewriter'), ('uber', 'uber'), ('ubisoft', 'ubisoft'), ('ubuntu', 'ubuntu'), ('ufo', 'ufo'), ('ufo-outline', 'ufo-outline'), ('ultra-high-definition', 'ultra-high-definition'), ('umbraco', 'umbraco'), ('umbrella', 'umbrella'), ('umbrella-beach', 'umbrella-beach'), ('umbrella-beach-outline', 'umbrella-beach-outline'), ('umbrella-closed', 'umbrella-closed'), ('umbrella-closed-outline', 'umbrella-closed-outline'), ('umbrella-closed-variant', 'umbrella-closed-variant'), ('umbrella-outline', 'umbrella-outline'), ('undo', 'undo'), ('undo-variant', 'undo-variant'), ('unfold-less-horizontal', 'unfold-less-horizontal'), ('unfold-less-vertical', 'unfold-less-vertical'), ('unfold-more-horizontal', 'unfold-more-horizontal'), ('unfold-more-vertical', 'unfold-more-vertical'), ('ungroup', 'ungroup'), ('unicode', 'unicode'), ('unicorn', 'unicorn'), ('unicorn-variant', 'unicorn-variant'), ('unicycle', 'unicycle'), ('unity', 'unity'), ('unreal', 'unreal'), ('untappd', 'untappd'), ('update', 'update'), ('upload', 'upload'), ('upload-lock', 'upload-lock'), ('upload-lock-outline', 'upload-lock-outline'), ('upload-multiple', 'upload-multiple'), ('upload-network', 'upload-network'), ('upload-network-outline', 'upload-network-outline'), ('upload-off', 'upload-off'), ('upload-off-outline', 'upload-off-outline'), ('upload-outline', 'upload-outline'), ('usb', 'usb'), ('usb-flash-drive', 'usb-flash-drive'), ('usb-flash-drive-outline', 'usb-flash-drive-outline'), ('usb-port', 'usb-port'), ('vacuum', 'vacuum'), ('vacuum-outline', 'vacuum-outline'), ('valve', 'valve'), ('valve-closed', 'valve-closed'), ('valve-open', 'valve-open'), ('van-passenger', 'van-passenger'), ('van-utility', 'van-utility'), ('vanish', 'vanish'), ('vanish-quarter', 'vanish-quarter'), ('vanity-light', 'vanity-light'), ('variable', 'variable'), ('variable-box', 'variable-box'), ('vector-arrange-above', 'vector-arrange-above'), ('vector-arrange-below', 'vector-arrange-below'), ('vector-bezier', 'vector-bezier'), ('vector-circle', 'vector-circle'), ('vector-circle-variant', 'vector-circle-variant'), ('vector-combine', 'vector-combine'), ('vector-curve', 'vector-curve'), ('vector-difference', 'vector-difference'), ('vector-difference-ab', 'vector-difference-ab'), ('vector-difference-ba', 'vector-difference-ba'), ('vector-ellipse', 'vector-ellipse'), ('vector-intersection', 'vector-intersection'), ('vector-line', 'vector-line'), ('vector-link', 'vector-link'), ('vector-point', 'vector-point'), ('vector-point-edit', 'vector-point-edit'), ('vector-point-minus', 'vector-point-minus'), ('vector-point-plus', 'vector-point-plus'), ('vector-point-select', 'vector-point-select'), ('vector-polygon', 'vector-polygon'), ('vector-polygon-variant', 'vector-polygon-variant'), ('vector-polyline', 'vector-polyline'), ('vector-polyline-edit', 'vector-polyline-edit'), ('vector-polyline-minus', 'vector-polyline-minus'), ('vector-polyline-plus', 'vector-polyline-plus'), ('vector-polyline-remove', 'vector-polyline-remove'), ('vector-radius', 'vector-radius'), ('vector-rectangle', 'vector-rectangle'), ('vector-selection', 'vector-selection'), ('vector-square', 'vector-square'), ('vector-square-close', 'vector-square-close'), ('vector-square-edit', 'vector-square-edit'), ('vector-square-minus', 'vector-square-minus'), ('vector-square-open', 'vector-square-open'), ('vector-square-plus', 'vector-square-plus'), ('vector-square-remove', 'vector-square-remove'), ('vector-triangle', 'vector-triangle'), ('vector-union', 'vector-union'), ('venmo', 'venmo'), ('vhs', 'vhs'), ('vibrate', 'vibrate'), ('vibrate-off', 'vibrate-off'), ('video', 'video'), ('video-2d', 'video-2d'), ('video-3d', 'video-3d'), ('video-3d-off', 'video-3d-off'), ('video-3d-variant', 'video-3d-variant'), ('video-4k-box', 'video-4k-box'), ('video-account', 'video-account'), ('video-box', 'video-box'), ('video-box-off', 'video-box-off'), ('video-check', 'video-check'), ('video-check-outline', 'video-check-outline'), ('video-high-definition', 'video-high-definition'), ('video-image', 'video-image'), ('video-input-antenna', 'video-input-antenna'), ('video-input-component', 'video-input-component'), ('video-input-hdmi', 'video-input-hdmi'), ('video-input-scart', 'video-input-scart'), ('video-input-svideo', 'video-input-svideo'), ('video-marker', 'video-marker'), ('video-marker-outline', 'video-marker-outline'), ('video-minus', 'video-minus'), ('video-minus-outline', 'video-minus-outline'), ('video-off', 'video-off'), ('video-off-outline', 'video-off-outline'), ('video-outline', 'video-outline'), ('video-plus', 'video-plus'), ('video-plus-outline', 'video-plus-outline'), ('video-stabilization', 'video-stabilization'), ('video-switch', 'video-switch'), ('video-switch-outline', 'video-switch-outline'), ('video-vintage', 'video-vintage'), ('video-wireless', 'video-wireless'), ('video-wireless-outline', 'video-wireless-outline'), ('view-agenda', 'view-agenda'), ('view-agenda-outline', 'view-agenda-outline'), ('view-array', 'view-array'), ('view-array-outline', 'view-array-outline'), ('view-carousel', 'view-carousel'), ('view-carousel-outline', 'view-carousel-outline'), ('view-column', 'view-column'), ('view-column-outline', 'view-column-outline'), ('view-comfy', 'view-comfy'), ('view-comfy-outline', 'view-comfy-outline'), ('view-compact', 'view-compact'), ('view-compact-outline', 'view-compact-outline'), ('view-dashboard', 'view-dashboard'), ('view-dashboard-edit', 'view-dashboard-edit'), ('view-dashboard-edit-outline', 'view-dashboard-edit-outline'), ('view-dashboard-outline', 'view-dashboard-outline'), ('view-dashboard-variant', 'view-dashboard-variant'), ('view-dashboard-variant-outline', 'view-dashboard-variant-outline'), ('view-day', 'view-day'), ('view-day-outline', 'view-day-outline'), ('view-gallery', 'view-gallery'), ('view-gallery-outline', 'view-gallery-outline'), ('view-grid', 'view-grid'), ('view-grid-outline', 'view-grid-outline'), ('view-grid-plus', 'view-grid-plus'), ('view-grid-plus-outline', 'view-grid-plus-outline'), ('view-headline', 'view-headline'), ('view-list', 'view-list'), ('view-list-outline', 'view-list-outline'), ('view-module', 'view-module'), ('view-module-outline', 'view-module-outline'), ('view-parallel', 'view-parallel'), ('view-parallel-outline', 'view-parallel-outline'), ('view-quilt', 'view-quilt'), ('view-quilt-outline', 'view-quilt-outline'), ('view-sequential', 'view-sequential'), ('view-sequential-outline', 'view-sequential-outline'), ('view-split-horizontal', 'view-split-horizontal'), ('view-split-vertical', 'view-split-vertical'), ('view-stream', 'view-stream'), ('view-stream-outline', 'view-stream-outline'), ('view-week', 'view-week'), ('view-week-outline', 'view-week-outline'), ('vimeo', 'vimeo'), ('vine', 'vine'), ('violin', 'violin'), ('virtual-reality', 'virtual-reality'), ('virus', 'virus'), ('virus-off', 'virus-off'), ('virus-off-outline', 'virus-off-outline'), ('virus-outline', 'virus-outline'), ('vk', 'vk'), ('vk-box', 'vk-box'), ('vk-circle', 'vk-circle'), ('vlc', 'vlc'), ('voicemail', 'voicemail'), ('volcano', 'volcano'), ('volcano-outline', 'volcano-outline'), ('volleyball', 'volleyball'), ('volume', 'volume'), ('volume-equal', 'volume-equal'), ('volume-high', 'volume-high'), ('volume-low', 'volume-low'), ('volume-medium', 'volume-medium'), ('volume-minus', 'volume-minus'), ('volume-mute', 'volume-mute'), ('volume-off', 'volume-off'), ('volume-plus', 'volume-plus'), ('volume-source', 'volume-source'), ('volume-variant-off', 'volume-variant-off'), ('volume-vibrate', 'volume-vibrate'), ('vote', 'vote'), ('vote-outline', 'vote-outline'), ('vpn', 'vpn'), ('vuejs', 'vuejs'), ('vuetify', 'vuetify'), ('walk', 'walk'), ('wall', 'wall'), ('wall-fire', 'wall-fire'), ('wall-sconce', 'wall-sconce'), ('wall-sconce-flat', 'wall-sconce-flat'), ('wall-sconce-flat-outline', 'wall-sconce-flat-outline'), ('wall-sconce-flat-variant', 'wall-sconce-flat-variant'), ('wall-sconce-flat-variant-outline', 'wall-sconce-flat-variant-outline'), ('wall-sconce-outline', 'wall-sconce-outline'), ('wall-sconce-round', 'wall-sconce-round'), ('wall-sconce-round-outline', 'wall-sconce-round-outline'), ('wall-sconce-round-variant', 'wall-sconce-round-variant'), ('wall-sconce-round-variant-outline', 'wall-sconce-round-variant-outline'), ('wall-sconce-variant', 'wall-sconce-variant'), ('wallet', 'wallet'), ('wallet-giftcard', 'wallet-giftcard'), ('wallet-membership', 'wallet-membership'), ('wallet-outline', 'wallet-outline'), ('wallet-plus', 'wallet-plus'), ('wallet-plus-outline', 'wallet-plus-outline'), ('wallet-travel', 'wallet-travel'), ('wallpaper', 'wallpaper'), ('wan', 'wan'), ('wardrobe', 'wardrobe'), ('wardrobe-outline', 'wardrobe-outline'), ('warehouse', 'warehouse'), ('washing-machine', 'washing-machine'), ('washing-machine-alert', 'washing-machine-alert'), ('washing-machine-off', 'washing-machine-off'), ('watch', 'watch'), ('watch-export', 'watch-export'), ('watch-export-variant', 'watch-export-variant'), ('watch-import', 'watch-import'), ('watch-import-variant', 'watch-import-variant'), ('watch-variant', 'watch-variant'), ('watch-vibrate', 'watch-vibrate'), ('watch-vibrate-off', 'watch-vibrate-off'), ('water', 'water'), ('water-alert', 'water-alert'), ('water-alert-outline', 'water-alert-outline'), ('water-boiler', 'water-boiler'), ('water-boiler-alert', 'water-boiler-alert'), ('water-boiler-auto', 'water-boiler-auto'), ('water-boiler-off', 'water-boiler-off'), ('water-check', 'water-check'), ('water-check-outline', 'water-check-outline'), ('water-circle', 'water-circle'), ('water-minus', 'water-minus'), ('water-minus-outline', 'water-minus-outline'), ('water-off', 'water-off'), ('water-off-outline', 'water-off-outline'), ('water-opacity', 'water-opacity'), ('water-outline', 'water-outline'), ('water-percent', 'water-percent'), ('water-percent-alert', 'water-percent-alert'), ('water-plus', 'water-plus'), ('water-plus-outline', 'water-plus-outline'), ('water-polo', 'water-polo'), ('water-pump', 'water-pump'), ('water-pump-off', 'water-pump-off'), ('water-remove', 'water-remove'), ('water-remove-outline', 'water-remove-outline'), ('water-sync', 'water-sync'), ('water-thermometer', 'water-thermometer'), ('water-thermometer-outline', 'water-thermometer-outline'), ('water-well', 'water-well'), ('water-well-outline', 'water-well-outline'), ('waterfall', 'waterfall'), ('watering-can', 'watering-can'), ('watering-can-outline', 'watering-can-outline'), ('watermark', 'watermark'), ('wave', 'wave'), ('waveform', 'waveform'), ('waves', 'waves'), ('waves-arrow-left', 'waves-arrow-left'), ('waves-arrow-right', 'waves-arrow-right'), ('waves-arrow-up', 'waves-arrow-up'), ('waze', 'waze'), ('weather-cloudy', 'weather-cloudy'), ('weather-cloudy-alert', 'weather-cloudy-alert'), ('weather-cloudy-arrow-right', 'weather-cloudy-arrow-right'), ('weather-cloudy-clock', 'weather-cloudy-clock'), ('weather-dust', 'weather-dust'), ('weather-fog', 'weather-fog'), ('weather-hail', 'weather-hail'), ('weather-hazy', 'weather-hazy'), ('weather-hurricane', 'weather-hurricane'), ('weather-lightning', 'weather-lightning'), ('weather-lightning-rainy', 'weather-lightning-rainy'), ('weather-night', 'weather-night'), ('weather-night-partly-cloudy', 'weather-night-partly-cloudy'), ('weather-partly-cloudy', 'weather-partly-cloudy'), ('weather-partly-lightning', 'weather-partly-lightning'), ('weather-partly-rainy', 'weather-partly-rainy'), ('weather-partly-snowy', 'weather-partly-snowy'), ('weather-partly-snowy-rainy', 'weather-partly-snowy-rainy'), ('weather-pouring', 'weather-pouring'), ('weather-rainy', 'weather-rainy'), ('weather-snowy', 'weather-snowy'), ('weather-snowy-heavy', 'weather-snowy-heavy'), ('weather-snowy-rainy', 'weather-snowy-rainy'), ('weather-sunny', 'weather-sunny'), ('weather-sunny-alert', 'weather-sunny-alert'), ('weather-sunny-off', 'weather-sunny-off'), ('weather-sunset', 'weather-sunset'), ('weather-sunset-down', 'weather-sunset-down'), ('weather-sunset-up', 'weather-sunset-up'), ('weather-tornado', 'weather-tornado'), ('weather-windy', 'weather-windy'), ('weather-windy-variant', 'weather-windy-variant'), ('web', 'web'), ('web-box', 'web-box'), ('web-cancel', 'web-cancel'), ('web-check', 'web-check'), ('web-clock', 'web-clock'), ('web-minus', 'web-minus'), ('web-off', 'web-off'), ('web-plus', 'web-plus'), ('web-refresh', 'web-refresh'), ('web-remove', 'web-remove'), ('web-sync', 'web-sync'), ('webcam', 'webcam'), ('webcam-off', 'webcam-off'), ('webhook', 'webhook'), ('webpack', 'webpack'), ('webrtc', 'webrtc'), ('wechat', 'wechat'), ('weight', 'weight'), ('weight-gram', 'weight-gram'), ('weight-kilogram', 'weight-kilogram'), ('weight-lifter', 'weight-lifter'), ('weight-pound', 'weight-pound'), ('whatsapp', 'whatsapp'), ('wheel-barrow', 'wheel-barrow'), ('wheelchair', 'wheelchair'), ('wheelchair-accessibility', 'wheelchair-accessibility'), ('whistle', 'whistle'), ('whistle-outline', 'whistle-outline'), ('white-balance-auto', 'white-balance-auto'), ('white-balance-incandescent', 'white-balance-incandescent'), ('white-balance-iridescent', 'white-balance-iridescent'), ('white-balance-sunny', 'white-balance-sunny'), ('widgets', 'widgets'), ('widgets-outline', 'widgets-outline'), ('wifi', 'wifi'), ('wifi-alert', 'wifi-alert'), ('wifi-arrow-down', 'wifi-arrow-down'), ('wifi-arrow-left', 'wifi-arrow-left'), ('wifi-arrow-left-right', 'wifi-arrow-left-right'), ('wifi-arrow-right', 'wifi-arrow-right'), ('wifi-arrow-up', 'wifi-arrow-up'), ('wifi-arrow-up-down', 'wifi-arrow-up-down'), ('wifi-cancel', 'wifi-cancel'), ('wifi-check', 'wifi-check'), ('wifi-cog', 'wifi-cog'), ('wifi-lock', 'wifi-lock'), ('wifi-lock-open', 'wifi-lock-open'), ('wifi-marker', 'wifi-marker'), ('wifi-minus', 'wifi-minus'), ('wifi-off', 'wifi-off'), ('wifi-plus', 'wifi-plus'), ('wifi-refresh', 'wifi-refresh'), ('wifi-remove', 'wifi-remove'), ('wifi-settings', 'wifi-settings'), ('wifi-star', 'wifi-star'), ('wifi-strength-1', 'wifi-strength-1'), ('wifi-strength-1-alert', 'wifi-strength-1-alert'), ('wifi-strength-1-lock', 'wifi-strength-1-lock'), ('wifi-strength-1-lock-open', 'wifi-strength-1-lock-open'), ('wifi-strength-2', 'wifi-strength-2'), ('wifi-strength-2-alert', 'wifi-strength-2-alert'), ('wifi-strength-2-lock', 'wifi-strength-2-lock'), ('wifi-strength-2-lock-open', 'wifi-strength-2-lock-open'), ('wifi-strength-3', 'wifi-strength-3'), ('wifi-strength-3-alert', 'wifi-strength-3-alert'), ('wifi-strength-3-lock', 'wifi-strength-3-lock'), ('wifi-strength-3-lock-open', 'wifi-strength-3-lock-open'), ('wifi-strength-4', 'wifi-strength-4'), ('wifi-strength-4-alert', 'wifi-strength-4-alert'), ('wifi-strength-4-lock', 'wifi-strength-4-lock'), ('wifi-strength-4-lock-open', 'wifi-strength-4-lock-open'), ('wifi-strength-alert-outline', 'wifi-strength-alert-outline'), ('wifi-strength-lock-open-outline', 'wifi-strength-lock-open-outline'), ('wifi-strength-lock-outline', 'wifi-strength-lock-outline'), ('wifi-strength-off', 'wifi-strength-off'), ('wifi-strength-off-outline', 'wifi-strength-off-outline'), ('wifi-strength-outline', 'wifi-strength-outline'), ('wifi-sync', 'wifi-sync'), ('wikipedia', 'wikipedia'), ('wind-power', 'wind-power'), ('wind-power-outline', 'wind-power-outline'), ('wind-turbine', 'wind-turbine'), ('wind-turbine-alert', 'wind-turbine-alert'), ('wind-turbine-check', 'wind-turbine-check'), ('window-close', 'window-close'), ('window-closed', 'window-closed'), ('window-closed-variant', 'window-closed-variant'), ('window-maximize', 'window-maximize'), ('window-minimize', 'window-minimize'), ('window-open', 'window-open'), ('window-open-variant', 'window-open-variant'), ('window-restore', 'window-restore'), ('window-shutter', 'window-shutter'), ('window-shutter-alert', 'window-shutter-alert'), ('window-shutter-auto', 'window-shutter-auto'), ('window-shutter-cog', 'window-shutter-cog'), ('window-shutter-open', 'window-shutter-open'), ('window-shutter-settings', 'window-shutter-settings'), ('windsock', 'windsock'), ('wiper', 'wiper'), ('wiper-wash', 'wiper-wash'), ('wiper-wash-alert', 'wiper-wash-alert'), ('wizard-hat', 'wizard-hat'), ('wordpress', 'wordpress'), ('wrap', 'wrap'), ('wrap-disabled', 'wrap-disabled'), ('wrench', 'wrench'), ('wrench-check', 'wrench-check'), ('wrench-check-outline', 'wrench-check-outline'), ('wrench-clock', 'wrench-clock'), ('wrench-clock-outline', 'wrench-clock-outline'), ('wrench-cog', 'wrench-cog'), ('wrench-cog-outline', 'wrench-cog-outline'), ('wrench-outline', 'wrench-outline'), ('wunderlist', 'wunderlist'), ('xamarin', 'xamarin'), ('xamarin-outline', 'xamarin-outline'), ('xda', 'xda'), ('xing', 'xing'), ('xing-circle', 'xing-circle'), ('xml', 'xml'), ('xmpp', 'xmpp'), ('y-combinator', 'y-combinator'), ('yahoo', 'yahoo'), ('yammer', 'yammer'), ('yeast', 'yeast'), ('yelp', 'yelp'), ('yin-yang', 'yin-yang'), ('yoga', 'yoga'), ('youtube', 'youtube'), ('youtube-gaming', 'youtube-gaming'), ('youtube-studio', 'youtube-studio'), ('youtube-subscription', 'youtube-subscription'), ('youtube-tv', 'youtube-tv'), ('yurt', 'yurt'), ('z-wave', 'z-wave'), ('zend', 'zend'), ('zigbee', 'zigbee'), ('zip-box', 'zip-box'), ('zip-box-outline', 'zip-box-outline'), ('zip-disk', 'zip-disk'), ('zodiac-aquarius', 'zodiac-aquarius'), ('zodiac-aries', 'zodiac-aries'), ('zodiac-cancer', 'zodiac-cancer'), ('zodiac-capricorn', 'zodiac-capricorn'), ('zodiac-gemini', 'zodiac-gemini'), ('zodiac-leo', 'zodiac-leo'), ('zodiac-libra', 'zodiac-libra'), ('zodiac-pisces', 'zodiac-pisces'), ('zodiac-sagittarius', 'zodiac-sagittarius'), ('zodiac-scorpio', 'zodiac-scorpio'), ('zodiac-taurus', 'zodiac-taurus'), ('zodiac-virgo', 'zodiac-virgo')], default='information-outline', max_length=50, verbose_name='Icon'),
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0046_notification_create_field_icon.py | 0046_notification_create_field_icon.py |
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0018_pdffile_html_file'),
]
operations = [
migrations.AlterField(
model_name='custommenu',
name='name',
field=models.CharField(max_length=100, verbose_name='Menu ID'),
),
migrations.AlterField(
model_name='person',
name='short_name',
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Short name'),
),
migrations.AlterField(
model_name='schoolterm',
name='name',
field=models.CharField(max_length=255, verbose_name='Name'),
),
migrations.AddConstraint(
model_name='additionalfield',
constraint=models.UniqueConstraint(fields=('site_id', 'title'), name='unique_title_per_site'),
),
migrations.AddConstraint(
model_name='custommenu',
constraint=models.UniqueConstraint(fields=('site_id', 'name'), name='unique_menu_name_per_site'),
),
migrations.AddConstraint(
model_name='custommenuitem',
constraint=models.UniqueConstraint(fields=('menu', 'name'), name='unique_name_per_menu'),
),
migrations.AddConstraint(
model_name='grouptype',
constraint=models.UniqueConstraint(fields=('site_id', 'name'), name='unique_group_type_name_per_site'),
),
migrations.AddConstraint(
model_name='person',
constraint=models.UniqueConstraint(fields=('site_id', 'short_name'), name='unique_short_name_per_site'),
),
migrations.AddConstraint(
model_name='schoolterm',
constraint=models.UniqueConstraint(fields=('site_id', 'name'), name='unique_school_term_name_per_site'),
),
migrations.AddConstraint(
model_name='schoolterm',
constraint=models.UniqueConstraint(fields=('site_id', 'date_start', 'date_end'), name='unique_school_term_dates_per_site'),
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0019_fix_uniqueness_per_site.py | 0019_fix_uniqueness_per_site.py |
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import oauth2_provider.generators
import oauth2_provider.models
class Migration(migrations.Migration):
dependencies = [
("contenttypes", "0002_remove_content_type_name"),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
("core", "0047_add_room_model"),
]
operations = [
migrations.AlterField(
model_name="custommenuitem",
name="icon",
field=models.CharField(
blank=True,
choices=[
("ab-testing", "ab-testing"),
("abacus", "abacus"),
("abjad-arabic", "abjad-arabic"),
("abjad-hebrew", "abjad-hebrew"),
("abugida-devanagari", "abugida-devanagari"),
("abugida-thai", "abugida-thai"),
("access-point", "access-point"),
("access-point-check", "access-point-check"),
("access-point-minus", "access-point-minus"),
("access-point-network", "access-point-network"),
("access-point-network-off", "access-point-network-off"),
("access-point-off", "access-point-off"),
("access-point-plus", "access-point-plus"),
("access-point-remove", "access-point-remove"),
("account", "account"),
("account-alert", "account-alert"),
("account-alert-outline", "account-alert-outline"),
("account-arrow-down", "account-arrow-down"),
("account-arrow-down-outline", "account-arrow-down-outline"),
("account-arrow-left", "account-arrow-left"),
("account-arrow-left-outline", "account-arrow-left-outline"),
("account-arrow-right", "account-arrow-right"),
("account-arrow-right-outline", "account-arrow-right-outline"),
("account-arrow-up", "account-arrow-up"),
("account-arrow-up-outline", "account-arrow-up-outline"),
("account-badge", "account-badge"),
("account-badge-outline", "account-badge-outline"),
("account-box", "account-box"),
("account-box-multiple", "account-box-multiple"),
("account-box-multiple-outline", "account-box-multiple-outline"),
("account-box-outline", "account-box-outline"),
("account-cancel", "account-cancel"),
("account-cancel-outline", "account-cancel-outline"),
("account-card", "account-card"),
("account-card-outline", "account-card-outline"),
("account-cash", "account-cash"),
("account-cash-outline", "account-cash-outline"),
("account-check", "account-check"),
("account-check-outline", "account-check-outline"),
("account-child", "account-child"),
("account-child-circle", "account-child-circle"),
("account-child-outline", "account-child-outline"),
("account-circle", "account-circle"),
("account-circle-outline", "account-circle-outline"),
("account-clock", "account-clock"),
("account-clock-outline", "account-clock-outline"),
("account-cog", "account-cog"),
("account-cog-outline", "account-cog-outline"),
("account-convert", "account-convert"),
("account-convert-outline", "account-convert-outline"),
("account-cowboy-hat", "account-cowboy-hat"),
("account-cowboy-hat-outline", "account-cowboy-hat-outline"),
("account-credit-card", "account-credit-card"),
("account-credit-card-outline", "account-credit-card-outline"),
("account-details", "account-details"),
("account-details-outline", "account-details-outline"),
("account-edit", "account-edit"),
("account-edit-outline", "account-edit-outline"),
("account-eye", "account-eye"),
("account-eye-outline", "account-eye-outline"),
("account-filter", "account-filter"),
("account-filter-outline", "account-filter-outline"),
("account-group", "account-group"),
("account-group-outline", "account-group-outline"),
("account-hard-hat", "account-hard-hat"),
("account-hard-hat-outline", "account-hard-hat-outline"),
("account-heart", "account-heart"),
("account-heart-outline", "account-heart-outline"),
("account-injury", "account-injury"),
("account-injury-outline", "account-injury-outline"),
("account-key", "account-key"),
("account-key-outline", "account-key-outline"),
("account-lock", "account-lock"),
("account-lock-open", "account-lock-open"),
("account-lock-open-outline", "account-lock-open-outline"),
("account-lock-outline", "account-lock-outline"),
("account-minus", "account-minus"),
("account-minus-outline", "account-minus-outline"),
("account-multiple", "account-multiple"),
("account-multiple-check", "account-multiple-check"),
("account-multiple-check-outline", "account-multiple-check-outline"),
("account-multiple-minus", "account-multiple-minus"),
("account-multiple-minus-outline", "account-multiple-minus-outline"),
("account-multiple-outline", "account-multiple-outline"),
("account-multiple-plus", "account-multiple-plus"),
("account-multiple-plus-outline", "account-multiple-plus-outline"),
("account-multiple-remove", "account-multiple-remove"),
("account-multiple-remove-outline", "account-multiple-remove-outline"),
("account-music", "account-music"),
("account-music-outline", "account-music-outline"),
("account-network", "account-network"),
("account-network-off", "account-network-off"),
("account-network-off-outline", "account-network-off-outline"),
("account-network-outline", "account-network-outline"),
("account-off", "account-off"),
("account-off-outline", "account-off-outline"),
("account-outline", "account-outline"),
("account-plus", "account-plus"),
("account-plus-outline", "account-plus-outline"),
("account-question", "account-question"),
("account-question-outline", "account-question-outline"),
("account-reactivate", "account-reactivate"),
("account-reactivate-outline", "account-reactivate-outline"),
("account-remove", "account-remove"),
("account-remove-outline", "account-remove-outline"),
("account-school", "account-school"),
("account-school-outline", "account-school-outline"),
("account-search", "account-search"),
("account-search-outline", "account-search-outline"),
("account-settings", "account-settings"),
("account-settings-outline", "account-settings-outline"),
("account-settings-variant", "account-settings-variant"),
("account-star", "account-star"),
("account-star-outline", "account-star-outline"),
("account-supervisor", "account-supervisor"),
("account-supervisor-circle", "account-supervisor-circle"),
("account-supervisor-circle-outline", "account-supervisor-circle-outline"),
("account-supervisor-outline", "account-supervisor-outline"),
("account-switch", "account-switch"),
("account-switch-outline", "account-switch-outline"),
("account-sync", "account-sync"),
("account-sync-outline", "account-sync-outline"),
("account-tag", "account-tag"),
("account-tag-outline", "account-tag-outline"),
("account-tie", "account-tie"),
("account-tie-hat", "account-tie-hat"),
("account-tie-hat-outline", "account-tie-hat-outline"),
("account-tie-outline", "account-tie-outline"),
("account-tie-voice", "account-tie-voice"),
("account-tie-voice-off", "account-tie-voice-off"),
("account-tie-voice-off-outline", "account-tie-voice-off-outline"),
("account-tie-voice-outline", "account-tie-voice-outline"),
("account-tie-woman", "account-tie-woman"),
("account-voice", "account-voice"),
("account-voice-off", "account-voice-off"),
("account-wrench", "account-wrench"),
("account-wrench-outline", "account-wrench-outline"),
("accusoft", "accusoft"),
("ad-choices", "ad-choices"),
("adchoices", "adchoices"),
("adjust", "adjust"),
("adobe", "adobe"),
("advertisements", "advertisements"),
("advertisements-off", "advertisements-off"),
("air-conditioner", "air-conditioner"),
("air-filter", "air-filter"),
("air-horn", "air-horn"),
("air-humidifier", "air-humidifier"),
("air-humidifier-off", "air-humidifier-off"),
("air-purifier", "air-purifier"),
("air-purifier-off", "air-purifier-off"),
("airbag", "airbag"),
("airballoon", "airballoon"),
("airballoon-outline", "airballoon-outline"),
("airplane", "airplane"),
("airplane-alert", "airplane-alert"),
("airplane-check", "airplane-check"),
("airplane-clock", "airplane-clock"),
("airplane-cog", "airplane-cog"),
("airplane-edit", "airplane-edit"),
("airplane-landing", "airplane-landing"),
("airplane-marker", "airplane-marker"),
("airplane-minus", "airplane-minus"),
("airplane-off", "airplane-off"),
("airplane-plus", "airplane-plus"),
("airplane-remove", "airplane-remove"),
("airplane-search", "airplane-search"),
("airplane-settings", "airplane-settings"),
("airplane-takeoff", "airplane-takeoff"),
("airport", "airport"),
("alarm", "alarm"),
("alarm-bell", "alarm-bell"),
("alarm-check", "alarm-check"),
("alarm-light", "alarm-light"),
("alarm-light-off", "alarm-light-off"),
("alarm-light-off-outline", "alarm-light-off-outline"),
("alarm-light-outline", "alarm-light-outline"),
("alarm-multiple", "alarm-multiple"),
("alarm-note", "alarm-note"),
("alarm-note-off", "alarm-note-off"),
("alarm-off", "alarm-off"),
("alarm-panel", "alarm-panel"),
("alarm-panel-outline", "alarm-panel-outline"),
("alarm-plus", "alarm-plus"),
("alarm-snooze", "alarm-snooze"),
("album", "album"),
("alert", "alert"),
("alert-box", "alert-box"),
("alert-box-outline", "alert-box-outline"),
("alert-circle", "alert-circle"),
("alert-circle-check", "alert-circle-check"),
("alert-circle-check-outline", "alert-circle-check-outline"),
("alert-circle-outline", "alert-circle-outline"),
("alert-decagram", "alert-decagram"),
("alert-decagram-outline", "alert-decagram-outline"),
("alert-minus", "alert-minus"),
("alert-minus-outline", "alert-minus-outline"),
("alert-octagon", "alert-octagon"),
("alert-octagon-outline", "alert-octagon-outline"),
("alert-octagram", "alert-octagram"),
("alert-octagram-outline", "alert-octagram-outline"),
("alert-outline", "alert-outline"),
("alert-plus", "alert-plus"),
("alert-plus-outline", "alert-plus-outline"),
("alert-remove", "alert-remove"),
("alert-remove-outline", "alert-remove-outline"),
("alert-rhombus", "alert-rhombus"),
("alert-rhombus-outline", "alert-rhombus-outline"),
("alien", "alien"),
("alien-outline", "alien-outline"),
("align-horizontal-center", "align-horizontal-center"),
("align-horizontal-distribute", "align-horizontal-distribute"),
("align-horizontal-left", "align-horizontal-left"),
("align-horizontal-right", "align-horizontal-right"),
("align-vertical-bottom", "align-vertical-bottom"),
("align-vertical-center", "align-vertical-center"),
("align-vertical-distribute", "align-vertical-distribute"),
("align-vertical-top", "align-vertical-top"),
("all-inclusive", "all-inclusive"),
("all-inclusive-box", "all-inclusive-box"),
("all-inclusive-box-outline", "all-inclusive-box-outline"),
("allergy", "allergy"),
("allo", "allo"),
("alpha", "alpha"),
("alpha-a", "alpha-a"),
("alpha-a-box", "alpha-a-box"),
("alpha-a-box-outline", "alpha-a-box-outline"),
("alpha-a-circle", "alpha-a-circle"),
("alpha-a-circle-outline", "alpha-a-circle-outline"),
("alpha-b", "alpha-b"),
("alpha-b-box", "alpha-b-box"),
("alpha-b-box-outline", "alpha-b-box-outline"),
("alpha-b-circle", "alpha-b-circle"),
("alpha-b-circle-outline", "alpha-b-circle-outline"),
("alpha-c", "alpha-c"),
("alpha-c-box", "alpha-c-box"),
("alpha-c-box-outline", "alpha-c-box-outline"),
("alpha-c-circle", "alpha-c-circle"),
("alpha-c-circle-outline", "alpha-c-circle-outline"),
("alpha-d", "alpha-d"),
("alpha-d-box", "alpha-d-box"),
("alpha-d-box-outline", "alpha-d-box-outline"),
("alpha-d-circle", "alpha-d-circle"),
("alpha-d-circle-outline", "alpha-d-circle-outline"),
("alpha-e", "alpha-e"),
("alpha-e-box", "alpha-e-box"),
("alpha-e-box-outline", "alpha-e-box-outline"),
("alpha-e-circle", "alpha-e-circle"),
("alpha-e-circle-outline", "alpha-e-circle-outline"),
("alpha-f", "alpha-f"),
("alpha-f-box", "alpha-f-box"),
("alpha-f-box-outline", "alpha-f-box-outline"),
("alpha-f-circle", "alpha-f-circle"),
("alpha-f-circle-outline", "alpha-f-circle-outline"),
("alpha-g", "alpha-g"),
("alpha-g-box", "alpha-g-box"),
("alpha-g-box-outline", "alpha-g-box-outline"),
("alpha-g-circle", "alpha-g-circle"),
("alpha-g-circle-outline", "alpha-g-circle-outline"),
("alpha-h", "alpha-h"),
("alpha-h-box", "alpha-h-box"),
("alpha-h-box-outline", "alpha-h-box-outline"),
("alpha-h-circle", "alpha-h-circle"),
("alpha-h-circle-outline", "alpha-h-circle-outline"),
("alpha-i", "alpha-i"),
("alpha-i-box", "alpha-i-box"),
("alpha-i-box-outline", "alpha-i-box-outline"),
("alpha-i-circle", "alpha-i-circle"),
("alpha-i-circle-outline", "alpha-i-circle-outline"),
("alpha-j", "alpha-j"),
("alpha-j-box", "alpha-j-box"),
("alpha-j-box-outline", "alpha-j-box-outline"),
("alpha-j-circle", "alpha-j-circle"),
("alpha-j-circle-outline", "alpha-j-circle-outline"),
("alpha-k", "alpha-k"),
("alpha-k-box", "alpha-k-box"),
("alpha-k-box-outline", "alpha-k-box-outline"),
("alpha-k-circle", "alpha-k-circle"),
("alpha-k-circle-outline", "alpha-k-circle-outline"),
("alpha-l", "alpha-l"),
("alpha-l-box", "alpha-l-box"),
("alpha-l-box-outline", "alpha-l-box-outline"),
("alpha-l-circle", "alpha-l-circle"),
("alpha-l-circle-outline", "alpha-l-circle-outline"),
("alpha-m", "alpha-m"),
("alpha-m-box", "alpha-m-box"),
("alpha-m-box-outline", "alpha-m-box-outline"),
("alpha-m-circle", "alpha-m-circle"),
("alpha-m-circle-outline", "alpha-m-circle-outline"),
("alpha-n", "alpha-n"),
("alpha-n-box", "alpha-n-box"),
("alpha-n-box-outline", "alpha-n-box-outline"),
("alpha-n-circle", "alpha-n-circle"),
("alpha-n-circle-outline", "alpha-n-circle-outline"),
("alpha-o", "alpha-o"),
("alpha-o-box", "alpha-o-box"),
("alpha-o-box-outline", "alpha-o-box-outline"),
("alpha-o-circle", "alpha-o-circle"),
("alpha-o-circle-outline", "alpha-o-circle-outline"),
("alpha-p", "alpha-p"),
("alpha-p-box", "alpha-p-box"),
("alpha-p-box-outline", "alpha-p-box-outline"),
("alpha-p-circle", "alpha-p-circle"),
("alpha-p-circle-outline", "alpha-p-circle-outline"),
("alpha-q", "alpha-q"),
("alpha-q-box", "alpha-q-box"),
("alpha-q-box-outline", "alpha-q-box-outline"),
("alpha-q-circle", "alpha-q-circle"),
("alpha-q-circle-outline", "alpha-q-circle-outline"),
("alpha-r", "alpha-r"),
("alpha-r-box", "alpha-r-box"),
("alpha-r-box-outline", "alpha-r-box-outline"),
("alpha-r-circle", "alpha-r-circle"),
("alpha-r-circle-outline", "alpha-r-circle-outline"),
("alpha-s", "alpha-s"),
("alpha-s-box", "alpha-s-box"),
("alpha-s-box-outline", "alpha-s-box-outline"),
("alpha-s-circle", "alpha-s-circle"),
("alpha-s-circle-outline", "alpha-s-circle-outline"),
("alpha-t", "alpha-t"),
("alpha-t-box", "alpha-t-box"),
("alpha-t-box-outline", "alpha-t-box-outline"),
("alpha-t-circle", "alpha-t-circle"),
("alpha-t-circle-outline", "alpha-t-circle-outline"),
("alpha-u", "alpha-u"),
("alpha-u-box", "alpha-u-box"),
("alpha-u-box-outline", "alpha-u-box-outline"),
("alpha-u-circle", "alpha-u-circle"),
("alpha-u-circle-outline", "alpha-u-circle-outline"),
("alpha-v", "alpha-v"),
("alpha-v-box", "alpha-v-box"),
("alpha-v-box-outline", "alpha-v-box-outline"),
("alpha-v-circle", "alpha-v-circle"),
("alpha-v-circle-outline", "alpha-v-circle-outline"),
("alpha-w", "alpha-w"),
("alpha-w-box", "alpha-w-box"),
("alpha-w-box-outline", "alpha-w-box-outline"),
("alpha-w-circle", "alpha-w-circle"),
("alpha-w-circle-outline", "alpha-w-circle-outline"),
("alpha-x", "alpha-x"),
("alpha-x-box", "alpha-x-box"),
("alpha-x-box-outline", "alpha-x-box-outline"),
("alpha-x-circle", "alpha-x-circle"),
("alpha-x-circle-outline", "alpha-x-circle-outline"),
("alpha-y", "alpha-y"),
("alpha-y-box", "alpha-y-box"),
("alpha-y-box-outline", "alpha-y-box-outline"),
("alpha-y-circle", "alpha-y-circle"),
("alpha-y-circle-outline", "alpha-y-circle-outline"),
("alpha-z", "alpha-z"),
("alpha-z-box", "alpha-z-box"),
("alpha-z-box-outline", "alpha-z-box-outline"),
("alpha-z-circle", "alpha-z-circle"),
("alpha-z-circle-outline", "alpha-z-circle-outline"),
("alphabet-aurebesh", "alphabet-aurebesh"),
("alphabet-cyrillic", "alphabet-cyrillic"),
("alphabet-greek", "alphabet-greek"),
("alphabet-latin", "alphabet-latin"),
("alphabet-piqad", "alphabet-piqad"),
("alphabet-tengwar", "alphabet-tengwar"),
("alphabetical", "alphabetical"),
("alphabetical-off", "alphabetical-off"),
("alphabetical-variant", "alphabetical-variant"),
("alphabetical-variant-off", "alphabetical-variant-off"),
("altimeter", "altimeter"),
("amazon", "amazon"),
("amazon-alexa", "amazon-alexa"),
("amazon-drive", "amazon-drive"),
("ambulance", "ambulance"),
("ammunition", "ammunition"),
("ampersand", "ampersand"),
("amplifier", "amplifier"),
("amplifier-off", "amplifier-off"),
("anchor", "anchor"),
("android", "android"),
("android-auto", "android-auto"),
("android-debug-bridge", "android-debug-bridge"),
("android-head", "android-head"),
("android-messages", "android-messages"),
("android-studio", "android-studio"),
("angle-acute", "angle-acute"),
("angle-obtuse", "angle-obtuse"),
("angle-right", "angle-right"),
("angular", "angular"),
("angularjs", "angularjs"),
("animation", "animation"),
("animation-outline", "animation-outline"),
("animation-play", "animation-play"),
("animation-play-outline", "animation-play-outline"),
("ansible", "ansible"),
("antenna", "antenna"),
("anvil", "anvil"),
("apache-kafka", "apache-kafka"),
("api", "api"),
("api-off", "api-off"),
("apple", "apple"),
("apple-finder", "apple-finder"),
("apple-icloud", "apple-icloud"),
("apple-ios", "apple-ios"),
("apple-keyboard-caps", "apple-keyboard-caps"),
("apple-keyboard-command", "apple-keyboard-command"),
("apple-keyboard-control", "apple-keyboard-control"),
("apple-keyboard-option", "apple-keyboard-option"),
("apple-keyboard-shift", "apple-keyboard-shift"),
("apple-safari", "apple-safari"),
("application", "application"),
("application-array", "application-array"),
("application-array-outline", "application-array-outline"),
("application-braces", "application-braces"),
("application-braces-outline", "application-braces-outline"),
("application-brackets", "application-brackets"),
("application-brackets-outline", "application-brackets-outline"),
("application-cog", "application-cog"),
("application-cog-outline", "application-cog-outline"),
("application-edit", "application-edit"),
("application-edit-outline", "application-edit-outline"),
("application-export", "application-export"),
("application-import", "application-import"),
("application-outline", "application-outline"),
("application-parentheses", "application-parentheses"),
("application-parentheses-outline", "application-parentheses-outline"),
("application-settings", "application-settings"),
("application-settings-outline", "application-settings-outline"),
("application-variable", "application-variable"),
("application-variable-outline", "application-variable-outline"),
("appnet", "appnet"),
("approximately-equal", "approximately-equal"),
("approximately-equal-box", "approximately-equal-box"),
("apps", "apps"),
("apps-box", "apps-box"),
("arch", "arch"),
("archive", "archive"),
("archive-alert", "archive-alert"),
("archive-alert-outline", "archive-alert-outline"),
("archive-arrow-down", "archive-arrow-down"),
("archive-arrow-down-outline", "archive-arrow-down-outline"),
("archive-arrow-up", "archive-arrow-up"),
("archive-arrow-up-outline", "archive-arrow-up-outline"),
("archive-cancel", "archive-cancel"),
("archive-cancel-outline", "archive-cancel-outline"),
("archive-check", "archive-check"),
("archive-check-outline", "archive-check-outline"),
("archive-clock", "archive-clock"),
("archive-clock-outline", "archive-clock-outline"),
("archive-cog", "archive-cog"),
("archive-cog-outline", "archive-cog-outline"),
("archive-edit", "archive-edit"),
("archive-edit-outline", "archive-edit-outline"),
("archive-eye", "archive-eye"),
("archive-eye-outline", "archive-eye-outline"),
("archive-lock", "archive-lock"),
("archive-lock-open", "archive-lock-open"),
("archive-lock-open-outline", "archive-lock-open-outline"),
("archive-lock-outline", "archive-lock-outline"),
("archive-marker", "archive-marker"),
("archive-marker-outline", "archive-marker-outline"),
("archive-minus", "archive-minus"),
("archive-minus-outline", "archive-minus-outline"),
("archive-music", "archive-music"),
("archive-music-outline", "archive-music-outline"),
("archive-off", "archive-off"),
("archive-off-outline", "archive-off-outline"),
("archive-outline", "archive-outline"),
("archive-plus", "archive-plus"),
("archive-plus-outline", "archive-plus-outline"),
("archive-refresh", "archive-refresh"),
("archive-refresh-outline", "archive-refresh-outline"),
("archive-remove", "archive-remove"),
("archive-remove-outline", "archive-remove-outline"),
("archive-search", "archive-search"),
("archive-search-outline", "archive-search-outline"),
("archive-settings", "archive-settings"),
("archive-settings-outline", "archive-settings-outline"),
("archive-star", "archive-star"),
("archive-star-outline", "archive-star-outline"),
("archive-sync", "archive-sync"),
("archive-sync-outline", "archive-sync-outline"),
("arm-flex", "arm-flex"),
("arm-flex-outline", "arm-flex-outline"),
("arrange-bring-forward", "arrange-bring-forward"),
("arrange-bring-to-front", "arrange-bring-to-front"),
("arrange-send-backward", "arrange-send-backward"),
("arrange-send-to-back", "arrange-send-to-back"),
("arrow-all", "arrow-all"),
("arrow-bottom-left", "arrow-bottom-left"),
("arrow-bottom-left-bold-box", "arrow-bottom-left-bold-box"),
("arrow-bottom-left-bold-box-outline", "arrow-bottom-left-bold-box-outline"),
("arrow-bottom-left-bold-outline", "arrow-bottom-left-bold-outline"),
("arrow-bottom-left-thick", "arrow-bottom-left-thick"),
("arrow-bottom-left-thin", "arrow-bottom-left-thin"),
(
"arrow-bottom-left-thin-circle-outline",
"arrow-bottom-left-thin-circle-outline",
),
("arrow-bottom-right", "arrow-bottom-right"),
("arrow-bottom-right-bold-box", "arrow-bottom-right-bold-box"),
("arrow-bottom-right-bold-box-outline", "arrow-bottom-right-bold-box-outline"),
("arrow-bottom-right-bold-outline", "arrow-bottom-right-bold-outline"),
("arrow-bottom-right-thick", "arrow-bottom-right-thick"),
("arrow-bottom-right-thin", "arrow-bottom-right-thin"),
(
"arrow-bottom-right-thin-circle-outline",
"arrow-bottom-right-thin-circle-outline",
),
("arrow-collapse", "arrow-collapse"),
("arrow-collapse-all", "arrow-collapse-all"),
("arrow-collapse-down", "arrow-collapse-down"),
("arrow-collapse-horizontal", "arrow-collapse-horizontal"),
("arrow-collapse-left", "arrow-collapse-left"),
("arrow-collapse-right", "arrow-collapse-right"),
("arrow-collapse-up", "arrow-collapse-up"),
("arrow-collapse-vertical", "arrow-collapse-vertical"),
("arrow-decision", "arrow-decision"),
("arrow-decision-auto", "arrow-decision-auto"),
("arrow-decision-auto-outline", "arrow-decision-auto-outline"),
("arrow-decision-outline", "arrow-decision-outline"),
("arrow-down", "arrow-down"),
("arrow-down-bold", "arrow-down-bold"),
("arrow-down-bold-box", "arrow-down-bold-box"),
("arrow-down-bold-box-outline", "arrow-down-bold-box-outline"),
("arrow-down-bold-circle", "arrow-down-bold-circle"),
("arrow-down-bold-circle-outline", "arrow-down-bold-circle-outline"),
("arrow-down-bold-hexagon-outline", "arrow-down-bold-hexagon-outline"),
("arrow-down-bold-outline", "arrow-down-bold-outline"),
("arrow-down-box", "arrow-down-box"),
("arrow-down-circle", "arrow-down-circle"),
("arrow-down-circle-outline", "arrow-down-circle-outline"),
("arrow-down-drop-circle", "arrow-down-drop-circle"),
("arrow-down-drop-circle-outline", "arrow-down-drop-circle-outline"),
("arrow-down-left", "arrow-down-left"),
("arrow-down-left-bold", "arrow-down-left-bold"),
("arrow-down-right", "arrow-down-right"),
("arrow-down-right-bold", "arrow-down-right-bold"),
("arrow-down-thick", "arrow-down-thick"),
("arrow-down-thin", "arrow-down-thin"),
("arrow-down-thin-circle-outline", "arrow-down-thin-circle-outline"),
("arrow-expand", "arrow-expand"),
("arrow-expand-all", "arrow-expand-all"),
("arrow-expand-down", "arrow-expand-down"),
("arrow-expand-horizontal", "arrow-expand-horizontal"),
("arrow-expand-left", "arrow-expand-left"),
("arrow-expand-right", "arrow-expand-right"),
("arrow-expand-up", "arrow-expand-up"),
("arrow-expand-vertical", "arrow-expand-vertical"),
("arrow-horizontal-lock", "arrow-horizontal-lock"),
("arrow-left", "arrow-left"),
("arrow-left-bold", "arrow-left-bold"),
("arrow-left-bold-box", "arrow-left-bold-box"),
("arrow-left-bold-box-outline", "arrow-left-bold-box-outline"),
("arrow-left-bold-circle", "arrow-left-bold-circle"),
("arrow-left-bold-circle-outline", "arrow-left-bold-circle-outline"),
("arrow-left-bold-hexagon-outline", "arrow-left-bold-hexagon-outline"),
("arrow-left-bold-outline", "arrow-left-bold-outline"),
("arrow-left-bottom", "arrow-left-bottom"),
("arrow-left-bottom-bold", "arrow-left-bottom-bold"),
("arrow-left-box", "arrow-left-box"),
("arrow-left-circle", "arrow-left-circle"),
("arrow-left-circle-outline", "arrow-left-circle-outline"),
("arrow-left-drop-circle", "arrow-left-drop-circle"),
("arrow-left-drop-circle-outline", "arrow-left-drop-circle-outline"),
("arrow-left-right", "arrow-left-right"),
("arrow-left-right-bold", "arrow-left-right-bold"),
("arrow-left-right-bold-outline", "arrow-left-right-bold-outline"),
("arrow-left-thick", "arrow-left-thick"),
("arrow-left-thin", "arrow-left-thin"),
("arrow-left-thin-circle-outline", "arrow-left-thin-circle-outline"),
("arrow-left-top", "arrow-left-top"),
("arrow-left-top-bold", "arrow-left-top-bold"),
("arrow-projectile", "arrow-projectile"),
("arrow-projectile-multiple", "arrow-projectile-multiple"),
("arrow-right", "arrow-right"),
("arrow-right-bold", "arrow-right-bold"),
("arrow-right-bold-box", "arrow-right-bold-box"),
("arrow-right-bold-box-outline", "arrow-right-bold-box-outline"),
("arrow-right-bold-circle", "arrow-right-bold-circle"),
("arrow-right-bold-circle-outline", "arrow-right-bold-circle-outline"),
("arrow-right-bold-hexagon-outline", "arrow-right-bold-hexagon-outline"),
("arrow-right-bold-outline", "arrow-right-bold-outline"),
("arrow-right-bottom", "arrow-right-bottom"),
("arrow-right-bottom-bold", "arrow-right-bottom-bold"),
("arrow-right-box", "arrow-right-box"),
("arrow-right-circle", "arrow-right-circle"),
("arrow-right-circle-outline", "arrow-right-circle-outline"),
("arrow-right-drop-circle", "arrow-right-drop-circle"),
("arrow-right-drop-circle-outline", "arrow-right-drop-circle-outline"),
("arrow-right-thick", "arrow-right-thick"),
("arrow-right-thin", "arrow-right-thin"),
("arrow-right-thin-circle-outline", "arrow-right-thin-circle-outline"),
("arrow-right-top", "arrow-right-top"),
("arrow-right-top-bold", "arrow-right-top-bold"),
("arrow-split-horizontal", "arrow-split-horizontal"),
("arrow-split-vertical", "arrow-split-vertical"),
("arrow-top-left", "arrow-top-left"),
("arrow-top-left-bold-box", "arrow-top-left-bold-box"),
("arrow-top-left-bold-box-outline", "arrow-top-left-bold-box-outline"),
("arrow-top-left-bold-outline", "arrow-top-left-bold-outline"),
("arrow-top-left-bottom-right", "arrow-top-left-bottom-right"),
("arrow-top-left-bottom-right-bold", "arrow-top-left-bottom-right-bold"),
("arrow-top-left-thick", "arrow-top-left-thick"),
("arrow-top-left-thin", "arrow-top-left-thin"),
("arrow-top-left-thin-circle-outline", "arrow-top-left-thin-circle-outline"),
("arrow-top-right", "arrow-top-right"),
("arrow-top-right-bold-box", "arrow-top-right-bold-box"),
("arrow-top-right-bold-box-outline", "arrow-top-right-bold-box-outline"),
("arrow-top-right-bold-outline", "arrow-top-right-bold-outline"),
("arrow-top-right-bottom-left", "arrow-top-right-bottom-left"),
("arrow-top-right-bottom-left-bold", "arrow-top-right-bottom-left-bold"),
("arrow-top-right-thick", "arrow-top-right-thick"),
("arrow-top-right-thin", "arrow-top-right-thin"),
("arrow-top-right-thin-circle-outline", "arrow-top-right-thin-circle-outline"),
("arrow-u-down-left", "arrow-u-down-left"),
("arrow-u-down-left-bold", "arrow-u-down-left-bold"),
("arrow-u-down-right", "arrow-u-down-right"),
("arrow-u-down-right-bold", "arrow-u-down-right-bold"),
("arrow-u-left-bottom", "arrow-u-left-bottom"),
("arrow-u-left-bottom-bold", "arrow-u-left-bottom-bold"),
("arrow-u-left-top", "arrow-u-left-top"),
("arrow-u-left-top-bold", "arrow-u-left-top-bold"),
("arrow-u-right-bottom", "arrow-u-right-bottom"),
("arrow-u-right-bottom-bold", "arrow-u-right-bottom-bold"),
("arrow-u-right-top", "arrow-u-right-top"),
("arrow-u-right-top-bold", "arrow-u-right-top-bold"),
("arrow-u-up-left", "arrow-u-up-left"),
("arrow-u-up-left-bold", "arrow-u-up-left-bold"),
("arrow-u-up-right", "arrow-u-up-right"),
("arrow-u-up-right-bold", "arrow-u-up-right-bold"),
("arrow-up", "arrow-up"),
("arrow-up-bold", "arrow-up-bold"),
("arrow-up-bold-box", "arrow-up-bold-box"),
("arrow-up-bold-box-outline", "arrow-up-bold-box-outline"),
("arrow-up-bold-circle", "arrow-up-bold-circle"),
("arrow-up-bold-circle-outline", "arrow-up-bold-circle-outline"),
("arrow-up-bold-hexagon-outline", "arrow-up-bold-hexagon-outline"),
("arrow-up-bold-outline", "arrow-up-bold-outline"),
("arrow-up-box", "arrow-up-box"),
("arrow-up-circle", "arrow-up-circle"),
("arrow-up-circle-outline", "arrow-up-circle-outline"),
("arrow-up-down", "arrow-up-down"),
("arrow-up-down-bold", "arrow-up-down-bold"),
("arrow-up-down-bold-outline", "arrow-up-down-bold-outline"),
("arrow-up-drop-circle", "arrow-up-drop-circle"),
("arrow-up-drop-circle-outline", "arrow-up-drop-circle-outline"),
("arrow-up-left", "arrow-up-left"),
("arrow-up-left-bold", "arrow-up-left-bold"),
("arrow-up-right", "arrow-up-right"),
("arrow-up-right-bold", "arrow-up-right-bold"),
("arrow-up-thick", "arrow-up-thick"),
("arrow-up-thin", "arrow-up-thin"),
("arrow-up-thin-circle-outline", "arrow-up-thin-circle-outline"),
("arrow-vertical-lock", "arrow-vertical-lock"),
("artboard", "artboard"),
("artstation", "artstation"),
("aspect-ratio", "aspect-ratio"),
("assistant", "assistant"),
("asterisk", "asterisk"),
("asterisk-circle-outline", "asterisk-circle-outline"),
("at", "at"),
("atlassian", "atlassian"),
("atm", "atm"),
("atom", "atom"),
("atom-variant", "atom-variant"),
("attachment", "attachment"),
("attachment-check", "attachment-check"),
("attachment-lock", "attachment-lock"),
("attachment-minus", "attachment-minus"),
("attachment-off", "attachment-off"),
("attachment-plus", "attachment-plus"),
("attachment-remove", "attachment-remove"),
("atv", "atv"),
("audio-input-rca", "audio-input-rca"),
("audio-input-stereo-minijack", "audio-input-stereo-minijack"),
("audio-input-xlr", "audio-input-xlr"),
("audio-video", "audio-video"),
("audio-video-off", "audio-video-off"),
("augmented-reality", "augmented-reality"),
("aurora", "aurora"),
("auto-download", "auto-download"),
("auto-fix", "auto-fix"),
("auto-upload", "auto-upload"),
("autorenew", "autorenew"),
("autorenew-off", "autorenew-off"),
("av-timer", "av-timer"),
("awning", "awning"),
("awning-outline", "awning-outline"),
("aws", "aws"),
("axe", "axe"),
("axe-battle", "axe-battle"),
("axis", "axis"),
("axis-arrow", "axis-arrow"),
("axis-arrow-info", "axis-arrow-info"),
("axis-arrow-lock", "axis-arrow-lock"),
("axis-lock", "axis-lock"),
("axis-x-arrow", "axis-x-arrow"),
("axis-x-arrow-lock", "axis-x-arrow-lock"),
("axis-x-rotate-clockwise", "axis-x-rotate-clockwise"),
("axis-x-rotate-counterclockwise", "axis-x-rotate-counterclockwise"),
("axis-x-y-arrow-lock", "axis-x-y-arrow-lock"),
("axis-y-arrow", "axis-y-arrow"),
("axis-y-arrow-lock", "axis-y-arrow-lock"),
("axis-y-rotate-clockwise", "axis-y-rotate-clockwise"),
("axis-y-rotate-counterclockwise", "axis-y-rotate-counterclockwise"),
("axis-z-arrow", "axis-z-arrow"),
("axis-z-arrow-lock", "axis-z-arrow-lock"),
("axis-z-rotate-clockwise", "axis-z-rotate-clockwise"),
("axis-z-rotate-counterclockwise", "axis-z-rotate-counterclockwise"),
("babel", "babel"),
("baby", "baby"),
("baby-bottle", "baby-bottle"),
("baby-bottle-outline", "baby-bottle-outline"),
("baby-buggy", "baby-buggy"),
("baby-buggy-off", "baby-buggy-off"),
("baby-carriage", "baby-carriage"),
("baby-carriage-off", "baby-carriage-off"),
("baby-face", "baby-face"),
("baby-face-outline", "baby-face-outline"),
("backburger", "backburger"),
("backspace", "backspace"),
("backspace-outline", "backspace-outline"),
("backspace-reverse", "backspace-reverse"),
("backspace-reverse-outline", "backspace-reverse-outline"),
("backup-restore", "backup-restore"),
("bacteria", "bacteria"),
("bacteria-outline", "bacteria-outline"),
("badge-account", "badge-account"),
("badge-account-alert", "badge-account-alert"),
("badge-account-alert-outline", "badge-account-alert-outline"),
("badge-account-horizontal", "badge-account-horizontal"),
("badge-account-horizontal-outline", "badge-account-horizontal-outline"),
("badge-account-outline", "badge-account-outline"),
("badminton", "badminton"),
("bag-carry-on", "bag-carry-on"),
("bag-carry-on-check", "bag-carry-on-check"),
("bag-carry-on-off", "bag-carry-on-off"),
("bag-checked", "bag-checked"),
("bag-personal", "bag-personal"),
("bag-personal-off", "bag-personal-off"),
("bag-personal-off-outline", "bag-personal-off-outline"),
("bag-personal-outline", "bag-personal-outline"),
("bag-personal-tag", "bag-personal-tag"),
("bag-personal-tag-outline", "bag-personal-tag-outline"),
("bag-suitcase", "bag-suitcase"),
("bag-suitcase-off", "bag-suitcase-off"),
("bag-suitcase-off-outline", "bag-suitcase-off-outline"),
("bag-suitcase-outline", "bag-suitcase-outline"),
("baguette", "baguette"),
("balcony", "balcony"),
("balloon", "balloon"),
("ballot", "ballot"),
("ballot-outline", "ballot-outline"),
("ballot-recount", "ballot-recount"),
("ballot-recount-outline", "ballot-recount-outline"),
("bandage", "bandage"),
("bandcamp", "bandcamp"),
("bank", "bank"),
("bank-check", "bank-check"),
("bank-circle", "bank-circle"),
("bank-circle-outline", "bank-circle-outline"),
("bank-minus", "bank-minus"),
("bank-off", "bank-off"),
("bank-off-outline", "bank-off-outline"),
("bank-outline", "bank-outline"),
("bank-plus", "bank-plus"),
("bank-remove", "bank-remove"),
("bank-transfer", "bank-transfer"),
("bank-transfer-in", "bank-transfer-in"),
("bank-transfer-out", "bank-transfer-out"),
("barcode", "barcode"),
("barcode-off", "barcode-off"),
("barcode-scan", "barcode-scan"),
("barley", "barley"),
("barley-off", "barley-off"),
("barn", "barn"),
("barrel", "barrel"),
("barrel-outline", "barrel-outline"),
("baseball", "baseball"),
("baseball-bat", "baseball-bat"),
("baseball-diamond", "baseball-diamond"),
("baseball-diamond-outline", "baseball-diamond-outline"),
("basecamp", "basecamp"),
("bash", "bash"),
("basket", "basket"),
("basket-check", "basket-check"),
("basket-check-outline", "basket-check-outline"),
("basket-fill", "basket-fill"),
("basket-minus", "basket-minus"),
("basket-minus-outline", "basket-minus-outline"),
("basket-off", "basket-off"),
("basket-off-outline", "basket-off-outline"),
("basket-outline", "basket-outline"),
("basket-plus", "basket-plus"),
("basket-plus-outline", "basket-plus-outline"),
("basket-remove", "basket-remove"),
("basket-remove-outline", "basket-remove-outline"),
("basket-unfill", "basket-unfill"),
("basketball", "basketball"),
("basketball-hoop", "basketball-hoop"),
("basketball-hoop-outline", "basketball-hoop-outline"),
("bat", "bat"),
("bathtub", "bathtub"),
("bathtub-outline", "bathtub-outline"),
("battery", "battery"),
("battery-10", "battery-10"),
("battery-10-bluetooth", "battery-10-bluetooth"),
("battery-20", "battery-20"),
("battery-20-bluetooth", "battery-20-bluetooth"),
("battery-30", "battery-30"),
("battery-30-bluetooth", "battery-30-bluetooth"),
("battery-40", "battery-40"),
("battery-40-bluetooth", "battery-40-bluetooth"),
("battery-50", "battery-50"),
("battery-50-bluetooth", "battery-50-bluetooth"),
("battery-60", "battery-60"),
("battery-60-bluetooth", "battery-60-bluetooth"),
("battery-70", "battery-70"),
("battery-70-bluetooth", "battery-70-bluetooth"),
("battery-80", "battery-80"),
("battery-80-bluetooth", "battery-80-bluetooth"),
("battery-90", "battery-90"),
("battery-90-bluetooth", "battery-90-bluetooth"),
("battery-alert", "battery-alert"),
("battery-alert-bluetooth", "battery-alert-bluetooth"),
("battery-alert-variant", "battery-alert-variant"),
("battery-alert-variant-outline", "battery-alert-variant-outline"),
("battery-arrow-down", "battery-arrow-down"),
("battery-arrow-down-outline", "battery-arrow-down-outline"),
("battery-arrow-up", "battery-arrow-up"),
("battery-arrow-up-outline", "battery-arrow-up-outline"),
("battery-bluetooth", "battery-bluetooth"),
("battery-bluetooth-variant", "battery-bluetooth-variant"),
("battery-charging", "battery-charging"),
("battery-charging-10", "battery-charging-10"),
("battery-charging-100", "battery-charging-100"),
("battery-charging-20", "battery-charging-20"),
("battery-charging-30", "battery-charging-30"),
("battery-charging-40", "battery-charging-40"),
("battery-charging-50", "battery-charging-50"),
("battery-charging-60", "battery-charging-60"),
("battery-charging-70", "battery-charging-70"),
("battery-charging-80", "battery-charging-80"),
("battery-charging-90", "battery-charging-90"),
("battery-charging-high", "battery-charging-high"),
("battery-charging-low", "battery-charging-low"),
("battery-charging-medium", "battery-charging-medium"),
("battery-charging-outline", "battery-charging-outline"),
("battery-charging-wireless", "battery-charging-wireless"),
("battery-charging-wireless-10", "battery-charging-wireless-10"),
("battery-charging-wireless-20", "battery-charging-wireless-20"),
("battery-charging-wireless-30", "battery-charging-wireless-30"),
("battery-charging-wireless-40", "battery-charging-wireless-40"),
("battery-charging-wireless-50", "battery-charging-wireless-50"),
("battery-charging-wireless-60", "battery-charging-wireless-60"),
("battery-charging-wireless-70", "battery-charging-wireless-70"),
("battery-charging-wireless-80", "battery-charging-wireless-80"),
("battery-charging-wireless-90", "battery-charging-wireless-90"),
("battery-charging-wireless-alert", "battery-charging-wireless-alert"),
("battery-charging-wireless-outline", "battery-charging-wireless-outline"),
("battery-check", "battery-check"),
("battery-check-outline", "battery-check-outline"),
("battery-clock", "battery-clock"),
("battery-clock-outline", "battery-clock-outline"),
("battery-heart", "battery-heart"),
("battery-heart-outline", "battery-heart-outline"),
("battery-heart-variant", "battery-heart-variant"),
("battery-high", "battery-high"),
("battery-lock", "battery-lock"),
("battery-lock-open", "battery-lock-open"),
("battery-low", "battery-low"),
("battery-medium", "battery-medium"),
("battery-minus", "battery-minus"),
("battery-minus-outline", "battery-minus-outline"),
("battery-minus-variant", "battery-minus-variant"),
("battery-negative", "battery-negative"),
("battery-off", "battery-off"),
("battery-off-outline", "battery-off-outline"),
("battery-outline", "battery-outline"),
("battery-plus", "battery-plus"),
("battery-plus-outline", "battery-plus-outline"),
("battery-plus-variant", "battery-plus-variant"),
("battery-positive", "battery-positive"),
("battery-remove", "battery-remove"),
("battery-remove-outline", "battery-remove-outline"),
("battery-standard", "battery-standard"),
("battery-sync", "battery-sync"),
("battery-sync-outline", "battery-sync-outline"),
("battery-unknown", "battery-unknown"),
("battery-unknown-bluetooth", "battery-unknown-bluetooth"),
("battlenet", "battlenet"),
("beach", "beach"),
("beaker", "beaker"),
("beaker-alert", "beaker-alert"),
("beaker-alert-outline", "beaker-alert-outline"),
("beaker-check", "beaker-check"),
("beaker-check-outline", "beaker-check-outline"),
("beaker-minus", "beaker-minus"),
("beaker-minus-outline", "beaker-minus-outline"),
("beaker-outline", "beaker-outline"),
("beaker-plus", "beaker-plus"),
("beaker-plus-outline", "beaker-plus-outline"),
("beaker-question", "beaker-question"),
("beaker-question-outline", "beaker-question-outline"),
("beaker-remove", "beaker-remove"),
("beaker-remove-outline", "beaker-remove-outline"),
("beam", "beam"),
("beats", "beats"),
("bed", "bed"),
("bed-clock", "bed-clock"),
("bed-double", "bed-double"),
("bed-double-outline", "bed-double-outline"),
("bed-empty", "bed-empty"),
("bed-king", "bed-king"),
("bed-king-outline", "bed-king-outline"),
("bed-outline", "bed-outline"),
("bed-queen", "bed-queen"),
("bed-queen-outline", "bed-queen-outline"),
("bed-single", "bed-single"),
("bed-single-outline", "bed-single-outline"),
("bee", "bee"),
("bee-flower", "bee-flower"),
("beehive-off-outline", "beehive-off-outline"),
("beehive-outline", "beehive-outline"),
("beekeeper", "beekeeper"),
("beer", "beer"),
("beer-outline", "beer-outline"),
("behance", "behance"),
("bell", "bell"),
("bell-alert", "bell-alert"),
("bell-alert-outline", "bell-alert-outline"),
("bell-badge", "bell-badge"),
("bell-badge-outline", "bell-badge-outline"),
("bell-cancel", "bell-cancel"),
("bell-cancel-outline", "bell-cancel-outline"),
("bell-check", "bell-check"),
("bell-check-outline", "bell-check-outline"),
("bell-circle", "bell-circle"),
("bell-circle-outline", "bell-circle-outline"),
("bell-cog", "bell-cog"),
("bell-cog-outline", "bell-cog-outline"),
("bell-minus", "bell-minus"),
("bell-minus-outline", "bell-minus-outline"),
("bell-off", "bell-off"),
("bell-off-outline", "bell-off-outline"),
("bell-outline", "bell-outline"),
("bell-plus", "bell-plus"),
("bell-plus-outline", "bell-plus-outline"),
("bell-remove", "bell-remove"),
("bell-remove-outline", "bell-remove-outline"),
("bell-ring", "bell-ring"),
("bell-ring-outline", "bell-ring-outline"),
("bell-sleep", "bell-sleep"),
("bell-sleep-outline", "bell-sleep-outline"),
("beta", "beta"),
("betamax", "betamax"),
("biathlon", "biathlon"),
("bicycle", "bicycle"),
("bicycle-basket", "bicycle-basket"),
("bicycle-cargo", "bicycle-cargo"),
("bicycle-electric", "bicycle-electric"),
("bicycle-penny-farthing", "bicycle-penny-farthing"),
("bike", "bike"),
("bike-fast", "bike-fast"),
("billboard", "billboard"),
("billiards", "billiards"),
("billiards-rack", "billiards-rack"),
("binoculars", "binoculars"),
("bio", "bio"),
("biohazard", "biohazard"),
("bird", "bird"),
("bitbucket", "bitbucket"),
("bitcoin", "bitcoin"),
("black-mesa", "black-mesa"),
("blackberry", "blackberry"),
("blender", "blender"),
("blender-outline", "blender-outline"),
("blender-software", "blender-software"),
("blinds", "blinds"),
("blinds-horizontal", "blinds-horizontal"),
("blinds-horizontal-closed", "blinds-horizontal-closed"),
("blinds-open", "blinds-open"),
("blinds-vertical", "blinds-vertical"),
("blinds-vertical-closed", "blinds-vertical-closed"),
("block-helper", "block-helper"),
("blogger", "blogger"),
("blood-bag", "blood-bag"),
("bluetooth", "bluetooth"),
("bluetooth-audio", "bluetooth-audio"),
("bluetooth-connect", "bluetooth-connect"),
("bluetooth-off", "bluetooth-off"),
("bluetooth-settings", "bluetooth-settings"),
("bluetooth-transfer", "bluetooth-transfer"),
("blur", "blur"),
("blur-linear", "blur-linear"),
("blur-off", "blur-off"),
("blur-radial", "blur-radial"),
("bolt", "bolt"),
("bomb", "bomb"),
("bomb-off", "bomb-off"),
("bone", "bone"),
("bone-off", "bone-off"),
("book", "book"),
("book-account", "book-account"),
("book-account-outline", "book-account-outline"),
("book-alert", "book-alert"),
("book-alert-outline", "book-alert-outline"),
("book-alphabet", "book-alphabet"),
("book-arrow-down", "book-arrow-down"),
("book-arrow-down-outline", "book-arrow-down-outline"),
("book-arrow-left", "book-arrow-left"),
("book-arrow-left-outline", "book-arrow-left-outline"),
("book-arrow-right", "book-arrow-right"),
("book-arrow-right-outline", "book-arrow-right-outline"),
("book-arrow-up", "book-arrow-up"),
("book-arrow-up-outline", "book-arrow-up-outline"),
("book-cancel", "book-cancel"),
("book-cancel-outline", "book-cancel-outline"),
("book-check", "book-check"),
("book-check-outline", "book-check-outline"),
("book-clock", "book-clock"),
("book-clock-outline", "book-clock-outline"),
("book-cog", "book-cog"),
("book-cog-outline", "book-cog-outline"),
("book-cross", "book-cross"),
("book-edit", "book-edit"),
("book-edit-outline", "book-edit-outline"),
("book-education", "book-education"),
("book-education-outline", "book-education-outline"),
("book-heart", "book-heart"),
("book-heart-outline", "book-heart-outline"),
("book-information-variant", "book-information-variant"),
("book-lock", "book-lock"),
("book-lock-open", "book-lock-open"),
("book-lock-open-outline", "book-lock-open-outline"),
("book-lock-outline", "book-lock-outline"),
("book-marker", "book-marker"),
("book-marker-outline", "book-marker-outline"),
("book-minus", "book-minus"),
("book-minus-multiple", "book-minus-multiple"),
("book-minus-multiple-outline", "book-minus-multiple-outline"),
("book-minus-outline", "book-minus-outline"),
("book-multiple", "book-multiple"),
("book-multiple-minus", "book-multiple-minus"),
("book-multiple-outline", "book-multiple-outline"),
("book-multiple-plus", "book-multiple-plus"),
("book-multiple-remove", "book-multiple-remove"),
("book-multiple-variant", "book-multiple-variant"),
("book-music", "book-music"),
("book-music-outline", "book-music-outline"),
("book-off", "book-off"),
("book-off-outline", "book-off-outline"),
("book-open", "book-open"),
("book-open-blank-variant", "book-open-blank-variant"),
("book-open-outline", "book-open-outline"),
("book-open-page-variant", "book-open-page-variant"),
("book-open-page-variant-outline", "book-open-page-variant-outline"),
("book-open-variant", "book-open-variant"),
("book-outline", "book-outline"),
("book-play", "book-play"),
("book-play-outline", "book-play-outline"),
("book-plus", "book-plus"),
("book-plus-multiple", "book-plus-multiple"),
("book-plus-multiple-outline", "book-plus-multiple-outline"),
("book-plus-outline", "book-plus-outline"),
("book-refresh", "book-refresh"),
("book-refresh-outline", "book-refresh-outline"),
("book-remove", "book-remove"),
("book-remove-multiple", "book-remove-multiple"),
("book-remove-multiple-outline", "book-remove-multiple-outline"),
("book-remove-outline", "book-remove-outline"),
("book-search", "book-search"),
("book-search-outline", "book-search-outline"),
("book-settings", "book-settings"),
("book-settings-outline", "book-settings-outline"),
("book-sync", "book-sync"),
("book-sync-outline", "book-sync-outline"),
("book-variant", "book-variant"),
("book-variant-multiple", "book-variant-multiple"),
("bookmark", "bookmark"),
("bookmark-box", "bookmark-box"),
("bookmark-box-multiple", "bookmark-box-multiple"),
("bookmark-box-multiple-outline", "bookmark-box-multiple-outline"),
("bookmark-box-outline", "bookmark-box-outline"),
("bookmark-check", "bookmark-check"),
("bookmark-check-outline", "bookmark-check-outline"),
("bookmark-minus", "bookmark-minus"),
("bookmark-minus-outline", "bookmark-minus-outline"),
("bookmark-multiple", "bookmark-multiple"),
("bookmark-multiple-outline", "bookmark-multiple-outline"),
("bookmark-music", "bookmark-music"),
("bookmark-music-outline", "bookmark-music-outline"),
("bookmark-off", "bookmark-off"),
("bookmark-off-outline", "bookmark-off-outline"),
("bookmark-outline", "bookmark-outline"),
("bookmark-plus", "bookmark-plus"),
("bookmark-plus-outline", "bookmark-plus-outline"),
("bookmark-remove", "bookmark-remove"),
("bookmark-remove-outline", "bookmark-remove-outline"),
("bookshelf", "bookshelf"),
("boom-gate", "boom-gate"),
("boom-gate-alert", "boom-gate-alert"),
("boom-gate-alert-outline", "boom-gate-alert-outline"),
("boom-gate-arrow-down", "boom-gate-arrow-down"),
("boom-gate-arrow-down-outline", "boom-gate-arrow-down-outline"),
("boom-gate-arrow-up", "boom-gate-arrow-up"),
("boom-gate-arrow-up-outline", "boom-gate-arrow-up-outline"),
("boom-gate-outline", "boom-gate-outline"),
("boom-gate-up", "boom-gate-up"),
("boom-gate-up-outline", "boom-gate-up-outline"),
("boombox", "boombox"),
("boomerang", "boomerang"),
("bootstrap", "bootstrap"),
("border-all", "border-all"),
("border-all-variant", "border-all-variant"),
("border-bottom", "border-bottom"),
("border-bottom-variant", "border-bottom-variant"),
("border-color", "border-color"),
("border-horizontal", "border-horizontal"),
("border-inside", "border-inside"),
("border-left", "border-left"),
("border-left-variant", "border-left-variant"),
("border-none", "border-none"),
("border-none-variant", "border-none-variant"),
("border-outside", "border-outside"),
("border-radius", "border-radius"),
("border-right", "border-right"),
("border-right-variant", "border-right-variant"),
("border-style", "border-style"),
("border-top", "border-top"),
("border-top-variant", "border-top-variant"),
("border-vertical", "border-vertical"),
("bottle-soda", "bottle-soda"),
("bottle-soda-classic", "bottle-soda-classic"),
("bottle-soda-classic-outline", "bottle-soda-classic-outline"),
("bottle-soda-outline", "bottle-soda-outline"),
("bottle-tonic", "bottle-tonic"),
("bottle-tonic-outline", "bottle-tonic-outline"),
("bottle-tonic-plus", "bottle-tonic-plus"),
("bottle-tonic-plus-outline", "bottle-tonic-plus-outline"),
("bottle-tonic-skull", "bottle-tonic-skull"),
("bottle-tonic-skull-outline", "bottle-tonic-skull-outline"),
("bottle-wine", "bottle-wine"),
("bottle-wine-outline", "bottle-wine-outline"),
("bow-arrow", "bow-arrow"),
("bow-tie", "bow-tie"),
("bowl", "bowl"),
("bowl-mix", "bowl-mix"),
("bowl-mix-outline", "bowl-mix-outline"),
("bowl-outline", "bowl-outline"),
("bowling", "bowling"),
("box", "box"),
("box-cutter", "box-cutter"),
("box-cutter-off", "box-cutter-off"),
("box-download", "box-download"),
("box-shadow", "box-shadow"),
("box-upload", "box-upload"),
("boxing-glove", "boxing-glove"),
("boxing-gloves", "boxing-gloves"),
("braille", "braille"),
("brain", "brain"),
("bread-slice", "bread-slice"),
("bread-slice-outline", "bread-slice-outline"),
("bridge", "bridge"),
("briefcase", "briefcase"),
("briefcase-account", "briefcase-account"),
("briefcase-account-outline", "briefcase-account-outline"),
("briefcase-arrow-left-right", "briefcase-arrow-left-right"),
("briefcase-arrow-left-right-outline", "briefcase-arrow-left-right-outline"),
("briefcase-arrow-up-down", "briefcase-arrow-up-down"),
("briefcase-arrow-up-down-outline", "briefcase-arrow-up-down-outline"),
("briefcase-check", "briefcase-check"),
("briefcase-check-outline", "briefcase-check-outline"),
("briefcase-clock", "briefcase-clock"),
("briefcase-clock-outline", "briefcase-clock-outline"),
("briefcase-download", "briefcase-download"),
("briefcase-download-outline", "briefcase-download-outline"),
("briefcase-edit", "briefcase-edit"),
("briefcase-edit-outline", "briefcase-edit-outline"),
("briefcase-eye", "briefcase-eye"),
("briefcase-eye-outline", "briefcase-eye-outline"),
("briefcase-minus", "briefcase-minus"),
("briefcase-minus-outline", "briefcase-minus-outline"),
("briefcase-off", "briefcase-off"),
("briefcase-off-outline", "briefcase-off-outline"),
("briefcase-outline", "briefcase-outline"),
("briefcase-plus", "briefcase-plus"),
("briefcase-plus-outline", "briefcase-plus-outline"),
("briefcase-remove", "briefcase-remove"),
("briefcase-remove-outline", "briefcase-remove-outline"),
("briefcase-search", "briefcase-search"),
("briefcase-search-outline", "briefcase-search-outline"),
("briefcase-upload", "briefcase-upload"),
("briefcase-upload-outline", "briefcase-upload-outline"),
("briefcase-variant", "briefcase-variant"),
("briefcase-variant-off", "briefcase-variant-off"),
("briefcase-variant-off-outline", "briefcase-variant-off-outline"),
("briefcase-variant-outline", "briefcase-variant-outline"),
("brightness", "brightness"),
("brightness-1", "brightness-1"),
("brightness-2", "brightness-2"),
("brightness-3", "brightness-3"),
("brightness-4", "brightness-4"),
("brightness-5", "brightness-5"),
("brightness-6", "brightness-6"),
("brightness-7", "brightness-7"),
("brightness-auto", "brightness-auto"),
("brightness-percent", "brightness-percent"),
("broadcast", "broadcast"),
("broadcast-off", "broadcast-off"),
("broom", "broom"),
("brush", "brush"),
("brush-off", "brush-off"),
("brush-outline", "brush-outline"),
("brush-variant", "brush-variant"),
("bucket", "bucket"),
("bucket-outline", "bucket-outline"),
("buffer", "buffer"),
("buffet", "buffet"),
("bug", "bug"),
("bug-check", "bug-check"),
("bug-check-outline", "bug-check-outline"),
("bug-outline", "bug-outline"),
("bug-pause", "bug-pause"),
("bug-pause-outline", "bug-pause-outline"),
("bug-play", "bug-play"),
("bug-play-outline", "bug-play-outline"),
("bug-stop", "bug-stop"),
("bug-stop-outline", "bug-stop-outline"),
("bugle", "bugle"),
("bulkhead-light", "bulkhead-light"),
("bulldozer", "bulldozer"),
("bullet", "bullet"),
("bulletin-board", "bulletin-board"),
("bullhorn", "bullhorn"),
("bullhorn-outline", "bullhorn-outline"),
("bullhorn-variant", "bullhorn-variant"),
("bullhorn-variant-outline", "bullhorn-variant-outline"),
("bullseye", "bullseye"),
("bullseye-arrow", "bullseye-arrow"),
("bulma", "bulma"),
("bunk-bed", "bunk-bed"),
("bunk-bed-outline", "bunk-bed-outline"),
("bus", "bus"),
("bus-alert", "bus-alert"),
("bus-articulated-end", "bus-articulated-end"),
("bus-articulated-front", "bus-articulated-front"),
("bus-clock", "bus-clock"),
("bus-double-decker", "bus-double-decker"),
("bus-electric", "bus-electric"),
("bus-marker", "bus-marker"),
("bus-multiple", "bus-multiple"),
("bus-school", "bus-school"),
("bus-side", "bus-side"),
("bus-stop", "bus-stop"),
("bus-stop-covered", "bus-stop-covered"),
("bus-stop-uncovered", "bus-stop-uncovered"),
("butterfly", "butterfly"),
("butterfly-outline", "butterfly-outline"),
("button-cursor", "button-cursor"),
("button-pointer", "button-pointer"),
("cabin-a-frame", "cabin-a-frame"),
("cable-data", "cable-data"),
("cached", "cached"),
("cactus", "cactus"),
("cake", "cake"),
("cake-layered", "cake-layered"),
("cake-variant", "cake-variant"),
("cake-variant-outline", "cake-variant-outline"),
("calculator", "calculator"),
("calculator-off", "calculator-off"),
("calculator-variant", "calculator-variant"),
("calculator-variant-outline", "calculator-variant-outline"),
("calendar", "calendar"),
("calendar-account", "calendar-account"),
("calendar-account-outline", "calendar-account-outline"),
("calendar-alert", "calendar-alert"),
("calendar-alert-outline", "calendar-alert-outline"),
("calendar-arrow-left", "calendar-arrow-left"),
("calendar-arrow-right", "calendar-arrow-right"),
("calendar-badge", "calendar-badge"),
("calendar-badge-outline", "calendar-badge-outline"),
("calendar-blank", "calendar-blank"),
("calendar-blank-multiple", "calendar-blank-multiple"),
("calendar-blank-outline", "calendar-blank-outline"),
("calendar-check", "calendar-check"),
("calendar-check-outline", "calendar-check-outline"),
("calendar-clock", "calendar-clock"),
("calendar-clock-outline", "calendar-clock-outline"),
("calendar-collapse-horizontal", "calendar-collapse-horizontal"),
(
"calendar-collapse-horizontal-outline",
"calendar-collapse-horizontal-outline",
),
("calendar-cursor", "calendar-cursor"),
("calendar-cursor-outline", "calendar-cursor-outline"),
("calendar-edit", "calendar-edit"),
("calendar-edit-outline", "calendar-edit-outline"),
("calendar-end", "calendar-end"),
("calendar-end-outline", "calendar-end-outline"),
("calendar-expand-horizontal", "calendar-expand-horizontal"),
("calendar-expand-horizontal-outline", "calendar-expand-horizontal-outline"),
("calendar-export", "calendar-export"),
("calendar-export-outline", "calendar-export-outline"),
("calendar-filter", "calendar-filter"),
("calendar-filter-outline", "calendar-filter-outline"),
("calendar-heart", "calendar-heart"),
("calendar-heart-outline", "calendar-heart-outline"),
("calendar-import", "calendar-import"),
("calendar-import-outline", "calendar-import-outline"),
("calendar-lock", "calendar-lock"),
("calendar-lock-open", "calendar-lock-open"),
("calendar-lock-open-outline", "calendar-lock-open-outline"),
("calendar-lock-outline", "calendar-lock-outline"),
("calendar-minus", "calendar-minus"),
("calendar-minus-outline", "calendar-minus-outline"),
("calendar-month", "calendar-month"),
("calendar-month-outline", "calendar-month-outline"),
("calendar-multiple", "calendar-multiple"),
("calendar-multiple-check", "calendar-multiple-check"),
("calendar-multiselect", "calendar-multiselect"),
("calendar-multiselect-outline", "calendar-multiselect-outline"),
("calendar-outline", "calendar-outline"),
("calendar-plus", "calendar-plus"),
("calendar-plus-outline", "calendar-plus-outline"),
("calendar-question", "calendar-question"),
("calendar-question-outline", "calendar-question-outline"),
("calendar-range", "calendar-range"),
("calendar-range-outline", "calendar-range-outline"),
("calendar-refresh", "calendar-refresh"),
("calendar-refresh-outline", "calendar-refresh-outline"),
("calendar-remove", "calendar-remove"),
("calendar-remove-outline", "calendar-remove-outline"),
("calendar-search", "calendar-search"),
("calendar-search-outline", "calendar-search-outline"),
("calendar-select", "calendar-select"),
("calendar-star", "calendar-star"),
("calendar-star-outline", "calendar-star-outline"),
("calendar-start", "calendar-start"),
("calendar-start-outline", "calendar-start-outline"),
("calendar-sync", "calendar-sync"),
("calendar-sync-outline", "calendar-sync-outline"),
("calendar-text", "calendar-text"),
("calendar-text-outline", "calendar-text-outline"),
("calendar-today", "calendar-today"),
("calendar-today-outline", "calendar-today-outline"),
("calendar-week", "calendar-week"),
("calendar-week-begin", "calendar-week-begin"),
("calendar-week-begin-outline", "calendar-week-begin-outline"),
("calendar-week-end", "calendar-week-end"),
("calendar-week-end-outline", "calendar-week-end-outline"),
("calendar-week-outline", "calendar-week-outline"),
("calendar-weekend", "calendar-weekend"),
("calendar-weekend-outline", "calendar-weekend-outline"),
("call-made", "call-made"),
("call-merge", "call-merge"),
("call-missed", "call-missed"),
("call-received", "call-received"),
("call-split", "call-split"),
("camcorder", "camcorder"),
("camcorder-off", "camcorder-off"),
("camera", "camera"),
("camera-account", "camera-account"),
("camera-burst", "camera-burst"),
("camera-control", "camera-control"),
("camera-document", "camera-document"),
("camera-document-off", "camera-document-off"),
("camera-enhance", "camera-enhance"),
("camera-enhance-outline", "camera-enhance-outline"),
("camera-flip", "camera-flip"),
("camera-flip-outline", "camera-flip-outline"),
("camera-focus", "camera-focus"),
("camera-front", "camera-front"),
("camera-front-variant", "camera-front-variant"),
("camera-gopro", "camera-gopro"),
("camera-image", "camera-image"),
("camera-iris", "camera-iris"),
("camera-lock", "camera-lock"),
("camera-lock-open", "camera-lock-open"),
("camera-lock-open-outline", "camera-lock-open-outline"),
("camera-lock-outline", "camera-lock-outline"),
("camera-marker", "camera-marker"),
("camera-marker-outline", "camera-marker-outline"),
("camera-metering-center", "camera-metering-center"),
("camera-metering-matrix", "camera-metering-matrix"),
("camera-metering-partial", "camera-metering-partial"),
("camera-metering-spot", "camera-metering-spot"),
("camera-off", "camera-off"),
("camera-off-outline", "camera-off-outline"),
("camera-outline", "camera-outline"),
("camera-party-mode", "camera-party-mode"),
("camera-plus", "camera-plus"),
("camera-plus-outline", "camera-plus-outline"),
("camera-rear", "camera-rear"),
("camera-rear-variant", "camera-rear-variant"),
("camera-retake", "camera-retake"),
("camera-retake-outline", "camera-retake-outline"),
("camera-switch", "camera-switch"),
("camera-switch-outline", "camera-switch-outline"),
("camera-timer", "camera-timer"),
("camera-wireless", "camera-wireless"),
("camera-wireless-outline", "camera-wireless-outline"),
("campfire", "campfire"),
("cancel", "cancel"),
("candelabra", "candelabra"),
("candelabra-fire", "candelabra-fire"),
("candle", "candle"),
("candy", "candy"),
("candy-off", "candy-off"),
("candy-off-outline", "candy-off-outline"),
("candy-outline", "candy-outline"),
("candycane", "candycane"),
("cannabis", "cannabis"),
("cannabis-off", "cannabis-off"),
("caps-lock", "caps-lock"),
("car", "car"),
("car-2-plus", "car-2-plus"),
("car-3-plus", "car-3-plus"),
("car-arrow-left", "car-arrow-left"),
("car-arrow-right", "car-arrow-right"),
("car-back", "car-back"),
("car-battery", "car-battery"),
("car-brake-abs", "car-brake-abs"),
("car-brake-alert", "car-brake-alert"),
("car-brake-fluid-level", "car-brake-fluid-level"),
("car-brake-hold", "car-brake-hold"),
("car-brake-low-pressure", "car-brake-low-pressure"),
("car-brake-parking", "car-brake-parking"),
("car-brake-retarder", "car-brake-retarder"),
("car-brake-temperature", "car-brake-temperature"),
("car-brake-worn-linings", "car-brake-worn-linings"),
("car-child-seat", "car-child-seat"),
("car-clock", "car-clock"),
("car-clutch", "car-clutch"),
("car-cog", "car-cog"),
("car-connected", "car-connected"),
("car-convertable", "car-convertable"),
("car-convertible", "car-convertible"),
("car-coolant-level", "car-coolant-level"),
("car-cruise-control", "car-cruise-control"),
("car-defrost-front", "car-defrost-front"),
("car-defrost-rear", "car-defrost-rear"),
("car-door", "car-door"),
("car-door-lock", "car-door-lock"),
("car-electric", "car-electric"),
("car-electric-outline", "car-electric-outline"),
("car-emergency", "car-emergency"),
("car-esp", "car-esp"),
("car-estate", "car-estate"),
("car-hatchback", "car-hatchback"),
("car-info", "car-info"),
("car-key", "car-key"),
("car-lifted-pickup", "car-lifted-pickup"),
("car-light-alert", "car-light-alert"),
("car-light-dimmed", "car-light-dimmed"),
("car-light-fog", "car-light-fog"),
("car-light-high", "car-light-high"),
("car-limousine", "car-limousine"),
("car-multiple", "car-multiple"),
("car-off", "car-off"),
("car-outline", "car-outline"),
("car-parking-lights", "car-parking-lights"),
("car-pickup", "car-pickup"),
("car-search", "car-search"),
("car-search-outline", "car-search-outline"),
("car-seat", "car-seat"),
("car-seat-cooler", "car-seat-cooler"),
("car-seat-heater", "car-seat-heater"),
("car-select", "car-select"),
("car-settings", "car-settings"),
("car-shift-pattern", "car-shift-pattern"),
("car-side", "car-side"),
("car-speed-limiter", "car-speed-limiter"),
("car-sports", "car-sports"),
("car-tire-alert", "car-tire-alert"),
("car-traction-control", "car-traction-control"),
("car-turbocharger", "car-turbocharger"),
("car-wash", "car-wash"),
("car-windshield", "car-windshield"),
("car-windshield-outline", "car-windshield-outline"),
("car-wireless", "car-wireless"),
("car-wrench", "car-wrench"),
("carabiner", "carabiner"),
("caravan", "caravan"),
("card", "card"),
("card-account-details", "card-account-details"),
("card-account-details-outline", "card-account-details-outline"),
("card-account-details-star", "card-account-details-star"),
("card-account-details-star-outline", "card-account-details-star-outline"),
("card-account-mail", "card-account-mail"),
("card-account-mail-outline", "card-account-mail-outline"),
("card-account-phone", "card-account-phone"),
("card-account-phone-outline", "card-account-phone-outline"),
("card-bulleted", "card-bulleted"),
("card-bulleted-off", "card-bulleted-off"),
("card-bulleted-off-outline", "card-bulleted-off-outline"),
("card-bulleted-outline", "card-bulleted-outline"),
("card-bulleted-settings", "card-bulleted-settings"),
("card-bulleted-settings-outline", "card-bulleted-settings-outline"),
("card-minus", "card-minus"),
("card-minus-outline", "card-minus-outline"),
("card-multiple", "card-multiple"),
("card-multiple-outline", "card-multiple-outline"),
("card-off", "card-off"),
("card-off-outline", "card-off-outline"),
("card-outline", "card-outline"),
("card-plus", "card-plus"),
("card-plus-outline", "card-plus-outline"),
("card-remove", "card-remove"),
("card-remove-outline", "card-remove-outline"),
("card-search", "card-search"),
("card-search-outline", "card-search-outline"),
("card-text", "card-text"),
("card-text-outline", "card-text-outline"),
("cards", "cards"),
("cards-club", "cards-club"),
("cards-club-outline", "cards-club-outline"),
("cards-diamond", "cards-diamond"),
("cards-diamond-outline", "cards-diamond-outline"),
("cards-heart", "cards-heart"),
("cards-heart-outline", "cards-heart-outline"),
("cards-outline", "cards-outline"),
("cards-playing", "cards-playing"),
("cards-playing-club", "cards-playing-club"),
("cards-playing-club-multiple", "cards-playing-club-multiple"),
("cards-playing-club-multiple-outline", "cards-playing-club-multiple-outline"),
("cards-playing-club-outline", "cards-playing-club-outline"),
("cards-playing-diamond", "cards-playing-diamond"),
("cards-playing-diamond-multiple", "cards-playing-diamond-multiple"),
(
"cards-playing-diamond-multiple-outline",
"cards-playing-diamond-multiple-outline",
),
("cards-playing-diamond-outline", "cards-playing-diamond-outline"),
("cards-playing-heart", "cards-playing-heart"),
("cards-playing-heart-multiple", "cards-playing-heart-multiple"),
(
"cards-playing-heart-multiple-outline",
"cards-playing-heart-multiple-outline",
),
("cards-playing-heart-outline", "cards-playing-heart-outline"),
("cards-playing-outline", "cards-playing-outline"),
("cards-playing-spade", "cards-playing-spade"),
("cards-playing-spade-multiple", "cards-playing-spade-multiple"),
(
"cards-playing-spade-multiple-outline",
"cards-playing-spade-multiple-outline",
),
("cards-playing-spade-outline", "cards-playing-spade-outline"),
("cards-spade", "cards-spade"),
("cards-spade-outline", "cards-spade-outline"),
("cards-variant", "cards-variant"),
("carrot", "carrot"),
("cart", "cart"),
("cart-arrow-down", "cart-arrow-down"),
("cart-arrow-right", "cart-arrow-right"),
("cart-arrow-up", "cart-arrow-up"),
("cart-check", "cart-check"),
("cart-heart", "cart-heart"),
("cart-minus", "cart-minus"),
("cart-off", "cart-off"),
("cart-outline", "cart-outline"),
("cart-percent", "cart-percent"),
("cart-plus", "cart-plus"),
("cart-remove", "cart-remove"),
("cart-variant", "cart-variant"),
("case-sensitive-alt", "case-sensitive-alt"),
("cash", "cash"),
("cash-100", "cash-100"),
("cash-check", "cash-check"),
("cash-clock", "cash-clock"),
("cash-fast", "cash-fast"),
("cash-lock", "cash-lock"),
("cash-lock-open", "cash-lock-open"),
("cash-marker", "cash-marker"),
("cash-minus", "cash-minus"),
("cash-multiple", "cash-multiple"),
("cash-plus", "cash-plus"),
("cash-refund", "cash-refund"),
("cash-register", "cash-register"),
("cash-remove", "cash-remove"),
("cash-sync", "cash-sync"),
("cash-usd", "cash-usd"),
("cash-usd-outline", "cash-usd-outline"),
("cassette", "cassette"),
("cast", "cast"),
("cast-audio", "cast-audio"),
("cast-audio-variant", "cast-audio-variant"),
("cast-connected", "cast-connected"),
("cast-education", "cast-education"),
("cast-off", "cast-off"),
("cast-variant", "cast-variant"),
("castle", "castle"),
("cat", "cat"),
("cctv", "cctv"),
("cctv-off", "cctv-off"),
("ceiling-fan", "ceiling-fan"),
("ceiling-fan-light", "ceiling-fan-light"),
("ceiling-light", "ceiling-light"),
("ceiling-light-multiple", "ceiling-light-multiple"),
("ceiling-light-multiple-outline", "ceiling-light-multiple-outline"),
("ceiling-light-outline", "ceiling-light-outline"),
("cellphone", "cellphone"),
("cellphone-android", "cellphone-android"),
("cellphone-arrow-down", "cellphone-arrow-down"),
("cellphone-arrow-down-variant", "cellphone-arrow-down-variant"),
("cellphone-basic", "cellphone-basic"),
("cellphone-charging", "cellphone-charging"),
("cellphone-check", "cellphone-check"),
("cellphone-cog", "cellphone-cog"),
("cellphone-dock", "cellphone-dock"),
("cellphone-information", "cellphone-information"),
("cellphone-iphone", "cellphone-iphone"),
("cellphone-key", "cellphone-key"),
("cellphone-link", "cellphone-link"),
("cellphone-link-off", "cellphone-link-off"),
("cellphone-lock", "cellphone-lock"),
("cellphone-marker", "cellphone-marker"),
("cellphone-message", "cellphone-message"),
("cellphone-message-off", "cellphone-message-off"),
("cellphone-nfc", "cellphone-nfc"),
("cellphone-nfc-off", "cellphone-nfc-off"),
("cellphone-off", "cellphone-off"),
("cellphone-play", "cellphone-play"),
("cellphone-remove", "cellphone-remove"),
("cellphone-screenshot", "cellphone-screenshot"),
("cellphone-settings", "cellphone-settings"),
("cellphone-sound", "cellphone-sound"),
("cellphone-text", "cellphone-text"),
("cellphone-wireless", "cellphone-wireless"),
("centos", "centos"),
("certificate", "certificate"),
("certificate-outline", "certificate-outline"),
("chair-rolling", "chair-rolling"),
("chair-school", "chair-school"),
("chandelier", "chandelier"),
("charity", "charity"),
("chart-arc", "chart-arc"),
("chart-areaspline", "chart-areaspline"),
("chart-areaspline-variant", "chart-areaspline-variant"),
("chart-bar", "chart-bar"),
("chart-bar-stacked", "chart-bar-stacked"),
("chart-bell-curve", "chart-bell-curve"),
("chart-bell-curve-cumulative", "chart-bell-curve-cumulative"),
("chart-box", "chart-box"),
("chart-box-outline", "chart-box-outline"),
("chart-box-plus-outline", "chart-box-plus-outline"),
("chart-bubble", "chart-bubble"),
("chart-donut", "chart-donut"),
("chart-donut-variant", "chart-donut-variant"),
("chart-gantt", "chart-gantt"),
("chart-histogram", "chart-histogram"),
("chart-line", "chart-line"),
("chart-line-stacked", "chart-line-stacked"),
("chart-line-variant", "chart-line-variant"),
("chart-multiline", "chart-multiline"),
("chart-multiple", "chart-multiple"),
("chart-pie", "chart-pie"),
("chart-pie-outline", "chart-pie-outline"),
("chart-ppf", "chart-ppf"),
("chart-sankey", "chart-sankey"),
("chart-sankey-variant", "chart-sankey-variant"),
("chart-scatter-plot", "chart-scatter-plot"),
("chart-scatter-plot-hexbin", "chart-scatter-plot-hexbin"),
("chart-timeline", "chart-timeline"),
("chart-timeline-variant", "chart-timeline-variant"),
("chart-timeline-variant-shimmer", "chart-timeline-variant-shimmer"),
("chart-tree", "chart-tree"),
("chart-waterfall", "chart-waterfall"),
("chat", "chat"),
("chat-alert", "chat-alert"),
("chat-alert-outline", "chat-alert-outline"),
("chat-minus", "chat-minus"),
("chat-minus-outline", "chat-minus-outline"),
("chat-outline", "chat-outline"),
("chat-plus", "chat-plus"),
("chat-plus-outline", "chat-plus-outline"),
("chat-processing", "chat-processing"),
("chat-processing-outline", "chat-processing-outline"),
("chat-question", "chat-question"),
("chat-question-outline", "chat-question-outline"),
("chat-remove", "chat-remove"),
("chat-remove-outline", "chat-remove-outline"),
("chat-sleep", "chat-sleep"),
("chat-sleep-outline", "chat-sleep-outline"),
("check", "check"),
("check-all", "check-all"),
("check-bold", "check-bold"),
("check-bookmark", "check-bookmark"),
("check-circle", "check-circle"),
("check-circle-outline", "check-circle-outline"),
("check-decagram", "check-decagram"),
("check-decagram-outline", "check-decagram-outline"),
("check-network", "check-network"),
("check-network-outline", "check-network-outline"),
("check-outline", "check-outline"),
("check-underline", "check-underline"),
("check-underline-circle", "check-underline-circle"),
("check-underline-circle-outline", "check-underline-circle-outline"),
("checkbook", "checkbook"),
("checkbox-blank", "checkbox-blank"),
("checkbox-blank-badge", "checkbox-blank-badge"),
("checkbox-blank-badge-outline", "checkbox-blank-badge-outline"),
("checkbox-blank-circle", "checkbox-blank-circle"),
("checkbox-blank-circle-outline", "checkbox-blank-circle-outline"),
("checkbox-blank-off", "checkbox-blank-off"),
("checkbox-blank-off-outline", "checkbox-blank-off-outline"),
("checkbox-blank-outline", "checkbox-blank-outline"),
("checkbox-indeterminate", "checkbox-indeterminate"),
("checkbox-intermediate", "checkbox-intermediate"),
("checkbox-intermediate-variant", "checkbox-intermediate-variant"),
("checkbox-marked", "checkbox-marked"),
("checkbox-marked-circle", "checkbox-marked-circle"),
("checkbox-marked-circle-outline", "checkbox-marked-circle-outline"),
("checkbox-marked-circle-plus-outline", "checkbox-marked-circle-plus-outline"),
("checkbox-marked-outline", "checkbox-marked-outline"),
("checkbox-multiple-blank", "checkbox-multiple-blank"),
("checkbox-multiple-blank-circle", "checkbox-multiple-blank-circle"),
(
"checkbox-multiple-blank-circle-outline",
"checkbox-multiple-blank-circle-outline",
),
("checkbox-multiple-blank-outline", "checkbox-multiple-blank-outline"),
("checkbox-multiple-marked", "checkbox-multiple-marked"),
("checkbox-multiple-marked-circle", "checkbox-multiple-marked-circle"),
(
"checkbox-multiple-marked-circle-outline",
"checkbox-multiple-marked-circle-outline",
),
("checkbox-multiple-marked-outline", "checkbox-multiple-marked-outline"),
("checkbox-multiple-outline", "checkbox-multiple-outline"),
("checkbox-outline", "checkbox-outline"),
("checkerboard", "checkerboard"),
("checkerboard-minus", "checkerboard-minus"),
("checkerboard-plus", "checkerboard-plus"),
("checkerboard-remove", "checkerboard-remove"),
("cheese", "cheese"),
("cheese-off", "cheese-off"),
("chef-hat", "chef-hat"),
("chemical-weapon", "chemical-weapon"),
("chess-bishop", "chess-bishop"),
("chess-king", "chess-king"),
("chess-knight", "chess-knight"),
("chess-pawn", "chess-pawn"),
("chess-queen", "chess-queen"),
("chess-rook", "chess-rook"),
("chevron-double-down", "chevron-double-down"),
("chevron-double-left", "chevron-double-left"),
("chevron-double-right", "chevron-double-right"),
("chevron-double-up", "chevron-double-up"),
("chevron-down", "chevron-down"),
("chevron-down-box", "chevron-down-box"),
("chevron-down-box-outline", "chevron-down-box-outline"),
("chevron-down-circle", "chevron-down-circle"),
("chevron-down-circle-outline", "chevron-down-circle-outline"),
("chevron-left", "chevron-left"),
("chevron-left-box", "chevron-left-box"),
("chevron-left-box-outline", "chevron-left-box-outline"),
("chevron-left-circle", "chevron-left-circle"),
("chevron-left-circle-outline", "chevron-left-circle-outline"),
("chevron-right", "chevron-right"),
("chevron-right-box", "chevron-right-box"),
("chevron-right-box-outline", "chevron-right-box-outline"),
("chevron-right-circle", "chevron-right-circle"),
("chevron-right-circle-outline", "chevron-right-circle-outline"),
("chevron-triple-down", "chevron-triple-down"),
("chevron-triple-left", "chevron-triple-left"),
("chevron-triple-right", "chevron-triple-right"),
("chevron-triple-up", "chevron-triple-up"),
("chevron-up", "chevron-up"),
("chevron-up-box", "chevron-up-box"),
("chevron-up-box-outline", "chevron-up-box-outline"),
("chevron-up-circle", "chevron-up-circle"),
("chevron-up-circle-outline", "chevron-up-circle-outline"),
("chili-alert", "chili-alert"),
("chili-alert-outline", "chili-alert-outline"),
("chili-hot", "chili-hot"),
("chili-hot-outline", "chili-hot-outline"),
("chili-medium", "chili-medium"),
("chili-medium-outline", "chili-medium-outline"),
("chili-mild", "chili-mild"),
("chili-mild-outline", "chili-mild-outline"),
("chili-off", "chili-off"),
("chili-off-outline", "chili-off-outline"),
("chip", "chip"),
("church", "church"),
("church-outline", "church-outline"),
("cigar", "cigar"),
("cigar-off", "cigar-off"),
("circle", "circle"),
("circle-box", "circle-box"),
("circle-box-outline", "circle-box-outline"),
("circle-double", "circle-double"),
("circle-edit-outline", "circle-edit-outline"),
("circle-expand", "circle-expand"),
("circle-half", "circle-half"),
("circle-half-full", "circle-half-full"),
("circle-medium", "circle-medium"),
("circle-multiple", "circle-multiple"),
("circle-multiple-outline", "circle-multiple-outline"),
("circle-off-outline", "circle-off-outline"),
("circle-opacity", "circle-opacity"),
("circle-outline", "circle-outline"),
("circle-slice-1", "circle-slice-1"),
("circle-slice-2", "circle-slice-2"),
("circle-slice-3", "circle-slice-3"),
("circle-slice-4", "circle-slice-4"),
("circle-slice-5", "circle-slice-5"),
("circle-slice-6", "circle-slice-6"),
("circle-slice-7", "circle-slice-7"),
("circle-slice-8", "circle-slice-8"),
("circle-small", "circle-small"),
("circular-saw", "circular-saw"),
("cisco-webex", "cisco-webex"),
("city", "city"),
("city-variant", "city-variant"),
("city-variant-outline", "city-variant-outline"),
("clipboard", "clipboard"),
("clipboard-account", "clipboard-account"),
("clipboard-account-outline", "clipboard-account-outline"),
("clipboard-alert", "clipboard-alert"),
("clipboard-alert-outline", "clipboard-alert-outline"),
("clipboard-arrow-down", "clipboard-arrow-down"),
("clipboard-arrow-down-outline", "clipboard-arrow-down-outline"),
("clipboard-arrow-left", "clipboard-arrow-left"),
("clipboard-arrow-left-outline", "clipboard-arrow-left-outline"),
("clipboard-arrow-right", "clipboard-arrow-right"),
("clipboard-arrow-right-outline", "clipboard-arrow-right-outline"),
("clipboard-arrow-up", "clipboard-arrow-up"),
("clipboard-arrow-up-outline", "clipboard-arrow-up-outline"),
("clipboard-check", "clipboard-check"),
("clipboard-check-multiple", "clipboard-check-multiple"),
("clipboard-check-multiple-outline", "clipboard-check-multiple-outline"),
("clipboard-check-outline", "clipboard-check-outline"),
("clipboard-clock", "clipboard-clock"),
("clipboard-clock-outline", "clipboard-clock-outline"),
("clipboard-edit", "clipboard-edit"),
("clipboard-edit-outline", "clipboard-edit-outline"),
("clipboard-file", "clipboard-file"),
("clipboard-file-outline", "clipboard-file-outline"),
("clipboard-flow", "clipboard-flow"),
("clipboard-flow-outline", "clipboard-flow-outline"),
("clipboard-list", "clipboard-list"),
("clipboard-list-outline", "clipboard-list-outline"),
("clipboard-minus", "clipboard-minus"),
("clipboard-minus-outline", "clipboard-minus-outline"),
("clipboard-multiple", "clipboard-multiple"),
("clipboard-multiple-outline", "clipboard-multiple-outline"),
("clipboard-off", "clipboard-off"),
("clipboard-off-outline", "clipboard-off-outline"),
("clipboard-outline", "clipboard-outline"),
("clipboard-play", "clipboard-play"),
("clipboard-play-multiple", "clipboard-play-multiple"),
("clipboard-play-multiple-outline", "clipboard-play-multiple-outline"),
("clipboard-play-outline", "clipboard-play-outline"),
("clipboard-plus", "clipboard-plus"),
("clipboard-plus-outline", "clipboard-plus-outline"),
("clipboard-pulse", "clipboard-pulse"),
("clipboard-pulse-outline", "clipboard-pulse-outline"),
("clipboard-remove", "clipboard-remove"),
("clipboard-remove-outline", "clipboard-remove-outline"),
("clipboard-search", "clipboard-search"),
("clipboard-search-outline", "clipboard-search-outline"),
("clipboard-text", "clipboard-text"),
("clipboard-text-clock", "clipboard-text-clock"),
("clipboard-text-clock-outline", "clipboard-text-clock-outline"),
("clipboard-text-multiple", "clipboard-text-multiple"),
("clipboard-text-multiple-outline", "clipboard-text-multiple-outline"),
("clipboard-text-off", "clipboard-text-off"),
("clipboard-text-off-outline", "clipboard-text-off-outline"),
("clipboard-text-outline", "clipboard-text-outline"),
("clipboard-text-play", "clipboard-text-play"),
("clipboard-text-play-outline", "clipboard-text-play-outline"),
("clipboard-text-search", "clipboard-text-search"),
("clipboard-text-search-outline", "clipboard-text-search-outline"),
("clippy", "clippy"),
("clock", "clock"),
("clock-alert", "clock-alert"),
("clock-alert-outline", "clock-alert-outline"),
("clock-check", "clock-check"),
("clock-check-outline", "clock-check-outline"),
("clock-digital", "clock-digital"),
("clock-edit", "clock-edit"),
("clock-edit-outline", "clock-edit-outline"),
("clock-end", "clock-end"),
("clock-fast", "clock-fast"),
("clock-in", "clock-in"),
("clock-minus", "clock-minus"),
("clock-minus-outline", "clock-minus-outline"),
("clock-out", "clock-out"),
("clock-outline", "clock-outline"),
("clock-plus", "clock-plus"),
("clock-plus-outline", "clock-plus-outline"),
("clock-remove", "clock-remove"),
("clock-remove-outline", "clock-remove-outline"),
("clock-start", "clock-start"),
("clock-time-eight", "clock-time-eight"),
("clock-time-eight-outline", "clock-time-eight-outline"),
("clock-time-eleven", "clock-time-eleven"),
("clock-time-eleven-outline", "clock-time-eleven-outline"),
("clock-time-five", "clock-time-five"),
("clock-time-five-outline", "clock-time-five-outline"),
("clock-time-four", "clock-time-four"),
("clock-time-four-outline", "clock-time-four-outline"),
("clock-time-nine", "clock-time-nine"),
("clock-time-nine-outline", "clock-time-nine-outline"),
("clock-time-one", "clock-time-one"),
("clock-time-one-outline", "clock-time-one-outline"),
("clock-time-seven", "clock-time-seven"),
("clock-time-seven-outline", "clock-time-seven-outline"),
("clock-time-six", "clock-time-six"),
("clock-time-six-outline", "clock-time-six-outline"),
("clock-time-ten", "clock-time-ten"),
("clock-time-ten-outline", "clock-time-ten-outline"),
("clock-time-three", "clock-time-three"),
("clock-time-three-outline", "clock-time-three-outline"),
("clock-time-twelve", "clock-time-twelve"),
("clock-time-twelve-outline", "clock-time-twelve-outline"),
("clock-time-two", "clock-time-two"),
("clock-time-two-outline", "clock-time-two-outline"),
("close", "close"),
("close-box", "close-box"),
("close-box-multiple", "close-box-multiple"),
("close-box-multiple-outline", "close-box-multiple-outline"),
("close-box-outline", "close-box-outline"),
("close-circle", "close-circle"),
("close-circle-multiple", "close-circle-multiple"),
("close-circle-multiple-outline", "close-circle-multiple-outline"),
("close-circle-outline", "close-circle-outline"),
("close-network", "close-network"),
("close-network-outline", "close-network-outline"),
("close-octagon", "close-octagon"),
("close-octagon-outline", "close-octagon-outline"),
("close-outline", "close-outline"),
("close-thick", "close-thick"),
("closed-caption", "closed-caption"),
("closed-caption-outline", "closed-caption-outline"),
("cloud", "cloud"),
("cloud-alert", "cloud-alert"),
("cloud-alert-outline", "cloud-alert-outline"),
("cloud-arrow-down", "cloud-arrow-down"),
("cloud-arrow-down-outline", "cloud-arrow-down-outline"),
("cloud-arrow-left", "cloud-arrow-left"),
("cloud-arrow-left-outline", "cloud-arrow-left-outline"),
("cloud-arrow-right", "cloud-arrow-right"),
("cloud-arrow-right-outline", "cloud-arrow-right-outline"),
("cloud-arrow-up", "cloud-arrow-up"),
("cloud-arrow-up-outline", "cloud-arrow-up-outline"),
("cloud-braces", "cloud-braces"),
("cloud-cancel", "cloud-cancel"),
("cloud-cancel-outline", "cloud-cancel-outline"),
("cloud-check", "cloud-check"),
("cloud-check-outline", "cloud-check-outline"),
("cloud-check-variant", "cloud-check-variant"),
("cloud-check-variant-outline", "cloud-check-variant-outline"),
("cloud-circle", "cloud-circle"),
("cloud-circle-outline", "cloud-circle-outline"),
("cloud-clock", "cloud-clock"),
("cloud-clock-outline", "cloud-clock-outline"),
("cloud-cog", "cloud-cog"),
("cloud-cog-outline", "cloud-cog-outline"),
("cloud-download", "cloud-download"),
("cloud-download-outline", "cloud-download-outline"),
("cloud-lock", "cloud-lock"),
("cloud-lock-open", "cloud-lock-open"),
("cloud-lock-open-outline", "cloud-lock-open-outline"),
("cloud-lock-outline", "cloud-lock-outline"),
("cloud-minus", "cloud-minus"),
("cloud-minus-outline", "cloud-minus-outline"),
("cloud-off", "cloud-off"),
("cloud-off-outline", "cloud-off-outline"),
("cloud-outline", "cloud-outline"),
("cloud-percent", "cloud-percent"),
("cloud-percent-outline", "cloud-percent-outline"),
("cloud-plus", "cloud-plus"),
("cloud-plus-outline", "cloud-plus-outline"),
("cloud-print", "cloud-print"),
("cloud-print-outline", "cloud-print-outline"),
("cloud-question", "cloud-question"),
("cloud-question-outline", "cloud-question-outline"),
("cloud-refresh", "cloud-refresh"),
("cloud-refresh-outline", "cloud-refresh-outline"),
("cloud-refresh-variant", "cloud-refresh-variant"),
("cloud-refresh-variant-outline", "cloud-refresh-variant-outline"),
("cloud-remove", "cloud-remove"),
("cloud-remove-outline", "cloud-remove-outline"),
("cloud-search", "cloud-search"),
("cloud-search-outline", "cloud-search-outline"),
("cloud-sync", "cloud-sync"),
("cloud-sync-outline", "cloud-sync-outline"),
("cloud-tags", "cloud-tags"),
("cloud-upload", "cloud-upload"),
("cloud-upload-outline", "cloud-upload-outline"),
("clouds", "clouds"),
("clover", "clover"),
("coach-lamp", "coach-lamp"),
("coach-lamp-variant", "coach-lamp-variant"),
("coat-rack", "coat-rack"),
("code-array", "code-array"),
("code-braces", "code-braces"),
("code-braces-box", "code-braces-box"),
("code-brackets", "code-brackets"),
("code-equal", "code-equal"),
("code-greater-than", "code-greater-than"),
("code-greater-than-or-equal", "code-greater-than-or-equal"),
("code-json", "code-json"),
("code-less-than", "code-less-than"),
("code-less-than-or-equal", "code-less-than-or-equal"),
("code-not-equal", "code-not-equal"),
("code-not-equal-variant", "code-not-equal-variant"),
("code-parentheses", "code-parentheses"),
("code-parentheses-box", "code-parentheses-box"),
("code-string", "code-string"),
("code-tags", "code-tags"),
("code-tags-check", "code-tags-check"),
("codepen", "codepen"),
("coffee", "coffee"),
("coffee-maker", "coffee-maker"),
("coffee-maker-check", "coffee-maker-check"),
("coffee-maker-check-outline", "coffee-maker-check-outline"),
("coffee-maker-outline", "coffee-maker-outline"),
("coffee-off", "coffee-off"),
("coffee-off-outline", "coffee-off-outline"),
("coffee-outline", "coffee-outline"),
("coffee-to-go", "coffee-to-go"),
("coffee-to-go-outline", "coffee-to-go-outline"),
("coffin", "coffin"),
("cog", "cog"),
("cog-box", "cog-box"),
("cog-clockwise", "cog-clockwise"),
("cog-counterclockwise", "cog-counterclockwise"),
("cog-off", "cog-off"),
("cog-off-outline", "cog-off-outline"),
("cog-outline", "cog-outline"),
("cog-pause", "cog-pause"),
("cog-pause-outline", "cog-pause-outline"),
("cog-play", "cog-play"),
("cog-play-outline", "cog-play-outline"),
("cog-refresh", "cog-refresh"),
("cog-refresh-outline", "cog-refresh-outline"),
("cog-stop", "cog-stop"),
("cog-stop-outline", "cog-stop-outline"),
("cog-sync", "cog-sync"),
("cog-sync-outline", "cog-sync-outline"),
("cog-transfer", "cog-transfer"),
("cog-transfer-outline", "cog-transfer-outline"),
("cogs", "cogs"),
("collage", "collage"),
("collapse-all", "collapse-all"),
("collapse-all-outline", "collapse-all-outline"),
("color-helper", "color-helper"),
("comma", "comma"),
("comma-box", "comma-box"),
("comma-box-outline", "comma-box-outline"),
("comma-circle", "comma-circle"),
("comma-circle-outline", "comma-circle-outline"),
("comment", "comment"),
("comment-account", "comment-account"),
("comment-account-outline", "comment-account-outline"),
("comment-alert", "comment-alert"),
("comment-alert-outline", "comment-alert-outline"),
("comment-arrow-left", "comment-arrow-left"),
("comment-arrow-left-outline", "comment-arrow-left-outline"),
("comment-arrow-right", "comment-arrow-right"),
("comment-arrow-right-outline", "comment-arrow-right-outline"),
("comment-bookmark", "comment-bookmark"),
("comment-bookmark-outline", "comment-bookmark-outline"),
("comment-check", "comment-check"),
("comment-check-outline", "comment-check-outline"),
("comment-edit", "comment-edit"),
("comment-edit-outline", "comment-edit-outline"),
("comment-eye", "comment-eye"),
("comment-eye-outline", "comment-eye-outline"),
("comment-flash", "comment-flash"),
("comment-flash-outline", "comment-flash-outline"),
("comment-minus", "comment-minus"),
("comment-minus-outline", "comment-minus-outline"),
("comment-multiple", "comment-multiple"),
("comment-multiple-outline", "comment-multiple-outline"),
("comment-off", "comment-off"),
("comment-off-outline", "comment-off-outline"),
("comment-outline", "comment-outline"),
("comment-plus", "comment-plus"),
("comment-plus-outline", "comment-plus-outline"),
("comment-processing", "comment-processing"),
("comment-processing-outline", "comment-processing-outline"),
("comment-question", "comment-question"),
("comment-question-outline", "comment-question-outline"),
("comment-quote", "comment-quote"),
("comment-quote-outline", "comment-quote-outline"),
("comment-remove", "comment-remove"),
("comment-remove-outline", "comment-remove-outline"),
("comment-search", "comment-search"),
("comment-search-outline", "comment-search-outline"),
("comment-text", "comment-text"),
("comment-text-multiple", "comment-text-multiple"),
("comment-text-multiple-outline", "comment-text-multiple-outline"),
("comment-text-outline", "comment-text-outline"),
("compare", "compare"),
("compare-horizontal", "compare-horizontal"),
("compare-remove", "compare-remove"),
("compare-vertical", "compare-vertical"),
("compass", "compass"),
("compass-off", "compass-off"),
("compass-off-outline", "compass-off-outline"),
("compass-outline", "compass-outline"),
("compass-rose", "compass-rose"),
("compost", "compost"),
("concourse-ci", "concourse-ci"),
("cone", "cone"),
("cone-off", "cone-off"),
("connection", "connection"),
("console", "console"),
("console-line", "console-line"),
("console-network", "console-network"),
("console-network-outline", "console-network-outline"),
("consolidate", "consolidate"),
("contactless-payment", "contactless-payment"),
("contactless-payment-circle", "contactless-payment-circle"),
("contactless-payment-circle-outline", "contactless-payment-circle-outline"),
("contacts", "contacts"),
("contacts-outline", "contacts-outline"),
("contain", "contain"),
("contain-end", "contain-end"),
("contain-start", "contain-start"),
("content-copy", "content-copy"),
("content-cut", "content-cut"),
("content-duplicate", "content-duplicate"),
("content-paste", "content-paste"),
("content-save", "content-save"),
("content-save-alert", "content-save-alert"),
("content-save-alert-outline", "content-save-alert-outline"),
("content-save-all", "content-save-all"),
("content-save-all-outline", "content-save-all-outline"),
("content-save-check", "content-save-check"),
("content-save-check-outline", "content-save-check-outline"),
("content-save-cog", "content-save-cog"),
("content-save-cog-outline", "content-save-cog-outline"),
("content-save-edit", "content-save-edit"),
("content-save-edit-outline", "content-save-edit-outline"),
("content-save-minus", "content-save-minus"),
("content-save-minus-outline", "content-save-minus-outline"),
("content-save-move", "content-save-move"),
("content-save-move-outline", "content-save-move-outline"),
("content-save-off", "content-save-off"),
("content-save-off-outline", "content-save-off-outline"),
("content-save-outline", "content-save-outline"),
("content-save-plus", "content-save-plus"),
("content-save-plus-outline", "content-save-plus-outline"),
("content-save-settings", "content-save-settings"),
("content-save-settings-outline", "content-save-settings-outline"),
("contrast", "contrast"),
("contrast-box", "contrast-box"),
("contrast-circle", "contrast-circle"),
("controller", "controller"),
("controller-classic", "controller-classic"),
("controller-classic-outline", "controller-classic-outline"),
("controller-off", "controller-off"),
("controller-xbox", "controller-xbox"),
("cookie", "cookie"),
("cookie-alert", "cookie-alert"),
("cookie-alert-outline", "cookie-alert-outline"),
("cookie-check", "cookie-check"),
("cookie-check-outline", "cookie-check-outline"),
("cookie-clock", "cookie-clock"),
("cookie-clock-outline", "cookie-clock-outline"),
("cookie-cog", "cookie-cog"),
("cookie-cog-outline", "cookie-cog-outline"),
("cookie-edit", "cookie-edit"),
("cookie-edit-outline", "cookie-edit-outline"),
("cookie-lock", "cookie-lock"),
("cookie-lock-outline", "cookie-lock-outline"),
("cookie-minus", "cookie-minus"),
("cookie-minus-outline", "cookie-minus-outline"),
("cookie-off", "cookie-off"),
("cookie-off-outline", "cookie-off-outline"),
("cookie-outline", "cookie-outline"),
("cookie-plus", "cookie-plus"),
("cookie-plus-outline", "cookie-plus-outline"),
("cookie-refresh", "cookie-refresh"),
("cookie-refresh-outline", "cookie-refresh-outline"),
("cookie-remove", "cookie-remove"),
("cookie-remove-outline", "cookie-remove-outline"),
("cookie-settings", "cookie-settings"),
("cookie-settings-outline", "cookie-settings-outline"),
("coolant-temperature", "coolant-temperature"),
("copyleft", "copyleft"),
("copyright", "copyright"),
("cordova", "cordova"),
("corn", "corn"),
("corn-off", "corn-off"),
("cosine-wave", "cosine-wave"),
("counter", "counter"),
("countertop", "countertop"),
("countertop-outline", "countertop-outline"),
("cow", "cow"),
("cow-off", "cow-off"),
("cpu-32-bit", "cpu-32-bit"),
("cpu-64-bit", "cpu-64-bit"),
("cradle", "cradle"),
("cradle-outline", "cradle-outline"),
("crane", "crane"),
("creation", "creation"),
("creative-commons", "creative-commons"),
("credit-card", "credit-card"),
("credit-card-check", "credit-card-check"),
("credit-card-check-outline", "credit-card-check-outline"),
("credit-card-chip", "credit-card-chip"),
("credit-card-chip-outline", "credit-card-chip-outline"),
("credit-card-clock", "credit-card-clock"),
("credit-card-clock-outline", "credit-card-clock-outline"),
("credit-card-edit", "credit-card-edit"),
("credit-card-edit-outline", "credit-card-edit-outline"),
("credit-card-fast", "credit-card-fast"),
("credit-card-fast-outline", "credit-card-fast-outline"),
("credit-card-lock", "credit-card-lock"),
("credit-card-lock-outline", "credit-card-lock-outline"),
("credit-card-marker", "credit-card-marker"),
("credit-card-marker-outline", "credit-card-marker-outline"),
("credit-card-minus", "credit-card-minus"),
("credit-card-minus-outline", "credit-card-minus-outline"),
("credit-card-multiple", "credit-card-multiple"),
("credit-card-multiple-outline", "credit-card-multiple-outline"),
("credit-card-off", "credit-card-off"),
("credit-card-off-outline", "credit-card-off-outline"),
("credit-card-outline", "credit-card-outline"),
("credit-card-plus", "credit-card-plus"),
("credit-card-plus-outline", "credit-card-plus-outline"),
("credit-card-refresh", "credit-card-refresh"),
("credit-card-refresh-outline", "credit-card-refresh-outline"),
("credit-card-refund", "credit-card-refund"),
("credit-card-refund-outline", "credit-card-refund-outline"),
("credit-card-remove", "credit-card-remove"),
("credit-card-remove-outline", "credit-card-remove-outline"),
("credit-card-scan", "credit-card-scan"),
("credit-card-scan-outline", "credit-card-scan-outline"),
("credit-card-search", "credit-card-search"),
("credit-card-search-outline", "credit-card-search-outline"),
("credit-card-settings", "credit-card-settings"),
("credit-card-settings-outline", "credit-card-settings-outline"),
("credit-card-sync", "credit-card-sync"),
("credit-card-sync-outline", "credit-card-sync-outline"),
("credit-card-wireless", "credit-card-wireless"),
("credit-card-wireless-off", "credit-card-wireless-off"),
("credit-card-wireless-off-outline", "credit-card-wireless-off-outline"),
("credit-card-wireless-outline", "credit-card-wireless-outline"),
("cricket", "cricket"),
("crop", "crop"),
("crop-free", "crop-free"),
("crop-landscape", "crop-landscape"),
("crop-portrait", "crop-portrait"),
("crop-rotate", "crop-rotate"),
("crop-square", "crop-square"),
("cross", "cross"),
("cross-bolnisi", "cross-bolnisi"),
("cross-celtic", "cross-celtic"),
("cross-outline", "cross-outline"),
("crosshairs", "crosshairs"),
("crosshairs-gps", "crosshairs-gps"),
("crosshairs-off", "crosshairs-off"),
("crosshairs-question", "crosshairs-question"),
("crowd", "crowd"),
("crown", "crown"),
("crown-circle", "crown-circle"),
("crown-circle-outline", "crown-circle-outline"),
("crown-outline", "crown-outline"),
("cryengine", "cryengine"),
("crystal-ball", "crystal-ball"),
("cube", "cube"),
("cube-off", "cube-off"),
("cube-off-outline", "cube-off-outline"),
("cube-outline", "cube-outline"),
("cube-scan", "cube-scan"),
("cube-send", "cube-send"),
("cube-unfolded", "cube-unfolded"),
("cup", "cup"),
("cup-off", "cup-off"),
("cup-off-outline", "cup-off-outline"),
("cup-outline", "cup-outline"),
("cup-water", "cup-water"),
("cupboard", "cupboard"),
("cupboard-outline", "cupboard-outline"),
("cupcake", "cupcake"),
("curling", "curling"),
("currency-bdt", "currency-bdt"),
("currency-brl", "currency-brl"),
("currency-btc", "currency-btc"),
("currency-chf", "currency-chf"),
("currency-cny", "currency-cny"),
("currency-eth", "currency-eth"),
("currency-eur", "currency-eur"),
("currency-eur-off", "currency-eur-off"),
("currency-fra", "currency-fra"),
("currency-gbp", "currency-gbp"),
("currency-ils", "currency-ils"),
("currency-inr", "currency-inr"),
("currency-jpy", "currency-jpy"),
("currency-krw", "currency-krw"),
("currency-kzt", "currency-kzt"),
("currency-mnt", "currency-mnt"),
("currency-ngn", "currency-ngn"),
("currency-php", "currency-php"),
("currency-rial", "currency-rial"),
("currency-rub", "currency-rub"),
("currency-rupee", "currency-rupee"),
("currency-sign", "currency-sign"),
("currency-thb", "currency-thb"),
("currency-try", "currency-try"),
("currency-twd", "currency-twd"),
("currency-uah", "currency-uah"),
("currency-usd", "currency-usd"),
("currency-usd-circle", "currency-usd-circle"),
("currency-usd-circle-outline", "currency-usd-circle-outline"),
("currency-usd-off", "currency-usd-off"),
("current-ac", "current-ac"),
("current-dc", "current-dc"),
("cursor-default", "cursor-default"),
("cursor-default-click", "cursor-default-click"),
("cursor-default-click-outline", "cursor-default-click-outline"),
("cursor-default-gesture", "cursor-default-gesture"),
("cursor-default-gesture-outline", "cursor-default-gesture-outline"),
("cursor-default-outline", "cursor-default-outline"),
("cursor-move", "cursor-move"),
("cursor-pointer", "cursor-pointer"),
("cursor-text", "cursor-text"),
("curtains", "curtains"),
("curtains-closed", "curtains-closed"),
("cylinder", "cylinder"),
("cylinder-off", "cylinder-off"),
("dance-ballroom", "dance-ballroom"),
("dance-pole", "dance-pole"),
("data", "data"),
("data-matrix", "data-matrix"),
("data-matrix-edit", "data-matrix-edit"),
("data-matrix-minus", "data-matrix-minus"),
("data-matrix-plus", "data-matrix-plus"),
("data-matrix-remove", "data-matrix-remove"),
("data-matrix-scan", "data-matrix-scan"),
("database", "database"),
("database-alert", "database-alert"),
("database-alert-outline", "database-alert-outline"),
("database-arrow-down", "database-arrow-down"),
("database-arrow-down-outline", "database-arrow-down-outline"),
("database-arrow-left", "database-arrow-left"),
("database-arrow-left-outline", "database-arrow-left-outline"),
("database-arrow-right", "database-arrow-right"),
("database-arrow-right-outline", "database-arrow-right-outline"),
("database-arrow-up", "database-arrow-up"),
("database-arrow-up-outline", "database-arrow-up-outline"),
("database-check", "database-check"),
("database-check-outline", "database-check-outline"),
("database-clock", "database-clock"),
("database-clock-outline", "database-clock-outline"),
("database-cog", "database-cog"),
("database-cog-outline", "database-cog-outline"),
("database-edit", "database-edit"),
("database-edit-outline", "database-edit-outline"),
("database-export", "database-export"),
("database-export-outline", "database-export-outline"),
("database-eye", "database-eye"),
("database-eye-off", "database-eye-off"),
("database-eye-off-outline", "database-eye-off-outline"),
("database-eye-outline", "database-eye-outline"),
("database-import", "database-import"),
("database-import-outline", "database-import-outline"),
("database-lock", "database-lock"),
("database-lock-outline", "database-lock-outline"),
("database-marker", "database-marker"),
("database-marker-outline", "database-marker-outline"),
("database-minus", "database-minus"),
("database-minus-outline", "database-minus-outline"),
("database-off", "database-off"),
("database-off-outline", "database-off-outline"),
("database-outline", "database-outline"),
("database-plus", "database-plus"),
("database-plus-outline", "database-plus-outline"),
("database-refresh", "database-refresh"),
("database-refresh-outline", "database-refresh-outline"),
("database-remove", "database-remove"),
("database-remove-outline", "database-remove-outline"),
("database-search", "database-search"),
("database-search-outline", "database-search-outline"),
("database-settings", "database-settings"),
("database-settings-outline", "database-settings-outline"),
("database-sync", "database-sync"),
("database-sync-outline", "database-sync-outline"),
("death-star", "death-star"),
("death-star-variant", "death-star-variant"),
("deathly-hallows", "deathly-hallows"),
("debian", "debian"),
("debug-step-into", "debug-step-into"),
("debug-step-out", "debug-step-out"),
("debug-step-over", "debug-step-over"),
("decagram", "decagram"),
("decagram-outline", "decagram-outline"),
("decimal", "decimal"),
("decimal-comma", "decimal-comma"),
("decimal-comma-decrease", "decimal-comma-decrease"),
("decimal-comma-increase", "decimal-comma-increase"),
("decimal-decrease", "decimal-decrease"),
("decimal-increase", "decimal-increase"),
("delete", "delete"),
("delete-alert", "delete-alert"),
("delete-alert-outline", "delete-alert-outline"),
("delete-circle", "delete-circle"),
("delete-circle-outline", "delete-circle-outline"),
("delete-clock", "delete-clock"),
("delete-clock-outline", "delete-clock-outline"),
("delete-empty", "delete-empty"),
("delete-empty-outline", "delete-empty-outline"),
("delete-forever", "delete-forever"),
("delete-forever-outline", "delete-forever-outline"),
("delete-off", "delete-off"),
("delete-off-outline", "delete-off-outline"),
("delete-outline", "delete-outline"),
("delete-restore", "delete-restore"),
("delete-sweep", "delete-sweep"),
("delete-sweep-outline", "delete-sweep-outline"),
("delete-variant", "delete-variant"),
("delta", "delta"),
("desk", "desk"),
("desk-lamp", "desk-lamp"),
("desk-lamp-off", "desk-lamp-off"),
("desk-lamp-on", "desk-lamp-on"),
("deskphone", "deskphone"),
("desktop-classic", "desktop-classic"),
("desktop-mac", "desktop-mac"),
("desktop-mac-dashboard", "desktop-mac-dashboard"),
("desktop-tower", "desktop-tower"),
("desktop-tower-monitor", "desktop-tower-monitor"),
("details", "details"),
("dev-to", "dev-to"),
("developer-board", "developer-board"),
("deviantart", "deviantart"),
("devices", "devices"),
("dharmachakra", "dharmachakra"),
("diabetes", "diabetes"),
("dialpad", "dialpad"),
("diameter", "diameter"),
("diameter-outline", "diameter-outline"),
("diameter-variant", "diameter-variant"),
("diamond", "diamond"),
("diamond-outline", "diamond-outline"),
("diamond-stone", "diamond-stone"),
("dice", "dice"),
("dice-1", "dice-1"),
("dice-1-outline", "dice-1-outline"),
("dice-2", "dice-2"),
("dice-2-outline", "dice-2-outline"),
("dice-3", "dice-3"),
("dice-3-outline", "dice-3-outline"),
("dice-4", "dice-4"),
("dice-4-outline", "dice-4-outline"),
("dice-5", "dice-5"),
("dice-5-outline", "dice-5-outline"),
("dice-6", "dice-6"),
("dice-6-outline", "dice-6-outline"),
("dice-d10", "dice-d10"),
("dice-d10-outline", "dice-d10-outline"),
("dice-d12", "dice-d12"),
("dice-d12-outline", "dice-d12-outline"),
("dice-d20", "dice-d20"),
("dice-d20-outline", "dice-d20-outline"),
("dice-d4", "dice-d4"),
("dice-d4-outline", "dice-d4-outline"),
("dice-d6", "dice-d6"),
("dice-d6-outline", "dice-d6-outline"),
("dice-d8", "dice-d8"),
("dice-d8-outline", "dice-d8-outline"),
("dice-multiple", "dice-multiple"),
("dice-multiple-outline", "dice-multiple-outline"),
("digital-ocean", "digital-ocean"),
("dip-switch", "dip-switch"),
("directions", "directions"),
("directions-fork", "directions-fork"),
("disc", "disc"),
("disc-alert", "disc-alert"),
("disc-player", "disc-player"),
("discord", "discord"),
("dishwasher", "dishwasher"),
("dishwasher-alert", "dishwasher-alert"),
("dishwasher-off", "dishwasher-off"),
("disk", "disk"),
("disk-alert", "disk-alert"),
("disk-player", "disk-player"),
("disqus", "disqus"),
("disqus-outline", "disqus-outline"),
("distribute-horizontal-center", "distribute-horizontal-center"),
("distribute-horizontal-left", "distribute-horizontal-left"),
("distribute-horizontal-right", "distribute-horizontal-right"),
("distribute-vertical-bottom", "distribute-vertical-bottom"),
("distribute-vertical-center", "distribute-vertical-center"),
("distribute-vertical-top", "distribute-vertical-top"),
("diversify", "diversify"),
("diving", "diving"),
("diving-flippers", "diving-flippers"),
("diving-helmet", "diving-helmet"),
("diving-scuba", "diving-scuba"),
("diving-scuba-flag", "diving-scuba-flag"),
("diving-scuba-mask", "diving-scuba-mask"),
("diving-scuba-tank", "diving-scuba-tank"),
("diving-scuba-tank-multiple", "diving-scuba-tank-multiple"),
("diving-snorkel", "diving-snorkel"),
("division", "division"),
("division-box", "division-box"),
("dlna", "dlna"),
("dna", "dna"),
("dns", "dns"),
("dns-outline", "dns-outline"),
("do-not-disturb", "do-not-disturb"),
("dock-bottom", "dock-bottom"),
("dock-left", "dock-left"),
("dock-right", "dock-right"),
("dock-top", "dock-top"),
("dock-window", "dock-window"),
("docker", "docker"),
("doctor", "doctor"),
("document", "document"),
("dog", "dog"),
("dog-service", "dog-service"),
("dog-side", "dog-side"),
("dog-side-off", "dog-side-off"),
("dolby", "dolby"),
("dolly", "dolly"),
("dolphin", "dolphin"),
("domain", "domain"),
("domain-off", "domain-off"),
("domain-plus", "domain-plus"),
("domain-remove", "domain-remove"),
("dome-light", "dome-light"),
("domino-mask", "domino-mask"),
("donkey", "donkey"),
("door", "door"),
("door-closed", "door-closed"),
("door-closed-lock", "door-closed-lock"),
("door-open", "door-open"),
("door-sliding", "door-sliding"),
("door-sliding-lock", "door-sliding-lock"),
("door-sliding-open", "door-sliding-open"),
("doorbell", "doorbell"),
("doorbell-video", "doorbell-video"),
("dot-net", "dot-net"),
("dots-circle", "dots-circle"),
("dots-grid", "dots-grid"),
("dots-hexagon", "dots-hexagon"),
("dots-horizontal", "dots-horizontal"),
("dots-horizontal-circle", "dots-horizontal-circle"),
("dots-horizontal-circle-outline", "dots-horizontal-circle-outline"),
("dots-square", "dots-square"),
("dots-triangle", "dots-triangle"),
("dots-vertical", "dots-vertical"),
("dots-vertical-circle", "dots-vertical-circle"),
("dots-vertical-circle-outline", "dots-vertical-circle-outline"),
("douban", "douban"),
("download", "download"),
("download-box", "download-box"),
("download-box-outline", "download-box-outline"),
("download-circle", "download-circle"),
("download-circle-outline", "download-circle-outline"),
("download-lock", "download-lock"),
("download-lock-outline", "download-lock-outline"),
("download-multiple", "download-multiple"),
("download-network", "download-network"),
("download-network-outline", "download-network-outline"),
("download-off", "download-off"),
("download-off-outline", "download-off-outline"),
("download-outline", "download-outline"),
("drag", "drag"),
("drag-horizontal", "drag-horizontal"),
("drag-horizontal-variant", "drag-horizontal-variant"),
("drag-variant", "drag-variant"),
("drag-vertical", "drag-vertical"),
("drag-vertical-variant", "drag-vertical-variant"),
("drama-masks", "drama-masks"),
("draw", "draw"),
("draw-pen", "draw-pen"),
("drawing", "drawing"),
("drawing-box", "drawing-box"),
("dresser", "dresser"),
("dresser-outline", "dresser-outline"),
("dribbble", "dribbble"),
("dribbble-box", "dribbble-box"),
("drone", "drone"),
("dropbox", "dropbox"),
("drupal", "drupal"),
("duck", "duck"),
("dumbbell", "dumbbell"),
("dump-truck", "dump-truck"),
("ear-hearing", "ear-hearing"),
("ear-hearing-loop", "ear-hearing-loop"),
("ear-hearing-off", "ear-hearing-off"),
("earbuds", "earbuds"),
("earbuds-off", "earbuds-off"),
("earbuds-off-outline", "earbuds-off-outline"),
("earbuds-outline", "earbuds-outline"),
("earth", "earth"),
("earth-arrow-right", "earth-arrow-right"),
("earth-box", "earth-box"),
("earth-box-minus", "earth-box-minus"),
("earth-box-off", "earth-box-off"),
("earth-box-plus", "earth-box-plus"),
("earth-box-remove", "earth-box-remove"),
("earth-minus", "earth-minus"),
("earth-off", "earth-off"),
("earth-plus", "earth-plus"),
("earth-remove", "earth-remove"),
("ebay", "ebay"),
("egg", "egg"),
("egg-easter", "egg-easter"),
("egg-fried", "egg-fried"),
("egg-off", "egg-off"),
("egg-off-outline", "egg-off-outline"),
("egg-outline", "egg-outline"),
("eiffel-tower", "eiffel-tower"),
("eight-track", "eight-track"),
("eject", "eject"),
("eject-circle", "eject-circle"),
("eject-circle-outline", "eject-circle-outline"),
("eject-outline", "eject-outline"),
("electric-switch", "electric-switch"),
("electric-switch-closed", "electric-switch-closed"),
("electron-framework", "electron-framework"),
("elephant", "elephant"),
("elevation-decline", "elevation-decline"),
("elevation-rise", "elevation-rise"),
("elevator", "elevator"),
("elevator-down", "elevator-down"),
("elevator-passenger", "elevator-passenger"),
("elevator-passenger-off", "elevator-passenger-off"),
("elevator-passenger-off-outline", "elevator-passenger-off-outline"),
("elevator-passenger-outline", "elevator-passenger-outline"),
("elevator-up", "elevator-up"),
("ellipse", "ellipse"),
("ellipse-outline", "ellipse-outline"),
("email", "email"),
("email-alert", "email-alert"),
("email-alert-outline", "email-alert-outline"),
("email-arrow-left", "email-arrow-left"),
("email-arrow-left-outline", "email-arrow-left-outline"),
("email-arrow-right", "email-arrow-right"),
("email-arrow-right-outline", "email-arrow-right-outline"),
("email-box", "email-box"),
("email-check", "email-check"),
("email-check-outline", "email-check-outline"),
("email-edit", "email-edit"),
("email-edit-outline", "email-edit-outline"),
("email-fast", "email-fast"),
("email-fast-outline", "email-fast-outline"),
("email-lock", "email-lock"),
("email-lock-outline", "email-lock-outline"),
("email-mark-as-unread", "email-mark-as-unread"),
("email-minus", "email-minus"),
("email-minus-outline", "email-minus-outline"),
("email-multiple", "email-multiple"),
("email-multiple-outline", "email-multiple-outline"),
("email-newsletter", "email-newsletter"),
("email-off", "email-off"),
("email-off-outline", "email-off-outline"),
("email-open", "email-open"),
("email-open-multiple", "email-open-multiple"),
("email-open-multiple-outline", "email-open-multiple-outline"),
("email-open-outline", "email-open-outline"),
("email-outline", "email-outline"),
("email-plus", "email-plus"),
("email-plus-outline", "email-plus-outline"),
("email-remove", "email-remove"),
("email-remove-outline", "email-remove-outline"),
("email-seal", "email-seal"),
("email-seal-outline", "email-seal-outline"),
("email-search", "email-search"),
("email-search-outline", "email-search-outline"),
("email-sync", "email-sync"),
("email-sync-outline", "email-sync-outline"),
("email-variant", "email-variant"),
("ember", "ember"),
("emby", "emby"),
("emoticon", "emoticon"),
("emoticon-angry", "emoticon-angry"),
("emoticon-angry-outline", "emoticon-angry-outline"),
("emoticon-confused", "emoticon-confused"),
("emoticon-confused-outline", "emoticon-confused-outline"),
("emoticon-cool", "emoticon-cool"),
("emoticon-cool-outline", "emoticon-cool-outline"),
("emoticon-cry", "emoticon-cry"),
("emoticon-cry-outline", "emoticon-cry-outline"),
("emoticon-dead", "emoticon-dead"),
("emoticon-dead-outline", "emoticon-dead-outline"),
("emoticon-devil", "emoticon-devil"),
("emoticon-devil-outline", "emoticon-devil-outline"),
("emoticon-excited", "emoticon-excited"),
("emoticon-excited-outline", "emoticon-excited-outline"),
("emoticon-frown", "emoticon-frown"),
("emoticon-frown-outline", "emoticon-frown-outline"),
("emoticon-happy", "emoticon-happy"),
("emoticon-happy-outline", "emoticon-happy-outline"),
("emoticon-kiss", "emoticon-kiss"),
("emoticon-kiss-outline", "emoticon-kiss-outline"),
("emoticon-lol", "emoticon-lol"),
("emoticon-lol-outline", "emoticon-lol-outline"),
("emoticon-neutral", "emoticon-neutral"),
("emoticon-neutral-outline", "emoticon-neutral-outline"),
("emoticon-outline", "emoticon-outline"),
("emoticon-poop", "emoticon-poop"),
("emoticon-poop-outline", "emoticon-poop-outline"),
("emoticon-sad", "emoticon-sad"),
("emoticon-sad-outline", "emoticon-sad-outline"),
("emoticon-sick", "emoticon-sick"),
("emoticon-sick-outline", "emoticon-sick-outline"),
("emoticon-tongue", "emoticon-tongue"),
("emoticon-tongue-outline", "emoticon-tongue-outline"),
("emoticon-wink", "emoticon-wink"),
("emoticon-wink-outline", "emoticon-wink-outline"),
("engine", "engine"),
("engine-off", "engine-off"),
("engine-off-outline", "engine-off-outline"),
("engine-outline", "engine-outline"),
("epsilon", "epsilon"),
("equal", "equal"),
("equal-box", "equal-box"),
("equalizer", "equalizer"),
("equalizer-outline", "equalizer-outline"),
("eraser", "eraser"),
("eraser-variant", "eraser-variant"),
("escalator", "escalator"),
("escalator-box", "escalator-box"),
("escalator-down", "escalator-down"),
("escalator-up", "escalator-up"),
("eslint", "eslint"),
("et", "et"),
("ethereum", "ethereum"),
("ethernet", "ethernet"),
("ethernet-cable", "ethernet-cable"),
("ethernet-cable-off", "ethernet-cable-off"),
("etsy", "etsy"),
("ev-plug-ccs1", "ev-plug-ccs1"),
("ev-plug-ccs2", "ev-plug-ccs2"),
("ev-plug-chademo", "ev-plug-chademo"),
("ev-plug-tesla", "ev-plug-tesla"),
("ev-plug-type1", "ev-plug-type1"),
("ev-plug-type2", "ev-plug-type2"),
("ev-station", "ev-station"),
("eventbrite", "eventbrite"),
("evernote", "evernote"),
("excavator", "excavator"),
("exclamation", "exclamation"),
("exclamation-thick", "exclamation-thick"),
("exit-run", "exit-run"),
("exit-to-app", "exit-to-app"),
("expand-all", "expand-all"),
("expand-all-outline", "expand-all-outline"),
("expansion-card", "expansion-card"),
("expansion-card-variant", "expansion-card-variant"),
("exponent", "exponent"),
("exponent-box", "exponent-box"),
("export", "export"),
("export-variant", "export-variant"),
("eye", "eye"),
("eye-arrow-left", "eye-arrow-left"),
("eye-arrow-left-outline", "eye-arrow-left-outline"),
("eye-arrow-right", "eye-arrow-right"),
("eye-arrow-right-outline", "eye-arrow-right-outline"),
("eye-check", "eye-check"),
("eye-check-outline", "eye-check-outline"),
("eye-circle", "eye-circle"),
("eye-circle-outline", "eye-circle-outline"),
("eye-lock", "eye-lock"),
("eye-lock-open", "eye-lock-open"),
("eye-lock-open-outline", "eye-lock-open-outline"),
("eye-lock-outline", "eye-lock-outline"),
("eye-minus", "eye-minus"),
("eye-minus-outline", "eye-minus-outline"),
("eye-off", "eye-off"),
("eye-off-outline", "eye-off-outline"),
("eye-outline", "eye-outline"),
("eye-plus", "eye-plus"),
("eye-plus-outline", "eye-plus-outline"),
("eye-refresh", "eye-refresh"),
("eye-refresh-outline", "eye-refresh-outline"),
("eye-remove", "eye-remove"),
("eye-remove-outline", "eye-remove-outline"),
("eye-settings", "eye-settings"),
("eye-settings-outline", "eye-settings-outline"),
("eyedropper", "eyedropper"),
("eyedropper-minus", "eyedropper-minus"),
("eyedropper-off", "eyedropper-off"),
("eyedropper-plus", "eyedropper-plus"),
("eyedropper-remove", "eyedropper-remove"),
("eyedropper-variant", "eyedropper-variant"),
("face-agent", "face-agent"),
("face-man", "face-man"),
("face-man-outline", "face-man-outline"),
("face-man-profile", "face-man-profile"),
("face-man-shimmer", "face-man-shimmer"),
("face-man-shimmer-outline", "face-man-shimmer-outline"),
("face-mask", "face-mask"),
("face-mask-outline", "face-mask-outline"),
("face-recognition", "face-recognition"),
("face-woman", "face-woman"),
("face-woman-outline", "face-woman-outline"),
("face-woman-profile", "face-woman-profile"),
("face-woman-shimmer", "face-woman-shimmer"),
("face-woman-shimmer-outline", "face-woman-shimmer-outline"),
("facebook", "facebook"),
("facebook-box", "facebook-box"),
("facebook-gaming", "facebook-gaming"),
("facebook-messenger", "facebook-messenger"),
("facebook-workplace", "facebook-workplace"),
("factory", "factory"),
("family-tree", "family-tree"),
("fan", "fan"),
("fan-alert", "fan-alert"),
("fan-auto", "fan-auto"),
("fan-chevron-down", "fan-chevron-down"),
("fan-chevron-up", "fan-chevron-up"),
("fan-clock", "fan-clock"),
("fan-minus", "fan-minus"),
("fan-off", "fan-off"),
("fan-plus", "fan-plus"),
("fan-remove", "fan-remove"),
("fan-speed-1", "fan-speed-1"),
("fan-speed-2", "fan-speed-2"),
("fan-speed-3", "fan-speed-3"),
("fast-forward", "fast-forward"),
("fast-forward-10", "fast-forward-10"),
("fast-forward-15", "fast-forward-15"),
("fast-forward-30", "fast-forward-30"),
("fast-forward-45", "fast-forward-45"),
("fast-forward-5", "fast-forward-5"),
("fast-forward-60", "fast-forward-60"),
("fast-forward-outline", "fast-forward-outline"),
("faucet", "faucet"),
("faucet-variant", "faucet-variant"),
("fax", "fax"),
("feather", "feather"),
("feature-search", "feature-search"),
("feature-search-outline", "feature-search-outline"),
("fedora", "fedora"),
("fence", "fence"),
("fence-electric", "fence-electric"),
("fencing", "fencing"),
("ferris-wheel", "ferris-wheel"),
("ferry", "ferry"),
("file", "file"),
("file-account", "file-account"),
("file-account-outline", "file-account-outline"),
("file-alert", "file-alert"),
("file-alert-outline", "file-alert-outline"),
("file-arrow-left-right", "file-arrow-left-right"),
("file-arrow-left-right-outline", "file-arrow-left-right-outline"),
("file-arrow-up-down", "file-arrow-up-down"),
("file-arrow-up-down-outline", "file-arrow-up-down-outline"),
("file-cabinet", "file-cabinet"),
("file-cad", "file-cad"),
("file-cad-box", "file-cad-box"),
("file-cancel", "file-cancel"),
("file-cancel-outline", "file-cancel-outline"),
("file-certificate", "file-certificate"),
("file-certificate-outline", "file-certificate-outline"),
("file-chart", "file-chart"),
("file-chart-check", "file-chart-check"),
("file-chart-check-outline", "file-chart-check-outline"),
("file-chart-outline", "file-chart-outline"),
("file-check", "file-check"),
("file-check-outline", "file-check-outline"),
("file-clock", "file-clock"),
("file-clock-outline", "file-clock-outline"),
("file-cloud", "file-cloud"),
("file-cloud-outline", "file-cloud-outline"),
("file-code", "file-code"),
("file-code-outline", "file-code-outline"),
("file-cog", "file-cog"),
("file-cog-outline", "file-cog-outline"),
("file-compare", "file-compare"),
("file-delimited", "file-delimited"),
("file-delimited-outline", "file-delimited-outline"),
("file-document", "file-document"),
("file-document-alert", "file-document-alert"),
("file-document-alert-outline", "file-document-alert-outline"),
("file-document-arrow-right", "file-document-arrow-right"),
("file-document-arrow-right-outline", "file-document-arrow-right-outline"),
("file-document-check", "file-document-check"),
("file-document-check-outline", "file-document-check-outline"),
("file-document-edit", "file-document-edit"),
("file-document-edit-outline", "file-document-edit-outline"),
("file-document-minus", "file-document-minus"),
("file-document-minus-outline", "file-document-minus-outline"),
("file-document-multiple", "file-document-multiple"),
("file-document-multiple-outline", "file-document-multiple-outline"),
("file-document-outline", "file-document-outline"),
("file-document-plus", "file-document-plus"),
("file-document-plus-outline", "file-document-plus-outline"),
("file-document-remove", "file-document-remove"),
("file-document-remove-outline", "file-document-remove-outline"),
("file-download", "file-download"),
("file-download-outline", "file-download-outline"),
("file-edit", "file-edit"),
("file-edit-outline", "file-edit-outline"),
("file-excel", "file-excel"),
("file-excel-box", "file-excel-box"),
("file-excel-box-outline", "file-excel-box-outline"),
("file-excel-outline", "file-excel-outline"),
("file-export", "file-export"),
("file-export-outline", "file-export-outline"),
("file-eye", "file-eye"),
("file-eye-outline", "file-eye-outline"),
("file-find", "file-find"),
("file-find-outline", "file-find-outline"),
("file-gif-box", "file-gif-box"),
("file-hidden", "file-hidden"),
("file-image", "file-image"),
("file-image-box", "file-image-box"),
("file-image-marker", "file-image-marker"),
("file-image-marker-outline", "file-image-marker-outline"),
("file-image-minus", "file-image-minus"),
("file-image-minus-outline", "file-image-minus-outline"),
("file-image-outline", "file-image-outline"),
("file-image-plus", "file-image-plus"),
("file-image-plus-outline", "file-image-plus-outline"),
("file-image-remove", "file-image-remove"),
("file-image-remove-outline", "file-image-remove-outline"),
("file-import", "file-import"),
("file-import-outline", "file-import-outline"),
("file-jpg-box", "file-jpg-box"),
("file-key", "file-key"),
("file-key-outline", "file-key-outline"),
("file-link", "file-link"),
("file-link-outline", "file-link-outline"),
("file-lock", "file-lock"),
("file-lock-open", "file-lock-open"),
("file-lock-open-outline", "file-lock-open-outline"),
("file-lock-outline", "file-lock-outline"),
("file-marker", "file-marker"),
("file-marker-outline", "file-marker-outline"),
("file-minus", "file-minus"),
("file-minus-outline", "file-minus-outline"),
("file-move", "file-move"),
("file-move-outline", "file-move-outline"),
("file-multiple", "file-multiple"),
("file-multiple-outline", "file-multiple-outline"),
("file-music", "file-music"),
("file-music-outline", "file-music-outline"),
("file-outline", "file-outline"),
("file-pdf", "file-pdf"),
("file-pdf-box", "file-pdf-box"),
("file-pdf-box-outline", "file-pdf-box-outline"),
("file-pdf-outline", "file-pdf-outline"),
("file-percent", "file-percent"),
("file-percent-outline", "file-percent-outline"),
("file-phone", "file-phone"),
("file-phone-outline", "file-phone-outline"),
("file-plus", "file-plus"),
("file-plus-outline", "file-plus-outline"),
("file-png-box", "file-png-box"),
("file-powerpoint", "file-powerpoint"),
("file-powerpoint-box", "file-powerpoint-box"),
("file-powerpoint-box-outline", "file-powerpoint-box-outline"),
("file-powerpoint-outline", "file-powerpoint-outline"),
("file-presentation-box", "file-presentation-box"),
("file-question", "file-question"),
("file-question-outline", "file-question-outline"),
("file-refresh", "file-refresh"),
("file-refresh-outline", "file-refresh-outline"),
("file-remove", "file-remove"),
("file-remove-outline", "file-remove-outline"),
("file-replace", "file-replace"),
("file-replace-outline", "file-replace-outline"),
("file-restore", "file-restore"),
("file-restore-outline", "file-restore-outline"),
("file-rotate-left", "file-rotate-left"),
("file-rotate-left-outline", "file-rotate-left-outline"),
("file-rotate-right", "file-rotate-right"),
("file-rotate-right-outline", "file-rotate-right-outline"),
("file-search", "file-search"),
("file-search-outline", "file-search-outline"),
("file-send", "file-send"),
("file-send-outline", "file-send-outline"),
("file-settings", "file-settings"),
("file-settings-outline", "file-settings-outline"),
("file-sign", "file-sign"),
("file-star", "file-star"),
("file-star-outline", "file-star-outline"),
("file-swap", "file-swap"),
("file-swap-outline", "file-swap-outline"),
("file-sync", "file-sync"),
("file-sync-outline", "file-sync-outline"),
("file-table", "file-table"),
("file-table-box", "file-table-box"),
("file-table-box-multiple", "file-table-box-multiple"),
("file-table-box-multiple-outline", "file-table-box-multiple-outline"),
("file-table-box-outline", "file-table-box-outline"),
("file-table-outline", "file-table-outline"),
("file-tree", "file-tree"),
("file-tree-outline", "file-tree-outline"),
("file-undo", "file-undo"),
("file-undo-outline", "file-undo-outline"),
("file-upload", "file-upload"),
("file-upload-outline", "file-upload-outline"),
("file-video", "file-video"),
("file-video-outline", "file-video-outline"),
("file-word", "file-word"),
("file-word-box", "file-word-box"),
("file-word-box-outline", "file-word-box-outline"),
("file-word-outline", "file-word-outline"),
("file-xml", "file-xml"),
("file-xml-box", "file-xml-box"),
("fill", "fill"),
("film", "film"),
("filmstrip", "filmstrip"),
("filmstrip-box", "filmstrip-box"),
("filmstrip-box-multiple", "filmstrip-box-multiple"),
("filmstrip-off", "filmstrip-off"),
("filter", "filter"),
("filter-check", "filter-check"),
("filter-check-outline", "filter-check-outline"),
("filter-cog", "filter-cog"),
("filter-cog-outline", "filter-cog-outline"),
("filter-menu", "filter-menu"),
("filter-menu-outline", "filter-menu-outline"),
("filter-minus", "filter-minus"),
("filter-minus-outline", "filter-minus-outline"),
("filter-multiple", "filter-multiple"),
("filter-multiple-outline", "filter-multiple-outline"),
("filter-off", "filter-off"),
("filter-off-outline", "filter-off-outline"),
("filter-outline", "filter-outline"),
("filter-plus", "filter-plus"),
("filter-plus-outline", "filter-plus-outline"),
("filter-remove", "filter-remove"),
("filter-remove-outline", "filter-remove-outline"),
("filter-settings", "filter-settings"),
("filter-settings-outline", "filter-settings-outline"),
("filter-variant", "filter-variant"),
("filter-variant-minus", "filter-variant-minus"),
("filter-variant-plus", "filter-variant-plus"),
("filter-variant-remove", "filter-variant-remove"),
("finance", "finance"),
("find-replace", "find-replace"),
("fingerprint", "fingerprint"),
("fingerprint-off", "fingerprint-off"),
("fire", "fire"),
("fire-alert", "fire-alert"),
("fire-circle", "fire-circle"),
("fire-extinguisher", "fire-extinguisher"),
("fire-hydrant", "fire-hydrant"),
("fire-hydrant-alert", "fire-hydrant-alert"),
("fire-hydrant-off", "fire-hydrant-off"),
("fire-off", "fire-off"),
("fire-truck", "fire-truck"),
("firebase", "firebase"),
("firefox", "firefox"),
("fireplace", "fireplace"),
("fireplace-off", "fireplace-off"),
("firewire", "firewire"),
("firework", "firework"),
("firework-off", "firework-off"),
("fish", "fish"),
("fish-off", "fish-off"),
("fishbowl", "fishbowl"),
("fishbowl-outline", "fishbowl-outline"),
("fit-to-page", "fit-to-page"),
("fit-to-page-outline", "fit-to-page-outline"),
("fit-to-screen", "fit-to-screen"),
("fit-to-screen-outline", "fit-to-screen-outline"),
("flag", "flag"),
("flag-checkered", "flag-checkered"),
("flag-checkered-variant", "flag-checkered-variant"),
("flag-minus", "flag-minus"),
("flag-minus-outline", "flag-minus-outline"),
("flag-off", "flag-off"),
("flag-off-outline", "flag-off-outline"),
("flag-outline", "flag-outline"),
("flag-outline-variant", "flag-outline-variant"),
("flag-plus", "flag-plus"),
("flag-plus-outline", "flag-plus-outline"),
("flag-remove", "flag-remove"),
("flag-remove-outline", "flag-remove-outline"),
("flag-triangle", "flag-triangle"),
("flag-variant", "flag-variant"),
("flag-variant-minus", "flag-variant-minus"),
("flag-variant-minus-outline", "flag-variant-minus-outline"),
("flag-variant-off", "flag-variant-off"),
("flag-variant-off-outline", "flag-variant-off-outline"),
("flag-variant-outline", "flag-variant-outline"),
("flag-variant-plus", "flag-variant-plus"),
("flag-variant-plus-outline", "flag-variant-plus-outline"),
("flag-variant-remove", "flag-variant-remove"),
("flag-variant-remove-outline", "flag-variant-remove-outline"),
("flare", "flare"),
("flash", "flash"),
("flash-alert", "flash-alert"),
("flash-alert-outline", "flash-alert-outline"),
("flash-auto", "flash-auto"),
("flash-off", "flash-off"),
("flash-off-outline", "flash-off-outline"),
("flash-outline", "flash-outline"),
("flash-red-eye", "flash-red-eye"),
("flash-triangle", "flash-triangle"),
("flash-triangle-outline", "flash-triangle-outline"),
("flashlight", "flashlight"),
("flashlight-off", "flashlight-off"),
("flask", "flask"),
("flask-empty", "flask-empty"),
("flask-empty-minus", "flask-empty-minus"),
("flask-empty-minus-outline", "flask-empty-minus-outline"),
("flask-empty-off", "flask-empty-off"),
("flask-empty-off-outline", "flask-empty-off-outline"),
("flask-empty-outline", "flask-empty-outline"),
("flask-empty-plus", "flask-empty-plus"),
("flask-empty-plus-outline", "flask-empty-plus-outline"),
("flask-empty-remove", "flask-empty-remove"),
("flask-empty-remove-outline", "flask-empty-remove-outline"),
("flask-minus", "flask-minus"),
("flask-minus-outline", "flask-minus-outline"),
("flask-off", "flask-off"),
("flask-off-outline", "flask-off-outline"),
("flask-outline", "flask-outline"),
("flask-plus", "flask-plus"),
("flask-plus-outline", "flask-plus-outline"),
("flask-remove", "flask-remove"),
("flask-remove-outline", "flask-remove-outline"),
("flask-round-bottom", "flask-round-bottom"),
("flask-round-bottom-empty", "flask-round-bottom-empty"),
("flask-round-bottom-empty-outline", "flask-round-bottom-empty-outline"),
("flask-round-bottom-outline", "flask-round-bottom-outline"),
("flattr", "flattr"),
("fleur-de-lis", "fleur-de-lis"),
("flickr", "flickr"),
("flickr-after", "flickr-after"),
("flickr-before", "flickr-before"),
("flip-horizontal", "flip-horizontal"),
("flip-to-back", "flip-to-back"),
("flip-to-front", "flip-to-front"),
("flip-vertical", "flip-vertical"),
("floor-1", "floor-1"),
("floor-2", "floor-2"),
("floor-3", "floor-3"),
("floor-a", "floor-a"),
("floor-b", "floor-b"),
("floor-g", "floor-g"),
("floor-l", "floor-l"),
("floor-lamp", "floor-lamp"),
("floor-lamp-dual", "floor-lamp-dual"),
("floor-lamp-dual-outline", "floor-lamp-dual-outline"),
("floor-lamp-outline", "floor-lamp-outline"),
("floor-lamp-torchiere", "floor-lamp-torchiere"),
("floor-lamp-torchiere-outline", "floor-lamp-torchiere-outline"),
("floor-lamp-torchiere-variant", "floor-lamp-torchiere-variant"),
(
"floor-lamp-torchiere-variant-outline",
"floor-lamp-torchiere-variant-outline",
),
("floor-plan", "floor-plan"),
("floppy", "floppy"),
("floppy-variant", "floppy-variant"),
("flower", "flower"),
("flower-outline", "flower-outline"),
("flower-pollen", "flower-pollen"),
("flower-pollen-outline", "flower-pollen-outline"),
("flower-poppy", "flower-poppy"),
("flower-tulip", "flower-tulip"),
("flower-tulip-outline", "flower-tulip-outline"),
("focus-auto", "focus-auto"),
("focus-field", "focus-field"),
("focus-field-horizontal", "focus-field-horizontal"),
("focus-field-vertical", "focus-field-vertical"),
("folder", "folder"),
("folder-account", "folder-account"),
("folder-account-outline", "folder-account-outline"),
("folder-alert", "folder-alert"),
("folder-alert-outline", "folder-alert-outline"),
("folder-arrow-down", "folder-arrow-down"),
("folder-arrow-down-outline", "folder-arrow-down-outline"),
("folder-arrow-left", "folder-arrow-left"),
("folder-arrow-left-outline", "folder-arrow-left-outline"),
("folder-arrow-left-right", "folder-arrow-left-right"),
("folder-arrow-left-right-outline", "folder-arrow-left-right-outline"),
("folder-arrow-right", "folder-arrow-right"),
("folder-arrow-right-outline", "folder-arrow-right-outline"),
("folder-arrow-up", "folder-arrow-up"),
("folder-arrow-up-down", "folder-arrow-up-down"),
("folder-arrow-up-down-outline", "folder-arrow-up-down-outline"),
("folder-arrow-up-outline", "folder-arrow-up-outline"),
("folder-cancel", "folder-cancel"),
("folder-cancel-outline", "folder-cancel-outline"),
("folder-check", "folder-check"),
("folder-check-outline", "folder-check-outline"),
("folder-clock", "folder-clock"),
("folder-clock-outline", "folder-clock-outline"),
("folder-cog", "folder-cog"),
("folder-cog-outline", "folder-cog-outline"),
("folder-download", "folder-download"),
("folder-download-outline", "folder-download-outline"),
("folder-edit", "folder-edit"),
("folder-edit-outline", "folder-edit-outline"),
("folder-eye", "folder-eye"),
("folder-eye-outline", "folder-eye-outline"),
("folder-file", "folder-file"),
("folder-file-outline", "folder-file-outline"),
("folder-google-drive", "folder-google-drive"),
("folder-heart", "folder-heart"),
("folder-heart-outline", "folder-heart-outline"),
("folder-hidden", "folder-hidden"),
("folder-home", "folder-home"),
("folder-home-outline", "folder-home-outline"),
("folder-image", "folder-image"),
("folder-information", "folder-information"),
("folder-information-outline", "folder-information-outline"),
("folder-key", "folder-key"),
("folder-key-network", "folder-key-network"),
("folder-key-network-outline", "folder-key-network-outline"),
("folder-key-outline", "folder-key-outline"),
("folder-lock", "folder-lock"),
("folder-lock-open", "folder-lock-open"),
("folder-lock-open-outline", "folder-lock-open-outline"),
("folder-lock-outline", "folder-lock-outline"),
("folder-marker", "folder-marker"),
("folder-marker-outline", "folder-marker-outline"),
("folder-minus", "folder-minus"),
("folder-minus-outline", "folder-minus-outline"),
("folder-move", "folder-move"),
("folder-move-outline", "folder-move-outline"),
("folder-multiple", "folder-multiple"),
("folder-multiple-image", "folder-multiple-image"),
("folder-multiple-outline", "folder-multiple-outline"),
("folder-multiple-plus", "folder-multiple-plus"),
("folder-multiple-plus-outline", "folder-multiple-plus-outline"),
("folder-music", "folder-music"),
("folder-music-outline", "folder-music-outline"),
("folder-network", "folder-network"),
("folder-network-outline", "folder-network-outline"),
("folder-off", "folder-off"),
("folder-off-outline", "folder-off-outline"),
("folder-open", "folder-open"),
("folder-open-outline", "folder-open-outline"),
("folder-outline", "folder-outline"),
("folder-outline-lock", "folder-outline-lock"),
("folder-play", "folder-play"),
("folder-play-outline", "folder-play-outline"),
("folder-plus", "folder-plus"),
("folder-plus-outline", "folder-plus-outline"),
("folder-pound", "folder-pound"),
("folder-pound-outline", "folder-pound-outline"),
("folder-question", "folder-question"),
("folder-question-outline", "folder-question-outline"),
("folder-refresh", "folder-refresh"),
("folder-refresh-outline", "folder-refresh-outline"),
("folder-remove", "folder-remove"),
("folder-remove-outline", "folder-remove-outline"),
("folder-search", "folder-search"),
("folder-search-outline", "folder-search-outline"),
("folder-settings", "folder-settings"),
("folder-settings-outline", "folder-settings-outline"),
("folder-star", "folder-star"),
("folder-star-multiple", "folder-star-multiple"),
("folder-star-multiple-outline", "folder-star-multiple-outline"),
("folder-star-outline", "folder-star-outline"),
("folder-swap", "folder-swap"),
("folder-swap-outline", "folder-swap-outline"),
("folder-sync", "folder-sync"),
("folder-sync-outline", "folder-sync-outline"),
("folder-table", "folder-table"),
("folder-table-outline", "folder-table-outline"),
("folder-text", "folder-text"),
("folder-text-outline", "folder-text-outline"),
("folder-upload", "folder-upload"),
("folder-upload-outline", "folder-upload-outline"),
("folder-wrench", "folder-wrench"),
("folder-wrench-outline", "folder-wrench-outline"),
("folder-zip", "folder-zip"),
("folder-zip-outline", "folder-zip-outline"),
("font-awesome", "font-awesome"),
("food", "food"),
("food-apple", "food-apple"),
("food-apple-outline", "food-apple-outline"),
("food-croissant", "food-croissant"),
("food-drumstick", "food-drumstick"),
("food-drumstick-off", "food-drumstick-off"),
("food-drumstick-off-outline", "food-drumstick-off-outline"),
("food-drumstick-outline", "food-drumstick-outline"),
("food-fork-drink", "food-fork-drink"),
("food-halal", "food-halal"),
("food-hot-dog", "food-hot-dog"),
("food-kosher", "food-kosher"),
("food-off", "food-off"),
("food-off-outline", "food-off-outline"),
("food-outline", "food-outline"),
("food-steak", "food-steak"),
("food-steak-off", "food-steak-off"),
("food-takeout-box", "food-takeout-box"),
("food-takeout-box-outline", "food-takeout-box-outline"),
("food-turkey", "food-turkey"),
("food-variant", "food-variant"),
("food-variant-off", "food-variant-off"),
("foot-print", "foot-print"),
("football", "football"),
("football-australian", "football-australian"),
("football-helmet", "football-helmet"),
("footer", "footer"),
("forest", "forest"),
("forklift", "forklift"),
("form-dropdown", "form-dropdown"),
("form-select", "form-select"),
("form-textarea", "form-textarea"),
("form-textbox", "form-textbox"),
("form-textbox-lock", "form-textbox-lock"),
("form-textbox-password", "form-textbox-password"),
("format-align-bottom", "format-align-bottom"),
("format-align-center", "format-align-center"),
("format-align-justify", "format-align-justify"),
("format-align-left", "format-align-left"),
("format-align-middle", "format-align-middle"),
("format-align-right", "format-align-right"),
("format-align-top", "format-align-top"),
("format-annotation-minus", "format-annotation-minus"),
("format-annotation-plus", "format-annotation-plus"),
("format-bold", "format-bold"),
("format-clear", "format-clear"),
("format-color", "format-color"),
("format-color-fill", "format-color-fill"),
("format-color-highlight", "format-color-highlight"),
("format-color-marker-cancel", "format-color-marker-cancel"),
("format-color-text", "format-color-text"),
("format-columns", "format-columns"),
("format-float-center", "format-float-center"),
("format-float-left", "format-float-left"),
("format-float-none", "format-float-none"),
("format-float-right", "format-float-right"),
("format-font", "format-font"),
("format-font-size-decrease", "format-font-size-decrease"),
("format-font-size-increase", "format-font-size-increase"),
("format-header-1", "format-header-1"),
("format-header-2", "format-header-2"),
("format-header-3", "format-header-3"),
("format-header-4", "format-header-4"),
("format-header-5", "format-header-5"),
("format-header-6", "format-header-6"),
("format-header-decrease", "format-header-decrease"),
("format-header-down", "format-header-down"),
("format-header-equal", "format-header-equal"),
("format-header-increase", "format-header-increase"),
("format-header-pound", "format-header-pound"),
("format-header-up", "format-header-up"),
("format-horizontal-align-center", "format-horizontal-align-center"),
("format-horizontal-align-left", "format-horizontal-align-left"),
("format-horizontal-align-right", "format-horizontal-align-right"),
("format-indent-decrease", "format-indent-decrease"),
("format-indent-increase", "format-indent-increase"),
("format-italic", "format-italic"),
("format-letter-case", "format-letter-case"),
("format-letter-case-lower", "format-letter-case-lower"),
("format-letter-case-upper", "format-letter-case-upper"),
("format-letter-ends-with", "format-letter-ends-with"),
("format-letter-matches", "format-letter-matches"),
("format-letter-spacing", "format-letter-spacing"),
("format-letter-spacing-variant", "format-letter-spacing-variant"),
("format-letter-starts-with", "format-letter-starts-with"),
("format-line-height", "format-line-height"),
("format-line-spacing", "format-line-spacing"),
("format-line-style", "format-line-style"),
("format-line-weight", "format-line-weight"),
("format-list-bulleted", "format-list-bulleted"),
("format-list-bulleted-square", "format-list-bulleted-square"),
("format-list-bulleted-triangle", "format-list-bulleted-triangle"),
("format-list-bulleted-type", "format-list-bulleted-type"),
("format-list-checkbox", "format-list-checkbox"),
("format-list-checks", "format-list-checks"),
("format-list-group", "format-list-group"),
("format-list-group-plus", "format-list-group-plus"),
("format-list-numbered", "format-list-numbered"),
("format-list-numbered-rtl", "format-list-numbered-rtl"),
("format-list-text", "format-list-text"),
("format-list-triangle", "format-list-triangle"),
("format-overline", "format-overline"),
("format-page-break", "format-page-break"),
("format-page-split", "format-page-split"),
("format-paint", "format-paint"),
("format-paragraph", "format-paragraph"),
("format-paragraph-spacing", "format-paragraph-spacing"),
("format-pilcrow", "format-pilcrow"),
("format-pilcrow-arrow-left", "format-pilcrow-arrow-left"),
("format-pilcrow-arrow-right", "format-pilcrow-arrow-right"),
("format-quote-close", "format-quote-close"),
("format-quote-close-outline", "format-quote-close-outline"),
("format-quote-open", "format-quote-open"),
("format-quote-open-outline", "format-quote-open-outline"),
("format-rotate-90", "format-rotate-90"),
("format-section", "format-section"),
("format-size", "format-size"),
("format-strikethrough", "format-strikethrough"),
("format-strikethrough-variant", "format-strikethrough-variant"),
("format-subscript", "format-subscript"),
("format-superscript", "format-superscript"),
("format-text", "format-text"),
("format-text-rotation-angle-down", "format-text-rotation-angle-down"),
("format-text-rotation-angle-up", "format-text-rotation-angle-up"),
("format-text-rotation-down", "format-text-rotation-down"),
("format-text-rotation-down-vertical", "format-text-rotation-down-vertical"),
("format-text-rotation-none", "format-text-rotation-none"),
("format-text-rotation-up", "format-text-rotation-up"),
("format-text-rotation-vertical", "format-text-rotation-vertical"),
("format-text-variant", "format-text-variant"),
("format-text-variant-outline", "format-text-variant-outline"),
("format-text-wrapping-clip", "format-text-wrapping-clip"),
("format-text-wrapping-overflow", "format-text-wrapping-overflow"),
("format-text-wrapping-wrap", "format-text-wrapping-wrap"),
("format-textbox", "format-textbox"),
("format-title", "format-title"),
("format-underline", "format-underline"),
("format-underline-wavy", "format-underline-wavy"),
("format-vertical-align-bottom", "format-vertical-align-bottom"),
("format-vertical-align-center", "format-vertical-align-center"),
("format-vertical-align-top", "format-vertical-align-top"),
("format-wrap-inline", "format-wrap-inline"),
("format-wrap-square", "format-wrap-square"),
("format-wrap-tight", "format-wrap-tight"),
("format-wrap-top-bottom", "format-wrap-top-bottom"),
("forum", "forum"),
("forum-minus", "forum-minus"),
("forum-minus-outline", "forum-minus-outline"),
("forum-outline", "forum-outline"),
("forum-plus", "forum-plus"),
("forum-plus-outline", "forum-plus-outline"),
("forum-remove", "forum-remove"),
("forum-remove-outline", "forum-remove-outline"),
("forward", "forward"),
("forwardburger", "forwardburger"),
("fountain", "fountain"),
("fountain-pen", "fountain-pen"),
("fountain-pen-tip", "fountain-pen-tip"),
("foursquare", "foursquare"),
("fraction-one-half", "fraction-one-half"),
("freebsd", "freebsd"),
("french-fries", "french-fries"),
("frequently-asked-questions", "frequently-asked-questions"),
("fridge", "fridge"),
("fridge-alert", "fridge-alert"),
("fridge-alert-outline", "fridge-alert-outline"),
("fridge-bottom", "fridge-bottom"),
("fridge-industrial", "fridge-industrial"),
("fridge-industrial-alert", "fridge-industrial-alert"),
("fridge-industrial-alert-outline", "fridge-industrial-alert-outline"),
("fridge-industrial-off", "fridge-industrial-off"),
("fridge-industrial-off-outline", "fridge-industrial-off-outline"),
("fridge-industrial-outline", "fridge-industrial-outline"),
("fridge-off", "fridge-off"),
("fridge-off-outline", "fridge-off-outline"),
("fridge-outline", "fridge-outline"),
("fridge-top", "fridge-top"),
("fridge-variant", "fridge-variant"),
("fridge-variant-alert", "fridge-variant-alert"),
("fridge-variant-alert-outline", "fridge-variant-alert-outline"),
("fridge-variant-off", "fridge-variant-off"),
("fridge-variant-off-outline", "fridge-variant-off-outline"),
("fridge-variant-outline", "fridge-variant-outline"),
("fruit-cherries", "fruit-cherries"),
("fruit-cherries-off", "fruit-cherries-off"),
("fruit-citrus", "fruit-citrus"),
("fruit-citrus-off", "fruit-citrus-off"),
("fruit-grapes", "fruit-grapes"),
("fruit-grapes-outline", "fruit-grapes-outline"),
("fruit-pear", "fruit-pear"),
("fruit-pineapple", "fruit-pineapple"),
("fruit-watermelon", "fruit-watermelon"),
("fuel", "fuel"),
("fuel-cell", "fuel-cell"),
("fullscreen", "fullscreen"),
("fullscreen-exit", "fullscreen-exit"),
("function", "function"),
("function-variant", "function-variant"),
("furigana-horizontal", "furigana-horizontal"),
("furigana-vertical", "furigana-vertical"),
("fuse", "fuse"),
("fuse-alert", "fuse-alert"),
("fuse-blade", "fuse-blade"),
("fuse-off", "fuse-off"),
("gamepad", "gamepad"),
("gamepad-circle", "gamepad-circle"),
("gamepad-circle-down", "gamepad-circle-down"),
("gamepad-circle-left", "gamepad-circle-left"),
("gamepad-circle-outline", "gamepad-circle-outline"),
("gamepad-circle-right", "gamepad-circle-right"),
("gamepad-circle-up", "gamepad-circle-up"),
("gamepad-down", "gamepad-down"),
("gamepad-left", "gamepad-left"),
("gamepad-outline", "gamepad-outline"),
("gamepad-right", "gamepad-right"),
("gamepad-round", "gamepad-round"),
("gamepad-round-down", "gamepad-round-down"),
("gamepad-round-left", "gamepad-round-left"),
("gamepad-round-outline", "gamepad-round-outline"),
("gamepad-round-right", "gamepad-round-right"),
("gamepad-round-up", "gamepad-round-up"),
("gamepad-square", "gamepad-square"),
("gamepad-square-outline", "gamepad-square-outline"),
("gamepad-up", "gamepad-up"),
("gamepad-variant", "gamepad-variant"),
("gamepad-variant-outline", "gamepad-variant-outline"),
("gamma", "gamma"),
("gantry-crane", "gantry-crane"),
("garage", "garage"),
("garage-alert", "garage-alert"),
("garage-alert-variant", "garage-alert-variant"),
("garage-lock", "garage-lock"),
("garage-open", "garage-open"),
("garage-open-variant", "garage-open-variant"),
("garage-variant", "garage-variant"),
("garage-variant-lock", "garage-variant-lock"),
("gas-burner", "gas-burner"),
("gas-cylinder", "gas-cylinder"),
("gas-station", "gas-station"),
("gas-station-off", "gas-station-off"),
("gas-station-off-outline", "gas-station-off-outline"),
("gas-station-outline", "gas-station-outline"),
("gate", "gate"),
("gate-alert", "gate-alert"),
("gate-and", "gate-and"),
("gate-arrow-left", "gate-arrow-left"),
("gate-arrow-right", "gate-arrow-right"),
("gate-buffer", "gate-buffer"),
("gate-nand", "gate-nand"),
("gate-nor", "gate-nor"),
("gate-not", "gate-not"),
("gate-open", "gate-open"),
("gate-or", "gate-or"),
("gate-xnor", "gate-xnor"),
("gate-xor", "gate-xor"),
("gatsby", "gatsby"),
("gauge", "gauge"),
("gauge-empty", "gauge-empty"),
("gauge-full", "gauge-full"),
("gauge-low", "gauge-low"),
("gavel", "gavel"),
("gender-female", "gender-female"),
("gender-male", "gender-male"),
("gender-male-female", "gender-male-female"),
("gender-male-female-variant", "gender-male-female-variant"),
("gender-non-binary", "gender-non-binary"),
("gender-transgender", "gender-transgender"),
("gentoo", "gentoo"),
("gesture", "gesture"),
("gesture-double-tap", "gesture-double-tap"),
("gesture-pinch", "gesture-pinch"),
("gesture-spread", "gesture-spread"),
("gesture-swipe", "gesture-swipe"),
("gesture-swipe-down", "gesture-swipe-down"),
("gesture-swipe-horizontal", "gesture-swipe-horizontal"),
("gesture-swipe-left", "gesture-swipe-left"),
("gesture-swipe-right", "gesture-swipe-right"),
("gesture-swipe-up", "gesture-swipe-up"),
("gesture-swipe-vertical", "gesture-swipe-vertical"),
("gesture-tap", "gesture-tap"),
("gesture-tap-box", "gesture-tap-box"),
("gesture-tap-button", "gesture-tap-button"),
("gesture-tap-hold", "gesture-tap-hold"),
("gesture-two-double-tap", "gesture-two-double-tap"),
("gesture-two-tap", "gesture-two-tap"),
("ghost", "ghost"),
("ghost-off", "ghost-off"),
("ghost-off-outline", "ghost-off-outline"),
("ghost-outline", "ghost-outline"),
("gif", "gif"),
("gift", "gift"),
("gift-off", "gift-off"),
("gift-off-outline", "gift-off-outline"),
("gift-open", "gift-open"),
("gift-open-outline", "gift-open-outline"),
("gift-outline", "gift-outline"),
("git", "git"),
("github", "github"),
("github-box", "github-box"),
("github-face", "github-face"),
("gitlab", "gitlab"),
("glass-cocktail", "glass-cocktail"),
("glass-cocktail-off", "glass-cocktail-off"),
("glass-flute", "glass-flute"),
("glass-fragile", "glass-fragile"),
("glass-mug", "glass-mug"),
("glass-mug-off", "glass-mug-off"),
("glass-mug-variant", "glass-mug-variant"),
("glass-mug-variant-off", "glass-mug-variant-off"),
("glass-pint-outline", "glass-pint-outline"),
("glass-stange", "glass-stange"),
("glass-tulip", "glass-tulip"),
("glass-wine", "glass-wine"),
("glassdoor", "glassdoor"),
("glasses", "glasses"),
("globe-light", "globe-light"),
("globe-light-outline", "globe-light-outline"),
("globe-model", "globe-model"),
("gmail", "gmail"),
("gnome", "gnome"),
("go-kart", "go-kart"),
("go-kart-track", "go-kart-track"),
("gog", "gog"),
("gold", "gold"),
("golf", "golf"),
("golf-cart", "golf-cart"),
("golf-tee", "golf-tee"),
("gondola", "gondola"),
("goodreads", "goodreads"),
("google", "google"),
("google-ads", "google-ads"),
("google-allo", "google-allo"),
("google-analytics", "google-analytics"),
("google-assistant", "google-assistant"),
("google-cardboard", "google-cardboard"),
("google-chrome", "google-chrome"),
("google-circles", "google-circles"),
("google-circles-communities", "google-circles-communities"),
("google-circles-extended", "google-circles-extended"),
("google-circles-group", "google-circles-group"),
("google-classroom", "google-classroom"),
("google-cloud", "google-cloud"),
("google-downasaur", "google-downasaur"),
("google-drive", "google-drive"),
("google-earth", "google-earth"),
("google-fit", "google-fit"),
("google-glass", "google-glass"),
("google-hangouts", "google-hangouts"),
("google-home", "google-home"),
("google-keep", "google-keep"),
("google-lens", "google-lens"),
("google-maps", "google-maps"),
("google-my-business", "google-my-business"),
("google-nearby", "google-nearby"),
("google-pages", "google-pages"),
("google-photos", "google-photos"),
("google-physical-web", "google-physical-web"),
("google-play", "google-play"),
("google-plus", "google-plus"),
("google-plus-box", "google-plus-box"),
("google-podcast", "google-podcast"),
("google-spreadsheet", "google-spreadsheet"),
("google-street-view", "google-street-view"),
("google-translate", "google-translate"),
("google-wallet", "google-wallet"),
("gradient-horizontal", "gradient-horizontal"),
("gradient-vertical", "gradient-vertical"),
("grain", "grain"),
("graph", "graph"),
("graph-outline", "graph-outline"),
("graphql", "graphql"),
("grass", "grass"),
("grave-stone", "grave-stone"),
("grease-pencil", "grease-pencil"),
("greater-than", "greater-than"),
("greater-than-or-equal", "greater-than-or-equal"),
("greenhouse", "greenhouse"),
("grid", "grid"),
("grid-large", "grid-large"),
("grid-off", "grid-off"),
("grill", "grill"),
("grill-outline", "grill-outline"),
("group", "group"),
("guitar-acoustic", "guitar-acoustic"),
("guitar-electric", "guitar-electric"),
("guitar-pick", "guitar-pick"),
("guitar-pick-outline", "guitar-pick-outline"),
("guy-fawkes-mask", "guy-fawkes-mask"),
("gymnastics", "gymnastics"),
("hail", "hail"),
("hair-dryer", "hair-dryer"),
("hair-dryer-outline", "hair-dryer-outline"),
("halloween", "halloween"),
("hamburger", "hamburger"),
("hamburger-check", "hamburger-check"),
("hamburger-minus", "hamburger-minus"),
("hamburger-off", "hamburger-off"),
("hamburger-plus", "hamburger-plus"),
("hamburger-remove", "hamburger-remove"),
("hammer", "hammer"),
("hammer-screwdriver", "hammer-screwdriver"),
("hammer-sickle", "hammer-sickle"),
("hammer-wrench", "hammer-wrench"),
("hand-back-left", "hand-back-left"),
("hand-back-left-off", "hand-back-left-off"),
("hand-back-left-off-outline", "hand-back-left-off-outline"),
("hand-back-left-outline", "hand-back-left-outline"),
("hand-back-right", "hand-back-right"),
("hand-back-right-off", "hand-back-right-off"),
("hand-back-right-off-outline", "hand-back-right-off-outline"),
("hand-back-right-outline", "hand-back-right-outline"),
("hand-clap", "hand-clap"),
("hand-clap-off", "hand-clap-off"),
("hand-coin", "hand-coin"),
("hand-coin-outline", "hand-coin-outline"),
("hand-cycle", "hand-cycle"),
("hand-extended", "hand-extended"),
("hand-extended-outline", "hand-extended-outline"),
("hand-front-left", "hand-front-left"),
("hand-front-left-outline", "hand-front-left-outline"),
("hand-front-right", "hand-front-right"),
("hand-front-right-outline", "hand-front-right-outline"),
("hand-heart", "hand-heart"),
("hand-heart-outline", "hand-heart-outline"),
("hand-left", "hand-left"),
("hand-okay", "hand-okay"),
("hand-peace", "hand-peace"),
("hand-peace-variant", "hand-peace-variant"),
("hand-pointing-down", "hand-pointing-down"),
("hand-pointing-left", "hand-pointing-left"),
("hand-pointing-right", "hand-pointing-right"),
("hand-pointing-up", "hand-pointing-up"),
("hand-right", "hand-right"),
("hand-saw", "hand-saw"),
("hand-wash", "hand-wash"),
("hand-wash-outline", "hand-wash-outline"),
("hand-water", "hand-water"),
("hand-wave", "hand-wave"),
("hand-wave-outline", "hand-wave-outline"),
("handball", "handball"),
("handcuffs", "handcuffs"),
("hands-pray", "hands-pray"),
("handshake", "handshake"),
("handshake-outline", "handshake-outline"),
("hanger", "hanger"),
("hangouts", "hangouts"),
("hard-hat", "hard-hat"),
("harddisk", "harddisk"),
("harddisk-plus", "harddisk-plus"),
("harddisk-remove", "harddisk-remove"),
("hat-fedora", "hat-fedora"),
("hazard-lights", "hazard-lights"),
("hdmi-port", "hdmi-port"),
("hdr", "hdr"),
("hdr-off", "hdr-off"),
("head", "head"),
("head-alert", "head-alert"),
("head-alert-outline", "head-alert-outline"),
("head-check", "head-check"),
("head-check-outline", "head-check-outline"),
("head-cog", "head-cog"),
("head-cog-outline", "head-cog-outline"),
("head-dots-horizontal", "head-dots-horizontal"),
("head-dots-horizontal-outline", "head-dots-horizontal-outline"),
("head-flash", "head-flash"),
("head-flash-outline", "head-flash-outline"),
("head-heart", "head-heart"),
("head-heart-outline", "head-heart-outline"),
("head-lightbulb", "head-lightbulb"),
("head-lightbulb-outline", "head-lightbulb-outline"),
("head-minus", "head-minus"),
("head-minus-outline", "head-minus-outline"),
("head-outline", "head-outline"),
("head-plus", "head-plus"),
("head-plus-outline", "head-plus-outline"),
("head-question", "head-question"),
("head-question-outline", "head-question-outline"),
("head-remove", "head-remove"),
("head-remove-outline", "head-remove-outline"),
("head-snowflake", "head-snowflake"),
("head-snowflake-outline", "head-snowflake-outline"),
("head-sync", "head-sync"),
("head-sync-outline", "head-sync-outline"),
("headphones", "headphones"),
("headphones-bluetooth", "headphones-bluetooth"),
("headphones-box", "headphones-box"),
("headphones-off", "headphones-off"),
("headphones-settings", "headphones-settings"),
("headset", "headset"),
("headset-dock", "headset-dock"),
("headset-off", "headset-off"),
("heart", "heart"),
("heart-box", "heart-box"),
("heart-box-outline", "heart-box-outline"),
("heart-broken", "heart-broken"),
("heart-broken-outline", "heart-broken-outline"),
("heart-circle", "heart-circle"),
("heart-circle-outline", "heart-circle-outline"),
("heart-cog", "heart-cog"),
("heart-cog-outline", "heart-cog-outline"),
("heart-flash", "heart-flash"),
("heart-half", "heart-half"),
("heart-half-full", "heart-half-full"),
("heart-half-outline", "heart-half-outline"),
("heart-minus", "heart-minus"),
("heart-minus-outline", "heart-minus-outline"),
("heart-multiple", "heart-multiple"),
("heart-multiple-outline", "heart-multiple-outline"),
("heart-off", "heart-off"),
("heart-off-outline", "heart-off-outline"),
("heart-outline", "heart-outline"),
("heart-plus", "heart-plus"),
("heart-plus-outline", "heart-plus-outline"),
("heart-pulse", "heart-pulse"),
("heart-remove", "heart-remove"),
("heart-remove-outline", "heart-remove-outline"),
("heart-settings", "heart-settings"),
("heart-settings-outline", "heart-settings-outline"),
("heat-pump", "heat-pump"),
("heat-pump-outline", "heat-pump-outline"),
("heat-wave", "heat-wave"),
("heating-coil", "heating-coil"),
("helicopter", "helicopter"),
("help", "help"),
("help-box", "help-box"),
("help-box-multiple", "help-box-multiple"),
("help-box-multiple-outline", "help-box-multiple-outline"),
("help-box-outline", "help-box-outline"),
("help-circle", "help-circle"),
("help-circle-outline", "help-circle-outline"),
("help-network", "help-network"),
("help-network-outline", "help-network-outline"),
("help-rhombus", "help-rhombus"),
("help-rhombus-outline", "help-rhombus-outline"),
("hexadecimal", "hexadecimal"),
("hexagon", "hexagon"),
("hexagon-multiple", "hexagon-multiple"),
("hexagon-multiple-outline", "hexagon-multiple-outline"),
("hexagon-outline", "hexagon-outline"),
("hexagon-slice-1", "hexagon-slice-1"),
("hexagon-slice-2", "hexagon-slice-2"),
("hexagon-slice-3", "hexagon-slice-3"),
("hexagon-slice-4", "hexagon-slice-4"),
("hexagon-slice-5", "hexagon-slice-5"),
("hexagon-slice-6", "hexagon-slice-6"),
("hexagram", "hexagram"),
("hexagram-outline", "hexagram-outline"),
("high-definition", "high-definition"),
("high-definition-box", "high-definition-box"),
("highway", "highway"),
("hiking", "hiking"),
("history", "history"),
("hockey-puck", "hockey-puck"),
("hockey-sticks", "hockey-sticks"),
("hololens", "hololens"),
("home", "home"),
("home-account", "home-account"),
("home-alert", "home-alert"),
("home-alert-outline", "home-alert-outline"),
("home-analytics", "home-analytics"),
("home-assistant", "home-assistant"),
("home-automation", "home-automation"),
("home-battery", "home-battery"),
("home-battery-outline", "home-battery-outline"),
("home-circle", "home-circle"),
("home-circle-outline", "home-circle-outline"),
("home-city", "home-city"),
("home-city-outline", "home-city-outline"),
("home-clock", "home-clock"),
("home-clock-outline", "home-clock-outline"),
("home-currency-usd", "home-currency-usd"),
("home-edit", "home-edit"),
("home-edit-outline", "home-edit-outline"),
("home-export-outline", "home-export-outline"),
("home-flood", "home-flood"),
("home-floor-0", "home-floor-0"),
("home-floor-1", "home-floor-1"),
("home-floor-2", "home-floor-2"),
("home-floor-3", "home-floor-3"),
("home-floor-a", "home-floor-a"),
("home-floor-b", "home-floor-b"),
("home-floor-g", "home-floor-g"),
("home-floor-l", "home-floor-l"),
("home-floor-negative-1", "home-floor-negative-1"),
("home-group", "home-group"),
("home-group-minus", "home-group-minus"),
("home-group-plus", "home-group-plus"),
("home-group-remove", "home-group-remove"),
("home-heart", "home-heart"),
("home-import-outline", "home-import-outline"),
("home-lightbulb", "home-lightbulb"),
("home-lightbulb-outline", "home-lightbulb-outline"),
("home-lightning-bolt", "home-lightning-bolt"),
("home-lightning-bolt-outline", "home-lightning-bolt-outline"),
("home-lock", "home-lock"),
("home-lock-open", "home-lock-open"),
("home-map-marker", "home-map-marker"),
("home-minus", "home-minus"),
("home-minus-outline", "home-minus-outline"),
("home-modern", "home-modern"),
("home-off", "home-off"),
("home-off-outline", "home-off-outline"),
("home-outline", "home-outline"),
("home-plus", "home-plus"),
("home-plus-outline", "home-plus-outline"),
("home-remove", "home-remove"),
("home-remove-outline", "home-remove-outline"),
("home-roof", "home-roof"),
("home-search", "home-search"),
("home-search-outline", "home-search-outline"),
("home-silo", "home-silo"),
("home-silo-outline", "home-silo-outline"),
("home-switch", "home-switch"),
("home-switch-outline", "home-switch-outline"),
("home-thermometer", "home-thermometer"),
("home-thermometer-outline", "home-thermometer-outline"),
("home-variant", "home-variant"),
("home-variant-outline", "home-variant-outline"),
("hook", "hook"),
("hook-off", "hook-off"),
("hoop-house", "hoop-house"),
("hops", "hops"),
("horizontal-rotate-clockwise", "horizontal-rotate-clockwise"),
("horizontal-rotate-counterclockwise", "horizontal-rotate-counterclockwise"),
("horse", "horse"),
("horse-human", "horse-human"),
("horse-variant", "horse-variant"),
("horse-variant-fast", "horse-variant-fast"),
("horseshoe", "horseshoe"),
("hospital", "hospital"),
("hospital-box", "hospital-box"),
("hospital-box-outline", "hospital-box-outline"),
("hospital-building", "hospital-building"),
("hospital-marker", "hospital-marker"),
("hot-tub", "hot-tub"),
("hours-24", "hours-24"),
("houzz", "houzz"),
("houzz-box", "houzz-box"),
("hubspot", "hubspot"),
("hulu", "hulu"),
("human", "human"),
("human-baby-changing-table", "human-baby-changing-table"),
("human-cane", "human-cane"),
("human-capacity-decrease", "human-capacity-decrease"),
("human-capacity-increase", "human-capacity-increase"),
("human-child", "human-child"),
("human-dolly", "human-dolly"),
("human-edit", "human-edit"),
("human-female", "human-female"),
("human-female-boy", "human-female-boy"),
("human-female-dance", "human-female-dance"),
("human-female-female", "human-female-female"),
("human-female-girl", "human-female-girl"),
("human-greeting", "human-greeting"),
("human-greeting-proximity", "human-greeting-proximity"),
("human-greeting-variant", "human-greeting-variant"),
("human-handsdown", "human-handsdown"),
("human-handsup", "human-handsup"),
("human-male", "human-male"),
("human-male-board", "human-male-board"),
("human-male-board-poll", "human-male-board-poll"),
("human-male-boy", "human-male-boy"),
("human-male-child", "human-male-child"),
("human-male-female", "human-male-female"),
("human-male-female-child", "human-male-female-child"),
("human-male-girl", "human-male-girl"),
("human-male-height", "human-male-height"),
("human-male-height-variant", "human-male-height-variant"),
("human-male-male", "human-male-male"),
("human-non-binary", "human-non-binary"),
("human-pregnant", "human-pregnant"),
("human-queue", "human-queue"),
("human-scooter", "human-scooter"),
("human-walker", "human-walker"),
("human-wheelchair", "human-wheelchair"),
("human-white-cane", "human-white-cane"),
("humble-bundle", "humble-bundle"),
("hurricane", "hurricane"),
("hvac", "hvac"),
("hvac-off", "hvac-off"),
("hydraulic-oil-level", "hydraulic-oil-level"),
("hydraulic-oil-temperature", "hydraulic-oil-temperature"),
("hydro-power", "hydro-power"),
("hydrogen-station", "hydrogen-station"),
("ice-cream", "ice-cream"),
("ice-cream-off", "ice-cream-off"),
("ice-pop", "ice-pop"),
("id-card", "id-card"),
("identifier", "identifier"),
("ideogram-cjk", "ideogram-cjk"),
("ideogram-cjk-variant", "ideogram-cjk-variant"),
("image", "image"),
("image-album", "image-album"),
("image-area", "image-area"),
("image-area-close", "image-area-close"),
("image-auto-adjust", "image-auto-adjust"),
("image-broken", "image-broken"),
("image-broken-variant", "image-broken-variant"),
("image-check", "image-check"),
("image-check-outline", "image-check-outline"),
("image-edit", "image-edit"),
("image-edit-outline", "image-edit-outline"),
("image-filter-black-white", "image-filter-black-white"),
("image-filter-center-focus", "image-filter-center-focus"),
("image-filter-center-focus-strong", "image-filter-center-focus-strong"),
(
"image-filter-center-focus-strong-outline",
"image-filter-center-focus-strong-outline",
),
("image-filter-center-focus-weak", "image-filter-center-focus-weak"),
("image-filter-drama", "image-filter-drama"),
("image-filter-drama-outline", "image-filter-drama-outline"),
("image-filter-frames", "image-filter-frames"),
("image-filter-hdr", "image-filter-hdr"),
("image-filter-none", "image-filter-none"),
("image-filter-tilt-shift", "image-filter-tilt-shift"),
("image-filter-vintage", "image-filter-vintage"),
("image-frame", "image-frame"),
("image-lock", "image-lock"),
("image-lock-outline", "image-lock-outline"),
("image-marker", "image-marker"),
("image-marker-outline", "image-marker-outline"),
("image-minus", "image-minus"),
("image-minus-outline", "image-minus-outline"),
("image-move", "image-move"),
("image-multiple", "image-multiple"),
("image-multiple-outline", "image-multiple-outline"),
("image-off", "image-off"),
("image-off-outline", "image-off-outline"),
("image-outline", "image-outline"),
("image-plus", "image-plus"),
("image-plus-outline", "image-plus-outline"),
("image-refresh", "image-refresh"),
("image-refresh-outline", "image-refresh-outline"),
("image-remove", "image-remove"),
("image-remove-outline", "image-remove-outline"),
("image-search", "image-search"),
("image-search-outline", "image-search-outline"),
("image-size-select-actual", "image-size-select-actual"),
("image-size-select-large", "image-size-select-large"),
("image-size-select-small", "image-size-select-small"),
("image-sync", "image-sync"),
("image-sync-outline", "image-sync-outline"),
("image-text", "image-text"),
("import", "import"),
("inbox", "inbox"),
("inbox-arrow-down", "inbox-arrow-down"),
("inbox-arrow-down-outline", "inbox-arrow-down-outline"),
("inbox-arrow-up", "inbox-arrow-up"),
("inbox-arrow-up-outline", "inbox-arrow-up-outline"),
("inbox-full", "inbox-full"),
("inbox-full-outline", "inbox-full-outline"),
("inbox-multiple", "inbox-multiple"),
("inbox-multiple-outline", "inbox-multiple-outline"),
("inbox-outline", "inbox-outline"),
("inbox-remove", "inbox-remove"),
("inbox-remove-outline", "inbox-remove-outline"),
("incognito", "incognito"),
("incognito-circle", "incognito-circle"),
("incognito-circle-off", "incognito-circle-off"),
("incognito-off", "incognito-off"),
("indent", "indent"),
("induction", "induction"),
("infinity", "infinity"),
("information", "information"),
("information-off", "information-off"),
("information-off-outline", "information-off-outline"),
("information-outline", "information-outline"),
("information-variant", "information-variant"),
("instagram", "instagram"),
("instapaper", "instapaper"),
("instrument-triangle", "instrument-triangle"),
("integrated-circuit-chip", "integrated-circuit-chip"),
("invert-colors", "invert-colors"),
("invert-colors-off", "invert-colors-off"),
("iobroker", "iobroker"),
("ip", "ip"),
("ip-network", "ip-network"),
("ip-network-outline", "ip-network-outline"),
("ip-outline", "ip-outline"),
("ipod", "ipod"),
("iron", "iron"),
("iron-board", "iron-board"),
("iron-outline", "iron-outline"),
("island", "island"),
("itunes", "itunes"),
("iv-bag", "iv-bag"),
("jabber", "jabber"),
("jeepney", "jeepney"),
("jellyfish", "jellyfish"),
("jellyfish-outline", "jellyfish-outline"),
("jira", "jira"),
("jquery", "jquery"),
("jsfiddle", "jsfiddle"),
("jump-rope", "jump-rope"),
("kabaddi", "kabaddi"),
("kangaroo", "kangaroo"),
("karate", "karate"),
("kayaking", "kayaking"),
("keg", "keg"),
("kettle", "kettle"),
("kettle-alert", "kettle-alert"),
("kettle-alert-outline", "kettle-alert-outline"),
("kettle-off", "kettle-off"),
("kettle-off-outline", "kettle-off-outline"),
("kettle-outline", "kettle-outline"),
("kettle-pour-over", "kettle-pour-over"),
("kettle-steam", "kettle-steam"),
("kettle-steam-outline", "kettle-steam-outline"),
("kettlebell", "kettlebell"),
("key", "key"),
("key-alert", "key-alert"),
("key-alert-outline", "key-alert-outline"),
("key-arrow-right", "key-arrow-right"),
("key-chain", "key-chain"),
("key-chain-variant", "key-chain-variant"),
("key-change", "key-change"),
("key-link", "key-link"),
("key-minus", "key-minus"),
("key-outline", "key-outline"),
("key-plus", "key-plus"),
("key-remove", "key-remove"),
("key-star", "key-star"),
("key-variant", "key-variant"),
("key-wireless", "key-wireless"),
("keyboard", "keyboard"),
("keyboard-backspace", "keyboard-backspace"),
("keyboard-caps", "keyboard-caps"),
("keyboard-close", "keyboard-close"),
("keyboard-close-outline", "keyboard-close-outline"),
("keyboard-esc", "keyboard-esc"),
("keyboard-f1", "keyboard-f1"),
("keyboard-f10", "keyboard-f10"),
("keyboard-f11", "keyboard-f11"),
("keyboard-f12", "keyboard-f12"),
("keyboard-f2", "keyboard-f2"),
("keyboard-f3", "keyboard-f3"),
("keyboard-f4", "keyboard-f4"),
("keyboard-f5", "keyboard-f5"),
("keyboard-f6", "keyboard-f6"),
("keyboard-f7", "keyboard-f7"),
("keyboard-f8", "keyboard-f8"),
("keyboard-f9", "keyboard-f9"),
("keyboard-off", "keyboard-off"),
("keyboard-off-outline", "keyboard-off-outline"),
("keyboard-outline", "keyboard-outline"),
("keyboard-return", "keyboard-return"),
("keyboard-settings", "keyboard-settings"),
("keyboard-settings-outline", "keyboard-settings-outline"),
("keyboard-space", "keyboard-space"),
("keyboard-tab", "keyboard-tab"),
("keyboard-tab-reverse", "keyboard-tab-reverse"),
("keyboard-variant", "keyboard-variant"),
("khanda", "khanda"),
("kickstarter", "kickstarter"),
("kite", "kite"),
("kite-outline", "kite-outline"),
("kitesurfing", "kitesurfing"),
("klingon", "klingon"),
("knife", "knife"),
("knife-military", "knife-military"),
("knob", "knob"),
("koala", "koala"),
("kodi", "kodi"),
("kubernetes", "kubernetes"),
("label", "label"),
("label-multiple", "label-multiple"),
("label-multiple-outline", "label-multiple-outline"),
("label-off", "label-off"),
("label-off-outline", "label-off-outline"),
("label-outline", "label-outline"),
("label-percent", "label-percent"),
("label-percent-outline", "label-percent-outline"),
("label-variant", "label-variant"),
("label-variant-outline", "label-variant-outline"),
("ladder", "ladder"),
("ladybug", "ladybug"),
("lambda", "lambda"),
("lamp", "lamp"),
("lamp-outline", "lamp-outline"),
("lamps", "lamps"),
("lamps-outline", "lamps-outline"),
("lan", "lan"),
("lan-check", "lan-check"),
("lan-connect", "lan-connect"),
("lan-disconnect", "lan-disconnect"),
("lan-pending", "lan-pending"),
("land-fields", "land-fields"),
("land-plots", "land-plots"),
("land-plots-circle", "land-plots-circle"),
("land-plots-circle-variant", "land-plots-circle-variant"),
("land-rows-horizontal", "land-rows-horizontal"),
("land-rows-vertical", "land-rows-vertical"),
("landslide", "landslide"),
("landslide-outline", "landslide-outline"),
("language-c", "language-c"),
("language-cpp", "language-cpp"),
("language-csharp", "language-csharp"),
("language-css3", "language-css3"),
("language-fortran", "language-fortran"),
("language-go", "language-go"),
("language-haskell", "language-haskell"),
("language-html5", "language-html5"),
("language-java", "language-java"),
("language-javascript", "language-javascript"),
("language-jsx", "language-jsx"),
("language-kotlin", "language-kotlin"),
("language-lua", "language-lua"),
("language-markdown", "language-markdown"),
("language-markdown-outline", "language-markdown-outline"),
("language-php", "language-php"),
("language-python", "language-python"),
("language-python-text", "language-python-text"),
("language-r", "language-r"),
("language-ruby", "language-ruby"),
("language-ruby-on-rails", "language-ruby-on-rails"),
("language-rust", "language-rust"),
("language-swift", "language-swift"),
("language-typescript", "language-typescript"),
("language-xaml", "language-xaml"),
("laptop", "laptop"),
("laptop-account", "laptop-account"),
("laptop-chromebook", "laptop-chromebook"),
("laptop-mac", "laptop-mac"),
("laptop-off", "laptop-off"),
("laptop-windows", "laptop-windows"),
("laravel", "laravel"),
("laser-pointer", "laser-pointer"),
("lasso", "lasso"),
("lastfm", "lastfm"),
("lastpass", "lastpass"),
("latitude", "latitude"),
("launch", "launch"),
("lava-lamp", "lava-lamp"),
("layers", "layers"),
("layers-edit", "layers-edit"),
("layers-minus", "layers-minus"),
("layers-off", "layers-off"),
("layers-off-outline", "layers-off-outline"),
("layers-outline", "layers-outline"),
("layers-plus", "layers-plus"),
("layers-remove", "layers-remove"),
("layers-search", "layers-search"),
("layers-search-outline", "layers-search-outline"),
("layers-triple", "layers-triple"),
("layers-triple-outline", "layers-triple-outline"),
("lead-pencil", "lead-pencil"),
("leaf", "leaf"),
("leaf-circle", "leaf-circle"),
("leaf-circle-outline", "leaf-circle-outline"),
("leaf-maple", "leaf-maple"),
("leaf-maple-off", "leaf-maple-off"),
("leaf-off", "leaf-off"),
("leak", "leak"),
("leak-off", "leak-off"),
("lectern", "lectern"),
("led-off", "led-off"),
("led-on", "led-on"),
("led-outline", "led-outline"),
("led-strip", "led-strip"),
("led-strip-variant", "led-strip-variant"),
("led-strip-variant-off", "led-strip-variant-off"),
("led-variant-off", "led-variant-off"),
("led-variant-on", "led-variant-on"),
("led-variant-outline", "led-variant-outline"),
("leek", "leek"),
("less-than", "less-than"),
("less-than-or-equal", "less-than-or-equal"),
("library", "library"),
("library-books", "library-books"),
("library-outline", "library-outline"),
("library-shelves", "library-shelves"),
("license", "license"),
("lifebuoy", "lifebuoy"),
("light-flood-down", "light-flood-down"),
("light-flood-up", "light-flood-up"),
("light-recessed", "light-recessed"),
("light-switch", "light-switch"),
("light-switch-off", "light-switch-off"),
("lightbulb", "lightbulb"),
("lightbulb-alert", "lightbulb-alert"),
("lightbulb-alert-outline", "lightbulb-alert-outline"),
("lightbulb-auto", "lightbulb-auto"),
("lightbulb-auto-outline", "lightbulb-auto-outline"),
("lightbulb-cfl", "lightbulb-cfl"),
("lightbulb-cfl-off", "lightbulb-cfl-off"),
("lightbulb-cfl-spiral", "lightbulb-cfl-spiral"),
("lightbulb-cfl-spiral-off", "lightbulb-cfl-spiral-off"),
("lightbulb-fluorescent-tube", "lightbulb-fluorescent-tube"),
("lightbulb-fluorescent-tube-outline", "lightbulb-fluorescent-tube-outline"),
("lightbulb-group", "lightbulb-group"),
("lightbulb-group-off", "lightbulb-group-off"),
("lightbulb-group-off-outline", "lightbulb-group-off-outline"),
("lightbulb-group-outline", "lightbulb-group-outline"),
("lightbulb-multiple", "lightbulb-multiple"),
("lightbulb-multiple-off", "lightbulb-multiple-off"),
("lightbulb-multiple-off-outline", "lightbulb-multiple-off-outline"),
("lightbulb-multiple-outline", "lightbulb-multiple-outline"),
("lightbulb-night", "lightbulb-night"),
("lightbulb-night-outline", "lightbulb-night-outline"),
("lightbulb-off", "lightbulb-off"),
("lightbulb-off-outline", "lightbulb-off-outline"),
("lightbulb-on", "lightbulb-on"),
("lightbulb-on-10", "lightbulb-on-10"),
("lightbulb-on-20", "lightbulb-on-20"),
("lightbulb-on-30", "lightbulb-on-30"),
("lightbulb-on-40", "lightbulb-on-40"),
("lightbulb-on-50", "lightbulb-on-50"),
("lightbulb-on-60", "lightbulb-on-60"),
("lightbulb-on-70", "lightbulb-on-70"),
("lightbulb-on-80", "lightbulb-on-80"),
("lightbulb-on-90", "lightbulb-on-90"),
("lightbulb-on-outline", "lightbulb-on-outline"),
("lightbulb-outline", "lightbulb-outline"),
("lightbulb-question", "lightbulb-question"),
("lightbulb-question-outline", "lightbulb-question-outline"),
("lightbulb-spot", "lightbulb-spot"),
("lightbulb-spot-off", "lightbulb-spot-off"),
("lightbulb-variant", "lightbulb-variant"),
("lightbulb-variant-outline", "lightbulb-variant-outline"),
("lighthouse", "lighthouse"),
("lighthouse-on", "lighthouse-on"),
("lightning-bolt", "lightning-bolt"),
("lightning-bolt-circle", "lightning-bolt-circle"),
("lightning-bolt-outline", "lightning-bolt-outline"),
("line-scan", "line-scan"),
("lingerie", "lingerie"),
("link", "link"),
("link-box", "link-box"),
("link-box-outline", "link-box-outline"),
("link-box-variant", "link-box-variant"),
("link-box-variant-outline", "link-box-variant-outline"),
("link-lock", "link-lock"),
("link-off", "link-off"),
("link-plus", "link-plus"),
("link-variant", "link-variant"),
("link-variant-minus", "link-variant-minus"),
("link-variant-off", "link-variant-off"),
("link-variant-plus", "link-variant-plus"),
("link-variant-remove", "link-variant-remove"),
("linkedin", "linkedin"),
("linode", "linode"),
("linux", "linux"),
("linux-mint", "linux-mint"),
("lipstick", "lipstick"),
("liquid-spot", "liquid-spot"),
("liquor", "liquor"),
("list-box", "list-box"),
("list-box-outline", "list-box-outline"),
("list-status", "list-status"),
("litecoin", "litecoin"),
("loading", "loading"),
("location-enter", "location-enter"),
("location-exit", "location-exit"),
("lock", "lock"),
("lock-alert", "lock-alert"),
("lock-alert-outline", "lock-alert-outline"),
("lock-check", "lock-check"),
("lock-check-outline", "lock-check-outline"),
("lock-clock", "lock-clock"),
("lock-minus", "lock-minus"),
("lock-minus-outline", "lock-minus-outline"),
("lock-off", "lock-off"),
("lock-off-outline", "lock-off-outline"),
("lock-open", "lock-open"),
("lock-open-alert", "lock-open-alert"),
("lock-open-alert-outline", "lock-open-alert-outline"),
("lock-open-check", "lock-open-check"),
("lock-open-check-outline", "lock-open-check-outline"),
("lock-open-minus", "lock-open-minus"),
("lock-open-minus-outline", "lock-open-minus-outline"),
("lock-open-outline", "lock-open-outline"),
("lock-open-plus", "lock-open-plus"),
("lock-open-plus-outline", "lock-open-plus-outline"),
("lock-open-remove", "lock-open-remove"),
("lock-open-remove-outline", "lock-open-remove-outline"),
("lock-open-variant", "lock-open-variant"),
("lock-open-variant-outline", "lock-open-variant-outline"),
("lock-outline", "lock-outline"),
("lock-pattern", "lock-pattern"),
("lock-percent", "lock-percent"),
("lock-percent-open", "lock-percent-open"),
("lock-percent-open-outline", "lock-percent-open-outline"),
("lock-percent-open-variant", "lock-percent-open-variant"),
("lock-percent-open-variant-outline", "lock-percent-open-variant-outline"),
("lock-percent-outline", "lock-percent-outline"),
("lock-plus", "lock-plus"),
("lock-plus-outline", "lock-plus-outline"),
("lock-question", "lock-question"),
("lock-remove", "lock-remove"),
("lock-remove-outline", "lock-remove-outline"),
("lock-reset", "lock-reset"),
("lock-smart", "lock-smart"),
("locker", "locker"),
("locker-multiple", "locker-multiple"),
("login", "login"),
("login-variant", "login-variant"),
("logout", "logout"),
("logout-variant", "logout-variant"),
("longitude", "longitude"),
("looks", "looks"),
("lotion", "lotion"),
("lotion-outline", "lotion-outline"),
("lotion-plus", "lotion-plus"),
("lotion-plus-outline", "lotion-plus-outline"),
("loupe", "loupe"),
("lumx", "lumx"),
("lungs", "lungs"),
("lyft", "lyft"),
("mace", "mace"),
("magazine-pistol", "magazine-pistol"),
("magazine-rifle", "magazine-rifle"),
("magic-staff", "magic-staff"),
("magnet", "magnet"),
("magnet-on", "magnet-on"),
("magnify", "magnify"),
("magnify-close", "magnify-close"),
("magnify-expand", "magnify-expand"),
("magnify-minus", "magnify-minus"),
("magnify-minus-cursor", "magnify-minus-cursor"),
("magnify-minus-outline", "magnify-minus-outline"),
("magnify-plus", "magnify-plus"),
("magnify-plus-cursor", "magnify-plus-cursor"),
("magnify-plus-outline", "magnify-plus-outline"),
("magnify-remove-cursor", "magnify-remove-cursor"),
("magnify-remove-outline", "magnify-remove-outline"),
("magnify-scan", "magnify-scan"),
("mail", "mail"),
("mail-ru", "mail-ru"),
("mailbox", "mailbox"),
("mailbox-open", "mailbox-open"),
("mailbox-open-outline", "mailbox-open-outline"),
("mailbox-open-up", "mailbox-open-up"),
("mailbox-open-up-outline", "mailbox-open-up-outline"),
("mailbox-outline", "mailbox-outline"),
("mailbox-up", "mailbox-up"),
("mailbox-up-outline", "mailbox-up-outline"),
("manjaro", "manjaro"),
("map", "map"),
("map-check", "map-check"),
("map-check-outline", "map-check-outline"),
("map-clock", "map-clock"),
("map-clock-outline", "map-clock-outline"),
("map-legend", "map-legend"),
("map-marker", "map-marker"),
("map-marker-account", "map-marker-account"),
("map-marker-account-outline", "map-marker-account-outline"),
("map-marker-alert", "map-marker-alert"),
("map-marker-alert-outline", "map-marker-alert-outline"),
("map-marker-check", "map-marker-check"),
("map-marker-check-outline", "map-marker-check-outline"),
("map-marker-circle", "map-marker-circle"),
("map-marker-distance", "map-marker-distance"),
("map-marker-down", "map-marker-down"),
("map-marker-left", "map-marker-left"),
("map-marker-left-outline", "map-marker-left-outline"),
("map-marker-minus", "map-marker-minus"),
("map-marker-minus-outline", "map-marker-minus-outline"),
("map-marker-multiple", "map-marker-multiple"),
("map-marker-multiple-outline", "map-marker-multiple-outline"),
("map-marker-off", "map-marker-off"),
("map-marker-off-outline", "map-marker-off-outline"),
("map-marker-outline", "map-marker-outline"),
("map-marker-path", "map-marker-path"),
("map-marker-plus", "map-marker-plus"),
("map-marker-plus-outline", "map-marker-plus-outline"),
("map-marker-question", "map-marker-question"),
("map-marker-question-outline", "map-marker-question-outline"),
("map-marker-radius", "map-marker-radius"),
("map-marker-radius-outline", "map-marker-radius-outline"),
("map-marker-remove", "map-marker-remove"),
("map-marker-remove-outline", "map-marker-remove-outline"),
("map-marker-remove-variant", "map-marker-remove-variant"),
("map-marker-right", "map-marker-right"),
("map-marker-right-outline", "map-marker-right-outline"),
("map-marker-star", "map-marker-star"),
("map-marker-star-outline", "map-marker-star-outline"),
("map-marker-up", "map-marker-up"),
("map-minus", "map-minus"),
("map-outline", "map-outline"),
("map-plus", "map-plus"),
("map-search", "map-search"),
("map-search-outline", "map-search-outline"),
("mapbox", "mapbox"),
("margin", "margin"),
("marker", "marker"),
("marker-cancel", "marker-cancel"),
("marker-check", "marker-check"),
("mastodon", "mastodon"),
("mastodon-variant", "mastodon-variant"),
("material-design", "material-design"),
("material-ui", "material-ui"),
("math-compass", "math-compass"),
("math-cos", "math-cos"),
("math-integral", "math-integral"),
("math-integral-box", "math-integral-box"),
("math-log", "math-log"),
("math-norm", "math-norm"),
("math-norm-box", "math-norm-box"),
("math-sin", "math-sin"),
("math-tan", "math-tan"),
("matrix", "matrix"),
("maxcdn", "maxcdn"),
("medal", "medal"),
("medal-outline", "medal-outline"),
("medical-bag", "medical-bag"),
("medical-cotton-swab", "medical-cotton-swab"),
("medication", "medication"),
("medication-outline", "medication-outline"),
("meditation", "meditation"),
("medium", "medium"),
("meetup", "meetup"),
("memory", "memory"),
("menorah", "menorah"),
("menorah-fire", "menorah-fire"),
("menu", "menu"),
("menu-close", "menu-close"),
("menu-down", "menu-down"),
("menu-down-outline", "menu-down-outline"),
("menu-left", "menu-left"),
("menu-left-outline", "menu-left-outline"),
("menu-open", "menu-open"),
("menu-right", "menu-right"),
("menu-right-outline", "menu-right-outline"),
("menu-swap", "menu-swap"),
("menu-swap-outline", "menu-swap-outline"),
("menu-up", "menu-up"),
("menu-up-outline", "menu-up-outline"),
("merge", "merge"),
("message", "message"),
("message-alert", "message-alert"),
("message-alert-outline", "message-alert-outline"),
("message-arrow-left", "message-arrow-left"),
("message-arrow-left-outline", "message-arrow-left-outline"),
("message-arrow-right", "message-arrow-right"),
("message-arrow-right-outline", "message-arrow-right-outline"),
("message-badge", "message-badge"),
("message-badge-outline", "message-badge-outline"),
("message-bookmark", "message-bookmark"),
("message-bookmark-outline", "message-bookmark-outline"),
("message-bulleted", "message-bulleted"),
("message-bulleted-off", "message-bulleted-off"),
("message-check", "message-check"),
("message-check-outline", "message-check-outline"),
("message-cog", "message-cog"),
("message-cog-outline", "message-cog-outline"),
("message-draw", "message-draw"),
("message-fast", "message-fast"),
("message-fast-outline", "message-fast-outline"),
("message-flash", "message-flash"),
("message-flash-outline", "message-flash-outline"),
("message-image", "message-image"),
("message-image-outline", "message-image-outline"),
("message-lock", "message-lock"),
("message-lock-outline", "message-lock-outline"),
("message-minus", "message-minus"),
("message-minus-outline", "message-minus-outline"),
("message-off", "message-off"),
("message-off-outline", "message-off-outline"),
("message-outline", "message-outline"),
("message-plus", "message-plus"),
("message-plus-outline", "message-plus-outline"),
("message-processing", "message-processing"),
("message-processing-outline", "message-processing-outline"),
("message-question", "message-question"),
("message-question-outline", "message-question-outline"),
("message-reply", "message-reply"),
("message-reply-outline", "message-reply-outline"),
("message-reply-text", "message-reply-text"),
("message-reply-text-outline", "message-reply-text-outline"),
("message-settings", "message-settings"),
("message-settings-outline", "message-settings-outline"),
("message-star", "message-star"),
("message-star-outline", "message-star-outline"),
("message-text", "message-text"),
("message-text-clock", "message-text-clock"),
("message-text-clock-outline", "message-text-clock-outline"),
("message-text-fast", "message-text-fast"),
("message-text-fast-outline", "message-text-fast-outline"),
("message-text-lock", "message-text-lock"),
("message-text-lock-outline", "message-text-lock-outline"),
("message-text-outline", "message-text-outline"),
("message-video", "message-video"),
("meteor", "meteor"),
("meter-electric", "meter-electric"),
("meter-electric-outline", "meter-electric-outline"),
("meter-gas", "meter-gas"),
("meter-gas-outline", "meter-gas-outline"),
("metronome", "metronome"),
("metronome-tick", "metronome-tick"),
("micro-sd", "micro-sd"),
("microphone", "microphone"),
("microphone-message", "microphone-message"),
("microphone-message-off", "microphone-message-off"),
("microphone-minus", "microphone-minus"),
("microphone-off", "microphone-off"),
("microphone-outline", "microphone-outline"),
("microphone-plus", "microphone-plus"),
("microphone-question", "microphone-question"),
("microphone-question-outline", "microphone-question-outline"),
("microphone-settings", "microphone-settings"),
("microphone-variant", "microphone-variant"),
("microphone-variant-off", "microphone-variant-off"),
("microscope", "microscope"),
("microsoft", "microsoft"),
("microsoft-access", "microsoft-access"),
("microsoft-azure", "microsoft-azure"),
("microsoft-azure-devops", "microsoft-azure-devops"),
("microsoft-bing", "microsoft-bing"),
("microsoft-dynamics-365", "microsoft-dynamics-365"),
("microsoft-edge", "microsoft-edge"),
("microsoft-edge-legacy", "microsoft-edge-legacy"),
("microsoft-excel", "microsoft-excel"),
("microsoft-internet-explorer", "microsoft-internet-explorer"),
("microsoft-office", "microsoft-office"),
("microsoft-onedrive", "microsoft-onedrive"),
("microsoft-onenote", "microsoft-onenote"),
("microsoft-outlook", "microsoft-outlook"),
("microsoft-powerpoint", "microsoft-powerpoint"),
("microsoft-sharepoint", "microsoft-sharepoint"),
("microsoft-teams", "microsoft-teams"),
("microsoft-visual-studio", "microsoft-visual-studio"),
("microsoft-visual-studio-code", "microsoft-visual-studio-code"),
("microsoft-windows", "microsoft-windows"),
("microsoft-windows-classic", "microsoft-windows-classic"),
("microsoft-word", "microsoft-word"),
("microsoft-xbox", "microsoft-xbox"),
("microsoft-xbox-controller", "microsoft-xbox-controller"),
(
"microsoft-xbox-controller-battery-alert",
"microsoft-xbox-controller-battery-alert",
),
(
"microsoft-xbox-controller-battery-charging",
"microsoft-xbox-controller-battery-charging",
),
(
"microsoft-xbox-controller-battery-empty",
"microsoft-xbox-controller-battery-empty",
),
(
"microsoft-xbox-controller-battery-full",
"microsoft-xbox-controller-battery-full",
),
(
"microsoft-xbox-controller-battery-low",
"microsoft-xbox-controller-battery-low",
),
(
"microsoft-xbox-controller-battery-medium",
"microsoft-xbox-controller-battery-medium",
),
(
"microsoft-xbox-controller-battery-unknown",
"microsoft-xbox-controller-battery-unknown",
),
("microsoft-xbox-controller-menu", "microsoft-xbox-controller-menu"),
("microsoft-xbox-controller-off", "microsoft-xbox-controller-off"),
("microsoft-xbox-controller-view", "microsoft-xbox-controller-view"),
("microsoft-yammer", "microsoft-yammer"),
("microwave", "microwave"),
("microwave-off", "microwave-off"),
("middleware", "middleware"),
("middleware-outline", "middleware-outline"),
("midi", "midi"),
("midi-input", "midi-input"),
("midi-port", "midi-port"),
("mine", "mine"),
("minecraft", "minecraft"),
("mini-sd", "mini-sd"),
("minidisc", "minidisc"),
("minus", "minus"),
("minus-box", "minus-box"),
("minus-box-multiple", "minus-box-multiple"),
("minus-box-multiple-outline", "minus-box-multiple-outline"),
("minus-box-outline", "minus-box-outline"),
("minus-circle", "minus-circle"),
("minus-circle-multiple", "minus-circle-multiple"),
("minus-circle-multiple-outline", "minus-circle-multiple-outline"),
("minus-circle-off", "minus-circle-off"),
("minus-circle-off-outline", "minus-circle-off-outline"),
("minus-circle-outline", "minus-circle-outline"),
("minus-network", "minus-network"),
("minus-network-outline", "minus-network-outline"),
("minus-thick", "minus-thick"),
("mirror", "mirror"),
("mirror-rectangle", "mirror-rectangle"),
("mirror-variant", "mirror-variant"),
("mixcloud", "mixcloud"),
("mixed-martial-arts", "mixed-martial-arts"),
("mixed-reality", "mixed-reality"),
("mixer", "mixer"),
("molecule", "molecule"),
("molecule-co", "molecule-co"),
("molecule-co2", "molecule-co2"),
("monitor", "monitor"),
("monitor-account", "monitor-account"),
("monitor-arrow-down", "monitor-arrow-down"),
("monitor-arrow-down-variant", "monitor-arrow-down-variant"),
("monitor-cellphone", "monitor-cellphone"),
("monitor-cellphone-star", "monitor-cellphone-star"),
("monitor-dashboard", "monitor-dashboard"),
("monitor-edit", "monitor-edit"),
("monitor-eye", "monitor-eye"),
("monitor-lock", "monitor-lock"),
("monitor-multiple", "monitor-multiple"),
("monitor-off", "monitor-off"),
("monitor-screenshot", "monitor-screenshot"),
("monitor-share", "monitor-share"),
("monitor-shimmer", "monitor-shimmer"),
("monitor-small", "monitor-small"),
("monitor-speaker", "monitor-speaker"),
("monitor-speaker-off", "monitor-speaker-off"),
("monitor-star", "monitor-star"),
("moon-first-quarter", "moon-first-quarter"),
("moon-full", "moon-full"),
("moon-last-quarter", "moon-last-quarter"),
("moon-new", "moon-new"),
("moon-waning-crescent", "moon-waning-crescent"),
("moon-waning-gibbous", "moon-waning-gibbous"),
("moon-waxing-crescent", "moon-waxing-crescent"),
("moon-waxing-gibbous", "moon-waxing-gibbous"),
("moped", "moped"),
("moped-electric", "moped-electric"),
("moped-electric-outline", "moped-electric-outline"),
("moped-outline", "moped-outline"),
("more", "more"),
("mortar-pestle", "mortar-pestle"),
("mortar-pestle-plus", "mortar-pestle-plus"),
("mosque", "mosque"),
("mosque-outline", "mosque-outline"),
("mother-heart", "mother-heart"),
("mother-nurse", "mother-nurse"),
("motion", "motion"),
("motion-outline", "motion-outline"),
("motion-pause", "motion-pause"),
("motion-pause-outline", "motion-pause-outline"),
("motion-play", "motion-play"),
("motion-play-outline", "motion-play-outline"),
("motion-sensor", "motion-sensor"),
("motion-sensor-off", "motion-sensor-off"),
("motorbike", "motorbike"),
("motorbike-electric", "motorbike-electric"),
("motorbike-off", "motorbike-off"),
("mouse", "mouse"),
("mouse-bluetooth", "mouse-bluetooth"),
("mouse-move-down", "mouse-move-down"),
("mouse-move-up", "mouse-move-up"),
("mouse-move-vertical", "mouse-move-vertical"),
("mouse-off", "mouse-off"),
("mouse-variant", "mouse-variant"),
("mouse-variant-off", "mouse-variant-off"),
("move-resize", "move-resize"),
("move-resize-variant", "move-resize-variant"),
("movie", "movie"),
("movie-check", "movie-check"),
("movie-check-outline", "movie-check-outline"),
("movie-cog", "movie-cog"),
("movie-cog-outline", "movie-cog-outline"),
("movie-edit", "movie-edit"),
("movie-edit-outline", "movie-edit-outline"),
("movie-filter", "movie-filter"),
("movie-filter-outline", "movie-filter-outline"),
("movie-minus", "movie-minus"),
("movie-minus-outline", "movie-minus-outline"),
("movie-off", "movie-off"),
("movie-off-outline", "movie-off-outline"),
("movie-open", "movie-open"),
("movie-open-check", "movie-open-check"),
("movie-open-check-outline", "movie-open-check-outline"),
("movie-open-cog", "movie-open-cog"),
("movie-open-cog-outline", "movie-open-cog-outline"),
("movie-open-edit", "movie-open-edit"),
("movie-open-edit-outline", "movie-open-edit-outline"),
("movie-open-minus", "movie-open-minus"),
("movie-open-minus-outline", "movie-open-minus-outline"),
("movie-open-off", "movie-open-off"),
("movie-open-off-outline", "movie-open-off-outline"),
("movie-open-outline", "movie-open-outline"),
("movie-open-play", "movie-open-play"),
("movie-open-play-outline", "movie-open-play-outline"),
("movie-open-plus", "movie-open-plus"),
("movie-open-plus-outline", "movie-open-plus-outline"),
("movie-open-remove", "movie-open-remove"),
("movie-open-remove-outline", "movie-open-remove-outline"),
("movie-open-settings", "movie-open-settings"),
("movie-open-settings-outline", "movie-open-settings-outline"),
("movie-open-star", "movie-open-star"),
("movie-open-star-outline", "movie-open-star-outline"),
("movie-outline", "movie-outline"),
("movie-play", "movie-play"),
("movie-play-outline", "movie-play-outline"),
("movie-plus", "movie-plus"),
("movie-plus-outline", "movie-plus-outline"),
("movie-remove", "movie-remove"),
("movie-remove-outline", "movie-remove-outline"),
("movie-roll", "movie-roll"),
("movie-search", "movie-search"),
("movie-search-outline", "movie-search-outline"),
("movie-settings", "movie-settings"),
("movie-settings-outline", "movie-settings-outline"),
("movie-star", "movie-star"),
("movie-star-outline", "movie-star-outline"),
("mower", "mower"),
("mower-bag", "mower-bag"),
("mower-bag-on", "mower-bag-on"),
("mower-on", "mower-on"),
("muffin", "muffin"),
("multicast", "multicast"),
("multimedia", "multimedia"),
("multiplication", "multiplication"),
("multiplication-box", "multiplication-box"),
("mushroom", "mushroom"),
("mushroom-off", "mushroom-off"),
("mushroom-off-outline", "mushroom-off-outline"),
("mushroom-outline", "mushroom-outline"),
("music", "music"),
("music-accidental-double-flat", "music-accidental-double-flat"),
("music-accidental-double-sharp", "music-accidental-double-sharp"),
("music-accidental-flat", "music-accidental-flat"),
("music-accidental-natural", "music-accidental-natural"),
("music-accidental-sharp", "music-accidental-sharp"),
("music-box", "music-box"),
("music-box-multiple", "music-box-multiple"),
("music-box-multiple-outline", "music-box-multiple-outline"),
("music-box-outline", "music-box-outline"),
("music-circle", "music-circle"),
("music-circle-outline", "music-circle-outline"),
("music-clef-alto", "music-clef-alto"),
("music-clef-bass", "music-clef-bass"),
("music-clef-treble", "music-clef-treble"),
("music-note", "music-note"),
("music-note-bluetooth", "music-note-bluetooth"),
("music-note-bluetooth-off", "music-note-bluetooth-off"),
("music-note-eighth", "music-note-eighth"),
("music-note-eighth-dotted", "music-note-eighth-dotted"),
("music-note-half", "music-note-half"),
("music-note-half-dotted", "music-note-half-dotted"),
("music-note-minus", "music-note-minus"),
("music-note-off", "music-note-off"),
("music-note-off-outline", "music-note-off-outline"),
("music-note-outline", "music-note-outline"),
("music-note-plus", "music-note-plus"),
("music-note-quarter", "music-note-quarter"),
("music-note-quarter-dotted", "music-note-quarter-dotted"),
("music-note-sixteenth", "music-note-sixteenth"),
("music-note-sixteenth-dotted", "music-note-sixteenth-dotted"),
("music-note-whole", "music-note-whole"),
("music-note-whole-dotted", "music-note-whole-dotted"),
("music-off", "music-off"),
("music-rest-eighth", "music-rest-eighth"),
("music-rest-half", "music-rest-half"),
("music-rest-quarter", "music-rest-quarter"),
("music-rest-sixteenth", "music-rest-sixteenth"),
("music-rest-whole", "music-rest-whole"),
("mustache", "mustache"),
("nail", "nail"),
("nas", "nas"),
("nativescript", "nativescript"),
("nature", "nature"),
("nature-people", "nature-people"),
("navigation", "navigation"),
("navigation-outline", "navigation-outline"),
("navigation-variant", "navigation-variant"),
("navigation-variant-outline", "navigation-variant-outline"),
("near-me", "near-me"),
("necklace", "necklace"),
("needle", "needle"),
("needle-off", "needle-off"),
("nest-thermostat", "nest-thermostat"),
("netflix", "netflix"),
("network", "network"),
("network-off", "network-off"),
("network-off-outline", "network-off-outline"),
("network-outline", "network-outline"),
("network-pos", "network-pos"),
("network-strength-1", "network-strength-1"),
("network-strength-1-alert", "network-strength-1-alert"),
("network-strength-2", "network-strength-2"),
("network-strength-2-alert", "network-strength-2-alert"),
("network-strength-3", "network-strength-3"),
("network-strength-3-alert", "network-strength-3-alert"),
("network-strength-4", "network-strength-4"),
("network-strength-4-alert", "network-strength-4-alert"),
("network-strength-4-cog", "network-strength-4-cog"),
("network-strength-alert", "network-strength-alert"),
("network-strength-alert-outline", "network-strength-alert-outline"),
("network-strength-off", "network-strength-off"),
("network-strength-off-outline", "network-strength-off-outline"),
("network-strength-outline", "network-strength-outline"),
("new-box", "new-box"),
("newspaper", "newspaper"),
("newspaper-check", "newspaper-check"),
("newspaper-minus", "newspaper-minus"),
("newspaper-plus", "newspaper-plus"),
("newspaper-remove", "newspaper-remove"),
("newspaper-variant", "newspaper-variant"),
("newspaper-variant-multiple", "newspaper-variant-multiple"),
("newspaper-variant-multiple-outline", "newspaper-variant-multiple-outline"),
("newspaper-variant-outline", "newspaper-variant-outline"),
("nfc", "nfc"),
("nfc-off", "nfc-off"),
("nfc-search-variant", "nfc-search-variant"),
("nfc-tap", "nfc-tap"),
("nfc-variant", "nfc-variant"),
("nfc-variant-off", "nfc-variant-off"),
("ninja", "ninja"),
("nintendo-game-boy", "nintendo-game-boy"),
("nintendo-switch", "nintendo-switch"),
("nintendo-wii", "nintendo-wii"),
("nintendo-wiiu", "nintendo-wiiu"),
("nix", "nix"),
("nodejs", "nodejs"),
("noodles", "noodles"),
("not-equal", "not-equal"),
("not-equal-variant", "not-equal-variant"),
("note", "note"),
("note-alert", "note-alert"),
("note-alert-outline", "note-alert-outline"),
("note-check", "note-check"),
("note-check-outline", "note-check-outline"),
("note-edit", "note-edit"),
("note-edit-outline", "note-edit-outline"),
("note-minus", "note-minus"),
("note-minus-outline", "note-minus-outline"),
("note-multiple", "note-multiple"),
("note-multiple-outline", "note-multiple-outline"),
("note-off", "note-off"),
("note-off-outline", "note-off-outline"),
("note-outline", "note-outline"),
("note-plus", "note-plus"),
("note-plus-outline", "note-plus-outline"),
("note-remove", "note-remove"),
("note-remove-outline", "note-remove-outline"),
("note-search", "note-search"),
("note-search-outline", "note-search-outline"),
("note-text", "note-text"),
("note-text-outline", "note-text-outline"),
("notebook", "notebook"),
("notebook-check", "notebook-check"),
("notebook-check-outline", "notebook-check-outline"),
("notebook-edit", "notebook-edit"),
("notebook-edit-outline", "notebook-edit-outline"),
("notebook-heart", "notebook-heart"),
("notebook-heart-outline", "notebook-heart-outline"),
("notebook-minus", "notebook-minus"),
("notebook-minus-outline", "notebook-minus-outline"),
("notebook-multiple", "notebook-multiple"),
("notebook-outline", "notebook-outline"),
("notebook-plus", "notebook-plus"),
("notebook-plus-outline", "notebook-plus-outline"),
("notebook-remove", "notebook-remove"),
("notebook-remove-outline", "notebook-remove-outline"),
("notification-clear-all", "notification-clear-all"),
("npm", "npm"),
("npm-variant", "npm-variant"),
("npm-variant-outline", "npm-variant-outline"),
("nuke", "nuke"),
("null", "null"),
("numeric", "numeric"),
("numeric-0", "numeric-0"),
("numeric-0-box", "numeric-0-box"),
("numeric-0-box-multiple", "numeric-0-box-multiple"),
("numeric-0-box-multiple-outline", "numeric-0-box-multiple-outline"),
("numeric-0-box-outline", "numeric-0-box-outline"),
("numeric-0-circle", "numeric-0-circle"),
("numeric-0-circle-outline", "numeric-0-circle-outline"),
("numeric-1", "numeric-1"),
("numeric-1-box", "numeric-1-box"),
("numeric-1-box-multiple", "numeric-1-box-multiple"),
("numeric-1-box-multiple-outline", "numeric-1-box-multiple-outline"),
("numeric-1-box-outline", "numeric-1-box-outline"),
("numeric-1-circle", "numeric-1-circle"),
("numeric-1-circle-outline", "numeric-1-circle-outline"),
("numeric-10", "numeric-10"),
("numeric-10-box", "numeric-10-box"),
("numeric-10-box-multiple", "numeric-10-box-multiple"),
("numeric-10-box-multiple-outline", "numeric-10-box-multiple-outline"),
("numeric-10-box-outline", "numeric-10-box-outline"),
("numeric-10-circle", "numeric-10-circle"),
("numeric-10-circle-outline", "numeric-10-circle-outline"),
("numeric-2", "numeric-2"),
("numeric-2-box", "numeric-2-box"),
("numeric-2-box-multiple", "numeric-2-box-multiple"),
("numeric-2-box-multiple-outline", "numeric-2-box-multiple-outline"),
("numeric-2-box-outline", "numeric-2-box-outline"),
("numeric-2-circle", "numeric-2-circle"),
("numeric-2-circle-outline", "numeric-2-circle-outline"),
("numeric-3", "numeric-3"),
("numeric-3-box", "numeric-3-box"),
("numeric-3-box-multiple", "numeric-3-box-multiple"),
("numeric-3-box-multiple-outline", "numeric-3-box-multiple-outline"),
("numeric-3-box-outline", "numeric-3-box-outline"),
("numeric-3-circle", "numeric-3-circle"),
("numeric-3-circle-outline", "numeric-3-circle-outline"),
("numeric-4", "numeric-4"),
("numeric-4-box", "numeric-4-box"),
("numeric-4-box-multiple", "numeric-4-box-multiple"),
("numeric-4-box-multiple-outline", "numeric-4-box-multiple-outline"),
("numeric-4-box-outline", "numeric-4-box-outline"),
("numeric-4-circle", "numeric-4-circle"),
("numeric-4-circle-outline", "numeric-4-circle-outline"),
("numeric-5", "numeric-5"),
("numeric-5-box", "numeric-5-box"),
("numeric-5-box-multiple", "numeric-5-box-multiple"),
("numeric-5-box-multiple-outline", "numeric-5-box-multiple-outline"),
("numeric-5-box-outline", "numeric-5-box-outline"),
("numeric-5-circle", "numeric-5-circle"),
("numeric-5-circle-outline", "numeric-5-circle-outline"),
("numeric-6", "numeric-6"),
("numeric-6-box", "numeric-6-box"),
("numeric-6-box-multiple", "numeric-6-box-multiple"),
("numeric-6-box-multiple-outline", "numeric-6-box-multiple-outline"),
("numeric-6-box-outline", "numeric-6-box-outline"),
("numeric-6-circle", "numeric-6-circle"),
("numeric-6-circle-outline", "numeric-6-circle-outline"),
("numeric-7", "numeric-7"),
("numeric-7-box", "numeric-7-box"),
("numeric-7-box-multiple", "numeric-7-box-multiple"),
("numeric-7-box-multiple-outline", "numeric-7-box-multiple-outline"),
("numeric-7-box-outline", "numeric-7-box-outline"),
("numeric-7-circle", "numeric-7-circle"),
("numeric-7-circle-outline", "numeric-7-circle-outline"),
("numeric-8", "numeric-8"),
("numeric-8-box", "numeric-8-box"),
("numeric-8-box-multiple", "numeric-8-box-multiple"),
("numeric-8-box-multiple-outline", "numeric-8-box-multiple-outline"),
("numeric-8-box-outline", "numeric-8-box-outline"),
("numeric-8-circle", "numeric-8-circle"),
("numeric-8-circle-outline", "numeric-8-circle-outline"),
("numeric-9", "numeric-9"),
("numeric-9-box", "numeric-9-box"),
("numeric-9-box-multiple", "numeric-9-box-multiple"),
("numeric-9-box-multiple-outline", "numeric-9-box-multiple-outline"),
("numeric-9-box-outline", "numeric-9-box-outline"),
("numeric-9-circle", "numeric-9-circle"),
("numeric-9-circle-outline", "numeric-9-circle-outline"),
("numeric-9-plus", "numeric-9-plus"),
("numeric-9-plus-box", "numeric-9-plus-box"),
("numeric-9-plus-box-multiple", "numeric-9-plus-box-multiple"),
("numeric-9-plus-box-multiple-outline", "numeric-9-plus-box-multiple-outline"),
("numeric-9-plus-box-outline", "numeric-9-plus-box-outline"),
("numeric-9-plus-circle", "numeric-9-plus-circle"),
("numeric-9-plus-circle-outline", "numeric-9-plus-circle-outline"),
("numeric-negative-1", "numeric-negative-1"),
("numeric-off", "numeric-off"),
("numeric-positive-1", "numeric-positive-1"),
("nut", "nut"),
("nutrition", "nutrition"),
("nuxt", "nuxt"),
("oar", "oar"),
("ocarina", "ocarina"),
("oci", "oci"),
("ocr", "ocr"),
("octagon", "octagon"),
("octagon-outline", "octagon-outline"),
("octagram", "octagram"),
("octagram-outline", "octagram-outline"),
("octahedron", "octahedron"),
("octahedron-off", "octahedron-off"),
("odnoklassniki", "odnoklassniki"),
("offer", "offer"),
("office-building", "office-building"),
("office-building-cog", "office-building-cog"),
("office-building-cog-outline", "office-building-cog-outline"),
("office-building-marker", "office-building-marker"),
("office-building-marker-outline", "office-building-marker-outline"),
("office-building-minus", "office-building-minus"),
("office-building-minus-outline", "office-building-minus-outline"),
("office-building-outline", "office-building-outline"),
("office-building-plus", "office-building-plus"),
("office-building-plus-outline", "office-building-plus-outline"),
("office-building-remove", "office-building-remove"),
("office-building-remove-outline", "office-building-remove-outline"),
("oil", "oil"),
("oil-lamp", "oil-lamp"),
("oil-level", "oil-level"),
("oil-temperature", "oil-temperature"),
("om", "om"),
("omega", "omega"),
("one-up", "one-up"),
("onedrive", "onedrive"),
("onenote", "onenote"),
("onepassword", "onepassword"),
("opacity", "opacity"),
("open-in-app", "open-in-app"),
("open-in-new", "open-in-new"),
("open-source-initiative", "open-source-initiative"),
("openid", "openid"),
("opera", "opera"),
("orbit", "orbit"),
("orbit-variant", "orbit-variant"),
("order-alphabetical-ascending", "order-alphabetical-ascending"),
("order-alphabetical-descending", "order-alphabetical-descending"),
("order-bool-ascending", "order-bool-ascending"),
("order-bool-ascending-variant", "order-bool-ascending-variant"),
("order-bool-descending", "order-bool-descending"),
("order-bool-descending-variant", "order-bool-descending-variant"),
("order-numeric-ascending", "order-numeric-ascending"),
("order-numeric-descending", "order-numeric-descending"),
("origin", "origin"),
("ornament", "ornament"),
("ornament-variant", "ornament-variant"),
("outbox", "outbox"),
("outdent", "outdent"),
("outdoor-lamp", "outdoor-lamp"),
("outlook", "outlook"),
("overscan", "overscan"),
("owl", "owl"),
("pac-man", "pac-man"),
("package", "package"),
("package-check", "package-check"),
("package-down", "package-down"),
("package-up", "package-up"),
("package-variant", "package-variant"),
("package-variant-closed", "package-variant-closed"),
("package-variant-closed-check", "package-variant-closed-check"),
("package-variant-closed-minus", "package-variant-closed-minus"),
("package-variant-closed-plus", "package-variant-closed-plus"),
("package-variant-closed-remove", "package-variant-closed-remove"),
("package-variant-minus", "package-variant-minus"),
("package-variant-plus", "package-variant-plus"),
("package-variant-remove", "package-variant-remove"),
("page-first", "page-first"),
("page-last", "page-last"),
("page-layout-body", "page-layout-body"),
("page-layout-footer", "page-layout-footer"),
("page-layout-header", "page-layout-header"),
("page-layout-header-footer", "page-layout-header-footer"),
("page-layout-sidebar-left", "page-layout-sidebar-left"),
("page-layout-sidebar-right", "page-layout-sidebar-right"),
("page-next", "page-next"),
("page-next-outline", "page-next-outline"),
("page-previous", "page-previous"),
("page-previous-outline", "page-previous-outline"),
("pail", "pail"),
("pail-minus", "pail-minus"),
("pail-minus-outline", "pail-minus-outline"),
("pail-off", "pail-off"),
("pail-off-outline", "pail-off-outline"),
("pail-outline", "pail-outline"),
("pail-plus", "pail-plus"),
("pail-plus-outline", "pail-plus-outline"),
("pail-remove", "pail-remove"),
("pail-remove-outline", "pail-remove-outline"),
("palette", "palette"),
("palette-advanced", "palette-advanced"),
("palette-outline", "palette-outline"),
("palette-swatch", "palette-swatch"),
("palette-swatch-outline", "palette-swatch-outline"),
("palette-swatch-variant", "palette-swatch-variant"),
("palm-tree", "palm-tree"),
("pan", "pan"),
("pan-bottom-left", "pan-bottom-left"),
("pan-bottom-right", "pan-bottom-right"),
("pan-down", "pan-down"),
("pan-horizontal", "pan-horizontal"),
("pan-left", "pan-left"),
("pan-right", "pan-right"),
("pan-top-left", "pan-top-left"),
("pan-top-right", "pan-top-right"),
("pan-up", "pan-up"),
("pan-vertical", "pan-vertical"),
("panda", "panda"),
("pandora", "pandora"),
("panorama", "panorama"),
("panorama-fisheye", "panorama-fisheye"),
("panorama-horizontal", "panorama-horizontal"),
("panorama-horizontal-outline", "panorama-horizontal-outline"),
("panorama-outline", "panorama-outline"),
("panorama-sphere", "panorama-sphere"),
("panorama-sphere-outline", "panorama-sphere-outline"),
("panorama-variant", "panorama-variant"),
("panorama-variant-outline", "panorama-variant-outline"),
("panorama-vertical", "panorama-vertical"),
("panorama-vertical-outline", "panorama-vertical-outline"),
("panorama-wide-angle", "panorama-wide-angle"),
("panorama-wide-angle-outline", "panorama-wide-angle-outline"),
("paper-cut-vertical", "paper-cut-vertical"),
("paper-roll", "paper-roll"),
("paper-roll-outline", "paper-roll-outline"),
("paperclip", "paperclip"),
("paperclip-check", "paperclip-check"),
("paperclip-lock", "paperclip-lock"),
("paperclip-minus", "paperclip-minus"),
("paperclip-off", "paperclip-off"),
("paperclip-plus", "paperclip-plus"),
("paperclip-remove", "paperclip-remove"),
("parachute", "parachute"),
("parachute-outline", "parachute-outline"),
("paragliding", "paragliding"),
("parking", "parking"),
("party-popper", "party-popper"),
("passport", "passport"),
("passport-biometric", "passport-biometric"),
("pasta", "pasta"),
("patio-heater", "patio-heater"),
("patreon", "patreon"),
("pause", "pause"),
("pause-box", "pause-box"),
("pause-box-outline", "pause-box-outline"),
("pause-circle", "pause-circle"),
("pause-circle-outline", "pause-circle-outline"),
("pause-octagon", "pause-octagon"),
("pause-octagon-outline", "pause-octagon-outline"),
("paw", "paw"),
("paw-off", "paw-off"),
("paw-off-outline", "paw-off-outline"),
("paw-outline", "paw-outline"),
("paypal", "paypal"),
("peace", "peace"),
("peanut", "peanut"),
("peanut-off", "peanut-off"),
("peanut-off-outline", "peanut-off-outline"),
("peanut-outline", "peanut-outline"),
("pen", "pen"),
("pen-lock", "pen-lock"),
("pen-minus", "pen-minus"),
("pen-off", "pen-off"),
("pen-plus", "pen-plus"),
("pen-remove", "pen-remove"),
("pencil", "pencil"),
("pencil-box", "pencil-box"),
("pencil-box-multiple", "pencil-box-multiple"),
("pencil-box-multiple-outline", "pencil-box-multiple-outline"),
("pencil-box-outline", "pencil-box-outline"),
("pencil-circle", "pencil-circle"),
("pencil-circle-outline", "pencil-circle-outline"),
("pencil-lock", "pencil-lock"),
("pencil-lock-outline", "pencil-lock-outline"),
("pencil-minus", "pencil-minus"),
("pencil-minus-outline", "pencil-minus-outline"),
("pencil-off", "pencil-off"),
("pencil-off-outline", "pencil-off-outline"),
("pencil-outline", "pencil-outline"),
("pencil-plus", "pencil-plus"),
("pencil-plus-outline", "pencil-plus-outline"),
("pencil-remove", "pencil-remove"),
("pencil-remove-outline", "pencil-remove-outline"),
("pencil-ruler", "pencil-ruler"),
("pencil-ruler-outline", "pencil-ruler-outline"),
("penguin", "penguin"),
("pentagon", "pentagon"),
("pentagon-outline", "pentagon-outline"),
("pentagram", "pentagram"),
("percent", "percent"),
("percent-box", "percent-box"),
("percent-box-outline", "percent-box-outline"),
("percent-circle", "percent-circle"),
("percent-circle-outline", "percent-circle-outline"),
("percent-outline", "percent-outline"),
("periodic-table", "periodic-table"),
("periscope", "periscope"),
("perspective-less", "perspective-less"),
("perspective-more", "perspective-more"),
("ph", "ph"),
("phone", "phone"),
("phone-alert", "phone-alert"),
("phone-alert-outline", "phone-alert-outline"),
("phone-bluetooth", "phone-bluetooth"),
("phone-bluetooth-outline", "phone-bluetooth-outline"),
("phone-cancel", "phone-cancel"),
("phone-cancel-outline", "phone-cancel-outline"),
("phone-check", "phone-check"),
("phone-check-outline", "phone-check-outline"),
("phone-classic", "phone-classic"),
("phone-classic-off", "phone-classic-off"),
("phone-clock", "phone-clock"),
("phone-dial", "phone-dial"),
("phone-dial-outline", "phone-dial-outline"),
("phone-forward", "phone-forward"),
("phone-forward-outline", "phone-forward-outline"),
("phone-hangup", "phone-hangup"),
("phone-hangup-outline", "phone-hangup-outline"),
("phone-in-talk", "phone-in-talk"),
("phone-in-talk-outline", "phone-in-talk-outline"),
("phone-incoming", "phone-incoming"),
("phone-incoming-outgoing", "phone-incoming-outgoing"),
("phone-incoming-outgoing-outline", "phone-incoming-outgoing-outline"),
("phone-incoming-outline", "phone-incoming-outline"),
("phone-lock", "phone-lock"),
("phone-lock-outline", "phone-lock-outline"),
("phone-log", "phone-log"),
("phone-log-outline", "phone-log-outline"),
("phone-message", "phone-message"),
("phone-message-outline", "phone-message-outline"),
("phone-minus", "phone-minus"),
("phone-minus-outline", "phone-minus-outline"),
("phone-missed", "phone-missed"),
("phone-missed-outline", "phone-missed-outline"),
("phone-off", "phone-off"),
("phone-off-outline", "phone-off-outline"),
("phone-outgoing", "phone-outgoing"),
("phone-outgoing-outline", "phone-outgoing-outline"),
("phone-outline", "phone-outline"),
("phone-paused", "phone-paused"),
("phone-paused-outline", "phone-paused-outline"),
("phone-plus", "phone-plus"),
("phone-plus-outline", "phone-plus-outline"),
("phone-refresh", "phone-refresh"),
("phone-refresh-outline", "phone-refresh-outline"),
("phone-remove", "phone-remove"),
("phone-remove-outline", "phone-remove-outline"),
("phone-return", "phone-return"),
("phone-return-outline", "phone-return-outline"),
("phone-ring", "phone-ring"),
("phone-ring-outline", "phone-ring-outline"),
("phone-rotate-landscape", "phone-rotate-landscape"),
("phone-rotate-portrait", "phone-rotate-portrait"),
("phone-settings", "phone-settings"),
("phone-settings-outline", "phone-settings-outline"),
("phone-sync", "phone-sync"),
("phone-sync-outline", "phone-sync-outline"),
("phone-voip", "phone-voip"),
("pi", "pi"),
("pi-box", "pi-box"),
("pi-hole", "pi-hole"),
("piano", "piano"),
("piano-off", "piano-off"),
("pickaxe", "pickaxe"),
("picture-in-picture-bottom-right", "picture-in-picture-bottom-right"),
(
"picture-in-picture-bottom-right-outline",
"picture-in-picture-bottom-right-outline",
),
("picture-in-picture-top-right", "picture-in-picture-top-right"),
(
"picture-in-picture-top-right-outline",
"picture-in-picture-top-right-outline",
),
("pier", "pier"),
("pier-crane", "pier-crane"),
("pig", "pig"),
("pig-variant", "pig-variant"),
("pig-variant-outline", "pig-variant-outline"),
("piggy-bank", "piggy-bank"),
("piggy-bank-outline", "piggy-bank-outline"),
("pill", "pill"),
("pill-multiple", "pill-multiple"),
("pill-off", "pill-off"),
("pillar", "pillar"),
("pin", "pin"),
("pin-off", "pin-off"),
("pin-off-outline", "pin-off-outline"),
("pin-outline", "pin-outline"),
("pine-tree", "pine-tree"),
("pine-tree-box", "pine-tree-box"),
("pine-tree-fire", "pine-tree-fire"),
("pinterest", "pinterest"),
("pinterest-box", "pinterest-box"),
("pinwheel", "pinwheel"),
("pinwheel-outline", "pinwheel-outline"),
("pipe", "pipe"),
("pipe-disconnected", "pipe-disconnected"),
("pipe-leak", "pipe-leak"),
("pipe-valve", "pipe-valve"),
("pipe-wrench", "pipe-wrench"),
("pirate", "pirate"),
("pistol", "pistol"),
("piston", "piston"),
("pitchfork", "pitchfork"),
("pizza", "pizza"),
("plane-car", "plane-car"),
("plane-train", "plane-train"),
("play", "play"),
("play-box", "play-box"),
("play-box-lock", "play-box-lock"),
("play-box-lock-open", "play-box-lock-open"),
("play-box-lock-open-outline", "play-box-lock-open-outline"),
("play-box-lock-outline", "play-box-lock-outline"),
("play-box-multiple", "play-box-multiple"),
("play-box-multiple-outline", "play-box-multiple-outline"),
("play-box-outline", "play-box-outline"),
("play-circle", "play-circle"),
("play-circle-outline", "play-circle-outline"),
("play-network", "play-network"),
("play-network-outline", "play-network-outline"),
("play-outline", "play-outline"),
("play-pause", "play-pause"),
("play-protected-content", "play-protected-content"),
("play-speed", "play-speed"),
("playlist-check", "playlist-check"),
("playlist-edit", "playlist-edit"),
("playlist-minus", "playlist-minus"),
("playlist-music", "playlist-music"),
("playlist-music-outline", "playlist-music-outline"),
("playlist-play", "playlist-play"),
("playlist-plus", "playlist-plus"),
("playlist-remove", "playlist-remove"),
("playlist-star", "playlist-star"),
("plex", "plex"),
("pliers", "pliers"),
("plus", "plus"),
("plus-box", "plus-box"),
("plus-box-multiple", "plus-box-multiple"),
("plus-box-multiple-outline", "plus-box-multiple-outline"),
("plus-box-outline", "plus-box-outline"),
("plus-circle", "plus-circle"),
("plus-circle-multiple", "plus-circle-multiple"),
("plus-circle-multiple-outline", "plus-circle-multiple-outline"),
("plus-circle-outline", "plus-circle-outline"),
("plus-lock", "plus-lock"),
("plus-lock-open", "plus-lock-open"),
("plus-minus", "plus-minus"),
("plus-minus-box", "plus-minus-box"),
("plus-minus-variant", "plus-minus-variant"),
("plus-network", "plus-network"),
("plus-network-outline", "plus-network-outline"),
("plus-outline", "plus-outline"),
("plus-thick", "plus-thick"),
("pocket", "pocket"),
("podcast", "podcast"),
("podium", "podium"),
("podium-bronze", "podium-bronze"),
("podium-gold", "podium-gold"),
("podium-silver", "podium-silver"),
("point-of-sale", "point-of-sale"),
("pokeball", "pokeball"),
("pokemon-go", "pokemon-go"),
("poker-chip", "poker-chip"),
("polaroid", "polaroid"),
("police-badge", "police-badge"),
("police-badge-outline", "police-badge-outline"),
("police-station", "police-station"),
("poll", "poll"),
("polo", "polo"),
("polymer", "polymer"),
("pool", "pool"),
("pool-thermometer", "pool-thermometer"),
("popcorn", "popcorn"),
("post", "post"),
("post-lamp", "post-lamp"),
("post-outline", "post-outline"),
("postage-stamp", "postage-stamp"),
("pot", "pot"),
("pot-mix", "pot-mix"),
("pot-mix-outline", "pot-mix-outline"),
("pot-outline", "pot-outline"),
("pot-steam", "pot-steam"),
("pot-steam-outline", "pot-steam-outline"),
("pound", "pound"),
("pound-box", "pound-box"),
("pound-box-outline", "pound-box-outline"),
("power", "power"),
("power-cycle", "power-cycle"),
("power-off", "power-off"),
("power-on", "power-on"),
("power-plug", "power-plug"),
("power-plug-off", "power-plug-off"),
("power-plug-off-outline", "power-plug-off-outline"),
("power-plug-outline", "power-plug-outline"),
("power-settings", "power-settings"),
("power-sleep", "power-sleep"),
("power-socket", "power-socket"),
("power-socket-au", "power-socket-au"),
("power-socket-ch", "power-socket-ch"),
("power-socket-de", "power-socket-de"),
("power-socket-eu", "power-socket-eu"),
("power-socket-fr", "power-socket-fr"),
("power-socket-it", "power-socket-it"),
("power-socket-jp", "power-socket-jp"),
("power-socket-uk", "power-socket-uk"),
("power-socket-us", "power-socket-us"),
("power-standby", "power-standby"),
("powershell", "powershell"),
("prescription", "prescription"),
("presentation", "presentation"),
("presentation-play", "presentation-play"),
("pretzel", "pretzel"),
("prezi", "prezi"),
("printer", "printer"),
("printer-3d", "printer-3d"),
("printer-3d-nozzle", "printer-3d-nozzle"),
("printer-3d-nozzle-alert", "printer-3d-nozzle-alert"),
("printer-3d-nozzle-alert-outline", "printer-3d-nozzle-alert-outline"),
("printer-3d-nozzle-heat", "printer-3d-nozzle-heat"),
("printer-3d-nozzle-heat-outline", "printer-3d-nozzle-heat-outline"),
("printer-3d-nozzle-off", "printer-3d-nozzle-off"),
("printer-3d-nozzle-off-outline", "printer-3d-nozzle-off-outline"),
("printer-3d-nozzle-outline", "printer-3d-nozzle-outline"),
("printer-3d-off", "printer-3d-off"),
("printer-alert", "printer-alert"),
("printer-check", "printer-check"),
("printer-eye", "printer-eye"),
("printer-off", "printer-off"),
("printer-off-outline", "printer-off-outline"),
("printer-outline", "printer-outline"),
("printer-pos", "printer-pos"),
("printer-pos-alert", "printer-pos-alert"),
("printer-pos-alert-outline", "printer-pos-alert-outline"),
("printer-pos-cancel", "printer-pos-cancel"),
("printer-pos-cancel-outline", "printer-pos-cancel-outline"),
("printer-pos-check", "printer-pos-check"),
("printer-pos-check-outline", "printer-pos-check-outline"),
("printer-pos-cog", "printer-pos-cog"),
("printer-pos-cog-outline", "printer-pos-cog-outline"),
("printer-pos-edit", "printer-pos-edit"),
("printer-pos-edit-outline", "printer-pos-edit-outline"),
("printer-pos-minus", "printer-pos-minus"),
("printer-pos-minus-outline", "printer-pos-minus-outline"),
("printer-pos-network", "printer-pos-network"),
("printer-pos-network-outline", "printer-pos-network-outline"),
("printer-pos-off", "printer-pos-off"),
("printer-pos-off-outline", "printer-pos-off-outline"),
("printer-pos-outline", "printer-pos-outline"),
("printer-pos-pause", "printer-pos-pause"),
("printer-pos-pause-outline", "printer-pos-pause-outline"),
("printer-pos-play", "printer-pos-play"),
("printer-pos-play-outline", "printer-pos-play-outline"),
("printer-pos-plus", "printer-pos-plus"),
("printer-pos-plus-outline", "printer-pos-plus-outline"),
("printer-pos-refresh", "printer-pos-refresh"),
("printer-pos-refresh-outline", "printer-pos-refresh-outline"),
("printer-pos-remove", "printer-pos-remove"),
("printer-pos-remove-outline", "printer-pos-remove-outline"),
("printer-pos-star", "printer-pos-star"),
("printer-pos-star-outline", "printer-pos-star-outline"),
("printer-pos-stop", "printer-pos-stop"),
("printer-pos-stop-outline", "printer-pos-stop-outline"),
("printer-pos-sync", "printer-pos-sync"),
("printer-pos-sync-outline", "printer-pos-sync-outline"),
("printer-pos-wrench", "printer-pos-wrench"),
("printer-pos-wrench-outline", "printer-pos-wrench-outline"),
("printer-search", "printer-search"),
("printer-settings", "printer-settings"),
("printer-wireless", "printer-wireless"),
("priority-high", "priority-high"),
("priority-low", "priority-low"),
("professional-hexagon", "professional-hexagon"),
("progress-alert", "progress-alert"),
("progress-check", "progress-check"),
("progress-clock", "progress-clock"),
("progress-close", "progress-close"),
("progress-download", "progress-download"),
("progress-helper", "progress-helper"),
("progress-pencil", "progress-pencil"),
("progress-question", "progress-question"),
("progress-star", "progress-star"),
("progress-upload", "progress-upload"),
("progress-wrench", "progress-wrench"),
("projector", "projector"),
("projector-off", "projector-off"),
("projector-screen", "projector-screen"),
("projector-screen-off", "projector-screen-off"),
("projector-screen-off-outline", "projector-screen-off-outline"),
("projector-screen-outline", "projector-screen-outline"),
("projector-screen-variant", "projector-screen-variant"),
("projector-screen-variant-off", "projector-screen-variant-off"),
(
"projector-screen-variant-off-outline",
"projector-screen-variant-off-outline",
),
("projector-screen-variant-outline", "projector-screen-variant-outline"),
("propane-tank", "propane-tank"),
("propane-tank-outline", "propane-tank-outline"),
("protocol", "protocol"),
("publish", "publish"),
("publish-off", "publish-off"),
("pulse", "pulse"),
("pump", "pump"),
("pump-off", "pump-off"),
("pumpkin", "pumpkin"),
("purse", "purse"),
("purse-outline", "purse-outline"),
("puzzle", "puzzle"),
("puzzle-check", "puzzle-check"),
("puzzle-check-outline", "puzzle-check-outline"),
("puzzle-edit", "puzzle-edit"),
("puzzle-edit-outline", "puzzle-edit-outline"),
("puzzle-heart", "puzzle-heart"),
("puzzle-heart-outline", "puzzle-heart-outline"),
("puzzle-minus", "puzzle-minus"),
("puzzle-minus-outline", "puzzle-minus-outline"),
("puzzle-outline", "puzzle-outline"),
("puzzle-plus", "puzzle-plus"),
("puzzle-plus-outline", "puzzle-plus-outline"),
("puzzle-remove", "puzzle-remove"),
("puzzle-remove-outline", "puzzle-remove-outline"),
("puzzle-star", "puzzle-star"),
("puzzle-star-outline", "puzzle-star-outline"),
("pyramid", "pyramid"),
("pyramid-off", "pyramid-off"),
("qi", "qi"),
("qqchat", "qqchat"),
("qrcode", "qrcode"),
("qrcode-edit", "qrcode-edit"),
("qrcode-minus", "qrcode-minus"),
("qrcode-plus", "qrcode-plus"),
("qrcode-remove", "qrcode-remove"),
("qrcode-scan", "qrcode-scan"),
("quadcopter", "quadcopter"),
("quality-high", "quality-high"),
("quality-low", "quality-low"),
("quality-medium", "quality-medium"),
("quick-reply", "quick-reply"),
("quicktime", "quicktime"),
("quora", "quora"),
("rabbit", "rabbit"),
("rabbit-variant", "rabbit-variant"),
("rabbit-variant-outline", "rabbit-variant-outline"),
("racing-helmet", "racing-helmet"),
("racquetball", "racquetball"),
("radar", "radar"),
("radiator", "radiator"),
("radiator-disabled", "radiator-disabled"),
("radiator-off", "radiator-off"),
("radio", "radio"),
("radio-am", "radio-am"),
("radio-fm", "radio-fm"),
("radio-handheld", "radio-handheld"),
("radio-off", "radio-off"),
("radio-tower", "radio-tower"),
("radioactive", "radioactive"),
("radioactive-circle", "radioactive-circle"),
("radioactive-circle-outline", "radioactive-circle-outline"),
("radioactive-off", "radioactive-off"),
("radiobox-blank", "radiobox-blank"),
("radiobox-marked", "radiobox-marked"),
("radiology-box", "radiology-box"),
("radiology-box-outline", "radiology-box-outline"),
("radius", "radius"),
("radius-outline", "radius-outline"),
("railroad-light", "railroad-light"),
("rake", "rake"),
("raspberry-pi", "raspberry-pi"),
("raw", "raw"),
("raw-off", "raw-off"),
("ray-end", "ray-end"),
("ray-end-arrow", "ray-end-arrow"),
("ray-start", "ray-start"),
("ray-start-arrow", "ray-start-arrow"),
("ray-start-end", "ray-start-end"),
("ray-start-vertex-end", "ray-start-vertex-end"),
("ray-vertex", "ray-vertex"),
("razor-double-edge", "razor-double-edge"),
("razor-single-edge", "razor-single-edge"),
("rdio", "rdio"),
("react", "react"),
("read", "read"),
("receipt", "receipt"),
("receipt-outline", "receipt-outline"),
("receipt-text", "receipt-text"),
("receipt-text-check", "receipt-text-check"),
("receipt-text-check-outline", "receipt-text-check-outline"),
("receipt-text-minus", "receipt-text-minus"),
("receipt-text-minus-outline", "receipt-text-minus-outline"),
("receipt-text-outline", "receipt-text-outline"),
("receipt-text-plus", "receipt-text-plus"),
("receipt-text-plus-outline", "receipt-text-plus-outline"),
("receipt-text-remove", "receipt-text-remove"),
("receipt-text-remove-outline", "receipt-text-remove-outline"),
("record", "record"),
("record-circle", "record-circle"),
("record-circle-outline", "record-circle-outline"),
("record-player", "record-player"),
("record-rec", "record-rec"),
("rectangle", "rectangle"),
("rectangle-outline", "rectangle-outline"),
("recycle", "recycle"),
("recycle-variant", "recycle-variant"),
("reddit", "reddit"),
("redhat", "redhat"),
("redo", "redo"),
("redo-variant", "redo-variant"),
("reflect-horizontal", "reflect-horizontal"),
("reflect-vertical", "reflect-vertical"),
("refresh", "refresh"),
("refresh-auto", "refresh-auto"),
("refresh-circle", "refresh-circle"),
("regex", "regex"),
("registered-trademark", "registered-trademark"),
("reiterate", "reiterate"),
("relation-many-to-many", "relation-many-to-many"),
("relation-many-to-one", "relation-many-to-one"),
("relation-many-to-one-or-many", "relation-many-to-one-or-many"),
("relation-many-to-only-one", "relation-many-to-only-one"),
("relation-many-to-zero-or-many", "relation-many-to-zero-or-many"),
("relation-many-to-zero-or-one", "relation-many-to-zero-or-one"),
("relation-one-or-many-to-many", "relation-one-or-many-to-many"),
("relation-one-or-many-to-one", "relation-one-or-many-to-one"),
("relation-one-or-many-to-one-or-many", "relation-one-or-many-to-one-or-many"),
("relation-one-or-many-to-only-one", "relation-one-or-many-to-only-one"),
(
"relation-one-or-many-to-zero-or-many",
"relation-one-or-many-to-zero-or-many",
),
("relation-one-or-many-to-zero-or-one", "relation-one-or-many-to-zero-or-one"),
("relation-one-to-many", "relation-one-to-many"),
("relation-one-to-one", "relation-one-to-one"),
("relation-one-to-one-or-many", "relation-one-to-one-or-many"),
("relation-one-to-only-one", "relation-one-to-only-one"),
("relation-one-to-zero-or-many", "relation-one-to-zero-or-many"),
("relation-one-to-zero-or-one", "relation-one-to-zero-or-one"),
("relation-only-one-to-many", "relation-only-one-to-many"),
("relation-only-one-to-one", "relation-only-one-to-one"),
("relation-only-one-to-one-or-many", "relation-only-one-to-one-or-many"),
("relation-only-one-to-only-one", "relation-only-one-to-only-one"),
("relation-only-one-to-zero-or-many", "relation-only-one-to-zero-or-many"),
("relation-only-one-to-zero-or-one", "relation-only-one-to-zero-or-one"),
("relation-zero-or-many-to-many", "relation-zero-or-many-to-many"),
("relation-zero-or-many-to-one", "relation-zero-or-many-to-one"),
(
"relation-zero-or-many-to-one-or-many",
"relation-zero-or-many-to-one-or-many",
),
("relation-zero-or-many-to-only-one", "relation-zero-or-many-to-only-one"),
(
"relation-zero-or-many-to-zero-or-many",
"relation-zero-or-many-to-zero-or-many",
),
(
"relation-zero-or-many-to-zero-or-one",
"relation-zero-or-many-to-zero-or-one",
),
("relation-zero-or-one-to-many", "relation-zero-or-one-to-many"),
("relation-zero-or-one-to-one", "relation-zero-or-one-to-one"),
("relation-zero-or-one-to-one-or-many", "relation-zero-or-one-to-one-or-many"),
("relation-zero-or-one-to-only-one", "relation-zero-or-one-to-only-one"),
(
"relation-zero-or-one-to-zero-or-many",
"relation-zero-or-one-to-zero-or-many",
),
("relation-zero-or-one-to-zero-or-one", "relation-zero-or-one-to-zero-or-one"),
("relative-scale", "relative-scale"),
("reload", "reload"),
("reload-alert", "reload-alert"),
("reminder", "reminder"),
("remote", "remote"),
("remote-desktop", "remote-desktop"),
("remote-off", "remote-off"),
("remote-tv", "remote-tv"),
("remote-tv-off", "remote-tv-off"),
("rename", "rename"),
("rename-box", "rename-box"),
("rename-box-outline", "rename-box-outline"),
("rename-outline", "rename-outline"),
("reorder-horizontal", "reorder-horizontal"),
("reorder-vertical", "reorder-vertical"),
("repeat", "repeat"),
("repeat-off", "repeat-off"),
("repeat-once", "repeat-once"),
("repeat-variant", "repeat-variant"),
("replay", "replay"),
("reply", "reply"),
("reply-all", "reply-all"),
("reply-all-outline", "reply-all-outline"),
("reply-circle", "reply-circle"),
("reply-outline", "reply-outline"),
("reproduction", "reproduction"),
("resistor", "resistor"),
("resistor-nodes", "resistor-nodes"),
("resize", "resize"),
("resize-bottom-right", "resize-bottom-right"),
("responsive", "responsive"),
("restart", "restart"),
("restart-alert", "restart-alert"),
("restart-off", "restart-off"),
("restore", "restore"),
("restore-alert", "restore-alert"),
("rewind", "rewind"),
("rewind-10", "rewind-10"),
("rewind-15", "rewind-15"),
("rewind-30", "rewind-30"),
("rewind-45", "rewind-45"),
("rewind-5", "rewind-5"),
("rewind-60", "rewind-60"),
("rewind-outline", "rewind-outline"),
("rhombus", "rhombus"),
("rhombus-medium", "rhombus-medium"),
("rhombus-medium-outline", "rhombus-medium-outline"),
("rhombus-outline", "rhombus-outline"),
("rhombus-split", "rhombus-split"),
("rhombus-split-outline", "rhombus-split-outline"),
("ribbon", "ribbon"),
("rice", "rice"),
("rickshaw", "rickshaw"),
("rickshaw-electric", "rickshaw-electric"),
("ring", "ring"),
("rivet", "rivet"),
("road", "road"),
("road-variant", "road-variant"),
("robber", "robber"),
("robot", "robot"),
("robot-angry", "robot-angry"),
("robot-angry-outline", "robot-angry-outline"),
("robot-confused", "robot-confused"),
("robot-confused-outline", "robot-confused-outline"),
("robot-dead", "robot-dead"),
("robot-dead-outline", "robot-dead-outline"),
("robot-excited", "robot-excited"),
("robot-excited-outline", "robot-excited-outline"),
("robot-happy", "robot-happy"),
("robot-happy-outline", "robot-happy-outline"),
("robot-industrial", "robot-industrial"),
("robot-industrial-outline", "robot-industrial-outline"),
("robot-love", "robot-love"),
("robot-love-outline", "robot-love-outline"),
("robot-mower", "robot-mower"),
("robot-mower-outline", "robot-mower-outline"),
("robot-off", "robot-off"),
("robot-off-outline", "robot-off-outline"),
("robot-outline", "robot-outline"),
("robot-vacuum", "robot-vacuum"),
("robot-vacuum-alert", "robot-vacuum-alert"),
("robot-vacuum-off", "robot-vacuum-off"),
("robot-vacuum-variant", "robot-vacuum-variant"),
("robot-vacuum-variant-alert", "robot-vacuum-variant-alert"),
("robot-vacuum-variant-off", "robot-vacuum-variant-off"),
("rocket", "rocket"),
("rocket-launch", "rocket-launch"),
("rocket-launch-outline", "rocket-launch-outline"),
("rocket-outline", "rocket-outline"),
("rodent", "rodent"),
("roller-shade", "roller-shade"),
("roller-shade-closed", "roller-shade-closed"),
("roller-skate", "roller-skate"),
("roller-skate-off", "roller-skate-off"),
("rollerblade", "rollerblade"),
("rollerblade-off", "rollerblade-off"),
("rollupjs", "rollupjs"),
("rolodex", "rolodex"),
("rolodex-outline", "rolodex-outline"),
("roman-numeral-1", "roman-numeral-1"),
("roman-numeral-10", "roman-numeral-10"),
("roman-numeral-2", "roman-numeral-2"),
("roman-numeral-3", "roman-numeral-3"),
("roman-numeral-4", "roman-numeral-4"),
("roman-numeral-5", "roman-numeral-5"),
("roman-numeral-6", "roman-numeral-6"),
("roman-numeral-7", "roman-numeral-7"),
("roman-numeral-8", "roman-numeral-8"),
("roman-numeral-9", "roman-numeral-9"),
("room-service", "room-service"),
("room-service-outline", "room-service-outline"),
("rotate-360", "rotate-360"),
("rotate-3d", "rotate-3d"),
("rotate-3d-variant", "rotate-3d-variant"),
("rotate-left", "rotate-left"),
("rotate-left-variant", "rotate-left-variant"),
("rotate-orbit", "rotate-orbit"),
("rotate-right", "rotate-right"),
("rotate-right-variant", "rotate-right-variant"),
("rounded-corner", "rounded-corner"),
("router", "router"),
("router-network", "router-network"),
("router-wireless", "router-wireless"),
("router-wireless-off", "router-wireless-off"),
("router-wireless-settings", "router-wireless-settings"),
("routes", "routes"),
("routes-clock", "routes-clock"),
("rowing", "rowing"),
("rss", "rss"),
("rss-box", "rss-box"),
("rss-off", "rss-off"),
("rug", "rug"),
("rugby", "rugby"),
("ruler", "ruler"),
("ruler-square", "ruler-square"),
("ruler-square-compass", "ruler-square-compass"),
("run", "run"),
("run-fast", "run-fast"),
("rv-truck", "rv-truck"),
("sack", "sack"),
("sack-percent", "sack-percent"),
("safe", "safe"),
("safe-square", "safe-square"),
("safe-square-outline", "safe-square-outline"),
("safety-goggles", "safety-goggles"),
("safety-googles", "safety-googles"),
("sail-boat", "sail-boat"),
("sail-boat-sink", "sail-boat-sink"),
("sale", "sale"),
("sale-outline", "sale-outline"),
("salesforce", "salesforce"),
("sass", "sass"),
("satellite", "satellite"),
("satellite-uplink", "satellite-uplink"),
("satellite-variant", "satellite-variant"),
("sausage", "sausage"),
("sausage-off", "sausage-off"),
("saw-blade", "saw-blade"),
("sawtooth-wave", "sawtooth-wave"),
("saxophone", "saxophone"),
("scale", "scale"),
("scale-balance", "scale-balance"),
("scale-bathroom", "scale-bathroom"),
("scale-off", "scale-off"),
("scale-unbalanced", "scale-unbalanced"),
("scan-helper", "scan-helper"),
("scanner", "scanner"),
("scanner-off", "scanner-off"),
("scatter-plot", "scatter-plot"),
("scatter-plot-outline", "scatter-plot-outline"),
("scent", "scent"),
("scent-off", "scent-off"),
("school", "school"),
("school-outline", "school-outline"),
("scissors-cutting", "scissors-cutting"),
("scooter", "scooter"),
("scooter-electric", "scooter-electric"),
("scoreboard", "scoreboard"),
("scoreboard-outline", "scoreboard-outline"),
("screen-rotation", "screen-rotation"),
("screen-rotation-lock", "screen-rotation-lock"),
("screw-flat-top", "screw-flat-top"),
("screw-lag", "screw-lag"),
("screw-machine-flat-top", "screw-machine-flat-top"),
("screw-machine-round-top", "screw-machine-round-top"),
("screw-round-top", "screw-round-top"),
("screwdriver", "screwdriver"),
("script", "script"),
("script-outline", "script-outline"),
("script-text", "script-text"),
("script-text-key", "script-text-key"),
("script-text-key-outline", "script-text-key-outline"),
("script-text-outline", "script-text-outline"),
("script-text-play", "script-text-play"),
("script-text-play-outline", "script-text-play-outline"),
("sd", "sd"),
("seal", "seal"),
("seal-variant", "seal-variant"),
("search-web", "search-web"),
("seat", "seat"),
("seat-flat", "seat-flat"),
("seat-flat-angled", "seat-flat-angled"),
("seat-individual-suite", "seat-individual-suite"),
("seat-legroom-extra", "seat-legroom-extra"),
("seat-legroom-normal", "seat-legroom-normal"),
("seat-legroom-reduced", "seat-legroom-reduced"),
("seat-outline", "seat-outline"),
("seat-passenger", "seat-passenger"),
("seat-recline-extra", "seat-recline-extra"),
("seat-recline-normal", "seat-recline-normal"),
("seatbelt", "seatbelt"),
("security", "security"),
("security-close", "security-close"),
("security-network", "security-network"),
("seed", "seed"),
("seed-off", "seed-off"),
("seed-off-outline", "seed-off-outline"),
("seed-outline", "seed-outline"),
("seed-plus", "seed-plus"),
("seed-plus-outline", "seed-plus-outline"),
("seesaw", "seesaw"),
("segment", "segment"),
("select", "select"),
("select-all", "select-all"),
("select-arrow-down", "select-arrow-down"),
("select-arrow-up", "select-arrow-up"),
("select-color", "select-color"),
("select-compare", "select-compare"),
("select-drag", "select-drag"),
("select-group", "select-group"),
("select-inverse", "select-inverse"),
("select-marker", "select-marker"),
("select-multiple", "select-multiple"),
("select-multiple-marker", "select-multiple-marker"),
("select-off", "select-off"),
("select-place", "select-place"),
("select-remove", "select-remove"),
("select-search", "select-search"),
("selection", "selection"),
("selection-drag", "selection-drag"),
("selection-ellipse", "selection-ellipse"),
("selection-ellipse-arrow-inside", "selection-ellipse-arrow-inside"),
("selection-ellipse-remove", "selection-ellipse-remove"),
("selection-lasso", "selection-lasso"),
("selection-marker", "selection-marker"),
("selection-multiple", "selection-multiple"),
("selection-multiple-marker", "selection-multiple-marker"),
("selection-off", "selection-off"),
("selection-remove", "selection-remove"),
("selection-search", "selection-search"),
("semantic-web", "semantic-web"),
("send", "send"),
("send-check", "send-check"),
("send-check-outline", "send-check-outline"),
("send-circle", "send-circle"),
("send-circle-outline", "send-circle-outline"),
("send-clock", "send-clock"),
("send-clock-outline", "send-clock-outline"),
("send-lock", "send-lock"),
("send-lock-outline", "send-lock-outline"),
("send-outline", "send-outline"),
("serial-port", "serial-port"),
("server", "server"),
("server-minus", "server-minus"),
("server-network", "server-network"),
("server-network-off", "server-network-off"),
("server-off", "server-off"),
("server-plus", "server-plus"),
("server-remove", "server-remove"),
("server-security", "server-security"),
("set-all", "set-all"),
("set-center", "set-center"),
("set-center-right", "set-center-right"),
("set-left", "set-left"),
("set-left-center", "set-left-center"),
("set-left-right", "set-left-right"),
("set-merge", "set-merge"),
("set-none", "set-none"),
("set-right", "set-right"),
("set-split", "set-split"),
("set-square", "set-square"),
("set-top-box", "set-top-box"),
("settings-helper", "settings-helper"),
("shaker", "shaker"),
("shaker-outline", "shaker-outline"),
("shape", "shape"),
("shape-circle-plus", "shape-circle-plus"),
("shape-outline", "shape-outline"),
("shape-oval-plus", "shape-oval-plus"),
("shape-plus", "shape-plus"),
("shape-polygon-plus", "shape-polygon-plus"),
("shape-rectangle-plus", "shape-rectangle-plus"),
("shape-square-plus", "shape-square-plus"),
("shape-square-rounded-plus", "shape-square-rounded-plus"),
("share", "share"),
("share-all", "share-all"),
("share-all-outline", "share-all-outline"),
("share-circle", "share-circle"),
("share-off", "share-off"),
("share-off-outline", "share-off-outline"),
("share-outline", "share-outline"),
("share-variant", "share-variant"),
("share-variant-outline", "share-variant-outline"),
("shark", "shark"),
("shark-fin", "shark-fin"),
("shark-fin-outline", "shark-fin-outline"),
("shark-off", "shark-off"),
("sheep", "sheep"),
("shield", "shield"),
("shield-account", "shield-account"),
("shield-account-outline", "shield-account-outline"),
("shield-account-variant", "shield-account-variant"),
("shield-account-variant-outline", "shield-account-variant-outline"),
("shield-airplane", "shield-airplane"),
("shield-airplane-outline", "shield-airplane-outline"),
("shield-alert", "shield-alert"),
("shield-alert-outline", "shield-alert-outline"),
("shield-bug", "shield-bug"),
("shield-bug-outline", "shield-bug-outline"),
("shield-car", "shield-car"),
("shield-check", "shield-check"),
("shield-check-outline", "shield-check-outline"),
("shield-cross", "shield-cross"),
("shield-cross-outline", "shield-cross-outline"),
("shield-crown", "shield-crown"),
("shield-crown-outline", "shield-crown-outline"),
("shield-edit", "shield-edit"),
("shield-edit-outline", "shield-edit-outline"),
("shield-half", "shield-half"),
("shield-half-full", "shield-half-full"),
("shield-home", "shield-home"),
("shield-home-outline", "shield-home-outline"),
("shield-key", "shield-key"),
("shield-key-outline", "shield-key-outline"),
("shield-link-variant", "shield-link-variant"),
("shield-link-variant-outline", "shield-link-variant-outline"),
("shield-lock", "shield-lock"),
("shield-lock-open", "shield-lock-open"),
("shield-lock-open-outline", "shield-lock-open-outline"),
("shield-lock-outline", "shield-lock-outline"),
("shield-moon", "shield-moon"),
("shield-moon-outline", "shield-moon-outline"),
("shield-off", "shield-off"),
("shield-off-outline", "shield-off-outline"),
("shield-outline", "shield-outline"),
("shield-plus", "shield-plus"),
("shield-plus-outline", "shield-plus-outline"),
("shield-refresh", "shield-refresh"),
("shield-refresh-outline", "shield-refresh-outline"),
("shield-remove", "shield-remove"),
("shield-remove-outline", "shield-remove-outline"),
("shield-search", "shield-search"),
("shield-star", "shield-star"),
("shield-star-outline", "shield-star-outline"),
("shield-sun", "shield-sun"),
("shield-sun-outline", "shield-sun-outline"),
("shield-sword", "shield-sword"),
("shield-sword-outline", "shield-sword-outline"),
("shield-sync", "shield-sync"),
("shield-sync-outline", "shield-sync-outline"),
("shimmer", "shimmer"),
("ship-wheel", "ship-wheel"),
("shipping-pallet", "shipping-pallet"),
("shoe-ballet", "shoe-ballet"),
("shoe-cleat", "shoe-cleat"),
("shoe-formal", "shoe-formal"),
("shoe-heel", "shoe-heel"),
("shoe-print", "shoe-print"),
("shoe-sneaker", "shoe-sneaker"),
("shopify", "shopify"),
("shopping", "shopping"),
("shopping-music", "shopping-music"),
("shopping-outline", "shopping-outline"),
("shopping-search", "shopping-search"),
("shopping-search-outline", "shopping-search-outline"),
("shore", "shore"),
("shovel", "shovel"),
("shovel-off", "shovel-off"),
("shower", "shower"),
("shower-head", "shower-head"),
("shredder", "shredder"),
("shuffle", "shuffle"),
("shuffle-disabled", "shuffle-disabled"),
("shuffle-variant", "shuffle-variant"),
("shuriken", "shuriken"),
("sickle", "sickle"),
("sigma", "sigma"),
("sigma-lower", "sigma-lower"),
("sign-caution", "sign-caution"),
("sign-direction", "sign-direction"),
("sign-direction-minus", "sign-direction-minus"),
("sign-direction-plus", "sign-direction-plus"),
("sign-direction-remove", "sign-direction-remove"),
("sign-language", "sign-language"),
("sign-language-outline", "sign-language-outline"),
("sign-pole", "sign-pole"),
("sign-real-estate", "sign-real-estate"),
("sign-text", "sign-text"),
("sign-yield", "sign-yield"),
("signal", "signal"),
("signal-2g", "signal-2g"),
("signal-3g", "signal-3g"),
("signal-4g", "signal-4g"),
("signal-5g", "signal-5g"),
("signal-cellular-1", "signal-cellular-1"),
("signal-cellular-2", "signal-cellular-2"),
("signal-cellular-3", "signal-cellular-3"),
("signal-cellular-outline", "signal-cellular-outline"),
("signal-distance-variant", "signal-distance-variant"),
("signal-hspa", "signal-hspa"),
("signal-hspa-plus", "signal-hspa-plus"),
("signal-off", "signal-off"),
("signal-variant", "signal-variant"),
("signature", "signature"),
("signature-freehand", "signature-freehand"),
("signature-image", "signature-image"),
("signature-text", "signature-text"),
("silo", "silo"),
("silo-outline", "silo-outline"),
("silverware", "silverware"),
("silverware-clean", "silverware-clean"),
("silverware-fork", "silverware-fork"),
("silverware-fork-knife", "silverware-fork-knife"),
("silverware-spoon", "silverware-spoon"),
("silverware-variant", "silverware-variant"),
("sim", "sim"),
("sim-alert", "sim-alert"),
("sim-alert-outline", "sim-alert-outline"),
("sim-off", "sim-off"),
("sim-off-outline", "sim-off-outline"),
("sim-outline", "sim-outline"),
("simple-icons", "simple-icons"),
("sina-weibo", "sina-weibo"),
("sine-wave", "sine-wave"),
("sitemap", "sitemap"),
("sitemap-outline", "sitemap-outline"),
("size-l", "size-l"),
("size-m", "size-m"),
("size-s", "size-s"),
("size-xl", "size-xl"),
("size-xs", "size-xs"),
("size-xxl", "size-xxl"),
("size-xxs", "size-xxs"),
("size-xxxl", "size-xxxl"),
("skate", "skate"),
("skate-off", "skate-off"),
("skateboard", "skateboard"),
("skateboarding", "skateboarding"),
("skew-less", "skew-less"),
("skew-more", "skew-more"),
("ski", "ski"),
("ski-cross-country", "ski-cross-country"),
("ski-water", "ski-water"),
("skip-backward", "skip-backward"),
("skip-backward-outline", "skip-backward-outline"),
("skip-forward", "skip-forward"),
("skip-forward-outline", "skip-forward-outline"),
("skip-next", "skip-next"),
("skip-next-circle", "skip-next-circle"),
("skip-next-circle-outline", "skip-next-circle-outline"),
("skip-next-outline", "skip-next-outline"),
("skip-previous", "skip-previous"),
("skip-previous-circle", "skip-previous-circle"),
("skip-previous-circle-outline", "skip-previous-circle-outline"),
("skip-previous-outline", "skip-previous-outline"),
("skull", "skull"),
("skull-crossbones", "skull-crossbones"),
("skull-crossbones-outline", "skull-crossbones-outline"),
("skull-outline", "skull-outline"),
("skull-scan", "skull-scan"),
("skull-scan-outline", "skull-scan-outline"),
("skype", "skype"),
("skype-business", "skype-business"),
("slack", "slack"),
("slackware", "slackware"),
("slash-forward", "slash-forward"),
("slash-forward-box", "slash-forward-box"),
("sledding", "sledding"),
("sleep", "sleep"),
("sleep-off", "sleep-off"),
("slide", "slide"),
("slope-downhill", "slope-downhill"),
("slope-uphill", "slope-uphill"),
("slot-machine", "slot-machine"),
("slot-machine-outline", "slot-machine-outline"),
("smart-card", "smart-card"),
("smart-card-off", "smart-card-off"),
("smart-card-off-outline", "smart-card-off-outline"),
("smart-card-outline", "smart-card-outline"),
("smart-card-reader", "smart-card-reader"),
("smart-card-reader-outline", "smart-card-reader-outline"),
("smog", "smog"),
("smoke", "smoke"),
("smoke-detector", "smoke-detector"),
("smoke-detector-alert", "smoke-detector-alert"),
("smoke-detector-alert-outline", "smoke-detector-alert-outline"),
("smoke-detector-off", "smoke-detector-off"),
("smoke-detector-off-outline", "smoke-detector-off-outline"),
("smoke-detector-outline", "smoke-detector-outline"),
("smoke-detector-variant", "smoke-detector-variant"),
("smoke-detector-variant-alert", "smoke-detector-variant-alert"),
("smoke-detector-variant-off", "smoke-detector-variant-off"),
("smoking", "smoking"),
("smoking-off", "smoking-off"),
("smoking-pipe", "smoking-pipe"),
("smoking-pipe-off", "smoking-pipe-off"),
("snail", "snail"),
("snake", "snake"),
("snapchat", "snapchat"),
("snowboard", "snowboard"),
("snowflake", "snowflake"),
("snowflake-alert", "snowflake-alert"),
("snowflake-check", "snowflake-check"),
("snowflake-melt", "snowflake-melt"),
("snowflake-off", "snowflake-off"),
("snowflake-thermometer", "snowflake-thermometer"),
("snowflake-variant", "snowflake-variant"),
("snowman", "snowman"),
("snowmobile", "snowmobile"),
("snowshoeing", "snowshoeing"),
("soccer", "soccer"),
("soccer-field", "soccer-field"),
("social-distance-2-meters", "social-distance-2-meters"),
("social-distance-6-feet", "social-distance-6-feet"),
("sofa", "sofa"),
("sofa-outline", "sofa-outline"),
("sofa-single", "sofa-single"),
("sofa-single-outline", "sofa-single-outline"),
("solar-panel", "solar-panel"),
("solar-panel-large", "solar-panel-large"),
("solar-power", "solar-power"),
("solar-power-variant", "solar-power-variant"),
("solar-power-variant-outline", "solar-power-variant-outline"),
("soldering-iron", "soldering-iron"),
("solid", "solid"),
("sony-playstation", "sony-playstation"),
("sort", "sort"),
("sort-alphabetical-ascending", "sort-alphabetical-ascending"),
("sort-alphabetical-ascending-variant", "sort-alphabetical-ascending-variant"),
("sort-alphabetical-descending", "sort-alphabetical-descending"),
(
"sort-alphabetical-descending-variant",
"sort-alphabetical-descending-variant",
),
("sort-alphabetical-variant", "sort-alphabetical-variant"),
("sort-ascending", "sort-ascending"),
("sort-bool-ascending", "sort-bool-ascending"),
("sort-bool-ascending-variant", "sort-bool-ascending-variant"),
("sort-bool-descending", "sort-bool-descending"),
("sort-bool-descending-variant", "sort-bool-descending-variant"),
("sort-calendar-ascending", "sort-calendar-ascending"),
("sort-calendar-descending", "sort-calendar-descending"),
("sort-clock-ascending", "sort-clock-ascending"),
("sort-clock-ascending-outline", "sort-clock-ascending-outline"),
("sort-clock-descending", "sort-clock-descending"),
("sort-clock-descending-outline", "sort-clock-descending-outline"),
("sort-descending", "sort-descending"),
("sort-numeric-ascending", "sort-numeric-ascending"),
("sort-numeric-ascending-variant", "sort-numeric-ascending-variant"),
("sort-numeric-descending", "sort-numeric-descending"),
("sort-numeric-descending-variant", "sort-numeric-descending-variant"),
("sort-numeric-variant", "sort-numeric-variant"),
("sort-reverse-variant", "sort-reverse-variant"),
("sort-variant", "sort-variant"),
("sort-variant-lock", "sort-variant-lock"),
("sort-variant-lock-open", "sort-variant-lock-open"),
("sort-variant-off", "sort-variant-off"),
("sort-variant-remove", "sort-variant-remove"),
("soundbar", "soundbar"),
("soundcloud", "soundcloud"),
("source-branch", "source-branch"),
("source-branch-check", "source-branch-check"),
("source-branch-minus", "source-branch-minus"),
("source-branch-plus", "source-branch-plus"),
("source-branch-refresh", "source-branch-refresh"),
("source-branch-remove", "source-branch-remove"),
("source-branch-sync", "source-branch-sync"),
("source-commit", "source-commit"),
("source-commit-end", "source-commit-end"),
("source-commit-end-local", "source-commit-end-local"),
("source-commit-local", "source-commit-local"),
("source-commit-next-local", "source-commit-next-local"),
("source-commit-start", "source-commit-start"),
("source-commit-start-next-local", "source-commit-start-next-local"),
("source-fork", "source-fork"),
("source-merge", "source-merge"),
("source-pull", "source-pull"),
("source-repository", "source-repository"),
("source-repository-multiple", "source-repository-multiple"),
("soy-sauce", "soy-sauce"),
("soy-sauce-off", "soy-sauce-off"),
("spa", "spa"),
("spa-outline", "spa-outline"),
("space-invaders", "space-invaders"),
("space-station", "space-station"),
("spade", "spade"),
("speaker", "speaker"),
("speaker-bluetooth", "speaker-bluetooth"),
("speaker-message", "speaker-message"),
("speaker-multiple", "speaker-multiple"),
("speaker-off", "speaker-off"),
("speaker-pause", "speaker-pause"),
("speaker-play", "speaker-play"),
("speaker-stop", "speaker-stop"),
("speaker-wireless", "speaker-wireless"),
("spear", "spear"),
("speedometer", "speedometer"),
("speedometer-medium", "speedometer-medium"),
("speedometer-slow", "speedometer-slow"),
("spellcheck", "spellcheck"),
("sphere", "sphere"),
("sphere-off", "sphere-off"),
("spider", "spider"),
("spider-thread", "spider-thread"),
("spider-web", "spider-web"),
("spirit-level", "spirit-level"),
("split-horizontal", "split-horizontal"),
("split-vertical", "split-vertical"),
("spoon-sugar", "spoon-sugar"),
("spotify", "spotify"),
("spotlight", "spotlight"),
("spotlight-beam", "spotlight-beam"),
("spray", "spray"),
("spray-bottle", "spray-bottle"),
("spreadsheet", "spreadsheet"),
("sprinkler", "sprinkler"),
("sprinkler-fire", "sprinkler-fire"),
("sprinkler-variant", "sprinkler-variant"),
("sprout", "sprout"),
("sprout-outline", "sprout-outline"),
("square", "square"),
("square-circle", "square-circle"),
("square-edit-outline", "square-edit-outline"),
("square-inc", "square-inc"),
("square-inc-cash", "square-inc-cash"),
("square-medium", "square-medium"),
("square-medium-outline", "square-medium-outline"),
("square-off", "square-off"),
("square-off-outline", "square-off-outline"),
("square-opacity", "square-opacity"),
("square-outline", "square-outline"),
("square-root", "square-root"),
("square-root-box", "square-root-box"),
("square-rounded", "square-rounded"),
("square-rounded-badge", "square-rounded-badge"),
("square-rounded-badge-outline", "square-rounded-badge-outline"),
("square-rounded-outline", "square-rounded-outline"),
("square-small", "square-small"),
("square-wave", "square-wave"),
("squeegee", "squeegee"),
("ssh", "ssh"),
("stack-exchange", "stack-exchange"),
("stack-overflow", "stack-overflow"),
("stackpath", "stackpath"),
("stadium", "stadium"),
("stadium-outline", "stadium-outline"),
("stadium-variant", "stadium-variant"),
("stairs", "stairs"),
("stairs-box", "stairs-box"),
("stairs-down", "stairs-down"),
("stairs-up", "stairs-up"),
("stamper", "stamper"),
("standard-definition", "standard-definition"),
("star", "star"),
("star-box", "star-box"),
("star-box-multiple", "star-box-multiple"),
("star-box-multiple-outline", "star-box-multiple-outline"),
("star-box-outline", "star-box-outline"),
("star-check", "star-check"),
("star-check-outline", "star-check-outline"),
("star-circle", "star-circle"),
("star-circle-outline", "star-circle-outline"),
("star-cog", "star-cog"),
("star-cog-outline", "star-cog-outline"),
("star-crescent", "star-crescent"),
("star-david", "star-david"),
("star-face", "star-face"),
("star-four-points", "star-four-points"),
("star-four-points-outline", "star-four-points-outline"),
("star-half", "star-half"),
("star-half-full", "star-half-full"),
("star-minus", "star-minus"),
("star-minus-outline", "star-minus-outline"),
("star-off", "star-off"),
("star-off-outline", "star-off-outline"),
("star-outline", "star-outline"),
("star-plus", "star-plus"),
("star-plus-outline", "star-plus-outline"),
("star-remove", "star-remove"),
("star-remove-outline", "star-remove-outline"),
("star-settings", "star-settings"),
("star-settings-outline", "star-settings-outline"),
("star-shooting", "star-shooting"),
("star-shooting-outline", "star-shooting-outline"),
("star-three-points", "star-three-points"),
("star-three-points-outline", "star-three-points-outline"),
("state-machine", "state-machine"),
("steam", "steam"),
("steam-box", "steam-box"),
("steering", "steering"),
("steering-off", "steering-off"),
("step-backward", "step-backward"),
("step-backward-2", "step-backward-2"),
("step-forward", "step-forward"),
("step-forward-2", "step-forward-2"),
("stethoscope", "stethoscope"),
("sticker", "sticker"),
("sticker-alert", "sticker-alert"),
("sticker-alert-outline", "sticker-alert-outline"),
("sticker-check", "sticker-check"),
("sticker-check-outline", "sticker-check-outline"),
("sticker-circle-outline", "sticker-circle-outline"),
("sticker-emoji", "sticker-emoji"),
("sticker-minus", "sticker-minus"),
("sticker-minus-outline", "sticker-minus-outline"),
("sticker-outline", "sticker-outline"),
("sticker-plus", "sticker-plus"),
("sticker-plus-outline", "sticker-plus-outline"),
("sticker-remove", "sticker-remove"),
("sticker-remove-outline", "sticker-remove-outline"),
("sticker-text", "sticker-text"),
("sticker-text-outline", "sticker-text-outline"),
("stocking", "stocking"),
("stomach", "stomach"),
("stool", "stool"),
("stool-outline", "stool-outline"),
("stop", "stop"),
("stop-circle", "stop-circle"),
("stop-circle-outline", "stop-circle-outline"),
("storage-tank", "storage-tank"),
("storage-tank-outline", "storage-tank-outline"),
("store", "store"),
("store-24-hour", "store-24-hour"),
("store-alert", "store-alert"),
("store-alert-outline", "store-alert-outline"),
("store-check", "store-check"),
("store-check-outline", "store-check-outline"),
("store-clock", "store-clock"),
("store-clock-outline", "store-clock-outline"),
("store-cog", "store-cog"),
("store-cog-outline", "store-cog-outline"),
("store-edit", "store-edit"),
("store-edit-outline", "store-edit-outline"),
("store-marker", "store-marker"),
("store-marker-outline", "store-marker-outline"),
("store-minus", "store-minus"),
("store-minus-outline", "store-minus-outline"),
("store-off", "store-off"),
("store-off-outline", "store-off-outline"),
("store-outline", "store-outline"),
("store-plus", "store-plus"),
("store-plus-outline", "store-plus-outline"),
("store-remove", "store-remove"),
("store-remove-outline", "store-remove-outline"),
("store-search", "store-search"),
("store-search-outline", "store-search-outline"),
("store-settings", "store-settings"),
("store-settings-outline", "store-settings-outline"),
("storefront", "storefront"),
("storefront-check", "storefront-check"),
("storefront-check-outline", "storefront-check-outline"),
("storefront-edit", "storefront-edit"),
("storefront-edit-outline", "storefront-edit-outline"),
("storefront-minus", "storefront-minus"),
("storefront-minus-outline", "storefront-minus-outline"),
("storefront-outline", "storefront-outline"),
("storefront-plus", "storefront-plus"),
("storefront-plus-outline", "storefront-plus-outline"),
("storefront-remove", "storefront-remove"),
("storefront-remove-outline", "storefront-remove-outline"),
("stove", "stove"),
("strategy", "strategy"),
("strava", "strava"),
("stretch-to-page", "stretch-to-page"),
("stretch-to-page-outline", "stretch-to-page-outline"),
("string-lights", "string-lights"),
("string-lights-off", "string-lights-off"),
("subdirectory-arrow-left", "subdirectory-arrow-left"),
("subdirectory-arrow-right", "subdirectory-arrow-right"),
("submarine", "submarine"),
("subtitles", "subtitles"),
("subtitles-outline", "subtitles-outline"),
("subway", "subway"),
("subway-alert-variant", "subway-alert-variant"),
("subway-variant", "subway-variant"),
("summit", "summit"),
("sun-angle", "sun-angle"),
("sun-angle-outline", "sun-angle-outline"),
("sun-clock", "sun-clock"),
("sun-clock-outline", "sun-clock-outline"),
("sun-compass", "sun-compass"),
("sun-snowflake", "sun-snowflake"),
("sun-snowflake-variant", "sun-snowflake-variant"),
("sun-thermometer", "sun-thermometer"),
("sun-thermometer-outline", "sun-thermometer-outline"),
("sun-wireless", "sun-wireless"),
("sun-wireless-outline", "sun-wireless-outline"),
("sunglasses", "sunglasses"),
("surfing", "surfing"),
("surround-sound", "surround-sound"),
("surround-sound-2-0", "surround-sound-2-0"),
("surround-sound-2-1", "surround-sound-2-1"),
("surround-sound-3-1", "surround-sound-3-1"),
("surround-sound-5-1", "surround-sound-5-1"),
("surround-sound-5-1-2", "surround-sound-5-1-2"),
("surround-sound-7-1", "surround-sound-7-1"),
("svg", "svg"),
("swap-horizontal", "swap-horizontal"),
("swap-horizontal-bold", "swap-horizontal-bold"),
("swap-horizontal-circle", "swap-horizontal-circle"),
("swap-horizontal-circle-outline", "swap-horizontal-circle-outline"),
("swap-horizontal-variant", "swap-horizontal-variant"),
("swap-vertical", "swap-vertical"),
("swap-vertical-bold", "swap-vertical-bold"),
("swap-vertical-circle", "swap-vertical-circle"),
("swap-vertical-circle-outline", "swap-vertical-circle-outline"),
("swap-vertical-variant", "swap-vertical-variant"),
("swim", "swim"),
("switch", "switch"),
("sword", "sword"),
("sword-cross", "sword-cross"),
("syllabary-hangul", "syllabary-hangul"),
("syllabary-hiragana", "syllabary-hiragana"),
("syllabary-katakana", "syllabary-katakana"),
("syllabary-katakana-halfwidth", "syllabary-katakana-halfwidth"),
("symbol", "symbol"),
("symfony", "symfony"),
("synagogue", "synagogue"),
("synagogue-outline", "synagogue-outline"),
("sync", "sync"),
("sync-alert", "sync-alert"),
("sync-circle", "sync-circle"),
("sync-off", "sync-off"),
("tab", "tab"),
("tab-minus", "tab-minus"),
("tab-plus", "tab-plus"),
("tab-remove", "tab-remove"),
("tab-search", "tab-search"),
("tab-unselected", "tab-unselected"),
("table", "table"),
("table-account", "table-account"),
("table-alert", "table-alert"),
("table-arrow-down", "table-arrow-down"),
("table-arrow-left", "table-arrow-left"),
("table-arrow-right", "table-arrow-right"),
("table-arrow-up", "table-arrow-up"),
("table-border", "table-border"),
("table-cancel", "table-cancel"),
("table-chair", "table-chair"),
("table-check", "table-check"),
("table-clock", "table-clock"),
("table-cog", "table-cog"),
("table-column", "table-column"),
("table-column-plus-after", "table-column-plus-after"),
("table-column-plus-before", "table-column-plus-before"),
("table-column-remove", "table-column-remove"),
("table-column-width", "table-column-width"),
("table-edit", "table-edit"),
("table-eye", "table-eye"),
("table-eye-off", "table-eye-off"),
("table-filter", "table-filter"),
("table-furniture", "table-furniture"),
("table-headers-eye", "table-headers-eye"),
("table-headers-eye-off", "table-headers-eye-off"),
("table-heart", "table-heart"),
("table-key", "table-key"),
("table-large", "table-large"),
("table-large-plus", "table-large-plus"),
("table-large-remove", "table-large-remove"),
("table-lock", "table-lock"),
("table-merge-cells", "table-merge-cells"),
("table-minus", "table-minus"),
("table-multiple", "table-multiple"),
("table-network", "table-network"),
("table-of-contents", "table-of-contents"),
("table-off", "table-off"),
("table-picnic", "table-picnic"),
("table-pivot", "table-pivot"),
("table-plus", "table-plus"),
("table-question", "table-question"),
("table-refresh", "table-refresh"),
("table-remove", "table-remove"),
("table-row", "table-row"),
("table-row-height", "table-row-height"),
("table-row-plus-after", "table-row-plus-after"),
("table-row-plus-before", "table-row-plus-before"),
("table-row-remove", "table-row-remove"),
("table-search", "table-search"),
("table-settings", "table-settings"),
("table-split-cell", "table-split-cell"),
("table-star", "table-star"),
("table-sync", "table-sync"),
("table-tennis", "table-tennis"),
("tablet", "tablet"),
("tablet-android", "tablet-android"),
("tablet-cellphone", "tablet-cellphone"),
("tablet-dashboard", "tablet-dashboard"),
("tablet-ipad", "tablet-ipad"),
("taco", "taco"),
("tag", "tag"),
("tag-arrow-down", "tag-arrow-down"),
("tag-arrow-down-outline", "tag-arrow-down-outline"),
("tag-arrow-left", "tag-arrow-left"),
("tag-arrow-left-outline", "tag-arrow-left-outline"),
("tag-arrow-right", "tag-arrow-right"),
("tag-arrow-right-outline", "tag-arrow-right-outline"),
("tag-arrow-up", "tag-arrow-up"),
("tag-arrow-up-outline", "tag-arrow-up-outline"),
("tag-check", "tag-check"),
("tag-check-outline", "tag-check-outline"),
("tag-faces", "tag-faces"),
("tag-heart", "tag-heart"),
("tag-heart-outline", "tag-heart-outline"),
("tag-minus", "tag-minus"),
("tag-minus-outline", "tag-minus-outline"),
("tag-multiple", "tag-multiple"),
("tag-multiple-outline", "tag-multiple-outline"),
("tag-off", "tag-off"),
("tag-off-outline", "tag-off-outline"),
("tag-outline", "tag-outline"),
("tag-plus", "tag-plus"),
("tag-plus-outline", "tag-plus-outline"),
("tag-remove", "tag-remove"),
("tag-remove-outline", "tag-remove-outline"),
("tag-search", "tag-search"),
("tag-search-outline", "tag-search-outline"),
("tag-text", "tag-text"),
("tag-text-outline", "tag-text-outline"),
("tailwind", "tailwind"),
("tally-mark-1", "tally-mark-1"),
("tally-mark-2", "tally-mark-2"),
("tally-mark-3", "tally-mark-3"),
("tally-mark-4", "tally-mark-4"),
("tally-mark-5", "tally-mark-5"),
("tangram", "tangram"),
("tank", "tank"),
("tanker-truck", "tanker-truck"),
("tape-drive", "tape-drive"),
("tape-measure", "tape-measure"),
("target", "target"),
("target-account", "target-account"),
("target-variant", "target-variant"),
("taxi", "taxi"),
("tea", "tea"),
("tea-outline", "tea-outline"),
("teamspeak", "teamspeak"),
("teamviewer", "teamviewer"),
("teddy-bear", "teddy-bear"),
("telegram", "telegram"),
("telescope", "telescope"),
("television", "television"),
("television-ambient-light", "television-ambient-light"),
("television-box", "television-box"),
("television-classic", "television-classic"),
("television-classic-off", "television-classic-off"),
("television-guide", "television-guide"),
("television-off", "television-off"),
("television-pause", "television-pause"),
("television-play", "television-play"),
("television-shimmer", "television-shimmer"),
("television-speaker", "television-speaker"),
("television-speaker-off", "television-speaker-off"),
("television-stop", "television-stop"),
("temperature-celsius", "temperature-celsius"),
("temperature-fahrenheit", "temperature-fahrenheit"),
("temperature-kelvin", "temperature-kelvin"),
("temple-buddhist", "temple-buddhist"),
("temple-buddhist-outline", "temple-buddhist-outline"),
("temple-hindu", "temple-hindu"),
("temple-hindu-outline", "temple-hindu-outline"),
("tennis", "tennis"),
("tennis-ball", "tennis-ball"),
("tent", "tent"),
("terraform", "terraform"),
("terrain", "terrain"),
("test-tube", "test-tube"),
("test-tube-empty", "test-tube-empty"),
("test-tube-off", "test-tube-off"),
("text", "text"),
("text-account", "text-account"),
("text-box", "text-box"),
("text-box-check", "text-box-check"),
("text-box-check-outline", "text-box-check-outline"),
("text-box-edit", "text-box-edit"),
("text-box-edit-outline", "text-box-edit-outline"),
("text-box-minus", "text-box-minus"),
("text-box-minus-outline", "text-box-minus-outline"),
("text-box-multiple", "text-box-multiple"),
("text-box-multiple-outline", "text-box-multiple-outline"),
("text-box-outline", "text-box-outline"),
("text-box-plus", "text-box-plus"),
("text-box-plus-outline", "text-box-plus-outline"),
("text-box-remove", "text-box-remove"),
("text-box-remove-outline", "text-box-remove-outline"),
("text-box-search", "text-box-search"),
("text-box-search-outline", "text-box-search-outline"),
("text-long", "text-long"),
("text-recognition", "text-recognition"),
("text-search", "text-search"),
("text-search-variant", "text-search-variant"),
("text-shadow", "text-shadow"),
("text-short", "text-short"),
("texture", "texture"),
("texture-box", "texture-box"),
("theater", "theater"),
("theme-light-dark", "theme-light-dark"),
("thermometer", "thermometer"),
("thermometer-alert", "thermometer-alert"),
("thermometer-auto", "thermometer-auto"),
("thermometer-bluetooth", "thermometer-bluetooth"),
("thermometer-check", "thermometer-check"),
("thermometer-chevron-down", "thermometer-chevron-down"),
("thermometer-chevron-up", "thermometer-chevron-up"),
("thermometer-high", "thermometer-high"),
("thermometer-lines", "thermometer-lines"),
("thermometer-low", "thermometer-low"),
("thermometer-minus", "thermometer-minus"),
("thermometer-off", "thermometer-off"),
("thermometer-plus", "thermometer-plus"),
("thermometer-probe", "thermometer-probe"),
("thermometer-probe-off", "thermometer-probe-off"),
("thermometer-water", "thermometer-water"),
("thermostat", "thermostat"),
("thermostat-auto", "thermostat-auto"),
("thermostat-box", "thermostat-box"),
("thermostat-box-auto", "thermostat-box-auto"),
("thought-bubble", "thought-bubble"),
("thought-bubble-outline", "thought-bubble-outline"),
("thumb-down", "thumb-down"),
("thumb-down-outline", "thumb-down-outline"),
("thumb-up", "thumb-up"),
("thumb-up-outline", "thumb-up-outline"),
("thumbs-up-down", "thumbs-up-down"),
("thumbs-up-down-outline", "thumbs-up-down-outline"),
("ticket", "ticket"),
("ticket-account", "ticket-account"),
("ticket-confirmation", "ticket-confirmation"),
("ticket-confirmation-outline", "ticket-confirmation-outline"),
("ticket-outline", "ticket-outline"),
("ticket-percent", "ticket-percent"),
("ticket-percent-outline", "ticket-percent-outline"),
("tie", "tie"),
("tilde", "tilde"),
("tilde-off", "tilde-off"),
("timelapse", "timelapse"),
("timeline", "timeline"),
("timeline-alert", "timeline-alert"),
("timeline-alert-outline", "timeline-alert-outline"),
("timeline-check", "timeline-check"),
("timeline-check-outline", "timeline-check-outline"),
("timeline-clock", "timeline-clock"),
("timeline-clock-outline", "timeline-clock-outline"),
("timeline-minus", "timeline-minus"),
("timeline-minus-outline", "timeline-minus-outline"),
("timeline-outline", "timeline-outline"),
("timeline-plus", "timeline-plus"),
("timeline-plus-outline", "timeline-plus-outline"),
("timeline-question", "timeline-question"),
("timeline-question-outline", "timeline-question-outline"),
("timeline-remove", "timeline-remove"),
("timeline-remove-outline", "timeline-remove-outline"),
("timeline-text", "timeline-text"),
("timeline-text-outline", "timeline-text-outline"),
("timer", "timer"),
("timer-10", "timer-10"),
("timer-3", "timer-3"),
("timer-alert", "timer-alert"),
("timer-alert-outline", "timer-alert-outline"),
("timer-cancel", "timer-cancel"),
("timer-cancel-outline", "timer-cancel-outline"),
("timer-check", "timer-check"),
("timer-check-outline", "timer-check-outline"),
("timer-cog", "timer-cog"),
("timer-cog-outline", "timer-cog-outline"),
("timer-edit", "timer-edit"),
("timer-edit-outline", "timer-edit-outline"),
("timer-lock", "timer-lock"),
("timer-lock-open", "timer-lock-open"),
("timer-lock-open-outline", "timer-lock-open-outline"),
("timer-lock-outline", "timer-lock-outline"),
("timer-marker", "timer-marker"),
("timer-marker-outline", "timer-marker-outline"),
("timer-minus", "timer-minus"),
("timer-minus-outline", "timer-minus-outline"),
("timer-music", "timer-music"),
("timer-music-outline", "timer-music-outline"),
("timer-off", "timer-off"),
("timer-off-outline", "timer-off-outline"),
("timer-outline", "timer-outline"),
("timer-pause", "timer-pause"),
("timer-pause-outline", "timer-pause-outline"),
("timer-play", "timer-play"),
("timer-play-outline", "timer-play-outline"),
("timer-plus", "timer-plus"),
("timer-plus-outline", "timer-plus-outline"),
("timer-refresh", "timer-refresh"),
("timer-refresh-outline", "timer-refresh-outline"),
("timer-remove", "timer-remove"),
("timer-remove-outline", "timer-remove-outline"),
("timer-sand", "timer-sand"),
("timer-sand-complete", "timer-sand-complete"),
("timer-sand-empty", "timer-sand-empty"),
("timer-sand-full", "timer-sand-full"),
("timer-sand-paused", "timer-sand-paused"),
("timer-settings", "timer-settings"),
("timer-settings-outline", "timer-settings-outline"),
("timer-star", "timer-star"),
("timer-star-outline", "timer-star-outline"),
("timer-stop", "timer-stop"),
("timer-stop-outline", "timer-stop-outline"),
("timer-sync", "timer-sync"),
("timer-sync-outline", "timer-sync-outline"),
("timetable", "timetable"),
("tire", "tire"),
("toaster", "toaster"),
("toaster-off", "toaster-off"),
("toaster-oven", "toaster-oven"),
("toggle-switch", "toggle-switch"),
("toggle-switch-off", "toggle-switch-off"),
("toggle-switch-off-outline", "toggle-switch-off-outline"),
("toggle-switch-outline", "toggle-switch-outline"),
("toggle-switch-variant", "toggle-switch-variant"),
("toggle-switch-variant-off", "toggle-switch-variant-off"),
("toilet", "toilet"),
("toolbox", "toolbox"),
("toolbox-outline", "toolbox-outline"),
("tools", "tools"),
("tooltip", "tooltip"),
("tooltip-account", "tooltip-account"),
("tooltip-cellphone", "tooltip-cellphone"),
("tooltip-check", "tooltip-check"),
("tooltip-check-outline", "tooltip-check-outline"),
("tooltip-edit", "tooltip-edit"),
("tooltip-edit-outline", "tooltip-edit-outline"),
("tooltip-image", "tooltip-image"),
("tooltip-image-outline", "tooltip-image-outline"),
("tooltip-minus", "tooltip-minus"),
("tooltip-minus-outline", "tooltip-minus-outline"),
("tooltip-outline", "tooltip-outline"),
("tooltip-plus", "tooltip-plus"),
("tooltip-plus-outline", "tooltip-plus-outline"),
("tooltip-question", "tooltip-question"),
("tooltip-question-outline", "tooltip-question-outline"),
("tooltip-remove", "tooltip-remove"),
("tooltip-remove-outline", "tooltip-remove-outline"),
("tooltip-text", "tooltip-text"),
("tooltip-text-outline", "tooltip-text-outline"),
("tooth", "tooth"),
("tooth-outline", "tooth-outline"),
("toothbrush", "toothbrush"),
("toothbrush-electric", "toothbrush-electric"),
("toothbrush-paste", "toothbrush-paste"),
("tor", "tor"),
("torch", "torch"),
("tortoise", "tortoise"),
("toslink", "toslink"),
("tournament", "tournament"),
("tow-truck", "tow-truck"),
("tower-beach", "tower-beach"),
("tower-fire", "tower-fire"),
("town-hall", "town-hall"),
("toy-brick", "toy-brick"),
("toy-brick-marker", "toy-brick-marker"),
("toy-brick-marker-outline", "toy-brick-marker-outline"),
("toy-brick-minus", "toy-brick-minus"),
("toy-brick-minus-outline", "toy-brick-minus-outline"),
("toy-brick-outline", "toy-brick-outline"),
("toy-brick-plus", "toy-brick-plus"),
("toy-brick-plus-outline", "toy-brick-plus-outline"),
("toy-brick-remove", "toy-brick-remove"),
("toy-brick-remove-outline", "toy-brick-remove-outline"),
("toy-brick-search", "toy-brick-search"),
("toy-brick-search-outline", "toy-brick-search-outline"),
("track-light", "track-light"),
("track-light-off", "track-light-off"),
("trackpad", "trackpad"),
("trackpad-lock", "trackpad-lock"),
("tractor", "tractor"),
("tractor-variant", "tractor-variant"),
("trademark", "trademark"),
("traffic-cone", "traffic-cone"),
("traffic-light", "traffic-light"),
("traffic-light-outline", "traffic-light-outline"),
("train", "train"),
("train-car", "train-car"),
("train-car-autorack", "train-car-autorack"),
("train-car-box", "train-car-box"),
("train-car-box-full", "train-car-box-full"),
("train-car-box-open", "train-car-box-open"),
("train-car-caboose", "train-car-caboose"),
("train-car-centerbeam", "train-car-centerbeam"),
("train-car-centerbeam-full", "train-car-centerbeam-full"),
("train-car-container", "train-car-container"),
("train-car-flatbed", "train-car-flatbed"),
("train-car-flatbed-car", "train-car-flatbed-car"),
("train-car-flatbed-tank", "train-car-flatbed-tank"),
("train-car-gondola", "train-car-gondola"),
("train-car-gondola-full", "train-car-gondola-full"),
("train-car-hopper", "train-car-hopper"),
("train-car-hopper-covered", "train-car-hopper-covered"),
("train-car-hopper-full", "train-car-hopper-full"),
("train-car-intermodal", "train-car-intermodal"),
("train-car-passenger", "train-car-passenger"),
("train-car-passenger-door", "train-car-passenger-door"),
("train-car-passenger-door-open", "train-car-passenger-door-open"),
("train-car-passenger-variant", "train-car-passenger-variant"),
("train-car-tank", "train-car-tank"),
("train-variant", "train-variant"),
("tram", "tram"),
("tram-side", "tram-side"),
("transcribe", "transcribe"),
("transcribe-close", "transcribe-close"),
("transfer", "transfer"),
("transfer-down", "transfer-down"),
("transfer-left", "transfer-left"),
("transfer-right", "transfer-right"),
("transfer-up", "transfer-up"),
("transit-connection", "transit-connection"),
("transit-connection-horizontal", "transit-connection-horizontal"),
("transit-connection-variant", "transit-connection-variant"),
("transit-detour", "transit-detour"),
("transit-skip", "transit-skip"),
("transit-transfer", "transit-transfer"),
("transition", "transition"),
("transition-masked", "transition-masked"),
("translate", "translate"),
("translate-off", "translate-off"),
("translate-variant", "translate-variant"),
("transmission-tower", "transmission-tower"),
("transmission-tower-export", "transmission-tower-export"),
("transmission-tower-import", "transmission-tower-import"),
("transmission-tower-off", "transmission-tower-off"),
("trash-can", "trash-can"),
("trash-can-outline", "trash-can-outline"),
("tray", "tray"),
("tray-alert", "tray-alert"),
("tray-arrow-down", "tray-arrow-down"),
("tray-arrow-up", "tray-arrow-up"),
("tray-full", "tray-full"),
("tray-minus", "tray-minus"),
("tray-plus", "tray-plus"),
("tray-remove", "tray-remove"),
("treasure-chest", "treasure-chest"),
("tree", "tree"),
("tree-outline", "tree-outline"),
("trello", "trello"),
("trending-down", "trending-down"),
("trending-neutral", "trending-neutral"),
("trending-up", "trending-up"),
("triangle", "triangle"),
("triangle-outline", "triangle-outline"),
("triangle-small-down", "triangle-small-down"),
("triangle-small-up", "triangle-small-up"),
("triangle-wave", "triangle-wave"),
("triforce", "triforce"),
("trophy", "trophy"),
("trophy-award", "trophy-award"),
("trophy-broken", "trophy-broken"),
("trophy-outline", "trophy-outline"),
("trophy-variant", "trophy-variant"),
("trophy-variant-outline", "trophy-variant-outline"),
("truck", "truck"),
("truck-alert", "truck-alert"),
("truck-alert-outline", "truck-alert-outline"),
("truck-cargo-container", "truck-cargo-container"),
("truck-check", "truck-check"),
("truck-check-outline", "truck-check-outline"),
("truck-delivery", "truck-delivery"),
("truck-delivery-outline", "truck-delivery-outline"),
("truck-fast", "truck-fast"),
("truck-fast-outline", "truck-fast-outline"),
("truck-flatbed", "truck-flatbed"),
("truck-minus", "truck-minus"),
("truck-minus-outline", "truck-minus-outline"),
("truck-outline", "truck-outline"),
("truck-plus", "truck-plus"),
("truck-plus-outline", "truck-plus-outline"),
("truck-remove", "truck-remove"),
("truck-remove-outline", "truck-remove-outline"),
("truck-snowflake", "truck-snowflake"),
("truck-trailer", "truck-trailer"),
("trumpet", "trumpet"),
("tshirt-crew", "tshirt-crew"),
("tshirt-crew-outline", "tshirt-crew-outline"),
("tshirt-v", "tshirt-v"),
("tshirt-v-outline", "tshirt-v-outline"),
("tsunami", "tsunami"),
("tumble-dryer", "tumble-dryer"),
("tumble-dryer-alert", "tumble-dryer-alert"),
("tumble-dryer-off", "tumble-dryer-off"),
("tumblr", "tumblr"),
("tumblr-box", "tumblr-box"),
("tumblr-reblog", "tumblr-reblog"),
("tune", "tune"),
("tune-variant", "tune-variant"),
("tune-vertical", "tune-vertical"),
("tune-vertical-variant", "tune-vertical-variant"),
("tunnel", "tunnel"),
("tunnel-outline", "tunnel-outline"),
("turbine", "turbine"),
("turkey", "turkey"),
("turnstile", "turnstile"),
("turnstile-outline", "turnstile-outline"),
("turtle", "turtle"),
("twitch", "twitch"),
("twitter", "twitter"),
("twitter-box", "twitter-box"),
("twitter-circle", "twitter-circle"),
("two-factor-authentication", "two-factor-authentication"),
("typewriter", "typewriter"),
("uber", "uber"),
("ubisoft", "ubisoft"),
("ubuntu", "ubuntu"),
("ufo", "ufo"),
("ufo-outline", "ufo-outline"),
("ultra-high-definition", "ultra-high-definition"),
("umbraco", "umbraco"),
("umbrella", "umbrella"),
("umbrella-beach", "umbrella-beach"),
("umbrella-beach-outline", "umbrella-beach-outline"),
("umbrella-closed", "umbrella-closed"),
("umbrella-closed-outline", "umbrella-closed-outline"),
("umbrella-closed-variant", "umbrella-closed-variant"),
("umbrella-outline", "umbrella-outline"),
("undo", "undo"),
("undo-variant", "undo-variant"),
("unfold-less-horizontal", "unfold-less-horizontal"),
("unfold-less-vertical", "unfold-less-vertical"),
("unfold-more-horizontal", "unfold-more-horizontal"),
("unfold-more-vertical", "unfold-more-vertical"),
("ungroup", "ungroup"),
("unicode", "unicode"),
("unicorn", "unicorn"),
("unicorn-variant", "unicorn-variant"),
("unicycle", "unicycle"),
("unity", "unity"),
("unreal", "unreal"),
("untappd", "untappd"),
("update", "update"),
("upload", "upload"),
("upload-lock", "upload-lock"),
("upload-lock-outline", "upload-lock-outline"),
("upload-multiple", "upload-multiple"),
("upload-network", "upload-network"),
("upload-network-outline", "upload-network-outline"),
("upload-off", "upload-off"),
("upload-off-outline", "upload-off-outline"),
("upload-outline", "upload-outline"),
("usb", "usb"),
("usb-flash-drive", "usb-flash-drive"),
("usb-flash-drive-outline", "usb-flash-drive-outline"),
("usb-port", "usb-port"),
("vacuum", "vacuum"),
("vacuum-outline", "vacuum-outline"),
("valve", "valve"),
("valve-closed", "valve-closed"),
("valve-open", "valve-open"),
("van-passenger", "van-passenger"),
("van-utility", "van-utility"),
("vanish", "vanish"),
("vanish-quarter", "vanish-quarter"),
("vanity-light", "vanity-light"),
("variable", "variable"),
("variable-box", "variable-box"),
("vector-arrange-above", "vector-arrange-above"),
("vector-arrange-below", "vector-arrange-below"),
("vector-bezier", "vector-bezier"),
("vector-circle", "vector-circle"),
("vector-circle-variant", "vector-circle-variant"),
("vector-combine", "vector-combine"),
("vector-curve", "vector-curve"),
("vector-difference", "vector-difference"),
("vector-difference-ab", "vector-difference-ab"),
("vector-difference-ba", "vector-difference-ba"),
("vector-ellipse", "vector-ellipse"),
("vector-intersection", "vector-intersection"),
("vector-line", "vector-line"),
("vector-link", "vector-link"),
("vector-point", "vector-point"),
("vector-point-edit", "vector-point-edit"),
("vector-point-minus", "vector-point-minus"),
("vector-point-plus", "vector-point-plus"),
("vector-point-select", "vector-point-select"),
("vector-polygon", "vector-polygon"),
("vector-polygon-variant", "vector-polygon-variant"),
("vector-polyline", "vector-polyline"),
("vector-polyline-edit", "vector-polyline-edit"),
("vector-polyline-minus", "vector-polyline-minus"),
("vector-polyline-plus", "vector-polyline-plus"),
("vector-polyline-remove", "vector-polyline-remove"),
("vector-radius", "vector-radius"),
("vector-rectangle", "vector-rectangle"),
("vector-selection", "vector-selection"),
("vector-square", "vector-square"),
("vector-square-close", "vector-square-close"),
("vector-square-edit", "vector-square-edit"),
("vector-square-minus", "vector-square-minus"),
("vector-square-open", "vector-square-open"),
("vector-square-plus", "vector-square-plus"),
("vector-square-remove", "vector-square-remove"),
("vector-triangle", "vector-triangle"),
("vector-union", "vector-union"),
("venmo", "venmo"),
("vhs", "vhs"),
("vibrate", "vibrate"),
("vibrate-off", "vibrate-off"),
("video", "video"),
("video-2d", "video-2d"),
("video-3d", "video-3d"),
("video-3d-off", "video-3d-off"),
("video-3d-variant", "video-3d-variant"),
("video-4k-box", "video-4k-box"),
("video-account", "video-account"),
("video-box", "video-box"),
("video-box-off", "video-box-off"),
("video-check", "video-check"),
("video-check-outline", "video-check-outline"),
("video-high-definition", "video-high-definition"),
("video-image", "video-image"),
("video-input-antenna", "video-input-antenna"),
("video-input-component", "video-input-component"),
("video-input-hdmi", "video-input-hdmi"),
("video-input-scart", "video-input-scart"),
("video-input-svideo", "video-input-svideo"),
("video-marker", "video-marker"),
("video-marker-outline", "video-marker-outline"),
("video-minus", "video-minus"),
("video-minus-outline", "video-minus-outline"),
("video-off", "video-off"),
("video-off-outline", "video-off-outline"),
("video-outline", "video-outline"),
("video-plus", "video-plus"),
("video-plus-outline", "video-plus-outline"),
("video-stabilization", "video-stabilization"),
("video-switch", "video-switch"),
("video-switch-outline", "video-switch-outline"),
("video-vintage", "video-vintage"),
("video-wireless", "video-wireless"),
("video-wireless-outline", "video-wireless-outline"),
("view-agenda", "view-agenda"),
("view-agenda-outline", "view-agenda-outline"),
("view-array", "view-array"),
("view-array-outline", "view-array-outline"),
("view-carousel", "view-carousel"),
("view-carousel-outline", "view-carousel-outline"),
("view-column", "view-column"),
("view-column-outline", "view-column-outline"),
("view-comfy", "view-comfy"),
("view-comfy-outline", "view-comfy-outline"),
("view-compact", "view-compact"),
("view-compact-outline", "view-compact-outline"),
("view-dashboard", "view-dashboard"),
("view-dashboard-edit", "view-dashboard-edit"),
("view-dashboard-edit-outline", "view-dashboard-edit-outline"),
("view-dashboard-outline", "view-dashboard-outline"),
("view-dashboard-variant", "view-dashboard-variant"),
("view-dashboard-variant-outline", "view-dashboard-variant-outline"),
("view-day", "view-day"),
("view-day-outline", "view-day-outline"),
("view-gallery", "view-gallery"),
("view-gallery-outline", "view-gallery-outline"),
("view-grid", "view-grid"),
("view-grid-outline", "view-grid-outline"),
("view-grid-plus", "view-grid-plus"),
("view-grid-plus-outline", "view-grid-plus-outline"),
("view-headline", "view-headline"),
("view-list", "view-list"),
("view-list-outline", "view-list-outline"),
("view-module", "view-module"),
("view-module-outline", "view-module-outline"),
("view-parallel", "view-parallel"),
("view-parallel-outline", "view-parallel-outline"),
("view-quilt", "view-quilt"),
("view-quilt-outline", "view-quilt-outline"),
("view-sequential", "view-sequential"),
("view-sequential-outline", "view-sequential-outline"),
("view-split-horizontal", "view-split-horizontal"),
("view-split-vertical", "view-split-vertical"),
("view-stream", "view-stream"),
("view-stream-outline", "view-stream-outline"),
("view-week", "view-week"),
("view-week-outline", "view-week-outline"),
("vimeo", "vimeo"),
("vine", "vine"),
("violin", "violin"),
("virtual-reality", "virtual-reality"),
("virus", "virus"),
("virus-off", "virus-off"),
("virus-off-outline", "virus-off-outline"),
("virus-outline", "virus-outline"),
("vk", "vk"),
("vk-box", "vk-box"),
("vk-circle", "vk-circle"),
("vlc", "vlc"),
("voicemail", "voicemail"),
("volcano", "volcano"),
("volcano-outline", "volcano-outline"),
("volleyball", "volleyball"),
("volume", "volume"),
("volume-equal", "volume-equal"),
("volume-high", "volume-high"),
("volume-low", "volume-low"),
("volume-medium", "volume-medium"),
("volume-minus", "volume-minus"),
("volume-mute", "volume-mute"),
("volume-off", "volume-off"),
("volume-plus", "volume-plus"),
("volume-source", "volume-source"),
("volume-variant-off", "volume-variant-off"),
("volume-vibrate", "volume-vibrate"),
("vote", "vote"),
("vote-outline", "vote-outline"),
("vpn", "vpn"),
("vuejs", "vuejs"),
("vuetify", "vuetify"),
("walk", "walk"),
("wall", "wall"),
("wall-fire", "wall-fire"),
("wall-sconce", "wall-sconce"),
("wall-sconce-flat", "wall-sconce-flat"),
("wall-sconce-flat-outline", "wall-sconce-flat-outline"),
("wall-sconce-flat-variant", "wall-sconce-flat-variant"),
("wall-sconce-flat-variant-outline", "wall-sconce-flat-variant-outline"),
("wall-sconce-outline", "wall-sconce-outline"),
("wall-sconce-round", "wall-sconce-round"),
("wall-sconce-round-outline", "wall-sconce-round-outline"),
("wall-sconce-round-variant", "wall-sconce-round-variant"),
("wall-sconce-round-variant-outline", "wall-sconce-round-variant-outline"),
("wall-sconce-variant", "wall-sconce-variant"),
("wallet", "wallet"),
("wallet-giftcard", "wallet-giftcard"),
("wallet-membership", "wallet-membership"),
("wallet-outline", "wallet-outline"),
("wallet-plus", "wallet-plus"),
("wallet-plus-outline", "wallet-plus-outline"),
("wallet-travel", "wallet-travel"),
("wallpaper", "wallpaper"),
("wan", "wan"),
("wardrobe", "wardrobe"),
("wardrobe-outline", "wardrobe-outline"),
("warehouse", "warehouse"),
("washing-machine", "washing-machine"),
("washing-machine-alert", "washing-machine-alert"),
("washing-machine-off", "washing-machine-off"),
("watch", "watch"),
("watch-export", "watch-export"),
("watch-export-variant", "watch-export-variant"),
("watch-import", "watch-import"),
("watch-import-variant", "watch-import-variant"),
("watch-variant", "watch-variant"),
("watch-vibrate", "watch-vibrate"),
("watch-vibrate-off", "watch-vibrate-off"),
("water", "water"),
("water-alert", "water-alert"),
("water-alert-outline", "water-alert-outline"),
("water-boiler", "water-boiler"),
("water-boiler-alert", "water-boiler-alert"),
("water-boiler-auto", "water-boiler-auto"),
("water-boiler-off", "water-boiler-off"),
("water-check", "water-check"),
("water-check-outline", "water-check-outline"),
("water-circle", "water-circle"),
("water-minus", "water-minus"),
("water-minus-outline", "water-minus-outline"),
("water-off", "water-off"),
("water-off-outline", "water-off-outline"),
("water-opacity", "water-opacity"),
("water-outline", "water-outline"),
("water-percent", "water-percent"),
("water-percent-alert", "water-percent-alert"),
("water-plus", "water-plus"),
("water-plus-outline", "water-plus-outline"),
("water-polo", "water-polo"),
("water-pump", "water-pump"),
("water-pump-off", "water-pump-off"),
("water-remove", "water-remove"),
("water-remove-outline", "water-remove-outline"),
("water-sync", "water-sync"),
("water-thermometer", "water-thermometer"),
("water-thermometer-outline", "water-thermometer-outline"),
("water-well", "water-well"),
("water-well-outline", "water-well-outline"),
("waterfall", "waterfall"),
("watering-can", "watering-can"),
("watering-can-outline", "watering-can-outline"),
("watermark", "watermark"),
("wave", "wave"),
("waveform", "waveform"),
("waves", "waves"),
("waves-arrow-left", "waves-arrow-left"),
("waves-arrow-right", "waves-arrow-right"),
("waves-arrow-up", "waves-arrow-up"),
("waze", "waze"),
("weather-cloudy", "weather-cloudy"),
("weather-cloudy-alert", "weather-cloudy-alert"),
("weather-cloudy-arrow-right", "weather-cloudy-arrow-right"),
("weather-cloudy-clock", "weather-cloudy-clock"),
("weather-dust", "weather-dust"),
("weather-fog", "weather-fog"),
("weather-hail", "weather-hail"),
("weather-hazy", "weather-hazy"),
("weather-hurricane", "weather-hurricane"),
("weather-lightning", "weather-lightning"),
("weather-lightning-rainy", "weather-lightning-rainy"),
("weather-night", "weather-night"),
("weather-night-partly-cloudy", "weather-night-partly-cloudy"),
("weather-partly-cloudy", "weather-partly-cloudy"),
("weather-partly-lightning", "weather-partly-lightning"),
("weather-partly-rainy", "weather-partly-rainy"),
("weather-partly-snowy", "weather-partly-snowy"),
("weather-partly-snowy-rainy", "weather-partly-snowy-rainy"),
("weather-pouring", "weather-pouring"),
("weather-rainy", "weather-rainy"),
("weather-snowy", "weather-snowy"),
("weather-snowy-heavy", "weather-snowy-heavy"),
("weather-snowy-rainy", "weather-snowy-rainy"),
("weather-sunny", "weather-sunny"),
("weather-sunny-alert", "weather-sunny-alert"),
("weather-sunny-off", "weather-sunny-off"),
("weather-sunset", "weather-sunset"),
("weather-sunset-down", "weather-sunset-down"),
("weather-sunset-up", "weather-sunset-up"),
("weather-tornado", "weather-tornado"),
("weather-windy", "weather-windy"),
("weather-windy-variant", "weather-windy-variant"),
("web", "web"),
("web-box", "web-box"),
("web-cancel", "web-cancel"),
("web-check", "web-check"),
("web-clock", "web-clock"),
("web-minus", "web-minus"),
("web-off", "web-off"),
("web-plus", "web-plus"),
("web-refresh", "web-refresh"),
("web-remove", "web-remove"),
("web-sync", "web-sync"),
("webcam", "webcam"),
("webcam-off", "webcam-off"),
("webhook", "webhook"),
("webpack", "webpack"),
("webrtc", "webrtc"),
("wechat", "wechat"),
("weight", "weight"),
("weight-gram", "weight-gram"),
("weight-kilogram", "weight-kilogram"),
("weight-lifter", "weight-lifter"),
("weight-pound", "weight-pound"),
("whatsapp", "whatsapp"),
("wheel-barrow", "wheel-barrow"),
("wheelchair", "wheelchair"),
("wheelchair-accessibility", "wheelchair-accessibility"),
("whistle", "whistle"),
("whistle-outline", "whistle-outline"),
("white-balance-auto", "white-balance-auto"),
("white-balance-incandescent", "white-balance-incandescent"),
("white-balance-iridescent", "white-balance-iridescent"),
("white-balance-sunny", "white-balance-sunny"),
("widgets", "widgets"),
("widgets-outline", "widgets-outline"),
("wifi", "wifi"),
("wifi-alert", "wifi-alert"),
("wifi-arrow-down", "wifi-arrow-down"),
("wifi-arrow-left", "wifi-arrow-left"),
("wifi-arrow-left-right", "wifi-arrow-left-right"),
("wifi-arrow-right", "wifi-arrow-right"),
("wifi-arrow-up", "wifi-arrow-up"),
("wifi-arrow-up-down", "wifi-arrow-up-down"),
("wifi-cancel", "wifi-cancel"),
("wifi-check", "wifi-check"),
("wifi-cog", "wifi-cog"),
("wifi-lock", "wifi-lock"),
("wifi-lock-open", "wifi-lock-open"),
("wifi-marker", "wifi-marker"),
("wifi-minus", "wifi-minus"),
("wifi-off", "wifi-off"),
("wifi-plus", "wifi-plus"),
("wifi-refresh", "wifi-refresh"),
("wifi-remove", "wifi-remove"),
("wifi-settings", "wifi-settings"),
("wifi-star", "wifi-star"),
("wifi-strength-1", "wifi-strength-1"),
("wifi-strength-1-alert", "wifi-strength-1-alert"),
("wifi-strength-1-lock", "wifi-strength-1-lock"),
("wifi-strength-1-lock-open", "wifi-strength-1-lock-open"),
("wifi-strength-2", "wifi-strength-2"),
("wifi-strength-2-alert", "wifi-strength-2-alert"),
("wifi-strength-2-lock", "wifi-strength-2-lock"),
("wifi-strength-2-lock-open", "wifi-strength-2-lock-open"),
("wifi-strength-3", "wifi-strength-3"),
("wifi-strength-3-alert", "wifi-strength-3-alert"),
("wifi-strength-3-lock", "wifi-strength-3-lock"),
("wifi-strength-3-lock-open", "wifi-strength-3-lock-open"),
("wifi-strength-4", "wifi-strength-4"),
("wifi-strength-4-alert", "wifi-strength-4-alert"),
("wifi-strength-4-lock", "wifi-strength-4-lock"),
("wifi-strength-4-lock-open", "wifi-strength-4-lock-open"),
("wifi-strength-alert-outline", "wifi-strength-alert-outline"),
("wifi-strength-lock-open-outline", "wifi-strength-lock-open-outline"),
("wifi-strength-lock-outline", "wifi-strength-lock-outline"),
("wifi-strength-off", "wifi-strength-off"),
("wifi-strength-off-outline", "wifi-strength-off-outline"),
("wifi-strength-outline", "wifi-strength-outline"),
("wifi-sync", "wifi-sync"),
("wikipedia", "wikipedia"),
("wind-power", "wind-power"),
("wind-power-outline", "wind-power-outline"),
("wind-turbine", "wind-turbine"),
("wind-turbine-alert", "wind-turbine-alert"),
("wind-turbine-check", "wind-turbine-check"),
("window-close", "window-close"),
("window-closed", "window-closed"),
("window-closed-variant", "window-closed-variant"),
("window-maximize", "window-maximize"),
("window-minimize", "window-minimize"),
("window-open", "window-open"),
("window-open-variant", "window-open-variant"),
("window-restore", "window-restore"),
("window-shutter", "window-shutter"),
("window-shutter-alert", "window-shutter-alert"),
("window-shutter-auto", "window-shutter-auto"),
("window-shutter-cog", "window-shutter-cog"),
("window-shutter-open", "window-shutter-open"),
("window-shutter-settings", "window-shutter-settings"),
("windsock", "windsock"),
("wiper", "wiper"),
("wiper-wash", "wiper-wash"),
("wiper-wash-alert", "wiper-wash-alert"),
("wizard-hat", "wizard-hat"),
("wordpress", "wordpress"),
("wrap", "wrap"),
("wrap-disabled", "wrap-disabled"),
("wrench", "wrench"),
("wrench-check", "wrench-check"),
("wrench-check-outline", "wrench-check-outline"),
("wrench-clock", "wrench-clock"),
("wrench-clock-outline", "wrench-clock-outline"),
("wrench-cog", "wrench-cog"),
("wrench-cog-outline", "wrench-cog-outline"),
("wrench-outline", "wrench-outline"),
("wunderlist", "wunderlist"),
("xamarin", "xamarin"),
("xamarin-outline", "xamarin-outline"),
("xda", "xda"),
("xing", "xing"),
("xing-circle", "xing-circle"),
("xml", "xml"),
("xmpp", "xmpp"),
("y-combinator", "y-combinator"),
("yahoo", "yahoo"),
("yammer", "yammer"),
("yeast", "yeast"),
("yelp", "yelp"),
("yin-yang", "yin-yang"),
("yoga", "yoga"),
("youtube", "youtube"),
("youtube-gaming", "youtube-gaming"),
("youtube-studio", "youtube-studio"),
("youtube-subscription", "youtube-subscription"),
("youtube-tv", "youtube-tv"),
("yurt", "yurt"),
("z-wave", "z-wave"),
("zend", "zend"),
("zigbee", "zigbee"),
("zip-box", "zip-box"),
("zip-box-outline", "zip-box-outline"),
("zip-disk", "zip-disk"),
("zodiac-aquarius", "zodiac-aquarius"),
("zodiac-aries", "zodiac-aries"),
("zodiac-cancer", "zodiac-cancer"),
("zodiac-capricorn", "zodiac-capricorn"),
("zodiac-gemini", "zodiac-gemini"),
("zodiac-leo", "zodiac-leo"),
("zodiac-libra", "zodiac-libra"),
("zodiac-pisces", "zodiac-pisces"),
("zodiac-sagittarius", "zodiac-sagittarius"),
("zodiac-scorpio", "zodiac-scorpio"),
("zodiac-taurus", "zodiac-taurus"),
("zodiac-virgo", "zodiac-virgo"),
],
max_length=50,
verbose_name="Icon",
),
),
migrations.AlterField(
model_name="dashboardwidget",
name="polymorphic_ctype",
field=models.ForeignKey(
editable=False,
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="polymorphic_%(app_label)s.%(class)s_set+",
to="contenttypes.contenttype",
),
),
migrations.AlterField(
model_name="notification",
name="icon",
field=models.CharField(
choices=[
("ab-testing", "ab-testing"),
("abacus", "abacus"),
("abjad-arabic", "abjad-arabic"),
("abjad-hebrew", "abjad-hebrew"),
("abugida-devanagari", "abugida-devanagari"),
("abugida-thai", "abugida-thai"),
("access-point", "access-point"),
("access-point-check", "access-point-check"),
("access-point-minus", "access-point-minus"),
("access-point-network", "access-point-network"),
("access-point-network-off", "access-point-network-off"),
("access-point-off", "access-point-off"),
("access-point-plus", "access-point-plus"),
("access-point-remove", "access-point-remove"),
("account", "account"),
("account-alert", "account-alert"),
("account-alert-outline", "account-alert-outline"),
("account-arrow-down", "account-arrow-down"),
("account-arrow-down-outline", "account-arrow-down-outline"),
("account-arrow-left", "account-arrow-left"),
("account-arrow-left-outline", "account-arrow-left-outline"),
("account-arrow-right", "account-arrow-right"),
("account-arrow-right-outline", "account-arrow-right-outline"),
("account-arrow-up", "account-arrow-up"),
("account-arrow-up-outline", "account-arrow-up-outline"),
("account-badge", "account-badge"),
("account-badge-outline", "account-badge-outline"),
("account-box", "account-box"),
("account-box-multiple", "account-box-multiple"),
("account-box-multiple-outline", "account-box-multiple-outline"),
("account-box-outline", "account-box-outline"),
("account-cancel", "account-cancel"),
("account-cancel-outline", "account-cancel-outline"),
("account-card", "account-card"),
("account-card-outline", "account-card-outline"),
("account-cash", "account-cash"),
("account-cash-outline", "account-cash-outline"),
("account-check", "account-check"),
("account-check-outline", "account-check-outline"),
("account-child", "account-child"),
("account-child-circle", "account-child-circle"),
("account-child-outline", "account-child-outline"),
("account-circle", "account-circle"),
("account-circle-outline", "account-circle-outline"),
("account-clock", "account-clock"),
("account-clock-outline", "account-clock-outline"),
("account-cog", "account-cog"),
("account-cog-outline", "account-cog-outline"),
("account-convert", "account-convert"),
("account-convert-outline", "account-convert-outline"),
("account-cowboy-hat", "account-cowboy-hat"),
("account-cowboy-hat-outline", "account-cowboy-hat-outline"),
("account-credit-card", "account-credit-card"),
("account-credit-card-outline", "account-credit-card-outline"),
("account-details", "account-details"),
("account-details-outline", "account-details-outline"),
("account-edit", "account-edit"),
("account-edit-outline", "account-edit-outline"),
("account-eye", "account-eye"),
("account-eye-outline", "account-eye-outline"),
("account-filter", "account-filter"),
("account-filter-outline", "account-filter-outline"),
("account-group", "account-group"),
("account-group-outline", "account-group-outline"),
("account-hard-hat", "account-hard-hat"),
("account-hard-hat-outline", "account-hard-hat-outline"),
("account-heart", "account-heart"),
("account-heart-outline", "account-heart-outline"),
("account-injury", "account-injury"),
("account-injury-outline", "account-injury-outline"),
("account-key", "account-key"),
("account-key-outline", "account-key-outline"),
("account-lock", "account-lock"),
("account-lock-open", "account-lock-open"),
("account-lock-open-outline", "account-lock-open-outline"),
("account-lock-outline", "account-lock-outline"),
("account-minus", "account-minus"),
("account-minus-outline", "account-minus-outline"),
("account-multiple", "account-multiple"),
("account-multiple-check", "account-multiple-check"),
("account-multiple-check-outline", "account-multiple-check-outline"),
("account-multiple-minus", "account-multiple-minus"),
("account-multiple-minus-outline", "account-multiple-minus-outline"),
("account-multiple-outline", "account-multiple-outline"),
("account-multiple-plus", "account-multiple-plus"),
("account-multiple-plus-outline", "account-multiple-plus-outline"),
("account-multiple-remove", "account-multiple-remove"),
("account-multiple-remove-outline", "account-multiple-remove-outline"),
("account-music", "account-music"),
("account-music-outline", "account-music-outline"),
("account-network", "account-network"),
("account-network-off", "account-network-off"),
("account-network-off-outline", "account-network-off-outline"),
("account-network-outline", "account-network-outline"),
("account-off", "account-off"),
("account-off-outline", "account-off-outline"),
("account-outline", "account-outline"),
("account-plus", "account-plus"),
("account-plus-outline", "account-plus-outline"),
("account-question", "account-question"),
("account-question-outline", "account-question-outline"),
("account-reactivate", "account-reactivate"),
("account-reactivate-outline", "account-reactivate-outline"),
("account-remove", "account-remove"),
("account-remove-outline", "account-remove-outline"),
("account-school", "account-school"),
("account-school-outline", "account-school-outline"),
("account-search", "account-search"),
("account-search-outline", "account-search-outline"),
("account-settings", "account-settings"),
("account-settings-outline", "account-settings-outline"),
("account-settings-variant", "account-settings-variant"),
("account-star", "account-star"),
("account-star-outline", "account-star-outline"),
("account-supervisor", "account-supervisor"),
("account-supervisor-circle", "account-supervisor-circle"),
("account-supervisor-circle-outline", "account-supervisor-circle-outline"),
("account-supervisor-outline", "account-supervisor-outline"),
("account-switch", "account-switch"),
("account-switch-outline", "account-switch-outline"),
("account-sync", "account-sync"),
("account-sync-outline", "account-sync-outline"),
("account-tag", "account-tag"),
("account-tag-outline", "account-tag-outline"),
("account-tie", "account-tie"),
("account-tie-hat", "account-tie-hat"),
("account-tie-hat-outline", "account-tie-hat-outline"),
("account-tie-outline", "account-tie-outline"),
("account-tie-voice", "account-tie-voice"),
("account-tie-voice-off", "account-tie-voice-off"),
("account-tie-voice-off-outline", "account-tie-voice-off-outline"),
("account-tie-voice-outline", "account-tie-voice-outline"),
("account-tie-woman", "account-tie-woman"),
("account-voice", "account-voice"),
("account-voice-off", "account-voice-off"),
("account-wrench", "account-wrench"),
("account-wrench-outline", "account-wrench-outline"),
("accusoft", "accusoft"),
("ad-choices", "ad-choices"),
("adchoices", "adchoices"),
("adjust", "adjust"),
("adobe", "adobe"),
("advertisements", "advertisements"),
("advertisements-off", "advertisements-off"),
("air-conditioner", "air-conditioner"),
("air-filter", "air-filter"),
("air-horn", "air-horn"),
("air-humidifier", "air-humidifier"),
("air-humidifier-off", "air-humidifier-off"),
("air-purifier", "air-purifier"),
("air-purifier-off", "air-purifier-off"),
("airbag", "airbag"),
("airballoon", "airballoon"),
("airballoon-outline", "airballoon-outline"),
("airplane", "airplane"),
("airplane-alert", "airplane-alert"),
("airplane-check", "airplane-check"),
("airplane-clock", "airplane-clock"),
("airplane-cog", "airplane-cog"),
("airplane-edit", "airplane-edit"),
("airplane-landing", "airplane-landing"),
("airplane-marker", "airplane-marker"),
("airplane-minus", "airplane-minus"),
("airplane-off", "airplane-off"),
("airplane-plus", "airplane-plus"),
("airplane-remove", "airplane-remove"),
("airplane-search", "airplane-search"),
("airplane-settings", "airplane-settings"),
("airplane-takeoff", "airplane-takeoff"),
("airport", "airport"),
("alarm", "alarm"),
("alarm-bell", "alarm-bell"),
("alarm-check", "alarm-check"),
("alarm-light", "alarm-light"),
("alarm-light-off", "alarm-light-off"),
("alarm-light-off-outline", "alarm-light-off-outline"),
("alarm-light-outline", "alarm-light-outline"),
("alarm-multiple", "alarm-multiple"),
("alarm-note", "alarm-note"),
("alarm-note-off", "alarm-note-off"),
("alarm-off", "alarm-off"),
("alarm-panel", "alarm-panel"),
("alarm-panel-outline", "alarm-panel-outline"),
("alarm-plus", "alarm-plus"),
("alarm-snooze", "alarm-snooze"),
("album", "album"),
("alert", "alert"),
("alert-box", "alert-box"),
("alert-box-outline", "alert-box-outline"),
("alert-circle", "alert-circle"),
("alert-circle-check", "alert-circle-check"),
("alert-circle-check-outline", "alert-circle-check-outline"),
("alert-circle-outline", "alert-circle-outline"),
("alert-decagram", "alert-decagram"),
("alert-decagram-outline", "alert-decagram-outline"),
("alert-minus", "alert-minus"),
("alert-minus-outline", "alert-minus-outline"),
("alert-octagon", "alert-octagon"),
("alert-octagon-outline", "alert-octagon-outline"),
("alert-octagram", "alert-octagram"),
("alert-octagram-outline", "alert-octagram-outline"),
("alert-outline", "alert-outline"),
("alert-plus", "alert-plus"),
("alert-plus-outline", "alert-plus-outline"),
("alert-remove", "alert-remove"),
("alert-remove-outline", "alert-remove-outline"),
("alert-rhombus", "alert-rhombus"),
("alert-rhombus-outline", "alert-rhombus-outline"),
("alien", "alien"),
("alien-outline", "alien-outline"),
("align-horizontal-center", "align-horizontal-center"),
("align-horizontal-distribute", "align-horizontal-distribute"),
("align-horizontal-left", "align-horizontal-left"),
("align-horizontal-right", "align-horizontal-right"),
("align-vertical-bottom", "align-vertical-bottom"),
("align-vertical-center", "align-vertical-center"),
("align-vertical-distribute", "align-vertical-distribute"),
("align-vertical-top", "align-vertical-top"),
("all-inclusive", "all-inclusive"),
("all-inclusive-box", "all-inclusive-box"),
("all-inclusive-box-outline", "all-inclusive-box-outline"),
("allergy", "allergy"),
("allo", "allo"),
("alpha", "alpha"),
("alpha-a", "alpha-a"),
("alpha-a-box", "alpha-a-box"),
("alpha-a-box-outline", "alpha-a-box-outline"),
("alpha-a-circle", "alpha-a-circle"),
("alpha-a-circle-outline", "alpha-a-circle-outline"),
("alpha-b", "alpha-b"),
("alpha-b-box", "alpha-b-box"),
("alpha-b-box-outline", "alpha-b-box-outline"),
("alpha-b-circle", "alpha-b-circle"),
("alpha-b-circle-outline", "alpha-b-circle-outline"),
("alpha-c", "alpha-c"),
("alpha-c-box", "alpha-c-box"),
("alpha-c-box-outline", "alpha-c-box-outline"),
("alpha-c-circle", "alpha-c-circle"),
("alpha-c-circle-outline", "alpha-c-circle-outline"),
("alpha-d", "alpha-d"),
("alpha-d-box", "alpha-d-box"),
("alpha-d-box-outline", "alpha-d-box-outline"),
("alpha-d-circle", "alpha-d-circle"),
("alpha-d-circle-outline", "alpha-d-circle-outline"),
("alpha-e", "alpha-e"),
("alpha-e-box", "alpha-e-box"),
("alpha-e-box-outline", "alpha-e-box-outline"),
("alpha-e-circle", "alpha-e-circle"),
("alpha-e-circle-outline", "alpha-e-circle-outline"),
("alpha-f", "alpha-f"),
("alpha-f-box", "alpha-f-box"),
("alpha-f-box-outline", "alpha-f-box-outline"),
("alpha-f-circle", "alpha-f-circle"),
("alpha-f-circle-outline", "alpha-f-circle-outline"),
("alpha-g", "alpha-g"),
("alpha-g-box", "alpha-g-box"),
("alpha-g-box-outline", "alpha-g-box-outline"),
("alpha-g-circle", "alpha-g-circle"),
("alpha-g-circle-outline", "alpha-g-circle-outline"),
("alpha-h", "alpha-h"),
("alpha-h-box", "alpha-h-box"),
("alpha-h-box-outline", "alpha-h-box-outline"),
("alpha-h-circle", "alpha-h-circle"),
("alpha-h-circle-outline", "alpha-h-circle-outline"),
("alpha-i", "alpha-i"),
("alpha-i-box", "alpha-i-box"),
("alpha-i-box-outline", "alpha-i-box-outline"),
("alpha-i-circle", "alpha-i-circle"),
("alpha-i-circle-outline", "alpha-i-circle-outline"),
("alpha-j", "alpha-j"),
("alpha-j-box", "alpha-j-box"),
("alpha-j-box-outline", "alpha-j-box-outline"),
("alpha-j-circle", "alpha-j-circle"),
("alpha-j-circle-outline", "alpha-j-circle-outline"),
("alpha-k", "alpha-k"),
("alpha-k-box", "alpha-k-box"),
("alpha-k-box-outline", "alpha-k-box-outline"),
("alpha-k-circle", "alpha-k-circle"),
("alpha-k-circle-outline", "alpha-k-circle-outline"),
("alpha-l", "alpha-l"),
("alpha-l-box", "alpha-l-box"),
("alpha-l-box-outline", "alpha-l-box-outline"),
("alpha-l-circle", "alpha-l-circle"),
("alpha-l-circle-outline", "alpha-l-circle-outline"),
("alpha-m", "alpha-m"),
("alpha-m-box", "alpha-m-box"),
("alpha-m-box-outline", "alpha-m-box-outline"),
("alpha-m-circle", "alpha-m-circle"),
("alpha-m-circle-outline", "alpha-m-circle-outline"),
("alpha-n", "alpha-n"),
("alpha-n-box", "alpha-n-box"),
("alpha-n-box-outline", "alpha-n-box-outline"),
("alpha-n-circle", "alpha-n-circle"),
("alpha-n-circle-outline", "alpha-n-circle-outline"),
("alpha-o", "alpha-o"),
("alpha-o-box", "alpha-o-box"),
("alpha-o-box-outline", "alpha-o-box-outline"),
("alpha-o-circle", "alpha-o-circle"),
("alpha-o-circle-outline", "alpha-o-circle-outline"),
("alpha-p", "alpha-p"),
("alpha-p-box", "alpha-p-box"),
("alpha-p-box-outline", "alpha-p-box-outline"),
("alpha-p-circle", "alpha-p-circle"),
("alpha-p-circle-outline", "alpha-p-circle-outline"),
("alpha-q", "alpha-q"),
("alpha-q-box", "alpha-q-box"),
("alpha-q-box-outline", "alpha-q-box-outline"),
("alpha-q-circle", "alpha-q-circle"),
("alpha-q-circle-outline", "alpha-q-circle-outline"),
("alpha-r", "alpha-r"),
("alpha-r-box", "alpha-r-box"),
("alpha-r-box-outline", "alpha-r-box-outline"),
("alpha-r-circle", "alpha-r-circle"),
("alpha-r-circle-outline", "alpha-r-circle-outline"),
("alpha-s", "alpha-s"),
("alpha-s-box", "alpha-s-box"),
("alpha-s-box-outline", "alpha-s-box-outline"),
("alpha-s-circle", "alpha-s-circle"),
("alpha-s-circle-outline", "alpha-s-circle-outline"),
("alpha-t", "alpha-t"),
("alpha-t-box", "alpha-t-box"),
("alpha-t-box-outline", "alpha-t-box-outline"),
("alpha-t-circle", "alpha-t-circle"),
("alpha-t-circle-outline", "alpha-t-circle-outline"),
("alpha-u", "alpha-u"),
("alpha-u-box", "alpha-u-box"),
("alpha-u-box-outline", "alpha-u-box-outline"),
("alpha-u-circle", "alpha-u-circle"),
("alpha-u-circle-outline", "alpha-u-circle-outline"),
("alpha-v", "alpha-v"),
("alpha-v-box", "alpha-v-box"),
("alpha-v-box-outline", "alpha-v-box-outline"),
("alpha-v-circle", "alpha-v-circle"),
("alpha-v-circle-outline", "alpha-v-circle-outline"),
("alpha-w", "alpha-w"),
("alpha-w-box", "alpha-w-box"),
("alpha-w-box-outline", "alpha-w-box-outline"),
("alpha-w-circle", "alpha-w-circle"),
("alpha-w-circle-outline", "alpha-w-circle-outline"),
("alpha-x", "alpha-x"),
("alpha-x-box", "alpha-x-box"),
("alpha-x-box-outline", "alpha-x-box-outline"),
("alpha-x-circle", "alpha-x-circle"),
("alpha-x-circle-outline", "alpha-x-circle-outline"),
("alpha-y", "alpha-y"),
("alpha-y-box", "alpha-y-box"),
("alpha-y-box-outline", "alpha-y-box-outline"),
("alpha-y-circle", "alpha-y-circle"),
("alpha-y-circle-outline", "alpha-y-circle-outline"),
("alpha-z", "alpha-z"),
("alpha-z-box", "alpha-z-box"),
("alpha-z-box-outline", "alpha-z-box-outline"),
("alpha-z-circle", "alpha-z-circle"),
("alpha-z-circle-outline", "alpha-z-circle-outline"),
("alphabet-aurebesh", "alphabet-aurebesh"),
("alphabet-cyrillic", "alphabet-cyrillic"),
("alphabet-greek", "alphabet-greek"),
("alphabet-latin", "alphabet-latin"),
("alphabet-piqad", "alphabet-piqad"),
("alphabet-tengwar", "alphabet-tengwar"),
("alphabetical", "alphabetical"),
("alphabetical-off", "alphabetical-off"),
("alphabetical-variant", "alphabetical-variant"),
("alphabetical-variant-off", "alphabetical-variant-off"),
("altimeter", "altimeter"),
("amazon", "amazon"),
("amazon-alexa", "amazon-alexa"),
("amazon-drive", "amazon-drive"),
("ambulance", "ambulance"),
("ammunition", "ammunition"),
("ampersand", "ampersand"),
("amplifier", "amplifier"),
("amplifier-off", "amplifier-off"),
("anchor", "anchor"),
("android", "android"),
("android-auto", "android-auto"),
("android-debug-bridge", "android-debug-bridge"),
("android-head", "android-head"),
("android-messages", "android-messages"),
("android-studio", "android-studio"),
("angle-acute", "angle-acute"),
("angle-obtuse", "angle-obtuse"),
("angle-right", "angle-right"),
("angular", "angular"),
("angularjs", "angularjs"),
("animation", "animation"),
("animation-outline", "animation-outline"),
("animation-play", "animation-play"),
("animation-play-outline", "animation-play-outline"),
("ansible", "ansible"),
("antenna", "antenna"),
("anvil", "anvil"),
("apache-kafka", "apache-kafka"),
("api", "api"),
("api-off", "api-off"),
("apple", "apple"),
("apple-finder", "apple-finder"),
("apple-icloud", "apple-icloud"),
("apple-ios", "apple-ios"),
("apple-keyboard-caps", "apple-keyboard-caps"),
("apple-keyboard-command", "apple-keyboard-command"),
("apple-keyboard-control", "apple-keyboard-control"),
("apple-keyboard-option", "apple-keyboard-option"),
("apple-keyboard-shift", "apple-keyboard-shift"),
("apple-safari", "apple-safari"),
("application", "application"),
("application-array", "application-array"),
("application-array-outline", "application-array-outline"),
("application-braces", "application-braces"),
("application-braces-outline", "application-braces-outline"),
("application-brackets", "application-brackets"),
("application-brackets-outline", "application-brackets-outline"),
("application-cog", "application-cog"),
("application-cog-outline", "application-cog-outline"),
("application-edit", "application-edit"),
("application-edit-outline", "application-edit-outline"),
("application-export", "application-export"),
("application-import", "application-import"),
("application-outline", "application-outline"),
("application-parentheses", "application-parentheses"),
("application-parentheses-outline", "application-parentheses-outline"),
("application-settings", "application-settings"),
("application-settings-outline", "application-settings-outline"),
("application-variable", "application-variable"),
("application-variable-outline", "application-variable-outline"),
("appnet", "appnet"),
("approximately-equal", "approximately-equal"),
("approximately-equal-box", "approximately-equal-box"),
("apps", "apps"),
("apps-box", "apps-box"),
("arch", "arch"),
("archive", "archive"),
("archive-alert", "archive-alert"),
("archive-alert-outline", "archive-alert-outline"),
("archive-arrow-down", "archive-arrow-down"),
("archive-arrow-down-outline", "archive-arrow-down-outline"),
("archive-arrow-up", "archive-arrow-up"),
("archive-arrow-up-outline", "archive-arrow-up-outline"),
("archive-cancel", "archive-cancel"),
("archive-cancel-outline", "archive-cancel-outline"),
("archive-check", "archive-check"),
("archive-check-outline", "archive-check-outline"),
("archive-clock", "archive-clock"),
("archive-clock-outline", "archive-clock-outline"),
("archive-cog", "archive-cog"),
("archive-cog-outline", "archive-cog-outline"),
("archive-edit", "archive-edit"),
("archive-edit-outline", "archive-edit-outline"),
("archive-eye", "archive-eye"),
("archive-eye-outline", "archive-eye-outline"),
("archive-lock", "archive-lock"),
("archive-lock-open", "archive-lock-open"),
("archive-lock-open-outline", "archive-lock-open-outline"),
("archive-lock-outline", "archive-lock-outline"),
("archive-marker", "archive-marker"),
("archive-marker-outline", "archive-marker-outline"),
("archive-minus", "archive-minus"),
("archive-minus-outline", "archive-minus-outline"),
("archive-music", "archive-music"),
("archive-music-outline", "archive-music-outline"),
("archive-off", "archive-off"),
("archive-off-outline", "archive-off-outline"),
("archive-outline", "archive-outline"),
("archive-plus", "archive-plus"),
("archive-plus-outline", "archive-plus-outline"),
("archive-refresh", "archive-refresh"),
("archive-refresh-outline", "archive-refresh-outline"),
("archive-remove", "archive-remove"),
("archive-remove-outline", "archive-remove-outline"),
("archive-search", "archive-search"),
("archive-search-outline", "archive-search-outline"),
("archive-settings", "archive-settings"),
("archive-settings-outline", "archive-settings-outline"),
("archive-star", "archive-star"),
("archive-star-outline", "archive-star-outline"),
("archive-sync", "archive-sync"),
("archive-sync-outline", "archive-sync-outline"),
("arm-flex", "arm-flex"),
("arm-flex-outline", "arm-flex-outline"),
("arrange-bring-forward", "arrange-bring-forward"),
("arrange-bring-to-front", "arrange-bring-to-front"),
("arrange-send-backward", "arrange-send-backward"),
("arrange-send-to-back", "arrange-send-to-back"),
("arrow-all", "arrow-all"),
("arrow-bottom-left", "arrow-bottom-left"),
("arrow-bottom-left-bold-box", "arrow-bottom-left-bold-box"),
("arrow-bottom-left-bold-box-outline", "arrow-bottom-left-bold-box-outline"),
("arrow-bottom-left-bold-outline", "arrow-bottom-left-bold-outline"),
("arrow-bottom-left-thick", "arrow-bottom-left-thick"),
("arrow-bottom-left-thin", "arrow-bottom-left-thin"),
(
"arrow-bottom-left-thin-circle-outline",
"arrow-bottom-left-thin-circle-outline",
),
("arrow-bottom-right", "arrow-bottom-right"),
("arrow-bottom-right-bold-box", "arrow-bottom-right-bold-box"),
("arrow-bottom-right-bold-box-outline", "arrow-bottom-right-bold-box-outline"),
("arrow-bottom-right-bold-outline", "arrow-bottom-right-bold-outline"),
("arrow-bottom-right-thick", "arrow-bottom-right-thick"),
("arrow-bottom-right-thin", "arrow-bottom-right-thin"),
(
"arrow-bottom-right-thin-circle-outline",
"arrow-bottom-right-thin-circle-outline",
),
("arrow-collapse", "arrow-collapse"),
("arrow-collapse-all", "arrow-collapse-all"),
("arrow-collapse-down", "arrow-collapse-down"),
("arrow-collapse-horizontal", "arrow-collapse-horizontal"),
("arrow-collapse-left", "arrow-collapse-left"),
("arrow-collapse-right", "arrow-collapse-right"),
("arrow-collapse-up", "arrow-collapse-up"),
("arrow-collapse-vertical", "arrow-collapse-vertical"),
("arrow-decision", "arrow-decision"),
("arrow-decision-auto", "arrow-decision-auto"),
("arrow-decision-auto-outline", "arrow-decision-auto-outline"),
("arrow-decision-outline", "arrow-decision-outline"),
("arrow-down", "arrow-down"),
("arrow-down-bold", "arrow-down-bold"),
("arrow-down-bold-box", "arrow-down-bold-box"),
("arrow-down-bold-box-outline", "arrow-down-bold-box-outline"),
("arrow-down-bold-circle", "arrow-down-bold-circle"),
("arrow-down-bold-circle-outline", "arrow-down-bold-circle-outline"),
("arrow-down-bold-hexagon-outline", "arrow-down-bold-hexagon-outline"),
("arrow-down-bold-outline", "arrow-down-bold-outline"),
("arrow-down-box", "arrow-down-box"),
("arrow-down-circle", "arrow-down-circle"),
("arrow-down-circle-outline", "arrow-down-circle-outline"),
("arrow-down-drop-circle", "arrow-down-drop-circle"),
("arrow-down-drop-circle-outline", "arrow-down-drop-circle-outline"),
("arrow-down-left", "arrow-down-left"),
("arrow-down-left-bold", "arrow-down-left-bold"),
("arrow-down-right", "arrow-down-right"),
("arrow-down-right-bold", "arrow-down-right-bold"),
("arrow-down-thick", "arrow-down-thick"),
("arrow-down-thin", "arrow-down-thin"),
("arrow-down-thin-circle-outline", "arrow-down-thin-circle-outline"),
("arrow-expand", "arrow-expand"),
("arrow-expand-all", "arrow-expand-all"),
("arrow-expand-down", "arrow-expand-down"),
("arrow-expand-horizontal", "arrow-expand-horizontal"),
("arrow-expand-left", "arrow-expand-left"),
("arrow-expand-right", "arrow-expand-right"),
("arrow-expand-up", "arrow-expand-up"),
("arrow-expand-vertical", "arrow-expand-vertical"),
("arrow-horizontal-lock", "arrow-horizontal-lock"),
("arrow-left", "arrow-left"),
("arrow-left-bold", "arrow-left-bold"),
("arrow-left-bold-box", "arrow-left-bold-box"),
("arrow-left-bold-box-outline", "arrow-left-bold-box-outline"),
("arrow-left-bold-circle", "arrow-left-bold-circle"),
("arrow-left-bold-circle-outline", "arrow-left-bold-circle-outline"),
("arrow-left-bold-hexagon-outline", "arrow-left-bold-hexagon-outline"),
("arrow-left-bold-outline", "arrow-left-bold-outline"),
("arrow-left-bottom", "arrow-left-bottom"),
("arrow-left-bottom-bold", "arrow-left-bottom-bold"),
("arrow-left-box", "arrow-left-box"),
("arrow-left-circle", "arrow-left-circle"),
("arrow-left-circle-outline", "arrow-left-circle-outline"),
("arrow-left-drop-circle", "arrow-left-drop-circle"),
("arrow-left-drop-circle-outline", "arrow-left-drop-circle-outline"),
("arrow-left-right", "arrow-left-right"),
("arrow-left-right-bold", "arrow-left-right-bold"),
("arrow-left-right-bold-outline", "arrow-left-right-bold-outline"),
("arrow-left-thick", "arrow-left-thick"),
("arrow-left-thin", "arrow-left-thin"),
("arrow-left-thin-circle-outline", "arrow-left-thin-circle-outline"),
("arrow-left-top", "arrow-left-top"),
("arrow-left-top-bold", "arrow-left-top-bold"),
("arrow-projectile", "arrow-projectile"),
("arrow-projectile-multiple", "arrow-projectile-multiple"),
("arrow-right", "arrow-right"),
("arrow-right-bold", "arrow-right-bold"),
("arrow-right-bold-box", "arrow-right-bold-box"),
("arrow-right-bold-box-outline", "arrow-right-bold-box-outline"),
("arrow-right-bold-circle", "arrow-right-bold-circle"),
("arrow-right-bold-circle-outline", "arrow-right-bold-circle-outline"),
("arrow-right-bold-hexagon-outline", "arrow-right-bold-hexagon-outline"),
("arrow-right-bold-outline", "arrow-right-bold-outline"),
("arrow-right-bottom", "arrow-right-bottom"),
("arrow-right-bottom-bold", "arrow-right-bottom-bold"),
("arrow-right-box", "arrow-right-box"),
("arrow-right-circle", "arrow-right-circle"),
("arrow-right-circle-outline", "arrow-right-circle-outline"),
("arrow-right-drop-circle", "arrow-right-drop-circle"),
("arrow-right-drop-circle-outline", "arrow-right-drop-circle-outline"),
("arrow-right-thick", "arrow-right-thick"),
("arrow-right-thin", "arrow-right-thin"),
("arrow-right-thin-circle-outline", "arrow-right-thin-circle-outline"),
("arrow-right-top", "arrow-right-top"),
("arrow-right-top-bold", "arrow-right-top-bold"),
("arrow-split-horizontal", "arrow-split-horizontal"),
("arrow-split-vertical", "arrow-split-vertical"),
("arrow-top-left", "arrow-top-left"),
("arrow-top-left-bold-box", "arrow-top-left-bold-box"),
("arrow-top-left-bold-box-outline", "arrow-top-left-bold-box-outline"),
("arrow-top-left-bold-outline", "arrow-top-left-bold-outline"),
("arrow-top-left-bottom-right", "arrow-top-left-bottom-right"),
("arrow-top-left-bottom-right-bold", "arrow-top-left-bottom-right-bold"),
("arrow-top-left-thick", "arrow-top-left-thick"),
("arrow-top-left-thin", "arrow-top-left-thin"),
("arrow-top-left-thin-circle-outline", "arrow-top-left-thin-circle-outline"),
("arrow-top-right", "arrow-top-right"),
("arrow-top-right-bold-box", "arrow-top-right-bold-box"),
("arrow-top-right-bold-box-outline", "arrow-top-right-bold-box-outline"),
("arrow-top-right-bold-outline", "arrow-top-right-bold-outline"),
("arrow-top-right-bottom-left", "arrow-top-right-bottom-left"),
("arrow-top-right-bottom-left-bold", "arrow-top-right-bottom-left-bold"),
("arrow-top-right-thick", "arrow-top-right-thick"),
("arrow-top-right-thin", "arrow-top-right-thin"),
("arrow-top-right-thin-circle-outline", "arrow-top-right-thin-circle-outline"),
("arrow-u-down-left", "arrow-u-down-left"),
("arrow-u-down-left-bold", "arrow-u-down-left-bold"),
("arrow-u-down-right", "arrow-u-down-right"),
("arrow-u-down-right-bold", "arrow-u-down-right-bold"),
("arrow-u-left-bottom", "arrow-u-left-bottom"),
("arrow-u-left-bottom-bold", "arrow-u-left-bottom-bold"),
("arrow-u-left-top", "arrow-u-left-top"),
("arrow-u-left-top-bold", "arrow-u-left-top-bold"),
("arrow-u-right-bottom", "arrow-u-right-bottom"),
("arrow-u-right-bottom-bold", "arrow-u-right-bottom-bold"),
("arrow-u-right-top", "arrow-u-right-top"),
("arrow-u-right-top-bold", "arrow-u-right-top-bold"),
("arrow-u-up-left", "arrow-u-up-left"),
("arrow-u-up-left-bold", "arrow-u-up-left-bold"),
("arrow-u-up-right", "arrow-u-up-right"),
("arrow-u-up-right-bold", "arrow-u-up-right-bold"),
("arrow-up", "arrow-up"),
("arrow-up-bold", "arrow-up-bold"),
("arrow-up-bold-box", "arrow-up-bold-box"),
("arrow-up-bold-box-outline", "arrow-up-bold-box-outline"),
("arrow-up-bold-circle", "arrow-up-bold-circle"),
("arrow-up-bold-circle-outline", "arrow-up-bold-circle-outline"),
("arrow-up-bold-hexagon-outline", "arrow-up-bold-hexagon-outline"),
("arrow-up-bold-outline", "arrow-up-bold-outline"),
("arrow-up-box", "arrow-up-box"),
("arrow-up-circle", "arrow-up-circle"),
("arrow-up-circle-outline", "arrow-up-circle-outline"),
("arrow-up-down", "arrow-up-down"),
("arrow-up-down-bold", "arrow-up-down-bold"),
("arrow-up-down-bold-outline", "arrow-up-down-bold-outline"),
("arrow-up-drop-circle", "arrow-up-drop-circle"),
("arrow-up-drop-circle-outline", "arrow-up-drop-circle-outline"),
("arrow-up-left", "arrow-up-left"),
("arrow-up-left-bold", "arrow-up-left-bold"),
("arrow-up-right", "arrow-up-right"),
("arrow-up-right-bold", "arrow-up-right-bold"),
("arrow-up-thick", "arrow-up-thick"),
("arrow-up-thin", "arrow-up-thin"),
("arrow-up-thin-circle-outline", "arrow-up-thin-circle-outline"),
("arrow-vertical-lock", "arrow-vertical-lock"),
("artboard", "artboard"),
("artstation", "artstation"),
("aspect-ratio", "aspect-ratio"),
("assistant", "assistant"),
("asterisk", "asterisk"),
("asterisk-circle-outline", "asterisk-circle-outline"),
("at", "at"),
("atlassian", "atlassian"),
("atm", "atm"),
("atom", "atom"),
("atom-variant", "atom-variant"),
("attachment", "attachment"),
("attachment-check", "attachment-check"),
("attachment-lock", "attachment-lock"),
("attachment-minus", "attachment-minus"),
("attachment-off", "attachment-off"),
("attachment-plus", "attachment-plus"),
("attachment-remove", "attachment-remove"),
("atv", "atv"),
("audio-input-rca", "audio-input-rca"),
("audio-input-stereo-minijack", "audio-input-stereo-minijack"),
("audio-input-xlr", "audio-input-xlr"),
("audio-video", "audio-video"),
("audio-video-off", "audio-video-off"),
("augmented-reality", "augmented-reality"),
("aurora", "aurora"),
("auto-download", "auto-download"),
("auto-fix", "auto-fix"),
("auto-upload", "auto-upload"),
("autorenew", "autorenew"),
("autorenew-off", "autorenew-off"),
("av-timer", "av-timer"),
("awning", "awning"),
("awning-outline", "awning-outline"),
("aws", "aws"),
("axe", "axe"),
("axe-battle", "axe-battle"),
("axis", "axis"),
("axis-arrow", "axis-arrow"),
("axis-arrow-info", "axis-arrow-info"),
("axis-arrow-lock", "axis-arrow-lock"),
("axis-lock", "axis-lock"),
("axis-x-arrow", "axis-x-arrow"),
("axis-x-arrow-lock", "axis-x-arrow-lock"),
("axis-x-rotate-clockwise", "axis-x-rotate-clockwise"),
("axis-x-rotate-counterclockwise", "axis-x-rotate-counterclockwise"),
("axis-x-y-arrow-lock", "axis-x-y-arrow-lock"),
("axis-y-arrow", "axis-y-arrow"),
("axis-y-arrow-lock", "axis-y-arrow-lock"),
("axis-y-rotate-clockwise", "axis-y-rotate-clockwise"),
("axis-y-rotate-counterclockwise", "axis-y-rotate-counterclockwise"),
("axis-z-arrow", "axis-z-arrow"),
("axis-z-arrow-lock", "axis-z-arrow-lock"),
("axis-z-rotate-clockwise", "axis-z-rotate-clockwise"),
("axis-z-rotate-counterclockwise", "axis-z-rotate-counterclockwise"),
("babel", "babel"),
("baby", "baby"),
("baby-bottle", "baby-bottle"),
("baby-bottle-outline", "baby-bottle-outline"),
("baby-buggy", "baby-buggy"),
("baby-buggy-off", "baby-buggy-off"),
("baby-carriage", "baby-carriage"),
("baby-carriage-off", "baby-carriage-off"),
("baby-face", "baby-face"),
("baby-face-outline", "baby-face-outline"),
("backburger", "backburger"),
("backspace", "backspace"),
("backspace-outline", "backspace-outline"),
("backspace-reverse", "backspace-reverse"),
("backspace-reverse-outline", "backspace-reverse-outline"),
("backup-restore", "backup-restore"),
("bacteria", "bacteria"),
("bacteria-outline", "bacteria-outline"),
("badge-account", "badge-account"),
("badge-account-alert", "badge-account-alert"),
("badge-account-alert-outline", "badge-account-alert-outline"),
("badge-account-horizontal", "badge-account-horizontal"),
("badge-account-horizontal-outline", "badge-account-horizontal-outline"),
("badge-account-outline", "badge-account-outline"),
("badminton", "badminton"),
("bag-carry-on", "bag-carry-on"),
("bag-carry-on-check", "bag-carry-on-check"),
("bag-carry-on-off", "bag-carry-on-off"),
("bag-checked", "bag-checked"),
("bag-personal", "bag-personal"),
("bag-personal-off", "bag-personal-off"),
("bag-personal-off-outline", "bag-personal-off-outline"),
("bag-personal-outline", "bag-personal-outline"),
("bag-personal-tag", "bag-personal-tag"),
("bag-personal-tag-outline", "bag-personal-tag-outline"),
("bag-suitcase", "bag-suitcase"),
("bag-suitcase-off", "bag-suitcase-off"),
("bag-suitcase-off-outline", "bag-suitcase-off-outline"),
("bag-suitcase-outline", "bag-suitcase-outline"),
("baguette", "baguette"),
("balcony", "balcony"),
("balloon", "balloon"),
("ballot", "ballot"),
("ballot-outline", "ballot-outline"),
("ballot-recount", "ballot-recount"),
("ballot-recount-outline", "ballot-recount-outline"),
("bandage", "bandage"),
("bandcamp", "bandcamp"),
("bank", "bank"),
("bank-check", "bank-check"),
("bank-circle", "bank-circle"),
("bank-circle-outline", "bank-circle-outline"),
("bank-minus", "bank-minus"),
("bank-off", "bank-off"),
("bank-off-outline", "bank-off-outline"),
("bank-outline", "bank-outline"),
("bank-plus", "bank-plus"),
("bank-remove", "bank-remove"),
("bank-transfer", "bank-transfer"),
("bank-transfer-in", "bank-transfer-in"),
("bank-transfer-out", "bank-transfer-out"),
("barcode", "barcode"),
("barcode-off", "barcode-off"),
("barcode-scan", "barcode-scan"),
("barley", "barley"),
("barley-off", "barley-off"),
("barn", "barn"),
("barrel", "barrel"),
("barrel-outline", "barrel-outline"),
("baseball", "baseball"),
("baseball-bat", "baseball-bat"),
("baseball-diamond", "baseball-diamond"),
("baseball-diamond-outline", "baseball-diamond-outline"),
("basecamp", "basecamp"),
("bash", "bash"),
("basket", "basket"),
("basket-check", "basket-check"),
("basket-check-outline", "basket-check-outline"),
("basket-fill", "basket-fill"),
("basket-minus", "basket-minus"),
("basket-minus-outline", "basket-minus-outline"),
("basket-off", "basket-off"),
("basket-off-outline", "basket-off-outline"),
("basket-outline", "basket-outline"),
("basket-plus", "basket-plus"),
("basket-plus-outline", "basket-plus-outline"),
("basket-remove", "basket-remove"),
("basket-remove-outline", "basket-remove-outline"),
("basket-unfill", "basket-unfill"),
("basketball", "basketball"),
("basketball-hoop", "basketball-hoop"),
("basketball-hoop-outline", "basketball-hoop-outline"),
("bat", "bat"),
("bathtub", "bathtub"),
("bathtub-outline", "bathtub-outline"),
("battery", "battery"),
("battery-10", "battery-10"),
("battery-10-bluetooth", "battery-10-bluetooth"),
("battery-20", "battery-20"),
("battery-20-bluetooth", "battery-20-bluetooth"),
("battery-30", "battery-30"),
("battery-30-bluetooth", "battery-30-bluetooth"),
("battery-40", "battery-40"),
("battery-40-bluetooth", "battery-40-bluetooth"),
("battery-50", "battery-50"),
("battery-50-bluetooth", "battery-50-bluetooth"),
("battery-60", "battery-60"),
("battery-60-bluetooth", "battery-60-bluetooth"),
("battery-70", "battery-70"),
("battery-70-bluetooth", "battery-70-bluetooth"),
("battery-80", "battery-80"),
("battery-80-bluetooth", "battery-80-bluetooth"),
("battery-90", "battery-90"),
("battery-90-bluetooth", "battery-90-bluetooth"),
("battery-alert", "battery-alert"),
("battery-alert-bluetooth", "battery-alert-bluetooth"),
("battery-alert-variant", "battery-alert-variant"),
("battery-alert-variant-outline", "battery-alert-variant-outline"),
("battery-arrow-down", "battery-arrow-down"),
("battery-arrow-down-outline", "battery-arrow-down-outline"),
("battery-arrow-up", "battery-arrow-up"),
("battery-arrow-up-outline", "battery-arrow-up-outline"),
("battery-bluetooth", "battery-bluetooth"),
("battery-bluetooth-variant", "battery-bluetooth-variant"),
("battery-charging", "battery-charging"),
("battery-charging-10", "battery-charging-10"),
("battery-charging-100", "battery-charging-100"),
("battery-charging-20", "battery-charging-20"),
("battery-charging-30", "battery-charging-30"),
("battery-charging-40", "battery-charging-40"),
("battery-charging-50", "battery-charging-50"),
("battery-charging-60", "battery-charging-60"),
("battery-charging-70", "battery-charging-70"),
("battery-charging-80", "battery-charging-80"),
("battery-charging-90", "battery-charging-90"),
("battery-charging-high", "battery-charging-high"),
("battery-charging-low", "battery-charging-low"),
("battery-charging-medium", "battery-charging-medium"),
("battery-charging-outline", "battery-charging-outline"),
("battery-charging-wireless", "battery-charging-wireless"),
("battery-charging-wireless-10", "battery-charging-wireless-10"),
("battery-charging-wireless-20", "battery-charging-wireless-20"),
("battery-charging-wireless-30", "battery-charging-wireless-30"),
("battery-charging-wireless-40", "battery-charging-wireless-40"),
("battery-charging-wireless-50", "battery-charging-wireless-50"),
("battery-charging-wireless-60", "battery-charging-wireless-60"),
("battery-charging-wireless-70", "battery-charging-wireless-70"),
("battery-charging-wireless-80", "battery-charging-wireless-80"),
("battery-charging-wireless-90", "battery-charging-wireless-90"),
("battery-charging-wireless-alert", "battery-charging-wireless-alert"),
("battery-charging-wireless-outline", "battery-charging-wireless-outline"),
("battery-check", "battery-check"),
("battery-check-outline", "battery-check-outline"),
("battery-clock", "battery-clock"),
("battery-clock-outline", "battery-clock-outline"),
("battery-heart", "battery-heart"),
("battery-heart-outline", "battery-heart-outline"),
("battery-heart-variant", "battery-heart-variant"),
("battery-high", "battery-high"),
("battery-lock", "battery-lock"),
("battery-lock-open", "battery-lock-open"),
("battery-low", "battery-low"),
("battery-medium", "battery-medium"),
("battery-minus", "battery-minus"),
("battery-minus-outline", "battery-minus-outline"),
("battery-minus-variant", "battery-minus-variant"),
("battery-negative", "battery-negative"),
("battery-off", "battery-off"),
("battery-off-outline", "battery-off-outline"),
("battery-outline", "battery-outline"),
("battery-plus", "battery-plus"),
("battery-plus-outline", "battery-plus-outline"),
("battery-plus-variant", "battery-plus-variant"),
("battery-positive", "battery-positive"),
("battery-remove", "battery-remove"),
("battery-remove-outline", "battery-remove-outline"),
("battery-standard", "battery-standard"),
("battery-sync", "battery-sync"),
("battery-sync-outline", "battery-sync-outline"),
("battery-unknown", "battery-unknown"),
("battery-unknown-bluetooth", "battery-unknown-bluetooth"),
("battlenet", "battlenet"),
("beach", "beach"),
("beaker", "beaker"),
("beaker-alert", "beaker-alert"),
("beaker-alert-outline", "beaker-alert-outline"),
("beaker-check", "beaker-check"),
("beaker-check-outline", "beaker-check-outline"),
("beaker-minus", "beaker-minus"),
("beaker-minus-outline", "beaker-minus-outline"),
("beaker-outline", "beaker-outline"),
("beaker-plus", "beaker-plus"),
("beaker-plus-outline", "beaker-plus-outline"),
("beaker-question", "beaker-question"),
("beaker-question-outline", "beaker-question-outline"),
("beaker-remove", "beaker-remove"),
("beaker-remove-outline", "beaker-remove-outline"),
("beam", "beam"),
("beats", "beats"),
("bed", "bed"),
("bed-clock", "bed-clock"),
("bed-double", "bed-double"),
("bed-double-outline", "bed-double-outline"),
("bed-empty", "bed-empty"),
("bed-king", "bed-king"),
("bed-king-outline", "bed-king-outline"),
("bed-outline", "bed-outline"),
("bed-queen", "bed-queen"),
("bed-queen-outline", "bed-queen-outline"),
("bed-single", "bed-single"),
("bed-single-outline", "bed-single-outline"),
("bee", "bee"),
("bee-flower", "bee-flower"),
("beehive-off-outline", "beehive-off-outline"),
("beehive-outline", "beehive-outline"),
("beekeeper", "beekeeper"),
("beer", "beer"),
("beer-outline", "beer-outline"),
("behance", "behance"),
("bell", "bell"),
("bell-alert", "bell-alert"),
("bell-alert-outline", "bell-alert-outline"),
("bell-badge", "bell-badge"),
("bell-badge-outline", "bell-badge-outline"),
("bell-cancel", "bell-cancel"),
("bell-cancel-outline", "bell-cancel-outline"),
("bell-check", "bell-check"),
("bell-check-outline", "bell-check-outline"),
("bell-circle", "bell-circle"),
("bell-circle-outline", "bell-circle-outline"),
("bell-cog", "bell-cog"),
("bell-cog-outline", "bell-cog-outline"),
("bell-minus", "bell-minus"),
("bell-minus-outline", "bell-minus-outline"),
("bell-off", "bell-off"),
("bell-off-outline", "bell-off-outline"),
("bell-outline", "bell-outline"),
("bell-plus", "bell-plus"),
("bell-plus-outline", "bell-plus-outline"),
("bell-remove", "bell-remove"),
("bell-remove-outline", "bell-remove-outline"),
("bell-ring", "bell-ring"),
("bell-ring-outline", "bell-ring-outline"),
("bell-sleep", "bell-sleep"),
("bell-sleep-outline", "bell-sleep-outline"),
("beta", "beta"),
("betamax", "betamax"),
("biathlon", "biathlon"),
("bicycle", "bicycle"),
("bicycle-basket", "bicycle-basket"),
("bicycle-cargo", "bicycle-cargo"),
("bicycle-electric", "bicycle-electric"),
("bicycle-penny-farthing", "bicycle-penny-farthing"),
("bike", "bike"),
("bike-fast", "bike-fast"),
("billboard", "billboard"),
("billiards", "billiards"),
("billiards-rack", "billiards-rack"),
("binoculars", "binoculars"),
("bio", "bio"),
("biohazard", "biohazard"),
("bird", "bird"),
("bitbucket", "bitbucket"),
("bitcoin", "bitcoin"),
("black-mesa", "black-mesa"),
("blackberry", "blackberry"),
("blender", "blender"),
("blender-outline", "blender-outline"),
("blender-software", "blender-software"),
("blinds", "blinds"),
("blinds-horizontal", "blinds-horizontal"),
("blinds-horizontal-closed", "blinds-horizontal-closed"),
("blinds-open", "blinds-open"),
("blinds-vertical", "blinds-vertical"),
("blinds-vertical-closed", "blinds-vertical-closed"),
("block-helper", "block-helper"),
("blogger", "blogger"),
("blood-bag", "blood-bag"),
("bluetooth", "bluetooth"),
("bluetooth-audio", "bluetooth-audio"),
("bluetooth-connect", "bluetooth-connect"),
("bluetooth-off", "bluetooth-off"),
("bluetooth-settings", "bluetooth-settings"),
("bluetooth-transfer", "bluetooth-transfer"),
("blur", "blur"),
("blur-linear", "blur-linear"),
("blur-off", "blur-off"),
("blur-radial", "blur-radial"),
("bolt", "bolt"),
("bomb", "bomb"),
("bomb-off", "bomb-off"),
("bone", "bone"),
("bone-off", "bone-off"),
("book", "book"),
("book-account", "book-account"),
("book-account-outline", "book-account-outline"),
("book-alert", "book-alert"),
("book-alert-outline", "book-alert-outline"),
("book-alphabet", "book-alphabet"),
("book-arrow-down", "book-arrow-down"),
("book-arrow-down-outline", "book-arrow-down-outline"),
("book-arrow-left", "book-arrow-left"),
("book-arrow-left-outline", "book-arrow-left-outline"),
("book-arrow-right", "book-arrow-right"),
("book-arrow-right-outline", "book-arrow-right-outline"),
("book-arrow-up", "book-arrow-up"),
("book-arrow-up-outline", "book-arrow-up-outline"),
("book-cancel", "book-cancel"),
("book-cancel-outline", "book-cancel-outline"),
("book-check", "book-check"),
("book-check-outline", "book-check-outline"),
("book-clock", "book-clock"),
("book-clock-outline", "book-clock-outline"),
("book-cog", "book-cog"),
("book-cog-outline", "book-cog-outline"),
("book-cross", "book-cross"),
("book-edit", "book-edit"),
("book-edit-outline", "book-edit-outline"),
("book-education", "book-education"),
("book-education-outline", "book-education-outline"),
("book-heart", "book-heart"),
("book-heart-outline", "book-heart-outline"),
("book-information-variant", "book-information-variant"),
("book-lock", "book-lock"),
("book-lock-open", "book-lock-open"),
("book-lock-open-outline", "book-lock-open-outline"),
("book-lock-outline", "book-lock-outline"),
("book-marker", "book-marker"),
("book-marker-outline", "book-marker-outline"),
("book-minus", "book-minus"),
("book-minus-multiple", "book-minus-multiple"),
("book-minus-multiple-outline", "book-minus-multiple-outline"),
("book-minus-outline", "book-minus-outline"),
("book-multiple", "book-multiple"),
("book-multiple-minus", "book-multiple-minus"),
("book-multiple-outline", "book-multiple-outline"),
("book-multiple-plus", "book-multiple-plus"),
("book-multiple-remove", "book-multiple-remove"),
("book-multiple-variant", "book-multiple-variant"),
("book-music", "book-music"),
("book-music-outline", "book-music-outline"),
("book-off", "book-off"),
("book-off-outline", "book-off-outline"),
("book-open", "book-open"),
("book-open-blank-variant", "book-open-blank-variant"),
("book-open-outline", "book-open-outline"),
("book-open-page-variant", "book-open-page-variant"),
("book-open-page-variant-outline", "book-open-page-variant-outline"),
("book-open-variant", "book-open-variant"),
("book-outline", "book-outline"),
("book-play", "book-play"),
("book-play-outline", "book-play-outline"),
("book-plus", "book-plus"),
("book-plus-multiple", "book-plus-multiple"),
("book-plus-multiple-outline", "book-plus-multiple-outline"),
("book-plus-outline", "book-plus-outline"),
("book-refresh", "book-refresh"),
("book-refresh-outline", "book-refresh-outline"),
("book-remove", "book-remove"),
("book-remove-multiple", "book-remove-multiple"),
("book-remove-multiple-outline", "book-remove-multiple-outline"),
("book-remove-outline", "book-remove-outline"),
("book-search", "book-search"),
("book-search-outline", "book-search-outline"),
("book-settings", "book-settings"),
("book-settings-outline", "book-settings-outline"),
("book-sync", "book-sync"),
("book-sync-outline", "book-sync-outline"),
("book-variant", "book-variant"),
("book-variant-multiple", "book-variant-multiple"),
("bookmark", "bookmark"),
("bookmark-box", "bookmark-box"),
("bookmark-box-multiple", "bookmark-box-multiple"),
("bookmark-box-multiple-outline", "bookmark-box-multiple-outline"),
("bookmark-box-outline", "bookmark-box-outline"),
("bookmark-check", "bookmark-check"),
("bookmark-check-outline", "bookmark-check-outline"),
("bookmark-minus", "bookmark-minus"),
("bookmark-minus-outline", "bookmark-minus-outline"),
("bookmark-multiple", "bookmark-multiple"),
("bookmark-multiple-outline", "bookmark-multiple-outline"),
("bookmark-music", "bookmark-music"),
("bookmark-music-outline", "bookmark-music-outline"),
("bookmark-off", "bookmark-off"),
("bookmark-off-outline", "bookmark-off-outline"),
("bookmark-outline", "bookmark-outline"),
("bookmark-plus", "bookmark-plus"),
("bookmark-plus-outline", "bookmark-plus-outline"),
("bookmark-remove", "bookmark-remove"),
("bookmark-remove-outline", "bookmark-remove-outline"),
("bookshelf", "bookshelf"),
("boom-gate", "boom-gate"),
("boom-gate-alert", "boom-gate-alert"),
("boom-gate-alert-outline", "boom-gate-alert-outline"),
("boom-gate-arrow-down", "boom-gate-arrow-down"),
("boom-gate-arrow-down-outline", "boom-gate-arrow-down-outline"),
("boom-gate-arrow-up", "boom-gate-arrow-up"),
("boom-gate-arrow-up-outline", "boom-gate-arrow-up-outline"),
("boom-gate-outline", "boom-gate-outline"),
("boom-gate-up", "boom-gate-up"),
("boom-gate-up-outline", "boom-gate-up-outline"),
("boombox", "boombox"),
("boomerang", "boomerang"),
("bootstrap", "bootstrap"),
("border-all", "border-all"),
("border-all-variant", "border-all-variant"),
("border-bottom", "border-bottom"),
("border-bottom-variant", "border-bottom-variant"),
("border-color", "border-color"),
("border-horizontal", "border-horizontal"),
("border-inside", "border-inside"),
("border-left", "border-left"),
("border-left-variant", "border-left-variant"),
("border-none", "border-none"),
("border-none-variant", "border-none-variant"),
("border-outside", "border-outside"),
("border-radius", "border-radius"),
("border-right", "border-right"),
("border-right-variant", "border-right-variant"),
("border-style", "border-style"),
("border-top", "border-top"),
("border-top-variant", "border-top-variant"),
("border-vertical", "border-vertical"),
("bottle-soda", "bottle-soda"),
("bottle-soda-classic", "bottle-soda-classic"),
("bottle-soda-classic-outline", "bottle-soda-classic-outline"),
("bottle-soda-outline", "bottle-soda-outline"),
("bottle-tonic", "bottle-tonic"),
("bottle-tonic-outline", "bottle-tonic-outline"),
("bottle-tonic-plus", "bottle-tonic-plus"),
("bottle-tonic-plus-outline", "bottle-tonic-plus-outline"),
("bottle-tonic-skull", "bottle-tonic-skull"),
("bottle-tonic-skull-outline", "bottle-tonic-skull-outline"),
("bottle-wine", "bottle-wine"),
("bottle-wine-outline", "bottle-wine-outline"),
("bow-arrow", "bow-arrow"),
("bow-tie", "bow-tie"),
("bowl", "bowl"),
("bowl-mix", "bowl-mix"),
("bowl-mix-outline", "bowl-mix-outline"),
("bowl-outline", "bowl-outline"),
("bowling", "bowling"),
("box", "box"),
("box-cutter", "box-cutter"),
("box-cutter-off", "box-cutter-off"),
("box-download", "box-download"),
("box-shadow", "box-shadow"),
("box-upload", "box-upload"),
("boxing-glove", "boxing-glove"),
("boxing-gloves", "boxing-gloves"),
("braille", "braille"),
("brain", "brain"),
("bread-slice", "bread-slice"),
("bread-slice-outline", "bread-slice-outline"),
("bridge", "bridge"),
("briefcase", "briefcase"),
("briefcase-account", "briefcase-account"),
("briefcase-account-outline", "briefcase-account-outline"),
("briefcase-arrow-left-right", "briefcase-arrow-left-right"),
("briefcase-arrow-left-right-outline", "briefcase-arrow-left-right-outline"),
("briefcase-arrow-up-down", "briefcase-arrow-up-down"),
("briefcase-arrow-up-down-outline", "briefcase-arrow-up-down-outline"),
("briefcase-check", "briefcase-check"),
("briefcase-check-outline", "briefcase-check-outline"),
("briefcase-clock", "briefcase-clock"),
("briefcase-clock-outline", "briefcase-clock-outline"),
("briefcase-download", "briefcase-download"),
("briefcase-download-outline", "briefcase-download-outline"),
("briefcase-edit", "briefcase-edit"),
("briefcase-edit-outline", "briefcase-edit-outline"),
("briefcase-eye", "briefcase-eye"),
("briefcase-eye-outline", "briefcase-eye-outline"),
("briefcase-minus", "briefcase-minus"),
("briefcase-minus-outline", "briefcase-minus-outline"),
("briefcase-off", "briefcase-off"),
("briefcase-off-outline", "briefcase-off-outline"),
("briefcase-outline", "briefcase-outline"),
("briefcase-plus", "briefcase-plus"),
("briefcase-plus-outline", "briefcase-plus-outline"),
("briefcase-remove", "briefcase-remove"),
("briefcase-remove-outline", "briefcase-remove-outline"),
("briefcase-search", "briefcase-search"),
("briefcase-search-outline", "briefcase-search-outline"),
("briefcase-upload", "briefcase-upload"),
("briefcase-upload-outline", "briefcase-upload-outline"),
("briefcase-variant", "briefcase-variant"),
("briefcase-variant-off", "briefcase-variant-off"),
("briefcase-variant-off-outline", "briefcase-variant-off-outline"),
("briefcase-variant-outline", "briefcase-variant-outline"),
("brightness", "brightness"),
("brightness-1", "brightness-1"),
("brightness-2", "brightness-2"),
("brightness-3", "brightness-3"),
("brightness-4", "brightness-4"),
("brightness-5", "brightness-5"),
("brightness-6", "brightness-6"),
("brightness-7", "brightness-7"),
("brightness-auto", "brightness-auto"),
("brightness-percent", "brightness-percent"),
("broadcast", "broadcast"),
("broadcast-off", "broadcast-off"),
("broom", "broom"),
("brush", "brush"),
("brush-off", "brush-off"),
("brush-outline", "brush-outline"),
("brush-variant", "brush-variant"),
("bucket", "bucket"),
("bucket-outline", "bucket-outline"),
("buffer", "buffer"),
("buffet", "buffet"),
("bug", "bug"),
("bug-check", "bug-check"),
("bug-check-outline", "bug-check-outline"),
("bug-outline", "bug-outline"),
("bug-pause", "bug-pause"),
("bug-pause-outline", "bug-pause-outline"),
("bug-play", "bug-play"),
("bug-play-outline", "bug-play-outline"),
("bug-stop", "bug-stop"),
("bug-stop-outline", "bug-stop-outline"),
("bugle", "bugle"),
("bulkhead-light", "bulkhead-light"),
("bulldozer", "bulldozer"),
("bullet", "bullet"),
("bulletin-board", "bulletin-board"),
("bullhorn", "bullhorn"),
("bullhorn-outline", "bullhorn-outline"),
("bullhorn-variant", "bullhorn-variant"),
("bullhorn-variant-outline", "bullhorn-variant-outline"),
("bullseye", "bullseye"),
("bullseye-arrow", "bullseye-arrow"),
("bulma", "bulma"),
("bunk-bed", "bunk-bed"),
("bunk-bed-outline", "bunk-bed-outline"),
("bus", "bus"),
("bus-alert", "bus-alert"),
("bus-articulated-end", "bus-articulated-end"),
("bus-articulated-front", "bus-articulated-front"),
("bus-clock", "bus-clock"),
("bus-double-decker", "bus-double-decker"),
("bus-electric", "bus-electric"),
("bus-marker", "bus-marker"),
("bus-multiple", "bus-multiple"),
("bus-school", "bus-school"),
("bus-side", "bus-side"),
("bus-stop", "bus-stop"),
("bus-stop-covered", "bus-stop-covered"),
("bus-stop-uncovered", "bus-stop-uncovered"),
("butterfly", "butterfly"),
("butterfly-outline", "butterfly-outline"),
("button-cursor", "button-cursor"),
("button-pointer", "button-pointer"),
("cabin-a-frame", "cabin-a-frame"),
("cable-data", "cable-data"),
("cached", "cached"),
("cactus", "cactus"),
("cake", "cake"),
("cake-layered", "cake-layered"),
("cake-variant", "cake-variant"),
("cake-variant-outline", "cake-variant-outline"),
("calculator", "calculator"),
("calculator-off", "calculator-off"),
("calculator-variant", "calculator-variant"),
("calculator-variant-outline", "calculator-variant-outline"),
("calendar", "calendar"),
("calendar-account", "calendar-account"),
("calendar-account-outline", "calendar-account-outline"),
("calendar-alert", "calendar-alert"),
("calendar-alert-outline", "calendar-alert-outline"),
("calendar-arrow-left", "calendar-arrow-left"),
("calendar-arrow-right", "calendar-arrow-right"),
("calendar-badge", "calendar-badge"),
("calendar-badge-outline", "calendar-badge-outline"),
("calendar-blank", "calendar-blank"),
("calendar-blank-multiple", "calendar-blank-multiple"),
("calendar-blank-outline", "calendar-blank-outline"),
("calendar-check", "calendar-check"),
("calendar-check-outline", "calendar-check-outline"),
("calendar-clock", "calendar-clock"),
("calendar-clock-outline", "calendar-clock-outline"),
("calendar-collapse-horizontal", "calendar-collapse-horizontal"),
(
"calendar-collapse-horizontal-outline",
"calendar-collapse-horizontal-outline",
),
("calendar-cursor", "calendar-cursor"),
("calendar-cursor-outline", "calendar-cursor-outline"),
("calendar-edit", "calendar-edit"),
("calendar-edit-outline", "calendar-edit-outline"),
("calendar-end", "calendar-end"),
("calendar-end-outline", "calendar-end-outline"),
("calendar-expand-horizontal", "calendar-expand-horizontal"),
("calendar-expand-horizontal-outline", "calendar-expand-horizontal-outline"),
("calendar-export", "calendar-export"),
("calendar-export-outline", "calendar-export-outline"),
("calendar-filter", "calendar-filter"),
("calendar-filter-outline", "calendar-filter-outline"),
("calendar-heart", "calendar-heart"),
("calendar-heart-outline", "calendar-heart-outline"),
("calendar-import", "calendar-import"),
("calendar-import-outline", "calendar-import-outline"),
("calendar-lock", "calendar-lock"),
("calendar-lock-open", "calendar-lock-open"),
("calendar-lock-open-outline", "calendar-lock-open-outline"),
("calendar-lock-outline", "calendar-lock-outline"),
("calendar-minus", "calendar-minus"),
("calendar-minus-outline", "calendar-minus-outline"),
("calendar-month", "calendar-month"),
("calendar-month-outline", "calendar-month-outline"),
("calendar-multiple", "calendar-multiple"),
("calendar-multiple-check", "calendar-multiple-check"),
("calendar-multiselect", "calendar-multiselect"),
("calendar-multiselect-outline", "calendar-multiselect-outline"),
("calendar-outline", "calendar-outline"),
("calendar-plus", "calendar-plus"),
("calendar-plus-outline", "calendar-plus-outline"),
("calendar-question", "calendar-question"),
("calendar-question-outline", "calendar-question-outline"),
("calendar-range", "calendar-range"),
("calendar-range-outline", "calendar-range-outline"),
("calendar-refresh", "calendar-refresh"),
("calendar-refresh-outline", "calendar-refresh-outline"),
("calendar-remove", "calendar-remove"),
("calendar-remove-outline", "calendar-remove-outline"),
("calendar-search", "calendar-search"),
("calendar-search-outline", "calendar-search-outline"),
("calendar-select", "calendar-select"),
("calendar-star", "calendar-star"),
("calendar-star-outline", "calendar-star-outline"),
("calendar-start", "calendar-start"),
("calendar-start-outline", "calendar-start-outline"),
("calendar-sync", "calendar-sync"),
("calendar-sync-outline", "calendar-sync-outline"),
("calendar-text", "calendar-text"),
("calendar-text-outline", "calendar-text-outline"),
("calendar-today", "calendar-today"),
("calendar-today-outline", "calendar-today-outline"),
("calendar-week", "calendar-week"),
("calendar-week-begin", "calendar-week-begin"),
("calendar-week-begin-outline", "calendar-week-begin-outline"),
("calendar-week-end", "calendar-week-end"),
("calendar-week-end-outline", "calendar-week-end-outline"),
("calendar-week-outline", "calendar-week-outline"),
("calendar-weekend", "calendar-weekend"),
("calendar-weekend-outline", "calendar-weekend-outline"),
("call-made", "call-made"),
("call-merge", "call-merge"),
("call-missed", "call-missed"),
("call-received", "call-received"),
("call-split", "call-split"),
("camcorder", "camcorder"),
("camcorder-off", "camcorder-off"),
("camera", "camera"),
("camera-account", "camera-account"),
("camera-burst", "camera-burst"),
("camera-control", "camera-control"),
("camera-document", "camera-document"),
("camera-document-off", "camera-document-off"),
("camera-enhance", "camera-enhance"),
("camera-enhance-outline", "camera-enhance-outline"),
("camera-flip", "camera-flip"),
("camera-flip-outline", "camera-flip-outline"),
("camera-focus", "camera-focus"),
("camera-front", "camera-front"),
("camera-front-variant", "camera-front-variant"),
("camera-gopro", "camera-gopro"),
("camera-image", "camera-image"),
("camera-iris", "camera-iris"),
("camera-lock", "camera-lock"),
("camera-lock-open", "camera-lock-open"),
("camera-lock-open-outline", "camera-lock-open-outline"),
("camera-lock-outline", "camera-lock-outline"),
("camera-marker", "camera-marker"),
("camera-marker-outline", "camera-marker-outline"),
("camera-metering-center", "camera-metering-center"),
("camera-metering-matrix", "camera-metering-matrix"),
("camera-metering-partial", "camera-metering-partial"),
("camera-metering-spot", "camera-metering-spot"),
("camera-off", "camera-off"),
("camera-off-outline", "camera-off-outline"),
("camera-outline", "camera-outline"),
("camera-party-mode", "camera-party-mode"),
("camera-plus", "camera-plus"),
("camera-plus-outline", "camera-plus-outline"),
("camera-rear", "camera-rear"),
("camera-rear-variant", "camera-rear-variant"),
("camera-retake", "camera-retake"),
("camera-retake-outline", "camera-retake-outline"),
("camera-switch", "camera-switch"),
("camera-switch-outline", "camera-switch-outline"),
("camera-timer", "camera-timer"),
("camera-wireless", "camera-wireless"),
("camera-wireless-outline", "camera-wireless-outline"),
("campfire", "campfire"),
("cancel", "cancel"),
("candelabra", "candelabra"),
("candelabra-fire", "candelabra-fire"),
("candle", "candle"),
("candy", "candy"),
("candy-off", "candy-off"),
("candy-off-outline", "candy-off-outline"),
("candy-outline", "candy-outline"),
("candycane", "candycane"),
("cannabis", "cannabis"),
("cannabis-off", "cannabis-off"),
("caps-lock", "caps-lock"),
("car", "car"),
("car-2-plus", "car-2-plus"),
("car-3-plus", "car-3-plus"),
("car-arrow-left", "car-arrow-left"),
("car-arrow-right", "car-arrow-right"),
("car-back", "car-back"),
("car-battery", "car-battery"),
("car-brake-abs", "car-brake-abs"),
("car-brake-alert", "car-brake-alert"),
("car-brake-fluid-level", "car-brake-fluid-level"),
("car-brake-hold", "car-brake-hold"),
("car-brake-low-pressure", "car-brake-low-pressure"),
("car-brake-parking", "car-brake-parking"),
("car-brake-retarder", "car-brake-retarder"),
("car-brake-temperature", "car-brake-temperature"),
("car-brake-worn-linings", "car-brake-worn-linings"),
("car-child-seat", "car-child-seat"),
("car-clock", "car-clock"),
("car-clutch", "car-clutch"),
("car-cog", "car-cog"),
("car-connected", "car-connected"),
("car-convertable", "car-convertable"),
("car-convertible", "car-convertible"),
("car-coolant-level", "car-coolant-level"),
("car-cruise-control", "car-cruise-control"),
("car-defrost-front", "car-defrost-front"),
("car-defrost-rear", "car-defrost-rear"),
("car-door", "car-door"),
("car-door-lock", "car-door-lock"),
("car-electric", "car-electric"),
("car-electric-outline", "car-electric-outline"),
("car-emergency", "car-emergency"),
("car-esp", "car-esp"),
("car-estate", "car-estate"),
("car-hatchback", "car-hatchback"),
("car-info", "car-info"),
("car-key", "car-key"),
("car-lifted-pickup", "car-lifted-pickup"),
("car-light-alert", "car-light-alert"),
("car-light-dimmed", "car-light-dimmed"),
("car-light-fog", "car-light-fog"),
("car-light-high", "car-light-high"),
("car-limousine", "car-limousine"),
("car-multiple", "car-multiple"),
("car-off", "car-off"),
("car-outline", "car-outline"),
("car-parking-lights", "car-parking-lights"),
("car-pickup", "car-pickup"),
("car-search", "car-search"),
("car-search-outline", "car-search-outline"),
("car-seat", "car-seat"),
("car-seat-cooler", "car-seat-cooler"),
("car-seat-heater", "car-seat-heater"),
("car-select", "car-select"),
("car-settings", "car-settings"),
("car-shift-pattern", "car-shift-pattern"),
("car-side", "car-side"),
("car-speed-limiter", "car-speed-limiter"),
("car-sports", "car-sports"),
("car-tire-alert", "car-tire-alert"),
("car-traction-control", "car-traction-control"),
("car-turbocharger", "car-turbocharger"),
("car-wash", "car-wash"),
("car-windshield", "car-windshield"),
("car-windshield-outline", "car-windshield-outline"),
("car-wireless", "car-wireless"),
("car-wrench", "car-wrench"),
("carabiner", "carabiner"),
("caravan", "caravan"),
("card", "card"),
("card-account-details", "card-account-details"),
("card-account-details-outline", "card-account-details-outline"),
("card-account-details-star", "card-account-details-star"),
("card-account-details-star-outline", "card-account-details-star-outline"),
("card-account-mail", "card-account-mail"),
("card-account-mail-outline", "card-account-mail-outline"),
("card-account-phone", "card-account-phone"),
("card-account-phone-outline", "card-account-phone-outline"),
("card-bulleted", "card-bulleted"),
("card-bulleted-off", "card-bulleted-off"),
("card-bulleted-off-outline", "card-bulleted-off-outline"),
("card-bulleted-outline", "card-bulleted-outline"),
("card-bulleted-settings", "card-bulleted-settings"),
("card-bulleted-settings-outline", "card-bulleted-settings-outline"),
("card-minus", "card-minus"),
("card-minus-outline", "card-minus-outline"),
("card-multiple", "card-multiple"),
("card-multiple-outline", "card-multiple-outline"),
("card-off", "card-off"),
("card-off-outline", "card-off-outline"),
("card-outline", "card-outline"),
("card-plus", "card-plus"),
("card-plus-outline", "card-plus-outline"),
("card-remove", "card-remove"),
("card-remove-outline", "card-remove-outline"),
("card-search", "card-search"),
("card-search-outline", "card-search-outline"),
("card-text", "card-text"),
("card-text-outline", "card-text-outline"),
("cards", "cards"),
("cards-club", "cards-club"),
("cards-club-outline", "cards-club-outline"),
("cards-diamond", "cards-diamond"),
("cards-diamond-outline", "cards-diamond-outline"),
("cards-heart", "cards-heart"),
("cards-heart-outline", "cards-heart-outline"),
("cards-outline", "cards-outline"),
("cards-playing", "cards-playing"),
("cards-playing-club", "cards-playing-club"),
("cards-playing-club-multiple", "cards-playing-club-multiple"),
("cards-playing-club-multiple-outline", "cards-playing-club-multiple-outline"),
("cards-playing-club-outline", "cards-playing-club-outline"),
("cards-playing-diamond", "cards-playing-diamond"),
("cards-playing-diamond-multiple", "cards-playing-diamond-multiple"),
(
"cards-playing-diamond-multiple-outline",
"cards-playing-diamond-multiple-outline",
),
("cards-playing-diamond-outline", "cards-playing-diamond-outline"),
("cards-playing-heart", "cards-playing-heart"),
("cards-playing-heart-multiple", "cards-playing-heart-multiple"),
(
"cards-playing-heart-multiple-outline",
"cards-playing-heart-multiple-outline",
),
("cards-playing-heart-outline", "cards-playing-heart-outline"),
("cards-playing-outline", "cards-playing-outline"),
("cards-playing-spade", "cards-playing-spade"),
("cards-playing-spade-multiple", "cards-playing-spade-multiple"),
(
"cards-playing-spade-multiple-outline",
"cards-playing-spade-multiple-outline",
),
("cards-playing-spade-outline", "cards-playing-spade-outline"),
("cards-spade", "cards-spade"),
("cards-spade-outline", "cards-spade-outline"),
("cards-variant", "cards-variant"),
("carrot", "carrot"),
("cart", "cart"),
("cart-arrow-down", "cart-arrow-down"),
("cart-arrow-right", "cart-arrow-right"),
("cart-arrow-up", "cart-arrow-up"),
("cart-check", "cart-check"),
("cart-heart", "cart-heart"),
("cart-minus", "cart-minus"),
("cart-off", "cart-off"),
("cart-outline", "cart-outline"),
("cart-percent", "cart-percent"),
("cart-plus", "cart-plus"),
("cart-remove", "cart-remove"),
("cart-variant", "cart-variant"),
("case-sensitive-alt", "case-sensitive-alt"),
("cash", "cash"),
("cash-100", "cash-100"),
("cash-check", "cash-check"),
("cash-clock", "cash-clock"),
("cash-fast", "cash-fast"),
("cash-lock", "cash-lock"),
("cash-lock-open", "cash-lock-open"),
("cash-marker", "cash-marker"),
("cash-minus", "cash-minus"),
("cash-multiple", "cash-multiple"),
("cash-plus", "cash-plus"),
("cash-refund", "cash-refund"),
("cash-register", "cash-register"),
("cash-remove", "cash-remove"),
("cash-sync", "cash-sync"),
("cash-usd", "cash-usd"),
("cash-usd-outline", "cash-usd-outline"),
("cassette", "cassette"),
("cast", "cast"),
("cast-audio", "cast-audio"),
("cast-audio-variant", "cast-audio-variant"),
("cast-connected", "cast-connected"),
("cast-education", "cast-education"),
("cast-off", "cast-off"),
("cast-variant", "cast-variant"),
("castle", "castle"),
("cat", "cat"),
("cctv", "cctv"),
("cctv-off", "cctv-off"),
("ceiling-fan", "ceiling-fan"),
("ceiling-fan-light", "ceiling-fan-light"),
("ceiling-light", "ceiling-light"),
("ceiling-light-multiple", "ceiling-light-multiple"),
("ceiling-light-multiple-outline", "ceiling-light-multiple-outline"),
("ceiling-light-outline", "ceiling-light-outline"),
("cellphone", "cellphone"),
("cellphone-android", "cellphone-android"),
("cellphone-arrow-down", "cellphone-arrow-down"),
("cellphone-arrow-down-variant", "cellphone-arrow-down-variant"),
("cellphone-basic", "cellphone-basic"),
("cellphone-charging", "cellphone-charging"),
("cellphone-check", "cellphone-check"),
("cellphone-cog", "cellphone-cog"),
("cellphone-dock", "cellphone-dock"),
("cellphone-information", "cellphone-information"),
("cellphone-iphone", "cellphone-iphone"),
("cellphone-key", "cellphone-key"),
("cellphone-link", "cellphone-link"),
("cellphone-link-off", "cellphone-link-off"),
("cellphone-lock", "cellphone-lock"),
("cellphone-marker", "cellphone-marker"),
("cellphone-message", "cellphone-message"),
("cellphone-message-off", "cellphone-message-off"),
("cellphone-nfc", "cellphone-nfc"),
("cellphone-nfc-off", "cellphone-nfc-off"),
("cellphone-off", "cellphone-off"),
("cellphone-play", "cellphone-play"),
("cellphone-remove", "cellphone-remove"),
("cellphone-screenshot", "cellphone-screenshot"),
("cellphone-settings", "cellphone-settings"),
("cellphone-sound", "cellphone-sound"),
("cellphone-text", "cellphone-text"),
("cellphone-wireless", "cellphone-wireless"),
("centos", "centos"),
("certificate", "certificate"),
("certificate-outline", "certificate-outline"),
("chair-rolling", "chair-rolling"),
("chair-school", "chair-school"),
("chandelier", "chandelier"),
("charity", "charity"),
("chart-arc", "chart-arc"),
("chart-areaspline", "chart-areaspline"),
("chart-areaspline-variant", "chart-areaspline-variant"),
("chart-bar", "chart-bar"),
("chart-bar-stacked", "chart-bar-stacked"),
("chart-bell-curve", "chart-bell-curve"),
("chart-bell-curve-cumulative", "chart-bell-curve-cumulative"),
("chart-box", "chart-box"),
("chart-box-outline", "chart-box-outline"),
("chart-box-plus-outline", "chart-box-plus-outline"),
("chart-bubble", "chart-bubble"),
("chart-donut", "chart-donut"),
("chart-donut-variant", "chart-donut-variant"),
("chart-gantt", "chart-gantt"),
("chart-histogram", "chart-histogram"),
("chart-line", "chart-line"),
("chart-line-stacked", "chart-line-stacked"),
("chart-line-variant", "chart-line-variant"),
("chart-multiline", "chart-multiline"),
("chart-multiple", "chart-multiple"),
("chart-pie", "chart-pie"),
("chart-pie-outline", "chart-pie-outline"),
("chart-ppf", "chart-ppf"),
("chart-sankey", "chart-sankey"),
("chart-sankey-variant", "chart-sankey-variant"),
("chart-scatter-plot", "chart-scatter-plot"),
("chart-scatter-plot-hexbin", "chart-scatter-plot-hexbin"),
("chart-timeline", "chart-timeline"),
("chart-timeline-variant", "chart-timeline-variant"),
("chart-timeline-variant-shimmer", "chart-timeline-variant-shimmer"),
("chart-tree", "chart-tree"),
("chart-waterfall", "chart-waterfall"),
("chat", "chat"),
("chat-alert", "chat-alert"),
("chat-alert-outline", "chat-alert-outline"),
("chat-minus", "chat-minus"),
("chat-minus-outline", "chat-minus-outline"),
("chat-outline", "chat-outline"),
("chat-plus", "chat-plus"),
("chat-plus-outline", "chat-plus-outline"),
("chat-processing", "chat-processing"),
("chat-processing-outline", "chat-processing-outline"),
("chat-question", "chat-question"),
("chat-question-outline", "chat-question-outline"),
("chat-remove", "chat-remove"),
("chat-remove-outline", "chat-remove-outline"),
("chat-sleep", "chat-sleep"),
("chat-sleep-outline", "chat-sleep-outline"),
("check", "check"),
("check-all", "check-all"),
("check-bold", "check-bold"),
("check-bookmark", "check-bookmark"),
("check-circle", "check-circle"),
("check-circle-outline", "check-circle-outline"),
("check-decagram", "check-decagram"),
("check-decagram-outline", "check-decagram-outline"),
("check-network", "check-network"),
("check-network-outline", "check-network-outline"),
("check-outline", "check-outline"),
("check-underline", "check-underline"),
("check-underline-circle", "check-underline-circle"),
("check-underline-circle-outline", "check-underline-circle-outline"),
("checkbook", "checkbook"),
("checkbox-blank", "checkbox-blank"),
("checkbox-blank-badge", "checkbox-blank-badge"),
("checkbox-blank-badge-outline", "checkbox-blank-badge-outline"),
("checkbox-blank-circle", "checkbox-blank-circle"),
("checkbox-blank-circle-outline", "checkbox-blank-circle-outline"),
("checkbox-blank-off", "checkbox-blank-off"),
("checkbox-blank-off-outline", "checkbox-blank-off-outline"),
("checkbox-blank-outline", "checkbox-blank-outline"),
("checkbox-indeterminate", "checkbox-indeterminate"),
("checkbox-intermediate", "checkbox-intermediate"),
("checkbox-intermediate-variant", "checkbox-intermediate-variant"),
("checkbox-marked", "checkbox-marked"),
("checkbox-marked-circle", "checkbox-marked-circle"),
("checkbox-marked-circle-outline", "checkbox-marked-circle-outline"),
("checkbox-marked-circle-plus-outline", "checkbox-marked-circle-plus-outline"),
("checkbox-marked-outline", "checkbox-marked-outline"),
("checkbox-multiple-blank", "checkbox-multiple-blank"),
("checkbox-multiple-blank-circle", "checkbox-multiple-blank-circle"),
(
"checkbox-multiple-blank-circle-outline",
"checkbox-multiple-blank-circle-outline",
),
("checkbox-multiple-blank-outline", "checkbox-multiple-blank-outline"),
("checkbox-multiple-marked", "checkbox-multiple-marked"),
("checkbox-multiple-marked-circle", "checkbox-multiple-marked-circle"),
(
"checkbox-multiple-marked-circle-outline",
"checkbox-multiple-marked-circle-outline",
),
("checkbox-multiple-marked-outline", "checkbox-multiple-marked-outline"),
("checkbox-multiple-outline", "checkbox-multiple-outline"),
("checkbox-outline", "checkbox-outline"),
("checkerboard", "checkerboard"),
("checkerboard-minus", "checkerboard-minus"),
("checkerboard-plus", "checkerboard-plus"),
("checkerboard-remove", "checkerboard-remove"),
("cheese", "cheese"),
("cheese-off", "cheese-off"),
("chef-hat", "chef-hat"),
("chemical-weapon", "chemical-weapon"),
("chess-bishop", "chess-bishop"),
("chess-king", "chess-king"),
("chess-knight", "chess-knight"),
("chess-pawn", "chess-pawn"),
("chess-queen", "chess-queen"),
("chess-rook", "chess-rook"),
("chevron-double-down", "chevron-double-down"),
("chevron-double-left", "chevron-double-left"),
("chevron-double-right", "chevron-double-right"),
("chevron-double-up", "chevron-double-up"),
("chevron-down", "chevron-down"),
("chevron-down-box", "chevron-down-box"),
("chevron-down-box-outline", "chevron-down-box-outline"),
("chevron-down-circle", "chevron-down-circle"),
("chevron-down-circle-outline", "chevron-down-circle-outline"),
("chevron-left", "chevron-left"),
("chevron-left-box", "chevron-left-box"),
("chevron-left-box-outline", "chevron-left-box-outline"),
("chevron-left-circle", "chevron-left-circle"),
("chevron-left-circle-outline", "chevron-left-circle-outline"),
("chevron-right", "chevron-right"),
("chevron-right-box", "chevron-right-box"),
("chevron-right-box-outline", "chevron-right-box-outline"),
("chevron-right-circle", "chevron-right-circle"),
("chevron-right-circle-outline", "chevron-right-circle-outline"),
("chevron-triple-down", "chevron-triple-down"),
("chevron-triple-left", "chevron-triple-left"),
("chevron-triple-right", "chevron-triple-right"),
("chevron-triple-up", "chevron-triple-up"),
("chevron-up", "chevron-up"),
("chevron-up-box", "chevron-up-box"),
("chevron-up-box-outline", "chevron-up-box-outline"),
("chevron-up-circle", "chevron-up-circle"),
("chevron-up-circle-outline", "chevron-up-circle-outline"),
("chili-alert", "chili-alert"),
("chili-alert-outline", "chili-alert-outline"),
("chili-hot", "chili-hot"),
("chili-hot-outline", "chili-hot-outline"),
("chili-medium", "chili-medium"),
("chili-medium-outline", "chili-medium-outline"),
("chili-mild", "chili-mild"),
("chili-mild-outline", "chili-mild-outline"),
("chili-off", "chili-off"),
("chili-off-outline", "chili-off-outline"),
("chip", "chip"),
("church", "church"),
("church-outline", "church-outline"),
("cigar", "cigar"),
("cigar-off", "cigar-off"),
("circle", "circle"),
("circle-box", "circle-box"),
("circle-box-outline", "circle-box-outline"),
("circle-double", "circle-double"),
("circle-edit-outline", "circle-edit-outline"),
("circle-expand", "circle-expand"),
("circle-half", "circle-half"),
("circle-half-full", "circle-half-full"),
("circle-medium", "circle-medium"),
("circle-multiple", "circle-multiple"),
("circle-multiple-outline", "circle-multiple-outline"),
("circle-off-outline", "circle-off-outline"),
("circle-opacity", "circle-opacity"),
("circle-outline", "circle-outline"),
("circle-slice-1", "circle-slice-1"),
("circle-slice-2", "circle-slice-2"),
("circle-slice-3", "circle-slice-3"),
("circle-slice-4", "circle-slice-4"),
("circle-slice-5", "circle-slice-5"),
("circle-slice-6", "circle-slice-6"),
("circle-slice-7", "circle-slice-7"),
("circle-slice-8", "circle-slice-8"),
("circle-small", "circle-small"),
("circular-saw", "circular-saw"),
("cisco-webex", "cisco-webex"),
("city", "city"),
("city-variant", "city-variant"),
("city-variant-outline", "city-variant-outline"),
("clipboard", "clipboard"),
("clipboard-account", "clipboard-account"),
("clipboard-account-outline", "clipboard-account-outline"),
("clipboard-alert", "clipboard-alert"),
("clipboard-alert-outline", "clipboard-alert-outline"),
("clipboard-arrow-down", "clipboard-arrow-down"),
("clipboard-arrow-down-outline", "clipboard-arrow-down-outline"),
("clipboard-arrow-left", "clipboard-arrow-left"),
("clipboard-arrow-left-outline", "clipboard-arrow-left-outline"),
("clipboard-arrow-right", "clipboard-arrow-right"),
("clipboard-arrow-right-outline", "clipboard-arrow-right-outline"),
("clipboard-arrow-up", "clipboard-arrow-up"),
("clipboard-arrow-up-outline", "clipboard-arrow-up-outline"),
("clipboard-check", "clipboard-check"),
("clipboard-check-multiple", "clipboard-check-multiple"),
("clipboard-check-multiple-outline", "clipboard-check-multiple-outline"),
("clipboard-check-outline", "clipboard-check-outline"),
("clipboard-clock", "clipboard-clock"),
("clipboard-clock-outline", "clipboard-clock-outline"),
("clipboard-edit", "clipboard-edit"),
("clipboard-edit-outline", "clipboard-edit-outline"),
("clipboard-file", "clipboard-file"),
("clipboard-file-outline", "clipboard-file-outline"),
("clipboard-flow", "clipboard-flow"),
("clipboard-flow-outline", "clipboard-flow-outline"),
("clipboard-list", "clipboard-list"),
("clipboard-list-outline", "clipboard-list-outline"),
("clipboard-minus", "clipboard-minus"),
("clipboard-minus-outline", "clipboard-minus-outline"),
("clipboard-multiple", "clipboard-multiple"),
("clipboard-multiple-outline", "clipboard-multiple-outline"),
("clipboard-off", "clipboard-off"),
("clipboard-off-outline", "clipboard-off-outline"),
("clipboard-outline", "clipboard-outline"),
("clipboard-play", "clipboard-play"),
("clipboard-play-multiple", "clipboard-play-multiple"),
("clipboard-play-multiple-outline", "clipboard-play-multiple-outline"),
("clipboard-play-outline", "clipboard-play-outline"),
("clipboard-plus", "clipboard-plus"),
("clipboard-plus-outline", "clipboard-plus-outline"),
("clipboard-pulse", "clipboard-pulse"),
("clipboard-pulse-outline", "clipboard-pulse-outline"),
("clipboard-remove", "clipboard-remove"),
("clipboard-remove-outline", "clipboard-remove-outline"),
("clipboard-search", "clipboard-search"),
("clipboard-search-outline", "clipboard-search-outline"),
("clipboard-text", "clipboard-text"),
("clipboard-text-clock", "clipboard-text-clock"),
("clipboard-text-clock-outline", "clipboard-text-clock-outline"),
("clipboard-text-multiple", "clipboard-text-multiple"),
("clipboard-text-multiple-outline", "clipboard-text-multiple-outline"),
("clipboard-text-off", "clipboard-text-off"),
("clipboard-text-off-outline", "clipboard-text-off-outline"),
("clipboard-text-outline", "clipboard-text-outline"),
("clipboard-text-play", "clipboard-text-play"),
("clipboard-text-play-outline", "clipboard-text-play-outline"),
("clipboard-text-search", "clipboard-text-search"),
("clipboard-text-search-outline", "clipboard-text-search-outline"),
("clippy", "clippy"),
("clock", "clock"),
("clock-alert", "clock-alert"),
("clock-alert-outline", "clock-alert-outline"),
("clock-check", "clock-check"),
("clock-check-outline", "clock-check-outline"),
("clock-digital", "clock-digital"),
("clock-edit", "clock-edit"),
("clock-edit-outline", "clock-edit-outline"),
("clock-end", "clock-end"),
("clock-fast", "clock-fast"),
("clock-in", "clock-in"),
("clock-minus", "clock-minus"),
("clock-minus-outline", "clock-minus-outline"),
("clock-out", "clock-out"),
("clock-outline", "clock-outline"),
("clock-plus", "clock-plus"),
("clock-plus-outline", "clock-plus-outline"),
("clock-remove", "clock-remove"),
("clock-remove-outline", "clock-remove-outline"),
("clock-start", "clock-start"),
("clock-time-eight", "clock-time-eight"),
("clock-time-eight-outline", "clock-time-eight-outline"),
("clock-time-eleven", "clock-time-eleven"),
("clock-time-eleven-outline", "clock-time-eleven-outline"),
("clock-time-five", "clock-time-five"),
("clock-time-five-outline", "clock-time-five-outline"),
("clock-time-four", "clock-time-four"),
("clock-time-four-outline", "clock-time-four-outline"),
("clock-time-nine", "clock-time-nine"),
("clock-time-nine-outline", "clock-time-nine-outline"),
("clock-time-one", "clock-time-one"),
("clock-time-one-outline", "clock-time-one-outline"),
("clock-time-seven", "clock-time-seven"),
("clock-time-seven-outline", "clock-time-seven-outline"),
("clock-time-six", "clock-time-six"),
("clock-time-six-outline", "clock-time-six-outline"),
("clock-time-ten", "clock-time-ten"),
("clock-time-ten-outline", "clock-time-ten-outline"),
("clock-time-three", "clock-time-three"),
("clock-time-three-outline", "clock-time-three-outline"),
("clock-time-twelve", "clock-time-twelve"),
("clock-time-twelve-outline", "clock-time-twelve-outline"),
("clock-time-two", "clock-time-two"),
("clock-time-two-outline", "clock-time-two-outline"),
("close", "close"),
("close-box", "close-box"),
("close-box-multiple", "close-box-multiple"),
("close-box-multiple-outline", "close-box-multiple-outline"),
("close-box-outline", "close-box-outline"),
("close-circle", "close-circle"),
("close-circle-multiple", "close-circle-multiple"),
("close-circle-multiple-outline", "close-circle-multiple-outline"),
("close-circle-outline", "close-circle-outline"),
("close-network", "close-network"),
("close-network-outline", "close-network-outline"),
("close-octagon", "close-octagon"),
("close-octagon-outline", "close-octagon-outline"),
("close-outline", "close-outline"),
("close-thick", "close-thick"),
("closed-caption", "closed-caption"),
("closed-caption-outline", "closed-caption-outline"),
("cloud", "cloud"),
("cloud-alert", "cloud-alert"),
("cloud-alert-outline", "cloud-alert-outline"),
("cloud-arrow-down", "cloud-arrow-down"),
("cloud-arrow-down-outline", "cloud-arrow-down-outline"),
("cloud-arrow-left", "cloud-arrow-left"),
("cloud-arrow-left-outline", "cloud-arrow-left-outline"),
("cloud-arrow-right", "cloud-arrow-right"),
("cloud-arrow-right-outline", "cloud-arrow-right-outline"),
("cloud-arrow-up", "cloud-arrow-up"),
("cloud-arrow-up-outline", "cloud-arrow-up-outline"),
("cloud-braces", "cloud-braces"),
("cloud-cancel", "cloud-cancel"),
("cloud-cancel-outline", "cloud-cancel-outline"),
("cloud-check", "cloud-check"),
("cloud-check-outline", "cloud-check-outline"),
("cloud-check-variant", "cloud-check-variant"),
("cloud-check-variant-outline", "cloud-check-variant-outline"),
("cloud-circle", "cloud-circle"),
("cloud-circle-outline", "cloud-circle-outline"),
("cloud-clock", "cloud-clock"),
("cloud-clock-outline", "cloud-clock-outline"),
("cloud-cog", "cloud-cog"),
("cloud-cog-outline", "cloud-cog-outline"),
("cloud-download", "cloud-download"),
("cloud-download-outline", "cloud-download-outline"),
("cloud-lock", "cloud-lock"),
("cloud-lock-open", "cloud-lock-open"),
("cloud-lock-open-outline", "cloud-lock-open-outline"),
("cloud-lock-outline", "cloud-lock-outline"),
("cloud-minus", "cloud-minus"),
("cloud-minus-outline", "cloud-minus-outline"),
("cloud-off", "cloud-off"),
("cloud-off-outline", "cloud-off-outline"),
("cloud-outline", "cloud-outline"),
("cloud-percent", "cloud-percent"),
("cloud-percent-outline", "cloud-percent-outline"),
("cloud-plus", "cloud-plus"),
("cloud-plus-outline", "cloud-plus-outline"),
("cloud-print", "cloud-print"),
("cloud-print-outline", "cloud-print-outline"),
("cloud-question", "cloud-question"),
("cloud-question-outline", "cloud-question-outline"),
("cloud-refresh", "cloud-refresh"),
("cloud-refresh-outline", "cloud-refresh-outline"),
("cloud-refresh-variant", "cloud-refresh-variant"),
("cloud-refresh-variant-outline", "cloud-refresh-variant-outline"),
("cloud-remove", "cloud-remove"),
("cloud-remove-outline", "cloud-remove-outline"),
("cloud-search", "cloud-search"),
("cloud-search-outline", "cloud-search-outline"),
("cloud-sync", "cloud-sync"),
("cloud-sync-outline", "cloud-sync-outline"),
("cloud-tags", "cloud-tags"),
("cloud-upload", "cloud-upload"),
("cloud-upload-outline", "cloud-upload-outline"),
("clouds", "clouds"),
("clover", "clover"),
("coach-lamp", "coach-lamp"),
("coach-lamp-variant", "coach-lamp-variant"),
("coat-rack", "coat-rack"),
("code-array", "code-array"),
("code-braces", "code-braces"),
("code-braces-box", "code-braces-box"),
("code-brackets", "code-brackets"),
("code-equal", "code-equal"),
("code-greater-than", "code-greater-than"),
("code-greater-than-or-equal", "code-greater-than-or-equal"),
("code-json", "code-json"),
("code-less-than", "code-less-than"),
("code-less-than-or-equal", "code-less-than-or-equal"),
("code-not-equal", "code-not-equal"),
("code-not-equal-variant", "code-not-equal-variant"),
("code-parentheses", "code-parentheses"),
("code-parentheses-box", "code-parentheses-box"),
("code-string", "code-string"),
("code-tags", "code-tags"),
("code-tags-check", "code-tags-check"),
("codepen", "codepen"),
("coffee", "coffee"),
("coffee-maker", "coffee-maker"),
("coffee-maker-check", "coffee-maker-check"),
("coffee-maker-check-outline", "coffee-maker-check-outline"),
("coffee-maker-outline", "coffee-maker-outline"),
("coffee-off", "coffee-off"),
("coffee-off-outline", "coffee-off-outline"),
("coffee-outline", "coffee-outline"),
("coffee-to-go", "coffee-to-go"),
("coffee-to-go-outline", "coffee-to-go-outline"),
("coffin", "coffin"),
("cog", "cog"),
("cog-box", "cog-box"),
("cog-clockwise", "cog-clockwise"),
("cog-counterclockwise", "cog-counterclockwise"),
("cog-off", "cog-off"),
("cog-off-outline", "cog-off-outline"),
("cog-outline", "cog-outline"),
("cog-pause", "cog-pause"),
("cog-pause-outline", "cog-pause-outline"),
("cog-play", "cog-play"),
("cog-play-outline", "cog-play-outline"),
("cog-refresh", "cog-refresh"),
("cog-refresh-outline", "cog-refresh-outline"),
("cog-stop", "cog-stop"),
("cog-stop-outline", "cog-stop-outline"),
("cog-sync", "cog-sync"),
("cog-sync-outline", "cog-sync-outline"),
("cog-transfer", "cog-transfer"),
("cog-transfer-outline", "cog-transfer-outline"),
("cogs", "cogs"),
("collage", "collage"),
("collapse-all", "collapse-all"),
("collapse-all-outline", "collapse-all-outline"),
("color-helper", "color-helper"),
("comma", "comma"),
("comma-box", "comma-box"),
("comma-box-outline", "comma-box-outline"),
("comma-circle", "comma-circle"),
("comma-circle-outline", "comma-circle-outline"),
("comment", "comment"),
("comment-account", "comment-account"),
("comment-account-outline", "comment-account-outline"),
("comment-alert", "comment-alert"),
("comment-alert-outline", "comment-alert-outline"),
("comment-arrow-left", "comment-arrow-left"),
("comment-arrow-left-outline", "comment-arrow-left-outline"),
("comment-arrow-right", "comment-arrow-right"),
("comment-arrow-right-outline", "comment-arrow-right-outline"),
("comment-bookmark", "comment-bookmark"),
("comment-bookmark-outline", "comment-bookmark-outline"),
("comment-check", "comment-check"),
("comment-check-outline", "comment-check-outline"),
("comment-edit", "comment-edit"),
("comment-edit-outline", "comment-edit-outline"),
("comment-eye", "comment-eye"),
("comment-eye-outline", "comment-eye-outline"),
("comment-flash", "comment-flash"),
("comment-flash-outline", "comment-flash-outline"),
("comment-minus", "comment-minus"),
("comment-minus-outline", "comment-minus-outline"),
("comment-multiple", "comment-multiple"),
("comment-multiple-outline", "comment-multiple-outline"),
("comment-off", "comment-off"),
("comment-off-outline", "comment-off-outline"),
("comment-outline", "comment-outline"),
("comment-plus", "comment-plus"),
("comment-plus-outline", "comment-plus-outline"),
("comment-processing", "comment-processing"),
("comment-processing-outline", "comment-processing-outline"),
("comment-question", "comment-question"),
("comment-question-outline", "comment-question-outline"),
("comment-quote", "comment-quote"),
("comment-quote-outline", "comment-quote-outline"),
("comment-remove", "comment-remove"),
("comment-remove-outline", "comment-remove-outline"),
("comment-search", "comment-search"),
("comment-search-outline", "comment-search-outline"),
("comment-text", "comment-text"),
("comment-text-multiple", "comment-text-multiple"),
("comment-text-multiple-outline", "comment-text-multiple-outline"),
("comment-text-outline", "comment-text-outline"),
("compare", "compare"),
("compare-horizontal", "compare-horizontal"),
("compare-remove", "compare-remove"),
("compare-vertical", "compare-vertical"),
("compass", "compass"),
("compass-off", "compass-off"),
("compass-off-outline", "compass-off-outline"),
("compass-outline", "compass-outline"),
("compass-rose", "compass-rose"),
("compost", "compost"),
("concourse-ci", "concourse-ci"),
("cone", "cone"),
("cone-off", "cone-off"),
("connection", "connection"),
("console", "console"),
("console-line", "console-line"),
("console-network", "console-network"),
("console-network-outline", "console-network-outline"),
("consolidate", "consolidate"),
("contactless-payment", "contactless-payment"),
("contactless-payment-circle", "contactless-payment-circle"),
("contactless-payment-circle-outline", "contactless-payment-circle-outline"),
("contacts", "contacts"),
("contacts-outline", "contacts-outline"),
("contain", "contain"),
("contain-end", "contain-end"),
("contain-start", "contain-start"),
("content-copy", "content-copy"),
("content-cut", "content-cut"),
("content-duplicate", "content-duplicate"),
("content-paste", "content-paste"),
("content-save", "content-save"),
("content-save-alert", "content-save-alert"),
("content-save-alert-outline", "content-save-alert-outline"),
("content-save-all", "content-save-all"),
("content-save-all-outline", "content-save-all-outline"),
("content-save-check", "content-save-check"),
("content-save-check-outline", "content-save-check-outline"),
("content-save-cog", "content-save-cog"),
("content-save-cog-outline", "content-save-cog-outline"),
("content-save-edit", "content-save-edit"),
("content-save-edit-outline", "content-save-edit-outline"),
("content-save-minus", "content-save-minus"),
("content-save-minus-outline", "content-save-minus-outline"),
("content-save-move", "content-save-move"),
("content-save-move-outline", "content-save-move-outline"),
("content-save-off", "content-save-off"),
("content-save-off-outline", "content-save-off-outline"),
("content-save-outline", "content-save-outline"),
("content-save-plus", "content-save-plus"),
("content-save-plus-outline", "content-save-plus-outline"),
("content-save-settings", "content-save-settings"),
("content-save-settings-outline", "content-save-settings-outline"),
("contrast", "contrast"),
("contrast-box", "contrast-box"),
("contrast-circle", "contrast-circle"),
("controller", "controller"),
("controller-classic", "controller-classic"),
("controller-classic-outline", "controller-classic-outline"),
("controller-off", "controller-off"),
("controller-xbox", "controller-xbox"),
("cookie", "cookie"),
("cookie-alert", "cookie-alert"),
("cookie-alert-outline", "cookie-alert-outline"),
("cookie-check", "cookie-check"),
("cookie-check-outline", "cookie-check-outline"),
("cookie-clock", "cookie-clock"),
("cookie-clock-outline", "cookie-clock-outline"),
("cookie-cog", "cookie-cog"),
("cookie-cog-outline", "cookie-cog-outline"),
("cookie-edit", "cookie-edit"),
("cookie-edit-outline", "cookie-edit-outline"),
("cookie-lock", "cookie-lock"),
("cookie-lock-outline", "cookie-lock-outline"),
("cookie-minus", "cookie-minus"),
("cookie-minus-outline", "cookie-minus-outline"),
("cookie-off", "cookie-off"),
("cookie-off-outline", "cookie-off-outline"),
("cookie-outline", "cookie-outline"),
("cookie-plus", "cookie-plus"),
("cookie-plus-outline", "cookie-plus-outline"),
("cookie-refresh", "cookie-refresh"),
("cookie-refresh-outline", "cookie-refresh-outline"),
("cookie-remove", "cookie-remove"),
("cookie-remove-outline", "cookie-remove-outline"),
("cookie-settings", "cookie-settings"),
("cookie-settings-outline", "cookie-settings-outline"),
("coolant-temperature", "coolant-temperature"),
("copyleft", "copyleft"),
("copyright", "copyright"),
("cordova", "cordova"),
("corn", "corn"),
("corn-off", "corn-off"),
("cosine-wave", "cosine-wave"),
("counter", "counter"),
("countertop", "countertop"),
("countertop-outline", "countertop-outline"),
("cow", "cow"),
("cow-off", "cow-off"),
("cpu-32-bit", "cpu-32-bit"),
("cpu-64-bit", "cpu-64-bit"),
("cradle", "cradle"),
("cradle-outline", "cradle-outline"),
("crane", "crane"),
("creation", "creation"),
("creative-commons", "creative-commons"),
("credit-card", "credit-card"),
("credit-card-check", "credit-card-check"),
("credit-card-check-outline", "credit-card-check-outline"),
("credit-card-chip", "credit-card-chip"),
("credit-card-chip-outline", "credit-card-chip-outline"),
("credit-card-clock", "credit-card-clock"),
("credit-card-clock-outline", "credit-card-clock-outline"),
("credit-card-edit", "credit-card-edit"),
("credit-card-edit-outline", "credit-card-edit-outline"),
("credit-card-fast", "credit-card-fast"),
("credit-card-fast-outline", "credit-card-fast-outline"),
("credit-card-lock", "credit-card-lock"),
("credit-card-lock-outline", "credit-card-lock-outline"),
("credit-card-marker", "credit-card-marker"),
("credit-card-marker-outline", "credit-card-marker-outline"),
("credit-card-minus", "credit-card-minus"),
("credit-card-minus-outline", "credit-card-minus-outline"),
("credit-card-multiple", "credit-card-multiple"),
("credit-card-multiple-outline", "credit-card-multiple-outline"),
("credit-card-off", "credit-card-off"),
("credit-card-off-outline", "credit-card-off-outline"),
("credit-card-outline", "credit-card-outline"),
("credit-card-plus", "credit-card-plus"),
("credit-card-plus-outline", "credit-card-plus-outline"),
("credit-card-refresh", "credit-card-refresh"),
("credit-card-refresh-outline", "credit-card-refresh-outline"),
("credit-card-refund", "credit-card-refund"),
("credit-card-refund-outline", "credit-card-refund-outline"),
("credit-card-remove", "credit-card-remove"),
("credit-card-remove-outline", "credit-card-remove-outline"),
("credit-card-scan", "credit-card-scan"),
("credit-card-scan-outline", "credit-card-scan-outline"),
("credit-card-search", "credit-card-search"),
("credit-card-search-outline", "credit-card-search-outline"),
("credit-card-settings", "credit-card-settings"),
("credit-card-settings-outline", "credit-card-settings-outline"),
("credit-card-sync", "credit-card-sync"),
("credit-card-sync-outline", "credit-card-sync-outline"),
("credit-card-wireless", "credit-card-wireless"),
("credit-card-wireless-off", "credit-card-wireless-off"),
("credit-card-wireless-off-outline", "credit-card-wireless-off-outline"),
("credit-card-wireless-outline", "credit-card-wireless-outline"),
("cricket", "cricket"),
("crop", "crop"),
("crop-free", "crop-free"),
("crop-landscape", "crop-landscape"),
("crop-portrait", "crop-portrait"),
("crop-rotate", "crop-rotate"),
("crop-square", "crop-square"),
("cross", "cross"),
("cross-bolnisi", "cross-bolnisi"),
("cross-celtic", "cross-celtic"),
("cross-outline", "cross-outline"),
("crosshairs", "crosshairs"),
("crosshairs-gps", "crosshairs-gps"),
("crosshairs-off", "crosshairs-off"),
("crosshairs-question", "crosshairs-question"),
("crowd", "crowd"),
("crown", "crown"),
("crown-circle", "crown-circle"),
("crown-circle-outline", "crown-circle-outline"),
("crown-outline", "crown-outline"),
("cryengine", "cryengine"),
("crystal-ball", "crystal-ball"),
("cube", "cube"),
("cube-off", "cube-off"),
("cube-off-outline", "cube-off-outline"),
("cube-outline", "cube-outline"),
("cube-scan", "cube-scan"),
("cube-send", "cube-send"),
("cube-unfolded", "cube-unfolded"),
("cup", "cup"),
("cup-off", "cup-off"),
("cup-off-outline", "cup-off-outline"),
("cup-outline", "cup-outline"),
("cup-water", "cup-water"),
("cupboard", "cupboard"),
("cupboard-outline", "cupboard-outline"),
("cupcake", "cupcake"),
("curling", "curling"),
("currency-bdt", "currency-bdt"),
("currency-brl", "currency-brl"),
("currency-btc", "currency-btc"),
("currency-chf", "currency-chf"),
("currency-cny", "currency-cny"),
("currency-eth", "currency-eth"),
("currency-eur", "currency-eur"),
("currency-eur-off", "currency-eur-off"),
("currency-fra", "currency-fra"),
("currency-gbp", "currency-gbp"),
("currency-ils", "currency-ils"),
("currency-inr", "currency-inr"),
("currency-jpy", "currency-jpy"),
("currency-krw", "currency-krw"),
("currency-kzt", "currency-kzt"),
("currency-mnt", "currency-mnt"),
("currency-ngn", "currency-ngn"),
("currency-php", "currency-php"),
("currency-rial", "currency-rial"),
("currency-rub", "currency-rub"),
("currency-rupee", "currency-rupee"),
("currency-sign", "currency-sign"),
("currency-thb", "currency-thb"),
("currency-try", "currency-try"),
("currency-twd", "currency-twd"),
("currency-uah", "currency-uah"),
("currency-usd", "currency-usd"),
("currency-usd-circle", "currency-usd-circle"),
("currency-usd-circle-outline", "currency-usd-circle-outline"),
("currency-usd-off", "currency-usd-off"),
("current-ac", "current-ac"),
("current-dc", "current-dc"),
("cursor-default", "cursor-default"),
("cursor-default-click", "cursor-default-click"),
("cursor-default-click-outline", "cursor-default-click-outline"),
("cursor-default-gesture", "cursor-default-gesture"),
("cursor-default-gesture-outline", "cursor-default-gesture-outline"),
("cursor-default-outline", "cursor-default-outline"),
("cursor-move", "cursor-move"),
("cursor-pointer", "cursor-pointer"),
("cursor-text", "cursor-text"),
("curtains", "curtains"),
("curtains-closed", "curtains-closed"),
("cylinder", "cylinder"),
("cylinder-off", "cylinder-off"),
("dance-ballroom", "dance-ballroom"),
("dance-pole", "dance-pole"),
("data", "data"),
("data-matrix", "data-matrix"),
("data-matrix-edit", "data-matrix-edit"),
("data-matrix-minus", "data-matrix-minus"),
("data-matrix-plus", "data-matrix-plus"),
("data-matrix-remove", "data-matrix-remove"),
("data-matrix-scan", "data-matrix-scan"),
("database", "database"),
("database-alert", "database-alert"),
("database-alert-outline", "database-alert-outline"),
("database-arrow-down", "database-arrow-down"),
("database-arrow-down-outline", "database-arrow-down-outline"),
("database-arrow-left", "database-arrow-left"),
("database-arrow-left-outline", "database-arrow-left-outline"),
("database-arrow-right", "database-arrow-right"),
("database-arrow-right-outline", "database-arrow-right-outline"),
("database-arrow-up", "database-arrow-up"),
("database-arrow-up-outline", "database-arrow-up-outline"),
("database-check", "database-check"),
("database-check-outline", "database-check-outline"),
("database-clock", "database-clock"),
("database-clock-outline", "database-clock-outline"),
("database-cog", "database-cog"),
("database-cog-outline", "database-cog-outline"),
("database-edit", "database-edit"),
("database-edit-outline", "database-edit-outline"),
("database-export", "database-export"),
("database-export-outline", "database-export-outline"),
("database-eye", "database-eye"),
("database-eye-off", "database-eye-off"),
("database-eye-off-outline", "database-eye-off-outline"),
("database-eye-outline", "database-eye-outline"),
("database-import", "database-import"),
("database-import-outline", "database-import-outline"),
("database-lock", "database-lock"),
("database-lock-outline", "database-lock-outline"),
("database-marker", "database-marker"),
("database-marker-outline", "database-marker-outline"),
("database-minus", "database-minus"),
("database-minus-outline", "database-minus-outline"),
("database-off", "database-off"),
("database-off-outline", "database-off-outline"),
("database-outline", "database-outline"),
("database-plus", "database-plus"),
("database-plus-outline", "database-plus-outline"),
("database-refresh", "database-refresh"),
("database-refresh-outline", "database-refresh-outline"),
("database-remove", "database-remove"),
("database-remove-outline", "database-remove-outline"),
("database-search", "database-search"),
("database-search-outline", "database-search-outline"),
("database-settings", "database-settings"),
("database-settings-outline", "database-settings-outline"),
("database-sync", "database-sync"),
("database-sync-outline", "database-sync-outline"),
("death-star", "death-star"),
("death-star-variant", "death-star-variant"),
("deathly-hallows", "deathly-hallows"),
("debian", "debian"),
("debug-step-into", "debug-step-into"),
("debug-step-out", "debug-step-out"),
("debug-step-over", "debug-step-over"),
("decagram", "decagram"),
("decagram-outline", "decagram-outline"),
("decimal", "decimal"),
("decimal-comma", "decimal-comma"),
("decimal-comma-decrease", "decimal-comma-decrease"),
("decimal-comma-increase", "decimal-comma-increase"),
("decimal-decrease", "decimal-decrease"),
("decimal-increase", "decimal-increase"),
("delete", "delete"),
("delete-alert", "delete-alert"),
("delete-alert-outline", "delete-alert-outline"),
("delete-circle", "delete-circle"),
("delete-circle-outline", "delete-circle-outline"),
("delete-clock", "delete-clock"),
("delete-clock-outline", "delete-clock-outline"),
("delete-empty", "delete-empty"),
("delete-empty-outline", "delete-empty-outline"),
("delete-forever", "delete-forever"),
("delete-forever-outline", "delete-forever-outline"),
("delete-off", "delete-off"),
("delete-off-outline", "delete-off-outline"),
("delete-outline", "delete-outline"),
("delete-restore", "delete-restore"),
("delete-sweep", "delete-sweep"),
("delete-sweep-outline", "delete-sweep-outline"),
("delete-variant", "delete-variant"),
("delta", "delta"),
("desk", "desk"),
("desk-lamp", "desk-lamp"),
("desk-lamp-off", "desk-lamp-off"),
("desk-lamp-on", "desk-lamp-on"),
("deskphone", "deskphone"),
("desktop-classic", "desktop-classic"),
("desktop-mac", "desktop-mac"),
("desktop-mac-dashboard", "desktop-mac-dashboard"),
("desktop-tower", "desktop-tower"),
("desktop-tower-monitor", "desktop-tower-monitor"),
("details", "details"),
("dev-to", "dev-to"),
("developer-board", "developer-board"),
("deviantart", "deviantart"),
("devices", "devices"),
("dharmachakra", "dharmachakra"),
("diabetes", "diabetes"),
("dialpad", "dialpad"),
("diameter", "diameter"),
("diameter-outline", "diameter-outline"),
("diameter-variant", "diameter-variant"),
("diamond", "diamond"),
("diamond-outline", "diamond-outline"),
("diamond-stone", "diamond-stone"),
("dice", "dice"),
("dice-1", "dice-1"),
("dice-1-outline", "dice-1-outline"),
("dice-2", "dice-2"),
("dice-2-outline", "dice-2-outline"),
("dice-3", "dice-3"),
("dice-3-outline", "dice-3-outline"),
("dice-4", "dice-4"),
("dice-4-outline", "dice-4-outline"),
("dice-5", "dice-5"),
("dice-5-outline", "dice-5-outline"),
("dice-6", "dice-6"),
("dice-6-outline", "dice-6-outline"),
("dice-d10", "dice-d10"),
("dice-d10-outline", "dice-d10-outline"),
("dice-d12", "dice-d12"),
("dice-d12-outline", "dice-d12-outline"),
("dice-d20", "dice-d20"),
("dice-d20-outline", "dice-d20-outline"),
("dice-d4", "dice-d4"),
("dice-d4-outline", "dice-d4-outline"),
("dice-d6", "dice-d6"),
("dice-d6-outline", "dice-d6-outline"),
("dice-d8", "dice-d8"),
("dice-d8-outline", "dice-d8-outline"),
("dice-multiple", "dice-multiple"),
("dice-multiple-outline", "dice-multiple-outline"),
("digital-ocean", "digital-ocean"),
("dip-switch", "dip-switch"),
("directions", "directions"),
("directions-fork", "directions-fork"),
("disc", "disc"),
("disc-alert", "disc-alert"),
("disc-player", "disc-player"),
("discord", "discord"),
("dishwasher", "dishwasher"),
("dishwasher-alert", "dishwasher-alert"),
("dishwasher-off", "dishwasher-off"),
("disk", "disk"),
("disk-alert", "disk-alert"),
("disk-player", "disk-player"),
("disqus", "disqus"),
("disqus-outline", "disqus-outline"),
("distribute-horizontal-center", "distribute-horizontal-center"),
("distribute-horizontal-left", "distribute-horizontal-left"),
("distribute-horizontal-right", "distribute-horizontal-right"),
("distribute-vertical-bottom", "distribute-vertical-bottom"),
("distribute-vertical-center", "distribute-vertical-center"),
("distribute-vertical-top", "distribute-vertical-top"),
("diversify", "diversify"),
("diving", "diving"),
("diving-flippers", "diving-flippers"),
("diving-helmet", "diving-helmet"),
("diving-scuba", "diving-scuba"),
("diving-scuba-flag", "diving-scuba-flag"),
("diving-scuba-mask", "diving-scuba-mask"),
("diving-scuba-tank", "diving-scuba-tank"),
("diving-scuba-tank-multiple", "diving-scuba-tank-multiple"),
("diving-snorkel", "diving-snorkel"),
("division", "division"),
("division-box", "division-box"),
("dlna", "dlna"),
("dna", "dna"),
("dns", "dns"),
("dns-outline", "dns-outline"),
("do-not-disturb", "do-not-disturb"),
("dock-bottom", "dock-bottom"),
("dock-left", "dock-left"),
("dock-right", "dock-right"),
("dock-top", "dock-top"),
("dock-window", "dock-window"),
("docker", "docker"),
("doctor", "doctor"),
("document", "document"),
("dog", "dog"),
("dog-service", "dog-service"),
("dog-side", "dog-side"),
("dog-side-off", "dog-side-off"),
("dolby", "dolby"),
("dolly", "dolly"),
("dolphin", "dolphin"),
("domain", "domain"),
("domain-off", "domain-off"),
("domain-plus", "domain-plus"),
("domain-remove", "domain-remove"),
("dome-light", "dome-light"),
("domino-mask", "domino-mask"),
("donkey", "donkey"),
("door", "door"),
("door-closed", "door-closed"),
("door-closed-lock", "door-closed-lock"),
("door-open", "door-open"),
("door-sliding", "door-sliding"),
("door-sliding-lock", "door-sliding-lock"),
("door-sliding-open", "door-sliding-open"),
("doorbell", "doorbell"),
("doorbell-video", "doorbell-video"),
("dot-net", "dot-net"),
("dots-circle", "dots-circle"),
("dots-grid", "dots-grid"),
("dots-hexagon", "dots-hexagon"),
("dots-horizontal", "dots-horizontal"),
("dots-horizontal-circle", "dots-horizontal-circle"),
("dots-horizontal-circle-outline", "dots-horizontal-circle-outline"),
("dots-square", "dots-square"),
("dots-triangle", "dots-triangle"),
("dots-vertical", "dots-vertical"),
("dots-vertical-circle", "dots-vertical-circle"),
("dots-vertical-circle-outline", "dots-vertical-circle-outline"),
("douban", "douban"),
("download", "download"),
("download-box", "download-box"),
("download-box-outline", "download-box-outline"),
("download-circle", "download-circle"),
("download-circle-outline", "download-circle-outline"),
("download-lock", "download-lock"),
("download-lock-outline", "download-lock-outline"),
("download-multiple", "download-multiple"),
("download-network", "download-network"),
("download-network-outline", "download-network-outline"),
("download-off", "download-off"),
("download-off-outline", "download-off-outline"),
("download-outline", "download-outline"),
("drag", "drag"),
("drag-horizontal", "drag-horizontal"),
("drag-horizontal-variant", "drag-horizontal-variant"),
("drag-variant", "drag-variant"),
("drag-vertical", "drag-vertical"),
("drag-vertical-variant", "drag-vertical-variant"),
("drama-masks", "drama-masks"),
("draw", "draw"),
("draw-pen", "draw-pen"),
("drawing", "drawing"),
("drawing-box", "drawing-box"),
("dresser", "dresser"),
("dresser-outline", "dresser-outline"),
("dribbble", "dribbble"),
("dribbble-box", "dribbble-box"),
("drone", "drone"),
("dropbox", "dropbox"),
("drupal", "drupal"),
("duck", "duck"),
("dumbbell", "dumbbell"),
("dump-truck", "dump-truck"),
("ear-hearing", "ear-hearing"),
("ear-hearing-loop", "ear-hearing-loop"),
("ear-hearing-off", "ear-hearing-off"),
("earbuds", "earbuds"),
("earbuds-off", "earbuds-off"),
("earbuds-off-outline", "earbuds-off-outline"),
("earbuds-outline", "earbuds-outline"),
("earth", "earth"),
("earth-arrow-right", "earth-arrow-right"),
("earth-box", "earth-box"),
("earth-box-minus", "earth-box-minus"),
("earth-box-off", "earth-box-off"),
("earth-box-plus", "earth-box-plus"),
("earth-box-remove", "earth-box-remove"),
("earth-minus", "earth-minus"),
("earth-off", "earth-off"),
("earth-plus", "earth-plus"),
("earth-remove", "earth-remove"),
("ebay", "ebay"),
("egg", "egg"),
("egg-easter", "egg-easter"),
("egg-fried", "egg-fried"),
("egg-off", "egg-off"),
("egg-off-outline", "egg-off-outline"),
("egg-outline", "egg-outline"),
("eiffel-tower", "eiffel-tower"),
("eight-track", "eight-track"),
("eject", "eject"),
("eject-circle", "eject-circle"),
("eject-circle-outline", "eject-circle-outline"),
("eject-outline", "eject-outline"),
("electric-switch", "electric-switch"),
("electric-switch-closed", "electric-switch-closed"),
("electron-framework", "electron-framework"),
("elephant", "elephant"),
("elevation-decline", "elevation-decline"),
("elevation-rise", "elevation-rise"),
("elevator", "elevator"),
("elevator-down", "elevator-down"),
("elevator-passenger", "elevator-passenger"),
("elevator-passenger-off", "elevator-passenger-off"),
("elevator-passenger-off-outline", "elevator-passenger-off-outline"),
("elevator-passenger-outline", "elevator-passenger-outline"),
("elevator-up", "elevator-up"),
("ellipse", "ellipse"),
("ellipse-outline", "ellipse-outline"),
("email", "email"),
("email-alert", "email-alert"),
("email-alert-outline", "email-alert-outline"),
("email-arrow-left", "email-arrow-left"),
("email-arrow-left-outline", "email-arrow-left-outline"),
("email-arrow-right", "email-arrow-right"),
("email-arrow-right-outline", "email-arrow-right-outline"),
("email-box", "email-box"),
("email-check", "email-check"),
("email-check-outline", "email-check-outline"),
("email-edit", "email-edit"),
("email-edit-outline", "email-edit-outline"),
("email-fast", "email-fast"),
("email-fast-outline", "email-fast-outline"),
("email-lock", "email-lock"),
("email-lock-outline", "email-lock-outline"),
("email-mark-as-unread", "email-mark-as-unread"),
("email-minus", "email-minus"),
("email-minus-outline", "email-minus-outline"),
("email-multiple", "email-multiple"),
("email-multiple-outline", "email-multiple-outline"),
("email-newsletter", "email-newsletter"),
("email-off", "email-off"),
("email-off-outline", "email-off-outline"),
("email-open", "email-open"),
("email-open-multiple", "email-open-multiple"),
("email-open-multiple-outline", "email-open-multiple-outline"),
("email-open-outline", "email-open-outline"),
("email-outline", "email-outline"),
("email-plus", "email-plus"),
("email-plus-outline", "email-plus-outline"),
("email-remove", "email-remove"),
("email-remove-outline", "email-remove-outline"),
("email-seal", "email-seal"),
("email-seal-outline", "email-seal-outline"),
("email-search", "email-search"),
("email-search-outline", "email-search-outline"),
("email-sync", "email-sync"),
("email-sync-outline", "email-sync-outline"),
("email-variant", "email-variant"),
("ember", "ember"),
("emby", "emby"),
("emoticon", "emoticon"),
("emoticon-angry", "emoticon-angry"),
("emoticon-angry-outline", "emoticon-angry-outline"),
("emoticon-confused", "emoticon-confused"),
("emoticon-confused-outline", "emoticon-confused-outline"),
("emoticon-cool", "emoticon-cool"),
("emoticon-cool-outline", "emoticon-cool-outline"),
("emoticon-cry", "emoticon-cry"),
("emoticon-cry-outline", "emoticon-cry-outline"),
("emoticon-dead", "emoticon-dead"),
("emoticon-dead-outline", "emoticon-dead-outline"),
("emoticon-devil", "emoticon-devil"),
("emoticon-devil-outline", "emoticon-devil-outline"),
("emoticon-excited", "emoticon-excited"),
("emoticon-excited-outline", "emoticon-excited-outline"),
("emoticon-frown", "emoticon-frown"),
("emoticon-frown-outline", "emoticon-frown-outline"),
("emoticon-happy", "emoticon-happy"),
("emoticon-happy-outline", "emoticon-happy-outline"),
("emoticon-kiss", "emoticon-kiss"),
("emoticon-kiss-outline", "emoticon-kiss-outline"),
("emoticon-lol", "emoticon-lol"),
("emoticon-lol-outline", "emoticon-lol-outline"),
("emoticon-neutral", "emoticon-neutral"),
("emoticon-neutral-outline", "emoticon-neutral-outline"),
("emoticon-outline", "emoticon-outline"),
("emoticon-poop", "emoticon-poop"),
("emoticon-poop-outline", "emoticon-poop-outline"),
("emoticon-sad", "emoticon-sad"),
("emoticon-sad-outline", "emoticon-sad-outline"),
("emoticon-sick", "emoticon-sick"),
("emoticon-sick-outline", "emoticon-sick-outline"),
("emoticon-tongue", "emoticon-tongue"),
("emoticon-tongue-outline", "emoticon-tongue-outline"),
("emoticon-wink", "emoticon-wink"),
("emoticon-wink-outline", "emoticon-wink-outline"),
("engine", "engine"),
("engine-off", "engine-off"),
("engine-off-outline", "engine-off-outline"),
("engine-outline", "engine-outline"),
("epsilon", "epsilon"),
("equal", "equal"),
("equal-box", "equal-box"),
("equalizer", "equalizer"),
("equalizer-outline", "equalizer-outline"),
("eraser", "eraser"),
("eraser-variant", "eraser-variant"),
("escalator", "escalator"),
("escalator-box", "escalator-box"),
("escalator-down", "escalator-down"),
("escalator-up", "escalator-up"),
("eslint", "eslint"),
("et", "et"),
("ethereum", "ethereum"),
("ethernet", "ethernet"),
("ethernet-cable", "ethernet-cable"),
("ethernet-cable-off", "ethernet-cable-off"),
("etsy", "etsy"),
("ev-plug-ccs1", "ev-plug-ccs1"),
("ev-plug-ccs2", "ev-plug-ccs2"),
("ev-plug-chademo", "ev-plug-chademo"),
("ev-plug-tesla", "ev-plug-tesla"),
("ev-plug-type1", "ev-plug-type1"),
("ev-plug-type2", "ev-plug-type2"),
("ev-station", "ev-station"),
("eventbrite", "eventbrite"),
("evernote", "evernote"),
("excavator", "excavator"),
("exclamation", "exclamation"),
("exclamation-thick", "exclamation-thick"),
("exit-run", "exit-run"),
("exit-to-app", "exit-to-app"),
("expand-all", "expand-all"),
("expand-all-outline", "expand-all-outline"),
("expansion-card", "expansion-card"),
("expansion-card-variant", "expansion-card-variant"),
("exponent", "exponent"),
("exponent-box", "exponent-box"),
("export", "export"),
("export-variant", "export-variant"),
("eye", "eye"),
("eye-arrow-left", "eye-arrow-left"),
("eye-arrow-left-outline", "eye-arrow-left-outline"),
("eye-arrow-right", "eye-arrow-right"),
("eye-arrow-right-outline", "eye-arrow-right-outline"),
("eye-check", "eye-check"),
("eye-check-outline", "eye-check-outline"),
("eye-circle", "eye-circle"),
("eye-circle-outline", "eye-circle-outline"),
("eye-lock", "eye-lock"),
("eye-lock-open", "eye-lock-open"),
("eye-lock-open-outline", "eye-lock-open-outline"),
("eye-lock-outline", "eye-lock-outline"),
("eye-minus", "eye-minus"),
("eye-minus-outline", "eye-minus-outline"),
("eye-off", "eye-off"),
("eye-off-outline", "eye-off-outline"),
("eye-outline", "eye-outline"),
("eye-plus", "eye-plus"),
("eye-plus-outline", "eye-plus-outline"),
("eye-refresh", "eye-refresh"),
("eye-refresh-outline", "eye-refresh-outline"),
("eye-remove", "eye-remove"),
("eye-remove-outline", "eye-remove-outline"),
("eye-settings", "eye-settings"),
("eye-settings-outline", "eye-settings-outline"),
("eyedropper", "eyedropper"),
("eyedropper-minus", "eyedropper-minus"),
("eyedropper-off", "eyedropper-off"),
("eyedropper-plus", "eyedropper-plus"),
("eyedropper-remove", "eyedropper-remove"),
("eyedropper-variant", "eyedropper-variant"),
("face-agent", "face-agent"),
("face-man", "face-man"),
("face-man-outline", "face-man-outline"),
("face-man-profile", "face-man-profile"),
("face-man-shimmer", "face-man-shimmer"),
("face-man-shimmer-outline", "face-man-shimmer-outline"),
("face-mask", "face-mask"),
("face-mask-outline", "face-mask-outline"),
("face-recognition", "face-recognition"),
("face-woman", "face-woman"),
("face-woman-outline", "face-woman-outline"),
("face-woman-profile", "face-woman-profile"),
("face-woman-shimmer", "face-woman-shimmer"),
("face-woman-shimmer-outline", "face-woman-shimmer-outline"),
("facebook", "facebook"),
("facebook-box", "facebook-box"),
("facebook-gaming", "facebook-gaming"),
("facebook-messenger", "facebook-messenger"),
("facebook-workplace", "facebook-workplace"),
("factory", "factory"),
("family-tree", "family-tree"),
("fan", "fan"),
("fan-alert", "fan-alert"),
("fan-auto", "fan-auto"),
("fan-chevron-down", "fan-chevron-down"),
("fan-chevron-up", "fan-chevron-up"),
("fan-clock", "fan-clock"),
("fan-minus", "fan-minus"),
("fan-off", "fan-off"),
("fan-plus", "fan-plus"),
("fan-remove", "fan-remove"),
("fan-speed-1", "fan-speed-1"),
("fan-speed-2", "fan-speed-2"),
("fan-speed-3", "fan-speed-3"),
("fast-forward", "fast-forward"),
("fast-forward-10", "fast-forward-10"),
("fast-forward-15", "fast-forward-15"),
("fast-forward-30", "fast-forward-30"),
("fast-forward-45", "fast-forward-45"),
("fast-forward-5", "fast-forward-5"),
("fast-forward-60", "fast-forward-60"),
("fast-forward-outline", "fast-forward-outline"),
("faucet", "faucet"),
("faucet-variant", "faucet-variant"),
("fax", "fax"),
("feather", "feather"),
("feature-search", "feature-search"),
("feature-search-outline", "feature-search-outline"),
("fedora", "fedora"),
("fence", "fence"),
("fence-electric", "fence-electric"),
("fencing", "fencing"),
("ferris-wheel", "ferris-wheel"),
("ferry", "ferry"),
("file", "file"),
("file-account", "file-account"),
("file-account-outline", "file-account-outline"),
("file-alert", "file-alert"),
("file-alert-outline", "file-alert-outline"),
("file-arrow-left-right", "file-arrow-left-right"),
("file-arrow-left-right-outline", "file-arrow-left-right-outline"),
("file-arrow-up-down", "file-arrow-up-down"),
("file-arrow-up-down-outline", "file-arrow-up-down-outline"),
("file-cabinet", "file-cabinet"),
("file-cad", "file-cad"),
("file-cad-box", "file-cad-box"),
("file-cancel", "file-cancel"),
("file-cancel-outline", "file-cancel-outline"),
("file-certificate", "file-certificate"),
("file-certificate-outline", "file-certificate-outline"),
("file-chart", "file-chart"),
("file-chart-check", "file-chart-check"),
("file-chart-check-outline", "file-chart-check-outline"),
("file-chart-outline", "file-chart-outline"),
("file-check", "file-check"),
("file-check-outline", "file-check-outline"),
("file-clock", "file-clock"),
("file-clock-outline", "file-clock-outline"),
("file-cloud", "file-cloud"),
("file-cloud-outline", "file-cloud-outline"),
("file-code", "file-code"),
("file-code-outline", "file-code-outline"),
("file-cog", "file-cog"),
("file-cog-outline", "file-cog-outline"),
("file-compare", "file-compare"),
("file-delimited", "file-delimited"),
("file-delimited-outline", "file-delimited-outline"),
("file-document", "file-document"),
("file-document-alert", "file-document-alert"),
("file-document-alert-outline", "file-document-alert-outline"),
("file-document-arrow-right", "file-document-arrow-right"),
("file-document-arrow-right-outline", "file-document-arrow-right-outline"),
("file-document-check", "file-document-check"),
("file-document-check-outline", "file-document-check-outline"),
("file-document-edit", "file-document-edit"),
("file-document-edit-outline", "file-document-edit-outline"),
("file-document-minus", "file-document-minus"),
("file-document-minus-outline", "file-document-minus-outline"),
("file-document-multiple", "file-document-multiple"),
("file-document-multiple-outline", "file-document-multiple-outline"),
("file-document-outline", "file-document-outline"),
("file-document-plus", "file-document-plus"),
("file-document-plus-outline", "file-document-plus-outline"),
("file-document-remove", "file-document-remove"),
("file-document-remove-outline", "file-document-remove-outline"),
("file-download", "file-download"),
("file-download-outline", "file-download-outline"),
("file-edit", "file-edit"),
("file-edit-outline", "file-edit-outline"),
("file-excel", "file-excel"),
("file-excel-box", "file-excel-box"),
("file-excel-box-outline", "file-excel-box-outline"),
("file-excel-outline", "file-excel-outline"),
("file-export", "file-export"),
("file-export-outline", "file-export-outline"),
("file-eye", "file-eye"),
("file-eye-outline", "file-eye-outline"),
("file-find", "file-find"),
("file-find-outline", "file-find-outline"),
("file-gif-box", "file-gif-box"),
("file-hidden", "file-hidden"),
("file-image", "file-image"),
("file-image-box", "file-image-box"),
("file-image-marker", "file-image-marker"),
("file-image-marker-outline", "file-image-marker-outline"),
("file-image-minus", "file-image-minus"),
("file-image-minus-outline", "file-image-minus-outline"),
("file-image-outline", "file-image-outline"),
("file-image-plus", "file-image-plus"),
("file-image-plus-outline", "file-image-plus-outline"),
("file-image-remove", "file-image-remove"),
("file-image-remove-outline", "file-image-remove-outline"),
("file-import", "file-import"),
("file-import-outline", "file-import-outline"),
("file-jpg-box", "file-jpg-box"),
("file-key", "file-key"),
("file-key-outline", "file-key-outline"),
("file-link", "file-link"),
("file-link-outline", "file-link-outline"),
("file-lock", "file-lock"),
("file-lock-open", "file-lock-open"),
("file-lock-open-outline", "file-lock-open-outline"),
("file-lock-outline", "file-lock-outline"),
("file-marker", "file-marker"),
("file-marker-outline", "file-marker-outline"),
("file-minus", "file-minus"),
("file-minus-outline", "file-minus-outline"),
("file-move", "file-move"),
("file-move-outline", "file-move-outline"),
("file-multiple", "file-multiple"),
("file-multiple-outline", "file-multiple-outline"),
("file-music", "file-music"),
("file-music-outline", "file-music-outline"),
("file-outline", "file-outline"),
("file-pdf", "file-pdf"),
("file-pdf-box", "file-pdf-box"),
("file-pdf-box-outline", "file-pdf-box-outline"),
("file-pdf-outline", "file-pdf-outline"),
("file-percent", "file-percent"),
("file-percent-outline", "file-percent-outline"),
("file-phone", "file-phone"),
("file-phone-outline", "file-phone-outline"),
("file-plus", "file-plus"),
("file-plus-outline", "file-plus-outline"),
("file-png-box", "file-png-box"),
("file-powerpoint", "file-powerpoint"),
("file-powerpoint-box", "file-powerpoint-box"),
("file-powerpoint-box-outline", "file-powerpoint-box-outline"),
("file-powerpoint-outline", "file-powerpoint-outline"),
("file-presentation-box", "file-presentation-box"),
("file-question", "file-question"),
("file-question-outline", "file-question-outline"),
("file-refresh", "file-refresh"),
("file-refresh-outline", "file-refresh-outline"),
("file-remove", "file-remove"),
("file-remove-outline", "file-remove-outline"),
("file-replace", "file-replace"),
("file-replace-outline", "file-replace-outline"),
("file-restore", "file-restore"),
("file-restore-outline", "file-restore-outline"),
("file-rotate-left", "file-rotate-left"),
("file-rotate-left-outline", "file-rotate-left-outline"),
("file-rotate-right", "file-rotate-right"),
("file-rotate-right-outline", "file-rotate-right-outline"),
("file-search", "file-search"),
("file-search-outline", "file-search-outline"),
("file-send", "file-send"),
("file-send-outline", "file-send-outline"),
("file-settings", "file-settings"),
("file-settings-outline", "file-settings-outline"),
("file-sign", "file-sign"),
("file-star", "file-star"),
("file-star-outline", "file-star-outline"),
("file-swap", "file-swap"),
("file-swap-outline", "file-swap-outline"),
("file-sync", "file-sync"),
("file-sync-outline", "file-sync-outline"),
("file-table", "file-table"),
("file-table-box", "file-table-box"),
("file-table-box-multiple", "file-table-box-multiple"),
("file-table-box-multiple-outline", "file-table-box-multiple-outline"),
("file-table-box-outline", "file-table-box-outline"),
("file-table-outline", "file-table-outline"),
("file-tree", "file-tree"),
("file-tree-outline", "file-tree-outline"),
("file-undo", "file-undo"),
("file-undo-outline", "file-undo-outline"),
("file-upload", "file-upload"),
("file-upload-outline", "file-upload-outline"),
("file-video", "file-video"),
("file-video-outline", "file-video-outline"),
("file-word", "file-word"),
("file-word-box", "file-word-box"),
("file-word-box-outline", "file-word-box-outline"),
("file-word-outline", "file-word-outline"),
("file-xml", "file-xml"),
("file-xml-box", "file-xml-box"),
("fill", "fill"),
("film", "film"),
("filmstrip", "filmstrip"),
("filmstrip-box", "filmstrip-box"),
("filmstrip-box-multiple", "filmstrip-box-multiple"),
("filmstrip-off", "filmstrip-off"),
("filter", "filter"),
("filter-check", "filter-check"),
("filter-check-outline", "filter-check-outline"),
("filter-cog", "filter-cog"),
("filter-cog-outline", "filter-cog-outline"),
("filter-menu", "filter-menu"),
("filter-menu-outline", "filter-menu-outline"),
("filter-minus", "filter-minus"),
("filter-minus-outline", "filter-minus-outline"),
("filter-multiple", "filter-multiple"),
("filter-multiple-outline", "filter-multiple-outline"),
("filter-off", "filter-off"),
("filter-off-outline", "filter-off-outline"),
("filter-outline", "filter-outline"),
("filter-plus", "filter-plus"),
("filter-plus-outline", "filter-plus-outline"),
("filter-remove", "filter-remove"),
("filter-remove-outline", "filter-remove-outline"),
("filter-settings", "filter-settings"),
("filter-settings-outline", "filter-settings-outline"),
("filter-variant", "filter-variant"),
("filter-variant-minus", "filter-variant-minus"),
("filter-variant-plus", "filter-variant-plus"),
("filter-variant-remove", "filter-variant-remove"),
("finance", "finance"),
("find-replace", "find-replace"),
("fingerprint", "fingerprint"),
("fingerprint-off", "fingerprint-off"),
("fire", "fire"),
("fire-alert", "fire-alert"),
("fire-circle", "fire-circle"),
("fire-extinguisher", "fire-extinguisher"),
("fire-hydrant", "fire-hydrant"),
("fire-hydrant-alert", "fire-hydrant-alert"),
("fire-hydrant-off", "fire-hydrant-off"),
("fire-off", "fire-off"),
("fire-truck", "fire-truck"),
("firebase", "firebase"),
("firefox", "firefox"),
("fireplace", "fireplace"),
("fireplace-off", "fireplace-off"),
("firewire", "firewire"),
("firework", "firework"),
("firework-off", "firework-off"),
("fish", "fish"),
("fish-off", "fish-off"),
("fishbowl", "fishbowl"),
("fishbowl-outline", "fishbowl-outline"),
("fit-to-page", "fit-to-page"),
("fit-to-page-outline", "fit-to-page-outline"),
("fit-to-screen", "fit-to-screen"),
("fit-to-screen-outline", "fit-to-screen-outline"),
("flag", "flag"),
("flag-checkered", "flag-checkered"),
("flag-checkered-variant", "flag-checkered-variant"),
("flag-minus", "flag-minus"),
("flag-minus-outline", "flag-minus-outline"),
("flag-off", "flag-off"),
("flag-off-outline", "flag-off-outline"),
("flag-outline", "flag-outline"),
("flag-outline-variant", "flag-outline-variant"),
("flag-plus", "flag-plus"),
("flag-plus-outline", "flag-plus-outline"),
("flag-remove", "flag-remove"),
("flag-remove-outline", "flag-remove-outline"),
("flag-triangle", "flag-triangle"),
("flag-variant", "flag-variant"),
("flag-variant-minus", "flag-variant-minus"),
("flag-variant-minus-outline", "flag-variant-minus-outline"),
("flag-variant-off", "flag-variant-off"),
("flag-variant-off-outline", "flag-variant-off-outline"),
("flag-variant-outline", "flag-variant-outline"),
("flag-variant-plus", "flag-variant-plus"),
("flag-variant-plus-outline", "flag-variant-plus-outline"),
("flag-variant-remove", "flag-variant-remove"),
("flag-variant-remove-outline", "flag-variant-remove-outline"),
("flare", "flare"),
("flash", "flash"),
("flash-alert", "flash-alert"),
("flash-alert-outline", "flash-alert-outline"),
("flash-auto", "flash-auto"),
("flash-off", "flash-off"),
("flash-off-outline", "flash-off-outline"),
("flash-outline", "flash-outline"),
("flash-red-eye", "flash-red-eye"),
("flash-triangle", "flash-triangle"),
("flash-triangle-outline", "flash-triangle-outline"),
("flashlight", "flashlight"),
("flashlight-off", "flashlight-off"),
("flask", "flask"),
("flask-empty", "flask-empty"),
("flask-empty-minus", "flask-empty-minus"),
("flask-empty-minus-outline", "flask-empty-minus-outline"),
("flask-empty-off", "flask-empty-off"),
("flask-empty-off-outline", "flask-empty-off-outline"),
("flask-empty-outline", "flask-empty-outline"),
("flask-empty-plus", "flask-empty-plus"),
("flask-empty-plus-outline", "flask-empty-plus-outline"),
("flask-empty-remove", "flask-empty-remove"),
("flask-empty-remove-outline", "flask-empty-remove-outline"),
("flask-minus", "flask-minus"),
("flask-minus-outline", "flask-minus-outline"),
("flask-off", "flask-off"),
("flask-off-outline", "flask-off-outline"),
("flask-outline", "flask-outline"),
("flask-plus", "flask-plus"),
("flask-plus-outline", "flask-plus-outline"),
("flask-remove", "flask-remove"),
("flask-remove-outline", "flask-remove-outline"),
("flask-round-bottom", "flask-round-bottom"),
("flask-round-bottom-empty", "flask-round-bottom-empty"),
("flask-round-bottom-empty-outline", "flask-round-bottom-empty-outline"),
("flask-round-bottom-outline", "flask-round-bottom-outline"),
("flattr", "flattr"),
("fleur-de-lis", "fleur-de-lis"),
("flickr", "flickr"),
("flickr-after", "flickr-after"),
("flickr-before", "flickr-before"),
("flip-horizontal", "flip-horizontal"),
("flip-to-back", "flip-to-back"),
("flip-to-front", "flip-to-front"),
("flip-vertical", "flip-vertical"),
("floor-1", "floor-1"),
("floor-2", "floor-2"),
("floor-3", "floor-3"),
("floor-a", "floor-a"),
("floor-b", "floor-b"),
("floor-g", "floor-g"),
("floor-l", "floor-l"),
("floor-lamp", "floor-lamp"),
("floor-lamp-dual", "floor-lamp-dual"),
("floor-lamp-dual-outline", "floor-lamp-dual-outline"),
("floor-lamp-outline", "floor-lamp-outline"),
("floor-lamp-torchiere", "floor-lamp-torchiere"),
("floor-lamp-torchiere-outline", "floor-lamp-torchiere-outline"),
("floor-lamp-torchiere-variant", "floor-lamp-torchiere-variant"),
(
"floor-lamp-torchiere-variant-outline",
"floor-lamp-torchiere-variant-outline",
),
("floor-plan", "floor-plan"),
("floppy", "floppy"),
("floppy-variant", "floppy-variant"),
("flower", "flower"),
("flower-outline", "flower-outline"),
("flower-pollen", "flower-pollen"),
("flower-pollen-outline", "flower-pollen-outline"),
("flower-poppy", "flower-poppy"),
("flower-tulip", "flower-tulip"),
("flower-tulip-outline", "flower-tulip-outline"),
("focus-auto", "focus-auto"),
("focus-field", "focus-field"),
("focus-field-horizontal", "focus-field-horizontal"),
("focus-field-vertical", "focus-field-vertical"),
("folder", "folder"),
("folder-account", "folder-account"),
("folder-account-outline", "folder-account-outline"),
("folder-alert", "folder-alert"),
("folder-alert-outline", "folder-alert-outline"),
("folder-arrow-down", "folder-arrow-down"),
("folder-arrow-down-outline", "folder-arrow-down-outline"),
("folder-arrow-left", "folder-arrow-left"),
("folder-arrow-left-outline", "folder-arrow-left-outline"),
("folder-arrow-left-right", "folder-arrow-left-right"),
("folder-arrow-left-right-outline", "folder-arrow-left-right-outline"),
("folder-arrow-right", "folder-arrow-right"),
("folder-arrow-right-outline", "folder-arrow-right-outline"),
("folder-arrow-up", "folder-arrow-up"),
("folder-arrow-up-down", "folder-arrow-up-down"),
("folder-arrow-up-down-outline", "folder-arrow-up-down-outline"),
("folder-arrow-up-outline", "folder-arrow-up-outline"),
("folder-cancel", "folder-cancel"),
("folder-cancel-outline", "folder-cancel-outline"),
("folder-check", "folder-check"),
("folder-check-outline", "folder-check-outline"),
("folder-clock", "folder-clock"),
("folder-clock-outline", "folder-clock-outline"),
("folder-cog", "folder-cog"),
("folder-cog-outline", "folder-cog-outline"),
("folder-download", "folder-download"),
("folder-download-outline", "folder-download-outline"),
("folder-edit", "folder-edit"),
("folder-edit-outline", "folder-edit-outline"),
("folder-eye", "folder-eye"),
("folder-eye-outline", "folder-eye-outline"),
("folder-file", "folder-file"),
("folder-file-outline", "folder-file-outline"),
("folder-google-drive", "folder-google-drive"),
("folder-heart", "folder-heart"),
("folder-heart-outline", "folder-heart-outline"),
("folder-hidden", "folder-hidden"),
("folder-home", "folder-home"),
("folder-home-outline", "folder-home-outline"),
("folder-image", "folder-image"),
("folder-information", "folder-information"),
("folder-information-outline", "folder-information-outline"),
("folder-key", "folder-key"),
("folder-key-network", "folder-key-network"),
("folder-key-network-outline", "folder-key-network-outline"),
("folder-key-outline", "folder-key-outline"),
("folder-lock", "folder-lock"),
("folder-lock-open", "folder-lock-open"),
("folder-lock-open-outline", "folder-lock-open-outline"),
("folder-lock-outline", "folder-lock-outline"),
("folder-marker", "folder-marker"),
("folder-marker-outline", "folder-marker-outline"),
("folder-minus", "folder-minus"),
("folder-minus-outline", "folder-minus-outline"),
("folder-move", "folder-move"),
("folder-move-outline", "folder-move-outline"),
("folder-multiple", "folder-multiple"),
("folder-multiple-image", "folder-multiple-image"),
("folder-multiple-outline", "folder-multiple-outline"),
("folder-multiple-plus", "folder-multiple-plus"),
("folder-multiple-plus-outline", "folder-multiple-plus-outline"),
("folder-music", "folder-music"),
("folder-music-outline", "folder-music-outline"),
("folder-network", "folder-network"),
("folder-network-outline", "folder-network-outline"),
("folder-off", "folder-off"),
("folder-off-outline", "folder-off-outline"),
("folder-open", "folder-open"),
("folder-open-outline", "folder-open-outline"),
("folder-outline", "folder-outline"),
("folder-outline-lock", "folder-outline-lock"),
("folder-play", "folder-play"),
("folder-play-outline", "folder-play-outline"),
("folder-plus", "folder-plus"),
("folder-plus-outline", "folder-plus-outline"),
("folder-pound", "folder-pound"),
("folder-pound-outline", "folder-pound-outline"),
("folder-question", "folder-question"),
("folder-question-outline", "folder-question-outline"),
("folder-refresh", "folder-refresh"),
("folder-refresh-outline", "folder-refresh-outline"),
("folder-remove", "folder-remove"),
("folder-remove-outline", "folder-remove-outline"),
("folder-search", "folder-search"),
("folder-search-outline", "folder-search-outline"),
("folder-settings", "folder-settings"),
("folder-settings-outline", "folder-settings-outline"),
("folder-star", "folder-star"),
("folder-star-multiple", "folder-star-multiple"),
("folder-star-multiple-outline", "folder-star-multiple-outline"),
("folder-star-outline", "folder-star-outline"),
("folder-swap", "folder-swap"),
("folder-swap-outline", "folder-swap-outline"),
("folder-sync", "folder-sync"),
("folder-sync-outline", "folder-sync-outline"),
("folder-table", "folder-table"),
("folder-table-outline", "folder-table-outline"),
("folder-text", "folder-text"),
("folder-text-outline", "folder-text-outline"),
("folder-upload", "folder-upload"),
("folder-upload-outline", "folder-upload-outline"),
("folder-wrench", "folder-wrench"),
("folder-wrench-outline", "folder-wrench-outline"),
("folder-zip", "folder-zip"),
("folder-zip-outline", "folder-zip-outline"),
("font-awesome", "font-awesome"),
("food", "food"),
("food-apple", "food-apple"),
("food-apple-outline", "food-apple-outline"),
("food-croissant", "food-croissant"),
("food-drumstick", "food-drumstick"),
("food-drumstick-off", "food-drumstick-off"),
("food-drumstick-off-outline", "food-drumstick-off-outline"),
("food-drumstick-outline", "food-drumstick-outline"),
("food-fork-drink", "food-fork-drink"),
("food-halal", "food-halal"),
("food-hot-dog", "food-hot-dog"),
("food-kosher", "food-kosher"),
("food-off", "food-off"),
("food-off-outline", "food-off-outline"),
("food-outline", "food-outline"),
("food-steak", "food-steak"),
("food-steak-off", "food-steak-off"),
("food-takeout-box", "food-takeout-box"),
("food-takeout-box-outline", "food-takeout-box-outline"),
("food-turkey", "food-turkey"),
("food-variant", "food-variant"),
("food-variant-off", "food-variant-off"),
("foot-print", "foot-print"),
("football", "football"),
("football-australian", "football-australian"),
("football-helmet", "football-helmet"),
("footer", "footer"),
("forest", "forest"),
("forklift", "forklift"),
("form-dropdown", "form-dropdown"),
("form-select", "form-select"),
("form-textarea", "form-textarea"),
("form-textbox", "form-textbox"),
("form-textbox-lock", "form-textbox-lock"),
("form-textbox-password", "form-textbox-password"),
("format-align-bottom", "format-align-bottom"),
("format-align-center", "format-align-center"),
("format-align-justify", "format-align-justify"),
("format-align-left", "format-align-left"),
("format-align-middle", "format-align-middle"),
("format-align-right", "format-align-right"),
("format-align-top", "format-align-top"),
("format-annotation-minus", "format-annotation-minus"),
("format-annotation-plus", "format-annotation-plus"),
("format-bold", "format-bold"),
("format-clear", "format-clear"),
("format-color", "format-color"),
("format-color-fill", "format-color-fill"),
("format-color-highlight", "format-color-highlight"),
("format-color-marker-cancel", "format-color-marker-cancel"),
("format-color-text", "format-color-text"),
("format-columns", "format-columns"),
("format-float-center", "format-float-center"),
("format-float-left", "format-float-left"),
("format-float-none", "format-float-none"),
("format-float-right", "format-float-right"),
("format-font", "format-font"),
("format-font-size-decrease", "format-font-size-decrease"),
("format-font-size-increase", "format-font-size-increase"),
("format-header-1", "format-header-1"),
("format-header-2", "format-header-2"),
("format-header-3", "format-header-3"),
("format-header-4", "format-header-4"),
("format-header-5", "format-header-5"),
("format-header-6", "format-header-6"),
("format-header-decrease", "format-header-decrease"),
("format-header-down", "format-header-down"),
("format-header-equal", "format-header-equal"),
("format-header-increase", "format-header-increase"),
("format-header-pound", "format-header-pound"),
("format-header-up", "format-header-up"),
("format-horizontal-align-center", "format-horizontal-align-center"),
("format-horizontal-align-left", "format-horizontal-align-left"),
("format-horizontal-align-right", "format-horizontal-align-right"),
("format-indent-decrease", "format-indent-decrease"),
("format-indent-increase", "format-indent-increase"),
("format-italic", "format-italic"),
("format-letter-case", "format-letter-case"),
("format-letter-case-lower", "format-letter-case-lower"),
("format-letter-case-upper", "format-letter-case-upper"),
("format-letter-ends-with", "format-letter-ends-with"),
("format-letter-matches", "format-letter-matches"),
("format-letter-spacing", "format-letter-spacing"),
("format-letter-spacing-variant", "format-letter-spacing-variant"),
("format-letter-starts-with", "format-letter-starts-with"),
("format-line-height", "format-line-height"),
("format-line-spacing", "format-line-spacing"),
("format-line-style", "format-line-style"),
("format-line-weight", "format-line-weight"),
("format-list-bulleted", "format-list-bulleted"),
("format-list-bulleted-square", "format-list-bulleted-square"),
("format-list-bulleted-triangle", "format-list-bulleted-triangle"),
("format-list-bulleted-type", "format-list-bulleted-type"),
("format-list-checkbox", "format-list-checkbox"),
("format-list-checks", "format-list-checks"),
("format-list-group", "format-list-group"),
("format-list-group-plus", "format-list-group-plus"),
("format-list-numbered", "format-list-numbered"),
("format-list-numbered-rtl", "format-list-numbered-rtl"),
("format-list-text", "format-list-text"),
("format-list-triangle", "format-list-triangle"),
("format-overline", "format-overline"),
("format-page-break", "format-page-break"),
("format-page-split", "format-page-split"),
("format-paint", "format-paint"),
("format-paragraph", "format-paragraph"),
("format-paragraph-spacing", "format-paragraph-spacing"),
("format-pilcrow", "format-pilcrow"),
("format-pilcrow-arrow-left", "format-pilcrow-arrow-left"),
("format-pilcrow-arrow-right", "format-pilcrow-arrow-right"),
("format-quote-close", "format-quote-close"),
("format-quote-close-outline", "format-quote-close-outline"),
("format-quote-open", "format-quote-open"),
("format-quote-open-outline", "format-quote-open-outline"),
("format-rotate-90", "format-rotate-90"),
("format-section", "format-section"),
("format-size", "format-size"),
("format-strikethrough", "format-strikethrough"),
("format-strikethrough-variant", "format-strikethrough-variant"),
("format-subscript", "format-subscript"),
("format-superscript", "format-superscript"),
("format-text", "format-text"),
("format-text-rotation-angle-down", "format-text-rotation-angle-down"),
("format-text-rotation-angle-up", "format-text-rotation-angle-up"),
("format-text-rotation-down", "format-text-rotation-down"),
("format-text-rotation-down-vertical", "format-text-rotation-down-vertical"),
("format-text-rotation-none", "format-text-rotation-none"),
("format-text-rotation-up", "format-text-rotation-up"),
("format-text-rotation-vertical", "format-text-rotation-vertical"),
("format-text-variant", "format-text-variant"),
("format-text-variant-outline", "format-text-variant-outline"),
("format-text-wrapping-clip", "format-text-wrapping-clip"),
("format-text-wrapping-overflow", "format-text-wrapping-overflow"),
("format-text-wrapping-wrap", "format-text-wrapping-wrap"),
("format-textbox", "format-textbox"),
("format-title", "format-title"),
("format-underline", "format-underline"),
("format-underline-wavy", "format-underline-wavy"),
("format-vertical-align-bottom", "format-vertical-align-bottom"),
("format-vertical-align-center", "format-vertical-align-center"),
("format-vertical-align-top", "format-vertical-align-top"),
("format-wrap-inline", "format-wrap-inline"),
("format-wrap-square", "format-wrap-square"),
("format-wrap-tight", "format-wrap-tight"),
("format-wrap-top-bottom", "format-wrap-top-bottom"),
("forum", "forum"),
("forum-minus", "forum-minus"),
("forum-minus-outline", "forum-minus-outline"),
("forum-outline", "forum-outline"),
("forum-plus", "forum-plus"),
("forum-plus-outline", "forum-plus-outline"),
("forum-remove", "forum-remove"),
("forum-remove-outline", "forum-remove-outline"),
("forward", "forward"),
("forwardburger", "forwardburger"),
("fountain", "fountain"),
("fountain-pen", "fountain-pen"),
("fountain-pen-tip", "fountain-pen-tip"),
("foursquare", "foursquare"),
("fraction-one-half", "fraction-one-half"),
("freebsd", "freebsd"),
("french-fries", "french-fries"),
("frequently-asked-questions", "frequently-asked-questions"),
("fridge", "fridge"),
("fridge-alert", "fridge-alert"),
("fridge-alert-outline", "fridge-alert-outline"),
("fridge-bottom", "fridge-bottom"),
("fridge-industrial", "fridge-industrial"),
("fridge-industrial-alert", "fridge-industrial-alert"),
("fridge-industrial-alert-outline", "fridge-industrial-alert-outline"),
("fridge-industrial-off", "fridge-industrial-off"),
("fridge-industrial-off-outline", "fridge-industrial-off-outline"),
("fridge-industrial-outline", "fridge-industrial-outline"),
("fridge-off", "fridge-off"),
("fridge-off-outline", "fridge-off-outline"),
("fridge-outline", "fridge-outline"),
("fridge-top", "fridge-top"),
("fridge-variant", "fridge-variant"),
("fridge-variant-alert", "fridge-variant-alert"),
("fridge-variant-alert-outline", "fridge-variant-alert-outline"),
("fridge-variant-off", "fridge-variant-off"),
("fridge-variant-off-outline", "fridge-variant-off-outline"),
("fridge-variant-outline", "fridge-variant-outline"),
("fruit-cherries", "fruit-cherries"),
("fruit-cherries-off", "fruit-cherries-off"),
("fruit-citrus", "fruit-citrus"),
("fruit-citrus-off", "fruit-citrus-off"),
("fruit-grapes", "fruit-grapes"),
("fruit-grapes-outline", "fruit-grapes-outline"),
("fruit-pear", "fruit-pear"),
("fruit-pineapple", "fruit-pineapple"),
("fruit-watermelon", "fruit-watermelon"),
("fuel", "fuel"),
("fuel-cell", "fuel-cell"),
("fullscreen", "fullscreen"),
("fullscreen-exit", "fullscreen-exit"),
("function", "function"),
("function-variant", "function-variant"),
("furigana-horizontal", "furigana-horizontal"),
("furigana-vertical", "furigana-vertical"),
("fuse", "fuse"),
("fuse-alert", "fuse-alert"),
("fuse-blade", "fuse-blade"),
("fuse-off", "fuse-off"),
("gamepad", "gamepad"),
("gamepad-circle", "gamepad-circle"),
("gamepad-circle-down", "gamepad-circle-down"),
("gamepad-circle-left", "gamepad-circle-left"),
("gamepad-circle-outline", "gamepad-circle-outline"),
("gamepad-circle-right", "gamepad-circle-right"),
("gamepad-circle-up", "gamepad-circle-up"),
("gamepad-down", "gamepad-down"),
("gamepad-left", "gamepad-left"),
("gamepad-outline", "gamepad-outline"),
("gamepad-right", "gamepad-right"),
("gamepad-round", "gamepad-round"),
("gamepad-round-down", "gamepad-round-down"),
("gamepad-round-left", "gamepad-round-left"),
("gamepad-round-outline", "gamepad-round-outline"),
("gamepad-round-right", "gamepad-round-right"),
("gamepad-round-up", "gamepad-round-up"),
("gamepad-square", "gamepad-square"),
("gamepad-square-outline", "gamepad-square-outline"),
("gamepad-up", "gamepad-up"),
("gamepad-variant", "gamepad-variant"),
("gamepad-variant-outline", "gamepad-variant-outline"),
("gamma", "gamma"),
("gantry-crane", "gantry-crane"),
("garage", "garage"),
("garage-alert", "garage-alert"),
("garage-alert-variant", "garage-alert-variant"),
("garage-lock", "garage-lock"),
("garage-open", "garage-open"),
("garage-open-variant", "garage-open-variant"),
("garage-variant", "garage-variant"),
("garage-variant-lock", "garage-variant-lock"),
("gas-burner", "gas-burner"),
("gas-cylinder", "gas-cylinder"),
("gas-station", "gas-station"),
("gas-station-off", "gas-station-off"),
("gas-station-off-outline", "gas-station-off-outline"),
("gas-station-outline", "gas-station-outline"),
("gate", "gate"),
("gate-alert", "gate-alert"),
("gate-and", "gate-and"),
("gate-arrow-left", "gate-arrow-left"),
("gate-arrow-right", "gate-arrow-right"),
("gate-buffer", "gate-buffer"),
("gate-nand", "gate-nand"),
("gate-nor", "gate-nor"),
("gate-not", "gate-not"),
("gate-open", "gate-open"),
("gate-or", "gate-or"),
("gate-xnor", "gate-xnor"),
("gate-xor", "gate-xor"),
("gatsby", "gatsby"),
("gauge", "gauge"),
("gauge-empty", "gauge-empty"),
("gauge-full", "gauge-full"),
("gauge-low", "gauge-low"),
("gavel", "gavel"),
("gender-female", "gender-female"),
("gender-male", "gender-male"),
("gender-male-female", "gender-male-female"),
("gender-male-female-variant", "gender-male-female-variant"),
("gender-non-binary", "gender-non-binary"),
("gender-transgender", "gender-transgender"),
("gentoo", "gentoo"),
("gesture", "gesture"),
("gesture-double-tap", "gesture-double-tap"),
("gesture-pinch", "gesture-pinch"),
("gesture-spread", "gesture-spread"),
("gesture-swipe", "gesture-swipe"),
("gesture-swipe-down", "gesture-swipe-down"),
("gesture-swipe-horizontal", "gesture-swipe-horizontal"),
("gesture-swipe-left", "gesture-swipe-left"),
("gesture-swipe-right", "gesture-swipe-right"),
("gesture-swipe-up", "gesture-swipe-up"),
("gesture-swipe-vertical", "gesture-swipe-vertical"),
("gesture-tap", "gesture-tap"),
("gesture-tap-box", "gesture-tap-box"),
("gesture-tap-button", "gesture-tap-button"),
("gesture-tap-hold", "gesture-tap-hold"),
("gesture-two-double-tap", "gesture-two-double-tap"),
("gesture-two-tap", "gesture-two-tap"),
("ghost", "ghost"),
("ghost-off", "ghost-off"),
("ghost-off-outline", "ghost-off-outline"),
("ghost-outline", "ghost-outline"),
("gif", "gif"),
("gift", "gift"),
("gift-off", "gift-off"),
("gift-off-outline", "gift-off-outline"),
("gift-open", "gift-open"),
("gift-open-outline", "gift-open-outline"),
("gift-outline", "gift-outline"),
("git", "git"),
("github", "github"),
("github-box", "github-box"),
("github-face", "github-face"),
("gitlab", "gitlab"),
("glass-cocktail", "glass-cocktail"),
("glass-cocktail-off", "glass-cocktail-off"),
("glass-flute", "glass-flute"),
("glass-fragile", "glass-fragile"),
("glass-mug", "glass-mug"),
("glass-mug-off", "glass-mug-off"),
("glass-mug-variant", "glass-mug-variant"),
("glass-mug-variant-off", "glass-mug-variant-off"),
("glass-pint-outline", "glass-pint-outline"),
("glass-stange", "glass-stange"),
("glass-tulip", "glass-tulip"),
("glass-wine", "glass-wine"),
("glassdoor", "glassdoor"),
("glasses", "glasses"),
("globe-light", "globe-light"),
("globe-light-outline", "globe-light-outline"),
("globe-model", "globe-model"),
("gmail", "gmail"),
("gnome", "gnome"),
("go-kart", "go-kart"),
("go-kart-track", "go-kart-track"),
("gog", "gog"),
("gold", "gold"),
("golf", "golf"),
("golf-cart", "golf-cart"),
("golf-tee", "golf-tee"),
("gondola", "gondola"),
("goodreads", "goodreads"),
("google", "google"),
("google-ads", "google-ads"),
("google-allo", "google-allo"),
("google-analytics", "google-analytics"),
("google-assistant", "google-assistant"),
("google-cardboard", "google-cardboard"),
("google-chrome", "google-chrome"),
("google-circles", "google-circles"),
("google-circles-communities", "google-circles-communities"),
("google-circles-extended", "google-circles-extended"),
("google-circles-group", "google-circles-group"),
("google-classroom", "google-classroom"),
("google-cloud", "google-cloud"),
("google-downasaur", "google-downasaur"),
("google-drive", "google-drive"),
("google-earth", "google-earth"),
("google-fit", "google-fit"),
("google-glass", "google-glass"),
("google-hangouts", "google-hangouts"),
("google-home", "google-home"),
("google-keep", "google-keep"),
("google-lens", "google-lens"),
("google-maps", "google-maps"),
("google-my-business", "google-my-business"),
("google-nearby", "google-nearby"),
("google-pages", "google-pages"),
("google-photos", "google-photos"),
("google-physical-web", "google-physical-web"),
("google-play", "google-play"),
("google-plus", "google-plus"),
("google-plus-box", "google-plus-box"),
("google-podcast", "google-podcast"),
("google-spreadsheet", "google-spreadsheet"),
("google-street-view", "google-street-view"),
("google-translate", "google-translate"),
("google-wallet", "google-wallet"),
("gradient-horizontal", "gradient-horizontal"),
("gradient-vertical", "gradient-vertical"),
("grain", "grain"),
("graph", "graph"),
("graph-outline", "graph-outline"),
("graphql", "graphql"),
("grass", "grass"),
("grave-stone", "grave-stone"),
("grease-pencil", "grease-pencil"),
("greater-than", "greater-than"),
("greater-than-or-equal", "greater-than-or-equal"),
("greenhouse", "greenhouse"),
("grid", "grid"),
("grid-large", "grid-large"),
("grid-off", "grid-off"),
("grill", "grill"),
("grill-outline", "grill-outline"),
("group", "group"),
("guitar-acoustic", "guitar-acoustic"),
("guitar-electric", "guitar-electric"),
("guitar-pick", "guitar-pick"),
("guitar-pick-outline", "guitar-pick-outline"),
("guy-fawkes-mask", "guy-fawkes-mask"),
("gymnastics", "gymnastics"),
("hail", "hail"),
("hair-dryer", "hair-dryer"),
("hair-dryer-outline", "hair-dryer-outline"),
("halloween", "halloween"),
("hamburger", "hamburger"),
("hamburger-check", "hamburger-check"),
("hamburger-minus", "hamburger-minus"),
("hamburger-off", "hamburger-off"),
("hamburger-plus", "hamburger-plus"),
("hamburger-remove", "hamburger-remove"),
("hammer", "hammer"),
("hammer-screwdriver", "hammer-screwdriver"),
("hammer-sickle", "hammer-sickle"),
("hammer-wrench", "hammer-wrench"),
("hand-back-left", "hand-back-left"),
("hand-back-left-off", "hand-back-left-off"),
("hand-back-left-off-outline", "hand-back-left-off-outline"),
("hand-back-left-outline", "hand-back-left-outline"),
("hand-back-right", "hand-back-right"),
("hand-back-right-off", "hand-back-right-off"),
("hand-back-right-off-outline", "hand-back-right-off-outline"),
("hand-back-right-outline", "hand-back-right-outline"),
("hand-clap", "hand-clap"),
("hand-clap-off", "hand-clap-off"),
("hand-coin", "hand-coin"),
("hand-coin-outline", "hand-coin-outline"),
("hand-cycle", "hand-cycle"),
("hand-extended", "hand-extended"),
("hand-extended-outline", "hand-extended-outline"),
("hand-front-left", "hand-front-left"),
("hand-front-left-outline", "hand-front-left-outline"),
("hand-front-right", "hand-front-right"),
("hand-front-right-outline", "hand-front-right-outline"),
("hand-heart", "hand-heart"),
("hand-heart-outline", "hand-heart-outline"),
("hand-left", "hand-left"),
("hand-okay", "hand-okay"),
("hand-peace", "hand-peace"),
("hand-peace-variant", "hand-peace-variant"),
("hand-pointing-down", "hand-pointing-down"),
("hand-pointing-left", "hand-pointing-left"),
("hand-pointing-right", "hand-pointing-right"),
("hand-pointing-up", "hand-pointing-up"),
("hand-right", "hand-right"),
("hand-saw", "hand-saw"),
("hand-wash", "hand-wash"),
("hand-wash-outline", "hand-wash-outline"),
("hand-water", "hand-water"),
("hand-wave", "hand-wave"),
("hand-wave-outline", "hand-wave-outline"),
("handball", "handball"),
("handcuffs", "handcuffs"),
("hands-pray", "hands-pray"),
("handshake", "handshake"),
("handshake-outline", "handshake-outline"),
("hanger", "hanger"),
("hangouts", "hangouts"),
("hard-hat", "hard-hat"),
("harddisk", "harddisk"),
("harddisk-plus", "harddisk-plus"),
("harddisk-remove", "harddisk-remove"),
("hat-fedora", "hat-fedora"),
("hazard-lights", "hazard-lights"),
("hdmi-port", "hdmi-port"),
("hdr", "hdr"),
("hdr-off", "hdr-off"),
("head", "head"),
("head-alert", "head-alert"),
("head-alert-outline", "head-alert-outline"),
("head-check", "head-check"),
("head-check-outline", "head-check-outline"),
("head-cog", "head-cog"),
("head-cog-outline", "head-cog-outline"),
("head-dots-horizontal", "head-dots-horizontal"),
("head-dots-horizontal-outline", "head-dots-horizontal-outline"),
("head-flash", "head-flash"),
("head-flash-outline", "head-flash-outline"),
("head-heart", "head-heart"),
("head-heart-outline", "head-heart-outline"),
("head-lightbulb", "head-lightbulb"),
("head-lightbulb-outline", "head-lightbulb-outline"),
("head-minus", "head-minus"),
("head-minus-outline", "head-minus-outline"),
("head-outline", "head-outline"),
("head-plus", "head-plus"),
("head-plus-outline", "head-plus-outline"),
("head-question", "head-question"),
("head-question-outline", "head-question-outline"),
("head-remove", "head-remove"),
("head-remove-outline", "head-remove-outline"),
("head-snowflake", "head-snowflake"),
("head-snowflake-outline", "head-snowflake-outline"),
("head-sync", "head-sync"),
("head-sync-outline", "head-sync-outline"),
("headphones", "headphones"),
("headphones-bluetooth", "headphones-bluetooth"),
("headphones-box", "headphones-box"),
("headphones-off", "headphones-off"),
("headphones-settings", "headphones-settings"),
("headset", "headset"),
("headset-dock", "headset-dock"),
("headset-off", "headset-off"),
("heart", "heart"),
("heart-box", "heart-box"),
("heart-box-outline", "heart-box-outline"),
("heart-broken", "heart-broken"),
("heart-broken-outline", "heart-broken-outline"),
("heart-circle", "heart-circle"),
("heart-circle-outline", "heart-circle-outline"),
("heart-cog", "heart-cog"),
("heart-cog-outline", "heart-cog-outline"),
("heart-flash", "heart-flash"),
("heart-half", "heart-half"),
("heart-half-full", "heart-half-full"),
("heart-half-outline", "heart-half-outline"),
("heart-minus", "heart-minus"),
("heart-minus-outline", "heart-minus-outline"),
("heart-multiple", "heart-multiple"),
("heart-multiple-outline", "heart-multiple-outline"),
("heart-off", "heart-off"),
("heart-off-outline", "heart-off-outline"),
("heart-outline", "heart-outline"),
("heart-plus", "heart-plus"),
("heart-plus-outline", "heart-plus-outline"),
("heart-pulse", "heart-pulse"),
("heart-remove", "heart-remove"),
("heart-remove-outline", "heart-remove-outline"),
("heart-settings", "heart-settings"),
("heart-settings-outline", "heart-settings-outline"),
("heat-pump", "heat-pump"),
("heat-pump-outline", "heat-pump-outline"),
("heat-wave", "heat-wave"),
("heating-coil", "heating-coil"),
("helicopter", "helicopter"),
("help", "help"),
("help-box", "help-box"),
("help-box-multiple", "help-box-multiple"),
("help-box-multiple-outline", "help-box-multiple-outline"),
("help-box-outline", "help-box-outline"),
("help-circle", "help-circle"),
("help-circle-outline", "help-circle-outline"),
("help-network", "help-network"),
("help-network-outline", "help-network-outline"),
("help-rhombus", "help-rhombus"),
("help-rhombus-outline", "help-rhombus-outline"),
("hexadecimal", "hexadecimal"),
("hexagon", "hexagon"),
("hexagon-multiple", "hexagon-multiple"),
("hexagon-multiple-outline", "hexagon-multiple-outline"),
("hexagon-outline", "hexagon-outline"),
("hexagon-slice-1", "hexagon-slice-1"),
("hexagon-slice-2", "hexagon-slice-2"),
("hexagon-slice-3", "hexagon-slice-3"),
("hexagon-slice-4", "hexagon-slice-4"),
("hexagon-slice-5", "hexagon-slice-5"),
("hexagon-slice-6", "hexagon-slice-6"),
("hexagram", "hexagram"),
("hexagram-outline", "hexagram-outline"),
("high-definition", "high-definition"),
("high-definition-box", "high-definition-box"),
("highway", "highway"),
("hiking", "hiking"),
("history", "history"),
("hockey-puck", "hockey-puck"),
("hockey-sticks", "hockey-sticks"),
("hololens", "hololens"),
("home", "home"),
("home-account", "home-account"),
("home-alert", "home-alert"),
("home-alert-outline", "home-alert-outline"),
("home-analytics", "home-analytics"),
("home-assistant", "home-assistant"),
("home-automation", "home-automation"),
("home-battery", "home-battery"),
("home-battery-outline", "home-battery-outline"),
("home-circle", "home-circle"),
("home-circle-outline", "home-circle-outline"),
("home-city", "home-city"),
("home-city-outline", "home-city-outline"),
("home-clock", "home-clock"),
("home-clock-outline", "home-clock-outline"),
("home-currency-usd", "home-currency-usd"),
("home-edit", "home-edit"),
("home-edit-outline", "home-edit-outline"),
("home-export-outline", "home-export-outline"),
("home-flood", "home-flood"),
("home-floor-0", "home-floor-0"),
("home-floor-1", "home-floor-1"),
("home-floor-2", "home-floor-2"),
("home-floor-3", "home-floor-3"),
("home-floor-a", "home-floor-a"),
("home-floor-b", "home-floor-b"),
("home-floor-g", "home-floor-g"),
("home-floor-l", "home-floor-l"),
("home-floor-negative-1", "home-floor-negative-1"),
("home-group", "home-group"),
("home-group-minus", "home-group-minus"),
("home-group-plus", "home-group-plus"),
("home-group-remove", "home-group-remove"),
("home-heart", "home-heart"),
("home-import-outline", "home-import-outline"),
("home-lightbulb", "home-lightbulb"),
("home-lightbulb-outline", "home-lightbulb-outline"),
("home-lightning-bolt", "home-lightning-bolt"),
("home-lightning-bolt-outline", "home-lightning-bolt-outline"),
("home-lock", "home-lock"),
("home-lock-open", "home-lock-open"),
("home-map-marker", "home-map-marker"),
("home-minus", "home-minus"),
("home-minus-outline", "home-minus-outline"),
("home-modern", "home-modern"),
("home-off", "home-off"),
("home-off-outline", "home-off-outline"),
("home-outline", "home-outline"),
("home-plus", "home-plus"),
("home-plus-outline", "home-plus-outline"),
("home-remove", "home-remove"),
("home-remove-outline", "home-remove-outline"),
("home-roof", "home-roof"),
("home-search", "home-search"),
("home-search-outline", "home-search-outline"),
("home-silo", "home-silo"),
("home-silo-outline", "home-silo-outline"),
("home-switch", "home-switch"),
("home-switch-outline", "home-switch-outline"),
("home-thermometer", "home-thermometer"),
("home-thermometer-outline", "home-thermometer-outline"),
("home-variant", "home-variant"),
("home-variant-outline", "home-variant-outline"),
("hook", "hook"),
("hook-off", "hook-off"),
("hoop-house", "hoop-house"),
("hops", "hops"),
("horizontal-rotate-clockwise", "horizontal-rotate-clockwise"),
("horizontal-rotate-counterclockwise", "horizontal-rotate-counterclockwise"),
("horse", "horse"),
("horse-human", "horse-human"),
("horse-variant", "horse-variant"),
("horse-variant-fast", "horse-variant-fast"),
("horseshoe", "horseshoe"),
("hospital", "hospital"),
("hospital-box", "hospital-box"),
("hospital-box-outline", "hospital-box-outline"),
("hospital-building", "hospital-building"),
("hospital-marker", "hospital-marker"),
("hot-tub", "hot-tub"),
("hours-24", "hours-24"),
("houzz", "houzz"),
("houzz-box", "houzz-box"),
("hubspot", "hubspot"),
("hulu", "hulu"),
("human", "human"),
("human-baby-changing-table", "human-baby-changing-table"),
("human-cane", "human-cane"),
("human-capacity-decrease", "human-capacity-decrease"),
("human-capacity-increase", "human-capacity-increase"),
("human-child", "human-child"),
("human-dolly", "human-dolly"),
("human-edit", "human-edit"),
("human-female", "human-female"),
("human-female-boy", "human-female-boy"),
("human-female-dance", "human-female-dance"),
("human-female-female", "human-female-female"),
("human-female-girl", "human-female-girl"),
("human-greeting", "human-greeting"),
("human-greeting-proximity", "human-greeting-proximity"),
("human-greeting-variant", "human-greeting-variant"),
("human-handsdown", "human-handsdown"),
("human-handsup", "human-handsup"),
("human-male", "human-male"),
("human-male-board", "human-male-board"),
("human-male-board-poll", "human-male-board-poll"),
("human-male-boy", "human-male-boy"),
("human-male-child", "human-male-child"),
("human-male-female", "human-male-female"),
("human-male-female-child", "human-male-female-child"),
("human-male-girl", "human-male-girl"),
("human-male-height", "human-male-height"),
("human-male-height-variant", "human-male-height-variant"),
("human-male-male", "human-male-male"),
("human-non-binary", "human-non-binary"),
("human-pregnant", "human-pregnant"),
("human-queue", "human-queue"),
("human-scooter", "human-scooter"),
("human-walker", "human-walker"),
("human-wheelchair", "human-wheelchair"),
("human-white-cane", "human-white-cane"),
("humble-bundle", "humble-bundle"),
("hurricane", "hurricane"),
("hvac", "hvac"),
("hvac-off", "hvac-off"),
("hydraulic-oil-level", "hydraulic-oil-level"),
("hydraulic-oil-temperature", "hydraulic-oil-temperature"),
("hydro-power", "hydro-power"),
("hydrogen-station", "hydrogen-station"),
("ice-cream", "ice-cream"),
("ice-cream-off", "ice-cream-off"),
("ice-pop", "ice-pop"),
("id-card", "id-card"),
("identifier", "identifier"),
("ideogram-cjk", "ideogram-cjk"),
("ideogram-cjk-variant", "ideogram-cjk-variant"),
("image", "image"),
("image-album", "image-album"),
("image-area", "image-area"),
("image-area-close", "image-area-close"),
("image-auto-adjust", "image-auto-adjust"),
("image-broken", "image-broken"),
("image-broken-variant", "image-broken-variant"),
("image-check", "image-check"),
("image-check-outline", "image-check-outline"),
("image-edit", "image-edit"),
("image-edit-outline", "image-edit-outline"),
("image-filter-black-white", "image-filter-black-white"),
("image-filter-center-focus", "image-filter-center-focus"),
("image-filter-center-focus-strong", "image-filter-center-focus-strong"),
(
"image-filter-center-focus-strong-outline",
"image-filter-center-focus-strong-outline",
),
("image-filter-center-focus-weak", "image-filter-center-focus-weak"),
("image-filter-drama", "image-filter-drama"),
("image-filter-drama-outline", "image-filter-drama-outline"),
("image-filter-frames", "image-filter-frames"),
("image-filter-hdr", "image-filter-hdr"),
("image-filter-none", "image-filter-none"),
("image-filter-tilt-shift", "image-filter-tilt-shift"),
("image-filter-vintage", "image-filter-vintage"),
("image-frame", "image-frame"),
("image-lock", "image-lock"),
("image-lock-outline", "image-lock-outline"),
("image-marker", "image-marker"),
("image-marker-outline", "image-marker-outline"),
("image-minus", "image-minus"),
("image-minus-outline", "image-minus-outline"),
("image-move", "image-move"),
("image-multiple", "image-multiple"),
("image-multiple-outline", "image-multiple-outline"),
("image-off", "image-off"),
("image-off-outline", "image-off-outline"),
("image-outline", "image-outline"),
("image-plus", "image-plus"),
("image-plus-outline", "image-plus-outline"),
("image-refresh", "image-refresh"),
("image-refresh-outline", "image-refresh-outline"),
("image-remove", "image-remove"),
("image-remove-outline", "image-remove-outline"),
("image-search", "image-search"),
("image-search-outline", "image-search-outline"),
("image-size-select-actual", "image-size-select-actual"),
("image-size-select-large", "image-size-select-large"),
("image-size-select-small", "image-size-select-small"),
("image-sync", "image-sync"),
("image-sync-outline", "image-sync-outline"),
("image-text", "image-text"),
("import", "import"),
("inbox", "inbox"),
("inbox-arrow-down", "inbox-arrow-down"),
("inbox-arrow-down-outline", "inbox-arrow-down-outline"),
("inbox-arrow-up", "inbox-arrow-up"),
("inbox-arrow-up-outline", "inbox-arrow-up-outline"),
("inbox-full", "inbox-full"),
("inbox-full-outline", "inbox-full-outline"),
("inbox-multiple", "inbox-multiple"),
("inbox-multiple-outline", "inbox-multiple-outline"),
("inbox-outline", "inbox-outline"),
("inbox-remove", "inbox-remove"),
("inbox-remove-outline", "inbox-remove-outline"),
("incognito", "incognito"),
("incognito-circle", "incognito-circle"),
("incognito-circle-off", "incognito-circle-off"),
("incognito-off", "incognito-off"),
("indent", "indent"),
("induction", "induction"),
("infinity", "infinity"),
("information", "information"),
("information-off", "information-off"),
("information-off-outline", "information-off-outline"),
("information-outline", "information-outline"),
("information-variant", "information-variant"),
("instagram", "instagram"),
("instapaper", "instapaper"),
("instrument-triangle", "instrument-triangle"),
("integrated-circuit-chip", "integrated-circuit-chip"),
("invert-colors", "invert-colors"),
("invert-colors-off", "invert-colors-off"),
("iobroker", "iobroker"),
("ip", "ip"),
("ip-network", "ip-network"),
("ip-network-outline", "ip-network-outline"),
("ip-outline", "ip-outline"),
("ipod", "ipod"),
("iron", "iron"),
("iron-board", "iron-board"),
("iron-outline", "iron-outline"),
("island", "island"),
("itunes", "itunes"),
("iv-bag", "iv-bag"),
("jabber", "jabber"),
("jeepney", "jeepney"),
("jellyfish", "jellyfish"),
("jellyfish-outline", "jellyfish-outline"),
("jira", "jira"),
("jquery", "jquery"),
("jsfiddle", "jsfiddle"),
("jump-rope", "jump-rope"),
("kabaddi", "kabaddi"),
("kangaroo", "kangaroo"),
("karate", "karate"),
("kayaking", "kayaking"),
("keg", "keg"),
("kettle", "kettle"),
("kettle-alert", "kettle-alert"),
("kettle-alert-outline", "kettle-alert-outline"),
("kettle-off", "kettle-off"),
("kettle-off-outline", "kettle-off-outline"),
("kettle-outline", "kettle-outline"),
("kettle-pour-over", "kettle-pour-over"),
("kettle-steam", "kettle-steam"),
("kettle-steam-outline", "kettle-steam-outline"),
("kettlebell", "kettlebell"),
("key", "key"),
("key-alert", "key-alert"),
("key-alert-outline", "key-alert-outline"),
("key-arrow-right", "key-arrow-right"),
("key-chain", "key-chain"),
("key-chain-variant", "key-chain-variant"),
("key-change", "key-change"),
("key-link", "key-link"),
("key-minus", "key-minus"),
("key-outline", "key-outline"),
("key-plus", "key-plus"),
("key-remove", "key-remove"),
("key-star", "key-star"),
("key-variant", "key-variant"),
("key-wireless", "key-wireless"),
("keyboard", "keyboard"),
("keyboard-backspace", "keyboard-backspace"),
("keyboard-caps", "keyboard-caps"),
("keyboard-close", "keyboard-close"),
("keyboard-close-outline", "keyboard-close-outline"),
("keyboard-esc", "keyboard-esc"),
("keyboard-f1", "keyboard-f1"),
("keyboard-f10", "keyboard-f10"),
("keyboard-f11", "keyboard-f11"),
("keyboard-f12", "keyboard-f12"),
("keyboard-f2", "keyboard-f2"),
("keyboard-f3", "keyboard-f3"),
("keyboard-f4", "keyboard-f4"),
("keyboard-f5", "keyboard-f5"),
("keyboard-f6", "keyboard-f6"),
("keyboard-f7", "keyboard-f7"),
("keyboard-f8", "keyboard-f8"),
("keyboard-f9", "keyboard-f9"),
("keyboard-off", "keyboard-off"),
("keyboard-off-outline", "keyboard-off-outline"),
("keyboard-outline", "keyboard-outline"),
("keyboard-return", "keyboard-return"),
("keyboard-settings", "keyboard-settings"),
("keyboard-settings-outline", "keyboard-settings-outline"),
("keyboard-space", "keyboard-space"),
("keyboard-tab", "keyboard-tab"),
("keyboard-tab-reverse", "keyboard-tab-reverse"),
("keyboard-variant", "keyboard-variant"),
("khanda", "khanda"),
("kickstarter", "kickstarter"),
("kite", "kite"),
("kite-outline", "kite-outline"),
("kitesurfing", "kitesurfing"),
("klingon", "klingon"),
("knife", "knife"),
("knife-military", "knife-military"),
("knob", "knob"),
("koala", "koala"),
("kodi", "kodi"),
("kubernetes", "kubernetes"),
("label", "label"),
("label-multiple", "label-multiple"),
("label-multiple-outline", "label-multiple-outline"),
("label-off", "label-off"),
("label-off-outline", "label-off-outline"),
("label-outline", "label-outline"),
("label-percent", "label-percent"),
("label-percent-outline", "label-percent-outline"),
("label-variant", "label-variant"),
("label-variant-outline", "label-variant-outline"),
("ladder", "ladder"),
("ladybug", "ladybug"),
("lambda", "lambda"),
("lamp", "lamp"),
("lamp-outline", "lamp-outline"),
("lamps", "lamps"),
("lamps-outline", "lamps-outline"),
("lan", "lan"),
("lan-check", "lan-check"),
("lan-connect", "lan-connect"),
("lan-disconnect", "lan-disconnect"),
("lan-pending", "lan-pending"),
("land-fields", "land-fields"),
("land-plots", "land-plots"),
("land-plots-circle", "land-plots-circle"),
("land-plots-circle-variant", "land-plots-circle-variant"),
("land-rows-horizontal", "land-rows-horizontal"),
("land-rows-vertical", "land-rows-vertical"),
("landslide", "landslide"),
("landslide-outline", "landslide-outline"),
("language-c", "language-c"),
("language-cpp", "language-cpp"),
("language-csharp", "language-csharp"),
("language-css3", "language-css3"),
("language-fortran", "language-fortran"),
("language-go", "language-go"),
("language-haskell", "language-haskell"),
("language-html5", "language-html5"),
("language-java", "language-java"),
("language-javascript", "language-javascript"),
("language-jsx", "language-jsx"),
("language-kotlin", "language-kotlin"),
("language-lua", "language-lua"),
("language-markdown", "language-markdown"),
("language-markdown-outline", "language-markdown-outline"),
("language-php", "language-php"),
("language-python", "language-python"),
("language-python-text", "language-python-text"),
("language-r", "language-r"),
("language-ruby", "language-ruby"),
("language-ruby-on-rails", "language-ruby-on-rails"),
("language-rust", "language-rust"),
("language-swift", "language-swift"),
("language-typescript", "language-typescript"),
("language-xaml", "language-xaml"),
("laptop", "laptop"),
("laptop-account", "laptop-account"),
("laptop-chromebook", "laptop-chromebook"),
("laptop-mac", "laptop-mac"),
("laptop-off", "laptop-off"),
("laptop-windows", "laptop-windows"),
("laravel", "laravel"),
("laser-pointer", "laser-pointer"),
("lasso", "lasso"),
("lastfm", "lastfm"),
("lastpass", "lastpass"),
("latitude", "latitude"),
("launch", "launch"),
("lava-lamp", "lava-lamp"),
("layers", "layers"),
("layers-edit", "layers-edit"),
("layers-minus", "layers-minus"),
("layers-off", "layers-off"),
("layers-off-outline", "layers-off-outline"),
("layers-outline", "layers-outline"),
("layers-plus", "layers-plus"),
("layers-remove", "layers-remove"),
("layers-search", "layers-search"),
("layers-search-outline", "layers-search-outline"),
("layers-triple", "layers-triple"),
("layers-triple-outline", "layers-triple-outline"),
("lead-pencil", "lead-pencil"),
("leaf", "leaf"),
("leaf-circle", "leaf-circle"),
("leaf-circle-outline", "leaf-circle-outline"),
("leaf-maple", "leaf-maple"),
("leaf-maple-off", "leaf-maple-off"),
("leaf-off", "leaf-off"),
("leak", "leak"),
("leak-off", "leak-off"),
("lectern", "lectern"),
("led-off", "led-off"),
("led-on", "led-on"),
("led-outline", "led-outline"),
("led-strip", "led-strip"),
("led-strip-variant", "led-strip-variant"),
("led-strip-variant-off", "led-strip-variant-off"),
("led-variant-off", "led-variant-off"),
("led-variant-on", "led-variant-on"),
("led-variant-outline", "led-variant-outline"),
("leek", "leek"),
("less-than", "less-than"),
("less-than-or-equal", "less-than-or-equal"),
("library", "library"),
("library-books", "library-books"),
("library-outline", "library-outline"),
("library-shelves", "library-shelves"),
("license", "license"),
("lifebuoy", "lifebuoy"),
("light-flood-down", "light-flood-down"),
("light-flood-up", "light-flood-up"),
("light-recessed", "light-recessed"),
("light-switch", "light-switch"),
("light-switch-off", "light-switch-off"),
("lightbulb", "lightbulb"),
("lightbulb-alert", "lightbulb-alert"),
("lightbulb-alert-outline", "lightbulb-alert-outline"),
("lightbulb-auto", "lightbulb-auto"),
("lightbulb-auto-outline", "lightbulb-auto-outline"),
("lightbulb-cfl", "lightbulb-cfl"),
("lightbulb-cfl-off", "lightbulb-cfl-off"),
("lightbulb-cfl-spiral", "lightbulb-cfl-spiral"),
("lightbulb-cfl-spiral-off", "lightbulb-cfl-spiral-off"),
("lightbulb-fluorescent-tube", "lightbulb-fluorescent-tube"),
("lightbulb-fluorescent-tube-outline", "lightbulb-fluorescent-tube-outline"),
("lightbulb-group", "lightbulb-group"),
("lightbulb-group-off", "lightbulb-group-off"),
("lightbulb-group-off-outline", "lightbulb-group-off-outline"),
("lightbulb-group-outline", "lightbulb-group-outline"),
("lightbulb-multiple", "lightbulb-multiple"),
("lightbulb-multiple-off", "lightbulb-multiple-off"),
("lightbulb-multiple-off-outline", "lightbulb-multiple-off-outline"),
("lightbulb-multiple-outline", "lightbulb-multiple-outline"),
("lightbulb-night", "lightbulb-night"),
("lightbulb-night-outline", "lightbulb-night-outline"),
("lightbulb-off", "lightbulb-off"),
("lightbulb-off-outline", "lightbulb-off-outline"),
("lightbulb-on", "lightbulb-on"),
("lightbulb-on-10", "lightbulb-on-10"),
("lightbulb-on-20", "lightbulb-on-20"),
("lightbulb-on-30", "lightbulb-on-30"),
("lightbulb-on-40", "lightbulb-on-40"),
("lightbulb-on-50", "lightbulb-on-50"),
("lightbulb-on-60", "lightbulb-on-60"),
("lightbulb-on-70", "lightbulb-on-70"),
("lightbulb-on-80", "lightbulb-on-80"),
("lightbulb-on-90", "lightbulb-on-90"),
("lightbulb-on-outline", "lightbulb-on-outline"),
("lightbulb-outline", "lightbulb-outline"),
("lightbulb-question", "lightbulb-question"),
("lightbulb-question-outline", "lightbulb-question-outline"),
("lightbulb-spot", "lightbulb-spot"),
("lightbulb-spot-off", "lightbulb-spot-off"),
("lightbulb-variant", "lightbulb-variant"),
("lightbulb-variant-outline", "lightbulb-variant-outline"),
("lighthouse", "lighthouse"),
("lighthouse-on", "lighthouse-on"),
("lightning-bolt", "lightning-bolt"),
("lightning-bolt-circle", "lightning-bolt-circle"),
("lightning-bolt-outline", "lightning-bolt-outline"),
("line-scan", "line-scan"),
("lingerie", "lingerie"),
("link", "link"),
("link-box", "link-box"),
("link-box-outline", "link-box-outline"),
("link-box-variant", "link-box-variant"),
("link-box-variant-outline", "link-box-variant-outline"),
("link-lock", "link-lock"),
("link-off", "link-off"),
("link-plus", "link-plus"),
("link-variant", "link-variant"),
("link-variant-minus", "link-variant-minus"),
("link-variant-off", "link-variant-off"),
("link-variant-plus", "link-variant-plus"),
("link-variant-remove", "link-variant-remove"),
("linkedin", "linkedin"),
("linode", "linode"),
("linux", "linux"),
("linux-mint", "linux-mint"),
("lipstick", "lipstick"),
("liquid-spot", "liquid-spot"),
("liquor", "liquor"),
("list-box", "list-box"),
("list-box-outline", "list-box-outline"),
("list-status", "list-status"),
("litecoin", "litecoin"),
("loading", "loading"),
("location-enter", "location-enter"),
("location-exit", "location-exit"),
("lock", "lock"),
("lock-alert", "lock-alert"),
("lock-alert-outline", "lock-alert-outline"),
("lock-check", "lock-check"),
("lock-check-outline", "lock-check-outline"),
("lock-clock", "lock-clock"),
("lock-minus", "lock-minus"),
("lock-minus-outline", "lock-minus-outline"),
("lock-off", "lock-off"),
("lock-off-outline", "lock-off-outline"),
("lock-open", "lock-open"),
("lock-open-alert", "lock-open-alert"),
("lock-open-alert-outline", "lock-open-alert-outline"),
("lock-open-check", "lock-open-check"),
("lock-open-check-outline", "lock-open-check-outline"),
("lock-open-minus", "lock-open-minus"),
("lock-open-minus-outline", "lock-open-minus-outline"),
("lock-open-outline", "lock-open-outline"),
("lock-open-plus", "lock-open-plus"),
("lock-open-plus-outline", "lock-open-plus-outline"),
("lock-open-remove", "lock-open-remove"),
("lock-open-remove-outline", "lock-open-remove-outline"),
("lock-open-variant", "lock-open-variant"),
("lock-open-variant-outline", "lock-open-variant-outline"),
("lock-outline", "lock-outline"),
("lock-pattern", "lock-pattern"),
("lock-percent", "lock-percent"),
("lock-percent-open", "lock-percent-open"),
("lock-percent-open-outline", "lock-percent-open-outline"),
("lock-percent-open-variant", "lock-percent-open-variant"),
("lock-percent-open-variant-outline", "lock-percent-open-variant-outline"),
("lock-percent-outline", "lock-percent-outline"),
("lock-plus", "lock-plus"),
("lock-plus-outline", "lock-plus-outline"),
("lock-question", "lock-question"),
("lock-remove", "lock-remove"),
("lock-remove-outline", "lock-remove-outline"),
("lock-reset", "lock-reset"),
("lock-smart", "lock-smart"),
("locker", "locker"),
("locker-multiple", "locker-multiple"),
("login", "login"),
("login-variant", "login-variant"),
("logout", "logout"),
("logout-variant", "logout-variant"),
("longitude", "longitude"),
("looks", "looks"),
("lotion", "lotion"),
("lotion-outline", "lotion-outline"),
("lotion-plus", "lotion-plus"),
("lotion-plus-outline", "lotion-plus-outline"),
("loupe", "loupe"),
("lumx", "lumx"),
("lungs", "lungs"),
("lyft", "lyft"),
("mace", "mace"),
("magazine-pistol", "magazine-pistol"),
("magazine-rifle", "magazine-rifle"),
("magic-staff", "magic-staff"),
("magnet", "magnet"),
("magnet-on", "magnet-on"),
("magnify", "magnify"),
("magnify-close", "magnify-close"),
("magnify-expand", "magnify-expand"),
("magnify-minus", "magnify-minus"),
("magnify-minus-cursor", "magnify-minus-cursor"),
("magnify-minus-outline", "magnify-minus-outline"),
("magnify-plus", "magnify-plus"),
("magnify-plus-cursor", "magnify-plus-cursor"),
("magnify-plus-outline", "magnify-plus-outline"),
("magnify-remove-cursor", "magnify-remove-cursor"),
("magnify-remove-outline", "magnify-remove-outline"),
("magnify-scan", "magnify-scan"),
("mail", "mail"),
("mail-ru", "mail-ru"),
("mailbox", "mailbox"),
("mailbox-open", "mailbox-open"),
("mailbox-open-outline", "mailbox-open-outline"),
("mailbox-open-up", "mailbox-open-up"),
("mailbox-open-up-outline", "mailbox-open-up-outline"),
("mailbox-outline", "mailbox-outline"),
("mailbox-up", "mailbox-up"),
("mailbox-up-outline", "mailbox-up-outline"),
("manjaro", "manjaro"),
("map", "map"),
("map-check", "map-check"),
("map-check-outline", "map-check-outline"),
("map-clock", "map-clock"),
("map-clock-outline", "map-clock-outline"),
("map-legend", "map-legend"),
("map-marker", "map-marker"),
("map-marker-account", "map-marker-account"),
("map-marker-account-outline", "map-marker-account-outline"),
("map-marker-alert", "map-marker-alert"),
("map-marker-alert-outline", "map-marker-alert-outline"),
("map-marker-check", "map-marker-check"),
("map-marker-check-outline", "map-marker-check-outline"),
("map-marker-circle", "map-marker-circle"),
("map-marker-distance", "map-marker-distance"),
("map-marker-down", "map-marker-down"),
("map-marker-left", "map-marker-left"),
("map-marker-left-outline", "map-marker-left-outline"),
("map-marker-minus", "map-marker-minus"),
("map-marker-minus-outline", "map-marker-minus-outline"),
("map-marker-multiple", "map-marker-multiple"),
("map-marker-multiple-outline", "map-marker-multiple-outline"),
("map-marker-off", "map-marker-off"),
("map-marker-off-outline", "map-marker-off-outline"),
("map-marker-outline", "map-marker-outline"),
("map-marker-path", "map-marker-path"),
("map-marker-plus", "map-marker-plus"),
("map-marker-plus-outline", "map-marker-plus-outline"),
("map-marker-question", "map-marker-question"),
("map-marker-question-outline", "map-marker-question-outline"),
("map-marker-radius", "map-marker-radius"),
("map-marker-radius-outline", "map-marker-radius-outline"),
("map-marker-remove", "map-marker-remove"),
("map-marker-remove-outline", "map-marker-remove-outline"),
("map-marker-remove-variant", "map-marker-remove-variant"),
("map-marker-right", "map-marker-right"),
("map-marker-right-outline", "map-marker-right-outline"),
("map-marker-star", "map-marker-star"),
("map-marker-star-outline", "map-marker-star-outline"),
("map-marker-up", "map-marker-up"),
("map-minus", "map-minus"),
("map-outline", "map-outline"),
("map-plus", "map-plus"),
("map-search", "map-search"),
("map-search-outline", "map-search-outline"),
("mapbox", "mapbox"),
("margin", "margin"),
("marker", "marker"),
("marker-cancel", "marker-cancel"),
("marker-check", "marker-check"),
("mastodon", "mastodon"),
("mastodon-variant", "mastodon-variant"),
("material-design", "material-design"),
("material-ui", "material-ui"),
("math-compass", "math-compass"),
("math-cos", "math-cos"),
("math-integral", "math-integral"),
("math-integral-box", "math-integral-box"),
("math-log", "math-log"),
("math-norm", "math-norm"),
("math-norm-box", "math-norm-box"),
("math-sin", "math-sin"),
("math-tan", "math-tan"),
("matrix", "matrix"),
("maxcdn", "maxcdn"),
("medal", "medal"),
("medal-outline", "medal-outline"),
("medical-bag", "medical-bag"),
("medical-cotton-swab", "medical-cotton-swab"),
("medication", "medication"),
("medication-outline", "medication-outline"),
("meditation", "meditation"),
("medium", "medium"),
("meetup", "meetup"),
("memory", "memory"),
("menorah", "menorah"),
("menorah-fire", "menorah-fire"),
("menu", "menu"),
("menu-close", "menu-close"),
("menu-down", "menu-down"),
("menu-down-outline", "menu-down-outline"),
("menu-left", "menu-left"),
("menu-left-outline", "menu-left-outline"),
("menu-open", "menu-open"),
("menu-right", "menu-right"),
("menu-right-outline", "menu-right-outline"),
("menu-swap", "menu-swap"),
("menu-swap-outline", "menu-swap-outline"),
("menu-up", "menu-up"),
("menu-up-outline", "menu-up-outline"),
("merge", "merge"),
("message", "message"),
("message-alert", "message-alert"),
("message-alert-outline", "message-alert-outline"),
("message-arrow-left", "message-arrow-left"),
("message-arrow-left-outline", "message-arrow-left-outline"),
("message-arrow-right", "message-arrow-right"),
("message-arrow-right-outline", "message-arrow-right-outline"),
("message-badge", "message-badge"),
("message-badge-outline", "message-badge-outline"),
("message-bookmark", "message-bookmark"),
("message-bookmark-outline", "message-bookmark-outline"),
("message-bulleted", "message-bulleted"),
("message-bulleted-off", "message-bulleted-off"),
("message-check", "message-check"),
("message-check-outline", "message-check-outline"),
("message-cog", "message-cog"),
("message-cog-outline", "message-cog-outline"),
("message-draw", "message-draw"),
("message-fast", "message-fast"),
("message-fast-outline", "message-fast-outline"),
("message-flash", "message-flash"),
("message-flash-outline", "message-flash-outline"),
("message-image", "message-image"),
("message-image-outline", "message-image-outline"),
("message-lock", "message-lock"),
("message-lock-outline", "message-lock-outline"),
("message-minus", "message-minus"),
("message-minus-outline", "message-minus-outline"),
("message-off", "message-off"),
("message-off-outline", "message-off-outline"),
("message-outline", "message-outline"),
("message-plus", "message-plus"),
("message-plus-outline", "message-plus-outline"),
("message-processing", "message-processing"),
("message-processing-outline", "message-processing-outline"),
("message-question", "message-question"),
("message-question-outline", "message-question-outline"),
("message-reply", "message-reply"),
("message-reply-outline", "message-reply-outline"),
("message-reply-text", "message-reply-text"),
("message-reply-text-outline", "message-reply-text-outline"),
("message-settings", "message-settings"),
("message-settings-outline", "message-settings-outline"),
("message-star", "message-star"),
("message-star-outline", "message-star-outline"),
("message-text", "message-text"),
("message-text-clock", "message-text-clock"),
("message-text-clock-outline", "message-text-clock-outline"),
("message-text-fast", "message-text-fast"),
("message-text-fast-outline", "message-text-fast-outline"),
("message-text-lock", "message-text-lock"),
("message-text-lock-outline", "message-text-lock-outline"),
("message-text-outline", "message-text-outline"),
("message-video", "message-video"),
("meteor", "meteor"),
("meter-electric", "meter-electric"),
("meter-electric-outline", "meter-electric-outline"),
("meter-gas", "meter-gas"),
("meter-gas-outline", "meter-gas-outline"),
("metronome", "metronome"),
("metronome-tick", "metronome-tick"),
("micro-sd", "micro-sd"),
("microphone", "microphone"),
("microphone-message", "microphone-message"),
("microphone-message-off", "microphone-message-off"),
("microphone-minus", "microphone-minus"),
("microphone-off", "microphone-off"),
("microphone-outline", "microphone-outline"),
("microphone-plus", "microphone-plus"),
("microphone-question", "microphone-question"),
("microphone-question-outline", "microphone-question-outline"),
("microphone-settings", "microphone-settings"),
("microphone-variant", "microphone-variant"),
("microphone-variant-off", "microphone-variant-off"),
("microscope", "microscope"),
("microsoft", "microsoft"),
("microsoft-access", "microsoft-access"),
("microsoft-azure", "microsoft-azure"),
("microsoft-azure-devops", "microsoft-azure-devops"),
("microsoft-bing", "microsoft-bing"),
("microsoft-dynamics-365", "microsoft-dynamics-365"),
("microsoft-edge", "microsoft-edge"),
("microsoft-edge-legacy", "microsoft-edge-legacy"),
("microsoft-excel", "microsoft-excel"),
("microsoft-internet-explorer", "microsoft-internet-explorer"),
("microsoft-office", "microsoft-office"),
("microsoft-onedrive", "microsoft-onedrive"),
("microsoft-onenote", "microsoft-onenote"),
("microsoft-outlook", "microsoft-outlook"),
("microsoft-powerpoint", "microsoft-powerpoint"),
("microsoft-sharepoint", "microsoft-sharepoint"),
("microsoft-teams", "microsoft-teams"),
("microsoft-visual-studio", "microsoft-visual-studio"),
("microsoft-visual-studio-code", "microsoft-visual-studio-code"),
("microsoft-windows", "microsoft-windows"),
("microsoft-windows-classic", "microsoft-windows-classic"),
("microsoft-word", "microsoft-word"),
("microsoft-xbox", "microsoft-xbox"),
("microsoft-xbox-controller", "microsoft-xbox-controller"),
(
"microsoft-xbox-controller-battery-alert",
"microsoft-xbox-controller-battery-alert",
),
(
"microsoft-xbox-controller-battery-charging",
"microsoft-xbox-controller-battery-charging",
),
(
"microsoft-xbox-controller-battery-empty",
"microsoft-xbox-controller-battery-empty",
),
(
"microsoft-xbox-controller-battery-full",
"microsoft-xbox-controller-battery-full",
),
(
"microsoft-xbox-controller-battery-low",
"microsoft-xbox-controller-battery-low",
),
(
"microsoft-xbox-controller-battery-medium",
"microsoft-xbox-controller-battery-medium",
),
(
"microsoft-xbox-controller-battery-unknown",
"microsoft-xbox-controller-battery-unknown",
),
("microsoft-xbox-controller-menu", "microsoft-xbox-controller-menu"),
("microsoft-xbox-controller-off", "microsoft-xbox-controller-off"),
("microsoft-xbox-controller-view", "microsoft-xbox-controller-view"),
("microsoft-yammer", "microsoft-yammer"),
("microwave", "microwave"),
("microwave-off", "microwave-off"),
("middleware", "middleware"),
("middleware-outline", "middleware-outline"),
("midi", "midi"),
("midi-input", "midi-input"),
("midi-port", "midi-port"),
("mine", "mine"),
("minecraft", "minecraft"),
("mini-sd", "mini-sd"),
("minidisc", "minidisc"),
("minus", "minus"),
("minus-box", "minus-box"),
("minus-box-multiple", "minus-box-multiple"),
("minus-box-multiple-outline", "minus-box-multiple-outline"),
("minus-box-outline", "minus-box-outline"),
("minus-circle", "minus-circle"),
("minus-circle-multiple", "minus-circle-multiple"),
("minus-circle-multiple-outline", "minus-circle-multiple-outline"),
("minus-circle-off", "minus-circle-off"),
("minus-circle-off-outline", "minus-circle-off-outline"),
("minus-circle-outline", "minus-circle-outline"),
("minus-network", "minus-network"),
("minus-network-outline", "minus-network-outline"),
("minus-thick", "minus-thick"),
("mirror", "mirror"),
("mirror-rectangle", "mirror-rectangle"),
("mirror-variant", "mirror-variant"),
("mixcloud", "mixcloud"),
("mixed-martial-arts", "mixed-martial-arts"),
("mixed-reality", "mixed-reality"),
("mixer", "mixer"),
("molecule", "molecule"),
("molecule-co", "molecule-co"),
("molecule-co2", "molecule-co2"),
("monitor", "monitor"),
("monitor-account", "monitor-account"),
("monitor-arrow-down", "monitor-arrow-down"),
("monitor-arrow-down-variant", "monitor-arrow-down-variant"),
("monitor-cellphone", "monitor-cellphone"),
("monitor-cellphone-star", "monitor-cellphone-star"),
("monitor-dashboard", "monitor-dashboard"),
("monitor-edit", "monitor-edit"),
("monitor-eye", "monitor-eye"),
("monitor-lock", "monitor-lock"),
("monitor-multiple", "monitor-multiple"),
("monitor-off", "monitor-off"),
("monitor-screenshot", "monitor-screenshot"),
("monitor-share", "monitor-share"),
("monitor-shimmer", "monitor-shimmer"),
("monitor-small", "monitor-small"),
("monitor-speaker", "monitor-speaker"),
("monitor-speaker-off", "monitor-speaker-off"),
("monitor-star", "monitor-star"),
("moon-first-quarter", "moon-first-quarter"),
("moon-full", "moon-full"),
("moon-last-quarter", "moon-last-quarter"),
("moon-new", "moon-new"),
("moon-waning-crescent", "moon-waning-crescent"),
("moon-waning-gibbous", "moon-waning-gibbous"),
("moon-waxing-crescent", "moon-waxing-crescent"),
("moon-waxing-gibbous", "moon-waxing-gibbous"),
("moped", "moped"),
("moped-electric", "moped-electric"),
("moped-electric-outline", "moped-electric-outline"),
("moped-outline", "moped-outline"),
("more", "more"),
("mortar-pestle", "mortar-pestle"),
("mortar-pestle-plus", "mortar-pestle-plus"),
("mosque", "mosque"),
("mosque-outline", "mosque-outline"),
("mother-heart", "mother-heart"),
("mother-nurse", "mother-nurse"),
("motion", "motion"),
("motion-outline", "motion-outline"),
("motion-pause", "motion-pause"),
("motion-pause-outline", "motion-pause-outline"),
("motion-play", "motion-play"),
("motion-play-outline", "motion-play-outline"),
("motion-sensor", "motion-sensor"),
("motion-sensor-off", "motion-sensor-off"),
("motorbike", "motorbike"),
("motorbike-electric", "motorbike-electric"),
("motorbike-off", "motorbike-off"),
("mouse", "mouse"),
("mouse-bluetooth", "mouse-bluetooth"),
("mouse-move-down", "mouse-move-down"),
("mouse-move-up", "mouse-move-up"),
("mouse-move-vertical", "mouse-move-vertical"),
("mouse-off", "mouse-off"),
("mouse-variant", "mouse-variant"),
("mouse-variant-off", "mouse-variant-off"),
("move-resize", "move-resize"),
("move-resize-variant", "move-resize-variant"),
("movie", "movie"),
("movie-check", "movie-check"),
("movie-check-outline", "movie-check-outline"),
("movie-cog", "movie-cog"),
("movie-cog-outline", "movie-cog-outline"),
("movie-edit", "movie-edit"),
("movie-edit-outline", "movie-edit-outline"),
("movie-filter", "movie-filter"),
("movie-filter-outline", "movie-filter-outline"),
("movie-minus", "movie-minus"),
("movie-minus-outline", "movie-minus-outline"),
("movie-off", "movie-off"),
("movie-off-outline", "movie-off-outline"),
("movie-open", "movie-open"),
("movie-open-check", "movie-open-check"),
("movie-open-check-outline", "movie-open-check-outline"),
("movie-open-cog", "movie-open-cog"),
("movie-open-cog-outline", "movie-open-cog-outline"),
("movie-open-edit", "movie-open-edit"),
("movie-open-edit-outline", "movie-open-edit-outline"),
("movie-open-minus", "movie-open-minus"),
("movie-open-minus-outline", "movie-open-minus-outline"),
("movie-open-off", "movie-open-off"),
("movie-open-off-outline", "movie-open-off-outline"),
("movie-open-outline", "movie-open-outline"),
("movie-open-play", "movie-open-play"),
("movie-open-play-outline", "movie-open-play-outline"),
("movie-open-plus", "movie-open-plus"),
("movie-open-plus-outline", "movie-open-plus-outline"),
("movie-open-remove", "movie-open-remove"),
("movie-open-remove-outline", "movie-open-remove-outline"),
("movie-open-settings", "movie-open-settings"),
("movie-open-settings-outline", "movie-open-settings-outline"),
("movie-open-star", "movie-open-star"),
("movie-open-star-outline", "movie-open-star-outline"),
("movie-outline", "movie-outline"),
("movie-play", "movie-play"),
("movie-play-outline", "movie-play-outline"),
("movie-plus", "movie-plus"),
("movie-plus-outline", "movie-plus-outline"),
("movie-remove", "movie-remove"),
("movie-remove-outline", "movie-remove-outline"),
("movie-roll", "movie-roll"),
("movie-search", "movie-search"),
("movie-search-outline", "movie-search-outline"),
("movie-settings", "movie-settings"),
("movie-settings-outline", "movie-settings-outline"),
("movie-star", "movie-star"),
("movie-star-outline", "movie-star-outline"),
("mower", "mower"),
("mower-bag", "mower-bag"),
("mower-bag-on", "mower-bag-on"),
("mower-on", "mower-on"),
("muffin", "muffin"),
("multicast", "multicast"),
("multimedia", "multimedia"),
("multiplication", "multiplication"),
("multiplication-box", "multiplication-box"),
("mushroom", "mushroom"),
("mushroom-off", "mushroom-off"),
("mushroom-off-outline", "mushroom-off-outline"),
("mushroom-outline", "mushroom-outline"),
("music", "music"),
("music-accidental-double-flat", "music-accidental-double-flat"),
("music-accidental-double-sharp", "music-accidental-double-sharp"),
("music-accidental-flat", "music-accidental-flat"),
("music-accidental-natural", "music-accidental-natural"),
("music-accidental-sharp", "music-accidental-sharp"),
("music-box", "music-box"),
("music-box-multiple", "music-box-multiple"),
("music-box-multiple-outline", "music-box-multiple-outline"),
("music-box-outline", "music-box-outline"),
("music-circle", "music-circle"),
("music-circle-outline", "music-circle-outline"),
("music-clef-alto", "music-clef-alto"),
("music-clef-bass", "music-clef-bass"),
("music-clef-treble", "music-clef-treble"),
("music-note", "music-note"),
("music-note-bluetooth", "music-note-bluetooth"),
("music-note-bluetooth-off", "music-note-bluetooth-off"),
("music-note-eighth", "music-note-eighth"),
("music-note-eighth-dotted", "music-note-eighth-dotted"),
("music-note-half", "music-note-half"),
("music-note-half-dotted", "music-note-half-dotted"),
("music-note-minus", "music-note-minus"),
("music-note-off", "music-note-off"),
("music-note-off-outline", "music-note-off-outline"),
("music-note-outline", "music-note-outline"),
("music-note-plus", "music-note-plus"),
("music-note-quarter", "music-note-quarter"),
("music-note-quarter-dotted", "music-note-quarter-dotted"),
("music-note-sixteenth", "music-note-sixteenth"),
("music-note-sixteenth-dotted", "music-note-sixteenth-dotted"),
("music-note-whole", "music-note-whole"),
("music-note-whole-dotted", "music-note-whole-dotted"),
("music-off", "music-off"),
("music-rest-eighth", "music-rest-eighth"),
("music-rest-half", "music-rest-half"),
("music-rest-quarter", "music-rest-quarter"),
("music-rest-sixteenth", "music-rest-sixteenth"),
("music-rest-whole", "music-rest-whole"),
("mustache", "mustache"),
("nail", "nail"),
("nas", "nas"),
("nativescript", "nativescript"),
("nature", "nature"),
("nature-people", "nature-people"),
("navigation", "navigation"),
("navigation-outline", "navigation-outline"),
("navigation-variant", "navigation-variant"),
("navigation-variant-outline", "navigation-variant-outline"),
("near-me", "near-me"),
("necklace", "necklace"),
("needle", "needle"),
("needle-off", "needle-off"),
("nest-thermostat", "nest-thermostat"),
("netflix", "netflix"),
("network", "network"),
("network-off", "network-off"),
("network-off-outline", "network-off-outline"),
("network-outline", "network-outline"),
("network-pos", "network-pos"),
("network-strength-1", "network-strength-1"),
("network-strength-1-alert", "network-strength-1-alert"),
("network-strength-2", "network-strength-2"),
("network-strength-2-alert", "network-strength-2-alert"),
("network-strength-3", "network-strength-3"),
("network-strength-3-alert", "network-strength-3-alert"),
("network-strength-4", "network-strength-4"),
("network-strength-4-alert", "network-strength-4-alert"),
("network-strength-4-cog", "network-strength-4-cog"),
("network-strength-alert", "network-strength-alert"),
("network-strength-alert-outline", "network-strength-alert-outline"),
("network-strength-off", "network-strength-off"),
("network-strength-off-outline", "network-strength-off-outline"),
("network-strength-outline", "network-strength-outline"),
("new-box", "new-box"),
("newspaper", "newspaper"),
("newspaper-check", "newspaper-check"),
("newspaper-minus", "newspaper-minus"),
("newspaper-plus", "newspaper-plus"),
("newspaper-remove", "newspaper-remove"),
("newspaper-variant", "newspaper-variant"),
("newspaper-variant-multiple", "newspaper-variant-multiple"),
("newspaper-variant-multiple-outline", "newspaper-variant-multiple-outline"),
("newspaper-variant-outline", "newspaper-variant-outline"),
("nfc", "nfc"),
("nfc-off", "nfc-off"),
("nfc-search-variant", "nfc-search-variant"),
("nfc-tap", "nfc-tap"),
("nfc-variant", "nfc-variant"),
("nfc-variant-off", "nfc-variant-off"),
("ninja", "ninja"),
("nintendo-game-boy", "nintendo-game-boy"),
("nintendo-switch", "nintendo-switch"),
("nintendo-wii", "nintendo-wii"),
("nintendo-wiiu", "nintendo-wiiu"),
("nix", "nix"),
("nodejs", "nodejs"),
("noodles", "noodles"),
("not-equal", "not-equal"),
("not-equal-variant", "not-equal-variant"),
("note", "note"),
("note-alert", "note-alert"),
("note-alert-outline", "note-alert-outline"),
("note-check", "note-check"),
("note-check-outline", "note-check-outline"),
("note-edit", "note-edit"),
("note-edit-outline", "note-edit-outline"),
("note-minus", "note-minus"),
("note-minus-outline", "note-minus-outline"),
("note-multiple", "note-multiple"),
("note-multiple-outline", "note-multiple-outline"),
("note-off", "note-off"),
("note-off-outline", "note-off-outline"),
("note-outline", "note-outline"),
("note-plus", "note-plus"),
("note-plus-outline", "note-plus-outline"),
("note-remove", "note-remove"),
("note-remove-outline", "note-remove-outline"),
("note-search", "note-search"),
("note-search-outline", "note-search-outline"),
("note-text", "note-text"),
("note-text-outline", "note-text-outline"),
("notebook", "notebook"),
("notebook-check", "notebook-check"),
("notebook-check-outline", "notebook-check-outline"),
("notebook-edit", "notebook-edit"),
("notebook-edit-outline", "notebook-edit-outline"),
("notebook-heart", "notebook-heart"),
("notebook-heart-outline", "notebook-heart-outline"),
("notebook-minus", "notebook-minus"),
("notebook-minus-outline", "notebook-minus-outline"),
("notebook-multiple", "notebook-multiple"),
("notebook-outline", "notebook-outline"),
("notebook-plus", "notebook-plus"),
("notebook-plus-outline", "notebook-plus-outline"),
("notebook-remove", "notebook-remove"),
("notebook-remove-outline", "notebook-remove-outline"),
("notification-clear-all", "notification-clear-all"),
("npm", "npm"),
("npm-variant", "npm-variant"),
("npm-variant-outline", "npm-variant-outline"),
("nuke", "nuke"),
("null", "null"),
("numeric", "numeric"),
("numeric-0", "numeric-0"),
("numeric-0-box", "numeric-0-box"),
("numeric-0-box-multiple", "numeric-0-box-multiple"),
("numeric-0-box-multiple-outline", "numeric-0-box-multiple-outline"),
("numeric-0-box-outline", "numeric-0-box-outline"),
("numeric-0-circle", "numeric-0-circle"),
("numeric-0-circle-outline", "numeric-0-circle-outline"),
("numeric-1", "numeric-1"),
("numeric-1-box", "numeric-1-box"),
("numeric-1-box-multiple", "numeric-1-box-multiple"),
("numeric-1-box-multiple-outline", "numeric-1-box-multiple-outline"),
("numeric-1-box-outline", "numeric-1-box-outline"),
("numeric-1-circle", "numeric-1-circle"),
("numeric-1-circle-outline", "numeric-1-circle-outline"),
("numeric-10", "numeric-10"),
("numeric-10-box", "numeric-10-box"),
("numeric-10-box-multiple", "numeric-10-box-multiple"),
("numeric-10-box-multiple-outline", "numeric-10-box-multiple-outline"),
("numeric-10-box-outline", "numeric-10-box-outline"),
("numeric-10-circle", "numeric-10-circle"),
("numeric-10-circle-outline", "numeric-10-circle-outline"),
("numeric-2", "numeric-2"),
("numeric-2-box", "numeric-2-box"),
("numeric-2-box-multiple", "numeric-2-box-multiple"),
("numeric-2-box-multiple-outline", "numeric-2-box-multiple-outline"),
("numeric-2-box-outline", "numeric-2-box-outline"),
("numeric-2-circle", "numeric-2-circle"),
("numeric-2-circle-outline", "numeric-2-circle-outline"),
("numeric-3", "numeric-3"),
("numeric-3-box", "numeric-3-box"),
("numeric-3-box-multiple", "numeric-3-box-multiple"),
("numeric-3-box-multiple-outline", "numeric-3-box-multiple-outline"),
("numeric-3-box-outline", "numeric-3-box-outline"),
("numeric-3-circle", "numeric-3-circle"),
("numeric-3-circle-outline", "numeric-3-circle-outline"),
("numeric-4", "numeric-4"),
("numeric-4-box", "numeric-4-box"),
("numeric-4-box-multiple", "numeric-4-box-multiple"),
("numeric-4-box-multiple-outline", "numeric-4-box-multiple-outline"),
("numeric-4-box-outline", "numeric-4-box-outline"),
("numeric-4-circle", "numeric-4-circle"),
("numeric-4-circle-outline", "numeric-4-circle-outline"),
("numeric-5", "numeric-5"),
("numeric-5-box", "numeric-5-box"),
("numeric-5-box-multiple", "numeric-5-box-multiple"),
("numeric-5-box-multiple-outline", "numeric-5-box-multiple-outline"),
("numeric-5-box-outline", "numeric-5-box-outline"),
("numeric-5-circle", "numeric-5-circle"),
("numeric-5-circle-outline", "numeric-5-circle-outline"),
("numeric-6", "numeric-6"),
("numeric-6-box", "numeric-6-box"),
("numeric-6-box-multiple", "numeric-6-box-multiple"),
("numeric-6-box-multiple-outline", "numeric-6-box-multiple-outline"),
("numeric-6-box-outline", "numeric-6-box-outline"),
("numeric-6-circle", "numeric-6-circle"),
("numeric-6-circle-outline", "numeric-6-circle-outline"),
("numeric-7", "numeric-7"),
("numeric-7-box", "numeric-7-box"),
("numeric-7-box-multiple", "numeric-7-box-multiple"),
("numeric-7-box-multiple-outline", "numeric-7-box-multiple-outline"),
("numeric-7-box-outline", "numeric-7-box-outline"),
("numeric-7-circle", "numeric-7-circle"),
("numeric-7-circle-outline", "numeric-7-circle-outline"),
("numeric-8", "numeric-8"),
("numeric-8-box", "numeric-8-box"),
("numeric-8-box-multiple", "numeric-8-box-multiple"),
("numeric-8-box-multiple-outline", "numeric-8-box-multiple-outline"),
("numeric-8-box-outline", "numeric-8-box-outline"),
("numeric-8-circle", "numeric-8-circle"),
("numeric-8-circle-outline", "numeric-8-circle-outline"),
("numeric-9", "numeric-9"),
("numeric-9-box", "numeric-9-box"),
("numeric-9-box-multiple", "numeric-9-box-multiple"),
("numeric-9-box-multiple-outline", "numeric-9-box-multiple-outline"),
("numeric-9-box-outline", "numeric-9-box-outline"),
("numeric-9-circle", "numeric-9-circle"),
("numeric-9-circle-outline", "numeric-9-circle-outline"),
("numeric-9-plus", "numeric-9-plus"),
("numeric-9-plus-box", "numeric-9-plus-box"),
("numeric-9-plus-box-multiple", "numeric-9-plus-box-multiple"),
("numeric-9-plus-box-multiple-outline", "numeric-9-plus-box-multiple-outline"),
("numeric-9-plus-box-outline", "numeric-9-plus-box-outline"),
("numeric-9-plus-circle", "numeric-9-plus-circle"),
("numeric-9-plus-circle-outline", "numeric-9-plus-circle-outline"),
("numeric-negative-1", "numeric-negative-1"),
("numeric-off", "numeric-off"),
("numeric-positive-1", "numeric-positive-1"),
("nut", "nut"),
("nutrition", "nutrition"),
("nuxt", "nuxt"),
("oar", "oar"),
("ocarina", "ocarina"),
("oci", "oci"),
("ocr", "ocr"),
("octagon", "octagon"),
("octagon-outline", "octagon-outline"),
("octagram", "octagram"),
("octagram-outline", "octagram-outline"),
("octahedron", "octahedron"),
("octahedron-off", "octahedron-off"),
("odnoklassniki", "odnoklassniki"),
("offer", "offer"),
("office-building", "office-building"),
("office-building-cog", "office-building-cog"),
("office-building-cog-outline", "office-building-cog-outline"),
("office-building-marker", "office-building-marker"),
("office-building-marker-outline", "office-building-marker-outline"),
("office-building-minus", "office-building-minus"),
("office-building-minus-outline", "office-building-minus-outline"),
("office-building-outline", "office-building-outline"),
("office-building-plus", "office-building-plus"),
("office-building-plus-outline", "office-building-plus-outline"),
("office-building-remove", "office-building-remove"),
("office-building-remove-outline", "office-building-remove-outline"),
("oil", "oil"),
("oil-lamp", "oil-lamp"),
("oil-level", "oil-level"),
("oil-temperature", "oil-temperature"),
("om", "om"),
("omega", "omega"),
("one-up", "one-up"),
("onedrive", "onedrive"),
("onenote", "onenote"),
("onepassword", "onepassword"),
("opacity", "opacity"),
("open-in-app", "open-in-app"),
("open-in-new", "open-in-new"),
("open-source-initiative", "open-source-initiative"),
("openid", "openid"),
("opera", "opera"),
("orbit", "orbit"),
("orbit-variant", "orbit-variant"),
("order-alphabetical-ascending", "order-alphabetical-ascending"),
("order-alphabetical-descending", "order-alphabetical-descending"),
("order-bool-ascending", "order-bool-ascending"),
("order-bool-ascending-variant", "order-bool-ascending-variant"),
("order-bool-descending", "order-bool-descending"),
("order-bool-descending-variant", "order-bool-descending-variant"),
("order-numeric-ascending", "order-numeric-ascending"),
("order-numeric-descending", "order-numeric-descending"),
("origin", "origin"),
("ornament", "ornament"),
("ornament-variant", "ornament-variant"),
("outbox", "outbox"),
("outdent", "outdent"),
("outdoor-lamp", "outdoor-lamp"),
("outlook", "outlook"),
("overscan", "overscan"),
("owl", "owl"),
("pac-man", "pac-man"),
("package", "package"),
("package-check", "package-check"),
("package-down", "package-down"),
("package-up", "package-up"),
("package-variant", "package-variant"),
("package-variant-closed", "package-variant-closed"),
("package-variant-closed-check", "package-variant-closed-check"),
("package-variant-closed-minus", "package-variant-closed-minus"),
("package-variant-closed-plus", "package-variant-closed-plus"),
("package-variant-closed-remove", "package-variant-closed-remove"),
("package-variant-minus", "package-variant-minus"),
("package-variant-plus", "package-variant-plus"),
("package-variant-remove", "package-variant-remove"),
("page-first", "page-first"),
("page-last", "page-last"),
("page-layout-body", "page-layout-body"),
("page-layout-footer", "page-layout-footer"),
("page-layout-header", "page-layout-header"),
("page-layout-header-footer", "page-layout-header-footer"),
("page-layout-sidebar-left", "page-layout-sidebar-left"),
("page-layout-sidebar-right", "page-layout-sidebar-right"),
("page-next", "page-next"),
("page-next-outline", "page-next-outline"),
("page-previous", "page-previous"),
("page-previous-outline", "page-previous-outline"),
("pail", "pail"),
("pail-minus", "pail-minus"),
("pail-minus-outline", "pail-minus-outline"),
("pail-off", "pail-off"),
("pail-off-outline", "pail-off-outline"),
("pail-outline", "pail-outline"),
("pail-plus", "pail-plus"),
("pail-plus-outline", "pail-plus-outline"),
("pail-remove", "pail-remove"),
("pail-remove-outline", "pail-remove-outline"),
("palette", "palette"),
("palette-advanced", "palette-advanced"),
("palette-outline", "palette-outline"),
("palette-swatch", "palette-swatch"),
("palette-swatch-outline", "palette-swatch-outline"),
("palette-swatch-variant", "palette-swatch-variant"),
("palm-tree", "palm-tree"),
("pan", "pan"),
("pan-bottom-left", "pan-bottom-left"),
("pan-bottom-right", "pan-bottom-right"),
("pan-down", "pan-down"),
("pan-horizontal", "pan-horizontal"),
("pan-left", "pan-left"),
("pan-right", "pan-right"),
("pan-top-left", "pan-top-left"),
("pan-top-right", "pan-top-right"),
("pan-up", "pan-up"),
("pan-vertical", "pan-vertical"),
("panda", "panda"),
("pandora", "pandora"),
("panorama", "panorama"),
("panorama-fisheye", "panorama-fisheye"),
("panorama-horizontal", "panorama-horizontal"),
("panorama-horizontal-outline", "panorama-horizontal-outline"),
("panorama-outline", "panorama-outline"),
("panorama-sphere", "panorama-sphere"),
("panorama-sphere-outline", "panorama-sphere-outline"),
("panorama-variant", "panorama-variant"),
("panorama-variant-outline", "panorama-variant-outline"),
("panorama-vertical", "panorama-vertical"),
("panorama-vertical-outline", "panorama-vertical-outline"),
("panorama-wide-angle", "panorama-wide-angle"),
("panorama-wide-angle-outline", "panorama-wide-angle-outline"),
("paper-cut-vertical", "paper-cut-vertical"),
("paper-roll", "paper-roll"),
("paper-roll-outline", "paper-roll-outline"),
("paperclip", "paperclip"),
("paperclip-check", "paperclip-check"),
("paperclip-lock", "paperclip-lock"),
("paperclip-minus", "paperclip-minus"),
("paperclip-off", "paperclip-off"),
("paperclip-plus", "paperclip-plus"),
("paperclip-remove", "paperclip-remove"),
("parachute", "parachute"),
("parachute-outline", "parachute-outline"),
("paragliding", "paragliding"),
("parking", "parking"),
("party-popper", "party-popper"),
("passport", "passport"),
("passport-biometric", "passport-biometric"),
("pasta", "pasta"),
("patio-heater", "patio-heater"),
("patreon", "patreon"),
("pause", "pause"),
("pause-box", "pause-box"),
("pause-box-outline", "pause-box-outline"),
("pause-circle", "pause-circle"),
("pause-circle-outline", "pause-circle-outline"),
("pause-octagon", "pause-octagon"),
("pause-octagon-outline", "pause-octagon-outline"),
("paw", "paw"),
("paw-off", "paw-off"),
("paw-off-outline", "paw-off-outline"),
("paw-outline", "paw-outline"),
("paypal", "paypal"),
("peace", "peace"),
("peanut", "peanut"),
("peanut-off", "peanut-off"),
("peanut-off-outline", "peanut-off-outline"),
("peanut-outline", "peanut-outline"),
("pen", "pen"),
("pen-lock", "pen-lock"),
("pen-minus", "pen-minus"),
("pen-off", "pen-off"),
("pen-plus", "pen-plus"),
("pen-remove", "pen-remove"),
("pencil", "pencil"),
("pencil-box", "pencil-box"),
("pencil-box-multiple", "pencil-box-multiple"),
("pencil-box-multiple-outline", "pencil-box-multiple-outline"),
("pencil-box-outline", "pencil-box-outline"),
("pencil-circle", "pencil-circle"),
("pencil-circle-outline", "pencil-circle-outline"),
("pencil-lock", "pencil-lock"),
("pencil-lock-outline", "pencil-lock-outline"),
("pencil-minus", "pencil-minus"),
("pencil-minus-outline", "pencil-minus-outline"),
("pencil-off", "pencil-off"),
("pencil-off-outline", "pencil-off-outline"),
("pencil-outline", "pencil-outline"),
("pencil-plus", "pencil-plus"),
("pencil-plus-outline", "pencil-plus-outline"),
("pencil-remove", "pencil-remove"),
("pencil-remove-outline", "pencil-remove-outline"),
("pencil-ruler", "pencil-ruler"),
("pencil-ruler-outline", "pencil-ruler-outline"),
("penguin", "penguin"),
("pentagon", "pentagon"),
("pentagon-outline", "pentagon-outline"),
("pentagram", "pentagram"),
("percent", "percent"),
("percent-box", "percent-box"),
("percent-box-outline", "percent-box-outline"),
("percent-circle", "percent-circle"),
("percent-circle-outline", "percent-circle-outline"),
("percent-outline", "percent-outline"),
("periodic-table", "periodic-table"),
("periscope", "periscope"),
("perspective-less", "perspective-less"),
("perspective-more", "perspective-more"),
("ph", "ph"),
("phone", "phone"),
("phone-alert", "phone-alert"),
("phone-alert-outline", "phone-alert-outline"),
("phone-bluetooth", "phone-bluetooth"),
("phone-bluetooth-outline", "phone-bluetooth-outline"),
("phone-cancel", "phone-cancel"),
("phone-cancel-outline", "phone-cancel-outline"),
("phone-check", "phone-check"),
("phone-check-outline", "phone-check-outline"),
("phone-classic", "phone-classic"),
("phone-classic-off", "phone-classic-off"),
("phone-clock", "phone-clock"),
("phone-dial", "phone-dial"),
("phone-dial-outline", "phone-dial-outline"),
("phone-forward", "phone-forward"),
("phone-forward-outline", "phone-forward-outline"),
("phone-hangup", "phone-hangup"),
("phone-hangup-outline", "phone-hangup-outline"),
("phone-in-talk", "phone-in-talk"),
("phone-in-talk-outline", "phone-in-talk-outline"),
("phone-incoming", "phone-incoming"),
("phone-incoming-outgoing", "phone-incoming-outgoing"),
("phone-incoming-outgoing-outline", "phone-incoming-outgoing-outline"),
("phone-incoming-outline", "phone-incoming-outline"),
("phone-lock", "phone-lock"),
("phone-lock-outline", "phone-lock-outline"),
("phone-log", "phone-log"),
("phone-log-outline", "phone-log-outline"),
("phone-message", "phone-message"),
("phone-message-outline", "phone-message-outline"),
("phone-minus", "phone-minus"),
("phone-minus-outline", "phone-minus-outline"),
("phone-missed", "phone-missed"),
("phone-missed-outline", "phone-missed-outline"),
("phone-off", "phone-off"),
("phone-off-outline", "phone-off-outline"),
("phone-outgoing", "phone-outgoing"),
("phone-outgoing-outline", "phone-outgoing-outline"),
("phone-outline", "phone-outline"),
("phone-paused", "phone-paused"),
("phone-paused-outline", "phone-paused-outline"),
("phone-plus", "phone-plus"),
("phone-plus-outline", "phone-plus-outline"),
("phone-refresh", "phone-refresh"),
("phone-refresh-outline", "phone-refresh-outline"),
("phone-remove", "phone-remove"),
("phone-remove-outline", "phone-remove-outline"),
("phone-return", "phone-return"),
("phone-return-outline", "phone-return-outline"),
("phone-ring", "phone-ring"),
("phone-ring-outline", "phone-ring-outline"),
("phone-rotate-landscape", "phone-rotate-landscape"),
("phone-rotate-portrait", "phone-rotate-portrait"),
("phone-settings", "phone-settings"),
("phone-settings-outline", "phone-settings-outline"),
("phone-sync", "phone-sync"),
("phone-sync-outline", "phone-sync-outline"),
("phone-voip", "phone-voip"),
("pi", "pi"),
("pi-box", "pi-box"),
("pi-hole", "pi-hole"),
("piano", "piano"),
("piano-off", "piano-off"),
("pickaxe", "pickaxe"),
("picture-in-picture-bottom-right", "picture-in-picture-bottom-right"),
(
"picture-in-picture-bottom-right-outline",
"picture-in-picture-bottom-right-outline",
),
("picture-in-picture-top-right", "picture-in-picture-top-right"),
(
"picture-in-picture-top-right-outline",
"picture-in-picture-top-right-outline",
),
("pier", "pier"),
("pier-crane", "pier-crane"),
("pig", "pig"),
("pig-variant", "pig-variant"),
("pig-variant-outline", "pig-variant-outline"),
("piggy-bank", "piggy-bank"),
("piggy-bank-outline", "piggy-bank-outline"),
("pill", "pill"),
("pill-multiple", "pill-multiple"),
("pill-off", "pill-off"),
("pillar", "pillar"),
("pin", "pin"),
("pin-off", "pin-off"),
("pin-off-outline", "pin-off-outline"),
("pin-outline", "pin-outline"),
("pine-tree", "pine-tree"),
("pine-tree-box", "pine-tree-box"),
("pine-tree-fire", "pine-tree-fire"),
("pinterest", "pinterest"),
("pinterest-box", "pinterest-box"),
("pinwheel", "pinwheel"),
("pinwheel-outline", "pinwheel-outline"),
("pipe", "pipe"),
("pipe-disconnected", "pipe-disconnected"),
("pipe-leak", "pipe-leak"),
("pipe-valve", "pipe-valve"),
("pipe-wrench", "pipe-wrench"),
("pirate", "pirate"),
("pistol", "pistol"),
("piston", "piston"),
("pitchfork", "pitchfork"),
("pizza", "pizza"),
("plane-car", "plane-car"),
("plane-train", "plane-train"),
("play", "play"),
("play-box", "play-box"),
("play-box-lock", "play-box-lock"),
("play-box-lock-open", "play-box-lock-open"),
("play-box-lock-open-outline", "play-box-lock-open-outline"),
("play-box-lock-outline", "play-box-lock-outline"),
("play-box-multiple", "play-box-multiple"),
("play-box-multiple-outline", "play-box-multiple-outline"),
("play-box-outline", "play-box-outline"),
("play-circle", "play-circle"),
("play-circle-outline", "play-circle-outline"),
("play-network", "play-network"),
("play-network-outline", "play-network-outline"),
("play-outline", "play-outline"),
("play-pause", "play-pause"),
("play-protected-content", "play-protected-content"),
("play-speed", "play-speed"),
("playlist-check", "playlist-check"),
("playlist-edit", "playlist-edit"),
("playlist-minus", "playlist-minus"),
("playlist-music", "playlist-music"),
("playlist-music-outline", "playlist-music-outline"),
("playlist-play", "playlist-play"),
("playlist-plus", "playlist-plus"),
("playlist-remove", "playlist-remove"),
("playlist-star", "playlist-star"),
("plex", "plex"),
("pliers", "pliers"),
("plus", "plus"),
("plus-box", "plus-box"),
("plus-box-multiple", "plus-box-multiple"),
("plus-box-multiple-outline", "plus-box-multiple-outline"),
("plus-box-outline", "plus-box-outline"),
("plus-circle", "plus-circle"),
("plus-circle-multiple", "plus-circle-multiple"),
("plus-circle-multiple-outline", "plus-circle-multiple-outline"),
("plus-circle-outline", "plus-circle-outline"),
("plus-lock", "plus-lock"),
("plus-lock-open", "plus-lock-open"),
("plus-minus", "plus-minus"),
("plus-minus-box", "plus-minus-box"),
("plus-minus-variant", "plus-minus-variant"),
("plus-network", "plus-network"),
("plus-network-outline", "plus-network-outline"),
("plus-outline", "plus-outline"),
("plus-thick", "plus-thick"),
("pocket", "pocket"),
("podcast", "podcast"),
("podium", "podium"),
("podium-bronze", "podium-bronze"),
("podium-gold", "podium-gold"),
("podium-silver", "podium-silver"),
("point-of-sale", "point-of-sale"),
("pokeball", "pokeball"),
("pokemon-go", "pokemon-go"),
("poker-chip", "poker-chip"),
("polaroid", "polaroid"),
("police-badge", "police-badge"),
("police-badge-outline", "police-badge-outline"),
("police-station", "police-station"),
("poll", "poll"),
("polo", "polo"),
("polymer", "polymer"),
("pool", "pool"),
("pool-thermometer", "pool-thermometer"),
("popcorn", "popcorn"),
("post", "post"),
("post-lamp", "post-lamp"),
("post-outline", "post-outline"),
("postage-stamp", "postage-stamp"),
("pot", "pot"),
("pot-mix", "pot-mix"),
("pot-mix-outline", "pot-mix-outline"),
("pot-outline", "pot-outline"),
("pot-steam", "pot-steam"),
("pot-steam-outline", "pot-steam-outline"),
("pound", "pound"),
("pound-box", "pound-box"),
("pound-box-outline", "pound-box-outline"),
("power", "power"),
("power-cycle", "power-cycle"),
("power-off", "power-off"),
("power-on", "power-on"),
("power-plug", "power-plug"),
("power-plug-off", "power-plug-off"),
("power-plug-off-outline", "power-plug-off-outline"),
("power-plug-outline", "power-plug-outline"),
("power-settings", "power-settings"),
("power-sleep", "power-sleep"),
("power-socket", "power-socket"),
("power-socket-au", "power-socket-au"),
("power-socket-ch", "power-socket-ch"),
("power-socket-de", "power-socket-de"),
("power-socket-eu", "power-socket-eu"),
("power-socket-fr", "power-socket-fr"),
("power-socket-it", "power-socket-it"),
("power-socket-jp", "power-socket-jp"),
("power-socket-uk", "power-socket-uk"),
("power-socket-us", "power-socket-us"),
("power-standby", "power-standby"),
("powershell", "powershell"),
("prescription", "prescription"),
("presentation", "presentation"),
("presentation-play", "presentation-play"),
("pretzel", "pretzel"),
("prezi", "prezi"),
("printer", "printer"),
("printer-3d", "printer-3d"),
("printer-3d-nozzle", "printer-3d-nozzle"),
("printer-3d-nozzle-alert", "printer-3d-nozzle-alert"),
("printer-3d-nozzle-alert-outline", "printer-3d-nozzle-alert-outline"),
("printer-3d-nozzle-heat", "printer-3d-nozzle-heat"),
("printer-3d-nozzle-heat-outline", "printer-3d-nozzle-heat-outline"),
("printer-3d-nozzle-off", "printer-3d-nozzle-off"),
("printer-3d-nozzle-off-outline", "printer-3d-nozzle-off-outline"),
("printer-3d-nozzle-outline", "printer-3d-nozzle-outline"),
("printer-3d-off", "printer-3d-off"),
("printer-alert", "printer-alert"),
("printer-check", "printer-check"),
("printer-eye", "printer-eye"),
("printer-off", "printer-off"),
("printer-off-outline", "printer-off-outline"),
("printer-outline", "printer-outline"),
("printer-pos", "printer-pos"),
("printer-pos-alert", "printer-pos-alert"),
("printer-pos-alert-outline", "printer-pos-alert-outline"),
("printer-pos-cancel", "printer-pos-cancel"),
("printer-pos-cancel-outline", "printer-pos-cancel-outline"),
("printer-pos-check", "printer-pos-check"),
("printer-pos-check-outline", "printer-pos-check-outline"),
("printer-pos-cog", "printer-pos-cog"),
("printer-pos-cog-outline", "printer-pos-cog-outline"),
("printer-pos-edit", "printer-pos-edit"),
("printer-pos-edit-outline", "printer-pos-edit-outline"),
("printer-pos-minus", "printer-pos-minus"),
("printer-pos-minus-outline", "printer-pos-minus-outline"),
("printer-pos-network", "printer-pos-network"),
("printer-pos-network-outline", "printer-pos-network-outline"),
("printer-pos-off", "printer-pos-off"),
("printer-pos-off-outline", "printer-pos-off-outline"),
("printer-pos-outline", "printer-pos-outline"),
("printer-pos-pause", "printer-pos-pause"),
("printer-pos-pause-outline", "printer-pos-pause-outline"),
("printer-pos-play", "printer-pos-play"),
("printer-pos-play-outline", "printer-pos-play-outline"),
("printer-pos-plus", "printer-pos-plus"),
("printer-pos-plus-outline", "printer-pos-plus-outline"),
("printer-pos-refresh", "printer-pos-refresh"),
("printer-pos-refresh-outline", "printer-pos-refresh-outline"),
("printer-pos-remove", "printer-pos-remove"),
("printer-pos-remove-outline", "printer-pos-remove-outline"),
("printer-pos-star", "printer-pos-star"),
("printer-pos-star-outline", "printer-pos-star-outline"),
("printer-pos-stop", "printer-pos-stop"),
("printer-pos-stop-outline", "printer-pos-stop-outline"),
("printer-pos-sync", "printer-pos-sync"),
("printer-pos-sync-outline", "printer-pos-sync-outline"),
("printer-pos-wrench", "printer-pos-wrench"),
("printer-pos-wrench-outline", "printer-pos-wrench-outline"),
("printer-search", "printer-search"),
("printer-settings", "printer-settings"),
("printer-wireless", "printer-wireless"),
("priority-high", "priority-high"),
("priority-low", "priority-low"),
("professional-hexagon", "professional-hexagon"),
("progress-alert", "progress-alert"),
("progress-check", "progress-check"),
("progress-clock", "progress-clock"),
("progress-close", "progress-close"),
("progress-download", "progress-download"),
("progress-helper", "progress-helper"),
("progress-pencil", "progress-pencil"),
("progress-question", "progress-question"),
("progress-star", "progress-star"),
("progress-upload", "progress-upload"),
("progress-wrench", "progress-wrench"),
("projector", "projector"),
("projector-off", "projector-off"),
("projector-screen", "projector-screen"),
("projector-screen-off", "projector-screen-off"),
("projector-screen-off-outline", "projector-screen-off-outline"),
("projector-screen-outline", "projector-screen-outline"),
("projector-screen-variant", "projector-screen-variant"),
("projector-screen-variant-off", "projector-screen-variant-off"),
(
"projector-screen-variant-off-outline",
"projector-screen-variant-off-outline",
),
("projector-screen-variant-outline", "projector-screen-variant-outline"),
("propane-tank", "propane-tank"),
("propane-tank-outline", "propane-tank-outline"),
("protocol", "protocol"),
("publish", "publish"),
("publish-off", "publish-off"),
("pulse", "pulse"),
("pump", "pump"),
("pump-off", "pump-off"),
("pumpkin", "pumpkin"),
("purse", "purse"),
("purse-outline", "purse-outline"),
("puzzle", "puzzle"),
("puzzle-check", "puzzle-check"),
("puzzle-check-outline", "puzzle-check-outline"),
("puzzle-edit", "puzzle-edit"),
("puzzle-edit-outline", "puzzle-edit-outline"),
("puzzle-heart", "puzzle-heart"),
("puzzle-heart-outline", "puzzle-heart-outline"),
("puzzle-minus", "puzzle-minus"),
("puzzle-minus-outline", "puzzle-minus-outline"),
("puzzle-outline", "puzzle-outline"),
("puzzle-plus", "puzzle-plus"),
("puzzle-plus-outline", "puzzle-plus-outline"),
("puzzle-remove", "puzzle-remove"),
("puzzle-remove-outline", "puzzle-remove-outline"),
("puzzle-star", "puzzle-star"),
("puzzle-star-outline", "puzzle-star-outline"),
("pyramid", "pyramid"),
("pyramid-off", "pyramid-off"),
("qi", "qi"),
("qqchat", "qqchat"),
("qrcode", "qrcode"),
("qrcode-edit", "qrcode-edit"),
("qrcode-minus", "qrcode-minus"),
("qrcode-plus", "qrcode-plus"),
("qrcode-remove", "qrcode-remove"),
("qrcode-scan", "qrcode-scan"),
("quadcopter", "quadcopter"),
("quality-high", "quality-high"),
("quality-low", "quality-low"),
("quality-medium", "quality-medium"),
("quick-reply", "quick-reply"),
("quicktime", "quicktime"),
("quora", "quora"),
("rabbit", "rabbit"),
("rabbit-variant", "rabbit-variant"),
("rabbit-variant-outline", "rabbit-variant-outline"),
("racing-helmet", "racing-helmet"),
("racquetball", "racquetball"),
("radar", "radar"),
("radiator", "radiator"),
("radiator-disabled", "radiator-disabled"),
("radiator-off", "radiator-off"),
("radio", "radio"),
("radio-am", "radio-am"),
("radio-fm", "radio-fm"),
("radio-handheld", "radio-handheld"),
("radio-off", "radio-off"),
("radio-tower", "radio-tower"),
("radioactive", "radioactive"),
("radioactive-circle", "radioactive-circle"),
("radioactive-circle-outline", "radioactive-circle-outline"),
("radioactive-off", "radioactive-off"),
("radiobox-blank", "radiobox-blank"),
("radiobox-marked", "radiobox-marked"),
("radiology-box", "radiology-box"),
("radiology-box-outline", "radiology-box-outline"),
("radius", "radius"),
("radius-outline", "radius-outline"),
("railroad-light", "railroad-light"),
("rake", "rake"),
("raspberry-pi", "raspberry-pi"),
("raw", "raw"),
("raw-off", "raw-off"),
("ray-end", "ray-end"),
("ray-end-arrow", "ray-end-arrow"),
("ray-start", "ray-start"),
("ray-start-arrow", "ray-start-arrow"),
("ray-start-end", "ray-start-end"),
("ray-start-vertex-end", "ray-start-vertex-end"),
("ray-vertex", "ray-vertex"),
("razor-double-edge", "razor-double-edge"),
("razor-single-edge", "razor-single-edge"),
("rdio", "rdio"),
("react", "react"),
("read", "read"),
("receipt", "receipt"),
("receipt-outline", "receipt-outline"),
("receipt-text", "receipt-text"),
("receipt-text-check", "receipt-text-check"),
("receipt-text-check-outline", "receipt-text-check-outline"),
("receipt-text-minus", "receipt-text-minus"),
("receipt-text-minus-outline", "receipt-text-minus-outline"),
("receipt-text-outline", "receipt-text-outline"),
("receipt-text-plus", "receipt-text-plus"),
("receipt-text-plus-outline", "receipt-text-plus-outline"),
("receipt-text-remove", "receipt-text-remove"),
("receipt-text-remove-outline", "receipt-text-remove-outline"),
("record", "record"),
("record-circle", "record-circle"),
("record-circle-outline", "record-circle-outline"),
("record-player", "record-player"),
("record-rec", "record-rec"),
("rectangle", "rectangle"),
("rectangle-outline", "rectangle-outline"),
("recycle", "recycle"),
("recycle-variant", "recycle-variant"),
("reddit", "reddit"),
("redhat", "redhat"),
("redo", "redo"),
("redo-variant", "redo-variant"),
("reflect-horizontal", "reflect-horizontal"),
("reflect-vertical", "reflect-vertical"),
("refresh", "refresh"),
("refresh-auto", "refresh-auto"),
("refresh-circle", "refresh-circle"),
("regex", "regex"),
("registered-trademark", "registered-trademark"),
("reiterate", "reiterate"),
("relation-many-to-many", "relation-many-to-many"),
("relation-many-to-one", "relation-many-to-one"),
("relation-many-to-one-or-many", "relation-many-to-one-or-many"),
("relation-many-to-only-one", "relation-many-to-only-one"),
("relation-many-to-zero-or-many", "relation-many-to-zero-or-many"),
("relation-many-to-zero-or-one", "relation-many-to-zero-or-one"),
("relation-one-or-many-to-many", "relation-one-or-many-to-many"),
("relation-one-or-many-to-one", "relation-one-or-many-to-one"),
("relation-one-or-many-to-one-or-many", "relation-one-or-many-to-one-or-many"),
("relation-one-or-many-to-only-one", "relation-one-or-many-to-only-one"),
(
"relation-one-or-many-to-zero-or-many",
"relation-one-or-many-to-zero-or-many",
),
("relation-one-or-many-to-zero-or-one", "relation-one-or-many-to-zero-or-one"),
("relation-one-to-many", "relation-one-to-many"),
("relation-one-to-one", "relation-one-to-one"),
("relation-one-to-one-or-many", "relation-one-to-one-or-many"),
("relation-one-to-only-one", "relation-one-to-only-one"),
("relation-one-to-zero-or-many", "relation-one-to-zero-or-many"),
("relation-one-to-zero-or-one", "relation-one-to-zero-or-one"),
("relation-only-one-to-many", "relation-only-one-to-many"),
("relation-only-one-to-one", "relation-only-one-to-one"),
("relation-only-one-to-one-or-many", "relation-only-one-to-one-or-many"),
("relation-only-one-to-only-one", "relation-only-one-to-only-one"),
("relation-only-one-to-zero-or-many", "relation-only-one-to-zero-or-many"),
("relation-only-one-to-zero-or-one", "relation-only-one-to-zero-or-one"),
("relation-zero-or-many-to-many", "relation-zero-or-many-to-many"),
("relation-zero-or-many-to-one", "relation-zero-or-many-to-one"),
(
"relation-zero-or-many-to-one-or-many",
"relation-zero-or-many-to-one-or-many",
),
("relation-zero-or-many-to-only-one", "relation-zero-or-many-to-only-one"),
(
"relation-zero-or-many-to-zero-or-many",
"relation-zero-or-many-to-zero-or-many",
),
(
"relation-zero-or-many-to-zero-or-one",
"relation-zero-or-many-to-zero-or-one",
),
("relation-zero-or-one-to-many", "relation-zero-or-one-to-many"),
("relation-zero-or-one-to-one", "relation-zero-or-one-to-one"),
("relation-zero-or-one-to-one-or-many", "relation-zero-or-one-to-one-or-many"),
("relation-zero-or-one-to-only-one", "relation-zero-or-one-to-only-one"),
(
"relation-zero-or-one-to-zero-or-many",
"relation-zero-or-one-to-zero-or-many",
),
("relation-zero-or-one-to-zero-or-one", "relation-zero-or-one-to-zero-or-one"),
("relative-scale", "relative-scale"),
("reload", "reload"),
("reload-alert", "reload-alert"),
("reminder", "reminder"),
("remote", "remote"),
("remote-desktop", "remote-desktop"),
("remote-off", "remote-off"),
("remote-tv", "remote-tv"),
("remote-tv-off", "remote-tv-off"),
("rename", "rename"),
("rename-box", "rename-box"),
("rename-box-outline", "rename-box-outline"),
("rename-outline", "rename-outline"),
("reorder-horizontal", "reorder-horizontal"),
("reorder-vertical", "reorder-vertical"),
("repeat", "repeat"),
("repeat-off", "repeat-off"),
("repeat-once", "repeat-once"),
("repeat-variant", "repeat-variant"),
("replay", "replay"),
("reply", "reply"),
("reply-all", "reply-all"),
("reply-all-outline", "reply-all-outline"),
("reply-circle", "reply-circle"),
("reply-outline", "reply-outline"),
("reproduction", "reproduction"),
("resistor", "resistor"),
("resistor-nodes", "resistor-nodes"),
("resize", "resize"),
("resize-bottom-right", "resize-bottom-right"),
("responsive", "responsive"),
("restart", "restart"),
("restart-alert", "restart-alert"),
("restart-off", "restart-off"),
("restore", "restore"),
("restore-alert", "restore-alert"),
("rewind", "rewind"),
("rewind-10", "rewind-10"),
("rewind-15", "rewind-15"),
("rewind-30", "rewind-30"),
("rewind-45", "rewind-45"),
("rewind-5", "rewind-5"),
("rewind-60", "rewind-60"),
("rewind-outline", "rewind-outline"),
("rhombus", "rhombus"),
("rhombus-medium", "rhombus-medium"),
("rhombus-medium-outline", "rhombus-medium-outline"),
("rhombus-outline", "rhombus-outline"),
("rhombus-split", "rhombus-split"),
("rhombus-split-outline", "rhombus-split-outline"),
("ribbon", "ribbon"),
("rice", "rice"),
("rickshaw", "rickshaw"),
("rickshaw-electric", "rickshaw-electric"),
("ring", "ring"),
("rivet", "rivet"),
("road", "road"),
("road-variant", "road-variant"),
("robber", "robber"),
("robot", "robot"),
("robot-angry", "robot-angry"),
("robot-angry-outline", "robot-angry-outline"),
("robot-confused", "robot-confused"),
("robot-confused-outline", "robot-confused-outline"),
("robot-dead", "robot-dead"),
("robot-dead-outline", "robot-dead-outline"),
("robot-excited", "robot-excited"),
("robot-excited-outline", "robot-excited-outline"),
("robot-happy", "robot-happy"),
("robot-happy-outline", "robot-happy-outline"),
("robot-industrial", "robot-industrial"),
("robot-industrial-outline", "robot-industrial-outline"),
("robot-love", "robot-love"),
("robot-love-outline", "robot-love-outline"),
("robot-mower", "robot-mower"),
("robot-mower-outline", "robot-mower-outline"),
("robot-off", "robot-off"),
("robot-off-outline", "robot-off-outline"),
("robot-outline", "robot-outline"),
("robot-vacuum", "robot-vacuum"),
("robot-vacuum-alert", "robot-vacuum-alert"),
("robot-vacuum-off", "robot-vacuum-off"),
("robot-vacuum-variant", "robot-vacuum-variant"),
("robot-vacuum-variant-alert", "robot-vacuum-variant-alert"),
("robot-vacuum-variant-off", "robot-vacuum-variant-off"),
("rocket", "rocket"),
("rocket-launch", "rocket-launch"),
("rocket-launch-outline", "rocket-launch-outline"),
("rocket-outline", "rocket-outline"),
("rodent", "rodent"),
("roller-shade", "roller-shade"),
("roller-shade-closed", "roller-shade-closed"),
("roller-skate", "roller-skate"),
("roller-skate-off", "roller-skate-off"),
("rollerblade", "rollerblade"),
("rollerblade-off", "rollerblade-off"),
("rollupjs", "rollupjs"),
("rolodex", "rolodex"),
("rolodex-outline", "rolodex-outline"),
("roman-numeral-1", "roman-numeral-1"),
("roman-numeral-10", "roman-numeral-10"),
("roman-numeral-2", "roman-numeral-2"),
("roman-numeral-3", "roman-numeral-3"),
("roman-numeral-4", "roman-numeral-4"),
("roman-numeral-5", "roman-numeral-5"),
("roman-numeral-6", "roman-numeral-6"),
("roman-numeral-7", "roman-numeral-7"),
("roman-numeral-8", "roman-numeral-8"),
("roman-numeral-9", "roman-numeral-9"),
("room-service", "room-service"),
("room-service-outline", "room-service-outline"),
("rotate-360", "rotate-360"),
("rotate-3d", "rotate-3d"),
("rotate-3d-variant", "rotate-3d-variant"),
("rotate-left", "rotate-left"),
("rotate-left-variant", "rotate-left-variant"),
("rotate-orbit", "rotate-orbit"),
("rotate-right", "rotate-right"),
("rotate-right-variant", "rotate-right-variant"),
("rounded-corner", "rounded-corner"),
("router", "router"),
("router-network", "router-network"),
("router-wireless", "router-wireless"),
("router-wireless-off", "router-wireless-off"),
("router-wireless-settings", "router-wireless-settings"),
("routes", "routes"),
("routes-clock", "routes-clock"),
("rowing", "rowing"),
("rss", "rss"),
("rss-box", "rss-box"),
("rss-off", "rss-off"),
("rug", "rug"),
("rugby", "rugby"),
("ruler", "ruler"),
("ruler-square", "ruler-square"),
("ruler-square-compass", "ruler-square-compass"),
("run", "run"),
("run-fast", "run-fast"),
("rv-truck", "rv-truck"),
("sack", "sack"),
("sack-percent", "sack-percent"),
("safe", "safe"),
("safe-square", "safe-square"),
("safe-square-outline", "safe-square-outline"),
("safety-goggles", "safety-goggles"),
("safety-googles", "safety-googles"),
("sail-boat", "sail-boat"),
("sail-boat-sink", "sail-boat-sink"),
("sale", "sale"),
("sale-outline", "sale-outline"),
("salesforce", "salesforce"),
("sass", "sass"),
("satellite", "satellite"),
("satellite-uplink", "satellite-uplink"),
("satellite-variant", "satellite-variant"),
("sausage", "sausage"),
("sausage-off", "sausage-off"),
("saw-blade", "saw-blade"),
("sawtooth-wave", "sawtooth-wave"),
("saxophone", "saxophone"),
("scale", "scale"),
("scale-balance", "scale-balance"),
("scale-bathroom", "scale-bathroom"),
("scale-off", "scale-off"),
("scale-unbalanced", "scale-unbalanced"),
("scan-helper", "scan-helper"),
("scanner", "scanner"),
("scanner-off", "scanner-off"),
("scatter-plot", "scatter-plot"),
("scatter-plot-outline", "scatter-plot-outline"),
("scent", "scent"),
("scent-off", "scent-off"),
("school", "school"),
("school-outline", "school-outline"),
("scissors-cutting", "scissors-cutting"),
("scooter", "scooter"),
("scooter-electric", "scooter-electric"),
("scoreboard", "scoreboard"),
("scoreboard-outline", "scoreboard-outline"),
("screen-rotation", "screen-rotation"),
("screen-rotation-lock", "screen-rotation-lock"),
("screw-flat-top", "screw-flat-top"),
("screw-lag", "screw-lag"),
("screw-machine-flat-top", "screw-machine-flat-top"),
("screw-machine-round-top", "screw-machine-round-top"),
("screw-round-top", "screw-round-top"),
("screwdriver", "screwdriver"),
("script", "script"),
("script-outline", "script-outline"),
("script-text", "script-text"),
("script-text-key", "script-text-key"),
("script-text-key-outline", "script-text-key-outline"),
("script-text-outline", "script-text-outline"),
("script-text-play", "script-text-play"),
("script-text-play-outline", "script-text-play-outline"),
("sd", "sd"),
("seal", "seal"),
("seal-variant", "seal-variant"),
("search-web", "search-web"),
("seat", "seat"),
("seat-flat", "seat-flat"),
("seat-flat-angled", "seat-flat-angled"),
("seat-individual-suite", "seat-individual-suite"),
("seat-legroom-extra", "seat-legroom-extra"),
("seat-legroom-normal", "seat-legroom-normal"),
("seat-legroom-reduced", "seat-legroom-reduced"),
("seat-outline", "seat-outline"),
("seat-passenger", "seat-passenger"),
("seat-recline-extra", "seat-recline-extra"),
("seat-recline-normal", "seat-recline-normal"),
("seatbelt", "seatbelt"),
("security", "security"),
("security-close", "security-close"),
("security-network", "security-network"),
("seed", "seed"),
("seed-off", "seed-off"),
("seed-off-outline", "seed-off-outline"),
("seed-outline", "seed-outline"),
("seed-plus", "seed-plus"),
("seed-plus-outline", "seed-plus-outline"),
("seesaw", "seesaw"),
("segment", "segment"),
("select", "select"),
("select-all", "select-all"),
("select-arrow-down", "select-arrow-down"),
("select-arrow-up", "select-arrow-up"),
("select-color", "select-color"),
("select-compare", "select-compare"),
("select-drag", "select-drag"),
("select-group", "select-group"),
("select-inverse", "select-inverse"),
("select-marker", "select-marker"),
("select-multiple", "select-multiple"),
("select-multiple-marker", "select-multiple-marker"),
("select-off", "select-off"),
("select-place", "select-place"),
("select-remove", "select-remove"),
("select-search", "select-search"),
("selection", "selection"),
("selection-drag", "selection-drag"),
("selection-ellipse", "selection-ellipse"),
("selection-ellipse-arrow-inside", "selection-ellipse-arrow-inside"),
("selection-ellipse-remove", "selection-ellipse-remove"),
("selection-lasso", "selection-lasso"),
("selection-marker", "selection-marker"),
("selection-multiple", "selection-multiple"),
("selection-multiple-marker", "selection-multiple-marker"),
("selection-off", "selection-off"),
("selection-remove", "selection-remove"),
("selection-search", "selection-search"),
("semantic-web", "semantic-web"),
("send", "send"),
("send-check", "send-check"),
("send-check-outline", "send-check-outline"),
("send-circle", "send-circle"),
("send-circle-outline", "send-circle-outline"),
("send-clock", "send-clock"),
("send-clock-outline", "send-clock-outline"),
("send-lock", "send-lock"),
("send-lock-outline", "send-lock-outline"),
("send-outline", "send-outline"),
("serial-port", "serial-port"),
("server", "server"),
("server-minus", "server-minus"),
("server-network", "server-network"),
("server-network-off", "server-network-off"),
("server-off", "server-off"),
("server-plus", "server-plus"),
("server-remove", "server-remove"),
("server-security", "server-security"),
("set-all", "set-all"),
("set-center", "set-center"),
("set-center-right", "set-center-right"),
("set-left", "set-left"),
("set-left-center", "set-left-center"),
("set-left-right", "set-left-right"),
("set-merge", "set-merge"),
("set-none", "set-none"),
("set-right", "set-right"),
("set-split", "set-split"),
("set-square", "set-square"),
("set-top-box", "set-top-box"),
("settings-helper", "settings-helper"),
("shaker", "shaker"),
("shaker-outline", "shaker-outline"),
("shape", "shape"),
("shape-circle-plus", "shape-circle-plus"),
("shape-outline", "shape-outline"),
("shape-oval-plus", "shape-oval-plus"),
("shape-plus", "shape-plus"),
("shape-polygon-plus", "shape-polygon-plus"),
("shape-rectangle-plus", "shape-rectangle-plus"),
("shape-square-plus", "shape-square-plus"),
("shape-square-rounded-plus", "shape-square-rounded-plus"),
("share", "share"),
("share-all", "share-all"),
("share-all-outline", "share-all-outline"),
("share-circle", "share-circle"),
("share-off", "share-off"),
("share-off-outline", "share-off-outline"),
("share-outline", "share-outline"),
("share-variant", "share-variant"),
("share-variant-outline", "share-variant-outline"),
("shark", "shark"),
("shark-fin", "shark-fin"),
("shark-fin-outline", "shark-fin-outline"),
("shark-off", "shark-off"),
("sheep", "sheep"),
("shield", "shield"),
("shield-account", "shield-account"),
("shield-account-outline", "shield-account-outline"),
("shield-account-variant", "shield-account-variant"),
("shield-account-variant-outline", "shield-account-variant-outline"),
("shield-airplane", "shield-airplane"),
("shield-airplane-outline", "shield-airplane-outline"),
("shield-alert", "shield-alert"),
("shield-alert-outline", "shield-alert-outline"),
("shield-bug", "shield-bug"),
("shield-bug-outline", "shield-bug-outline"),
("shield-car", "shield-car"),
("shield-check", "shield-check"),
("shield-check-outline", "shield-check-outline"),
("shield-cross", "shield-cross"),
("shield-cross-outline", "shield-cross-outline"),
("shield-crown", "shield-crown"),
("shield-crown-outline", "shield-crown-outline"),
("shield-edit", "shield-edit"),
("shield-edit-outline", "shield-edit-outline"),
("shield-half", "shield-half"),
("shield-half-full", "shield-half-full"),
("shield-home", "shield-home"),
("shield-home-outline", "shield-home-outline"),
("shield-key", "shield-key"),
("shield-key-outline", "shield-key-outline"),
("shield-link-variant", "shield-link-variant"),
("shield-link-variant-outline", "shield-link-variant-outline"),
("shield-lock", "shield-lock"),
("shield-lock-open", "shield-lock-open"),
("shield-lock-open-outline", "shield-lock-open-outline"),
("shield-lock-outline", "shield-lock-outline"),
("shield-moon", "shield-moon"),
("shield-moon-outline", "shield-moon-outline"),
("shield-off", "shield-off"),
("shield-off-outline", "shield-off-outline"),
("shield-outline", "shield-outline"),
("shield-plus", "shield-plus"),
("shield-plus-outline", "shield-plus-outline"),
("shield-refresh", "shield-refresh"),
("shield-refresh-outline", "shield-refresh-outline"),
("shield-remove", "shield-remove"),
("shield-remove-outline", "shield-remove-outline"),
("shield-search", "shield-search"),
("shield-star", "shield-star"),
("shield-star-outline", "shield-star-outline"),
("shield-sun", "shield-sun"),
("shield-sun-outline", "shield-sun-outline"),
("shield-sword", "shield-sword"),
("shield-sword-outline", "shield-sword-outline"),
("shield-sync", "shield-sync"),
("shield-sync-outline", "shield-sync-outline"),
("shimmer", "shimmer"),
("ship-wheel", "ship-wheel"),
("shipping-pallet", "shipping-pallet"),
("shoe-ballet", "shoe-ballet"),
("shoe-cleat", "shoe-cleat"),
("shoe-formal", "shoe-formal"),
("shoe-heel", "shoe-heel"),
("shoe-print", "shoe-print"),
("shoe-sneaker", "shoe-sneaker"),
("shopify", "shopify"),
("shopping", "shopping"),
("shopping-music", "shopping-music"),
("shopping-outline", "shopping-outline"),
("shopping-search", "shopping-search"),
("shopping-search-outline", "shopping-search-outline"),
("shore", "shore"),
("shovel", "shovel"),
("shovel-off", "shovel-off"),
("shower", "shower"),
("shower-head", "shower-head"),
("shredder", "shredder"),
("shuffle", "shuffle"),
("shuffle-disabled", "shuffle-disabled"),
("shuffle-variant", "shuffle-variant"),
("shuriken", "shuriken"),
("sickle", "sickle"),
("sigma", "sigma"),
("sigma-lower", "sigma-lower"),
("sign-caution", "sign-caution"),
("sign-direction", "sign-direction"),
("sign-direction-minus", "sign-direction-minus"),
("sign-direction-plus", "sign-direction-plus"),
("sign-direction-remove", "sign-direction-remove"),
("sign-language", "sign-language"),
("sign-language-outline", "sign-language-outline"),
("sign-pole", "sign-pole"),
("sign-real-estate", "sign-real-estate"),
("sign-text", "sign-text"),
("sign-yield", "sign-yield"),
("signal", "signal"),
("signal-2g", "signal-2g"),
("signal-3g", "signal-3g"),
("signal-4g", "signal-4g"),
("signal-5g", "signal-5g"),
("signal-cellular-1", "signal-cellular-1"),
("signal-cellular-2", "signal-cellular-2"),
("signal-cellular-3", "signal-cellular-3"),
("signal-cellular-outline", "signal-cellular-outline"),
("signal-distance-variant", "signal-distance-variant"),
("signal-hspa", "signal-hspa"),
("signal-hspa-plus", "signal-hspa-plus"),
("signal-off", "signal-off"),
("signal-variant", "signal-variant"),
("signature", "signature"),
("signature-freehand", "signature-freehand"),
("signature-image", "signature-image"),
("signature-text", "signature-text"),
("silo", "silo"),
("silo-outline", "silo-outline"),
("silverware", "silverware"),
("silverware-clean", "silverware-clean"),
("silverware-fork", "silverware-fork"),
("silverware-fork-knife", "silverware-fork-knife"),
("silverware-spoon", "silverware-spoon"),
("silverware-variant", "silverware-variant"),
("sim", "sim"),
("sim-alert", "sim-alert"),
("sim-alert-outline", "sim-alert-outline"),
("sim-off", "sim-off"),
("sim-off-outline", "sim-off-outline"),
("sim-outline", "sim-outline"),
("simple-icons", "simple-icons"),
("sina-weibo", "sina-weibo"),
("sine-wave", "sine-wave"),
("sitemap", "sitemap"),
("sitemap-outline", "sitemap-outline"),
("size-l", "size-l"),
("size-m", "size-m"),
("size-s", "size-s"),
("size-xl", "size-xl"),
("size-xs", "size-xs"),
("size-xxl", "size-xxl"),
("size-xxs", "size-xxs"),
("size-xxxl", "size-xxxl"),
("skate", "skate"),
("skate-off", "skate-off"),
("skateboard", "skateboard"),
("skateboarding", "skateboarding"),
("skew-less", "skew-less"),
("skew-more", "skew-more"),
("ski", "ski"),
("ski-cross-country", "ski-cross-country"),
("ski-water", "ski-water"),
("skip-backward", "skip-backward"),
("skip-backward-outline", "skip-backward-outline"),
("skip-forward", "skip-forward"),
("skip-forward-outline", "skip-forward-outline"),
("skip-next", "skip-next"),
("skip-next-circle", "skip-next-circle"),
("skip-next-circle-outline", "skip-next-circle-outline"),
("skip-next-outline", "skip-next-outline"),
("skip-previous", "skip-previous"),
("skip-previous-circle", "skip-previous-circle"),
("skip-previous-circle-outline", "skip-previous-circle-outline"),
("skip-previous-outline", "skip-previous-outline"),
("skull", "skull"),
("skull-crossbones", "skull-crossbones"),
("skull-crossbones-outline", "skull-crossbones-outline"),
("skull-outline", "skull-outline"),
("skull-scan", "skull-scan"),
("skull-scan-outline", "skull-scan-outline"),
("skype", "skype"),
("skype-business", "skype-business"),
("slack", "slack"),
("slackware", "slackware"),
("slash-forward", "slash-forward"),
("slash-forward-box", "slash-forward-box"),
("sledding", "sledding"),
("sleep", "sleep"),
("sleep-off", "sleep-off"),
("slide", "slide"),
("slope-downhill", "slope-downhill"),
("slope-uphill", "slope-uphill"),
("slot-machine", "slot-machine"),
("slot-machine-outline", "slot-machine-outline"),
("smart-card", "smart-card"),
("smart-card-off", "smart-card-off"),
("smart-card-off-outline", "smart-card-off-outline"),
("smart-card-outline", "smart-card-outline"),
("smart-card-reader", "smart-card-reader"),
("smart-card-reader-outline", "smart-card-reader-outline"),
("smog", "smog"),
("smoke", "smoke"),
("smoke-detector", "smoke-detector"),
("smoke-detector-alert", "smoke-detector-alert"),
("smoke-detector-alert-outline", "smoke-detector-alert-outline"),
("smoke-detector-off", "smoke-detector-off"),
("smoke-detector-off-outline", "smoke-detector-off-outline"),
("smoke-detector-outline", "smoke-detector-outline"),
("smoke-detector-variant", "smoke-detector-variant"),
("smoke-detector-variant-alert", "smoke-detector-variant-alert"),
("smoke-detector-variant-off", "smoke-detector-variant-off"),
("smoking", "smoking"),
("smoking-off", "smoking-off"),
("smoking-pipe", "smoking-pipe"),
("smoking-pipe-off", "smoking-pipe-off"),
("snail", "snail"),
("snake", "snake"),
("snapchat", "snapchat"),
("snowboard", "snowboard"),
("snowflake", "snowflake"),
("snowflake-alert", "snowflake-alert"),
("snowflake-check", "snowflake-check"),
("snowflake-melt", "snowflake-melt"),
("snowflake-off", "snowflake-off"),
("snowflake-thermometer", "snowflake-thermometer"),
("snowflake-variant", "snowflake-variant"),
("snowman", "snowman"),
("snowmobile", "snowmobile"),
("snowshoeing", "snowshoeing"),
("soccer", "soccer"),
("soccer-field", "soccer-field"),
("social-distance-2-meters", "social-distance-2-meters"),
("social-distance-6-feet", "social-distance-6-feet"),
("sofa", "sofa"),
("sofa-outline", "sofa-outline"),
("sofa-single", "sofa-single"),
("sofa-single-outline", "sofa-single-outline"),
("solar-panel", "solar-panel"),
("solar-panel-large", "solar-panel-large"),
("solar-power", "solar-power"),
("solar-power-variant", "solar-power-variant"),
("solar-power-variant-outline", "solar-power-variant-outline"),
("soldering-iron", "soldering-iron"),
("solid", "solid"),
("sony-playstation", "sony-playstation"),
("sort", "sort"),
("sort-alphabetical-ascending", "sort-alphabetical-ascending"),
("sort-alphabetical-ascending-variant", "sort-alphabetical-ascending-variant"),
("sort-alphabetical-descending", "sort-alphabetical-descending"),
(
"sort-alphabetical-descending-variant",
"sort-alphabetical-descending-variant",
),
("sort-alphabetical-variant", "sort-alphabetical-variant"),
("sort-ascending", "sort-ascending"),
("sort-bool-ascending", "sort-bool-ascending"),
("sort-bool-ascending-variant", "sort-bool-ascending-variant"),
("sort-bool-descending", "sort-bool-descending"),
("sort-bool-descending-variant", "sort-bool-descending-variant"),
("sort-calendar-ascending", "sort-calendar-ascending"),
("sort-calendar-descending", "sort-calendar-descending"),
("sort-clock-ascending", "sort-clock-ascending"),
("sort-clock-ascending-outline", "sort-clock-ascending-outline"),
("sort-clock-descending", "sort-clock-descending"),
("sort-clock-descending-outline", "sort-clock-descending-outline"),
("sort-descending", "sort-descending"),
("sort-numeric-ascending", "sort-numeric-ascending"),
("sort-numeric-ascending-variant", "sort-numeric-ascending-variant"),
("sort-numeric-descending", "sort-numeric-descending"),
("sort-numeric-descending-variant", "sort-numeric-descending-variant"),
("sort-numeric-variant", "sort-numeric-variant"),
("sort-reverse-variant", "sort-reverse-variant"),
("sort-variant", "sort-variant"),
("sort-variant-lock", "sort-variant-lock"),
("sort-variant-lock-open", "sort-variant-lock-open"),
("sort-variant-off", "sort-variant-off"),
("sort-variant-remove", "sort-variant-remove"),
("soundbar", "soundbar"),
("soundcloud", "soundcloud"),
("source-branch", "source-branch"),
("source-branch-check", "source-branch-check"),
("source-branch-minus", "source-branch-minus"),
("source-branch-plus", "source-branch-plus"),
("source-branch-refresh", "source-branch-refresh"),
("source-branch-remove", "source-branch-remove"),
("source-branch-sync", "source-branch-sync"),
("source-commit", "source-commit"),
("source-commit-end", "source-commit-end"),
("source-commit-end-local", "source-commit-end-local"),
("source-commit-local", "source-commit-local"),
("source-commit-next-local", "source-commit-next-local"),
("source-commit-start", "source-commit-start"),
("source-commit-start-next-local", "source-commit-start-next-local"),
("source-fork", "source-fork"),
("source-merge", "source-merge"),
("source-pull", "source-pull"),
("source-repository", "source-repository"),
("source-repository-multiple", "source-repository-multiple"),
("soy-sauce", "soy-sauce"),
("soy-sauce-off", "soy-sauce-off"),
("spa", "spa"),
("spa-outline", "spa-outline"),
("space-invaders", "space-invaders"),
("space-station", "space-station"),
("spade", "spade"),
("speaker", "speaker"),
("speaker-bluetooth", "speaker-bluetooth"),
("speaker-message", "speaker-message"),
("speaker-multiple", "speaker-multiple"),
("speaker-off", "speaker-off"),
("speaker-pause", "speaker-pause"),
("speaker-play", "speaker-play"),
("speaker-stop", "speaker-stop"),
("speaker-wireless", "speaker-wireless"),
("spear", "spear"),
("speedometer", "speedometer"),
("speedometer-medium", "speedometer-medium"),
("speedometer-slow", "speedometer-slow"),
("spellcheck", "spellcheck"),
("sphere", "sphere"),
("sphere-off", "sphere-off"),
("spider", "spider"),
("spider-thread", "spider-thread"),
("spider-web", "spider-web"),
("spirit-level", "spirit-level"),
("split-horizontal", "split-horizontal"),
("split-vertical", "split-vertical"),
("spoon-sugar", "spoon-sugar"),
("spotify", "spotify"),
("spotlight", "spotlight"),
("spotlight-beam", "spotlight-beam"),
("spray", "spray"),
("spray-bottle", "spray-bottle"),
("spreadsheet", "spreadsheet"),
("sprinkler", "sprinkler"),
("sprinkler-fire", "sprinkler-fire"),
("sprinkler-variant", "sprinkler-variant"),
("sprout", "sprout"),
("sprout-outline", "sprout-outline"),
("square", "square"),
("square-circle", "square-circle"),
("square-edit-outline", "square-edit-outline"),
("square-inc", "square-inc"),
("square-inc-cash", "square-inc-cash"),
("square-medium", "square-medium"),
("square-medium-outline", "square-medium-outline"),
("square-off", "square-off"),
("square-off-outline", "square-off-outline"),
("square-opacity", "square-opacity"),
("square-outline", "square-outline"),
("square-root", "square-root"),
("square-root-box", "square-root-box"),
("square-rounded", "square-rounded"),
("square-rounded-badge", "square-rounded-badge"),
("square-rounded-badge-outline", "square-rounded-badge-outline"),
("square-rounded-outline", "square-rounded-outline"),
("square-small", "square-small"),
("square-wave", "square-wave"),
("squeegee", "squeegee"),
("ssh", "ssh"),
("stack-exchange", "stack-exchange"),
("stack-overflow", "stack-overflow"),
("stackpath", "stackpath"),
("stadium", "stadium"),
("stadium-outline", "stadium-outline"),
("stadium-variant", "stadium-variant"),
("stairs", "stairs"),
("stairs-box", "stairs-box"),
("stairs-down", "stairs-down"),
("stairs-up", "stairs-up"),
("stamper", "stamper"),
("standard-definition", "standard-definition"),
("star", "star"),
("star-box", "star-box"),
("star-box-multiple", "star-box-multiple"),
("star-box-multiple-outline", "star-box-multiple-outline"),
("star-box-outline", "star-box-outline"),
("star-check", "star-check"),
("star-check-outline", "star-check-outline"),
("star-circle", "star-circle"),
("star-circle-outline", "star-circle-outline"),
("star-cog", "star-cog"),
("star-cog-outline", "star-cog-outline"),
("star-crescent", "star-crescent"),
("star-david", "star-david"),
("star-face", "star-face"),
("star-four-points", "star-four-points"),
("star-four-points-outline", "star-four-points-outline"),
("star-half", "star-half"),
("star-half-full", "star-half-full"),
("star-minus", "star-minus"),
("star-minus-outline", "star-minus-outline"),
("star-off", "star-off"),
("star-off-outline", "star-off-outline"),
("star-outline", "star-outline"),
("star-plus", "star-plus"),
("star-plus-outline", "star-plus-outline"),
("star-remove", "star-remove"),
("star-remove-outline", "star-remove-outline"),
("star-settings", "star-settings"),
("star-settings-outline", "star-settings-outline"),
("star-shooting", "star-shooting"),
("star-shooting-outline", "star-shooting-outline"),
("star-three-points", "star-three-points"),
("star-three-points-outline", "star-three-points-outline"),
("state-machine", "state-machine"),
("steam", "steam"),
("steam-box", "steam-box"),
("steering", "steering"),
("steering-off", "steering-off"),
("step-backward", "step-backward"),
("step-backward-2", "step-backward-2"),
("step-forward", "step-forward"),
("step-forward-2", "step-forward-2"),
("stethoscope", "stethoscope"),
("sticker", "sticker"),
("sticker-alert", "sticker-alert"),
("sticker-alert-outline", "sticker-alert-outline"),
("sticker-check", "sticker-check"),
("sticker-check-outline", "sticker-check-outline"),
("sticker-circle-outline", "sticker-circle-outline"),
("sticker-emoji", "sticker-emoji"),
("sticker-minus", "sticker-minus"),
("sticker-minus-outline", "sticker-minus-outline"),
("sticker-outline", "sticker-outline"),
("sticker-plus", "sticker-plus"),
("sticker-plus-outline", "sticker-plus-outline"),
("sticker-remove", "sticker-remove"),
("sticker-remove-outline", "sticker-remove-outline"),
("sticker-text", "sticker-text"),
("sticker-text-outline", "sticker-text-outline"),
("stocking", "stocking"),
("stomach", "stomach"),
("stool", "stool"),
("stool-outline", "stool-outline"),
("stop", "stop"),
("stop-circle", "stop-circle"),
("stop-circle-outline", "stop-circle-outline"),
("storage-tank", "storage-tank"),
("storage-tank-outline", "storage-tank-outline"),
("store", "store"),
("store-24-hour", "store-24-hour"),
("store-alert", "store-alert"),
("store-alert-outline", "store-alert-outline"),
("store-check", "store-check"),
("store-check-outline", "store-check-outline"),
("store-clock", "store-clock"),
("store-clock-outline", "store-clock-outline"),
("store-cog", "store-cog"),
("store-cog-outline", "store-cog-outline"),
("store-edit", "store-edit"),
("store-edit-outline", "store-edit-outline"),
("store-marker", "store-marker"),
("store-marker-outline", "store-marker-outline"),
("store-minus", "store-minus"),
("store-minus-outline", "store-minus-outline"),
("store-off", "store-off"),
("store-off-outline", "store-off-outline"),
("store-outline", "store-outline"),
("store-plus", "store-plus"),
("store-plus-outline", "store-plus-outline"),
("store-remove", "store-remove"),
("store-remove-outline", "store-remove-outline"),
("store-search", "store-search"),
("store-search-outline", "store-search-outline"),
("store-settings", "store-settings"),
("store-settings-outline", "store-settings-outline"),
("storefront", "storefront"),
("storefront-check", "storefront-check"),
("storefront-check-outline", "storefront-check-outline"),
("storefront-edit", "storefront-edit"),
("storefront-edit-outline", "storefront-edit-outline"),
("storefront-minus", "storefront-minus"),
("storefront-minus-outline", "storefront-minus-outline"),
("storefront-outline", "storefront-outline"),
("storefront-plus", "storefront-plus"),
("storefront-plus-outline", "storefront-plus-outline"),
("storefront-remove", "storefront-remove"),
("storefront-remove-outline", "storefront-remove-outline"),
("stove", "stove"),
("strategy", "strategy"),
("strava", "strava"),
("stretch-to-page", "stretch-to-page"),
("stretch-to-page-outline", "stretch-to-page-outline"),
("string-lights", "string-lights"),
("string-lights-off", "string-lights-off"),
("subdirectory-arrow-left", "subdirectory-arrow-left"),
("subdirectory-arrow-right", "subdirectory-arrow-right"),
("submarine", "submarine"),
("subtitles", "subtitles"),
("subtitles-outline", "subtitles-outline"),
("subway", "subway"),
("subway-alert-variant", "subway-alert-variant"),
("subway-variant", "subway-variant"),
("summit", "summit"),
("sun-angle", "sun-angle"),
("sun-angle-outline", "sun-angle-outline"),
("sun-clock", "sun-clock"),
("sun-clock-outline", "sun-clock-outline"),
("sun-compass", "sun-compass"),
("sun-snowflake", "sun-snowflake"),
("sun-snowflake-variant", "sun-snowflake-variant"),
("sun-thermometer", "sun-thermometer"),
("sun-thermometer-outline", "sun-thermometer-outline"),
("sun-wireless", "sun-wireless"),
("sun-wireless-outline", "sun-wireless-outline"),
("sunglasses", "sunglasses"),
("surfing", "surfing"),
("surround-sound", "surround-sound"),
("surround-sound-2-0", "surround-sound-2-0"),
("surround-sound-2-1", "surround-sound-2-1"),
("surround-sound-3-1", "surround-sound-3-1"),
("surround-sound-5-1", "surround-sound-5-1"),
("surround-sound-5-1-2", "surround-sound-5-1-2"),
("surround-sound-7-1", "surround-sound-7-1"),
("svg", "svg"),
("swap-horizontal", "swap-horizontal"),
("swap-horizontal-bold", "swap-horizontal-bold"),
("swap-horizontal-circle", "swap-horizontal-circle"),
("swap-horizontal-circle-outline", "swap-horizontal-circle-outline"),
("swap-horizontal-variant", "swap-horizontal-variant"),
("swap-vertical", "swap-vertical"),
("swap-vertical-bold", "swap-vertical-bold"),
("swap-vertical-circle", "swap-vertical-circle"),
("swap-vertical-circle-outline", "swap-vertical-circle-outline"),
("swap-vertical-variant", "swap-vertical-variant"),
("swim", "swim"),
("switch", "switch"),
("sword", "sword"),
("sword-cross", "sword-cross"),
("syllabary-hangul", "syllabary-hangul"),
("syllabary-hiragana", "syllabary-hiragana"),
("syllabary-katakana", "syllabary-katakana"),
("syllabary-katakana-halfwidth", "syllabary-katakana-halfwidth"),
("symbol", "symbol"),
("symfony", "symfony"),
("synagogue", "synagogue"),
("synagogue-outline", "synagogue-outline"),
("sync", "sync"),
("sync-alert", "sync-alert"),
("sync-circle", "sync-circle"),
("sync-off", "sync-off"),
("tab", "tab"),
("tab-minus", "tab-minus"),
("tab-plus", "tab-plus"),
("tab-remove", "tab-remove"),
("tab-search", "tab-search"),
("tab-unselected", "tab-unselected"),
("table", "table"),
("table-account", "table-account"),
("table-alert", "table-alert"),
("table-arrow-down", "table-arrow-down"),
("table-arrow-left", "table-arrow-left"),
("table-arrow-right", "table-arrow-right"),
("table-arrow-up", "table-arrow-up"),
("table-border", "table-border"),
("table-cancel", "table-cancel"),
("table-chair", "table-chair"),
("table-check", "table-check"),
("table-clock", "table-clock"),
("table-cog", "table-cog"),
("table-column", "table-column"),
("table-column-plus-after", "table-column-plus-after"),
("table-column-plus-before", "table-column-plus-before"),
("table-column-remove", "table-column-remove"),
("table-column-width", "table-column-width"),
("table-edit", "table-edit"),
("table-eye", "table-eye"),
("table-eye-off", "table-eye-off"),
("table-filter", "table-filter"),
("table-furniture", "table-furniture"),
("table-headers-eye", "table-headers-eye"),
("table-headers-eye-off", "table-headers-eye-off"),
("table-heart", "table-heart"),
("table-key", "table-key"),
("table-large", "table-large"),
("table-large-plus", "table-large-plus"),
("table-large-remove", "table-large-remove"),
("table-lock", "table-lock"),
("table-merge-cells", "table-merge-cells"),
("table-minus", "table-minus"),
("table-multiple", "table-multiple"),
("table-network", "table-network"),
("table-of-contents", "table-of-contents"),
("table-off", "table-off"),
("table-picnic", "table-picnic"),
("table-pivot", "table-pivot"),
("table-plus", "table-plus"),
("table-question", "table-question"),
("table-refresh", "table-refresh"),
("table-remove", "table-remove"),
("table-row", "table-row"),
("table-row-height", "table-row-height"),
("table-row-plus-after", "table-row-plus-after"),
("table-row-plus-before", "table-row-plus-before"),
("table-row-remove", "table-row-remove"),
("table-search", "table-search"),
("table-settings", "table-settings"),
("table-split-cell", "table-split-cell"),
("table-star", "table-star"),
("table-sync", "table-sync"),
("table-tennis", "table-tennis"),
("tablet", "tablet"),
("tablet-android", "tablet-android"),
("tablet-cellphone", "tablet-cellphone"),
("tablet-dashboard", "tablet-dashboard"),
("tablet-ipad", "tablet-ipad"),
("taco", "taco"),
("tag", "tag"),
("tag-arrow-down", "tag-arrow-down"),
("tag-arrow-down-outline", "tag-arrow-down-outline"),
("tag-arrow-left", "tag-arrow-left"),
("tag-arrow-left-outline", "tag-arrow-left-outline"),
("tag-arrow-right", "tag-arrow-right"),
("tag-arrow-right-outline", "tag-arrow-right-outline"),
("tag-arrow-up", "tag-arrow-up"),
("tag-arrow-up-outline", "tag-arrow-up-outline"),
("tag-check", "tag-check"),
("tag-check-outline", "tag-check-outline"),
("tag-faces", "tag-faces"),
("tag-heart", "tag-heart"),
("tag-heart-outline", "tag-heart-outline"),
("tag-minus", "tag-minus"),
("tag-minus-outline", "tag-minus-outline"),
("tag-multiple", "tag-multiple"),
("tag-multiple-outline", "tag-multiple-outline"),
("tag-off", "tag-off"),
("tag-off-outline", "tag-off-outline"),
("tag-outline", "tag-outline"),
("tag-plus", "tag-plus"),
("tag-plus-outline", "tag-plus-outline"),
("tag-remove", "tag-remove"),
("tag-remove-outline", "tag-remove-outline"),
("tag-search", "tag-search"),
("tag-search-outline", "tag-search-outline"),
("tag-text", "tag-text"),
("tag-text-outline", "tag-text-outline"),
("tailwind", "tailwind"),
("tally-mark-1", "tally-mark-1"),
("tally-mark-2", "tally-mark-2"),
("tally-mark-3", "tally-mark-3"),
("tally-mark-4", "tally-mark-4"),
("tally-mark-5", "tally-mark-5"),
("tangram", "tangram"),
("tank", "tank"),
("tanker-truck", "tanker-truck"),
("tape-drive", "tape-drive"),
("tape-measure", "tape-measure"),
("target", "target"),
("target-account", "target-account"),
("target-variant", "target-variant"),
("taxi", "taxi"),
("tea", "tea"),
("tea-outline", "tea-outline"),
("teamspeak", "teamspeak"),
("teamviewer", "teamviewer"),
("teddy-bear", "teddy-bear"),
("telegram", "telegram"),
("telescope", "telescope"),
("television", "television"),
("television-ambient-light", "television-ambient-light"),
("television-box", "television-box"),
("television-classic", "television-classic"),
("television-classic-off", "television-classic-off"),
("television-guide", "television-guide"),
("television-off", "television-off"),
("television-pause", "television-pause"),
("television-play", "television-play"),
("television-shimmer", "television-shimmer"),
("television-speaker", "television-speaker"),
("television-speaker-off", "television-speaker-off"),
("television-stop", "television-stop"),
("temperature-celsius", "temperature-celsius"),
("temperature-fahrenheit", "temperature-fahrenheit"),
("temperature-kelvin", "temperature-kelvin"),
("temple-buddhist", "temple-buddhist"),
("temple-buddhist-outline", "temple-buddhist-outline"),
("temple-hindu", "temple-hindu"),
("temple-hindu-outline", "temple-hindu-outline"),
("tennis", "tennis"),
("tennis-ball", "tennis-ball"),
("tent", "tent"),
("terraform", "terraform"),
("terrain", "terrain"),
("test-tube", "test-tube"),
("test-tube-empty", "test-tube-empty"),
("test-tube-off", "test-tube-off"),
("text", "text"),
("text-account", "text-account"),
("text-box", "text-box"),
("text-box-check", "text-box-check"),
("text-box-check-outline", "text-box-check-outline"),
("text-box-edit", "text-box-edit"),
("text-box-edit-outline", "text-box-edit-outline"),
("text-box-minus", "text-box-minus"),
("text-box-minus-outline", "text-box-minus-outline"),
("text-box-multiple", "text-box-multiple"),
("text-box-multiple-outline", "text-box-multiple-outline"),
("text-box-outline", "text-box-outline"),
("text-box-plus", "text-box-plus"),
("text-box-plus-outline", "text-box-plus-outline"),
("text-box-remove", "text-box-remove"),
("text-box-remove-outline", "text-box-remove-outline"),
("text-box-search", "text-box-search"),
("text-box-search-outline", "text-box-search-outline"),
("text-long", "text-long"),
("text-recognition", "text-recognition"),
("text-search", "text-search"),
("text-search-variant", "text-search-variant"),
("text-shadow", "text-shadow"),
("text-short", "text-short"),
("texture", "texture"),
("texture-box", "texture-box"),
("theater", "theater"),
("theme-light-dark", "theme-light-dark"),
("thermometer", "thermometer"),
("thermometer-alert", "thermometer-alert"),
("thermometer-auto", "thermometer-auto"),
("thermometer-bluetooth", "thermometer-bluetooth"),
("thermometer-check", "thermometer-check"),
("thermometer-chevron-down", "thermometer-chevron-down"),
("thermometer-chevron-up", "thermometer-chevron-up"),
("thermometer-high", "thermometer-high"),
("thermometer-lines", "thermometer-lines"),
("thermometer-low", "thermometer-low"),
("thermometer-minus", "thermometer-minus"),
("thermometer-off", "thermometer-off"),
("thermometer-plus", "thermometer-plus"),
("thermometer-probe", "thermometer-probe"),
("thermometer-probe-off", "thermometer-probe-off"),
("thermometer-water", "thermometer-water"),
("thermostat", "thermostat"),
("thermostat-auto", "thermostat-auto"),
("thermostat-box", "thermostat-box"),
("thermostat-box-auto", "thermostat-box-auto"),
("thought-bubble", "thought-bubble"),
("thought-bubble-outline", "thought-bubble-outline"),
("thumb-down", "thumb-down"),
("thumb-down-outline", "thumb-down-outline"),
("thumb-up", "thumb-up"),
("thumb-up-outline", "thumb-up-outline"),
("thumbs-up-down", "thumbs-up-down"),
("thumbs-up-down-outline", "thumbs-up-down-outline"),
("ticket", "ticket"),
("ticket-account", "ticket-account"),
("ticket-confirmation", "ticket-confirmation"),
("ticket-confirmation-outline", "ticket-confirmation-outline"),
("ticket-outline", "ticket-outline"),
("ticket-percent", "ticket-percent"),
("ticket-percent-outline", "ticket-percent-outline"),
("tie", "tie"),
("tilde", "tilde"),
("tilde-off", "tilde-off"),
("timelapse", "timelapse"),
("timeline", "timeline"),
("timeline-alert", "timeline-alert"),
("timeline-alert-outline", "timeline-alert-outline"),
("timeline-check", "timeline-check"),
("timeline-check-outline", "timeline-check-outline"),
("timeline-clock", "timeline-clock"),
("timeline-clock-outline", "timeline-clock-outline"),
("timeline-minus", "timeline-minus"),
("timeline-minus-outline", "timeline-minus-outline"),
("timeline-outline", "timeline-outline"),
("timeline-plus", "timeline-plus"),
("timeline-plus-outline", "timeline-plus-outline"),
("timeline-question", "timeline-question"),
("timeline-question-outline", "timeline-question-outline"),
("timeline-remove", "timeline-remove"),
("timeline-remove-outline", "timeline-remove-outline"),
("timeline-text", "timeline-text"),
("timeline-text-outline", "timeline-text-outline"),
("timer", "timer"),
("timer-10", "timer-10"),
("timer-3", "timer-3"),
("timer-alert", "timer-alert"),
("timer-alert-outline", "timer-alert-outline"),
("timer-cancel", "timer-cancel"),
("timer-cancel-outline", "timer-cancel-outline"),
("timer-check", "timer-check"),
("timer-check-outline", "timer-check-outline"),
("timer-cog", "timer-cog"),
("timer-cog-outline", "timer-cog-outline"),
("timer-edit", "timer-edit"),
("timer-edit-outline", "timer-edit-outline"),
("timer-lock", "timer-lock"),
("timer-lock-open", "timer-lock-open"),
("timer-lock-open-outline", "timer-lock-open-outline"),
("timer-lock-outline", "timer-lock-outline"),
("timer-marker", "timer-marker"),
("timer-marker-outline", "timer-marker-outline"),
("timer-minus", "timer-minus"),
("timer-minus-outline", "timer-minus-outline"),
("timer-music", "timer-music"),
("timer-music-outline", "timer-music-outline"),
("timer-off", "timer-off"),
("timer-off-outline", "timer-off-outline"),
("timer-outline", "timer-outline"),
("timer-pause", "timer-pause"),
("timer-pause-outline", "timer-pause-outline"),
("timer-play", "timer-play"),
("timer-play-outline", "timer-play-outline"),
("timer-plus", "timer-plus"),
("timer-plus-outline", "timer-plus-outline"),
("timer-refresh", "timer-refresh"),
("timer-refresh-outline", "timer-refresh-outline"),
("timer-remove", "timer-remove"),
("timer-remove-outline", "timer-remove-outline"),
("timer-sand", "timer-sand"),
("timer-sand-complete", "timer-sand-complete"),
("timer-sand-empty", "timer-sand-empty"),
("timer-sand-full", "timer-sand-full"),
("timer-sand-paused", "timer-sand-paused"),
("timer-settings", "timer-settings"),
("timer-settings-outline", "timer-settings-outline"),
("timer-star", "timer-star"),
("timer-star-outline", "timer-star-outline"),
("timer-stop", "timer-stop"),
("timer-stop-outline", "timer-stop-outline"),
("timer-sync", "timer-sync"),
("timer-sync-outline", "timer-sync-outline"),
("timetable", "timetable"),
("tire", "tire"),
("toaster", "toaster"),
("toaster-off", "toaster-off"),
("toaster-oven", "toaster-oven"),
("toggle-switch", "toggle-switch"),
("toggle-switch-off", "toggle-switch-off"),
("toggle-switch-off-outline", "toggle-switch-off-outline"),
("toggle-switch-outline", "toggle-switch-outline"),
("toggle-switch-variant", "toggle-switch-variant"),
("toggle-switch-variant-off", "toggle-switch-variant-off"),
("toilet", "toilet"),
("toolbox", "toolbox"),
("toolbox-outline", "toolbox-outline"),
("tools", "tools"),
("tooltip", "tooltip"),
("tooltip-account", "tooltip-account"),
("tooltip-cellphone", "tooltip-cellphone"),
("tooltip-check", "tooltip-check"),
("tooltip-check-outline", "tooltip-check-outline"),
("tooltip-edit", "tooltip-edit"),
("tooltip-edit-outline", "tooltip-edit-outline"),
("tooltip-image", "tooltip-image"),
("tooltip-image-outline", "tooltip-image-outline"),
("tooltip-minus", "tooltip-minus"),
("tooltip-minus-outline", "tooltip-minus-outline"),
("tooltip-outline", "tooltip-outline"),
("tooltip-plus", "tooltip-plus"),
("tooltip-plus-outline", "tooltip-plus-outline"),
("tooltip-question", "tooltip-question"),
("tooltip-question-outline", "tooltip-question-outline"),
("tooltip-remove", "tooltip-remove"),
("tooltip-remove-outline", "tooltip-remove-outline"),
("tooltip-text", "tooltip-text"),
("tooltip-text-outline", "tooltip-text-outline"),
("tooth", "tooth"),
("tooth-outline", "tooth-outline"),
("toothbrush", "toothbrush"),
("toothbrush-electric", "toothbrush-electric"),
("toothbrush-paste", "toothbrush-paste"),
("tor", "tor"),
("torch", "torch"),
("tortoise", "tortoise"),
("toslink", "toslink"),
("tournament", "tournament"),
("tow-truck", "tow-truck"),
("tower-beach", "tower-beach"),
("tower-fire", "tower-fire"),
("town-hall", "town-hall"),
("toy-brick", "toy-brick"),
("toy-brick-marker", "toy-brick-marker"),
("toy-brick-marker-outline", "toy-brick-marker-outline"),
("toy-brick-minus", "toy-brick-minus"),
("toy-brick-minus-outline", "toy-brick-minus-outline"),
("toy-brick-outline", "toy-brick-outline"),
("toy-brick-plus", "toy-brick-plus"),
("toy-brick-plus-outline", "toy-brick-plus-outline"),
("toy-brick-remove", "toy-brick-remove"),
("toy-brick-remove-outline", "toy-brick-remove-outline"),
("toy-brick-search", "toy-brick-search"),
("toy-brick-search-outline", "toy-brick-search-outline"),
("track-light", "track-light"),
("track-light-off", "track-light-off"),
("trackpad", "trackpad"),
("trackpad-lock", "trackpad-lock"),
("tractor", "tractor"),
("tractor-variant", "tractor-variant"),
("trademark", "trademark"),
("traffic-cone", "traffic-cone"),
("traffic-light", "traffic-light"),
("traffic-light-outline", "traffic-light-outline"),
("train", "train"),
("train-car", "train-car"),
("train-car-autorack", "train-car-autorack"),
("train-car-box", "train-car-box"),
("train-car-box-full", "train-car-box-full"),
("train-car-box-open", "train-car-box-open"),
("train-car-caboose", "train-car-caboose"),
("train-car-centerbeam", "train-car-centerbeam"),
("train-car-centerbeam-full", "train-car-centerbeam-full"),
("train-car-container", "train-car-container"),
("train-car-flatbed", "train-car-flatbed"),
("train-car-flatbed-car", "train-car-flatbed-car"),
("train-car-flatbed-tank", "train-car-flatbed-tank"),
("train-car-gondola", "train-car-gondola"),
("train-car-gondola-full", "train-car-gondola-full"),
("train-car-hopper", "train-car-hopper"),
("train-car-hopper-covered", "train-car-hopper-covered"),
("train-car-hopper-full", "train-car-hopper-full"),
("train-car-intermodal", "train-car-intermodal"),
("train-car-passenger", "train-car-passenger"),
("train-car-passenger-door", "train-car-passenger-door"),
("train-car-passenger-door-open", "train-car-passenger-door-open"),
("train-car-passenger-variant", "train-car-passenger-variant"),
("train-car-tank", "train-car-tank"),
("train-variant", "train-variant"),
("tram", "tram"),
("tram-side", "tram-side"),
("transcribe", "transcribe"),
("transcribe-close", "transcribe-close"),
("transfer", "transfer"),
("transfer-down", "transfer-down"),
("transfer-left", "transfer-left"),
("transfer-right", "transfer-right"),
("transfer-up", "transfer-up"),
("transit-connection", "transit-connection"),
("transit-connection-horizontal", "transit-connection-horizontal"),
("transit-connection-variant", "transit-connection-variant"),
("transit-detour", "transit-detour"),
("transit-skip", "transit-skip"),
("transit-transfer", "transit-transfer"),
("transition", "transition"),
("transition-masked", "transition-masked"),
("translate", "translate"),
("translate-off", "translate-off"),
("translate-variant", "translate-variant"),
("transmission-tower", "transmission-tower"),
("transmission-tower-export", "transmission-tower-export"),
("transmission-tower-import", "transmission-tower-import"),
("transmission-tower-off", "transmission-tower-off"),
("trash-can", "trash-can"),
("trash-can-outline", "trash-can-outline"),
("tray", "tray"),
("tray-alert", "tray-alert"),
("tray-arrow-down", "tray-arrow-down"),
("tray-arrow-up", "tray-arrow-up"),
("tray-full", "tray-full"),
("tray-minus", "tray-minus"),
("tray-plus", "tray-plus"),
("tray-remove", "tray-remove"),
("treasure-chest", "treasure-chest"),
("tree", "tree"),
("tree-outline", "tree-outline"),
("trello", "trello"),
("trending-down", "trending-down"),
("trending-neutral", "trending-neutral"),
("trending-up", "trending-up"),
("triangle", "triangle"),
("triangle-outline", "triangle-outline"),
("triangle-small-down", "triangle-small-down"),
("triangle-small-up", "triangle-small-up"),
("triangle-wave", "triangle-wave"),
("triforce", "triforce"),
("trophy", "trophy"),
("trophy-award", "trophy-award"),
("trophy-broken", "trophy-broken"),
("trophy-outline", "trophy-outline"),
("trophy-variant", "trophy-variant"),
("trophy-variant-outline", "trophy-variant-outline"),
("truck", "truck"),
("truck-alert", "truck-alert"),
("truck-alert-outline", "truck-alert-outline"),
("truck-cargo-container", "truck-cargo-container"),
("truck-check", "truck-check"),
("truck-check-outline", "truck-check-outline"),
("truck-delivery", "truck-delivery"),
("truck-delivery-outline", "truck-delivery-outline"),
("truck-fast", "truck-fast"),
("truck-fast-outline", "truck-fast-outline"),
("truck-flatbed", "truck-flatbed"),
("truck-minus", "truck-minus"),
("truck-minus-outline", "truck-minus-outline"),
("truck-outline", "truck-outline"),
("truck-plus", "truck-plus"),
("truck-plus-outline", "truck-plus-outline"),
("truck-remove", "truck-remove"),
("truck-remove-outline", "truck-remove-outline"),
("truck-snowflake", "truck-snowflake"),
("truck-trailer", "truck-trailer"),
("trumpet", "trumpet"),
("tshirt-crew", "tshirt-crew"),
("tshirt-crew-outline", "tshirt-crew-outline"),
("tshirt-v", "tshirt-v"),
("tshirt-v-outline", "tshirt-v-outline"),
("tsunami", "tsunami"),
("tumble-dryer", "tumble-dryer"),
("tumble-dryer-alert", "tumble-dryer-alert"),
("tumble-dryer-off", "tumble-dryer-off"),
("tumblr", "tumblr"),
("tumblr-box", "tumblr-box"),
("tumblr-reblog", "tumblr-reblog"),
("tune", "tune"),
("tune-variant", "tune-variant"),
("tune-vertical", "tune-vertical"),
("tune-vertical-variant", "tune-vertical-variant"),
("tunnel", "tunnel"),
("tunnel-outline", "tunnel-outline"),
("turbine", "turbine"),
("turkey", "turkey"),
("turnstile", "turnstile"),
("turnstile-outline", "turnstile-outline"),
("turtle", "turtle"),
("twitch", "twitch"),
("twitter", "twitter"),
("twitter-box", "twitter-box"),
("twitter-circle", "twitter-circle"),
("two-factor-authentication", "two-factor-authentication"),
("typewriter", "typewriter"),
("uber", "uber"),
("ubisoft", "ubisoft"),
("ubuntu", "ubuntu"),
("ufo", "ufo"),
("ufo-outline", "ufo-outline"),
("ultra-high-definition", "ultra-high-definition"),
("umbraco", "umbraco"),
("umbrella", "umbrella"),
("umbrella-beach", "umbrella-beach"),
("umbrella-beach-outline", "umbrella-beach-outline"),
("umbrella-closed", "umbrella-closed"),
("umbrella-closed-outline", "umbrella-closed-outline"),
("umbrella-closed-variant", "umbrella-closed-variant"),
("umbrella-outline", "umbrella-outline"),
("undo", "undo"),
("undo-variant", "undo-variant"),
("unfold-less-horizontal", "unfold-less-horizontal"),
("unfold-less-vertical", "unfold-less-vertical"),
("unfold-more-horizontal", "unfold-more-horizontal"),
("unfold-more-vertical", "unfold-more-vertical"),
("ungroup", "ungroup"),
("unicode", "unicode"),
("unicorn", "unicorn"),
("unicorn-variant", "unicorn-variant"),
("unicycle", "unicycle"),
("unity", "unity"),
("unreal", "unreal"),
("untappd", "untappd"),
("update", "update"),
("upload", "upload"),
("upload-lock", "upload-lock"),
("upload-lock-outline", "upload-lock-outline"),
("upload-multiple", "upload-multiple"),
("upload-network", "upload-network"),
("upload-network-outline", "upload-network-outline"),
("upload-off", "upload-off"),
("upload-off-outline", "upload-off-outline"),
("upload-outline", "upload-outline"),
("usb", "usb"),
("usb-flash-drive", "usb-flash-drive"),
("usb-flash-drive-outline", "usb-flash-drive-outline"),
("usb-port", "usb-port"),
("vacuum", "vacuum"),
("vacuum-outline", "vacuum-outline"),
("valve", "valve"),
("valve-closed", "valve-closed"),
("valve-open", "valve-open"),
("van-passenger", "van-passenger"),
("van-utility", "van-utility"),
("vanish", "vanish"),
("vanish-quarter", "vanish-quarter"),
("vanity-light", "vanity-light"),
("variable", "variable"),
("variable-box", "variable-box"),
("vector-arrange-above", "vector-arrange-above"),
("vector-arrange-below", "vector-arrange-below"),
("vector-bezier", "vector-bezier"),
("vector-circle", "vector-circle"),
("vector-circle-variant", "vector-circle-variant"),
("vector-combine", "vector-combine"),
("vector-curve", "vector-curve"),
("vector-difference", "vector-difference"),
("vector-difference-ab", "vector-difference-ab"),
("vector-difference-ba", "vector-difference-ba"),
("vector-ellipse", "vector-ellipse"),
("vector-intersection", "vector-intersection"),
("vector-line", "vector-line"),
("vector-link", "vector-link"),
("vector-point", "vector-point"),
("vector-point-edit", "vector-point-edit"),
("vector-point-minus", "vector-point-minus"),
("vector-point-plus", "vector-point-plus"),
("vector-point-select", "vector-point-select"),
("vector-polygon", "vector-polygon"),
("vector-polygon-variant", "vector-polygon-variant"),
("vector-polyline", "vector-polyline"),
("vector-polyline-edit", "vector-polyline-edit"),
("vector-polyline-minus", "vector-polyline-minus"),
("vector-polyline-plus", "vector-polyline-plus"),
("vector-polyline-remove", "vector-polyline-remove"),
("vector-radius", "vector-radius"),
("vector-rectangle", "vector-rectangle"),
("vector-selection", "vector-selection"),
("vector-square", "vector-square"),
("vector-square-close", "vector-square-close"),
("vector-square-edit", "vector-square-edit"),
("vector-square-minus", "vector-square-minus"),
("vector-square-open", "vector-square-open"),
("vector-square-plus", "vector-square-plus"),
("vector-square-remove", "vector-square-remove"),
("vector-triangle", "vector-triangle"),
("vector-union", "vector-union"),
("venmo", "venmo"),
("vhs", "vhs"),
("vibrate", "vibrate"),
("vibrate-off", "vibrate-off"),
("video", "video"),
("video-2d", "video-2d"),
("video-3d", "video-3d"),
("video-3d-off", "video-3d-off"),
("video-3d-variant", "video-3d-variant"),
("video-4k-box", "video-4k-box"),
("video-account", "video-account"),
("video-box", "video-box"),
("video-box-off", "video-box-off"),
("video-check", "video-check"),
("video-check-outline", "video-check-outline"),
("video-high-definition", "video-high-definition"),
("video-image", "video-image"),
("video-input-antenna", "video-input-antenna"),
("video-input-component", "video-input-component"),
("video-input-hdmi", "video-input-hdmi"),
("video-input-scart", "video-input-scart"),
("video-input-svideo", "video-input-svideo"),
("video-marker", "video-marker"),
("video-marker-outline", "video-marker-outline"),
("video-minus", "video-minus"),
("video-minus-outline", "video-minus-outline"),
("video-off", "video-off"),
("video-off-outline", "video-off-outline"),
("video-outline", "video-outline"),
("video-plus", "video-plus"),
("video-plus-outline", "video-plus-outline"),
("video-stabilization", "video-stabilization"),
("video-switch", "video-switch"),
("video-switch-outline", "video-switch-outline"),
("video-vintage", "video-vintage"),
("video-wireless", "video-wireless"),
("video-wireless-outline", "video-wireless-outline"),
("view-agenda", "view-agenda"),
("view-agenda-outline", "view-agenda-outline"),
("view-array", "view-array"),
("view-array-outline", "view-array-outline"),
("view-carousel", "view-carousel"),
("view-carousel-outline", "view-carousel-outline"),
("view-column", "view-column"),
("view-column-outline", "view-column-outline"),
("view-comfy", "view-comfy"),
("view-comfy-outline", "view-comfy-outline"),
("view-compact", "view-compact"),
("view-compact-outline", "view-compact-outline"),
("view-dashboard", "view-dashboard"),
("view-dashboard-edit", "view-dashboard-edit"),
("view-dashboard-edit-outline", "view-dashboard-edit-outline"),
("view-dashboard-outline", "view-dashboard-outline"),
("view-dashboard-variant", "view-dashboard-variant"),
("view-dashboard-variant-outline", "view-dashboard-variant-outline"),
("view-day", "view-day"),
("view-day-outline", "view-day-outline"),
("view-gallery", "view-gallery"),
("view-gallery-outline", "view-gallery-outline"),
("view-grid", "view-grid"),
("view-grid-outline", "view-grid-outline"),
("view-grid-plus", "view-grid-plus"),
("view-grid-plus-outline", "view-grid-plus-outline"),
("view-headline", "view-headline"),
("view-list", "view-list"),
("view-list-outline", "view-list-outline"),
("view-module", "view-module"),
("view-module-outline", "view-module-outline"),
("view-parallel", "view-parallel"),
("view-parallel-outline", "view-parallel-outline"),
("view-quilt", "view-quilt"),
("view-quilt-outline", "view-quilt-outline"),
("view-sequential", "view-sequential"),
("view-sequential-outline", "view-sequential-outline"),
("view-split-horizontal", "view-split-horizontal"),
("view-split-vertical", "view-split-vertical"),
("view-stream", "view-stream"),
("view-stream-outline", "view-stream-outline"),
("view-week", "view-week"),
("view-week-outline", "view-week-outline"),
("vimeo", "vimeo"),
("vine", "vine"),
("violin", "violin"),
("virtual-reality", "virtual-reality"),
("virus", "virus"),
("virus-off", "virus-off"),
("virus-off-outline", "virus-off-outline"),
("virus-outline", "virus-outline"),
("vk", "vk"),
("vk-box", "vk-box"),
("vk-circle", "vk-circle"),
("vlc", "vlc"),
("voicemail", "voicemail"),
("volcano", "volcano"),
("volcano-outline", "volcano-outline"),
("volleyball", "volleyball"),
("volume", "volume"),
("volume-equal", "volume-equal"),
("volume-high", "volume-high"),
("volume-low", "volume-low"),
("volume-medium", "volume-medium"),
("volume-minus", "volume-minus"),
("volume-mute", "volume-mute"),
("volume-off", "volume-off"),
("volume-plus", "volume-plus"),
("volume-source", "volume-source"),
("volume-variant-off", "volume-variant-off"),
("volume-vibrate", "volume-vibrate"),
("vote", "vote"),
("vote-outline", "vote-outline"),
("vpn", "vpn"),
("vuejs", "vuejs"),
("vuetify", "vuetify"),
("walk", "walk"),
("wall", "wall"),
("wall-fire", "wall-fire"),
("wall-sconce", "wall-sconce"),
("wall-sconce-flat", "wall-sconce-flat"),
("wall-sconce-flat-outline", "wall-sconce-flat-outline"),
("wall-sconce-flat-variant", "wall-sconce-flat-variant"),
("wall-sconce-flat-variant-outline", "wall-sconce-flat-variant-outline"),
("wall-sconce-outline", "wall-sconce-outline"),
("wall-sconce-round", "wall-sconce-round"),
("wall-sconce-round-outline", "wall-sconce-round-outline"),
("wall-sconce-round-variant", "wall-sconce-round-variant"),
("wall-sconce-round-variant-outline", "wall-sconce-round-variant-outline"),
("wall-sconce-variant", "wall-sconce-variant"),
("wallet", "wallet"),
("wallet-giftcard", "wallet-giftcard"),
("wallet-membership", "wallet-membership"),
("wallet-outline", "wallet-outline"),
("wallet-plus", "wallet-plus"),
("wallet-plus-outline", "wallet-plus-outline"),
("wallet-travel", "wallet-travel"),
("wallpaper", "wallpaper"),
("wan", "wan"),
("wardrobe", "wardrobe"),
("wardrobe-outline", "wardrobe-outline"),
("warehouse", "warehouse"),
("washing-machine", "washing-machine"),
("washing-machine-alert", "washing-machine-alert"),
("washing-machine-off", "washing-machine-off"),
("watch", "watch"),
("watch-export", "watch-export"),
("watch-export-variant", "watch-export-variant"),
("watch-import", "watch-import"),
("watch-import-variant", "watch-import-variant"),
("watch-variant", "watch-variant"),
("watch-vibrate", "watch-vibrate"),
("watch-vibrate-off", "watch-vibrate-off"),
("water", "water"),
("water-alert", "water-alert"),
("water-alert-outline", "water-alert-outline"),
("water-boiler", "water-boiler"),
("water-boiler-alert", "water-boiler-alert"),
("water-boiler-auto", "water-boiler-auto"),
("water-boiler-off", "water-boiler-off"),
("water-check", "water-check"),
("water-check-outline", "water-check-outline"),
("water-circle", "water-circle"),
("water-minus", "water-minus"),
("water-minus-outline", "water-minus-outline"),
("water-off", "water-off"),
("water-off-outline", "water-off-outline"),
("water-opacity", "water-opacity"),
("water-outline", "water-outline"),
("water-percent", "water-percent"),
("water-percent-alert", "water-percent-alert"),
("water-plus", "water-plus"),
("water-plus-outline", "water-plus-outline"),
("water-polo", "water-polo"),
("water-pump", "water-pump"),
("water-pump-off", "water-pump-off"),
("water-remove", "water-remove"),
("water-remove-outline", "water-remove-outline"),
("water-sync", "water-sync"),
("water-thermometer", "water-thermometer"),
("water-thermometer-outline", "water-thermometer-outline"),
("water-well", "water-well"),
("water-well-outline", "water-well-outline"),
("waterfall", "waterfall"),
("watering-can", "watering-can"),
("watering-can-outline", "watering-can-outline"),
("watermark", "watermark"),
("wave", "wave"),
("waveform", "waveform"),
("waves", "waves"),
("waves-arrow-left", "waves-arrow-left"),
("waves-arrow-right", "waves-arrow-right"),
("waves-arrow-up", "waves-arrow-up"),
("waze", "waze"),
("weather-cloudy", "weather-cloudy"),
("weather-cloudy-alert", "weather-cloudy-alert"),
("weather-cloudy-arrow-right", "weather-cloudy-arrow-right"),
("weather-cloudy-clock", "weather-cloudy-clock"),
("weather-dust", "weather-dust"),
("weather-fog", "weather-fog"),
("weather-hail", "weather-hail"),
("weather-hazy", "weather-hazy"),
("weather-hurricane", "weather-hurricane"),
("weather-lightning", "weather-lightning"),
("weather-lightning-rainy", "weather-lightning-rainy"),
("weather-night", "weather-night"),
("weather-night-partly-cloudy", "weather-night-partly-cloudy"),
("weather-partly-cloudy", "weather-partly-cloudy"),
("weather-partly-lightning", "weather-partly-lightning"),
("weather-partly-rainy", "weather-partly-rainy"),
("weather-partly-snowy", "weather-partly-snowy"),
("weather-partly-snowy-rainy", "weather-partly-snowy-rainy"),
("weather-pouring", "weather-pouring"),
("weather-rainy", "weather-rainy"),
("weather-snowy", "weather-snowy"),
("weather-snowy-heavy", "weather-snowy-heavy"),
("weather-snowy-rainy", "weather-snowy-rainy"),
("weather-sunny", "weather-sunny"),
("weather-sunny-alert", "weather-sunny-alert"),
("weather-sunny-off", "weather-sunny-off"),
("weather-sunset", "weather-sunset"),
("weather-sunset-down", "weather-sunset-down"),
("weather-sunset-up", "weather-sunset-up"),
("weather-tornado", "weather-tornado"),
("weather-windy", "weather-windy"),
("weather-windy-variant", "weather-windy-variant"),
("web", "web"),
("web-box", "web-box"),
("web-cancel", "web-cancel"),
("web-check", "web-check"),
("web-clock", "web-clock"),
("web-minus", "web-minus"),
("web-off", "web-off"),
("web-plus", "web-plus"),
("web-refresh", "web-refresh"),
("web-remove", "web-remove"),
("web-sync", "web-sync"),
("webcam", "webcam"),
("webcam-off", "webcam-off"),
("webhook", "webhook"),
("webpack", "webpack"),
("webrtc", "webrtc"),
("wechat", "wechat"),
("weight", "weight"),
("weight-gram", "weight-gram"),
("weight-kilogram", "weight-kilogram"),
("weight-lifter", "weight-lifter"),
("weight-pound", "weight-pound"),
("whatsapp", "whatsapp"),
("wheel-barrow", "wheel-barrow"),
("wheelchair", "wheelchair"),
("wheelchair-accessibility", "wheelchair-accessibility"),
("whistle", "whistle"),
("whistle-outline", "whistle-outline"),
("white-balance-auto", "white-balance-auto"),
("white-balance-incandescent", "white-balance-incandescent"),
("white-balance-iridescent", "white-balance-iridescent"),
("white-balance-sunny", "white-balance-sunny"),
("widgets", "widgets"),
("widgets-outline", "widgets-outline"),
("wifi", "wifi"),
("wifi-alert", "wifi-alert"),
("wifi-arrow-down", "wifi-arrow-down"),
("wifi-arrow-left", "wifi-arrow-left"),
("wifi-arrow-left-right", "wifi-arrow-left-right"),
("wifi-arrow-right", "wifi-arrow-right"),
("wifi-arrow-up", "wifi-arrow-up"),
("wifi-arrow-up-down", "wifi-arrow-up-down"),
("wifi-cancel", "wifi-cancel"),
("wifi-check", "wifi-check"),
("wifi-cog", "wifi-cog"),
("wifi-lock", "wifi-lock"),
("wifi-lock-open", "wifi-lock-open"),
("wifi-marker", "wifi-marker"),
("wifi-minus", "wifi-minus"),
("wifi-off", "wifi-off"),
("wifi-plus", "wifi-plus"),
("wifi-refresh", "wifi-refresh"),
("wifi-remove", "wifi-remove"),
("wifi-settings", "wifi-settings"),
("wifi-star", "wifi-star"),
("wifi-strength-1", "wifi-strength-1"),
("wifi-strength-1-alert", "wifi-strength-1-alert"),
("wifi-strength-1-lock", "wifi-strength-1-lock"),
("wifi-strength-1-lock-open", "wifi-strength-1-lock-open"),
("wifi-strength-2", "wifi-strength-2"),
("wifi-strength-2-alert", "wifi-strength-2-alert"),
("wifi-strength-2-lock", "wifi-strength-2-lock"),
("wifi-strength-2-lock-open", "wifi-strength-2-lock-open"),
("wifi-strength-3", "wifi-strength-3"),
("wifi-strength-3-alert", "wifi-strength-3-alert"),
("wifi-strength-3-lock", "wifi-strength-3-lock"),
("wifi-strength-3-lock-open", "wifi-strength-3-lock-open"),
("wifi-strength-4", "wifi-strength-4"),
("wifi-strength-4-alert", "wifi-strength-4-alert"),
("wifi-strength-4-lock", "wifi-strength-4-lock"),
("wifi-strength-4-lock-open", "wifi-strength-4-lock-open"),
("wifi-strength-alert-outline", "wifi-strength-alert-outline"),
("wifi-strength-lock-open-outline", "wifi-strength-lock-open-outline"),
("wifi-strength-lock-outline", "wifi-strength-lock-outline"),
("wifi-strength-off", "wifi-strength-off"),
("wifi-strength-off-outline", "wifi-strength-off-outline"),
("wifi-strength-outline", "wifi-strength-outline"),
("wifi-sync", "wifi-sync"),
("wikipedia", "wikipedia"),
("wind-power", "wind-power"),
("wind-power-outline", "wind-power-outline"),
("wind-turbine", "wind-turbine"),
("wind-turbine-alert", "wind-turbine-alert"),
("wind-turbine-check", "wind-turbine-check"),
("window-close", "window-close"),
("window-closed", "window-closed"),
("window-closed-variant", "window-closed-variant"),
("window-maximize", "window-maximize"),
("window-minimize", "window-minimize"),
("window-open", "window-open"),
("window-open-variant", "window-open-variant"),
("window-restore", "window-restore"),
("window-shutter", "window-shutter"),
("window-shutter-alert", "window-shutter-alert"),
("window-shutter-auto", "window-shutter-auto"),
("window-shutter-cog", "window-shutter-cog"),
("window-shutter-open", "window-shutter-open"),
("window-shutter-settings", "window-shutter-settings"),
("windsock", "windsock"),
("wiper", "wiper"),
("wiper-wash", "wiper-wash"),
("wiper-wash-alert", "wiper-wash-alert"),
("wizard-hat", "wizard-hat"),
("wordpress", "wordpress"),
("wrap", "wrap"),
("wrap-disabled", "wrap-disabled"),
("wrench", "wrench"),
("wrench-check", "wrench-check"),
("wrench-check-outline", "wrench-check-outline"),
("wrench-clock", "wrench-clock"),
("wrench-clock-outline", "wrench-clock-outline"),
("wrench-cog", "wrench-cog"),
("wrench-cog-outline", "wrench-cog-outline"),
("wrench-outline", "wrench-outline"),
("wunderlist", "wunderlist"),
("xamarin", "xamarin"),
("xamarin-outline", "xamarin-outline"),
("xda", "xda"),
("xing", "xing"),
("xing-circle", "xing-circle"),
("xml", "xml"),
("xmpp", "xmpp"),
("y-combinator", "y-combinator"),
("yahoo", "yahoo"),
("yammer", "yammer"),
("yeast", "yeast"),
("yelp", "yelp"),
("yin-yang", "yin-yang"),
("yoga", "yoga"),
("youtube", "youtube"),
("youtube-gaming", "youtube-gaming"),
("youtube-studio", "youtube-studio"),
("youtube-subscription", "youtube-subscription"),
("youtube-tv", "youtube-tv"),
("yurt", "yurt"),
("z-wave", "z-wave"),
("zend", "zend"),
("zigbee", "zigbee"),
("zip-box", "zip-box"),
("zip-box-outline", "zip-box-outline"),
("zip-disk", "zip-disk"),
("zodiac-aquarius", "zodiac-aquarius"),
("zodiac-aries", "zodiac-aries"),
("zodiac-cancer", "zodiac-cancer"),
("zodiac-capricorn", "zodiac-capricorn"),
("zodiac-gemini", "zodiac-gemini"),
("zodiac-leo", "zodiac-leo"),
("zodiac-libra", "zodiac-libra"),
("zodiac-pisces", "zodiac-pisces"),
("zodiac-sagittarius", "zodiac-sagittarius"),
("zodiac-scorpio", "zodiac-scorpio"),
("zodiac-taurus", "zodiac-taurus"),
("zodiac-virgo", "zodiac-virgo"),
],
default="information-outline",
max_length=50,
verbose_name="Icon",
),
),
migrations.AlterField(
model_name="notification",
name="send_at",
field=models.DateTimeField(
default=django.utils.timezone.now, verbose_name="Send notification at"
),
),
migrations.AlterField(
model_name="oauthaccesstoken",
name="user",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="%(app_label)s_%(class)s",
to=settings.AUTH_USER_MODEL,
),
),
migrations.AlterField(
model_name="oauthapplication",
name="client_secret",
field=oauth2_provider.models.ClientSecretField(
blank=True,
db_index=True,
default=oauth2_provider.generators.generate_client_secret,
help_text="Hashed on Save. Copy it now if this is a new secret.",
max_length=255,
),
),
migrations.AlterField(
model_name="oauthapplication",
name="user",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="%(app_label)s_%(class)s",
to=settings.AUTH_USER_MODEL,
),
),
migrations.AlterField(
model_name="oauthgrant",
name="user",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="%(app_label)s_%(class)s",
to=settings.AUTH_USER_MODEL,
),
),
migrations.AlterField(
model_name="oauthidtoken",
name="user",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="%(app_label)s_%(class)s",
to=settings.AUTH_USER_MODEL,
),
),
migrations.AlterField(
model_name="oauthrefreshtoken",
name="user",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="%(app_label)s_%(class)s",
to=settings.AUTH_USER_MODEL,
),
),
migrations.AlterField(
model_name="personinvitation",
name="id",
field=models.BigAutoField(
auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
),
),
migrations.DeleteModel(
name="PersonalICalUrl",
),
] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/migrations/0048_delete_personalicalurl.py | 0048_delete_personalicalurl.py |
from re import match, sub
from django.apps import apps
from django.core.management.base import BaseCommand, CommandError
from aleksis.core.util.core_helpers import get_app_module
def camelcase(value: str) -> str:
"""Convert a string to camelcase."""
titled = value.replace("_", " ").title().replace(" ", "")
return titled[0].lower() + titled[1:]
class Command(BaseCommand):
help = "Convert Django URLs for an app into vue-router routes" # noqa
def add_arguments(self, parser):
parser.add_argument("app", type=str)
def handle(self, *args, **options):
app = options["app"]
app_camel_case = camelcase(app)
app_config = apps.get_app_config(app)
app_config_name = f"{app_config.__module__}.{app_config.__class__.__name__}"
# Import urls from app
urls = get_app_module(app_config_name, "urls")
if not urls:
raise CommandError(f"No url patterns found in app {app}")
urlpatterns = urls.urlpatterns
# Import menu from app and structure as dict by url name
menus = get_app_module(app_config_name, "menus")
menu_by_urls = {}
if "NAV_MENU_CORE" in menus.MENUS:
menu = menus.MENUS["NAV_MENU_CORE"]
menu_by_urls = {m["url"]: m for m in menu}
for menu_item in menu:
if "submenu" in menu_item:
for submenu_item in menu_item["submenu"]:
menu_by_urls[submenu_item["url"]] = submenu_item
for url in urlpatterns:
# Convert route name and url pattern to vue-router format
menu = menu_by_urls[url.name] if url.name in menu_by_urls else None
route_name = f"{app_camel_case}.{camelcase(url.name)}"
url_pattern = url.pattern._route
new_url_pattern_list = []
for url_pattern_part in url_pattern.split("/"):
if match(r"<[\w,:,*]*>", url_pattern_part):
url_pattern_part = sub(r"(<(?P<val>[\w,:,*]*)>)", r":\g<val>", url_pattern_part)
new_url_pattern_list.append(":" + url_pattern_part.split(":")[-1])
else:
new_url_pattern_list.append(url_pattern_part)
url_pattern = "/".join(new_url_pattern_list)
# Start building route
route = "{\n"
route += f' path: "{url_pattern}",\n'
route += (
' component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"),\n'
)
route += f' name: "{route_name}",\n'
if menu:
# Convert icon to Vuetify format
icon = None
if menu.get("vuetify_icon"):
icon = menu["vuetify_icon"]
elif menu.get("svg_icon"):
icon = menu["svg_icon"].replace(":", "-")
elif menu.get("icon"):
icon = "mdi-" + menu["icon"]
if icon:
icon = icon.replace("_", "-")
# Get permission for menu item
permission = None
if menu.get("validators"):
possible_validators = [
v
for v in menu["validators"]
if v[0] == "aleksis.core.util.predicates.permission_validator"
]
if possible_validators:
permission = possible_validators[0][1]
route += " meta: {\n"
route += " inMenu: true,\n"
route += f' titleKey: "{menu["name"]}", // Needs manual work\n'
if icon:
route += f' icon: "{icon}",\n'
if permission:
route += f' permission: "{permission}",\n'
route += " },\n"
route += "},"
print(route) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/management/commands/convert_urls_to_routes.py | convert_urls_to_routes.py |
import { appObjects } from "aleksisAppImporter";
import { notLoggedInValidator } from "./routeValidators";
const routes = [
{
path: "/account/login/",
name: "core.account.login",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
meta: {
inMenu: true,
icon: "mdi-login-variant",
titleKey: "accounts.login.menu_title",
validators: [notLoggedInValidator],
invalidate: "leave",
},
},
{
path: "/accounts/signup/",
name: "core.accounts.signup",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
meta: {
inMenu: true,
icon: "mdi-account-plus-outline",
titleKey: "accounts.signup.menu_title",
menuPermission: "core.signup_rule",
validators: [notLoggedInValidator],
invalidate: "leave",
},
},
{
path: "/invitations/code/enter/",
name: "core.invitations.enterCode",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
meta: {
inMenu: true,
icon: "mdi-key-outline",
titleKey: "accounts.invitation.accept_invitation.menu_title",
validators: [notLoggedInValidator],
permission: "core.invite_enabled",
},
},
{
path: "",
name: "dashboard",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
meta: {
inMenu: true,
icon: "mdi-home-outline",
titleKey: "dashboard.menu_title",
permission: "core.view_dashboard_rule",
},
},
{
path: "/people",
name: "core.people",
component: () => import("./components/Parent.vue"),
meta: {
inMenu: true,
titleKey: "people",
icon: "mdi-account-group-outline",
permission: "core.view_people_menu_rule",
},
children: [
{
path: "/persons",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.persons",
meta: {
inMenu: true,
titleKey: "person.menu_title",
icon: "mdi-account-outline",
permission: "core.view_persons_rule",
},
},
{
path: "/persons/create/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.createPerson",
},
{
path: "/persons/:id(\\d+)/",
component: () => import("./components/person/PersonOverview.vue"),
name: "core.personById",
props: true,
meta: {
titleKey: "person.page_title",
},
},
{
path: "/persons/:id(\\d+)/edit/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editPerson",
},
{
path: "/persons/:id(\\d+)/delete/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deletePerson",
},
{
path: "/persons/:id(\\d+)/invite/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.invitePerson",
},
{
path: "/groups",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.groups",
meta: {
inMenu: true,
titleKey: "group.menu_title",
icon: "mdi-account-multiple-outline",
permission: "core.view_groups_rule",
},
},
{
path: "/groups/create",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.createGroup",
},
{
path: "/groups/:id(\\d+)",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.group",
},
{
path: "/groups/:id(\\d+)/edit",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editGroup",
},
{
path: "/groups/:id(\\d+)/delete",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deleteGroup",
},
{
path: "/groups/group_types",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.groupTypes",
meta: {
inMenu: true,
titleKey: "group.group_type.menu_title",
icon: "mdi-shape-outline",
permission: "core.view_grouptypes_rule",
},
},
{
path: "/groups/group_types/create",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.createGroupType",
},
{
path: "/groups/group_types/:id(\\d+)/delete",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deleteGroupType,",
},
{
path: "/groups/group_types/:id(\\d+)/edit",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editGroupType",
},
{
path: "/groups/child_groups/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.groupsChildGroups",
meta: {
inMenu: true,
titleKey: "group.groups_and_child_groups",
icon: "mdi-account-multiple-plus-outline",
permission: "core.assign_child_groups_to_groups_rule",
},
},
{
path: "/groups/additional_fields",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.additionalFields",
meta: {
inMenu: true,
titleKey: "group.additional_field.menu_title",
icon: "mdi-palette-swatch-outline",
permission: "core.view_additionalfields_rule",
},
},
{
path: "/groups/additional_fields/:id(\\d+)/edit",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editAdditionalField,",
},
{
path: "/groups/additional_fields/create",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.createAdditionalField",
},
{
path: "/groups/additional_fields/:id(\\d+)/delete",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deleteAdditionalField",
},
{
path: "/invitations/send-invite",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.invite_person",
meta: {
inMenu: true,
titleKey: "accounts.invitation.invite_person.menu_title",
icon: "mdi-account-plus-outline",
permission: "core.invite_rule",
},
},
],
},
{
path: "#",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.administration",
meta: {
inMenu: true,
titleKey: "administration.menu_title",
icon: "mdi-security",
permission: "core.view_admin_menu_rule",
},
children: [
{
path: "/announcements/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.announcements",
meta: {
inMenu: true,
titleKey: "announcement.menu_title",
icon: "mdi-message-alert-outline",
permission: "core.view_announcements_rule",
},
},
{
path: "/announcements/create/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.addAnnouncement",
},
{
path: "/announcements/edit/:id(\\d+)/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editAnnouncement",
},
{
path: "/announcements/delete/:id(\\d+)/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deleteAnnouncement",
},
{
path: "/school_terms/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.school_terms",
meta: {
inMenu: true,
titleKey: "school_term.menu_title",
icon: "mdi-calendar-range-outline",
permission: "core.view_schoolterm_rule",
},
},
{
path: "/school_terms/create/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.create_school_term",
},
{
path: "/school_terms/:pk(\\d+)/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editSchoolTerm",
},
{
path: "/dashboard_widgets/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.dashboardWidgets",
meta: {
inMenu: true,
titleKey: "dashboard.dashboard_widget.menu_title",
icon: "mdi-view-dashboard-outline",
permission: "core.view_dashboardwidget_rule",
},
},
{
path: "/dashboard_widgets/:pk(\\d+)/edit/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editDashboardWidget",
},
{
path: "/dashboard_widgets/:pk(\\d+)/delete/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deleteDashboardWidget",
},
{
path: "/dashboard_widgets/:app/:model/new/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.createDashboardWidget",
},
{
path: "/dashboard_widgets/default/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editDefaultDashboard",
},
{
path: "/status/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.system_status",
meta: {
inMenu: true,
titleKey: "administration.system_status.menu_title",
icon: "mdi-power-settings",
permission: "core.view_system_status_rule",
},
},
{
path: "/preferences/site/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesSite",
meta: {
inMenu: true,
titleKey: "preferences.site.menu_title",
icon: "mdi-tune",
permission: "core.change_site_preferences_rule",
},
},
{
path: "/preferences/site/:pk(\\d+)/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesSiteByPk",
},
{
path: "/preferences/site/:pk(\\d+)/:section/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesSiteByPkSection",
},
{
path: "/preferences/site/:section/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesSiteSection",
},
{
path: "/data_checks/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.checkData",
meta: {
inMenu: true,
titleKey: "data_check.menu_title",
icon: "mdi-list-status",
permission: "core.view_datacheckresults_rule",
},
},
{
path: "/data_checks/run/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.runDataChecks",
},
{
path: "/data_checks/:pk(\\d+)/:solve_option/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.solveDataCheck",
},
{
path: "/permissions/global/user/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.managerUserGlobalPermissions",
meta: {
inMenu: true,
titleKey: "permissions.manage.menu_title",
icon: "mdi-shield-outline",
permission: "core.manage_permissions_rule",
},
},
{
path: "/permissions/global/group/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.manageGroupGlobalPermissions",
},
{
path: "/permissions/object/user/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.manageUserObjectPermissions",
},
{
path: "/permissions/object/group/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.manageGroupObjectPermissions",
},
{
path: "/permissions/global/user/:pk(\\d+)/delete/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deleteUserGlobalPermission,",
},
{
path: "/permissions/global/group/:pk(\\d+)/delete/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deleteGroupGlobalPermission",
},
{
path: "/permissions/object/user/:pk(\\d+)/delete/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deleteUserObjectPermission",
},
{
path: "/permissions/object/group/:pk(\\d+)/delete/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.deleteGroupObjectPermission",
},
{
path: "/permissions/assign/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.selectPermissionforAssign",
},
{
path: "/permissions/:pk(\\d+)/assign/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.assignPermission",
},
{
path: "/oauth/applications/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.oauthApplications",
meta: {
inMenu: true,
titleKey: "oauth.application.menu_title",
icon: "mdi-gesture-tap-hold",
permission: "core.view_oauthapplications_rule",
},
},
{
path: "/oauth/applications/register/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.registerOauthApplication,",
},
{
path: "/oauth/applications/:pk(\\d+)/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.oauthApplication",
},
{
path: "/oauth/applications/:pk(\\d+)/delete/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.delete_oauth2_application,",
},
{
path: "/oauth/applications/:pk(\\d+)/edit/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editOauthApplication",
},
{
path: "/admin/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.admin",
meta: {
inMenu: true,
titleKey: "administration.backend_admin.menu_title",
icon: "mdi-database-cog-outline",
permission: "core.view_django_admin_rule",
newTab: true,
},
},
],
},
{
path: "/impersonate/:uid(\\d+)/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "impersonate.impersonateByUserPk",
meta: {
invalidate: "leave",
},
},
// ACCOUNT MENU
{
path: "/impersonate/stop/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "impersonate.stop",
meta: {
invalidate: "leave",
},
},
{
path: "/person/",
component: () => import("./components/person/PersonOverview.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.person",
meta: {
inAccountMenu: true,
titleKey: "person.account_menu_title",
icon: "mdi-account-outline",
permission: "core.view_account_rule",
},
},
{
path: "/preferences/person/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesPerson",
meta: {
inAccountMenu: true,
titleKey: "preferences.person.menu_title",
icon: "$preferences",
permission: "core.change_account_preferences_rule",
},
},
{
path: "/preferences/person/:pk(\\d+)/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesPersonByPk",
},
{
path: "/preferences/person/:pk(\\d+)/:section/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesPersonByPkSection",
},
{
path: "/preferences/person/:section/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesPersonSection",
},
{
path: "/account/two_factor/",
component: () => import("./components/two_factor/TwoFactor.vue"),
name: "core.twoFactor",
meta: {
inAccountMenu: true,
titleKey: "accounts.two_factor.menu_title",
toolbarTitle: "accounts.two_factor.title",
icon: "mdi-two-factor-authentication",
permission: "core.manage_2fa_rule",
},
},
{
path: "/account/two_factor/setup/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.twoFactor.setup",
},
{
path: "/account/two_factor/add/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.twoFactor.add",
},
{
path: "/account/two_factor/qrcode/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.twoFactor.qrcode",
},
{
path: "/account/two_factor/setup/complete/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.twoFactor.setupComplete",
},
{
path: "/account/two_factor/backup/tokens/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.twoFactor.backupTokens",
},
{
path: "/account/two_factor/backup/phone/register",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.twoFactor.registerBackupPhone",
},
{
path: "/account/two_factor/disable/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.twoFactor.disable",
},
{
path: "/accounts/password/change/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.changePassword",
meta: {
inAccountMenu: true,
titleKey: "accounts.change_password.menu_title",
icon: "mdi-form-textbox-password",
permission: "core.change_password_rule",
},
},
{
path: "/accounts/password/set/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.setPassword",
},
{
path: "/accounts/password/reset/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.resetPassword",
},
{
path: "/accounts/password/reset/done/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.resetPasswordDone",
},
{
path: "/accounts/password/reset/key/:key/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.resetPasswordConfirm",
},
{
path: "/accounts/password/reset/key/done/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.resetPasswordConfirmDone",
},
{
path: "/accounts/inactive/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.inactive",
},
{
path: "/accounts/email/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.email",
},
{
path: "/accounts/confirm-email/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.confirmEmail",
},
{
path: "/accounts/confirm-email/:key/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.confirmEmailKey",
},
{
path: "/accounts/social/login/cancelled/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.socialLoginCancelled",
},
{
path: "/accounts/social/login/error/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.socialLoginError",
},
{
path: "/accounts/social/signup/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.socialSignup",
},
{
path: "/accounts/social/connections/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.socialConnections",
meta: {
inAccountMenu: true,
titleKey: "accounts.social_connections.menu_title",
icon: "mdi-earth",
permission: "core.manage_social_connections_rule",
},
},
{
path: "/oauth/authorized_tokens/",
component: () =>
import(
"./components/authorized_oauth_applications/AuthorizedApplications.vue"
),
name: "core.oauth.authorizedTokens",
meta: {
inAccountMenu: true,
titleKey: "oauth.authorized_application.menu_title",
toolbarTitle: "oauth.authorized_application.title",
icon: "mdi-gesture-tap-hold",
permission: "core.manage_authorized_tokens_rule",
},
},
{
path: "/oauth/authorized_tokens/:pk(\\d+)/delete/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.oauth.deleteAuthorizedToken",
},
{
path: "/accounts/logout/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.accounts.logout",
meta: {
inAccountMenu: true,
titleKey: "accounts.logout.menu_title",
icon: "mdi-logout-variant",
permission: "core.logout_rule",
divider: true,
invalidate: "leave",
},
},
{
path: "/invitations/code/generate",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.generate_invitation_code",
},
{
path: "/invitations/disabled",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.invite_disabled",
},
{
path: "/dashboard/edit/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.editDashboard",
},
{
path: "/preferences/group/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesGroup",
},
{
path: "/preferences/group/:pk(\\d+)/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesGroupByPk",
},
{
path: "/preferences/group/:pk(\\d+)/:section/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesGroupByPkSection",
},
{
path: "/preferences/group/:section/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.preferencesGroupSection",
},
{
path: "/health/pdf/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.testPdf",
},
{
path: "/pdfs/:id",
component: () => import("./components/pdf/DownloadPDF.vue"),
name: "core.redirectToPdfUrl",
},
{
path: "/search/",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.haystack_search",
},
{
path: "/celery_progress/:taskId",
component: () => import("./components/celery_progress/CeleryProgress.vue"),
props: true,
name: "core.celery_progress",
},
{
path: "/about",
component: () => import("./components/about/About.vue"),
name: "core.about",
meta: {
titleKey: "about.page_title",
},
},
{
path: "/invitations/accept-invite/:code",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "invitations.accept_invite",
},
];
// This imports all known AlekSIS app entrypoints
// The list is generated by util/frontent_helpers.py and passed to Vite,
// which aliases the app package names into virtual JavaScript modules
// and generates importing code at bundle time.
for (const [appName, appRoutes] of Object.entries(appObjects)) {
routes.push({
...appRoutes,
path: `/app/${appName}`,
component: () => import("./components/Parent.vue"),
name: `${appName}`,
});
}
export default routes; | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/frontend/routes.js | routes.js |
import Vue from "vue";
import Vuetify from "@/vuetify";
import VueI18n from "@/vue-i18n";
import VueRouter from "@/vue-router";
import VueApollo from "@/vue-apollo";
import VueCookies from "@/vue-cookies";
import AleksisVue from "./plugins/aleksis.js";
console.info("🎒 Welcome to AlekSIS®, the Free School Information System!");
console.info(
"AlekSIS® is Free Software, licenced under the EUPL, version 1.2 or later, by Teckids e.V. (Bonn, Germany)"
);
// Install the AleksisVue plugin first and let it do early setup
Vue.use(AleksisVue);
Vue.$registerGlobalComponents();
// Third-party plugins
Vue.use(Vuetify);
Vue.use(VueI18n);
Vue.use(VueRouter);
Vue.use(VueApollo);
Vue.use(VueCookies);
// All of these imports yield config objects to be passed to the plugin constructors
import vuetifyOpts from "./app/vuetify.js";
import i18nOpts from "./app/i18n.js";
import routerOpts from "./app/router.js";
import apolloOpts from "./app/apollo.js";
const i18n = new VueI18n({
locale: Vue.$cookies.get("django_language") || navigator.language || "en",
...i18nOpts,
});
const vuetify = new Vuetify({
lang: {
current: Vue.$cookies.get("django_language")
? Vue.$cookies.get("django_language")
: "en",
t: (key, ...params) => i18n.t(key, params),
},
...vuetifyOpts,
});
const router = new VueRouter(routerOpts);
const apolloProvider = new VueApollo(apolloOpts);
// Let AlekSIS plugin initialise Sentry
Vue.$configureSentry(router);
// Parent component rendering the UI and all features outside the specific pages
import App from "./components/app/App.vue";
const app = new Vue({
el: "#app",
apolloProvider,
vuetify: vuetify,
render: (h) => h(App),
data: () => ({
showCacheAlert: false,
contentLoading: true,
offline: false,
backgroundActive: true,
invalidation: false,
snackbarItems: [],
toolbarTitle: "AlekSIS®",
permissions: [],
permissionNames: [],
}),
computed: {
matchedComponents() {
if (this.$route.matched.length > 0) {
return this.$route.matched.map(
(route) => route.components.default.name
);
}
return [];
},
isLegacyBaseTemplate() {
return this.matchedComponents.includes("LegacyBaseTemplate");
},
},
router,
i18n,
});
// Late setup for some plugins handed off to out ALeksisVue plugin
app.$loadVuetifyMessages();
app.$loadAppMessages();
app.$setupNavigationGuards(); | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/frontend/index.js | index.js |
import { appMessages } from "aleksisAppImporter";
import aleksisMixin from "../mixins/aleksis.js";
import * as langs from "@/vuetify/src/locale";
console.debug("Defining AleksisVue plugin");
const AleksisVue = {};
AleksisVue.install = function (Vue) {
/*
* The browser title when the app was loaded.
*
* Thus, it is injected from Django in the vue_index template.
*/
Vue.$pageBaseTitle = document.title;
Vue.$aleksisFrontendSettings = JSON.parse(
document.getElementById("frontend_settings").textContent
);
/**
* Configure Sentry if desired.
*
* It depends on Sentry settings being passed as a DOM object by Django
* in the vue_index template.
*/
Vue.$configureSentry = function (router) {
if (Vue.$aleksisFrontendSettings.sentry.enabled) {
import("../app/sentry.js").then((mod) => {
mod.default.Sentry.init({
Vue,
dsn: Vue.$aleksisFrontendSettings.sentry.dsn,
environment: Vue.$aleksisFrontendSettings.sentry.environment,
tracesSampleRate:
Vue.$aleksisFrontendSettings.sentry.traces_sample_rate,
logError: true,
integrations: [
new mod.default.BrowserTracing({
routingInstrumentation:
mod.default.Sentry.vueRouterInstrumentation(router),
}),
],
});
});
}
};
/**
* Register all global components that shall be reusable by apps.
*/
Vue.$registerGlobalComponents = function () {
Vue.component("MessageBox", () =>
import("../components/generic/MessageBox.vue")
);
Vue.component("SmallContainer", () =>
import("../components/generic/SmallContainer.vue")
);
Vue.component("BackButton", () =>
import("../components/generic/BackButton.vue")
);
Vue.component("AvatarClickbox", () =>
import("../components/generic/AvatarClickbox.vue")
);
Vue.component("DetailView", () =>
import("../components/generic/DetailView.vue")
);
Vue.component("ListView", () =>
import("../components/generic/ListView.vue")
);
Vue.component("ButtonMenu", () =>
import("../components/generic/ButtonMenu.vue")
);
Vue.component("ErrorPage", () => import("../components/app/ErrorPage.vue"));
};
/**
* Set the page title.
*
* This will automatically add the base title discovered at app loading time.
*
* @param {string} title Specific title to set, or null.
* @param {Object} route Route to discover title from, or null.
*/
Vue.prototype.$setPageTitle = function (title, route) {
let titleParts = [];
if (title) {
titleParts.push(title);
} else {
if (!route) {
route = this.$route;
}
if (route.meta.titleKey) {
titleParts.push(this.$t(route.meta.titleKey));
}
}
titleParts.push(Vue.$pageBaseTitle);
const newTitle = titleParts.join(" – ");
console.debug(`Setting page title: ${newTitle}`);
document.title = newTitle;
};
/**
* Set the toolbar title visible on the page.
*
* This will automatically add the base title discovered at app loading time.
*
* @param {string} title Specific title to set, or null.
* @param {Object} route Route to discover title from, or null.
*/
Vue.prototype.$setToolBarTitle = function (title, route) {
let newTitle;
if (title) {
newTitle = title;
} else {
if (!route) {
route = this.$route;
}
if (route.meta.toolbarTitle) {
newTitle = this.$t(route.meta.toolbarTitle);
}
}
newTitle = newTitle || Vue.$pageBaseTitle;
console.debug(`Setting toolbar title: ${newTitle}`);
this.$root.toolbarTitle = newTitle;
};
/**
* Load i18n messages from all known AlekSIS apps.
*/
Vue.prototype.$loadAppMessages = function () {
for (const messages of Object.values(appMessages)) {
for (let locale in messages) {
this.$i18n.mergeLocaleMessage(locale, messages[locale]);
}
}
};
/**
* Load vuetifys built-in translations
*/
Vue.prototype.$loadVuetifyMessages = function () {
for (const [locale, messages] of Object.entries(langs)) {
this.$i18n.mergeLocaleMessage(locale, { $vuetify: messages });
}
};
/**
* Invalidate state and force reload from server.
*
* Mostly useful after the user context changes by login/logout/impersonate.
*/
Vue.prototype.$invalidateState = function () {
console.info("Invalidating application state");
this.invalidation = true;
this.$apollo
.getClient()
.resetStore()
.then(
() => {
console.info("GraphQL cache cleared");
this.invalidation = false;
},
(error) => {
console.error("Could not clear GraphQL cache:", error);
this.invalidation = false;
}
);
};
/**
* Add navigation guards to account for global loading state and page titles.
*/
Vue.prototype.$setupNavigationGuards = function () {
const vm = this;
// eslint-disable-next-line no-unused-vars
this.$router.afterEach((to, from, next) => {
console.debug("Setting new page title due to route change");
vm.$setPageTitle(null, to);
vm.$setToolBarTitle(null, to);
});
// eslint-disable-next-line no-unused-vars
this.$router.beforeEach((to, from, next) => {
vm.contentLoading = true;
next();
});
// eslint-disable-next-line no-unused-vars
this.$router.afterEach((to, from) => {
if (vm.isLegacyBaseTemplate) {
// Skip resetting loading state for legacy pages
// as they are probably not finished with loading yet
// LegacyBaseTemplate will reset the loading state later
return;
}
vm.contentLoading = false;
});
// eslint-disable-next-line no-unused-vars
this.$router.beforeEach((to, from, next) => {
if (from.meta.invalidate === "leave" || to.meta.invalidate === "enter") {
console.debug("Route requests to invalidate state");
vm.$invalidateState();
}
next();
});
};
// Add default behaviour for all components
Vue.mixin(aleksisMixin);
};
export default AleksisVue; | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/frontend/plugins/aleksis.js | aleksis.js |
import gqlCustomMenu from "../components/app/customMenu.graphql";
import permissionsMixin from "./permissions.js";
/**
* Vue mixin containing menu generation code.
*
* Only used by main App component, but factored out for readability.
*/
const menusMixin = {
mixins: [permissionsMixin],
data() {
return {
footerMenu: null,
sideNavMenu: null,
accountMenu: null,
};
},
methods: {
getPermissionNames() {
let permArray = [];
for (const route of this.$router.getRoutes()) {
if (route.meta) {
if (
route.meta["permission"] &&
!(route.meta["permission"] in permArray)
) {
permArray.push(route.meta["permission"]);
}
if (
route.meta["menuPermission"] &&
!(route.meta["menuPermission"] in permArray)
) {
permArray.push(route.meta["menuPermission"]);
}
}
}
this.addPermissions(permArray);
},
buildMenu(routes, menuKey) {
let menu = {};
// Top-level entries
for (const route of routes) {
if (
route.name &&
route.meta &&
route.meta[menuKey] &&
!route.parent &&
(route.meta.menuPermission
? this.checkPermission(route.meta.menuPermission)
: route.meta.permission
? this.checkPermission(route.meta.permission)
: true) &&
(route.meta.validators
? this.checkValidators(route.meta.validators)
: true) &&
!route.meta.hide
) {
let menuItem = {
...route.meta,
name: route.name,
path: route.path,
subMenu: [],
};
menu[menuItem.name] = menuItem;
}
}
// Sub menu entries
for (const route of routes) {
if (
route.name &&
route.meta &&
route.meta[menuKey] &&
route.parent &&
route.parent.name &&
route.parent.name in menu &&
(route.meta.menuPermission
? this.checkPermission(route.meta.menuPermission)
: route.meta.permission
? this.checkPermission(route.meta.permission)
: true) &&
(route.meta.validators
? this.checkValidators(route.meta.validators)
: true) &&
!route.meta.hide
) {
let menuItem = {
...route.meta,
name: route.name,
path: route.path,
subMenu: [],
};
menu[route.parent.name].subMenu.push(menuItem);
}
}
return Object.values(menu);
},
checkValidators(validators) {
for (const validator of validators) {
if (!validator(this.whoAmI)) {
return false;
}
}
return true;
},
buildMenus() {
this.accountMenu = this.buildMenu(
this.$router.getRoutes(),
"inAccountMenu"
);
this.sideNavMenu = this.buildMenu(this.$router.getRoutes(), "inMenu");
},
},
apollo: {
footerMenu: {
query: gqlCustomMenu,
variables() {
return {
name: "footer",
};
},
update: (data) => data.customMenuByName,
},
},
mounted() {
this.$router.onReady(this.getPermissionNames);
this.buildMenus();
},
};
export default menusMixin; | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/frontend/mixins/menus.js | menus.js |
import gqlDynamicRoutes from "../components/app/dynamicRoutes.graphql";
/**
* Vue mixin containing code getting dynamically added routes from other apps.
*
* Only used by main App component, but factored out for readability.
*/
const routesMixin = {
data() {
return {
dynamicRoutes: null,
};
},
apollo: {
dynamicRoutes: {
query: gqlDynamicRoutes,
pollInterval: 30000,
},
},
watch: {
dynamicRoutes: {
handler(newDynamicRoutes) {
for (const route of newDynamicRoutes) {
if (route) {
console.debug("Adding new dynamic route:", route.routeName);
let routeEntry = {
path: route.routePath,
name: route.routeName,
component: () => import("../components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
meta: {
inMenu: route.displaySidenavMenu,
inAccountMenu: route.displayAccountMenu,
icon: route.menuIcon,
rawTitleString: route.menuTitle,
menuPermission: route.menuPermission,
permission: route.routePermission,
newTab: route.menuNewTab,
dynamic: true,
hide: false,
},
};
if (route.parentRouteName) {
this.$router.addRoute(route.parentRouteName, routeEntry);
} else {
this.$router.addRoute(routeEntry);
}
}
}
for (const route of this.$router
.getRoutes()
.filter((r) => r.meta.dynamic && !r.meta.hide)) {
if (
!(newDynamicRoutes.map((r) => r.routeName).indexOf(route.name) > -1)
) {
let hiddenRoute = { ...route, meta: { ...route.meta, hide: true } };
this.$router.addRoute(hiddenRoute);
}
}
this.getPermissionNames();
this.buildMenus();
},
deep: true,
},
},
};
export default routesMixin; | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/frontend/mixins/routes.js | routes.js |
import gqlPing from "../components/app/ping.graphql";
/**
* Mixin for handling of offline state / background queries.
*
* This handles three scenarios:
* - The navigator reports that it is in offline mode
* - The global offline flag was set due to network errors from queries
* - The navigator reports the page to be invisible
*
* The main goal is to save bandwidth, energy and server load in error
* conditions, or when the page is not in focus. This is achieved by a
* fallback strategy, where all background queries are stopped in offline
* state, and only a ping query is sent once the navigator reports itself
* as online and the app gets into focus. Once this ping query is successful,
* background activity is resumed.
*/
const offlineMixin = {
data() {
return {
ping: null,
};
},
mounted() {
this.safeAddEventListener(window, "online", () => {
console.info("Navigator changed status to online.");
this.checkOfflineState();
});
this.safeAddEventListener(window, "offline", () => {
console.info("Navigator changed status to offline.");
this.checkOfflineState();
});
this.safeAddEventListener(document, "visibilitychange", () => {
console.info("Visibility changed status to", document.visibilityState);
this.checkOfflineState();
});
},
methods: {
checkOfflineState() {
if (navigator.onLine && document.visibilityState === "visible") {
console.info("Resuming background activity");
this.$root.backgroundActive = true;
} else {
console.info("Pausing background activity");
this.$root.backgroundActive = false;
}
},
},
apollo: {
ping: {
query: gqlPing,
variables: () => {
return {
payload: Date.now().toString(),
};
},
pollInterval: 1000,
skip: (component) => {
// We only want to run this query when background activity is on and we are reported offline
return !(component.$root.backgroundActive && component.$root.offline);
},
},
},
watch: {
ping() {
console.info("Pong received, clearing offline state");
this.$root.offline = false;
},
},
};
export default offlineMixin; | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/frontend/mixins/offline.js | offline.js |
import { ApolloClient, from } from "@/apollo-boost";
import { RetryLink } from "@/apollo-link-retry";
import { persistCache, LocalStorageWrapper } from "@/apollo3-cache-persist";
import { InMemoryCache } from "@/apollo-cache-inmemory";
import { BatchHttpLink } from "@/apollo-link-batch-http";
// Cache for GraphQL query results in memory and persistent across sessions
const cache = new InMemoryCache();
await persistCache({
cache: cache,
storage: new LocalStorageWrapper(window.localStorage),
});
/**
* Construct the GraphQL endpoint URI.
*
* @returns The URI of the GraphQL endpoint on the AlekSIS server
*/
function getGraphqlURL() {
const settings = JSON.parse(
document.getElementById("frontend_settings").textContent
);
const base = settings.urls.base || window.location.origin;
return new URL(settings.urls.graphql, base);
}
// Define Apollo links for handling query operations.
const links = [
// Automatically retry failed queries
new RetryLink(),
// Finally, the HTTP link to the real backend (Django)
new BatchHttpLink({
uri: getGraphqlURL(),
batchInterval: 200,
batchDebounce: true,
}),
];
/** Upstream Apollo GraphQL client */
const apolloClient = new ApolloClient({
cache,
shouldBatch: true,
link: from(links),
});
const apolloOpts = {
defaultClient: apolloClient,
defaultOptions: {
$query: {
skip: function (vm, queryKey) {
if (queryKey in vm.$_apollo.queries) {
// We only want to run this query when background activity is on and we are not reported offline
return !!(
vm.$_apollo.queries[queryKey].options.pollInterval &&
(!vm.$root.backgroundActive || vm.$root.offline)
);
}
return false;
},
error: ({ graphQLErrors, networkError }, vm) => {
if (graphQLErrors) {
for (let err of graphQLErrors) {
console.error(
"GraphQL query error in query",
err.path.join("."),
":",
err.message
);
}
// Add a snackbar on all errors returned by the GraphQL endpoint
// If App is offline, don't add snackbar since only the ping query is active
if (!vm.$root.offline && !vm.$root.invalidation) {
vm.$root.snackbarItems.push({
id: crypto.randomUUID(),
timeout: 5000,
messageKey: "graphql.snackbar_error_message",
color: "red",
});
}
}
if (networkError && !vm.$root.invalidation) {
// Set app offline globally on network errors
// This will cause the offline logic to kick in, starting a ping check or
// similar recovery strategies depending on the app/navigator state
console.error("Network error:", networkError);
console.error(
"Network error during GraphQL query, setting offline state"
);
vm.$root.offline = true;
}
},
fetchPolicy: "cache-and-network",
},
},
};
export default apolloOpts; | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/frontend/app/apollo.js | apollo.js |
from functools import wraps
from numbers import Number
from typing import Callable, Generator, Iterable, Optional, Sequence, Union
from django.apps import apps
from django.contrib import messages
from django.http import HttpRequest, HttpResponseRedirect
from celery.result import AsyncResult
from celery_progress.backend import PROGRESS_STATE, AbstractProgressRecorder
from ..celery import app
from ..tasks import send_notification_for_done_task
class ProgressRecorder(AbstractProgressRecorder):
"""Track the progress of a Celery task and give data to the frontend.
This recorder provides the functions `set_progress` and `add_message`
which can be used to track the status of a Celery task.
How to use
----------
1. Write a function and include tracking methods
::
from django.contrib import messages
from aleksis.core.util.celery_progress import recorded_task
@recorded_task
def do_something(foo, bar, recorder, baz=None):
# ...
recorder.set_progress(total=len(list_with_data))
for i, item in enumerate(list_with_data):
# ...
recorder.set_progress(i+1)
# ...
recorder.add_message(messages.SUCCESS, "All data were imported successfully.")
You can also use `recorder.iterate` to simplify iterating and counting.
2. Track progress in view:
::
def my_view(request):
context = {}
# ...
result = do_something.delay(foo, bar, baz=baz)
# Render progress view
return render_progress_page(
request,
result,
title=_("Progress: Import data"),
back_url=reverse("index"),
progress_title=_("Import objects …"),
success_message=_("The import was done successfully."),
error_message=_("There was a problem while importing data."),
)
Please take a look at the documentation of ``render_progress_page``
to get all available options.
"""
def __init__(self, task):
self.task = task
self._messages = []
self._current = 0
self._total = 100
def iterate(self, data: Union[Iterable, Sequence], total: Optional[int] = None) -> Generator:
"""Iterate over a sequence or iterable, updating progress on the move.
::
@recorded_task
def do_something(long_list, recorder):
for item in recorder.iterate(long_list):
do_something_with(item)
:param data: A sequence (tuple, list, set,...) or an iterable
:param total: Total number of items, in case data does not support len()
"""
if total is None and hasattr(data, "__len__"):
total = len(data)
else:
raise TypeError("No total value passed, and data does not support len()")
for current, item in enumerate(data):
self.set_progress(current, total)
yield item
def set_progress(
self,
current: Optional[Number] = None,
total: Optional[Number] = None,
description: Optional[str] = None,
level: int = messages.INFO,
):
"""Set the current progress in the frontend.
The progress percentage is automatically calculated in relation to self.total.
:param current: The number of processed items; relative to total, default unchanged
:param total: The total number of items (or 100 if using a percentage), default unchanged
:param description: A textual description, routed to the frontend as an INFO message
"""
if current is not None:
self._current = current
if total is not None:
self._total = total
percent = 0
if self._total > 0:
percent = self._current / self._total * 100
if description is not None:
self._messages.append((level, description))
self.task.update_state(
state=PROGRESS_STATE,
meta={
"current": self._current,
"total": self._total,
"percent": percent,
"messages": self._messages,
},
)
def add_message(self, level: int, message: str) -> None:
"""Show a message in the progress frontend.
This method is a shortcut for set_progress with no new progress arguments,
passing only the message and level as description.
:param level: The message level (default levels from django.contrib.messages)
:param message: The actual message (should be translated)
"""
self.set_progress(description=message, level=level)
def recorded_task(orig: Optional[Callable] = None, **kwargs) -> Union[Callable, app.Task]:
"""Create a Celery task that receives a ProgressRecorder.
Returns a Task object with a wrapper that passes the recorder instance
as the recorder keyword argument.
"""
def _real_decorator(orig: Callable) -> app.Task:
@wraps(orig)
def _inject_recorder(task, *args, **kwargs):
recorder = ProgressRecorder(task)
orig(*args, **kwargs, recorder=recorder)
# Start notification task to ensure
# that the user is informed about the result in any case
send_notification_for_done_task.delay(task.request.id)
return recorder._messages
# Force bind to True because _inject_recorder needs the Task object
kwargs["bind"] = True
return app.task(_inject_recorder, **kwargs)
if orig and not kwargs:
return _real_decorator(orig)
return _real_decorator
def render_progress_page(
request: HttpRequest,
task_result: AsyncResult,
title: str,
progress_title: str,
success_message: str,
error_message: str,
back_url: Optional[str] = None,
redirect_on_success_url: Optional[str] = None,
button_title: Optional[str] = None,
button_url: Optional[str] = None,
button_icon: Optional[str] = None,
context: Optional[dict] = None,
):
"""Show a page to track the progress of a Celery task using a ``ProgressRecorder``.
:param task_result: The ``AsyncResult`` of the task to track
:param title: The title of the progress page
:param progress_title: The text shown under the progress bar
:param success_message: The message shown on task success
:param error_message: The message shown on task failure
:param back_url: The URL for the back button (leave empty to disable back button)
:param redirect_on_success_url: The URL to redirect on task success
:param button_title: The label for a button shown on task success
(leave empty to not show a button)
:param button_url: The URL for the button
:param button_icon: The icon for the button (leave empty to not show an icon)
:param context: Additional context for the progress page
"""
if not context:
context = {}
# Create TaskUserAssignment to track permissions on this task
TaskUserAssignment = apps.get_model("core", "TaskUserAssignment")
assignment = TaskUserAssignment.create_for_task_id(task_result.task_id, request.user)
assignment.title = title
assignment.back_url = back_url or ""
assignment.progress_title = progress_title or ""
assignment.error_message = error_message or ""
assignment.success_message = success_message or ""
assignment.redirect_on_success_url = redirect_on_success_url or ""
assignment.additional_button_title = button_title or ""
assignment.additional_button_url = button_url or ""
assignment.additional_button_icon = button_icon or ""
assignment.save()
return HttpResponseRedirect(request.build_absolute_uri(assignment.get_absolute_url())) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/celery_progress.py | celery_progress.py |
from typing import Optional
from django.contrib.auth.backends import ModelBackend
from django.contrib.auth.models import User
from django.db.models import Model
from django.http import HttpRequest
from django_otp import user_has_device
from guardian.backends import ObjectPermissionBackend
from guardian.shortcuts import get_objects_for_user
from rules import predicate
from ..mixins import ExtensibleModel
from ..models import Group
from .core_helpers import get_content_type_by_perm, get_site_preferences
from .core_helpers import has_person as has_person_helper
from .core_helpers import queryset_rules_filter
def permission_validator(request: HttpRequest, perm: str) -> bool:
"""Check whether the request user has a permission."""
if request.user:
return request.user.has_perm(perm)
return False
def check_global_permission(user: User, perm: str) -> bool:
"""Check whether a user has a global permission."""
return ModelBackend().has_perm(user, perm)
def check_object_permission(
user: User, perm: str, obj: Model, checker_obj: Optional[ExtensibleModel] = None
) -> bool:
"""Check whether a user has a permission on an object.
You can provide a custom ``ObjectPermissionChecker`` for prefetching object permissions
by annotating an extensible model with ``set_object_permission_checker``.
This can be the provided object (``obj``) or a special object
which is only used to get the checker class (``checker_obj``).
"""
if not checker_obj:
checker_obj = obj
if hasattr(checker_obj, "_permission_checker"):
return checker_obj._permission_checker.has_perm(perm, obj)
return ObjectPermissionBackend().has_perm(user, perm, obj)
def has_global_perm(perm: str):
"""Build predicate which checks whether a user has a global permission."""
name = f"has_global_perm:{perm}"
@predicate(name)
def fn(user: User) -> bool:
return check_global_permission(user, perm)
return fn
def has_object_perm(perm: str):
"""Build predicate which checks whether a user has a permission on a object."""
name = f"has_global_perm:{perm}"
@predicate(name)
def fn(user: User, obj: Model) -> bool:
if not obj:
return False
return check_object_permission(user, perm, obj)
return fn
def has_any_object(perm: str, klass):
"""Check if has any object.
Build predicate which checks whether a user has access
to objects with the provided permission or rule.
Differentiates between object-related permissions and rules.
"""
name = f"has_any_object:{perm}"
@predicate(name)
def fn(user: User) -> bool:
ct_perm = get_content_type_by_perm(perm)
# In case an object-related permission with the same ContentType class as the given class
# is passed, the optimized django-guardian get_objects_for_user function is used.
if ct_perm and ct_perm.model_class() == klass:
return get_objects_for_user(user, perm, klass).exists()
# In other cases, it is checked for each object of the given model whether the current user
# fulfills the given rule.
else:
return queryset_rules_filter(user, klass.objects.all(), perm).exists()
return fn
def is_site_preference_set(section: str, pref: str):
"""Check the boolean value of a given site preference."""
name = f"check_site_preference:{section}__{pref}"
@predicate(name)
def fn() -> bool:
return bool(get_site_preferences()[f"{section}__{pref}"])
return fn
@predicate
def has_person(user: User) -> bool:
"""Predicate which checks whether a user has a linked person."""
return has_person_helper(user)
@predicate
def is_anonymous(user: User) -> bool:
"""Predicate which checks whether a user is anonymous."""
return user.is_anonymous
@predicate
def is_current_person(user: User, obj: Model) -> bool:
"""Predicate which checks if the provided object is the person linked to the user object."""
return user.person == obj
@predicate
def is_group_owner(user: User, group: Group) -> bool:
"""Predicate which checks if the user is a owner of the provided group."""
return user.person in group.owners.all()
@predicate
def is_group_member(user: User, group: Group) -> bool:
"""Predicate which checks if the user is a member of the provided group."""
return user.person in group.members.all()
@predicate
def is_notification_recipient(user: User, obj: Model) -> bool:
"""Check if is a notification recipient.
Predicate which checks whether the recipient of the
notification a user wants to mark read is this user.
"""
return user == obj.recipient.user
def contains_site_preference_value(section: str, pref: str, value: str):
"""Check if given site preference contains a value."""
name = f"check_site_preference_value:{section}__{pref}"
@predicate(name)
def fn() -> bool:
return bool(value in get_site_preferences()[f"{section}__{pref}"])
return fn
@predicate
def has_activated_2fa(user: User) -> bool:
"""Check if the user has activated two-factor authentication."""
return user_has_device(user)
@predicate
def is_assigned_to_current_person(user: User, obj: Model) -> bool:
"""Check if the object is assigned to the current person."""
return getattr(obj, "person", None) == user.person
@predicate
def is_own_celery_task(user: User, obj: Model) -> bool:
"""Check if the celery task is owned by the current user."""
return obj.user == user | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/predicates.py | predicates.py |
import logging
from importlib import metadata
from typing import TYPE_CHECKING, Any, Optional, Sequence
import django.apps
from django.contrib.auth.signals import user_logged_in, user_logged_out
from django.db.models.signals import post_migrate, pre_migrate
from django.http import HttpRequest
from dynamic_preferences.signals import preference_updated
from license_expression import Licensing
from oauthlib.common import Request as OauthlibRequest
from .core_helpers import copyright_years
from .spdx import LICENSES
if TYPE_CHECKING:
from oauth2_provider.models import AbstractApplication
class AppConfig(django.apps.AppConfig):
"""An extended version of DJango's AppConfig container."""
default = False
default_auto_field = "django.db.models.BigAutoField"
def __init_subclass__(cls):
super().__init_subclass__()
cls.default = True
cls._logger = logging.getLogger(f"{cls.__module__}.{cls.__name__}")
def ready(self):
self._logger.debug("Running app.ready")
super().ready()
# Register default listeners
pre_migrate.connect(self.pre_migrate, sender=self)
post_migrate.connect(self.post_migrate, sender=self)
preference_updated.connect(self.preference_updated)
user_logged_in.connect(self.user_logged_in)
user_logged_out.connect(self.user_logged_out)
self._logger.debug("Default signal handlers connected")
# Getting an app ready means it should look at its config once
self._logger.debug("Force-loading preferences")
self.preference_updated(self)
self._logger.debug("Preferences loaded")
def get_distribution_name(self):
"""Get distribution name of application package."""
if hasattr(self, "dist_name"):
return self.dist_name
elif self.name.lower().startswith("aleksis.apps."):
return self.name.lower().replace("aleksis.apps.", "AlekSIS-App-")
return None
def get_distribution(self):
"""Get distribution of application package."""
dist_name = self.get_distribution_name()
if dist_name:
try:
dist = metadata.distribution(dist_name)
except metadata.PackageNotFoundError:
return None
return dist
def get_name(self):
"""Get name of application package."""
if hasattr(self, "verbose_name"):
return self.verbose_name
else:
dist_name = self.get_distribution_name()
if dist_name:
return dist_name
return self.name
def get_version(self):
"""Get version of application package."""
if hasattr(self, "version"):
return self.version
else:
dist = self.get_distribution()
if dist:
return dist.version
else:
return "unknown"
@classmethod
def get_licence(cls) -> tuple:
"""Get tuple of licence information of application package."""
# Get string representation of licence in SPDX format
licence = getattr(cls, "licence", None)
default_flags = {
"isFsfLibre": False,
"isOsiApproved": False,
}
default_dict = {
"isDeprecatedLicenseId": False,
"isFsfLibre": False,
"isOsiApproved": False,
"licenseId": "unknown",
"name": "Unknown Licence",
"referenceNumber": -1,
"url": "",
}
if licence:
# Parse licence string into object format
licensing = Licensing(LICENSES.keys())
parsed = licensing.parse(licence).simplify()
readable = parsed.render_as_readable()
# Collect flags about licence combination (drop to False if any licence is False)
flags = {
"isFsfLibre": True,
"isOsiApproved": True,
}
# Fill information dictionaries with missing data
licence_dicts = []
for symbol in parsed.symbols:
# Get licence base information, stripping the "or later" mark
licence_dict = LICENSES.get(symbol.key.rstrip("+"), None)
if licence_dict is None:
# Fall back to the default dict
licence_dict = default_dict
else:
# Add missing licence link to SPDX data
licence_id = licence_dict["licenseId"]
licence_dict["url"] = f"https://spdx.org/licenses/{licence_id}.html"
# Drop summed up flags to False if this licence is False
flags["isFsfLibre"] = flags["isFsfLibre"] and licence_dict["isFsfLibre"]
flags["isOsiApproved"] = flags["isOsiApproved"] and licence_dict["isOsiApproved"]
licence_dicts.append(licence_dict)
return (readable, flags, licence_dicts)
else:
# We could not find a valid licence
return ("Unknown", default_flags, [default_dict])
@classmethod
def get_licence_dict(cls):
"""Get licence information of application package."""
licence = cls.get_licence()
return {
"verbose_name": licence[0],
"flags": licence[1],
"licences": licence[2],
}
@classmethod
def get_urls(cls):
"""Get list of URLs for this application package."""
return getattr(cls, "urls", {})
# TODO Try getting from distribution if not set
@classmethod
def get_urls_dict(cls):
"""Get list of URLs for this application package."""
urls = cls.get_urls()
return [{"name": key, "url": value} for key, value in urls.items()]
@classmethod
def get_copyright(cls) -> Sequence[tuple[str, str, str]]:
"""Get copyright information tuples for application package."""
copyrights = getattr(cls, "copyright_info", tuple())
copyrights_processed = []
for copyright_info in copyrights:
copyrights_processed.append(
(
# Sort copyright years and combine year ranges for display
copyright_info[0]
if isinstance(copyright_info[0], str)
else copyright_years(copyright_info[0]),
copyright_info[1],
copyright_info[2],
)
)
return copyrights_processed
# TODO Try getting from distribution if not set
@classmethod
def get_copyright_dicts(cls):
"""Get copyright information dictionaries for application package."""
infos = cls.get_copyright()
return [{"years": info[0], "name": info[1], "email": info[2]} for info in infos]
def preference_updated(
self,
sender: Any,
section: Optional[str] = None,
name: Optional[str] = None,
old_value: Optional[Any] = None,
new_value: Optional[Any] = None,
**kwargs,
) -> None:
"""Call on every app instance if a dynamic preference changes, and once on startup.
By default, it does nothing.
"""
pass
def pre_migrate(
self,
app_config: django.apps.AppConfig,
verbosity: int,
interactive: bool,
using: str,
plan: list[tuple],
apps: django.apps.registry.Apps,
**kwargs,
) -> None:
"""Call on every app instance before its models are migrated.
By default, it does nothing.
"""
pass
def post_migrate(
self,
app_config: django.apps.AppConfig,
verbosity: int,
interactive: bool,
using: str,
**kwargs,
) -> None:
"""Call on every app instance after its models have been migrated.
By default, asks all models to do maintenance on their default data.
"""
self._maintain_default_data()
def user_logged_in(
self, sender: type, request: Optional[HttpRequest], user: "User", **kwargs
) -> None:
"""Call after a user logged in.
By default, it does nothing.
"""
pass
def user_logged_out(
self, sender: type, request: Optional[HttpRequest], user: "User", **kwargs
) -> None:
"""Call after a user logged out.
By default, it does nothing.
"""
pass
@classmethod
def get_all_scopes(cls) -> dict[str, str]:
"""Return all OAuth scopes and their descriptions for this app."""
return {}
@classmethod
def get_available_scopes(
cls,
application: Optional["AbstractApplication"] = None,
request: Optional[HttpRequest] = None,
*args,
**kwargs,
) -> list[str]:
"""Return a list of all OAuth scopes available to the request and application."""
return list(cls.get_all_scopes().keys())
@classmethod
def get_default_scopes(
cls,
application: Optional["AbstractApplication"] = None,
request: Optional[HttpRequest] = None,
*args,
**kwargs,
) -> list[str]:
"""Return a list of all OAuth scopes to always include for this request and application."""
return []
@classmethod
def get_additional_claims(cls, scopes: list[str], request: OauthlibRequest) -> dict[str, Any]:
"""Get claim data for requested scopes."""
return {}
def _maintain_default_data(self):
self._logger.debug("Maintaining default data for %s", self.get_name())
from django.contrib.auth.models import Permission
from django.contrib.contenttypes.models import ContentType
if not self.models_module:
# This app does not have any models, so bail out early
return
for model in self.get_models():
if hasattr(model, "maintain_default_data"):
# Method implemented by each model object; can be left out
self._logger.info(
"Maintaining default data of %s in %s", model._meta.model_name, self.get_name()
)
model.maintain_default_data()
if hasattr(model, "extra_permissions"):
self._logger.info(
"Maintaining extra permissions for %s in %s",
model._meta.model_name,
self.get_name(),
)
ct = ContentType.objects.get_for_model(model)
for perm, verbose_name in model.extra_permissions:
self._logger.debug("Creating %s (%s)", perm, verbose_name)
Permission.objects.get_or_create(
codename=perm,
content_type=ct,
defaults={"name": verbose_name},
) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/apps.py | apps.py |
from typing import Sequence, Union
from django.apps import apps
from django.conf import settings
from django.template.loader import get_template
from django.utils import timezone
from django.utils.functional import lazy
from django.utils.translation import gettext_lazy as _
from .core_helpers import lazy_preference
from .email import send_email
try:
from twilio.rest import Client as TwilioClient
except ImportError:
TwilioClient = None
def send_templated_sms(
template_name: str, from_number: str, recipient_list: Sequence[str], context: dict
) -> None:
"""Render a plain-text template and send via SMS to all recipients."""
template = get_template(template_name)
text = template.render(context)
client = TwilioClient(settings.TWILIO_SID, settings.TWILIO_TOKEN)
for recipient in recipient_list:
client.messages.create(body=text, to=recipient, from_=from_number)
def _send_notification_email(notification: "Notification", template: str = "notification") -> None:
context = {
"notification": notification,
"notification_user": notification.recipient.addressing_name,
}
send_email(
template_name=template,
recipient_list=[notification.recipient.email],
context=context,
)
def _send_notification_sms(
notification: "Notification", template: str = "sms/notification.txt"
) -> None:
context = {
"notification": notification,
"notification_user": notification.recipient.addressing_name,
}
send_templated_sms(
template_name=template,
from_number=settings.TWILIO_CALLER_ID,
recipient_list=[notification.recipient.mobile_number.as_e164],
context=context,
)
# Mapping of channel id to name and two functions:
# - Check for availability
# - Send notification through it
_CHANNELS_MAP = {
"email": (_("E-Mail"), lambda: lazy_preference("mail", "address"), _send_notification_email),
"sms": (_("SMS"), lambda: getattr(settings, "TWILIO_SID", None), _send_notification_sms),
}
def send_notification(notification: Union[int, "Notification"], resend: bool = False) -> None:
"""Send a notification through enabled channels.
If resend is passed as True, the notification is sent even if it was
previously marked as sent.
"""
if isinstance(notification, int):
Notification = apps.get_model("core", "Notification")
notification = Notification.objects.get(pk=notification)
channels = [notification.recipient.preferences["notification__channels"]]
if resend or not notification.sent:
for channel in channels:
name, check, send = _CHANNELS_MAP[channel]
if check():
send(notification)
notification.sent = True
notification.save()
def get_notification_choices() -> list:
"""Return all available channels for notifications.
This gathers the channels that are technically available as per the
system configuration. Which ones are available to users is defined
by the administrator (by selecting a subset of these choices).
"""
choices = []
for channel, (name, check, send) in _CHANNELS_MAP.items():
if check():
choices.append((channel, name))
return choices
get_notification_choices_lazy = lazy(get_notification_choices, tuple)
def _send_due_notifications():
"""Send all notifications that are due to be sent."""
Notification = apps.get_model("core", "Notification")
due_notifications = Notification.objects.filter(sent=False, send_at__lte=timezone.now())
for notification in due_notifications:
notification.send() | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/notifications.py | notifications.py |
import os
from datetime import datetime, timedelta
from importlib import import_module, metadata
from itertools import groupby
from operator import itemgetter
from types import ModuleType
from typing import Any, Callable, Dict, Optional, Sequence, Union
from warnings import warn
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.core.files import File
from django.db.models import Model, QuerySet
from django.http import HttpRequest
from django.shortcuts import get_object_or_404
from django.urls import reverse
from django.utils import timezone
from django.utils.crypto import get_random_string
from django.utils.functional import lazy
from django.utils.module_loading import import_string
from cachalot.api import invalidate
from cachalot.signals import post_invalidation
from cache_memoize import cache_memoize
def copyright_years(years: Sequence[int], separator: str = ", ", joiner: str = "–") -> str:
"""Take a sequence of integers and produces a string with ranges.
>>> copyright_years([1999, 2000, 2001, 2005, 2007, 2008, 2009])
'1999–2001, 2005, 2007–2009'
"""
ranges = [
list(map(itemgetter(1), group))
for _, group in groupby(enumerate(years), lambda e: e[1] - e[0])
]
years_strs = [
str(range_[0]) if len(range_) == 1 else joiner.join([str(range_[0]), str(range_[-1])])
for range_ in ranges
]
return separator.join(years_strs)
def get_app_packages(only_official: bool = False) -> Sequence[str]:
"""Find all registered apps from the setuptools entrypoint."""
apps = []
for ep in metadata.entry_points().get("aleksis.app", []):
path = f"{ep.module}.{ep.attr}"
if path.startswith("aleksis.apps.") or not only_official:
apps.append(path)
return apps
def get_app_module(app: str, name: str) -> Optional[ModuleType]:
"""Get a named module of an app."""
pkg = ".".join(app.split(".")[:-2])
while "." in pkg:
try:
return import_module(f"{pkg}.{name}")
except ImportError:
# Import errors are non-fatal.
pkg = ".".join(pkg.split(".")[:-1])
# The app does not have this module
return None
def merge_app_settings(
setting: str, original: Union[dict, list], deduplicate: bool = False
) -> Union[dict, list]:
"""Merge app settings.
Get a named settings constant from all apps and merge it into the original.
To use this, add a settings.py file to the app, in the same format as Django's
main settings.py.
Note: Only selected names will be imported frm it to minimise impact of
potentially malicious apps!
"""
for app in get_app_packages():
mod_settings = get_app_module(app, "settings")
if not mod_settings:
continue
app_setting = getattr(mod_settings, setting, None)
if not app_setting:
# The app might not have this setting or it might be empty. Ignore it in that case.
continue
for entry in app_setting:
if entry in original:
if not deduplicate:
raise AttributeError(f"{entry} already set in original.")
else:
if isinstance(original, list):
original.append(entry)
elif isinstance(original, dict):
original[entry] = app_setting[entry]
else:
raise TypeError("Only dict and list settings can be merged.")
def get_app_settings_overrides() -> dict[str, Any]:
"""Get app settings overrides.
Official apps (those under the ``aleksis.apps` namespace) can override
or add settings by listing them in their ``settings.overrides``.
"""
overrides = {}
for app in get_app_packages(True):
mod_settings = get_app_module(app, "settings")
if not mod_settings:
continue
if hasattr(mod_settings, "overrides"):
for name in mod_settings.overrides:
overrides[name] = getattr(mod_settings, name)
return overrides
def get_site_preferences():
"""Get the preferences manager of the current site."""
from django.contrib.sites.models import Site # noqa
return Site.objects.get_current().preferences
def lazy_preference(section: str, name: str) -> Callable[[str, str], Any]:
"""Lazily get a config value from dynamic preferences.
Useful to bind preferences
to other global settings to make them available to third-party apps that are not
aware of dynamic preferences.
"""
def _get_preference(section: str, name: str) -> Any:
return get_site_preferences()[f"{section}__{name}"]
# The type is guessed from the default value to improve lazy()'s behaviour
# FIXME Reintroduce the behaviour described above
return lazy(_get_preference, str)(section, name)
def get_or_create_favicon(title: str, default: str, is_favicon: bool = False) -> "Favicon":
"""Ensure that there is always a favicon object."""
from favicon.models import Favicon # noqa
if not os.path.exists(default):
warn("staticfiles are not ready yet, not creating default icons")
return
elif os.path.isdir(default):
raise ImproperlyConfigured(f"staticfiles are broken: unexpected directory at {default}")
favicon, created = Favicon.on_site.get_or_create(
title=title, defaults={"isFavicon": is_favicon}
)
changed = False
if favicon.isFavicon != is_favicon:
favicon.isFavicon = True
changed = True
if created:
favicon.faviconImage.save(os.path.basename(default), File(open(default, "rb")))
changed = True
if changed:
favicon.save()
return favicon
def get_pwa_icons():
from django.conf import settings # noqa
favicon = get_or_create_favicon("pwa_icon", settings.DEFAULT_FAVICON_PATHS["pwa_icon"])
favicon_imgs = favicon.get_favicons(config_override=settings.PWA_ICONS_CONFIG)
return favicon_imgs
def is_impersonate(request: HttpRequest) -> bool:
"""Check whether the user was impersonated by an admin."""
if hasattr(request, "user"):
return getattr(request.user, "is_impersonate", False)
else:
return False
def has_person(obj: Union[HttpRequest, Model]) -> bool:
"""Check wehether a model object has a person attribute linking it to a Person object.
The passed object can also be a HttpRequest object, in which case its
associated User object is unwrapped and tested.
"""
if isinstance(obj, HttpRequest):
if hasattr(obj, "user"):
obj = obj.user
else:
return False
if obj.is_anonymous:
return False
person = getattr(obj, "person", None)
if person is None:
return False
elif getattr(person, "is_dummy", False):
return False
else:
return True
def custom_information_processor(request: Union[HttpRequest, None]) -> dict:
"""Provide custom information in all templates."""
pwa_icons = get_pwa_icons()
regrouped_pwa_icons = {}
for pwa_icon in pwa_icons:
regrouped_pwa_icons.setdefault(pwa_icon.rel, {})
regrouped_pwa_icons[pwa_icon.rel][pwa_icon.size] = pwa_icon
# This dictionary is passed to the frontend and made available as
# `$root.$aleksisFrontendSettings` in Vue.
frontend_settings = {
"sentry": {
"enabled": settings.SENTRY_ENABLED,
},
"urls": {
"base": settings.BASE_URL,
"graphql": reverse("graphql"),
},
}
context = {
"ADMINS": settings.ADMINS,
"PWA_ICONS": regrouped_pwa_icons,
"SENTRY_ENABLED": settings.SENTRY_ENABLED,
"SITE_PREFERENCES": get_site_preferences(),
"BASE_URL": settings.BASE_URL,
"FRONTEND_SETTINGS": frontend_settings,
}
if settings.SENTRY_ENABLED:
frontend_settings["sentry"].update(settings.SENTRY_SETTINGS)
import sentry_sdk
span = sentry_sdk.Hub.current.scope.span
if span is not None:
context["SENTRY_TRACE_ID"] = span.to_traceparent()
return context
def now_tomorrow() -> datetime:
"""Return current time tomorrow."""
return timezone.now() + timedelta(days=1)
def objectgetter_optional(
model: Model, default: Optional[Any] = None, default_eval: bool = False
) -> Callable[[HttpRequest, Optional[int]], Model]:
"""Get an object by pk, defaulting to None."""
def get_object(request: HttpRequest, id_: Optional[int] = None, **kwargs) -> Optional[Model]:
if id_ is not None:
return get_object_or_404(model, pk=id_)
else:
try:
return eval(default) if default_eval else default # noqa:S307
except (AttributeError, KeyError, IndexError):
return None
return get_object
@cache_memoize(3600)
def get_content_type_by_perm(perm: str) -> Union["ContentType", None]:
from django.contrib.contenttypes.models import ContentType # noqa
try:
return ContentType.objects.get(
app_label=perm.split(".", 1)[0], permission__codename=perm.split(".", 1)[1]
)
except ContentType.DoesNotExist:
return None
@cache_memoize(3600)
def queryset_rules_filter(
obj: Union[HttpRequest, Model], queryset: QuerySet, perm: str
) -> QuerySet:
"""Filter queryset by user and permission."""
wanted_objects = set()
if isinstance(obj, HttpRequest) and hasattr(obj, "user"):
obj = obj.user
for item in queryset:
if obj.has_perm(perm, item):
wanted_objects.add(item.pk)
return queryset.filter(pk__in=wanted_objects)
def generate_random_code(length, packet_size) -> str:
"""Generate random code for e.g. invitations."""
return get_random_string(packet_size * length).lower()
def monkey_patch() -> None: # noqa
"""Monkey-patch dependencies for special behaviour."""
# Unwrap promises in JSON serializer instead of stringifying
from django.core.serializers import json
from django.utils.functional import Promise
class DjangoJSONEncoder(json.DjangoJSONEncoder):
def default(self, o: Any) -> Any:
if isinstance(o, Promise) and hasattr(o, "copy"):
return o.copy()
return super().default(o)
json.DjangoJSONEncoder = DjangoJSONEncoder
def get_allowed_object_ids(request: HttpRequest, models: list) -> list:
"""Get all objects of all given models the user of a given request is allowed to view."""
allowed_object_ids = []
for model in models:
app_label = model._meta.app_label
model_name = model.__name__.lower()
# Loop through the pks of all objects of the current model the user is allowed to view
# and put the corresponding ids into a django-haystack-style-formatted list
allowed_object_ids += [
f"{app_label}.{model_name}.{pk}"
for pk in queryset_rules_filter(
request, model.objects.all(), f"{app_label}.view_{model_name}_rule"
).values_list("pk", flat=True)
]
return allowed_object_ids
def process_custom_context_processors(context_processors: list) -> Dict[str, Any]:
"""Process custom context processors."""
context = {}
processors = tuple(import_string(path) for path in context_processors)
for processor in processors:
context.update(processor(None))
return context
def create_default_celery_schedule():
"""Create default periodic tasks in database for tasks that have a schedule defined."""
from celery import current_app
from celery.schedules import BaseSchedule, crontab, schedule, solar
from django_celery_beat.clockedschedule import clocked
from django_celery_beat.models import (
ClockedSchedule,
CrontabSchedule,
IntervalSchedule,
PeriodicTask,
SolarSchedule,
)
defined_periodic_tasks = PeriodicTask.objects.values_list("task", flat=True).all()
for name, task in current_app.tasks.items():
if name in defined_periodic_tasks:
# Task is already known in database, skip
continue
run_every = getattr(task, "run_every", None)
if not run_every:
# Task has no default schedule, skip
continue
if isinstance(run_every, (float, int, timedelta)):
# Schedule is defined as a raw seconds value or timedelta, convert to schedule class
run_every = schedule(run_every)
elif not isinstance(run_every, BaseSchedule):
raise ValueError(f"Task {name} has an invalid schedule defined.")
# Find matching django-celery-beat schedule model
if isinstance(run_every, clocked):
Schedule = ClockedSchedule
attr = "clocked"
elif isinstance(run_every, crontab):
Schedule = CrontabSchedule
attr = "crontab"
elif isinstance(run_every, schedule):
Schedule = IntervalSchedule
attr = "interval"
elif isinstance(run_every, solar):
Schedule = SolarSchedule
attr = "solar"
else:
raise ValueError(f"Task {name} has an unknown schedule class defined.")
# Get or create schedule in database
db_schedule = Schedule.from_schedule(run_every)
db_schedule.save()
# Create periodic task
PeriodicTask.objects.create(
name=f"{name} (default schedule)", task=name, **{attr: db_schedule}
)
class OOTRouter:
"""Database router for operations that should run out of transaction.
This router routes database operations for certain apps through
the separate default_oot connection, to ensure that data get
updated immediately even during atomic transactions.
"""
default_db = "default"
oot_db = "default_oot"
_cachalot_invalidating = []
@property
def oot_labels(self):
return settings.DATABASE_OOT_LABELS
@property
def default_dbs(self):
return set((self.default_db, self.oot_db))
def is_same_db(self, db1: str, db2: str):
return set((db1, db2)).issubset(self.default_dbs)
def db_for_read(self, model: Model, **hints) -> Optional[str]:
if model._meta.app_label in self.oot_labels:
return self.oot_db
return None
def db_for_write(self, model: Model, **hints) -> Optional[str]:
return self.db_for_read(model, **hints)
def allow_relation(self, obj1: Model, obj2: Model, **hints) -> Optional[bool]:
# Allow relations between default database and OOT connection
# They are the same database
if self.is_same_db(obj1._state.db, obj2._state.db):
return True
return None
def allow_migrate(
self, db: str, app_label: str, model_name: Optional[str] = None, **hints
) -> Optional[bool]:
# Never allow any migrations on the default_oot database
# It connects to the same database as default, so everything
# migrated there
if db == self.oot_db:
return False
return None
@classmethod
def _invalidate_cachalot(cls, sender, **kwargs):
if sender in cls._cachalot_invalidating:
return
cls._cachalot_invalidating.append(sender)
if kwargs["db_alias"] == cls.default_db:
invalidate(sender, db_alias=cls.oot_db)
elif kwargs["db_alias"] == cls.oot_db:
invalidate(sender, db_alias=cls.default_db)
if sender in cls._cachalot_invalidating:
cls._cachalot_invalidating.remove(sender)
post_invalidation.connect(OOTRouter._invalidate_cachalot)
def get_ip(*args, **kwargs):
"""Recreate ipware.ip.get_ip as it was replaced by get_client_ip."""
from ipware.ip import get_client_ip # noqa
return get_client_ip(*args, **kwargs)[0] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/core_helpers.py | core_helpers.py |
import base64
import os
import subprocess # noqa
from datetime import timedelta
from tempfile import TemporaryDirectory
from typing import Callable, Optional, Tuple, Union
from urllib.parse import urljoin
from django.conf import settings
from django.core.files import File
from django.core.files.base import ContentFile
from django.http.request import HttpRequest
from django.http.response import HttpResponse
from django.shortcuts import get_object_or_404
from django.template.loader import render_to_string
from django.urls import reverse
from django.utils import timezone
from django.utils.translation import get_language
from django.utils.translation import gettext as _
from celery.result import AsyncResult
from celery_progress.backend import ProgressRecorder
from selenium import webdriver
from aleksis.core.celery import app
from aleksis.core.models import PDFFile
from aleksis.core.util.celery_progress import recorded_task, render_progress_page
from aleksis.core.util.core_helpers import has_person, process_custom_context_processors
def _generate_pdf_with_chromium(temp_dir, pdf_path, html_url, lang):
"""Generate a PDF file from a HTML file."""
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--kiosk-printing")
chrome_options.add_argument("--headless")
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--disable-gpu")
chrome_options.add_argument("--disable-dev-shm-usage")
chrome_options.add_argument("--disable-setuid-sandbox")
chrome_options.add_argument("--dbus-stub")
chrome_options.add_argument("--temp-profile")
chrome_options.add_argument(f"--lang={lang}")
driver = webdriver.Chrome(options=chrome_options)
driver.get(html_url)
pdf = driver.execute_cdp_cmd(
"Page.printToPDF", {"printBackground": True, "preferCSSPageSize": True}
)
driver.close()
with open(pdf_path, "wb") as f:
f.write(base64.b64decode(pdf["data"]))
@recorded_task
def generate_pdf(
file_pk: int, html_url: str, recorder: ProgressRecorder, lang: Optional[str] = None
):
"""Generate a PDF file by rendering the HTML code using a headless Chromium."""
file_object = get_object_or_404(PDFFile, pk=file_pk)
recorder.set_progress(0, 1)
# Open a temporary directory
with TemporaryDirectory() as temp_dir:
pdf_path = os.path.join(temp_dir, "print.pdf")
lang = lang or get_language()
_generate_pdf_with_chromium(temp_dir, pdf_path, html_url, lang)
# Upload PDF file to media storage
with open(pdf_path, "rb") as f:
file_object.file.save("print.pdf", File(f))
file_object.save()
recorder.set_progress(1, 1)
def process_context_for_pdf(context: Optional[dict] = None, request: Optional[HttpRequest] = None):
context = context or {}
if not request:
processed_context = process_custom_context_processors(
settings.NON_REQUEST_CONTEXT_PROCESSORS
)
processed_context.update(context)
else:
processed_context = context
return processed_context
def generate_pdf_from_html(
html: str, request: Optional[HttpRequest] = None, file_object: Optional[PDFFile] = None
) -> Tuple[PDFFile, AsyncResult]:
"""Start a PDF generation task and return the matching file object and Celery result."""
html_file = ContentFile(html.encode(), name="source.html")
# In some cases, the file object is already created (to get a redirect URL for the PDF)
if not file_object:
file_object = PDFFile.objects.create()
if request and has_person(request):
file_object.person = request.user.person
file_object.html_file = html_file
file_object.save()
# As this method may be run in background and there is no request available,
# we have to use a predefined URL from settings then
if request:
html_url = request.build_absolute_uri(file_object.html_file.url)
else:
html_url = urljoin(settings.BASE_URL, file_object.html_file.url)
result = generate_pdf.delay(file_object.pk, html_url, lang=get_language())
return file_object, result
def generate_pdf_from_template(
template_name: str,
context: Optional[dict] = None,
request: Optional[HttpRequest] = None,
render_method: Optional[Callable] = None,
file_object: Optional[PDFFile] = None,
) -> Tuple[PDFFile, AsyncResult]:
"""Start a PDF generation task and return the matching file object and Celery result."""
processed_context = process_context_for_pdf(context, request)
if render_method:
html_template = render_method(processed_context, request)
else:
html_template = render_to_string(template_name, processed_context, request)
return generate_pdf_from_html(html_template, request, file_object=file_object)
def render_pdf(
request: Union[HttpRequest, None], template_name: str, context: dict = None
) -> HttpResponse:
"""Start PDF generation and show progress page.
The progress page will redirect to the PDF after completion.
"""
if not context:
context = {}
file_object, result = generate_pdf_from_template(template_name, context, request)
redirect_url = f"/pdfs/{file_object.pk}"
return render_progress_page(
request,
result,
title=_("Progress: Generate PDF file"),
progress_title=_("Generating PDF file …"),
success_message=_("The PDF file has been generated successfully."),
error_message=_("There was a problem while generating the PDF file."),
redirect_on_success_url=redirect_url,
back_url=context.get("back_url", reverse("index")),
button_title=_("Download PDF"),
button_url=redirect_url,
button_icon="mdi-file-pdf-box",
)
def clean_up_expired_pdf_files() -> None:
"""Clean up expired PDF files."""
PDFFile.objects.filter(expires_at__lt=timezone.now()).delete()
@app.task(run_every=timedelta(days=1))
def clean_up_expired_pdf_files_task() -> None:
"""Clean up expired PDF files."""
return clean_up_expired_pdf_files() | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/pdf.py | pdf.py |
import json
import os
import shutil
from typing import Any, Optional, Sequence
from django.conf import settings
from django_yarnpkg.yarn import yarn_adapter
from .core_helpers import get_app_module, get_app_packages
def get_apps_with_frontend():
"""Get a dictionary of apps that ship frontend code/assets."""
assets = {}
for app in get_app_packages():
mod = get_app_module(app, "apps")
path = os.path.join(os.path.dirname(mod.__file__), "frontend")
if os.path.isdir(path):
package = ".".join(app.split(".")[:-2])
assets[package] = path
return assets
def write_vite_values(out_path: str) -> dict[str, Any]:
vite_values = {
"static_url": settings.STATIC_URL,
"serverPort": settings.DJANGO_VITE_DEV_SERVER_PORT,
}
# Write rollup entrypoints for all apps
vite_values["appDetails"] = {}
for app, path in get_apps_with_frontend().items():
if os.path.exists(path):
vite_values["appDetails"][app] = {}
vite_values["appDetails"][app]["name"] = app.split(".")[-1]
vite_values["appDetails"][app]["assetDir"] = path
vite_values["appDetails"][app]["hasMessages"] = os.path.exists(
os.path.join(path, "messages", "en.json")
)
# Add core entrypoint
vite_values["coreAssetDir"] = os.path.join(settings.BASE_DIR, "aleksis", "core", "frontend")
# Add directories
vite_values["baseDir"] = settings.BASE_DIR
vite_values["cacheDir"] = settings.CACHE_DIR
vite_values["node_modules"] = settings.JS_ROOT
with open(out_path, "w") as out:
json.dump(vite_values, out)
def run_vite(args: Optional[Sequence[str]] = None) -> int:
args = list(args) if args else []
config_path = os.path.join(settings.BASE_DIR, "aleksis", "core", "vite.config.js")
shutil.copy(config_path, settings.NODE_MODULES_ROOT)
mode = "development" if settings.DEBUG else "production"
args += ["-m", mode]
log_level = settings.LOGGING["root"]["level"]
if settings.DEBUG or log_level == "DEBUG":
args.append("-d")
log_level = {"INFO": "info", "WARNING": "warn", "ERROR": "error"}.get(log_level, "silent")
args += ["-l", log_level]
return yarn_adapter.call_yarn(["run", "vite"] + args)
def get_language_cookie(code: str) -> str:
"""Build a cookie string to set a new language."""
cookie_parts = [f"{settings.LANGUAGE_COOKIE_NAME}={code}"]
args = dict(
max_age=settings.LANGUAGE_COOKIE_AGE,
path=settings.LANGUAGE_COOKIE_PATH,
domain=settings.LANGUAGE_COOKIE_DOMAIN,
secure=settings.LANGUAGE_COOKIE_SECURE,
httponly=settings.LANGUAGE_COOKIE_HTTPONLY,
samesite=settings.LANGUAGE_COOKIE_SAMESITE,
)
cookie_parts += [f"{k.replace('_', '-')}={v}" for k, v in args.items() if v]
return "; ".join(cookie_parts) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/frontend_helpers.py | frontend_helpers.py |
from django.core.exceptions import PermissionDenied
from django_auth_ldap.backend import LDAPBackend as _LDAPBackend
from ..models import UserAdditionalAttributes
class LDAPBackend(_LDAPBackend):
default_settings = {"SET_USABLE_PASSWORD": False}
def authenticate_ldap_user(self, ldap_user, password):
"""Authenticate user against LDAP and set local password if successful.
Having a local password is needed to make changing passwords easier. In
order to catch password changes in a universal way and forward them to
backends (like LDAP, in this case), getting the old password first is
necessary to authenticate as that user to LDAP.
We buy the small insecurity of having a hash of the password in the
Django database in order to not require it to have global admin permissions
on the LDAP directory.
"""
user = super().authenticate_ldap_user(ldap_user, password)
if self.settings.SET_USABLE_PASSWORD:
if not user:
# The user could not be authenticated against LDAP.
# We need to make sure to let other backends handle it, but also that
# we do not let actually deleted/locked LDAP users fall through to a
# backend that cached a valid password
if UserAdditionalAttributes.get_user_attribute(
ldap_user._username, "ldap_authenticated", False
):
# User was LDAP-authenticated in the past, so we fail authentication now
# to not let other backends override a legitimate deletion
raise PermissionDenied("LDAP failed to authenticate user")
else:
# No note about LDAP authentication in the past
# The user can continue authentication like before if they exist
return user
# Set a usable password so users can change their LDAP password
user.set_password(password)
user.save()
# Not that we LDAP-autenticated the user so we can check this in the future
UserAdditionalAttributes.set_user_attribute(
ldap_user._username, "ldap_authenticated", True
)
return user | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/ldap.py | ldap.py |
from typing import Callable
from django.http import HttpRequest, HttpResponse
from ..models import DummyPerson, Person
from .core_helpers import get_site_preferences, has_person
class EnsurePersonMiddleware:
"""Middleware that ensures that the logged-in user is linked to a person.
It is needed to inject a dummy person to a superuser that would otherwise
not have an associated person, in order they can get their account set up
without external help.
In addition, if configured in preferences, it auto-creates or links persons
to regular users if they match.
"""
def __init__(self, get_response: Callable):
self.get_response = get_response
def __call__(self, request: HttpRequest) -> HttpResponse:
if not has_person(request) and not request.user.is_anonymous:
prefs = get_site_preferences()
if (
prefs.get("account__auto_link_person", False)
and request.user.first_name
and request.user.last_name
):
if prefs.get("account__auto_create_person"):
person, created = Person.objects.get_or_create(
email=request.user.email,
defaults={
"first_name": request.user.first_name,
"last_name": request.user.last_name,
},
)
person.user = request.user
else:
person = Person.objects.filter(email=request.user.email).first()
if person:
person.user = request.user
person.save()
if request.user.is_superuser and not has_person(request):
# Super-users get a dummy person linked
dummy_person = DummyPerson(
first_name=request.user.first_name, last_name=request.user.last_name
)
request.user.person = dummy_person
response = self.get_response(request)
return response | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/middlewares.py | middlewares.py |
from typing import Any, Optional
from django.conf import settings
from django.contrib.auth.validators import ASCIIUsernameValidator
from django.core.validators import RegexValidator
from django.http import HttpRequest
from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
from oauth2_provider.models import AbstractApplication
from oauth2_provider.oauth2_validators import OAuth2Validator
from oauth2_provider.scopes import BaseScopes
from oauth2_provider.views.mixins import (
ClientProtectedResourceMixin as _ClientProtectedResourceMixin,
)
from oauthlib.common import Request as OauthlibRequest
from .apps import AppConfig
from .core_helpers import get_site_preferences
class OurSocialAccountAdapter(DefaultSocialAccountAdapter):
"""Customised adapter that recognises other authentication mechanisms."""
def validate_disconnect(self, account, accounts):
"""Validate whether or not the socialaccount account can be safely disconnected.
Honours other authentication backends, i.e. ignores unusable passwords if LDAP is used.
"""
if "django_auth_ldap.backend.LDAPBackend" in settings.AUTHENTICATION_BACKENDS:
# Ignore upstream validation error as we do not need a usable password
return None
# Let upstream decide whether we can disconnect or not
return super().validate_disconnect(account, accounts)
class OurAccountAdapter(DefaultAccountAdapter):
"""Customised adapter to allow to disable signup."""
def is_open_for_signup(self, request):
return get_site_preferences()["auth__signup_enabled"]
class CustomOAuth2Validator(OAuth2Validator):
def get_additional_claims(self, request: OauthlibRequest) -> dict[str, Any]:
# Pull together scopes from request and from access token
scopes = request.scopes.copy()
if request.access_token:
scopes += request.access_token.scope.split(" ")
claims = {}
# Pull together claim data from all apps
for app in AppConfig.__subclasses__():
claims.update(app.get_additional_claims(scopes, request))
return claims
class AppScopes(BaseScopes):
"""Scopes backend for django-oauth-toolkit gathering scopes from apps.
Will call the respective method on all known AlekSIS app configs and
join the results.
"""
def get_all_scopes(self) -> dict[str, str]:
scopes = {}
for app in AppConfig.__subclasses__():
scopes |= app.get_all_scopes()
return scopes
def get_available_scopes(
self,
application: Optional[AbstractApplication] = None,
request: Optional[HttpRequest] = None,
*args,
**kwargs
) -> list[str]:
scopes = []
for app in AppConfig.__subclasses__():
scopes += app.get_available_scopes()
# Filter by allowed scopes of requesting application
if application and application.allowed_scopes:
scopes = list(filter(lambda scope: scope in application.allowed_scopes, scopes))
return scopes
def get_default_scopes(
self,
application: Optional[AbstractApplication] = None,
request: Optional[HttpRequest] = None,
*args,
**kwargs
) -> list[str]:
scopes = []
for app in AppConfig.__subclasses__():
scopes += app.get_default_scopes()
# Filter by allowed scopes of requesting application
if application and application.allowed_scopes:
scopes = list(filter(lambda scope: scope in application.allowed_scopes, scopes))
return scopes
class ClientProtectedResourceMixin(_ClientProtectedResourceMixin):
"""Mixin for protecting resources with client authentication as mentioned in rfc:`3.2.1`.
This involves authenticating with any of: HTTP Basic Auth, Client Credentials and
Access token in that order. Breaks off after first validation.
This sub-class extends the functionality of Django OAuth Toolkit's mixin with support
for AlekSIS's `allowed_scopes` feature. For applications that have configured allowed
scopes, the required scopes for the view are checked to be a subset of the application's
allowed scopes (best to be combined with ScopedResourceMixin).
"""
def authenticate_client(self, request: HttpRequest) -> bool:
"""Return a boolean representing if client is authenticated with client credentials.
If the view has configured required scopes, they are verified against the application's
allowed scopes.
"""
# Build an OAuth request so we can handle client information
core = self.get_oauthlib_core()
uri, http_method, body, headers = core._extract_params(request)
oauth_request = OauthlibRequest(uri, http_method, body, headers)
# Verify general authentication of the client
if not core.server.request_validator.authenticate_client(oauth_request):
# Client credentials were invalid
return False
# Verify scopes of configured application
# The OAuth request was enriched with a reference to the Application when using the
# validator above.
if not oauth_request.client.allowed_scopes:
# If there are no allowed scopes, the client is not allowed to access this resource
return False
required_scopes = set(self.get_scopes() or [])
allowed_scopes = set(AppScopes().get_available_scopes(oauth_request.client) or [])
return required_scopes.issubset(allowed_scopes)
def validate_username_preference_regex(value: str):
regex = get_site_preferences()["auth__allowed_username_regex"]
return RegexValidator(regex)(value)
custom_username_validators = [validate_username_preference_regex, ASCIIUsernameValidator()] | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/auth_helpers.py | auth_helpers.py |
import logging
from typing import Any, Optional
from django.contrib import messages
from django.http import HttpRequest
def add_message(
request: Optional[HttpRequest], level: int, message: str, **kwargs
) -> Optional[Any]:
"""Add a message.
Add a message to either Django's message framework, if called from a web request,
or to the default logger.
Default to DEBUG level.
"""
if request:
return messages.add_message(request, level, message, **kwargs)
else:
return logging.getLogger(__name__).log(level, message)
def debug(request: Optional[HttpRequest], message: str, **kwargs) -> Optional[Any]:
"""Add a debug message.
Add a message to either Django's message framework, if called from a web request,
or to the default logger.
Default to DEBUG level.
"""
return add_message(request, messages.DEBUG, message, **kwargs)
def info(request: Optional[HttpRequest], message: str, **kwargs) -> Optional[Any]:
"""Add a info message.
Add a message to either Django's message framework, if called from a web request,
or to the default logger.
Default to INFO level.
"""
return add_message(request, messages.INFO, message, **kwargs)
def success(request: Optional[HttpRequest], message: str, **kwargs) -> Optional[Any]:
"""Add a success message.
Add a message to either Django's message framework, if called from a web request,
or to the default logger.
Default to SUCCESS level.
"""
return add_message(request, messages.SUCCESS, message, **kwargs)
def warning(request: Optional[HttpRequest], message: str, **kwargs) -> Optional[Any]:
"""Add a warning message.
Add a message to either Django's message framework, if called from a web request,
or to the default logger.
Default to WARNING level.
"""
return add_message(request, messages.WARNING, message, **kwargs)
def error(request: Optional[HttpRequest], message: str, **kwargs) -> Optional[Any]:
"""Add an error message.
Add a message to either Django's message framework, if called from a web request,
or to the default logger.
Default to ERROR level.
"""
return add_message(request, messages.ERROR, message, **kwargs) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/util/messages.py | messages.py |
const pythonToMomentJs = {
"%a": "EEE",
"%A": "EEEE",
"%w": "E",
"%d": "dd",
"%b": "MMM",
"%B": "MMMM",
"%m": "MM",
"%y": "yy",
"%Y": "yyyy",
"%H": "HH",
"%I": "hh",
"%p": "a",
"%M": "mm",
"%s": "ss",
"%f": "SSSSSS",
"%z": "ZZZ",
"%Z": "z",
"%U": "WW",
"%j": "ooo",
"%W": "WW",
"%u": "E",
"%G": "kkkk",
"%V": "WW",
};
const pythonToMaterialize = {
"%d": "dd",
"%a": "ddd",
"%A": "dddd",
"%m": "mm",
"%b": "mmm",
"%B": "mmmm",
"%y": "yy",
"%Y": "yyyy",
};
function buildDateFormat(formatString, map) {
// Convert a Python strftime format string to another format string
for (const key in map) {
formatString = formatString.replace(key, map[key]);
}
return formatString;
}
function initDatePicker(sel) {
// Initialize datepicker [MAT]
// Get the date format from Django
const dateInputFormat = get_format("DATE_INPUT_FORMATS")[0];
const inputFormat = buildDateFormat(dateInputFormat, pythonToMomentJs);
const outputFormat = buildDateFormat(dateInputFormat, pythonToMaterialize);
const el = $(sel).datepicker({
format: outputFormat,
// Pull translations from Django helpers
i18n: {
months: calendarweek_i18n.month_names,
monthsShort: calendarweek_i18n.month_abbrs,
weekdays: calendarweek_i18n.day_names,
weekdaysShort: calendarweek_i18n.day_abbrs,
weekdaysAbbrev: calendarweek_i18n.day_abbrs.map(([v]) => v),
// Buttons
today: gettext("Today"),
cancel: gettext("Cancel"),
done: gettext("OK"),
},
// Set monday as first day of week
firstDay: get_format("FIRST_DAY_OF_WEEK"),
autoClose: true,
yearRange: [new Date().getFullYear() - 100, new Date().getFullYear() + 100],
});
// Set initial values of datepickers
$(sel).each(function () {
const currentValue = $(this).val();
if (currentValue) {
const currentDate = luxon.DateTime.fromFormat(
currentValue,
inputFormat
).toJSDate();
$(this).datepicker("setDate", currentDate);
}
});
return el;
}
function initTimePicker(sel) {
// Initialize timepicker [MAT]
return $(sel).timepicker({
twelveHour: false,
autoClose: true,
i18n: {
cancel: "Abbrechen",
clear: "Löschen",
done: "OK",
},
});
}
$(document).ready(function () {
$("dmc-datetime input").addClass("datepicker");
$("[data-form-control='date']").addClass("datepicker");
$("[data-form-control='time']").addClass("timepicker");
// Initialize sidenav [MAT]
$(".sidenav").sidenav();
// Initialize datepicker [MAT]
initDatePicker(".datepicker");
// Initialize timepicker [MAT]
initTimePicker(".timepicker");
// Initialize tooltip [MAT]
$(".tooltipped").tooltip();
// Initialize select [MAT]
$("select").formSelect();
// Initialize dropdown [MAT]
$(".dropdown-trigger").dropdown();
$(".navbar-dropdown-trigger").dropdown({
coverTrigger: false,
constrainWidth: false,
});
// If JS is activated, the language form will be auto-submitted
$(".language-field select").change(function () {
$(this).parents(".language-form").submit();
});
// If auto-submit is activated (see above), the language submit must not be visible
$(".language-submit-p").hide();
// Initalize print button
$("#print").click(function () {
window.print();
});
// Initialize Collapsible [MAT]
$(".collapsible").collapsible();
// Initialize FABs [MAT]
$(".fixed-action-btn").floatingActionButton();
// Initialize Modals [MAT]
$(".modal").modal();
// Initialize image boxes [Materialize]
$(".materialboxed").materialbox();
// Intialize Tabs [Materialize]
$(".tabs").tabs();
// Sync color picker
$(".jscolor").change(function () {
$("#" + $(this).data("preview")).css("color", $(this).val());
});
// Initialize text collapsibles [MAT, own work]
$(".text-collapsible").addClass("closed").removeClass("opened");
$(".text-collapsible .open-icon").click(function (e) {
var el = $(e.target).parent();
el.addClass("opened").removeClass("closed");
});
$(".text-collapsible .close-icon").click(function (e) {
var el = $(e.target).parent();
el.addClass("closed").removeClass("opened");
});
}); | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/static/js/main.js | main.js |
const CACHE = "aleksis-cache";
const cacheChannel = new BroadcastChannel("cache-or-not");
const offlineFallbackChannel = new BroadcastChannel("offline-fallback");
let comesFromCache = false;
let offlineFallback = false;
self.addEventListener("install", function (event) {
console.log("[AlekSIS PWA] Install Event processing.");
console.log("[AlekSIS PWA] Skipping waiting on install.");
self.skipWaiting();
});
// Allow sw to control of current page
self.addEventListener("activate", function (event) {
console.log("[AlekSIS PWA] Claiming clients for current page.");
event.waitUntil(self.clients.claim());
});
// If any fetch fails, it will look for the request in the cache and serve it from there first
self.addEventListener("fetch", function (event) {
if (event.request.method !== "GET") return;
networkFirstFetch(event);
if (offlineFallback) offlineFallbackChannel.postMessage(true);
if (comesFromCache) cacheChannel.postMessage(true);
});
function networkFirstFetch(event) {
event.respondWith(
fetch(event.request)
.then(function (response) {
// If request was successful, add or update it in the cache
console.log("[AlekSIS PWA] Network request successful.");
event.waitUntil(updateCache(event.request, response.clone()));
offlineFallback = false;
comesFromCache = false;
return response;
})
.catch(function (error) {
console.log(
"[AlekSIS PWA] Network request failed. Serving content from cache: " +
error
);
return fromCache(event);
})
);
}
function fromCache(event) {
// Check to see if you have it in the cache
// Return response
// If not in the cache, then return offline fallback page
return caches.open(CACHE).then(function (cache) {
return cache.match(event.request).then(function (matching) {
if (!matching || matching.status === 404) {
console.log(
"[AlekSIS PWA] Cache request failed. Serving offline fallback page."
);
comesFromCache = false;
offlineFallback = true;
return;
}
offlineFallback = false;
comesFromCache = true;
return matching;
});
});
}
function updateCache(request, response) {
if (
response.headers.get("cache-control") &&
response.headers.get("cache-control").includes("no-cache")
) {
return Promise.resolve();
} else {
return caches.open(CACHE).then(function (cache) {
return cache.put(request, response);
});
}
} | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/static/js/serviceworker.js | serviceworker.js |
var Autocomplete = function (options) {
this.form_selector = options.form_selector || ".autocomplete";
this.url = options.url;
this.delay = parseInt(options.delay || 300);
this.minimum_length = parseInt(options.minimum_length || 3);
this.form_elem = null;
this.query_box = null;
this.selected_element = null;
};
Autocomplete.prototype.setup = function () {
var self = this;
this.form_elem = $(this.form_selector);
this.query_box = this.form_elem.find("input[name=q]");
$("#search-form").focusout(function (e) {
if (!$(e.relatedTarget).hasClass("search-item")) {
e.preventDefault();
$("#search-results").remove();
}
});
// Trigger the "keyup" event if input gets focused
this.query_box.focus(function () {
self.query_box.trigger("input");
});
this.query_box.on("input", () => {
console.log("Input changed, fetching again...");
var query = self.query_box.val();
if (query.length < self.minimum_length) {
$("#search-results").remove();
return true;
}
self.fetch(query);
return true;
});
// Watch the input box.
this.query_box.keydown(function (e) {
if (e.which === 38) {
// Keypress Up
if (!self.selected_element) {
self.setSelectedResult($("#search-collection").children().last());
return false;
}
let prev = self.selected_element.prev();
if (prev.length > 0) {
self.setSelectedResult(prev);
}
return false;
}
if (e.which === 40) {
// Keypress Down
if (!self.selected_element) {
self.setSelectedResult($("#search-collection").children().first());
return false;
}
let next = self.selected_element.next();
if (next.length > 0) {
self.setSelectedResult(next);
}
return false;
}
if (self.selected_element && e.which === 13) {
e.preventDefault();
window.location.href = self.selected_element.attr("href");
}
});
// // On selecting a result, remove result box
// this.form_elem.on('click', '#search-results', function (ev) {
// $('#search-results').remove();
// return true;
// });
// Disable browser's own autocomplete
// We do this here so users without JavaScript can keep it enabled
this.query_box.attr("autocomplete", "off");
};
Autocomplete.prototype.fetch = function (query) {
var self = this;
$.ajax({
url: this.url,
data: {
q: query,
},
beforeSend: (request, settings) => {
$("#search-results").remove();
self.setLoader(true);
},
success: function (data) {
self.setLoader(false);
self.show_results(data);
},
});
};
Autocomplete.prototype.show_results = function (data) {
$("#search-results").remove();
var results_wrapper = $('<div id="search-results">' + data + "</div>");
this.query_box.after(results_wrapper);
this.selected_element = null;
};
Autocomplete.prototype.setSelectedResult = function (element) {
if (this.selected_element) {
this.selected_element.removeClass("active");
}
element.addClass("active");
this.selected_element = element;
console.log("New element: ", element);
};
Autocomplete.prototype.setLoader = function (value) {
$("#search-loader").css("display", value === true ? "block" : "none");
}; | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/static/js/search.js | search.js |
from django.contrib.messages.constants import DEFAULT_TAGS
import graphene
from graphene import ObjectType
from graphene_django import DjangoObjectType
from ..models import TaskUserAssignment
class CeleryProgressMessage(ObjectType):
message = graphene.String(required=True)
level = graphene.Int(required=True)
tag = graphene.String(required=True)
def resolve_message(root, info, **kwargs):
return root[1]
def resolve_level(root, info, **kwargs):
return root[0]
def resolve_tag(root, info, **kwargs):
return DEFAULT_TAGS.get(root[0], "info")
class CeleryProgressAdditionalButtonType(ObjectType):
title = graphene.String(required=True)
url = graphene.String(required=True)
icon = graphene.String()
class CeleryProgressMetaType(DjangoObjectType):
additional_button = graphene.Field(CeleryProgressAdditionalButtonType, required=False)
task_id = graphene.String(required=True)
def resolve_task_id(root, info, **kwargs):
return root.task_result.task_id
class Meta:
model = TaskUserAssignment
fields = (
"title",
"back_url",
"progress_title",
"error_message",
"success_message",
"redirect_on_success_url",
"additional_button",
)
@classmethod
def get_queryset(cls, queryset, info, perm="core.view_progress_rule"):
return super().get_queryset(queryset, info, perm)
def resolve_additional_button(root, info, **kwargs):
if not root.additional_button_title or not root.additional_button_url:
return None
return {
"title": root.additional_button_title,
"url": root.additional_button_url,
"icon": root.additional_button_icon,
}
class CeleryProgressProgressType(ObjectType):
current = graphene.Int()
total = graphene.Int()
percent = graphene.Float()
class CeleryProgressType(graphene.ObjectType):
state = graphene.String()
complete = graphene.Boolean()
success = graphene.Boolean()
progress = graphene.Field(CeleryProgressProgressType)
messages = graphene.List(CeleryProgressMessage)
meta = graphene.Field(CeleryProgressMetaType)
def resolve_messages(root, info, **kwargs): # noqa
if root["complete"] and isinstance(root["result"], list):
return root["result"]
return root["progress"].get("messages", [])
class CeleryProgressFetchedMutation(graphene.Mutation):
class Arguments:
task_id = graphene.String(required=True)
celery_progress = graphene.Field(CeleryProgressType)
def mutate(root, info, task_id, **kwargs):
task = TaskUserAssignment.objects.get(task_result__task_id=task_id)
if not info.context.user.has_perm("core.view_progress_rule", task):
return None
task.result_fetched = True
task.save()
progress = task.get_progress_with_meta()
return CeleryProgressFetchedMutation(celery_progress=progress) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/schema/celery_progress.py | celery_progress.py |
from typing import Union
from django.core.exceptions import PermissionDenied
from django.utils import timezone
import graphene
from graphene_django import DjangoObjectType
from graphene_django.forms.mutation import DjangoModelFormMutation
from guardian.shortcuts import get_objects_for_user
from ..forms import PersonForm
from ..models import DummyPerson, Person
from ..util.core_helpers import get_site_preferences, has_person
from .base import FieldFileType
from .notification import NotificationType
class PersonPreferencesType(graphene.ObjectType):
theme_design_mode = graphene.String()
def resolve_theme_design_mode(parent, info, **kwargs):
return parent["theme__design"]
class PersonType(DjangoObjectType):
class Meta:
model = Person
fields = [
"id",
"user",
"first_name",
"last_name",
"additional_name",
"short_name",
"street",
"housenumber",
"postal_code",
"place",
"phone_number",
"mobile_number",
"email",
"date_of_birth",
"place_of_birth",
"sex",
"photo",
"avatar",
"guardians",
"primary_group",
"description",
"children",
"owner_of",
"member_of",
]
full_name = graphene.String()
username = graphene.String()
userid = graphene.ID()
photo = graphene.Field(FieldFileType, required=False)
avatar = graphene.Field(FieldFileType, required=False)
avatar_url = graphene.String()
avatar_content_url = graphene.String()
secondary_image_url = graphene.String(required=False)
street = graphene.String(required=False)
housenumber = graphene.String(required=False)
postal_code = graphene.String(required=False)
place = graphene.String(required=False)
phone_number = graphene.String(required=False)
mobile_number = graphene.String(required=False)
email = graphene.String(required=False)
date_of_birth = graphene.String(required=False)
place_of_birth = graphene.String(required=False)
notifications = graphene.List(NotificationType)
unread_notifications_count = graphene.Int(required=False)
is_dummy = graphene.Boolean()
preferences = graphene.Field(PersonPreferencesType)
can_edit_person = graphene.Boolean()
can_delete_person = graphene.Boolean()
can_change_person_preferences = graphene.Boolean()
can_impersonate_person = graphene.Boolean()
can_invite_person = graphene.Boolean()
def resolve_street(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_address_rule", root):
return root.street
return None
def resolve_housenumber(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_address_rule", root):
return root.housenumber
return None
def resolve_postal_code(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_address_rule", root):
return root.postal_code
return None
def resolve_place(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_address_rule", root):
return root.place
return None
def resolve_phone_number(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_contact_details_rule", root):
return root.phone_number
return None
def resolve_mobile_number(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_contact_details_rule", root):
return root.mobile_number
return None
def resolve_email(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_contact_details_rule", root):
return root.email
return None
def resolve_date_of_birth(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_personal_details_rule", root):
return root.date_of_birth
return None
def resolve_place_of_birth(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_personal_details_rule", root):
return root.place_of_birth
return None
def resolve_children(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_personal_details_rule", root):
return get_objects_for_user(info.context.user, "core.view_person", root.children.all())
return []
def resolve_guardians(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_personal_details_rule", root):
return get_objects_for_user(info.context.user, "core.view_person", root.guardians.all())
return []
def resolve_member_of(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_person_groups_rule", root):
return get_objects_for_user(info.context.user, "core.view_group", root.member_of.all())
return []
def resolve_owner_of(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_person_groups_rule", root):
return get_objects_for_user(info.context.user, "core.view_group", root.owner_of.all())
return []
def resolve_primary_group(root, info, **kwargs): # noqa
if info.context.user.has_perm("core.view_group_rule", root.primary_group):
return root.primary_group
raise PermissionDenied()
def resolve_username(root, info, **kwargs): # noqa
return root.user.username if root.user else None
def resolve_userid(root, info, **kwargs): # noqa
return root.user.id if root.user else None
def resolve_unread_notifications_count(root, info, **kwargs): # noqa
if root.pk and has_person(info.context) and root == info.context.user.person:
return root.unread_notifications_count
elif root.pk:
return 0
return None
def resolve_photo(root, info, **kwargs):
if info.context.user.has_perm("core.view_photo_rule", root):
return root.photo
return None
def resolve_avatar(root, info, **kwargs):
if info.context.user.has_perm("core.view_avatar_rule", root):
return root.avatar
return None
def resolve_avatar_url(root, info, **kwargs):
if info.context.user.has_perm("core.view_avatar_rule", root) and root.avatar:
return root.avatar.url
return root.identicon_url
def resolve_avatar_content_url(root, info, **kwargs): # noqa
# Returns the url for the main image for a person, either the avatar, photo or identicon,
# based on permissions and preferences
if get_site_preferences()["account__person_prefer_photo"]:
if info.context.user.has_perm("core.view_photo_rule", root) and root.photo:
return root.photo.url
elif info.context.user.has_perm("core.view_avatar_rule", root) and root.avatar:
return root.avatar.url
else:
if info.context.user.has_perm("core.view_avatar_rule", root) and root.avatar:
return root.avatar.url
elif info.context.user.has_perm("core.view_photo_rule", root) and root.photo:
return root.photo.url
return root.identicon_url
def resolve_secondary_image_url(root, info, **kwargs): # noqa
# returns either the photo url or the avatar url,
# depending on the one returned by avatar_content_url
if get_site_preferences()["account__person_prefer_photo"]:
if info.context.user.has_perm("core.view_avatar_rule", root) and root.avatar:
return root.avatar.url
elif info.context.user.has_perm("core.view_photo_rule", root) and root.photo:
return root.photo.url
return None
def resolve_is_dummy(root: Union[Person, DummyPerson], info, **kwargs):
return root.is_dummy if hasattr(root, "is_dummy") else False
def resolve_notifications(root: Person, info, **kwargs):
if root.pk and has_person(info.context) and root == info.context.user.person:
return root.notifications.filter(send_at__lte=timezone.now()).order_by(
"read", "-created"
)
return []
def resolve_can_edit_person(root, info, **kwargs): # noqa
return info.context.user.has_perm("core.edit_person_rule", root)
def resolve_can_delete_person(root, info, **kwargs): # noqa
return info.context.user.has_perm("core.delete_person_rule", root)
def resolve_can_change_person_preferences(root, info, **kwargs): # noqa
return info.context.user.has_perm("core.change_person_preferences_rule", root)
def resolve_can_impersonate_person(root, info, **kwargs): # noqa
return root.user and info.context.user.has_perm("core.impersonate_rule", root)
def resolve_can_invite_person(root, info, **kwargs): # noqa
return (not root.user) and info.context.user.has_perm("core.can_invite_rule", root)
class PersonMutation(DjangoModelFormMutation):
person = graphene.Field(PersonType)
class Meta:
form_class = PersonForm
@classmethod
def perform_mutate(cls, form, info):
if not form.initial:
if not info.context.user.has_perm("core.create_person_rule"):
raise PermissionDenied()
else:
if not info.context.user.has_perm("core.edit_person_rule", form.instance):
raise PermissionDenied()
return super().perform_mutate(form, info) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/schema/person.py | person.py |
from django.core.exceptions import PermissionDenied
from graphene_django import DjangoObjectType
from guardian.shortcuts import get_objects_for_user
from ..models import Group, Person
from ..util.core_helpers import has_person
class GroupType(DjangoObjectType):
class Meta:
model = Group
fields = [
"id",
"school_term",
"name",
"short_name",
"members",
"owners",
"parent_groups",
"group_type",
"additional_fields",
"photo",
"avatar",
]
@staticmethod
def resolve_parent_groups(root, info, **kwargs):
return get_objects_for_user(info.context.user, "core.view_group", root.parent_groups.all())
@staticmethod
def resolve_members(root, info, **kwargs):
persons = get_objects_for_user(info.context.user, "core.view_person", root.members.all())
if has_person(info.context.user) and [
m for m in root.members.all() if m.pk == info.context.user.person.pk
]:
persons = (persons | Person.objects.get(pk=info.context.user.person.pk)).distinct()
return persons
@staticmethod
def resolve_owners(root, info, **kwargs):
persons = get_objects_for_user(info.context.user, "core.view_person", root.owners.all())
if has_person(info.context.user) and [
o for o in root.owners.all() if o.pk == info.context.user.person.pk
]:
persons = (persons | Person.objects.get(pk=info.context.user.person.pk)).distinct()
return persons
@staticmethod
def resolve_group_type(root, info, **kwargs):
if info.context.user.has_perm("core.view_grouptype_rule", root.group_type):
return root.group_type
raise PermissionDenied()
@staticmethod
def resolve_additional_fields(root, info, **kwargs):
return get_objects_for_user(
info.context.user, "core.view_additionalfield", root.additional_fields.all()
) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/schema/group.py | group.py |
from django.apps import apps
from django.contrib.messages import get_messages
from django.core.exceptions import PermissionDenied
from django.db.models import Q
import graphene
from guardian.shortcuts import get_objects_for_user
from haystack.inputs import AutoQuery
from haystack.query import SearchQuerySet
from haystack.utils.loading import UnifiedIndex
from ..models import (
CustomMenu,
DynamicRoute,
Notification,
OAuthAccessToken,
PDFFile,
Person,
TaskUserAssignment,
)
from ..util.apps import AppConfig
from ..util.core_helpers import get_allowed_object_ids, get_app_module, get_app_packages, has_person
from .celery_progress import CeleryProgressFetchedMutation, CeleryProgressType
from .custom_menu import CustomMenuType
from .dynamic_routes import DynamicRouteType
from .group import GroupType # noqa
from .installed_apps import AppType
from .message import MessageType
from .notification import MarkNotificationReadMutation, NotificationType
from .oauth import OAuthAccessTokenType, OAuthRevokeTokenMutation
from .pdf import PDFFileType
from .person import PersonMutation, PersonType
from .school_term import SchoolTermType # noqa
from .search import SearchResultType
from .system_properties import SystemPropertiesType
from .two_factor import TwoFactorType
from .user import UserType
class Query(graphene.ObjectType):
ping = graphene.String(payload=graphene.String())
notifications = graphene.List(NotificationType)
persons = graphene.List(PersonType)
person_by_id = graphene.Field(PersonType, id=graphene.ID())
person_by_id_or_me = graphene.Field(PersonType, id=graphene.ID())
who_am_i = graphene.Field(UserType)
system_properties = graphene.Field(SystemPropertiesType)
installed_apps = graphene.List(AppType)
celery_progress_by_task_id = graphene.Field(CeleryProgressType, task_id=graphene.String())
celery_progress_by_user = graphene.List(CeleryProgressType)
pdf_by_id = graphene.Field(PDFFileType, id=graphene.ID())
search_snippets = graphene.List(
SearchResultType, query=graphene.String(), limit=graphene.Int(required=False)
)
messages = graphene.List(MessageType)
custom_menu_by_name = graphene.Field(CustomMenuType, name=graphene.String())
dynamic_routes = graphene.List(DynamicRouteType)
two_factor = graphene.Field(TwoFactorType)
oauth_access_tokens = graphene.List(OAuthAccessTokenType)
def resolve_ping(root, info, payload) -> str:
return payload
def resolve_notifications(root, info, **kwargs):
return Notification.objects.filter(
Q(
pk__in=get_objects_for_user(
info.context.user, "core.view_person", Person.objects.all()
)
)
| Q(recipient=info.context.user.person)
)
def resolve_persons(root, info, **kwargs):
return get_objects_for_user(info.context.user, "core.view_person", Person.objects.all())
def resolve_person_by_id(root, info, id): # noqa
person = Person.objects.get(pk=id)
if not info.context.user.has_perm("core.view_person_rule", person):
raise PermissionDenied()
return person
def resolve_person_by_id_or_me(root, info, **kwargs): # noqa
# Returns person associated with current user if id is None, else the person with the id
if "id" not in kwargs or kwargs["id"] is None:
return info.context.user.person if has_person(info.context.user) else None
person = Person.objects.get(pk=kwargs["id"])
if not info.context.user.has_perm("core.view_person_rule", person):
raise PermissionDenied()
return person
def resolve_who_am_i(root, info, **kwargs):
return info.context.user
def resolve_system_properties(root, info, **kwargs):
return True
def resolve_installed_apps(root, info, **kwargs):
return [app for app in apps.get_app_configs() if isinstance(app, AppConfig)]
def resolve_celery_progress_by_task_id(root, info, task_id, **kwargs):
task = TaskUserAssignment.objects.get(task_result__task_id=task_id)
if not info.context.user.has_perm("core.view_progress_rule", task):
raise PermissionDenied()
progress = task.get_progress_with_meta()
return progress
def resolve_celery_progress_by_user(root, info, **kwargs):
if info.context.user.is_anonymous:
return None
tasks = TaskUserAssignment.objects.filter(user=info.context.user)
return [
task.get_progress_with_meta()
for task in tasks
if task.get_progress_with_meta()["complete"] is False
]
def resolve_pdf_by_id(root, info, id, **kwargs): # noqa
pdf_file = PDFFile.objects.get(pk=id)
if has_person(info.context) and not info.context.user.person == pdf_file.person:
raise PermissionDenied()
return pdf_file
def resolve_search_snippets(root, info, query, limit=-1, **kwargs):
indexed_models = UnifiedIndex().get_indexed_models()
allowed_object_ids = get_allowed_object_ids(info.context.user, indexed_models)
if allowed_object_ids:
results = (
SearchQuerySet().filter(id__in=allowed_object_ids).filter(text=AutoQuery(query))
)
if limit < 0:
return results
return results[:limit]
else:
return None
def resolve_messages(root, info, **kwargs):
return get_messages(info.context)
def resolve_custom_menu_by_name(root, info, name, **kwargs):
return CustomMenu.get_default(name)
def resolve_dynamic_routes(root, info, **kwargs):
dynamic_routes = []
for dynamic_route_object in DynamicRoute.registered_objects_dict.values():
dynamic_routes += dynamic_route_object.get_dynamic_routes()
return dynamic_routes
def resolve_two_factor(root, info, **kwargs):
if info.context.user.is_anonymous:
return None
return info.context.user
@staticmethod
def resolve_oauth_access_tokens(root, info, **kwargs):
return OAuthAccessToken.objects.filter(user=info.context.user)
class Mutation(graphene.ObjectType):
update_person = PersonMutation.Field()
mark_notification_read = MarkNotificationReadMutation.Field()
celery_progress_fetched = CeleryProgressFetchedMutation.Field()
revoke_oauth_token = OAuthRevokeTokenMutation.Field()
def build_global_schema():
"""Build global GraphQL schema from all apps."""
query_bases = [Query]
mutation_bases = [Mutation]
for app in get_app_packages():
schema_mod = get_app_module(app, "schema")
if not schema_mod:
# The app does not define a schema
continue
if AppQuery := getattr(schema_mod, "Query", None):
query_bases.append(AppQuery)
if AppMutation := getattr(schema_mod, "Mutation", None):
mutation_bases.append(AppMutation)
# Define classes using all query/mutation classes as mixins
# cf. https://docs.graphene-python.org/projects/django/en/latest/schema/#adding-to-the-schema
GlobalQuery = type("GlobalQuery", tuple(query_bases), {})
GlobalMutation = type("GlobalMutation", tuple(mutation_bases), {})
return graphene.Schema(query=GlobalQuery, mutation=GlobalMutation)
schema = build_global_schema() | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/schema/__init__.py | __init__.py |
import graphene
from graphene import ObjectType
from two_factor.plugins.email.utils import mask_email
from two_factor.plugins.phonenumber.utils import (
backup_phones,
format_phone_number,
get_available_phone_methods,
mask_phone_number,
)
from two_factor.plugins.registry import registry
from two_factor.utils import default_device
class TwoFactorDeviceType(ObjectType):
persistent_id = graphene.ID()
name = graphene.String()
method_code = graphene.String()
verbose_name = graphene.String()
confirmed = graphene.Boolean()
method_verbose_name = graphene.String()
action = graphene.String()
verbose_action = graphene.String()
def get_method(root, info, **kwargs):
if getattr(root, "method", None):
return registry.get_method(root.method)
return registry.method_from_device(root)
def resolve_action(root, info, **kwargs):
method = TwoFactorDeviceType.get_method(root, info, **kwargs)
return method.get_action(root)
def resolve_verbose_action(root, info, **kwargs):
method = TwoFactorDeviceType.get_method(root, info, **kwargs)
return method.get_verbose_action(root)
def resolve_verbose_name(root, info, **kwargs):
method = TwoFactorDeviceType.get_method(root, info, **kwargs)
if method.code in ["sms", "call"]:
return mask_phone_number(format_phone_number(root.number))
elif method.code == "email":
email = root.email or root.user.email
if email:
return mask_email(email)
return method.verbose_name
def resolve_method_verbose_name(root, info, **kwargs):
method = TwoFactorDeviceType.get_method(root, info, **kwargs)
return method.verbose_name
def resolve_method_code(root, info, **kwargs):
method = TwoFactorDeviceType.get_method(root, info, **kwargs)
return method.code
class PhoneTwoFactorDeviceType(TwoFactorDeviceType):
number = graphene.String
class TwoFactorType(ObjectType):
activated = graphene.Boolean()
default_device = graphene.Field(TwoFactorDeviceType)
backup_phones = graphene.List(PhoneTwoFactorDeviceType)
other_devices = graphene.List(TwoFactorDeviceType)
backup_tokens_count = graphene.Int()
phone_methods_available = graphene.Boolean()
def resolve_backup_tokens_count(root, info, **kwargs):
try:
backup_tokens = root.staticdevice_set.all()[0].token_set.count()
except Exception:
backup_tokens = 0
return backup_tokens
def resolve_phone_methods_available(root, info, **kwargs):
return bool(get_available_phone_methods())
def resolve_default_device(root, info, **kwargs):
return default_device(root)
def resolve_activated(root, info, **kwargs):
return bool(default_device(root))
def resolve_other_devices(root, info, **kwargs):
main_device = TwoFactorType.resolve_default_device(root, info, **kwargs)
other_devices = []
for method in registry.get_methods():
other_devices += list(method.get_other_authentication_devices(root, main_device))
return other_devices
def resolve_backup_phones(root, info, **kwargs):
return backup_phones(root) | AlekSIS-Core | /aleksis_core-3.1.5-py3-none-any.whl/aleksis/core/schema/two_factor.py | two_factor.py |
import cv2
import numpy as np
import mediapipe as mp
from threading import Thread
import os
import winsound
class start_session:
def initiate_mediapipe(self):
mpFaceMesh = mp.solutions.face_mesh
faceMesh = mpFaceMesh.FaceMesh(max_num_faces=1)
mpDraw =mp.solutions.drawing_utils
drawSpec = mpDraw.DrawingSpec(thickness=1, circle_radius=2)
mpHands=mp.solutions.hands
hands = mpHands.Hands()
return faceMesh, hands
#creating a function to play alarm
def play_sound(self):
frequency = 250 # Set Frequency To 2500 Hertz
duration = 1000 # Set Duration To 1000 ms == 1 second
winsound.Beep(frequency, duration)
def start_alert(self):
faceMesh, hands =self.initiate_mediapipe()
cap = cv2.VideoCapture(0)
while True:
_, frame = cap.read()
h, w, nc = frame.shape
# print(h, w)
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
imgRGB =cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
##detecting face landmarks
face_results = faceMesh.process(imgRGB)
if face_results.multi_face_landmarks:
for faceLms in face_results.multi_face_landmarks:
for id, lm in enumerate(faceLms.landmark):
if id ==0:
cx, cy = int(lm.x * w), int(lm.y * h)
noseX, noseY = cx, cy
##detecting hand landmarks
hand_results=hands.process(imgRGB)
if hand_results.multi_hand_landmarks:
for handLms in hand_results.multi_hand_landmarks:
for id, lm in enumerate(handLms.landmark):
if id==8:
cx, cy = int(lm.x*w), int(lm.y*h)
##finding the coordinates for the tip of index finger
indexTipX, indexTipY = cx, cy
##Playing alarm when the distance between nose and indix finger tip is less than 30
if abs(indexTipX - noseX)< 60 and abs(indexTipY-noseY) < 60:
t=Thread(target=self.play_sound())
t.daemon=True
t.start()
cv2.imshow("Input", frame)
c = cv2.waitKey(1)
if c == 27:
break
cap.release()
cv2.destroyAllWindows()
# self.alert() | Alert-Behavior | /Alert_Behavior-1-py3-none-any.whl/Alert_Behavior/alert.py | alert.py |
import requests
from alerts_in_ua.location import Location
from alerts_in_ua.locations import Locations
from alerts_in_ua.exceptions import InvalidToken, TooManyRequests, UnknownError
class AlertsClient:
def __init__(self, token: str, dev: bool = False):
"""
Клієнт. Дані беруться з сайту "alerts_in_ua.in.ua"
:param token: Токен доступу
:param dev: Використання тестового сервера
"""
self.__token = token
self.__url = f"https://{'dev-' if dev else ''}api.alerts.in.ua/v1/alerts/active.json"
self.__headers = {"Authorization": f"Bearer {self.__token}"}
self.__locations = ...
def get_active(self) -> Locations:
"""
Повертає список місць з тревогою
:raise InvalidToken: Не дійсний токен
:raise TooManyRequests: Забагато запитів
:raise UnknownError: Невідома помилка
"""
response = requests.get(url=self.__url, headers=self.__headers)
data = response.json()
match response.status_code:
case 200:
pass
case 304:
return self.__locations
case 401:
raise InvalidToken("API token required. Please contact api@alerts_in_ua.in.ua for details.")
case 429:
raise TooManyRequests("API Reach Limit. You should call API no more than 3-4 times per minute")
case _:
if "message" not in response.json():
raise UnknownError("Unknown error. Please contact the developer. Telegram: @FOUREX_dot_py")
raise UnknownError(response.json()["message"])
_alerts = data["alerts"]
_meta = data["meta"]
self.__locations = Locations(disclaimer=data["disclaimer"], last_updated_at=_meta["last_updated_at"])
for alert in _alerts:
location_id = alert["id"]
location_title = alert["location_title"]
location_type = alert["location_type"]
started_at = alert["started_at"]
finished_at = alert["finished_at"]
updated_at = alert["updated_at"]
alert_type = alert["alert_type"]
location_uid = alert["location_uid"]
location_oblast = alert["location_oblast"]
location_raion = None
notes = alert["notes"]
calculated = alert["calculated"]
if "location_raion" in alert:
location_raion = alert["location_raion"]
location = Location(
location_id,
location_title,
location_type,
started_at,
finished_at,
updated_at,
alert_type,
location_uid,
location_oblast,
location_raion,
notes,
calculated,
)
self.__locations.append(location)
return self.__locations | Alerts-in-ua.py | /Alerts_in_ua.py-1.2-py3-none-any.whl/alerts_in_ua/alerts_client.py | alerts_client.py |
import aiohttp
from alerts_in_ua.location import Location
from alerts_in_ua.locations import Locations
from alerts_in_ua.exceptions import InvalidToken, TooManyRequests, UnknownError
class AsyncAlertsClient:
def __init__(self, token: str, dev: bool = False):
"""
Асинхронний клієнт, рекомендовано використовувати для ботів. Дані беруться з сайту "alerts_in_ua.in.ua"
:param token: Токен доступу
:param dev: Використання тестового сервера
"""
self.__token = token
self.__url = f"https://{'dev-' if dev else ''}api.alerts.in.ua/v1/alerts/active.json"
self.__headers = {"Authorization": f"Bearer {self.__token}"}
self.__locations = ...
async def get_active(self) -> Locations:
"""
Повертає список місць з тревогою
:raise InvalidToken: Не дійсний токен
:raise TooManyRequests: Забагато запитів
:raise UnknownError: Невідома помилка
"""
async with aiohttp.ClientSession() as session:
async with session.get(url=self.__url, headers=self.__headers) as response:
data = await response.json()
match response.status:
case 200:
pass
case 304:
return self.__locations
case 401:
raise InvalidToken("API token required. Please contact api@alerts_in_ua.in.ua for details.")
case 429:
raise TooManyRequests("API Reach Limit. You should call API no more than 3-4 times per minute")
case _:
if "message" not in data:
raise UnknownError("Unknown error. Please contact the developer. Telegram: @FOUREX_dot_py")
raise UnknownError(data["message"])
_alerts = data["alerts"]
_meta = data["meta"]
self.__locations = Locations(disclaimer=data["disclaimer"], last_updated_at=_meta["last_updated_at"])
for alert in _alerts:
location_id = alert["id"]
location_title = alert["location_title"]
location_type = alert["location_type"]
started_at = alert["started_at"]
finished_at = alert["finished_at"]
updated_at = alert["updated_at"]
alert_type = alert["alert_type"]
location_uid = alert["location_uid"]
location_oblast = alert["location_oblast"]
location_raion = None
notes = alert["notes"]
calculated = alert["calculated"]
if "location_raion" in alert:
location_raion = alert["location_raion"]
location = Location(
location_id,
location_title,
location_type,
started_at,
finished_at,
updated_at,
alert_type,
location_uid,
location_oblast,
location_raion,
notes,
calculated,
)
self.__locations.append(location)
return self.__locations | Alerts-in-ua.py | /Alerts_in_ua.py-1.2-py3-none-any.whl/alerts_in_ua/async_alerts_client.py | async_alerts_client.py |
A CLI app used to stimulate a forum for fake job alerts and allow users either post a fake job or search with keywords
### How to install
Verify that you have the following prerequisites in place before installing the sample:
- Install Python from https://www.python.org/. The program can be run on any operating system that supports Python 3.x, including recent versions of Windows, Linux, and Mac OS. In some cases, you may need to use a different command to launch Python.
Depedencies include Twilio, Pyfiglet, termcolor
You can follow either step to install the program on your computer:
1. Clone the repo with this command:
`git clone https://github.com/startng/forward4_alerts.git`
- Create and activate a virtual environment (optional).
- In the root folder of your cloned repo, install the dependencies for the sample as listed in the requirements.txt file with this command: pip install -r requirements.txt.
2. Run
`pip install Alerts4`
This would install the program on your system
### How to use
If you installed using the clone method, then do this
1. Go into the root directory of the repo
2. Then run the following command on the terminal
`python -m forwardAlert4`
3. Follow the instruction prompt
Else if you installed using the pip command
1. Open a terminal and run
`forwardAlert4`
2. Follow the instruction prompt
## NOTE
To use the application as desired, you need to setup your gmail account to allow for email notifications
- First go to https://myaccount.google.com
- Set **"Allow less secure apps"** to True or On whichever the case maybe
You need to also get a twilio account for the sms notifications
- First create an account at https://twilio.com
- Create a project and obtain a twilio auth token and SID
- Obtain your twilio number
Please do note that with a free account, twilio only allows you to send messages to verified number
So to be able to receive the sms, go to your twilio dashboard and register the phone number you plan on using to get the sms.
After getting these variables, upon using the application, you'd be prompted to input these variables.
**These variables can only be input once so do as much with accuracy as to ensure no error** | Alerts4 | /Alerts4-0.0.5.tar.gz/Alerts4-0.0.5/README.MD | README.MD |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.