@propbinder/mobile-design 0.1.18 → 0.1.20
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
|
@@ -2594,6 +2594,12 @@ declare class DsMobilePostDetailModalComponent implements AfterViewInit, OnDestr
|
|
|
2594
2594
|
private lightbox;
|
|
2595
2595
|
private bottomSheet;
|
|
2596
2596
|
postData: PostDetailData;
|
|
2597
|
+
currentUserName: string;
|
|
2598
|
+
currentUserInitialsInput: string;
|
|
2599
|
+
onSubmitComment?: (payload: {
|
|
2600
|
+
postId: string;
|
|
2601
|
+
text: string;
|
|
2602
|
+
}) => void;
|
|
2597
2603
|
/**
|
|
2598
2604
|
* Loading state - when true, shows loading indicator
|
|
2599
2605
|
* Set this to true while fetching post data from your API
|
|
@@ -2691,7 +2697,7 @@ declare class DsMobilePostDetailModalComponent implements AfterViewInit, OnDestr
|
|
|
2691
2697
|
*/
|
|
2692
2698
|
handleCommentLongPress(authorName: string, content: string, isOwnComment: boolean): Promise<void>;
|
|
2693
2699
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobilePostDetailModalComponent, never>;
|
|
2694
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobilePostDetailModalComponent, "ds-mobile-post-detail-modal", never, { "postData": { "alias": "postData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, {}, never, never, true, never>;
|
|
2700
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobilePostDetailModalComponent, "ds-mobile-post-detail-modal", never, { "postData": { "alias": "postData"; "required": false; }; "currentUserName": { "alias": "currentUserName"; "required": false; }; "currentUserInitialsInput": { "alias": "currentUserInitialsInput"; "required": false; }; "onSubmitComment": { "alias": "onSubmitComment"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, {}, never, never, true, never>;
|
|
2695
2701
|
}
|
|
2696
2702
|
|
|
2697
2703
|
/**
|
|
@@ -2750,6 +2756,12 @@ declare class DsMobilePostDetailModalService {
|
|
|
2750
2756
|
open(postData: PostDetailData, options?: {
|
|
2751
2757
|
loading?: boolean;
|
|
2752
2758
|
error?: string;
|
|
2759
|
+
onSubmitComment?: (payload: {
|
|
2760
|
+
postId: string;
|
|
2761
|
+
text: string;
|
|
2762
|
+
}) => void;
|
|
2763
|
+
currentUserName?: string;
|
|
2764
|
+
currentUserInitials?: string;
|
|
2753
2765
|
}): Promise<void>;
|
|
2754
2766
|
/**
|
|
2755
2767
|
* Close the currently open post detail modal
|
|
@@ -3185,7 +3197,7 @@ declare class DsMobileHandbookFolderMiniComponent {
|
|
|
3185
3197
|
* ```
|
|
3186
3198
|
*/
|
|
3187
3199
|
declare class DsTextInputComponent implements ControlValueAccessor {
|
|
3188
|
-
type: _angular_core.InputSignal<"search" | "
|
|
3200
|
+
type: _angular_core.InputSignal<"search" | "email" | "tel" | "url" | "password" | "text">;
|
|
3189
3201
|
placeholder: _angular_core.InputSignal<string>;
|
|
3190
3202
|
disabled: _angular_core.InputSignal<boolean>;
|
|
3191
3203
|
readonly: _angular_core.InputSignal<boolean>;
|
|
@@ -3193,7 +3205,7 @@ declare class DsTextInputComponent implements ControlValueAccessor {
|
|
|
3193
3205
|
hasError: _angular_core.InputSignal<boolean>;
|
|
3194
3206
|
errorMessage: _angular_core.InputSignal<string>;
|
|
3195
3207
|
autocomplete: _angular_core.InputSignal<string>;
|
|
3196
|
-
inputmode: _angular_core.InputSignal<"search" | "
|
|
3208
|
+
inputmode: _angular_core.InputSignal<"search" | "email" | "tel" | "url" | "text" | "numeric" | undefined>;
|
|
3197
3209
|
autoClearError: _angular_core.InputSignal<boolean>;
|
|
3198
3210
|
validator: _angular_core.InputSignal<((value: string) => boolean) | null>;
|
|
3199
3211
|
valueChange: _angular_core.OutputEmitterRef<string>;
|
|
@@ -3487,8 +3499,8 @@ interface WhitelabelConfig {
|
|
|
3487
3499
|
* Initialize with custom config:
|
|
3488
3500
|
* ```typescript
|
|
3489
3501
|
* whitelabelService.initialize({
|
|
3490
|
-
* logoUrl: '/
|
|
3491
|
-
* logoMarkUrl: '/
|
|
3502
|
+
* logoUrl: '/Assets/logos/acme-logo.svg',
|
|
3503
|
+
* logoMarkUrl: '/Assets/logos/acme-mark.svg',
|
|
3492
3504
|
* primaryColor: '#2563eb',
|
|
3493
3505
|
* secondaryColor: '#3b82f6',
|
|
3494
3506
|
* organizationName: 'Acme Corp'
|