@propbinder/mobile-design 0.2.81 → 0.2.83
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/index.d.ts
CHANGED
|
@@ -846,7 +846,7 @@ declare class DsMobilePageMainComponent extends MobilePageBase implements AfterV
|
|
|
846
846
|
headerSubtitle: _angular_core.InputSignal<string>;
|
|
847
847
|
/** When true, the header logo plays a slide-in-from-top animation on first reveal */
|
|
848
848
|
firstEntry: _angular_core.InputSignal<boolean>;
|
|
849
|
-
avatarType: _angular_core.InputSignal<"
|
|
849
|
+
avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
|
|
850
850
|
avatarInitials: _angular_core.InputSignal<string>;
|
|
851
851
|
avatarSrc: _angular_core.InputSignal<string>;
|
|
852
852
|
avatarIconName: _angular_core.InputSignal<string>;
|
|
@@ -1705,7 +1705,7 @@ declare class DsMobileCommentComponent {
|
|
|
1705
1705
|
/**
|
|
1706
1706
|
* Avatar type
|
|
1707
1707
|
*/
|
|
1708
|
-
avatarType: _angular_core.InputSignal<"
|
|
1708
|
+
avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
|
|
1709
1709
|
/**
|
|
1710
1710
|
* Whether the comment is clickable
|
|
1711
1711
|
*/
|
|
@@ -1840,7 +1840,7 @@ declare class DsMobilePostComposerComponent {
|
|
|
1840
1840
|
/**
|
|
1841
1841
|
* Avatar type
|
|
1842
1842
|
*/
|
|
1843
|
-
avatarType: _angular_core.InputSignal<"
|
|
1843
|
+
avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
|
|
1844
1844
|
/**
|
|
1845
1845
|
* Avatar photo source (for photo type)
|
|
1846
1846
|
*/
|
|
@@ -2133,7 +2133,7 @@ declare class DsMobileMessageComposerComponent implements AfterViewInit, OnDestr
|
|
|
2133
2133
|
/**
|
|
2134
2134
|
* Avatar type
|
|
2135
2135
|
*/
|
|
2136
|
-
avatarType: _angular_core.InputSignal<"
|
|
2136
|
+
avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
|
|
2137
2137
|
/**
|
|
2138
2138
|
* Avatar photo source (for photo type)
|
|
2139
2139
|
*/
|
|
@@ -2502,7 +2502,7 @@ declare class DsMobileMessageBubbleComponent {
|
|
|
2502
2502
|
/**
|
|
2503
2503
|
* Avatar type
|
|
2504
2504
|
*/
|
|
2505
|
-
avatarType: _angular_core.InputSignal<"
|
|
2505
|
+
avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
|
|
2506
2506
|
/**
|
|
2507
2507
|
* Avatar photo source (for photo type)
|
|
2508
2508
|
*/
|
|
@@ -3042,7 +3042,7 @@ declare class DsMobileInteractiveListItemPostComponent {
|
|
|
3042
3042
|
/**
|
|
3043
3043
|
* Avatar type
|
|
3044
3044
|
*/
|
|
3045
|
-
avatarType: _angular_core.InputSignal<"
|
|
3045
|
+
avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
|
|
3046
3046
|
/**
|
|
3047
3047
|
* Avatar photo source (for photo type)
|
|
3048
3048
|
*/
|
|
@@ -3415,6 +3415,10 @@ interface LightboxImageOptions {
|
|
|
3415
3415
|
showInfo?: boolean;
|
|
3416
3416
|
/** Show like & comment action buttons */
|
|
3417
3417
|
showActions?: boolean;
|
|
3418
|
+
/** Show download action button in header (overrides share if both are present or if share is removed) */
|
|
3419
|
+
showDownload?: boolean;
|
|
3420
|
+
/** Callback when download is clicked */
|
|
3421
|
+
onDownload?: (image: LightboxImage) => void;
|
|
3418
3422
|
/** Animation type for opening */
|
|
3419
3423
|
animation?: 'fade' | 'zoom' | 'slide';
|
|
3420
3424
|
}
|
|
@@ -3556,6 +3560,8 @@ declare class DsMobileLightboxImageComponent implements OnInit, AfterViewInit, O
|
|
|
3556
3560
|
enableSwipe: boolean;
|
|
3557
3561
|
showInfo: boolean;
|
|
3558
3562
|
showActions: boolean;
|
|
3563
|
+
showDownload: boolean;
|
|
3564
|
+
onDownload?: (image: LightboxImage) => void;
|
|
3559
3565
|
animation: 'fade' | 'zoom' | 'slide';
|
|
3560
3566
|
onCloseRequested?: () => void;
|
|
3561
3567
|
swiperContainer: ElementRef<HTMLDivElement>;
|
|
@@ -3602,6 +3608,10 @@ declare class DsMobileLightboxImageComponent implements OnInit, AfterViewInit, O
|
|
|
3602
3608
|
* Handle share button click
|
|
3603
3609
|
*/
|
|
3604
3610
|
onShare(): Promise<void>;
|
|
3611
|
+
/**
|
|
3612
|
+
* Handle download action
|
|
3613
|
+
*/
|
|
3614
|
+
onDownloadAction(): void;
|
|
3605
3615
|
/**
|
|
3606
3616
|
* Handle like button toggle
|
|
3607
3617
|
*/
|
|
@@ -3733,8 +3743,16 @@ declare class DsMobileLightboxHeaderComponent {
|
|
|
3733
3743
|
* Emitted when share button is clicked
|
|
3734
3744
|
*/
|
|
3735
3745
|
shareClick: _angular_core.OutputEmitterRef<void>;
|
|
3746
|
+
/**
|
|
3747
|
+
* Whether to show download button instead of share button
|
|
3748
|
+
*/
|
|
3749
|
+
showDownload: _angular_core.InputSignal<boolean>;
|
|
3750
|
+
/**
|
|
3751
|
+
* Emitted when download button is clicked
|
|
3752
|
+
*/
|
|
3753
|
+
downloadClick: _angular_core.OutputEmitterRef<void>;
|
|
3736
3754
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobileLightboxHeaderComponent, never>;
|
|
3737
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileLightboxHeaderComponent, "ds-mobile-lightbox-header", never, { "author": { "alias": "author"; "required": false; "isSignal": true; }; }, { "closeClick": "closeClick"; "shareClick": "shareClick"; }, never, never, true, never>;
|
|
3755
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileLightboxHeaderComponent, "ds-mobile-lightbox-header", never, { "author": { "alias": "author"; "required": false; "isSignal": true; }; "showDownload": { "alias": "showDownload"; "required": false; "isSignal": true; }; }, { "closeClick": "closeClick"; "shareClick": "shareClick"; "downloadClick": "downloadClick"; }, never, never, true, never>;
|
|
3738
3756
|
}
|
|
3739
3757
|
|
|
3740
3758
|
/**
|
|
@@ -4153,7 +4171,7 @@ declare class DsMobileChatModalComponent implements OnInit, AfterViewInit {
|
|
|
4153
4171
|
participant: _angular_core.WritableSignal<ChatParticipant>;
|
|
4154
4172
|
messages: _angular_core.WritableSignal<ChatMessage[]>;
|
|
4155
4173
|
currentUserInitials: _angular_core.WritableSignal<string>;
|
|
4156
|
-
currentUserAvatarType: _angular_core.WritableSignal<"
|
|
4174
|
+
currentUserAvatarType: _angular_core.WritableSignal<"photo" | "initials" | "icon">;
|
|
4157
4175
|
currentUserAvatarSrc: _angular_core.WritableSignal<string>;
|
|
4158
4176
|
autoFocus: _angular_core.WritableSignal<boolean>;
|
|
4159
4177
|
/** Inquiry shows system takeover copy; peer chat does not. */
|
|
@@ -4522,7 +4540,7 @@ declare class DsMobileInteractiveListItemMessageComponent {
|
|
|
4522
4540
|
/**
|
|
4523
4541
|
* Avatar type
|
|
4524
4542
|
*/
|
|
4525
|
-
avatarType: _angular_core.InputSignal<"
|
|
4543
|
+
avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
|
|
4526
4544
|
/**
|
|
4527
4545
|
* Avatar photo source (for photo type)
|
|
4528
4546
|
*/
|
|
@@ -4582,7 +4600,7 @@ declare class DsMobileContactListItemComponent {
|
|
|
4582
4600
|
initials: _angular_core.InputSignal<string>;
|
|
4583
4601
|
/** Optional photo */
|
|
4584
4602
|
avatarSrc: _angular_core.InputSignal<string>;
|
|
4585
|
-
avatarType: _angular_core.InputSignal<"
|
|
4603
|
+
avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
|
|
4586
4604
|
avatarIconName: _angular_core.InputSignal<string>;
|
|
4587
4605
|
/** Whitelabel corner badge (default off — same as community posts) */
|
|
4588
4606
|
showBadge: _angular_core.InputSignal<boolean>;
|
|
@@ -4815,7 +4833,7 @@ declare class UserService {
|
|
|
4815
4833
|
readonly displayName: _angular_core.Signal<string>;
|
|
4816
4834
|
readonly address: _angular_core.Signal<string>;
|
|
4817
4835
|
readonly avatarInitials: _angular_core.Signal<string>;
|
|
4818
|
-
readonly avatarType: _angular_core.Signal<"
|
|
4836
|
+
readonly avatarType: _angular_core.Signal<"photo" | "initials" | "icon">;
|
|
4819
4837
|
readonly avatarSrc: _angular_core.Signal<string>;
|
|
4820
4838
|
readonly profileMenuItems: _angular_core.Signal<ActionGroup[] | undefined>;
|
|
4821
4839
|
private profileActionSelectedSubject;
|