@wow-two-beta/fe 0.0.49 → 0.0.50
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/dist/feedback/FeedbackBus.d.ts +154 -29
- package/dist/feedback/FeedbackBus.js +264 -27
- package/dist/feedback/FeedbackBus.js.map +1 -1
- package/dist/feedback/index.d.ts +1 -1
- package/dist/feedback/index.js +3 -1
- package/dist/foundation/dom/enums/ElementTag.d.ts +2 -0
- package/dist/foundation/dom/enums/ElementTag.js +3 -1
- package/dist/foundation/dom/enums/ElementTag.js.map +1 -1
- package/dist/index.js +325 -312
- package/dist/index.js.map +1 -1
- package/dist/presentation/display/index.js +105 -102
- package/dist/presentation/display/index.js.map +1 -1
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton.vue.d.ts +18 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton.vue.js +120 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton.vue.js.map +1 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton2.vue.js +5 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton2.vue.js.map +1 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.d.ts +11 -6
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.js +255 -61
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.js.map +1 -1
- package/dist/presentation/display/notificationCenterGroup/{NotificationItem.vue.d.ts → NotificationCenterGroupItem.vue.d.ts} +13 -12
- package/dist/presentation/display/notificationCenterGroup/{NotificationItem.vue.js → NotificationCenterGroupItem.vue.js} +81 -58
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroupItem.vue.js.map +1 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroupItem2.vue.js +5 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroupItem2.vue.js.map +1 -0
- package/dist/presentation/display/notificationCenterGroup/index.d.ts +6 -1
- package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.d.ts +1 -9
- package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.js +165 -20
- package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.js.map +1 -1
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton.vue.d.ts +7 -0
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton.vue.js +56 -0
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton.vue.js.map +1 -0
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton2.vue.js +5 -0
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton2.vue.js.map +1 -0
- package/dist/presentation/feedback/index.js +9 -1
- package/dist/presentation/feedback/index.js.map +1 -1
- package/dist/presentation/feedback/toast/Toast.vue.d.ts +34 -8
- package/dist/presentation/feedback/toast/Toast.vue.js +290 -85
- package/dist/presentation/feedback/toast/Toast.vue.js.map +1 -1
- package/dist/presentation/feedback/toast/ToastContent.vue.d.ts +25 -0
- package/dist/presentation/feedback/toast/ToastContent.vue.js +78 -0
- package/dist/presentation/feedback/toast/ToastContent.vue.js.map +1 -0
- package/dist/presentation/feedback/toast/ToastContent2.vue.js +5 -0
- package/dist/presentation/feedback/toast/ToastContent2.vue.js.map +1 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress.vue.d.ts +15 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress.vue.js +88 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress.vue.js.map +1 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress2.vue.js +5 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress2.vue.js.map +1 -0
- package/dist/presentation/feedback/toast/ToastSurface.d.ts +8 -0
- package/dist/presentation/feedback/toast/ToastSurface.js +10 -0
- package/dist/presentation/feedback/toast/ToastSurface.js.map +1 -0
- package/dist/presentation/feedback/toast/index.d.ts +1 -0
- package/dist/presentation/feedback/toastHost/ToastContent.d.ts +3 -0
- package/dist/presentation/feedback/toastHost/ToastEntry.d.ts +12 -0
- package/dist/presentation/feedback/toastHost/ToastFocusExtensions.d.ts +2 -0
- package/dist/presentation/feedback/toastHost/ToastFocusExtensions.js +11 -0
- package/dist/presentation/feedback/toastHost/ToastFocusExtensions.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastGroup.d.ts +8 -0
- package/dist/presentation/feedback/toastHost/ToastGroupLatest.d.ts +10 -0
- package/dist/presentation/feedback/toastHost/ToastHost.vue.d.ts +55 -110
- package/dist/presentation/feedback/toastHost/ToastHost.vue.js +394 -399
- package/dist/presentation/feedback/toastHost/ToastHost.vue.js.map +1 -1
- package/dist/presentation/feedback/toastHost/ToastHost2.vue.js +4 -5
- package/dist/presentation/feedback/toastHost/ToastHostStore.d.ts +37 -0
- package/dist/presentation/feedback/toastHost/ToastHostStore.js +98 -0
- package/dist/presentation/feedback/toastHost/ToastHostStore.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastHostStyles.d.ts +34 -0
- package/dist/presentation/feedback/toastHost/ToastHostStyles.js +44 -0
- package/dist/presentation/feedback/toastHost/ToastHostStyles.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastNode.d.ts +3 -0
- package/dist/presentation/feedback/toastHost/ToastOptions.d.ts +72 -0
- package/dist/presentation/feedback/toastHost/ToastProgress.vue.d.ts +11 -0
- package/dist/presentation/feedback/toastHost/ToastProgress.vue.js +44 -0
- package/dist/presentation/feedback/toastHost/ToastProgress.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastProgress2.vue.js +5 -0
- package/dist/presentation/feedback/toastHost/ToastProgress2.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastPromiseOptions.d.ts +12 -0
- package/dist/presentation/feedback/toastHost/ToastRing.vue.d.ts +14 -0
- package/dist/presentation/feedback/toastHost/ToastRing.vue.js +65 -0
- package/dist/presentation/feedback/toastHost/ToastRing.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastRing2.vue.js +5 -0
- package/dist/presentation/feedback/toastHost/ToastRing2.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds.vue.d.ts +9 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds.vue.js +56 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds2.vue.js +5 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds2.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastSeverity.d.ts +3 -0
- package/dist/presentation/feedback/toastHost/UseResolvedToasts.d.ts +27 -0
- package/dist/presentation/feedback/toastHost/UseResolvedToasts.js +34 -0
- package/dist/presentation/feedback/toastHost/UseResolvedToasts.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastAnnouncer.d.ts +14 -0
- package/dist/presentation/feedback/toastHost/UseToastAnnouncer.js +106 -0
- package/dist/presentation/feedback/toastHost/UseToastAnnouncer.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastCapacity.d.ts +34 -0
- package/dist/presentation/feedback/toastHost/UseToastCapacity.js +128 -0
- package/dist/presentation/feedback/toastHost/UseToastCapacity.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastClock.d.ts +44 -0
- package/dist/presentation/feedback/toastHost/UseToastClock.js +134 -0
- package/dist/presentation/feedback/toastHost/UseToastClock.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastCountdown.d.ts +26 -0
- package/dist/presentation/feedback/toastHost/UseToastCountdown.js +23 -0
- package/dist/presentation/feedback/toastHost/UseToastCountdown.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastEntries.d.ts +4 -0
- package/dist/presentation/feedback/toastHost/UseToastEntries.js +17 -0
- package/dist/presentation/feedback/toastHost/UseToastEntries.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastExits.d.ts +11 -0
- package/dist/presentation/feedback/toastHost/UseToastExits.js +52 -0
- package/dist/presentation/feedback/toastHost/UseToastExits.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastGroupMotion.d.ts +43 -0
- package/dist/presentation/feedback/toastHost/UseToastGroupMotion.js +173 -0
- package/dist/presentation/feedback/toastHost/UseToastGroupMotion.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastHost.d.ts +10 -0
- package/dist/presentation/feedback/toastHost/UseToastHost.js +14 -0
- package/dist/presentation/feedback/toastHost/UseToastHost.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastHotkey.d.ts +20 -0
- package/dist/presentation/feedback/toastHost/UseToastHotkey.js +66 -0
- package/dist/presentation/feedback/toastHost/UseToastHotkey.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastPins.d.ts +26 -0
- package/dist/presentation/feedback/toastHost/UseToastPins.js +35 -0
- package/dist/presentation/feedback/toastHost/UseToastPins.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastStackMotion.d.ts +27 -0
- package/dist/presentation/feedback/toastHost/UseToastStackMotion.js +96 -0
- package/dist/presentation/feedback/toastHost/UseToastStackMotion.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastSwipe.d.ts +19 -0
- package/dist/presentation/feedback/toastHost/UseToastSwipe.js +173 -0
- package/dist/presentation/feedback/toastHost/UseToastSwipe.js.map +1 -0
- package/dist/presentation/feedback/toastHost/index.d.ts +8 -1
- package/dist/presentation/feedback/toastHost/index.js +7 -1
- package/dist/presentation/feedback/toastHost/index.js.map +1 -1
- package/dist/presentation/feedback/toastHost/styles.css +14 -2
- package/dist/presentation/layout/grid/Grid.variants.d.ts +7 -0
- package/dist/presentation/layout/grid/Grid.variants.js +4 -0
- package/dist/presentation/layout/grid/Grid.variants.js.map +1 -1
- package/dist/presentation/layout/grid/Grid.vue.d.ts +5 -0
- package/dist/presentation/layout/grid/Grid.vue.js +16 -4
- package/dist/presentation/layout/grid/Grid.vue.js.map +1 -1
- package/dist/presentation/layout/grid/index.d.ts +1 -1
- package/dist/presentation/layout/index.js +3 -1
- package/dist/presentation/layout/navbar/Navbar.vue.js.map +1 -1
- package/dist/presentation/overlays/popover/PopoverContent.vue.js +4 -4
- package/dist/presentation/overlays/popover/PopoverContent.vue.js.map +1 -1
- package/dist/presentation/overlays/tooltip/Tooltip.vue.js +8 -9
- package/dist/presentation/overlays/tooltip/Tooltip.vue.js.map +1 -1
- package/package.json +1 -1
- package/dist/presentation/display/notificationCenterGroup/NotificationItem.vue.js.map +0 -1
- package/dist/presentation/display/notificationCenterGroup/NotificationItem2.vue.js +0 -5
- package/dist/presentation/display/notificationCenterGroup/NotificationItem2.vue.js.map +0 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -74,57 +74,58 @@ import { default as default74, MarqueeGroupDirection } from "./marqueeGroup/Marq
|
|
|
74
74
|
import { default as default75 } from "./messageGroup/MessageGroup.vue.js";
|
|
75
75
|
import { default as default76 } from "./metaInlineText/MetaInlineText.vue.js";
|
|
76
76
|
import { default as default77, MetricBadgeSize, MetricBadgeTone } from "./metricBadge/MetricBadge.vue.js";
|
|
77
|
-
import { default as default78 } from "./notificationCenterGroup/
|
|
78
|
-
import { default as default79
|
|
79
|
-
import { default as default80 } from "./notificationCenterGroup/
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import { default as
|
|
105
|
-
import { default as
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
110
|
-
import { default as
|
|
111
|
-
import { default as
|
|
112
|
-
import { default as
|
|
113
|
-
import { default as
|
|
114
|
-
import { default as
|
|
115
|
-
import { default as
|
|
116
|
-
import { default as
|
|
117
|
-
import { default as
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
120
|
-
import { default as
|
|
121
|
-
import { default as
|
|
122
|
-
import { default as
|
|
123
|
-
import { default as
|
|
124
|
-
import { default as
|
|
125
|
-
import { default as
|
|
126
|
-
import { default as
|
|
127
|
-
import { default as
|
|
77
|
+
import { default as default78 } from "./notificationCenterGroup/NotificationCenterButton.vue.js";
|
|
78
|
+
import { default as default79 } from "./notificationCenterGroup/NotificationCenterGroup.vue.js";
|
|
79
|
+
import { default as default80, default as default81 } from "./notificationCenterGroup/NotificationCenterGroupItem.vue.js";
|
|
80
|
+
import { default as default82, NotificationIndicatorSize, NotificationIndicatorTone } from "./notificationIndicator/NotificationIndicator.vue.js";
|
|
81
|
+
import { default as default83, useOnboardingChecklist } from "./onboardingChecklistCard/OnboardingChecklistCard.vue.js";
|
|
82
|
+
import { default as default84 } from "./onboardingChecklistCard/OnboardingChecklistCardTask.vue.js";
|
|
83
|
+
import { default as default85 } from "./overflowGroup/OverflowGroup.vue.js";
|
|
84
|
+
import { default as default86 } from "./pdfViewer/PdfViewer.vue.js";
|
|
85
|
+
import { default as default87 } from "./pricingCard/PricingCard.vue.js";
|
|
86
|
+
import { default as default88 } from "./quoteText/QuoteText.vue.js";
|
|
87
|
+
import { default as default89 } from "./radiusGlyph/RadiusGlyph.vue.js";
|
|
88
|
+
import { default as default90 } from "./reactionBar/ReactionBar.vue.js";
|
|
89
|
+
import { default as default91 } from "./relativeTime/RelativeTime.vue.js";
|
|
90
|
+
import { default as default92 } from "./scheduleView/ScheduleView.vue.js";
|
|
91
|
+
import { default as default93, ScrollRevealGroupEffect } from "./scrollRevealGroup/ScrollRevealGroup.vue.js";
|
|
92
|
+
import { default as default94, SectionHeadingSize } from "./sectionHeading/SectionHeading.vue.js";
|
|
93
|
+
import { default as default95, SnippetTextVariant } from "./snippetText/SnippetText.vue.js";
|
|
94
|
+
import { default as default96, SparklineTone, SparklineVariant } from "./sparkline/Sparkline.vue.js";
|
|
95
|
+
import { default as default97, StatCardSize } from "./statCard/StatCard.vue.js";
|
|
96
|
+
import { default as default98, StatusSize } from "./status/Status.vue.js";
|
|
97
|
+
import { default as default99 } from "./stepCard/StepCard.vue.js";
|
|
98
|
+
import { default as default100 } from "./stepperGroup/StepperGroup.vue.js";
|
|
99
|
+
import { default as default101 } from "./stepperGroup/StepperGroupList.vue.js";
|
|
100
|
+
import { default as default102 } from "./stepperGroup/StepperGroupPanel.vue.js";
|
|
101
|
+
import { default as default103 } from "./stepperGroup/StepperGroupStep.vue.js";
|
|
102
|
+
import { default as default104 } from "./table/Table.vue.js";
|
|
103
|
+
import { default as default105 } from "./table/TableBody.vue.js";
|
|
104
|
+
import { default as default106 } from "./table/TableCaption.vue.js";
|
|
105
|
+
import { default as default107 } from "./table/TableCell.vue.js";
|
|
106
|
+
import { default as default108 } from "./table/TableFooter.vue.js";
|
|
107
|
+
import { default as default109, TableHeadVariant } from "./table/TableHead.vue.js";
|
|
108
|
+
import { default as default110 } from "./table/TableHeaderCell.vue.js";
|
|
109
|
+
import { default as default111 } from "./table/TableRow.vue.js";
|
|
110
|
+
import { default as default112 } from "./tabsGroup/TabsGroup.vue.js";
|
|
111
|
+
import { default as default113 } from "./tabsGroup/TabsGroupList.vue.js";
|
|
112
|
+
import { default as default114 } from "./tabsGroup/TabsGroupPanel.vue.js";
|
|
113
|
+
import { default as default115 } from "./tabsGroup/TabsGroupTab.vue.js";
|
|
114
|
+
import { default as default116 } from "./tag/Tag.vue.js";
|
|
115
|
+
import { default as default117 } from "./text/Text.vue.js";
|
|
116
|
+
import { default as default118 } from "./threadView/ThreadView.vue.js";
|
|
117
|
+
import { default as default119 } from "./timeline/Timeline.vue.js";
|
|
118
|
+
import { default as default120 } from "./timeline/TimelineDescription.vue.js";
|
|
119
|
+
import { default as default121 } from "./timeline/TimelineItem.vue.js";
|
|
120
|
+
import { default as default122 } from "./timeline/TimelineTitle.vue.js";
|
|
121
|
+
import { default as default123 } from "./treeViewer/TreeViewer.vue.js";
|
|
122
|
+
import { default as default124 } from "./treeViewer/TreeViewerGroup.vue.js";
|
|
123
|
+
import { default as default125 } from "./treeViewer/TreeViewerItem.vue.js";
|
|
124
|
+
import { default as default126 } from "./truncatedText/TruncatedText.vue.js";
|
|
125
|
+
import { default as default127 } from "./typewriterText/TypewriterText.vue.js";
|
|
126
|
+
import { default as default128 } from "./versionBadge/VersionBadge.vue.js";
|
|
127
|
+
import { default as default129 } from "./moduleGlyphs/VerticalBarsGlyph.vue.js";
|
|
128
|
+
import { default as default130, VideoTrackKind } from "./videoPlayer/VideoPlayer.vue.js";
|
|
128
129
|
import { AccordionGroupType, useAccordionContext, useAccordionItemContext } from "./accordionGroup/AccordionGroupContext.js";
|
|
129
130
|
import { AvatarBackground, AvatarRing, AvatarShape, AvatarTone, avatarVariants } from "./avatar/Avatar.variants.js";
|
|
130
131
|
import { BadgeBorderStyle, BadgeVariant, badgeVariants } from "./badge/Badge.variants.js";
|
|
@@ -257,81 +258,83 @@ export {
|
|
|
257
258
|
default77 as MetricBadge,
|
|
258
259
|
MetricBadgeSize,
|
|
259
260
|
MetricBadgeTone,
|
|
260
|
-
default78 as
|
|
261
|
-
default79 as
|
|
261
|
+
default78 as NotificationCenterButton,
|
|
262
|
+
default79 as NotificationCenterGroup,
|
|
263
|
+
default80 as NotificationCenterGroupItem,
|
|
264
|
+
default82 as NotificationIndicator,
|
|
262
265
|
NotificationIndicatorSize,
|
|
263
266
|
NotificationIndicatorTone,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
267
|
+
default81 as NotificationItem,
|
|
268
|
+
default83 as OnboardingChecklistCard,
|
|
269
|
+
default84 as OnboardingChecklistCardTask,
|
|
270
|
+
default85 as OverflowGroup,
|
|
271
|
+
default86 as PdfViewer,
|
|
272
|
+
default87 as PricingCard,
|
|
273
|
+
default88 as QuoteText,
|
|
274
|
+
default89 as RadiusGlyph,
|
|
275
|
+
default90 as ReactionBar,
|
|
276
|
+
default91 as RelativeTime,
|
|
277
|
+
default92 as ScheduleView,
|
|
278
|
+
default93 as ScrollRevealGroup,
|
|
276
279
|
ScrollRevealGroupEffect,
|
|
277
|
-
|
|
280
|
+
default94 as SectionHeading,
|
|
278
281
|
SectionHeadingSize,
|
|
279
|
-
|
|
282
|
+
default95 as SnippetText,
|
|
280
283
|
SnippetTextVariant,
|
|
281
284
|
SortDirection,
|
|
282
|
-
|
|
285
|
+
default96 as Sparkline,
|
|
283
286
|
SparklineTone,
|
|
284
287
|
SparklineVariant,
|
|
285
|
-
|
|
288
|
+
default97 as StatCard,
|
|
286
289
|
StatCardSize,
|
|
287
|
-
|
|
290
|
+
default98 as Status,
|
|
288
291
|
StatusSize,
|
|
289
|
-
|
|
292
|
+
default99 as StepCard,
|
|
290
293
|
StepStatus,
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
294
|
+
default100 as StepperGroup,
|
|
295
|
+
default101 as StepperGroupList,
|
|
296
|
+
default102 as StepperGroupPanel,
|
|
297
|
+
default103 as StepperGroupStep,
|
|
295
298
|
SwatchShape,
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
299
|
+
default104 as Table,
|
|
300
|
+
default105 as TableBody,
|
|
301
|
+
default106 as TableCaption,
|
|
302
|
+
default107 as TableCell,
|
|
300
303
|
TableDensity,
|
|
301
|
-
|
|
302
|
-
|
|
304
|
+
default108 as TableFooter,
|
|
305
|
+
default109 as TableHead,
|
|
303
306
|
TableHeadVariant,
|
|
304
|
-
|
|
307
|
+
default110 as TableHeaderCell,
|
|
305
308
|
TablePhoneLayout,
|
|
306
309
|
TableRadius,
|
|
307
|
-
|
|
308
|
-
|
|
310
|
+
default111 as TableRow,
|
|
311
|
+
default112 as TabsGroup,
|
|
309
312
|
TabsGroupActivationMode,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
313
|
+
default113 as TabsGroupList,
|
|
314
|
+
default114 as TabsGroupPanel,
|
|
315
|
+
default115 as TabsGroupTab,
|
|
316
|
+
default116 as Tag,
|
|
314
317
|
TagVariant,
|
|
315
|
-
|
|
318
|
+
default117 as Text,
|
|
316
319
|
TextAlign,
|
|
317
320
|
TextColor,
|
|
318
321
|
TextWeight,
|
|
319
|
-
|
|
320
|
-
|
|
322
|
+
default118 as ThreadView,
|
|
323
|
+
default119 as Timeline,
|
|
321
324
|
TimelineAlign,
|
|
322
|
-
|
|
323
|
-
|
|
325
|
+
default120 as TimelineDescription,
|
|
326
|
+
default121 as TimelineItem,
|
|
324
327
|
TimelineKey,
|
|
325
328
|
TimelineStatus,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
329
|
+
default122 as TimelineTitle,
|
|
330
|
+
default123 as TreeViewer,
|
|
331
|
+
default124 as TreeViewerGroup,
|
|
332
|
+
default125 as TreeViewerItem,
|
|
333
|
+
default126 as TruncatedText,
|
|
334
|
+
default127 as TypewriterText,
|
|
335
|
+
default128 as VersionBadge,
|
|
336
|
+
default129 as VerticalBarsGlyph,
|
|
337
|
+
default130 as VideoPlayer,
|
|
335
338
|
VideoTrackKind,
|
|
336
339
|
avatarVariants,
|
|
337
340
|
badgeVariants,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FeedbackBus } from '../../../feedback';
|
|
2
|
+
/** Defines props for the notification center's bell button. */
|
|
3
|
+
export interface NotificationCenterButtonProps {
|
|
4
|
+
/** The bus whose unread count and pop-up pause the bell shows. */
|
|
5
|
+
readonly bus: FeedbackBus;
|
|
6
|
+
/** The open state of the panel the bell controls; an open panel hides the unread badge and, on close, marks read. */
|
|
7
|
+
readonly isExpanded?: boolean;
|
|
8
|
+
/** The accessible name before the unread and pause suffixes. Default `"Notifications"`. */
|
|
9
|
+
readonly label?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<NotificationCenterButtonProps, {
|
|
12
|
+
el: import('vue').ComputedRef<HTMLElement | null>;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
toggle: () => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<NotificationCenterButtonProps> & Readonly<{
|
|
16
|
+
onToggle?: (() => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { defineComponent, useTemplateRef, shallowRef, computed, watch, onUnmounted, openBlock, createBlock, unref, normalizeClass, withCtx, createElementVNode, createVNode, createElementBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
+
import { BellOff, Bell } from "lucide-vue-next";
|
|
3
|
+
import { animate } from "../../../foundation/animation/Animate.js";
|
|
4
|
+
import { useReducedMotion } from "../../../foundation/device/hooks/UseReducedMotion.js";
|
|
5
|
+
import { useLocale } from "../../../foundation/i18n/providers/LocaleContext.js";
|
|
6
|
+
import _sfc_main$1 from "../../actions/button/Button.vue.js";
|
|
7
|
+
import _sfc_main$2 from "../../../foundation/icons/icon/Icon.vue.js";
|
|
8
|
+
const CueClasses = [
|
|
9
|
+
"pointer-events-none absolute inset-0 rounded-full border border-primary/60 bg-primary/20 opacity-0",
|
|
10
|
+
"forced-colors:border-[Highlight]"
|
|
11
|
+
];
|
|
12
|
+
const UnreadBadgeClasses = [
|
|
13
|
+
"pointer-events-none absolute -end-0.5 -top-0.5 grid min-w-4 place-items-center rounded-full bg-primary px-1",
|
|
14
|
+
"text-[10px] leading-4 font-semibold text-primary-foreground tabular-nums ring-2 ring-background"
|
|
15
|
+
];
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
+
...{ name: "NotificationCenterButton" },
|
|
18
|
+
__name: "NotificationCenterButton",
|
|
19
|
+
props: {
|
|
20
|
+
bus: {},
|
|
21
|
+
isExpanded: { type: Boolean },
|
|
22
|
+
label: {}
|
|
23
|
+
},
|
|
24
|
+
emits: ["toggle"],
|
|
25
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const emit = __emit;
|
|
28
|
+
const locale = useLocale();
|
|
29
|
+
const reducedMotion = useReducedMotion();
|
|
30
|
+
const button = useTemplateRef("button");
|
|
31
|
+
const cue = useTemplateRef("cue");
|
|
32
|
+
const state = shallowRef(props.bus.notificationState());
|
|
33
|
+
let openBus;
|
|
34
|
+
const isPaused = computed(() => state.value.pausedUntil !== null);
|
|
35
|
+
const unreadCount = computed(() => props.isExpanded ? 0 : state.value.unreadCount);
|
|
36
|
+
const name = computed(() => {
|
|
37
|
+
let label = props.label ?? locale.t("NotificationCenterButton.label", void 0, "Notifications");
|
|
38
|
+
const count = unreadCount.value;
|
|
39
|
+
if (count > 0) label = locale.t("NotificationCenterButton.unread", { label, count }, "{label}, {count} unread");
|
|
40
|
+
return isPaused.value ? locale.t("NotificationCenterButton.paused", { label }, "{label}, pop-ups paused") : label;
|
|
41
|
+
});
|
|
42
|
+
__expose({ el: computed(() => button.value?.el ?? null) });
|
|
43
|
+
watch(
|
|
44
|
+
() => props.bus,
|
|
45
|
+
(bus, _previous, onCleanup) => {
|
|
46
|
+
state.value = bus.notificationState();
|
|
47
|
+
if (typeof document === "undefined") return;
|
|
48
|
+
let pulse;
|
|
49
|
+
const stopState = bus.subscribeNotificationState((next) => {
|
|
50
|
+
state.value = next;
|
|
51
|
+
if (next.pausedUntil === null) pulse?.cancel();
|
|
52
|
+
});
|
|
53
|
+
const stopDelivery = bus.subscribe((notice) => {
|
|
54
|
+
if (!bus.suppresses(notice)) return;
|
|
55
|
+
pulse?.cancel();
|
|
56
|
+
pulse = animate(
|
|
57
|
+
cue.value,
|
|
58
|
+
reducedMotion.value ? [{ opacity: 1 }, { opacity: 1 }] : [{ opacity: 0 }, { opacity: 1, offset: 0.08 }, { opacity: 1, offset: 0.25 }, { opacity: 0 }],
|
|
59
|
+
{ duration: reducedMotion.value ? 600 : 1200, easing: "linear" }
|
|
60
|
+
);
|
|
61
|
+
});
|
|
62
|
+
onCleanup(() => {
|
|
63
|
+
pulse?.cancel();
|
|
64
|
+
stopState();
|
|
65
|
+
stopDelivery();
|
|
66
|
+
});
|
|
67
|
+
},
|
|
68
|
+
{ immediate: true }
|
|
69
|
+
);
|
|
70
|
+
watch(
|
|
71
|
+
[() => props.bus, () => props.isExpanded],
|
|
72
|
+
([bus, expanded]) => {
|
|
73
|
+
if (typeof document === "undefined") return;
|
|
74
|
+
if (openBus && (openBus !== bus || !expanded)) openBus.markNotificationsRead();
|
|
75
|
+
openBus = expanded ? bus : void 0;
|
|
76
|
+
},
|
|
77
|
+
{ immediate: true }
|
|
78
|
+
);
|
|
79
|
+
onUnmounted(() => openBus?.markNotificationsRead());
|
|
80
|
+
return (_ctx, _cache) => {
|
|
81
|
+
return openBlock(), createBlock(unref(_sfc_main$1), {
|
|
82
|
+
ref_key: "button",
|
|
83
|
+
ref: button,
|
|
84
|
+
variant: props.isExpanded ? "soft" : "ghost",
|
|
85
|
+
size: "sm",
|
|
86
|
+
shape: "circle",
|
|
87
|
+
class: normalizeClass(["relative shrink-0 pointer-coarse:size-11", isPaused.value && "text-muted-foreground"]),
|
|
88
|
+
"aria-label": name.value,
|
|
89
|
+
"aria-expanded": props.isExpanded ?? false,
|
|
90
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("toggle"))
|
|
91
|
+
}, {
|
|
92
|
+
default: withCtx(() => [
|
|
93
|
+
createElementVNode("span", {
|
|
94
|
+
ref_key: "cue",
|
|
95
|
+
ref: cue,
|
|
96
|
+
"aria-hidden": "true",
|
|
97
|
+
"data-notification-cue": "",
|
|
98
|
+
class: normalizeClass(CueClasses)
|
|
99
|
+
}, null, 512),
|
|
100
|
+
createVNode(unref(_sfc_main$2), {
|
|
101
|
+
icon: isPaused.value ? unref(BellOff) : unref(Bell),
|
|
102
|
+
size: 16,
|
|
103
|
+
class: "relative"
|
|
104
|
+
}, null, 8, ["icon"]),
|
|
105
|
+
unreadCount.value ? (openBlock(), createElementBlock("span", {
|
|
106
|
+
key: 0,
|
|
107
|
+
"aria-hidden": "true",
|
|
108
|
+
"data-notification-unread": "",
|
|
109
|
+
class: normalizeClass(UnreadBadgeClasses)
|
|
110
|
+
}, toDisplayString(unreadCount.value > 99 ? "99+" : unreadCount.value), 1)) : createCommentVNode("", true)
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
}, 8, ["variant", "class", "aria-label", "aria-expanded"]);
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
export {
|
|
118
|
+
_sfc_main as default
|
|
119
|
+
};
|
|
120
|
+
//# sourceMappingURL=NotificationCenterButton.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationCenterButton.vue.js","sources":["../../../../src/presentation/display/notificationCenterGroup/NotificationCenterButton.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { FeedbackBus } from '../../../feedback';\n\n/** Defines props for the notification center's bell button. */\nexport interface NotificationCenterButtonProps {\n /** The bus whose unread count and pop-up pause the bell shows. */\n readonly bus: FeedbackBus;\n\n /** The open state of the panel the bell controls; an open panel hides the unread badge and, on close, marks read. */\n readonly isExpanded?: boolean;\n\n /** The accessible name before the unread and pause suffixes. Default `\"Notifications\"`. */\n readonly label?: string;\n}\n\n/** @internal The classes of the pause cue that pulses when a notice is suppressed. */\nconst CueClasses = [\n 'pointer-events-none absolute inset-0 rounded-full border border-primary/60 bg-primary/20 opacity-0',\n 'forced-colors:border-[Highlight]',\n];\n\n/** @internal The classes of the unread count badge. */\nconst UnreadBadgeClasses = [\n 'pointer-events-none absolute -end-0.5 -top-0.5 grid min-w-4 place-items-center rounded-full bg-primary px-1',\n 'text-[10px] leading-4 font-semibold text-primary-foreground tabular-nums ring-2 ring-background',\n];\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, onUnmounted, shallowRef, useTemplateRef, watch } from 'vue';\nimport { Bell, BellOff } from 'lucide-vue-next';\n\nimport { animate, type AnimationHandle } from '../../../foundation/animation';\nimport { useReducedMotion } from '../../../foundation/device';\nimport { useLocale } from '../../../foundation/i18n';\nimport { Icon } from '../../../foundation/icons';\nimport { Button } from '../../actions/button';\n\n/** Renders the notification bell with its unread count and pop-up pause cue. Pass `aria-controls` for its panel. */\ndefineOptions({ name: 'NotificationCenterButton' });\n\nconst props = defineProps<NotificationCenterButtonProps>();\n\nconst emit = defineEmits<{\n /** Requests opening or closing the notification panel. */\n toggle: [];\n}>();\n\nconst locale = useLocale();\nconst reducedMotion = useReducedMotion();\nconst button = useTemplateRef<InstanceType<typeof Button>>('button');\nconst cue = useTemplateRef<HTMLSpanElement>('cue');\n\nconst state = shallowRef(props.bus.notificationState());\nlet openBus: FeedbackBus | undefined;\n\nconst isPaused = computed(() => state.value.pausedUntil !== null);\nconst unreadCount = computed(() => (props.isExpanded ? 0 : state.value.unreadCount));\nconst name = computed(() => {\n let label = props.label ?? locale.t('NotificationCenterButton.label', undefined, 'Notifications');\n const count = unreadCount.value;\n if (count > 0) label = locale.t('NotificationCenterButton.unread', { label, count }, '{label}, {count} unread');\n return isPaused.value ? locale.t('NotificationCenterButton.paused', { label }, '{label}, pop-ups paused') : label;\n});\n\ndefineExpose({ el: computed(() => button.value?.el ?? null) });\n\n/** Syncs the bus's notification state and pulses the pause cue for each notice the pause suppresses. */\nwatch(\n () => props.bus,\n (bus, _previous, onCleanup) => {\n state.value = bus.notificationState();\n if (typeof document === 'undefined') return;\n let pulse: AnimationHandle | undefined;\n const stopState = bus.subscribeNotificationState((next) => {\n state.value = next;\n if (next.pausedUntil === null) pulse?.cancel();\n });\n const stopDelivery = bus.subscribe((notice) => {\n if (!bus.suppresses(notice)) return;\n pulse?.cancel();\n pulse = animate(\n cue.value,\n reducedMotion.value\n ? [{ opacity: 1 }, { opacity: 1 }]\n : [{ opacity: 0 }, { opacity: 1, offset: 0.08 }, { opacity: 1, offset: 0.25 }, { opacity: 0 }],\n { duration: reducedMotion.value ? 600 : 1200, easing: 'linear' },\n );\n });\n onCleanup(() => {\n pulse?.cancel();\n stopState();\n stopDelivery();\n });\n },\n { immediate: true },\n);\n\n/** Marks the open bus read when its panel closes, another bus replaces it or the bell unmounts. */\nwatch(\n [() => props.bus, () => props.isExpanded],\n ([bus, expanded]) => {\n if (typeof document === 'undefined') return;\n if (openBus && (openBus !== bus || !expanded)) openBus.markNotificationsRead();\n openBus = expanded ? bus : undefined;\n },\n { immediate: true },\n);\n\nonUnmounted(() => openBus?.markNotificationsRead());\n</script>\n\n<template>\n <Button\n ref=\"button\"\n :variant=\"props.isExpanded ? 'soft' : 'ghost'\"\n size=\"sm\"\n shape=\"circle\"\n class=\"relative shrink-0 pointer-coarse:size-11\"\n :class=\"isPaused && 'text-muted-foreground'\"\n :aria-label=\"name\"\n :aria-expanded=\"props.isExpanded ?? false\"\n @click=\"emit('toggle')\"\n >\n <span ref=\"cue\" aria-hidden=\"true\" data-notification-cue :class=\"CueClasses\" />\n <Icon :icon=\"isPaused ? BellOff : Bell\" :size=\"16\" class=\"relative\" />\n <span v-if=\"unreadCount\" aria-hidden=\"true\" data-notification-unread :class=\"UnreadBadgeClasses\">\n {{ unreadCount > 99 ? '99+' : unreadCount }}\n </span>\n </Button>\n</template>\n"],"names":["_createBlock","_unref","Button","_normalizeClass","_createElementVNode","_createVNode","Icon","_createElementBlock","_toDisplayString"],"mappings":";;;;;;;AAgBA,MAAM,aAAa;AAAA,EACjB;AAAA,EACA;AACF;AAGA,MAAM,qBAAqB;AAAA,EACzB;AAAA,EACA;AACF;;;;;;;;;;;AAgBA,UAAM,QAAQ;AAEd,UAAM,OAAO;AAKb,UAAM,SAAS,UAAA;AACf,UAAM,gBAAgB,iBAAA;AACtB,UAAM,SAAS,eAA4C,QAAQ;AACnE,UAAM,MAAM,eAAgC,KAAK;AAEjD,UAAM,QAAQ,WAAW,MAAM,IAAI,mBAAmB;AACtD,QAAI;AAEJ,UAAM,WAAW,SAAS,MAAM,MAAM,MAAM,gBAAgB,IAAI;AAChE,UAAM,cAAc,SAAS,MAAO,MAAM,aAAa,IAAI,MAAM,MAAM,WAAY;AACnF,UAAM,OAAO,SAAS,MAAM;AAC1B,UAAI,QAAQ,MAAM,SAAS,OAAO,EAAE,kCAAkC,QAAW,eAAe;AAChG,YAAM,QAAQ,YAAY;AAC1B,UAAI,QAAQ,EAAG,SAAQ,OAAO,EAAE,mCAAmC,EAAE,OAAO,MAAA,GAAS,yBAAyB;AAC9G,aAAO,SAAS,QAAQ,OAAO,EAAE,mCAAmC,EAAE,MAAA,GAAS,yBAAyB,IAAI;AAAA,IAC9G,CAAC;AAED,aAAa,EAAE,IAAI,SAAS,MAAM,OAAO,OAAO,MAAM,IAAI,GAAG;AAG7D;AAAA,MACE,MAAM,MAAM;AAAA,MACZ,CAAC,KAAK,WAAW,cAAc;AAC7B,cAAM,QAAQ,IAAI,kBAAA;AAClB,YAAI,OAAO,aAAa,YAAa;AACrC,YAAI;AACJ,cAAM,YAAY,IAAI,2BAA2B,CAAC,SAAS;AACzD,gBAAM,QAAQ;AACd,cAAI,KAAK,gBAAgB,KAAM,QAAO,OAAA;AAAA,QACxC,CAAC;AACD,cAAM,eAAe,IAAI,UAAU,CAAC,WAAW;AAC7C,cAAI,CAAC,IAAI,WAAW,MAAM,EAAG;AAC7B,iBAAO,OAAA;AACP,kBAAQ;AAAA,YACN,IAAI;AAAA,YACJ,cAAc,QACV,CAAC,EAAE,SAAS,EAAA,GAAK,EAAE,SAAS,EAAA,CAAG,IAC/B,CAAC,EAAE,SAAS,EAAA,GAAK,EAAE,SAAS,GAAG,QAAQ,KAAA,GAAQ,EAAE,SAAS,GAAG,QAAQ,KAAA,GAAQ,EAAE,SAAS,GAAG;AAAA,YAC/F,EAAE,UAAU,cAAc,QAAQ,MAAM,MAAM,QAAQ,SAAA;AAAA,UAAS;AAAA,QAEnE,CAAC;AACD,kBAAU,MAAM;AACd,iBAAO,OAAA;AACP,oBAAA;AACA,uBAAA;AAAA,QACF,CAAC;AAAA,MACH;AAAA,MACA,EAAE,WAAW,KAAA;AAAA,IAAK;AAIpB;AAAA,MACE,CAAC,MAAM,MAAM,KAAK,MAAM,MAAM,UAAU;AAAA,MACxC,CAAC,CAAC,KAAK,QAAQ,MAAM;AACnB,YAAI,OAAO,aAAa,YAAa;AACrC,YAAI,YAAY,YAAY,OAAO,CAAC,mBAAmB,sBAAA;AACvD,kBAAU,WAAW,MAAM;AAAA,MAC7B;AAAA,MACA,EAAE,WAAW,KAAA;AAAA,IAAK;AAGpB,gBAAY,MAAM,SAAS,uBAAuB;;0BAIhDA,YAgBSC,MAAAC,WAAA,GAAA;AAAA,iBAfH;AAAA,QAAJ,KAAI;AAAA,QACH,SAAS,MAAM,aAAU,SAAA;AAAA,QAC1B,MAAK;AAAA,QACL,OAAM;AAAA,QACN,OAAKC,eAAA,CAAC,4CACE,SAAA,SAAQ,uBAAA,CAAA;AAAA,QACf,cAAY,KAAA;AAAA,QACZ,iBAAe,MAAM,cAAU;AAAA,QAC/B,+CAAO,KAAI,QAAA;AAAA,MAAA;yBAEZ,MAA+E;AAAA,UAA/EC,mBAA+E,QAAA;AAAA,qBAArE;AAAA,YAAJ,KAAI;AAAA,YAAM,eAAY;AAAA,YAAO,yBAAA;AAAA,YAAuB,sBAAO,UAAU;AAAA,UAAA;UAC3EC,YAAsEJ,MAAAK,WAAA,GAAA;AAAA,YAA/D,MAAM,SAAA,QAAWL,MAAA,OAAA,IAAUA,MAAA,IAAA;AAAA,YAAO,MAAM;AAAA,YAAI,OAAM;AAAA,UAAA;UAC7C,YAAA,sBAAZM,mBAEO,QAAA;AAAA;YAFkB,eAAY;AAAA,YAAO,4BAAA;AAAA,YAA0B,sBAAO,kBAAkB;AAAA,UAAA,GAC1FC,gBAAA,YAAA,qBAA2B,YAAA,KAAW,GAAA,CAAA;;;;;;;"}
|
package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton2.vue.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationCenterButton2.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FeedbackBus } from '../../../feedback';
|
|
2
|
+
/** Defines props for the notification center panel. */
|
|
2
3
|
export interface NotificationCenterGroupProps {
|
|
3
4
|
/** Explicit bus to browse; omitted keeps the slot-only presentation contract. */
|
|
4
5
|
readonly bus?: FeedbackBus;
|
|
@@ -6,15 +7,19 @@ export interface NotificationCenterGroupProps {
|
|
|
6
7
|
readonly title?: string;
|
|
7
8
|
/** The badge / count rendered next to the title. Rich content → the `count` slot. */
|
|
8
9
|
readonly count?: string | number;
|
|
10
|
+
/** Shows pause and resume controls for the supplied bus. */
|
|
11
|
+
readonly canPause?: boolean;
|
|
12
|
+
/** Shows the "Clear all" header action for the supplied bus. Default `true`. */
|
|
13
|
+
readonly canClear?: boolean;
|
|
14
|
+
/** Fires when the close button is activated; the button renders only when this is supplied. Never clears. */
|
|
15
|
+
readonly onClose?: () => void;
|
|
9
16
|
}
|
|
10
17
|
declare const _default: __VLS_WithSlots<import('vue').DefineComponent<NotificationCenterGroupProps, {
|
|
11
18
|
el: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
12
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
|
|
14
|
-
}, string, import('vue').
|
|
15
|
-
|
|
16
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
17
|
-
/** The `NotificationItem` children filling the scrolling list. */
|
|
19
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NotificationCenterGroupProps> & Readonly<{}>, {
|
|
20
|
+
readonly canClear: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
22
|
+
/** The `NotificationCenterGroupItem` children filling the scrolling list. */
|
|
18
23
|
default?(): unknown;
|
|
19
24
|
/** The header title. Falls back to the `title` prop. */
|
|
20
25
|
title?(): unknown;
|