mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-09-11 21:32:13 +00:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
543def0ff2 | ||
|
|
0d7a7465a4 | ||
|
|
c08fae32f5 | ||
|
|
83db8f004d | ||
|
|
710693e40d | ||
|
|
1eaa70193d |
@@ -100,7 +100,7 @@
|
|||||||
"supertest": "6.3.3",
|
"supertest": "6.3.3",
|
||||||
"ts-node": "10.9.2",
|
"ts-node": "10.9.2",
|
||||||
"tsup": "8.5.0",
|
"tsup": "8.5.0",
|
||||||
"typescript": "5.4.2"
|
"typescript": "5.5.4"
|
||||||
},
|
},
|
||||||
"tsup": {
|
"tsup": {
|
||||||
"entry": [
|
"entry": [
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
"is-cidr": "4.0.2",
|
"is-cidr": "4.0.2",
|
||||||
"mustache": "4.2.0",
|
"mustache": "4.2.0",
|
||||||
"semver": "7.6.0",
|
"semver": "7.6.0",
|
||||||
"typescript": "5.4.2"
|
"typescript": "5.5.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@openstapps/api-cli": "workspace:*",
|
"@openstapps/api-cli": "workspace:*",
|
||||||
|
|||||||
@@ -19,11 +19,11 @@
|
|||||||
"@openstapps/tsconfig": "workspace:*",
|
"@openstapps/tsconfig": "workspace:*",
|
||||||
"@types/node": "22.15.31",
|
"@types/node": "22.15.31",
|
||||||
"eslint": "8.57.0",
|
"eslint": "8.57.0",
|
||||||
"typescript": "5.4.2"
|
"typescript": "5.5.4"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "7.11.0",
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
||||||
"@typescript-eslint/parser": "7.11.0",
|
"@typescript-eslint/parser": "7.18.0",
|
||||||
"eslint": "8.57.0",
|
"eslint": "8.57.0",
|
||||||
"eslint-config-prettier": "9.1.0",
|
"eslint-config-prettier": "9.1.0",
|
||||||
"eslint-plugin-jsdoc": "48.2.1",
|
"eslint-plugin-jsdoc": "48.2.1",
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ const config = {
|
|||||||
trailingComma: 'all',
|
trailingComma: 'all',
|
||||||
bracketSpacing: false,
|
bracketSpacing: false,
|
||||||
arrowParens: 'avoid',
|
arrowParens: 'avoid',
|
||||||
endOfLine: 'lf'
|
endOfLine: 'lf',
|
||||||
|
htmlWhitespaceSensitivity: 'strict'
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
"mocha-junit-reporter": "2.2.0",
|
"mocha-junit-reporter": "2.2.0",
|
||||||
"ts-node": "10.9.2",
|
"ts-node": "10.9.2",
|
||||||
"tsup": "8.5.0",
|
"tsup": "8.5.0",
|
||||||
"typescript": "5.4.2"
|
"typescript": "5.5.4"
|
||||||
},
|
},
|
||||||
"tsup": {
|
"tsup": {
|
||||||
"entry": [
|
"entry": [
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
"nock": "13.3.1",
|
"nock": "13.3.1",
|
||||||
"ts-node": "10.9.2",
|
"ts-node": "10.9.2",
|
||||||
"tsup": "8.5.0",
|
"tsup": "8.5.0",
|
||||||
"typescript": "5.4.2"
|
"typescript": "5.5.4"
|
||||||
},
|
},
|
||||||
"tsup": {
|
"tsup": {
|
||||||
"entry": [
|
"entry": [
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
"@types/express": "4.17.17",
|
"@types/express": "4.17.17",
|
||||||
"@types/node": "22.15.31",
|
"@types/node": "22.15.31",
|
||||||
"tsup": "8.5.0",
|
"tsup": "8.5.0",
|
||||||
"typescript": "5.4.2"
|
"typescript": "5.5.4"
|
||||||
},
|
},
|
||||||
"tsup": {
|
"tsup": {
|
||||||
"entry": [
|
"entry": [
|
||||||
|
|||||||
@@ -65,7 +65,8 @@
|
|||||||
],
|
],
|
||||||
"@typescript-eslint/lines-between-class-members": ["error", "always"],
|
"@typescript-eslint/lines-between-class-members": ["error", "always"],
|
||||||
"@typescript-eslint/no-explicit-any": "error",
|
"@typescript-eslint/no-explicit-any": "error",
|
||||||
"@angular-eslint/use-lifecycle-interface": "error"
|
"@angular-eslint/use-lifecycle-interface": "error",
|
||||||
|
"@angular-eslint/prefer-standalone": "off"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
+49
-49
@@ -48,35 +48,35 @@
|
|||||||
"test:integration": "sh integration-test.sh"
|
"test:integration": "sh integration-test.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "18.2.13",
|
"@angular/animations": "19.2.25",
|
||||||
"@angular/cdk": "18.2.13",
|
"@angular/cdk": "19.2.19",
|
||||||
"@angular/common": "18.2.13",
|
"@angular/common": "19.2.25",
|
||||||
"@angular/core": "18.2.13",
|
"@angular/core": "19.2.25",
|
||||||
"@angular/forms": "18.2.13",
|
"@angular/forms": "19.2.25",
|
||||||
"@angular/platform-browser": "18.2.13",
|
"@angular/platform-browser": "19.2.25",
|
||||||
"@angular/router": "18.2.13",
|
"@angular/router": "19.2.25",
|
||||||
"@awesome-cordova-plugins/calendar": "8.1.0",
|
"@awesome-cordova-plugins/calendar": "8.1.0",
|
||||||
"@awesome-cordova-plugins/core": "8.1.0",
|
"@awesome-cordova-plugins/core": "8.1.0",
|
||||||
"@capacitor-community/in-app-review": "8.0.0",
|
"@capacitor-community/in-app-review": "8.0.0",
|
||||||
"@capacitor-community/screen-brightness": "8.0.0",
|
"@capacitor-community/screen-brightness": "8.0.0",
|
||||||
"@capacitor/app": "8.0.1",
|
"@capacitor/app": "8.0.1",
|
||||||
"@capacitor/browser": "8.0.2",
|
"@capacitor/browser": "8.0.4",
|
||||||
"@capacitor/clipboard": "8.0.1",
|
"@capacitor/clipboard": "8.0.1",
|
||||||
"@capacitor/core": "8.2.0",
|
"@capacitor/core": "8.2.0",
|
||||||
"@capacitor/device": "8.0.1",
|
"@capacitor/device": "8.0.3",
|
||||||
"@capacitor/dialog": "8.0.1",
|
"@capacitor/dialog": "8.0.1",
|
||||||
"@capacitor/filesystem": "8.1.2",
|
"@capacitor/filesystem": "8.1.3",
|
||||||
"@capacitor/geolocation": "8.1.0",
|
"@capacitor/geolocation": "8.1.0",
|
||||||
"@capacitor/haptics": "8.0.1",
|
"@capacitor/haptics": "8.0.2",
|
||||||
"@capacitor/keyboard": "8.0.1",
|
"@capacitor/keyboard": "8.0.5",
|
||||||
"@capacitor/local-notifications": "8.0.2",
|
"@capacitor/local-notifications": "8.0.2",
|
||||||
"@capacitor/network": "8.0.1",
|
"@capacitor/network": "8.0.1",
|
||||||
"@capacitor/preferences": "8.0.1",
|
"@capacitor/preferences": "8.0.1",
|
||||||
"@capacitor/screen-orientation": "8.0.1",
|
"@capacitor/screen-orientation": "8.0.1",
|
||||||
"@capacitor/share": "8.0.1",
|
"@capacitor/share": "8.0.1",
|
||||||
"@capacitor/splash-screen": "8.0.1",
|
"@capacitor/splash-screen": "8.0.2",
|
||||||
"@ionic/angular": "8.7.16",
|
"@ionic/angular": "8.8.19",
|
||||||
"@ionic/angular-server": "8.7.16",
|
"@ionic/angular-server": "8.8.19",
|
||||||
"@ionic/storage-angular": "4.0.0",
|
"@ionic/storage-angular": "4.0.0",
|
||||||
"@maplibre/ngx-maplibre-gl": "17.4.1",
|
"@maplibre/ngx-maplibre-gl": "17.4.1",
|
||||||
"@ngx-translate/core": "15.0.0",
|
"@ngx-translate/core": "15.0.0",
|
||||||
@@ -86,71 +86,71 @@
|
|||||||
"@openstapps/collection-utils": "workspace:*",
|
"@openstapps/collection-utils": "workspace:*",
|
||||||
"@openstapps/core": "workspace:*",
|
"@openstapps/core": "workspace:*",
|
||||||
"@transistorsoft/capacitor-background-fetch": "8.0.0",
|
"@transistorsoft/capacitor-background-fetch": "8.0.0",
|
||||||
"@types/dom-view-transitions": "1.0.4",
|
"@types/dom-view-transitions": "1.0.6",
|
||||||
"capacitor-secure-storage-plugin": "0.12.0",
|
"capacitor-secure-storage-plugin": "0.13.0",
|
||||||
"cordova-plugin-calendar": "5.1.6",
|
"cordova-plugin-calendar": "5.1.6",
|
||||||
"date-fns": "3.6.0",
|
"date-fns": "3.6.0",
|
||||||
"deepmerge": "4.3.1",
|
"deepmerge": "4.3.1",
|
||||||
"form-data": "4.0.4",
|
"form-data": "4.0.6",
|
||||||
"geojson": "0.5.0",
|
"geojson": "0.5.0",
|
||||||
"ionic-appauth": "2.1.0",
|
"ionic-appauth": "2.1.0",
|
||||||
"ionicons": "8.0.13",
|
"ionicons": "8.1.0",
|
||||||
"jsonpath-plus": "10.3.0",
|
"jsonpath-plus": "10.3.0",
|
||||||
"maplibre-gl": "4.0.2",
|
"maplibre-gl": "4.0.2",
|
||||||
"material-symbols": "0.17.1",
|
"material-symbols": "0.17.1",
|
||||||
"moment": "2.30.1",
|
"moment": "2.30.1",
|
||||||
"ngx-date-fns": "11.0.0",
|
"ngx-date-fns": "11.0.0",
|
||||||
"ngx-logger": "5.0.12",
|
"ngx-logger": "5.0.12",
|
||||||
"ngx-markdown": "17.2.1",
|
"ngx-markdown": "18.1.0",
|
||||||
"ngx-moment": "6.0.2",
|
"ngx-moment": "6.0.2",
|
||||||
"opening_hours": "3.8.0",
|
"opening_hours": "3.8.0",
|
||||||
"pmtiles": "3.0.3",
|
"pmtiles": "3.0.3",
|
||||||
"prettier": "3.1.1",
|
"prettier": "3.1.1",
|
||||||
"rxjs": "7.8.1",
|
"rxjs": "7.8.2",
|
||||||
"semver": "7.6.0",
|
"semver": "7.6.0",
|
||||||
"swiper": "8.4.5",
|
"swiper": "8.4.5",
|
||||||
"tslib": "2.6.2",
|
"tslib": "2.6.2",
|
||||||
"zone.js": "0.14.10"
|
"zone.js": "0.16.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/architect": "0.1802.20",
|
"@angular-devkit/architect": "0.1902.27",
|
||||||
"@angular-devkit/build-angular": "18.2.20",
|
"@angular-devkit/build-angular": "19.2.27",
|
||||||
"@angular-devkit/core": "18.2.20",
|
"@angular-devkit/core": "19.2.27",
|
||||||
"@angular-devkit/schematics": "18.2.20",
|
"@angular-devkit/schematics": "19.2.27",
|
||||||
"@angular-eslint/builder": "18.4.3",
|
"@angular-eslint/builder": "19.8.1",
|
||||||
"@angular-eslint/eslint-plugin": "18.4.3",
|
"@angular-eslint/eslint-plugin": "19.8.1",
|
||||||
"@angular-eslint/eslint-plugin-template": "18.4.3",
|
"@angular-eslint/eslint-plugin-template": "19.8.1",
|
||||||
"@angular-eslint/schematics": "18.4.1",
|
"@angular-eslint/schematics": "19.8.1",
|
||||||
"@angular-eslint/template-parser": "18.4.3",
|
"@angular-eslint/template-parser": "19.8.1",
|
||||||
"@angular/cli": "18.2.20",
|
"@angular/cli": "19.2.27",
|
||||||
"@angular/compiler": "18.2.13",
|
"@angular/compiler": "19.2.25",
|
||||||
"@angular/compiler-cli": "18.2.13",
|
"@angular/compiler-cli": "19.2.25",
|
||||||
"@angular/language-server": "18.2.0",
|
"@angular/language-server": "19.2.2",
|
||||||
"@angular/language-service": "18.2.13",
|
"@angular/language-service": "19.2.25",
|
||||||
"@angular/platform-browser-dynamic": "18.2.13",
|
"@angular/platform-browser-dynamic": "19.2.25",
|
||||||
"@capacitor/android": "8.2.0",
|
"@capacitor/android": "8.2.0",
|
||||||
"@capacitor/assets": "3.0.5",
|
"@capacitor/assets": "3.0.5",
|
||||||
"@capacitor/cli": "8.2.0",
|
"@capacitor/cli": "8.2.0",
|
||||||
"@capacitor/ios": "8.2.0",
|
"@capacitor/ios": "8.2.0",
|
||||||
"@compodoc/compodoc": "1.1.23",
|
"@compodoc/compodoc": "1.2.1",
|
||||||
"@cypress/schematic": "4.1.1",
|
"@cypress/schematic": "4.1.1",
|
||||||
"@ionic/angular-toolkit": "12.3.0",
|
"@ionic/angular-toolkit": "12.3.0",
|
||||||
"@ionic/cli": "7.2.1",
|
"@ionic/cli": "7.2.1",
|
||||||
"@openstapps/prettier-config": "workspace:*",
|
"@openstapps/prettier-config": "workspace:*",
|
||||||
"@openstapps/tsconfig": "workspace:*",
|
"@openstapps/tsconfig": "workspace:*",
|
||||||
"@types/fontkit": "2.0.7",
|
"@types/fontkit": "2.0.9",
|
||||||
"@types/geojson": "1.0.6",
|
"@types/geojson": "1.0.6",
|
||||||
"@types/glob": "8.1.0",
|
"@types/glob": "8.1.0",
|
||||||
"@types/jasmine": "5.1.4",
|
"@types/jasmine": "5.1.4",
|
||||||
"@types/jasminewd2": "2.0.13",
|
"@types/jasminewd2": "2.0.13",
|
||||||
"@types/jsonpath": "0.2.0",
|
"@types/jsonpath": "0.2.0",
|
||||||
"@types/karma": "6.3.8",
|
"@types/karma": "6.3.9",
|
||||||
"@types/karma-coverage": "2.0.3",
|
"@types/karma-coverage": "2.0.3",
|
||||||
"@types/karma-jasmine": "4.0.5",
|
"@types/karma-jasmine": "4.0.5",
|
||||||
"@types/node": "22.15.31",
|
"@types/node": "22.15.31",
|
||||||
"@types/semver": "7.5.8",
|
"@types/semver": "7.5.8",
|
||||||
"@typescript-eslint/eslint-plugin": "7.11.0",
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
||||||
"@typescript-eslint/parser": "7.11.0",
|
"@typescript-eslint/parser": "7.18.0",
|
||||||
"cordova-res": "0.15.4",
|
"cordova-res": "0.15.4",
|
||||||
"cypress": "15.0.0",
|
"cypress": "15.0.0",
|
||||||
"eslint": "8.57.0",
|
"eslint": "8.57.0",
|
||||||
@@ -158,28 +158,28 @@
|
|||||||
"eslint-plugin-prettier": "5.1.3",
|
"eslint-plugin-prettier": "5.1.3",
|
||||||
"eslint-plugin-unicorn": "51.0.1",
|
"eslint-plugin-unicorn": "51.0.1",
|
||||||
"fast-deep-equal": "3.1.3",
|
"fast-deep-equal": "3.1.3",
|
||||||
"fontkit": "2.0.2",
|
"fontkit": "2.0.4",
|
||||||
"glob": "10.5.0",
|
"glob": "10.5.0",
|
||||||
"http-server": "14.1.1",
|
"http-server": "14.1.1",
|
||||||
"is-docker": "2.2.1",
|
"is-docker": "2.2.1",
|
||||||
"jasmine-core": "5.1.2",
|
"jasmine-core": "5.1.2",
|
||||||
"jasmine-spec-reporter": "7.0.0",
|
"jasmine-spec-reporter": "7.0.0",
|
||||||
"junit-report-merger": "6.0.3",
|
"junit-report-merger": "6.0.3",
|
||||||
"karma": "6.4.3",
|
"karma": "6.4.4",
|
||||||
"karma-chrome-launcher": "3.2.0",
|
"karma-chrome-launcher": "3.2.0",
|
||||||
"karma-coverage": "2.2.1",
|
"karma-coverage": "2.2.1",
|
||||||
"karma-jasmine": "5.1.0",
|
"karma-jasmine": "5.1.0",
|
||||||
"karma-junit-reporter": "2.0.1",
|
"karma-junit-reporter": "2.0.1",
|
||||||
"karma-mocha-reporter": "2.2.5",
|
"karma-mocha-reporter": "2.2.5",
|
||||||
"license-checker": "25.0.1",
|
"license-checker": "25.0.1",
|
||||||
"stylelint": "16.3.1",
|
"stylelint": "17.14.1",
|
||||||
"stylelint-config-clean-order": "5.4.1",
|
"stylelint-config-clean-order": "10.0.0",
|
||||||
"stylelint-config-prettier-scss": "1.0.0",
|
"stylelint-config-prettier-scss": "1.0.0",
|
||||||
"stylelint-config-recommended-scss": "14.0.0",
|
"stylelint-config-recommended-scss": "17.0.1",
|
||||||
"stylelint-config-standard-scss": "13.0.0",
|
"stylelint-config-standard-scss": "17.0.0",
|
||||||
"surge": "0.23.1",
|
"surge": "0.23.1",
|
||||||
"ts-node": "10.9.2",
|
"ts-node": "10.9.2",
|
||||||
"typescript": "5.4.2"
|
"typescript": "5.5.4"
|
||||||
},
|
},
|
||||||
"cordova": {
|
"cordova": {
|
||||||
"plugins": {},
|
"plugins": {},
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ const routes: Routes = [{path: '', redirectTo: '/overview', pathMatch: 'full'}];
|
|||||||
RouterModule.forRoot(routes, {
|
RouterModule.forRoot(routes, {
|
||||||
preloadingStrategy: PreloadAllModules,
|
preloadingStrategy: PreloadAllModules,
|
||||||
errorHandler: error => {
|
errorHandler: error => {
|
||||||
|
console.error(error);
|
||||||
// Handle unknown routes, at the moment this can only be done via window.location
|
// Handle unknown routes, at the moment this can only be done via window.location
|
||||||
if (error.message.includes('Cannot match any routes')) {
|
if (error.message.includes('Cannot match any routes')) {
|
||||||
window.location.href = '/overview';
|
window.location.href = '/overview';
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ import {SplashScreen} from '@capacitor/splash-screen';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
templateUrl: 'app.component.html',
|
templateUrl: 'app.component.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AppComponent implements AfterContentInit {
|
export class AppComponent implements AfterContentInit {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {ConfigProvider} from '../config/config.provider';
|
|||||||
templateUrl: 'about-changelog.html',
|
templateUrl: 'about-changelog.html',
|
||||||
styleUrls: ['about-changelog.scss', './about-page/about-page.scss', 'release-notes-markdown.scss'],
|
styleUrls: ['about-changelog.scss', './about-page/about-page.scss', 'release-notes-markdown.scss'],
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AboutChangelogComponent {
|
export class AboutChangelogComponent {
|
||||||
config = inject(ConfigProvider);
|
config = inject(ConfigProvider);
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import {License} from './about-licenses.component';
|
|||||||
selector: 'about-license-modal',
|
selector: 'about-license-modal',
|
||||||
templateUrl: 'about-license-modal.html',
|
templateUrl: 'about-license-modal.html',
|
||||||
styleUrls: ['about-license-modal.scss'],
|
styleUrls: ['about-license-modal.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AboutLicenseModalComponent {
|
export class AboutLicenseModalComponent {
|
||||||
@Input() license: License;
|
@Input() license: License;
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ export interface License {
|
|||||||
selector: 'about-changelog',
|
selector: 'about-changelog',
|
||||||
templateUrl: 'about-licenses.html',
|
templateUrl: 'about-licenses.html',
|
||||||
styleUrls: ['about-licenses.scss', './about-page/about-page.scss'],
|
styleUrls: ['about-licenses.scss', './about-page/about-page.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AboutLicensesComponent implements OnInit {
|
export class AboutLicensesComponent implements OnInit {
|
||||||
licenses: License[];
|
licenses: License[];
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import {SCAboutPageContent} from '@openstapps/core';
|
|||||||
selector: 'about-page-content',
|
selector: 'about-page-content',
|
||||||
templateUrl: 'about-page-content.html',
|
templateUrl: 'about-page-content.html',
|
||||||
styleUrls: ['about-page-content.scss'],
|
styleUrls: ['about-page-content.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AboutPageContentComponent {
|
export class AboutPageContentComponent {
|
||||||
@Input() content: SCAboutPageContent;
|
@Input() content: SCAboutPageContent;
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import {Capacitor} from '@capacitor/core';
|
|||||||
selector: 'about-page',
|
selector: 'about-page',
|
||||||
templateUrl: 'about-page.html',
|
templateUrl: 'about-page.html',
|
||||||
styleUrls: ['about-page.scss'],
|
styleUrls: ['about-page.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AboutPageComponent implements OnInit {
|
export class AboutPageComponent implements OnInit {
|
||||||
content: SCAboutPage;
|
content: SCAboutPage;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License along with
|
* You should have received a copy of the GNU General Public License along with
|
||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
@import '../../../../theme/util/mixins';
|
@use '../../../../theme/util/mixins';
|
||||||
|
|
||||||
ion-text {
|
ion-text {
|
||||||
margin-inline: var(--spacing-md);
|
margin-inline: var(--spacing-md);
|
||||||
@@ -64,7 +64,7 @@ ion-text {
|
|||||||
.about-changelog,
|
.about-changelog,
|
||||||
.licenses-content,
|
.licenses-content,
|
||||||
.page-content {
|
.page-content {
|
||||||
@include border-radius-in-parallax(var(--border-radius-default));
|
@include mixins.border-radius-in-parallax(var(--border-radius-default));
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -76,7 +76,7 @@ ion-text {
|
|||||||
background: var(--ion-item-background);
|
background: var(--ion-item-background);
|
||||||
|
|
||||||
& > * {
|
& > * {
|
||||||
@include border-radius-in-parallax(var(--border-radius-default));
|
@include mixins.border-radius-in-parallax(var(--border-radius-default));
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {ConfigProvider} from '../config/config.provider';
|
|||||||
templateUrl: 'about-release-notes.html',
|
templateUrl: 'about-release-notes.html',
|
||||||
styleUrls: ['about-release-notes.scss', './about-page/about-page.scss', 'release-notes-markdown.scss'],
|
styleUrls: ['about-release-notes.scss', './about-page/about-page.scss', 'release-notes-markdown.scss'],
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AboutReleaseNotesComponent {
|
export class AboutReleaseNotesComponent {
|
||||||
config = inject(ConfigProvider);
|
config = inject(ConfigProvider);
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License along with
|
* You should have received a copy of the GNU General Public License along with
|
||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
@import '../../../theme/util/mixins';
|
@use '../../../theme/util/mixins';
|
||||||
|
|
||||||
ion-button {
|
ion-button {
|
||||||
--color: var(--ion-color-primary-contrast);
|
--color: var(--ion-color-primary-contrast);
|
||||||
@@ -22,7 +22,7 @@ ion-button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.release-notes {
|
.release-notes {
|
||||||
@include border-radius-in-parallax(var(--border-radius-default));
|
@include mixins.border-radius-in-parallax(var(--border-radius-default));
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
margin: var(--spacing-md);
|
margin: var(--spacing-md);
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
background: var(--ion-item-background);
|
|
||||||
border-left: 0.25em solid var(--ion-color-medium);
|
border-left: 0.25em solid var(--ion-color-medium);
|
||||||
|
background: var(--ion-item-background);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ import {UtilModule} from '../../util/util.module';
|
|||||||
selector: 'stapps-release-notes',
|
selector: 'stapps-release-notes',
|
||||||
templateUrl: 'release-notes.html',
|
templateUrl: 'release-notes.html',
|
||||||
styleUrls: ['release-notes.scss', 'release-notes-markdown.scss'],
|
styleUrls: ['release-notes.scss', 'release-notes-markdown.scss'],
|
||||||
standalone: true,
|
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
imports: [
|
imports: [
|
||||||
UtilModule,
|
UtilModule,
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
@import '../../../theme/util/mixins';
|
@use '../../../theme/util/mixins';
|
||||||
|
|
||||||
ion-title {
|
ion-title {
|
||||||
padding-block: var(--spacing-md);
|
padding-block: var(--spacing-md);
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-card {
|
.content-card {
|
||||||
@include border-radius-in-parallax(var(--border-radius-default));
|
@include mixins.border-radius-in-parallax(var(--border-radius-default));
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
margin: var(--spacing-md);
|
margin: var(--spacing-md);
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
|
|||||||
selector: 'assessments-detail',
|
selector: 'assessments-detail',
|
||||||
templateUrl: 'assessments-detail.html',
|
templateUrl: 'assessments-detail.html',
|
||||||
styleUrls: ['assessments-detail.scss'],
|
styleUrls: ['assessments-detail.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AssessmentsDetailComponent implements OnInit {
|
export class AssessmentsDetailComponent implements OnInit {
|
||||||
destroy$ = inject(DestroyRef);
|
destroy$ = inject(DestroyRef);
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {Observable} from 'rxjs';
|
|||||||
selector: 'assessments-data-list',
|
selector: 'assessments-data-list',
|
||||||
templateUrl: './assessments-data-list.html',
|
templateUrl: './assessments-data-list.html',
|
||||||
styleUrls: ['./assessments-data-list.scss'],
|
styleUrls: ['./assessments-data-list.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AssessmentsDataListComponent {
|
export class AssessmentsDataListComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import {SCThings} from '@openstapps/core';
|
|||||||
selector: 'assessments-list-item',
|
selector: 'assessments-list-item',
|
||||||
templateUrl: 'assessments-list-item.html',
|
templateUrl: 'assessments-list-item.html',
|
||||||
styleUrls: ['assessments-list-item.scss'],
|
styleUrls: ['assessments-list-item.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AssessmentsListItemComponent {
|
export class AssessmentsListItemComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
@@ -23,6 +23,7 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
|
|||||||
selector: 'assessments-simple-data-list',
|
selector: 'assessments-simple-data-list',
|
||||||
templateUrl: 'assessments-simple-data-list.html',
|
templateUrl: 'assessments-simple-data-list.html',
|
||||||
styleUrls: ['assessments-simple-data-list.scss'],
|
styleUrls: ['assessments-simple-data-list.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AssessmentsSimpleDataListComponent implements OnInit {
|
export class AssessmentsSimpleDataListComponent implements OnInit {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import {SCThings} from '@openstapps/core';
|
|||||||
selector: 'assessments-tree-list',
|
selector: 'assessments-tree-list',
|
||||||
templateUrl: 'assessments-tree-list.html',
|
templateUrl: 'assessments-tree-list.html',
|
||||||
styleUrls: ['assessments-tree-list.scss'],
|
styleUrls: ['assessments-tree-list.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AssessmentsTreeListComponent {
|
export class AssessmentsTreeListComponent {
|
||||||
@Input() items?: Promise<SCThings[] | undefined>;
|
@Input() items?: Promise<SCThings[] | undefined>;
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
|
|||||||
templateUrl: 'assessments-page.html',
|
templateUrl: 'assessments-page.html',
|
||||||
styleUrls: ['assessments-page.scss'],
|
styleUrls: ['assessments-page.scss'],
|
||||||
animations: [materialSharedAxisX],
|
animations: [materialSharedAxisX],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AssessmentsPageComponent implements OnInit, AfterViewInit {
|
export class AssessmentsPageComponent implements OnInit, AfterViewInit {
|
||||||
assessments: Promise<
|
assessments: Promise<
|
||||||
|
|||||||
+1
@@ -20,6 +20,7 @@ import {SCAssessment} from '@openstapps/core';
|
|||||||
selector: 'assessment-base-info',
|
selector: 'assessment-base-info',
|
||||||
templateUrl: 'assessment-base-info.html',
|
templateUrl: 'assessment-base-info.html',
|
||||||
styleUrls: ['assessment-base-info.scss'],
|
styleUrls: ['assessment-base-info.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AssessmentBaseInfoComponent {
|
export class AssessmentBaseInfoComponent {
|
||||||
_item: SCAssessment;
|
_item: SCAssessment;
|
||||||
|
|||||||
+1
@@ -20,6 +20,7 @@ import {SCAssessment} from '@openstapps/core';
|
|||||||
selector: 'assessment-detail',
|
selector: 'assessment-detail',
|
||||||
templateUrl: 'assessment-detail.html',
|
templateUrl: 'assessment-detail.html',
|
||||||
styleUrls: ['assessment-detail.scss'],
|
styleUrls: ['assessment-detail.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AssessmentDetailComponent {
|
export class AssessmentDetailComponent {
|
||||||
@Input() item: SCAssessment;
|
@Input() item: SCAssessment;
|
||||||
|
|||||||
+1
@@ -20,6 +20,7 @@ import {SCAssessment} from '@openstapps/core';
|
|||||||
selector: 'stapps-assessment-list-item',
|
selector: 'stapps-assessment-list-item',
|
||||||
templateUrl: './assessment-list-item.html',
|
templateUrl: './assessment-list-item.html',
|
||||||
styleUrls: ['./assessment-list-item.scss'],
|
styleUrls: ['./assessment-list-item.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AssessmentListItemComponent {
|
export class AssessmentListItemComponent {
|
||||||
@Input() item: SCAssessment;
|
@Input() item: SCAssessment;
|
||||||
|
|||||||
+1
@@ -20,6 +20,7 @@ import {SCAssessment, SCCourseOfStudyWithoutReferences} from '@openstapps/core';
|
|||||||
selector: 'course-of-study-assessment',
|
selector: 'course-of-study-assessment',
|
||||||
templateUrl: 'course-of-study-assessment.html',
|
templateUrl: 'course-of-study-assessment.html',
|
||||||
styleUrls: ['course-of-study-assessment.scss'],
|
styleUrls: ['course-of-study-assessment.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class CourseOfStudyAssessmentComponent {
|
export class CourseOfStudyAssessmentComponent {
|
||||||
@Input() courseOfStudy?: SCCourseOfStudyWithoutReferences | null;
|
@Input() courseOfStudy?: SCCourseOfStudyWithoutReferences | null;
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import {DefaultAuthService} from '../../default-auth.service';
|
|||||||
@Component({
|
@Component({
|
||||||
templateUrl: 'auth-callback-page.component.html',
|
templateUrl: 'auth-callback-page.component.html',
|
||||||
styleUrls: ['auth-callback-page.component.scss'],
|
styleUrls: ['auth-callback-page.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AuthCallbackPageComponent {
|
export class AuthCallbackPageComponent {
|
||||||
constructor(
|
constructor(
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ interface ICalInfo {
|
|||||||
selector: 'add-event-review-modal',
|
selector: 'add-event-review-modal',
|
||||||
templateUrl: 'add-event-review-modal.html',
|
templateUrl: 'add-event-review-modal.html',
|
||||||
styleUrls: ['add-event-review-modal.scss'],
|
styleUrls: ['add-event-review-modal.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AddEventReviewModalComponent implements OnInit {
|
export class AddEventReviewModalComponent implements OnInit {
|
||||||
moment = moment;
|
moment = moment;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
<ion-toolbar color="primary" mode="md">
|
<ion-toolbar color="primary" mode="md">
|
||||||
<ion-segment (ionChange)="segmentChanged($event)" [value]="selectedSemesterUID" mode="md">
|
<ion-segment (ionChange)="segmentChanged($event)" [value]="selectedSemesterUID" mode="md">
|
||||||
@for (semester of availableSemesters; track semester) {
|
@for (semester of availableSemesters; track semester.uid) {
|
||||||
<ion-segment-button [value]="semester.uid">
|
<ion-segment-button [value]="semester.uid">
|
||||||
<ion-label>{{ semester.acronym }}</ion-label>
|
<ion-label>{{ semester.acronym }}</ion-label>
|
||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
<ion-content>
|
<ion-content>
|
||||||
@if (catalogs && catalogs.length > 0) {
|
@if (catalogs && catalogs.length > 0) {
|
||||||
<ion-list>
|
<ion-list>
|
||||||
@for (catalog of catalogs; track catalog) {
|
@for (catalog of catalogs; track catalog.uid) {
|
||||||
<ion-item button="true" lines="inset" (click)="notifySelect(catalog)">
|
<ion-item button="true" lines="inset" (click)="notifySelect(catalog)">
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<h2>{{ catalog.name }}</h2>
|
<h2>{{ catalog.name }}</h2>
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
}
|
}
|
||||||
@if (!catalogs) {
|
@if (!catalogs) {
|
||||||
<ion-list>
|
<ion-list>
|
||||||
@for (skeleton of [].constructor(10); track skeleton) {
|
@for (skeleton of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; track skeleton) {
|
||||||
<stapps-skeleton-list-item> </stapps-skeleton-list-item>
|
<stapps-skeleton-list-item> </stapps-skeleton-list-item>
|
||||||
}
|
}
|
||||||
</ion-list>
|
</ion-list>
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
|
|||||||
selector: 'app-catalog',
|
selector: 'app-catalog',
|
||||||
templateUrl: './catalog.component.html',
|
templateUrl: './catalog.component.html',
|
||||||
styleUrls: ['./catalog.component.scss'],
|
styleUrls: ['./catalog.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class CatalogComponent implements OnInit {
|
export class CatalogComponent implements OnInit {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import '../../../theme/util/mixins';
|
@use '../../../theme/util/mixins';
|
||||||
|
|
||||||
@include ion-md-down {
|
@include mixins.ion-md-down {
|
||||||
ion-toolbar,
|
ion-toolbar,
|
||||||
.logo,
|
.logo,
|
||||||
.schedule,
|
.schedule,
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<div #schedule class="schedule">
|
<div #schedule class="schedule">
|
||||||
<a [routerLink]="['/schedule/weekly-view']">
|
<a [routerLink]="['/schedule/weekly-view']">
|
||||||
<ion-icon [size]="36" [weight]="300" name="calendar_month"></ion-icon>
|
<ion-icon [size]="36" [weight]="300" name="calendar_month"></ion-icon>
|
||||||
<ion-label [innerHTML]="'schedule.recurring' | translate"></ion-label>
|
<ion-label>{{ 'schedule.recurring' | translate }}</ion-label>
|
||||||
</a>
|
</a>
|
||||||
<!-- Avoid structural directives here, they might interfere with the collapse animation -->
|
<!-- Avoid structural directives here, they might interfere with the collapse animation -->
|
||||||
<a
|
<a
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import '../../../theme/util/mixins';
|
@use '../../../theme/util/mixins';
|
||||||
|
|
||||||
:host ion-header {
|
:host ion-header {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
@@ -59,15 +59,6 @@ ion-content {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.schedule {
|
.schedule {
|
||||||
@include ion-md-up {
|
|
||||||
position: unset;
|
|
||||||
|
|
||||||
width: unset;
|
|
||||||
height: calc(var(--tablet-top-bar-height) + (2 * var(--spacing-xl)));
|
|
||||||
margin: 0;
|
|
||||||
padding: var(--spacing-xl);
|
|
||||||
}
|
|
||||||
|
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -82,6 +73,15 @@ ion-content {
|
|||||||
|
|
||||||
background: var(--ion-color-primary);
|
background: var(--ion-color-primary);
|
||||||
|
|
||||||
|
@include mixins.ion-md-up {
|
||||||
|
position: unset;
|
||||||
|
|
||||||
|
width: unset;
|
||||||
|
height: calc(var(--tablet-top-bar-height) + (2 * var(--spacing-xl)));
|
||||||
|
margin: 0;
|
||||||
|
padding: var(--spacing-xl);
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -89,18 +89,13 @@ ion-content {
|
|||||||
height: auto;
|
height: auto;
|
||||||
min-height: 80px;
|
min-height: 80px;
|
||||||
padding: var(--spacing-sm);
|
padding: var(--spacing-sm);
|
||||||
|
border-radius: var(--border-radius-default);
|
||||||
|
|
||||||
color: var(--ion-color-primary-contrast);
|
color: var(--ion-color-primary-contrast);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
border-radius: var(--border-radius-default);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a:first-child {
|
a:first-child {
|
||||||
@include phone-landscape {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
gap: var(--spacing-sm);
|
gap: var(--spacing-sm);
|
||||||
@@ -108,27 +103,22 @@ ion-content {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
border: 2px solid var(--ion-color-primary-tint);
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
border: 2px solid var(--ion-color-primary-tint);
|
@include mixins.phone-landscape {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
ion-label {
|
ion-label {
|
||||||
font-size: var(--font-size-xxs);
|
font-size: var(--font-size-xxs);
|
||||||
font-weight: var(--font-weight-semi-bold);
|
font-weight: var(--font-weight-semi-bold);
|
||||||
word-break: break-word;
|
word-break: overflow-wrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a:last-child {
|
a:last-child {
|
||||||
@include ion-md-up {
|
|
||||||
flex: 1 1 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include phone-landscape {
|
|
||||||
flex: 1 1 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
||||||
flex: 1 1 65%;
|
flex: 1 1 65%;
|
||||||
@@ -138,6 +128,14 @@ ion-content {
|
|||||||
|
|
||||||
background: var(--linear-gradient);
|
background: var(--linear-gradient);
|
||||||
|
|
||||||
|
@include mixins.ion-md-up {
|
||||||
|
flex: 1 1 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include mixins.phone-landscape {
|
||||||
|
flex: 1 1 85%;
|
||||||
|
}
|
||||||
|
|
||||||
ion-label {
|
ion-label {
|
||||||
font-size: var(--font-size-xxs);
|
font-size: var(--font-size-xxs);
|
||||||
font-weight: var(--font-weight-bold);
|
font-weight: var(--font-weight-bold);
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
|
|||||||
selector: 'app-dashboard',
|
selector: 'app-dashboard',
|
||||||
templateUrl: './dashboard.component.html',
|
templateUrl: './dashboard.component.html',
|
||||||
styleUrls: ['./dashboard.component.scss', './dashboard.collapse.component.scss'],
|
styleUrls: ['./dashboard.component.scss', './dashboard.collapse.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DashboardComponent implements OnInit, OnDestroy, AfterViewInit {
|
export class DashboardComponent implements OnInit, OnDestroy, AfterViewInit {
|
||||||
@ViewChild('toolbar', {read: ElementRef}) toolbarRef: ElementRef;
|
@ViewChild('toolbar', {read: ElementRef}) toolbarRef: ElementRef;
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
</ion-button>
|
</ion-button>
|
||||||
@if (items | async; as items) {
|
@if (items | async; as items) {
|
||||||
<simple-swiper @fade>
|
<simple-swiper @fade>
|
||||||
@for (item of items; track item) {
|
@for (item of items; track item.uid) {
|
||||||
<stapps-data-list-item
|
<stapps-data-list-item
|
||||||
[hideThumbnail]="true"
|
[hideThumbnail]="true"
|
||||||
[listItemEndInteraction]="false"
|
[listItemEndInteraction]="false"
|
||||||
|
|||||||
+1
@@ -27,6 +27,7 @@ import {isMensaThing} from '../../mensa-filters';
|
|||||||
styleUrls: ['favorites-section.component.scss'],
|
styleUrls: ['favorites-section.component.scss'],
|
||||||
animations: [fadeAnimation],
|
animations: [fadeAnimation],
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class FavoritesSectionComponent {
|
export class FavoritesSectionComponent {
|
||||||
items = this.favoritesService.favoriteThings$.pipe(
|
items = this.favoritesService.favoriteThings$.pipe(
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
</ion-button>
|
</ion-button>
|
||||||
@if (jobs | async; as jobs) {
|
@if (jobs | async; as jobs) {
|
||||||
<simple-swiper @fade>
|
<simple-swiper @fade>
|
||||||
@for (item of jobs; track item) {
|
@for (item of jobs; track item.uid) {
|
||||||
<stapps-data-list-item
|
<stapps-data-list-item
|
||||||
[hideThumbnail]="true"
|
[hideThumbnail]="true"
|
||||||
[item]="item"
|
[item]="item"
|
||||||
|
|||||||
+1
-1
@@ -29,8 +29,8 @@ simple-swiper {
|
|||||||
|
|
||||||
&::part(native) {
|
&::part(native) {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: none;
|
|
||||||
border-radius: var(--border-radius-default);
|
border-radius: var(--border-radius-default);
|
||||||
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-label {
|
ion-label {
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import {fadeAnimation} from '../../fade.animation';
|
|||||||
styleUrls: ['job-section.component.scss'],
|
styleUrls: ['job-section.component.scss'],
|
||||||
animations: [fadeAnimation],
|
animations: [fadeAnimation],
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class JobSectionComponent {
|
export class JobSectionComponent {
|
||||||
jobs = inject(DataProvider)
|
jobs = inject(DataProvider)
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
@if (dishes | async; as dishes) {
|
@if (dishes | async; as dishes) {
|
||||||
@if (dishes.length > 0) {
|
@if (dishes.length > 0) {
|
||||||
<simple-swiper @fade>
|
<simple-swiper @fade>
|
||||||
@for (dish of dishes; track dish) {
|
@for (dish of dishes; track dish.uid) {
|
||||||
<stapps-data-list-item
|
<stapps-data-list-item
|
||||||
[hideThumbnail]="true"
|
[hideThumbnail]="true"
|
||||||
[item]="dish"
|
[item]="dish"
|
||||||
|
|||||||
+1
@@ -27,6 +27,7 @@ import {isToday} from 'date-fns';
|
|||||||
styleUrls: ['mensa-section-content.component.scss'],
|
styleUrls: ['mensa-section-content.component.scss'],
|
||||||
animations: [fadeAnimation],
|
animations: [fadeAnimation],
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class MensaSectionContentComponent {
|
export class MensaSectionContentComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
@if (items | async; as items) {
|
@if (items | async; as items) {
|
||||||
@if (items.length !== 0) {
|
@if (items.length !== 0) {
|
||||||
@for (item of items; track item) {
|
@for (item of items; track item.uid) {
|
||||||
<stapps-section @fade [item]="item" [title]="'name' | thingTranslate: item">
|
<stapps-section @fade [item]="item" [title]="'name' | thingTranslate: item">
|
||||||
<ion-button slot="button-end" fill="clear" color="medium" (click)="favoritesService.delete(item)">
|
<ion-button slot="button-end" fill="clear" color="medium" (click)="favoritesService.delete(item)">
|
||||||
<ion-icon slot="icon-only" name="delete" [size]="24"></ion-icon>
|
<ion-icon slot="icon-only" name="delete" [size]="24"></ion-icon>
|
||||||
|
|||||||
+1
@@ -27,6 +27,7 @@ import {isMensaThing} from '../../mensa-filters';
|
|||||||
styleUrls: ['mensa-section.component.scss'],
|
styleUrls: ['mensa-section.component.scss'],
|
||||||
animations: [fadeAnimation],
|
animations: [fadeAnimation],
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class MensaSectionComponent {
|
export class MensaSectionComponent {
|
||||||
items = this.favoritesService.favoriteThings$.pipe(map(favorites => favorites.filter(isMensaThing)));
|
items = this.favoritesService.favoriteThings$.pipe(map(favorites => favorites.filter(isMensaThing)));
|
||||||
|
|||||||
+2
-3
@@ -23,8 +23,8 @@ simple-swiper {
|
|||||||
|
|
||||||
&::part(native) {
|
&::part(native) {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: none;
|
|
||||||
border-radius: var(--border-radius-default);
|
border-radius: var(--border-radius-default);
|
||||||
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-label {
|
ion-label {
|
||||||
@@ -64,10 +64,9 @@ simple-swiper {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 3;
|
||||||
|
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
|
|
||||||
-webkit-line-clamp: 3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-sub {
|
.title-sub {
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import {fadeAnimation} from '../../fade.animation';
|
|||||||
styleUrls: ['news-section.component.scss'],
|
styleUrls: ['news-section.component.scss'],
|
||||||
animations: [fadeAnimation],
|
animations: [fadeAnimation],
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class NewsSectionComponent {
|
export class NewsSectionComponent {
|
||||||
news = this.newsProvider
|
news = this.newsProvider
|
||||||
|
|||||||
+1
@@ -23,6 +23,7 @@ import {homePageSearchTransition} from './search-route-transition';
|
|||||||
selector: 'stapps-search-section',
|
selector: 'stapps-search-section',
|
||||||
templateUrl: 'search-section.component.html',
|
templateUrl: 'search-section.component.html',
|
||||||
styleUrls: ['search-section.component.scss'],
|
styleUrls: ['search-section.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SearchSectionComponent {
|
export class SearchSectionComponent {
|
||||||
routeTransition = homePageSearchTransition(this.animationController);
|
routeTransition = homePageSearchTransition(this.animationController);
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import {SCDateSeries, SCThingType, SCThings} from '@openstapps/core';
|
|||||||
selector: 'stapps-action-chip-list',
|
selector: 'stapps-action-chip-list',
|
||||||
templateUrl: 'action-chip-list.html',
|
templateUrl: 'action-chip-list.html',
|
||||||
styleUrls: ['action-chip-list.scss'],
|
styleUrls: ['action-chip-list.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ActionChipListComponent {
|
export class ActionChipListComponent {
|
||||||
private _item: SCThings;
|
private _item: SCThings;
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ import {MaterialSymbol} from 'material-symbols';
|
|||||||
templateUrl: 'add-event-action-chip.html',
|
templateUrl: 'add-event-action-chip.html',
|
||||||
styleUrls: ['add-event-action-chip.scss'],
|
styleUrls: ['add-event-action-chip.scss'],
|
||||||
animations: [chipSkeletonTransition, chipTransition],
|
animations: [chipSkeletonTransition, chipTransition],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AddEventActionChipComponent {
|
export class AddEventActionChipComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import {SCThing} from '@openstapps/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-locate-action-chip',
|
selector: 'stapps-locate-action-chip',
|
||||||
templateUrl: 'locate-action-chip.html',
|
templateUrl: 'locate-action-chip.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class LocateActionChipComponent {
|
export class LocateActionChipComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import {SCPlaceWithoutReferences, SCThings} from '@openstapps/core';
|
|||||||
selector: 'stapps-navigate-action-chip',
|
selector: 'stapps-navigate-action-chip',
|
||||||
templateUrl: 'navigate-action-chip.html',
|
templateUrl: 'navigate-action-chip.html',
|
||||||
styleUrls: ['navigate-action-chip.scss'],
|
styleUrls: ['navigate-action-chip.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class NavigateActionChipComponent {
|
export class NavigateActionChipComponent {
|
||||||
place: SCPlaceWithoutReferences;
|
place: SCPlaceWithoutReferences;
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ import {SelectionValue, TreeNode} from './tree-node';
|
|||||||
selector: 'stapps-edit-event-selection',
|
selector: 'stapps-edit-event-selection',
|
||||||
templateUrl: 'edit-event-selection.html',
|
templateUrl: 'edit-event-selection.html',
|
||||||
styleUrls: ['edit-event-selection.scss'],
|
styleUrls: ['edit-event-selection.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class EditEventSelectionComponent implements OnInit {
|
export class EditEventSelectionComponent implements OnInit {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {Component, EventEmitter, Input, Output} from '@angular/core';
|
|||||||
selector: 'stapps-chip-filter',
|
selector: 'stapps-chip-filter',
|
||||||
templateUrl: './chip-filter.component.html',
|
templateUrl: './chip-filter.component.html',
|
||||||
styleUrls: ['./chip-filter.component.scss'],
|
styleUrls: ['./chip-filter.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ChipFilterComponent {
|
export class ChipFilterComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {DataIcons} from './data-icon.config';
|
|||||||
*/
|
*/
|
||||||
@Pipe({
|
@Pipe({
|
||||||
name: 'dataIcon',
|
name: 'dataIcon',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DataIconPipe implements PipeTransform {
|
export class DataIconPipe implements PipeTransform {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ import {ModalController} from '@ionic/angular/standalone';
|
|||||||
selector: 'stapps-data-detail-content',
|
selector: 'stapps-data-detail-content',
|
||||||
styleUrls: ['data-detail-content.scss'],
|
styleUrls: ['data-detail-content.scss'],
|
||||||
templateUrl: 'data-detail-content.html',
|
templateUrl: 'data-detail-content.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DataDetailContentComponent {
|
export class DataDetailContentComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License along with
|
* You should have received a copy of the GNU General Public License along with
|
||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
@import '../../../../theme/util/mixins';
|
@use '../../../../theme/util/mixins';
|
||||||
|
|
||||||
:host {
|
:host {
|
||||||
display: contents;
|
display: contents;
|
||||||
@@ -34,8 +34,8 @@ stapps-origin-detail {
|
|||||||
padding: 0 var(--spacing-md);
|
padding: 0 var(--spacing-md);
|
||||||
|
|
||||||
::ng-deep > * {
|
::ng-deep > * {
|
||||||
@include border-radius-in-parallax(var(--border-radius-default));
|
@include mixins.border-radius-in-parallax(var(--border-radius-default));
|
||||||
@include content-padding;
|
@include mixins.content-padding;
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ export interface ExternalDataLoadEvent {
|
|||||||
selector: 'stapps-data-detail',
|
selector: 'stapps-data-detail',
|
||||||
styleUrls: ['data-detail.scss'],
|
styleUrls: ['data-detail.scss'],
|
||||||
templateUrl: 'data-detail.html',
|
templateUrl: 'data-detail.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DataDetailComponent implements OnInit {
|
export class DataDetailComponent implements OnInit {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
|
|||||||
selector: 'stapps-data-path',
|
selector: 'stapps-data-path',
|
||||||
templateUrl: './data-path.html',
|
templateUrl: './data-path.html',
|
||||||
styleUrls: ['./data-path.scss'],
|
styleUrls: ['./data-path.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DataPathComponent implements OnInit {
|
export class DataPathComponent implements OnInit {
|
||||||
path: Promise<SCThingWithoutReferences[]>;
|
path: Promise<SCThingWithoutReferences[]>;
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {SCPostalAddress} from '@openstapps/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-address-detail',
|
selector: 'stapps-address-detail',
|
||||||
templateUrl: 'address-detail.html',
|
templateUrl: 'address-detail.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AddressDetailComponent {
|
export class AddressDetailComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import {SCCertificationWithoutReferences} from '@openstapps/core';
|
|||||||
selector: 'stapps-certifications-in-detail',
|
selector: 'stapps-certifications-in-detail',
|
||||||
templateUrl: 'certifications-in-detail.html',
|
templateUrl: 'certifications-in-detail.html',
|
||||||
styleUrls: ['certifications-in-detail.scss'],
|
styleUrls: ['certifications-in-detail.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class CertificationsInDetailComponent {
|
export class CertificationsInDetailComponent {
|
||||||
@Input() certifications: SCCertificationWithoutReferences[] = [];
|
@Input() certifications: SCCertificationWithoutReferences[] = [];
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import {SimpleBrowser} from '../../../util/browser.factory';
|
|||||||
selector: 'stapps-external-link',
|
selector: 'stapps-external-link',
|
||||||
templateUrl: './external-link.html',
|
templateUrl: './external-link.html',
|
||||||
styleUrls: ['./external-link.scss'],
|
styleUrls: ['./external-link.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ExternalLinkComponent {
|
export class ExternalLinkComponent {
|
||||||
@Input() link: string;
|
@Input() link: string;
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import {map, take} from 'rxjs/operators';
|
|||||||
templateUrl: './favorite-button.component.html',
|
templateUrl: './favorite-button.component.html',
|
||||||
styleUrls: ['./favorite-button.component.scss'],
|
styleUrls: ['./favorite-button.component.scss'],
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class FavoriteButtonComponent {
|
export class FavoriteButtonComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import {Component, Input} from '@angular/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-long-inline-text',
|
selector: 'stapps-long-inline-text',
|
||||||
templateUrl: 'long-inline-text.html',
|
templateUrl: 'long-inline-text.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class LongInlineTextComponent {
|
export class LongInlineTextComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,20 +13,20 @@
|
|||||||
~ this program. If not, see <https://www.gnu.org/licenses/>.
|
~ this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
@if (text !== undefined) {
|
@if (text !== undefined) {
|
||||||
<span class="ion-hide-sm-up">
|
<span class="ion-hide-sm-up"
|
||||||
{{ text | slice: 0 : size }}
|
>{{ text | slice: 0 : size }}
|
||||||
@if (text.length > size) {
|
@if (text.length > size) {
|
||||||
<span class="ion-hide-sm-up">…</span>
|
<span class="ion-hide-sm-up">…</span>
|
||||||
}
|
}
|
||||||
</span>
|
</span>
|
||||||
<span class="ion-hide-sm-down ion-hide-md-up">
|
<span class="ion-hide-sm-down ion-hide-md-up"
|
||||||
{{ text | slice: 0 : size * 2 }}
|
>{{ text | slice: 0 : size * 2 }}
|
||||||
@if (text.length > size * 2) {
|
@if (text.length > size * 2) {
|
||||||
<span class="ion-hide-sm-down ion-hide-md-up"> … </span>
|
<span class="ion-hide-sm-down ion-hide-md-up"> … </span>
|
||||||
}
|
}
|
||||||
</span>
|
</span>
|
||||||
<span class="ion-hide-md-down">
|
<span class="ion-hide-md-down"
|
||||||
{{ text | slice: 0 : size * 3 }}
|
>{{ text | slice: 0 : size * 3 }}
|
||||||
@if (text.length > size * 3) {
|
@if (text.length > size * 3) {
|
||||||
<span class="ion-hide-md-down">…</span>
|
<span class="ion-hide-md-down">…</span>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import {SCAcademicPriceGroup, SCThingThatCanBeOfferedOffer} from '@openstapps/co
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-offers-detail',
|
selector: 'stapps-offers-detail',
|
||||||
templateUrl: 'offers-detail.html',
|
templateUrl: 'offers-detail.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class OffersDetailComponent {
|
export class OffersDetailComponent {
|
||||||
@Input() offers: Array<SCThingThatCanBeOfferedOffer<SCAcademicPriceGroup>>;
|
@Input() offers: Array<SCThingThatCanBeOfferedOffer<SCAcademicPriceGroup>>;
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ import {SettingsProvider} from '../../settings/settings.provider';
|
|||||||
selector: 'stapps-offers-in-list',
|
selector: 'stapps-offers-in-list',
|
||||||
templateUrl: 'offers-in-list.html',
|
templateUrl: 'offers-in-list.html',
|
||||||
styleUrls: ['offers-in-list.scss'],
|
styleUrls: ['offers-in-list.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class OffersInListComponent {
|
export class OffersInListComponent {
|
||||||
@Input() set offers(it: Array<SCThingThatCanBeOfferedOffer<SCAcademicPriceGroup>>) {
|
@Input() set offers(it: Array<SCThingThatCanBeOfferedOffer<SCAcademicPriceGroup>>) {
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import {SCThingUserOrigin, SCThingRemoteOrigin} from '@openstapps/core';
|
|||||||
selector: 'stapps-origin-detail',
|
selector: 'stapps-origin-detail',
|
||||||
templateUrl: 'origin-detail.html',
|
templateUrl: 'origin-detail.html',
|
||||||
styleUrl: 'origin-detail.scss',
|
styleUrl: 'origin-detail.scss',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class OriginDetailComponent {
|
export class OriginDetailComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {SCThingUserOrigin, SCThingRemoteOrigin} from '@openstapps/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-origin-in-list',
|
selector: 'stapps-origin-in-list',
|
||||||
templateUrl: 'origin-in-list.html',
|
templateUrl: 'origin-in-list.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class OriginInListComponent {
|
export class OriginInListComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import {catchError, map} from 'rxjs/operators';
|
|||||||
styleUrls: ['rating.scss'],
|
styleUrls: ['rating.scss'],
|
||||||
animations: [ratingAnimation],
|
animations: [ratingAnimation],
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class StappsRatingComponent {
|
export class StappsRatingComponent {
|
||||||
performRating = new BehaviorSubject(false);
|
performRating = new BehaviorSubject(false);
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ ion-button {
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|
||||||
padding-inline: var(--spacing-xl);
|
padding-inline: var(--spacing-xl);
|
||||||
|
border-radius: var(--border-radius-default);
|
||||||
|
|
||||||
background: var(--ion-color-light);
|
background: var(--ion-color-light);
|
||||||
border-radius: var(--border-radius-default);
|
|
||||||
|
|
||||||
> ion-icon {
|
> ion-icon {
|
||||||
&:active,
|
&:active,
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import {environment} from '../../../../environments/environment';
|
|||||||
selector: 'stapps-share-button',
|
selector: 'stapps-share-button',
|
||||||
templateUrl: 'share-button.html',
|
templateUrl: 'share-button.html',
|
||||||
styleUrls: ['share-button.scss'],
|
styleUrls: ['share-button.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ShareButtonComponent {
|
export class ShareButtonComponent {
|
||||||
canShare = false;
|
canShare = false;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import {SCThingWithoutReferences} from '@openstapps/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-simple-card',
|
selector: 'stapps-simple-card',
|
||||||
templateUrl: 'simple-card.html',
|
templateUrl: 'simple-card.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SimpleCardComponent {
|
export class SimpleCardComponent {
|
||||||
areThings = false;
|
areThings = false;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
}
|
}
|
||||||
} @else {
|
} @else {
|
||||||
@if (content && isThing(content[0])) {
|
@if (content && isThing(content[0])) {
|
||||||
@for (thing of $any(content); track thing) {
|
@for (thing of $any(content); track thing.uid) {
|
||||||
<a [routerLink]="['/data-detail', thing.uid]">
|
<a [routerLink]="['/data-detail', thing.uid]">
|
||||||
<p>{{ 'name' | thingTranslate: thing }}</p>
|
<p>{{ 'name' | thingTranslate: thing }}</p>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {Component, Input} from '@angular/core';
|
|||||||
selector: 'stapps-skeleton-list-item',
|
selector: 'stapps-skeleton-list-item',
|
||||||
templateUrl: 'skeleton-list-item.html',
|
templateUrl: 'skeleton-list-item.html',
|
||||||
styleUrls: ['skeleton-list-item.scss'],
|
styleUrls: ['skeleton-list-item.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SkeletonListItemComponent {
|
export class SkeletonListItemComponent {
|
||||||
@Input() hideThumbnail = false;
|
@Input() hideThumbnail = false;
|
||||||
|
|||||||
@@ -20,5 +20,6 @@ import {Component} from '@angular/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-skeleton-segment-button',
|
selector: 'stapps-skeleton-segment-button',
|
||||||
templateUrl: 'skeleton-segment-button.html',
|
templateUrl: 'skeleton-segment-button.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SkeletonSegmentComponent {}
|
export class SkeletonSegmentComponent {}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import {Component, Input} from '@angular/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-skeleton-simple-card',
|
selector: 'stapps-skeleton-simple-card',
|
||||||
templateUrl: 'skeleton-simple-card.html',
|
templateUrl: 'skeleton-simple-card.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SkeletonSimpleCardComponent {
|
export class SkeletonSimpleCardComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ const AccordionButtonState = {
|
|||||||
selector: 'stapps-title-card',
|
selector: 'stapps-title-card',
|
||||||
templateUrl: './title-card.component.html',
|
templateUrl: './title-card.component.html',
|
||||||
styleUrls: ['./title-card.component.scss'],
|
styleUrls: ['./title-card.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class TitleCardComponent implements OnInit, OnChanges {
|
export class TitleCardComponent implements OnInit, OnChanges {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import {SCThings} from '@openstapps/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'data-list-item-host-default',
|
selector: 'data-list-item-host-default',
|
||||||
templateUrl: 'data-list-item-host-default.html',
|
templateUrl: 'data-list-item-host-default.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DataListItemHostDefaultComponent {
|
export class DataListItemHostDefaultComponent {
|
||||||
@Input() item: SCThings;
|
@Input() item: SCThings;
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ const DataListItemIndex: Partial<Record<SCThingType, Type<DataListItem>>> = {
|
|||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[dataListItemHost]',
|
selector: '[dataListItemHost]',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DataListItemHostDirective {
|
export class DataListItemHostDirective {
|
||||||
private type?: Type<DataListItem>;
|
private type?: Type<DataListItem>;
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ import {DataListContext} from './data-list.component';
|
|||||||
selector: 'stapps-data-list-item',
|
selector: 'stapps-data-list-item',
|
||||||
styleUrls: ['data-list-item.scss'],
|
styleUrls: ['data-list-item.scss'],
|
||||||
templateUrl: 'data-list-item.html',
|
templateUrl: 'data-list-item.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DataListItemComponent {
|
export class DataListItemComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License along with
|
* You should have received a copy of the GNU General Public License along with
|
||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
@import '../../../../theme/util/mixins';
|
@use '../../../../theme/util/mixins';
|
||||||
|
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -26,7 +26,7 @@ ion-item::part(native) {
|
|||||||
ion-item {
|
ion-item {
|
||||||
--border-color: transparent;
|
--border-color: transparent;
|
||||||
--inner-padding-end: 0;
|
--inner-padding-end: 0;
|
||||||
@include border-radius-in-parallax(var(--border-radius-default));
|
@include mixins.border-radius-in-parallax(var(--border-radius-default));
|
||||||
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -44,9 +44,8 @@ ion-item {
|
|||||||
.ion-text-wrap ::ng-deep ion-label {
|
.ion-text-wrap ::ng-deep ion-label {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
white-space: normal !important;
|
|
||||||
|
|
||||||
-webkit-line-clamp: 3;
|
-webkit-line-clamp: 3;
|
||||||
|
white-space: normal !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
[slot='end'] {
|
[slot='end'] {
|
||||||
@@ -64,22 +63,20 @@ ion-item ::ng-deep {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
|
|
||||||
-webkit-line-clamp: 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-sub {
|
.title-sub {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
|
||||||
margin-block: var(--spacing-xs);
|
margin-block: var(--spacing-xs);
|
||||||
|
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
|
|
||||||
-webkit-line-clamp: 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ export interface DataListContext<T> {
|
|||||||
selector: 'stapps-data-list',
|
selector: 'stapps-data-list',
|
||||||
templateUrl: 'data-list.html',
|
templateUrl: 'data-list.html',
|
||||||
styleUrls: ['data-list.scss'],
|
styleUrls: ['data-list.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DataListComponent implements OnChanges, OnInit {
|
export class DataListComponent implements OnChanges, OnInit {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
@if (itemStream | async; as items) {
|
@if (itemStream | async; as items) {
|
||||||
<ng-content select="[header]"></ng-content>
|
<ng-content select="[header]"></ng-content>
|
||||||
<ion-list [style.display]="items && items.length ? 'block' : 'none'">
|
<ion-list [style.display]="items && items.length ? 'block' : 'none'">
|
||||||
@for (item of items; track item) {
|
@for (item of items; track item.uid) {
|
||||||
<ng-container
|
<ng-container
|
||||||
*ngTemplateOutlet="listItemTemplateRef || defaultListItem; context: {$implicit: item}"
|
*ngTemplateOutlet="listItemTemplateRef || defaultListItem; context: {$implicit: item}"
|
||||||
></ng-container>
|
></ng-container>
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
|
|||||||
*/
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: 'food-data-list.html',
|
templateUrl: 'food-data-list.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class FoodDataListComponent {
|
export class FoodDataListComponent {
|
||||||
isNotInView$ = new BehaviorSubject(true);
|
isNotInView$ = new BehaviorSubject(true);
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ import {enterAnimation, leaveAnimation} from '../../menu/context/context-menu-mo
|
|||||||
templateUrl: 'search-page.html',
|
templateUrl: 'search-page.html',
|
||||||
styleUrls: ['search-page.scss'],
|
styleUrls: ['search-page.scss'],
|
||||||
providers: [ContextMenuService],
|
providers: [ContextMenuService],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SearchPageComponent implements OnInit {
|
export class SearchPageComponent implements OnInit {
|
||||||
@Input() title = 'search.title';
|
@Input() title = 'search.title';
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
|
|||||||
selector: 'stapps-simple-data-list',
|
selector: 'stapps-simple-data-list',
|
||||||
templateUrl: 'simple-data-list.html',
|
templateUrl: 'simple-data-list.html',
|
||||||
styleUrls: ['simple-data-list.scss'],
|
styleUrls: ['simple-data-list.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SimpleDataListComponent implements OnInit {
|
export class SimpleDataListComponent implements OnInit {
|
||||||
@Input() items?: Promise<SCThings[] | undefined>;
|
@Input() items?: Promise<SCThings[] | undefined>;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
</ion-text>
|
</ion-text>
|
||||||
</ion-list-header>
|
</ion-list-header>
|
||||||
}
|
}
|
||||||
@for (item of items; track item) {
|
@for (item of items; track item.uid) {
|
||||||
<ng-container
|
<ng-container
|
||||||
*ngTemplateOutlet="listItemTemplateRef || defaultListItem; context: {$implicit: item}"
|
*ngTemplateOutlet="listItemTemplateRef || defaultListItem; context: {$implicit: item}"
|
||||||
></ng-container>
|
></ng-container>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
}
|
}
|
||||||
} @else {
|
} @else {
|
||||||
<ion-list>
|
<ion-list>
|
||||||
@for (skeleton of [].constructor(skeletonItems); track skeleton) {
|
@for (skeleton of [1, 2, 3, 4, 5, 6]; track skeleton) {
|
||||||
<stapps-skeleton-list-item [hideThumbnail]="singleType"> </stapps-skeleton-list-item>
|
<stapps-skeleton-list-item [hideThumbnail]="singleType"> </stapps-skeleton-list-item>
|
||||||
}
|
}
|
||||||
</ion-list>
|
</ion-list>
|
||||||
|
|||||||
@@ -19,5 +19,6 @@ import {Component} from '@angular/core';
|
|||||||
selector: 'skeleton-list',
|
selector: 'skeleton-list',
|
||||||
templateUrl: 'skeleton-list.html',
|
templateUrl: 'skeleton-list.html',
|
||||||
styleUrls: ['skeleton-list.scss'],
|
styleUrls: ['skeleton-list.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SkeletonListComponent {}
|
export class SkeletonListComponent {}
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {DataListContext} from './data-list.component';
|
|||||||
selector: 'tree-list-fragment',
|
selector: 'tree-list-fragment',
|
||||||
templateUrl: 'tree-list-fragment.html',
|
templateUrl: 'tree-list-fragment.html',
|
||||||
styleUrls: ['tree-list-fragment.scss'],
|
styleUrls: ['tree-list-fragment.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class TreeListFragmentComponent {
|
export class TreeListFragmentComponent {
|
||||||
entries?: [string, Tree<SCThings>][];
|
entries?: [string, Tree<SCThings>][];
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
<ion-list slot="content" lines="none">
|
<ion-list slot="content" lines="none">
|
||||||
@for (item of entry[1]._ || []; track item) {
|
@for (item of entry[1]._ || []; track item.uid) {
|
||||||
<div class="tree-indicator">
|
<div class="tree-indicator">
|
||||||
<ng-container
|
<ng-container
|
||||||
*ngTemplateOutlet="listItemTemplateRef || defaultListItem; context: {$implicit: item}"
|
*ngTemplateOutlet="listItemTemplateRef || defaultListItem; context: {$implicit: item}"
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {Tree, treeGroupBy} from '@openstapps/collection-utils';
|
|||||||
selector: 'tree-list',
|
selector: 'tree-list',
|
||||||
templateUrl: 'tree-list.html',
|
templateUrl: 'tree-list.html',
|
||||||
styleUrls: ['tree-list.scss'],
|
styleUrls: ['tree-list.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class TreeListComponent {
|
export class TreeListComponent {
|
||||||
_items?: Promise<SCThings[] | undefined>;
|
_items?: Promise<SCThings[] | undefined>;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import {SCArticle} from '@openstapps/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-article-detail-content',
|
selector: 'stapps-article-detail-content',
|
||||||
templateUrl: 'article-detail-content.html',
|
templateUrl: 'article-detail-content.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ArticleDetailContentComponent {
|
export class ArticleDetailContentComponent {
|
||||||
@Input() item: SCArticle;
|
@Input() item: SCArticle;
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
|
|||||||
selector: 'stapps-article-item',
|
selector: 'stapps-article-item',
|
||||||
templateUrl: 'article-list-item.html',
|
templateUrl: 'article-list-item.html',
|
||||||
styleUrl: 'article-list-item.scss',
|
styleUrl: 'article-list-item.scss',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ArticleListItemComponent extends DataListItemComponent {
|
export class ArticleListItemComponent extends DataListItemComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {SCBook} from '@openstapps/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'stapps-book-detail-content',
|
selector: 'stapps-book-detail-content',
|
||||||
templateUrl: 'book-detail-content.html',
|
templateUrl: 'book-detail-content.html',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class BookDetailContentComponent {
|
export class BookDetailContentComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
|
|||||||
selector: 'stapps-book-list-item',
|
selector: 'stapps-book-list-item',
|
||||||
templateUrl: 'book-list-item.html',
|
templateUrl: 'book-list-item.html',
|
||||||
styleUrl: 'book-list-item.scss',
|
styleUrl: 'book-list-item.scss',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class BookListItemComponent extends DataListItemComponent {
|
export class BookListItemComponent extends DataListItemComponent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user