@lucca/prisme 22.0.0-rc.5 → 22.0.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/lucca-prisme-button.mjs +4 -4
- package/fesm2022/lucca-prisme-button.mjs.map +1 -1
- package/fesm2022/lucca-prisme-core.mjs +50 -4
- package/fesm2022/lucca-prisme-core.mjs.map +1 -1
- package/fesm2022/lucca-prisme-icon.mjs +3 -3
- package/fesm2022/lucca-prisme-icon.mjs.map +1 -1
- package/fesm2022/lucca-prisme-numeric-badge.mjs +92 -0
- package/fesm2022/lucca-prisme-numeric-badge.mjs.map +1 -0
- package/fesm2022/lucca-prisme-skeleton.mjs +236 -0
- package/fesm2022/lucca-prisme-skeleton.mjs.map +1 -0
- package/fesm2022/lucca-prisme-tag.mjs +77 -0
- package/fesm2022/lucca-prisme-tag.mjs.map +1 -0
- package/fesm2022/lucca-prisme-tooltip.mjs +630 -0
- package/fesm2022/lucca-prisme-tooltip.mjs.map +1 -0
- package/package.json +19 -3
- package/types/lucca-prisme-button.d.ts +5 -5
- package/types/lucca-prisme-core.d.ts +30 -2
- package/types/lucca-prisme-icon.d.ts +2 -2
- package/types/lucca-prisme-numeric-badge.d.ts +47 -0
- package/types/lucca-prisme-skeleton.d.ts +158 -0
- package/types/lucca-prisme-tag.d.ts +53 -0
- package/types/lucca-prisme-tooltip.d.ts +100 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lucca-prisme-tooltip.mjs","sources":["../../../packages/prisme/tooltip/animation/tooltip.animation.ts","../../../packages/prisme/tooltip/panel/tooltip-panel.component.ts","../../../packages/prisme/tooltip/panel/tooltip-panel.component.html","../../../packages/prisme/tooltip/trigger/tooltip-visibility.observer.ts","../../../packages/prisme/tooltip/trigger/tooltip-trigger.directive.ts","../../../packages/prisme/tooltip/trigger/tooltip-trigger.module.ts","../../../packages/prisme/tooltip/tooltip.module.ts","../../../packages/prisme/tooltip/lucca-prisme-tooltip.ts"],"sourcesContent":["import { trigger, state, style, animate, transition, AnimationTriggerMetadata } from '@angular/animations';\n\nexport const luTransformTooltip: AnimationTriggerMetadata = trigger('transformTooltip', [\n\tstate(\n\t\t'enter',\n\t\tstyle({\n\t\t\topacity: 1,\n\t\t\ttransform: `scale(1)`,\n\t\t}),\n\t),\n\ttransition('void => *', [\n\t\tstyle({\n\t\t\topacity: 0,\n\t\t\ttransform: `scale(0)`,\n\t\t}),\n\t\tanimate(`150ms cubic-bezier(0.25, 0.8, 0.25, 1)`),\n\t]),\n\ttransition('* => void', [animate('50ms 100ms linear', style({ opacity: 0 }))]),\n]);\n","import { HorizontalConnectionPos, VerticalConnectionPos } from '@angular/cdk/overlay';\nimport { ChangeDetectionStrategy, Component, DestroyRef, inject, signal } from '@angular/core';\nimport { SafeHtml } from '@angular/platform-browser';\nimport { Subject } from 'rxjs';\n\n@Component({\n\tselector: 'lu-tooltip-panel,pr-tooltip-panel',\n\ttemplateUrl: './tooltip-panel.component.html',\n\tstyleUrl: './tooltip-panel.component.scss',\n\thost: {\n\t\trole: 'tooltip',\n\t\t'(mouseenter)': 'mouseEnter$.next()',\n\t\t'(mouseleave)': 'mouseLeave$.next()',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LuTooltipPanelComponent {\n\treadonly destroyRef = inject(DestroyRef);\n\n\treadonly mouseEnter$ = new Subject<void>();\n\treadonly mouseLeave$ = new Subject<void>();\n\n\treadonly content = signal<string | SafeHtml | null>(null);\n\n\treadonly contentPositionClasses = signal<Record<string, boolean>>({});\n\n\tsetPanelPosition(posX: HorizontalConnectionPos, posY: VerticalConnectionPos): void {\n\t\tthis.contentPositionClasses.set({\n\t\t\t'is-before': posX === 'end',\n\t\t\t'is-after': posX === 'start',\n\t\t\t'is-above': posY === 'bottom',\n\t\t\t'is-below': posY === 'top',\n\t\t});\n\t}\n}\n","@if (content(); as content) {\n\t<div class=\"tooltip\" [class]=\"contentPositionClasses()\" [innerHtml]=\"content\"></div>\n}\n","import { Injectable } from '@angular/core';\n\n/**\n * Single, shared IntersectionObserver used by every tooltip to defer its first ellipsis\n * measurement until the host element is near the viewport.\n *\n * One observer for the whole page is far cheaper than one IntersectionObserver per tooltip when\n * many tooltips are created at once (e.g. a large table being (re)rendered): the browser then\n * delivers a single batched callback instead of one per element.\n */\n@Injectable({ providedIn: 'root' })\nexport class TooltipVisibilityObserver {\n\t#observer?: IntersectionObserver;\n\treadonly #callbacks = new WeakMap<Element, () => void>();\n\n\t/** Calls `onVisible` once — the first time `element` comes near the viewport — then stops observing it. */\n\tobserveOnce(element: Element, onVisible: () => void): void {\n\t\tthis.#callbacks.set(element, onVisible);\n\t\tthis.#getObserver().observe(element);\n\t}\n\n\tunobserve(element: Element): void {\n\t\tthis.#callbacks.delete(element);\n\t\tthis.#observer?.unobserve(element);\n\t}\n\n\t// Created lazily so the observer is only instantiated in the browser, on first use.\n\t#getObserver(): IntersectionObserver {\n\t\treturn (this.#observer ??= new IntersectionObserver(\n\t\t\t(entries) => {\n\t\t\t\tfor (const entry of entries) {\n\t\t\t\t\tif (!entry.isIntersecting) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tconst onVisible = this.#callbacks.get(entry.target);\n\t\t\t\t\tthis.unobserve(entry.target);\n\t\t\t\t\tonVisible?.();\n\t\t\t\t}\n\t\t\t},\n\t\t\t{ rootMargin: '100px' },\n\t\t));\n\t}\n}\n","import {\n\tFlexibleConnectedPositionStrategy,\n\tFlexibleConnectedPositionStrategyOrigin,\n\tHorizontalConnectionPos,\n\tOriginConnectionPosition,\n\tOverlay,\n\tOverlayConnectionPosition,\n\tOverlayRef,\n\tVerticalConnectionPos,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { DOCUMENT } from '@angular/common';\nimport {\n\tafterRenderEffect,\n\tbooleanAttribute,\n\tcomputed,\n\tDestroyRef,\n\tDirective,\n\teffect,\n\tEffectRef,\n\tElementRef,\n\tinject,\n\tInjector,\n\tinput,\n\tlinkedSignal,\n\tnumberAttribute,\n\tOnDestroy,\n\tRenderer2,\n\tsignal,\n} from '@angular/core';\nimport { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';\nimport { SafeHtml } from '@angular/platform-browser';\nimport { getPushPanelViewportMargin, isNil, isNotNil, ɵeffectWithDeps } from '@lucca/prisme/core';\nimport { startWith, timer } from 'rxjs';\nimport { debounce, filter, map, tap } from 'rxjs/operators';\nimport { LuTooltipPanelComponent } from '../panel';\nimport { TooltipPosition } from './tooltip-position';\nimport { TooltipVisibilityObserver } from './tooltip-visibility.observer';\n\nexport interface LuTooltipAnchorRef {\n\tgetElementRef(): ElementRef;\n}\n\nlet nextId = 0;\n\n@Directive({\n\tselector: '[luTooltip],[prTooltip]',\n\texportAs: 'luTooltip',\n\thost: {\n\t\t'[attr.aria-describedby]': 'ariaDescribedBy()',\n\t\t'[attr.id]': 'id()',\n\t\t'(mouseenter)': 'onMouseEnter()',\n\t\t'(mouseleave)': 'onMouseLeave()',\n\t\t'(focus)': 'onFocus()',\n\t\t'(focusout)': 'onFocusOut($event)',\n\t\t'(blur)': 'onBlur()',\n\t\t'(keydown.escape)': 'onEscape($event)',\n\t\tclass: 'tooltip_trigger',\n\t\t'[class.is-whenEllipsis]': 'luTooltipWhenEllipsis()',\n\t},\n})\nexport class LuTooltipTriggerDirective implements OnDestroy {\n\treadonly #overlay = inject(Overlay);\n\treadonly #host = inject<ElementRef<HTMLElement>>(ElementRef);\n\treadonly #renderer = inject(Renderer2);\n\treadonly #document = inject(DOCUMENT);\n\treadonly #injector = inject(Injector);\n\treadonly #destroyRef = inject(DestroyRef);\n\treadonly #visibilityObserver = inject(TooltipVisibilityObserver);\n\n\treadonly luTooltipInput = input<string | SafeHtml>('', { alias: 'luTooltip' });\n\treadonly luTooltip = linkedSignal<string | SafeHtml>(() => this.luTooltipInput());\n\treadonly prTooltipInput = input<string | SafeHtml>('', { alias: 'prTooltip' });\n\treadonly prTooltip = linkedSignal<string | SafeHtml>(() => this.prTooltipInput());\n\treadonly tooltipContent = computed(() => this.luTooltip() || this.prTooltip());\n\n\treadonly luTooltipEnterDelay = input(300, { transform: numberAttribute });\n\treadonly prTooltipEnterDelay = input(300, { transform: numberAttribute });\n\treadonly tooltipEnterDelay = computed(() => this.prTooltipEnterDelay() || this.luTooltipEnterDelay());\n\n\treadonly luTooltipLeaveDelay = input(100, { transform: numberAttribute });\n\treadonly prTooltipLeaveDelay = input(100, { transform: numberAttribute });\n\treadonly tooltipLeaveDelay = computed(() => this.prTooltipLeaveDelay() || this.luTooltipLeaveDelay());\n\n\treadonly luTooltipDisabled = input(false, { transform: booleanAttribute });\n\treadonly prTooltipDisabled = input(false, { transform: booleanAttribute });\n\treadonly tooltipDisabled = computed(() => this.prTooltipDisabled() || this.luTooltipDisabled());\n\n\treadonly luTooltipOnlyForDisplay = input(false, { transform: booleanAttribute });\n\treadonly prTooltipOnlyForDisplay = input(false, { transform: booleanAttribute });\n\treadonly tooltipOnlyForDisplay = computed(() => this.prTooltipOnlyForDisplay() || this.luTooltipOnlyForDisplay());\n\n\treadonly luTooltipPosition = input<TooltipPosition>('above');\n\treadonly prTooltipPosition = input<TooltipPosition>('above');\n\treadonly tooltipPosition = computed(() => this.prTooltipPosition() || this.luTooltipPosition());\n\n\treadonly luTooltipWhenEllipsisInput = input(false, { alias: 'luTooltipWhenEllipsis', transform: booleanAttribute });\n\treadonly prTooltipWhenEllipsisInput = input(false, { alias: 'prTooltipWhenEllipsis', transform: booleanAttribute });\n\n\treadonly luTooltipWhenEllipsis = linkedSignal(() => this.luTooltipWhenEllipsisInput());\n\treadonly prTooltipWhenEllipsis = linkedSignal(() => this.prTooltipWhenEllipsisInput());\n\treadonly tooltipWhenEllipsis = computed(() => this.prTooltipWhenEllipsis() || this.luTooltipWhenEllipsis());\n\n\treadonly luTooltipAnchor = input<FlexibleConnectedPositionStrategyOrigin | LuTooltipAnchorRef | null | undefined>(this.#host);\n\treadonly prTooltipAnchor = input<FlexibleConnectedPositionStrategyOrigin | LuTooltipAnchorRef | null | undefined>(this.#host);\n\treadonly tooltipAnchor = computed(() => this.prTooltipAnchor() || this.luTooltipAnchor());\n\n\treadonly id = input<string>(`${this.#host.nativeElement.tagName.toLowerCase()}-tooltip-${nextId++}`);\n\n\treadonly ariaDescribedBy = computed(() => {\n\t\tif (this.tooltipDisabled() || this.tooltipWhenEllipsis() || this.tooltipOnlyForDisplay()) {\n\t\t\treturn null;\n\t\t}\n\t\treturn `${this.id()}-panel`;\n\t});\n\n\toverlayRef?: OverlayRef;\n\n\t// 0 until the element first appears; bumped for the initial measurement and on every real\n\t// size/content change. Scrolling in and out of view does NOT bump it (see #armMeasurementObservers).\n\treadonly #measureTrigger = signal(0);\n\n\t// guards the one-time setup of the persistent resize/mutation observers\n\t#measurementObserversArmed = false;\n\n\t// the IntersectionObserver callback and a debounced 'open' action (see openTooltip) can\n\t// fire after the view is destroyed; avoid touching the destroyed injector (NG0911) or\n\t// recreating the overlay when that happens\n\t#destroyed = false;\n\n\t// written only from the `read` phase of the afterRenderEffect below\n\treadonly #hasEllipsis = signal(false);\n\n\t// reusable hidden clone, one per directive, used to measure the unconstrained width\n\t#clone?: HTMLDivElement;\n\n\treadonly #action = signal<'open' | 'close' | null>(null);\n\treadonly #realAction = linkedSignal<'open' | 'close' | null, 'open' | 'close' | null>({\n\t\tsource: this.#action,\n\t\tcomputation: (action, previous): 'open' | 'close' | null => {\n\t\t\tif (!action || action === 'close') {\n\t\t\t\treturn action;\n\t\t\t}\n\n\t\t\t// We only filter open events because even if it's disabled while opened,\n\t\t\t// we want the tooltip to be able to close itself no matter what\n\t\t\tif (this.tooltipDisabled()) {\n\t\t\t\treturn previous?.value ?? null;\n\t\t\t}\n\n\t\t\tif (this.tooltipWhenEllipsis()) {\n\t\t\t\treturn this.#hasEllipsis() ? 'open' : (previous?.value ?? null);\n\t\t\t}\n\n\t\t\treturn 'open';\n\t\t},\n\t});\n\n\t#effectRef?: EffectRef;\n\n\t// pane the focus moved into when it last left this trigger, or null\n\t#focusLeftToPane: Element | null = null;\n\n\tconstructor() {\n\t\tthis.#destroyRef.onDestroy(() => (this.#destroyed = true));\n\n\t\t// Action debounce pipeline — kept as Observable since signals can't debounce\n\t\ttoObservable(this.#realAction)\n\t\t\t.pipe(\n\t\t\t\tfilter(isNotNil),\n\t\t\t\tdebounce((action) => timer(action === 'open' ? this.tooltipEnterDelay() : this.tooltipLeaveDelay())),\n\t\t\t\ttap((event) => {\n\t\t\t\t\tif (event === 'open') {\n\t\t\t\t\t\tthis.openTooltip();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.closeTooltip();\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\ttakeUntilDestroyed(),\n\t\t\t)\n\t\t\t.subscribe();\n\n\t\teffect(() => {\n\t\t\tif (!this.tooltipDisabled() && (!this.tooltipWhenEllipsis() || this.#hasEllipsis())) {\n\t\t\t\tthis.setAccessibilityProperties(0);\n\t\t\t} else {\n\t\t\t\tthis.setAccessibilityProperties(null);\n\t\t\t}\n\t\t});\n\n\t\t// Defer the first measurement until the element is near the viewport, then stop tracking\n\t\t// visibility: scrolling must not re-measure, so we arm the resize/mutation observers once.\n\t\t// A single shared IntersectionObserver handles every tooltip (see TooltipVisibilityObserver).\n\t\teffect((onCleanup) => {\n\t\t\tif (!this.tooltipWhenEllipsis() || this.tooltipDisabled() || this.#measurementObserversArmed) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst el = this.#host.nativeElement;\n\t\t\tthis.#visibilityObserver.observeOnce(el, () => this.#armMeasurementObservers());\n\n\t\t\tonCleanup(() => this.#visibilityObserver.unobserve(el));\n\t\t});\n\n\t\t// Ellipsis measurement, split across afterRenderEffect phases so that — across every tooltip\n\t\t// on the page — all DOM writes happen together, then all geometry reads happen together.\n\t\t// This keeps the whole batch to a single forced reflow instead of one reflow per element.\n\t\tafterRenderEffect({\n\t\t\tearlyRead: () => {\n\t\t\t\t// reading the trigger registers the dependency; 0 means \"not measured yet\"\n\t\t\t\tconst measured = this.#measureTrigger() > 0;\n\t\t\t\tconst shouldMeasure = measured && !this.tooltipDisabled() && this.tooltipWhenEllipsis();\n\t\t\t\tif (!shouldMeasure) {\n\t\t\t\t\treturn { measure: false } as const;\n\t\t\t\t}\n\t\t\t\tconst host = this.#host.nativeElement;\n\t\t\t\tconst hostStyle = getComputedStyle(host);\n\t\t\t\t// No need to run a test if the element is not truncated\n\t\t\t\t// or if its `display` property is set to `inline`\n\t\t\t\t// (especially for Safari, which still calculates a width, unlike other browsers)\n\t\t\t\tif (hostStyle.textOverflow !== 'ellipsis' || hostStyle.display === 'inline') {\n\t\t\t\t\treturn { measure: false } as const;\n\t\t\t\t}\n\t\t\t\treturn { measure: true, host, hostStyle } as const;\n\t\t\t},\n\t\t\twrite: (earlyReadResult) => {\n\t\t\t\tconst snapshot = earlyReadResult();\n\t\t\t\tif (!snapshot.measure) {\n\t\t\t\t\treturn { measure: false } as const;\n\t\t\t\t}\n\t\t\t\tconst clone = (this.#clone ??= this.#createClone());\n\t\t\t\tthis.#applyClonedStyles(clone, snapshot.hostStyle);\n\t\t\t\tclone.innerHTML = snapshot.host.innerHTML;\n\t\t\t\treturn { measure: true, host: snapshot.host, clone } as const;\n\t\t\t},\n\t\t\tread: (writeResult) => {\n\t\t\t\tconst measurement = writeResult();\n\t\t\t\tif (!measurement.measure) {\n\t\t\t\t\tthis.#hasEllipsis.set(false);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t// Computed `width`, unlike `getBoundingClientRect`, ignores ancestor CSS transforms\n\t\t\t\t// (e.g. the popover's scale-in animation), so a mid-animation read can't mistake the\n\t\t\t\t// host for narrower than it is and get stuck with a false \"has ellipsis\".\n\t\t\t\tconst cloneWidth = parseFloat(getComputedStyle(measurement.clone).width);\n\t\t\t\tconst hostWidth = parseFloat(getComputedStyle(measurement.host).width);\n\t\t\t\t// rounded to 3 decimals to ignore sub-pixel noise\n\t\t\t\tthis.#hasEllipsis.set(Math.round(cloneWidth * 1000) > Math.round(hostWidth * 1000));\n\t\t\t},\n\t\t});\n\n\t\tthis.#destroyRef.onDestroy(() => this.#clone?.remove());\n\t}\n\n\t// Set up — once — the observers that ask for a re-measurement on real size/content changes.\n\t// They stay connected for the directive lifetime (even off-screen), so scrolling never\n\t// re-measures; only an actual resize/mutation does.\n\t#armMeasurementObservers(): void {\n\t\tif (this.#measurementObserversArmed || this.#destroyed) {\n\t\t\treturn;\n\t\t}\n\t\tthis.#measurementObserversArmed = true;\n\n\t\tconst el = this.#host.nativeElement;\n\t\tconst bump = () => this.#measureTrigger.update((v) => v + 1);\n\n\t\tconst resizeObserver = new ResizeObserver(() => bump());\n\t\tresizeObserver.observe(el);\n\n\t\tconst mutationObserver = new MutationObserver(() => bump());\n\t\tmutationObserver.observe(el, { characterData: true, subtree: true, childList: true });\n\n\t\tthis.#destroyRef.onDestroy(() => {\n\t\t\tresizeObserver.disconnect();\n\t\t\tmutationObserver.disconnect();\n\t\t});\n\n\t\t// initial measurement now that the element has appeared\n\t\tbump();\n\t}\n\n\t#createClone(): HTMLDivElement {\n\t\tconst clone = this.#document.createElement('div');\n\t\tclone.setAttribute('aria-hidden', 'true');\n\t\tObject.assign(clone.style, {\n\t\t\tinlineSize: 'fit-content',\n\t\t\twhiteSpace: 'nowrap',\n\t\t\t// `fixed` + pinned origin keeps the (potentially very wide) clone out of the\n\t\t\t// document's scrollable overflow, so measuring never flashes a scrollbar.\n\t\t\tposition: 'fixed',\n\t\t\tinsetBlockStart: '0',\n\t\t\tinsetInlineStart: '0',\n\t\t\tvisibility: 'hidden',\n\t\t\tpointerEvents: 'none',\n\t\t\tcontain: 'layout',\n\t\t});\n\t\tthis.#document.body.appendChild(clone);\n\t\treturn clone;\n\t}\n\n\t#applyClonedStyles(clone: HTMLDivElement, hostStyle: CSSStyleDeclaration): void {\n\t\tconst { padding, borderWidth, borderStyle, boxSizing, fontFamily, fontWeight, fontStyle, fontSize } = hostStyle;\n\t\tObject.assign(clone.style, { padding, borderWidth, borderStyle, boxSizing, fontFamily, fontWeight, fontStyle, fontSize });\n\t}\n\n\tonMouseEnter() {\n\t\tthis.#action.set('open');\n\t}\n\n\tonMouseLeave() {\n\t\tthis.#action.set('close');\n\t}\n\n\tonFocus() {\n\t\tconst leftToPane = this.#focusLeftToPane;\n\t\tthis.#focusLeftToPane = null;\n\n\t\t// A closing overlay hands the focus back to its trigger.\n\t\t// That is not the user reaching the trigger, so the tooltip stays closed.\n\t\tif (this.#isForeignPane(leftToPane)) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.#host.nativeElement.getAttribute('aria-expanded') !== 'true') {\n\t\t\tthis.#action.set('open');\n\t\t}\n\t}\n\n\tonFocusOut(event: FocusEvent) {\n\t\t// Captured on the way out.\n\t\t// Some overlays dispose their pane before handing the focus back, leaving nothing to inspect.\n\t\tthis.#focusLeftToPane = event.relatedTarget instanceof Element ? this.#paneOf(event.relatedTarget) : null;\n\t}\n\n\t#isForeignPane(pane: Element | null): boolean {\n\t\t// Panes, not the whole container.\n\t\t// A trigger inside an overlay keeps its tooltip when the focus moves within that same overlay.\n\t\treturn isNotNil(pane) && pane !== this.#paneOf(this.#host.nativeElement);\n\t}\n\n\t#paneOf(element: Element): Element | null {\n\t\treturn element.closest('.cdk-overlay-pane');\n\t}\n\n\tonBlur() {\n\t\tthis.#action.set('close');\n\t}\n\n\tonEscape(event: Event) {\n\t\tevent.stopPropagation();\n\t\tthis.#action.set(null);\n\t\tthis.closeTooltip();\n\t}\n\n\trequestOpen() {\n\t\tthis.#action.set('open');\n\t}\n\n\trequestClose() {\n\t\tthis.#action.set('close');\n\t}\n\n\tngOnDestroy(): void {\n\t\tthis.closeTooltip();\n\t\tif (this.overlayRef) {\n\t\t\tthis.overlayRef.dispose();\n\t\t\tdelete this.overlayRef;\n\t\t}\n\t}\n\n\tprivate prepareOverlay(): void {\n\t\tif (this.overlayRef) {\n\t\t\treturn;\n\t\t}\n\t\tthis.overlayRef = this.#overlay.create({\n\t\t\tscrollStrategy: this.#overlay.scrollStrategies.close(),\n\t\t\tdisposeOnNavigation: true,\n\t\t});\n\t\tconst describedBy = this.ariaDescribedBy();\n\t\tif (describedBy !== null) {\n\t\t\tthis.overlayRef.overlayElement.id = describedBy;\n\t\t}\n\t}\n\n\tprivate openTooltip(): void {\n\t\t// A pending debounced 'open' is flushed when `toObservable(#realAction)` completes on\n\t\t// destroy (`debounce` re-emits the held value on completion), i.e. AFTER ngOnDestroy has\n\t\t// disposed the overlay. Opening then would recreate an overlay anchored to a detached\n\t\t// host — pinned to the viewport's top-left corner — that nothing would ever dispose.\n\t\tif (this.#destroyed || this.overlayRef?.hasAttached()) {\n\t\t\treturn;\n\t\t}\n\t\tconst position = this.legacyPositionBuilder();\n\t\tif (!this.overlayRef) {\n\t\t\tthis.overlayRef = this.#overlay.create({\n\t\t\t\tpositionStrategy: position,\n\t\t\t\tscrollStrategy: this.#overlay.scrollStrategies.close(),\n\t\t\t\tdisposeOnNavigation: true,\n\t\t\t});\n\t\t} else {\n\t\t\tthis.overlayRef.updatePositionStrategy(position);\n\t\t}\n\t\tconst portal = new ComponentPortal(LuTooltipPanelComponent);\n\t\tconst ref = this.overlayRef.attach(portal);\n\t\tposition.positionChanges\n\t\t\t.pipe(\n\t\t\t\ttakeUntilDestroyed(this.#destroyRef),\n\t\t\t\tmap(({ connectionPair }) => connectionPair),\n\t\t\t\tstartWith(position.positions[0]),\n\t\t\t)\n\t\t\t.subscribe(({ overlayX, overlayY }) => {\n\t\t\t\tref.instance.setPanelPosition(overlayX, overlayY);\n\t\t\t});\n\n\t\tif (this.tooltipContent()) {\n\t\t\tthis.#effectRef = ɵeffectWithDeps(\n\t\t\t\t[this.tooltipContent],\n\t\t\t\t(content) => {\n\t\t\t\t\tref.instance.content.set(content);\n\t\t\t\t},\n\t\t\t\t{ injector: this.#injector },\n\t\t\t);\n\t\t} else if (this.tooltipWhenEllipsis()) {\n\t\t\tref.instance.content.set(this.#host.nativeElement.innerText);\n\t\t} else {\n\t\t\tref.instance.content.set('');\n\t\t}\n\n\t\tref.instance.mouseLeave$.pipe(takeUntilDestroyed(ref.instance.destroyRef)).subscribe(() => this.#action.set('close'));\n\t\tref.instance.mouseEnter$.pipe(takeUntilDestroyed(ref.instance.destroyRef)).subscribe(() => this.#action.set('open'));\n\t}\n\n\tprivate closeTooltip(): void {\n\t\tif (this.overlayRef) {\n\t\t\tthis.overlayRef.detach();\n\t\t}\n\t\tthis.#effectRef?.destroy();\n\t}\n\n\tprivate setAccessibilityProperties(tabindex: number | null): void {\n\t\tif (tabindex === null) {\n\t\t\tthis.#renderer.removeAttribute(this.#host.nativeElement, 'tabindex');\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.tooltipWhenEllipsis() && !this.tooltipOnlyForDisplay()) {\n\t\t\tthis.prepareOverlay();\n\t\t}\n\n\t\tconst tag = this.#host.nativeElement.tagName.toLowerCase();\n\t\tconst nativelyFocusableTags = ['a', 'button', 'input', 'select', 'textarea'];\n\t\tconst isNativelyFocusableTag = nativelyFocusableTags.includes(tag);\n\n\t\tconst hasATabIndex = this.#host.nativeElement.getAttribute('tabindex') !== null;\n\n\t\tif (!isNativelyFocusableTag && !hasATabIndex) {\n\t\t\tthis.#renderer.setAttribute(this.#host.nativeElement, 'tabindex', tabindex.toString());\n\t\t}\n\n\t\tif (!isNativelyFocusableTag && !this.tooltipWhenEllipsis() && !this.tooltipOnlyForDisplay()) {\n\t\t\tthis.#renderer.setAttribute(this.#host.nativeElement, 'role', 'button');\n\t\t}\n\t}\n\n\t// Legacy position builder to handle existing position API\n\tprivate legacyPositionBuilder(): FlexibleConnectedPositionStrategy {\n\t\tconst connectionPosition: OriginConnectionPosition = {\n\t\t\toriginX: 'start',\n\t\t\toriginY: 'top',\n\t\t};\n\n\t\t// Position\n\t\tconst position = this.tooltipPosition();\n\t\tif (position === 'above') {\n\t\t\tconnectionPosition.originY = 'top';\n\t\t} else if (position === 'below') {\n\t\t\tconnectionPosition.originY = 'bottom';\n\t\t} else if (position === 'before') {\n\t\t\tconnectionPosition.originX = 'start';\n\t\t} else if (position === 'after') {\n\t\t\tconnectionPosition.originX = 'end';\n\t\t}\n\n\t\t// Alignment\n\t\tif (position === 'above' || position === 'below') {\n\t\t\tconnectionPosition.originX = 'center';\n\t\t} else {\n\t\t\tconnectionPosition.originY = 'center';\n\t\t}\n\n\t\tconst overlayPosition: OverlayConnectionPosition = {\n\t\t\toverlayX: 'start',\n\t\t\toverlayY: 'top',\n\t\t};\n\n\t\tif (position === 'above' || position === 'below') {\n\t\t\toverlayPosition.overlayX = connectionPosition.originX;\n\t\t\toverlayPosition.overlayY = position === 'above' ? 'bottom' : 'top';\n\t\t} else {\n\t\t\toverlayPosition.overlayX = position === 'before' ? 'end' : 'start';\n\t\t\toverlayPosition.overlayY = connectionPosition.originY;\n\t\t}\n\n\t\treturn this.#overlay\n\t\t\t.position()\n\t\t\t.flexibleConnectedTo(this.#resolveAnchor())\n\t\t\t.withViewportMargin(getPushPanelViewportMargin(this.#host.nativeElement))\n\t\t\t.withPositions([\n\t\t\t\t{\n\t\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t\t},\n\t\t\t]);\n\t}\n\n\t#resolveAnchor(): FlexibleConnectedPositionStrategyOrigin {\n\t\tconst anchor = this.tooltipAnchor();\n\n\t\tif (isNil(anchor)) {\n\t\t\treturn this.#host;\n\t\t} else if ('getElementRef' in anchor) {\n\t\t\treturn anchor.getElementRef();\n\t\t} else {\n\t\t\treturn anchor;\n\t\t}\n\t}\n\n\tprivate invertVerticalPos(y: VerticalConnectionPos): VerticalConnectionPos {\n\t\tif (y === 'top') {\n\t\t\treturn 'bottom';\n\t\t} else if (y === 'bottom') {\n\t\t\treturn 'top';\n\t\t}\n\t\treturn y;\n\t}\n\n\tprivate invertHorizontalPos(x: HorizontalConnectionPos): HorizontalConnectionPos {\n\t\tif (x === 'end') {\n\t\t\treturn 'start';\n\t\t} else if (x === 'start') {\n\t\t\treturn 'end';\n\t\t}\n\t\treturn x;\n\t}\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { NgModule } from '@angular/core';\nimport { LuTooltipTriggerDirective } from './tooltip-trigger.directive';\n\n/**\n * @deprecated use `LuTooltipTriggerDirective` instead\n */\n@NgModule({\n\timports: [LuTooltipTriggerDirective, OverlayModule],\n\texports: [LuTooltipTriggerDirective],\n})\nexport class LuTooltipTriggerModule {}\n","import { NgModule } from '@angular/core';\nimport { LuTooltipPanelComponent } from './panel/index';\nimport { LuTooltipTriggerModule } from './trigger/index';\n\n/**\n * @deprecated use `LuTooltipTriggerDirective, LuTooltipPanelComponent` instead\n */\n@NgModule({\n\timports: [LuTooltipTriggerModule, LuTooltipPanelComponent],\n\texports: [LuTooltipTriggerModule, LuTooltipPanelComponent],\n})\nexport class LuTooltipModule {}\n","/**\n * Generated b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;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,OAAO,EAAE,CAAC,yBAAyB,EAAE,aAAa,CAAC;oBACnD,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACpC,iBAAA;;;ACND;;AAEG;MAKU,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAHjB,sBAAsB,EAAE,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAC/C,sBAAsB,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;+GAE7C,eAAe,EAAA,OAAA,EAAA,CAHjB,sBAAsB,EACtB,sBAAsB,CAAA,EAAA,CAAA,CAAA;;2FAEpB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;AAC1D,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;AAC1D,iBAAA;;;ACVD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca/prisme",
|
|
3
|
-
"version": "22.0.0
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"description": "Design system made by @lucca",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@angular/cdk": "^22.0.0",
|
|
22
22
|
"@angular/animations": "^22.0.0",
|
|
23
23
|
"@types/dompurify": "^3.0.0",
|
|
24
|
-
"@lucca-front/icons": "22.0.0
|
|
25
|
-
"@lucca-front/scss": "22.0.0
|
|
24
|
+
"@lucca-front/icons": "22.0.0",
|
|
25
|
+
"@lucca-front/scss": "22.0.0",
|
|
26
26
|
"isomorphic-dompurify": "^2.11.0",
|
|
27
27
|
"date-fns": "^3.6.0",
|
|
28
28
|
"rxjs": "^7.8.0"
|
|
@@ -51,6 +51,22 @@
|
|
|
51
51
|
"./icon": {
|
|
52
52
|
"types": "./types/lucca-prisme-icon.d.ts",
|
|
53
53
|
"default": "./fesm2022/lucca-prisme-icon.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./numeric-badge": {
|
|
56
|
+
"types": "./types/lucca-prisme-numeric-badge.d.ts",
|
|
57
|
+
"default": "./fesm2022/lucca-prisme-numeric-badge.mjs"
|
|
58
|
+
},
|
|
59
|
+
"./skeleton": {
|
|
60
|
+
"types": "./types/lucca-prisme-skeleton.d.ts",
|
|
61
|
+
"default": "./fesm2022/lucca-prisme-skeleton.mjs"
|
|
62
|
+
},
|
|
63
|
+
"./tag": {
|
|
64
|
+
"types": "./types/lucca-prisme-tag.d.ts",
|
|
65
|
+
"default": "./fesm2022/lucca-prisme-tag.mjs"
|
|
66
|
+
},
|
|
67
|
+
"./tooltip": {
|
|
68
|
+
"types": "./types/lucca-prisme-tooltip.d.ts",
|
|
69
|
+
"default": "./fesm2022/lucca-prisme-tooltip.mjs"
|
|
54
70
|
}
|
|
55
71
|
},
|
|
56
72
|
"sideEffects": false,
|
|
@@ -21,23 +21,23 @@ declare class ButtonComponent {
|
|
|
21
21
|
/**
|
|
22
22
|
* Apply block display
|
|
23
23
|
*/
|
|
24
|
-
readonly block: _angular_core.InputSignalWithTransform<boolean,
|
|
24
|
+
readonly block: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
25
25
|
/**
|
|
26
26
|
* Disables the Button. Also applied automatically when `state` is `loading`
|
|
27
27
|
*/
|
|
28
|
-
readonly disabled: _angular_core.InputSignalWithTransform<boolean,
|
|
28
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
29
29
|
/**
|
|
30
30
|
* Indicates an action with significant or irreversible consequences on hover and focus. Only compatible with outlined and ghost
|
|
31
31
|
*/
|
|
32
|
-
readonly critical: _angular_core.InputSignalWithTransform<boolean,
|
|
32
|
+
readonly critical: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
33
33
|
/**
|
|
34
34
|
* @deprecated use `critical` input instead
|
|
35
35
|
*/
|
|
36
|
-
readonly delete: _angular_core.InputSignalWithTransform<boolean,
|
|
36
|
+
readonly delete: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
37
37
|
/**
|
|
38
38
|
* Indicates the presence of a menu
|
|
39
39
|
*/
|
|
40
|
-
readonly disclosure: _angular_core.InputSignalWithTransform<boolean,
|
|
40
|
+
readonly disclosure: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
41
41
|
/**
|
|
42
42
|
* Applies a color palette to the Button
|
|
43
43
|
*/
|
|
@@ -18,6 +18,8 @@ declare const PALETTE: readonly ["success", "warning", "error", "product", "neut
|
|
|
18
18
|
type Palette = (typeof PALETTE)[number];
|
|
19
19
|
declare const DECORATIVE_PALETTE: readonly ["kiwi", "lime", "cucumber", "mint", "glacier", "lagoon", "blueberry", "lavender", "grape", "watermelon", "pumpkin", "pineapple"];
|
|
20
20
|
type DecorativePalette = (typeof DECORATIVE_PALETTE)[number];
|
|
21
|
+
declare const PRODUCT_PALETTE: readonly ["pagga", "poplee", "coreHR", "timmi", "cleemy", "cc"];
|
|
22
|
+
type ProductPalette = (typeof PRODUCT_PALETTE)[number];
|
|
21
23
|
|
|
22
24
|
/**
|
|
23
25
|
* In order to make this efficient when building the split, I copied this from lucca-front/core, TODO use it from here instead
|
|
@@ -36,5 +38,31 @@ type EffectWithDepsInput = ReadonlyArray<Signal<unknown>> | Record<string, Signa
|
|
|
36
38
|
*/
|
|
37
39
|
declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependencies: T, action: (...values: [...SignalsValue<T>, EffectCleanupRegisterFn]) => unknown, options?: CreateEffectOptions): EffectRef;
|
|
38
40
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
type Nil = null | undefined;
|
|
42
|
+
declare const isNil: <T>(value: T | Nil) => value is Nil;
|
|
43
|
+
declare const isNotNil: <T>(value: T) => value is NonNullable<T>;
|
|
44
|
+
declare function assertNotNil<T>(input: T, errorMessage?: string): asserts input is NonNullable<T>;
|
|
45
|
+
declare const isNilOrEmptyString: (str: string | Nil) => str is Nil | "";
|
|
46
|
+
declare const isNotNilOrEmptyString: (str: string | Nil) => str is string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Reads the `--commons-pushPanel-inlineSize` design token — the inline-end space reserved for a
|
|
50
|
+
* docked panel that shrinks the page content — from the document root, in pixels.
|
|
51
|
+
* Returns 0 when the token is unset or cannot be parsed as a pixel length.
|
|
52
|
+
*/
|
|
53
|
+
declare function getPushPanelInlineSize(element: Element): number;
|
|
54
|
+
/**
|
|
55
|
+
* Builds a per-side viewport margin for a CDK `FlexibleConnectedPositionStrategy` so connected
|
|
56
|
+
* overlays (popovers, tooltips, selects…) are pushed out of the reserved pushPanel zone on the
|
|
57
|
+
* inline-end instead of overflowing into it. `base` is added to every side so an existing uniform
|
|
58
|
+
* margin is preserved.
|
|
59
|
+
*/
|
|
60
|
+
declare function getPushPanelViewportMargin(element: Element, base?: number): {
|
|
61
|
+
start: number;
|
|
62
|
+
end: number;
|
|
63
|
+
top: number;
|
|
64
|
+
bottom: number;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export { DECORATIVE_PALETTE, PALETTE, PRODUCT_PALETTE, PrClass, assertNotNil, getPushPanelInlineSize, getPushPanelViewportMargin, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, ɵeffectWithDeps };
|
|
68
|
+
export type { DecorativePalette, EffectWithDepsInput, Palette, ProductPalette };
|
|
@@ -8,7 +8,7 @@ type IconSize = (typeof ICON_SIZE)[number];
|
|
|
8
8
|
declare const ICON_COLOR: readonly ["product", "error", "warning", "success", "light", "placeholder", "inherit"];
|
|
9
9
|
type IconColor = (typeof ICON_COLOR)[number];
|
|
10
10
|
|
|
11
|
-
type LuccaIcon = 'app' | 'apps' | 'nineTiles' | 'mosaic' | 'tiles' | 'appWidget' | 'arrowBackward' | 'backward' | 'arrowBottom' | 'arrowFullSouth' | 'arrowBottomLeft' | 'arrowBottomRight' | 'arrowCenterReduce' | 'arrowChevronBottom' | 'arrowSouth' | 'southArrow' | 'southThinArrow' | 'chevronSouth' | 'chevronBottom' | 'arrowChevronLeft' | 'arrowWest' | 'westArrow' | 'westThinArrow' | 'chevronWest' | 'chevronLeft' | 'arrowChevronRight' | 'arrowEast' | 'eastArrow' | 'eastThinArrow' | 'chevronEast' | 'chevronRight' | 'arrowChevronTop' | 'arrowNorth' | 'northArrow' | 'northThinArrow' | 'chevronNorth' | 'chevronTop' | 'arrowCorner' | 'distribute' | 'arrowCornerExpand' | 'arrowCurvedDownRight' | 'arrowDownload' | 'download' | 'arrowExternal' | 'outside' | 'arrowForward' | 'arrowDouble' | 'forward' | 'arrowLeft' | 'arrowFullWest' | 'arrowLineBottom' | 'arrowLineTop' | 'arrowLogin' | 'login' | 'arrowLogout' | 'logout' | 'arrowOppositeLeftRight' | 'arrowOppositeHorizontal' | 'swap' | 'arrowOppositeRightLeft' | 'arrowOppositeTopBottom' | 'arrowOppositeVertical' | 'creditDebit' | 'arrowReply' | 'reply' | 'arrowReset' | 'refresh' | 'update' | 'arrowRight' | 'arrowFullEast' | 'arrowSync' | 'sync' | 'arrowSyncStrikethrough' | 'syncDisabled' | 'arrowTop' | 'arrowFullNorth' | 'arrowTopLeft' | 'arrowTopRight' | 'arrowUnfoldLess' | 'collapse' | 'arrowUnfoldMore' | 'expand' | 'arrowUpload' | 'upload' | 'cloudUpload' | 'bell' | 'notification' | 'bellStrikethrough' | 'book' | 'bookmark' | 'bookmarkFilled' | 'boxArchive' | 'archive' | 'boxUnarchive' | 'unarchive' | 'branch' | 'bubbleAnswer' | 'answer' | 'bubbleConversation' | 'messenger' | 'bubbleSpeech' | 'chat' | 'talk' | 'dialog' | 'bubbleSpeechStrikethrough' | 'bubbleStars' | 'buildingCompany' | 'building' | 'establishment' | 'buildingHouse' | 'house' | 'home' | 'buildingHouseFilled' | 'houseFilled' | 'homeFill' | 'buildingHouseStarred' | 'houseStarred' | 'homeStarred' | 'buildingStore' | 'store' | 'bulb' | 'lightBulb' | 'calendarChecked' | 'calendarDate' | 'calendar' | 'planning' | 'calendarEdit' | 'planningEdit' | 'calendarPlanning' | 'payPeriod' | 'calendarSettings' | 'planningManage' | 'calendarStrikethrough' | 'calendarOff' | 'capCrown' | 'crown' | 'capGraduate' | 'graduate' | 'school' | 'certificationFailed' | 'certifKo' | 'certificationSuccess' | 'certifOk' | 'certificationWaiting' | 'certifWaiting' | 'chartDonut' | 'donut' | 'donutChart' | 'chartFlow' | 'familyTree' | 'orgTree' | 'chartHorizontalBar' | 'horizontalBarChart' | 'chartLevels' | 'level' | 'chartPie' | 'dashboard' | 'chartSpider' | 'chartVerticalBar' | 'analytics' | 'charts' | 'clipboard' | 'paste' | 'completion' | 'cornersFocus' | 'cornersFullscreenExit' | 'fullscreenExit' | 'cornersFullscreenOpen' | 'fullscreen' | 'dataTable' | 'table' | 'database' | 'databaseArrow' | 'apiSync' | 'deviceCamera' | 'camera' | 'deviceComputer' | 'computer' | 'deviceLaptop' | 'laptop' | 'deviceMobile' | 'deviceMouse' | 'computerMouse' | 'devicePrinter' | 'print' | 'deviceTablet' | 'deviceVideo' | 'dotsDrag' | 'drag' | 'emojiSmile' | 'eye' | 'watch' | 'eyeStrikethrough' | 'unwatch' | 'fileContract' | 'contract' | 'fileCopy' | 'copy' | 'fileDocument' | 'file' | 'files' | 'fileExport' | 'fileFolder' | 'folder' | 'fileImport' | 'importDirty' | 'importPristine' | 'filePlus' | 'fileSign' | 'sign' | 'filtersDescending' | 'filterAbstract' | 'filtersFunnel' | 'funnel' | 'filter' | 'filtersSort' | 'sort' | 'reorder' | 'flag' | 'floppyDiskSave' | 'save' | 'foodBirthdayCake' | 'birthday' | 'foodBobun' | 'lunchAlternative' | 'foodBurger' | 'lunch' | 'foodChefHat' | 'restaurant' | 'foodClocheDish' | 'diner' | 'foodCocktail' | 'drink' | 'foodCoffee' | 'coffee' | 'breaktime' | 'foodCroissant' | 'breakfast' | 'foodCutlery' | 'meal' | 'foodSandwich' | 'snack' | 'formatBulletedList' | 'list' | 'formatClipperAttachment' | 'attach' | 'formatCornerUpLeft' | 'formatUndo' | 'formatCornerUpRight' | 'formatRedo' | 'formatLink' | 'formatNumberedList' | 'formatListNb' | 'formatText' | 'formatJustify' | 'formatTextBold' | 'formatBold' | 'formatTextClear' | 'formatClear' | 'formatTextItalic' | 'formatItalic' | 'formatTextSize' | 'formatSize' | 'formatTextStrikethrough' | 'formatStrikethrough' | 'formatTextUnderline' | 'formatUnderlined' | 'formatUnlink' | 'unlink' | 'gift' | 'present' | 'heart' | 'heartFilled' | 'heartStrikethrough' | 'brokenHeart' | 'hotelBed' | 'bed' | 'hotel' | 'hotelHanger' | 'hanger' | 'hotelIron' | 'iron' | 'pressing' | 'hotelLuggage' | 'luggage' | 'jigsawPuzzle' | 'puzzle' | 'journey' | 'milestone' | 'jumpingCc' | 'lucca' | 'laboratoryTestFlask' | 'test' | 'layers' | 'floor' | 'listChecked' | 'listChecklist' | 'listTodo' | 'listMultipleChoices' | 'lockClose' | 'lock' | 'lockKey' | 'key' | 'lockOpen' | 'unlock' | 'mailEnvelope' | 'mail' | 'mailMailbox' | 'mailbox' | 'stamp' | 'postage' | 'mailPaperPlane' | 'send' | 'mapGlobe' | 'globe' | 'mapLocation' | 'location' | 'mapPin' | 'pin' | 'mapPlan' | 'mapTripStep' | 'mathsDivide' | 'divide' | 'mathsEquals' | 'mathsMinus' | 'minus' | 'partial' | 'minimize' | 'mathsMultiplicate' | 'close' | 'thinCross' | 'cross' | 'crossBold' | 'mathsNotEqual' | 'mathsPlus' | 'plus' | 'plusBold' | 'medicalDoctor' | 'menuBurger' | 'menu' | 'hamburgerMenu' | 'menuDots' | 'menuEllipsis' | 'ellipsis' | 'moneyBag' | 'moneybag' | 'moneyBagStrikethrough' | 'noMoney' | 'moneyBankImport' | 'moneyBanknoteStrikethrough' | 'moneyBill' | 'bill' | 'moneyBuildingBank' | 'bank' | 'moneyCardCheck' | 'moneyCardImport' | 'importCb' | 'moneyCheck' | 'moneyCoins' | 'money' | 'payment' | 'moneyCurrencyDollar' | 'dollar' | 'moneyCurrencyEuro' | 'euro' | 'moneyIban' | 'moneyPaymentCard' | 'bankingCard' | 'moneyPaymentCards' | 'moneyPiggyBank' | 'piggyBank' | 'moneyWallet' | 'wallet' | 'officeBriefcase' | 'officeChair' | 'chair' | 'officeCompass' | 'compass' | 'officeElectricalPlug' | 'officeFirstAid' | 'officeMicrophone' | 'officePen' | 'edit' | 'editMini' | 'officePenStar' | 'officePenWriting' | 'editWrite' | 'editFrame' | 'officePhone' | 'telephone' | 'officeScissors' | 'cut' | 'officeSupplies' | 'supplies' | 'peopleAccessibility' | 'peopleAdd' | 'userAdd' | 'adduser' | 'peopleArrowUp' | 'peopleEdit' | 'peopleFolder' | 'peopleGroup' | 'userGroup' | 'group' | 'peopleHouse' | 'peopleId' | 'identityCard' | 'userFile' | 'dossierRh' | 'peopleLocked' | 'userRoles' | 'peoplePerson' | 'user' | 'face' | 'peopleRemove' | 'userRemove' | 'peopleSwitch' | 'send2user' | 'userSendTo' | 'peopleTeacher' | 'teacher' | 'pictureGallery' | 'gallery' | 'pictureImage' | 'image' | 'picturePalette' | 'palette' | 'playerPauseCircle' | 'pause' | 'playerPlay' | 'playFull' | 'playerPlayCircle' | 'play' | 'playerRecording' | 'playerStopCircle' | 'stop' | 'priceTag' | 'pricetag' | 'priorityHigh' | 'high' | 'priorityHigher' | 'higher' | 'priorityHighest' | 'highest' | 'priorityLow' | 'low' | 'priorityLower' | 'lower' | 'priorityLowest' | 'lowest' | 'priorityMedium' | 'medium' | 'rotationLeft' | 'rotate' | 'rotationRight' | 'rotateRight' | 'searchMagnifyingGlass' | 'search' | 'searchZoomIn' | 'searchZoomOut' | 'settingsEqualizer' | 'sliders' | 'settingsGear' | 'settings' | 'settingsTools' | 'tools' | 'share' | 'signAt' | 'signBan' | 'forbidden' | 'signCancel' | 'cancel' | 'signCheckbox' | 'signClose' | 'signConfirm' | 'confirm' | 'tick' | 'tickThin' | 'tickBold' | 'signConstruction' | 'build' | 'signDecimal' | 'signDiscount' | 'discount' | 'signError' | 'error' | 'signHelp' | 'help' | 'helpOutline' | 'signInfo' | 'info' | 'signParking' | 'parking' | 'signRating' | 'signShieldError' | 'signShieldSuccess' | 'signShieldWarning' | 'signSimpleChoice' | 'signSuccess' | 'success' | 'signTag' | 'signTranslation' | 'signWarning' | 'warning' | 'signWebhook' | 'soundMegaphone' | 'star' | 'unstared' | 'starFilled' | 'target' | 'thumbDown' | 'thumbDownFilled' | 'thumbUp' | 'thumbUpFilled' | 'thumbnail' | 'timeAlarm' | 'alarm' | 'timeClock' | 'clock' | 'timeFuture' | 'postpone' | 'timeHourglass' | 'timer' | 'timePast' | 'history' | 'timeTimer' | 'chronoOn' | 'timeTimerStrikethrough' | 'overplanned' | 'timeTimesheet' | 'timesheet' | 'transportBus' | 'bus' | 'transportCar' | 'car' | 'transportCarElectric' | 'transportCarwashStation' | 'cleanCar' | 'transportGazStation' | 'gasoline' | 'transportMotocycle' | 'transportMotocycleElectric' | 'transportPlane' | 'plane' | 'transportRocket' | 'rocket' | 'transportScooter' | 'transportScooterElectric' | 'transportSpeedometer' | 'speedometer' | 'mileage' | 'transportSubway' | 'subway' | 'transportTaxi' | 'taxi' | 'transportToll' | 'toll' | 'tollDollar' | 'tollEuro' | 'transportTrain' | 'train' | 'transportTruck' | 'truck' | 'trashDelete' | 'trash' | 'trendingGrowth' | 'evolution' | 'trendingLoss' | 'evolutionDown' | 'weatherCloudy' | 'weatherLightning' | 'weatherStars' | 'weatherStormy' | 'weatherStorm' | 'weatherSunny' | 'weatherSun' | 'weight' | 'window' | 'windowAside' | 'windowAsideLarge' | 'windowCornerBottom' | 'windowCornerTop';
|
|
11
|
+
type LuccaIcon = 'app' | 'apps' | 'nineTiles' | 'mosaic' | 'tiles' | 'appWidget' | 'arrowBackward' | 'backward' | 'arrowBottom' | 'arrowFullSouth' | 'arrowBottomLeft' | 'arrowBottomRight' | 'arrowCenterReduce' | 'arrowChevronBottom' | 'arrowSouth' | 'southArrow' | 'southThinArrow' | 'chevronSouth' | 'chevronBottom' | 'arrowChevronLeft' | 'arrowWest' | 'westArrow' | 'westThinArrow' | 'chevronWest' | 'chevronLeft' | 'arrowChevronRight' | 'arrowEast' | 'eastArrow' | 'eastThinArrow' | 'chevronEast' | 'chevronRight' | 'arrowChevronTop' | 'arrowNorth' | 'northArrow' | 'northThinArrow' | 'chevronNorth' | 'chevronTop' | 'arrowCorner' | 'distribute' | 'arrowCornerExpand' | 'arrowCurvedDownRight' | 'arrowUndo' | 'arrowRedo' | 'arrowDownload' | 'download' | 'arrowExternal' | 'outside' | 'arrowForward' | 'arrowDouble' | 'forward' | 'arrowLeft' | 'arrowFullWest' | 'arrowLineBottom' | 'arrowLineTop' | 'arrowLogin' | 'login' | 'arrowLogout' | 'logout' | 'arrowOppositeLeftRight' | 'arrowOppositeHorizontal' | 'swap' | 'arrowOppositeRightLeft' | 'arrowOppositeTopBottom' | 'arrowOppositeVertical' | 'creditDebit' | 'arrowReply' | 'reply' | 'arrowReset' | 'refresh' | 'update' | 'arrowRight' | 'arrowFullEast' | 'arrowSync' | 'sync' | 'arrowSyncStrikethrough' | 'syncDisabled' | 'arrowTop' | 'arrowFullNorth' | 'arrowTopLeft' | 'arrowTopRight' | 'arrowUnfoldLess' | 'collapse' | 'arrowUnfoldMore' | 'expand' | 'arrowUpload' | 'upload' | 'cloudUpload' | 'bell' | 'notification' | 'bellStrikethrough' | 'book' | 'bookmark' | 'bookmarkFilled' | 'boxArchive' | 'archive' | 'boxUnarchive' | 'unarchive' | 'branch' | 'bubbleAnswer' | 'answer' | 'bubbleConversation' | 'messenger' | 'bubbleSpeech' | 'chat' | 'talk' | 'dialog' | 'bubbleSpeechStrikethrough' | 'bubbleStars' | 'buildingCompany' | 'building' | 'establishment' | 'buildingHouse' | 'house' | 'home' | 'buildingHouseFilled' | 'houseFilled' | 'homeFill' | 'buildingHouseStarred' | 'houseStarred' | 'homeStarred' | 'buildingStore' | 'store' | 'bulb' | 'lightBulb' | 'calendarChecked' | 'calendarDate' | 'calendar' | 'planning' | 'calendarEdit' | 'planningEdit' | 'calendarPlanning' | 'payPeriod' | 'calendarSettings' | 'planningManage' | 'calendarStrikethrough' | 'calendarOff' | 'capCrown' | 'crown' | 'capGraduate' | 'graduate' | 'school' | 'certificationFailed' | 'certifKo' | 'certificationSuccess' | 'certifOk' | 'certificationWaiting' | 'certifWaiting' | 'chartDonut' | 'donut' | 'donutChart' | 'chartFlow' | 'familyTree' | 'orgTree' | 'chartHorizontalBar' | 'horizontalBarChart' | 'chartLevels' | 'level' | 'chartPie' | 'dashboard' | 'chartSpider' | 'chartVerticalBar' | 'analytics' | 'charts' | 'clipboard' | 'paste' | 'completion' | 'cornersFocus' | 'cornersFullscreenExit' | 'fullscreenExit' | 'cornersFullscreenOpen' | 'fullscreen' | 'dataTable' | 'table' | 'database' | 'databaseArrow' | 'apiSync' | 'deviceCamera' | 'camera' | 'deviceComputer' | 'computer' | 'deviceLaptop' | 'laptop' | 'deviceMobile' | 'deviceMouse' | 'computerMouse' | 'devicePrinter' | 'print' | 'deviceTablet' | 'deviceVideo' | 'dotsDrag' | 'drag' | 'emojiSmile' | 'eye' | 'watch' | 'eyeStrikethrough' | 'unwatch' | 'fileContract' | 'contract' | 'fileCopy' | 'copy' | 'fileDocument' | 'file' | 'files' | 'fileExport' | 'fileFolder' | 'folder' | 'fileImport' | 'importDirty' | 'importPristine' | 'filePlus' | 'fileSign' | 'sign' | 'filtersDescending' | 'filterAbstract' | 'filtersFunnel' | 'funnel' | 'filter' | 'filtersSort' | 'sort' | 'reorder' | 'flag' | 'floppyDiskSave' | 'save' | 'foodBirthdayCake' | 'birthday' | 'foodBobun' | 'lunchAlternative' | 'foodBurger' | 'lunch' | 'foodChefHat' | 'restaurant' | 'foodClocheDish' | 'diner' | 'foodCocktail' | 'drink' | 'foodCoffee' | 'coffee' | 'breaktime' | 'foodCroissant' | 'breakfast' | 'foodCutlery' | 'meal' | 'foodSandwich' | 'snack' | 'formatBulletedList' | 'list' | 'formatClipperAttachment' | 'attach' | 'formatCornerUpLeft' | 'formatUndo' | 'formatCornerUpRight' | 'formatRedo' | 'formatLink' | 'formatNumberedList' | 'formatListNb' | 'formatText' | 'formatJustify' | 'formatTextBold' | 'formatBold' | 'formatTextClear' | 'formatClear' | 'formatTextItalic' | 'formatItalic' | 'formatTextSize' | 'formatSize' | 'formatTextStrikethrough' | 'formatStrikethrough' | 'formatTextUnderline' | 'formatUnderlined' | 'formatUnlink' | 'unlink' | 'gift' | 'present' | 'heart' | 'heartFilled' | 'heartStrikethrough' | 'brokenHeart' | 'hotelBed' | 'bed' | 'hotel' | 'hotelHanger' | 'hanger' | 'hotelIron' | 'iron' | 'pressing' | 'hotelLuggage' | 'luggage' | 'jigsawPuzzle' | 'puzzle' | 'journey' | 'milestone' | 'jumpingCc' | 'lucca' | 'laboratoryTestFlask' | 'test' | 'layers' | 'floor' | 'listChecked' | 'listChecklist' | 'listTodo' | 'listMultipleChoices' | 'lockClose' | 'lock' | 'lockKey' | 'key' | 'lockOpen' | 'unlock' | 'mailEnvelope' | 'mail' | 'mailMailbox' | 'mailbox' | 'stamp' | 'postage' | 'mailPaperPlane' | 'send' | 'mapGlobe' | 'globe' | 'mapLocation' | 'location' | 'mapPin' | 'pin' | 'mapPlan' | 'mapTripStep' | 'mathsDivide' | 'divide' | 'mathsEquals' | 'mathsMinus' | 'minus' | 'partial' | 'minimize' | 'mathsMultiplicate' | 'close' | 'thinCross' | 'cross' | 'crossBold' | 'mathsNotEqual' | 'mathsPlus' | 'plus' | 'plusBold' | 'medicalDoctor' | 'menuBurger' | 'menu' | 'hamburgerMenu' | 'menuDots' | 'menuEllipsis' | 'ellipsis' | 'moneyBag' | 'moneybag' | 'moneyBagStrikethrough' | 'noMoney' | 'moneyBankImport' | 'moneyBanknoteStrikethrough' | 'moneyBill' | 'bill' | 'moneyBuildingBank' | 'bank' | 'moneyCardCheck' | 'moneyCardImport' | 'importCb' | 'moneyCheck' | 'moneyCoins' | 'money' | 'payment' | 'moneyCurrencyDollar' | 'dollar' | 'moneyCurrencyEuro' | 'euro' | 'moneyIban' | 'moneyPaymentCard' | 'bankingCard' | 'moneyPaymentCards' | 'moneyPiggyBank' | 'piggyBank' | 'moneyWallet' | 'wallet' | 'officeBriefcase' | 'officeChair' | 'chair' | 'officeCompass' | 'compass' | 'officeElectricalPlug' | 'officeFirstAid' | 'officeMicrophone' | 'officePen' | 'edit' | 'editMini' | 'officePenStar' | 'officePenWriting' | 'editWrite' | 'editFrame' | 'officePhone' | 'telephone' | 'officeScissors' | 'cut' | 'officeSupplies' | 'supplies' | 'peopleAccessibility' | 'peopleAdd' | 'userAdd' | 'adduser' | 'peopleArrowUp' | 'peopleEdit' | 'peopleFolder' | 'peopleGroup' | 'userGroup' | 'group' | 'peopleHouse' | 'peopleId' | 'identityCard' | 'userFile' | 'dossierRh' | 'peopleLocked' | 'userRoles' | 'peoplePerson' | 'user' | 'face' | 'peopleRemove' | 'userRemove' | 'peopleSwitch' | 'send2user' | 'userSendTo' | 'peopleTeacher' | 'teacher' | 'pictureGallery' | 'gallery' | 'pictureImage' | 'image' | 'picturePalette' | 'palette' | 'playerPauseCircle' | 'pause' | 'playerPlay' | 'playFull' | 'playerPlayCircle' | 'play' | 'playerRecording' | 'playerStopCircle' | 'stop' | 'priceTag' | 'pricetag' | 'priorityHigh' | 'high' | 'priorityHigher' | 'higher' | 'priorityHighest' | 'highest' | 'priorityLow' | 'low' | 'priorityLower' | 'lower' | 'priorityLowest' | 'lowest' | 'priorityMedium' | 'medium' | 'rotationLeft' | 'rotate' | 'rotationRight' | 'rotateRight' | 'searchMagnifyingGlass' | 'search' | 'searchZoomIn' | 'searchZoomOut' | 'settingsEqualizer' | 'sliders' | 'settingsGear' | 'settings' | 'settingsTools' | 'tools' | 'share' | 'signAt' | 'signBan' | 'forbidden' | 'signCancel' | 'cancel' | 'signCheckbox' | 'signClose' | 'signConfirm' | 'confirm' | 'tick' | 'tickThin' | 'tickBold' | 'signConstruction' | 'build' | 'signDecimal' | 'signDiscount' | 'discount' | 'signError' | 'error' | 'signHelp' | 'help' | 'helpOutline' | 'signInfo' | 'info' | 'signParking' | 'parking' | 'signRating' | 'signShieldError' | 'signShieldSuccess' | 'signShieldWarning' | 'signShieldCancel' | 'signSimpleChoice' | 'signSuccess' | 'success' | 'signTag' | 'signTranslation' | 'signWarning' | 'warning' | 'signWebhook' | 'soundMegaphone' | 'star' | 'unstared' | 'starFilled' | 'target' | 'thumbDown' | 'thumbDownFilled' | 'thumbUp' | 'thumbUpFilled' | 'thumbnail' | 'timeAlarm' | 'alarm' | 'timeClock' | 'clock' | 'timeFuture' | 'postpone' | 'timeHourglass' | 'timer' | 'timePast' | 'history' | 'timeTimer' | 'chronoOn' | 'timeTimerStrikethrough' | 'overplanned' | 'timeTimesheet' | 'timesheet' | 'transportBus' | 'bus' | 'transportCar' | 'car' | 'transportCarElectric' | 'transportCarwashStation' | 'cleanCar' | 'transportGazStation' | 'gasoline' | 'transportMotocycle' | 'transportMotocycleElectric' | 'transportPlane' | 'plane' | 'transportRocket' | 'rocket' | 'transportScooter' | 'transportScooterElectric' | 'transportSpeedometer' | 'speedometer' | 'mileage' | 'transportSubway' | 'subway' | 'transportTaxi' | 'taxi' | 'transportToll' | 'toll' | 'tollDollar' | 'tollEuro' | 'transportTrain' | 'train' | 'transportTruck' | 'truck' | 'trashDelete' | 'trash' | 'trendingGrowth' | 'evolution' | 'trendingLoss' | 'evolutionDown' | 'weatherCloudy' | 'weatherLightning' | 'weatherStars' | 'weatherStormy' | 'weatherStorm' | 'weatherSunny' | 'weatherSun' | 'weight' | 'window' | 'windowAside' | 'windowAsideLarge' | 'windowCornerBottom' | 'windowCornerTop';
|
|
12
12
|
|
|
13
13
|
declare class IconComponent {
|
|
14
14
|
/**
|
|
@@ -30,7 +30,7 @@ declare class IconComponent {
|
|
|
30
30
|
/**
|
|
31
31
|
* Display icon in AI mode
|
|
32
32
|
*/
|
|
33
|
-
readonly AI: _angular_core.InputSignalWithTransform<boolean,
|
|
33
|
+
readonly AI: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
34
34
|
readonly iconClasses: _angular_core.Signal<{
|
|
35
35
|
[x: string]: boolean;
|
|
36
36
|
}>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Available NumericBadgeComponent Types
|
|
5
|
+
*/
|
|
6
|
+
declare const NUMERIC_BADGE_SIZE: readonly ["XS", "S", "M"];
|
|
7
|
+
type NumericBadgeSize = (typeof NUMERIC_BADGE_SIZE)[number];
|
|
8
|
+
|
|
9
|
+
declare class NumericBadgeComponent {
|
|
10
|
+
#private;
|
|
11
|
+
/**
|
|
12
|
+
* The value to display, number or string contains number only.
|
|
13
|
+
*/
|
|
14
|
+
readonly value: _angular_core.InputSignal<string | number>;
|
|
15
|
+
/**
|
|
16
|
+
* The size of the badge
|
|
17
|
+
*/
|
|
18
|
+
readonly size: _angular_core.InputSignal<"XS" | "S" | "M">;
|
|
19
|
+
/**
|
|
20
|
+
* The palette to use for this badge. Defaults to 'none' (inherits parent palette)
|
|
21
|
+
*/
|
|
22
|
+
readonly palette: _angular_core.InputSignal<"success" | "warning" | "error" | "product" | "neutral" | "none" | "brand">;
|
|
23
|
+
/**
|
|
24
|
+
* Applies the loading state
|
|
25
|
+
*/
|
|
26
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
/**
|
|
28
|
+
* Indicates the maximum value of number for the numeric badge
|
|
29
|
+
*/
|
|
30
|
+
readonly maxValue: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
31
|
+
/**
|
|
32
|
+
* Disabled tooltip on numeric badge
|
|
33
|
+
*/
|
|
34
|
+
readonly disableTooltip: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
35
|
+
readonly ariaHidden: _angular_core.Signal<string>;
|
|
36
|
+
readonly numericBadgeClasses: _angular_core.Signal<{
|
|
37
|
+
[x: string]: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
readonly displayValue: _angular_core.Signal<string | number>;
|
|
40
|
+
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
41
|
+
constructor();
|
|
42
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumericBadgeComponent, never>;
|
|
43
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NumericBadgeComponent, "lu-numeric-badge,pr-numeric-badge", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "disableTooltip": { "alias": "disableTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { NUMERIC_BADGE_SIZE, NumericBadgeComponent };
|
|
47
|
+
export type { NumericBadgeSize };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class SkeletonButtonComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Applies dark color for skeleton
|
|
6
|
+
*/
|
|
7
|
+
readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
8
|
+
/**
|
|
9
|
+
* Changes the size of the skeleton button
|
|
10
|
+
*/
|
|
11
|
+
readonly size: _angular_core.InputSignal<"XS" | "S" | "M">;
|
|
12
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonButtonComponent, never>;
|
|
13
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonButtonComponent, "lu-skeleton-button,pr-skeleton-button", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Available SkeletonButtonComponent Sizes
|
|
18
|
+
*/
|
|
19
|
+
declare const SKELETON_BUTTON_SIZE: readonly ["XS", "S", "M"];
|
|
20
|
+
type SkeletonButtonSize = (typeof SKELETON_BUTTON_SIZE)[number];
|
|
21
|
+
|
|
22
|
+
declare class SkeletonCardComponent {
|
|
23
|
+
/**
|
|
24
|
+
* Defines the number of description lines in card
|
|
25
|
+
*/
|
|
26
|
+
readonly descriptionLines: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
27
|
+
readonly lines: _angular_core.Signal<unknown[]>;
|
|
28
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
29
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonCardComponent, never>;
|
|
30
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonCardComponent, "lu-skeleton-card", never, { "descriptionLines": { "alias": "descriptionLines"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare class SkeletonDataTableComponent {
|
|
34
|
+
/**
|
|
35
|
+
* Skeleton only show in data table body
|
|
36
|
+
*/
|
|
37
|
+
readonly dataTableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
38
|
+
/**
|
|
39
|
+
* Defines the number of cols (5 by default)
|
|
40
|
+
*/
|
|
41
|
+
readonly cols: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
42
|
+
readonly colsAlign: _angular_core.InputSignal<Record<number, "start" | "center" | "end">>;
|
|
43
|
+
/**
|
|
44
|
+
* Defines the number of row (8 by default)
|
|
45
|
+
*/
|
|
46
|
+
readonly rows: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
47
|
+
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
48
|
+
readonly rowsNumber: _angular_core.Signal<unknown[]>;
|
|
49
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonDataTableComponent, never>;
|
|
51
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonDataTableComponent, "lu-skeleton-data-table,pr-skeleton-data-table", never, { "dataTableBodyOnly": { "alias": "dataTableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "colsAlign": { "alias": "colsAlign"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
declare class SkeletonFancyBoxComponent {
|
|
55
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
56
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonFancyBoxComponent, never>;
|
|
57
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonFancyBoxComponent, "lu-skeleton-fancy-box", never, {}, {}, never, never, true, never>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare class SkeletonFieldComponent {
|
|
61
|
+
/**
|
|
62
|
+
* Applies dark color for skeleton
|
|
63
|
+
*/
|
|
64
|
+
readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
65
|
+
/**
|
|
66
|
+
* Hide the field label skeleton
|
|
67
|
+
*/
|
|
68
|
+
readonly hiddenLabel: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
69
|
+
/**
|
|
70
|
+
* Changes the size of the skeleton field
|
|
71
|
+
*/
|
|
72
|
+
readonly size: _angular_core.InputSignal<"XS" | "S" | "M">;
|
|
73
|
+
/**
|
|
74
|
+
* Defines the number of row
|
|
75
|
+
*/
|
|
76
|
+
readonly rows: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
77
|
+
readonly lines: _angular_core.Signal<unknown[]>;
|
|
78
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
79
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonFieldComponent, never>;
|
|
80
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonFieldComponent, "lu-skeleton-field,pr-skeleton-field", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
declare class SkeletonHeaderComponent {
|
|
84
|
+
/**
|
|
85
|
+
* Applies dark color for skeleton
|
|
86
|
+
*/
|
|
87
|
+
readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
88
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonHeaderComponent, never>;
|
|
89
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonHeaderComponent, "lu-skeleton-header,pr-skeleton-header", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
declare class SkeletonHighlightDataComponent {
|
|
93
|
+
/**
|
|
94
|
+
* Applies dark color for skeleton
|
|
95
|
+
*/
|
|
96
|
+
readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
97
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
98
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonHighlightDataComponent, never>;
|
|
99
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonHighlightDataComponent, "lu-skeleton-highlight-data", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
declare class SkeletonIndexTableComponent {
|
|
103
|
+
/**
|
|
104
|
+
* Skeleton only show in index table body
|
|
105
|
+
*/
|
|
106
|
+
readonly tableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
107
|
+
/**
|
|
108
|
+
* Defines the number of cols (5 by default)
|
|
109
|
+
*/
|
|
110
|
+
readonly cols: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
111
|
+
readonly colsAlign: _angular_core.InputSignal<Record<number, "start" | "center" | "end">>;
|
|
112
|
+
/**
|
|
113
|
+
* Defines the number of row (8 by default)
|
|
114
|
+
*/
|
|
115
|
+
readonly rows: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
116
|
+
readonly rowsNumber: _angular_core.Signal<unknown[]>;
|
|
117
|
+
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
118
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
119
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonIndexTableComponent, never>;
|
|
120
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonIndexTableComponent, "lu-skeleton-index-table,pr-skeleton-index-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "colsAlign": { "alias": "colsAlign"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
type ColAlignTable = 'start' | 'center' | 'end';
|
|
124
|
+
declare class SkeletonTableComponent {
|
|
125
|
+
/**
|
|
126
|
+
* Skeleton only show in table body
|
|
127
|
+
*/
|
|
128
|
+
readonly tableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
129
|
+
/**
|
|
130
|
+
* Defines the number of cols (5 by default)
|
|
131
|
+
*/
|
|
132
|
+
readonly cols: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
133
|
+
readonly colsAlign: _angular_core.InputSignal<Record<number, "start" | "center" | "end">>;
|
|
134
|
+
/**
|
|
135
|
+
* Defines the number of row (8 by default)
|
|
136
|
+
*/
|
|
137
|
+
readonly rows: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
138
|
+
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
139
|
+
readonly rowsNumber: _angular_core.Signal<unknown[]>;
|
|
140
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
141
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonTableComponent, never>;
|
|
142
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonTableComponent, "lu-skeleton-table,pr-skeleton-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "colsAlign": { "alias": "colsAlign"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
declare class SkeletonUserPopoverComponent {
|
|
146
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
147
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonUserPopoverComponent, never>;
|
|
148
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonUserPopoverComponent, "lu-skeleton-user-popover", never, {}, {}, never, never, true, never>;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Available SkeletonComponent Types
|
|
153
|
+
*/
|
|
154
|
+
declare const SKELETON_COLS_ALIGN: readonly ["start", "center", "end"];
|
|
155
|
+
type SkeletonColsAlign = (typeof SKELETON_COLS_ALIGN)[number];
|
|
156
|
+
|
|
157
|
+
export { SKELETON_BUTTON_SIZE, SKELETON_COLS_ALIGN, SkeletonButtonComponent, SkeletonCardComponent, SkeletonDataTableComponent, SkeletonFancyBoxComponent, SkeletonFieldComponent, SkeletonHeaderComponent, SkeletonHighlightDataComponent, SkeletonIndexTableComponent, SkeletonTableComponent, SkeletonUserPopoverComponent };
|
|
158
|
+
export type { ColAlignTable, SkeletonButtonSize, SkeletonColsAlign };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { LuccaIcon } from '@lucca/prisme/icon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Available TagComponent Types
|
|
6
|
+
*/
|
|
7
|
+
declare const TAG_SIZE: readonly ["S", "M", "L"];
|
|
8
|
+
type TagSize = (typeof TAG_SIZE)[number];
|
|
9
|
+
|
|
10
|
+
declare class TagComponent {
|
|
11
|
+
/**
|
|
12
|
+
* Which text should the tag be? Defaults to medium
|
|
13
|
+
*/
|
|
14
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
15
|
+
/**
|
|
16
|
+
* Which size should the tag be? Defaults to medium
|
|
17
|
+
*/
|
|
18
|
+
readonly size: _angular_core.InputSignal<"S" | "M" | "L">;
|
|
19
|
+
/**
|
|
20
|
+
* Which palette should be used for the entire tag.
|
|
21
|
+
* Defaults to none (inherits parent palette)
|
|
22
|
+
*/
|
|
23
|
+
readonly palette: _angular_core.InputSignal<"success" | "warning" | "error" | "product" | "neutral" | "none" | "brand" | "kiwi" | "lime" | "cucumber" | "mint" | "glacier" | "lagoon" | "blueberry" | "lavender" | "grape" | "watermelon" | "pumpkin" | "pineapple">;
|
|
24
|
+
/**
|
|
25
|
+
* Should display be outlined?
|
|
26
|
+
*/
|
|
27
|
+
readonly outlined: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
/**
|
|
29
|
+
* For routerLink usage
|
|
30
|
+
*/
|
|
31
|
+
readonly link: _angular_core.InputSignal<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Which icon should we display in the tag if any?
|
|
34
|
+
* Defaults to no icon.
|
|
35
|
+
*/
|
|
36
|
+
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
37
|
+
/**
|
|
38
|
+
* Truncates the text with an ellipsis and adds a tooltip when the label is too long
|
|
39
|
+
*/
|
|
40
|
+
readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
41
|
+
/**
|
|
42
|
+
* Applies AI colors
|
|
43
|
+
*/
|
|
44
|
+
readonly AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
45
|
+
readonly tagClasses: _angular_core.Signal<{
|
|
46
|
+
[x: string]: boolean;
|
|
47
|
+
}>;
|
|
48
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
49
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag,pr-tag", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "outlined": { "alias": "outlined"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "withEllipsis": { "alias": "withEllipsis"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { TAG_SIZE, TagComponent };
|
|
53
|
+
export type { TagSize };
|