refactoring
This commit is contained in:
parent
f48fbc61b4
commit
7ade2b20ed
@ -1,7 +0,0 @@
|
||||
export * from './modbus-basic-config/modbus-basic-config.component';
|
||||
export * from './modbus-values/modbus-values.component';
|
||||
export * from './modbus-data-keys-panel/modbus-data-keys-panel.component';
|
||||
export * from './modbus-slave-config/modbus-slave-config.component';
|
||||
export * from './modbus-master-table/modbus-master-table.component';
|
||||
export * from './modbus-slave-dialog/modbus-slave-dialog.component';
|
||||
export * from './modbus-security-config/modbus-security-config.component';
|
||||
@ -32,11 +32,10 @@ import { SharedModule } from '@shared/shared.module';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { takeUntil } from 'rxjs/operators';
|
||||
import { Subject } from 'rxjs';
|
||||
import {
|
||||
ModbusMasterTableComponent,
|
||||
ModbusSlaveConfigComponent,
|
||||
} from '@home/components/widget/lib/gateway/connectors-configuration/modbus';
|
||||
|
||||
import { EllipsisChipListDirective } from '@shared/directives/public-api';
|
||||
import { ModbusSlaveConfigComponent } from '../modbus-slave-config/modbus-slave-config.component';
|
||||
import { ModbusMasterTableComponent } from '../modbus-master-table/modbus-master-table.component';
|
||||
|
||||
@Component({
|
||||
selector: 'tb-modbus-basic-config',
|
||||
|
||||
@ -46,7 +46,7 @@ import { isDefinedAndNotNull, isUndefinedOrNull } from '@core/utils';
|
||||
import { SharedModule } from '@shared/shared.module';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { TbDatasource } from '@shared/abstract/datasource/datasource.abstract';
|
||||
import { ModbusSlaveDialogComponent } from '@home/components/widget/lib/gateway/connectors-configuration/modbus';
|
||||
import { ModbusSlaveDialogComponent } from '../modbus-slave-dialog/modbus-slave-dialog.component';
|
||||
|
||||
@Component({
|
||||
selector: 'tb-modbus-master-table',
|
||||
|
||||
@ -1,3 +1,20 @@
|
||||
<!--
|
||||
|
||||
Copyright © 2016-2024 The Thingsboard Authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
-->
|
||||
<div class="tb-form-panel no-border no-padding padding-top" [formGroup]="securityConfigFormGroup">
|
||||
<div class="tb-form-row space-between tb-flex fill-width">
|
||||
<div class="fixed-title-width" translate>gateway.client-cert-path</div>
|
||||
|
||||
@ -38,11 +38,9 @@ import { SharedModule } from '@shared/shared.module';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Subject } from 'rxjs';
|
||||
import { takeUntil } from 'rxjs/operators';
|
||||
import {
|
||||
ModbusValuesComponent,
|
||||
ModbusSecurityConfigComponent
|
||||
} from '@home/components/widget/lib/gateway/connectors-configuration/modbus';
|
||||
import { GatewayPortTooltipPipe } from '@home/pipes/public-api';
|
||||
import { ModbusSecurityConfigComponent } from '../modbus-security-config/modbus-security-config.component';
|
||||
import { ModbusValuesComponent, } from '../modbus-values/modbus-values.component';
|
||||
|
||||
@Component({
|
||||
selector: 'tb-modbus-server-config',
|
||||
|
||||
@ -36,10 +36,8 @@ import {
|
||||
import { SharedModule } from '@shared/shared.module';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Subject } from 'rxjs';
|
||||
import {
|
||||
ModbusValuesComponent,
|
||||
ModbusSecurityConfigComponent,
|
||||
} from '@home/components/widget/lib/gateway/connectors-configuration/modbus';
|
||||
import { ModbusValuesComponent } from '../modbus-values/modbus-values.component';
|
||||
import { ModbusSecurityConfigComponent } from '../modbus-security-config/modbus-security-config.component';
|
||||
import { DialogComponent } from '@shared/components/dialog.component';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { AppState } from '@core/core.state';
|
||||
|
||||
@ -46,12 +46,12 @@ import {
|
||||
} from '@home/components/widget/lib/gateway/gateway-widget.models';
|
||||
import { SharedModule } from '@shared/shared.module';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ModbusDataKeysPanelComponent } from '@home/components/widget/lib/gateway/connectors-configuration/public-api';
|
||||
import { takeUntil } from 'rxjs/operators';
|
||||
import { Subject } from 'rxjs';
|
||||
import { EllipsisChipListDirective } from '@shared/directives/public-api';
|
||||
import { MatButton } from '@angular/material/button';
|
||||
import { TbPopoverService } from '@shared/components/popover.service';
|
||||
import { ModbusDataKeysPanelComponent } from '../modbus-data-keys-panel/modbus-data-keys-panel.component';
|
||||
|
||||
@Component({
|
||||
selector: 'tb-modbus-values',
|
||||
|
||||
@ -1,3 +1,19 @@
|
||||
///
|
||||
/// Copyright © 2016-2024 The Thingsboard Authors
|
||||
///
|
||||
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
/// you may not use this file except in compliance with the License.
|
||||
/// You may obtain a copy of the License at
|
||||
///
|
||||
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||
///
|
||||
/// Unless required by applicable law or agreed to in writing, software
|
||||
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
/// See the License for the specific language governing permissions and
|
||||
/// limitations under the License.
|
||||
///
|
||||
|
||||
export * from './modbus-basic-config/modbus-basic-config.component';
|
||||
export * from './modbus-values/modbus-values.component';
|
||||
export * from './modbus-data-keys-panel/modbus-data-keys-panel.component';
|
||||
|
||||
@ -1,3 +1,19 @@
|
||||
///
|
||||
/// Copyright © 2016-2024 The Thingsboard Authors
|
||||
///
|
||||
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
/// you may not use this file except in compliance with the License.
|
||||
/// You may obtain a copy of the License at
|
||||
///
|
||||
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||
///
|
||||
/// Unless required by applicable law or agreed to in writing, software
|
||||
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
/// See the License for the specific language governing permissions and
|
||||
/// limitations under the License.
|
||||
///
|
||||
|
||||
import { DataSource } from '@angular/cdk/collections';
|
||||
import { BehaviorSubject, Observable } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
|
||||
@ -1 +1,17 @@
|
||||
///
|
||||
/// Copyright © 2016-2024 The Thingsboard Authors
|
||||
///
|
||||
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
/// you may not use this file except in compliance with the License.
|
||||
/// You may obtain a copy of the License at
|
||||
///
|
||||
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||
///
|
||||
/// Unless required by applicable law or agreed to in writing, software
|
||||
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
/// See the License for the specific language governing permissions and
|
||||
/// limitations under the License.
|
||||
///
|
||||
|
||||
export * from './datasource/datasource.abstract';
|
||||
|
||||
@ -1 +1,17 @@
|
||||
///
|
||||
/// Copyright © 2016-2024 The Thingsboard Authors
|
||||
///
|
||||
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
/// you may not use this file except in compliance with the License.
|
||||
/// You may obtain a copy of the License at
|
||||
///
|
||||
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||
///
|
||||
/// Unless required by applicable law or agreed to in writing, software
|
||||
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
/// See the License for the specific language governing permissions and
|
||||
/// limitations under the License.
|
||||
///
|
||||
|
||||
export * from './ellipsis-chip-list/ellipsis-chip-list.directive';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user