@4sh/ui-kit 0.10.0 → 0.12.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/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +3 -3
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +3 -3
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +3 -3
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +3 -3
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +6 -6
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +118 -15
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +24 -11
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +54 -8
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms.mjs +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +12 -12
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +4 -4
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +9 -9
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +4 -4
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +18 -18
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +6 -6
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +13 -13
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +15 -15
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +4 -4
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +4 -4
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +3 -3
- package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +9 -9
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +3 -3
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +3 -3
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +5 -5
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +9 -9
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +18 -18
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +15 -15
- package/fesm2022/4sh-ui-kit-ripple.mjs +9 -9
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +3 -3
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +33 -33
- package/fesm2022/4sh-ui-kit-theming.mjs +6 -6
- package/mcp/data/text-search-docs.json +74 -14
- package/mcp/data/ui-config.json +256 -8
- package/mcp/package.json +1 -1
- package/package.json +1 -1
- package/styles/component-vars.scss +18 -3
- package/styles/generated/_tokens-responsive.scss +27 -3
- package/styles.css +1 -1
- package/types/4sh-ui-kit-forms-ui-editor.d.ts +5 -1
- package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +2 -1
- package/types/4sh-ui-kit-forms-ui-input-date.d.ts +23 -1
- package/types/4sh-ui-kit-informative-ui-toast.d.ts +1 -1
- package/types/4sh-ui-kit-navigation-ui-menu.d.ts +1 -1
- package/types/4sh-ui-kit-ripple.d.ts +1 -1
- package/types/4sh-ui-kit-theming.d.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"4sh-ui-kit-layout-ui-modal.mjs","sources":["../../../projects/ui-kit/layout/ui-modal/src/lib/ui-modal.ts","../../../projects/ui-kit/layout/ui-modal/src/lib/ui-modal.html","../../../projects/ui-kit/layout/ui-modal/src/public-api.ts","../../../projects/ui-kit/layout/ui-modal/src/4sh-ui-kit-layout-ui-modal.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n input,\n isDevMode,\n model,\n numberAttribute,\n output,\n PLATFORM_ID,\n signal,\n TemplateRef,\n untracked,\n viewChild,\n} from '@angular/core';\nimport { DOCUMENT, isPlatformBrowser, NgTemplateOutlet } from '@angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { UiMotion, UiMotionPreset } from '@4sh/ui-kit/motion';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { lockBodyScroll, unlockBodyScroll } from '@4sh/ui-kit/overlay';\n\n/** Where the dialog is anchored inside the viewport mask. */\nexport type ModalPosition =\n | 'center'\n | 'top'\n | 'bottom'\n | 'left'\n | 'right'\n | 'topleft'\n | 'topright'\n | 'bottomleft'\n | 'bottomright';\n\n/** Base stacking level — mirrors `$modal-z-index` in the SCSS. */\nconst MODAL_BASE_Z_INDEX = 1100;\n\n/** Process-wide sequence so `autoZIndex` layers a later dialog above earlier ones. */\nlet zIndexSeq = 0;\n/** Process-wide unique id source (aria wiring + responsive style scoping). */\nlet nextUid = 0;\n\n/**\n * ui-modal — headless dialog / modal window.\n *\n * A token-styled floating surface rendered over a viewport mask, driven by the\n * two-way `visible` model. Enter/leave run through the shared motion system\n * (mask fade + dialog `zoom` by default). Built for accessibility: focus trap\n * with focus restore (`@angular/cdk/a11y`), `aria-modal`, background scroll\n * lock, `Escape` to close, and an optional click-outside dismiss.\n *\n * Composes header / content / footer regions: a plain `header` string (or the\n * `#header` template), the default `<ng-content>` for the body, and a `#footer`\n * template for actions. Supports `draggable`, `maximizable`, nine `position`s,\n * modal / non-modal, and per-breakpoint widths (`breakpoints`).\n *\n * @example\n * ```html\n * <ui-button label=\"Ouvrir\" (buttonClick)=\"open.set(true)\" />\n * <ui-modal [(visible)]=\"open\" header=\"Titre\" [dialogStyle]=\"{ width: '32rem' }\">\n * <p>Contenu…</p>\n * <ng-template #footer>\n * <ui-button label=\"Fermer\" level=\"low\" (buttonClick)=\"open.set(false)\" />\n * </ng-template>\n * </ui-modal>\n * ```\n */\n@Component({\n selector: 'ui-modal',\n imports: [NgTemplateOutlet, A11yModule, UiMotion, UiIcon],\n templateUrl: './ui-modal.html',\n styleUrl: './ui-modal.scss',\n})\nexport class UiModal {\n /** Open state (two-way). Toggling it drives the enter/leave animation. */\n visible = model(false);\n\n /** Simple header text (ignored when a `#header` template is projected). */\n header = input<string>();\n /** ARIA role of the dialog surface. */\n role = input<string>('dialog');\n /** Accessible name when there is no visible header to reference. */\n ariaLabel = input<string>();\n /** Id of an external element naming the dialog (overrides the header title). */\n ariaLabelledBy = input<string>();\n\n /** Show the mask (dim + capture) and block background scroll. */\n modal = input(true, { transform: booleanAttribute });\n /** Close when the mask (outside the dialog) is clicked — modal only. */\n dismissableMask = input(false, { transform: booleanAttribute });\n /** Show the close (×) button and allow `Escape` to close. */\n closable = input(true, { transform: booleanAttribute });\n /** Close the dialog when `Escape` is pressed. */\n closeOnEscape = input(true, { transform: booleanAttribute });\n /** Block background scroll even for a non-modal dialog. */\n blockScroll = input(false, { transform: booleanAttribute });\n /** Render the header region (title + actions). */\n showHeader = input(true, { transform: booleanAttribute });\n\n /** Allow dragging the dialog by its header. */\n draggable = input(false, { transform: booleanAttribute });\n /** Keep the dialog fully inside the viewport while dragging. */\n keepInViewport = input(true, { transform: booleanAttribute });\n /** Minimum left offset kept while dragging (px). */\n minX = input(0, { transform: numberAttribute });\n /** Minimum top offset kept while dragging (px). */\n minY = input(0, { transform: numberAttribute });\n\n /** Show the maximize / restore toggle in the header. */\n maximizable = input(false, { transform: booleanAttribute });\n /** Allow resizing the dialog from its bottom-right corner (pointer only). */\n resizable = input(false, { transform: booleanAttribute });\n /** Minimum dialog width while resizing (px). */\n minWidth = input(150, { transform: numberAttribute });\n /** Minimum dialog height while resizing (px). */\n minHeight = input(100, { transform: numberAttribute });\n /** Anchor position inside the viewport mask. */\n position = input<ModalPosition>('center');\n /**\n * Scope the dialog to the nearest positioned ancestor (`position: absolute`)\n * instead of the viewport (`position: fixed`), and skip the body scroll lock.\n * Useful to embed a dialog inside a bounded container (docs previews, panels).\n */\n contained = input(false, { transform: booleanAttribute });\n\n /** Move focus into the dialog when it opens (auto-captured, restored on close). */\n focusOnShow = input(true, { transform: booleanAttribute });\n /** Trap Tab focus inside the dialog while open. */\n focusTrap = input(true, { transform: booleanAttribute });\n\n /** FontAwesome name of the close button icon. */\n closeIcon = input<string>('xmark');\n /** FontAwesome name of the maximize icon. */\n maximizeIcon = input<string>('expand');\n /** FontAwesome name of the restore (minimize) icon. */\n minimizeIcon = input<string>('compress');\n /** Accessible name of the close button. */\n closeAriaLabel = input<string>('Fermer');\n /** Accessible name of the maximize / restore button. */\n maximizeAriaLabel = input<string>('Agrandir');\n\n /** Extra class(es) merged onto the dialog surface. */\n styleClass = input<string>();\n /** Extra class(es) merged onto the mask. */\n maskStyleClass = input<string>();\n /** Inline styles applied to the dialog (e.g. `{ width: '32rem' }`). */\n dialogStyle = input<Record<string, string>>();\n /** Per-breakpoint widths, keyed by a `max-width` (e.g. `{ '960px': '75vw' }`). */\n breakpoints = input<Record<string, string>>();\n\n /** Layer this dialog above earlier overlays automatically. */\n autoZIndex = input(true, { transform: booleanAttribute });\n /** Floor z-index (added to the auto value, or used as-is when `autoZIndex=false`). */\n baseZIndex = input(0, { transform: numberAttribute });\n\n /** Enter/leave preset for the dialog surface (mask always fades). */\n motion = input<UiMotionPreset>('zoom');\n /** Disable the open/close animation for this dialog. */\n motionDisabled = input(false, { transform: booleanAttribute });\n\n /** Custom header template (replaces the `header` string). */\n protected readonly headerTemplate = contentChild<TemplateRef<unknown>>('header');\n /** Footer template (actions row). */\n protected readonly footerTemplate = contentChild<TemplateRef<unknown>>('footer');\n /** Custom close-icon template (replaces `closeIcon`). */\n protected readonly closeIconTemplate = contentChild<TemplateRef<unknown>>('closeicon');\n\n /** Emitted after the dialog becomes visible. */\n shown = output<void>();\n /** Emitted after the dialog is hidden. */\n hidden = output<void>();\n /** Emitted when the maximize state is toggled. */\n maximizedChange = output<{ maximized: boolean }>();\n /** Emitted when a drag gesture ends. */\n dragEnd = output<void>();\n /** Emitted when a resize gesture ends. */\n resizeEnd = output<{ width: number; height: number }>();\n\n /** @ignore Scrollable body region (see `contentNeedsFocus`). */\n private readonly contentRef = viewChild<ElementRef<HTMLElement>>('contentEl');\n /** @ignore The body overflows and holds no focusable element of its own — it then needs to be\n * focusable itself so the scroll is keyboard-reachable (axe `scrollable-region-focusable`). */\n protected readonly contentNeedsFocus = signal(false);\n\n /** @ignore */\n private readonly dialogRef = viewChild<ElementRef<HTMLElement>>('dialog');\n /** @ignore Scrim host (for imperative `maskStyleClass` — a bound `[class]` would\n * fight the motion classes and break the leave animation). */\n private readonly scrimRef = viewChild<ElementRef<HTMLElement>>('scrim');\n /** @ignore Classes currently applied to the scrim by `maskStyleClass`. */\n private appliedMaskClasses: string[] = [];\n\n /** @ignore */\n private readonly document = inject(DOCUMENT);\n /** @ignore */\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n /** @ignore Per-instance layering rank for `autoZIndex`. */\n private readonly zSeq = ++zIndexSeq;\n\n /** @ignore */\n protected readonly uid = `ui-modal-${nextUid++}`;\n /** @ignore */\n protected readonly titleId = `${this.uid}-title`;\n\n /** @ignore Maximized (fills the viewport). */\n protected readonly maximized = signal(false);\n /** @ignore Cumulative drag offset applied via the independent `translate` property\n * (does not clash with the `zoom` animation, which drives `transform`). */\n protected readonly dragOffset = signal<{ x: number; y: number } | null>(null);\n /** @ignore Explicit dialog size while resizing (overrides `dialogStyle` width/height). */\n protected readonly resizeSize = signal<{ w: number; h: number } | null>(null);\n\n /** @ignore This instance currently holds a body scroll lock. */\n private locked = false;\n /** @ignore Runtime `<style>` element backing `breakpoints`. */\n private styleEl: HTMLStyleElement | null = null;\n\n /** @ignore Effective stacking level. */\n protected readonly zIndex = computed(() => {\n const base = this.baseZIndex();\n if (this.autoZIndex()) return MODAL_BASE_Z_INDEX + base + this.zSeq;\n return base > 0 ? base : MODAL_BASE_Z_INDEX;\n });\n\n // NOTE: the scrim and frame carry `animate.enter`/`animate.leave`. They MUST use a\n // static `class` + per-class `[class.x]` toggles (like ui-toast) — a whole-string\n // `[class]=\"expr()\"` binding fights the motion classes Angular adds and restarts the\n // animation every frame (leave never ends → node never removed). Position is applied\n // via `[style]` for the same reason.\n\n /** @ignore Cross-axis alignment of the dialog inside the frame. */\n protected readonly alignItems = computed(() => {\n const p = this.position();\n if (p.startsWith('top')) return 'flex-start';\n if (p.startsWith('bottom')) return 'flex-end';\n return 'center';\n });\n /** @ignore Main-axis alignment of the dialog inside the frame. */\n protected readonly justifyContent = computed(() => {\n const p = this.position();\n if (p.endsWith('left')) return 'flex-start';\n if (p.endsWith('right')) return 'flex-end';\n return 'center';\n });\n\n /** @ignore */\n protected readonly dialogClasses = computed(() => {\n const c = ['ui-modal'];\n if (this.maximized()) c.push('_maximized');\n if (this.contained()) c.push('_contained');\n const extra = this.styleClass();\n if (extra) c.push(extra);\n return c.join(' ');\n });\n\n /** @ignore Header is draggable when enabled and not maximized. */\n protected readonly headerDraggable = computed(() => this.draggable() && !this.maximized());\n\n /** @ignore Drag offset serialised for the `translate` CSS property. */\n protected readonly dragTranslate = computed(() => {\n if (this.maximized()) return null;\n const o = this.dragOffset();\n return o ? `${o.x}px ${o.y}px` : null;\n });\n\n /** @ignore Inline styles for the dialog: `dialogStyle` plus the resize size\n * (which wins), dropped entirely while maximized. */\n protected readonly resolvedDialogStyle = computed(() => {\n if (this.maximized()) return null;\n const base: Record<string, string> = { ...(this.dialogStyle() ?? {}) };\n const size = this.resizeSize();\n if (size) {\n base['width'] = `${size.w}px`;\n base['height'] = `${size.h}px`;\n }\n return Object.keys(base).length ? base : null;\n });\n\n /** @ignore The resize grip shows when resizable and not maximized. */\n protected readonly showResizeHandle = computed(() => this.resizable() && !this.maximized());\n\n /** @ignore Id of the element naming the dialog (header title, or an external id). */\n protected readonly labelledBy = computed(\n () => this.ariaLabelledBy() ?? (this.showHeader() && this.header() ? this.titleId : null),\n );\n /** @ignore Fallback accessible name when nothing is referenced. */\n protected readonly resolvedAriaLabel = computed(() =>\n this.labelledBy() ? null : this.ariaLabel(),\n );\n\n constructor() {\n const destroyRef = inject(DestroyRef);\n let wasVisible = false;\n\n // Open/close side effects: scroll lock, lifecycle events, state reset.\n effect(() => {\n const v = this.visible();\n untracked(() => {\n if (v && !wasVisible) {\n wasVisible = true;\n // A contained dialog is embedded, not a real overlay → never lock the body.\n if (this.isBrowser && !this.contained() && (this.modal() || this.blockScroll())) {\n lockBodyScroll(this.document);\n this.locked = true;\n }\n this.shown.emit();\n } else if (!v && wasVisible) {\n wasVisible = false;\n this.releaseLock();\n this.maximized.set(false);\n this.dragOffset.set(null);\n this.resizeSize.set(null);\n this.hidden.emit();\n }\n });\n });\n\n // Watch the body region: it only earns a tab stop once it actually overflows and holds no\n // focusable element of its own. Measured rather than derived: the content is projected, so\n // neither its height nor what it contains is known from the inputs.\n if (this.isBrowser && typeof ResizeObserver !== 'undefined') {\n let observed: HTMLElement | null = null;\n const ro = new ResizeObserver(() => this.measureContentFocusability());\n effect(() => {\n const el = this.contentRef()?.nativeElement ?? null;\n if (el === observed) return;\n if (observed) ro.unobserve(observed);\n observed = el;\n if (el) {\n ro.observe(el);\n this.measureContentFocusability();\n } else {\n this.contentNeedsFocus.set(false);\n }\n });\n destroyRef.onDestroy(() => ro.disconnect());\n }\n\n // Rebuild the responsive width stylesheet when `breakpoints` changes.\n effect(() => {\n const bps = this.breakpoints();\n untracked(() => this.applyBreakpoints(bps));\n });\n\n // Apply `maskStyleClass` imperatively (see scrimRef note).\n effect(() => {\n const el = this.scrimRef()?.nativeElement;\n const raw = this.maskStyleClass();\n untracked(() => {\n for (const c of this.appliedMaskClasses) el?.classList.remove(c);\n this.appliedMaskClasses = el && raw ? raw.split(/\\s+/).filter(Boolean) : [];\n for (const c of this.appliedMaskClasses) el!.classList.add(c);\n });\n });\n\n // A11y safeguard: a dialog must have an accessible name.\n if (isDevMode()) {\n effect(() => {\n if (this.visible() && !this.labelledBy() && !this.resolvedAriaLabel()) {\n console.warn(\n '[ui-modal] Dialog has no accessible name: provide `header`, `ariaLabel` or `ariaLabelledBy`.',\n );\n }\n });\n }\n\n destroyRef.onDestroy(() => {\n this.releaseLock();\n this.removeStyleElement();\n this.removeDragListeners();\n this.removeResizeListeners();\n });\n }\n\n /** Close the dialog. */\n close(): void {\n this.visible.set(false);\n }\n\n /** Move focus onto the dialog surface. */\n focus(): void {\n this.dialogRef()?.nativeElement.focus();\n }\n\n /** @ignore Toggle maximized; lock scroll for a non-modal dialog that now fills the screen. */\n protected toggleMaximize(): void {\n const next = !this.maximized();\n this.maximized.set(next);\n if (next) {\n this.dragOffset.set(null);\n this.resizeSize.set(null);\n }\n if (this.isBrowser && !this.contained() && !this.modal() && !this.blockScroll()) {\n if (next) {\n lockBodyScroll(this.document);\n this.locked = true;\n } else {\n this.releaseLock();\n }\n }\n this.maximizedChange.emit({ maximized: next });\n }\n\n /** @ignore Escape-to-close (bubbles from any focused control inside the dialog). */\n protected onKeydown(event: KeyboardEvent): void {\n if (event.key === 'Escape' && this.closeOnEscape() && this.closable()) {\n event.stopPropagation();\n this.close();\n }\n }\n\n /** @ignore Click-outside dismiss (mask target only, modal + dismissable). */\n protected onMaskPointerdown(event: PointerEvent): void {\n if (!this.modal() || !this.dismissableMask() || !this.closable()) return;\n if (event.target === event.currentTarget) this.close();\n }\n\n // --- Drag (header handle) -------------------------------------------\n\n /** @ignore */\n private dragging = false;\n /** @ignore */\n private lastX = 0;\n /** @ignore */\n private lastY = 0;\n /** @ignore */\n private readonly moveHandler = (e: PointerEvent): void => this.onDrag(e);\n /** @ignore */\n private readonly upHandler = (e: PointerEvent): void => this.endDrag(e);\n\n /** @ignore */\n protected onHeaderPointerdown(event: PointerEvent): void {\n if (!this.headerDraggable() || event.button !== 0) return;\n // Never start a drag from the header action buttons.\n if ((event.target as HTMLElement).closest('button')) return;\n this.dragging = true;\n this.lastX = event.clientX;\n this.lastY = event.clientY;\n this.document.addEventListener('pointermove', this.moveHandler);\n this.document.addEventListener('pointerup', this.upHandler);\n this.document.body.style.userSelect = 'none';\n }\n\n /** @ignore */\n private onDrag(event: PointerEvent): void {\n if (!this.dragging) return;\n const dx = event.clientX - this.lastX;\n const dy = event.clientY - this.lastY;\n const cur = this.dragOffset() ?? { x: 0, y: 0 };\n let nx = cur.x + dx;\n let ny = cur.y + dy;\n\n const el = this.dialogRef()?.nativeElement;\n if (this.keepInViewport() && el) {\n const rect = el.getBoundingClientRect();\n const view = this.document.defaultView;\n const vw = view?.innerWidth ?? rect.right;\n const vh = view?.innerHeight ?? rect.bottom;\n // Reject a delta that would push the dialog past a viewport edge.\n if (rect.left + dx < this.minX() || rect.right + dx > vw) nx = cur.x;\n if (rect.top + dy < this.minY() || rect.bottom + dy > vh) ny = cur.y;\n }\n\n this.lastX = event.clientX;\n this.lastY = event.clientY;\n this.dragOffset.set({ x: nx, y: ny });\n }\n\n /** @ignore */\n private endDrag(_event: PointerEvent): void {\n if (!this.dragging) return;\n this.dragging = false;\n this.removeDragListeners();\n this.document.body.style.userSelect = '';\n this.dragEnd.emit();\n }\n\n /** @ignore */\n private removeDragListeners(): void {\n this.document.removeEventListener('pointermove', this.moveHandler);\n this.document.removeEventListener('pointerup', this.upHandler);\n }\n\n // --- Resize (bottom-right grip) -------------------------------------\n\n /** @ignore */\n private resizing = false;\n /** @ignore Pointer + size captured when the resize gesture starts. */\n private resizeStart = { x: 0, y: 0, w: 0, h: 0 };\n /** @ignore */\n private readonly resizeMoveHandler = (e: PointerEvent): void => this.onResize(e);\n /** @ignore */\n private readonly resizeUpHandler = (e: PointerEvent): void => this.endResize(e);\n\n /** @ignore Start a corner resize (seeds from the current rendered size). */\n protected onResizeStart(event: PointerEvent): void {\n if (!this.showResizeHandle() || event.button !== 0) return;\n // Keep the grip from bubbling to the frame (dismiss) / starting a drag.\n event.preventDefault();\n event.stopPropagation();\n const el = this.dialogRef()?.nativeElement;\n if (!el) return;\n const rect = el.getBoundingClientRect();\n this.resizing = true;\n this.resizeStart = { x: event.clientX, y: event.clientY, w: rect.width, h: rect.height };\n this.document.addEventListener('pointermove', this.resizeMoveHandler);\n this.document.addEventListener('pointerup', this.resizeUpHandler);\n this.document.body.style.userSelect = 'none';\n }\n\n /** @ignore */\n private onResize(event: PointerEvent): void {\n if (!this.resizing) return;\n const view = this.document.defaultView;\n // `|| MAX` (not `??`) so a degenerate 0 viewport never clamps the dialog to nothing.\n const maxW = view?.innerWidth || Number.MAX_SAFE_INTEGER;\n const maxH = view?.innerHeight || Number.MAX_SAFE_INTEGER;\n const w = Math.min(\n maxW,\n Math.max(this.minWidth(), this.resizeStart.w + (event.clientX - this.resizeStart.x)),\n );\n const h = Math.min(\n maxH,\n Math.max(this.minHeight(), this.resizeStart.h + (event.clientY - this.resizeStart.y)),\n );\n this.resizeSize.set({ w, h });\n }\n\n /** @ignore */\n private endResize(_event: PointerEvent): void {\n if (!this.resizing) return;\n this.resizing = false;\n this.removeResizeListeners();\n this.document.body.style.userSelect = '';\n const size = this.resizeSize();\n if (size) this.resizeEnd.emit({ width: size.w, height: size.h });\n }\n\n /** @ignore */\n private removeResizeListeners(): void {\n this.document.removeEventListener('pointermove', this.resizeMoveHandler);\n this.document.removeEventListener('pointerup', this.resizeUpHandler);\n }\n\n // --- Internals -------------------------------------------------------\n\n /** @ignore Recomputes `contentNeedsFocus` from the rendered body. */\n private measureContentFocusability(): void {\n const el = this.contentRef()?.nativeElement;\n if (!el) {\n this.contentNeedsFocus.set(false);\n return;\n }\n const overflows = el.scrollHeight > el.clientHeight + 1;\n const hasFocusable = !!el.querySelector(\n 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])',\n );\n this.contentNeedsFocus.set(overflows && !hasFocusable);\n }\n\n /** @ignore Release this instance's scroll lock, if held. */\n private releaseLock(): void {\n if (this.locked) {\n unlockBodyScroll(this.document);\n this.locked = false;\n }\n }\n\n /** @ignore Build the responsive width rules (`max-width` media queries). */\n private applyBreakpoints(bps: Record<string, string> | undefined): void {\n if (!this.isBrowser) return;\n this.removeStyleElement();\n if (!bps || Object.keys(bps).length === 0) return;\n const el = this.document.createElement('style');\n let css = '';\n for (const bp of Object.keys(bps)) {\n css +=\n `@media screen and (max-width: ${bp}) {` +\n ` [data-modal-uid=\"${this.uid}\"]:not(._maximized) { width: ${bps[bp]} !important; } }\\n`;\n }\n el.textContent = css;\n this.document.head.appendChild(el);\n this.styleEl = el;\n }\n\n /** @ignore */\n private removeStyleElement(): void {\n this.styleEl?.remove();\n this.styleEl = null;\n }\n}\n","@if (visible()) {\n <!-- Scrim + frame are SIBLINGS (both direct @if children) so each animates its own\n leave independently — a nested animated element would deadlock the removal.\n The frame carries the dialog's zoom; the dialog itself has no leave binding. -->\n @if (modal()) {\n <div\n #scrim\n class=\"ui-modal-scrim\"\n [class._contained]=\"contained()\"\n [style.z-index]=\"zIndex()\"\n [uiMotion]=\"'fade'\"\n [motionDisabled]=\"motionDisabled()\"\n #scrimMotion=\"uiMotion\"\n [animate.enter]=\"scrimMotion.enter()\"\n [animate.leave]=\"scrimMotion.leave()\"\n ></div>\n }\n\n <!-- Dialog: Escape/Tab handled on the container, focus lives in the\n content (CDK focus-trap). -->\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -->\n <div\n class=\"ui-modal-frame\"\n [class._modal]=\"modal()\"\n [class._contained]=\"contained()\"\n [style.align-items]=\"alignItems()\"\n [style.justify-content]=\"justifyContent()\"\n [style.z-index]=\"zIndex()\"\n [uiMotion]=\"motion()\"\n [motionDisabled]=\"motionDisabled()\"\n #frameMotion=\"uiMotion\"\n [animate.enter]=\"frameMotion.enter()\"\n [animate.leave]=\"frameMotion.leave()\"\n (pointerdown)=\"onMaskPointerdown($event)\"\n (keydown)=\"onKeydown($event)\"\n >\n <div\n #dialog\n [class]=\"dialogClasses()\"\n [attr.data-modal-uid]=\"uid\"\n [attr.role]=\"role()\"\n [attr.aria-modal]=\"modal() ? 'true' : null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n tabindex=\"-1\"\n [style]=\"resolvedDialogStyle()\"\n [style.translate]=\"dragTranslate()\"\n [cdkTrapFocus]=\"focusTrap()\"\n [cdkTrapFocusAutoCapture]=\"focusOnShow()\"\n >\n @if (showHeader()) {\n <div\n class=\"ui-modal-header\"\n [class._draggable]=\"headerDraggable()\"\n (pointerdown)=\"onHeaderPointerdown($event)\"\n >\n <div [attr.id]=\"titleId\" class=\"ui-modal-title\">\n @if (headerTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ header() }}\n }\n </div>\n\n <div class=\"ui-modal-header-actions\">\n @if (maximizable()) {\n <button\n type=\"button\"\n class=\"ui-modal-action\"\n [attr.aria-label]=\"maximizeAriaLabel()\"\n [attr.aria-pressed]=\"maximized()\"\n (click)=\"toggleMaximize()\"\n >\n <ui-icon [name]=\"maximized() ? minimizeIcon() : maximizeIcon()\" size=\"sm\" />\n </button>\n }\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-modal-action\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"close()\"\n >\n @if (closeIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n }\n </button>\n }\n </div>\n </div>\n }\n\n <!-- Body: long content scrolls inside this region. It becomes focusable ONLY once it\n actually overflows AND holds nothing focusable of its own: a keyboard user must be able\n to reach the scrollbar (the footer buttons sit outside this region), but an unconditional\n tab stop would insert itself into the focus order of every dialog. -->\n <div #contentEl class=\"ui-modal-content\" [attr.tabindex]=\"contentNeedsFocus() ? 0 : null\">\n <ng-content />\n </div>\n\n @if (footerTemplate(); as tpl) {\n <div class=\"ui-modal-footer\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n\n @if (showResizeHandle()) {\n <!-- Corner resize grip (pointer only, like a native textarea corner). -->\n <span\n class=\"ui-modal-resize-handle\"\n aria-hidden=\"true\"\n (pointerdown)=\"onResizeStart($event)\"\n ></span>\n }\n </div>\n </div>\n}\n","/*\n * Public API Surface of ui-kit/ui-modal\n */\n\nexport * from './lib/ui-modal';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAsCA;AACA,MAAM,kBAAkB,GAAG,IAAI;AAE/B;AACA,IAAI,SAAS,GAAG,CAAC;AACjB;AACA,IAAI,OAAO,GAAG,CAAC;AAEf;;;;;;;;;;;;;;;;;;;;;;;;AAwBG;MAOU,OAAO,CAAA;AAyNlB,IAAA,WAAA,GAAA;;QAvNA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK;oFAAC;;AAGtB,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK;8FAAU;;QAExB,IAAA,CAAA,IAAI,GAAG,K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A,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAMZ,QAAQ,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAGT,OAAO,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEhMxE;;AAEG;;ACFH;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"4sh-ui-kit-layout-ui-modal.mjs","sources":["../../../projects/ui-kit/layout/ui-modal/src/lib/ui-modal.ts","../../../projects/ui-kit/layout/ui-modal/src/lib/ui-modal.html","../../../projects/ui-kit/layout/ui-modal/src/public-api.ts","../../../projects/ui-kit/layout/ui-modal/src/4sh-ui-kit-layout-ui-modal.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n input,\n isDevMode,\n model,\n numberAttribute,\n output,\n PLATFORM_ID,\n signal,\n TemplateRef,\n untracked,\n viewChild,\n} from '@angular/core';\nimport { DOCUMENT, isPlatformBrowser, NgTemplateOutlet } from '@angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { UiMotion, UiMotionPreset } from '@4sh/ui-kit/motion';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { lockBodyScroll, unlockBodyScroll } from '@4sh/ui-kit/overlay';\n\n/** Where the dialog is anchored inside the viewport mask. */\nexport type ModalPosition =\n | 'center'\n | 'top'\n | 'bottom'\n | 'left'\n | 'right'\n | 'topleft'\n | 'topright'\n | 'bottomleft'\n | 'bottomright';\n\n/** Base stacking level — mirrors `$modal-z-index` in the SCSS. */\nconst MODAL_BASE_Z_INDEX = 1100;\n\n/** Process-wide sequence so `autoZIndex` layers a later dialog above earlier ones. */\nlet zIndexSeq = 0;\n/** Process-wide unique id source (aria wiring + responsive style scoping). */\nlet nextUid = 0;\n\n/**\n * ui-modal — headless dialog / modal window.\n *\n * A token-styled floating surface rendered over a viewport mask, driven by the\n * two-way `visible` model. Enter/leave run through the shared motion system\n * (mask fade + dialog `zoom` by default). Built for accessibility: focus trap\n * with focus restore (`@angular/cdk/a11y`), `aria-modal`, background scroll\n * lock, `Escape` to close, and an optional click-outside dismiss.\n *\n * Composes header / content / footer regions: a plain `header` string (or the\n * `#header` template), the default `<ng-content>` for the body, and a `#footer`\n * template for actions. Supports `draggable`, `maximizable`, nine `position`s,\n * modal / non-modal, and per-breakpoint widths (`breakpoints`).\n *\n * @example\n * ```html\n * <ui-button label=\"Ouvrir\" (buttonClick)=\"open.set(true)\" />\n * <ui-modal [(visible)]=\"open\" header=\"Titre\" [dialogStyle]=\"{ width: '32rem' }\">\n * <p>Contenu…</p>\n * <ng-template #footer>\n * <ui-button label=\"Fermer\" level=\"low\" (buttonClick)=\"open.set(false)\" />\n * </ng-template>\n * </ui-modal>\n * ```\n */\n@Component({\n selector: 'ui-modal',\n imports: [NgTemplateOutlet, A11yModule, UiMotion, UiIcon],\n templateUrl: './ui-modal.html',\n styleUrl: './ui-modal.scss',\n})\nexport class UiModal {\n /** Open state (two-way). Toggling it drives the enter/leave animation. */\n visible = model(false);\n\n /** Simple header text (ignored when a `#header` template is projected). */\n header = input<string>();\n /** ARIA role of the dialog surface. */\n role = input<string>('dialog');\n /** Accessible name when there is no visible header to reference. */\n ariaLabel = input<string>();\n /** Id of an external element naming the dialog (overrides the header title). */\n ariaLabelledBy = input<string>();\n\n /** Show the mask (dim + capture) and block background scroll. */\n modal = input(true, { transform: booleanAttribute });\n /** Close when the mask (outside the dialog) is clicked — modal only. */\n dismissableMask = input(false, { transform: booleanAttribute });\n /** Show the close (×) button and allow `Escape` to close. */\n closable = input(true, { transform: booleanAttribute });\n /** Close the dialog when `Escape` is pressed. */\n closeOnEscape = input(true, { transform: booleanAttribute });\n /** Block background scroll even for a non-modal dialog. */\n blockScroll = input(false, { transform: booleanAttribute });\n /** Render the header region (title + actions). */\n showHeader = input(true, { transform: booleanAttribute });\n\n /** Allow dragging the dialog by its header. */\n draggable = input(false, { transform: booleanAttribute });\n /** Keep the dialog fully inside the viewport while dragging. */\n keepInViewport = input(true, { transform: booleanAttribute });\n /** Minimum left offset kept while dragging (px). */\n minX = input(0, { transform: numberAttribute });\n /** Minimum top offset kept while dragging (px). */\n minY = input(0, { transform: numberAttribute });\n\n /** Show the maximize / restore toggle in the header. */\n maximizable = input(false, { transform: booleanAttribute });\n /** Allow resizing the dialog from its bottom-right corner (pointer only). */\n resizable = input(false, { transform: booleanAttribute });\n /** Minimum dialog width while resizing (px). */\n minWidth = input(150, { transform: numberAttribute });\n /** Minimum dialog height while resizing (px). */\n minHeight = input(100, { transform: numberAttribute });\n /** Anchor position inside the viewport mask. */\n position = input<ModalPosition>('center');\n /**\n * Scope the dialog to the nearest positioned ancestor (`position: absolute`)\n * instead of the viewport (`position: fixed`), and skip the body scroll lock.\n * Useful to embed a dialog inside a bounded container (docs previews, panels).\n */\n contained = input(false, { transform: booleanAttribute });\n\n /** Move focus into the dialog when it opens (auto-captured, restored on close). */\n focusOnShow = input(true, { transform: booleanAttribute });\n /** Trap Tab focus inside the dialog while open. */\n focusTrap = input(true, { transform: booleanAttribute });\n\n /** FontAwesome name of the close button icon. */\n closeIcon = input<string>('xmark');\n /** FontAwesome name of the maximize icon. */\n maximizeIcon = input<string>('expand');\n /** FontAwesome name of the restore (minimize) icon. */\n minimizeIcon = input<string>('compress');\n /** Accessible name of the close button. */\n closeAriaLabel = input<string>('Fermer');\n /** Accessible name of the maximize / restore button. */\n maximizeAriaLabel = input<string>('Agrandir');\n\n /** Extra class(es) merged onto the dialog surface. */\n styleClass = input<string>();\n /** Extra class(es) merged onto the mask. */\n maskStyleClass = input<string>();\n /** Inline styles applied to the dialog (e.g. `{ width: '32rem' }`). */\n dialogStyle = input<Record<string, string>>();\n /** Per-breakpoint widths, keyed by a `max-width` (e.g. `{ '960px': '75vw' }`). */\n breakpoints = input<Record<string, string>>();\n\n /** Layer this dialog above earlier overlays automatically. */\n autoZIndex = input(true, { transform: booleanAttribute });\n /** Floor z-index (added to the auto value, or used as-is when `autoZIndex=false`). */\n baseZIndex = input(0, { transform: numberAttribute });\n\n /** Enter/leave preset for the dialog surface (mask always fades). */\n motion = input<UiMotionPreset>('zoom');\n /** Disable the open/close animation for this dialog. */\n motionDisabled = input(false, { transform: booleanAttribute });\n\n /** Custom header template (replaces the `header` string). */\n protected readonly headerTemplate = contentChild<TemplateRef<unknown>>('header');\n /** Footer template (actions row). */\n protected readonly footerTemplate = contentChild<TemplateRef<unknown>>('footer');\n /** Custom close-icon template (replaces `closeIcon`). */\n protected readonly closeIconTemplate = contentChild<TemplateRef<unknown>>('closeicon');\n\n /** Emitted after the dialog becomes visible. */\n shown = output<void>();\n /** Emitted after the dialog is hidden. */\n hidden = output<void>();\n /** Emitted when the maximize state is toggled. */\n maximizedChange = output<{ maximized: boolean }>();\n /** Emitted when a drag gesture ends. */\n dragEnd = output<void>();\n /** Emitted when a resize gesture ends. */\n resizeEnd = output<{ width: number; height: number }>();\n\n /** @ignore Scrollable body region (see `contentNeedsFocus`). */\n private readonly contentRef = viewChild<ElementRef<HTMLElement>>('contentEl');\n /** @ignore The body overflows and holds no focusable element of its own — it then needs to be\n * focusable itself so the scroll is keyboard-reachable (axe `scrollable-region-focusable`). */\n protected readonly contentNeedsFocus = signal(false);\n\n /** @ignore */\n private readonly dialogRef = viewChild<ElementRef<HTMLElement>>('dialog');\n /** @ignore Scrim host (for imperative `maskStyleClass` — a bound `[class]` would\n * fight the motion classes and break the leave animation). */\n private readonly scrimRef = viewChild<ElementRef<HTMLElement>>('scrim');\n /** @ignore Classes currently applied to the scrim by `maskStyleClass`. */\n private appliedMaskClasses: string[] = [];\n\n /** @ignore */\n private readonly document = inject(DOCUMENT);\n /** @ignore */\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n /** @ignore Per-instance layering rank for `autoZIndex`. */\n private readonly zSeq = ++zIndexSeq;\n\n /** @ignore */\n protected readonly uid = `ui-modal-${nextUid++}`;\n /** @ignore */\n protected readonly titleId = `${this.uid}-title`;\n\n /** @ignore Maximized (fills the viewport). */\n protected readonly maximized = signal(false);\n /** @ignore Cumulative drag offset applied via the independent `translate` property\n * (does not clash with the `zoom` animation, which drives `transform`). */\n protected readonly dragOffset = signal<{ x: number; y: number } | null>(null);\n /** @ignore Explicit dialog size while resizing (overrides `dialogStyle` width/height). */\n protected readonly resizeSize = signal<{ w: number; h: number } | null>(null);\n\n /** @ignore This instance currently holds a body scroll lock. */\n private locked = false;\n /** @ignore Runtime `<style>` element backing `breakpoints`. */\n private styleEl: HTMLStyleElement | null = null;\n\n /** @ignore Effective stacking level. */\n protected readonly zIndex = computed(() => {\n const base = this.baseZIndex();\n if (this.autoZIndex()) return MODAL_BASE_Z_INDEX + base + this.zSeq;\n return base > 0 ? base : MODAL_BASE_Z_INDEX;\n });\n\n // NOTE: the scrim and frame carry `animate.enter`/`animate.leave`. They MUST use a\n // static `class` + per-class `[class.x]` toggles (like ui-toast) — a whole-string\n // `[class]=\"expr()\"` binding fights the motion classes Angular adds and restarts the\n // animation every frame (leave never ends → node never removed). Position is applied\n // via `[style]` for the same reason.\n\n /** @ignore Cross-axis alignment of the dialog inside the frame. */\n protected readonly alignItems = computed(() => {\n const p = this.position();\n if (p.startsWith('top')) return 'flex-start';\n if (p.startsWith('bottom')) return 'flex-end';\n return 'center';\n });\n /** @ignore Main-axis alignment of the dialog inside the frame. */\n protected readonly justifyContent = computed(() => {\n const p = this.position();\n if (p.endsWith('left')) return 'flex-start';\n if (p.endsWith('right')) return 'flex-end';\n return 'center';\n });\n\n /** @ignore */\n protected readonly dialogClasses = computed(() => {\n const c = ['ui-modal'];\n if (this.maximized()) c.push('_maximized');\n if (this.contained()) c.push('_contained');\n const extra = this.styleClass();\n if (extra) c.push(extra);\n return c.join(' ');\n });\n\n /** @ignore Header is draggable when enabled and not maximized. */\n protected readonly headerDraggable = computed(() => this.draggable() && !this.maximized());\n\n /** @ignore Drag offset serialised for the `translate` CSS property. */\n protected readonly dragTranslate = computed(() => {\n if (this.maximized()) return null;\n const o = this.dragOffset();\n return o ? `${o.x}px ${o.y}px` : null;\n });\n\n /** @ignore Inline styles for the dialog: `dialogStyle` plus the resize size\n * (which wins), dropped entirely while maximized. */\n protected readonly resolvedDialogStyle = computed(() => {\n if (this.maximized()) return null;\n const base: Record<string, string> = { ...(this.dialogStyle() ?? {}) };\n const size = this.resizeSize();\n if (size) {\n base['width'] = `${size.w}px`;\n base['height'] = `${size.h}px`;\n }\n return Object.keys(base).length ? base : null;\n });\n\n /** @ignore The resize grip shows when resizable and not maximized. */\n protected readonly showResizeHandle = computed(() => this.resizable() && !this.maximized());\n\n /** @ignore Id of the element naming the dialog (header title, or an external id). */\n protected readonly labelledBy = computed(\n () => this.ariaLabelledBy() ?? (this.showHeader() && this.header() ? this.titleId : null),\n );\n /** @ignore Fallback accessible name when nothing is referenced. */\n protected readonly resolvedAriaLabel = computed(() =>\n this.labelledBy() ? null : this.ariaLabel(),\n );\n\n constructor() {\n const destroyRef = inject(DestroyRef);\n let wasVisible = false;\n\n // Open/close side effects: scroll lock, lifecycle events, state reset.\n effect(() => {\n const v = this.visible();\n untracked(() => {\n if (v && !wasVisible) {\n wasVisible = true;\n // A contained dialog is embedded, not a real overlay → never lock the body.\n if (this.isBrowser && !this.contained() && (this.modal() || this.blockScroll())) {\n lockBodyScroll(this.document);\n this.locked = true;\n }\n this.shown.emit();\n } else if (!v && wasVisible) {\n wasVisible = false;\n this.releaseLock();\n this.maximized.set(false);\n this.dragOffset.set(null);\n this.resizeSize.set(null);\n this.hidden.emit();\n }\n });\n });\n\n // Watch the body region: it only earns a tab stop once it actually overflows and holds no\n // focusable element of its own. Measured rather than derived: the content is projected, so\n // neither its height nor what it contains is known from the inputs.\n if (this.isBrowser && typeof ResizeObserver !== 'undefined') {\n let observed: HTMLElement | null = null;\n const ro = new ResizeObserver(() => this.measureContentFocusability());\n effect(() => {\n const el = this.contentRef()?.nativeElement ?? null;\n if (el === observed) return;\n if (observed) ro.unobserve(observed);\n observed = el;\n if (el) {\n ro.observe(el);\n this.measureContentFocusability();\n } else {\n this.contentNeedsFocus.set(false);\n }\n });\n destroyRef.onDestroy(() => ro.disconnect());\n }\n\n // Rebuild the responsive width stylesheet when `breakpoints` changes.\n effect(() => {\n const bps = this.breakpoints();\n untracked(() => this.applyBreakpoints(bps));\n });\n\n // Apply `maskStyleClass` imperatively (see scrimRef note).\n effect(() => {\n const el = this.scrimRef()?.nativeElement;\n const raw = this.maskStyleClass();\n untracked(() => {\n for (const c of this.appliedMaskClasses) el?.classList.remove(c);\n this.appliedMaskClasses = el && raw ? raw.split(/\\s+/).filter(Boolean) : [];\n for (const c of this.appliedMaskClasses) el!.classList.add(c);\n });\n });\n\n // A11y safeguard: a dialog must have an accessible name.\n if (isDevMode()) {\n effect(() => {\n if (this.visible() && !this.labelledBy() && !this.resolvedAriaLabel()) {\n console.warn(\n '[ui-modal] Dialog has no accessible name: provide `header`, `ariaLabel` or `ariaLabelledBy`.',\n );\n }\n });\n }\n\n destroyRef.onDestroy(() => {\n this.releaseLock();\n this.removeStyleElement();\n this.removeDragListeners();\n this.removeResizeListeners();\n });\n }\n\n /** Close the dialog. */\n close(): void {\n this.visible.set(false);\n }\n\n /** Move focus onto the dialog surface. */\n focus(): void {\n this.dialogRef()?.nativeElement.focus();\n }\n\n /** @ignore Toggle maximized; lock scroll for a non-modal dialog that now fills the screen. */\n protected toggleMaximize(): void {\n const next = !this.maximized();\n this.maximized.set(next);\n if (next) {\n this.dragOffset.set(null);\n this.resizeSize.set(null);\n }\n if (this.isBrowser && !this.contained() && !this.modal() && !this.blockScroll()) {\n if (next) {\n lockBodyScroll(this.document);\n this.locked = true;\n } else {\n this.releaseLock();\n }\n }\n this.maximizedChange.emit({ maximized: next });\n }\n\n /** @ignore Escape-to-close (bubbles from any focused control inside the dialog). */\n protected onKeydown(event: KeyboardEvent): void {\n if (event.key === 'Escape' && this.closeOnEscape() && this.closable()) {\n event.stopPropagation();\n this.close();\n }\n }\n\n /** @ignore Click-outside dismiss (mask target only, modal + dismissable). */\n protected onMaskPointerdown(event: PointerEvent): void {\n if (!this.modal() || !this.dismissableMask() || !this.closable()) return;\n if (event.target === event.currentTarget) this.close();\n }\n\n // --- Drag (header handle) -------------------------------------------\n\n /** @ignore */\n private dragging = false;\n /** @ignore */\n private lastX = 0;\n /** @ignore */\n private lastY = 0;\n /** @ignore */\n private readonly moveHandler = (e: PointerEvent): void => this.onDrag(e);\n /** @ignore */\n private readonly upHandler = (e: PointerEvent): void => this.endDrag(e);\n\n /** @ignore */\n protected onHeaderPointerdown(event: PointerEvent): void {\n if (!this.headerDraggable() || event.button !== 0) return;\n // Never start a drag from the header action buttons.\n if ((event.target as HTMLElement).closest('button')) return;\n this.dragging = true;\n this.lastX = event.clientX;\n this.lastY = event.clientY;\n this.document.addEventListener('pointermove', this.moveHandler);\n this.document.addEventListener('pointerup', this.upHandler);\n this.document.body.style.userSelect = 'none';\n }\n\n /** @ignore */\n private onDrag(event: PointerEvent): void {\n if (!this.dragging) return;\n const dx = event.clientX - this.lastX;\n const dy = event.clientY - this.lastY;\n const cur = this.dragOffset() ?? { x: 0, y: 0 };\n let nx = cur.x + dx;\n let ny = cur.y + dy;\n\n const el = this.dialogRef()?.nativeElement;\n if (this.keepInViewport() && el) {\n const rect = el.getBoundingClientRect();\n const view = this.document.defaultView;\n const vw = view?.innerWidth ?? rect.right;\n const vh = view?.innerHeight ?? rect.bottom;\n // Reject a delta that would push the dialog past a viewport edge.\n if (rect.left + dx < this.minX() || rect.right + dx > vw) nx = cur.x;\n if (rect.top + dy < this.minY() || rect.bottom + dy > vh) ny = cur.y;\n }\n\n this.lastX = event.clientX;\n this.lastY = event.clientY;\n this.dragOffset.set({ x: nx, y: ny });\n }\n\n /** @ignore */\n private endDrag(_event: PointerEvent): void {\n if (!this.dragging) return;\n this.dragging = false;\n this.removeDragListeners();\n this.document.body.style.userSelect = '';\n this.dragEnd.emit();\n }\n\n /** @ignore */\n private removeDragListeners(): void {\n this.document.removeEventListener('pointermove', this.moveHandler);\n this.document.removeEventListener('pointerup', this.upHandler);\n }\n\n // --- Resize (bottom-right grip) -------------------------------------\n\n /** @ignore */\n private resizing = false;\n /** @ignore Pointer + size captured when the resize gesture starts. */\n private resizeStart = { x: 0, y: 0, w: 0, h: 0 };\n /** @ignore */\n private readonly resizeMoveHandler = (e: PointerEvent): void => this.onResize(e);\n /** @ignore */\n private readonly resizeUpHandler = (e: PointerEvent): void => this.endResize(e);\n\n /** @ignore Start a corner resize (seeds from the current rendered size). */\n protected onResizeStart(event: PointerEvent): void {\n if (!this.showResizeHandle() || event.button !== 0) return;\n // Keep the grip from bubbling to the frame (dismiss) / starting a drag.\n event.preventDefault();\n event.stopPropagation();\n const el = this.dialogRef()?.nativeElement;\n if (!el) return;\n const rect = el.getBoundingClientRect();\n this.resizing = true;\n this.resizeStart = { x: event.clientX, y: event.clientY, w: rect.width, h: rect.height };\n this.document.addEventListener('pointermove', this.resizeMoveHandler);\n this.document.addEventListener('pointerup', this.resizeUpHandler);\n this.document.body.style.userSelect = 'none';\n }\n\n /** @ignore */\n private onResize(event: PointerEvent): void {\n if (!this.resizing) return;\n const view = this.document.defaultView;\n // `|| MAX` (not `??`) so a degenerate 0 viewport never clamps the dialog to nothing.\n const maxW = view?.innerWidth || Number.MAX_SAFE_INTEGER;\n const maxH = view?.innerHeight || Number.MAX_SAFE_INTEGER;\n const w = Math.min(\n maxW,\n Math.max(this.minWidth(), this.resizeStart.w + (event.clientX - this.resizeStart.x)),\n );\n const h = Math.min(\n maxH,\n Math.max(this.minHeight(), this.resizeStart.h + (event.clientY - this.resizeStart.y)),\n );\n this.resizeSize.set({ w, h });\n }\n\n /** @ignore */\n private endResize(_event: PointerEvent): void {\n if (!this.resizing) return;\n this.resizing = false;\n this.removeResizeListeners();\n this.document.body.style.userSelect = '';\n const size = this.resizeSize();\n if (size) this.resizeEnd.emit({ width: size.w, height: size.h });\n }\n\n /** @ignore */\n private removeResizeListeners(): void {\n this.document.removeEventListener('pointermove', this.resizeMoveHandler);\n this.document.removeEventListener('pointerup', this.resizeUpHandler);\n }\n\n // --- Internals -------------------------------------------------------\n\n /** @ignore Recomputes `contentNeedsFocus` from the rendered body. */\n private measureContentFocusability(): void {\n const el = this.contentRef()?.nativeElement;\n if (!el) {\n this.contentNeedsFocus.set(false);\n return;\n }\n const overflows = el.scrollHeight > el.clientHeight + 1;\n const hasFocusable = !!el.querySelector(\n 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])',\n );\n this.contentNeedsFocus.set(overflows && !hasFocusable);\n }\n\n /** @ignore Release this instance's scroll lock, if held. */\n private releaseLock(): void {\n if (this.locked) {\n unlockBodyScroll(this.document);\n this.locked = false;\n }\n }\n\n /** @ignore Build the responsive width rules (`max-width` media queries). */\n private applyBreakpoints(bps: Record<string, string> | undefined): void {\n if (!this.isBrowser) return;\n this.removeStyleElement();\n if (!bps || Object.keys(bps).length === 0) return;\n const el = this.document.createElement('style');\n let css = '';\n for (const bp of Object.keys(bps)) {\n css +=\n `@media screen and (max-width: ${bp}) {` +\n ` [data-modal-uid=\"${this.uid}\"]:not(._maximized) { width: ${bps[bp]} !important; } }\\n`;\n }\n el.textContent = css;\n this.document.head.appendChild(el);\n this.styleEl = el;\n }\n\n /** @ignore */\n private removeStyleElement(): void {\n this.styleEl?.remove();\n this.styleEl = null;\n }\n}\n","@if (visible()) {\n <!-- Scrim + frame are SIBLINGS (both direct @if children) so each animates its own\n leave independently — a nested animated element would deadlock the removal.\n The frame carries the dialog's zoom; the dialog itself has no leave binding. -->\n @if (modal()) {\n <div\n #scrim\n class=\"ui-modal-scrim\"\n [class._contained]=\"contained()\"\n [style.z-index]=\"zIndex()\"\n [uiMotion]=\"'fade'\"\n [motionDisabled]=\"motionDisabled()\"\n #scrimMotion=\"uiMotion\"\n [animate.enter]=\"scrimMotion.enter()\"\n [animate.leave]=\"scrimMotion.leave()\"\n ></div>\n }\n\n <!-- Dialog: Escape/Tab handled on the container, focus lives in the\n content (CDK focus-trap). -->\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -->\n <div\n class=\"ui-modal-frame\"\n [class._modal]=\"modal()\"\n [class._contained]=\"contained()\"\n [style.align-items]=\"alignItems()\"\n [style.justify-content]=\"justifyContent()\"\n [style.z-index]=\"zIndex()\"\n [uiMotion]=\"motion()\"\n [motionDisabled]=\"motionDisabled()\"\n #frameMotion=\"uiMotion\"\n [animate.enter]=\"frameMotion.enter()\"\n [animate.leave]=\"frameMotion.leave()\"\n (pointerdown)=\"onMaskPointerdown($event)\"\n (keydown)=\"onKeydown($event)\"\n >\n <div\n #dialog\n [class]=\"dialogClasses()\"\n [attr.data-modal-uid]=\"uid\"\n [attr.role]=\"role()\"\n [attr.aria-modal]=\"modal() ? 'true' : null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n tabindex=\"-1\"\n [style]=\"resolvedDialogStyle()\"\n [style.translate]=\"dragTranslate()\"\n [cdkTrapFocus]=\"focusTrap()\"\n [cdkTrapFocusAutoCapture]=\"focusOnShow()\"\n >\n @if (showHeader()) {\n <div\n class=\"ui-modal-header\"\n [class._draggable]=\"headerDraggable()\"\n (pointerdown)=\"onHeaderPointerdown($event)\"\n >\n <div [attr.id]=\"titleId\" class=\"ui-modal-title\">\n @if (headerTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ header() }}\n }\n </div>\n\n <div class=\"ui-modal-header-actions\">\n @if (maximizable()) {\n <button\n type=\"button\"\n class=\"ui-modal-action\"\n [attr.aria-label]=\"maximizeAriaLabel()\"\n [attr.aria-pressed]=\"maximized()\"\n (click)=\"toggleMaximize()\"\n >\n <ui-icon [name]=\"maximized() ? minimizeIcon() : maximizeIcon()\" size=\"sm\" />\n </button>\n }\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-modal-action\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"close()\"\n >\n @if (closeIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n }\n </button>\n }\n </div>\n </div>\n }\n\n <!-- Body: long content scrolls inside this region. It becomes focusable ONLY once it\n actually overflows AND holds nothing focusable of its own: a keyboard user must be able\n to reach the scrollbar (the footer buttons sit outside this region), but an unconditional\n tab stop would insert itself into the focus order of every dialog. -->\n <div #contentEl class=\"ui-modal-content\" [attr.tabindex]=\"contentNeedsFocus() ? 0 : null\">\n <ng-content />\n </div>\n\n @if (footerTemplate(); as tpl) {\n <div class=\"ui-modal-footer\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n\n @if (showResizeHandle()) {\n <!-- Corner resize grip (pointer only, like a native textarea corner). -->\n <span\n class=\"ui-modal-resize-handle\"\n aria-hidden=\"true\"\n (pointerdown)=\"onResizeStart($event)\"\n ></span>\n }\n </div>\n </div>\n}\n","/*\n * Public API Surface of ui-kit/ui-modal\n */\n\nexport * from './lib/ui-modal';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAsCA;AACA,MAAM,kBAAkB,GAAG,IAAI;AAE/B;AACA,IAAI,SAAS,GAAG,CAAC;AACjB;AACA,IAAI,OAAO,GAAG,CAAC;AAEf;;;;;;;;;;;;;;;;;;;;;;;;AAwBG;MAOU,OAAO,CAAA;AAyNlB,IAAA,WAAA,GAAA;;QAvNA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK;oFAAC;;AAGtB,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK;8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A,CAEL,WAAW,iVAcpB,WAAW,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAMZ,QAAQ,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAGT,OAAO,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEhMxE;;AAEG;;ACFH;;AAEG;;"}
|
|
@@ -292,10 +292,10 @@ class UiPopover {
|
|
|
292
292
|
const focusable = panelEl.querySelector(FOCUSABLE_SELECTOR);
|
|
293
293
|
(focusable ?? panelEl).focus();
|
|
294
294
|
}
|
|
295
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
296
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.
|
|
295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiPopover, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
296
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiPopover, isStandalone: true, selector: "ui-popover", inputs: { dismissable: { classPropertyName: "dismissable", publicName: "dismissable", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, showArrow: { classPropertyName: "showArrow", publicName: "showArrow", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, focusOnShow: { classPropertyName: "focusOnShow", publicName: "focusOnShow", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { shown: "shown", hidden: "hidden" }, viewQueries: [{ propertyName: "panel", first: true, predicate: ["panel"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin()!\"\n [cdkConnectedOverlayOpen]=\"visible()\"\n [cdkConnectedOverlayPositions]=\"positions()\"\n [cdkConnectedOverlayHasBackdrop]=\"false\"\n [cdkConnectedOverlayPush]=\"false\"\n [cdkConnectedOverlayFlexibleDimensions]=\"false\"\n [cdkConnectedOverlayViewportMargin]=\"8\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (positionChange)=\"onPositionChange($event)\"\n (detach)=\"hide()\"\n>\n <div\n #panel\n [class]=\"panelClasses()\"\n [attr.id]=\"panelId\"\n [attr.role]=\"role()\"\n [attr.aria-modal]=\"modal() ? 'true' : null\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n tabindex=\"-1\"\n [cdkTrapFocus]=\"modal()\"\n [uiMotion]=\"'zoom'\"\n [motionDisabled]=\"!motion()\"\n #panelMotion=\"uiMotion\"\n motionOnInsert\n (keydown.escape)=\"onEscape($event)\"\n >\n @if (showArrow()) {\n <span class=\"ui-popover-arrow\" aria-hidden=\"true\"></span>\n }\n <div class=\"ui-popover-content\">\n <ng-content />\n </div>\n </div>\n</ng-template>\n", styles: [".ui-popover{position:relative;display:block;width:max-content;max-width:var(--ui-popover-max-width, 20rem);color:var(--ui-popover-color, var(--global-text-default));box-sizing:border-box;border:var(--ui-control-stroke-width, var(--stroke-default)) solid var(--ui-overlay-stroke, var(--ui-popover-stroke, var(--global-border-default)));border-radius:var(--ui-overlay-radius, var(--ui-overlay-panel-radius, var(--radius-default)));background-color:var(--ui-overlay-surface, var(--ui-popover-surface, var(--global-background-default)));box-shadow:var(--ui-overlay-shadow, var(--ui-overlay-panel-shadow, var(--shadow-default-md)));font-family:var(--ui-overlay-panel-font-family, var(--fontfamily-base));overflow:visible}.ui-popover:focus{outline:none}.ui-popover-content{box-sizing:border-box;padding:var(--ui-popover-padding, var(--units-md));max-height:var(--ui-popover-max-height);overflow:auto;border-radius:inherit}.ui-popover-arrow{position:absolute;width:var(--ui-popover-arrow-size, .5rem);height:var(--ui-popover-arrow-size, .5rem);background-color:var(--ui-popover-surface, var(--global-background-default));border:var(--ui-control-stroke-width, var(--stroke-default)) solid var(--ui-popover-stroke, var(--global-border-default));rotate:45deg}.ui-popover._no-arrow .ui-popover-arrow{display:none}.ui-popover._top .ui-popover-arrow{bottom:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));border-top:0;border-left:0}.ui-popover._bottom .ui-popover-arrow{top:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));border-right:0;border-bottom:0}.ui-popover._left .ui-popover-arrow{right:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));border-bottom:0;border-left:0}.ui-popover._right .ui-popover-arrow{left:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));border-top:0;border-right:0}\n"], dependencies: [{ kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i1.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation", "cdkConnectedOverlayUsePopover", "cdkConnectedOverlayMatchWidth", "cdkConnectedOverlay"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "directive", type: UiMotion, selector: "[uiMotion]", inputs: ["uiMotion", "motionDuration", "motionDelay", "motionEasing", "motionEnterEasing", "motionLeaveEasing", "motionDistance", "motionScale", "motionDisabled", "motionOnInsert"], exportAs: ["uiMotion"] }] }); }
|
|
297
297
|
}
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiPopover, decorators: [{
|
|
299
299
|
type: Component,
|
|
300
300
|
args: [{ selector: 'ui-popover', imports: [OverlayModule, A11yModule, UiMotion], template: "<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin()!\"\n [cdkConnectedOverlayOpen]=\"visible()\"\n [cdkConnectedOverlayPositions]=\"positions()\"\n [cdkConnectedOverlayHasBackdrop]=\"false\"\n [cdkConnectedOverlayPush]=\"false\"\n [cdkConnectedOverlayFlexibleDimensions]=\"false\"\n [cdkConnectedOverlayViewportMargin]=\"8\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (positionChange)=\"onPositionChange($event)\"\n (detach)=\"hide()\"\n>\n <div\n #panel\n [class]=\"panelClasses()\"\n [attr.id]=\"panelId\"\n [attr.role]=\"role()\"\n [attr.aria-modal]=\"modal() ? 'true' : null\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n tabindex=\"-1\"\n [cdkTrapFocus]=\"modal()\"\n [uiMotion]=\"'zoom'\"\n [motionDisabled]=\"!motion()\"\n #panelMotion=\"uiMotion\"\n motionOnInsert\n (keydown.escape)=\"onEscape($event)\"\n >\n @if (showArrow()) {\n <span class=\"ui-popover-arrow\" aria-hidden=\"true\"></span>\n }\n <div class=\"ui-popover-content\">\n <ng-content />\n </div>\n </div>\n</ng-template>\n", styles: [".ui-popover{position:relative;display:block;width:max-content;max-width:var(--ui-popover-max-width, 20rem);color:var(--ui-popover-color, var(--global-text-default));box-sizing:border-box;border:var(--ui-control-stroke-width, var(--stroke-default)) solid var(--ui-overlay-stroke, var(--ui-popover-stroke, var(--global-border-default)));border-radius:var(--ui-overlay-radius, var(--ui-overlay-panel-radius, var(--radius-default)));background-color:var(--ui-overlay-surface, var(--ui-popover-surface, var(--global-background-default)));box-shadow:var(--ui-overlay-shadow, var(--ui-overlay-panel-shadow, var(--shadow-default-md)));font-family:var(--ui-overlay-panel-font-family, var(--fontfamily-base));overflow:visible}.ui-popover:focus{outline:none}.ui-popover-content{box-sizing:border-box;padding:var(--ui-popover-padding, var(--units-md));max-height:var(--ui-popover-max-height);overflow:auto;border-radius:inherit}.ui-popover-arrow{position:absolute;width:var(--ui-popover-arrow-size, .5rem);height:var(--ui-popover-arrow-size, .5rem);background-color:var(--ui-popover-surface, var(--global-background-default));border:var(--ui-control-stroke-width, var(--stroke-default)) solid var(--ui-popover-stroke, var(--global-border-default));rotate:45deg}.ui-popover._no-arrow .ui-popover-arrow{display:none}.ui-popover._top .ui-popover-arrow{bottom:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));border-top:0;border-left:0}.ui-popover._bottom .ui-popover-arrow{top:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));border-right:0;border-bottom:0}.ui-popover._left .ui-popover-arrow{right:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));border-bottom:0;border-left:0}.ui-popover._right .ui-popover-arrow{left:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-popover-arrow-size, .5rem) / 2));border-top:0;border-right:0}\n"] }]
|
|
301
301
|
}], ctorParameters: () => [], propDecorators: { dismissable: [{ type: i0.Input, args: [{ isSignal: true, alias: "dismissable", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], showArrow: [{ type: i0.Input, args: [{ isSignal: true, alias: "showArrow", required: false }] }], modal: [{ type: i0.Input, args: [{ isSignal: true, alias: "modal", required: false }] }], role: [{ type: i0.Input, args: [{ isSignal: true, alias: "role", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], focusOnShow: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusOnShow", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], motion: [{ type: i0.Input, args: [{ isSignal: true, alias: "motion", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], shown: [{ type: i0.Output, args: ["shown"] }], hidden: [{ type: i0.Output, args: ["hidden"] }], panel: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }] } });
|
|
@@ -119,10 +119,10 @@ class UiMotion {
|
|
|
119
119
|
}, /* @ts-ignore */
|
|
120
120
|
...(ngDevMode ? [{ debugName: "_scale" }] : /* istanbul ignore next */ []));
|
|
121
121
|
}
|
|
122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
123
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiMotion, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
123
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.7", type: UiMotion, isStandalone: true, selector: "[uiMotion]", inputs: { preset: { classPropertyName: "preset", publicName: "uiMotion", isSignal: true, isRequired: true, transformFunction: null }, motionDuration: { classPropertyName: "motionDuration", publicName: "motionDuration", isSignal: true, isRequired: false, transformFunction: null }, motionDelay: { classPropertyName: "motionDelay", publicName: "motionDelay", isSignal: true, isRequired: false, transformFunction: null }, motionEasing: { classPropertyName: "motionEasing", publicName: "motionEasing", isSignal: true, isRequired: false, transformFunction: null }, motionEnterEasing: { classPropertyName: "motionEnterEasing", publicName: "motionEnterEasing", isSignal: true, isRequired: false, transformFunction: null }, motionLeaveEasing: { classPropertyName: "motionLeaveEasing", publicName: "motionLeaveEasing", isSignal: true, isRequired: false, transformFunction: null }, motionDistance: { classPropertyName: "motionDistance", publicName: "motionDistance", isSignal: true, isRequired: false, transformFunction: null }, motionScale: { classPropertyName: "motionScale", publicName: "motionScale", isSignal: true, isRequired: false, transformFunction: null }, motionDisabled: { classPropertyName: "motionDisabled", publicName: "motionDisabled", isSignal: true, isRequired: false, transformFunction: null }, motionOnInsert: { classPropertyName: "motionOnInsert", publicName: "motionOnInsert", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "_insertClass()", "style.--ui-motion-duration": "_duration()", "style.--ui-motion-delay": "_delay()", "style.--ui-motion-easing-enter": "_enterEasing()", "style.--ui-motion-easing-leave": "_leaveEasing()", "style.--ui-motion-distance": "_distance()", "style.--ui-motion-scale": "_scale()" } }, exportAs: ["uiMotion"], ngImport: i0 }); }
|
|
124
124
|
}
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiMotion, decorators: [{
|
|
126
126
|
type: Directive,
|
|
127
127
|
args: [{
|
|
128
128
|
selector: '[uiMotion]',
|
|
@@ -143,10 +143,10 @@ class UiBottomTab {
|
|
|
143
143
|
this.tabClick.emit(event);
|
|
144
144
|
this.bar.updateValue(this.value(), event);
|
|
145
145
|
}
|
|
146
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
147
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.
|
|
146
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomTab, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
147
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiBottomTab, isStandalone: true, selector: "ui-bottom-tab", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, activeIcon: { classPropertyName: "activeIcon", publicName: "activeIcon", isSignal: true, isRequired: false, transformFunction: null }, iconType: { classPropertyName: "iconType", publicName: "iconType", isSignal: true, isRequired: false, transformFunction: null }, activeIconType: { classPropertyName: "activeIconType", publicName: "activeIconType", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ripple: { classPropertyName: "ripple", publicName: "ripple", isSignal: true, isRequired: false, transformFunction: null }, href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, routerLink: { classPropertyName: "routerLink", publicName: "routerLink", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, rel: { classPropertyName: "rel", publicName: "rel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tabClick: "tabClick" }, host: { classAttribute: "ui-bottom-tab-host" }, viewQueries: [{ propertyName: "controlEl", first: true, predicate: ["control"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (isLink()) {\n @if (useRouterLink()) {\n <a\n #control\n [class]=\"classes()\"\n [routerLink]=\"disabled() ? null : routerLink()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"computedRel()\"\n [attr.tabindex]=\"linkTabindex()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </a>\n } @else {\n <a\n #control\n [class]=\"classes()\"\n [attr.href]=\"disabled() ? null : href()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"computedRel()\"\n [attr.tabindex]=\"linkTabindex()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </a>\n }\n} @else {\n <button\n #control\n type=\"button\"\n [class]=\"classes()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </button>\n}\n\n<ng-template #inner>\n <span class=\"ui-bottom-tab-icon-box\">\n @if (resolvedIcon(); as name) {\n <ui-icon\n class=\"ui-bottom-tab-icon\"\n [name]=\"name\"\n [type]=\"resolvedIconType()\"\n size=\"default\"\n />\n }\n <!-- Adornment layer over the icon (notification badge, dot\u2026): projected content,\n never hit-tested, so a tap always reaches the control. -->\n <span class=\"ui-bottom-tab-adornment\"><ng-content /></span>\n </span>\n @if (labelVisible()) {\n <span class=\"ui-bottom-tab-label\">{{ label() }}</span>\n }\n</ng-template>\n", styles: [":host{display:contents}.ui-bottom-tab{display:flex;flex:1 1 0;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:var(--ui-bottom-tab-bar-item-min-height, 3.5rem);margin:0;padding:var(--ui-bottom-tab-bar-item-padding-y, var(--units-md)) var(--ui-bottom-tab-bar-item-padding-x, var(--units-xs));border:0;border-radius:var(--ui-bottom-tab-bar-item-radius, 0);gap:var(--ui-bottom-tab-bar-item-gap, var(--units-sm));background-color:var(--ui-bottom-tab-bar-tab-surface, var(--navigation-high-surface-default));color:var(--ui-bottom-tab-bar-tab-color, var(--navigation-high-content-default));font-family:var(--ui-bottom-tab-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-bottom-tab-bar-label-weight, var(--weight-regular));font-size:var(--ui-bottom-tab-bar-label-font-size, var(--size-typography-text-sm));line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-bottom-tab:hover:not(:disabled,[aria-disabled=true]){background-color:var(--ui-bottom-tab-bar-tab-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-bottom-tab-bar-tab-color-hover, var(--navigation-high-content-hover))}.ui-bottom-tab:focus-visible{outline:none;background-color:var(--ui-bottom-tab-bar-tab-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-bottom-tab-bar-tab-color-focus, var(--navigation-high-content-focused));box-shadow:inset 0 0 0 var(--ui-bottom-tab-bar-item-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-tab-bar-tab-focus-ring-color, var(--global-border-focus))}.ui-bottom-tab:active:not(:disabled,[aria-disabled=true]){background-color:var(--ui-bottom-tab-bar-tab-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-bottom-tab-bar-tab-color-pressed, var(--navigation-high-content-pressed))}.ui-bottom-tab:disabled,.ui-bottom-tab._disabled{background-color:var(--ui-bottom-tab-bar-tab-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-bottom-tab-bar-tab-color-disabled, var(--navigation-high-content-disabled));cursor:not-allowed}.ui-bottom-tab._active{background-color:var(--ui-bottom-tab-bar-tab-surface-active, var(--navigation-high-surface-active));color:var(--ui-bottom-tab-bar-tab-color-active, var(--navigation-high-content-active))}.ui-bottom-tab-icon-box{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center}.ui-bottom-tab-icon{--ui-icon-size: var(--ui-bottom-tab-bar-icon-size, var(--size-typography-icon-default))}.ui-bottom-tab-adornment{position:absolute;top:var(--ui-bottom-tab-bar-adornment-offset, -.375rem);left:100%;display:flex;align-items:center;transform:translate(var(--ui-bottom-tab-bar-adornment-offset, -.375rem));pointer-events:none}.ui-bottom-tab-label{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }] }); }
|
|
148
148
|
}
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomTab, decorators: [{
|
|
150
150
|
type: Component,
|
|
151
151
|
args: [{ selector: 'ui-bottom-tab', imports: [UiIcon, NgTemplateOutlet, RouterLink], host: { class: 'ui-bottom-tab-host' }, template: "@if (isLink()) {\n @if (useRouterLink()) {\n <a\n #control\n [class]=\"classes()\"\n [routerLink]=\"disabled() ? null : routerLink()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"computedRel()\"\n [attr.tabindex]=\"linkTabindex()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </a>\n } @else {\n <a\n #control\n [class]=\"classes()\"\n [attr.href]=\"disabled() ? null : href()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"computedRel()\"\n [attr.tabindex]=\"linkTabindex()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </a>\n }\n} @else {\n <button\n #control\n type=\"button\"\n [class]=\"classes()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </button>\n}\n\n<ng-template #inner>\n <span class=\"ui-bottom-tab-icon-box\">\n @if (resolvedIcon(); as name) {\n <ui-icon\n class=\"ui-bottom-tab-icon\"\n [name]=\"name\"\n [type]=\"resolvedIconType()\"\n size=\"default\"\n />\n }\n <!-- Adornment layer over the icon (notification badge, dot\u2026): projected content,\n never hit-tested, so a tap always reaches the control. -->\n <span class=\"ui-bottom-tab-adornment\"><ng-content /></span>\n </span>\n @if (labelVisible()) {\n <span class=\"ui-bottom-tab-label\">{{ label() }}</span>\n }\n</ng-template>\n", styles: [":host{display:contents}.ui-bottom-tab{display:flex;flex:1 1 0;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:var(--ui-bottom-tab-bar-item-min-height, 3.5rem);margin:0;padding:var(--ui-bottom-tab-bar-item-padding-y, var(--units-md)) var(--ui-bottom-tab-bar-item-padding-x, var(--units-xs));border:0;border-radius:var(--ui-bottom-tab-bar-item-radius, 0);gap:var(--ui-bottom-tab-bar-item-gap, var(--units-sm));background-color:var(--ui-bottom-tab-bar-tab-surface, var(--navigation-high-surface-default));color:var(--ui-bottom-tab-bar-tab-color, var(--navigation-high-content-default));font-family:var(--ui-bottom-tab-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-bottom-tab-bar-label-weight, var(--weight-regular));font-size:var(--ui-bottom-tab-bar-label-font-size, var(--size-typography-text-sm));line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-bottom-tab:hover:not(:disabled,[aria-disabled=true]){background-color:var(--ui-bottom-tab-bar-tab-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-bottom-tab-bar-tab-color-hover, var(--navigation-high-content-hover))}.ui-bottom-tab:focus-visible{outline:none;background-color:var(--ui-bottom-tab-bar-tab-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-bottom-tab-bar-tab-color-focus, var(--navigation-high-content-focused));box-shadow:inset 0 0 0 var(--ui-bottom-tab-bar-item-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-tab-bar-tab-focus-ring-color, var(--global-border-focus))}.ui-bottom-tab:active:not(:disabled,[aria-disabled=true]){background-color:var(--ui-bottom-tab-bar-tab-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-bottom-tab-bar-tab-color-pressed, var(--navigation-high-content-pressed))}.ui-bottom-tab:disabled,.ui-bottom-tab._disabled{background-color:var(--ui-bottom-tab-bar-tab-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-bottom-tab-bar-tab-color-disabled, var(--navigation-high-content-disabled));cursor:not-allowed}.ui-bottom-tab._active{background-color:var(--ui-bottom-tab-bar-tab-surface-active, var(--navigation-high-surface-active));color:var(--ui-bottom-tab-bar-tab-color-active, var(--navigation-high-content-active))}.ui-bottom-tab-icon-box{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center}.ui-bottom-tab-icon{--ui-icon-size: var(--ui-bottom-tab-bar-icon-size, var(--size-typography-icon-default))}.ui-bottom-tab-adornment{position:absolute;top:var(--ui-bottom-tab-bar-adornment-offset, -.375rem);left:100%;display:flex;align-items:center;transform:translate(var(--ui-bottom-tab-bar-adornment-offset, -.375rem));pointer-events:none}.ui-bottom-tab-label{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"] }]
|
|
152
152
|
}], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], activeIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeIcon", required: false }] }], iconType: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconType", required: false }] }], activeIconType: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeIconType", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ripple: [{ type: i0.Input, args: [{ isSignal: true, alias: "ripple", required: false }] }], href: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }], routerLink: [{ type: i0.Input, args: [{ isSignal: true, alias: "routerLink", required: false }] }], target: [{ type: i0.Input, args: [{ isSignal: true, alias: "target", required: false }] }], rel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rel", required: false }] }], tabClick: [{ type: i0.Output, args: ["tabClick"] }], controlEl: [{ type: i0.ViewChild, args: ['control', { isSignal: true }] }] } });
|
|
@@ -202,8 +202,8 @@ class UiBottomTabAction {
|
|
|
202
202
|
return;
|
|
203
203
|
this.actionClick.emit(event);
|
|
204
204
|
}
|
|
205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
206
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.
|
|
205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomTabAction, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
206
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.7", type: UiBottomTabAction, isStandalone: true, selector: "ui-bottom-tab-action", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconType: { classPropertyName: "iconType", publicName: "iconType", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ripple: { classPropertyName: "ripple", publicName: "ripple", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { actionClick: "actionClick" }, host: { classAttribute: "ui-bottom-tab-action-host" }, viewQueries: [{ propertyName: "controlEl", first: true, predicate: ["control"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
207
207
|
<button
|
|
208
208
|
#control
|
|
209
209
|
type="button"
|
|
@@ -217,7 +217,7 @@ class UiBottomTabAction {
|
|
|
217
217
|
</button>
|
|
218
218
|
`, isInline: true, styles: [":host{display:contents}.ui-bottom-tab-action{display:inline-flex;flex:none;align-items:center;justify-content:center;align-self:center;box-sizing:border-box;width:var(--ui-bottom-tab-bar-action-size, 4rem);height:var(--ui-bottom-tab-bar-action-size, 4rem);margin:0 var(--ui-bottom-tab-bar-action-gap, var(--units-2xs));padding:0;border:0;border-radius:var(--ui-bottom-tab-bar-action-radius, var(--radius-full));transform:translateY(calc(-1 * var(--ui-bottom-tab-bar-action-offset-y, 1.25rem)));box-shadow:var(--ui-bottom-tab-bar-action-shadow, var(--shadow-default-md));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-bottom-tab-action:focus-visible{outline:none;box-shadow:var(--ui-bottom-tab-bar-action-shadow, var(--shadow-default-md)),0 0 0 var(--ui-bottom-tab-bar-action-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-tab-bar-action-focus-ring-color, var(--global-border-focus))}.ui-bottom-tab-action:disabled{box-shadow:none;cursor:not-allowed}.ui-bottom-tab-action._high{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-high-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-high-content-default))}.ui-bottom-tab-action._high:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-high-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-high-content-hover))}.ui-bottom-tab-action._high:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-high-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-high-content-focused))}.ui-bottom-tab-action._high:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-high-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-high-content-pressed))}.ui-bottom-tab-action._high:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-high-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-high-content-disabled))}.ui-bottom-tab-action._low{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-low-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-low-content-default))}.ui-bottom-tab-action._low:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-low-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-low-content-hover))}.ui-bottom-tab-action._low:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-low-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-low-content-focused))}.ui-bottom-tab-action._low:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-low-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-low-content-pressed))}.ui-bottom-tab-action._low:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-low-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-low-content-disabled))}.ui-bottom-tab-action._success{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-success-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-success-content-default))}.ui-bottom-tab-action._success:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-success-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-success-content-hover))}.ui-bottom-tab-action._success:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-success-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-success-content-focused))}.ui-bottom-tab-action._success:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-success-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-success-content-pressed))}.ui-bottom-tab-action._success:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-success-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-success-content-disabled))}.ui-bottom-tab-action._warning{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-warning-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-warning-content-default))}.ui-bottom-tab-action._warning:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-warning-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-warning-content-hover))}.ui-bottom-tab-action._warning:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-warning-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-warning-content-focused))}.ui-bottom-tab-action._warning:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-warning-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-warning-content-pressed))}.ui-bottom-tab-action._warning:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-warning-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-warning-content-disabled))}.ui-bottom-tab-action._error{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-error-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-error-content-default))}.ui-bottom-tab-action._error:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-error-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-error-content-hover))}.ui-bottom-tab-action._error:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-error-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-error-content-focused))}.ui-bottom-tab-action._error:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-error-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-error-content-pressed))}.ui-bottom-tab-action._error:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-error-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-error-content-disabled))}.ui-bottom-tab-action-icon{--ui-icon-size: var(--ui-bottom-tab-bar-action-icon-size, var(--size-typography-icon-xl))}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
219
219
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomTabAction, decorators: [{
|
|
221
221
|
type: Component,
|
|
222
222
|
args: [{ selector: 'ui-bottom-tab-action', imports: [UiIcon], template: `
|
|
223
223
|
<button
|
|
@@ -342,14 +342,14 @@ class UiBottomTabBar {
|
|
|
342
342
|
}
|
|
343
343
|
controls[pos].focus();
|
|
344
344
|
}
|
|
345
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
346
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.
|
|
345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomTabBar, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
346
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.7", type: UiBottomTabBar, isStandalone: true, selector: "ui-bottom-tab-bar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, showLabels: { classPropertyName: "showLabels", publicName: "showLabels", isSignal: true, isRequired: false, transformFunction: null }, safeArea: { classPropertyName: "safeArea", publicName: "safeArea", isSignal: true, isRequired: false, transformFunction: null }, contained: { classPropertyName: "contained", publicName: "contained", isSignal: true, isRequired: false, transformFunction: null }, ripple: { classPropertyName: "ripple", publicName: "ripple", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", tabChange: "tabChange" }, host: { listeners: { "keydown": "onKeydown($event)" } }, viewQueries: [{ propertyName: "navEl", first: true, predicate: ["nav"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
347
347
|
<nav #nav [class]="classes()" [attr.aria-label]="ariaLabel()">
|
|
348
348
|
<ng-content />
|
|
349
349
|
</nav>
|
|
350
350
|
`, isInline: true, styles: [":host{display:contents}.ui-bottom-tab-bar{position:fixed;right:0;bottom:0;left:0;z-index:var(--ui-bottom-tab-bar-z-index, 100);display:flex;align-items:center;box-sizing:border-box;gap:var(--ui-bottom-tab-bar-gap, 0);min-height:calc(var(--ui-bottom-tab-bar-min-height, 3.5rem) + var(--ui-bottom-tab-bar-safe-area-offset, env(safe-area-inset-bottom, 0px)));padding:0 var(--ui-bottom-tab-bar-padding-x, 0) var(--ui-bottom-tab-bar-safe-area-offset, env(safe-area-inset-bottom, 0px));border-top:var(--ui-bottom-tab-bar-stroke-width, var(--stroke-sm)) solid var(--ui-bottom-tab-bar-stroke, var(--global-border-default));background-color:var(--ui-bottom-tab-bar-surface, var(--global-background-default));box-shadow:var(--ui-bottom-tab-bar-shadow, none);touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;overflow:visible}.ui-bottom-tab-bar._contained{position:absolute}.ui-bottom-tab-bar._no-safe-area{min-height:var(--ui-bottom-tab-bar-min-height, 3.5rem);padding-bottom:0}@media print{.ui-bottom-tab-bar{display:none}}\n"] }); }
|
|
351
351
|
}
|
|
352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomTabBar, decorators: [{
|
|
353
353
|
type: Component,
|
|
354
354
|
args: [{ selector: 'ui-bottom-tab-bar', template: `
|
|
355
355
|
<nav #nav [class]="classes()" [attr.aria-label]="ariaLabel()">
|
|
@@ -175,10 +175,10 @@ class UiBreadcrumb {
|
|
|
175
175
|
item.command?.({ originalEvent: event, item });
|
|
176
176
|
this.itemClick.emit({ originalEvent: event, item });
|
|
177
177
|
}
|
|
178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
179
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiBreadcrumb, isStandalone: true, selector: "ui-breadcrumb", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, separator: { classPropertyName: "separator", publicName: "separator", isSignal: true, isRequired: false, transformFunction: null }, maxItems: { classPropertyName: "maxItems", publicName: "maxItems", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ellipsisAriaLabel: { classPropertyName: "ellipsisAriaLabel", publicName: "ellipsisAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { properties: { "style.display": "'block'" } }, queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "separatorTemplate", first: true, predicate: ["separator"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "listEl", first: true, predicate: ["list"], descendants: true, isSignal: true }], ngImport: i0, template: "<nav [class]=\"classes()\" [attr.aria-label]=\"ariaLabel()\">\n <ol #list class=\"ui-breadcrumb-list\">\n @for (entry of entries(); track entry.key) {\n @if (entry.kind === 'ellipsis') {\n <li class=\"ui-breadcrumb-item\">\n <button\n type=\"button\"\n class=\"ui-breadcrumb-ellipsis\"\n [attr.aria-label]=\"ellipsisAriaLabel()\"\n aria-expanded=\"false\"\n (click)=\"expandOverflow()\"\n >\n <ui-icon name=\"ellipsis\" [size]=\"iconSize()\" />\n </button>\n </li>\n } @else {\n @let item = entry.item!;\n <li [class]=\"itemClasses(item)\">\n @if (itemTemplate()) {\n <ng-container\n [ngTemplateOutlet]=\"itemTemplate()!\"\n [ngTemplateOutletContext]=\"{ $implicit: item, last: entry.last }\"\n />\n } @else if (isRouterCrumb(item)) {\n <a\n class=\"ui-breadcrumb-link\"\n [routerLink]=\"item.routerLink!\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"item.fragment\"\n [target]=\"item.target\"\n [attr.rel]=\"relFor(item)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n (click)=\"onItemClick($event, item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (isHrefCrumb(item)) {\n <a\n class=\"ui-breadcrumb-link\"\n [href]=\"item.url!\"\n [attr.target]=\"item.target\"\n [attr.rel]=\"relFor(item)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n (click)=\"onItemClick($event, item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (isActionCrumb(item)) {\n <button\n type=\"button\"\n class=\"ui-breadcrumb-link\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n (click)=\"onItemClick($event, item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n } @else {\n <!-- A disabled crumb always lands here (every isXxxCrumb() guard requires\n !item.disabled), and only a CSS class marked it as such: assistive tech had no\n way to know. `role=\"link\"` + `aria-disabled` states it \u2014 the pattern for a link\n that would exist were it enabled. The role is required for the attribute to be\n legal at all (aria-disabled is not global, a role-less span rejects it), and it\n is what makes WCAG 1.4.3's exemption for inactive components apply to the\n contrast of its faded label. -->\n <span\n class=\"ui-breadcrumb-text\"\n [class._current]=\"entry.last\"\n [class._disabled]=\"item.disabled ?? false\"\n [attr.role]=\"item.disabled ? 'link' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </span>\n }\n </li>\n }\n\n @if (!$last) {\n <li class=\"ui-breadcrumb-separator\" aria-hidden=\"true\">\n @if (separatorTemplate()) {\n <ng-container [ngTemplateOutlet]=\"separatorTemplate()!\" />\n } @else {\n {{ separator() }}\n }\n </li>\n }\n }\n </ol>\n</nav>\n\n<ng-template #crumb let-item>\n @if (item.icon) {\n <ui-icon class=\"ui-breadcrumb-icon\" [name]=\"item.icon\" [size]=\"iconSize()\" />\n }\n @if (item.label) {\n <span class=\"ui-breadcrumb-label\">{{ item.label }}</span>\n }\n</ng-template>\n", styles: [".ui-breadcrumb{display:block;font-family:var(--ui-breadcrumb-font-family, var(--fontfamily-base))}.ui-breadcrumb-list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-breadcrumb-item-gap, var(--spacing-default));margin:0;padding:0;list-style:none;font-size:var(--ui-breadcrumb-font-size, var(--size-typography-text-default))}.ui-breadcrumb._small .ui-breadcrumb-list{font-size:var(--ui-breadcrumb-font-size-small, var(--size-typography-text-md))}.ui-breadcrumb-item{display:inline-flex;align-items:center;min-width:0}.ui-breadcrumb-link{display:inline-flex;align-items:center;gap:var(--ui-breadcrumb-content-gap, var(--units-sm));min-width:0;margin:0;padding:0;border:none;background:none;font:inherit;font-weight:var(--ui-breadcrumb-weight, var(--weight-bold));line-height:var(--ui-breadcrumb-line-height, 1.4);color:var(--ui-breadcrumb-link-color, var(--global-text-muted));text-align:inherit;text-decoration:none;text-decoration-thickness:from-font;text-underline-offset:.15em;border-radius:var(--ui-breadcrumb-radius, var(--radius-2xs));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),text-decoration-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-breadcrumb-link:hover{color:var(--ui-breadcrumb-link-color-hover, var(--actions-low-content-hover));text-decoration:underline}.ui-breadcrumb-link:focus-visible{outline:none;color:var(--ui-breadcrumb-link-color-focus, var(--actions-low-content-focused));text-decoration:underline;box-shadow:0 0 0 var(--ui-breadcrumb-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-breadcrumb-link-color-focus, var(--actions-low-content-focused))}.ui-breadcrumb-link:active{color:var(--ui-breadcrumb-link-color-pressed, var(--actions-low-content-pressed))}.ui-breadcrumb-text{display:inline-flex;align-items:center;gap:var(--ui-breadcrumb-content-gap, var(--units-sm));min-width:0;font-weight:var(--ui-breadcrumb-weight, var(--weight-bold));line-height:var(--ui-breadcrumb-line-height, 1.4);color:var(--ui-breadcrumb-text-color, var(--global-text-default))}.ui-breadcrumb-text._disabled{color:var(--ui-breadcrumb-text-color-disabled, var(--actions-low-content-disabled));cursor:not-allowed}.ui-breadcrumb-icon{line-height:0}.ui-breadcrumb-separator{display:inline-flex;align-items:center;color:var(--ui-breadcrumb-separator-color, var(--global-text-default));-webkit-user-select:none;user-select:none}.ui-breadcrumb-ellipsis{display:inline-flex;align-items:center;justify-content:center;padding:0;border:none;background:none;line-height:0;color:var(--ui-breadcrumb-ellipsis-color, var(--global-text-default));border-radius:var(--ui-breadcrumb-radius, var(--radius-2xs));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-breadcrumb-ellipsis:hover{color:var(--ui-breadcrumb-ellipsis-color-hover, var(--actions-low-content-hover))}.ui-breadcrumb-ellipsis:focus-visible{outline:none;color:var(--ui-breadcrumb-ellipsis-color-focus, var(--actions-low-content-focused));box-shadow:0 0 0 var(--ui-breadcrumb-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-breadcrumb-ellipsis-color-focus, var(--actions-low-content-focused))}.ui-breadcrumb-ellipsis:active{color:var(--ui-breadcrumb-ellipsis-color-pressed, var(--actions-low-content-pressed))}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBreadcrumb, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
179
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiBreadcrumb, isStandalone: true, selector: "ui-breadcrumb", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, separator: { classPropertyName: "separator", publicName: "separator", isSignal: true, isRequired: false, transformFunction: null }, maxItems: { classPropertyName: "maxItems", publicName: "maxItems", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ellipsisAriaLabel: { classPropertyName: "ellipsisAriaLabel", publicName: "ellipsisAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { properties: { "style.display": "'block'" } }, queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "separatorTemplate", first: true, predicate: ["separator"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "listEl", first: true, predicate: ["list"], descendants: true, isSignal: true }], ngImport: i0, template: "<nav [class]=\"classes()\" [attr.aria-label]=\"ariaLabel()\">\n <ol #list class=\"ui-breadcrumb-list\">\n @for (entry of entries(); track entry.key) {\n @if (entry.kind === 'ellipsis') {\n <li class=\"ui-breadcrumb-item\">\n <button\n type=\"button\"\n class=\"ui-breadcrumb-ellipsis\"\n [attr.aria-label]=\"ellipsisAriaLabel()\"\n aria-expanded=\"false\"\n (click)=\"expandOverflow()\"\n >\n <ui-icon name=\"ellipsis\" [size]=\"iconSize()\" />\n </button>\n </li>\n } @else {\n @let item = entry.item!;\n <li [class]=\"itemClasses(item)\">\n @if (itemTemplate()) {\n <ng-container\n [ngTemplateOutlet]=\"itemTemplate()!\"\n [ngTemplateOutletContext]=\"{ $implicit: item, last: entry.last }\"\n />\n } @else if (isRouterCrumb(item)) {\n <a\n class=\"ui-breadcrumb-link\"\n [routerLink]=\"item.routerLink!\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"item.fragment\"\n [target]=\"item.target\"\n [attr.rel]=\"relFor(item)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n (click)=\"onItemClick($event, item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (isHrefCrumb(item)) {\n <a\n class=\"ui-breadcrumb-link\"\n [href]=\"item.url!\"\n [attr.target]=\"item.target\"\n [attr.rel]=\"relFor(item)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n (click)=\"onItemClick($event, item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (isActionCrumb(item)) {\n <button\n type=\"button\"\n class=\"ui-breadcrumb-link\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n (click)=\"onItemClick($event, item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n } @else {\n <!-- A disabled crumb always lands here (every isXxxCrumb() guard requires\n !item.disabled), and only a CSS class marked it as such: assistive tech had no\n way to know. `role=\"link\"` + `aria-disabled` states it \u2014 the pattern for a link\n that would exist were it enabled. The role is required for the attribute to be\n legal at all (aria-disabled is not global, a role-less span rejects it), and it\n is what makes WCAG 1.4.3's exemption for inactive components apply to the\n contrast of its faded label. -->\n <span\n class=\"ui-breadcrumb-text\"\n [class._current]=\"entry.last\"\n [class._disabled]=\"item.disabled ?? false\"\n [attr.role]=\"item.disabled ? 'link' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </span>\n }\n </li>\n }\n\n @if (!$last) {\n <li class=\"ui-breadcrumb-separator\" aria-hidden=\"true\">\n @if (separatorTemplate()) {\n <ng-container [ngTemplateOutlet]=\"separatorTemplate()!\" />\n } @else {\n {{ separator() }}\n }\n </li>\n }\n }\n </ol>\n</nav>\n\n<ng-template #crumb let-item>\n @if (item.icon) {\n <ui-icon class=\"ui-breadcrumb-icon\" [name]=\"item.icon\" [size]=\"iconSize()\" />\n }\n @if (item.label) {\n <span class=\"ui-breadcrumb-label\">{{ item.label }}</span>\n }\n</ng-template>\n", styles: [".ui-breadcrumb{display:block;font-family:var(--ui-breadcrumb-font-family, var(--fontfamily-base))}.ui-breadcrumb-list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-breadcrumb-item-gap, var(--spacing-default));margin:0;padding:0;list-style:none;font-size:var(--ui-breadcrumb-font-size, var(--size-typography-text-default))}.ui-breadcrumb._small .ui-breadcrumb-list{font-size:var(--ui-breadcrumb-font-size-small, var(--size-typography-text-md))}.ui-breadcrumb-item{display:inline-flex;align-items:center;min-width:0}.ui-breadcrumb-link{display:inline-flex;align-items:center;gap:var(--ui-breadcrumb-content-gap, var(--units-sm));min-width:0;margin:0;padding:0;border:none;background:none;font:inherit;font-weight:var(--ui-breadcrumb-weight, var(--weight-bold));line-height:var(--ui-breadcrumb-line-height, 1.4);color:var(--ui-breadcrumb-link-color, var(--global-text-muted));text-align:inherit;text-decoration:none;text-decoration-thickness:from-font;text-underline-offset:.15em;border-radius:var(--ui-breadcrumb-radius, var(--radius-2xs));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),text-decoration-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-breadcrumb-link:hover{color:var(--ui-breadcrumb-link-color-hover, var(--actions-low-content-hover));text-decoration:underline}.ui-breadcrumb-link:focus-visible{outline:none;color:var(--ui-breadcrumb-link-color-focus, var(--actions-low-content-focused));text-decoration:underline;box-shadow:0 0 0 var(--ui-breadcrumb-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-breadcrumb-link-color-focus, var(--actions-low-content-focused))}.ui-breadcrumb-link:active{color:var(--ui-breadcrumb-link-color-pressed, var(--actions-low-content-pressed))}.ui-breadcrumb-text{display:inline-flex;align-items:center;gap:var(--ui-breadcrumb-content-gap, var(--units-sm));min-width:0;font-weight:var(--ui-breadcrumb-weight, var(--weight-bold));line-height:var(--ui-breadcrumb-line-height, 1.4);color:var(--ui-breadcrumb-text-color, var(--global-text-default))}.ui-breadcrumb-text._disabled{color:var(--ui-breadcrumb-text-color-disabled, var(--actions-low-content-disabled));cursor:not-allowed}.ui-breadcrumb-icon{line-height:0}.ui-breadcrumb-separator{display:inline-flex;align-items:center;color:var(--ui-breadcrumb-separator-color, var(--global-text-default));-webkit-user-select:none;user-select:none}.ui-breadcrumb-ellipsis{display:inline-flex;align-items:center;justify-content:center;padding:0;border:none;background:none;line-height:0;color:var(--ui-breadcrumb-ellipsis-color, var(--global-text-default));border-radius:var(--ui-breadcrumb-radius, var(--radius-2xs));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-breadcrumb-ellipsis:hover{color:var(--ui-breadcrumb-ellipsis-color-hover, var(--actions-low-content-hover))}.ui-breadcrumb-ellipsis:focus-visible{outline:none;color:var(--ui-breadcrumb-ellipsis-color-focus, var(--actions-low-content-focused));box-shadow:0 0 0 var(--ui-breadcrumb-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-breadcrumb-ellipsis-color-focus, var(--actions-low-content-focused))}.ui-breadcrumb-ellipsis:active{color:var(--ui-breadcrumb-ellipsis-color-pressed, var(--actions-low-content-pressed))}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
180
180
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBreadcrumb, decorators: [{
|
|
182
182
|
type: Component,
|
|
183
183
|
args: [{ selector: 'ui-breadcrumb', imports: [NgTemplateOutlet, RouterLink, UiIcon], host: { '[style.display]': "'block'" }, template: "<nav [class]=\"classes()\" [attr.aria-label]=\"ariaLabel()\">\n <ol #list class=\"ui-breadcrumb-list\">\n @for (entry of entries(); track entry.key) {\n @if (entry.kind === 'ellipsis') {\n <li class=\"ui-breadcrumb-item\">\n <button\n type=\"button\"\n class=\"ui-breadcrumb-ellipsis\"\n [attr.aria-label]=\"ellipsisAriaLabel()\"\n aria-expanded=\"false\"\n (click)=\"expandOverflow()\"\n >\n <ui-icon name=\"ellipsis\" [size]=\"iconSize()\" />\n </button>\n </li>\n } @else {\n @let item = entry.item!;\n <li [class]=\"itemClasses(item)\">\n @if (itemTemplate()) {\n <ng-container\n [ngTemplateOutlet]=\"itemTemplate()!\"\n [ngTemplateOutletContext]=\"{ $implicit: item, last: entry.last }\"\n />\n } @else if (isRouterCrumb(item)) {\n <a\n class=\"ui-breadcrumb-link\"\n [routerLink]=\"item.routerLink!\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"item.fragment\"\n [target]=\"item.target\"\n [attr.rel]=\"relFor(item)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n (click)=\"onItemClick($event, item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (isHrefCrumb(item)) {\n <a\n class=\"ui-breadcrumb-link\"\n [href]=\"item.url!\"\n [attr.target]=\"item.target\"\n [attr.rel]=\"relFor(item)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n (click)=\"onItemClick($event, item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (isActionCrumb(item)) {\n <button\n type=\"button\"\n class=\"ui-breadcrumb-link\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n (click)=\"onItemClick($event, item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n } @else {\n <!-- A disabled crumb always lands here (every isXxxCrumb() guard requires\n !item.disabled), and only a CSS class marked it as such: assistive tech had no\n way to know. `role=\"link\"` + `aria-disabled` states it \u2014 the pattern for a link\n that would exist were it enabled. The role is required for the attribute to be\n legal at all (aria-disabled is not global, a role-less span rejects it), and it\n is what makes WCAG 1.4.3's exemption for inactive components apply to the\n contrast of its faded label. -->\n <span\n class=\"ui-breadcrumb-text\"\n [class._current]=\"entry.last\"\n [class._disabled]=\"item.disabled ?? false\"\n [attr.role]=\"item.disabled ? 'link' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-current]=\"entry.last ? 'page' : null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"crumb\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </span>\n }\n </li>\n }\n\n @if (!$last) {\n <li class=\"ui-breadcrumb-separator\" aria-hidden=\"true\">\n @if (separatorTemplate()) {\n <ng-container [ngTemplateOutlet]=\"separatorTemplate()!\" />\n } @else {\n {{ separator() }}\n }\n </li>\n }\n }\n </ol>\n</nav>\n\n<ng-template #crumb let-item>\n @if (item.icon) {\n <ui-icon class=\"ui-breadcrumb-icon\" [name]=\"item.icon\" [size]=\"iconSize()\" />\n }\n @if (item.label) {\n <span class=\"ui-breadcrumb-label\">{{ item.label }}</span>\n }\n</ng-template>\n", styles: [".ui-breadcrumb{display:block;font-family:var(--ui-breadcrumb-font-family, var(--fontfamily-base))}.ui-breadcrumb-list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-breadcrumb-item-gap, var(--spacing-default));margin:0;padding:0;list-style:none;font-size:var(--ui-breadcrumb-font-size, var(--size-typography-text-default))}.ui-breadcrumb._small .ui-breadcrumb-list{font-size:var(--ui-breadcrumb-font-size-small, var(--size-typography-text-md))}.ui-breadcrumb-item{display:inline-flex;align-items:center;min-width:0}.ui-breadcrumb-link{display:inline-flex;align-items:center;gap:var(--ui-breadcrumb-content-gap, var(--units-sm));min-width:0;margin:0;padding:0;border:none;background:none;font:inherit;font-weight:var(--ui-breadcrumb-weight, var(--weight-bold));line-height:var(--ui-breadcrumb-line-height, 1.4);color:var(--ui-breadcrumb-link-color, var(--global-text-muted));text-align:inherit;text-decoration:none;text-decoration-thickness:from-font;text-underline-offset:.15em;border-radius:var(--ui-breadcrumb-radius, var(--radius-2xs));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),text-decoration-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-breadcrumb-link:hover{color:var(--ui-breadcrumb-link-color-hover, var(--actions-low-content-hover));text-decoration:underline}.ui-breadcrumb-link:focus-visible{outline:none;color:var(--ui-breadcrumb-link-color-focus, var(--actions-low-content-focused));text-decoration:underline;box-shadow:0 0 0 var(--ui-breadcrumb-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-breadcrumb-link-color-focus, var(--actions-low-content-focused))}.ui-breadcrumb-link:active{color:var(--ui-breadcrumb-link-color-pressed, var(--actions-low-content-pressed))}.ui-breadcrumb-text{display:inline-flex;align-items:center;gap:var(--ui-breadcrumb-content-gap, var(--units-sm));min-width:0;font-weight:var(--ui-breadcrumb-weight, var(--weight-bold));line-height:var(--ui-breadcrumb-line-height, 1.4);color:var(--ui-breadcrumb-text-color, var(--global-text-default))}.ui-breadcrumb-text._disabled{color:var(--ui-breadcrumb-text-color-disabled, var(--actions-low-content-disabled));cursor:not-allowed}.ui-breadcrumb-icon{line-height:0}.ui-breadcrumb-separator{display:inline-flex;align-items:center;color:var(--ui-breadcrumb-separator-color, var(--global-text-default));-webkit-user-select:none;user-select:none}.ui-breadcrumb-ellipsis{display:inline-flex;align-items:center;justify-content:center;padding:0;border:none;background:none;line-height:0;color:var(--ui-breadcrumb-ellipsis-color, var(--global-text-default));border-radius:var(--ui-breadcrumb-radius, var(--radius-2xs));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-breadcrumb-ellipsis:hover{color:var(--ui-breadcrumb-ellipsis-color-hover, var(--actions-low-content-hover))}.ui-breadcrumb-ellipsis:focus-visible{outline:none;color:var(--ui-breadcrumb-ellipsis-color-focus, var(--actions-low-content-focused));box-shadow:0 0 0 var(--ui-breadcrumb-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-breadcrumb-ellipsis-color-focus, var(--actions-low-content-focused))}.ui-breadcrumb-ellipsis:active{color:var(--ui-breadcrumb-ellipsis-color-pressed, var(--actions-low-content-pressed))}\n"] }]
|
|
184
184
|
}], ctorParameters: () => [], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], separator: [{ type: i0.Input, args: [{ isSignal: true, alias: "separator", required: false }] }], maxItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxItems", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ellipsisAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ellipsisAriaLabel", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { isSignal: true }] }], separatorTemplate: [{ type: i0.ContentChild, args: ['separator', { isSignal: true }] }], listEl: [{ type: i0.ViewChild, args: ['list', { isSignal: true }] }] } });
|