UNPKG

@skhemata/skhemata-crowdfunding-campaign

Version:

Skhemata Crowdfunding Campaign Web Component. This web component provides crowdfunding campaign functionality (reward/donation based) for a website.

54 lines (53 loc) 2.15 kB
import { SkhemataBase, CSSResult } from '@skhemata/skhemata-base'; import { campaignInfo } from './campaignInfo'; import { campaignDescription } from './campaignDescription'; import { campaignFaq } from './campaignFaq'; import { campaignBackers } from './campaignBackers'; import { CampaignContribution } from './CampaignContribution'; import { CardReward } from './components/CardReward'; import { Menu } from './components/Menu'; import { CampaignCreator } from './components/CampaignCreator'; import { CampaignReward } from './components/CampaignReward'; import { CampaignProfile } from './CampaignProfile'; export declare class SkhemataCrowdfundingCampaign extends SkhemataBase { static get styles(): CSSResult[]; static get scopedElements(): { 'campaign-info': typeof campaignInfo; 'campaign-faq': typeof campaignFaq; 'campaign-backers': typeof campaignBackers; 'campaign-contribution': typeof CampaignContribution; 'menu-component': typeof Menu; 'campaign-description': typeof campaignDescription; 'card-reward-component': typeof CardReward; 'campaign-creator-component': typeof CampaignCreator; 'campaign-reward-component': typeof CampaignReward; 'campaign-profile-component': typeof CampaignProfile; }; apiUrl?: string; locPath?: string; apiFull?: string; campaignId?: number; currentPage?: string; clickedReward?: string; clickedRewardAmount?: number; campaign?: any; authState: boolean; stripeInfoPublishableKey: string; /** * Implement firstUpdated to perform one-time work after * the element’s template has been created. */ firstUpdated(): Promise<void>; handleContribute: () => void; handleProfile: () => void; handleBack: () => void; handleAuthStateChange: () => void; getStripeKeys: () => Promise<void>; mobileMenuToggle: () => void; handleRewardClick: (reward: string, amount: number) => void; render(): import("lit-html").TemplateResult<1>; private getCampaign; private tabEvent; private updateActiveTab; private returnString; }