@propbinder/mobile-design 0.1.1 → 0.1.11
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
|
@@ -2687,6 +2687,55 @@ interface ContactItem {
|
|
|
2687
2687
|
contactPerson?: string;
|
|
2688
2688
|
phoneNumber?: string;
|
|
2689
2689
|
}
|
|
2690
|
+
/**
|
|
2691
|
+
* DsMobileHandbookDetailModalComponent
|
|
2692
|
+
*
|
|
2693
|
+
* Modal wrapper for displaying handbook folder details.
|
|
2694
|
+
*
|
|
2695
|
+
* Features:
|
|
2696
|
+
* - Folder content display
|
|
2697
|
+
* - Items list with descriptions
|
|
2698
|
+
* - Images and attachments
|
|
2699
|
+
* - Contact information
|
|
2700
|
+
* - Native modal controls (close, swipe down)
|
|
2701
|
+
* - Safe area support
|
|
2702
|
+
*
|
|
2703
|
+
* This component is typically not used directly - use DsMobileHandbookDetailModalService instead.
|
|
2704
|
+
*/
|
|
2705
|
+
declare class DsMobileHandbookDetailModalComponent {
|
|
2706
|
+
private modalController;
|
|
2707
|
+
handbookData: HandbookDetailData;
|
|
2708
|
+
handbook: _angular_core.WritableSignal<HandbookDetailData>;
|
|
2709
|
+
constructor(modalController: ModalController);
|
|
2710
|
+
ngOnInit(): void;
|
|
2711
|
+
/**
|
|
2712
|
+
* Split handbook items to enforce content structure rules:
|
|
2713
|
+
* - Never mix photos and documents (attachments) in the same section
|
|
2714
|
+
* - Never mix contact persons and attachments together in the same section
|
|
2715
|
+
*
|
|
2716
|
+
* This method splits items that violate these rules into multiple display items.
|
|
2717
|
+
* Each resulting item will have only compatible content types.
|
|
2718
|
+
*/
|
|
2719
|
+
splitItemsByContentRules(item: HandbookItem): HandbookItem[];
|
|
2720
|
+
/**
|
|
2721
|
+
* Get all display items with enforced content structure rules applied
|
|
2722
|
+
*/
|
|
2723
|
+
getDisplayItems(): HandbookItem[];
|
|
2724
|
+
/**
|
|
2725
|
+
* Close the modal
|
|
2726
|
+
*/
|
|
2727
|
+
close(): void;
|
|
2728
|
+
/**
|
|
2729
|
+
* Handle contact click
|
|
2730
|
+
*/
|
|
2731
|
+
handleContactClick(contact: ContactItem): void;
|
|
2732
|
+
/**
|
|
2733
|
+
* Handle attachment click
|
|
2734
|
+
*/
|
|
2735
|
+
handleAttachmentClick(attachment: AttachmentItem): void;
|
|
2736
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobileHandbookDetailModalComponent, never>;
|
|
2737
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileHandbookDetailModalComponent, "ds-mobile-handbook-detail-modal", never, { "handbookData": { "alias": "handbookData"; "required": false; }; }, {}, never, never, true, never>;
|
|
2738
|
+
}
|
|
2690
2739
|
|
|
2691
2740
|
/**
|
|
2692
2741
|
* DsMobileHandbookDetailModalService
|
|
@@ -3241,5 +3290,5 @@ declare const customPageTransition: (_: HTMLElement, opts: any) => Animation;
|
|
|
3241
3290
|
*/
|
|
3242
3291
|
declare const customBackTransition: (_: HTMLElement, opts: any) => Animation;
|
|
3243
3292
|
|
|
3244
|
-
export { ActionCommentComponent, ActionLikeComponent, ContentRowComponent, DsMobileActionsBottomSheetComponent, DsMobileBottomSheetService, DsMobileActionsBottomSheetComponent as DsMobileCommentActionsBottomSheetComponent, DsMobileCommentComponent, DsMobileContactListItemComponent, DsMobileContentComponent, DsMobileContentSectionComponent, DsMobileHandbookFolderComponent, DsMobileHandbookFolderMiniComponent, DsMobileHeaderContentComponent, DsMobileHeaderContentTileComponent, DsMobileInlinePhotoComponent, DsMobileInlineTabsComponent, DsMobileInteractiveListItemInquiryComponent, DsMobileInteractiveListItemMessageComponent, DsMobileInteractiveListItemPostComponent, DsMobileLightboxImageComponent as DsMobileLightboxComponent, DsMobileLightboxFooterComponent, DsMobileLightboxHeaderComponent, DsMobileLightboxImageComponent, DsMobileLightboxPdfComponent, DsMobileLightboxService, DsMobileListItemComponent, DsMobileLongPressDirective, DsMobileModalService, DsMobilePageDetailsComponent, DsMobilePageMainComponent, DsMobileActionsBottomSheetComponent as DsMobilePostActionsBottomSheetComponent, DsMobilePostCardComponent, DsMobilePostComposerComponent, DsMobilePostCreateBottomSheetComponent, DsMobilePostDetailModalComponent, DsMobilePostDetailModalService, DsMobileTabBarComponent, DsMobileTabsComponent, MobileCommunityPageComponent, MobileHandbookPageComponent, MobileHomePageComponent, MobileInquiriesPageComponent, MobileInquiryDetailPageComponent, MobilePageBase, MobilePostDetailPageComponent, MobileTabsExampleComponent, PostActionsComponent, PostAttachmentsComponent, PostContentComponent, PostCreatePageComponent, PostMediaComponent, PostPdfAttachmentComponent, PostTextComponent, SectionHeaderComponent, TileContentComponent, TileIconComponent, TileLabelComponent, TileValueComponent, UserService, WhitelabelDemoPage, WhitelabelService, customBackTransition, customPageTransition };
|
|
3245
|
-
export type { ActionGroup, ActionItem, ActionResult, BottomSheetOptions, ActionResult as CommentActionResult, CommentData, ContentWidth, InlineTabItem, LightboxAuthor, LightboxImage, LightboxImageOptions, LightboxMediaFile, LightboxMediaType, LightboxOptions, LightboxPdf, LightboxPdfOptions, ModalOptions, ActionResult as PostActionResult, PostDetailData, TabConfig$1 as TabConfig, WhitelabelConfig };
|
|
3293
|
+
export { ActionCommentComponent, ActionLikeComponent, ContentRowComponent, DsMobileActionsBottomSheetComponent, DsMobileBottomSheetService, DsMobileActionsBottomSheetComponent as DsMobileCommentActionsBottomSheetComponent, DsMobileCommentComponent, DsMobileContactListItemComponent, DsMobileContentComponent, DsMobileContentSectionComponent, DsMobileHandbookDetailModalComponent, DsMobileHandbookDetailModalService, DsMobileHandbookFolderComponent, DsMobileHandbookFolderMiniComponent, DsMobileHeaderContentComponent, DsMobileHeaderContentTileComponent, DsMobileInlinePhotoComponent, DsMobileInlineTabsComponent, DsMobileInteractiveListItemInquiryComponent, DsMobileInteractiveListItemMessageComponent, DsMobileInteractiveListItemPostComponent, DsMobileLightboxImageComponent as DsMobileLightboxComponent, DsMobileLightboxFooterComponent, DsMobileLightboxHeaderComponent, DsMobileLightboxImageComponent, DsMobileLightboxPdfComponent, DsMobileLightboxService, DsMobileListItemComponent, DsMobileLongPressDirective, DsMobileModalService, DsMobilePageDetailsComponent, DsMobilePageMainComponent, DsMobileActionsBottomSheetComponent as DsMobilePostActionsBottomSheetComponent, DsMobilePostCardComponent, DsMobilePostComposerComponent, DsMobilePostCreateBottomSheetComponent, DsMobilePostDetailModalComponent, DsMobilePostDetailModalService, DsMobileTabBarComponent, DsMobileTabsComponent, MobileCommunityPageComponent, MobileHandbookPageComponent, MobileHomePageComponent, MobileInquiriesPageComponent, MobileInquiryDetailPageComponent, MobilePageBase, MobilePostDetailPageComponent, MobileTabsExampleComponent, PostActionsComponent, PostAttachmentsComponent, PostContentComponent, PostCreatePageComponent, PostMediaComponent, PostPdfAttachmentComponent, PostTextComponent, SectionHeaderComponent, TileContentComponent, TileIconComponent, TileLabelComponent, TileValueComponent, UserService, WhitelabelDemoPage, WhitelabelService, customBackTransition, customPageTransition };
|
|
3294
|
+
export type { ActionGroup, ActionItem, ActionResult, AttachmentItem, BottomSheetOptions, ActionResult as CommentActionResult, CommentData, ContactItem, ContentWidth, HandbookDetailData, HandbookItem, InlineTabItem, LightboxAuthor, LightboxImage, LightboxImageOptions, LightboxMediaFile, LightboxMediaType, LightboxOptions, LightboxPdf, LightboxPdfOptions, ModalOptions, ActionResult as PostActionResult, PostDetailData, TabConfig$1 as TabConfig, WhitelabelConfig };
|