@propbinder/mobile-design 0.1.0 → 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
@@ -443,7 +443,7 @@ declare class DsMobilePostCardComponent {
443
443
  * - 'detail' - Full detail view
444
444
  * - 'compact' - Compact display for nested/related posts
445
445
  */
446
- variant: _angular_core.InputSignal<"compact" | "feed" | "detail">;
446
+ variant: _angular_core.InputSignal<"feed" | "detail" | "compact">;
447
447
  /**
448
448
  * Whether the post card is clickable
449
449
  */
@@ -943,7 +943,7 @@ declare class DsMobileListItemComponent {
943
943
  * - 'detail' - Full detail view
944
944
  * - 'compact' - Compact display for nested/related items
945
945
  */
946
- variant: _angular_core.InputSignal<"compact" | "feed" | "detail">;
946
+ variant: _angular_core.InputSignal<"feed" | "detail" | "compact">;
947
947
  /**
948
948
  * Whether the list item is interactive (clickable and long-pressable)
949
949
  * When true, adds interactive background, cursor pointer, and touch handlers
@@ -1113,7 +1113,7 @@ declare class DsMobileInteractiveListItemPostComponent {
1113
1113
  * - 'detail' - Full detail view
1114
1114
  * - 'compact' - Compact display for nested/related posts
1115
1115
  */
1116
- variant: _angular_core.InputSignal<"compact" | "feed" | "detail">;
1116
+ variant: _angular_core.InputSignal<"feed" | "detail" | "compact">;
1117
1117
  /**
1118
1118
  * Whether the post card is clickable
1119
1119
  */
@@ -1218,7 +1218,7 @@ declare class DsMobileInteractiveListItemInquiryComponent {
1218
1218
  * - 'detail' - Full detail view
1219
1219
  * - 'compact' - Compact display
1220
1220
  */
1221
- variant: _angular_core.InputSignal<"compact" | "feed" | "detail">;
1221
+ variant: _angular_core.InputSignal<"feed" | "detail" | "compact">;
1222
1222
  /**
1223
1223
  * Whether the inquiry item is clickable
1224
1224
  */
@@ -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
@@ -2969,7 +3018,7 @@ declare class MobileInquiriesPageComponent {
2969
3018
  userService: UserService;
2970
3019
  private navCtrl;
2971
3020
  constructor(userService: UserService, navCtrl: NavController);
2972
- filterStatus: _angular_core.WritableSignal<"all" | "open" | "closed">;
3021
+ filterStatus: _angular_core.WritableSignal<"open" | "closed" | "all">;
2973
3022
  tabItems: InlineTabItem[];
2974
3023
  inquiries: _angular_core.WritableSignal<Inquiry[]>;
2975
3024
  filteredInquiries: _angular_core.Signal<Inquiry[]>;
@@ -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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propbinder/mobile-design",
3
- "version": "0.1.0",
3
+ "version": "0.1.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0 || ^21.0.0",
6
6
  "@angular/core": "^20.3.0 || ^21.0.0"