/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { cookieConfig } from "./components/modal/cookie-modal/types"; import { Variants } from "./components/tabs/kclsu-tabs/tabtypes"; export namespace Components { interface ArrowButton { /** * The callback function for the button */ "callback": () => void; /** * Set the direction of the arrow button (and the side of the containing element it appears on) */ "direction": string; /** * Turn the button purple */ "purple": boolean; } interface CampaignAim { } interface CampaignNews { /** * The MSL organisation ID where the news is kept - filled in automatically by campaign-tabs parent */ "newsid": string; } interface CampaignTabs { /** * The URL of the facebook page or group */ "facebook": string; /** * The MSL organisation ID where the news is kept */ "newsid": string; /** * The URL of the document for the Strategy Doc uploaded under Resources for that campaign organisation. */ "strategydoc": string; } interface CandidateDisplay { "data": any; /** * URL for a page to hold breakdowns, as a fallback option */ "electionid": string | number; /** * URL for a page to hold breakdowns, as a fallback option */ "emitpostid": boolean; /** * URL for a page to hold breakdowns, as a fallback option */ "fallbackbreakdownurl": any; /** * Using legacy data */ "legacy": boolean; } interface CandidateUpload { /** * MSL ELections ID */ "electionid": string; /** * The JSON generated from the browser-side uploaded excel spreadsheet */ "spreadsheetdata": any; /** * Either 'candidates' or 'results'. Will set the firebase url and key map */ "stage": string; } interface CloudinaryApp { /** * The Cloudinary image id - provided using the browser-side upload script, or using the the node server function */ "public_id": string; } interface CookieModal { "config": cookieConfig; "daysvalid": number; "devmode": boolean; } interface DesktopHide { /** * In addition to hiding all children content in screens desktop + bigger, this will hide content in screens tablet + bigger */ "hidetablet": boolean; } interface ElectionsCandidates { /** * The election ID from MSL! */ "electionid": string; /** * Choose to use a single page to keep all post result breakdowns. Appears on each candidate profile card, in the breakdown link */ "fallbackbreakdownurl": any; /** * Use the legacy system for results */ "legacy": boolean; /** * Filter out RON profiles in the candidate listing */ "removeron": boolean; /** * Set to true to display results data. False to display All Candidates */ "results": boolean; } interface ElectionsFooter { } interface ElectionsTab { "active": boolean; "combineresults": boolean; "injectcandidates": string; "posts": string; "tabtitle": string; "type": 'single' | 'multiple' | 'groupings'; } interface EventCard { "addFocus": () => Promise; /** * The title for the card - usually a full name */ "cardtitle": string; /** * A sub heading - usually the date */ "date": string; /** * The ID string for click events, using Stencil's Emitter. Only applies to card's bottom right link- DEVELOPER USE */ "emitid": string; /** * The image URL */ "image": string; /** * Specifiy which part of the image to focus on. Defaults to center */ "imagefocus": 'center' | 'top' | 'bottom' | 'right' | 'left' | 'faces'; /** * The URL link for the primary text link on the bottom left of the card */ "link": string; /** * Applies to lazy loading of images. Remove lazy loading */ "nolazy": boolean; /** * A call back function to be supplied for the first (left hand side) call to action, as well as the clickable name */ "primaryfn": () => void; } interface EventsListing { /** * Choose the card component for each event */ "cardtype": 'label' | 'text' | 'profile'; /** * Show event cards in a column */ "col": boolean; /** * The Call To Action text in the link on profile cards */ "cta": string; /** * The MSL event tag to filter events */ "eventtag": string; /** * The max number of events to display */ "limit": string; } interface ExitButton { "addFocus": () => Promise; /** * The callback function for the button */ "callback": () => void; /** * Change the colour of the exit button to purple */ "purple": boolean; } interface FlexContainer { /** * The same as the 'justify-content' flex property along the x axis */ "alignx": string; /** * The same as the 'align-items' flex property along the y axis */ "aligny": string; /** * Set the flex direction: column, reverse-column, row, reverse-row */ "direction": string; /** * Ensure the container stretches the full width and height of parent container */ "fillcontainer": boolean; /** * In mobile display in column direction - NOT YET RELEASED */ "mobcolumn": boolean; /** * If the parent container element needs to be an