@indigina/ui-kit 1.1.90 → 1.1.91
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/details.svg +10 -0
- package/esm2022/lib/components/kit-grid/kit-grid.component.mjs +12 -14
- 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/fesm2022/indigina-ui-kit.mjs +14 -15
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-grid/kit-grid.component.d.ts +5 -5
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +2 -1
- package/package.json +1 -1
|
@@ -42,6 +42,10 @@ export declare class KitGridComponent<T> {
|
|
|
42
42
|
* Function to determine if the detail template should be visible
|
|
43
43
|
*/
|
|
44
44
|
detailTemplateShowIf: (dataItem: T) => boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Function to determine if the caret of detail template should be disabled
|
|
47
|
+
*/
|
|
48
|
+
detailTemplateExpandDisableIf: (dataItem: T) => boolean;
|
|
45
49
|
/**
|
|
46
50
|
* Flag to show or hide the footer row
|
|
47
51
|
*/
|
|
@@ -54,10 +58,6 @@ export declare class KitGridComponent<T> {
|
|
|
54
58
|
* Data to display in the footer row
|
|
55
59
|
*/
|
|
56
60
|
footerData?: Partial<Record<keyof T, T[keyof T]>>;
|
|
57
|
-
/**
|
|
58
|
-
* Method to add additional logic to the row class
|
|
59
|
-
*/
|
|
60
|
-
addRowClass?: (context?: RowClassArgs) => Record<string, boolean>;
|
|
61
61
|
/**
|
|
62
62
|
* An action which is emitted when the page of the grid is changed
|
|
63
63
|
*/
|
|
@@ -99,5 +99,5 @@ export declare class KitGridComponent<T> {
|
|
|
99
99
|
getPagerSettings(): boolean | PagerSettings;
|
|
100
100
|
private collapseAllRows;
|
|
101
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridComponent<any>, never>;
|
|
102
|
-
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; }; "
|
|
102
|
+
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; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; "cellClicked": "cellClicked"; }, ["columns", "kitGridDetailTemplate"], never, false, never>;
|
|
103
103
|
}
|
|
@@ -131,7 +131,8 @@ export declare enum KitSvgIcon {
|
|
|
131
131
|
EMPTY = "empty",
|
|
132
132
|
PRODUCT = "product",
|
|
133
133
|
NOTIFICATION = "notification",
|
|
134
|
-
COLUMNS = "columns"
|
|
134
|
+
COLUMNS = "columns",
|
|
135
|
+
DETAILS = "details"
|
|
135
136
|
}
|
|
136
137
|
export declare enum KitSvgIconType {
|
|
137
138
|
FILL = "fill",
|