- add search components: vs-result.vue, vs-input.vue, facet-category.vue

- add search models
- add opensans font
- add bulma css framework
- add axios, rxjs, vue-property-decorator
- npm updates
This commit is contained in:
Arno Kaimbacher 2021-11-12 10:13:22 +01:00
commit 156bf0ae26
30 changed files with 4937 additions and 2044 deletions

50
src/models/solr.ts Normal file
View file

@ -0,0 +1,50 @@
export interface SolrSettings {
core: string;
host: string;
}
export class ActiveFilterCategories {
// count: number;
language!: Array<string>;
subject!: Array<string>;
[key: string]: Array<string>;
}
// export class ActiveFilterCategory {
// key!: string;
// values!: Array<string>;
// // [key: string]: Array<string>;
// }
export class FilterItem {
private category: string;
val: string;
count: number;
private active: boolean;
constructor(value: string, count: number) {
this.val = value;
this.count = count;
this.active = false;
this.category = "";
}
//#region properties
get Category(): string {
return this.category;
}
set Category(theCategory: string) {
this.category = theCategory;
}
get Active(): boolean {
return this.active;
}
set Active(isActive: boolean) {
this.active = isActive;
}
//#endregion
}