1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412 |
- import { ChangeDetectorRef } from '@angular/core';
- import { DoCheck } from '@angular/core';
- import { ElementRef } from '@angular/core';
- import * as i0 from '@angular/core';
- import { InjectionToken } from '@angular/core';
- import { Injector } from '@angular/core';
- import { IterableDiffers } from '@angular/core';
- import { KeyValueDiffers } from '@angular/core';
- import { NgIterable } from '@angular/core';
- import { NgModuleFactory } from '@angular/core';
- import { Observable } from 'rxjs';
- import { OnChanges } from '@angular/core';
- import { OnDestroy } from '@angular/core';
- import { OnInit } from '@angular/core';
- import { PipeTransform } from '@angular/core';
- import { Provider } from '@angular/core';
- import { Renderer2 } from '@angular/core';
- import { SimpleChanges } from '@angular/core';
- import { Subscribable } from 'rxjs';
- import { SubscriptionLike } from 'rxjs';
- import { TemplateRef } from '@angular/core';
- import { TrackByFunction } from '@angular/core';
- import { Type } from '@angular/core';
- import { Version } from '@angular/core';
- import { ViewContainerRef } from '@angular/core';
- declare function allowSanitizationBypassAndThrow(value: any, type: BypassType.Html): value is SafeHtml;
- declare function allowSanitizationBypassAndThrow(value: any, type: BypassType.ResourceUrl): value is SafeResourceUrl;
- declare function allowSanitizationBypassAndThrow(value: any, type: BypassType.Script): value is SafeScript;
- declare function allowSanitizationBypassAndThrow(value: any, type: BypassType.Style): value is SafeStyle;
- declare function allowSanitizationBypassAndThrow(value: any, type: BypassType.Url): value is SafeUrl;
- declare function allowSanitizationBypassAndThrow(value: any, type: BypassType): boolean;
- export declare const APP_BASE_HREF: InjectionToken<string>;
- export declare class AsyncPipe implements OnDestroy, PipeTransform {
- private _ref;
- private _latestValue;
- private _subscription;
- private _obj;
- private _strategy;
- constructor(ref: ChangeDetectorRef);
- ngOnDestroy(): void;
- transform<T>(obj: Observable<T> | Subscribable<T> | Promise<T>): T | null;
- transform<T>(obj: null | undefined): null;
- transform<T>(obj: Observable<T> | Subscribable<T> | Promise<T> | null | undefined): T | null;
- private _subscribe;
- private _selectStrategy;
- private _dispose;
- private _updateLatestValue;
- static ɵfac: i0.ɵɵFactoryDeclaration<AsyncPipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<AsyncPipe, "async", true>;
- }
- export declare class BrowserPlatformLocation extends PlatformLocation {
- private _location;
- private _history;
- private _doc;
- constructor();
- getBaseHrefFromDOM(): string;
- onPopState(fn: LocationChangeListener): VoidFunction;
- onHashChange(fn: LocationChangeListener): VoidFunction;
- get href(): string;
- get protocol(): string;
- get hostname(): string;
- get port(): string;
- get pathname(): string;
- get search(): string;
- get hash(): string;
- set pathname(newPath: string);
- pushState(state: any, title: string, url: string): void;
- replaceState(state: any, title: string, url: string): void;
- forward(): void;
- back(): void;
- historyGo(relativePosition?: number): void;
- getState(): unknown;
- static ɵfac: i0.ɵɵFactoryDeclaration<BrowserPlatformLocation, never>;
- static ɵprov: i0.ɵɵInjectableDeclaration<BrowserPlatformLocation>;
- }
- declare function bypassSanitizationTrustHtml(trustedHtml: string): SafeHtml;
- declare function bypassSanitizationTrustResourceUrl(trustedResourceUrl: string): SafeResourceUrl;
- declare function bypassSanitizationTrustScript(trustedScript: string): SafeScript;
- declare function bypassSanitizationTrustStyle(trustedStyle: string): SafeStyle;
- declare function bypassSanitizationTrustUrl(trustedUrl: string): SafeUrl;
- declare const enum BypassType {
- Url = "URL",
- Html = "HTML",
- ResourceUrl = "ResourceURL",
- Script = "Script",
- Style = "Style"
- }
- export declare class CommonModule {
- static ɵfac: i0.ɵɵFactoryDeclaration<CommonModule, never>;
- static ɵmod: i0.ɵɵNgModuleDeclaration<CommonModule, never, [typeof i1.NgClass, typeof i2.NgComponentOutlet, typeof i3.NgForOf, typeof i4.NgIf, typeof i5.NgTemplateOutlet, typeof i6.NgStyle, typeof i7.NgSwitch, typeof i7.NgSwitchCase, typeof i7.NgSwitchDefault, typeof i8.NgPlural, typeof i8.NgPluralCase, typeof i9.AsyncPipe, typeof i10.UpperCasePipe, typeof i10.LowerCasePipe, typeof i11.JsonPipe, typeof i12.SlicePipe, typeof i13.DecimalPipe, typeof i13.PercentPipe, typeof i10.TitleCasePipe, typeof i13.CurrencyPipe, typeof i14.DatePipe, typeof i15.I18nPluralPipe, typeof i16.I18nSelectPipe, typeof i17.KeyValuePipe], [typeof i1.NgClass, typeof i2.NgComponentOutlet, typeof i3.NgForOf, typeof i4.NgIf, typeof i5.NgTemplateOutlet, typeof i6.NgStyle, typeof i7.NgSwitch, typeof i7.NgSwitchCase, typeof i7.NgSwitchDefault, typeof i8.NgPlural, typeof i8.NgPluralCase, typeof i9.AsyncPipe, typeof i10.UpperCasePipe, typeof i10.LowerCasePipe, typeof i11.JsonPipe, typeof i12.SlicePipe, typeof i13.DecimalPipe, typeof i13.PercentPipe, typeof i10.TitleCasePipe, typeof i13.CurrencyPipe, typeof i14.DatePipe, typeof i15.I18nPluralPipe, typeof i16.I18nSelectPipe, typeof i17.KeyValuePipe]>;
- static ɵinj: i0.ɵɵInjectorDeclaration<CommonModule>;
- }
- export declare class CurrencyPipe implements PipeTransform {
- private _locale;
- private _defaultCurrencyCode;
- constructor(_locale: string, _defaultCurrencyCode?: string);
- transform(value: number | string, currencyCode?: string, display?: 'code' | 'symbol' | 'symbol-narrow' | string | boolean, digitsInfo?: string, locale?: string): string | null;
- transform(value: null | undefined, currencyCode?: string, display?: 'code' | 'symbol' | 'symbol-narrow' | string | boolean, digitsInfo?: string, locale?: string): null;
- transform(value: number | string | null | undefined, currencyCode?: string, display?: 'code' | 'symbol' | 'symbol-narrow' | string | boolean, digitsInfo?: string, locale?: string): string | null;
- static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyPipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyPipe, "currency", true>;
- }
- export declare const DATE_PIPE_DEFAULT_OPTIONS: InjectionToken<DatePipeConfig>;
- export declare const DATE_PIPE_DEFAULT_TIMEZONE: InjectionToken<string>;
- export declare class DatePipe implements PipeTransform {
- private locale;
- private defaultTimezone?;
- private defaultOptions?;
- constructor(locale: string, defaultTimezone?: string | null | undefined, defaultOptions?: DatePipeConfig | null | undefined);
-
- transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
- transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
- transform(value: Date | string | number | null | undefined, format?: string, timezone?: string, locale?: string): string | null;
- static ɵfac: i0.ɵɵFactoryDeclaration<DatePipe, [null, { optional: true; }, { optional: true; }]>;
- static ɵpipe: i0.ɵɵPipeDeclaration<DatePipe, "date", true>;
- }
- export declare interface DatePipeConfig {
- dateFormat: string;
- timezone: string;
- }
- export declare class DecimalPipe implements PipeTransform {
- private _locale;
- constructor(_locale: string);
- transform(value: number | string, digitsInfo?: string, locale?: string): string | null;
- transform(value: null | undefined, digitsInfo?: string, locale?: string): null;
- transform(value: number | string | null | undefined, digitsInfo?: string, locale?: string): string | null;
- static ɵfac: i0.ɵɵFactoryDeclaration<DecimalPipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<DecimalPipe, "number", true>;
- }
- declare function defaultComparator<K, V>(keyValueA: KeyValue<K, V>, keyValueB: KeyValue<K, V>): number;
- export declare const DOCUMENT: InjectionToken<Document>;
- export declare function formatCurrency(value: number, locale: string, currency: string, currencyCode?: string, digitsInfo?: string): string;
- export declare function formatDate(value: string | number | Date, format: string, locale: string, timezone?: string): string;
- export declare function formatNumber(value: number, locale: string, digitsInfo?: string): string;
- export declare function formatPercent(value: number, locale: string, digitsInfo?: string): string;
- export declare enum FormatWidth {
-
- Short = 0,
-
- Medium = 1,
-
- Long = 2,
-
- Full = 3
- }
- export declare enum FormStyle {
- Format = 0,
- Standalone = 1
- }
- export declare function getCurrencySymbol(code: string, format: 'wide' | 'narrow', locale?: string): string;
- export declare function getLocaleCurrencyCode(locale: string): string | null;
- export declare function getLocaleCurrencyName(locale: string): string | null;
- export declare function getLocaleCurrencySymbol(locale: string): string | null;
- export declare function getLocaleDateFormat(locale: string, width: FormatWidth): string;
- export declare function getLocaleDateTimeFormat(locale: string, width: FormatWidth): string;
- export declare function getLocaleDayNames(locale: string, formStyle: FormStyle, width: TranslationWidth): ReadonlyArray<string>;
- export declare function getLocaleDayPeriods(locale: string, formStyle: FormStyle, width: TranslationWidth): Readonly<[string, string]>;
- export declare function getLocaleDirection(locale: string): 'ltr' | 'rtl';
- export declare function getLocaleEraNames(locale: string, width: TranslationWidth): Readonly<[string, string]>;
- export declare function getLocaleExtraDayPeriodRules(locale: string): (Time | [Time, Time])[];
- export declare function getLocaleExtraDayPeriods(locale: string, formStyle: FormStyle, width: TranslationWidth): string[];
- export declare function getLocaleFirstDayOfWeek(locale: string): WeekDay;
- export declare function getLocaleId(locale: string): string;
- export declare function getLocaleMonthNames(locale: string, formStyle: FormStyle, width: TranslationWidth): ReadonlyArray<string>;
- export declare function getLocaleNumberFormat(locale: string, type: NumberFormatStyle): string;
- export declare function getLocaleNumberSymbol(locale: string, symbol: NumberSymbol): string;
- export declare const getLocalePluralCase: (locale: string) => ((value: number) => Plural);
- export declare function getLocaleTimeFormat(locale: string, width: FormatWidth): string;
- export declare function getLocaleWeekEndRange(locale: string): [WeekDay, WeekDay];
- export declare function getNumberOfCurrencyDigits(code: string): number;
- declare function getSanitizationBypassType(value: any): BypassType | null;
- export declare class HashLocationStrategy extends LocationStrategy implements OnDestroy {
- private _platformLocation;
- private _baseHref;
- private _removeListenerFns;
- constructor(_platformLocation: PlatformLocation, _baseHref?: string);
-
- ngOnDestroy(): void;
- onPopState(fn: LocationChangeListener): void;
- getBaseHref(): string;
- path(includeHash?: boolean): string;
- prepareExternalUrl(internal: string): string;
- pushState(state: any, title: string, path: string, queryParams: string): void;
- replaceState(state: any, title: string, path: string, queryParams: string): void;
- forward(): void;
- back(): void;
- getState(): unknown;
- historyGo(relativePosition?: number): void;
- static ɵfac: i0.ɵɵFactoryDeclaration<HashLocationStrategy, [null, { optional: true; }]>;
- static ɵprov: i0.ɵɵInjectableDeclaration<HashLocationStrategy>;
- }
- declare namespace i1 {
- export {
- NgClass
- }
- }
- declare namespace i10 {
- export {
- LowerCasePipe,
- TitleCasePipe,
- UpperCasePipe
- }
- }
- declare namespace i11 {
- export {
- JsonPipe
- }
- }
- declare namespace i12 {
- export {
- SlicePipe
- }
- }
- declare namespace i13 {
- export {
- DecimalPipe,
- PercentPipe,
- CurrencyPipe
- }
- }
- declare namespace i14 {
- export {
- DATE_PIPE_DEFAULT_TIMEZONE,
- DATE_PIPE_DEFAULT_OPTIONS,
- DatePipe
- }
- }
- declare namespace i15 {
- export {
- I18nPluralPipe
- }
- }
- declare namespace i16 {
- export {
- I18nSelectPipe
- }
- }
- declare namespace i17 {
- export {
- defaultComparator,
- KeyValue,
- KeyValuePipe
- }
- }
- export declare class I18nPluralPipe implements PipeTransform {
- private _localization;
- constructor(_localization: NgLocalization);
-
- transform(value: number | null | undefined, pluralMap: {
- [count: string]: string;
- }, locale?: string): string;
- static ɵfac: i0.ɵɵFactoryDeclaration<I18nPluralPipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<I18nPluralPipe, "i18nPlural", true>;
- }
- export declare class I18nSelectPipe implements PipeTransform {
-
- transform(value: string | null | undefined, mapping: {
- [key: string]: string;
- }): string;
- static ɵfac: i0.ɵɵFactoryDeclaration<I18nSelectPipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<I18nSelectPipe, "i18nSelect", true>;
- }
- declare namespace i1_2 {
- export {
- unwrapSafeValue,
- allowSanitizationBypassAndThrow,
- getSanitizationBypassType,
- bypassSanitizationTrustHtml,
- bypassSanitizationTrustStyle,
- bypassSanitizationTrustScript,
- bypassSanitizationTrustUrl,
- bypassSanitizationTrustResourceUrl,
- BypassType,
- SafeValue,
- SafeHtml,
- SafeStyle,
- SafeScript,
- SafeUrl,
- SafeResourceUrl
- }
- }
- declare namespace i2 {
- export {
- NgComponentOutlet
- }
- }
- declare namespace i3 {
- export {
- NgForOfContext,
- NgForOf,
- NgForOf as NgFor
- }
- }
- declare namespace i4 {
- export {
- NgIf,
- NgIfContext
- }
- }
- declare namespace i5 {
- export {
- NgTemplateOutlet
- }
- }
- declare namespace i6 {
- export {
- NgStyle
- }
- }
- declare namespace i7 {
- export {
- SwitchView,
- NgSwitch,
- NgSwitchCase,
- NgSwitchDefault
- }
- }
- declare namespace i8 {
- export {
- NgPlural,
- NgPluralCase
- }
- }
- declare namespace i9 {
- export {
- AsyncPipe
- }
- }
- export declare const IMAGE_CONFIG: InjectionToken<ImageConfig>;
- export declare const IMAGE_LOADER: InjectionToken<ImageLoader>;
- export declare type ImageConfig = {
- breakpoints?: number[];
- };
- export declare type ImageLoader = (config: ImageLoaderConfig) => string;
- export declare interface ImageLoaderConfig {
-
- src: string;
-
- width?: number;
-
- loaderParams?: {
- [key: string]: any;
- };
- }
- export declare function isPlatformBrowser(platformId: Object): boolean;
- export declare function isPlatformServer(platformId: Object): boolean;
- export declare function isPlatformWorkerApp(platformId: Object): boolean;
- export declare function isPlatformWorkerUi(platformId: Object): boolean;
- export declare class JsonPipe implements PipeTransform {
-
- transform(value: any): string;
- static ɵfac: i0.ɵɵFactoryDeclaration<JsonPipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<JsonPipe, "json", true>;
- }
- export declare interface KeyValue<K, V> {
- key: K;
- value: V;
- }
- export declare class KeyValuePipe implements PipeTransform {
- private readonly differs;
- constructor(differs: KeyValueDiffers);
- private differ;
- private keyValues;
- private compareFn;
- transform<K, V>(input: ReadonlyMap<K, V>, compareFn?: (a: KeyValue<K, V>, b: KeyValue<K, V>) => number): Array<KeyValue<K, V>>;
- transform<K extends number, V>(input: Record<K, V>, compareFn?: (a: KeyValue<string, V>, b: KeyValue<string, V>) => number): Array<KeyValue<string, V>>;
- transform<K extends string, V>(input: Record<K, V> | ReadonlyMap<K, V>, compareFn?: (a: KeyValue<K, V>, b: KeyValue<K, V>) => number): Array<KeyValue<K, V>>;
- transform(input: null | undefined, compareFn?: (a: KeyValue<unknown, unknown>, b: KeyValue<unknown, unknown>) => number): null;
- transform<K, V>(input: ReadonlyMap<K, V> | null | undefined, compareFn?: (a: KeyValue<K, V>, b: KeyValue<K, V>) => number): Array<KeyValue<K, V>> | null;
- transform<K extends number, V>(input: Record<K, V> | null | undefined, compareFn?: (a: KeyValue<string, V>, b: KeyValue<string, V>) => number): Array<KeyValue<string, V>> | null;
- transform<K extends string, V>(input: Record<K, V> | ReadonlyMap<K, V> | null | undefined, compareFn?: (a: KeyValue<K, V>, b: KeyValue<K, V>) => number): Array<KeyValue<K, V>> | null;
- static ɵfac: i0.ɵɵFactoryDeclaration<KeyValuePipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<KeyValuePipe, "keyvalue", true>;
- }
- /**
- * @description
- *
- * A service that applications can use to interact with a browser's URL.
- *
- * Depending on the `LocationStrategy` used, `Location` persists
- * to the URL's path or the URL's hash segment.
- *
- * @usageNotes
- *
- * It's better to use the `Router.navigate()` service to trigger route changes. Use
- * `Location` only if you need to interact with or create normalized URLs outside of
- * routing.
- *
- * `Location` is responsible for normalizing the URL against the application's base href.
- * A normalized URL is absolute from the URL host, includes the application's base href, and has no
- * trailing slash:
- * - `/my/app/user/123` is normalized
- * - `my/app/user/123` **is not** normalized
- * - `/my/app/user/123/` **is not** normalized
- *
- * ### Example
- *
- * <code-example path='common/location/ts/path_location_component.ts'
- * region='LocationComponent'></code-example>
- *
- * @publicApi
- */
- declare class Location_2 implements OnDestroy {
- constructor(locationStrategy: LocationStrategy);
- /** @nodoc */
- ngOnDestroy(): void;
- /**
- * Normalizes the URL path for this location.
- *
- * @param includeHash True to include an anchor fragment in the path.
- *
- * @returns The normalized URL path.
- */
- path(includeHash?: boolean): string;
- /**
- * Reports the current state of the location history.
- * @returns The current value of the `history.state` object.
- */
- getState(): unknown;
- /**
- * Normalizes the given path and compares to the current normalized path.
- *
- * @param path The given URL path.
- * @param query Query parameters.
- *
- * @returns True if the given URL path is equal to the current normalized path, false
- * otherwise.
- */
- isCurrentPathEqualTo(path: string, query?: string): boolean;
- /**
- * Normalizes a URL path by stripping any trailing slashes.
- *
- * @param url String representing a URL.
- *
- * @returns The normalized URL string.
- */
- normalize(url: string): string;
- /**
- * Normalizes an external URL path.
- * If the given URL doesn't begin with a leading slash (`'/'`), adds one
- * before normalizing. Adds a hash if `HashLocationStrategy` is
- * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.
- *
- * @param url String representing a URL.
- *
- * @returns A normalized platform-specific URL.
- */
- prepareExternalUrl(url: string): string;
- /**
- * Changes the browser's URL to a normalized version of a given URL, and pushes a
- * new item onto the platform's history.
- *
- * @param path URL path to normalize.
- * @param query Query parameters.
- * @param state Location history state.
- *
- */
- go(path: string, query?: string, state?: any): void;
- /**
- * Changes the browser's URL to a normalized version of the given URL, and replaces
- * the top item on the platform's history stack.
- *
- * @param path URL path to normalize.
- * @param query Query parameters.
- * @param state Location history state.
- */
- replaceState(path: string, query?: string, state?: any): void;
- /**
- * Navigates forward in the platform's history.
- */
- forward(): void;
- /**
- * Navigates back in the platform's history.
- */
- back(): void;
- /**
- * Navigate to a specific page from session history, identified by its relative position to the
- * current page.
- *
- * @param relativePosition Position of the target page in the history relative to the current
- * page.
- * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)`
- * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go
- * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs
- * when `relativePosition` equals 0.
- * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history
- */
- historyGo(relativePosition?: number): void;
- /**
- * Registers a URL change listener. Use to catch updates performed by the Angular
- * framework that are not detectible through "popstate" or "hashchange" events.
- *
- * @param fn The change handler function, which take a URL and a location history state.
- * @returns A function that, when executed, unregisters a URL change listener.
- */
- onUrlChange(fn: (url: string, state: unknown) => void): VoidFunction;
- /**
- * Subscribes to the platform's `popState` events.
- *
- * Note: `Location.go()` does not trigger the `popState` event in the browser. Use
- * `Location.onUrlChange()` to subscribe to URL changes instead.
- *
- * @param value Event that is triggered when the state history changes.
- * @param exception The exception to throw.
- *
- * @see [onpopstate](https:
- *
- * @returns Subscribed events.
- */
- subscribe(onNext: (value: PopStateEvent_2) => void, onThrow?: ((exception: any) => void) | null, onReturn?: (() => void) | null): SubscriptionLike;
-
- static normalizeQueryParams: (params: string) => string;
-
- static joinWithSlash: (start: string, end: string) => string;
-
- static stripTrailingSlash: (url: string) => string;
- static ɵfac: i0.ɵɵFactoryDeclaration<Location_2, never>;
- static ɵprov: i0.ɵɵInjectableDeclaration<Location_2>;
- }
- export { Location_2 as Location }
- export declare const LOCATION_INITIALIZED: InjectionToken<Promise<any>>;
- export declare interface LocationChangeEvent {
- type: string;
- state: any;
- }
- export declare interface LocationChangeListener {
- (event: LocationChangeEvent): any;
- }
- export declare abstract class LocationStrategy {
- abstract path(includeHash?: boolean): string;
- abstract prepareExternalUrl(internal: string): string;
- abstract getState(): unknown;
- abstract pushState(state: any, title: string, url: string, queryParams: string): void;
- abstract replaceState(state: any, title: string, url: string, queryParams: string): void;
- abstract forward(): void;
- abstract back(): void;
- historyGo?(relativePosition: number): void;
- abstract onPopState(fn: LocationChangeListener): void;
- abstract getBaseHref(): string;
- static ɵfac: i0.ɵɵFactoryDeclaration<LocationStrategy, never>;
- static ɵprov: i0.ɵɵInjectableDeclaration<LocationStrategy>;
- }
- export declare class LowerCasePipe implements PipeTransform {
-
- transform(value: string): string;
- transform(value: null | undefined): null;
- transform(value: string | null | undefined): string | null;
- static ɵfac: i0.ɵɵFactoryDeclaration<LowerCasePipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<LowerCasePipe, "lowercase", true>;
- }
- export declare class NgClass implements DoCheck {
- private _iterableDiffers;
- private _keyValueDiffers;
- private _ngEl;
- private _renderer;
- private initialClasses;
- private rawClass;
- private stateMap;
- constructor(_iterableDiffers: IterableDiffers, _keyValueDiffers: KeyValueDiffers, _ngEl: ElementRef, _renderer: Renderer2);
- set klass(value: string);
- set ngClass(value: string | string[] | Set<string> | {
- [klass: string]: any;
- } | null | undefined);
- ngDoCheck(): void;
- private _updateState;
- private _applyStateDiff;
- private _toggleClass;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgClass, never>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": { "alias": "class"; "required": false; }; "ngClass": { "alias": "ngClass"; "required": false; }; }, {}, never, never, true, never>;
- }
- export declare class NgComponentOutlet implements OnChanges, DoCheck, OnDestroy {
- private _viewContainerRef;
- ngComponentOutlet: Type<any> | null;
- ngComponentOutletInputs?: Record<string, unknown>;
- ngComponentOutletInjector?: Injector;
- ngComponentOutletContent?: any[][];
- ngComponentOutletNgModule?: Type<any>;
-
- ngComponentOutletNgModuleFactory?: NgModuleFactory<any>;
- private _componentRef;
- private _moduleRef;
-
- private _inputsUsed;
- constructor(_viewContainerRef: ViewContainerRef);
- private _needToReCreateNgModuleInstance;
- private _needToReCreateComponentInstance;
-
- ngOnChanges(changes: SimpleChanges): void;
-
- ngDoCheck(): void;
-
- ngOnDestroy(): void;
- private _applyInputStateDiff;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgComponentOutlet, never>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": { "alias": "ngComponentOutlet"; "required": false; }; "ngComponentOutletInputs": { "alias": "ngComponentOutletInputs"; "required": false; }; "ngComponentOutletInjector": { "alias": "ngComponentOutletInjector"; "required": false; }; "ngComponentOutletContent": { "alias": "ngComponentOutletContent"; "required": false; }; "ngComponentOutletNgModule": { "alias": "ngComponentOutletNgModule"; "required": false; }; "ngComponentOutletNgModuleFactory": { "alias": "ngComponentOutletNgModuleFactory"; "required": false; }; }, {}, never, never, true, never>;
- }
- declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoCheck {
- private _viewContainer;
- private _template;
- private _differs;
-
- set ngForOf(ngForOf: U & NgIterable<T> | undefined | null);
-
- set ngForTrackBy(fn: TrackByFunction<T>);
- get ngForTrackBy(): TrackByFunction<T>;
- private _ngForOf;
- private _ngForOfDirty;
- private _differ;
- private _trackByFn;
- constructor(_viewContainer: ViewContainerRef, _template: TemplateRef<NgForOfContext<T, U>>, _differs: IterableDiffers);
-
- set ngForTemplate(value: TemplateRef<NgForOfContext<T, U>>);
-
- ngDoCheck(): void;
- private _applyChanges;
-
- static ngTemplateContextGuard<T, U extends NgIterable<T>>(dir: NgForOf<T, U>, ctx: any): ctx is NgForOfContext<T, U>;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgForOf<any, any>, never>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgForOf<any, any>, "[ngFor][ngForOf]", never, { "ngForOf": { "alias": "ngForOf"; "required": false; }; "ngForTrackBy": { "alias": "ngForTrackBy"; "required": false; }; "ngForTemplate": { "alias": "ngForTemplate"; "required": false; }; }, {}, never, never, true, never>;
- }
- export { NgForOf as NgFor }
- export { NgForOf }
- export declare class NgForOfContext<T, U extends NgIterable<T> = NgIterable<T>> {
- $implicit: T;
- ngForOf: U;
- index: number;
- count: number;
- constructor($implicit: T, ngForOf: U, index: number, count: number);
- get first(): boolean;
- get last(): boolean;
- get even(): boolean;
- get odd(): boolean;
- }
- export declare class NgIf<T = unknown> {
- private _viewContainer;
- private _context;
- private _thenTemplateRef;
- private _elseTemplateRef;
- private _thenViewRef;
- private _elseViewRef;
- constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef<NgIfContext<T>>);
-
- set ngIf(condition: T);
-
- set ngIfThen(templateRef: TemplateRef<NgIfContext<T>> | null);
-
- set ngIfElse(templateRef: TemplateRef<NgIfContext<T>> | null);
- private _updateView;
-
- static ngTemplateGuard_ngIf: 'binding';
-
- static ngTemplateContextGuard<T>(dir: NgIf<T>, ctx: any): ctx is NgIfContext<Exclude<T, false | 0 | '' | null | undefined>>;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgIf<any>, never>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgIf<any>, "[ngIf]", never, { "ngIf": { "alias": "ngIf"; "required": false; }; "ngIfThen": { "alias": "ngIfThen"; "required": false; }; "ngIfElse": { "alias": "ngIfElse"; "required": false; }; }, {}, never, never, true, never>;
- }
- export declare class NgIfContext<T = unknown> {
- $implicit: T;
- ngIf: T;
- }
- export declare class NgLocaleLocalization extends NgLocalization {
- protected locale: string;
- constructor(locale: string);
- getPluralCategory(value: any, locale?: string): string;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgLocaleLocalization, never>;
- static ɵprov: i0.ɵɵInjectableDeclaration<NgLocaleLocalization>;
- }
- export declare abstract class NgLocalization {
- abstract getPluralCategory(value: any, locale?: string): string;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgLocalization, never>;
- static ɵprov: i0.ɵɵInjectableDeclaration<NgLocalization>;
- }
- export declare class NgOptimizedImage implements OnInit, OnChanges, OnDestroy {
- private imageLoader;
- private config;
- private renderer;
- private imgElement;
- private injector;
- private readonly isServer;
- private readonly preloadLinkCreator;
- private lcpObserver;
-
- private _renderedSrc;
-
- ngSrc: string;
-
- ngSrcset: string;
-
- sizes?: string;
-
- width: number | undefined;
-
- height: number | undefined;
-
- loading?: 'lazy' | 'eager' | 'auto';
-
- priority: boolean;
-
- loaderParams?: {
- [key: string]: any;
- };
-
- disableOptimizedSrcset: boolean;
-
- fill: boolean;
-
- ngOnInit(): void;
- private setHostAttributes;
-
- ngOnChanges(changes: SimpleChanges): void;
- private callImageLoader;
- private getLoadingBehavior;
- private getFetchPriority;
- private getRewrittenSrc;
- private getRewrittenSrcset;
- private getAutomaticSrcset;
- private getResponsiveSrcset;
- private updateSrcAndSrcset;
- private getFixedSrcset;
- private shouldGenerateAutomaticSrcset;
-
- ngOnDestroy(): void;
- private setHostAttribute;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgOptimizedImage, never>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgOptimizedImage, "img[ngSrc]", never, { "ngSrc": { "alias": "ngSrc"; "required": true; }; "ngSrcset": { "alias": "ngSrcset"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "priority": { "alias": "priority"; "required": false; }; "loaderParams": { "alias": "loaderParams"; "required": false; }; "disableOptimizedSrcset": { "alias": "disableOptimizedSrcset"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "src": { "alias": "src"; "required": false; }; "srcset": { "alias": "srcset"; "required": false; }; }, {}, never, never, true, never>;
- static ngAcceptInputType_ngSrc: string | i1_2.SafeValue;
- static ngAcceptInputType_width: unknown;
- static ngAcceptInputType_height: unknown;
- static ngAcceptInputType_priority: unknown;
- static ngAcceptInputType_disableOptimizedSrcset: unknown;
- static ngAcceptInputType_fill: unknown;
- }
- export declare class NgPlural {
- private _localization;
- private _activeView?;
- private _caseViews;
- constructor(_localization: NgLocalization);
- set ngPlural(value: number);
- addCase(value: string, switchView: SwitchView): void;
- private _updateView;
- private _clearViews;
- private _activateView;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgPlural, never>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgPlural, "[ngPlural]", never, { "ngPlural": { "alias": "ngPlural"; "required": false; }; }, {}, never, never, true, never>;
- }
- export declare class NgPluralCase {
- value: string;
- constructor(value: string, template: TemplateRef<Object>, viewContainer: ViewContainerRef, ngPlural: NgPlural);
- static ɵfac: i0.ɵɵFactoryDeclaration<NgPluralCase, [{ attribute: "ngPluralCase"; }, null, null, { host: true; }]>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgPluralCase, "[ngPluralCase]", never, {}, {}, never, never, true, never>;
- }
- export declare class NgStyle implements DoCheck {
- private _ngEl;
- private _differs;
- private _renderer;
- private _ngStyle;
- private _differ;
- constructor(_ngEl: ElementRef, _differs: KeyValueDiffers, _renderer: Renderer2);
- set ngStyle(values: {
- [klass: string]: any;
- } | null | undefined);
- ngDoCheck(): void;
- private _setStyle;
- private _applyChanges;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgStyle, never>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgStyle, "[ngStyle]", never, { "ngStyle": { "alias": "ngStyle"; "required": false; }; }, {}, never, never, true, never>;
- }
- export declare class NgSwitch {
- private _defaultViews;
- private _defaultUsed;
- private _caseCount;
- private _lastCaseCheckIndex;
- private _lastCasesMatched;
- private _ngSwitch;
- set ngSwitch(newValue: any);
- private _updateDefaultCases;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitch, never>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitch, "[ngSwitch]", never, { "ngSwitch": { "alias": "ngSwitch"; "required": false; }; }, {}, never, never, true, never>;
- }
- export declare class NgSwitchCase implements DoCheck {
- private ngSwitch;
- private _view;
-
- ngSwitchCase: any;
- constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
-
- ngDoCheck(): void;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchCase, [null, null, { optional: true; host: true; }]>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchCase, "[ngSwitchCase]", never, { "ngSwitchCase": { "alias": "ngSwitchCase"; "required": false; }; }, {}, never, never, true, never>;
- }
- export declare class NgSwitchDefault {
- constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
- static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchDefault, [null, null, { optional: true; host: true; }]>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchDefault, "[ngSwitchDefault]", never, {}, {}, never, never, true, never>;
- }
- export declare class NgTemplateOutlet<C = unknown> implements OnChanges {
- private _viewContainerRef;
- private _viewRef;
-
- ngTemplateOutletContext: C | null;
-
- ngTemplateOutlet: TemplateRef<C> | null;
-
- ngTemplateOutletInjector: Injector | null;
- constructor(_viewContainerRef: ViewContainerRef);
-
- ngOnChanges(changes: SimpleChanges): void;
- static ɵfac: i0.ɵɵFactoryDeclaration<NgTemplateOutlet<any>, never>;
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgTemplateOutlet<any>, "[ngTemplateOutlet]", never, { "ngTemplateOutletContext": { "alias": "ngTemplateOutletContext"; "required": false; }; "ngTemplateOutlet": { "alias": "ngTemplateOutlet"; "required": false; }; "ngTemplateOutletInjector": { "alias": "ngTemplateOutletInjector"; "required": false; }; }, {}, never, never, true, never>;
- }
- export declare enum NumberFormatStyle {
- Decimal = 0,
- Percent = 1,
- Currency = 2,
- Scientific = 3
- }
- export declare enum NumberSymbol {
-
- Decimal = 0,
-
- Group = 1,
-
- List = 2,
-
- PercentSign = 3,
-
- PlusSign = 4,
-
- MinusSign = 5,
-
- Exponential = 6,
-
- SuperscriptingExponent = 7,
-
- PerMille = 8,
-
- Infinity = 9,
-
- NaN = 10,
-
- TimeSeparator = 11,
-
- CurrencyDecimal = 12,
-
- CurrencyGroup = 13
- }
- export declare class PathLocationStrategy extends LocationStrategy implements OnDestroy {
- private _platformLocation;
- private _baseHref;
- private _removeListenerFns;
- constructor(_platformLocation: PlatformLocation, href?: string);
-
- ngOnDestroy(): void;
- onPopState(fn: LocationChangeListener): void;
- getBaseHref(): string;
- prepareExternalUrl(internal: string): string;
- path(includeHash?: boolean): string;
- pushState(state: any, title: string, url: string, queryParams: string): void;
- replaceState(state: any, title: string, url: string, queryParams: string): void;
- forward(): void;
- back(): void;
- getState(): unknown;
- historyGo(relativePosition?: number): void;
- static ɵfac: i0.ɵɵFactoryDeclaration<PathLocationStrategy, [null, { optional: true; }]>;
- static ɵprov: i0.ɵɵInjectableDeclaration<PathLocationStrategy>;
- }
- export declare class PercentPipe implements PipeTransform {
- private _locale;
- constructor(_locale: string);
- transform(value: number | string, digitsInfo?: string, locale?: string): string | null;
- transform(value: null | undefined, digitsInfo?: string, locale?: string): null;
- transform(value: number | string | null | undefined, digitsInfo?: string, locale?: string): string | null;
- static ɵfac: i0.ɵɵFactoryDeclaration<PercentPipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<PercentPipe, "percent", true>;
- }
- export declare abstract class PlatformLocation {
- abstract getBaseHrefFromDOM(): string;
- abstract getState(): unknown;
-
- abstract onPopState(fn: LocationChangeListener): VoidFunction;
-
- abstract onHashChange(fn: LocationChangeListener): VoidFunction;
- abstract get href(): string;
- abstract get protocol(): string;
- abstract get hostname(): string;
- abstract get port(): string;
- abstract get pathname(): string;
- abstract get search(): string;
- abstract get hash(): string;
- abstract replaceState(state: any, title: string, url: string): void;
- abstract pushState(state: any, title: string, url: string): void;
- abstract forward(): void;
- abstract back(): void;
- historyGo?(relativePosition: number): void;
- static ɵfac: i0.ɵɵFactoryDeclaration<PlatformLocation, never>;
- static ɵprov: i0.ɵɵInjectableDeclaration<PlatformLocation>;
- }
- export declare enum Plural {
- Zero = 0,
- One = 1,
- Two = 2,
- Few = 3,
- Many = 4,
- Other = 5
- }
- declare interface PopStateEvent_2 {
- pop?: boolean;
- state?: any;
- type?: string;
- url?: string;
- }
- export { PopStateEvent_2 as PopStateEvent }
- export declare const PRECONNECT_CHECK_BLOCKLIST: InjectionToken<(string | string[])[]>;
- export declare const provideCloudflareLoader: (path: string) => Provider[];
- export declare const provideCloudinaryLoader: (path: string) => Provider[];
- export declare const provideImageKitLoader: (path: string) => Provider[];
- export declare const provideImgixLoader: (path: string) => Provider[];
- export declare function registerLocaleData(data: any, localeId?: string | any, extraData?: any): void;
- declare interface SafeHtml extends SafeValue {
- }
- declare interface SafeResourceUrl extends SafeValue {
- }
- declare interface SafeScript extends SafeValue {
- }
- declare interface SafeStyle extends SafeValue {
- }
- declare interface SafeUrl extends SafeValue {
- }
- declare interface SafeValue {
- }
- export declare class SlicePipe implements PipeTransform {
-
- transform<T>(value: ReadonlyArray<T>, start: number, end?: number): Array<T>;
- transform(value: null | undefined, start: number, end?: number): null;
- transform<T>(value: ReadonlyArray<T> | null | undefined, start: number, end?: number): Array<T> | null;
- transform(value: string, start: number, end?: number): string;
- transform(value: string | null | undefined, start: number, end?: number): string | null;
- private supports;
- static ɵfac: i0.ɵɵFactoryDeclaration<SlicePipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<SlicePipe, "slice", true>;
- }
- declare class SwitchView {
- private _viewContainerRef;
- private _templateRef;
- private _created;
- constructor(_viewContainerRef: ViewContainerRef, _templateRef: TemplateRef<Object>);
- create(): void;
- destroy(): void;
- enforceState(created: boolean): void;
- }
- export declare type Time = {
- hours: number;
- minutes: number;
- };
- export declare class TitleCasePipe implements PipeTransform {
-
- transform(value: string): string;
- transform(value: null | undefined): null;
- transform(value: string | null | undefined): string | null;
- static ɵfac: i0.ɵɵFactoryDeclaration<TitleCasePipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<TitleCasePipe, "titlecase", true>;
- }
- export declare enum TranslationWidth {
-
- Narrow = 0,
-
- Abbreviated = 1,
-
- Wide = 2,
-
- Short = 3
- }
- declare function unwrapSafeValue(value: SafeValue): string;
- declare function unwrapSafeValue<T>(value: T): T;
- export declare class UpperCasePipe implements PipeTransform {
-
- transform(value: string): string;
- transform(value: null | undefined): null;
- transform(value: string | null | undefined): string | null;
- static ɵfac: i0.ɵɵFactoryDeclaration<UpperCasePipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<UpperCasePipe, "uppercase", true>;
- }
- export declare const VERSION: Version;
- export declare abstract class ViewportScroller {
-
- static ɵprov: unknown;
-
- abstract setOffset(offset: [number, number] | (() => [number, number])): void;
-
- abstract getScrollPosition(): [number, number];
-
- abstract scrollToPosition(position: [number, number]): void;
-
- abstract scrollToAnchor(anchor: string): void;
-
- abstract setHistoryScrollRestoration(scrollRestoration: 'auto' | 'manual'): void;
- }
- export declare enum WeekDay {
- Sunday = 0,
- Monday = 1,
- Tuesday = 2,
- Wednesday = 3,
- Thursday = 4,
- Friday = 5,
- Saturday = 6
- }
- export declare abstract class XhrFactory {
- abstract build(): XMLHttpRequest;
- }
- export declare abstract class ɵDomAdapter {
- abstract dispatchEvent(el: any, evt: any): any;
- abstract readonly supportsDOMEvents: boolean;
- abstract remove(el: any): void;
- abstract createElement(tagName: any, doc?: any): HTMLElement;
- abstract createHtmlDocument(): Document;
- abstract getDefaultDocument(): Document;
- abstract isElementNode(node: any): boolean;
- abstract isShadowRoot(node: any): boolean;
- abstract onAndCancel(el: any, evt: any, listener: any): Function;
- abstract getGlobalEventTarget(doc: Document, target: string): any;
- abstract getBaseHref(doc: Document): string | null;
- abstract resetBaseElement(): void;
- abstract getUserAgent(): string;
- abstract getCookie(name: string): string | null;
- }
- export declare function ɵgetDOM(): ɵDomAdapter;
- export declare class ɵNullViewportScroller implements ViewportScroller {
-
- setOffset(offset: [number, number] | (() => [number, number])): void;
-
- getScrollPosition(): [number, number];
-
- scrollToPosition(position: [number, number]): void;
-
- scrollToAnchor(anchor: string): void;
-
- setHistoryScrollRestoration(scrollRestoration: 'auto' | 'manual'): void;
- }
- export declare function ɵparseCookieValue(cookieStr: string, name: string): string | null;
- export declare const ɵPLATFORM_BROWSER_ID = "browser";
- export declare const ɵPLATFORM_SERVER_ID = "server";
- export declare const ɵPLATFORM_WORKER_APP_ID = "browserWorkerApp";
- export declare const ɵPLATFORM_WORKER_UI_ID = "browserWorkerUi";
- export declare function ɵsetRootDomAdapter(adapter: ɵDomAdapter): void;
- export { }
|