@indigina/ui-kit 1.1.115 → 1.1.116
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/fesm2022/indigina-ui-kit.mjs +51 -12
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-textarea/kit-textarea.component.d.ts +4 -1
- package/lib/components/kit-textarea/kit-textarea.module.d.ts +2 -1
- package/lib/components/kit-truncate-text/kit-truncate-text.component.d.ts +12 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -2,6 +2,7 @@ import { EventEmitter, OnChanges } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
4
|
import { KitTextareaState } from './kit-textarea.const';
|
|
5
|
+
import { KitTooltipPosition } from '../../directives/kit-tooltip/kit-tooltip.const';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class KitTextareaComponent implements ControlValueAccessor, OnChanges {
|
|
7
8
|
/**
|
|
@@ -54,6 +55,7 @@ export declare class KitTextareaComponent implements ControlValueAccessor, OnCha
|
|
|
54
55
|
* Defines whether the textarea will be in the readonly mode
|
|
55
56
|
*/
|
|
56
57
|
readonly: boolean;
|
|
58
|
+
tooltip?: string;
|
|
57
59
|
/**
|
|
58
60
|
* Defines a value that is going to be applied as a minimal textarea height
|
|
59
61
|
*/
|
|
@@ -75,6 +77,7 @@ export declare class KitTextareaComponent implements ControlValueAccessor, OnCha
|
|
|
75
77
|
*/
|
|
76
78
|
changed: EventEmitter<string>;
|
|
77
79
|
readonly textareaStateIcon: Record<KitTextareaState, KitSvgIcon>;
|
|
80
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
78
81
|
ngOnChanges(): void;
|
|
79
82
|
/**
|
|
80
83
|
* Function that should be called every time values of minLines and maxLines changes
|
|
@@ -105,5 +108,5 @@ export declare class KitTextareaComponent implements ControlValueAccessor, OnCha
|
|
|
105
108
|
*/
|
|
106
109
|
onTextareaChange(event: Event): void;
|
|
107
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextareaComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextareaComponent, "kit-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minLines": { "alias": "minLines"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "focused": "focused"; "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextareaComponent, "kit-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minLines": { "alias": "minLines"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "focused": "focused"; "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
109
112
|
}
|
|
@@ -5,8 +5,9 @@ import * as i3 from "@angular/common";
|
|
|
5
5
|
import * as i4 from "../kit-input-message/kit-input-message.module";
|
|
6
6
|
import * as i5 from "../kit-svg-icon/kit-svg-icon.module";
|
|
7
7
|
import * as i6 from "../kit-input-label/kit-input-label.module";
|
|
8
|
+
import * as i7 from "../../directives/kit-tooltip/kit-tooltip.directive";
|
|
8
9
|
export declare class KitTextareaModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextareaModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTextareaModule, [typeof i1.KitTextareaComponent, typeof i2.KitTextareaAutoresizeDirective], [typeof i3.CommonModule, typeof i4.KitInputMessageModule, typeof i5.KitSvgIconModule, typeof i6.KitInputLabelModule], [typeof i1.KitTextareaComponent, typeof i2.KitTextareaAutoresizeDirective]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTextareaModule, [typeof i1.KitTextareaComponent, typeof i2.KitTextareaAutoresizeDirective], [typeof i3.CommonModule, typeof i4.KitInputMessageModule, typeof i5.KitSvgIconModule, typeof i6.KitInputLabelModule, typeof i7.KitTooltipDirective], [typeof i1.KitTextareaComponent, typeof i2.KitTextareaAutoresizeDirective]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitTextareaModule>;
|
|
12
13
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef, Signal } from '@angular/core';
|
|
2
|
+
import { TooltipDirective } from '@progress/kendo-angular-tooltip';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class KitTruncateTextComponent {
|
|
5
|
+
readonly tooltip: Signal<TooltipDirective>;
|
|
6
|
+
readonly anchor: Signal<ElementRef<HTMLDivElement>>;
|
|
7
|
+
readonly content: Signal<ElementRef<HTMLSpanElement>>;
|
|
8
|
+
onMouseEnter(): void;
|
|
9
|
+
onMouseOver(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTruncateTextComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTruncateTextComponent, "kit-truncate-text", never, {}, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -164,3 +164,4 @@ export { KitSortableComponent } from './lib/components/kit-sortable/kit-sortable
|
|
|
164
164
|
export { kitDataStateToODataString } from './lib/utils/kit-data-query/kit-data-query.util';
|
|
165
165
|
export { KitSortDescriptor, KitDataResult, KitDataState, KitFilterDescriptor, KitCompositeFilterDescriptor, } from './lib/utils/kit-data-query/kit-data-query.model';
|
|
166
166
|
export { KitFilterOperator, KitFilterLogic, KitSortDirection } from './lib/utils/kit-data-query/kit-data-query.const';
|
|
167
|
+
export { KitTruncateTextComponent } from './lib/components/kit-truncate-text/kit-truncate-text.component';
|