@spicainternational/ngx-sds-components 7.1.0-beta.5 → 7.1.0-beta.7
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/esm2020/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.mjs +26 -0
- package/esm2020/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.mjs +45 -0
- package/esm2020/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.mjs +23 -0
- package/esm2020/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.mjs +37 -39
- package/esm2020/src/lib/navigation/navigation.module.mjs +18 -6
- package/esm2020/src/lib/navigation/public-api.mjs +2 -1
- package/esm2020/src/lib/timeline/components/timeline.component.mjs +12 -3
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-navigation.mjs +137 -50
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-navigation.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-timeline.mjs +11 -2
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-timeline.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-navigation.mjs +137 -49
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-navigation.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-timeline.mjs +11 -2
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-timeline.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.d.ts +11 -0
- package/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.d.ts +17 -0
- package/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.d.ts +9 -0
- package/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.d.ts +6 -8
- package/src/lib/navigation/navigation.module.d.ts +16 -12
- package/src/lib/navigation/public-api.d.ts +1 -0
- package/src/lib/timeline/components/timeline.component.d.ts +8 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SdsUserProfileActionButtonComponent {
|
|
5
|
+
text: string;
|
|
6
|
+
icon?: IconProp;
|
|
7
|
+
actionClick: EventEmitter<void>;
|
|
8
|
+
onActionClick(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsUserProfileActionButtonComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsUserProfileActionButtonComponent, "sds-user-profile-action-button", never, { "text": "text"; "icon": "icon"; }, { "actionClick": "actionClick"; }, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { NavigationProfile } from '../../navigation-profile.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SdsUserProfileSelectorComponent implements OnChanges {
|
|
5
|
+
profiles: NavigationProfile[];
|
|
6
|
+
selectedProfileId: string | null;
|
|
7
|
+
selectDefaultProfileText: string;
|
|
8
|
+
switchText: string;
|
|
9
|
+
profileIdChange: EventEmitter<string>;
|
|
10
|
+
protected isSelectedOneOfProfiles: boolean;
|
|
11
|
+
protected readonly SELECT_DEFAULT_PROFILE_ICON: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
+
selectProfile(profileId: string): void;
|
|
14
|
+
selectDefaultProfile(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsUserProfileSelectorComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsUserProfileSelectorComponent, "sds-user-profile-selector", never, { "profiles": "profiles"; "selectedProfileId": "selectedProfileId"; "selectDefaultProfileText": "selectDefaultProfileText"; "switchText": "switchText"; }, { "profileIdChange": "profileIdChange"; }, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NavigationProfile } from '../../navigation-profile.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdsUserProfileTileComponent {
|
|
4
|
+
profile: NavigationProfile | null;
|
|
5
|
+
emphasizeName: boolean;
|
|
6
|
+
size: 'small' | 'medium';
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsUserProfileTileComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsUserProfileTileComponent, "sds-user-profile-tile", never, { "profile": "profile"; "emphasizeName": "emphasizeName"; "size": "size"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -3,13 +3,9 @@ import { NavigationProfile } from './navigation-profile.model';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdsNavigationUserProfileComponent implements OnInit, OnChanges {
|
|
5
5
|
profile: NavigationProfile | null;
|
|
6
|
-
|
|
7
|
-
activeProfileId: string | null;
|
|
8
|
-
activeProfileIdChange: EventEmitter<string | null>;
|
|
9
|
-
activeProfileInfo: string;
|
|
6
|
+
profileInfo: string;
|
|
10
7
|
showSignOut: boolean;
|
|
11
8
|
showProfile: boolean;
|
|
12
|
-
showTopBorder: boolean;
|
|
13
9
|
signOutText: string;
|
|
14
10
|
profileText: string;
|
|
15
11
|
showNotificationBadge: boolean;
|
|
@@ -18,7 +14,7 @@ export declare class SdsNavigationUserProfileComponent implements OnInit, OnChan
|
|
|
18
14
|
signOutClick: EventEmitter<void>;
|
|
19
15
|
notificationBadgeClick: EventEmitter<void>;
|
|
20
16
|
showOptions: boolean;
|
|
21
|
-
|
|
17
|
+
showOptionsChange: EventEmitter<boolean>;
|
|
22
18
|
protected userProfileIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
23
19
|
protected signOutIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
24
20
|
constructor();
|
|
@@ -26,8 +22,10 @@ export declare class SdsNavigationUserProfileComponent implements OnInit, OnChan
|
|
|
26
22
|
ngOnChanges(changes: SimpleChanges): void;
|
|
27
23
|
onProfileClick(): void;
|
|
28
24
|
onSignOutClick(): void;
|
|
25
|
+
closeOptions(): void;
|
|
26
|
+
openOptions(): void;
|
|
27
|
+
protected toggleOptions(): void;
|
|
29
28
|
onNotificationBadgeClick(event: MouseEvent): void;
|
|
30
|
-
onActiveProfileIdChange(id: string | null): void;
|
|
31
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsNavigationUserProfileComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdsNavigationUserProfileComponent, "sds-navigation-user-profile", never, { "profile": "profile"; "
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsNavigationUserProfileComponent, "sds-navigation-user-profile", never, { "profile": "profile"; "profileInfo": "profileInfo"; "showSignOut": "showSignOut"; "showProfile": "showProfile"; "signOutText": "signOutText"; "profileText": "profileText"; "showNotificationBadge": "showNotificationBadge"; "newNotificationsText": "newNotificationsText"; "showOptions": "showOptions"; }, { "profileClick": "profileClick"; "signOutClick": "signOutClick"; "notificationBadgeClick": "notificationBadgeClick"; "showOptionsChange": "showOptionsChange"; }, never, ["*"], false, never>;
|
|
33
31
|
}
|
|
@@ -6,19 +6,23 @@ import * as i4 from "./navigation-header/navigation-header.component";
|
|
|
6
6
|
import * as i5 from "./navigation-container/navigation-container.component";
|
|
7
7
|
import * as i6 from "./navigation-external-link/navigation-external-link.component";
|
|
8
8
|
import * as i7 from "./navigation-user-profile/navigation-user-profile.component";
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "@
|
|
15
|
-
import * as i14 from "@
|
|
16
|
-
import * as i15 from "@
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "@
|
|
9
|
+
import * as i8 from "./navigation-user-profile/components/user-profile-selector/user-profile-selector.component";
|
|
10
|
+
import * as i9 from "./product-home/product-home.component";
|
|
11
|
+
import * as i10 from "./pipes/navigation-route-active.pipe";
|
|
12
|
+
import * as i11 from "./navigation-user-profile/components/user-profile-tile/user-profile-tile.component";
|
|
13
|
+
import * as i12 from "./navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component";
|
|
14
|
+
import * as i13 from "@angular/common";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
16
|
+
import * as i15 from "@angular/router";
|
|
17
|
+
import * as i16 from "@spicainternational/ngx-sds-components/src/lib/avatar";
|
|
18
|
+
import * as i17 from "@spicainternational/ngx-sds-components/src/lib/app-switcher";
|
|
19
|
+
import * as i18 from "@fortawesome/angular-fontawesome";
|
|
20
|
+
import * as i19 from "devextreme-angular/ui/popover";
|
|
21
|
+
import * as i20 from "devextreme-angular";
|
|
22
|
+
import * as i21 from "@spicainternational/ngx-sds-components/src/lib/tooltip";
|
|
23
|
+
import * as i22 from "@angular/cdk/a11y";
|
|
20
24
|
export declare class SdsNavigationModule {
|
|
21
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsNavigationModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SdsNavigationModule, [typeof i1.SdsNavigationGroupComponent, typeof i2.SdsNavigationRouteLinkComponent, typeof i3.SdsNavigationSeparatorComponent, typeof i4.SdsNavigationHeaderComponent, typeof i5.SdsNavigationContainerComponent, typeof i6.SdsNavigationExternalLinkComponent, typeof i7.SdsNavigationUserProfileComponent, typeof i8.
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SdsNavigationModule, [typeof i1.SdsNavigationGroupComponent, typeof i2.SdsNavigationRouteLinkComponent, typeof i3.SdsNavigationSeparatorComponent, typeof i4.SdsNavigationHeaderComponent, typeof i5.SdsNavigationContainerComponent, typeof i6.SdsNavigationExternalLinkComponent, typeof i7.SdsNavigationUserProfileComponent, typeof i8.SdsUserProfileSelectorComponent, typeof i9.SdsProductHomeComponent, typeof i10.NavigationRouteActivePipe, typeof i11.SdsUserProfileTileComponent, typeof i12.SdsUserProfileActionButtonComponent], [typeof i13.CommonModule, typeof i14.FormsModule, typeof i15.RouterModule, typeof i16.SdsAvatarModule, typeof i17.SdsAppSwitcherModule, typeof i18.FontAwesomeModule, typeof i19.DxPopoverModule, typeof i20.DxScrollViewModule, typeof i21.SdsTooltipModule, typeof i22.A11yModule], [typeof i1.SdsNavigationGroupComponent, typeof i2.SdsNavigationRouteLinkComponent, typeof i3.SdsNavigationSeparatorComponent, typeof i4.SdsNavigationHeaderComponent, typeof i5.SdsNavigationContainerComponent, typeof i6.SdsNavigationExternalLinkComponent, typeof i7.SdsNavigationUserProfileComponent, typeof i8.SdsUserProfileSelectorComponent, typeof i9.SdsProductHomeComponent]>;
|
|
23
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<SdsNavigationModule>;
|
|
24
28
|
}
|
|
@@ -7,4 +7,5 @@ export * from './navigation-route-link/navigation-route-link.component';
|
|
|
7
7
|
export * from './navigation-separator/navigation-separator.component';
|
|
8
8
|
export * from './navigation-user-profile/navigation-user-profile.component';
|
|
9
9
|
export * from './navigation-user-profile/navigation-profile.model';
|
|
10
|
+
export * from './navigation-user-profile/components/user-profile-selector/user-profile-selector.component';
|
|
10
11
|
export * from './product-home/product-home.component';
|
|
@@ -113,6 +113,13 @@ export declare class SdsTimelineComponent implements OnInit, OnChanges, AfterVie
|
|
|
113
113
|
* @memberof SdsTimelineComponent
|
|
114
114
|
*/
|
|
115
115
|
dayLabelClass?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Whether to show timeline. Useful for hiding the timeline when we only need header.
|
|
118
|
+
*
|
|
119
|
+
* @type {boolean}
|
|
120
|
+
* @memberof SdsTimelineComponent
|
|
121
|
+
*/
|
|
122
|
+
showTimeline: boolean;
|
|
116
123
|
/**
|
|
117
124
|
* The CSS class to be applied to the hour ticks.
|
|
118
125
|
*
|
|
@@ -173,5 +180,5 @@ export declare class SdsTimelineComponent implements OnInit, OnChanges, AfterVie
|
|
|
173
180
|
private generateInternalTimelineItems;
|
|
174
181
|
private generateInternalTimelinePointInTimeItems;
|
|
175
182
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsTimelineComponent, never>;
|
|
176
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdsTimelineComponent, "sds-timeline", never, { "start": "start"; "end": "end"; "items": "items"; "pointInTimeItems": "pointInTimeItems"; "itemTemplate": "itemTemplate"; "pointInTimeTemplate": "pointInTimeTemplate"; "tickFrequency": "tickFrequency"; "hourLabelFrequency": "hourLabelFrequency"; "zoomPercent": "zoomPercent"; "viewOffsetPercent": "viewOffsetPercent"; "maxZoomPercent": "maxZoomPercent"; "showHourLabels": "showHourLabels"; "hourLabelClass": "hourLabelClass"; "showDayLabels": "showDayLabels"; "dayLabelClass": "dayLabelClass"; "hourTickClass": "hourTickClass"; "timelineHeight": "timelineHeight"; "enableZoomAndDrag": "enableZoomAndDrag"; "offSetMinutes": "offSetMinutes"; "locales": "locales"; }, { "zoomPercentChange": "zoomPercentChange"; "viewOffsetPercentChange": "viewOffsetPercentChange"; }, never, never, false, never>;
|
|
183
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsTimelineComponent, "sds-timeline", never, { "start": "start"; "end": "end"; "items": "items"; "pointInTimeItems": "pointInTimeItems"; "itemTemplate": "itemTemplate"; "pointInTimeTemplate": "pointInTimeTemplate"; "tickFrequency": "tickFrequency"; "hourLabelFrequency": "hourLabelFrequency"; "zoomPercent": "zoomPercent"; "viewOffsetPercent": "viewOffsetPercent"; "maxZoomPercent": "maxZoomPercent"; "showHourLabels": "showHourLabels"; "hourLabelClass": "hourLabelClass"; "showDayLabels": "showDayLabels"; "dayLabelClass": "dayLabelClass"; "showTimeline": "showTimeline"; "hourTickClass": "hourTickClass"; "timelineHeight": "timelineHeight"; "enableZoomAndDrag": "enableZoomAndDrag"; "offSetMinutes": "offSetMinutes"; "locales": "locales"; }, { "zoomPercentChange": "zoomPercentChange"; "viewOffsetPercentChange": "viewOffsetPercentChange"; }, never, never, false, never>;
|
|
177
184
|
}
|