@propbinder/mobile-design 0.2.92 → 0.2.97
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 +607 -424
- package/fesm2022/propbinder-mobile-design.mjs.map +1 -1
- package/index.d.ts +44 -15
- 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
|
*/
|
|
@@ -861,6 +861,7 @@ declare class DsMobilePageMainComponent extends MobilePageBase implements AfterV
|
|
|
861
861
|
avatarInitials: _angular_core.InputSignal<string>;
|
|
862
862
|
avatarSrc: _angular_core.InputSignal<string>;
|
|
863
863
|
avatarIconName: _angular_core.InputSignal<string>;
|
|
864
|
+
showNotification: _angular_core.InputSignal<boolean>;
|
|
864
865
|
notificationCount: _angular_core.InputSignal<number>;
|
|
865
866
|
showRefresh: _angular_core.InputSignal<boolean>;
|
|
866
867
|
showCondensedHeader: _angular_core.InputSignal<boolean>;
|
|
@@ -898,7 +899,7 @@ declare class DsMobilePageMainComponent extends MobilePageBase implements AfterV
|
|
|
898
899
|
* {
|
|
899
900
|
* actions: [
|
|
900
901
|
* { action: 'profile', title: 'Min profil', icon: 'remixUser3Line' },
|
|
901
|
-
* { action: 'settings', title: '
|
|
902
|
+
* { action: 'settings', title: 'Notifikationer', icon: 'remixNotificationLine' }
|
|
902
903
|
* ]
|
|
903
904
|
* },
|
|
904
905
|
* {
|
|
@@ -938,7 +939,7 @@ declare class DsMobilePageMainComponent extends MobilePageBase implements AfterV
|
|
|
938
939
|
*/
|
|
939
940
|
handleRefresh(event: any): Promise<void>;
|
|
940
941
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobilePageMainComponent, never>;
|
|
941
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobilePageMainComponent, "ds-mobile-page-main", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "headerTitle": { "alias": "headerTitle"; "required": false; "isSignal": true; }; "headerSubtitle": { "alias": "headerSubtitle"; "required": false; "isSignal": true; }; "firstEntry": { "alias": "firstEntry"; "required": false; "isSignal": true; }; "avatarType": { "alias": "avatarType"; "required": false; "isSignal": true; }; "avatarInitials": { "alias": "avatarInitials"; "required": false; "isSignal": true; }; "avatarSrc": { "alias": "avatarSrc"; "required": false; "isSignal": true; }; "avatarIconName": { "alias": "avatarIconName"; "required": false; "isSignal": true; }; "notificationCount": { "alias": "notificationCount"; "required": false; "isSignal": true; }; "showRefresh": { "alias": "showRefresh"; "required": false; "isSignal": true; }; "showCondensedHeader": { "alias": "showCondensedHeader"; "required": false; "isSignal": true; }; "scrollThreshold": { "alias": "scrollThreshold"; "required": false; "isSignal": true; }; "headerFadeDistance": { "alias": "headerFadeDistance"; "required": false; "isSignal": true; }; "contentPadding": { "alias": "contentPadding"; "required": false; "isSignal": true; }; "profileMenuItems": { "alias": "profileMenuItems"; "required": false; "isSignal": true; }; }, { "notificationClick": "notificationClick"; "avatarClick": "avatarClick"; "profileActionSelected": "profileActionSelected"; "refresh": "refresh"; "scroll": "scroll"; }, never, ["[header-content]", "[offline-indicator]", "*"], true, never>;
|
|
942
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobilePageMainComponent, "ds-mobile-page-main", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "headerTitle": { "alias": "headerTitle"; "required": false; "isSignal": true; }; "headerSubtitle": { "alias": "headerSubtitle"; "required": false; "isSignal": true; }; "firstEntry": { "alias": "firstEntry"; "required": false; "isSignal": true; }; "avatarType": { "alias": "avatarType"; "required": false; "isSignal": true; }; "avatarInitials": { "alias": "avatarInitials"; "required": false; "isSignal": true; }; "avatarSrc": { "alias": "avatarSrc"; "required": false; "isSignal": true; }; "avatarIconName": { "alias": "avatarIconName"; "required": false; "isSignal": true; }; "showNotification": { "alias": "showNotification"; "required": false; "isSignal": true; }; "notificationCount": { "alias": "notificationCount"; "required": false; "isSignal": true; }; "showRefresh": { "alias": "showRefresh"; "required": false; "isSignal": true; }; "showCondensedHeader": { "alias": "showCondensedHeader"; "required": false; "isSignal": true; }; "scrollThreshold": { "alias": "scrollThreshold"; "required": false; "isSignal": true; }; "headerFadeDistance": { "alias": "headerFadeDistance"; "required": false; "isSignal": true; }; "contentPadding": { "alias": "contentPadding"; "required": false; "isSignal": true; }; "profileMenuItems": { "alias": "profileMenuItems"; "required": false; "isSignal": true; }; }, { "notificationClick": "notificationClick"; "avatarClick": "avatarClick"; "profileActionSelected": "profileActionSelected"; "refresh": "refresh"; "scroll": "scroll"; }, never, ["[header-content]", "[offline-indicator]", "*"], true, never>;
|
|
942
943
|
}
|
|
943
944
|
|
|
944
945
|
interface InlineTabItem {
|
|
@@ -2805,7 +2806,7 @@ declare class DsMobileListItemComponent implements AfterViewInit {
|
|
|
2805
2806
|
* - 'center' - Align to center
|
|
2806
2807
|
* - 'bottom' - Align to bottom
|
|
2807
2808
|
*/
|
|
2808
|
-
align: _angular_core.InputSignal<"top" | "
|
|
2809
|
+
align: _angular_core.InputSignal<"top" | "center" | "bottom">;
|
|
2809
2810
|
/**
|
|
2810
2811
|
* Remove top padding — use on the first item in a section when there is
|
|
2811
2812
|
* no preceding content, to avoid unnecessary whitespace.
|
|
@@ -3093,7 +3094,7 @@ declare class DsMobileInteractiveListItemPostComponent {
|
|
|
3093
3094
|
* - 'center' - Align to center
|
|
3094
3095
|
* - 'bottom' - Align to bottom
|
|
3095
3096
|
*/
|
|
3096
|
-
align: _angular_core.InputSignal<"top" | "
|
|
3097
|
+
align: _angular_core.InputSignal<"top" | "center" | "bottom">;
|
|
3097
3098
|
/**
|
|
3098
3099
|
* Whether the post card is clickable
|
|
3099
3100
|
*/
|
|
@@ -3321,7 +3322,7 @@ declare class DsMobileInteractiveListItemInquiryComponent {
|
|
|
3321
3322
|
* - 'center' - Align to center
|
|
3322
3323
|
* - 'bottom' - Align to bottom
|
|
3323
3324
|
*/
|
|
3324
|
-
align: _angular_core.InputSignal<"top" | "
|
|
3325
|
+
align: _angular_core.InputSignal<"top" | "center" | "bottom">;
|
|
3325
3326
|
/**
|
|
3326
3327
|
* Whether the inquiry item is clickable
|
|
3327
3328
|
*/
|
|
@@ -4757,7 +4758,7 @@ declare class DsMobileInteractiveListItemMessageComponent {
|
|
|
4757
4758
|
* - 'center' - Align to center
|
|
4758
4759
|
* - 'bottom' - Align to bottom
|
|
4759
4760
|
*/
|
|
4760
|
-
align: _angular_core.InputSignal<"top" | "
|
|
4761
|
+
align: _angular_core.InputSignal<"top" | "center" | "bottom">;
|
|
4761
4762
|
/**
|
|
4762
4763
|
* Whitelabel logomark on the avatar corner (e.g. org branding for staff).
|
|
4763
4764
|
* Default true — preserves backward compatibility with inquiry assignee rows.
|
|
@@ -4819,7 +4820,7 @@ declare class DsMobileContactListItemComponent {
|
|
|
4819
4820
|
/** Show a trailing trash-bin icon; emits {@link deleteClick} on tap. */
|
|
4820
4821
|
showDeleteAction: _angular_core.InputSignal<boolean>;
|
|
4821
4822
|
variant: _angular_core.InputSignal<"compact" | undefined>;
|
|
4822
|
-
align: _angular_core.InputSignal<"top" | "
|
|
4823
|
+
align: _angular_core.InputSignal<"top" | "center" | "bottom">;
|
|
4823
4824
|
contactClick: _angular_core.OutputEmitterRef<void>;
|
|
4824
4825
|
selectionToggle: _angular_core.OutputEmitterRef<void>;
|
|
4825
4826
|
moreClick: _angular_core.OutputEmitterRef<void>;
|
|
@@ -5306,7 +5307,7 @@ declare class DsMobileInteractiveListItemBookingComponent {
|
|
|
5306
5307
|
* - 'center' - Align to center
|
|
5307
5308
|
* - 'bottom' - Align to bottom
|
|
5308
5309
|
*/
|
|
5309
|
-
align: _angular_core.InputSignal<"top" | "
|
|
5310
|
+
align: _angular_core.InputSignal<"top" | "center" | "bottom">;
|
|
5310
5311
|
/**
|
|
5311
5312
|
* Whether the booking item is clickable
|
|
5312
5313
|
*/
|
|
@@ -6829,7 +6830,7 @@ declare class DsMobileCardInlineComponent {
|
|
|
6829
6830
|
* - 'default' - Column layout with standard padding (gap: 12px, padding: 10px 12px)
|
|
6830
6831
|
* - 'compact' - Row layout with reduced padding (gap: 8px, padding: 10px)
|
|
6831
6832
|
*/
|
|
6832
|
-
variant: _angular_core.InputSignal<"
|
|
6833
|
+
variant: _angular_core.InputSignal<"compact" | "default">;
|
|
6833
6834
|
/**
|
|
6834
6835
|
* Whether the card is disabled
|
|
6835
6836
|
* Disables all interactions and reduces opacity
|
|
@@ -6892,7 +6893,7 @@ declare class DsMobileCardInlineBannerComponent {
|
|
|
6892
6893
|
* - 'default' - Standard padding and column layout
|
|
6893
6894
|
* - 'compact' - Reduced padding and row layout
|
|
6894
6895
|
*/
|
|
6895
|
-
layout: _angular_core.InputSignal<"
|
|
6896
|
+
layout: _angular_core.InputSignal<"compact" | "default">;
|
|
6896
6897
|
/**
|
|
6897
6898
|
* Emits when the banner is clicked
|
|
6898
6899
|
*/
|
|
@@ -6947,7 +6948,7 @@ declare class DsMobileCardInlineContactComponent {
|
|
|
6947
6948
|
* - 'default' - Standard padding and column layout
|
|
6948
6949
|
* - 'compact' - Reduced padding and row layout
|
|
6949
6950
|
*/
|
|
6950
|
-
layout: _angular_core.InputSignal<"
|
|
6951
|
+
layout: _angular_core.InputSignal<"compact" | "default">;
|
|
6951
6952
|
/**
|
|
6952
6953
|
* Whether the contact item is clickable
|
|
6953
6954
|
*/
|
|
@@ -7012,7 +7013,7 @@ declare class DsMobileCardInlineFileComponent {
|
|
|
7012
7013
|
* - 'default' - Standard padding and column layout
|
|
7013
7014
|
* - 'compact' - Reduced padding and row layout
|
|
7014
7015
|
*/
|
|
7015
|
-
layout: _angular_core.InputSignal<"
|
|
7016
|
+
layout: _angular_core.InputSignal<"compact" | "default">;
|
|
7016
7017
|
/**
|
|
7017
7018
|
* Optional URL to open when clicked
|
|
7018
7019
|
* If provided, clicking the card will open this URL in a new tab
|
|
@@ -9010,6 +9011,16 @@ declare class DsMobileCountBadgeComponent {
|
|
|
9010
9011
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileCountBadgeComponent, "ds-mobile-count-badge", never, { "count": { "alias": "count"; "required": true; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9011
9012
|
}
|
|
9012
9013
|
|
|
9014
|
+
declare class DsMobileToggleComponent {
|
|
9015
|
+
checked: _angular_core.ModelSignal<boolean>;
|
|
9016
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
9017
|
+
changed: _angular_core.OutputEmitterRef<boolean>;
|
|
9018
|
+
handleClick(event: Event): void;
|
|
9019
|
+
toggle(): void;
|
|
9020
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobileToggleComponent, never>;
|
|
9021
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileToggleComponent, "ds-mobile-toggle", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "changed": "changed"; }, never, never, true, never>;
|
|
9022
|
+
}
|
|
9023
|
+
|
|
9013
9024
|
/**
|
|
9014
9025
|
* Post and Comment Models
|
|
9015
9026
|
* Unified data structures for community posts
|
|
@@ -9110,9 +9121,18 @@ declare class PostsService {
|
|
|
9110
9121
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PostsService>;
|
|
9111
9122
|
}
|
|
9112
9123
|
|
|
9124
|
+
type NotificationCategory = 'messages' | 'bookings' | 'community' | 'inquiries' | 'services' | 'handbook' | 'system';
|
|
9113
9125
|
declare class NotificationService {
|
|
9114
9126
|
readonly notifications: _angular_core.WritableSignal<NotificationItem[]>;
|
|
9115
9127
|
readonly unreadCount: _angular_core.Signal<number>;
|
|
9128
|
+
/**
|
|
9129
|
+
* Push notification delivery preferences per category.
|
|
9130
|
+
* Controls which types of push notifications the device receives —
|
|
9131
|
+
* does NOT filter the in-app notification list.
|
|
9132
|
+
*/
|
|
9133
|
+
readonly disabledPushCategories: _angular_core.WritableSignal<Set<NotificationCategory>>;
|
|
9134
|
+
isPushEnabled(category: NotificationCategory): boolean;
|
|
9135
|
+
setPushEnabled(category: NotificationCategory, enabled: boolean): void;
|
|
9116
9136
|
/**
|
|
9117
9137
|
* Add a new notification to the top of the list.
|
|
9118
9138
|
* Intended for downstream push integration — call this when a
|
|
@@ -10034,5 +10054,14 @@ declare class NotificationPromptService {
|
|
|
10034
10054
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<NotificationPromptService>;
|
|
10035
10055
|
}
|
|
10036
10056
|
|
|
10037
|
-
|
|
10038
|
-
|
|
10057
|
+
declare class SettingsModalService {
|
|
10058
|
+
private modalController;
|
|
10059
|
+
constructor(modalController: ModalController);
|
|
10060
|
+
open(): Promise<void>;
|
|
10061
|
+
close(data?: any): Promise<boolean>;
|
|
10062
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SettingsModalService, never>;
|
|
10063
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SettingsModalService>;
|
|
10064
|
+
}
|
|
10065
|
+
|
|
10066
|
+
export { AcceptInvitePageComponent, ActionCommentComponent, ActionLikeComponent, AvatarUploadPageComponent, BaseModalService, ContentRowComponent, CreateAccountPageComponent, DEFAULT_SERVICE_PAGE_LABELS, DsAppIconComponent, DsAvatarWithBadgeComponent, DsLogoComponent, DsMobileAccessSheetComponent, DsMobileActionListItemComponent, DsMobileActionsBottomSheetComponent, DsMobileAddGroupTenantsModalComponent, DsMobileAppLoadingComponent, DsMobileAttachmentPreviewComponent, DsMobileBookingConfirmationWrapperComponent, DsMobileBookingModalComponent, DsMobileBookingModalService, DsMobileBookingSummaryComponent, DsMobileBottomSheetHeaderComponent, DsMobileBottomSheetService, DsMobileBottomSheetWrapperComponent, DsMobileCapacitySheetComponent, DsMobileCardInlineBannerComponent, DsMobileCardInlineComponent, DsMobileCardInlineContactComponent, DsMobileCardInlineFileComponent, DsMobileChatModalComponent, DsMobileChatModalService, DsMobileActionsBottomSheetComponent as DsMobileCommentActionsBottomSheetComponent, DsMobileCommentComponent, DsMobileCommunityAdminPickerComponent, DsMobileCommunityAdminsModalComponent, DsMobileConfirmationSheetComponent, DsMobileContactListItemComponent, DsMobileContentComponent, DsMobileCountBadgeComponent, DsMobileCreateGroupModalComponent, DsMobileDropdownComponent, DsMobileEditGroupModalComponent, DsMobileEmptyStateComponent, DsMobileFabComponent, DsMobileFacilityArchiveConfirmationComponent, DsMobileFacilityCreationConfirmationWrapperComponent, DsMobileFacilityCreationModalComponent, DsMobileFacilityCreationModalService, DsMobileFacilityDeleteConfirmationComponent, DsMobileFacilityDetailModalComponent, DsMobileFacilityDetailModalService, DsMobileFileAttachmentComponent, DsMobileGlassSpinnerComponent, DsMobileGroupAvatarStackComponent, DsMobileGroupMembersModalComponent, DsMobileHandbookDetailModalComponent, DsMobileHandbookDetailModalService, DsMobileHandbookFolderComponent, DsMobileHandbookFolderMiniComponent, DsMobileHeaderContentComponent, DsMobileHeaderContentTileComponent, DsMobileIllustrationComponent, DsMobileImagePlaceholderComponent, DsMobileInlinePhotoComponent, DsMobileInlineTabsComponent, DsMobileInteractiveListItemBookingComponent, DsMobileInteractiveListItemInquiryComponent, DsMobileInteractiveListItemMessageComponent, DsMobileInteractiveListItemPostComponent, DsMobileLightboxImageComponent as DsMobileLightboxComponent, DsMobileLightboxFooterComponent, DsMobileLightboxHeaderComponent, DsMobileLightboxImageComponent, DsMobileLightboxImageWithDescriptionComponent, DsMobileLightboxPdfComponent, DsMobileLightboxService, DsMobileListItemComponent, DsMobileListItemStaticComponent, DsMobileListSearchComponent, DsMobileLoaderOverlayComponent, DsMobileLongPressDirective, DsMobileMediaActionsPanelComponent, DsMobileMessageBubbleComponent, DsMobileMessageComposerComponent, DsMobileModalBaseComponent, DsMobileModalService, DsMobileNewInquiryModalComponent, DsMobileNewInquiryModalService, DsMobileNotificationButtonComponent, DsMobileNotificationModalComponent, DsMobileNotificationModalService, DsMobileNotificationPromptComponent, DsMobileOfflineBannerComponent, DsMobilePageDetailsComponent, DsMobilePageMainComponent, DsMobilePillComponent, DsMobileActionsBottomSheetComponent as DsMobilePostActionsBottomSheetComponent, DsMobilePostComposerComponent, DsMobilePostCreateBottomSheetComponent, DsMobilePostDetailModalComponent, DsMobilePostDetailModalService, DsMobilePriceSheetComponent, DsMobileProfileActionsSheetComponent, DsMobilePromptBottomSheetComponent, DsMobilePropertyBannerComponent, DsMobileRichTextEditorComponent, DsMobileSectionComponent, DsMobileServiceVendorModalService, DsMobileServiceVendorSheetComponent, DsMobileSwiperComponent, DsMobileSwiperWithNavComponent, DsMobileSystemMessageBannerComponent, DsMobileTabBarComponent, DsMobileTabsComponent, DsMobileTenantPickerModalComponent, DsMobileToggleComponent, DsMobileWhenCanBookSheetComponent, DsMobileWhoCanBookSheetComponent, DsTextInputComponent, FamilyAccessPageComponent, FamilyAccessService, InquiriesService, InviteSuccessPageComponent, MediaPickerService, MobileBookingPageComponent, MobileCommunityPageComponent, MobileHandbookPageComponent, MobileHomePageComponent, MobileInquiriesPageComponent, MobileInquiryDetailPageComponent, MobileModalBase, MobilePageBase, MobilePostDetailPageComponent, MobileTabsExampleComponent, NOTIFICATION_ICON_MAP, NotificationPromptService, NotificationService, PageLoadingService, PostActionsComponent, PostAttachmentsComponent, PostContentComponent, PostCreatePageComponent, PostMediaComponent, PostPdfAttachmentComponent, PostTextComponent, PostsService, RelativeTimePipe, SAMPLE_NOTIFICATIONS, SectionHeaderComponent, ServicesPageComponent, SettingsModalService, SignInPageComponent, SignInToAcceptPageComponent, TenantChatPageComponent, TileContentComponent, TileIconComponent, TileLabelComponent, TileValueComponent, TrackingPermissionService, UserService, VENDOR_MODAL_SERVICE, WhitelabelDemoModalComponent, WhitelabelDemoModalService, WhitelabelService, customBackTransition, customPageTransition, dateBucket };
|
|
10067
|
+
export type { ActionGroup, ActionItem, ActionResult, AddGroupTenantPickerRow, AppIconSize, AttachmentData, AttachmentFileType, AttachmentItem, AvatarSize, AvatarType, BadgePosition, BookingModalExtras, BookingResult, BottomSheetOptions, ChatAttachment, ChatGroupPanelLabels, ChatMessage, ChatModalData, ChatModalGroupData, ChatModalLabels, ChatParticipant, Comment, ActionResult as CommentActionResult, CommentData, CommunityAdminRow, ContactItem, ContactType, ContentWidth, CreateGroupMember, CreateGroupResult, DateOption, DropdownAlign, DropdownPosition, DsMobileDropdownItem, EditGroupMember, EditGroupResult, FacilityCreationModalOptions, FacilityDetailData, FacilityDetailDisplayData, FacilityDetailEditContext, FamilyInvite, FamilyMember, FamilyMemberStatus, GroupMemberRow, HandbookDetailData, HandbookItem, InlineTabItem, Inquiry, InquiryPhoto, Language, LightboxAuthor, LightboxImage, LightboxImageOptions, LightboxImageWithDescription, LightboxImageWithDescriptionOptions, LightboxMediaFile, LightboxMediaType, LightboxOptions, LightboxPdf, LightboxPdfOptions, LoadingPhase, LogoSize, LogoVariant, MediaPickerResult, ModalOptions, MoreMenuItem, NetworkStatus, NewFacilityData, NewInquiryData, NewInquiryModalOptions, NotificationCategory, NotificationItem, NotificationLeading, NotificationType, Post, ActionResult as PostActionResult, PostDetailData, PromptBottomSheetResult, PromptGroupPreviewMember, ServicePageLabels, ServiceVendor, TabConfig, TimeSlot, VendorModalOpener, WhitelabelConfig };
|