ing
This commit is contained in:
parent
ea58df7869
commit
ea812f6e54
|
@ -11,14 +11,14 @@ import { AlertLoggerModule } from './alert-logger.module';
|
||||||
|
|
||||||
import { COMPONENTS } from './component';
|
import { COMPONENTS } from './component';
|
||||||
// import { SERVICES } from './service';
|
// import { SERVICES } from './service';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
// InputChipModule,
|
// InputChipModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
AlertLoggerModule,
|
AlertLoggerModule,
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
import { BlockProgressbarComponent } from './block-progressbar.component';
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
PrimeNGModules
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
BlockProgressbarComponent
|
|
||||||
],
|
|
||||||
exports: [
|
|
||||||
BlockProgressbarComponent
|
|
||||||
]
|
|
||||||
})
|
|
||||||
export class BlockProgressbarModule { }
|
|
|
@ -1,18 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { KeyValueComponent } from './key-value.component';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
PrimeNGModules
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
KeyValueComponent,
|
|
||||||
],
|
|
||||||
exports: [
|
|
||||||
KeyValueComponent,
|
|
||||||
]
|
|
||||||
})
|
|
||||||
export class KeyValueModule { }
|
|
|
@ -1 +0,0 @@
|
||||||
<p-messages [(value)]="message" [closable]="closable"></p-messages>
|
|
|
@ -1,18 +0,0 @@
|
||||||
import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';
|
|
||||||
import { Message } from 'primeng/primeng';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'of-message',
|
|
||||||
templateUrl: './message.component.html',
|
|
||||||
})
|
|
||||||
export class MessageComponent {
|
|
||||||
|
|
||||||
@Input() message: Message;
|
|
||||||
@Input() closeAfter: number;
|
|
||||||
@Input() closable: boolean;
|
|
||||||
|
|
||||||
constructor(
|
|
||||||
) {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
import { MessageComponent } from './message.component';
|
|
||||||
import { ErrorMessageComponent } from './error-message.component';
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
PrimeNGModules
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
MessageComponent,
|
|
||||||
ErrorMessageComponent
|
|
||||||
],
|
|
||||||
exports: [
|
|
||||||
MessageComponent,
|
|
||||||
ErrorMessageComponent
|
|
||||||
]
|
|
||||||
})
|
|
||||||
export class MessageModule { }
|
|
|
@ -10,8 +10,7 @@ import { COMPONENTS } from './component';
|
||||||
import { SERVICES } from './service';
|
import { SERVICES } from './service';
|
||||||
import { CONTAINER_COMPONENTS } from './container';
|
import { CONTAINER_COMPONENTS } from './container';
|
||||||
|
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module';
|
|
||||||
import { ProbeModule } from '@overflow/probe/probe.module';
|
import { ProbeModule } from '@overflow/probe/probe.module';
|
||||||
import { MetaModule } from '@overflow/meta/meta.module';
|
import { MetaModule } from '@overflow/meta/meta.module';
|
||||||
|
|
||||||
|
@ -20,11 +19,10 @@ import { MetaModule } from '@overflow/meta/meta.module';
|
||||||
CommonModule,
|
CommonModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
DiscoveryStoreModule,
|
DiscoveryStoreModule,
|
||||||
DiscoveryRPCModule,
|
DiscoveryRPCModule,
|
||||||
DiscoveryLoggerModule,
|
DiscoveryLoggerModule,
|
||||||
KeyValueModule,
|
|
||||||
ProbeModule,
|
ProbeModule,
|
||||||
MetaModule
|
MetaModule
|
||||||
],
|
],
|
||||||
|
|
|
@ -4,23 +4,20 @@ import { InfraStoreModule } from './infra-store.module';
|
||||||
import { COMPONENTS } from './component';
|
import { COMPONENTS } from './component';
|
||||||
import { SERVICES } from './service';
|
import { SERVICES } from './service';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
import { DiscoveryModule } from '@overflow/discovery/discovery.module';
|
import { DiscoveryModule } from '@overflow/discovery/discovery.module';
|
||||||
import { SensorModule } from '@overflow/sensor/sensor.module';
|
import { SensorModule } from '@overflow/sensor/sensor.module';
|
||||||
import { ProbeModule } from '@overflow/probe/probe.module';
|
import { ProbeModule } from '@overflow/probe/probe.module';
|
||||||
import { MetaModule } from '@overflow/meta/meta.module';
|
import { MetaModule } from '@overflow/meta/meta.module';
|
||||||
import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module';
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
InfraStoreModule,
|
InfraStoreModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
DiscoveryModule,
|
DiscoveryModule,
|
||||||
SensorModule,
|
SensorModule,
|
||||||
KeyValueModule,
|
|
||||||
ProbeModule,
|
ProbeModule,
|
||||||
MetaModule,
|
MetaModule,
|
||||||
],
|
],
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { MemberRESTModule } from './member-rest.module';
|
||||||
import { COMPONENTS } from './component';
|
import { COMPONENTS } from './component';
|
||||||
import { CONTAINERS } from './container';
|
import { CONTAINERS } from './container';
|
||||||
import { SERVICES } from './service';
|
import { SERVICES } from './service';
|
||||||
import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
import { QRCodeModule } from 'angularx-qrcode';
|
import { QRCodeModule } from 'angularx-qrcode';
|
||||||
import { RecaptchaModule } from 'angular-google-recaptcha';
|
import { RecaptchaModule } from 'angular-google-recaptcha';
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ import { RecaptchaModule } from 'angular-google-recaptcha';
|
||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
MemberStoreModule,
|
MemberStoreModule,
|
||||||
MemberRESTModule,
|
MemberRESTModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
QRCodeModule,
|
QRCodeModule,
|
||||||
RecaptchaModule.forRoot({
|
RecaptchaModule.forRoot({
|
||||||
siteKey: '6LflfVkUAAAAAG2cpX4FKFALKIpVXznzWa4j4Ddh',
|
siteKey: '6LflfVkUAAAAAG2cpX4FKFALKIpVXznzWa4j4Ddh',
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
import { NoAuthProbeStoreModule } from './noauth-probe-store.module';
|
import { NoAuthProbeStoreModule } from './noauth-probe-store.module';
|
||||||
import { NoAuthProbeRPCModule } from './noauth-probe-rpc.module';
|
import { NoAuthProbeRPCModule } from './noauth-probe-rpc.module';
|
||||||
|
@ -9,8 +10,6 @@ import { COMPONENTS } from './component';
|
||||||
import { CONTAINER_COMPONENTS } from './container';
|
import { CONTAINER_COMPONENTS } from './container';
|
||||||
|
|
||||||
import { SERVICES } from './service';
|
import { SERVICES } from './service';
|
||||||
import { MessageModule } from '@overflow/commons/component/message/message.module';
|
|
||||||
import { BlockProgressbarModule } from '@overflow/commons/component/block-progressbar/block-progressbar.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -18,9 +17,7 @@ import { BlockProgressbarModule } from '@overflow/commons/component/block-progre
|
||||||
NoAuthProbeStoreModule,
|
NoAuthProbeStoreModule,
|
||||||
NoAuthProbeRPCModule,
|
NoAuthProbeRPCModule,
|
||||||
NoAuthProbeLoggerModule,
|
NoAuthProbeLoggerModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
MessageModule,
|
|
||||||
BlockProgressbarModule,
|
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
COMPONENTS,
|
COMPONENTS,
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
import { COMPONENTS } from './component';
|
import { COMPONENTS } from './component';
|
||||||
import { CONTAINER_COMPONENTS } from './container';
|
import { CONTAINER_COMPONENTS } from './container';
|
||||||
import { SERVICES } from './service';
|
import { SERVICES } from './service';
|
||||||
|
|
||||||
import { NotificationStoreModule } from './notification-store.module';
|
import { NotificationStoreModule } from './notification-store.module';
|
||||||
import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
NotificationStoreModule,
|
NotificationStoreModule,
|
||||||
PrimeNGModules
|
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
COMPONENTS,
|
COMPONENTS,
|
||||||
|
|
|
@ -5,23 +5,17 @@ import { COMPONENTS } from './component';
|
||||||
import { CONTAINER_COMPONENTS } from './container';
|
import { CONTAINER_COMPONENTS } from './container';
|
||||||
import { ProbeStoreModule } from './probe-store.module';
|
import { ProbeStoreModule } from './probe-store.module';
|
||||||
import { SERVICES } from './service';
|
import { SERVICES } from './service';
|
||||||
import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
|
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import { MetaModule } from '@overflow/meta/meta.module';
|
import { MetaModule } from '@overflow/meta/meta.module';
|
||||||
import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module';
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
import { BlockProgressbarModule } from '@overflow/commons/component/block-progressbar/block-progressbar.module';
|
|
||||||
import { MessageModule } from '@overflow/commons/component/message/message.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
PrimeNGModules,
|
|
||||||
ProbeStoreModule,
|
ProbeStoreModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
KeyValueModule,
|
UIModule,
|
||||||
MetaModule,
|
MetaModule,
|
||||||
BlockProgressbarModule,
|
|
||||||
MessageModule
|
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
CONTAINER_COMPONENTS,
|
CONTAINER_COMPONENTS,
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
import { COMPONENTS } from './component';
|
import { COMPONENTS } from './component';
|
||||||
import { SensorItemStoreModule } from './sensor-item-store.module';
|
import { SensorItemStoreModule } from './sensor-item-store.module';
|
||||||
import { SERVICES } from './service';
|
import { SERVICES } from './service';
|
||||||
import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
SensorItemStoreModule,
|
SensorItemStoreModule,
|
||||||
PrimeNGModules,
|
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
COMPONENTS,
|
COMPONENTS,
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
import { COMPONENTS } from './component';
|
import { COMPONENTS } from './component';
|
||||||
import { SERVICES } from './service';
|
import { SERVICES } from './service';
|
||||||
import { SensorStoreModule } from './sensor-store.module';
|
import { SensorStoreModule } from './sensor-store.module';
|
||||||
import { SensorItemModule } from '../sensor-item/sensor-item.module';
|
import { SensorItemModule } from '../sensor-item/sensor-item.module';
|
||||||
import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module';
|
|
||||||
import { CONTAINER_COMPONENTS } from './container';
|
import { CONTAINER_COMPONENTS } from './container';
|
||||||
// import { MetaCrawlerModule } from '../meta/crawler/crawler.module';
|
// import { MetaCrawlerModule } from '../meta/crawler/crawler.module';
|
||||||
// import { MetaSensorDisplayItemModule } from '../meta/sensor-display-item/sensor-display-item.module';
|
// import { MetaSensorDisplayItemModule } from '../meta/sensor-display-item/sensor-display-item.module';
|
||||||
|
@ -16,12 +17,9 @@ import { CONTAINER_COMPONENTS } from './container';
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
|
UIModule,
|
||||||
SensorStoreModule,
|
SensorStoreModule,
|
||||||
PrimeNGModules,
|
|
||||||
SensorItemModule,
|
SensorItemModule,
|
||||||
// MetaCrawlerModule,
|
|
||||||
// MetaSensorDisplayItemModule,
|
|
||||||
KeyValueModule
|
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
CONTAINER_COMPONENTS,
|
CONTAINER_COMPONENTS,
|
||||||
|
|
11
@overflow/shared/ui/component/index.ts
Normal file
11
@overflow/shared/ui/component/index.ts
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
import { BlockProgressbarComponent } from './block-progressbar.component';
|
||||||
|
import { KeyValueComponent } from './key-value.component';
|
||||||
|
import { ErrorMessageComponent } from './error-message.component';
|
||||||
|
import { MessageComponent } from './message.component';
|
||||||
|
|
||||||
|
export const COMPONENTS = [
|
||||||
|
BlockProgressbarComponent,
|
||||||
|
KeyValueComponent,
|
||||||
|
MessageComponent,
|
||||||
|
ErrorMessageComponent,
|
||||||
|
];
|
1
@overflow/shared/ui/component/message.component.html
Normal file
1
@overflow/shared/ui/component/message.component.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<p-messages [(value)]="msgs" [closable]="closable"></p-messages>
|
34
@overflow/shared/ui/component/message.component.ts
Normal file
34
@overflow/shared/ui/component/message.component.ts
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';
|
||||||
|
import { Message } from 'primeng/primeng';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'of-message',
|
||||||
|
templateUrl: './message.component.html',
|
||||||
|
})
|
||||||
|
export class MessageComponent implements OnInit, OnChanges {
|
||||||
|
|
||||||
|
@Input() error: any;
|
||||||
|
@Input() closeAfter: number;
|
||||||
|
@Input() closable: boolean;
|
||||||
|
msgs: Message[] = [];
|
||||||
|
|
||||||
|
constructor(
|
||||||
|
) {
|
||||||
|
}
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
ngOnChanges(changes: SimpleChanges) {
|
||||||
|
if (changes['error'].currentValue) {
|
||||||
|
const detail = ' (' + this.error.response.code + ')';
|
||||||
|
this.msgs = [];
|
||||||
|
this.msgs.push({ severity: 'error', summary: 'Sorry. An Error has occurred.', detail: detail });
|
||||||
|
if (this.closeAfter) {
|
||||||
|
setTimeout(() => {
|
||||||
|
this.msgs = [];
|
||||||
|
}, this.closeAfter * 1000);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
5
@overflow/shared/ui/directive/index.ts
Normal file
5
@overflow/shared/ui/directive/index.ts
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import { UITemplateDirective } from './ui-template.directive';
|
||||||
|
|
||||||
|
export const DIRECTIVES = [
|
||||||
|
UITemplateDirective,
|
||||||
|
];
|
17
@overflow/shared/ui/directive/ui-template.directive.ts
Normal file
17
@overflow/shared/ui/directive/ui-template.directive.ts
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
import { Directive, Input, Output, TemplateRef } from '@angular/core';
|
||||||
|
|
||||||
|
@Directive({
|
||||||
|
selector: '[ofUITemplate]',
|
||||||
|
})
|
||||||
|
export class UITemplateDirective {
|
||||||
|
|
||||||
|
@Input() type: string;
|
||||||
|
|
||||||
|
@Input('ofUITemplate') ofUITemplate: string;
|
||||||
|
|
||||||
|
constructor(public template: TemplateRef<any>) { }
|
||||||
|
|
||||||
|
getType(): string {
|
||||||
|
return this.ofUITemplate;
|
||||||
|
}
|
||||||
|
}
|
|
@ -71,7 +71,7 @@ import { DataViewModule } from 'primeng/dataview';
|
||||||
import { SidebarModule } from 'primeng/sidebar';
|
import { SidebarModule } from 'primeng/sidebar';
|
||||||
import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
||||||
|
|
||||||
const PRIME_NG_MODULES: any[] = [
|
export const PRIME_NG_MODULES: any[] = [
|
||||||
AccordionModule,
|
AccordionModule,
|
||||||
AutoCompleteModule,
|
AutoCompleteModule,
|
||||||
BreadcrumbModule,
|
BreadcrumbModule,
|
||||||
|
@ -146,13 +146,3 @@ const PRIME_NG_MODULES: any[] = [
|
||||||
InplaceModule,
|
InplaceModule,
|
||||||
ProgressSpinnerModule
|
ProgressSpinnerModule
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [
|
|
||||||
PRIME_NG_MODULES
|
|
||||||
],
|
|
||||||
exports: [
|
|
||||||
PRIME_NG_MODULES
|
|
||||||
],
|
|
||||||
})
|
|
||||||
export class PrimeNGModules { }
|
|
3
@overflow/shared/ui/ui.constant.ts
Normal file
3
@overflow/shared/ui/ui.constant.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export const MODULE = {
|
||||||
|
name: 'ui'
|
||||||
|
};
|
23
@overflow/shared/ui/ui.module.ts
Normal file
23
@overflow/shared/ui/ui.module.ts
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { PRIME_NG_MODULES } from './ui-prime-ng.module';
|
||||||
|
|
||||||
|
import { COMPONENTS } from './component';
|
||||||
|
import { DIRECTIVES } from './directive';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
PRIME_NG_MODULES,
|
||||||
|
],
|
||||||
|
exports: [
|
||||||
|
PRIME_NG_MODULES,
|
||||||
|
COMPONENTS,
|
||||||
|
DIRECTIVES,
|
||||||
|
],
|
||||||
|
declarations: [
|
||||||
|
COMPONENTS,
|
||||||
|
DIRECTIVES,
|
||||||
|
],
|
||||||
|
})
|
||||||
|
export class UIModule { }
|
|
@ -1,19 +1,18 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
import { COMPONENTS } from './component';
|
import { COMPONENTS } from './component';
|
||||||
import { SERVICES } from './service';
|
import { SERVICES } from './service';
|
||||||
import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
|
|
||||||
import { SensorModule } from '../sensor/sensor.module';
|
import { SensorModule } from '../sensor/sensor.module';
|
||||||
// import { KeyValueModule } from 'app/commons/component/key-value/key-value.module';
|
|
||||||
import { InfraModule } from '../infra/infra.module';
|
import { InfraModule } from '../infra/infra.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
PrimeNGModules,
|
|
||||||
SensorModule,
|
SensorModule,
|
||||||
// KeyValueModule,
|
UIModule,
|
||||||
InfraModule
|
InfraModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
3638
package-lock.json
generated
3638
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -1,12 +1,14 @@
|
||||||
import { NgModule, Inject } from '@angular/core';
|
import { NgModule, Inject } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
import { TabbarComponent } from './app.tabbar.component';
|
import { TabbarComponent } from './app.tabbar.component';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
TabbarComponent,
|
TabbarComponent,
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
import { MemberModule } from '@overflow/member/member.module';
|
||||||
|
|
||||||
import { AccountPageRoutingModule } from './account-page-routing.module';
|
import { AccountPageRoutingModule } from './account-page-routing.module';
|
||||||
import { AccountPageComponent } from './account-page.component';
|
import { AccountPageComponent } from './account-page.component';
|
||||||
import { ProfilePageComponent } from './profile/profile-page.component';
|
import { ProfilePageComponent } from './profile/profile-page.component';
|
||||||
import { SettingsPageComponent } from './settings/settings-page.component';
|
import { SettingsPageComponent } from './settings/settings-page.component';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
import { MemberModule } from '@overflow/member/member.module';
|
|
||||||
|
|
||||||
export const COMPONENTS = [
|
export const COMPONENTS = [
|
||||||
AccountPageComponent,
|
AccountPageComponent,
|
||||||
|
@ -18,7 +19,7 @@ export const COMPONENTS = [
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
AccountPageRoutingModule,
|
AccountPageRoutingModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
MemberModule,
|
MemberModule,
|
||||||
// NotificationModule,
|
// NotificationModule,
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
import { AlertModule } from '@overflow/alert/alert.module';
|
||||||
|
|
||||||
import { AlertPageRoutingModule } from './alert-page-routing.module';
|
import { AlertPageRoutingModule } from './alert-page-routing.module';
|
||||||
import { AlertPageComponent } from './alert-page.component';
|
import { AlertPageComponent } from './alert-page.component';
|
||||||
|
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
import { AlertModule } from '@overflow/alert/alert.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
AlertPageRoutingModule,
|
AlertPageRoutingModule,
|
||||||
// NotificationModule,
|
// NotificationModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
AlertModule
|
AlertModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
import { ErrorPageComponent } from './error-page.component';
|
import { ErrorPageComponent } from './error-page.component';
|
||||||
import { ErrorPageRoutingModule } from './error-page-routing.module';
|
import { ErrorPageRoutingModule } from './error-page-routing.module';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
ErrorPageRoutingModule,
|
ErrorPageRoutingModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
],
|
],
|
||||||
entryComponents: [
|
entryComponents: [
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
|
||||||
import { HomePageComponent } from './home-page.component';
|
import { HomePageComponent } from './home-page.component';
|
||||||
import { HomePageRoutingModule } from './home-page-routing.module';
|
import { HomePageRoutingModule } from './home-page-routing.module';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
HomePageRoutingModule,
|
HomePageRoutingModule,
|
||||||
PrimeNGModules,
|
|
||||||
],
|
],
|
||||||
entryComponents: [
|
entryComponents: [
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
import { NgModule, APP_INITIALIZER} from '@angular/core';
|
import { NgModule, APP_INITIALIZER} from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
import { NotificationModule } from '@overflow/notification/notification.module';
|
||||||
|
|
||||||
import { AppMenuComponent } from '../commons/component/layout/menu/app.menu.component';
|
import { AppMenuComponent } from '../commons/component/layout/menu/app.menu.component';
|
||||||
import { AppSubMenuComponent } from '../commons/component/layout/menu/app.submenu.component';
|
import { AppSubMenuComponent } from '../commons/component/layout/menu/app.submenu.component';
|
||||||
import { AppTopbarComponent } from '../commons/component/layout/topbar/app.topbar.component';
|
import { AppTopbarComponent } from '../commons/component/layout/topbar/app.topbar.component';
|
||||||
|
@ -17,16 +20,14 @@ import {
|
||||||
import { PagesComponent } from './pages.component';
|
import { PagesComponent } from './pages.component';
|
||||||
import { PagesRoutingModule } from './pages-routing.module';
|
import { PagesRoutingModule } from './pages-routing.module';
|
||||||
import { LocationStrategy, HashLocationStrategy } from '@angular/common';
|
import { LocationStrategy, HashLocationStrategy } from '@angular/common';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
import { TabbarModule } from '../commons/component/layout/tabbar/app.tabbar.module';
|
import { TabbarModule } from '../commons/component/layout/tabbar/app.tabbar.module';
|
||||||
import { NotificationModule } from '@overflow/notification/notification.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
PagesRoutingModule,
|
PagesRoutingModule,
|
||||||
LocalizationModule,
|
LocalizationModule,
|
||||||
PrimeNGModules,
|
UIModule,
|
||||||
TabbarModule,
|
TabbarModule,
|
||||||
NotificationModule
|
NotificationModule
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
import { ProbeModule } from '@overflow/probe/probe.module';
|
||||||
|
|
||||||
import { ProbeDownloadPageComponent } from './download-page.component';
|
import { ProbeDownloadPageComponent } from './download-page.component';
|
||||||
import { ProbeDownloadPageRoutingModule } from './download-page-routing.module';
|
import { ProbeDownloadPageRoutingModule } from './download-page-routing.module';
|
||||||
import { ProbeModule } from '@overflow/probe/probe.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
ProbeDownloadPageRoutingModule,
|
ProbeDownloadPageRoutingModule,
|
||||||
ProbeModule
|
ProbeModule
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
import { ProbeModule } from '@overflow/probe/probe.module';
|
||||||
|
|
||||||
import { ProbeTabPageComponent } from './probe-tab-page.component';
|
import { ProbeTabPageComponent } from './probe-tab-page.component';
|
||||||
import { ProbeTabPageRoutingModule } from './probe-tab-page-routing.module';
|
import { ProbeTabPageRoutingModule } from './probe-tab-page-routing.module';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
import { ProbeModule } from '@overflow/probe/probe.module';
|
|
||||||
import { TabbarModule } from '../../commons/component/layout/tabbar/app.tabbar.module';
|
import { TabbarModule } from '../../commons/component/layout/tabbar/app.tabbar.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
ProbeTabPageRoutingModule,
|
ProbeTabPageRoutingModule,
|
||||||
PrimeNGModules,
|
|
||||||
ProbeModule,
|
ProbeModule,
|
||||||
TabbarModule,
|
TabbarModule,
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
import { ProbeModule } from '@overflow/probe/probe.module';
|
||||||
|
|
||||||
import { ProbePageComponent } from './probe-page.component';
|
import { ProbePageComponent } from './probe-page.component';
|
||||||
import { ProbePageRoutingModule } from './probe-page-routing.module';
|
import { ProbePageRoutingModule } from './probe-page-routing.module';
|
||||||
import { ProbeModule } from '@overflow/probe/probe.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
ProbePageRoutingModule,
|
ProbePageRoutingModule,
|
||||||
ProbeModule
|
ProbeModule,
|
||||||
],
|
],
|
||||||
entryComponents: [
|
entryComponents: [
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
import { SensorModule } from '@overflow/sensor/sensor.module';
|
||||||
|
|
||||||
import { SensorTabPageComponent } from './sensor-tab-page.component';
|
import { SensorTabPageComponent } from './sensor-tab-page.component';
|
||||||
import { SensorTabPageRoutingModule } from './sensor-tab-page-routing.module';
|
import { SensorTabPageRoutingModule } from './sensor-tab-page-routing.module';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
import { SensorModule } from '@overflow/sensor/sensor.module';
|
|
||||||
import { TabbarModule } from '../../commons/component/layout/tabbar/app.tabbar.module';
|
import { TabbarModule } from '../../commons/component/layout/tabbar/app.tabbar.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
SensorTabPageRoutingModule,
|
SensorTabPageRoutingModule,
|
||||||
PrimeNGModules,
|
|
||||||
SensorModule,
|
SensorModule,
|
||||||
TabbarModule,
|
TabbarModule,
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
|
import { SensorModule } from '@overflow/sensor/sensor.module';
|
||||||
|
|
||||||
import { SensorPageComponent } from './sensor-page.component';
|
import { SensorPageComponent } from './sensor-page.component';
|
||||||
import { SensorPageRoutingModule } from './sensor-page-routing.module';
|
import { SensorPageRoutingModule } from './sensor-page-routing.module';
|
||||||
import { SensorModule } from '@overflow/sensor/sensor.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
SensorPageRoutingModule,
|
SensorPageRoutingModule,
|
||||||
SensorModule
|
SensorModule,
|
||||||
],
|
],
|
||||||
entryComponents: [
|
entryComponents: [
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
import { TargetModule } from '@overflow/target/target.module';
|
import { TargetModule } from '@overflow/target/target.module';
|
||||||
|
|
||||||
import { TargetPageRoutingModule } from './target-page-routing.module';
|
import { TargetPageRoutingModule } from './target-page-routing.module';
|
||||||
import { TargetPageComponent } from './target-page.component';
|
import { TargetPageComponent } from './target-page.component';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
import { TabbarModule } from '../../commons/component/layout/tabbar/app.tabbar.module';
|
import { TabbarModule } from '../../commons/component/layout/tabbar/app.tabbar.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
TargetPageRoutingModule,
|
TargetPageRoutingModule,
|
||||||
TargetModule,
|
TargetModule,
|
||||||
PrimeNGModules,
|
|
||||||
TabbarModule
|
TabbarModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { UIModule } from '@overflow/shared/ui/ui.module';
|
||||||
import { TargetModule } from '@overflow/target/target.module';
|
import { TargetModule } from '@overflow/target/target.module';
|
||||||
|
|
||||||
import { TargetsPageRoutingModule } from './targets-page-routing.module';
|
import { TargetsPageRoutingModule } from './targets-page-routing.module';
|
||||||
import { TargetsPageComponent } from './targets-page.component';
|
import { TargetsPageComponent } from './targets-page.component';
|
||||||
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
UIModule,
|
||||||
TargetsPageRoutingModule,
|
TargetsPageRoutingModule,
|
||||||
TargetModule,
|
TargetModule,
|
||||||
PrimeNGModules
|
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
TargetsPageComponent
|
TargetsPageComponent
|
||||||
|
|
Loading…
Reference in New Issue
Block a user