ngwr 16.5.0 → 16.6.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 (287) hide show
  1. package/back-top/styles/_index.scss +6 -0
  2. package/breadcrumbs/styles/_rules.scss +34 -0
  3. package/cascader/styles/_rules.scss +7 -0
  4. package/charts/chart-legend/styles/_index.scss +1 -9
  5. package/counter/styles/_index.scss +1 -8
  6. package/date-picker/styles/_index.scss +15 -9
  7. package/dialog/styles/_index.scss +37 -0
  8. package/editor/styles/_index.scss +1 -8
  9. package/event-calendar/styles/_index.scss +2 -6
  10. package/fesm2022/ngwr-affix.mjs +1 -1
  11. package/fesm2022/ngwr-affix.mjs.map +1 -1
  12. package/fesm2022/ngwr-anchor.mjs +9 -2
  13. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  14. package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
  15. package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
  16. package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
  17. package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
  18. package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
  19. package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
  20. package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
  21. package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
  22. package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
  23. package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
  24. package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
  25. package/fesm2022/ngwr-animations-glow-border.mjs.map +1 -1
  26. package/fesm2022/ngwr-animations-gradient-flow.mjs.map +1 -1
  27. package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
  28. package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
  29. package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
  30. package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
  31. package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
  32. package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
  33. package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
  34. package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
  35. package/fesm2022/ngwr-animations-tilt.mjs +20 -13
  36. package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
  37. package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
  38. package/fesm2022/ngwr-breadcrumbs.mjs +40 -7
  39. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  40. package/fesm2022/ngwr-button.mjs +12 -3
  41. package/fesm2022/ngwr-button.mjs.map +1 -1
  42. package/fesm2022/ngwr-carousel.mjs +8 -2
  43. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  44. package/fesm2022/ngwr-cascader.mjs +24 -4
  45. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  46. package/fesm2022/ngwr-charts-core.mjs +12 -5
  47. package/fesm2022/ngwr-charts-core.mjs.map +1 -1
  48. package/fesm2022/ngwr-charts-meter-group.mjs +4 -2
  49. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  50. package/fesm2022/ngwr-checkbox.mjs +3 -2
  51. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  52. package/fesm2022/ngwr-color-picker.mjs +21 -1
  53. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  54. package/fesm2022/ngwr-context-menu.mjs +4 -5
  55. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  56. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  57. package/fesm2022/ngwr-date-picker.mjs +49 -1
  58. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  59. package/fesm2022/ngwr-dialog.mjs +16 -6
  60. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  61. package/fesm2022/ngwr-directives.mjs +9 -6
  62. package/fesm2022/ngwr-directives.mjs.map +1 -1
  63. package/fesm2022/ngwr-event-calendar.mjs +20 -9
  64. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  65. package/fesm2022/ngwr-form.mjs +170 -3
  66. package/fesm2022/ngwr-form.mjs.map +1 -1
  67. package/fesm2022/ngwr-i18n-ar.mjs +15 -0
  68. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  69. package/fesm2022/ngwr-i18n-cs.mjs +15 -0
  70. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  71. package/fesm2022/ngwr-i18n-de.mjs +15 -0
  72. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  73. package/fesm2022/ngwr-i18n-en.mjs +15 -0
  74. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  75. package/fesm2022/ngwr-i18n-es.mjs +15 -0
  76. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  77. package/fesm2022/ngwr-i18n-fr.mjs +15 -0
  78. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  79. package/fesm2022/ngwr-i18n-he.mjs +15 -0
  80. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  81. package/fesm2022/ngwr-i18n-hi.mjs +15 -0
  82. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  83. package/fesm2022/ngwr-i18n-id.mjs +15 -0
  84. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  85. package/fesm2022/ngwr-i18n-it.mjs +15 -0
  86. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  87. package/fesm2022/ngwr-i18n-ja.mjs +15 -0
  88. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  89. package/fesm2022/ngwr-i18n-ko.mjs +15 -0
  90. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  91. package/fesm2022/ngwr-i18n-nl.mjs +15 -0
  92. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  93. package/fesm2022/ngwr-i18n-pl.mjs +15 -0
  94. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  95. package/fesm2022/ngwr-i18n-pt.mjs +15 -0
  96. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  97. package/fesm2022/ngwr-i18n-ru.mjs +15 -0
  98. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  99. package/fesm2022/ngwr-i18n-sv.mjs +15 -0
  100. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  101. package/fesm2022/ngwr-i18n-tr.mjs +15 -0
  102. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  103. package/fesm2022/ngwr-i18n-uk.mjs +15 -0
  104. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  105. package/fesm2022/ngwr-i18n-vi.mjs +15 -0
  106. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  107. package/fesm2022/ngwr-i18n-zh-tw.mjs +15 -0
  108. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  109. package/fesm2022/ngwr-i18n-zh.mjs +15 -0
  110. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  111. package/fesm2022/ngwr-i18n.mjs +82 -11
  112. package/fesm2022/ngwr-i18n.mjs.map +1 -1
  113. package/fesm2022/ngwr-input-number.mjs +24 -1
  114. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  115. package/fesm2022/ngwr-input-otp.mjs +2 -2
  116. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  117. package/fesm2022/ngwr-input.mjs +10 -2
  118. package/fesm2022/ngwr-input.mjs.map +1 -1
  119. package/fesm2022/ngwr-layout.mjs.map +1 -1
  120. package/fesm2022/ngwr-list.mjs +1 -1
  121. package/fesm2022/ngwr-list.mjs.map +1 -1
  122. package/fesm2022/ngwr-loading-bar-router.mjs.map +1 -1
  123. package/fesm2022/ngwr-loading-bar.mjs +2 -2
  124. package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
  125. package/fesm2022/ngwr-mention.mjs +8 -0
  126. package/fesm2022/ngwr-mention.mjs.map +1 -1
  127. package/fesm2022/ngwr-meta.mjs +9 -6
  128. package/fesm2022/ngwr-meta.mjs.map +1 -1
  129. package/fesm2022/ngwr-page-header.mjs +21 -0
  130. package/fesm2022/ngwr-page-header.mjs.map +1 -1
  131. package/fesm2022/ngwr-pagination.mjs +2 -0
  132. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  133. package/fesm2022/ngwr-pipes.mjs +8 -1
  134. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  135. package/fesm2022/ngwr-popconfirm.mjs +2 -1
  136. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  137. package/fesm2022/ngwr-popover.mjs +47 -3
  138. package/fesm2022/ngwr-popover.mjs.map +1 -1
  139. package/fesm2022/ngwr-qr.mjs +6 -2
  140. package/fesm2022/ngwr-qr.mjs.map +1 -1
  141. package/fesm2022/ngwr-radio.mjs +71 -5
  142. package/fesm2022/ngwr-radio.mjs.map +1 -1
  143. package/fesm2022/ngwr-schema-form.mjs +10 -1
  144. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  145. package/fesm2022/ngwr-scroll.mjs +1 -3
  146. package/fesm2022/ngwr-scroll.mjs.map +1 -1
  147. package/fesm2022/ngwr-segmented.mjs +20 -0
  148. package/fesm2022/ngwr-segmented.mjs.map +1 -1
  149. package/fesm2022/ngwr-select.mjs +80 -9
  150. package/fesm2022/ngwr-select.mjs.map +1 -1
  151. package/fesm2022/ngwr-sortable-list.mjs +16 -4
  152. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  153. package/fesm2022/ngwr-storage.mjs +1 -1
  154. package/fesm2022/ngwr-storage.mjs.map +1 -1
  155. package/fesm2022/ngwr-switch.mjs +2 -2
  156. package/fesm2022/ngwr-switch.mjs.map +1 -1
  157. package/fesm2022/ngwr-table.mjs +41 -7
  158. package/fesm2022/ngwr-table.mjs.map +1 -1
  159. package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
  160. package/fesm2022/ngwr-textarea.mjs +2 -2
  161. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  162. package/fesm2022/ngwr-toast.mjs +28 -0
  163. package/fesm2022/ngwr-toast.mjs.map +1 -1
  164. package/fesm2022/ngwr-tour.mjs +2 -2
  165. package/fesm2022/ngwr-tour.mjs.map +1 -1
  166. package/fesm2022/ngwr-typography.mjs +20 -0
  167. package/fesm2022/ngwr-typography.mjs.map +1 -1
  168. package/fesm2022/ngwr-utils-router.mjs.map +1 -1
  169. package/fesm2022/ngwr-utils.mjs +46 -4
  170. package/fesm2022/ngwr-utils.mjs.map +1 -1
  171. package/fesm2022/ngwr-validators.mjs +33 -1
  172. package/fesm2022/ngwr-validators.mjs.map +1 -1
  173. package/fesm2022/ngwr-version.mjs +1 -1
  174. package/fesm2022/ngwr-version.mjs.map +1 -1
  175. package/form/styles/_index.scss +37 -0
  176. package/graph/styles/_index.scss +1 -9
  177. package/i18n/ar.json +15 -0
  178. package/i18n/cs.json +15 -0
  179. package/i18n/de.json +15 -0
  180. package/i18n/en.json +15 -0
  181. package/i18n/es.json +15 -0
  182. package/i18n/fr.json +15 -0
  183. package/i18n/he.json +15 -0
  184. package/i18n/hi.json +15 -0
  185. package/i18n/id.json +15 -0
  186. package/i18n/it.json +15 -0
  187. package/i18n/ja.json +15 -0
  188. package/i18n/ko.json +15 -0
  189. package/i18n/nl.json +15 -0
  190. package/i18n/pl.json +15 -0
  191. package/i18n/pt.json +15 -0
  192. package/i18n/ru.json +15 -0
  193. package/i18n/sv.json +15 -0
  194. package/i18n/tr.json +15 -0
  195. package/i18n/uk.json +15 -0
  196. package/i18n/vi.json +15 -0
  197. package/i18n/zh-TW.json +15 -0
  198. package/i18n/zh.json +15 -0
  199. package/image-cropper/styles/_index.scss +1 -9
  200. package/input-number/styles/_index.scss +7 -0
  201. package/layout/styles/_index.scss +13 -1
  202. package/llms-full.txt +10 -10
  203. package/loading-bar/styles/_rules.scss +6 -0
  204. package/package.json +2 -2
  205. package/page-header/styles/_index.scss +18 -0
  206. package/popover/styles/_index.scss +7 -0
  207. package/schematics/use/symbol-map.json +2 -0
  208. package/segmented/styles/_index.scss +7 -0
  209. package/select/styles/_index.scss +7 -0
  210. package/sidebar/styles/_index.scss +6 -0
  211. package/skills/ngwr/references/catalog.md +1 -1
  212. package/sortable-list/styles/_rules.scss +1 -9
  213. package/speed-dial/styles/_index.scss +6 -0
  214. package/stepper/styles/_index.scss +1 -9
  215. package/table/styles/_index.scss +49 -0
  216. package/theme/_index.scss +12 -1
  217. package/theme/styles/_colors.scss +11 -0
  218. package/theme/styles/_contrast.scss +6 -0
  219. package/theme/styles/_index.scss +1 -0
  220. package/theme/styles/_mixins.scss +45 -0
  221. package/theme/styles/_print.scss +17 -0
  222. package/toast/styles/_index.scss +7 -0
  223. package/tour/styles/_index.scss +8 -0
  224. package/tree/styles/_index.scss +1 -9
  225. package/types/ngwr-anchor.d.ts +3 -0
  226. package/types/ngwr-animations-aurora.d.ts +6 -0
  227. package/types/ngwr-animations-blur-reveal.d.ts +6 -0
  228. package/types/ngwr-animations-click-sparks.d.ts +6 -0
  229. package/types/ngwr-animations-confetti.d.ts +6 -0
  230. package/types/ngwr-animations-decode.d.ts +6 -0
  231. package/types/ngwr-animations-destruct.d.ts +6 -0
  232. package/types/ngwr-animations-dot-grid.d.ts +6 -0
  233. package/types/ngwr-animations-falling-letters.d.ts +6 -0
  234. package/types/ngwr-animations-flow-lines.d.ts +6 -0
  235. package/types/ngwr-animations-fluid-cursor.d.ts +6 -0
  236. package/types/ngwr-animations-glitch.d.ts +6 -0
  237. package/types/ngwr-animations-glow-border.d.ts +6 -0
  238. package/types/ngwr-animations-gradient-flow.d.ts +6 -0
  239. package/types/ngwr-animations-marquee.d.ts +6 -0
  240. package/types/ngwr-animations-orbit.d.ts +6 -0
  241. package/types/ngwr-animations-reveal.d.ts +6 -0
  242. package/types/ngwr-animations-ripple-grid.d.ts +6 -0
  243. package/types/ngwr-animations-rotate-reveal.d.ts +6 -0
  244. package/types/ngwr-animations-shimmer.d.ts +6 -0
  245. package/types/ngwr-animations-spotlight.d.ts +6 -0
  246. package/types/ngwr-animations-thread-lines.d.ts +6 -0
  247. package/types/ngwr-animations-tilt.d.ts +10 -0
  248. package/types/ngwr-animations-typewriter.d.ts +6 -0
  249. package/types/ngwr-breadcrumbs.d.ts +25 -0
  250. package/types/ngwr-button.d.ts +23 -3
  251. package/types/ngwr-carousel.d.ts +2 -0
  252. package/types/ngwr-cascader.d.ts +7 -0
  253. package/types/ngwr-charts-core.d.ts +16 -0
  254. package/types/ngwr-charts-meter-group.d.ts +2 -0
  255. package/types/ngwr-checkbox.d.ts +1 -0
  256. package/types/ngwr-color-picker.d.ts +1 -0
  257. package/types/ngwr-context-menu.d.ts +1 -1
  258. package/types/ngwr-date-picker.d.ts +19 -0
  259. package/types/ngwr-dialog.d.ts +39 -8
  260. package/types/ngwr-directives.d.ts +12 -4
  261. package/types/ngwr-drawer.d.ts +1 -1
  262. package/types/ngwr-dropdown.d.ts +1 -1
  263. package/types/ngwr-event-calendar.d.ts +4 -0
  264. package/types/ngwr-form.d.ts +85 -1
  265. package/types/ngwr-i18n.d.ts +65 -5
  266. package/types/ngwr-input-number.d.ts +8 -0
  267. package/types/ngwr-input.d.ts +7 -0
  268. package/types/ngwr-layout.d.ts +1 -1
  269. package/types/ngwr-loading-bar-router.d.ts +6 -0
  270. package/types/ngwr-page-header.d.ts +23 -1
  271. package/types/ngwr-popconfirm.d.ts +1 -1
  272. package/types/ngwr-popover.d.ts +28 -4
  273. package/types/ngwr-radio.d.ts +47 -5
  274. package/types/ngwr-segmented.d.ts +7 -0
  275. package/types/ngwr-select.d.ts +57 -13
  276. package/types/ngwr-sortable-list.d.ts +20 -7
  277. package/types/ngwr-table.d.ts +58 -5
  278. package/types/ngwr-tabs-router.d.ts +6 -0
  279. package/types/ngwr-toast.d.ts +11 -0
  280. package/types/ngwr-tour.d.ts +0 -1
  281. package/types/ngwr-typography.d.ts +7 -0
  282. package/types/ngwr-utils-router.d.ts +6 -0
  283. package/types/ngwr-utils.d.ts +56 -2
  284. package/types/ngwr-validators.d.ts +49 -1
  285. package/types/ngwr-version.d.ts +1 -1
  286. package/typography/styles/_index.scss +4 -0
  287. package/window/styles/_index.scss +1 -9
@@ -1 +1 @@
1
- {"version":3,"file":"ngwr-form.mjs","names":[],"sources":["../../../projects/lib/form/form-item.ts","../../../projects/lib/form/tokens.ts","../../../projects/lib/form/form-field.ts","../../../projects/lib/form/form-field.html","../../../projects/lib/form/field-aria.ts","../../../projects/lib/form/schema.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/**\n * Wraps a label + control + error message into a single field row.\n *\n * Toggle `hasError` to apply error styling to the projected label and\n * any descendant input / textarea / checkbox.\n *\n * @example\n * ```html\n * <wr-form-item [hasError]=\"form.controls.email.invalid\">\n * <label>Email</label>\n * <input wrInput formControlName=\"email\" />\n * <wr-form-error>Invalid email</wr-form-error>\n * </wr-form-item>\n * ```\n *\n * @see https://ngwr.dev/reference/components/form\n */\n@Component({\n selector: 'wr-form-item',\n template: '<ng-content />',\n encapsulation: ViewEncapsulation.None,\n host: { class: 'wr-form-item', '[class]': 'classes()' },\n})\nexport class WrFormItem {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('form');\n }\n\n /**\n * When `true`, applies error coloring to the projected label and inputs.\n *\n * @default false\n */\n readonly hasError = input(false, { transform: coerceBooleanProperty });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.hasError()) parts.push('wr-form-item--error');\n return parts.join(' ');\n });\n}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { InjectionToken, type Signal } from '@angular/core';\n\n/**\n * What a projected control can read from its surrounding `<wr-form-field>`.\n *\n * The field renders `<label [for]>` before it can see what was projected into\n * it, so the id has to travel the other way: the control adopts the id the\n * label already points at. Doing it through DI keeps it a render-time binding,\n * which is what SSR needs — stamping the id from `afterNextRender` would leave\n * every prerendered page with a label pointing at nothing.\n */\nexport interface WrFormFieldContext {\n /** Id the field's `<label for>` points at. */\n readonly controlId: Signal<string>;\n\n /**\n * The reverse direction, for the one case the paragraph above does not cover: a\n * projected control that already carries its own `id` keeps it, and the label has\n * to follow, or `for` names an element that does not exist and the field ends up\n * with no label at all. Called during the control's construction, so the label's\n * binding still resolves in the same render pass.\n */\n adoptControlId(id: string): void;\n\n /**\n * Validator keys currently in error, once the control is touched or dirty.\n * Empty when the field is valid or has not been interacted with.\n */\n readonly errorKeys: Signal<readonly string[]>;\n\n /** Id of the element listing the visible messages, or `null` when there are none. */\n readonly describedBy: Signal<string | null>;\n\n /**\n * Id of the field's own `<label>`, or `null` when it renders none.\n *\n * For the controls `<label for>` cannot reach. `for` only binds to a LABELABLE\n * element — button, input, meter, output, progress, select, textarea — so a\n * control whose focusable part is a `div[role=\"slider\"]`, a `role=\"button\"`\n * drop zone or a radiogroup got a label pointing at nothing: measured, five of\n * the eighteen value controls resolved `for` to no element in the document at\n * all. Those point `aria-labelledby` back at this instead, which is the\n * direction that works for a role.\n */\n readonly labelId?: Signal<string | null>;\n\n /**\n * Id of the field's hint, or `null` when it is showing none — including while\n * an error has replaced it, since the two never render together and an\n * `aria-describedby` naming an absent element is an author error.\n *\n * Separate from {@link describedBy} rather than folded into it because the two\n * carry different weight: a control keyed `aria-invalid` on \"the field is\n * describing me\" would announce itself invalid for a plain hint. Compose the\n * pair with `useFormFieldAria()` instead of reading either one directly.\n *\n * Optional so an app that provides its own `WR_FORM_FIELD` keeps compiling; a\n * field without it simply describes nothing but its errors.\n */\n readonly hintId?: Signal<string | null>;\n}\n\n/** Present only inside a `<wr-form-field>`; inject with `{ optional: true }`. */\nexport const WR_FORM_FIELD = new InjectionToken<WrFormFieldContext>('WR_FORM_FIELD');\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n type AfterContentChecked,\n PLATFORM_ID,\n ViewEncapsulation,\n computed,\n contentChild,\n contentChildren,\n effect,\n forwardRef,\n inject,\n input,\n isDevMode,\n signal,\n untracked,\n} from '@angular/core';\nimport { AbstractControl, NgControl, type ValidationErrors } from '@angular/forms';\n\nimport { EMPTY, type Subscription } from 'rxjs';\n\nimport { WrI18n, useI18nText } from 'ngwr/i18n';\nimport { wrCheckStyles } from 'ngwr/utils';\n\nimport { WR_FORM_FIELD, type WrFormFieldContext } from './tokens';\n\nlet uid = 0;\n\n/**\n * Error keys already reported on the server. Every prerendered route and every\n * request builds its fields afresh, so the per-field memo alone would repeat one\n * warning per page; the browser keeps it per field, where it names the field the\n * developer is looking at.\n */\nconst warnedOnServer = new Set<string>();\n\n/** Validator payloads are plain objects; anything else interpolates nothing. */\nfunction toParams(error: unknown): Record<string, unknown> | undefined {\n return error && typeof error === 'object' ? (error as Record<string, unknown>) : undefined;\n}\n\n/**\n * The sentence the validator carries itself, or `null`.\n *\n * Signal Forms validators take `{ message }` and keep it on the error object, and\n * the interop `NgControl` this field reads lists that object AS IS under its\n * `kind` (`signalErrorsToValidationErrors` in `@angular/forms`), so the message\n * arrives here untouched. A custom control's parse errors take the same road in\n * both forms flavours, which is how a `wr-date-picker` refusal is read. A classic\n * validator's payload has no `message` unless the app put one there.\n */\nfunction ownMessage(error: unknown): string | null {\n const message = toParams(error)?.['message'];\n return typeof message === 'string' && message.trim() !== '' ? message : null;\n}\n\n/**\n * The two Signal Forms kinds whose spelling and payload differ from the classic\n * validator that means the same thing.\n *\n * Reactive forms emit `minlength` / `maxlength` carrying `requiredLength`;\n * Signal Forms emit `minLength` / `maxLength` carrying `minLength` / `maxLength`.\n * Restated before the catalog lookup so one `validation.minlength` entry in an\n * app's catalog answers both spellings, with `{{requiredLength}}` filled either\n * way — the message is the SAME message, one sentence about a length reached by\n * two spellings of one rule, and asking every app for two keys would only get\n * one of them written.\n */\nconst SIGNAL_FORMS_ALIASES: Readonly<Record<string, { readonly key: string; readonly from: string }>> = {\n minLength: { key: 'minlength', from: 'minLength' },\n maxLength: { key: 'maxlength', from: 'maxLength' },\n};\n\n/**\n * A Signal Forms length error, restated in the classic shape the catalog lookup\n * reads. Anything else passes through untouched.\n */\nfunction normalizeError(key: string, error: unknown): { readonly key: string; readonly error: unknown } {\n const alias = SIGNAL_FORMS_ALIASES[key];\n if (!alias) return { key, error };\n\n const params = toParams(error);\n const bound = params?.[alias.from];\n return {\n key: alias.key,\n error: bound === undefined ? error : { ...params, requiredLength: bound },\n };\n}\n\n/**\n * One error message tied to a validator key. Renders only when the parent\n * form-field has a matching error in `control.errors`, and only once the\n * control is touched or dirty.\n *\n * A keyed message CLAIMS its key: the field renders no automatic message for it,\n * so per-field markup wins over the validator's own `message` and over the app's\n * `validation.*` catalog.\n *\n * @example\n * ```html\n * <wr-form-error key=\"required\">This field is required.</wr-form-error>\n * <wr-form-error key=\"email\">That doesn't look right.</wr-form-error>\n * ```\n */\n@Component({\n selector: 'wr-form-error',\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-form-error wr-form-field__error',\n role: 'alert',\n '[attr.data-key]': 'key() ?? null',\n '[class.wr-form-field__error--hidden]': '!visible()',\n },\n})\nexport class WrFormError {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('form');\n }\n\n /**\n * Validator key this message corresponds to (e.g. `'required'`).\n * Optional — without a key the message always renders, which is the\n * plain inline-error usage inside `<wr-form-item>`.\n */\n readonly key = input<string>();\n\n private readonly field = inject(WR_FORM_FIELD, { optional: true });\n\n /**\n * Whether this message is the one the current error calls for.\n *\n * The parent projects every `<wr-form-error>` through a single\n * `<ng-content select>`, which cannot filter — so each message decides for\n * itself. Without this, one invalid control rendered \"Email is required.\"\n * and \"That isn't a valid email.\" side by side, which is what the docs have\n * always described as gated behaviour.\n *\n * A keyless message always shows: that is the plain inline-error usage inside\n * `<wr-form-item>`, which has no error discovery at all.\n */\n protected readonly visible = computed(() => {\n const key = this.key();\n if (!key || !this.field) return true;\n return this.field.errorKeys().includes(key);\n });\n}\n\n/**\n * Wraps a label + control + hint + error messages into a single block —\n * the layout primitive every form ends up reinventing.\n *\n * - Auto-binds `label[for]` to the projected control via a generated id\n * (or use the form-control's `[id]` if you set one).\n * - Reads the projected control's `NgControl` to surface validation\n * errors only once the control is touched or dirty. A submit shows them\n * only by marking the controls touched, as `markAllAsTouched()` and Signal\n * Forms' `submit()` do.\n * - Optional `[required]` / `[optional]` markers next to the label.\n *\n * **ngwr ships no error texts.** Each error shows the first copy that exists for\n * it: a projected `<wr-form-error key>`, then the validator's own `message`\n * (`required(path.email, { message: 'Enter your email.' })`), then\n * `validation.<key>` in the app's i18n catalog, interpolated with the error's\n * payload. A key none of them answers renders nothing, and dev mode says so once.\n *\n * @example\n * ```html\n * <wr-form-field label=\"Email\" hint=\"We'll never share it.\">\n * <input wrInput [formControl]=\"email\" type=\"email\" />\n * <wr-form-error key=\"required\">Email is required.</wr-form-error>\n * <wr-form-error key=\"email\">Not a valid email.</wr-form-error>\n * </wr-form-field>\n * ```\n *\n * @see https://ngwr.dev/reference/components/form-field\n */\n@Component({\n selector: 'wr-form-field',\n templateUrl: './form-field.html',\n encapsulation: ViewEncapsulation.None,\n host: { class: 'wr-form-field', '[class]': 'classes()' },\n providers: [\n {\n provide: WR_FORM_FIELD,\n // eslint-disable-next-line @angular-eslint/no-forward-ref\n useExisting: forwardRef(() => WrFormField),\n },\n ],\n})\nexport class WrFormField implements WrFormFieldContext, AfterContentChecked {\n /** Label text shown above the control. */\n readonly label = input<string>('');\n\n /** Hint text shown below the control. Hidden when an error is visible. */\n readonly hint = input<string>('');\n\n /** Show a `*` next to the label. @default false */\n readonly required = input(false, { transform: coerceBooleanProperty });\n\n /**\n * Show an \"optional\" marker next to the label — the word comes from\n * `optionalLabel`. Mutually exclusive with `required`. @default false\n */\n readonly optional = input(false, { transform: coerceBooleanProperty });\n\n /**\n * Word inside the optional marker's parentheses. Falls back to\n * `form.optional`, then `'optional'`. The parentheses are the template's, so\n * no locale has to repeat punctuation.\n */\n readonly optionalLabel = input<string | null>(null);\n\n // Unlike the `*` marker beside it, this one is NOT `aria-hidden` — it sits\n // inside the `<label>` and is read as part of the control's accessible name,\n // so an English word here reached a Russian screen reader.\n protected readonly resolvedOptional = useI18nText(this.optionalLabel, 'form.optional', 'optional');\n\n /**\n * Force a specific id on the label's `for` attribute. Auto-generated\n * otherwise, and adopted by the projected `wrInput` unless that element\n * already carries an `id` of its own.\n */\n readonly controlId = input<string>(`wr-form-field-${++uid}`);\n\n // What a projected control reported it actually kept. `null` until one does — most\n // controls simply adopt `controlId`, and only a control with its own `id` overrides\n // it from the other direction.\n private readonly adoptedId = signal<string | null>(null);\n\n /**\n * Id the `<label for>` renders. A control that came with its own `id` keeps it, so\n * the label follows that instead of the generated one — otherwise `for` points at\n * an element that is not in the document and the field is unlabelled.\n */\n protected readonly labelFor = computed(() => this.adoptedId() ?? this.controlId());\n\n /** @internal `WrFormFieldContext` — see the token's docs. */\n adoptControlId(id: string): void {\n this.adoptedId.set(id);\n }\n\n /**\n * Projected `NgControl` — used to read touched / dirty / errors.\n *\n * This catches `[formField]` too: Angular's Signal Forms directive provides\n * `NgControl` via its interop shim, so both forms flavours land here.\n */\n protected readonly ngControl = contentChild(NgControl);\n\n /**\n * Bumped on every event the projected control emits.\n *\n * `AbstractControl`'s `touched` / `dirty` / `errors` accessors are NOT\n * reactive under classic forms — Angular reads them inside `untracked()`, and\n * `errors` is a plain assigned field. A `computed` over them therefore caches\n * its first value and never recomputes, which in a zoneless app means the\n * error block never appears at all. `control.events` is the reactive source\n * Angular does expose, so the computed depends on this counter instead.\n * Signal Forms needs none of this — its interop getters read live signals —\n * and harmlessly contributes no events.\n *\n * Events are not the whole story, which is what {@link ngAfterContentChecked} is for.\n */\n private readonly revision = signal(0);\n\n /** What the last check saw on a reactive control — see {@link ngAfterContentChecked}. */\n private seen: {\n readonly errors: ValidationErrors | null;\n readonly touched: boolean;\n readonly dirty: boolean;\n } | null = null;\n\n /**\n * Catch the changes a reactive control makes WITHOUT an event.\n *\n * `updateValueAndValidity({ emitEvent: false })`, `markAsTouched({ emitEvent: false })`\n * and their siblings change `errors`, `touched` and `dirty` and emit nothing, so the\n * subscription above never hears them and the message stays whatever it was. That is\n * not only an app's own silent write: Angular reports a custom control's PARSE errors\n * to a `FormControl` exactly that way — a validator re-run with `emitEvent: false` —\n * so a `wr-date-picker` refusing typed text made its control invalid while the field\n * went on showing the message from before, or nothing — and a later pass of change\n * detection did not help, because the message was memoised on a revision only events\n * move.\n *\n * This runs whenever the view holding the field is checked, which is when the page\n * around the control changes — for the date picker, the moment its refusal turns\n * visible. It is `ngAfterContentChecked` and not `ngDoCheck` for an ordering reason\n * read out of Angular's `refreshView`: check hooks run BEFORE the view's effects, and\n * Angular's parse-error validator is re-run from an effect in that same view, so a\n * `DoCheck` saw the errors one pass late and lost the message whenever nothing\n * refreshed the view again. Content-checked hooks run after those effects and before\n * the field's own bindings. Only a change moves the revision.\n *\n * Signal Forms' interop control is skipped: it is reactive already, and its `errors`\n * getter builds a fresh object on every read, which a reference check would call a\n * change on every pass — and re-resolve every message with it.\n */\n ngAfterContentChecked(): void {\n const control = this.ngControl()?.control;\n if (!(control instanceof AbstractControl)) {\n this.seen = null;\n return;\n }\n const { errors, touched, dirty } = control;\n const seen = this.seen;\n if (seen?.errors === errors && seen.touched === touched && seen.dirty === dirty) return;\n this.seen = { errors, touched, dirty };\n // The first sighting is only the baseline: `errors` reads `ngControl()`, so the\n // message already recomputed when the control appeared.\n if (seen) this.revision.update(n => n + 1);\n }\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('form');\n let sub: Subscription | null = null;\n effect(() => {\n const control = this.ngControl()?.control;\n sub?.unsubscribe();\n sub = (control?.events ?? EMPTY).subscribe(() => this.revision.update(n => n + 1));\n });\n inject(DestroyRef).onDestroy(() => sub?.unsubscribe());\n }\n\n protected readonly errors = computed(() => {\n this.revision();\n const c = this.ngControl();\n if (!c) return null;\n if (!c.touched && !c.dirty) return null;\n return c.errors;\n });\n\n protected readonly hasError = computed(() => {\n const errs = this.errors();\n return !!errs && Object.keys(errs).length > 0;\n });\n\n /** @internal Read by the projected `<wr-form-error>` children to decide which of them renders. */\n readonly errorKeys = computed<readonly string[]>(() => Object.keys(this.errors() ?? {}));\n\n /** @internal Read by the projected control so a screen reader is pointed at the message. */\n readonly describedBy = computed(() => (this.hasError() ? `${this.controlId()}-errors` : null));\n\n /**\n * @internal Read by the projected control so the hint is announced with the field.\n *\n * The hint used to carry no id at all, so the only thing `aria-describedby`\n * could ever name was the error block: the sentence explaining what to type was\n * on screen and reached a screen-reader user through no path whatsoever, and\n * the one gate that could have said so does not exist — axe has no rule that\n * visible help text must be programmatically associated.\n *\n * `null` while an error is showing, because the template swaps the hint out for\n * the message; publishing the id anyway would point every control at an element\n * that had just left the document.\n */\n readonly hintId = computed(() => (!this.hasError() && this.hint() ? `${this.controlId()}-hint` : null));\n\n /** @internal `WrFormFieldContext` — the id a role-based control points `aria-labelledby` at. */\n readonly labelId = computed(() => (this.label() ? `${this.controlId()}-label` : null));\n\n /**\n * Render a message for any error the markup does not already answer: the\n * validator's own `message`, else `validation.<key>` from the app's i18n\n * catalog. ngwr ships no error texts, so a key neither of them answers renders\n * nothing, and dev mode warns once for it.\n *\n * On by default: a field with no `<wr-form-error>` at all is the common case.\n * Turn it off for a field whose copy is entirely hand-written. @default true\n */\n readonly autoErrors = input(true, { transform: coerceBooleanProperty });\n\n private readonly projectedErrors = contentChildren(WrFormError);\n private readonly i18n = inject(WrI18n, { optional: true });\n private readonly isServer = !isPlatformBrowser(inject(PLATFORM_ID));\n\n /** Error keys this field has already warned about — see {@link warnNoCopy}. */\n private readonly warned = new Set<string>();\n\n /**\n * Errors with no projected `<wr-form-error key>` to answer them, resolved to\n * text. Per-field markup always wins — it is the most specific thing the author\n * wrote — and a key nothing answers is left out rather than rendered empty.\n */\n protected readonly autoMessages = computed<readonly { key: string; text: string }[]>(() => {\n if (!this.autoErrors()) return [];\n const errors = this.errors();\n if (!errors) return [];\n\n const claimed = new Set(\n this.projectedErrors()\n .map(e => e.key())\n .filter(Boolean)\n );\n\n const messages: { key: string; text: string }[] = [];\n for (const [key, error] of Object.entries(errors)) {\n if (claimed.has(key)) continue;\n const text = this.resolve(key, error);\n if (text) messages.push({ key, text });\n else if (isDevMode()) untracked(() => this.warnNoCopy(key));\n }\n return messages;\n });\n\n private resolve(rawKey: string, rawError: unknown): string | null {\n const own = ownMessage(rawError);\n if (own) return own;\n\n // `t()` reads the service's revision signal, so this recomputes on a locale\n // switch and when a loader-backed catalog lands; a miss returns the key itself.\n // ngwr's own catalogs carry no `validation` namespace, so only the app answers.\n const { key, error } = normalizeError(rawKey, rawError);\n const translated = this.i18n?.t(`validation.${key}`, toParams(error));\n return translated && translated !== `validation.${key}` ? translated : null;\n }\n\n /**\n * Say once, in dev, that an error is showing with nothing to read.\n *\n * Nothing on screen gives it away: the field still goes red and the control is\n * still marked invalid, so an empty error block survives review. With no\n * built-in copy that is the ordinary state of a validator nobody wrote words\n * for, not an edge case. Once per field and key — and once per key on the\n * server, where every prerendered page builds its fields again. The catalog key\n * is the normalised one, the markup key the one the control reported, because\n * those are what each of the two reads.\n */\n private warnNoCopy(rawKey: string): void {\n if (this.warned.has(rawKey)) return;\n this.warned.add(rawKey);\n if (this.isServer) {\n if (warnedOnServer.has(rawKey)) return;\n warnedOnServer.add(rawKey);\n }\n\n const catalogKey = normalizeError(rawKey, undefined).key;\n const field = this.label() ? `\"${this.label()}\"` : `#${this.labelFor()}`;\n // eslint-disable-next-line no-console -- dev-mode validation\n console.warn(\n `[NGWR] <wr-form-field> ${field}: the \"${rawKey}\" error has no copy, so nothing is shown for it — ` +\n `ngwr ships no error texts. Supply one: { message } on the validator, \"validation.${catalogKey}\" ` +\n `in the app's i18n catalog, or <wr-form-error key=\"${rawKey}\"> inside the field.`\n );\n }\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.hasError()) parts.push('wr-form-field--invalid');\n if (this.required()) parts.push('wr-form-field--required');\n return parts.join(' ');\n });\n}\n","@if (label()) {\n <label class=\"wr-form-field__label\" [attr.id]=\"labelId()\" [attr.for]=\"labelFor()\">\n {{ label() }}\n @if (required()) {\n <span class=\"wr-form-field__required\" aria-hidden=\"true\">*</span>\n } @else if (optional()) {\n <span class=\"wr-form-field__optional\">({{ resolvedOptional() }})</span>\n }\n </label>\n}\n\n<div class=\"wr-form-field__control\"><ng-content /></div>\n\n@if (hasError()) {\n <div class=\"wr-form-field__errors\" [attr.id]=\"describedBy()\">\n <ng-content select=\"wr-form-error\" />\n @for (message of autoMessages(); track message.key) {\n <div class=\"wr-form-error wr-form-field__error\" role=\"alert\" [attr.data-key]=\"message.key\">\n {{ message.text }}\n </div>\n }\n </div>\n} @else if (hint()) {\n <small class=\"wr-form-field__hint\" [attr.id]=\"hintId()\">{{ hint() }}</small>\n}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { type Signal, computed, inject } from '@angular/core';\n\nimport { WR_FORM_FIELD } from './tokens';\n\n/** What {@link useFormFieldAria} hands a control to bind on its own element. */\nexport interface WrFormFieldAria {\n /**\n * Id of the field's message block while it is showing one, of its hint\n * otherwise, and `null` when it is showing neither.\n */\n readonly describedBy: Signal<string | null>;\n /** `'true'` while the field has a validation error, `null` otherwise. */\n readonly ariaInvalid: Signal<'true' | null>;\n /**\n * Id of the field's `<label>`, for a control `<label for>` cannot reach.\n *\n * `for` binds only to a LABELABLE element, so a control whose focusable part\n * is a `div` with a role gets nothing from it — measured, `wr-rating`,\n * `wr-knob` and `wr-file-upload` all rendered a field label whose `for` named\n * no element in the document. Point `aria-labelledby` at this instead; a\n * control that IS labelable should ignore it and let `for` do the work, or the\n * name is announced twice.\n */\n readonly labelledBy: Signal<string | null>;\n}\n\n/**\n * The two attributes that make a `<wr-form-field>`'s visible text — its error\n * message, or its hint — reach a screen reader. Bind both on whichever element\n * carries the control's role.\n *\n * Without them the copy the field renders is visible and nothing else: the\n * control announces itself as valid, and the text is associated with nothing.\n * No automated gate catches that — axe has no rule that a visible error or hint\n * must be programmatically associated with its control — so this helper exists\n * to make the wiring one line per control rather than three, and the specs are\n * the gate.\n *\n * The field renders an error OR a hint, never both, so `describedBy` names\n * whichever is on screen and `aria-invalid` is keyed SEPARATELY, on the field's\n * `errorKeys()`. Deriving it from `describedBy` instead — which is what every\n * control did while a hint had no id to name — makes a field with a plain hint\n * announce its control as invalid the moment the hint becomes describable.\n *\n * Must be called from an injection context (a field initialiser or a\n * constructor). Returns inert signals outside a `<wr-form-field>`.\n *\n * Pass `skipSelf` from a COMPOSITE control — one whose own template renders\n * other ngwr controls. Such a component shields its subtree by re-providing\n * `WR_FORM_FIELD` as `null`, or the inner parts each announce the outer field's\n * error as their own; a component sees its own providers, so it has to read the\n * real field from one level up.\n *\n * @example\n * ```ts\n * protected readonly fieldAria = useFormFieldAria();\n * ```\n * ```html\n * <input [attr.aria-invalid]=\"fieldAria.ariaInvalid()\" [attr.aria-describedby]=\"fieldAria.describedBy()\" />\n * ```\n */\nexport function useFormFieldAria(options?: { readonly skipSelf?: boolean }): WrFormFieldAria {\n const field = inject(WR_FORM_FIELD, { optional: true, skipSelf: options?.skipSelf ?? false });\n return {\n // `hintId` is optional on the interface so an app-provided field keeps\n // compiling; one without it describes nothing but its errors, as before.\n describedBy: computed(() => field?.describedBy() ?? field?.hintId?.() ?? null),\n ariaInvalid: computed<'true' | null>(() => ((field?.errorKeys().length ?? 0) > 0 ? 'true' : null)),\n // `null` for a control that `<label for>` already reaches — pointing at the\n // same label twice would name it twice. Only the role-based controls read\n // this, and only because `for` cannot bind to a role.\n labelledBy: computed(() => field?.labelId?.() ?? null),\n };\n}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { createMetadataKey } from '@angular/forms/signals';\n\n/**\n * How a field is DRAWN, attached to the same Signal Forms schema that already\n * says how it is validated.\n *\n * The alternative was a second schema — one for rules, one for presentation —\n * and it was rejected before it was written: two descriptions of one form drift\n * the moment someone renames a field in one of them, and nothing would report\n * it. Angular's `metadata()` takes a typed key and a `LogicFn`, so the\n * presentation rides on the schema the validators are already in, and it is\n * REACTIVE for free: a label, a set of options or a placeholder may depend on\n * the value of another field.\n *\n * What this deliberately does NOT carry: `required`, `disabled`, `readonly`,\n * `hidden`, `min`, `max`, and every validation rule. Those are Angular's own\n * schema functions, they already drive the control through `[formField]`, and\n * duplicating them here would create a second source of truth for state the form\n * already owns. That is not only a judgement call — Angular REFUSES a `[min]` or\n * `[required]` binding on a field-bound control (NG8022), so the second source\n * of truth is a compile error rather than a drift.\n */\nexport type WrFieldKind =\n | 'input'\n | 'textarea'\n | 'number'\n | 'select'\n | 'multiselect'\n | 'tags'\n | 'checkbox'\n | 'switch'\n | 'radio'\n | 'segmented'\n | 'date'\n | 'daterange'\n | 'slider'\n | 'rating'\n | 'file'\n | 'array';\n\n/** One choice, for the kinds that offer a list. */\nexport interface WrFieldOption {\n readonly value: unknown;\n readonly label: string;\n readonly disabled?: boolean;\n}\n\n/**\n * A titled group of fields, drawn as a `<fieldset>` with a `<legend>`.\n *\n * Fields that name the same `title` are drawn together, where the first of them\n * stands in the model's key order. The description and the column count come\n * from the first field that states them.\n */\nexport interface WrFieldSection {\n readonly title: string;\n /** A line under the title, announced as the group's description. */\n readonly description?: string;\n /** Grid columns inside the section. Defaults to the form's own `columns`. */\n readonly columns?: number;\n}\n\n/**\n * The presentation of one field.\n *\n * `kind` is the only required member: everything else has a sane default, and a\n * schema that says no more than `{ kind: 'input' }` still renders a labelled,\n * error-bound control — the label falls back to the field's own name.\n */\nexport interface WrFieldSpec {\n readonly kind: WrFieldKind;\n /** Defaults to the field's key, de-camel-cased — `workEmail` becomes \"Work email\". */\n readonly label?: string;\n readonly placeholder?: string;\n /** Help text under the control. Errors replace it while the field is invalid. */\n readonly hint?: string;\n /** For `select`, `multiselect`, `radio` and `segmented`. Ignored by every other kind. */\n readonly options?: readonly WrFieldOption[];\n /** Native `type` for `kind: 'input'` — `email`, `password`, `url`, `tel`. */\n readonly type?: string;\n /**\n * Granularity for `number` and `slider`. The BOUNDS are deliberately absent:\n * Angular refuses a `[min]` or `[max]` binding on a `[formField]`-bound\n * control outright (NG8022), because the field owns them — write `min(path.x,\n * 18)` in the schema and the control picks it up. `step` is presentation, has\n * no schema function, and stays here.\n */\n readonly step?: number;\n /**\n * Columns this field spans in `<wr-schema-form>`'s grid. Clamped to the form's\n * own `columns`, and 1 by default — a field is one cell unless it asks to be\n * wider.\n */\n readonly span?: number;\n /**\n * The section this field is drawn in: a title, or a title with a description\n * and its own column count. A field with none is drawn straight on the form's\n * grid.\n */\n readonly section?: string | WrFieldSection;\n /** For `file`: accept several files, so the field holds `File[]` rather than `File | null`. */\n readonly multiple?: boolean;\n /** For `file`: the native `accept` list, e.g. `'image/*,.pdf'`. */\n readonly accept?: string;\n /**\n * For `array`: the value a new item starts as. It is what draws the Add\n * button, and an array with no `item` is a fixed list whose items can only be\n * removed. Describe the item's own fields with `applyEach(path.x, item => …)`,\n * and bound the list with `minLength` and `maxLength` on the array itself.\n */\n readonly item?: () => unknown;\n /**\n * For `array`: what one item is called, numbered in the item's heading:\n * \"Address 2\". Defaults to the field's label.\n */\n readonly itemLabel?: string;\n /** For `array`: grid columns inside each item. Defaults to 1. */\n readonly columns?: number;\n}\n\n/**\n * The metadata key `<wr-schema-form>` reads.\n *\n * ```ts\n * const userSchema = schema<User>(path => {\n * required(path.email, { message: 'Enter your email.' });\n * email(path.email, { message: 'That is not an email address.' });\n * metadata(path.email, WR_FIELD, () => ({ kind: 'input', type: 'email', label: 'Work email' }));\n * metadata(path.role, WR_FIELD, () => ({ kind: 'select', options: ROLES }));\n *\n * // A repeating group: the array is described once, its items through `applyEach`.\n * metadata(path.addresses, WR_FIELD, () => ({ kind: 'array', item: () => ({ city: '' }) }));\n * applyEach(path.addresses, item => {\n * metadata(item.city, WR_FIELD, () => ({ kind: 'input' }));\n * });\n * });\n * ```\n *\n * A field with no `WR_FIELD` metadata is not an error and is not guessed at —\n * `<wr-schema-form>` skips it, so a schema can describe more than one screen shows.\n */\nexport const WR_FIELD = createMetadataKey<WrFieldSpec>();\n\n/** `workEmail` -> `Work email`. The fallback label, and only ever a fallback. */\nexport function wrFieldLabel(key: string): string {\n const spaced = key.replace(/([a-z\\d])([A-Z])/g, '$1 $2').replace(/[_-]+/g, ' ');\n return spaced.charAt(0).toUpperCase() + spaced.slice(1).toLowerCase();\n}\n"],"mappings":";;;;;;;;;;;;;;;AAmCA,IAAa,aAAb,MAAa,WAAU;CACrB,cAAA;EACE,IAAI,OAAO,cAAc,eAAe,WAAW,cAAc,MAAM;CACzE;CAOS,WAAW,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAqB,CAAA;CAEhD,UAAU,eAAc;EACzC,MAAM,QAAkB,CAAA;EACxB,IAAI,KAAK,SAAQ,GAAI,MAAM,KAAK,qBAAqB;EACrD,OAAO,MAAM,KAAK,GAAG;CACvB,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAhBS,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAU,MAAA,CAAA;EAAA,QAAA,G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AAC,UAAU,KAAK,IAAI,SAAS,IAAK;EAIjG,YAAY,eAAe,OAAO,UAAS,KAAM,IAAI;CACtD;AACH;;;;;;;ACoEA,MAAa,WAAW,kBAAiB;AAGzC,SAAgB,aAAa,KAAW;CACtC,MAAM,SAAS,IAAI,QAAQ,qBAAqB,OAAO,CAAC,CAAC,QAAQ,UAAU,GAAG;CAC9E,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,YAAW,IAAK,OAAO,MAAM,CAAC,CAAC,CAAC,YAAW;AACrE"}
1
+ {"version":3,"file":"ngwr-form.mjs","names":[],"sources":["../../../projects/lib/form/form.ts","../../../projects/lib/form/form-item.ts","../../../projects/lib/form/tokens.ts","../../../projects/lib/form/form-field.ts","../../../projects/lib/form/form-field.html","../../../projects/lib/form/field-aria.ts","../../../projects/lib/form/schema.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { Directive, computed, input } from '@angular/core';\n\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/**\n * Lays out the fields of a form: a column with a gap by default, a wrapping\n * row with `inline`, or rows of `columns` equal columns that fall back to one\n * column when the form itself is narrow.\n *\n * @example\n * ```html\n * <form wrForm columns=\"2\">\n * <wr-form-field label=\"First name\"><input wrInput /></wr-form-field>\n * <wr-form-field label=\"Last name\"><input wrInput /></wr-form-field>\n * <wr-form-field label=\"Email\" wrFormSpan><input wrInput /></wr-form-field>\n * </form>\n * ```\n *\n * @see https://ngwr.dev/reference/components/form\n */\n@Directive({\n selector: '[wrForm]',\n host: {\n class: 'wr-form',\n '[class.wr-form--inline]': 'inline()',\n '[class.wr-form--columns]': 'grid()',\n '[style.--wr-form-columns]': 'columns()',\n },\n})\nexport class WrForm {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('form');\n }\n\n /**\n * Lay the fields out in a wrapping row, aligned on their bottom edge.\n * `columns` is ignored.\n *\n * @default false\n */\n readonly inline = input(false, { transform: coerceBooleanProperty });\n\n /**\n * How many equal columns a row holds. Below a form width of `30rem` every\n * field takes a full row.\n *\n * @default 1\n */\n readonly columns = input(1, {\n transform: (value: unknown): number => Math.max(1, Math.floor(coerceNumberProperty(value, 1))),\n });\n\n protected readonly grid = computed(() => !this.inline() && this.columns() > 1);\n}\n\n/**\n * Stretches a child of `[wrForm]` over several columns: all of them with no\n * value, or the given number.\n *\n * @example\n * ```html\n * <wr-form-field label=\"Address\" wrFormSpan=\"2\"><input wrInput /></wr-form-field>\n * ```\n *\n * @see https://ngwr.dev/reference/components/form\n */\n@Directive({\n selector: '[wrFormSpan]',\n host: { class: 'wr-form__span', '[style.--wr-form-span]': 'track()' },\n})\nexport class WrFormSpan {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('form');\n }\n\n /**\n * Columns to span. Empty or `'full'` takes the whole row.\n *\n * @default 'full'\n */\n readonly span = input<number | 'full', unknown>('full', {\n alias: 'wrFormSpan',\n transform: value => {\n const count = Math.floor(coerceNumberProperty(value, 0));\n return count >= 1 ? count : 'full';\n },\n });\n\n protected readonly track = computed(() => {\n const span = this.span();\n return span === 'full' ? '1 / -1' : `span ${span}`;\n });\n}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/**\n * Wraps a label + control + error message into a single field row.\n *\n * Toggle `hasError` to apply error styling to the projected label and\n * any descendant input / textarea / checkbox.\n *\n * @example\n * ```html\n * <wr-form-item [hasError]=\"form.controls.email.invalid\">\n * <label>Email</label>\n * <input wrInput formControlName=\"email\" />\n * <wr-form-error>Invalid email</wr-form-error>\n * </wr-form-item>\n * ```\n *\n * @see https://ngwr.dev/reference/components/form\n */\n@Component({\n selector: 'wr-form-item',\n template: '<ng-content />',\n encapsulation: ViewEncapsulation.None,\n host: { class: 'wr-form-item', '[class]': 'classes()' },\n})\nexport class WrFormItem {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('form');\n }\n\n /**\n * When `true`, applies error coloring to the projected label and inputs.\n *\n * @default false\n */\n readonly hasError = input(false, { transform: coerceBooleanProperty });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.hasError()) parts.push('wr-form-item--error');\n return parts.join(' ');\n });\n}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { InjectionToken, type Signal } from '@angular/core';\n\n/**\n * What a projected control can read from its surrounding `<wr-form-field>`.\n *\n * The field renders `<label [for]>` before it can see what was projected into\n * it, so the id has to travel the other way: the control adopts the id the\n * label already points at. Doing it through DI keeps it a render-time binding,\n * which is what SSR needs — stamping the id from `afterNextRender` would leave\n * every prerendered page with a label pointing at nothing.\n */\nexport interface WrFormFieldContext {\n /** Id the field's `<label for>` points at. */\n readonly controlId: Signal<string>;\n\n /**\n * The reverse direction, for the one case the paragraph above does not cover: a\n * projected control that already carries its own `id` keeps it, and the label has\n * to follow, or `for` names an element that does not exist and the field ends up\n * with no label at all. Called during the control's construction, so the label's\n * binding still resolves in the same render pass.\n */\n adoptControlId(id: string): void;\n\n /**\n * Validator keys currently in error, once the control is touched or dirty.\n * Empty when the field is valid or has not been interacted with.\n */\n readonly errorKeys: Signal<readonly string[]>;\n\n /** Id of the element listing the visible messages, or `null` when there are none. */\n readonly describedBy: Signal<string | null>;\n\n /**\n * Id of the field's own `<label>`, or `null` when it renders none.\n *\n * For the controls `<label for>` cannot reach. `for` only binds to a LABELABLE\n * element — button, input, meter, output, progress, select, textarea — so a\n * control whose focusable part is a `div[role=\"slider\"]`, a `role=\"button\"`\n * drop zone or a radiogroup got a label pointing at nothing: measured, five of\n * the eighteen value controls resolved `for` to no element in the document at\n * all. Those point `aria-labelledby` back at this instead, which is the\n * direction that works for a role.\n */\n readonly labelId?: Signal<string | null>;\n\n /**\n * Id of the field's hint, or `null` when it is showing none — including while\n * an error has replaced it, since the two never render together and an\n * `aria-describedby` naming an absent element is an author error.\n *\n * Separate from {@link describedBy} rather than folded into it because the two\n * carry different weight: a control keyed `aria-invalid` on \"the field is\n * describing me\" would announce itself invalid for a plain hint. Compose the\n * pair with `useFormFieldAria()` instead of reading either one directly.\n *\n * Optional so an app that provides its own `WR_FORM_FIELD` keeps compiling; a\n * field without it simply describes nothing but its errors.\n */\n readonly hintId?: Signal<string | null>;\n\n /**\n * Whether the field is marked `required`. Read through `useFormFieldAria()` as\n * `aria-required`. Optional so an app that provides its own `WR_FORM_FIELD`\n * keeps compiling.\n */\n readonly required?: Signal<boolean>;\n}\n\n/** Present only inside a `<wr-form-field>`; inject with `{ optional: true }`. */\nexport const WR_FORM_FIELD = new InjectionToken<WrFormFieldContext>('WR_FORM_FIELD');\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n type AfterContentChecked,\n PLATFORM_ID,\n ViewEncapsulation,\n computed,\n contentChild,\n contentChildren,\n effect,\n forwardRef,\n inject,\n input,\n isDevMode,\n signal,\n untracked,\n} from '@angular/core';\nimport { AbstractControl, NgControl, type ValidationErrors } from '@angular/forms';\n\nimport { EMPTY, type Subscription } from 'rxjs';\n\nimport { WrI18n, useI18nText } from 'ngwr/i18n';\nimport { wrCheckStyles } from 'ngwr/utils';\n\nimport { WR_FORM_FIELD, type WrFormFieldContext } from './tokens';\n\nlet uid = 0;\n\n/**\n * Error keys already reported on the server. Every prerendered route and every\n * request builds its fields afresh, so the per-field memo alone would repeat one\n * warning per page; the browser keeps it per field, where it names the field the\n * developer is looking at.\n */\nconst warnedOnServer = new Set<string>();\n\n/** Validator payloads are plain objects; anything else interpolates nothing. */\nfunction toParams(error: unknown): Record<string, unknown> | undefined {\n return error && typeof error === 'object' ? (error as Record<string, unknown>) : undefined;\n}\n\n/**\n * The sentence the validator carries itself, or `null`.\n *\n * Signal Forms validators take `{ message }` and keep it on the error object, and\n * the interop `NgControl` this field reads lists that object AS IS under its\n * `kind` (`signalErrorsToValidationErrors` in `@angular/forms`), so the message\n * arrives here untouched. A custom control's parse errors take the same road in\n * both forms flavours, which is how a `wr-date-picker` refusal is read. A classic\n * validator's payload has no `message` unless the app put one there.\n */\nfunction ownMessage(error: unknown): string | null {\n const message = toParams(error)?.['message'];\n return typeof message === 'string' && message.trim() !== '' ? message : null;\n}\n\n/**\n * The two Signal Forms kinds whose spelling and payload differ from the classic\n * validator that means the same thing.\n *\n * Reactive forms emit `minlength` / `maxlength` carrying `requiredLength`;\n * Signal Forms emit `minLength` / `maxLength` carrying `minLength` / `maxLength`.\n * Restated before the catalog lookup so one `validation.minlength` entry in an\n * app's catalog answers both spellings, with `{{requiredLength}}` filled either\n * way — the message is the SAME message, one sentence about a length reached by\n * two spellings of one rule, and asking every app for two keys would only get\n * one of them written.\n */\nconst SIGNAL_FORMS_ALIASES: Readonly<Record<string, { readonly key: string; readonly from: string }>> = {\n minLength: { key: 'minlength', from: 'minLength' },\n maxLength: { key: 'maxlength', from: 'maxLength' },\n};\n\n/**\n * A Signal Forms length error, restated in the classic shape the catalog lookup\n * reads. Anything else passes through untouched.\n */\nfunction normalizeError(key: string, error: unknown): { readonly key: string; readonly error: unknown } {\n const alias = SIGNAL_FORMS_ALIASES[key];\n if (!alias) return { key, error };\n\n const params = toParams(error);\n const bound = params?.[alias.from];\n return {\n key: alias.key,\n error: bound === undefined ? error : { ...params, requiredLength: bound },\n };\n}\n\n/**\n * One error message tied to a validator key. Renders only when the parent\n * form-field has a matching error in `control.errors`, and only once the\n * control is touched or dirty.\n *\n * A keyed message CLAIMS its key: the field renders no automatic message for it,\n * so per-field markup wins over the validator's own `message` and over the app's\n * `validation.*` catalog.\n *\n * @example\n * ```html\n * <wr-form-error key=\"required\">This field is required.</wr-form-error>\n * <wr-form-error key=\"email\">That doesn't look right.</wr-form-error>\n * ```\n */\n@Component({\n selector: 'wr-form-error',\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-form-error wr-form-field__error',\n role: 'alert',\n '[attr.data-key]': 'key() ?? null',\n '[class.wr-form-field__error--hidden]': '!visible()',\n },\n})\nexport class WrFormError {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('form');\n }\n\n /**\n * Validator key this message corresponds to (e.g. `'required'`).\n * Optional — without a key the message always renders, which is the\n * plain inline-error usage inside `<wr-form-item>`.\n */\n readonly key = input<string>();\n\n private readonly field = inject(WR_FORM_FIELD, { optional: true });\n\n /**\n * Whether this message is the one the current error calls for.\n *\n * The parent projects every `<wr-form-error>` through a single\n * `<ng-content select>`, which cannot filter — so each message decides for\n * itself. Without this, one invalid control rendered \"Email is required.\"\n * and \"That isn't a valid email.\" side by side, which is what the docs have\n * always described as gated behaviour.\n *\n * A keyless message always shows: that is the plain inline-error usage inside\n * `<wr-form-item>`, which has no error discovery at all.\n */\n protected readonly visible = computed(() => {\n const key = this.key();\n if (!key || !this.field) return true;\n return this.field.errorKeys().includes(key);\n });\n}\n\n/**\n * Wraps a label + control + hint + error messages into a single block —\n * the layout primitive every form ends up reinventing.\n *\n * - Auto-binds `label[for]` to the projected control via a generated id\n * (or use the form-control's `[id]` if you set one).\n * - Reads the projected control's `NgControl` to surface validation\n * errors only once the control is touched or dirty. A submit shows them\n * only by marking the controls touched, as `markAllAsTouched()` and Signal\n * Forms' `submit()` do.\n * - Optional `[required]` / `[optional]` markers next to the label.\n *\n * **ngwr ships no error texts.** Each error shows the first copy that exists for\n * it: a projected `<wr-form-error key>`, then the validator's own `message`\n * (`required(path.email, { message: 'Enter your email.' })`), then\n * `validation.<key>` in the app's i18n catalog, interpolated with the error's\n * payload. A key none of them answers renders nothing, and dev mode says so once.\n *\n * @example\n * ```html\n * <wr-form-field label=\"Email\" hint=\"We'll never share it.\">\n * <input wrInput [formControl]=\"email\" type=\"email\" />\n * <wr-form-error key=\"required\">Email is required.</wr-form-error>\n * <wr-form-error key=\"email\">Not a valid email.</wr-form-error>\n * </wr-form-field>\n * ```\n *\n * @see https://ngwr.dev/reference/components/form-field\n */\n@Component({\n selector: 'wr-form-field',\n templateUrl: './form-field.html',\n encapsulation: ViewEncapsulation.None,\n host: { class: 'wr-form-field', '[class]': 'classes()' },\n providers: [\n {\n provide: WR_FORM_FIELD,\n // eslint-disable-next-line @angular-eslint/no-forward-ref\n useExisting: forwardRef(() => WrFormField),\n },\n ],\n})\nexport class WrFormField implements WrFormFieldContext, AfterContentChecked {\n /** Label text shown above the control. */\n readonly label = input<string>('');\n\n /** Hint text shown below the control. Hidden when an error is visible. */\n readonly hint = input<string>('');\n\n /** Show a `*` next to the label and set `aria-required` on the projected control. @default false */\n readonly required = input(false, { transform: coerceBooleanProperty });\n\n /**\n * Show an \"optional\" marker next to the label — the word comes from\n * `optionalLabel`. Mutually exclusive with `required`. @default false\n */\n readonly optional = input(false, { transform: coerceBooleanProperty });\n\n /**\n * Word inside the optional marker's parentheses. Falls back to\n * `form.optional`, then `'optional'`. The parentheses are the template's, so\n * no locale has to repeat punctuation.\n */\n readonly optionalLabel = input<string | null>(null);\n\n // Unlike the `*` marker beside it, this one is NOT `aria-hidden` — it sits\n // inside the `<label>` and is read as part of the control's accessible name,\n // so an English word here reached a Russian screen reader.\n protected readonly resolvedOptional = useI18nText(this.optionalLabel, 'form.optional', 'optional');\n\n /**\n * Force a specific id on the label's `for` attribute. Auto-generated\n * otherwise, and adopted by the projected `wrInput` unless that element\n * already carries an `id` of its own.\n */\n readonly controlId = input<string>(`wr-form-field-${++uid}`);\n\n // What a projected control reported it actually kept. `null` until one does — most\n // controls simply adopt `controlId`, and only a control with its own `id` overrides\n // it from the other direction.\n private readonly adoptedId = signal<string | null>(null);\n\n /**\n * Id the `<label for>` renders. A control that came with its own `id` keeps it, so\n * the label follows that instead of the generated one — otherwise `for` points at\n * an element that is not in the document and the field is unlabelled.\n */\n protected readonly labelFor = computed(() => this.adoptedId() ?? this.controlId());\n\n /** @internal `WrFormFieldContext` — see the token's docs. */\n adoptControlId(id: string): void {\n this.adoptedId.set(id);\n }\n\n /**\n * Projected `NgControl` — used to read touched / dirty / errors.\n *\n * This catches `[formField]` too: Angular's Signal Forms directive provides\n * `NgControl` via its interop shim, so both forms flavours land here.\n */\n protected readonly ngControl = contentChild(NgControl);\n\n /**\n * Bumped on every event the projected control emits.\n *\n * `AbstractControl`'s `touched` / `dirty` / `errors` accessors are NOT\n * reactive under classic forms — Angular reads them inside `untracked()`, and\n * `errors` is a plain assigned field. A `computed` over them therefore caches\n * its first value and never recomputes, which in a zoneless app means the\n * error block never appears at all. `control.events` is the reactive source\n * Angular does expose, so the computed depends on this counter instead.\n * Signal Forms needs none of this — its interop getters read live signals —\n * and harmlessly contributes no events.\n *\n * Events are not the whole story, which is what {@link ngAfterContentChecked} is for.\n */\n private readonly revision = signal(0);\n\n /** What the last check saw on a reactive control — see {@link ngAfterContentChecked}. */\n private seen: {\n readonly errors: ValidationErrors | null;\n readonly touched: boolean;\n readonly dirty: boolean;\n } | null = null;\n\n /**\n * Catch the changes a reactive control makes WITHOUT an event.\n *\n * `updateValueAndValidity({ emitEvent: false })`, `markAsTouched({ emitEvent: false })`\n * and their siblings change `errors`, `touched` and `dirty` and emit nothing, so the\n * subscription above never hears them and the message stays whatever it was. That is\n * not only an app's own silent write: Angular reports a custom control's PARSE errors\n * to a `FormControl` exactly that way — a validator re-run with `emitEvent: false` —\n * so a `wr-date-picker` refusing typed text made its control invalid while the field\n * went on showing the message from before, or nothing — and a later pass of change\n * detection did not help, because the message was memoised on a revision only events\n * move.\n *\n * This runs whenever the view holding the field is checked, which is when the page\n * around the control changes — for the date picker, the moment its refusal turns\n * visible. It is `ngAfterContentChecked` and not `ngDoCheck` for an ordering reason\n * read out of Angular's `refreshView`: check hooks run BEFORE the view's effects, and\n * Angular's parse-error validator is re-run from an effect in that same view, so a\n * `DoCheck` saw the errors one pass late and lost the message whenever nothing\n * refreshed the view again. Content-checked hooks run after those effects and before\n * the field's own bindings. Only a change moves the revision.\n *\n * Signal Forms' interop control is skipped: it is reactive already, and its `errors`\n * getter builds a fresh object on every read, which a reference check would call a\n * change on every pass — and re-resolve every message with it.\n */\n ngAfterContentChecked(): void {\n const control = this.ngControl()?.control;\n if (!(control instanceof AbstractControl)) {\n this.seen = null;\n return;\n }\n const { errors, touched, dirty } = control;\n const seen = this.seen;\n if (seen?.errors === errors && seen.touched === touched && seen.dirty === dirty) return;\n this.seen = { errors, touched, dirty };\n // The first sighting is only the baseline: `errors` reads `ngControl()`, so the\n // message already recomputed when the control appeared.\n if (seen) this.revision.update(n => n + 1);\n }\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('form');\n let sub: Subscription | null = null;\n effect(() => {\n const control = this.ngControl()?.control;\n sub?.unsubscribe();\n sub = (control?.events ?? EMPTY).subscribe(() => this.revision.update(n => n + 1));\n });\n inject(DestroyRef).onDestroy(() => sub?.unsubscribe());\n }\n\n protected readonly errors = computed(() => {\n this.revision();\n const c = this.ngControl();\n if (!c) return null;\n if (!c.touched && !c.dirty) return null;\n return c.errors;\n });\n\n protected readonly hasError = computed(() => {\n const errs = this.errors();\n return !!errs && Object.keys(errs).length > 0;\n });\n\n /** @internal Read by the projected `<wr-form-error>` children to decide which of them renders. */\n readonly errorKeys = computed<readonly string[]>(() => Object.keys(this.errors() ?? {}));\n\n /** @internal Read by the projected control so a screen reader is pointed at the message. */\n readonly describedBy = computed(() => (this.hasError() ? `${this.controlId()}-errors` : null));\n\n /**\n * @internal Read by the projected control so the hint is announced with the field.\n *\n * The hint used to carry no id at all, so the only thing `aria-describedby`\n * could ever name was the error block: the sentence explaining what to type was\n * on screen and reached a screen-reader user through no path whatsoever, and\n * the one gate that could have said so does not exist — axe has no rule that\n * visible help text must be programmatically associated.\n *\n * `null` while an error is showing, because the template swaps the hint out for\n * the message; publishing the id anyway would point every control at an element\n * that had just left the document.\n */\n readonly hintId = computed(() => (!this.hasError() && this.hint() ? `${this.controlId()}-hint` : null));\n\n /** @internal `WrFormFieldContext` — the id a role-based control points `aria-labelledby` at. */\n readonly labelId = computed(() => (this.label() ? `${this.controlId()}-label` : null));\n\n /**\n * Render a message for any error the markup does not already answer: the\n * validator's own `message`, else `validation.<key>` from the app's i18n\n * catalog. ngwr ships no error texts, so a key neither of them answers renders\n * nothing, and dev mode warns once for it.\n *\n * On by default: a field with no `<wr-form-error>` at all is the common case.\n * Turn it off for a field whose copy is entirely hand-written. @default true\n */\n readonly autoErrors = input(true, { transform: coerceBooleanProperty });\n\n private readonly projectedErrors = contentChildren(WrFormError);\n private readonly i18n = inject(WrI18n, { optional: true });\n private readonly isServer = !isPlatformBrowser(inject(PLATFORM_ID));\n\n /** Error keys this field has already warned about — see {@link warnNoCopy}. */\n private readonly warned = new Set<string>();\n\n /**\n * Errors with no projected `<wr-form-error key>` to answer them, resolved to\n * text. Per-field markup always wins — it is the most specific thing the author\n * wrote — and a key nothing answers is left out rather than rendered empty.\n */\n protected readonly autoMessages = computed<readonly { key: string; text: string }[]>(() => {\n if (!this.autoErrors()) return [];\n const errors = this.errors();\n if (!errors) return [];\n\n const claimed = new Set(\n this.projectedErrors()\n .map(e => e.key())\n .filter(Boolean)\n );\n\n const messages: { key: string; text: string }[] = [];\n for (const [key, error] of Object.entries(errors)) {\n if (claimed.has(key)) continue;\n const text = this.resolve(key, error);\n if (text) messages.push({ key, text });\n else if (isDevMode()) untracked(() => this.warnNoCopy(key));\n }\n return messages;\n });\n\n private resolve(rawKey: string, rawError: unknown): string | null {\n const own = ownMessage(rawError);\n if (own) return own;\n\n // `t()` reads the service's revision signal, so this recomputes on a locale\n // switch and when a loader-backed catalog lands; a miss returns the key itself.\n // ngwr's own catalogs carry no `validation` namespace, so only the app answers.\n const { key, error } = normalizeError(rawKey, rawError);\n const translated = this.i18n?.t(`validation.${key}`, toParams(error));\n return translated && translated !== `validation.${key}` ? translated : null;\n }\n\n /**\n * Say once, in dev, that an error is showing with nothing to read.\n *\n * Nothing on screen gives it away: the field still goes red and the control is\n * still marked invalid, so an empty error block survives review. With no\n * built-in copy that is the ordinary state of a validator nobody wrote words\n * for, not an edge case. Once per field and key — and once per key on the\n * server, where every prerendered page builds its fields again. The catalog key\n * is the normalised one, the markup key the one the control reported, because\n * those are what each of the two reads.\n */\n private warnNoCopy(rawKey: string): void {\n if (this.warned.has(rawKey)) return;\n this.warned.add(rawKey);\n if (this.isServer) {\n if (warnedOnServer.has(rawKey)) return;\n warnedOnServer.add(rawKey);\n }\n\n const catalogKey = normalizeError(rawKey, undefined).key;\n const field = this.label() ? `\"${this.label()}\"` : `#${this.labelFor()}`;\n // eslint-disable-next-line no-console -- dev-mode validation\n console.warn(\n `[NGWR] <wr-form-field> ${field}: the \"${rawKey}\" error has no copy, so nothing is shown for it — ` +\n `ngwr ships no error texts. Supply one: { message } on the validator, \"validation.${catalogKey}\" ` +\n `in the app's i18n catalog, or <wr-form-error key=\"${rawKey}\"> inside the field.`\n );\n }\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.hasError()) parts.push('wr-form-field--invalid');\n if (this.required()) parts.push('wr-form-field--required');\n return parts.join(' ');\n });\n}\n","@if (label()) {\n <label class=\"wr-form-field__label\" [attr.id]=\"labelId()\" [attr.for]=\"labelFor()\">\n {{ label() }}\n @if (required()) {\n <span class=\"wr-form-field__required\" aria-hidden=\"true\">*</span>\n } @else if (optional()) {\n <span class=\"wr-form-field__optional\">({{ resolvedOptional() }})</span>\n }\n </label>\n}\n\n<div class=\"wr-form-field__control\"><ng-content /></div>\n\n@if (hasError()) {\n <div class=\"wr-form-field__errors\" [attr.id]=\"describedBy()\">\n <ng-content select=\"wr-form-error\" />\n @for (message of autoMessages(); track message.key) {\n <div class=\"wr-form-error wr-form-field__error\" role=\"alert\" [attr.data-key]=\"message.key\">\n {{ message.text }}\n </div>\n }\n </div>\n} @else if (hint()) {\n <small class=\"wr-form-field__hint\" [attr.id]=\"hintId()\">{{ hint() }}</small>\n}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { type Signal, computed, inject } from '@angular/core';\n\nimport { WR_FORM_FIELD } from './tokens';\n\n/** What {@link useFormFieldAria} hands a control to bind on its own element. */\nexport interface WrFormFieldAria {\n /**\n * Id of the field's message block while it is showing one, of its hint\n * otherwise, and `null` when it is showing neither.\n */\n readonly describedBy: Signal<string | null>;\n /** `'true'` while the field has a validation error, `null` otherwise. */\n readonly ariaInvalid: Signal<'true' | null>;\n /** `'true'` while the field is `required`, `null` otherwise. */\n readonly ariaRequired: Signal<'true' | null>;\n /**\n * Id of the field's `<label>`, for a control `<label for>` cannot reach.\n *\n * `for` binds only to a LABELABLE element, so a control whose focusable part\n * is a `div` with a role gets nothing from it — measured, `wr-rating`,\n * `wr-knob` and `wr-file-upload` all rendered a field label whose `for` named\n * no element in the document. Point `aria-labelledby` at this instead; a\n * control that IS labelable should ignore it and let `for` do the work, or the\n * name is announced twice.\n */\n readonly labelledBy: Signal<string | null>;\n}\n\n/**\n * The two attributes that make a `<wr-form-field>`'s visible text — its error\n * message, or its hint — reach a screen reader. Bind both on whichever element\n * carries the control's role.\n *\n * Without them the copy the field renders is visible and nothing else: the\n * control announces itself as valid, and the text is associated with nothing.\n * No automated gate catches that — axe has no rule that a visible error or hint\n * must be programmatically associated with its control — so this helper exists\n * to make the wiring one line per control rather than three, and the specs are\n * the gate.\n *\n * The field renders an error OR a hint, never both, so `describedBy` names\n * whichever is on screen and `aria-invalid` is keyed SEPARATELY, on the field's\n * `errorKeys()`. Deriving it from `describedBy` instead — which is what every\n * control did while a hint had no id to name — makes a field with a plain hint\n * announce its control as invalid the moment the hint becomes describable.\n *\n * Must be called from an injection context (a field initialiser or a\n * constructor). Returns inert signals outside a `<wr-form-field>`.\n *\n * Pass `skipSelf` from a COMPOSITE control — one whose own template renders\n * other ngwr controls. Such a component shields its subtree by re-providing\n * `WR_FORM_FIELD` as `null`, or the inner parts each announce the outer field's\n * error as their own; a component sees its own providers, so it has to read the\n * real field from one level up.\n *\n * @example\n * ```ts\n * protected readonly fieldAria = useFormFieldAria();\n * ```\n * ```html\n * <input [attr.aria-invalid]=\"fieldAria.ariaInvalid()\" [attr.aria-describedby]=\"fieldAria.describedBy()\" />\n * ```\n */\nexport function useFormFieldAria(options?: { readonly skipSelf?: boolean }): WrFormFieldAria {\n const field = inject(WR_FORM_FIELD, { optional: true, skipSelf: options?.skipSelf ?? false });\n return {\n // `hintId` is optional on the interface so an app-provided field keeps\n // compiling; one without it describes nothing but its errors, as before.\n describedBy: computed(() => field?.describedBy() ?? field?.hintId?.() ?? null),\n ariaInvalid: computed<'true' | null>(() => ((field?.errorKeys().length ?? 0) > 0 ? 'true' : null)),\n ariaRequired: computed<'true' | null>(() => (field?.required?.() ? 'true' : null)),\n // `null` for a control that `<label for>` already reaches — pointing at the\n // same label twice would name it twice. Only the role-based controls read\n // this, and only because `for` cannot bind to a role.\n labelledBy: computed(() => field?.labelId?.() ?? null),\n };\n}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { createMetadataKey } from '@angular/forms/signals';\n\n/**\n * How a field is DRAWN, attached to the same Signal Forms schema that already\n * says how it is validated.\n *\n * The alternative was a second schema — one for rules, one for presentation —\n * and it was rejected before it was written: two descriptions of one form drift\n * the moment someone renames a field in one of them, and nothing would report\n * it. Angular's `metadata()` takes a typed key and a `LogicFn`, so the\n * presentation rides on the schema the validators are already in, and it is\n * REACTIVE for free: a label, a set of options or a placeholder may depend on\n * the value of another field.\n *\n * What this deliberately does NOT carry: `required`, `disabled`, `readonly`,\n * `hidden`, `min`, `max`, and every validation rule. Those are Angular's own\n * schema functions, they already drive the control through `[formField]`, and\n * duplicating them here would create a second source of truth for state the form\n * already owns. That is not only a judgement call — Angular REFUSES a `[min]` or\n * `[required]` binding on a field-bound control (NG8022), so the second source\n * of truth is a compile error rather than a drift.\n */\nexport type WrFieldKind =\n | 'input'\n | 'textarea'\n | 'number'\n | 'select'\n | 'multiselect'\n | 'tags'\n | 'checkbox'\n | 'switch'\n | 'radio'\n | 'segmented'\n | 'date'\n | 'daterange'\n | 'slider'\n | 'rating'\n | 'file'\n | 'array';\n\n/** One choice, for the kinds that offer a list. */\nexport interface WrFieldOption {\n readonly value: unknown;\n readonly label: string;\n readonly disabled?: boolean;\n}\n\n/**\n * A titled group of fields, drawn as a `<fieldset>` with a `<legend>`.\n *\n * Fields that name the same `title` are drawn together, where the first of them\n * stands in the model's key order. The description and the column count come\n * from the first field that states them.\n */\nexport interface WrFieldSection {\n readonly title: string;\n /** A line under the title, announced as the group's description. */\n readonly description?: string;\n /** Grid columns inside the section. Defaults to the form's own `columns`. */\n readonly columns?: number;\n}\n\n/**\n * The presentation of one field.\n *\n * `kind` is the only required member: everything else has a sane default, and a\n * schema that says no more than `{ kind: 'input' }` still renders a labelled,\n * error-bound control — the label falls back to the field's own name.\n */\nexport interface WrFieldSpec {\n readonly kind: WrFieldKind;\n /** Defaults to the field's key, de-camel-cased — `workEmail` becomes \"Work email\". */\n readonly label?: string;\n readonly placeholder?: string;\n /** Help text under the control. Errors replace it while the field is invalid. */\n readonly hint?: string;\n /** For `select`, `multiselect`, `radio` and `segmented`. Ignored by every other kind. */\n readonly options?: readonly WrFieldOption[];\n /** Native `type` for `kind: 'input'` — `email`, `password`, `url`, `tel`. */\n readonly type?: string;\n /**\n * Granularity for `number` and `slider`. The BOUNDS are deliberately absent:\n * Angular refuses a `[min]` or `[max]` binding on a `[formField]`-bound\n * control outright (NG8022), because the field owns them — write `min(path.x,\n * 18)` in the schema and the control picks it up. `step` is presentation, has\n * no schema function, and stays here.\n */\n readonly step?: number;\n /**\n * Columns this field spans in `<wr-schema-form>`'s grid. Clamped to the form's\n * own `columns`, and 1 by default — a field is one cell unless it asks to be\n * wider.\n */\n readonly span?: number;\n /**\n * The section this field is drawn in: a title, or a title with a description\n * and its own column count. A field with none is drawn straight on the form's\n * grid.\n */\n readonly section?: string | WrFieldSection;\n /** For `file`: accept several files, so the field holds `File[]` rather than `File | null`. */\n readonly multiple?: boolean;\n /** For `file`: the native `accept` list, e.g. `'image/*,.pdf'`. */\n readonly accept?: string;\n /**\n * For `array`: the value a new item starts as. It is what draws the Add\n * button, and an array with no `item` is a fixed list whose items can only be\n * removed. Describe the item's own fields with `applyEach(path.x, item => …)`,\n * and bound the list with `minLength` and `maxLength` on the array itself.\n */\n readonly item?: () => unknown;\n /**\n * For `array`: what one item is called, numbered in the item's heading:\n * \"Address 2\". Defaults to the field's label.\n */\n readonly itemLabel?: string;\n /** For `array`: grid columns inside each item. Defaults to 1. */\n readonly columns?: number;\n}\n\n/**\n * The metadata key `<wr-schema-form>` reads.\n *\n * ```ts\n * const userSchema = schema<User>(path => {\n * required(path.email, { message: 'Enter your email.' });\n * email(path.email, { message: 'That is not an email address.' });\n * metadata(path.email, WR_FIELD, () => ({ kind: 'input', type: 'email', label: 'Work email' }));\n * metadata(path.role, WR_FIELD, () => ({ kind: 'select', options: ROLES }));\n *\n * // A repeating group: the array is described once, its items through `applyEach`.\n * metadata(path.addresses, WR_FIELD, () => ({ kind: 'array', item: () => ({ city: '' }) }));\n * applyEach(path.addresses, item => {\n * metadata(item.city, WR_FIELD, () => ({ kind: 'input' }));\n * });\n * });\n * ```\n *\n * A field with no `WR_FIELD` metadata is not an error and is not guessed at —\n * `<wr-schema-form>` skips it, so a schema can describe more than one screen shows.\n */\nexport const WR_FIELD = createMetadataKey<WrFieldSpec>();\n\n/** `workEmail` -> `Work email`. The fallback label, and only ever a fallback. */\nexport function wrFieldLabel(key: string): string {\n const spaced = key.replace(/([a-z\\d])([A-Z])/g, '$1 $2').replace(/[_-]+/g, ' ');\n return spaced.charAt(0).toUpperCase() + spaced.slice(1).toLowerCase();\n}\n"],"mappings":";;;;;;;;;;;;;;;AAqCA,IAAa,SAAb,MAAa,OAAM;CACjB,cAAA;EACE,IAAI,OAAO,cAAc,eAAe,WAAW,cAAc,MAAM;CACzE;CAQS,SAAS,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,SAAA,+BAAA,CAAA;EAAI,WAAW;CAAqB,CAAA;CAQxD,UAAU,MAAM,GAAC;EAAA,GAAA,YAAA,EAAA,WAAA,UAAA,+BAAA,CAAA;EACxB,YAAY,UAA2B,KAAK,IAAI,GAAG,KAAK,MAAM,qBAAqB,OAAO,CAAC,CAAC,CAAC;CAAC,CAAA;CAG7E,OAAO,eAAe,CAAC,KAAK,OAAM,KAAM,KAAK,QAAO,IAAK,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAvBnE,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAM,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAN,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAM,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,QAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,SAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,MAAA;GAAA,YAAA;IAAA,yBAAA;IAAA,0BAAA;IAAA,2BAAA;GAAA;GAAA,gBAAA;E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,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,SAAS,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBA6HF,WAAW,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;;;;;;;AExThE,SAAgB,iBAAiB,SAAyC;CACxE,MAAM,QAAQ,OAAO,eAAe;EAAE,UAAU;EAAM,UAAU,SAAS,YAAY;CAAK,CAAE;CAC5F,OAAO;EAGL,aAAa,eAAe,OAAO,YAAW,KAAM,OAAO,SAAQ,KAAM,IAAI;EAC7E,aAAa,gBAAgC,OAAO,UAAS,CAAE,CAAC,UAAU,KAAK,IAAI,SAAS,IAAK;EACjG,cAAc,eAA+B,OAAO,WAAU,IAAK,SAAS,IAAK;EAIjF,YAAY,eAAe,OAAO,UAAS,KAAM,IAAI;CACtD;AACH;;;;;;;ACiEA,MAAa,WAAW,kBAAiB;AAGzC,SAAgB,aAAa,KAAW;CACtC,MAAM,SAAS,IAAI,QAAQ,qBAAqB,OAAO,CAAC,CAAC,QAAQ,UAAU,GAAG;CAC9E,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,YAAW,IAAK,OAAO,MAAM,CAAC,CAAC,CAAC,YAAW;AACrE"}
@@ -494,6 +494,21 @@ const wrAr = {
494
494
  marquee: {
495
495
  pause: "إيقاف مؤقت",
496
496
  play: "تشغيل"
497
+ },
498
+ httpError: {
499
+ network: "لا يوجد اتصال بالخادم. تحقق من الشبكة وحاول مرة أخرى.",
500
+ 400: "لم يقبل الخادم البيانات. تحقق من الحقول.",
501
+ 401: "انتهت جلستك. سجّل الدخول من جديد.",
502
+ 403: "ليست لديك صلاحية لهذا الإجراء.",
503
+ 404: "غير موجود. ربما تم حذفه.",
504
+ 409: "يتعارض هذا مع بيانات موجودة. حدّث الصفحة وحاول مرة أخرى.",
505
+ 413: "البيانات أكبر من أن تُرسل.",
506
+ 422: "بعض البيانات غير صالحة. تحقق من الحقول.",
507
+ 429: "طلبات كثيرة جدًا. حاول مرة أخرى بعد قليل.",
508
+ 503: "الخادم غير متاح. حاول مرة أخرى بعد دقيقة.",
509
+ "4xx": "تم رفض الطلب. رمز الخطأ: {{status}}.",
510
+ "5xx": "حدث خطأ في الخادم. حاول لاحقًا. رمز الخطأ: {{status}}.",
511
+ unknown: "حدث خطأ ما. حاول لاحقًا."
497
512
  }
498
513
  };
499
514
  export { wrAr };
@@ -1 +1 @@
1
- {"version":3,"file":"ngwr-i18n-ar.mjs","names":[],"sources":["../../../projects/lib/i18n/ar/public-api.ts"],"sourcesContent":["import { type WrI18nCatalog } from 'ngwr/i18n';\n\n/** Base Arabic catalog for ngwr built-in component strings. */\nexport const wrAr: WrI18nCatalog = {\n common: {\n ok: 'موافق',\n cancel: 'إلغاء',\n close: 'إغلاق',\n confirm: 'تأكيد',\n delete: 'حذف',\n save: 'حفظ',\n edit: 'تعديل',\n add: 'إضافة',\n remove: 'إزالة',\n clear: 'مسح',\n search: 'بحث',\n loading: 'جارٍ التحميل…',\n select: 'تحديد',\n next: 'التالي',\n previous: 'السابق',\n back: 'رجوع',\n today: 'اليوم',\n yesterday: 'أمس',\n tomorrow: 'غدًا',\n of: 'من',\n },\n pagination: {\n prev: 'الصفحة السابقة',\n next: 'الصفحة التالية',\n itemsPerPage: 'عدد العناصر في الصفحة',\n perPage: '{{size}} / صفحة',\n goToPage: 'الانتقال إلى الصفحة {{page}}',\n label: 'ترقيم الصفحات',\n pageOf: 'الصفحة {{current}} من {{total}}',\n range: '{{from}}–{{to}} من {{total}}',\n compact: '{{current}} / {{total}}',\n },\n table: {\n empty: 'لا توجد بيانات',\n loading: 'جارٍ التحميل…',\n sort: 'فرز عمود {{column}}',\n filter: 'تصفية عمود {{column}}',\n selectAll: 'تحديد كل الصفوف',\n selectRow: 'تحديد الصف',\n expandRow: 'تبديل تفاصيل الصف',\n toggleRow: 'تبديل الصفوف الفرعية',\n selectGroup: 'تحديد المجموعة',\n toggleGroup: 'تبديل المجموعة',\n noMatches: 'لا توجد نتائج مطابقة',\n search: 'بحث',\n reset: 'إعادة تعيين',\n columns: 'الأعمدة',\n showAllColumns: 'إظهار الكل',\n selected: 'تم تحديد {{count}}',\n clearSelection: 'مسح التحديد',\n },\n eventCalendar: {\n today: 'اليوم',\n previous: 'السابق',\n next: 'التالي',\n month: 'شهر',\n week: 'أسبوع',\n day: 'يوم',\n time: 'الوقت',\n allDay: 'طوال اليوم',\n label: 'التقويم',\n more: '+{{count}} أخرى',\n header: '{{month}} {{year}}',\n range: '{{from}} – {{to}}',\n chipLabel: '{{title}}، {{time}}',\n slotLabel: '{{time}} — {{date}}',\n allDayCellLabel: '{{label}} — {{date}}',\n },\n tour: {\n next: 'التالي',\n back: 'السابق',\n done: 'تم',\n skip: 'تخطي الجولة',\n progress: 'الخطوة {{current}} من {{total}}',\n },\n resizable: {\n handle: 'تغيير الحجم',\n },\n splitter: {\n divider: 'تغيير حجم الأجزاء',\n },\n stepper: {\n optional: 'اختياري',\n completed: 'مكتملة',\n },\n transfer: {\n source: 'المتاح',\n target: 'المحدد',\n search: 'بحث',\n empty: 'لا شيء هنا',\n selectAll: 'تحديد الكل',\n toTarget: 'النقل إلى المحدد',\n toSource: 'النقل إلى المتاح',\n count: '{{checked}} / {{total}}',\n selectAllAria: '{{pane}} — {{action}}',\n },\n form: {\n optional: 'اختياري',\n },\n select: {\n // The combobox's own accessible name, also read by `wr-tree` and\n // `wr-cascader`. «تحديد» is the word this catalog uses for marking rows and\n // groups that already exist; picking one value out of a list is «اختيار»,\n // which is also the verb the placeholder «اختر…» below opens with.\n label: 'اختيار',\n placeholder: 'اختر…',\n empty: 'لا توجد خيارات',\n clearSelection: 'مسح التحديد',\n removeItem: 'إزالة {{label}}',\n noResults: 'لا توجد نتائج',\n results: 'النتائج المتاحة: {{count}}',\n loading: 'جارٍ التحميل…',\n loadError: 'تعذّر تحميل النتائج',\n retry: 'إعادة المحاولة',\n more: '+{{count}} أخرى',\n selectAll: 'تحديد الكل',\n },\n // `tree` covers both inline display and combobox-mode pickers\n // (replaces the dropped `treeSelect` namespace).\n tree: {\n expand: 'توسيع',\n collapse: 'طي',\n placeholder: 'اختر…',\n clearSelection: 'مسح التحديد',\n removeItem: 'إزالة {{label}}',\n more: '+{{count}} أخرى',\n moveKeyHelp:\n 'اضغط Alt+Enter لالتقاط هذا العنصر، ثم استخدم مفاتيح الأسهم لتحريكه. ' +\n 'اضغط Enter لإفلاته، أو Escape لإعادته إلى مكانه.',\n },\n commandPalette: {\n label: 'لوحة الأوامر',\n placeholder: 'اكتب أمرًا أو ابحث…',\n noResults: 'لا توجد نتائج',\n loading: 'جارٍ البحث…',\n escHint: 'esc',\n },\n empty: {\n noData: 'لا توجد بيانات',\n },\n fileUpload: {\n browse: 'انقر للاستعراض',\n dropZone: 'أو أفلت الملفات هنا',\n removeFile: 'إزالة {{name}}',\n size: '{{value}} {{unit}}',\n unitByte: 'بايت',\n unitKb: 'كيلوبايت',\n unitMb: 'ميجابايت',\n unitGb: 'جيجابايت',\n unitTb: 'تيرابايت',\n uploading: 'جارٍ الرفع',\n uploaded: 'تم الرفع',\n failed: 'فشل الرفع',\n status: '{{name}}: {{status}}',\n retry: 'إعادة المحاولة',\n },\n popconfirm: {\n label: 'تأكيد الإجراء',\n confirm: 'تأكيد',\n cancel: 'إلغاء',\n },\n toast: {\n region: 'الإشعارات',\n close: 'إغلاق',\n copy: 'نسخ',\n copied: 'تم النسخ',\n closeAll: 'إغلاق الكل',\n },\n copyValue: {\n copy: 'نسخ',\n copied: 'تم النسخ',\n empty: '-',\n },\n copyToClipboard: {\n copied: 'تم النسخ',\n },\n input: {\n showPassword: 'إظهار كلمة المرور',\n hidePassword: 'إخفاء كلمة المرور',\n },\n inputNumber: {\n increment: 'زيادة',\n decrement: 'إنقاص',\n },\n inputOtp: {\n label: 'رمز التحقق',\n digit: 'الرقم {{index}}',\n character: 'الحرف {{index}}',\n },\n anchor: {\n label: 'جدول المحتويات',\n },\n avatar: {\n alt: 'الصورة الرمزية',\n },\n backTop: {\n label: 'العودة إلى الأعلى',\n },\n breadcrumbs: {\n label: 'مسار التنقل',\n },\n burger: {\n label: 'تبديل القائمة',\n },\n calendar: {\n prevMonth: 'الشهر السابق',\n nextMonth: 'الشهر التالي',\n prevYear: 'السنة السابقة',\n nextYear: 'السنة التالية',\n // The month / year pickers are `role=\"listbox\"`, and a listbox owes a\n // name — without one a screen reader announces the control as nothing at\n // all. Caught by `check:state-a11y` once a state finally opened the view.\n monthList: 'الأشهر',\n yearList: 'السنوات',\n quarterList: 'الأرباع',\n quarter: 'الربع {{quarter}}',\n prevYears: '12 سنة سابقة',\n nextYears: '12 سنة تالية',\n header: '{{month}} {{year}}',\n yearRange: '{{from}} – {{to}}',\n dayLabel: '{{weekday}}، {{date}}',\n },\n imageCropper: {\n empty: 'لا توجد صورة',\n window: 'منطقة الاقتصاص',\n keyHelp:\n 'مفاتيح الأسهم تحرّك منطقة الاقتصاص. اضغط باستمرار على Alt مع أحد مفاتيح الأسهم لتغيير حجمها، وعلى Shift لخطوات أكبر. ' +\n 'يُعلن عن المنطقة بقيم اليسار والأعلى والعرض والارتفاع بالبكسل داخل الصورة.',\n },\n sortableList: {\n keyHelp:\n 'اضغط مفتاح المسافة لالتقاط هذا العنصر، ثم استخدم مفاتيح الأسهم لتحريكه. ' +\n 'اضغط مفتاح المسافة مرة أخرى لإفلاته، أو Escape لإعادته إلى مكانه.',\n grabbed: 'تم الالتقاط. {{index}} من {{total}}.',\n moved: '{{index}} من {{total}}.',\n dropped: 'تم الإفلات. {{index}} من {{total}}.',\n cancelled: 'تم إلغاء النقل.',\n groupKeyHelp:\n 'اضغط مفتاح المسافة لالتقاط هذا العنصر، ثم استخدم مفاتيح الأسهم لتحريكه داخل قائمته أو إلى القائمة المجاورة. ' +\n 'اضغط مفتاح المسافة مرة أخرى لإفلاته، أو Escape لإعادته إلى مكانه.',\n movedTo: 'تم النقل إلى {{list}}. {{index}} من {{total}}.',\n listPosition: 'القائمة {{index}} من {{total}}',\n },\n colorPicker: {\n area: 'التشبع والسطوع، {{saturation}}% و{{brightness}}%',\n hue: 'درجة اللون',\n alpha: 'العتامة',\n formatHex: 'HEX',\n formatRgb: 'RGB',\n formatHsl: 'HSL',\n channelHex: 'HEX',\n channelRed: 'R',\n channelGreen: 'G',\n channelBlue: 'B',\n channelHue: 'H',\n channelSaturation: 'S%',\n channelLightness: 'L%',\n channelAlpha: 'A%',\n },\n // What a chart shows in place of its marks: no data, a request in flight, a failed\n // load. One set for every chart; each has a `*Label` input over it.\n chart: {\n empty: 'لا توجد بيانات',\n loading: 'جارٍ التحميل…',\n error: 'تعذّر التحميل',\n },\n barChart: {\n label: 'مخطط شريطي',\n total: 'الإجمالي',\n value: 'القيمة',\n datum: '{{label}}: {{value}}',\n },\n calendarHeatmap: {\n label: 'خريطة حرارية للتقويم',\n cell: '{{date}}: {{count}}',\n },\n lineChart: {\n label: 'مخطط خطي',\n areaLabel: 'مخطط مساحي',\n },\n donutChart: {\n label: 'مخطط دائري مجوف',\n pieLabel: 'مخطط دائري',\n },\n chartLegend: {\n toggleLabel: 'إظهار السلاسل أو إخفاؤها',\n hidden: 'مخفية',\n },\n scatterChart: {\n label: 'مخطط التشتت',\n x: 'X',\n y: 'Y',\n size: 'الحجم',\n },\n radarChart: {\n label: 'مخطط راداري',\n polarAreaLabel: 'مخطط مساحي قطبي',\n },\n heatmapChart: {\n label: 'خريطة حرارية',\n noData: 'لا توجد بيانات',\n },\n funnelChart: {\n label: 'مخطط قمعي',\n stage: 'المرحلة',\n value: 'القيمة',\n fromPrevious: 'من السابقة',\n fromFirst: 'من الأولى',\n ofPrevious: '{{percent}} من السابقة',\n ofFirst: '{{percent}} من الأولى',\n stageName: '{{label}}: {{value}}',\n stageNameOne: '{{label}}: {{value}}، {{conversion}}',\n stageNameBoth: '{{label}}: {{value}}، {{previous}}، {{first}}',\n },\n waterfallChart: {\n label: 'مخطط شلالي',\n step: 'الخطوة',\n change: 'التغيير',\n runningTotal: 'الإجمالي التراكمي',\n changeStep: '{{label}}: {{change}}، الإجمالي التراكمي {{total}}',\n totalStep: '{{label}}: الإجمالي {{total}}',\n },\n treemapChart: {\n label: 'مخطط شجري',\n value: 'القيمة',\n share: 'الحصة',\n },\n bulletChart: {\n label: 'مخطط رصاصي',\n target: 'الهدف',\n summary: '{{label}}: {{value}} من هدف {{target}}',\n summaryNoTarget: '{{label}}: {{value}}',\n summaryNoValue: '{{label}}: لا قيمة، الهدف {{target}}',\n noValue: '{{label}}: لا قيمة',\n },\n boxplotChart: {\n label: 'مخطط الصندوق',\n group: 'المجموعة',\n upperWhisker: 'الشارب العلوي',\n q3: 'Q3',\n median: 'الوسيط',\n q1: 'Q1',\n lowerWhisker: 'الشارب السفلي',\n outliers: 'القيم الشاذة',\n moreOutliers: '+{{count}} أخرى',\n },\n candlestickChart: {\n label: 'مخطط الشموع',\n open: 'الافتتاح',\n high: 'الأعلى',\n low: 'الأدنى',\n close: 'الإغلاق',\n },\n compare: {\n label: 'فاصل المقارنة',\n },\n // The two `roledescription` values are spoken INSTEAD of the role name, so they\n // are bare nouns. Arabic has no letter case, so English's lowercase rule has no\n // counterpart here — what carries it is dropping the definite article.\n carousel: {\n label: 'العرض الدوّار',\n goToSlide: 'الانتقال إلى الشريحة {{index}}',\n position: 'الشريحة {{current}} من {{total}}',\n prev: 'الشريحة السابقة',\n next: 'الشريحة التالية',\n pagination: 'ترقيم شرائح العرض الدوّار',\n roledescription: 'عرض دوّار',\n slideRoledescription: 'شريحة',\n },\n alert: {\n close: 'إغلاق التنبيه',\n },\n tag: {\n remove: 'إزالة {{label}}',\n },\n qr: {\n label: 'رمز QR',\n },\n image: {\n viewer: 'معاينة الصورة',\n open: 'فتح المعاينة',\n close: 'إغلاق المعاينة',\n counter: '{{current}} / {{total}}',\n position: 'الصورة {{current}} من {{total}}',\n },\n window: {\n close: 'إغلاق',\n minimize: 'تصغير',\n maximize: 'تكبير',\n restore: 'استعادة',\n restoreDown: 'استعادة لأسفل',\n restoreWindow: 'استعادة {{title}}',\n closeWindow: 'إغلاق النافذة',\n untitled: 'بلا عنوان',\n taskbar: 'النوافذ المصغّرة',\n taskbarAll: 'النوافذ المفتوحة',\n taskbarMore: 'نوافذ أخرى: {{count}}',\n moveMode: 'جارٍ نقل النافذة. استخدم مفاتيح الأسهم، وEnter للإنهاء، وEscape للإلغاء.',\n resizeMode: 'جارٍ تغيير حجم النافذة. استخدم مفاتيح الأسهم، وEnter للإنهاء، وEscape للإلغاء.',\n moved: 'نُقلت النافذة إلى {{x}}، {{y}}',\n resized: 'تغيّر حجم النافذة إلى {{width}} في {{height}}',\n },\n dialog: {\n close: 'إغلاق مربع الحوار',\n },\n // Deliberately generic: a popover panel has no universal name, and an unnamed\n // `role=\"dialog\"` announces as nothing at all. Override per instance with\n // `[ariaLabel]`.\n popover: {\n label: 'لوحة منبثقة',\n },\n editor: {\n label: 'نص منسق',\n toolbar: 'التنسيق',\n bold: 'غامق',\n italic: 'مائل',\n underline: 'تسطير',\n strike: 'يتوسطه خط',\n code: 'رمز مضمّن',\n paragraph: 'فقرة',\n heading: 'عنوان {{level}}',\n bulletList: 'قائمة نقطية',\n orderedList: 'قائمة مرقمة',\n blockquote: 'اقتباس',\n codeBlock: 'كتلة رمز',\n link: 'إدراج رابط',\n horizontalRule: 'خط أفقي',\n undo: 'تراجع',\n redo: 'إعادة',\n linkUrl: 'عنوان الرابط',\n linkApply: 'تطبيق',\n linkRemove: 'إزالة الرابط',\n linkInvalid: 'لا يمكن استخدام هذا العنوان رابطًا.',\n shortcut: '{{label}} ({{keys}})',\n keyCtrl: 'Ctrl',\n keyShift: 'Shift',\n keyAlt: 'Alt',\n taskDone: 'تم:',\n taskTodo: 'لم يتم:',\n },\n kbd: {\n ctrl: 'Ctrl',\n shift: 'Shift',\n alt: 'Alt',\n enter: 'Enter',\n esc: 'Esc',\n tab: 'Tab',\n space: 'مسافة',\n backspace: 'Backspace',\n delete: 'Delete',\n home: 'Home',\n end: 'End',\n pageUp: 'Page Up',\n pageDown: 'Page Down',\n },\n // Arabic inflects a counted noun differently at one, at two, at three-to-ten\n // and at eleven-and-up, and the interpolator has no plural machinery — so a\n // string that counts ITEMS here does one of two things rather than write\n // \"{{count}} <noun>\" and be wrong at most counts. Either the number goes LAST,\n // after a colon, so no noun has to agree with it (`mention.available`), or\n // the noun is dropped: the overflow chips in `select`, `tree` and\n // `eventCalendar` read «+{{count}} أخرى», the invariable feminine-singular\n // form a non-human plural takes, leaving nothing for the count to inflect.\n mention: {\n listbox: 'الإشارات',\n available: 'المطابقات المتاحة: {{count}}',\n inserted: 'تم الإدراج: {{label}}',\n },\n comment: {\n send: 'إرسال',\n replies: 'الردود',\n },\n drawer: {\n close: 'إغلاق اللوحة',\n },\n datePicker: {\n open: 'فتح التقويم',\n openTime: 'فتح منتقي الوقت',\n openDateTime: 'فتح منتقي التاريخ والوقت',\n openRange: 'فتح تقويم الفترة',\n panel: 'اختيار التاريخ',\n panelTime: 'اختيار الوقت',\n panelDateTime: 'اختيار التاريخ والوقت',\n panelRange: 'اختيار الفترة',\n panelRangeDateTime: 'اختيار الفترة بالتاريخ والوقت',\n quarterValue: 'الربع {{quarter}} {{year}}',\n weekValue: 'الأسبوع {{week}}، {{year}}',\n rangeStart: 'بداية الفترة',\n rangeEnd: 'نهاية الفترة',\n startTime: 'وقت البدء',\n endTime: 'وقت الانتهاء',\n hours: 'الساعات',\n minutes: 'الدقائق',\n seconds: 'الثواني',\n incrementHours: 'زيادة الساعات',\n decrementHours: 'إنقاص الساعات',\n incrementMinutes: 'زيادة الدقائق',\n decrementMinutes: 'إنقاص الدقائق',\n incrementSeconds: 'زيادة الثواني',\n decrementSeconds: 'إنقاص الثواني',\n toggleAmPm: 'تبديل ص / م',\n am: 'ص',\n pm: 'م',\n },\n sidebar: {\n label: 'الشريط الجانبي',\n containsCurrent: 'تحتوي على الصفحة الحالية',\n subpages: 'الصفحات الفرعية لـ {{title}}',\n separator: '،',\n },\n spinner: {\n label: 'جارٍ التحميل',\n },\n rating: {\n label: 'التقييم',\n },\n gauge: {\n label: 'عداد',\n },\n graph: {\n label: 'مخطط',\n parents: 'الآباء: {{names}}.',\n children: 'الأبناء: {{names}}.',\n zoomIn: 'تكبير',\n zoomOut: 'تصغير',\n fit: 'ملاءمة العرض',\n },\n progress: {\n label: 'التقدم',\n },\n meterGroup: {\n label: 'مقياس',\n },\n knob: {\n label: 'القيمة',\n },\n slider: {\n label: 'القيمة',\n lower: 'القيمة الدنيا',\n upper: 'القيمة العليا',\n },\n speedDial: {\n label: 'الإجراءات',\n },\n statistic: {\n delta: '{{value}}{{suffix}}',\n deltaSuffix: '%',\n },\n result: {\n notFound: 'عذرًا، الصفحة التي زرتها غير موجودة.',\n forbidden: 'عذرًا، ليس لديك إذن بالوصول إلى هذه الصفحة.',\n serverError: 'عذرًا، حدث خطأ ما.',\n },\n loadState: {\n failed: 'تعذّر التحميل',\n retry: 'إعادة المحاولة',\n },\n date: {\n months: {\n jan: 'يناير',\n feb: 'فبراير',\n mar: 'مارس',\n apr: 'أبريل',\n may: 'مايو',\n jun: 'يونيو',\n jul: 'يوليو',\n aug: 'أغسطس',\n sep: 'سبتمبر',\n oct: 'أكتوبر',\n nov: 'نوفمبر',\n dec: 'ديسمبر',\n },\n },\n rotateReveal: {\n conjunction: 'و',\n },\n marquee: {\n pause: 'إيقاف مؤقت',\n play: 'تشغيل',\n },\n};\n"],"mappings":"AAGA,MAAa,OAAsB;CACjC,QAAQ;EACN,IAAI;EACJ,QAAQ;EACR,OAAO;EACP,SAAS;EACT,QAAQ;EACR,MAAM;EACN,MAAM;EACN,KAAK;EACL,QAAQ;EACR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D,QAAQ,EACN,OAAO,UACR;CACD,OAAO,EACL,OAAO,OACR;CACD,OAAO;EACL,OAAO;EACP,SAAS;EACT,UAAU;EACV,QAAQ;EACR,SAAS;EACT,KAAK;CACN;CACD,UAAU,EACR,OAAO,SACR;CACD,YAAY,EACV,OAAO,QACR;CACD,MAAM,EACJ,OAAO,SACR;CACD,QAAQ;EACN,OAAO;EACP,OAAO;EACP,OAAO;CACR;CACD,WAAW,EACT,OAAO,YACR;CACD,WAAW;EACT,OAAO;EACP,aAAa;CACd;CACD,QAAQ;EACN,UAAU;EACV,WAAW;EACX,aAAa;CACd;CACD,WAAW;EACT,QAAQ;EACR,OAAO;CACR;CACD,MAAM,EACJ,QAAQ;EACN,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;CACN,EACF;CACD,cAAc,EACZ,aAAa,IACd;CACD,SAAS;EACP,OAAO;EACP,MAAM;CACP;AACF"}
1
+ {"version":3,"file":"ngwr-i18n-ar.mjs","names":[],"sources":["../../../projects/lib/i18n/ar/public-api.ts"],"sourcesContent":["import { type WrI18nCatalog } from 'ngwr/i18n';\n\n/** Base Arabic catalog for ngwr built-in component strings. */\nexport const wrAr: WrI18nCatalog = {\n common: {\n ok: 'موافق',\n cancel: 'إلغاء',\n close: 'إغلاق',\n confirm: 'تأكيد',\n delete: 'حذف',\n save: 'حفظ',\n edit: 'تعديل',\n add: 'إضافة',\n remove: 'إزالة',\n clear: 'مسح',\n search: 'بحث',\n loading: 'جارٍ التحميل…',\n select: 'تحديد',\n next: 'التالي',\n previous: 'السابق',\n back: 'رجوع',\n today: 'اليوم',\n yesterday: 'أمس',\n tomorrow: 'غدًا',\n of: 'من',\n },\n pagination: {\n prev: 'الصفحة السابقة',\n next: 'الصفحة التالية',\n itemsPerPage: 'عدد العناصر في الصفحة',\n perPage: '{{size}} / صفحة',\n goToPage: 'الانتقال إلى الصفحة {{page}}',\n label: 'ترقيم الصفحات',\n pageOf: 'الصفحة {{current}} من {{total}}',\n range: '{{from}}–{{to}} من {{total}}',\n compact: '{{current}} / {{total}}',\n },\n table: {\n empty: 'لا توجد بيانات',\n loading: 'جارٍ التحميل…',\n sort: 'فرز عمود {{column}}',\n filter: 'تصفية عمود {{column}}',\n selectAll: 'تحديد كل الصفوف',\n selectRow: 'تحديد الصف',\n expandRow: 'تبديل تفاصيل الصف',\n toggleRow: 'تبديل الصفوف الفرعية',\n selectGroup: 'تحديد المجموعة',\n toggleGroup: 'تبديل المجموعة',\n noMatches: 'لا توجد نتائج مطابقة',\n search: 'بحث',\n reset: 'إعادة تعيين',\n columns: 'الأعمدة',\n showAllColumns: 'إظهار الكل',\n selected: 'تم تحديد {{count}}',\n clearSelection: 'مسح التحديد',\n },\n eventCalendar: {\n today: 'اليوم',\n previous: 'السابق',\n next: 'التالي',\n month: 'شهر',\n week: 'أسبوع',\n day: 'يوم',\n time: 'الوقت',\n allDay: 'طوال اليوم',\n label: 'التقويم',\n more: '+{{count}} أخرى',\n header: '{{month}} {{year}}',\n range: '{{from}} – {{to}}',\n chipLabel: '{{title}}، {{time}}',\n slotLabel: '{{time}} — {{date}}',\n allDayCellLabel: '{{label}} — {{date}}',\n },\n tour: {\n next: 'التالي',\n back: 'السابق',\n done: 'تم',\n skip: 'تخطي الجولة',\n progress: 'الخطوة {{current}} من {{total}}',\n },\n resizable: {\n handle: 'تغيير الحجم',\n },\n splitter: {\n divider: 'تغيير حجم الأجزاء',\n },\n stepper: {\n optional: 'اختياري',\n completed: 'مكتملة',\n },\n transfer: {\n source: 'المتاح',\n target: 'المحدد',\n search: 'بحث',\n empty: 'لا شيء هنا',\n selectAll: 'تحديد الكل',\n toTarget: 'النقل إلى المحدد',\n toSource: 'النقل إلى المتاح',\n count: '{{checked}} / {{total}}',\n selectAllAria: '{{pane}} — {{action}}',\n },\n form: {\n optional: 'اختياري',\n },\n select: {\n // The combobox's own accessible name, also read by `wr-tree` and\n // `wr-cascader`. «تحديد» is the word this catalog uses for marking rows and\n // groups that already exist; picking one value out of a list is «اختيار»,\n // which is also the verb the placeholder «اختر…» below opens with.\n label: 'اختيار',\n placeholder: 'اختر…',\n empty: 'لا توجد خيارات',\n clearSelection: 'مسح التحديد',\n removeItem: 'إزالة {{label}}',\n noResults: 'لا توجد نتائج',\n results: 'النتائج المتاحة: {{count}}',\n loading: 'جارٍ التحميل…',\n loadError: 'تعذّر تحميل النتائج',\n retry: 'إعادة المحاولة',\n more: '+{{count}} أخرى',\n selectAll: 'تحديد الكل',\n },\n // `tree` covers both inline display and combobox-mode pickers\n // (replaces the dropped `treeSelect` namespace).\n tree: {\n expand: 'توسيع',\n collapse: 'طي',\n placeholder: 'اختر…',\n clearSelection: 'مسح التحديد',\n removeItem: 'إزالة {{label}}',\n more: '+{{count}} أخرى',\n moveKeyHelp:\n 'اضغط Alt+Enter لالتقاط هذا العنصر، ثم استخدم مفاتيح الأسهم لتحريكه. ' +\n 'اضغط Enter لإفلاته، أو Escape لإعادته إلى مكانه.',\n },\n commandPalette: {\n label: 'لوحة الأوامر',\n placeholder: 'اكتب أمرًا أو ابحث…',\n noResults: 'لا توجد نتائج',\n loading: 'جارٍ البحث…',\n escHint: 'esc',\n },\n empty: {\n noData: 'لا توجد بيانات',\n },\n fileUpload: {\n browse: 'انقر للاستعراض',\n dropZone: 'أو أفلت الملفات هنا',\n removeFile: 'إزالة {{name}}',\n size: '{{value}} {{unit}}',\n unitByte: 'بايت',\n unitKb: 'كيلوبايت',\n unitMb: 'ميجابايت',\n unitGb: 'جيجابايت',\n unitTb: 'تيرابايت',\n uploading: 'جارٍ الرفع',\n uploaded: 'تم الرفع',\n failed: 'فشل الرفع',\n status: '{{name}}: {{status}}',\n retry: 'إعادة المحاولة',\n },\n popconfirm: {\n label: 'تأكيد الإجراء',\n confirm: 'تأكيد',\n cancel: 'إلغاء',\n },\n toast: {\n region: 'الإشعارات',\n close: 'إغلاق',\n copy: 'نسخ',\n copied: 'تم النسخ',\n closeAll: 'إغلاق الكل',\n },\n copyValue: {\n copy: 'نسخ',\n copied: 'تم النسخ',\n empty: '-',\n },\n copyToClipboard: {\n copied: 'تم النسخ',\n },\n input: {\n showPassword: 'إظهار كلمة المرور',\n hidePassword: 'إخفاء كلمة المرور',\n },\n inputNumber: {\n increment: 'زيادة',\n decrement: 'إنقاص',\n },\n inputOtp: {\n label: 'رمز التحقق',\n digit: 'الرقم {{index}}',\n character: 'الحرف {{index}}',\n },\n anchor: {\n label: 'جدول المحتويات',\n },\n avatar: {\n alt: 'الصورة الرمزية',\n },\n backTop: {\n label: 'العودة إلى الأعلى',\n },\n breadcrumbs: {\n label: 'مسار التنقل',\n },\n burger: {\n label: 'تبديل القائمة',\n },\n calendar: {\n prevMonth: 'الشهر السابق',\n nextMonth: 'الشهر التالي',\n prevYear: 'السنة السابقة',\n nextYear: 'السنة التالية',\n // The month / year pickers are `role=\"listbox\"`, and a listbox owes a\n // name — without one a screen reader announces the control as nothing at\n // all. Caught by `check:state-a11y` once a state finally opened the view.\n monthList: 'الأشهر',\n yearList: 'السنوات',\n quarterList: 'الأرباع',\n quarter: 'الربع {{quarter}}',\n prevYears: '12 سنة سابقة',\n nextYears: '12 سنة تالية',\n header: '{{month}} {{year}}',\n yearRange: '{{from}} – {{to}}',\n dayLabel: '{{weekday}}، {{date}}',\n },\n imageCropper: {\n empty: 'لا توجد صورة',\n window: 'منطقة الاقتصاص',\n keyHelp:\n 'مفاتيح الأسهم تحرّك منطقة الاقتصاص. اضغط باستمرار على Alt مع أحد مفاتيح الأسهم لتغيير حجمها، وعلى Shift لخطوات أكبر. ' +\n 'يُعلن عن المنطقة بقيم اليسار والأعلى والعرض والارتفاع بالبكسل داخل الصورة.',\n },\n sortableList: {\n keyHelp:\n 'اضغط مفتاح المسافة لالتقاط هذا العنصر، ثم استخدم مفاتيح الأسهم لتحريكه. ' +\n 'اضغط مفتاح المسافة مرة أخرى لإفلاته، أو Escape لإعادته إلى مكانه.',\n grabbed: 'تم الالتقاط. {{index}} من {{total}}.',\n moved: '{{index}} من {{total}}.',\n dropped: 'تم الإفلات. {{index}} من {{total}}.',\n cancelled: 'تم إلغاء النقل.',\n groupKeyHelp:\n 'اضغط مفتاح المسافة لالتقاط هذا العنصر، ثم استخدم مفاتيح الأسهم لتحريكه داخل قائمته أو إلى القائمة المجاورة. ' +\n 'اضغط مفتاح المسافة مرة أخرى لإفلاته، أو Escape لإعادته إلى مكانه.',\n movedTo: 'تم النقل إلى {{list}}. {{index}} من {{total}}.',\n listPosition: 'القائمة {{index}} من {{total}}',\n },\n colorPicker: {\n area: 'التشبع والسطوع، {{saturation}}% و{{brightness}}%',\n hue: 'درجة اللون',\n alpha: 'العتامة',\n formatHex: 'HEX',\n formatRgb: 'RGB',\n formatHsl: 'HSL',\n channelHex: 'HEX',\n channelRed: 'R',\n channelGreen: 'G',\n channelBlue: 'B',\n channelHue: 'H',\n channelSaturation: 'S%',\n channelLightness: 'L%',\n channelAlpha: 'A%',\n },\n // What a chart shows in place of its marks: no data, a request in flight, a failed\n // load. One set for every chart; each has a `*Label` input over it.\n chart: {\n empty: 'لا توجد بيانات',\n loading: 'جارٍ التحميل…',\n error: 'تعذّر التحميل',\n },\n barChart: {\n label: 'مخطط شريطي',\n total: 'الإجمالي',\n value: 'القيمة',\n datum: '{{label}}: {{value}}',\n },\n calendarHeatmap: {\n label: 'خريطة حرارية للتقويم',\n cell: '{{date}}: {{count}}',\n },\n lineChart: {\n label: 'مخطط خطي',\n areaLabel: 'مخطط مساحي',\n },\n donutChart: {\n label: 'مخطط دائري مجوف',\n pieLabel: 'مخطط دائري',\n },\n chartLegend: {\n toggleLabel: 'إظهار السلاسل أو إخفاؤها',\n hidden: 'مخفية',\n },\n scatterChart: {\n label: 'مخطط التشتت',\n x: 'X',\n y: 'Y',\n size: 'الحجم',\n },\n radarChart: {\n label: 'مخطط راداري',\n polarAreaLabel: 'مخطط مساحي قطبي',\n },\n heatmapChart: {\n label: 'خريطة حرارية',\n noData: 'لا توجد بيانات',\n },\n funnelChart: {\n label: 'مخطط قمعي',\n stage: 'المرحلة',\n value: 'القيمة',\n fromPrevious: 'من السابقة',\n fromFirst: 'من الأولى',\n ofPrevious: '{{percent}} من السابقة',\n ofFirst: '{{percent}} من الأولى',\n stageName: '{{label}}: {{value}}',\n stageNameOne: '{{label}}: {{value}}، {{conversion}}',\n stageNameBoth: '{{label}}: {{value}}، {{previous}}، {{first}}',\n },\n waterfallChart: {\n label: 'مخطط شلالي',\n step: 'الخطوة',\n change: 'التغيير',\n runningTotal: 'الإجمالي التراكمي',\n changeStep: '{{label}}: {{change}}، الإجمالي التراكمي {{total}}',\n totalStep: '{{label}}: الإجمالي {{total}}',\n },\n treemapChart: {\n label: 'مخطط شجري',\n value: 'القيمة',\n share: 'الحصة',\n },\n bulletChart: {\n label: 'مخطط رصاصي',\n target: 'الهدف',\n summary: '{{label}}: {{value}} من هدف {{target}}',\n summaryNoTarget: '{{label}}: {{value}}',\n summaryNoValue: '{{label}}: لا قيمة، الهدف {{target}}',\n noValue: '{{label}}: لا قيمة',\n },\n boxplotChart: {\n label: 'مخطط الصندوق',\n group: 'المجموعة',\n upperWhisker: 'الشارب العلوي',\n q3: 'Q3',\n median: 'الوسيط',\n q1: 'Q1',\n lowerWhisker: 'الشارب السفلي',\n outliers: 'القيم الشاذة',\n moreOutliers: '+{{count}} أخرى',\n },\n candlestickChart: {\n label: 'مخطط الشموع',\n open: 'الافتتاح',\n high: 'الأعلى',\n low: 'الأدنى',\n close: 'الإغلاق',\n },\n compare: {\n label: 'فاصل المقارنة',\n },\n // The two `roledescription` values are spoken INSTEAD of the role name, so they\n // are bare nouns. Arabic has no letter case, so English's lowercase rule has no\n // counterpart here — what carries it is dropping the definite article.\n carousel: {\n label: 'العرض الدوّار',\n goToSlide: 'الانتقال إلى الشريحة {{index}}',\n position: 'الشريحة {{current}} من {{total}}',\n prev: 'الشريحة السابقة',\n next: 'الشريحة التالية',\n pagination: 'ترقيم شرائح العرض الدوّار',\n roledescription: 'عرض دوّار',\n slideRoledescription: 'شريحة',\n },\n alert: {\n close: 'إغلاق التنبيه',\n },\n tag: {\n remove: 'إزالة {{label}}',\n },\n qr: {\n label: 'رمز QR',\n },\n image: {\n viewer: 'معاينة الصورة',\n open: 'فتح المعاينة',\n close: 'إغلاق المعاينة',\n counter: '{{current}} / {{total}}',\n position: 'الصورة {{current}} من {{total}}',\n },\n window: {\n close: 'إغلاق',\n minimize: 'تصغير',\n maximize: 'تكبير',\n restore: 'استعادة',\n restoreDown: 'استعادة لأسفل',\n restoreWindow: 'استعادة {{title}}',\n closeWindow: 'إغلاق النافذة',\n untitled: 'بلا عنوان',\n taskbar: 'النوافذ المصغّرة',\n taskbarAll: 'النوافذ المفتوحة',\n taskbarMore: 'نوافذ أخرى: {{count}}',\n moveMode: 'جارٍ نقل النافذة. استخدم مفاتيح الأسهم، وEnter للإنهاء، وEscape للإلغاء.',\n resizeMode: 'جارٍ تغيير حجم النافذة. استخدم مفاتيح الأسهم، وEnter للإنهاء، وEscape للإلغاء.',\n moved: 'نُقلت النافذة إلى {{x}}، {{y}}',\n resized: 'تغيّر حجم النافذة إلى {{width}} في {{height}}',\n },\n dialog: {\n close: 'إغلاق مربع الحوار',\n },\n // Deliberately generic: a popover panel has no universal name, and an unnamed\n // `role=\"dialog\"` announces as nothing at all. Override per instance with\n // `[ariaLabel]`.\n popover: {\n label: 'لوحة منبثقة',\n },\n editor: {\n label: 'نص منسق',\n toolbar: 'التنسيق',\n bold: 'غامق',\n italic: 'مائل',\n underline: 'تسطير',\n strike: 'يتوسطه خط',\n code: 'رمز مضمّن',\n paragraph: 'فقرة',\n heading: 'عنوان {{level}}',\n bulletList: 'قائمة نقطية',\n orderedList: 'قائمة مرقمة',\n blockquote: 'اقتباس',\n codeBlock: 'كتلة رمز',\n link: 'إدراج رابط',\n horizontalRule: 'خط أفقي',\n undo: 'تراجع',\n redo: 'إعادة',\n linkUrl: 'عنوان الرابط',\n linkApply: 'تطبيق',\n linkRemove: 'إزالة الرابط',\n linkInvalid: 'لا يمكن استخدام هذا العنوان رابطًا.',\n shortcut: '{{label}} ({{keys}})',\n keyCtrl: 'Ctrl',\n keyShift: 'Shift',\n keyAlt: 'Alt',\n taskDone: 'تم:',\n taskTodo: 'لم يتم:',\n },\n kbd: {\n ctrl: 'Ctrl',\n shift: 'Shift',\n alt: 'Alt',\n enter: 'Enter',\n esc: 'Esc',\n tab: 'Tab',\n space: 'مسافة',\n backspace: 'Backspace',\n delete: 'Delete',\n home: 'Home',\n end: 'End',\n pageUp: 'Page Up',\n pageDown: 'Page Down',\n },\n // Arabic inflects a counted noun differently at one, at two, at three-to-ten\n // and at eleven-and-up, and the interpolator has no plural machinery — so a\n // string that counts ITEMS here does one of two things rather than write\n // \"{{count}} <noun>\" and be wrong at most counts. Either the number goes LAST,\n // after a colon, so no noun has to agree with it (`mention.available`), or\n // the noun is dropped: the overflow chips in `select`, `tree` and\n // `eventCalendar` read «+{{count}} أخرى», the invariable feminine-singular\n // form a non-human plural takes, leaving nothing for the count to inflect.\n mention: {\n listbox: 'الإشارات',\n available: 'المطابقات المتاحة: {{count}}',\n inserted: 'تم الإدراج: {{label}}',\n },\n comment: {\n send: 'إرسال',\n replies: 'الردود',\n },\n drawer: {\n close: 'إغلاق اللوحة',\n },\n datePicker: {\n open: 'فتح التقويم',\n openTime: 'فتح منتقي الوقت',\n openDateTime: 'فتح منتقي التاريخ والوقت',\n openRange: 'فتح تقويم الفترة',\n panel: 'اختيار التاريخ',\n panelTime: 'اختيار الوقت',\n panelDateTime: 'اختيار التاريخ والوقت',\n panelRange: 'اختيار الفترة',\n panelRangeDateTime: 'اختيار الفترة بالتاريخ والوقت',\n quarterValue: 'الربع {{quarter}} {{year}}',\n weekValue: 'الأسبوع {{week}}، {{year}}',\n rangeStart: 'بداية الفترة',\n rangeEnd: 'نهاية الفترة',\n startTime: 'وقت البدء',\n endTime: 'وقت الانتهاء',\n hours: 'الساعات',\n minutes: 'الدقائق',\n seconds: 'الثواني',\n incrementHours: 'زيادة الساعات',\n decrementHours: 'إنقاص الساعات',\n incrementMinutes: 'زيادة الدقائق',\n decrementMinutes: 'إنقاص الدقائق',\n incrementSeconds: 'زيادة الثواني',\n decrementSeconds: 'إنقاص الثواني',\n toggleAmPm: 'تبديل ص / م',\n am: 'ص',\n pm: 'م',\n },\n sidebar: {\n label: 'الشريط الجانبي',\n containsCurrent: 'تحتوي على الصفحة الحالية',\n subpages: 'الصفحات الفرعية لـ {{title}}',\n separator: '،',\n },\n spinner: {\n label: 'جارٍ التحميل',\n },\n rating: {\n label: 'التقييم',\n },\n gauge: {\n label: 'عداد',\n },\n graph: {\n label: 'مخطط',\n parents: 'الآباء: {{names}}.',\n children: 'الأبناء: {{names}}.',\n zoomIn: 'تكبير',\n zoomOut: 'تصغير',\n fit: 'ملاءمة العرض',\n },\n progress: {\n label: 'التقدم',\n },\n meterGroup: {\n label: 'مقياس',\n },\n knob: {\n label: 'القيمة',\n },\n slider: {\n label: 'القيمة',\n lower: 'القيمة الدنيا',\n upper: 'القيمة العليا',\n },\n speedDial: {\n label: 'الإجراءات',\n },\n statistic: {\n delta: '{{value}}{{suffix}}',\n deltaSuffix: '%',\n },\n result: {\n notFound: 'عذرًا، الصفحة التي زرتها غير موجودة.',\n forbidden: 'عذرًا، ليس لديك إذن بالوصول إلى هذه الصفحة.',\n serverError: 'عذرًا، حدث خطأ ما.',\n },\n loadState: {\n failed: 'تعذّر التحميل',\n retry: 'إعادة المحاولة',\n },\n date: {\n months: {\n jan: 'يناير',\n feb: 'فبراير',\n mar: 'مارس',\n apr: 'أبريل',\n may: 'مايو',\n jun: 'يونيو',\n jul: 'يوليو',\n aug: 'أغسطس',\n sep: 'سبتمبر',\n oct: 'أكتوبر',\n nov: 'نوفمبر',\n dec: 'ديسمبر',\n },\n },\n rotateReveal: {\n conjunction: 'و',\n },\n marquee: {\n pause: 'إيقاف مؤقت',\n play: 'تشغيل',\n },\n httpError: {\n network: 'لا يوجد اتصال بالخادم. تحقق من الشبكة وحاول مرة أخرى.',\n 400: 'لم يقبل الخادم البيانات. تحقق من الحقول.',\n 401: 'انتهت جلستك. سجّل الدخول من جديد.',\n 403: 'ليست لديك صلاحية لهذا الإجراء.',\n 404: 'غير موجود. ربما تم حذفه.',\n 409: 'يتعارض هذا مع بيانات موجودة. حدّث الصفحة وحاول مرة أخرى.',\n 413: 'البيانات أكبر من أن تُرسل.',\n 422: 'بعض البيانات غير صالحة. تحقق من الحقول.',\n 429: 'طلبات كثيرة جدًا. حاول مرة أخرى بعد قليل.',\n 503: 'الخادم غير متاح. حاول مرة أخرى بعد دقيقة.',\n '4xx': 'تم رفض الطلب. رمز الخطأ: {{status}}.',\n '5xx': 'حدث خطأ في الخادم. حاول لاحقًا. رمز الخطأ: {{status}}.',\n unknown: 'حدث خطأ ما. حاول لاحقًا.',\n },\n};\n"],"mappings":"AAGA,MAAa,OAAsB;CACjC,QAAQ;EACN,IAAI;EACJ,QAAQ;EACR,OAAO;EACP,SAAS;EACT,QAAQ;EACR,MAAM;EACN,MAAM;EACN,KAAK;EACL,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,SAAS;EACT,QAAQ;EACR,MAAM;EACN,UAAU;EACV,MAAM;EACN,OAAO;EACP,WAAW;EACX,UAAU;EACV,IAAI;CACL;CACD,YAAY;EACV,MAAM;EACN,MAAM;EACN,cAAc;EACd,SAAS;EACT,UAAU;EACV,OAAO;EACP,QAAQ;EACR,OAAO;EACP,SAAS;CACV;CACD,OAAO;EACL,OAAO;EACP,SAAS;EACT,MAAM;EACN,QAAQ;EACR,WAAW;EACX,WAAW;EACX,WAAW;EACX,WAAW;EACX,aAAa;EACb,aAAa;EACb,WAAW;EACX,QAAQ;EACR,OAAO;EACP,SAAS;EACT,gBAAgB;EAChB,UAAU;EACV,gBAAgB;CACjB;CACD,eAAe;EACb,OAAO;EACP,UAAU;EACV,MAAM;EACN,OAAO;EACP,MAAM;EACN,KAAK;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U;CACX;CACD,KAAK;EACH,MAAM;EACN,OAAO;EACP,KAAK;EACL,OAAO;EACP,KAAK;EACL,KAAK;EACL,OAAO;EACP,WAAW;EACX,QAAQ;EACR,MAAM;EACN,KAAK;EACL,QAAQ;EACR,UAAU;CACX;CASD,SAAS;EACP,SAAS;EACT,WAAW;EACX,UAAU;CACX;CACD,SAAS;EACP,MAAM;EACN,SAAS;CACV;CACD,QAAQ,EACN,OAAO,eACR;CACD,YAAY;EACV,MAAM;EACN,UAAU;EACV,cAAc;EACd,WAAW;EACX,OAAO;EACP,WAAW;EACX,eAAe;EACf,YAAY;EACZ,oBAAoB;EACpB,cAAc;EACd,WAAW;EACX,YAAY;EACZ,UAAU;EACV,WAAW;EACX,SAAS;EACT,OAAO;EACP,SAAS;EACT,SAAS;EACT,gBAAgB;EAChB,gBAAgB;EAChB,kBAAkB;EAClB,kBAAkB;EAClB,kBAAkB;EAClB,kBAAkB;EAClB,YAAY;EACZ,IAAI;EACJ,IAAI;CACL;CACD,SAAS;EACP,OAAO;EACP,iBAAiB;EACjB,UAAU;EACV,WAAW;CACZ;CACD,SAAS,EACP,OAAO,eACR;CACD,QAAQ,EACN,OAAO,UACR;CACD,OAAO,EACL,OAAO,OACR;CACD,OAAO;EACL,OAAO;EACP,SAAS;EACT,UAAU;EACV,QAAQ;EACR,SAAS;EACT,KAAK;CACN;CACD,UAAU,EACR,OAAO,SACR;CACD,YAAY,EACV,OAAO,QACR;CACD,MAAM,EACJ,OAAO,SACR;CACD,QAAQ;EACN,OAAO;EACP,OAAO;EACP,OAAO;CACR;CACD,WAAW,EACT,OAAO,YACR;CACD,WAAW;EACT,OAAO;EACP,aAAa;CACd;CACD,QAAQ;EACN,UAAU;EACV,WAAW;EACX,aAAa;CACd;CACD,WAAW;EACT,QAAQ;EACR,OAAO;CACR;CACD,MAAM,EACJ,QAAQ;EACN,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;CACN,EACF;CACD,cAAc,EACZ,aAAa,IACd;CACD,SAAS;EACP,OAAO;EACP,MAAM;CACP;CACD,WAAW;EACT,SAAS;EACT,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,OAAO;EACP,OAAO;EACP,SAAS;CACV;AACF"}
@@ -494,6 +494,21 @@ const wrCs = {
494
494
  marquee: {
495
495
  pause: "Pozastavit",
496
496
  play: "Přehrát"
497
+ },
498
+ httpError: {
499
+ network: "Bez spojení se serverem. Zkontrolujte síť a zkuste to znovu.",
500
+ 400: "Server data nepřijal. Zkontrolujte pole.",
501
+ 401: "Relace skončila. Přihlaste se znovu.",
502
+ 403: "K této akci nemáte oprávnění.",
503
+ 404: "Nenalezeno. Záznam mohl být smazán.",
504
+ 409: "Konflikt s existujícími daty. Obnovte stránku a zkuste to znovu.",
505
+ 413: "Data jsou příliš velká k odeslání.",
506
+ 422: "Některá data nejsou platná. Zkontrolujte pole.",
507
+ 429: "Příliš mnoho požadavků. Zkuste to za chvíli znovu.",
508
+ 503: "Server není dostupný. Zkuste to za minutu znovu.",
509
+ "4xx": "Požadavek byl odmítnut. Kód chyby: {{status}}.",
510
+ "5xx": "Chyba serveru. Zkuste to později. Kód chyby: {{status}}.",
511
+ unknown: "Něco se pokazilo. Zkuste to později."
497
512
  }
498
513
  };
499
514
  export { wrCs };
@@ -1 +1 @@
1
- {"version":3,"file":"ngwr-i18n-cs.mjs","names":[],"sources":["../../../projects/lib/i18n/cs/public-api.ts"],"sourcesContent":["import { type WrI18nCatalog } from 'ngwr/i18n';\n\n/** Base Czech catalog for ngwr built-in component strings. */\nexport const wrCs: WrI18nCatalog = {\n common: {\n ok: 'OK',\n cancel: 'Zrušit',\n close: 'Zavřít',\n confirm: 'Potvrdit',\n delete: 'Smazat',\n save: 'Uložit',\n edit: 'Upravit',\n add: 'Přidat',\n remove: 'Odebrat',\n clear: 'Vymazat',\n search: 'Hledat',\n loading: 'Načítání…',\n select: 'Vybrat',\n next: 'Další',\n previous: 'Předchozí',\n back: 'Zpět',\n today: 'Dnes',\n yesterday: 'Včera',\n tomorrow: 'Zítra',\n of: 'z',\n },\n pagination: {\n prev: 'Předchozí stránka',\n next: 'Další stránka',\n itemsPerPage: 'Položek na stránku',\n perPage: '{{size}} / str.',\n goToPage: 'Přejít na stránku {{page}}',\n label: 'Stránkování',\n pageOf: 'Stránka {{current}} z {{total}}',\n range: '{{from}}–{{to}} z {{total}}',\n compact: '{{current}} / {{total}}',\n },\n table: {\n empty: 'Žádná data',\n loading: 'Načítání…',\n sort: 'Seřadit sloupec {{column}}',\n filter: 'Filtrovat sloupec {{column}}',\n selectAll: 'Vybrat všechny řádky',\n selectRow: 'Vybrat řádek',\n expandRow: 'Přepnout podrobnosti řádku',\n toggleRow: 'Přepnout podřízené řádky',\n selectGroup: 'Vybrat skupinu',\n toggleGroup: 'Přepnout skupinu',\n noMatches: 'Žádné shody',\n search: 'Hledat',\n reset: 'Resetovat',\n columns: 'Sloupce',\n showAllColumns: 'Zobrazit vše',\n selected: 'Vybráno: {{count}}',\n clearSelection: 'Zrušit výběr',\n },\n eventCalendar: {\n today: 'Dnes',\n previous: 'Předchozí',\n next: 'Další',\n month: 'Měsíc',\n week: 'Týden',\n day: 'Den',\n time: 'Čas',\n allDay: 'Celý den',\n label: 'Kalendář',\n more: 'Další: {{count}}',\n header: '{{month}} {{year}}',\n range: '{{from}} – {{to}}',\n chipLabel: '{{title}}, {{time}}',\n slotLabel: '{{time}} — {{date}}',\n allDayCellLabel: '{{label}} — {{date}}',\n },\n tour: {\n next: 'Další',\n back: 'Zpět',\n done: 'Hotovo',\n skip: 'Přeskočit',\n progress: 'Krok {{current}} z {{total}}',\n },\n resizable: {\n handle: 'Změnit velikost',\n },\n splitter: {\n divider: 'Změnit velikost panelů',\n },\n stepper: {\n optional: 'nepovinné',\n completed: 'dokončeno',\n },\n transfer: {\n source: 'Dostupné',\n target: 'Vybrané',\n search: 'Hledat',\n empty: 'Nic tu není',\n selectAll: 'Vybrat vše',\n toTarget: 'Přesunout mezi vybrané',\n toSource: 'Vrátit mezi dostupné',\n count: '{{checked}} / {{total}}',\n selectAllAria: '{{pane}} — {{action}}',\n },\n form: {\n optional: 'nepovinné',\n },\n select: {\n label: 'Vybrat',\n placeholder: 'Vyberte…',\n empty: 'Žádné možnosti',\n clearSelection: 'Zrušit výběr',\n removeItem: 'Odebrat {{label}}',\n noResults: 'Žádné výsledky',\n results: 'Počet výsledků: {{count}}',\n loading: 'Načítání…',\n loadError: 'Výsledky se nepodařilo načíst',\n retry: 'Zkusit znovu',\n more: 'Další: {{count}}',\n selectAll: 'Vybrat vše',\n },\n tree: {\n expand: 'Rozbalit',\n collapse: 'Sbalit',\n placeholder: 'Vyberte…',\n clearSelection: 'Zrušit výběr',\n removeItem: 'Odebrat {{label}}',\n more: 'Další: {{count}}',\n moveKeyHelp:\n 'Klávesami Alt+Enter položku uchopíte, šipkami ji přesunete. ' +\n 'Klávesou Enter ji položíte, klávesou Escape ji vrátíte zpět.',\n },\n commandPalette: {\n label: 'Paleta příkazů',\n placeholder: 'Zadejte příkaz nebo hledejte…',\n noResults: 'Žádné výsledky',\n loading: 'Hledání…',\n escHint: 'esc',\n },\n empty: {\n noData: 'Žádná data',\n },\n fileUpload: {\n browse: 'Kliknutím vyberte',\n dropZone: 'nebo sem přetáhněte soubory',\n removeFile: 'Odebrat {{name}}',\n size: '{{value}} {{unit}}',\n unitByte: 'B',\n unitKb: 'kB',\n unitMb: 'MB',\n unitGb: 'GB',\n unitTb: 'TB',\n uploading: 'Nahrávání',\n uploaded: 'Nahráno',\n failed: 'Nahrání se nezdařilo',\n status: '{{name}}: {{status}}',\n retry: 'Zkusit znovu',\n },\n popconfirm: {\n label: 'Potvrzení akce',\n confirm: 'Potvrdit',\n cancel: 'Zrušit',\n },\n toast: {\n region: 'Oznámení',\n close: 'Zavřít',\n copy: 'Kopírovat',\n copied: 'Zkopírováno',\n closeAll: 'Zavřít vše',\n },\n copyValue: {\n copy: 'Kopírovat',\n copied: 'Zkopírováno',\n empty: '-',\n },\n copyToClipboard: {\n copied: 'Zkopírováno',\n },\n input: {\n showPassword: 'Zobrazit heslo',\n hidePassword: 'Skrýt heslo',\n },\n inputNumber: {\n increment: 'Zvýšit',\n decrement: 'Snížit',\n },\n inputOtp: {\n label: 'Ověřovací kód',\n digit: 'Číslice {{index}}',\n character: 'Znak {{index}}',\n },\n anchor: {\n label: 'Obsah',\n },\n avatar: {\n alt: 'Avatar',\n },\n backTop: {\n label: 'Zpět nahoru',\n },\n breadcrumbs: {\n label: 'Drobečková navigace',\n },\n burger: {\n label: 'Přepnout nabídku',\n },\n calendar: {\n prevMonth: 'Předchozí měsíc',\n nextMonth: 'Další měsíc',\n prevYear: 'Předchozí rok',\n nextYear: 'Další rok',\n monthList: 'Měsíce',\n yearList: 'Roky',\n quarterList: 'Čtvrtletí',\n quarter: '{{quarter}}. čtvrtletí',\n prevYears: 'Předchozích 12 let',\n nextYears: 'Dalších 12 let',\n header: '{{month}} {{year}}',\n yearRange: '{{from}} – {{to}}',\n dayLabel: '{{weekday}}, {{date}}',\n },\n imageCropper: {\n empty: 'Žádný obrázek',\n window: 'Oblast oříznutí',\n keyHelp:\n 'Šipky posouvají výřez. Alt se šipkou mění jeho velikost, Shift zvětšuje krok. ' +\n 'Výřez se oznamuje jako pozice zleva, pozice shora, šířka a výška v pixelech obrázku.',\n },\n sortableList: {\n keyHelp:\n 'Mezerníkem položku uchopíte, šipkami ji přesunete. ' +\n 'Dalším stisknutím mezerníku ji položíte, klávesou Escape ji vrátíte zpět.',\n grabbed: 'Uchopeno. {{index}} z {{total}}.',\n moved: '{{index}} z {{total}}.',\n dropped: 'Položeno. {{index}} z {{total}}.',\n cancelled: 'Přesun zrušen.',\n groupKeyHelp:\n 'Mezerníkem položku uchopíte, šipkami ji přesunete v seznamu nebo do sousedního seznamu. ' +\n 'Dalším stisknutím mezerníku ji položíte, klávesou Escape ji vrátíte zpět.',\n movedTo: 'Přesunuto do: {{list}}. {{index}} z {{total}}.',\n listPosition: 'seznam {{index}} z {{total}}',\n },\n colorPicker: {\n area: 'Sytost a jas, {{saturation}} % a {{brightness}} %',\n hue: 'Odstín',\n alpha: 'Krytí',\n formatHex: 'HEX',\n formatRgb: 'RGB',\n formatHsl: 'HSL',\n channelHex: 'HEX',\n channelRed: 'R',\n channelGreen: 'G',\n channelBlue: 'B',\n channelHue: 'H',\n channelSaturation: 'S%',\n channelLightness: 'L%',\n channelAlpha: 'A%',\n },\n // What a chart shows in place of its marks: no data, a request in flight, a failed\n // load. One set for every chart; each has a `*Label` input over it.\n chart: {\n empty: 'Žádná data',\n loading: 'Načítání…',\n error: 'Nepodařilo se načíst',\n },\n barChart: {\n label: 'Sloupcový graf',\n total: 'Celkem',\n value: 'Hodnota',\n datum: '{{label}}: {{value}}',\n },\n calendarHeatmap: {\n label: 'Kalendářní tepelná mapa',\n cell: '{{date}}: {{count}}',\n },\n lineChart: {\n label: 'Spojnicový graf',\n areaLabel: 'Plošný graf',\n },\n donutChart: {\n label: 'Prstencový graf',\n pieLabel: 'Koláčový graf',\n },\n chartLegend: {\n toggleLabel: 'Přepnout viditelnost řad',\n hidden: 'skryto',\n },\n scatterChart: {\n label: 'Bodový graf',\n x: 'X',\n y: 'Y',\n size: 'Velikost',\n },\n radarChart: {\n label: 'Paprskový graf',\n polarAreaLabel: 'Polární plošný graf',\n },\n heatmapChart: {\n label: 'Teplotní mapa',\n noData: 'Žádná data',\n },\n funnelChart: {\n label: 'Trychtýřový graf',\n stage: 'Fáze',\n value: 'Hodnota',\n fromPrevious: 'Z předchozí',\n fromFirst: 'Z první',\n ofPrevious: '{{percent}} z předchozí',\n ofFirst: '{{percent}} z první',\n stageName: '{{label}}: {{value}}',\n stageNameOne: '{{label}}: {{value}}, {{conversion}}',\n stageNameBoth: '{{label}}: {{value}}, {{previous}}, {{first}}',\n },\n waterfallChart: {\n label: 'Vodopádový graf',\n step: 'Krok',\n change: 'Změna',\n runningTotal: 'Průběžný součet',\n changeStep: '{{label}}: {{change}}, průběžný součet {{total}}',\n totalStep: '{{label}}: součet {{total}}',\n },\n treemapChart: {\n label: 'Stromová mapa',\n value: 'Hodnota',\n share: 'Podíl',\n },\n bulletChart: {\n label: 'Odrážkový graf',\n target: 'Cíl',\n summary: '{{label}}: {{value}} z cíle {{target}}',\n summaryNoTarget: '{{label}}: {{value}}',\n summaryNoValue: '{{label}}: bez hodnoty, cíl {{target}}',\n noValue: '{{label}}: bez hodnoty',\n },\n boxplotChart: {\n label: 'Krabicový graf',\n group: 'Skupina',\n upperWhisker: 'Horní vous',\n q3: 'Q3',\n median: 'Medián',\n q1: 'Q1',\n lowerWhisker: 'Dolní vous',\n outliers: 'Odlehlé hodnoty',\n moreOutliers: 'ještě {{count}}',\n },\n candlestickChart: {\n label: 'Svíčkový graf',\n open: 'Otevření',\n high: 'Maximum',\n low: 'Minimum',\n close: 'Uzavření',\n },\n compare: {\n label: 'Oddělovač porovnání',\n },\n carousel: {\n label: 'Karusel',\n goToSlide: 'Přejít na snímek {{index}}',\n position: 'Snímek {{current}} z {{total}}',\n prev: 'Předchozí snímek',\n next: 'Další snímek',\n pagination: 'Stránkování karuselu',\n roledescription: 'karusel',\n slideRoledescription: 'snímek',\n },\n alert: {\n close: 'Zavřít upozornění',\n },\n tag: {\n remove: 'Odebrat {{label}}',\n },\n qr: {\n label: 'QR kód',\n },\n image: {\n viewer: 'Náhled obrázku',\n open: 'Otevřít náhled',\n close: 'Zavřít náhled',\n counter: '{{current}} / {{total}}',\n position: 'Obrázek {{current}} z {{total}}',\n },\n window: {\n close: 'Zavřít',\n minimize: 'Minimalizovat',\n maximize: 'Maximalizovat',\n restore: 'Obnovit',\n restoreDown: 'Obnovit velikost',\n restoreWindow: 'Obnovit {{title}}',\n closeWindow: 'Zavřít okno',\n untitled: 'Bez názvu',\n taskbar: 'Minimalizovaná okna',\n taskbarAll: 'Otevřená okna',\n taskbarMore: 'Další okna: {{count}}',\n moveMode: 'Přesouvání okna. Použijte šipky, Enter pro dokončení a Escape pro zrušení.',\n resizeMode: 'Změna velikosti okna. Použijte šipky, Enter pro dokončení a Escape pro zrušení.',\n moved: 'Okno přesunuto na {{x}}, {{y}}',\n resized: 'Velikost okna změněna na {{width}} krát {{height}}',\n },\n dialog: {\n close: 'Zavřít dialog',\n },\n popover: {\n label: 'Vyskakovací panel',\n },\n editor: {\n label: 'Formátovaný text',\n toolbar: 'Formátování',\n bold: 'Tučné',\n italic: 'Kurzíva',\n underline: 'Podtržené',\n strike: 'Přeškrtnuté',\n code: 'Kód v textu',\n paragraph: 'Odstavec',\n heading: 'Nadpis {{level}}',\n bulletList: 'Odrážkový seznam',\n orderedList: 'Číslovaný seznam',\n blockquote: 'Citace',\n codeBlock: 'Blok kódu',\n link: 'Vložit odkaz',\n horizontalRule: 'Vodorovná čára',\n undo: 'Zpět',\n redo: 'Znovu',\n linkUrl: 'Adresa odkazu',\n linkApply: 'Použít',\n linkRemove: 'Odebrat odkaz',\n linkInvalid: 'Tuto adresu nelze použít jako odkaz.',\n shortcut: '{{label}} ({{keys}})',\n keyCtrl: 'Ctrl',\n keyShift: 'Shift',\n keyAlt: 'Alt',\n taskDone: 'Splněno:',\n taskTodo: 'Nesplněno:',\n },\n kbd: {\n ctrl: 'Ctrl',\n shift: 'Shift',\n alt: 'Alt',\n enter: 'Enter',\n esc: 'Esc',\n tab: 'Tab',\n space: 'Mezerník',\n backspace: 'Backspace',\n delete: 'Delete',\n home: 'Home',\n end: 'End',\n pageUp: 'Page Up',\n pageDown: 'Page Down',\n },\n mention: {\n listbox: 'Zmínky',\n available: 'Počet shod: {{count}}',\n inserted: 'Vloženo: {{label}}',\n },\n comment: {\n send: 'Odeslat',\n replies: 'Odpovědi',\n },\n drawer: {\n close: 'Zavřít vysouvací panel',\n },\n datePicker: {\n open: 'Otevřít kalendář',\n openTime: 'Otevřít výběr času',\n openDateTime: 'Otevřít výběr data a času',\n openRange: 'Otevřít kalendář pro výběr období',\n panel: 'Výběr data',\n panelTime: 'Výběr času',\n panelDateTime: 'Výběr data a času',\n panelRange: 'Výběr období',\n panelRangeDateTime: 'Výběr období a času',\n quarterValue: '{{quarter}}. čtvrtletí {{year}}',\n weekValue: '{{week}}. týden {{year}}',\n rangeStart: 'Začátek období',\n rangeEnd: 'Konec období',\n startTime: 'Čas začátku',\n endTime: 'Čas konce',\n hours: 'Hodiny',\n minutes: 'Minuty',\n seconds: 'Sekundy',\n incrementHours: 'Zvýšit hodiny',\n decrementHours: 'Snížit hodiny',\n incrementMinutes: 'Zvýšit minuty',\n decrementMinutes: 'Snížit minuty',\n incrementSeconds: 'Zvýšit sekundy',\n decrementSeconds: 'Snížit sekundy',\n toggleAmPm: 'Přepnout dop. / odp.',\n am: 'dop.',\n pm: 'odp.',\n },\n sidebar: {\n label: 'Postranní panel',\n containsCurrent: 'obsahuje aktuální stránku',\n subpages: 'Podstránky položky {{title}}',\n separator: ',',\n },\n spinner: {\n label: 'Načítání',\n },\n rating: {\n label: 'Hodnocení',\n },\n gauge: {\n label: 'Ukazatel',\n },\n graph: {\n label: 'Graf',\n parents: 'Rodiče: {{names}}.',\n children: 'Potomci: {{names}}.',\n zoomIn: 'Přiblížit',\n zoomOut: 'Oddálit',\n fit: 'Přizpůsobit zobrazení',\n },\n progress: {\n label: 'Průběh',\n },\n meterGroup: {\n label: 'Měřidlo',\n },\n knob: {\n label: 'Hodnota',\n },\n slider: {\n label: 'Hodnota',\n lower: 'Dolní hodnota',\n upper: 'Horní hodnota',\n },\n speedDial: {\n label: 'Akce',\n },\n statistic: {\n delta: '{{value}}{{suffix}}',\n deltaSuffix: '%',\n },\n result: {\n notFound: 'Omlouváme se, požadovaná stránka neexistuje.',\n forbidden: 'Omlouváme se, k této stránce nemáte přístup.',\n serverError: 'Omlouváme se, něco se pokazilo.',\n },\n loadState: {\n failed: 'Nepodařilo se načíst',\n retry: 'Zkusit znovu',\n },\n date: {\n months: {\n jan: 'leden',\n feb: 'únor',\n mar: 'březen',\n apr: 'duben',\n may: 'květen',\n jun: 'červen',\n jul: 'červenec',\n aug: 'srpen',\n sep: 'září',\n oct: 'říjen',\n nov: 'listopad',\n dec: 'prosinec',\n },\n },\n rotateReveal: {\n conjunction: 'a',\n },\n marquee: {\n pause: 'Pozastavit',\n play: 'Přehrát',\n },\n};\n"],"mappings":"AAGA,MAAa,OAAsB;CACjC,QAAQ;EACN,IAAI;EACJ,QAAQ;EACR,OAAO;EACP,SAAS;EACT,QAAQ;EACR,MAAM;EACN,MAAM;EACN,KAAK;EACL,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,SAAS;EACT,QAAQ;EACR,MAAM;EACN,UAAU;EACV,MAAM;EACN,OAAO;EACP,WAAW;EACX,UAAU;EACV,IAAI;CACL;CACD,YAAY;EACV,MAAM;EACN,MAAM;EACN,cAAc;EACd,SAAS;EACT,UAAU;EACV,OAAO;EACP,QAAQ;EACR,OAAO;EACP,SAAS;CACV;CACD,OAAO;EACL,OAAO;EACP,SAAS;EACT,MAAM;EACN,QAAQ;EACR,WAAW;EACX,WAAW;EACX,WAAW;EACX,WAAW;EACX,aAAa;EACb,aAAa;EACb,WAAW;EACX,QAAQ;EACR,OAAO;EACP,SAAS;EACT,gBAAgB;EAChB,UAAU;EACV,gBAAgB;CACjB;CACD,eAAe;EACb,OAAO;EACP,UAAU;EACV,MAAM;EACN,OAAO;EACP,MAAM;EACN,KAAK;EACL,MAAM;EACN,QAAQ;EACR,OAAO;EACP,MAAM;EACN,QAAQ;EACR,OAAO;EACP,WAAW;EACX,WAAW;EACX,iBAAiB;CAClB;CACD,MAAM;EACJ,MAAM;EACN,MAAM;EACN,MAAM;EACN,MAAM;EACN,UAAU;CACX;CACD,WAAW,EACT,QAAQ,kBACT;CACD,UAAU,EACR,SAAS,yBACV;CACD,SAAS;EACP,UAAU;EACV,WAAW;CACZ;CACD,UAAU;EAC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ACV,MAAM;EACN,UAAU;EACV,cAAc;EACd,WAAW;EACX,OAAO;EACP,WAAW;EACX,eAAe;EACf,YAAY;EACZ,oBAAoB;EACpB,cAAc;EACd,WAAW;EACX,YAAY;EACZ,UAAU;EACV,WAAW;EACX,SAAS;EACT,OAAO;EACP,SAAS;EACT,SAAS;EACT,gBAAgB;EAChB,gBAAgB;EAChB,kBAAkB;EAClB,kBAAkB;EAClB,kBAAkB;EAClB,kBAAkB;EAClB,YAAY;EACZ,IAAI;EACJ,IAAI;CACL;CACD,SAAS;EACP,OAAO;EACP,iBAAiB;EACjB,UAAU;EACV,WAAW;CACZ;CACD,SAAS,EACP,OAAO,WACR;CACD,QAAQ,EACN,OAAO,YACR;CACD,OAAO,EACL,OAAO,WACR;CACD,OAAO;EACL,OAAO;EACP,SAAS;EACT,UAAU;EACV,QAAQ;EACR,SAAS;EACT,KAAK;CACN;CACD,UAAU,EACR,OAAO,SACR;CACD,YAAY,EACV,OAAO,UACR;CACD,MAAM,EACJ,OAAO,UACR;CACD,QAAQ;EACN,OAAO;EACP,OAAO;EACP,OAAO;CACR;CACD,WAAW,EACT,OAAO,OACR;CACD,WAAW;EACT,OAAO;EACP,aAAa;CACd;CACD,QAAQ;EACN,UAAU;EACV,WAAW;EACX,aAAa;CACd;CACD,WAAW;EACT,QAAQ;EACR,OAAO;CACR;CACD,MAAM,EACJ,QAAQ;EACN,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;CACN,EACF;CACD,cAAc,EACZ,aAAa,IACd;CACD,SAAS;EACP,OAAO;EACP,MAAM;CACP;AACF"}
1
+ {"version":3,"file":"ngwr-i18n-cs.mjs","names":[],"sources":["../../../projects/lib/i18n/cs/public-api.ts"],"sourcesContent":["import { type WrI18nCatalog } from 'ngwr/i18n';\n\n/** Base Czech catalog for ngwr built-in component strings. */\nexport const wrCs: WrI18nCatalog = {\n common: {\n ok: 'OK',\n cancel: 'Zrušit',\n close: 'Zavřít',\n confirm: 'Potvrdit',\n delete: 'Smazat',\n save: 'Uložit',\n edit: 'Upravit',\n add: 'Přidat',\n remove: 'Odebrat',\n clear: 'Vymazat',\n search: 'Hledat',\n loading: 'Načítání…',\n select: 'Vybrat',\n next: 'Další',\n previous: 'Předchozí',\n back: 'Zpět',\n today: 'Dnes',\n yesterday: 'Včera',\n tomorrow: 'Zítra',\n of: 'z',\n },\n pagination: {\n prev: 'Předchozí stránka',\n next: 'Další stránka',\n itemsPerPage: 'Položek na stránku',\n perPage: '{{size}} / str.',\n goToPage: 'Přejít na stránku {{page}}',\n label: 'Stránkování',\n pageOf: 'Stránka {{current}} z {{total}}',\n range: '{{from}}–{{to}} z {{total}}',\n compact: '{{current}} / {{total}}',\n },\n table: {\n empty: 'Žádná data',\n loading: 'Načítání…',\n sort: 'Seřadit sloupec {{column}}',\n filter: 'Filtrovat sloupec {{column}}',\n selectAll: 'Vybrat všechny řádky',\n selectRow: 'Vybrat řádek',\n expandRow: 'Přepnout podrobnosti řádku',\n toggleRow: 'Přepnout podřízené řádky',\n selectGroup: 'Vybrat skupinu',\n toggleGroup: 'Přepnout skupinu',\n noMatches: 'Žádné shody',\n search: 'Hledat',\n reset: 'Resetovat',\n columns: 'Sloupce',\n showAllColumns: 'Zobrazit vše',\n selected: 'Vybráno: {{count}}',\n clearSelection: 'Zrušit výběr',\n },\n eventCalendar: {\n today: 'Dnes',\n previous: 'Předchozí',\n next: 'Další',\n month: 'Měsíc',\n week: 'Týden',\n day: 'Den',\n time: 'Čas',\n allDay: 'Celý den',\n label: 'Kalendář',\n more: 'Další: {{count}}',\n header: '{{month}} {{year}}',\n range: '{{from}} – {{to}}',\n chipLabel: '{{title}}, {{time}}',\n slotLabel: '{{time}} — {{date}}',\n allDayCellLabel: '{{label}} — {{date}}',\n },\n tour: {\n next: 'Další',\n back: 'Zpět',\n done: 'Hotovo',\n skip: 'Přeskočit',\n progress: 'Krok {{current}} z {{total}}',\n },\n resizable: {\n handle: 'Změnit velikost',\n },\n splitter: {\n divider: 'Změnit velikost panelů',\n },\n stepper: {\n optional: 'nepovinné',\n completed: 'dokončeno',\n },\n transfer: {\n source: 'Dostupné',\n target: 'Vybrané',\n search: 'Hledat',\n empty: 'Nic tu není',\n selectAll: 'Vybrat vše',\n toTarget: 'Přesunout mezi vybrané',\n toSource: 'Vrátit mezi dostupné',\n count: '{{checked}} / {{total}}',\n selectAllAria: '{{pane}} — {{action}}',\n },\n form: {\n optional: 'nepovinné',\n },\n select: {\n label: 'Vybrat',\n placeholder: 'Vyberte…',\n empty: 'Žádné možnosti',\n clearSelection: 'Zrušit výběr',\n removeItem: 'Odebrat {{label}}',\n noResults: 'Žádné výsledky',\n results: 'Počet výsledků: {{count}}',\n loading: 'Načítání…',\n loadError: 'Výsledky se nepodařilo načíst',\n retry: 'Zkusit znovu',\n more: 'Další: {{count}}',\n selectAll: 'Vybrat vše',\n },\n tree: {\n expand: 'Rozbalit',\n collapse: 'Sbalit',\n placeholder: 'Vyberte…',\n clearSelection: 'Zrušit výběr',\n removeItem: 'Odebrat {{label}}',\n more: 'Další: {{count}}',\n moveKeyHelp:\n 'Klávesami Alt+Enter položku uchopíte, šipkami ji přesunete. ' +\n 'Klávesou Enter ji položíte, klávesou Escape ji vrátíte zpět.',\n },\n commandPalette: {\n label: 'Paleta příkazů',\n placeholder: 'Zadejte příkaz nebo hledejte…',\n noResults: 'Žádné výsledky',\n loading: 'Hledání…',\n escHint: 'esc',\n },\n empty: {\n noData: 'Žádná data',\n },\n fileUpload: {\n browse: 'Kliknutím vyberte',\n dropZone: 'nebo sem přetáhněte soubory',\n removeFile: 'Odebrat {{name}}',\n size: '{{value}} {{unit}}',\n unitByte: 'B',\n unitKb: 'kB',\n unitMb: 'MB',\n unitGb: 'GB',\n unitTb: 'TB',\n uploading: 'Nahrávání',\n uploaded: 'Nahráno',\n failed: 'Nahrání se nezdařilo',\n status: '{{name}}: {{status}}',\n retry: 'Zkusit znovu',\n },\n popconfirm: {\n label: 'Potvrzení akce',\n confirm: 'Potvrdit',\n cancel: 'Zrušit',\n },\n toast: {\n region: 'Oznámení',\n close: 'Zavřít',\n copy: 'Kopírovat',\n copied: 'Zkopírováno',\n closeAll: 'Zavřít vše',\n },\n copyValue: {\n copy: 'Kopírovat',\n copied: 'Zkopírováno',\n empty: '-',\n },\n copyToClipboard: {\n copied: 'Zkopírováno',\n },\n input: {\n showPassword: 'Zobrazit heslo',\n hidePassword: 'Skrýt heslo',\n },\n inputNumber: {\n increment: 'Zvýšit',\n decrement: 'Snížit',\n },\n inputOtp: {\n label: 'Ověřovací kód',\n digit: 'Číslice {{index}}',\n character: 'Znak {{index}}',\n },\n anchor: {\n label: 'Obsah',\n },\n avatar: {\n alt: 'Avatar',\n },\n backTop: {\n label: 'Zpět nahoru',\n },\n breadcrumbs: {\n label: 'Drobečková navigace',\n },\n burger: {\n label: 'Přepnout nabídku',\n },\n calendar: {\n prevMonth: 'Předchozí měsíc',\n nextMonth: 'Další měsíc',\n prevYear: 'Předchozí rok',\n nextYear: 'Další rok',\n monthList: 'Měsíce',\n yearList: 'Roky',\n quarterList: 'Čtvrtletí',\n quarter: '{{quarter}}. čtvrtletí',\n prevYears: 'Předchozích 12 let',\n nextYears: 'Dalších 12 let',\n header: '{{month}} {{year}}',\n yearRange: '{{from}} – {{to}}',\n dayLabel: '{{weekday}}, {{date}}',\n },\n imageCropper: {\n empty: 'Žádný obrázek',\n window: 'Oblast oříznutí',\n keyHelp:\n 'Šipky posouvají výřez. Alt se šipkou mění jeho velikost, Shift zvětšuje krok. ' +\n 'Výřez se oznamuje jako pozice zleva, pozice shora, šířka a výška v pixelech obrázku.',\n },\n sortableList: {\n keyHelp:\n 'Mezerníkem položku uchopíte, šipkami ji přesunete. ' +\n 'Dalším stisknutím mezerníku ji položíte, klávesou Escape ji vrátíte zpět.',\n grabbed: 'Uchopeno. {{index}} z {{total}}.',\n moved: '{{index}} z {{total}}.',\n dropped: 'Položeno. {{index}} z {{total}}.',\n cancelled: 'Přesun zrušen.',\n groupKeyHelp:\n 'Mezerníkem položku uchopíte, šipkami ji přesunete v seznamu nebo do sousedního seznamu. ' +\n 'Dalším stisknutím mezerníku ji položíte, klávesou Escape ji vrátíte zpět.',\n movedTo: 'Přesunuto do: {{list}}. {{index}} z {{total}}.',\n listPosition: 'seznam {{index}} z {{total}}',\n },\n colorPicker: {\n area: 'Sytost a jas, {{saturation}} % a {{brightness}} %',\n hue: 'Odstín',\n alpha: 'Krytí',\n formatHex: 'HEX',\n formatRgb: 'RGB',\n formatHsl: 'HSL',\n channelHex: 'HEX',\n channelRed: 'R',\n channelGreen: 'G',\n channelBlue: 'B',\n channelHue: 'H',\n channelSaturation: 'S%',\n channelLightness: 'L%',\n channelAlpha: 'A%',\n },\n // What a chart shows in place of its marks: no data, a request in flight, a failed\n // load. One set for every chart; each has a `*Label` input over it.\n chart: {\n empty: 'Žádná data',\n loading: 'Načítání…',\n error: 'Nepodařilo se načíst',\n },\n barChart: {\n label: 'Sloupcový graf',\n total: 'Celkem',\n value: 'Hodnota',\n datum: '{{label}}: {{value}}',\n },\n calendarHeatmap: {\n label: 'Kalendářní tepelná mapa',\n cell: '{{date}}: {{count}}',\n },\n lineChart: {\n label: 'Spojnicový graf',\n areaLabel: 'Plošný graf',\n },\n donutChart: {\n label: 'Prstencový graf',\n pieLabel: 'Koláčový graf',\n },\n chartLegend: {\n toggleLabel: 'Přepnout viditelnost řad',\n hidden: 'skryto',\n },\n scatterChart: {\n label: 'Bodový graf',\n x: 'X',\n y: 'Y',\n size: 'Velikost',\n },\n radarChart: {\n label: 'Paprskový graf',\n polarAreaLabel: 'Polární plošný graf',\n },\n heatmapChart: {\n label: 'Teplotní mapa',\n noData: 'Žádná data',\n },\n funnelChart: {\n label: 'Trychtýřový graf',\n stage: 'Fáze',\n value: 'Hodnota',\n fromPrevious: 'Z předchozí',\n fromFirst: 'Z první',\n ofPrevious: '{{percent}} z předchozí',\n ofFirst: '{{percent}} z první',\n stageName: '{{label}}: {{value}}',\n stageNameOne: '{{label}}: {{value}}, {{conversion}}',\n stageNameBoth: '{{label}}: {{value}}, {{previous}}, {{first}}',\n },\n waterfallChart: {\n label: 'Vodopádový graf',\n step: 'Krok',\n change: 'Změna',\n runningTotal: 'Průběžný součet',\n changeStep: '{{label}}: {{change}}, průběžný součet {{total}}',\n totalStep: '{{label}}: součet {{total}}',\n },\n treemapChart: {\n label: 'Stromová mapa',\n value: 'Hodnota',\n share: 'Podíl',\n },\n bulletChart: {\n label: 'Odrážkový graf',\n target: 'Cíl',\n summary: '{{label}}: {{value}} z cíle {{target}}',\n summaryNoTarget: '{{label}}: {{value}}',\n summaryNoValue: '{{label}}: bez hodnoty, cíl {{target}}',\n noValue: '{{label}}: bez hodnoty',\n },\n boxplotChart: {\n label: 'Krabicový graf',\n group: 'Skupina',\n upperWhisker: 'Horní vous',\n q3: 'Q3',\n median: 'Medián',\n q1: 'Q1',\n lowerWhisker: 'Dolní vous',\n outliers: 'Odlehlé hodnoty',\n moreOutliers: 'ještě {{count}}',\n },\n candlestickChart: {\n label: 'Svíčkový graf',\n open: 'Otevření',\n high: 'Maximum',\n low: 'Minimum',\n close: 'Uzavření',\n },\n compare: {\n label: 'Oddělovač porovnání',\n },\n carousel: {\n label: 'Karusel',\n goToSlide: 'Přejít na snímek {{index}}',\n position: 'Snímek {{current}} z {{total}}',\n prev: 'Předchozí snímek',\n next: 'Další snímek',\n pagination: 'Stránkování karuselu',\n roledescription: 'karusel',\n slideRoledescription: 'snímek',\n },\n alert: {\n close: 'Zavřít upozornění',\n },\n tag: {\n remove: 'Odebrat {{label}}',\n },\n qr: {\n label: 'QR kód',\n },\n image: {\n viewer: 'Náhled obrázku',\n open: 'Otevřít náhled',\n close: 'Zavřít náhled',\n counter: '{{current}} / {{total}}',\n position: 'Obrázek {{current}} z {{total}}',\n },\n window: {\n close: 'Zavřít',\n minimize: 'Minimalizovat',\n maximize: 'Maximalizovat',\n restore: 'Obnovit',\n restoreDown: 'Obnovit velikost',\n restoreWindow: 'Obnovit {{title}}',\n closeWindow: 'Zavřít okno',\n untitled: 'Bez názvu',\n taskbar: 'Minimalizovaná okna',\n taskbarAll: 'Otevřená okna',\n taskbarMore: 'Další okna: {{count}}',\n moveMode: 'Přesouvání okna. Použijte šipky, Enter pro dokončení a Escape pro zrušení.',\n resizeMode: 'Změna velikosti okna. Použijte šipky, Enter pro dokončení a Escape pro zrušení.',\n moved: 'Okno přesunuto na {{x}}, {{y}}',\n resized: 'Velikost okna změněna na {{width}} krát {{height}}',\n },\n dialog: {\n close: 'Zavřít dialog',\n },\n popover: {\n label: 'Vyskakovací panel',\n },\n editor: {\n label: 'Formátovaný text',\n toolbar: 'Formátování',\n bold: 'Tučné',\n italic: 'Kurzíva',\n underline: 'Podtržené',\n strike: 'Přeškrtnuté',\n code: 'Kód v textu',\n paragraph: 'Odstavec',\n heading: 'Nadpis {{level}}',\n bulletList: 'Odrážkový seznam',\n orderedList: 'Číslovaný seznam',\n blockquote: 'Citace',\n codeBlock: 'Blok kódu',\n link: 'Vložit odkaz',\n horizontalRule: 'Vodorovná čára',\n undo: 'Zpět',\n redo: 'Znovu',\n linkUrl: 'Adresa odkazu',\n linkApply: 'Použít',\n linkRemove: 'Odebrat odkaz',\n linkInvalid: 'Tuto adresu nelze použít jako odkaz.',\n shortcut: '{{label}} ({{keys}})',\n keyCtrl: 'Ctrl',\n keyShift: 'Shift',\n keyAlt: 'Alt',\n taskDone: 'Splněno:',\n taskTodo: 'Nesplněno:',\n },\n kbd: {\n ctrl: 'Ctrl',\n shift: 'Shift',\n alt: 'Alt',\n enter: 'Enter',\n esc: 'Esc',\n tab: 'Tab',\n space: 'Mezerník',\n backspace: 'Backspace',\n delete: 'Delete',\n home: 'Home',\n end: 'End',\n pageUp: 'Page Up',\n pageDown: 'Page Down',\n },\n mention: {\n listbox: 'Zmínky',\n available: 'Počet shod: {{count}}',\n inserted: 'Vloženo: {{label}}',\n },\n comment: {\n send: 'Odeslat',\n replies: 'Odpovědi',\n },\n drawer: {\n close: 'Zavřít vysouvací panel',\n },\n datePicker: {\n open: 'Otevřít kalendář',\n openTime: 'Otevřít výběr času',\n openDateTime: 'Otevřít výběr data a času',\n openRange: 'Otevřít kalendář pro výběr období',\n panel: 'Výběr data',\n panelTime: 'Výběr času',\n panelDateTime: 'Výběr data a času',\n panelRange: 'Výběr období',\n panelRangeDateTime: 'Výběr období a času',\n quarterValue: '{{quarter}}. čtvrtletí {{year}}',\n weekValue: '{{week}}. týden {{year}}',\n rangeStart: 'Začátek období',\n rangeEnd: 'Konec období',\n startTime: 'Čas začátku',\n endTime: 'Čas konce',\n hours: 'Hodiny',\n minutes: 'Minuty',\n seconds: 'Sekundy',\n incrementHours: 'Zvýšit hodiny',\n decrementHours: 'Snížit hodiny',\n incrementMinutes: 'Zvýšit minuty',\n decrementMinutes: 'Snížit minuty',\n incrementSeconds: 'Zvýšit sekundy',\n decrementSeconds: 'Snížit sekundy',\n toggleAmPm: 'Přepnout dop. / odp.',\n am: 'dop.',\n pm: 'odp.',\n },\n sidebar: {\n label: 'Postranní panel',\n containsCurrent: 'obsahuje aktuální stránku',\n subpages: 'Podstránky položky {{title}}',\n separator: ',',\n },\n spinner: {\n label: 'Načítání',\n },\n rating: {\n label: 'Hodnocení',\n },\n gauge: {\n label: 'Ukazatel',\n },\n graph: {\n label: 'Graf',\n parents: 'Rodiče: {{names}}.',\n children: 'Potomci: {{names}}.',\n zoomIn: 'Přiblížit',\n zoomOut: 'Oddálit',\n fit: 'Přizpůsobit zobrazení',\n },\n progress: {\n label: 'Průběh',\n },\n meterGroup: {\n label: 'Měřidlo',\n },\n knob: {\n label: 'Hodnota',\n },\n slider: {\n label: 'Hodnota',\n lower: 'Dolní hodnota',\n upper: 'Horní hodnota',\n },\n speedDial: {\n label: 'Akce',\n },\n statistic: {\n delta: '{{value}}{{suffix}}',\n deltaSuffix: '%',\n },\n result: {\n notFound: 'Omlouváme se, požadovaná stránka neexistuje.',\n forbidden: 'Omlouváme se, k této stránce nemáte přístup.',\n serverError: 'Omlouváme se, něco se pokazilo.',\n },\n loadState: {\n failed: 'Nepodařilo se načíst',\n retry: 'Zkusit znovu',\n },\n date: {\n months: {\n jan: 'leden',\n feb: 'únor',\n mar: 'březen',\n apr: 'duben',\n may: 'květen',\n jun: 'červen',\n jul: 'červenec',\n aug: 'srpen',\n sep: 'září',\n oct: 'říjen',\n nov: 'listopad',\n dec: 'prosinec',\n },\n },\n rotateReveal: {\n conjunction: 'a',\n },\n marquee: {\n pause: 'Pozastavit',\n play: 'Přehrát',\n },\n httpError: {\n network: 'Bez spojení se serverem. Zkontrolujte síť a zkuste to znovu.',\n 400: 'Server data nepřijal. Zkontrolujte pole.',\n 401: 'Relace skončila. Přihlaste se znovu.',\n 403: 'K této akci nemáte oprávnění.',\n 404: 'Nenalezeno. Záznam mohl být smazán.',\n 409: 'Konflikt s existujícími daty. Obnovte stránku a zkuste to znovu.',\n 413: 'Data jsou příliš velká k odeslání.',\n 422: 'Některá data nejsou platná. Zkontrolujte pole.',\n 429: 'Příliš mnoho požadavků. Zkuste to za chvíli znovu.',\n 503: 'Server není dostupný. Zkuste to za minutu znovu.',\n '4xx': 'Požadavek byl odmítnut. Kód chyby: {{status}}.',\n '5xx': 'Chyba serveru. Zkuste to později. Kód chyby: {{status}}.',\n unknown: 'Něco se pokazilo. Zkuste to později.',\n },\n};\n"],"mappings":"AAGA,MAAa,OAAsB;CACjC,QAAQ;EACN,IAAI;EACJ,QAAQ;EACR,OAAO;EACP,SAAS;EACT,QAAQ;EACR,MAAM;EACN,MAAM;EACN,KAAK;EACL,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,SAAS;EACT,QAAQ;EACR,MAAM;EACN,UAAU;EACV,MAAM;EACN,OAAO;EACP,WAAW;EACX,UAAU;EACV,IAAI;CACL;CACD,YAAY;EACV,MAAM;EACN,MAAM;EACN,cAAc;EACd,SAAS;EACT,UAAU;E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AAM,EACJ,OAAO,UACR;CACD,QAAQ;EACN,OAAO;EACP,OAAO;EACP,OAAO;CACR;CACD,WAAW,EACT,OAAO,OACR;CACD,WAAW;EACT,OAAO;EACP,aAAa;CACd;CACD,QAAQ;EACN,UAAU;EACV,WAAW;EACX,aAAa;CACd;CACD,WAAW;EACT,QAAQ;EACR,OAAO;CACR;CACD,MAAM,EACJ,QAAQ;EACN,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;CACN,EACF;CACD,cAAc,EACZ,aAAa,IACd;CACD,SAAS;EACP,OAAO;EACP,MAAM;CACP;CACD,WAAW;EACT,SAAS;EACT,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,OAAO;EACP,OAAO;EACP,SAAS;CACV;AACF"}
@@ -494,6 +494,21 @@ const wrDe = {
494
494
  marquee: {
495
495
  pause: "Pausieren",
496
496
  play: "Abspielen"
497
+ },
498
+ httpError: {
499
+ network: "Keine Verbindung zum Server. Netzwerk prüfen und erneut versuchen.",
500
+ 400: "Der Server hat die Daten nicht angenommen. Bitte die Felder prüfen.",
501
+ 401: "Die Sitzung ist abgelaufen. Bitte erneut anmelden.",
502
+ 403: "Keine Berechtigung für diese Aktion.",
503
+ 404: "Nicht gefunden. Möglicherweise wurde der Eintrag gelöscht.",
504
+ 409: "Konflikt mit vorhandenen Daten. Seite neu laden und erneut versuchen.",
505
+ 413: "Die Daten sind zu groß zum Senden.",
506
+ 422: "Einige Daten sind ungültig. Bitte die Felder prüfen.",
507
+ 429: "Zu viele Anfragen. Bitte gleich noch einmal versuchen.",
508
+ 503: "Der Server ist nicht erreichbar. Bitte in einer Minute erneut versuchen.",
509
+ "4xx": "Die Anfrage wurde abgelehnt. Fehlercode: {{status}}.",
510
+ "5xx": "Serverfehler. Bitte später erneut versuchen. Fehlercode: {{status}}.",
511
+ unknown: "Etwas ist schiefgelaufen. Bitte später erneut versuchen."
497
512
  }
498
513
  };
499
514
  export { wrDe };