@o3r/components
Version:
This module contains component-related features (Component replacement, CMS compatibility, helpers, pipes, debugging developer tools...) It comes with an integrated ng builder to help you generate components compatible with Otter features (CMS integration
65 lines • 3.35 kB
TypeScript
import { PlaceholderTemplateState } from './placeholder-template.state';
export declare const selectPlaceholderTemplateState: import("@ngrx/store").MemoizedSelector<object, PlaceholderTemplateState, import("@ngrx/store").DefaultProjectorFn<PlaceholderTemplateState>>;
/** Select the dictionary of PlaceholderTemplate entities */
export declare const selectPlaceholderTemplateEntities: import("@ngrx/store").MemoizedSelector<object, import("@ngrx/entity").Dictionary<import("./placeholder-template.state").PlaceholderTemplateModel>, (s1: PlaceholderTemplateState) => import("@ngrx/entity").Dictionary<import("./placeholder-template.state").PlaceholderTemplateModel>>;
/**
* Select a specific PlaceholderTemplate
* @param placeholderId
*/
export declare const selectPlaceholderTemplateEntity: (placeholderId: string) => import("@ngrx/store").MemoizedSelector<object, import("./placeholder-template.state").PlaceholderTemplateModel | undefined, (s1: PlaceholderTemplateState) => import("./placeholder-template.state").PlaceholderTemplateModel | undefined>;
/**
* Select the ordered rendered placeholder template full data (url, priority etc.) for a given placeholderId
* Return undefined if the placeholder is not found
* Returns {orderedRenderedTemplates: undefined, isPending: true} if any of the request is still pending
* @param placeholderId
*/
export declare const selectSortedTemplates: (placeholderId: string) => import("@ngrx/store").MemoizedSelector<object, {
orderedTemplates: undefined;
isPending: never;
} | {
orderedTemplates: {
rawUrl: string;
priority: number;
renderedTemplate?: string;
resolvedUrl: string;
}[];
isPending: boolean;
} | undefined, (s1: import("./placeholder-template.state").PlaceholderTemplateModel | undefined, s2: import("../placeholder-request").PlaceholderRequestState) => {
orderedTemplates: undefined;
isPending: never;
} | {
orderedTemplates: {
rawUrl: string;
priority: number;
renderedTemplate?: string;
resolvedUrl: string;
}[];
isPending: boolean;
} | undefined>;
/**
* Select the ordered rendered templates for a given placeholderId
* Return undefined if the placeholder is not found
* Returns {orderedRenderedTemplates: undefined, isPending: true} if any of the request is still pending
* @param placeholderId
* @deprecated Please use {@link selectSortedTemplates} instead
*/
export declare const selectPlaceholderRenderedTemplates: (placeholderId: string) => import("@ngrx/store").MemoizedSelector<object, {
orderedRenderedTemplates: (string | undefined)[] | undefined;
isPending: boolean;
} | undefined, (s1: {
orderedTemplates: undefined;
isPending: never;
} | {
orderedTemplates: {
rawUrl: string;
priority: number;
renderedTemplate?: string;
resolvedUrl: string;
}[];
isPending: boolean;
} | undefined) => {
orderedRenderedTemplates: (string | undefined)[] | undefined;
isPending: boolean;
} | undefined>;
export declare const selectPlaceholderTemplateMode: import("@ngrx/store").MemoizedSelector<object, import("./placeholder-template.state").PlaceholderMode, (s1: PlaceholderTemplateState) => import("./placeholder-template.state").PlaceholderMode>;
//# sourceMappingURL=placeholder-template.selectors.d.ts.map