├── libs ├── .gitkeep └── ui-common │ ├── src │ ├── lib │ │ └── ui-common │ │ │ ├── ui-common.component.css │ │ │ ├── ui-common.component.html │ │ │ ├── ui-common.component.ts │ │ │ └── ui-common.component.spec.ts │ ├── index.ts │ └── test-setup.ts │ ├── README.md │ ├── tsconfig.spec.json │ ├── tsconfig.lib.json │ ├── project.json │ ├── jest.config.ts │ ├── tsconfig.json │ └── .eslintrc.json ├── .husky └── pre-commit ├── tools ├── generators │ └── .gitkeep └── tsconfig.tools.json ├── .eslintignore ├── apps ├── flights │ ├── src │ │ ├── assets │ │ │ ├── .gitkeep │ │ │ ├── config.json │ │ │ └── paper-design │ │ │ │ └── angular2-logo.png │ │ ├── app │ │ │ ├── shell │ │ │ │ ├── about │ │ │ │ │ ├── about.component.css │ │ │ │ │ ├── about.component.html │ │ │ │ │ └── about.component.ts │ │ │ │ ├── home │ │ │ │ │ ├── home.component.css │ │ │ │ │ ├── home.component.html │ │ │ │ │ └── home.component.ts │ │ │ │ ├── not-found │ │ │ │ │ ├── not-found.component.css │ │ │ │ │ ├── not-found.component.html │ │ │ │ │ └── not-found.component.ts │ │ │ │ ├── navbar │ │ │ │ │ ├── navbar.component.html │ │ │ │ │ └── navbar.component.ts │ │ │ │ ├── sidebar │ │ │ │ │ ├── sidebar.component.ts │ │ │ │ │ └── sidebar.component.html │ │ │ │ └── basket │ │ │ │ │ ├── basket.component.ts │ │ │ │ │ ├── basket.component.css │ │ │ │ │ └── basket.component.html │ │ │ ├── domains │ │ │ │ ├── shared │ │ │ │ │ ├── ui-common │ │ │ │ │ │ ├── tab │ │ │ │ │ │ │ ├── tab.component.css │ │ │ │ │ │ │ ├── tab.component.html │ │ │ │ │ │ │ └── tab.component.ts │ │ │ │ │ │ ├── confirm │ │ │ │ │ │ │ ├── confirm.component.css │ │ │ │ │ │ │ ├── confirm.component.html │ │ │ │ │ │ │ └── confirm.component.ts │ │ │ │ │ │ ├── data-table │ │ │ │ │ │ │ ├── data-table.component.css │ │ │ │ │ │ │ ├── data-table.component.html │ │ │ │ │ │ │ ├── table-field.directive.ts │ │ │ │ │ │ │ └── data-table.component.ts │ │ │ │ │ │ ├── flight-card │ │ │ │ │ │ │ ├── flight-card.component.css │ │ │ │ │ │ │ ├── flight-card.component.html │ │ │ │ │ │ │ └── flight-card.component.ts │ │ │ │ │ │ ├── status-toggle │ │ │ │ │ │ │ ├── status-toggle.component.css │ │ │ │ │ │ │ ├── status-toggle.component.html │ │ │ │ │ │ │ └── status-toggle.component.ts │ │ │ │ │ │ ├── date │ │ │ │ │ │ │ ├── date-stepper │ │ │ │ │ │ │ │ ├── date-stepper.component.css │ │ │ │ │ │ │ │ ├── date-stepper.component.html │ │ │ │ │ │ │ │ └── date-stepper.component.ts │ │ │ │ │ │ │ └── date-cva.directive.ts │ │ │ │ │ │ ├── tab-navigator │ │ │ │ │ │ │ ├── tab-navigator.component.html │ │ │ │ │ │ │ ├── tab-navigator.component.css │ │ │ │ │ │ │ └── tab-navigator.component.ts │ │ │ │ │ │ ├── tabbed-pane │ │ │ │ │ │ │ ├── tabbed-pane.service.ts │ │ │ │ │ │ │ ├── tabbed-pane.component.css │ │ │ │ │ │ │ ├── tabbed-pane.component.html │ │ │ │ │ │ │ └── tabbed-pane.component.ts │ │ │ │ │ │ ├── form-update.directive.ts │ │ │ │ │ │ ├── city.pipe.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── custom-template-outlet.directive.ts │ │ │ │ │ │ ├── click-with-warning.directive.ts │ │ │ │ │ │ └── tooltip.directive.ts │ │ │ │ │ ├── util-validation │ │ │ │ │ │ ├── validation-errors │ │ │ │ │ │ │ ├── validation-errors.component.css │ │ │ │ │ │ │ ├── validation-errors.component.html │ │ │ │ │ │ │ └── validation-errors.component.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── validation │ │ │ │ │ │ │ ├── city-validator.ts │ │ │ │ │ │ │ ├── roundtrip-validator.ts │ │ │ │ │ │ │ ├── city-validator.directive.ts │ │ │ │ │ │ │ └── roundtrip-validator.directive.ts │ │ │ │ │ ├── util-common │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── can-exit.ts │ │ │ │ │ │ └── with-data-service.feature.ts │ │ │ │ │ ├── util-logger │ │ │ │ │ │ ├── log-level.ts │ │ │ │ │ │ ├── features.ts │ │ │ │ │ │ ├── color-config.ts │ │ │ │ │ │ ├── custom-log-appender.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── log-formatter.ts │ │ │ │ │ │ ├── logger-config.ts │ │ │ │ │ │ ├── color.ts │ │ │ │ │ │ ├── log-appender.ts │ │ │ │ │ │ ├── color.service.ts │ │ │ │ │ │ ├── provider.ts │ │ │ │ │ │ └── logger.ts │ │ │ │ │ ├── util-config │ │ │ │ │ │ ├── config.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── config.service.ts │ │ │ │ │ └── util-auth │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── auth.store.ts │ │ │ │ │ │ ├── auth.ts │ │ │ │ │ │ └── auth.service.ts │ │ │ │ ├── luggage │ │ │ │ │ ├── feature-checkin │ │ │ │ │ │ ├── checkin │ │ │ │ │ │ │ ├── checkin.component.css │ │ │ │ │ │ │ ├── checkin.component.html │ │ │ │ │ │ │ ├── checkin.component.spec.ts │ │ │ │ │ │ │ └── checkin.component.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── feature-checkin.routes.ts │ │ │ │ │ ├── ui-common │ │ │ │ │ │ ├── luggage-card │ │ │ │ │ │ │ ├── luggage-card.component.css │ │ │ │ │ │ │ ├── luggage-card.component.html │ │ │ │ │ │ │ ├── luggage-card.component.ts │ │ │ │ │ │ │ └── luggage-card.component.spec.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── data │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── luggage.ts │ │ │ │ │ │ ├── luggage.service.spec.ts │ │ │ │ │ │ └── luggage.service.ts │ │ │ │ ├── ticketing │ │ │ │ │ ├── feature-booking │ │ │ │ │ │ ├── flight-booking.component.css │ │ │ │ │ │ ├── flight-edit │ │ │ │ │ │ │ ├── flight-edit.component.css │ │ │ │ │ │ │ ├── flight-edit.component.html │ │ │ │ │ │ │ └── flight-edit.component.ts │ │ │ │ │ │ ├── flight-search │ │ │ │ │ │ │ ├── flight-search.component.css │ │ │ │ │ │ │ ├── flight-search.component.html │ │ │ │ │ │ │ └── flight-search.component.ts │ │ │ │ │ │ ├── passenger-search │ │ │ │ │ │ │ ├── passenger-search.component.css │ │ │ │ │ │ │ ├── passenger-search.component.html │ │ │ │ │ │ │ └── passenger-search.component.ts │ │ │ │ │ │ ├── flight-edit-reactive │ │ │ │ │ │ │ ├── flight-edit-reactive.component.css │ │ │ │ │ │ │ ├── flight-edit-reactive.component.html │ │ │ │ │ │ │ └── flight-edit-reactive.component.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── flight-booking.component.ts │ │ │ │ │ │ ├── flight-booking.component.html │ │ │ │ │ │ ├── booking.store.ts │ │ │ │ │ │ └── flight-booking.routes.ts │ │ │ │ │ ├── feature-next-flights │ │ │ │ │ │ ├── checkin │ │ │ │ │ │ │ ├── checkin.component.css │ │ │ │ │ │ │ ├── checkin.component.html │ │ │ │ │ │ │ └── checkin.component.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── next-flights.component.css │ │ │ │ │ │ ├── next-flights.component.html │ │ │ │ │ │ ├── next-flights.routes.ts │ │ │ │ │ │ ├── next-flights.component.ts │ │ │ │ │ │ ├── next-flights.service.ts │ │ │ │ │ │ ├── next-flights.module.ts │ │ │ │ │ │ └── tickets.store.ts │ │ │ │ │ └── data │ │ │ │ │ │ ├── ticket-filter.ts │ │ │ │ │ │ ├── flight-filter.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── ticket.ts │ │ │ │ │ │ ├── flight.ts │ │ │ │ │ │ ├── ticket.service.ts │ │ │ │ │ │ └── flight.service.ts │ │ │ │ └── checkin │ │ │ │ │ ├── data │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── hidden.service.ts │ │ │ │ │ └── checkin.service.ts │ │ │ │ │ └── feature-manage │ │ │ │ │ ├── feature-manage.component.css │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── feature-manage.component.html │ │ │ │ │ └── feature-manage.component.ts │ │ │ ├── app.component.html │ │ │ ├── app.component.css │ │ │ ├── app.component.ts │ │ │ └── app.routes.ts │ │ ├── favicon.ico │ │ ├── main.ts │ │ ├── index.html │ │ └── styles.css │ ├── tsconfig.editor.json │ ├── tsconfig.spec.json │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── .eslintrc.json │ └── project.json └── miles │ ├── src │ ├── assets │ │ └── .gitkeep │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.routes.ts │ │ ├── app.config.ts │ │ ├── app.component.ts │ │ └── app.component.spec.ts │ ├── favicon.ico │ ├── main.ts │ ├── test-setup.ts │ ├── index.html │ └── styles.css │ ├── tsconfig.editor.json │ ├── tsconfig.app.json │ ├── tsconfig.spec.json │ ├── jest.config.ts │ ├── tsconfig.json │ ├── .eslintrc.json │ └── project.json ├── .prettierrc ├── .detective ├── hash ├── config.json └── log ├── jest.preset.js ├── .prettierignore ├── jest.config.ts ├── .vscode ├── extensions.json ├── settings.json ├── launch.json └── tasks.json ├── .editorconfig ├── .gitignore ├── sheriff.config.ts ├── tsconfig.base.json ├── README.md ├── .eslintrc.json ├── karma.conf.js ├── nx.json ├── package.json └── migrations.json /libs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | nx lint -------------------------------------------------------------------------------- /tools/generators/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /apps/flights/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/miles/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/miles/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } 4 | -------------------------------------------------------------------------------- /apps/flights/src/app/shell/about/about.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/shell/home/home.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/ui-common/src/lib/ui-common/ui-common.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.detective/hash: -------------------------------------------------------------------------------- 1 | 47afa29b2d3e97dbefc625769a21d561faa8baf7, v1.2.3 -------------------------------------------------------------------------------- /apps/flights/src/app/shell/not-found/not-found.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/ui-common/tab/tab.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/ui-common/confirm/confirm.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/luggage/feature-checkin/checkin/checkin.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/ui-common/data-table/data-table.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/ui-common/flight-card/flight-card.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/ticketing/feature-booking/flight-booking.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/luggage/ui-common/luggage-card/luggage-card.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/ui-common/status-toggle/status-toggle.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/ui-common/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/ui-common/ui-common.component'; 2 | -------------------------------------------------------------------------------- /libs/ui-common/src/lib/ui-common/ui-common.component.html: -------------------------------------------------------------------------------- 1 |
ui-common works!
2 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/checkin/data/index.ts: -------------------------------------------------------------------------------- 1 | export * from './checkin.service'; 2 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/ui-common/date/date-stepper/date-stepper.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/ticketing/feature-booking/flight-edit/flight-edit.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/ticketing/feature-next-flights/checkin/checkin.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/shell/not-found/not-found.component.html: -------------------------------------------------------------------------------- 1 |not-found works!
2 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/ticketing/feature-booking/flight-search/flight-search.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/util-validation/validation-errors/validation-errors.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/ticketing/feature-booking/passenger-search/passenger-search.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/assets/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "baseUrl": "https://demo.angulararchitects.io/api" 3 | } 4 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/ticketing/feature-booking/flight-edit-reactive/flight-edit-reactive.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/ticketing/feature-next-flights/index.ts: -------------------------------------------------------------------------------- 1 | export * from './next-flights.module'; 2 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/luggage/ui-common/index.ts: -------------------------------------------------------------------------------- 1 | export * from './luggage-card/luggage-card.component'; 2 | -------------------------------------------------------------------------------- /apps/flights/src/app/shell/about/about.component.html: -------------------------------------------------------------------------------- 1 |passenger-search works!
2 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/util-logger/log-level.ts: -------------------------------------------------------------------------------- 1 | export enum LogLevel { 2 | DEBUG = 0, 3 | INFO = 1, 4 | ERROR = 2, 5 | } 6 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/ticketing/data/flight-filter.ts: -------------------------------------------------------------------------------- 1 | export type FlightFilter = { 2 | from: string; 3 | to: string; 4 | } 5 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/ui-common/status-toggle/status-toggle.component.html: -------------------------------------------------------------------------------- 1 | {{ status }} 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Add files here to ignore them from prettier formatting 2 | /dist 3 | /coverage 4 | /.nx/cache 5 | .angular 6 | 7 | /.nx/workspace-data -------------------------------------------------------------------------------- /apps/flights/src/app/domains/luggage/feature-checkin/index.ts: -------------------------------------------------------------------------------- 1 | // export * from './checkin/checkin.component'; 2 | export * from './feature-checkin.routes'; 3 | -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- 1 | import { getJestProjectsAsync } from '@nx/jest'; 2 | 3 | export default async () => ({ 4 | projects: await getJestProjectsAsync(), 5 | }); 6 | -------------------------------------------------------------------------------- /apps/flights/src/app/domains/shared/ui-common/tab/tab.component.html: -------------------------------------------------------------------------------- 1 | @if(visible) { 2 |4 | {{ message }} 5 |
6 | 7 | 8 ||
4 | |
11 |
Weight: #{{ luggageItem.weight }}
8 |Checked in: #{{ luggageItem.checkedIn }}
9 |Remarks: #{{ luggageItem.remarks }}
10 |Hamburg - Graz
11 |Graz - Hamburg
14 |17 |
34 | 35 |
{{ basket() | json }}
37 | Flight-No.: #{{ item.id }}
10 |Date: {{ item.date | date : 'dd.MM.yyyy HH:mm' }}
11 | 12 |
15 | Delayed:
16 |
19 | @if (!selected) { 20 | 21 | } @if(selected) { 22 | 23 | } 24 | 30 |
31 |