@wow-two-beta/fe 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{AppSwitcherMenu.vue_vue_type_script_setup_true_lang-DVqdOOst.js → AccountMenu.vue_vue_type_script_setup_true_lang-CWsiHHiy.js} +700 -283
- package/dist/chunks/AccountMenu.vue_vue_type_script_setup_true_lang-CWsiHHiy.js.map +1 -0
- package/dist/chunks/Avatar.vue_vue_type_script_setup_true_lang-BIoaOjCh.js +267 -0
- package/dist/chunks/Avatar.vue_vue_type_script_setup_true_lang-BIoaOjCh.js.map +1 -0
- package/dist/chunks/{BackToTopButton.vue_vue_type_script_setup_true_lang-CNMcUYtR.js → BackToTopButton.vue_vue_type_script_setup_true_lang-6tfkqsrZ.js} +2 -2
- package/dist/chunks/{BackToTopButton.vue_vue_type_script_setup_true_lang-CNMcUYtR.js.map → BackToTopButton.vue_vue_type_script_setup_true_lang-6tfkqsrZ.js.map} +1 -1
- package/dist/chunks/{Button.vue_vue_type_script_setup_true_lang-BrgCAsgC.js → Button.vue_vue_type_script_setup_true_lang-Cw0QS_Mm.js} +2 -3
- package/dist/chunks/{Button.vue_vue_type_script_setup_true_lang-BrgCAsgC.js.map → Button.vue_vue_type_script_setup_true_lang-Cw0QS_Mm.js.map} +1 -1
- package/dist/chunks/{DrawerContent.vue_vue_type_script_setup_true_lang-CZQnfNGk.js → DrawerContent.vue_vue_type_script_setup_true_lang-BA-au7LC.js} +2 -2
- package/dist/chunks/{DrawerContent.vue_vue_type_script_setup_true_lang-CZQnfNGk.js.map → DrawerContent.vue_vue_type_script_setup_true_lang-BA-au7LC.js.map} +1 -1
- package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-LRQbVAiW.js → ErrorBoundary.vue_vue_type_script_setup_true_lang-DzqE0ZF8.js} +4 -4
- package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-LRQbVAiW.js.map → ErrorBoundary.vue_vue_type_script_setup_true_lang-DzqE0ZF8.js.map} +1 -1
- package/dist/chunks/{FieldHelperText.vue_vue_type_script_setup_true_lang-eqG5AyoV.js → FieldHelperText.vue_vue_type_script_setup_true_lang-DuMcXUch.js} +2 -2
- package/dist/chunks/{FieldHelperText.vue_vue_type_script_setup_true_lang-eqG5AyoV.js.map → FieldHelperText.vue_vue_type_script_setup_true_lang-DuMcXUch.js.map} +1 -1
- package/dist/chunks/{KanbanCard.vue_vue_type_script_setup_true_lang-BCnquIre.js → KanbanCard.vue_vue_type_script_setup_true_lang-CyXb4ZZw.js} +169 -427
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-CyXb4ZZw.js.map +1 -0
- package/dist/chunks/{LightboxModal.vue_vue_type_script_setup_true_lang-Dm79L1eK.js → LightboxModal.vue_vue_type_script_setup_true_lang-BxdSYLYf.js} +6 -6
- package/dist/chunks/{LightboxModal.vue_vue_type_script_setup_true_lang-Dm79L1eK.js.map → LightboxModal.vue_vue_type_script_setup_true_lang-BxdSYLYf.js.map} +1 -1
- package/dist/chunks/{MasonryLayout.vue_vue_type_script_setup_true_lang-2CWeHWdV.js → MasonryLayout.vue_vue_type_script_setup_true_lang-DD_jRzkM.js} +4 -4
- package/dist/chunks/{MasonryLayout.vue_vue_type_script_setup_true_lang-2CWeHWdV.js.map → MasonryLayout.vue_vue_type_script_setup_true_lang-DD_jRzkM.js.map} +1 -1
- package/dist/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-DdT24dkW.js → MentionInput.vue_vue_type_script_setup_true_lang-hYD3uP3P.js} +6 -6
- package/dist/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-DdT24dkW.js.map → MentionInput.vue_vue_type_script_setup_true_lang-hYD3uP3P.js.map} +1 -1
- package/dist/chunks/{OverlayCloseButton.vue_vue_type_script_setup_true_lang-D01KYAAn.js → OverlayCloseButton.vue_vue_type_script_setup_true_lang-Df9raD_m.js} +2 -2
- package/dist/chunks/{OverlayCloseButton.vue_vue_type_script_setup_true_lang-D01KYAAn.js.map → OverlayCloseButton.vue_vue_type_script_setup_true_lang-Df9raD_m.js.map} +1 -1
- package/dist/chunks/{PopoverContent.vue_vue_type_script_setup_true_lang-BIHYpwzT.js → PopoverContent.vue_vue_type_script_setup_true_lang-C6YKEo3H.js} +2 -2
- package/dist/chunks/{PopoverContent.vue_vue_type_script_setup_true_lang-BIHYpwzT.js.map → PopoverContent.vue_vue_type_script_setup_true_lang-C6YKEo3H.js.map} +1 -1
- package/dist/chunks/{ReportAction.vue_vue_type_script_setup_true_lang-l4DjtcpM.js → ReportAction.vue_vue_type_script_setup_true_lang-DCnPCczd.js} +2 -2
- package/dist/chunks/{ReportAction.vue_vue_type_script_setup_true_lang-l4DjtcpM.js.map → ReportAction.vue_vue_type_script_setup_true_lang-DCnPCczd.js.map} +1 -1
- package/dist/chunks/{SurfaceStyles-B8KNkFsm.js → SurfaceStyles-BYvRlsWe.js} +2 -2
- package/dist/chunks/{SurfaceStyles-B8KNkFsm.js.map → SurfaceStyles-BYvRlsWe.js.map} +1 -1
- package/dist/chunks/{ToastHost.vue_vue_type_script_setup_true_lang-p0bfXJ9l.js → ToastHost.vue_vue_type_script_setup_true_lang-J1ZPZXn3.js} +3 -3
- package/dist/chunks/{ToastHost.vue_vue_type_script_setup_true_lang-p0bfXJ9l.js.map → ToastHost.vue_vue_type_script_setup_true_lang-J1ZPZXn3.js.map} +1 -1
- package/dist/chunks/{Tones-CQu-OvAk.js → Tones-Bcz8dIo3.js} +159 -1
- package/dist/chunks/Tones-Bcz8dIo3.js.map +1 -0
- package/dist/chunks/{index-C-r59Hob.js → index-CGIXFfl9.js} +3 -4
- package/dist/chunks/{index-C-r59Hob.js.map → index-CGIXFfl9.js.map} +1 -1
- package/dist/foundation/config/ConfigSource.d.ts +12 -5
- package/dist/foundation/config/DefineConfig.d.ts +9 -4
- package/dist/foundation/config/index.d.ts +1 -1
- package/dist/foundation/config/index.js +12 -9
- package/dist/foundation/config/index.js.map +1 -1
- package/dist/foundation/styles/index.js +9 -10
- package/dist/foundation/styles/index.js.map +1 -1
- package/dist/index.js +465 -463
- package/dist/index.js.map +1 -1
- package/dist/presentation/actions/index.js +2 -2
- package/dist/presentation/display/index.js +178 -177
- package/dist/presentation/display/index.js.map +1 -1
- package/dist/presentation/feedback/index.js +3 -3
- package/dist/presentation/feedback/toastHost/index.js +1 -1
- package/dist/presentation/forms/index.js +2 -2
- package/dist/presentation/layout/index.js +1 -1
- package/dist/presentation/nav/accountMenu/AccountMenu.vue.d.ts +131 -0
- package/dist/presentation/nav/accountMenu/index.d.ts +1 -0
- package/dist/presentation/nav/index.d.ts +1 -0
- package/dist/presentation/nav/index.js +72 -71
- package/dist/presentation/overlays/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunks/AppSwitcherMenu.vue_vue_type_script_setup_true_lang-DVqdOOst.js.map +0 -1
- package/dist/chunks/CssExtensions-ctGVlfYU.js +0 -161
- package/dist/chunks/CssExtensions-ctGVlfYU.js.map +0 -1
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BCnquIre.js.map +0 -1
- package/dist/chunks/Tones-CQu-OvAk.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, useTemplateRef, computed, openBlock, createElementBlock, mergeProps, renderSlot, ref, watch,
|
|
1
|
+
import { defineComponent, useAttrs, useTemplateRef, computed, openBlock, createElementBlock, mergeProps, renderSlot, ref, watch, useSlots, unref, createVNode, withCtx, Fragment, renderList, normalizeClass, createBlock, resolveDynamicComponent, createCommentVNode, cloneVNode, createTextVNode, toDisplayString, createElementVNode, shallowRef, onMounted, onBeforeUnmount, inject, provide, normalizeStyle, isVNode, watchEffect, onUpdated, withDirectives, vModelSelect, getCurrentInstance, withModifiers, createSlots, vShow, onUnmounted, onScopeDispose, nextTick } from "vue";
|
|
2
2
|
import { U as UrlExtensions } from "./UrlExtensions-DqgLm0KY.js";
|
|
3
3
|
import { c as cn } from "./Cn-C7De6POU.js";
|
|
4
4
|
import { u as useSkeletonState, p as provideSkeletonState, s as skeletonBoxClass } from "./SkeletonStateContext-tVYMa6xt.js";
|
|
5
5
|
import { S as SkeletonStateLine } from "./SkeletonStateLine-anGWn2Vm.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { S as SizePreset, T as Tones } from "./Tones-Bcz8dIo3.js";
|
|
7
|
+
import { _ as _sfc_main$1O } from "./Avatar.vue_vue_type_script_setup_true_lang-BIoaOjCh.js";
|
|
8
8
|
import { u as useLocale } from "./LocaleContext-B7vUZmX-.js";
|
|
9
9
|
import { r as renderableChildren } from "./Slot-BGJ_Mr_j.js";
|
|
10
10
|
import { TrendingUp, TrendingDown, Minus, Check, Copy, ChevronDown, ArrowUp, ArrowDown, ArrowUpDown, ChevronRight, ChevronLeft, Pause, Play, VolumeX, Volume2, Captions, CaptionsOff, PictureInPicture2, Minimize, Maximize, ZoomOut, ZoomIn, Download, SmilePlus, AlertTriangle, CheckCheck, Clock, X, Trash2, Bell } from "lucide-vue-next";
|
|
@@ -16,9 +16,10 @@ import { u as useLocaleFormatters } from "./LocaleFormatters-DadF2y7-.js";
|
|
|
16
16
|
import { t as toEpochMs, a as toRelativeTimeParts } from "./RelativeTimeParts-CMPp-i9m.js";
|
|
17
17
|
import { _ as _sfc_main$1S } from "./Tooltip.vue_vue_type_script_setup_true_lang-vsFDijcV.js";
|
|
18
18
|
import { u as useClipboard } from "./UseClipboard-D5jEv39w.js";
|
|
19
|
+
import { tv } from "tailwind-variants";
|
|
19
20
|
import { S as Size } from "./StyleTokens-Bkz7Dm5L.js";
|
|
20
21
|
import { S as StatusTone } from "./StatusTone-BoPK1s09.js";
|
|
21
|
-
import { d as _sfc_main$1T, _ as _sfc_main$1W, n as nowZoned, z as zonedAtHour, m as formatZonedTime, o as minutesBetween, p as today, q as daysBetween, r as isWeekend, s as addDays, v as isToday, w as maxZoned } from "./FieldHelperText.vue_vue_type_script_setup_true_lang-
|
|
22
|
+
import { d as _sfc_main$1T, _ as _sfc_main$1W, n as nowZoned, z as zonedAtHour, m as formatZonedTime, o as minutesBetween, p as today, q as daysBetween, r as isWeekend, s as addDays, v as isToday, w as maxZoned } from "./FieldHelperText.vue_vue_type_script_setup_true_lang-DuMcXUch.js";
|
|
22
23
|
import { _ as _sfc_main$1U } from "./InlineLayout.vue_vue_type_script_setup_true_lang-c_IaJYJj.js";
|
|
23
24
|
import { C as CornerPosition } from "./CornerPosition-FneGck5D.js";
|
|
24
25
|
import { d as dataAttr } from "./DataAttr-7BR67dTj.js";
|
|
@@ -36,11 +37,10 @@ import { A as AriaAttribute } from "./AriaAttribute-CmUjjXjp.js";
|
|
|
36
37
|
import { Temporal } from "temporal-polyfill";
|
|
37
38
|
import { f as readableForeground } from "./ReadableForeground-CgfzP7Tl.js";
|
|
38
39
|
import { _ as _sfc_main$1X } from "./Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js";
|
|
39
|
-
import {
|
|
40
|
-
import { s as surfaceVariants } from "./SurfaceStyles-B8KNkFsm.js";
|
|
40
|
+
import { s as surfaceVariants } from "./SurfaceStyles-BYvRlsWe.js";
|
|
41
41
|
import { a as SeverityIcons, S as SeverityIconClasses } from "./SeverityIcons-KuC3ZBkI.js";
|
|
42
42
|
import { K as Key } from "./Key-CQlkK53D.js";
|
|
43
|
-
import { _ as _sfc_main$1Y } from "./ReportAction.vue_vue_type_script_setup_true_lang-
|
|
43
|
+
import { _ as _sfc_main$1Y } from "./ReportAction.vue_vue_type_script_setup_true_lang-DCnPCczd.js";
|
|
44
44
|
import { u as useMutationObserver } from "./UseMutationObserver-Df2C_0Vc.js";
|
|
45
45
|
import { u as useResizeObserver } from "./UseResizeObserver-Des0Rurq.js";
|
|
46
46
|
const CodeTextVariant = {
|
|
@@ -61,7 +61,7 @@ const codeVariants = tv({
|
|
|
61
61
|
variant: "inline"
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
const _sfc_main$
|
|
64
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
65
65
|
...{ name: "CodeText", inheritAttrs: false },
|
|
66
66
|
__name: "CodeText",
|
|
67
67
|
props: {
|
|
@@ -87,8 +87,8 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
-
const _hoisted_1$
|
|
91
|
-
const _sfc_main$
|
|
90
|
+
const _hoisted_1$1l = ["alt"];
|
|
91
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
92
92
|
...{ name: "ImagePreview", inheritAttrs: false },
|
|
93
93
|
__name: "ImagePreview",
|
|
94
94
|
setup(__props, { expose: __expose }) {
|
|
@@ -120,259 +120,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
120
120
|
alt: alt.value,
|
|
121
121
|
class: classes.value,
|
|
122
122
|
onError
|
|
123
|
-
}), null, 16, _hoisted_1$
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
const AvatarShape = {
|
|
128
|
-
/** Refers to a circular avatar. */
|
|
129
|
-
Circle: "circle",
|
|
130
|
-
/** Refers to a rounded-square avatar. */
|
|
131
|
-
Square: "square"
|
|
132
|
-
};
|
|
133
|
-
const AvatarTone = {
|
|
134
|
-
/** Refers to no tone — autoColor takes over the cascade. */
|
|
135
|
-
None: "none",
|
|
136
|
-
/** Refers to the neutral / default palette. */
|
|
137
|
-
Neutral: "neutral",
|
|
138
|
-
/** Refers to the primary brand palette. */
|
|
139
|
-
Primary: "primary",
|
|
140
|
-
/** Refers to the destructive / error palette. */
|
|
141
|
-
Danger: "danger",
|
|
142
|
-
/** Refers to the positive / confirmation palette. */
|
|
143
|
-
Success: "success",
|
|
144
|
-
/** Refers to the caution palette. */
|
|
145
|
-
Warning: "warning"
|
|
146
|
-
};
|
|
147
|
-
const AvatarBackground = {
|
|
148
|
-
/** Refers to a flat, solid fill. */
|
|
149
|
-
Solid: "solid",
|
|
150
|
-
/** Refers to a tone-gradient fill. */
|
|
151
|
-
Gradient: "gradient"
|
|
152
|
-
};
|
|
153
|
-
const AvatarRing = {
|
|
154
|
-
/** Refers to no ring. */
|
|
155
|
-
None: "none",
|
|
156
|
-
/** Refers to a neutral border ring. */
|
|
157
|
-
Neutral: "neutral",
|
|
158
|
-
/** Refers to a primary-toned ring. */
|
|
159
|
-
Primary: "primary",
|
|
160
|
-
/** Refers to a destructive-toned ring. */
|
|
161
|
-
Danger: "danger",
|
|
162
|
-
/** Refers to a success-toned ring. */
|
|
163
|
-
Success: "success",
|
|
164
|
-
/** Refers to a caution-toned ring. */
|
|
165
|
-
Warning: "warning"
|
|
166
|
-
};
|
|
167
|
-
const avatarVariants = tv({
|
|
168
|
-
base: "inline-flex shrink-0 select-none items-center justify-center overflow-hidden font-medium",
|
|
169
|
-
variants: {
|
|
170
|
-
size: {
|
|
171
|
-
xs: "h-6 w-6 text-xs",
|
|
172
|
-
sm: "h-8 w-8 text-sm",
|
|
173
|
-
md: "h-10 w-10 text-base",
|
|
174
|
-
lg: "h-12 w-12 text-lg",
|
|
175
|
-
xl: "h-16 w-16 text-xl",
|
|
176
|
-
"2xl": "h-20 w-20 text-2xl"
|
|
177
|
-
},
|
|
178
|
-
shape: {
|
|
179
|
-
circle: "rounded-full",
|
|
180
|
-
square: "rounded-md"
|
|
181
|
-
},
|
|
182
|
-
tone: {
|
|
183
|
-
// 'none' is used when autoColor takes over — prevents theme tokens from competing in the cascade.
|
|
184
|
-
none: "",
|
|
185
|
-
neutral: "bg-muted text-muted-foreground",
|
|
186
|
-
primary: "bg-primary-soft text-primary-soft-foreground",
|
|
187
|
-
danger: "bg-destructive-soft text-destructive-soft-foreground",
|
|
188
|
-
success: "bg-success-soft text-success-soft-foreground",
|
|
189
|
-
warning: "bg-warning-soft text-warning-soft-foreground"
|
|
190
|
-
},
|
|
191
|
-
bgStyle: {
|
|
192
|
-
solid: "",
|
|
193
|
-
// Gradient class composed in compoundVariants × tone.
|
|
194
|
-
gradient: ""
|
|
195
|
-
},
|
|
196
|
-
ring: {
|
|
197
|
-
none: "",
|
|
198
|
-
neutral: "ring-2 ring-offset-2 ring-border ring-offset-background",
|
|
199
|
-
primary: "ring-2 ring-offset-2 ring-primary ring-offset-background",
|
|
200
|
-
danger: "ring-2 ring-offset-2 ring-destructive ring-offset-background",
|
|
201
|
-
success: "ring-2 ring-offset-2 ring-success ring-offset-background",
|
|
202
|
-
warning: "ring-2 ring-offset-2 ring-warning ring-offset-background"
|
|
203
|
-
},
|
|
204
|
-
isLoading: {
|
|
205
|
-
/* The tile keeps its size and shape; forced colours keep it visible as a `GrayText` outline. */
|
|
206
|
-
true: "bg-muted! bg-none! text-transparent [&_*]:invisible motion-safe:animate-pulse forced-colors:[forced-color-adjust:none] forced-colors:bg-[color:Canvas]! forced-colors:outline-1 forced-colors:outline-solid forced-colors:-outline-offset-1 forced-colors:outline-[color:GrayText]",
|
|
207
|
-
false: ""
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
compoundVariants: [
|
|
211
|
-
// gradient × tone
|
|
212
|
-
{ bgStyle: "gradient", tone: "neutral", class: "bg-gradient-to-br from-muted to-muted/40" },
|
|
213
|
-
{
|
|
214
|
-
bgStyle: "gradient",
|
|
215
|
-
tone: "primary",
|
|
216
|
-
class: "bg-gradient-to-br from-primary-soft to-primary text-primary-foreground"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
bgStyle: "gradient",
|
|
220
|
-
tone: "danger",
|
|
221
|
-
class: "bg-gradient-to-br from-destructive-soft to-destructive text-destructive-foreground"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
bgStyle: "gradient",
|
|
225
|
-
tone: "success",
|
|
226
|
-
class: "bg-gradient-to-br from-success-soft to-success text-success-foreground"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
bgStyle: "gradient",
|
|
230
|
-
tone: "warning",
|
|
231
|
-
class: "bg-gradient-to-br from-warning-soft to-warning text-warning-foreground"
|
|
232
|
-
}
|
|
233
|
-
],
|
|
234
|
-
defaultVariants: {
|
|
235
|
-
size: "md",
|
|
236
|
-
shape: "circle",
|
|
237
|
-
tone: "neutral",
|
|
238
|
-
bgStyle: "solid",
|
|
239
|
-
ring: "none",
|
|
240
|
-
isLoading: false
|
|
241
|
-
}
|
|
242
|
-
});
|
|
243
|
-
const _hoisted_1$1l = ["data-loading", "aria-busy", "role", "aria-label", "aria-hidden"];
|
|
244
|
-
const _hoisted_2$Q = ["src", "alt"];
|
|
245
|
-
const _hoisted_3$B = ["aria-hidden"];
|
|
246
|
-
const AvatarSizePresets = /* @__PURE__ */ new Set(["xs", "sm", "md", "lg", "xl", "2xl"]);
|
|
247
|
-
const AutoColorPalette = [
|
|
248
|
-
"bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-100",
|
|
249
|
-
"bg-orange-100 text-orange-800 dark:bg-orange-900 dark:text-orange-100",
|
|
250
|
-
"bg-amber-100 text-amber-800 dark:bg-amber-900 dark:text-amber-100",
|
|
251
|
-
"bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-100",
|
|
252
|
-
"bg-lime-100 text-lime-800 dark:bg-lime-900 dark:text-lime-100",
|
|
253
|
-
"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-100",
|
|
254
|
-
"bg-emerald-100 text-emerald-800 dark:bg-emerald-900 dark:text-emerald-100",
|
|
255
|
-
"bg-teal-100 text-teal-800 dark:bg-teal-900 dark:text-teal-100",
|
|
256
|
-
"bg-cyan-100 text-cyan-800 dark:bg-cyan-900 dark:text-cyan-100",
|
|
257
|
-
"bg-sky-100 text-sky-800 dark:bg-sky-900 dark:text-sky-100",
|
|
258
|
-
"bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-100",
|
|
259
|
-
"bg-indigo-100 text-indigo-800 dark:bg-indigo-900 dark:text-indigo-100",
|
|
260
|
-
"bg-violet-100 text-violet-800 dark:bg-violet-900 dark:text-violet-100",
|
|
261
|
-
"bg-purple-100 text-purple-800 dark:bg-purple-900 dark:text-purple-100",
|
|
262
|
-
"bg-fuchsia-100 text-fuchsia-800 dark:bg-fuchsia-900 dark:text-fuchsia-100",
|
|
263
|
-
"bg-pink-100 text-pink-800 dark:bg-pink-900 dark:text-pink-100",
|
|
264
|
-
"bg-rose-100 text-rose-800 dark:bg-rose-900 dark:text-rose-100"
|
|
265
|
-
];
|
|
266
|
-
function hashName(name) {
|
|
267
|
-
let h = 0;
|
|
268
|
-
for (let i = 0; i < name.length; i++) {
|
|
269
|
-
h = h * 31 + name.charCodeAt(i) | 0;
|
|
270
|
-
}
|
|
271
|
-
return Math.abs(h);
|
|
272
|
-
}
|
|
273
|
-
function pickAutoColor(name) {
|
|
274
|
-
return AutoColorPalette[hashName(name) % AutoColorPalette.length];
|
|
275
|
-
}
|
|
276
|
-
function firstCharacter(word) {
|
|
277
|
-
return word ? Array.from(word)[0] ?? "" : "";
|
|
278
|
-
}
|
|
279
|
-
function getInitials(name) {
|
|
280
|
-
const parts = name.trim().split(/\s+/).filter(Boolean);
|
|
281
|
-
if (parts.length === 0) return "";
|
|
282
|
-
const first = firstCharacter(parts[0]);
|
|
283
|
-
const last = parts.length > 1 ? firstCharacter(parts[parts.length - 1]) : "";
|
|
284
|
-
return (first + last).toUpperCase();
|
|
285
|
-
}
|
|
286
|
-
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
287
|
-
...{ name: "Avatar", inheritAttrs: false },
|
|
288
|
-
__name: "Avatar",
|
|
289
|
-
props: {
|
|
290
|
-
shape: {},
|
|
291
|
-
tone: {},
|
|
292
|
-
bgStyle: {},
|
|
293
|
-
ring: {},
|
|
294
|
-
isLoading: { type: Boolean, default: void 0 },
|
|
295
|
-
src: {},
|
|
296
|
-
name: { default: "" },
|
|
297
|
-
fallback: {},
|
|
298
|
-
alt: {},
|
|
299
|
-
canAutoColor: { type: Boolean, default: void 0 },
|
|
300
|
-
size: {}
|
|
301
|
-
},
|
|
302
|
-
setup(__props, { expose: __expose }) {
|
|
303
|
-
const props = __props;
|
|
304
|
-
const attrs = useAttrs();
|
|
305
|
-
const el = useTemplateRef("el");
|
|
306
|
-
const errored = ref(false);
|
|
307
|
-
watch(
|
|
308
|
-
() => props.src,
|
|
309
|
-
() => {
|
|
310
|
-
errored.value = false;
|
|
311
|
-
}
|
|
312
|
-
);
|
|
313
|
-
const skeleton = useSkeletonState(() => props.isLoading);
|
|
314
|
-
const loading = computed(() => skeleton.isSkeleton.value);
|
|
315
|
-
const showImage = computed(() => !!props.src && !errored.value && !loading.value);
|
|
316
|
-
const parsedSize = computed(() => CssExtensions.parseSizeUnion(props.size, AvatarSizePresets));
|
|
317
|
-
const boxStyle = computed(
|
|
318
|
-
() => parsedSize.value.box ? CssExtensions.resolveBoxSize(parsedSize.value.box) : void 0
|
|
319
|
-
);
|
|
320
|
-
const autoColorClass = computed(
|
|
321
|
-
() => props.canAutoColor && props.name && props.bgStyle !== AvatarBackground.Gradient && (props.tone === void 0 || props.tone === AvatarTone.Neutral) ? pickAutoColor(props.name) : void 0
|
|
322
|
-
);
|
|
323
|
-
const effectiveTone = computed(() => autoColorClass.value ? AvatarTone.None : props.tone);
|
|
324
|
-
const initials = computed(() => getInitials(props.name));
|
|
325
|
-
const fallbackName = computed(() => props.alt === "" ? void 0 : props.alt ?? (props.name || void 0));
|
|
326
|
-
const isDecorative = computed(() => props.alt === "");
|
|
327
|
-
const classes = computed(
|
|
328
|
-
() => cn(
|
|
329
|
-
avatarVariants({
|
|
330
|
-
size: parsedSize.value.preset,
|
|
331
|
-
shape: props.shape,
|
|
332
|
-
tone: effectiveTone.value,
|
|
333
|
-
bgStyle: props.bgStyle,
|
|
334
|
-
ring: props.ring,
|
|
335
|
-
isLoading: loading.value
|
|
336
|
-
}),
|
|
337
|
-
autoColorClass.value,
|
|
338
|
-
attrs.class
|
|
339
|
-
)
|
|
340
|
-
);
|
|
341
|
-
const styles = computed(() => [boxStyle.value, attrs.style]);
|
|
342
|
-
const rest = computed(() => {
|
|
343
|
-
const { class: _class, style: _style, ...others } = attrs;
|
|
344
|
-
return others;
|
|
345
|
-
});
|
|
346
|
-
__expose({ el });
|
|
347
|
-
return (_ctx, _cache) => {
|
|
348
|
-
return openBlock(), createElementBlock("span", mergeProps({
|
|
349
|
-
ref_key: "el",
|
|
350
|
-
ref: el,
|
|
351
|
-
"data-loading": loading.value ? "true" : void 0,
|
|
352
|
-
"aria-busy": loading.value ? true : void 0,
|
|
353
|
-
role: !showImage.value && fallbackName.value ? "img" : void 0,
|
|
354
|
-
"aria-label": !showImage.value ? fallbackName.value : void 0,
|
|
355
|
-
"aria-hidden": isDecorative.value ? "true" : void 0
|
|
356
|
-
}, rest.value, {
|
|
357
|
-
class: classes.value,
|
|
358
|
-
style: styles.value
|
|
359
|
-
}), [
|
|
360
|
-
showImage.value ? (openBlock(), createElementBlock("img", {
|
|
361
|
-
key: 0,
|
|
362
|
-
src: unref(UrlExtensions).safeResource(props.src),
|
|
363
|
-
alt: props.alt ?? props.name,
|
|
364
|
-
class: "h-full w-full object-cover",
|
|
365
|
-
onError: _cache[0] || (_cache[0] = ($event) => errored.value = true)
|
|
366
|
-
}, null, 40, _hoisted_2$Q)) : (openBlock(), createElementBlock("span", {
|
|
367
|
-
key: 1,
|
|
368
|
-
"aria-hidden": fallbackName.value ? "true" : void 0,
|
|
369
|
-
class: "contents"
|
|
370
|
-
}, [
|
|
371
|
-
renderSlot(_ctx.$slots, "fallback", {}, () => [
|
|
372
|
-
createTextVNode(toDisplayString(props.fallback ?? initials.value), 1)
|
|
373
|
-
])
|
|
374
|
-
], 8, _hoisted_3$B))
|
|
375
|
-
], 16, _hoisted_1$1l);
|
|
123
|
+
}), null, 16, _hoisted_1$1l));
|
|
376
124
|
};
|
|
377
125
|
}
|
|
378
126
|
});
|
|
@@ -735,7 +483,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
735
483
|
(openBlock(), createBlock(resolveDynamicComponent(child)))
|
|
736
484
|
], 2);
|
|
737
485
|
}), 128)),
|
|
738
|
-
overflow.value > 0 ? (openBlock(), createBlock(_sfc_main$
|
|
486
|
+
overflow.value > 0 ? (openBlock(), createBlock(_sfc_main$1O, {
|
|
739
487
|
key: 0,
|
|
740
488
|
size: props.size,
|
|
741
489
|
fallback: `+${overflow.value}`,
|
|
@@ -1041,7 +789,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
1041
789
|
ref_key: "el",
|
|
1042
790
|
ref: el
|
|
1043
791
|
}, rest.value, { class: classes.value }), [
|
|
1044
|
-
createVNode(_sfc_main$
|
|
792
|
+
createVNode(_sfc_main$1N, {
|
|
1045
793
|
variant: props.variant,
|
|
1046
794
|
class: normalizeClass(codeClasses.value)
|
|
1047
795
|
}, {
|
|
@@ -10598,156 +10346,150 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10598
10346
|
}
|
|
10599
10347
|
});
|
|
10600
10348
|
export {
|
|
10601
|
-
|
|
10349
|
+
DescriptionGroupLayout as $,
|
|
10602
10350
|
AccordionGroupType as A,
|
|
10603
10351
|
BadgeVariant as B,
|
|
10604
|
-
_sfc_main$
|
|
10605
|
-
_sfc_main$
|
|
10606
|
-
_sfc_main$
|
|
10607
|
-
_sfc_main$
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10611
|
-
_sfc_main$
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
_sfc_main$
|
|
10617
|
-
|
|
10618
|
-
_sfc_main$
|
|
10619
|
-
_sfc_main$
|
|
10620
|
-
|
|
10621
|
-
_sfc_main$
|
|
10622
|
-
_sfc_main$
|
|
10623
|
-
_sfc_main$
|
|
10624
|
-
|
|
10625
|
-
_sfc_main$
|
|
10626
|
-
_sfc_main$
|
|
10627
|
-
|
|
10352
|
+
_sfc_main$W as C,
|
|
10353
|
+
_sfc_main$X as D,
|
|
10354
|
+
_sfc_main$J as E,
|
|
10355
|
+
_sfc_main$o as F,
|
|
10356
|
+
ChatSide as G,
|
|
10357
|
+
ChatStatus as H,
|
|
10358
|
+
ChatTone as I,
|
|
10359
|
+
_sfc_main$1N as J,
|
|
10360
|
+
CodeTextVariant as K,
|
|
10361
|
+
_sfc_main$1n as L,
|
|
10362
|
+
_sfc_main$1k as M,
|
|
10363
|
+
CollapsibleGroupKey as N,
|
|
10364
|
+
_sfc_main$1m as O,
|
|
10365
|
+
_sfc_main$j as P,
|
|
10366
|
+
_sfc_main$k as Q,
|
|
10367
|
+
_sfc_main$r as R,
|
|
10368
|
+
_sfc_main$1x as S,
|
|
10369
|
+
_sfc_main$w as T,
|
|
10370
|
+
_sfc_main$4 as U,
|
|
10371
|
+
_sfc_main$Z as V,
|
|
10372
|
+
DataTableColumnAlign as W,
|
|
10373
|
+
_sfc_main$m as X,
|
|
10374
|
+
_sfc_main$1u as Y,
|
|
10375
|
+
DescriptionGroupDensity as Z,
|
|
10628
10376
|
_sfc_main$1j as _,
|
|
10629
10377
|
_sfc_main$1g as a,
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
_sfc_main$
|
|
10633
|
-
_sfc_main$
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
_sfc_main$
|
|
10639
|
-
_sfc_main$
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
_sfc_main$
|
|
10643
|
-
_sfc_main$
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
_sfc_main$
|
|
10648
|
-
_sfc_main$
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
_sfc_main$
|
|
10652
|
-
_sfc_main$
|
|
10653
|
-
_sfc_main$
|
|
10654
|
-
_sfc_main$
|
|
10655
|
-
_sfc_main$
|
|
10656
|
-
_sfc_main$
|
|
10657
|
-
_sfc_main$
|
|
10658
|
-
|
|
10659
|
-
_sfc_main$
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
_sfc_main$
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
_sfc_main$
|
|
10668
|
-
_sfc_main$
|
|
10669
|
-
|
|
10670
|
-
_sfc_main$
|
|
10671
|
-
|
|
10672
|
-
_sfc_main$
|
|
10673
|
-
_sfc_main$
|
|
10674
|
-
|
|
10675
|
-
_sfc_main$
|
|
10676
|
-
|
|
10677
|
-
_sfc_main$
|
|
10678
|
-
|
|
10679
|
-
_sfc_main
|
|
10680
|
-
_sfc_main$
|
|
10681
|
-
|
|
10682
|
-
_sfc_main$
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
_sfc_main$
|
|
10688
|
-
_sfc_main$
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
_sfc_main$
|
|
10693
|
-
|
|
10378
|
+
StatusSize as a$,
|
|
10379
|
+
DiffView as a0,
|
|
10380
|
+
_sfc_main$Q as a1,
|
|
10381
|
+
_sfc_main$M as a2,
|
|
10382
|
+
_sfc_main$y as a3,
|
|
10383
|
+
EventCalendarViewerView as a4,
|
|
10384
|
+
_sfc_main$1r as a5,
|
|
10385
|
+
EyebrowTextTone as a6,
|
|
10386
|
+
_sfc_main$g as a7,
|
|
10387
|
+
_sfc_main$N as a8,
|
|
10388
|
+
_sfc_main$C as a9,
|
|
10389
|
+
MetricBadgeTone as aA,
|
|
10390
|
+
_sfc_main$8 as aB,
|
|
10391
|
+
_sfc_main$1y as aC,
|
|
10392
|
+
NotificationIndicatorSize as aD,
|
|
10393
|
+
NotificationIndicatorTone as aE,
|
|
10394
|
+
_sfc_main$9 as aF,
|
|
10395
|
+
_sfc_main$7 as aG,
|
|
10396
|
+
_sfc_main$6 as aH,
|
|
10397
|
+
_sfc_main$3 as aI,
|
|
10398
|
+
_sfc_main$E as aJ,
|
|
10399
|
+
_sfc_main$e as aK,
|
|
10400
|
+
_sfc_main$1J as aL,
|
|
10401
|
+
_sfc_main$O as aM,
|
|
10402
|
+
_sfc_main$p as aN,
|
|
10403
|
+
_sfc_main$1A as aO,
|
|
10404
|
+
_sfc_main$D as aP,
|
|
10405
|
+
_sfc_main$u as aQ,
|
|
10406
|
+
ScrollRevealGroupEffect as aR,
|
|
10407
|
+
_sfc_main$1z as aS,
|
|
10408
|
+
SnippetTextVariant as aT,
|
|
10409
|
+
SortDirection as aU,
|
|
10410
|
+
_sfc_main$P as aV,
|
|
10411
|
+
SparklineTone as aW,
|
|
10412
|
+
SparklineVariant as aX,
|
|
10413
|
+
_sfc_main$1B as aY,
|
|
10414
|
+
StatCardSize as aZ,
|
|
10415
|
+
_sfc_main$1w as a_,
|
|
10416
|
+
_sfc_main$x as aa,
|
|
10417
|
+
GradientTextDirection as ab,
|
|
10418
|
+
_sfc_main$I as ac,
|
|
10419
|
+
HeatmapCalendarGridTone as ad,
|
|
10420
|
+
_sfc_main$1o as ae,
|
|
10421
|
+
_sfc_main$K as af,
|
|
10422
|
+
_sfc_main$1M as ag,
|
|
10423
|
+
_sfc_main$1t as ah,
|
|
10424
|
+
InfoRowLayout as ai,
|
|
10425
|
+
_sfc_main$2 as aj,
|
|
10426
|
+
KanbanBoardKey as ak,
|
|
10427
|
+
_sfc_main as al,
|
|
10428
|
+
_sfc_main$1 as am,
|
|
10429
|
+
_sfc_main$1v as an,
|
|
10430
|
+
_sfc_main$1b as ao,
|
|
10431
|
+
_sfc_main$1a as ap,
|
|
10432
|
+
ListGroupKey as aq,
|
|
10433
|
+
ListGroupMarker as ar,
|
|
10434
|
+
ListGroupSpacing as as,
|
|
10435
|
+
_sfc_main$1K as at,
|
|
10436
|
+
_sfc_main$t as au,
|
|
10437
|
+
MarqueeGroupDirection as av,
|
|
10438
|
+
_sfc_main$n as aw,
|
|
10439
|
+
_sfc_main$1q as ax,
|
|
10440
|
+
_sfc_main$1s as ay,
|
|
10441
|
+
MetricBadgeSize as az,
|
|
10694
10442
|
_sfc_main$1i as b,
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
_sfc_main$
|
|
10699
|
-
|
|
10700
|
-
_sfc_main$
|
|
10701
|
-
|
|
10702
|
-
_sfc_main$
|
|
10703
|
-
_sfc_main$
|
|
10704
|
-
_sfc_main
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
_sfc_main$
|
|
10727
|
-
_sfc_main$
|
|
10728
|
-
|
|
10729
|
-
_sfc_main
|
|
10730
|
-
|
|
10731
|
-
_sfc_main$
|
|
10732
|
-
_sfc_main$
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
_sfc_main$
|
|
10741
|
-
_sfc_main$
|
|
10742
|
-
_sfc_main$
|
|
10743
|
-
_sfc_main$
|
|
10744
|
-
|
|
10745
|
-
TimelineAlign as bu,
|
|
10746
|
-
_sfc_main$16 as bv,
|
|
10747
|
-
_sfc_main$18 as bw,
|
|
10748
|
-
TimelineKey as bx,
|
|
10749
|
-
TimelineStatus as by,
|
|
10750
|
-
_sfc_main$17 as bz,
|
|
10443
|
+
_sfc_main$f as b0,
|
|
10444
|
+
StepStatus as b1,
|
|
10445
|
+
_sfc_main$d as b2,
|
|
10446
|
+
_sfc_main$c as b3,
|
|
10447
|
+
_sfc_main$a as b4,
|
|
10448
|
+
_sfc_main$b as b5,
|
|
10449
|
+
_sfc_main$15 as b6,
|
|
10450
|
+
_sfc_main$13 as b7,
|
|
10451
|
+
_sfc_main$_ as b8,
|
|
10452
|
+
_sfc_main$$ as b9,
|
|
10453
|
+
badgeVariants as bA,
|
|
10454
|
+
codeVariants as bB,
|
|
10455
|
+
listVariants as bC,
|
|
10456
|
+
useAccordionContext as bD,
|
|
10457
|
+
useAccordionItemContext as bE,
|
|
10458
|
+
useCarouselContext as bF,
|
|
10459
|
+
useCollapsibleContext as bG,
|
|
10460
|
+
useKanbanBoardContext as bH,
|
|
10461
|
+
useListContext as bI,
|
|
10462
|
+
useOnboardingChecklist as bJ,
|
|
10463
|
+
useStepperContext as bK,
|
|
10464
|
+
useTableContext as bL,
|
|
10465
|
+
useTabsContext as bM,
|
|
10466
|
+
useTimelineContext as bN,
|
|
10467
|
+
TableDensity as ba,
|
|
10468
|
+
_sfc_main$12 as bb,
|
|
10469
|
+
_sfc_main$14 as bc,
|
|
10470
|
+
TableHeadVariant as bd,
|
|
10471
|
+
_sfc_main$10 as be,
|
|
10472
|
+
TablePhoneLayout as bf,
|
|
10473
|
+
TableRadius as bg,
|
|
10474
|
+
_sfc_main$11 as bh,
|
|
10475
|
+
_sfc_main$1f as bi,
|
|
10476
|
+
TabsGroupActivationMode as bj,
|
|
10477
|
+
_sfc_main$1e as bk,
|
|
10478
|
+
_sfc_main$1c as bl,
|
|
10479
|
+
_sfc_main$1d as bm,
|
|
10480
|
+
_sfc_main$l as bn,
|
|
10481
|
+
_sfc_main$19 as bo,
|
|
10482
|
+
TimelineAlign as bp,
|
|
10483
|
+
_sfc_main$16 as bq,
|
|
10484
|
+
_sfc_main$18 as br,
|
|
10485
|
+
TimelineKey as bs,
|
|
10486
|
+
TimelineStatus as bt,
|
|
10487
|
+
_sfc_main$17 as bu,
|
|
10488
|
+
_sfc_main$5 as bv,
|
|
10489
|
+
_sfc_main$s as bw,
|
|
10490
|
+
_sfc_main$L as bx,
|
|
10491
|
+
_sfc_main$F as by,
|
|
10492
|
+
VideoTrackKind as bz,
|
|
10751
10493
|
_sfc_main$1h as c,
|
|
10752
10494
|
_sfc_main$h as d,
|
|
10753
10495
|
_sfc_main$i as e,
|
|
@@ -10757,20 +10499,20 @@ export {
|
|
|
10757
10499
|
_sfc_main$G as i,
|
|
10758
10500
|
_sfc_main$H as j,
|
|
10759
10501
|
AudioWaveformPreviewTone as k,
|
|
10760
|
-
_sfc_main$
|
|
10761
|
-
|
|
10762
|
-
_sfc_main$
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
_sfc_main$
|
|
10767
|
-
_sfc_main$
|
|
10768
|
-
_sfc_main$
|
|
10769
|
-
_sfc_main$
|
|
10770
|
-
_sfc_main$
|
|
10771
|
-
_sfc_main$
|
|
10772
|
-
_sfc_main$
|
|
10773
|
-
_sfc_main$
|
|
10774
|
-
_sfc_main$
|
|
10775
|
-
};
|
|
10776
|
-
//# sourceMappingURL=KanbanCard.vue_vue_type_script_setup_true_lang-
|
|
10502
|
+
_sfc_main$1C as l,
|
|
10503
|
+
_sfc_main$1L as m,
|
|
10504
|
+
_sfc_main$1p as n,
|
|
10505
|
+
_sfc_main$1I as o,
|
|
10506
|
+
_sfc_main$1E as p,
|
|
10507
|
+
_sfc_main$1F as q,
|
|
10508
|
+
_sfc_main$1D as r,
|
|
10509
|
+
_sfc_main$1H as s,
|
|
10510
|
+
_sfc_main$1G as t,
|
|
10511
|
+
_sfc_main$Y as u,
|
|
10512
|
+
_sfc_main$S as v,
|
|
10513
|
+
_sfc_main$R as w,
|
|
10514
|
+
_sfc_main$T as x,
|
|
10515
|
+
_sfc_main$U as y,
|
|
10516
|
+
_sfc_main$V as z
|
|
10517
|
+
};
|
|
10518
|
+
//# sourceMappingURL=KanbanCard.vue_vue_type_script_setup_true_lang-CyXb4ZZw.js.map
|