UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

31 lines 1.68 kB
/** * 2024-09-03: Migrated from fps-library-v2\src\common\PropPaneHelp\preconfig */ import { ISitePreConfigProps } from "./IPreConfig"; import { IMinWPBannerProps } from "../../../banner/interfaces/MinWP/IMinWPBannerProps"; import { IThisFPSWebPartClass } from "../../../banner/FPSWebPartClass/IThisFPSWebPartClass1152"; /** * 2025-03-08: Updated applyPreConfiguredProps/applyPresetCollectionDefaults to activate the _class: [] options for setting class based variables based upon the webpart and site * https://github.com/mikezimm/pivottiles7/issues/393 * * import { getThisSitesPreConfigProps } from "./getThisSitesPreConfigProps"; * run first: sitePresets = getThisSitesPreConfigProps( PreConfiguredProps, thisProps, context.pageContext.web.serverRelativeUrl ); * * @param sitePresets = getThisSitesPreConfigProps( PreConfiguredProps, thisProps, context.pageContext.web.serverRelativeUrl ); * @param PreConfiguredProps * @param thisProps * @param thisWPClass * @returns */ export declare function applyPreConfiguredProps(sitePresets: ISitePreConfigProps, thisProps: IMinWPBannerProps, thisWPClass: IThisFPSWebPartClass): ISitePreConfigProps; /** * import { getThisSitesPreConfigProps } from "./getThisSitesPreConfigProps"; * run first: sitePresets = getThisSitesPreConfigProps( PreConfiguredProps, thisProps, context.pageContext.web.serverRelativeUrl ); * * @param PreConfiguredProps * @param thisProps * @param thisWPClass * @returns */ export declare function applyPreConfiguredClass(sitePresets: ISitePreConfigProps, thisWPClass: IThisFPSWebPartClass): ISitePreConfigProps; //# sourceMappingURL=ApplyPresets.d.ts.map