@acutis/cli 0.1.2-dev.22 → 0.2.0-dev.23
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/AC3CibKK.js +1 -0
- package/.output/public/_nuxt/BGc2VNce.js +1 -0
- package/.output/public/_nuxt/BN4XOpVt.js +1 -0
- package/.output/public/_nuxt/BP52ABGx.js +1 -0
- package/.output/public/_nuxt/BWcsrofD.js +1 -0
- package/.output/public/_nuxt/{BgV7uYhh.js → Bqp63OdK.js} +1 -1
- package/.output/public/_nuxt/CF8y5KTS.js +3 -0
- package/.output/public/_nuxt/CZEhodn6.js +1 -0
- package/.output/public/_nuxt/Cym5RBDq.js +1 -0
- package/.output/public/_nuxt/D1ge6Bwo.js +1 -0
- package/.output/public/_nuxt/{C0IyPp1C.js → D2UpbqeN.js} +5 -5
- package/.output/public/_nuxt/DDKd6Dxq.js +1 -0
- package/.output/public/_nuxt/D_FJunXs.js +64 -0
- package/.output/public/_nuxt/Dc2A-6xl.js +6 -0
- package/.output/public/_nuxt/DoQkJV4U.js +1 -0
- package/.output/public/_nuxt/JwPm-b3T.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/bcd56d50-e1a9-4021-b9df-ab200a81246a.json +1 -0
- package/.output/public/_nuxt/cnFSOQCu.js +1 -0
- package/.output/public/_nuxt/entry.BmTN_nlL.css +2 -0
- package/.output/server/chunks/_/project.mjs +1 -1
- package/.output/server/chunks/_/project.service.mjs +1 -1
- package/.output/server/chunks/build/Alert-WVcujYrW.mjs +433 -0
- package/.output/server/chunks/build/Alert-WVcujYrW.mjs.map +1 -0
- package/.output/server/chunks/build/Container-C0k092cW.mjs +55 -0
- package/.output/server/chunks/build/Container-C0k092cW.mjs.map +1 -0
- package/.output/server/chunks/build/{Pagination-BuiQpYWD.mjs → Pagination-BXryRfUN.mjs} +26 -26
- package/.output/server/chunks/build/{Pagination-BuiQpYWD.mjs.map → Pagination-BXryRfUN.mjs.map} +1 -1
- package/.output/server/chunks/build/{_...scenario_-PVjOOR8j.mjs → _...scenario_-qp56INdQ.mjs} +31 -29
- package/.output/server/chunks/build/_...scenario_-qp56INdQ.mjs.map +1 -0
- package/.output/server/chunks/build/{_slug_-COpWNGAB.mjs → _slug_-dNDiCabc.mjs} +69 -67
- package/.output/server/chunks/build/{_slug_-COpWNGAB.mjs.map → _slug_-dNDiCabc.mjs.map} +1 -1
- package/.output/server/chunks/build/{origin-NWHPNXep.mjs → origin-DFFT7pGA.mjs} +18 -67
- package/.output/server/chunks/build/origin-DFFT7pGA.mjs.map +1 -0
- package/.output/server/chunks/build/{pages-C7-vXRcH.mjs → pages-NkoKH95O.mjs} +19 -18
- package/.output/server/chunks/build/{pages-C7-vXRcH.mjs.map → pages-NkoKH95O.mjs.map} +1 -1
- package/.output/server/chunks/build/{tags-X7K7nkM2.mjs → tags-DXumXgr9.mjs} +21 -447
- package/.output/server/chunks/build/tags-DXumXgr9.mjs.map +1 -0
- package/.output/server/chunks/build/telemetria-BaMsUnJ8.mjs +131 -0
- package/.output/server/chunks/build/telemetria-BaMsUnJ8.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +187 -135
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/telemetry/report.post.mjs +133 -0
- package/.output/server/chunks/routes/api/telemetry/report.post.mjs.map +1 -0
- package/.output/server/chunks/routes/debug/erro-de-telemetria.get.mjs +49 -0
- package/.output/server/chunks/routes/debug/erro-de-telemetria.get.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/virtual/entry.mjs +8758 -8695
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/package.json +1 -1
- package/.output/public/_nuxt/1DjC7bBa.js +0 -64
- package/.output/public/_nuxt/C5NzO9dO.js +0 -1
- package/.output/public/_nuxt/DHNHaKIX.js +0 -1
- package/.output/public/_nuxt/DKFReY2j.js +0 -1
- package/.output/public/_nuxt/DXk74b-E.js +0 -1
- package/.output/public/_nuxt/Dc6npEU3.js +0 -1
- package/.output/public/_nuxt/DyrXGv84.js +0 -1
- package/.output/public/_nuxt/WurCawTj.js +0 -3
- package/.output/public/_nuxt/builds/meta/f4520b8a-9c39-4e41-af7a-b806928ef3ac.json +0 -1
- package/.output/public/_nuxt/entry.Ci6Ki0cW.css +0 -2
- package/.output/public/_nuxt/lH5PYs8w.js +0 -1
- package/.output/public/_nuxt/zH54s-gB.js +0 -6
- package/.output/server/chunks/build/_...scenario_-PVjOOR8j.mjs.map +0 -1
- package/.output/server/chunks/build/origin-NWHPNXep.mjs.map +0 -1
- package/.output/server/chunks/build/tags-X7K7nkM2.mjs.map +0 -1
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
import { a as useComponentProps, c as useLocale, b as useAppConfig, t as tv, P as Primitive, d as _sfc_main$3, e as _sfc_main$5, _ as _sfc_main$1 } from '../virtual/entry.mjs';
|
|
2
|
+
import { useSlots, computed, unref, mergeProps, withCtx, renderSlot, openBlock, createBlock, createCommentVNode, createVNode, createTextVNode, toDisplayString, Fragment, renderList, useSSRContext } from 'vue';
|
|
3
|
+
import { ssrRenderComponent, ssrRenderSlot, ssrRenderClass, ssrInterpolate, ssrRenderList } from 'vue/server-renderer';
|
|
4
|
+
|
|
5
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Falert.ts
|
|
6
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Falert_default = {
|
|
7
|
+
"slots": {
|
|
8
|
+
"root": "relative overflow-hidden w-full rounded-lg p-4 flex gap-2.5",
|
|
9
|
+
"wrapper": "min-w-0 flex-1 flex flex-col",
|
|
10
|
+
"title": "text-sm font-medium",
|
|
11
|
+
"description": "text-sm opacity-90",
|
|
12
|
+
"icon": "shrink-0 size-5",
|
|
13
|
+
"avatar": "shrink-0",
|
|
14
|
+
"avatarSize": "2xl",
|
|
15
|
+
"actions": "flex flex-wrap gap-1.5 shrink-0",
|
|
16
|
+
"close": "p-0"
|
|
17
|
+
},
|
|
18
|
+
"variants": {
|
|
19
|
+
"color": {
|
|
20
|
+
"primary": "",
|
|
21
|
+
"secondary": "",
|
|
22
|
+
"success": "",
|
|
23
|
+
"info": "",
|
|
24
|
+
"warning": "",
|
|
25
|
+
"error": "",
|
|
26
|
+
"neutral": ""
|
|
27
|
+
},
|
|
28
|
+
"variant": {
|
|
29
|
+
"solid": "",
|
|
30
|
+
"outline": "",
|
|
31
|
+
"soft": "",
|
|
32
|
+
"subtle": ""
|
|
33
|
+
},
|
|
34
|
+
"orientation": {
|
|
35
|
+
"horizontal": {
|
|
36
|
+
"root": "items-center",
|
|
37
|
+
"actions": "items-center"
|
|
38
|
+
},
|
|
39
|
+
"vertical": {
|
|
40
|
+
"root": "items-start",
|
|
41
|
+
"actions": "items-start mt-2.5"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"title": { "true": { "description": "mt-1" } }
|
|
45
|
+
},
|
|
46
|
+
"compoundVariants": [
|
|
47
|
+
{
|
|
48
|
+
"color": "primary",
|
|
49
|
+
"variant": "solid",
|
|
50
|
+
"class": { "root": "bg-primary text-inverted" }
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"color": "secondary",
|
|
54
|
+
"variant": "solid",
|
|
55
|
+
"class": { "root": "bg-secondary text-inverted" }
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"color": "success",
|
|
59
|
+
"variant": "solid",
|
|
60
|
+
"class": { "root": "bg-success text-inverted" }
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"color": "info",
|
|
64
|
+
"variant": "solid",
|
|
65
|
+
"class": { "root": "bg-info text-inverted" }
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"color": "warning",
|
|
69
|
+
"variant": "solid",
|
|
70
|
+
"class": { "root": "bg-warning text-inverted" }
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"color": "error",
|
|
74
|
+
"variant": "solid",
|
|
75
|
+
"class": { "root": "bg-error text-inverted" }
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"color": "primary",
|
|
79
|
+
"variant": "outline",
|
|
80
|
+
"class": { "root": "text-primary ring ring-inset ring-primary/25" }
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"color": "secondary",
|
|
84
|
+
"variant": "outline",
|
|
85
|
+
"class": { "root": "text-secondary ring ring-inset ring-secondary/25" }
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"color": "success",
|
|
89
|
+
"variant": "outline",
|
|
90
|
+
"class": { "root": "text-success ring ring-inset ring-success/25" }
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"color": "info",
|
|
94
|
+
"variant": "outline",
|
|
95
|
+
"class": { "root": "text-info ring ring-inset ring-info/25" }
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"color": "warning",
|
|
99
|
+
"variant": "outline",
|
|
100
|
+
"class": { "root": "text-warning ring ring-inset ring-warning/25" }
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"color": "error",
|
|
104
|
+
"variant": "outline",
|
|
105
|
+
"class": { "root": "text-error ring ring-inset ring-error/25" }
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"color": "primary",
|
|
109
|
+
"variant": "soft",
|
|
110
|
+
"class": { "root": "bg-primary/10 text-primary" }
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"color": "secondary",
|
|
114
|
+
"variant": "soft",
|
|
115
|
+
"class": { "root": "bg-secondary/10 text-secondary" }
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"color": "success",
|
|
119
|
+
"variant": "soft",
|
|
120
|
+
"class": { "root": "bg-success/10 text-success" }
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"color": "info",
|
|
124
|
+
"variant": "soft",
|
|
125
|
+
"class": { "root": "bg-info/10 text-info" }
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"color": "warning",
|
|
129
|
+
"variant": "soft",
|
|
130
|
+
"class": { "root": "bg-warning/10 text-warning" }
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"color": "error",
|
|
134
|
+
"variant": "soft",
|
|
135
|
+
"class": { "root": "bg-error/10 text-error" }
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"color": "primary",
|
|
139
|
+
"variant": "subtle",
|
|
140
|
+
"class": { "root": "bg-primary/10 text-primary ring ring-inset ring-primary/25" }
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"color": "secondary",
|
|
144
|
+
"variant": "subtle",
|
|
145
|
+
"class": { "root": "bg-secondary/10 text-secondary ring ring-inset ring-secondary/25" }
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"color": "success",
|
|
149
|
+
"variant": "subtle",
|
|
150
|
+
"class": { "root": "bg-success/10 text-success ring ring-inset ring-success/25" }
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"color": "info",
|
|
154
|
+
"variant": "subtle",
|
|
155
|
+
"class": { "root": "bg-info/10 text-info ring ring-inset ring-info/25" }
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"color": "warning",
|
|
159
|
+
"variant": "subtle",
|
|
160
|
+
"class": { "root": "bg-warning/10 text-warning ring ring-inset ring-warning/25" }
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"color": "error",
|
|
164
|
+
"variant": "subtle",
|
|
165
|
+
"class": { "root": "bg-error/10 text-error ring ring-inset ring-error/25" }
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"color": "neutral",
|
|
169
|
+
"variant": "solid",
|
|
170
|
+
"class": { "root": "text-inverted bg-inverted" }
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"color": "neutral",
|
|
174
|
+
"variant": "outline",
|
|
175
|
+
"class": { "root": "text-highlighted bg-default ring ring-inset ring-default" }
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"color": "neutral",
|
|
179
|
+
"variant": "soft",
|
|
180
|
+
"class": { "root": "text-highlighted bg-elevated/50" }
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"color": "neutral",
|
|
184
|
+
"variant": "subtle",
|
|
185
|
+
"class": { "root": "text-highlighted bg-elevated/50 ring ring-inset ring-accented" }
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"defaultVariants": {
|
|
189
|
+
"color": "primary",
|
|
190
|
+
"variant": "solid"
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
//#endregion
|
|
194
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Alert.vue
|
|
195
|
+
var _sfc_main = {
|
|
196
|
+
__name: "UAlert",
|
|
197
|
+
__ssrInlineRender: true,
|
|
198
|
+
props: {
|
|
199
|
+
as: {
|
|
200
|
+
type: null,
|
|
201
|
+
required: false
|
|
202
|
+
},
|
|
203
|
+
title: {
|
|
204
|
+
type: String,
|
|
205
|
+
required: false
|
|
206
|
+
},
|
|
207
|
+
description: {
|
|
208
|
+
type: String,
|
|
209
|
+
required: false
|
|
210
|
+
},
|
|
211
|
+
icon: {
|
|
212
|
+
type: null,
|
|
213
|
+
required: false
|
|
214
|
+
},
|
|
215
|
+
avatar: {
|
|
216
|
+
type: Object,
|
|
217
|
+
required: false
|
|
218
|
+
},
|
|
219
|
+
color: {
|
|
220
|
+
type: null,
|
|
221
|
+
required: false
|
|
222
|
+
},
|
|
223
|
+
variant: {
|
|
224
|
+
type: null,
|
|
225
|
+
required: false
|
|
226
|
+
},
|
|
227
|
+
orientation: {
|
|
228
|
+
type: null,
|
|
229
|
+
required: false,
|
|
230
|
+
default: "vertical"
|
|
231
|
+
},
|
|
232
|
+
actions: {
|
|
233
|
+
type: Array,
|
|
234
|
+
required: false
|
|
235
|
+
},
|
|
236
|
+
close: {
|
|
237
|
+
type: [Boolean, Object],
|
|
238
|
+
required: false
|
|
239
|
+
},
|
|
240
|
+
closeIcon: {
|
|
241
|
+
type: null,
|
|
242
|
+
required: false
|
|
243
|
+
},
|
|
244
|
+
class: {
|
|
245
|
+
type: null,
|
|
246
|
+
required: false
|
|
247
|
+
},
|
|
248
|
+
ui: {
|
|
249
|
+
type: Object,
|
|
250
|
+
required: false
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
emits: ["update:open"],
|
|
254
|
+
setup(__props, { emit: __emit }) {
|
|
255
|
+
const _props = __props;
|
|
256
|
+
const emits = __emit;
|
|
257
|
+
const slots = useSlots();
|
|
258
|
+
const props = useComponentProps("alert", _props);
|
|
259
|
+
const { t } = useLocale();
|
|
260
|
+
const appConfig = useAppConfig();
|
|
261
|
+
const ui = computed(() => tv({
|
|
262
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Falert_default,
|
|
263
|
+
...appConfig.ui?.alert || {}
|
|
264
|
+
})({
|
|
265
|
+
color: props.color,
|
|
266
|
+
variant: props.variant,
|
|
267
|
+
orientation: props.orientation,
|
|
268
|
+
title: !!props.title || !!slots.title
|
|
269
|
+
}));
|
|
270
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
271
|
+
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
272
|
+
as: unref(props).as,
|
|
273
|
+
"data-orientation": unref(props).orientation,
|
|
274
|
+
"data-slot": "root",
|
|
275
|
+
class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] })
|
|
276
|
+
}, _attrs), {
|
|
277
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
278
|
+
if (_push) {
|
|
279
|
+
ssrRenderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
280
|
+
if (unref(props).avatar) _push(ssrRenderComponent(_sfc_main$3, mergeProps({ size: unref(props).ui?.avatarSize || ui.value.avatarSize() }, unref(props).avatar, {
|
|
281
|
+
"data-slot": "avatar",
|
|
282
|
+
class: ui.value.avatar({ class: unref(props).ui?.avatar })
|
|
283
|
+
}), null, _parent, _scopeId));
|
|
284
|
+
else if (unref(props).icon) _push(ssrRenderComponent(_sfc_main$5, {
|
|
285
|
+
name: unref(props).icon,
|
|
286
|
+
"data-slot": "icon",
|
|
287
|
+
class: ui.value.icon({ class: unref(props).ui?.icon })
|
|
288
|
+
}, null, _parent, _scopeId));
|
|
289
|
+
else _push(`<!---->`);
|
|
290
|
+
}, _push, _parent, _scopeId);
|
|
291
|
+
_push(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: unref(props).ui?.wrapper }))}"${_scopeId}>`);
|
|
292
|
+
if (unref(props).title || !!slots.title) {
|
|
293
|
+
_push(`<div data-slot="title" class="${ssrRenderClass(ui.value.title({ class: unref(props).ui?.title }))}"${_scopeId}>`);
|
|
294
|
+
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
295
|
+
_push(`${ssrInterpolate(unref(props).title)}`);
|
|
296
|
+
}, _push, _parent, _scopeId);
|
|
297
|
+
_push(`</div>`);
|
|
298
|
+
} else _push(`<!---->`);
|
|
299
|
+
if (unref(props).description || !!slots.description) {
|
|
300
|
+
_push(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class: unref(props).ui?.description }))}"${_scopeId}>`);
|
|
301
|
+
ssrRenderSlot(_ctx.$slots, "description", {}, () => {
|
|
302
|
+
_push(`${ssrInterpolate(unref(props).description)}`);
|
|
303
|
+
}, _push, _parent, _scopeId);
|
|
304
|
+
_push(`</div>`);
|
|
305
|
+
} else _push(`<!---->`);
|
|
306
|
+
if (unref(props).orientation === "vertical" && (unref(props).actions?.length || !!slots.actions)) {
|
|
307
|
+
_push(`<div data-slot="actions" class="${ssrRenderClass(ui.value.actions({ class: unref(props).ui?.actions }))}"${_scopeId}>`);
|
|
308
|
+
ssrRenderSlot(_ctx.$slots, "actions", {}, () => {
|
|
309
|
+
_push(`<!--[-->`);
|
|
310
|
+
ssrRenderList(unref(props).actions, (action, index) => {
|
|
311
|
+
_push(ssrRenderComponent(_sfc_main$1, mergeProps({
|
|
312
|
+
key: index,
|
|
313
|
+
size: "xs"
|
|
314
|
+
}, { ref_for: true }, action), null, _parent, _scopeId));
|
|
315
|
+
});
|
|
316
|
+
_push(`<!--]-->`);
|
|
317
|
+
}, _push, _parent, _scopeId);
|
|
318
|
+
_push(`</div>`);
|
|
319
|
+
} else _push(`<!---->`);
|
|
320
|
+
_push(`</div>`);
|
|
321
|
+
if (unref(props).orientation === "horizontal" && (unref(props).actions?.length || !!slots.actions) || unref(props).close) {
|
|
322
|
+
_push(`<div data-slot="actions" class="${ssrRenderClass(ui.value.actions({
|
|
323
|
+
class: unref(props).ui?.actions,
|
|
324
|
+
orientation: "horizontal"
|
|
325
|
+
}))}"${_scopeId}>`);
|
|
326
|
+
if (unref(props).orientation === "horizontal" && (unref(props).actions?.length || !!slots.actions)) ssrRenderSlot(_ctx.$slots, "actions", {}, () => {
|
|
327
|
+
_push(`<!--[-->`);
|
|
328
|
+
ssrRenderList(unref(props).actions, (action, index) => {
|
|
329
|
+
_push(ssrRenderComponent(_sfc_main$1, mergeProps({
|
|
330
|
+
key: index,
|
|
331
|
+
size: "xs"
|
|
332
|
+
}, { ref_for: true }, action), null, _parent, _scopeId));
|
|
333
|
+
});
|
|
334
|
+
_push(`<!--]-->`);
|
|
335
|
+
}, _push, _parent, _scopeId);
|
|
336
|
+
else _push(`<!---->`);
|
|
337
|
+
ssrRenderSlot(_ctx.$slots, "close", { ui: ui.value }, () => {
|
|
338
|
+
if (unref(props).close) _push(ssrRenderComponent(_sfc_main$1, mergeProps({
|
|
339
|
+
icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
|
|
340
|
+
color: "neutral",
|
|
341
|
+
variant: "link",
|
|
342
|
+
"aria-label": unref(t)("alert.close")
|
|
343
|
+
}, typeof unref(props).close === "object" ? unref(props).close : {}, {
|
|
344
|
+
"data-slot": "close",
|
|
345
|
+
class: ui.value.close({ class: unref(props).ui?.close }),
|
|
346
|
+
onClick: ($event) => emits("update:open", false)
|
|
347
|
+
}), null, _parent, _scopeId));
|
|
348
|
+
else _push(`<!---->`);
|
|
349
|
+
}, _push, _parent, _scopeId);
|
|
350
|
+
_push(`</div>`);
|
|
351
|
+
} else _push(`<!---->`);
|
|
352
|
+
} else return [
|
|
353
|
+
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [unref(props).avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
354
|
+
key: 0,
|
|
355
|
+
size: unref(props).ui?.avatarSize || ui.value.avatarSize()
|
|
356
|
+
}, unref(props).avatar, {
|
|
357
|
+
"data-slot": "avatar",
|
|
358
|
+
class: ui.value.avatar({ class: unref(props).ui?.avatar })
|
|
359
|
+
}), null, 16, ["size", "class"])) : unref(props).icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
360
|
+
key: 1,
|
|
361
|
+
name: unref(props).icon,
|
|
362
|
+
"data-slot": "icon",
|
|
363
|
+
class: ui.value.icon({ class: unref(props).ui?.icon })
|
|
364
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)]),
|
|
365
|
+
createVNode("div", {
|
|
366
|
+
"data-slot": "wrapper",
|
|
367
|
+
class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
|
|
368
|
+
}, [
|
|
369
|
+
unref(props).title || !!slots.title ? (openBlock(), createBlock("div", {
|
|
370
|
+
key: 0,
|
|
371
|
+
"data-slot": "title",
|
|
372
|
+
class: ui.value.title({ class: unref(props).ui?.title })
|
|
373
|
+
}, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])], 2)) : createCommentVNode("", true),
|
|
374
|
+
unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
375
|
+
key: 1,
|
|
376
|
+
"data-slot": "description",
|
|
377
|
+
class: ui.value.description({ class: unref(props).ui?.description })
|
|
378
|
+
}, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])], 2)) : createCommentVNode("", true),
|
|
379
|
+
unref(props).orientation === "vertical" && (unref(props).actions?.length || !!slots.actions) ? (openBlock(), createBlock("div", {
|
|
380
|
+
key: 2,
|
|
381
|
+
"data-slot": "actions",
|
|
382
|
+
class: ui.value.actions({ class: unref(props).ui?.actions })
|
|
383
|
+
}, [renderSlot(_ctx.$slots, "actions", {}, () => [(openBlock(true), createBlock(Fragment, null, renderList(unref(props).actions, (action, index) => {
|
|
384
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
385
|
+
key: index,
|
|
386
|
+
size: "xs"
|
|
387
|
+
}, { ref_for: true }, action), null, 16);
|
|
388
|
+
}), 128))])], 2)) : createCommentVNode("", true)
|
|
389
|
+
], 2),
|
|
390
|
+
unref(props).orientation === "horizontal" && (unref(props).actions?.length || !!slots.actions) || unref(props).close ? (openBlock(), createBlock("div", {
|
|
391
|
+
key: 0,
|
|
392
|
+
"data-slot": "actions",
|
|
393
|
+
class: ui.value.actions({
|
|
394
|
+
class: unref(props).ui?.actions,
|
|
395
|
+
orientation: "horizontal"
|
|
396
|
+
})
|
|
397
|
+
}, [unref(props).orientation === "horizontal" && (unref(props).actions?.length || !!slots.actions) ? renderSlot(_ctx.$slots, "actions", {}, () => [(openBlock(true), createBlock(Fragment, null, renderList(unref(props).actions, (action, index) => {
|
|
398
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
399
|
+
key: index,
|
|
400
|
+
size: "xs"
|
|
401
|
+
}, { ref_for: true }, action), null, 16);
|
|
402
|
+
}), 128))], void 0, 0) : createCommentVNode("", true), renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
403
|
+
key: 0,
|
|
404
|
+
icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
|
|
405
|
+
color: "neutral",
|
|
406
|
+
variant: "link",
|
|
407
|
+
"aria-label": unref(t)("alert.close")
|
|
408
|
+
}, typeof unref(props).close === "object" ? unref(props).close : {}, {
|
|
409
|
+
"data-slot": "close",
|
|
410
|
+
class: ui.value.close({ class: unref(props).ui?.close }),
|
|
411
|
+
onClick: ($event) => emits("update:open", false)
|
|
412
|
+
}), null, 16, [
|
|
413
|
+
"icon",
|
|
414
|
+
"aria-label",
|
|
415
|
+
"class",
|
|
416
|
+
"onClick"
|
|
417
|
+
])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true)
|
|
418
|
+
];
|
|
419
|
+
}),
|
|
420
|
+
_: 3
|
|
421
|
+
}, _parent));
|
|
422
|
+
};
|
|
423
|
+
}
|
|
424
|
+
};
|
|
425
|
+
var _sfc_setup = _sfc_main.setup;
|
|
426
|
+
_sfc_main.setup = (props, ctx) => {
|
|
427
|
+
const ssrContext = useSSRContext();
|
|
428
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Alert.vue");
|
|
429
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
export { _sfc_main as _ };
|
|
433
|
+
//# sourceMappingURL=Alert-WVcujYrW.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert-WVcujYrW.mjs","sources":["../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Falert.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Alert.vue"],"names":["_sfc_main$1","_sfc_main$2","_sfc_main$3"],"mappings":"","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { a as useComponentProps, b as useAppConfig, t as tv, P as Primitive } from '../virtual/entry.mjs';
|
|
2
|
+
import { computed, unref, mergeProps, withCtx, renderSlot, useSSRContext } from 'vue';
|
|
3
|
+
import { ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
|
|
4
|
+
|
|
5
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fcontainer.ts
|
|
6
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fcontainer_default = { "base": "w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8" };
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Container.vue
|
|
9
|
+
var _sfc_main = {
|
|
10
|
+
__name: "UContainer",
|
|
11
|
+
__ssrInlineRender: true,
|
|
12
|
+
props: {
|
|
13
|
+
as: {
|
|
14
|
+
type: null,
|
|
15
|
+
required: false
|
|
16
|
+
},
|
|
17
|
+
class: {
|
|
18
|
+
type: null,
|
|
19
|
+
required: false
|
|
20
|
+
},
|
|
21
|
+
ui: {
|
|
22
|
+
type: Object,
|
|
23
|
+
required: false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
setup(__props) {
|
|
27
|
+
const props = useComponentProps("container", __props);
|
|
28
|
+
const appConfig = useAppConfig();
|
|
29
|
+
const ui = computed(() => tv({
|
|
30
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fcontainer_default,
|
|
31
|
+
...appConfig.ui?.container || {}
|
|
32
|
+
}));
|
|
33
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
34
|
+
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
35
|
+
as: unref(props).as,
|
|
36
|
+
class: ui.value({ class: [unref(props).ui?.base, unref(props).class] })
|
|
37
|
+
}, _attrs), {
|
|
38
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
39
|
+
if (_push) ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
|
|
40
|
+
else return [renderSlot(_ctx.$slots, "default")];
|
|
41
|
+
}),
|
|
42
|
+
_: 3
|
|
43
|
+
}, _parent));
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
var _sfc_setup = _sfc_main.setup;
|
|
48
|
+
_sfc_main.setup = (props, ctx) => {
|
|
49
|
+
const ssrContext = useSSRContext();
|
|
50
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Container.vue");
|
|
51
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export { _sfc_main as _ };
|
|
55
|
+
//# sourceMappingURL=Container-C0k092cW.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container-C0k092cW.mjs","sources":["../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fcontainer.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Container.vue"],"names":[],"mappings":"","x_google_ignoreList":[0,1]}
|