@propbinder/mobile-design 0.2.7 → 0.2.8
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 +321 -321
- package/fesm2022/propbinder-mobile-design.mjs.map +1 -1
- package/index.d.ts +254 -4
- package/package.json +1 -1
|
@@ -11799,6 +11799,264 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
11799
11799
|
`, styles: [":host{display:flex;align-items:center;background:var(--color-background-neutral-secondary, #f5f5f5);border-radius:16px;cursor:pointer;transition:all .2s ease;box-sizing:border-box}:host(.variant-default){gap:12px;padding:10px 12px}:host(.variant-compact){gap:8px;padding:10px}@media (hover: hover) and (pointer: fine){:host(:hover):not(.disabled){background:var(--color-background-neutral-secondary-hover, #ebebeb)}}:host(:active):not(.disabled){transform:scale(.98);background:var(--color-background-neutral-secondary-hover, #ebebeb)}:host(:focus-visible):not(.disabled){outline:2px solid var(--color-brand-primary, #5d5fef);outline-offset:2px}:host(.disabled){opacity:.5;pointer-events:none;cursor:not-allowed}.card-inline-inner{display:flex;align-items:center;gap:inherit;width:100%;min-width:0}.content-leading{flex-shrink:0;display:flex;align-items:center;justify-content:center}.content-main{flex:1;min-width:0;display:flex;align-items:center}:host(.variant-compact) .content-main{flex-direction:row;gap:8px}:host(.variant-default) .content-main{flex-direction:column;align-items:flex-start;gap:2px}.content-trailing{flex-shrink:0;display:flex;align-items:center}::ng-deep .item-avatar{flex-shrink:0}::ng-deep .item-content{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px}:host(.variant-compact) ::ng-deep .item-content{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px}::ng-deep .item-name{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm);font-weight:600;line-height:20px;letter-spacing:-.3px;color:var(--color-text-primary, #1a1a1a);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}::ng-deep .item-meta{font-family:Brockmann,sans-serif;font-size:var(--font-size-xs);font-weight:400;line-height:1.2;letter-spacing:-.26px;color:var(--color-text-tertiary, #737373);margin:0;display:flex;align-items:center;justify-content:flex-start;gap:4px;white-space:nowrap;flex-shrink:0}::ng-deep .item-trailing{display:flex;align-items:center;color:var(--color-text-tertiary, #a3a3a3);flex-shrink:0}\n"] }]
|
|
11800
11800
|
}], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], cardClick: [{ type: i0.Output, args: ["cardClick"] }] } });
|
|
11801
11801
|
|
|
11802
|
+
/**
|
|
11803
|
+
* DsMobileCardInlineBannerComponent
|
|
11804
|
+
*
|
|
11805
|
+
* Specialized interactive component for displaying notification banners.
|
|
11806
|
+
* Used to show unread message notifications above inquiry details.
|
|
11807
|
+
*
|
|
11808
|
+
* Features:
|
|
11809
|
+
* - Neutral background matching file/contact cards
|
|
11810
|
+
* - Avatar icon with message symbol
|
|
11811
|
+
* - Title and timestamp
|
|
11812
|
+
* - Unread count badge
|
|
11813
|
+
* - Chevron for navigation indication
|
|
11814
|
+
*
|
|
11815
|
+
* @example
|
|
11816
|
+
* ```html
|
|
11817
|
+
* <ds-mobile-card-inline-banner
|
|
11818
|
+
* [title]="'New messages'"
|
|
11819
|
+
* [timestamp]="'2 min ago'"
|
|
11820
|
+
* [unreadCount]="3"
|
|
11821
|
+
* (bannerClick)="navigateToMessages()">
|
|
11822
|
+
* </ds-mobile-card-inline-banner>
|
|
11823
|
+
* ```
|
|
11824
|
+
*/
|
|
11825
|
+
class DsMobileCardInlineBannerComponent {
|
|
11826
|
+
/**
|
|
11827
|
+
* Banner title (e.g., "New messages", "Unread messages")
|
|
11828
|
+
*/
|
|
11829
|
+
title = input.required(...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
11830
|
+
/**
|
|
11831
|
+
* Timestamp text (e.g., "2 min ago", "Just now")
|
|
11832
|
+
*/
|
|
11833
|
+
timestamp = input('', ...(ngDevMode ? [{ debugName: "timestamp" }] : []));
|
|
11834
|
+
/**
|
|
11835
|
+
* Number of unread items (optional, shows badge if > 0)
|
|
11836
|
+
*/
|
|
11837
|
+
unreadCount = input(0, ...(ngDevMode ? [{ debugName: "unreadCount" }] : []));
|
|
11838
|
+
/**
|
|
11839
|
+
* Layout variant
|
|
11840
|
+
* - 'default' - Standard padding and column layout
|
|
11841
|
+
* - 'compact' - Reduced padding and row layout
|
|
11842
|
+
*/
|
|
11843
|
+
layout = input('default', ...(ngDevMode ? [{ debugName: "layout" }] : []));
|
|
11844
|
+
/**
|
|
11845
|
+
* Emits when the banner is clicked
|
|
11846
|
+
*/
|
|
11847
|
+
bannerClick = output();
|
|
11848
|
+
handleBannerClick() {
|
|
11849
|
+
this.bannerClick.emit();
|
|
11850
|
+
}
|
|
11851
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileCardInlineBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11852
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: DsMobileCardInlineBannerComponent, isStandalone: true, selector: "ds-mobile-card-inline-banner", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, timestamp: { classPropertyName: "timestamp", publicName: "timestamp", isSignal: true, isRequired: false, transformFunction: null }, unreadCount: { classPropertyName: "unreadCount", publicName: "unreadCount", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { bannerClick: "bannerClick" }, ngImport: i0, template: `
|
|
11853
|
+
<ds-mobile-card-inline
|
|
11854
|
+
[variant]="layout()"
|
|
11855
|
+
(cardClick)="handleBannerClick()">
|
|
11856
|
+
|
|
11857
|
+
<div content-leading class="item-avatar">
|
|
11858
|
+
<ds-avatar
|
|
11859
|
+
type="icon"
|
|
11860
|
+
[iconName]="'remixNotificationLine'"
|
|
11861
|
+
[size]="layout() === 'compact' ? 'sm' : 'md'"
|
|
11862
|
+
/>
|
|
11863
|
+
</div>
|
|
11864
|
+
|
|
11865
|
+
<div content-main class="item-content">
|
|
11866
|
+
<div class="item-name">{{ title() }}</div>
|
|
11867
|
+
|
|
11868
|
+
@if (timestamp()) {
|
|
11869
|
+
<div class="item-meta">
|
|
11870
|
+
<span>{{ timestamp() }}</span>
|
|
11871
|
+
</div>
|
|
11872
|
+
}
|
|
11873
|
+
</div>
|
|
11874
|
+
|
|
11875
|
+
<div content-trailing class="item-trailing">
|
|
11876
|
+
@if (unreadCount() && unreadCount()! > 0) {
|
|
11877
|
+
<span class="unread-badge">{{ unreadCount() }}</span>
|
|
11878
|
+
}
|
|
11879
|
+
<ds-icon name="remixArrowRightSLine" size="20px" />
|
|
11880
|
+
</div>
|
|
11881
|
+
</ds-mobile-card-inline>
|
|
11882
|
+
`, isInline: true, styles: [".unread-badge{min-width:24px;height:16px;padding:0 6px;border-radius:10px;background:var(--color-primary-surface, #6B5FF5);color:var(--color-primary-content, #ffffff);font-family:Brockmann,sans-serif;font-size:var(--font-size-xs);font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1;margin-right:8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DsIconComponent, selector: "ds-icon", inputs: ["name", "size", "color", "interactive"] }, { kind: "component", type: DsAvatarComponent, selector: "ds-avatar", inputs: ["type", "size", "initials", "src", "alt", "iconName", "iconColor"] }, { kind: "component", type: DsMobileCardInlineComponent, selector: "ds-mobile-card-inline", inputs: ["variant", "disabled"], outputs: ["cardClick"] }] });
|
|
11883
|
+
}
|
|
11884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileCardInlineBannerComponent, decorators: [{
|
|
11885
|
+
type: Component,
|
|
11886
|
+
args: [{ selector: 'ds-mobile-card-inline-banner', standalone: true, imports: [CommonModule, DsIconComponent, DsAvatarComponent, DsMobileCardInlineComponent], template: `
|
|
11887
|
+
<ds-mobile-card-inline
|
|
11888
|
+
[variant]="layout()"
|
|
11889
|
+
(cardClick)="handleBannerClick()">
|
|
11890
|
+
|
|
11891
|
+
<div content-leading class="item-avatar">
|
|
11892
|
+
<ds-avatar
|
|
11893
|
+
type="icon"
|
|
11894
|
+
[iconName]="'remixNotificationLine'"
|
|
11895
|
+
[size]="layout() === 'compact' ? 'sm' : 'md'"
|
|
11896
|
+
/>
|
|
11897
|
+
</div>
|
|
11898
|
+
|
|
11899
|
+
<div content-main class="item-content">
|
|
11900
|
+
<div class="item-name">{{ title() }}</div>
|
|
11901
|
+
|
|
11902
|
+
@if (timestamp()) {
|
|
11903
|
+
<div class="item-meta">
|
|
11904
|
+
<span>{{ timestamp() }}</span>
|
|
11905
|
+
</div>
|
|
11906
|
+
}
|
|
11907
|
+
</div>
|
|
11908
|
+
|
|
11909
|
+
<div content-trailing class="item-trailing">
|
|
11910
|
+
@if (unreadCount() && unreadCount()! > 0) {
|
|
11911
|
+
<span class="unread-badge">{{ unreadCount() }}</span>
|
|
11912
|
+
}
|
|
11913
|
+
<ds-icon name="remixArrowRightSLine" size="20px" />
|
|
11914
|
+
</div>
|
|
11915
|
+
</ds-mobile-card-inline>
|
|
11916
|
+
`, styles: [".unread-badge{min-width:24px;height:16px;padding:0 6px;border-radius:10px;background:var(--color-primary-surface, #6B5FF5);color:var(--color-primary-content, #ffffff);font-family:Brockmann,sans-serif;font-size:var(--font-size-xs);font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1;margin-right:8px}\n"] }]
|
|
11917
|
+
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], timestamp: [{ type: i0.Input, args: [{ isSignal: true, alias: "timestamp", required: false }] }], unreadCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "unreadCount", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], bannerClick: [{ type: i0.Output, args: ["bannerClick"] }] } });
|
|
11918
|
+
|
|
11919
|
+
/**
|
|
11920
|
+
* DsMobileCardInlineContactComponent
|
|
11921
|
+
*
|
|
11922
|
+
* Specialized interactive component for displaying contacts.
|
|
11923
|
+
* Displays contact name with avatar initials and metadata (person name + phone number).
|
|
11924
|
+
* Similar styling to file attachments with rounded corners and hover states.
|
|
11925
|
+
*
|
|
11926
|
+
* @example
|
|
11927
|
+
* ```html
|
|
11928
|
+
* <ds-mobile-card-inline-contact
|
|
11929
|
+
* [name]="'Mortensen & Søn ApS'"
|
|
11930
|
+
* [initials]="'M'"
|
|
11931
|
+
* [contactPerson]="'John Mortensen'"
|
|
11932
|
+
* [phoneNumber]="'+45 12 34 56 78'"
|
|
11933
|
+
* [clickable]="true"
|
|
11934
|
+
* (contactClick)="openContact()">
|
|
11935
|
+
* </ds-mobile-card-inline-contact>
|
|
11936
|
+
* ```
|
|
11937
|
+
*/
|
|
11938
|
+
class DsMobileCardInlineContactComponent {
|
|
11939
|
+
/**
|
|
11940
|
+
* Contact/company name
|
|
11941
|
+
*/
|
|
11942
|
+
name = input.required(...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
11943
|
+
/**
|
|
11944
|
+
* Avatar initials (usually 1-2 letters)
|
|
11945
|
+
*/
|
|
11946
|
+
initials = input.required(...(ngDevMode ? [{ debugName: "initials" }] : []));
|
|
11947
|
+
/**
|
|
11948
|
+
* Contact person name (optional)
|
|
11949
|
+
*/
|
|
11950
|
+
contactPerson = input('', ...(ngDevMode ? [{ debugName: "contactPerson" }] : []));
|
|
11951
|
+
/**
|
|
11952
|
+
* Phone number (optional)
|
|
11953
|
+
*/
|
|
11954
|
+
phoneNumber = input('', ...(ngDevMode ? [{ debugName: "phoneNumber" }] : []));
|
|
11955
|
+
/**
|
|
11956
|
+
* Layout variant
|
|
11957
|
+
* - 'default' - Standard padding and column layout
|
|
11958
|
+
* - 'compact' - Reduced padding and row layout
|
|
11959
|
+
*/
|
|
11960
|
+
layout = input('default', ...(ngDevMode ? [{ debugName: "layout" }] : []));
|
|
11961
|
+
/**
|
|
11962
|
+
* Whether the contact item is clickable
|
|
11963
|
+
*/
|
|
11964
|
+
clickable = input(true, ...(ngDevMode ? [{ debugName: "clickable" }] : []));
|
|
11965
|
+
/**
|
|
11966
|
+
* Whether to show chevron icon
|
|
11967
|
+
*/
|
|
11968
|
+
showChevron = input(true, ...(ngDevMode ? [{ debugName: "showChevron" }] : []));
|
|
11969
|
+
/**
|
|
11970
|
+
* Emits when the contact item is clicked (if clickable)
|
|
11971
|
+
*/
|
|
11972
|
+
contactClick = output();
|
|
11973
|
+
handleContactClick() {
|
|
11974
|
+
this.contactClick.emit();
|
|
11975
|
+
}
|
|
11976
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileCardInlineContactComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11977
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: DsMobileCardInlineContactComponent, isStandalone: true, selector: "ds-mobile-card-inline-contact", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: true, transformFunction: null }, contactPerson: { classPropertyName: "contactPerson", publicName: "contactPerson", isSignal: true, isRequired: false, transformFunction: null }, phoneNumber: { classPropertyName: "phoneNumber", publicName: "phoneNumber", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null }, showChevron: { classPropertyName: "showChevron", publicName: "showChevron", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { contactClick: "contactClick" }, ngImport: i0, template: `
|
|
11978
|
+
<ds-mobile-card-inline
|
|
11979
|
+
[variant]="layout()"
|
|
11980
|
+
[disabled]="!clickable()"
|
|
11981
|
+
(cardClick)="handleContactClick()">
|
|
11982
|
+
|
|
11983
|
+
<div content-leading class="item-avatar">
|
|
11984
|
+
<ds-avatar
|
|
11985
|
+
[initials]="initials()"
|
|
11986
|
+
type="initials"
|
|
11987
|
+
[size]="layout() === 'compact' ? 'sm' : 'md'"
|
|
11988
|
+
/>
|
|
11989
|
+
</div>
|
|
11990
|
+
|
|
11991
|
+
<div content-main class="item-content">
|
|
11992
|
+
<div class="item-name">{{ name() }}</div>
|
|
11993
|
+
|
|
11994
|
+
@if (contactPerson() || phoneNumber()) {
|
|
11995
|
+
<div class="item-meta">
|
|
11996
|
+
@if (contactPerson()) {
|
|
11997
|
+
<span>{{ contactPerson() }}</span>
|
|
11998
|
+
}
|
|
11999
|
+
@if (contactPerson() && phoneNumber()) {
|
|
12000
|
+
<span>·</span>
|
|
12001
|
+
}
|
|
12002
|
+
@if (phoneNumber()) {
|
|
12003
|
+
<span>{{ phoneNumber() }}</span>
|
|
12004
|
+
}
|
|
12005
|
+
</div>
|
|
12006
|
+
}
|
|
12007
|
+
</div>
|
|
12008
|
+
|
|
12009
|
+
@if (showChevron()) {
|
|
12010
|
+
<div content-trailing class="item-trailing">
|
|
12011
|
+
<ds-icon name="remixArrowRightSLine" size="20px" />
|
|
12012
|
+
</div>
|
|
12013
|
+
}
|
|
12014
|
+
</ds-mobile-card-inline>
|
|
12015
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DsIconComponent, selector: "ds-icon", inputs: ["name", "size", "color", "interactive"] }, { kind: "component", type: DsAvatarComponent, selector: "ds-avatar", inputs: ["type", "size", "initials", "src", "alt", "iconName", "iconColor"] }, { kind: "component", type: DsMobileCardInlineComponent, selector: "ds-mobile-card-inline", inputs: ["variant", "disabled"], outputs: ["cardClick"] }] });
|
|
12016
|
+
}
|
|
12017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileCardInlineContactComponent, decorators: [{
|
|
12018
|
+
type: Component,
|
|
12019
|
+
args: [{ selector: 'ds-mobile-card-inline-contact', standalone: true, imports: [CommonModule, DsIconComponent, DsAvatarComponent, DsMobileCardInlineComponent], template: `
|
|
12020
|
+
<ds-mobile-card-inline
|
|
12021
|
+
[variant]="layout()"
|
|
12022
|
+
[disabled]="!clickable()"
|
|
12023
|
+
(cardClick)="handleContactClick()">
|
|
12024
|
+
|
|
12025
|
+
<div content-leading class="item-avatar">
|
|
12026
|
+
<ds-avatar
|
|
12027
|
+
[initials]="initials()"
|
|
12028
|
+
type="initials"
|
|
12029
|
+
[size]="layout() === 'compact' ? 'sm' : 'md'"
|
|
12030
|
+
/>
|
|
12031
|
+
</div>
|
|
12032
|
+
|
|
12033
|
+
<div content-main class="item-content">
|
|
12034
|
+
<div class="item-name">{{ name() }}</div>
|
|
12035
|
+
|
|
12036
|
+
@if (contactPerson() || phoneNumber()) {
|
|
12037
|
+
<div class="item-meta">
|
|
12038
|
+
@if (contactPerson()) {
|
|
12039
|
+
<span>{{ contactPerson() }}</span>
|
|
12040
|
+
}
|
|
12041
|
+
@if (contactPerson() && phoneNumber()) {
|
|
12042
|
+
<span>·</span>
|
|
12043
|
+
}
|
|
12044
|
+
@if (phoneNumber()) {
|
|
12045
|
+
<span>{{ phoneNumber() }}</span>
|
|
12046
|
+
}
|
|
12047
|
+
</div>
|
|
12048
|
+
}
|
|
12049
|
+
</div>
|
|
12050
|
+
|
|
12051
|
+
@if (showChevron()) {
|
|
12052
|
+
<div content-trailing class="item-trailing">
|
|
12053
|
+
<ds-icon name="remixArrowRightSLine" size="20px" />
|
|
12054
|
+
</div>
|
|
12055
|
+
}
|
|
12056
|
+
</ds-mobile-card-inline>
|
|
12057
|
+
` }]
|
|
12058
|
+
}], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: true }] }], contactPerson: [{ type: i0.Input, args: [{ isSignal: true, alias: "contactPerson", required: false }] }], phoneNumber: [{ type: i0.Input, args: [{ isSignal: true, alias: "phoneNumber", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], clickable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clickable", required: false }] }], showChevron: [{ type: i0.Input, args: [{ isSignal: true, alias: "showChevron", required: false }] }], contactClick: [{ type: i0.Output, args: ["contactClick"] }] } });
|
|
12059
|
+
|
|
11802
12060
|
/**
|
|
11803
12061
|
* DsMobileCardInlineFileComponent
|
|
11804
12062
|
*
|
|
@@ -13500,216 +13758,75 @@ class DsMobileHandbookFolderMiniComponent {
|
|
|
13500
13758
|
'grey': 'grey'
|
|
13501
13759
|
};
|
|
13502
13760
|
const colorName = variantMap[this.variant] || 'light-purple';
|
|
13503
|
-
return `var(--color-${colorName}-${suffix})`;
|
|
13504
|
-
}
|
|
13505
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileHandbookFolderMiniComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13506
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: DsMobileHandbookFolderMiniComponent, isStandalone: true, selector: "ds-mobile-handbook-folder-mini", inputs: { variant: "variant", iconName: "iconName" }, ngImport: i0, template: `
|
|
13507
|
-
<div class="mini-folder-container">
|
|
13508
|
-
<!-- Folder Tab SVG -->
|
|
13509
|
-
<svg
|
|
13510
|
-
class="mini-folder-tab"
|
|
13511
|
-
width="101"
|
|
13512
|
-
height="24"
|
|
13513
|
-
viewBox="0 0 101 24"
|
|
13514
|
-
fill="none"
|
|
13515
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
13516
|
-
<path
|
|
13517
|
-
d="M100.037 23.9999L100.5 24L0 24.0001V10.7646C0 4.80853 4.91797 -0.0234985 11 -0.0196688L66.4213 -0.0322266C69.3519 -0.0115886 72.197 1.20548 74.2473 3.29947L90.6765 20.0951C93.1218 22.5925 96.5417 23.9999 100.037 23.9999Z"
|
|
13518
|
-
[attr.fill]="getColorVar('strong')"/>
|
|
13519
|
-
</svg>
|
|
13520
|
-
|
|
13521
|
-
<!-- Folder Back -->
|
|
13522
|
-
<div class="mini-folder-back" [style.background-color]="getColorVar('strong')">
|
|
13523
|
-
<!-- Folder Front -->
|
|
13524
|
-
<div
|
|
13525
|
-
class="mini-folder-front"
|
|
13526
|
-
[style.background-color]="getColorVar('base')">
|
|
13527
|
-
<ds-icon
|
|
13528
|
-
[name]="iconName"
|
|
13529
|
-
[size]="'14px'"
|
|
13530
|
-
[style.color]="'white'" />
|
|
13531
|
-
</div>
|
|
13532
|
-
</div>
|
|
13533
|
-
</div>
|
|
13534
|
-
`, isInline: true, styles: [":host{display:inline-block;width:32px;height:32px;flex-shrink:0}.mini-folder-container{position:relative;width:100%;height:100%;display:flex;flex-direction:column}.mini-folder-tab{width:50%;height:auto;display:block}.mini-folder-back{height:28px;border-radius:0 4px 4px;position:relative;margin-top:-1px}.mini-folder-front{position:absolute;bottom:0;left:0;right:0;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:inset 0 8px 8px #fff3,inset 0 .5px .5px #ffffff4d}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DsIconComponent, selector: "ds-icon", inputs: ["name", "size", "color", "interactive"] }] });
|
|
13535
|
-
}
|
|
13536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileHandbookFolderMiniComponent, decorators: [{
|
|
13537
|
-
type: Component,
|
|
13538
|
-
args: [{ selector: 'ds-mobile-handbook-folder-mini', standalone: true, imports: [CommonModule, DsIconComponent], template: `
|
|
13539
|
-
<div class="mini-folder-container">
|
|
13540
|
-
<!-- Folder Tab SVG -->
|
|
13541
|
-
<svg
|
|
13542
|
-
class="mini-folder-tab"
|
|
13543
|
-
width="101"
|
|
13544
|
-
height="24"
|
|
13545
|
-
viewBox="0 0 101 24"
|
|
13546
|
-
fill="none"
|
|
13547
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
13548
|
-
<path
|
|
13549
|
-
d="M100.037 23.9999L100.5 24L0 24.0001V10.7646C0 4.80853 4.91797 -0.0234985 11 -0.0196688L66.4213 -0.0322266C69.3519 -0.0115886 72.197 1.20548 74.2473 3.29947L90.6765 20.0951C93.1218 22.5925 96.5417 23.9999 100.037 23.9999Z"
|
|
13550
|
-
[attr.fill]="getColorVar('strong')"/>
|
|
13551
|
-
</svg>
|
|
13552
|
-
|
|
13553
|
-
<!-- Folder Back -->
|
|
13554
|
-
<div class="mini-folder-back" [style.background-color]="getColorVar('strong')">
|
|
13555
|
-
<!-- Folder Front -->
|
|
13556
|
-
<div
|
|
13557
|
-
class="mini-folder-front"
|
|
13558
|
-
[style.background-color]="getColorVar('base')">
|
|
13559
|
-
<ds-icon
|
|
13560
|
-
[name]="iconName"
|
|
13561
|
-
[size]="'14px'"
|
|
13562
|
-
[style.color]="'white'" />
|
|
13563
|
-
</div>
|
|
13564
|
-
</div>
|
|
13565
|
-
</div>
|
|
13566
|
-
`, styles: [":host{display:inline-block;width:32px;height:32px;flex-shrink:0}.mini-folder-container{position:relative;width:100%;height:100%;display:flex;flex-direction:column}.mini-folder-tab{width:50%;height:auto;display:block}.mini-folder-back{height:28px;border-radius:0 4px 4px;position:relative;margin-top:-1px}.mini-folder-front{position:absolute;bottom:0;left:0;right:0;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:inset 0 8px 8px #fff3,inset 0 .5px .5px #ffffff4d}\n"] }]
|
|
13567
|
-
}], propDecorators: { variant: [{
|
|
13568
|
-
type: Input
|
|
13569
|
-
}], iconName: [{
|
|
13570
|
-
type: Input
|
|
13571
|
-
}] } });
|
|
13572
|
-
|
|
13573
|
-
/**
|
|
13574
|
-
* DsMobileCardInlineContactComponent
|
|
13575
|
-
*
|
|
13576
|
-
* Specialized interactive component for displaying contacts.
|
|
13577
|
-
* Displays contact name with avatar initials and metadata (person name + phone number).
|
|
13578
|
-
* Similar styling to file attachments with rounded corners and hover states.
|
|
13579
|
-
*
|
|
13580
|
-
* @example
|
|
13581
|
-
* ```html
|
|
13582
|
-
* <ds-mobile-card-inline-contact
|
|
13583
|
-
* [name]="'Mortensen & Søn ApS'"
|
|
13584
|
-
* [initials]="'M'"
|
|
13585
|
-
* [contactPerson]="'John Mortensen'"
|
|
13586
|
-
* [phoneNumber]="'+45 12 34 56 78'"
|
|
13587
|
-
* [clickable]="true"
|
|
13588
|
-
* (contactClick)="openContact()">
|
|
13589
|
-
* </ds-mobile-card-inline-contact>
|
|
13590
|
-
* ```
|
|
13591
|
-
*/
|
|
13592
|
-
class DsMobileCardInlineContactComponent {
|
|
13593
|
-
/**
|
|
13594
|
-
* Contact/company name
|
|
13595
|
-
*/
|
|
13596
|
-
name = input.required(...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
13597
|
-
/**
|
|
13598
|
-
* Avatar initials (usually 1-2 letters)
|
|
13599
|
-
*/
|
|
13600
|
-
initials = input.required(...(ngDevMode ? [{ debugName: "initials" }] : []));
|
|
13601
|
-
/**
|
|
13602
|
-
* Contact person name (optional)
|
|
13603
|
-
*/
|
|
13604
|
-
contactPerson = input('', ...(ngDevMode ? [{ debugName: "contactPerson" }] : []));
|
|
13605
|
-
/**
|
|
13606
|
-
* Phone number (optional)
|
|
13607
|
-
*/
|
|
13608
|
-
phoneNumber = input('', ...(ngDevMode ? [{ debugName: "phoneNumber" }] : []));
|
|
13609
|
-
/**
|
|
13610
|
-
* Layout variant
|
|
13611
|
-
* - 'default' - Standard padding and column layout
|
|
13612
|
-
* - 'compact' - Reduced padding and row layout
|
|
13613
|
-
*/
|
|
13614
|
-
layout = input('default', ...(ngDevMode ? [{ debugName: "layout" }] : []));
|
|
13615
|
-
/**
|
|
13616
|
-
* Whether the contact item is clickable
|
|
13617
|
-
*/
|
|
13618
|
-
clickable = input(true, ...(ngDevMode ? [{ debugName: "clickable" }] : []));
|
|
13619
|
-
/**
|
|
13620
|
-
* Whether to show chevron icon
|
|
13621
|
-
*/
|
|
13622
|
-
showChevron = input(true, ...(ngDevMode ? [{ debugName: "showChevron" }] : []));
|
|
13623
|
-
/**
|
|
13624
|
-
* Emits when the contact item is clicked (if clickable)
|
|
13625
|
-
*/
|
|
13626
|
-
contactClick = output();
|
|
13627
|
-
handleContactClick() {
|
|
13628
|
-
this.contactClick.emit();
|
|
13761
|
+
return `var(--color-${colorName}-${suffix})`;
|
|
13629
13762
|
}
|
|
13630
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type:
|
|
13631
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
13632
|
-
<
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13636
|
-
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
|
|
13645
|
-
<div content-main class="item-content">
|
|
13646
|
-
<div class="item-name">{{ name() }}</div>
|
|
13647
|
-
|
|
13648
|
-
@if (contactPerson() || phoneNumber()) {
|
|
13649
|
-
<div class="item-meta">
|
|
13650
|
-
@if (contactPerson()) {
|
|
13651
|
-
<span>{{ contactPerson() }}</span>
|
|
13652
|
-
}
|
|
13653
|
-
@if (contactPerson() && phoneNumber()) {
|
|
13654
|
-
<span>·</span>
|
|
13655
|
-
}
|
|
13656
|
-
@if (phoneNumber()) {
|
|
13657
|
-
<span>{{ phoneNumber() }}</span>
|
|
13658
|
-
}
|
|
13659
|
-
</div>
|
|
13660
|
-
}
|
|
13661
|
-
</div>
|
|
13763
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileHandbookFolderMiniComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13764
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: DsMobileHandbookFolderMiniComponent, isStandalone: true, selector: "ds-mobile-handbook-folder-mini", inputs: { variant: "variant", iconName: "iconName" }, ngImport: i0, template: `
|
|
13765
|
+
<div class="mini-folder-container">
|
|
13766
|
+
<!-- Folder Tab SVG -->
|
|
13767
|
+
<svg
|
|
13768
|
+
class="mini-folder-tab"
|
|
13769
|
+
width="101"
|
|
13770
|
+
height="24"
|
|
13771
|
+
viewBox="0 0 101 24"
|
|
13772
|
+
fill="none"
|
|
13773
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
13774
|
+
<path
|
|
13775
|
+
d="M100.037 23.9999L100.5 24L0 24.0001V10.7646C0 4.80853 4.91797 -0.0234985 11 -0.0196688L66.4213 -0.0322266C69.3519 -0.0115886 72.197 1.20548 74.2473 3.29947L90.6765 20.0951C93.1218 22.5925 96.5417 23.9999 100.037 23.9999Z"
|
|
13776
|
+
[attr.fill]="getColorVar('strong')"/>
|
|
13777
|
+
</svg>
|
|
13662
13778
|
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13779
|
+
<!-- Folder Back -->
|
|
13780
|
+
<div class="mini-folder-back" [style.background-color]="getColorVar('strong')">
|
|
13781
|
+
<!-- Folder Front -->
|
|
13782
|
+
<div
|
|
13783
|
+
class="mini-folder-front"
|
|
13784
|
+
[style.background-color]="getColorVar('base')">
|
|
13785
|
+
<ds-icon
|
|
13786
|
+
[name]="iconName"
|
|
13787
|
+
[size]="'14px'"
|
|
13788
|
+
[style.color]="'white'" />
|
|
13666
13789
|
</div>
|
|
13667
|
-
|
|
13668
|
-
</
|
|
13669
|
-
`, isInline: true, styles: ["
|
|
13790
|
+
</div>
|
|
13791
|
+
</div>
|
|
13792
|
+
`, isInline: true, styles: [":host{display:inline-block;width:32px;height:32px;flex-shrink:0}.mini-folder-container{position:relative;width:100%;height:100%;display:flex;flex-direction:column}.mini-folder-tab{width:50%;height:auto;display:block}.mini-folder-back{height:28px;border-radius:0 4px 4px;position:relative;margin-top:-1px}.mini-folder-front{position:absolute;bottom:0;left:0;right:0;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:inset 0 8px 8px #fff3,inset 0 .5px .5px #ffffff4d}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DsIconComponent, selector: "ds-icon", inputs: ["name", "size", "color", "interactive"] }] });
|
|
13670
13793
|
}
|
|
13671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type:
|
|
13794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileHandbookFolderMiniComponent, decorators: [{
|
|
13672
13795
|
type: Component,
|
|
13673
|
-
args: [{ selector: 'ds-mobile-
|
|
13674
|
-
<
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
|
|
13680
|
-
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
|
|
13684
|
-
|
|
13685
|
-
|
|
13686
|
-
|
|
13687
|
-
<div content-main class="item-content">
|
|
13688
|
-
<div class="item-name">{{ name() }}</div>
|
|
13689
|
-
|
|
13690
|
-
@if (contactPerson() || phoneNumber()) {
|
|
13691
|
-
<div class="item-meta">
|
|
13692
|
-
@if (contactPerson()) {
|
|
13693
|
-
<span>{{ contactPerson() }}</span>
|
|
13694
|
-
}
|
|
13695
|
-
@if (contactPerson() && phoneNumber()) {
|
|
13696
|
-
<span>·</span>
|
|
13697
|
-
}
|
|
13698
|
-
@if (phoneNumber()) {
|
|
13699
|
-
<span>{{ phoneNumber() }}</span>
|
|
13700
|
-
}
|
|
13701
|
-
</div>
|
|
13702
|
-
}
|
|
13703
|
-
</div>
|
|
13796
|
+
args: [{ selector: 'ds-mobile-handbook-folder-mini', standalone: true, imports: [CommonModule, DsIconComponent], template: `
|
|
13797
|
+
<div class="mini-folder-container">
|
|
13798
|
+
<!-- Folder Tab SVG -->
|
|
13799
|
+
<svg
|
|
13800
|
+
class="mini-folder-tab"
|
|
13801
|
+
width="101"
|
|
13802
|
+
height="24"
|
|
13803
|
+
viewBox="0 0 101 24"
|
|
13804
|
+
fill="none"
|
|
13805
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
13806
|
+
<path
|
|
13807
|
+
d="M100.037 23.9999L100.5 24L0 24.0001V10.7646C0 4.80853 4.91797 -0.0234985 11 -0.0196688L66.4213 -0.0322266C69.3519 -0.0115886 72.197 1.20548 74.2473 3.29947L90.6765 20.0951C93.1218 22.5925 96.5417 23.9999 100.037 23.9999Z"
|
|
13808
|
+
[attr.fill]="getColorVar('strong')"/>
|
|
13809
|
+
</svg>
|
|
13704
13810
|
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
|
|
13811
|
+
<!-- Folder Back -->
|
|
13812
|
+
<div class="mini-folder-back" [style.background-color]="getColorVar('strong')">
|
|
13813
|
+
<!-- Folder Front -->
|
|
13814
|
+
<div
|
|
13815
|
+
class="mini-folder-front"
|
|
13816
|
+
[style.background-color]="getColorVar('base')">
|
|
13817
|
+
<ds-icon
|
|
13818
|
+
[name]="iconName"
|
|
13819
|
+
[size]="'14px'"
|
|
13820
|
+
[style.color]="'white'" />
|
|
13708
13821
|
</div>
|
|
13709
|
-
|
|
13710
|
-
</
|
|
13711
|
-
|
|
13712
|
-
}], propDecorators: {
|
|
13822
|
+
</div>
|
|
13823
|
+
</div>
|
|
13824
|
+
`, styles: [":host{display:inline-block;width:32px;height:32px;flex-shrink:0}.mini-folder-container{position:relative;width:100%;height:100%;display:flex;flex-direction:column}.mini-folder-tab{width:50%;height:auto;display:block}.mini-folder-back{height:28px;border-radius:0 4px 4px;position:relative;margin-top:-1px}.mini-folder-front{position:absolute;bottom:0;left:0;right:0;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:inset 0 8px 8px #fff3,inset 0 .5px .5px #ffffff4d}\n"] }]
|
|
13825
|
+
}], propDecorators: { variant: [{
|
|
13826
|
+
type: Input
|
|
13827
|
+
}], iconName: [{
|
|
13828
|
+
type: Input
|
|
13829
|
+
}] } });
|
|
13713
13830
|
|
|
13714
13831
|
/**
|
|
13715
13832
|
* DsMobileSwiperComponent
|
|
@@ -16921,123 +17038,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
16921
17038
|
`, styles: [".inquiries-container{display:flex;flex-direction:column}.inquiry-list-wrapper{display:flex;flex-direction:column;margin-top:-8px}.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"] }]
|
|
16922
17039
|
}], ctorParameters: () => [{ type: UserService }, { type: i1.NavController }, { type: DsMobileNewInquiryModalService }] });
|
|
16923
17040
|
|
|
16924
|
-
/**
|
|
16925
|
-
* DsMobileCardInlineBannerComponent
|
|
16926
|
-
*
|
|
16927
|
-
* Specialized interactive component for displaying notification banners.
|
|
16928
|
-
* Used to show unread message notifications above inquiry details.
|
|
16929
|
-
*
|
|
16930
|
-
* Features:
|
|
16931
|
-
* - Neutral background matching file/contact cards
|
|
16932
|
-
* - Avatar icon with message symbol
|
|
16933
|
-
* - Title and timestamp
|
|
16934
|
-
* - Unread count badge
|
|
16935
|
-
* - Chevron for navigation indication
|
|
16936
|
-
*
|
|
16937
|
-
* @example
|
|
16938
|
-
* ```html
|
|
16939
|
-
* <ds-mobile-card-inline-banner
|
|
16940
|
-
* [title]="'New messages'"
|
|
16941
|
-
* [timestamp]="'2 min ago'"
|
|
16942
|
-
* [unreadCount]="3"
|
|
16943
|
-
* (bannerClick)="navigateToMessages()">
|
|
16944
|
-
* </ds-mobile-card-inline-banner>
|
|
16945
|
-
* ```
|
|
16946
|
-
*/
|
|
16947
|
-
class DsMobileCardInlineBannerComponent {
|
|
16948
|
-
/**
|
|
16949
|
-
* Banner title (e.g., "New messages", "Unread messages")
|
|
16950
|
-
*/
|
|
16951
|
-
title = input.required(...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
16952
|
-
/**
|
|
16953
|
-
* Timestamp text (e.g., "2 min ago", "Just now")
|
|
16954
|
-
*/
|
|
16955
|
-
timestamp = input('', ...(ngDevMode ? [{ debugName: "timestamp" }] : []));
|
|
16956
|
-
/**
|
|
16957
|
-
* Number of unread items (optional, shows badge if > 0)
|
|
16958
|
-
*/
|
|
16959
|
-
unreadCount = input(0, ...(ngDevMode ? [{ debugName: "unreadCount" }] : []));
|
|
16960
|
-
/**
|
|
16961
|
-
* Layout variant
|
|
16962
|
-
* - 'default' - Standard padding and column layout
|
|
16963
|
-
* - 'compact' - Reduced padding and row layout
|
|
16964
|
-
*/
|
|
16965
|
-
layout = input('default', ...(ngDevMode ? [{ debugName: "layout" }] : []));
|
|
16966
|
-
/**
|
|
16967
|
-
* Emits when the banner is clicked
|
|
16968
|
-
*/
|
|
16969
|
-
bannerClick = output();
|
|
16970
|
-
handleBannerClick() {
|
|
16971
|
-
this.bannerClick.emit();
|
|
16972
|
-
}
|
|
16973
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileCardInlineBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16974
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: DsMobileCardInlineBannerComponent, isStandalone: true, selector: "ds-mobile-card-inline-banner", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, timestamp: { classPropertyName: "timestamp", publicName: "timestamp", isSignal: true, isRequired: false, transformFunction: null }, unreadCount: { classPropertyName: "unreadCount", publicName: "unreadCount", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { bannerClick: "bannerClick" }, ngImport: i0, template: `
|
|
16975
|
-
<ds-mobile-card-inline
|
|
16976
|
-
[variant]="layout()"
|
|
16977
|
-
(cardClick)="handleBannerClick()">
|
|
16978
|
-
|
|
16979
|
-
<div content-leading class="item-avatar">
|
|
16980
|
-
<ds-avatar
|
|
16981
|
-
type="icon"
|
|
16982
|
-
[iconName]="'remixNotificationLine'"
|
|
16983
|
-
[size]="layout() === 'compact' ? 'sm' : 'md'"
|
|
16984
|
-
/>
|
|
16985
|
-
</div>
|
|
16986
|
-
|
|
16987
|
-
<div content-main class="item-content">
|
|
16988
|
-
<div class="item-name">{{ title() }}</div>
|
|
16989
|
-
|
|
16990
|
-
@if (timestamp()) {
|
|
16991
|
-
<div class="item-meta">
|
|
16992
|
-
<span>{{ timestamp() }}</span>
|
|
16993
|
-
</div>
|
|
16994
|
-
}
|
|
16995
|
-
</div>
|
|
16996
|
-
|
|
16997
|
-
<div content-trailing class="item-trailing">
|
|
16998
|
-
@if (unreadCount() && unreadCount()! > 0) {
|
|
16999
|
-
<span class="unread-badge">{{ unreadCount() }}</span>
|
|
17000
|
-
}
|
|
17001
|
-
<ds-icon name="remixArrowRightSLine" size="20px" />
|
|
17002
|
-
</div>
|
|
17003
|
-
</ds-mobile-card-inline>
|
|
17004
|
-
`, isInline: true, styles: [".unread-badge{min-width:24px;height:16px;padding:0 6px;border-radius:10px;background:var(--color-primary-surface, #6B5FF5);color:var(--color-primary-content, #ffffff);font-family:Brockmann,sans-serif;font-size:var(--font-size-xs);font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1;margin-right:8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DsIconComponent, selector: "ds-icon", inputs: ["name", "size", "color", "interactive"] }, { kind: "component", type: DsAvatarComponent, selector: "ds-avatar", inputs: ["type", "size", "initials", "src", "alt", "iconName", "iconColor"] }, { kind: "component", type: DsMobileCardInlineComponent, selector: "ds-mobile-card-inline", inputs: ["variant", "disabled"], outputs: ["cardClick"] }] });
|
|
17005
|
-
}
|
|
17006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileCardInlineBannerComponent, decorators: [{
|
|
17007
|
-
type: Component,
|
|
17008
|
-
args: [{ selector: 'ds-mobile-card-inline-banner', standalone: true, imports: [CommonModule, DsIconComponent, DsAvatarComponent, DsMobileCardInlineComponent], template: `
|
|
17009
|
-
<ds-mobile-card-inline
|
|
17010
|
-
[variant]="layout()"
|
|
17011
|
-
(cardClick)="handleBannerClick()">
|
|
17012
|
-
|
|
17013
|
-
<div content-leading class="item-avatar">
|
|
17014
|
-
<ds-avatar
|
|
17015
|
-
type="icon"
|
|
17016
|
-
[iconName]="'remixNotificationLine'"
|
|
17017
|
-
[size]="layout() === 'compact' ? 'sm' : 'md'"
|
|
17018
|
-
/>
|
|
17019
|
-
</div>
|
|
17020
|
-
|
|
17021
|
-
<div content-main class="item-content">
|
|
17022
|
-
<div class="item-name">{{ title() }}</div>
|
|
17023
|
-
|
|
17024
|
-
@if (timestamp()) {
|
|
17025
|
-
<div class="item-meta">
|
|
17026
|
-
<span>{{ timestamp() }}</span>
|
|
17027
|
-
</div>
|
|
17028
|
-
}
|
|
17029
|
-
</div>
|
|
17030
|
-
|
|
17031
|
-
<div content-trailing class="item-trailing">
|
|
17032
|
-
@if (unreadCount() && unreadCount()! > 0) {
|
|
17033
|
-
<span class="unread-badge">{{ unreadCount() }}</span>
|
|
17034
|
-
}
|
|
17035
|
-
<ds-icon name="remixArrowRightSLine" size="20px" />
|
|
17036
|
-
</div>
|
|
17037
|
-
</ds-mobile-card-inline>
|
|
17038
|
-
`, styles: [".unread-badge{min-width:24px;height:16px;padding:0 6px;border-radius:10px;background:var(--color-primary-surface, #6B5FF5);color:var(--color-primary-content, #ffffff);font-family:Brockmann,sans-serif;font-size:var(--font-size-xs);font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1;margin-right:8px}\n"] }]
|
|
17039
|
-
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], timestamp: [{ type: i0.Input, args: [{ isSignal: true, alias: "timestamp", required: false }] }], unreadCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "unreadCount", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], bannerClick: [{ type: i0.Output, args: ["bannerClick"] }] } });
|
|
17040
|
-
|
|
17041
17041
|
class MobileInquiryDetailPageComponent {
|
|
17042
17042
|
userService;
|
|
17043
17043
|
lightbox;
|
|
@@ -18916,5 +18916,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
18916
18916
|
* Generated bundle index. Do not edit.
|
|
18917
18917
|
*/
|
|
18918
18918
|
|
|
18919
|
-
export { ActionCommentComponent, ActionLikeComponent, ContentRowComponent, DsAvatarWithBadgeComponent, DsMobileActionsBottomSheetComponent, DsMobileAttachmentPreviewComponent, DsMobileBottomSheetService, DsMobileBottomSheetWrapperComponent, DsMobileChatModalComponent, DsMobileChatModalService, DsMobileActionsBottomSheetComponent as DsMobileCommentActionsBottomSheetComponent, DsMobileCommentComponent, DsMobileContactListItemComponent, DsMobileContentComponent, DsMobileContentSectionComponent, DsMobileDropdownComponent, DsMobileEmptyStateComponent, DsMobileFabComponent, DsMobileHandbookDetailModalComponent, DsMobileHandbookDetailModalService, DsMobileHandbookFolderComponent, DsMobileHandbookFolderMiniComponent, DsMobileHeaderContentComponent, DsMobileHeaderContentTileComponent, DsMobileInlinePhotoComponent, DsMobileInlineTabsComponent, DsMobileInteractiveListItemInquiryComponent, DsMobileInteractiveListItemMessageComponent, DsMobileInteractiveListItemPostComponent, DsMobileLightboxImageComponent as DsMobileLightboxComponent, DsMobileLightboxFooterComponent, DsMobileLightboxHeaderComponent, DsMobileLightboxImageComponent, DsMobileLightboxPdfComponent, DsMobileLightboxService, DsMobileListItemComponent, DsMobileListItemStaticComponent, DsMobileLongPressDirective, DsMobileMessageBubbleComponent, DsMobileMessageComposerComponent, DsMobileModalBaseComponent, DsMobileModalService, DsMobileNewInquiryModalComponent, DsMobileNewInquiryModalService, DsMobilePageDetailsComponent, DsMobilePageMainComponent, DsMobileActionsBottomSheetComponent as DsMobilePostActionsBottomSheetComponent, DsMobilePostComposerComponent, DsMobilePostCreateBottomSheetComponent, DsMobilePostDetailModalComponent, DsMobilePostDetailModalService, DsMobileProfileActionsSheetComponent, DsMobileTabBarComponent, DsMobileTabsComponent, DsTextInputComponent, MobileCommunityPageComponent, MobileHandbookPageComponent, MobileHomePageComponent, MobileInquiriesPageComponent, MobileInquiryDetailPageComponent, MobileModalBase, MobilePageBase, MobilePostDetailPageComponent, MobileTabsExampleComponent, PostActionsComponent, PostAttachmentsComponent, PostContentComponent, PostCreatePageComponent, PostMediaComponent, PostPdfAttachmentComponent, PostTextComponent, SectionHeaderComponent, SignInPageComponent, TileContentComponent, TileIconComponent, TileLabelComponent, TileValueComponent, UserService, WhitelabelDemoPage, WhitelabelService, customBackTransition, customPageTransition };
|
|
18919
|
+
export { ActionCommentComponent, ActionLikeComponent, ContentRowComponent, DsAvatarWithBadgeComponent, DsMobileActionsBottomSheetComponent, DsMobileAttachmentPreviewComponent, DsMobileBottomSheetService, DsMobileBottomSheetWrapperComponent, DsMobileCardInlineBannerComponent, DsMobileCardInlineComponent, DsMobileCardInlineContactComponent, DsMobileCardInlineFileComponent, DsMobileChatModalComponent, DsMobileChatModalService, DsMobileActionsBottomSheetComponent as DsMobileCommentActionsBottomSheetComponent, DsMobileCommentComponent, DsMobileContactListItemComponent, DsMobileContentComponent, DsMobileContentSectionComponent, DsMobileDropdownComponent, DsMobileEmptyStateComponent, DsMobileFabComponent, DsMobileHandbookDetailModalComponent, DsMobileHandbookDetailModalService, DsMobileHandbookFolderComponent, DsMobileHandbookFolderMiniComponent, DsMobileHeaderContentComponent, DsMobileHeaderContentTileComponent, DsMobileInlinePhotoComponent, DsMobileInlineTabsComponent, DsMobileInteractiveListItemInquiryComponent, DsMobileInteractiveListItemMessageComponent, DsMobileInteractiveListItemPostComponent, DsMobileLightboxImageComponent as DsMobileLightboxComponent, DsMobileLightboxFooterComponent, DsMobileLightboxHeaderComponent, DsMobileLightboxImageComponent, DsMobileLightboxPdfComponent, DsMobileLightboxService, DsMobileListItemComponent, DsMobileListItemStaticComponent, DsMobileLongPressDirective, DsMobileMessageBubbleComponent, DsMobileMessageComposerComponent, DsMobileModalBaseComponent, DsMobileModalService, DsMobileNewInquiryModalComponent, DsMobileNewInquiryModalService, DsMobilePageDetailsComponent, DsMobilePageMainComponent, DsMobileActionsBottomSheetComponent as DsMobilePostActionsBottomSheetComponent, DsMobilePostComposerComponent, DsMobilePostCreateBottomSheetComponent, DsMobilePostDetailModalComponent, DsMobilePostDetailModalService, DsMobileProfileActionsSheetComponent, DsMobileTabBarComponent, DsMobileTabsComponent, DsTextInputComponent, MobileCommunityPageComponent, MobileHandbookPageComponent, MobileHomePageComponent, MobileInquiriesPageComponent, MobileInquiryDetailPageComponent, MobileModalBase, MobilePageBase, MobilePostDetailPageComponent, MobileTabsExampleComponent, PostActionsComponent, PostAttachmentsComponent, PostContentComponent, PostCreatePageComponent, PostMediaComponent, PostPdfAttachmentComponent, PostTextComponent, SectionHeaderComponent, SignInPageComponent, TileContentComponent, TileIconComponent, TileLabelComponent, TileValueComponent, UserService, WhitelabelDemoPage, WhitelabelService, customBackTransition, customPageTransition };
|
|
18920
18920
|
//# sourceMappingURL=propbinder-mobile-design.mjs.map
|