@progress/sitefinity-nextjs-sdk
Version:
Provides OOB widgets developed using the Next.js framework, which includes an abstraction layer for Sitefinity communication. Additionally, it offers an expanded API, typings, and tools for further development and integration.
9 lines (8 loc) • 642 B
TypeScript
export declare function getCheckboxId(facetName: string, facetValue: string): string;
export declare function getFacetKeyFromCheckboxId(checkboxId: string): string;
export declare const RANGE_SEPARATOR = "__sf-range__";
export declare const DATE_AND_TIME = "DateAndTime";
export declare const computeFacetRangeValueForType: (fieldType: string, fromValue: string, toValue: string) => string;
export declare const computeFacetRangeLabelForType: (fieldType: string, fromValue: string, toValue: string) => string;
export declare const formatDateValue: (date: string) => string;
export declare const isEventCodeAllowed: (code: string) => boolean;