Compare commits

..

5 Commits

Author SHA1 Message Date
Rainer Killinger
2bab011306 refactor: upgrade to Capacitor 7 2025-08-15 15:47:15 +02:00
Rainer Killinger
05bf965941 fix: settings module layout 2025-08-15 15:47:03 +02:00
Rainer Killinger
ce17155cfb fix: schedule weekly view label 2025-08-15 15:26:08 +02:00
Rainer Killinger
5800238f8d refactor: create InAppReviewProvider 2025-08-15 15:01:24 +02:00
Rainer Killinger
1c39483e9d refactor: upgrade to Capacitor 7 2025-08-12 18:18:33 +02:00
221 changed files with 2337 additions and 3884 deletions

View File

@@ -1,8 +0,0 @@
---
"@openstapps/projectmanagement": patch
"@openstapps/core-tools": patch
"@openstapps/easy-ast": patch
"@openstapps/app": patch
---
Updated node-glob dependency

View File

@@ -0,0 +1,6 @@
---
"@openstapps/backend": patch
"@openstapps/logger": patch
---
Updated nodemailer dependency

View File

@@ -0,0 +1,6 @@
---
"@openstapps/app-builder-image": patch
"@openstapps/app": patch
---
Upgrade to Capacitor 7

7
.vscode/launch.json vendored
View File

@@ -4,13 +4,6 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome",
"request": "launch",
"type": "chrome",
"url": "http://localhost:8100",
"webRoot": "${workspaceFolder}/frontend/app/www"
},
{
"type":"node",
"request": "launch",

View File

@@ -1,24 +1,5 @@
# @openstapps/backend
## 4.0.3
### Patch Changes
- 3a274a3a: Upgrade to Capacitor 7 and Anuglar 18
- @openstapps/core@4.0.2
- @openstapps/core-tools@4.0.2
- @openstapps/logger@4.0.2
## 4.0.2
### Patch Changes
- 6b06de40: Updated nodemailer dependency
- Updated dependencies [6b06de40]
- @openstapps/logger@4.0.2
- @openstapps/core@4.0.2
- @openstapps/core-tools@4.0.2
## 4.0.1
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/backend",
"description": "A reference implementation for a StApps backend",
"version": "4.0.3",
"version": "4.0.1",
"private": true,
"type": "module",
"license": "AGPL-3.0-only",
@@ -100,7 +100,7 @@
"supertest": "6.3.3",
"ts-node": "10.9.2",
"tsup": "8.5.0",
"typescript": "5.5.4"
"typescript": "5.4.2"
},
"tsup": {
"entry": [

View File

@@ -1,12 +1,5 @@
# @openstapps/proxy
## 4.0.2
### Patch Changes
- Updated dependencies [6b06de40]
- @openstapps/logger@4.0.2
## 4.0.0
### Major Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/proxy",
"description": "NGINX proxy that is dynamically configured by a Node.js script",
"version": "4.0.2",
"version": "4.0.0",
"private": true,
"type": "module",
"license": "AGPL-3.0-only",
@@ -51,7 +51,7 @@
"is-cidr": "4.0.2",
"mustache": "4.2.0",
"semver": "7.6.0",
"typescript": "5.5.4"
"typescript": "5.4.2"
},
"devDependencies": {
"@openstapps/api-cli": "workspace:*",

View File

@@ -1,11 +1,5 @@
# @openstapps/backend-config
## 4.0.3
### Patch Changes
- 3a274a3a: Upgrade to Capacitor 7 and Anuglar 18
## 4.0.0
### Major Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/backend-config",
"description": "Backend Configuration for OpenStApps",
"version": "4.0.3",
"version": "4.0.0",
"private": true,
"type": "module",
"license": "GPL-3.0-only",

View File

@@ -1,11 +1,5 @@
# @openstapps/eslint-config
## 4.0.3
### Patch Changes
- 3a274a3a: Upgrade to Capacitor 7 and Anuglar 18
## 4.0.0
### Major Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/eslint-config",
"description": "A collection of configuration base files for StApps projects. Just an (unused) experiment for now.",
"version": "4.0.3",
"version": "4.0.0",
"type": "commonjs",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/eslint-config.git",
@@ -19,11 +19,11 @@
"@openstapps/tsconfig": "workspace:*",
"@types/node": "22.15.31",
"eslint": "8.57.0",
"typescript": "5.5.4"
"typescript": "5.4.2"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jsdoc": "48.2.1",

View File

@@ -1,13 +1,5 @@
# @openstapps/projectmanagement
## 4.0.2
### Patch Changes
- Updated dependencies [6b06de40]
- @openstapps/logger@4.0.2
- @openstapps/gitlab-api@4.0.2
## 4.0.1
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/projectmanagement",
"description": "Main documentation and scripts for maintenance.",
"version": "4.0.2",
"version": "4.0.1",
"private": true,
"type": "module",
"license": "GPL-3.0-only",
@@ -43,7 +43,7 @@
"@openstapps/logger": "workspace:*",
"commander": "10.0.0",
"date-fns": "3.6.0",
"glob": "10.5.0",
"glob": "10.3.10",
"mustache": "4.2.0"
},
"devDependencies": {
@@ -64,7 +64,7 @@
"mocha-junit-reporter": "2.2.0",
"ts-node": "10.9.2",
"tsup": "8.5.0",
"typescript": "5.5.4"
"typescript": "5.4.2"
},
"tsup": {
"entry": [

View File

@@ -1,14 +1,5 @@
# @openstapps/minimal-connector
## 4.0.2
### Patch Changes
- Updated dependencies [6b06de40]
- @openstapps/logger@4.0.2
- @openstapps/core@4.0.2
- @openstapps/api@4.0.2
## 4.0.1
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/minimal-connector",
"description": "This is a minimal connector which serves as an example",
"version": "4.0.2",
"version": "4.0.1",
"private": true,
"type": "module",
"license": "GPL-3.0-only",
@@ -55,7 +55,7 @@
"nock": "13.3.1",
"ts-node": "10.9.2",
"tsup": "8.5.0",
"typescript": "5.5.4"
"typescript": "5.4.2"
},
"tsup": {
"entry": [

View File

@@ -1,16 +1,5 @@
# @openstapps/minimal-plugin
## 4.0.2
### Patch Changes
- Updated dependencies [6b06de40]
- @openstapps/logger@4.0.2
- @openstapps/api-plugin@4.0.2
- @openstapps/core@4.0.2
- @openstapps/core-tools@4.0.2
- @openstapps/api@4.0.2
## 4.0.1
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/minimal-plugin",
"description": "Minimal Plugin",
"version": "4.0.2",
"version": "4.0.1",
"private": true,
"type": "module",
"license": "GPL-3.0-only",
@@ -44,7 +44,7 @@
"@types/express": "4.17.17",
"@types/node": "22.15.31",
"tsup": "8.5.0",
"typescript": "5.5.4"
"typescript": "5.4.2"
},
"tsup": {
"entry": [

View File

@@ -65,8 +65,7 @@
],
"@typescript-eslint/lines-between-class-members": ["error", "always"],
"@typescript-eslint/no-explicit-any": "error",
"@angular-eslint/use-lifecycle-interface": "error",
"@angular-eslint/prefer-standalone": "off"
"@angular-eslint/use-lifecycle-interface": "error"
}
},
{

View File

@@ -1,21 +1,5 @@
# @openstapps/app
## 4.0.3
### Patch Changes
- 3a274a3a: Upgrade to Capacitor 7 and Anuglar 18
- @openstapps/api@4.0.2
- @openstapps/collection-utils@4.0.0
- @openstapps/core@4.0.2
## 4.0.2
### Patch Changes
- @openstapps/core@4.0.2
- @openstapps/api@4.0.2
## 4.0.1
### Patch Changes

View File

@@ -7,6 +7,5 @@
<item name="android:statusBarColor">@color/colorPrimary</item>
<item name="android:windowBackground">@color/colorPrimary</item>
<item name="android:navigationBarColor">@color/colorBackground</item>
<item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>
</style>
</resources>

View File

@@ -7,7 +7,6 @@
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>
</style>
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
@@ -18,7 +17,6 @@
<item name="android:windowBackground">@color/colorPrimary</item>
<item name="android:navigationBarColor">@color/colorBackground</item>
<item name="android:windowLightNavigationBar" tools:targetApi="27">true</item>
<item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>
</style>

View File

@@ -100,7 +100,7 @@ describe('schedule', function () {
cy.get('ion-searchbar').click().type('a');
cy.wait('@search');
cy.wait('@chips');
cy.wait(1000);
cy.wait(200);
cy.contains('ion-item', 'UNIcert (Test)')
.contains('stapps-add-event-action-chip', 'Termine Auswählen')
.click();

View File

@@ -20,7 +20,7 @@ const config = {
htmlGlob: 'src/**/*.html',
scriptGlob: 'src/**/*.ts',
additionalIcons: {
about: ['copyright', 'campaign', 'policy', 'description', 'text_snippet', 'expand_more', 'expand_all'],
about: ['copyright', 'campaign', 'policy', 'description', 'text_snippet', 'expand_more'],
navigation: [
'home',
'newspaper',

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/app",
"description": "The generic app tailored to fulfill needs of German universities, written using Ionic Framework.",
"version": "4.0.3",
"version": "4.0.1",
"private": true,
"license": "GPL-3.0-only",
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>",
@@ -48,13 +48,13 @@
"test:integration": "sh integration-test.sh"
},
"dependencies": {
"@angular/animations": "19.2.18",
"@angular/cdk": "19.2.19",
"@angular/common": "19.2.18",
"@angular/core": "19.2.18",
"@angular/forms": "19.2.18",
"@angular/platform-browser": "19.2.18",
"@angular/router": "19.2.18",
"@angular/animations": "17.3.12",
"@angular/cdk": "17.3.10",
"@angular/common": "17.3.12",
"@angular/core": "17.3.12",
"@angular/forms": "17.3.12",
"@angular/platform-browser": "17.3.12",
"@angular/router": "17.3.12",
"@awesome-cordova-plugins/calendar": "6.6.0",
"@awesome-cordova-plugins/core": "6.6.0",
"@capacitor-community/in-app-review": "7.0.1",
@@ -75,8 +75,9 @@
"@capacitor/screen-orientation": "7.0.2",
"@capacitor/share": "7.0.2",
"@capacitor/splash-screen": "7.0.2",
"@ionic/angular": "8.7.3",
"@ionic/angular-server": "8.7.3",
"@ionic-native/core": "5.36.0",
"@ionic/angular": "8.6.1",
"@ionic/angular-server": "8.6.1",
"@ionic/storage-angular": "4.0.0",
"@maplibre/ngx-maplibre-gl": "17.4.1",
"@ngx-translate/core": "15.0.0",
@@ -93,15 +94,15 @@
"deepmerge": "4.3.1",
"form-data": "4.0.4",
"geojson": "0.5.0",
"ionic-appauth": "2.1.0",
"ionicons": "8.0.13",
"ionic-appauth": "0.9.0",
"ionicons": "7.4.0",
"jsonpath-plus": "10.3.0",
"maplibre-gl": "4.0.2",
"material-symbols": "0.17.1",
"moment": "2.30.1",
"ngx-date-fns": "11.0.0",
"ngx-logger": "5.0.12",
"ngx-markdown": "18.1.0",
"ngx-markdown": "17.2.1",
"ngx-moment": "6.0.2",
"opening_hours": "3.8.0",
"pmtiles": "3.0.3",
@@ -110,31 +111,31 @@
"semver": "7.6.0",
"swiper": "8.4.5",
"tslib": "2.6.2",
"zone.js": "0.15.1"
"zone.js": "0.14.4"
},
"devDependencies": {
"@angular-devkit/architect": "0.1902.19",
"@angular-devkit/build-angular": "19.2.19",
"@angular-devkit/core": "19.2.19",
"@angular-devkit/schematics": "19.2.19",
"@angular-eslint/builder": "19.8.0",
"@angular-eslint/eslint-plugin": "19.8.0",
"@angular-eslint/eslint-plugin-template": "19.8.0",
"@angular-eslint/schematics": "19.8.0",
"@angular-eslint/template-parser": "19.8.0",
"@angular/cli": "19.2.19",
"@angular/compiler": "19.2.18",
"@angular/compiler-cli": "19.2.18",
"@angular/language-server": "19.2.0",
"@angular/language-service": "19.2.18",
"@angular/platform-browser-dynamic": "19.2.18",
"@angular-devkit/architect": "0.1703.17",
"@angular-devkit/build-angular": "17.3.17",
"@angular-devkit/core": "17.3.17",
"@angular-devkit/schematics": "17.3.17",
"@angular-eslint/builder": "17.5.3",
"@angular-eslint/eslint-plugin": "17.5.3",
"@angular-eslint/eslint-plugin-template": "17.5.3",
"@angular-eslint/schematics": "17.5.3",
"@angular-eslint/template-parser": "17.5.3",
"@angular/cli": "17.3.17",
"@angular/compiler": "17.3.12",
"@angular/compiler-cli": "17.3.12",
"@angular/language-server": "17.3.2",
"@angular/language-service": "17.3.12",
"@angular/platform-browser-dynamic": "17.3.12",
"@capacitor/android": "7.4.2",
"@capacitor/assets": "3.0.5",
"@capacitor/cli": "7.4.2",
"@capacitor/ios": "7.4.2",
"@compodoc/compodoc": "1.1.23",
"@cypress/schematic": "4.1.1",
"@ionic/angular-toolkit": "12.3.0",
"@cypress/schematic": "3.0.0",
"@ionic/angular-toolkit": "11.0.1",
"@ionic/cli": "7.2.0",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
@@ -149,17 +150,17 @@
"@types/karma-jasmine": "4.0.5",
"@types/node": "22.15.31",
"@types/semver": "7.5.8",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"cordova-res": "0.15.4",
"cypress": "15.0.0",
"cypress": "14.5.0",
"eslint": "8.57.0",
"eslint-plugin-jsdoc": "48.2.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-unicorn": "51.0.1",
"fast-deep-equal": "3.1.3",
"fontkit": "2.0.2",
"glob": "10.5.0",
"glob": "10.3.10",
"http-server": "14.1.1",
"is-docker": "2.2.1",
"jasmine-core": "5.1.2",
@@ -179,7 +180,7 @@
"stylelint-config-standard-scss": "13.0.0",
"surge": "0.23.1",
"ts-node": "10.9.2",
"typescript": "5.5.4"
"typescript": "5.4.2"
},
"cordova": {
"plugins": {},

View File

@@ -32,7 +32,6 @@ import {SplashScreen} from '@capacitor/splash-screen';
@Component({
selector: 'app-root',
templateUrl: 'app.component.html',
standalone: false,
})
export class AppComponent implements AfterContentInit {
/**
@@ -89,7 +88,7 @@ export class AppComponent implements AfterContentInit {
async hideSplash() {
if (Capacitor.isNativePlatform()) {
void SplashScreen.hide();
await this.inAppReviewProvider.increaseSessionCount();
void this.inAppReviewProvider.increaseSessionCount();
void this.inAppReviewProvider.startInAppReviewIfFeasible();
}
}

View File

@@ -21,7 +21,6 @@ import {ConfigProvider} from '../config/config.provider';
templateUrl: 'about-changelog.html',
styleUrls: ['about-changelog.scss', './about-page/about-page.scss', 'release-notes-markdown.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class AboutChangelogComponent {
config = inject(ConfigProvider);

View File

@@ -20,7 +20,6 @@ import {License} from './about-licenses.component';
selector: 'about-license-modal',
templateUrl: 'about-license-modal.html',
styleUrls: ['about-license-modal.scss'],
standalone: false,
})
export class AboutLicenseModalComponent {
@Input() license: License;

View File

@@ -32,7 +32,6 @@ export interface License {
selector: 'about-changelog',
templateUrl: 'about-licenses.html',
styleUrls: ['about-licenses.scss', './about-page/about-page.scss'],
standalone: false,
})
export class AboutLicensesComponent implements OnInit {
licenses: License[];

View File

@@ -19,7 +19,6 @@ import {SCAboutPageContent} from '@openstapps/core';
selector: 'about-page-content',
templateUrl: 'about-page-content.html',
styleUrls: ['about-page-content.scss'],
standalone: false,
})
export class AboutPageContentComponent {
@Input() content: SCAboutPageContent;

View File

@@ -25,7 +25,6 @@ import {Capacitor} from '@capacitor/core';
selector: 'about-page',
templateUrl: 'about-page.html',
styleUrls: ['about-page.scss'],
standalone: false,
})
export class AboutPageComponent implements OnInit {
content: SCAboutPage;

View File

@@ -21,7 +21,6 @@ import {ConfigProvider} from '../config/config.provider';
templateUrl: 'about-release-notes.html',
styleUrls: ['about-release-notes.scss', './about-page/about-page.scss', 'release-notes-markdown.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class AboutReleaseNotesComponent {
config = inject(ConfigProvider);

View File

@@ -17,6 +17,7 @@ import {UtilModule} from '../../util/util.module';
selector: 'stapps-release-notes',
templateUrl: 'release-notes.html',
styleUrls: ['release-notes.scss', 'release-notes-markdown.scss'],
standalone: true,
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [
UtilModule,

View File

@@ -26,7 +26,6 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
selector: 'assessments-detail',
templateUrl: 'assessments-detail.html',
styleUrls: ['assessments-detail.scss'],
standalone: false,
})
export class AssessmentsDetailComponent implements OnInit {
destroy$ = inject(DestroyRef);

View File

@@ -21,7 +21,6 @@ import {Observable} from 'rxjs';
selector: 'assessments-data-list',
templateUrl: './assessments-data-list.html',
styleUrls: ['./assessments-data-list.scss'],
standalone: false,
})
export class AssessmentsDataListComponent {
/**

View File

@@ -20,7 +20,6 @@ import {SCThings} from '@openstapps/core';
selector: 'assessments-list-item',
templateUrl: 'assessments-list-item.html',
styleUrls: ['assessments-list-item.scss'],
standalone: false,
})
export class AssessmentsListItemComponent {
/**

View File

@@ -23,7 +23,6 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
selector: 'assessments-simple-data-list',
templateUrl: 'assessments-simple-data-list.html',
styleUrls: ['assessments-simple-data-list.scss'],
standalone: false,
})
export class AssessmentsSimpleDataListComponent implements OnInit {
/**

View File

@@ -20,7 +20,6 @@ import {SCThings} from '@openstapps/core';
selector: 'assessments-tree-list',
templateUrl: 'assessments-tree-list.html',
styleUrls: ['assessments-tree-list.scss'],
standalone: false,
})
export class AssessmentsTreeListComponent {
@Input() items?: Promise<SCThings[] | undefined>;

View File

@@ -29,7 +29,6 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
templateUrl: 'assessments-page.html',
styleUrls: ['assessments-page.scss'],
animations: [materialSharedAxisX],
standalone: false,
})
export class AssessmentsPageComponent implements OnInit, AfterViewInit {
assessments: Promise<

View File

@@ -20,7 +20,6 @@ import {SCAssessment} from '@openstapps/core';
selector: 'assessment-base-info',
templateUrl: 'assessment-base-info.html',
styleUrls: ['assessment-base-info.scss'],
standalone: false,
})
export class AssessmentBaseInfoComponent {
_item: SCAssessment;

View File

@@ -20,7 +20,6 @@ import {SCAssessment} from '@openstapps/core';
selector: 'assessment-detail',
templateUrl: 'assessment-detail.html',
styleUrls: ['assessment-detail.scss'],
standalone: false,
})
export class AssessmentDetailComponent {
@Input() item: SCAssessment;

View File

@@ -20,7 +20,6 @@ import {SCAssessment} from '@openstapps/core';
selector: 'stapps-assessment-list-item',
templateUrl: './assessment-list-item.html',
styleUrls: ['./assessment-list-item.scss'],
standalone: false,
})
export class AssessmentListItemComponent {
@Input() item: SCAssessment;

View File

@@ -20,7 +20,6 @@ import {SCAssessment, SCCourseOfStudyWithoutReferences} from '@openstapps/core';
selector: 'course-of-study-assessment',
templateUrl: 'course-of-study-assessment.html',
styleUrls: ['course-of-study-assessment.scss'],
standalone: false,
})
export class CourseOfStudyAssessmentComponent {
@Input() courseOfStudy?: SCCourseOfStudyWithoutReferences | null;

View File

@@ -25,7 +25,6 @@ import {DefaultAuthService} from '../../default-auth.service';
@Component({
templateUrl: 'auth-callback-page.component.html',
styleUrls: ['auth-callback-page.component.scss'],
standalone: false,
})
export class AuthCallbackPageComponent {
constructor(

View File

@@ -42,7 +42,6 @@ interface ICalInfo {
selector: 'add-event-review-modal',
templateUrl: 'add-event-review-modal.html',
styleUrls: ['add-event-review-modal.scss'],
standalone: false,
})
export class AddEventReviewModalComponent implements OnInit {
moment = moment;

View File

@@ -26,7 +26,6 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
selector: 'app-catalog',
templateUrl: './catalog.component.html',
styleUrls: ['./catalog.component.scss'],
standalone: false,
})
export class CatalogComponent implements OnInit {
/**

View File

@@ -38,7 +38,6 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
selector: 'app-dashboard',
templateUrl: './dashboard.component.html',
styleUrls: ['./dashboard.component.scss', './dashboard.collapse.component.scss'],
standalone: false,
})
export class DashboardComponent implements OnInit, OnDestroy, AfterViewInit {
@ViewChild('toolbar', {read: ElementRef}) toolbarRef: ElementRef;

View File

@@ -27,7 +27,6 @@ import {isMensaThing} from '../../mensa-filters';
styleUrls: ['favorites-section.component.scss'],
animations: [fadeAnimation],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class FavoritesSectionComponent {
items = this.favoritesService.favoriteThings$.pipe(

View File

@@ -26,7 +26,6 @@ import {fadeAnimation} from '../../fade.animation';
styleUrls: ['job-section.component.scss'],
animations: [fadeAnimation],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class JobSectionComponent {
jobs = inject(DataProvider)

View File

@@ -27,7 +27,6 @@ import {isToday} from 'date-fns';
styleUrls: ['mensa-section-content.component.scss'],
animations: [fadeAnimation],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class MensaSectionContentComponent {
/**

View File

@@ -27,7 +27,6 @@ import {isMensaThing} from '../../mensa-filters';
styleUrls: ['mensa-section.component.scss'],
animations: [fadeAnimation],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class MensaSectionComponent {
items = this.favoritesService.favoriteThings$.pipe(map(favorites => favorites.filter(isMensaThing)));

View File

@@ -25,7 +25,6 @@ import {fadeAnimation} from '../../fade.animation';
styleUrls: ['news-section.component.scss'],
animations: [fadeAnimation],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class NewsSectionComponent {
news = this.newsProvider

View File

@@ -23,7 +23,6 @@ import {homePageSearchTransition} from './search-route-transition';
selector: 'stapps-search-section',
templateUrl: 'search-section.component.html',
styleUrls: ['search-section.component.scss'],
standalone: false,
})
export class SearchSectionComponent {
routeTransition = homePageSearchTransition(this.animationController);

View File

@@ -22,7 +22,6 @@ import {SCDateSeries, SCThingType, SCThings} from '@openstapps/core';
selector: 'stapps-action-chip-list',
templateUrl: 'action-chip-list.html',
styleUrls: ['action-chip-list.scss'],
standalone: false,
})
export class ActionChipListComponent {
private _item: SCThings;

View File

@@ -36,7 +36,6 @@ import {MaterialSymbol} from 'material-symbols';
templateUrl: 'add-event-action-chip.html',
styleUrls: ['add-event-action-chip.scss'],
animations: [chipSkeletonTransition, chipTransition],
standalone: false,
})
export class AddEventActionChipComponent {
/**
@@ -128,7 +127,6 @@ export class AddEventActionChipComponent {
.filter(it => it.selected)
.map(it => it.item),
},
mode: 'md', // TODO Remove if Issue 239 is solved.
});
await modal.present();

View File

@@ -22,7 +22,6 @@ import {SCThing} from '@openstapps/core';
@Component({
selector: 'stapps-locate-action-chip',
templateUrl: 'locate-action-chip.html',
standalone: false,
})
export class LocateActionChipComponent {
/**

View File

@@ -19,7 +19,6 @@ import {SCPlaceWithoutReferences, SCThings} from '@openstapps/core';
selector: 'stapps-navigate-action-chip',
templateUrl: 'navigate-action-chip.html',
styleUrls: ['navigate-action-chip.scss'],
standalone: false,
})
export class NavigateActionChipComponent {
place: SCPlaceWithoutReferences;

View File

@@ -38,7 +38,6 @@ import {SelectionValue, TreeNode} from './tree-node';
selector: 'stapps-edit-event-selection',
templateUrl: 'edit-event-selection.html',
styleUrls: ['edit-event-selection.scss'],
standalone: false,
})
export class EditEventSelectionComponent implements OnInit {
/**

View File

@@ -21,7 +21,6 @@ import {Component, EventEmitter, Input, Output} from '@angular/core';
selector: 'stapps-chip-filter',
templateUrl: './chip-filter.component.html',
styleUrls: ['./chip-filter.component.scss'],
standalone: false,
})
export class ChipFilterComponent {
/**
@@ -37,7 +36,7 @@ export class ChipFilterComponent {
/**
* Emits when the chip has been activated/deactivated
*/
@Output() toggled = new EventEmitter<unknown>();
@Output() toggle = new EventEmitter<unknown>();
/**
* Value to emit when chip has been activated/deactivated
@@ -48,6 +47,6 @@ export class ChipFilterComponent {
* Signalize that the chip filter has been activated/deactivated
*/
emitToggle(value: unknown) {
this.toggled.emit(value);
this.toggle.emit(value);
}
}

View File

@@ -21,7 +21,6 @@ import {DataIcons} from './data-icon.config';
*/
@Pipe({
name: 'dataIcon',
standalone: false,
})
export class DataIconPipe implements PipeTransform {
/**

View File

@@ -24,7 +24,6 @@ import {ModalController} from '@ionic/angular/standalone';
selector: 'stapps-data-detail-content',
styleUrls: ['data-detail-content.scss'],
templateUrl: 'data-detail-content.html',
standalone: false,
})
export class DataDetailContentComponent {
/**

View File

@@ -36,7 +36,6 @@ export interface ExternalDataLoadEvent {
selector: 'stapps-data-detail',
styleUrls: ['data-detail.scss'],
templateUrl: 'data-detail.html',
standalone: false,
})
export class DataDetailComponent implements OnInit {
/**

View File

@@ -26,7 +26,6 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
selector: 'stapps-data-path',
templateUrl: './data-path.html',
styleUrls: ['./data-path.scss'],
standalone: false,
})
export class DataPathComponent implements OnInit {
path: Promise<SCThingWithoutReferences[]>;

View File

@@ -21,7 +21,6 @@ import {SCPostalAddress} from '@openstapps/core';
@Component({
selector: 'stapps-address-detail',
templateUrl: 'address-detail.html',
standalone: false,
})
export class AddressDetailComponent {
/**

View File

@@ -19,7 +19,6 @@ import {SCCertificationWithoutReferences} from '@openstapps/core';
selector: 'stapps-certifications-in-detail',
templateUrl: 'certifications-in-detail.html',
styleUrls: ['certifications-in-detail.scss'],
standalone: false,
})
export class CertificationsInDetailComponent {
@Input() certifications: SCCertificationWithoutReferences[] = [];

View File

@@ -20,7 +20,6 @@ import {SimpleBrowser} from '../../../util/browser.factory';
selector: 'stapps-external-link',
templateUrl: './external-link.html',
styleUrls: ['./external-link.scss'],
standalone: false,
})
export class ExternalLinkComponent {
@Input() link: string;

View File

@@ -26,7 +26,6 @@ import {map, take} from 'rxjs/operators';
templateUrl: './favorite-button.component.html',
styleUrls: ['./favorite-button.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class FavoriteButtonComponent {
/**

View File

@@ -20,7 +20,6 @@ import {Component, Input} from '@angular/core';
@Component({
selector: 'stapps-long-inline-text',
templateUrl: 'long-inline-text.html',
standalone: false,
})
export class LongInlineTextComponent {
/**

View File

@@ -18,7 +18,6 @@ import {SCAcademicPriceGroup, SCThingThatCanBeOfferedOffer} from '@openstapps/co
@Component({
selector: 'stapps-offers-detail',
templateUrl: 'offers-detail.html',
standalone: false,
})
export class OffersDetailComponent {
@Input() offers: Array<SCThingThatCanBeOfferedOffer<SCAcademicPriceGroup>>;

View File

@@ -24,7 +24,6 @@ import {SettingsProvider} from '../../settings/settings.provider';
selector: 'stapps-offers-in-list',
templateUrl: 'offers-in-list.html',
styleUrls: ['offers-in-list.scss'],
standalone: false,
})
export class OffersInListComponent {
@Input() set offers(it: Array<SCThingThatCanBeOfferedOffer<SCAcademicPriceGroup>>) {

View File

@@ -22,7 +22,6 @@ import {SCThingUserOrigin, SCThingRemoteOrigin} from '@openstapps/core';
selector: 'stapps-origin-detail',
templateUrl: 'origin-detail.html',
styleUrl: 'origin-detail.scss',
standalone: false,
})
export class OriginDetailComponent {
/**

View File

@@ -21,7 +21,6 @@ import {SCThingUserOrigin, SCThingRemoteOrigin} from '@openstapps/core';
@Component({
selector: 'stapps-origin-in-list',
templateUrl: 'origin-in-list.html',
standalone: false,
})
export class OriginInListComponent {
/**

View File

@@ -26,7 +26,6 @@ import {catchError, map} from 'rxjs/operators';
styleUrls: ['rating.scss'],
animations: [ratingAnimation],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class StappsRatingComponent {
performRating = new BehaviorSubject(false);

View File

@@ -6,7 +6,6 @@ import {environment} from '../../../../environments/environment';
selector: 'stapps-share-button',
templateUrl: 'share-button.html',
styleUrls: ['share-button.scss'],
standalone: false,
})
export class ShareButtonComponent {
canShare = false;

View File

@@ -18,7 +18,6 @@ import {SCThingWithoutReferences} from '@openstapps/core';
@Component({
selector: 'stapps-simple-card',
templateUrl: 'simple-card.html',
standalone: false,
})
export class SimpleCardComponent {
areThings = false;

View File

@@ -21,7 +21,6 @@ import {Component, Input} from '@angular/core';
selector: 'stapps-skeleton-list-item',
templateUrl: 'skeleton-list-item.html',
styleUrls: ['skeleton-list-item.scss'],
standalone: false,
})
export class SkeletonListItemComponent {
@Input() hideThumbnail = false;

View File

@@ -20,6 +20,5 @@ import {Component} from '@angular/core';
@Component({
selector: 'stapps-skeleton-segment-button',
templateUrl: 'skeleton-segment-button.html',
standalone: false,
})
export class SkeletonSegmentComponent {}

View File

@@ -20,7 +20,6 @@ import {Component, Input} from '@angular/core';
@Component({
selector: 'stapps-skeleton-simple-card',
templateUrl: 'skeleton-simple-card.html',
standalone: false,
})
export class SkeletonSimpleCardComponent {
/**

View File

@@ -26,7 +26,6 @@ const AccordionButtonState = {
selector: 'stapps-title-card',
templateUrl: './title-card.component.html',
styleUrls: ['./title-card.component.scss'],
standalone: false,
})
export class TitleCardComponent implements OnInit, OnChanges {
/**

View File

@@ -18,7 +18,6 @@ import {SCThings} from '@openstapps/core';
@Component({
selector: 'data-list-item-host-default',
templateUrl: 'data-list-item-host-default.html',
standalone: false,
})
export class DataListItemHostDefaultComponent {
@Input() item: SCThings;

View File

@@ -59,7 +59,6 @@ const DataListItemIndex: Partial<Record<SCThingType, Type<DataListItem>>> = {
@Directive({
selector: '[dataListItemHost]',
standalone: false,
})
export class DataListItemHostDirective {
private type?: Type<DataListItem>;

View File

@@ -24,7 +24,6 @@ import {DataListContext} from './data-list.component';
selector: 'stapps-data-list-item',
styleUrls: ['data-list-item.scss'],
templateUrl: 'data-list-item.html',
standalone: false,
})
export class DataListItemComponent {
/**

View File

@@ -43,7 +43,6 @@ export interface DataListContext<T> {
selector: 'stapps-data-list',
templateUrl: 'data-list.html',
styleUrls: ['data-list.scss'],
standalone: false,
})
export class DataListComponent implements OnChanges, OnInit {
/**

View File

@@ -26,7 +26,6 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
*/
@Component({
templateUrl: 'food-data-list.html',
standalone: false,
})
export class FoodDataListComponent {
isNotInView$ = new BehaviorSubject(true);

View File

@@ -52,7 +52,6 @@ import {enterAnimation, leaveAnimation} from '../../menu/context/context-menu-mo
templateUrl: 'search-page.html',
styleUrls: ['search-page.scss'],
providers: [ContextMenuService],
standalone: false,
})
export class SearchPageComponent implements OnInit {
@Input() title = 'search.title';
@@ -384,7 +383,6 @@ export class SearchPageComponent implements OnInit {
cssClass: 'context-menu-modal',
showBackdrop: true,
backdropDismiss: true,
mode: 'md', // TODO has to be fixed to md for now. ios mode is unresponsive. Remove if Issue 239 is solved
enterAnimation: (baseElement: HTMLElement) => enterAnimation(baseElement, this.animationController),
leaveAnimation: (baseElement: HTMLElement) => leaveAnimation(baseElement, this.animationController),
componentProps: {

View File

@@ -37,8 +37,7 @@
>
</ion-searchbar>
@if (showContextMenu) {
<!-- TODO has to be fixed to md for now. ios mode displays broken/missing icon -->
<ion-menu-button mode="md" menu="context" auto-hide="false" slot="end" (click)="openContextMenu()">
<ion-menu-button menu="context" auto-hide="false" slot="end" (click)="openContextMenu()">
<ion-icon name="tune"></ion-icon>
</ion-menu-button>
}

View File

@@ -26,7 +26,6 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
selector: 'stapps-simple-data-list',
templateUrl: 'simple-data-list.html',
styleUrls: ['simple-data-list.scss'],
standalone: false,
})
export class SimpleDataListComponent implements OnInit {
@Input() items?: Promise<SCThings[] | undefined>;

View File

@@ -19,6 +19,5 @@ import {Component} from '@angular/core';
selector: 'skeleton-list',
templateUrl: 'skeleton-list.html',
styleUrls: ['skeleton-list.scss'],
standalone: false,
})
export class SkeletonListComponent {}

View File

@@ -21,7 +21,6 @@ import {DataListContext} from './data-list.component';
selector: 'tree-list-fragment',
templateUrl: 'tree-list-fragment.html',
styleUrls: ['tree-list-fragment.scss'],
standalone: false,
})
export class TreeListFragmentComponent {
entries?: [string, Tree<SCThings>][];

View File

@@ -21,7 +21,6 @@ import {Tree, treeGroupBy} from '@openstapps/collection-utils';
selector: 'tree-list',
templateUrl: 'tree-list.html',
styleUrls: ['tree-list.scss'],
standalone: false,
})
export class TreeListComponent {
_items?: Promise<SCThings[] | undefined>;

View File

@@ -18,7 +18,6 @@ import {SCArticle} from '@openstapps/core';
@Component({
selector: 'stapps-article-detail-content',
templateUrl: 'article-detail-content.html',
standalone: false,
})
export class ArticleDetailContentComponent {
@Input() item: SCArticle;

View File

@@ -23,7 +23,6 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
selector: 'stapps-article-item',
templateUrl: 'article-list-item.html',
styleUrl: 'article-list-item.scss',
standalone: false,
})
export class ArticleListItemComponent extends DataListItemComponent {
/**

View File

@@ -21,7 +21,6 @@ import {SCBook} from '@openstapps/core';
@Component({
selector: 'stapps-book-detail-content',
templateUrl: 'book-detail-content.html',
standalone: false,
})
export class BookDetailContentComponent {
/**

View File

@@ -23,7 +23,6 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
selector: 'stapps-book-list-item',
templateUrl: 'book-list-item.html',
styleUrl: 'book-list-item.scss',
standalone: false,
})
export class BookListItemComponent extends DataListItemComponent {
/**

View File

@@ -20,7 +20,6 @@ import {DataProvider} from '../../data.provider';
selector: 'stapps-catalog-detail-content',
templateUrl: 'catalog-detail-content.html',
styleUrls: ['catalog-detail-content.scss'],
standalone: false,
})
export class CatalogDetailContentComponent implements OnInit {
/**

View File

@@ -22,7 +22,6 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
@Component({
selector: 'stapps-catalog-list-item',
templateUrl: 'catalog-list-item.html',
standalone: false,
})
export class CatalogListItemComponent extends DataListItemComponent {
/**

View File

@@ -25,7 +25,6 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
selector: 'stapps-date-series-detail-content',
templateUrl: 'date-series-detail-content.html',
styleUrls: ['date-series-detail-content.scss'],
standalone: false,
})
export class DateSeriesDetailContentComponent implements OnInit {
@Input() item: SCDateSeries;

View File

@@ -23,7 +23,6 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
selector: 'stapps-date-series-list-item',
templateUrl: 'date-series-list-item.html',
styleUrls: ['date-series-list-item.scss'],
standalone: false,
})
export class DateSeriesListItemComponent extends DataListItemComponent {
/**

View File

@@ -19,7 +19,6 @@ import {SCDish} from '@openstapps/core';
selector: 'stapps-dish-characteristics',
templateUrl: 'dish-characteristics.html',
styleUrls: ['dish-characteristics.scss'],
standalone: false,
})
export class DishCharacteristicsComponent {
@Input() item: SCDish;

View File

@@ -22,7 +22,6 @@ import {SCDish} from '@openstapps/core';
selector: 'stapps-dish-detail-content',
styleUrls: ['dish-detail-content.scss'],
templateUrl: 'dish-detail-content.html',
standalone: false,
})
export class DishDetailContentComponent {
@Input() item: SCDish;

Some files were not shown because too many files have changed in this diff Show More