@koobiq/components 18.33.0 → 18.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions-panel/actions-panel-config.d.ts +4 -3
- package/actions-panel/actions-panel-container.scss +0 -6
- package/actions-panel/actions-panel-ref.d.ts +13 -0
- package/actions-panel/actions-panel.d.ts +1 -7
- package/clamped-text/clamped-text.d.ts +61 -0
- package/clamped-text/clamped-text.scss +17 -0
- package/clamped-text/constants.d.ts +14 -0
- package/clamped-text/index.d.ts +3 -0
- package/clamped-text/module.d.ts +7 -0
- package/content-panel/content-panel-aside.scss +9 -0
- package/content-panel/content-panel-body.scss +9 -0
- package/content-panel/content-panel-container.scss +32 -0
- package/content-panel/content-panel-footer.scss +5 -0
- package/content-panel/content-panel-header.scss +30 -0
- package/content-panel/content-panel-tokens.scss +9 -0
- package/content-panel/content-panel.d.ts +149 -0
- package/content-panel/content-panel.scss +25 -0
- package/content-panel/index.d.ts +3 -0
- package/content-panel/module.d.ts +7 -0
- package/content-panel/resizable.d.ts +70 -0
- package/core/locales/en-US.d.ts +4 -0
- package/core/locales/es-LA.d.ts +4 -0
- package/core/locales/fa-IR.d.ts +4 -0
- package/core/locales/locale-service.d.ts +28 -0
- package/core/locales/pt-BR.d.ts +4 -0
- package/core/locales/ru-RU.d.ts +4 -0
- package/core/locales/tk-TM.d.ts +4 -0
- package/core/locales/types.d.ts +5 -0
- package/core/locales/zh-CN.d.ts +4 -0
- package/core/styles/common/_select.scss +6 -3
- package/datepicker/calendar.component.d.ts +1 -1
- package/datepicker/datepicker-input.directive.d.ts +1 -1
- package/datepicker/datepicker-toggle.component.d.ts +1 -1
- package/datepicker/datepicker.component.d.ts +2 -2
- package/dynamic-translation/dynamic-translation.d.ts +72 -0
- package/dynamic-translation/index.d.ts +2 -0
- package/dynamic-translation/module.d.ts +7 -0
- package/esm2022/actions-panel/actions-panel-config.mjs +1 -1
- package/esm2022/actions-panel/actions-panel-container.mjs +7 -7
- package/esm2022/actions-panel/actions-panel-ref.mjs +17 -1
- package/esm2022/actions-panel/actions-panel.mjs +34 -24
- package/esm2022/button-toggle/button-toggle.component.mjs +9 -9
- package/esm2022/clamped-text/clamped-text.mjs +202 -0
- package/esm2022/clamped-text/constants.mjs +20 -0
- package/esm2022/clamped-text/index.mjs +4 -0
- package/esm2022/clamped-text/koobiq-components-clamped-text.mjs +5 -0
- package/esm2022/clamped-text/module.mjs +19 -0
- package/esm2022/content-panel/content-panel.mjs +432 -0
- package/esm2022/content-panel/index.mjs +4 -0
- package/esm2022/content-panel/koobiq-components-content-panel.mjs +5 -0
- package/esm2022/content-panel/module.mjs +42 -0
- package/esm2022/content-panel/resizable.mjs +138 -0
- package/esm2022/core/locales/en-US.mjs +5 -1
- package/esm2022/core/locales/es-LA.mjs +5 -1
- package/esm2022/core/locales/fa-IR.mjs +5 -1
- package/esm2022/core/locales/pt-BR.mjs +5 -1
- package/esm2022/core/locales/ru-RU.mjs +5 -1
- package/esm2022/core/locales/tk-TM.mjs +5 -1
- package/esm2022/core/locales/types.mjs +1 -1
- package/esm2022/core/locales/zh-CN.mjs +5 -1
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +5 -2
- package/esm2022/datepicker/calendar.component.mjs +9 -9
- package/esm2022/datepicker/datepicker-input.directive.mjs +1 -1
- package/esm2022/datepicker/datepicker-toggle.component.mjs +8 -8
- package/esm2022/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/dynamic-translation/dynamic-translation.mjs +175 -0
- package/esm2022/dynamic-translation/index.mjs +3 -0
- package/esm2022/dynamic-translation/koobiq-components-dynamic-translation.mjs +5 -0
- package/esm2022/dynamic-translation/module.mjs +25 -0
- package/esm2022/file-upload/file-drop.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +11 -11
- package/esm2022/file-upload/single-file-upload.component.mjs +11 -11
- package/esm2022/filter-bar/filter-refresher.mjs +5 -5
- package/esm2022/filter-bar/filter-reset.mjs +3 -3
- package/esm2022/filter-bar/filter-search.mjs +11 -11
- package/esm2022/filter-bar/filters.mjs +3 -3
- package/esm2022/filter-bar/pipe-add.mjs +5 -5
- package/esm2022/filter-bar/pipes/base-pipe.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-button.mjs +7 -7
- package/esm2022/filter-bar/pipes/pipe-date.mjs +9 -1
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +9 -1
- package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +4 -10
- package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +10 -9
- package/esm2022/filter-bar/pipes/pipe-readonly.mjs +7 -7
- package/esm2022/filter-bar/pipes/pipe-select.mjs +3 -4
- package/esm2022/filter-bar/pipes/pipe-text.mjs +8 -2
- package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +9 -3
- package/esm2022/form-field/cleaner.mjs +16 -11
- package/esm2022/form-field/fieldset.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +5 -5
- package/esm2022/form-field/password-hint.mjs +14 -3
- package/esm2022/form-field/password-toggle.mjs +45 -10
- package/esm2022/form-field/reactive-password-hint.mjs +18 -17
- package/esm2022/form-field/stepper.mjs +9 -9
- package/esm2022/icon/icon-button.component.mjs +2 -2
- package/esm2022/input/input-number.mjs +15 -10
- package/esm2022/markdown/markdown.component.mjs +3 -3
- package/esm2022/modal/modal.component.mjs +14 -14
- package/esm2022/modal/modal.directive.mjs +7 -5
- package/esm2022/navbar/navbar-item.component.mjs +3 -3
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/scrollbar/scrollbar.component.mjs +5 -5
- package/esm2022/select/select.component.mjs +24 -11
- package/esm2022/sidebar/sidebar.component.mjs +46 -27
- package/esm2022/sidepanel/sidepanel-container.component.mjs +15 -4
- package/esm2022/sidepanel/sidepanel-directives.mjs +5 -5
- package/esm2022/sidepanel/sidepanel-ref.mjs +8 -6
- package/esm2022/splitter/splitter.component.mjs +1 -1
- package/esm2022/tabs/tab-body.component.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +27 -27
- package/esm2022/tabs/tab.component.mjs +4 -4
- package/esm2022/tags/tag-input.mjs +2 -2
- package/esm2022/tags/tag-list.component.mjs +13 -13
- package/esm2022/textarea/textarea.component.mjs +6 -4
- package/esm2022/timepicker/timepicker.directive.mjs +1 -1
- package/esm2022/timezone/timezone-select.component.mjs +3 -3
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tree/tree-selection.component.mjs +4 -4
- package/esm2022/tree-select/tree-select.component.mjs +11 -9
- package/esm2022/username/constants.mjs +25 -0
- package/esm2022/username/index.mjs +6 -0
- package/esm2022/username/koobiq-components-username.mjs +5 -0
- package/esm2022/username/module.mjs +35 -0
- package/esm2022/username/types.mjs +32 -0
- package/esm2022/username/username.mjs +129 -0
- package/esm2022/username/username.pipe.mjs +92 -0
- package/fesm2022/koobiq-components-actions-panel.mjs +56 -31
- package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +8 -8
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-clamped-text.mjs +242 -0
- package/fesm2022/koobiq-components-clamped-text.mjs.map +1 -0
- package/fesm2022/koobiq-components-content-panel.mjs +612 -0
- package/fesm2022/koobiq-components-content-panel.mjs.map +1 -0
- package/fesm2022/koobiq-components-core.mjs +29 -1
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +21 -18
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +2 -2
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-dynamic-translation.mjs +204 -0
- package/fesm2022/koobiq-components-dynamic-translation.mjs.map +1 -0
- package/fesm2022/koobiq-components-file-upload.mjs +20 -20
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +75 -58
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +100 -49
- 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-input.mjs +14 -9
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +2 -2
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +19 -17
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +2 -2
- 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-scrollbar.mjs +4 -4
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +23 -10
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +45 -26
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +24 -12
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +31 -31
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +13 -13
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +5 -3
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +2 -2
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +2 -2
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +10 -8
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +3 -3
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/fesm2022/koobiq-components-username.mjs +308 -0
- package/fesm2022/koobiq-components-username.mjs.map +1 -0
- package/file-upload/_file-upload-theme.scss +1 -1
- package/file-upload/file-drop.d.ts +1 -1
- package/file-upload/multiple-file-upload.component.d.ts +1 -1
- package/file-upload/single-file-upload.component.d.ts +2 -2
- package/filter-bar/pipes/pipe-date.d.ts +3 -1
- package/filter-bar/pipes/pipe-datetime.d.ts +3 -1
- package/filter-bar/pipes/pipe-multi-select.d.ts +0 -1
- package/filter-bar/pipes/pipe-multi-tree-select.d.ts +3 -2
- package/filter-bar/pipes/pipe-select.d.ts +0 -1
- package/filter-bar/pipes/pipe-tree-select.d.ts +3 -2
- package/form-field/_form-field-theme.scss +27 -18
- package/form-field/cleaner.d.ts +4 -2
- package/form-field/cleaner.scss +6 -2
- package/form-field/form-field.scss +5 -1
- package/form-field/password-hint.d.ts +7 -0
- package/form-field/password-toggle.d.ts +23 -3
- package/form-field/password-toggle.scss +4 -8
- package/form-field/reactive-password-hint.d.ts +1 -0
- package/icon/_icon-button-theme.scss +8 -2
- package/modal/modal.component.d.ts +6 -6
- package/package.json +28 -4
- package/popover/popover-confirm.component.d.ts +1 -1
- package/popover/popover.component.d.ts +2 -2
- package/schematics/ng-add/index.js +3 -3
- package/scrollbar/scrollbar.component.d.ts +4 -4
- package/select/select.component.d.ts +14 -2
- package/sidebar/sidebar.component.d.ts +31 -5
- package/sidepanel/sidepanel-container.component.d.ts +9 -0
- package/sidepanel/sidepanel-ref.d.ts +3 -3
- package/splitter/splitter.component.d.ts +2 -2
- package/tabs/tab-group.component.d.ts +1 -1
- package/tabs/tab.component.d.ts +1 -1
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.component.d.ts +1 -1
- package/timepicker/timepicker.directive.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +2 -2
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +1 -1
- package/username/constants.d.ts +15 -0
- package/username/index.d.ts +5 -0
- package/username/module.d.ts +8 -0
- package/username/types.d.ts +62 -0
- package/username/username-tokens.scss +6 -0
- package/username/username.d.ts +68 -0
- package/username/username.pipe.d.ts +23 -0
- package/username/username.scss +107 -0
package/form-field/cleaner.scss
CHANGED
|
@@ -98,7 +98,11 @@
|
|
|
98
98
|
justify-content: center;
|
|
99
99
|
align-items: center;
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
& .kbq-prefix,
|
|
102
|
+
& .kbq-suffix {
|
|
103
|
+
min-width: var(--kbq-form-field-size-addon-width);
|
|
104
|
+
text-align: center;
|
|
105
|
+
}
|
|
102
106
|
}
|
|
103
107
|
|
|
104
108
|
.kbq-form-field__prefix {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit, ChangeDetectorRef, QueryList } from '@angular/core';
|
|
2
|
+
import { KbqComponentColors } from '@koobiq/components/core';
|
|
2
3
|
import { KbqFormField } from './form-field';
|
|
3
4
|
import { KbqHint } from './hint';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -31,6 +32,12 @@ export declare class KbqPasswordHint extends KbqHint implements AfterContentInit
|
|
|
31
32
|
hasError: boolean;
|
|
32
33
|
checked: boolean;
|
|
33
34
|
get icon(): string;
|
|
35
|
+
/**
|
|
36
|
+
* The form field hint icon color.
|
|
37
|
+
*
|
|
38
|
+
* @docs-private
|
|
39
|
+
*/
|
|
40
|
+
protected get iconColor(): KbqComponentColors;
|
|
34
41
|
private checkRule;
|
|
35
42
|
private get control();
|
|
36
43
|
private lastControlValue;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
3
|
import { KbqIconButton } from '@koobiq/components/icon';
|
|
3
4
|
import { KbqTooltipTrigger } from '@koobiq/components/tooltip';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/** Component which changes password visibility. */
|
|
6
|
-
export declare class KbqPasswordToggle extends KbqTooltipTrigger {
|
|
7
|
+
export declare class KbqPasswordToggle extends KbqTooltipTrigger implements AfterViewInit, OnDestroy, AfterContentInit {
|
|
8
|
+
protected readonly nativeElement: any;
|
|
9
|
+
protected readonly focusMonitor: FocusMonitor;
|
|
10
|
+
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
7
11
|
private readonly formField;
|
|
12
|
+
tabindex: number;
|
|
8
13
|
/**
|
|
9
14
|
* @docs-private
|
|
10
15
|
*/
|
|
@@ -12,6 +17,7 @@ export declare class KbqPasswordToggle extends KbqTooltipTrigger {
|
|
|
12
17
|
get content(): string | TemplateRef<any>;
|
|
13
18
|
set content(content: string | TemplateRef<any>);
|
|
14
19
|
kbqTooltipHidden: string | TemplateRef<any>;
|
|
20
|
+
protected hasError: boolean;
|
|
15
21
|
/** Form field password control. */
|
|
16
22
|
private get control();
|
|
17
23
|
/**
|
|
@@ -27,10 +33,24 @@ export declare class KbqPasswordToggle extends KbqTooltipTrigger {
|
|
|
27
33
|
*/
|
|
28
34
|
get visibility(): 'hidden' | 'visible';
|
|
29
35
|
constructor();
|
|
36
|
+
/**
|
|
37
|
+
* @docs-private
|
|
38
|
+
*/
|
|
39
|
+
ngAfterContentInit(): void;
|
|
40
|
+
/**
|
|
41
|
+
* @docs-private
|
|
42
|
+
*/
|
|
43
|
+
ngAfterViewInit(): void;
|
|
44
|
+
/**
|
|
45
|
+
* @docs-private
|
|
46
|
+
*/
|
|
47
|
+
ngOnDestroy(): void;
|
|
30
48
|
/**
|
|
31
49
|
* @docs-private
|
|
32
50
|
*/
|
|
33
51
|
toggle(event: KeyboardEvent): void;
|
|
52
|
+
private updateState;
|
|
34
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordToggle, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordToggle, "kbq-password-toggle", ["kbqPasswordToggle"], { "content": { "alias": "kbqTooltipNotHidden"; "required": false; }; "kbqTooltipHidden": { "alias": "kbqTooltipHidden"; "required": false; }; }, {}, never,
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordToggle, "kbq-password-toggle", ["kbqPasswordToggle"], { "tabindex": { "alias": "tabindex"; "required": false; }; "content": { "alias": "kbqTooltipNotHidden"; "required": false; }; "kbqTooltipHidden": { "alias": "kbqTooltipHidden"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
55
|
+
static ngAcceptInputType_tabindex: unknown;
|
|
36
56
|
}
|
|
@@ -3,14 +3,10 @@
|
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
|
|
6
|
-
width:
|
|
7
|
-
height:
|
|
6
|
+
width: 26px;
|
|
7
|
+
height: var(--kbq-size-xxl);
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
border: 0;
|
|
11
|
-
}
|
|
9
|
+
border-radius: var(--kbq-size-xxs);
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
outline: none;
|
|
15
|
-
}
|
|
11
|
+
outline: none;
|
|
16
12
|
}
|
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class KbqReactivePasswordHint extends KbqHint {
|
|
5
5
|
private readonly formField;
|
|
6
6
|
private readonly destroyRef;
|
|
7
|
+
private readonly changeDetectorRef;
|
|
7
8
|
/** Whether the form field control has an error. */
|
|
8
9
|
readonly hasError: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
10
|
/**
|
|
@@ -91,8 +91,14 @@
|
|
|
91
91
|
|
|
92
92
|
&.cdk-keyboard-focused {
|
|
93
93
|
box-shadow:
|
|
94
|
-
inset 0 0 0
|
|
95
|
-
0 0 0
|
|
94
|
+
inset 0 0 0 1px var(--kbq-states-line-focus-theme),
|
|
95
|
+
0 0 0 1px var(--kbq-states-line-focus-theme);
|
|
96
|
+
|
|
97
|
+
&.kbq-error {
|
|
98
|
+
box-shadow:
|
|
99
|
+
inset 0 0 0 1px var(--kbq-states-line-focus-error),
|
|
100
|
+
0 0 0 1px var(--kbq-states-line-focus-error);
|
|
101
|
+
}
|
|
96
102
|
}
|
|
97
103
|
}
|
|
98
104
|
}
|
|
@@ -31,7 +31,7 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
31
31
|
get kbqVisible(): boolean;
|
|
32
32
|
set kbqVisible(value: boolean);
|
|
33
33
|
private _kbqVisible;
|
|
34
|
-
kbqVisibleChange: EventEmitter<boolean>;
|
|
34
|
+
readonly kbqVisibleChange: EventEmitter<boolean>;
|
|
35
35
|
kbqWidth: number | string;
|
|
36
36
|
kbqSize: ModalSize;
|
|
37
37
|
kbqWrapClassName: string;
|
|
@@ -50,20 +50,20 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
50
50
|
private _kbqMaskClosable;
|
|
51
51
|
kbqMaskStyle: object;
|
|
52
52
|
kbqBodyStyle: object;
|
|
53
|
-
kbqAfterOpen: EventEmitter<void>;
|
|
54
|
-
kbqAfterClose: EventEmitter<R | undefined>;
|
|
53
|
+
readonly kbqAfterOpen: EventEmitter<void>;
|
|
54
|
+
readonly kbqAfterClose: EventEmitter<R | undefined>;
|
|
55
55
|
kbqOkText: string;
|
|
56
56
|
kbqOkType: KbqComponentColors;
|
|
57
57
|
kbqRestoreFocus: boolean;
|
|
58
58
|
get kbqOkLoading(): boolean;
|
|
59
59
|
set kbqOkLoading(value: boolean);
|
|
60
60
|
private _kbqOkLoading;
|
|
61
|
-
kbqOnOk: EventEmitter<T> | OnClickCallback<T>;
|
|
61
|
+
readonly kbqOnOk: EventEmitter<T> | OnClickCallback<T>;
|
|
62
62
|
kbqCancelText: string;
|
|
63
63
|
get kbqCancelLoading(): boolean;
|
|
64
64
|
set kbqCancelLoading(value: boolean);
|
|
65
65
|
private _kbqCancelLoading;
|
|
66
|
-
kbqOnCancel: EventEmitter<T> | OnClickCallback<T>;
|
|
66
|
+
readonly kbqOnCancel: EventEmitter<T> | OnClickCallback<T>;
|
|
67
67
|
modalContainer: ElementRef;
|
|
68
68
|
bodyContainer: ViewContainerRef;
|
|
69
69
|
autoFocusedButtons: QueryList<ElementRef>;
|
|
@@ -85,8 +85,8 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
85
85
|
private container;
|
|
86
86
|
constructor(overlay: Overlay, renderer: Renderer2, cfr: ComponentFactoryResolver, elementRef: ElementRef, viewContainer: ViewContainerRef, modalControl: KbqModalControlService, changeDetector: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
87
87
|
kbqGetContainer: HTMLElement | OverlayRef | (() => HTMLElement | OverlayRef);
|
|
88
|
-
ngOnInit(): void;
|
|
89
88
|
ngOnChanges(changes: SimpleChanges): void;
|
|
89
|
+
ngOnInit(): void;
|
|
90
90
|
ngAfterViewInit(): void;
|
|
91
91
|
ngOnDestroy(): void;
|
|
92
92
|
checkOverflow(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.34.0",
|
|
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.
|
|
28
|
-
"@koobiq/angular-moment-adapter": "18.
|
|
29
|
-
"@koobiq/angular-luxon-adapter": "18.
|
|
27
|
+
"@koobiq/cdk": "18.34.0",
|
|
28
|
+
"@koobiq/angular-moment-adapter": "18.34.0",
|
|
29
|
+
"@koobiq/angular-luxon-adapter": "18.34.0",
|
|
30
30
|
"@koobiq/date-formatter": "^3.2.3",
|
|
31
31
|
"@koobiq/icons": "^10.4.0",
|
|
32
32
|
"@koobiq/tokens-builder": "3.11.0",
|
|
@@ -118,12 +118,24 @@
|
|
|
118
118
|
"esm": "./esm2022/checkbox/koobiq-components-checkbox.mjs",
|
|
119
119
|
"default": "./fesm2022/koobiq-components-checkbox.mjs"
|
|
120
120
|
},
|
|
121
|
+
"./clamped-text": {
|
|
122
|
+
"types": "./clamped-text/index.d.ts",
|
|
123
|
+
"esm2022": "./esm2022/clamped-text/koobiq-components-clamped-text.mjs",
|
|
124
|
+
"esm": "./esm2022/clamped-text/koobiq-components-clamped-text.mjs",
|
|
125
|
+
"default": "./fesm2022/koobiq-components-clamped-text.mjs"
|
|
126
|
+
},
|
|
121
127
|
"./code-block": {
|
|
122
128
|
"types": "./code-block/index.d.ts",
|
|
123
129
|
"esm2022": "./esm2022/code-block/koobiq-components-code-block.mjs",
|
|
124
130
|
"esm": "./esm2022/code-block/koobiq-components-code-block.mjs",
|
|
125
131
|
"default": "./fesm2022/koobiq-components-code-block.mjs"
|
|
126
132
|
},
|
|
133
|
+
"./content-panel": {
|
|
134
|
+
"types": "./content-panel/index.d.ts",
|
|
135
|
+
"esm2022": "./esm2022/content-panel/koobiq-components-content-panel.mjs",
|
|
136
|
+
"esm": "./esm2022/content-panel/koobiq-components-content-panel.mjs",
|
|
137
|
+
"default": "./fesm2022/koobiq-components-content-panel.mjs"
|
|
138
|
+
},
|
|
127
139
|
"./core": {
|
|
128
140
|
"types": "./core/index.d.ts",
|
|
129
141
|
"esm2022": "./esm2022/core/koobiq-components-core.mjs",
|
|
@@ -154,6 +166,12 @@
|
|
|
154
166
|
"esm": "./esm2022/dropdown/koobiq-components-dropdown.mjs",
|
|
155
167
|
"default": "./fesm2022/koobiq-components-dropdown.mjs"
|
|
156
168
|
},
|
|
169
|
+
"./dynamic-translation": {
|
|
170
|
+
"types": "./dynamic-translation/index.d.ts",
|
|
171
|
+
"esm2022": "./esm2022/dynamic-translation/koobiq-components-dynamic-translation.mjs",
|
|
172
|
+
"esm": "./esm2022/dynamic-translation/koobiq-components-dynamic-translation.mjs",
|
|
173
|
+
"default": "./fesm2022/koobiq-components-dynamic-translation.mjs"
|
|
174
|
+
},
|
|
157
175
|
"./ellipsis-center": {
|
|
158
176
|
"types": "./ellipsis-center/index.d.ts",
|
|
159
177
|
"esm2022": "./esm2022/ellipsis-center/koobiq-components-ellipsis-center.mjs",
|
|
@@ -375,6 +393,12 @@
|
|
|
375
393
|
"esm2022": "./esm2022/tree-select/koobiq-components-tree-select.mjs",
|
|
376
394
|
"esm": "./esm2022/tree-select/koobiq-components-tree-select.mjs",
|
|
377
395
|
"default": "./fesm2022/koobiq-components-tree-select.mjs"
|
|
396
|
+
},
|
|
397
|
+
"./username": {
|
|
398
|
+
"types": "./username/index.d.ts",
|
|
399
|
+
"esm2022": "./esm2022/username/koobiq-components-username.mjs",
|
|
400
|
+
"esm": "./esm2022/username/koobiq-components-username.mjs",
|
|
401
|
+
"default": "./fesm2022/koobiq-components-username.mjs"
|
|
378
402
|
}
|
|
379
403
|
},
|
|
380
404
|
"schematics": "./schematics/collection.json",
|
|
@@ -12,7 +12,7 @@ export declare class KbqPopoverConfirmComponent extends KbqPopoverComponent {
|
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPopoverConfirmComponent, "kbq-popover-confirm-component", never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
14
14
|
export declare class KbqPopoverConfirmTrigger extends KbqPopoverTrigger {
|
|
15
|
-
confirm: EventEmitter<void>;
|
|
15
|
+
readonly confirm: EventEmitter<void>;
|
|
16
16
|
get confirmText(): string;
|
|
17
17
|
set confirmText(value: string);
|
|
18
18
|
private _confirmText;
|
|
@@ -83,8 +83,8 @@ export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverCompone
|
|
|
83
83
|
offset: number | null;
|
|
84
84
|
/** Delay before closing in milliseconds. The default value for kbqTrigger=PopUpTriggers.Hover is 500 ms. */
|
|
85
85
|
leaveDelay: number;
|
|
86
|
-
placementChange: EventEmitter<any>;
|
|
87
|
-
visibleChange: EventEmitter<boolean>;
|
|
86
|
+
readonly placementChange: EventEmitter<any>;
|
|
87
|
+
readonly visibleChange: EventEmitter<boolean>;
|
|
88
88
|
protected originSelector: string;
|
|
89
89
|
protected get overlayConfig(): OverlayConfig;
|
|
90
90
|
ngOnInit(): void;
|
|
@@ -27,11 +27,11 @@ 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.
|
|
31
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.
|
|
30
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.34.0");
|
|
31
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.34.0");
|
|
32
32
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.2.3");
|
|
33
33
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.2.3");
|
|
34
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^10.
|
|
34
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^10.7.0");
|
|
35
35
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.14.0");
|
|
36
36
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.14.0");
|
|
37
37
|
utils_packageConfig.addPackageToPackageJson(tree, '@messageformat/core', "^3.4.0");
|
|
@@ -17,12 +17,12 @@ export declare class KbqScrollbar implements AfterViewInit, OnDestroy {
|
|
|
17
17
|
events: KbqScrollbarEvents;
|
|
18
18
|
/** Whether to defer the initialization to a point in time when the browser is idle. (or to the next frame if `window.requestIdleCallback` is not supported) */
|
|
19
19
|
defer?: boolean | IdleRequestOptions;
|
|
20
|
-
onInitialize: EventEmitter<[instance: import("overlayscrollbars").OverlayScrollbars]>;
|
|
20
|
+
readonly onInitialize: EventEmitter<[instance: import("overlayscrollbars").OverlayScrollbars]>;
|
|
21
21
|
/** Event triggered when options or event listeners updated */
|
|
22
|
-
onUpdate: EventEmitter<[instance: import("overlayscrollbars").OverlayScrollbars, onUpdatedArgs: import("overlayscrollbars").OnUpdatedEventListenerArgs]>;
|
|
22
|
+
readonly onUpdate: EventEmitter<[instance: import("overlayscrollbars").OverlayScrollbars, onUpdatedArgs: import("overlayscrollbars").OnUpdatedEventListenerArgs]>;
|
|
23
23
|
/** Event triggered when scrollbar instance destroyed */
|
|
24
|
-
onDestroy: EventEmitter<[instance: import("overlayscrollbars").OverlayScrollbars, canceled: boolean]>;
|
|
25
|
-
onScroll: EventEmitter<[instance: import("overlayscrollbars").OverlayScrollbars, event: Event]>;
|
|
24
|
+
readonly onDestroy: EventEmitter<[instance: import("overlayscrollbars").OverlayScrollbars, canceled: boolean]>;
|
|
25
|
+
readonly onScroll: EventEmitter<[instance: import("overlayscrollbars").OverlayScrollbars, event: Event]>;
|
|
26
26
|
get element(): HTMLElement;
|
|
27
27
|
private readonly injector;
|
|
28
28
|
constructor(ngZone: NgZone, targetElement: ElementRef<HTMLElement>);
|
|
@@ -25,6 +25,10 @@ export type KbqSelectOptions = Partial<{
|
|
|
25
25
|
* If set to null or an empty string, the panel will grow to match the longest option's text.
|
|
26
26
|
*/
|
|
27
27
|
panelWidth: KbqSelectPanelWidth;
|
|
28
|
+
/**
|
|
29
|
+
* Minimum width of the panel. If minWidth is larger than window width or property set to null, it will be ignored.
|
|
30
|
+
*/
|
|
31
|
+
panelMinWidth: Exclude<KbqSelectPanelWidth, 'auto'>;
|
|
28
32
|
}>;
|
|
29
33
|
/** Injection token that can be used to provide the default options for the `kbq-select`. */
|
|
30
34
|
export declare const KBQ_SELECT_OPTIONS: InjectionToken<Partial<{
|
|
@@ -33,6 +37,10 @@ export declare const KBQ_SELECT_OPTIONS: InjectionToken<Partial<{
|
|
|
33
37
|
* If set to null or an empty string, the panel will grow to match the longest option's text.
|
|
34
38
|
*/
|
|
35
39
|
panelWidth: KbqSelectPanelWidth;
|
|
40
|
+
/**
|
|
41
|
+
* Minimum width of the panel. If minWidth is larger than window width or property set to null, it will be ignored.
|
|
42
|
+
*/
|
|
43
|
+
panelMinWidth: Exclude<KbqSelectPanelWidth, "auto">;
|
|
36
44
|
}>>;
|
|
37
45
|
/** Utility provider for `KBQ_SELECT_OPTIONS`. */
|
|
38
46
|
export declare const kbqSelectOptionsProvider: (options: KbqSelectOptions) => Provider;
|
|
@@ -59,6 +67,10 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
|
|
|
59
67
|
* If set to null or an empty string, the panel will grow to match the longest option's text.
|
|
60
68
|
*/
|
|
61
69
|
panelWidth: KbqSelectPanelWidth;
|
|
70
|
+
/**
|
|
71
|
+
* Minimum width of the panel. If minWidth is larger than window width or property set to null, it will be ignored.
|
|
72
|
+
*/
|
|
73
|
+
panelMinWidth: Exclude<KbqSelectPanelWidth, "auto">;
|
|
62
74
|
}> | null;
|
|
63
75
|
private readonly window;
|
|
64
76
|
/** Whether the component is in an error state. */
|
|
@@ -186,7 +198,7 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
|
|
|
186
198
|
* Minimum width of the panel.
|
|
187
199
|
* If minWidth is larger than window width, it will be ignored.
|
|
188
200
|
*/
|
|
189
|
-
panelMinWidth:
|
|
201
|
+
panelMinWidth: Exclude<KbqSelectPanelWidth, 'auto'>;
|
|
190
202
|
/** Value of the select control. */
|
|
191
203
|
get value(): any;
|
|
192
204
|
set value(newValue: any);
|
|
@@ -232,9 +244,9 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
|
|
|
232
244
|
protected overlayOrigin?: CdkOverlayOrigin | ElementRef;
|
|
233
245
|
constructor(_changeDetectorRef: ChangeDetectorRef, _ngZone: NgZone, _renderer: Renderer2, defaultErrorStateMatcher: ErrorStateMatcher, elementRef: ElementRef, overlayContainer: OverlayContainer, _dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, parentFormField: KbqFormField, ngControl: NgControl, scrollStrategyFactory: any, localeService?: KbqLocaleService | undefined);
|
|
234
246
|
ngOnInit(): void;
|
|
247
|
+
ngDoCheck(): void;
|
|
235
248
|
ngAfterContentInit(): void;
|
|
236
249
|
ngAfterViewInit(): void;
|
|
237
|
-
ngDoCheck(): void;
|
|
238
250
|
ngOnDestroy(): void;
|
|
239
251
|
updateErrorState(): void;
|
|
240
252
|
hiddenItemsTextFormatter(hiddenItemsText: string, hiddenItems: number): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, ElementRef, EventEmitter, NgZone, OnDestroy
|
|
1
|
+
import { AfterContentInit, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
2
2
|
import { KbqSidebarAnimationState } from './sidebar-animations';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare enum SidebarPositions {
|
|
@@ -23,30 +23,56 @@ export declare class KbqSidebarClosed {
|
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidebarClosed, never>;
|
|
24
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidebarClosed, "[kbq-sidebar-closed]", ["kbqSidebarClosed"], { "width": { "alias": "width"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
25
|
}
|
|
26
|
-
export declare class KbqSidebar implements OnDestroy,
|
|
26
|
+
export declare class KbqSidebar implements OnDestroy, AfterContentInit {
|
|
27
27
|
private ngZone;
|
|
28
28
|
private elementRef;
|
|
29
|
+
/**
|
|
30
|
+
* @docs-private
|
|
31
|
+
*/
|
|
29
32
|
protected readonly document: Document;
|
|
33
|
+
private readonly renderer;
|
|
34
|
+
private readonly changeDetectorRef;
|
|
30
35
|
get opened(): boolean;
|
|
31
36
|
set opened(value: boolean);
|
|
32
37
|
private _opened;
|
|
33
38
|
position: SidebarPositions;
|
|
39
|
+
/**
|
|
40
|
+
* @docs-private
|
|
41
|
+
*/
|
|
34
42
|
params: KbqSidebarParams;
|
|
35
43
|
readonly stateChanged: EventEmitter<boolean>;
|
|
44
|
+
/**
|
|
45
|
+
* @docs-private
|
|
46
|
+
*/
|
|
36
47
|
openedContent: KbqSidebarOpened;
|
|
48
|
+
/**
|
|
49
|
+
* @docs-private
|
|
50
|
+
*/
|
|
37
51
|
closedContent: KbqSidebarClosed;
|
|
52
|
+
/**
|
|
53
|
+
* @docs-private
|
|
54
|
+
*/
|
|
38
55
|
get animationState(): KbqSidebarAnimationState;
|
|
56
|
+
/**
|
|
57
|
+
* @docs-private
|
|
58
|
+
*/
|
|
39
59
|
internalState: boolean;
|
|
40
|
-
private
|
|
60
|
+
private unbindKeydownListener;
|
|
41
61
|
constructor(ngZone: NgZone, elementRef: ElementRef);
|
|
42
|
-
|
|
62
|
+
ngAfterContentInit(): void;
|
|
43
63
|
ngOnDestroy(): void;
|
|
44
64
|
toggle(): void;
|
|
65
|
+
/**
|
|
66
|
+
* @docs-private
|
|
67
|
+
*/
|
|
45
68
|
onAnimationStart(): void;
|
|
69
|
+
/**
|
|
70
|
+
* @docs-private
|
|
71
|
+
*/
|
|
46
72
|
onAnimationDone(): void;
|
|
47
|
-
ngAfterContentInit(): void;
|
|
48
73
|
private registerKeydownListener;
|
|
49
74
|
private unRegisterKeydownListener;
|
|
75
|
+
private handleKeydown;
|
|
50
76
|
private saveWidth;
|
|
51
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidebar, never>;
|
|
52
78
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSidebar, "kbq-sidebar", ["kbqSidebar"], { "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "stateChanged": "stateChanged"; }, ["openedContent", "closedContent"], ["[kbq-sidebar-opened]", "[kbq-sidebar-closed]"], false, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
2
|
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
3
3
|
import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter, InjectionToken, OnDestroy } from '@angular/core';
|
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
5
|
import { KbqSidepanelAnimationState } from './sidepanel-animations';
|
|
5
6
|
import { KbqSidepanelConfig } from './sidepanel-config';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
@@ -27,10 +28,18 @@ export declare class KbqSidepanelContainerComponent extends BasePortalOutlet imp
|
|
|
27
28
|
get size(): string;
|
|
28
29
|
get trapFocusAutoCapture(): boolean;
|
|
29
30
|
get trapFocus(): boolean;
|
|
31
|
+
/** @docs-private */
|
|
32
|
+
protected readonly indentClickEmitter: Subject<MouseEvent>;
|
|
30
33
|
/** Whether the component has been destroyed. */
|
|
31
34
|
private destroyed;
|
|
32
35
|
constructor(elementRef: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, sidepanelConfig: KbqSidepanelConfig, withIndent: boolean, withShadow: boolean);
|
|
33
36
|
ngOnDestroy(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Gets an observable that emits when the indent has been clicked.
|
|
39
|
+
*
|
|
40
|
+
* @docs-private
|
|
41
|
+
*/
|
|
42
|
+
indentClick(): Observable<MouseEvent>;
|
|
34
43
|
/** Attach a component portal as content to this sidepanel container. */
|
|
35
44
|
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
36
45
|
/** Attach a template portal as content to this sidepanel container. */
|
|
@@ -3,9 +3,9 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { KbqSidepanelConfig } from './sidepanel-config';
|
|
4
4
|
import { KbqSidepanelContainerComponent } from './sidepanel-container.component';
|
|
5
5
|
export declare class KbqSidepanelRef<T = any, R = any> {
|
|
6
|
-
containerInstance: KbqSidepanelContainerComponent;
|
|
7
|
-
|
|
8
|
-
config: KbqSidepanelConfig;
|
|
6
|
+
readonly containerInstance: KbqSidepanelContainerComponent;
|
|
7
|
+
readonly overlayRef: OverlayRef;
|
|
8
|
+
readonly config: KbqSidepanelConfig;
|
|
9
9
|
readonly id: string;
|
|
10
10
|
/** Instance of the component making up the content of the sidepanel. */
|
|
11
11
|
instance: T;
|
|
@@ -63,7 +63,7 @@ export declare class KbqSplitterComponent implements OnInit, AfterContentInit, O
|
|
|
63
63
|
changeDetectorRef: ChangeDetectorRef;
|
|
64
64
|
private ngZone;
|
|
65
65
|
private renderer;
|
|
66
|
-
gutterPositionChange: EventEmitter<void>;
|
|
66
|
+
readonly gutterPositionChange: EventEmitter<void>;
|
|
67
67
|
areas: IArea[];
|
|
68
68
|
gutters: QueryList<KbqGutterDirective>;
|
|
69
69
|
ghost: KbqGutterGhostDirective;
|
|
@@ -111,7 +111,7 @@ export declare class KbqSplitterAreaDirective implements AfterViewInit, OnDestro
|
|
|
111
111
|
private elementRef;
|
|
112
112
|
private renderer;
|
|
113
113
|
private splitter;
|
|
114
|
-
sizeChange: EventEmitter<number>;
|
|
114
|
+
readonly sizeChange: EventEmitter<number>;
|
|
115
115
|
private readonly window;
|
|
116
116
|
constructor(elementRef: ElementRef, renderer: Renderer2, splitter: KbqSplitterComponent);
|
|
117
117
|
isResizing(): boolean;
|
|
@@ -85,6 +85,7 @@ export declare class KbqTabGroup implements AfterContentInit, AfterViewInit, Aft
|
|
|
85
85
|
private readonly groupId;
|
|
86
86
|
private readonly resizeDebounceInterval;
|
|
87
87
|
constructor(changeDetectorRef: ChangeDetectorRef, defaultConfig?: KbqTabsConfig);
|
|
88
|
+
ngAfterContentInit(): void;
|
|
88
89
|
/**
|
|
89
90
|
* After the content is checked, this component knows what tabs have been defined
|
|
90
91
|
* and what the selected index should be. This is where we can know exactly what position
|
|
@@ -92,7 +93,6 @@ export declare class KbqTabGroup implements AfterContentInit, AfterViewInit, Aft
|
|
|
92
93
|
* a new selected tab should transition in (from the left or right).
|
|
93
94
|
*/
|
|
94
95
|
ngAfterContentChecked(): void;
|
|
95
|
-
ngAfterContentInit(): void;
|
|
96
96
|
ngAfterViewInit(): void;
|
|
97
97
|
ngOnDestroy(): void;
|
|
98
98
|
focusChanged(index: number): void;
|
package/tabs/tab.component.d.ts
CHANGED
|
@@ -52,8 +52,8 @@ export declare class KbqTab implements OnInit, OnChanges, OnDestroy {
|
|
|
52
52
|
private contentPortal;
|
|
53
53
|
constructor(viewContainerRef: ViewContainerRef);
|
|
54
54
|
ngOnChanges(changes: SimpleChanges): void;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
55
|
ngOnInit(): void;
|
|
56
|
+
ngOnDestroy(): void;
|
|
57
57
|
/**
|
|
58
58
|
* This has been extracted to a util because of TS 4 and VE.
|
|
59
59
|
* View Engine doesn't support property rename inheritance.
|
package/tags/tag-input.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
|
|
|
40
40
|
get separators(): KbqTagSeparator[];
|
|
41
41
|
private _separators;
|
|
42
42
|
/** Emitted when a tag is to be added. */
|
|
43
|
-
tagEnd: EventEmitter<KbqTagInputEvent>;
|
|
43
|
+
readonly tagEnd: EventEmitter<KbqTagInputEvent>;
|
|
44
44
|
/** A value indicating whether allow/prevent tags duplication */
|
|
45
45
|
distinct: boolean;
|
|
46
46
|
/** The input's placeholder text. */
|
|
@@ -151,9 +151,9 @@ export declare class KbqTagList implements KbqFormFieldControl<any>, ControlValu
|
|
|
151
151
|
private tagRemoveSubscription;
|
|
152
152
|
private readonly destroyRef;
|
|
153
153
|
constructor(elementRef: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, defaultErrorStateMatcher: ErrorStateMatcher, dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, ngControl: NgControl);
|
|
154
|
-
ngAfterContentInit(): void;
|
|
155
154
|
ngOnInit(): void;
|
|
156
155
|
ngDoCheck(): void;
|
|
156
|
+
ngAfterContentInit(): void;
|
|
157
157
|
ngOnDestroy(): void;
|
|
158
158
|
updateErrorState(): void;
|
|
159
159
|
onTouched: () => void;
|
|
@@ -64,7 +64,7 @@ export declare class KbqTimepicker<D> implements KbqFormFieldControl<D>, Control
|
|
|
64
64
|
set value(value: D | null);
|
|
65
65
|
private _value;
|
|
66
66
|
set kbqValidationTooltip(tooltip: KbqWarningTooltipTrigger);
|
|
67
|
-
incorrectInput: EventEmitter<void>;
|
|
67
|
+
readonly incorrectInput: EventEmitter<void>;
|
|
68
68
|
get hasSelection(): boolean;
|
|
69
69
|
get isFullFormat(): boolean;
|
|
70
70
|
get isShortFormat(): boolean;
|
|
@@ -78,8 +78,8 @@ export declare class KbqTooltipTrigger extends KbqPopUpTrigger<KbqTooltipCompone
|
|
|
78
78
|
private _color;
|
|
79
79
|
arrow: boolean;
|
|
80
80
|
offset: number | null;
|
|
81
|
-
placementChange: EventEmitter<any>;
|
|
82
|
-
visibleChange: EventEmitter<boolean>;
|
|
81
|
+
readonly placementChange: EventEmitter<any>;
|
|
82
|
+
readonly visibleChange: EventEmitter<boolean>;
|
|
83
83
|
private get hasClickInTrigger();
|
|
84
84
|
protected originSelector: string;
|
|
85
85
|
protected overlayConfig: OverlayConfig;
|
|
@@ -77,8 +77,8 @@ export declare class KbqTreeSelection extends KbqTreeBase<any> implements Contro
|
|
|
77
77
|
private optionFocusSubscription;
|
|
78
78
|
private optionBlurSubscription;
|
|
79
79
|
constructor(elementRef: ElementRef, scheduler: AsyncScheduler, differs: IterableDiffers, changeDetectorRef: ChangeDetectorRef, multiple: MultipleMode, clipboard: Clipboard);
|
|
80
|
-
ngAfterViewInit(): void;
|
|
81
80
|
ngAfterContentInit(): void;
|
|
81
|
+
ngAfterViewInit(): void;
|
|
82
82
|
ngOnDestroy(): void;
|
|
83
83
|
focus($event: any): void;
|
|
84
84
|
highlightSelectedOption(): void;
|
|
@@ -210,9 +210,9 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
210
210
|
private readonly window;
|
|
211
211
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, renderer: Renderer2, defaultErrorStateMatcher: ErrorStateMatcher, scrollStrategyFactory: any, dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, parentFormField: KbqFormField, ngControl: NgControl, localeService?: KbqLocaleService | undefined);
|
|
212
212
|
ngOnInit(): void;
|
|
213
|
+
ngDoCheck(): void;
|
|
213
214
|
ngAfterContentInit(): void;
|
|
214
215
|
ngAfterViewInit(): void;
|
|
215
|
-
ngDoCheck(): void;
|
|
216
216
|
ngOnDestroy(): void;
|
|
217
217
|
updateErrorState(): void;
|
|
218
218
|
hiddenItemsTextFormatter(hiddenItemsText: string, hiddenItems: number): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { KbqFormatKeyToProfileMapping, KbqFormatKeyToProfileMappingExtended } from './types';
|
|
3
|
+
/** Default name format: Last name full, first and middle as initials. */
|
|
4
|
+
export declare const kbqDefaultFullNameFormatCustom = "L f. m.";
|
|
5
|
+
/** Default name format: Last name full, first and middle as initials. */
|
|
6
|
+
export declare const kbqDefaultFullNameFormat = "lf.m.";
|
|
7
|
+
/**
|
|
8
|
+
* Throws an error when no profile field mapping is provided to the username pipe.
|
|
9
|
+
* @docs-private
|
|
10
|
+
*/
|
|
11
|
+
export declare function KbqMappingMissingError(): Error;
|
|
12
|
+
/**
|
|
13
|
+
* Injection token for providing a global username format-to-profile mapping.
|
|
14
|
+
*/
|
|
15
|
+
export declare const KBQ_PROFILE_MAPPING: InjectionToken<KbqFormatKeyToProfileMapping | KbqFormatKeyToProfileMappingExtended>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./username";
|
|
3
|
+
import * as i2 from "./username.pipe";
|
|
4
|
+
export declare class KbqUsernameModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqUsernameModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqUsernameModule, never, [typeof i1.KbqUsername, typeof i1.KbqUsernameCustomView, typeof i1.KbqUsernamePrimary, typeof i1.KbqUsernameSecondary, typeof i2.KbqUsernameCustomPipe, typeof i2.KbqUsernamePipe], [typeof i1.KbqUsername, typeof i1.KbqUsernameCustomView, typeof i1.KbqUsernamePrimary, typeof i1.KbqUsernameSecondary, typeof i2.KbqUsernameCustomPipe, typeof i2.KbqUsernamePipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqUsernameModule>;
|
|
8
|
+
}
|