@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
74 lines • 6.46 kB
TypeScript
import { EnvironmentProviders, ModuleWithProviders, Provider } from '@angular/core';
import { TranslateService } from '../i18n/translate.service';
import { AppStateService } from './ui-state.service';
import { UserPreferencesService } from './user-preferences/user-preferences.service';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../i18n/i18n.module";
import * as i3 from "ngx-bootstrap/tooltip";
import * as i4 from "@angular/cdk/scrolling";
import * as i5 from "./asset-link.pipe";
import * as i6 from "./component-outlet.directive";
import * as i7 from "./humanize-app-name.pipe";
import * as i8 from "./icon.directive";
import * as i9 from "./date.pipe";
import * as i10 from "./loading.component";
import * as i11 from "./empty-state/empty-state.component";
import * as i12 from "./empty-state/empty-state-context.directive";
import * as i13 from "./bytes.pipe";
import * as i14 from "./user-name-initials.pipe";
import * as i15 from "./shorten-user-name.pipe";
import * as i16 from "./humanize.pipe";
import * as i17 from "./if-allowed.directive";
import * as i18 from "./number.pipe";
import * as i19 from "./operation-result.component";
import * as i20 from "./markdown-to-html.pipe";
import * as i21 from "./mo-name.pipe";
import * as i22 from "./outlet.directive";
import * as i23 from "./should-show-mo.pipe";
import * as i24 from "./get-group-icon.pipe";
import * as i25 from "./forOf.directive";
import * as i26 from "./load-more.component";
import * as i27 from "./map-function.pipe";
import * as i28 from "./progress-bar.component";
import * as i29 from "./dropdown-direction.directive";
import * as i30 from "./textarea-autoresize.directive";
import * as i31 from "./tabset-aria.directive";
import * as i32 from "./virtual-scroll/virtual-scroller-wrapper.component";
import * as i33 from "./virtual-scroll/virtual-scroll-window.directive";
import * as i34 from "./show-if-filter.pipe";
import * as i35 from "./skip-link.directive";
import * as i36 from "./generic-file-icon.pipe";
import * as i37 from "./stringify-object.pipe";
export declare function initializeServices(translateService: TranslateService, state: AppStateService, userPreferences: UserPreferencesService): () => void;
/**
* Commonly used directives, data access and translation. This module is the shared
* module across all core components. It should be imported by default.
*
* @exports IconDirective A directive to set a c8y icon with [c8yIcon]="'rocket'".
* @exports OutletDirective A directive which allows to set DOM or Angular templates (used for upgrade).
* @exports I18nModule Translation module.
* @exports NgCommonModule Angular common module.
* @exports DataModule The data layer to allow DI with @c8y/client.
* @exports HumanizeAppNamePipe Humanize an application name for display in e.g. the app switcher (e.g. `devicemanagement` becomes `Device Management`).
* @exports HumanizePipe Humanize a string, e.g. `c8y_water_temperature` becomes `Water Temperature`.
* @exports ShouldShowMoPipe Checks if passed managed object is device or group type.
* @exports GetGroupIconPipe Gets proper group icon.
* @exports ShortenUserNamePipe Allows a short name. E.g. `Foo Bar` gets `F. Bar`.
* @exports UserNameInitialsPipe Allows the initials from the name. E.g. `Foo Bar` gets `FB`.
* @exports ForOfDirective A forOf directive like ngFor but with load-more function.
* @exports LoadMoreComponent A component to load more data from a certain data-source.
* @exports ProgressBarComponent Displays either defined or undefined progress.
* @exports DropdownDirectionDirective Determines if a dropdown opens to the bottom or to the top.
* @exports TextareaAutoresizeDirective resizes a textarea height as the user inputs.
* @exports OperationResultComponent displays an animated svg for success and error operations.
*/
export declare class CommonModule {
static providers(): (Provider | EnvironmentProviders)[];
static forRoot(): ModuleWithProviders<CommonModule>;
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration<CommonModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<CommonModule, never, [typeof i1.CommonModule, typeof i2.I18nModule, typeof i3.TooltipModule, typeof i4.ScrollingModule, typeof i5.AssetLinkPipe, typeof i6.C8yComponentOutlet, typeof i7.HumanizeAppNamePipe, typeof i8.IconDirective, typeof i9.DatePipe, typeof i10.LoadingComponent, typeof i11.EmptyStateComponent, typeof i12.EmptyStateContextDirective, typeof i13.BytesPipe, typeof i14.UserNameInitialsPipe, typeof i15.ShortenUserNamePipe, typeof i16.HumanizePipe, typeof i17.IfAllowedDirective, typeof i18.NumberPipe, typeof i19.OperationResultComponent, typeof i20.MarkdownToHtmlPipe, typeof i21.MoNamePipe, typeof i22.OutletDirective, typeof i23.ShouldShowMoPipe, typeof i24.GetGroupIconPipe, typeof i25.ForOfDirective, typeof i26.LoadMoreComponent, typeof i27.MapFunctionPipe, typeof i28.ProgressBarComponent, typeof i29.DropdownDirectionDirective, typeof i30.TextareaAutoresizeDirective, typeof i31.TabsetAriaDirective, typeof i32.VirtualScrollerWrapperComponent, typeof i33.VirtualScrollWindowDirective, typeof i34.ShowIfFilterPipe, typeof i35.SkipLinkDirective, typeof i36.GenericFileIconPipe, typeof i37.StringifyObjectPipe], [typeof i11.EmptyStateComponent, typeof i12.EmptyStateContextDirective, typeof i8.IconDirective, typeof i22.OutletDirective, typeof i2.I18nModule, typeof i1.CommonModule, typeof i7.HumanizeAppNamePipe, typeof i16.HumanizePipe, typeof i23.ShouldShowMoPipe, typeof i24.GetGroupIconPipe, typeof i17.IfAllowedDirective, typeof i15.ShortenUserNamePipe, typeof i14.UserNameInitialsPipe, typeof i25.ForOfDirective, typeof i26.LoadMoreComponent, typeof i27.MapFunctionPipe, typeof i28.ProgressBarComponent, typeof i9.DatePipe, typeof i18.NumberPipe, typeof i10.LoadingComponent, typeof i29.DropdownDirectionDirective, typeof i30.TextareaAutoresizeDirective, typeof i31.TabsetAriaDirective, typeof i19.OperationResultComponent, typeof i32.VirtualScrollerWrapperComponent, typeof i33.VirtualScrollWindowDirective, typeof i13.BytesPipe, typeof i34.ShowIfFilterPipe, typeof i35.SkipLinkDirective, typeof i20.MarkdownToHtmlPipe, typeof i21.MoNamePipe, typeof i36.GenericFileIconPipe, typeof i37.StringifyObjectPipe, typeof i5.AssetLinkPipe, typeof i6.C8yComponentOutlet]>;
static ɵinj: i0.ɵɵInjectorDeclaration<CommonModule>;
}
//# sourceMappingURL=common.module.d.ts.map