1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | import { ComponentRef } from '@angular/core';
|
8 | import { DebugElement } from '@angular/core';
|
9 | import { DebugNode } from '@angular/core';
|
10 | import { ErrorHandler } from '@angular/core';
|
11 | import { GetTestability } from '@angular/core';
|
12 | import { InjectionToken } from '@angular/core';
|
13 | import { Injector } from '@angular/core';
|
14 | import { LocationChangeListener } from '@angular/common';
|
15 | import { ModuleWithProviders } from '@angular/core';
|
16 | import { NgProbeToken } from '@angular/core';
|
17 | import { NgZone } from '@angular/core';
|
18 | import { OnDestroy } from '@angular/core';
|
19 | import { PlatformLocation } from '@angular/common';
|
20 | import { PlatformRef } from '@angular/core';
|
21 | import { Predicate } from '@angular/core';
|
22 | import { Provider } from '@angular/core';
|
23 | import { Renderer2 } from '@angular/core';
|
24 | import { RendererFactory2 } from '@angular/core';
|
25 | import { RendererType2 } from '@angular/core';
|
26 | import { Sanitizer } from '@angular/core';
|
27 | import { SecurityContext } from '@angular/core';
|
28 | import { StaticProvider } from '@angular/core';
|
29 | import { Testability } from '@angular/core';
|
30 | import { TestabilityRegistry } from '@angular/core';
|
31 | import { Type } from '@angular/core';
|
32 | import { Version } from '@angular/core';
|
33 | import { ɵConsole } from '@angular/core';
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 | export declare class BrowserModule {
|
45 | constructor(parentModule: BrowserModule | null);
|
46 | /**
|
47 | * Configures a browser-based app to transition from a server-rendered app, if
|
48 | * one is present on the page.
|
49 | *
|
50 | * @param params An object containing an identifier for the app to transition.
|
51 | * The ID must match between the client and server versions of the app.
|
52 | * @returns The reconfigured `BrowserModule` to import into the app's root `AppModule`.
|
53 | */
|
54 | static withServerTransition(params: {
|
55 | appId: string;
|
56 | }): ModuleWithProviders<BrowserModule>;
|
57 | }
|
58 |
|
59 | /**
|
60 | * NgModule to install on the client side while using the `TransferState` to transfer state from
|
61 | * server to client.
|
62 | *
|
63 | * @publicApi
|
64 | */
|
65 | export declare class BrowserTransferStateModule {
|
66 | }
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 | export declare class By {
|
74 | |
75 |
|
76 |
|
77 |
|
78 |
|
79 |
|
80 |
|
81 |
|
82 | static all(): Predicate<DebugNode>;
|
83 | |
84 |
|
85 |
|
86 |
|
87 |
|
88 |
|
89 |
|
90 |
|
91 | static css(selector: string): Predicate<DebugElement>;
|
92 | |
93 |
|
94 |
|
95 |
|
96 |
|
97 |
|
98 |
|
99 |
|
100 | static directive(type: Type<any>): Predicate<DebugNode>;
|
101 | }
|
102 |
|
103 |
|
104 |
|
105 |
|
106 |
|
107 |
|
108 | export declare function disableDebugTools(): void;
|
109 |
|
110 |
|
111 |
|
112 |
|
113 |
|
114 |
|
115 |
|
116 |
|
117 |
|
118 |
|
119 |
|
120 |
|
121 |
|
122 |
|
123 |
|
124 |
|
125 |
|
126 |
|
127 |
|
128 |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 |
|
134 |
|
135 |
|
136 |
|
137 |
|
138 |
|
139 |
|
140 |
|
141 | export declare abstract class DomSanitizer implements Sanitizer {
|
142 | |
143 |
|
144 |
|
145 |
|
146 |
|
147 |
|
148 |
|
149 |
|
150 | abstract sanitize(context: SecurityContext, value: SafeValue | string | null): string | null;
|
151 | |
152 |
|
153 |
|
154 |
|
155 |
|
156 |
|
157 |
|
158 |
|
159 | abstract bypassSecurityTrustHtml(value: string): SafeHtml;
|
160 | |
161 |
|
162 |
|
163 |
|
164 |
|
165 |
|
166 | abstract bypassSecurityTrustStyle(value: string): SafeStyle;
|
167 | |
168 |
|
169 |
|
170 |
|
171 |
|
172 |
|
173 | abstract bypassSecurityTrustScript(value: string): SafeScript;
|
174 | |
175 |
|
176 |
|
177 |
|
178 |
|
179 |
|
180 |
|
181 | abstract bypassSecurityTrustUrl(value: string): SafeUrl;
|
182 | |
183 |
|
184 |
|
185 |
|
186 |
|
187 |
|
188 |
|
189 | abstract bypassSecurityTrustResourceUrl(value: string): SafeResourceUrl;
|
190 | }
|
191 |
|
192 |
|
193 |
|
194 |
|
195 |
|
196 |
|
197 |
|
198 |
|
199 |
|
200 |
|
201 |
|
202 |
|
203 |
|
204 |
|
205 | export declare function enableDebugTools<T>(ref: ComponentRef<T>): ComponentRef<T>;
|
206 |
|
207 |
|
208 |
|
209 |
|
210 |
|
211 |
|
212 | export declare const EVENT_MANAGER_PLUGINS: InjectionToken<ɵangular_packages_platform_browser_platform_browser_g[]>;
|
213 |
|
214 |
|
215 |
|
216 |
|
217 |
|
218 |
|
219 |
|
220 | export declare class EventManager {
|
221 | private _zone;
|
222 | private _plugins;
|
223 | private _eventNameToPlugin;
|
224 | |
225 |
|
226 |
|
227 | constructor(plugins: ɵangular_packages_platform_browser_platform_browser_g[], _zone: NgZone);
|
228 | /**
|
229 | * Registers a handler for a specific element and event.
|
230 | *
|
231 | * @param element The HTML element to receive event notifications.
|
232 | * @param eventName The name of the event to listen for.
|
233 | * @param handler A function to call when the notification occurs. Receives the
|
234 | * event object as an argument.
|
235 | * @returns A callback function that can be used to remove the handler.
|
236 | */
|
237 | addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
|
238 | /**
|
239 | * Registers a global handler for an event in a target view.
|
240 | *
|
241 | * @param target A target for global event notifications. One of "window", "document", or "body".
|
242 | * @param eventName The name of the event to listen for.
|
243 | * @param handler A function to call when the notification occurs. Receives the
|
244 | * event object as an argument.
|
245 | * @returns A callback function that can be used to remove the handler.
|
246 | */
|
247 | addGlobalEventListener(target: string, eventName: string, handler: Function): Function;
|
248 | /**
|
249 | * Retrieves the compilation zone in which event listeners are registered.
|
250 | */
|
251 | getZone(): NgZone;
|
252 | }
|
253 |
|
254 | /**
|
255 | * DI token for providing [HammerJS](http:
|
256 | * @see `HammerGestureConfig`
|
257 | *
|
258 | * @publicApi
|
259 | */
|
260 | export declare const HAMMER_GESTURE_CONFIG: InjectionToken<HammerGestureConfig>;
|
261 |
|
262 |
|
263 |
|
264 |
|
265 |
|
266 |
|
267 | export declare const HAMMER_LOADER: InjectionToken<HammerLoader>;
|
268 |
|
269 |
|
270 |
|
271 |
|
272 |
|
273 |
|
274 | export declare class HammerGestureConfig {
|
275 | |
276 |
|
277 |
|
278 |
|
279 |
|
280 | events: string[];
|
281 | |
282 |
|
283 |
|
284 |
|
285 |
|
286 |
|
287 |
|
288 |
|
289 |
|
290 |
|
291 |
|
292 |
|
293 |
|
294 |
|
295 |
|
296 |
|
297 | overrides: {
|
298 | [key: string]: Object;
|
299 | };
|
300 | |
301 |
|
302 |
|
303 |
|
304 |
|
305 |
|
306 |
|
307 | options?: {
|
308 | cssProps?: any;
|
309 | domEvents?: boolean;
|
310 | enable?: boolean | ((manager: any) => boolean);
|
311 | preset?: any[];
|
312 | touchAction?: string;
|
313 | recognizers?: any[];
|
314 | inputClass?: any;
|
315 | inputTarget?: EventTarget;
|
316 | };
|
317 | |
318 |
|
319 |
|
320 |
|
321 |
|
322 |
|
323 | buildHammer(element: HTMLElement): HammerInstance;
|
324 | }
|
325 |
|
326 | declare interface HammerInstance {
|
327 | on(eventName: string, callback?: Function): void;
|
328 | off(eventName: string, callback?: Function): void;
|
329 | destroy?(): void;
|
330 | }
|
331 |
|
332 |
|
333 |
|
334 |
|
335 |
|
336 |
|
337 | export declare type HammerLoader = () => Promise<void>;
|
338 |
|
339 |
|
340 |
|
341 |
|
342 |
|
343 |
|
344 |
|
345 |
|
346 |
|
347 |
|
348 |
|
349 |
|
350 |
|
351 |
|
352 |
|
353 | export declare function makeStateKey<T = void>(key: string): StateKey<T>;
|
354 |
|
355 |
|
356 |
|
357 |
|
358 |
|
359 |
|
360 | export declare class Meta {
|
361 | private _doc;
|
362 | private _dom;
|
363 | constructor(_doc: any);
|
364 | addTag(tag: MetaDefinition, forceCreation?: boolean): HTMLMetaElement | null;
|
365 | addTags(tags: MetaDefinition[], forceCreation?: boolean): HTMLMetaElement[];
|
366 | getTag(attrSelector: string): HTMLMetaElement | null;
|
367 | getTags(attrSelector: string): HTMLMetaElement[];
|
368 | updateTag(tag: MetaDefinition, selector?: string): HTMLMetaElement | null;
|
369 | removeTag(attrSelector: string): void;
|
370 | removeTagElement(meta: HTMLMetaElement): void;
|
371 | private _getOrCreateElement;
|
372 | private _setMetaElementAttributes;
|
373 | private _parseSelector;
|
374 | private _containsAttributes;
|
375 | }
|
376 |
|
377 |
|
378 |
|
379 |
|
380 |
|
381 |
|
382 |
|
383 | export declare type MetaDefinition = {
|
384 | charset?: string;
|
385 | content?: string;
|
386 | httpEquiv?: string;
|
387 | id?: string;
|
388 | itemprop?: string;
|
389 | name?: string;
|
390 | property?: string;
|
391 | scheme?: string;
|
392 | url?: string;
|
393 | } & {
|
394 | [prop: string]: string;
|
395 | };
|
396 |
|
397 |
|
398 |
|
399 |
|
400 | export declare const platformBrowser: (extraProviders?: StaticProvider[]) => PlatformRef;
|
401 |
|
402 |
|
403 |
|
404 |
|
405 |
|
406 |
|
407 | export declare interface SafeHtml extends SafeValue {
|
408 | }
|
409 |
|
410 |
|
411 |
|
412 |
|
413 |
|
414 |
|
415 | export declare interface SafeResourceUrl extends SafeValue {
|
416 | }
|
417 |
|
418 |
|
419 |
|
420 |
|
421 |
|
422 |
|
423 | export declare interface SafeScript extends SafeValue {
|
424 | }
|
425 |
|
426 |
|
427 |
|
428 |
|
429 |
|
430 |
|
431 | export declare interface SafeStyle extends SafeValue {
|
432 | }
|
433 |
|
434 |
|
435 |
|
436 |
|
437 |
|
438 |
|
439 | export declare interface SafeUrl extends SafeValue {
|
440 | }
|
441 |
|
442 |
|
443 |
|
444 |
|
445 |
|
446 |
|
447 | export declare interface SafeValue {
|
448 | }
|
449 |
|
450 |
|
451 |
|
452 |
|
453 |
|
454 |
|
455 |
|
456 |
|
457 |
|
458 |
|
459 |
|
460 |
|
461 |
|
462 |
|
463 |
|
464 | export declare type StateKey<T> = string & {
|
465 | __not_a_string: never;
|
466 | };
|
467 |
|
468 |
|
469 |
|
470 |
|
471 |
|
472 |
|
473 |
|
474 |
|
475 |
|
476 |
|
477 |
|
478 | export declare class Title {
|
479 | private _doc;
|
480 | constructor(_doc: any);
|
481 | |
482 |
|
483 |
|
484 | getTitle(): string;
|
485 | |
486 |
|
487 |
|
488 |
|
489 | setTitle(newTitle: string): void;
|
490 | }
|
491 |
|
492 |
|
493 |
|
494 |
|
495 |
|
496 |
|
497 |
|
498 |
|
499 |
|
500 |
|
501 |
|
502 |
|
503 |
|
504 |
|
505 | export declare class TransferState {
|
506 | private store;
|
507 | private onSerializeCallbacks;
|
508 | |
509 |
|
510 |
|
511 | get<T>(key: StateKey<T>, defaultValue: T): T;
|
512 | |
513 |
|
514 |
|
515 | set<T>(key: StateKey<T>, value: T): void;
|
516 | |
517 |
|
518 |
|
519 | remove<T>(key: StateKey<T>): void;
|
520 | |
521 |
|
522 |
|
523 | hasKey<T>(key: StateKey<T>): boolean;
|
524 | |
525 |
|
526 |
|
527 | onSerialize<T>(key: StateKey<T>, callback: () => T): void;
|
528 | |
529 |
|
530 |
|
531 | toJson(): string;
|
532 | }
|
533 |
|
534 |
|
535 |
|
536 |
|
537 | export declare const VERSION: Version;
|
538 |
|
539 | export declare function ɵangular_packages_platform_browser_platform_browser_a(): ErrorHandler;
|
540 |
|
541 | export declare function ɵangular_packages_platform_browser_platform_browser_b(): any;
|
542 |
|
543 | export declare const ɵangular_packages_platform_browser_platform_browser_c: StaticProvider[];
|
544 |
|
545 |
|
546 |
|
547 |
|
548 | export declare function ɵangular_packages_platform_browser_platform_browser_d(): Meta;
|
549 |
|
550 |
|
551 |
|
552 |
|
553 |
|
554 | export declare function ɵangular_packages_platform_browser_platform_browser_e(): Title;
|
555 |
|
556 | export declare function ɵangular_packages_platform_browser_platform_browser_f(doc: Document, appId: string): TransferState;
|
557 |
|
558 | export declare abstract class ɵangular_packages_platform_browser_platform_browser_g {
|
559 | private _doc;
|
560 | constructor(_doc: any);
|
561 | manager: EventManager;
|
562 | abstract supports(eventName: string): boolean;
|
563 | abstract addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
|
564 | addGlobalEventListener(element: string, eventName: string, handler: Function): Function;
|
565 | }
|
566 |
|
567 | export declare function ɵangular_packages_platform_browser_platform_browser_h(transitionId: string, document: any, injector: Injector): () => void;
|
568 |
|
569 | export declare const ɵangular_packages_platform_browser_platform_browser_i: StaticProvider[];
|
570 |
|
571 | export declare function ɵangular_packages_platform_browser_platform_browser_j(coreTokens: NgProbeToken[]): any;
|
572 |
|
573 |
|
574 |
|
575 |
|
576 | export declare const ɵangular_packages_platform_browser_platform_browser_k: Provider[];
|
577 |
|
578 |
|
579 |
|
580 |
|
581 |
|
582 |
|
583 |
|
584 | export declare abstract class ɵangular_packages_platform_browser_platform_browser_l extends ɵDomAdapter {
|
585 | private _animationPrefix;
|
586 | private _transitionEnd;
|
587 | constructor();
|
588 | getDistributedNodes(el: HTMLElement): Node[];
|
589 | resolveAndSetHref(el: HTMLAnchorElement, baseUrl: string, href: string): void;
|
590 | supportsDOMEvents(): boolean;
|
591 | supportsNativeShadowDOM(): boolean;
|
592 | getAnimationPrefix(): string;
|
593 | getTransitionEnd(): string;
|
594 | supportsAnimation(): boolean;
|
595 | }
|
596 |
|
597 |
|
598 |
|
599 |
|
600 |
|
601 |
|
602 |
|
603 | export declare const ɵBROWSER_SANITIZATION_PROVIDERS: StaticProvider[];
|
604 |
|
605 |
|
606 |
|
607 |
|
608 |
|
609 |
|
610 |
|
611 | export declare class ɵBrowserDomAdapter extends ɵangular_packages_platform_browser_platform_browser_l {
|
612 | parse(templateHtml: string): void;
|
613 | static makeCurrent(): void;
|
614 | hasProperty(element: Node, name: string): boolean;
|
615 | setProperty(el: Node, name: string, value: any): void;
|
616 | getProperty(el: Node, name: string): any;
|
617 | invoke(el: Node, methodName: string, args: any[]): any;
|
618 | logError(error: string): void;
|
619 | log(error: string): void;
|
620 | logGroup(error: string): void;
|
621 | logGroupEnd(): void;
|
622 | readonly attrToPropMap: any;
|
623 | contains(nodeA: any, nodeB: any): boolean;
|
624 | querySelector(el: HTMLElement, selector: string): any;
|
625 | querySelectorAll(el: any, selector: string): any[];
|
626 | on(el: Node, evt: any, listener: any): void;
|
627 | onAndCancel(el: Node, evt: any, listener: any): Function;
|
628 | dispatchEvent(el: Node, evt: any): void;
|
629 | createMouseEvent(eventType: string): MouseEvent;
|
630 | createEvent(eventType: any): Event;
|
631 | preventDefault(evt: Event): void;
|
632 | isPrevented(evt: Event): boolean;
|
633 | getInnerHTML(el: HTMLElement): string;
|
634 | getTemplateContent(el: Node): Node | null;
|
635 | getOuterHTML(el: HTMLElement): string;
|
636 | nodeName(node: Node): string;
|
637 | nodeValue(node: Node): string | null;
|
638 | type(node: HTMLInputElement): string;
|
639 | content(node: Node): Node;
|
640 | firstChild(el: Node): Node | null;
|
641 | nextSibling(el: Node): Node | null;
|
642 | parentElement(el: Node): Node | null;
|
643 | childNodes(el: any): Node[];
|
644 | childNodesAsList(el: Node): any[];
|
645 | clearNodes(el: Node): void;
|
646 | appendChild(el: Node, node: Node): void;
|
647 | removeChild(el: Node, node: Node): void;
|
648 | replaceChild(el: Node, newChild: Node, oldChild: Node): void;
|
649 | remove(node: Node): Node;
|
650 | insertBefore(parent: Node, ref: Node, node: Node): void;
|
651 | insertAllBefore(parent: Node, ref: Node, nodes: Node[]): void;
|
652 | insertAfter(parent: Node, ref: Node, node: any): void;
|
653 | setInnerHTML(el: Element, value: string): void;
|
654 | getText(el: Node): string | null;
|
655 | setText(el: Node, value: string): void;
|
656 | getValue(el: any): string;
|
657 | setValue(el: any, value: string): void;
|
658 | getChecked(el: any): boolean;
|
659 | setChecked(el: any, value: boolean): void;
|
660 | createComment(text: string): Comment;
|
661 | createTemplate(html: any): HTMLElement;
|
662 | createElement(tagName: string, doc?: Document): HTMLElement;
|
663 | createElementNS(ns: string, tagName: string, doc?: Document): Element;
|
664 | createTextNode(text: string, doc?: Document): Text;
|
665 | createScriptTag(attrName: string, attrValue: string, doc?: Document): HTMLScriptElement;
|
666 | createStyleElement(css: string, doc?: Document): HTMLStyleElement;
|
667 | createShadowRoot(el: HTMLElement): DocumentFragment;
|
668 | getShadowRoot(el: HTMLElement): DocumentFragment;
|
669 | getHost(el: HTMLElement): HTMLElement;
|
670 | clone(node: Node): Node;
|
671 | getElementsByClassName(element: any, name: string): HTMLElement[];
|
672 | getElementsByTagName(element: any, name: string): HTMLElement[];
|
673 | classList(element: any): any[];
|
674 | addClass(element: any, className: string): void;
|
675 | removeClass(element: any, className: string): void;
|
676 | hasClass(element: any, className: string): boolean;
|
677 | setStyle(element: any, styleName: string, styleValue: string): void;
|
678 | removeStyle(element: any, stylename: string): void;
|
679 | getStyle(element: any, stylename: string): string;
|
680 | hasStyle(element: any, styleName: string, styleValue?: string | null): boolean;
|
681 | tagName(element: any): string;
|
682 | attributeMap(element: any): Map<string, string>;
|
683 | hasAttribute(element: Element, attribute: string): boolean;
|
684 | hasAttributeNS(element: Element, ns: string, attribute: string): boolean;
|
685 | getAttribute(element: Element, attribute: string): string | null;
|
686 | getAttributeNS(element: Element, ns: string, name: string): string | null;
|
687 | setAttribute(element: Element, name: string, value: string): void;
|
688 | setAttributeNS(element: Element, ns: string, name: string, value: string): void;
|
689 | removeAttribute(element: Element, attribute: string): void;
|
690 | removeAttributeNS(element: Element, ns: string, name: string): void;
|
691 | templateAwareRoot(el: Node): any;
|
692 | createHtmlDocument(): HTMLDocument;
|
693 | getDefaultDocument(): Document;
|
694 | getBoundingClientRect(el: Element): any;
|
695 | getTitle(doc: Document): string;
|
696 | setTitle(doc: Document, newTitle: string): void;
|
697 | elementMatches(n: any, selector: string): boolean;
|
698 | isTemplateElement(el: Node): boolean;
|
699 | isTextNode(node: Node): boolean;
|
700 | isCommentNode(node: Node): boolean;
|
701 | isElementNode(node: Node): boolean;
|
702 | hasShadowRoot(node: any): boolean;
|
703 | isShadowRoot(node: any): boolean;
|
704 | importIntoDoc(node: Node): any;
|
705 | adoptNode(node: Node): any;
|
706 | getHref(el: Element): string;
|
707 | getEventKey(event: any): string;
|
708 | getGlobalEventTarget(doc: Document, target: string): EventTarget | null;
|
709 | getHistory(): History;
|
710 | getLocation(): Location;
|
711 | getBaseHref(doc: Document): string | null;
|
712 | resetBaseElement(): void;
|
713 | getUserAgent(): string;
|
714 | setData(element: Element, name: string, value: string): void;
|
715 | getData(element: Element, name: string): string | null;
|
716 | getComputedStyle(element: any): any;
|
717 | supportsWebAnimation(): boolean;
|
718 | performanceNow(): number;
|
719 | supportsCookies(): boolean;
|
720 | getCookie(name: string): string | null;
|
721 | setCookie(name: string, value: string): void;
|
722 | }
|
723 |
|
724 | export declare class ɵBrowserGetTestability implements GetTestability {
|
725 | static init(): void;
|
726 | addToWindow(registry: TestabilityRegistry): void;
|
727 | findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability | null;
|
728 | }
|
729 |
|
730 |
|
731 |
|
732 |
|
733 |
|
734 |
|
735 | export declare class ɵBrowserPlatformLocation extends PlatformLocation {
|
736 | private _doc;
|
737 | readonly location: Location;
|
738 | private _history;
|
739 | constructor(_doc: any);
|
740 | getBaseHrefFromDOM(): string;
|
741 | onPopState(fn: LocationChangeListener): void;
|
742 | onHashChange(fn: LocationChangeListener): void;
|
743 | readonly href: string;
|
744 | readonly protocol: string;
|
745 | readonly hostname: string;
|
746 | readonly port: string;
|
747 | pathname: string;
|
748 | readonly search: string;
|
749 | readonly hash: string;
|
750 | pushState(state: any, title: string, url: string): void;
|
751 | replaceState(state: any, title: string, url: string): void;
|
752 | forward(): void;
|
753 | back(): void;
|
754 | getState(): unknown;
|
755 | }
|
756 |
|
757 |
|
758 |
|
759 |
|
760 |
|
761 |
|
762 |
|
763 | export declare abstract class ɵDomAdapter {
|
764 | resourceLoaderType: Type<any>;
|
765 | abstract hasProperty(element: any, name: string): boolean;
|
766 | abstract setProperty(el: Element, name: string, value: any): any;
|
767 | abstract getProperty(el: Element, name: string): any;
|
768 | abstract invoke(el: Element, methodName: string, args: any[]): any;
|
769 | abstract logError(error: any): any;
|
770 | abstract log(error: any): any;
|
771 | abstract logGroup(error: any): any;
|
772 | abstract logGroupEnd(): any;
|
773 | |
774 |
|
775 |
|
776 |
|
777 | attrToPropMap: {
|
778 | [key: string]: string;
|
779 | };
|
780 | abstract contains(nodeA: any, nodeB: any): boolean;
|
781 | abstract parse(templateHtml: string): any;
|
782 | abstract querySelector(el: any, selector: string): any;
|
783 | abstract querySelectorAll(el: any, selector: string): any[];
|
784 | abstract on(el: any, evt: any, listener: any): any;
|
785 | abstract onAndCancel(el: any, evt: any, listener: any): Function;
|
786 | abstract dispatchEvent(el: any, evt: any): any;
|
787 | abstract createMouseEvent(eventType: any): any;
|
788 | abstract createEvent(eventType: string): any;
|
789 | abstract preventDefault(evt: any): any;
|
790 | abstract isPrevented(evt: any): boolean;
|
791 | abstract getInnerHTML(el: any): string;
|
792 |
|
793 | abstract getTemplateContent(el: any): any;
|
794 | abstract getOuterHTML(el: any): string;
|
795 | abstract nodeName(node: any): string;
|
796 | abstract nodeValue(node: any): string | null;
|
797 | abstract type(node: any): string;
|
798 | abstract content(node: any): any;
|
799 | abstract firstChild(el: any): Node | null;
|
800 | abstract nextSibling(el: any): Node | null;
|
801 | abstract parentElement(el: any): Node | null;
|
802 | abstract childNodes(el: any): Node[];
|
803 | abstract childNodesAsList(el: any): Node[];
|
804 | abstract clearNodes(el: any): any;
|
805 | abstract appendChild(el: any, node: any): any;
|
806 | abstract removeChild(el: any, node: any): any;
|
807 | abstract replaceChild(el: any, newNode: any, oldNode: any): any;
|
808 | abstract remove(el: any): Node;
|
809 | abstract insertBefore(parent: any, ref: any, node: any): any;
|
810 | abstract insertAllBefore(parent: any, ref: any, nodes: any): any;
|
811 | abstract insertAfter(parent: any, el: any, node: any): any;
|
812 | abstract setInnerHTML(el: any, value: any): any;
|
813 | abstract getText(el: any): string | null;
|
814 | abstract setText(el: any, value: string): any;
|
815 | abstract getValue(el: any): string;
|
816 | abstract setValue(el: any, value: string): any;
|
817 | abstract getChecked(el: any): boolean;
|
818 | abstract setChecked(el: any, value: boolean): any;
|
819 | abstract createComment(text: string): any;
|
820 | abstract createTemplate(html: any): HTMLElement;
|
821 | abstract createElement(tagName: any, doc?: any): HTMLElement;
|
822 | abstract createElementNS(ns: string, tagName: string, doc?: any): Element;
|
823 | abstract createTextNode(text: string, doc?: any): Text;
|
824 | abstract createScriptTag(attrName: string, attrValue: string, doc?: any): HTMLElement;
|
825 | abstract createStyleElement(css: string, doc?: any): HTMLStyleElement;
|
826 | abstract createShadowRoot(el: any): any;
|
827 | abstract getShadowRoot(el: any): any;
|
828 | abstract getHost(el: any): any;
|
829 | abstract getDistributedNodes(el: any): Node[];
|
830 | abstract clone(node: Node): Node;
|
831 | abstract getElementsByClassName(element: any, name: string): HTMLElement[];
|
832 | abstract getElementsByTagName(element: any, name: string): HTMLElement[];
|
833 | abstract classList(element: any): any[];
|
834 | abstract addClass(element: any, className: string): any;
|
835 | abstract removeClass(element: any, className: string): any;
|
836 | abstract hasClass(element: any, className: string): boolean;
|
837 | abstract setStyle(element: any, styleName: string, styleValue: string): any;
|
838 | abstract removeStyle(element: any, styleName: string): any;
|
839 | abstract getStyle(element: any, styleName: string): string;
|
840 | abstract hasStyle(element: any, styleName: string, styleValue?: string): boolean;
|
841 | abstract tagName(element: any): string;
|
842 | abstract attributeMap(element: any): Map<string, string>;
|
843 | abstract hasAttribute(element: any, attribute: string): boolean;
|
844 | abstract hasAttributeNS(element: any, ns: string, attribute: string): boolean;
|
845 | abstract getAttribute(element: any, attribute: string): string | null;
|
846 | abstract getAttributeNS(element: any, ns: string, attribute: string): string | null;
|
847 | abstract setAttribute(element: any, name: string, value: string): any;
|
848 | abstract setAttributeNS(element: any, ns: string, name: string, value: string): any;
|
849 | abstract removeAttribute(element: any, attribute: string): any;
|
850 | abstract removeAttributeNS(element: any, ns: string, attribute: string): any;
|
851 | abstract templateAwareRoot(el: any): any;
|
852 | abstract createHtmlDocument(): HTMLDocument;
|
853 | abstract getDefaultDocument(): Document;
|
854 | abstract getBoundingClientRect(el: any): any;
|
855 | abstract getTitle(doc: Document): string;
|
856 | abstract setTitle(doc: Document, newTitle: string): any;
|
857 | abstract elementMatches(n: any, selector: string): boolean;
|
858 | abstract isTemplateElement(el: any): boolean;
|
859 | abstract isTextNode(node: any): boolean;
|
860 | abstract isCommentNode(node: any): boolean;
|
861 | abstract isElementNode(node: any): boolean;
|
862 | abstract hasShadowRoot(node: any): boolean;
|
863 | abstract isShadowRoot(node: any): boolean;
|
864 | abstract importIntoDoc(node: Node): Node;
|
865 | abstract adoptNode(node: Node): Node;
|
866 | abstract getHref(element: any): string;
|
867 | abstract getEventKey(event: any): string;
|
868 | abstract resolveAndSetHref(element: any, baseUrl: string, href: string): any;
|
869 | abstract supportsDOMEvents(): boolean;
|
870 | abstract supportsNativeShadowDOM(): boolean;
|
871 | abstract getGlobalEventTarget(doc: Document, target: string): any;
|
872 | abstract getHistory(): History;
|
873 | abstract getLocation(): Location;
|
874 | abstract getBaseHref(doc: Document): string | null;
|
875 | abstract resetBaseElement(): void;
|
876 | abstract getUserAgent(): string;
|
877 | abstract setData(element: any, name: string, value: string): any;
|
878 | abstract getComputedStyle(element: any): any;
|
879 | abstract getData(element: any, name: string): string | null;
|
880 | abstract supportsWebAnimation(): boolean;
|
881 | abstract performanceNow(): number;
|
882 | abstract getAnimationPrefix(): string;
|
883 | abstract getTransitionEnd(): string;
|
884 | abstract supportsAnimation(): boolean;
|
885 | abstract supportsCookies(): boolean;
|
886 | abstract getCookie(name: string): string | null;
|
887 | abstract setCookie(name: string, value: string): any;
|
888 | }
|
889 |
|
890 | export declare class ɵDomEventsPlugin extends ɵangular_packages_platform_browser_platform_browser_g {
|
891 | private ngZone;
|
892 | constructor(doc: any, ngZone: NgZone, platformId: {} | null);
|
893 | private patchEvent;
|
894 | supports(eventName: string): boolean;
|
895 | addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
|
896 | removeEventListener(target: any, eventName: string, callback: Function): void;
|
897 | }
|
898 |
|
899 | export declare class ɵDomRendererFactory2 implements RendererFactory2 {
|
900 | private eventManager;
|
901 | private sharedStylesHost;
|
902 | private appId;
|
903 | private rendererByCompId;
|
904 | private defaultRenderer;
|
905 | constructor(eventManager: EventManager, sharedStylesHost: ɵDomSharedStylesHost, appId: string);
|
906 | createRenderer(element: any, type: RendererType2 | null): Renderer2;
|
907 | begin(): void;
|
908 | end(): void;
|
909 | }
|
910 |
|
911 | export declare class ɵDomSanitizerImpl extends DomSanitizer {
|
912 | private _doc;
|
913 | constructor(_doc: any);
|
914 | sanitize(ctx: SecurityContext, value: SafeValue | string | null): string | null;
|
915 | private checkNotSafeValue;
|
916 | bypassSecurityTrustHtml(value: string): SafeHtml;
|
917 | bypassSecurityTrustStyle(value: string): SafeStyle;
|
918 | bypassSecurityTrustScript(value: string): SafeScript;
|
919 | bypassSecurityTrustUrl(value: string): SafeUrl;
|
920 | bypassSecurityTrustResourceUrl(value: string): SafeResourceUrl;
|
921 | }
|
922 |
|
923 | export declare class ɵDomSharedStylesHost extends ɵSharedStylesHost implements OnDestroy {
|
924 | private _doc;
|
925 | private _hostNodes;
|
926 | private _styleNodes;
|
927 | constructor(_doc: any);
|
928 | private _addStylesToHost;
|
929 | addHost(hostNode: Node): void;
|
930 | removeHost(hostNode: Node): void;
|
931 | onStylesAdded(additions: Set<string>): void;
|
932 | ngOnDestroy(): void;
|
933 | }
|
934 |
|
935 | export declare const ɵELEMENT_PROBE_PROVIDERS: Provider[];
|
936 |
|
937 |
|
938 |
|
939 |
|
940 |
|
941 |
|
942 |
|
943 |
|
944 | export declare const ɵELEMENT_PROBE_PROVIDERS__POST_R3__: never[];
|
945 |
|
946 |
|
947 | export declare function ɵescapeHtml(text: string): string;
|
948 |
|
949 | export declare function ɵflattenStyles(compId: string, styles: Array<any | any[]>, target: string[]): string[];
|
950 |
|
951 | export declare function ɵgetDOM(): ɵDomAdapter;
|
952 |
|
953 | export declare class ɵHammerGesturesPlugin extends ɵangular_packages_platform_browser_platform_browser_g {
|
954 | private _config;
|
955 | private console;
|
956 | private loader?;
|
957 | constructor(doc: any, _config: HammerGestureConfig, console: ɵConsole, loader?: HammerLoader | null | undefined);
|
958 | supports(eventName: string): boolean;
|
959 | addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
|
960 | isCustomEvent(eventName: string): boolean;
|
961 | }
|
962 |
|
963 | export declare function ɵinitDomAdapter(): void;
|
964 |
|
965 | export declare const ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS: StaticProvider[];
|
966 |
|
967 |
|
968 |
|
969 |
|
970 |
|
971 | export declare class ɵKeyEventsPlugin extends ɵangular_packages_platform_browser_platform_browser_g {
|
972 | |
973 |
|
974 |
|
975 |
|
976 | constructor(doc: any);
|
977 | |
978 |
|
979 |
|
980 |
|
981 |
|
982 | supports(eventName: string): boolean;
|
983 | |
984 |
|
985 |
|
986 |
|
987 |
|
988 |
|
989 |
|
990 |
|
991 | addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
|
992 | static parseEventName(eventName: string): {
|
993 | [key: string]: string;
|
994 | } | null;
|
995 | static getEventFullKey(event: KeyboardEvent): string;
|
996 | |
997 |
|
998 |
|
999 |
|
1000 |
|
1001 |
|
1002 |
|
1003 | static eventCallback(fullKey: any, handler: Function, zone: NgZone): Function;
|
1004 | }
|
1005 |
|
1006 | export declare const ɵNAMESPACE_URIS: {
|
1007 | [ns: string]: string;
|
1008 | };
|
1009 |
|
1010 | export declare function ɵsetRootDomAdapter(adapter: ɵDomAdapter): void;
|
1011 |
|
1012 | export declare class ɵSharedStylesHost {
|
1013 | addStyles(styles: string[]): void;
|
1014 | onStylesAdded(additions: Set<string>): void;
|
1015 | getAllStyles(): string[];
|
1016 | }
|
1017 |
|
1018 | export declare function ɵshimContentAttribute(componentShortId: string): string;
|
1019 |
|
1020 | export declare function ɵshimHostAttribute(componentShortId: string): string;
|
1021 |
|
1022 |
|
1023 |
|
1024 |
|
1025 |
|
1026 | export declare const ɵTRANSITION_ID: InjectionToken<unknown>;
|
1027 |
|
1028 | export { }
|
1029 |
|
\ | No newline at end of file |