@indigina/ui-kit 1.1.113 → 1.1.115
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 +32 -8
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-grid/kit-grid.component.d.ts +3 -1
- package/lib/components/kit-pill/kit-pill.component.d.ts +8 -3
- package/lib/components/kit-pill/kit-pill.const.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
|
@@ -61,6 +61,8 @@ export declare class KitGridComponent<T> {
|
|
|
61
61
|
*/
|
|
62
62
|
footerData?: Partial<Record<keyof T, T[keyof T]>>;
|
|
63
63
|
pdfOptions: KitPDFOptions;
|
|
64
|
+
pagerButtonCount: number;
|
|
65
|
+
pagerInfoText: string;
|
|
64
66
|
/**
|
|
65
67
|
* An action which is emitted when the page of the grid is changed
|
|
66
68
|
*/
|
|
@@ -107,5 +109,5 @@ export declare class KitGridComponent<T> {
|
|
|
107
109
|
saveAsExcel(): void;
|
|
108
110
|
private collapseAllRows;
|
|
109
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridComponent<any>, never>;
|
|
110
|
-
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; }; "detailTemplateExpandDisableIf": { "alias": "detailTemplateExpandDisableIf"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerTitle": { "alias": "footerTitle"; "required": false; }; "footerData": { "alias": "footerData"; "required": false; }; "pdfOptions": { "alias": "pdfOptions"; "required": false; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; "cellClicked": "cellClicked"; "excelExport": "excelExport"; "pdfExport": "pdfExport"; }, ["columns", "kitGridDetailTemplate"], never, false, never>;
|
|
112
|
+
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; }; "detailTemplateExpandDisableIf": { "alias": "detailTemplateExpandDisableIf"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerTitle": { "alias": "footerTitle"; "required": false; }; "footerData": { "alias": "footerData"; "required": false; }; "pdfOptions": { "alias": "pdfOptions"; "required": false; }; "pagerButtonCount": { "alias": "pagerButtonCount"; "required": false; }; "pagerInfoText": { "alias": "pagerInfoText"; "required": false; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; "cellClicked": "cellClicked"; "excelExport": "excelExport"; "pdfExport": "pdfExport"; }, ["columns", "kitGridDetailTemplate"], never, false, never>;
|
|
111
113
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, InputSignal } from '@angular/core';
|
|
2
2
|
import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
-
import { KitPillType } from './kit-pill.const';
|
|
3
|
+
import { KitPillTheme, KitPillType } from './kit-pill.const';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class KitPillComponent {
|
|
6
6
|
/**
|
|
@@ -19,6 +19,10 @@ export declare class KitPillComponent {
|
|
|
19
19
|
* Defines the pill type
|
|
20
20
|
*/
|
|
21
21
|
type: KitPillType;
|
|
22
|
+
/**
|
|
23
|
+
* Defines the color theme of the pill
|
|
24
|
+
*/
|
|
25
|
+
readonly theme: InputSignal<KitPillTheme>;
|
|
22
26
|
/**
|
|
23
27
|
* Defines the icon which will be used in a pill with icon
|
|
24
28
|
*/
|
|
@@ -37,7 +41,8 @@ export declare class KitPillComponent {
|
|
|
37
41
|
removed: EventEmitter<void>;
|
|
38
42
|
readonly closeIcon: KitSvgIcon;
|
|
39
43
|
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
44
|
+
get cssClasses(): Record<string, boolean>;
|
|
40
45
|
onComponentClick(): void;
|
|
41
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitPillComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitPillComponent, "kit-pill", never, { "removable": { "alias": "removable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; }, { "clicked": "clicked"; "removed": "removed"; }, never, ["*"], true, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitPillComponent, "kit-pill", never, { "removable": { "alias": "removable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; }, { "clicked": "clicked"; "removed": "removed"; }, never, ["*"], true, never>;
|
|
43
48
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export { KitCheckboxModule } from './lib/components/kit-checkbox/kit-checkbox.mo
|
|
|
46
46
|
export { KitToggleComponent } from './lib/components/kit-toggle/kit-toggle.component';
|
|
47
47
|
export { KitToggleModule } from './lib/components/kit-toggle/kit-toggle.module';
|
|
48
48
|
export { KitPillComponent } from './lib/components/kit-pill/kit-pill.component';
|
|
49
|
-
export { KitPillType } from './lib/components/kit-pill/kit-pill.const';
|
|
49
|
+
export { KitPillType, KitPillTheme } from './lib/components/kit-pill/kit-pill.const';
|
|
50
50
|
export { KitTooltipDirective } from './lib/directives/kit-tooltip/kit-tooltip.directive';
|
|
51
51
|
export { KitTooltipPosition } from './lib/directives/kit-tooltip/kit-tooltip.const';
|
|
52
52
|
export { KitToastrModule } from './lib/components/kit-toastr/kit-toastr.module';
|