import { BaseApplicationCustomizer } from '@microsoft/sp-application-base'; import { IProjectSetupData, IProjectSetupProperties } from './types'; export default class ProjectSetup extends BaseApplicationCustomizer { private _portal; private _isSetup; private _placeholderIds; onInit(): Promise; private _ensureParentProjectPatch; /** * Intiialize setup * * @param taskParams - Task params */ private _initializeSetup; /** * Adds the old custom navigation nodes to the quick launch menu */ private recreateNavMenu; /** * Checks for force template * * @param data - Data */ private _checkForceTemplate; /** * Get provisioning info from TemplateSelectDialog * * @param data - Data */ private _getProvisioningInfo; /** * Render ProgressDialog * * @param props - Props */ private _renderProgressDialog; /** * Render ErrorDialog * * @param props - Props */ private _renderErrorDialog; /** * Start provision * * Get tasks using `Tasks.getTasks` and runs through them in sequence * * @param taskParams Task params * @param data Data */ private _startProvision; /** * On task status updated * * @param label - Progress label * @param description - Progress description * @param iconName - Icon name */ private _onTaskStatusUpdated; /** * Get templates from portal site. Checks for locked template in property bag, * and if found, returns only that template if it exists. Otherwise, returns all * templates from the templates library. * * @param propertyBagRegex - Regex to match property bag key for locked template */ private _getTemplates; /** * Fetch data from SharePoint and initializes the `MSGraphHelper`. This is * called when the component is first loaded. */ private _fetchData; /** * Get validation */ private get _validation(); /** * Unmount component at container * * @param container - HTML container elememnt */ private _unmount; /** * Get container */ private get _container(); /** * Get placeholder by key * * @param key - Key */ private _getPlaceholder; /** * Check if the project is previously set up. */ private _isProjectSetup; private get version(); } export { IProjectSetupData }; //# sourceMappingURL=index.d.ts.map