@koobiq/components 18.39.2 → 18.39.4
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/checkbox/checkbox.scss +5 -5
- package/code-block/code-block.d.ts +10 -3
- package/code-block/code-block.module.d.ts +1 -1
- package/code-block/code-block.scss +1 -0
- package/code-block/types.d.ts +9 -0
- package/core/highlight/highlight.pipe.d.ts +2 -0
- package/core/option/action.d.ts +5 -6
- package/core/pop-up/pop-up-trigger.d.ts +4 -1
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +2 -2
- package/datepicker/datepicker-input.directive.d.ts +6 -1
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/code-block/code-block.mjs +23 -6
- package/esm2022/code-block/code-block.module.mjs +8 -5
- package/esm2022/code-block/types.mjs +1 -1
- package/esm2022/core/highlight/highlight.pipe.mjs +23 -5
- package/esm2022/core/locales/en-US.mjs +2 -2
- package/esm2022/core/locales/es-LA.mjs +2 -2
- package/esm2022/core/locales/pt-BR.mjs +2 -2
- package/esm2022/core/locales/ru-RU.mjs +2 -2
- package/esm2022/core/locales/tk-TM.mjs +2 -2
- package/esm2022/core/option/action.mjs +21 -22
- package/esm2022/core/pop-up/pop-up-trigger.mjs +11 -3
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/datepicker-input.directive.mjs +9 -2
- package/esm2022/datepicker/datepicker.component.mjs +2 -2
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +3 -2
- package/esm2022/filter-bar/pipes/pipe-date.mjs +7 -8
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +8 -9
- package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-text.mjs +3 -3
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/fieldset.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/password-toggle.mjs +3 -3
- package/esm2022/form-field/stepper.mjs +3 -1
- package/esm2022/icon/icon-button.component.mjs +2 -2
- package/esm2022/inline-edit/inline-edit.mjs +4 -4
- package/esm2022/input/input-password.mjs +5 -4
- package/esm2022/input/input.mjs +5 -4
- package/esm2022/list/list-selection.component.mjs +12 -2
- package/esm2022/navbar/navbar-item.component.mjs +9 -2
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/progress-spinner/progress-spinner.component.mjs +4 -3
- package/esm2022/search-expandable/search-expandable.mjs +50 -23
- package/esm2022/select/select.component.mjs +10 -6
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-nav-bar.mjs +3 -3
- package/esm2022/tags/tag-input.mjs +21 -24
- package/esm2022/tags/tag-list.component.mjs +14 -5
- package/esm2022/tags/tag.component.mjs +9 -3
- package/esm2022/textarea/textarea.component.mjs +4 -3
- package/esm2022/title/title.directive.mjs +16 -3
- package/esm2022/tooltip/tooltip.component.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +4 -3
- package/fesm2022/koobiq-components-checkbox.mjs +2 -2
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +29 -9
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +56 -32
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +9 -2
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +2 -1
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +24 -24
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +10 -8
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +2 -2
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-inline-edit.mjs +3 -3
- package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +6 -4
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +11 -1
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +8 -1
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +3 -2
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-search-expandable.mjs +49 -22
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +9 -5
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +4 -4
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +39 -27
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +3 -2
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +15 -2
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +3 -2
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/filter-bar/pipes/pipe-date.scss +3 -15
- package/form-field/_form-field-theme.scss +2 -2
- package/form-field/form-field.scss +0 -1
- package/icon/icon-button.scss +9 -4
- package/inline-edit/inline-edit-tokens.scss +1 -1
- package/inline-edit/inline-edit.d.ts +2 -2
- package/inline-edit/inline-edit.scss +1 -1
- package/input/input-password.d.ts +1 -0
- package/input/input.d.ts +1 -0
- package/list/list-selection.component.d.ts +1 -0
- package/navbar/navbar-item.component.d.ts +3 -1
- package/package.json +10 -10
- package/popover/_popover-theme.scss +1 -1
- package/progress-spinner/_progress-spinner-theme.scss +14 -4
- package/progress-spinner/progress-spinner-tokens.scss +2 -0
- package/schematics/ng-add/index.js +2 -2
- package/search-expandable/search-expandable.d.ts +19 -4
- package/select/select.component.d.ts +3 -1
- package/tabs/_tabs-common.scss +2 -1
- package/tags/tag-input.d.ts +4 -3
- package/tags/tag-list.component.d.ts +8 -1
- package/tags/tag.component.d.ts +2 -0
- package/textarea/textarea.component.d.ts +1 -0
- package/title/title.directive.d.ts +3 -0
- package/tree-select/tree-select.component.d.ts +1 -0
|
@@ -101,7 +101,9 @@ export declare class KbqNavbarItem extends KbqTooltipTrigger implements AfterCon
|
|
|
101
101
|
private bento;
|
|
102
102
|
title: KbqNavbarTitle;
|
|
103
103
|
icon: KbqIcon;
|
|
104
|
-
collapsedText: string;
|
|
104
|
+
get collapsedText(): string;
|
|
105
|
+
set collapsedText(value: string);
|
|
106
|
+
private _collapsedText;
|
|
105
107
|
get trigger(): string;
|
|
106
108
|
set trigger(value: string);
|
|
107
109
|
set collapsed(value: boolean);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "18.39.
|
|
3
|
+
"version": "18.39.4",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@angular/cdk": "^18.0.0",
|
|
25
25
|
"@angular/core": "^18.0.0",
|
|
26
26
|
"@angular/forms": "^18.0.0",
|
|
27
|
-
"@koobiq/cdk": "18.39.
|
|
28
|
-
"@koobiq/angular-moment-adapter": "18.39.
|
|
29
|
-
"@koobiq/angular-luxon-adapter": "18.39.
|
|
27
|
+
"@koobiq/cdk": "18.39.4",
|
|
28
|
+
"@koobiq/angular-moment-adapter": "18.39.4",
|
|
29
|
+
"@koobiq/angular-luxon-adapter": "18.39.4",
|
|
30
30
|
"@koobiq/date-formatter": "^3.2.3",
|
|
31
31
|
"@koobiq/icons": "^10.4.0",
|
|
32
32
|
"@koobiq/tokens-builder": "3.11.0",
|
|
@@ -274,18 +274,18 @@
|
|
|
274
274
|
"esm": "./esm2022/notification-center/koobiq-components-notification-center.mjs",
|
|
275
275
|
"default": "./fesm2022/koobiq-components-notification-center.mjs"
|
|
276
276
|
},
|
|
277
|
-
"./overflow-items": {
|
|
278
|
-
"types": "./overflow-items/index.d.ts",
|
|
279
|
-
"esm2022": "./esm2022/overflow-items/koobiq-components-overflow-items.mjs",
|
|
280
|
-
"esm": "./esm2022/overflow-items/koobiq-components-overflow-items.mjs",
|
|
281
|
-
"default": "./fesm2022/koobiq-components-overflow-items.mjs"
|
|
282
|
-
},
|
|
283
277
|
"./popover": {
|
|
284
278
|
"types": "./popover/index.d.ts",
|
|
285
279
|
"esm2022": "./esm2022/popover/koobiq-components-popover.mjs",
|
|
286
280
|
"esm": "./esm2022/popover/koobiq-components-popover.mjs",
|
|
287
281
|
"default": "./fesm2022/koobiq-components-popover.mjs"
|
|
288
282
|
},
|
|
283
|
+
"./overflow-items": {
|
|
284
|
+
"types": "./overflow-items/index.d.ts",
|
|
285
|
+
"esm2022": "./esm2022/overflow-items/koobiq-components-overflow-items.mjs",
|
|
286
|
+
"esm": "./esm2022/overflow-items/koobiq-components-overflow-items.mjs",
|
|
287
|
+
"default": "./fesm2022/koobiq-components-overflow-items.mjs"
|
|
288
|
+
},
|
|
289
289
|
"./progress-bar": {
|
|
290
290
|
"types": "./progress-bar/index.d.ts",
|
|
291
291
|
"esm2022": "./esm2022/progress-bar/koobiq-components-progress-bar.mjs",
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
@use '../core/styles/common/tokens'
|
|
1
|
+
@use '../core/styles/common/tokens';
|
|
2
2
|
|
|
3
3
|
@mixin kbq-progress-spinner-theme() {
|
|
4
4
|
.kbq-progress-spinner {
|
|
5
|
+
--stroke: var(--kbq-progress-spinner-circle-background);
|
|
6
|
+
|
|
5
7
|
.kbq-progress-spinner__circle {
|
|
6
|
-
stroke: var(--
|
|
8
|
+
stroke: var(--stroke);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&.kbq-contrast {
|
|
12
|
+
--stroke: var(--kbq-progress-spinner-circle-contrast-background);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.kbq-contrast-fade {
|
|
16
|
+
--stroke: var(--kbq-progress-spinner-circle-contrast-fade-background);
|
|
7
17
|
}
|
|
8
18
|
}
|
|
9
19
|
|
|
@@ -18,10 +28,10 @@
|
|
|
18
28
|
|
|
19
29
|
@mixin kbq-progress-spinner-typography() {
|
|
20
30
|
.kbq-progress-spinner-text {
|
|
21
|
-
@include kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
31
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
22
32
|
}
|
|
23
33
|
|
|
24
34
|
.kbq-progress-spinner-caption {
|
|
25
|
-
@include kbq-typography-level-to-styles-css-variables(typography, text-compact);
|
|
35
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-compact);
|
|
26
36
|
}
|
|
27
37
|
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
--kbq-progress-spinner-size-big-content-gap-horizontal: var(--kbq-size-s);
|
|
10
10
|
/* THEME TOKENS */
|
|
11
11
|
--kbq-progress-spinner-circle-background: var(--kbq-icon-theme);
|
|
12
|
+
--kbq-progress-spinner-circle-contrast-background: var(--kbq-icon-contrast);
|
|
13
|
+
--kbq-progress-spinner-circle-contrast-fade-background: var(--kbq-icon-contrast-fade);
|
|
12
14
|
--kbq-progress-spinner-text-color: var(--kbq-foreground-contrast);
|
|
13
15
|
--kbq-progress-spinner-caption-color: var(--kbq-foreground-contrast-secondary);
|
|
14
16
|
}
|
|
@@ -27,8 +27,8 @@ function ngAdd(options) {
|
|
|
27
27
|
}
|
|
28
28
|
// Installing dependencies
|
|
29
29
|
utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^18.2.14");
|
|
30
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.39.
|
|
31
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.39.
|
|
30
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.39.4");
|
|
31
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.39.4");
|
|
32
32
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.4.0");
|
|
33
33
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.4.0");
|
|
34
34
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^10.10.0");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, DestroyRef, EventEmitter, InjectionToken } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { AfterViewInit, ChangeDetectorRef, DestroyRef, EventEmitter, InjectionToken, OnDestroy } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/** default configuration of search-expandable */
|
|
@@ -12,7 +12,9 @@ export declare const KBQ_SEARCH_EXPANDABLE_DEFAULT_CONFIGURATION: {
|
|
|
12
12
|
export declare const KBQ_SEARCH_EXPANDABLE_CONFIGURATION: InjectionToken<unknown>;
|
|
13
13
|
export declare const defaultValue = "";
|
|
14
14
|
export declare const defaultEmitValueTimeout = 200;
|
|
15
|
-
export declare class KbqSearchExpandable implements ControlValueAccessor, AfterViewInit {
|
|
15
|
+
export declare class KbqSearchExpandable implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
16
|
+
/** @docs-private */
|
|
17
|
+
protected readonly ngControl: NgControl | null;
|
|
16
18
|
/** @docs-private */
|
|
17
19
|
protected readonly focusMonitor: FocusMonitor;
|
|
18
20
|
/** @docs-private */
|
|
@@ -41,6 +43,12 @@ export declare class KbqSearchExpandable implements ControlValueAccessor, AfterV
|
|
|
41
43
|
get placeholder(): string;
|
|
42
44
|
set placeholder(value: string);
|
|
43
45
|
private _placeholder;
|
|
46
|
+
get disabled(): boolean;
|
|
47
|
+
set disabled(value: boolean);
|
|
48
|
+
private _disabled;
|
|
49
|
+
get tabIndex(): number;
|
|
50
|
+
set tabIndex(value: number);
|
|
51
|
+
private _tabIndex;
|
|
44
52
|
/** Event emitted when the search has been toggled. */
|
|
45
53
|
readonly isOpenedChange: EventEmitter<boolean>;
|
|
46
54
|
/** localized data
|
|
@@ -49,6 +57,7 @@ export declare class KbqSearchExpandable implements ControlValueAccessor, AfterV
|
|
|
49
57
|
private lastEmittedValue;
|
|
50
58
|
constructor();
|
|
51
59
|
ngAfterViewInit(): void;
|
|
60
|
+
ngOnDestroy(): void;
|
|
52
61
|
/** @docs-private */
|
|
53
62
|
onChange: (value: string) => void;
|
|
54
63
|
/** @docs-private */
|
|
@@ -59,12 +68,18 @@ export declare class KbqSearchExpandable implements ControlValueAccessor, AfterV
|
|
|
59
68
|
registerOnTouched(fn: () => void): void;
|
|
60
69
|
/** Implemented as part of ControlValueAccessor. */
|
|
61
70
|
writeValue(value: string): void;
|
|
71
|
+
/** Implemented as part of ControlValueAccessor. */
|
|
72
|
+
setDisabledState(isDisabled: boolean): void;
|
|
62
73
|
toggle(): void;
|
|
63
74
|
private updateLocaleParams;
|
|
64
75
|
private initDefaultParams;
|
|
65
76
|
private emitValue;
|
|
77
|
+
private runFocusMonitor;
|
|
78
|
+
private stopFocusMonitor;
|
|
66
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSearchExpandable, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSearchExpandable, "kbq-search-expandable", never, { "isOpened": { "alias": "isOpened"; "required": false; }; "isEmitValueByEnterEnabled": { "alias": "isEmitValueByEnterEnabled"; "required": false; }; "emitValueTimeout": { "alias": "emitValueTimeout"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "isOpenedChange": "isOpenedChange"; }, never, never, true, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSearchExpandable, "kbq-search-expandable", never, { "isOpened": { "alias": "isOpened"; "required": false; }; "isEmitValueByEnterEnabled": { "alias": "isEmitValueByEnterEnabled"; "required": false; }; "emitValueTimeout": { "alias": "emitValueTimeout"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "isOpenedChange": "isOpenedChange"; }, never, never, true, never>;
|
|
68
81
|
static ngAcceptInputType_isOpened: unknown;
|
|
69
82
|
static ngAcceptInputType_emitValueTimeout: unknown;
|
|
83
|
+
static ngAcceptInputType_disabled: unknown;
|
|
84
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
70
85
|
}
|
|
@@ -74,6 +74,7 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
|
|
|
74
74
|
ngControl: NgControl;
|
|
75
75
|
private readonly scrollStrategyFactory;
|
|
76
76
|
protected localeService?: KbqLocaleService | undefined;
|
|
77
|
+
private readonly useLegacyValidation;
|
|
77
78
|
/** @docs-private */
|
|
78
79
|
protected readonly destroyRef: DestroyRef;
|
|
79
80
|
protected readonly isBrowser: boolean;
|
|
@@ -249,8 +250,9 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
|
|
|
249
250
|
get focused(): boolean;
|
|
250
251
|
set focused(value: boolean);
|
|
251
252
|
panelOpen: boolean;
|
|
253
|
+
/** true if virtual scrolling is used. */
|
|
254
|
+
withVirtualScroll: boolean;
|
|
252
255
|
private _focused;
|
|
253
|
-
private withVirtualScroll;
|
|
254
256
|
get isEmptySearchResult(): boolean;
|
|
255
257
|
get canShowCleaner(): boolean;
|
|
256
258
|
get selected(): KbqOptionBase | KbqOptionBase[];
|
package/tabs/_tabs-common.scss
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
& .kbq-tab-label__content {
|
|
68
68
|
display: flex;
|
|
69
69
|
align-items: center;
|
|
70
|
+
overflow: hidden;
|
|
70
71
|
|
|
71
72
|
gap: var(--kbq-tabs-size-tab-item-content-gap-horizontal);
|
|
72
73
|
}
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
&.kbq-tab-label_vertical {
|
|
84
85
|
justify-content: flex-start;
|
|
85
86
|
|
|
86
|
-
& .kbq-tab-label__content {
|
|
87
|
+
& .kbq-tab-label__content:not(.kbq-tab-label__template) {
|
|
87
88
|
display: block;
|
|
88
89
|
overflow: hidden;
|
|
89
90
|
text-overflow: ellipsis;
|
package/tags/tag-input.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
|
|
|
37
37
|
*/
|
|
38
38
|
set separatorKeyCodes(value: number[]);
|
|
39
39
|
private _separatorKeyCodes;
|
|
40
|
+
/** @docs-private */
|
|
40
41
|
get separators(): KbqTagSeparator[];
|
|
41
42
|
private _separators;
|
|
42
43
|
/** Emitted when a tag is to be added. */
|
|
@@ -58,10 +59,9 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
|
|
|
58
59
|
private _addOnBlur;
|
|
59
60
|
/**
|
|
60
61
|
* Whether the tagEnd event will be emitted when the text pasted.
|
|
62
|
+
* @default true
|
|
61
63
|
*/
|
|
62
|
-
|
|
63
|
-
set addOnPaste(value: boolean);
|
|
64
|
-
private _addOnPaste;
|
|
64
|
+
addOnPaste: boolean;
|
|
65
65
|
/** Whether the input is disabled. */
|
|
66
66
|
get disabled(): boolean;
|
|
67
67
|
set disabled(value: boolean);
|
|
@@ -106,4 +106,5 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
|
|
|
106
106
|
private isSeparatorKey;
|
|
107
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagInput, [null, null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
|
|
108
108
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagInput, "input[kbqTagInputFor]", ["kbqTagInput", "kbqTagInputFor"], { "separatorKeyCodes": { "alias": "kbqTagInputSeparatorKeyCodes"; "required": false; }; "distinct": { "alias": "distinct"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "tagList": { "alias": "kbqTagInputFor"; "required": false; }; "addOnBlur": { "alias": "kbqTagInputAddOnBlur"; "required": false; }; "addOnPaste": { "alias": "kbqTagInputAddOnPaste"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "tagEnd": "kbqTagInputTokenEnd"; }, never, never, false, [{ directive: typeof i1.KbqFieldSizingContent; inputs: {}; outputs: {}; }]>;
|
|
109
|
+
static ngAcceptInputType_addOnPaste: unknown;
|
|
109
110
|
}
|
|
@@ -28,6 +28,7 @@ export declare class KbqTagList implements KbqFormFieldControl<any>, ControlValu
|
|
|
28
28
|
parentForm: NgForm;
|
|
29
29
|
parentFormGroup: FormGroupDirective;
|
|
30
30
|
ngControl: NgControl;
|
|
31
|
+
private readonly useLegacyValidation;
|
|
31
32
|
private readonly dropList;
|
|
32
33
|
private readonly destroyRef;
|
|
33
34
|
private readonly focusMonitor;
|
|
@@ -154,6 +155,11 @@ export declare class KbqTagList implements KbqFormFieldControl<any>, ControlValu
|
|
|
154
155
|
selectable: boolean;
|
|
155
156
|
/** Whether the tags in the list are editable. */
|
|
156
157
|
editable: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Whether to emit change events when tags are added/removed.
|
|
160
|
+
* Set to `false` to prevent the form control from being marked as dirty during programmatic updates.
|
|
161
|
+
*/
|
|
162
|
+
emitOnTagChanges: boolean;
|
|
157
163
|
/** Whether the tags in the list are removable. */
|
|
158
164
|
get removable(): boolean;
|
|
159
165
|
set removable(value: boolean);
|
|
@@ -352,11 +358,12 @@ export declare class KbqTagList implements KbqFormFieldControl<any>, ControlValu
|
|
|
352
358
|
private syncDropListDisabledState;
|
|
353
359
|
private setupFocusMonitor;
|
|
354
360
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagList, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
|
|
355
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTagList, "kbq-tag-list", ["kbqTagList"], { "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "dropped": "dropped"; "valueChange": "valueChange"; "change": "change"; }, ["cleaner", "tags"], ["*", "kbq-cleaner"], false, [{ directive: typeof i1.CdkDropList; inputs: {}; outputs: {}; }]>;
|
|
361
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTagList, "kbq-tag-list", ["kbqTagList"], { "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "emitOnTagChanges": { "alias": "emitOnTagChanges"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "dropped": "dropped"; "valueChange": "valueChange"; "change": "change"; }, ["cleaner", "tags"], ["*", "kbq-cleaner"], false, [{ directive: typeof i1.CdkDropList; inputs: {}; outputs: {}; }]>;
|
|
356
362
|
static ngAcceptInputType_multiple: unknown;
|
|
357
363
|
static ngAcceptInputType_disabled: unknown;
|
|
358
364
|
static ngAcceptInputType_draggable: unknown;
|
|
359
365
|
static ngAcceptInputType_selectable: unknown;
|
|
360
366
|
static ngAcceptInputType_editable: unknown;
|
|
367
|
+
static ngAcceptInputType_emitOnTagChanges: unknown;
|
|
361
368
|
static ngAcceptInputType_removable: unknown;
|
|
362
369
|
}
|
package/tags/tag.component.d.ts
CHANGED
|
@@ -72,6 +72,8 @@ export declare class KbqTagEditSubmit {
|
|
|
72
72
|
export declare class KbqTagEditInput {
|
|
73
73
|
private readonly tag;
|
|
74
74
|
/** @docs-private */
|
|
75
|
+
protected handleClick(event: MouseEvent): void;
|
|
76
|
+
/** @docs-private */
|
|
75
77
|
protected handleKeydown(event: KeyboardEvent): void;
|
|
76
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagEditInput, never>;
|
|
77
79
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagEditInput, "[kbqTagEditInput]", ["kbqTagEditInput"], {}, {}, never, never, true, [{ directive: typeof i1.KbqFieldSizingContent; inputs: {}; outputs: {}; }]>;
|
|
@@ -15,6 +15,7 @@ export declare class KbqTextarea implements KbqFormFieldControl<any>, OnInit, On
|
|
|
15
15
|
defaultErrorStateMatcher: ErrorStateMatcher;
|
|
16
16
|
private parent;
|
|
17
17
|
private ngZone;
|
|
18
|
+
private readonly useLegacyValidation;
|
|
18
19
|
/** Whether the component is in an error state. */
|
|
19
20
|
errorState: boolean;
|
|
20
21
|
/** Parameter enables or disables the ability to automatically increase the height.
|
|
@@ -5,6 +5,8 @@ import { Subject } from 'rxjs';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class KbqTitleDirective extends KbqTooltipTrigger implements AfterViewInit, OnDestroy {
|
|
7
7
|
private componentInstance?;
|
|
8
|
+
private readonly renderer;
|
|
9
|
+
private readonly nativeElement;
|
|
8
10
|
private contentObserver;
|
|
9
11
|
set trigger(value: string);
|
|
10
12
|
get trigger(): string;
|
|
@@ -14,6 +16,7 @@ export declare class KbqTitleDirective extends KbqTooltipTrigger implements Afte
|
|
|
14
16
|
get viewValue(): string;
|
|
15
17
|
get parent(): HTMLElement;
|
|
16
18
|
get child(): HTMLElement;
|
|
19
|
+
get hasOnlyText(): boolean;
|
|
17
20
|
readonly resizeStream: Subject<Event>;
|
|
18
21
|
private readonly debounceInterval;
|
|
19
22
|
private resizeSubscription;
|
|
@@ -80,6 +80,7 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
80
80
|
ngControl: NgControl;
|
|
81
81
|
private localeService?;
|
|
82
82
|
protected readonly isBrowser: boolean;
|
|
83
|
+
private readonly useLegacyValidation;
|
|
83
84
|
private readonly defaultOptions;
|
|
84
85
|
/** Whether the component is in an error state. */
|
|
85
86
|
errorState: boolean;
|