gamma-app-controller 1.1.20 → 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/application-controller/application-content.service.mjs +71 -3
- package/esm2020/lib/application-controller/application-controller.module.mjs +1 -4
- package/esm2020/lib/application-controller/page-module/exception-operation/exception-operation.component.mjs +4 -4
- package/esm2020/lib/gamma-app-controller.module.mjs +1 -1
- package/fesm2015/gamma-app-controller.mjs +878 -905
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +872 -897
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/lib/application-controller/application-content.service.d.ts +9 -0
- package/lib/application-controller/page-module/exception-operation/exception-operation.component.d.ts +2 -2
- package/package.json +1 -1
- package/esm2020/lib/application-controller/page-module/exception-operation/exception-service.mjs +0 -97
- package/lib/application-controller/page-module/exception-operation/exception-service.d.ts +0 -21
|
@@ -8,7 +8,7 @@ import * as i1 from '@angular/platform-browser';
|
|
|
8
8
|
import * as i2 from '@angular/material/icon';
|
|
9
9
|
import { MatIconModule } from '@angular/material/icon';
|
|
10
10
|
import { confirm } from 'devextreme/ui/dialog';
|
|
11
|
-
import { throwError, map, catchError
|
|
11
|
+
import { throwError, BehaviorSubject, map, catchError } from 'rxjs';
|
|
12
12
|
import moment$1 from 'moment';
|
|
13
13
|
import * as i1$1 from '@angular/common/http';
|
|
14
14
|
import { HttpHeaders } from '@angular/common/http';
|
|
@@ -1327,1207 +1327,1184 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1327
1327
|
|
|
1328
1328
|
const APP_ENVIRONMENT = new InjectionToken('APP_ENVIRONMENT');
|
|
1329
1329
|
|
|
1330
|
-
class
|
|
1330
|
+
class ApplicationContentService extends AppHttpService {
|
|
1331
1331
|
constructor(httpClient, environment) {
|
|
1332
1332
|
super(httpClient);
|
|
1333
1333
|
this.httpClient = httpClient;
|
|
1334
1334
|
this.environment = environment;
|
|
1335
|
+
this.kpiFilter = new BehaviorSubject([]);
|
|
1336
|
+
this.userkpiFilter$ = this.kpiFilter.asObservable();
|
|
1337
|
+
this.datasets = new BehaviorSubject([]);
|
|
1338
|
+
this.updateDatssets$ = this.datasets.asObservable();
|
|
1335
1339
|
}
|
|
1336
|
-
|
|
1340
|
+
getFilterForKpi(pins) {
|
|
1341
|
+
this.kpiFilter.next(pins);
|
|
1342
|
+
}
|
|
1343
|
+
getCurrentKpiFilterValue() {
|
|
1344
|
+
return this.kpiFilter.getValue();
|
|
1345
|
+
}
|
|
1346
|
+
setCurrentDatasetValue(data) {
|
|
1347
|
+
return this.datasets.next(data);
|
|
1348
|
+
}
|
|
1349
|
+
getDataSet() {
|
|
1350
|
+
const apiUrl = '/assets/api-data/data-set.json';
|
|
1351
|
+
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1352
|
+
return response;
|
|
1353
|
+
}), catchError(this.handleError));
|
|
1354
|
+
}
|
|
1355
|
+
getComponentDataConfigSet() {
|
|
1356
|
+
const apiUrl = '/assets/api-data/component_config.json';
|
|
1357
|
+
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1358
|
+
return response;
|
|
1359
|
+
}), catchError(this.handleError));
|
|
1360
|
+
}
|
|
1361
|
+
listColumnEnrichmentFunctions() {
|
|
1362
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/listColumnEnrichmentFunctions';
|
|
1337
1363
|
return this.http
|
|
1338
|
-
.post(
|
|
1364
|
+
.post(apiUrl, this.options)
|
|
1339
1365
|
.pipe(map((response) => {
|
|
1340
1366
|
return response;
|
|
1341
1367
|
}), catchError(this.handleError));
|
|
1342
1368
|
}
|
|
1343
|
-
|
|
1369
|
+
validateAggregatePaginatedQuery(transformedObject) {
|
|
1370
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/validateAggregatePaginatedQuery';
|
|
1344
1371
|
return this.http
|
|
1345
|
-
.post(
|
|
1372
|
+
.post(apiUrl, JSON.stringify(transformedObject), this.options)
|
|
1346
1373
|
.pipe(map((response) => {
|
|
1347
1374
|
return response;
|
|
1348
1375
|
}), catchError(this.handleError));
|
|
1349
1376
|
}
|
|
1350
|
-
|
|
1377
|
+
getKpiBrowserConfigById(id) {
|
|
1378
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getKpiBrowserConfigById?id=' + id;
|
|
1351
1379
|
return this.http
|
|
1352
|
-
.get(
|
|
1380
|
+
.get(apiUrl, { withCredentials: true })
|
|
1353
1381
|
.pipe(map((response) => {
|
|
1354
1382
|
return response;
|
|
1355
1383
|
}), catchError(this.handleError));
|
|
1356
1384
|
}
|
|
1357
|
-
|
|
1358
|
-
|
|
1385
|
+
getData(body, requestID) {
|
|
1386
|
+
return this.http
|
|
1387
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
1388
|
+
.pipe(map((response) => {
|
|
1389
|
+
return response;
|
|
1390
|
+
}), catchError(this.handleError));
|
|
1391
|
+
}
|
|
1392
|
+
getSimpleApiPostRequest(requestApi, body) {
|
|
1393
|
+
return this.http
|
|
1394
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
1395
|
+
.pipe(map((response) => {
|
|
1396
|
+
return response;
|
|
1397
|
+
}), catchError(this.handleError));
|
|
1398
|
+
}
|
|
1399
|
+
getSimpleApiGetRequest(requestApi) {
|
|
1400
|
+
return this.http
|
|
1401
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
1402
|
+
.pipe(map((response) => {
|
|
1403
|
+
return response;
|
|
1404
|
+
}), catchError(this.handleError));
|
|
1405
|
+
}
|
|
1406
|
+
getJsonDatasetPayload(requestApi) {
|
|
1407
|
+
return this.http
|
|
1408
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
1409
|
+
.pipe(map((response) => {
|
|
1410
|
+
return response;
|
|
1411
|
+
}), catchError(this.handleError));
|
|
1412
|
+
}
|
|
1413
|
+
genericSqlQueryResponse(requestApi, body) {
|
|
1414
|
+
return this.http
|
|
1415
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
1416
|
+
.pipe(map((response) => {
|
|
1417
|
+
return response;
|
|
1418
|
+
}), catchError(this.handleError));
|
|
1419
|
+
}
|
|
1420
|
+
createAppDataset(body) {
|
|
1421
|
+
return this.http
|
|
1422
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppDataset', JSON.stringify(body), this.options)
|
|
1423
|
+
.pipe(map((response) => {
|
|
1424
|
+
return response;
|
|
1425
|
+
}), catchError(this.handleError));
|
|
1426
|
+
}
|
|
1427
|
+
updateAppDatasetConfig(body) {
|
|
1428
|
+
return this.http
|
|
1429
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/updateAppDatasetConfig', JSON.stringify(body), this.options)
|
|
1430
|
+
.pipe(map((response) => {
|
|
1431
|
+
return response;
|
|
1432
|
+
}), catchError(this.handleError));
|
|
1433
|
+
}
|
|
1434
|
+
deleteAppDatasetConfig(datasetId) {
|
|
1435
|
+
return this.http
|
|
1436
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppDatasetConfig/' + datasetId, this.options)
|
|
1437
|
+
.pipe(map((response) => {
|
|
1438
|
+
return response;
|
|
1439
|
+
}), catchError(this.handleError));
|
|
1440
|
+
}
|
|
1441
|
+
getAppDatasetConfigs() {
|
|
1442
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfigs';
|
|
1359
1443
|
return this.http
|
|
1360
1444
|
.get(apiUrl, { withCredentials: true })
|
|
1361
1445
|
.pipe(map((response) => {
|
|
1362
1446
|
return response;
|
|
1363
1447
|
}), catchError(this.handleError));
|
|
1364
1448
|
}
|
|
1365
|
-
|
|
1366
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/
|
|
1449
|
+
getAppDatasetConfig(datasetId) {
|
|
1450
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
|
|
1367
1451
|
return this.http
|
|
1368
1452
|
.get(apiUrl, { withCredentials: true })
|
|
1369
1453
|
.pipe(map((response) => {
|
|
1370
1454
|
return response;
|
|
1371
1455
|
}), catchError(this.handleError));
|
|
1372
1456
|
}
|
|
1373
|
-
|
|
1457
|
+
createAppViewConfig(body) {
|
|
1374
1458
|
return this.http
|
|
1375
|
-
.
|
|
1459
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppViewConfig', JSON.stringify(body), this.options)
|
|
1376
1460
|
.pipe(map((response) => {
|
|
1377
1461
|
return response;
|
|
1378
1462
|
}), catchError(this.handleError));
|
|
1379
1463
|
}
|
|
1380
|
-
|
|
1464
|
+
updateAppViewConfig(body) {
|
|
1381
1465
|
return this.http
|
|
1382
|
-
.
|
|
1466
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/updateAppViewConfig', JSON.stringify(body), this.options)
|
|
1383
1467
|
.pipe(map((response) => {
|
|
1384
1468
|
return response;
|
|
1385
1469
|
}), catchError(this.handleError));
|
|
1386
1470
|
}
|
|
1387
|
-
|
|
1471
|
+
getAppViewConfigs() {
|
|
1472
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfigs';
|
|
1388
1473
|
return this.http
|
|
1389
|
-
.get(
|
|
1474
|
+
.get(apiUrl, { withCredentials: true })
|
|
1390
1475
|
.pipe(map((response) => {
|
|
1391
1476
|
return response;
|
|
1392
1477
|
}), catchError(this.handleError));
|
|
1393
1478
|
}
|
|
1394
|
-
|
|
1479
|
+
getAppViewConfig(viewId) {
|
|
1480
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfig?viewId=' + viewId;
|
|
1395
1481
|
return this.http
|
|
1396
|
-
.get(
|
|
1482
|
+
.get(apiUrl, { withCredentials: true })
|
|
1397
1483
|
.pipe(map((response) => {
|
|
1398
1484
|
return response;
|
|
1399
1485
|
}), catchError(this.handleError));
|
|
1400
1486
|
}
|
|
1401
|
-
|
|
1487
|
+
deleteAppViewConfig(datasetId) {
|
|
1402
1488
|
return this.http
|
|
1403
|
-
.
|
|
1489
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppViewConfig/' + datasetId, this.options)
|
|
1404
1490
|
.pipe(map((response) => {
|
|
1405
1491
|
return response;
|
|
1406
1492
|
}), catchError(this.handleError));
|
|
1407
1493
|
}
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
providedIn: "root"
|
|
1415
|
-
}]
|
|
1416
|
-
}], ctorParameters: function () { return [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
1417
|
-
type: Inject,
|
|
1418
|
-
args: [APP_ENVIRONMENT]
|
|
1419
|
-
}] }]; } });
|
|
1420
|
-
|
|
1421
|
-
class LoadingComponent$1 {
|
|
1422
|
-
constructor() {
|
|
1423
|
-
this.showLoadingModal = true;
|
|
1494
|
+
createAppFilterConfig(body) {
|
|
1495
|
+
return this.http
|
|
1496
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppFilterConfig', JSON.stringify(body), this.options)
|
|
1497
|
+
.pipe(map((response) => {
|
|
1498
|
+
return response;
|
|
1499
|
+
}), catchError(this.handleError));
|
|
1424
1500
|
}
|
|
1425
|
-
|
|
1501
|
+
editAppFilterConfig(body) {
|
|
1502
|
+
return this.http
|
|
1503
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/editAppFilterConfig', JSON.stringify(body), this.options)
|
|
1504
|
+
.pipe(map((response) => {
|
|
1505
|
+
return response;
|
|
1506
|
+
}), catchError(this.handleError));
|
|
1426
1507
|
}
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
class ExceptionOperationComponent {
|
|
1436
|
-
constructor(commonService, service, toastr) {
|
|
1437
|
-
this.commonService = commonService;
|
|
1438
|
-
this.service = service;
|
|
1439
|
-
this.toastr = toastr;
|
|
1440
|
-
this.contentType = "create";
|
|
1441
|
-
this.exceptionMainObject = {
|
|
1442
|
-
configId: "",
|
|
1443
|
-
configName: "",
|
|
1444
|
-
datasource: "",
|
|
1445
|
-
active: false,
|
|
1446
|
-
analyzerType: "",
|
|
1447
|
-
dbConfig: "",
|
|
1448
|
-
tableName: "",
|
|
1449
|
-
dataSelectionType: "",
|
|
1450
|
-
fileNameAttributeName: "",
|
|
1451
|
-
filterList: [{
|
|
1452
|
-
"columnName": "",
|
|
1453
|
-
"dataType": "",
|
|
1454
|
-
"operator": "",
|
|
1455
|
-
"windowFunctionName": "",
|
|
1456
|
-
"value": "",
|
|
1457
|
-
"dateFormat": "",
|
|
1458
|
-
}],
|
|
1459
|
-
patternList: [
|
|
1460
|
-
{
|
|
1461
|
-
"regex": "",
|
|
1462
|
-
"sample": "?_??_?",
|
|
1463
|
-
"fileAttributes": [],
|
|
1464
|
-
"analyzerKeys": [],
|
|
1465
|
-
"sequenceKey": "",
|
|
1466
|
-
"dynamicArgs": {}
|
|
1467
|
-
}
|
|
1468
|
-
]
|
|
1469
|
-
};
|
|
1470
|
-
this.analyzer_type = [{ key: "numeric_sequence", name: "Numeric Sequence" }, { key: "date_sequence", name: "Date Sequence" }];
|
|
1471
|
-
this.isLoader = true;
|
|
1508
|
+
getAppFilterConfigs() {
|
|
1509
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfigs';
|
|
1510
|
+
return this.http
|
|
1511
|
+
.get(apiUrl, { withCredentials: true })
|
|
1512
|
+
.pipe(map((response) => {
|
|
1513
|
+
return response;
|
|
1514
|
+
}), catchError(this.handleError));
|
|
1472
1515
|
}
|
|
1473
|
-
|
|
1474
|
-
this.
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
this.
|
|
1479
|
-
this.operator_list = data;
|
|
1480
|
-
});
|
|
1481
|
-
this.service.getAppDatasource().subscribe(data => {
|
|
1482
|
-
this.datasourcelist = (data['datasource']) ? data['datasource'] : data;
|
|
1483
|
-
});
|
|
1516
|
+
deleteAppFilterConfig(filterId) {
|
|
1517
|
+
return this.http
|
|
1518
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppFilterConfig/' + filterId, this.options)
|
|
1519
|
+
.pipe(map((response) => {
|
|
1520
|
+
return response;
|
|
1521
|
+
}), catchError(this.handleError));
|
|
1484
1522
|
}
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
});
|
|
1523
|
+
getMapData(body, requestID) {
|
|
1524
|
+
const apiUrl = '/assets/api-data/mapjson.json';
|
|
1525
|
+
return this.http
|
|
1526
|
+
.get(apiUrl, { withCredentials: true })
|
|
1527
|
+
.pipe(map((response) => {
|
|
1528
|
+
return response;
|
|
1529
|
+
}), catchError(this.handleError));
|
|
1493
1530
|
}
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
this.
|
|
1497
|
-
|
|
1531
|
+
getDashBoardJson() {
|
|
1532
|
+
const apiUrl = '/assets/api-data/dashboard_lebara.json';
|
|
1533
|
+
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1534
|
+
return response;
|
|
1535
|
+
}), catchError(this.handleError));
|
|
1498
1536
|
}
|
|
1499
|
-
|
|
1500
|
-
this.
|
|
1501
|
-
this.
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
analyzerType: "",
|
|
1507
|
-
dbConfig: "",
|
|
1508
|
-
tableName: "",
|
|
1509
|
-
dataSelectionType: "",
|
|
1510
|
-
fileNameAttributeName: "",
|
|
1511
|
-
filterList: [{
|
|
1512
|
-
"columnName": "",
|
|
1513
|
-
"dataType": "",
|
|
1514
|
-
"operator": "",
|
|
1515
|
-
"windowFunctionName": "",
|
|
1516
|
-
"dateFormat": "",
|
|
1517
|
-
"value": ""
|
|
1518
|
-
}],
|
|
1519
|
-
patternList: [
|
|
1520
|
-
{
|
|
1521
|
-
"regex": "",
|
|
1522
|
-
"sample": "",
|
|
1523
|
-
"fileAttributes": [],
|
|
1524
|
-
"analyzerKeys": [],
|
|
1525
|
-
"sequenceKey": "",
|
|
1526
|
-
"dynamicArgs": {}
|
|
1527
|
-
}
|
|
1528
|
-
]
|
|
1529
|
-
};
|
|
1537
|
+
getAppPageConfigs() {
|
|
1538
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
|
|
1539
|
+
return this.http
|
|
1540
|
+
.get(apiUrl, { withCredentials: true })
|
|
1541
|
+
.pipe(map((response) => {
|
|
1542
|
+
return response;
|
|
1543
|
+
}), catchError(this.handleError));
|
|
1530
1544
|
}
|
|
1531
|
-
|
|
1532
|
-
this.
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
active: true,
|
|
1538
|
-
analyzerType: "",
|
|
1539
|
-
dbConfig: "",
|
|
1540
|
-
tableName: "",
|
|
1541
|
-
dataSelectionType: "",
|
|
1542
|
-
fileNameAttributeName: "",
|
|
1543
|
-
filterList: [{
|
|
1544
|
-
"columnName": "",
|
|
1545
|
-
"dataType": "",
|
|
1546
|
-
"operator": "",
|
|
1547
|
-
"windowFunctionName": "",
|
|
1548
|
-
"value": "",
|
|
1549
|
-
"dateFormat": ""
|
|
1550
|
-
}],
|
|
1551
|
-
patternList: [
|
|
1552
|
-
{
|
|
1553
|
-
"regex": "",
|
|
1554
|
-
"sample": "",
|
|
1555
|
-
"fileAttributes": [],
|
|
1556
|
-
"analyzerKeys": [],
|
|
1557
|
-
"sequenceKey": "",
|
|
1558
|
-
"dynamicArgs": {}
|
|
1559
|
-
}
|
|
1560
|
-
]
|
|
1561
|
-
};
|
|
1545
|
+
createAppPageConfig(body) {
|
|
1546
|
+
return this.http
|
|
1547
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppPageConfig', JSON.stringify(body), this.options)
|
|
1548
|
+
.pipe(map((response) => {
|
|
1549
|
+
return response;
|
|
1550
|
+
}), catchError(this.handleError));
|
|
1562
1551
|
}
|
|
1563
|
-
|
|
1552
|
+
editAppPageConfig(body) {
|
|
1553
|
+
return this.http
|
|
1554
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/editAppPageConfig', JSON.stringify(body), this.options)
|
|
1555
|
+
.pipe(map((response) => {
|
|
1556
|
+
return response;
|
|
1557
|
+
}), catchError(this.handleError));
|
|
1564
1558
|
}
|
|
1565
|
-
|
|
1566
|
-
this.
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
"dateFormat": "",
|
|
1572
|
-
"value": ""
|
|
1573
|
-
});
|
|
1559
|
+
deleteAppPageConfig(pageId) {
|
|
1560
|
+
return this.http
|
|
1561
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppPageConfig/' + pageId, this.options)
|
|
1562
|
+
.pipe(map((response) => {
|
|
1563
|
+
return response;
|
|
1564
|
+
}), catchError(this.handleError));
|
|
1574
1565
|
}
|
|
1575
|
-
|
|
1576
|
-
this.
|
|
1566
|
+
createAppWidgetConfig(body) {
|
|
1567
|
+
return this.http
|
|
1568
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppWidgetConfig', JSON.stringify(body), this.options)
|
|
1569
|
+
.pipe(map((response) => {
|
|
1570
|
+
return response;
|
|
1571
|
+
}), catchError(this.handleError));
|
|
1577
1572
|
}
|
|
1578
|
-
|
|
1579
|
-
|
|
1573
|
+
editAppWidgetConfig(body) {
|
|
1574
|
+
return this.http
|
|
1575
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/editAppWidgetConfig', JSON.stringify(body), this.options)
|
|
1576
|
+
.pipe(map((response) => {
|
|
1577
|
+
return response;
|
|
1578
|
+
}), catchError(this.handleError));
|
|
1580
1579
|
}
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1580
|
+
getAppPageDetailConfig(pageId) {
|
|
1581
|
+
return this.http
|
|
1582
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageDetailConfig?pageConfigId=' + pageId, this.options)
|
|
1583
|
+
.pipe(map((response) => {
|
|
1584
|
+
return response;
|
|
1585
|
+
}), catchError(this.handleError));
|
|
1585
1586
|
}
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
const itemToMove = this.exceptionMainObject.filterList[index];
|
|
1593
|
-
this.exceptionMainObject.filterList.splice(index, 1);
|
|
1594
|
-
this.exceptionMainObject.filterList.splice(newPosition, 0, itemToMove);
|
|
1587
|
+
deleteAppWidgetConfig(filterId) {
|
|
1588
|
+
return this.http
|
|
1589
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppWidgetConfig/' + filterId, this.options)
|
|
1590
|
+
.pipe(map((response) => {
|
|
1591
|
+
return response;
|
|
1592
|
+
}), catchError(this.handleError));
|
|
1595
1593
|
}
|
|
1596
|
-
|
|
1597
|
-
this.
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
"analyzerKeys": [],
|
|
1603
|
-
"dynamicArgs": {}
|
|
1604
|
-
});
|
|
1594
|
+
getAppFilterConfig(filterId) {
|
|
1595
|
+
return this.http
|
|
1596
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfig?filterId=' + filterId, this.options)
|
|
1597
|
+
.pipe(map((response) => {
|
|
1598
|
+
return response;
|
|
1599
|
+
}), catchError(this.handleError));
|
|
1605
1600
|
}
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
return;
|
|
1612
|
-
|
|
1613
|
-
this.exceptionMainObject.patternList.splice(index, 1);
|
|
1614
|
-
this.exceptionMainObject.patternList.splice(newPosition, 0, itemToMove);
|
|
1601
|
+
getKPIReferenceEndPoints() {
|
|
1602
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getKPIReferenceEndPoints';
|
|
1603
|
+
return this.http
|
|
1604
|
+
.get(apiUrl, { withCredentials: true })
|
|
1605
|
+
.pipe(map((response) => {
|
|
1606
|
+
return response;
|
|
1607
|
+
}), catchError(this.handleError));
|
|
1615
1608
|
}
|
|
1616
|
-
|
|
1617
|
-
this.
|
|
1609
|
+
loadKpiBrowser() {
|
|
1610
|
+
return this.http
|
|
1611
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi/loadKpiBrowser', { withCredentials: true })
|
|
1612
|
+
.pipe(map((response) => {
|
|
1613
|
+
return response;
|
|
1614
|
+
}), catchError(this.handleError));
|
|
1618
1615
|
}
|
|
1619
|
-
|
|
1620
|
-
const
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
}
|
|
1616
|
+
getlistKpiBrowser() {
|
|
1617
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
|
|
1618
|
+
return this.http
|
|
1619
|
+
.get(apiUrl, { withCredentials: true })
|
|
1620
|
+
.pipe(map((response) => {
|
|
1621
|
+
return response;
|
|
1622
|
+
}), catchError(this.handleError));
|
|
1626
1623
|
}
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
}
|
|
1624
|
+
getBookmarkedResource() {
|
|
1625
|
+
return this.http
|
|
1626
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi/getBookmarkedResource', { withCredentials: true })
|
|
1627
|
+
.pipe(map((response) => {
|
|
1628
|
+
return response;
|
|
1629
|
+
}), catchError(this.handleError));
|
|
1634
1630
|
}
|
|
1635
|
-
|
|
1636
|
-
this.
|
|
1637
|
-
this.
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
this.getExceptionDataCongigs();
|
|
1643
|
-
}, error: (err) => {
|
|
1644
|
-
this.loadingModal = false;
|
|
1645
|
-
this.isLoader = false;
|
|
1646
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Create Exception Config');
|
|
1647
|
-
}
|
|
1648
|
-
});
|
|
1649
|
-
console.log(this.exceptionMainObject);
|
|
1631
|
+
bookmarkResource(body) {
|
|
1632
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/bookmarkResource';
|
|
1633
|
+
return this.http
|
|
1634
|
+
.post(apiUrl, JSON.stringify(body), this.options)
|
|
1635
|
+
.pipe(map((response) => {
|
|
1636
|
+
return response;
|
|
1637
|
+
}), catchError(this.handleError));
|
|
1650
1638
|
}
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
const allMatch = element.analyzerKeys.every(item => element.fileAttributes.includes(item));
|
|
1658
|
-
const allKeysMatch = Object.keys(element.dynamicArgs).every(key => element.fileAttributes.includes(key));
|
|
1659
|
-
if (!allMatch) {
|
|
1660
|
-
this.toastr.error('Analyzer Keys not valid');
|
|
1661
|
-
return;
|
|
1662
|
-
}
|
|
1663
|
-
if (!allKeysMatch) {
|
|
1664
|
-
this.toastr.error('Filler not valid');
|
|
1665
|
-
return;
|
|
1666
|
-
}
|
|
1667
|
-
const updatedObj = Object.fromEntries(Object.entries(element.dynamicArgs).map(([key, value]) => [`default_${key}_filter`, value]));
|
|
1668
|
-
element.dynamicArgs = updatedObj;
|
|
1669
|
-
}
|
|
1670
|
-
this.loadingModal = true;
|
|
1671
|
-
this.service.saveFileSequenceAnalyzerGroup(this.exceptionMainObject).subscribe({
|
|
1672
|
-
next: (data) => {
|
|
1673
|
-
this.isExceptionConfigCreation = false;
|
|
1674
|
-
this.loadingModal = false;
|
|
1675
|
-
this.isLoader = true;
|
|
1676
|
-
this.getExceptionDataCongigs();
|
|
1677
|
-
}, error: (err) => {
|
|
1678
|
-
this.loadingModal = false;
|
|
1679
|
-
this.isLoader = false;
|
|
1680
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Create Exception Config');
|
|
1681
|
-
}
|
|
1682
|
-
});
|
|
1639
|
+
configureKpiBrowserConfig(body) {
|
|
1640
|
+
return this.http
|
|
1641
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/configureKpiBrowserConfig', JSON.stringify(body), this.options)
|
|
1642
|
+
.pipe(map((response) => {
|
|
1643
|
+
return response;
|
|
1644
|
+
}), catchError(this.handleError));
|
|
1683
1645
|
}
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
next: (data) => {
|
|
1691
|
-
const currentPageIndex = this.dataGrid?.instance.pageIndex();
|
|
1692
|
-
this.getExceptionDataCongigs().then(() => {
|
|
1693
|
-
if (currentPageIndex !== undefined) {
|
|
1694
|
-
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
1695
|
-
}
|
|
1696
|
-
this.isLoader = false;
|
|
1697
|
-
this.toastr.success(data.response);
|
|
1698
|
-
});
|
|
1699
|
-
}, error: (err) => {
|
|
1700
|
-
this.loadingModal = false;
|
|
1701
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'CDR Config Delete');
|
|
1702
|
-
}
|
|
1703
|
-
});
|
|
1704
|
-
}
|
|
1705
|
-
});
|
|
1646
|
+
getCreateKpi(body) {
|
|
1647
|
+
return this.http
|
|
1648
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createKpi', JSON.stringify(body), this.options)
|
|
1649
|
+
.pipe(map((response) => {
|
|
1650
|
+
return response;
|
|
1651
|
+
}), catchError(this.handleError));
|
|
1706
1652
|
}
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
if (dialogResult) {
|
|
1711
|
-
this.service.activateFileSequenceAnalyzerGroup(data.configId).subscribe({
|
|
1712
|
-
next: (data) => {
|
|
1713
|
-
const currentPageIndex = this.dataGrid?.instance.pageIndex();
|
|
1714
|
-
this.getExceptionDataCongigs().then(() => {
|
|
1715
|
-
if (currentPageIndex !== undefined) {
|
|
1716
|
-
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
1717
|
-
}
|
|
1718
|
-
this.isLoader = false;
|
|
1719
|
-
this.toastr.success(data.response);
|
|
1720
|
-
});
|
|
1721
|
-
}, error: (err) => {
|
|
1722
|
-
console.log(err);
|
|
1723
|
-
this.loadingModal = false;
|
|
1724
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
1725
|
-
}
|
|
1726
|
-
});
|
|
1727
|
-
}
|
|
1653
|
+
uploadDatasetJsonPayload(formData) {
|
|
1654
|
+
const headers = new HttpHeaders({
|
|
1655
|
+
'enctype': 'multipart/form-data',
|
|
1728
1656
|
});
|
|
1657
|
+
const options = { headers: headers, withCredentials: true };
|
|
1658
|
+
return this.http
|
|
1659
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/uploadDatasetJsonPayload', formData, options)
|
|
1660
|
+
.pipe(map((response) => {
|
|
1661
|
+
return response;
|
|
1662
|
+
}), catchError(this.handleError));
|
|
1729
1663
|
}
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
const currentPageIndex = this.dataGrid?.instance.pageIndex();
|
|
1737
|
-
this.getExceptionDataCongigs().then(() => {
|
|
1738
|
-
if (currentPageIndex !== undefined) {
|
|
1739
|
-
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
1740
|
-
}
|
|
1741
|
-
this.isLoader = false;
|
|
1742
|
-
this.toastr.success(data.response);
|
|
1743
|
-
});
|
|
1744
|
-
}, error: (err) => {
|
|
1745
|
-
console.log(err);
|
|
1746
|
-
this.loadingModal = false;
|
|
1747
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
1748
|
-
}
|
|
1749
|
-
});
|
|
1750
|
-
}
|
|
1751
|
-
});
|
|
1664
|
+
getKpiData() {
|
|
1665
|
+
return this.http
|
|
1666
|
+
.get(`${this.environment.basePath}assets/api-data/policy.json`, { withCredentials: true })
|
|
1667
|
+
.pipe(map((response) => {
|
|
1668
|
+
return response;
|
|
1669
|
+
}), catchError(this.handleError));
|
|
1752
1670
|
}
|
|
1753
|
-
|
|
1754
|
-
this.
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
}, error: err => {
|
|
1760
|
-
this.loadingModal = false;
|
|
1761
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
1762
|
-
}
|
|
1763
|
-
});
|
|
1671
|
+
getGroupDetails() {
|
|
1672
|
+
return this.http
|
|
1673
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/jobs/getGroupDetails', { withCredentials: true })
|
|
1674
|
+
.pipe(map((response) => {
|
|
1675
|
+
return response;
|
|
1676
|
+
}), catchError(this.handleError));
|
|
1764
1677
|
}
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
ExceptionOperationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ExceptionOperationComponent, selector: "app-exception-operation", viewQueries: [{ propertyName: "dataGrid", first: true, predicate: ["gridContainer"], descendants: true }], ngImport: i0, template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n<div class=\"flex flex-col flex-auto w-full\">\n <div class=\"flex flex-col\">\n <div class=\"flex justify-between border-b dark:bg-transparent\">\n <div class=\"flex flex-col ml-1\">\n <div class=\"flex items-center float-start\">\n <div class=\"flex items-center overflow-hidden\">\n <mat-icon class=\"icon-size-2\" [svgIcon]=\"'heroicons_solid:template'\"></mat-icon>\n </div>\n <h2\n class=\"text-2xl md:text-2xl py-3 font-extrabold items-center ml-2 tracking-tight leading-5 truncate capitalize\">\n Exception Configuration\n </h2>\n </div>\n <div class=\"\">\n </div>\n </div>\n <div class=\"flex justify-between items-center border-l-2 p-0 m-0\">\n\n\n <div class=\"w-1 h-full border-l-2\"></div>\n <div class=\"mx-2\">\n\n <div class=\"flex items-center p-1\">\n\n <div class=\"mx-2\">\n <button class=\"{{commonService.btn_primary_md}} cursor-pointer\"\n (click)=\"createExceptionConfig()\">Create Config\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\n <div class=\"m-2\">\n <div class=\"m-3 p-4 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n <h6 class=\"mb-2 font-bold text-lg tracking-tight text-gray-900 dark:text-white border-b pb-3\"><i\n class=\"fa fa-table mr-2\"></i> File Sequence Analyzer configs | \n <button class=\"{{commonService.btn_success_md}}\" (click)=\"updateFileSequenceAnalyzerJobs()\">Update</button>\n </h6>\n <!-- <app-loader *ngIf=\"isLoader\"></app-loader> -->\n <dx-data-grid [columnAutoWidth]=\"true\" [dataSource]=\"allExceptionConfigDataSource\" [selectedRowKeys]=\"[]\"\n [showBorders]=\"true\" [showRowLines]=\"true\" id=\"gridContainer\" [hoverStateEnabled]=\"true\"\n *ngIf=\"!isLoader\">\n\n <dxo-search-panel [highlightCaseSensitive]=\"true\" [visible]=\"true\">\n </dxo-search-panel>\n <dxo-export [enabled]=\"true\" fileName=\"alert_data_by_status\"></dxo-export>\n <dxo-paging [pageSize]=\"10\"></dxo-paging>\n <dxo-pager [showInfo]=\"true\" [showPageSizeSelector]=\"true\" [allowedPageSizes]=\"[10,20,50,100]\">\n </dxo-pager>\n <dxi-column dataField=\"configName\"></dxi-column>\n <dxi-column dataField=\"datasource\"></dxi-column>\n <dxi-column dataField=\"dbConfig\"></dxi-column>\n <dxi-column dataField=\"analyzerType\"></dxi-column>\n <dxi-column dataField=\"fileNameAttributeName\"></dxi-column>\n <dxi-column dataField=\"dataSelectionType\"></dxi-column>\n <dxi-column caption=\"Status\" dataField=\"active\" cellTemplate=\"cellTemplate1\"></dxi-column>\n\n <dxi-column dataField=\"action\" cellTemplate=\"cellTemplate\" [fixed]=\"true\"\n fixedPosition=\"right\"></dxi-column>\n <div *dxTemplate=\"let data of 'cellTemplate'\">\n <button class=\"{{commonService.btnPrimaryBlue}}\" (click)=\"editExceptionConfigConfig(data.data)\">\n Edit\n </button>\n <!-- <button class=\"{{commonService.btnPrimaryBlue}}\" *ngIf=\"data.data.active == false\"\n (click)=\"editExceptionConfigConfig(data.data)\">\n Edit\n </button> -->\n\n <button class=\"{{commonService.btn_danger_md}}\" (click)=\"deleteExceptionConfig(data.data)\">\n Delete\n </button>\n </div>\n <div *dxTemplate=\"let data of 'cellTemplate1'\">\n <button type=\"button\" *ngIf=\"data.data.active == true\" class=\"{{commonService.btnSuccessGreen}}\"\n (click)=\"deActivatedException(data.data)\">Active</button>\n\n <button type=\"button\" *ngIf=\"data.data.active == false\" class=\"{{commonService.btnWarningYellow}}\"\n (click)=\"activatedException(data.data)\">Inactive</button>\n\n\n </div>\n\n </dx-data-grid>\n\n </div>\n </div>\n <ng-container *ngIf=\"isExceptionConfigCreation\">\n <div class=\"m-2\">\n <div\n class=\"m-3 p-4 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n <h6\n class=\"mb-2 text-lg tracking-tight text-gray-900 dark:text-white border-b pb-3 flex items-center capitalize\">\n {{contentType}} Exception Configurations\n\n <div class=\"ml-auto\">\n <button class=\"{{commonService.btnOthersPurple}}\" (click)=\"getCancleExceptionCreation()\">\n Back\n </button>\n </div>\n </h6>\n\n <!-- (onValueChanged)=\"valueChangeForDatabaseName($event)\" -->\n <div class=\"flex\">\n <div class=\"w-full border-r\">\n <div class=\"m-2\">\n <div class=\"flex flex-row mb-2\">\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Config Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.configName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Datasource</div>\n <dx-select-box [items]=\"datasourcelist\" [(ngModel)]=\"exceptionMainObject.datasource\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Analyzer Type</div>\n <dx-select-box [items]=\"analyzer_type\" valueExpr=\"key\" displayExpr=\"name\"\n [(ngModel)]=\"exceptionMainObject.analyzerType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex flex-col\">\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"pt-2\">\n <div class=\"flex flex-row p-2\">\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Db Config</div>\n <dx-select-box [items]=\"['mongo','impala','postgres','mysql','bigquery']\"\n (onValueChanged)=\"getDataConfig($event)\"\n [(ngModel)]=\"exceptionMainObject.dbConfig\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Table Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.tableName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Data Selection Type</div>\n <dx-select-box [items]=\"['select','distinct']\"\n [(ngModel)]=\"exceptionMainObject.dataSelectionType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> File Column Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.fileNameAttributeName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"flex flex-col flex-auto min-w-0 my-2\">\n <div class=\"py-2 border-b border-b\">\n <div class=\"flex flex-row px-2\">\n <div class=\"w-1/2 px-2\">\n <div class=\"text-2xl font-extrabold\">Filter List</div>\n </div>\n <div class=\"w-1/2 px-2\">\n <div class=\"flex justify-end\">\n <button class=\"{{commonService.btn_primary_md}}\"\n (click)=\"getProcessForConfig()\">\n Add Filter\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pt-2\">\n <div class=\"flex flex-row my-2\"\n *ngFor=\"let items of exceptionMainObject.filterList;let i = index;\">\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Column Name</p>\n <dx-text-box [(ngModel)]=\"items.columnName\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Operator</p>\n <dx-select-box [items]=\"operator_list\" valueExpr=\"value\"\n displayExpr=\"name\" [(ngModel)]=\"items.operator\"\n [searchEnabled]=\"true\">\n </dx-select-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Datatype</p>\n <dx-select-box\n [items]=\"['date','string','timestamp','int', 'double', 'boolean']\"\n [(ngModel)]=\"items.dataType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Select Function</p>\n <dx-select-box [items]=\"functionNameContainer\"\n [(ngModel)]=\"items.windowFunctionName\" [searchEnabled]=\"true\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n <div class=\"w-full px-2\"\n *ngIf=\"items.dataType == 'date' || items.dataType == 'timestamp'\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Date Format</p>\n <dx-text-box [(ngModel)]=\"items.dateFormat\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Default Value</p>\n <dx-text-box [(ngModel)]=\"items.value\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"mx-2\">\n <div class=\"flex flex-row\">\n <button *ngIf=\"i !== 0\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForColumns(i, 'up')\">\n <i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i>\n </button>\n\n <button *ngIf=\"i !== exceptionMainObject.filterList.length - 1\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForColumns(i, 'down')\">\n <i class=\"fa fa-arrow-down\" aria-hidden=\"true\"></i>\n </button>\n\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deleteColume(i)\"><i class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i>\n </button>\n </div>\n </div>\n </div>\n\n\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"flex flex-col flex-auto min-w-0 my-2\">\n <div class=\"py-2 border-b border-b\">\n <div class=\"flex flex-row px-2\">\n <div class=\"w-1/2 px-2\">\n <div class=\"text-2xl font-extrabold\">Pattern List</div>\n </div>\n <div class=\"w-1/2 px-2\">\n <div class=\"flex justify-end\">\n <button class=\"{{commonService.btn_primary_md}}\"\n (click)=\"getAddPatternsConfig()\">\n Add Pattern\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pt-2\">\n <ng-container *ngFor=\"let items of exceptionMainObject.patternList;let i = index;\">\n <div class=\"flex flex-wrap my-2\">\n <div class=\"w-1/2 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Regex</p>\n <dx-text-box [(ngModel)]=\"items.regex\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-1/2 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">File Attributes</p>\n <dx-tag-box [multiline]=\"true\" [showSelectionControls]=\"true\"\n [acceptCustomValue]=\"true\"\n (onCustomItemCreating)=\"onCustomFileAttributesAdd($event)\"\n [(ngModel)]=\"items.fileAttributes\" [searchEnabled]=\"true\">\n </dx-tag-box>\n </div>\n </div>\n\n <div class=\"w-1/3 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">SequenceKey</p>\n <dx-text-box [(ngModel)]=\"items.sequenceKey\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n\n <div class=\"w-1/3 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Analyzer Keys</p>\n <dx-tag-box [multiline]=\"true\" [showSelectionControls]=\"true\"\n [acceptCustomValue]=\"true\"\n (onCustomItemCreating)=\"onCustomAnalizerKeyAdd($event)\"\n [(ngModel)]=\"items.analyzerKeys\" [searchEnabled]=\"true\">\n </dx-tag-box>\n </div>\n </div>\n <div class=\"w-1/6 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Sample</p>\n <dx-text-box [(ngModel)]=\"items.sample\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-1/6 px-2 my-2\">\n <div class=\"mx-2\">\n <div class=\"flex flex-row\">\n <button *ngIf=\"i !== 0\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForpatterns(i, 'up')\">\n <i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i>\n </button>\n\n <button *ngIf=\"i !== exceptionMainObject.filterList.length - 1\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForpatterns(i, 'down')\">\n <i class=\"fa fa-arrow-down\" aria-hidden=\"true\"></i>\n </button>\n\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deletePatternsColume(i)\"><i class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"text-xl mb-2\">Dynamic Arguments |\n <button class=\"{{commonService.btn_primary_sm}}\"\n (click)=\"addDynamicArgument(i)\">Add Arguments</button>\n </div>\n <div class=\"m-5\">\n\n <div class=\"flex flex-wrap\">\n <ng-container *ngFor=\"let item of items.dynamicArgs | keyvalue\">\n <div class=\"w-1/2 p-2\">\n <div class=\"flex flex-row\">\n <div class=\"m-1\">\n <div class=\"text-md\"> Argument Key</div>\n <dx-text-box [(ngModel)]=\"item.key\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <div class=\"text-md\"> Argument Value</div>\n <dx-text-box\n [(ngModel)]=\"items.dynamicArgs[item.key]\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deleteDynamicArguments(item,item.key,i)\"><i\n class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i></button>\n </div>\n </div>\n </div>\n </ng-container>\n\n </div>\n </div>\n\n\n\n </ng-container>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex w-full justify-end mt-5 border-t\" *ngIf=\"contentType !== 'view'\">\n\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mx-1 my-2\"\n (click)=\"saveExceptionConfig()\" *ngIf=\"contentType == 'create'\">\n Create Exception Config\n </button>\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mx-1 my-2\"\n (click)=\"updateExceptionConfig()\" *ngIf=\"contentType == 'edit'\">\n Update Exception Config\n </button>\n </div>\n </div>\n </div>\n </ng-container>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i6.DxoExportComponent, selector: "dxo-export", inputs: ["backgroundColor", "enabled", "fileName", "formats", "margin", "printingEnabled", "proxyUrl", "svgToCanvas", "allowExportSelectedData", "customizeExcelCell", "excelFilterEnabled", "excelWrapTextEnabled", "ignoreExcelErrors", "texts"] }, { kind: "component", type: i9.DxDataGridComponent, selector: "dx-data-grid", inputs: ["accessKey", "activeStateEnabled", "allowColumnReordering", "allowColumnResizing", "autoNavigateToFocusedRow", "cacheEnabled", "cellHintEnabled", "columnAutoWidth", "columnChooser", "columnFixing", "columnHidingEnabled", "columnMinWidth", "columnResizingMode", "columns", "columnWidth", "customizeColumns", "customizeExportData", "dataRowTemplate", "dataSource", "dateSerializationFormat", "disabled", "editing", "elementAttr", "errorRowEnabled", "export", "filterBuilder", "filterBuilderPopup", "filterPanel", "filterRow", "filterSyncEnabled", "filterValue", "focusedColumnIndex", "focusedRowEnabled", "focusedRowIndex", "focusedRowKey", "focusStateEnabled", "grouping", "groupPanel", "headerFilter", "height", "highlightChanges", "hint", "hoverStateEnabled", "keyboardNavigation", "keyExpr", "loadPanel", "masterDetail", "noDataText", "pager", "paging", "remoteOperations", "renderAsync", "repaintChangesOnly", "rowAlternationEnabled", "rowDragging", "rowTemplate", "rtlEnabled", "scrolling", "searchPanel", "selectedRowKeys", "selection", "selectionFilter", "showBorders", "showColumnHeaders", "showColumnLines", "showRowLines", "sortByGroupSummaryInfo", "sorting", "stateStoring", "summary", "syncLookupFilterValues", "tabIndex", "toolbar", "twoWayBindingEnabled", "visible", "width", "wordWrapEnabled"], outputs: ["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellHoverChanged", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExported", "onExporting", "onFileSaving", "onFocusedCellChanged", "onFocusedCellChanging", "onFocusedRowChanged", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onOptionChanged", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onSelectionChanged", "onToolbarPreparing", "accessKeyChange", "activeStateEnabledChange", "allowColumnReorderingChange", "allowColumnResizingChange", "autoNavigateToFocusedRowChange", "cacheEnabledChange", "cellHintEnabledChange", "columnAutoWidthChange", "columnChooserChange", "columnFixingChange", "columnHidingEnabledChange", "columnMinWidthChange", "columnResizingModeChange", "columnsChange", "columnWidthChange", "customizeColumnsChange", "customizeExportDataChange", "dataRowTemplateChange", "dataSourceChange", "dateSerializationFormatChange", "disabledChange", "editingChange", "elementAttrChange", "errorRowEnabledChange", "exportChange", "filterBuilderChange", "filterBuilderPopupChange", "filterPanelChange", "filterRowChange", "filterSyncEnabledChange", "filterValueChange", "focusedColumnIndexChange", "focusedRowEnabledChange", "focusedRowIndexChange", "focusedRowKeyChange", "focusStateEnabledChange", "groupingChange", "groupPanelChange", "headerFilterChange", "heightChange", "highlightChangesChange", "hintChange", "hoverStateEnabledChange", "keyboardNavigationChange", "keyExprChange", "loadPanelChange", "masterDetailChange", "noDataTextChange", "pagerChange", "pagingChange", "remoteOperationsChange", "renderAsyncChange", "repaintChangesOnlyChange", "rowAlternationEnabledChange", "rowDraggingChange", "rowTemplateChange", "rtlEnabledChange", "scrollingChange", "searchPanelChange", "selectedRowKeysChange", "selectionChange", "selectionFilterChange", "showBordersChange", "showColumnHeadersChange", "showColumnLinesChange", "showRowLinesChange", "sortByGroupSummaryInfoChange", "sortingChange", "stateStoringChange", "summaryChange", "syncLookupFilterValuesChange", "tabIndexChange", "toolbarChange", "twoWayBindingEnabledChange", "visibleChange", "widthChange", "wordWrapEnabledChange"] }, { kind: "component", type: i6.DxiColumnComponent, selector: "dxi-column", inputs: ["alignment", "allowEditing", "allowExporting", "allowFiltering", "allowFixing", "allowGrouping", "allowHeaderFiltering", "allowHiding", "allowReordering", "allowResizing", "allowSearch", "allowSorting", "autoExpandGroup", "buttons", "calculateCellValue", "calculateDisplayValue", "calculateFilterExpression", "calculateGroupValue", "calculateSortValue", "caption", "cellTemplate", "columns", "cssClass", "customizeText", "dataField", "dataType", "editCellTemplate", "editorOptions", "encodeHtml", "falseText", "filterOperations", "filterType", "filterValue", "filterValues", "fixed", "fixedPosition", "format", "formItem", "groupCellTemplate", "groupIndex", "headerCellTemplate", "headerFilter", "hidingPriority", "isBand", "lookup", "minWidth", "name", "ownerBand", "renderAsync", "selectedFilterOperation", "setCellValue", "showEditorAlways", "showInColumnChooser", "showWhenGrouped", "sortIndex", "sortingMethod", "sortOrder", "trueText", "type", "validationRules", "visible", "visibleIndex", "width"], outputs: ["filterValueChange", "filterValuesChange", "groupIndexChange", "selectedFilterOperationChange", "sortIndexChange", "sortOrderChange", "visibleChange", "visibleIndexChange"] }, { kind: "component", type: i6.DxoPagerComponent, selector: "dxo-pager", inputs: ["allowedPageSizes", "displayMode", "infoText", "showInfo", "showNavigationButtons", "showPageSizeSelector", "visible"] }, { kind: "component", type: i6.DxoPagingComponent, selector: "dxo-paging", inputs: ["enabled", "pageIndex", "pageSize"], outputs: ["pageIndexChange", "pageSizeChange"] }, { kind: "component", type: i6.DxoSearchPanelComponent, selector: "dxo-search-panel", inputs: ["highlightCaseSensitive", "highlightSearchText", "placeholder", "searchVisibleColumnsOnly", "text", "visible", "width"], outputs: ["textChange"] }, { kind: "component", type: i6$1.DxSelectBoxComponent, selector: "dx-select-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxLength", "minSearchLength", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showSelectionControls", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCustomItemCreating", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showSelectionControlsChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i8.DxTagBoxComponent, selector: "dx-tag-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "applyValueMode", "buttons", "dataSource", "deferRendering", "disabled", "displayExpr", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hideSelectedItems", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxDisplayedTags", "maxFilterQueryLength", "maxLength", "minSearchLength", "multiline", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectAllMode", "selectAllText", "selectedItems", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showMultiTagOnly", "showSelectionControls", "stylingMode", "tabIndex", "tagTemplate", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCustomItemCreating", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onMultiTagPreparing", "onOpened", "onOptionChanged", "onSelectAllValueChanged", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "applyValueModeChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hideSelectedItemsChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxDisplayedTagsChange", "maxFilterQueryLengthChange", "maxLengthChange", "minSearchLengthChange", "multilineChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectAllModeChange", "selectAllTextChange", "selectedItemsChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showMultiTagOnlyChange", "showSelectionControlsChange", "stylingModeChange", "tabIndexChange", "tagTemplateChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i7.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "directive", type: i8$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: LoadingComponent$1, selector: "app-loading" }, { kind: "pipe", type: i4$1.KeyValuePipe, name: "keyvalue" }] });
|
|
1768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExceptionOperationComponent, decorators: [{
|
|
1769
|
-
type: Component,
|
|
1770
|
-
args: [{ selector: 'app-exception-operation', template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n<div class=\"flex flex-col flex-auto w-full\">\n <div class=\"flex flex-col\">\n <div class=\"flex justify-between border-b dark:bg-transparent\">\n <div class=\"flex flex-col ml-1\">\n <div class=\"flex items-center float-start\">\n <div class=\"flex items-center overflow-hidden\">\n <mat-icon class=\"icon-size-2\" [svgIcon]=\"'heroicons_solid:template'\"></mat-icon>\n </div>\n <h2\n class=\"text-2xl md:text-2xl py-3 font-extrabold items-center ml-2 tracking-tight leading-5 truncate capitalize\">\n Exception Configuration\n </h2>\n </div>\n <div class=\"\">\n </div>\n </div>\n <div class=\"flex justify-between items-center border-l-2 p-0 m-0\">\n\n\n <div class=\"w-1 h-full border-l-2\"></div>\n <div class=\"mx-2\">\n\n <div class=\"flex items-center p-1\">\n\n <div class=\"mx-2\">\n <button class=\"{{commonService.btn_primary_md}} cursor-pointer\"\n (click)=\"createExceptionConfig()\">Create Config\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\n <div class=\"m-2\">\n <div class=\"m-3 p-4 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n <h6 class=\"mb-2 font-bold text-lg tracking-tight text-gray-900 dark:text-white border-b pb-3\"><i\n class=\"fa fa-table mr-2\"></i> File Sequence Analyzer configs | \n <button class=\"{{commonService.btn_success_md}}\" (click)=\"updateFileSequenceAnalyzerJobs()\">Update</button>\n </h6>\n <!-- <app-loader *ngIf=\"isLoader\"></app-loader> -->\n <dx-data-grid [columnAutoWidth]=\"true\" [dataSource]=\"allExceptionConfigDataSource\" [selectedRowKeys]=\"[]\"\n [showBorders]=\"true\" [showRowLines]=\"true\" id=\"gridContainer\" [hoverStateEnabled]=\"true\"\n *ngIf=\"!isLoader\">\n\n <dxo-search-panel [highlightCaseSensitive]=\"true\" [visible]=\"true\">\n </dxo-search-panel>\n <dxo-export [enabled]=\"true\" fileName=\"alert_data_by_status\"></dxo-export>\n <dxo-paging [pageSize]=\"10\"></dxo-paging>\n <dxo-pager [showInfo]=\"true\" [showPageSizeSelector]=\"true\" [allowedPageSizes]=\"[10,20,50,100]\">\n </dxo-pager>\n <dxi-column dataField=\"configName\"></dxi-column>\n <dxi-column dataField=\"datasource\"></dxi-column>\n <dxi-column dataField=\"dbConfig\"></dxi-column>\n <dxi-column dataField=\"analyzerType\"></dxi-column>\n <dxi-column dataField=\"fileNameAttributeName\"></dxi-column>\n <dxi-column dataField=\"dataSelectionType\"></dxi-column>\n <dxi-column caption=\"Status\" dataField=\"active\" cellTemplate=\"cellTemplate1\"></dxi-column>\n\n <dxi-column dataField=\"action\" cellTemplate=\"cellTemplate\" [fixed]=\"true\"\n fixedPosition=\"right\"></dxi-column>\n <div *dxTemplate=\"let data of 'cellTemplate'\">\n <button class=\"{{commonService.btnPrimaryBlue}}\" (click)=\"editExceptionConfigConfig(data.data)\">\n Edit\n </button>\n <!-- <button class=\"{{commonService.btnPrimaryBlue}}\" *ngIf=\"data.data.active == false\"\n (click)=\"editExceptionConfigConfig(data.data)\">\n Edit\n </button> -->\n\n <button class=\"{{commonService.btn_danger_md}}\" (click)=\"deleteExceptionConfig(data.data)\">\n Delete\n </button>\n </div>\n <div *dxTemplate=\"let data of 'cellTemplate1'\">\n <button type=\"button\" *ngIf=\"data.data.active == true\" class=\"{{commonService.btnSuccessGreen}}\"\n (click)=\"deActivatedException(data.data)\">Active</button>\n\n <button type=\"button\" *ngIf=\"data.data.active == false\" class=\"{{commonService.btnWarningYellow}}\"\n (click)=\"activatedException(data.data)\">Inactive</button>\n\n\n </div>\n\n </dx-data-grid>\n\n </div>\n </div>\n <ng-container *ngIf=\"isExceptionConfigCreation\">\n <div class=\"m-2\">\n <div\n class=\"m-3 p-4 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n <h6\n class=\"mb-2 text-lg tracking-tight text-gray-900 dark:text-white border-b pb-3 flex items-center capitalize\">\n {{contentType}} Exception Configurations\n\n <div class=\"ml-auto\">\n <button class=\"{{commonService.btnOthersPurple}}\" (click)=\"getCancleExceptionCreation()\">\n Back\n </button>\n </div>\n </h6>\n\n <!-- (onValueChanged)=\"valueChangeForDatabaseName($event)\" -->\n <div class=\"flex\">\n <div class=\"w-full border-r\">\n <div class=\"m-2\">\n <div class=\"flex flex-row mb-2\">\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Config Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.configName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Datasource</div>\n <dx-select-box [items]=\"datasourcelist\" [(ngModel)]=\"exceptionMainObject.datasource\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Analyzer Type</div>\n <dx-select-box [items]=\"analyzer_type\" valueExpr=\"key\" displayExpr=\"name\"\n [(ngModel)]=\"exceptionMainObject.analyzerType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex flex-col\">\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"pt-2\">\n <div class=\"flex flex-row p-2\">\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Db Config</div>\n <dx-select-box [items]=\"['mongo','impala','postgres','mysql','bigquery']\"\n (onValueChanged)=\"getDataConfig($event)\"\n [(ngModel)]=\"exceptionMainObject.dbConfig\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Table Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.tableName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Data Selection Type</div>\n <dx-select-box [items]=\"['select','distinct']\"\n [(ngModel)]=\"exceptionMainObject.dataSelectionType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> File Column Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.fileNameAttributeName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"flex flex-col flex-auto min-w-0 my-2\">\n <div class=\"py-2 border-b border-b\">\n <div class=\"flex flex-row px-2\">\n <div class=\"w-1/2 px-2\">\n <div class=\"text-2xl font-extrabold\">Filter List</div>\n </div>\n <div class=\"w-1/2 px-2\">\n <div class=\"flex justify-end\">\n <button class=\"{{commonService.btn_primary_md}}\"\n (click)=\"getProcessForConfig()\">\n Add Filter\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pt-2\">\n <div class=\"flex flex-row my-2\"\n *ngFor=\"let items of exceptionMainObject.filterList;let i = index;\">\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Column Name</p>\n <dx-text-box [(ngModel)]=\"items.columnName\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Operator</p>\n <dx-select-box [items]=\"operator_list\" valueExpr=\"value\"\n displayExpr=\"name\" [(ngModel)]=\"items.operator\"\n [searchEnabled]=\"true\">\n </dx-select-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Datatype</p>\n <dx-select-box\n [items]=\"['date','string','timestamp','int', 'double', 'boolean']\"\n [(ngModel)]=\"items.dataType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Select Function</p>\n <dx-select-box [items]=\"functionNameContainer\"\n [(ngModel)]=\"items.windowFunctionName\" [searchEnabled]=\"true\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n <div class=\"w-full px-2\"\n *ngIf=\"items.dataType == 'date' || items.dataType == 'timestamp'\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Date Format</p>\n <dx-text-box [(ngModel)]=\"items.dateFormat\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Default Value</p>\n <dx-text-box [(ngModel)]=\"items.value\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"mx-2\">\n <div class=\"flex flex-row\">\n <button *ngIf=\"i !== 0\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForColumns(i, 'up')\">\n <i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i>\n </button>\n\n <button *ngIf=\"i !== exceptionMainObject.filterList.length - 1\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForColumns(i, 'down')\">\n <i class=\"fa fa-arrow-down\" aria-hidden=\"true\"></i>\n </button>\n\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deleteColume(i)\"><i class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i>\n </button>\n </div>\n </div>\n </div>\n\n\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"flex flex-col flex-auto min-w-0 my-2\">\n <div class=\"py-2 border-b border-b\">\n <div class=\"flex flex-row px-2\">\n <div class=\"w-1/2 px-2\">\n <div class=\"text-2xl font-extrabold\">Pattern List</div>\n </div>\n <div class=\"w-1/2 px-2\">\n <div class=\"flex justify-end\">\n <button class=\"{{commonService.btn_primary_md}}\"\n (click)=\"getAddPatternsConfig()\">\n Add Pattern\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pt-2\">\n <ng-container *ngFor=\"let items of exceptionMainObject.patternList;let i = index;\">\n <div class=\"flex flex-wrap my-2\">\n <div class=\"w-1/2 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Regex</p>\n <dx-text-box [(ngModel)]=\"items.regex\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-1/2 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">File Attributes</p>\n <dx-tag-box [multiline]=\"true\" [showSelectionControls]=\"true\"\n [acceptCustomValue]=\"true\"\n (onCustomItemCreating)=\"onCustomFileAttributesAdd($event)\"\n [(ngModel)]=\"items.fileAttributes\" [searchEnabled]=\"true\">\n </dx-tag-box>\n </div>\n </div>\n\n <div class=\"w-1/3 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">SequenceKey</p>\n <dx-text-box [(ngModel)]=\"items.sequenceKey\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n\n <div class=\"w-1/3 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Analyzer Keys</p>\n <dx-tag-box [multiline]=\"true\" [showSelectionControls]=\"true\"\n [acceptCustomValue]=\"true\"\n (onCustomItemCreating)=\"onCustomAnalizerKeyAdd($event)\"\n [(ngModel)]=\"items.analyzerKeys\" [searchEnabled]=\"true\">\n </dx-tag-box>\n </div>\n </div>\n <div class=\"w-1/6 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Sample</p>\n <dx-text-box [(ngModel)]=\"items.sample\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-1/6 px-2 my-2\">\n <div class=\"mx-2\">\n <div class=\"flex flex-row\">\n <button *ngIf=\"i !== 0\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForpatterns(i, 'up')\">\n <i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i>\n </button>\n\n <button *ngIf=\"i !== exceptionMainObject.filterList.length - 1\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForpatterns(i, 'down')\">\n <i class=\"fa fa-arrow-down\" aria-hidden=\"true\"></i>\n </button>\n\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deletePatternsColume(i)\"><i class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"text-xl mb-2\">Dynamic Arguments |\n <button class=\"{{commonService.btn_primary_sm}}\"\n (click)=\"addDynamicArgument(i)\">Add Arguments</button>\n </div>\n <div class=\"m-5\">\n\n <div class=\"flex flex-wrap\">\n <ng-container *ngFor=\"let item of items.dynamicArgs | keyvalue\">\n <div class=\"w-1/2 p-2\">\n <div class=\"flex flex-row\">\n <div class=\"m-1\">\n <div class=\"text-md\"> Argument Key</div>\n <dx-text-box [(ngModel)]=\"item.key\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <div class=\"text-md\"> Argument Value</div>\n <dx-text-box\n [(ngModel)]=\"items.dynamicArgs[item.key]\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deleteDynamicArguments(item,item.key,i)\"><i\n class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i></button>\n </div>\n </div>\n </div>\n </ng-container>\n\n </div>\n </div>\n\n\n\n </ng-container>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex w-full justify-end mt-5 border-t\" *ngIf=\"contentType !== 'view'\">\n\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mx-1 my-2\"\n (click)=\"saveExceptionConfig()\" *ngIf=\"contentType == 'create'\">\n Create Exception Config\n </button>\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mx-1 my-2\"\n (click)=\"updateExceptionConfig()\" *ngIf=\"contentType == 'edit'\">\n Update Exception Config\n </button>\n </div>\n </div>\n </div>\n </ng-container>\n</div>" }]
|
|
1771
|
-
}], ctorParameters: function () { return [{ type: CommonService }, { type: ExceptionConfigsService }, { type: i3.ToastrService }]; }, propDecorators: { dataGrid: [{
|
|
1772
|
-
type: ViewChild,
|
|
1773
|
-
args: ['gridContainer', { static: false }]
|
|
1774
|
-
}] } });
|
|
1775
|
-
|
|
1776
|
-
class LoadingModule$1 {
|
|
1777
|
-
}
|
|
1778
|
-
LoadingModule$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1779
|
-
LoadingModule$1.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, declarations: [LoadingComponent$1], imports: [RouterModule,
|
|
1780
|
-
CommonModule,
|
|
1781
|
-
FormsModule], exports: [LoadingComponent$1] });
|
|
1782
|
-
LoadingModule$1.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, imports: [RouterModule,
|
|
1783
|
-
CommonModule,
|
|
1784
|
-
FormsModule] });
|
|
1785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, decorators: [{
|
|
1786
|
-
type: NgModule,
|
|
1787
|
-
args: [{
|
|
1788
|
-
imports: [
|
|
1789
|
-
RouterModule,
|
|
1790
|
-
CommonModule,
|
|
1791
|
-
FormsModule,
|
|
1792
|
-
],
|
|
1793
|
-
declarations: [LoadingComponent$1],
|
|
1794
|
-
exports: [LoadingComponent$1]
|
|
1795
|
-
}]
|
|
1796
|
-
}] });
|
|
1797
|
-
|
|
1798
|
-
const routes = [
|
|
1799
|
-
{
|
|
1800
|
-
path: '',
|
|
1801
|
-
loadChildren: () => Promise.resolve().then(function () { return applicationController_module; }).then((m) => m.PackageApplicationControllerModule),
|
|
1802
|
-
},
|
|
1803
|
-
];
|
|
1804
|
-
class GammaAppControllerModule {
|
|
1805
|
-
}
|
|
1806
|
-
GammaAppControllerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1807
|
-
GammaAppControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, declarations: [GammaAppControllerComponent,
|
|
1808
|
-
ExceptionOperationComponent], imports: [IconsModule, i4.RouterModule, CommonModule,
|
|
1809
|
-
DevExtremeModule,
|
|
1810
|
-
DxButtonModule,
|
|
1811
|
-
DxCheckBoxModule,
|
|
1812
|
-
DxNumberBoxModule,
|
|
1813
|
-
DxDataGridModule,
|
|
1814
|
-
DxDropDownBoxModule,
|
|
1815
|
-
DxTreeViewModule,
|
|
1816
|
-
DxScrollViewModule,
|
|
1817
|
-
DxFormModule,
|
|
1818
|
-
DxAccordionModule,
|
|
1819
|
-
FormsModule,
|
|
1820
|
-
DxTagBoxModule,
|
|
1821
|
-
ReactiveFormsModule,
|
|
1822
|
-
MatIconModule,
|
|
1823
|
-
DxHtmlEditorModule,
|
|
1824
|
-
DxBulletModule,
|
|
1825
|
-
DxChartModule,
|
|
1826
|
-
DxDateBoxModule,
|
|
1827
|
-
DxLoadPanelModule,
|
|
1828
|
-
DxLookupModule,
|
|
1829
|
-
DxPivotGridModule,
|
|
1830
|
-
DxTemplateModule,
|
|
1831
|
-
DxTextAreaModule,
|
|
1832
|
-
DxValidationSummaryModule,
|
|
1833
|
-
DxValidatorModule,
|
|
1834
|
-
DxCalendarModule,
|
|
1835
|
-
DxTooltipModule,
|
|
1836
|
-
DxContextMenuModule,
|
|
1837
|
-
DxLoadIndicatorModule,
|
|
1838
|
-
DxPieChartModule,
|
|
1839
|
-
MatTooltipModule,
|
|
1840
|
-
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
1841
|
-
MatButtonModule,
|
|
1842
|
-
MatDividerModule,
|
|
1843
|
-
MatMenuModule,
|
|
1844
|
-
MatIconModule,
|
|
1845
|
-
LoadingModule$1], exports: [RouterModule,
|
|
1846
|
-
GammaAppControllerComponent,
|
|
1847
|
-
IconsModule,
|
|
1848
|
-
ExceptionOperationComponent] });
|
|
1849
|
-
GammaAppControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, imports: [IconsModule,
|
|
1850
|
-
RouterModule.forChild(routes),
|
|
1851
|
-
CommonModule,
|
|
1852
|
-
DevExtremeModule,
|
|
1853
|
-
DxButtonModule,
|
|
1854
|
-
DxCheckBoxModule,
|
|
1855
|
-
DxNumberBoxModule,
|
|
1856
|
-
DxDataGridModule,
|
|
1857
|
-
DxDropDownBoxModule,
|
|
1858
|
-
DxTreeViewModule,
|
|
1859
|
-
DxScrollViewModule,
|
|
1860
|
-
DxFormModule,
|
|
1861
|
-
DxAccordionModule,
|
|
1862
|
-
FormsModule,
|
|
1863
|
-
DxTagBoxModule,
|
|
1864
|
-
ReactiveFormsModule,
|
|
1865
|
-
MatIconModule,
|
|
1866
|
-
DxHtmlEditorModule,
|
|
1867
|
-
DxBulletModule,
|
|
1868
|
-
DxChartModule,
|
|
1869
|
-
DxDateBoxModule,
|
|
1870
|
-
DxLoadPanelModule,
|
|
1871
|
-
DxLookupModule,
|
|
1872
|
-
DxPivotGridModule,
|
|
1873
|
-
DxTemplateModule,
|
|
1874
|
-
DxTextAreaModule,
|
|
1875
|
-
DxValidationSummaryModule,
|
|
1876
|
-
DxValidatorModule,
|
|
1877
|
-
DxCalendarModule,
|
|
1878
|
-
DxTooltipModule,
|
|
1879
|
-
DxContextMenuModule,
|
|
1880
|
-
DxLoadIndicatorModule,
|
|
1881
|
-
DxPieChartModule,
|
|
1882
|
-
MatTooltipModule,
|
|
1883
|
-
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
1884
|
-
MatButtonModule,
|
|
1885
|
-
MatDividerModule,
|
|
1886
|
-
MatMenuModule,
|
|
1887
|
-
MatIconModule,
|
|
1888
|
-
LoadingModule$1, RouterModule,
|
|
1889
|
-
IconsModule] });
|
|
1890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, decorators: [{
|
|
1891
|
-
type: NgModule,
|
|
1892
|
-
args: [{
|
|
1893
|
-
declarations: [
|
|
1894
|
-
GammaAppControllerComponent,
|
|
1895
|
-
ExceptionOperationComponent
|
|
1896
|
-
],
|
|
1897
|
-
imports: [
|
|
1898
|
-
IconsModule,
|
|
1899
|
-
RouterModule.forChild(routes),
|
|
1900
|
-
CommonModule,
|
|
1901
|
-
DevExtremeModule,
|
|
1902
|
-
DxButtonModule,
|
|
1903
|
-
DxCheckBoxModule,
|
|
1904
|
-
DxNumberBoxModule,
|
|
1905
|
-
DxDataGridModule,
|
|
1906
|
-
DxDropDownBoxModule,
|
|
1907
|
-
DxTreeViewModule,
|
|
1908
|
-
DxScrollViewModule,
|
|
1909
|
-
DxFormModule,
|
|
1910
|
-
DxAccordionModule,
|
|
1911
|
-
FormsModule,
|
|
1912
|
-
DxTagBoxModule,
|
|
1913
|
-
ReactiveFormsModule,
|
|
1914
|
-
MatIconModule,
|
|
1915
|
-
DxHtmlEditorModule,
|
|
1916
|
-
DxBulletModule,
|
|
1917
|
-
DxChartModule,
|
|
1918
|
-
DxDateBoxModule,
|
|
1919
|
-
DxLoadPanelModule,
|
|
1920
|
-
DxLookupModule,
|
|
1921
|
-
DxPivotGridModule,
|
|
1922
|
-
DxTemplateModule,
|
|
1923
|
-
DxTextAreaModule,
|
|
1924
|
-
DxValidationSummaryModule,
|
|
1925
|
-
DxValidatorModule,
|
|
1926
|
-
DxCalendarModule,
|
|
1927
|
-
DxTooltipModule,
|
|
1928
|
-
DxContextMenuModule,
|
|
1929
|
-
DxLoadIndicatorModule,
|
|
1930
|
-
DxPieChartModule,
|
|
1931
|
-
MatTooltipModule,
|
|
1932
|
-
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
1933
|
-
MatButtonModule,
|
|
1934
|
-
MatDividerModule,
|
|
1935
|
-
MatMenuModule,
|
|
1936
|
-
MatIconModule,
|
|
1937
|
-
LoadingModule$1
|
|
1938
|
-
],
|
|
1939
|
-
exports: [
|
|
1940
|
-
RouterModule,
|
|
1941
|
-
GammaAppControllerComponent,
|
|
1942
|
-
IconsModule,
|
|
1943
|
-
ExceptionOperationComponent
|
|
1944
|
-
]
|
|
1945
|
-
}]
|
|
1946
|
-
}] });
|
|
1947
|
-
|
|
1948
|
-
class ApplicationContentService extends AppHttpService {
|
|
1949
|
-
constructor(httpClient, environment) {
|
|
1950
|
-
super(httpClient);
|
|
1951
|
-
this.httpClient = httpClient;
|
|
1952
|
-
this.environment = environment;
|
|
1953
|
-
this.kpiFilter = new BehaviorSubject([]);
|
|
1954
|
-
this.userkpiFilter$ = this.kpiFilter.asObservable();
|
|
1955
|
-
this.datasets = new BehaviorSubject([]);
|
|
1956
|
-
this.updateDatssets$ = this.datasets.asObservable();
|
|
1957
|
-
}
|
|
1958
|
-
getFilterForKpi(pins) {
|
|
1959
|
-
this.kpiFilter.next(pins);
|
|
1960
|
-
}
|
|
1961
|
-
getCurrentKpiFilterValue() {
|
|
1962
|
-
return this.kpiFilter.getValue();
|
|
1963
|
-
}
|
|
1964
|
-
setCurrentDatasetValue(data) {
|
|
1965
|
-
return this.datasets.next(data);
|
|
1966
|
-
}
|
|
1967
|
-
getDataSet() {
|
|
1968
|
-
const apiUrl = '/assets/api-data/data-set.json';
|
|
1969
|
-
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1970
|
-
return response;
|
|
1971
|
-
}), catchError(this.handleError));
|
|
1972
|
-
}
|
|
1973
|
-
getComponentDataConfigSet() {
|
|
1974
|
-
const apiUrl = '/assets/api-data/component_config.json';
|
|
1975
|
-
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1976
|
-
return response;
|
|
1977
|
-
}), catchError(this.handleError));
|
|
1678
|
+
loadtableName() {
|
|
1679
|
+
const appUrl = this.environment.appUrl + this.environment.apiVersion + '/search/getSearchDatasourceDetails';
|
|
1680
|
+
return this.http.get(appUrl);
|
|
1978
1681
|
}
|
|
1979
|
-
|
|
1980
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/listColumnEnrichmentFunctions';
|
|
1682
|
+
getSearchResultForDatasource(body) {
|
|
1981
1683
|
return this.http
|
|
1982
|
-
.post(
|
|
1684
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/search/getSearchResultForDatasource', JSON.stringify(body), this.options)
|
|
1983
1685
|
.pipe(map((response) => {
|
|
1984
1686
|
return response;
|
|
1985
1687
|
}), catchError(this.handleError));
|
|
1986
1688
|
}
|
|
1987
|
-
|
|
1988
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/validateAggregatePaginatedQuery';
|
|
1689
|
+
ajaxSelfPrevActivityLogs() {
|
|
1989
1690
|
return this.http
|
|
1990
|
-
.
|
|
1691
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getUserCdrBrowserActivityLogs?activityCount=50')
|
|
1991
1692
|
.pipe(map((response) => {
|
|
1992
1693
|
return response;
|
|
1993
1694
|
}), catchError(this.handleError));
|
|
1994
1695
|
}
|
|
1995
|
-
|
|
1996
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getKpiBrowserConfigById?id=' + id;
|
|
1696
|
+
getCdrBrowserActivityLogs(startDate, endDate) {
|
|
1997
1697
|
return this.http
|
|
1998
|
-
.get(
|
|
1698
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getCdrBrowserActivityLogs?startDate=' + startDate + '&endDate=' + endDate)
|
|
1999
1699
|
.pipe(map((response) => {
|
|
2000
1700
|
return response;
|
|
2001
1701
|
}), catchError(this.handleError));
|
|
2002
1702
|
}
|
|
2003
|
-
|
|
1703
|
+
getAvailableTables() {
|
|
2004
1704
|
return this.http
|
|
2005
|
-
.
|
|
1705
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getAvailableTables', { withCredentials: true })
|
|
2006
1706
|
.pipe(map((response) => {
|
|
2007
1707
|
return response;
|
|
2008
1708
|
}), catchError(this.handleError));
|
|
2009
1709
|
}
|
|
2010
|
-
|
|
1710
|
+
getTableMetadata(tableName) {
|
|
2011
1711
|
return this.http
|
|
2012
|
-
.
|
|
1712
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getTableMetadata?tableName=' + tableName, { withCredentials: true })
|
|
2013
1713
|
.pipe(map((response) => {
|
|
2014
1714
|
return response;
|
|
2015
1715
|
}), catchError(this.handleError));
|
|
2016
1716
|
}
|
|
2017
|
-
|
|
1717
|
+
getCdrBrowserOperations() {
|
|
2018
1718
|
return this.http
|
|
2019
|
-
.get(this.environment.appUrl + this.environment.apiVersion +
|
|
1719
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getCdrBrowserOperations', { withCredentials: true })
|
|
2020
1720
|
.pipe(map((response) => {
|
|
2021
1721
|
return response;
|
|
2022
1722
|
}), catchError(this.handleError));
|
|
2023
1723
|
}
|
|
2024
|
-
|
|
1724
|
+
getSearchDatasourceDetails() {
|
|
2025
1725
|
return this.http
|
|
2026
|
-
.get(this.environment.appUrl + this.environment.apiVersion +
|
|
1726
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getSearchDatasourceDetails', { withCredentials: true })
|
|
2027
1727
|
.pipe(map((response) => {
|
|
2028
1728
|
return response;
|
|
2029
1729
|
}), catchError(this.handleError));
|
|
2030
1730
|
}
|
|
2031
|
-
|
|
1731
|
+
saveDatasourceConfig(body) {
|
|
2032
1732
|
return this.http
|
|
2033
|
-
.post(this.environment.appUrl + this.environment.apiVersion +
|
|
1733
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/search/saveDatasourceConfig', JSON.stringify(body), this.options)
|
|
2034
1734
|
.pipe(map((response) => {
|
|
2035
1735
|
return response;
|
|
2036
1736
|
}), catchError(this.handleError));
|
|
2037
1737
|
}
|
|
2038
|
-
|
|
1738
|
+
editDatasourceConfig(body) {
|
|
2039
1739
|
return this.http
|
|
2040
|
-
.post(this.environment.appUrl + this.environment.apiVersion + '/
|
|
1740
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/search/editDatasourceConfig', JSON.stringify(body), this.options)
|
|
2041
1741
|
.pipe(map((response) => {
|
|
2042
1742
|
return response;
|
|
2043
1743
|
}), catchError(this.handleError));
|
|
2044
1744
|
}
|
|
2045
|
-
|
|
1745
|
+
deleteDatasourceConfig(tableName) {
|
|
2046
1746
|
return this.http
|
|
2047
|
-
.
|
|
1747
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/search/deleteDatasourceConfig/' + tableName, this.options)
|
|
2048
1748
|
.pipe(map((response) => {
|
|
2049
1749
|
return response;
|
|
2050
1750
|
}), catchError(this.handleError));
|
|
2051
1751
|
}
|
|
2052
|
-
|
|
2053
|
-
return this.http
|
|
2054
|
-
.
|
|
1752
|
+
getKpiConfigaration() {
|
|
1753
|
+
return (this.http
|
|
1754
|
+
.get(this.environment.gatewayUrl + this.environment.appName + 'assets/api-data/kpi-config.json', {
|
|
1755
|
+
withCredentials: true,
|
|
1756
|
+
})
|
|
2055
1757
|
.pipe(map((response) => {
|
|
2056
1758
|
return response;
|
|
2057
|
-
}), catchError(this.handleError));
|
|
1759
|
+
}), catchError(this.handleError)));
|
|
2058
1760
|
}
|
|
2059
|
-
|
|
2060
|
-
const apiUrl = this.environment.
|
|
2061
|
-
return this.http
|
|
2062
|
-
.get(apiUrl, { withCredentials: true })
|
|
2063
|
-
.pipe(map((response) => {
|
|
1761
|
+
getlistKpiBrowserTwo() {
|
|
1762
|
+
const apiUrl = this.environment.gatewayUrl + this.environment.appName + '/assets/api-data/dashboard.json';
|
|
1763
|
+
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
2064
1764
|
return response;
|
|
2065
1765
|
}), catchError(this.handleError));
|
|
2066
1766
|
}
|
|
2067
|
-
|
|
2068
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
|
|
1767
|
+
getfilterData() {
|
|
2069
1768
|
return this.http
|
|
2070
|
-
.get(
|
|
1769
|
+
.get("/assets/api-data/filter-direction.json")
|
|
2071
1770
|
.pipe(map((response) => {
|
|
2072
1771
|
return response;
|
|
2073
1772
|
}), catchError(this.handleError));
|
|
2074
1773
|
}
|
|
2075
|
-
|
|
1774
|
+
genericDetailDataResponse(body) {
|
|
2076
1775
|
return this.http
|
|
2077
|
-
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi
|
|
1776
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi/genericDetailDataResponse', JSON.stringify(body), this.options)
|
|
2078
1777
|
.pipe(map((response) => {
|
|
2079
1778
|
return response;
|
|
2080
1779
|
}), catchError(this.handleError));
|
|
2081
1780
|
}
|
|
2082
|
-
|
|
1781
|
+
getUniqueData(api) {
|
|
2083
1782
|
return this.http
|
|
2084
|
-
.
|
|
1783
|
+
.get(this.environment.appUrl + this.environment.apiVersion + api, { withCredentials: true })
|
|
2085
1784
|
.pipe(map((response) => {
|
|
2086
1785
|
return response;
|
|
2087
1786
|
}), catchError(this.handleError));
|
|
2088
1787
|
}
|
|
2089
|
-
|
|
2090
|
-
const apiUrl = this.environment.appUrl +
|
|
1788
|
+
getFilterDataByDrillDown(apiName) {
|
|
1789
|
+
const apiUrl = this.environment.appUrl + apiName;
|
|
2091
1790
|
return this.http
|
|
2092
1791
|
.get(apiUrl, { withCredentials: true })
|
|
2093
1792
|
.pipe(map((response) => {
|
|
2094
1793
|
return response;
|
|
2095
1794
|
}), catchError(this.handleError));
|
|
2096
1795
|
}
|
|
2097
|
-
|
|
2098
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfig?viewId=' + viewId;
|
|
1796
|
+
getDataByAPI(requestID, body) {
|
|
2099
1797
|
return this.http
|
|
2100
|
-
.
|
|
1798
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
2101
1799
|
.pipe(map((response) => {
|
|
2102
1800
|
return response;
|
|
2103
1801
|
}), catchError(this.handleError));
|
|
2104
1802
|
}
|
|
2105
|
-
|
|
1803
|
+
getCdrData(api, url) {
|
|
2106
1804
|
return this.http
|
|
2107
|
-
.
|
|
1805
|
+
.get(this.environment.appUrl + this.environment.apiVersion + api + '?' + url)
|
|
2108
1806
|
.pipe(map((response) => {
|
|
2109
1807
|
return response;
|
|
2110
1808
|
}), catchError(this.handleError));
|
|
2111
1809
|
}
|
|
2112
|
-
|
|
1810
|
+
getSrvTypeDataSource() {
|
|
1811
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/srv-params';
|
|
2113
1812
|
return this.http
|
|
2114
|
-
.
|
|
1813
|
+
.get(apiUrl, { withCredentials: true })
|
|
2115
1814
|
.pipe(map((response) => {
|
|
2116
1815
|
return response;
|
|
2117
1816
|
}), catchError(this.handleError));
|
|
2118
1817
|
}
|
|
2119
|
-
|
|
1818
|
+
pagintedActivityLogs(parms, api) {
|
|
1819
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + api;
|
|
2120
1820
|
return this.http
|
|
2121
|
-
.post(
|
|
1821
|
+
.post(apiUrl, JSON.stringify(parms), this.options)
|
|
2122
1822
|
.pipe(map((response) => {
|
|
2123
1823
|
return response;
|
|
2124
1824
|
}), catchError(this.handleError));
|
|
2125
1825
|
}
|
|
2126
|
-
|
|
2127
|
-
const apiUrl =
|
|
1826
|
+
getApiData() {
|
|
1827
|
+
const apiUrl = '/assets/api-data/api-service.json';
|
|
2128
1828
|
return this.http
|
|
2129
1829
|
.get(apiUrl, { withCredentials: true })
|
|
2130
1830
|
.pipe(map((response) => {
|
|
2131
1831
|
return response;
|
|
2132
1832
|
}), catchError(this.handleError));
|
|
2133
1833
|
}
|
|
2134
|
-
|
|
1834
|
+
configureAppMenuConfig(manueConfig) {
|
|
1835
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/configureAppMenuConfig';
|
|
2135
1836
|
return this.http
|
|
2136
|
-
.
|
|
1837
|
+
.post(apiUrl, JSON.stringify(manueConfig), this.options)
|
|
2137
1838
|
.pipe(map((response) => {
|
|
2138
1839
|
return response;
|
|
2139
1840
|
}), catchError(this.handleError));
|
|
2140
1841
|
}
|
|
2141
|
-
|
|
2142
|
-
const apiUrl = '/
|
|
1842
|
+
getListOfParentAppMenu() {
|
|
1843
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getListOfParentAppMenu';
|
|
2143
1844
|
return this.http
|
|
2144
1845
|
.get(apiUrl, { withCredentials: true })
|
|
2145
1846
|
.pipe(map((response) => {
|
|
2146
1847
|
return response;
|
|
2147
1848
|
}), catchError(this.handleError));
|
|
2148
1849
|
}
|
|
2149
|
-
|
|
2150
|
-
const apiUrl = '/
|
|
2151
|
-
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
2152
|
-
return response;
|
|
2153
|
-
}), catchError(this.handleError));
|
|
2154
|
-
}
|
|
2155
|
-
getAppPageConfigs() {
|
|
2156
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
|
|
1850
|
+
getAppAppMenuConfigById(manuid) {
|
|
1851
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppAppMenuConfigById?menuId=' + manuid;
|
|
2157
1852
|
return this.http
|
|
2158
1853
|
.get(apiUrl, { withCredentials: true })
|
|
2159
1854
|
.pipe(map((response) => {
|
|
2160
1855
|
return response;
|
|
2161
1856
|
}), catchError(this.handleError));
|
|
2162
1857
|
}
|
|
2163
|
-
|
|
1858
|
+
updateAppMenuConfig(manueConfig) {
|
|
1859
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/updateAppMenuConfig';
|
|
2164
1860
|
return this.http
|
|
2165
|
-
.post(
|
|
1861
|
+
.post(apiUrl, JSON.stringify(manueConfig), this.options)
|
|
2166
1862
|
.pipe(map((response) => {
|
|
2167
1863
|
return response;
|
|
2168
1864
|
}), catchError(this.handleError));
|
|
2169
1865
|
}
|
|
2170
|
-
|
|
1866
|
+
deleteAppMenuConfig(menuId) {
|
|
2171
1867
|
return this.http
|
|
2172
|
-
.
|
|
1868
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppMenuConfig/' + menuId, this.options)
|
|
2173
1869
|
.pipe(map((response) => {
|
|
2174
1870
|
return response;
|
|
2175
1871
|
}), catchError(this.handleError));
|
|
2176
1872
|
}
|
|
2177
|
-
|
|
1873
|
+
listMetricConfigs() {
|
|
1874
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/settings/metrics/listMetricConfigs';
|
|
2178
1875
|
return this.http
|
|
2179
|
-
.
|
|
1876
|
+
.get(apiUrl, { withCredentials: true })
|
|
2180
1877
|
.pipe(map((response) => {
|
|
2181
1878
|
return response;
|
|
2182
1879
|
}), catchError(this.handleError));
|
|
2183
1880
|
}
|
|
2184
|
-
|
|
1881
|
+
deleteMetricConfig(metricId) {
|
|
2185
1882
|
return this.http
|
|
2186
|
-
.
|
|
1883
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/settings/metrics/deleteMetricConfig/' + metricId, this.options)
|
|
2187
1884
|
.pipe(map((response) => {
|
|
2188
1885
|
return response;
|
|
2189
1886
|
}), catchError(this.handleError));
|
|
2190
1887
|
}
|
|
2191
|
-
|
|
1888
|
+
saveOnlineMetricConfig(metricConfig) {
|
|
1889
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/settings/metrics/saveOnlineMetricConfig';
|
|
2192
1890
|
return this.http
|
|
2193
|
-
.post(
|
|
1891
|
+
.post(apiUrl, JSON.stringify(metricConfig), this.options)
|
|
2194
1892
|
.pipe(map((response) => {
|
|
2195
1893
|
return response;
|
|
2196
1894
|
}), catchError(this.handleError));
|
|
2197
1895
|
}
|
|
2198
|
-
|
|
1896
|
+
editOfflineMetricConfig(metricConfig) {
|
|
1897
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/settings/metrics/editOfflineMetricConfig';
|
|
2199
1898
|
return this.http
|
|
2200
|
-
.
|
|
1899
|
+
.post(apiUrl, JSON.stringify(metricConfig), this.options)
|
|
2201
1900
|
.pipe(map((response) => {
|
|
2202
1901
|
return response;
|
|
2203
1902
|
}), catchError(this.handleError));
|
|
2204
1903
|
}
|
|
2205
|
-
|
|
1904
|
+
saveFileSequenceAnalyzerGroup(body) {
|
|
2206
1905
|
return this.http
|
|
2207
|
-
.
|
|
1906
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/settings/operations/saveFileSequenceAnalyzerGroup', JSON.stringify(body), this.options)
|
|
2208
1907
|
.pipe(map((response) => {
|
|
2209
1908
|
return response;
|
|
2210
1909
|
}), catchError(this.handleError));
|
|
2211
1910
|
}
|
|
2212
|
-
|
|
1911
|
+
editFileSequenceAnalyzerGroup(body) {
|
|
2213
1912
|
return this.http
|
|
2214
|
-
.
|
|
1913
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/settings/operations/editFileSequenceAnalyzerGroup', JSON.stringify(body), this.options)
|
|
2215
1914
|
.pipe(map((response) => {
|
|
2216
1915
|
return response;
|
|
2217
1916
|
}), catchError(this.handleError));
|
|
2218
1917
|
}
|
|
2219
|
-
|
|
2220
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/
|
|
1918
|
+
getAppSqlFunctionList() {
|
|
1919
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/app-setting/getAppSqlFunctionList';
|
|
2221
1920
|
return this.http
|
|
2222
1921
|
.get(apiUrl, { withCredentials: true })
|
|
2223
1922
|
.pipe(map((response) => {
|
|
2224
1923
|
return response;
|
|
2225
1924
|
}), catchError(this.handleError));
|
|
2226
1925
|
}
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi/loadKpiBrowser', { withCredentials: true })
|
|
2230
|
-
.pipe(map((response) => {
|
|
2231
|
-
return response;
|
|
2232
|
-
}), catchError(this.handleError));
|
|
2233
|
-
}
|
|
2234
|
-
getlistKpiBrowser() {
|
|
2235
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
|
|
1926
|
+
listFileSequenceAnalyzerGroups() {
|
|
1927
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/settings/operations/listFileSequenceAnalyzerGroups';
|
|
2236
1928
|
return this.http
|
|
2237
1929
|
.get(apiUrl, { withCredentials: true })
|
|
2238
1930
|
.pipe(map((response) => {
|
|
2239
1931
|
return response;
|
|
2240
1932
|
}), catchError(this.handleError));
|
|
2241
1933
|
}
|
|
2242
|
-
|
|
1934
|
+
deleteFileSequenceAnalyzerGroup(configid) {
|
|
2243
1935
|
return this.http
|
|
2244
|
-
.
|
|
1936
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + "/settings/operations/deleteFileSequenceAnalyzerGroup/" + configid, { withCredentials: true })
|
|
2245
1937
|
.pipe(map((response) => {
|
|
2246
1938
|
return response;
|
|
2247
1939
|
}), catchError(this.handleError));
|
|
2248
1940
|
}
|
|
2249
|
-
|
|
2250
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/bookmarkResource';
|
|
1941
|
+
activateFileSequenceAnalyzerGroup(configid) {
|
|
2251
1942
|
return this.http
|
|
2252
|
-
.
|
|
1943
|
+
.get(this.environment.appUrl + this.environment.apiVersion + "/settings/operations/activateFileSequenceAnalyzerGroup?configId=" + configid, { withCredentials: true })
|
|
2253
1944
|
.pipe(map((response) => {
|
|
2254
1945
|
return response;
|
|
2255
1946
|
}), catchError(this.handleError));
|
|
2256
1947
|
}
|
|
2257
|
-
|
|
1948
|
+
deactivateFileSequenceAnalyzerGroup(configid) {
|
|
2258
1949
|
return this.http
|
|
2259
|
-
.
|
|
1950
|
+
.get(this.environment.appUrl + this.environment.apiVersion + "/settings/operations/deactivateFileSequenceAnalyzerGroup?configId=" + configid, { withCredentials: true })
|
|
2260
1951
|
.pipe(map((response) => {
|
|
2261
1952
|
return response;
|
|
2262
1953
|
}), catchError(this.handleError));
|
|
2263
1954
|
}
|
|
2264
|
-
|
|
1955
|
+
updateFileSequenceAnalyzerJobs() {
|
|
2265
1956
|
return this.http
|
|
2266
|
-
.
|
|
1957
|
+
.get(this.environment.appUrl + this.environment.apiVersion + "/settings/operations/updateFileSequenceAnalyzerJobs", { withCredentials: true })
|
|
2267
1958
|
.pipe(map((response) => {
|
|
2268
1959
|
return response;
|
|
2269
1960
|
}), catchError(this.handleError));
|
|
2270
1961
|
}
|
|
2271
|
-
|
|
2272
|
-
const headers = new HttpHeaders({
|
|
2273
|
-
'enctype': 'multipart/form-data',
|
|
2274
|
-
});
|
|
2275
|
-
const options = { headers: headers, withCredentials: true };
|
|
1962
|
+
getAppDatasource() {
|
|
2276
1963
|
return this.http
|
|
2277
|
-
.
|
|
1964
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/operations/getAppDatasource')
|
|
2278
1965
|
.pipe(map((response) => {
|
|
2279
1966
|
return response;
|
|
2280
1967
|
}), catchError(this.handleError));
|
|
2281
1968
|
}
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
1969
|
+
}
|
|
1970
|
+
ApplicationContentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationContentService, deps: [{ token: i1$1.HttpClient }, { token: APP_ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1971
|
+
ApplicationContentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationContentService, providedIn: "root" });
|
|
1972
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationContentService, decorators: [{
|
|
1973
|
+
type: Injectable,
|
|
1974
|
+
args: [{
|
|
1975
|
+
providedIn: "root"
|
|
1976
|
+
}]
|
|
1977
|
+
}], ctorParameters: function () { return [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
1978
|
+
type: Inject,
|
|
1979
|
+
args: [APP_ENVIRONMENT]
|
|
1980
|
+
}] }]; } });
|
|
1981
|
+
|
|
1982
|
+
class LoadingComponent$1 {
|
|
1983
|
+
constructor() {
|
|
1984
|
+
this.showLoadingModal = true;
|
|
2288
1985
|
}
|
|
2289
|
-
|
|
2290
|
-
return this.http
|
|
2291
|
-
.get(this.environment.appUrl + this.environment.apiVersion + '/jobs/getGroupDetails', { withCredentials: true })
|
|
2292
|
-
.pipe(map((response) => {
|
|
2293
|
-
return response;
|
|
2294
|
-
}), catchError(this.handleError));
|
|
1986
|
+
ngOnInit() {
|
|
2295
1987
|
}
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
1988
|
+
}
|
|
1989
|
+
LoadingComponent$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingComponent$1, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1990
|
+
LoadingComponent$1.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: LoadingComponent$1, selector: "app-loading", ngImport: i0, template: "<!-- <div class=\"modal\" id=\"loading-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\" style=\"display: none;\">\n <div class=\"modal-dialog\" role=\"document\" style=\"max-width: 600px;margin: 8.75rem auto;\">\n <div class=\"modal-content\">\n <div class=\"modal-body\" style=\"padding: 20px;\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button> Loading. Please Wait...\n <div class=\"progress\" style=\"height: 25px\">\n <div class=\"progress-bar progress-bar-striped progress-bar-animated bg-info\" role=\"progressbar\" style=\"width: 100%\" aria-valuenow=\"50\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>\n </div>\n </div>\n </div>\n </div>\n</div> -->\n<!-- <div class=\"loader-background \">\n <div class=\"loader\"></div>\n</div> -->\n<div class=\"popup\">\n <div class=\"popup__content\">\n <div class=\"loader\"></div>\n </div>\n</div>", styles: [".popup{height:100%;width:100%;position:fixed;top:0;left:0;background-color:#33333386;z-index:999}.popup__content{display:grid;place-items:center;position:relative;height:30rem;width:75%;top:50%;left:50%;transform:translate(-50%,-50%)}.loader{border:16px solid #f3f3f3;border-top:16px solid #ccc;border-radius:100%;width:120px;height:120px;animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] });
|
|
1991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingComponent$1, decorators: [{
|
|
1992
|
+
type: Component,
|
|
1993
|
+
args: [{ selector: 'app-loading', template: "<!-- <div class=\"modal\" id=\"loading-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\" style=\"display: none;\">\n <div class=\"modal-dialog\" role=\"document\" style=\"max-width: 600px;margin: 8.75rem auto;\">\n <div class=\"modal-content\">\n <div class=\"modal-body\" style=\"padding: 20px;\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button> Loading. Please Wait...\n <div class=\"progress\" style=\"height: 25px\">\n <div class=\"progress-bar progress-bar-striped progress-bar-animated bg-info\" role=\"progressbar\" style=\"width: 100%\" aria-valuenow=\"50\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>\n </div>\n </div>\n </div>\n </div>\n</div> -->\n<!-- <div class=\"loader-background \">\n <div class=\"loader\"></div>\n</div> -->\n<div class=\"popup\">\n <div class=\"popup__content\">\n <div class=\"loader\"></div>\n </div>\n</div>", styles: [".popup{height:100%;width:100%;position:fixed;top:0;left:0;background-color:#33333386;z-index:999}.popup__content{display:grid;place-items:center;position:relative;height:30rem;width:75%;top:50%;left:50%;transform:translate(-50%,-50%)}.loader{border:16px solid #f3f3f3;border-top:16px solid #ccc;border-radius:100%;width:120px;height:120px;animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
1994
|
+
}], ctorParameters: function () { return []; } });
|
|
1995
|
+
|
|
1996
|
+
class ExceptionOperationComponent {
|
|
1997
|
+
constructor(commonService, service, toastr) {
|
|
1998
|
+
this.commonService = commonService;
|
|
1999
|
+
this.service = service;
|
|
2000
|
+
this.toastr = toastr;
|
|
2001
|
+
this.contentType = "create";
|
|
2002
|
+
this.exceptionMainObject = {
|
|
2003
|
+
configId: "",
|
|
2004
|
+
configName: "",
|
|
2005
|
+
datasource: "",
|
|
2006
|
+
active: false,
|
|
2007
|
+
analyzerType: "",
|
|
2008
|
+
dbConfig: "",
|
|
2009
|
+
tableName: "",
|
|
2010
|
+
dataSelectionType: "",
|
|
2011
|
+
fileNameAttributeName: "",
|
|
2012
|
+
filterList: [{
|
|
2013
|
+
"columnName": "",
|
|
2014
|
+
"dataType": "",
|
|
2015
|
+
"operator": "",
|
|
2016
|
+
"windowFunctionName": "",
|
|
2017
|
+
"value": "",
|
|
2018
|
+
"dateFormat": "",
|
|
2019
|
+
}],
|
|
2020
|
+
patternList: [
|
|
2021
|
+
{
|
|
2022
|
+
"regex": "",
|
|
2023
|
+
"sample": "?_??_?",
|
|
2024
|
+
"fileAttributes": [],
|
|
2025
|
+
"analyzerKeys": [],
|
|
2026
|
+
"sequenceKey": "",
|
|
2027
|
+
"dynamicArgs": {}
|
|
2028
|
+
}
|
|
2029
|
+
]
|
|
2030
|
+
};
|
|
2031
|
+
this.analyzer_type = [{ key: "numeric_sequence", name: "Numeric Sequence" }, { key: "date_sequence", name: "Date Sequence" }];
|
|
2032
|
+
this.isLoader = true;
|
|
2299
2033
|
}
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
.
|
|
2304
|
-
|
|
2305
|
-
|
|
2034
|
+
ngOnInit() {
|
|
2035
|
+
this.getExceptionDataCongigs();
|
|
2036
|
+
this.service.getAppSqlFunctionList().subscribe(data => {
|
|
2037
|
+
this.functionNameContainer = data;
|
|
2038
|
+
});
|
|
2039
|
+
this.service.getCdrBrowserOperations().subscribe(data => {
|
|
2040
|
+
this.operator_list = data;
|
|
2041
|
+
});
|
|
2042
|
+
this.service.getAppDatasource().subscribe(data => {
|
|
2043
|
+
this.datasourcelist = (data['datasource']) ? data['datasource'] : data;
|
|
2044
|
+
});
|
|
2306
2045
|
}
|
|
2307
|
-
|
|
2308
|
-
return
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2046
|
+
getExceptionDataCongigs() {
|
|
2047
|
+
return new Promise((resolve) => {
|
|
2048
|
+
this.service.listFileSequenceAnalyzerGroups().subscribe((data) => {
|
|
2049
|
+
this.allExceptionConfigDataSource = data;
|
|
2050
|
+
this.isLoader = false;
|
|
2051
|
+
resolve();
|
|
2052
|
+
});
|
|
2053
|
+
});
|
|
2313
2054
|
}
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
return response;
|
|
2319
|
-
}), catchError(this.handleError));
|
|
2055
|
+
editExceptionConfigConfig(data) {
|
|
2056
|
+
this.contentType = "edit";
|
|
2057
|
+
this.isExceptionConfigCreation = true;
|
|
2058
|
+
this.exceptionMainObject = data;
|
|
2320
2059
|
}
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2060
|
+
createExceptionConfig() {
|
|
2061
|
+
this.isExceptionConfigCreation = true;
|
|
2062
|
+
this.exceptionMainObject = {
|
|
2063
|
+
configId: "",
|
|
2064
|
+
configName: "",
|
|
2065
|
+
datasource: "",
|
|
2066
|
+
active: true,
|
|
2067
|
+
analyzerType: "",
|
|
2068
|
+
dbConfig: "",
|
|
2069
|
+
tableName: "",
|
|
2070
|
+
dataSelectionType: "",
|
|
2071
|
+
fileNameAttributeName: "",
|
|
2072
|
+
filterList: [{
|
|
2073
|
+
"columnName": "",
|
|
2074
|
+
"dataType": "",
|
|
2075
|
+
"operator": "",
|
|
2076
|
+
"windowFunctionName": "",
|
|
2077
|
+
"dateFormat": "",
|
|
2078
|
+
"value": ""
|
|
2079
|
+
}],
|
|
2080
|
+
patternList: [
|
|
2081
|
+
{
|
|
2082
|
+
"regex": "",
|
|
2083
|
+
"sample": "",
|
|
2084
|
+
"fileAttributes": [],
|
|
2085
|
+
"analyzerKeys": [],
|
|
2086
|
+
"sequenceKey": "",
|
|
2087
|
+
"dynamicArgs": {}
|
|
2088
|
+
}
|
|
2089
|
+
]
|
|
2090
|
+
};
|
|
2327
2091
|
}
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2092
|
+
getCancleExceptionCreation() {
|
|
2093
|
+
this.isExceptionConfigCreation = false;
|
|
2094
|
+
this.exceptionMainObject = {
|
|
2095
|
+
configId: "",
|
|
2096
|
+
configName: "",
|
|
2097
|
+
datasource: "",
|
|
2098
|
+
active: true,
|
|
2099
|
+
analyzerType: "",
|
|
2100
|
+
dbConfig: "",
|
|
2101
|
+
tableName: "",
|
|
2102
|
+
dataSelectionType: "",
|
|
2103
|
+
fileNameAttributeName: "",
|
|
2104
|
+
filterList: [{
|
|
2105
|
+
"columnName": "",
|
|
2106
|
+
"dataType": "",
|
|
2107
|
+
"operator": "",
|
|
2108
|
+
"windowFunctionName": "",
|
|
2109
|
+
"value": "",
|
|
2110
|
+
"dateFormat": ""
|
|
2111
|
+
}],
|
|
2112
|
+
patternList: [
|
|
2113
|
+
{
|
|
2114
|
+
"regex": "",
|
|
2115
|
+
"sample": "",
|
|
2116
|
+
"fileAttributes": [],
|
|
2117
|
+
"analyzerKeys": [],
|
|
2118
|
+
"sequenceKey": "",
|
|
2119
|
+
"dynamicArgs": {}
|
|
2120
|
+
}
|
|
2121
|
+
]
|
|
2122
|
+
};
|
|
2334
2123
|
}
|
|
2335
|
-
|
|
2336
|
-
return this.http
|
|
2337
|
-
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getCdrBrowserOperations', { withCredentials: true })
|
|
2338
|
-
.pipe(map((response) => {
|
|
2339
|
-
return response;
|
|
2340
|
-
}), catchError(this.handleError));
|
|
2124
|
+
getDataConfig(e) {
|
|
2341
2125
|
}
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2126
|
+
getProcessForConfig() {
|
|
2127
|
+
this.exceptionMainObject.filterList.push({
|
|
2128
|
+
"columnName": "",
|
|
2129
|
+
"dataType": "",
|
|
2130
|
+
"operator": "",
|
|
2131
|
+
"windowFunctionName": "",
|
|
2132
|
+
"dateFormat": "",
|
|
2133
|
+
"value": ""
|
|
2134
|
+
});
|
|
2348
2135
|
}
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
.post(this.environment.appUrl + this.environment.apiVersion + '/search/saveDatasourceConfig', JSON.stringify(body), this.options)
|
|
2352
|
-
.pipe(map((response) => {
|
|
2353
|
-
return response;
|
|
2354
|
-
}), catchError(this.handleError));
|
|
2136
|
+
deleteColume(i) {
|
|
2137
|
+
this.exceptionMainObject.filterList.splice(i, 1);
|
|
2355
2138
|
}
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
.post(this.environment.appUrl + this.environment.apiVersion + '/search/editDatasourceConfig', JSON.stringify(body), this.options)
|
|
2359
|
-
.pipe(map((response) => {
|
|
2360
|
-
return response;
|
|
2361
|
-
}), catchError(this.handleError));
|
|
2139
|
+
deleteDynamicArguments(item, key, index) {
|
|
2140
|
+
delete this.exceptionMainObject.patternList[index]['dynamicArgs'][key];
|
|
2362
2141
|
}
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
return response;
|
|
2368
|
-
}), catchError(this.handleError));
|
|
2142
|
+
addDynamicArgument(index) {
|
|
2143
|
+
let newKey = '';
|
|
2144
|
+
let newValue = '';
|
|
2145
|
+
this.exceptionMainObject.patternList[index]['dynamicArgs'][newKey] = newValue;
|
|
2369
2146
|
}
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2147
|
+
moveItemForColumns(index, direction) {
|
|
2148
|
+
if (index < 0 || index >= this.exceptionMainObject.filterList.length)
|
|
2149
|
+
return;
|
|
2150
|
+
const newPosition = direction === 'up' ? index - 1 : index + 1;
|
|
2151
|
+
if (newPosition < 0 || newPosition >= this.exceptionMainObject.filterList.length)
|
|
2152
|
+
return;
|
|
2153
|
+
const itemToMove = this.exceptionMainObject.filterList[index];
|
|
2154
|
+
this.exceptionMainObject.filterList.splice(index, 1);
|
|
2155
|
+
this.exceptionMainObject.filterList.splice(newPosition, 0, itemToMove);
|
|
2378
2156
|
}
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
.pipe(map((response) => {
|
|
2389
|
-
return response;
|
|
2390
|
-
}), catchError(this.handleError));
|
|
2391
|
-
}
|
|
2392
|
-
genericDetailDataResponse(body) {
|
|
2393
|
-
return this.http
|
|
2394
|
-
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi/genericDetailDataResponse', JSON.stringify(body), this.options)
|
|
2395
|
-
.pipe(map((response) => {
|
|
2396
|
-
return response;
|
|
2397
|
-
}), catchError(this.handleError));
|
|
2398
|
-
}
|
|
2399
|
-
getUniqueData(api) {
|
|
2400
|
-
return this.http
|
|
2401
|
-
.get(this.environment.appUrl + this.environment.apiVersion + api, { withCredentials: true })
|
|
2402
|
-
.pipe(map((response) => {
|
|
2403
|
-
return response;
|
|
2404
|
-
}), catchError(this.handleError));
|
|
2405
|
-
}
|
|
2406
|
-
getFilterDataByDrillDown(apiName) {
|
|
2407
|
-
const apiUrl = this.environment.appUrl + apiName;
|
|
2408
|
-
return this.http
|
|
2409
|
-
.get(apiUrl, { withCredentials: true })
|
|
2410
|
-
.pipe(map((response) => {
|
|
2411
|
-
return response;
|
|
2412
|
-
}), catchError(this.handleError));
|
|
2413
|
-
}
|
|
2414
|
-
getDataByAPI(requestID, body) {
|
|
2415
|
-
return this.http
|
|
2416
|
-
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
2417
|
-
.pipe(map((response) => {
|
|
2418
|
-
return response;
|
|
2419
|
-
}), catchError(this.handleError));
|
|
2420
|
-
}
|
|
2421
|
-
getCdrData(api, url) {
|
|
2422
|
-
return this.http
|
|
2423
|
-
.get(this.environment.appUrl + this.environment.apiVersion + api + '?' + url)
|
|
2424
|
-
.pipe(map((response) => {
|
|
2425
|
-
return response;
|
|
2426
|
-
}), catchError(this.handleError));
|
|
2427
|
-
}
|
|
2428
|
-
getSrvTypeDataSource() {
|
|
2429
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/srv-params';
|
|
2430
|
-
return this.http
|
|
2431
|
-
.get(apiUrl, { withCredentials: true })
|
|
2432
|
-
.pipe(map((response) => {
|
|
2433
|
-
return response;
|
|
2434
|
-
}), catchError(this.handleError));
|
|
2435
|
-
}
|
|
2436
|
-
pagintedActivityLogs(parms, api) {
|
|
2437
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + api;
|
|
2438
|
-
return this.http
|
|
2439
|
-
.post(apiUrl, JSON.stringify(parms), this.options)
|
|
2440
|
-
.pipe(map((response) => {
|
|
2441
|
-
return response;
|
|
2442
|
-
}), catchError(this.handleError));
|
|
2157
|
+
getAddPatternsConfig() {
|
|
2158
|
+
this.exceptionMainObject.patternList.push({
|
|
2159
|
+
"regex": "",
|
|
2160
|
+
"sample": "",
|
|
2161
|
+
"sequenceKey": "",
|
|
2162
|
+
"fileAttributes": [],
|
|
2163
|
+
"analyzerKeys": [],
|
|
2164
|
+
"dynamicArgs": {}
|
|
2165
|
+
});
|
|
2443
2166
|
}
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
return
|
|
2450
|
-
|
|
2167
|
+
moveItemForpatterns(index, direction) {
|
|
2168
|
+
if (index < 0 || index >= this.exceptionMainObject.patternList.length)
|
|
2169
|
+
return;
|
|
2170
|
+
const newPosition = direction === 'up' ? index - 1 : index + 1;
|
|
2171
|
+
if (newPosition < 0 || newPosition >= this.exceptionMainObject.patternList.length)
|
|
2172
|
+
return;
|
|
2173
|
+
const itemToMove = this.exceptionMainObject.patternList[index];
|
|
2174
|
+
this.exceptionMainObject.patternList.splice(index, 1);
|
|
2175
|
+
this.exceptionMainObject.patternList.splice(newPosition, 0, itemToMove);
|
|
2451
2176
|
}
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
return this.http
|
|
2455
|
-
.post(apiUrl, JSON.stringify(manueConfig), this.options)
|
|
2456
|
-
.pipe(map((response) => {
|
|
2457
|
-
return response;
|
|
2458
|
-
}), catchError(this.handleError));
|
|
2177
|
+
deletePatternsColume(i) {
|
|
2178
|
+
this.exceptionMainObject.patternList.splice(i, 1);
|
|
2459
2179
|
}
|
|
2460
|
-
|
|
2461
|
-
const
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
}
|
|
2180
|
+
onCustomFileAttributesAdd(args) {
|
|
2181
|
+
const newValue = args.text;
|
|
2182
|
+
args.customItem = newValue;
|
|
2183
|
+
const isItemInDataSource = this.exceptionMainObject.patternList['fileAttributes'].some((item) => item === newValue);
|
|
2184
|
+
if (!isItemInDataSource) {
|
|
2185
|
+
this.exceptionMainObject.patternList['fileAttributes'].unshift(newValue);
|
|
2186
|
+
}
|
|
2467
2187
|
}
|
|
2468
|
-
|
|
2469
|
-
const
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
}
|
|
2188
|
+
onCustomAnalizerKeyAdd(args) {
|
|
2189
|
+
const newValue = args.text;
|
|
2190
|
+
args.customItem = newValue;
|
|
2191
|
+
const isItemInDataSource = this.exceptionMainObject.patternList['analyzerKeys'].some((item) => item === newValue);
|
|
2192
|
+
if (!isItemInDataSource) {
|
|
2193
|
+
this.exceptionMainObject.patternList['analyzerKeys'].unshift(newValue);
|
|
2194
|
+
}
|
|
2475
2195
|
}
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2196
|
+
updateExceptionConfig() {
|
|
2197
|
+
this.loadingModal = true;
|
|
2198
|
+
this.service.editFileSequenceAnalyzerGroup(this.exceptionMainObject).subscribe({
|
|
2199
|
+
next: (data) => {
|
|
2200
|
+
this.isExceptionConfigCreation = false;
|
|
2201
|
+
this.loadingModal = false;
|
|
2202
|
+
this.isLoader = true;
|
|
2203
|
+
this.getExceptionDataCongigs();
|
|
2204
|
+
}, error: (err) => {
|
|
2205
|
+
this.loadingModal = false;
|
|
2206
|
+
this.isLoader = false;
|
|
2207
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Create Exception Config');
|
|
2208
|
+
}
|
|
2209
|
+
});
|
|
2210
|
+
console.log(this.exceptionMainObject);
|
|
2483
2211
|
}
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2212
|
+
saveExceptionConfig() {
|
|
2213
|
+
for (const element of this.exceptionMainObject.patternList) {
|
|
2214
|
+
if (!element.fileAttributes.includes(element.sequenceKey)) {
|
|
2215
|
+
this.toastr.error('Sequence Key not valid');
|
|
2216
|
+
return;
|
|
2217
|
+
}
|
|
2218
|
+
const allMatch = element.analyzerKeys.every(item => element.fileAttributes.includes(item));
|
|
2219
|
+
const allKeysMatch = Object.keys(element.dynamicArgs).every(key => element.fileAttributes.includes(key));
|
|
2220
|
+
if (!allMatch) {
|
|
2221
|
+
this.toastr.error('Analyzer Keys not valid');
|
|
2222
|
+
return;
|
|
2223
|
+
}
|
|
2224
|
+
if (!allKeysMatch) {
|
|
2225
|
+
this.toastr.error('Filler not valid');
|
|
2226
|
+
return;
|
|
2227
|
+
}
|
|
2228
|
+
const updatedObj = Object.fromEntries(Object.entries(element.dynamicArgs).map(([key, value]) => [`default_${key}_filter`, value]));
|
|
2229
|
+
element.dynamicArgs = updatedObj;
|
|
2230
|
+
}
|
|
2231
|
+
this.loadingModal = true;
|
|
2232
|
+
this.service.saveFileSequenceAnalyzerGroup(this.exceptionMainObject).subscribe({
|
|
2233
|
+
next: (data) => {
|
|
2234
|
+
this.isExceptionConfigCreation = false;
|
|
2235
|
+
this.loadingModal = false;
|
|
2236
|
+
this.isLoader = true;
|
|
2237
|
+
this.getExceptionDataCongigs();
|
|
2238
|
+
}, error: (err) => {
|
|
2239
|
+
this.loadingModal = false;
|
|
2240
|
+
this.isLoader = false;
|
|
2241
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Create Exception Config');
|
|
2242
|
+
}
|
|
2243
|
+
});
|
|
2490
2244
|
}
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2245
|
+
deleteExceptionConfig(data) {
|
|
2246
|
+
let result = confirm("<i>Are You Sure?</i>", "Delete Config");
|
|
2247
|
+
result.then((dialogResult) => {
|
|
2248
|
+
if (dialogResult) {
|
|
2249
|
+
this.loadingModal = true;
|
|
2250
|
+
this.service.deleteFileSequenceAnalyzerGroup(data.configId).subscribe({
|
|
2251
|
+
next: (data) => {
|
|
2252
|
+
const currentPageIndex = this.dataGrid?.instance.pageIndex();
|
|
2253
|
+
this.getExceptionDataCongigs().then(() => {
|
|
2254
|
+
if (currentPageIndex !== undefined) {
|
|
2255
|
+
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
2256
|
+
}
|
|
2257
|
+
this.isLoader = false;
|
|
2258
|
+
this.toastr.success(data.response);
|
|
2259
|
+
});
|
|
2260
|
+
}, error: (err) => {
|
|
2261
|
+
this.loadingModal = false;
|
|
2262
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'CDR Config Delete');
|
|
2263
|
+
}
|
|
2264
|
+
});
|
|
2265
|
+
}
|
|
2266
|
+
});
|
|
2498
2267
|
}
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2268
|
+
activatedException(data) {
|
|
2269
|
+
let result = confirm("<i>Are You Sure?</i>", "Activate Config");
|
|
2270
|
+
result.then((dialogResult) => {
|
|
2271
|
+
if (dialogResult) {
|
|
2272
|
+
this.service.activateFileSequenceAnalyzerGroup(data.configId).subscribe({
|
|
2273
|
+
next: (data) => {
|
|
2274
|
+
const currentPageIndex = this.dataGrid?.instance.pageIndex();
|
|
2275
|
+
this.getExceptionDataCongigs().then(() => {
|
|
2276
|
+
if (currentPageIndex !== undefined) {
|
|
2277
|
+
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
2278
|
+
}
|
|
2279
|
+
this.isLoader = false;
|
|
2280
|
+
this.toastr.success(data.response);
|
|
2281
|
+
});
|
|
2282
|
+
}, error: (err) => {
|
|
2283
|
+
console.log(err);
|
|
2284
|
+
this.loadingModal = false;
|
|
2285
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
2286
|
+
}
|
|
2287
|
+
});
|
|
2288
|
+
}
|
|
2289
|
+
});
|
|
2505
2290
|
}
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2291
|
+
deActivatedException(data) {
|
|
2292
|
+
let result = confirm("<i>Are You Sure?</i>", "Deactivate Config");
|
|
2293
|
+
result.then((dialogResult) => {
|
|
2294
|
+
if (dialogResult) {
|
|
2295
|
+
this.service.deactivateFileSequenceAnalyzerGroup(data.configId).subscribe({
|
|
2296
|
+
next: (data) => {
|
|
2297
|
+
const currentPageIndex = this.dataGrid?.instance.pageIndex();
|
|
2298
|
+
this.getExceptionDataCongigs().then(() => {
|
|
2299
|
+
if (currentPageIndex !== undefined) {
|
|
2300
|
+
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
2301
|
+
}
|
|
2302
|
+
this.isLoader = false;
|
|
2303
|
+
this.toastr.success(data.response);
|
|
2304
|
+
});
|
|
2305
|
+
}, error: (err) => {
|
|
2306
|
+
console.log(err);
|
|
2307
|
+
this.loadingModal = false;
|
|
2308
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
2309
|
+
}
|
|
2310
|
+
});
|
|
2311
|
+
}
|
|
2312
|
+
});
|
|
2513
2313
|
}
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2314
|
+
updateFileSequenceAnalyzerJobs() {
|
|
2315
|
+
this.loadingModal = true;
|
|
2316
|
+
this.service.updateFileSequenceAnalyzerJobs().subscribe({
|
|
2317
|
+
next: (data) => {
|
|
2318
|
+
this.loadingModal = false;
|
|
2319
|
+
this.toastr.success("File Sequence Analyzer Jobs Updated");
|
|
2320
|
+
}, error: err => {
|
|
2321
|
+
this.loadingModal = false;
|
|
2322
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
2323
|
+
}
|
|
2324
|
+
});
|
|
2521
2325
|
}
|
|
2522
2326
|
}
|
|
2523
|
-
|
|
2524
|
-
ApplicationContentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationContentService });
|
|
2525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type:
|
|
2526
|
-
type:
|
|
2527
|
-
}], ctorParameters: function () { return [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2327
|
+
ExceptionOperationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExceptionOperationComponent, deps: [{ token: CommonService }, { token: ApplicationContentService }, { token: i3.ToastrService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2328
|
+
ExceptionOperationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ExceptionOperationComponent, selector: "app-exception-operation", viewQueries: [{ propertyName: "dataGrid", first: true, predicate: ["gridContainer"], descendants: true }], ngImport: i0, template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n<div class=\"flex flex-col flex-auto w-full\">\n <div class=\"flex flex-col\">\n <div class=\"flex justify-between border-b dark:bg-transparent\">\n <div class=\"flex flex-col ml-1\">\n <div class=\"flex items-center float-start\">\n <div class=\"flex items-center overflow-hidden\">\n <mat-icon class=\"icon-size-2\" [svgIcon]=\"'heroicons_solid:template'\"></mat-icon>\n </div>\n <h2\n class=\"text-2xl md:text-2xl py-3 font-extrabold items-center ml-2 tracking-tight leading-5 truncate capitalize\">\n Exception Configuration\n </h2>\n </div>\n <div class=\"\">\n </div>\n </div>\n <div class=\"flex justify-between items-center border-l-2 p-0 m-0\">\n\n\n <div class=\"w-1 h-full border-l-2\"></div>\n <div class=\"mx-2\">\n\n <div class=\"flex items-center p-1\">\n\n <div class=\"mx-2\">\n <button class=\"{{commonService.btn_primary_md}} cursor-pointer\"\n (click)=\"createExceptionConfig()\">Create Config\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\n <div class=\"m-2\">\n <div class=\"m-3 p-4 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n <h6 class=\"mb-2 font-bold text-lg tracking-tight text-gray-900 dark:text-white border-b pb-3\"><i\n class=\"fa fa-table mr-2\"></i> File Sequence Analyzer configs | \n <button class=\"{{commonService.btn_success_md}}\" (click)=\"updateFileSequenceAnalyzerJobs()\">Update</button>\n </h6>\n <!-- <app-loader *ngIf=\"isLoader\"></app-loader> -->\n <dx-data-grid [columnAutoWidth]=\"true\" [dataSource]=\"allExceptionConfigDataSource\" [selectedRowKeys]=\"[]\"\n [showBorders]=\"true\" [showRowLines]=\"true\" id=\"gridContainer\" [hoverStateEnabled]=\"true\"\n *ngIf=\"!isLoader\">\n\n <dxo-search-panel [highlightCaseSensitive]=\"true\" [visible]=\"true\">\n </dxo-search-panel>\n <dxo-export [enabled]=\"true\" fileName=\"alert_data_by_status\"></dxo-export>\n <dxo-paging [pageSize]=\"10\"></dxo-paging>\n <dxo-pager [showInfo]=\"true\" [showPageSizeSelector]=\"true\" [allowedPageSizes]=\"[10,20,50,100]\">\n </dxo-pager>\n <dxi-column dataField=\"configName\"></dxi-column>\n <dxi-column dataField=\"datasource\"></dxi-column>\n <dxi-column dataField=\"dbConfig\"></dxi-column>\n <dxi-column dataField=\"analyzerType\"></dxi-column>\n <dxi-column dataField=\"fileNameAttributeName\"></dxi-column>\n <dxi-column dataField=\"dataSelectionType\"></dxi-column>\n <dxi-column caption=\"Status\" dataField=\"active\" cellTemplate=\"cellTemplate1\"></dxi-column>\n\n <dxi-column dataField=\"action\" cellTemplate=\"cellTemplate\" [fixed]=\"true\"\n fixedPosition=\"right\"></dxi-column>\n <div *dxTemplate=\"let data of 'cellTemplate'\">\n <button class=\"{{commonService.btnPrimaryBlue}}\" (click)=\"editExceptionConfigConfig(data.data)\">\n Edit\n </button>\n <!-- <button class=\"{{commonService.btnPrimaryBlue}}\" *ngIf=\"data.data.active == false\"\n (click)=\"editExceptionConfigConfig(data.data)\">\n Edit\n </button> -->\n\n <button class=\"{{commonService.btn_danger_md}}\" (click)=\"deleteExceptionConfig(data.data)\">\n Delete\n </button>\n </div>\n <div *dxTemplate=\"let data of 'cellTemplate1'\">\n <button type=\"button\" *ngIf=\"data.data.active == true\" class=\"{{commonService.btnSuccessGreen}}\"\n (click)=\"deActivatedException(data.data)\">Active</button>\n\n <button type=\"button\" *ngIf=\"data.data.active == false\" class=\"{{commonService.btnWarningYellow}}\"\n (click)=\"activatedException(data.data)\">Inactive</button>\n\n\n </div>\n\n </dx-data-grid>\n\n </div>\n </div>\n <ng-container *ngIf=\"isExceptionConfigCreation\">\n <div class=\"m-2\">\n <div\n class=\"m-3 p-4 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n <h6\n class=\"mb-2 text-lg tracking-tight text-gray-900 dark:text-white border-b pb-3 flex items-center capitalize\">\n {{contentType}} Exception Configurations\n\n <div class=\"ml-auto\">\n <button class=\"{{commonService.btnOthersPurple}}\" (click)=\"getCancleExceptionCreation()\">\n Back\n </button>\n </div>\n </h6>\n\n <!-- (onValueChanged)=\"valueChangeForDatabaseName($event)\" -->\n <div class=\"flex\">\n <div class=\"w-full border-r\">\n <div class=\"m-2\">\n <div class=\"flex flex-row mb-2\">\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Config Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.configName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Datasource</div>\n <dx-select-box [items]=\"datasourcelist\" [(ngModel)]=\"exceptionMainObject.datasource\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Analyzer Type</div>\n <dx-select-box [items]=\"analyzer_type\" valueExpr=\"key\" displayExpr=\"name\"\n [(ngModel)]=\"exceptionMainObject.analyzerType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex flex-col\">\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"pt-2\">\n <div class=\"flex flex-row p-2\">\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Db Config</div>\n <dx-select-box [items]=\"['mongo','impala','postgres','mysql','bigquery']\"\n (onValueChanged)=\"getDataConfig($event)\"\n [(ngModel)]=\"exceptionMainObject.dbConfig\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Table Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.tableName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Data Selection Type</div>\n <dx-select-box [items]=\"['select','distinct']\"\n [(ngModel)]=\"exceptionMainObject.dataSelectionType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> File Column Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.fileNameAttributeName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"flex flex-col flex-auto min-w-0 my-2\">\n <div class=\"py-2 border-b border-b\">\n <div class=\"flex flex-row px-2\">\n <div class=\"w-1/2 px-2\">\n <div class=\"text-2xl font-extrabold\">Filter List</div>\n </div>\n <div class=\"w-1/2 px-2\">\n <div class=\"flex justify-end\">\n <button class=\"{{commonService.btn_primary_md}}\"\n (click)=\"getProcessForConfig()\">\n Add Filter\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pt-2\">\n <div class=\"flex flex-row my-2\"\n *ngFor=\"let items of exceptionMainObject.filterList;let i = index;\">\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Column Name</p>\n <dx-text-box [(ngModel)]=\"items.columnName\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Operator</p>\n <dx-select-box [items]=\"operator_list\" valueExpr=\"value\"\n displayExpr=\"name\" [(ngModel)]=\"items.operator\"\n [searchEnabled]=\"true\">\n </dx-select-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Datatype</p>\n <dx-select-box\n [items]=\"['date','string','timestamp','int', 'double', 'boolean']\"\n [(ngModel)]=\"items.dataType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Select Function</p>\n <dx-select-box [items]=\"functionNameContainer\"\n [(ngModel)]=\"items.windowFunctionName\" [searchEnabled]=\"true\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n <div class=\"w-full px-2\"\n *ngIf=\"items.dataType == 'date' || items.dataType == 'timestamp'\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Date Format</p>\n <dx-text-box [(ngModel)]=\"items.dateFormat\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Default Value</p>\n <dx-text-box [(ngModel)]=\"items.value\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"mx-2\">\n <div class=\"flex flex-row\">\n <button *ngIf=\"i !== 0\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForColumns(i, 'up')\">\n <i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i>\n </button>\n\n <button *ngIf=\"i !== exceptionMainObject.filterList.length - 1\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForColumns(i, 'down')\">\n <i class=\"fa fa-arrow-down\" aria-hidden=\"true\"></i>\n </button>\n\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deleteColume(i)\"><i class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i>\n </button>\n </div>\n </div>\n </div>\n\n\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"flex flex-col flex-auto min-w-0 my-2\">\n <div class=\"py-2 border-b border-b\">\n <div class=\"flex flex-row px-2\">\n <div class=\"w-1/2 px-2\">\n <div class=\"text-2xl font-extrabold\">Pattern List</div>\n </div>\n <div class=\"w-1/2 px-2\">\n <div class=\"flex justify-end\">\n <button class=\"{{commonService.btn_primary_md}}\"\n (click)=\"getAddPatternsConfig()\">\n Add Pattern\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pt-2\">\n <ng-container *ngFor=\"let items of exceptionMainObject.patternList;let i = index;\">\n <div class=\"flex flex-wrap my-2\">\n <div class=\"w-1/2 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Regex</p>\n <dx-text-box [(ngModel)]=\"items.regex\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-1/2 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">File Attributes</p>\n <dx-tag-box [multiline]=\"true\" [showSelectionControls]=\"true\"\n [acceptCustomValue]=\"true\"\n (onCustomItemCreating)=\"onCustomFileAttributesAdd($event)\"\n [(ngModel)]=\"items.fileAttributes\" [searchEnabled]=\"true\">\n </dx-tag-box>\n </div>\n </div>\n\n <div class=\"w-1/3 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">SequenceKey</p>\n <dx-text-box [(ngModel)]=\"items.sequenceKey\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n\n <div class=\"w-1/3 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Analyzer Keys</p>\n <dx-tag-box [multiline]=\"true\" [showSelectionControls]=\"true\"\n [acceptCustomValue]=\"true\"\n (onCustomItemCreating)=\"onCustomAnalizerKeyAdd($event)\"\n [(ngModel)]=\"items.analyzerKeys\" [searchEnabled]=\"true\">\n </dx-tag-box>\n </div>\n </div>\n <div class=\"w-1/6 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Sample</p>\n <dx-text-box [(ngModel)]=\"items.sample\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-1/6 px-2 my-2\">\n <div class=\"mx-2\">\n <div class=\"flex flex-row\">\n <button *ngIf=\"i !== 0\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForpatterns(i, 'up')\">\n <i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i>\n </button>\n\n <button *ngIf=\"i !== exceptionMainObject.filterList.length - 1\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForpatterns(i, 'down')\">\n <i class=\"fa fa-arrow-down\" aria-hidden=\"true\"></i>\n </button>\n\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deletePatternsColume(i)\"><i class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"text-xl mb-2\">Dynamic Arguments |\n <button class=\"{{commonService.btn_primary_sm}}\"\n (click)=\"addDynamicArgument(i)\">Add Arguments</button>\n </div>\n <div class=\"m-5\">\n\n <div class=\"flex flex-wrap\">\n <ng-container *ngFor=\"let item of items.dynamicArgs | keyvalue\">\n <div class=\"w-1/2 p-2\">\n <div class=\"flex flex-row\">\n <div class=\"m-1\">\n <div class=\"text-md\"> Argument Key</div>\n <dx-text-box [(ngModel)]=\"item.key\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <div class=\"text-md\"> Argument Value</div>\n <dx-text-box\n [(ngModel)]=\"items.dynamicArgs[item.key]\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deleteDynamicArguments(item,item.key,i)\"><i\n class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i></button>\n </div>\n </div>\n </div>\n </ng-container>\n\n </div>\n </div>\n\n\n\n </ng-container>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex w-full justify-end mt-5 border-t\" *ngIf=\"contentType !== 'view'\">\n\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mx-1 my-2\"\n (click)=\"saveExceptionConfig()\" *ngIf=\"contentType == 'create'\">\n Create Exception Config\n </button>\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mx-1 my-2\"\n (click)=\"updateExceptionConfig()\" *ngIf=\"contentType == 'edit'\">\n Update Exception Config\n </button>\n </div>\n </div>\n </div>\n </ng-container>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i6.DxoExportComponent, selector: "dxo-export", inputs: ["backgroundColor", "enabled", "fileName", "formats", "margin", "printingEnabled", "proxyUrl", "svgToCanvas", "allowExportSelectedData", "customizeExcelCell", "excelFilterEnabled", "excelWrapTextEnabled", "ignoreExcelErrors", "texts"] }, { kind: "component", type: i9.DxDataGridComponent, selector: "dx-data-grid", inputs: ["accessKey", "activeStateEnabled", "allowColumnReordering", "allowColumnResizing", "autoNavigateToFocusedRow", "cacheEnabled", "cellHintEnabled", "columnAutoWidth", "columnChooser", "columnFixing", "columnHidingEnabled", "columnMinWidth", "columnResizingMode", "columns", "columnWidth", "customizeColumns", "customizeExportData", "dataRowTemplate", "dataSource", "dateSerializationFormat", "disabled", "editing", "elementAttr", "errorRowEnabled", "export", "filterBuilder", "filterBuilderPopup", "filterPanel", "filterRow", "filterSyncEnabled", "filterValue", "focusedColumnIndex", "focusedRowEnabled", "focusedRowIndex", "focusedRowKey", "focusStateEnabled", "grouping", "groupPanel", "headerFilter", "height", "highlightChanges", "hint", "hoverStateEnabled", "keyboardNavigation", "keyExpr", "loadPanel", "masterDetail", "noDataText", "pager", "paging", "remoteOperations", "renderAsync", "repaintChangesOnly", "rowAlternationEnabled", "rowDragging", "rowTemplate", "rtlEnabled", "scrolling", "searchPanel", "selectedRowKeys", "selection", "selectionFilter", "showBorders", "showColumnHeaders", "showColumnLines", "showRowLines", "sortByGroupSummaryInfo", "sorting", "stateStoring", "summary", "syncLookupFilterValues", "tabIndex", "toolbar", "twoWayBindingEnabled", "visible", "width", "wordWrapEnabled"], outputs: ["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellHoverChanged", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExported", "onExporting", "onFileSaving", "onFocusedCellChanged", "onFocusedCellChanging", "onFocusedRowChanged", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onOptionChanged", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onSelectionChanged", "onToolbarPreparing", "accessKeyChange", "activeStateEnabledChange", "allowColumnReorderingChange", "allowColumnResizingChange", "autoNavigateToFocusedRowChange", "cacheEnabledChange", "cellHintEnabledChange", "columnAutoWidthChange", "columnChooserChange", "columnFixingChange", "columnHidingEnabledChange", "columnMinWidthChange", "columnResizingModeChange", "columnsChange", "columnWidthChange", "customizeColumnsChange", "customizeExportDataChange", "dataRowTemplateChange", "dataSourceChange", "dateSerializationFormatChange", "disabledChange", "editingChange", "elementAttrChange", "errorRowEnabledChange", "exportChange", "filterBuilderChange", "filterBuilderPopupChange", "filterPanelChange", "filterRowChange", "filterSyncEnabledChange", "filterValueChange", "focusedColumnIndexChange", "focusedRowEnabledChange", "focusedRowIndexChange", "focusedRowKeyChange", "focusStateEnabledChange", "groupingChange", "groupPanelChange", "headerFilterChange", "heightChange", "highlightChangesChange", "hintChange", "hoverStateEnabledChange", "keyboardNavigationChange", "keyExprChange", "loadPanelChange", "masterDetailChange", "noDataTextChange", "pagerChange", "pagingChange", "remoteOperationsChange", "renderAsyncChange", "repaintChangesOnlyChange", "rowAlternationEnabledChange", "rowDraggingChange", "rowTemplateChange", "rtlEnabledChange", "scrollingChange", "searchPanelChange", "selectedRowKeysChange", "selectionChange", "selectionFilterChange", "showBordersChange", "showColumnHeadersChange", "showColumnLinesChange", "showRowLinesChange", "sortByGroupSummaryInfoChange", "sortingChange", "stateStoringChange", "summaryChange", "syncLookupFilterValuesChange", "tabIndexChange", "toolbarChange", "twoWayBindingEnabledChange", "visibleChange", "widthChange", "wordWrapEnabledChange"] }, { kind: "component", type: i6.DxiColumnComponent, selector: "dxi-column", inputs: ["alignment", "allowEditing", "allowExporting", "allowFiltering", "allowFixing", "allowGrouping", "allowHeaderFiltering", "allowHiding", "allowReordering", "allowResizing", "allowSearch", "allowSorting", "autoExpandGroup", "buttons", "calculateCellValue", "calculateDisplayValue", "calculateFilterExpression", "calculateGroupValue", "calculateSortValue", "caption", "cellTemplate", "columns", "cssClass", "customizeText", "dataField", "dataType", "editCellTemplate", "editorOptions", "encodeHtml", "falseText", "filterOperations", "filterType", "filterValue", "filterValues", "fixed", "fixedPosition", "format", "formItem", "groupCellTemplate", "groupIndex", "headerCellTemplate", "headerFilter", "hidingPriority", "isBand", "lookup", "minWidth", "name", "ownerBand", "renderAsync", "selectedFilterOperation", "setCellValue", "showEditorAlways", "showInColumnChooser", "showWhenGrouped", "sortIndex", "sortingMethod", "sortOrder", "trueText", "type", "validationRules", "visible", "visibleIndex", "width"], outputs: ["filterValueChange", "filterValuesChange", "groupIndexChange", "selectedFilterOperationChange", "sortIndexChange", "sortOrderChange", "visibleChange", "visibleIndexChange"] }, { kind: "component", type: i6.DxoPagerComponent, selector: "dxo-pager", inputs: ["allowedPageSizes", "displayMode", "infoText", "showInfo", "showNavigationButtons", "showPageSizeSelector", "visible"] }, { kind: "component", type: i6.DxoPagingComponent, selector: "dxo-paging", inputs: ["enabled", "pageIndex", "pageSize"], outputs: ["pageIndexChange", "pageSizeChange"] }, { kind: "component", type: i6.DxoSearchPanelComponent, selector: "dxo-search-panel", inputs: ["highlightCaseSensitive", "highlightSearchText", "placeholder", "searchVisibleColumnsOnly", "text", "visible", "width"], outputs: ["textChange"] }, { kind: "component", type: i6$1.DxSelectBoxComponent, selector: "dx-select-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxLength", "minSearchLength", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showSelectionControls", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCustomItemCreating", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showSelectionControlsChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i8.DxTagBoxComponent, selector: "dx-tag-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "applyValueMode", "buttons", "dataSource", "deferRendering", "disabled", "displayExpr", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hideSelectedItems", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxDisplayedTags", "maxFilterQueryLength", "maxLength", "minSearchLength", "multiline", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectAllMode", "selectAllText", "selectedItems", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showMultiTagOnly", "showSelectionControls", "stylingMode", "tabIndex", "tagTemplate", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCustomItemCreating", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onMultiTagPreparing", "onOpened", "onOptionChanged", "onSelectAllValueChanged", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "applyValueModeChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hideSelectedItemsChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxDisplayedTagsChange", "maxFilterQueryLengthChange", "maxLengthChange", "minSearchLengthChange", "multilineChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectAllModeChange", "selectAllTextChange", "selectedItemsChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showMultiTagOnlyChange", "showSelectionControlsChange", "stylingModeChange", "tabIndexChange", "tagTemplateChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i7.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "directive", type: i8$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: LoadingComponent$1, selector: "app-loading" }, { kind: "pipe", type: i4$1.KeyValuePipe, name: "keyvalue" }] });
|
|
2329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExceptionOperationComponent, decorators: [{
|
|
2330
|
+
type: Component,
|
|
2331
|
+
args: [{ selector: 'app-exception-operation', template: "<app-loading *ngIf=\"loadingModal\"></app-loading>\n<div class=\"flex flex-col flex-auto w-full\">\n <div class=\"flex flex-col\">\n <div class=\"flex justify-between border-b dark:bg-transparent\">\n <div class=\"flex flex-col ml-1\">\n <div class=\"flex items-center float-start\">\n <div class=\"flex items-center overflow-hidden\">\n <mat-icon class=\"icon-size-2\" [svgIcon]=\"'heroicons_solid:template'\"></mat-icon>\n </div>\n <h2\n class=\"text-2xl md:text-2xl py-3 font-extrabold items-center ml-2 tracking-tight leading-5 truncate capitalize\">\n Exception Configuration\n </h2>\n </div>\n <div class=\"\">\n </div>\n </div>\n <div class=\"flex justify-between items-center border-l-2 p-0 m-0\">\n\n\n <div class=\"w-1 h-full border-l-2\"></div>\n <div class=\"mx-2\">\n\n <div class=\"flex items-center p-1\">\n\n <div class=\"mx-2\">\n <button class=\"{{commonService.btn_primary_md}} cursor-pointer\"\n (click)=\"createExceptionConfig()\">Create Config\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\n <div class=\"m-2\">\n <div class=\"m-3 p-4 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n <h6 class=\"mb-2 font-bold text-lg tracking-tight text-gray-900 dark:text-white border-b pb-3\"><i\n class=\"fa fa-table mr-2\"></i> File Sequence Analyzer configs | \n <button class=\"{{commonService.btn_success_md}}\" (click)=\"updateFileSequenceAnalyzerJobs()\">Update</button>\n </h6>\n <!-- <app-loader *ngIf=\"isLoader\"></app-loader> -->\n <dx-data-grid [columnAutoWidth]=\"true\" [dataSource]=\"allExceptionConfigDataSource\" [selectedRowKeys]=\"[]\"\n [showBorders]=\"true\" [showRowLines]=\"true\" id=\"gridContainer\" [hoverStateEnabled]=\"true\"\n *ngIf=\"!isLoader\">\n\n <dxo-search-panel [highlightCaseSensitive]=\"true\" [visible]=\"true\">\n </dxo-search-panel>\n <dxo-export [enabled]=\"true\" fileName=\"alert_data_by_status\"></dxo-export>\n <dxo-paging [pageSize]=\"10\"></dxo-paging>\n <dxo-pager [showInfo]=\"true\" [showPageSizeSelector]=\"true\" [allowedPageSizes]=\"[10,20,50,100]\">\n </dxo-pager>\n <dxi-column dataField=\"configName\"></dxi-column>\n <dxi-column dataField=\"datasource\"></dxi-column>\n <dxi-column dataField=\"dbConfig\"></dxi-column>\n <dxi-column dataField=\"analyzerType\"></dxi-column>\n <dxi-column dataField=\"fileNameAttributeName\"></dxi-column>\n <dxi-column dataField=\"dataSelectionType\"></dxi-column>\n <dxi-column caption=\"Status\" dataField=\"active\" cellTemplate=\"cellTemplate1\"></dxi-column>\n\n <dxi-column dataField=\"action\" cellTemplate=\"cellTemplate\" [fixed]=\"true\"\n fixedPosition=\"right\"></dxi-column>\n <div *dxTemplate=\"let data of 'cellTemplate'\">\n <button class=\"{{commonService.btnPrimaryBlue}}\" (click)=\"editExceptionConfigConfig(data.data)\">\n Edit\n </button>\n <!-- <button class=\"{{commonService.btnPrimaryBlue}}\" *ngIf=\"data.data.active == false\"\n (click)=\"editExceptionConfigConfig(data.data)\">\n Edit\n </button> -->\n\n <button class=\"{{commonService.btn_danger_md}}\" (click)=\"deleteExceptionConfig(data.data)\">\n Delete\n </button>\n </div>\n <div *dxTemplate=\"let data of 'cellTemplate1'\">\n <button type=\"button\" *ngIf=\"data.data.active == true\" class=\"{{commonService.btnSuccessGreen}}\"\n (click)=\"deActivatedException(data.data)\">Active</button>\n\n <button type=\"button\" *ngIf=\"data.data.active == false\" class=\"{{commonService.btnWarningYellow}}\"\n (click)=\"activatedException(data.data)\">Inactive</button>\n\n\n </div>\n\n </dx-data-grid>\n\n </div>\n </div>\n <ng-container *ngIf=\"isExceptionConfigCreation\">\n <div class=\"m-2\">\n <div\n class=\"m-3 p-4 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n <h6\n class=\"mb-2 text-lg tracking-tight text-gray-900 dark:text-white border-b pb-3 flex items-center capitalize\">\n {{contentType}} Exception Configurations\n\n <div class=\"ml-auto\">\n <button class=\"{{commonService.btnOthersPurple}}\" (click)=\"getCancleExceptionCreation()\">\n Back\n </button>\n </div>\n </h6>\n\n <!-- (onValueChanged)=\"valueChangeForDatabaseName($event)\" -->\n <div class=\"flex\">\n <div class=\"w-full border-r\">\n <div class=\"m-2\">\n <div class=\"flex flex-row mb-2\">\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Config Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.configName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Datasource</div>\n <dx-select-box [items]=\"datasourcelist\" [(ngModel)]=\"exceptionMainObject.datasource\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"mx-2 w-1/3\">\n <div class=\"text-md mb-2\">Analyzer Type</div>\n <dx-select-box [items]=\"analyzer_type\" valueExpr=\"key\" displayExpr=\"name\"\n [(ngModel)]=\"exceptionMainObject.analyzerType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex flex-col\">\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"pt-2\">\n <div class=\"flex flex-row p-2\">\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Db Config</div>\n <dx-select-box [items]=\"['mongo','impala','postgres','mysql','bigquery']\"\n (onValueChanged)=\"getDataConfig($event)\"\n [(ngModel)]=\"exceptionMainObject.dbConfig\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Table Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.tableName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> Data Selection Type</div>\n <dx-select-box [items]=\"['select','distinct']\"\n [(ngModel)]=\"exceptionMainObject.dataSelectionType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n <div class=\"px-2 mb-2 w-1/2\">\n <div class=\"text-md mb-2\"> File Column Name</div>\n <dx-text-box [(ngModel)]=\"exceptionMainObject.fileNameAttributeName\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"flex flex-col flex-auto min-w-0 my-2\">\n <div class=\"py-2 border-b border-b\">\n <div class=\"flex flex-row px-2\">\n <div class=\"w-1/2 px-2\">\n <div class=\"text-2xl font-extrabold\">Filter List</div>\n </div>\n <div class=\"w-1/2 px-2\">\n <div class=\"flex justify-end\">\n <button class=\"{{commonService.btn_primary_md}}\"\n (click)=\"getProcessForConfig()\">\n Add Filter\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pt-2\">\n <div class=\"flex flex-row my-2\"\n *ngFor=\"let items of exceptionMainObject.filterList;let i = index;\">\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Column Name</p>\n <dx-text-box [(ngModel)]=\"items.columnName\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Operator</p>\n <dx-select-box [items]=\"operator_list\" valueExpr=\"value\"\n displayExpr=\"name\" [(ngModel)]=\"items.operator\"\n [searchEnabled]=\"true\">\n </dx-select-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Datatype</p>\n <dx-select-box\n [items]=\"['date','string','timestamp','int', 'double', 'boolean']\"\n [(ngModel)]=\"items.dataType\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Select Function</p>\n <dx-select-box [items]=\"functionNameContainer\"\n [(ngModel)]=\"items.windowFunctionName\" [searchEnabled]=\"true\"\n [readOnly]=\"contentType == 'view'\"></dx-select-box>\n </div>\n </div>\n <div class=\"w-full px-2\"\n *ngIf=\"items.dataType == 'date' || items.dataType == 'timestamp'\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Date Format</p>\n <dx-text-box [(ngModel)]=\"items.dateFormat\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Default Value</p>\n <dx-text-box [(ngModel)]=\"items.value\"\n [readOnly]=\"contentType == 'view'\"></dx-text-box>\n </div>\n </div>\n <div class=\"w-full px-2\">\n <div class=\"mx-2\">\n <div class=\"flex flex-row\">\n <button *ngIf=\"i !== 0\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForColumns(i, 'up')\">\n <i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i>\n </button>\n\n <button *ngIf=\"i !== exceptionMainObject.filterList.length - 1\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForColumns(i, 'down')\">\n <i class=\"fa fa-arrow-down\" aria-hidden=\"true\"></i>\n </button>\n\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deleteColume(i)\"><i class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i>\n </button>\n </div>\n </div>\n </div>\n\n\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full border-b my-4\">\n <div class=\"m-2\">\n <div class=\"flex flex-col flex-auto min-w-0 my-2\">\n <div class=\"py-2 border-b border-b\">\n <div class=\"flex flex-row px-2\">\n <div class=\"w-1/2 px-2\">\n <div class=\"text-2xl font-extrabold\">Pattern List</div>\n </div>\n <div class=\"w-1/2 px-2\">\n <div class=\"flex justify-end\">\n <button class=\"{{commonService.btn_primary_md}}\"\n (click)=\"getAddPatternsConfig()\">\n Add Pattern\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pt-2\">\n <ng-container *ngFor=\"let items of exceptionMainObject.patternList;let i = index;\">\n <div class=\"flex flex-wrap my-2\">\n <div class=\"w-1/2 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Regex</p>\n <dx-text-box [(ngModel)]=\"items.regex\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-1/2 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">File Attributes</p>\n <dx-tag-box [multiline]=\"true\" [showSelectionControls]=\"true\"\n [acceptCustomValue]=\"true\"\n (onCustomItemCreating)=\"onCustomFileAttributesAdd($event)\"\n [(ngModel)]=\"items.fileAttributes\" [searchEnabled]=\"true\">\n </dx-tag-box>\n </div>\n </div>\n\n <div class=\"w-1/3 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">SequenceKey</p>\n <dx-text-box [(ngModel)]=\"items.sequenceKey\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n\n <div class=\"w-1/3 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Analyzer Keys</p>\n <dx-tag-box [multiline]=\"true\" [showSelectionControls]=\"true\"\n [acceptCustomValue]=\"true\"\n (onCustomItemCreating)=\"onCustomAnalizerKeyAdd($event)\"\n [(ngModel)]=\"items.analyzerKeys\" [searchEnabled]=\"true\">\n </dx-tag-box>\n </div>\n </div>\n <div class=\"w-1/6 px-2 my-2\">\n <div class=\"dx-field\">\n <p class=\"mb-1\">Sample</p>\n <dx-text-box [(ngModel)]=\"items.sample\"\n [readOnly]=\"contentType == 'view'\">\n </dx-text-box>\n </div>\n </div>\n <div class=\"w-1/6 px-2 my-2\">\n <div class=\"mx-2\">\n <div class=\"flex flex-row\">\n <button *ngIf=\"i !== 0\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForpatterns(i, 'up')\">\n <i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i>\n </button>\n\n <button *ngIf=\"i !== exceptionMainObject.filterList.length - 1\"\n class=\"{{commonService.btn_light_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"moveItemForpatterns(i, 'down')\">\n <i class=\"fa fa-arrow-down\" aria-hidden=\"true\"></i>\n </button>\n\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deletePatternsColume(i)\"><i class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"text-xl mb-2\">Dynamic Arguments |\n <button class=\"{{commonService.btn_primary_sm}}\"\n (click)=\"addDynamicArgument(i)\">Add Arguments</button>\n </div>\n <div class=\"m-5\">\n\n <div class=\"flex flex-wrap\">\n <ng-container *ngFor=\"let item of items.dynamicArgs | keyvalue\">\n <div class=\"w-1/2 p-2\">\n <div class=\"flex flex-row\">\n <div class=\"m-1\">\n <div class=\"text-md\"> Argument Key</div>\n <dx-text-box [(ngModel)]=\"item.key\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <div class=\"text-md\"> Argument Value</div>\n <dx-text-box\n [(ngModel)]=\"items.dynamicArgs[item.key]\"></dx-text-box>\n </div>\n <div class=\"m-1\">\n <button\n class=\"{{commonService.btn_danger_sm}} cursor-pointer mx-1 mt-6\"\n (click)=\"deleteDynamicArguments(item,item.key,i)\"><i\n class=\"fa fa-trash-o\"\n aria-hidden=\"true\"></i></button>\n </div>\n </div>\n </div>\n </ng-container>\n\n </div>\n </div>\n\n\n\n </ng-container>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex w-full justify-end mt-5 border-t\" *ngIf=\"contentType !== 'view'\">\n\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mx-1 my-2\"\n (click)=\"saveExceptionConfig()\" *ngIf=\"contentType == 'create'\">\n Create Exception Config\n </button>\n <button class=\"{{commonService.btn_success_md}} cursor-pointer mx-1 my-2\"\n (click)=\"updateExceptionConfig()\" *ngIf=\"contentType == 'edit'\">\n Update Exception Config\n </button>\n </div>\n </div>\n </div>\n </ng-container>\n</div>" }]
|
|
2332
|
+
}], ctorParameters: function () { return [{ type: CommonService }, { type: ApplicationContentService }, { type: i3.ToastrService }]; }, propDecorators: { dataGrid: [{
|
|
2333
|
+
type: ViewChild,
|
|
2334
|
+
args: ['gridContainer', { static: false }]
|
|
2335
|
+
}] } });
|
|
2336
|
+
|
|
2337
|
+
class LoadingModule$1 {
|
|
2338
|
+
}
|
|
2339
|
+
LoadingModule$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2340
|
+
LoadingModule$1.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, declarations: [LoadingComponent$1], imports: [RouterModule,
|
|
2341
|
+
CommonModule,
|
|
2342
|
+
FormsModule], exports: [LoadingComponent$1] });
|
|
2343
|
+
LoadingModule$1.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, imports: [RouterModule,
|
|
2344
|
+
CommonModule,
|
|
2345
|
+
FormsModule] });
|
|
2346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, decorators: [{
|
|
2347
|
+
type: NgModule,
|
|
2348
|
+
args: [{
|
|
2349
|
+
imports: [
|
|
2350
|
+
RouterModule,
|
|
2351
|
+
CommonModule,
|
|
2352
|
+
FormsModule,
|
|
2353
|
+
],
|
|
2354
|
+
declarations: [LoadingComponent$1],
|
|
2355
|
+
exports: [LoadingComponent$1]
|
|
2356
|
+
}]
|
|
2357
|
+
}] });
|
|
2358
|
+
|
|
2359
|
+
const routes = [
|
|
2360
|
+
{
|
|
2361
|
+
path: '',
|
|
2362
|
+
loadChildren: () => Promise.resolve().then(function () { return applicationController_module; }).then((m) => m.PackageApplicationControllerModule),
|
|
2363
|
+
},
|
|
2364
|
+
];
|
|
2365
|
+
class GammaAppControllerModule {
|
|
2366
|
+
}
|
|
2367
|
+
GammaAppControllerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2368
|
+
GammaAppControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, declarations: [GammaAppControllerComponent,
|
|
2369
|
+
ExceptionOperationComponent], imports: [IconsModule, i4.RouterModule, CommonModule,
|
|
2370
|
+
DevExtremeModule,
|
|
2371
|
+
DxButtonModule,
|
|
2372
|
+
DxCheckBoxModule,
|
|
2373
|
+
DxNumberBoxModule,
|
|
2374
|
+
DxDataGridModule,
|
|
2375
|
+
DxDropDownBoxModule,
|
|
2376
|
+
DxTreeViewModule,
|
|
2377
|
+
DxScrollViewModule,
|
|
2378
|
+
DxFormModule,
|
|
2379
|
+
DxAccordionModule,
|
|
2380
|
+
FormsModule,
|
|
2381
|
+
DxTagBoxModule,
|
|
2382
|
+
ReactiveFormsModule,
|
|
2383
|
+
MatIconModule,
|
|
2384
|
+
DxHtmlEditorModule,
|
|
2385
|
+
DxBulletModule,
|
|
2386
|
+
DxChartModule,
|
|
2387
|
+
DxDateBoxModule,
|
|
2388
|
+
DxLoadPanelModule,
|
|
2389
|
+
DxLookupModule,
|
|
2390
|
+
DxPivotGridModule,
|
|
2391
|
+
DxTemplateModule,
|
|
2392
|
+
DxTextAreaModule,
|
|
2393
|
+
DxValidationSummaryModule,
|
|
2394
|
+
DxValidatorModule,
|
|
2395
|
+
DxCalendarModule,
|
|
2396
|
+
DxTooltipModule,
|
|
2397
|
+
DxContextMenuModule,
|
|
2398
|
+
DxLoadIndicatorModule,
|
|
2399
|
+
DxPieChartModule,
|
|
2400
|
+
MatTooltipModule,
|
|
2401
|
+
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
2402
|
+
MatButtonModule,
|
|
2403
|
+
MatDividerModule,
|
|
2404
|
+
MatMenuModule,
|
|
2405
|
+
MatIconModule,
|
|
2406
|
+
LoadingModule$1], exports: [RouterModule,
|
|
2407
|
+
GammaAppControllerComponent,
|
|
2408
|
+
IconsModule,
|
|
2409
|
+
ExceptionOperationComponent] });
|
|
2410
|
+
GammaAppControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, imports: [IconsModule,
|
|
2411
|
+
RouterModule.forChild(routes),
|
|
2412
|
+
CommonModule,
|
|
2413
|
+
DevExtremeModule,
|
|
2414
|
+
DxButtonModule,
|
|
2415
|
+
DxCheckBoxModule,
|
|
2416
|
+
DxNumberBoxModule,
|
|
2417
|
+
DxDataGridModule,
|
|
2418
|
+
DxDropDownBoxModule,
|
|
2419
|
+
DxTreeViewModule,
|
|
2420
|
+
DxScrollViewModule,
|
|
2421
|
+
DxFormModule,
|
|
2422
|
+
DxAccordionModule,
|
|
2423
|
+
FormsModule,
|
|
2424
|
+
DxTagBoxModule,
|
|
2425
|
+
ReactiveFormsModule,
|
|
2426
|
+
MatIconModule,
|
|
2427
|
+
DxHtmlEditorModule,
|
|
2428
|
+
DxBulletModule,
|
|
2429
|
+
DxChartModule,
|
|
2430
|
+
DxDateBoxModule,
|
|
2431
|
+
DxLoadPanelModule,
|
|
2432
|
+
DxLookupModule,
|
|
2433
|
+
DxPivotGridModule,
|
|
2434
|
+
DxTemplateModule,
|
|
2435
|
+
DxTextAreaModule,
|
|
2436
|
+
DxValidationSummaryModule,
|
|
2437
|
+
DxValidatorModule,
|
|
2438
|
+
DxCalendarModule,
|
|
2439
|
+
DxTooltipModule,
|
|
2440
|
+
DxContextMenuModule,
|
|
2441
|
+
DxLoadIndicatorModule,
|
|
2442
|
+
DxPieChartModule,
|
|
2443
|
+
MatTooltipModule,
|
|
2444
|
+
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
2445
|
+
MatButtonModule,
|
|
2446
|
+
MatDividerModule,
|
|
2447
|
+
MatMenuModule,
|
|
2448
|
+
MatIconModule,
|
|
2449
|
+
LoadingModule$1, RouterModule,
|
|
2450
|
+
IconsModule] });
|
|
2451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, decorators: [{
|
|
2452
|
+
type: NgModule,
|
|
2453
|
+
args: [{
|
|
2454
|
+
declarations: [
|
|
2455
|
+
GammaAppControllerComponent,
|
|
2456
|
+
ExceptionOperationComponent
|
|
2457
|
+
],
|
|
2458
|
+
imports: [
|
|
2459
|
+
IconsModule,
|
|
2460
|
+
RouterModule.forChild(routes),
|
|
2461
|
+
CommonModule,
|
|
2462
|
+
DevExtremeModule,
|
|
2463
|
+
DxButtonModule,
|
|
2464
|
+
DxCheckBoxModule,
|
|
2465
|
+
DxNumberBoxModule,
|
|
2466
|
+
DxDataGridModule,
|
|
2467
|
+
DxDropDownBoxModule,
|
|
2468
|
+
DxTreeViewModule,
|
|
2469
|
+
DxScrollViewModule,
|
|
2470
|
+
DxFormModule,
|
|
2471
|
+
DxAccordionModule,
|
|
2472
|
+
FormsModule,
|
|
2473
|
+
DxTagBoxModule,
|
|
2474
|
+
ReactiveFormsModule,
|
|
2475
|
+
MatIconModule,
|
|
2476
|
+
DxHtmlEditorModule,
|
|
2477
|
+
DxBulletModule,
|
|
2478
|
+
DxChartModule,
|
|
2479
|
+
DxDateBoxModule,
|
|
2480
|
+
DxLoadPanelModule,
|
|
2481
|
+
DxLookupModule,
|
|
2482
|
+
DxPivotGridModule,
|
|
2483
|
+
DxTemplateModule,
|
|
2484
|
+
DxTextAreaModule,
|
|
2485
|
+
DxValidationSummaryModule,
|
|
2486
|
+
DxValidatorModule,
|
|
2487
|
+
DxCalendarModule,
|
|
2488
|
+
DxTooltipModule,
|
|
2489
|
+
DxContextMenuModule,
|
|
2490
|
+
DxLoadIndicatorModule,
|
|
2491
|
+
DxPieChartModule,
|
|
2492
|
+
MatTooltipModule,
|
|
2493
|
+
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
2494
|
+
MatButtonModule,
|
|
2495
|
+
MatDividerModule,
|
|
2496
|
+
MatMenuModule,
|
|
2497
|
+
MatIconModule,
|
|
2498
|
+
LoadingModule$1
|
|
2499
|
+
],
|
|
2500
|
+
exports: [
|
|
2501
|
+
RouterModule,
|
|
2502
|
+
GammaAppControllerComponent,
|
|
2503
|
+
IconsModule,
|
|
2504
|
+
ExceptionOperationComponent
|
|
2505
|
+
]
|
|
2506
|
+
}]
|
|
2507
|
+
}] });
|
|
2531
2508
|
|
|
2532
2509
|
class LoaderComponent {
|
|
2533
2510
|
constructor() { }
|
|
@@ -15257,7 +15234,6 @@ PackageApplicationControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion
|
|
|
15257
15234
|
HeatMapSupportComponent,
|
|
15258
15235
|
GammaHeatChartComponent] });
|
|
15259
15236
|
PackageApplicationControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PackageApplicationControllerModule, providers: [
|
|
15260
|
-
ApplicationContentService,
|
|
15261
15237
|
ApplicationDatssetsCall
|
|
15262
15238
|
], imports: [CommonModule,
|
|
15263
15239
|
RouterModule.forChild(appRoutes),
|
|
@@ -15426,7 +15402,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
15426
15402
|
GammaHeatChartComponent
|
|
15427
15403
|
],
|
|
15428
15404
|
providers: [
|
|
15429
|
-
ApplicationContentService,
|
|
15430
15405
|
ApplicationDatssetsCall
|
|
15431
15406
|
]
|
|
15432
15407
|
}]
|