mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-05 00:12:44 +00:00
Compare commits
3 Commits
65cac20a3c
...
243-upgrad
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3fb98102f9 | ||
|
|
5ff3ac1131 | ||
|
|
86004881b0 |
8
.changeset/green-hotels-itch.md
Normal file
8
.changeset/green-hotels-itch.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"@openstapps/projectmanagement": patch
|
||||
"@openstapps/core-tools": patch
|
||||
"@openstapps/easy-ast": patch
|
||||
"@openstapps/app": patch
|
||||
---
|
||||
|
||||
Updated node-glob dependency
|
||||
@@ -100,15 +100,12 @@
|
||||
"supertest": "6.3.3",
|
||||
"ts-node": "10.9.2",
|
||||
"tsup": "8.5.0",
|
||||
"typescript": "5.4.2"
|
||||
"typescript": "5.5.4"
|
||||
},
|
||||
"tsup": {
|
||||
"entry": [
|
||||
"src/cli.ts"
|
||||
],
|
||||
"loader": {
|
||||
".groovy": "text"
|
||||
},
|
||||
"sourcemap": true,
|
||||
"clean": true,
|
||||
"target": "es2022",
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
void traverse(def a, def b, ArrayList path, HashMap result) {
|
||||
if (a instanceof Map && b instanceof Map) {
|
||||
for (key in a.keySet()) {
|
||||
path.add(key);
|
||||
traverse(a.get(key), b.get(key), path, result);
|
||||
path.remove(path.size() - 1);
|
||||
}
|
||||
} else if (a instanceof List && b instanceof List) {
|
||||
int la = a.size();
|
||||
int lb = b.size();
|
||||
int max = la > lb ? la : lb;
|
||||
for (int i = 0; i < max; i++) {
|
||||
path.add(i);
|
||||
if (i < la && i < lb) {
|
||||
traverse(a[i], b[i], path, result);
|
||||
} else if (i >= la) {
|
||||
result.added.add(path.toArray());
|
||||
} else {
|
||||
result.removed.add(path.toArray());
|
||||
}
|
||||
path.remove(path.size() - 1);
|
||||
}
|
||||
} else if (a == null && b != null) {
|
||||
result.removed.add(path.toArray());
|
||||
} else if (a != null && b == null) {
|
||||
result.added.add(path.toArray());
|
||||
} else if (!a.equals(b)) {
|
||||
result.changed.add(path.toArray());
|
||||
}
|
||||
}
|
||||
|
||||
def to;
|
||||
def from;
|
||||
|
||||
for (state in states) {
|
||||
if (state.index.equals(params.newIndex)) {
|
||||
to = state.doc;
|
||||
} else {
|
||||
from = state.doc;
|
||||
}
|
||||
}
|
||||
|
||||
HashMap result = [
|
||||
'added': [],
|
||||
'removed': [],
|
||||
'changed': []
|
||||
];
|
||||
|
||||
traverse(to, from, new ArrayList(), result);
|
||||
|
||||
if (to == null && from != null) {
|
||||
result.status = 'removed';
|
||||
} else if (to != null && from == null) {
|
||||
result.status = 'added';
|
||||
} else if (
|
||||
result.added.size() == 0 &&
|
||||
result.removed.size() == 0 &&
|
||||
result.changed.size() == 0
|
||||
) {
|
||||
result.status = 'unchanged';
|
||||
} else {
|
||||
result.status = 'changed';
|
||||
}
|
||||
|
||||
return result;
|
||||
@@ -47,7 +47,6 @@ import {
|
||||
import {noUndefined} from './util/no-undefined.js';
|
||||
import {retryCatch, RetryOptions} from './util/retry.js';
|
||||
import {Feature, Point, Polygon} from 'geojson';
|
||||
import indexDiffScript from './diff-index.groovy';
|
||||
|
||||
/**
|
||||
* A database interface for elasticsearch
|
||||
@@ -240,42 +239,6 @@ export class Elasticsearch implements Database {
|
||||
.then(it => Object.entries(it).map(([name]) => name))
|
||||
.catch(() => [] as string[]);
|
||||
|
||||
if (activeIndices.length <= 1) {
|
||||
const result = await this.client.transform.previewTransform({
|
||||
source: {
|
||||
index: [...activeIndices, index],
|
||||
query: {match_all: {}},
|
||||
},
|
||||
dest: {index: 'compare'},
|
||||
pivot: {
|
||||
group_by: {
|
||||
uid: {terms: {field: 'uid.raw'}},
|
||||
},
|
||||
aggregations: {
|
||||
compare: {
|
||||
scripted_metric: {
|
||||
map_script: `
|
||||
state.index = doc['_index'];
|
||||
state.doc = params['_source'];`,
|
||||
combine_script: `
|
||||
state.index = state.index[0];
|
||||
return state;
|
||||
`,
|
||||
reduce_script: {
|
||||
source: indexDiffScript,
|
||||
params: {
|
||||
newIndex: index,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
console.log(JSON.stringify(result.preview, null, 2))
|
||||
}
|
||||
|
||||
await this.client.indices.updateAliases({
|
||||
actions: [
|
||||
{
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
// initialize the sort value with the maximum
|
||||
double price = Double.MAX_VALUE;
|
||||
|
||||
// if we have any offers
|
||||
if (params._source.containsKey(params.field)) {
|
||||
// iterate through all offers
|
||||
for (offer in params._source[params.field]) {
|
||||
// if this offer contains a role specific price
|
||||
if (offer.containsKey('prices') && offer.prices.containsKey(params.universityRole)) {
|
||||
// if the role specific price is smaller than the cheapest we found
|
||||
if (offer.prices[params.universityRole] < price) {
|
||||
// set the role specific price as cheapest for now
|
||||
price = offer.prices[params.universityRole];
|
||||
}
|
||||
} else { // we have no role specific price for our role in this offer
|
||||
// if the default price of this offer is lower than the cheapest we found
|
||||
if (offer.price < price) {
|
||||
// set this price as the cheapest
|
||||
price = offer.price;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// return cheapest price for our role
|
||||
return price;
|
||||
@@ -13,8 +13,7 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {SortOptions} from '@elastic/elasticsearch/lib/api/types.js';
|
||||
import {SCPriceSort} from '@openstapps/core';
|
||||
import priceSortScript from './price-sort.groovy';
|
||||
import {SCPriceSort, SCSportCoursePriceGroup, SCThingsField} from '@openstapps/core';
|
||||
|
||||
/**
|
||||
* Converts a price sort to elasticsearch syntax
|
||||
@@ -24,11 +23,47 @@ export function buildPriceSort(sort: SCPriceSort): SortOptions {
|
||||
return {
|
||||
_script: {
|
||||
order: sort.order,
|
||||
script: {
|
||||
source: priceSortScript,
|
||||
params: sort.arguments,
|
||||
},
|
||||
script: buildPriceSortScript(sort.arguments.universityRole, sort.arguments.field),
|
||||
type: 'number' as const,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides a script for sorting search results by prices
|
||||
* @param universityRole User group which consumes university services
|
||||
* @param field Field in which wanted offers with prices are located
|
||||
*/
|
||||
export function buildPriceSortScript(
|
||||
universityRole: keyof SCSportCoursePriceGroup,
|
||||
field: SCThingsField,
|
||||
): string {
|
||||
return `
|
||||
// initialize the sort value with the maximum
|
||||
double price = Double.MAX_VALUE;
|
||||
|
||||
// if we have any offers
|
||||
if (params._source.containsKey('${field}')) {
|
||||
// iterate through all offers
|
||||
for (offer in params._source.${field}) {
|
||||
// if this offer contains a role specific price
|
||||
if (offer.containsKey('prices') && offer.prices.containsKey('${universityRole}')) {
|
||||
// if the role specific price is smaller than the cheapest we found
|
||||
if (offer.prices.${universityRole} < price) {
|
||||
// set the role specific price as cheapest for now
|
||||
price = offer.prices.${universityRole};
|
||||
}
|
||||
} else { // we have no role specific price for our role in this offer
|
||||
// if the default price of this offer is lower than the cheapest we found
|
||||
if (offer.price < price) {
|
||||
// set this price as the cheapest
|
||||
price = offer.price;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// return cheapest price for our role
|
||||
return price;
|
||||
`;
|
||||
}
|
||||
|
||||
6
backend/backend/src/types.d.ts
vendored
6
backend/backend/src/types.d.ts
vendored
@@ -1,6 +0,0 @@
|
||||
declare module '*.groovy' {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
||||
export {};
|
||||
@@ -51,7 +51,7 @@
|
||||
"is-cidr": "4.0.2",
|
||||
"mustache": "4.2.0",
|
||||
"semver": "7.6.0",
|
||||
"typescript": "5.4.2"
|
||||
"typescript": "5.5.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openstapps/api-cli": "workspace:*",
|
||||
|
||||
@@ -19,11 +19,11 @@
|
||||
"@openstapps/tsconfig": "workspace:*",
|
||||
"@types/node": "22.15.31",
|
||||
"eslint": "8.57.0",
|
||||
"typescript": "5.4.2"
|
||||
"typescript": "5.5.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "7.11.0",
|
||||
"@typescript-eslint/parser": "7.11.0",
|
||||
"@typescript-eslint/eslint-plugin": "7.18.0",
|
||||
"@typescript-eslint/parser": "7.18.0",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-plugin-jsdoc": "48.2.1",
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"@openstapps/logger": "workspace:*",
|
||||
"commander": "10.0.0",
|
||||
"date-fns": "3.6.0",
|
||||
"glob": "10.3.10",
|
||||
"glob": "10.5.0",
|
||||
"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.4.2"
|
||||
"typescript": "5.5.4"
|
||||
},
|
||||
"tsup": {
|
||||
"entry": [
|
||||
|
||||
0
examples/minimal-connector/app.js
Executable file → Normal file
0
examples/minimal-connector/app.js
Executable file → Normal file
@@ -55,7 +55,7 @@
|
||||
"nock": "13.3.1",
|
||||
"ts-node": "10.9.2",
|
||||
"tsup": "8.5.0",
|
||||
"typescript": "5.4.2"
|
||||
"typescript": "5.5.4"
|
||||
},
|
||||
"tsup": {
|
||||
"entry": [
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"@types/express": "4.17.17",
|
||||
"@types/node": "22.15.31",
|
||||
"tsup": "8.5.0",
|
||||
"typescript": "5.4.2"
|
||||
"typescript": "5.5.4"
|
||||
},
|
||||
"tsup": {
|
||||
"entry": [
|
||||
|
||||
@@ -65,7 +65,8 @@
|
||||
],
|
||||
"@typescript-eslint/lines-between-class-members": ["error", "always"],
|
||||
"@typescript-eslint/no-explicit-any": "error",
|
||||
"@angular-eslint/use-lifecycle-interface": "error"
|
||||
"@angular-eslint/use-lifecycle-interface": "error",
|
||||
"@angular-eslint/prefer-standalone": "off"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -48,13 +48,13 @@
|
||||
"test:integration": "sh integration-test.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "18.2.13",
|
||||
"@angular/cdk": "18.2.13",
|
||||
"@angular/common": "18.2.13",
|
||||
"@angular/core": "18.2.13",
|
||||
"@angular/forms": "18.2.13",
|
||||
"@angular/platform-browser": "18.2.13",
|
||||
"@angular/router": "18.2.13",
|
||||
"@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",
|
||||
"@awesome-cordova-plugins/calendar": "6.6.0",
|
||||
"@awesome-cordova-plugins/core": "6.6.0",
|
||||
"@capacitor-community/in-app-review": "7.0.1",
|
||||
@@ -101,7 +101,7 @@
|
||||
"moment": "2.30.1",
|
||||
"ngx-date-fns": "11.0.0",
|
||||
"ngx-logger": "5.0.12",
|
||||
"ngx-markdown": "17.2.1",
|
||||
"ngx-markdown": "18.1.0",
|
||||
"ngx-moment": "6.0.2",
|
||||
"opening_hours": "3.8.0",
|
||||
"pmtiles": "3.0.3",
|
||||
@@ -110,24 +110,24 @@
|
||||
"semver": "7.6.0",
|
||||
"swiper": "8.4.5",
|
||||
"tslib": "2.6.2",
|
||||
"zone.js": "0.14.10"
|
||||
"zone.js": "0.15.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/architect": "0.1802.20",
|
||||
"@angular-devkit/build-angular": "18.2.20",
|
||||
"@angular-devkit/core": "18.2.20",
|
||||
"@angular-devkit/schematics": "18.2.20",
|
||||
"@angular-eslint/builder": "18.4.3",
|
||||
"@angular-eslint/eslint-plugin": "18.4.3",
|
||||
"@angular-eslint/eslint-plugin-template": "18.4.3",
|
||||
"@angular-eslint/schematics": "18.4.1",
|
||||
"@angular-eslint/template-parser": "18.4.3",
|
||||
"@angular/cli": "18.2.20",
|
||||
"@angular/compiler": "18.2.13",
|
||||
"@angular/compiler-cli": "18.2.13",
|
||||
"@angular/language-server": "18.2.0",
|
||||
"@angular/language-service": "18.2.13",
|
||||
"@angular/platform-browser-dynamic": "18.2.13",
|
||||
"@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",
|
||||
"@capacitor/android": "7.4.2",
|
||||
"@capacitor/assets": "3.0.5",
|
||||
"@capacitor/cli": "7.4.2",
|
||||
@@ -149,8 +149,8 @@
|
||||
"@types/karma-jasmine": "4.0.5",
|
||||
"@types/node": "22.15.31",
|
||||
"@types/semver": "7.5.8",
|
||||
"@typescript-eslint/eslint-plugin": "7.11.0",
|
||||
"@typescript-eslint/parser": "7.11.0",
|
||||
"@typescript-eslint/eslint-plugin": "7.18.0",
|
||||
"@typescript-eslint/parser": "7.18.0",
|
||||
"cordova-res": "0.15.4",
|
||||
"cypress": "15.0.0",
|
||||
"eslint": "8.57.0",
|
||||
@@ -159,7 +159,7 @@
|
||||
"eslint-plugin-unicorn": "51.0.1",
|
||||
"fast-deep-equal": "3.1.3",
|
||||
"fontkit": "2.0.2",
|
||||
"glob": "10.3.10",
|
||||
"glob": "10.5.0",
|
||||
"http-server": "14.1.1",
|
||||
"is-docker": "2.2.1",
|
||||
"jasmine-core": "5.1.2",
|
||||
@@ -179,7 +179,7 @@
|
||||
"stylelint-config-standard-scss": "13.0.0",
|
||||
"surge": "0.23.1",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.4.2"
|
||||
"typescript": "5.5.4"
|
||||
},
|
||||
"cordova": {
|
||||
"plugins": {},
|
||||
|
||||
@@ -32,6 +32,7 @@ import {SplashScreen} from '@capacitor/splash-screen';
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
templateUrl: 'app.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class AppComponent implements AfterContentInit {
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ 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);
|
||||
|
||||
@@ -20,6 +20,7 @@ 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;
|
||||
|
||||
@@ -32,6 +32,7 @@ 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[];
|
||||
|
||||
@@ -19,6 +19,7 @@ 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;
|
||||
|
||||
@@ -25,6 +25,7 @@ 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;
|
||||
|
||||
@@ -21,6 +21,7 @@ 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);
|
||||
|
||||
@@ -17,7 +17,6 @@ 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,
|
||||
|
||||
@@ -26,6 +26,7 @@ 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);
|
||||
|
||||
@@ -21,6 +21,7 @@ import {Observable} from 'rxjs';
|
||||
selector: 'assessments-data-list',
|
||||
templateUrl: './assessments-data-list.html',
|
||||
styleUrls: ['./assessments-data-list.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class AssessmentsDataListComponent {
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ import {SCThings} from '@openstapps/core';
|
||||
selector: 'assessments-list-item',
|
||||
templateUrl: 'assessments-list-item.html',
|
||||
styleUrls: ['assessments-list-item.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class AssessmentsListItemComponent {
|
||||
/**
|
||||
|
||||
@@ -23,6 +23,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ 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>;
|
||||
|
||||
@@ -29,6 +29,7 @@ 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<
|
||||
|
||||
@@ -20,6 +20,7 @@ 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;
|
||||
|
||||
@@ -20,6 +20,7 @@ import {SCAssessment} from '@openstapps/core';
|
||||
selector: 'assessment-detail',
|
||||
templateUrl: 'assessment-detail.html',
|
||||
styleUrls: ['assessment-detail.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class AssessmentDetailComponent {
|
||||
@Input() item: SCAssessment;
|
||||
|
||||
@@ -20,6 +20,7 @@ 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;
|
||||
|
||||
@@ -20,6 +20,7 @@ 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;
|
||||
|
||||
@@ -25,6 +25,7 @@ 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(
|
||||
|
||||
@@ -42,6 +42,7 @@ 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;
|
||||
|
||||
@@ -26,6 +26,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -38,6 +38,7 @@ 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;
|
||||
|
||||
@@ -27,6 +27,7 @@ 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(
|
||||
|
||||
@@ -26,6 +26,7 @@ import {fadeAnimation} from '../../fade.animation';
|
||||
styleUrls: ['job-section.component.scss'],
|
||||
animations: [fadeAnimation],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: false,
|
||||
})
|
||||
export class JobSectionComponent {
|
||||
jobs = inject(DataProvider)
|
||||
|
||||
@@ -27,6 +27,7 @@ import {isToday} from 'date-fns';
|
||||
styleUrls: ['mensa-section-content.component.scss'],
|
||||
animations: [fadeAnimation],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: false,
|
||||
})
|
||||
export class MensaSectionContentComponent {
|
||||
/**
|
||||
|
||||
@@ -27,6 +27,7 @@ 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)));
|
||||
|
||||
@@ -25,6 +25,7 @@ import {fadeAnimation} from '../../fade.animation';
|
||||
styleUrls: ['news-section.component.scss'],
|
||||
animations: [fadeAnimation],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: false,
|
||||
})
|
||||
export class NewsSectionComponent {
|
||||
news = this.newsProvider
|
||||
|
||||
@@ -23,6 +23,7 @@ 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);
|
||||
|
||||
@@ -22,6 +22,7 @@ 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;
|
||||
|
||||
@@ -36,6 +36,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ import {SCThing} from '@openstapps/core';
|
||||
@Component({
|
||||
selector: 'stapps-locate-action-chip',
|
||||
templateUrl: 'locate-action-chip.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class LocateActionChipComponent {
|
||||
/**
|
||||
|
||||
@@ -19,6 +19,7 @@ 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;
|
||||
|
||||
@@ -38,6 +38,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ import {DataIcons} from './data-icon.config';
|
||||
*/
|
||||
@Pipe({
|
||||
name: 'dataIcon',
|
||||
standalone: false,
|
||||
})
|
||||
export class DataIconPipe implements PipeTransform {
|
||||
/**
|
||||
|
||||
@@ -24,6 +24,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -36,6 +36,7 @@ export interface ExternalDataLoadEvent {
|
||||
selector: 'stapps-data-detail',
|
||||
styleUrls: ['data-detail.scss'],
|
||||
templateUrl: 'data-detail.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class DataDetailComponent implements OnInit {
|
||||
/**
|
||||
|
||||
@@ -26,6 +26,7 @@ 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[]>;
|
||||
|
||||
@@ -21,6 +21,7 @@ import {SCPostalAddress} from '@openstapps/core';
|
||||
@Component({
|
||||
selector: 'stapps-address-detail',
|
||||
templateUrl: 'address-detail.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class AddressDetailComponent {
|
||||
/**
|
||||
|
||||
@@ -19,6 +19,7 @@ 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[] = [];
|
||||
|
||||
@@ -20,6 +20,7 @@ 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;
|
||||
|
||||
@@ -26,6 +26,7 @@ import {map, take} from 'rxjs/operators';
|
||||
templateUrl: './favorite-button.component.html',
|
||||
styleUrls: ['./favorite-button.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: false,
|
||||
})
|
||||
export class FavoriteButtonComponent {
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ import {Component, Input} from '@angular/core';
|
||||
@Component({
|
||||
selector: 'stapps-long-inline-text',
|
||||
templateUrl: 'long-inline-text.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class LongInlineTextComponent {
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,7 @@ 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>>;
|
||||
|
||||
@@ -24,6 +24,7 @@ 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>>) {
|
||||
|
||||
@@ -22,6 +22,7 @@ import {SCThingUserOrigin, SCThingRemoteOrigin} from '@openstapps/core';
|
||||
selector: 'stapps-origin-detail',
|
||||
templateUrl: 'origin-detail.html',
|
||||
styleUrl: 'origin-detail.scss',
|
||||
standalone: false,
|
||||
})
|
||||
export class OriginDetailComponent {
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ import {SCThingUserOrigin, SCThingRemoteOrigin} from '@openstapps/core';
|
||||
@Component({
|
||||
selector: 'stapps-origin-in-list',
|
||||
templateUrl: 'origin-in-list.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class OriginInListComponent {
|
||||
/**
|
||||
|
||||
@@ -26,6 +26,7 @@ import {catchError, map} from 'rxjs/operators';
|
||||
styleUrls: ['rating.scss'],
|
||||
animations: [ratingAnimation],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: false,
|
||||
})
|
||||
export class StappsRatingComponent {
|
||||
performRating = new BehaviorSubject(false);
|
||||
|
||||
@@ -6,6 +6,7 @@ import {environment} from '../../../../environments/environment';
|
||||
selector: 'stapps-share-button',
|
||||
templateUrl: 'share-button.html',
|
||||
styleUrls: ['share-button.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class ShareButtonComponent {
|
||||
canShare = false;
|
||||
|
||||
@@ -18,6 +18,7 @@ import {SCThingWithoutReferences} from '@openstapps/core';
|
||||
@Component({
|
||||
selector: 'stapps-simple-card',
|
||||
templateUrl: 'simple-card.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class SimpleCardComponent {
|
||||
areThings = false;
|
||||
|
||||
@@ -21,6 +21,7 @@ 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;
|
||||
|
||||
@@ -20,5 +20,6 @@ import {Component} from '@angular/core';
|
||||
@Component({
|
||||
selector: 'stapps-skeleton-segment-button',
|
||||
templateUrl: 'skeleton-segment-button.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class SkeletonSegmentComponent {}
|
||||
|
||||
@@ -20,6 +20,7 @@ import {Component, Input} from '@angular/core';
|
||||
@Component({
|
||||
selector: 'stapps-skeleton-simple-card',
|
||||
templateUrl: 'skeleton-simple-card.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class SkeletonSimpleCardComponent {
|
||||
/**
|
||||
|
||||
@@ -26,6 +26,7 @@ const AccordionButtonState = {
|
||||
selector: 'stapps-title-card',
|
||||
templateUrl: './title-card.component.html',
|
||||
styleUrls: ['./title-card.component.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class TitleCardComponent implements OnInit, OnChanges {
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,7 @@ 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;
|
||||
|
||||
@@ -59,6 +59,7 @@ const DataListItemIndex: Partial<Record<SCThingType, Type<DataListItem>>> = {
|
||||
|
||||
@Directive({
|
||||
selector: '[dataListItemHost]',
|
||||
standalone: false,
|
||||
})
|
||||
export class DataListItemHostDirective {
|
||||
private type?: Type<DataListItem>;
|
||||
|
||||
@@ -24,6 +24,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -43,6 +43,7 @@ export interface DataListContext<T> {
|
||||
selector: 'stapps-data-list',
|
||||
templateUrl: 'data-list.html',
|
||||
styleUrls: ['data-list.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class DataListComponent implements OnChanges, OnInit {
|
||||
/**
|
||||
|
||||
@@ -26,6 +26,7 @@ import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
|
||||
*/
|
||||
@Component({
|
||||
templateUrl: 'food-data-list.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class FoodDataListComponent {
|
||||
isNotInView$ = new BehaviorSubject(true);
|
||||
|
||||
@@ -52,6 +52,7 @@ 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';
|
||||
|
||||
@@ -26,6 +26,7 @@ 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>;
|
||||
|
||||
@@ -19,5 +19,6 @@ import {Component} from '@angular/core';
|
||||
selector: 'skeleton-list',
|
||||
templateUrl: 'skeleton-list.html',
|
||||
styleUrls: ['skeleton-list.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class SkeletonListComponent {}
|
||||
|
||||
@@ -21,6 +21,7 @@ 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>][];
|
||||
|
||||
@@ -21,6 +21,7 @@ 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>;
|
||||
|
||||
@@ -18,6 +18,7 @@ import {SCArticle} from '@openstapps/core';
|
||||
@Component({
|
||||
selector: 'stapps-article-detail-content',
|
||||
templateUrl: 'article-detail-content.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class ArticleDetailContentComponent {
|
||||
@Input() item: SCArticle;
|
||||
|
||||
@@ -23,6 +23,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ import {SCBook} from '@openstapps/core';
|
||||
@Component({
|
||||
selector: 'stapps-book-detail-content',
|
||||
templateUrl: 'book-detail-content.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class BookDetailContentComponent {
|
||||
/**
|
||||
|
||||
@@ -23,6 +23,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -25,6 +25,7 @@ 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;
|
||||
|
||||
@@ -23,6 +23,7 @@ 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 {
|
||||
/**
|
||||
|
||||
@@ -19,6 +19,7 @@ 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;
|
||||
|
||||
@@ -22,6 +22,7 @@ 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;
|
||||
|
||||
@@ -22,6 +22,7 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
|
||||
@Component({
|
||||
selector: 'stapps-dish-list-item',
|
||||
templateUrl: 'dish-list-item.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class DishListItemComponent extends DataListItemComponent {
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ import {SCAcademicEvent, SCSportCourse, SCThing, SCThingTranslator, SCTranslatio
|
||||
selector: 'stapps-event-detail-content',
|
||||
templateUrl: 'event-detail-content.html',
|
||||
styleUrls: ['event-detail-content.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class EventDetailContentComponent {
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
|
||||
@Component({
|
||||
selector: 'stapps-event-list-item',
|
||||
templateUrl: 'event-list-item.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class EventListItemComponent extends DataListItemComponent {
|
||||
/**
|
||||
|
||||
@@ -24,6 +24,7 @@ import {Observable} from 'rxjs';
|
||||
selector: 'event-route-path',
|
||||
templateUrl: 'event-route-path.html',
|
||||
styleUrls: ['event-route-path.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class EventRoutePathComponent {
|
||||
@Input() maxItems?: number;
|
||||
|
||||
@@ -21,6 +21,7 @@ import {SCFavorite} from '@openstapps/core';
|
||||
@Component({
|
||||
selector: 'stapps-favorite-detail-content',
|
||||
templateUrl: 'favorite-detail-content.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class FavoriteDetailContentComponent {
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
|
||||
@Component({
|
||||
selector: 'stapps-favorite-list-item',
|
||||
templateUrl: 'favorite-list-item.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class FavoriteListItemComponent extends DataListItemComponent {
|
||||
/**
|
||||
|
||||
@@ -19,6 +19,7 @@ import {SCJobPosting} from '@openstapps/core';
|
||||
selector: 'stapps-job-posting-detail-content',
|
||||
templateUrl: 'job-posting-detail-content.html',
|
||||
styleUrls: ['job-posting-detail-content.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class JobPostingDetailContentComponent {
|
||||
@Input() item: SCJobPosting;
|
||||
|
||||
@@ -20,6 +20,7 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
|
||||
selector: 'stapps-job-posting-list-item',
|
||||
templateUrl: 'job-posting-list-item.html',
|
||||
styleUrls: ['job-posting-list-item.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class JobPostingListItemComponent extends DataListItemComponent {
|
||||
@Input() item: SCJobPosting;
|
||||
|
||||
@@ -23,6 +23,7 @@ import {SimpleBrowser} from '../../../../util/browser.factory';
|
||||
selector: 'stapps-message-detail-content',
|
||||
templateUrl: 'message-detail-content.html',
|
||||
styleUrls: ['message-detail-content.scss'],
|
||||
standalone: false,
|
||||
})
|
||||
export class MessageDetailContentComponent {
|
||||
constructor(private browser: SimpleBrowser) {}
|
||||
|
||||
@@ -22,6 +22,7 @@ import {DataListItemComponent} from '../../list/data-list-item.component';
|
||||
@Component({
|
||||
selector: 'stapps-message-list-item',
|
||||
templateUrl: 'message-list-item.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class MessageListItemComponent extends DataListItemComponent {
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ import {SCOrganization} from '@openstapps/core';
|
||||
@Component({
|
||||
selector: 'stapps-organization-detail-content',
|
||||
templateUrl: 'organization-detail-content.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class OrganizationDetailContentComponent {
|
||||
/**
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user