@7365admin1/layer-common 4.97.1-staging.603 → 4.97.1-staging.604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
<td class="td-muted" data-label="Email">{{ item.email }}</td>
|
|
227
227
|
<td data-label="App">{{ item.app }}</td>
|
|
228
228
|
<td class="td-muted" data-label="Role">{{ item.role }}</td>
|
|
229
|
-
<td data-label="Status"><span class="status-chip pending">{{ item.status }}</span></td>
|
|
229
|
+
<td data-label="Status"><span class="status-chip pending text-capitalize">{{ item.status }}</span></td>
|
|
230
230
|
<td data-label="Action">
|
|
231
231
|
<button
|
|
232
232
|
class="cancel-btn"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<v-menu v-model="filterMenu" offset-y>
|
|
35
35
|
<template #activator="{ props }">
|
|
36
36
|
<button v-bind="props" type="button" class="doc-filters__type">
|
|
37
|
-
<span>{{ selectedFileType
|
|
37
|
+
<span>{{ selectedFileType ? fileTypeLabel(selectedFileType) : "Filter by File Type" }}</span>
|
|
38
38
|
<v-icon size="18">mdi-chevron-down</v-icon>
|
|
39
39
|
</button>
|
|
40
40
|
</template>
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
class="filtertype-item"
|
|
49
49
|
>
|
|
50
50
|
<v-list-item-title class="text-subtitle-2">
|
|
51
|
-
{{ type }}
|
|
51
|
+
{{ fileTypeLabel(type) }}
|
|
52
52
|
</v-list-item-title>
|
|
53
53
|
</v-list-item>
|
|
54
54
|
</v-list>
|
|
@@ -859,6 +859,9 @@ const currentFolderPath = computed(() => {
|
|
|
859
859
|
});
|
|
860
860
|
|
|
861
861
|
const fileTypes = ref(["all", "pdf", "csv", "doc"]);
|
|
862
|
+
/** What each filter value reads as on screen; the value sent stays as is. */
|
|
863
|
+
const FILE_TYPE_LABELS: Record<string, string> = { all: "All file types", pdf: "PDF", csv: "CSV", doc: "Word (DOC)" };
|
|
864
|
+
const fileTypeLabel = (type: string) => FILE_TYPE_LABELS[type] ?? type.toUpperCase();
|
|
862
865
|
const selectedFileType = ref("all");
|
|
863
866
|
|
|
864
867
|
/**
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.97.1-staging.
|
|
5
|
+
"version": "4.97.1-staging.604",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|