diff --git a/ts/components/ListCardContact.vue b/ts/components/ListCardContact.vue new file mode 100644 index 00000000..b1daaf19 --- /dev/null +++ b/ts/components/ListCardContact.vue @@ -0,0 +1,57 @@ + + + + + + + + + + + + + {{ contact.name }} + + + + + + + diff --git a/ts/components/ReviewContactColumnList.vue b/ts/components/ReviewContactColumnList.vue index 37205c7c..2d491149 100644 --- a/ts/components/ReviewContactColumnList.vue +++ b/ts/components/ReviewContactColumnList.vue @@ -1,3 +1,106 @@ + + - list + + + + + + + + Clear Filters ({{ activeFilters }}) + + + + + + + + + + diff --git a/ts/components/layout/ListCard.vue b/ts/components/layout/ListCard.vue new file mode 100644 index 00000000..528ea2ba --- /dev/null +++ b/ts/components/layout/ListCard.vue @@ -0,0 +1,98 @@ + + + + + + + + + + + + Loading... + + + No items + + + + No items match the current filters + + Reset Filters + + + + + + + + + + diff --git a/ts/store/resource.ts b/ts/store/resource.ts index e0715b03..a1cdcd77 100644 --- a/ts/store/resource.ts +++ b/ts/store/resource.ts @@ -92,6 +92,9 @@ function createResourceStore( throw err; } } + function loadingAll(): boolean { + return !!_resourceFetchAll.value; + } function loadingURI(uri: string): boolean { return !!_resourceFetchByURI.value.get(uri); } @@ -105,6 +108,7 @@ function createResourceStore( fetchAll, fetchByID, fetchByURI, + loadingAll, loadingURI, }; } diff --git a/ts/view/review/Contact.vue b/ts/view/review/Contact.vue index 862b3c24..a58e7842 100644 --- a/ts/view/review/Contact.vue +++ b/ts/view/review/Contact.vue @@ -1,7 +1,10 @@ - +
list
No items match the current filters