@wow-two-beta/fe 0.0.31 → 0.0.33
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/README.md +7 -6
- package/dist/chunks/{AccountMenu.vue_vue_type_script_setup_true_lang-CG03MviN.js → AccountMenu.vue_vue_type_script_setup_true_lang-LEQUWCXJ.js} +7 -3
- package/dist/chunks/{AccountMenu.vue_vue_type_script_setup_true_lang-CG03MviN.js.map → AccountMenu.vue_vue_type_script_setup_true_lang-LEQUWCXJ.js.map} +1 -1
- package/dist/chunks/Alert.vue_vue_type_script_setup_true_lang-CoLxB2dM.js +155 -0
- package/dist/chunks/Alert.vue_vue_type_script_setup_true_lang-CoLxB2dM.js.map +1 -0
- package/dist/chunks/{FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js → ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js} +70 -230
- package/dist/chunks/ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js.map +1 -0
- package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-Dv9wOZmk.js → ErrorBoundary.vue_vue_type_script_setup_true_lang-E72RRrNG.js} +87 -233
- package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-E72RRrNG.js.map +1 -0
- package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js +216 -0
- package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js.map +1 -0
- package/dist/chunks/{KanbanCard.vue_vue_type_script_setup_true_lang-DKgIhFwh.js → KanbanCard.vue_vue_type_script_setup_true_lang-BrQFyOiU.js} +177 -223
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BrQFyOiU.js.map +1 -0
- package/dist/chunks/{MasonryLayout.vue_vue_type_script_setup_true_lang-C5GpXgfl.js → MasonryLayout.vue_vue_type_script_setup_true_lang-BmWwoZrv.js} +29 -104
- package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-BmWwoZrv.js.map +1 -0
- package/dist/chunks/Navbar.variants-7DXJlilx.js +88 -0
- package/dist/chunks/Navbar.variants-7DXJlilx.js.map +1 -0
- package/dist/chunks/TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js +447 -0
- package/dist/chunks/TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js.map +1 -0
- package/dist/chunks/{LightboxModal.vue_vue_type_script_setup_true_lang-CP7Or4sf.js → TypedConfirmModal.vue_vue_type_script_setup_true_lang-CoIaH_xx.js} +299 -108
- package/dist/chunks/TypedConfirmModal.vue_vue_type_script_setup_true_lang-CoIaH_xx.js.map +1 -0
- package/dist/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js → UseTypedConfirmation-CvY2T4Up.js} +331 -582
- package/dist/chunks/UseTypedConfirmation-CvY2T4Up.js.map +1 -0
- package/dist/chunks/{index-CRV9gpyX.js → index-ou-qGNDu.js} +6 -3
- package/dist/chunks/index-ou-qGNDu.js.map +1 -0
- package/dist/foundation/http/ApiDecoderExtensions.d.ts +22 -0
- package/dist/foundation/http/ApiFailureExtensions.d.ts +22 -0
- package/dist/foundation/http/ProblemDetailsExtensions.d.ts +31 -0
- package/dist/foundation/http/index.d.ts +3 -0
- package/dist/foundation/http/index.js +93 -2
- package/dist/foundation/http/index.js.map +1 -1
- package/dist/foundation/themes/Theme.d.ts +7 -2
- package/dist/foundation/themes/index.js +1 -1
- package/dist/index.css +15 -9
- package/dist/index.js +657 -651
- package/dist/index.js.map +1 -1
- package/dist/presentation/display/index.js +158 -157
- package/dist/presentation/display/index.js.map +1 -1
- package/dist/presentation/feedback/index.js +43 -42
- package/dist/presentation/feedback/index.js.map +1 -1
- package/dist/presentation/forms/index.d.ts +1 -0
- package/dist/presentation/forms/index.js +139 -137
- package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +1 -1
- package/dist/presentation/forms/typedConfirmField/TypedConfirmField.vue.d.ts +61 -0
- package/dist/presentation/forms/typedConfirmField/UseTypedConfirmation.d.ts +32 -0
- package/dist/presentation/forms/typedConfirmField/index.d.ts +2 -0
- package/dist/presentation/layout/index.js +34 -33
- package/dist/presentation/layout/index.js.map +1 -1
- package/dist/presentation/layout/navbar/Navbar.variants.d.ts +7 -1
- package/dist/presentation/nav/bottomNavMenu/BottomNavMenu.vue.d.ts +8 -0
- package/dist/presentation/nav/index.js +1 -1
- package/dist/presentation/overlays/index.d.ts +1 -0
- package/dist/presentation/overlays/index.js +6 -5
- package/dist/presentation/overlays/typedConfirmModal/TypedConfirmModal.vue.d.ts +64 -0
- package/dist/presentation/overlays/typedConfirmModal/index.d.ts +1 -0
- package/dist/themes.css +2 -0
- package/package.json +1 -1
- package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-Dv9wOZmk.js.map +0 -1
- package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js.map +0 -1
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-DKgIhFwh.js.map +0 -1
- package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-CP7Or4sf.js.map +0 -1
- package/dist/chunks/ListboxPicker.variants-hiMcl66_.js +0 -44
- package/dist/chunks/ListboxPicker.variants-hiMcl66_.js.map +0 -1
- package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-C5GpXgfl.js.map +0 -1
- package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js.map +0 -1
- package/dist/chunks/index-CRV9gpyX.js.map +0 -1
|
@@ -2,15 +2,15 @@ import { defineComponent, useAttrs, useTemplateRef, computed, openBlock, createE
|
|
|
2
2
|
import { c as cn } from "./Cn-C7De6POU.js";
|
|
3
3
|
import { f as useSkeletonStateGroup, e as skeletonVariants, d as skeletonSlotVariants, g as skeletonStateGroupKey, u as useSkeletonState } from "./SkeletonStateContext-tVYMa6xt.js";
|
|
4
4
|
import { u as useLocale } from "./LocaleContext-B7vUZmX-.js";
|
|
5
|
-
import { _ as _sfc_main$
|
|
6
|
-
import { _ as _sfc_main$
|
|
5
|
+
import { _ as _sfc_main$r } from "./Button.vue_vue_type_script_setup_true_lang-CAbPBMuc.js";
|
|
6
|
+
import { _ as _sfc_main$q } from "./EmptyState.vue_vue_type_script_setup_true_lang-DHwwGzyu.js";
|
|
7
7
|
import { P as ProgressTone } from "./ProgressTone-BpLPUptx.js";
|
|
8
8
|
import { tv } from "tailwind-variants";
|
|
9
9
|
import { u as useLocaleDefaults } from "./UseLocaleDefaults-DnL2Ctbe.js";
|
|
10
10
|
import { X, Check, Minus, TrendingDown, TrendingUp } from "lucide-vue-next";
|
|
11
|
-
import { _ as _sfc_main$
|
|
11
|
+
import { _ as _sfc_main$s } from "./Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js";
|
|
12
12
|
import { S as Severity } from "./Severity-D0C5oAt-.js";
|
|
13
|
-
import { _ as _sfc_main$
|
|
13
|
+
import { _ as _sfc_main$t, S as SpinnerTone } from "./Spinner.vue_vue_type_script_setup_true_lang-CPor3q8_.js";
|
|
14
14
|
import { S as Size } from "./StyleTokens-Bkz7Dm5L.js";
|
|
15
15
|
import { O as Orientation } from "./Orientation-u-sYunuG.js";
|
|
16
16
|
import { S as StatusTone } from "./StatusTone-BoPK1s09.js";
|
|
@@ -18,15 +18,15 @@ import { u as useLocaleFormatters } from "./LocaleFormatters-DadF2y7-.js";
|
|
|
18
18
|
import { u as useId } from "./UseId-CtgAhGrn.js";
|
|
19
19
|
import { S as SkeletonStateLine } from "./SkeletonStateLine-anGWn2Vm.js";
|
|
20
20
|
import { f as feedbackBus, a as NoticeCategory } from "./FeedbackBus-Xc9EjV9K.js";
|
|
21
|
-
import { t as toastHost, a as _sfc_main$
|
|
22
|
-
import { _ as _sfc_main$
|
|
21
|
+
import { t as toastHost, a as _sfc_main$u } from "./ToastHost.vue_vue_type_script_setup_true_lang-BKfF6cjS.js";
|
|
22
|
+
import { _ as _sfc_main$v } from "./BackdropOverlay.vue_vue_type_script_setup_true_lang-BsjQoWDM.js";
|
|
23
23
|
import { P as Presence } from "./Presence-DDk0ZtAr.js";
|
|
24
|
-
import { _ as _sfc_main$
|
|
24
|
+
import { _ as _sfc_main$w } from "./FocusScope.vue_vue_type_script_setup_true_lang-C4XeQoxg.js";
|
|
25
25
|
import { s as surfaceVariants } from "./SurfaceStyles-DUVz963_.js";
|
|
26
26
|
import { O as OverlayPosition } from "./OverlayPosition-BNybkMGG.js";
|
|
27
|
-
import { _ as _sfc_main$
|
|
27
|
+
import { _ as _sfc_main$x } from "./Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js";
|
|
28
28
|
import { u as useReducedMotion } from "./UseReducedMotion-NZ5fg-Xb.js";
|
|
29
|
-
const _sfc_main$
|
|
29
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
30
30
|
...{ name: "SkeletonState", inheritAttrs: false },
|
|
31
31
|
__name: "SkeletonState",
|
|
32
32
|
props: {
|
|
@@ -60,7 +60,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
const _sfc_main$
|
|
63
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
64
64
|
...{ name: "SkeletonStateSlot", inheritAttrs: false },
|
|
65
65
|
__name: "SkeletonStateSlot",
|
|
66
66
|
props: {
|
|
@@ -104,13 +104,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
|
-
const _hoisted_1$
|
|
108
|
-
const _hoisted_2$
|
|
107
|
+
const _hoisted_1$i = ["aria-busy"];
|
|
108
|
+
const _hoisted_2$d = {
|
|
109
109
|
key: 0,
|
|
110
110
|
role: "status",
|
|
111
111
|
class: "sr-only"
|
|
112
112
|
};
|
|
113
|
-
const _sfc_main$
|
|
113
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
114
114
|
...{ name: "SkeletonStateGroup" },
|
|
115
115
|
__name: "SkeletonStateGroup",
|
|
116
116
|
props: {
|
|
@@ -135,13 +135,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
135
135
|
ref: el,
|
|
136
136
|
"aria-busy": props.isLoading || void 0
|
|
137
137
|
}, [
|
|
138
|
-
props.isLoading ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
138
|
+
props.isLoading ? (openBlock(), createElementBlock("span", _hoisted_2$d, toDisplayString(props.label ?? unref(locale).t("SkeletonStateGroup.loading", void 0, "Loading…")), 1)) : createCommentVNode("", true),
|
|
139
139
|
renderSlot(_ctx.$slots, "default")
|
|
140
|
-
], 8, _hoisted_1$
|
|
140
|
+
], 8, _hoisted_1$i);
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
});
|
|
144
|
-
const _sfc_main$
|
|
144
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
145
145
|
...{ name: "SkeletonStateText" },
|
|
146
146
|
__name: "SkeletonStateText",
|
|
147
147
|
props: {
|
|
@@ -165,7 +165,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
165
165
|
class: "flex flex-col gap-2"
|
|
166
166
|
}, [
|
|
167
167
|
(openBlock(true), createElementBlock(Fragment, null, renderList(count.value, (index) => {
|
|
168
|
-
return openBlock(), createBlock(_sfc_main$
|
|
168
|
+
return openBlock(), createBlock(_sfc_main$p, mergeProps({
|
|
169
169
|
key: index,
|
|
170
170
|
shape: "text"
|
|
171
171
|
}, { ref_for: true }, props.animation ? { animation: props.animation } : {}, {
|
|
@@ -184,13 +184,13 @@ function useSkeletonItems(source, count = DefaultSkeletonItems) {
|
|
|
184
184
|
return Array.from({ length: Math.max(0, Math.floor(toValue(count)) || 0) }, () => void 0);
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
const _hoisted_1$
|
|
188
|
-
const _hoisted_2$
|
|
187
|
+
const _hoisted_1$h = ["data-state", "data-refreshing", "data-stale", "aria-busy"];
|
|
188
|
+
const _hoisted_2$c = {
|
|
189
189
|
key: 0,
|
|
190
190
|
role: "status",
|
|
191
191
|
class: "sr-only"
|
|
192
192
|
};
|
|
193
|
-
const _hoisted_3$
|
|
193
|
+
const _hoisted_3$6 = ["inert"];
|
|
194
194
|
const DataRegionState = {
|
|
195
195
|
/** Refers to the first load: the content renders as component skeletons. */
|
|
196
196
|
FirstLoad: "first-load",
|
|
@@ -201,7 +201,7 @@ const DataRegionState = {
|
|
|
201
201
|
/** Refers to the content — the last good content too, when a refresh failed. */
|
|
202
202
|
Ready: "ready"
|
|
203
203
|
};
|
|
204
|
-
const _sfc_main$
|
|
204
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
205
205
|
...{ name: "DataRegion", inheritAttrs: false },
|
|
206
206
|
__name: "DataRegion",
|
|
207
207
|
props: {
|
|
@@ -272,17 +272,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
272
272
|
"data-stale": state.value === DataRegionState.Ready && hasError.value || void 0,
|
|
273
273
|
"aria-busy": isSkeleton.value || void 0
|
|
274
274
|
}, rest.value, { class: classes.value }), [
|
|
275
|
-
isSkeleton.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
275
|
+
isSkeleton.value ? (openBlock(), createElementBlock("span", _hoisted_2$c, toDisplayString(loadingText.value), 1)) : createCommentVNode("", true),
|
|
276
276
|
state.value === DataRegionState.Unavailable ? renderSlot(_ctx.$slots, "unavailable", {
|
|
277
277
|
message: message.value,
|
|
278
278
|
retry
|
|
279
279
|
}, () => [
|
|
280
|
-
createVNode(_sfc_main$
|
|
280
|
+
createVNode(_sfc_main$q, { title: unavailableText.value }, createSlots({ _: 2 }, [
|
|
281
281
|
canRetry() ? {
|
|
282
282
|
name: "actions",
|
|
283
283
|
fn: withCtx(() => [
|
|
284
284
|
renderSlot(_ctx.$slots, "retry", { retry }, () => [
|
|
285
|
-
createVNode(_sfc_main$
|
|
285
|
+
createVNode(_sfc_main$r, {
|
|
286
286
|
size: "sm",
|
|
287
287
|
variant: "outline",
|
|
288
288
|
onClick: retry
|
|
@@ -297,7 +297,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
297
297
|
key: "0"
|
|
298
298
|
} : void 0
|
|
299
299
|
]), 1032, ["title"])
|
|
300
|
-
], void 0, 1) : state.value === DataRegionState.Empty ? (openBlock(), createBlock(_sfc_main$
|
|
300
|
+
], void 0, 1) : state.value === DataRegionState.Empty ? (openBlock(), createBlock(_sfc_main$q, {
|
|
301
301
|
key: 2,
|
|
302
302
|
title: emptyTitleText.value,
|
|
303
303
|
description: props.emptyDescription
|
|
@@ -316,8 +316,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
316
316
|
"data-region-content": ""
|
|
317
317
|
}, [
|
|
318
318
|
isSkeleton.value && _ctx.$slots.skeleton ? renderSlot(_ctx.$slots, "skeleton", {}, void 0, void 0, 0) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1)
|
|
319
|
-
], 8, _hoisted_3$
|
|
320
|
-
], 16, _hoisted_1$
|
|
319
|
+
], 8, _hoisted_3$6))
|
|
320
|
+
], 16, _hoisted_1$h);
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
323
|
});
|
|
@@ -349,8 +349,8 @@ const progressFillVariants = tv({
|
|
|
349
349
|
tone: "brand"
|
|
350
350
|
}
|
|
351
351
|
});
|
|
352
|
-
const _hoisted_1$
|
|
353
|
-
const _sfc_main$
|
|
352
|
+
const _hoisted_1$g = ["aria-label", "aria-valuemax", "aria-valuenow"];
|
|
353
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
354
354
|
...{ name: "ProgressBar", inheritAttrs: false },
|
|
355
355
|
__name: "ProgressBar",
|
|
356
356
|
props: {
|
|
@@ -404,15 +404,15 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
404
404
|
class: normalizeClass(fillClasses.value),
|
|
405
405
|
style: normalizeStyle(determinate.value ? { width: `${pct.value}%` } : void 0)
|
|
406
406
|
}, null, 6)
|
|
407
|
-
], 16, _hoisted_1$
|
|
407
|
+
], 16, _hoisted_1$g);
|
|
408
408
|
};
|
|
409
409
|
}
|
|
410
410
|
});
|
|
411
|
-
const _hoisted_1$
|
|
412
|
-
const _hoisted_2$
|
|
413
|
-
const _hoisted_3$
|
|
414
|
-
const _hoisted_4$
|
|
415
|
-
const _sfc_main$
|
|
411
|
+
const _hoisted_1$f = ["aria-label", "aria-valuemax", "aria-valuenow"];
|
|
412
|
+
const _hoisted_2$b = ["width", "height", "viewBox"];
|
|
413
|
+
const _hoisted_3$5 = ["cx", "cy", "r", "stroke-width"];
|
|
414
|
+
const _hoisted_4$3 = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
415
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
416
416
|
...{ name: "ProgressCircleIndicator", inheritAttrs: false },
|
|
417
417
|
__name: "ProgressCircleIndicator",
|
|
418
418
|
props: {
|
|
@@ -474,7 +474,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
474
474
|
"stroke-width": props.thickness,
|
|
475
475
|
fill: "none",
|
|
476
476
|
opacity: 0.2
|
|
477
|
-
}, null, 8, _hoisted_3$
|
|
477
|
+
}, null, 8, _hoisted_3$5),
|
|
478
478
|
createElementVNode("circle", {
|
|
479
479
|
cx: props.size / 2,
|
|
480
480
|
cy: props.size / 2,
|
|
@@ -487,53 +487,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
487
487
|
"stroke-dashoffset": offset.value,
|
|
488
488
|
transform: `rotate(-90 ${props.size / 2} ${props.size / 2})`,
|
|
489
489
|
style: { transition: "stroke-dashoffset 300ms ease" }
|
|
490
|
-
}, null, 8, _hoisted_4$
|
|
491
|
-
], 8, _hoisted_2$
|
|
492
|
-
], 16, _hoisted_1$
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
});
|
|
496
|
-
const alertSimpleVariants = tv({
|
|
497
|
-
base: "rounded-md border px-4 py-3 text-sm",
|
|
498
|
-
variants: {
|
|
499
|
-
severity: {
|
|
500
|
-
info: "border-info-soft bg-info-soft text-info-soft-foreground",
|
|
501
|
-
success: "border-success-soft bg-success-soft text-success-soft-foreground",
|
|
502
|
-
warning: "border-warning-soft bg-warning-soft text-warning-soft-foreground",
|
|
503
|
-
danger: "border-destructive-soft bg-destructive-soft text-destructive-soft-foreground",
|
|
504
|
-
neutral: "border-border bg-muted text-foreground"
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
defaultVariants: {
|
|
508
|
-
severity: "info"
|
|
509
|
-
}
|
|
510
|
-
});
|
|
511
|
-
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
512
|
-
...{ name: "AlertSimple", inheritAttrs: false },
|
|
513
|
-
__name: "AlertSimple",
|
|
514
|
-
props: {
|
|
515
|
-
severity: {}
|
|
516
|
-
},
|
|
517
|
-
setup(__props, { expose: __expose }) {
|
|
518
|
-
const props = __props;
|
|
519
|
-
const attrs = useAttrs();
|
|
520
|
-
const el = useTemplateRef("el");
|
|
521
|
-
const classes = computed(
|
|
522
|
-
() => cn(alertSimpleVariants({ severity: props.severity }), attrs.class)
|
|
523
|
-
);
|
|
524
|
-
const rest = computed(() => {
|
|
525
|
-
const { class: _class, ...others } = attrs;
|
|
526
|
-
return others;
|
|
527
|
-
});
|
|
528
|
-
__expose({ el });
|
|
529
|
-
return (_ctx, _cache) => {
|
|
530
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
531
|
-
ref_key: "el",
|
|
532
|
-
ref: el,
|
|
533
|
-
role: "status"
|
|
534
|
-
}, rest.value, { class: classes.value }), [
|
|
535
|
-
renderSlot(_ctx.$slots, "default")
|
|
536
|
-
], 16);
|
|
490
|
+
}, null, 8, _hoisted_4$3)
|
|
491
|
+
], 8, _hoisted_2$b))
|
|
492
|
+
], 16, _hoisted_1$f);
|
|
537
493
|
};
|
|
538
494
|
}
|
|
539
495
|
});
|
|
@@ -552,7 +508,7 @@ const bannerSimpleVariants = tv({
|
|
|
552
508
|
severity: "info"
|
|
553
509
|
}
|
|
554
510
|
});
|
|
555
|
-
const _sfc_main$
|
|
511
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
556
512
|
...{ name: "BannerSimple", inheritAttrs: false },
|
|
557
513
|
__name: "BannerSimple",
|
|
558
514
|
props: {
|
|
@@ -596,105 +552,6 @@ const toastSimpleVariants = tv({
|
|
|
596
552
|
severity: "neutral"
|
|
597
553
|
}
|
|
598
554
|
});
|
|
599
|
-
const _hoisted_1$f = {
|
|
600
|
-
key: 0,
|
|
601
|
-
class: "mt-0.5 shrink-0"
|
|
602
|
-
};
|
|
603
|
-
const _hoisted_2$b = { class: "min-w-0 flex-1" };
|
|
604
|
-
const _hoisted_3$5 = {
|
|
605
|
-
key: 0,
|
|
606
|
-
class: "font-medium"
|
|
607
|
-
};
|
|
608
|
-
const _hoisted_4$3 = {
|
|
609
|
-
key: 2,
|
|
610
|
-
class: "mt-2 flex flex-wrap items-center gap-2"
|
|
611
|
-
};
|
|
612
|
-
const _hoisted_5$2 = ["aria-label"];
|
|
613
|
-
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
614
|
-
...{ name: "Alert", inheritAttrs: false },
|
|
615
|
-
__name: "Alert",
|
|
616
|
-
props: {
|
|
617
|
-
severity: {},
|
|
618
|
-
icon: {},
|
|
619
|
-
title: {},
|
|
620
|
-
description: {},
|
|
621
|
-
actions: {},
|
|
622
|
-
closeLabel: {}
|
|
623
|
-
},
|
|
624
|
-
emits: ["close"],
|
|
625
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
626
|
-
const CloseIcon = X;
|
|
627
|
-
const componentProps = __props;
|
|
628
|
-
const props = useLocaleDefaults(componentProps, "Alert", { closeLabel: "Dismiss" });
|
|
629
|
-
const emit = __emit;
|
|
630
|
-
const attrs = useAttrs();
|
|
631
|
-
const slots = useSlots();
|
|
632
|
-
const instance = getCurrentInstance();
|
|
633
|
-
const inner = useTemplateRef("inner");
|
|
634
|
-
const hasClose = () => Boolean(instance?.vnode.props?.onClose);
|
|
635
|
-
const hasIcon = computed(() => Boolean(props.icon) || Boolean(slots.icon));
|
|
636
|
-
const hasTitle = computed(() => Boolean(props.title) || Boolean(slots.title));
|
|
637
|
-
const hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));
|
|
638
|
-
const hasActions = computed(() => Boolean(props.actions) || Boolean(slots.actions));
|
|
639
|
-
const classes = computed(() => cn("flex items-start gap-3", attrs.class));
|
|
640
|
-
const descriptionClasses = computed(() => cn("text-sm", hasTitle.value && "mt-0.5 opacity-90"));
|
|
641
|
-
const rest = computed(() => {
|
|
642
|
-
const { class: _class, ...others } = attrs;
|
|
643
|
-
return others;
|
|
644
|
-
});
|
|
645
|
-
const el = computed(() => inner.value?.el ?? null);
|
|
646
|
-
__expose({ el });
|
|
647
|
-
return (_ctx, _cache) => {
|
|
648
|
-
return openBlock(), createBlock(_sfc_main$k, mergeProps({
|
|
649
|
-
ref_key: "inner",
|
|
650
|
-
ref: inner,
|
|
651
|
-
severity: unref(props).severity
|
|
652
|
-
}, rest.value, { class: classes.value }), {
|
|
653
|
-
default: withCtx(() => [
|
|
654
|
-
hasIcon.value ? (openBlock(), createElementBlock("span", _hoisted_1$f, [
|
|
655
|
-
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
656
|
-
createTextVNode(toDisplayString(unref(props).icon), 1)
|
|
657
|
-
])
|
|
658
|
-
])) : createCommentVNode("", true),
|
|
659
|
-
createElementVNode("div", _hoisted_2$b, [
|
|
660
|
-
hasTitle.value ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
|
|
661
|
-
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
662
|
-
createTextVNode(toDisplayString(unref(props).title), 1)
|
|
663
|
-
])
|
|
664
|
-
])) : createCommentVNode("", true),
|
|
665
|
-
hasDescription.value ? (openBlock(), createElementBlock("div", {
|
|
666
|
-
key: 1,
|
|
667
|
-
class: normalizeClass(descriptionClasses.value)
|
|
668
|
-
}, [
|
|
669
|
-
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
670
|
-
createTextVNode(toDisplayString(unref(props).description), 1)
|
|
671
|
-
])
|
|
672
|
-
], 2)) : createCommentVNode("", true),
|
|
673
|
-
hasActions.value ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
674
|
-
renderSlot(_ctx.$slots, "actions", {}, () => [
|
|
675
|
-
createTextVNode(toDisplayString(unref(props).actions), 1)
|
|
676
|
-
])
|
|
677
|
-
])) : createCommentVNode("", true),
|
|
678
|
-
renderSlot(_ctx.$slots, "default")
|
|
679
|
-
]),
|
|
680
|
-
hasClose() ? (openBlock(), createElementBlock("button", {
|
|
681
|
-
key: 1,
|
|
682
|
-
type: "button",
|
|
683
|
-
"aria-label": unref(props).closeLabel,
|
|
684
|
-
class: "-mr-1 grid h-6 w-6 shrink-0 place-items-center rounded text-current opacity-60 transition-opacity hover:opacity-100 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-current",
|
|
685
|
-
onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
|
|
686
|
-
}, [
|
|
687
|
-
createVNode(unref(_sfc_main$u), {
|
|
688
|
-
icon: unref(CloseIcon),
|
|
689
|
-
size: 14
|
|
690
|
-
}, null, 8, ["icon"])
|
|
691
|
-
], 8, _hoisted_5$2)) : createCommentVNode("", true)
|
|
692
|
-
]),
|
|
693
|
-
_: 3
|
|
694
|
-
}, 16, ["severity", "class"]);
|
|
695
|
-
};
|
|
696
|
-
}
|
|
697
|
-
});
|
|
698
555
|
const _hoisted_1$e = {
|
|
699
556
|
key: 0,
|
|
700
557
|
class: "shrink-0"
|
|
@@ -747,7 +604,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
747
604
|
const el = computed(() => inner.value?.el ?? null);
|
|
748
605
|
__expose({ el });
|
|
749
606
|
return (_ctx, _cache) => {
|
|
750
|
-
return openBlock(), createBlock(_sfc_main$
|
|
607
|
+
return openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
751
608
|
ref_key: "inner",
|
|
752
609
|
ref: inner,
|
|
753
610
|
severity: unref(props).severity
|
|
@@ -783,7 +640,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
783
640
|
class: "-mr-2 grid h-7 w-7 shrink-0 place-items-center rounded text-current opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-current",
|
|
784
641
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
|
|
785
642
|
}, [
|
|
786
|
-
createVNode(unref(_sfc_main$
|
|
643
|
+
createVNode(unref(_sfc_main$s), {
|
|
787
644
|
icon: unref(CloseIcon),
|
|
788
645
|
size: 16
|
|
789
646
|
}, null, 8, ["icon"])
|
|
@@ -884,7 +741,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
884
741
|
ref_key: "el",
|
|
885
742
|
ref: el
|
|
886
743
|
}, rest.value, { class: classes.value }), [
|
|
887
|
-
createVNode(_sfc_main$
|
|
744
|
+
createVNode(_sfc_main$t, {
|
|
888
745
|
size: props.size,
|
|
889
746
|
tone: props.tone
|
|
890
747
|
}, null, 8, ["size", "tone"]),
|
|
@@ -933,7 +790,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
933
790
|
ref: el,
|
|
934
791
|
role: "status"
|
|
935
792
|
}, rest.value, { class: classes.value }), [
|
|
936
|
-
createVNode(_sfc_main$
|
|
793
|
+
createVNode(_sfc_main$t, {
|
|
937
794
|
size: unref(props).size,
|
|
938
795
|
tone: "brand"
|
|
939
796
|
}, null, 8, ["size"]),
|
|
@@ -1001,7 +858,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1001
858
|
class: normalizeClass(markerClasses(i)),
|
|
1002
859
|
"aria-current": statusAt(i) === "current" ? "step" : void 0
|
|
1003
860
|
}, [
|
|
1004
|
-
statusAt(i) === "complete" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
861
|
+
statusAt(i) === "complete" ? (openBlock(), createBlock(unref(_sfc_main$s), {
|
|
1005
862
|
key: 0,
|
|
1006
863
|
icon: unref(CheckIcon),
|
|
1007
864
|
size: 14
|
|
@@ -1296,7 +1153,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1296
1153
|
ref_key: "el",
|
|
1297
1154
|
ref: el
|
|
1298
1155
|
}, rest.value, { class: classes.value }), [
|
|
1299
|
-
createVNode(unref(_sfc_main$
|
|
1156
|
+
createVNode(unref(_sfc_main$s), {
|
|
1300
1157
|
icon: arrow.value,
|
|
1301
1158
|
size: iconSize.value
|
|
1302
1159
|
}, null, 8, ["icon", "size"]),
|
|
@@ -1370,7 +1227,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1370
1227
|
{ immediate: true }
|
|
1371
1228
|
);
|
|
1372
1229
|
return (_ctx, _cache) => {
|
|
1373
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1230
|
+
return openBlock(), createBlock(_sfc_main$u, normalizeProps(guardReactiveProps(unref(attrs))), null, 16);
|
|
1374
1231
|
};
|
|
1375
1232
|
}
|
|
1376
1233
|
});
|
|
@@ -1419,7 +1276,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
1419
1276
|
__expose({ el });
|
|
1420
1277
|
return (_ctx, _cache) => {
|
|
1421
1278
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1422
|
-
!unref(props).isInline ? (openBlock(), createBlock(_sfc_main$
|
|
1279
|
+
!unref(props).isInline ? (openBlock(), createBlock(_sfc_main$v, {
|
|
1423
1280
|
key: 0,
|
|
1424
1281
|
isOpen: unref(props).isOpen,
|
|
1425
1282
|
"is-blurred": unref(props).hasBlur,
|
|
@@ -1429,7 +1286,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
1429
1286
|
"is-present": unref(props).isOpen
|
|
1430
1287
|
}, {
|
|
1431
1288
|
default: withCtx(() => [
|
|
1432
|
-
!unref(props).isInline ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1289
|
+
!unref(props).isInline ? (openBlock(), createBlock(unref(_sfc_main$w), {
|
|
1433
1290
|
key: 0,
|
|
1434
1291
|
"as-child": "",
|
|
1435
1292
|
"is-trapped": "",
|
|
@@ -1442,7 +1299,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
1442
1299
|
role: "status",
|
|
1443
1300
|
tabindex: "-1"
|
|
1444
1301
|
}, rest.value, { class: classes.value }), [
|
|
1445
|
-
createVNode(_sfc_main$
|
|
1302
|
+
createVNode(_sfc_main$t, {
|
|
1446
1303
|
size: unref(props).spinnerSize,
|
|
1447
1304
|
tone: unref(props).spinnerTone,
|
|
1448
1305
|
label: spinnerLabel.value
|
|
@@ -1462,7 +1319,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
1462
1319
|
ref: el,
|
|
1463
1320
|
role: "status"
|
|
1464
1321
|
}, rest.value, { class: classes.value }), [
|
|
1465
|
-
createVNode(_sfc_main$
|
|
1322
|
+
createVNode(_sfc_main$t, {
|
|
1466
1323
|
size: unref(props).spinnerSize,
|
|
1467
1324
|
tone: unref(props).spinnerTone,
|
|
1468
1325
|
label: spinnerLabel.value
|
|
@@ -1515,7 +1372,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1515
1372
|
"is-present": unref(props).isOpen
|
|
1516
1373
|
}, {
|
|
1517
1374
|
default: withCtx(() => [
|
|
1518
|
-
unref(props).isOverlay ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1375
|
+
unref(props).isOverlay ? (openBlock(), createBlock(unref(_sfc_main$w), {
|
|
1519
1376
|
key: 0,
|
|
1520
1377
|
"as-child": "",
|
|
1521
1378
|
"is-trapped": "",
|
|
@@ -1529,7 +1386,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1529
1386
|
tabindex: "-1"
|
|
1530
1387
|
}, rest.value, { class: classes.value }), [
|
|
1531
1388
|
renderSlot(_ctx.$slots, "logo"),
|
|
1532
|
-
createVNode(_sfc_main$
|
|
1389
|
+
createVNode(_sfc_main$k, {
|
|
1533
1390
|
value: unref(props).value,
|
|
1534
1391
|
max: unref(props).max,
|
|
1535
1392
|
tone: unref(props).tone,
|
|
@@ -1548,7 +1405,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1548
1405
|
role: "status"
|
|
1549
1406
|
}, rest.value, { class: classes.value }), [
|
|
1550
1407
|
renderSlot(_ctx.$slots, "logo"),
|
|
1551
|
-
createVNode(_sfc_main$
|
|
1408
|
+
createVNode(_sfc_main$k, {
|
|
1552
1409
|
value: unref(props).value,
|
|
1553
1410
|
max: unref(props).max,
|
|
1554
1411
|
tone: unref(props).tone,
|
|
@@ -1680,7 +1537,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
1680
1537
|
);
|
|
1681
1538
|
const showCountdown = computed(() => props.hasCountdown && props.duration !== Infinity);
|
|
1682
1539
|
return (_ctx, _cache) => {
|
|
1683
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1540
|
+
return openBlock(), createBlock(unref(_sfc_main$x), null, {
|
|
1684
1541
|
default: withCtx(() => [
|
|
1685
1542
|
createElementVNode("div", {
|
|
1686
1543
|
class: normalizeClass(wrapperClasses.value)
|
|
@@ -2188,42 +2045,39 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2188
2045
|
}
|
|
2189
2046
|
});
|
|
2190
2047
|
export {
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2048
|
+
progressFillVariants as A,
|
|
2049
|
+
progressTrackVariants as B,
|
|
2050
|
+
toastSimpleVariants as C,
|
|
2194
2051
|
DataRegionState as D,
|
|
2195
|
-
|
|
2196
|
-
progressTrackVariants as F,
|
|
2197
|
-
toastSimpleVariants as G,
|
|
2198
|
-
useSkeletonItems as H,
|
|
2052
|
+
useSkeletonItems as E,
|
|
2199
2053
|
PresenceStatus as P,
|
|
2200
2054
|
TypingTone as T,
|
|
2201
|
-
_sfc_main$
|
|
2202
|
-
_sfc_main$
|
|
2203
|
-
_sfc_main$
|
|
2204
|
-
_sfc_main$
|
|
2205
|
-
_sfc_main$
|
|
2206
|
-
_sfc_main
|
|
2207
|
-
_sfc_main$
|
|
2208
|
-
_sfc_main as g,
|
|
2209
|
-
_sfc_main$
|
|
2210
|
-
_sfc_main$
|
|
2211
|
-
_sfc_main$
|
|
2212
|
-
_sfc_main$
|
|
2213
|
-
_sfc_main$
|
|
2214
|
-
_sfc_main$
|
|
2215
|
-
_sfc_main$
|
|
2216
|
-
_sfc_main$
|
|
2217
|
-
_sfc_main$
|
|
2218
|
-
_sfc_main$
|
|
2219
|
-
_sfc_main$
|
|
2220
|
-
_sfc_main$
|
|
2221
|
-
_sfc_main$
|
|
2222
|
-
_sfc_main$
|
|
2223
|
-
_sfc_main$
|
|
2224
|
-
_sfc_main$
|
|
2225
|
-
_sfc_main$
|
|
2226
|
-
_sfc_main$
|
|
2227
|
-
|
|
2055
|
+
_sfc_main$h as _,
|
|
2056
|
+
_sfc_main$i as a,
|
|
2057
|
+
_sfc_main$g as b,
|
|
2058
|
+
_sfc_main$1 as c,
|
|
2059
|
+
_sfc_main$l as d,
|
|
2060
|
+
_sfc_main as e,
|
|
2061
|
+
_sfc_main$9 as f,
|
|
2062
|
+
_sfc_main$f as g,
|
|
2063
|
+
_sfc_main$3 as h,
|
|
2064
|
+
_sfc_main$8 as i,
|
|
2065
|
+
_sfc_main$e as j,
|
|
2066
|
+
_sfc_main$b as k,
|
|
2067
|
+
_sfc_main$2 as l,
|
|
2068
|
+
_sfc_main$4 as m,
|
|
2069
|
+
_sfc_main$k as n,
|
|
2070
|
+
_sfc_main$j as o,
|
|
2071
|
+
_sfc_main$d as p,
|
|
2072
|
+
_sfc_main$p as q,
|
|
2073
|
+
_sfc_main$n as r,
|
|
2074
|
+
_sfc_main$o as s,
|
|
2075
|
+
_sfc_main$m as t,
|
|
2076
|
+
_sfc_main$7 as u,
|
|
2077
|
+
_sfc_main$c as v,
|
|
2078
|
+
_sfc_main$a as w,
|
|
2079
|
+
_sfc_main$5 as x,
|
|
2080
|
+
_sfc_main$6 as y,
|
|
2081
|
+
bannerSimpleVariants as z
|
|
2228
2082
|
};
|
|
2229
|
-
//# sourceMappingURL=ErrorBoundary.vue_vue_type_script_setup_true_lang-
|
|
2083
|
+
//# sourceMappingURL=ErrorBoundary.vue_vue_type_script_setup_true_lang-E72RRrNG.js.map
|