@progress-chef/platform-shared-components 0.0.1
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/README.md +30 -0
- package/assets/IconFont.css +68 -0
- package/assets/IconFont.scss +68 -0
- package/assets/IconFont.ttf +0 -0
- package/assets/IconFont.woff +0 -0
- package/assets/IconFont.woff2 +0 -0
- package/esm2022/lib/atoms/alert/alert.component.mjs +37 -0
- package/esm2022/lib/atoms/alert/alert.module.mjs +20 -0
- package/esm2022/lib/atoms/angular-popup/angular-popup.component.mjs +35 -0
- package/esm2022/lib/atoms/angular-popup/angular-popup.module.mjs +36 -0
- package/esm2022/lib/atoms/atoms.module.mjs +234 -0
- package/esm2022/lib/atoms/avatar/avatar.component.mjs +62 -0
- package/esm2022/lib/atoms/avatar/avatar.module.mjs +20 -0
- package/esm2022/lib/atoms/breadcrumb/breadcrumb.component.mjs +59 -0
- package/esm2022/lib/atoms/breadcrumb/breadcrumb.module.mjs +36 -0
- package/esm2022/lib/atoms/button/button.component.mjs +72 -0
- package/esm2022/lib/atoms/button/button.module.mjs +21 -0
- package/esm2022/lib/atoms/button-group/button-group.component.mjs +52 -0
- package/esm2022/lib/atoms/button-group/button-group.module.mjs +21 -0
- package/esm2022/lib/atoms/checkbox/checkbox.component.mjs +45 -0
- package/esm2022/lib/atoms/checkbox/checkbox.module.mjs +32 -0
- package/esm2022/lib/atoms/clipboard/clipboard.component.mjs +104 -0
- package/esm2022/lib/atoms/clipboard/clipboard.module.mjs +32 -0
- package/esm2022/lib/atoms/container/container.component.mjs +29 -0
- package/esm2022/lib/atoms/container/container.module.mjs +22 -0
- package/esm2022/lib/atoms/dropdown/dropdown.component.mjs +102 -0
- package/esm2022/lib/atoms/dropdown/dropdown.module.mjs +39 -0
- package/esm2022/lib/atoms/dropdowntree/dropdowntree.component.mjs +103 -0
- package/esm2022/lib/atoms/dropdowntree/dropdowntree.module.mjs +43 -0
- package/esm2022/lib/atoms/expansion-panel/expansion-panel.component.mjs +38 -0
- package/esm2022/lib/atoms/expansion-panel/expansion-panel.module.mjs +56 -0
- package/esm2022/lib/atoms/icon/icon.component.mjs +24 -0
- package/esm2022/lib/atoms/icon/icon.module.mjs +17 -0
- package/esm2022/lib/atoms/label/label.component.mjs +26 -0
- package/esm2022/lib/atoms/label/label.module.mjs +20 -0
- package/esm2022/lib/atoms/loading-spinner/loading-spinner.component.mjs +26 -0
- package/esm2022/lib/atoms/loading-spinner/loading-spinner.module.mjs +18 -0
- package/esm2022/lib/atoms/multi-select-dropdown/multi-select-dropdown.component.mjs +101 -0
- package/esm2022/lib/atoms/multi-select-dropdown/multi-select-dropdown.module.mjs +39 -0
- package/esm2022/lib/atoms/notification/notification.component.mjs +69 -0
- package/esm2022/lib/atoms/notification/notification.module.mjs +20 -0
- package/esm2022/lib/atoms/numeric-textbox/numeric-textbox.component.mjs +80 -0
- package/esm2022/lib/atoms/numeric-textbox/numeric-textbox.module.mjs +35 -0
- package/esm2022/lib/atoms/progress-bar/progress-bar.component.mjs +20 -0
- package/esm2022/lib/atoms/progress-bar/progress-bar.module.mjs +24 -0
- package/esm2022/lib/atoms/radio-button/radio-button.component.mjs +51 -0
- package/esm2022/lib/atoms/radio-button/radio-button.module.mjs +39 -0
- package/esm2022/lib/atoms/report-summary/report-summary.component.mjs +47 -0
- package/esm2022/lib/atoms/report-summary/report-summary.module.mjs +24 -0
- package/esm2022/lib/atoms/search-box/search-box.component.mjs +108 -0
- package/esm2022/lib/atoms/search-box/search-box.module.mjs +36 -0
- package/esm2022/lib/atoms/slider/slider.component.mjs +58 -0
- package/esm2022/lib/atoms/slider/slider.module.mjs +28 -0
- package/esm2022/lib/atoms/text-area/text-area.component.mjs +43 -0
- package/esm2022/lib/atoms/text-area/text-area.module.mjs +28 -0
- package/esm2022/lib/atoms/textbox/textbox.component.mjs +102 -0
- package/esm2022/lib/atoms/textbox/textbox.module.mjs +21 -0
- package/esm2022/lib/atoms/timescheduler/timescheduler.component.mjs +62 -0
- package/esm2022/lib/atoms/timescheduler/timescheduler.module.mjs +31 -0
- package/esm2022/lib/atoms/toast-notification/toast-notification.module.mjs +19 -0
- package/esm2022/lib/atoms/toast-notification/toast-notification.service.mjs +45 -0
- package/esm2022/lib/atoms/tooltip/tooltip.component.mjs +35 -0
- package/esm2022/lib/atoms/tooltip/tooltip.module.mjs +20 -0
- package/esm2022/lib/atoms/typography/TypographyType.mjs +2 -0
- package/esm2022/lib/atoms/typography/typography.component.mjs +97 -0
- package/esm2022/lib/atoms/typography/typography.module.mjs +24 -0
- package/esm2022/lib/molecules/card/card-actions/card-actions.component.mjs +21 -0
- package/esm2022/lib/molecules/card/card-body/card-body.component.mjs +14 -0
- package/esm2022/lib/molecules/card/card-footer/card-footer.component.mjs +14 -0
- package/esm2022/lib/molecules/card/card-header/card-header.component.mjs +32 -0
- package/esm2022/lib/molecules/card/card.component.mjs +21 -0
- package/esm2022/lib/molecules/card/card.module.mjs +44 -0
- package/esm2022/lib/molecules/dialog/dialog-actions/dialog-actions.component.mjs +18 -0
- package/esm2022/lib/molecules/dialog/dialog-titlebar/dialog-titlebar.component.mjs +41 -0
- package/esm2022/lib/molecules/dialog/dialog.component.mjs +52 -0
- package/esm2022/lib/molecules/dialog/dialog.module.mjs +40 -0
- package/esm2022/lib/molecules/grid/grid-form/grid-form.component.mjs +112 -0
- package/esm2022/lib/molecules/grid/grid-spacer/grid-spacer.component.mjs +15 -0
- package/esm2022/lib/molecules/grid/grid.component.mjs +278 -0
- package/esm2022/lib/molecules/grid/grid.module.mjs +61 -0
- package/esm2022/lib/molecules/grid-layout/grid-layout-item/grid-layout-item.component.mjs +39 -0
- package/esm2022/lib/molecules/grid-layout/grid-layout.component.mjs +34 -0
- package/esm2022/lib/molecules/grid-layout/grid-layout.module.mjs +33 -0
- package/esm2022/lib/molecules/grid-pagination/grid-pagination-spacer/grid-pagination-spacer.component.mjs +15 -0
- package/esm2022/lib/molecules/grid-pagination/grid-pagination.component.mjs +380 -0
- package/esm2022/lib/molecules/grid-pagination/grid-pagination.module.mjs +69 -0
- package/esm2022/lib/molecules/grid-pagination/kebab-menu-filter.pipe.mjs +22 -0
- package/esm2022/lib/molecules/molecules.module.mjs +74 -0
- package/esm2022/lib/molecules/sidebar/layout/layout.model.mjs +2 -0
- package/esm2022/lib/molecules/sidebar/sidebar.component.mjs +43 -0
- package/esm2022/lib/molecules/sidebar/sidebar.module.mjs +32 -0
- package/esm2022/lib/molecules/tabstrip/tabstrip-tab/tabstrip-tab.component.mjs +25 -0
- package/esm2022/lib/molecules/tabstrip/tabstrip.component.mjs +37 -0
- package/esm2022/lib/molecules/tabstrip/tabstrip.module.mjs +33 -0
- package/esm2022/lib/shared.component.mjs +16 -0
- package/esm2022/lib/shared.module.mjs +40 -0
- package/esm2022/lib/shared.service.mjs +14 -0
- package/esm2022/lib/style-tokens/style-tokens.module.mjs +18 -0
- package/esm2022/progress-chef-platform-shared-components.mjs +5 -0
- package/esm2022/public-api.mjs +98 -0
- package/fesm2022/progress-chef-platform-shared-components.mjs +3970 -0
- package/fesm2022/progress-chef-platform-shared-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/atoms/alert/alert.component.d.ts +19 -0
- package/lib/atoms/alert/alert.module.d.ts +8 -0
- package/lib/atoms/angular-popup/angular-popup.component.d.ts +16 -0
- package/lib/atoms/angular-popup/angular-popup.module.d.ts +11 -0
- package/lib/atoms/atoms.module.d.ts +38 -0
- package/lib/atoms/avatar/avatar.component.d.ts +21 -0
- package/lib/atoms/avatar/avatar.module.d.ts +10 -0
- package/lib/atoms/breadcrumb/breadcrumb.component.d.ts +18 -0
- package/lib/atoms/breadcrumb/breadcrumb.module.d.ts +12 -0
- package/lib/atoms/button/button.component.d.ts +26 -0
- package/lib/atoms/button/button.module.d.ts +11 -0
- package/lib/atoms/button-group/button-group.component.d.ts +21 -0
- package/lib/atoms/button-group/button-group.module.d.ts +11 -0
- package/lib/atoms/checkbox/checkbox.component.d.ts +20 -0
- package/lib/atoms/checkbox/checkbox.module.d.ts +11 -0
- package/lib/atoms/clipboard/clipboard.component.d.ts +33 -0
- package/lib/atoms/clipboard/clipboard.module.d.ts +11 -0
- package/lib/atoms/container/container.component.d.ts +12 -0
- package/lib/atoms/container/container.module.d.ts +8 -0
- package/lib/atoms/dropdown/dropdown.component.d.ts +38 -0
- package/lib/atoms/dropdown/dropdown.module.d.ts +11 -0
- package/lib/atoms/dropdowntree/dropdowntree.component.d.ts +36 -0
- package/lib/atoms/dropdowntree/dropdowntree.module.d.ts +12 -0
- package/lib/atoms/expansion-panel/expansion-panel.component.d.ts +16 -0
- package/lib/atoms/expansion-panel/expansion-panel.module.d.ts +17 -0
- package/lib/atoms/icon/icon.component.d.ts +13 -0
- package/lib/atoms/icon/icon.module.d.ts +7 -0
- package/lib/atoms/label/label.component.d.ts +14 -0
- package/lib/atoms/label/label.module.d.ts +10 -0
- package/lib/atoms/loading-spinner/loading-spinner.component.d.ts +13 -0
- package/lib/atoms/loading-spinner/loading-spinner.module.d.ts +8 -0
- package/lib/atoms/multi-select-dropdown/multi-select-dropdown.component.d.ts +37 -0
- package/lib/atoms/multi-select-dropdown/multi-select-dropdown.module.d.ts +11 -0
- package/lib/atoms/notification/notification.component.d.ts +24 -0
- package/lib/atoms/notification/notification.module.d.ts +8 -0
- package/lib/atoms/numeric-textbox/numeric-textbox.component.d.ts +30 -0
- package/lib/atoms/numeric-textbox/numeric-textbox.module.d.ts +10 -0
- package/lib/atoms/progress-bar/progress-bar.component.d.ts +11 -0
- package/lib/atoms/progress-bar/progress-bar.module.d.ts +8 -0
- package/lib/atoms/radio-button/radio-button.component.d.ts +21 -0
- package/lib/atoms/radio-button/radio-button.module.d.ts +11 -0
- package/lib/atoms/report-summary/report-summary.component.d.ts +23 -0
- package/lib/atoms/report-summary/report-summary.module.d.ts +8 -0
- package/lib/atoms/search-box/search-box.component.d.ts +37 -0
- package/lib/atoms/search-box/search-box.module.d.ts +12 -0
- package/lib/atoms/slider/slider.component.d.ts +18 -0
- package/lib/atoms/slider/slider.module.d.ts +9 -0
- package/lib/atoms/text-area/text-area.component.d.ts +20 -0
- package/lib/atoms/text-area/text-area.module.d.ts +10 -0
- package/lib/atoms/textbox/textbox.component.d.ts +34 -0
- package/lib/atoms/textbox/textbox.module.d.ts +11 -0
- package/lib/atoms/timescheduler/timescheduler.component.d.ts +23 -0
- package/lib/atoms/timescheduler/timescheduler.module.d.ts +10 -0
- package/lib/atoms/toast-notification/toast-notification.module.d.ts +8 -0
- package/lib/atoms/toast-notification/toast-notification.service.d.ts +28 -0
- package/lib/atoms/tooltip/tooltip.component.d.ts +17 -0
- package/lib/atoms/tooltip/tooltip.module.d.ts +8 -0
- package/lib/atoms/typography/TypographyType.d.ts +1 -0
- package/lib/atoms/typography/typography.component.d.ts +24 -0
- package/lib/atoms/typography/typography.module.d.ts +8 -0
- package/lib/molecules/card/card-actions/card-actions.component.d.ts +11 -0
- package/lib/molecules/card/card-body/card-body.component.d.ts +8 -0
- package/lib/molecules/card/card-footer/card-footer.component.d.ts +8 -0
- package/lib/molecules/card/card-header/card-header.component.d.ts +14 -0
- package/lib/molecules/card/card.component.d.ts +9 -0
- package/lib/molecules/card/card.module.d.ts +14 -0
- package/lib/molecules/dialog/dialog-actions/dialog-actions.component.d.ts +10 -0
- package/lib/molecules/dialog/dialog-titlebar/dialog-titlebar.component.d.ts +17 -0
- package/lib/molecules/dialog/dialog.component.d.ts +21 -0
- package/lib/molecules/dialog/dialog.module.d.ts +13 -0
- package/lib/molecules/grid/grid-form/grid-form.component.d.ts +34 -0
- package/lib/molecules/grid/grid-spacer/grid-spacer.component.d.ts +8 -0
- package/lib/molecules/grid/grid.component.d.ts +71 -0
- package/lib/molecules/grid/grid.module.d.ts +19 -0
- package/lib/molecules/grid-layout/grid-layout-item/grid-layout-item.component.d.ts +15 -0
- package/lib/molecules/grid-layout/grid-layout.component.d.ts +14 -0
- package/lib/molecules/grid-layout/grid-layout.module.d.ts +10 -0
- package/lib/molecules/grid-pagination/grid-pagination-spacer/grid-pagination-spacer.component.d.ts +8 -0
- package/lib/molecules/grid-pagination/grid-pagination.component.d.ts +90 -0
- package/lib/molecules/grid-pagination/grid-pagination.module.d.ts +19 -0
- package/lib/molecules/grid-pagination/kebab-menu-filter.pipe.d.ts +7 -0
- package/lib/molecules/molecules.module.d.ts +15 -0
- package/lib/molecules/sidebar/layout/layout.model.d.ts +20 -0
- package/lib/molecules/sidebar/sidebar.component.d.ts +14 -0
- package/lib/molecules/sidebar/sidebar.module.d.ts +10 -0
- package/lib/molecules/tabstrip/tabstrip-tab/tabstrip-tab.component.d.ts +10 -0
- package/lib/molecules/tabstrip/tabstrip.component.d.ts +15 -0
- package/lib/molecules/tabstrip/tabstrip.module.d.ts +10 -0
- package/lib/shared.component.d.ts +10 -0
- package/lib/shared.module.d.ts +11 -0
- package/lib/shared.service.d.ts +6 -0
- package/lib/style-tokens/style-tokens.module.d.ts +7 -0
- package/package.json +55 -0
- package/public-api.d.ts +91 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActionsLayout } from '@progress/kendo-angular-dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DialogActionsComponent implements OnInit {
|
|
5
|
+
buttonLayout: ActionsLayout;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogActionsComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogActionsComponent, "lib-dialog-actions", never, { "buttonLayout": { "alias": "buttonLayout"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DialogComponent } from '../dialog.component';
|
|
3
|
+
import { TypographyType } from '../../../atoms/typography/TypographyType';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DialogTitlebarComponent implements OnInit {
|
|
6
|
+
dialogComponent: DialogComponent;
|
|
7
|
+
title: string;
|
|
8
|
+
titleFont: TypographyType;
|
|
9
|
+
closeDialog: EventEmitter<any>;
|
|
10
|
+
hideCloseIcon: boolean;
|
|
11
|
+
constructor(dialogComponent: DialogComponent);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
close(): void;
|
|
14
|
+
closeBtn(): "dialog-title" | undefined;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogTitlebarComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogTitlebarComponent, "lib-dialog-titlebar", never, { "title": { "alias": "title"; "required": false; }; "titleFont": { "alias": "titleFont"; "required": false; }; "hideCloseIcon": { "alias": "hideCloseIcon"; "required": false; }; }, { "closeDialog": "closeDialog"; }, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DialogComponent implements OnInit {
|
|
4
|
+
private elt;
|
|
5
|
+
private ref;
|
|
6
|
+
private renderer;
|
|
7
|
+
contentRef: ElementRef | undefined;
|
|
8
|
+
dialogRef: ElementRef | undefined;
|
|
9
|
+
width: string | number;
|
|
10
|
+
height: string | number;
|
|
11
|
+
minWidth: string | number;
|
|
12
|
+
maxWidth: string | number;
|
|
13
|
+
minHeight: string | number;
|
|
14
|
+
maxHeight: string | number;
|
|
15
|
+
opened: true | false;
|
|
16
|
+
constructor(elt: ElementRef, ref: ChangeDetectorRef, renderer: Renderer2);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "lib-dialog", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dialog.component";
|
|
3
|
+
import * as i2 from "./dialog-titlebar/dialog-titlebar.component";
|
|
4
|
+
import * as i3 from "./dialog-actions/dialog-actions.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@progress/kendo-angular-dialog";
|
|
7
|
+
import * as i6 from "@progress/kendo-angular-buttons";
|
|
8
|
+
import * as i7 from "../../atoms/typography/typography.module";
|
|
9
|
+
export declare class DialogModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, [typeof i1.DialogComponent, typeof i2.DialogTitlebarComponent, typeof i3.DialogActionsComponent], [typeof i4.CommonModule, typeof i5.DialogsModule, typeof i6.ButtonsModule, typeof i7.TypographyModule], [typeof i1.DialogComponent, typeof i2.DialogTitlebarComponent, typeof i3.DialogActionsComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, Renderer2, TemplateRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { AddEvent, CancelEvent, EditEvent, RemoveEvent, SaveEvent } from '@progress/kendo-angular-grid';
|
|
4
|
+
import { State } from '@progress/kendo-data-query';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GridFormComponent implements OnInit {
|
|
7
|
+
private renderer;
|
|
8
|
+
showToolbar: boolean;
|
|
9
|
+
noRecordsContent: string;
|
|
10
|
+
showColumns: boolean;
|
|
11
|
+
formGroup: FormGroup | any;
|
|
12
|
+
templateRef1: TemplateRef<any> | null;
|
|
13
|
+
templateRef2: TemplateRef<any> | null;
|
|
14
|
+
gridData: any[];
|
|
15
|
+
columnData: any[];
|
|
16
|
+
controls: any;
|
|
17
|
+
counter: number;
|
|
18
|
+
addOrUpdateRow: EventEmitter<any>;
|
|
19
|
+
deletedRow: EventEmitter<any>;
|
|
20
|
+
private editedRowIndex;
|
|
21
|
+
removeRow: EventEmitter<any>;
|
|
22
|
+
saveRow: EventEmitter<any>;
|
|
23
|
+
constructor(renderer: Renderer2);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
onStateChange(state: State): void;
|
|
26
|
+
addHandler(args: AddEvent): void;
|
|
27
|
+
editHandler(args: EditEvent): void;
|
|
28
|
+
cancelHandler(args: CancelEvent): void;
|
|
29
|
+
saveHandler({ sender, rowIndex, formGroup, isNew }: SaveEvent): void;
|
|
30
|
+
removeHandler(args: RemoveEvent): void;
|
|
31
|
+
private closeEditor;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridFormComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridFormComponent, "lib-grid-form", never, { "showToolbar": { "alias": "showToolbar"; "required": false; }; "noRecordsContent": { "alias": "noRecordsContent"; "required": false; }; "gridData": { "alias": "gridData"; "required": false; }; "columnData": { "alias": "columnData"; "required": false; }; "controls": { "alias": "controls"; "required": false; }; }, { "addOrUpdateRow": "addOrUpdateRow"; "deletedRow": "deletedRow"; "removeRow": "removeRow"; "saveRow": "saveRow"; }, ["templateRef1", "templateRef2"], ["header", "div.header-add-btn"], false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GridSpacerComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridSpacerComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridSpacerComponent, "lib-grid-spacer", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { AfterContentInit, AfterViewInit, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { SelectableSettings, SelectableMode, CellClickEvent, GridComponent } from '@progress/kendo-angular-grid';
|
|
3
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LibGridComponent implements AfterContentInit, OnChanges, AfterViewInit {
|
|
6
|
+
templateRef: TemplateRef<any> | null;
|
|
7
|
+
detailTemplate: TemplateRef<any> | null;
|
|
8
|
+
impactColumn: TemplateRef<any> | null;
|
|
9
|
+
grid: GridComponent;
|
|
10
|
+
gridData: any;
|
|
11
|
+
columnData: any;
|
|
12
|
+
pageSize: number;
|
|
13
|
+
pageable: boolean;
|
|
14
|
+
sortable: boolean;
|
|
15
|
+
groupable: boolean;
|
|
16
|
+
reorderable: boolean;
|
|
17
|
+
resizable: boolean;
|
|
18
|
+
checkBoxWidth: number;
|
|
19
|
+
checkBoxColumnResizable: boolean;
|
|
20
|
+
checkBoxColumnMenu: boolean;
|
|
21
|
+
checkBoxColumnShowSelectedAll: boolean;
|
|
22
|
+
checkBoxRequired: boolean;
|
|
23
|
+
columnMenu: boolean;
|
|
24
|
+
mode: SelectableMode | undefined;
|
|
25
|
+
checkboxOnly: boolean;
|
|
26
|
+
dragColumns: boolean;
|
|
27
|
+
navigable: boolean;
|
|
28
|
+
height: number;
|
|
29
|
+
gridRowSelectByValue: string;
|
|
30
|
+
noRecordsContent: string;
|
|
31
|
+
selectedRowData: EventEmitter<any[]>;
|
|
32
|
+
showToolbar: boolean;
|
|
33
|
+
extractDataItems: any;
|
|
34
|
+
selectableSettings: SelectableSettings;
|
|
35
|
+
kebabList: any;
|
|
36
|
+
showKebab: boolean;
|
|
37
|
+
rowDetails: EventEmitter<any[]>;
|
|
38
|
+
kebabItemClick: EventEmitter<any>;
|
|
39
|
+
icon: SVGIcon;
|
|
40
|
+
kebabColumnWidth: number;
|
|
41
|
+
data: any;
|
|
42
|
+
rowDataOfClickedCell: EventEmitter<any>;
|
|
43
|
+
preSelected: any[];
|
|
44
|
+
preSelectedRecords: any[];
|
|
45
|
+
ignoreColumnCellClick: number[];
|
|
46
|
+
allowColumnClick: boolean;
|
|
47
|
+
arrowDownIcon: SVGIcon;
|
|
48
|
+
arrowUpIcon: SVGIcon;
|
|
49
|
+
expandRowIndex: number[];
|
|
50
|
+
customExpandRowColumn: boolean;
|
|
51
|
+
deleteIcon: SVGIcon;
|
|
52
|
+
deleteColumnWidth: number;
|
|
53
|
+
expandRowColumnWidth: number;
|
|
54
|
+
deletedRowData: EventEmitter<any>;
|
|
55
|
+
expandRows: boolean;
|
|
56
|
+
showDeleteColumn: boolean;
|
|
57
|
+
constructor();
|
|
58
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
59
|
+
ngAfterContentInit(): void;
|
|
60
|
+
ngAfterViewInit(): void;
|
|
61
|
+
setSelectableSettings(): void;
|
|
62
|
+
onSelectionChange(args: any): any;
|
|
63
|
+
onKebabClick(item: any, rowDetails: any): void;
|
|
64
|
+
onDetailExpand(rowData: any): void;
|
|
65
|
+
cellClickHandler(args: CellClickEvent): void;
|
|
66
|
+
expandRow(id: number): void;
|
|
67
|
+
collapseRow(id: number): void;
|
|
68
|
+
onDelete(rowDetails: any): void;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibGridComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibGridComponent, "lib-grid", never, { "gridData": { "alias": "gridData"; "required": false; }; "columnData": { "alias": "columnData"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "groupable": { "alias": "groupable"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "checkBoxWidth": { "alias": "checkBoxWidth"; "required": false; }; "checkBoxColumnResizable": { "alias": "checkBoxColumnResizable"; "required": false; }; "checkBoxColumnMenu": { "alias": "checkBoxColumnMenu"; "required": false; }; "checkBoxColumnShowSelectedAll": { "alias": "checkBoxColumnShowSelectedAll"; "required": false; }; "checkBoxRequired": { "alias": "checkBoxRequired"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "checkboxOnly": { "alias": "checkboxOnly"; "required": false; }; "dragColumns": { "alias": "dragColumns"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "height": { "alias": "height"; "required": false; }; "gridRowSelectByValue": { "alias": "gridRowSelectByValue"; "required": false; }; "noRecordsContent": { "alias": "noRecordsContent"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "kebabList": { "alias": "kebabList"; "required": false; }; "showKebab": { "alias": "showKebab"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "kebabColumnWidth": { "alias": "kebabColumnWidth"; "required": false; }; "preSelected": { "alias": "preSelected"; "required": false; }; "ignoreColumnCellClick": { "alias": "ignoreColumnCellClick"; "required": false; }; "allowColumnClick": { "alias": "allowColumnClick"; "required": false; }; "expandRowIndex": { "alias": "expandRowIndex"; "required": false; }; "customExpandRowColumn": { "alias": "customExpandRowColumn"; "required": false; }; "deleteColumnWidth": { "alias": "deleteColumnWidth"; "required": false; }; "expandRowColumnWidth": { "alias": "expandRowColumnWidth"; "required": false; }; "expandRows": { "alias": "expandRows"; "required": false; }; "showDeleteColumn": { "alias": "showDeleteColumn"; "required": false; }; }, { "selectedRowData": "selectedRowData"; "rowDetails": "rowDetails"; "kebabItemClick": "kebabItemClick"; "rowDataOfClickedCell": "rowDataOfClickedCell"; "deletedRowData": "deletedRowData"; }, ["templateRef", "detailTemplate", "impactColumn"], ["*"], false, never>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./grid.component";
|
|
3
|
+
import * as i2 from "./grid-spacer/grid-spacer.component";
|
|
4
|
+
import * as i3 from "./grid-form/grid-form.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@progress/kendo-angular-buttons";
|
|
7
|
+
import * as i6 from "../../atoms/icon/icon.module";
|
|
8
|
+
import * as i7 from "@progress/kendo-angular-icons";
|
|
9
|
+
import * as i8 from "@progress/kendo-angular-inputs";
|
|
10
|
+
import * as i9 from "@progress/kendo-angular-grid";
|
|
11
|
+
import * as i10 from "@progress/kendo-angular-dialog";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
import * as i12 from "../../atoms/tooltip/tooltip.module";
|
|
14
|
+
import * as i13 from "../../atoms/typography/typography.module";
|
|
15
|
+
export declare class GridsModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridsModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GridsModule, [typeof i1.LibGridComponent, typeof i2.GridSpacerComponent, typeof i3.GridFormComponent], [typeof i4.CommonModule, typeof i5.ButtonsModule, typeof i6.IconModule, typeof i7.IconsModule, typeof i8.InputsModule, typeof i9.GridModule, typeof i10.DialogModule, typeof i11.FormsModule, typeof i12.TooltipModule, typeof i11.ReactiveFormsModule, typeof i13.TypographyModule], [typeof i1.LibGridComponent, typeof i2.GridSpacerComponent, typeof i3.GridFormComponent]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GridsModule>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GridLayoutItemComponent implements OnInit, AfterViewInit {
|
|
4
|
+
private renderer;
|
|
5
|
+
private elRef;
|
|
6
|
+
rowNumber: number;
|
|
7
|
+
columnNumber: number;
|
|
8
|
+
rowSpan: number;
|
|
9
|
+
colSpan: number;
|
|
10
|
+
constructor(renderer: Renderer2, elRef: ElementRef);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridLayoutItemComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridLayoutItemComponent, "lib-grid-layout-item", never, { "rowNumber": { "alias": "rowNumber"; "required": false; }; "columnNumber": { "alias": "columnNumber"; "required": false; }; "rowSpan": { "alias": "rowSpan"; "required": false; }; "colSpan": { "alias": "colSpan"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GridLayoutComponent implements OnInit {
|
|
4
|
+
horizontalAlign: "start" | "center" | "end" | "stretch";
|
|
5
|
+
verticalAlign: "top" | "middle" | "bottom" | "stretch";
|
|
6
|
+
rowGap: string | number;
|
|
7
|
+
columnGap: string | number;
|
|
8
|
+
rows: any[];
|
|
9
|
+
columns: any[];
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridLayoutComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridLayoutComponent, "lib-grid-layout", never, { "horizontalAlign": { "alias": "horizontalAlign"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; "rowGap": { "alias": "rowGap"; "required": false; }; "columnGap": { "alias": "columnGap"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./grid-layout.component";
|
|
3
|
+
import * as i2 from "./grid-layout-item/grid-layout-item.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@progress/kendo-angular-layout";
|
|
6
|
+
export declare class GridLayoutModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridLayoutModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GridLayoutModule, [typeof i1.GridLayoutComponent, typeof i2.GridLayoutItemComponent], [typeof i3.CommonModule, typeof i4.LayoutModule], [typeof i1.GridLayoutComponent, typeof i2.GridLayoutItemComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GridLayoutModule>;
|
|
10
|
+
}
|
package/lib/molecules/grid-pagination/grid-pagination-spacer/grid-pagination-spacer.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GridPaginationSpacerComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridPaginationSpacerComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridPaginationSpacerComponent, "lib-grid-pagination-spacer", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { SelectableSettings, SelectableMode, CellClickEvent, GridComponent, GridDataResult, PageChangeEvent } from '@progress/kendo-angular-grid';
|
|
3
|
+
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
4
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GridPaginationComponent implements OnInit, AfterContentInit, OnChanges, AfterViewInit {
|
|
7
|
+
templateRef: TemplateRef<any> | null;
|
|
8
|
+
detailTemplate: TemplateRef<any> | null;
|
|
9
|
+
impactColumn: TemplateRef<any> | null;
|
|
10
|
+
grid: GridComponent;
|
|
11
|
+
gridElement: ElementRef;
|
|
12
|
+
gridView: GridDataResult;
|
|
13
|
+
skip: number;
|
|
14
|
+
columnData: any;
|
|
15
|
+
pageSize: number;
|
|
16
|
+
pageable: boolean;
|
|
17
|
+
sortable: boolean;
|
|
18
|
+
groupable: boolean;
|
|
19
|
+
reorderable: boolean;
|
|
20
|
+
resizable: boolean;
|
|
21
|
+
checkBoxWidth: number;
|
|
22
|
+
checkBoxColumnResizable: boolean;
|
|
23
|
+
checkBoxColumnMenu: boolean;
|
|
24
|
+
checkBoxColumnShowSelectedAll: boolean;
|
|
25
|
+
checkBoxRequired: boolean;
|
|
26
|
+
columnMenu: boolean;
|
|
27
|
+
mode: SelectableMode | undefined;
|
|
28
|
+
checkboxOnly: boolean;
|
|
29
|
+
dragColumns: boolean;
|
|
30
|
+
navigable: boolean;
|
|
31
|
+
height: any;
|
|
32
|
+
gridRowSelectByValue: string;
|
|
33
|
+
noRecordsContent: string;
|
|
34
|
+
selectedRowData: EventEmitter<any[]>;
|
|
35
|
+
showToolbar: boolean;
|
|
36
|
+
extractDataItems: any;
|
|
37
|
+
selectableSettings: SelectableSettings;
|
|
38
|
+
kebabList: any;
|
|
39
|
+
showKebab: boolean;
|
|
40
|
+
rowDetails: EventEmitter<any[]>;
|
|
41
|
+
kebabItemClick: EventEmitter<any>;
|
|
42
|
+
icon: SVGIcon;
|
|
43
|
+
kebabColumnWidth: number;
|
|
44
|
+
data: any;
|
|
45
|
+
selectColumn: string;
|
|
46
|
+
rowDataOfClickedCell: EventEmitter<any>;
|
|
47
|
+
preSelected: any[];
|
|
48
|
+
preSelectedRecords: any[];
|
|
49
|
+
onPageChange: EventEmitter<any>;
|
|
50
|
+
ignoreColumnCellClick: number[];
|
|
51
|
+
allowColumnClick: boolean;
|
|
52
|
+
sort: SortDescriptor[];
|
|
53
|
+
hasApiSorting: boolean;
|
|
54
|
+
sortDirection: EventEmitter<any>;
|
|
55
|
+
arrowDownIcon: SVGIcon;
|
|
56
|
+
arrowUpIcon: SVGIcon;
|
|
57
|
+
expandRowIndex: number[];
|
|
58
|
+
customExpandRowColumn: boolean;
|
|
59
|
+
deleteColumnWidth: number;
|
|
60
|
+
expandRowColumnWidth: number;
|
|
61
|
+
deletedRowData: EventEmitter<any>;
|
|
62
|
+
sizes: any[];
|
|
63
|
+
pageCount: number;
|
|
64
|
+
showDeleteColumn: boolean;
|
|
65
|
+
hideKebabRowIndex: number[];
|
|
66
|
+
initialGridHeight: any;
|
|
67
|
+
gridBottomSpace: number;
|
|
68
|
+
resizeHeight: any;
|
|
69
|
+
constructor();
|
|
70
|
+
ngOnInit(): void;
|
|
71
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
72
|
+
ngAfterContentInit(): void;
|
|
73
|
+
ngAfterViewInit(): void;
|
|
74
|
+
pageChange(event: PageChangeEvent): void;
|
|
75
|
+
setSelectableSettings(): void;
|
|
76
|
+
onSelectionChange(args: any): any;
|
|
77
|
+
onKebabClick(item: any, rowDetails: any): void;
|
|
78
|
+
onDetailExpand(rowData: any): void;
|
|
79
|
+
cellClickHandler(args: CellClickEvent): void;
|
|
80
|
+
sortChange(sort: SortDescriptor[]): void;
|
|
81
|
+
loadGridData(): void;
|
|
82
|
+
expandRow(id: number): void;
|
|
83
|
+
collapseRow(id: number): void;
|
|
84
|
+
onDelete(rowDetails: any): void;
|
|
85
|
+
getHeaderHeight(): "hide-header" | "view-header";
|
|
86
|
+
getGridHeight(): void;
|
|
87
|
+
resize(ev: any): void;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridPaginationComponent, never>;
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridPaginationComponent, "lib-grid-pagination", never, { "gridView": { "alias": "gridView"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "columnData": { "alias": "columnData"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "groupable": { "alias": "groupable"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "checkBoxWidth": { "alias": "checkBoxWidth"; "required": false; }; "checkBoxColumnResizable": { "alias": "checkBoxColumnResizable"; "required": false; }; "checkBoxColumnMenu": { "alias": "checkBoxColumnMenu"; "required": false; }; "checkBoxColumnShowSelectedAll": { "alias": "checkBoxColumnShowSelectedAll"; "required": false; }; "checkBoxRequired": { "alias": "checkBoxRequired"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "checkboxOnly": { "alias": "checkboxOnly"; "required": false; }; "dragColumns": { "alias": "dragColumns"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "gridRowSelectByValue": { "alias": "gridRowSelectByValue"; "required": false; }; "noRecordsContent": { "alias": "noRecordsContent"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "kebabList": { "alias": "kebabList"; "required": false; }; "showKebab": { "alias": "showKebab"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "kebabColumnWidth": { "alias": "kebabColumnWidth"; "required": false; }; "selectColumn": { "alias": "selectColumn"; "required": false; }; "preSelected": { "alias": "preSelected"; "required": false; }; "ignoreColumnCellClick": { "alias": "ignoreColumnCellClick"; "required": false; }; "allowColumnClick": { "alias": "allowColumnClick"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "hasApiSorting": { "alias": "hasApiSorting"; "required": false; }; "expandRowIndex": { "alias": "expandRowIndex"; "required": false; }; "customExpandRowColumn": { "alias": "customExpandRowColumn"; "required": false; }; "deleteColumnWidth": { "alias": "deleteColumnWidth"; "required": false; }; "expandRowColumnWidth": { "alias": "expandRowColumnWidth"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "pageCount": { "alias": "pageCount"; "required": false; }; "showDeleteColumn": { "alias": "showDeleteColumn"; "required": false; }; "hideKebabRowIndex": { "alias": "hideKebabRowIndex"; "required": false; }; }, { "selectedRowData": "selectedRowData"; "rowDetails": "rowDetails"; "kebabItemClick": "kebabItemClick"; "rowDataOfClickedCell": "rowDataOfClickedCell"; "onPageChange": "onPageChange"; "sortDirection": "sortDirection"; "deletedRowData": "deletedRowData"; }, ["templateRef", "detailTemplate", "impactColumn"], ["*"], false, never>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./grid-pagination.component";
|
|
3
|
+
import * as i2 from "./grid-pagination-spacer/grid-pagination-spacer.component";
|
|
4
|
+
import * as i3 from "./kebab-menu-filter.pipe";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@progress/kendo-angular-buttons";
|
|
7
|
+
import * as i6 from "../../atoms/icon/icon.module";
|
|
8
|
+
import * as i7 from "@progress/kendo-angular-icons";
|
|
9
|
+
import * as i8 from "@progress/kendo-angular-inputs";
|
|
10
|
+
import * as i9 from "@progress/kendo-angular-grid";
|
|
11
|
+
import * as i10 from "@progress/kendo-angular-dialog";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
import * as i12 from "../../atoms/tooltip/tooltip.module";
|
|
14
|
+
import * as i13 from "../../atoms/typography/typography.module";
|
|
15
|
+
export declare class GridPaginationModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridPaginationModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GridPaginationModule, [typeof i1.GridPaginationComponent, typeof i2.GridPaginationSpacerComponent, typeof i2.GridPaginationSpacerComponent, typeof i3.KebabMenuFilterPipe], [typeof i4.CommonModule, typeof i5.ButtonsModule, typeof i6.IconModule, typeof i7.IconsModule, typeof i8.InputsModule, typeof i9.GridModule, typeof i10.DialogModule, typeof i11.FormsModule, typeof i12.TooltipModule, typeof i11.ReactiveFormsModule, typeof i13.TypographyModule], [typeof i1.GridPaginationComponent, typeof i2.GridPaginationSpacerComponent]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GridPaginationModule>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KebabMenuFilterPipe implements PipeTransform {
|
|
4
|
+
transform(menu: any, ...args: any[]): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KebabMenuFilterPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KebabMenuFilterPipe, "kebabMenuFilter", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./card/card.module";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "./dialog/dialog.module";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "./grid/grid.module";
|
|
7
|
+
import * as i6 from "./grid-layout/grid-layout.module";
|
|
8
|
+
import * as i7 from "./grid-pagination/grid-pagination.module";
|
|
9
|
+
import * as i8 from "./sidebar/sidebar.module";
|
|
10
|
+
import * as i9 from "./tabstrip/tabstrip.module";
|
|
11
|
+
export declare class MoleculesModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MoleculesModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MoleculesModule, never, [typeof i1.CardModule, typeof i2.CommonModule, typeof i3.DialogModule, typeof i4.FormsModule, typeof i5.GridsModule, typeof i6.GridLayoutModule, typeof i7.GridPaginationModule, typeof i4.ReactiveFormsModule, typeof i8.SidebarModule, typeof i9.TabstripModule], [typeof i1.CardModule, typeof i3.DialogModule, typeof i5.GridsModule, typeof i6.GridLayoutModule, typeof i7.GridPaginationModule, typeof i8.SidebarModule, typeof i9.TabstripModule]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MoleculesModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface MenuItem {
|
|
2
|
+
name: string;
|
|
3
|
+
route: string;
|
|
4
|
+
active: boolean;
|
|
5
|
+
authorized?: boolean;
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
openInNewPage?: boolean;
|
|
8
|
+
icon?: string;
|
|
9
|
+
submenus?: MenuItem[];
|
|
10
|
+
fontClassType?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface TopMenuItem {
|
|
13
|
+
menu_items: MenuItem[];
|
|
14
|
+
}
|
|
15
|
+
export interface SideMenuItem {
|
|
16
|
+
menu_items: MenuItem[];
|
|
17
|
+
}
|
|
18
|
+
export interface OnlySideMenuItem {
|
|
19
|
+
menu_items: MenuItem[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MenuItem } from './layout/layout.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SidebarComponent implements OnInit {
|
|
5
|
+
isSidebarOpen: boolean;
|
|
6
|
+
sideNavbarMenus: MenuItem[];
|
|
7
|
+
routeSideNavItem: EventEmitter<any>;
|
|
8
|
+
onlySidenavFeatureFlagOn: boolean;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
selectSidenav(event: Event, selectedMenu: MenuItem): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "lib-sidebar", never, { "isSidebarOpen": { "alias": "isSidebarOpen"; "required": false; }; "sideNavbarMenus": { "alias": "sideNavbarMenus"; "required": false; }; }, { "routeSideNavItem": "routeSideNavItem"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sidebar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../atoms/typography/typography.module";
|
|
5
|
+
import * as i4 from "../../atoms/tooltip/tooltip.module";
|
|
6
|
+
export declare class SidebarModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SidebarModule, [typeof i1.SidebarComponent], [typeof i2.CommonModule, typeof i3.TypographyModule, typeof i4.TooltipModule], [typeof i1.SidebarComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SidebarModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabstripTabComponent {
|
|
4
|
+
title: string | null;
|
|
5
|
+
customHeader: boolean;
|
|
6
|
+
titleRef: TemplateRef<any>;
|
|
7
|
+
contentRef: TemplateRef<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabstripTabComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabstripTabComponent, "lib-tabstrip-tab", never, { "title": { "alias": "title"; "required": false; }; "customHeader": { "alias": "customHeader"; "required": false; }; }, {}, ["titleRef", "contentRef"], ["*"], false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { QueryList, EventEmitter } from '@angular/core';
|
|
2
|
+
import { SelectEvent, TabAlignment, TabPosition } from "@progress/kendo-angular-layout";
|
|
3
|
+
import { TabstripTabComponent } from './tabstrip-tab/tabstrip-tab.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TabstripComponent {
|
|
6
|
+
height: string;
|
|
7
|
+
alignment: TabAlignment;
|
|
8
|
+
position: TabPosition;
|
|
9
|
+
onTabSelect: EventEmitter<any>;
|
|
10
|
+
selectedTab: number;
|
|
11
|
+
tabstripTabComponents: QueryList<TabstripTabComponent>;
|
|
12
|
+
onTabSelectEvent(e: SelectEvent): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabstripComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabstripComponent, "lib-tabstrip", never, { "height": { "alias": "height"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "position": { "alias": "position"; "required": false; }; "selectedTab": { "alias": "selectedTab"; "required": false; }; }, { "onTabSelect": "onTabSelect"; }, ["tabstripTabComponents"], never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tabstrip.component";
|
|
3
|
+
import * as i2 from "./tabstrip-tab/tabstrip-tab.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@progress/kendo-angular-layout";
|
|
6
|
+
export declare class TabstripModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabstripModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TabstripModule, [typeof i1.TabstripComponent, typeof i2.TabstripTabComponent], [typeof i3.CommonModule, typeof i4.LayoutModule], [typeof i1.TabstripComponent, typeof i2.TabstripTabComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TabstripModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ThemesService } from '@progress-chef/platform-themes-service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SharedComponent implements OnInit {
|
|
5
|
+
private themesService;
|
|
6
|
+
constructor(themesService: ThemesService);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SharedComponent, "lib-shared", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./shared.component";
|
|
3
|
+
import * as i2 from "./atoms/atoms.module";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "./molecules/molecules.module";
|
|
6
|
+
import * as i5 from "@progress-chef/platform-themes-service";
|
|
7
|
+
export declare class SharedModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.SharedComponent], [typeof i2.AtomsModule, typeof i3.CommonModule, typeof i4.MoleculesModule, typeof i5.ThemesModule], [typeof i1.SharedComponent, typeof i2.AtomsModule, typeof i4.MoleculesModule]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
export declare class StyleTokensModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StyleTokensModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StyleTokensModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StyleTokensModule>;
|
|
7
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@progress-chef/platform-shared-components",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^16.2.12",
|
|
6
|
+
"@angular/core": "^16.2.12",
|
|
7
|
+
"@angular/localize": "^16.2.12"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"bootstrap": "5.2.1",
|
|
11
|
+
"@progress-chef/platform-themes-service": "^0.0.2",
|
|
12
|
+
"@progress/kendo-angular-buttons": "^14.2.0",
|
|
13
|
+
"@progress/kendo-angular-common": "^14.2.0",
|
|
14
|
+
"@progress/kendo-angular-dialog": "^14.2.0",
|
|
15
|
+
"@progress/kendo-angular-dateinputs": "^14.2.0",
|
|
16
|
+
"@progress/kendo-angular-dropdowns": "^14.2.0",
|
|
17
|
+
"@progress/kendo-angular-icons": "^14.2.0",
|
|
18
|
+
"@progress/kendo-angular-indicators": "^14.2.0",
|
|
19
|
+
"@progress/kendo-angular-inputs": "^14.2.0",
|
|
20
|
+
"@progress/kendo-angular-intl": "^14.2.0",
|
|
21
|
+
"@progress/kendo-angular-l10n": "^14.2.0",
|
|
22
|
+
"@progress/kendo-angular-label": "^14.2.0",
|
|
23
|
+
"@progress/kendo-angular-layout": "^14.2.0",
|
|
24
|
+
"@progress/kendo-angular-navigation": "^14.2.0",
|
|
25
|
+
"@progress/kendo-angular-notification": "^14.2.0",
|
|
26
|
+
"@progress/kendo-angular-popup": "^14.2.0",
|
|
27
|
+
"@progress/kendo-angular-progressbar": "^14.2.0",
|
|
28
|
+
"@progress/kendo-angular-tooltip": "^14.2.0",
|
|
29
|
+
"@progress/kendo-angular-treeview": "^14.2.0",
|
|
30
|
+
"@progress/kendo-angular-utils": "14.2.0",
|
|
31
|
+
"@progress/kendo-data-query": "^1.7.0",
|
|
32
|
+
"@progress/kendo-drawing": "1.19.0",
|
|
33
|
+
"@progress/kendo-licensing": "^1.3.3",
|
|
34
|
+
"@progress/kendo-recurrence": "^1.0.3",
|
|
35
|
+
"@progress/kendo-svg-icons": "^2.0.0",
|
|
36
|
+
"@progress/kendo-angular-grid": "^14.2.0",
|
|
37
|
+
"@progress/kendo-angular-pdf-export": "^14.2.0",
|
|
38
|
+
"@progress/kendo-angular-excel-export": "^14.2.0",
|
|
39
|
+
"tslib": "^2.3.0"
|
|
40
|
+
},
|
|
41
|
+
"module": "fesm2022/progress-chef-platform-shared-components.mjs",
|
|
42
|
+
"typings": "index.d.ts",
|
|
43
|
+
"exports": {
|
|
44
|
+
"./package.json": {
|
|
45
|
+
"default": "./package.json"
|
|
46
|
+
},
|
|
47
|
+
".": {
|
|
48
|
+
"types": "./index.d.ts",
|
|
49
|
+
"esm2022": "./esm2022/progress-chef-platform-shared-components.mjs",
|
|
50
|
+
"esm": "./esm2022/progress-chef-platform-shared-components.mjs",
|
|
51
|
+
"default": "./fesm2022/progress-chef-platform-shared-components.mjs"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"sideEffects": false
|
|
55
|
+
}
|