@indigina/ui-kit 1.1.60 → 1.1.62
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/logistics.svg +11 -0
- package/assets/icons/printing.svg +8 -0
- package/esm2022/lib/components/kit-grid/kit-grid.component.mjs +12 -3
- package/esm2022/lib/components/kit-grid/kit-grid.model.mjs +1 -1
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.const.mjs +3 -1
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +3 -3
- package/esm2022/lib/components/kit-timepicker/kit-timepicker.module.mjs +2 -2
- package/fesm2022/indigina-ui-kit.mjs +18 -8
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-grid/kit-grid.component.d.ts +7 -2
- package/lib/components/kit-grid/kit-grid.model.d.ts +2 -1
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +3 -1
- package/lib/components/kit-timepicker/kit-timepicker.module.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { EventEmitter, QueryList, 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';
|
|
5
|
-
import { KitGridDataStateChangeEvent, KitGridSortDescriptor, KitGridSortSettings, KitGridPageChangeEvent, KitGridDetailExpandEvent, KitGridDetailCollapseEvent, KitGridDataResult } from './kit-grid.model';
|
|
5
|
+
import { KitGridDataStateChangeEvent, KitGridSortDescriptor, KitGridSortSettings, KitGridPageChangeEvent, KitGridDetailExpandEvent, KitGridDetailCollapseEvent, KitGridDataResult, KitGridCellClickEvent } from './kit-grid.model';
|
|
6
6
|
import { KitGridSortDirection } from './kit-grid.const';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class KitGridComponent<T> {
|
|
@@ -58,6 +58,10 @@ export declare class KitGridComponent<T> {
|
|
|
58
58
|
* An action which is emitted when the master row is collapsed
|
|
59
59
|
*/
|
|
60
60
|
detailCollapsed: EventEmitter<KitGridDetailCollapseEvent>;
|
|
61
|
+
/**
|
|
62
|
+
* An action which is emitted when user clicks a cell
|
|
63
|
+
*/
|
|
64
|
+
cellClicked: EventEmitter<KitGridCellClickEvent>;
|
|
61
65
|
columns: QueryList<KitGridColumnComponent> | null;
|
|
62
66
|
kitGridDetailTemplate: TemplateRef<HTMLElement> | null;
|
|
63
67
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
@@ -70,9 +74,10 @@ export declare class KitGridComponent<T> {
|
|
|
70
74
|
onDetailExpand(event: KitGridDetailExpandEvent): void;
|
|
71
75
|
onDetailCollapse(event: KitGridDetailCollapseEvent): void;
|
|
72
76
|
onPageChange(event: KitGridPageChangeEvent): void;
|
|
77
|
+
onCellClick(event: KitGridCellClickEvent): void;
|
|
73
78
|
getCssRowClass: (context: RowClassArgs) => Record<string, boolean>;
|
|
74
79
|
getPagerSettings(): boolean | PagerSettings;
|
|
75
80
|
private collapseAllRows;
|
|
76
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridComponent<any>, never>;
|
|
77
|
-
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; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; }, ["kitGridDetailTemplate", "columns"], never, false, never>;
|
|
82
|
+
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; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; "cellClicked": "cellClicked"; }, ["kitGridDetailTemplate", "columns"], never, false, never>;
|
|
78
83
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataStateChangeEvent, DetailCollapseEvent, DetailExpandEvent, PageChangeEvent } from '@progress/kendo-angular-grid';
|
|
1
|
+
import { CellClickEvent, DataStateChangeEvent, DetailCollapseEvent, DetailExpandEvent, PageChangeEvent } from '@progress/kendo-angular-grid';
|
|
2
2
|
import { SortDescriptor, State } from '@progress/kendo-data-query';
|
|
3
3
|
import { KitGridSortSettingsMode } from './kit-grid.const';
|
|
4
4
|
export interface KitGridSortSettings {
|
|
@@ -14,3 +14,4 @@ export type KitGridDataStateChangeEvent = DataStateChangeEvent;
|
|
|
14
14
|
export type KitGridPageChangeEvent = PageChangeEvent;
|
|
15
15
|
export type KitGridDetailExpandEvent = DetailExpandEvent;
|
|
16
16
|
export type KitGridDetailCollapseEvent = DetailCollapseEvent;
|
|
17
|
+
export type KitGridCellClickEvent = CellClickEvent;
|
|
@@ -96,7 +96,9 @@ export declare enum KitSvgIcon {
|
|
|
96
96
|
SEKO = "seko",
|
|
97
97
|
SEKO_360 = "seko-360",
|
|
98
98
|
FOUR_SQUARE = "four-square",
|
|
99
|
-
APP_ARROW_CIRCLE = "app-arrow-circle"
|
|
99
|
+
APP_ARROW_CIRCLE = "app-arrow-circle",
|
|
100
|
+
LOGISTICS = "logistics",
|
|
101
|
+
PRINTING = "printing"
|
|
100
102
|
}
|
|
101
103
|
export declare enum KitSvgIconType {
|
|
102
104
|
FILL = "fill",
|
|
@@ -4,7 +4,7 @@ import * as i2 from "@progress/kendo-angular-dateinputs";
|
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "../kit-svg-icon/kit-svg-icon.module";
|
|
6
6
|
import * as i5 from "../kit-input-label/kit-input-label.module";
|
|
7
|
-
import * as i6 from "
|
|
7
|
+
import * as i6 from "../kit-input-message/kit-input-message.module";
|
|
8
8
|
export declare class KitTimepickerModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimepickerModule, never>;
|
|
10
10
|
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTimepickerModule, [typeof i1.KitTimepickerComponent], [typeof i2.TimePickerModule, typeof i3.CommonModule, typeof i4.KitSvgIconModule, typeof i5.KitInputLabelModule, typeof i2.DateTimePickerModule, typeof i6.KitInputMessageModule], [typeof i1.KitTimepickerComponent]>;
|