@propbinder/mobile-design 0.1.11 → 0.1.13
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.
|
@@ -3451,6 +3451,97 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
3451
3451
|
`, styles: [":host{display:block;max-width:640px;cursor:pointer;transition:all .2s ease}.composer-container{display:flex;align-items:center;gap:12px}.composer-input-wrapper{flex:1;min-width:0}.composer-input{width:100%;background:rgba(var(--header-content-color-rgb, 255, 255, 255),.1);border:none;border-radius:24px;padding:10px 16px;font-family:Brockmann,sans-serif;font-size:var(--font-size-sm);font-weight:400;line-height:20px;letter-spacing:-.3px;color:rgba(var(--header-content-color-rgb, 255, 255, 255),.75);outline:none;cursor:pointer;transition:all .2s ease;pointer-events:none;-webkit-user-select:none;user-select:none}.composer-input::placeholder{color:rgba(var(--header-content-color-rgb, 255, 255, 255),.75);opacity:1}@media (hover: hover){:host:hover .composer-input{opacity:.8}}\n"] }]
|
|
3452
3452
|
}], propDecorators: { avatarInitials: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarInitials", required: false }] }], avatarType: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarType", required: false }] }], avatarSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarSrc", required: false }] }], avatarIconName: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarIconName", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], buttonText: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonText", required: false }] }], composerClick: [{ type: i0.Output, args: ["composerClick"] }] } });
|
|
3453
3453
|
|
|
3454
|
+
/**
|
|
3455
|
+
* DsMobileListItemStaticComponent
|
|
3456
|
+
*
|
|
3457
|
+
* A read-only version of the interactive list item component.
|
|
3458
|
+
* Used for displaying static information without interaction.
|
|
3459
|
+
*
|
|
3460
|
+
* This component has the same structure as the interactive list item but without:
|
|
3461
|
+
* - Padding
|
|
3462
|
+
* - Rounded corners
|
|
3463
|
+
* - Hover states
|
|
3464
|
+
* - Click interactions
|
|
3465
|
+
* - Background fill (transparent)
|
|
3466
|
+
*
|
|
3467
|
+
* @example
|
|
3468
|
+
* ```html
|
|
3469
|
+
* <ds-mobile-list-item-static
|
|
3470
|
+
* [leadingSize]="'40px'">
|
|
3471
|
+
*
|
|
3472
|
+
* <div content-leading>
|
|
3473
|
+
* <ds-avatar initials="JD" />
|
|
3474
|
+
* </div>
|
|
3475
|
+
*
|
|
3476
|
+
* <div content-main>
|
|
3477
|
+
* <h3>Main Content</h3>
|
|
3478
|
+
* <p>Supporting text goes here...</p>
|
|
3479
|
+
* </div>
|
|
3480
|
+
*
|
|
3481
|
+
* <div content-trailing>
|
|
3482
|
+
* <span>Info</span>
|
|
3483
|
+
* </div>
|
|
3484
|
+
* </ds-mobile-list-item-static>
|
|
3485
|
+
* ```
|
|
3486
|
+
*/
|
|
3487
|
+
class DsMobileListItemStaticComponent {
|
|
3488
|
+
/**
|
|
3489
|
+
* CSS size value for the leading content area (e.g., '32px', '40px', '48px')
|
|
3490
|
+
* Defaults to '32px' for standard list item avatars
|
|
3491
|
+
*/
|
|
3492
|
+
leadingSize = input('32px', ...(ngDevMode ? [{ debugName: "leadingSize" }] : []));
|
|
3493
|
+
/**
|
|
3494
|
+
* Check if leading content slot has content
|
|
3495
|
+
*/
|
|
3496
|
+
hasLeadingContent = computed(() => true, ...(ngDevMode ? [{ debugName: "hasLeadingContent" }] : [])); // Always render slot container for consistency
|
|
3497
|
+
/**
|
|
3498
|
+
* Check if trailing content slot has content
|
|
3499
|
+
*/
|
|
3500
|
+
hasTrailingContent = computed(() => true, ...(ngDevMode ? [{ debugName: "hasTrailingContent" }] : [])); // Always render slot container for consistency
|
|
3501
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileListItemStaticComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3502
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.14", type: DsMobileListItemStaticComponent, isStandalone: true, selector: "ds-mobile-list-item-static", inputs: { leadingSize: { classPropertyName: "leadingSize", publicName: "leadingSize", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--leading-size": "leadingSize()" } }, ngImport: i0, template: `
|
|
3503
|
+
@if (hasLeadingContent()) {
|
|
3504
|
+
<div class="content-leading">
|
|
3505
|
+
<ng-content select="[content-leading]" />
|
|
3506
|
+
</div>
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3509
|
+
<div class="content-main">
|
|
3510
|
+
<ng-content select="[content-main]" />
|
|
3511
|
+
<ng-content />
|
|
3512
|
+
</div>
|
|
3513
|
+
|
|
3514
|
+
@if (hasTrailingContent()) {
|
|
3515
|
+
<div class="content-trailing">
|
|
3516
|
+
<ng-content select="[content-trailing]" />
|
|
3517
|
+
</div>
|
|
3518
|
+
}
|
|
3519
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:row;align-items:flex-start;background:transparent;padding:0;gap:12px;position:relative;--leading-size: 32px}:host:after{content:\"\";position:absolute;bottom:-10px;left:calc(var(--leading-size) + 12px);right:0;height:1px;background:var(--border-color-default)}:host:last-child:after{display:none}.content-leading{flex-shrink:0;width:var(--leading-size);min-height:var(--leading-size);height:auto;display:flex;align-items:center;justify-content:center}.content-main{flex:1;min-width:0;min-height:var(--leading-size);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px}.content-trailing{flex-shrink:0;display:flex;align-items:flex-start}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
3520
|
+
}
|
|
3521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileListItemStaticComponent, decorators: [{
|
|
3522
|
+
type: Component,
|
|
3523
|
+
args: [{ selector: 'ds-mobile-list-item-static', standalone: true, imports: [CommonModule], host: {
|
|
3524
|
+
'[style.--leading-size]': 'leadingSize()'
|
|
3525
|
+
}, template: `
|
|
3526
|
+
@if (hasLeadingContent()) {
|
|
3527
|
+
<div class="content-leading">
|
|
3528
|
+
<ng-content select="[content-leading]" />
|
|
3529
|
+
</div>
|
|
3530
|
+
}
|
|
3531
|
+
|
|
3532
|
+
<div class="content-main">
|
|
3533
|
+
<ng-content select="[content-main]" />
|
|
3534
|
+
<ng-content />
|
|
3535
|
+
</div>
|
|
3536
|
+
|
|
3537
|
+
@if (hasTrailingContent()) {
|
|
3538
|
+
<div class="content-trailing">
|
|
3539
|
+
<ng-content select="[content-trailing]" />
|
|
3540
|
+
</div>
|
|
3541
|
+
}
|
|
3542
|
+
`, styles: [":host{display:flex;flex-direction:row;align-items:flex-start;background:transparent;padding:0;gap:12px;position:relative;--leading-size: 32px}:host:after{content:\"\";position:absolute;bottom:-10px;left:calc(var(--leading-size) + 12px);right:0;height:1px;background:var(--border-color-default)}:host:last-child:after{display:none}.content-leading{flex-shrink:0;width:var(--leading-size);min-height:var(--leading-size);height:auto;display:flex;align-items:center;justify-content:center}.content-main{flex:1;min-width:0;min-height:var(--leading-size);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px}.content-trailing{flex-shrink:0;display:flex;align-items:flex-start}\n"] }]
|
|
3543
|
+
}], propDecorators: { leadingSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "leadingSize", required: false }] }] } });
|
|
3544
|
+
|
|
3454
3545
|
/**
|
|
3455
3546
|
* DsMobileInteractiveListItemPostComponent
|
|
3456
3547
|
*
|
|
@@ -10556,97 +10647,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
10556
10647
|
`, styles: [".inquiries-container{display:flex;flex-direction:column;max-width:640px}.inquiry-list-wrapper{display:flex;flex-direction:column}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.empty-state-title{font-family:Brockmann,sans-serif;font-size:var(--font-size-base);font-weight:600;color:var(--color-text-primary);margin:16px 0 8px}.empty-state-description{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm);color:var(--color-text-secondary);margin:0}\n"] }]
|
|
10557
10648
|
}], ctorParameters: () => [{ type: UserService }, { type: i1.NavController }] });
|
|
10558
10649
|
|
|
10559
|
-
/**
|
|
10560
|
-
* DsMobileListItemStaticComponent
|
|
10561
|
-
*
|
|
10562
|
-
* A read-only version of the interactive list item component.
|
|
10563
|
-
* Used for displaying static information without interaction.
|
|
10564
|
-
*
|
|
10565
|
-
* This component has the same structure as the interactive list item but without:
|
|
10566
|
-
* - Padding
|
|
10567
|
-
* - Rounded corners
|
|
10568
|
-
* - Hover states
|
|
10569
|
-
* - Click interactions
|
|
10570
|
-
* - Background fill (transparent)
|
|
10571
|
-
*
|
|
10572
|
-
* @example
|
|
10573
|
-
* ```html
|
|
10574
|
-
* <ds-mobile-list-item-static
|
|
10575
|
-
* [leadingSize]="'40px'">
|
|
10576
|
-
*
|
|
10577
|
-
* <div content-leading>
|
|
10578
|
-
* <ds-avatar initials="JD" />
|
|
10579
|
-
* </div>
|
|
10580
|
-
*
|
|
10581
|
-
* <div content-main>
|
|
10582
|
-
* <h3>Main Content</h3>
|
|
10583
|
-
* <p>Supporting text goes here...</p>
|
|
10584
|
-
* </div>
|
|
10585
|
-
*
|
|
10586
|
-
* <div content-trailing>
|
|
10587
|
-
* <span>Info</span>
|
|
10588
|
-
* </div>
|
|
10589
|
-
* </ds-mobile-list-item-static>
|
|
10590
|
-
* ```
|
|
10591
|
-
*/
|
|
10592
|
-
class DsMobileListItemStaticComponent {
|
|
10593
|
-
/**
|
|
10594
|
-
* CSS size value for the leading content area (e.g., '32px', '40px', '48px')
|
|
10595
|
-
* Defaults to '32px' for standard list item avatars
|
|
10596
|
-
*/
|
|
10597
|
-
leadingSize = input('32px', ...(ngDevMode ? [{ debugName: "leadingSize" }] : []));
|
|
10598
|
-
/**
|
|
10599
|
-
* Check if leading content slot has content
|
|
10600
|
-
*/
|
|
10601
|
-
hasLeadingContent = computed(() => true, ...(ngDevMode ? [{ debugName: "hasLeadingContent" }] : [])); // Always render slot container for consistency
|
|
10602
|
-
/**
|
|
10603
|
-
* Check if trailing content slot has content
|
|
10604
|
-
*/
|
|
10605
|
-
hasTrailingContent = computed(() => true, ...(ngDevMode ? [{ debugName: "hasTrailingContent" }] : [])); // Always render slot container for consistency
|
|
10606
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileListItemStaticComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10607
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.14", type: DsMobileListItemStaticComponent, isStandalone: true, selector: "ds-mobile-list-item-static", inputs: { leadingSize: { classPropertyName: "leadingSize", publicName: "leadingSize", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--leading-size": "leadingSize()" } }, ngImport: i0, template: `
|
|
10608
|
-
@if (hasLeadingContent()) {
|
|
10609
|
-
<div class="content-leading">
|
|
10610
|
-
<ng-content select="[content-leading]" />
|
|
10611
|
-
</div>
|
|
10612
|
-
}
|
|
10613
|
-
|
|
10614
|
-
<div class="content-main">
|
|
10615
|
-
<ng-content select="[content-main]" />
|
|
10616
|
-
<ng-content />
|
|
10617
|
-
</div>
|
|
10618
|
-
|
|
10619
|
-
@if (hasTrailingContent()) {
|
|
10620
|
-
<div class="content-trailing">
|
|
10621
|
-
<ng-content select="[content-trailing]" />
|
|
10622
|
-
</div>
|
|
10623
|
-
}
|
|
10624
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row;align-items:flex-start;background:transparent;padding:0;gap:12px;position:relative;--leading-size: 32px}:host:after{content:\"\";position:absolute;bottom:-10px;left:calc(var(--leading-size) + 12px);right:0;height:1px;background:var(--border-color-default)}:host:last-child:after{display:none}.content-leading{flex-shrink:0;width:var(--leading-size);min-height:var(--leading-size);height:auto;display:flex;align-items:center;justify-content:center}.content-main{flex:1;min-width:0;min-height:var(--leading-size);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px}.content-trailing{flex-shrink:0;display:flex;align-items:flex-start}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
10625
|
-
}
|
|
10626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileListItemStaticComponent, decorators: [{
|
|
10627
|
-
type: Component,
|
|
10628
|
-
args: [{ selector: 'ds-mobile-list-item-static', standalone: true, imports: [CommonModule], host: {
|
|
10629
|
-
'[style.--leading-size]': 'leadingSize()'
|
|
10630
|
-
}, template: `
|
|
10631
|
-
@if (hasLeadingContent()) {
|
|
10632
|
-
<div class="content-leading">
|
|
10633
|
-
<ng-content select="[content-leading]" />
|
|
10634
|
-
</div>
|
|
10635
|
-
}
|
|
10636
|
-
|
|
10637
|
-
<div class="content-main">
|
|
10638
|
-
<ng-content select="[content-main]" />
|
|
10639
|
-
<ng-content />
|
|
10640
|
-
</div>
|
|
10641
|
-
|
|
10642
|
-
@if (hasTrailingContent()) {
|
|
10643
|
-
<div class="content-trailing">
|
|
10644
|
-
<ng-content select="[content-trailing]" />
|
|
10645
|
-
</div>
|
|
10646
|
-
}
|
|
10647
|
-
`, styles: [":host{display:flex;flex-direction:row;align-items:flex-start;background:transparent;padding:0;gap:12px;position:relative;--leading-size: 32px}:host:after{content:\"\";position:absolute;bottom:-10px;left:calc(var(--leading-size) + 12px);right:0;height:1px;background:var(--border-color-default)}:host:last-child:after{display:none}.content-leading{flex-shrink:0;width:var(--leading-size);min-height:var(--leading-size);height:auto;display:flex;align-items:center;justify-content:center}.content-main{flex:1;min-width:0;min-height:var(--leading-size);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px}.content-trailing{flex-shrink:0;display:flex;align-items:flex-start}\n"] }]
|
|
10648
|
-
}], propDecorators: { leadingSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "leadingSize", required: false }] }] } });
|
|
10649
|
-
|
|
10650
10650
|
class MobileInquiryDetailPageComponent extends MobilePageBase {
|
|
10651
10651
|
userService;
|
|
10652
10652
|
navCtrl;
|
|
@@ -13120,5 +13120,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
13120
13120
|
* Generated bundle index. Do not edit.
|
|
13121
13121
|
*/
|
|
13122
13122
|
|
|
13123
|
-
export { ActionCommentComponent$1 as ActionCommentComponent, ActionLikeComponent$1 as 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$1 as DsMobileTabsComponent, MobileCommunityPageComponent, MobileHandbookPageComponent, MobileHomePageComponent, MobileInquiriesPageComponent, MobileInquiryDetailPageComponent, MobilePageBase, MobilePostDetailPageComponent, MobileTabsExampleComponent, PostActionsComponent$1 as PostActionsComponent, PostAttachmentsComponent$1 as PostAttachmentsComponent, PostContentComponent$1 as PostContentComponent, PostCreatePageComponent, PostMediaComponent$1 as PostMediaComponent, PostPdfAttachmentComponent, PostTextComponent$1 as PostTextComponent, SectionHeaderComponent, TileContentComponent, TileIconComponent, TileLabelComponent, TileValueComponent, UserService, WhitelabelDemoPage, WhitelabelService, customBackTransition, customPageTransition };
|
|
13123
|
+
export { ActionCommentComponent$1 as ActionCommentComponent, ActionLikeComponent$1 as 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, DsMobileListItemStaticComponent, DsMobileLongPressDirective, DsMobileModalService, DsMobilePageDetailsComponent, DsMobilePageMainComponent, DsMobileActionsBottomSheetComponent as DsMobilePostActionsBottomSheetComponent, DsMobilePostCardComponent, DsMobilePostComposerComponent, DsMobilePostCreateBottomSheetComponent, DsMobilePostDetailModalComponent, DsMobilePostDetailModalService, DsMobileTabBarComponent, DsMobileTabsComponent$1 as DsMobileTabsComponent, MobileCommunityPageComponent, MobileHandbookPageComponent, MobileHomePageComponent, MobileInquiriesPageComponent, MobileInquiryDetailPageComponent, MobilePageBase, MobilePostDetailPageComponent, MobileTabsExampleComponent, PostActionsComponent$1 as PostActionsComponent, PostAttachmentsComponent$1 as PostAttachmentsComponent, PostContentComponent$1 as PostContentComponent, PostCreatePageComponent, PostMediaComponent$1 as PostMediaComponent, PostPdfAttachmentComponent, PostTextComponent$1 as PostTextComponent, SectionHeaderComponent, TileContentComponent, TileIconComponent, TileLabelComponent, TileValueComponent, UserService, WhitelabelDemoPage, WhitelabelService, customBackTransition, customPageTransition };
|
|
13124
13124
|
//# sourceMappingURL=propbinder-mobile-design.mjs.map
|