@mintplayer/ng-bootstrap 22.13.0 → 22.15.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.
- package/charts/hierarchy/package.json +4 -0
- package/charts/sparkline/package.json +4 -0
- package/charts/trend/package.json +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +24 -24
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +30 -30
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +152 -0
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +59 -0
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +79 -0
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +11 -10
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +94 -22
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +38 -34
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +8 -7
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +14 -13
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +15 -15
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +24 -24
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +8 -7
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +26 -25
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-observe-size.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +24 -24
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +8 -7
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +5 -4
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +15 -15
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +8 -7
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +8 -7
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +56 -55
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +5 -4
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +11 -10
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +8 -7
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +5 -4
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +8 -7
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +13 -11
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +21 -21
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +21 -21
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +24 -24
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +5 -4
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +3 -3
- package/package.json +13 -1
- package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +44 -0
- package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +20 -0
- package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +28 -0
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +61 -15
- package/src/styles/ngx-highlight-themes/a11y-dark.scss +0 -107
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-navbar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar/navbar.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar/navbar.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-nav/navbar-nav.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-item/navbar-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-brand/navbar-brand.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown-label.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-toggler-slot/navbar-toggler.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-content/navbar-content.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/mintplayer-ng-bootstrap-navbar.ts"],"sourcesContent":["import { afterNextRender, ChangeDetectionStrategy, Component, computed, CUSTOM_ELEMENTS_SCHEMA, ElementRef, inject, input, output } from '@angular/core';\nimport type { NavbarBreakpoint, NavbarExpandedChangeEventDetail } from '@mintplayer/web-components/navbar';\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\n\n/**\n * `<bs-navbar>` — Angular wrapper around the `<mp-navbar>` web component.\n *\n * Layout, the responsive collapse behaviour, the pure-CSS no-JS toggle and the\n * theme-aware styling all live in the WC (single source of UI truth). This\n * wrapper only bridges inputs to attributes and projects content into the WC's\n * slots:\n * - mark the brand with `bs-navbar-brand` (→ `slot=\"brand\"`);\n * - left-aligned items go in the default slot;\n * - right-aligned items get `slot=\"end\"`.\n *\n * The WC is registered **client-side only** (`afterNextRender`); on the server\n * Angular emits a bare `<mp-navbar>` tag and the SSR layer injects its\n * Declarative Shadow DOM (see `injectMpNavbarDsd`), so it renders with JS off.\n */\n@Component({\n selector: 'bs-navbar',\n templateUrl: './navbar.component.html',\n imports: [BsForwardAriaDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BsNavbarComponent {\n /** Host element — measured by `[bsNavbarContent]` to offset page content. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Bootstrap breakpoint the navbar expands at; collapses below it. */\n readonly breakpoint = input<NavbarBreakpoint>('md');\n /** Theme color of the navbar background (e.g. `primary`, `dark`, `body-tertiary`). */\n readonly color = input<string>();\n /** Accessible label for the `<nav>` landmark. */\n /** Whether the collapse is (visually) expanded; reflected to the WC. */\n readonly expanded = input(false);\n /** `fixed` pins the bar to the top of the viewport, full width; omit for in-flow. */\n readonly positioning = input<'fixed'>();\n\n /** Fires when the collapse toggles (re-emits the WC's `expandedchange`). */\n readonly expandedchange = output<NavbarExpandedChangeEventDetail>();\n\n /** String-or-absent attributes derived once via signals. */\n protected readonly colorAttr = computed(() => this.color() ?? null);\n protected readonly positioningAttr = computed(() => this.positioning() ?? null);\n /** Presence attribute: `''` when expanded, `null` when collapsed. */\n protected readonly expandedAttr = computed(() => (this.expanded() ? '' : null));\n\n protected onExpandedchange(event: Event) {\n // The WC's `expandedchange` is a general-purpose DOM event (bubbles +\n // composed). The public Angular API is this typed `output()`, so consume\n // the raw event here. Without `stopPropagation` it keeps bubbling to the\n // consumer's `<bs-navbar>` host, where their `(expandedchange)` binding\n // fires a SECOND time with the raw `CustomEvent` (Angular doesn't unwrap\n // `.detail`).\n event.stopPropagation();\n this.expandedchange.emit((event as CustomEvent<NavbarExpandedChangeEventDetail>).detail);\n }\n\n constructor() {\n afterNextRender(() => {\n // Side-effect import registers <mp-navbar> and friends; client-only so\n // SSR stays a bare tag for DSD injection.\n import('@mintplayer/web-components/navbar');\n });\n }\n}\n","<mp-navbar bsForwardAria [attr.breakpoint]=\"breakpoint()\" [attr.color]=\"colorAttr()\" [attr.expanded]=\"expandedAttr()\" [attr.positioning]=\"positioningAttr()\" (expandedchange)=\"onExpandedchange($event)\">\n <ng-content></ng-content>\n</mp-navbar>\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\n\n/**\n * `<bs-navbar-nav>` — groups navbar items into one of the WC's two nav lists.\n *\n * `align=\"start\"` (default) joins the left list, `align=\"end\"` the list pushed\n * to the far edge in wide mode. The host is `display: contents`, so the grouped\n * `<bs-navbar-item>` / `<bs-navbar-dropdown>` children flatten into the WC's\n * `.navbar-nav` flex layout exactly like directly-slotted items — the same\n * mechanism `<mp-navbar>` itself uses for its slots. The WC slot name stays an\n * internal detail (mirrors `bs-navbar-brand` hiding `slot=\"brand\"`).\n *\n * `display: contents` MUST stay static CSS (never applied via JS) so the no-JS\n * SSR path lays out identically from first paint.\n */\n@Component({\n selector: 'bs-navbar-nav',\n template: '<ng-content></ng-content>',\n styles: ':host { display: contents; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.slot]': 'slotAttr()',\n },\n})\nexport class BsNavbarNavComponent {\n /** Which nav group the items join: `start` (default) or `end` (pushed to the far edge in wide mode). */\n readonly align = input<'start' | 'end'>('start');\n\n protected readonly slotAttr = computed(() => (this.align() === 'end' ? 'end' : null));\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, CUSTOM_ELEMENTS_SCHEMA, inject, input } from '@angular/core';\nimport { BS_DROPDOWN_MENU_CONTEXT } from '@mintplayer/ng-bootstrap/dropdown-menu';\n\n/**\n * `<bs-navbar-item>` — one navbar entry, uniform at EVERY nesting level.\n *\n * Wraps a consumer light-DOM link: project an `<a routerLink>` / `<a href>` (or\n * a `<button>`) as content. The rendered shape is context-aware:\n *\n * - **Directly in the navbar** (top level, or inside `<bs-navbar-nav>`): wraps\n * the link in `<mp-navbar-item>`, which styles it as a `.nav-link` in its\n * own shadow.\n * - **Inside a dropdown** (`<bs-navbar-dropdown>` / `<bs-dropdown-menu>`,\n * detected via `BS_DROPDOWN_MENU_CONTEXT`): the HOST itself becomes the\n * `.dropdown-item` — the shape `mp-dropdown-menu` queries (roving tabindex,\n * `role=menuitem` on the inner control) and styles via\n * `::slotted(.dropdown-item)`. The link stays a DIRECT child of the host so\n * the menu wrapper's companion `.dropdown-item > a` reset reaches it\n * (`NgTemplateOutlet` through `<ng-container>` adds no wrapper element).\n *\n * `active` / `disabled` bridge to the WC's presence attributes (nav mode) or\n * Bootstrap's item classes + `aria-disabled` (menu mode).\n */\n@Component({\n selector: 'bs-navbar-item',\n template: `\n <ng-template #content><ng-content></ng-content></ng-template>\n @if (inMenu) {\n <ng-container [ngTemplateOutlet]=\"content\" />\n } @else {\n <mp-navbar-item [attr.active]=\"activeAttr()\" [attr.disabled]=\"disabledAttr()\" [attr.aria-current]=\"active() ? 'page' : null\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </mp-navbar-item>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n imports: [NgTemplateOutlet],\n host: {\n '[class.dropdown-item]': 'inMenu',\n '[class.active]': 'inMenu && active()',\n '[class.disabled]': 'inMenu && disabled()',\n '[attr.aria-disabled]': \"inMenu && disabled() ? 'true' : null\",\n // Menu mode: the same active state is the current page.\n '[attr.aria-current]': \"inMenu && active() ? 'page' : null\",\n },\n})\nexport class BsNavbarItemComponent {\n readonly active = input(false);\n readonly disabled = input(false);\n\n /** Menu mode when authored inside a dropdown; fixed per instance. */\n protected readonly inMenu = inject(BS_DROPDOWN_MENU_CONTEXT, { optional: true }) ?? false;\n\n /** Presence attributes: `''` when set, `null` when absent. */\n protected readonly activeAttr = computed(() => (this.active() ? '' : null));\n protected readonly disabledAttr = computed(() => (this.disabled() ? '' : null));\n}\n","import { ChangeDetectionStrategy, Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n/**\n * `<bs-navbar-brand>` — Angular wrapper around `<mp-navbar-brand>`.\n *\n * Project an `<a routerLink>` / text as the brand. The host sets\n * `slot=\"brand\"` so the wrapper element lands in `<mp-navbar>`'s `brand` slot\n * (mirrors `BsShellSidebarDirective`, which sets `slot=\"sidebar\"`).\n */\n@Component({\n selector: 'bs-navbar-brand',\n template: '<mp-navbar-brand><ng-content></ng-content></mp-navbar-brand>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.slot]': \"'brand'\",\n },\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BsNavbarBrandComponent {}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\n/**\n * Marks the trigger-label template for `<bs-navbar-dropdown>` — any HTML\n * (text, icon + text, badges, …). Rendered into the WC's trigger via\n * `ngTemplateOutlet`; the trigger's accessible name derives from this content,\n * so give an icon-only label an `aria-label`.\n *\n * ```html\n * <bs-navbar-dropdown>\n * <span *bsNavbarDropdownLabel>Products</span>\n * <bs-navbar-item><a routerLink=\"/p1\">Product 1</a></bs-navbar-item>\n * </bs-navbar-dropdown>\n * ```\n */\n@Directive({ selector: '[bsNavbarDropdownLabel]' })\nexport class BsNavbarDropdownLabelDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, contentChild, CUSTOM_ELEMENTS_SCHEMA, inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLinkActive } from '@angular/router';\nimport { BS_DROPDOWN_MENU_CONTEXT, BsDropdownMenuComponent } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsNavbarDropdownLabelDirective } from './navbar-dropdown-label.directive';\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\n\n/**\n * `<bs-navbar-dropdown>` — Angular wrapper around `<mp-navbar-dropdown>`.\n *\n * The trigger content is the `*bsNavbarDropdownLabel` template — any HTML\n * (matches the React/Vue wrappers, which take the WC's `label` slot directly).\n * The dropdown panel (`<bs-dropdown-menu>`) is rendered internally — author\n * the items directly between the tags, uniformly with the rest of the navbar:\n *\n * <bs-navbar-dropdown>\n * <span *bsNavbarDropdownLabel>Basic</span>\n * <bs-navbar-item><a routerLink=\"/basic/alert\">Alert</a></bs-navbar-item>\n * <bs-navbar-dropdown>…</bs-navbar-dropdown> <!-- submenu -->\n * </bs-navbar-dropdown>\n *\n * `BS_DROPDOWN_MENU_CONTEXT` is provided here (element injectors follow the\n * consumer template's nesting, not the projection site — the internally\n * rendered menu is invisible to projected children's injectors), so nested\n * `<bs-navbar-item>`s render their `.dropdown-item` shape.\n *\n * **Active-route trigger highlighting:** a `RouterLinkActive` host directive\n * collects the projected descendant `routerLink`s; when any is active\n * (non-exact — the whole subtree counts, like the legacy `[bsNavbarTrigger]`\n * prefix match) the WC gets its `active` attribute, which recolors the\n * shadow-rendered trigger (primary background for submenu triggers). Nested\n * dropdowns each report their own subtree, so the full trigger chain of the\n * active route highlights. Renders server-side, so it works with JS off.\n *\n * Reveal/positioning and the no-JS `:focus-within` fallback all live in the WC.\n */\n@Component({\n selector: 'bs-navbar-dropdown',\n templateUrl: './navbar-dropdown.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n imports: [BsForwardAriaDirective, NgTemplateOutlet, BsDropdownMenuComponent],\n providers: [{ provide: BS_DROPDOWN_MENU_CONTEXT, useValue: true }],\n hostDirectives: [RouterLinkActive],\n})\nexport class BsNavbarDropdownComponent {\n protected readonly label = contentChild.required(BsNavbarDropdownLabelDirective);\n\n /** A projected descendant link's route is active → highlight the trigger. */\n protected readonly routeActive = signal(false);\n\n constructor() {\n const rla = inject(RouterLinkActive, { self: true });\n // No class on this host — the state is bridged to the WC's `active`\n // attribute instead (the trigger lives in the WC's shadow, out of reach\n // of any class-based styling from here).\n rla.routerLinkActive = [];\n rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => this.routeActive.set(active));\n }\n}\n","<mp-navbar-dropdown bsForwardAria [attr.active]=\"routeActive() ? '' : null\">\n <span slot=\"label\"><ng-container [ngTemplateOutlet]=\"label().templateRef\"></ng-container></span>\n <bs-dropdown-menu>\n <ng-content></ng-content>\n </bs-dropdown-menu>\n</mp-navbar-dropdown>\n","import { Directive } from '@angular/core';\n\n/**\n * `[bsNavbarToggler]` — marks an element as the navbar's custom hamburger\n * glyph, replacing the WC's built-in animated 3-bar → X toggler (the `toggler`\n * slot's fallback). The slot name stays an internal detail of the WC.\n *\n * The glyph is a first-class no-JS citizen: DSD slot assignment happens at\n * parse time (no fallback flash), the click reaches the in-shadow checkbox via\n * native label activation, and the open-state arrives as the inherited\n * `--mp-navbar-expanded: 0|1` custom property — derive the morph in CSS, e.g.\n * `transform: rotate(calc(var(--mp-navbar-expanded, 0) * 45deg))`.\n *\n * The host must be NON-interactive: labels do not forward clicks from\n * interactive descendants, so a `<button>`/`<a href>` here would kill the\n * no-JS toggle. Use a `<span>`/`<div>` glyph. (For a programmatic boolean, use\n * `[expanded]`/`(expandedchange)` on `bs-navbar` instead.)\n */\n@Directive({\n selector: '[bsNavbarToggler]',\n host: {\n slot: 'toggler',\n },\n})\nexport class BsNavbarTogglerDirective {}\n","import { afterNextRender, Directive, ElementRef, inject, input, OnDestroy, PLATFORM_ID, Renderer2 } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n/**\n * `[bsNavbarContent]` — offsets page content below a `positioning=\"fixed\"`\n * navbar by its LIVE height (replaces hand-maintained `padding-top` constants).\n *\n * <bs-navbar [positioning]=\"'fixed'\" #nav>…</bs-navbar>\n * <div [bsNavbarContent]=\"nav\"><router-outlet /></div>\n *\n * On the client a `ResizeObserver` tracks the bar (theme/viewport changes\n * resize it) and sets `padding-top` = the element's own initial padding + the\n * bar height. On the server — where the bar can't be measured — a fixed 58px\n * approximation is serialized into the HTML so SSR/no-JS pages still clear the\n * bar (same contract as the pre-WC directive).\n */\n@Directive({\n selector: '[bsNavbarContent]',\n})\nexport class BsNavbarContentDirective implements OnDestroy {\n /** The `bs-navbar` to clear — pass its template reference (`#nav`). */\n readonly navbar = input.required<BsNavbarComponent>({ alias: 'bsNavbarContent' });\n\n /** Server-side height approximation (px) — the bar isn't measurable there. */\n static readonly SSR_NAVBAR_HEIGHT = 58;\n\n readonly #element = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n readonly #renderer = inject(Renderer2);\n #observer?: ResizeObserver;\n\n constructor() {\n if (isPlatformServer(inject(PLATFORM_ID))) {\n this.#setPadding(BsNavbarContentDirective.SSR_NAVBAR_HEIGHT);\n return;\n }\n afterNextRender(() => {\n // The measurable bar is the WC inside the wrapper host (the host itself\n // is inline and reports no height for a fixed child).\n const bar = this.navbar().elementRef.nativeElement.querySelector('mp-navbar');\n if (!bar) return;\n // Hydration reuses the SSR element, so the 58px approximation this\n // directive wrote server-side is still inline here. Remove it BEFORE\n // measuring, or the author's baseline would double-count it.\n this.#renderer.removeStyle(this.#element, 'padding-top');\n const initial = parseFloat(getComputedStyle(this.#element).paddingTop) || 0;\n this.#observer = new ResizeObserver(() =>\n this.#setPadding(initial + (bar as HTMLElement).offsetHeight),\n );\n this.#observer.observe(bar);\n });\n }\n\n #setPadding(px: number): void {\n this.#renderer.setStyle(this.#element, 'padding-top', `${px}px`);\n }\n\n ngOnDestroy(): void {\n this.#observer?.disconnect();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAIA;;;;;;;;;;;;;;AAcG;MAQU,iBAAiB,CAAA;AAuBlB,IAAA,gBAAgB,CAAC,KAAY,EAAA;;;;;;;QAOrC,KAAK,CAAC,eAAe,EAAE;QACvB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAE,KAAsD,CAAC,MAAM,CAAC;IAC1F;AAEA,IAAA,WAAA,GAAA;;AAhCS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,UAAU,GAAG,KAAK,CAAmB,IAAI;uFAAC;;AAE1C,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK;6FAAU;;;QAGvB,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK;qFAAC;;AAEvB,QAAA,IAAA,CAA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,IAAI,CAAC,QAAQ,EAAE,aAAa,EAAE,CAAA,EAAG,EAAE,CAAA,EAAA,CAAI,CAAC;IAClE;IAEA,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,SAAS,EAAE,UAAU,EAAE;IAC9B;8GAvCW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAHpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC9B,iBAAA;;;ACnBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-navbar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar/navbar.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar/navbar.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-nav/navbar-nav.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-item/navbar-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-brand/navbar-brand.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown-label.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-toggler-slot/navbar-toggler.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-content/navbar-content.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/mintplayer-ng-bootstrap-navbar.ts"],"sourcesContent":["import { afterNextRender, ChangeDetectionStrategy, Component, computed, CUSTOM_ELEMENTS_SCHEMA, ElementRef, inject, input, output } from '@angular/core';\nimport type { NavbarBreakpoint, NavbarExpandedChangeEventDetail } from '@mintplayer/web-components/navbar';\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\n\n/**\n * `<bs-navbar>` — Angular wrapper around the `<mp-navbar>` web component.\n *\n * Layout, the responsive collapse behaviour, the pure-CSS no-JS toggle and the\n * theme-aware styling all live in the WC (single source of UI truth). This\n * wrapper only bridges inputs to attributes and projects content into the WC's\n * slots:\n * - mark the brand with `bs-navbar-brand` (→ `slot=\"brand\"`);\n * - left-aligned items go in the default slot;\n * - right-aligned items get `slot=\"end\"`.\n *\n * The WC is registered **client-side only** (`afterNextRender`); on the server\n * Angular emits a bare `<mp-navbar>` tag and the SSR layer injects its\n * Declarative Shadow DOM (see `injectMpNavbarDsd`), so it renders with JS off.\n */\n@Component({\n selector: 'bs-navbar',\n templateUrl: './navbar.component.html',\n imports: [BsForwardAriaDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BsNavbarComponent {\n /** Host element — measured by `[bsNavbarContent]` to offset page content. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Bootstrap breakpoint the navbar expands at; collapses below it. */\n readonly breakpoint = input<NavbarBreakpoint>('md');\n /** Theme color of the navbar background (e.g. `primary`, `dark`, `body-tertiary`). */\n readonly color = input<string>();\n /** Accessible label for the `<nav>` landmark. */\n /** Whether the collapse is (visually) expanded; reflected to the WC. */\n readonly expanded = input(false);\n /** `fixed` pins the bar to the top of the viewport, full width; omit for in-flow. */\n readonly positioning = input<'fixed'>();\n\n /** Fires when the collapse toggles (re-emits the WC's `expandedchange`). */\n readonly expandedchange = output<NavbarExpandedChangeEventDetail>();\n\n /** String-or-absent attributes derived once via signals. */\n protected readonly colorAttr = computed(() => this.color() ?? null);\n protected readonly positioningAttr = computed(() => this.positioning() ?? null);\n /** Presence attribute: `''` when expanded, `null` when collapsed. */\n protected readonly expandedAttr = computed(() => (this.expanded() ? '' : null));\n\n protected onExpandedchange(event: Event) {\n // The WC's `expandedchange` is a general-purpose DOM event (bubbles +\n // composed). The public Angular API is this typed `output()`, so consume\n // the raw event here. Without `stopPropagation` it keeps bubbling to the\n // consumer's `<bs-navbar>` host, where their `(expandedchange)` binding\n // fires a SECOND time with the raw `CustomEvent` (Angular doesn't unwrap\n // `.detail`).\n event.stopPropagation();\n this.expandedchange.emit((event as CustomEvent<NavbarExpandedChangeEventDetail>).detail);\n }\n\n constructor() {\n afterNextRender(() => {\n // Side-effect import registers <mp-navbar> and friends; client-only so\n // SSR stays a bare tag for DSD injection.\n import('@mintplayer/web-components/navbar');\n });\n }\n}\n","<mp-navbar bsForwardAria [attr.breakpoint]=\"breakpoint()\" [attr.color]=\"colorAttr()\" [attr.expanded]=\"expandedAttr()\" [attr.positioning]=\"positioningAttr()\" (expandedchange)=\"onExpandedchange($event)\">\n <ng-content></ng-content>\n</mp-navbar>\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\n\n/**\n * `<bs-navbar-nav>` — groups navbar items into one of the WC's two nav lists.\n *\n * `align=\"start\"` (default) joins the left list, `align=\"end\"` the list pushed\n * to the far edge in wide mode. The host is `display: contents`, so the grouped\n * `<bs-navbar-item>` / `<bs-navbar-dropdown>` children flatten into the WC's\n * `.navbar-nav` flex layout exactly like directly-slotted items — the same\n * mechanism `<mp-navbar>` itself uses for its slots. The WC slot name stays an\n * internal detail (mirrors `bs-navbar-brand` hiding `slot=\"brand\"`).\n *\n * `display: contents` MUST stay static CSS (never applied via JS) so the no-JS\n * SSR path lays out identically from first paint.\n */\n@Component({\n selector: 'bs-navbar-nav',\n template: '<ng-content></ng-content>',\n styles: ':host { display: contents; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.slot]': 'slotAttr()',\n },\n})\nexport class BsNavbarNavComponent {\n /** Which nav group the items join: `start` (default) or `end` (pushed to the far edge in wide mode). */\n readonly align = input<'start' | 'end'>('start');\n\n protected readonly slotAttr = computed(() => (this.align() === 'end' ? 'end' : null));\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, CUSTOM_ELEMENTS_SCHEMA, inject, input } from '@angular/core';\nimport { BS_DROPDOWN_MENU_CONTEXT } from '@mintplayer/ng-bootstrap/dropdown-menu';\n\n/**\n * `<bs-navbar-item>` — one navbar entry, uniform at EVERY nesting level.\n *\n * Wraps a consumer light-DOM link: project an `<a routerLink>` / `<a href>` (or\n * a `<button>`) as content. The rendered shape is context-aware:\n *\n * - **Directly in the navbar** (top level, or inside `<bs-navbar-nav>`): wraps\n * the link in `<mp-navbar-item>`, which styles it as a `.nav-link` in its\n * own shadow.\n * - **Inside a dropdown** (`<bs-navbar-dropdown>` / `<bs-dropdown-menu>`,\n * detected via `BS_DROPDOWN_MENU_CONTEXT`): the HOST itself becomes the\n * `.dropdown-item` — the shape `mp-dropdown-menu` queries (roving tabindex,\n * `role=menuitem` on the inner control) and styles via\n * `::slotted(.dropdown-item)`. The link stays a DIRECT child of the host so\n * the menu wrapper's companion `.dropdown-item > a` reset reaches it\n * (`NgTemplateOutlet` through `<ng-container>` adds no wrapper element).\n *\n * `active` / `disabled` bridge to the WC's presence attributes (nav mode) or\n * Bootstrap's item classes + `aria-disabled` (menu mode).\n */\n@Component({\n selector: 'bs-navbar-item',\n template: `\n <ng-template #content><ng-content></ng-content></ng-template>\n @if (inMenu) {\n <ng-container [ngTemplateOutlet]=\"content\" />\n } @else {\n <mp-navbar-item [attr.active]=\"activeAttr()\" [attr.disabled]=\"disabledAttr()\" [attr.aria-current]=\"active() ? 'page' : null\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </mp-navbar-item>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n imports: [NgTemplateOutlet],\n host: {\n '[class.dropdown-item]': 'inMenu',\n '[class.active]': 'inMenu && active()',\n '[class.disabled]': 'inMenu && disabled()',\n '[attr.aria-disabled]': \"inMenu && disabled() ? 'true' : null\",\n // Menu mode: the same active state is the current page.\n '[attr.aria-current]': \"inMenu && active() ? 'page' : null\",\n },\n})\nexport class BsNavbarItemComponent {\n readonly active = input(false);\n readonly disabled = input(false);\n\n /** Menu mode when authored inside a dropdown; fixed per instance. */\n protected readonly inMenu = inject(BS_DROPDOWN_MENU_CONTEXT, { optional: true }) ?? false;\n\n /** Presence attributes: `''` when set, `null` when absent. */\n protected readonly activeAttr = computed(() => (this.active() ? '' : null));\n protected readonly disabledAttr = computed(() => (this.disabled() ? '' : null));\n}\n","import { ChangeDetectionStrategy, Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n/**\n * `<bs-navbar-brand>` — Angular wrapper around `<mp-navbar-brand>`.\n *\n * Project an `<a routerLink>` / text as the brand. The host sets\n * `slot=\"brand\"` so the wrapper element lands in `<mp-navbar>`'s `brand` slot\n * (mirrors `BsShellSidebarDirective`, which sets `slot=\"sidebar\"`).\n */\n@Component({\n selector: 'bs-navbar-brand',\n template: '<mp-navbar-brand><ng-content></ng-content></mp-navbar-brand>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.slot]': \"'brand'\",\n },\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BsNavbarBrandComponent {}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\n/**\n * Marks the trigger-label template for `<bs-navbar-dropdown>` — any HTML\n * (text, icon + text, badges, …). Rendered into the WC's trigger via\n * `ngTemplateOutlet`; the trigger's accessible name derives from this content,\n * so give an icon-only label an `aria-label`.\n *\n * ```html\n * <bs-navbar-dropdown>\n * <span *bsNavbarDropdownLabel>Products</span>\n * <bs-navbar-item><a routerLink=\"/p1\">Product 1</a></bs-navbar-item>\n * </bs-navbar-dropdown>\n * ```\n */\n@Directive({ selector: '[bsNavbarDropdownLabel]' })\nexport class BsNavbarDropdownLabelDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, contentChild, CUSTOM_ELEMENTS_SCHEMA, inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLinkActive } from '@angular/router';\nimport { BS_DROPDOWN_MENU_CONTEXT, BsDropdownMenuComponent } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsNavbarDropdownLabelDirective } from './navbar-dropdown-label.directive';\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\n\n/**\n * `<bs-navbar-dropdown>` — Angular wrapper around `<mp-navbar-dropdown>`.\n *\n * The trigger content is the `*bsNavbarDropdownLabel` template — any HTML\n * (matches the React/Vue wrappers, which take the WC's `label` slot directly).\n * The dropdown panel (`<bs-dropdown-menu>`) is rendered internally — author\n * the items directly between the tags, uniformly with the rest of the navbar:\n *\n * <bs-navbar-dropdown>\n * <span *bsNavbarDropdownLabel>Basic</span>\n * <bs-navbar-item><a routerLink=\"/basic/alert\">Alert</a></bs-navbar-item>\n * <bs-navbar-dropdown>…</bs-navbar-dropdown> <!-- submenu -->\n * </bs-navbar-dropdown>\n *\n * `BS_DROPDOWN_MENU_CONTEXT` is provided here (element injectors follow the\n * consumer template's nesting, not the projection site — the internally\n * rendered menu is invisible to projected children's injectors), so nested\n * `<bs-navbar-item>`s render their `.dropdown-item` shape.\n *\n * **Active-route trigger highlighting:** a `RouterLinkActive` host directive\n * collects the projected descendant `routerLink`s; when any is active\n * (non-exact — the whole subtree counts, like the legacy `[bsNavbarTrigger]`\n * prefix match) the WC gets its `active` attribute, which recolors the\n * shadow-rendered trigger (primary background for submenu triggers). Nested\n * dropdowns each report their own subtree, so the full trigger chain of the\n * active route highlights. Renders server-side, so it works with JS off.\n *\n * Reveal/positioning and the no-JS `:focus-within` fallback all live in the WC.\n */\n@Component({\n selector: 'bs-navbar-dropdown',\n templateUrl: './navbar-dropdown.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n imports: [BsForwardAriaDirective, NgTemplateOutlet, BsDropdownMenuComponent],\n providers: [{ provide: BS_DROPDOWN_MENU_CONTEXT, useValue: true }],\n hostDirectives: [RouterLinkActive],\n})\nexport class BsNavbarDropdownComponent {\n protected readonly label = contentChild.required(BsNavbarDropdownLabelDirective);\n\n /** A projected descendant link's route is active → highlight the trigger. */\n protected readonly routeActive = signal(false);\n\n constructor() {\n const rla = inject(RouterLinkActive, { self: true });\n // No class on this host — the state is bridged to the WC's `active`\n // attribute instead (the trigger lives in the WC's shadow, out of reach\n // of any class-based styling from here).\n rla.routerLinkActive = [];\n rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => this.routeActive.set(active));\n }\n}\n","<mp-navbar-dropdown bsForwardAria [attr.active]=\"routeActive() ? '' : null\">\n <span slot=\"label\"><ng-container [ngTemplateOutlet]=\"label().templateRef\"></ng-container></span>\n <bs-dropdown-menu>\n <ng-content></ng-content>\n </bs-dropdown-menu>\n</mp-navbar-dropdown>\n","import { Directive } from '@angular/core';\n\n/**\n * `[bsNavbarToggler]` — marks an element as the navbar's custom hamburger\n * glyph, replacing the WC's built-in animated 3-bar → X toggler (the `toggler`\n * slot's fallback). The slot name stays an internal detail of the WC.\n *\n * The glyph is a first-class no-JS citizen: DSD slot assignment happens at\n * parse time (no fallback flash), the click reaches the in-shadow checkbox via\n * native label activation, and the open-state arrives as the inherited\n * `--mp-navbar-expanded: 0|1` custom property — derive the morph in CSS, e.g.\n * `transform: rotate(calc(var(--mp-navbar-expanded, 0) * 45deg))`.\n *\n * The host must be NON-interactive: labels do not forward clicks from\n * interactive descendants, so a `<button>`/`<a href>` here would kill the\n * no-JS toggle. Use a `<span>`/`<div>` glyph. (For a programmatic boolean, use\n * `[expanded]`/`(expandedchange)` on `bs-navbar` instead.)\n */\n@Directive({\n selector: '[bsNavbarToggler]',\n host: {\n slot: 'toggler',\n },\n})\nexport class BsNavbarTogglerDirective {}\n","import { afterNextRender, Directive, ElementRef, inject, input, OnDestroy, PLATFORM_ID, Renderer2 } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n/**\n * `[bsNavbarContent]` — offsets page content below a `positioning=\"fixed\"`\n * navbar by its LIVE height (replaces hand-maintained `padding-top` constants).\n *\n * <bs-navbar [positioning]=\"'fixed'\" #nav>…</bs-navbar>\n * <div [bsNavbarContent]=\"nav\"><router-outlet /></div>\n *\n * On the client a `ResizeObserver` tracks the bar (theme/viewport changes\n * resize it) and sets `padding-top` = the element's own initial padding + the\n * bar height. On the server — where the bar can't be measured — a fixed 58px\n * approximation is serialized into the HTML so SSR/no-JS pages still clear the\n * bar (same contract as the pre-WC directive).\n */\n@Directive({\n selector: '[bsNavbarContent]',\n})\nexport class BsNavbarContentDirective implements OnDestroy {\n /** The `bs-navbar` to clear — pass its template reference (`#nav`). */\n readonly navbar = input.required<BsNavbarComponent>({ alias: 'bsNavbarContent' });\n\n /** Server-side height approximation (px) — the bar isn't measurable there. */\n static readonly SSR_NAVBAR_HEIGHT = 58;\n\n readonly #element = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n readonly #renderer = inject(Renderer2);\n #observer?: ResizeObserver;\n\n constructor() {\n if (isPlatformServer(inject(PLATFORM_ID))) {\n this.#setPadding(BsNavbarContentDirective.SSR_NAVBAR_HEIGHT);\n return;\n }\n afterNextRender(() => {\n // The measurable bar is the WC inside the wrapper host (the host itself\n // is inline and reports no height for a fixed child).\n const bar = this.navbar().elementRef.nativeElement.querySelector('mp-navbar');\n if (!bar) return;\n // Hydration reuses the SSR element, so the 58px approximation this\n // directive wrote server-side is still inline here. Remove it BEFORE\n // measuring, or the author's baseline would double-count it.\n this.#renderer.removeStyle(this.#element, 'padding-top');\n const initial = parseFloat(getComputedStyle(this.#element).paddingTop) || 0;\n this.#observer = new ResizeObserver(() =>\n this.#setPadding(initial + (bar as HTMLElement).offsetHeight),\n );\n this.#observer.observe(bar);\n });\n }\n\n #setPadding(px: number): void {\n this.#renderer.setStyle(this.#element, 'padding-top', `${px}px`);\n }\n\n ngOnDestroy(): void {\n this.#observer?.disconnect();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAIA;;;;;;;;;;;;;;AAcG;MAQU,iBAAiB,CAAA;AAuBlB,IAAA,gBAAgB,CAAC,KAAY,EAAA;;;;;;;QAOrC,KAAK,CAAC,eAAe,EAAE;QACvB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAE,KAAsD,CAAC,MAAM,CAAC;IAC1F;AAEA,IAAA,WAAA,GAAA;;AAhCS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,UAAU,GAAG,KAAK,CAAmB,IAAI;uFAAC;;AAE1C,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK;6FAAU;;;QAGvB,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK;qFAAC;;AAEvB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK;mGAAW;;QAG9B,IAAA,CAAA,cAAc,GAAG,MAAM,EAAmC;;QAGhD,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,IAAI,IAAI;sFAAC;QAChD,IAAA,CAAA,eAAe,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,IAAI,IAAI;4FAAC;;AAE5D,QAAA,IAAA,CAAA,YAAY,GAAG,QAAQ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AA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAHpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC9B,iBAAA;;;ACnBD;;AAEG;;;;"}
|
|
@@ -104,10 +104,10 @@ class BsNavigationLockService {
|
|
|
104
104
|
return firstValueFrom(r.pipe(take(1), defaultIfEmpty(true)));
|
|
105
105
|
return r;
|
|
106
106
|
}
|
|
107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
108
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavigationLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
108
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavigationLockService, providedIn: 'root' }); }
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavigationLockService, decorators: [{
|
|
111
111
|
type: Injectable,
|
|
112
112
|
args: [{ providedIn: 'root' }]
|
|
113
113
|
}], ctorParameters: () => [] });
|
|
@@ -147,10 +147,10 @@ class BsNavigationLockDirective {
|
|
|
147
147
|
return canExit(reason);
|
|
148
148
|
return canExit; // Observable<boolean>
|
|
149
149
|
}
|
|
150
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
151
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.
|
|
150
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavigationLockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
151
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsNavigationLockDirective, isStandalone: true, selector: "[bsNavigationLock]", inputs: { canExit: { classPropertyName: "canExit", publicName: "canExit", isSignal: true, isRequired: false, transformFunction: null }, exitMessage: { classPropertyName: "exitMessage", publicName: "exitMessage", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["bsNavigationLock"], ngImport: i0 }); }
|
|
152
152
|
}
|
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavigationLockDirective, decorators: [{
|
|
154
154
|
type: Directive,
|
|
155
155
|
args: [{
|
|
156
156
|
selector: '[bsNavigationLock]',
|
|
@@ -10,10 +10,10 @@ class BsNoNoscriptDirective {
|
|
|
10
10
|
this.isNoScript = true;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNoNoscriptDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsNoNoscriptDirective, isStandalone: true, selector: "[bsNoNoscript]", host: { properties: { "class.noscript": "isNoScript" } }, ngImport: i0 }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNoNoscriptDirective, decorators: [{
|
|
17
17
|
type: Directive,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: '[bsNoNoscript]',
|
|
@@ -29,10 +29,10 @@ class BsObserveSizeDirective {
|
|
|
29
29
|
this.observer.disconnect();
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
33
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsObserveSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
33
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsObserveSizeDirective, isStandalone: true, selector: "[bsObserveSize]", exportAs: ["bsObserveSize"], ngImport: i0 }); }
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsObserveSizeDirective, decorators: [{
|
|
36
36
|
type: Directive,
|
|
37
37
|
args: [{
|
|
38
38
|
selector: '[bsObserveSize]',
|
|
@@ -22,10 +22,10 @@ class BsOffcanvasContextService {
|
|
|
22
22
|
this.bodyId = signal(null, /* @ts-ignore */
|
|
23
23
|
...(ngDevMode ? [{ debugName: "bodyId" }] : /* istanbul ignore next */ []));
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
26
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
26
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasContextService }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasContextService, decorators: [{
|
|
29
29
|
type: Injectable
|
|
30
30
|
}] });
|
|
31
31
|
|
|
@@ -135,10 +135,10 @@ class BsOffcanvasComponent {
|
|
|
135
135
|
this.isVisible.set(false);
|
|
136
136
|
this.isVisibleChange.emit(false);
|
|
137
137
|
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
139
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: BsOffcanvasComponent, isStandalone: true, selector: "bs-offcanvas-holder", outputs: { isVisibleChange: "isVisibleChange", backdropClick: "backdropClick" }, host: { listeners: { "document:keydown.escape": "onEscape()" } }, providers: [BsOffcanvasContextService], ngImport: i0, template: "@if (showBackdrop()) {\n <div [@fadeInOut]=\"{value: ':leave', params: {duration: '300ms'} }\">\n <div class=\"modal-backdrop show\" (click)=\"onBackdropClick($event)\" aria-hidden=\"true\"></div>\n </div>\n}\n<div class=\"offcanvas\"\n [class.show]=\"show()\"\n [class.disable-transition]=\"disableTransition()\"\n [class]=\"[offcanvasClass(), overflowClass()]\"\n [style.height.px]=\"height()\"\n [style.width.px]=\"width()\"\n role=\"dialog\"\n [attr.aria-modal]=\"hasBackdrop() ? 'true' : null\"\n [attr.aria-labelledby]=\"context.headerId()\"\n [attr.aria-describedby]=\"context.bodyId()\"\n [bsOverlayFocus]=\"isVisible()\"\n tabindex=\"-1\">\n <ng-container *ngTemplateOutlet=\"contentTemplate; injector: injector\"></ng-container>\n</div>\n", styles: [":host ::ng-deep .modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: var(--bs-body-color);--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}:host ::ng-deep .modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade :host ::ng-deep .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media(prefers-reduced-motion:reduce){.modal.fade :host ::ng-deep .modal-dialog{transition:none}}.modal.show :host ::ng-deep .modal-dialog{transform:none}.modal.modal-static :host ::ng-deep .modal-dialog{transform:scale(1.02)}:host ::ng-deep .modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}:host ::ng-deep .modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}:host ::ng-deep .modal-dialog-scrollable .modal-body{overflow-y:auto}:host ::ng-deep .modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}:host ::ng-deep .modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}:host ::ng-deep .modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}:host ::ng-deep .modal-backdrop.fade{opacity:0}:host ::ng-deep .modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}:host ::ng-deep .modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}:host ::ng-deep .modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin-top:calc(-.5 * var(--bs-modal-header-padding-y));margin-right:calc(-.5 * var(--bs-modal-header-padding-x));margin-bottom:calc(-.5 * var(--bs-modal-header-padding-y));margin-left:auto}:host ::ng-deep .modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}:host ::ng-deep .modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}:host ::ng-deep .modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}:host ::ng-deep .modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media(min-width:576px){:host ::ng-deep .modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}:host ::ng-deep .modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}:host ::ng-deep .modal-sm{--bs-modal-width: 300px}}@media(min-width:992px){:host ::ng-deep .modal-lg,:host ::ng-deep .modal-xl{--bs-modal-width: 800px}}@media(min-width:1200px){:host ::ng-deep .modal-xl{--bs-modal-width: 1140px}}:host ::ng-deep .modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen .modal-header,:host ::ng-deep .modal-fullscreen .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen .modal-body{overflow-y:auto}@media(max-width:575.98px){:host ::ng-deep .modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-header,:host ::ng-deep .modal-fullscreen-sm-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media(max-width:767.98px){:host ::ng-deep .modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-md-down .modal-header,:host ::ng-deep .modal-fullscreen-md-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media(max-width:991.98px){:host ::ng-deep .modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-header,:host ::ng-deep .modal-fullscreen-lg-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media(max-width:1199.98px){:host ::ng-deep .modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-header,:host ::ng-deep .modal-fullscreen-xl-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media(max-width:1399.98px){:host ::ng-deep .modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-header,:host ::ng-deep .modal-fullscreen-xxl-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}:host ::ng-deep .offcanvas,:host ::ng-deep .offcanvas-xxl,:host ::ng-deep .offcanvas-xl,:host ::ng-deep .offcanvas-lg,:host ::ng-deep .offcanvas-md,:host ::ng-deep .offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media(max-width:575.98px){:host ::ng-deep .offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:575.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-sm{transition:none}}@media(max-width:575.98px){:host ::ng-deep .offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-sm.showing,:host ::ng-deep .offcanvas-sm.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-sm.showing,:host ::ng-deep .offcanvas-sm.hiding,:host ::ng-deep .offcanvas-sm.show{visibility:visible}}@media(min-width:576px){:host ::ng-deep .offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-sm .offcanvas-header{display:none}:host ::ng-deep .offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:767.98px){:host ::ng-deep .offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:767.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-md{transition:none}}@media(max-width:767.98px){:host ::ng-deep .offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-md.showing,:host ::ng-deep .offcanvas-md.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-md.showing,:host ::ng-deep .offcanvas-md.hiding,:host ::ng-deep .offcanvas-md.show{visibility:visible}}@media(min-width:768px){:host ::ng-deep .offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-md .offcanvas-header{display:none}:host ::ng-deep .offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:991.98px){:host ::ng-deep .offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:991.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-lg{transition:none}}@media(max-width:991.98px){:host ::ng-deep .offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-lg.showing,:host ::ng-deep .offcanvas-lg.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-lg.showing,:host ::ng-deep .offcanvas-lg.hiding,:host ::ng-deep .offcanvas-lg.show{visibility:visible}}@media(min-width:992px){:host ::ng-deep .offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-lg .offcanvas-header{display:none}:host ::ng-deep .offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1199.98px){:host ::ng-deep .offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1199.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-xl{transition:none}}@media(max-width:1199.98px){:host ::ng-deep .offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-xl.showing,:host ::ng-deep .offcanvas-xl.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-xl.showing,:host ::ng-deep .offcanvas-xl.hiding,:host ::ng-deep .offcanvas-xl.show{visibility:visible}}@media(min-width:1200px){:host ::ng-deep .offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-xl .offcanvas-header{display:none}:host ::ng-deep .offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1399.98px){:host ::ng-deep .offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1399.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-xxl{transition:none}}@media(max-width:1399.98px){:host ::ng-deep .offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-xxl.showing,:host ::ng-deep .offcanvas-xxl.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-xxl.showing,:host ::ng-deep .offcanvas-xxl.hiding,:host ::ng-deep .offcanvas-xxl.show{visibility:visible}}@media(min-width:1400px){:host ::ng-deep .offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-xxl .offcanvas-header{display:none}:host ::ng-deep .offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}:host ::ng-deep .offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media(prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas{transition:none}}:host ::ng-deep .offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas.showing,:host ::ng-deep .offcanvas.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas.showing,:host ::ng-deep .offcanvas.hiding,:host ::ng-deep .offcanvas.show{visibility:visible}:host ::ng-deep .offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}:host ::ng-deep .offcanvas-backdrop.fade{opacity:0}:host ::ng-deep .offcanvas-backdrop.show{opacity:.5}:host ::ng-deep .offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}:host ::ng-deep .offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y));margin-left:auto}:host ::ng-deep .offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}:host ::ng-deep .offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.offcanvas.oc-max-width{max-width:calc(100% - 40px)}.offcanvas.oc-max-height{max-height:calc(100% - 40px)}.modal-backdrop{z-index:1040}.offcanvas{visibility:unset}.offcanvas.disable-transition{transition:none}.offcanvas.offcanvas-top{height:auto;bottom:unset}.offcanvas.offcanvas-bottom{height:auto;top:unset}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: BsOverlayFocusDirective, selector: "[bsOverlayFocus]", inputs: ["bsOverlayFocus", "initialFocus", "returnFocus"], exportAs: ["bsOverlayFocus"] }], animations: [FadeInOutAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
139
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsOffcanvasComponent, isStandalone: true, selector: "bs-offcanvas-holder", outputs: { isVisibleChange: "isVisibleChange", backdropClick: "backdropClick" }, host: { listeners: { "document:keydown.escape": "onEscape()" } }, providers: [BsOffcanvasContextService], ngImport: i0, template: "@if (showBackdrop()) {\n <div [@fadeInOut]=\"{value: ':leave', params: {duration: '300ms'} }\">\n <div class=\"modal-backdrop show\" (click)=\"onBackdropClick($event)\" aria-hidden=\"true\"></div>\n </div>\n}\n<div class=\"offcanvas\"\n [class.show]=\"show()\"\n [class.disable-transition]=\"disableTransition()\"\n [class]=\"[offcanvasClass(), overflowClass()]\"\n [style.height.px]=\"height()\"\n [style.width.px]=\"width()\"\n role=\"dialog\"\n [attr.aria-modal]=\"hasBackdrop() ? 'true' : null\"\n [attr.aria-labelledby]=\"context.headerId()\"\n [attr.aria-describedby]=\"context.bodyId()\"\n [bsOverlayFocus]=\"isVisible()\"\n tabindex=\"-1\">\n <ng-container *ngTemplateOutlet=\"contentTemplate; injector: injector\"></ng-container>\n</div>\n", styles: [":host ::ng-deep .modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: var(--bs-body-color);--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}:host ::ng-deep .modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade :host ::ng-deep .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media(prefers-reduced-motion:reduce){.modal.fade :host ::ng-deep .modal-dialog{transition:none}}.modal.show :host ::ng-deep .modal-dialog{transform:none}.modal.modal-static :host ::ng-deep .modal-dialog{transform:scale(1.02)}:host ::ng-deep .modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}:host ::ng-deep .modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}:host ::ng-deep .modal-dialog-scrollable .modal-body{overflow-y:auto}:host ::ng-deep .modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}:host ::ng-deep .modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}:host ::ng-deep .modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}:host ::ng-deep .modal-backdrop.fade{opacity:0}:host ::ng-deep .modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}:host ::ng-deep .modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}:host ::ng-deep .modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin-top:calc(-.5 * var(--bs-modal-header-padding-y));margin-right:calc(-.5 * var(--bs-modal-header-padding-x));margin-bottom:calc(-.5 * var(--bs-modal-header-padding-y));margin-left:auto}:host ::ng-deep .modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}:host ::ng-deep .modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}:host ::ng-deep .modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}:host ::ng-deep .modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media(min-width:576px){:host ::ng-deep .modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}:host ::ng-deep .modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}:host ::ng-deep .modal-sm{--bs-modal-width: 300px}}@media(min-width:992px){:host ::ng-deep .modal-lg,:host ::ng-deep .modal-xl{--bs-modal-width: 800px}}@media(min-width:1200px){:host ::ng-deep .modal-xl{--bs-modal-width: 1140px}}:host ::ng-deep .modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen .modal-header,:host ::ng-deep .modal-fullscreen .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen .modal-body{overflow-y:auto}@media(max-width:575.98px){:host ::ng-deep .modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-header,:host ::ng-deep .modal-fullscreen-sm-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media(max-width:767.98px){:host ::ng-deep .modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-md-down .modal-header,:host ::ng-deep .modal-fullscreen-md-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media(max-width:991.98px){:host ::ng-deep .modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-header,:host ::ng-deep .modal-fullscreen-lg-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media(max-width:1199.98px){:host ::ng-deep .modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-header,:host ::ng-deep .modal-fullscreen-xl-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media(max-width:1399.98px){:host ::ng-deep .modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-header,:host ::ng-deep .modal-fullscreen-xxl-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}:host ::ng-deep .offcanvas,:host ::ng-deep .offcanvas-xxl,:host ::ng-deep .offcanvas-xl,:host ::ng-deep .offcanvas-lg,:host ::ng-deep .offcanvas-md,:host ::ng-deep .offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media(max-width:575.98px){:host ::ng-deep .offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:575.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-sm{transition:none}}@media(max-width:575.98px){:host ::ng-deep .offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-sm.showing,:host ::ng-deep .offcanvas-sm.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-sm.showing,:host ::ng-deep .offcanvas-sm.hiding,:host ::ng-deep .offcanvas-sm.show{visibility:visible}}@media(min-width:576px){:host ::ng-deep .offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-sm .offcanvas-header{display:none}:host ::ng-deep .offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:767.98px){:host ::ng-deep .offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:767.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-md{transition:none}}@media(max-width:767.98px){:host ::ng-deep .offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-md.showing,:host ::ng-deep .offcanvas-md.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-md.showing,:host ::ng-deep .offcanvas-md.hiding,:host ::ng-deep .offcanvas-md.show{visibility:visible}}@media(min-width:768px){:host ::ng-deep .offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-md .offcanvas-header{display:none}:host ::ng-deep .offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:991.98px){:host ::ng-deep .offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:991.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-lg{transition:none}}@media(max-width:991.98px){:host ::ng-deep .offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-lg.showing,:host ::ng-deep .offcanvas-lg.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-lg.showing,:host ::ng-deep .offcanvas-lg.hiding,:host ::ng-deep .offcanvas-lg.show{visibility:visible}}@media(min-width:992px){:host ::ng-deep .offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-lg .offcanvas-header{display:none}:host ::ng-deep .offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1199.98px){:host ::ng-deep .offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1199.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-xl{transition:none}}@media(max-width:1199.98px){:host ::ng-deep .offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-xl.showing,:host ::ng-deep .offcanvas-xl.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-xl.showing,:host ::ng-deep .offcanvas-xl.hiding,:host ::ng-deep .offcanvas-xl.show{visibility:visible}}@media(min-width:1200px){:host ::ng-deep .offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-xl .offcanvas-header{display:none}:host ::ng-deep .offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1399.98px){:host ::ng-deep .offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1399.98px)and (prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas-xxl{transition:none}}@media(max-width:1399.98px){:host ::ng-deep .offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas-xxl.showing,:host ::ng-deep .offcanvas-xxl.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas-xxl.showing,:host ::ng-deep .offcanvas-xxl.hiding,:host ::ng-deep .offcanvas-xxl.show{visibility:visible}}@media(min-width:1400px){:host ::ng-deep .offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}:host ::ng-deep .offcanvas-xxl .offcanvas-header{display:none}:host ::ng-deep .offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}:host ::ng-deep .offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media(prefers-reduced-motion:reduce){:host ::ng-deep .offcanvas{transition:none}}:host ::ng-deep .offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}:host ::ng-deep .offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}:host ::ng-deep .offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}:host ::ng-deep .offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}:host ::ng-deep .offcanvas.showing,:host ::ng-deep .offcanvas.show:not(.hiding){transform:none}:host ::ng-deep .offcanvas.showing,:host ::ng-deep .offcanvas.hiding,:host ::ng-deep .offcanvas.show{visibility:visible}:host ::ng-deep .offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}:host ::ng-deep .offcanvas-backdrop.fade{opacity:0}:host ::ng-deep .offcanvas-backdrop.show{opacity:.5}:host ::ng-deep .offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}:host ::ng-deep .offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y));margin-left:auto}:host ::ng-deep .offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}:host ::ng-deep .offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.offcanvas.oc-max-width{max-width:calc(100% - 40px)}.offcanvas.oc-max-height{max-height:calc(100% - 40px)}.modal-backdrop{z-index:1040}.offcanvas{visibility:unset}.offcanvas.disable-transition{transition:none}.offcanvas.offcanvas-top{height:auto;bottom:unset}.offcanvas.offcanvas-bottom{height:auto;top:unset}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: BsOverlayFocusDirective, selector: "[bsOverlayFocus]", inputs: ["bsOverlayFocus", "initialFocus", "returnFocus"], exportAs: ["bsOverlayFocus"] }], animations: [FadeInOutAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasComponent, decorators: [{
|
|
142
142
|
type: Component,
|
|
143
143
|
args: [{ selector: 'bs-offcanvas-holder', host: {
|
|
144
144
|
'(document:keydown.escape)': 'onEscape()',
|
|
@@ -160,10 +160,10 @@ class OffcanvasHeaderComponent {
|
|
|
160
160
|
this.context?.headerId.set(id);
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
164
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: OffcanvasHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
164
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: OffcanvasHeaderComponent, isStandalone: true, selector: "bs-offcanvas-header", ngImport: i0, template: "<div class=\"offcanvas-header\">\n <ng-content></ng-content>\n</div>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
165
165
|
}
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: OffcanvasHeaderComponent, decorators: [{
|
|
167
167
|
type: Component,
|
|
168
168
|
args: [{ selector: 'bs-offcanvas-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"offcanvas-header\">\n <ng-content></ng-content>\n</div>" }]
|
|
169
169
|
}], ctorParameters: () => [] });
|
|
@@ -185,10 +185,10 @@ class OffcanvasBodyComponent {
|
|
|
185
185
|
this.context?.bodyId.set(id);
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
189
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: OffcanvasBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
189
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: OffcanvasBodyComponent, isStandalone: true, selector: "bs-offcanvas-body", inputs: { noPadding: { classPropertyName: "noPadding", publicName: "noPadding", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"offcanvas-body\" [class.p-0]=\"noPadding()\">\n <ng-content></ng-content>\n</div>", styles: [".offcanvas-body{overflow:unset}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
190
190
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: OffcanvasBodyComponent, decorators: [{
|
|
192
192
|
type: Component,
|
|
193
193
|
args: [{ selector: 'bs-offcanvas-body', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"offcanvas-body\" [class.p-0]=\"noPadding()\">\n <ng-content></ng-content>\n</div>", styles: [".offcanvas-body{overflow:unset}\n"] }]
|
|
194
194
|
}], ctorParameters: () => [], propDecorators: { noPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "noPadding", required: false }] }] } });
|
|
@@ -270,15 +270,15 @@ class BsOffcanvasHostComponent {
|
|
|
270
270
|
this.isVisible.set(false);
|
|
271
271
|
setTimeout(() => this.overlayRef && this.overlayRef.dispose(), 3000);
|
|
272
272
|
}
|
|
273
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
274
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
273
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
274
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsOffcanvasHostComponent, isStandalone: true, selector: "bs-offcanvas", inputs: { isVisible: { classPropertyName: "isVisible", publicName: "isVisible", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, hasBackdrop: { classPropertyName: "hasBackdrop", publicName: "hasBackdrop", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isVisible: "isVisibleChange", size: "sizeChange", position: "positionChange", hasBackdrop: "hasBackdropChange", backdropClick: "backdropClick" }, providers: [{
|
|
275
275
|
provide: PORTAL_FACTORY,
|
|
276
276
|
useValue: (injector) => {
|
|
277
277
|
return new ComponentPortal(BsOffcanvasComponent, null, injector);
|
|
278
278
|
}
|
|
279
279
|
}], ngImport: i0, template: "<bs-has-overlay></bs-has-overlay>\n", styles: [""], dependencies: [{ kind: "component", type: BsHasOverlayComponent, selector: "bs-has-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
280
280
|
}
|
|
281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasHostComponent, decorators: [{
|
|
282
282
|
type: Component,
|
|
283
283
|
args: [{ selector: 'bs-offcanvas', imports: [BsHasOverlayComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [{
|
|
284
284
|
provide: PORTAL_FACTORY,
|
|
@@ -295,10 +295,10 @@ class BsOffcanvasCloseDirective {
|
|
|
295
295
|
onClick() {
|
|
296
296
|
this.offcanvas.isVisible.set(false);
|
|
297
297
|
}
|
|
298
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
299
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
298
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
299
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsOffcanvasCloseDirective, isStandalone: true, selector: "[bsOffcanvasClose]", host: { listeners: { "click": "onClick()" }, properties: { "attr.aria-label": "\"Close\"" } }, ngImport: i0 }); }
|
|
300
300
|
}
|
|
301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasCloseDirective, decorators: [{
|
|
302
302
|
type: Directive,
|
|
303
303
|
args: [{
|
|
304
304
|
selector: '[bsOffcanvasClose]',
|
|
@@ -315,10 +315,10 @@ class BsOffcanvasContentDirective {
|
|
|
315
315
|
const template = inject(TemplateRef);
|
|
316
316
|
offcanvasHost.content = template;
|
|
317
317
|
}
|
|
318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
319
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
318
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
319
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsOffcanvasContentDirective, isStandalone: true, selector: "[bsOffcanvasContent]", ngImport: i0 }); }
|
|
320
320
|
}
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasContentDirective, decorators: [{
|
|
322
322
|
type: Directive,
|
|
323
323
|
args: [{
|
|
324
324
|
selector: '[bsOffcanvasContent]',
|
|
@@ -381,10 +381,10 @@ class BsOffcanvasPushDirective {
|
|
|
381
381
|
player.play();
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
385
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.
|
|
384
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasPushDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
385
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsOffcanvasPushDirective, isStandalone: true, selector: "[bsOffcanvasPush]", inputs: { offcanvas: { classPropertyName: "offcanvas", publicName: "bsOffcanvasPush", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
386
386
|
}
|
|
387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOffcanvasPushDirective, decorators: [{
|
|
388
388
|
type: Directive,
|
|
389
389
|
args: [{
|
|
390
390
|
selector: '[bsOffcanvasPush]',
|
|
@@ -17,10 +17,10 @@ class BsOrdinalNumberPipe {
|
|
|
17
17
|
const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);
|
|
18
18
|
return safeResult;
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
21
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOrdinalNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
21
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: BsOrdinalNumberPipe, isStandalone: true, name: "ordinalNumber" }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOrdinalNumberPipe, decorators: [{
|
|
24
24
|
type: Pipe,
|
|
25
25
|
args: [{
|
|
26
26
|
name: 'ordinalNumber',
|
|
@@ -77,14 +77,14 @@ class BsOtpInputValueAccessor {
|
|
|
77
77
|
ref.nativeElement.removeAttribute('disabled');
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
81
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOtpInputValueAccessor, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
81
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsOtpInputValueAccessor, isStandalone: true, selector: "bs-otp-input", host: { listeners: { "value-change": "onValueChangeEvent($event)", "focusout": "onTouchEvent()" } }, providers: [{
|
|
82
82
|
provide: NG_VALUE_ACCESSOR,
|
|
83
83
|
useExisting: forwardRef(() => BsOtpInputValueAccessor),
|
|
84
84
|
multi: true,
|
|
85
85
|
}], ngImport: i0 }); }
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOtpInputValueAccessor, decorators: [{
|
|
88
88
|
type: Directive,
|
|
89
89
|
args: [{
|
|
90
90
|
selector: 'bs-otp-input',
|
|
@@ -122,7 +122,8 @@ class BsOtpInputComponent {
|
|
|
122
122
|
this.value = model(undefined, /* @ts-ignore */
|
|
123
123
|
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
124
124
|
this.complete = output();
|
|
125
|
-
this.elementRef = viewChild.required('el'
|
|
125
|
+
this.elementRef = viewChild.required('el', /* @ts-ignore */
|
|
126
|
+
...(ngDevMode ? [{ debugName: "elementRef" }] : /* istanbul ignore next */ []));
|
|
126
127
|
this.hostRef = inject((ElementRef));
|
|
127
128
|
this.invalidAttr = computed(() => (this.invalid() ? '' : null), /* @ts-ignore */
|
|
128
129
|
...(ngDevMode ? [{ debugName: "invalidAttr" }] : /* istanbul ignore next */ []));
|
|
@@ -222,8 +223,8 @@ class BsOtpInputComponent {
|
|
|
222
223
|
clear() {
|
|
223
224
|
this.elementRef()?.nativeElement.clear();
|
|
224
225
|
}
|
|
225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
226
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.
|
|
226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOtpInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
227
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: BsOtpInputComponent, isStandalone: true, selector: "bs-otp-input", inputs: { groups: { classPropertyName: "groups", publicName: "groups", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, case: { classPropertyName: "case", publicName: "case", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", complete: "complete" }, host: { properties: { "attr.size": "size()" } }, viewQueries: [{ propertyName: "elementRef", first: true, predicate: ["el"], descendants: true, isSignal: true }], hostDirectives: [{ directive: BsOtpInputValueAccessor }], ngImport: i0, template: `
|
|
227
228
|
<mp-otp-input
|
|
228
229
|
#el
|
|
229
230
|
class="bs-otp-input"
|
|
@@ -237,7 +238,7 @@ class BsOtpInputComponent {
|
|
|
237
238
|
></mp-otp-input>
|
|
238
239
|
`, isInline: true, styles: [":host{display:inline-block}.bs-otp-input{display:inline-flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
239
240
|
}
|
|
240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsOtpInputComponent, decorators: [{
|
|
241
242
|
type: Component,
|
|
242
243
|
args: [{ selector: 'bs-otp-input', template: `
|
|
243
244
|
<mp-otp-input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-otp-input.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/otp-input/src/lib/value-accessor/otp-input-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/lib/components/otp-input.component.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/mintplayer-ng-bootstrap-otp-input.ts"],"sourcesContent":["import { DestroyRef, Directive, Injector, OnInit, forwardRef, inject } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';\nimport { BsOtpInputComponent } from '../components/otp-input.component';\n\n@Directive({\n selector: 'bs-otp-input',\n providers: [{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => BsOtpInputValueAccessor),\n multi: true,\n }],\n host: {\n '(value-change)': 'onValueChangeEvent($event)',\n '(focusout)': 'onTouchEvent()',\n },\n})\nexport class BsOtpInputValueAccessor implements ControlValueAccessor, OnInit {\n private host = inject(BsOtpInputComponent);\n // Inject NgControl LAZILY via the injector. Eager `inject(NgControl)` here\n // creates a cycle: NgControl → NG_VALUE_ACCESSOR token → this directive →\n // NgControl. Looking it up in ngOnInit (after the form directive has\n // finished its own construction) breaks the cycle.\n private injector = inject(Injector);\n private destroyRef = inject(DestroyRef);\n private ngControl: NgControl | null = null;\n\n private onValueChange?: (value: string) => void;\n private onTouched?: () => void;\n\n ngOnInit(): void {\n this.ngControl = this.injector.get(NgControl, null);\n // Push invalid state to the WC whenever the form control's status or\n // touched state changes. Mirrors Bootstrap's .is-invalid convention: only\n // mark the boxes red after the control has been touched, otherwise we'd\n // light up a \"required\" field the moment the form mounts.\n if (!this.ngControl?.control) return;\n const sub = this.ngControl.statusChanges?.subscribe(() => this.syncInvalid());\n if (sub) this.destroyRef.onDestroy(() => sub.unsubscribe());\n // Sync once now in case the control was created already invalid+touched\n // (e.g. server-side validation rehydrate).\n queueMicrotask(() => this.syncInvalid());\n }\n\n protected onValueChangeEvent(ev: Event): void {\n if (!this.onValueChange) return;\n const detail = (ev as CustomEvent<string>).detail ?? '';\n this.onValueChange(detail);\n }\n\n protected onTouchEvent(): void {\n if (this.onTouched) this.onTouched();\n // Re-sync invalid on touch — statusChanges doesn't always fire on touched\n // alone, so we trigger the recompute here.\n this.syncInvalid();\n }\n\n private syncInvalid(): void {\n // Guard async-scheduled invocations: queueMicrotask in ngOnInit + the\n // statusChanges subscription are both possible after destroy. Reading\n // `host.elementRef()` (a required viewChild) on a destroyed view throws.\n if (this.destroyRef.destroyed) return;\n const ref = this.host.elementRef();\n if (!ref || !this.ngControl) return;\n const invalid = (this.ngControl.invalid ?? false) && (this.ngControl.touched ?? false);\n ref.nativeElement.invalid = invalid;\n }\n\n registerOnChange(fn: (value: string) => void): void {\n this.onValueChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n writeValue(value: string | null | undefined): void {\n const ref = this.host.elementRef();\n if (!ref) return;\n ref.nativeElement.value = value ?? '';\n }\n\n setDisabledState(isDisabled: boolean): void {\n const ref = this.host.elementRef();\n if (!ref) return;\n if (isDisabled) {\n ref.nativeElement.setAttribute('disabled', '');\n } else {\n ref.nativeElement.removeAttribute('disabled');\n }\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n ElementRef,\n computed,\n effect,\n inject,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport {\n MintOtpInputElement,\n OtpInputType,\n OtpInputCase,\n OtpInputSize,\n} from '@mintplayer/web-components/otp-input';\nimport { BsOtpInputValueAccessor } from '../value-accessor/otp-input-value-accessor';\n\n@Component({\n selector: 'bs-otp-input',\n template: `\n <mp-otp-input\n #el\n class=\"bs-otp-input\"\n [attr.type]=\"type()\"\n [attr.case]=\"case()\"\n [attr.size]=\"size()\"\n [attr.invalid]=\"invalidAttr()\"\n [attr.input-label]=\"inputLabel()\"\n (value-change)=\"onValueChange($event)\"\n (complete)=\"onCompleteEvent($event)\"\n ></mp-otp-input>\n `,\n styles: [`\n :host { display: inline-block; }\n .bs-otp-input { display: inline-flex; }\n `],\n host: {\n '[attr.size]': 'size()',\n },\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [BsOtpInputValueAccessor],\n})\nexport class BsOtpInputComponent {\n readonly groups = input<number[]>([1, 1, 1, 1, 1, 1]);\n readonly type = input<OtpInputType>('numeric');\n readonly case = input<OtpInputCase>('upper');\n readonly size = input<OtpInputSize>('md');\n readonly disabled = input(false);\n readonly invalid = input(false);\n readonly inputLabel = input<string | null>(null);\n\n // `model()` already exposes a `valueChange` output for two-way [(value)]\n // binding; declaring it explicitly is an error in Angular 22 (NG1054).\n // `value.set()` in onValueChange drives that auto-output.\n readonly value = model<string | undefined>(undefined);\n\n readonly complete = output<string>();\n\n readonly elementRef = viewChild.required<ElementRef<MintOtpInputElement>>('el');\n\n private readonly hostRef = inject(ElementRef<HTMLElement>);\n\n protected readonly invalidAttr = computed(() => (this.invalid() ? '' : null));\n\n constructor() {\n // Override the host DOM element's `.focus` so external directives that look\n // up the element and call `.focus()` on it (e.g. FocusOnLoadDirective's\n // `*[autofocus]`) route into the internal hidden input. Without this, the\n // call hits HTMLElement.prototype.focus which is a no-op on a non-focusable\n // host. Capture the WC ref lazily because viewChild isn't available in the\n // constructor and external directives may call .focus() before our\n // ngAfterViewInit runs.\n const host = this.hostRef.nativeElement as HTMLElement & { focus: (o?: FocusOptions) => void };\n Object.defineProperty(host, 'focus', {\n value: (options?: FocusOptions) => {\n const wc = this.elementRef()?.nativeElement;\n if (wc) {\n wc.focus(options);\n } else {\n // Defer to a microtask so a focus() call landing before the view is\n // ready still hits the WC once it mounts. FocusOnLoadDirective uses\n // setTimeout(10) which runs after microtasks, so this path is mostly\n // defensive — but it cheaply handles the race.\n Promise.resolve().then(() => this.elementRef()?.nativeElement.focus(options));\n }\n },\n configurable: true,\n writable: true,\n });\n\n // Forward signal inputs that aren't attributes (groups is a number[] —\n // attribute serialisation works for it, but property write is the canonical\n // path and avoids the \"string-from-attribute\" parse round-trip).\n effect(() => {\n const ref = this.elementRef();\n if (!ref) return;\n ref.nativeElement.groups = this.groups();\n });\n\n // Forward `value` model writes to the WC. Skip undefined so a freshly-set\n // form control's writeValue(null) can still clear the field (we map null\n // to '' inside the WC's normaliseValue).\n effect(() => {\n const ref = this.elementRef();\n if (!ref) return;\n const v = this.value();\n if (v === undefined) return;\n ref.nativeElement.value = v;\n });\n\n // Forward the `invalid` boolean to the WC's invalid property (mirrors the\n // attribute, but property write is the canonical path for a boolean).\n effect(() => {\n const ref = this.elementRef();\n if (!ref) return;\n ref.nativeElement.invalid = this.invalid();\n });\n\n // Forward `disabled` via attribute. This used to be `[attr.disabled]` in the\n // template, but that creates a race with the CVA's `setDisabledState`:\n // both write to the same DOM attribute, and any signal change in the\n // wrapper re-fires the template binding which clobbers the CVA's\n // form-disabled state. Using an effect makes the write fire only when the\n // `disabled` signal actually changes; the CVA's imperative writes are\n // unaffected because Angular doesn't reconcile attribute bindings in the\n // template anymore for this attr.\n effect(() => {\n const ref = this.elementRef();\n if (!ref) return;\n if (this.disabled()) {\n ref.nativeElement.setAttribute('disabled', '');\n } else {\n ref.nativeElement.removeAttribute('disabled');\n }\n });\n }\n\n protected onValueChange(event: Event): void {\n const detail = (event as CustomEvent<string>).detail ?? '';\n this.value.set(detail);\n }\n\n protected onCompleteEvent(event: Event): void {\n // The WC's `complete` DOM event bubbles. The wrapper's Output is also\n // named `complete`. Without stopPropagation, the parent's `(complete)`\n // binding would catch BOTH the bubbled DOM event AND the Output emit\n // below — Angular's `(name)` binding on a child component listens to\n // both channels when their names collide.\n event.stopPropagation();\n const detail = (event as CustomEvent<string>).detail ?? '';\n this.complete.emit(detail);\n }\n\n /** Move focus into the hidden input. */\n focus(options?: FocusOptions): void {\n this.elementRef()?.nativeElement.focus(options);\n }\n\n /** Reset the value to empty string. */\n clear(): void {\n this.elementRef()?.nativeElement.clear();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsOtpInputValueAccessor"],"mappings":";;;;;MAgBa,uBAAuB,CAAA;AAZpC,IAAA,WAAA,GAAA;AAaU,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC;;;;;AAKlC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC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,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,QAAA,EAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,YAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,IAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAAA,uBAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAxBpB;;;;;;;;;;;;AAYT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,iEAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAYU,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBA1B/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,EAAA,QAAA,EACd;;;;;;;;;;;;GAYT,EAAA,IAAA,EAKK;AACJ,wBAAA,aAAa,EAAE,QAAQ;qBACxB,EAAA,OAAA,EACQ,CAAC,sBAAsB,CAAC,EAAA,eAAA,EAChB,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/B,CAAC,uBAAuB,CAAC,EAAA,MAAA,EAAA,CAAA,iEAAA,CAAA,EAAA;m6BAkBiC,IAAI,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AC/DhF;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-otp-input.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/otp-input/src/lib/value-accessor/otp-input-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/lib/components/otp-input.component.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/mintplayer-ng-bootstrap-otp-input.ts"],"sourcesContent":["import { DestroyRef, Directive, Injector, OnInit, forwardRef, inject } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';\nimport { BsOtpInputComponent } from '../components/otp-input.component';\n\n@Directive({\n selector: 'bs-otp-input',\n providers: [{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => BsOtpInputValueAccessor),\n multi: true,\n }],\n host: {\n '(value-change)': 'onValueChangeEvent($event)',\n '(focusout)': 'onTouchEvent()',\n },\n})\nexport class BsOtpInputValueAccessor implements ControlValueAccessor, OnInit {\n private host = inject(BsOtpInputComponent);\n // Inject NgControl LAZILY via the injector. Eager `inject(NgControl)` here\n // creates a cycle: NgControl → NG_VALUE_ACCESSOR token → this directive →\n // NgControl. Looking it up in ngOnInit (after the form directive has\n // finished its own construction) breaks the cycle.\n private injector = inject(Injector);\n private destroyRef = inject(DestroyRef);\n private ngControl: NgControl | null = null;\n\n private onValueChange?: (value: string) => void;\n private onTouched?: () => void;\n\n ngOnInit(): void {\n this.ngControl = this.injector.get(NgControl, null);\n // Push invalid state to the WC whenever the form control's status or\n // touched state changes. Mirrors Bootstrap's .is-invalid convention: only\n // mark the boxes red after the control has been touched, otherwise we'd\n // light up a \"required\" field the moment the form mounts.\n if (!this.ngControl?.control) return;\n const sub = this.ngControl.statusChanges?.subscribe(() => this.syncInvalid());\n if (sub) this.destroyRef.onDestroy(() => sub.unsubscribe());\n // Sync once now in case the control was created already invalid+touched\n // (e.g. server-side validation rehydrate).\n queueMicrotask(() => this.syncInvalid());\n }\n\n protected onValueChangeEvent(ev: Event): void {\n if (!this.onValueChange) return;\n const detail = (ev as CustomEvent<string>).detail ?? '';\n this.onValueChange(detail);\n }\n\n protected onTouchEvent(): void {\n if (this.onTouched) this.onTouched();\n // Re-sync invalid on touch — statusChanges doesn't always fire on touched\n // alone, so we trigger the recompute here.\n this.syncInvalid();\n }\n\n private syncInvalid(): void {\n // Guard async-scheduled invocations: queueMicrotask in ngOnInit + the\n // statusChanges subscription are both possible after destroy. Reading\n // `host.elementRef()` (a required viewChild) on a destroyed view throws.\n if (this.destroyRef.destroyed) return;\n const ref = this.host.elementRef();\n if (!ref || !this.ngControl) return;\n const invalid = (this.ngControl.invalid ?? false) && (this.ngControl.touched ?? false);\n ref.nativeElement.invalid = invalid;\n }\n\n registerOnChange(fn: (value: string) => void): void {\n this.onValueChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n writeValue(value: string | null | undefined): void {\n const ref = this.host.elementRef();\n if (!ref) return;\n ref.nativeElement.value = value ?? '';\n }\n\n setDisabledState(isDisabled: boolean): void {\n const ref = this.host.elementRef();\n if (!ref) return;\n if (isDisabled) {\n ref.nativeElement.setAttribute('disabled', '');\n } else {\n ref.nativeElement.removeAttribute('disabled');\n }\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n ElementRef,\n computed,\n effect,\n inject,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport {\n MintOtpInputElement,\n OtpInputType,\n OtpInputCase,\n OtpInputSize,\n} from '@mintplayer/web-components/otp-input';\nimport { BsOtpInputValueAccessor } from '../value-accessor/otp-input-value-accessor';\n\n@Component({\n selector: 'bs-otp-input',\n template: `\n <mp-otp-input\n #el\n class=\"bs-otp-input\"\n [attr.type]=\"type()\"\n [attr.case]=\"case()\"\n [attr.size]=\"size()\"\n [attr.invalid]=\"invalidAttr()\"\n [attr.input-label]=\"inputLabel()\"\n (value-change)=\"onValueChange($event)\"\n (complete)=\"onCompleteEvent($event)\"\n ></mp-otp-input>\n `,\n styles: [`\n :host { display: inline-block; }\n .bs-otp-input { display: inline-flex; }\n `],\n host: {\n '[attr.size]': 'size()',\n },\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [BsOtpInputValueAccessor],\n})\nexport class BsOtpInputComponent {\n readonly groups = input<number[]>([1, 1, 1, 1, 1, 1]);\n readonly type = input<OtpInputType>('numeric');\n readonly case = input<OtpInputCase>('upper');\n readonly size = input<OtpInputSize>('md');\n readonly disabled = input(false);\n readonly invalid = input(false);\n readonly inputLabel = input<string | null>(null);\n\n // `model()` already exposes a `valueChange` output for two-way [(value)]\n // binding; declaring it explicitly is an error in Angular 22 (NG1054).\n // `value.set()` in onValueChange drives that auto-output.\n readonly value = model<string | undefined>(undefined);\n\n readonly complete = output<string>();\n\n readonly elementRef = viewChild.required<ElementRef<MintOtpInputElement>>('el');\n\n private readonly hostRef = inject(ElementRef<HTMLElement>);\n\n protected readonly invalidAttr = computed(() => (this.invalid() ? '' : null));\n\n constructor() {\n // Override the host DOM element's `.focus` so external directives that look\n // up the element and call `.focus()` on it (e.g. FocusOnLoadDirective's\n // `*[autofocus]`) route into the internal hidden input. Without this, the\n // call hits HTMLElement.prototype.focus which is a no-op on a non-focusable\n // host. Capture the WC ref lazily because viewChild isn't available in the\n // constructor and external directives may call .focus() before our\n // ngAfterViewInit runs.\n const host = this.hostRef.nativeElement as HTMLElement & { focus: (o?: FocusOptions) => void };\n Object.defineProperty(host, 'focus', {\n value: (options?: FocusOptions) => {\n const wc = this.elementRef()?.nativeElement;\n if (wc) {\n wc.focus(options);\n } else {\n // Defer to a microtask so a focus() call landing before the view is\n // ready still hits the WC once it mounts. FocusOnLoadDirective uses\n // setTimeout(10) which runs after microtasks, so this path is mostly\n // defensive — but it cheaply handles the race.\n Promise.resolve().then(() => this.elementRef()?.nativeElement.focus(options));\n }\n },\n configurable: true,\n writable: true,\n });\n\n // Forward signal inputs that aren't attributes (groups is a number[] —\n // attribute serialisation works for it, but property write is the canonical\n // path and avoids the \"string-from-attribute\" parse round-trip).\n effect(() => {\n const ref = this.elementRef();\n if (!ref) return;\n ref.nativeElement.groups = this.groups();\n });\n\n // Forward `value` model writes to the WC. Skip undefined so a freshly-set\n // form control's writeValue(null) can still clear the field (we map null\n // to '' inside the WC's normaliseValue).\n effect(() => {\n const ref = this.elementRef();\n if (!ref) return;\n const v = this.value();\n if (v === undefined) return;\n ref.nativeElement.value = v;\n });\n\n // Forward the `invalid` boolean to the WC's invalid property (mirrors the\n // attribute, but property write is the canonical path for a boolean).\n effect(() => {\n const ref = this.elementRef();\n if (!ref) return;\n ref.nativeElement.invalid = this.invalid();\n });\n\n // Forward `disabled` via attribute. This used to be `[attr.disabled]` in the\n // template, but that creates a race with the CVA's `setDisabledState`:\n // both write to the same DOM attribute, and any signal change in the\n // wrapper re-fires the template binding which clobbers the CVA's\n // form-disabled state. Using an effect makes the write fire only when the\n // `disabled` signal actually changes; the CVA's imperative writes are\n // unaffected because Angular doesn't reconcile attribute bindings in the\n // template anymore for this attr.\n effect(() => {\n const ref = this.elementRef();\n if (!ref) return;\n if (this.disabled()) {\n ref.nativeElement.setAttribute('disabled', '');\n } else {\n ref.nativeElement.removeAttribute('disabled');\n }\n });\n }\n\n protected onValueChange(event: Event): void {\n const detail = (event as CustomEvent<string>).detail ?? '';\n this.value.set(detail);\n }\n\n protected onCompleteEvent(event: Event): void {\n // The WC's `complete` DOM event bubbles. The wrapper's Output is also\n // named `complete`. Without stopPropagation, the parent's `(complete)`\n // binding would catch BOTH the bubbled DOM event AND the Output emit\n // below — Angular's `(name)` binding on a child component listens to\n // both channels when their names collide.\n event.stopPropagation();\n const detail = (event as CustomEvent<string>).detail ?? '';\n this.complete.emit(detail);\n }\n\n /** Move focus into the hidden input. */\n focus(options?: FocusOptions): void {\n this.elementRef()?.nativeElement.focus(options);\n }\n\n /** Reset the value to empty string. */\n clear(): void {\n this.elementRef()?.nativeElement.clear();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsOtpInputValueAccessor"],"mappings":";;;;;MAgBa,uBAAuB,CAAA;AAZpC,IAAA,WAAA,GAAA;AAaU,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC;;;;;AAKlC,QAAA,IAAA,CAAA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