@ifsworld/granite-components 16.1.2 → 17.0.0
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 +0 -2
- package/carousel/index.d.ts +45 -2
- package/date-picker/index.d.ts +123 -4
- package/fesm2022/ifsworld-granite-components-carousel.mjs +11 -11
- package/fesm2022/ifsworld-granite-components-carousel.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components-date-picker.mjs +40 -53
- package/fesm2022/ifsworld-granite-components-date-picker.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components-file-upload.mjs +10 -10
- package/fesm2022/ifsworld-granite-components-file-upload.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components-table.mjs +29 -29
- package/fesm2022/ifsworld-granite-components-table.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components-tooltip.mjs +23 -24
- package/fesm2022/ifsworld-granite-components-tooltip.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components.mjs +480 -564
- package/fesm2022/ifsworld-granite-components.mjs.map +1 -1
- package/file-upload/index.d.ts +99 -2
- package/index.d.ts +1981 -86
- package/package.json +8 -8
- package/table/index.d.ts +112 -4
- package/tooltip/index.d.ts +50 -3
- package/carousel/lib/carousel.component.d.ts +0 -34
- package/carousel/lib/carousel.module.d.ts +0 -10
- package/date-picker/lib/date-picker-base.d.ts +0 -34
- package/date-picker/lib/date-picker-trigger-for.directive.d.ts +0 -70
- package/date-picker/lib/date-picker.component.d.ts +0 -10
- package/date-picker/lib/date-picker.module.d.ts +0 -15
- package/date-picker/lib/date-range-picker.component.d.ts +0 -12
- package/file-upload/lib/directives/file-drag-and-drop.directive.d.ts +0 -18
- package/file-upload/lib/file-upload.component.d.ts +0 -51
- package/file-upload/lib/file-upload.constants.d.ts +0 -37
- package/file-upload/lib/file-upload.module.d.ts +0 -11
- package/file-upload/lib/file-upload.utils.d.ts +0 -1
- package/lib/arrange-grid/arrange-grid-item.component.d.ts +0 -30
- package/lib/arrange-grid/arrange-grid.component.d.ts +0 -58
- package/lib/arrange-grid/arrange-grid.module.d.ts +0 -9
- package/lib/avatar/avatar-default-status/avatar-default-status.component.d.ts +0 -15
- package/lib/avatar/avatar.component.d.ts +0 -23
- package/lib/avatar/avatar.component.public-types.d.ts +0 -7
- package/lib/avatar/avatar.module.d.ts +0 -11
- package/lib/avatar/custom-avatar-status.directive.d.ts +0 -9
- package/lib/avatar/empty-avatar/empty-avatar.component.d.ts +0 -7
- package/lib/badge/badge.component.d.ts +0 -19
- package/lib/badge/badge.module.d.ts +0 -8
- package/lib/badge/testing/badge.harness.d.ts +0 -21
- package/lib/button/button.component.d.ts +0 -38
- package/lib/button/button.module.d.ts +0 -7
- package/lib/card-list/card/card-avatar.component.d.ts +0 -5
- package/lib/card-list/card/card-content/card-actions.component.d.ts +0 -5
- package/lib/card-list/card/card-content/card-body.component.d.ts +0 -5
- package/lib/card-list/card/card-content/card-content.component.d.ts +0 -5
- package/lib/card-list/card/card-content/card-footer.component.d.ts +0 -5
- package/lib/card-list/card/card-content/card-header-subtitle.component.d.ts +0 -5
- package/lib/card-list/card/card-content/card-header-title.component.d.ts +0 -5
- package/lib/card-list/card/card-content/card-header.component.d.ts +0 -5
- package/lib/card-list/card/card.component.d.ts +0 -5
- package/lib/card-list/card-list.component.d.ts +0 -9
- package/lib/card-list/card-list.module.d.ts +0 -18
- package/lib/checkbox/checkbox-group.component.d.ts +0 -6
- package/lib/checkbox/checkbox.component.d.ts +0 -29
- package/lib/checkbox/checkbox.module.d.ts +0 -8
- package/lib/chips/chip-input.d.ts +0 -89
- package/lib/chips/chip-list.component.d.ts +0 -185
- package/lib/chips/chip.component.d.ts +0 -104
- package/lib/chips/chips.module.d.ts +0 -12
- package/lib/collapsible-group/collapsible-group-body.directive.d.ts +0 -7
- package/lib/collapsible-group/collapsible-group-header.directive.d.ts +0 -7
- package/lib/collapsible-group/collapsible-group.component.d.ts +0 -16
- package/lib/collapsible-group/collapsible-group.module.d.ts +0 -11
- package/lib/contacts/contact-item/contact-item.component.d.ts +0 -11
- package/lib/contacts/contact-item-default-status/contact-item-default-status.component.d.ts +0 -15
- package/lib/contacts/contact-item-title/contact-item-title.component.d.ts +0 -7
- package/lib/contacts/contacts-profile/contacts-profile.component.d.ts +0 -8
- package/lib/contacts/contacts-trigger/contacts-trigger-data.d.ts +0 -23
- package/lib/contacts/contacts-trigger/contacts-trigger-for.directive.d.ts +0 -69
- package/lib/contacts/contacts-types/contacts.component.private-types.d.ts +0 -8
- package/lib/contacts/contacts-types/contacts.component.public-types.d.ts +0 -30
- package/lib/contacts/contacts.component.d.ts +0 -29
- package/lib/contacts/contacts.module.d.ts +0 -17
- package/lib/contacts/custom-profile.directive.d.ts +0 -8
- package/lib/contacts/custom-status.directive.d.ts +0 -9
- package/lib/core/animation.d.ts +0 -23
- package/lib/core/client-environment.d.ts +0 -26
- package/lib/core/common-behaviors/disabled.d.ts +0 -10
- package/lib/core/core.module.d.ts +0 -12
- package/lib/core/devices/client-input-desktop.directive.d.ts +0 -9
- package/lib/core/devices/client-input-touch.directive.d.ts +0 -9
- package/lib/core/devices/client-output-desktop.directive.d.ts +0 -9
- package/lib/core/devices/client-output-touch.directive.d.ts +0 -9
- package/lib/core/hide-on-overflow.directive.d.ts +0 -21
- package/lib/core/overlay-base.d.ts +0 -16
- package/lib/core/overlay-position-config.d.ts +0 -12
- package/lib/core/overlay-trigger-for-base.directive.d.ts +0 -32
- package/lib/core/overlay.service.d.ts +0 -21
- package/lib/core/pipes/pure-pipes.module.d.ts +0 -7
- package/lib/core/pipes/title.pipe.d.ts +0 -7
- package/lib/core/radio-checkbox-base.d.ts +0 -8
- package/lib/core/services/names-utils-service.d.ts +0 -17
- package/lib/core/theme.library.d.ts +0 -38
- package/lib/core/types.d.ts +0 -2
- package/lib/grid/grid.component.d.ts +0 -75
- package/lib/grid/grid.module.d.ts +0 -8
- package/lib/icon/icon.component.d.ts +0 -13
- package/lib/icon/icon.module.d.ts +0 -7
- package/lib/input-field/input-field.component.d.ts +0 -48
- package/lib/input-field/input-field.module.d.ts +0 -10
- package/lib/label/label.component.d.ts +0 -10
- package/lib/label/label.module.d.ts +0 -8
- package/lib/menu/divider.directive.d.ts +0 -6
- package/lib/menu/menu-base.d.ts +0 -219
- package/lib/menu/menu-custom-template.directive.d.ts +0 -14
- package/lib/menu/menu-desktop-animations.d.ts +0 -12
- package/lib/menu/menu-errors.d.ts +0 -24
- package/lib/menu/menu-item.component.d.ts +0 -36
- package/lib/menu/menu-panel.d.ts +0 -23
- package/lib/menu/menu-positions.d.ts +0 -9
- package/lib/menu/menu-touch-animations.d.ts +0 -17
- package/lib/menu/menu-touch-close.component.d.ts +0 -5
- package/lib/menu/menu-touch-title.component.d.ts +0 -14
- package/lib/menu/menu-trigger-for.directive.d.ts +0 -200
- package/lib/menu/menu.component.d.ts +0 -6
- package/lib/menu/menu.module.d.ts +0 -18
- package/lib/menu/testing/menu.harness.d.ts +0 -68
- package/lib/menu/title.directive.d.ts +0 -5
- package/lib/progress-bar/progress-bar-legend/progress-bar-legend.component.d.ts +0 -8
- package/lib/progress-bar/progress-bar-legend-base.d.ts +0 -8
- package/lib/progress-bar/progress-bar-legend-trigger-for.directive.d.ts +0 -18
- package/lib/progress-bar/progress-bar.component.d.ts +0 -28
- package/lib/progress-bar/progress-bar.model.d.ts +0 -11
- package/lib/progress-bar/progress-bar.module.d.ts +0 -14
- package/lib/radio-button/radio-button.component.d.ts +0 -34
- package/lib/radio-button/radio-button.module.d.ts +0 -8
- package/lib/radio-button/radio-group.component.d.ts +0 -6
- package/lib/toggle-switch/toggle-switch.component.d.ts +0 -29
- package/lib/toggle-switch/toggle-switch.module.d.ts +0 -7
- package/table/lib/cell/cell-align/cell-align-classes.directive.d.ts +0 -9
- package/table/lib/cell/cell.d.ts +0 -8
- package/table/lib/cell/table-data-cell.component.d.ts +0 -12
- package/table/lib/cell/table-header-cell.component.d.ts +0 -6
- package/table/lib/column/table-column.directive.d.ts +0 -23
- package/table/lib/column-size/column-size.directive.d.ts +0 -11
- package/table/lib/table-constants.library.d.ts +0 -6
- package/table/lib/table.component.d.ts +0 -26
- package/table/lib/table.model.d.ts +0 -6
- package/table/lib/table.module.d.ts +0 -16
- package/tooltip/lib/Services/granite-tooltip.service.d.ts +0 -10
- package/tooltip/lib/tooltip-constants.library.d.ts +0 -4
- package/tooltip/lib/tooltip-trigger-for.directive.d.ts +0 -39
- package/tooltip/lib/tooltip.component.d.ts +0 -7
- package/tooltip/lib/tooltip.module.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ifsworld/granite-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/cdk": ">=
|
|
7
|
-
"@angular/common": ">=
|
|
8
|
-
"@angular/core": ">=
|
|
9
|
-
"@angular/platform-browser": ">=
|
|
10
|
-
"@angular/animations": ">=
|
|
11
|
-
"@angular/platform-browser-dynamic": ">=
|
|
6
|
+
"@angular/cdk": ">=20.1.7",
|
|
7
|
+
"@angular/common": ">=20.1.7",
|
|
8
|
+
"@angular/core": ">=20.1.7",
|
|
9
|
+
"@angular/platform-browser": ">=20.1.7",
|
|
10
|
+
"@angular/animations": ">=20.1.7",
|
|
11
|
+
"@angular/platform-browser-dynamic": ">=20.1.7",
|
|
12
12
|
"@ifsworld/granite-icons": ">=1.8.4",
|
|
13
13
|
"@ifsworld/token-interfaces": ">=1.0.1",
|
|
14
14
|
"@ifsworld/granite-tokens": ">=6.5.4",
|
|
15
15
|
"rxjs": ">=7.8.1"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"tslib": "2.
|
|
18
|
+
"tslib": "^2.8.1"
|
|
19
19
|
},
|
|
20
20
|
"module": "fesm2022/ifsworld-granite-components.mjs",
|
|
21
21
|
"typings": "index.d.ts",
|
package/table/index.d.ts
CHANGED
|
@@ -1,4 +1,112 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, AfterContentChecked, TrackByFunction, EventEmitter, QueryList, OnChanges } from '@angular/core';
|
|
3
|
+
import * as i7 from '@angular/common';
|
|
4
|
+
import * as i8 from 'primeng/table';
|
|
5
|
+
import * as i9 from '@ifsworld/granite-components';
|
|
6
|
+
import * as i10 from '@angular/cdk/table';
|
|
7
|
+
|
|
8
|
+
type GranitTableColumnAlign = 'start' | 'center' | 'end';
|
|
9
|
+
type GranitTableColumnSize = 'small' | 'medium' | 'large';
|
|
10
|
+
interface GraniteTableColumnInterface {
|
|
11
|
+
name: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
class?: string | string[];
|
|
14
|
+
headerClass?: string | string[];
|
|
15
|
+
textAlign?: GranitTableColumnAlign;
|
|
16
|
+
size?: GranitTableColumnSize;
|
|
17
|
+
}
|
|
18
|
+
declare class GraniteTableColumnDirective implements GraniteTableColumnInterface {
|
|
19
|
+
name: string;
|
|
20
|
+
title?: string;
|
|
21
|
+
class?: string | string[];
|
|
22
|
+
headerClass?: string | string[];
|
|
23
|
+
textAlign: GranitTableColumnAlign;
|
|
24
|
+
size: GranitTableColumnSize;
|
|
25
|
+
tableCellTemplateRef: TemplateRef<any>;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTableColumnDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteTableColumnDirective, "granite-table-column", never, { "name": { "alias": "name"; "required": false; }; "title": { "alias": "title"; "required": false; }; "class": { "alias": "class"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, ["tableCellTemplateRef"], never, false, never>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface GraniteTableRowStylesInterface {
|
|
31
|
+
condition: (row: any, rowIndex: number) => boolean;
|
|
32
|
+
styles: {
|
|
33
|
+
[key: string]: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class GraniteTableComponent<T> implements AfterContentChecked {
|
|
38
|
+
dataSource: T[];
|
|
39
|
+
horizontalScroll: boolean;
|
|
40
|
+
trackBy: TrackByFunction<T>;
|
|
41
|
+
conditionalRowStyles: GraniteTableRowStylesInterface[];
|
|
42
|
+
readonly rowClick: EventEmitter<any>;
|
|
43
|
+
tableColumnsComponent: QueryList<GraniteTableColumnDirective>;
|
|
44
|
+
readonly cellIdPrefix: string;
|
|
45
|
+
_columns: GraniteTableColumnDirective[];
|
|
46
|
+
_displayedColumns: string[];
|
|
47
|
+
private cd;
|
|
48
|
+
ngAfterContentChecked(): void;
|
|
49
|
+
_trackColumnName(index: number, column: GraniteTableColumnDirective): string;
|
|
50
|
+
handleRowClick(event: Event, row: T, rowIndex: number): void;
|
|
51
|
+
getStyles(row: T, rowIndex: number): {
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
};
|
|
54
|
+
private refreshData;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTableComponent<any>, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableComponent<any>, "granite-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "conditionalRowStyles": { "alias": "conditionalRowStyles"; "required": false; }; }, { "rowClick": "rowClick"; }, ["tableColumnsComponent"], never, false, never>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare abstract class GraniteCell {
|
|
60
|
+
id: string;
|
|
61
|
+
column: GraniteTableColumnDirective;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCell, never>;
|
|
63
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteCell, never, never, { "id": { "alias": "id"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare class GraniteTableHeaderCellComponent extends GraniteCell {
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTableHeaderCellComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableHeaderCellComponent, "th[graniteTableHeaderCell]", never, {}, {}, never, ["*"], false, never>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare class GraniteTableDataCellComponent extends GraniteCell {
|
|
72
|
+
value: any;
|
|
73
|
+
rowIndex: number;
|
|
74
|
+
columnIndex: number;
|
|
75
|
+
row: any;
|
|
76
|
+
tableCellTemplateRef: TemplateRef<any>;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTableDataCellComponent, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableDataCellComponent, "granite-table-data-cell", never, { "value": { "alias": "value"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; "columnIndex": { "alias": "columnIndex"; "required": false; }; "row": { "alias": "row"; "required": false; }; "tableCellTemplateRef": { "alias": "tableCellTemplateRef"; "required": false; }; }, {}, never, never, false, never>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
declare class GraniteCellAlignClassesDirective {
|
|
82
|
+
graniteCellAlignClasses?: string | string[];
|
|
83
|
+
textAlign: GranitTableColumnAlign;
|
|
84
|
+
get alignmentClass(): string;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCellAlignClassesDirective, never>;
|
|
86
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteCellAlignClassesDirective, "[graniteCellAlignClasses]", never, { "graniteCellAlignClasses": { "alias": "graniteCellAlignClasses"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, {}, never, never, false, never>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
declare class GraniteColumnSizeDirective implements OnChanges {
|
|
90
|
+
graniteColumnSize: GranitTableColumnSize;
|
|
91
|
+
get columnSizeClass(): string;
|
|
92
|
+
private readonly sizeMap;
|
|
93
|
+
ngOnChanges(): void;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteColumnSizeDirective, never>;
|
|
95
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteColumnSizeDirective, "[graniteColumnSize]", never, { "graniteColumnSize": { "alias": "graniteColumnSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
declare class GraniteTableModule {
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTableModule, never>;
|
|
100
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteTableModule, [typeof GraniteTableComponent, typeof GraniteTableColumnDirective, typeof GraniteTableHeaderCellComponent, typeof GraniteTableDataCellComponent, typeof GraniteCellAlignClassesDirective, typeof GraniteColumnSizeDirective], [typeof i7.CommonModule, typeof i8.TableModule, typeof i9.PurePipesModule, typeof i10.CdkTableModule], [typeof GraniteTableComponent, typeof GraniteTableColumnDirective]>;
|
|
101
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GraniteTableModule>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
declare class GraniteTableCellConstants {
|
|
105
|
+
static readonly CELL_ID_PREFIX: string;
|
|
106
|
+
static readonly START_ALIGN: string;
|
|
107
|
+
static readonly CENTER_ALIGN: string;
|
|
108
|
+
static readonly END_ALIGN: string;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export { GraniteTableCellConstants, GraniteTableColumnDirective, GraniteTableComponent, GraniteTableModule };
|
|
112
|
+
export type { GranitTableColumnAlign, GranitTableColumnSize, GraniteTableColumnInterface };
|
package/tooltip/index.d.ts
CHANGED
|
@@ -1,3 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, OnDestroy, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i3 from '@angular/common';
|
|
4
|
+
|
|
5
|
+
declare class GraniteTooltipComponent {
|
|
6
|
+
_templateRef: TemplateRef<any>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTooltipComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTooltipComponent, "granite-tooltip", never, {}, {}, never, ["*"], false, never>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class GraniteTooltipTriggerForDirective implements OnDestroy, OnInit, OnChanges {
|
|
12
|
+
tooltip: GraniteTooltipComponent;
|
|
13
|
+
hideDelay: number;
|
|
14
|
+
showDelay: number;
|
|
15
|
+
showOnKeyboardFocus: boolean;
|
|
16
|
+
showOnClick: boolean;
|
|
17
|
+
private _elementRef;
|
|
18
|
+
private _overlay;
|
|
19
|
+
private _viewContainerRef;
|
|
20
|
+
private _focusMonitor;
|
|
21
|
+
private _tooltipService;
|
|
22
|
+
private _overlayRef;
|
|
23
|
+
private _destroy;
|
|
24
|
+
private _detachOverlayTimeoutId;
|
|
25
|
+
private _attachOverlayTimeoutId;
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
_handleMouseenter(): void;
|
|
30
|
+
_handleMouseleave(): void;
|
|
31
|
+
_handleBlur(): void;
|
|
32
|
+
private _handleClick;
|
|
33
|
+
private _handleKeyboardFocus;
|
|
34
|
+
private _createOverlay;
|
|
35
|
+
private _attachOverlay;
|
|
36
|
+
private _detachOverlay;
|
|
37
|
+
private _getTriggerElement;
|
|
38
|
+
private _createPositionPair;
|
|
39
|
+
private _getTooltipPositions;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTooltipTriggerForDirective, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteTooltipTriggerForDirective, "[graniteTooltipTriggerFor]", never, { "tooltip": { "alias": "graniteTooltipTriggerFor"; "required": false; }; "hideDelay": { "alias": "hideDelay"; "required": false; }; "showDelay": { "alias": "showDelay"; "required": false; }; "showOnKeyboardFocus": { "alias": "showOnKeyboardFocus"; "required": false; }; "showOnClick": { "alias": "showOnClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare class GraniteTooltipModule {
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTooltipModule, never>;
|
|
46
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteTooltipModule, [typeof GraniteTooltipComponent, typeof GraniteTooltipTriggerForDirective], [typeof i3.CommonModule], [typeof GraniteTooltipComponent, typeof GraniteTooltipTriggerForDirective]>;
|
|
47
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GraniteTooltipModule>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { GraniteTooltipComponent, GraniteTooltipModule, GraniteTooltipTriggerForDirective };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Carousel, CarouselResponsiveOptions } from 'primeng/carousel';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GraniteCarouselComponent<T> implements OnChanges, AfterViewInit, OnDestroy {
|
|
5
|
-
private cdr;
|
|
6
|
-
items: T[];
|
|
7
|
-
responsiveOptions: CarouselResponsiveOptions[];
|
|
8
|
-
numVisible: number;
|
|
9
|
-
numScroll: number;
|
|
10
|
-
circular: boolean;
|
|
11
|
-
prevButtonAriaLabel: string;
|
|
12
|
-
nextButtonAriaLabel: string;
|
|
13
|
-
shrinkToContent: boolean;
|
|
14
|
-
itemTemplateRef: TemplateRef<any>;
|
|
15
|
-
carousel: Carousel;
|
|
16
|
-
visibleItems: T[];
|
|
17
|
-
isOneItemVisible: boolean;
|
|
18
|
-
private resizeObserver;
|
|
19
|
-
constructor(cdr: ChangeDetectorRef);
|
|
20
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
-
ngAfterViewInit(): void;
|
|
22
|
-
onResize(): void;
|
|
23
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
24
|
-
navForward(event: MouseEvent): void;
|
|
25
|
-
navBackward(event: MouseEvent): void;
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
private triggerUpdate;
|
|
28
|
-
private handleResize;
|
|
29
|
-
private getDisplayItems;
|
|
30
|
-
private updateVisibleItems;
|
|
31
|
-
private updateNumVisibleBasedOnWidth;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCarouselComponent<any>, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteCarouselComponent<any>, "granite-carousel", never, { "items": { "alias": "items"; "required": false; }; "responsiveOptions": { "alias": "responsiveOptions"; "required": false; }; "numVisible": { "alias": "numVisible"; "required": false; }; "numScroll": { "alias": "numScroll"; "required": false; }; "circular": { "alias": "circular"; "required": false; }; "prevButtonAriaLabel": { "alias": "prevButtonAriaLabel"; "required": false; }; "nextButtonAriaLabel": { "alias": "nextButtonAriaLabel"; "required": false; }; "shrinkToContent": { "alias": "shrinkToContent"; "required": false; }; }, {}, ["itemTemplateRef"], never, false, never>;
|
|
34
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./carousel.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "primeng/carousel";
|
|
5
|
-
import * as i4 from "@ifsworld/granite-components";
|
|
6
|
-
export declare class GraniteCarouselModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCarouselModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteCarouselModule, [typeof i1.GraniteCarouselComponent], [typeof i2.CommonModule, typeof i3.CarouselModule, typeof i4.GraniteButtonModule, typeof i4.GraniteIconModule], [typeof i1.GraniteCarouselComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<GraniteCarouselModule>;
|
|
10
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
3
|
-
import { ClientInputInterface, ClientOutputInterface } from '@ifsworld/granite-components';
|
|
4
|
-
import { PrimeNG } from 'primeng/config';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export type PositionX = 'before' | 'after';
|
|
7
|
-
export type PositionY = 'above' | 'below';
|
|
8
|
-
/** Base class with common functionality for date/date-range pickers. */
|
|
9
|
-
export declare class _DatePickerBase implements OnInit {
|
|
10
|
-
_elementRef: ElementRef;
|
|
11
|
-
primeNG: PrimeNG;
|
|
12
|
-
minDate: Date | null;
|
|
13
|
-
maxDate: Date | null;
|
|
14
|
-
firstDayOfWeek: number;
|
|
15
|
-
readonly pickerClosed: EventEmitter<any>;
|
|
16
|
-
templateRef: TemplateRef<any>;
|
|
17
|
-
xPosition: PositionX;
|
|
18
|
-
yPosition: PositionY;
|
|
19
|
-
direction: Direction;
|
|
20
|
-
/**
|
|
21
|
-
* Used for locating the panel in tests and setting the aria-control attribute
|
|
22
|
-
* for the picker trigger.
|
|
23
|
-
*/
|
|
24
|
-
readonly panelId: string;
|
|
25
|
-
/** Client input device information */
|
|
26
|
-
clientInput: ClientInputInterface;
|
|
27
|
-
/** Client output device information */
|
|
28
|
-
clientOutput: ClientOutputInterface;
|
|
29
|
-
constructor(_elementRef: ElementRef, primeNG: PrimeNG);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
_handleKeydown(event: KeyboardEvent): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<_DatePickerBase, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_DatePickerBase, never, never, { "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; }, { "pickerClosed": "pickerClosed"; }, never, never, false, never>;
|
|
34
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, ElementRef, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
3
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
4
|
-
import { Overlay, OverlayOutsideClickDispatcher } from '@angular/cdk/overlay';
|
|
5
|
-
import { ClientInputInterface, ClientOutputInterface } from '@ifsworld/granite-components';
|
|
6
|
-
import { GraniteDatePickerComponent } from './date-picker.component';
|
|
7
|
-
import { GraniteDateRangePickerComponent } from './date-range-picker.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class GraniteDatePickerTriggerForDirective implements AfterContentInit, OnDestroy {
|
|
10
|
-
private _overlay;
|
|
11
|
-
private _element;
|
|
12
|
-
private _viewContainerRef;
|
|
13
|
-
private _outsideClickDispatcher;
|
|
14
|
-
/** Client input device information */
|
|
15
|
-
_clientInput: ClientInputInterface;
|
|
16
|
-
/** Client output device information */
|
|
17
|
-
_clientOutput: ClientOutputInterface;
|
|
18
|
-
private _dir;
|
|
19
|
-
private _focusMonitor;
|
|
20
|
-
/** References the picker instance that the trigger is associated with. */
|
|
21
|
-
picker: GraniteDatePickerComponent | GraniteDateRangePickerComponent;
|
|
22
|
-
/** Whether the associated picker is open */
|
|
23
|
-
_isPickerOpen: boolean;
|
|
24
|
-
private _pickerCloseSubscription;
|
|
25
|
-
private _portal;
|
|
26
|
-
private _overlayRef;
|
|
27
|
-
constructor(_overlay: Overlay, _element: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _outsideClickDispatcher: OverlayOutsideClickDispatcher,
|
|
28
|
-
/** Client input device information */
|
|
29
|
-
_clientInput: ClientInputInterface,
|
|
30
|
-
/** Client output device information */
|
|
31
|
-
_clientOutput: ClientOutputInterface, _dir: Directionality, _focusMonitor: FocusMonitor);
|
|
32
|
-
ngAfterContentInit(): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
isOpen(): boolean;
|
|
35
|
-
openPicker(): void;
|
|
36
|
-
/** Toggles the picker between the open and closed states. */
|
|
37
|
-
togglePicker(): void;
|
|
38
|
-
/** Close the associated picker */
|
|
39
|
-
closePicker(): void;
|
|
40
|
-
/** Handles key presses on the trigger. */
|
|
41
|
-
_handleKeydown(event: KeyboardEvent): void;
|
|
42
|
-
/** Handles click events on the trigger. */
|
|
43
|
-
_handleClick(): void;
|
|
44
|
-
/**
|
|
45
|
-
* Restores focus to the element that was focused before the picker was open.
|
|
46
|
-
*/
|
|
47
|
-
_restoreFocus(origin?: FocusOrigin, options?: FocusOptions): void;
|
|
48
|
-
/**
|
|
49
|
-
* Returns strategy for positioning the overlay for desktop devices:
|
|
50
|
-
*/
|
|
51
|
-
private _desktopPositionStrategy;
|
|
52
|
-
/**
|
|
53
|
-
* Sets the appropriate positions on a position strategy
|
|
54
|
-
* so the overlay connects with the trigger correctly.
|
|
55
|
-
* @param positionStrategy Strategy whose position to update.
|
|
56
|
-
*/
|
|
57
|
-
private _setPosition;
|
|
58
|
-
/**
|
|
59
|
-
* Returns strategy for positioning the overlay depending on what type of
|
|
60
|
-
* device the picker is being shown on
|
|
61
|
-
*/
|
|
62
|
-
private _positionStrategy;
|
|
63
|
-
/**
|
|
64
|
-
* Returns strategy for positioning the overlay for touch devices:
|
|
65
|
-
* Place centered in the screen.
|
|
66
|
-
*/
|
|
67
|
-
private _touchPositionStrategy;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteDatePickerTriggerForDirective, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, null]>;
|
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteDatePickerTriggerForDirective, "[graniteDatePickerTriggerFor]", never, { "picker": { "alias": "graniteDatePickerTriggerFor"; "required": false; }; }, {}, never, never, false, never>;
|
|
70
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { _DatePickerBase } from './date-picker-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GraniteDatePickerComponent extends _DatePickerBase {
|
|
5
|
-
selectedDate: Date | undefined;
|
|
6
|
-
readonly selectionChanged: EventEmitter<Date>;
|
|
7
|
-
dateSelectionChanged(newDate: Date): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteDatePickerComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteDatePickerComponent, "granite-date-picker", never, { "selectedDate": { "alias": "selectedDate"; "required": false; }; }, { "selectionChanged": "selectionChanged"; }, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./date-picker.component";
|
|
3
|
-
import * as i2 from "./date-range-picker.component";
|
|
4
|
-
import * as i3 from "./date-picker-trigger-for.directive";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@angular/cdk/overlay";
|
|
7
|
-
import * as i6 from "primeng/datepicker";
|
|
8
|
-
import * as i7 from "@angular/forms";
|
|
9
|
-
import * as i8 from "@ifsworld/granite-components";
|
|
10
|
-
import * as i9 from "@angular/cdk/a11y";
|
|
11
|
-
export declare class GraniteDatePickerModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteDatePickerModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteDatePickerModule, [typeof i1.GraniteDatePickerComponent, typeof i2.GraniteDateRangePickerComponent, typeof i3.GraniteDatePickerTriggerForDirective], [typeof i4.CommonModule, typeof i5.OverlayModule, typeof i6.DatePickerModule, typeof i7.FormsModule, typeof i8.GraniteIconModule, typeof i8.GraniteButtonModule, typeof i9.A11yModule], [typeof i1.GraniteDatePickerComponent, typeof i2.GraniteDateRangePickerComponent, typeof i3.GraniteDatePickerTriggerForDirective]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<GraniteDatePickerModule>;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { _DatePickerBase } from './date-picker-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GraniteDateRangePickerComponent extends _DatePickerBase implements OnChanges {
|
|
5
|
-
selectedDateRange: Date[];
|
|
6
|
-
readonly selectionChanged: EventEmitter<Date[]>;
|
|
7
|
-
_selectedDateRangeInternal: Date[];
|
|
8
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
9
|
-
dateRangeSelectionChanged(date: Date): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteDateRangePickerComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteDateRangePickerComponent, "granite-date-range-picker", never, { "selectedDateRange": { "alias": "selectedDateRange"; "required": false; }; }, { "selectionChanged": "selectionChanged"; }, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FileUploadError } from '../file-upload.constants';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GraniteFileDragAndDropDirective {
|
|
5
|
-
fileOver: boolean;
|
|
6
|
-
fileBrowseError: boolean;
|
|
7
|
-
multiFileUploadEnabled: boolean;
|
|
8
|
-
accept: string;
|
|
9
|
-
currentFiles: File[];
|
|
10
|
-
droppedFiles: EventEmitter<File[]>;
|
|
11
|
-
isFileOver: EventEmitter<boolean>;
|
|
12
|
-
fileUploadValidation: EventEmitter<FileUploadError>;
|
|
13
|
-
onDragOver(event: DragEvent): void;
|
|
14
|
-
onDragLeave(event: DragEvent): void;
|
|
15
|
-
onDrop(event: DragEvent): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteFileDragAndDropDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteFileDragAndDropDirective, "[graniteFileDragAndDrop]", ["graniteFileDragAndDrop"], { "multiFileUploadEnabled": { "alias": "multiFileUploadEnabled"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "currentFiles": { "alias": "currentFiles"; "required": false; }; }, { "droppedFiles": "droppedFiles"; "isFileOver": "isFileOver"; "fileUploadValidation": "fileUploadValidation"; }, never, never, false, never>;
|
|
18
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FileUploadError, FileUploadStatus, SelectedFile } from './file-upload.constants';
|
|
3
|
-
import { CarouselResponsiveOptions } from 'primeng/carousel';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class GraniteFileUploadComponent {
|
|
6
|
-
fileDropRef: ElementRef<HTMLInputElement>;
|
|
7
|
-
accept: string;
|
|
8
|
-
uploadTitle: string;
|
|
9
|
-
uploadIcon: string;
|
|
10
|
-
browseIcon: string;
|
|
11
|
-
dropZoneText: string;
|
|
12
|
-
browseButtonText: string;
|
|
13
|
-
dropPlaceholderText: string;
|
|
14
|
-
dropZoneHint: string;
|
|
15
|
-
removeButtonText: string;
|
|
16
|
-
uploadButtonText: string;
|
|
17
|
-
retryButtonText: string;
|
|
18
|
-
cancelButtonText: string;
|
|
19
|
-
multiFileUpload: boolean;
|
|
20
|
-
responsiveOptions: CarouselResponsiveOptions[];
|
|
21
|
-
browseOrDragFiles: EventEmitter<SelectedFile[]>;
|
|
22
|
-
removeFiles: EventEmitter<SelectedFile[]>;
|
|
23
|
-
filesUpload: EventEmitter<void>;
|
|
24
|
-
fileUploadValidation: EventEmitter<FileUploadError>;
|
|
25
|
-
selectedFiles: File[];
|
|
26
|
-
previewReadyFiles: SelectedFile[];
|
|
27
|
-
isFileOnDropzone: boolean;
|
|
28
|
-
FileUploadStatus: typeof FileUploadStatus;
|
|
29
|
-
fileError: boolean;
|
|
30
|
-
fileDropErrorType: string;
|
|
31
|
-
numVisible: number;
|
|
32
|
-
protected _uploadStatus: FileUploadStatus;
|
|
33
|
-
get uploadStatus(): FileUploadStatus;
|
|
34
|
-
set uploadStatus(status: FileUploadStatus);
|
|
35
|
-
protected _autoUpload: boolean;
|
|
36
|
-
get autoUpload(): boolean;
|
|
37
|
-
set autoUpload(value: boolean);
|
|
38
|
-
fileBrowseHandler(event: Event): void;
|
|
39
|
-
fileRemoveHandler(fileToRemove: SelectedFile): void;
|
|
40
|
-
onFilesDropHandler(files: File[]): void;
|
|
41
|
-
onFileOverDropzone(isFileOver: boolean): void;
|
|
42
|
-
onFileDropError(validation: FileUploadError): void;
|
|
43
|
-
prepareSelectedFiles(files: File[]): SelectedFile[];
|
|
44
|
-
uploadFiles(): void;
|
|
45
|
-
retryUpload(): void;
|
|
46
|
-
cancelUpload(): void;
|
|
47
|
-
resetFileUpload(): void;
|
|
48
|
-
formatBytesToReadableSize(bytes: number, decimals: number): string;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteFileUploadComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteFileUploadComponent, "granite-file-upload", never, { "accept": { "alias": "accept"; "required": false; }; "uploadTitle": { "alias": "uploadTitle"; "required": false; }; "uploadIcon": { "alias": "uploadIcon"; "required": false; }; "browseIcon": { "alias": "browseIcon"; "required": false; }; "dropZoneText": { "alias": "dropZoneText"; "required": false; }; "browseButtonText": { "alias": "browseButtonText"; "required": false; }; "dropPlaceholderText": { "alias": "dropPlaceholderText"; "required": false; }; "dropZoneHint": { "alias": "dropZoneHint"; "required": false; }; "removeButtonText": { "alias": "removeButtonText"; "required": false; }; "uploadButtonText": { "alias": "uploadButtonText"; "required": false; }; "retryButtonText": { "alias": "retryButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; "multiFileUpload": { "alias": "multiFileUpload"; "required": false; }; "responsiveOptions": { "alias": "responsiveOptions"; "required": false; }; "uploadStatus": { "alias": "uploadStatus"; "required": false; }; "autoUpload": { "alias": "autoUpload"; "required": false; }; }, { "browseOrDragFiles": "browseOrDragFiles"; "removeFiles": "removeFiles"; "filesUpload": "filesUpload"; "fileUploadValidation": "fileUploadValidation"; }, never, never, false, never>;
|
|
51
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { CarouselResponsiveOptions } from 'primeng/carousel';
|
|
2
|
-
export interface SelectedFile {
|
|
3
|
-
file: File;
|
|
4
|
-
readableSize?: string;
|
|
5
|
-
imageUrl?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface FileUploadError {
|
|
8
|
-
isError: boolean;
|
|
9
|
-
type: FilUploadErrorTypes;
|
|
10
|
-
}
|
|
11
|
-
export declare const fileSizes: string[];
|
|
12
|
-
export declare enum FileUploadStatus {
|
|
13
|
-
NotStarted = "NotStarted",
|
|
14
|
-
InProgress = "InProgress",
|
|
15
|
-
Completed = "Completed",
|
|
16
|
-
Failed = "Failed",
|
|
17
|
-
Cancelled = "Cancelled"
|
|
18
|
-
}
|
|
19
|
-
export declare enum FilUploadErrorTypes {
|
|
20
|
-
ExtensionNotSupported = "ExtensionNotSupported",
|
|
21
|
-
MultipleFilesNotSupported = "MultipleFilesNotSupported"
|
|
22
|
-
}
|
|
23
|
-
export declare const DEFAULT_MULTI_FILE_SUPPORT = false;
|
|
24
|
-
export declare const DEFAULT_ACCEPT_TYPE: string;
|
|
25
|
-
export declare const DEFAULT_UPLOAD_TITLE: string;
|
|
26
|
-
export declare const DEFAULT_UPLOAD_ICON: string;
|
|
27
|
-
export declare const DEFAULT_FILE_BROWSE_BUTTON_ICON: string;
|
|
28
|
-
export declare const DEFAULT_DROPZONE_TEXT: string;
|
|
29
|
-
export declare const DEFAULT_BROWSE_BUTTON_TEXT: string;
|
|
30
|
-
export declare const DEFAULT_DROP_PLACEHOLDER_TEXT: string;
|
|
31
|
-
export declare const DEFAULT_DROPZONE_HINT: string;
|
|
32
|
-
export declare const DEFAULT_REMOVE_BUTTON_TEXT: string;
|
|
33
|
-
export declare const DEFAULT_UPLOAD_BUTTON_TEXT: string;
|
|
34
|
-
export declare const DEFAULT_RETRY_BUTTON_TEXT: string;
|
|
35
|
-
export declare const DEFAULT_CANCEL_BUTTON_TEXT: string;
|
|
36
|
-
export declare const DEFAULT_RESPONSIVE_OPTIONS: CarouselResponsiveOptions[];
|
|
37
|
-
export declare const DEFAULT_VISIBLE_FILES: number;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./file-upload.component";
|
|
3
|
-
import * as i2 from "./directives/file-drag-and-drop.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@ifsworld/granite-components";
|
|
6
|
-
import * as i5 from "@ifsworld/granite-components/carousel";
|
|
7
|
-
export declare class GraniteFileUploadModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteFileUploadModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteFileUploadModule, [typeof i1.GraniteFileUploadComponent, typeof i2.GraniteFileDragAndDropDirective], [typeof i3.CommonModule, typeof i4.GraniteButtonModule, typeof i4.GraniteIconModule, typeof i5.GraniteCarouselModule], [typeof i1.GraniteFileUploadComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<GraniteFileUploadModule>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function validFileTypes<T>(mimeTypesStringToCheck: string, files: T[]): boolean;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GraniteArrangeGridItemComponent {
|
|
4
|
-
private element;
|
|
5
|
-
/**
|
|
6
|
-
* Column span to render.
|
|
7
|
-
* For use in template only. Do not use outside of this component.
|
|
8
|
-
* @ignore
|
|
9
|
-
*/
|
|
10
|
-
_columnSpan: number | null;
|
|
11
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
12
|
-
/**
|
|
13
|
-
* Number of cells the item would span. Used by arrange grid in column
|
|
14
|
-
* orientation to fill any unused space caused by wrapped items.
|
|
15
|
-
*/
|
|
16
|
-
set columnSpan(value: number | null);
|
|
17
|
-
/**
|
|
18
|
-
* Update element styles
|
|
19
|
-
*/
|
|
20
|
-
updateStyles(): void;
|
|
21
|
-
/**
|
|
22
|
-
* Set CSS variable value or remove it if a null value is given.
|
|
23
|
-
* Would of course rather have used property binding but that is not
|
|
24
|
-
* supported until (perhaps) Angular 9.
|
|
25
|
-
* See: https://github.com/angular/angular/issues/9343
|
|
26
|
-
*/
|
|
27
|
-
protected setCssProperty(variable: string, value: string | null): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteArrangeGridItemComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteArrangeGridItemComponent, "granite-arrange-grid-item", never, {}, {}, never, ["*"], false, never>;
|
|
30
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, ElementRef, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { GraniteArrangeGridItemComponent } from './arrange-grid-item.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare enum GraniteArrangeGridOrientation {
|
|
5
|
-
columns = "columns",
|
|
6
|
-
rows = "rows"
|
|
7
|
-
}
|
|
8
|
-
export declare class GraniteArrangeGridComponent implements OnChanges, AfterContentInit, OnDestroy {
|
|
9
|
-
private element;
|
|
10
|
-
/** How to present grid items; `columns` (default) or `rows` */
|
|
11
|
-
orientation: GraniteArrangeGridOrientation;
|
|
12
|
-
/** Exposes column orientation to template */
|
|
13
|
-
classColumnOrientation: boolean;
|
|
14
|
-
/** Exposes row orientation to template */
|
|
15
|
-
classRowOrientation: boolean;
|
|
16
|
-
arrangeGridItemComponents: QueryList<GraniteArrangeGridItemComponent>;
|
|
17
|
-
/** Default number of columns to use in column orientation */
|
|
18
|
-
static readonly defaultCols: number;
|
|
19
|
-
/**
|
|
20
|
-
* Number of grid columns to use when orientation is set to `column`. The
|
|
21
|
-
* default is two columns.
|
|
22
|
-
*/
|
|
23
|
-
set cols(value: number);
|
|
24
|
-
get cols(): number;
|
|
25
|
-
/** Number of columns to render */
|
|
26
|
-
protected _cols: number;
|
|
27
|
-
/**
|
|
28
|
-
* Number of rows to render. Will be set internally taking column count,
|
|
29
|
-
* the number of items and any cell wrapping into consideration.
|
|
30
|
-
*/
|
|
31
|
-
protected _rows: number;
|
|
32
|
-
set rows(value: number);
|
|
33
|
-
get rows(): number;
|
|
34
|
-
/** Nexted on component destruction to complete other observables. */
|
|
35
|
-
private destroy$;
|
|
36
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
37
|
-
ngAfterContentInit(): void;
|
|
38
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
-
ngOnDestroy(): void;
|
|
40
|
-
/**
|
|
41
|
-
* Update grid row template style.
|
|
42
|
-
*
|
|
43
|
-
* Use content height of all but last row and let the last grow
|
|
44
|
-
* to take up any remaining space.
|
|
45
|
-
*/
|
|
46
|
-
updateStyles(): void;
|
|
47
|
-
/**
|
|
48
|
-
* Set CSS variable value or remove it if a null value is given.
|
|
49
|
-
* Would of course rather have used property binding but that is not
|
|
50
|
-
* supported until (perhaps) Angular 9.
|
|
51
|
-
* See: https://github.com/angular/angular/issues/9343
|
|
52
|
-
*
|
|
53
|
-
* TODO: Replace with property binding with Angular 9 upgrade
|
|
54
|
-
*/
|
|
55
|
-
protected setCssProperty(variable: string, value: string | null): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteArrangeGridComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteArrangeGridComponent, "granite-arrange-grid", never, { "orientation": { "alias": "orientation"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; }, {}, ["arrangeGridItemComponents"], ["granite-arrange-grid-item"], false, never>;
|
|
58
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./arrange-grid.component";
|
|
3
|
-
import * as i2 from "./arrange-grid-item.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
export declare class GraniteArrangeGridModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteArrangeGridModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteArrangeGridModule, [typeof i1.GraniteArrangeGridComponent, typeof i2.GraniteArrangeGridItemComponent], [typeof i3.CommonModule], [typeof i1.GraniteArrangeGridComponent, typeof i2.GraniteArrangeGridItemComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<GraniteArrangeGridModule>;
|
|
9
|
-
}
|