Compare commits

..

14 Commits

Author SHA1 Message Date
Manuel Tauber faa30fa87a merge 2024-08-22 15:48:10 +02:00
Manuel Tauber 6a34276dbe Merge branch 'syncfusionLocalisation' 2024-08-22 15:40:10 +02:00
Manuel Tauber cce032ba8b DONE 2024-08-22 15:38:09 +02:00
Manuel Tauber f4c8976554 Merge branch 'aimUrl' 2024-08-22 14:06:53 +02:00
Manuel Tauber 42d8a2ab36 t 2024-08-21 14:44:26 +02:00
Ermis Wieger 0eedd05e35 azure-pipeline.yaml 2024-08-20 17:34:46 +02:00
ermis.wieger 9dfe850374 Merged PR 21438: deleted file
deleted file
2024-08-20 15:21:29 +00:00
Ermis Wieger ec425b147d deleted file 2024-08-20 17:20:19 +02:00
ermis.wieger 1ab8b1a4ee Merged PR 21432: added npmrc conf
added npmrc conf
2024-08-20 14:08:32 +00:00
Ermis Wieger ed0550b569 added npmrc conf 2024-08-20 16:07:46 +02:00
Said Gedik d23cdea1c8 Merge branch 'main' of https://dev.azure.com/asfinag/Tech-Supporting.ITSM/_git/Tech-Supporting.ITSM.ChangeKalender 2024-08-20 15:35:39 +02:00
Said Gedik 407150f9a4 spalten titel 2024-08-20 15:11:51 +02:00
Said Gedik 434c11156a projectName 2024-08-20 11:50:35 +02:00
Manuel Tauber dfbd2dd3f3 t 2024-08-19 15:05:28 +02:00
9 changed files with 760 additions and 18 deletions

0
azure-pipeline.yaml Normal file
View File

View File

@ -0,0 +1,551 @@
{
"main": {
"de": {
"identity": {
"version": {
"_cldrVersion": "36"
},
"language": "de"
},
"dates": {
"calendars": {
"gregorian": {
"months": {
"format": {
"abbreviated": {
"1": "Jan.",
"2": "Feb.",
"3": "März",
"4": "Apr.",
"5": "Mai",
"6": "Juni",
"7": "Juli",
"8": "Aug.",
"9": "Sept.",
"10": "Okt.",
"11": "Nov.",
"12": "Dez."
},
"narrow": {
"1": "J",
"2": "F",
"3": "M",
"4": "A",
"5": "M",
"6": "J",
"7": "J",
"8": "A",
"9": "S",
"10": "O",
"11": "N",
"12": "D"
},
"wide": {
"1": "Januar",
"2": "Februar",
"3": "März",
"4": "April",
"5": "Mai",
"6": "Juni",
"7": "Juli",
"8": "August",
"9": "September",
"10": "Oktober",
"11": "November",
"12": "Dezember"
}
},
"stand-alone": {
"abbreviated": {
"1": "Jan",
"2": "Feb",
"3": "Mär",
"4": "Apr",
"5": "Mai",
"6": "Jun",
"7": "Jul",
"8": "Aug",
"9": "Sep",
"10": "Okt",
"11": "Nov",
"12": "Dez"
},
"narrow": {
"1": "J",
"2": "F",
"3": "M",
"4": "A",
"5": "M",
"6": "J",
"7": "J",
"8": "A",
"9": "S",
"10": "O",
"11": "N",
"12": "D"
},
"wide": {
"1": "Januar",
"2": "Februar",
"3": "März",
"4": "April",
"5": "Mai",
"6": "Juni",
"7": "Juli",
"8": "August",
"9": "September",
"10": "Oktober",
"11": "November",
"12": "Dezember"
}
}
},
"days": {
"format": {
"abbreviated": {
"sun": "So.",
"mon": "Mo.",
"tue": "Di.",
"wed": "Mi.",
"thu": "Do.",
"fri": "Fr.",
"sat": "Sa."
},
"narrow": {
"sun": "S",
"mon": "M",
"tue": "D",
"wed": "M",
"thu": "D",
"fri": "F",
"sat": "S"
},
"short": {
"sun": "So.",
"mon": "Mo.",
"tue": "Di.",
"wed": "Mi.",
"thu": "Do.",
"fri": "Fr.",
"sat": "Sa."
},
"wide": {
"sun": "Sonntag",
"mon": "Montag",
"tue": "Dienstag",
"wed": "Mittwoch",
"thu": "Donnerstag",
"fri": "Freitag",
"sat": "Samstag"
}
},
"stand-alone": {
"abbreviated": {
"sun": "So",
"mon": "Mo",
"tue": "Di",
"wed": "Mi",
"thu": "Do",
"fri": "Fr",
"sat": "Sa"
},
"narrow": {
"sun": "S",
"mon": "M",
"tue": "D",
"wed": "M",
"thu": "D",
"fri": "F",
"sat": "S"
},
"short": {
"sun": "So.",
"mon": "Mo.",
"tue": "Di.",
"wed": "Mi.",
"thu": "Do.",
"fri": "Fr.",
"sat": "Sa."
},
"wide": {
"sun": "Sonntag",
"mon": "Montag",
"tue": "Dienstag",
"wed": "Mittwoch",
"thu": "Donnerstag",
"fri": "Freitag",
"sat": "Samstag"
}
}
},
"quarters": {
"format": {
"abbreviated": {
"1": "Q1",
"2": "Q2",
"3": "Q3",
"4": "Q4"
},
"narrow": {
"1": "1",
"2": "2",
"3": "3",
"4": "4"
},
"wide": {
"1": "1. Quartal",
"2": "2. Quartal",
"3": "3. Quartal",
"4": "4. Quartal"
}
},
"stand-alone": {
"abbreviated": {
"1": "Q1",
"2": "Q2",
"3": "Q3",
"4": "Q4"
},
"narrow": {
"1": "1",
"2": "2",
"3": "3",
"4": "4"
},
"wide": {
"1": "1. Quartal",
"2": "2. Quartal",
"3": "3. Quartal",
"4": "4. Quartal"
}
}
},
"dayPeriods": {
"format": {
"abbreviated": {
"midnight": "Mitternacht",
"am": "AM",
"pm": "PM",
"morning1": "morgens",
"morning2": "vorm.",
"afternoon1": "mittags",
"afternoon2": "nachm.",
"evening1": "abends",
"night1": "nachts"
},
"narrow": {
"midnight": "Mitternacht",
"am": "AM",
"pm": "PM",
"morning1": "morgens",
"morning2": "vorm.",
"afternoon1": "mittags",
"afternoon2": "nachm.",
"evening1": "abends",
"night1": "nachts"
},
"wide": {
"midnight": "Mitternacht",
"am": "AM",
"pm": "PM",
"morning1": "morgens",
"morning2": "vormittags",
"afternoon1": "mittags",
"afternoon2": "nachmittags",
"evening1": "abends",
"night1": "nachts"
}
},
"stand-alone": {
"abbreviated": {
"midnight": "Mitternacht",
"am": "AM",
"pm": "PM",
"morning1": "Morgen",
"morning2": "Vorm.",
"afternoon1": "Mittag",
"afternoon2": "Nachm.",
"evening1": "Abend",
"night1": "Nacht"
},
"narrow": {
"midnight": "Mitternacht",
"am": "AM",
"pm": "PM",
"morning1": "Morgen",
"morning2": "Vorm.",
"afternoon1": "Mittag",
"afternoon2": "Nachm.",
"evening1": "Abend",
"night1": "Nacht"
},
"wide": {
"midnight": "Mitternacht",
"am": "AM",
"pm": "PM",
"morning1": "Morgen",
"morning2": "Vormittag",
"afternoon1": "Mittag",
"afternoon2": "Nachmittag",
"evening1": "Abend",
"night1": "Nacht"
}
}
},
"eras": {
"eraNames": {
"0": "v. Chr.",
"0-alt-variant": "vor unserer Zeitrechnung",
"1": "n. Chr.",
"1-alt-variant": "unserer Zeitrechnung"
},
"eraAbbr": {
"0": "v. Chr.",
"0-alt-variant": "v. u. Z.",
"1": "n. Chr.",
"1-alt-variant": "u. Z."
},
"eraNarrow": {
"0": "v. Chr.",
"0-alt-variant": "v. u. Z.",
"1": "n. Chr.",
"1-alt-variant": "u. Z."
}
},
"dateFormats": {
"full": "EEEE, d. MMMM y",
"long": "d. MMMM y",
"medium": "dd.MM.y",
"short": "dd.MM.yy"
},
"timeFormats": {
"full": "HH:mm:ss zzzz",
"long": "HH:mm:ss z",
"medium": "HH:mm:ss",
"short": "HH:mm"
},
"dateTimeFormats": {
"full": "{1} 'um' {0}",
"long": "{1} 'um' {0}",
"medium": "{1}, {0}",
"short": "{1}, {0}",
"availableFormats": {
"Bh": "h B",
"Bhm": "h:mm B",
"Bhms": "h:mm:ss B",
"d": "d",
"E": "ccc",
"EBhm": "E h:mm B",
"EBhms": "E h:mm:ss B",
"Ed": "E, d.",
"Ehm": "E h:mm a",
"EHm": "E, HH:mm",
"Ehms": "E, h:mm:ss a",
"EHms": "E, HH:mm:ss",
"Gy": "y G",
"GyMMM": "MMM y G",
"GyMMMd": "d. MMM y G",
"GyMMMEd": "E, d. MMM y G",
"h": "h 'Uhr' a",
"H": "HH 'Uhr'",
"hm": "h:mm a",
"Hm": "HH:mm",
"hms": "h:mm:ss a",
"Hms": "HH:mm:ss",
"hmsv": "h:mm:ss a v",
"Hmsv": "HH:mm:ss v",
"hmv": "h:mm a v",
"Hmv": "HH:mm v",
"M": "L",
"Md": "d.M.",
"MEd": "E, d.M.",
"MMd": "d.MM.",
"MMdd": "dd.MM.",
"MMM": "LLL",
"MMMd": "d. MMM",
"MMMEd": "E, d. MMM",
"MMMMd": "d. MMMM",
"MMMMEd": "E, d. MMMM",
"MMMMW-count-one": "'Woche' W 'im' MMMM",
"MMMMW-count-other": "'Woche' W 'im' MMMM",
"ms": "mm:ss",
"y": "y",
"yM": "M.y",
"yMd": "d.M.y",
"yMEd": "E, d.M.y",
"yMM": "MM.y",
"yMMdd": "dd.MM.y",
"yMMM": "MMM y",
"yMMMd": "d. MMM y",
"yMMMEd": "E, d. MMM y",
"yMMMM": "MMMM y",
"yQQQ": "QQQ y",
"yQQQQ": "QQQQ y",
"yw-count-one": "'Woche' w 'des' 'Jahres' Y",
"yw-count-other": "'Woche' w 'des' 'Jahres' Y"
},
"appendItems": {
"Day": "{0} ({2}: {1})",
"Day-Of-Week": "{0} {1}",
"Era": "{1} {0}",
"Hour": "{0} ({2}: {1})",
"Minute": "{0} ({2}: {1})",
"Month": "{0} ({2}: {1})",
"Quarter": "{0} ({2}: {1})",
"Second": "{0} ({2}: {1})",
"Timezone": "{0} {1}",
"Week": "{0} ({2}: {1})",
"Year": "{1} {0}"
},
"intervalFormats": {
"intervalFormatFallback": "{0} {1}",
"Bh": {
"B": "h 'Uhr' B h 'Uhr' B",
"h": "hh 'Uhr' B"
},
"Bhm": {
"B": "h:mm 'Uhr' B h:mm 'Uhr' B",
"h": "h:mm h:mm 'Uhr' B",
"m": "h:mm h:mm 'Uhr' B"
},
"d": {
"d": "d.d."
},
"Gy": {
"G": "y G y G",
"y": "yy G"
},
"GyM": {
"G": "MM.y GGGGG MM.y GGGGG",
"M": "MM.y MM.y GGGGG",
"y": "MM.y MM.y GGGGG"
},
"GyMd": {
"d": "dd.dd.MM.y GGGGG",
"G": "dd.MM.y GGGGG dd.MM.y GGGGG",
"M": "dd.MM. dd.MM.y GGGGG",
"y": "dd.MM.y dd.MM.y GGGGG"
},
"GyMEd": {
"d": "E, dd.MM.y E, dd.MM.y GGGGG",
"G": "E, dd.MM.y GGGGG E, dd.MM.y GGGGG",
"M": "E, dd.MM. E, dd.MM.y GGGGG",
"y": "E, dd.MM.y E, dd.MM.y GGGGG"
},
"GyMMM": {
"G": "MMM y G MMM y G",
"M": "MMMMMM y G",
"y": "MMM y MMM y G"
},
"GyMMMd": {
"d": "d.d. MMM y G",
"G": "d. MMM y G d. MMM y G",
"M": "d. MMM d. MMM y G",
"y": "d. MMM y d. MMM y G"
},
"GyMMMEd": {
"d": "E, d. E, d. MMM y G",
"G": "E, d. MMM y G E E, d. MMM y G",
"M": "E, d. MMM E, d. MMM y G",
"y": "E, d. MMM y E, d. MMM y G"
},
"h": {
"a": "h 'Uhr' a h 'Uhr' a",
"h": "h h 'Uhr' a"
},
"H": {
"H": "HHHH 'Uhr'"
},
"hm": {
"a": "h:mm a h:mm a",
"h": "h:mmh:mm a",
"m": "h:mmh:mm a"
},
"Hm": {
"H": "HH:mmHH:mm 'Uhr'",
"m": "HH:mmHH:mm 'Uhr'"
},
"hmv": {
"a": "h:mm a h:mm a v",
"h": "h:mmh:mm a v",
"m": "h:mmh:mm a v"
},
"Hmv": {
"H": "HH:mmHH:mm 'Uhr' v",
"m": "HH:mmHH:mm 'Uhr' v"
},
"hv": {
"a": "h a h a v",
"h": "hh a v"
},
"Hv": {
"H": "HHHH 'Uhr' v"
},
"M": {
"M": "M.M."
},
"Md": {
"d": "dd.dd.MM.",
"M": "dd.MM. dd.MM."
},
"MEd": {
"d": "E, dd. E, dd.MM.",
"M": "E, dd.MM. E, dd.MM."
},
"MMM": {
"M": "MMMMMM"
},
"MMMd": {
"d": "d.d. MMM",
"M": "d. MMM d. MMM"
},
"MMMEd": {
"d": "E, d. E, d. MMM",
"M": "E, d. MMM E, d. MMM"
},
"MMMM": {
"M": "LLLLLLLL"
},
"y": {
"y": "yy"
},
"yM": {
"M": "MM.y MM.y",
"y": "MM.y MM.y"
},
"yMd": {
"d": "dd.dd.MM.y",
"M": "dd.MM. dd.MM.y",
"y": "dd.MM.y dd.MM.y"
},
"yMEd": {
"d": "E, dd. E, dd.MM.y",
"M": "E, dd.MM. E, dd.MM.y",
"y": "E, dd.MM.y E, dd.MM.y"
},
"yMMM": {
"M": "MMMMMM y",
"y": "MMM y MMM y"
},
"yMMMd": {
"d": "d.d. MMM y",
"M": "d. MMM d. MMM y",
"y": "d. MMM y d. MMM y"
},
"yMMMEd": {
"d": "E, d. E, d. MMM y",
"M": "E, d. MMM E, d. MMM y",
"y": "E, d. MMM y E, d. MMM y"
},
"yMMMM": {
"M": "MMMMMMMM y",
"y": "MMMM y MMMM y"
}
}
}
}
}
}
}
}
}

View File

@ -28,6 +28,8 @@ export class LanguageService {
* The constructor sets all the language values and does the default mapping * The constructor sets all the language values and does the default mapping
*/ */
constructor() { constructor() {
this.deMap.set('projectName', "W&I Kalender"); this.enMap.set('projectName', "W&I Calendar");
this.deMap.set('routeDraft', "Entwurf"); this.enMap.set('routeDraft', 'Draft'); this.deMap.set('routeDraft', "Entwurf"); this.enMap.set('routeDraft', 'Draft');
this.deMap.set('routeRFA', "Atorisierungsanforderung"); this.enMap.set('routeRFA', 'Request for Authorization'); this.deMap.set('routeRFA', "Atorisierungsanforderung"); this.enMap.set('routeRFA', 'Request for Authorization');
this.deMap.set('routePIP', "Planung in Bearbeitung"); this.enMap.set('routePIP', 'Planning in Progress'); this.deMap.set('routePIP', "Planung in Bearbeitung"); this.enMap.set('routePIP', 'Planning in Progress');

View File

@ -1,6 +1,6 @@
<div class="head" style="display: flex; align-items: center;"> <div class="head" style="display: flex; align-items: center;">
<div class="left" style="display: flex; align-items: center; gap: 8px; height: 100%;"> <div class="left" style="display: flex; align-items: center; gap: 8px; height: 100%;">
<h2 style="padding: 0; margin: 0;">W&I Kalender</h2> <h2 style="padding: 0; margin: 0;">{{this.languageService.lMap.get('projectName')}}</h2>
<div class="splitter"></div> <div class="splitter"></div>
<!-- Preset Picker --> <!-- Preset Picker -->
<div appearance="fill" style="width: 240px; padding-left: 15px; "> <div appearance="fill" style="width: 240px; padding-left: 15px; ">
@ -169,7 +169,7 @@
(taskbarEditing)="taskbarEditing($event)" (taskbarEdited)="taskbarEdited($event)" (taskbarEditing)="taskbarEditing($event)" (taskbarEdited)="taskbarEdited($event)"
(toolbarClick)="toolbarBtnClicked($event)" (rowSelected)="rowSelected($event)" (rowDeselected)="rowDeselected($event)" (toolbarClick)="toolbarBtnClicked($event)" (rowSelected)="rowSelected($event)" (rowDeselected)="rowDeselected($event)"
(created)="created($event)" (dataBound)="dataBound($event)" (load)="load($event)" (created)="created($event)" (dataBound)="dataBound($event)" (load)="load($event)"
(queryTaskbarInfo)="queryTaskbarInfo($event)" (expanding)="onExpand($event)"> (queryTaskbarInfo)="queryTaskbarInfo($event)" (expanding)="onExpand($event)" locale="de">
<ng-template #tooltipSettingsTaskbar let-data> <ng-template #tooltipSettingsTaskbar let-data>

View File

@ -27,8 +27,21 @@ import { MAT_DATE_LOCALE } from '@angular/material/core';
import * as WebFont from 'webfontloader'; // Verwende import * as import * as WebFont from 'webfontloader'; // Verwende import * as
import { AppConfig } from 'src/environments/models/environment.model'; import { AppConfig } from 'src/environments/models/environment.model';
import { APP_CONFIG } from '../app.config'; import { APP_CONFIG } from '../app.config';
import { L10n,loadCldr, setCulture } from '@syncfusion/ej2-base';
import * as gregorian from '../ca-gregorian.json';
import * as numbers from '../numbers.json';
L10n.load({
'de': {
'gantt': {
"startDate": "Anfangsdatum",
"endDate": "Enddatum",
}
}
});
export const MY_DATE_FORMATS = { export const MY_DATE_FORMATS = {
parse: { parse: {
dateInput: 'DD.MM.YYYY', dateInput: 'DD.MM.YYYY',
@ -212,6 +225,15 @@ export class NttGanttComponent implements OnInit {
* The function ngOnInit sets values which are required for rendering the gantt Chart. Furthermore it triggers the Dataservice to fetch Changes from the backend and trims the resources (Changes Array) and sets the paginator to the first page. * The function ngOnInit sets values which are required for rendering the gantt Chart. Furthermore it triggers the Dataservice to fetch Changes from the backend and trims the resources (Changes Array) and sets the paginator to the first page.
*/ */
public ngOnInit(): void { public ngOnInit(): void {
// setCulture('de');
// loadCldr(
// './numbers.json',
// './ca-gregorian.json',
// );
setCulture('de');
loadCldr(numbers, gregorian);
// this.ganttDefault.locale = 'de';
this.renderGantt = false; this.renderGantt = false;
this.firstLoad = true; this.firstLoad = true;
this.sliceStart = 0; this.sliceStart = 0;
@ -254,6 +276,7 @@ export class NttGanttComponent implements OnInit {
this.refreshGanttwithPresets(); this.refreshGanttwithPresets();
this.taskSettings = { this.taskSettings = {
id: 'TaskID', id: 'TaskID',
name: 'TaskName', name: 'TaskName',
@ -287,16 +310,16 @@ export class NttGanttComponent implements OnInit {
packageInstanceId: 'packageInstanceId' packageInstanceId: 'packageInstanceId'
}; };
this.columns = [ // this.columns = [
{ field: 'TaskName', headerText: 'Kurzbeschreibung', width: 350 }, // { field: 'TaskName', headerText: 'Kurzbeschreibung', width: 350 },
{ field: 'stateName', headerText: 'Status', width: 350}, // { field: 'stateName', headerText: 'Status', width: 350},
{ field: 'plantime', headerText: 'Planzeit in H', width: 100 }, // { field: 'plantime', headerText: 'Planzeit in H', width: 100 },
{ field: 'StartDate', headerText: 'Geplantes Start-Datum', format : {type:'date', format:'dd.MM.yyyy'}}, // { field: 'StartDate', headerText: 'Geplantes Start-Datum', format : {type:'date', format:'dd.MM.yyyy'}},
{ field: 'vertragName', headerText: 'Vertrag / Provider Cluster', width: 150 }, // { field: 'vertragName', headerText: 'Vertrag / Provider Cluster', width: 150 },
{ field: 'changeNr', headerText: 'Paket Nummer', width: 200 } // { field: 'changeNr', headerText: 'Paket Nummer', width: 200 }
// { field: 'supportGroup', headerText: 'Gewählte Support Gruppe' }, // // { field: 'supportGroup', headerText: 'Gewählte Support Gruppe' },
]; // ];
this.timelineSettings = { topTier: { unit: 'Month' }, bottomTier: { format: 'WW', unit: 'Week', count: 1 } }; this.timelineSettings = { topTier: { unit: 'Month' }, bottomTier: { format: 'WW', unit: 'Week', count: 1 } };
this.editSettings = { allowAdding: true, allowEditing: true, allowDeleting: true, allowTaskbarEditing: true, showDeleteConfirmDialog: true }; this.editSettings = { allowAdding: true, allowEditing: true, allowDeleting: true, allowTaskbarEditing: true, showDeleteConfirmDialog: true };
@ -427,7 +450,10 @@ export class NttGanttComponent implements OnInit {
} }
console.log("\nselectedPreset:") console.log("\nselectedPreset:")
console.log(res.selectedPreset); console.log(res.selectedPreset);
// this.languageChange(res.selectedPreset.language);
// if(res.userPreferences.language == "EN"){
// this.languageChange({value: "EN"});
// }
this.presetGroups = res.presetGroups; this.presetGroups = res.presetGroups;
@ -435,7 +461,8 @@ export class NttGanttComponent implements OnInit {
this.userPreferences = res.userPreferences; this.userPreferences = res.userPreferences;
this.showDetails = res.userPreferences.showDetails; this.showDetails = res.userPreferences.showDetails;
this.selectedScalar = this.scalars[res.userPreferences.view]; this.selectedScalar = this.scalars[res.userPreferences.view];
console.log()
console.log(res.userPreferences);
console.log("SELECETEDSCALAR########"+this.selectedScalar); console.log("SELECETEDSCALAR########"+this.selectedScalar);
@ -455,6 +482,7 @@ export class NttGanttComponent implements OnInit {
this.spin = false; this.spin = false;
console.log(this.states); console.log(this.states);
this.inputForTimeline = [this.splitterSettings, this.projectStartDate, this.projectEndDate]; this.inputForTimeline = [this.splitterSettings, this.projectStartDate, this.projectEndDate];
}); });
}); });
}); });
@ -689,6 +717,7 @@ export class NttGanttComponent implements OnInit {
* This function is triggered by a manual language of the user. * This function is triggered by a manual language of the user.
*/ */
public languageChange(args: any) { public languageChange(args: any) {
console.log("EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE",args);
this.languageService.languageChange(args.value), this.languageService.languageChange(args.value),
this.initLanguge(); this.initLanguge();
this.plantimeComponent.changeLanguage(); this.plantimeComponent.changeLanguage();
@ -710,7 +739,8 @@ export class NttGanttComponent implements OnInit {
* @param initial determines if the function is initially trigger by the ngOnInit function, in all other cases the gantt chart should be refrehed * @param initial determines if the function is initially trigger by the ngOnInit function, in all other cases the gantt chart should be refrehed
*/ */
initLanguge(initial: boolean = false) { initLanguge(initial: boolean = false) {
console.log(this.languageService.language);
console.log("################################################");
if (this.languageService.language == 'DE') { if (this.languageService.language == 'DE') {
this.scalars = ['Monat', 'Jahr']; this.scalars = ['Monat', 'Jahr'];
this.selectedScalar = 'Monat'; this.selectedScalar = 'Monat';
@ -1231,9 +1261,10 @@ export class NttGanttComponent implements OnInit {
if (args.dialogModel) { if (args.dialogModel) {
args.cancel = true; args.cancel = true;
if (args.rowData.taskData.resources[0].state == 0) { if (args.rowData.taskData.resources[0].state == 0) {
window.open(this.config.consoleUrl + "/smartit/app/#/paketPV/" + args.rowData.taskData.resources[0].packageInstanceId, "_blank"); // https://aim.asfinag.at/helix/index.html#/asf.aim/view/asf.aim:changePV?InstanceID=<InstanceID>
window.open(this.config.consoleUrl + "/helix/index.html#/asf.aim/view/asf.aim:paketPV?InstanceID=" + args.rowData.taskData.resources[0].packageInstanceId, "_blank");
} else { } else {
window.open(this.config.consoleUrl + "/smartit/app/#/changePV/" + args.rowData.taskData.resources[0].packageInstanceId, "_blank"); window.open(this.config.consoleUrl + "/helix/index.html#/asf.aim/view/asf.aim:changePV?InstanceID=" + args.rowData.taskData.resources[0].packageInstanceId, "_blank");
} }
this.ganttDefault.hideSpinner(); this.ganttDefault.hideSpinner();
} else { } else {

View File

@ -0,0 +1,155 @@
{
"main": {
"de": {
"identity": {
"version": {
"_cldrVersion": "36"
},
"language": "de"
},
"numbers": {
"defaultNumberingSystem": "latn",
"otherNumberingSystems": {
"native": "latn"
},
"minimumGroupingDigits": "1",
"symbols-numberSystem-latn": {
"decimal": ",",
"group": ".",
"list": ";",
"percentSign": "%",
"plusSign": "+",
"minusSign": "-",
"exponential": "E",
"superscriptingExponent": "·",
"perMille": "‰",
"infinity": "∞",
"nan": "NaN",
"timeSeparator": ":"
},
"decimalFormats-numberSystem-latn": {
"standard": "#,##0.###",
"long": {
"decimalFormat": {
"1000-count-one": "0 Tausend",
"1000-count-other": "0 Tausend",
"10000-count-one": "00 Tausend",
"10000-count-other": "00 Tausend",
"100000-count-one": "000 Tausend",
"100000-count-other": "000 Tausend",
"1000000-count-one": "0 Million",
"1000000-count-other": "0 Millionen",
"10000000-count-one": "00 Millionen",
"10000000-count-other": "00 Millionen",
"100000000-count-one": "000 Millionen",
"100000000-count-other": "000 Millionen",
"1000000000-count-one": "0 Milliarde",
"1000000000-count-other": "0 Milliarden",
"10000000000-count-one": "00 Milliarden",
"10000000000-count-other": "00 Milliarden",
"100000000000-count-one": "000 Milliarden",
"100000000000-count-other": "000 Milliarden",
"1000000000000-count-one": "0 Billion",
"1000000000000-count-other": "0 Billionen",
"10000000000000-count-one": "00 Billionen",
"10000000000000-count-other": "00 Billionen",
"100000000000000-count-one": "000 Billionen",
"100000000000000-count-other": "000 Billionen"
}
},
"short": {
"decimalFormat": {
"1000-count-one": "0",
"1000-count-other": "0",
"10000-count-one": "0",
"10000-count-other": "0",
"100000-count-one": "0",
"100000-count-other": "0",
"1000000-count-one": "0 Mio'.'",
"1000000-count-other": "0 Mio'.'",
"10000000-count-one": "00 Mio'.'",
"10000000-count-other": "00 Mio'.'",
"100000000-count-one": "000 Mio'.'",
"100000000-count-other": "000 Mio'.'",
"1000000000-count-one": "0 Mrd'.'",
"1000000000-count-other": "0 Mrd'.'",
"10000000000-count-one": "00 Mrd'.'",
"10000000000-count-other": "00 Mrd'.'",
"100000000000-count-one": "000 Mrd'.'",
"100000000000-count-other": "000 Mrd'.'",
"1000000000000-count-one": "0 Bio'.'",
"1000000000000-count-other": "0 Bio'.'",
"10000000000000-count-one": "00 Bio'.'",
"10000000000000-count-other": "00 Bio'.'",
"100000000000000-count-one": "000 Bio'.'",
"100000000000000-count-other": "000 Bio'.'"
}
}
},
"scientificFormats-numberSystem-latn": {
"standard": "#E0"
},
"percentFormats-numberSystem-latn": {
"standard": "#,##0 %"
},
"currencyFormats-numberSystem-latn": {
"currencySpacing": {
"beforeCurrency": {
"currencyMatch": "[:^S:]",
"surroundingMatch": "[:digit:]",
"insertBetween": " "
},
"afterCurrency": {
"currencyMatch": "[:^S:]",
"surroundingMatch": "[:digit:]",
"insertBetween": " "
}
},
"standard": "#,##0.00 ¤",
"accounting": "#,##0.00 ¤",
"short": {
"standard": {
"1000-count-one": "0",
"1000-count-other": "0",
"10000-count-one": "0",
"10000-count-other": "0",
"100000-count-one": "0",
"100000-count-other": "0",
"1000000-count-one": "0 Mio'.' ¤",
"1000000-count-other": "0 Mio'.' ¤",
"10000000-count-one": "00 Mio'.' ¤",
"10000000-count-other": "00 Mio'.' ¤",
"100000000-count-one": "000 Mio'.' ¤",
"100000000-count-other": "000 Mio'.' ¤",
"1000000000-count-one": "0 Mrd'.' ¤",
"1000000000-count-other": "0 Mrd'.' ¤",
"10000000000-count-one": "00 Mrd'.' ¤",
"10000000000-count-other": "00 Mrd'.' ¤",
"100000000000-count-one": "000 Mrd'.' ¤",
"100000000000-count-other": "000 Mrd'.' ¤",
"1000000000000-count-one": "0 Bio'.' ¤",
"1000000000000-count-other": "0 Bio'.' ¤",
"10000000000000-count-one": "00 Bio'.' ¤",
"10000000000000-count-other": "00 Bio'.' ¤",
"100000000000000-count-one": "000 Bio'.' ¤",
"100000000000000-count-other": "000 Bio'.' ¤"
}
},
"unitPattern-count-one": "{0} {1}",
"unitPattern-count-other": "{0} {1}"
},
"miscPatterns-numberSystem-latn": {
"approximately": "≈{0}",
"atLeast": "{0}+",
"atMost": "≤{0}",
"range": "{0}{1}"
},
"minimalPairs": {
"pluralMinimalPairs-count-one": "{0} Tag",
"pluralMinimalPairs-count-other": "{0} Tage",
"other": "{0}. Abzweigung nach rechts nehmen"
}
}
}
}
}

View File

@ -1 +1 @@
{"production":false,"rssoUrl":"http://orf.at","backendUrl":"http://localhost:8080/api", "consoleUrl": "https://itsm-dev-neu-smartit.asfinag.at"} {"production":false,"rssoUrl":"http://orf.at","backendUrl":"http://localhost:8080/api", "consoleUrl": "https://aim.asfinag.at"}

View File

@ -6,5 +6,6 @@ export const environment: AppConfig = {
production: false, production: false,
rssoUrl: "#", rssoUrl: "#",
backendUrl: "http://localhost:8080/api", backendUrl: "http://localhost:8080/api",
consoleUrl: "https://itsm-dev-neu-smartit.asfinag.at" consoleUrl: "https://aim.asfinag.at"
}; };

View File

@ -2,6 +2,8 @@
{ {
"compileOnSave": false, "compileOnSave": false,
"compilerOptions": { "compilerOptions": {
"resolveJsonModule": true,
"esModuleInterop": true,
"types": ["node"], "types": ["node"],
"baseUrl": "./", "baseUrl": "./",
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",