@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
39 lines (35 loc) • 1.78 kB
JavaScript
import * as i0 from '@angular/core';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { TAP_INFO_RESOLVER_CONFIG, ConnectedTapResolver, TapConnectionService } from '@iotize/ionic';
import { defaultInfoResolverConfig } from '@iotize/ionic/config';
class TapDeviceAngularModule {
static forRoot() {
return {
ngModule: TapDeviceAngularModule,
providers: [
{
provide: TAP_INFO_RESOLVER_CONFIG,
useValue: defaultInfoResolverConfig,
},
],
};
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TapDeviceAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: TapDeviceAngularModule, imports: [RouterModule] });
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TapDeviceAngularModule, providers: [ConnectedTapResolver, TapConnectionService], imports: [RouterModule] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TapDeviceAngularModule, decorators: [{
type: NgModule,
args: [{
declarations: [],
providers: [ConnectedTapResolver, TapConnectionService],
imports: [RouterModule],
exports: [],
}]
}] });
/**
* Generated bundle index. Do not edit.
*/
export { TapDeviceAngularModule };
//# sourceMappingURL=iotize-ionic-default.mjs.map