@strapi/i18n 0.0.0-next.d9724d67b33363354d7171a9f2265e1c42485e13 → 0.0.0-next.da19c0501ff87d14fb664b55b8e0630d3c548485

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 (155) hide show
  1. package/dist/admin/components/CMHeaderActions.js +132 -1
  2. package/dist/admin/components/CMHeaderActions.js.map +1 -1
  3. package/dist/admin/components/CMHeaderActions.mjs +135 -5
  4. package/dist/admin/components/CMHeaderActions.mjs.map +1 -1
  5. package/dist/admin/components/CreateLocale.js +1 -1
  6. package/dist/admin/components/CreateLocale.js.map +1 -1
  7. package/dist/admin/components/CreateLocale.mjs +1 -1
  8. package/dist/admin/components/CreateLocale.mjs.map +1 -1
  9. package/dist/admin/components/EditLocale.js +1 -1
  10. package/dist/admin/components/EditLocale.js.map +1 -1
  11. package/dist/admin/components/EditLocale.mjs +1 -1
  12. package/dist/admin/components/EditLocale.mjs.map +1 -1
  13. package/dist/admin/components/LocaleListCell.js +65 -45
  14. package/dist/admin/components/LocaleListCell.js.map +1 -1
  15. package/dist/admin/components/LocaleListCell.mjs +66 -46
  16. package/dist/admin/components/LocaleListCell.mjs.map +1 -1
  17. package/dist/admin/components/LocalePicker.js +18 -11
  18. package/dist/admin/components/LocalePicker.js.map +1 -1
  19. package/dist/admin/components/LocalePicker.mjs +19 -12
  20. package/dist/admin/components/LocalePicker.mjs.map +1 -1
  21. package/dist/admin/contentManagerHooks/editView.js +6 -3
  22. package/dist/admin/contentManagerHooks/editView.js.map +1 -1
  23. package/dist/admin/contentManagerHooks/editView.mjs +7 -4
  24. package/dist/admin/contentManagerHooks/editView.mjs.map +1 -1
  25. package/dist/admin/contentManagerHooks/listView.js +2 -1
  26. package/dist/admin/contentManagerHooks/listView.js.map +1 -1
  27. package/dist/admin/contentManagerHooks/listView.mjs +2 -1
  28. package/dist/admin/contentManagerHooks/listView.mjs.map +1 -1
  29. package/dist/admin/hooks/useAILocalizationJobsPolling.js +91 -0
  30. package/dist/admin/hooks/useAILocalizationJobsPolling.js.map +1 -0
  31. package/dist/admin/hooks/useAILocalizationJobsPolling.mjs +70 -0
  32. package/dist/admin/hooks/useAILocalizationJobsPolling.mjs.map +1 -0
  33. package/dist/admin/index.js +1 -0
  34. package/dist/admin/index.js.map +1 -1
  35. package/dist/admin/index.mjs +2 -1
  36. package/dist/admin/index.mjs.map +1 -1
  37. package/dist/admin/pages/SettingsPage.js +121 -46
  38. package/dist/admin/pages/SettingsPage.js.map +1 -1
  39. package/dist/admin/pages/SettingsPage.mjs +124 -30
  40. package/dist/admin/pages/SettingsPage.mjs.map +1 -1
  41. package/dist/admin/services/aiLocalizationJobs.js +26 -0
  42. package/dist/admin/services/aiLocalizationJobs.js.map +1 -0
  43. package/dist/admin/services/aiLocalizationJobs.mjs +24 -0
  44. package/dist/admin/services/aiLocalizationJobs.mjs.map +1 -0
  45. package/dist/admin/services/api.js +3 -1
  46. package/dist/admin/services/api.js.map +1 -1
  47. package/dist/admin/services/api.mjs +3 -1
  48. package/dist/admin/services/api.mjs.map +1 -1
  49. package/dist/admin/services/settings.js +29 -0
  50. package/dist/admin/services/settings.js.map +1 -0
  51. package/dist/admin/services/settings.mjs +26 -0
  52. package/dist/admin/services/settings.mjs.map +1 -0
  53. package/dist/admin/src/components/CMHeaderActions.d.ts +7 -1
  54. package/dist/admin/src/components/LocaleListCell.d.ts +2 -1
  55. package/dist/admin/src/hooks/useAILocalizationJobsPolling.d.ts +9 -0
  56. package/dist/admin/src/services/aiLocalizationJobs.d.ts +6 -0
  57. package/dist/admin/src/services/api.d.ts +1 -1
  58. package/dist/admin/src/services/locales.d.ts +1 -1
  59. package/dist/admin/src/services/relations.d.ts +1 -1
  60. package/dist/admin/src/services/settings.d.ts +5 -0
  61. package/dist/admin/translations/en.json.js +9 -0
  62. package/dist/admin/translations/en.json.js.map +1 -1
  63. package/dist/admin/translations/en.json.mjs +9 -0
  64. package/dist/admin/translations/en.json.mjs.map +1 -1
  65. package/dist/admin/utils/clean.js +2 -2
  66. package/dist/admin/utils/clean.js.map +1 -1
  67. package/dist/admin/utils/clean.mjs +2 -2
  68. package/dist/admin/utils/clean.mjs.map +1 -1
  69. package/dist/server/bootstrap.js +2 -0
  70. package/dist/server/bootstrap.js.map +1 -1
  71. package/dist/server/bootstrap.mjs +2 -0
  72. package/dist/server/bootstrap.mjs.map +1 -1
  73. package/dist/server/constants/iso-locales.json.js +4 -0
  74. package/dist/server/constants/iso-locales.json.js.map +1 -1
  75. package/dist/server/constants/iso-locales.json.mjs +4 -0
  76. package/dist/server/constants/iso-locales.json.mjs.map +1 -1
  77. package/dist/server/controllers/ai-localization-jobs.js +47 -0
  78. package/dist/server/controllers/ai-localization-jobs.js.map +1 -0
  79. package/dist/server/controllers/ai-localization-jobs.mjs +45 -0
  80. package/dist/server/controllers/ai-localization-jobs.mjs.map +1 -0
  81. package/dist/server/controllers/index.js +5 -1
  82. package/dist/server/controllers/index.js.map +1 -1
  83. package/dist/server/controllers/index.mjs +5 -1
  84. package/dist/server/controllers/index.mjs.map +1 -1
  85. package/dist/server/controllers/settings.js +24 -0
  86. package/dist/server/controllers/settings.js.map +1 -0
  87. package/dist/server/controllers/settings.mjs +22 -0
  88. package/dist/server/controllers/settings.mjs.map +1 -0
  89. package/dist/server/models/ai-localization-job.js +60 -0
  90. package/dist/server/models/ai-localization-job.js.map +1 -0
  91. package/dist/server/models/ai-localization-job.mjs +57 -0
  92. package/dist/server/models/ai-localization-job.mjs.map +1 -0
  93. package/dist/server/register.js +3 -1
  94. package/dist/server/register.js.map +1 -1
  95. package/dist/server/register.mjs +3 -1
  96. package/dist/server/register.mjs.map +1 -1
  97. package/dist/server/routes/admin.js +40 -0
  98. package/dist/server/routes/admin.js.map +1 -1
  99. package/dist/server/routes/admin.mjs +40 -0
  100. package/dist/server/routes/admin.mjs.map +1 -1
  101. package/dist/server/services/ai-localization-jobs.js +64 -0
  102. package/dist/server/services/ai-localization-jobs.js.map +1 -0
  103. package/dist/server/services/ai-localization-jobs.mjs +62 -0
  104. package/dist/server/services/ai-localization-jobs.mjs.map +1 -0
  105. package/dist/server/services/ai-localizations.js +210 -0
  106. package/dist/server/services/ai-localizations.js.map +1 -0
  107. package/dist/server/services/ai-localizations.mjs +208 -0
  108. package/dist/server/services/ai-localizations.mjs.map +1 -0
  109. package/dist/server/services/index.js +7 -1
  110. package/dist/server/services/index.js.map +1 -1
  111. package/dist/server/services/index.mjs +7 -1
  112. package/dist/server/services/index.mjs.map +1 -1
  113. package/dist/server/services/settings.js +25 -0
  114. package/dist/server/services/settings.js.map +1 -0
  115. package/dist/server/services/settings.mjs +23 -0
  116. package/dist/server/services/settings.mjs.map +1 -0
  117. package/dist/server/src/bootstrap.d.ts.map +1 -1
  118. package/dist/server/src/controllers/ai-localization-jobs.d.ts +17 -0
  119. package/dist/server/src/controllers/ai-localization-jobs.d.ts.map +1 -0
  120. package/dist/server/src/controllers/index.d.ts +10 -0
  121. package/dist/server/src/controllers/index.d.ts.map +1 -1
  122. package/dist/server/src/controllers/settings.d.ts +7 -0
  123. package/dist/server/src/controllers/settings.d.ts.map +1 -0
  124. package/dist/server/src/index.d.ts +44 -1
  125. package/dist/server/src/index.d.ts.map +1 -1
  126. package/dist/server/src/models/ai-localization-job.d.ts +5 -0
  127. package/dist/server/src/models/ai-localization-job.d.ts.map +1 -0
  128. package/dist/server/src/models/index.d.ts +5 -0
  129. package/dist/server/src/models/index.d.ts.map +1 -0
  130. package/dist/server/src/register.d.ts +1 -1
  131. package/dist/server/src/register.d.ts.map +1 -1
  132. package/dist/server/src/routes/admin.d.ts.map +1 -1
  133. package/dist/server/src/services/ai-localization-jobs.d.ts +26 -0
  134. package/dist/server/src/services/ai-localization-jobs.d.ts.map +1 -0
  135. package/dist/server/src/services/ai-localizations.d.ts +18 -0
  136. package/dist/server/src/services/ai-localizations.d.ts.map +1 -0
  137. package/dist/server/src/services/index.d.ts +33 -0
  138. package/dist/server/src/services/index.d.ts.map +1 -1
  139. package/dist/server/src/services/settings.d.ts +13 -0
  140. package/dist/server/src/services/settings.d.ts.map +1 -0
  141. package/dist/server/src/utils/index.d.ts +7 -1
  142. package/dist/server/src/utils/index.d.ts.map +1 -1
  143. package/dist/server/src/validation/settings.d.ts +12 -0
  144. package/dist/server/src/validation/settings.d.ts.map +1 -0
  145. package/dist/server/utils/index.js.map +1 -1
  146. package/dist/server/utils/index.mjs.map +1 -1
  147. package/dist/server/validation/settings.js +11 -0
  148. package/dist/server/validation/settings.js.map +1 -0
  149. package/dist/server/validation/settings.mjs +9 -0
  150. package/dist/server/validation/settings.mjs.map +1 -0
  151. package/dist/shared/contracts/ai-localization-jobs.d.ts +27 -0
  152. package/dist/shared/contracts/ai-localization-jobs.d.ts.map +1 -0
  153. package/dist/shared/contracts/settings.d.ts +40 -0
  154. package/dist/shared/contracts/shared.d.ts.map +1 -0
  155. package/package.json +10 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/i18n",
3
- "version": "0.0.0-next.d9724d67b33363354d7171a9f2265e1c42485e13",
3
+ "version": "0.0.0-next.da19c0501ff87d14fb664b55b8e0630d3c548485",
4
4
  "description": "Create read and update content in different languages, both from the Admin Panel and from the API",
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,9 +57,9 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@reduxjs/toolkit": "1.9.7",
60
- "@strapi/design-system": "2.0.0-rc.29",
61
- "@strapi/icons": "2.0.0-rc.29",
62
- "@strapi/utils": "0.0.0-next.d9724d67b33363354d7171a9f2265e1c42485e13",
60
+ "@strapi/design-system": "2.0.0-rc.30",
61
+ "@strapi/icons": "2.0.0-rc.30",
62
+ "@strapi/utils": "0.0.0-next.da19c0501ff87d14fb664b55b8e0630d3c548485",
63
63
  "lodash": "4.17.21",
64
64
  "qs": "6.11.1",
65
65
  "react-intl": "6.6.2",
@@ -68,12 +68,14 @@
68
68
  "zod": "3.25.67"
69
69
  },
70
70
  "devDependencies": {
71
- "@strapi/admin": "0.0.0-next.d9724d67b33363354d7171a9f2265e1c42485e13",
72
- "@strapi/admin-test-utils": "0.0.0-next.d9724d67b33363354d7171a9f2265e1c42485e13",
73
- "@strapi/content-manager": "0.0.0-next.d9724d67b33363354d7171a9f2265e1c42485e13",
74
- "@strapi/types": "0.0.0-next.d9724d67b33363354d7171a9f2265e1c42485e13",
71
+ "@strapi/admin": "0.0.0-next.da19c0501ff87d14fb664b55b8e0630d3c548485",
72
+ "@strapi/admin-test-utils": "0.0.0-next.da19c0501ff87d14fb664b55b8e0630d3c548485",
73
+ "@strapi/content-manager": "0.0.0-next.da19c0501ff87d14fb664b55b8e0630d3c548485",
74
+ "@strapi/database": "0.0.0-next.da19c0501ff87d14fb664b55b8e0630d3c548485",
75
+ "@strapi/types": "0.0.0-next.da19c0501ff87d14fb664b55b8e0630d3c548485",
75
76
  "@testing-library/react": "15.0.7",
76
77
  "@testing-library/user-event": "14.5.2",
78
+ "koa": "2.16.1",
77
79
  "msw": "1.3.0",
78
80
  "react": "18.3.1",
79
81
  "react-dom": "18.3.1",