import { KbqFormsModule } from '@koobiq/components/core';

Selector: [kbqNormalizeWhitespace]

Methods
onCopy
Replace thin-space with space on copy event

Shared directive to count lines inside a text area, such as a list item. Line elements can be extracted with a @ContentChildren(KbqLine) query, then counted by checking the query list's length.

Selector: [kbq-line], [mcLine]

Selector: kbq-action-container

Exported as: kbqActionContainer

Selector: .kbq-form__row, .kbq-form__fieldset, .kbq-form__legend

Exported as: kbqFormElement
Properties
Name Description
elements: QueryList
hasLegend: boolean
isFieldSet: boolean
isHorizontal: boolean
isRow: boolean
margin: boolean
Properties
Name Description
read: BehaviorSubject
timeToRead: number
timestamp: number
Methods
mouseenterHandler
mouseleaveHandler

Component that is used to group instances of `kbq-option`. When options aren't provided as `ng-content`, used as a Group Header with styling.

Selector: kbq-optgroup

Exported as: kbqOptgroup
Properties
Name Description
@Input()
disabled: boolean
@Input()
label: string
labelId: string Unique id for the underlying label.
Properties
Name Description
collapsed: boolean
isBrowser: boolean
nativeElement: HTMLElement
state: Subject
Methods
getOuterElementWidth
Properties
Name Description
arrow: boolean
changeDetectorRef: ChangeDetectorRef
classMap: {}
closeOnInteraction: boolean
content: string | TemplateRef
context: { $implicit: any; }
defaultPaddings: boolean
destroyRef: DestroyRef
elementRef: ElementRef
header: string | TemplateRef
hovered: BehaviorSubject Stream that emits when the popup item is hovered.
offset: number
onHideSubject: Subject Subject for notifying that the tooltip has been hidden from the view
prefix: string
renderer: Renderer2
trigger: KbqPopUpTrigger
visibility: PopUpVisibility
visibleChange: EventEmitter
warning: boolean
Methods
addEventListenerForHide
afterHidden
Returns an observable that notifies when the tooltip has been hidden from view.
animationDone
animationStart
detectChanges
handleBodyInteraction
hide
Hides the popup after a specified delay. The hide timeout triggers the hiding of the popup by updating visibility and emitting relevant events. Also, it marks for check to ensure proper change detection, especially for parent components with OnPush strategy.
isTemplateRef
isVisible
markForCheck
setStickPosition
show
updateClassMap

Selector: kbq-select-trigger, [kbq-select-trigger]

Selector: kbq-select-matcher, [kbq-select-matcher]

Properties
Name Description
@Input()
useDefaultHandlers: boolean

Selector: [kbq-select-search-empty-result]

Exported as: kbqSelectSearchEmptyResult

Selector: kbq-option-action

Exported as: kbqOptionAction
Properties
Name Description
@Input()
disabled: boolean
active: boolean
hasFocus: boolean
Methods
focus
onClick
onKeyDown

Selector: kbq-select-footer, [kbq-select-footer]

Selector: .kbq-form-vertical, .kbq-form-horizontal

Exported as: kbqForm
Properties
Name Description
elements: QueryList
Methods
handleElements

Selector: [kbqSelectSearch]

Exported as: kbqSelectSearch
Properties
Name Description
changes: EventEmitter
isSearchChanged: boolean
ngControl: any
Methods
focus
handleKeydown
hasPlaceholder
reset
setPlaceholder
value
Properties
Name Description
@Input()
color: string
colorClassName: string current class name of color
Methods
setDefaultColor
this color will be used as a default value. For example [color]="'' | false | undefined | null".
Properties
Name Description
arrow: boolean
availablePositions: { [key: string]: ConnectionPositionPair; }
closingActionsSubscription: Subscription
container: HTMLElement
content: string | TemplateRef
customClass: string
destroyRef: DestroyRef
detach: () => void
direction: Directionality
disabled: boolean
elementRef: ElementRef
enterDelay: number
hideWithTimeout: boolean Hide pop-up with timeout. Need if you want to show pop-up after leaving trigger
hostView: ViewContainerRef
hovered: BehaviorSubject Stream that emits when the popupTrigger is hovered.
instance: any
isOpen: boolean
leaveDelay: number
listeners: Map
mouseEvent: MouseEvent
ngZone: NgZone
onPositionChange: ($event: ConnectedOverlayPositionChange) => void
originSelector: string
overlay: Overlay
overlayConfig: OverlayConfig
overlayRef: OverlayRef
placement: "top" | "topLeft" | "topRight" | "right" | "rightTop" | "rightBottom" | "left" | "leftTop" | "leftBottom" | "bottom" | "bottomLeft" | "bottomRight"
placementChange: EventEmitter
placementPriority: string | string[]
portal: ComponentPortal
preventClose: boolean prevents closure by any event
scheduler: AsyncScheduler
scrollDispatcher: ScrollDispatcher
scrollStrategy: () => ScrollStrategy
scrollable: CdkScrollable
stickToWindow: "top" | "right" | "left" | "bottom"
strategy: FlexibleConnectedPositionStrategy
trigger: string
triggerName: string
visible: boolean
visibleChange: EventEmitter
Methods
clearListeners
closingActions
createOverlay
Create the overlay config and position strategy
focus
getAdjustedPositions
Returns a list of positions that are aligned with the element's dimensions and offsets.
getMouseLeaveListener
getOverlayHandleComponentType
getPrioritizedPositions
getPriorityPlacementStrategy
hide
initListeners
keydownHandler
resetOrigin
show
touchendHandler
updateClassMap
updateData
updatePlacement
updatePlacementPriority
updatePosition
Updates the position of the current popover.
updateVisible

Single option inside of a `` element.

Selector: kbq-option

Exported as: kbqOption
Properties
Name Description
@Input()
disabled: any
@Input()
selectable: boolean
@Input()
showCheckbox: boolean
@Input()
userSelect: boolean
@Input()
value: any
The form value of the option.
@Input()
viewValue: string
The displayed value of the option. It is necessary to show the selected option in the select's trigger.
@Output('onSelectionChange')
onSelectionChange: EventEmitter>
Event emitted when the option is selected or deselected.
active: boolean Whether or not the option is currently active and ready to be selected. An active option displays styles as if it is focused, but the focus is actually retained somewhere else. This comes in handy for components like autocomplete where focus must remain on the input.
id: string
multiple: boolean Whether the wrapping component is in multiple selection mode.
selected: boolean
stateChanges: Subject Emits when the state of the option changes and any parents have to be notified.
textElement: ElementRef
Methods
deselect
emitSelectionChangeEvent
Emits the selection change event.
focus
getHostElement
getLabel
Gets the label to be used when determining whether the option should be focused.
getTabIndex
handleKeydown
Ensures the option is selected when activated from the keyboard.
select
selectViaInteraction
`Selects the option while indicating the selection came from the user. Used to determine if the select's view -> model callback should be invoked.`
setActiveStyles
This method sets display styles on the option to make it appear active. This is used by the ActiveDescendantKeyManager so key events will display the proper options as active on arrow key events.
setInactiveStyles
This method removes display styles on the option that made it appear active. This is used by the ActiveDescendantKeyManager so key events will display the proper options as active on arrow key events.
Methods
allowFocus
preventFocus

Provides a set of validators for password form controls.

Methods
maxLength
Validator that requires the control's value length to be at most `max` characters. `max` - number of characters. ## Usage: ```typescript const control = new FormControl('password', PasswordValidators.maxLength(6)); console.log(control.errors); // {maxLength: {max: 6, actual: 8}} ```
minLength
Validator that requires the control's value length to be at least `min` characters. `min` - number of characters. ## Usage: ```typescript const control = new FormControl('password', PasswordValidators.minLength(10)); console.log(control.errors); // {minLength: {min: 10, actual: 8}} ```
minLowercase
Validator that requires the control's value to be at least `min` lowercase characters. `min` - number of lowercase characters. ### Usage: ```typescript const control = new FormControl('PASSWORD', PasswordValidators.minLowercase()); console.log(control.errors); // {minLowercase: {min: 1, actual: 0}} ```
minNumber
Validator that requires the control's value to be at least `min` number characters. `min` - number of number characters. ### Usage: ```typescript const control = new FormControl('passw0rd', PasswordValidators.minNumber(2)); console.log(control.errors); // {minNumber: {min: 2, actual: 1}} ```
minSpecial
Validator that requires the control's value to be at least `min` special characters. `min` - number of special characters. ### Special characters: ```js ['!','@','#','$','%','^','&','*'] ``` ### Usage: ```typescript const control = new FormControl('pa$sword', PasswordValidators.minSpecial(2)); console.log(control.errors); // {minSpecial: {min: 2, actual: 1}} ```
minUppercase
Validator that requires the control's value to be at least `min` uppercase characters. `min` - number of uppercase characters. ### Usage: ```typescript const control = new FormControl('Password', PasswordValidators.minUppercase(2)); console.log(control.errors); // {minUppercase: {min: 2, actual: 1}} ```
Properties
Name Description
document: Document
scrollBarWidth: number
Methods
initScrollBarWidth
Properties
Name Description
adapter: DateAdapter
formatter: DateFormatter
Properties
Name Description
config: FormatterConfig
invalidDateErrorText: string
localeService: KbqLocaleService
messageFormat: MessageFormat<"string">
Methods
absoluteDate
absoluteLongDate
absoluteLongDateTime
absoluteShortDate
absoluteShortDateTime
duration
durationLong
durationShort
durationShortest
openedRangeDate
openedRangeDateTime
rangeDate
rangeDateTime
rangeLongDate
rangeLongDateTime
rangeMiddleDateTime
rangeShortDate
rangeShortDateTime
relativeDate
relativeLongDate
relativeLongDateTime
relativeShortDate
relativeShortDateTime
setLocale
Properties
Name Description
config: DateAdapterConfig
locale: any The locale to use for all dates.
localeChanges: Observable A stream that emits when the locale changes.
Methods
addCalendarDays
Adds the given number of days to the date. Days are counted as if moving one cell on the calendar for each day.
addCalendarMonths
Adds the given number of months to the date. Months are counted as if flipping a page on the calendar for each month and then finding the closest date in the new month. For example when adding 1 month to Jan 31, 2017, the resulting date will be Feb 28, 2017.
addCalendarUnits
Adds calendar units to a date.
addCalendarYears
Adds the given number of years to the date. Years are counted as if flipping 12 pages on the calendar for each year and then finding the closest date in the new month. For example when adding 1 year to Feb 29, 2016, the resulting date will be Feb 28, 2017.
clampDate
Clamp the given date between min and max dates.
clone
Clones the given date.
compareDate
Compares two dates.
compareDateTime
Compares two dates.
createDate
Creates a date with the given year, month, and date. Does not allow over/under-flow of the month and date.
createDateTime
Creates a date time with the given year, month, date, hours, minutes, seconds and milliseconds. Does not allow over/under-flow of the month and date.
daysFromToday
deserialize
Attempts to deserialize a value to a valid date object. This is different from parsing in that deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601 string). The default implementation does not allow any deserialization, it simply checks that the given value is already a valid date object or null. The `` will call this method on all of it's `@Input()` properties that accept dates. It is therefore possible to support passing values from your backend directly to these properties by overriding this method to also deserialize the format used by your backend.
diffNow
durationAs
durationFormat
durationObjectFromDates
format
Formats a date as a string according to the given format.
getDate
Gets the date of the month component of the given date.
getDateNames
Gets a list of names for the dates of the month.
getDayOfWeek
Gets the day of the week component of the given date.
getDayOfWeekNames
Gets a list of names for the days of the week.
getFirstDayOfWeek
Gets the first day of the week.
getHours
Gets the hours component of the given date.
getMilliseconds
Gets the milliseconds component of the given date.
getMinutes
Gets the minutes component of the given date.
getMonth
Gets the month component of the given date.
getMonthNames
Gets a list of names for the months.
getNumDaysInMonth
Gets the number of days in the month of the given date.
getSeconds
Gets the seconds component of the given date.
getTime
Gets returns the number of milliseconds since the Unix Epoch of the given date.
getYear
Gets the year component of the given date.
getYearName
Gets the name for the year of the given date.
hasSame
invalid
Gets date instance that is not valid.
isDateInstance
Checks whether the given object is considered a date instance by this DateAdapter.
isValid
Checks whether the given date is valid.
parse
Parses a date from a user-provided value.
sameDate
Checks if two dates are equal.
setLocale
Sets the locale used for all dates.
startOf
"Set" given date to the beginning of the given unit.
toIso8601
Gets the RFC 3339 compatible string (https://tools.ietf.org/html/rfc3339) for the given date. This method is used to generate date strings that are compatible with native HTML attributes such as the `min` or `max` attribute of an ``.
today
Gets today's date.

Error state matcher that matches when a control is invalid and form is submitted. Requires use FormGroupDirective or NgForm.

Methods
isErrorState

Event object emitted by KbqOption when selected or deselected.

Properties
Name Description
isUserInput: boolean
source: T

Error state matcher with split behavior based on error's type: - `required` errors are shown only after the form is submitted. - All other errors are shown as soon as the control is invalid and touched.

Methods
isErrorState
Properties
Name Description
current: BehaviorSubject
document: Document
renderer: Renderer2
rendererFactory: RendererFactory2
subscription: Subscription
themes: T[]
update: ([prev, current]: T[]) => void
Methods
getTheme
setTheme
setThemes

Error state matcher that matches when a control is invalid and dirty or form is submitted.

Methods
isErrorState
Properties
Name Description
disabled: boolean
onSelectionChange: EventEmitter>
value: any
viewValue: string
Methods
deselect
emitSelectionChangeEvent
Emits the selection change event.
select

Provider that defines how form controls behave with regards to displaying error messages. Error state matcher that matches when a control is invalid and touched or form is submitted.

Methods
isErrorState
Properties
Name Description
changes: BehaviorSubject
current: any
id: string
locales: any
Methods
addLocale
getParams
setLocale
Properties
Name Description
disabled: any
onSelectionChange: EventEmitter>
selected: boolean
value: any
viewValue: string
Methods
deselect
emitSelectionChangeEvent
Emits the selection change event.
select

Provides a set of validators for file-related form controls.

Methods
isCorrectExtension
Validator that checks whether file's name or MIME type matches one of the accepted extensions or MIME types.
maxFileSize
Validator that checks if the file size is less than or equal to the provided `maxSize`.
Properties
Name Description
parentTextElement: ElementRef
textElement: ElementRef
Deprecated
Properties
Name Description
canCleanerClearByEsc: boolean
control: any
inOverlay: ModelSignal Use when KbqFormField is in an overlay container.
Methods
focus
Deprecated
focusViaKeyboard
Deprecated
shouldForward
Properties
Name Description
disabled: boolean
Properties
Name Description
color: string
Properties
Name Description
closedStream: Observable
Properties
Name Description
className: string
name: string
selected: boolean
Properties
Name Description
dropdownTrigger: { opened: boolean; restoreFocus: boolean; dropdownClosed: EventEmitter; lastDestroyReason: void | "click" | "keydown" | "tab"; openedBy: "touch" | "mouse" | "keyboard"; toggle(): void; }
tooltipTrigger: { disabled: boolean; }
Methods
focus
Properties
Name Description
abbreviations: string[]
base: number
power: number

Configuration for file size formatting options. Defines the default unit system, precision, and available unit systems.

Properties
Name Description
defaultPrecision: number Default number of decimal places to display in formatted output.
defaultUnitSystem: "SI" | "IEC" Default unit system to use (e.g., 'SI' or 'IEC').
unitSystems: { SI: KbqUnitSystem; IEC: KbqUnitSystem; }

Special contract between `KbqDecimalPipe` and `KbqTableNumberPipe`, so they can be interchangeable in the cases of usage

Methods
transform

Handler that will update scroll position of elements inside overlay

Methods
scrollActiveOptionIntoView
Scrolls the active option into view.
Properties
Name Description
browseLink: string
browseLinkFolder: string
browseLinkFolderMixed: string
captionText: string
captionTextOnlyFolder: string
captionTextWithFolder: string
Properties
Name Description
browseLink: string
browseLinkFolder: string
browseLinkFolderMixed: string
captionText: string
captionTextForCompactSize: string
captionTextOnlyFolder: string
captionTextWhenSelected: string
captionTextWithFolder: string
title: string
const isBoolean: ;
const mixinDisabled: ;
const mixinTabIndex: ;
const escapeRegExp: ;

Formats a number value according to locale and formatting options

const formatNumberWithLocale: ;

Returns an exception to be thrown when assigning a non-function value to the comparator used to determine if a value corresponds to an option. Note that whether the function actually takes two values and returns a boolean is not checked.

const getKbqSelectNonFunctionValueError: ;
const getFormattedSizeParts: ;
const KBQ_DEFAULT_LOCALE_DATA_FACTORY: ;
Deprecated

Will be removed in the next major release

const toBoolean: ;
const mixinColor: ;
const mixinErrorState: ;

Whether the current platform is a Mac.

const isMac: ;

Function that returns a string representation of a number without localized separators

const normalizeNumber: ;

Function that parse string and return a number. The string can be in any locale.

const checkAndNormalizeLocalizedNumber: ;
const isWithin: ;

Defines the available size options for Koobiq components.

type KbqDefaultSizes = 'compact' | 'normal' | 'big';

Tri-state checkbox values

type KbqCheckedState = 'true' | 'false' | 'mixed';

Controls the direction of flex items: horizontal (`'row'`) or vertical (`'column'`).

type KbqFlexDirection = 'row' | 'column';

Defines component orientation.

type KbqOrientation = 'horizontal' | 'vertical';

Locale configuration for `KbqCodeBlockModule`.

type KbqCodeBlockLocaleConfiguration = {
    softWrapOnTooltip: string;
    softWrapOffTooltip: string;

    downloadTooltip: string;

    copiedTooltip: string;
    copyTooltip: string;

    viewAllText: string;
    viewLessText: string;

    openExternalSystemTooltip: string;
};

Controls flex item wrapping: single-line (`'nowrap'`) or multi-line (`'wrap'`).

type KbqFlexWrap = 'nowrap' | 'wrap';
type KbqPseudoCheckboxState = 'unchecked' | 'checked' | 'indeterminate' | boolean;
type KbqDateFormats = DateFormats;
type HasTabIndexCtor = Constructor<HasTabIndex> & AbstractConstructor<HasTabIndex>;

Locale configuration for `KbqActionsPanelModule`.

type KbqActionsPanelLocaleConfiguration = {
    closeTooltip: string;
};

Unit systems as union type

type KbqMeasurementSystemType = keyof typeof KbqMeasurementSystem;

Options for overriding locale-based number formatting

type KbqNumberFormatOptions = {
    /** Overrides the default group separator in the formatted output */
    viewGroupSeparator?: string;
};

Locale configuration for `KbqNumberInput`.

type KbqNumberInputLocaleConfig = {
    /** Characters recognized as group (thousands) separators. */
    groupSeparator: string[];
    /** Character used for the decimal separator */
    fractionSeparator: string;
    /** Number of digits before applying group separators */
    startFormattingFrom?: number;
} & KbqNumberFormatOptions;
type KbqPopUpPlacementValues = KbqEnumValues<PopUpPlacements>;
type KbqStickToWindowPlacementValues = KbqEnumValues<
    PopUpPlacements.Top | PopUpPlacements.Right | PopUpPlacements.Bottom | PopUpPlacements.Left
>;

Locale configuration for `KbqClampedText`

type KbqClampedTextLocaleConfig = {
    openText: string;
    closeText: string;
    showMoreText: string;
    moreText: string;
};

Locale configuration for `KbqTimeRange`

type KbqTimeRangeLocaleConfig = {
    title: {
        for: string;
        placeholder: string;
    };
    editor: {
        from: string;
        to: string;
        apply: string;
        cancel: string;
        rangeLabel: string;
        allTime: string;
        currentQuarter: string;
        currentYear: string;
    };
    durationTemplate: {
        title: FormatterDurationTemplate;
        option: FormatterDurationTemplate;
    };
};
type KbqPopUpSizeValues = KbqEnumValues<PopUpSizes>;

Converts an enumeration (enum) type into a string literal type containing all possible string representations of the values.

type KbqEnumValues = `${T}`;
type KbqFileUploadLocaleConfig = {
    single: KbqBaseFileUploadLocaleConfig;
    multiple: KbqMultipleFileUploadLocaleConfig;
};

Type helper describing accepted file types, referring to:

type KbqFileTypeSpecifier = Parameters<typeof FileValidators.isCorrectExtension>[0];
const selectEvents: string;
const VERSION: Version;
const KBQ_INVALID_VALUE_ERROR: string;
const applyPopupMargins: (renderer: Renderer2, element: HTMLElement, name: string, value: string) => void;
const KBQ_DATE_FORMATS: InjectionToken<DateFormats>;
const fadeAnimation: AnimationTriggerMetadata;

Injects the native element for the current component.

const kbqInjectNativeElement: <T extends Element = HTMLElement>() => T;
const enUSFormattersData: { formatters: { number: { rounding: { separator: string; groupSeparator: string; thousand: string; million: string; billion: string; trillion: string; }; }; }; input: { number: { groupSeparator: string[]; fractionSeparator: string; }; }; sizeUnits: { ...; }; };
const POSITION_MAP: { [key: string]: ConnectionPositionPair; };

Whether the value is undefined.

const isUndefined: (value: unknown) => value is undefined;

An abstraction over the global `window` object.

const KBQ_WINDOW: InjectionToken<Window>;
const KBQ_TITLE_TEXT_REF: InjectionToken<KbqTitleTextRef>;

Utility provider for `ErrorStateMatcher`.

const kbqErrorStateMatcherProvider: (errorStateMatcher: ErrorStateMatcher | Type$1<ErrorStateMatcher>) => Provider;
const enUSLocaleData: { select: { hiddenItemsText: string; }; datepicker: { placeholder: string; dateInput: string; }; timepicker: { placeholder: { full: string; short: string; }; }; fileUpload: { single: { captionText: string; ... 4 more ...; browseLinkFolderMixed: string; }; multiple: { ...; }; }; ... 10 more ...; notificationCenter: {...;
const esLALocaleData: { select: { hiddenItemsText: string; }; datepicker: { placeholder: string; }; timepicker: { placeholder: { full: string; short: string; }; }; fileUpload: { single: { captionText: string; captionTextOnlyFolder: string; captionTextWithFolder: string; browseLink: string; browseLinkFolder: string; browseLinkFolderMixed:...;
const ptBRLocaleData: { select: { hiddenItemsText: string; }; datepicker: { placeholder: string; }; timepicker: { placeholder: { full: string; short: string; }; }; fileUpload: { single: { captionText: string; captionTextOnlyFolder: string; captionTextWithFolder: string; browseLink: string; browseLinkFolder: string; browseLinkFolderMixed:...;
const ruRULocaleData: { select: { hiddenItemsText: string; }; datepicker: { placeholder: string; dateInput: string; }; timepicker: { placeholder: { full: string; short: string; }; }; fileUpload: { single: { captionText: string; ... 4 more ...; browseLinkFolderMixed: string; }; multiple: { ...; }; }; ... 10 more ...; notificationCenter: {...;
const tkTMLocaleData: { select: { hiddenItemsText: string; }; datepicker: { placeholder: string; dateInput: string; }; timepicker: { placeholder: { full: string; short: string; }; }; fileUpload: { single: { captionText: string; ... 4 more ...; browseLinkFolderMixed: string; }; multiple: { ...; }; }; ... 10 more ...; notificationCenter: {...;

The following are all the animations for the kbq-select component, with each const containing the metadata for one animation.

const kbqSelectAnimations: { readonly transformPanel: AnimationTriggerMetadata; readonly fadeInContent: AnimationTriggerMetadata; };

Minimum option count threshold for displaying select search. Search is hidden when fewer options are available.

const KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD: number;

InjectionToken for datepicker that can be used to override default locale code.

const KBQ_DATE_LOCALE: InjectionToken<string>;

Whether the value is null.

const isNull: (value: unknown) => value is null;
const KBQ_NUMBER_FORMATTER_OPTIONS: InjectionToken<ParsedDigitsInfo>;

InjectionToken for providing component with popup. Used in select and tree-select for tooltip.

const KBQ_PARENT_POPUP: InjectionToken<KbqParentPopup>;

Whether the value is HTMLElement.

const isHtmlElement: (value: unknown) => value is HTMLElement;
const KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS: ParsedDigitsInfo;

The select panel will only "fit" inside the viewport if it is positioned at this value or more away from the viewport boundary.

const SELECT_PANEL_VIEWPORT_PADDING: number;

Whether the value is Element.

const isElement: (value: unknown) => value is Element;
const KBQ_LOCALE_ID: InjectionToken<string>;

Injection token that determines the scroll handling while a select is open.

const KBQ_SELECT_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
const KBQ_DEFAULT_LOCALE_ID: string;

Utility provider which disables legacy validation directive. Will be removed in next major release.

const kbqDisableLegacyValidationDirectiveProvider: () => Provider;
const KBQ_PARENT_ANIMATION_COMPONENT: InjectionToken<any>;

Whether the value is HTMLElement or null.

const isHtmlElementOrNull: (value: unknown) => value is HTMLElement;
const KbqDefaultThemes: KbqTheme[];
const KBQ_OPTION_ACTION_PARENT: InjectionToken<KbqOptionActionParent>;

Injection token that can be used to inject an instances of `KbqFormField`. It serves as alternative token to the actual `KbqFormField` class which would cause unnecessary retention of the `KbqFormField` class and its component metadata.

const KBQ_FORM_FIELD_REF: InjectionToken<KbqFormFieldRef>;
const esLAFormattersData: { formatters: { number: { rounding: { separator: string; groupSeparator: string; thousand: string; million: string; billion: string; trillion: string; }; decimal: { viewGroupSeparator: string; }; }; }; input: { ...; }; sizeUnits: { ...; }; };
const getNodesWithoutComments: (nodes: NodeList) => Node[];
const KBQ_LOCALE_DATA: InjectionToken<any>;
const KBQ_LOCALE_SERVICE: InjectionToken<KbqLocaleService>;

Default value when configuring overlay in popups (Autocomplete, Datepicker, Dropdown, Select, Tags Autocomplete, Tags Input, Timezone, TreeSelect).

const defaultOffsetY: number;
const KBQ_SIZE_UNITS_DEFAULT_CONFIG: KbqSizeUnitsConfig;

Injection token used to provide the parent component to options.

const KBQ_OPTION_PARENT_COMPONENT: InjectionToken<KbqOptionParentComponent>;
const NUMBER_FORMAT_REGEXP: RegExp;

Configuration for converting sizes in different unit systems.

const KBQ_SIZE_UNITS_CONFIG: InjectionToken<KbqSizeUnitsConfig>;
const EXTENDED_OVERLAY_POSITIONS: ConnectionPositionPair[];

Utility provider for `KBQ_SIZE_UNITS_CONFIG`.

const kbqFilesizeFormatterConfigurationProvider: (configuration: Partial<KbqSizeUnitsConfig>) => Provider;
const ptBRFormattersData: { formatters: { number: { rounding: { separator: string; groupSeparator: string; thousand: string; million: string; billion: string; trillion: string; }; }; }; input: { number: { groupSeparator: string[]; fractionSeparator: string; }; }; sizeUnits: { ...; }; };
const TOP_POSITION_PRIORITY: ConnectionPositionPair[];
const BOTTOM_POSITION_PRIORITY: ConnectionPositionPair[];

Converts bytes to Kb, Mb, Gb

const getHumanizedBytes: (value: number, system: KbqUnitSystem, threshold?: number) => { result: number; unit: string; };
const RIGHT_POSITION_PRIORITY: ConnectionPositionPair[];
const LEFT_POSITION_PRIORITY: ConnectionPositionPair[];
const ruRUFormattersData: { formatters: { number: { rounding: { separator: string; groupSeparator: string; thousand: string; million: string; billion: string; trillion: string; }; decimal: { viewGroupSeparator: string; }; }; }; input: { ...; }; sizeUnits: { ...; }; };
const RIGHT_TOP_POSITION_PRIORITY: ConnectionPositionPair[];
const RIGHT_BOTTOM_POSITION_PRIORITY: ConnectionPositionPair[];
const LEFT_TOP_POSITION_PRIORITY: ConnectionPositionPair[];
const LEFT_BOTTOM_POSITION_PRIORITY: ConnectionPositionPair[];
const TOP_LEFT_POSITION_PRIORITY: ConnectionPositionPair[];
const tkTMFormattersData: { formatters: { number: { rounding: { separator: string; groupSeparator: string; thousand: string; million: string; billion: string; trillion: string; }; }; }; input: { number: { groupSeparator: string[]; fractionSeparator: string; viewGroupSeparator: string; }; }; sizeUnits: { ...; }; };
const TOP_RIGHT_POSITION_PRIORITY: ConnectionPositionPair[];
const BOTTOM_RIGHT_POSITION_PRIORITY: ConnectionPositionPair[];
const BOTTOM_LEFT_POSITION_PRIORITY: ConnectionPositionPair[];
const POSITION_PRIORITY_STRATEGY: { top: ConnectionPositionPair[]; topLeft: ConnectionPositionPair[]; topRight: ConnectionPositionPair[]; bottom: ConnectionPositionPair[]; ... 7 more ...; rightBottom: ConnectionPositionPair[]; };
const POSITION_TO_CSS_MAP: { [key: string]: string; };
const KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER: <T>(token: InjectionToken<T>, factory: (overlay: Overlay) => () => ScrollStrategy) => { provide: InjectionToken<T>; deps: (typeof Overlay)[]; useFactory: (overlay: Overlay) => () => ScrollStrategy; };
Docs Feedback
If you have any questions or would like to contribute to writing the documentation, please create an issue in our GitHub repository.