@antelopejs/dms 0.21.3-next.1000.g9d2fb4e → 0.21.3-next.1002.gd8c521d

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.
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { DmsErrorData } from "#dms/frontend-module";
3
+ import DmsCopyButton from "#dms-ui/app/components/copy/CopyButton.vue";
3
4
  import StageCard, {
4
5
  type StageCardTone,
5
6
  } from "./build/components/layout/StageCard.vue";
@@ -126,12 +127,15 @@ onMounted(() => {
126
127
  :description="description"
127
128
  :icon-class="isRecovering ? 'animate-spin' : undefined"
128
129
  >
129
- <p
130
+ <div
130
131
  v-if="!isRecovering && visibleErrorMessage"
131
- class="border-default text-muted mt-4 rounded-md border bg-(--dms-bg-muted) px-3 py-2 font-mono text-xs break-words"
132
+ class="border-default mt-4 flex items-start gap-2 rounded-md border bg-(--dms-bg-muted) px-3 py-2"
132
133
  >
133
- {{ visibleErrorMessage }}
134
- </p>
134
+ <p class="text-muted min-w-0 flex-1 font-mono text-xs break-words">
135
+ {{ visibleErrorMessage }}
136
+ </p>
137
+ <DmsCopyButton :value="`${statusCode} ${visibleErrorMessage}`" />
138
+ </div>
135
139
 
136
140
  <div v-if="!isRecovering" class="mt-[22px] grid gap-2 sm:grid-cols-2">
137
141
  <UButton
@@ -281,6 +281,7 @@ const formatFilterValue = (filter: TableFilter): string => {
281
281
 
282
282
  <UButton
283
283
  :icon="appConfig.ui.icons.close"
284
+ :aria-label="t('dms.table.remove_filter')"
284
285
  variant="ghost"
285
286
  color="neutral"
286
287
  size="xs"
@@ -480,6 +480,7 @@ const uiTableActions = computed(() => uiTableActionsVariant());
480
480
  >
481
481
  <UButton
482
482
  icon="i-ph-arrows-down-up"
483
+ :aria-label="t('dms.table.sort_title')"
483
484
  color="neutral"
484
485
  variant="ghost"
485
486
  size="sm"
@@ -516,6 +517,7 @@ const uiTableActions = computed(() => uiTableActionsVariant());
516
517
  <UButton
517
518
  id="table-menu"
518
519
  :icon="appConfig.ui.icons.ellipsis"
520
+ :aria-label="t('dms.table.options_title')"
519
521
  color="neutral"
520
522
  variant="ghost"
521
523
  size="sm"
@@ -105,6 +105,7 @@ const uiTableMenu = computed(() => uiTableMenuVariant());
105
105
  <UButton
106
106
  v-if="canGoBack"
107
107
  :icon="appConfig.ui.icons.arrowLeft"
108
+ :aria-label="t('button.back')"
108
109
  variant="ghost"
109
110
  color="neutral"
110
111
  size="xs"
@@ -129,6 +130,7 @@ const uiTableMenu = computed(() => uiTableMenuVariant());
129
130
  <Popover.Close as-child>
130
131
  <UButton
131
132
  :icon="appConfig.ui.icons.close"
133
+ :aria-label="t('dms.a11y.close')"
132
134
  variant="ghost"
133
135
  color="neutral"
134
136
  size="xs"
@@ -28,6 +28,7 @@
28
28
  "search_open": "Open search",
29
29
  "options_title": "Table options",
30
30
  "filters_title": "Filters",
31
+ "remove_filter": "Remove filter",
31
32
  "columns_title": "Columns",
32
33
  "sort_title": "Sort",
33
34
  "page_size_title": "Page size",
@@ -28,6 +28,7 @@
28
28
  "search_open": "Ouvrir la recherche",
29
29
  "options_title": "Options de la table",
30
30
  "filters_title": "Filtres",
31
+ "remove_filter": "Supprimer le filtre",
31
32
  "columns_title": "Colonnes",
32
33
  "sort_title": "Trier",
33
34
  "page_size_title": "Taille des pages",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/dms",
3
- "version": "0.21.3-next.1000.g9d2fb4e",
3
+ "version": "0.21.3-next.1002.gd8c521d",
4
4
  "description": "AntelopeJS DMS. Plug in your PostgreSQL, MySQL, MariaDB, MongoDB or RethinkDB database and your coding agent builds a back office and analytics dashboard as typed TypeScript. Real-time updates on the data the DMS manages.",
5
5
  "keywords": [
6
6
  "antelopejs",
@@ -112,8 +112,8 @@
112
112
  "ua-parser-js": "^2.0.9",
113
113
  "zod": "^3.25.0",
114
114
  "zod-to-json-schema": "~3.24.6",
115
- "@antelopejs/interface-dms": "^0.14.5",
116
- "@antelopejs/interface-dms-builder": "^0.6.0"
115
+ "@antelopejs/interface-dms-builder": "^0.6.0",
116
+ "@antelopejs/interface-dms": "^0.14.5"
117
117
  },
118
118
  "devDependencies": {
119
119
  "@antelopejs/api": "~1.7.0",
@@ -209,7 +209,7 @@
209
209
  "optional": true
210
210
  }
211
211
  },
212
- "gitHead": "9d2fb4e985331d4649064cb83da70ca782791fbb",
212
+ "gitHead": "d8c521d68e224cfa998b144d58fbf9ba7c5f3b6b",
213
213
  "scripts": {
214
214
  "build": "pnpm --filter @antelopejs/interface-dms --filter @antelopejs/interface-dms-builder build && rimraf dist && antelopejs-tsc && tsc-alias && tsc -p bin/tsconfig.types.json",
215
215
  "dev": "ajs project run --inspect -w -p playground",