UI: Angular 14 migration
This commit is contained in:
		
							parent
							
								
									93cfc88f58
								
							
						
					
					
						commit
						3aed9db82f
					
				
							
								
								
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							@ -818,8 +818,10 @@
 | 
				
			|||||||
                            <exclude>docker/haproxy/**</exclude>
 | 
					                            <exclude>docker/haproxy/**</exclude>
 | 
				
			||||||
                            <exclude>docker/tb-node/**</exclude>
 | 
					                            <exclude>docker/tb-node/**</exclude>
 | 
				
			||||||
                            <exclude>ui/**</exclude>
 | 
					                            <exclude>ui/**</exclude>
 | 
				
			||||||
                            <exclude>src/.browserslistrc</exclude>
 | 
					                            <exclude>**/.browserslistrc</exclude>
 | 
				
			||||||
                            <exclude>**/yarn.lock</exclude>
 | 
					                            <exclude>**/yarn.lock</exclude>
 | 
				
			||||||
 | 
					                            <exclude>**/.yarnrc</exclude>
 | 
				
			||||||
 | 
					                            <exclude>**/.angular/**</exclude>
 | 
				
			||||||
                            <exclude>**/*.raw</exclude>
 | 
					                            <exclude>**/*.raw</exclude>
 | 
				
			||||||
                            <exclude>**/*.patch</exclude>
 | 
					                            <exclude>**/*.patch</exclude>
 | 
				
			||||||
                            <exclude>**/apache/cassandra/io/**</exclude>
 | 
					                            <exclude>**/apache/cassandra/io/**</exclude>
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										67
									
								
								ui-ngx/.eslintrc.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								ui-ngx/.eslintrc.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,67 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    "root": true,
 | 
				
			||||||
 | 
					    "ignorePatterns": [
 | 
				
			||||||
 | 
					        "projects/**/*"
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    "overrides": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "files": [
 | 
				
			||||||
 | 
					                "*.ts"
 | 
				
			||||||
 | 
					            ],
 | 
				
			||||||
 | 
					            "parserOptions": {
 | 
				
			||||||
 | 
					                "project": [
 | 
				
			||||||
 | 
					                    "tsconfig.json",
 | 
				
			||||||
 | 
					                    "e2e/tsconfig.json"
 | 
				
			||||||
 | 
					                ],
 | 
				
			||||||
 | 
					                "createDefaultProgram": true
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "extends": [
 | 
				
			||||||
 | 
					                "plugin:@angular-eslint/ng-cli-compat",
 | 
				
			||||||
 | 
					                "plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
 | 
				
			||||||
 | 
					                "plugin:@angular-eslint/template/process-inline-templates"
 | 
				
			||||||
 | 
					            ],
 | 
				
			||||||
 | 
					            "rules": {
 | 
				
			||||||
 | 
					                "@typescript-eslint/explicit-member-accessibility": [
 | 
				
			||||||
 | 
					                    "off",
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        "accessibility": "explicit"
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                ],
 | 
				
			||||||
 | 
					                "arrow-parens": [
 | 
				
			||||||
 | 
					                    "off",
 | 
				
			||||||
 | 
					                    "always"
 | 
				
			||||||
 | 
					                ],
 | 
				
			||||||
 | 
					                "@angular-eslint/component-selector": [
 | 
				
			||||||
 | 
					                    "error",
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        "prefix": [ "tb" ]
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                ],
 | 
				
			||||||
 | 
					                "id-blacklist": [
 | 
				
			||||||
 | 
					                    "error",
 | 
				
			||||||
 | 
					                    "any",
 | 
				
			||||||
 | 
					                    "Number",
 | 
				
			||||||
 | 
					                    "String",
 | 
				
			||||||
 | 
					                    "string",
 | 
				
			||||||
 | 
					                    "Boolean",
 | 
				
			||||||
 | 
					                    "boolean",
 | 
				
			||||||
 | 
					                    "Undefined",
 | 
				
			||||||
 | 
					                    "undefined"
 | 
				
			||||||
 | 
					                ],
 | 
				
			||||||
 | 
					                "import/order": "off",
 | 
				
			||||||
 | 
					                "@typescript-eslint/member-ordering": "off",
 | 
				
			||||||
 | 
					                "no-underscore-dangle": "off",
 | 
				
			||||||
 | 
					                "@typescript-eslint/naming-convention": "off"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "files": [
 | 
				
			||||||
 | 
					                "*.html"
 | 
				
			||||||
 | 
					            ],
 | 
				
			||||||
 | 
					            "extends": [
 | 
				
			||||||
 | 
					                "plugin:@angular-eslint/template/recommended"
 | 
				
			||||||
 | 
					            ],
 | 
				
			||||||
 | 
					            "rules": {}
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -220,6 +220,15 @@
 | 
				
			|||||||
              "src/assets"
 | 
					              "src/assets"
 | 
				
			||||||
            ]
 | 
					            ]
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "lint": {
 | 
				
			||||||
 | 
					          "builder": "@angular-eslint/builder:lint",
 | 
				
			||||||
 | 
					          "options": {
 | 
				
			||||||
 | 
					            "lintFilePatterns": [
 | 
				
			||||||
 | 
					              "src/**/*.ts",
 | 
				
			||||||
 | 
					              "src/**/*.html"
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
@ -245,6 +254,9 @@
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  "cli": {
 | 
					  "cli": {
 | 
				
			||||||
    "packageManager": "yarn",
 | 
					    "packageManager": "yarn",
 | 
				
			||||||
    "analytics": false
 | 
					    "analytics": false,
 | 
				
			||||||
 | 
					    "schematicCollections": [
 | 
				
			||||||
 | 
					      "@angular-eslint/schematics"
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -26,8 +26,8 @@
 | 
				
			|||||||
    "@angular/platform-browser-dynamic": "^14.2.12",
 | 
					    "@angular/platform-browser-dynamic": "^14.2.12",
 | 
				
			||||||
    "@angular/router": "^14.2.12",
 | 
					    "@angular/router": "^14.2.12",
 | 
				
			||||||
    "@auth0/angular-jwt": "^5.1.2",
 | 
					    "@auth0/angular-jwt": "^5.1.2",
 | 
				
			||||||
    "@date-io/date-fns": "1.3.6",
 | 
					 | 
				
			||||||
    "@date-io/core": "1.3.6",
 | 
					    "@date-io/core": "1.3.6",
 | 
				
			||||||
 | 
					    "@date-io/date-fns": "1.3.6",
 | 
				
			||||||
    "@flowjs/flow.js": "^2.14.1",
 | 
					    "@flowjs/flow.js": "^2.14.1",
 | 
				
			||||||
    "@flowjs/ngx-flow": "~0.6.0",
 | 
					    "@flowjs/ngx-flow": "~0.6.0",
 | 
				
			||||||
    "@geoman-io/leaflet-geoman-free": "^2.13.0",
 | 
					    "@geoman-io/leaflet-geoman-free": "^2.13.0",
 | 
				
			||||||
@ -105,6 +105,11 @@
 | 
				
			|||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@angular-builders/custom-webpack": "~14.1.0",
 | 
					    "@angular-builders/custom-webpack": "~14.1.0",
 | 
				
			||||||
    "@angular-devkit/build-angular": "^14.2.10",
 | 
					    "@angular-devkit/build-angular": "^14.2.10",
 | 
				
			||||||
 | 
					    "@angular-eslint/builder": "14.4.0",
 | 
				
			||||||
 | 
					    "@angular-eslint/eslint-plugin": "14.4.0",
 | 
				
			||||||
 | 
					    "@angular-eslint/eslint-plugin-template": "14.4.0",
 | 
				
			||||||
 | 
					    "@angular-eslint/schematics": "14.4.0",
 | 
				
			||||||
 | 
					    "@angular-eslint/template-parser": "14.4.0",
 | 
				
			||||||
    "@angular/cli": "^14.2.10",
 | 
					    "@angular/cli": "^14.2.10",
 | 
				
			||||||
    "@angular/compiler-cli": "^14.2.12",
 | 
					    "@angular/compiler-cli": "^14.2.12",
 | 
				
			||||||
    "@angular/language-service": "^14.2.12",
 | 
					    "@angular/language-service": "^14.2.12",
 | 
				
			||||||
@ -132,9 +137,11 @@
 | 
				
			|||||||
    "@types/systemjs": "6.1.1",
 | 
					    "@types/systemjs": "6.1.1",
 | 
				
			||||||
    "@types/tinycolor2": "^1.4.3",
 | 
					    "@types/tinycolor2": "^1.4.3",
 | 
				
			||||||
    "@types/tooltipster": "^0.0.31",
 | 
					    "@types/tooltipster": "^0.0.31",
 | 
				
			||||||
    "codelyzer": "^6.0.2",
 | 
					    "@typescript-eslint/eslint-plugin": "5.43.0",
 | 
				
			||||||
 | 
					    "@typescript-eslint/parser": "5.43.0",
 | 
				
			||||||
    "compression-webpack-plugin": "^10.0.0",
 | 
					    "compression-webpack-plugin": "^10.0.0",
 | 
				
			||||||
    "directory-tree": "^3.5.1",
 | 
					    "directory-tree": "^3.5.1",
 | 
				
			||||||
 | 
					    "eslint": "^8.28.0",
 | 
				
			||||||
    "jasmine-core": "~3.10.1",
 | 
					    "jasmine-core": "~3.10.1",
 | 
				
			||||||
    "jasmine-spec-reporter": "~7.0.0",
 | 
					    "jasmine-spec-reporter": "~7.0.0",
 | 
				
			||||||
    "karma": "~6.3.9",
 | 
					    "karma": "~6.3.9",
 | 
				
			||||||
@ -148,7 +155,6 @@
 | 
				
			|||||||
    "protractor": "~7.0.0",
 | 
					    "protractor": "~7.0.0",
 | 
				
			||||||
    "raw-loader": "^4.0.2",
 | 
					    "raw-loader": "^4.0.2",
 | 
				
			||||||
    "ts-node": "^10.9.1",
 | 
					    "ts-node": "^10.9.1",
 | 
				
			||||||
    "tslint": "~6.1.3",
 | 
					 | 
				
			||||||
    "typescript": "~4.6.4",
 | 
					    "typescript": "~4.6.4",
 | 
				
			||||||
    "webpack": "^5.75.0"
 | 
					    "webpack": "^5.75.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
@ -156,4 +162,4 @@
 | 
				
			|||||||
    "@types/react": "17.0.37",
 | 
					    "@types/react": "17.0.37",
 | 
				
			||||||
    "ace-builds": "1.4.13"
 | 
					    "ace-builds": "1.4.13"
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -14,7 +14,7 @@
 | 
				
			|||||||
/// limitations under the License.
 | 
					/// limitations under the License.
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// tslint:disable-next-line:no-reference
 | 
					// eslint-disable-next-line @typescript-eslint/triple-slash-reference
 | 
				
			||||||
/// <reference path="../../../../src/typings/rawloader.typings.d.ts" />
 | 
					/// <reference path="../../../../src/typings/rawloader.typings.d.ts" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { Inject, Injectable, NgZone } from '@angular/core';
 | 
					import { Inject, Injectable, NgZone } from '@angular/core';
 | 
				
			||||||
 | 
				
			|||||||
@ -22,7 +22,7 @@ import { isDefinedAndNotNull } from '@core/utils';
 | 
				
			|||||||
export class TranslateDefaultParser extends TranslateParser {
 | 
					export class TranslateDefaultParser extends TranslateParser {
 | 
				
			||||||
  templateMatcher: RegExp = /{{\s?([^{}\s]*)\s?}}/g;
 | 
					  templateMatcher: RegExp = /{{\s?([^{}\s]*)\s?}}/g;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:ban-types
 | 
					  // eslint-disable-next-line @typescript-eslint/ban-types
 | 
				
			||||||
  public interpolate(expr: string | Function, params?: any): string {
 | 
					  public interpolate(expr: string | Function, params?: any): string {
 | 
				
			||||||
    let result: string;
 | 
					    let result: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -58,7 +58,7 @@ export class TranslateDefaultParser extends TranslateParser {
 | 
				
			|||||||
    return target;
 | 
					    return target;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:ban-types
 | 
					  // eslint-disable-next-line @typescript-eslint/ban-types
 | 
				
			||||||
  private interpolateFunction(fn: Function, params?: any) {
 | 
					  private interpolateFunction(fn: Function, params?: any) {
 | 
				
			||||||
    return fn(params);
 | 
					    return fn(params);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -258,9 +258,9 @@ export function hashCode(str: string): number {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
  for (i = 0; i < str.length; i++) {
 | 
					  for (i = 0; i < str.length; i++) {
 | 
				
			||||||
    char = str.charCodeAt(i);
 | 
					    char = str.charCodeAt(i);
 | 
				
			||||||
    // tslint:disable-next-line:no-bitwise
 | 
					    // eslint-disable-next-line no-bitwise
 | 
				
			||||||
    hash = ((hash << 5) - hash) + char;
 | 
					    hash = ((hash << 5) - hash) + char;
 | 
				
			||||||
    // tslint:disable-next-line:no-bitwise
 | 
					    // eslint-disable-next-line no-bitwise
 | 
				
			||||||
    hash = hash & hash; // Convert to 32bit integer
 | 
					    hash = hash & hash; // Convert to 32bit integer
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  return hash;
 | 
					  return hash;
 | 
				
			||||||
 | 
				
			|||||||
@ -241,7 +241,7 @@ import * as FilterPredicateValueComponent from '@home/components/filter/filter-p
 | 
				
			|||||||
import * as TenantProfileComponent from '@home/components/profile/tenant-profile.component';
 | 
					import * as TenantProfileComponent from '@home/components/profile/tenant-profile.component';
 | 
				
			||||||
import * as TenantProfileDialogComponent from '@home/components/profile/tenant-profile-dialog.component';
 | 
					import * as TenantProfileDialogComponent from '@home/components/profile/tenant-profile-dialog.component';
 | 
				
			||||||
import * as TenantProfileDataComponent from '@home/components/profile/tenant-profile-data.component';
 | 
					import * as TenantProfileDataComponent from '@home/components/profile/tenant-profile-data.component';
 | 
				
			||||||
// tslint:disable-next-line:max-line-length
 | 
					// eslint-disable-next-line max-len
 | 
				
			||||||
import * as DefaultDeviceProfileConfigurationComponent from '@home/components/profile/device/default-device-profile-configuration.component';
 | 
					import * as DefaultDeviceProfileConfigurationComponent from '@home/components/profile/device/default-device-profile-configuration.component';
 | 
				
			||||||
import * as DeviceProfileConfigurationComponent from '@home/components/profile/device/device-profile-configuration.component';
 | 
					import * as DeviceProfileConfigurationComponent from '@home/components/profile/device/device-profile-configuration.component';
 | 
				
			||||||
import * as DeviceProfileComponent from '@home/components/profile/device-profile.component';
 | 
					import * as DeviceProfileComponent from '@home/components/profile/device-profile.component';
 | 
				
			||||||
@ -266,7 +266,7 @@ import * as AlarmScheduleInfoComponent from '@home/components/profile/alarm/alar
 | 
				
			|||||||
import * as AlarmScheduleDialogComponent from '@home/components/profile/alarm/alarm-schedule-dialog.component';
 | 
					import * as AlarmScheduleDialogComponent from '@home/components/profile/alarm/alarm-schedule-dialog.component';
 | 
				
			||||||
import * as EditAlarmDetailsDialogComponent from '@home/components/profile/alarm/edit-alarm-details-dialog.component';
 | 
					import * as EditAlarmDetailsDialogComponent from '@home/components/profile/alarm/edit-alarm-details-dialog.component';
 | 
				
			||||||
import * as AlarmRuleConditionDialogComponent from '@home/components/profile/alarm/alarm-rule-condition-dialog.component';
 | 
					import * as AlarmRuleConditionDialogComponent from '@home/components/profile/alarm/alarm-rule-condition-dialog.component';
 | 
				
			||||||
// tslint:disable-next-line:max-line-length
 | 
					// eslint-disable-next-line max-len
 | 
				
			||||||
import * as DefaultTenantProfileConfigurationComponent from '@home/components/profile/tenant/default-tenant-profile-configuration.component';
 | 
					import * as DefaultTenantProfileConfigurationComponent from '@home/components/profile/tenant/default-tenant-profile-configuration.component';
 | 
				
			||||||
import * as TenantProfileConfigurationComponent from '@home/components/profile/tenant/tenant-profile-configuration.component';
 | 
					import * as TenantProfileConfigurationComponent from '@home/components/profile/tenant/tenant-profile-configuration.component';
 | 
				
			||||||
import * as SmsProviderConfigurationComponent from '@home/components/sms/sms-provider-configuration.component';
 | 
					import * as SmsProviderConfigurationComponent from '@home/components/sms/sms-provider-configuration.component';
 | 
				
			||||||
 | 
				
			|||||||
@ -31,7 +31,7 @@ import { IStateControllerComponent } from '@home/components/dashboard-page/state
 | 
				
			|||||||
import { Subject } from 'rxjs';
 | 
					import { Subject } from 'rxjs';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive({
 | 
					@Directive({
 | 
				
			||||||
  // tslint:disable-next-line:directive-selector
 | 
					  // eslint-disable-next-line @angular-eslint/directive-selector
 | 
				
			||||||
  selector: 'tb-states-component'
 | 
					  selector: 'tb-states-component'
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class StatesComponentDirective implements OnInit, OnDestroy, OnChanges {
 | 
					export class StatesComponentDirective implements OnInit, OnDestroy, OnChanges {
 | 
				
			||||||
 | 
				
			|||||||
@ -23,7 +23,7 @@ import { EntityTableConfig } from '@home/models/entity/entities-table-config.mod
 | 
				
			|||||||
import { PageLink } from '@shared/models/page/page-link';
 | 
					import { PageLink } from '@shared/models/page/page-link';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive()
 | 
					@Directive()
 | 
				
			||||||
// tslint:disable-next-line:directive-class-suffix
 | 
					// eslint-disable-next-line @angular-eslint/directive-class-suffix
 | 
				
			||||||
export abstract class EntityTableHeaderComponent<T extends BaseData<HasId>,
 | 
					export abstract class EntityTableHeaderComponent<T extends BaseData<HasId>,
 | 
				
			||||||
  P extends PageLink = PageLink,
 | 
					  P extends PageLink = PageLink,
 | 
				
			||||||
  L extends BaseData<HasId> = T,
 | 
					  L extends BaseData<HasId> = T,
 | 
				
			||||||
 | 
				
			|||||||
@ -34,7 +34,7 @@ import { UntypedFormGroup } from '@angular/forms';
 | 
				
			|||||||
import { PageLink } from '@shared/models/page/page-link';
 | 
					import { PageLink } from '@shared/models/page/page-link';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive()
 | 
					@Directive()
 | 
				
			||||||
// tslint:disable-next-line:directive-class-suffix
 | 
					// eslint-disable-next-line @angular-eslint/directive-class-suffix
 | 
				
			||||||
export abstract class EntityTabsComponent<T extends BaseData<HasId>,
 | 
					export abstract class EntityTabsComponent<T extends BaseData<HasId>,
 | 
				
			||||||
  P extends PageLink = PageLink,
 | 
					  P extends PageLink = PageLink,
 | 
				
			||||||
  L extends BaseData<HasId> = T,
 | 
					  L extends BaseData<HasId> = T,
 | 
				
			||||||
 | 
				
			|||||||
@ -27,7 +27,7 @@ import { deepTrim } from '@core/utils';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// @dynamic
 | 
					// @dynamic
 | 
				
			||||||
@Directive()
 | 
					@Directive()
 | 
				
			||||||
// tslint:disable-next-line:directive-class-suffix
 | 
					// eslint-disable-next-line @angular-eslint/directive-class-suffix
 | 
				
			||||||
export abstract class EntityComponent<T extends BaseData<HasId>,
 | 
					export abstract class EntityComponent<T extends BaseData<HasId>,
 | 
				
			||||||
  P extends PageLink = PageLink,
 | 
					  P extends PageLink = PageLink,
 | 
				
			||||||
  L extends BaseData<HasId> = T,
 | 
					  L extends BaseData<HasId> = T,
 | 
				
			||||||
 | 
				
			|||||||
@ -14,7 +14,7 @@
 | 
				
			|||||||
/// limitations under the License.
 | 
					/// limitations under the License.
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// tslint:disable-next-line:no-reference
 | 
					// eslint-disable-next-line @typescript-eslint/triple-slash-reference
 | 
				
			||||||
/// <reference path="../../../../../../../src/typings/split.js.typings.d.ts" />
 | 
					/// <reference path="../../../../../../../src/typings/split.js.typings.d.ts" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
 | 
				
			|||||||
@ -32,7 +32,7 @@ export interface CustomDialogData {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive()
 | 
					@Directive()
 | 
				
			||||||
// tslint:disable-next-line:directive-class-suffix
 | 
					// eslint-disable-next-line @angular-eslint/directive-class-suffix
 | 
				
			||||||
export class CustomDialogComponent extends PageComponent {
 | 
					export class CustomDialogComponent extends PageComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  [key: string]: any;
 | 
					  [key: string]: any;
 | 
				
			||||||
 | 
				
			|||||||
@ -49,7 +49,7 @@ import { TbInject } from '@shared/decorators/tb-inject';
 | 
				
			|||||||
import { MillisecondsToTimeStringPipe } from '@shared/pipe/milliseconds-to-time-string.pipe';
 | 
					import { MillisecondsToTimeStringPipe } from '@shared/pipe/milliseconds-to-time-string.pipe';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive()
 | 
					@Directive()
 | 
				
			||||||
// tslint:disable-next-line:directive-class-suffix
 | 
					// eslint-disable-next-line @angular-eslint/directive-class-suffix
 | 
				
			||||||
export class DynamicWidgetComponent extends PageComponent implements IDynamicWidgetComponent, OnInit, OnDestroy {
 | 
					export class DynamicWidgetComponent extends PageComponent implements IDynamicWidgetComponent, OnInit, OnDestroy {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  executingRpcRequest: boolean;
 | 
					  executingRpcRequest: boolean;
 | 
				
			||||||
 | 
				
			|||||||
@ -651,10 +651,10 @@ function barDimensions(context: DigitalGaugeCanvasRenderingContext2D,
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    let dashCount = Math.floor(circumference / (options.dashThickness * bd.fontSizeFactor));
 | 
					    let dashCount = Math.floor(circumference / (options.dashThickness * bd.fontSizeFactor));
 | 
				
			||||||
    if (options.gaugeType === 'donut') {
 | 
					    if (options.gaugeType === 'donut') {
 | 
				
			||||||
      // tslint:disable-next-line:no-bitwise
 | 
					      // eslint-disable-next-line no-bitwise
 | 
				
			||||||
      dashCount = (dashCount | 1) - 1;
 | 
					      dashCount = (dashCount | 1) - 1;
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      // tslint:disable-next-line:no-bitwise
 | 
					      // eslint-disable-next-line no-bitwise
 | 
				
			||||||
      dashCount = (dashCount - 1) | 1;
 | 
					      dashCount = (dashCount - 1) | 1;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    bd.dashLength = Math.ceil(circumference / dashCount);
 | 
					    bd.dashLength = Math.ceil(circumference / dashCount);
 | 
				
			||||||
 | 
				
			|||||||
@ -14,7 +14,7 @@
 | 
				
			|||||||
/// limitations under the License.
 | 
					/// limitations under the License.
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// tslint:disable-next-line:no-reference
 | 
					// eslint-disable-next-line @typescript-eslint/triple-slash-reference
 | 
				
			||||||
/// <reference path="../../../../../../../src/typings/jquery.flot.typings.d.ts" />
 | 
					/// <reference path="../../../../../../../src/typings/jquery.flot.typings.d.ts" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { DataKey, Datasource, DatasourceData, FormattedData, JsonSettingsSchema } from '@shared/models/widget.models';
 | 
					import { DataKey, Datasource, DatasourceData, FormattedData, JsonSettingsSchema } from '@shared/models/widget.models';
 | 
				
			||||||
 | 
				
			|||||||
@ -91,9 +91,9 @@ export default abstract class LeafletMap {
 | 
				
			|||||||
    selectedEntity: FormattedData;
 | 
					    selectedEntity: FormattedData;
 | 
				
			||||||
    ignoreUpdateBounds = false;
 | 
					    ignoreUpdateBounds = false;
 | 
				
			||||||
    initDragModeIgnoreUpdateBoundsSet = false;
 | 
					    initDragModeIgnoreUpdateBoundsSet = false;
 | 
				
			||||||
  // tslint:disable-next-line:no-string-literal
 | 
					  // eslint-disable-next-line @typescript-eslint/dot-notation
 | 
				
			||||||
    southWest = new L.LatLng(-Projection.SphericalMercator['MAX_LATITUDE'], -180);
 | 
					    southWest = new L.LatLng(-Projection.SphericalMercator['MAX_LATITUDE'], -180);
 | 
				
			||||||
  // tslint:disable-next-line:no-string-literal
 | 
					  // eslint-disable-next-line @typescript-eslint/dot-notation
 | 
				
			||||||
    northEast = new L.LatLng(Projection.SphericalMercator['MAX_LATITUDE'], 180);
 | 
					    northEast = new L.LatLng(Projection.SphericalMercator['MAX_LATITUDE'], 180);
 | 
				
			||||||
    saveLocation: (e: FormattedData, values: {[key: string]: any}) => Observable<any>;
 | 
					    saveLocation: (e: FormattedData, values: {[key: string]: any}) => Observable<any>;
 | 
				
			||||||
    saveMarkerLocation: (e: FormattedData, lat?: number, lng?: number) => Observable<any>;
 | 
					    saveMarkerLocation: (e: FormattedData, lat?: number, lng?: number) => Observable<any>;
 | 
				
			||||||
 | 
				
			|||||||
@ -59,7 +59,7 @@ interface DataMap {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
  // tslint:disable-next-line:component-selector
 | 
					  // eslint-disable-next-line @angular-eslint/component-selector
 | 
				
			||||||
  selector: 'trip-animation',
 | 
					  selector: 'trip-animation',
 | 
				
			||||||
  templateUrl: './trip-animation.component.html',
 | 
					  templateUrl: './trip-animation.component.html',
 | 
				
			||||||
  styleUrls: ['./trip-animation.component.scss']
 | 
					  styleUrls: ['./trip-animation.component.scss']
 | 
				
			||||||
 | 
				
			|||||||
@ -266,7 +266,7 @@ export const COUNTRIES = [
 | 
				
			|||||||
  'Zimbabwe'
 | 
					  'Zimbabwe'
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* tslint:disable */
 | 
					/* eslint-disable */
 | 
				
			||||||
export const POSTAL_CODE_PATTERNS = {
 | 
					export const POSTAL_CODE_PATTERNS = {
 | 
				
			||||||
  'United States': '(\\d{5}([\\-]\\d{4})?)',
 | 
					  'United States': '(\\d{5}([\\-]\\d{4})?)',
 | 
				
			||||||
  'Australia': '[0-9]{4}',
 | 
					  'Australia': '[0-9]{4}',
 | 
				
			||||||
@ -287,5 +287,5 @@ export const POSTAL_CODE_PATTERNS = {
 | 
				
			|||||||
  'Sweden': '\\d{3}\\s?\\d{2}',
 | 
					  'Sweden': '\\d{3}\\s?\\d{2}',
 | 
				
			||||||
  'United Kingdom': '[A-Za-z]{1,2}[0-9Rr][0-9A-Za-z]? [0-9][ABD-HJLNP-UW-Zabd-hjlnp-uw-z]{2}'
 | 
					  'United Kingdom': '[A-Za-z]{1,2}[0-9Rr][0-9A-Za-z]? [0-9][ABD-HJLNP-UW-Zabd-hjlnp-uw-z]{2}'
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
/* tslint:enable */
 | 
					/* eslint-enable */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -23,7 +23,7 @@ import { RuleChainType } from '@app/shared/models/rule-chain.models';
 | 
				
			|||||||
import { TranslateService } from '@ngx-translate/core';
 | 
					import { TranslateService } from '@ngx-translate/core';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
  // tslint:disable-next-line:component-selector
 | 
					  // eslint-disable-next-line @angular-eslint/component-selector
 | 
				
			||||||
  selector: 'rule-node',
 | 
					  selector: 'rule-node',
 | 
				
			||||||
  templateUrl: './rulenode.component.html',
 | 
					  templateUrl: './rulenode.component.html',
 | 
				
			||||||
  styleUrls: ['./rulenode.component.scss']
 | 
					  styleUrls: ['./rulenode.component.scss']
 | 
				
			||||||
 | 
				
			|||||||
@ -26,7 +26,7 @@ import {
 | 
				
			|||||||
} from '@angular/core';
 | 
					} from '@angular/core';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive({
 | 
					@Directive({
 | 
				
			||||||
  // tslint:disable-next-line:directive-selector
 | 
					  // eslint-disable-next-line @angular-eslint/directive-selector
 | 
				
			||||||
  selector: '[tbComponentOutlet]',
 | 
					  selector: '[tbComponentOutlet]',
 | 
				
			||||||
  exportAs: 'tbComponentOutlet'
 | 
					  exportAs: 'tbComponentOutlet'
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
@ -40,9 +40,9 @@ export class TbComponentOutletDirective<_T = unknown> implements OnChanges {
 | 
				
			|||||||
  @Output() componentChange = new EventEmitter<ComponentRef<any>>();
 | 
					  @Output() componentChange = new EventEmitter<ComponentRef<any>>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static ngTemplateContextGuard<T>(
 | 
					  static ngTemplateContextGuard<T>(
 | 
				
			||||||
    // tslint:disable-next-line:variable-name
 | 
					    // eslint-disable-next-line @typescript-eslint/naming-convention,no-underscore-dangle,id-blacklist,id-match
 | 
				
			||||||
    _dir: TbComponentOutletDirective<T>,
 | 
					    _dir: TbComponentOutletDirective<T>,
 | 
				
			||||||
    // tslint:disable-next-line:variable-name
 | 
					    // eslint-disable-next-line @typescript-eslint/naming-convention, no-underscore-dangle, id-blacklist, id-match
 | 
				
			||||||
    _ctx: any
 | 
					    _ctx: any
 | 
				
			||||||
  ): _ctx is TbComponentOutletContext {
 | 
					  ): _ctx is TbComponentOutletContext {
 | 
				
			||||||
    return true;
 | 
					    return true;
 | 
				
			||||||
 | 
				
			|||||||
@ -26,7 +26,7 @@ import {
 | 
				
			|||||||
} from '@angular/core';
 | 
					} from '@angular/core';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive({
 | 
					@Directive({
 | 
				
			||||||
  // tslint:disable-next-line:directive-selector
 | 
					  // eslint-disable-next-line @angular-eslint/directive-selector
 | 
				
			||||||
  selector: '[tbStringTemplateOutlet]',
 | 
					  selector: '[tbStringTemplateOutlet]',
 | 
				
			||||||
  exportAs: 'tbStringTemplateOutlet'
 | 
					  exportAs: 'tbStringTemplateOutlet'
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
@ -37,9 +37,9 @@ export class TbStringTemplateOutletDirective<_T = unknown> implements OnChanges
 | 
				
			|||||||
  @Input() tbStringTemplateOutlet: any | TemplateRef<any> = null;
 | 
					  @Input() tbStringTemplateOutlet: any | TemplateRef<any> = null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static ngTemplateContextGuard<T>(
 | 
					  static ngTemplateContextGuard<T>(
 | 
				
			||||||
    // tslint:disable-next-line:variable-name
 | 
					    // eslint-disable-next-line @typescript-eslint/naming-convention,no-underscore-dangle,id-blacklist,id-match
 | 
				
			||||||
    _dir: TbStringTemplateOutletDirective<T>,
 | 
					    _dir: TbStringTemplateOutletDirective<T>,
 | 
				
			||||||
    // tslint:disable-next-line:variable-name
 | 
					    // eslint-disable-next-line @typescript-eslint/naming-convention, no-underscore-dangle, id-blacklist, id-match
 | 
				
			||||||
    _ctx: any
 | 
					    _ctx: any
 | 
				
			||||||
  ): _ctx is TbStringTemplateOutletContext {
 | 
					  ): _ctx is TbStringTemplateOutletContext {
 | 
				
			||||||
    return true;
 | 
					    return true;
 | 
				
			||||||
 | 
				
			|||||||
@ -34,13 +34,13 @@ import { ResizeObserver } from '@juggle/resize-observer';
 | 
				
			|||||||
export declare type FabToolbarDirection = 'left' | 'right';
 | 
					export declare type FabToolbarDirection = 'left' | 'right';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class MatFabToolbarBase {
 | 
					class MatFabToolbarBase {
 | 
				
			||||||
  // tslint:disable-next-line:variable-name
 | 
					  // eslint-disable-next-line @typescript-eslint/naming-convention, no-underscore-dangle, id-blacklist, id-match
 | 
				
			||||||
  constructor(public _elementRef: ElementRef) {}
 | 
					  constructor(public _elementRef: ElementRef) {}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
const MatFabToolbarMixinBase: CanColorCtor & typeof MatFabToolbarBase = mixinColor(MatFabToolbarBase);
 | 
					const MatFabToolbarMixinBase: CanColorCtor & typeof MatFabToolbarBase = mixinColor(MatFabToolbarBase);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive({
 | 
					@Directive({
 | 
				
			||||||
  // tslint:disable-next-line:directive-selector
 | 
					  // eslint-disable-next-line @angular-eslint/directive-selector
 | 
				
			||||||
  selector: 'mat-fab-trigger'
 | 
					  selector: 'mat-fab-trigger'
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class FabTriggerDirective {
 | 
					export class FabTriggerDirective {
 | 
				
			||||||
@ -51,7 +51,7 @@ export class FabTriggerDirective {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive({
 | 
					@Directive({
 | 
				
			||||||
  // tslint:disable-next-line:directive-selector
 | 
					  // eslint-disable-next-line @angular-eslint/directive-selector
 | 
				
			||||||
  selector: 'mat-fab-actions'
 | 
					  selector: 'mat-fab-actions'
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class FabActionsDirective implements OnInit {
 | 
					export class FabActionsDirective implements OnInit {
 | 
				
			||||||
@ -69,7 +69,7 @@ export class FabActionsDirective implements OnInit {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// @dynamic
 | 
					// @dynamic
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
  // tslint:disable-next-line:component-selector
 | 
					  // eslint-disable-next-line @angular-eslint/component-selector
 | 
				
			||||||
  selector: 'mat-fab-toolbar',
 | 
					  selector: 'mat-fab-toolbar',
 | 
				
			||||||
  templateUrl: './fab-toolbar.component.html',
 | 
					  templateUrl: './fab-toolbar.component.html',
 | 
				
			||||||
  styleUrls: ['./fab-toolbar.component.scss'],
 | 
					  styleUrls: ['./fab-toolbar.component.scss'],
 | 
				
			||||||
 | 
				
			|||||||
@ -30,7 +30,7 @@ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
 | 
				
			|||||||
import { isDefinedAndNotNull } from '@core/utils';
 | 
					import { isDefinedAndNotNull } from '@core/utils';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
  // tslint:disable-next-line:component-selector
 | 
					  // eslint-disable-next-line @angular-eslint/component-selector
 | 
				
			||||||
  selector: '[tb-help-popup], [tb-help-popup-content]',
 | 
					  selector: '[tb-help-popup], [tb-help-popup-content]',
 | 
				
			||||||
  templateUrl: './help-popup.component.html',
 | 
					  templateUrl: './help-popup.component.html',
 | 
				
			||||||
  styleUrls: ['./help-popup.component.scss'],
 | 
					  styleUrls: ['./help-popup.component.scss'],
 | 
				
			||||||
@ -41,22 +41,22 @@ export class HelpPopupComponent implements OnChanges, OnDestroy {
 | 
				
			|||||||
  @ViewChild('toggleHelpButton', {read: ElementRef, static: false}) toggleHelpButton: ElementRef;
 | 
					  @ViewChild('toggleHelpButton', {read: ElementRef, static: false}) toggleHelpButton: ElementRef;
 | 
				
			||||||
  @ViewChild('toggleHelpTextButton', {read: ElementRef, static: false}) toggleHelpTextButton: ElementRef;
 | 
					  @ViewChild('toggleHelpTextButton', {read: ElementRef, static: false}) toggleHelpTextButton: ElementRef;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:no-input-rename
 | 
					  // eslint-disable-next-line @angular-eslint/no-input-rename
 | 
				
			||||||
  @Input('tb-help-popup') helpId: string;
 | 
					  @Input('tb-help-popup') helpId: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:no-input-rename
 | 
					  // eslint-disable-next-line @angular-eslint/no-input-rename
 | 
				
			||||||
  @Input('tb-help-popup-content') helpContent: string;
 | 
					  @Input('tb-help-popup-content') helpContent: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:no-input-rename
 | 
					  // eslint-disable-next-line @angular-eslint/no-input-rename
 | 
				
			||||||
  @Input('trigger-text') triggerText: string;
 | 
					  @Input('trigger-text') triggerText: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:no-input-rename
 | 
					  // eslint-disable-next-line @angular-eslint/no-input-rename
 | 
				
			||||||
  @Input('trigger-style') triggerStyle: string;
 | 
					  @Input('trigger-style') triggerStyle: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:no-input-rename
 | 
					  // eslint-disable-next-line @angular-eslint/no-input-rename
 | 
				
			||||||
  @Input('tb-help-popup-placement') helpPopupPlacement: PopoverPlacement;
 | 
					  @Input('tb-help-popup-placement') helpPopupPlacement: PopoverPlacement;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:no-input-rename
 | 
					  // eslint-disable-next-line @angular-eslint/no-input-rename
 | 
				
			||||||
  @Input('tb-help-popup-style') helpPopupStyle: { [klass: string]: any } = {};
 | 
					  @Input('tb-help-popup-style') helpPopupStyle: { [klass: string]: any } = {};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  popoverVisible = false;
 | 
					  popoverVisible = false;
 | 
				
			||||||
 | 
				
			|||||||
@ -18,13 +18,13 @@ import { Component, Input } from '@angular/core';
 | 
				
			|||||||
import { HelpLinks } from '@shared/models/constants';
 | 
					import { HelpLinks } from '@shared/models/constants';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
  // tslint:disable-next-line:component-selector
 | 
					  // eslint-disable-next-line @angular-eslint/component-selector
 | 
				
			||||||
  selector: '[tb-help]',
 | 
					  selector: '[tb-help]',
 | 
				
			||||||
  templateUrl: './help.component.html'
 | 
					  templateUrl: './help.component.html'
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class HelpComponent {
 | 
					export class HelpComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:no-input-rename
 | 
					  // eslint-disable-next-line @angular-eslint/no-input-rename
 | 
				
			||||||
  @Input('tb-help') helpLinkId: string;
 | 
					  @Input('tb-help') helpLinkId: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  gotoHelpPage(): void {
 | 
					  gotoHelpPage(): void {
 | 
				
			||||||
 | 
				
			|||||||
@ -70,7 +70,7 @@ export type TbPopoverTrigger = 'click' | 'focus' | 'hover' | null;
 | 
				
			|||||||
})
 | 
					})
 | 
				
			||||||
export class TbPopoverDirective implements OnChanges, OnDestroy, AfterViewInit {
 | 
					export class TbPopoverDirective implements OnChanges, OnDestroy, AfterViewInit {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable:no-input-rename
 | 
					  /* eslint-disable @angular-eslint/no-input-rename */
 | 
				
			||||||
  @Input('tbPopoverContent') content?: string | TemplateRef<void>;
 | 
					  @Input('tbPopoverContent') content?: string | TemplateRef<void>;
 | 
				
			||||||
  @Input('tbPopoverTrigger') trigger?: TbPopoverTrigger = 'hover';
 | 
					  @Input('tbPopoverTrigger') trigger?: TbPopoverTrigger = 'hover';
 | 
				
			||||||
  @Input('tbPopoverPlacement') placement?: string | string[] = 'top';
 | 
					  @Input('tbPopoverPlacement') placement?: string | string[] = 'top';
 | 
				
			||||||
@ -82,7 +82,7 @@ export class TbPopoverDirective implements OnChanges, OnDestroy, AfterViewInit {
 | 
				
			|||||||
  @Input('tbPopoverOverlayStyle') overlayStyle?: { [klass: string]: any };
 | 
					  @Input('tbPopoverOverlayStyle') overlayStyle?: { [klass: string]: any };
 | 
				
			||||||
  @Input() tbPopoverBackdrop = false;
 | 
					  @Input() tbPopoverBackdrop = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // tslint:disable-next-line:no-output-rename
 | 
					  // eslint-disable-next-line @angular-eslint/no-output-rename
 | 
				
			||||||
  @Output('tbPopoverVisibleChange') readonly visibleChange = new EventEmitter<boolean>();
 | 
					  @Output('tbPopoverVisibleChange') readonly visibleChange = new EventEmitter<boolean>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  componentFactory: ComponentFactory<TbPopoverComponent> = this.resolver.resolveComponentFactory(TbPopoverComponent);
 | 
					  componentFactory: ComponentFactory<TbPopoverComponent> = this.resolver.resolveComponentFactory(TbPopoverComponent);
 | 
				
			||||||
 | 
				
			|||||||
@ -127,7 +127,7 @@ export interface EntitySearchQueryFilter {
 | 
				
			|||||||
  fetchLastLevelOnly?: boolean;
 | 
					  fetchLastLevelOnly?: boolean;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// tslint:disable-next-line:no-empty-interface
 | 
					// eslint-disable-next-line @typescript-eslint/no-empty-interface
 | 
				
			||||||
export interface ApiUsageStateFilter {
 | 
					export interface ApiUsageStateFilter {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -77,7 +77,7 @@ export interface IRuleNodeConfigurationComponent {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive()
 | 
					@Directive()
 | 
				
			||||||
// tslint:disable-next-line:directive-class-suffix
 | 
					// eslint-disable-next-line @angular-eslint/directive-class-suffix
 | 
				
			||||||
export abstract class RuleNodeConfigurationComponent extends PageComponent implements
 | 
					export abstract class RuleNodeConfigurationComponent extends PageComponent implements
 | 
				
			||||||
  IRuleNodeConfigurationComponent, OnInit, AfterViewInit {
 | 
					  IRuleNodeConfigurationComponent, OnInit, AfterViewInit {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -706,7 +706,7 @@ function removeEmptyWidgetSettings(settings: WidgetSettings): WidgetSettings {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive()
 | 
					@Directive()
 | 
				
			||||||
// tslint:disable-next-line:directive-class-suffix
 | 
					// eslint-disable-next-line @angular-eslint/directive-class-suffix
 | 
				
			||||||
export abstract class WidgetSettingsComponent extends PageComponent implements
 | 
					export abstract class WidgetSettingsComponent extends PageComponent implements
 | 
				
			||||||
  IWidgetSettingsComponent, OnInit, AfterViewInit {
 | 
					  IWidgetSettingsComponent, OnInit, AfterViewInit {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -14,7 +14,7 @@
 | 
				
			|||||||
 * limitations under the License.
 | 
					 * limitations under the License.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@use '@angular/material' as mat;
 | 
					@use '@angular/material' as mat;
 | 
				
			||||||
@import '~@mat-datetimepicker/core/datetimepicker/datetimepicker-theme.scss';
 | 
					@import '@mat-datetimepicker/core/datetimepicker/datetimepicker-theme';
 | 
				
			||||||
@import './scss/constants';
 | 
					@import './scss/constants';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@include mat.core();
 | 
					@include mat.core();
 | 
				
			||||||
 | 
				
			|||||||
@ -14,7 +14,7 @@
 | 
				
			|||||||
/// limitations under the License.
 | 
					/// limitations under the License.
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* tslint:disable:adjacent-overload-signatures unified-signatures */
 | 
					/* eslint-disable @typescript-eslint/adjacent-overload-signatures, @typescript-eslint/unified-signatures */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import * as L from 'leaflet';
 | 
					import * as L from 'leaflet';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,139 +0,0 @@
 | 
				
			|||||||
{
 | 
					 | 
				
			||||||
  "extends": "tslint:recommended",
 | 
					 | 
				
			||||||
  "rulesDirectory": [
 | 
					 | 
				
			||||||
    "codelyzer"
 | 
					 | 
				
			||||||
  ],
 | 
					 | 
				
			||||||
  "rules": {
 | 
					 | 
				
			||||||
    "align": {
 | 
					 | 
				
			||||||
      "options": [
 | 
					 | 
				
			||||||
        "parameters",
 | 
					 | 
				
			||||||
        "statements"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "array-type": false,
 | 
					 | 
				
			||||||
    "arrow-parens": false,
 | 
					 | 
				
			||||||
    "arrow-return-shorthand": true,
 | 
					 | 
				
			||||||
    "curly": true,
 | 
					 | 
				
			||||||
    "deprecation": {
 | 
					 | 
				
			||||||
      "severity": "warn"
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "eofline": true,
 | 
					 | 
				
			||||||
    "import-blacklist": [
 | 
					 | 
				
			||||||
      true,
 | 
					 | 
				
			||||||
      "rxjs/Rx",
 | 
					 | 
				
			||||||
      "^.*/public-api$"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "import-spacing": true,
 | 
					 | 
				
			||||||
    "indent": {
 | 
					 | 
				
			||||||
      "options": [
 | 
					 | 
				
			||||||
        "spaces"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "interface-name": false,
 | 
					 | 
				
			||||||
    "max-classes-per-file": false,
 | 
					 | 
				
			||||||
    "max-line-length": [
 | 
					 | 
				
			||||||
      true,
 | 
					 | 
				
			||||||
      140
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "member-access": false,
 | 
					 | 
				
			||||||
    "member-ordering": [
 | 
					 | 
				
			||||||
      true,
 | 
					 | 
				
			||||||
      {
 | 
					 | 
				
			||||||
        "order": [
 | 
					 | 
				
			||||||
          "static-field",
 | 
					 | 
				
			||||||
          "instance-field",
 | 
					 | 
				
			||||||
          "static-method",
 | 
					 | 
				
			||||||
          "instance-method"
 | 
					 | 
				
			||||||
        ]
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "no-consecutive-blank-lines": false,
 | 
					 | 
				
			||||||
    "no-console": [
 | 
					 | 
				
			||||||
      true,
 | 
					 | 
				
			||||||
      "debug",
 | 
					 | 
				
			||||||
      "info",
 | 
					 | 
				
			||||||
      "time",
 | 
					 | 
				
			||||||
      "timeEnd",
 | 
					 | 
				
			||||||
      "trace"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "no-empty": false,
 | 
					 | 
				
			||||||
    "no-inferrable-types": [
 | 
					 | 
				
			||||||
      true,
 | 
					 | 
				
			||||||
      "ignore-params"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "no-non-null-assertion": true,
 | 
					 | 
				
			||||||
    "no-redundant-jsdoc": true,
 | 
					 | 
				
			||||||
    "no-switch-case-fall-through": true,
 | 
					 | 
				
			||||||
    "no-var-requires": false,
 | 
					 | 
				
			||||||
    "object-literal-key-quotes": [
 | 
					 | 
				
			||||||
      true,
 | 
					 | 
				
			||||||
      "as-needed"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "object-literal-sort-keys": false,
 | 
					 | 
				
			||||||
    "ordered-imports": false,
 | 
					 | 
				
			||||||
    "quotemark": [
 | 
					 | 
				
			||||||
      true,
 | 
					 | 
				
			||||||
      "single"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "semicolon": {
 | 
					 | 
				
			||||||
      "options": [
 | 
					 | 
				
			||||||
        "always"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "space-before-function-paren": {
 | 
					 | 
				
			||||||
      "options": {
 | 
					 | 
				
			||||||
        "anonymous": "never",
 | 
					 | 
				
			||||||
        "asyncArrow": "always",
 | 
					 | 
				
			||||||
        "constructor": "never",
 | 
					 | 
				
			||||||
        "method": "never",
 | 
					 | 
				
			||||||
        "named": "never"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "trailing-comma": false,
 | 
					 | 
				
			||||||
    "no-output-on-prefix": true,
 | 
					 | 
				
			||||||
    "typedef-whitespace": {
 | 
					 | 
				
			||||||
      "options": [
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
          "call-signature": "nospace",
 | 
					 | 
				
			||||||
          "index-signature": "nospace",
 | 
					 | 
				
			||||||
          "parameter": "nospace",
 | 
					 | 
				
			||||||
          "property-declaration": "nospace",
 | 
					 | 
				
			||||||
          "variable-declaration": "nospace"
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
          "call-signature": "onespace",
 | 
					 | 
				
			||||||
          "index-signature": "onespace",
 | 
					 | 
				
			||||||
          "parameter": "onespace",
 | 
					 | 
				
			||||||
          "property-declaration": "onespace",
 | 
					 | 
				
			||||||
          "variable-declaration": "onespace"
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "use-input-property-decorator": true,
 | 
					 | 
				
			||||||
    "use-output-property-decorator": true,
 | 
					 | 
				
			||||||
    "use-host-property-decorator": true,
 | 
					 | 
				
			||||||
    "no-input-rename": true,
 | 
					 | 
				
			||||||
    "no-output-rename": true,
 | 
					 | 
				
			||||||
    "use-life-cycle-interface": true,
 | 
					 | 
				
			||||||
    "use-pipe-transform-interface": true,
 | 
					 | 
				
			||||||
    "component-class-suffix": true,
 | 
					 | 
				
			||||||
    "directive-class-suffix": true
 | 
					 | 
				
			||||||
  ,    "variable-name": {
 | 
					 | 
				
			||||||
      "options": [
 | 
					 | 
				
			||||||
        "ban-keywords",
 | 
					 | 
				
			||||||
        "check-format",
 | 
					 | 
				
			||||||
        "allow-pascal-case"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "whitespace": {
 | 
					 | 
				
			||||||
      "options": [
 | 
					 | 
				
			||||||
        "check-branch",
 | 
					 | 
				
			||||||
        "check-decl",
 | 
					 | 
				
			||||||
        "check-operator",
 | 
					 | 
				
			||||||
        "check-separator",
 | 
					 | 
				
			||||||
        "check-type",
 | 
					 | 
				
			||||||
        "check-typecast"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
							
								
								
									
										960
									
								
								ui-ngx/yarn.lock
									
									
									
									
									
								
							
							
						
						
									
										960
									
								
								ui-ngx/yarn.lock
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user