i-tech-shared-components 1.2.12 → 1.2.14
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/esm2022/lib/components/ag-grid/ag-grid-button-cell/ag-grid-button-cell.component.mjs +25 -0
- package/esm2022/lib/components/ag-grid/status-label-cell.component.mjs +34 -0
- package/esm2022/lib/components/ag-grid/tooltip-cell-renderer.component.mjs +49 -0
- package/esm2022/lib/components/new-sidebar/new-sidebar.component.mjs +3 -6
- package/esm2022/lib/interfaces/navigation-link.interface.mjs +1 -1
- package/esm2022/lib/services/ag-grid-functions.service.mjs +49 -0
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/i-tech-shared-components.mjs +148 -7
- package/fesm2022/i-tech-shared-components.mjs.map +1 -1
- package/lib/components/ag-grid/ag-grid-button-cell/ag-grid-button-cell.component.d.ts +10 -0
- package/lib/components/ag-grid/status-label-cell.component.d.ts +9 -0
- package/lib/components/ag-grid/tooltip-cell-renderer.component.d.ts +14 -0
- package/lib/components/new-sidebar/new-sidebar.component.d.ts +0 -1
- package/lib/interfaces/navigation-link.interface.d.ts +1 -0
- package/lib/services/ag-grid-functions.service.d.ts +12 -0
- package/package.json +4 -2
- package/public-api.d.ts +4 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ICellRendererAngularComp } from "ag-grid-angular";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AgGridButtonCellComponent implements ICellRendererAngularComp {
|
|
4
|
+
params: any;
|
|
5
|
+
agInit(params: any): void;
|
|
6
|
+
refresh(params: any): boolean;
|
|
7
|
+
onClick(event: any): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AgGridButtonCellComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AgGridButtonCellComponent, "i-tech-ag-grid-button-cell", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICellRendererAngularComp } from 'ag-grid-angular';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProcessedStatusCellRendererComponent implements ICellRendererAngularComp {
|
|
4
|
+
data: any;
|
|
5
|
+
agInit(params: any): void;
|
|
6
|
+
refresh(params: any): boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessedStatusCellRendererComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessedStatusCellRendererComponent, "i-tech-status-label-cell", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ICellRendererAngularComp } from 'ag-grid-angular';
|
|
2
|
+
import { ICellRendererParams } from 'ag-grid-enterprise';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TooltipCellRendererComponent implements ICellRendererAngularComp {
|
|
5
|
+
params?: ICellRendererParams;
|
|
6
|
+
tooltipText: string;
|
|
7
|
+
customTextTooltip: string;
|
|
8
|
+
customText: string;
|
|
9
|
+
agInit(params: any): void;
|
|
10
|
+
refresh(params: ICellRendererParams): boolean;
|
|
11
|
+
private updateTooltipText;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipCellRendererComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipCellRendererComponent, "i-tech-tooltip-cell-renderer", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -37,7 +37,6 @@ export declare class NewSidebarComponent implements OnInit, AfterViewInit {
|
|
|
37
37
|
detectActiveAndInactiveApps(): void;
|
|
38
38
|
switchOrganization(company: OrganizationInterface): void;
|
|
39
39
|
getAllCompanies(): void;
|
|
40
|
-
openLanding(): void;
|
|
41
40
|
accessToAddNew(): boolean;
|
|
42
41
|
addNewOrganization(): void;
|
|
43
42
|
navigateBack(): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GridApi } from "ag-grid-enterprise";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AgGridFunctionsService {
|
|
4
|
+
findSortQuery(sortModel: any[]): string;
|
|
5
|
+
showAgGridEmpty(gridApi: GridApi): void;
|
|
6
|
+
objectToArray<T extends object>(obj: T): {
|
|
7
|
+
key: keyof T;
|
|
8
|
+
value: T[keyof T];
|
|
9
|
+
}[];
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AgGridFunctionsService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AgGridFunctionsService>;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "i-tech-shared-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.14",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/material": "~18.2.14",
|
|
6
6
|
"@angular/animations": "~18.0.0",
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"@ngx-translate/core": "^15.0.0",
|
|
14
14
|
"@ngx-translate/http-loader": "^8.0.0",
|
|
15
15
|
"ngx-mask": "^16.0.0",
|
|
16
|
-
"moment-timezone": "^0.5.34"
|
|
16
|
+
"moment-timezone": "^0.5.34",
|
|
17
|
+
"ag-grid-angular": "^33.1.1",
|
|
18
|
+
"ag-grid-enterprise": "^33.1.1"
|
|
17
19
|
},
|
|
18
20
|
"dependencies": {
|
|
19
21
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -20,3 +20,7 @@ export * from './lib/components/menu/menu.component';
|
|
|
20
20
|
export * from './lib/components/label/label.component';
|
|
21
21
|
export * from './lib/components/date-time-picker/date-time-picker.component';
|
|
22
22
|
export * from './lib/components/new-sidebar/new-sidebar.component';
|
|
23
|
+
export * from './lib/services/ag-grid-functions.service';
|
|
24
|
+
export * from './lib/components/ag-grid/ag-grid-button-cell/ag-grid-button-cell.component';
|
|
25
|
+
export * from './lib/components/ag-grid/status-label-cell.component';
|
|
26
|
+
export * from './lib/components/ag-grid/tooltip-cell-renderer.component';
|