@i-cell/ids-angular 0.0.0-watch
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/README.md +24 -0
- package/accordion/index.d.ts +81 -0
- package/accordion/package.json +3 -0
- package/avatar/index.d.ts +66 -0
- package/avatar/package.json +3 -0
- package/badge/index.d.ts +61 -0
- package/badge/package.json +3 -0
- package/breadcrumb/index.d.ts +67 -0
- package/breadcrumb/package.json +3 -0
- package/button/index.d.ts +81 -0
- package/button/package.json +3 -0
- package/card/index.d.ts +91 -0
- package/card/package.json +3 -0
- package/checkbox/index.d.ts +137 -0
- package/checkbox/package.json +3 -0
- package/chip/index.d.ts +82 -0
- package/chip/package.json +3 -0
- package/core/index.d.ts +168 -0
- package/core/package.json +3 -0
- package/datepicker/index.d.ts +112 -0
- package/datepicker/package.json +3 -0
- package/dialog/index.d.ts +72 -0
- package/dialog/package.json +3 -0
- package/divider/index.d.ts +45 -0
- package/divider/package.json +3 -0
- package/fesm2022/i-cell-ids-angular-accordion.mjs +223 -0
- package/fesm2022/i-cell-ids-angular-accordion.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-avatar.mjs +125 -0
- package/fesm2022/i-cell-ids-angular-avatar.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-badge.mjs +172 -0
- package/fesm2022/i-cell-ids-angular-badge.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-breadcrumb.mjs +313 -0
- package/fesm2022/i-cell-ids-angular-breadcrumb.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-button.mjs +149 -0
- package/fesm2022/i-cell-ids-angular-button.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-card.mjs +222 -0
- package/fesm2022/i-cell-ids-angular-card.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-checkbox.mjs +350 -0
- package/fesm2022/i-cell-ids-angular-checkbox.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-chip.mjs +166 -0
- package/fesm2022/i-cell-ids-angular-chip.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-core.mjs +409 -0
- package/fesm2022/i-cell-ids-angular-core.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-datepicker.mjs +860 -0
- package/fesm2022/i-cell-ids-angular-datepicker.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-dialog.mjs +183 -0
- package/fesm2022/i-cell-ids-angular-dialog.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-divider.mjs +76 -0
- package/fesm2022/i-cell-ids-angular-divider.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-forms.mjs +972 -0
- package/fesm2022/i-cell-ids-angular-forms.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-icon-button.mjs +120 -0
- package/fesm2022/i-cell-ids-angular-icon-button.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-icon.mjs +158 -0
- package/fesm2022/i-cell-ids-angular-icon.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-menu.mjs +154 -0
- package/fesm2022/i-cell-ids-angular-menu.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-notification.mjs +167 -0
- package/fesm2022/i-cell-ids-angular-notification.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs +72 -0
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-paginator.mjs +319 -0
- package/fesm2022/i-cell-ids-angular-paginator.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-radio.mjs +312 -0
- package/fesm2022/i-cell-ids-angular-radio.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs +264 -0
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs +283 -0
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-select.mjs +549 -0
- package/fesm2022/i-cell-ids-angular-select.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-side-nav.mjs +375 -0
- package/fesm2022/i-cell-ids-angular-side-nav.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-side-sheet.mjs +179 -0
- package/fesm2022/i-cell-ids-angular-side-sheet.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-snackbar.mjs +440 -0
- package/fesm2022/i-cell-ids-angular-snackbar.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-spinner.mjs +67 -0
- package/fesm2022/i-cell-ids-angular-spinner.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-switch.mjs +181 -0
- package/fesm2022/i-cell-ids-angular-switch.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-tab.mjs +142 -0
- package/fesm2022/i-cell-ids-angular-tab.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-table.mjs +663 -0
- package/fesm2022/i-cell-ids-angular-table.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-tag.mjs +116 -0
- package/fesm2022/i-cell-ids-angular-tag.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-tooltip.mjs +586 -0
- package/fesm2022/i-cell-ids-angular-tooltip.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular.mjs +9 -0
- package/fesm2022/i-cell-ids-angular.mjs.map +1 -0
- package/forms/index.d.ts +470 -0
- package/forms/package.json +3 -0
- package/icon/index.d.ts +69 -0
- package/icon/package.json +3 -0
- package/icon-button/index.d.ts +68 -0
- package/icon-button/package.json +3 -0
- package/index.d.ts +2 -0
- package/menu/index.d.ts +68 -0
- package/menu/package.json +3 -0
- package/notification/index.d.ts +68 -0
- package/notification/package.json +3 -0
- package/overlay-panel/index.d.ts +41 -0
- package/overlay-panel/package.json +3 -0
- package/package.json +180 -0
- package/paginator/index.d.ts +122 -0
- package/paginator/package.json +3 -0
- package/radio/index.d.ts +95 -0
- package/radio/package.json +3 -0
- package/segmented-control/index.d.ts +98 -0
- package/segmented-control/package.json +3 -0
- package/segmented-control-toggle/index.d.ts +103 -0
- package/segmented-control-toggle/package.json +3 -0
- package/select/index.d.ts +103 -0
- package/select/package.json +3 -0
- package/side-nav/index.d.ts +107 -0
- package/side-nav/package.json +3 -0
- package/side-sheet/index.d.ts +84 -0
- package/side-sheet/package.json +3 -0
- package/snackbar/index.d.ts +149 -0
- package/snackbar/package.json +3 -0
- package/spinner/index.d.ts +41 -0
- package/spinner/package.json +3 -0
- package/switch/index.d.ts +89 -0
- package/switch/package.json +3 -0
- package/tab/index.d.ts +78 -0
- package/tab/package.json +3 -0
- package/table/index.d.ts +393 -0
- package/table/package.json +3 -0
- package/tag/index.d.ts +70 -0
- package/tag/package.json +3 -0
- package/tooltip/index.d.ts +96 -0
- package/tooltip/package.json +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-cell-ids-angular-tooltip.mjs","sources":["../../../projects/widgets/tooltip/types/tooltip-position.type.ts","../../../projects/widgets/tooltip/types/tooltip-variant.type.ts","../../../projects/widgets/tooltip/tooltip-defaults.ts","../../../projects/widgets/tooltip/tooltip-position-strategies.ts","../../../projects/widgets/tooltip/tooltip.component.ts","../../../projects/widgets/tooltip/tooltip.component.html","../../../projects/widgets/tooltip/utils/tooltip-converters.ts","../../../projects/widgets/tooltip/tooltip.directive.ts","../../../projects/widgets/tooltip/i-cell-ids-angular-tooltip.ts"],"sourcesContent":["export const IdsTooltipPosition = {\n NORTH: 'north',\n NORTHEAST: 'northeast',\n EAST: 'east',\n SOUTHEAST: 'southeast',\n SOUTH: 'south',\n SOUTHWEST: 'southwest',\n WEST: 'west',\n NORTHWEST: 'northwest',\n} as const;\n\nexport type IdsTooltipPositionType = (typeof IdsTooltipPosition)[keyof typeof IdsTooltipPosition];\n","export const IdsTooltipVariant = {\n LIGHT: 'light',\n DARK: 'dark',\n} as const;\n\nexport type IdsTooltipVariantType = (typeof IdsTooltipVariant)[keyof typeof IdsTooltipVariant];\n","import { IdsTooltipPosition, IdsTooltipPositionType } from './types/tooltip-position.type';\nimport { IdsTooltipVariant, IdsTooltipVariantType } from './types/tooltip-variant.type';\n\nimport { InjectionToken } from '@angular/core';\nimport { IdsSizeType, IdsSize } from '@i-cell/ids-angular/core';\n\nconst DEFAULT_SHOW_DELAY = 1_000;\nconst DEFAULT_HIDE_DELAY = 1_000;\nconst DEFAULT_VIEWPORT_MARGIN = 8;\nconst DEFAULT_LONGPRESS_DELAY = 500;\nconst DEFAULT_TOUCHEND_HIDE_DELAY = 1500;\nconst DEFAULT_SCROLL_DEBOUNCE_TIME = 20;\n\nexport interface IdsTooltipDefaultConfig {\n position?: IdsTooltipPositionType\n size?: IdsSizeType\n variant?: IdsTooltipVariantType\n showPointer?: boolean\n showDelay?: number\n hideDelay?: number\n touchLongPressShowDelay?: number\n viewPortMargin?: number\n touchendHideDelay?: number\n scrollDebounceTime?: number\n}\n\nexport const IDS_TOOLTIP_DEFAULT_CONFIG = new InjectionToken<IdsTooltipDefaultConfig>(\n 'IDS_TOOLTIP_DEFAULT_CONFIG',\n {\n providedIn: 'root',\n factory: IDS_TOOLTIP_DEFAULT_CONFIG_FACTORY,\n },\n);\n\nexport function IDS_TOOLTIP_DEFAULT_CONFIG_FACTORY(): Required<IdsTooltipDefaultConfig> {\n return {\n position: IdsTooltipPosition.NORTH,\n size: IdsSize.COMPACT,\n variant: IdsTooltipVariant.DARK,\n showPointer: true,\n showDelay: DEFAULT_SHOW_DELAY,\n hideDelay: DEFAULT_HIDE_DELAY,\n touchLongPressShowDelay: DEFAULT_LONGPRESS_DELAY,\n viewPortMargin: DEFAULT_VIEWPORT_MARGIN,\n touchendHideDelay: DEFAULT_TOUCHEND_HIDE_DELAY,\n scrollDebounceTime: DEFAULT_SCROLL_DEBOUNCE_TIME,\n };\n}\n","import { IdsTooltipPosition, IdsTooltipPositionType } from './types/tooltip-position.type';\n\nimport { ConnectedPosition, FlexibleConnectedPositionStrategy } from '@angular/cdk/overlay';\n\nexport function setTooltipFlexibleConnectedPositionStrategy(\n connectedTo: FlexibleConnectedPositionStrategy,\n tooltipPosition: IdsTooltipPositionType,\n): FlexibleConnectedPositionStrategy {\n switch (tooltipPosition) {\n case IdsTooltipPosition.NORTH:\n return connectedTo.withPositions([\n connectedPosition.north,\n connectedPosition.northwest,\n connectedPosition.northeast,\n connectedPosition.south,\n connectedPosition.southwest,\n connectedPosition.southeast,\n ]);\n case IdsTooltipPosition.NORTHEAST:\n return connectedTo.withPositions([\n connectedPosition.northeast,\n connectedPosition.southeast,\n connectedPosition.northwest,\n connectedPosition.southwest,\n ]);\n case IdsTooltipPosition.EAST:\n return connectedTo.withPositions([\n connectedPosition.east,\n connectedPosition.northeast,\n connectedPosition.southeast,\n connectedPosition.west,\n connectedPosition.northwest,\n connectedPosition.southwest,\n ]);\n case IdsTooltipPosition.SOUTHEAST:\n return connectedTo.withPositions([\n connectedPosition.southeast,\n connectedPosition.southwest,\n connectedPosition.northeast,\n connectedPosition.northwest,\n ]);\n case IdsTooltipPosition.SOUTH:\n return connectedTo.withPositions([\n connectedPosition.south,\n connectedPosition.southwest,\n connectedPosition.southeast,\n connectedPosition.north,\n connectedPosition.northwest,\n connectedPosition.northeast,\n ]);\n case IdsTooltipPosition.SOUTHWEST:\n return connectedTo.withPositions([\n connectedPosition.southwest,\n connectedPosition.northwest,\n connectedPosition.southeast,\n connectedPosition.northeast,\n ]);\n case IdsTooltipPosition.WEST:\n return connectedTo.withPositions([\n connectedPosition.west,\n connectedPosition.northwest,\n connectedPosition.southwest,\n connectedPosition.east,\n connectedPosition.northeast,\n connectedPosition.southeast,\n ]);\n case IdsTooltipPosition.NORTHWEST:\n return connectedTo.withPositions([\n connectedPosition.northwest,\n connectedPosition.southwest,\n connectedPosition.northeast,\n connectedPosition.southeast,\n ]);\n }\n}\n\nconst connectedPosition: Record<IdsTooltipPositionType, ConnectedPosition> = {\n north: {\n originX: 'center',\n originY: 'top',\n overlayX: 'center',\n overlayY: 'bottom',\n },\n northeast: {\n originX: 'end',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n east: {\n originX: 'end',\n originY: 'center',\n overlayX: 'start',\n overlayY: 'center',\n },\n southeast: {\n originX: 'end',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n south: {\n originX: 'center',\n originY: 'bottom',\n overlayX: 'center',\n overlayY: 'top',\n },\n southwest: {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'end',\n overlayY: 'top',\n },\n west: {\n originX: 'start',\n originY: 'center',\n overlayX: 'end',\n overlayY: 'center',\n },\n northwest: {\n originX: 'start',\n originY: 'top',\n overlayX: 'end',\n overlayY: 'bottom',\n },\n};\n","import { IdsTooltipPositionType } from './types/tooltip-position.type';\nimport { IdsTooltipVariantType } from './types/tooltip-variant.type';\nimport { IdsTooltipTextAlign } from './types/tooltip.type';\n\nimport { ChangeDetectionStrategy, Component, computed, input, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { IdsSizeType, ComponentBase } from '@i-cell/ids-angular/core';\nimport { Observable, Subject } from 'rxjs';\n\n@Component({\n selector: 'ids-tooltip',\n imports: [],\n templateUrl: './tooltip.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(mouseenter)': '_handleMouseEnter()',\n '(mouseleave)': '_handleMouseLeave($event)',\n 'aria-hidden': 'true',\n '[class]': 'tooltipClass()',\n },\n})\nexport class IdsTooltipComponent extends ComponentBase implements OnDestroy {\n protected override get _hostName(): string {\n return 'tooltip';\n }\n\n private readonly _onHide = new Subject<void>();\n\n public message = input<string>();\n public position = input<IdsTooltipPositionType>();\n public size = input<IdsSizeType>();\n public variant = input<IdsTooltipVariantType>();\n public textAlign = input<IdsTooltipTextAlign>();\n public mouseLeaveHideDelay = input<number>(0);\n public tooltipClass = input<string>();\n public showPointer = input<boolean>();\n\n public triggerElement?: HTMLElement;\n private _hideTimeout?: ReturnType<typeof setTimeout>;\n\n protected _hostClasses = computed(() => this._getHostClasses([\n this.size(),\n this.variant(),\n [\n 'position',\n this.position(),\n ],\n [\n 'text-align',\n this.textAlign(),\n ],\n this.showPointer() ? 'pointered' : null,\n ]));\n\n public get isHideTimerTicking(): boolean {\n return Boolean(this._hideTimeout);\n }\n\n public hide(delay: number): void {\n this._hideTimeout = setTimeout(() => {\n this._hideTimeout = undefined;\n this._onHide.next();\n }, delay);\n }\n\n public afterHidden(): Observable<void> {\n return this._onHide;\n }\n\n public abortHide(): void {\n clearTimeout(this._hideTimeout);\n this._hideTimeout = undefined;\n }\n\n private _handleMouseEnter(): void {\n if (this._hideTimeout) {\n this.abortHide();\n }\n }\n\n private _handleMouseLeave({ relatedTarget }: MouseEvent): void {\n if (!relatedTarget || !this.triggerElement?.contains(relatedTarget as Node)) {\n this.hide(this.mouseLeaveHideDelay());\n }\n }\n\n public ngOnDestroy(): void {\n this._onHide.complete();\n }\n}\n","<div class=\"ids-tooltip__content\">\n <span>{{ message() }}</span>\n</div>\n","import { IdsTooltipPosition, IdsTooltipPositionType } from '../types/tooltip-position.type';\n\nimport { ConnectionPositionPair } from '@angular/cdk/overlay';\n\nexport function connectedPositionPairToTooltipPosition(positionPair: ConnectionPositionPair): IdsTooltipPositionType {\n const { originX, originY, overlayX, overlayY } = positionPair;\n\n if (\n originX=== 'center' &&\n originY === 'top' &&\n overlayX === 'center' &&\n overlayY === 'bottom'\n ) {\n return IdsTooltipPosition.NORTH;\n }\n if (\n originX === 'end' &&\n originY === 'top' &&\n overlayX === 'start' &&\n overlayY === 'bottom'\n ) {\n return IdsTooltipPosition.NORTHEAST;\n }\n if (\n originX === 'end' &&\n originY === 'center' &&\n overlayX === 'start' &&\n overlayY === 'center'\n ) {\n return IdsTooltipPosition.EAST;\n }\n if (\n originX === 'end' &&\n originY === 'bottom' &&\n overlayX === 'start' &&\n overlayY === 'top'\n ) {\n return IdsTooltipPosition.SOUTHEAST;\n }\n if (\n originX === 'center' &&\n originY === 'bottom' &&\n overlayX === 'center' &&\n overlayY === 'top'\n ) {\n return IdsTooltipPosition.SOUTH;\n }\n if (\n originX === 'start' &&\n originY === 'bottom' &&\n overlayX === 'end' &&\n overlayY === 'top'\n ) {\n return IdsTooltipPosition.SOUTHWEST;\n }\n if (\n originX === 'start' &&\n originY === 'center' &&\n overlayX === 'end' &&\n overlayY === 'center'\n ) {\n return IdsTooltipPosition.WEST;\n }\n if (\n originX === 'start' &&\n originY === 'top' &&\n overlayX === 'end' &&\n overlayY === 'bottom'\n ) {\n return IdsTooltipPosition.NORTHWEST;\n }\n\n return IdsTooltipPosition.EAST;\n}\n","import { IDS_TOOLTIP_DEFAULT_CONFIG, IDS_TOOLTIP_DEFAULT_CONFIG_FACTORY, IdsTooltipDefaultConfig } from './tooltip-defaults';\nimport { setTooltipFlexibleConnectedPositionStrategy } from './tooltip-position-strategies';\nimport { IdsTooltipComponent } from './tooltip.component';\nimport { IdsTooltipPositionType } from './types/tooltip-position.type';\nimport { IdsTooltipVariantType } from './types/tooltip-variant.type';\nimport { IdsTooltipTextAlign, IdsTooltipTouchGestures } from './types/tooltip.type';\nimport { connectedPositionPairToTooltipPosition } from './utils/tooltip-converters';\n\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { hasModifierKey } from '@angular/cdk/keycodes';\nimport { ConnectionPositionPair, FlexibleConnectedPositionStrategy, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { normalizePassiveListenerOptions, Platform } from '@angular/cdk/platform';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { ScrollDispatcher } from '@angular/cdk/scrolling';\nimport { AfterViewInit, ComponentRef, computed, Directive, effect, ElementRef, inject, input, NgZone, OnDestroy, signal, ViewContainerRef, DOCUMENT } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { coerceStringAttribute, DirectiveBaseWithDefaults, IdsSizeType } from '@i-cell/ids-angular/core';\n\nconst defaultConfig = IDS_TOOLTIP_DEFAULT_CONFIG_FACTORY();\nconst passiveListenerOptions = normalizePassiveListenerOptions({ passive: true });\n\n@Directive({\n selector: '[idsTooltip]',\n standalone: true,\n})\nexport class IdsTooltipDirective extends DirectiveBaseWithDefaults<IdsTooltipDefaultConfig> implements AfterViewInit, OnDestroy {\n protected override get _hostName(): string {\n return 'tooltip-trigger';\n }\n\n private readonly _focusMonitor = inject(FocusMonitor);\n private readonly _platform = inject(Platform);\n private readonly _ngZone = inject(NgZone);\n private readonly _elementRef: ElementRef<HTMLElement> = inject(ElementRef<HTMLElement>);\n private readonly _viewContainerRef = inject(ViewContainerRef);\n private readonly _scrollDispatcher = inject(ScrollDispatcher);\n private readonly _overlay = inject(Overlay);\n private readonly _document = inject(DOCUMENT);\n protected readonly _defaultConfig = this._getDefaultConfig(defaultConfig, IDS_TOOLTIP_DEFAULT_CONFIG);\n\n private readonly _passiveListeners: (readonly [string, EventListenerOrEventListenerObject])[] = [];\n\n private _overlayRef: OverlayRef | null = null;\n private _portal?: ComponentPortal<IdsTooltipComponent>;\n private _componentRef?: ComponentRef<IdsTooltipComponent> | null;\n private _tooltipInstance: IdsTooltipComponent | null = null;\n private _touchstartTimeout?: ReturnType<typeof setTimeout>;\n private _showTimeout?: ReturnType<typeof setTimeout>;\n private _pointerExitEventsInitialized = false;\n private _viewportMargin = this._defaultConfig.viewPortMargin;\n private _currentPosition = signal<IdsTooltipPositionType | null>(null);\n\n public message = input<string, string>('', { alias: 'idsTooltip', transform: coerceStringAttribute });\n public position = input<IdsTooltipPositionType>(this._defaultConfig.position, { alias: 'idsTooltipPosition' });\n public size = input<IdsSizeType>(this._defaultConfig.size, { alias: 'idsTooltipSize' });\n public variant = input<IdsTooltipVariantType>(this._defaultConfig.variant, { alias: 'idsTooltipVariant' });\n public showDelay = input<number>(this._defaultConfig.showDelay, { alias: 'idsTooltipShowDelay' });\n public hideDelay = input<number>(this._defaultConfig.hideDelay, { alias: 'idsTooltipHideDelay' });\n public disabled = input<boolean>(false, { alias: 'idsTooltipDisabled' });\n public touchGestures = input<IdsTooltipTouchGestures>('auto', { alias: 'idsTooltipTouchGestures' });\n public textAlign = input<IdsTooltipTextAlign>('auto', { alias: 'idsTooltipTextAlign' });\n public tooltipClass = input<string | undefined>(undefined, { alias: 'idsTooltipClass' });\n public showPointer = input<boolean>(this._defaultConfig.showPointer, { alias: 'idsTooltipShowPointer' });\n\n protected _hostClasses = computed(() => this._getHostClasses([]));\n\n private _tooltipClassEffect = effect(() => {\n this._setTooltipInputs(\n this.message(),\n this._currentPosition() ?? this.position(),\n this.size(),\n this.variant(),\n this.textAlign(),\n this.hideDelay(),\n this.tooltipClass(),\n this.showPointer(),\n );\n });\n\n public ngAfterViewInit(): void {\n this._setupPointerEnterEventsIfNeeded();\n\n this._focusMonitor\n .monitor(this._elementRef)\n .pipe(takeUntilDestroyed(this._destroyRef))\n .subscribe((origin) => {\n if (!origin) {\n this._ngZone.run(() => this.hide(0));\n } else if (origin === 'keyboard') {\n this._ngZone.run(() => this.show());\n }\n });\n }\n\n public show(): void {\n if (this.disabled() || !this.message() || this._tooltipInstance) {\n this._tooltipInstance?.abortHide();\n return;\n }\n\n const overlayRef = this._createOverlay();\n this._portal =\n this._portal || new ComponentPortal(IdsTooltipComponent, this._viewContainerRef);\n this._componentRef = overlayRef.attach(this._portal);\n this._tooltipInstance = this._componentRef.instance;\n const instance = this._tooltipInstance;\n instance.triggerElement = this._elementRef.nativeElement;\n this._setTooltipInputs(\n this.message(),\n this._currentPosition() ?? this.position(),\n this.size(),\n this.variant(),\n this.textAlign(),\n this.hideDelay(),\n this.tooltipClass(),\n this.showPointer(),\n );\n instance\n .afterHidden()\n .pipe(takeUntilDestroyed(this._destroyRef))\n .subscribe(() => {\n this._detach();\n });\n }\n\n public hide(delay: number = this.hideDelay()): void {\n if (this._showTimeout) {\n clearTimeout(this._showTimeout);\n this._showTimeout = undefined;\n return;\n }\n\n const instance = this._tooltipInstance;\n if (instance?.isHideTimerTicking) {\n return;\n }\n\n if (instance) {\n instance.hide(delay);\n }\n }\n\n public toggle(): void {\n this._tooltipInstance ? this.hide() : this.show();\n }\n\n private _createOverlay(): OverlayRef {\n if (this._overlayRef) {\n this._detach();\n }\n\n const scrollableAncestors = this._scrollDispatcher.getAncestorScrollContainers(\n this._elementRef,\n );\n\n const strategy = this._overlay\n .position()\n .flexibleConnectedTo(this._elementRef)\n .withFlexibleDimensions(false)\n .withViewportMargin(this._viewportMargin)\n .withScrollableContainers(scrollableAncestors);\n\n strategy.positionChanges.pipe(takeUntilDestroyed(this._destroyRef)).subscribe((change) => {\n this._updateCurrentPositionClass(change.connectionPair);\n\n if (change.scrollableViewProperties.isOverlayClipped && this._tooltipInstance) {\n this._ngZone.run(() => this.hide(0));\n }\n });\n\n this._overlayRef = this._overlay.create({\n positionStrategy: strategy,\n panelClass: 'ids-tooltip-panel',\n scrollStrategy: this._overlay.scrollStrategies.reposition({ scrollThrottle: this._defaultConfig.scrollDebounceTime }),\n });\n\n this._updatePosition(this._overlayRef);\n\n this._overlayRef\n .detachments()\n .pipe(takeUntilDestroyed(this._destroyRef))\n .subscribe(() => this._detach());\n\n this._overlayRef\n .outsidePointerEvents()\n .pipe(takeUntilDestroyed(this._destroyRef))\n .subscribe(() => this._tooltipInstance?.hide(0));\n\n this._overlayRef\n .keydownEvents()\n .pipe(takeUntilDestroyed(this._destroyRef))\n .subscribe((event) => {\n if (this._tooltipInstance && event.key === 'Escape' && !hasModifierKey(event)) {\n event.preventDefault();\n event.stopPropagation();\n this._ngZone.run(() => this.hide(0));\n }\n });\n\n return this._overlayRef;\n }\n\n private _detach(): void {\n if (this._overlayRef && this._overlayRef.hasAttached()) {\n this._overlayRef.detach();\n }\n this._componentRef?.destroy();\n this._tooltipInstance = null;\n }\n\n private _updatePosition(overlayRef: OverlayRef): void {\n const position = overlayRef.getConfig().positionStrategy as FlexibleConnectedPositionStrategy;\n setTooltipFlexibleConnectedPositionStrategy(position, this.position());\n }\n\n private _updateCurrentPositionClass(connectionPair: ConnectionPositionPair): void {\n const newPosition: IdsTooltipPositionType = connectedPositionPairToTooltipPosition(connectionPair);\n\n if (newPosition !== this._currentPosition()) {\n const overlayRef = this._overlayRef;\n\n if (overlayRef) {\n const positionClassPrefix = 'is-tooltip-panel-position-';\n overlayRef.removePanelClass(positionClassPrefix + this._currentPosition());\n overlayRef.addPanelClass(positionClassPrefix + newPosition);\n }\n\n this._currentPosition.set(newPosition);\n }\n }\n\n private _setTooltipInputs(\n message: string,\n position: IdsTooltipPositionType,\n size: IdsSizeType,\n variant: IdsTooltipVariantType,\n textAlign: IdsTooltipTextAlign,\n hideDelay: number,\n tooltipClass: string | undefined,\n showPointer: boolean,\n ): void {\n if (this._tooltipInstance) {\n this._componentRef?.setInput('message', message);\n this._componentRef?.setInput('position', position);\n this._componentRef?.setInput('size', size);\n this._componentRef?.setInput('variant', variant);\n this._componentRef?.setInput('textAlign', textAlign);\n this._componentRef?.setInput('mouseLeaveHideDelay', hideDelay);\n this._componentRef?.setInput('tooltipClass', tooltipClass);\n this._componentRef?.setInput('showPointer', showPointer);\n }\n }\n\n private _setupPointerEnterEventsIfNeeded(): void {\n if (!this.message() || this._passiveListeners.length) {\n return;\n }\n\n if (this._platformSupportsMouseEvents()) {\n this._passiveListeners.push([\n 'mouseenter',\n (): void => {\n this._setupPointerExitEventsIfNeeded();\n this._showTimeout = setTimeout(() => {\n this._showTimeout = undefined;\n this.show();\n }, this.showDelay());\n },\n ]);\n } else if (this.touchGestures() !== 'off') {\n this._disableNativeGesturesIfNecessary();\n\n this._passiveListeners.push([\n 'touchstart',\n (): void => {\n this._setupPointerExitEventsIfNeeded();\n clearTimeout(this._touchstartTimeout);\n\n this._touchstartTimeout = setTimeout(\n () => this.show(),\n this._defaultConfig.touchLongPressShowDelay,\n );\n },\n ]);\n }\n\n this._addListeners(this._passiveListeners);\n }\n\n private _wheelListener(event: WheelEvent): void {\n if (this._tooltipInstance) {\n const elementUnderPointer = this._document.elementFromPoint(event.clientX, event.clientY);\n const element = this._elementRef.nativeElement;\n\n if (elementUnderPointer !== element && !element.contains(elementUnderPointer)) {\n this.hide();\n }\n }\n }\n\n private _setupPointerExitEventsIfNeeded(): void {\n if (this._pointerExitEventsInitialized) {\n return;\n }\n this._pointerExitEventsInitialized = true;\n\n const exitListeners: (readonly [string, EventListenerOrEventListenerObject])[] = [];\n if (this._platformSupportsMouseEvents()) {\n exitListeners.push(\n [\n 'mouseleave',\n (): void => {\n this.hide();\n },\n ],\n [\n 'wheel',\n (event): void => {\n this._wheelListener(event as WheelEvent);\n },\n ],\n );\n } else if (this.touchGestures() !== 'off') {\n this._disableNativeGesturesIfNecessary();\n const touchendListener = (): void => {\n clearTimeout(this._touchstartTimeout);\n this.hide(this._defaultConfig.touchendHideDelay);\n };\n\n exitListeners.push([\n 'touchend',\n touchendListener,\n ], [\n 'touchcancel',\n touchendListener,\n ]);\n }\n\n this._addListeners(exitListeners);\n this._passiveListeners.push(...exitListeners);\n }\n\n private _addListeners(listeners: (readonly [string, EventListenerOrEventListenerObject])[]): void {\n listeners.forEach(([\n event,\n listener,\n ]) => {\n this._elementRef.nativeElement.addEventListener(event, listener, passiveListenerOptions);\n });\n }\n\n private _disableNativeGesturesIfNecessary(): void {\n const gestures = this.touchGestures();\n\n if (gestures !== 'off') {\n const element = this._elementRef.nativeElement;\n const style = element.style;\n\n if (gestures === 'on' || (element.nodeName !== 'INPUT' && element.nodeName !== 'TEXTAREA')) {\n style.userSelect = 'none';\n }\n\n style.touchAction = 'none';\n }\n }\n\n private _platformSupportsMouseEvents(): boolean {\n return !this._platform.IOS && !this._platform.ANDROID;\n }\n\n public ngOnDestroy(): void {\n const nativeElement = this._elementRef.nativeElement;\n\n clearTimeout(this._touchstartTimeout);\n\n if (this._componentRef) {\n this._tooltipInstance = null;\n }\n\n this._passiveListeners.forEach(([\n event,\n listener,\n ]) => {\n nativeElement.removeEventListener(event, listener, passiveListenerOptions);\n });\n this._passiveListeners.length = 0;\n\n this._focusMonitor.stopMonitoring(nativeElement);\n }\n}\n","/**\n * Generated bundle index. Do not ed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],"sourcesContent":["/*\n * Public API Surface of widgets\n */\n\nexport default {};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG;AAEH,gBAAe,EAAE;;ACJjB;;AAEG"}
|
package/forms/index.d.ts
ADDED
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
import * as _angular_forms from '@angular/forms';
|
|
2
|
+
import { AbstractControl, FormGroupDirective, NgForm, NgControl, ControlEvent, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
5
|
+
import { InjectionToken, Injector, ElementRef, Signal, AfterViewInit, OnInit } from '@angular/core';
|
|
6
|
+
import * as _i_cell_ids_angular_core from '@i-cell/ids-angular/core';
|
|
7
|
+
import { ComponentBase, IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
8
|
+
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
9
|
+
|
|
10
|
+
declare abstract class AbstractErrorStateMatcher {
|
|
11
|
+
abstract isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
12
|
+
}
|
|
13
|
+
declare class ErrorStateMatcher extends AbstractErrorStateMatcher {
|
|
14
|
+
isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
15
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ErrorStateMatcher, never>;
|
|
16
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ErrorStateMatcher>;
|
|
17
|
+
}
|
|
18
|
+
declare class ErrorStateTracker {
|
|
19
|
+
private _matcher;
|
|
20
|
+
private _ngControl;
|
|
21
|
+
private _parentFormGroup;
|
|
22
|
+
private _parentForm;
|
|
23
|
+
private _stateChanges?;
|
|
24
|
+
/** Whether the tracker is currently in an error state. */
|
|
25
|
+
hasErrorState: boolean;
|
|
26
|
+
constructor(_matcher: ErrorStateMatcher | null, _ngControl: NgControl | null, _parentFormGroup: FormGroupDirective | null, _parentForm: NgForm | null, _stateChanges?: Subject<void> | undefined);
|
|
27
|
+
/** Updates the error state based on the provided error state matcher. */
|
|
28
|
+
updateErrorState(): void;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare abstract class AbstractSuccessStateMatcher {
|
|
32
|
+
abstract isSuccessState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
33
|
+
}
|
|
34
|
+
declare class SuccessStateMatcher extends AbstractSuccessStateMatcher {
|
|
35
|
+
isSuccessState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
36
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SuccessStateMatcher, never>;
|
|
37
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SuccessStateMatcher>;
|
|
38
|
+
}
|
|
39
|
+
declare class SuccessStateTracker {
|
|
40
|
+
private _matcher;
|
|
41
|
+
private _ngControl;
|
|
42
|
+
private _parentFormGroup;
|
|
43
|
+
private _parentForm;
|
|
44
|
+
private _stateChanges?;
|
|
45
|
+
/** Whether the tracker is currently in an success state. */
|
|
46
|
+
hasSuccessState: boolean;
|
|
47
|
+
constructor(_matcher: SuccessStateMatcher | null, _ngControl: NgControl | null, _parentFormGroup: FormGroupDirective | null, _parentForm: NgForm | null, _stateChanges?: Subject<void> | undefined);
|
|
48
|
+
/** Updates the success state based on the provided success state matcher. */
|
|
49
|
+
updateSuccessState(): void;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
declare class IdsFieldsetRowComponent extends ComponentBase {
|
|
53
|
+
protected get _hostName(): string;
|
|
54
|
+
protected _hostClasses: _angular_core.WritableSignal<string>;
|
|
55
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFieldsetRowComponent, never>;
|
|
56
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsFieldsetRowComponent, "ids-fieldset-row", never, {}, {}, never, ["*"], true, never>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare const IdsFormFieldVariant: {
|
|
60
|
+
readonly SURFACE: "surface";
|
|
61
|
+
readonly LIGHT: "light";
|
|
62
|
+
};
|
|
63
|
+
type IdsFormFieldVariantType = (typeof IdsFormFieldVariant)[keyof typeof IdsFormFieldVariant];
|
|
64
|
+
|
|
65
|
+
interface IdsFieldsetDefaultConfig {
|
|
66
|
+
size?: IdsSizeType;
|
|
67
|
+
variant?: IdsFormFieldVariantType;
|
|
68
|
+
}
|
|
69
|
+
declare const IDS_FIELDSET_DEFAULT_CONFIG: InjectionToken<IdsFieldsetDefaultConfig>;
|
|
70
|
+
declare function IDS_FIELDSET_DEFAULT_CONFIG_FACTORY(): Required<IdsFieldsetDefaultConfig>;
|
|
71
|
+
|
|
72
|
+
declare class IdsFieldsetMessageDirective {
|
|
73
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFieldsetMessageDirective, never>;
|
|
74
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsFieldsetMessageDirective, "[idsFieldsetMessage]", never, {}, {}, never, never, true, never>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare class IdsFieldsetComponent extends ComponentBaseWithDefaults<IdsFieldsetDefaultConfig> {
|
|
78
|
+
protected get _hostName(): string;
|
|
79
|
+
protected readonly _defaultConfig: Required<IdsFieldsetDefaultConfig>;
|
|
80
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
81
|
+
variant: _angular_core.InputSignal<IdsFormFieldVariantType>;
|
|
82
|
+
legend: _angular_core.InputSignal<string>;
|
|
83
|
+
private _fieldsetMessage;
|
|
84
|
+
protected _hasMessage: _angular_core.Signal<boolean>;
|
|
85
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
86
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFieldsetComponent, never>;
|
|
87
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsFieldsetComponent, "fieldset[idsFieldset]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; }, {}, ["_fieldsetMessage"], ["[idsFieldsetMessage]", "ids-fieldset-row"], true, never>;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare const formFieldControlClass = "ids-form-field-control";
|
|
91
|
+
declare abstract class IdsFormFieldControl<D = unknown> extends ComponentBaseWithDefaults<D> {
|
|
92
|
+
protected readonly _injector: Injector;
|
|
93
|
+
protected readonly _parentForm: NgForm | null;
|
|
94
|
+
protected readonly _parentFormGroup: FormGroupDirective | null;
|
|
95
|
+
readonly ngControl: _angular_core.WritableSignal<NgControl | null>;
|
|
96
|
+
readonly errorStateChanges: Subject<void>;
|
|
97
|
+
readonly successStateChanges: Subject<void>;
|
|
98
|
+
readonly canHandleSuccessState: _angular_core.InputSignal<boolean>;
|
|
99
|
+
readonly hasErrorState: _angular_core.WritableSignal<boolean>;
|
|
100
|
+
readonly hasSuccessState: _angular_core.WritableSignal<boolean>;
|
|
101
|
+
protected abstract readonly _elementRef: ElementRef;
|
|
102
|
+
abstract readonly errorStateMatcher: Signal<AbstractErrorStateMatcher>;
|
|
103
|
+
abstract readonly successStateMatcher: Signal<AbstractSuccessStateMatcher>;
|
|
104
|
+
private _canHandleSuccessStateEffect;
|
|
105
|
+
/** Handles the `disabled` input binding */
|
|
106
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
107
|
+
/** Stores the `disabled` state internally */
|
|
108
|
+
protected readonly _disabled: _angular_core.WritableSignal<boolean>;
|
|
109
|
+
/** The input's `disabled` state as a read-only signal (to enable/disable the contol programmatically, use the FormControl's related API) */
|
|
110
|
+
readonly disabled: Signal<boolean>;
|
|
111
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
112
|
+
/** This effect is triggered if the `disabled` attribute binding changes and delegates the change to the underlying FormControl */
|
|
113
|
+
private _disabledInputEffect;
|
|
114
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
115
|
+
readonly placeholder: _angular_core.InputSignal<string>;
|
|
116
|
+
abstract onContainerClick(event: MouseEvent): void;
|
|
117
|
+
protected _errorStateTracker?: ErrorStateTracker;
|
|
118
|
+
protected _successStateTracker?: SuccessStateTracker;
|
|
119
|
+
private _successStateSubscription?;
|
|
120
|
+
constructor();
|
|
121
|
+
setDescribedByIds(ids: string[]): void;
|
|
122
|
+
protected _initErrorStateTracker(): void;
|
|
123
|
+
protected _setSuccessStateTracker(canHandleSuccessState: boolean): void;
|
|
124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFormFieldControl<any>, never>;
|
|
125
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsFormFieldControl<any>, never, never, { "canHandleSuccessState": { "alias": "canHandleSuccessState"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
declare const IDS_FORM_FIELD_CONTROL: InjectionToken<IdsFormFieldControl<unknown>>;
|
|
129
|
+
|
|
130
|
+
interface IdsFormFieldDefaultConfig {
|
|
131
|
+
size?: IdsSizeType;
|
|
132
|
+
variant?: IdsFormFieldVariantType;
|
|
133
|
+
}
|
|
134
|
+
declare const IDS_FORM_FIELD_DEFAULT_CONFIG: InjectionToken<IdsFormFieldDefaultConfig>;
|
|
135
|
+
declare function IDS_FORM_FIELD_DEFAULT_CONFIG_FACTORY(): Required<IdsFormFieldDefaultConfig>;
|
|
136
|
+
|
|
137
|
+
declare class IdsFormFieldComponent extends ComponentBaseWithDefaults<IdsFormFieldDefaultConfig> {
|
|
138
|
+
protected get _hostName(): string;
|
|
139
|
+
private readonly _changeDetectorRef;
|
|
140
|
+
private readonly _parentFieldset;
|
|
141
|
+
protected readonly _defaultConfig: Required<IdsFormFieldDefaultConfig>;
|
|
142
|
+
private _fieldWrapper;
|
|
143
|
+
private _child;
|
|
144
|
+
private _hintMessages;
|
|
145
|
+
private _successMessages;
|
|
146
|
+
private _errorMessages;
|
|
147
|
+
private _actions;
|
|
148
|
+
private _prefixes;
|
|
149
|
+
private _suffixes;
|
|
150
|
+
protected _hasActions: _angular_core.Signal<boolean>;
|
|
151
|
+
protected _hasLeadingIcon: _angular_core.Signal<boolean>;
|
|
152
|
+
protected _hasPrefix: _angular_core.Signal<boolean>;
|
|
153
|
+
protected _hasSuffix: _angular_core.Signal<boolean>;
|
|
154
|
+
protected _hasTrailingIcon: _angular_core.Signal<boolean>;
|
|
155
|
+
protected _inputId: _angular_core.Signal<string>;
|
|
156
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
157
|
+
variant: _angular_core.InputSignal<IdsFormFieldVariantType>;
|
|
158
|
+
parentOrSelfSize: _angular_core.Signal<IdsSizeType>;
|
|
159
|
+
parentOrSelfVariant: _angular_core.Signal<IdsFormFieldVariantType>;
|
|
160
|
+
controlDir: _angular_core.Signal<_angular_forms.NgControl | null>;
|
|
161
|
+
disabled: _angular_core.Signal<boolean>;
|
|
162
|
+
readonly: _angular_core.Signal<boolean>;
|
|
163
|
+
private _hasErrorState;
|
|
164
|
+
private _hasSuccessState;
|
|
165
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
166
|
+
protected _displayedMessages: _angular_core.Signal<"error" | "success" | "hint" | undefined>;
|
|
167
|
+
hasRequiredValidator: _angular_core.Signal<boolean | undefined>;
|
|
168
|
+
getConnectedOverlayOrigin(): ElementRef;
|
|
169
|
+
containerClick(event: MouseEvent): void;
|
|
170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFormFieldComponent, never>;
|
|
171
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsFormFieldComponent, "ids-form-field", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, ["_child", "_hintMessages", "_successMessages", "_errorMessages", "_actions", "_prefixes", "_suffixes"], ["ids-label", "ids-icon[idsLeadingIcon]", "[idsPrefix]", "*", "[idsSuffix]", "ids-icon[idsTrailingIcon]", "[idsFormFieldAction]", "ids-error-message", "ids-success-message", "ids-hint-message"], true, never>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
interface IdsInputDefaultConfig {
|
|
175
|
+
errorStateMatcher?: typeof AbstractErrorStateMatcher;
|
|
176
|
+
successStateMatcher?: typeof AbstractSuccessStateMatcher;
|
|
177
|
+
}
|
|
178
|
+
declare const IDS_INPUT_DEFAULT_CONFIG: InjectionToken<IdsInputDefaultConfig>;
|
|
179
|
+
declare function IDS_INPUT_DEFAULT_CONFIG_FACTORY(): Required<IdsInputDefaultConfig>;
|
|
180
|
+
|
|
181
|
+
type IdsInputType = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week';
|
|
182
|
+
|
|
183
|
+
declare class IdsInputDirective extends IdsFormFieldControl<IdsInputDefaultConfig> implements AfterViewInit {
|
|
184
|
+
protected get _hostName(): string;
|
|
185
|
+
protected readonly _elementRef: ElementRef<HTMLInputElement> | ElementRef<HTMLTextAreaElement>;
|
|
186
|
+
protected readonly _defaultConfig: Required<IdsInputDefaultConfig>;
|
|
187
|
+
private _focused;
|
|
188
|
+
name: _angular_core.InputSignal<string | undefined>;
|
|
189
|
+
type: _angular_core.InputSignal<IdsInputType>;
|
|
190
|
+
readonly errorStateMatcher: _angular_core.InputSignal<AbstractErrorStateMatcher>;
|
|
191
|
+
readonly successStateMatcher: _angular_core.InputSignal<AbstractSuccessStateMatcher>;
|
|
192
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
193
|
+
private _validateTypeEffect;
|
|
194
|
+
ngAfterViewInit(): void;
|
|
195
|
+
private _validateType;
|
|
196
|
+
focus(options?: FocusOptions): void;
|
|
197
|
+
private _focusChanged;
|
|
198
|
+
updateControlState(event: ControlEvent): void;
|
|
199
|
+
/**
|
|
200
|
+
* Should be an arrow function in order to handle `this` outside of this class
|
|
201
|
+
*/
|
|
202
|
+
onContainerClick: () => void;
|
|
203
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsInputDirective, never>;
|
|
204
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsInputDirective, "input[idsInput][ngModel]:not([formControl]):not([formControlName]), input[idsInput][formControl]:not([ngModel]):not([formControlName]), input[idsInput][formControlName]:not([ngModel]):not([formControl]), textarea[idsInput][ngModel]:not([formControl]):not([formControlName]), textarea[idsInput][formControl]:not([ngModel]):not([formControlName]), textarea[idsInput][formControlName]:not([ngModel]):not([formControl])", ["idsInput"], { "name": { "alias": "name"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; "isSignal": true; }; "successStateMatcher": { "alias": "successStateMatcher"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* A validation error's representation that maps an error message (or a function returning a message) to an error code.
|
|
209
|
+
*/
|
|
210
|
+
interface IdsErrorMessageMapping {
|
|
211
|
+
/** The code of the error (usually the error key returned by a {@link ValidatorFn}) */
|
|
212
|
+
code: string;
|
|
213
|
+
/** The error's message (either a string literal or a function that returns a literal) */
|
|
214
|
+
message: string | (() => string);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Directive to map an error message to an error code for a form field.
|
|
219
|
+
* Mappings must be defined between the directive element's tags ordered by priority (descending from top to bottom).
|
|
220
|
+
* The error code is provided as an attribute, while the error message will be this directive's text content.
|
|
221
|
+
* The latter can be a plain string literal or even an interpolated string value.
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* ```html
|
|
225
|
+
* <ids-form-field>
|
|
226
|
+
* <ids-label>Input field</ids-label>
|
|
227
|
+
* <input
|
|
228
|
+
* idsInput
|
|
229
|
+
* ngModel
|
|
230
|
+
* customValidator
|
|
231
|
+
* required
|
|
232
|
+
* [minlength]="3"
|
|
233
|
+
* [maxlength]="10"
|
|
234
|
+
* [pattern]="validPattern"
|
|
235
|
+
* >
|
|
236
|
+
* <ids-error-message>
|
|
237
|
+
* <ids-error-def code="required">{{ 'ERROR.REQUIRED.CUSTOM' | translate }}</ids-error-def>
|
|
238
|
+
* <ids-error-def code="minlength">'minLength' error message</ids-error-def>
|
|
239
|
+
* <ids-error-def code="maxlength">'maxLength' error message</ids-error-def>
|
|
240
|
+
* <ids-error-def code="pattern">'pattern' error message with interpolation: {{ model.value }}</ids-error-def>
|
|
241
|
+
* <ids-error-def code="custom">Custom validator error message</ids-error-def>
|
|
242
|
+
* </ids-error-message>
|
|
243
|
+
* </ids-form-field>
|
|
244
|
+
* ```
|
|
245
|
+
*/
|
|
246
|
+
declare class IdsErrorDefinitionDirective {
|
|
247
|
+
/**
|
|
248
|
+
* The validation error's identifier code
|
|
249
|
+
*/
|
|
250
|
+
code: _angular_core.InputSignal<string>;
|
|
251
|
+
private _elementRef;
|
|
252
|
+
/**
|
|
253
|
+
* The validation error's message that will be presented to the user
|
|
254
|
+
*/
|
|
255
|
+
get errorMessage(): string;
|
|
256
|
+
/**
|
|
257
|
+
* Creates a IdsErrorMessageMapping instance based on this directive's state (code, errorMessage)
|
|
258
|
+
* @returns A IdsErrorMessageMapping instance
|
|
259
|
+
*/
|
|
260
|
+
toErrorMessageMapping(): IdsErrorMessageMapping;
|
|
261
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsErrorDefinitionDirective, never>;
|
|
262
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsErrorDefinitionDirective, "ids-error-def", never, { "code": { "alias": "code"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
declare class IdsMessageSuffixDirective {
|
|
266
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsMessageSuffixDirective, never>;
|
|
267
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsMessageSuffixDirective, "[idsMessageSuffix]", never, {}, {}, never, never, true, never>;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
declare const IdsMessageVariant: {
|
|
271
|
+
readonly SURFACE: "surface";
|
|
272
|
+
readonly LIGHT: "light";
|
|
273
|
+
readonly DARK: "dark";
|
|
274
|
+
};
|
|
275
|
+
type IdsMessageVariantType = (typeof IdsMessageVariant)[keyof typeof IdsMessageVariant];
|
|
276
|
+
|
|
277
|
+
interface IdsMessageDefaultConfig {
|
|
278
|
+
size?: IdsSizeType;
|
|
279
|
+
variant?: IdsMessageVariantType;
|
|
280
|
+
}
|
|
281
|
+
declare const IDS_MESSAGE_DEFAULT_CONFIG: InjectionToken<IdsMessageDefaultConfig>;
|
|
282
|
+
declare function IDS_MESSAGE_DEFAULT_CONFIG_FACTORY(): Required<IdsMessageDefaultConfig>;
|
|
283
|
+
|
|
284
|
+
declare class IdsMessageDirective extends ComponentBaseWithDefaults<IdsMessageDefaultConfig> {
|
|
285
|
+
protected get _hostName(): string;
|
|
286
|
+
private readonly _parent;
|
|
287
|
+
protected readonly _defaultConfig: Required<IdsMessageDefaultConfig>;
|
|
288
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
289
|
+
variant: _angular_core.InputSignal<IdsMessageVariantType>;
|
|
290
|
+
private _parentOrSelfSize;
|
|
291
|
+
private _parentOrSelfVariant;
|
|
292
|
+
private _parentDisabled;
|
|
293
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
294
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsMessageDirective, never>;
|
|
295
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsMessageDirective, "[idsMessage]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
declare class IdsErrorMessageComponent extends ComponentBase {
|
|
299
|
+
protected get _hostName(): string;
|
|
300
|
+
private _parent;
|
|
301
|
+
private _control;
|
|
302
|
+
private _errorDefDirs;
|
|
303
|
+
private _errorDefs;
|
|
304
|
+
protected _validationError: _angular_core.WritableSignal<IdsErrorMessageMapping | null>;
|
|
305
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
306
|
+
suffixes: _angular_core.Signal<readonly IdsMessageSuffixDirective[]>;
|
|
307
|
+
constructor();
|
|
308
|
+
private _selectMostImportantValidationError;
|
|
309
|
+
protected _getValidationErrorMessage(messageOrFn: IdsErrorMessageMapping['message']): string;
|
|
310
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsErrorMessageComponent, never>;
|
|
311
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsErrorMessageComponent, "ids-error-message", never, {}, {}, ["_errorDefDirs", "suffixes"], ["[idsMessagePrefix]", "[idsMessageSuffix]"], true, [{ directive: typeof IdsMessageDirective; inputs: {}; outputs: {}; }]>;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
declare class IdsMessagePrefixDirective {
|
|
315
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsMessagePrefixDirective, never>;
|
|
316
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsMessagePrefixDirective, "[idsMessagePrefix]", never, {}, {}, never, never, true, never>;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
declare class IdsHintMessageComponent {
|
|
320
|
+
prefixes: _angular_core.Signal<readonly IdsMessagePrefixDirective[]>;
|
|
321
|
+
suffixes: _angular_core.Signal<readonly IdsMessageSuffixDirective[]>;
|
|
322
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsHintMessageComponent, never>;
|
|
323
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsHintMessageComponent, "ids-hint-message", never, {}, {}, ["prefixes", "suffixes"], ["[idsMessagePrefix]", "*", "[idsMessageSuffix]"], true, [{ directive: typeof IdsMessageDirective; inputs: { "size": "size"; "variant": "variant"; }; outputs: {}; }]>;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
declare class IdsSuccessMessageComponent extends ComponentBase {
|
|
327
|
+
protected get _hostName(): string;
|
|
328
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
329
|
+
suffixes: _angular_core.Signal<readonly IdsMessageSuffixDirective[]>;
|
|
330
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsSuccessMessageComponent, never>;
|
|
331
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsSuccessMessageComponent, "ids-success-message", never, {}, {}, ["suffixes"], ["[idsMessagePrefix]", "*", "[idsMessageSuffix]"], true, [{ directive: typeof IdsMessageDirective; inputs: {}; outputs: {}; }]>;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
declare const Message: {
|
|
335
|
+
readonly HINT: "hint";
|
|
336
|
+
readonly ERROR: "error";
|
|
337
|
+
readonly SUCCESS: "success";
|
|
338
|
+
};
|
|
339
|
+
type MessageType = (typeof Message)[keyof typeof Message];
|
|
340
|
+
|
|
341
|
+
declare class IdsOptionGroupComponent extends ComponentBase {
|
|
342
|
+
protected get _hostName(): string;
|
|
343
|
+
private readonly _parent;
|
|
344
|
+
protected readonly _inert: boolean;
|
|
345
|
+
label: _angular_core.InputSignal<string | undefined>;
|
|
346
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
347
|
+
protected readonly _labelId: _angular_core.Signal<string>;
|
|
348
|
+
protected readonly _hostClasses: _angular_core.Signal<string>;
|
|
349
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsOptionGroupComponent, never>;
|
|
350
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsOptionGroupComponent, "ids-option-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["ids-option, ng-container"], true, never>;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare const IDS_OPTION_GROUP: InjectionToken<IdsOptionGroupComponent>;
|
|
354
|
+
|
|
355
|
+
interface IdsOptionParentComponent {
|
|
356
|
+
multiSelect: Signal<boolean>;
|
|
357
|
+
inertGroups?: boolean;
|
|
358
|
+
parentSize: Signal<IdsSizeType>;
|
|
359
|
+
parentVariant: Signal<IdsFormFieldVariantType>;
|
|
360
|
+
isOptionPreSelectedByValue(optionValue: unknown): boolean;
|
|
361
|
+
}
|
|
362
|
+
declare const IDS_OPTION_PARENT_COMPONENT: InjectionToken<IdsOptionParentComponent>;
|
|
363
|
+
|
|
364
|
+
interface IdsPseudoCheckboxParent<T extends string> {
|
|
365
|
+
embeddedPseudoCheckboxSize: Signal<IdsSizeType>;
|
|
366
|
+
embeddedPseudoCheckboxVariant: Signal<T>;
|
|
367
|
+
}
|
|
368
|
+
declare const IDS_PSEUDO_CHECKBOX_PARENT: InjectionToken<IdsPseudoCheckboxParent<string>>;
|
|
369
|
+
|
|
370
|
+
declare class IdsOptionComponent<T = unknown> extends ComponentBase implements OnInit, IdsPseudoCheckboxParent<IdsFormFieldVariantType> {
|
|
371
|
+
protected get _hostName(): string;
|
|
372
|
+
private readonly _parent;
|
|
373
|
+
private readonly _element;
|
|
374
|
+
readonly group: IdsOptionGroupComponent | null;
|
|
375
|
+
private _textElement;
|
|
376
|
+
selected: _angular_core.WritableSignal<boolean>;
|
|
377
|
+
private _active;
|
|
378
|
+
size: _angular_core.Signal<_i_cell_ids_angular_core.IdsSizeType>;
|
|
379
|
+
variant: _angular_core.Signal<IdsFormFieldVariantType>;
|
|
380
|
+
value: _angular_core.InputSignal<T | undefined>;
|
|
381
|
+
explicitViewValue: _angular_core.InputSignal<string | null>;
|
|
382
|
+
disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
383
|
+
disabled: boolean;
|
|
384
|
+
protected _groupOrOptionIsDisabled: _angular_core.Signal<boolean>;
|
|
385
|
+
protected readonly _multiSelect: boolean;
|
|
386
|
+
onSelectionChange: _angular_core.OutputEmitterRef<IdsOptionSelectionChange<T>>;
|
|
387
|
+
viewValue: _angular_core.Signal<string>;
|
|
388
|
+
protected readonly _hostClasses: _angular_core.Signal<string>;
|
|
389
|
+
protected _pseudoCheckboxState: _angular_core.Signal<"unchecked" | "checked">;
|
|
390
|
+
embeddedPseudoCheckboxSize: _angular_core.Signal<_i_cell_ids_angular_core.IdsSizeType>;
|
|
391
|
+
embeddedPseudoCheckboxVariant: _angular_core.WritableSignal<"surface">;
|
|
392
|
+
constructor();
|
|
393
|
+
ngOnInit(): void;
|
|
394
|
+
private _handleKeydown;
|
|
395
|
+
selectViaInteraction(): void;
|
|
396
|
+
getHostElement(): HTMLElement;
|
|
397
|
+
select(emitEvent?: boolean): void;
|
|
398
|
+
deselect(emitEvent?: boolean): void;
|
|
399
|
+
focus(_origin?: FocusOrigin, options?: FocusOptions): void;
|
|
400
|
+
setActiveStyles(): void;
|
|
401
|
+
setInactiveStyles(): void;
|
|
402
|
+
getLabel(): string;
|
|
403
|
+
private _emitSelectionChangeEvent;
|
|
404
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsOptionComponent<any>, never>;
|
|
405
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsOptionComponent<any>, "ids-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "explicitViewValue": { "alias": "viewValue"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], true, never>;
|
|
406
|
+
}
|
|
407
|
+
declare function _countGroupLabelsBeforeOption(optionIndex: number, options: Readonly<IdsOptionComponent[]>, optionGroups: Readonly<IdsOptionGroupComponent[]>): number;
|
|
408
|
+
declare function _getOptionScrollPosition(optionOffset: number, optionHeight: number, currentScrollPosition: number, panelHeight: number): number;
|
|
409
|
+
|
|
410
|
+
declare class IdsOptionSelectionChange<T = unknown> {
|
|
411
|
+
source: IdsOptionComponent<T>;
|
|
412
|
+
selected: boolean;
|
|
413
|
+
isUserInput: boolean;
|
|
414
|
+
constructor(source: IdsOptionComponent<T>, selected: boolean, isUserInput?: boolean);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
declare const IdsPseudoCheckboxState: {
|
|
418
|
+
readonly UNCHECKED: "unchecked";
|
|
419
|
+
readonly CHECKED: "checked";
|
|
420
|
+
readonly INDETERMINATE: "indeterminate";
|
|
421
|
+
};
|
|
422
|
+
type IdsPseudoCheckboxStateType = (typeof IdsPseudoCheckboxState)[keyof typeof IdsPseudoCheckboxState];
|
|
423
|
+
|
|
424
|
+
declare class PseudoCheckboxComponent extends ComponentBase {
|
|
425
|
+
protected get _hostName(): string;
|
|
426
|
+
private readonly _parent;
|
|
427
|
+
checkboxState: _angular_core.InputSignal<IdsPseudoCheckboxStateType>;
|
|
428
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
429
|
+
protected _isChecked: _angular_core.Signal<boolean>;
|
|
430
|
+
protected _isIndeterminate: _angular_core.Signal<boolean>;
|
|
431
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
432
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PseudoCheckboxComponent, never>;
|
|
433
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PseudoCheckboxComponent, "ids-pseudo-checkbox", never, { "checkboxState": { "alias": "checkboxState"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
declare class IdsFormFieldActionDirective {
|
|
437
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFormFieldActionDirective, never>;
|
|
438
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsFormFieldActionDirective, "[idsFormFieldAction]", never, {}, {}, never, never, true, never>;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
declare class IdsLabelDirective {
|
|
442
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsLabelDirective, never>;
|
|
443
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsLabelDirective, "ids-label", never, {}, {}, never, never, true, never>;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
declare class IdsPrefixDirective {
|
|
447
|
+
set idsLeadingIcon(value: '');
|
|
448
|
+
isLeadingIcon: boolean;
|
|
449
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsPrefixDirective, never>;
|
|
450
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsPrefixDirective, "[idsPrefix], [idsLeadingIcon]", never, { "idsLeadingIcon": { "alias": "idsLeadingIcon"; "required": false; }; }, {}, never, never, true, never>;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
declare class IdsSuffixDirective {
|
|
454
|
+
set idsTrailingIcon(value: '');
|
|
455
|
+
isTrailingIcon: boolean;
|
|
456
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsSuffixDirective, never>;
|
|
457
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsSuffixDirective, "[idsSuffix], [idsTrailingIcon]", never, { "idsTrailingIcon": { "alias": "idsTrailingIcon"; "required": false; }; }, {}, never, never, true, never>;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
declare class IdsValidators {
|
|
461
|
+
static required(control: AbstractControl): ValidationErrors | null;
|
|
462
|
+
static requiredTrue(control: AbstractControl): ValidationErrors | null;
|
|
463
|
+
static requiredFalse(control: AbstractControl): ValidationErrors | null;
|
|
464
|
+
}
|
|
465
|
+
declare function requiredValidator(control: AbstractControl): ValidationErrors | null;
|
|
466
|
+
declare function requiredTrueValidator(control: AbstractControl): ValidationErrors | null;
|
|
467
|
+
declare function requiredFalseValidator(control: AbstractControl): ValidationErrors | null;
|
|
468
|
+
|
|
469
|
+
export { AbstractErrorStateMatcher, AbstractSuccessStateMatcher, ErrorStateMatcher, ErrorStateTracker, IDS_FIELDSET_DEFAULT_CONFIG, IDS_FIELDSET_DEFAULT_CONFIG_FACTORY, IDS_FORM_FIELD_CONTROL, IDS_FORM_FIELD_DEFAULT_CONFIG, IDS_FORM_FIELD_DEFAULT_CONFIG_FACTORY, IDS_INPUT_DEFAULT_CONFIG, IDS_INPUT_DEFAULT_CONFIG_FACTORY, IDS_MESSAGE_DEFAULT_CONFIG, IDS_MESSAGE_DEFAULT_CONFIG_FACTORY, IDS_OPTION_GROUP, IDS_OPTION_PARENT_COMPONENT, IDS_PSEUDO_CHECKBOX_PARENT, IdsErrorDefinitionDirective, IdsErrorMessageComponent, IdsFieldsetComponent, IdsFieldsetMessageDirective, IdsFieldsetRowComponent, IdsFormFieldActionDirective, IdsFormFieldComponent, IdsFormFieldControl, IdsFormFieldVariant, IdsHintMessageComponent, IdsInputDirective, IdsLabelDirective, IdsMessageDirective, IdsMessagePrefixDirective, IdsMessageSuffixDirective, IdsMessageVariant, IdsOptionComponent, IdsOptionGroupComponent, IdsOptionSelectionChange, IdsPrefixDirective, IdsPseudoCheckboxState, IdsSuccessMessageComponent, IdsSuffixDirective, IdsValidators, Message, PseudoCheckboxComponent, SuccessStateMatcher, SuccessStateTracker, _countGroupLabelsBeforeOption, _getOptionScrollPosition, formFieldControlClass, requiredFalseValidator, requiredTrueValidator, requiredValidator };
|
|
470
|
+
export type { IdsErrorMessageMapping, IdsFieldsetDefaultConfig, IdsFormFieldDefaultConfig, IdsFormFieldVariantType, IdsInputDefaultConfig, IdsMessageDefaultConfig, IdsMessageVariantType, IdsOptionParentComponent, IdsPseudoCheckboxParent, IdsPseudoCheckboxStateType, MessageType };
|