@indigina/ui-kit 1.1.87 → 1.1.88
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/assets/icons/columns.svg +3 -0
- package/esm2022/lib/components/kit-button/kit-button.component.mjs +2 -2
- package/esm2022/lib/components/kit-checkbox/kit-checkbox.component.mjs +8 -7
- package/esm2022/lib/components/kit-checkbox/kit-checkbox.module.mjs +7 -3
- package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.component.mjs +1 -1
- package/esm2022/lib/components/kit-grid/kit-grid-column/kit-grid-column.component.mjs +8 -2
- package/esm2022/lib/components/kit-grid/kit-grid.component.mjs +11 -8
- package/esm2022/lib/components/kit-search-bar/kit-search-bar.component.mjs +6 -6
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.const.mjs +2 -1
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +3 -3
- package/esm2022/lib/components/kit-textbox/kit-textbox.component.mjs +11 -5
- package/esm2022/lib/components/kit-textbox/kit-textbox.const.mjs +6 -1
- package/esm2022/lib/directives/kit-tooltip/kit-tooltip.directive.mjs +3 -2
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/indigina-ui-kit.mjs +55 -30
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-checkbox/kit-checkbox.component.d.ts +2 -2
- package/lib/components/kit-checkbox/kit-checkbox.module.d.ts +2 -1
- package/lib/components/kit-grid/kit-grid-column/kit-grid-column.component.d.ts +5 -1
- package/lib/components/kit-grid/kit-grid.component.d.ts +7 -3
- package/lib/components/kit-search-bar/kit-search-bar.component.d.ts +2 -2
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +2 -1
- package/lib/components/kit-textbox/kit-textbox.component.d.ts +6 -2
- package/lib/components/kit-textbox/kit-textbox.const.d.ts +4 -0
- package/lib/directives/kit-tooltip/kit-tooltip.directive.d.ts +3 -3
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
|
@@ -19,7 +19,7 @@ export declare class KitCheckboxComponent implements ControlValueAccessor {
|
|
|
19
19
|
/**
|
|
20
20
|
* Defines a default value
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
checked: boolean;
|
|
23
23
|
/**
|
|
24
24
|
* Defines whether checkbox be in readonly state
|
|
25
25
|
*/
|
|
@@ -57,6 +57,6 @@ export declare class KitCheckboxComponent implements ControlValueAccessor {
|
|
|
57
57
|
setDisabledState(disabled: boolean): void;
|
|
58
58
|
setCssClasses(checkbox: HTMLInputElement): Record<string, boolean>;
|
|
59
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitCheckboxComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitCheckboxComponent, "kit-checkbox", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCheckboxComponent, "kit-checkbox", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "state": { "alias": "state"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
61
61
|
}
|
|
62
62
|
export {};
|
|
@@ -5,8 +5,9 @@ import * as i3 from "@progress/kendo-angular-inputs";
|
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "../kit-input-message/kit-input-message.module";
|
|
7
7
|
import * as i6 from "../kit-svg-icon/kit-svg-icon.module";
|
|
8
|
+
import * as i7 from "@angular/forms";
|
|
8
9
|
export declare class KitCheckboxModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitCheckboxModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitCheckboxModule, [typeof i1.KitCheckboxComponent], [typeof i2.LabelModule, typeof i3.CheckBoxModule, typeof i4.CommonModule, typeof i5.KitInputMessageModule, typeof i6.KitSvgIconModule], [typeof i1.KitCheckboxComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitCheckboxModule, [typeof i1.KitCheckboxComponent], [typeof i2.LabelModule, typeof i3.CheckBoxModule, typeof i4.CommonModule, typeof i5.KitInputMessageModule, typeof i6.KitSvgIconModule, typeof i7.FormsModule], [typeof i1.KitCheckboxComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitCheckboxModule>;
|
|
12
13
|
}
|
|
@@ -26,10 +26,14 @@ export declare class KitGridColumnComponent {
|
|
|
26
26
|
* Defines the width of the column (in pixels)
|
|
27
27
|
*/
|
|
28
28
|
width?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Set the visibility of the column
|
|
31
|
+
*/
|
|
32
|
+
hidden: boolean;
|
|
29
33
|
/**
|
|
30
34
|
* Defines the column cell template
|
|
31
35
|
*/
|
|
32
36
|
cellTemplate?: TemplateRef<HTMLElement>;
|
|
33
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridColumnComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridColumnComponent, "kit-grid-column", never, { "field": { "alias": "field"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleIcon": { "alias": "titleIcon"; "required": false; }; "titleIconType": { "alias": "titleIconType"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, ["cellTemplate"], never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridColumnComponent, "kit-grid-column", never, { "field": { "alias": "field"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleIcon": { "alias": "titleIcon"; "required": false; }; "titleIconType": { "alias": "titleIconType"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "width": { "alias": "width"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; }, {}, ["cellTemplate"], never, false, never>;
|
|
35
39
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter,
|
|
1
|
+
import { EventEmitter, Signal, TemplateRef } from '@angular/core';
|
|
2
2
|
import { KitGridColumnComponent } from './kit-grid-column/kit-grid-column.component';
|
|
3
3
|
import { PagerSettings, RowClassArgs } from '@progress/kendo-angular-grid';
|
|
4
4
|
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
@@ -34,6 +34,10 @@ export declare class KitGridComponent<T> {
|
|
|
34
34
|
* Defines the number of records to be skipped by the pager
|
|
35
35
|
*/
|
|
36
36
|
skip: number;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies if the loading indicator of the grid will be displayed
|
|
39
|
+
*/
|
|
40
|
+
loading: boolean;
|
|
37
41
|
/**
|
|
38
42
|
* Function to determine if the detail template should be visible
|
|
39
43
|
*/
|
|
@@ -74,8 +78,8 @@ export declare class KitGridComponent<T> {
|
|
|
74
78
|
* An action which is emitted when user clicks a cell
|
|
75
79
|
*/
|
|
76
80
|
cellClicked: EventEmitter<KitGridCellClickEvent>;
|
|
77
|
-
columns: QueryList<KitGridColumnComponent> | null;
|
|
78
81
|
kitGridDetailTemplate: TemplateRef<HTMLElement> | null;
|
|
82
|
+
readonly columns: Signal<readonly KitGridColumnComponent[]>;
|
|
79
83
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
80
84
|
readonly KitGridSortDirection: typeof KitGridSortDirection;
|
|
81
85
|
expandedRows: T[];
|
|
@@ -91,5 +95,5 @@ export declare class KitGridComponent<T> {
|
|
|
91
95
|
getPagerSettings(): boolean | PagerSettings;
|
|
92
96
|
private collapseAllRows;
|
|
93
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridComponent<any>, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridComponent<any>, "kit-grid", never, { "data": { "alias": "data"; "required": false; }; "gridDataBinding": { "alias": "gridDataBinding"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "detailTemplateShowIf": { "alias": "detailTemplateShowIf"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerTitle": { "alias": "footerTitle"; "required": false; }; "footerData": { "alias": "footerData"; "required": false; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; "cellClicked": "cellClicked"; }, ["
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridComponent<any>, "kit-grid", never, { "data": { "alias": "data"; "required": false; }; "gridDataBinding": { "alias": "gridDataBinding"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "detailTemplateShowIf": { "alias": "detailTemplateShowIf"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerTitle": { "alias": "footerTitle"; "required": false; }; "footerData": { "alias": "footerData"; "required": false; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; "cellClicked": "cellClicked"; }, ["columns", "kitGridDetailTemplate"], never, false, never>;
|
|
95
99
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, ElementRef } from '@angular/core';
|
|
2
2
|
import { KitButtonKind, KitButtonType, KitButtonIconPosition } from '../kit-button/kit-button.const';
|
|
3
|
-
import {
|
|
3
|
+
import { KitTextboxSize } from '../kit-textbox/kit-textbox.const';
|
|
4
4
|
import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class KitSearchBarComponent {
|
|
7
7
|
placeholder: string;
|
|
8
8
|
searchButtonLabel: string;
|
|
9
9
|
closeButtonLabel: string;
|
|
10
|
-
state: KitTextboxState;
|
|
11
10
|
icon: KitSvgIcon;
|
|
12
11
|
clearIcon: KitSvgIcon;
|
|
13
12
|
buttonType: KitButtonType;
|
|
@@ -16,6 +15,7 @@ export declare class KitSearchBarComponent {
|
|
|
16
15
|
buttonIcon: KitSvgIcon;
|
|
17
16
|
buttonIconType: KitSvgIconType;
|
|
18
17
|
buttonIconPosition: KitButtonIconPosition;
|
|
18
|
+
readonly kitTextboxSize: typeof KitTextboxSize;
|
|
19
19
|
changed: EventEmitter<string>;
|
|
20
20
|
searchButtonClick: EventEmitter<void>;
|
|
21
21
|
closeButtonClick: EventEmitter<void>;
|
|
@@ -130,7 +130,8 @@ export declare enum KitSvgIcon {
|
|
|
130
130
|
IMAGE_FILE = "image-file",
|
|
131
131
|
EMPTY = "empty",
|
|
132
132
|
PRODUCT = "product",
|
|
133
|
-
NOTIFICATION = "notification"
|
|
133
|
+
NOTIFICATION = "notification",
|
|
134
|
+
COLUMNS = "columns"
|
|
134
135
|
}
|
|
135
136
|
export declare enum KitSvgIconType {
|
|
136
137
|
FILL = "fill",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
|
-
import { KitTextboxState } from './kit-textbox.const';
|
|
4
|
+
import { KitTextboxSize, KitTextboxState } from './kit-textbox.const';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class KitTextboxComponent implements ControlValueAccessor {
|
|
7
7
|
/**
|
|
@@ -36,6 +36,10 @@ export declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
36
36
|
* Defines the state of the textbox
|
|
37
37
|
*/
|
|
38
38
|
state: KitTextboxState;
|
|
39
|
+
/**
|
|
40
|
+
* Defines the size of the textbox
|
|
41
|
+
*/
|
|
42
|
+
size: KitTextboxSize;
|
|
39
43
|
/**
|
|
40
44
|
* Defines the icon which will be used with the input field
|
|
41
45
|
*/
|
|
@@ -70,5 +74,5 @@ export declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
70
74
|
*/
|
|
71
75
|
onInputChange(value: string): void;
|
|
72
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "state": { "alias": "state"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
74
78
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { TooltipDirective } from '@progress/kendo-angular-tooltip';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare enum KitTooltipPosition {
|
|
@@ -7,11 +7,11 @@ export declare enum KitTooltipPosition {
|
|
|
7
7
|
RIGHT = "right",
|
|
8
8
|
LEFT = "left"
|
|
9
9
|
}
|
|
10
|
-
export declare class KitTooltipDirective extends TooltipDirective implements
|
|
10
|
+
export declare class KitTooltipDirective extends TooltipDirective implements OnInit {
|
|
11
11
|
kitTooltipPosition: KitTooltipPosition;
|
|
12
12
|
kitTooltipFilter: string;
|
|
13
13
|
kitTooltipTemplateRef?: TemplateRef<HTMLElement>;
|
|
14
|
-
|
|
14
|
+
ngOnInit(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTooltipDirective, never>;
|
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KitTooltipDirective, "[kitTooltip]", never, { "kitTooltipPosition": { "alias": "kitTooltipPosition"; "required": false; }; "kitTooltipFilter": { "alias": "kitTooltipFilter"; "required": false; }; "kitTooltipTemplateRef": { "alias": "kitTooltipTemplateRef"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
17
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { KitSwitchModule } from './lib/components/kit-switch/kit-switch.module';
|
|
|
13
13
|
export { KitSwitchItem } from './lib/components/kit-switch/kit-switch-item.model';
|
|
14
14
|
export { KitTextboxComponent } from './lib/components/kit-textbox/kit-textbox.component';
|
|
15
15
|
export { KitTextboxModule } from './lib/components/kit-textbox/kit-textbox.module';
|
|
16
|
-
export { KitTextboxState } from './lib/components/kit-textbox/kit-textbox.const';
|
|
16
|
+
export { KitTextboxState, KitTextboxSize } from './lib/components/kit-textbox/kit-textbox.const';
|
|
17
17
|
export { KitNumericTextboxComponent } from './lib/components/kit-numeric-textbox/kit-numeric-textbox.component';
|
|
18
18
|
export { KitNumericTextboxModule } from './lib/components/kit-numeric-textbox/kit-numeric-textbox.module';
|
|
19
19
|
export { KitNumericTextboxState } from './lib/components/kit-numeric-textbox/kit-numeric-textbox.const';
|