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';
|
|
@@ -1330,1214 +1330,1189 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1330
1330
|
|
|
1331
1331
|
const APP_ENVIRONMENT = new InjectionToken('APP_ENVIRONMENT');
|
|
1332
1332
|
|
|
1333
|
-
class
|
|
1333
|
+
class ApplicationContentService extends AppHttpService {
|
|
1334
1334
|
constructor(httpClient, environment) {
|
|
1335
1335
|
super(httpClient);
|
|
1336
1336
|
this.httpClient = httpClient;
|
|
1337
1337
|
this.environment = environment;
|
|
1338
|
+
this.kpiFilter = new BehaviorSubject([]);
|
|
1339
|
+
this.userkpiFilter$ = this.kpiFilter.asObservable();
|
|
1340
|
+
this.datasets = new BehaviorSubject([]);
|
|
1341
|
+
this.updateDatssets$ = this.datasets.asObservable();
|
|
1338
1342
|
}
|
|
1339
|
-
|
|
1343
|
+
getFilterForKpi(pins) {
|
|
1344
|
+
this.kpiFilter.next(pins);
|
|
1345
|
+
}
|
|
1346
|
+
getCurrentKpiFilterValue() {
|
|
1347
|
+
return this.kpiFilter.getValue();
|
|
1348
|
+
}
|
|
1349
|
+
setCurrentDatasetValue(data) {
|
|
1350
|
+
return this.datasets.next(data);
|
|
1351
|
+
}
|
|
1352
|
+
getDataSet() {
|
|
1353
|
+
const apiUrl = '/assets/api-data/data-set.json';
|
|
1354
|
+
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1355
|
+
return response;
|
|
1356
|
+
}), catchError(this.handleError));
|
|
1357
|
+
}
|
|
1358
|
+
getComponentDataConfigSet() {
|
|
1359
|
+
const apiUrl = '/assets/api-data/component_config.json';
|
|
1360
|
+
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1361
|
+
return response;
|
|
1362
|
+
}), catchError(this.handleError));
|
|
1363
|
+
}
|
|
1364
|
+
listColumnEnrichmentFunctions() {
|
|
1365
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/listColumnEnrichmentFunctions';
|
|
1340
1366
|
return this.http
|
|
1341
|
-
.post(
|
|
1367
|
+
.post(apiUrl, this.options)
|
|
1342
1368
|
.pipe(map((response) => {
|
|
1343
1369
|
return response;
|
|
1344
1370
|
}), catchError(this.handleError));
|
|
1345
1371
|
}
|
|
1346
|
-
|
|
1372
|
+
validateAggregatePaginatedQuery(transformedObject) {
|
|
1373
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/validateAggregatePaginatedQuery';
|
|
1347
1374
|
return this.http
|
|
1348
|
-
.post(
|
|
1375
|
+
.post(apiUrl, JSON.stringify(transformedObject), this.options)
|
|
1349
1376
|
.pipe(map((response) => {
|
|
1350
1377
|
return response;
|
|
1351
1378
|
}), catchError(this.handleError));
|
|
1352
1379
|
}
|
|
1353
|
-
|
|
1380
|
+
getKpiBrowserConfigById(id) {
|
|
1381
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getKpiBrowserConfigById?id=' + id;
|
|
1354
1382
|
return this.http
|
|
1355
|
-
.get(
|
|
1383
|
+
.get(apiUrl, { withCredentials: true })
|
|
1356
1384
|
.pipe(map((response) => {
|
|
1357
1385
|
return response;
|
|
1358
1386
|
}), catchError(this.handleError));
|
|
1359
1387
|
}
|
|
1360
|
-
|
|
1361
|
-
|
|
1388
|
+
getData(body, requestID) {
|
|
1389
|
+
return this.http
|
|
1390
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
1391
|
+
.pipe(map((response) => {
|
|
1392
|
+
return response;
|
|
1393
|
+
}), catchError(this.handleError));
|
|
1394
|
+
}
|
|
1395
|
+
getSimpleApiPostRequest(requestApi, body) {
|
|
1396
|
+
return this.http
|
|
1397
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
1398
|
+
.pipe(map((response) => {
|
|
1399
|
+
return response;
|
|
1400
|
+
}), catchError(this.handleError));
|
|
1401
|
+
}
|
|
1402
|
+
getSimpleApiGetRequest(requestApi) {
|
|
1403
|
+
return this.http
|
|
1404
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
1405
|
+
.pipe(map((response) => {
|
|
1406
|
+
return response;
|
|
1407
|
+
}), catchError(this.handleError));
|
|
1408
|
+
}
|
|
1409
|
+
getJsonDatasetPayload(requestApi) {
|
|
1410
|
+
return this.http
|
|
1411
|
+
.get(this.environment.appUrl + this.environment.apiVersion + requestApi, { withCredentials: true })
|
|
1412
|
+
.pipe(map((response) => {
|
|
1413
|
+
return response;
|
|
1414
|
+
}), catchError(this.handleError));
|
|
1415
|
+
}
|
|
1416
|
+
genericSqlQueryResponse(requestApi, body) {
|
|
1417
|
+
return this.http
|
|
1418
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestApi, JSON.stringify(body), this.options)
|
|
1419
|
+
.pipe(map((response) => {
|
|
1420
|
+
return response;
|
|
1421
|
+
}), catchError(this.handleError));
|
|
1422
|
+
}
|
|
1423
|
+
createAppDataset(body) {
|
|
1424
|
+
return this.http
|
|
1425
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppDataset', JSON.stringify(body), this.options)
|
|
1426
|
+
.pipe(map((response) => {
|
|
1427
|
+
return response;
|
|
1428
|
+
}), catchError(this.handleError));
|
|
1429
|
+
}
|
|
1430
|
+
updateAppDatasetConfig(body) {
|
|
1431
|
+
return this.http
|
|
1432
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/updateAppDatasetConfig', JSON.stringify(body), this.options)
|
|
1433
|
+
.pipe(map((response) => {
|
|
1434
|
+
return response;
|
|
1435
|
+
}), catchError(this.handleError));
|
|
1436
|
+
}
|
|
1437
|
+
deleteAppDatasetConfig(datasetId) {
|
|
1438
|
+
return this.http
|
|
1439
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppDatasetConfig/' + datasetId, this.options)
|
|
1440
|
+
.pipe(map((response) => {
|
|
1441
|
+
return response;
|
|
1442
|
+
}), catchError(this.handleError));
|
|
1443
|
+
}
|
|
1444
|
+
getAppDatasetConfigs() {
|
|
1445
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfigs';
|
|
1362
1446
|
return this.http
|
|
1363
1447
|
.get(apiUrl, { withCredentials: true })
|
|
1364
1448
|
.pipe(map((response) => {
|
|
1365
1449
|
return response;
|
|
1366
1450
|
}), catchError(this.handleError));
|
|
1367
1451
|
}
|
|
1368
|
-
|
|
1369
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/
|
|
1452
|
+
getAppDatasetConfig(datasetId) {
|
|
1453
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
|
|
1370
1454
|
return this.http
|
|
1371
1455
|
.get(apiUrl, { withCredentials: true })
|
|
1372
1456
|
.pipe(map((response) => {
|
|
1373
1457
|
return response;
|
|
1374
1458
|
}), catchError(this.handleError));
|
|
1375
1459
|
}
|
|
1376
|
-
|
|
1460
|
+
createAppViewConfig(body) {
|
|
1377
1461
|
return this.http
|
|
1378
|
-
.
|
|
1462
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppViewConfig', JSON.stringify(body), this.options)
|
|
1379
1463
|
.pipe(map((response) => {
|
|
1380
1464
|
return response;
|
|
1381
1465
|
}), catchError(this.handleError));
|
|
1382
1466
|
}
|
|
1383
|
-
|
|
1467
|
+
updateAppViewConfig(body) {
|
|
1384
1468
|
return this.http
|
|
1385
|
-
.
|
|
1469
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/updateAppViewConfig', JSON.stringify(body), this.options)
|
|
1386
1470
|
.pipe(map((response) => {
|
|
1387
1471
|
return response;
|
|
1388
1472
|
}), catchError(this.handleError));
|
|
1389
1473
|
}
|
|
1390
|
-
|
|
1474
|
+
getAppViewConfigs() {
|
|
1475
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfigs';
|
|
1391
1476
|
return this.http
|
|
1392
|
-
.get(
|
|
1477
|
+
.get(apiUrl, { withCredentials: true })
|
|
1393
1478
|
.pipe(map((response) => {
|
|
1394
1479
|
return response;
|
|
1395
1480
|
}), catchError(this.handleError));
|
|
1396
1481
|
}
|
|
1397
|
-
|
|
1482
|
+
getAppViewConfig(viewId) {
|
|
1483
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfig?viewId=' + viewId;
|
|
1398
1484
|
return this.http
|
|
1399
|
-
.get(
|
|
1485
|
+
.get(apiUrl, { withCredentials: true })
|
|
1400
1486
|
.pipe(map((response) => {
|
|
1401
1487
|
return response;
|
|
1402
1488
|
}), catchError(this.handleError));
|
|
1403
1489
|
}
|
|
1404
|
-
|
|
1490
|
+
deleteAppViewConfig(datasetId) {
|
|
1405
1491
|
return this.http
|
|
1406
|
-
.
|
|
1492
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppViewConfig/' + datasetId, this.options)
|
|
1407
1493
|
.pipe(map((response) => {
|
|
1408
1494
|
return response;
|
|
1409
1495
|
}), catchError(this.handleError));
|
|
1410
1496
|
}
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
providedIn: "root"
|
|
1418
|
-
}]
|
|
1419
|
-
}], ctorParameters: function () {
|
|
1420
|
-
return [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
1421
|
-
type: Inject,
|
|
1422
|
-
args: [APP_ENVIRONMENT]
|
|
1423
|
-
}] }];
|
|
1424
|
-
} });
|
|
1425
|
-
|
|
1426
|
-
class LoadingComponent$1 {
|
|
1427
|
-
constructor() {
|
|
1428
|
-
this.showLoadingModal = true;
|
|
1497
|
+
createAppFilterConfig(body) {
|
|
1498
|
+
return this.http
|
|
1499
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppFilterConfig', JSON.stringify(body), this.options)
|
|
1500
|
+
.pipe(map((response) => {
|
|
1501
|
+
return response;
|
|
1502
|
+
}), catchError(this.handleError));
|
|
1429
1503
|
}
|
|
1430
|
-
|
|
1504
|
+
editAppFilterConfig(body) {
|
|
1505
|
+
return this.http
|
|
1506
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/editAppFilterConfig', JSON.stringify(body), this.options)
|
|
1507
|
+
.pipe(map((response) => {
|
|
1508
|
+
return response;
|
|
1509
|
+
}), catchError(this.handleError));
|
|
1431
1510
|
}
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
class ExceptionOperationComponent {
|
|
1441
|
-
constructor(commonService, service, toastr) {
|
|
1442
|
-
this.commonService = commonService;
|
|
1443
|
-
this.service = service;
|
|
1444
|
-
this.toastr = toastr;
|
|
1445
|
-
this.contentType = "create";
|
|
1446
|
-
this.exceptionMainObject = {
|
|
1447
|
-
configId: "",
|
|
1448
|
-
configName: "",
|
|
1449
|
-
datasource: "",
|
|
1450
|
-
active: false,
|
|
1451
|
-
analyzerType: "",
|
|
1452
|
-
dbConfig: "",
|
|
1453
|
-
tableName: "",
|
|
1454
|
-
dataSelectionType: "",
|
|
1455
|
-
fileNameAttributeName: "",
|
|
1456
|
-
filterList: [{
|
|
1457
|
-
"columnName": "",
|
|
1458
|
-
"dataType": "",
|
|
1459
|
-
"operator": "",
|
|
1460
|
-
"windowFunctionName": "",
|
|
1461
|
-
"value": "",
|
|
1462
|
-
"dateFormat": "",
|
|
1463
|
-
}],
|
|
1464
|
-
patternList: [
|
|
1465
|
-
{
|
|
1466
|
-
"regex": "",
|
|
1467
|
-
"sample": "?_??_?",
|
|
1468
|
-
"fileAttributes": [],
|
|
1469
|
-
"analyzerKeys": [],
|
|
1470
|
-
"sequenceKey": "",
|
|
1471
|
-
"dynamicArgs": {}
|
|
1472
|
-
}
|
|
1473
|
-
]
|
|
1474
|
-
};
|
|
1475
|
-
this.analyzer_type = [{ key: "numeric_sequence", name: "Numeric Sequence" }, { key: "date_sequence", name: "Date Sequence" }];
|
|
1476
|
-
this.isLoader = true;
|
|
1511
|
+
getAppFilterConfigs() {
|
|
1512
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfigs';
|
|
1513
|
+
return this.http
|
|
1514
|
+
.get(apiUrl, { withCredentials: true })
|
|
1515
|
+
.pipe(map((response) => {
|
|
1516
|
+
return response;
|
|
1517
|
+
}), catchError(this.handleError));
|
|
1477
1518
|
}
|
|
1478
|
-
|
|
1479
|
-
this.
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
this.
|
|
1484
|
-
this.operator_list = data;
|
|
1485
|
-
});
|
|
1486
|
-
this.service.getAppDatasource().subscribe(data => {
|
|
1487
|
-
this.datasourcelist = (data['datasource']) ? data['datasource'] : data;
|
|
1488
|
-
});
|
|
1519
|
+
deleteAppFilterConfig(filterId) {
|
|
1520
|
+
return this.http
|
|
1521
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppFilterConfig/' + filterId, this.options)
|
|
1522
|
+
.pipe(map((response) => {
|
|
1523
|
+
return response;
|
|
1524
|
+
}), catchError(this.handleError));
|
|
1489
1525
|
}
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
});
|
|
1526
|
+
getMapData(body, requestID) {
|
|
1527
|
+
const apiUrl = '/assets/api-data/mapjson.json';
|
|
1528
|
+
return this.http
|
|
1529
|
+
.get(apiUrl, { withCredentials: true })
|
|
1530
|
+
.pipe(map((response) => {
|
|
1531
|
+
return response;
|
|
1532
|
+
}), catchError(this.handleError));
|
|
1498
1533
|
}
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
this.
|
|
1502
|
-
|
|
1534
|
+
getDashBoardJson() {
|
|
1535
|
+
const apiUrl = '/assets/api-data/dashboard_lebara.json';
|
|
1536
|
+
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1537
|
+
return response;
|
|
1538
|
+
}), catchError(this.handleError));
|
|
1503
1539
|
}
|
|
1504
|
-
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
analyzerType: "",
|
|
1512
|
-
dbConfig: "",
|
|
1513
|
-
tableName: "",
|
|
1514
|
-
dataSelectionType: "",
|
|
1515
|
-
fileNameAttributeName: "",
|
|
1516
|
-
filterList: [{
|
|
1517
|
-
"columnName": "",
|
|
1518
|
-
"dataType": "",
|
|
1519
|
-
"operator": "",
|
|
1520
|
-
"windowFunctionName": "",
|
|
1521
|
-
"dateFormat": "",
|
|
1522
|
-
"value": ""
|
|
1523
|
-
}],
|
|
1524
|
-
patternList: [
|
|
1525
|
-
{
|
|
1526
|
-
"regex": "",
|
|
1527
|
-
"sample": "",
|
|
1528
|
-
"fileAttributes": [],
|
|
1529
|
-
"analyzerKeys": [],
|
|
1530
|
-
"sequenceKey": "",
|
|
1531
|
-
"dynamicArgs": {}
|
|
1532
|
-
}
|
|
1533
|
-
]
|
|
1534
|
-
};
|
|
1540
|
+
getAppPageConfigs() {
|
|
1541
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
|
|
1542
|
+
return this.http
|
|
1543
|
+
.get(apiUrl, { withCredentials: true })
|
|
1544
|
+
.pipe(map((response) => {
|
|
1545
|
+
return response;
|
|
1546
|
+
}), catchError(this.handleError));
|
|
1535
1547
|
}
|
|
1536
|
-
|
|
1537
|
-
this.
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
active: true,
|
|
1543
|
-
analyzerType: "",
|
|
1544
|
-
dbConfig: "",
|
|
1545
|
-
tableName: "",
|
|
1546
|
-
dataSelectionType: "",
|
|
1547
|
-
fileNameAttributeName: "",
|
|
1548
|
-
filterList: [{
|
|
1549
|
-
"columnName": "",
|
|
1550
|
-
"dataType": "",
|
|
1551
|
-
"operator": "",
|
|
1552
|
-
"windowFunctionName": "",
|
|
1553
|
-
"value": "",
|
|
1554
|
-
"dateFormat": ""
|
|
1555
|
-
}],
|
|
1556
|
-
patternList: [
|
|
1557
|
-
{
|
|
1558
|
-
"regex": "",
|
|
1559
|
-
"sample": "",
|
|
1560
|
-
"fileAttributes": [],
|
|
1561
|
-
"analyzerKeys": [],
|
|
1562
|
-
"sequenceKey": "",
|
|
1563
|
-
"dynamicArgs": {}
|
|
1564
|
-
}
|
|
1565
|
-
]
|
|
1566
|
-
};
|
|
1548
|
+
createAppPageConfig(body) {
|
|
1549
|
+
return this.http
|
|
1550
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppPageConfig', JSON.stringify(body), this.options)
|
|
1551
|
+
.pipe(map((response) => {
|
|
1552
|
+
return response;
|
|
1553
|
+
}), catchError(this.handleError));
|
|
1567
1554
|
}
|
|
1568
|
-
|
|
1555
|
+
editAppPageConfig(body) {
|
|
1556
|
+
return this.http
|
|
1557
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/editAppPageConfig', JSON.stringify(body), this.options)
|
|
1558
|
+
.pipe(map((response) => {
|
|
1559
|
+
return response;
|
|
1560
|
+
}), catchError(this.handleError));
|
|
1569
1561
|
}
|
|
1570
|
-
|
|
1571
|
-
this.
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
"dateFormat": "",
|
|
1577
|
-
"value": ""
|
|
1578
|
-
});
|
|
1562
|
+
deleteAppPageConfig(pageId) {
|
|
1563
|
+
return this.http
|
|
1564
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppPageConfig/' + pageId, this.options)
|
|
1565
|
+
.pipe(map((response) => {
|
|
1566
|
+
return response;
|
|
1567
|
+
}), catchError(this.handleError));
|
|
1579
1568
|
}
|
|
1580
|
-
|
|
1581
|
-
this.
|
|
1569
|
+
createAppWidgetConfig(body) {
|
|
1570
|
+
return this.http
|
|
1571
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createAppWidgetConfig', JSON.stringify(body), this.options)
|
|
1572
|
+
.pipe(map((response) => {
|
|
1573
|
+
return response;
|
|
1574
|
+
}), catchError(this.handleError));
|
|
1582
1575
|
}
|
|
1583
|
-
|
|
1584
|
-
|
|
1576
|
+
editAppWidgetConfig(body) {
|
|
1577
|
+
return this.http
|
|
1578
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/editAppWidgetConfig', JSON.stringify(body), this.options)
|
|
1579
|
+
.pipe(map((response) => {
|
|
1580
|
+
return response;
|
|
1581
|
+
}), catchError(this.handleError));
|
|
1585
1582
|
}
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1583
|
+
getAppPageDetailConfig(pageId) {
|
|
1584
|
+
return this.http
|
|
1585
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageDetailConfig?pageConfigId=' + pageId, this.options)
|
|
1586
|
+
.pipe(map((response) => {
|
|
1587
|
+
return response;
|
|
1588
|
+
}), catchError(this.handleError));
|
|
1590
1589
|
}
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
const itemToMove = this.exceptionMainObject.filterList[index];
|
|
1598
|
-
this.exceptionMainObject.filterList.splice(index, 1);
|
|
1599
|
-
this.exceptionMainObject.filterList.splice(newPosition, 0, itemToMove);
|
|
1590
|
+
deleteAppWidgetConfig(filterId) {
|
|
1591
|
+
return this.http
|
|
1592
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppWidgetConfig/' + filterId, this.options)
|
|
1593
|
+
.pipe(map((response) => {
|
|
1594
|
+
return response;
|
|
1595
|
+
}), catchError(this.handleError));
|
|
1600
1596
|
}
|
|
1601
|
-
|
|
1602
|
-
this.
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
"analyzerKeys": [],
|
|
1608
|
-
"dynamicArgs": {}
|
|
1609
|
-
});
|
|
1597
|
+
getAppFilterConfig(filterId) {
|
|
1598
|
+
return this.http
|
|
1599
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppFilterConfig?filterId=' + filterId, this.options)
|
|
1600
|
+
.pipe(map((response) => {
|
|
1601
|
+
return response;
|
|
1602
|
+
}), catchError(this.handleError));
|
|
1610
1603
|
}
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
return;
|
|
1617
|
-
|
|
1618
|
-
this.exceptionMainObject.patternList.splice(index, 1);
|
|
1619
|
-
this.exceptionMainObject.patternList.splice(newPosition, 0, itemToMove);
|
|
1604
|
+
getKPIReferenceEndPoints() {
|
|
1605
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getKPIReferenceEndPoints';
|
|
1606
|
+
return this.http
|
|
1607
|
+
.get(apiUrl, { withCredentials: true })
|
|
1608
|
+
.pipe(map((response) => {
|
|
1609
|
+
return response;
|
|
1610
|
+
}), catchError(this.handleError));
|
|
1620
1611
|
}
|
|
1621
|
-
|
|
1622
|
-
this.
|
|
1612
|
+
loadKpiBrowser() {
|
|
1613
|
+
return this.http
|
|
1614
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi/loadKpiBrowser', { withCredentials: true })
|
|
1615
|
+
.pipe(map((response) => {
|
|
1616
|
+
return response;
|
|
1617
|
+
}), catchError(this.handleError));
|
|
1623
1618
|
}
|
|
1624
|
-
|
|
1625
|
-
const
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
}
|
|
1619
|
+
getlistKpiBrowser() {
|
|
1620
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
|
|
1621
|
+
return this.http
|
|
1622
|
+
.get(apiUrl, { withCredentials: true })
|
|
1623
|
+
.pipe(map((response) => {
|
|
1624
|
+
return response;
|
|
1625
|
+
}), catchError(this.handleError));
|
|
1631
1626
|
}
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
}
|
|
1627
|
+
getBookmarkedResource() {
|
|
1628
|
+
return this.http
|
|
1629
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/kpi/getBookmarkedResource', { withCredentials: true })
|
|
1630
|
+
.pipe(map((response) => {
|
|
1631
|
+
return response;
|
|
1632
|
+
}), catchError(this.handleError));
|
|
1639
1633
|
}
|
|
1640
|
-
|
|
1641
|
-
this.
|
|
1642
|
-
this.
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
this.getExceptionDataCongigs();
|
|
1648
|
-
}, error: (err) => {
|
|
1649
|
-
this.loadingModal = false;
|
|
1650
|
-
this.isLoader = false;
|
|
1651
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Create Exception Config');
|
|
1652
|
-
}
|
|
1653
|
-
});
|
|
1654
|
-
console.log(this.exceptionMainObject);
|
|
1634
|
+
bookmarkResource(body) {
|
|
1635
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/bookmarkResource';
|
|
1636
|
+
return this.http
|
|
1637
|
+
.post(apiUrl, JSON.stringify(body), this.options)
|
|
1638
|
+
.pipe(map((response) => {
|
|
1639
|
+
return response;
|
|
1640
|
+
}), catchError(this.handleError));
|
|
1655
1641
|
}
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
const allMatch = element.analyzerKeys.every(item => element.fileAttributes.includes(item));
|
|
1663
|
-
const allKeysMatch = Object.keys(element.dynamicArgs).every(key => element.fileAttributes.includes(key));
|
|
1664
|
-
if (!allMatch) {
|
|
1665
|
-
this.toastr.error('Analyzer Keys not valid');
|
|
1666
|
-
return;
|
|
1667
|
-
}
|
|
1668
|
-
if (!allKeysMatch) {
|
|
1669
|
-
this.toastr.error('Filler not valid');
|
|
1670
|
-
return;
|
|
1671
|
-
}
|
|
1672
|
-
const updatedObj = Object.fromEntries(Object.entries(element.dynamicArgs).map(([key, value]) => [`default_${key}_filter`, value]));
|
|
1673
|
-
element.dynamicArgs = updatedObj;
|
|
1674
|
-
}
|
|
1675
|
-
this.loadingModal = true;
|
|
1676
|
-
this.service.saveFileSequenceAnalyzerGroup(this.exceptionMainObject).subscribe({
|
|
1677
|
-
next: (data) => {
|
|
1678
|
-
this.isExceptionConfigCreation = false;
|
|
1679
|
-
this.loadingModal = false;
|
|
1680
|
-
this.isLoader = true;
|
|
1681
|
-
this.getExceptionDataCongigs();
|
|
1682
|
-
}, error: (err) => {
|
|
1683
|
-
this.loadingModal = false;
|
|
1684
|
-
this.isLoader = false;
|
|
1685
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Create Exception Config');
|
|
1686
|
-
}
|
|
1687
|
-
});
|
|
1642
|
+
configureKpiBrowserConfig(body) {
|
|
1643
|
+
return this.http
|
|
1644
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/configureKpiBrowserConfig', JSON.stringify(body), this.options)
|
|
1645
|
+
.pipe(map((response) => {
|
|
1646
|
+
return response;
|
|
1647
|
+
}), catchError(this.handleError));
|
|
1688
1648
|
}
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
next: (data) => {
|
|
1696
|
-
var _a;
|
|
1697
|
-
const currentPageIndex = (_a = this.dataGrid) === null || _a === void 0 ? void 0 : _a.instance.pageIndex();
|
|
1698
|
-
this.getExceptionDataCongigs().then(() => {
|
|
1699
|
-
if (currentPageIndex !== undefined) {
|
|
1700
|
-
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
1701
|
-
}
|
|
1702
|
-
this.isLoader = false;
|
|
1703
|
-
this.toastr.success(data.response);
|
|
1704
|
-
});
|
|
1705
|
-
}, error: (err) => {
|
|
1706
|
-
this.loadingModal = false;
|
|
1707
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'CDR Config Delete');
|
|
1708
|
-
}
|
|
1709
|
-
});
|
|
1710
|
-
}
|
|
1711
|
-
});
|
|
1649
|
+
getCreateKpi(body) {
|
|
1650
|
+
return this.http
|
|
1651
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/createKpi', JSON.stringify(body), this.options)
|
|
1652
|
+
.pipe(map((response) => {
|
|
1653
|
+
return response;
|
|
1654
|
+
}), catchError(this.handleError));
|
|
1712
1655
|
}
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
if (dialogResult) {
|
|
1717
|
-
this.service.activateFileSequenceAnalyzerGroup(data.configId).subscribe({
|
|
1718
|
-
next: (data) => {
|
|
1719
|
-
var _a;
|
|
1720
|
-
const currentPageIndex = (_a = this.dataGrid) === null || _a === void 0 ? void 0 : _a.instance.pageIndex();
|
|
1721
|
-
this.getExceptionDataCongigs().then(() => {
|
|
1722
|
-
if (currentPageIndex !== undefined) {
|
|
1723
|
-
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
1724
|
-
}
|
|
1725
|
-
this.isLoader = false;
|
|
1726
|
-
this.toastr.success(data.response);
|
|
1727
|
-
});
|
|
1728
|
-
}, error: (err) => {
|
|
1729
|
-
console.log(err);
|
|
1730
|
-
this.loadingModal = false;
|
|
1731
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
1732
|
-
}
|
|
1733
|
-
});
|
|
1734
|
-
}
|
|
1656
|
+
uploadDatasetJsonPayload(formData) {
|
|
1657
|
+
const headers = new HttpHeaders({
|
|
1658
|
+
'enctype': 'multipart/form-data',
|
|
1735
1659
|
});
|
|
1660
|
+
const options = { headers: headers, withCredentials: true };
|
|
1661
|
+
return this.http
|
|
1662
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/uploadDatasetJsonPayload', formData, options)
|
|
1663
|
+
.pipe(map((response) => {
|
|
1664
|
+
return response;
|
|
1665
|
+
}), catchError(this.handleError));
|
|
1736
1666
|
}
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
var _a;
|
|
1744
|
-
const currentPageIndex = (_a = this.dataGrid) === null || _a === void 0 ? void 0 : _a.instance.pageIndex();
|
|
1745
|
-
this.getExceptionDataCongigs().then(() => {
|
|
1746
|
-
if (currentPageIndex !== undefined) {
|
|
1747
|
-
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
1748
|
-
}
|
|
1749
|
-
this.isLoader = false;
|
|
1750
|
-
this.toastr.success(data.response);
|
|
1751
|
-
});
|
|
1752
|
-
}, error: (err) => {
|
|
1753
|
-
console.log(err);
|
|
1754
|
-
this.loadingModal = false;
|
|
1755
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
1756
|
-
}
|
|
1757
|
-
});
|
|
1758
|
-
}
|
|
1759
|
-
});
|
|
1667
|
+
getKpiData() {
|
|
1668
|
+
return this.http
|
|
1669
|
+
.get(`${this.environment.basePath}assets/api-data/policy.json`, { withCredentials: true })
|
|
1670
|
+
.pipe(map((response) => {
|
|
1671
|
+
return response;
|
|
1672
|
+
}), catchError(this.handleError));
|
|
1760
1673
|
}
|
|
1761
|
-
|
|
1762
|
-
this.
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
}, error: err => {
|
|
1768
|
-
this.loadingModal = false;
|
|
1769
|
-
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
1770
|
-
}
|
|
1771
|
-
});
|
|
1674
|
+
getGroupDetails() {
|
|
1675
|
+
return this.http
|
|
1676
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/jobs/getGroupDetails', { withCredentials: true })
|
|
1677
|
+
.pipe(map((response) => {
|
|
1678
|
+
return response;
|
|
1679
|
+
}), catchError(this.handleError));
|
|
1772
1680
|
}
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
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" }] });
|
|
1776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExceptionOperationComponent, decorators: [{
|
|
1777
|
-
type: Component,
|
|
1778
|
-
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>" }]
|
|
1779
|
-
}], ctorParameters: function () { return [{ type: CommonService }, { type: ExceptionConfigsService }, { type: i3.ToastrService }]; }, propDecorators: { dataGrid: [{
|
|
1780
|
-
type: ViewChild,
|
|
1781
|
-
args: ['gridContainer', { static: false }]
|
|
1782
|
-
}] } });
|
|
1783
|
-
|
|
1784
|
-
class LoadingModule$1 {
|
|
1785
|
-
}
|
|
1786
|
-
LoadingModule$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1787
|
-
LoadingModule$1.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, declarations: [LoadingComponent$1], imports: [RouterModule,
|
|
1788
|
-
CommonModule,
|
|
1789
|
-
FormsModule], exports: [LoadingComponent$1] });
|
|
1790
|
-
LoadingModule$1.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, imports: [RouterModule,
|
|
1791
|
-
CommonModule,
|
|
1792
|
-
FormsModule] });
|
|
1793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, decorators: [{
|
|
1794
|
-
type: NgModule,
|
|
1795
|
-
args: [{
|
|
1796
|
-
imports: [
|
|
1797
|
-
RouterModule,
|
|
1798
|
-
CommonModule,
|
|
1799
|
-
FormsModule,
|
|
1800
|
-
],
|
|
1801
|
-
declarations: [LoadingComponent$1],
|
|
1802
|
-
exports: [LoadingComponent$1]
|
|
1803
|
-
}]
|
|
1804
|
-
}] });
|
|
1805
|
-
|
|
1806
|
-
const routes = [
|
|
1807
|
-
{
|
|
1808
|
-
path: '',
|
|
1809
|
-
loadChildren: () => Promise.resolve().then(function () { return applicationController_module; }).then((m) => m.PackageApplicationControllerModule),
|
|
1810
|
-
},
|
|
1811
|
-
];
|
|
1812
|
-
class GammaAppControllerModule {
|
|
1813
|
-
}
|
|
1814
|
-
GammaAppControllerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1815
|
-
GammaAppControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, declarations: [GammaAppControllerComponent,
|
|
1816
|
-
ExceptionOperationComponent], imports: [IconsModule, i4.RouterModule, CommonModule,
|
|
1817
|
-
DevExtremeModule,
|
|
1818
|
-
DxButtonModule,
|
|
1819
|
-
DxCheckBoxModule,
|
|
1820
|
-
DxNumberBoxModule,
|
|
1821
|
-
DxDataGridModule,
|
|
1822
|
-
DxDropDownBoxModule,
|
|
1823
|
-
DxTreeViewModule,
|
|
1824
|
-
DxScrollViewModule,
|
|
1825
|
-
DxFormModule,
|
|
1826
|
-
DxAccordionModule,
|
|
1827
|
-
FormsModule,
|
|
1828
|
-
DxTagBoxModule,
|
|
1829
|
-
ReactiveFormsModule,
|
|
1830
|
-
MatIconModule,
|
|
1831
|
-
DxHtmlEditorModule,
|
|
1832
|
-
DxBulletModule,
|
|
1833
|
-
DxChartModule,
|
|
1834
|
-
DxDateBoxModule,
|
|
1835
|
-
DxLoadPanelModule,
|
|
1836
|
-
DxLookupModule,
|
|
1837
|
-
DxPivotGridModule,
|
|
1838
|
-
DxTemplateModule,
|
|
1839
|
-
DxTextAreaModule,
|
|
1840
|
-
DxValidationSummaryModule,
|
|
1841
|
-
DxValidatorModule,
|
|
1842
|
-
DxCalendarModule,
|
|
1843
|
-
DxTooltipModule,
|
|
1844
|
-
DxContextMenuModule,
|
|
1845
|
-
DxLoadIndicatorModule,
|
|
1846
|
-
DxPieChartModule,
|
|
1847
|
-
MatTooltipModule,
|
|
1848
|
-
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
1849
|
-
MatButtonModule,
|
|
1850
|
-
MatDividerModule,
|
|
1851
|
-
MatMenuModule,
|
|
1852
|
-
MatIconModule,
|
|
1853
|
-
LoadingModule$1], exports: [RouterModule,
|
|
1854
|
-
GammaAppControllerComponent,
|
|
1855
|
-
IconsModule,
|
|
1856
|
-
ExceptionOperationComponent] });
|
|
1857
|
-
GammaAppControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, imports: [IconsModule,
|
|
1858
|
-
RouterModule.forChild(routes),
|
|
1859
|
-
CommonModule,
|
|
1860
|
-
DevExtremeModule,
|
|
1861
|
-
DxButtonModule,
|
|
1862
|
-
DxCheckBoxModule,
|
|
1863
|
-
DxNumberBoxModule,
|
|
1864
|
-
DxDataGridModule,
|
|
1865
|
-
DxDropDownBoxModule,
|
|
1866
|
-
DxTreeViewModule,
|
|
1867
|
-
DxScrollViewModule,
|
|
1868
|
-
DxFormModule,
|
|
1869
|
-
DxAccordionModule,
|
|
1870
|
-
FormsModule,
|
|
1871
|
-
DxTagBoxModule,
|
|
1872
|
-
ReactiveFormsModule,
|
|
1873
|
-
MatIconModule,
|
|
1874
|
-
DxHtmlEditorModule,
|
|
1875
|
-
DxBulletModule,
|
|
1876
|
-
DxChartModule,
|
|
1877
|
-
DxDateBoxModule,
|
|
1878
|
-
DxLoadPanelModule,
|
|
1879
|
-
DxLookupModule,
|
|
1880
|
-
DxPivotGridModule,
|
|
1881
|
-
DxTemplateModule,
|
|
1882
|
-
DxTextAreaModule,
|
|
1883
|
-
DxValidationSummaryModule,
|
|
1884
|
-
DxValidatorModule,
|
|
1885
|
-
DxCalendarModule,
|
|
1886
|
-
DxTooltipModule,
|
|
1887
|
-
DxContextMenuModule,
|
|
1888
|
-
DxLoadIndicatorModule,
|
|
1889
|
-
DxPieChartModule,
|
|
1890
|
-
MatTooltipModule,
|
|
1891
|
-
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
1892
|
-
MatButtonModule,
|
|
1893
|
-
MatDividerModule,
|
|
1894
|
-
MatMenuModule,
|
|
1895
|
-
MatIconModule,
|
|
1896
|
-
LoadingModule$1, RouterModule,
|
|
1897
|
-
IconsModule] });
|
|
1898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, decorators: [{
|
|
1899
|
-
type: NgModule,
|
|
1900
|
-
args: [{
|
|
1901
|
-
declarations: [
|
|
1902
|
-
GammaAppControllerComponent,
|
|
1903
|
-
ExceptionOperationComponent
|
|
1904
|
-
],
|
|
1905
|
-
imports: [
|
|
1906
|
-
IconsModule,
|
|
1907
|
-
RouterModule.forChild(routes),
|
|
1908
|
-
CommonModule,
|
|
1909
|
-
DevExtremeModule,
|
|
1910
|
-
DxButtonModule,
|
|
1911
|
-
DxCheckBoxModule,
|
|
1912
|
-
DxNumberBoxModule,
|
|
1913
|
-
DxDataGridModule,
|
|
1914
|
-
DxDropDownBoxModule,
|
|
1915
|
-
DxTreeViewModule,
|
|
1916
|
-
DxScrollViewModule,
|
|
1917
|
-
DxFormModule,
|
|
1918
|
-
DxAccordionModule,
|
|
1919
|
-
FormsModule,
|
|
1920
|
-
DxTagBoxModule,
|
|
1921
|
-
ReactiveFormsModule,
|
|
1922
|
-
MatIconModule,
|
|
1923
|
-
DxHtmlEditorModule,
|
|
1924
|
-
DxBulletModule,
|
|
1925
|
-
DxChartModule,
|
|
1926
|
-
DxDateBoxModule,
|
|
1927
|
-
DxLoadPanelModule,
|
|
1928
|
-
DxLookupModule,
|
|
1929
|
-
DxPivotGridModule,
|
|
1930
|
-
DxTemplateModule,
|
|
1931
|
-
DxTextAreaModule,
|
|
1932
|
-
DxValidationSummaryModule,
|
|
1933
|
-
DxValidatorModule,
|
|
1934
|
-
DxCalendarModule,
|
|
1935
|
-
DxTooltipModule,
|
|
1936
|
-
DxContextMenuModule,
|
|
1937
|
-
DxLoadIndicatorModule,
|
|
1938
|
-
DxPieChartModule,
|
|
1939
|
-
MatTooltipModule,
|
|
1940
|
-
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
1941
|
-
MatButtonModule,
|
|
1942
|
-
MatDividerModule,
|
|
1943
|
-
MatMenuModule,
|
|
1944
|
-
MatIconModule,
|
|
1945
|
-
LoadingModule$1
|
|
1946
|
-
],
|
|
1947
|
-
exports: [
|
|
1948
|
-
RouterModule,
|
|
1949
|
-
GammaAppControllerComponent,
|
|
1950
|
-
IconsModule,
|
|
1951
|
-
ExceptionOperationComponent
|
|
1952
|
-
]
|
|
1953
|
-
}]
|
|
1954
|
-
}] });
|
|
1955
|
-
|
|
1956
|
-
class ApplicationContentService extends AppHttpService {
|
|
1957
|
-
constructor(httpClient, environment) {
|
|
1958
|
-
super(httpClient);
|
|
1959
|
-
this.httpClient = httpClient;
|
|
1960
|
-
this.environment = environment;
|
|
1961
|
-
this.kpiFilter = new BehaviorSubject([]);
|
|
1962
|
-
this.userkpiFilter$ = this.kpiFilter.asObservable();
|
|
1963
|
-
this.datasets = new BehaviorSubject([]);
|
|
1964
|
-
this.updateDatssets$ = this.datasets.asObservable();
|
|
1965
|
-
}
|
|
1966
|
-
getFilterForKpi(pins) {
|
|
1967
|
-
this.kpiFilter.next(pins);
|
|
1968
|
-
}
|
|
1969
|
-
getCurrentKpiFilterValue() {
|
|
1970
|
-
return this.kpiFilter.getValue();
|
|
1971
|
-
}
|
|
1972
|
-
setCurrentDatasetValue(data) {
|
|
1973
|
-
return this.datasets.next(data);
|
|
1974
|
-
}
|
|
1975
|
-
getDataSet() {
|
|
1976
|
-
const apiUrl = '/assets/api-data/data-set.json';
|
|
1977
|
-
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1978
|
-
return response;
|
|
1979
|
-
}), catchError(this.handleError));
|
|
1980
|
-
}
|
|
1981
|
-
getComponentDataConfigSet() {
|
|
1982
|
-
const apiUrl = '/assets/api-data/component_config.json';
|
|
1983
|
-
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
1984
|
-
return response;
|
|
1985
|
-
}), catchError(this.handleError));
|
|
1681
|
+
loadtableName() {
|
|
1682
|
+
const appUrl = this.environment.appUrl + this.environment.apiVersion + '/search/getSearchDatasourceDetails';
|
|
1683
|
+
return this.http.get(appUrl);
|
|
1986
1684
|
}
|
|
1987
|
-
|
|
1988
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/listColumnEnrichmentFunctions';
|
|
1685
|
+
getSearchResultForDatasource(body) {
|
|
1989
1686
|
return this.http
|
|
1990
|
-
.post(
|
|
1687
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/search/getSearchResultForDatasource', JSON.stringify(body), this.options)
|
|
1991
1688
|
.pipe(map((response) => {
|
|
1992
1689
|
return response;
|
|
1993
1690
|
}), catchError(this.handleError));
|
|
1994
1691
|
}
|
|
1995
|
-
|
|
1996
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/validateAggregatePaginatedQuery';
|
|
1692
|
+
ajaxSelfPrevActivityLogs() {
|
|
1997
1693
|
return this.http
|
|
1998
|
-
.
|
|
1694
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getUserCdrBrowserActivityLogs?activityCount=50')
|
|
1999
1695
|
.pipe(map((response) => {
|
|
2000
1696
|
return response;
|
|
2001
1697
|
}), catchError(this.handleError));
|
|
2002
1698
|
}
|
|
2003
|
-
|
|
2004
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getKpiBrowserConfigById?id=' + id;
|
|
1699
|
+
getCdrBrowserActivityLogs(startDate, endDate) {
|
|
2005
1700
|
return this.http
|
|
2006
|
-
.get(
|
|
1701
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getCdrBrowserActivityLogs?startDate=' + startDate + '&endDate=' + endDate)
|
|
2007
1702
|
.pipe(map((response) => {
|
|
2008
1703
|
return response;
|
|
2009
1704
|
}), catchError(this.handleError));
|
|
2010
1705
|
}
|
|
2011
|
-
|
|
1706
|
+
getAvailableTables() {
|
|
2012
1707
|
return this.http
|
|
2013
|
-
.
|
|
1708
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getAvailableTables', { withCredentials: true })
|
|
2014
1709
|
.pipe(map((response) => {
|
|
2015
1710
|
return response;
|
|
2016
1711
|
}), catchError(this.handleError));
|
|
2017
1712
|
}
|
|
2018
|
-
|
|
1713
|
+
getTableMetadata(tableName) {
|
|
2019
1714
|
return this.http
|
|
2020
|
-
.
|
|
1715
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getTableMetadata?tableName=' + tableName, { withCredentials: true })
|
|
2021
1716
|
.pipe(map((response) => {
|
|
2022
1717
|
return response;
|
|
2023
1718
|
}), catchError(this.handleError));
|
|
2024
1719
|
}
|
|
2025
|
-
|
|
1720
|
+
getCdrBrowserOperations() {
|
|
2026
1721
|
return this.http
|
|
2027
|
-
.get(this.environment.appUrl + this.environment.apiVersion +
|
|
1722
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getCdrBrowserOperations', { withCredentials: true })
|
|
2028
1723
|
.pipe(map((response) => {
|
|
2029
1724
|
return response;
|
|
2030
1725
|
}), catchError(this.handleError));
|
|
2031
1726
|
}
|
|
2032
|
-
|
|
1727
|
+
getSearchDatasourceDetails() {
|
|
2033
1728
|
return this.http
|
|
2034
|
-
.get(this.environment.appUrl + this.environment.apiVersion +
|
|
1729
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getSearchDatasourceDetails', { withCredentials: true })
|
|
2035
1730
|
.pipe(map((response) => {
|
|
2036
1731
|
return response;
|
|
2037
1732
|
}), catchError(this.handleError));
|
|
2038
1733
|
}
|
|
2039
|
-
|
|
1734
|
+
saveDatasourceConfig(body) {
|
|
2040
1735
|
return this.http
|
|
2041
|
-
.post(this.environment.appUrl + this.environment.apiVersion +
|
|
1736
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/search/saveDatasourceConfig', JSON.stringify(body), this.options)
|
|
2042
1737
|
.pipe(map((response) => {
|
|
2043
1738
|
return response;
|
|
2044
1739
|
}), catchError(this.handleError));
|
|
2045
1740
|
}
|
|
2046
|
-
|
|
1741
|
+
editDatasourceConfig(body) {
|
|
2047
1742
|
return this.http
|
|
2048
|
-
.post(this.environment.appUrl + this.environment.apiVersion + '/
|
|
1743
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/search/editDatasourceConfig', JSON.stringify(body), this.options)
|
|
2049
1744
|
.pipe(map((response) => {
|
|
2050
1745
|
return response;
|
|
2051
1746
|
}), catchError(this.handleError));
|
|
2052
1747
|
}
|
|
2053
|
-
|
|
1748
|
+
deleteDatasourceConfig(tableName) {
|
|
2054
1749
|
return this.http
|
|
2055
|
-
.
|
|
1750
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/search/deleteDatasourceConfig/' + tableName, this.options)
|
|
2056
1751
|
.pipe(map((response) => {
|
|
2057
1752
|
return response;
|
|
2058
1753
|
}), catchError(this.handleError));
|
|
2059
1754
|
}
|
|
2060
|
-
|
|
2061
|
-
return this.http
|
|
2062
|
-
.
|
|
1755
|
+
getKpiConfigaration() {
|
|
1756
|
+
return (this.http
|
|
1757
|
+
.get(this.environment.gatewayUrl + this.environment.appName + 'assets/api-data/kpi-config.json', {
|
|
1758
|
+
withCredentials: true,
|
|
1759
|
+
})
|
|
2063
1760
|
.pipe(map((response) => {
|
|
2064
1761
|
return response;
|
|
2065
|
-
}), catchError(this.handleError));
|
|
1762
|
+
}), catchError(this.handleError)));
|
|
2066
1763
|
}
|
|
2067
|
-
|
|
2068
|
-
const apiUrl = this.environment.
|
|
2069
|
-
return this.http
|
|
2070
|
-
.get(apiUrl, { withCredentials: true })
|
|
2071
|
-
.pipe(map((response) => {
|
|
1764
|
+
getlistKpiBrowserTwo() {
|
|
1765
|
+
const apiUrl = this.environment.gatewayUrl + this.environment.appName + '/assets/api-data/dashboard.json';
|
|
1766
|
+
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
2072
1767
|
return response;
|
|
2073
1768
|
}), catchError(this.handleError));
|
|
2074
1769
|
}
|
|
2075
|
-
|
|
2076
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppDatasetConfig?datasetId=' + datasetId;
|
|
1770
|
+
getfilterData() {
|
|
2077
1771
|
return this.http
|
|
2078
|
-
.get(
|
|
1772
|
+
.get("/assets/api-data/filter-direction.json")
|
|
2079
1773
|
.pipe(map((response) => {
|
|
2080
1774
|
return response;
|
|
2081
1775
|
}), catchError(this.handleError));
|
|
2082
1776
|
}
|
|
2083
|
-
|
|
1777
|
+
genericDetailDataResponse(body) {
|
|
2084
1778
|
return this.http
|
|
2085
|
-
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi
|
|
1779
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi/genericDetailDataResponse', JSON.stringify(body), this.options)
|
|
2086
1780
|
.pipe(map((response) => {
|
|
2087
1781
|
return response;
|
|
2088
1782
|
}), catchError(this.handleError));
|
|
2089
1783
|
}
|
|
2090
|
-
|
|
1784
|
+
getUniqueData(api) {
|
|
2091
1785
|
return this.http
|
|
2092
|
-
.
|
|
1786
|
+
.get(this.environment.appUrl + this.environment.apiVersion + api, { withCredentials: true })
|
|
2093
1787
|
.pipe(map((response) => {
|
|
2094
1788
|
return response;
|
|
2095
1789
|
}), catchError(this.handleError));
|
|
2096
1790
|
}
|
|
2097
|
-
|
|
2098
|
-
const apiUrl = this.environment.appUrl +
|
|
1791
|
+
getFilterDataByDrillDown(apiName) {
|
|
1792
|
+
const apiUrl = this.environment.appUrl + apiName;
|
|
2099
1793
|
return this.http
|
|
2100
1794
|
.get(apiUrl, { withCredentials: true })
|
|
2101
1795
|
.pipe(map((response) => {
|
|
2102
1796
|
return response;
|
|
2103
1797
|
}), catchError(this.handleError));
|
|
2104
1798
|
}
|
|
2105
|
-
|
|
2106
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppViewConfig?viewId=' + viewId;
|
|
1799
|
+
getDataByAPI(requestID, body) {
|
|
2107
1800
|
return this.http
|
|
2108
|
-
.
|
|
1801
|
+
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
2109
1802
|
.pipe(map((response) => {
|
|
2110
1803
|
return response;
|
|
2111
1804
|
}), catchError(this.handleError));
|
|
2112
1805
|
}
|
|
2113
|
-
|
|
1806
|
+
getCdrData(api, url) {
|
|
2114
1807
|
return this.http
|
|
2115
|
-
.
|
|
1808
|
+
.get(this.environment.appUrl + this.environment.apiVersion + api + '?' + url)
|
|
2116
1809
|
.pipe(map((response) => {
|
|
2117
1810
|
return response;
|
|
2118
1811
|
}), catchError(this.handleError));
|
|
2119
1812
|
}
|
|
2120
|
-
|
|
1813
|
+
getSrvTypeDataSource() {
|
|
1814
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/srv-params';
|
|
2121
1815
|
return this.http
|
|
2122
|
-
.
|
|
1816
|
+
.get(apiUrl, { withCredentials: true })
|
|
2123
1817
|
.pipe(map((response) => {
|
|
2124
1818
|
return response;
|
|
2125
1819
|
}), catchError(this.handleError));
|
|
2126
1820
|
}
|
|
2127
|
-
|
|
1821
|
+
pagintedActivityLogs(parms, api) {
|
|
1822
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + api;
|
|
2128
1823
|
return this.http
|
|
2129
|
-
.post(
|
|
1824
|
+
.post(apiUrl, JSON.stringify(parms), this.options)
|
|
2130
1825
|
.pipe(map((response) => {
|
|
2131
1826
|
return response;
|
|
2132
1827
|
}), catchError(this.handleError));
|
|
2133
1828
|
}
|
|
2134
|
-
|
|
2135
|
-
const apiUrl =
|
|
1829
|
+
getApiData() {
|
|
1830
|
+
const apiUrl = '/assets/api-data/api-service.json';
|
|
2136
1831
|
return this.http
|
|
2137
1832
|
.get(apiUrl, { withCredentials: true })
|
|
2138
1833
|
.pipe(map((response) => {
|
|
2139
1834
|
return response;
|
|
2140
1835
|
}), catchError(this.handleError));
|
|
2141
1836
|
}
|
|
2142
|
-
|
|
1837
|
+
configureAppMenuConfig(manueConfig) {
|
|
1838
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/configureAppMenuConfig';
|
|
2143
1839
|
return this.http
|
|
2144
|
-
.
|
|
1840
|
+
.post(apiUrl, JSON.stringify(manueConfig), this.options)
|
|
2145
1841
|
.pipe(map((response) => {
|
|
2146
1842
|
return response;
|
|
2147
1843
|
}), catchError(this.handleError));
|
|
2148
1844
|
}
|
|
2149
|
-
|
|
2150
|
-
const apiUrl = '/
|
|
1845
|
+
getListOfParentAppMenu() {
|
|
1846
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getListOfParentAppMenu';
|
|
2151
1847
|
return this.http
|
|
2152
1848
|
.get(apiUrl, { withCredentials: true })
|
|
2153
1849
|
.pipe(map((response) => {
|
|
2154
1850
|
return response;
|
|
2155
1851
|
}), catchError(this.handleError));
|
|
2156
1852
|
}
|
|
2157
|
-
|
|
2158
|
-
const apiUrl = '/
|
|
2159
|
-
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
2160
|
-
return response;
|
|
2161
|
-
}), catchError(this.handleError));
|
|
2162
|
-
}
|
|
2163
|
-
getAppPageConfigs() {
|
|
2164
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppPageConfigs';
|
|
1853
|
+
getAppAppMenuConfigById(manuid) {
|
|
1854
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/getAppAppMenuConfigById?menuId=' + manuid;
|
|
2165
1855
|
return this.http
|
|
2166
1856
|
.get(apiUrl, { withCredentials: true })
|
|
2167
1857
|
.pipe(map((response) => {
|
|
2168
1858
|
return response;
|
|
2169
1859
|
}), catchError(this.handleError));
|
|
2170
1860
|
}
|
|
2171
|
-
|
|
1861
|
+
updateAppMenuConfig(manueConfig) {
|
|
1862
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/updateAppMenuConfig';
|
|
2172
1863
|
return this.http
|
|
2173
|
-
.post(
|
|
1864
|
+
.post(apiUrl, JSON.stringify(manueConfig), this.options)
|
|
2174
1865
|
.pipe(map((response) => {
|
|
2175
1866
|
return response;
|
|
2176
1867
|
}), catchError(this.handleError));
|
|
2177
1868
|
}
|
|
2178
|
-
|
|
1869
|
+
deleteAppMenuConfig(menuId) {
|
|
2179
1870
|
return this.http
|
|
2180
|
-
.
|
|
1871
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/kpi-config/deleteAppMenuConfig/' + menuId, this.options)
|
|
2181
1872
|
.pipe(map((response) => {
|
|
2182
1873
|
return response;
|
|
2183
1874
|
}), catchError(this.handleError));
|
|
2184
1875
|
}
|
|
2185
|
-
|
|
1876
|
+
listMetricConfigs() {
|
|
1877
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/settings/metrics/listMetricConfigs';
|
|
2186
1878
|
return this.http
|
|
2187
|
-
.
|
|
1879
|
+
.get(apiUrl, { withCredentials: true })
|
|
2188
1880
|
.pipe(map((response) => {
|
|
2189
1881
|
return response;
|
|
2190
1882
|
}), catchError(this.handleError));
|
|
2191
1883
|
}
|
|
2192
|
-
|
|
1884
|
+
deleteMetricConfig(metricId) {
|
|
2193
1885
|
return this.http
|
|
2194
|
-
.
|
|
1886
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + '/settings/metrics/deleteMetricConfig/' + metricId, this.options)
|
|
2195
1887
|
.pipe(map((response) => {
|
|
2196
1888
|
return response;
|
|
2197
1889
|
}), catchError(this.handleError));
|
|
2198
1890
|
}
|
|
2199
|
-
|
|
1891
|
+
saveOnlineMetricConfig(metricConfig) {
|
|
1892
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/settings/metrics/saveOnlineMetricConfig';
|
|
2200
1893
|
return this.http
|
|
2201
|
-
.post(
|
|
1894
|
+
.post(apiUrl, JSON.stringify(metricConfig), this.options)
|
|
2202
1895
|
.pipe(map((response) => {
|
|
2203
1896
|
return response;
|
|
2204
1897
|
}), catchError(this.handleError));
|
|
2205
1898
|
}
|
|
2206
|
-
|
|
1899
|
+
editOfflineMetricConfig(metricConfig) {
|
|
1900
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/settings/metrics/editOfflineMetricConfig';
|
|
2207
1901
|
return this.http
|
|
2208
|
-
.
|
|
1902
|
+
.post(apiUrl, JSON.stringify(metricConfig), this.options)
|
|
2209
1903
|
.pipe(map((response) => {
|
|
2210
1904
|
return response;
|
|
2211
1905
|
}), catchError(this.handleError));
|
|
2212
1906
|
}
|
|
2213
|
-
|
|
1907
|
+
saveFileSequenceAnalyzerGroup(body) {
|
|
2214
1908
|
return this.http
|
|
2215
|
-
.
|
|
1909
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/settings/operations/saveFileSequenceAnalyzerGroup', JSON.stringify(body), this.options)
|
|
2216
1910
|
.pipe(map((response) => {
|
|
2217
1911
|
return response;
|
|
2218
1912
|
}), catchError(this.handleError));
|
|
2219
1913
|
}
|
|
2220
|
-
|
|
1914
|
+
editFileSequenceAnalyzerGroup(body) {
|
|
2221
1915
|
return this.http
|
|
2222
|
-
.
|
|
1916
|
+
.post(this.environment.appUrl + this.environment.apiVersion + '/settings/operations/editFileSequenceAnalyzerGroup', JSON.stringify(body), this.options)
|
|
2223
1917
|
.pipe(map((response) => {
|
|
2224
1918
|
return response;
|
|
2225
1919
|
}), catchError(this.handleError));
|
|
2226
1920
|
}
|
|
2227
|
-
|
|
2228
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/
|
|
1921
|
+
getAppSqlFunctionList() {
|
|
1922
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/app-setting/getAppSqlFunctionList';
|
|
2229
1923
|
return this.http
|
|
2230
1924
|
.get(apiUrl, { withCredentials: true })
|
|
2231
1925
|
.pipe(map((response) => {
|
|
2232
1926
|
return response;
|
|
2233
1927
|
}), catchError(this.handleError));
|
|
2234
1928
|
}
|
|
2235
|
-
|
|
1929
|
+
listFileSequenceAnalyzerGroups() {
|
|
1930
|
+
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/settings/operations/listFileSequenceAnalyzerGroups';
|
|
2236
1931
|
return this.http
|
|
2237
|
-
.get(
|
|
1932
|
+
.get(apiUrl, { withCredentials: true })
|
|
2238
1933
|
.pipe(map((response) => {
|
|
2239
1934
|
return response;
|
|
2240
1935
|
}), catchError(this.handleError));
|
|
2241
1936
|
}
|
|
2242
|
-
|
|
2243
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi-config/listKpiBrowser';
|
|
1937
|
+
deleteFileSequenceAnalyzerGroup(configid) {
|
|
2244
1938
|
return this.http
|
|
2245
|
-
.
|
|
1939
|
+
.delete(this.environment.appUrl + this.environment.apiVersion + "/settings/operations/deleteFileSequenceAnalyzerGroup/" + configid, { withCredentials: true })
|
|
2246
1940
|
.pipe(map((response) => {
|
|
2247
1941
|
return response;
|
|
2248
1942
|
}), catchError(this.handleError));
|
|
2249
1943
|
}
|
|
2250
|
-
|
|
1944
|
+
activateFileSequenceAnalyzerGroup(configid) {
|
|
2251
1945
|
return this.http
|
|
2252
|
-
.get(this.environment.appUrl + this.environment.apiVersion +
|
|
1946
|
+
.get(this.environment.appUrl + this.environment.apiVersion + "/settings/operations/activateFileSequenceAnalyzerGroup?configId=" + configid, { withCredentials: true })
|
|
2253
1947
|
.pipe(map((response) => {
|
|
2254
1948
|
return response;
|
|
2255
1949
|
}), catchError(this.handleError));
|
|
2256
1950
|
}
|
|
2257
|
-
|
|
2258
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/bookmarkResource';
|
|
1951
|
+
deactivateFileSequenceAnalyzerGroup(configid) {
|
|
2259
1952
|
return this.http
|
|
2260
|
-
.
|
|
1953
|
+
.get(this.environment.appUrl + this.environment.apiVersion + "/settings/operations/deactivateFileSequenceAnalyzerGroup?configId=" + configid, { withCredentials: true })
|
|
2261
1954
|
.pipe(map((response) => {
|
|
2262
1955
|
return response;
|
|
2263
1956
|
}), catchError(this.handleError));
|
|
2264
1957
|
}
|
|
2265
|
-
|
|
1958
|
+
updateFileSequenceAnalyzerJobs() {
|
|
2266
1959
|
return this.http
|
|
2267
|
-
.
|
|
1960
|
+
.get(this.environment.appUrl + this.environment.apiVersion + "/settings/operations/updateFileSequenceAnalyzerJobs", { withCredentials: true })
|
|
2268
1961
|
.pipe(map((response) => {
|
|
2269
1962
|
return response;
|
|
2270
1963
|
}), catchError(this.handleError));
|
|
2271
1964
|
}
|
|
2272
|
-
|
|
1965
|
+
getAppDatasource() {
|
|
2273
1966
|
return this.http
|
|
2274
|
-
.
|
|
1967
|
+
.get(this.environment.appUrl + this.environment.apiVersion + '/operations/getAppDatasource')
|
|
2275
1968
|
.pipe(map((response) => {
|
|
2276
1969
|
return response;
|
|
2277
1970
|
}), catchError(this.handleError));
|
|
2278
1971
|
}
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
}
|
|
1972
|
+
}
|
|
1973
|
+
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 });
|
|
1974
|
+
ApplicationContentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationContentService, providedIn: "root" });
|
|
1975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationContentService, decorators: [{
|
|
1976
|
+
type: Injectable,
|
|
1977
|
+
args: [{
|
|
1978
|
+
providedIn: "root"
|
|
1979
|
+
}]
|
|
1980
|
+
}], ctorParameters: function () {
|
|
1981
|
+
return [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
1982
|
+
type: Inject,
|
|
1983
|
+
args: [APP_ENVIRONMENT]
|
|
1984
|
+
}] }];
|
|
1985
|
+
} });
|
|
1986
|
+
|
|
1987
|
+
class LoadingComponent$1 {
|
|
1988
|
+
constructor() {
|
|
1989
|
+
this.showLoadingModal = true;
|
|
2289
1990
|
}
|
|
2290
|
-
|
|
2291
|
-
return this.http
|
|
2292
|
-
.get(`${this.environment.basePath}assets/api-data/policy.json`, { withCredentials: true })
|
|
2293
|
-
.pipe(map((response) => {
|
|
2294
|
-
return response;
|
|
2295
|
-
}), catchError(this.handleError));
|
|
1991
|
+
ngOnInit() {
|
|
2296
1992
|
}
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
})
|
|
1993
|
+
}
|
|
1994
|
+
LoadingComponent$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingComponent$1, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1995
|
+
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"] });
|
|
1996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingComponent$1, decorators: [{
|
|
1997
|
+
type: Component,
|
|
1998
|
+
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"] }]
|
|
1999
|
+
}], ctorParameters: function () { return []; } });
|
|
2000
|
+
|
|
2001
|
+
class ExceptionOperationComponent {
|
|
2002
|
+
constructor(commonService, service, toastr) {
|
|
2003
|
+
this.commonService = commonService;
|
|
2004
|
+
this.service = service;
|
|
2005
|
+
this.toastr = toastr;
|
|
2006
|
+
this.contentType = "create";
|
|
2007
|
+
this.exceptionMainObject = {
|
|
2008
|
+
configId: "",
|
|
2009
|
+
configName: "",
|
|
2010
|
+
datasource: "",
|
|
2011
|
+
active: false,
|
|
2012
|
+
analyzerType: "",
|
|
2013
|
+
dbConfig: "",
|
|
2014
|
+
tableName: "",
|
|
2015
|
+
dataSelectionType: "",
|
|
2016
|
+
fileNameAttributeName: "",
|
|
2017
|
+
filterList: [{
|
|
2018
|
+
"columnName": "",
|
|
2019
|
+
"dataType": "",
|
|
2020
|
+
"operator": "",
|
|
2021
|
+
"windowFunctionName": "",
|
|
2022
|
+
"value": "",
|
|
2023
|
+
"dateFormat": "",
|
|
2024
|
+
}],
|
|
2025
|
+
patternList: [
|
|
2026
|
+
{
|
|
2027
|
+
"regex": "",
|
|
2028
|
+
"sample": "?_??_?",
|
|
2029
|
+
"fileAttributes": [],
|
|
2030
|
+
"analyzerKeys": [],
|
|
2031
|
+
"sequenceKey": "",
|
|
2032
|
+
"dynamicArgs": {}
|
|
2033
|
+
}
|
|
2034
|
+
]
|
|
2035
|
+
};
|
|
2036
|
+
this.analyzer_type = [{ key: "numeric_sequence", name: "Numeric Sequence" }, { key: "date_sequence", name: "Date Sequence" }];
|
|
2037
|
+
this.isLoader = true;
|
|
2303
2038
|
}
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2039
|
+
ngOnInit() {
|
|
2040
|
+
this.getExceptionDataCongigs();
|
|
2041
|
+
this.service.getAppSqlFunctionList().subscribe(data => {
|
|
2042
|
+
this.functionNameContainer = data;
|
|
2043
|
+
});
|
|
2044
|
+
this.service.getCdrBrowserOperations().subscribe(data => {
|
|
2045
|
+
this.operator_list = data;
|
|
2046
|
+
});
|
|
2047
|
+
this.service.getAppDatasource().subscribe(data => {
|
|
2048
|
+
this.datasourcelist = (data['datasource']) ? data['datasource'] : data;
|
|
2049
|
+
});
|
|
2307
2050
|
}
|
|
2308
|
-
|
|
2309
|
-
return
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2051
|
+
getExceptionDataCongigs() {
|
|
2052
|
+
return new Promise((resolve) => {
|
|
2053
|
+
this.service.listFileSequenceAnalyzerGroups().subscribe((data) => {
|
|
2054
|
+
this.allExceptionConfigDataSource = data;
|
|
2055
|
+
this.isLoader = false;
|
|
2056
|
+
resolve();
|
|
2057
|
+
});
|
|
2058
|
+
});
|
|
2314
2059
|
}
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
return response;
|
|
2320
|
-
}), catchError(this.handleError));
|
|
2060
|
+
editExceptionConfigConfig(data) {
|
|
2061
|
+
this.contentType = "edit";
|
|
2062
|
+
this.isExceptionConfigCreation = true;
|
|
2063
|
+
this.exceptionMainObject = data;
|
|
2321
2064
|
}
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2065
|
+
createExceptionConfig() {
|
|
2066
|
+
this.isExceptionConfigCreation = true;
|
|
2067
|
+
this.exceptionMainObject = {
|
|
2068
|
+
configId: "",
|
|
2069
|
+
configName: "",
|
|
2070
|
+
datasource: "",
|
|
2071
|
+
active: true,
|
|
2072
|
+
analyzerType: "",
|
|
2073
|
+
dbConfig: "",
|
|
2074
|
+
tableName: "",
|
|
2075
|
+
dataSelectionType: "",
|
|
2076
|
+
fileNameAttributeName: "",
|
|
2077
|
+
filterList: [{
|
|
2078
|
+
"columnName": "",
|
|
2079
|
+
"dataType": "",
|
|
2080
|
+
"operator": "",
|
|
2081
|
+
"windowFunctionName": "",
|
|
2082
|
+
"dateFormat": "",
|
|
2083
|
+
"value": ""
|
|
2084
|
+
}],
|
|
2085
|
+
patternList: [
|
|
2086
|
+
{
|
|
2087
|
+
"regex": "",
|
|
2088
|
+
"sample": "",
|
|
2089
|
+
"fileAttributes": [],
|
|
2090
|
+
"analyzerKeys": [],
|
|
2091
|
+
"sequenceKey": "",
|
|
2092
|
+
"dynamicArgs": {}
|
|
2093
|
+
}
|
|
2094
|
+
]
|
|
2095
|
+
};
|
|
2328
2096
|
}
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2097
|
+
getCancleExceptionCreation() {
|
|
2098
|
+
this.isExceptionConfigCreation = false;
|
|
2099
|
+
this.exceptionMainObject = {
|
|
2100
|
+
configId: "",
|
|
2101
|
+
configName: "",
|
|
2102
|
+
datasource: "",
|
|
2103
|
+
active: true,
|
|
2104
|
+
analyzerType: "",
|
|
2105
|
+
dbConfig: "",
|
|
2106
|
+
tableName: "",
|
|
2107
|
+
dataSelectionType: "",
|
|
2108
|
+
fileNameAttributeName: "",
|
|
2109
|
+
filterList: [{
|
|
2110
|
+
"columnName": "",
|
|
2111
|
+
"dataType": "",
|
|
2112
|
+
"operator": "",
|
|
2113
|
+
"windowFunctionName": "",
|
|
2114
|
+
"value": "",
|
|
2115
|
+
"dateFormat": ""
|
|
2116
|
+
}],
|
|
2117
|
+
patternList: [
|
|
2118
|
+
{
|
|
2119
|
+
"regex": "",
|
|
2120
|
+
"sample": "",
|
|
2121
|
+
"fileAttributes": [],
|
|
2122
|
+
"analyzerKeys": [],
|
|
2123
|
+
"sequenceKey": "",
|
|
2124
|
+
"dynamicArgs": {}
|
|
2125
|
+
}
|
|
2126
|
+
]
|
|
2127
|
+
};
|
|
2335
2128
|
}
|
|
2336
|
-
|
|
2337
|
-
return this.http
|
|
2338
|
-
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getTableMetadata?tableName=' + tableName, { withCredentials: true })
|
|
2339
|
-
.pipe(map((response) => {
|
|
2340
|
-
return response;
|
|
2341
|
-
}), catchError(this.handleError));
|
|
2129
|
+
getDataConfig(e) {
|
|
2342
2130
|
}
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2131
|
+
getProcessForConfig() {
|
|
2132
|
+
this.exceptionMainObject.filterList.push({
|
|
2133
|
+
"columnName": "",
|
|
2134
|
+
"dataType": "",
|
|
2135
|
+
"operator": "",
|
|
2136
|
+
"windowFunctionName": "",
|
|
2137
|
+
"dateFormat": "",
|
|
2138
|
+
"value": ""
|
|
2139
|
+
});
|
|
2349
2140
|
}
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
.get(this.environment.appUrl + this.environment.apiVersion + '/search/getSearchDatasourceDetails', { withCredentials: true })
|
|
2353
|
-
.pipe(map((response) => {
|
|
2354
|
-
return response;
|
|
2355
|
-
}), catchError(this.handleError));
|
|
2141
|
+
deleteColume(i) {
|
|
2142
|
+
this.exceptionMainObject.filterList.splice(i, 1);
|
|
2356
2143
|
}
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
.post(this.environment.appUrl + this.environment.apiVersion + '/search/saveDatasourceConfig', JSON.stringify(body), this.options)
|
|
2360
|
-
.pipe(map((response) => {
|
|
2361
|
-
return response;
|
|
2362
|
-
}), catchError(this.handleError));
|
|
2144
|
+
deleteDynamicArguments(item, key, index) {
|
|
2145
|
+
delete this.exceptionMainObject.patternList[index]['dynamicArgs'][key];
|
|
2363
2146
|
}
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
return response;
|
|
2369
|
-
}), catchError(this.handleError));
|
|
2147
|
+
addDynamicArgument(index) {
|
|
2148
|
+
let newKey = '';
|
|
2149
|
+
let newValue = '';
|
|
2150
|
+
this.exceptionMainObject.patternList[index]['dynamicArgs'][newKey] = newValue;
|
|
2370
2151
|
}
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2152
|
+
moveItemForColumns(index, direction) {
|
|
2153
|
+
if (index < 0 || index >= this.exceptionMainObject.filterList.length)
|
|
2154
|
+
return;
|
|
2155
|
+
const newPosition = direction === 'up' ? index - 1 : index + 1;
|
|
2156
|
+
if (newPosition < 0 || newPosition >= this.exceptionMainObject.filterList.length)
|
|
2157
|
+
return;
|
|
2158
|
+
const itemToMove = this.exceptionMainObject.filterList[index];
|
|
2159
|
+
this.exceptionMainObject.filterList.splice(index, 1);
|
|
2160
|
+
this.exceptionMainObject.filterList.splice(newPosition, 0, itemToMove);
|
|
2377
2161
|
}
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
getlistKpiBrowserTwo() {
|
|
2388
|
-
const apiUrl = this.environment.gatewayUrl + this.environment.appName + '/assets/api-data/dashboard.json';
|
|
2389
|
-
return this.http.get(apiUrl, { withCredentials: true }).pipe(map((response) => {
|
|
2390
|
-
return response;
|
|
2391
|
-
}), catchError(this.handleError));
|
|
2392
|
-
}
|
|
2393
|
-
getfilterData() {
|
|
2394
|
-
return this.http
|
|
2395
|
-
.get("/assets/api-data/filter-direction.json")
|
|
2396
|
-
.pipe(map((response) => {
|
|
2397
|
-
return response;
|
|
2398
|
-
}), catchError(this.handleError));
|
|
2399
|
-
}
|
|
2400
|
-
genericDetailDataResponse(body) {
|
|
2401
|
-
return this.http
|
|
2402
|
-
.post(this.environment.appUrl + this.environment.apiVersion + '/kpi/genericDetailDataResponse', JSON.stringify(body), this.options)
|
|
2403
|
-
.pipe(map((response) => {
|
|
2404
|
-
return response;
|
|
2405
|
-
}), catchError(this.handleError));
|
|
2406
|
-
}
|
|
2407
|
-
getUniqueData(api) {
|
|
2408
|
-
return this.http
|
|
2409
|
-
.get(this.environment.appUrl + this.environment.apiVersion + api, { withCredentials: true })
|
|
2410
|
-
.pipe(map((response) => {
|
|
2411
|
-
return response;
|
|
2412
|
-
}), catchError(this.handleError));
|
|
2413
|
-
}
|
|
2414
|
-
getFilterDataByDrillDown(apiName) {
|
|
2415
|
-
const apiUrl = this.environment.appUrl + apiName;
|
|
2416
|
-
return this.http
|
|
2417
|
-
.get(apiUrl, { withCredentials: true })
|
|
2418
|
-
.pipe(map((response) => {
|
|
2419
|
-
return response;
|
|
2420
|
-
}), catchError(this.handleError));
|
|
2421
|
-
}
|
|
2422
|
-
getDataByAPI(requestID, body) {
|
|
2423
|
-
return this.http
|
|
2424
|
-
.post(this.environment.appUrl + this.environment.apiVersion + requestID, JSON.stringify(body), this.options)
|
|
2425
|
-
.pipe(map((response) => {
|
|
2426
|
-
return response;
|
|
2427
|
-
}), catchError(this.handleError));
|
|
2428
|
-
}
|
|
2429
|
-
getCdrData(api, url) {
|
|
2430
|
-
return this.http
|
|
2431
|
-
.get(this.environment.appUrl + this.environment.apiVersion + api + '?' + url)
|
|
2432
|
-
.pipe(map((response) => {
|
|
2433
|
-
return response;
|
|
2434
|
-
}), catchError(this.handleError));
|
|
2435
|
-
}
|
|
2436
|
-
getSrvTypeDataSource() {
|
|
2437
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + '/kpi/srv-params';
|
|
2438
|
-
return this.http
|
|
2439
|
-
.get(apiUrl, { withCredentials: true })
|
|
2440
|
-
.pipe(map((response) => {
|
|
2441
|
-
return response;
|
|
2442
|
-
}), catchError(this.handleError));
|
|
2443
|
-
}
|
|
2444
|
-
pagintedActivityLogs(parms, api) {
|
|
2445
|
-
const apiUrl = this.environment.appUrl + this.environment.apiVersion + api;
|
|
2446
|
-
return this.http
|
|
2447
|
-
.post(apiUrl, JSON.stringify(parms), this.options)
|
|
2448
|
-
.pipe(map((response) => {
|
|
2449
|
-
return response;
|
|
2450
|
-
}), catchError(this.handleError));
|
|
2162
|
+
getAddPatternsConfig() {
|
|
2163
|
+
this.exceptionMainObject.patternList.push({
|
|
2164
|
+
"regex": "",
|
|
2165
|
+
"sample": "",
|
|
2166
|
+
"sequenceKey": "",
|
|
2167
|
+
"fileAttributes": [],
|
|
2168
|
+
"analyzerKeys": [],
|
|
2169
|
+
"dynamicArgs": {}
|
|
2170
|
+
});
|
|
2451
2171
|
}
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
return
|
|
2458
|
-
|
|
2172
|
+
moveItemForpatterns(index, direction) {
|
|
2173
|
+
if (index < 0 || index >= this.exceptionMainObject.patternList.length)
|
|
2174
|
+
return;
|
|
2175
|
+
const newPosition = direction === 'up' ? index - 1 : index + 1;
|
|
2176
|
+
if (newPosition < 0 || newPosition >= this.exceptionMainObject.patternList.length)
|
|
2177
|
+
return;
|
|
2178
|
+
const itemToMove = this.exceptionMainObject.patternList[index];
|
|
2179
|
+
this.exceptionMainObject.patternList.splice(index, 1);
|
|
2180
|
+
this.exceptionMainObject.patternList.splice(newPosition, 0, itemToMove);
|
|
2459
2181
|
}
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
return this.http
|
|
2463
|
-
.post(apiUrl, JSON.stringify(manueConfig), this.options)
|
|
2464
|
-
.pipe(map((response) => {
|
|
2465
|
-
return response;
|
|
2466
|
-
}), catchError(this.handleError));
|
|
2182
|
+
deletePatternsColume(i) {
|
|
2183
|
+
this.exceptionMainObject.patternList.splice(i, 1);
|
|
2467
2184
|
}
|
|
2468
|
-
|
|
2469
|
-
const
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
}
|
|
2185
|
+
onCustomFileAttributesAdd(args) {
|
|
2186
|
+
const newValue = args.text;
|
|
2187
|
+
args.customItem = newValue;
|
|
2188
|
+
const isItemInDataSource = this.exceptionMainObject.patternList['fileAttributes'].some((item) => item === newValue);
|
|
2189
|
+
if (!isItemInDataSource) {
|
|
2190
|
+
this.exceptionMainObject.patternList['fileAttributes'].unshift(newValue);
|
|
2191
|
+
}
|
|
2475
2192
|
}
|
|
2476
|
-
|
|
2477
|
-
const
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
}
|
|
2193
|
+
onCustomAnalizerKeyAdd(args) {
|
|
2194
|
+
const newValue = args.text;
|
|
2195
|
+
args.customItem = newValue;
|
|
2196
|
+
const isItemInDataSource = this.exceptionMainObject.patternList['analyzerKeys'].some((item) => item === newValue);
|
|
2197
|
+
if (!isItemInDataSource) {
|
|
2198
|
+
this.exceptionMainObject.patternList['analyzerKeys'].unshift(newValue);
|
|
2199
|
+
}
|
|
2483
2200
|
}
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2201
|
+
updateExceptionConfig() {
|
|
2202
|
+
this.loadingModal = true;
|
|
2203
|
+
this.service.editFileSequenceAnalyzerGroup(this.exceptionMainObject).subscribe({
|
|
2204
|
+
next: (data) => {
|
|
2205
|
+
this.isExceptionConfigCreation = false;
|
|
2206
|
+
this.loadingModal = false;
|
|
2207
|
+
this.isLoader = true;
|
|
2208
|
+
this.getExceptionDataCongigs();
|
|
2209
|
+
}, error: (err) => {
|
|
2210
|
+
this.loadingModal = false;
|
|
2211
|
+
this.isLoader = false;
|
|
2212
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Create Exception Config');
|
|
2213
|
+
}
|
|
2214
|
+
});
|
|
2215
|
+
console.log(this.exceptionMainObject);
|
|
2491
2216
|
}
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2217
|
+
saveExceptionConfig() {
|
|
2218
|
+
for (const element of this.exceptionMainObject.patternList) {
|
|
2219
|
+
if (!element.fileAttributes.includes(element.sequenceKey)) {
|
|
2220
|
+
this.toastr.error('Sequence Key not valid');
|
|
2221
|
+
return;
|
|
2222
|
+
}
|
|
2223
|
+
const allMatch = element.analyzerKeys.every(item => element.fileAttributes.includes(item));
|
|
2224
|
+
const allKeysMatch = Object.keys(element.dynamicArgs).every(key => element.fileAttributes.includes(key));
|
|
2225
|
+
if (!allMatch) {
|
|
2226
|
+
this.toastr.error('Analyzer Keys not valid');
|
|
2227
|
+
return;
|
|
2228
|
+
}
|
|
2229
|
+
if (!allKeysMatch) {
|
|
2230
|
+
this.toastr.error('Filler not valid');
|
|
2231
|
+
return;
|
|
2232
|
+
}
|
|
2233
|
+
const updatedObj = Object.fromEntries(Object.entries(element.dynamicArgs).map(([key, value]) => [`default_${key}_filter`, value]));
|
|
2234
|
+
element.dynamicArgs = updatedObj;
|
|
2235
|
+
}
|
|
2236
|
+
this.loadingModal = true;
|
|
2237
|
+
this.service.saveFileSequenceAnalyzerGroup(this.exceptionMainObject).subscribe({
|
|
2238
|
+
next: (data) => {
|
|
2239
|
+
this.isExceptionConfigCreation = false;
|
|
2240
|
+
this.loadingModal = false;
|
|
2241
|
+
this.isLoader = true;
|
|
2242
|
+
this.getExceptionDataCongigs();
|
|
2243
|
+
}, error: (err) => {
|
|
2244
|
+
this.loadingModal = false;
|
|
2245
|
+
this.isLoader = false;
|
|
2246
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Create Exception Config');
|
|
2247
|
+
}
|
|
2248
|
+
});
|
|
2498
2249
|
}
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2250
|
+
deleteExceptionConfig(data) {
|
|
2251
|
+
let result = confirm("<i>Are You Sure?</i>", "Delete Config");
|
|
2252
|
+
result.then((dialogResult) => {
|
|
2253
|
+
if (dialogResult) {
|
|
2254
|
+
this.loadingModal = true;
|
|
2255
|
+
this.service.deleteFileSequenceAnalyzerGroup(data.configId).subscribe({
|
|
2256
|
+
next: (data) => {
|
|
2257
|
+
var _a;
|
|
2258
|
+
const currentPageIndex = (_a = this.dataGrid) === null || _a === void 0 ? void 0 : _a.instance.pageIndex();
|
|
2259
|
+
this.getExceptionDataCongigs().then(() => {
|
|
2260
|
+
if (currentPageIndex !== undefined) {
|
|
2261
|
+
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
2262
|
+
}
|
|
2263
|
+
this.isLoader = false;
|
|
2264
|
+
this.toastr.success(data.response);
|
|
2265
|
+
});
|
|
2266
|
+
}, error: (err) => {
|
|
2267
|
+
this.loadingModal = false;
|
|
2268
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'CDR Config Delete');
|
|
2269
|
+
}
|
|
2270
|
+
});
|
|
2271
|
+
}
|
|
2272
|
+
});
|
|
2506
2273
|
}
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2274
|
+
activatedException(data) {
|
|
2275
|
+
let result = confirm("<i>Are You Sure?</i>", "Activate Config");
|
|
2276
|
+
result.then((dialogResult) => {
|
|
2277
|
+
if (dialogResult) {
|
|
2278
|
+
this.service.activateFileSequenceAnalyzerGroup(data.configId).subscribe({
|
|
2279
|
+
next: (data) => {
|
|
2280
|
+
var _a;
|
|
2281
|
+
const currentPageIndex = (_a = this.dataGrid) === null || _a === void 0 ? void 0 : _a.instance.pageIndex();
|
|
2282
|
+
this.getExceptionDataCongigs().then(() => {
|
|
2283
|
+
if (currentPageIndex !== undefined) {
|
|
2284
|
+
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
2285
|
+
}
|
|
2286
|
+
this.isLoader = false;
|
|
2287
|
+
this.toastr.success(data.response);
|
|
2288
|
+
});
|
|
2289
|
+
}, error: (err) => {
|
|
2290
|
+
console.log(err);
|
|
2291
|
+
this.loadingModal = false;
|
|
2292
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
2293
|
+
}
|
|
2294
|
+
});
|
|
2295
|
+
}
|
|
2296
|
+
});
|
|
2513
2297
|
}
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2298
|
+
deActivatedException(data) {
|
|
2299
|
+
let result = confirm("<i>Are You Sure?</i>", "Deactivate Config");
|
|
2300
|
+
result.then((dialogResult) => {
|
|
2301
|
+
if (dialogResult) {
|
|
2302
|
+
this.service.deactivateFileSequenceAnalyzerGroup(data.configId).subscribe({
|
|
2303
|
+
next: (data) => {
|
|
2304
|
+
var _a;
|
|
2305
|
+
const currentPageIndex = (_a = this.dataGrid) === null || _a === void 0 ? void 0 : _a.instance.pageIndex();
|
|
2306
|
+
this.getExceptionDataCongigs().then(() => {
|
|
2307
|
+
if (currentPageIndex !== undefined) {
|
|
2308
|
+
this.dataGrid.instance.pageIndex(currentPageIndex);
|
|
2309
|
+
}
|
|
2310
|
+
this.isLoader = false;
|
|
2311
|
+
this.toastr.success(data.response);
|
|
2312
|
+
});
|
|
2313
|
+
}, error: (err) => {
|
|
2314
|
+
console.log(err);
|
|
2315
|
+
this.loadingModal = false;
|
|
2316
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
2317
|
+
}
|
|
2318
|
+
});
|
|
2319
|
+
}
|
|
2320
|
+
});
|
|
2521
2321
|
}
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2322
|
+
updateFileSequenceAnalyzerJobs() {
|
|
2323
|
+
this.loadingModal = true;
|
|
2324
|
+
this.service.updateFileSequenceAnalyzerJobs().subscribe({
|
|
2325
|
+
next: (data) => {
|
|
2326
|
+
this.loadingModal = false;
|
|
2327
|
+
this.toastr.success("File Sequence Analyzer Jobs Updated");
|
|
2328
|
+
}, error: err => {
|
|
2329
|
+
this.loadingModal = false;
|
|
2330
|
+
this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Exception Config');
|
|
2331
|
+
}
|
|
2332
|
+
});
|
|
2529
2333
|
}
|
|
2530
2334
|
}
|
|
2531
|
-
|
|
2532
|
-
ApplicationContentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplicationContentService });
|
|
2533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type:
|
|
2534
|
-
type:
|
|
2535
|
-
}], ctorParameters: function () {
|
|
2536
|
-
return [{ type:
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2335
|
+
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 });
|
|
2336
|
+
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" }] });
|
|
2337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExceptionOperationComponent, decorators: [{
|
|
2338
|
+
type: Component,
|
|
2339
|
+
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>" }]
|
|
2340
|
+
}], ctorParameters: function () { return [{ type: CommonService }, { type: ApplicationContentService }, { type: i3.ToastrService }]; }, propDecorators: { dataGrid: [{
|
|
2341
|
+
type: ViewChild,
|
|
2342
|
+
args: ['gridContainer', { static: false }]
|
|
2343
|
+
}] } });
|
|
2344
|
+
|
|
2345
|
+
class LoadingModule$1 {
|
|
2346
|
+
}
|
|
2347
|
+
LoadingModule$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2348
|
+
LoadingModule$1.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, declarations: [LoadingComponent$1], imports: [RouterModule,
|
|
2349
|
+
CommonModule,
|
|
2350
|
+
FormsModule], exports: [LoadingComponent$1] });
|
|
2351
|
+
LoadingModule$1.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, imports: [RouterModule,
|
|
2352
|
+
CommonModule,
|
|
2353
|
+
FormsModule] });
|
|
2354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LoadingModule$1, decorators: [{
|
|
2355
|
+
type: NgModule,
|
|
2356
|
+
args: [{
|
|
2357
|
+
imports: [
|
|
2358
|
+
RouterModule,
|
|
2359
|
+
CommonModule,
|
|
2360
|
+
FormsModule,
|
|
2361
|
+
],
|
|
2362
|
+
declarations: [LoadingComponent$1],
|
|
2363
|
+
exports: [LoadingComponent$1]
|
|
2364
|
+
}]
|
|
2365
|
+
}] });
|
|
2366
|
+
|
|
2367
|
+
const routes = [
|
|
2368
|
+
{
|
|
2369
|
+
path: '',
|
|
2370
|
+
loadChildren: () => Promise.resolve().then(function () { return applicationController_module; }).then((m) => m.PackageApplicationControllerModule),
|
|
2371
|
+
},
|
|
2372
|
+
];
|
|
2373
|
+
class GammaAppControllerModule {
|
|
2374
|
+
}
|
|
2375
|
+
GammaAppControllerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2376
|
+
GammaAppControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, declarations: [GammaAppControllerComponent,
|
|
2377
|
+
ExceptionOperationComponent], imports: [IconsModule, i4.RouterModule, CommonModule,
|
|
2378
|
+
DevExtremeModule,
|
|
2379
|
+
DxButtonModule,
|
|
2380
|
+
DxCheckBoxModule,
|
|
2381
|
+
DxNumberBoxModule,
|
|
2382
|
+
DxDataGridModule,
|
|
2383
|
+
DxDropDownBoxModule,
|
|
2384
|
+
DxTreeViewModule,
|
|
2385
|
+
DxScrollViewModule,
|
|
2386
|
+
DxFormModule,
|
|
2387
|
+
DxAccordionModule,
|
|
2388
|
+
FormsModule,
|
|
2389
|
+
DxTagBoxModule,
|
|
2390
|
+
ReactiveFormsModule,
|
|
2391
|
+
MatIconModule,
|
|
2392
|
+
DxHtmlEditorModule,
|
|
2393
|
+
DxBulletModule,
|
|
2394
|
+
DxChartModule,
|
|
2395
|
+
DxDateBoxModule,
|
|
2396
|
+
DxLoadPanelModule,
|
|
2397
|
+
DxLookupModule,
|
|
2398
|
+
DxPivotGridModule,
|
|
2399
|
+
DxTemplateModule,
|
|
2400
|
+
DxTextAreaModule,
|
|
2401
|
+
DxValidationSummaryModule,
|
|
2402
|
+
DxValidatorModule,
|
|
2403
|
+
DxCalendarModule,
|
|
2404
|
+
DxTooltipModule,
|
|
2405
|
+
DxContextMenuModule,
|
|
2406
|
+
DxLoadIndicatorModule,
|
|
2407
|
+
DxPieChartModule,
|
|
2408
|
+
MatTooltipModule,
|
|
2409
|
+
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
2410
|
+
MatButtonModule,
|
|
2411
|
+
MatDividerModule,
|
|
2412
|
+
MatMenuModule,
|
|
2413
|
+
MatIconModule,
|
|
2414
|
+
LoadingModule$1], exports: [RouterModule,
|
|
2415
|
+
GammaAppControllerComponent,
|
|
2416
|
+
IconsModule,
|
|
2417
|
+
ExceptionOperationComponent] });
|
|
2418
|
+
GammaAppControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, imports: [IconsModule,
|
|
2419
|
+
RouterModule.forChild(routes),
|
|
2420
|
+
CommonModule,
|
|
2421
|
+
DevExtremeModule,
|
|
2422
|
+
DxButtonModule,
|
|
2423
|
+
DxCheckBoxModule,
|
|
2424
|
+
DxNumberBoxModule,
|
|
2425
|
+
DxDataGridModule,
|
|
2426
|
+
DxDropDownBoxModule,
|
|
2427
|
+
DxTreeViewModule,
|
|
2428
|
+
DxScrollViewModule,
|
|
2429
|
+
DxFormModule,
|
|
2430
|
+
DxAccordionModule,
|
|
2431
|
+
FormsModule,
|
|
2432
|
+
DxTagBoxModule,
|
|
2433
|
+
ReactiveFormsModule,
|
|
2434
|
+
MatIconModule,
|
|
2435
|
+
DxHtmlEditorModule,
|
|
2436
|
+
DxBulletModule,
|
|
2437
|
+
DxChartModule,
|
|
2438
|
+
DxDateBoxModule,
|
|
2439
|
+
DxLoadPanelModule,
|
|
2440
|
+
DxLookupModule,
|
|
2441
|
+
DxPivotGridModule,
|
|
2442
|
+
DxTemplateModule,
|
|
2443
|
+
DxTextAreaModule,
|
|
2444
|
+
DxValidationSummaryModule,
|
|
2445
|
+
DxValidatorModule,
|
|
2446
|
+
DxCalendarModule,
|
|
2447
|
+
DxTooltipModule,
|
|
2448
|
+
DxContextMenuModule,
|
|
2449
|
+
DxLoadIndicatorModule,
|
|
2450
|
+
DxPieChartModule,
|
|
2451
|
+
MatTooltipModule,
|
|
2452
|
+
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
2453
|
+
MatButtonModule,
|
|
2454
|
+
MatDividerModule,
|
|
2455
|
+
MatMenuModule,
|
|
2456
|
+
MatIconModule,
|
|
2457
|
+
LoadingModule$1, RouterModule,
|
|
2458
|
+
IconsModule] });
|
|
2459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GammaAppControllerModule, decorators: [{
|
|
2460
|
+
type: NgModule,
|
|
2461
|
+
args: [{
|
|
2462
|
+
declarations: [
|
|
2463
|
+
GammaAppControllerComponent,
|
|
2464
|
+
ExceptionOperationComponent
|
|
2465
|
+
],
|
|
2466
|
+
imports: [
|
|
2467
|
+
IconsModule,
|
|
2468
|
+
RouterModule.forChild(routes),
|
|
2469
|
+
CommonModule,
|
|
2470
|
+
DevExtremeModule,
|
|
2471
|
+
DxButtonModule,
|
|
2472
|
+
DxCheckBoxModule,
|
|
2473
|
+
DxNumberBoxModule,
|
|
2474
|
+
DxDataGridModule,
|
|
2475
|
+
DxDropDownBoxModule,
|
|
2476
|
+
DxTreeViewModule,
|
|
2477
|
+
DxScrollViewModule,
|
|
2478
|
+
DxFormModule,
|
|
2479
|
+
DxAccordionModule,
|
|
2480
|
+
FormsModule,
|
|
2481
|
+
DxTagBoxModule,
|
|
2482
|
+
ReactiveFormsModule,
|
|
2483
|
+
MatIconModule,
|
|
2484
|
+
DxHtmlEditorModule,
|
|
2485
|
+
DxBulletModule,
|
|
2486
|
+
DxChartModule,
|
|
2487
|
+
DxDateBoxModule,
|
|
2488
|
+
DxLoadPanelModule,
|
|
2489
|
+
DxLookupModule,
|
|
2490
|
+
DxPivotGridModule,
|
|
2491
|
+
DxTemplateModule,
|
|
2492
|
+
DxTextAreaModule,
|
|
2493
|
+
DxValidationSummaryModule,
|
|
2494
|
+
DxValidatorModule,
|
|
2495
|
+
DxCalendarModule,
|
|
2496
|
+
DxTooltipModule,
|
|
2497
|
+
DxContextMenuModule,
|
|
2498
|
+
DxLoadIndicatorModule,
|
|
2499
|
+
DxPieChartModule,
|
|
2500
|
+
MatTooltipModule,
|
|
2501
|
+
DxPopupModule, DxSelectBoxModule, DxTextBoxModule, DxTreeViewModule,
|
|
2502
|
+
MatButtonModule,
|
|
2503
|
+
MatDividerModule,
|
|
2504
|
+
MatMenuModule,
|
|
2505
|
+
MatIconModule,
|
|
2506
|
+
LoadingModule$1
|
|
2507
|
+
],
|
|
2508
|
+
exports: [
|
|
2509
|
+
RouterModule,
|
|
2510
|
+
GammaAppControllerComponent,
|
|
2511
|
+
IconsModule,
|
|
2512
|
+
ExceptionOperationComponent
|
|
2513
|
+
]
|
|
2514
|
+
}]
|
|
2515
|
+
}] });
|
|
2541
2516
|
|
|
2542
2517
|
class LoaderComponent {
|
|
2543
2518
|
constructor() { }
|
|
@@ -15260,7 +15235,6 @@ PackageApplicationControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion
|
|
|
15260
15235
|
HeatMapSupportComponent,
|
|
15261
15236
|
GammaHeatChartComponent] });
|
|
15262
15237
|
PackageApplicationControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PackageApplicationControllerModule, providers: [
|
|
15263
|
-
ApplicationContentService,
|
|
15264
15238
|
ApplicationDatssetsCall
|
|
15265
15239
|
], imports: [CommonModule,
|
|
15266
15240
|
RouterModule.forChild(appRoutes),
|
|
@@ -15429,7 +15403,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
15429
15403
|
GammaHeatChartComponent
|
|
15430
15404
|
],
|
|
15431
15405
|
providers: [
|
|
15432
|
-
ApplicationContentService,
|
|
15433
15406
|
ApplicationDatssetsCall
|
|
15434
15407
|
]
|
|
15435
15408
|
}]
|