@swiss-ai-hub/web 0.300.0 → 0.300.3

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.
@@ -33,6 +33,7 @@
33
33
  {{ t('agent.create.selectClass') }}
34
34
  </label>
35
35
  <Select
36
+ id="agentClass"
36
37
  v-model="selectedClass"
37
38
  :options="agentClasses"
38
39
  option-label="agent_class"
@@ -33,6 +33,7 @@
33
33
  option-label="label"
34
34
  append-to="self"
35
35
  :placeholder="t('dashboard.select_data_type')"
36
+ :aria-label="t('dashboard.select_data_type')"
36
37
  />
37
38
  <Select
38
39
  v-model="agent"
@@ -40,6 +41,7 @@
40
41
  option-label="agent_config.name"
41
42
  append-to="self"
42
43
  :placeholder="t('dashboard.select_agent')"
44
+ :aria-label="t('dashboard.select_agent')"
43
45
  :loading="agentInstancesAreLoading"
44
46
  show-clear
45
47
  />
@@ -10,6 +10,7 @@
10
10
  </label>
11
11
  <Select
12
12
  v-model="selectedClass"
13
+ :aria-label="t('agent.selector.class.label')"
13
14
  input-id="agent-class-select"
14
15
  :options="filteredClassOptions"
15
16
  option-label="displayName"
@@ -53,6 +54,7 @@
53
54
  </label>
54
55
  <Select
55
56
  v-model="selectedId"
57
+ :aria-label="t('agent.selector.id.label')"
56
58
  input-id="agent-id-select"
57
59
  :options="idOptions"
58
60
  option-label="displayName"
@@ -17,6 +17,7 @@
17
17
  <!-- Editable Select -->
18
18
  <Select
19
19
  v-model="selectedIcon"
20
+ :aria-label="placeholder"
20
21
  :options="iconOptions"
21
22
  :editable="true"
22
23
  :placeholder="placeholder"
@@ -46,6 +46,7 @@
46
46
  <Textarea
47
47
  v-else
48
48
  v-model="currentValue"
49
+ :aria-label="localizedPlaceholder"
49
50
  :placeholder="localizedPlaceholder"
50
51
  :rows="rows"
51
52
  class="w-full"
@@ -4,6 +4,7 @@
4
4
  :options="models"
5
5
  option-label="model_name"
6
6
  option-value="model_name"
7
+ :aria-label="placeholder ?? t('common.selectModel')"
7
8
  :placeholder="placeholder ?? t('common.selectModel')"
8
9
  :filter="filter"
9
10
  :show-clear="showClear"
@@ -10,6 +10,7 @@
10
10
  </label>
11
11
  <Select
12
12
  v-model="selectedDatabase"
13
+ :aria-label="t('lib.vectorStore.database.label')"
13
14
  input-id="vector-store-database-select"
14
15
  :options="databaseOptions"
15
16
  option-label="displayName"
@@ -58,7 +58,9 @@
58
58
  <p class="text-sm font-medium">
59
59
  {{ t('knowledge.documents.upload.target_location.label') }}
60
60
  </p>
61
- <div class="flex items-center gap-2 rounded-lg border border-surface-200 bg-surface-50 p-3 dark:border-surface-700 dark:bg-surface-800">
61
+ <div
62
+ class="flex items-center gap-2 rounded-lg border border-surface-200 bg-surface-50 p-3 dark:border-surface-700 dark:bg-surface-800"
63
+ >
62
64
  <i
63
65
  class="pi pi-database text-surface-400"
64
66
  style="font-size: 1rem"
@@ -122,6 +124,7 @@
122
124
  type="file"
123
125
  multiple
124
126
  :accept="acceptedFileTypesString"
127
+ :aria-label="t('knowledge.documents.upload.actions.upload')"
125
128
  class="hidden"
126
129
  @change="handleFileSelect"
127
130
  >
@@ -28,8 +28,8 @@
28
28
  <span class="ml-1 text-xs text-gray-400">(optional)</span>
29
29
  </label>
30
30
  <InputText
31
+ id="edit-namespace-display-name-input"
31
32
  v-model="displayName"
32
- input-id="edit-namespace-display-name-input"
33
33
  :placeholder="t('knowledge.form.display_name.placeholder')"
34
34
  />
35
35
  <small class="text-gray-500">{{ t('knowledge.form.display_name.help') }}</small>
@@ -5,11 +5,12 @@
5
5
  <label
6
6
  for="memory-content-textarea"
7
7
  class="text-xs font-medium text-gray-700 dark:text-gray-500"
8
- >{{ t('memory.edit.memory_content_label') }}</label>
8
+ >{{
9
+ t('memory.edit.memory_content_label') }}</label>
9
10
  <Textarea
10
11
  v-if="isEditing"
12
+ id="memory-content-textarea"
11
13
  v-model="editedData"
12
- input-id="memory-content-textarea"
13
14
  auto-resize
14
15
  rows="5"
15
16
  class="w-full"
@@ -33,6 +33,7 @@
33
33
  {{ t('process.create.selectClass') }}
34
34
  </label>
35
35
  <Select
36
+ id="processClass"
36
37
  v-model="selectedClass"
37
38
  :options="processClasses"
38
39
  option-label="process_class"
@@ -54,14 +54,16 @@
54
54
  value="MyAgent.*"
55
55
  severity="secondary"
56
56
  size="small"
57
- /> — {{ t('role.pattern_help_wildcard') }}
57
+ /> — {{ t('role.pattern_help_wildcard')
58
+ }}
58
59
  </li>
59
60
  <li class="whitespace-nowrap">
60
61
  <Badge
61
62
  value="MyAgent.prod"
62
63
  severity="secondary"
63
64
  size="small"
64
- /> — {{ t('role.pattern_help_specific') }}
65
+ /> — {{
66
+ t('role.pattern_help_specific') }}
65
67
  </li>
66
68
  </ul>
67
69
  </div>
@@ -119,7 +121,9 @@
119
121
  <tr>
120
122
  <td class="py-2">
121
123
  <div class="flex items-center">
122
- <span class="whitespace-nowrap rounded-l border border-r-0 border-surface-300 bg-surface-100 px-2 py-1.5 text-xs text-muted-color dark:border-surface-600 dark:bg-surface-800">
124
+ <span
125
+ class="whitespace-nowrap rounded-l border border-r-0 border-surface-300 bg-surface-100 px-2 py-1.5 text-xs text-muted-color dark:border-surface-600 dark:bg-surface-800"
126
+ >
123
127
  {{ AGENT_PREFIX }}
124
128
  </span>
125
129
  <InputText
@@ -143,6 +147,7 @@
143
147
  <td class="py-2">
144
148
  <select
145
149
  v-model="newPeriod"
150
+ :aria-label="t('role.usage_period')"
146
151
  class="w-full rounded border border-surface-300 bg-surface-0 px-2 py-1.5 text-sm dark:border-surface-600 dark:bg-surface-900"
147
152
  >
148
153
  <option
@@ -19,6 +19,7 @@
19
19
  <Select
20
20
  v-model="selectedLocale"
21
21
  input-id="user-language-select"
22
+ :aria-label="t('user.language')"
22
23
  :options="localeOptions"
23
24
  option-label="name"
24
25
  class="w-full"
@@ -170,6 +170,7 @@ thread:
170
170
  title: Hierarchische Ansicht der Turns
171
171
  chat:
172
172
  title: Chat-Ansicht
173
+ placeholder: Chat-Eingabe
173
174
  memories:
174
175
  title: Thread-Erinnerungen
175
176
  description: Während {threadName} gesammelte Erinnerungen
@@ -169,6 +169,7 @@ thread:
169
169
  title: Hierarchical View on Turns
170
170
  chat:
171
171
  title: Chat view
172
+ placeholder: Chat input
172
173
  memories:
173
174
  title: Thread Memories
174
175
  description: Memories collected during {threadName}
@@ -169,6 +169,7 @@ thread:
169
169
  title: Vue hiérarchique des tours
170
170
  chat:
171
171
  title: Vue Chat
172
+ placeholder: Saisie du chat
172
173
  memories:
173
174
  title: Mémoires du fil de discussion
174
175
  description: Mémoires collectées pendant {threadName}
@@ -169,6 +169,7 @@ thread:
169
169
  title: Vista gerarchica sui turni
170
170
  chat:
171
171
  title: Vista Chat
172
+ placeholder: Input chat
172
173
  memories:
173
174
  title: Memorie del thread
174
175
  description: Memorie raccolte durante {threadName}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "bbv Software Services AG (https://www.bbv.ch)",
5
5
  "type": "module",
6
- "version": "0.300.0",
6
+ "version": "0.300.3",
7
7
  "description": "Swiss AI Hub - Admin & Management UI (Nuxt 3 layer)",
8
8
  "main": "./nuxt.config.ts",
9
9
  "repository": {
@@ -13,6 +13,7 @@
13
13
  auto-resize
14
14
  rows="5"
15
15
  cols="30"
16
+ :aria-label="t('agent.chat.placeholder')"
16
17
  :placeholder="t('agent.chat.placeholder')"
17
18
  @keydown.enter="submitMessage"
18
19
  />
@@ -21,6 +21,7 @@
21
21
  :options="agentClassOptions"
22
22
  option-label="label"
23
23
  option-value="value"
24
+ :aria-label="t('agent.list.filter.type_placeholder')"
24
25
  :placeholder="t('agent.list.filter.type_placeholder')"
25
26
  show-clear
26
27
  class="w-52"
@@ -30,6 +31,7 @@
30
31
  :options="statusOptions"
31
32
  option-label="label"
32
33
  option-value="value"
34
+ :aria-label="t('agent.list.filter.status_placeholder')"
33
35
  :placeholder="t('agent.list.filter.status_placeholder')"
34
36
  show-clear
35
37
  class="w-52"
@@ -11,6 +11,7 @@
11
11
  <div class="pt-16">
12
12
  <Textarea
13
13
  v-model="userInput"
14
+ :aria-label="t('thread.chat.placeholder')"
14
15
  class="w-full"
15
16
  auto-resize
16
17
  rows="5"
@@ -23,6 +23,7 @@
23
23
  :options="statusOptions"
24
24
  option-label="label"
25
25
  option-value="value"
26
+ :aria-label="t('thread.list.filter.status_placeholder')"
26
27
  :placeholder="t('thread.list.filter.status_placeholder')"
27
28
  show-clear
28
29
  class="w-48"
@@ -32,6 +33,7 @@
32
33
  :options="agentInstanceOptions"
33
34
  option-label="label"
34
35
  option-value="value"
36
+ :aria-label="t('thread.list.filter.agent_name_placeholder')"
35
37
  :placeholder="t('thread.list.filter.agent_name_placeholder')"
36
38
  show-clear
37
39
  class="w-48"
@@ -41,6 +43,7 @@
41
43
  :options="userOptions"
42
44
  option-label="label"
43
45
  option-value="value"
46
+ :aria-label="t('thread.list.filter.user_name_placeholder')"
44
47
  :placeholder="t('thread.list.filter.user_name_placeholder')"
45
48
  show-clear
46
49
  class="w-48"