@propbinder/mobile-design 0.0.27 → 0.0.28
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.
|
@@ -3142,6 +3142,97 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
3142
3142
|
`, 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:#ffffff1a;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:#ffffff80;outline:none;cursor:pointer;transition:all .2s ease;pointer-events:none;-webkit-user-select:none;user-select:none}.composer-input::placeholder{color:#ffffff80;opacity:1}@media (hover: hover){:host:hover .composer-input{opacity:.8}}\n"] }]
|
|
3143
3143
|
}], 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"] }] } });
|
|
3144
3144
|
|
|
3145
|
+
/**
|
|
3146
|
+
* DsMobileListItemStaticComponent
|
|
3147
|
+
*
|
|
3148
|
+
* A read-only version of the interactive list item component.
|
|
3149
|
+
* Used for displaying static information without interaction.
|
|
3150
|
+
*
|
|
3151
|
+
* This component has the same structure as the interactive list item but without:
|
|
3152
|
+
* - Padding
|
|
3153
|
+
* - Rounded corners
|
|
3154
|
+
* - Hover states
|
|
3155
|
+
* - Click interactions
|
|
3156
|
+
* - Background fill (transparent)
|
|
3157
|
+
*
|
|
3158
|
+
* @example
|
|
3159
|
+
* ```html
|
|
3160
|
+
* <ds-mobile-list-item-static
|
|
3161
|
+
* [leadingSize]="'40px'">
|
|
3162
|
+
*
|
|
3163
|
+
* <div content-leading>
|
|
3164
|
+
* <ds-avatar initials="JD" />
|
|
3165
|
+
* </div>
|
|
3166
|
+
*
|
|
3167
|
+
* <div content-main>
|
|
3168
|
+
* <h3>Main Content</h3>
|
|
3169
|
+
* <p>Supporting text goes here...</p>
|
|
3170
|
+
* </div>
|
|
3171
|
+
*
|
|
3172
|
+
* <div content-trailing>
|
|
3173
|
+
* <span>Info</span>
|
|
3174
|
+
* </div>
|
|
3175
|
+
* </ds-mobile-list-item-static>
|
|
3176
|
+
* ```
|
|
3177
|
+
*/
|
|
3178
|
+
class DsMobileListItemStaticComponent {
|
|
3179
|
+
/**
|
|
3180
|
+
* CSS size value for the leading content area (e.g., '32px', '40px', '48px')
|
|
3181
|
+
* Defaults to '32px' for standard list item avatars
|
|
3182
|
+
*/
|
|
3183
|
+
leadingSize = input('32px', ...(ngDevMode ? [{ debugName: "leadingSize" }] : []));
|
|
3184
|
+
/**
|
|
3185
|
+
* Check if leading content slot has content
|
|
3186
|
+
*/
|
|
3187
|
+
hasLeadingContent = computed(() => true, ...(ngDevMode ? [{ debugName: "hasLeadingContent" }] : [])); // Always render slot container for consistency
|
|
3188
|
+
/**
|
|
3189
|
+
* Check if trailing content slot has content
|
|
3190
|
+
*/
|
|
3191
|
+
hasTrailingContent = computed(() => true, ...(ngDevMode ? [{ debugName: "hasTrailingContent" }] : [])); // Always render slot container for consistency
|
|
3192
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileListItemStaticComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3193
|
+
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: `
|
|
3194
|
+
@if (hasLeadingContent()) {
|
|
3195
|
+
<div class="content-leading">
|
|
3196
|
+
<ng-content select="[content-leading]" />
|
|
3197
|
+
</div>
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
<div class="content-main">
|
|
3201
|
+
<ng-content select="[content-main]" />
|
|
3202
|
+
<ng-content />
|
|
3203
|
+
</div>
|
|
3204
|
+
|
|
3205
|
+
@if (hasTrailingContent()) {
|
|
3206
|
+
<div class="content-trailing">
|
|
3207
|
+
<ng-content select="[content-trailing]" />
|
|
3208
|
+
</div>
|
|
3209
|
+
}
|
|
3210
|
+
`, 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 }] });
|
|
3211
|
+
}
|
|
3212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileListItemStaticComponent, decorators: [{
|
|
3213
|
+
type: Component,
|
|
3214
|
+
args: [{ selector: 'ds-mobile-list-item-static', standalone: true, imports: [CommonModule], host: {
|
|
3215
|
+
'[style.--leading-size]': 'leadingSize()'
|
|
3216
|
+
}, template: `
|
|
3217
|
+
@if (hasLeadingContent()) {
|
|
3218
|
+
<div class="content-leading">
|
|
3219
|
+
<ng-content select="[content-leading]" />
|
|
3220
|
+
</div>
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3223
|
+
<div class="content-main">
|
|
3224
|
+
<ng-content select="[content-main]" />
|
|
3225
|
+
<ng-content />
|
|
3226
|
+
</div>
|
|
3227
|
+
|
|
3228
|
+
@if (hasTrailingContent()) {
|
|
3229
|
+
<div class="content-trailing">
|
|
3230
|
+
<ng-content select="[content-trailing]" />
|
|
3231
|
+
</div>
|
|
3232
|
+
}
|
|
3233
|
+
`, 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"] }]
|
|
3234
|
+
}], propDecorators: { leadingSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "leadingSize", required: false }] }] } });
|
|
3235
|
+
|
|
3145
3236
|
/**
|
|
3146
3237
|
* DsMobileInteractiveListItemPostComponent
|
|
3147
3238
|
*
|
|
@@ -10159,97 +10250,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
10159
10250
|
`, 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"] }]
|
|
10160
10251
|
}], ctorParameters: () => [{ type: UserService }, { type: i1.NavController }] });
|
|
10161
10252
|
|
|
10162
|
-
/**
|
|
10163
|
-
* DsMobileListItemStaticComponent
|
|
10164
|
-
*
|
|
10165
|
-
* A read-only version of the interactive list item component.
|
|
10166
|
-
* Used for displaying static information without interaction.
|
|
10167
|
-
*
|
|
10168
|
-
* This component has the same structure as the interactive list item but without:
|
|
10169
|
-
* - Padding
|
|
10170
|
-
* - Rounded corners
|
|
10171
|
-
* - Hover states
|
|
10172
|
-
* - Click interactions
|
|
10173
|
-
* - Background fill (transparent)
|
|
10174
|
-
*
|
|
10175
|
-
* @example
|
|
10176
|
-
* ```html
|
|
10177
|
-
* <ds-mobile-list-item-static
|
|
10178
|
-
* [leadingSize]="'40px'">
|
|
10179
|
-
*
|
|
10180
|
-
* <div content-leading>
|
|
10181
|
-
* <ds-avatar initials="JD" />
|
|
10182
|
-
* </div>
|
|
10183
|
-
*
|
|
10184
|
-
* <div content-main>
|
|
10185
|
-
* <h3>Main Content</h3>
|
|
10186
|
-
* <p>Supporting text goes here...</p>
|
|
10187
|
-
* </div>
|
|
10188
|
-
*
|
|
10189
|
-
* <div content-trailing>
|
|
10190
|
-
* <span>Info</span>
|
|
10191
|
-
* </div>
|
|
10192
|
-
* </ds-mobile-list-item-static>
|
|
10193
|
-
* ```
|
|
10194
|
-
*/
|
|
10195
|
-
class DsMobileListItemStaticComponent {
|
|
10196
|
-
/**
|
|
10197
|
-
* CSS size value for the leading content area (e.g., '32px', '40px', '48px')
|
|
10198
|
-
* Defaults to '32px' for standard list item avatars
|
|
10199
|
-
*/
|
|
10200
|
-
leadingSize = input('32px', ...(ngDevMode ? [{ debugName: "leadingSize" }] : []));
|
|
10201
|
-
/**
|
|
10202
|
-
* Check if leading content slot has content
|
|
10203
|
-
*/
|
|
10204
|
-
hasLeadingContent = computed(() => true, ...(ngDevMode ? [{ debugName: "hasLeadingContent" }] : [])); // Always render slot container for consistency
|
|
10205
|
-
/**
|
|
10206
|
-
* Check if trailing content slot has content
|
|
10207
|
-
*/
|
|
10208
|
-
hasTrailingContent = computed(() => true, ...(ngDevMode ? [{ debugName: "hasTrailingContent" }] : [])); // Always render slot container for consistency
|
|
10209
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileListItemStaticComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10210
|
-
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: `
|
|
10211
|
-
@if (hasLeadingContent()) {
|
|
10212
|
-
<div class="content-leading">
|
|
10213
|
-
<ng-content select="[content-leading]" />
|
|
10214
|
-
</div>
|
|
10215
|
-
}
|
|
10216
|
-
|
|
10217
|
-
<div class="content-main">
|
|
10218
|
-
<ng-content select="[content-main]" />
|
|
10219
|
-
<ng-content />
|
|
10220
|
-
</div>
|
|
10221
|
-
|
|
10222
|
-
@if (hasTrailingContent()) {
|
|
10223
|
-
<div class="content-trailing">
|
|
10224
|
-
<ng-content select="[content-trailing]" />
|
|
10225
|
-
</div>
|
|
10226
|
-
}
|
|
10227
|
-
`, 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 }] });
|
|
10228
|
-
}
|
|
10229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileListItemStaticComponent, decorators: [{
|
|
10230
|
-
type: Component,
|
|
10231
|
-
args: [{ selector: 'ds-mobile-list-item-static', standalone: true, imports: [CommonModule], host: {
|
|
10232
|
-
'[style.--leading-size]': 'leadingSize()'
|
|
10233
|
-
}, template: `
|
|
10234
|
-
@if (hasLeadingContent()) {
|
|
10235
|
-
<div class="content-leading">
|
|
10236
|
-
<ng-content select="[content-leading]" />
|
|
10237
|
-
</div>
|
|
10238
|
-
}
|
|
10239
|
-
|
|
10240
|
-
<div class="content-main">
|
|
10241
|
-
<ng-content select="[content-main]" />
|
|
10242
|
-
<ng-content />
|
|
10243
|
-
</div>
|
|
10244
|
-
|
|
10245
|
-
@if (hasTrailingContent()) {
|
|
10246
|
-
<div class="content-trailing">
|
|
10247
|
-
<ng-content select="[content-trailing]" />
|
|
10248
|
-
</div>
|
|
10249
|
-
}
|
|
10250
|
-
`, 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"] }]
|
|
10251
|
-
}], propDecorators: { leadingSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "leadingSize", required: false }] }] } });
|
|
10252
|
-
|
|
10253
10253
|
class MobileInquiryDetailPageComponent extends MobilePageBase {
|
|
10254
10254
|
userService;
|
|
10255
10255
|
navCtrl;
|
|
@@ -12600,5 +12600,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
12600
12600
|
* Generated bundle index. Do not edit.
|
|
12601
12601
|
*/
|
|
12602
12602
|
|
|
12603
|
-
export { ActionCommentComponent$1 as ActionCommentComponent, ActionLikeComponent$1 as ActionLikeComponent, ContentRowComponent, DsMobileActionsBottomSheetComponent, DsMobileAppLayoutComponent, DsMobileBottomSheetService, DsMobileActionsBottomSheetComponent as DsMobileCommentActionsBottomSheetComponent, DsMobileCommentComponent, DsMobileContactListItemComponent, DsMobileContentComponent, DsMobileContentSectionComponent, DsMobileHandbookDetailModalComponent, DsMobileHandbookDetailModalService, DsMobileHandbookFolderComponent, DsMobileHandbookFolderMiniComponent, DsMobileHeaderContentComponent, DsMobileHeaderContentTileComponent, DsMobileInlinePhotoComponent, 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, customBackTransition, customPageTransition };
|
|
12603
|
+
export { ActionCommentComponent$1 as ActionCommentComponent, ActionLikeComponent$1 as ActionLikeComponent, ContentRowComponent, DsMobileActionsBottomSheetComponent, DsMobileAppLayoutComponent, DsMobileBottomSheetService, DsMobileActionsBottomSheetComponent as DsMobileCommentActionsBottomSheetComponent, DsMobileCommentComponent, DsMobileContactListItemComponent, DsMobileContentComponent, DsMobileContentSectionComponent, DsMobileHandbookDetailModalComponent, DsMobileHandbookDetailModalService, DsMobileHandbookFolderComponent, DsMobileHandbookFolderMiniComponent, DsMobileHeaderContentComponent, DsMobileHeaderContentTileComponent, DsMobileInlinePhotoComponent, 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, customBackTransition, customPageTransition };
|
|
12604
12604
|
//# sourceMappingURL=propbinder-mobile-design.mjs.map
|