import { OverlayOptions, PassThroughOptions, Translation } from "primeng/api"; import { AppendTo } from "primeng/types/shared"; import { AccordionContentPassThrough, AccordionHeaderPassThrough, AccordionPanelPassThrough, AccordionPassThrough } from "primeng/types/accordion"; import { AutoCompletePassThrough } from "primeng/types/autocomplete"; import { AvatarPassThrough } from "primeng/types/avatar"; import { AvatarGroupPassThrough } from "primeng/types/avatargroup"; import { BadgePassThrough } from "primeng/types/badge"; import { BlockUIPassThrough } from "primeng/types/blockui"; import { BreadcrumbPassThrough } from "primeng/types/breadcrumb"; import { ButtonPassThrough } from "primeng/types/button"; import { CardPassThrough } from "primeng/types/card"; import { CarouselContentPassThrough, CarouselIndicatorPassThrough, CarouselIndicatorsPassThrough, CarouselItemPassThrough, CarouselNextPassThrough, CarouselPassThrough, CarouselPrevPassThrough } from "primeng/types/carousel"; import { CascadeSelectPassThrough } from "primeng/types/cascadeselect"; import { CheckboxPassThrough } from "primeng/types/checkbox"; import { ChipPassThrough } from "primeng/types/chip"; import { ColorPickerPassThrough } from "primeng/types/colorpicker"; import { CommandMenuPassThrough } from "primeng/types/commandmenu"; import { ConfirmDialogPassThrough } from "primeng/types/confirmdialog"; import { ConfirmPopupPassThrough } from "primeng/types/confirmpopup"; import { DialogPassThrough } from "primeng/types/dialog"; import { DividerPassThrough } from "primeng/types/divider"; import { DockPassThrough } from "primeng/types/dock"; import { DrawerPassThrough } from "primeng/types/drawer"; import { EditorPassThrough } from "primeng/types/editor"; import { FieldsetPassThrough } from "primeng/types/fieldset"; import { FileUploadPassThrough } from "primeng/types/fileupload"; import { FloatLabelPassThrough } from "primeng/types/floatlabel"; import { FluidPassThrough } from "primeng/types/fluid"; import { GalleriaPassThrough } from "primeng/types/galleria"; import { GalleryBackdropPassThrough, GalleryContentPassThrough, GalleryDownloadPassThrough, GalleryFlipXPassThrough, GalleryFlipYPassThrough, GalleryFooterPassThrough, GalleryFullScreenPassThrough, GalleryHeaderPassThrough, GalleryItemPassThrough, GalleryNextPassThrough, GalleryPassThrough, GalleryPrevPassThrough, GalleryRotateLeftPassThrough, GalleryRotateRightPassThrough, GalleryThumbnailContentPassThrough, GalleryThumbnailItemPassThrough, GalleryThumbnailPassThrough, GalleryToolbarItemPassThrough, GalleryToolbarPassThrough, GalleryZoomInPassThrough, GalleryZoomOutPassThrough, GalleryZoomTogglePassThrough } from "primeng/types/gallery"; import { IconFieldPassThrough } from "primeng/types/iconfield"; import { IftaLabelPassThrough } from "primeng/types/iftalabel"; import { ImagePassThrough } from "primeng/types/image"; import { ImageComparePassThrough } from "primeng/types/imagecompare"; import { InplacePassThrough } from "primeng/types/inplace"; import { InputColorAreaBackgroundPassThrough, InputColorAreaHandlePassThrough, InputColorAreaPassThrough, InputColorEyeDropperPassThrough, InputColorPassThrough, InputColorSliderHandlePassThrough, InputColorSliderPassThrough, InputColorSliderTrackPassThrough, InputColorSwatchBackgroundPassThrough, InputColorSwatchPassThrough, InputColorTransparencyGridPassThrough } from "primeng/types/inputcolor"; import { InputGroupPassThrough } from "primeng/types/inputgroup"; import { InputGroupAddonPassThrough } from "primeng/types/inputgroupaddon"; import { InputIconPassThrough } from "primeng/types/inputicon"; import { InputMaskPassThrough } from "primeng/types/inputmask"; import { InputNumberPassThrough } from "primeng/types/inputnumber"; import { InputOtpPassThrough } from "primeng/types/inputotp"; import { InputTextPassThrough } from "primeng/types/inputtext"; import { KnobPassThrough } from "primeng/types/knob"; import { MegaMenuPassThrough } from "primeng/types/megamenu"; import { MenuPassThrough } from "primeng/types/menu"; import { MenubarPassThrough } from "primeng/types/menubar"; import { MessagePassThrough } from "primeng/types/message"; import { MeterGroupPassThrough } from "primeng/types/metergroup"; import { OrderListPassThrough } from "primeng/types/orderlist"; import { OrganizationChartPassThrough } from "primeng/types/organizationchart"; import { OverlayBadgePassThrough } from "primeng/types/overlaybadge"; import { PanelPassThrough } from "primeng/types/panel"; import { PanelMenuPassThrough } from "primeng/types/panelmenu"; import { PopoverPassThrough } from "primeng/types/popover"; import { ProgressBarPassThrough } from "primeng/types/progressbar"; import { ProgressSpinnerPassThrough } from "primeng/types/progressspinner"; import { RadioButtonPassThrough } from "primeng/types/radiobutton"; import { RatingPassThrough } from "primeng/types/rating"; import { VirtualScrollerPassThrough } from "primeng/types/scroller"; import { ScrollPanelPassThrough } from "primeng/types/scrollpanel"; import { ScrollTopPassThrough } from "primeng/types/scrolltop"; import { SelectPassThrough } from "primeng/types/select"; import { SelectButtonPassThrough } from "primeng/types/selectbutton"; import { SkeletonPassThrough } from "primeng/types/skeleton"; import { SliderPassThrough } from "primeng/types/slider"; import { SpeedDialPassThrough } from "primeng/types/speeddial"; import { SplitButtonPassThrough } from "primeng/types/splitbutton"; import { SplitterPassThrough } from "primeng/types/splitter"; import { StepItemPassThrough, StepListPassThrough, StepPanelPassThrough, StepPanelsPassThrough, StepPassThrough, StepperPassThrough, StepperSeparatorPassThrough } from "primeng/types/stepper"; import { ColumnFilterPassThrough, TablePassThrough } from "primeng/types/table"; import { TabListPassThrough, TabPanelPassThrough, TabPanelsPassThrough, TabPassThrough, TabsPassThrough } from "primeng/types/tabs"; import { TagPassThrough } from "primeng/types/tag"; import { TerminalPassThrough } from "primeng/types/terminal"; import { TieredMenuPassThrough } from "primeng/types/tieredmenu"; import { TimelinePassThrough } from "primeng/types/timeline"; import { ToastPassThrough } from "primeng/types/toast"; import { ToggleButtonPassThrough } from "primeng/types/togglebutton"; import { ToggleSwitchPassThrough } from "primeng/types/toggleswitch"; import { ToolbarPassThrough } from "primeng/types/toolbar"; import { TreePassThrough } from "primeng/types/tree"; import { TreeSelectPassThrough } from "primeng/types/treeselect"; import { TreeTablePassThrough } from "primeng/types/treetable"; import { BaseStyle } from "primeng/base"; import * as i0 from "@angular/core"; import { EnvironmentProviders, InjectionToken, Provider } from "@angular/core"; import { Isolation } from "@primeuix/styled/isolation"; /** ZIndex configuration */ export type ZIndex = { modal: number; overlay: number; menu: number; tooltip: number; }; /** Theme configuration */ export type ThemeType = { preset?: any; options?: any; } | 'none' | boolean | undefined; export type ThemeConfigType = { theme?: ThemeType; csp?: { nonce: string | undefined; }; }; export interface GlobalPassThrough { accordion?: AccordionPassThrough; accordionPanel?: AccordionPanelPassThrough; accordionHeader?: AccordionHeaderPassThrough; accordionContent?: AccordionContentPassThrough; autoComplete?: AutoCompletePassThrough; avatar?: AvatarPassThrough; avatarGroup?: AvatarGroupPassThrough; blockUI?: BlockUIPassThrough; breadcrumb?: BreadcrumbPassThrough; card?: CardPassThrough; carousel?: CarouselPassThrough; carouselContent?: CarouselContentPassThrough; carouselItem?: CarouselItemPassThrough; carouselIndicators?: CarouselIndicatorsPassThrough; carouselNext?: CarouselNextPassThrough; carouselPrev?: CarouselPrevPassThrough; carouselIndicator?: CarouselIndicatorPassThrough; cascadeSelect?: CascadeSelectPassThrough; checkbox?: CheckboxPassThrough; chip?: ChipPassThrough; colorPicker?: ColorPickerPassThrough; commandMenu?: CommandMenuPassThrough; columnFilter?: ColumnFilterPassThrough; confirmDialog?: ConfirmDialogPassThrough; confirmPopup?: ConfirmPopupPassThrough; dialog?: DialogPassThrough; divider?: DividerPassThrough; dock?: DockPassThrough; megaMenu?: MegaMenuPassThrough; drawer?: DrawerPassThrough; editor?: EditorPassThrough; fileUpload?: FileUploadPassThrough; floatLabel?: FloatLabelPassThrough; menu?: MenuPassThrough; menubar?: MenubarPassThrough; fluid?: FluidPassThrough; galleria?: GalleriaPassThrough; gallery?: GalleryPassThrough; galleryBackdrop?: GalleryBackdropPassThrough; galleryHeader?: GalleryHeaderPassThrough; galleryContent?: GalleryContentPassThrough; galleryFooter?: GalleryFooterPassThrough; galleryItem?: GalleryItemPassThrough; galleryPrev?: GalleryPrevPassThrough; galleryNext?: GalleryNextPassThrough; galleryZoomIn?: GalleryZoomInPassThrough; galleryZoomOut?: GalleryZoomOutPassThrough; galleryZoomToggle?: GalleryZoomTogglePassThrough; galleryRotateLeft?: GalleryRotateLeftPassThrough; galleryRotateRight?: GalleryRotateRightPassThrough; galleryFlipX?: GalleryFlipXPassThrough; galleryFlipY?: GalleryFlipYPassThrough; galleryDownload?: GalleryDownloadPassThrough; galleryFullScreen?: GalleryFullScreenPassThrough; galleryThumbnail?: GalleryThumbnailPassThrough; galleryThumbnailContent?: GalleryThumbnailContentPassThrough; galleryThumbnailItem?: GalleryThumbnailItemPassThrough; galleryToolbar?: GalleryToolbarPassThrough; galleryToolbarItem?: GalleryToolbarItemPassThrough; iconField?: IconFieldPassThrough; iftaLabel?: IftaLabelPassThrough; inputColor?: InputColorPassThrough; inputColorArea?: InputColorAreaPassThrough; inputColorAreaBackground?: InputColorAreaBackgroundPassThrough; inputColorAreaHandle?: InputColorAreaHandlePassThrough; inputColorSlider?: InputColorSliderPassThrough; inputColorSliderTrack?: InputColorSliderTrackPassThrough; inputColorSliderHandle?: InputColorSliderHandlePassThrough; inputColorSwatch?: InputColorSwatchPassThrough; inputColorSwatchBackground?: InputColorSwatchBackgroundPassThrough; inputColorTransparencyGrid?: InputColorTransparencyGridPassThrough; inputColorEyeDropper?: InputColorEyeDropperPassThrough; inputIcon?: InputIconPassThrough; image?: ImagePassThrough; imageCompare?: ImageComparePassThrough; inplace?: InplacePassThrough; inputText?: InputTextPassThrough; inputGroup?: InputGroupPassThrough; inputGroupAddon?: InputGroupAddonPassThrough; inputMask?: InputMaskPassThrough; inputNumber?: InputNumberPassThrough; inputOtp?: InputOtpPassThrough; knob?: KnobPassThrough; popover?: PopoverPassThrough; message?: MessagePassThrough; meterGroup?: MeterGroupPassThrough; orderList?: OrderListPassThrough; organizationChart?: OrganizationChartPassThrough; overlayBadge?: OverlayBadgePassThrough; progressBar?: ProgressBarPassThrough; progressSpinner?: ProgressSpinnerPassThrough; radioButton?: RadioButtonPassThrough; rating?: RatingPassThrough; virtualScroller?: VirtualScrollerPassThrough; scrollPanel?: ScrollPanelPassThrough; scrollTop?: ScrollTopPassThrough; select?: SelectPassThrough; selectButton?: SelectButtonPassThrough; skeleton?: SkeletonPassThrough; slider?: SliderPassThrough; speedDial?: SpeedDialPassThrough; splitButton?: SplitButtonPassThrough; splitter?: SplitterPassThrough; stepper?: StepperPassThrough; stepList?: StepListPassThrough; stepperSeparator?: StepperSeparatorPassThrough; stepItem?: StepItemPassThrough; step?: StepPassThrough; stepPanel?: StepPanelPassThrough; stepPanels?: StepPanelsPassThrough; tabs?: TabsPassThrough; tab?: TabPassThrough; tabList?: TabListPassThrough; tabPanel?: TabPanelPassThrough; tabPanels?: TabPanelsPassThrough; table?: TablePassThrough; tieredMenu?: TieredMenuPassThrough; timeline?: TimelinePassThrough; tag?: TagPassThrough; terminal?: TerminalPassThrough; toast?: ToastPassThrough; toggleButton?: ToggleButtonPassThrough; toggleSwitch?: ToggleSwitchPassThrough; toolbar?: ToolbarPassThrough; tree?: TreePassThrough; treeSelect?: TreeSelectPassThrough; treeTable?: TreeTablePassThrough; panel?: PanelPassThrough; panelMenu?: PanelMenuPassThrough; button?: ButtonPassThrough; badge?: BadgePassThrough; fieldset?: FieldsetPassThrough; global?: { css?: string; }; [key: string]: any; } export type PrimeNGConfigType = { ripple?: boolean; overlayAppendTo?: AppendTo; inputVariant?: 'outlined' | 'filled'; overlayOptions?: OverlayOptions; translation?: Translation; unstyled?: boolean; /** * @experimental */ preflight?: boolean; zIndex?: ZIndex | null | undefined; pt?: GlobalPassThrough | null | undefined; ptOptions?: PassThroughOptions | null | undefined; filterMatchModeOptions?: any; license?: string; } & ThemeConfigType; export declare class ThemeProvider { theme: import("@angular/core").WritableSignal; csp: import("@angular/core").WritableSignal<{ nonce: string | undefined; }>; isThemeChanged: boolean; document: Document; baseStyle: BaseStyle; private readonly styleScope; private readonly clearCoreStyleNames; constructor(); ngOnDestroy(): void; onThemeChange(value: any): void; loadCommonTheme(): void; setThemeConfig(config: ThemeConfigType): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class PrimeNG extends ThemeProvider { ripple: import("@angular/core").WritableSignal; platformId: any; inputVariant: import("@angular/core").WritableSignal<"outlined" | "filled" | null>; private _verified; readonly verified: import("@angular/core").Signal; overlayAppendTo: import("@angular/core").WritableSignal; overlayOptions: OverlayOptions; csp: import("@angular/core").WritableSignal<{ nonce: string | undefined; }>; unstyled: import("@angular/core").WritableSignal; preflight: import("@angular/core").WritableSignal; pt: import("@angular/core").WritableSignal; ptOptions: import("@angular/core").WritableSignal; filterMatchModeOptions: { text: string[]; numeric: string[]; date: string[]; }; translation: Translation; zIndex: ZIndex; private translationSource; translationObserver: import("rxjs").Observable; _setVerified(value: boolean): void; getTranslation(key: string): any; setTranslation(value: Translation): void; setConfig(config: PrimeNGConfigType): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare const PRIME_NG_CONFIG: InjectionToken; /** * A feature `providePrimeNG` installs next to the configuration, e.g. `withIsolation()` from `primeng/isolation`. * @group Interface */ export interface PrimeNGFeature { readonly ɵproviders: (Provider | EnvironmentProviders)[]; } export declare function providePrimeNG(...features: (PrimeNGConfigType | PrimeNGFeature)[]): EnvironmentProviders; /** * Returns the isolation of the current application, or `undefined` when it does not use isolated mode. * Call it in an injection context. * * @returns The application's isolation. * * @example * const isolation = injectIsolation(); * inject(DestroyRef).onDestroy(isolation?.retain(shadowRoot) ?? (() => {})); * * @experimental * @group Function */ export declare function injectIsolation(): Isolation | undefined; export type { Isolation };