ngwr 16.1.0 → 16.2.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 (123) hide show
  1. package/date-picker/styles/_index.scss +89 -1
  2. package/dropdown/styles/_index.scss +37 -1
  3. package/fesm2022/ngwr-date-picker-testing.mjs +18 -0
  4. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  5. package/fesm2022/ngwr-date-picker.mjs +152 -8
  6. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  7. package/fesm2022/ngwr-date-stamp-testing.mjs.map +1 -1
  8. package/fesm2022/ngwr-date-stamp.mjs +73 -9
  9. package/fesm2022/ngwr-date-stamp.mjs.map +1 -1
  10. package/fesm2022/ngwr-date.mjs +86 -5
  11. package/fesm2022/ngwr-date.mjs.map +1 -1
  12. package/fesm2022/ngwr-dropdown-testing.mjs +38 -3
  13. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  14. package/fesm2022/ngwr-dropdown.mjs +358 -24
  15. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  16. package/fesm2022/ngwr-i18n-ar.mjs +7 -2
  17. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  18. package/fesm2022/ngwr-i18n-cs.mjs +7 -2
  19. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  20. package/fesm2022/ngwr-i18n-de.mjs +7 -2
  21. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  22. package/fesm2022/ngwr-i18n-en.mjs +7 -2
  23. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  24. package/fesm2022/ngwr-i18n-es.mjs +7 -2
  25. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  26. package/fesm2022/ngwr-i18n-fr.mjs +7 -2
  27. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  28. package/fesm2022/ngwr-i18n-he.mjs +7 -2
  29. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  30. package/fesm2022/ngwr-i18n-hi.mjs +7 -2
  31. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  32. package/fesm2022/ngwr-i18n-id.mjs +7 -2
  33. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  34. package/fesm2022/ngwr-i18n-it.mjs +7 -2
  35. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  36. package/fesm2022/ngwr-i18n-ja.mjs +7 -2
  37. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  38. package/fesm2022/ngwr-i18n-ko.mjs +7 -2
  39. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  40. package/fesm2022/ngwr-i18n-nl.mjs +7 -2
  41. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  42. package/fesm2022/ngwr-i18n-pl.mjs +7 -2
  43. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  44. package/fesm2022/ngwr-i18n-pt.mjs +7 -2
  45. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  46. package/fesm2022/ngwr-i18n-ru.mjs +7 -2
  47. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  48. package/fesm2022/ngwr-i18n-sv.mjs +7 -2
  49. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  50. package/fesm2022/ngwr-i18n-tr.mjs +7 -2
  51. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  52. package/fesm2022/ngwr-i18n-uk.mjs +7 -2
  53. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  54. package/fesm2022/ngwr-i18n-vi.mjs +7 -2
  55. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  56. package/fesm2022/ngwr-i18n-zh-tw.mjs +7 -2
  57. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  58. package/fesm2022/ngwr-i18n-zh.mjs +7 -2
  59. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  60. package/fesm2022/ngwr-lightbox-testing.mjs +26 -0
  61. package/fesm2022/ngwr-lightbox-testing.mjs.map +1 -1
  62. package/fesm2022/ngwr-lightbox.mjs +246 -10
  63. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  64. package/fesm2022/ngwr-pipes.mjs +28 -6
  65. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  66. package/fesm2022/ngwr-schema-form.mjs +3 -0
  67. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  68. package/fesm2022/ngwr-slider-testing.mjs +17 -0
  69. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  70. package/fesm2022/ngwr-slider.mjs +87 -11
  71. package/fesm2022/ngwr-slider.mjs.map +1 -1
  72. package/fesm2022/ngwr-sortable-list-testing.mjs +103 -0
  73. package/fesm2022/ngwr-sortable-list-testing.mjs.map +1 -0
  74. package/fesm2022/ngwr-sortable-list.mjs +257 -53
  75. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  76. package/fesm2022/ngwr-version.mjs +1 -1
  77. package/fesm2022/ngwr-version.mjs.map +1 -1
  78. package/i18n/ar.json +7 -2
  79. package/i18n/cs.json +7 -2
  80. package/i18n/de.json +7 -2
  81. package/i18n/en.json +7 -2
  82. package/i18n/es.json +7 -2
  83. package/i18n/fr.json +7 -2
  84. package/i18n/he.json +7 -2
  85. package/i18n/hi.json +7 -2
  86. package/i18n/id.json +7 -2
  87. package/i18n/it.json +7 -2
  88. package/i18n/ja.json +7 -2
  89. package/i18n/ko.json +7 -2
  90. package/i18n/nl.json +7 -2
  91. package/i18n/pl.json +7 -2
  92. package/i18n/pt.json +7 -2
  93. package/i18n/ru.json +7 -2
  94. package/i18n/sv.json +7 -2
  95. package/i18n/tr.json +7 -2
  96. package/i18n/uk.json +7 -2
  97. package/i18n/vi.json +7 -2
  98. package/i18n/zh-TW.json +7 -2
  99. package/i18n/zh.json +7 -2
  100. package/lightbox/styles/_rules.scss +96 -0
  101. package/llms-full.txt +12 -8
  102. package/llms.txt +12 -0
  103. package/package.json +5 -1
  104. package/schematics/use/symbol-map.json +1 -0
  105. package/skills/ngwr/SKILL.md +1 -1
  106. package/skills/ngwr/references/catalog.md +2 -1
  107. package/slider/styles/_index.scss +106 -0
  108. package/sortable-list/styles/_rules.scss +23 -1
  109. package/types/ngwr-date-picker-testing.d.ts +17 -0
  110. package/types/ngwr-date-picker.d.ts +79 -2
  111. package/types/ngwr-date-stamp-testing.d.ts +1 -1
  112. package/types/ngwr-date-stamp.d.ts +53 -7
  113. package/types/ngwr-date.d.ts +118 -15
  114. package/types/ngwr-dropdown-testing.d.ts +53 -5
  115. package/types/ngwr-dropdown.d.ts +100 -0
  116. package/types/ngwr-lightbox-testing.d.ts +27 -0
  117. package/types/ngwr-lightbox.d.ts +71 -6
  118. package/types/ngwr-pipes.d.ts +33 -13
  119. package/types/ngwr-slider-testing.d.ts +8 -1
  120. package/types/ngwr-slider.d.ts +89 -3
  121. package/types/ngwr-sortable-list-testing.d.ts +79 -0
  122. package/types/ngwr-sortable-list.d.ts +113 -10
  123. package/types/ngwr-version.d.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ngwr-dropdown.mjs","names":[],"sources":["../../../projects/lib/dropdown/types/dropdown-position.ts","../../../projects/lib/dropdown/dropdown.ts","../../../projects/lib/dropdown/dropdown-menu.ts","../../../projects/lib/dropdown/dropdown-item.ts","../../../projects/lib/dropdown/dropdown-item.html"],"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 type { ConnectedPosition } from '@angular/cdk/overlay';\n\n/**\n * Where the dropdown menu opens, relative to the trigger.\n */\nexport type WrDropdownPosition =\n 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'right';\n\n/**\n * The CDK geometry for each placement — one position, no fallbacks.\n *\n * No `offsetX` / `offsetY`, unlike `wr-popover`'s table: the gap between the\n * trigger and the menu is PADDING on the pane (`.wr-dropdown-overlay--<placement>`),\n * so the pointer crossing it is still over the overlay and a `trigger=\"hover\"`\n * menu does not close on the way in. It also means nothing here is\n * direction-dependent, which is why the directive needs no `wrMirrorOffsets`.\n *\n * @internal\n */\nexport const WR_DROPDOWN_POSITIONS: Record<WrDropdownPosition, ConnectedPosition> = {\n top: { originX: 'center', originY: 'top', overlayX: 'center', overlayY: 'bottom' },\n 'top-start': { originX: 'start', originY: 'top', overlayX: 'start', overlayY: 'bottom' },\n 'top-end': { originX: 'end', originY: 'top', overlayX: 'end', overlayY: 'bottom' },\n bottom: { originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top' },\n 'bottom-start': { originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top' },\n 'bottom-end': { originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top' },\n left: { originX: 'start', originY: 'center', overlayX: 'end', overlayY: 'center' },\n right: { originX: 'end', originY: 'center', overlayX: 'start', overlayY: 'center' },\n};\n\n/**\n * What each placement is allowed to flip to when it does not fit, best first.\n * The requested placement always leads, so a menu that fits never moves.\n *\n * The same chains as `wr-popover`'s, restricted to the eight placements a\n * dropdown offers — which needs no editing, since every link in those eight\n * chains is itself one of the eight. Alignment is kept down the chain, a\n * block-axis placement only flips to its opposite, and a side placement may\n * also fall below or above, because on a phone neither side of a mid-page\n * trigger has the room. Once it has, the directive drops the side links for as\n * long as the menu stays open — the gap changes axis with the placement, so a\n * pane is only measured correctly against links on one axis at a time.\n *\n * Each list used to hold ONE position. With `withPush(true)` and nothing to\n * fall back to, a menu that did not fit below its trigger was pushed back up\n * over it instead — measured in Chromium at 1280×700 with a `bottom-start`\n * trigger 40px above the fold: the menu's top landed at 626, inside the\n * trigger's 630–660 box, covering the control that opened it.\n *\n * @internal\n */\nexport const WR_DROPDOWN_FALLBACKS: Record<WrDropdownPosition, readonly WrDropdownPosition[]> = {\n top: ['top', 'bottom'],\n 'top-start': ['top-start', 'bottom-start'],\n 'top-end': ['top-end', 'bottom-end'],\n bottom: ['bottom', 'top'],\n 'bottom-start': ['bottom-start', 'top-start'],\n 'bottom-end': ['bottom-end', 'top-end'],\n left: ['left', 'right', 'bottom', 'top'],\n right: ['right', 'left', 'bottom', 'top'],\n};\n\n/**\n * The list `withPositions()` wants — the chain in `WR_DROPDOWN_FALLBACKS` order,\n * as fresh objects, so the directive can tell which link the CDK landed on by\n * the IDENTITY of the position it reports back.\n *\n * Deliberately untagged, and this is where the dropdown parts from `wr-popover`,\n * which puts each placement's class in the position's own `panelClass`. The CDK\n * takes those classes off the pane BEFORE it measures it for fit, and here the\n * class carries the gap, as padding — so a tagged list is measured without its\n * gap. A menu with less room than that gap was judged to fit and the flexible\n * bounding box squeezed it instead: measured in Chromium at 1280×700 with 2px to\n * spare below the trigger, the menu's box shrank from 74px to 68px and its last\n * row ran through the bottom border. The directive writes the class itself, which\n * the CDK leaves alone, so the pane is measured with the gap it will render with.\n *\n * @internal\n */\nexport function wrDropdownPositions(position: WrDropdownPosition): ConnectedPosition[] {\n return WR_DROPDOWN_FALLBACKS[position].map(name => ({ ...WR_DROPDOWN_POSITIONS[name] }));\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 { FocusMonitor } from '@angular/cdk/a11y';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { type OverlayRef, ScrollStrategyOptions } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport {\n DestroyRef,\n Directive,\n ElementRef,\n Injector,\n ViewContainerRef,\n effect,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nimport { WR_OVERLAY, WrOutsideClick, wrFollowDirection } from 'ngwr/overlay';\nimport { wrToClassList, wrCheckStyles, type WrClassInput, wrRestoreFocus } from 'ngwr/utils';\n\nimport type { WrDropdownMenu } from './dropdown-menu';\nimport {\n WR_DROPDOWN_FALLBACKS,\n WR_DROPDOWN_POSITIONS,\n type WrDropdownPosition,\n type WrDropdownTrigger,\n wrDropdownPositions,\n} from './types';\n\n/** Whether a placement puts the menu BESIDE its trigger, where the gap is inline padding. */\nconst isSidePlacement = (name: WrDropdownPosition): boolean => name === 'left' || name === 'right';\n\n/**\n * Attach to any element to open a `<wr-dropdown-menu>` as a CDK overlay.\n *\n * @example\n * ```html\n * <button [wrDropdown]=\"menu\" position=\"bottom-start\" trigger=\"click\">\n * Actions\n * </button>\n *\n * <wr-dropdown-menu #menu>\n * <wr-dropdown-item icon=\"copy\" (click)=\"copy()\">Copy</wr-dropdown-item>\n * <wr-dropdown-item icon=\"trash\" (click)=\"remove()\">Delete</wr-dropdown-item>\n * </wr-dropdown-menu>\n * ```\n *\n * @see https://ngwr.dev/reference/components/dropdown\n */\nlet triggerUid = 0;\n\n@Directive({\n selector: '[wrDropdown]',\n exportAs: 'wrDropdown',\n host: {\n class: 'wr-dropdown-trigger',\n '[attr.id]': 'triggerId',\n '[attr.aria-haspopup]': '\"menu\"',\n '[attr.aria-expanded]': 'isOpen()',\n '[attr.aria-controls]': 'isOpen() ? menu().menuId() : null',\n '(click)': 'onClick($event)',\n '(keydown)': 'onKeydown($event)',\n '(mouseenter)': 'onMouseEnter()',\n '(mouseleave)': 'onMouseLeave($event)',\n },\n})\nexport class WrDropdown {\n /** Menu to open. Pass a `<wr-dropdown-menu>` template reference. */\n readonly menu = input.required<WrDropdownMenu>({ alias: 'wrDropdown' });\n\n /**\n * How the menu opens. `manual` leaves the host alone, for one menu shared by\n * many anchors: a click handler records the row, then calls `open()`.\n *\n * @default 'click'\n * @example\n * ```html\n * <button #trigger=\"wrDropdown\" [wrDropdown]=\"menu\" trigger=\"manual\" (click)=\"pick(row); trigger.open()\">\n * ```\n */\n readonly trigger = input<WrDropdownTrigger>('click');\n\n /**\n * Where the menu anchors relative to the trigger. A placement that does not\n * fit flips to the opposite side (a `left` / `right` menu may also drop below\n * or above, and then stays there until it closes), and the pane's\n * `wr-dropdown-overlay--<placement>` class names the side it actually took.\n * @default 'bottom-start'\n */\n readonly position = input<WrDropdownPosition>('bottom-start');\n\n /**\n * Draw a small arrow on the menu's edge, pointing at the trigger — the one\n * `wr-popover` and `wr-popconfirm` draw, from the same shared rule. It follows\n * the placement the menu actually took, so a flipped menu points the right\n * way, and it widens the gap to the trigger from 0.25rem to popover's 0.5rem\n * so the tip does not touch the control.\n *\n * Turn it off on a menu with no padding of its own (`--wr-dropdown-padding: 0`)\n * or one that clips its overflow: the square reaches about 3px inside the\n * menu's border, over the first row, and `overflow` cuts its tip off.\n * Read when the menu opens. @default true\n */\n readonly arrow = input(true, { transform: coerceBooleanProperty });\n\n /**\n * Extra CSS classes for the menu's overlay pane.\n *\n * The pane is appended to the overlay container, not to this component, so\n * nothing in the consumer's own template encloses it and no descendant rule\n * written around the trigger can reach it. This input is the only per-instance\n * handle on it. A space-separated string works as well as an array.\n */\n readonly panelClass = input<WrClassInput>(null);\n\n /** Fires after the menu opens. */\n readonly opened = output<void>();\n\n /** Fires after the menu closes. */\n readonly closed = output<void>();\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly focusMonitor = inject(FocusMonitor);\n private readonly overlay = inject(WR_OVERLAY);\n /**\n * The reading direction the open menu has to keep up with.\n *\n * Optional inject: `Directionality` is root-provided, so this is never null in\n * an app — but a bare `TestBed` that provides nothing should still get a menu\n * that opens, with simply nothing ambient to follow.\n */\n private readonly dir = inject(Directionality, { optional: true });\n private readonly outsideClick = inject(WrOutsideClick);\n private readonly vcr = inject(ViewContainerRef);\n private readonly scrollStrategies = inject(ScrollStrategyOptions);\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n\n private readonly openState = signal(false);\n\n /** Whether the menu is open. Read-only: `open()` and `close()` change it. */\n readonly isOpen = this.openState.asReadonly();\n\n /** The id used only when the consumer's element carries none of its own. */\n private readonly fallbackId = `wr-dropdown-trigger-${++triggerUid}`;\n\n /**\n * Id the menu names itself after. The trigger is the CONSUMER's own element, so\n * an `id` they already put there wins: overwriting it broke `<label for>`,\n * `document.getElementById` and any `aria-labelledby` aimed at that button from\n * elsewhere in their app. The generated one is only a fallback so the menu has\n * something to reference.\n *\n * A GETTER, read fresh by the host binding on every pass, rather than a field\n * resolved in the constructor. A static `id=\"…\"` is on the element before a\n * directive is instantiated and so was already honoured; a BOUND `[id]` is\n * not — it lands with the rest of the template's bindings, which run before\n * host bindings but after construction, so the constructor read an empty\n * string, fell through to the fallback, and the host binding then wrote that\n * fallback over the value the template had just set. Everything bound was\n * lost — `[id]`, `[attr.id]` and an interpolated `id=\"dd-{{ n }}\"` alike —\n * while the static form survived, which is the shape that makes it look like\n * a naming convention rather than a defect.\n *\n * `.id` rather than `getAttribute`: it is always a string, and an empty one is\n * no id at all, so it falls through to the fallback.\n */\n protected get triggerId(): string {\n return this.host.nativeElement.id || this.fallbackId;\n }\n\n private overlayRef: OverlayRef | null = null;\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('dropdown');\n // The host view carrying `[wrDropdown]` can be destroyed while the menu is\n // open — a route change, or an `@if` around the trigger. The overlay lives\n // in the CDK container, not in that view, so nothing removes it unless we do.\n this.destroyRef.onDestroy(() => this.closeOverlay(false));\n\n effect(() => {\n if (this.isOpen()) {\n this.openOverlay();\n } else {\n this.closeOverlay();\n }\n });\n }\n\n /** Open the menu. */\n open(): void {\n this.openState.set(true);\n }\n\n /** Close the menu. */\n close(): void {\n this.openState.set(false);\n }\n\n /** Toggle the menu. */\n toggle(): void {\n this.openState.update(v => !v);\n }\n\n // Host listeners\n\n /** @internal */\n /**\n * Whether the pointer, rather than the keyboard, opened the current menu.\n *\n * A hover-opened menu must not take focus — the APG shows a menu on hover and\n * leaves the caret where it was — while a keyboard-opened one must. The\n * trigger MODE cannot answer that on its own: a `trigger=\"hover\"` menu is\n * still openable with Enter, and that open should focus the first item.\n */\n private openedByPointer = false;\n\n protected onClick(event: MouseEvent): void {\n if (this.trigger() !== 'click') return;\n event.stopPropagation();\n this.openedByPointer = false;\n this.toggle();\n }\n\n /** @internal */\n protected onMouseEnter(): void {\n if (this.trigger() !== 'hover') return;\n // A POINTER opened this, so the menu must not take the keyboard with it —\n // see `openedByPointer`.\n this.openedByPointer = true;\n this.openState.set(true);\n }\n\n /** @internal */\n protected onMouseLeave(event: MouseEvent): void {\n if (this.trigger() !== 'hover') return;\n const related = event.relatedTarget as Node | null;\n if (related && this.overlayRef?.overlayElement.contains(related)) return;\n this.openState.set(false);\n }\n\n // Overlay management\n\n private openOverlay(): void {\n if (this.overlayRef) return;\n\n const requested = this.position();\n // A list of fresh objects, kept: the CDK reports the link it landed on by\n // handing that same object back, which is how the pane learns its placement.\n const positions = wrDropdownPositions(requested);\n\n // `withGrowAfterOpen`: past the first pass the CDK never gives the pane a box\n // larger than the last one it gave it. A menu measured with the wrong gap\n // (see the `positionChanges` handler below) is laid out once in a box sized\n // for the placement it is about to leave, and without this the pass that\n // corrects it inherits that box — a `right` menu with 70px below its trigger\n // moved above it into a 70px box and was squeezed all the same. The menu's\n // content does not change while it is open, so the box only ever grows back\n // to what the menu already needs.\n const connected = this.overlay\n .position()\n .flexibleConnectedTo(this.host)\n .withPositions(positions)\n .withPush(true)\n .withGrowAfterOpen(true);\n\n this.overlayRef = this.overlay.create({\n positionStrategy: connected,\n scrollStrategy: this.scrollStrategies.reposition(),\n // The menu starts on the placement it asked for, which is what the CDK\n // measures it with — see `wrDropdownPositions` for why that class must\n // already be on the pane rather than arrive with the position.\n panelClass: wrToClassList(\n 'wr-dropdown-overlay',\n `wr-dropdown-overlay--${requested}`,\n this.arrow() && 'wr-dropdown-overlay--arrow',\n this.panelClass()\n ),\n });\n\n // When the menu flips, the pane has to name the side it actually took: the\n // gap padding belongs on the edge facing the trigger and the arrow hangs off\n // that same edge, and both key off this class. The CDK emits synchronously\n // from inside its own `apply()`, so the swap lands in the same frame as the\n // move, and the next measurement (a scroll, a resize) sees the new gap.\n const ref = this.overlayRef;\n const pane = ref.overlayElement;\n // Index-aligned: `links[i]` is the object the CDK hands back for `chain[i]`.\n let chain = WR_DROPDOWN_FALLBACKS[requested];\n let links = positions;\n connected.positionChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(({ connectionPair }) => {\n const landed = chain[links.indexOf(connectionPair)];\n if (!landed) return;\n for (const name of Object.keys(WR_DROPDOWN_POSITIONS)) {\n pane.classList.toggle(`wr-dropdown-overlay--${name}`, name === landed);\n }\n\n // A `left` / `right` menu that fell below or above was tested for fit\n // with the WRONG gap. The CDK measures the pane once per pass, for every\n // link, with the class on it at the time — the side placement's, whose\n // gap is inline padding — so the block link was judged by a box one gap\n // shorter than the one the swap above has just given it, and a menu with\n // less room than that gap was squeezed instead of flipped. Measured in\n // Chromium at 375×700, `right` with 76px below the trigger: the menu shrank\n // from 74px to 68px and its last row ran through the bottom border.\n //\n // So the sides are dropped for as long as this menu stays open and the\n // pane is measured again, now carrying the block gap, against block links\n // only. Not re-admitted afterwards: measured with a block gap, a side link\n // looks one gap narrower than it renders, which is the same mistake the\n // other way round and a menu that would flap between the two. Deferred to\n // a microtask because this runs INSIDE the CDK's `apply()`, which records\n // the link it landed on after this returns — a nested pass would have that\n // record overwritten by the outer one. A microtask still lands before the\n // frame is painted.\n if (isSidePlacement(landed) || !chain.some(isSidePlacement)) return;\n const kept = chain.flatMap((name, i) => (isSidePlacement(name) ? [] : [i]));\n chain = kept.map(i => chain[i]);\n links = kept.map(i => links[i]);\n connected.withPositions(links);\n queueMicrotask(() => {\n if (this.overlayRef === ref) ref.updatePosition();\n });\n });\n\n // `create()` above froze the direction into the ref as a string, and nothing\n // in the CDK ever revisits it. This menu is where it shows first: the docs\n // site keeps its own LTR/RTL switch INSIDE a dropdown, so the flip is made\n // from within the one panel that has to answer it.\n //\n // No callback — `WR_DROPDOWN_POSITIONS` anchors on `start` / `end` and\n // carries no `offsetX`, so letting the CDK re-resolve those against the new\n // direction is the whole job.\n wrFollowDirection(this.overlayRef, this.dir, this.injector);\n\n // Wire trigger id into menu so it can render aria-labelledby.\n this.menu().triggerId.set(this.triggerId);\n\n const portal = new TemplatePortal(this.menu().contentTpl(), this.vcr);\n this.overlayRef.attach(portal);\n\n // Focus the first menu item after the menu renders — unless a POINTER\n // opened it. This used to be unconditional, so merely sweeping the cursor\n // over a `trigger=\"hover\"` menu yanked the caret out of whatever the user\n // was typing; the APG's own rule is that hover shows a menu and does not\n // move focus into it. A keyboard open (Enter / Space / ArrowDown) still\n // focuses the first item, on a hover trigger too.\n if (!this.openedByPointer) queueMicrotask(() => this.focusItemAt(0));\n\n this.outsideClick\n .outsidePointerEvents(this.overlayRef)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(event => {\n if (this.host.nativeElement.contains(event.target as Node)) return;\n this.openState.set(false);\n });\n\n this.overlayRef\n .keydownEvents()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(event => {\n this.handleMenuKeydown(event);\n });\n\n if (this.trigger() === 'hover') {\n this.overlayRef.overlayElement.addEventListener('mouseleave', this.onOverlayMouseLeave);\n }\n\n this.opened.emit();\n }\n\n /**\n * Tear the overlay down, and tell the host — unless the host is going away\n * with it.\n *\n * `notify: false` is the DESTROY path, and it is not a nicety. An `output()`\n * belongs to the view that declares it, so emitting from `onDestroy` is\n * refused: Angular logs `NG0953: Unexpected emit for destroyed OutputRef` and\n * the listener never runs. Measured — a `(closed)` handler on a dropdown whose\n * host view is removed while the menu is open fired zero times and left a\n * console error behind. There is nobody to notify at that point, because the\n * consumer's own view is being torn down in the same pass; `wr-popconfirm`\n * already disposes without emitting, and this brings the other two into line.\n *\n * The focus hand-back is skipped for the same reason — the host element is on\n * its way out of the document.\n */\n private closeOverlay(notify = true): void {\n if (!this.overlayRef) return;\n if (this.trigger() === 'hover') {\n this.overlayRef.overlayElement.removeEventListener('mouseleave', this.onOverlayMouseLeave);\n }\n // Take the focus back before the pane goes, or it lands on `<body>` and the\n // next Tab starts from the top of the document. Only when focus is actually\n // inside the menu: closing a menu nobody was in must not steal the caret\n // from wherever the user has since moved.\n const active = document.activeElement;\n const focusWasInside = active instanceof Node && this.overlayRef.overlayElement.contains(active);\n this.overlayRef.dispose();\n this.overlayRef = null;\n if (notify) {\n if (focusWasInside) wrRestoreFocus(this.host.nativeElement, this.focusMonitor);\n this.closed.emit();\n }\n }\n\n // Keyboard handling\n\n /** @internal Trigger keydown — ArrowDown/Up/Enter/Space open the menu. */\n protected onKeydown(event: KeyboardEvent): void {\n if (this.isOpen() || this.trigger() === 'manual') return;\n if (event.key === 'ArrowDown' || event.key === 'ArrowUp' || event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n // Opened from the keyboard — including on a `hover` trigger, which stays\n // keyboard-operable — so the first item SHOULD take focus.\n this.openedByPointer = false;\n this.open();\n }\n }\n\n private handleMenuKeydown(event: KeyboardEvent): void {\n const items = this.getItems();\n if (items.length === 0 && event.key !== 'Escape' && event.key !== 'Tab') return;\n const current = document.activeElement as HTMLElement | null;\n const idx = current ? items.indexOf(current) : -1;\n\n // CDK's keyboard dispatcher feeds this overlay EVERY document keydown, not\n // just the ones typed into it — and a `trigger=\"hover\"` menu is open with\n // the caret deliberately left wherever the user was (see `openedByPointer`).\n // So ownership is checked here rather than assumed: without it, ArrowDown /\n // ArrowUp / Home / End pressed in an unrelated field were `preventDefault`ed\n // and yanked focus into the menu. The trigger counts as ours — a hover menu\n // that the user has tabbed back to should still open to the keyboard.\n const typedIn = event.target;\n const ours =\n typedIn instanceof Node &&\n (this.host.nativeElement.contains(typedIn) || (this.overlayRef?.overlayElement.contains(typedIn) ?? false));\n // Escape (and Tab) still close from anywhere — routing to the topmost\n // overlay regardless of focus is the dispatcher's whole job. Escape just\n // must not drag the caret onto the trigger from a field the user is in.\n if (!ours && event.key !== 'Escape' && event.key !== 'Tab') return;\n\n switch (event.key) {\n case 'Escape':\n event.preventDefault();\n this.openState.set(false);\n if (ours) wrRestoreFocus(this.host.nativeElement, this.focusMonitor);\n break;\n case 'Tab':\n // Tab closes the menu and moves on, in either direction, from the\n // TRIGGER. Left alone, the browser's Tab runs from the item, and the\n // menu sits in the overlay container at the end of `<body>`: Tab went\n // to the top of the page and Shift+Tab to the footer, and the close\n // then found focus outside the pane and had nothing to hand back. So\n // the trigger takes focus here, synchronously and with no\n // `preventDefault`, and the browser's own Tab carries on from it to\n // its real neighbour — by the time the close runs, focus is already\n // past the pane and `closeOverlay` leaves it there. Not from a field\n // outside the menu, for the reason Escape gives above.\n if (ours) wrRestoreFocus(this.host.nativeElement, this.focusMonitor);\n this.openState.set(false);\n break;\n case 'ArrowDown':\n event.preventDefault();\n this.focusItemAt(idx < items.length - 1 ? idx + 1 : 0);\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.focusItemAt(idx > 0 ? idx - 1 : items.length - 1);\n break;\n case 'Home':\n event.preventDefault();\n this.focusItemAt(0);\n break;\n case 'End':\n event.preventDefault();\n this.focusItemAt(items.length - 1);\n break;\n default:\n break;\n }\n }\n\n private getItems(): readonly HTMLElement[] {\n if (!this.overlayRef) return [];\n return Array.from(\n this.overlayRef.overlayElement.querySelectorAll<HTMLElement>('.wr-dropdown-item:not(.wr-dropdown-item--disabled)')\n );\n }\n\n private focusItemAt(index: number): void {\n const items = this.getItems();\n if (items.length === 0) return;\n const clamped = ((index % items.length) + items.length) % items.length;\n items[clamped]?.focus();\n }\n\n private readonly onOverlayMouseLeave = (event: MouseEvent): void => {\n const related = event.relatedTarget as Node | null;\n if (related && this.host.nativeElement.contains(related)) return;\n this.openState.set(false);\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 { Component, TemplateRef, ViewEncapsulation, signal, viewChild } from '@angular/core';\n\nimport { wrCheckStyles } from 'ngwr/utils';\n\nlet uid = 0;\n\n/**\n * Holds the menu content rendered when a {@link WrDropdown} opens.\n *\n * The component itself doesn't render anywhere — the directive grabs its\n * internal `<ng-template>` and portals it into an overlay.\n *\n * @example\n * ```html\n * <button [wrDropdown]=\"menu\">Actions</button>\n * <wr-dropdown-menu #menu>\n * <wr-dropdown-item icon=\"copy\">Copy</wr-dropdown-item>\n * <wr-dropdown-item icon=\"trash\">Delete</wr-dropdown-item>\n * </wr-dropdown-menu>\n * ```\n *\n * @see https://ngwr.dev/reference/components/dropdown\n */\n@Component({\n selector: 'wr-dropdown-menu',\n template:\n '<ng-template><div class=\"wr-dropdown-menu\" role=\"menu\" [attr.id]=\"menuId()\" [attr.aria-labelledby]=\"triggerId() || null\"><ng-content /></div></ng-template>',\n exportAs: 'wrDropdownMenu',\n encapsulation: ViewEncapsulation.None,\n // A BOUND display rather than a static `style` attribute: Angular writes a\n // binding through `style.setProperty`, which no CSP governs, while a real\n // `style=\"…\"` attribute is refused under `style-src 'self'` — and this host\n // would then lay out an empty box in the middle of the content.\n host: { '[style.display]': \"'none'\" },\n})\nexport class WrDropdownMenu {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('dropdown');\n }\n\n /** The internal template the directive portals into the overlay. @internal */\n readonly contentTpl = viewChild.required(TemplateRef);\n\n /** Stable id used on the menu element and referenced from the trigger's `aria-controls`. */\n readonly menuId = signal(`wr-dropdown-menu-${++uid}`);\n\n /** Trigger element id, set by the directive for `aria-labelledby` wiring. */\n readonly triggerId = signal<string | null>(null);\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, ElementRef, ViewEncapsulation, computed, inject, input } from '@angular/core';\n\nimport { WrIcon, type WrIconName } from 'ngwr/icon';\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/**\n * Single row inside a `<wr-dropdown-menu>`.\n *\n * @example\n * ```html\n * <wr-dropdown-item icon=\"copy\" (click)=\"copy()\">Copy</wr-dropdown-item>\n * <wr-dropdown-item icon=\"trash\" disabled>Delete</wr-dropdown-item>\n * ```\n */\n@Component({\n selector: 'wr-dropdown-item',\n templateUrl: './dropdown-item.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n role: 'menuitem',\n class: 'wr-dropdown-item',\n '[class]': 'classes()',\n '[attr.tabindex]': '-1',\n '[attr.aria-disabled]': 'disabled() ? true : null',\n '(keydown.enter)': 'activate($event)',\n '(keydown.space)': 'activate($event)',\n },\n imports: [WrIcon],\n})\nexport class WrDropdownItem {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('dropdown');\n }\n\n /** Optional leading icon name. @default null */\n readonly icon = input<WrIconName | null>(null);\n\n /** Disable interaction (suppresses pointer + keyboard). @default false */\n readonly disabled = input(false, { transform: coerceBooleanProperty });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.disabled()) parts.push('wr-dropdown-item--disabled');\n return parts.join(' ');\n });\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** @internal Keyboard activation — fires the same click consumers bind to. */\n protected activate(event: Event): void {\n if (this.disabled()) return;\n event.preventDefault();\n this.host.nativeElement.click();\n }\n}\n","@if (icon(); as name) {\n <wr-icon class=\"wr-dropdown-item__icon\" [name]=\"name\" />\n}\n<span class=\"wr-dropdown-item__label\">\n <ng-content />\n</span>\n"],"mappings":";;;;;;;;;;;;;;;;;AA0BA,MAAa,wBAAuE;CAClF,KAAK;EAAE,SAAS;EAAU,SAAS;EAAO,UAAU;EAAU,UAAU;CAAQ;CAChF,aAAa;EAAE,SAAS;EAAS,SAAS;EAAO,UAAU;EAAS,UAAU;CAAQ;CACtF,WAAW;EAAE,SAAS;EAAO,SAAS;EAAO,UAAU;EAAO,UAAU;CAAQ;CAChF,QAAQ;EAAE,SAAS;EAAU,SAAS;EAAU,UAAU;EAAU,UAAU;CAAK;CACnF,gBAAgB;EAAE,SAAS;EAAS,SAAS;EAAU,U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UAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,MAAA;GAAA,YAAA,EAAA,QAAA,WAAA;GAAA,WAAA;IAAA,iBAAA;IAAA,iBAAA;GAAA;GAAA,YAAA;IAAA,SAAA;IAAA,iBAAA;IAAA,sBAAA;GAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UCrC3B;EAMA,cAAA,CAAA;GAAA,MAAA;GAAA,MD6BY;GAAM,UAAA;GAAA,QAAA,CAAA,MAAA;EAAA,CAAA;EAAA,eAAA,GAAA,kBAAA;CAAA,CAAA;;AAEL,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAc,YAAA,CAAA;EAf1B,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAkB,eAEb,kBAAkB;GAAI,MAC/B;IACJ,MAAM;IACN,OAAO;IACP,WAAW;IACX,mBAAmB;IACnB,wBAAwB;IACxB,mBAAmB;IACnB,mBAAmB;GACpB;GAAA,SACQ,CAAC,MAAM;GAAC,UAAA;EAAA,CAAA"}
1
+ {"version":3,"file":"ngwr-dropdown.mjs","names":[],"sources":["../../../projects/lib/dropdown/dropdown-chain.ts","../../../projects/lib/dropdown/types/dropdown-position.ts","../../../projects/lib/dropdown/dropdown.ts","../../../projects/lib/dropdown/dropdown-menu.ts","../../../projects/lib/dropdown/dropdown-item.ts","../../../projects/lib/dropdown/dropdown-item.html","../../../projects/lib/dropdown/dropdown-submenu.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\n/** Open levels by their pane, so an item can find the level it was rendered in. */\nconst levels = new WeakMap<HTMLElement, WrDropdownLevel>();\n\n/**\n * One open menu of a dropdown: the root, or a submenu hanging off an item.\n *\n * Every level is its own overlay pane, a sibling of the others in the overlay\n * container, so neither the DOM nor the injector tree says which pane opened\n * which. This is that link.\n *\n * @internal\n */\nexport interface WrDropdownLevel {\n readonly pane: HTMLElement;\n /** `null` on the root menu. */\n readonly parent: WrDropdownLevel | null;\n /** The submenu open from one of this pane's items. */\n child: WrDropdownLevel | null;\n /** Close this level and every level below it. */\n close(): void;\n /** Root only: the pointer left a pane below for `related`. */\n pointerLeft?(related: EventTarget | null): void;\n}\n\n/** @internal */\nexport function wrDropdownRegisterLevel(level: WrDropdownLevel): void {\n levels.set(level.pane, level);\n if (level.parent) level.parent.child = level;\n}\n\n/** @internal */\nexport function wrDropdownReleaseLevel(level: WrDropdownLevel): void {\n levels.delete(level.pane);\n if (level.parent?.child === level) level.parent.child = null;\n}\n\n/** The open level `el` is rendered in. @internal */\nexport function wrDropdownLevelAround(el: HTMLElement): WrDropdownLevel | null {\n const pane = el.closest<HTMLElement>('.wr-dropdown-overlay');\n return (pane && levels.get(pane)) ?? null;\n}\n\n/** The level at or below `from` whose pane holds `node`. @internal */\nexport function wrDropdownLevelOf(from: WrDropdownLevel, node: unknown): WrDropdownLevel | null {\n if (!(node instanceof Node)) return null;\n for (let level: WrDropdownLevel | null = from; level; level = level.child) {\n if (level.pane.contains(node)) return level;\n }\n return null;\n}\n\n/** The focus stops of one pane. A disabled item is not one. @internal */\nexport function wrDropdownItems(pane: HTMLElement): HTMLElement[] {\n return Array.from(pane.querySelectorAll<HTMLElement>('.wr-dropdown-item:not(.wr-dropdown-item--disabled)'));\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 { ConnectedPosition } from '@angular/cdk/overlay';\n\n/**\n * Where the dropdown menu opens, relative to the trigger.\n */\nexport type WrDropdownPosition =\n 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'right';\n\n/**\n * The CDK geometry for each placement — one position, no fallbacks.\n *\n * No `offsetX` / `offsetY`, unlike `wr-popover`'s table: the gap between the\n * trigger and the menu is PADDING on the pane (`.wr-dropdown-overlay--<placement>`),\n * so the pointer crossing it is still over the overlay and a `trigger=\"hover\"`\n * menu does not close on the way in. It also means nothing here is\n * direction-dependent, which is why the directive needs no `wrMirrorOffsets`.\n *\n * @internal\n */\nexport const WR_DROPDOWN_POSITIONS: Record<WrDropdownPosition, ConnectedPosition> = {\n top: { originX: 'center', originY: 'top', overlayX: 'center', overlayY: 'bottom' },\n 'top-start': { originX: 'start', originY: 'top', overlayX: 'start', overlayY: 'bottom' },\n 'top-end': { originX: 'end', originY: 'top', overlayX: 'end', overlayY: 'bottom' },\n bottom: { originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top' },\n 'bottom-start': { originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top' },\n 'bottom-end': { originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top' },\n left: { originX: 'start', originY: 'center', overlayX: 'end', overlayY: 'center' },\n right: { originX: 'end', originY: 'center', overlayX: 'start', overlayY: 'center' },\n};\n\n/**\n * What each placement is allowed to flip to when it does not fit, best first.\n * The requested placement always leads, so a menu that fits never moves.\n *\n * The same chains as `wr-popover`'s, restricted to the eight placements a\n * dropdown offers — which needs no editing, since every link in those eight\n * chains is itself one of the eight. Alignment is kept down the chain, a\n * block-axis placement only flips to its opposite, and a side placement may\n * also fall below or above, because on a phone neither side of a mid-page\n * trigger has the room. Once it has, the directive drops the side links for as\n * long as the menu stays open — the gap changes axis with the placement, so a\n * pane is only measured correctly against links on one axis at a time.\n *\n * Each list used to hold ONE position. With `withPush(true)` and nothing to\n * fall back to, a menu that did not fit below its trigger was pushed back up\n * over it instead — measured in Chromium at 1280×700 with a `bottom-start`\n * trigger 40px above the fold: the menu's top landed at 626, inside the\n * trigger's 630–660 box, covering the control that opened it.\n *\n * @internal\n */\nexport const WR_DROPDOWN_FALLBACKS: Record<WrDropdownPosition, readonly WrDropdownPosition[]> = {\n top: ['top', 'bottom'],\n 'top-start': ['top-start', 'bottom-start'],\n 'top-end': ['top-end', 'bottom-end'],\n bottom: ['bottom', 'top'],\n 'bottom-start': ['bottom-start', 'top-start'],\n 'bottom-end': ['bottom-end', 'top-end'],\n left: ['left', 'right', 'bottom', 'top'],\n right: ['right', 'left', 'bottom', 'top'],\n};\n\n/**\n * The list `withPositions()` wants — the chain in `WR_DROPDOWN_FALLBACKS` order,\n * as fresh objects, so the directive can tell which link the CDK landed on by\n * the IDENTITY of the position it reports back.\n *\n * Deliberately untagged, and this is where the dropdown parts from `wr-popover`,\n * which puts each placement's class in the position's own `panelClass`. The CDK\n * takes those classes off the pane BEFORE it measures it for fit, and here the\n * class carries the gap, as padding — so a tagged list is measured without its\n * gap. A menu with less room than that gap was judged to fit and the flexible\n * bounding box squeezed it instead: measured in Chromium at 1280×700 with 2px to\n * spare below the trigger, the menu's box shrank from 74px to 68px and its last\n * row ran through the bottom border. The directive writes the class itself, which\n * the CDK leaves alone, so the pane is measured with the gap it will render with.\n *\n * @internal\n */\nexport function wrDropdownPositions(position: WrDropdownPosition): ConnectedPosition[] {\n return WR_DROPDOWN_FALLBACKS[position].map(name => ({ ...WR_DROPDOWN_POSITIONS[name] }));\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 { FocusMonitor } from '@angular/cdk/a11y';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { type OverlayRef, ScrollStrategyOptions } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport {\n DestroyRef,\n Directive,\n ElementRef,\n Injector,\n ViewContainerRef,\n effect,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nimport { WR_OVERLAY, WrOutsideClick, wrFollowDirection } from 'ngwr/overlay';\nimport { wrToClassList, wrCheckStyles, type WrClassInput, wrRestoreFocus } from 'ngwr/utils';\n\nimport {\n type WrDropdownLevel,\n wrDropdownItems,\n wrDropdownLevelOf,\n wrDropdownRegisterLevel,\n wrDropdownReleaseLevel,\n} from './dropdown-chain';\nimport type { WrDropdownMenu } from './dropdown-menu';\nimport {\n WR_DROPDOWN_FALLBACKS,\n WR_DROPDOWN_POSITIONS,\n type WrDropdownPosition,\n type WrDropdownTrigger,\n wrDropdownPositions,\n} from './types';\n\n/** Whether a placement puts the menu BESIDE its trigger, where the gap is inline padding. */\nconst isSidePlacement = (name: WrDropdownPosition): boolean => name === 'left' || name === 'right';\n\n/**\n * Attach to any element to open a `<wr-dropdown-menu>` as a CDK overlay.\n *\n * @example\n * ```html\n * <button [wrDropdown]=\"menu\" position=\"bottom-start\" trigger=\"click\">\n * Actions\n * </button>\n *\n * <wr-dropdown-menu #menu>\n * <wr-dropdown-item icon=\"copy\" (click)=\"copy()\">Copy</wr-dropdown-item>\n * <wr-dropdown-item icon=\"trash\" (click)=\"remove()\">Delete</wr-dropdown-item>\n * </wr-dropdown-menu>\n * ```\n *\n * @see https://ngwr.dev/reference/components/dropdown\n */\nlet triggerUid = 0;\n\n@Directive({\n selector: '[wrDropdown]',\n exportAs: 'wrDropdown',\n host: {\n class: 'wr-dropdown-trigger',\n '[attr.id]': 'triggerId',\n '[attr.aria-haspopup]': '\"menu\"',\n '[attr.aria-expanded]': 'isOpen()',\n '[attr.aria-controls]': 'isOpen() ? menu().menuId() : null',\n '(click)': 'onClick($event)',\n '(keydown)': 'onKeydown($event)',\n '(mouseenter)': 'onMouseEnter()',\n '(mouseleave)': 'onMouseLeave($event)',\n },\n})\nexport class WrDropdown {\n /** Menu to open. Pass a `<wr-dropdown-menu>` template reference. */\n readonly menu = input.required<WrDropdownMenu>({ alias: 'wrDropdown' });\n\n /**\n * How the menu opens. `manual` leaves the host alone, for one menu shared by\n * many anchors: a click handler records the row, then calls `open()`.\n *\n * @default 'click'\n * @example\n * ```html\n * <button #trigger=\"wrDropdown\" [wrDropdown]=\"menu\" trigger=\"manual\" (click)=\"pick(row); trigger.open()\">\n * ```\n */\n readonly trigger = input<WrDropdownTrigger>('click');\n\n /**\n * Where the menu anchors relative to the trigger. A placement that does not\n * fit flips to the opposite side (a `left` / `right` menu may also drop below\n * or above, and then stays there until it closes), and the pane's\n * `wr-dropdown-overlay--<placement>` class names the side it actually took.\n * @default 'bottom-start'\n */\n readonly position = input<WrDropdownPosition>('bottom-start');\n\n /**\n * Draw a small arrow on the menu's edge, pointing at the trigger — the one\n * `wr-popover` and `wr-popconfirm` draw, from the same shared rule. It follows\n * the placement the menu actually took, so a flipped menu points the right\n * way, and it widens the gap to the trigger from 0.25rem to popover's 0.5rem\n * so the tip does not touch the control.\n *\n * Turn it off on a menu with no padding of its own (`--wr-dropdown-padding: 0`)\n * or one that clips its overflow: the square reaches about 3px inside the\n * menu's border, over the first row, and `overflow` cuts its tip off.\n * Read when the menu opens. @default true\n */\n readonly arrow = input(true, { transform: coerceBooleanProperty });\n\n /**\n * Extra CSS classes for the menu's overlay pane.\n *\n * The pane is appended to the overlay container, not to this component, so\n * nothing in the consumer's own template encloses it and no descendant rule\n * written around the trigger can reach it. This input is the only per-instance\n * handle on it. A space-separated string works as well as an array.\n */\n readonly panelClass = input<WrClassInput>(null);\n\n /** Fires after the menu opens. */\n readonly opened = output<void>();\n\n /** Fires after the menu closes. */\n readonly closed = output<void>();\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly focusMonitor = inject(FocusMonitor);\n private readonly overlay = inject(WR_OVERLAY);\n /**\n * The reading direction the open menu has to keep up with.\n *\n * Optional inject: `Directionality` is root-provided, so this is never null in\n * an app — but a bare `TestBed` that provides nothing should still get a menu\n * that opens, with simply nothing ambient to follow.\n */\n private readonly dir = inject(Directionality, { optional: true });\n private readonly outsideClick = inject(WrOutsideClick);\n private readonly vcr = inject(ViewContainerRef);\n private readonly scrollStrategies = inject(ScrollStrategyOptions);\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n\n private readonly openState = signal(false);\n\n /** Whether the menu is open. Read-only: `open()` and `close()` change it. */\n readonly isOpen = this.openState.asReadonly();\n\n /** The id used only when the consumer's element carries none of its own. */\n private readonly fallbackId = `wr-dropdown-trigger-${++triggerUid}`;\n\n /**\n * Id the menu names itself after. The trigger is the CONSUMER's own element, so\n * an `id` they already put there wins: overwriting it broke `<label for>`,\n * `document.getElementById` and any `aria-labelledby` aimed at that button from\n * elsewhere in their app. The generated one is only a fallback so the menu has\n * something to reference.\n *\n * A GETTER, read fresh by the host binding on every pass, rather than a field\n * resolved in the constructor. A static `id=\"…\"` is on the element before a\n * directive is instantiated and so was already honoured; a BOUND `[id]` is\n * not — it lands with the rest of the template's bindings, which run before\n * host bindings but after construction, so the constructor read an empty\n * string, fell through to the fallback, and the host binding then wrote that\n * fallback over the value the template had just set. Everything bound was\n * lost — `[id]`, `[attr.id]` and an interpolated `id=\"dd-{{ n }}\"` alike —\n * while the static form survived, which is the shape that makes it look like\n * a naming convention rather than a defect.\n *\n * `.id` rather than `getAttribute`: it is always a string, and an empty one is\n * no id at all, so it falls through to the fallback.\n */\n protected get triggerId(): string {\n return this.host.nativeElement.id || this.fallbackId;\n }\n\n private overlayRef: OverlayRef | null = null;\n\n /** The root menu's link to the submenus open below it. */\n private level: WrDropdownLevel | null = null;\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('dropdown');\n // The host view carrying `[wrDropdown]` can be destroyed while the menu is\n // open — a route change, or an `@if` around the trigger. The overlay lives\n // in the CDK container, not in that view, so nothing removes it unless we do.\n this.destroyRef.onDestroy(() => this.closeOverlay(false));\n\n effect(() => {\n if (this.isOpen()) {\n this.openOverlay();\n } else {\n this.closeOverlay();\n }\n });\n }\n\n /** Open the menu. */\n open(): void {\n this.openState.set(true);\n }\n\n /** Close the menu. */\n close(): void {\n this.openState.set(false);\n }\n\n /** Toggle the menu. */\n toggle(): void {\n this.openState.update(v => !v);\n }\n\n // Host listeners\n\n /** @internal */\n /**\n * Whether the pointer, rather than the keyboard, opened the current menu.\n *\n * A hover-opened menu must not take focus — the APG shows a menu on hover and\n * leaves the caret where it was — while a keyboard-opened one must. The\n * trigger MODE cannot answer that on its own: a `trigger=\"hover\"` menu is\n * still openable with Enter, and that open should focus the first item.\n */\n private openedByPointer = false;\n\n protected onClick(event: MouseEvent): void {\n if (this.trigger() !== 'click') return;\n event.stopPropagation();\n this.openedByPointer = false;\n this.toggle();\n }\n\n /** @internal */\n protected onMouseEnter(): void {\n if (this.trigger() !== 'hover') return;\n // A POINTER opened this, so the menu must not take the keyboard with it —\n // see `openedByPointer`.\n this.openedByPointer = true;\n this.openState.set(true);\n }\n\n /** @internal */\n protected onMouseLeave(event: MouseEvent): void {\n if (this.trigger() !== 'hover') return;\n const related = event.relatedTarget as Node | null;\n if (this.inMenus(related)) return;\n this.openState.set(false);\n }\n\n // Overlay management\n\n private openOverlay(): void {\n if (this.overlayRef) return;\n\n const requested = this.position();\n // A list of fresh objects, kept: the CDK reports the link it landed on by\n // handing that same object back, which is how the pane learns its placement.\n const positions = wrDropdownPositions(requested);\n\n // `withGrowAfterOpen`: past the first pass the CDK never gives the pane a box\n // larger than the last one it gave it. A menu measured with the wrong gap\n // (see the `positionChanges` handler below) is laid out once in a box sized\n // for the placement it is about to leave, and without this the pass that\n // corrects it inherits that box — a `right` menu with 70px below its trigger\n // moved above it into a 70px box and was squeezed all the same. The menu's\n // content does not change while it is open, so the box only ever grows back\n // to what the menu already needs.\n const connected = this.overlay\n .position()\n .flexibleConnectedTo(this.host)\n .withPositions(positions)\n .withPush(true)\n .withGrowAfterOpen(true);\n\n this.overlayRef = this.overlay.create({\n positionStrategy: connected,\n scrollStrategy: this.scrollStrategies.reposition(),\n // The menu starts on the placement it asked for, which is what the CDK\n // measures it with — see `wrDropdownPositions` for why that class must\n // already be on the pane rather than arrive with the position.\n panelClass: wrToClassList(\n 'wr-dropdown-overlay',\n `wr-dropdown-overlay--${requested}`,\n this.arrow() && 'wr-dropdown-overlay--arrow',\n this.panelClass()\n ),\n });\n\n // When the menu flips, the pane has to name the side it actually took: the\n // gap padding belongs on the edge facing the trigger and the arrow hangs off\n // that same edge, and both key off this class. The CDK emits synchronously\n // from inside its own `apply()`, so the swap lands in the same frame as the\n // move, and the next measurement (a scroll, a resize) sees the new gap.\n const ref = this.overlayRef;\n const pane = ref.overlayElement;\n // Index-aligned: `links[i]` is the object the CDK hands back for `chain[i]`.\n let chain = WR_DROPDOWN_FALLBACKS[requested];\n let links = positions;\n connected.positionChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(({ connectionPair }) => {\n const landed = chain[links.indexOf(connectionPair)];\n if (!landed) return;\n for (const name of Object.keys(WR_DROPDOWN_POSITIONS)) {\n pane.classList.toggle(`wr-dropdown-overlay--${name}`, name === landed);\n }\n\n // A `left` / `right` menu that fell below or above was tested for fit\n // with the WRONG gap. The CDK measures the pane once per pass, for every\n // link, with the class on it at the time — the side placement's, whose\n // gap is inline padding — so the block link was judged by a box one gap\n // shorter than the one the swap above has just given it, and a menu with\n // less room than that gap was squeezed instead of flipped. Measured in\n // Chromium at 375×700, `right` with 76px below the trigger: the menu shrank\n // from 74px to 68px and its last row ran through the bottom border.\n //\n // So the sides are dropped for as long as this menu stays open and the\n // pane is measured again, now carrying the block gap, against block links\n // only. Not re-admitted afterwards: measured with a block gap, a side link\n // looks one gap narrower than it renders, which is the same mistake the\n // other way round and a menu that would flap between the two. Deferred to\n // a microtask because this runs INSIDE the CDK's `apply()`, which records\n // the link it landed on after this returns — a nested pass would have that\n // record overwritten by the outer one. A microtask still lands before the\n // frame is painted.\n if (isSidePlacement(landed) || !chain.some(isSidePlacement)) return;\n const kept = chain.flatMap((name, i) => (isSidePlacement(name) ? [] : [i]));\n chain = kept.map(i => chain[i]);\n links = kept.map(i => links[i]);\n connected.withPositions(links);\n queueMicrotask(() => {\n if (this.overlayRef === ref) ref.updatePosition();\n });\n });\n\n // `create()` above froze the direction into the ref as a string, and nothing\n // in the CDK ever revisits it. This menu is where it shows first: the docs\n // site keeps its own LTR/RTL switch INSIDE a dropdown, so the flip is made\n // from within the one panel that has to answer it.\n //\n // No callback — `WR_DROPDOWN_POSITIONS` anchors on `start` / `end` and\n // carries no `offsetX`, so letting the CDK re-resolve those against the new\n // direction is the whole job.\n wrFollowDirection(this.overlayRef, this.dir, this.injector);\n\n // Wire trigger id into menu so it can render aria-labelledby.\n this.menu().triggerId.set(this.triggerId);\n\n const portal = new TemplatePortal(this.menu().contentTpl(), this.vcr);\n this.overlayRef.attach(portal);\n\n this.level = {\n pane,\n parent: null,\n child: null,\n close: () => this.close(),\n pointerLeft: related => this.onMenusLeave(related),\n };\n wrDropdownRegisterLevel(this.level);\n\n // Focus the first menu item after the menu renders — unless a POINTER\n // opened it. This used to be unconditional, so merely sweeping the cursor\n // over a `trigger=\"hover\"` menu yanked the caret out of whatever the user\n // was typing; the APG's own rule is that hover shows a menu and does not\n // move focus into it. A keyboard open (Enter / Space / ArrowDown) still\n // focuses the first item, on a hover trigger too.\n if (!this.openedByPointer) queueMicrotask(() => this.focusItemAt(0));\n\n this.outsideClick\n .outsidePointerEvents(this.overlayRef)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(event => {\n if (this.host.nativeElement.contains(event.target as Node)) return;\n this.openState.set(false);\n });\n\n this.overlayRef\n .keydownEvents()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(event => {\n this.handleMenuKeydown(event);\n });\n\n if (this.trigger() === 'hover') {\n this.overlayRef.overlayElement.addEventListener('mouseleave', this.onOverlayMouseLeave);\n }\n\n this.opened.emit();\n }\n\n /**\n * Tear the overlay down, and tell the host — unless the host is going away\n * with it.\n *\n * `notify: false` is the DESTROY path, and it is not a nicety. An `output()`\n * belongs to the view that declares it, so emitting from `onDestroy` is\n * refused: Angular logs `NG0953: Unexpected emit for destroyed OutputRef` and\n * the listener never runs. Measured — a `(closed)` handler on a dropdown whose\n * host view is removed while the menu is open fired zero times and left a\n * console error behind. There is nobody to notify at that point, because the\n * consumer's own view is being torn down in the same pass; `wr-popconfirm`\n * already disposes without emitting, and this brings the other two into line.\n *\n * The focus hand-back is skipped for the same reason — the host element is on\n * its way out of the document.\n */\n private closeOverlay(notify = true): void {\n if (!this.overlayRef) return;\n if (this.trigger() === 'hover') {\n this.overlayRef.overlayElement.removeEventListener('mouseleave', this.onOverlayMouseLeave);\n }\n // Take the focus back before the pane goes, or it lands on `<body>` and the\n // next Tab starts from the top of the document. Only when focus is actually\n // inside the menu: closing a menu nobody was in must not steal the caret\n // from wherever the user has since moved.\n // Submenus count, and are read before they close: each hands focus to its\n // own item on the way out.\n const focusWasInside = this.inMenus(document.activeElement);\n if (this.level) {\n this.level.child?.close();\n wrDropdownReleaseLevel(this.level);\n this.level = null;\n }\n this.overlayRef.dispose();\n this.overlayRef = null;\n if (notify) {\n if (focusWasInside) wrRestoreFocus(this.host.nativeElement, this.focusMonitor);\n this.closed.emit();\n }\n }\n\n // Keyboard handling\n\n /** @internal Trigger keydown — ArrowDown/Up/Enter/Space open the menu. */\n protected onKeydown(event: KeyboardEvent): void {\n if (this.isOpen() || this.trigger() === 'manual') return;\n if (event.key === 'ArrowDown' || event.key === 'ArrowUp' || event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n // Opened from the keyboard — including on a `hover` trigger, which stays\n // keyboard-operable — so the first item SHOULD take focus.\n this.openedByPointer = false;\n this.open();\n }\n }\n\n private handleMenuKeydown(event: KeyboardEvent): void {\n // The one keyboard handler of the whole chain: a submenu pane does not\n // listen, so the dispatcher brings its keys here, and the pane they were\n // typed in is the one the arrows walk.\n const level = this.level && wrDropdownLevelOf(this.level, event.target);\n const submenu = level?.parent ? level : null;\n const items = this.getItems(level?.pane);\n if (items.length === 0 && event.key !== 'Escape' && event.key !== 'Tab') return;\n const current = document.activeElement as HTMLElement | null;\n const idx = current ? items.indexOf(current) : -1;\n\n // CDK's keyboard dispatcher feeds this overlay EVERY document keydown, not\n // just the ones typed into it — and a `trigger=\"hover\"` menu is open with\n // the caret deliberately left wherever the user was (see `openedByPointer`).\n // So ownership is checked here rather than assumed: without it, ArrowDown /\n // ArrowUp / Home / End pressed in an unrelated field were `preventDefault`ed\n // and yanked focus into the menu. The trigger counts as ours — a hover menu\n // that the user has tabbed back to should still open to the keyboard.\n const typedIn = event.target;\n const ours = typedIn instanceof Node && (this.host.nativeElement.contains(typedIn) || level !== null);\n // Escape (and Tab) still close from anywhere — routing to the topmost\n // overlay regardless of focus is the dispatcher's whole job. Escape just\n // must not drag the caret onto the trigger from a field the user is in.\n if (!ours && event.key !== 'Escape' && event.key !== 'Tab') return;\n\n // Escape, or the arrow pointing back at the parent menu, steps out of a\n // submenu one level and lands on the item that owns it.\n if (submenu && (event.key === 'Escape' || event.key === (this.dir?.value === 'rtl' ? 'ArrowRight' : 'ArrowLeft'))) {\n event.preventDefault();\n submenu.close();\n return;\n }\n\n const focusAt = (index: number): void => {\n event.preventDefault();\n items[index]?.focus();\n };\n\n switch (event.key) {\n case 'Escape':\n event.preventDefault();\n this.openState.set(false);\n if (ours) wrRestoreFocus(this.host.nativeElement, this.focusMonitor);\n break;\n case 'Tab':\n // Tab closes the menu and moves on, in either direction, from the\n // TRIGGER. Left alone, the browser's Tab runs from the item, and the\n // menu sits in the overlay container at the end of `<body>`: Tab went\n // to the top of the page and Shift+Tab to the footer, and the close\n // then found focus outside the pane and had nothing to hand back. So\n // the trigger takes focus here, synchronously and with no\n // `preventDefault`, and the browser's own Tab carries on from it to\n // its real neighbour — by the time the close runs, focus is already\n // past the pane and `closeOverlay` leaves it there. Not from a field\n // outside the menu, for the reason Escape gives above.\n if (ours) wrRestoreFocus(this.host.nativeElement, this.focusMonitor);\n this.openState.set(false);\n break;\n case 'ArrowDown':\n focusAt(idx < items.length - 1 ? idx + 1 : 0);\n break;\n case 'ArrowUp':\n focusAt(idx > 0 ? idx - 1 : items.length - 1);\n break;\n case 'Home':\n focusAt(0);\n break;\n case 'End':\n focusAt(items.length - 1);\n break;\n default:\n break;\n }\n }\n\n /** The focus stops of `pane`, the root menu's own by default. */\n private getItems(pane = this.overlayRef?.overlayElement): readonly HTMLElement[] {\n return pane ? wrDropdownItems(pane) : [];\n }\n\n /** Whether `node` is in the root menu or in a submenu open below it. */\n private inMenus(node: unknown): boolean {\n return this.level !== null && wrDropdownLevelOf(this.level, node) !== null;\n }\n\n /** A `trigger=\"hover\"` menu closes once the pointer is off the trigger and every pane. */\n private onMenusLeave(related: EventTarget | null): void {\n if (this.trigger() !== 'hover') return;\n if (related instanceof Node && this.host.nativeElement.contains(related)) return;\n if (this.inMenus(related)) return;\n this.openState.set(false);\n }\n\n private focusItemAt(index: number): void {\n const items = this.getItems();\n if (items.length === 0) return;\n const clamped = ((index % items.length) + items.length) % items.length;\n items[clamped]?.focus();\n }\n\n private readonly onOverlayMouseLeave = (event: MouseEvent): void => this.onMenusLeave(event.relatedTarget);\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 { Component, TemplateRef, ViewEncapsulation, signal, viewChild } from '@angular/core';\n\nimport { wrCheckStyles } from 'ngwr/utils';\n\nlet uid = 0;\n\n/**\n * Holds the menu content rendered when a {@link WrDropdown} opens.\n *\n * The component itself doesn't render anywhere — the directive grabs its\n * internal `<ng-template>` and portals it into an overlay.\n *\n * @example\n * ```html\n * <button [wrDropdown]=\"menu\">Actions</button>\n * <wr-dropdown-menu #menu>\n * <wr-dropdown-item icon=\"copy\">Copy</wr-dropdown-item>\n * <wr-dropdown-item icon=\"trash\">Delete</wr-dropdown-item>\n * </wr-dropdown-menu>\n * ```\n *\n * @see https://ngwr.dev/reference/components/dropdown\n */\n@Component({\n selector: 'wr-dropdown-menu',\n template:\n '<ng-template><div class=\"wr-dropdown-menu\" role=\"menu\" [attr.id]=\"menuId()\" [attr.aria-labelledby]=\"triggerId() || null\"><ng-content /></div></ng-template>',\n exportAs: 'wrDropdownMenu',\n encapsulation: ViewEncapsulation.None,\n // A BOUND display rather than a static `style` attribute: Angular writes a\n // binding through `style.setProperty`, which no CSP governs, while a real\n // `style=\"…\"` attribute is refused under `style-src 'self'` — and this host\n // would then lay out an empty box in the middle of the content.\n host: { '[style.display]': \"'none'\" },\n})\nexport class WrDropdownMenu {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('dropdown');\n }\n\n /** The internal template the directive portals into the overlay. @internal */\n readonly contentTpl = viewChild.required(TemplateRef);\n\n /** Stable id used on the menu element and referenced from the trigger's `aria-controls`. */\n readonly menuId = signal(`wr-dropdown-menu-${++uid}`);\n\n /** Trigger element id, set by the directive for `aria-labelledby` wiring. */\n readonly triggerId = signal<string | null>(null);\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, ElementRef, ViewEncapsulation, computed, inject, input } from '@angular/core';\n\nimport { WrIcon, type WrIconName } from 'ngwr/icon';\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/**\n * Single row inside a `<wr-dropdown-menu>`.\n *\n * @example\n * ```html\n * <wr-dropdown-item icon=\"copy\" (click)=\"copy()\">Copy</wr-dropdown-item>\n * <wr-dropdown-item icon=\"trash\" disabled>Delete</wr-dropdown-item>\n * ```\n */\n@Component({\n selector: 'wr-dropdown-item',\n templateUrl: './dropdown-item.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n role: 'menuitem',\n class: 'wr-dropdown-item',\n '[class]': 'classes()',\n '[attr.tabindex]': '-1',\n '[attr.aria-disabled]': 'disabled() ? true : null',\n '(keydown.enter)': 'activate($event)',\n '(keydown.space)': 'activate($event)',\n },\n imports: [WrIcon],\n})\nexport class WrDropdownItem {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('dropdown');\n }\n\n /** Optional leading icon name. @default null */\n readonly icon = input<WrIconName | null>(null);\n\n /** Disable interaction (suppresses pointer + keyboard). @default false */\n readonly disabled = input(false, { transform: coerceBooleanProperty });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.disabled()) parts.push('wr-dropdown-item--disabled');\n return parts.join(' ');\n });\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** @internal Keyboard activation — fires the same click consumers bind to. */\n protected activate(event: Event): void {\n if (this.disabled()) return;\n event.preventDefault();\n this.host.nativeElement.click();\n }\n}\n","@if (icon(); as name) {\n <wr-icon class=\"wr-dropdown-item__icon\" [name]=\"name\" />\n}\n<span class=\"wr-dropdown-item__label\">\n <ng-content />\n</span>\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 { FocusMonitor } from '@angular/cdk/a11y';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { type ConnectedPosition, type OverlayRef, ScrollStrategyOptions } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { DestroyRef, Directive, ElementRef, Injector, ViewContainerRef, inject, input, signal } from '@angular/core';\n\nimport type { Subscription } from 'rxjs';\n\nimport { WR_OVERLAY, WrOutsideClick, wrFollowDirection } from 'ngwr/overlay';\nimport { wrCheckStyles, wrNumAttr, wrRestoreFocus } from 'ngwr/utils';\n\nimport {\n type WrDropdownLevel,\n wrDropdownItems,\n wrDropdownLevelAround,\n wrDropdownLevelOf,\n wrDropdownRegisterLevel,\n wrDropdownReleaseLevel,\n} from './dropdown-chain';\nimport type { WrDropdownMenu } from './dropdown-menu';\n\n/**\n * Beside the item at the inline end, then at the inline start, each first with\n * the tops aligned and then the bottoms. `start` / `end` and no offsets, so the\n * CDK mirrors the list under RTL by itself.\n */\nconst POSITIONS: ConnectedPosition[] = [\n { originX: 'end', originY: 'top', overlayX: 'start', overlayY: 'top' },\n { originX: 'start', originY: 'top', overlayX: 'end', overlayY: 'top' },\n { originX: 'end', originY: 'bottom', overlayX: 'start', overlayY: 'bottom' },\n { originX: 'start', originY: 'bottom', overlayX: 'end', overlayY: 'bottom' },\n];\n\nlet itemUid = 0;\n\n/**\n * Put on a `<wr-dropdown-item>` to open another `<wr-dropdown-menu>` beside it.\n * The submenu's own items can carry it too, to any depth.\n *\n * @example\n * ```html\n * <button [wrDropdown]=\"file\">File</button>\n *\n * <wr-dropdown-menu #file>\n * <wr-dropdown-item>New</wr-dropdown-item>\n * <wr-dropdown-item [wrDropdownSubmenu]=\"exportAs\">Export</wr-dropdown-item>\n * </wr-dropdown-menu>\n *\n * <wr-dropdown-menu #exportAs>\n * <wr-dropdown-item (click)=\"export('csv')\">CSV</wr-dropdown-item>\n * <wr-dropdown-item (click)=\"export('pdf')\">PDF</wr-dropdown-item>\n * </wr-dropdown-menu>\n * ```\n *\n * @see https://ngwr.dev/reference/components/dropdown\n */\n@Directive({\n selector: '[wrDropdownSubmenu]',\n exportAs: 'wrDropdownSubmenu',\n host: {\n class: 'wr-dropdown-submenu-trigger',\n '[attr.id]': 'itemId',\n 'aria-haspopup': 'menu',\n '[attr.aria-expanded]': 'isOpen()',\n '[attr.aria-controls]': 'isOpen() ? menu().menuId() : null',\n '(click)': 'onClick($event)',\n '(keydown)': 'onKeydown($event)',\n '(mouseenter)': 'onMouseEnter()',\n '(mouseleave)': 'onMouseLeave($event)',\n },\n})\nexport class WrDropdownSubmenu {\n /** Menu to open beside the item. Pass a `<wr-dropdown-menu>` template reference. */\n readonly menu = input.required<WrDropdownMenu>({ alias: 'wrDropdownSubmenu' });\n\n /** How long the pointer rests on the item before the submenu opens, in ms. @default 150 */\n readonly showDelay = input(150, { transform: wrNumAttr(150) });\n\n /**\n * How long the submenu stays once the pointer has left both the item and the\n * submenu, in ms. Long enough to cross a neighbouring item on the way in.\n * @default 150\n */\n readonly hideDelay = input(150, { transform: wrNumAttr(150) });\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly focusMonitor = inject(FocusMonitor);\n private readonly overlay = inject(WR_OVERLAY);\n private readonly dir = inject(Directionality, { optional: true });\n private readonly outsideClick = inject(WrOutsideClick);\n private readonly vcr = inject(ViewContainerRef);\n private readonly scrollStrategies = inject(ScrollStrategyOptions);\n private readonly injector = inject(Injector);\n\n private readonly openState = signal(false);\n\n /** Whether the submenu is open. Read-only: `open()` and `close()` change it. */\n readonly isOpen = this.openState.asReadonly();\n\n private readonly fallbackId = `wr-dropdown-submenu-trigger-${++itemUid}`;\n\n /** The consumer's own `id` wins, read fresh for the reason `WrDropdown` gives. */\n protected get itemId(): string {\n return this.host.nativeElement.id || this.fallbackId;\n }\n\n private overlayRef: OverlayRef | null = null;\n private level: WrDropdownLevel | null = null;\n private outside: Subscription | null = null;\n private showTimer: ReturnType<typeof setTimeout> | null = null;\n private hideTimer: ReturnType<typeof setTimeout> | null = null;\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('dropdown');\n // The item is projected content: it outlives the pane it was rendered in,\n // and goes only with the consumer's own view.\n inject(DestroyRef).onDestroy(() => this.dispose(false));\n }\n\n /** Open the submenu and move focus to its first item. The item has to be in an open menu. */\n open(): void {\n this.show(true);\n }\n\n /** Close the submenu and every submenu below it. */\n close(): void {\n this.dispose(true);\n }\n\n /** @internal A real click opens; Enter and Space arrive as a click with no pointer behind it. */\n protected onClick(event: MouseEvent): void {\n this.show(event.detail === 0);\n }\n\n /** @internal The arrow pointing the way the menus cascade walks into the submenu. */\n protected onKeydown(event: KeyboardEvent): void {\n if (event.key !== (this.dir?.value === 'rtl' ? 'ArrowLeft' : 'ArrowRight') || this.disabled) return;\n event.preventDefault();\n this.show(true);\n }\n\n /** @internal */\n protected onMouseEnter(): void {\n this.clearTimers();\n if (this.overlayRef || this.disabled) return;\n this.showTimer = setTimeout(() => this.show(false), this.showDelay());\n }\n\n /** @internal */\n protected onMouseLeave(event: MouseEvent): void {\n this.clearTimers();\n if (!this.level || wrDropdownLevelOf(this.level, event.relatedTarget)) return;\n this.hideLater();\n }\n\n private get disabled(): boolean {\n return this.host.nativeElement.getAttribute('aria-disabled') === 'true';\n }\n\n /** A pointer shows the submenu and leaves the caret alone; the keyboard walks in. */\n private show(focus: boolean): void {\n this.clearTimers();\n if (!this.overlayRef) this.attach();\n if (focus && this.overlayRef) wrDropdownItems(this.overlayRef.overlayElement)[0]?.focus();\n }\n\n private attach(): void {\n const parent = wrDropdownLevelAround(this.host.nativeElement);\n if (!parent || this.disabled) return;\n parent.child?.close();\n\n const ref = this.overlay.create({\n positionStrategy: this.overlay\n .position()\n .flexibleConnectedTo(this.host)\n .withPositions(POSITIONS)\n .withPush(true)\n .withGrowAfterOpen(true),\n scrollStrategy: this.scrollStrategies.reposition(),\n panelClass: ['wr-dropdown-overlay', 'wr-dropdown-overlay--submenu'],\n });\n wrFollowDirection(ref, this.dir, this.injector);\n\n this.menu().triggerId.set(this.itemId);\n ref.attach(new TemplatePortal(this.menu().contentTpl(), this.vcr));\n\n const pane = ref.overlayElement;\n pane.addEventListener('mouseenter', this.clearTimers);\n pane.addEventListener('mouseleave', this.onPaneLeave);\n pane.addEventListener('click', this.onPaneClick);\n\n // Listening is also what keeps a click INSIDE this pane from reading as a\n // click outside the menus under it: the registry stops at the first pane\n // that holds the target.\n this.outside = this.outsideClick.outsidePointerEvents(ref).subscribe(event => {\n if (!this.host.nativeElement.contains(event.target as Node)) this.close();\n });\n\n // No `keydownEvents()` subscription: the CDK routes keys to the topmost\n // overlay that listens, and the root menu answers for every level.\n this.overlayRef = ref;\n this.level = { pane, parent, child: null, close: () => this.close() };\n wrDropdownRegisterLevel(this.level);\n this.openState.set(true);\n }\n\n private dispose(restoreFocus: boolean): void {\n this.clearTimers();\n const ref = this.overlayRef;\n const level = this.level;\n if (!ref || !level) return;\n\n // Read before the levels below go, since each hands focus up to its own item.\n const focusWasInside = wrDropdownLevelOf(level, document.activeElement) !== null;\n level.child?.close();\n wrDropdownReleaseLevel(level);\n\n const pane = ref.overlayElement;\n pane.removeEventListener('mouseenter', this.clearTimers);\n pane.removeEventListener('mouseleave', this.onPaneLeave);\n pane.removeEventListener('click', this.onPaneClick);\n this.outside?.unsubscribe();\n this.outside = null;\n\n ref.dispose();\n this.overlayRef = null;\n this.level = null;\n this.openState.set(false);\n if (restoreFocus && focusWasInside) wrRestoreFocus(this.host.nativeElement, this.focusMonitor);\n }\n\n private hideLater(): void {\n this.hideTimer = setTimeout(() => this.close(), this.hideDelay());\n }\n\n private readonly clearTimers = (): void => {\n if (this.showTimer !== null) clearTimeout(this.showTimer);\n if (this.hideTimer !== null) clearTimeout(this.hideTimer);\n this.showTimer = this.hideTimer = null;\n };\n\n private readonly onPaneLeave = (event: MouseEvent): void => {\n const level = this.level;\n const related = event.relatedTarget;\n if (!level) return;\n if (related instanceof Node && this.host.nativeElement.contains(related)) return;\n if (wrDropdownLevelOf(level, related)) return;\n this.clearTimers();\n this.hideLater();\n\n let root = level;\n while (root.parent) root = root.parent;\n root.pointerLeft?.(related);\n };\n\n /** Choosing a leaf closes every submenu, up to the root menu's own item. */\n private readonly onPaneClick = (event: MouseEvent): void => {\n const item = event.target instanceof Element ? event.target.closest('.wr-dropdown-item') : null;\n if (!item || item.matches('.wr-dropdown-item--disabled, .wr-dropdown-submenu-trigger')) return;\n\n let top = this.level;\n while (top?.parent?.parent) top = top.parent;\n top?.close();\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAQA,MAAM,yBAAS,IAAI,QAAO;AAwB1B,SAAgB,wBAAwB,OAAsB;CAC5D,OAAO,IAAI,MAAM,MAAM,KAAK;CAC5B,IAAI,MAAM,QAAQ,MAAM,OAAO,QAAQ;AACzC;AAGA,SAAgB,uBAAuB,OAAsB;CAC3D,OAAO,OAAO,MAAM,IAAI;CACxB,IAAI,MAAM,QAAQ,UAAU,OAAO,MAAM,OAAO,QAAQ;AAC1D;AAGA,SAAgB,sBAAsB,IAAe;CACnD,MAAM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AAwB;IACxB,wBAAwB;IACxB,WAAW;IACX,aAAa;IACb,gBAAgB;IAChB,gBAAgB;GACjB;EACF,CAAA"}
@@ -189,7 +189,10 @@ const wrAr = {
189
189
  grabbed: "تم الالتقاط. {{index}} من {{total}}.",
190
190
  moved: "{{index}} من {{total}}.",
191
191
  dropped: "تم الإفلات. {{index}} من {{total}}.",
192
- cancelled: "تم إلغاء النقل."
192
+ cancelled: "تم إلغاء النقل.",
193
+ groupKeyHelp: "اضغط مفتاح المسافة لالتقاط هذا العنصر، ثم استخدم مفاتيح الأسهم لتحريكه داخل قائمته أو إلى القائمة المجاورة. اضغط مفتاح المسافة مرة أخرى لإفلاته، أو Escape لإعادته إلى مكانه.",
194
+ movedTo: "تم النقل إلى {{list}}. {{index}} من {{total}}.",
195
+ listPosition: "القائمة {{index}} من {{total}}"
193
196
  },
194
197
  colorPicker: {
195
198
  area: "التشبع والسطوع، {{saturation}}% و{{brightness}}%",
@@ -309,7 +312,9 @@ const wrAr = {
309
312
  image: {
310
313
  viewer: "معاينة الصورة",
311
314
  open: "فتح المعاينة",
312
- close: "إغلاق المعاينة"
315
+ close: "إغلاق المعاينة",
316
+ counter: "{{current}} / {{total}}",
317
+ position: "الصورة {{current}} من {{total}}"
313
318
  },
314
319
  window: {
315
320
  close: "إغلاق",
@@ -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 },\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 loading: 'جارٍ التحميل…',\n loadError: 'تعذّر تحميل النتائج',\n retry: 'إعادة المحاولة',\n more: '+{{count}} أخرى',\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 },\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: 'إزالة الملف',\n invalid: 'نوع ملف غير مدعوم',\n tooBig: 'حجم الملف كبير جدًا',\n size: '{{value}} {{unit}}',\n unitByte: 'بايت',\n unitKb: 'كيلوبايت',\n unitMb: 'ميجابايت',\n unitGb: 'جيجابايت',\n unitTb: 'تيرابايت',\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 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 },\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 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 prev: 'الشريحة السابقة',\n next: 'الشريحة التالية',\n pagination: 'ترقيم شرائح العرض الدوّار',\n roledescription: 'عرض دوّار',\n slideRoledescription: 'شريحة',\n },\n alert: {\n close: 'إغلاق التنبيه',\n },\n qr: {\n label: 'رمز QR',\n },\n image: {\n viewer: 'معاينة الصورة',\n open: 'فتح المعاينة',\n close: 'إغلاق المعاينة',\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 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 },\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,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;CACR;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,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B;EACpB,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;CACX;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 },\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 loading: 'جارٍ التحميل…',\n loadError: 'تعذّر تحميل النتائج',\n retry: 'إعادة المحاولة',\n more: '+{{count}} أخرى',\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 },\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: 'إزالة الملف',\n invalid: 'نوع ملف غير مدعوم',\n tooBig: 'حجم الملف كبير جدًا',\n size: '{{value}} {{unit}}',\n unitByte: 'بايت',\n unitKb: 'كيلوبايت',\n unitMb: 'ميجابايت',\n unitGb: 'جيجابايت',\n unitTb: 'تيرابايت',\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 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 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 prev: 'الشريحة السابقة',\n next: 'الشريحة التالية',\n pagination: 'ترقيم شرائح العرض الدوّار',\n roledescription: 'عرض دوّار',\n slideRoledescription: 'شريحة',\n },\n alert: {\n close: 'إغلاق التنبيه',\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 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 },\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,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,O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V,SAAS;EACT,UAAU;EACV,QAAQ;EACR,UAAU;EACV,UAAU;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,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;CACX;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"}
@@ -189,7 +189,10 @@ const wrCs = {
189
189
  grabbed: "Uchopeno. {{index}} z {{total}}.",
190
190
  moved: "{{index}} z {{total}}.",
191
191
  dropped: "Položeno. {{index}} z {{total}}.",
192
- cancelled: "Přesun zrušen."
192
+ cancelled: "Přesun zrušen.",
193
+ groupKeyHelp: "Mezerníkem položku uchopíte, šipkami ji přesunete v seznamu nebo do sousedního seznamu. Dalším stisknutím mezerníku ji položíte, klávesou Escape ji vrátíte zpět.",
194
+ movedTo: "Přesunuto do: {{list}}. {{index}} z {{total}}.",
195
+ listPosition: "seznam {{index}} z {{total}}"
193
196
  },
194
197
  colorPicker: {
195
198
  area: "Sytost a jas, {{saturation}} % a {{brightness}} %",
@@ -309,7 +312,9 @@ const wrCs = {
309
312
  image: {
310
313
  viewer: "Náhled obrázku",
311
314
  open: "Otevřít náhled",
312
- close: "Zavřít náhled"
315
+ close: "Zavřít náhled",
316
+ counter: "{{current}} / {{total}}",
317
+ position: "Obrázek {{current}} z {{total}}"
313
318
  },
314
319
  window: {
315
320
  close: "Zavřít",
@@ -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 },\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 loading: 'Načítání…',\n loadError: 'Výsledky se nepodařilo načíst',\n retry: 'Zkusit znovu',\n more: 'Další: {{count}}',\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 },\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 soubor',\n invalid: 'Nepodporovaný typ souboru',\n tooBig: 'Soubor je příliš velký',\n size: '{{value}} {{unit}}',\n unitByte: 'B',\n unitKb: 'kB',\n unitMb: 'MB',\n unitGb: 'GB',\n unitTb: 'TB',\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 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 },\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 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 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 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 },\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 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 },\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;CACR;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;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oB;EACpB,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;CACX;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 },\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 loading: 'Načítání…',\n loadError: 'Výsledky se nepodařilo načíst',\n retry: 'Zkusit znovu',\n more: 'Další: {{count}}',\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 },\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 soubor',\n invalid: 'Nepodporovaný typ souboru',\n tooBig: 'Soubor je příliš velký',\n size: '{{value}} {{unit}}',\n unitByte: 'B',\n unitKb: 'kB',\n unitMb: 'MB',\n unitGb: 'GB',\n unitTb: 'TB',\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 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 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 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 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 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 },\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,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EACT,MAAM;EACN,QAAQ;EACR,OAAO;CACR;CACD,iBAAiB,EACf,QAAQ,cACT;CACD,OAAO;EACL,cAAc;EACd,cAAc;CACf;CACD,aAAa;EACX,WAAW;EACX,WAAW;CACZ;CACD,UAAU;EACR,OAAO;EACP,OAAO;EACP,WAAW;CACZ;CACD,QAAQ,EACN,OAAO,QACR;CACD,QAAQ,EACN,KAAK,SACN;CACD,SAAS,EACP,OAAO,cACR;CACD,aAAa,EACX,OAAO,sBACR;CACD,QAAQ,EACN,OAAO,mBACR;CACD,UAAU;EACR,WAAW;EACX,WAAW;EACX,UAAU;EACV,UAAU;EACV,WAAW;EACX,UAAU;EACV,WAAW;EACX,WAAW;EACX,QAAQ;EACR,WAAW;EACX,UAAU;CACX;CACD,cAAc;EACZ,OAAO;EACP,QAAQ;EACR,SACE;CAEH;CACD,cAAc;EACZ,SACE;EAEF,SAAS;EACT,OAAO;EACP,SAAS;EACT,WAAW;EACX,cACE;EAEF,SAAS;EACT,cAAc;CACf;CACD,aAAa;EACX,MAAM;EACN,KAAK;EACL,OAAO;EACP,WAAW;EACX,WAAW;EACX,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,cAAc;EACd,aAAa;EACb,YAAY;EACZ,mBAAmB;EACnB,kBAAkB;EAClB,cAAc;CACf;CACD,UAAU;EACR,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;CACR;CACD,iBAAiB;EACf,OAAO;EACP,MAAM;CACP;CACD,WAAW;EACT,OAAO;EACP,WAAW;CACZ;CACD,YAAY;EACV,OAAO;EACP,UAAU;CACX;CACD,aAAa;EACX,aAAa;EACb,QAAQ;CACT;CACD,cAAc;EACZ,OAAO;EACP,GAAG;EACH,GAAG;EACH,MAAM;CACP;CACD,YAAY;EACV,OAAO;EACP,gBAAgB;CACjB;CACD,cAAc;EACZ,OAAO;EACP,QAAQ;CACT;CACD,aAAa;EACX,OAAO;EACP,OAAO;EACP,OAAO;EACP,cAAc;EACd,WAAW;EACX,YAAY;EAC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AAU;EACV,QAAQ;EACR,UAAU;EACV,UAAU;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;CACD,SAAS;EACP,SAAS;EACT,WAAW;EACX,UAAU;CACX;CACD,SAAS;EACP,MAAM;EACN,SAAS;CACV;CACD,QAAQ,EACN,OAAO,yBACR;CACD,YAAY;EACV,MAAM;EACN,UAAU;EACV,cAAc;EACd,WAAW;EACX,OAAO;EACP,WAAW;EACX,eAAe;EACf,YAAY;EACZ,oBAAoB;EACpB,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;CACX;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"}
@@ -189,7 +189,10 @@ const wrDe = {
189
189
  grabbed: "Aufgenommen. {{index}} von {{total}}.",
190
190
  moved: "{{index}} von {{total}}.",
191
191
  dropped: "Abgelegt. {{index}} von {{total}}.",
192
- cancelled: "Verschieben abgebrochen."
192
+ cancelled: "Verschieben abgebrochen.",
193
+ groupKeyHelp: "Drücken Sie die Leertaste, um dieses Element aufzunehmen, und verschieben Sie es dann mit den Pfeiltasten, innerhalb der Liste oder in die benachbarte Liste. Drücken Sie die Leertaste erneut, um es abzulegen, oder Escape, um es an seinen Platz zurückzulegen.",
194
+ movedTo: "Verschoben nach {{list}}. {{index}} von {{total}}.",
195
+ listPosition: "Liste {{index}} von {{total}}"
193
196
  },
194
197
  colorPicker: {
195
198
  area: "Sättigung und Helligkeit, {{saturation}} % und {{brightness}} %",
@@ -309,7 +312,9 @@ const wrDe = {
309
312
  image: {
310
313
  viewer: "Bildvorschau",
311
314
  open: "Vorschau öffnen",
312
- close: "Vorschau schließen"
315
+ close: "Vorschau schließen",
316
+ counter: "{{current}} / {{total}}",
317
+ position: "Bild {{current}} von {{total}}"
313
318
  },
314
319
  window: {
315
320
  close: "Schließen",