@propbinder/mobile-design 0.3.34 → 0.3.36
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/fesm2022/propbinder-mobile-design.mjs +331 -201
- package/fesm2022/propbinder-mobile-design.mjs.map +1 -1
- package/index.d.ts +50 -16
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -737,7 +737,7 @@ declare class DsMobileProfileActionsSheetComponent implements OnInit, OnChanges
|
|
|
737
737
|
/**
|
|
738
738
|
* Current view state
|
|
739
739
|
*/
|
|
740
|
-
currentView: _angular_core.WritableSignal<"
|
|
740
|
+
currentView: _angular_core.WritableSignal<"main" | "language">;
|
|
741
741
|
/**
|
|
742
742
|
* Reference to the view container for height calculations
|
|
743
743
|
*/
|
|
@@ -1021,8 +1021,8 @@ interface WhitelabelConfig {
|
|
|
1021
1021
|
* Initialize with custom config:
|
|
1022
1022
|
* ```typescript
|
|
1023
1023
|
* whitelabelService.initialize({
|
|
1024
|
-
* logoUrl: '/
|
|
1025
|
-
* logoMarkUrl: '/
|
|
1024
|
+
* logoUrl: '/assets/logos/acme-logo.svg',
|
|
1025
|
+
* logoMarkUrl: '/assets/logos/acme-mark.svg',
|
|
1026
1026
|
* accent: '#2563eb',
|
|
1027
1027
|
* onAccent: '#ffffff',
|
|
1028
1028
|
* headerSurface: '#1e40af',
|
|
@@ -3715,9 +3715,6 @@ declare class DsMobileLightboxImageComponent implements OnInit, AfterViewInit, O
|
|
|
3715
3715
|
* Close the lightbox
|
|
3716
3716
|
*/
|
|
3717
3717
|
close(): void;
|
|
3718
|
-
/**
|
|
3719
|
-
* Handle share button click
|
|
3720
|
-
*/
|
|
3721
3718
|
onShare(): Promise<void>;
|
|
3722
3719
|
/**
|
|
3723
3720
|
* Handle download action
|
|
@@ -6651,6 +6648,19 @@ declare class DsMobilePostDetailModalComponent implements OnInit, AfterViewInit
|
|
|
6651
6648
|
onDeleteComment?: (payload: {
|
|
6652
6649
|
commentId: string;
|
|
6653
6650
|
}) => void;
|
|
6651
|
+
textReplySingle: string;
|
|
6652
|
+
textReplyPlural: string;
|
|
6653
|
+
textNoRepliesTitle: string;
|
|
6654
|
+
textNoRepliesDesc: string;
|
|
6655
|
+
textAddReply: string;
|
|
6656
|
+
textEditComment: string;
|
|
6657
|
+
textEditingComment: string;
|
|
6658
|
+
textReplyingTo: string;
|
|
6659
|
+
textSend: string;
|
|
6660
|
+
textClosePost: string;
|
|
6661
|
+
textJustNow: string;
|
|
6662
|
+
textEdited: string;
|
|
6663
|
+
textConfirmDelete: string;
|
|
6654
6664
|
commentInput?: ElementRef<HTMLTextAreaElement>;
|
|
6655
6665
|
post: _angular_core.WritableSignal<PostDetailData>;
|
|
6656
6666
|
commentText: _angular_core.WritableSignal<string>;
|
|
@@ -6725,7 +6735,7 @@ declare class DsMobilePostDetailModalComponent implements OnInit, AfterViewInit
|
|
|
6725
6735
|
*/
|
|
6726
6736
|
handleCommentLongPress(authorName: string, content: string, isOwnComment: boolean): Promise<void>;
|
|
6727
6737
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobilePostDetailModalComponent, never>;
|
|
6728
|
-
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; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "onTogglePostLike": { "alias": "onTogglePostLike"; "required": false; }; "onSubmitComment": { "alias": "onSubmitComment"; "required": false; }; "onToggleCommentLike": { "alias": "onToggleCommentLike"; "required": false; }; "onEditComment": { "alias": "onEditComment"; "required": false; }; "onDeleteComment": { "alias": "onDeleteComment"; "required": false; }; }, {}, never, never, true, never>;
|
|
6738
|
+
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; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "onTogglePostLike": { "alias": "onTogglePostLike"; "required": false; }; "onSubmitComment": { "alias": "onSubmitComment"; "required": false; }; "onToggleCommentLike": { "alias": "onToggleCommentLike"; "required": false; }; "onEditComment": { "alias": "onEditComment"; "required": false; }; "onDeleteComment": { "alias": "onDeleteComment"; "required": false; }; "textReplySingle": { "alias": "textReplySingle"; "required": false; }; "textReplyPlural": { "alias": "textReplyPlural"; "required": false; }; "textNoRepliesTitle": { "alias": "textNoRepliesTitle"; "required": false; }; "textNoRepliesDesc": { "alias": "textNoRepliesDesc"; "required": false; }; "textAddReply": { "alias": "textAddReply"; "required": false; }; "textEditComment": { "alias": "textEditComment"; "required": false; }; "textEditingComment": { "alias": "textEditingComment"; "required": false; }; "textReplyingTo": { "alias": "textReplyingTo"; "required": false; }; "textSend": { "alias": "textSend"; "required": false; }; "textClosePost": { "alias": "textClosePost"; "required": false; }; "textJustNow": { "alias": "textJustNow"; "required": false; }; "textEdited": { "alias": "textEdited"; "required": false; }; "textConfirmDelete": { "alias": "textConfirmDelete"; "required": false; }; }, {}, never, never, true, never>;
|
|
6729
6739
|
}
|
|
6730
6740
|
|
|
6731
6741
|
/**
|
|
@@ -6804,6 +6814,19 @@ declare class DsMobilePostDetailModalService extends BaseModalService {
|
|
|
6804
6814
|
}) => void;
|
|
6805
6815
|
currentUserName?: string;
|
|
6806
6816
|
currentUserInitials?: string;
|
|
6817
|
+
textReplySingle?: string;
|
|
6818
|
+
textReplyPlural?: string;
|
|
6819
|
+
textNoRepliesTitle?: string;
|
|
6820
|
+
textNoRepliesDesc?: string;
|
|
6821
|
+
textAddReply?: string;
|
|
6822
|
+
textEditComment?: string;
|
|
6823
|
+
textEditingComment?: string;
|
|
6824
|
+
textReplyingTo?: string;
|
|
6825
|
+
textSend?: string;
|
|
6826
|
+
textClosePost?: string;
|
|
6827
|
+
textJustNow?: string;
|
|
6828
|
+
textEdited?: string;
|
|
6829
|
+
textConfirmDelete?: string;
|
|
6807
6830
|
}): Promise<void>;
|
|
6808
6831
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobilePostDetailModalService, never>;
|
|
6809
6832
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DsMobilePostDetailModalService>;
|
|
@@ -7448,6 +7471,10 @@ interface BookingModalExtras {
|
|
|
7448
7471
|
labels?: {
|
|
7449
7472
|
selectFromCalendar?: string;
|
|
7450
7473
|
confirmBooking?: string;
|
|
7474
|
+
confirmationTitle?: string;
|
|
7475
|
+
confirmationMessageTemplate?: string;
|
|
7476
|
+
confirmationClose?: string;
|
|
7477
|
+
monthNamesShort?: string[];
|
|
7451
7478
|
};
|
|
7452
7479
|
}
|
|
7453
7480
|
/**
|
|
@@ -7549,12 +7576,16 @@ declare class DsMobileBookingSummaryComponent {
|
|
|
7549
7576
|
declare class DsMobileBookingConfirmationWrapperComponent {
|
|
7550
7577
|
booking: BookingResult;
|
|
7551
7578
|
facilityThumbnail?: string;
|
|
7579
|
+
textTitle: string;
|
|
7580
|
+
textMessageTemplate: string;
|
|
7581
|
+
textClose: string;
|
|
7582
|
+
monthNamesShort: string[];
|
|
7552
7583
|
get confirmationMessage(): string;
|
|
7553
7584
|
get formattedDate(): string;
|
|
7554
7585
|
get formattedTime(): string;
|
|
7555
7586
|
private formatFullDate;
|
|
7556
7587
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobileBookingConfirmationWrapperComponent, never>;
|
|
7557
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileBookingConfirmationWrapperComponent, "ds-mobile-booking-confirmation-wrapper", never, { "booking": { "alias": "booking"; "required": false; }; "facilityThumbnail": { "alias": "facilityThumbnail"; "required": false; }; }, {}, never, never, true, never>;
|
|
7588
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileBookingConfirmationWrapperComponent, "ds-mobile-booking-confirmation-wrapper", never, { "booking": { "alias": "booking"; "required": false; }; "facilityThumbnail": { "alias": "facilityThumbnail"; "required": false; }; "textTitle": { "alias": "textTitle"; "required": false; }; "textMessageTemplate": { "alias": "textMessageTemplate"; "required": false; }; "textClose": { "alias": "textClose"; "required": false; }; "monthNamesShort": { "alias": "monthNamesShort"; "required": false; }; }, {}, never, never, true, never>;
|
|
7558
7589
|
}
|
|
7559
7590
|
|
|
7560
7591
|
/**
|
|
@@ -8126,7 +8157,7 @@ declare class DsMobileFacilityDetailModalComponent implements OnInit, AfterViewI
|
|
|
8126
8157
|
* await this.facilityModal.open({
|
|
8127
8158
|
* id: 'facility-1',
|
|
8128
8159
|
* facilityTitle: 'Festlokale på taget',
|
|
8129
|
-
* heroImage: '/
|
|
8160
|
+
* heroImage: '/assets/Dummy-photos/balcony-view.jpg',
|
|
8130
8161
|
* fullDescription: '<p>The rooftop terrace is designed...</p>',
|
|
8131
8162
|
* requirements: ['Kræver nøglekort'],
|
|
8132
8163
|
* bookingType: 'Instant booking',
|
|
@@ -8181,7 +8212,8 @@ interface HandbookDetailData {
|
|
|
8181
8212
|
items?: HandbookItem[];
|
|
8182
8213
|
textLoading?: string;
|
|
8183
8214
|
textError?: string;
|
|
8184
|
-
|
|
8215
|
+
textItemSingle?: string;
|
|
8216
|
+
textItemsPlural?: string;
|
|
8185
8217
|
textClose?: string;
|
|
8186
8218
|
textEmptyTitle?: string;
|
|
8187
8219
|
textEmptyDescription?: string;
|
|
@@ -8297,7 +8329,8 @@ declare class DsMobileHandbookDetailModalComponent implements OnInit {
|
|
|
8297
8329
|
error?: string;
|
|
8298
8330
|
textLoading: string;
|
|
8299
8331
|
textError: string;
|
|
8300
|
-
|
|
8332
|
+
textItemSingle: string;
|
|
8333
|
+
textItemsPlural: string;
|
|
8301
8334
|
textClose: string;
|
|
8302
8335
|
textEmptyTitle: string;
|
|
8303
8336
|
textEmptyDescription: string;
|
|
@@ -8338,7 +8371,7 @@ declare class DsMobileHandbookDetailModalComponent implements OnInit {
|
|
|
8338
8371
|
*/
|
|
8339
8372
|
handleAttachmentClick(attachment: AttachmentItem): void;
|
|
8340
8373
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobileHandbookDetailModalComponent, never>;
|
|
8341
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileHandbookDetailModalComponent, "ds-mobile-handbook-detail-modal", never, { "handbookData": { "alias": "handbookData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "textLoading": { "alias": "textLoading"; "required": false; }; "textError": { "alias": "textError"; "required": false; }; "
|
|
8374
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileHandbookDetailModalComponent, "ds-mobile-handbook-detail-modal", never, { "handbookData": { "alias": "handbookData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "textLoading": { "alias": "textLoading"; "required": false; }; "textError": { "alias": "textError"; "required": false; }; "textItemSingle": { "alias": "textItemSingle"; "required": false; }; "textItemsPlural": { "alias": "textItemsPlural"; "required": false; }; "textClose": { "alias": "textClose"; "required": false; }; "textEmptyTitle": { "alias": "textEmptyTitle"; "required": false; }; "textEmptyDescription": { "alias": "textEmptyDescription"; "required": false; }; "textCall": { "alias": "textCall"; "required": false; }; "textCopyPhone": { "alias": "textCopyPhone"; "required": false; }; "textEmail": { "alias": "textEmail"; "required": false; }; "textCopyEmail": { "alias": "textCopyEmail"; "required": false; }; }, {}, never, never, true, never>;
|
|
8342
8375
|
}
|
|
8343
8376
|
|
|
8344
8377
|
/**
|
|
@@ -8464,7 +8497,8 @@ declare class DsMobileHandbookFolderComponent {
|
|
|
8464
8497
|
error?: string;
|
|
8465
8498
|
textLoading: string;
|
|
8466
8499
|
textError: string;
|
|
8467
|
-
|
|
8500
|
+
textItemSingle: string;
|
|
8501
|
+
textItemsPlural: string;
|
|
8468
8502
|
textClose: string;
|
|
8469
8503
|
textEmptyTitle: string;
|
|
8470
8504
|
textEmptyDescription: string;
|
|
@@ -8512,7 +8546,7 @@ declare class DsMobileHandbookFolderComponent {
|
|
|
8512
8546
|
getPageSheets(): number[];
|
|
8513
8547
|
constructor(handbookModal: DsMobileHandbookDetailModalService);
|
|
8514
8548
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobileHandbookFolderComponent, never>;
|
|
8515
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileHandbookFolderComponent, "ds-mobile-handbook-folder", never, { "variant": { "alias": "variant"; "required": false; }; "customColor": { "alias": "customColor"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "itemCount": { "alias": "itemCount"; "required": false; }; "label": { "alias": "label"; "required": false; }; "items": { "alias": "items"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "textLoading": { "alias": "textLoading"; "required": false; }; "textError": { "alias": "textError"; "required": false; }; "
|
|
8549
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileHandbookFolderComponent, "ds-mobile-handbook-folder", never, { "variant": { "alias": "variant"; "required": false; }; "customColor": { "alias": "customColor"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "itemCount": { "alias": "itemCount"; "required": false; }; "label": { "alias": "label"; "required": false; }; "items": { "alias": "items"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "textLoading": { "alias": "textLoading"; "required": false; }; "textError": { "alias": "textError"; "required": false; }; "textItemSingle": { "alias": "textItemSingle"; "required": false; }; "textItemsPlural": { "alias": "textItemsPlural"; "required": false; }; "textClose": { "alias": "textClose"; "required": false; }; "textEmptyTitle": { "alias": "textEmptyTitle"; "required": false; }; "textEmptyDescription": { "alias": "textEmptyDescription"; "required": false; }; "textCall": { "alias": "textCall"; "required": false; }; "textCopyPhone": { "alias": "textCopyPhone"; "required": false; }; "textEmail": { "alias": "textEmail"; "required": false; }; "textCopyEmail": { "alias": "textCopyEmail"; "required": false; }; }, {}, never, never, true, never>;
|
|
8516
8550
|
}
|
|
8517
8551
|
|
|
8518
8552
|
/**
|
|
@@ -8807,7 +8841,7 @@ declare class DsAvatarWithBadgeComponent {
|
|
|
8807
8841
|
* ```html
|
|
8808
8842
|
* <!-- With image -->
|
|
8809
8843
|
* <ds-mobile-empty-state
|
|
8810
|
-
* [imageSrc]="'/
|
|
8844
|
+
* [imageSrc]="'/assets/empty-state-inquiry.svg'"
|
|
8811
8845
|
* [imageAlt]="'No messages'"
|
|
8812
8846
|
* [title]="'Ingen beskeder endnu'"
|
|
8813
8847
|
* [description]="'Start samtalen ved at sende en besked'">
|
|
@@ -8948,7 +8982,7 @@ declare class DsMobileIllustrationComponent {
|
|
|
8948
8982
|
* ```html
|
|
8949
8983
|
* <ds-mobile-property-banner
|
|
8950
8984
|
* address="Toftegårds Allé 5A, 2. tv."
|
|
8951
|
-
* photoUrl="/
|
|
8985
|
+
* photoUrl="/assets/building.jpg"
|
|
8952
8986
|
* [tenantCount]="12">
|
|
8953
8987
|
* </ds-mobile-property-banner>
|
|
8954
8988
|
* ```
|