@koobiq/components 18.39.1 → 18.39.3
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/app-switcher/app-switcher.d.ts +7 -1
- package/core/highlight/highlight.pipe.d.ts +2 -0
- package/core/option/action.d.ts +5 -6
- package/datepicker/datepicker-input.directive.d.ts +6 -1
- package/dropdown/dropdown.scss +3 -1
- package/esm2022/app-switcher/app-switcher-dropdown-app.mjs +21 -7
- package/esm2022/app-switcher/app-switcher.mjs +2 -1
- package/esm2022/app-switcher/kbq-app-switcher-list-item.mjs +24 -11
- package/esm2022/core/highlight/highlight.pipe.mjs +23 -5
- package/esm2022/core/option/action.mjs +21 -22
- 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/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-multi-tree-select.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/icon/icon-button.component.mjs +2 -2
- package/esm2022/inline-edit/inline-edit.mjs +4 -4
- package/esm2022/list/list-selection.component.mjs +12 -2
- package/esm2022/navbar/navbar-brand.component.mjs +2 -2
- package/esm2022/navbar/navbar.component.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/search-expandable/search-expandable.mjs +50 -23
- package/esm2022/select/select.component.mjs +7 -4
- package/esm2022/tags/tag-input.mjs +7 -6
- package/esm2022/tags/tag-list.component.mjs +11 -3
- package/esm2022/tags/tag.component.mjs +9 -3
- package/fesm2022/koobiq-components-app-switcher.mjs +45 -20
- package/fesm2022/koobiq-components-app-switcher.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +42 -26
- 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 +4 -3
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +2 -2
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +8 -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-list.mjs +11 -1
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +6 -6
- 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-search-expandable.mjs +49 -22
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +6 -3
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +24 -9
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +2 -2
- package/form-field/form-field.scss +0 -1
- package/icon/icon-button.scss +5 -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/list/list-selection.component.d.ts +1 -0
- package/navbar/_navbar-item_vertical.scss +8 -0
- package/navbar/navbar-brand.scss +2 -2
- package/package.json +4 -4
- package/popover/_popover-theme.scss +1 -1
- package/schematics/ng-add/index.js +2 -2
- package/search-expandable/search-expandable.d.ts +19 -4
- package/select/select.component.d.ts +2 -1
- package/tags/tag-list.component.d.ts +7 -1
- package/tags/tag.component.d.ts +2 -0
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
@include _inline-edit-typography();
|
|
101
101
|
|
|
102
102
|
&:not(.kbq-inline-edit_with-label) {
|
|
103
|
-
--kbq-inline-edit-padding-horizontal:
|
|
103
|
+
--kbq-inline-edit-padding-horizontal: var(--kbq-size-m);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
&.kbq-inline-edit_with-label {
|
|
@@ -104,6 +104,7 @@ export declare class KbqListSelection implements AfterContentInit, AfterViewInit
|
|
|
104
104
|
onKeyDown(event: KeyboardEvent): void;
|
|
105
105
|
reportValueChange(): void;
|
|
106
106
|
emitChangeEvent(option: KbqListOption): void;
|
|
107
|
+
private initializeSelection;
|
|
107
108
|
protected updateTabIndex(): void;
|
|
108
109
|
private onCopyDefaultHandler;
|
|
109
110
|
private resetOptions;
|
package/navbar/navbar-brand.scss
CHANGED
|
@@ -54,10 +54,10 @@ a.kbq-navbar-brand {
|
|
|
54
54
|
flex-direction: row;
|
|
55
55
|
align-items: center;
|
|
56
56
|
|
|
57
|
-
padding: var(--kbq-size-
|
|
57
|
+
padding: var(--kbq-size-m);
|
|
58
58
|
|
|
59
59
|
&:after {
|
|
60
|
-
top:
|
|
60
|
+
top: var(--kbq-size-s);
|
|
61
61
|
right: var(--kbq-size-s);
|
|
62
62
|
bottom: var(--kbq-size-s);
|
|
63
63
|
left: var(--kbq-size-s);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "18.39.
|
|
3
|
+
"version": "18.39.3",
|
|
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.3",
|
|
28
|
+
"@koobiq/angular-moment-adapter": "18.39.3",
|
|
29
|
+
"@koobiq/angular-luxon-adapter": "18.39.3",
|
|
30
30
|
"@koobiq/date-formatter": "^3.2.3",
|
|
31
31
|
"@koobiq/icons": "^10.4.0",
|
|
32
32
|
"@koobiq/tokens-builder": "3.11.0",
|
|
@@ -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.3");
|
|
31
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.39.3");
|
|
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
|
}
|
|
@@ -249,8 +249,9 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
|
|
|
249
249
|
get focused(): boolean;
|
|
250
250
|
set focused(value: boolean);
|
|
251
251
|
panelOpen: boolean;
|
|
252
|
+
/** true if virtual scrolling is used. */
|
|
253
|
+
withVirtualScroll: boolean;
|
|
252
254
|
private _focused;
|
|
253
|
-
private withVirtualScroll;
|
|
254
255
|
get isEmptySearchResult(): boolean;
|
|
255
256
|
get canShowCleaner(): boolean;
|
|
256
257
|
get selected(): KbqOptionBase | KbqOptionBase[];
|
|
@@ -154,6 +154,11 @@ export declare class KbqTagList implements KbqFormFieldControl<any>, ControlValu
|
|
|
154
154
|
selectable: boolean;
|
|
155
155
|
/** Whether the tags in the list are editable. */
|
|
156
156
|
editable: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Whether to emit change events when tags are added/removed.
|
|
159
|
+
* Set to `false` to prevent the form control from being marked as dirty during programmatic updates.
|
|
160
|
+
*/
|
|
161
|
+
emitOnTagChanges: boolean;
|
|
157
162
|
/** Whether the tags in the list are removable. */
|
|
158
163
|
get removable(): boolean;
|
|
159
164
|
set removable(value: boolean);
|
|
@@ -352,11 +357,12 @@ export declare class KbqTagList implements KbqFormFieldControl<any>, ControlValu
|
|
|
352
357
|
private syncDropListDisabledState;
|
|
353
358
|
private setupFocusMonitor;
|
|
354
359
|
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: {}; }]>;
|
|
360
|
+
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
361
|
static ngAcceptInputType_multiple: unknown;
|
|
357
362
|
static ngAcceptInputType_disabled: unknown;
|
|
358
363
|
static ngAcceptInputType_draggable: unknown;
|
|
359
364
|
static ngAcceptInputType_selectable: unknown;
|
|
360
365
|
static ngAcceptInputType_editable: unknown;
|
|
366
|
+
static ngAcceptInputType_emitOnTagChanges: unknown;
|
|
361
367
|
static ngAcceptInputType_removable: unknown;
|
|
362
368
|
}
|
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: {}; }]>;
|