r3ui-lib 1.2.32 → 1.3.0

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