/*! * * Wijmo Library 5.20261.52 * https://developer.mescius.com/wijmo * * Copyright(c) MESCIUS inc. All rights reserved. * * Licensed under the End-User License Agreement For MESCIUS Wijmo Software. * us.sales@mescius.com * https://developer.mescius.com/wijmo/licensing * */ /** * {@module wijmo.angular2.core} * Contains Angular 2 components for the wijmo module. * * wijmo.angular2.core is an external TypeScript module that can be imported to your code * using its ambient module name. For example: * *
import * as wjCore from 'wijmo/wijmo.angular2.core';
*
* @Component({
* directives: [wjCore.WjTooltip],
* template: '<span [wjTooltip]="'Greeting'">Hello</span>',
* selector: 'my-cmp',
* })
* export class MyCmp {
* }
*
*/
/**
*
*/
export declare var ___keepComment: any;
import * as i0 from '@angular/core';
import { OnInit, OnDestroy, EventEmitter, ElementRef, Injector, NgZone, ChangeDetectorRef } from '@angular/core';
import * as i1 from '@angular/common';
import * as wjcCore from '@mescius/wijmo';
import { IWjComponentMetadata, IWjDirectiveMeta } from '@mescius/wijmo.angular2.directivebase';
export declare const wjTooltipMeta: IWjDirectiveMeta;
/**
* Angular 2 directive for the {@link Tooltip} class.
*
* Use the **wjTooltip** directive to add tooltips to elements on the page.
* The wjTooltip directive supports HTML content, smart positioning, and touch.
*
* The wjTooltip directive is specified as an attribute added to the
* element that the tooltip applies to. The parameter value is the tooltip
* text or the id of an element that contains the text.
*
* You can also specify the following additional properties for the tooltip:
* - wjTooltipPosition - represents the {@link Tooltip.position} property.
* For example:
* ```html
* * Paragraph with a string tooltip. *
** Paragraph with a tooltip defined as an element. *
* ... * * ``` */ export declare class WjTooltip implements OnInit, OnDestroy { private readonly _elRef; private static _toolTip; private _toolTipText; private _toolTipPosition; private _wjBehavior; static readonly meta: IWjComponentMetadata; /** * Indicates whether the component has been initialized by Angular. * Changes its value from false to true right before triggering the initialized event. */ isInitialized: boolean; /** * This event is triggered after the component has been initialized by Angular, that is * all bound properties have been assigned and child components (if any) have been initialized. */ initialized: EventEmitterHTML
*
* <wj-flex-grid #flex [itemsSource]="data">
* <wj-flex-grid-column *ngFor="let col of columns"
* [header]="col.header"
* [binding]="col.binding"
* [format]="col.format"
* [width]="col.width">
* <ng-template *ngIf="col.cellTemplate"
* wjFlexGridCellTemplate [cellType]="'Cell'"
* let-cell="cell">
* <wj-component-loader [component]="col.cellTemplate"
* [properties]="{item: cell.item}">
* </wj-component-loader>
* </ng-template>
* </wj-flex-grid-column>
* </wj-flex-grid>
*
*
* TypeScript
*
* @Component({
* ...
* })
* export class AppCmp {
* columns: any[];
*
* constructor() {
* this.columns = [
* { header: 'Product', binding: 'product' },
* { header: 'Revenue', binding: 'amount', format: 'n0' },
* {
* header: 'Expense',
* binding: 'amount2',
* cellTemplate: ExpenseCellCmp
* }
* ];
* }
* }
*
* @Component({
* ...
* })
* export class ExpenseCellCmp {
* item: any;
* }
*
* @NgModule({
* imports: [CommonModule, WjGridModule],
* declarations: [AppCmp],
* entryComponents: [ExpenseCellCmp]
* })
*/
export declare class WjComponentLoader implements OnInit, OnDestroy {
private readonly _ngZone;
private readonly _cdRef;
private readonly _injector;
private _component;
private _properties;
private _cmpRef;
private _isInit;
private _isZoneless;
private _isDestroyed;
private _pendingCheck;
private _propSubscriptions;
private _anchor;
propertiesChange: EventEmitter