-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
178 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
// Auto-generated by add_indices.py | ||
import AudioX from "./AudioX"; | ||
import Cache from "./Cache"; | ||
import DICTIONARY from "./DICTIONARY"; | ||
import DictUtils from "./DictUtils"; | ||
import I18N from "./I18N"; | ||
import IDX from "./IDX"; | ||
import MathX from "./MathX"; | ||
import Random from "./Random"; | ||
import TimeX from "./TimeX"; | ||
import URLContext from "./URLContext"; | ||
import WWW from "./WWW"; | ||
|
||
export { | ||
AudioX, | ||
Cache, | ||
DICTIONARY, | ||
DictUtils, | ||
I18N, | ||
IDX, | ||
MathX, | ||
Random, | ||
TimeX, | ||
URLContext, | ||
WWW, | ||
}; | ||
// Auto-generated by add_indices.py | ||
import AudioX from './AudioX' | ||
import Cache from './Cache' | ||
import DICTIONARY from './DICTIONARY' | ||
import DictUtils from './DictUtils' | ||
import I18N from './I18N' | ||
import IDX from './IDX' | ||
import MathX from './MathX' | ||
import Random from './Random' | ||
import TimeX from './TimeX' | ||
import URLContext from './URLContext' | ||
import WWW from './WWW' | ||
|
||
export { | ||
AudioX, | ||
Cache, | ||
DICTIONARY, | ||
DictUtils, | ||
I18N, | ||
IDX, | ||
MathX, | ||
Random, | ||
TimeX, | ||
URLContext, | ||
WWW, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
// Auto-generated by add_indices.py | ||
import VERSION from "./VERSION"; | ||
|
||
export { VERSION }; | ||
// Auto-generated by add_indices.py | ||
import VERSION from './VERSION' | ||
|
||
export { | ||
VERSION, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
// Auto-generated by add_indices.py | ||
import Candidate from "./Candidate"; | ||
import Criterion from "./Criterion"; | ||
import GroundTruth from "./GroundTruth"; | ||
import HomePageContext from "./HomePageContext"; | ||
import Party from "./Party"; | ||
import Version from "./Version"; | ||
import Weight from "./Weight"; | ||
|
||
export { | ||
Candidate, | ||
Criterion, | ||
GroundTruth, | ||
HomePageContext, | ||
Party, | ||
Version, | ||
Weight, | ||
}; | ||
// Auto-generated by add_indices.py | ||
import Candidate from './Candidate' | ||
import Criterion from './Criterion' | ||
import GroundTruth from './GroundTruth' | ||
import HomePageContext from './HomePageContext' | ||
import Party from './Party' | ||
import Version from './Version' | ||
import Weight from './Weight' | ||
|
||
export { | ||
Candidate, | ||
Criterion, | ||
GroundTruth, | ||
HomePageContext, | ||
Party, | ||
Version, | ||
Weight, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
// Auto-generated by add_indices.py | ||
import AlignCenter from "./AlignCenter"; | ||
import AlignRight from "./AlignRight"; | ||
import ButtonGoogleSearch from "./ButtonGoogleSearch"; | ||
import ButtonLinkedIn from "./ButtonLinkedIn"; | ||
import ButtonManthriLK from "./ButtonManthriLK"; | ||
import ButtonPage from "./ButtonPage"; | ||
import ButtonParliamentLK from "./ButtonParliamentLK"; | ||
import ButtonRandomWeights from "./ButtonRandomWeights"; | ||
import ButtonRefreshWeights from "./ButtonRefreshWeights"; | ||
import ButtonWikipedia from "./ButtonWikipedia"; | ||
import ButtonXTwitter from "./ButtonXTwitter"; | ||
import GenericButtonLink from "./GenericButtonLink"; | ||
import TimeView from "./TimeView"; | ||
|
||
export { | ||
AlignCenter, | ||
AlignRight, | ||
ButtonGoogleSearch, | ||
ButtonLinkedIn, | ||
ButtonManthriLK, | ||
ButtonPage, | ||
ButtonParliamentLK, | ||
ButtonRandomWeights, | ||
ButtonRefreshWeights, | ||
ButtonWikipedia, | ||
ButtonXTwitter, | ||
GenericButtonLink, | ||
TimeView, | ||
}; | ||
// Auto-generated by add_indices.py | ||
import AlignCenter from './AlignCenter' | ||
import AlignRight from './AlignRight' | ||
import ButtonGoogleSearch from './ButtonGoogleSearch' | ||
import ButtonLinkedIn from './ButtonLinkedIn' | ||
import ButtonManthriLK from './ButtonManthriLK' | ||
import ButtonPage from './ButtonPage' | ||
import ButtonParliamentLK from './ButtonParliamentLK' | ||
import ButtonRandomWeights from './ButtonRandomWeights' | ||
import ButtonRefreshWeights from './ButtonRefreshWeights' | ||
import ButtonWikipedia from './ButtonWikipedia' | ||
import ButtonXTwitter from './ButtonXTwitter' | ||
import GenericButtonLink from './GenericButtonLink' | ||
import TimeView from './TimeView' | ||
|
||
export { | ||
AlignCenter, | ||
AlignRight, | ||
ButtonGoogleSearch, | ||
ButtonLinkedIn, | ||
ButtonManthriLK, | ||
ButtonPage, | ||
ButtonParliamentLK, | ||
ButtonRandomWeights, | ||
ButtonRefreshWeights, | ||
ButtonWikipedia, | ||
ButtonXTwitter, | ||
GenericButtonLink, | ||
TimeView, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { Stack, Typography, Divider } from "@mui/material"; | ||
import PartyView from "./PartyView"; | ||
import AppColors from "../_constants/AppColors"; | ||
|
||
export default function SupportView({ support }) { | ||
if (!support) { | ||
return null; | ||
} | ||
const partyCodeList = support.split(",").map((party) => party.trim()); | ||
return ( | ||
<Stack direction="row" gap={0.5}> | ||
<Typography | ||
variant="caption" | ||
component="span" | ||
color={AppColors.MoreLight} | ||
> | ||
Support from | ||
</Typography> | ||
<Stack | ||
direction="row" | ||
gap={0.5} | ||
divider={<Divider orientation="vertical" flexItem variant="middle" />} | ||
> | ||
{partyCodeList.map(function (partyCode) { | ||
return <PartyView key={partyCode} partyCode={partyCode} />; | ||
})} | ||
</Stack>{" "} | ||
</Stack> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
// Auto-generated by add_indices.py | ||
import CandidateProfileView from "./CandidateProfileView"; | ||
import CandidateView from "./CandidateView"; | ||
import CandidatesLeaderBoard from "./CandidatesLeaderBoard"; | ||
import CandidatesLeaderBoardShort from "./CandidatesLeaderBoardShort"; | ||
import CriteriaView from "./CriteriaView"; | ||
import CriterionToWeightView from "./CriterionToWeightView"; | ||
import CriterionView from "./CriterionView"; | ||
import CustomAppBar from "./CustomAppBar"; | ||
import GroundTruthView from "./GroundTruthView"; | ||
import HelpMenu from "./HelpMenu"; | ||
import HomePageBottomNavigation from "./HomePageBottomNavigation"; | ||
import PartyView from "./PartyView"; | ||
import WeightView from "./WeightView"; | ||
|
||
export { | ||
CandidateProfileView, | ||
CandidateView, | ||
CandidatesLeaderBoard, | ||
CandidatesLeaderBoardShort, | ||
CriteriaView, | ||
CriterionToWeightView, | ||
CriterionView, | ||
CustomAppBar, | ||
GroundTruthView, | ||
HelpMenu, | ||
HomePageBottomNavigation, | ||
PartyView, | ||
WeightView, | ||
}; | ||
// Auto-generated by add_indices.py | ||
import CandidateProfileView from './CandidateProfileView' | ||
import CandidateView from './CandidateView' | ||
import CandidatesLeaderBoard from './CandidatesLeaderBoard' | ||
import CandidatesLeaderBoardShort from './CandidatesLeaderBoardShort' | ||
import CriteriaView from './CriteriaView' | ||
import CriterionToWeightView from './CriterionToWeightView' | ||
import CriterionView from './CriterionView' | ||
import CustomAppBar from './CustomAppBar' | ||
import GroundTruthView from './GroundTruthView' | ||
import HelpMenu from './HelpMenu' | ||
import HomePageBottomNavigation from './HomePageBottomNavigation' | ||
import PartyView from './PartyView' | ||
import SupportView from './SupportView' | ||
import WeightView from './WeightView' | ||
|
||
export { | ||
CandidateProfileView, | ||
CandidateView, | ||
CandidatesLeaderBoard, | ||
CandidatesLeaderBoardShort, | ||
CriteriaView, | ||
CriterionToWeightView, | ||
CriterionView, | ||
CustomAppBar, | ||
GroundTruthView, | ||
HelpMenu, | ||
HomePageBottomNavigation, | ||
PartyView, | ||
SupportView, | ||
WeightView, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
// Auto-generated by add_indices.py | ||
import AbstractInnerPage from "./AbstractInnerPage"; | ||
import AbstractStepPage from "./AbstractStepPage"; | ||
import CandidatePage from "./CandidatePage"; | ||
import CriteriaPage from "./CriteriaPage"; | ||
import GroundTruthPage from "./GroundTruthPage"; | ||
import HomePage from "./HomePage"; | ||
import PAGE_CONFIG_LIST from "./PAGE_CONFIG_LIST"; | ||
import StartPage from "./StartPage"; | ||
|
||
export { | ||
AbstractInnerPage, | ||
AbstractStepPage, | ||
CandidatePage, | ||
CriteriaPage, | ||
GroundTruthPage, | ||
HomePage, | ||
PAGE_CONFIG_LIST, | ||
StartPage, | ||
}; | ||
// Auto-generated by add_indices.py | ||
import AbstractInnerPage from './AbstractInnerPage' | ||
import AbstractStepPage from './AbstractStepPage' | ||
import CandidatePage from './CandidatePage' | ||
import CriteriaPage from './CriteriaPage' | ||
import GroundTruthPage from './GroundTruthPage' | ||
import HomePage from './HomePage' | ||
import PAGE_CONFIG_LIST from './PAGE_CONFIG_LIST' | ||
import StartPage from './StartPage' | ||
|
||
export { | ||
AbstractInnerPage, | ||
AbstractStepPage, | ||
CandidatePage, | ||
CriteriaPage, | ||
GroundTruthPage, | ||
HomePage, | ||
PAGE_CONFIG_LIST, | ||
StartPage, | ||
} |