@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
|
@@ -1,438 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { M as useState, _ as _sfc_main$1, f as useRoute, k as icon_default, e as _sfc_main$5, p as modal_default$2, i as useAi, l as _sfc_main$7, A as AI_OFF_HINT, N as useRequestEvent, $ as $fetch$1, j as extractServerError, q as _sfc_main$1$2, m as _sfc_main$3 } from '../virtual/entry.mjs';
|
|
2
|
+
import { a as _sfc_main$1$1, _ as _sfc_main$2 } from './origin-DFFT7pGA.mjs';
|
|
3
|
+
import { _ as _sfc_main } from './Alert-WVcujYrW.mjs';
|
|
3
4
|
import { _ as _plugin_vue_export_helper_default } from './_plugin-vue_export-helper-BOaGB7Aw.mjs';
|
|
4
|
-
import { ref, computed,
|
|
5
|
+
import { ref, computed, defineComponent, mergeProps, withCtx, unref, createVNode, openBlock, createBlock, Fragment, renderList, toDisplayString, createCommentVNode, isRef, useModel, h, watch, nextTick, mergeModels, renderSlot, createTextVNode, createSlots, useSSRContext } from 'vue';
|
|
5
6
|
import { m as getRequestURL } from '../nitro/nitro.mjs';
|
|
6
|
-
import { ssrRenderComponent,
|
|
7
|
+
import { ssrRenderComponent, ssrRenderList, ssrInterpolate, ssrRenderAttrs, ssrRenderAttr, ssrRenderClass, ssrIncludeBooleanAttr, ssrRenderSlot } from 'vue/server-renderer';
|
|
7
8
|
import Prism from 'prismjs';
|
|
8
9
|
|
|
9
|
-
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Falert.ts
|
|
10
|
-
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Falert_default = {
|
|
11
|
-
"slots": {
|
|
12
|
-
"root": "relative overflow-hidden w-full rounded-lg p-4 flex gap-2.5",
|
|
13
|
-
"wrapper": "min-w-0 flex-1 flex flex-col",
|
|
14
|
-
"title": "text-sm font-medium",
|
|
15
|
-
"description": "text-sm opacity-90",
|
|
16
|
-
"icon": "shrink-0 size-5",
|
|
17
|
-
"avatar": "shrink-0",
|
|
18
|
-
"avatarSize": "2xl",
|
|
19
|
-
"actions": "flex flex-wrap gap-1.5 shrink-0",
|
|
20
|
-
"close": "p-0"
|
|
21
|
-
},
|
|
22
|
-
"variants": {
|
|
23
|
-
"color": {
|
|
24
|
-
"primary": "",
|
|
25
|
-
"secondary": "",
|
|
26
|
-
"success": "",
|
|
27
|
-
"info": "",
|
|
28
|
-
"warning": "",
|
|
29
|
-
"error": "",
|
|
30
|
-
"neutral": ""
|
|
31
|
-
},
|
|
32
|
-
"variant": {
|
|
33
|
-
"solid": "",
|
|
34
|
-
"outline": "",
|
|
35
|
-
"soft": "",
|
|
36
|
-
"subtle": ""
|
|
37
|
-
},
|
|
38
|
-
"orientation": {
|
|
39
|
-
"horizontal": {
|
|
40
|
-
"root": "items-center",
|
|
41
|
-
"actions": "items-center"
|
|
42
|
-
},
|
|
43
|
-
"vertical": {
|
|
44
|
-
"root": "items-start",
|
|
45
|
-
"actions": "items-start mt-2.5"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"title": { "true": { "description": "mt-1" } }
|
|
49
|
-
},
|
|
50
|
-
"compoundVariants": [
|
|
51
|
-
{
|
|
52
|
-
"color": "primary",
|
|
53
|
-
"variant": "solid",
|
|
54
|
-
"class": { "root": "bg-primary text-inverted" }
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"color": "secondary",
|
|
58
|
-
"variant": "solid",
|
|
59
|
-
"class": { "root": "bg-secondary text-inverted" }
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"color": "success",
|
|
63
|
-
"variant": "solid",
|
|
64
|
-
"class": { "root": "bg-success text-inverted" }
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"color": "info",
|
|
68
|
-
"variant": "solid",
|
|
69
|
-
"class": { "root": "bg-info text-inverted" }
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"color": "warning",
|
|
73
|
-
"variant": "solid",
|
|
74
|
-
"class": { "root": "bg-warning text-inverted" }
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"color": "error",
|
|
78
|
-
"variant": "solid",
|
|
79
|
-
"class": { "root": "bg-error text-inverted" }
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"color": "primary",
|
|
83
|
-
"variant": "outline",
|
|
84
|
-
"class": { "root": "text-primary ring ring-inset ring-primary/25" }
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"color": "secondary",
|
|
88
|
-
"variant": "outline",
|
|
89
|
-
"class": { "root": "text-secondary ring ring-inset ring-secondary/25" }
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"color": "success",
|
|
93
|
-
"variant": "outline",
|
|
94
|
-
"class": { "root": "text-success ring ring-inset ring-success/25" }
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"color": "info",
|
|
98
|
-
"variant": "outline",
|
|
99
|
-
"class": { "root": "text-info ring ring-inset ring-info/25" }
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"color": "warning",
|
|
103
|
-
"variant": "outline",
|
|
104
|
-
"class": { "root": "text-warning ring ring-inset ring-warning/25" }
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"color": "error",
|
|
108
|
-
"variant": "outline",
|
|
109
|
-
"class": { "root": "text-error ring ring-inset ring-error/25" }
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"color": "primary",
|
|
113
|
-
"variant": "soft",
|
|
114
|
-
"class": { "root": "bg-primary/10 text-primary" }
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"color": "secondary",
|
|
118
|
-
"variant": "soft",
|
|
119
|
-
"class": { "root": "bg-secondary/10 text-secondary" }
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"color": "success",
|
|
123
|
-
"variant": "soft",
|
|
124
|
-
"class": { "root": "bg-success/10 text-success" }
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"color": "info",
|
|
128
|
-
"variant": "soft",
|
|
129
|
-
"class": { "root": "bg-info/10 text-info" }
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"color": "warning",
|
|
133
|
-
"variant": "soft",
|
|
134
|
-
"class": { "root": "bg-warning/10 text-warning" }
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"color": "error",
|
|
138
|
-
"variant": "soft",
|
|
139
|
-
"class": { "root": "bg-error/10 text-error" }
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"color": "primary",
|
|
143
|
-
"variant": "subtle",
|
|
144
|
-
"class": { "root": "bg-primary/10 text-primary ring ring-inset ring-primary/25" }
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"color": "secondary",
|
|
148
|
-
"variant": "subtle",
|
|
149
|
-
"class": { "root": "bg-secondary/10 text-secondary ring ring-inset ring-secondary/25" }
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"color": "success",
|
|
153
|
-
"variant": "subtle",
|
|
154
|
-
"class": { "root": "bg-success/10 text-success ring ring-inset ring-success/25" }
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"color": "info",
|
|
158
|
-
"variant": "subtle",
|
|
159
|
-
"class": { "root": "bg-info/10 text-info ring ring-inset ring-info/25" }
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"color": "warning",
|
|
163
|
-
"variant": "subtle",
|
|
164
|
-
"class": { "root": "bg-warning/10 text-warning ring ring-inset ring-warning/25" }
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"color": "error",
|
|
168
|
-
"variant": "subtle",
|
|
169
|
-
"class": { "root": "bg-error/10 text-error ring ring-inset ring-error/25" }
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"color": "neutral",
|
|
173
|
-
"variant": "solid",
|
|
174
|
-
"class": { "root": "text-inverted bg-inverted" }
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"color": "neutral",
|
|
178
|
-
"variant": "outline",
|
|
179
|
-
"class": { "root": "text-highlighted bg-default ring ring-inset ring-default" }
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"color": "neutral",
|
|
183
|
-
"variant": "soft",
|
|
184
|
-
"class": { "root": "text-highlighted bg-elevated/50" }
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"color": "neutral",
|
|
188
|
-
"variant": "subtle",
|
|
189
|
-
"class": { "root": "text-highlighted bg-elevated/50 ring ring-inset ring-accented" }
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
"defaultVariants": {
|
|
193
|
-
"color": "primary",
|
|
194
|
-
"variant": "solid"
|
|
195
|
-
}
|
|
196
|
-
};
|
|
197
|
-
//#endregion
|
|
198
|
-
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Alert.vue
|
|
199
|
-
var _sfc_main = {
|
|
200
|
-
__name: "UAlert",
|
|
201
|
-
__ssrInlineRender: true,
|
|
202
|
-
props: {
|
|
203
|
-
as: {
|
|
204
|
-
type: null,
|
|
205
|
-
required: false
|
|
206
|
-
},
|
|
207
|
-
title: {
|
|
208
|
-
type: String,
|
|
209
|
-
required: false
|
|
210
|
-
},
|
|
211
|
-
description: {
|
|
212
|
-
type: String,
|
|
213
|
-
required: false
|
|
214
|
-
},
|
|
215
|
-
icon: {
|
|
216
|
-
type: null,
|
|
217
|
-
required: false
|
|
218
|
-
},
|
|
219
|
-
avatar: {
|
|
220
|
-
type: Object,
|
|
221
|
-
required: false
|
|
222
|
-
},
|
|
223
|
-
color: {
|
|
224
|
-
type: null,
|
|
225
|
-
required: false
|
|
226
|
-
},
|
|
227
|
-
variant: {
|
|
228
|
-
type: null,
|
|
229
|
-
required: false
|
|
230
|
-
},
|
|
231
|
-
orientation: {
|
|
232
|
-
type: null,
|
|
233
|
-
required: false,
|
|
234
|
-
default: "vertical"
|
|
235
|
-
},
|
|
236
|
-
actions: {
|
|
237
|
-
type: Array,
|
|
238
|
-
required: false
|
|
239
|
-
},
|
|
240
|
-
close: {
|
|
241
|
-
type: [Boolean, Object],
|
|
242
|
-
required: false
|
|
243
|
-
},
|
|
244
|
-
closeIcon: {
|
|
245
|
-
type: null,
|
|
246
|
-
required: false
|
|
247
|
-
},
|
|
248
|
-
class: {
|
|
249
|
-
type: null,
|
|
250
|
-
required: false
|
|
251
|
-
},
|
|
252
|
-
ui: {
|
|
253
|
-
type: Object,
|
|
254
|
-
required: false
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
emits: ["update:open"],
|
|
258
|
-
setup(__props, { emit: __emit }) {
|
|
259
|
-
const _props = __props;
|
|
260
|
-
const emits = __emit;
|
|
261
|
-
const slots = useSlots();
|
|
262
|
-
const props = useComponentProps("alert", _props);
|
|
263
|
-
const { t } = useLocale();
|
|
264
|
-
const appConfig = useAppConfig();
|
|
265
|
-
const ui = computed(() => tv({
|
|
266
|
-
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Falert_default,
|
|
267
|
-
...appConfig.ui?.alert || {}
|
|
268
|
-
})({
|
|
269
|
-
color: props.color,
|
|
270
|
-
variant: props.variant,
|
|
271
|
-
orientation: props.orientation,
|
|
272
|
-
title: !!props.title || !!slots.title
|
|
273
|
-
}));
|
|
274
|
-
return (_ctx, _push, _parent, _attrs) => {
|
|
275
|
-
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
276
|
-
as: unref(props).as,
|
|
277
|
-
"data-orientation": unref(props).orientation,
|
|
278
|
-
"data-slot": "root",
|
|
279
|
-
class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] })
|
|
280
|
-
}, _attrs), {
|
|
281
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
282
|
-
if (_push) {
|
|
283
|
-
ssrRenderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
284
|
-
if (unref(props).avatar) _push(ssrRenderComponent(_sfc_main$6, mergeProps({ size: unref(props).ui?.avatarSize || ui.value.avatarSize() }, unref(props).avatar, {
|
|
285
|
-
"data-slot": "avatar",
|
|
286
|
-
class: ui.value.avatar({ class: unref(props).ui?.avatar })
|
|
287
|
-
}), null, _parent, _scopeId));
|
|
288
|
-
else if (unref(props).icon) _push(ssrRenderComponent(_sfc_main$8, {
|
|
289
|
-
name: unref(props).icon,
|
|
290
|
-
"data-slot": "icon",
|
|
291
|
-
class: ui.value.icon({ class: unref(props).ui?.icon })
|
|
292
|
-
}, null, _parent, _scopeId));
|
|
293
|
-
else _push(`<!---->`);
|
|
294
|
-
}, _push, _parent, _scopeId);
|
|
295
|
-
_push(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: unref(props).ui?.wrapper }))}"${_scopeId}>`);
|
|
296
|
-
if (unref(props).title || !!slots.title) {
|
|
297
|
-
_push(`<div data-slot="title" class="${ssrRenderClass(ui.value.title({ class: unref(props).ui?.title }))}"${_scopeId}>`);
|
|
298
|
-
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
299
|
-
_push(`${ssrInterpolate(unref(props).title)}`);
|
|
300
|
-
}, _push, _parent, _scopeId);
|
|
301
|
-
_push(`</div>`);
|
|
302
|
-
} else _push(`<!---->`);
|
|
303
|
-
if (unref(props).description || !!slots.description) {
|
|
304
|
-
_push(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class: unref(props).ui?.description }))}"${_scopeId}>`);
|
|
305
|
-
ssrRenderSlot(_ctx.$slots, "description", {}, () => {
|
|
306
|
-
_push(`${ssrInterpolate(unref(props).description)}`);
|
|
307
|
-
}, _push, _parent, _scopeId);
|
|
308
|
-
_push(`</div>`);
|
|
309
|
-
} else _push(`<!---->`);
|
|
310
|
-
if (unref(props).orientation === "vertical" && (unref(props).actions?.length || !!slots.actions)) {
|
|
311
|
-
_push(`<div data-slot="actions" class="${ssrRenderClass(ui.value.actions({ class: unref(props).ui?.actions }))}"${_scopeId}>`);
|
|
312
|
-
ssrRenderSlot(_ctx.$slots, "actions", {}, () => {
|
|
313
|
-
_push(`<!--[-->`);
|
|
314
|
-
ssrRenderList(unref(props).actions, (action, index) => {
|
|
315
|
-
_push(ssrRenderComponent(_sfc_main$3, mergeProps({
|
|
316
|
-
key: index,
|
|
317
|
-
size: "xs"
|
|
318
|
-
}, { ref_for: true }, action), null, _parent, _scopeId));
|
|
319
|
-
});
|
|
320
|
-
_push(`<!--]-->`);
|
|
321
|
-
}, _push, _parent, _scopeId);
|
|
322
|
-
_push(`</div>`);
|
|
323
|
-
} else _push(`<!---->`);
|
|
324
|
-
_push(`</div>`);
|
|
325
|
-
if (unref(props).orientation === "horizontal" && (unref(props).actions?.length || !!slots.actions) || unref(props).close) {
|
|
326
|
-
_push(`<div data-slot="actions" class="${ssrRenderClass(ui.value.actions({
|
|
327
|
-
class: unref(props).ui?.actions,
|
|
328
|
-
orientation: "horizontal"
|
|
329
|
-
}))}"${_scopeId}>`);
|
|
330
|
-
if (unref(props).orientation === "horizontal" && (unref(props).actions?.length || !!slots.actions)) ssrRenderSlot(_ctx.$slots, "actions", {}, () => {
|
|
331
|
-
_push(`<!--[-->`);
|
|
332
|
-
ssrRenderList(unref(props).actions, (action, index) => {
|
|
333
|
-
_push(ssrRenderComponent(_sfc_main$3, mergeProps({
|
|
334
|
-
key: index,
|
|
335
|
-
size: "xs"
|
|
336
|
-
}, { ref_for: true }, action), null, _parent, _scopeId));
|
|
337
|
-
});
|
|
338
|
-
_push(`<!--]-->`);
|
|
339
|
-
}, _push, _parent, _scopeId);
|
|
340
|
-
else _push(`<!---->`);
|
|
341
|
-
ssrRenderSlot(_ctx.$slots, "close", { ui: ui.value }, () => {
|
|
342
|
-
if (unref(props).close) _push(ssrRenderComponent(_sfc_main$3, mergeProps({
|
|
343
|
-
icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
|
|
344
|
-
color: "neutral",
|
|
345
|
-
variant: "link",
|
|
346
|
-
"aria-label": unref(t)("alert.close")
|
|
347
|
-
}, typeof unref(props).close === "object" ? unref(props).close : {}, {
|
|
348
|
-
"data-slot": "close",
|
|
349
|
-
class: ui.value.close({ class: unref(props).ui?.close }),
|
|
350
|
-
onClick: ($event) => emits("update:open", false)
|
|
351
|
-
}), null, _parent, _scopeId));
|
|
352
|
-
else _push(`<!---->`);
|
|
353
|
-
}, _push, _parent, _scopeId);
|
|
354
|
-
_push(`</div>`);
|
|
355
|
-
} else _push(`<!---->`);
|
|
356
|
-
} else return [
|
|
357
|
-
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [unref(props).avatar ? (openBlock(), createBlock(_sfc_main$6, mergeProps({
|
|
358
|
-
key: 0,
|
|
359
|
-
size: unref(props).ui?.avatarSize || ui.value.avatarSize()
|
|
360
|
-
}, unref(props).avatar, {
|
|
361
|
-
"data-slot": "avatar",
|
|
362
|
-
class: ui.value.avatar({ class: unref(props).ui?.avatar })
|
|
363
|
-
}), null, 16, ["size", "class"])) : unref(props).icon ? (openBlock(), createBlock(_sfc_main$8, {
|
|
364
|
-
key: 1,
|
|
365
|
-
name: unref(props).icon,
|
|
366
|
-
"data-slot": "icon",
|
|
367
|
-
class: ui.value.icon({ class: unref(props).ui?.icon })
|
|
368
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)]),
|
|
369
|
-
createVNode("div", {
|
|
370
|
-
"data-slot": "wrapper",
|
|
371
|
-
class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
|
|
372
|
-
}, [
|
|
373
|
-
unref(props).title || !!slots.title ? (openBlock(), createBlock("div", {
|
|
374
|
-
key: 0,
|
|
375
|
-
"data-slot": "title",
|
|
376
|
-
class: ui.value.title({ class: unref(props).ui?.title })
|
|
377
|
-
}, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])], 2)) : createCommentVNode("", true),
|
|
378
|
-
unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
379
|
-
key: 1,
|
|
380
|
-
"data-slot": "description",
|
|
381
|
-
class: ui.value.description({ class: unref(props).ui?.description })
|
|
382
|
-
}, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])], 2)) : createCommentVNode("", true),
|
|
383
|
-
unref(props).orientation === "vertical" && (unref(props).actions?.length || !!slots.actions) ? (openBlock(), createBlock("div", {
|
|
384
|
-
key: 2,
|
|
385
|
-
"data-slot": "actions",
|
|
386
|
-
class: ui.value.actions({ class: unref(props).ui?.actions })
|
|
387
|
-
}, [renderSlot(_ctx.$slots, "actions", {}, () => [(openBlock(true), createBlock(Fragment, null, renderList(unref(props).actions, (action, index) => {
|
|
388
|
-
return openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
389
|
-
key: index,
|
|
390
|
-
size: "xs"
|
|
391
|
-
}, { ref_for: true }, action), null, 16);
|
|
392
|
-
}), 128))])], 2)) : createCommentVNode("", true)
|
|
393
|
-
], 2),
|
|
394
|
-
unref(props).orientation === "horizontal" && (unref(props).actions?.length || !!slots.actions) || unref(props).close ? (openBlock(), createBlock("div", {
|
|
395
|
-
key: 0,
|
|
396
|
-
"data-slot": "actions",
|
|
397
|
-
class: ui.value.actions({
|
|
398
|
-
class: unref(props).ui?.actions,
|
|
399
|
-
orientation: "horizontal"
|
|
400
|
-
})
|
|
401
|
-
}, [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) => {
|
|
402
|
-
return openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
403
|
-
key: index,
|
|
404
|
-
size: "xs"
|
|
405
|
-
}, { ref_for: true }, action), null, 16);
|
|
406
|
-
}), 128))], void 0, 0) : createCommentVNode("", true), renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
407
|
-
key: 0,
|
|
408
|
-
icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
|
|
409
|
-
color: "neutral",
|
|
410
|
-
variant: "link",
|
|
411
|
-
"aria-label": unref(t)("alert.close")
|
|
412
|
-
}, typeof unref(props).close === "object" ? unref(props).close : {}, {
|
|
413
|
-
"data-slot": "close",
|
|
414
|
-
class: ui.value.close({ class: unref(props).ui?.close }),
|
|
415
|
-
onClick: ($event) => emits("update:open", false)
|
|
416
|
-
}), null, 16, [
|
|
417
|
-
"icon",
|
|
418
|
-
"aria-label",
|
|
419
|
-
"class",
|
|
420
|
-
"onClick"
|
|
421
|
-
])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true)
|
|
422
|
-
];
|
|
423
|
-
}),
|
|
424
|
-
_: 3
|
|
425
|
-
}, _parent));
|
|
426
|
-
};
|
|
427
|
-
}
|
|
428
|
-
};
|
|
429
|
-
var _sfc_setup$12 = _sfc_main.setup;
|
|
430
|
-
_sfc_main.setup = (props, ctx) => {
|
|
431
|
-
const ssrContext = useSSRContext();
|
|
432
|
-
(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");
|
|
433
|
-
return _sfc_setup$12 ? _sfc_setup$12(props, ctx) : void 0;
|
|
434
|
-
};
|
|
435
|
-
//#endregion
|
|
436
10
|
//#region app/components/scenario/warnings.vue?vue&type=script&setup=true&lang.ts
|
|
437
11
|
var EMPTY_VAR = "env-sem-valor";
|
|
438
12
|
/** O texto da ressalva, sem o slug da regra que o backend prefixa. */
|
|
@@ -448,7 +22,7 @@ var warnings_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
448
22
|
const fillable = computed(() => __props.warnings.some((warning) => warning.startsWith(EMPTY_VAR)));
|
|
449
23
|
return (_ctx, _push, _parent, _attrs) => {
|
|
450
24
|
const _component_UAlert = _sfc_main;
|
|
451
|
-
const _component_UButton = _sfc_main$
|
|
25
|
+
const _component_UButton = _sfc_main$1;
|
|
452
26
|
if (__props.warnings.length) _push(ssrRenderComponent(_component_UAlert, mergeProps({
|
|
453
27
|
color: "warning",
|
|
454
28
|
variant: "soft",
|
|
@@ -547,7 +121,7 @@ var setup_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
547
121
|
}, 2e3);
|
|
548
122
|
}
|
|
549
123
|
return (_ctx, _push, _parent, _attrs) => {
|
|
550
|
-
const _component_UTabs = _sfc_main$1;
|
|
124
|
+
const _component_UTabs = _sfc_main$1$1;
|
|
551
125
|
const _component_BaseButtonIcon = icon_default;
|
|
552
126
|
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col gap-3 rounded-lg bg-elevated p-4" }, _attrs))}><p class="text-sm text-muted"> Abra o Chrome com a porta de depuração. Ele já abre nesta página, é só clicar em <span class="font-medium text-default">Novo cenário</span> de novo: </p>`);
|
|
553
127
|
_push(ssrRenderComponent(_component_UTabs, {
|
|
@@ -592,7 +166,7 @@ var empty_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
592
166
|
},
|
|
593
167
|
setup(__props) {
|
|
594
168
|
return (_ctx, _push, _parent, _attrs) => {
|
|
595
|
-
const _component_UIcon = _sfc_main$
|
|
169
|
+
const _component_UIcon = _sfc_main$5;
|
|
596
170
|
_push(`<div${ssrRenderAttrs(mergeProps({
|
|
597
171
|
class: "flex flex-col items-center gap-3 py-10 text-center",
|
|
598
172
|
"data-testid": __props.testid
|
|
@@ -721,7 +295,7 @@ var timeline_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
721
295
|
/** Quantos passos saem da gravação quando o corte armado for confirmado. */
|
|
722
296
|
const dropped = computed(() => armed.value === null ? 0 : __props.events.length - armed.value);
|
|
723
297
|
return (_ctx, _push, _parent, _attrs) => {
|
|
724
|
-
const _component_UIcon = _sfc_main$
|
|
298
|
+
const _component_UIcon = _sfc_main$5;
|
|
725
299
|
_push(`<div${ssrRenderAttrs(mergeProps({ class: "grid grid-cols-1 gap-6 lg:grid-cols-5" }, _attrs))} data-v-46efcf33>`);
|
|
726
300
|
if (__props.videoSrc) _push(`<video data-testid="revisao-video"${ssrRenderAttr("src", __props.videoSrc)} controls class="w-full self-start rounded-lg lg:sticky lg:top-0 lg:col-span-3" data-v-46efcf33></video>`);
|
|
727
301
|
else _push(`<!---->`);
|
|
@@ -846,7 +420,7 @@ var confirm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
846
420
|
const emit = __emit;
|
|
847
421
|
return (_ctx, _push, _parent, _attrs) => {
|
|
848
422
|
const _component_BaseModal = modal_default$2;
|
|
849
|
-
const _component_UButton = _sfc_main$
|
|
423
|
+
const _component_UButton = _sfc_main$1;
|
|
850
424
|
_push(ssrRenderComponent(_component_BaseModal, mergeProps({
|
|
851
425
|
open: open.value,
|
|
852
426
|
"onUpdate:open": ($event) => open.value = $event,
|
|
@@ -1007,8 +581,8 @@ var contexts_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
1007
581
|
};
|
|
1008
582
|
});
|
|
1009
583
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1010
|
-
const _component_UFormField = _sfc_main$1$
|
|
1011
|
-
const _component_UInput = _sfc_main$
|
|
584
|
+
const _component_UFormField = _sfc_main$1$2;
|
|
585
|
+
const _component_UInput = _sfc_main$3;
|
|
1012
586
|
const _component_BaseCodefield = codefield_default;
|
|
1013
587
|
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col gap-5" }, _attrs))}><div class="grid grid-cols-1 gap-4 sm:grid-cols-2">`);
|
|
1014
588
|
_push(ssrRenderComponent(_component_UFormField, { label: "Título do cenário" }, {
|
|
@@ -1170,7 +744,7 @@ var phrases_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
1170
744
|
setup(__props) {
|
|
1171
745
|
const display = ref(__props.phrases[0]);
|
|
1172
746
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1173
|
-
const _component_UIcon = _sfc_main$
|
|
747
|
+
const _component_UIcon = _sfc_main$5;
|
|
1174
748
|
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col items-center gap-6 py-10 text-center" }, _attrs))}>`);
|
|
1175
749
|
_push(ssrRenderComponent(_component_UIcon, {
|
|
1176
750
|
name: __props.icon,
|
|
@@ -1350,7 +924,7 @@ var modal_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineCo
|
|
|
1350
924
|
/** A autenticação não tem contexto para revisar: sai da revisão direto para o auth.setup.ts. */
|
|
1351
925
|
async function recordAuth() {
|
|
1352
926
|
try {
|
|
1353
|
-
const generated = await $fetch$
|
|
927
|
+
const generated = await $fetch$1(`/api/projects/${__props.slug}/auth/record`, {
|
|
1354
928
|
method: "POST",
|
|
1355
929
|
body: {
|
|
1356
930
|
baseUrl: baseUrl.value,
|
|
@@ -1374,7 +948,7 @@ var modal_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineCo
|
|
|
1374
948
|
step.value = "loading";
|
|
1375
949
|
if (isAuth.value) return recordAuth();
|
|
1376
950
|
try {
|
|
1377
|
-
const generated = await $fetch$
|
|
951
|
+
const generated = await $fetch$1(`/api/projects/${__props.slug}/tests/draft`, {
|
|
1378
952
|
method: "POST",
|
|
1379
953
|
body: {
|
|
1380
954
|
baseUrl: baseUrl.value,
|
|
@@ -1399,7 +973,7 @@ var modal_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineCo
|
|
|
1399
973
|
submitting.value = true;
|
|
1400
974
|
error.value = null;
|
|
1401
975
|
try {
|
|
1402
|
-
const saved = await $fetch$
|
|
976
|
+
const saved = await $fetch$1(__props.scenario ? `/api/projects/${__props.slug}/scenarios/${scenarioId.value}` : `/api/projects/${__props.slug}/tests`, {
|
|
1403
977
|
method: __props.scenario ? "PATCH" : "POST",
|
|
1404
978
|
body: {
|
|
1405
979
|
...draft.value,
|
|
@@ -1430,7 +1004,7 @@ var modal_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineCo
|
|
|
1430
1004
|
const _component_ScenarioReviewContexts = contexts_default;
|
|
1431
1005
|
const _component_ScenarioReviewTimeline = timeline_default;
|
|
1432
1006
|
const _component_UAlert = _sfc_main;
|
|
1433
|
-
const _component_UButton = _sfc_main$
|
|
1007
|
+
const _component_UButton = _sfc_main$1;
|
|
1434
1008
|
_push(ssrRenderComponent(_component_BaseModal, mergeProps({
|
|
1435
1009
|
open: open.value,
|
|
1436
1010
|
"onUpdate:open": ($event) => open.value = $event,
|
|
@@ -1611,7 +1185,7 @@ var steps_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
1611
1185
|
failed: "text-error"
|
|
1612
1186
|
};
|
|
1613
1187
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1614
|
-
const _component_UIcon = _sfc_main$
|
|
1188
|
+
const _component_UIcon = _sfc_main$5;
|
|
1615
1189
|
_push(`<ol${ssrRenderAttrs(mergeProps({ class: "flex flex-col" }, _attrs))}><!--[-->`);
|
|
1616
1190
|
ssrRenderList(__props.steps, (step, i) => {
|
|
1617
1191
|
_push(`<li data-testid="execucao-step"${ssrRenderAttr("data-status", step.status)} class="flex items-stretch gap-3 pb-4 last:pb-0"><div class="flex flex-col items-center">`);
|
|
@@ -1687,7 +1261,7 @@ var modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
1687
1261
|
const _component_BaseModal = modal_default$2;
|
|
1688
1262
|
const _component_UBadge = _sfc_main$2;
|
|
1689
1263
|
const _component_UTooltip = _sfc_main$7;
|
|
1690
|
-
const _component_UButton = _sfc_main$
|
|
1264
|
+
const _component_UButton = _sfc_main$1;
|
|
1691
1265
|
const _component_BaseLoadingPhrases = phrases_default;
|
|
1692
1266
|
const _component_UAlert = _sfc_main;
|
|
1693
1267
|
const _component_ScenarioTestRunSteps = steps_default;
|
|
@@ -2075,5 +1649,5 @@ function tagColor(tag) {
|
|
|
2075
1649
|
return "primary";
|
|
2076
1650
|
}
|
|
2077
1651
|
|
|
2078
|
-
export {
|
|
2079
|
-
//# sourceMappingURL=tags-
|
|
1652
|
+
export { useWebdriver as a, timeline_default as b, codefield_default as c, confirm_default as d, empty_default as e, modal_default as f, formatTestedAt as g, draftFromScenario as h, contexts_default as i, steps_default as j, modal_default$1 as m, phrases_default as p, reportUrlFor as r, setup_default as s, tagColor as t, useRunStream as u, videoUrlFor as v, warnings_default as w };
|
|
1653
|
+
//# sourceMappingURL=tags-DXumXgr9.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tags-DXumXgr9.mjs","sources":["../../../../app/components/scenario/warnings.vue","../../../../node_modules/.pnpm/nuxt@4.5.2_@babel+plugin-syntax-jsx@7.29.7_@babel+core@7.29.7__@babel+plugin-syntax-typ_45e57be3aa7485e3075b5014322cbc65/node_modules/nuxt/dist/app/composables/url.js","../../../../app/components/webdriver/setup.vue","../../../../app/components/base/empty.vue","../../../../app/utils/recorder-event.ts","../../../../app/components/scenario/review/timeline.vue","../../../../app/components/base/codefield.vue","../../../../app/components/base/confirm.vue","../../../../app/utils/scenario-draft.ts","../../../../app/components/scenario/review/contexts.vue","../../../../app/components/base/loading/phrases.vue","../../../../app/components/scenario/review/loading.vue","../../../../app/composables/webdriver.ts","../../../../app/components/scenario/review/modal.vue","../../../../app/components/scenario/test-run/steps.vue","../../../../app/components/scenario/test-run/modal.vue","../../../../app/composables/run-stream.ts","../../../../app/utils/tags.ts"],"names":["$fetch"],"mappings":"","x_google_ignoreList":[1]}
|