@skhemata/skhemata-crowdfunding-campaign
Version:
Skhemata Crowdfunding Campaign Web Component. This web component provides crowdfunding campaign functionality (reward/donation based) for a website.
38 lines (37 loc) • 1.42 kB
TypeScript
import { SkhemataBase, CSSResult } from '@skhemata/skhemata-base';
import { CardReward } from './components/CardReward';
import { Menu } from './components/Menu';
import { CampaignHeader } from './contribution/CampaignHeader';
import { campaignInfo } from './campaignInfo';
import { BackedCampaignListItem } from './components/BackedCampaignListItem';
export declare class CampaignProfile extends SkhemataBase {
static get styles(): CSSResult[];
static get scopedElements(): {
'card-reward-component': typeof CardReward;
'campaign-header-component': typeof CampaignHeader;
'menu-component': typeof Menu;
'campaign-info-component': typeof campaignInfo;
'backed-campaign-list-item-component': typeof BackedCampaignListItem;
};
apiUrl?: number;
apiFull?: string;
campaignMainImage?: string;
campaignId?: number;
campaign?: any;
currencySymbols?: any;
backedCampaigns?: any;
currencies?: any;
userProfile?: any;
authState?: boolean;
handleAuthStateChange: () => void;
handleBack: () => void;
firstUpdated(): Promise<void>;
updated(): void;
loadUserProfile: () => Promise<void>;
loadBackedCampaigns: () => Promise<void>;
addCurrencySymbols: (amount: string) => string;
render(): import("lit-html").TemplateResult<1>;
private getCampaignMainImage;
private embedUrl;
private returnString;
}