r3ui-lib 1.2.32 → 1.3.1

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/login.es.js +1426 -1388
  3. package/dist/login.umd.js +5 -5
  4. package/dist/r3ui-lib.css +1 -1
  5. package/dist/r3ui-lib.es.js +3589 -3504
  6. package/dist/r3ui-lib.umd.js +28 -28
  7. package/dist/types/components/SsoLoginScreen.vue.d.ts.map +1 -1
  8. package/dist/types/components/notifications/Toast.vue.d.ts.map +1 -1
  9. package/dist/types/components/tables/Table.vue.d.ts.map +1 -1
  10. package/dist/types/composables/table/useRemoteTable.d.ts +6 -1
  11. package/dist/types/composables/table/useRemoteTable.d.ts.map +1 -1
  12. package/dist/types/main.d.ts +1 -1
  13. package/dist/types/main.d.ts.map +1 -1
  14. package/dist/types/utils/auth/exchangePasswordToken.d.ts.map +1 -1
  15. package/dist/types/utils/auth/handlePkceCallback.d.ts.map +1 -1
  16. package/dist/types/utils/auth/logout.d.ts +1 -1
  17. package/dist/types/utils/auth/logout.d.ts.map +1 -1
  18. package/dist/types/utils/auth/runLogoutHandler.d.ts.map +1 -1
  19. package/dist/types/utils/auth/signInWithSSO.d.ts +1 -0
  20. package/dist/types/utils/auth/signInWithSSO.d.ts.map +1 -1
  21. package/dist/types/utils/tableAjaxRequest.d.ts +1 -0
  22. package/dist/types/utils/tableAjaxRequest.d.ts.map +1 -1
  23. package/dist/types/utils/upstreamHttpStatus.d.ts +9 -0
  24. package/dist/types/utils/upstreamHttpStatus.d.ts.map +1 -0
  25. package/nuxt-errors/app/error.vue +85 -0
  26. package/nuxt-errors/composables/presentPageError.ts +21 -0
  27. package/nuxt-errors/error.vue +85 -0
  28. package/nuxt-errors/nuxt.config.ts +6 -0
  29. package/nuxt-errors/plugins/app-error-log.client.ts +21 -0
  30. package/nuxt-errors/utils/classifyTransport.ts +56 -0
  31. package/nuxt-errors/utils/cloneJson.ts +17 -0
  32. package/nuxt-errors/utils/extractHttpStatus.ts +51 -0
  33. package/nuxt-errors/utils/extractLaravel.ts +73 -0
  34. package/nuxt-errors/utils/extractRequestId.ts +53 -0
  35. package/nuxt-errors/utils/isHttpStatus.ts +3 -0
  36. package/nuxt-errors/utils/logAppError.ts +68 -0
  37. package/nuxt-errors/utils/normalizeAppError.ts +178 -0
  38. package/nuxt-errors/utils/presentAppError.ts +115 -0
  39. package/nuxt-errors/utils/publicHttpMessage.ts +23 -0
  40. package/nuxt-errors/utils/serializeCause.ts +25 -0
  41. package/nuxt-errors/utils/types.ts +55 -0
  42. package/package.json +4 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,25 @@
5
5
  Формат основан на [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  и этот проект придерживается [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.3.1] - 2026-09-08
9
+
10
+ ### Fixed
11
+
12
+ - `Table` / `Toast` — текст ошибки на красном `alert-danger` белый (`HTTP 500` читается на `#eb5757`)
13
+
14
+ ## [1.3.0] - 2026-09-07
15
+
16
+ ### Added
17
+
18
+ - Subpath `r3ui-lib/nuxt-errors` — Nuxt Layer с единым `AppError`, normalizer, presenters, production-safe logger и `error.vue`
19
+ - `useRemoteTable`: `onError` и явная политика `notFound: 'empty' | 'error'` (по умолчанию ошибка, не пустая страница)
20
+
21
+ ### Fixed
22
+
23
+ - PKCE/logout/password token: upstream 4xx/429/5xx больше не схлопываются в 500
24
+ - `signInWithSSO` — config/crypto/runtime failure идёт в `showError` с cause
25
+ - `runLogoutFlow` — `onError` обязателен, без silent `console.error`
26
+
8
27
  ## [1.2.32] - 2026-09-01
9
28
 
10
29
  ### Fixed