@intlayer/design-system 5.1.4 → 5.1.6

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 (557) hide show
  1. package/dist/.vite/manifest.json +173 -132
  2. package/dist/{Form-yi0CMK-a.cjs → Form-BpxW17v4.cjs} +3 -3
  3. package/dist/Form-BpxW17v4.cjs.map +1 -0
  4. package/dist/{Form-BZUDRfoN.js → Form-MjLzPGze.js} +3 -3
  5. package/dist/Form-MjLzPGze.js.map +1 -0
  6. package/dist/components/Accordion/Accordion.cjs +1 -1
  7. package/dist/components/Accordion/Accordion.cjs.map +1 -1
  8. package/dist/components/Accordion/Accordion.mjs +1 -1
  9. package/dist/components/Accordion/Accordion.mjs.map +1 -1
  10. package/dist/components/Auth/AuthModal/index.cjs +1 -10
  11. package/dist/components/Auth/AuthModal/index.cjs.map +1 -1
  12. package/dist/components/Auth/AuthModal/index.d.ts.map +1 -1
  13. package/dist/components/Auth/AuthModal/index.mjs +1 -10
  14. package/dist/components/Auth/AuthModal/index.mjs.map +1 -1
  15. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +4 -16
  16. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
  17. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts +0 -1
  18. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -1
  19. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +4 -16
  20. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
  21. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs +0 -32
  22. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs.map +1 -1
  23. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts +0 -32
  24. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts.map +1 -1
  25. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs +0 -32
  26. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs.map +1 -1
  27. package/dist/components/Auth/DefineNewPasswordForm/DefineNewPasswordForm.cjs +81 -0
  28. package/dist/components/Auth/DefineNewPasswordForm/DefineNewPasswordForm.cjs.map +1 -0
  29. package/dist/components/Auth/DefineNewPasswordForm/DefineNewPasswordForm.d.ts +9 -0
  30. package/dist/components/Auth/DefineNewPasswordForm/DefineNewPasswordForm.d.ts.map +1 -0
  31. package/dist/components/Auth/DefineNewPasswordForm/DefineNewPasswordForm.mjs +81 -0
  32. package/dist/components/Auth/DefineNewPasswordForm/DefineNewPasswordForm.mjs.map +1 -0
  33. package/dist/components/Auth/DefineNewPasswordForm/defineNewPasswordForm.content.cjs +106 -0
  34. package/dist/components/Auth/DefineNewPasswordForm/defineNewPasswordForm.content.cjs.map +1 -0
  35. package/dist/components/{DictionaryEditor/validDictionaryChangeButtons.content.d.ts → Auth/DefineNewPasswordForm/defineNewPasswordForm.content.d.ts} +15 -41
  36. package/dist/components/Auth/DefineNewPasswordForm/defineNewPasswordForm.content.d.ts.map +1 -0
  37. package/dist/components/Auth/DefineNewPasswordForm/defineNewPasswordForm.content.mjs +106 -0
  38. package/dist/components/Auth/DefineNewPasswordForm/defineNewPasswordForm.content.mjs.map +1 -0
  39. package/dist/components/Auth/DefineNewPasswordForm/index.cjs +7 -0
  40. package/dist/components/Auth/DefineNewPasswordForm/index.cjs.map +1 -0
  41. package/dist/components/Auth/DefineNewPasswordForm/index.d.ts +3 -0
  42. package/dist/components/Auth/DefineNewPasswordForm/index.d.ts.map +1 -0
  43. package/dist/components/Auth/DefineNewPasswordForm/index.mjs +7 -0
  44. package/dist/components/Auth/DefineNewPasswordForm/index.mjs.map +1 -0
  45. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.cjs +31 -0
  46. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.cjs.map +1 -0
  47. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.content.cjs +101 -0
  48. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.content.cjs.map +1 -0
  49. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.content.d.ts +97 -0
  50. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.content.d.ts.map +1 -0
  51. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.content.mjs +101 -0
  52. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.content.mjs.map +1 -0
  53. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.d.ts +19 -0
  54. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.d.ts.map +1 -0
  55. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.mjs +31 -0
  56. package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.mjs.map +1 -0
  57. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +27 -9
  58. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -1
  59. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts +7 -3
  60. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts.map +1 -1
  61. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +27 -9
  62. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
  63. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +2 -1
  64. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -1
  65. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts.map +1 -1
  66. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +2 -1
  67. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -1
  68. package/dist/components/Auth/SignInForm/SignInForm.cjs +2 -2
  69. package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -1
  70. package/dist/components/Auth/SignInForm/SignInForm.mjs +2 -2
  71. package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -1
  72. package/dist/components/Auth/SignUpForm/SignUpForm.cjs +2 -2
  73. package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -1
  74. package/dist/components/Auth/SignUpForm/SignUpForm.mjs +2 -2
  75. package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -1
  76. package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.cjs +3 -3
  77. package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.cjs.map +1 -1
  78. package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.d.ts.map +1 -1
  79. package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.mjs +3 -3
  80. package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.mjs.map +1 -1
  81. package/dist/components/Auth/index.cjs +4 -0
  82. package/dist/components/Auth/index.cjs.map +1 -1
  83. package/dist/components/Auth/index.d.ts +1 -0
  84. package/dist/components/Auth/index.d.ts.map +1 -1
  85. package/dist/components/Auth/index.mjs +4 -0
  86. package/dist/components/Auth/index.mjs.map +1 -1
  87. package/dist/components/Auth/useAuth/index.cjs +1 -0
  88. package/dist/components/Auth/useAuth/index.cjs.map +1 -1
  89. package/dist/components/Auth/useAuth/index.d.ts +1 -0
  90. package/dist/components/Auth/useAuth/index.d.ts.map +1 -1
  91. package/dist/components/Auth/useAuth/index.mjs +1 -0
  92. package/dist/components/Auth/useAuth/index.mjs.map +1 -1
  93. package/dist/components/Avatar/index.cjs +2 -2
  94. package/dist/components/Avatar/index.cjs.map +1 -1
  95. package/dist/components/Avatar/index.mjs +2 -2
  96. package/dist/components/Avatar/index.mjs.map +1 -1
  97. package/dist/components/Badge/index.cjs +11 -11
  98. package/dist/components/Badge/index.cjs.map +1 -1
  99. package/dist/components/Badge/index.d.ts +2 -2
  100. package/dist/components/Badge/index.d.ts.map +1 -1
  101. package/dist/components/Badge/index.mjs +11 -11
  102. package/dist/components/Badge/index.mjs.map +1 -1
  103. package/dist/components/Button/Button.cjs +25 -25
  104. package/dist/components/Button/Button.cjs.map +1 -1
  105. package/dist/components/Button/Button.d.ts +3 -3
  106. package/dist/components/Button/Button.d.ts.map +1 -1
  107. package/dist/components/Button/Button.mjs +25 -25
  108. package/dist/components/Button/Button.mjs.map +1 -1
  109. package/dist/components/Command/index.cjs +2 -2
  110. package/dist/components/Command/index.cjs.map +1 -1
  111. package/dist/components/Command/index.d.ts +1 -1
  112. package/dist/components/Command/index.d.ts.map +1 -1
  113. package/dist/components/Command/index.mjs +2 -2
  114. package/dist/components/Command/index.mjs.map +1 -1
  115. package/dist/components/Container/index.cjs +67 -83
  116. package/dist/components/Container/index.cjs.map +1 -1
  117. package/dist/components/Container/index.d.ts +5 -6
  118. package/dist/components/Container/index.d.ts.map +1 -1
  119. package/dist/components/Container/index.mjs +67 -83
  120. package/dist/components/Container/index.mjs.map +1 -1
  121. package/dist/components/ContentEditor/ContentEditor.cjs +1 -1
  122. package/dist/components/ContentEditor/ContentEditor.cjs.map +1 -1
  123. package/dist/components/ContentEditor/ContentEditor.mjs +1 -1
  124. package/dist/components/ContentEditor/ContentEditor.mjs.map +1 -1
  125. package/dist/components/ContentEditor/ContentEditorTextArea.cjs +2 -2
  126. package/dist/components/ContentEditor/ContentEditorTextArea.cjs.map +1 -1
  127. package/dist/components/ContentEditor/ContentEditorTextArea.d.ts.map +1 -1
  128. package/dist/components/ContentEditor/ContentEditorTextArea.mjs +2 -2
  129. package/dist/components/ContentEditor/ContentEditorTextArea.mjs.map +1 -1
  130. package/dist/components/DictionaryEditor/DictionaryEditor.cjs +4 -4
  131. package/dist/components/DictionaryEditor/DictionaryEditor.cjs.map +1 -1
  132. package/dist/components/DictionaryEditor/DictionaryEditor.d.ts +1 -1
  133. package/dist/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -1
  134. package/dist/components/DictionaryEditor/DictionaryEditor.mjs +4 -4
  135. package/dist/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
  136. package/dist/components/DictionaryEditor/ItemLayout.cjs +3 -3
  137. package/dist/components/DictionaryEditor/ItemLayout.cjs.map +1 -1
  138. package/dist/components/DictionaryEditor/ItemLayout.mjs +3 -3
  139. package/dist/components/DictionaryEditor/ItemLayout.mjs.map +1 -1
  140. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.cjs +1 -1
  141. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.mjs +1 -1
  142. package/dist/components/DictionaryEditor/NodeWrapper/ConditionWrapper.cjs +1 -1
  143. package/dist/components/DictionaryEditor/NodeWrapper/ConditionWrapper.mjs +1 -1
  144. package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.cjs +1 -1
  145. package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.mjs +1 -1
  146. package/dist/components/DictionaryEditor/NodeWrapper/MarkdownWrapper.cjs +1 -1
  147. package/dist/components/DictionaryEditor/NodeWrapper/MarkdownWrapper.mjs +1 -1
  148. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.cjs +1 -1
  149. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs +1 -1
  150. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs +2 -2
  151. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs.map +1 -1
  152. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +2 -2
  153. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs.map +1 -1
  154. package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.cjs +1 -1
  155. package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.mjs +1 -1
  156. package/dist/components/DictionaryEditor/NodeWrapper/index.cjs +1 -1
  157. package/dist/components/DictionaryEditor/NodeWrapper/index.d.ts.map +1 -1
  158. package/dist/components/DictionaryEditor/NodeWrapper/index.mjs +1 -1
  159. package/dist/components/DictionaryFieldEditor/ContentEditor.cjs +4 -3
  160. package/dist/components/DictionaryFieldEditor/ContentEditor.cjs.map +1 -1
  161. package/dist/components/DictionaryFieldEditor/ContentEditor.d.ts.map +1 -1
  162. package/dist/components/DictionaryFieldEditor/ContentEditor.mjs +5 -4
  163. package/dist/components/DictionaryFieldEditor/ContentEditor.mjs.map +1 -1
  164. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs +15 -9
  165. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs.map +1 -1
  166. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
  167. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +15 -9
  168. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
  169. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +13 -9
  170. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
  171. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
  172. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +13 -9
  173. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
  174. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +94 -134
  175. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
  176. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts +0 -1
  177. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
  178. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +98 -138
  179. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  180. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +0 -143
  181. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
  182. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +0 -143
  183. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
  184. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +0 -143
  185. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
  186. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +1 -2
  187. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -1
  188. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts +0 -3
  189. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -1
  190. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +1 -2
  191. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -1
  192. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +52 -71
  193. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
  194. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +1 -1
  195. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
  196. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +52 -71
  197. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  198. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +65 -97
  199. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
  200. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts +3 -3
  201. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
  202. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +68 -100
  203. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  204. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +0 -32
  205. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
  206. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +0 -32
  207. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
  208. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +0 -32
  209. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
  210. package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs +9 -2
  211. package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs.map +1 -1
  212. package/dist/components/DictionaryFieldEditor/StructureView/StructureView.d.ts.map +1 -1
  213. package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs +9 -2
  214. package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
  215. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs +3 -3
  216. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs.map +1 -1
  217. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +3 -3
  218. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -1
  219. package/dist/components/DictionaryFieldEditor/index.cjs +0 -2
  220. package/dist/components/DictionaryFieldEditor/index.cjs.map +1 -1
  221. package/dist/components/DictionaryFieldEditor/index.d.ts +0 -1
  222. package/dist/components/DictionaryFieldEditor/index.d.ts.map +1 -1
  223. package/dist/components/DictionaryFieldEditor/index.mjs +0 -2
  224. package/dist/components/DictionaryFieldEditor/index.mjs.map +1 -1
  225. package/dist/components/EditableField/EditableFieldTextArea.cjs +7 -0
  226. package/dist/components/EditableField/EditableFieldTextArea.cjs.map +1 -1
  227. package/dist/components/EditableField/EditableFieldTextArea.mjs +7 -0
  228. package/dist/components/EditableField/EditableFieldTextArea.mjs.map +1 -1
  229. package/dist/components/Footer/index.cjs +1 -1
  230. package/dist/components/Footer/index.cjs.map +1 -1
  231. package/dist/components/Footer/index.mjs +1 -1
  232. package/dist/components/Footer/index.mjs.map +1 -1
  233. package/dist/components/Form/Form.cjs +1 -1
  234. package/dist/components/Form/Form.mjs +1 -1
  235. package/dist/components/Form/FormBase.cjs +0 -1
  236. package/dist/components/Form/FormBase.cjs.map +1 -1
  237. package/dist/components/Form/FormBase.d.ts +1 -4
  238. package/dist/components/Form/FormBase.d.ts.map +1 -1
  239. package/dist/components/Form/FormBase.mjs +0 -1
  240. package/dist/components/Form/FormBase.mjs.map +1 -1
  241. package/dist/components/Form/FormDescription.cjs +1 -8
  242. package/dist/components/Form/FormDescription.cjs.map +1 -1
  243. package/dist/components/Form/FormDescription.d.ts.map +1 -1
  244. package/dist/components/Form/FormDescription.mjs +1 -8
  245. package/dist/components/Form/FormDescription.mjs.map +1 -1
  246. package/dist/components/Form/FormItem.cjs +1 -1
  247. package/dist/components/Form/FormItem.cjs.map +1 -1
  248. package/dist/components/Form/FormItem.mjs +1 -1
  249. package/dist/components/Form/FormItem.mjs.map +1 -1
  250. package/dist/components/Form/FormLabel.cjs +1 -5
  251. package/dist/components/Form/FormLabel.cjs.map +1 -1
  252. package/dist/components/Form/FormLabel.d.ts.map +1 -1
  253. package/dist/components/Form/FormLabel.mjs +1 -5
  254. package/dist/components/Form/FormLabel.mjs.map +1 -1
  255. package/dist/components/Form/FormMessage.cjs +1 -1
  256. package/dist/components/Form/FormMessage.cjs.map +1 -1
  257. package/dist/components/Form/FormMessage.mjs +1 -1
  258. package/dist/components/Form/FormMessage.mjs.map +1 -1
  259. package/dist/components/Form/elements/AutoSizeTextAreaElement.cjs +1 -1
  260. package/dist/components/Form/elements/AutoSizeTextAreaElement.mjs +1 -1
  261. package/dist/components/Form/elements/CheckboxElement.cjs +1 -1
  262. package/dist/components/Form/elements/CheckboxElement.mjs +1 -1
  263. package/dist/components/Form/elements/EditableFieldInputElement.cjs +1 -1
  264. package/dist/components/Form/elements/EditableFieldInputElement.d.ts +1 -1
  265. package/dist/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
  266. package/dist/components/Form/elements/EditableFieldInputElement.mjs +1 -1
  267. package/dist/components/Form/elements/EditableFieldTextAreaElement.cjs +1 -1
  268. package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts +1 -1
  269. package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
  270. package/dist/components/Form/elements/EditableFieldTextAreaElement.mjs +1 -1
  271. package/dist/components/Form/elements/FormElement.cjs +1 -1
  272. package/dist/components/Form/elements/FormElement.mjs +1 -1
  273. package/dist/components/Form/elements/InputElement.cjs +1 -1
  274. package/dist/components/Form/elements/InputElement.mjs +1 -1
  275. package/dist/components/Form/elements/InputPasswordElement.cjs +1 -1
  276. package/dist/components/Form/elements/InputPasswordElement.mjs +1 -1
  277. package/dist/components/Form/elements/MultiselectElement.cjs +1 -1
  278. package/dist/components/Form/elements/MultiselectElement.mjs +1 -1
  279. package/dist/components/Form/elements/SelectElement.cjs +1 -1
  280. package/dist/components/Form/elements/SelectElement.mjs +1 -1
  281. package/dist/components/Form/elements/SwitchSelectorElement.cjs +1 -1
  282. package/dist/components/Form/elements/SwitchSelectorElement.mjs +1 -1
  283. package/dist/components/Form/elements/TextAreaElement.cjs +1 -1
  284. package/dist/components/Form/elements/TextAreaElement.mjs +1 -1
  285. package/dist/components/Form/elements/index.cjs +1 -1
  286. package/dist/components/Form/elements/index.mjs +1 -1
  287. package/dist/components/Form/index.cjs +1 -1
  288. package/dist/components/Form/index.mjs +1 -1
  289. package/dist/components/Form/layout/FormItemLayout.cjs +1 -1
  290. package/dist/components/Form/layout/FormItemLayout.mjs +1 -1
  291. package/dist/components/Form/layout/index.cjs +1 -1
  292. package/dist/components/Form/layout/index.mjs +1 -1
  293. package/dist/components/Headers/index.cjs +1 -1
  294. package/dist/components/Headers/index.cjs.map +1 -1
  295. package/dist/components/Headers/index.mjs +1 -1
  296. package/dist/components/Headers/index.mjs.map +1 -1
  297. package/dist/components/IDE/Code.cjs +1 -1
  298. package/dist/components/IDE/Code.cjs.map +1 -1
  299. package/dist/components/IDE/Code.mjs +1 -1
  300. package/dist/components/IDE/Code.mjs.map +1 -1
  301. package/dist/components/IDE/CodeBlockClient.cjs +8 -1
  302. package/dist/components/IDE/CodeBlockClient.cjs.map +1 -1
  303. package/dist/components/IDE/CodeBlockClient.d.ts.map +1 -1
  304. package/dist/components/IDE/CodeBlockClient.mjs +8 -1
  305. package/dist/components/IDE/CodeBlockClient.mjs.map +1 -1
  306. package/dist/components/IDE/CodeBlockServer.cjs +8 -1
  307. package/dist/components/IDE/CodeBlockServer.cjs.map +1 -1
  308. package/dist/components/IDE/CodeBlockServer.d.ts.map +1 -1
  309. package/dist/components/IDE/CodeBlockServer.mjs +8 -1
  310. package/dist/components/IDE/CodeBlockServer.mjs.map +1 -1
  311. package/dist/components/IDE/FileList.cjs +1 -1
  312. package/dist/components/IDE/FileList.cjs.map +1 -1
  313. package/dist/components/IDE/FileList.mjs +1 -1
  314. package/dist/components/IDE/FileList.mjs.map +1 -1
  315. package/dist/components/IDE/FileTree.cjs +1 -1
  316. package/dist/components/IDE/FileTree.cjs.map +1 -1
  317. package/dist/components/IDE/FileTree.mjs +1 -1
  318. package/dist/components/IDE/FileTree.mjs.map +1 -1
  319. package/dist/components/IDE/IDE.cjs +7 -3
  320. package/dist/components/IDE/IDE.cjs.map +1 -1
  321. package/dist/components/IDE/IDE.d.ts +1 -0
  322. package/dist/components/IDE/IDE.d.ts.map +1 -1
  323. package/dist/components/IDE/IDE.mjs +8 -4
  324. package/dist/components/IDE/IDE.mjs.map +1 -1
  325. package/dist/components/Input/Checkbox.cjs +10 -11
  326. package/dist/components/Input/Checkbox.cjs.map +1 -1
  327. package/dist/components/Input/Checkbox.d.ts +1 -1
  328. package/dist/components/Input/Checkbox.mjs +10 -11
  329. package/dist/components/Input/Checkbox.mjs.map +1 -1
  330. package/dist/components/Input/Input.cjs +7 -7
  331. package/dist/components/Input/Input.cjs.map +1 -1
  332. package/dist/components/Input/Input.d.ts.map +1 -1
  333. package/dist/components/Input/Input.mjs +7 -7
  334. package/dist/components/Input/Input.mjs.map +1 -1
  335. package/dist/components/Input/InputPassword.cjs +1 -1
  336. package/dist/components/Input/InputPassword.cjs.map +1 -1
  337. package/dist/components/Input/InputPassword.mjs +1 -1
  338. package/dist/components/Input/InputPassword.mjs.map +1 -1
  339. package/dist/components/KeyboardScreenAdapter/index.cjs +25 -0
  340. package/dist/components/KeyboardScreenAdapter/index.cjs.map +1 -0
  341. package/dist/components/KeyboardScreenAdapter/index.d.ts +3 -0
  342. package/dist/components/KeyboardScreenAdapter/index.d.ts.map +1 -0
  343. package/dist/components/KeyboardScreenAdapter/index.mjs +25 -0
  344. package/dist/components/KeyboardScreenAdapter/index.mjs.map +1 -0
  345. package/dist/components/Link/Link.cjs +26 -20
  346. package/dist/components/Link/Link.cjs.map +1 -1
  347. package/dist/components/Link/Link.d.ts +1 -1
  348. package/dist/components/Link/Link.d.ts.map +1 -1
  349. package/dist/components/Link/Link.mjs +26 -20
  350. package/dist/components/Link/Link.mjs.map +1 -1
  351. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +4 -4
  352. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -1
  353. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +4 -4
  354. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
  355. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +4 -4
  356. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
  357. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +4 -4
  358. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
  359. package/dist/components/MarkDownRender/index.cjs +115 -114
  360. package/dist/components/MarkDownRender/index.cjs.map +1 -1
  361. package/dist/components/MarkDownRender/index.d.ts +1 -1
  362. package/dist/components/MarkDownRender/index.d.ts.map +1 -1
  363. package/dist/components/MarkDownRender/index.mjs +115 -114
  364. package/dist/components/MarkDownRender/index.mjs.map +1 -1
  365. package/dist/components/MaxHeightSmoother/index.cjs +3 -1
  366. package/dist/components/MaxHeightSmoother/index.cjs.map +1 -1
  367. package/dist/components/MaxHeightSmoother/index.d.ts.map +1 -1
  368. package/dist/components/MaxHeightSmoother/index.mjs +3 -1
  369. package/dist/components/MaxHeightSmoother/index.mjs.map +1 -1
  370. package/dist/components/Modal/Modal.cjs +16 -14
  371. package/dist/components/Modal/Modal.cjs.map +1 -1
  372. package/dist/components/Modal/Modal.d.ts.map +1 -1
  373. package/dist/components/Modal/Modal.mjs +16 -14
  374. package/dist/components/Modal/Modal.mjs.map +1 -1
  375. package/dist/components/Navbar/Burger.cjs +1 -1
  376. package/dist/components/Navbar/Burger.cjs.map +1 -1
  377. package/dist/components/Navbar/Burger.mjs +1 -1
  378. package/dist/components/Navbar/Burger.mjs.map +1 -1
  379. package/dist/components/Navbar/DesktopNavbar.cjs +2 -2
  380. package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
  381. package/dist/components/Navbar/DesktopNavbar.mjs +2 -2
  382. package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
  383. package/dist/components/Navbar/MobileNavbar.cjs +2 -2
  384. package/dist/components/Navbar/MobileNavbar.cjs.map +1 -1
  385. package/dist/components/Navbar/MobileNavbar.mjs +2 -2
  386. package/dist/components/Navbar/MobileNavbar.mjs.map +1 -1
  387. package/dist/components/Pattern/DotPattern.cjs +1 -1
  388. package/dist/components/Pattern/DotPattern.cjs.map +1 -1
  389. package/dist/components/Pattern/DotPattern.mjs +1 -1
  390. package/dist/components/Pattern/DotPattern.mjs.map +1 -1
  391. package/dist/components/Pattern/GridPattern.cjs +1 -1
  392. package/dist/components/Pattern/GridPattern.cjs.map +1 -1
  393. package/dist/components/Pattern/GridPattern.mjs +1 -1
  394. package/dist/components/Pattern/GridPattern.mjs.map +1 -1
  395. package/dist/components/Popover/index.cjs +1 -1
  396. package/dist/components/Popover/index.cjs.map +1 -1
  397. package/dist/components/Popover/index.mjs +1 -1
  398. package/dist/components/Popover/index.mjs.map +1 -1
  399. package/dist/components/RightDrawer/RightDrawer.cjs +2 -2
  400. package/dist/components/RightDrawer/RightDrawer.cjs.map +1 -1
  401. package/dist/components/RightDrawer/RightDrawer.d.ts.map +1 -1
  402. package/dist/components/RightDrawer/RightDrawer.mjs +2 -2
  403. package/dist/components/RightDrawer/RightDrawer.mjs.map +1 -1
  404. package/dist/components/Select/Multiselect.cjs +8 -9
  405. package/dist/components/Select/Multiselect.cjs.map +1 -1
  406. package/dist/components/Select/Multiselect.d.ts.map +1 -1
  407. package/dist/components/Select/Multiselect.mjs +9 -10
  408. package/dist/components/Select/Multiselect.mjs.map +1 -1
  409. package/dist/components/Select/Select.cjs +7 -8
  410. package/dist/components/Select/Select.cjs.map +1 -1
  411. package/dist/components/Select/Select.d.ts.map +1 -1
  412. package/dist/components/Select/Select.mjs +7 -8
  413. package/dist/components/Select/Select.mjs.map +1 -1
  414. package/dist/components/SwitchSelector/index.cjs +11 -11
  415. package/dist/components/SwitchSelector/index.cjs.map +1 -1
  416. package/dist/components/SwitchSelector/index.d.ts +1 -1
  417. package/dist/components/SwitchSelector/index.d.ts.map +1 -1
  418. package/dist/components/SwitchSelector/index.mjs +11 -11
  419. package/dist/components/SwitchSelector/index.mjs.map +1 -1
  420. package/dist/components/TabSelector/TabSelector.cjs +15 -13
  421. package/dist/components/TabSelector/TabSelector.cjs.map +1 -1
  422. package/dist/components/TabSelector/TabSelector.d.ts +1 -1
  423. package/dist/components/TabSelector/TabSelector.d.ts.map +1 -1
  424. package/dist/components/TabSelector/TabSelector.mjs +15 -13
  425. package/dist/components/TabSelector/TabSelector.mjs.map +1 -1
  426. package/dist/components/Tag/index.cjs +6 -7
  427. package/dist/components/Tag/index.cjs.map +1 -1
  428. package/dist/components/Tag/index.d.ts +2 -2
  429. package/dist/components/Tag/index.d.ts.map +1 -1
  430. package/dist/components/Tag/index.mjs +6 -7
  431. package/dist/components/Tag/index.mjs.map +1 -1
  432. package/dist/components/TextArea/AutoSizeTextArea.cjs +1 -0
  433. package/dist/components/TextArea/AutoSizeTextArea.cjs.map +1 -1
  434. package/dist/components/TextArea/AutoSizeTextArea.d.ts.map +1 -1
  435. package/dist/components/TextArea/AutoSizeTextArea.mjs +1 -0
  436. package/dist/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
  437. package/dist/components/TextArea/AutocompleteTextArea.cjs +105 -0
  438. package/dist/components/TextArea/AutocompleteTextArea.cjs.map +1 -0
  439. package/dist/components/TextArea/AutocompleteTextArea.d.ts +9 -0
  440. package/dist/components/TextArea/AutocompleteTextArea.d.ts.map +1 -0
  441. package/dist/components/TextArea/AutocompleteTextArea.mjs +105 -0
  442. package/dist/components/TextArea/AutocompleteTextArea.mjs.map +1 -0
  443. package/dist/components/TextArea/index.cjs +3 -0
  444. package/dist/components/TextArea/index.cjs.map +1 -1
  445. package/dist/components/TextArea/index.d.ts +1 -0
  446. package/dist/components/TextArea/index.d.ts.map +1 -1
  447. package/dist/components/TextArea/index.mjs +4 -1
  448. package/dist/components/TextArea/index.mjs.map +1 -1
  449. package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs +1 -1
  450. package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs.map +1 -1
  451. package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +1 -1
  452. package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs.map +1 -1
  453. package/dist/components/Toaster/Toast.cjs +5 -5
  454. package/dist/components/Toaster/Toast.cjs.map +1 -1
  455. package/dist/components/Toaster/Toast.d.ts +1 -1
  456. package/dist/components/Toaster/Toast.d.ts.map +1 -1
  457. package/dist/components/Toaster/Toast.mjs +5 -5
  458. package/dist/components/Toaster/Toast.mjs.map +1 -1
  459. package/dist/components/Toaster/Toaster.cjs +1 -1
  460. package/dist/components/Toaster/Toaster.cjs.map +1 -1
  461. package/dist/components/Toaster/Toaster.mjs +1 -1
  462. package/dist/components/Toaster/Toaster.mjs.map +1 -1
  463. package/dist/components/WithResizer/index.cjs +2 -2
  464. package/dist/components/WithResizer/index.cjs.map +1 -1
  465. package/dist/components/WithResizer/index.mjs +2 -2
  466. package/dist/components/WithResizer/index.mjs.map +1 -1
  467. package/dist/components/index.cjs +14 -3
  468. package/dist/components/index.cjs.map +1 -1
  469. package/dist/components/index.d.ts +2 -0
  470. package/dist/components/index.d.ts.map +1 -1
  471. package/dist/components/index.mjs +14 -3
  472. package/dist/components/index.mjs.map +1 -1
  473. package/dist/hooks/index.cjs +5 -0
  474. package/dist/hooks/index.cjs.map +1 -1
  475. package/dist/hooks/index.d.ts +1 -0
  476. package/dist/hooks/index.d.ts.map +1 -1
  477. package/dist/hooks/index.mjs +6 -1
  478. package/dist/hooks/index.mjs.map +1 -1
  479. package/dist/hooks/intlayerAPIHooks.cjs +18 -4
  480. package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
  481. package/dist/hooks/intlayerAPIHooks.d.ts +5 -2
  482. package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
  483. package/dist/hooks/intlayerAPIHooks.mjs +18 -4
  484. package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
  485. package/dist/hooks/useAsync/useAsyncStateStore.cjs +8 -14
  486. package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +1 -1
  487. package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +1 -1
  488. package/dist/hooks/useAsync/useAsyncStateStore.mjs +8 -14
  489. package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +1 -1
  490. package/dist/hooks/useGetAllDictionaries.d.ts.map +1 -1
  491. package/dist/hooks/useIntlayerAPI.d.ts +5 -2
  492. package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
  493. package/dist/hooks/useKeyboardDetector.cjs +27 -0
  494. package/dist/hooks/useKeyboardDetector.cjs.map +1 -0
  495. package/dist/hooks/useKeyboardDetector.d.ts +5 -0
  496. package/dist/hooks/useKeyboardDetector.d.ts.map +1 -0
  497. package/dist/hooks/useKeyboardDetector.mjs +27 -0
  498. package/dist/hooks/useKeyboardDetector.mjs.map +1 -0
  499. package/dist/index-BCuMWKyy.js.map +1 -1
  500. package/dist/index-BYzBot7l.cjs.map +1 -1
  501. package/dist/{index-BUe-qmA0.js → index-C57uA6Lk.js} +2 -2
  502. package/dist/{index-BUe-qmA0.js.map → index-C57uA6Lk.js.map} +1 -1
  503. package/dist/{index-cg9H6eBs.cjs → index-D02c1QrF.cjs} +2 -2
  504. package/dist/{index-cg9H6eBs.cjs.map → index-D02c1QrF.cjs.map} +1 -1
  505. package/dist/{index-BTDHuTxL.js → index-DixKT3Hi.js} +40 -11
  506. package/dist/index-DixKT3Hi.js.map +1 -0
  507. package/dist/{index-Db5Dym4h.cjs → index-a_-DkvMQ.cjs} +40 -11
  508. package/dist/index-a_-DkvMQ.cjs.map +1 -0
  509. package/dist/tailwind.config.cjs +2 -1395
  510. package/dist/tailwind.config.cjs.map +1 -1
  511. package/dist/tailwind.config.d.ts +3 -282
  512. package/dist/tailwind.config.d.ts.map +1 -1
  513. package/dist/tailwind.config.mjs +2 -1395
  514. package/dist/tailwind.config.mjs.map +1 -1
  515. package/dist/tailwind.css +2 -1
  516. package/dist/zod-BV4nCGJE.js.map +1 -1
  517. package/dist/zod-DSrtTSD_.cjs.map +1 -1
  518. package/package.json +28 -25
  519. package/dist/Form-BZUDRfoN.js.map +0 -1
  520. package/dist/Form-yi0CMK-a.cjs.map +0 -1
  521. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs +0 -120
  522. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +0 -1
  523. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts +0 -9
  524. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +0 -1
  525. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs +0 -120
  526. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +0 -1
  527. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs +0 -132
  528. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +0 -1
  529. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +0 -1
  530. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs +0 -132
  531. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +0 -1
  532. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.cjs +0 -8
  533. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.cjs.map +0 -1
  534. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.d.ts +0 -4
  535. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.d.ts.map +0 -1
  536. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.mjs +0 -8
  537. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.mjs.map +0 -1
  538. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +0 -45
  539. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +0 -1
  540. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +0 -9
  541. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +0 -1
  542. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +0 -45
  543. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +0 -1
  544. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs +0 -40
  545. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs.map +0 -1
  546. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts +0 -36
  547. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts.map +0 -1
  548. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs +0 -40
  549. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs.map +0 -1
  550. package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.cjs +0 -8
  551. package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.cjs.map +0 -1
  552. package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.d.ts +0 -4
  553. package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.d.ts.map +0 -1
  554. package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.mjs +0 -8
  555. package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.mjs.map +0 -1
  556. package/dist/index-BTDHuTxL.js.map +0 -1
  557. package/dist/index-Db5Dym4h.cjs.map +0 -1
@@ -1,132 +0,0 @@
1
- import { t } from "intlayer";
2
- const validDictionaryChangeButtonsContent = {
3
- key: "valid-dictionary-change-buttons",
4
- content: {
5
- resetButton: {
6
- text: t({
7
- en: "Reset all changes",
8
- fr: "Réinitialiser toutes les modifications",
9
- es: "Restablecer todas las modificaciones",
10
- de: "Alle Änderungen zurücksetzen",
11
- ja: "すべての変更をリセット",
12
- ko: "모든 변경 사항 재설정",
13
- zh: "重置所有更改",
14
- it: "Ripristina tutte le modifiche",
15
- pt: "Redefinir todas as alterações",
16
- hi: "सभी परिवर्तनों को रिसेट करें",
17
- ar: "إعادة تعيين جميع التغييرات",
18
- ru: "Сбросить все изменения"
19
- }),
20
- label: t({
21
- en: "Click to reset all the changes",
22
- fr: "Cliquez pour réinitialiser toutes les modifications",
23
- es: "Haga clic para restablecer todas las modificaciones",
24
- de: "Klicken Sie, um alle Änderungen zurückzusetzen",
25
- ja: "すべての変更をリセットするにはクリックしてください",
26
- ko: "모든 변경 사항을 재설정하려면 클릭하세요",
27
- zh: "单击以重置所有更改",
28
- it: "Fai clic per ripristinare tutte le modifiche",
29
- pt: "Clique para redefinir todas as alterações",
30
- hi: "सभी परिवर्तनों को रिसेट करने के लिए क्लिक करें",
31
- ar: "انقر لإعادة تعيين جميع التغييرات",
32
- ru: "Нажмите, чтобы сбросить все изменения"
33
- })
34
- },
35
- saveButton: {
36
- text: t({
37
- en: "Save changes",
38
- fr: "Enregistrer les modifications",
39
- es: "Guardar cambios",
40
- de: "Änderungen speichern",
41
- ja: "変更を保存",
42
- ko: "변경 사항 저장",
43
- zh: "保存更改",
44
- it: "Salva le modifiche",
45
- pt: "Salvar alterações",
46
- hi: "परिवर्तन सहेजें",
47
- ar: "احفظ التغييرات",
48
- ru: "Сохранить изменения"
49
- }),
50
- label: t({
51
- en: "Click to save changes",
52
- fr: "Cliquez pour enregistrer les modifications",
53
- es: "Haga clic para guardar los cambios",
54
- de: "Klicken Sie, um Änderungen zu speichern",
55
- ja: "変更を保存するにはクリックしてください",
56
- ko: "변경 사항을 저장하려면 클릭하세요",
57
- zh: "单击以保存更改",
58
- it: "Fai clic per salvare le modifiche",
59
- pt: "Clique para salvar as alterações",
60
- hi: "परिवर्तन सहेजने के लिए क्लिक करें",
61
- ar: "انقر لحفظ التغييرات",
62
- ru: "Нажмите, чтобы сохранить изменения"
63
- })
64
- },
65
- publishButton: {
66
- text: t({
67
- en: "Publish dictionary",
68
- fr: "Publier le dictionnaire",
69
- es: "Publicar diccionario",
70
- de: "Wörterbuch veröffentlichen",
71
- ja: "辞書を公開",
72
- ko: "사전을 게시",
73
- zh: "发布字典",
74
- it: "Pubblica il dizionario",
75
- pt: "Publicar dicionário",
76
- hi: "शब्दकोश प्रकाशित करें",
77
- ar: "نشر القاموس",
78
- ru: "Опубликовать словарь"
79
- }),
80
- label: t({
81
- en: "Click to publish dictionary",
82
- fr: "Cliquez pour publier le dictionnaire",
83
- es: "Haga clic para publicar el diccionario",
84
- de: "Klicken Sie, um das Wörterbuch zu veröffentlichen",
85
- ja: "辞書を公開するにはクリックしてください",
86
- ko: "사전을 게시하려면 클릭하세요",
87
- zh: "单击以发布字典",
88
- it: "Fai clic per pubblicare il dizionario",
89
- pt: "Clique para publicar dicionário",
90
- hi: "शब्दकोश प्रकाशित करने के लिए क्लिक करें",
91
- ar: "انقر لنشر القاموس",
92
- ru: "Нажмите, чтобы опубликовать словарь"
93
- })
94
- },
95
- downloadButton: {
96
- text: t({
97
- en: "Download",
98
- "en-GB": "Download",
99
- fr: "Télécharger",
100
- es: "Descargar",
101
- de: "Herunterladen",
102
- ja: "ダウンロード",
103
- ko: "다운로드",
104
- zh: "下载",
105
- it: "Scarica",
106
- pt: "Baixar",
107
- hi: "डाउनलोड",
108
- ar: "تنزيل",
109
- ru: "Скачать"
110
- }),
111
- label: t({
112
- en: "Click to download",
113
- "en-GB": "Click to download",
114
- fr: "Cliquez pour télécharger",
115
- es: "Haga clic para descargar",
116
- de: "Klicken Sie, um herunterzuladen",
117
- ja: "ダウンロードするにはクリックしてください",
118
- ko: "다운로드를 클릭하세요",
119
- zh: "单击下载",
120
- it: "Fai clic per scaricare",
121
- pt: "Clique para baixar",
122
- hi: "डाउनलोड करने के लिए क्लिक करें",
123
- ar: "انقر لتنزيل",
124
- ru: "Нажмите, чтобы скачать"
125
- })
126
- }
127
- }
128
- };
129
- export {
130
- validDictionaryChangeButtonsContent
131
- };
132
- //# sourceMappingURL=validDictionaryChangeButtons.content.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validDictionaryChangeButtons.content.mjs","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtons.content.tsx"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const validDictionaryChangeButtonsContent = {\n key: 'valid-dictionary-change-buttons',\n content: {\n resetButton: {\n text: t({\n en: 'Reset all changes',\n fr: 'Réinitialiser toutes les modifications',\n es: 'Restablecer todas las modificaciones',\n de: 'Alle Änderungen zurücksetzen',\n ja: 'すべての変更をリセット',\n ko: '모든 변경 사항 재설정',\n zh: '重置所有更改',\n it: 'Ripristina tutte le modifiche',\n pt: 'Redefinir todas as alterações',\n hi: 'सभी परिवर्तनों को रिसेट करें',\n ar: 'إعادة تعيين جميع التغييرات',\n ru: 'Сбросить все изменения',\n }),\n label: t({\n en: 'Click to reset all the changes',\n fr: 'Cliquez pour réinitialiser toutes les modifications',\n es: 'Haga clic para restablecer todas las modificaciones',\n de: 'Klicken Sie, um alle Änderungen zurückzusetzen',\n ja: 'すべての変更をリセットするにはクリックしてください',\n ko: '모든 변경 사항을 재설정하려면 클릭하세요',\n zh: '单击以重置所有更改',\n it: 'Fai clic per ripristinare tutte le modifiche',\n pt: 'Clique para redefinir todas as alterações',\n hi: 'सभी परिवर्तनों को रिसेट करने के लिए क्लिक करें',\n ar: 'انقر لإعادة تعيين جميع التغييرات',\n ru: 'Нажмите, чтобы сбросить все изменения',\n }),\n },\n saveButton: {\n text: t({\n en: 'Save changes',\n fr: 'Enregistrer les modifications',\n es: 'Guardar cambios',\n de: 'Änderungen speichern',\n ja: '変更を保存',\n ko: '변경 사항 저장',\n zh: '保存更改',\n it: 'Salva le modifiche',\n pt: 'Salvar alterações',\n hi: 'परिवर्तन सहेजें',\n ar: 'احفظ التغييرات',\n ru: 'Сохранить изменения',\n }),\n label: t({\n en: 'Click to save changes',\n fr: 'Cliquez pour enregistrer les modifications',\n es: 'Haga clic para guardar los cambios',\n de: 'Klicken Sie, um Änderungen zu speichern',\n ja: '変更を保存するにはクリックしてください',\n ko: '변경 사항을 저장하려면 클릭하세요',\n zh: '单击以保存更改',\n it: 'Fai clic per salvare le modifiche',\n pt: 'Clique para salvar as alterações',\n hi: 'परिवर्तन सहेजने के लिए क्लिक करें',\n ar: 'انقر لحفظ التغييرات',\n ru: 'Нажмите, чтобы сохранить изменения',\n }),\n },\n publishButton: {\n text: t({\n en: 'Publish dictionary',\n fr: 'Publier le dictionnaire',\n es: 'Publicar diccionario',\n de: 'Wörterbuch veröffentlichen',\n ja: '辞書を公開',\n ko: '사전을 게시',\n zh: '发布字典',\n it: 'Pubblica il dizionario',\n pt: 'Publicar dicionário',\n hi: 'शब्दकोश प्रकाशित करें',\n ar: 'نشر القاموس',\n ru: 'Опубликовать словарь',\n }),\n label: t({\n en: 'Click to publish dictionary',\n fr: 'Cliquez pour publier le dictionnaire',\n es: 'Haga clic para publicar el diccionario',\n de: 'Klicken Sie, um das Wörterbuch zu veröffentlichen',\n ja: '辞書を公開するにはクリックしてください',\n ko: '사전을 게시하려면 클릭하세요',\n zh: '单击以发布字典',\n it: 'Fai clic per pubblicare il dizionario',\n pt: 'Clique para publicar dicionário',\n hi: 'शब्दकोश प्रकाशित करने के लिए क्लिक करें',\n ar: 'انقر لنشر القاموس',\n ru: 'Нажмите, чтобы опубликовать словарь',\n }),\n },\n downloadButton: {\n text: t({\n en: 'Download',\n 'en-GB': 'Download',\n fr: 'Télécharger',\n es: 'Descargar',\n de: 'Herunterladen',\n ja: 'ダウンロード',\n ko: '다운로드',\n zh: '下载',\n it: 'Scarica',\n pt: 'Baixar',\n hi: 'डाउनलोड',\n ar: 'تنزيل',\n ru: 'Скачать',\n }),\n label: t({\n en: 'Click to download',\n 'en-GB': 'Click to download',\n fr: 'Cliquez pour télécharger',\n es: 'Haga clic para descargar',\n de: 'Klicken Sie, um herunterzuladen',\n ja: 'ダウンロードするにはクリックしてください',\n ko: '다운로드를 클릭하세요',\n zh: '单击下载',\n it: 'Fai clic per scaricare',\n pt: 'Clique para baixar',\n hi: 'डाउनलोड करने के लिए क्लिक करें',\n ar: 'انقر لتنزيل',\n ru: 'Нажмите, чтобы скачать',\n }),\n },\n },\n} satisfies Dictionary;\n"],"names":[],"mappings":";AAEO,MAAM,sCAAsC;AAAA,EACjD,KAAK;AAAA,EACL,SAAS;AAAA,IACP,aAAa;AAAA,MACX,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,YAAY;AAAA,MACV,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,eAAe;AAAA,MACb,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,gBAAgB;AAAA,MACd,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IAAA;AAAA,EACH;AAEJ;"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const zod = require("zod");
4
- const getValidDictionaryChangeButtonsSchemaSchema = () => {
5
- return zod.z.object({});
6
- };
7
- exports.getValidDictionaryChangeButtonsSchemaSchema = getValidDictionaryChangeButtonsSchemaSchema;
8
- //# sourceMappingURL=validDictionaryChangeButtonsSchema.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validDictionaryChangeButtonsSchema.cjs","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtonsSchema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const getValidDictionaryChangeButtonsSchemaSchema = () => {\n return z.object({});\n};\n\nexport type ValidDictionaryChangeButtonsSchemaData = z.infer<\n ReturnType<typeof getValidDictionaryChangeButtonsSchemaSchema>\n>;\n"],"names":["z"],"mappings":";;;AAEO,MAAM,8CAA8C,MAAM;AACxD,SAAAA,IAAA,EAAE,OAAO,EAAE;AACpB;;"}
@@ -1,4 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const getValidDictionaryChangeButtonsSchemaSchema: () => z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
- export type ValidDictionaryChangeButtonsSchemaData = z.infer<ReturnType<typeof getValidDictionaryChangeButtonsSchemaSchema>>;
4
- //# sourceMappingURL=validDictionaryChangeButtonsSchema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validDictionaryChangeButtonsSchema.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtonsSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2CAA2C,sDAEvD,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,UAAU,CAAC,OAAO,2CAA2C,CAAC,CAC/D,CAAC"}
@@ -1,8 +0,0 @@
1
- import { z } from "zod";
2
- const getValidDictionaryChangeButtonsSchemaSchema = () => {
3
- return z.object({});
4
- };
5
- export {
6
- getValidDictionaryChangeButtonsSchemaSchema
7
- };
8
- //# sourceMappingURL=validDictionaryChangeButtonsSchema.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validDictionaryChangeButtonsSchema.mjs","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtonsSchema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const getValidDictionaryChangeButtonsSchemaSchema = () => {\n return z.object({});\n};\n\nexport type ValidDictionaryChangeButtonsSchemaData = z.infer<\n ReturnType<typeof getValidDictionaryChangeButtonsSchemaSchema>\n>;\n"],"names":[],"mappings":";AAEO,MAAM,8CAA8C,MAAM;AACxD,SAAA,EAAE,OAAO,EAAE;AACpB;"}
@@ -1,45 +0,0 @@
1
- "use client";
2
- "use strict";
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const jsxRuntime = require("react/jsx-runtime");
5
- const editorReact = require("@intlayer/editor-react");
6
- const ReactExports = require("react");
7
- const reactIntlayer = require("react-intlayer");
8
- require("../../../hooks/useScrollBlockage/useScrollBlockageStore.cjs");
9
- require("../../../hooks/useAsync/useAsyncStateStore.cjs");
10
- require("@intlayer/api");
11
- require("@intlayer/config/client");
12
- require("../../Toaster/Toast.cjs");
13
- const hooks_useGetAllDictionaries = require("../../../hooks/useGetAllDictionaries.cjs");
14
- const components_Loader_index = require("../../Loader/index.cjs");
15
- const components_DictionaryFieldEditor_DictionaryFieldEditor = require("../DictionaryFieldEditor.cjs");
16
- const components_DictionaryFieldEditor_DictionariesSelector_dictionariesSelector_content = require("./dictionariesSelector.content.cjs");
17
- const DictionariesSelector = ({
18
- onClickDictionaryList,
19
- isDarkMode,
20
- mode
21
- }) => {
22
- const { online, locale, isLoading } = hooks_useGetAllDictionaries.useGetAllDictionaries();
23
- const { focusedContent } = editorReact.useFocusDictionary();
24
- const { noDictionaryMessage, dictionaryNotFoundMessage } = reactIntlayer.useDictionary(
25
- components_DictionaryFieldEditor_DictionariesSelector_dictionariesSelector_content.dictionariesSelectorContent
26
- );
27
- const dictionary = ReactExports.useMemo(
28
- () => focusedContent?.dictionaryKey ? online?.[focusedContent?.dictionaryKey] ?? locale?.[focusedContent?.dictionaryKey] : null,
29
- [online, locale, focusedContent?.dictionaryKey]
30
- );
31
- if (isLoading) return /* @__PURE__ */ jsxRuntime.jsx(components_Loader_index.Loader, {});
32
- if (!focusedContent?.dictionaryKey) return noDictionaryMessage;
33
- if (!dictionary) return dictionaryNotFoundMessage;
34
- return /* @__PURE__ */ jsxRuntime.jsx(
35
- components_DictionaryFieldEditor_DictionaryFieldEditor.DictionaryFieldEditor,
36
- {
37
- dictionary,
38
- onClickDictionaryList,
39
- isDarkMode,
40
- mode
41
- }
42
- );
43
- };
44
- exports.DictionariesSelector = DictionariesSelector;
45
- //# sourceMappingURL=DictionariesSelector.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DictionariesSelector.cjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.tsx"],"sourcesContent":["'use client';\n\nimport { useFocusDictionary } from '@intlayer/editor-react';\nimport { useMemo, type FC } from 'react';\nimport { useDictionary } from 'react-intlayer';\nimport { useGetAllDictionaries } from '../../../hooks';\nimport { Loader } from '../../Loader';\nimport { DictionaryFieldEditor } from '../DictionaryFieldEditor';\nimport { dictionariesSelectorContent } from './dictionariesSelector.content';\n\ntype DictionariesSelectorProps = {\n onClickDictionaryList: () => void;\n isDarkMode?: boolean;\n mode: 'local' | 'remote';\n};\n\nexport const DictionariesSelector: FC<DictionariesSelectorProps> = ({\n onClickDictionaryList,\n isDarkMode,\n mode,\n}) => {\n const { online, locale, isLoading } = useGetAllDictionaries();\n const { focusedContent } = useFocusDictionary();\n const { noDictionaryMessage, dictionaryNotFoundMessage } = useDictionary(\n dictionariesSelectorContent\n );\n const dictionary = useMemo(\n () =>\n focusedContent?.dictionaryKey\n ? (online?.[focusedContent?.dictionaryKey] ??\n locale?.[focusedContent?.dictionaryKey])\n : null,\n [online, locale, focusedContent?.dictionaryKey]\n );\n\n if (isLoading) return <Loader />;\n\n if (!focusedContent?.dictionaryKey) return noDictionaryMessage;\n\n if (!dictionary) return dictionaryNotFoundMessage;\n\n return (\n <DictionaryFieldEditor\n dictionary={dictionary}\n onClickDictionaryList={onClickDictionaryList}\n isDarkMode={isDarkMode}\n mode={mode}\n />\n );\n};\n"],"names":["useGetAllDictionaries","useFocusDictionary","useDictionary","dictionariesSelectorContent","useMemo","jsx","Loader","DictionaryFieldEditor"],"mappings":";;;;;;;;;;;;;;;;AAgBO,MAAM,uBAAsD,CAAC;AAAA,EAClE;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,EAAE,QAAQ,QAAQ,UAAA,IAAcA,4BAAAA,sBAAsB;AACtD,QAAA,EAAE,eAAe,IAAIC,+BAAmB;AACxC,QAAA,EAAE,qBAAqB,0BAAA,IAA8BC,cAAA;AAAA,IACzDC,mFAAAA;AAAAA,EACF;AACA,QAAM,aAAaC,aAAA;AAAA,IACjB,MACE,gBAAgB,gBACX,SAAS,gBAAgB,aAAa,KACvC,SAAS,gBAAgB,aAAa,IACtC;AAAA,IACN,CAAC,QAAQ,QAAQ,gBAAgB,aAAa;AAAA,EAChD;AAEI,MAAA,UAAkB,QAAAC,+BAACC,wBAAAA,QAAO,CAAA,CAAA;AAE1B,MAAA,CAAC,gBAAgB,cAAsB,QAAA;AAEvC,MAAA,CAAC,WAAmB,QAAA;AAGtB,SAAAD,2BAAA;AAAA,IAACE,uDAAA;AAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EACF;AAEJ;;"}
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
- type DictionariesSelectorProps = {
3
- onClickDictionaryList: () => void;
4
- isDarkMode?: boolean;
5
- mode: 'local' | 'remote';
6
- };
7
- export declare const DictionariesSelector: FC<DictionariesSelectorProps>;
8
- export {};
9
- //# sourceMappingURL=DictionariesSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DictionariesSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAW,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAOzC,KAAK,yBAAyB,GAAG;IAC/B,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAiC9D,CAAC"}
@@ -1,45 +0,0 @@
1
- "use client";
2
- import { jsx } from "react/jsx-runtime";
3
- import { useFocusDictionary } from "@intlayer/editor-react";
4
- import { useMemo } from "react";
5
- import { useDictionary } from "react-intlayer";
6
- import "../../../hooks/useScrollBlockage/useScrollBlockageStore.mjs";
7
- import "../../../hooks/useAsync/useAsyncStateStore.mjs";
8
- import "@intlayer/api";
9
- import "@intlayer/config/client";
10
- import "../../Toaster/Toast.mjs";
11
- import { useGetAllDictionaries } from "../../../hooks/useGetAllDictionaries.mjs";
12
- import { Loader } from "../../Loader/index.mjs";
13
- import { DictionaryFieldEditor } from "../DictionaryFieldEditor.mjs";
14
- import { dictionariesSelectorContent } from "./dictionariesSelector.content.mjs";
15
- const DictionariesSelector = ({
16
- onClickDictionaryList,
17
- isDarkMode,
18
- mode
19
- }) => {
20
- const { online, locale, isLoading } = useGetAllDictionaries();
21
- const { focusedContent } = useFocusDictionary();
22
- const { noDictionaryMessage, dictionaryNotFoundMessage } = useDictionary(
23
- dictionariesSelectorContent
24
- );
25
- const dictionary = useMemo(
26
- () => focusedContent?.dictionaryKey ? online?.[focusedContent?.dictionaryKey] ?? locale?.[focusedContent?.dictionaryKey] : null,
27
- [online, locale, focusedContent?.dictionaryKey]
28
- );
29
- if (isLoading) return /* @__PURE__ */ jsx(Loader, {});
30
- if (!focusedContent?.dictionaryKey) return noDictionaryMessage;
31
- if (!dictionary) return dictionaryNotFoundMessage;
32
- return /* @__PURE__ */ jsx(
33
- DictionaryFieldEditor,
34
- {
35
- dictionary,
36
- onClickDictionaryList,
37
- isDarkMode,
38
- mode
39
- }
40
- );
41
- };
42
- export {
43
- DictionariesSelector
44
- };
45
- //# sourceMappingURL=DictionariesSelector.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DictionariesSelector.mjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.tsx"],"sourcesContent":["'use client';\n\nimport { useFocusDictionary } from '@intlayer/editor-react';\nimport { useMemo, type FC } from 'react';\nimport { useDictionary } from 'react-intlayer';\nimport { useGetAllDictionaries } from '../../../hooks';\nimport { Loader } from '../../Loader';\nimport { DictionaryFieldEditor } from '../DictionaryFieldEditor';\nimport { dictionariesSelectorContent } from './dictionariesSelector.content';\n\ntype DictionariesSelectorProps = {\n onClickDictionaryList: () => void;\n isDarkMode?: boolean;\n mode: 'local' | 'remote';\n};\n\nexport const DictionariesSelector: FC<DictionariesSelectorProps> = ({\n onClickDictionaryList,\n isDarkMode,\n mode,\n}) => {\n const { online, locale, isLoading } = useGetAllDictionaries();\n const { focusedContent } = useFocusDictionary();\n const { noDictionaryMessage, dictionaryNotFoundMessage } = useDictionary(\n dictionariesSelectorContent\n );\n const dictionary = useMemo(\n () =>\n focusedContent?.dictionaryKey\n ? (online?.[focusedContent?.dictionaryKey] ??\n locale?.[focusedContent?.dictionaryKey])\n : null,\n [online, locale, focusedContent?.dictionaryKey]\n );\n\n if (isLoading) return <Loader />;\n\n if (!focusedContent?.dictionaryKey) return noDictionaryMessage;\n\n if (!dictionary) return dictionaryNotFoundMessage;\n\n return (\n <DictionaryFieldEditor\n dictionary={dictionary}\n onClickDictionaryList={onClickDictionaryList}\n isDarkMode={isDarkMode}\n mode={mode}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgBO,MAAM,uBAAsD,CAAC;AAAA,EAClE;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,EAAE,QAAQ,QAAQ,UAAA,IAAc,sBAAsB;AACtD,QAAA,EAAE,eAAe,IAAI,mBAAmB;AACxC,QAAA,EAAE,qBAAqB,0BAAA,IAA8B;AAAA,IACzD;AAAA,EACF;AACA,QAAM,aAAa;AAAA,IACjB,MACE,gBAAgB,gBACX,SAAS,gBAAgB,aAAa,KACvC,SAAS,gBAAgB,aAAa,IACtC;AAAA,IACN,CAAC,QAAQ,QAAQ,gBAAgB,aAAa;AAAA,EAChD;AAEI,MAAA,UAAkB,QAAA,oBAAC,QAAO,CAAA,CAAA;AAE1B,MAAA,CAAC,gBAAgB,cAAsB,QAAA;AAEvC,MAAA,CAAC,WAAmB,QAAA;AAGtB,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EACF;AAEJ;"}
@@ -1,40 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const intlayer = require("intlayer");
4
- const dictionariesSelectorContent = {
5
- key: "dictionaries-selector",
6
- content: {
7
- noDictionaryMessage: intlayer.t({
8
- en: "No dictionary",
9
- "en-GB": "No dictionary",
10
- fr: "Aucun dictionnaire",
11
- es: "Sin diccionario",
12
- de: "Kein Wörterbuch",
13
- ja: "辞書がありません",
14
- ko: "사전이 없습니다",
15
- zh: "没有字典",
16
- it: "Nessun dizionario",
17
- pt: "Sem dicionário",
18
- hi: "कोई शब्दकोश नहीं",
19
- ar: "لا يوجد قاموس",
20
- ru: "Нет словаря"
21
- }),
22
- dictionaryNotFoundMessage: intlayer.t({
23
- en: "Dictionary not found",
24
- "en-GB": "Dictionary not found",
25
- fr: "Dictionnaire non trouvé",
26
- es: "Diccionario no encontrado",
27
- de: "Wörterbuch nicht gefunden",
28
- ja: "辞書が見つかりません",
29
- ko: "사전을 찾을 수 없습니다",
30
- zh: "找不到字典",
31
- it: "Dizionario non trovato",
32
- pt: "Dicionário não encontrado",
33
- hi: "शब्दकोश नहीं मिला",
34
- ar: "القاموس غير موجود",
35
- ru: "Словарь не найден"
36
- })
37
- }
38
- };
39
- exports.dictionariesSelectorContent = dictionariesSelectorContent;
40
- //# sourceMappingURL=dictionariesSelector.content.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionariesSelector.content.cjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const dictionariesSelectorContent = {\n key: 'dictionaries-selector',\n content: {\n noDictionaryMessage: t({\n en: 'No dictionary',\n 'en-GB': 'No dictionary',\n fr: 'Aucun dictionnaire',\n es: 'Sin diccionario',\n de: 'Kein Wörterbuch',\n ja: '辞書がありません',\n ko: '사전이 없습니다',\n zh: '没有字典',\n it: 'Nessun dizionario',\n pt: 'Sem dicionário',\n hi: 'कोई शब्दकोश नहीं',\n ar: 'لا يوجد قاموس',\n ru: 'Нет словаря',\n }),\n dictionaryNotFoundMessage: t({\n en: 'Dictionary not found',\n 'en-GB': 'Dictionary not found',\n fr: 'Dictionnaire non trouvé',\n es: 'Diccionario no encontrado',\n de: 'Wörterbuch nicht gefunden',\n ja: '辞書が見つかりません',\n ko: '사전을 찾을 수 없습니다',\n zh: '找不到字典',\n it: 'Dizionario non trovato',\n pt: 'Dicionário não encontrado',\n hi: 'शब्दकोश नहीं मिला',\n ar: 'القاموس غير موجود',\n ru: 'Словарь не найден',\n }),\n },\n} satisfies Dictionary;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,8BAA8B;AAAA,EACzC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,qBAAqBA,SAAAA,EAAE;AAAA,MACrB,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,2BAA2BA,SAAAA,EAAE;AAAA,MAC3B,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;;"}
@@ -1,36 +0,0 @@
1
- export declare const dictionariesSelectorContent: {
2
- key: string;
3
- content: {
4
- noDictionaryMessage: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
5
- en: string;
6
- 'en-GB': string;
7
- fr: string;
8
- es: string;
9
- de: string;
10
- ja: string;
11
- ko: string;
12
- zh: string;
13
- it: string;
14
- pt: string;
15
- hi: string;
16
- ar: string;
17
- ru: string;
18
- }>;
19
- dictionaryNotFoundMessage: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
20
- en: string;
21
- 'en-GB': string;
22
- fr: string;
23
- es: string;
24
- de: string;
25
- ja: string;
26
- ko: string;
27
- zh: string;
28
- it: string;
29
- pt: string;
30
- hi: string;
31
- ar: string;
32
- ru: string;
33
- }>;
34
- };
35
- };
36
- //# sourceMappingURL=dictionariesSelector.content.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionariesSelector.content.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkClB,CAAC"}
@@ -1,40 +0,0 @@
1
- import { t } from "intlayer";
2
- const dictionariesSelectorContent = {
3
- key: "dictionaries-selector",
4
- content: {
5
- noDictionaryMessage: t({
6
- en: "No dictionary",
7
- "en-GB": "No dictionary",
8
- fr: "Aucun dictionnaire",
9
- es: "Sin diccionario",
10
- de: "Kein Wörterbuch",
11
- ja: "辞書がありません",
12
- ko: "사전이 없습니다",
13
- zh: "没有字典",
14
- it: "Nessun dizionario",
15
- pt: "Sem dicionário",
16
- hi: "कोई शब्दकोश नहीं",
17
- ar: "لا يوجد قاموس",
18
- ru: "Нет словаря"
19
- }),
20
- dictionaryNotFoundMessage: t({
21
- en: "Dictionary not found",
22
- "en-GB": "Dictionary not found",
23
- fr: "Dictionnaire non trouvé",
24
- es: "Diccionario no encontrado",
25
- de: "Wörterbuch nicht gefunden",
26
- ja: "辞書が見つかりません",
27
- ko: "사전을 찾을 수 없습니다",
28
- zh: "找不到字典",
29
- it: "Dizionario non trovato",
30
- pt: "Dicionário não encontrado",
31
- hi: "शब्दकोश नहीं मिला",
32
- ar: "القاموس غير موجود",
33
- ru: "Словарь не найден"
34
- })
35
- }
36
- };
37
- export {
38
- dictionariesSelectorContent
39
- };
40
- //# sourceMappingURL=dictionariesSelector.content.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionariesSelector.content.mjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const dictionariesSelectorContent = {\n key: 'dictionaries-selector',\n content: {\n noDictionaryMessage: t({\n en: 'No dictionary',\n 'en-GB': 'No dictionary',\n fr: 'Aucun dictionnaire',\n es: 'Sin diccionario',\n de: 'Kein Wörterbuch',\n ja: '辞書がありません',\n ko: '사전이 없습니다',\n zh: '没有字典',\n it: 'Nessun dizionario',\n pt: 'Sem dicionário',\n hi: 'कोई शब्दकोश नहीं',\n ar: 'لا يوجد قاموس',\n ru: 'Нет словаря',\n }),\n dictionaryNotFoundMessage: t({\n en: 'Dictionary not found',\n 'en-GB': 'Dictionary not found',\n fr: 'Dictionnaire non trouvé',\n es: 'Diccionario no encontrado',\n de: 'Wörterbuch nicht gefunden',\n ja: '辞書が見つかりません',\n ko: '사전을 찾을 수 없습니다',\n zh: '找不到字典',\n it: 'Dizionario non trovato',\n pt: 'Dicionário não encontrado',\n hi: 'शब्दकोश नहीं मिला',\n ar: 'القاموس غير موجود',\n ru: 'Словарь не найден',\n }),\n },\n} satisfies Dictionary;\n"],"names":[],"mappings":";AAEO,MAAM,8BAA8B;AAAA,EACzC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,qBAAqB,EAAE;AAAA,MACrB,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,2BAA2B,EAAE;AAAA,MAC3B,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const zod = require("zod");
4
- const getSaveFormSchema = () => {
5
- return zod.z.object({});
6
- };
7
- exports.getSaveFormSchema = getSaveFormSchema;
8
- //# sourceMappingURL=SaveFormSchema.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SaveFormSchema.cjs","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const getSaveFormSchema = () => {\n return z.object({});\n};\n\nexport type SaveFormData = z.infer<ReturnType<typeof getSaveFormSchema>>;\n"],"names":["z"],"mappings":";;;AAEO,MAAM,oBAAoB,MAAM;AAC9B,SAAAA,IAAA,EAAE,OAAO,EAAE;AACpB;;"}
@@ -1,4 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const getSaveFormSchema: () => z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
- export type SaveFormData = z.infer<ReturnType<typeof getSaveFormSchema>>;
4
- //# sourceMappingURL=SaveFormSchema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SaveFormSchema.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB,sDAE7B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import { z } from "zod";
2
- const getSaveFormSchema = () => {
3
- return z.object({});
4
- };
5
- export {
6
- getSaveFormSchema
7
- };
8
- //# sourceMappingURL=SaveFormSchema.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SaveFormSchema.mjs","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const getSaveFormSchema = () => {\n return z.object({});\n};\n\nexport type SaveFormData = z.infer<ReturnType<typeof getSaveFormSchema>>;\n"],"names":[],"mappings":";AAEO,MAAM,oBAAoB,MAAM;AAC9B,SAAA,EAAE,OAAO,EAAE;AACpB;"}