@delon/abc 20.1.1 → 21.0.0-next.1
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/auto-focus.mjs +10 -10
- package/fesm2022/auto-focus.mjs.map +1 -1
- package/fesm2022/cell.mjs +23 -25
- package/fesm2022/cell.mjs.map +1 -1
- package/fesm2022/chart-observer-size.mjs +21 -34
- package/fesm2022/chart-observer-size.mjs.map +1 -1
- package/fesm2022/count-down.mjs +24 -31
- package/fesm2022/count-down.mjs.map +1 -1
- package/fesm2022/date-picker.mjs +89 -85
- package/fesm2022/date-picker.mjs.map +1 -1
- package/fesm2022/down-file.mjs +23 -43
- package/fesm2022/down-file.mjs.map +1 -1
- package/fesm2022/ellipsis.mjs +163 -104
- package/fesm2022/ellipsis.mjs.map +1 -1
- package/fesm2022/error-collect.mjs +11 -13
- package/fesm2022/error-collect.mjs.map +1 -1
- package/fesm2022/exception.mjs +9 -9
- package/fesm2022/exception.mjs.map +1 -1
- package/fesm2022/footer-toolbar.mjs +9 -9
- package/fesm2022/footer-toolbar.mjs.map +1 -1
- package/fesm2022/full-content.mjs +50 -58
- package/fesm2022/full-content.mjs.map +1 -1
- package/fesm2022/global-footer.mjs +14 -15
- package/fesm2022/global-footer.mjs.map +1 -1
- package/fesm2022/hotkey.mjs +7 -7
- package/fesm2022/hotkey.mjs.map +1 -1
- package/fesm2022/loading.mjs +61 -14
- package/fesm2022/loading.mjs.map +1 -1
- package/fesm2022/lodop.mjs +7 -7
- package/fesm2022/media.mjs +37 -61
- package/fesm2022/media.mjs.map +1 -1
- package/fesm2022/notice-icon.mjs +220 -25
- package/fesm2022/notice-icon.mjs.map +1 -1
- package/fesm2022/onboarding.mjs +160 -62
- package/fesm2022/onboarding.mjs.map +1 -1
- package/fesm2022/page-header.mjs +252 -155
- package/fesm2022/page-header.mjs.map +1 -1
- package/fesm2022/pdf.mjs +7 -7
- package/fesm2022/pdf.mjs.map +1 -1
- package/fesm2022/quick-menu.mjs +79 -71
- package/fesm2022/quick-menu.mjs.map +1 -1
- package/fesm2022/reuse-tab.mjs +257 -160
- package/fesm2022/reuse-tab.mjs.map +1 -1
- package/fesm2022/se.mjs +289 -309
- package/fesm2022/se.mjs.map +1 -1
- package/fesm2022/sg.mjs +32 -69
- package/fesm2022/sg.mjs.map +1 -1
- package/fesm2022/st.mjs +93 -84
- package/fesm2022/st.mjs.map +1 -1
- package/fesm2022/sv.mjs +185 -174
- package/fesm2022/sv.mjs.map +1 -1
- package/fesm2022/tag-select.mjs +44 -25
- package/fesm2022/tag-select.mjs.map +1 -1
- package/fesm2022/xlsx.mjs +14 -17
- package/fesm2022/xlsx.mjs.map +1 -1
- package/fesm2022/zip.mjs +4 -4
- package/fesm2022/zip.mjs.map +1 -1
- package/package.json +37 -37
- package/{auto-focus/index.d.ts → types/auto-focus.d.ts} +2 -2
- package/{cell/index.d.ts → types/cell.d.ts} +12 -13
- package/{observers/index.d.ts → types/chart-observer-size.d.ts} +5 -9
- package/{count-down/index.d.ts → types/count-down.d.ts} +6 -10
- package/{date-picker/index.d.ts → types/date-picker.d.ts} +6 -10
- package/types/down-file.d.ts +32 -0
- package/types/ellipsis.d.ts +46 -0
- package/types/error-collect.d.ts +34 -0
- package/{exception/index.d.ts → types/exception.d.ts} +13 -13
- package/{footer-toolbar/index.d.ts → types/footer-toolbar.d.ts} +2 -2
- package/{full-content/index.d.ts → types/full-content.d.ts} +8 -13
- package/{global-footer/index.d.ts → types/global-footer.d.ts} +7 -7
- package/{loading/index.d.ts → types/loading.d.ts} +1 -0
- package/{media/index.d.ts → types/media.d.ts} +10 -16
- package/{notice-icon/index.d.ts → types/notice-icon.d.ts} +15 -15
- package/{onboarding/index.d.ts → types/onboarding.d.ts} +12 -14
- package/types/page-header.d.ts +67 -0
- package/types/quick-menu.d.ts +31 -0
- package/{reuse-tab/index.d.ts → types/reuse-tab.d.ts} +46 -55
- package/types/se.d.ts +101 -0
- package/types/sg.d.ts +31 -0
- package/{st/index.d.ts → types/st.d.ts} +10 -2
- package/types/sv.d.ts +81 -0
- package/types/tag-select.d.ts +25 -0
- package/{xlsx/index.d.ts → types/xlsx.d.ts} +3 -3
- package/down-file/index.d.ts +0 -34
- package/ellipsis/index.d.ts +0 -55
- package/error-collect/index.d.ts +0 -35
- package/page-header/index.d.ts +0 -83
- package/quick-menu/index.d.ts +0 -38
- package/se/index.d.ts +0 -129
- package/sg/index.d.ts +0 -44
- package/sv/index.d.ts +0 -96
- package/tag-select/index.d.ts +0 -27
- /package/{index.d.ts → types/abc.d.ts} +0 -0
- /package/{hotkey/index.d.ts → types/hotkey.d.ts} +0 -0
- /package/{lodop/index.d.ts → types/lodop.d.ts} +0 -0
- /package/{pdf/index.d.ts → types/pdf.d.ts} +0 -0
- /package/{zip/index.d.ts → types/zip.d.ts} +0 -0
package/fesm2022/notice-icon.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { NzListComponent, NzListItemComponent, NzListItemMetaComponent, NzListMo
|
|
|
6
6
|
import { NzTagComponent, NzTagModule } from 'ng-zorro-antd/tag';
|
|
7
7
|
import { DelonLocaleService, DelonLocaleModule } from '@delon/theme';
|
|
8
8
|
import { NzBadgeComponent, NzBadgeModule } from 'ng-zorro-antd/badge';
|
|
9
|
-
import {
|
|
9
|
+
import { NzDropdownDirective, NzDropdownMenuComponent, NzDropdownModule } from 'ng-zorro-antd/dropdown';
|
|
10
10
|
import { NzIconDirective, NzIconModule } from 'ng-zorro-antd/icon';
|
|
11
11
|
import { NzSpinComponent, NzSpinModule } from 'ng-zorro-antd/spin';
|
|
12
12
|
import { NzTabsComponent, NzTabComponent, NzTabsModule } from 'ng-zorro-antd/tabs';
|
|
@@ -22,30 +22,137 @@ class NoticeIconTabComponent {
|
|
|
22
22
|
onClear() {
|
|
23
23
|
this.clear.emit(this.item().title);
|
|
24
24
|
}
|
|
25
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NoticeIconTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: NoticeIconTabComponent, isStandalone: true, selector: "notice-icon-tab", inputs: { locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: true, transformFunction: null }, item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { select: "select", clear: "clear" }, exportAs: ["noticeIconTab"], ngImport: i0, template: `
|
|
27
|
+
@let d = item();
|
|
28
|
+
@let list = d.list;
|
|
29
|
+
@if (list && list.length > 0) {
|
|
30
|
+
<ng-template [ngTemplateOutlet]="listTpl" />
|
|
31
|
+
} @else {
|
|
32
|
+
<div class="notice-icon__notfound">
|
|
33
|
+
@if (d.emptyImage) {
|
|
34
|
+
<img class="notice-icon__notfound-img" [attr.src]="d.emptyImage" alt="not found" />
|
|
35
|
+
}
|
|
36
|
+
<p>
|
|
37
|
+
<ng-container *nzStringTemplateOutlet="d.emptyText">
|
|
38
|
+
{{ d.emptyText ?? locale().emptyText }}
|
|
39
|
+
</ng-container>
|
|
40
|
+
</p>
|
|
41
|
+
</div>
|
|
42
|
+
}
|
|
43
|
+
<ng-template #listTpl>
|
|
44
|
+
<nz-list [nzDataSource]="list" [nzRenderItem]="item">
|
|
45
|
+
<ng-template #item let-item>
|
|
46
|
+
<nz-list-item (click)="onClick(item, $event)" [class.notice-icon__item-read]="item.read">
|
|
47
|
+
<nz-list-item-meta [nzTitle]="nzTitle" [nzDescription]="nzDescription" [nzAvatar]="item.avatar">
|
|
48
|
+
<ng-template #nzTitle>
|
|
49
|
+
<ng-container *nzStringTemplateOutlet="item.title; context: { $implicit: item }">
|
|
50
|
+
{{ item.title }}
|
|
51
|
+
</ng-container>
|
|
52
|
+
@if (item.extra) {
|
|
53
|
+
<div class="notice-icon__item-extra">
|
|
54
|
+
<nz-tag [nzColor]="item.color">{{ item.extra }}</nz-tag>
|
|
55
|
+
</div>
|
|
56
|
+
}
|
|
57
|
+
</ng-template>
|
|
58
|
+
<ng-template #nzDescription>
|
|
59
|
+
@if (item.description) {
|
|
60
|
+
<div class="notice-icon__item-desc">
|
|
61
|
+
<ng-container *nzStringTemplateOutlet="item.description; context: { $implicit: item }">
|
|
62
|
+
{{ item.description }}
|
|
63
|
+
</ng-container>
|
|
64
|
+
</div>
|
|
65
|
+
}
|
|
66
|
+
@if (item.datetime) {
|
|
67
|
+
<div class="notice-icon__item-time">{{ item.datetime }}</div>
|
|
68
|
+
}
|
|
69
|
+
</ng-template>
|
|
70
|
+
</nz-list-item-meta>
|
|
71
|
+
</nz-list-item>
|
|
72
|
+
</ng-template>
|
|
73
|
+
</nz-list>
|
|
74
|
+
<div class="notice-icon__clear" (click)="onClear()">{{ d.clearText ?? locale().clearText }}</div>
|
|
75
|
+
</ng-template>
|
|
76
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: NzListComponent, selector: "nz-list, [nz-list]", inputs: ["nzDataSource", "nzBordered", "nzGrid", "nzHeader", "nzFooter", "nzItemLayout", "nzRenderItem", "nzLoading", "nzLoadMore", "nzPagination", "nzSize", "nzSplit", "nzNoResult"], exportAs: ["nzList"] }, { kind: "component", type: NzListItemComponent, selector: "nz-list-item, [nz-list-item]", inputs: ["nzActions", "nzContent", "nzExtra", "nzNoFlex"], exportAs: ["nzListItem"] }, { kind: "component", type: NzListItemMetaComponent, selector: "nz-list-item-meta, [nz-list-item-meta]", inputs: ["nzAvatar", "nzTitle", "nzDescription"], exportAs: ["nzListItemMeta"] }, { kind: "component", type: NzTagComponent, selector: "nz-tag", inputs: ["nzMode", "nzColor", "nzChecked", "nzBordered"], outputs: ["nzOnClose", "nzCheckedChange"], exportAs: ["nzTag"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
27
77
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NoticeIconTabComponent, decorators: [{
|
|
29
79
|
type: Component,
|
|
30
|
-
args: [{
|
|
80
|
+
args: [{
|
|
81
|
+
selector: 'notice-icon-tab',
|
|
82
|
+
exportAs: 'noticeIconTab',
|
|
83
|
+
template: `
|
|
84
|
+
@let d = item();
|
|
85
|
+
@let list = d.list;
|
|
86
|
+
@if (list && list.length > 0) {
|
|
87
|
+
<ng-template [ngTemplateOutlet]="listTpl" />
|
|
88
|
+
} @else {
|
|
89
|
+
<div class="notice-icon__notfound">
|
|
90
|
+
@if (d.emptyImage) {
|
|
91
|
+
<img class="notice-icon__notfound-img" [attr.src]="d.emptyImage" alt="not found" />
|
|
92
|
+
}
|
|
93
|
+
<p>
|
|
94
|
+
<ng-container *nzStringTemplateOutlet="d.emptyText">
|
|
95
|
+
{{ d.emptyText ?? locale().emptyText }}
|
|
96
|
+
</ng-container>
|
|
97
|
+
</p>
|
|
98
|
+
</div>
|
|
99
|
+
}
|
|
100
|
+
<ng-template #listTpl>
|
|
101
|
+
<nz-list [nzDataSource]="list" [nzRenderItem]="item">
|
|
102
|
+
<ng-template #item let-item>
|
|
103
|
+
<nz-list-item (click)="onClick(item, $event)" [class.notice-icon__item-read]="item.read">
|
|
104
|
+
<nz-list-item-meta [nzTitle]="nzTitle" [nzDescription]="nzDescription" [nzAvatar]="item.avatar">
|
|
105
|
+
<ng-template #nzTitle>
|
|
106
|
+
<ng-container *nzStringTemplateOutlet="item.title; context: { $implicit: item }">
|
|
107
|
+
{{ item.title }}
|
|
108
|
+
</ng-container>
|
|
109
|
+
@if (item.extra) {
|
|
110
|
+
<div class="notice-icon__item-extra">
|
|
111
|
+
<nz-tag [nzColor]="item.color">{{ item.extra }}</nz-tag>
|
|
112
|
+
</div>
|
|
113
|
+
}
|
|
114
|
+
</ng-template>
|
|
115
|
+
<ng-template #nzDescription>
|
|
116
|
+
@if (item.description) {
|
|
117
|
+
<div class="notice-icon__item-desc">
|
|
118
|
+
<ng-container *nzStringTemplateOutlet="item.description; context: { $implicit: item }">
|
|
119
|
+
{{ item.description }}
|
|
120
|
+
</ng-container>
|
|
121
|
+
</div>
|
|
122
|
+
}
|
|
123
|
+
@if (item.datetime) {
|
|
124
|
+
<div class="notice-icon__item-time">{{ item.datetime }}</div>
|
|
125
|
+
}
|
|
126
|
+
</ng-template>
|
|
127
|
+
</nz-list-item-meta>
|
|
128
|
+
</nz-list-item>
|
|
129
|
+
</ng-template>
|
|
130
|
+
</nz-list>
|
|
131
|
+
<div class="notice-icon__clear" (click)="onClear()">{{ d.clearText ?? locale().clearText }}</div>
|
|
132
|
+
</ng-template>
|
|
133
|
+
`,
|
|
134
|
+
preserveWhitespaces: false,
|
|
135
|
+
encapsulation: ViewEncapsulation.None,
|
|
136
|
+
imports: [
|
|
31
137
|
NgTemplateOutlet,
|
|
32
138
|
NzStringTemplateOutletDirective,
|
|
33
139
|
NzListComponent,
|
|
34
140
|
NzListItemComponent,
|
|
35
141
|
NzListItemMetaComponent,
|
|
36
142
|
NzTagComponent
|
|
37
|
-
]
|
|
38
|
-
|
|
143
|
+
]
|
|
144
|
+
}]
|
|
145
|
+
}], propDecorators: { locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: true }] }], item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: true }] }], select: [{ type: i0.Output, args: ["select"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
|
|
39
146
|
|
|
40
147
|
class NoticeIconComponent {
|
|
41
148
|
locale = inject(DelonLocaleService).valueSignal('noticeIcon');
|
|
42
149
|
data = input([], ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
43
|
-
count = input(undefined, ...(ngDevMode ?
|
|
44
|
-
loading = input(false, ...(ngDevMode ?
|
|
45
|
-
popoverVisible = input(false, ...(ngDevMode ?
|
|
150
|
+
count = input(undefined, { ...(ngDevMode ? { debugName: "count" } : {}), transform: numberAttribute });
|
|
151
|
+
loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : {}), transform: booleanAttribute });
|
|
152
|
+
popoverVisible = input(false, { ...(ngDevMode ? { debugName: "popoverVisible" } : {}), transform: booleanAttribute });
|
|
46
153
|
btnClass = input(...(ngDevMode ? [undefined, { debugName: "btnClass" }] : []));
|
|
47
154
|
btnIconClass = input(...(ngDevMode ? [undefined, { debugName: "btnIconClass" }] : []));
|
|
48
|
-
centered = input(false, ...(ngDevMode ?
|
|
155
|
+
centered = input(false, { ...(ngDevMode ? { debugName: "centered" } : {}), transform: booleanAttribute });
|
|
49
156
|
select = output();
|
|
50
157
|
clear = output();
|
|
51
158
|
popoverVisibleChange = output();
|
|
@@ -62,41 +169,129 @@ class NoticeIconComponent {
|
|
|
62
169
|
this.delayShow.set(result);
|
|
63
170
|
this.popoverVisibleChange.emit(result);
|
|
64
171
|
}
|
|
65
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NoticeIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
173
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: NoticeIconComponent, isStandalone: true, selector: "notice-icon", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, popoverVisible: { classPropertyName: "popoverVisible", publicName: "popoverVisible", isSignal: true, isRequired: false, transformFunction: null }, btnClass: { classPropertyName: "btnClass", publicName: "btnClass", isSignal: true, isRequired: false, transformFunction: null }, btnIconClass: { classPropertyName: "btnIconClass", publicName: "btnIconClass", isSignal: true, isRequired: false, transformFunction: null }, centered: { classPropertyName: "centered", publicName: "centered", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { select: "select", clear: "clear", popoverVisibleChange: "popoverVisibleChange" }, host: { classAttribute: "notice-icon__btn" }, exportAs: ["noticeIcon"], ngImport: i0, template: `
|
|
174
|
+
<ng-template #badgeTpl>
|
|
175
|
+
<nz-badge [nzCount]="count()" [class]="btnClass()" [nzStyle]="{ 'box-shadow': 'none' }">
|
|
176
|
+
<nz-icon nzType="bell" [class]="btnIconClass()" />
|
|
177
|
+
</nz-badge>
|
|
178
|
+
</ng-template>
|
|
179
|
+
@let d = data();
|
|
180
|
+
@if (d.length <= 0) {
|
|
181
|
+
<ng-template [ngTemplateOutlet]="badgeTpl" />
|
|
182
|
+
} @else {
|
|
183
|
+
<div
|
|
184
|
+
nz-dropdown
|
|
185
|
+
[nzVisible]="popoverVisible()"
|
|
186
|
+
(nzVisibleChange)="onVisibleChange($event)"
|
|
187
|
+
nzTrigger="click"
|
|
188
|
+
nzPlacement="bottomRight"
|
|
189
|
+
[nzOverlayClassName]="overlayCls()"
|
|
190
|
+
[nzDropdownMenu]="noticeMenu"
|
|
191
|
+
>
|
|
192
|
+
<ng-template [ngTemplateOutlet]="badgeTpl" />
|
|
193
|
+
</div>
|
|
194
|
+
<nz-dropdown-menu #noticeMenu="nzDropdownMenu">
|
|
195
|
+
<nz-spin [nzSpinning]="loading()" [nzDelay]="0">
|
|
196
|
+
@if (delayShow()) {
|
|
197
|
+
<nz-tabs [nzSelectedIndex]="0" [nzCentered]="centered()">
|
|
198
|
+
@for (i of d; track $index) {
|
|
199
|
+
<nz-tab [nzTitle]="i.title">
|
|
200
|
+
<notice-icon-tab
|
|
201
|
+
[locale]="locale()"
|
|
202
|
+
[item]="i"
|
|
203
|
+
(select)="select.emit($event)"
|
|
204
|
+
(clear)="clear.emit($event)"
|
|
205
|
+
/>
|
|
206
|
+
</nz-tab>
|
|
207
|
+
}
|
|
208
|
+
</nz-tabs>
|
|
209
|
+
}
|
|
210
|
+
</nz-spin>
|
|
211
|
+
</nz-dropdown-menu>
|
|
212
|
+
}
|
|
213
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: NzBadgeComponent, selector: "nz-badge", inputs: ["nzShowZero", "nzShowDot", "nzStandalone", "nzDot", "nzOverflowCount", "nzColor", "nzStyle", "nzText", "nzTitle", "nzStatus", "nzCount", "nzOffset", "nzSize"], exportAs: ["nzBadge"] }, { kind: "directive", type: NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: NzDropdownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzArrow", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "component", type: NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "component", type: NzTabsComponent, selector: "nz-tabs", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabs"] }, { kind: "component", type: NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "component", type: NoticeIconTabComponent, selector: "notice-icon-tab", inputs: ["locale", "item"], outputs: ["select", "clear"], exportAs: ["noticeIconTab"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
67
214
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NoticeIconComponent, decorators: [{
|
|
69
216
|
type: Component,
|
|
70
|
-
args: [{
|
|
217
|
+
args: [{
|
|
218
|
+
selector: 'notice-icon',
|
|
219
|
+
exportAs: 'noticeIcon',
|
|
220
|
+
template: `
|
|
221
|
+
<ng-template #badgeTpl>
|
|
222
|
+
<nz-badge [nzCount]="count()" [class]="btnClass()" [nzStyle]="{ 'box-shadow': 'none' }">
|
|
223
|
+
<nz-icon nzType="bell" [class]="btnIconClass()" />
|
|
224
|
+
</nz-badge>
|
|
225
|
+
</ng-template>
|
|
226
|
+
@let d = data();
|
|
227
|
+
@if (d.length <= 0) {
|
|
228
|
+
<ng-template [ngTemplateOutlet]="badgeTpl" />
|
|
229
|
+
} @else {
|
|
230
|
+
<div
|
|
231
|
+
nz-dropdown
|
|
232
|
+
[nzVisible]="popoverVisible()"
|
|
233
|
+
(nzVisibleChange)="onVisibleChange($event)"
|
|
234
|
+
nzTrigger="click"
|
|
235
|
+
nzPlacement="bottomRight"
|
|
236
|
+
[nzOverlayClassName]="overlayCls()"
|
|
237
|
+
[nzDropdownMenu]="noticeMenu"
|
|
238
|
+
>
|
|
239
|
+
<ng-template [ngTemplateOutlet]="badgeTpl" />
|
|
240
|
+
</div>
|
|
241
|
+
<nz-dropdown-menu #noticeMenu="nzDropdownMenu">
|
|
242
|
+
<nz-spin [nzSpinning]="loading()" [nzDelay]="0">
|
|
243
|
+
@if (delayShow()) {
|
|
244
|
+
<nz-tabs [nzSelectedIndex]="0" [nzCentered]="centered()">
|
|
245
|
+
@for (i of d; track $index) {
|
|
246
|
+
<nz-tab [nzTitle]="i.title">
|
|
247
|
+
<notice-icon-tab
|
|
248
|
+
[locale]="locale()"
|
|
249
|
+
[item]="i"
|
|
250
|
+
(select)="select.emit($event)"
|
|
251
|
+
(clear)="clear.emit($event)"
|
|
252
|
+
/>
|
|
253
|
+
</nz-tab>
|
|
254
|
+
}
|
|
255
|
+
</nz-tabs>
|
|
256
|
+
}
|
|
257
|
+
</nz-spin>
|
|
258
|
+
</nz-dropdown-menu>
|
|
259
|
+
}
|
|
260
|
+
`,
|
|
261
|
+
host: { class: 'notice-icon__btn' },
|
|
262
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
263
|
+
encapsulation: ViewEncapsulation.None,
|
|
264
|
+
imports: [
|
|
71
265
|
NgTemplateOutlet,
|
|
72
266
|
NzBadgeComponent,
|
|
73
267
|
NzIconDirective,
|
|
74
|
-
|
|
268
|
+
NzDropdownDirective,
|
|
75
269
|
NzDropdownMenuComponent,
|
|
76
270
|
NzSpinComponent,
|
|
77
271
|
NzTabsComponent,
|
|
78
272
|
NzTabComponent,
|
|
79
273
|
NoticeIconTabComponent
|
|
80
|
-
]
|
|
81
|
-
|
|
274
|
+
]
|
|
275
|
+
}]
|
|
276
|
+
}], ctorParameters: () => [], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], count: [{ type: i0.Input, args: [{ isSignal: true, alias: "count", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], popoverVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "popoverVisible", required: false }] }], btnClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "btnClass", required: false }] }], btnIconClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "btnIconClass", required: false }] }], centered: [{ type: i0.Input, args: [{ isSignal: true, alias: "centered", required: false }] }], select: [{ type: i0.Output, args: ["select"] }], clear: [{ type: i0.Output, args: ["clear"] }], popoverVisibleChange: [{ type: i0.Output, args: ["popoverVisibleChange"] }] } });
|
|
82
277
|
|
|
83
278
|
const COMPONENTS = [NoticeIconComponent];
|
|
84
279
|
class NoticeIconModule {
|
|
85
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
86
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NoticeIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
281
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: NoticeIconModule, imports: [CommonModule,
|
|
87
282
|
DelonLocaleModule,
|
|
88
283
|
NzBadgeModule,
|
|
89
|
-
|
|
284
|
+
NzDropdownModule,
|
|
90
285
|
NzIconModule,
|
|
91
286
|
NzListModule,
|
|
92
287
|
NzSpinModule,
|
|
93
288
|
NzTabsModule,
|
|
94
289
|
NzTagModule,
|
|
95
290
|
NzOutletModule, NoticeIconComponent, NoticeIconTabComponent], exports: [NoticeIconComponent] });
|
|
96
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
291
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NoticeIconModule, imports: [CommonModule,
|
|
97
292
|
DelonLocaleModule,
|
|
98
293
|
NzBadgeModule,
|
|
99
|
-
|
|
294
|
+
NzDropdownModule,
|
|
100
295
|
NzIconModule,
|
|
101
296
|
NzListModule,
|
|
102
297
|
NzSpinModule,
|
|
@@ -104,14 +299,14 @@ class NoticeIconModule {
|
|
|
104
299
|
NzTagModule,
|
|
105
300
|
NzOutletModule, COMPONENTS, NoticeIconTabComponent] });
|
|
106
301
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NoticeIconModule, decorators: [{
|
|
108
303
|
type: NgModule,
|
|
109
304
|
args: [{
|
|
110
305
|
imports: [
|
|
111
306
|
CommonModule,
|
|
112
307
|
DelonLocaleModule,
|
|
113
308
|
NzBadgeModule,
|
|
114
|
-
|
|
309
|
+
NzDropdownModule,
|
|
115
310
|
NzIconModule,
|
|
116
311
|
NzListModule,
|
|
117
312
|
NzSpinModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notice-icon.mjs","sources":["../../../../packages/abc/notice-icon/notice-icon-tab.component.ts","../../../../packages/abc/notice-icon/notice-icon-tab.component.html","../../../../packages/abc/notice-icon/notice-icon.component.ts","../../../../packages/abc/notice-icon/notice-icon.component.html","../../../../packages/abc/notice-icon/notice-icon.module.ts","../../../../packages/abc/notice-icon/notice-icon.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { Component, input, output, ViewEncapsulation } from '@angular/core';\n\nimport { LocaleData } from '@delon/theme';\nimport { NzStringTemplateOutletDirective } from 'ng-zorro-antd/core/outlet';\nimport { NzListComponent, NzListItemComponent, NzListItemMetaComponent } from 'ng-zorro-antd/list';\nimport { NzTagComponent } from 'ng-zorro-antd/tag';\n\nimport { NoticeIconSelect, NoticeItem } from './notice-icon.types';\n\n@Component({\n selector: 'notice-icon-tab',\n exportAs: 'noticeIconTab',\n templateUrl: './notice-icon-tab.component.html',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgTemplateOutlet,\n NzStringTemplateOutletDirective,\n NzListComponent,\n NzListItemComponent,\n NzListItemMetaComponent,\n NzTagComponent\n ]\n})\nexport class NoticeIconTabComponent {\n locale = input.required<LocaleData>();\n item = input.required<NoticeItem>();\n readonly select = output<NoticeIconSelect>();\n readonly clear = output<string>();\n\n onClick(item: NoticeItem, event: Event): void {\n this.select.emit({ title: this.item().title, item, event });\n }\n\n onClear(): void {\n this.clear.emit(this.item().title);\n }\n}\n","@let d = item();\n@let list = d.list;\n@if (list && list.length > 0) {\n <ng-template [ngTemplateOutlet]=\"listTpl\" />\n} @else {\n <div class=\"notice-icon__notfound\">\n @if (d.emptyImage) {\n <img class=\"notice-icon__notfound-img\" [attr.src]=\"d.emptyImage\" alt=\"not found\" />\n }\n <p>\n <ng-container *nzStringTemplateOutlet=\"d.emptyText\">\n {{ d.emptyText ?? locale().emptyText }}\n </ng-container>\n </p>\n </div>\n}\n<ng-template #listTpl>\n <nz-list [nzDataSource]=\"list\" [nzRenderItem]=\"item\">\n <ng-template #item let-item>\n <nz-list-item (click)=\"onClick(item, $event)\" [class.notice-icon__item-read]=\"item.read\">\n <nz-list-item-meta [nzTitle]=\"nzTitle\" [nzDescription]=\"nzDescription\" [nzAvatar]=\"item.avatar\">\n <ng-template #nzTitle>\n <ng-container *nzStringTemplateOutlet=\"item.title; context: { $implicit: item }\">\n {{ item.title }}\n </ng-container>\n @if (item.extra) {\n <div class=\"notice-icon__item-extra\">\n <nz-tag [nzColor]=\"item.color\">{{ item.extra }}</nz-tag>\n </div>\n }\n </ng-template>\n <ng-template #nzDescription>\n @if (item.description) {\n <div class=\"notice-icon__item-desc\">\n <ng-container *nzStringTemplateOutlet=\"item.description; context: { $implicit: item }\">\n {{ item.description }}\n </ng-container>\n </div>\n }\n @if (item.datetime) {\n <div class=\"notice-icon__item-time\">{{ item.datetime }}</div>\n }\n </ng-template>\n </nz-list-item-meta>\n </nz-list-item>\n </ng-template>\n </nz-list>\n <div class=\"notice-icon__clear\" (click)=\"onClear()\">{{ d.clearText ?? locale().clearText }}</div>\n</ng-template>\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n effect,\n inject,\n input,\n numberAttribute,\n output,\n signal\n} from '@angular/core';\n\nimport { DelonLocaleService } from '@delon/theme';\nimport { NzBadgeComponent } from 'ng-zorro-antd/badge';\nimport type { NgClassType } from 'ng-zorro-antd/core/types';\nimport { NzDropDownDirective, NzDropdownMenuComponent } from 'ng-zorro-antd/dropdown';\nimport { NzIconDirective } from 'ng-zorro-antd/icon';\nimport { NzSpinComponent } from 'ng-zorro-antd/spin';\nimport { NzTabComponent, NzTabsComponent } from 'ng-zorro-antd/tabs';\n\nimport { NoticeIconTabComponent } from './notice-icon-tab.component';\nimport { NoticeIconSelect, NoticeItem } from './notice-icon.types';\n\n@Component({\n selector: 'notice-icon',\n exportAs: 'noticeIcon',\n templateUrl: './notice-icon.component.html',\n host: { '[class.notice-icon__btn]': 'true' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgTemplateOutlet,\n NzBadgeComponent,\n NzIconDirective,\n NzDropDownDirective,\n NzDropdownMenuComponent,\n NzSpinComponent,\n NzTabsComponent,\n NzTabComponent,\n NoticeIconTabComponent\n ]\n})\nexport class NoticeIconComponent {\n locale = inject(DelonLocaleService).valueSignal('noticeIcon');\n data = input<NoticeItem[]>([]);\n count = input(undefined, { transform: numberAttribute });\n loading = input(false, { transform: booleanAttribute });\n popoverVisible = input(false, { transform: booleanAttribute });\n btnClass = input<NgClassType>();\n btnIconClass = input<NgClassType>();\n centered = input(false, { transform: booleanAttribute });\n readonly select = output<NoticeIconSelect>();\n readonly clear = output<string>();\n readonly popoverVisibleChange = output<boolean>();\n\n overlayCls = signal<string>('');\n\n constructor() {\n effect(() => {\n this.overlayCls.set(`header-dropdown notice-icon${!this.centered() ? ' notice-icon__tab-left' : ''}`);\n if (!this.popoverVisible()) this.delayShow.set(false);\n });\n }\n\n delayShow = signal(false);\n onVisibleChange(result: boolean): void {\n this.delayShow.set(result);\n this.popoverVisibleChange.emit(result);\n }\n}\n","<ng-template #badgeTpl>\n <nz-badge [nzCount]=\"count()\" [class]=\"btnClass()\" [nzStyle]=\"{ 'box-shadow': 'none' }\">\n <nz-icon nzType=\"bell\" [class]=\"btnIconClass()\" />\n </nz-badge>\n</ng-template>\n@let d = data();\n@if (d.length <= 0) {\n <ng-template [ngTemplateOutlet]=\"badgeTpl\" />\n} @else {\n <div\n nz-dropdown\n [nzVisible]=\"popoverVisible()\"\n (nzVisibleChange)=\"onVisibleChange($event)\"\n nzTrigger=\"click\"\n nzPlacement=\"bottomRight\"\n [nzOverlayClassName]=\"overlayCls()\"\n [nzDropdownMenu]=\"noticeMenu\"\n >\n <ng-template [ngTemplateOutlet]=\"badgeTpl\" />\n </div>\n <nz-dropdown-menu #noticeMenu=\"nzDropdownMenu\">\n <nz-spin [nzSpinning]=\"loading()\" [nzDelay]=\"0\">\n @if (delayShow()) {\n <nz-tabs [nzSelectedIndex]=\"0\" [nzCentered]=\"centered()\">\n @for (i of d; track $index) {\n <nz-tab [nzTitle]=\"i.title\">\n <notice-icon-tab [locale]=\"locale()\" [item]=\"i\" (select)=\"select.emit($event)\" (clear)=\"clear.emit($event)\" />\n </nz-tab>\n }\n </nz-tabs>\n }\n </nz-spin>\n </nz-dropdown-menu>\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DelonLocaleModule } from '@delon/theme';\nimport { NzBadgeModule } from 'ng-zorro-antd/badge';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport { NzDropDownModule } from 'ng-zorro-antd/dropdown';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzListModule } from 'ng-zorro-antd/list';\nimport { NzSpinModule } from 'ng-zorro-antd/spin';\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\nimport { NzTagModule } from 'ng-zorro-antd/tag';\n\nimport { NoticeIconTabComponent } from './notice-icon-tab.component';\nimport { NoticeIconComponent } from './notice-icon.component';\n\nconst COMPONENTS = [NoticeIconComponent];\n\n@NgModule({\n imports: [\n CommonModule,\n DelonLocaleModule,\n NzBadgeModule,\n NzDropDownModule,\n NzIconModule,\n NzListModule,\n NzSpinModule,\n NzTabsModule,\n NzTagModule,\n NzOutletModule,\n ...COMPONENTS,\n NoticeIconTabComponent\n ],\n exports: COMPONENTS\n})\nexport class NoticeIconModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAyBa,sBAAsB,CAAA;AACjC,IAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,iDAAc;AACrC,IAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,+CAAc;IAC1B,MAAM,GAAG,MAAM,EAAoB;IACnC,KAAK,GAAG,MAAM,EAAU;IAEjC,OAAO,CAAC,IAAgB,EAAE,KAAY,EAAA;QACpC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IAC7D;IAEA,OAAO,GAAA;AACL,QAAA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC;IACpC;uGAZW,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBA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notice-icon/notice-icon.component.ts","../../../../packages/abc/notice-icon/notice-icon.module.ts","../../../../packages/abc/notice-icon/notice-icon.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { Component, input, output, ViewEncapsulation } from '@angular/core';\n\nimport { LocaleData } from '@delon/theme';\nimport { NzStringTemplateOutletDirective } from 'ng-zorro-antd/core/outlet';\nimport { NzListComponent, NzListItemComponent, NzListItemMetaComponent } from 'ng-zorro-antd/list';\nimport { NzTagComponent } from 'ng-zorro-antd/tag';\n\nimport { NoticeIconSelect, NoticeItem } from './notice-icon.types';\n\n@Component({\n selector: 'notice-icon-tab',\n exportAs: 'noticeIconTab',\n template: `\n @let d = item();\n @let list = d.list;\n @if (list && list.length > 0) {\n <ng-template [ngTemplateOutlet]=\"listTpl\" />\n } @else {\n <div class=\"notice-icon__notfound\">\n @if (d.emptyImage) {\n <img class=\"notice-icon__notfound-img\" [attr.src]=\"d.emptyImage\" alt=\"not found\" />\n }\n <p>\n <ng-container *nzStringTemplateOutlet=\"d.emptyText\">\n {{ d.emptyText ?? locale().emptyText }}\n </ng-container>\n </p>\n </div>\n }\n <ng-template #listTpl>\n <nz-list [nzDataSource]=\"list\" [nzRenderItem]=\"item\">\n <ng-template #item let-item>\n <nz-list-item (click)=\"onClick(item, $event)\" [class.notice-icon__item-read]=\"item.read\">\n <nz-list-item-meta [nzTitle]=\"nzTitle\" [nzDescription]=\"nzDescription\" [nzAvatar]=\"item.avatar\">\n <ng-template #nzTitle>\n <ng-container *nzStringTemplateOutlet=\"item.title; context: { $implicit: item }\">\n {{ item.title }}\n </ng-container>\n @if (item.extra) {\n <div class=\"notice-icon__item-extra\">\n <nz-tag [nzColor]=\"item.color\">{{ item.extra }}</nz-tag>\n </div>\n }\n </ng-template>\n <ng-template #nzDescription>\n @if (item.description) {\n <div class=\"notice-icon__item-desc\">\n <ng-container *nzStringTemplateOutlet=\"item.description; context: { $implicit: item }\">\n {{ item.description }}\n </ng-container>\n </div>\n }\n @if (item.datetime) {\n <div class=\"notice-icon__item-time\">{{ item.datetime }}</div>\n }\n </ng-template>\n </nz-list-item-meta>\n </nz-list-item>\n </ng-template>\n </nz-list>\n <div class=\"notice-icon__clear\" (click)=\"onClear()\">{{ d.clearText ?? locale().clearText }}</div>\n </ng-template>\n `,\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgTemplateOutlet,\n NzStringTemplateOutletDirective,\n NzListComponent,\n NzListItemComponent,\n NzListItemMetaComponent,\n NzTagComponent\n ]\n})\nexport class NoticeIconTabComponent {\n readonly locale = input.required<LocaleData>();\n readonly item = input.required<NoticeItem>();\n readonly select = output<NoticeIconSelect>();\n readonly clear = output<string>();\n\n protected onClick(item: NoticeItem, event: Event): void {\n this.select.emit({ title: this.item().title, item, event });\n }\n\n protected onClear(): void {\n this.clear.emit(this.item().title);\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n effect,\n inject,\n input,\n numberAttribute,\n output,\n signal\n} from '@angular/core';\n\nimport { DelonLocaleService } from '@delon/theme';\nimport { NzBadgeComponent } from 'ng-zorro-antd/badge';\nimport type { NgClassType } from 'ng-zorro-antd/core/types';\nimport { NzDropdownDirective, NzDropdownMenuComponent } from 'ng-zorro-antd/dropdown';\nimport { NzIconDirective } from 'ng-zorro-antd/icon';\nimport { NzSpinComponent } from 'ng-zorro-antd/spin';\nimport { NzTabComponent, NzTabsComponent } from 'ng-zorro-antd/tabs';\n\nimport { NoticeIconTabComponent } from './notice-icon-tab.component';\nimport { NoticeIconSelect, NoticeItem } from './notice-icon.types';\n\n@Component({\n selector: 'notice-icon',\n exportAs: 'noticeIcon',\n template: `\n <ng-template #badgeTpl>\n <nz-badge [nzCount]=\"count()\" [class]=\"btnClass()\" [nzStyle]=\"{ 'box-shadow': 'none' }\">\n <nz-icon nzType=\"bell\" [class]=\"btnIconClass()\" />\n </nz-badge>\n </ng-template>\n @let d = data();\n @if (d.length <= 0) {\n <ng-template [ngTemplateOutlet]=\"badgeTpl\" />\n } @else {\n <div\n nz-dropdown\n [nzVisible]=\"popoverVisible()\"\n (nzVisibleChange)=\"onVisibleChange($event)\"\n nzTrigger=\"click\"\n nzPlacement=\"bottomRight\"\n [nzOverlayClassName]=\"overlayCls()\"\n [nzDropdownMenu]=\"noticeMenu\"\n >\n <ng-template [ngTemplateOutlet]=\"badgeTpl\" />\n </div>\n <nz-dropdown-menu #noticeMenu=\"nzDropdownMenu\">\n <nz-spin [nzSpinning]=\"loading()\" [nzDelay]=\"0\">\n @if (delayShow()) {\n <nz-tabs [nzSelectedIndex]=\"0\" [nzCentered]=\"centered()\">\n @for (i of d; track $index) {\n <nz-tab [nzTitle]=\"i.title\">\n <notice-icon-tab\n [locale]=\"locale()\"\n [item]=\"i\"\n (select)=\"select.emit($event)\"\n (clear)=\"clear.emit($event)\"\n />\n </nz-tab>\n }\n </nz-tabs>\n }\n </nz-spin>\n </nz-dropdown-menu>\n }\n `,\n host: { class: 'notice-icon__btn' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgTemplateOutlet,\n NzBadgeComponent,\n NzIconDirective,\n NzDropdownDirective,\n NzDropdownMenuComponent,\n NzSpinComponent,\n NzTabsComponent,\n NzTabComponent,\n NoticeIconTabComponent\n ]\n})\nexport class NoticeIconComponent {\n protected locale = inject(DelonLocaleService).valueSignal('noticeIcon');\n readonly data = input<NoticeItem[]>([]);\n readonly count = input(undefined, { transform: numberAttribute });\n readonly loading = input(false, { transform: booleanAttribute });\n readonly popoverVisible = input(false, { transform: booleanAttribute });\n readonly btnClass = input<NgClassType>();\n readonly btnIconClass = input<NgClassType>();\n readonly centered = input(false, { transform: booleanAttribute });\n readonly select = output<NoticeIconSelect>();\n readonly clear = output<string>();\n readonly popoverVisibleChange = output<boolean>();\n\n protected overlayCls = signal<string>('');\n\n constructor() {\n effect(() => {\n this.overlayCls.set(`header-dropdown notice-icon${!this.centered() ? ' notice-icon__tab-left' : ''}`);\n if (!this.popoverVisible()) this.delayShow.set(false);\n });\n }\n\n protected delayShow = signal(false);\n onVisibleChange(result: boolean): void {\n this.delayShow.set(result);\n this.popoverVisibleChange.emit(result);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DelonLocaleModule } from '@delon/theme';\nimport { NzBadgeModule } from 'ng-zorro-antd/badge';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport { NzDropdownModule } from 'ng-zorro-antd/dropdown';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzListModule } from 'ng-zorro-antd/list';\nimport { NzSpinModule } from 'ng-zorro-antd/spin';\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\nimport { NzTagModule } from 'ng-zorro-antd/tag';\n\nimport { NoticeIconTabComponent } from './notice-icon-tab.component';\nimport { NoticeIconComponent } from './notice-icon.component';\n\nconst COMPONENTS = [NoticeIconComponent];\n\n@NgModule({\n imports: [\n CommonModule,\n DelonLocaleModule,\n NzBadgeModule,\n NzDropdownModule,\n NzIconModule,\n NzListModule,\n NzSpinModule,\n NzTabsModule,\n NzTagModule,\n NzOutletModule,\n ...COMPONENTS,\n NoticeIconTabComponent\n ],\n exports: COMPONENTS\n})\nexport class NoticeIconModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MA2Ea,sBAAsB,CAAA;AACxB,IAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,iDAAc;AACrC,IAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,+CAAc;IACnC,MAAM,GAAG,MAAM,EAAoB;IACnC,KAAK,GAAG,MAAM,EAAU;IAEvB,OAAO,CAAC,IAAgB,EAAE,KAAY,EAAA;QAC9C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,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