@ieeesa-npm/presentation 0.30.1 → 0.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +89 -34
- package/esm2022/lib/components/data-table/data-table.component.mjs +3 -3
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/ieeesa-npm-presentation.mjs +90 -35
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +8 -5
- package/lib/components/dynamic-form/dynamic-form.component.d.ts +1 -1
- package/lib/components/file-upload/file-upload.component.d.ts +1 -1
- package/lib/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +1 -1
- package/lib/directives/file-upload/file-upload.directive.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2022/lib/models/menu-items.model.mjs +0 -2
- package/lib/models/menu-items.model.d.ts +0 -3
|
@@ -3,7 +3,6 @@ import { Subject } from 'rxjs';
|
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { Breadcrumb } from '../../models/breadcrumb.model';
|
|
5
5
|
import { BreadcrumbService } from '../../services/breadcrumb.service';
|
|
6
|
-
import { MenuItem } from '../../models/menu-items.model';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
/**
|
|
9
8
|
* Reusable breadcrumb component for displaying and navigating through a hierarchy of pages.
|
|
@@ -31,8 +30,6 @@ export declare class BreadcrumbComponent implements OnDestroy {
|
|
|
31
30
|
breadcrumbInitialRouteLabel: any;
|
|
32
31
|
breadcrumbs: Breadcrumb[];
|
|
33
32
|
destroy$: Subject<boolean>;
|
|
34
|
-
static readonly ROUTE_DATA_BREADCRUMB = "breadcrumb";
|
|
35
|
-
menuItems: MenuItem[];
|
|
36
33
|
constructor(activatedRoute: ActivatedRoute, router: Router, breadcrumbService: BreadcrumbService);
|
|
37
34
|
/**
|
|
38
35
|
* Sets up the subscription to router events to update breadcrumbs.
|
|
@@ -40,7 +37,6 @@ export declare class BreadcrumbComponent implements OnDestroy {
|
|
|
40
37
|
*/
|
|
41
38
|
setRouteData(): void;
|
|
42
39
|
/**
|
|
43
|
-
*
|
|
44
40
|
* Recursively gets the breadcrumb items for the given route.
|
|
45
41
|
* @param {ActivatedRoute} route - The activated route.
|
|
46
42
|
* @param {string} [url=''] - The current URL.
|
|
@@ -48,7 +44,14 @@ export declare class BreadcrumbComponent implements OnDestroy {
|
|
|
48
44
|
* @return {Breadcrumb[]} - The array of breadcrumb items.
|
|
49
45
|
* @memberof BreadcrumbComponent
|
|
50
46
|
*/
|
|
51
|
-
|
|
47
|
+
getBreadcrumbs(route: ActivatedRoute, url?: string, breadcrumbs?: Breadcrumb[]): Breadcrumb[];
|
|
48
|
+
/**
|
|
49
|
+
* Navigates to the specified breadcrumb item.
|
|
50
|
+
* @param {Breadcrumb} breadcrumb -The breadcrumb item to navigate to.
|
|
51
|
+
* @param {number} index -The index of the breadcrumb item.
|
|
52
|
+
* @memberof BreadcrumbComponent
|
|
53
|
+
*/
|
|
54
|
+
navigate(breadcrumb: Breadcrumb, index: number): void;
|
|
52
55
|
/**
|
|
53
56
|
* Takes the index and the current item as arguments and needs to return the unique identifier for this item.
|
|
54
57
|
* @param {number} index
|
|
@@ -91,7 +91,7 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit, A
|
|
|
91
91
|
formTimeSelected: EventEmitter<SelectedTime>;
|
|
92
92
|
supportTextLinkClick: EventEmitter<LinkEventEmitType>;
|
|
93
93
|
formSlideToggleChange: EventEmitter<SlideToggleOption>;
|
|
94
|
-
formFileUpload: EventEmitter<
|
|
94
|
+
formFileUpload: EventEmitter<FileList | File>;
|
|
95
95
|
dropdownOpenedChange: EventEmitter<SelectOpenedState>;
|
|
96
96
|
formColorPickerChange: EventEmitter<string>;
|
|
97
97
|
formRadioOptionSelected: EventEmitter<RadioOption>;
|
|
@@ -401,7 +401,7 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
401
401
|
private _fileDownloadAndDeleteConfig;
|
|
402
402
|
set fileDownloadAndDeleteConfig(value: FileDownloadAndDeleteConfig);
|
|
403
403
|
get fileDownloadAndDeleteConfig(): FileDownloadAndDeleteConfig;
|
|
404
|
-
uploadSelectedFiles: EventEmitter<
|
|
404
|
+
uploadSelectedFiles: EventEmitter<FileList | File>;
|
|
405
405
|
downloadSelectedFile: EventEmitter<File | DownloadAttachment>;
|
|
406
406
|
apiBaseUrl: string;
|
|
407
407
|
selectedFileNamesCount: number;
|
|
@@ -82,7 +82,7 @@ export declare class DynamicFormFieldDirective implements FormField, OnInit, OnD
|
|
|
82
82
|
formSlideToggleChange: EventEmitter<SlideToggleOption>;
|
|
83
83
|
dropdownOpenedChange: EventEmitter<SelectOpenedState>;
|
|
84
84
|
formColorPickerChange: EventEmitter<string>;
|
|
85
|
-
formFileUpload: EventEmitter<
|
|
85
|
+
formFileUpload: EventEmitter<FileList | File>;
|
|
86
86
|
formRadioOptionSelected: EventEmitter<RadioOption>;
|
|
87
87
|
ctaButtonClick: EventEmitter<IconButton>;
|
|
88
88
|
formMultiSelectAutoCompleteSearch: EventEmitter<string>;
|
|
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class FileUploadDirective {
|
|
9
9
|
allowedFileTypes: string[];
|
|
10
10
|
isMultiFileUpload: boolean;
|
|
11
|
-
fileDropped: EventEmitter<
|
|
11
|
+
fileDropped: EventEmitter<FileList | File>;
|
|
12
12
|
/**
|
|
13
13
|
* Binds the 'multiple' attribute based on the value of allowMultiple property.
|
|
14
14
|
* @readonly
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -69,7 +69,6 @@ export * from './lib/models/icon-button.model';
|
|
|
69
69
|
export * from './lib/models/legend.model';
|
|
70
70
|
export * from './lib/models/link-type.model';
|
|
71
71
|
export * from './lib/models/list-item.model';
|
|
72
|
-
export * from './lib/models/menu-items.model';
|
|
73
72
|
export * from './lib/models/menu.model';
|
|
74
73
|
export * from './lib/models/navigation-menu.model';
|
|
75
74
|
export * from './lib/models/radio-option.model';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtcy5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ByZXNlbnRhdGlvbi9zcmMvbGliL21vZGVscy9tZW51LWl0ZW1zLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIE1lbnVJdGVtIHtcclxuICBba2V5OiBzdHJpbmddOiBhbnk7XHJcbn1cclxuIl19
|