@acutis/cli 0.1.2-dev.20 → 0.1.2-dev.22

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.
Files changed (133) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/1DjC7bBa.js +64 -0
  3. package/.output/public/_nuxt/BNJ2GN0A.js +1 -0
  4. package/.output/public/_nuxt/{b5tj-z25.js → BgV7uYhh.js} +1 -1
  5. package/.output/public/_nuxt/C0IyPp1C.js +28 -0
  6. package/.output/public/_nuxt/C5NzO9dO.js +1 -0
  7. package/.output/public/_nuxt/CUTaKHid.js +1 -0
  8. package/.output/public/_nuxt/DHNHaKIX.js +1 -0
  9. package/.output/public/_nuxt/DKFReY2j.js +1 -0
  10. package/.output/public/_nuxt/DXk74b-E.js +1 -0
  11. package/.output/public/_nuxt/Dc6npEU3.js +1 -0
  12. package/.output/public/_nuxt/DyrXGv84.js +1 -0
  13. package/.output/public/_nuxt/WurCawTj.js +3 -0
  14. package/.output/public/_nuxt/builds/latest.json +1 -1
  15. package/.output/public/_nuxt/builds/meta/f4520b8a-9c39-4e41-af7a-b806928ef3ac.json +1 -0
  16. package/.output/public/_nuxt/lH5PYs8w.js +1 -0
  17. package/.output/public/_nuxt/tags.C6gBUbEB.css +1 -0
  18. package/.output/public/_nuxt/zH54s-gB.js +6 -0
  19. package/.output/server/chunks/_/project.service.mjs +1 -1
  20. package/.output/server/chunks/build/{Pagination-D2AcUggP.mjs → Pagination-BuiQpYWD.mjs} +26 -26
  21. package/.output/server/chunks/build/{Pagination-D2AcUggP.mjs.map → Pagination-BuiQpYWD.mjs.map} +1 -1
  22. package/.output/server/chunks/build/{_...scenario_-D8fF8UCa.mjs → _...scenario_-PVjOOR8j.mjs} +606 -211
  23. package/.output/server/chunks/build/_...scenario_-PVjOOR8j.mjs.map +1 -0
  24. package/.output/server/chunks/build/{_slug_-0Xu9aQ3b.mjs → _slug_-COpWNGAB.mjs} +745 -416
  25. package/.output/server/chunks/build/_slug_-COpWNGAB.mjs.map +1 -0
  26. package/.output/server/chunks/build/{origin-_7Gia2Vr.mjs → origin-NWHPNXep.mjs} +594 -20
  27. package/.output/server/chunks/build/origin-NWHPNXep.mjs.map +1 -0
  28. package/.output/server/chunks/build/{pages-C0ubizZ3.mjs → pages-C7-vXRcH.mjs} +22 -25
  29. package/.output/server/chunks/build/{pages-C0ubizZ3.mjs.map → pages-C7-vXRcH.mjs.map} +1 -1
  30. package/.output/server/chunks/build/tags-X7K7nkM2.mjs +2079 -0
  31. package/.output/server/chunks/build/tags-X7K7nkM2.mjs.map +1 -0
  32. package/.output/server/chunks/nitro/nitro.mjs +151 -372
  33. package/.output/server/chunks/routes/renderer.mjs +2 -2
  34. package/.output/server/chunks/virtual/entry.mjs +29335 -29368
  35. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  36. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  37. package/.output/server/package.json +1 -1
  38. package/package.json +1 -1
  39. package/.output/public/_nuxt/9eLkUDDj.js +0 -1
  40. package/.output/public/_nuxt/ANcp5QFz.js +0 -1
  41. package/.output/public/_nuxt/BEQgcp5R.js +0 -1
  42. package/.output/public/_nuxt/BEk00u4_.js +0 -1
  43. package/.output/public/_nuxt/BGdmRvCK2.js +0 -8
  44. package/.output/public/_nuxt/BGkBW2ni2.js +0 -1
  45. package/.output/public/_nuxt/BKydt2Wp2.js +0 -4
  46. package/.output/public/_nuxt/BMLYuU_e.js +0 -1
  47. package/.output/public/_nuxt/BWJpSLJL.js +0 -1
  48. package/.output/public/_nuxt/BXpPYfMx.js +0 -1
  49. package/.output/public/_nuxt/BbjTtCyI.js +0 -3
  50. package/.output/public/_nuxt/Bd538XcA2.js +0 -1
  51. package/.output/public/_nuxt/Bp3A7I5W2.js +0 -1
  52. package/.output/public/_nuxt/BuOb9NX0.js +0 -1
  53. package/.output/public/_nuxt/C1tNhfTr.js +0 -1
  54. package/.output/public/_nuxt/C2KIeuhG.js +0 -1
  55. package/.output/public/_nuxt/C5uJN_MU.js +0 -1
  56. package/.output/public/_nuxt/CBVnImq2.js +0 -1
  57. package/.output/public/_nuxt/CDI0GNVb2.js +0 -1
  58. package/.output/public/_nuxt/CIFC2HNk.js +0 -1
  59. package/.output/public/_nuxt/CKps1Vc12.js +0 -3
  60. package/.output/public/_nuxt/CRH0iqnQ.js +0 -1
  61. package/.output/public/_nuxt/CTqLwyQP.js +0 -1
  62. package/.output/public/_nuxt/CU7sPrmY.js +0 -3
  63. package/.output/public/_nuxt/CfOqJVtU.js +0 -1
  64. package/.output/public/_nuxt/Ch1EeKHP.js +0 -1
  65. package/.output/public/_nuxt/Clv7nJ_T2.js +0 -1
  66. package/.output/public/_nuxt/CqZ7dV6a2.js +0 -64
  67. package/.output/public/_nuxt/D-7v7DZs.js +0 -1
  68. package/.output/public/_nuxt/DEJ3sRrh2.js +0 -1
  69. package/.output/public/_nuxt/DPM_BYFz2.js +0 -1
  70. package/.output/public/_nuxt/DQk6DVe-.js +0 -28
  71. package/.output/public/_nuxt/DXLPf3t6.js +0 -1
  72. package/.output/public/_nuxt/DtuQPKVG.js +0 -1
  73. package/.output/public/_nuxt/FvWrDx_z.js +0 -1
  74. package/.output/public/_nuxt/Gcazu-lR.js +0 -1
  75. package/.output/public/_nuxt/QcKfgokC.js +0 -1
  76. package/.output/public/_nuxt/XDsaI4JL.js +0 -1
  77. package/.output/public/_nuxt/builds/meta/efaaa78a-5dcb-48ec-a876-1eaf98ae6c55.json +0 -1
  78. package/.output/public/_nuxt/dCqlxK8U2.js +0 -1
  79. package/.output/public/_nuxt/f0o80Gcm.js +0 -1
  80. package/.output/public/_nuxt/k5q7GKnv.js +0 -1
  81. package/.output/public/_nuxt/modal.3A_G7d4A.css +0 -1
  82. package/.output/public/_nuxt/tLr-SJaf.js +0 -1
  83. package/.output/public/_nuxt/tags.B5A43CvD.css +0 -1
  84. package/.output/public/dev/sample-run.webm +0 -0
  85. package/.output/server/chunks/build/Alert-DX-UEOEY.mjs +0 -433
  86. package/.output/server/chunks/build/Alert-DX-UEOEY.mjs.map +0 -1
  87. package/.output/server/chunks/build/Badge-DCotJtd8.mjs +0 -394
  88. package/.output/server/chunks/build/Badge-DCotJtd8.mjs.map +0 -1
  89. package/.output/server/chunks/build/Card-D7QwltkF.mjs +0 -144
  90. package/.output/server/chunks/build/Card-D7QwltkF.mjs.map +0 -1
  91. package/.output/server/chunks/build/Container-Biz72Lxy.mjs +0 -55
  92. package/.output/server/chunks/build/Container-Biz72Lxy.mjs.map +0 -1
  93. package/.output/server/chunks/build/_...scenario_-D8fF8UCa.mjs.map +0 -1
  94. package/.output/server/chunks/build/_slug_-0Xu9aQ3b.mjs.map +0 -1
  95. package/.output/server/chunks/build/auth-status-kUEDoxDI.mjs +0 -53
  96. package/.output/server/chunks/build/auth-status-kUEDoxDI.mjs.map +0 -1
  97. package/.output/server/chunks/build/auth-status-kswM9iTW.mjs +0 -128
  98. package/.output/server/chunks/build/auth-status-kswM9iTW.mjs.map +0 -1
  99. package/.output/server/chunks/build/empty-D8gbt7LG.mjs +0 -44
  100. package/.output/server/chunks/build/empty-D8gbt7LG.mjs.map +0 -1
  101. package/.output/server/chunks/build/generation-warnings-D4Br9kVN.mjs +0 -123
  102. package/.output/server/chunks/build/generation-warnings-D4Br9kVN.mjs.map +0 -1
  103. package/.output/server/chunks/build/history-eVF-ijkS.mjs +0 -163
  104. package/.output/server/chunks/build/history-eVF-ijkS.mjs.map +0 -1
  105. package/.output/server/chunks/build/modal-CELo8GdZ.mjs +0 -342
  106. package/.output/server/chunks/build/modal-CELo8GdZ.mjs.map +0 -1
  107. package/.output/server/chunks/build/modal-CUNv4bFw.mjs +0 -659
  108. package/.output/server/chunks/build/modal-CUNv4bFw.mjs.map +0 -1
  109. package/.output/server/chunks/build/modal-Cl4zRASg.mjs +0 -321
  110. package/.output/server/chunks/build/modal-Cl4zRASg.mjs.map +0 -1
  111. package/.output/server/chunks/build/origin-_7Gia2Vr.mjs.map +0 -1
  112. package/.output/server/chunks/build/phrases-rvaRKDG_.mjs +0 -38
  113. package/.output/server/chunks/build/phrases-rvaRKDG_.mjs.map +0 -1
  114. package/.output/server/chunks/build/project-run-filtered-DFIlti8u.mjs +0 -455
  115. package/.output/server/chunks/build/project-run-filtered-DFIlti8u.mjs.map +0 -1
  116. package/.output/server/chunks/build/run-stream-CNVDpZ_S.mjs +0 -157
  117. package/.output/server/chunks/build/run-stream-CNVDpZ_S.mjs.map +0 -1
  118. package/.output/server/chunks/build/scenario-runs-bilf1StX.mjs +0 -135
  119. package/.output/server/chunks/build/scenario-runs-bilf1StX.mjs.map +0 -1
  120. package/.output/server/chunks/build/scenario-suggestions-CMPsmNXz.mjs +0 -210
  121. package/.output/server/chunks/build/scenario-suggestions-CMPsmNXz.mjs.map +0 -1
  122. package/.output/server/chunks/build/scenario-test-run-DIjyHDe-.mjs +0 -505
  123. package/.output/server/chunks/build/scenario-test-run-DIjyHDe-.mjs.map +0 -1
  124. package/.output/server/chunks/build/steps-DBViokqd.mjs +0 -54
  125. package/.output/server/chunks/build/steps-DBViokqd.mjs.map +0 -1
  126. package/.output/server/chunks/build/tags-BiGRnEfK.mjs +0 -639
  127. package/.output/server/chunks/build/tags-BiGRnEfK.mjs.map +0 -1
  128. package/.output/server/chunks/build/warnings-BjFCNgyv.mjs +0 -76
  129. package/.output/server/chunks/build/warnings-BjFCNgyv.mjs.map +0 -1
  130. package/.output/server/chunks/raw/sample-run.mjs +0 -7
  131. package/.output/server/chunks/raw/sample-run.mjs.map +0 -1
  132. package/dist-ui/dev/sample-run.webm +0 -0
  133. /package/.output/public/_nuxt/{BDNMzG2s2.js → BDNMzG2s.js} +0 -0
@@ -1,17 +1,7 @@
1
- import { v as useRoute, w as useFetch, x as createError$1, z as icon_default, e as _sfc_main$6, o as _sfc_main$6$1, B as navigateTo, $ as $fetch$2, u as useComponentProps, a as useAppConfig, g as useForwardProps, r as reactivePick, t as tv, O as DropdownMenuRoot_default, Q as DropdownMenuTrigger_default, S as DropdownMenuArrow_default, T as refreshNuxtData, U as useNotify, q as _sfc_main$8, V as _sfc_main$5$1, f as useLocale, W as useFilter, X as usePortal, Y as useForwardPropsEmits, Z as reactiveOmit, a0 as createReusableTemplate, a1 as isArrayOfArray, _ as _sfc_main$2$1, d as _sfc_main$9, D as get, a2 as _sfc_main$1$1, a3 as DropdownMenu, a4 as FieldGroupReset, a5 as _sfc_main$1$2, a6 as pickLinkProps, a7 as _sfc_main$2$2, a8 as omit, m as modal_default$1$1, C as _sfc_main$8$1, a9 as fieldGroupInjectionKey, P as Primitive, y as extractServerError } from '../virtual/entry.mjs';
2
- import { m as modal_default$3 } from './modal-CUNv4bFw.mjs';
3
- import { p as projectOrigin } from './origin-_7Gia2Vr.mjs';
4
- import { _ as _sfc_main$3 } from './Container-Biz72Lxy.mjs';
5
- import { _ as _sfc_main$4 } from './Badge-DCotJtd8.mjs';
6
- import { _ as _sfc_main$5 } from './Alert-DX-UEOEY.mjs';
7
- import { w as warnings_default } from './warnings-BjFCNgyv.mjs';
8
- import { p as phrases_default } from './phrases-rvaRKDG_.mjs';
9
- import { u as useRunStream, r as reportUrlFor } from './run-stream-CNVDpZ_S.mjs';
10
- import { e as empty_default$1 } from './empty-D8gbt7LG.mjs';
11
- import { _ as _sfc_main$7 } from './Card-D7QwltkF.mjs';
12
- import { m as modal_default$4 } from './modal-CELo8GdZ.mjs';
13
- import { u as useWebdriver, s as setup_default, t as tagColor, c as confirm_default, b as toRecordedEvents, f as contexts_default, a as timeline_default } from './tags-BiGRnEfK.mjs';
14
- import { defineComponent, computed, ref, withAsyncContext, watch, mergeProps, unref, withCtx, createVNode, isRef, toDisplayString, openBlock, createBlock, Fragment, renderList, createTextVNode, createCommentVNode, useSlots, useModel, toRef, renderSlot, createSlots, mergeModels, resolveDynamicComponent, withModifiers, withKeys, provide, useId, useSSRContext } from 'vue';
1
+ import { u as useRoute, a as useFetch, c as createError$1, i as icon_default, d as _sfc_main$3$2, g as _sfc_main$5, n as navigateTo, $ as $fetch$2, k as useComponentProps, l as useAppConfig, r as useForwardProps, s as reactivePick, t as tv, N as DropdownMenuRoot_default, O as DropdownMenuTrigger_default, Q as DropdownMenuArrow_default, S as refreshNuxtData, T as useNotify, _ as _sfc_main$7, U as _sfc_main$5$1, K as useLocale, V as useFilter, W as usePortal, X as useForwardPropsEmits, Y as reactiveOmit, Z as createReusableTemplate, a0 as isArrayOfArray, f as _sfc_main$8, q as _sfc_main$6$1, v as get, a1 as _sfc_main$8$1, a2 as DropdownMenu, a3 as FieldGroupReset, a4 as _sfc_main$4$1, a5 as pickLinkProps, a6 as _sfc_main$5$2, a7 as omit, m as modal_default$4, j as _sfc_main$1$1, a8 as fieldGroupInjectionKey, P as Primitive, y as useVModel, x as useForwardExpose, z as useId$1, a9 as useEventListener, C as Presence_default, D as createContext } from '../virtual/entry.mjs';
2
+ import { p as projectOrigin, _ as _sfc_main$3$1, a as _sfc_main$2$1, c as _sfc_main$6 } from './origin-NWHPNXep.mjs';
3
+ import { u as useRunStream, a as useWebdriver, r as reportUrlFor, _ as _sfc_main$4, s as setup_default, m as modal_default$1$1, t as tagColor, f as modal_default$3, d as confirm_default, e as empty_default$1, p as phrases_default, j as steps_default } from './tags-X7K7nkM2.mjs';
4
+ import { defineComponent, computed, ref, withAsyncContext, watch, mergeProps, unref, withCtx, createVNode, isRef, toDisplayString, openBlock, createBlock, Fragment, renderList, createTextVNode, createCommentVNode, useSlots, useModel, toRef, renderSlot, createSlots, mergeModels, resolveDynamicComponent, withModifiers, withKeys, provide, useId, toRefs, nextTick, useSSRContext } from 'vue';
15
5
  import { n as defu } from '../nitro/nitro.mjs';
16
6
  import { ssrRenderComponent, ssrRenderAttr, ssrInterpolate, ssrRenderList, ssrRenderSlot, ssrRenderAttrs, ssrRenderClass, ssrRenderVNode } from 'vue/server-renderer';
17
7
  import 'unhead/plugins';
@@ -25,7 +15,6 @@ import 'devalue';
25
15
  import 'fnv1a-64';
26
16
  import 'object-identity';
27
17
  import 'tailwindcss/colors';
28
- import './steps-DBViokqd.mjs';
29
18
  import './_plugin-vue_export-helper-BOaGB7Aw.mjs';
30
19
  import 'prismjs';
31
20
  import 'node:http';
@@ -60,6 +49,218 @@ import 'langchain';
60
49
  import '@iconify/utils';
61
50
  import 'consola';
62
51
 
52
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Collapsible/CollapsibleRoot.js
53
+ var [injectCollapsibleRootContext, provideCollapsibleRootContext] = /*#__PURE__*/ createContext("CollapsibleRoot");
54
+ var CollapsibleRoot_default = /* @__PURE__ */ defineComponent({
55
+ __name: "CollapsibleRoot",
56
+ props: {
57
+ defaultOpen: {
58
+ type: Boolean,
59
+ required: false,
60
+ default: false
61
+ },
62
+ open: {
63
+ type: Boolean,
64
+ required: false,
65
+ default: void 0
66
+ },
67
+ disabled: {
68
+ type: Boolean,
69
+ required: false
70
+ },
71
+ unmountOnHide: {
72
+ type: Boolean,
73
+ required: false,
74
+ default: true
75
+ },
76
+ asChild: {
77
+ type: Boolean,
78
+ required: false
79
+ },
80
+ as: {
81
+ type: null,
82
+ required: false
83
+ }
84
+ },
85
+ emits: ["update:open"],
86
+ setup(__props, { expose: __expose, emit: __emit }) {
87
+ const props = __props;
88
+ const open = useVModel(props, "open", __emit, {
89
+ defaultValue: props.defaultOpen,
90
+ passive: props.open === void 0
91
+ });
92
+ const { disabled, unmountOnHide } = toRefs(props);
93
+ provideCollapsibleRootContext({
94
+ contentId: "",
95
+ disabled,
96
+ open,
97
+ unmountOnHide,
98
+ onOpenToggle: () => {
99
+ if (disabled.value) return;
100
+ open.value = !open.value;
101
+ }
102
+ });
103
+ __expose({ open });
104
+ useForwardExpose();
105
+ return (_ctx, _cache) => {
106
+ return openBlock(), createBlock(unref(Primitive), {
107
+ as: _ctx.as,
108
+ "as-child": props.asChild,
109
+ "data-state": unref(open) ? "open" : "closed",
110
+ "data-disabled": unref(disabled) ? "" : void 0
111
+ }, {
112
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", { open: unref(open) })]),
113
+ _: 3
114
+ }, 8, [
115
+ "as",
116
+ "as-child",
117
+ "data-state",
118
+ "data-disabled"
119
+ ]);
120
+ };
121
+ }
122
+ });
123
+ //#endregion
124
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Collapsible/CollapsibleContent.js
125
+ var CollapsibleContent_default = /* @__PURE__ */ defineComponent({
126
+ inheritAttrs: false,
127
+ __name: "CollapsibleContent",
128
+ props: {
129
+ forceMount: {
130
+ type: Boolean,
131
+ required: false
132
+ },
133
+ asChild: {
134
+ type: Boolean,
135
+ required: false
136
+ },
137
+ as: {
138
+ type: null,
139
+ required: false
140
+ }
141
+ },
142
+ emits: ["contentFound"],
143
+ setup(__props, { emit: __emit }) {
144
+ const props = __props;
145
+ const emits = __emit;
146
+ const rootContext = injectCollapsibleRootContext();
147
+ rootContext.contentId ||= useId$1(void 0, "reka-collapsible-content");
148
+ const presentRef = ref();
149
+ const { forwardRef, currentElement } = useForwardExpose();
150
+ const width = ref(0);
151
+ const height = ref(0);
152
+ const isOpen = computed(() => rootContext.open.value);
153
+ const isMountAnimationPrevented = ref(isOpen.value);
154
+ const currentStyle = ref();
155
+ watch(() => [isOpen.value, presentRef.value?.present], async () => {
156
+ await nextTick();
157
+ const node = currentElement.value;
158
+ if (!node) return;
159
+ currentStyle.value = currentStyle.value || {
160
+ transitionDuration: node.style.transitionDuration,
161
+ animationName: node.style.animationName
162
+ };
163
+ node.style.transitionDuration = "0s";
164
+ node.style.animationName = "none";
165
+ const rect = node.getBoundingClientRect();
166
+ height.value = rect.height;
167
+ width.value = rect.width;
168
+ if (!isMountAnimationPrevented.value) {
169
+ node.style.transitionDuration = currentStyle.value.transitionDuration;
170
+ node.style.animationName = currentStyle.value.animationName;
171
+ }
172
+ }, { immediate: true });
173
+ const skipAnimation = computed(() => isMountAnimationPrevented.value && rootContext.open.value);
174
+ useEventListener(currentElement, "beforematch", (ev) => {
175
+ requestAnimationFrame(() => {
176
+ rootContext.onOpenToggle();
177
+ emits("contentFound");
178
+ });
179
+ });
180
+ return (_ctx, _cache) => {
181
+ return openBlock(), createBlock(unref(Presence_default), {
182
+ ref_key: "presentRef",
183
+ ref: presentRef,
184
+ present: _ctx.forceMount || unref(rootContext).open.value,
185
+ "force-mount": true
186
+ }, {
187
+ default: withCtx(({ present }) => [createVNode(unref(Primitive), mergeProps(_ctx.$attrs, {
188
+ id: unref(rootContext).contentId,
189
+ ref: unref(forwardRef),
190
+ "as-child": props.asChild,
191
+ as: _ctx.as,
192
+ hidden: !present ? unref(rootContext).unmountOnHide.value ? "" : "until-found" : void 0,
193
+ "data-state": skipAnimation.value ? void 0 : unref(rootContext).open.value ? "open" : "closed",
194
+ "data-disabled": unref(rootContext).disabled?.value ? "" : void 0,
195
+ style: {
196
+ [`--reka-collapsible-content-height`]: `${height.value}px`,
197
+ [`--reka-collapsible-content-width`]: `${width.value}px`
198
+ }
199
+ }), {
200
+ default: withCtx(() => [(unref(rootContext).unmountOnHide.value ? present : true) ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("v-if", true)]),
201
+ _: 2
202
+ }, 1040, [
203
+ "id",
204
+ "as-child",
205
+ "as",
206
+ "hidden",
207
+ "data-state",
208
+ "data-disabled",
209
+ "style"
210
+ ])]),
211
+ _: 3
212
+ }, 8, ["present"]);
213
+ };
214
+ }
215
+ });
216
+ //#endregion
217
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Collapsible/CollapsibleTrigger.js
218
+ var CollapsibleTrigger_default = /* @__PURE__ */ defineComponent({
219
+ __name: "CollapsibleTrigger",
220
+ props: {
221
+ asChild: {
222
+ type: Boolean,
223
+ required: false
224
+ },
225
+ as: {
226
+ type: null,
227
+ required: false,
228
+ default: "button"
229
+ }
230
+ },
231
+ setup(__props) {
232
+ const props = __props;
233
+ useForwardExpose();
234
+ const rootContext = injectCollapsibleRootContext();
235
+ return (_ctx, _cache) => {
236
+ return openBlock(), createBlock(unref(Primitive), {
237
+ type: _ctx.as === "button" ? "button" : void 0,
238
+ as: _ctx.as,
239
+ "as-child": props.asChild,
240
+ "aria-controls": unref(rootContext).contentId,
241
+ "aria-expanded": unref(rootContext).open.value,
242
+ "data-state": unref(rootContext).open.value ? "open" : "closed",
243
+ "data-disabled": unref(rootContext).disabled?.value ? "" : void 0,
244
+ disabled: unref(rootContext).disabled?.value,
245
+ onClick: unref(rootContext).onOpenToggle
246
+ }, {
247
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
248
+ _: 3
249
+ }, 8, [
250
+ "type",
251
+ "as",
252
+ "as-child",
253
+ "aria-controls",
254
+ "aria-expanded",
255
+ "data-state",
256
+ "data-disabled",
257
+ "disabled",
258
+ "onClick"
259
+ ]);
260
+ };
261
+ }
262
+ });
263
+ //#endregion
63
264
  //#region app/components/project/rename/inline.vue?vue&type=script&setup=true&lang.ts
64
265
  var inline_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
65
266
  __name: "inline",
@@ -100,9 +301,9 @@ var inline_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
100
301
  }
101
302
  }
102
303
  return (_ctx, _push, _parent, _attrs) => {
103
- const _component_UInput = _sfc_main$6$1;
304
+ const _component_UInput = _sfc_main$5;
104
305
  const _component_BaseButtonIcon = icon_default;
105
- const _component_UTooltip = _sfc_main$8;
306
+ const _component_UTooltip = _sfc_main$7;
106
307
  if (unref(editing)) {
107
308
  _push(`<div${ssrRenderAttrs(mergeProps({ class: "flex items-center gap-2" }, _attrs))}>`);
108
309
  _push(ssrRenderComponent(_component_UInput, {
@@ -179,7 +380,7 @@ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Ffield_group_default
179
380
  };
180
381
  //#endregion
181
382
  //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/FieldGroup.vue
182
- var _sfc_main$2 = {
383
+ var _sfc_main$3 = {
183
384
  __name: "UFieldGroup",
184
385
  __ssrInlineRender: true,
185
386
  props: {
@@ -234,8 +435,8 @@ var _sfc_main$2 = {
234
435
  };
235
436
  }
236
437
  };
237
- var _sfc_setup$10 = _sfc_main$2.setup;
238
- _sfc_main$2.setup = (props, ctx) => {
438
+ var _sfc_setup$10 = _sfc_main$3.setup;
439
+ _sfc_main$3.setup = (props, ctx) => {
239
440
  const ssrContext = useSSRContext();
240
441
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/FieldGroup.vue");
241
442
  return _sfc_setup$10 ? _sfc_setup$10(props, ctx) : void 0;
@@ -272,9 +473,9 @@ var select_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
272
473
  }
273
474
  }
274
475
  return (_ctx, _push, _parent, _attrs) => {
275
- const _component_UTooltip = _sfc_main$8;
276
- const _component_UButton = _sfc_main$6;
277
- const _component_UFieldGroup = _sfc_main$2;
476
+ const _component_UTooltip = _sfc_main$7;
477
+ const _component_UButton = _sfc_main$3$2;
478
+ const _component_UFieldGroup = _sfc_main$3;
278
479
  const _component_USelectMenu = _sfc_main$5$1;
279
480
  const _component_BaseButtonIcon = icon_default;
280
481
  if (unref(items).length < 2) _push(ssrRenderComponent(_component_UTooltip, mergeProps({ text: "Editar as variáveis deste ambiente" }, _attrs), {
@@ -369,7 +570,7 @@ select_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
369
570
  var select_default = Object.assign(select_vue_vue_type_script_setup_true_lang_default, { __name: "ProjectEnvironmentsSelect" });
370
571
  //#endregion
371
572
  //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/DropdownMenuContent.vue
372
- var _sfc_main$1 = {
573
+ var _sfc_main$2 = {
373
574
  __name: "UDropdownMenuContent",
374
575
  __ssrInlineRender: true,
375
576
  props: {
@@ -581,7 +782,7 @@ var _sfc_main$1 = {
581
782
  index,
582
783
  ui: __props.ui
583
784
  }, () => {
584
- if (item.loading) _push(ssrRenderComponent(_sfc_main$2$1, {
785
+ if (item.loading) _push(ssrRenderComponent(_sfc_main$8, {
585
786
  name: __props.loadingIcon || unref(appConfig).ui.icons.loading,
586
787
  "data-slot": "itemLeadingIcon",
587
788
  class: __props.ui.itemLeadingIcon({
@@ -590,7 +791,7 @@ var _sfc_main$1 = {
590
791
  loading: true
591
792
  })
592
793
  }, null, _parent, _scopeId));
593
- else if (item.icon) _push(ssrRenderComponent(_sfc_main$2$1, {
794
+ else if (item.icon) _push(ssrRenderComponent(_sfc_main$8, {
594
795
  name: item.icon,
595
796
  "data-slot": "itemLeadingIcon",
596
797
  class: __props.ui.itemLeadingIcon({
@@ -599,7 +800,7 @@ var _sfc_main$1 = {
599
800
  active
600
801
  })
601
802
  }, null, _parent, _scopeId));
602
- else if (item.avatar) _push(ssrRenderComponent(_sfc_main$9, mergeProps({ size: item.ui?.itemLeadingAvatarSize || __props.uiOverride?.itemLeadingAvatarSize || __props.ui.itemLeadingAvatarSize() }, item.avatar, {
803
+ else if (item.avatar) _push(ssrRenderComponent(_sfc_main$6$1, mergeProps({ size: item.ui?.itemLeadingAvatarSize || __props.uiOverride?.itemLeadingAvatarSize || __props.ui.itemLeadingAvatarSize() }, item.avatar, {
603
804
  "data-slot": "itemLeadingAvatar",
604
805
  class: __props.ui.itemLeadingAvatar({
605
806
  class: [__props.uiOverride?.itemLeadingAvatar, item.ui?.itemLeadingAvatar],
@@ -620,7 +821,7 @@ var _sfc_main$1 = {
620
821
  }, () => {
621
822
  _push(`${ssrInterpolate(unref(get)(item, props.labelKey))}`);
622
823
  }, _push, _parent, _scopeId);
623
- if (item.target === "_blank" && __props.externalIcon !== false) _push(ssrRenderComponent(_sfc_main$2$1, {
824
+ if (item.target === "_blank" && __props.externalIcon !== false) _push(ssrRenderComponent(_sfc_main$8, {
624
825
  name: typeof __props.externalIcon === "string" ? __props.externalIcon : unref(appConfig).ui.icons.external,
625
826
  "data-slot": "itemLabelExternalIcon",
626
827
  class: __props.ui.itemLabelExternalIcon({
@@ -651,7 +852,7 @@ var _sfc_main$1 = {
651
852
  index,
652
853
  ui: __props.ui
653
854
  }, () => {
654
- if (item.children?.length) _push(ssrRenderComponent(_sfc_main$2$1, {
855
+ if (item.children?.length) _push(ssrRenderComponent(_sfc_main$8, {
655
856
  name: childrenIcon.value,
656
857
  "data-slot": "itemTrailingIcon",
657
858
  class: __props.ui.itemTrailingIcon({
@@ -663,7 +864,7 @@ var _sfc_main$1 = {
663
864
  else if (item.kbds?.length) {
664
865
  _push(`<span data-slot="itemTrailingKbds" class="${ssrRenderClass(__props.ui.itemTrailingKbds({ class: [__props.uiOverride?.itemTrailingKbds, item.ui?.itemTrailingKbds] }))}"${_scopeId}><!--[-->`);
665
866
  ssrRenderList(item.kbds, (kbd, kbdIndex) => {
666
- _push(ssrRenderComponent(_sfc_main$1$1, mergeProps({
867
+ _push(ssrRenderComponent(_sfc_main$8$1, mergeProps({
667
868
  key: kbdIndex,
668
869
  size: item.ui?.itemTrailingKbdsSize || __props.uiOverride?.itemTrailingKbdsSize || __props.ui.itemTrailingKbdsSize()
669
870
  }, { ref_for: true }, typeof kbd === "string" ? { value: kbd } : kbd), null, _parent, _scopeId));
@@ -673,7 +874,7 @@ var _sfc_main$1 = {
673
874
  }, _push, _parent, _scopeId);
674
875
  _push(ssrRenderComponent(unref(DropdownMenu).ItemIndicator, { "as-child": "" }, {
675
876
  default: withCtx((_, _push, _parent, _scopeId) => {
676
- if (_push) _push(ssrRenderComponent(_sfc_main$2$1, {
877
+ if (_push) _push(ssrRenderComponent(_sfc_main$8, {
677
878
  name: __props.checkedIcon || unref(appConfig).ui.icons.check,
678
879
  "data-slot": "itemTrailingIcon",
679
880
  class: __props.ui.itemTrailingIcon({
@@ -681,7 +882,7 @@ var _sfc_main$1 = {
681
882
  color: item?.color
682
883
  })
683
884
  }, null, _parent, _scopeId));
684
- else return [createVNode(_sfc_main$2$1, {
885
+ else return [createVNode(_sfc_main$8, {
685
886
  name: __props.checkedIcon || unref(appConfig).ui.icons.check,
686
887
  "data-slot": "itemTrailingIcon",
687
888
  class: __props.ui.itemTrailingIcon({
@@ -704,7 +905,7 @@ var _sfc_main$1 = {
704
905
  active,
705
906
  index,
706
907
  ui: __props.ui
707
- }, () => [item.loading ? (openBlock(), createBlock(_sfc_main$2$1, {
908
+ }, () => [item.loading ? (openBlock(), createBlock(_sfc_main$8, {
708
909
  key: 0,
709
910
  name: __props.loadingIcon || unref(appConfig).ui.icons.loading,
710
911
  "data-slot": "itemLeadingIcon",
@@ -713,7 +914,7 @@ var _sfc_main$1 = {
713
914
  color: item?.color,
714
915
  loading: true
715
916
  })
716
- }, null, 8, ["name", "class"])) : item.icon ? (openBlock(), createBlock(_sfc_main$2$1, {
917
+ }, null, 8, ["name", "class"])) : item.icon ? (openBlock(), createBlock(_sfc_main$8, {
717
918
  key: 1,
718
919
  name: item.icon,
719
920
  "data-slot": "itemLeadingIcon",
@@ -722,7 +923,7 @@ var _sfc_main$1 = {
722
923
  color: item?.color,
723
924
  active
724
925
  })
725
- }, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$9, mergeProps({
926
+ }, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$6$1, mergeProps({
726
927
  key: 2,
727
928
  size: item.ui?.itemLeadingAvatarSize || __props.uiOverride?.itemLeadingAvatarSize || __props.ui.itemLeadingAvatarSize()
728
929
  }, item.avatar, {
@@ -746,7 +947,7 @@ var _sfc_main$1 = {
746
947
  item,
747
948
  active,
748
949
  index
749
- }, () => [createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)]), item.target === "_blank" && __props.externalIcon !== false ? (openBlock(), createBlock(_sfc_main$2$1, {
950
+ }, () => [createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)]), item.target === "_blank" && __props.externalIcon !== false ? (openBlock(), createBlock(_sfc_main$8, {
750
951
  key: 0,
751
952
  name: typeof __props.externalIcon === "string" ? __props.externalIcon : unref(appConfig).ui.icons.external,
752
953
  "data-slot": "itemLabelExternalIcon",
@@ -772,7 +973,7 @@ var _sfc_main$1 = {
772
973
  active,
773
974
  index,
774
975
  ui: __props.ui
775
- }, () => [item.children?.length ? (openBlock(), createBlock(_sfc_main$2$1, {
976
+ }, () => [item.children?.length ? (openBlock(), createBlock(_sfc_main$8, {
776
977
  key: 0,
777
978
  name: childrenIcon.value,
778
979
  "data-slot": "itemTrailingIcon",
@@ -786,12 +987,12 @@ var _sfc_main$1 = {
786
987
  "data-slot": "itemTrailingKbds",
787
988
  class: __props.ui.itemTrailingKbds({ class: [__props.uiOverride?.itemTrailingKbds, item.ui?.itemTrailingKbds] })
788
989
  }, [(openBlock(true), createBlock(Fragment, null, renderList(item.kbds, (kbd, kbdIndex) => {
789
- return openBlock(), createBlock(_sfc_main$1$1, mergeProps({
990
+ return openBlock(), createBlock(_sfc_main$8$1, mergeProps({
790
991
  key: kbdIndex,
791
992
  size: item.ui?.itemTrailingKbdsSize || __props.uiOverride?.itemTrailingKbdsSize || __props.ui.itemTrailingKbdsSize()
792
993
  }, { ref_for: true }, typeof kbd === "string" ? { value: kbd } : kbd), null, 16, ["size"]);
793
994
  }), 128))], 2)) : createCommentVNode("", true)]), createVNode(unref(DropdownMenu).ItemIndicator, { "as-child": "" }, {
794
- default: withCtx(() => [createVNode(_sfc_main$2$1, {
995
+ default: withCtx(() => [createVNode(_sfc_main$8, {
795
996
  name: __props.checkedIcon || unref(appConfig).ui.icons.check,
796
997
  "data-slot": "itemTrailingIcon",
797
998
  class: __props.ui.itemTrailingIcon({
@@ -821,7 +1022,7 @@ var _sfc_main$1 = {
821
1022
  "as-child": ""
822
1023
  }, {
823
1024
  default: withCtx((_, _push, _parent, _scopeId) => {
824
- if (_push) _push(ssrRenderComponent(_sfc_main$6$1, mergeProps({
1025
+ if (_push) _push(ssrRenderComponent(_sfc_main$5, mergeProps({
825
1026
  autofocus: "",
826
1027
  autocomplete: "off",
827
1028
  size: __props.size
@@ -830,7 +1031,7 @@ var _sfc_main$1 = {
830
1031
  class: __props.ui.input({ class: __props.uiOverride?.input }),
831
1032
  onChange: () => {}
832
1033
  }), null, _parent, _scopeId));
833
- else return [createVNode(_sfc_main$6$1, mergeProps({
1034
+ else return [createVNode(_sfc_main$5, mergeProps({
834
1035
  autofocus: "",
835
1036
  autocomplete: "off",
836
1037
  size: __props.size
@@ -922,7 +1123,7 @@ var _sfc_main$1 = {
922
1123
  }),
923
1124
  _: 2
924
1125
  }, _parent, _scopeId));
925
- _push(ssrRenderComponent(_sfc_main$1, mergeProps({
1126
+ _push(ssrRenderComponent(_sfc_main$2, mergeProps({
926
1127
  sub: "",
927
1128
  class: item.ui?.content,
928
1129
  ui: __props.ui,
@@ -974,7 +1175,7 @@ var _sfc_main$1 = {
974
1175
  "disabled",
975
1176
  "text-value",
976
1177
  "class"
977
- ]), createVNode(_sfc_main$1, mergeProps({
1178
+ ]), createVNode(_sfc_main$2, mergeProps({
978
1179
  sub: "",
979
1180
  class: item.ui?.content,
980
1181
  ui: __props.ui,
@@ -1045,7 +1246,7 @@ var _sfc_main$1 = {
1045
1246
  }),
1046
1247
  _: 2
1047
1248
  }, _parent, _scopeId));
1048
- else _push(ssrRenderComponent(_sfc_main$1$2, mergeProps({ ref_for: true }, unref(pickLinkProps)(item), { custom: "" }), {
1249
+ else _push(ssrRenderComponent(_sfc_main$4$1, mergeProps({ ref_for: true }, unref(pickLinkProps)(item), { custom: "" }), {
1049
1250
  default: withCtx(({ active, ...slotProps }, _push, _parent, _scopeId) => {
1050
1251
  if (_push) _push(ssrRenderComponent(unref(DropdownMenu).Item, {
1051
1252
  "as-child": "",
@@ -1054,7 +1255,7 @@ var _sfc_main$1 = {
1054
1255
  onSelect: item.onSelect
1055
1256
  }, {
1056
1257
  default: withCtx((_, _push, _parent, _scopeId) => {
1057
- if (_push) _push(ssrRenderComponent(_sfc_main$2$2, mergeProps({ ref_for: true }, slotProps, {
1258
+ if (_push) _push(ssrRenderComponent(_sfc_main$5$2, mergeProps({ ref_for: true }, slotProps, {
1058
1259
  "data-slot": "item",
1059
1260
  class: __props.ui.item({
1060
1261
  class: [
@@ -1084,7 +1285,7 @@ var _sfc_main$1 = {
1084
1285
  }),
1085
1286
  _: 2
1086
1287
  }, _parent, _scopeId));
1087
- else return [createVNode(_sfc_main$2$2, mergeProps({ ref_for: true }, slotProps, {
1288
+ else return [createVNode(_sfc_main$5$2, mergeProps({ ref_for: true }, slotProps, {
1088
1289
  "data-slot": "item",
1089
1290
  class: __props.ui.item({
1090
1291
  class: [
@@ -1116,7 +1317,7 @@ var _sfc_main$1 = {
1116
1317
  "text-value": unref(get)(item, props.labelKey),
1117
1318
  onSelect: item.onSelect
1118
1319
  }, {
1119
- default: withCtx(() => [createVNode(_sfc_main$2$2, mergeProps({ ref_for: true }, slotProps, {
1320
+ default: withCtx(() => [createVNode(_sfc_main$5$2, mergeProps({ ref_for: true }, slotProps, {
1120
1321
  "data-slot": "item",
1121
1322
  class: __props.ui.item({
1122
1323
  class: [
@@ -1203,7 +1404,7 @@ var _sfc_main$1 = {
1203
1404
  "disabled",
1204
1405
  "text-value",
1205
1406
  "class"
1206
- ]), createVNode(_sfc_main$1, mergeProps({
1407
+ ]), createVNode(_sfc_main$2, mergeProps({
1207
1408
  sub: "",
1208
1409
  class: item.ui?.content,
1209
1410
  ui: __props.ui,
@@ -1273,7 +1474,7 @@ var _sfc_main$1 = {
1273
1474
  "class",
1274
1475
  "onUpdate:modelValue",
1275
1476
  "onSelect"
1276
- ])) : (openBlock(), createBlock(_sfc_main$1$2, mergeProps({
1477
+ ])) : (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
1277
1478
  key: 4,
1278
1479
  ref_for: true
1279
1480
  }, unref(pickLinkProps)(item), { custom: "" }), {
@@ -1283,7 +1484,7 @@ var _sfc_main$1 = {
1283
1484
  "text-value": unref(get)(item, props.labelKey),
1284
1485
  onSelect: item.onSelect
1285
1486
  }, {
1286
- default: withCtx(() => [createVNode(_sfc_main$2$2, mergeProps({ ref_for: true }, slotProps, {
1487
+ default: withCtx(() => [createVNode(_sfc_main$5$2, mergeProps({ ref_for: true }, slotProps, {
1287
1488
  "data-slot": "item",
1288
1489
  class: __props.ui.item({
1289
1490
  class: [
@@ -1337,7 +1538,7 @@ var _sfc_main$1 = {
1337
1538
  "onUpdate:modelValue": ($event) => searchTerm.value = $event,
1338
1539
  "as-child": ""
1339
1540
  }, {
1340
- default: withCtx(() => [createVNode(_sfc_main$6$1, mergeProps({
1541
+ default: withCtx(() => [createVNode(_sfc_main$5, mergeProps({
1341
1542
  autofocus: "",
1342
1543
  autocomplete: "off",
1343
1544
  size: __props.size
@@ -1416,7 +1617,7 @@ var _sfc_main$1 = {
1416
1617
  "disabled",
1417
1618
  "text-value",
1418
1619
  "class"
1419
- ]), createVNode(_sfc_main$1, mergeProps({
1620
+ ]), createVNode(_sfc_main$2, mergeProps({
1420
1621
  sub: "",
1421
1622
  class: item.ui?.content,
1422
1623
  ui: __props.ui,
@@ -1486,7 +1687,7 @@ var _sfc_main$1 = {
1486
1687
  "class",
1487
1688
  "onUpdate:modelValue",
1488
1689
  "onSelect"
1489
- ])) : (openBlock(), createBlock(_sfc_main$1$2, mergeProps({
1690
+ ])) : (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
1490
1691
  key: 4,
1491
1692
  ref_for: true
1492
1693
  }, unref(pickLinkProps)(item), { custom: "" }), {
@@ -1496,7 +1697,7 @@ var _sfc_main$1 = {
1496
1697
  "text-value": unref(get)(item, props.labelKey),
1497
1698
  onSelect: item.onSelect
1498
1699
  }, {
1499
- default: withCtx(() => [createVNode(_sfc_main$2$2, mergeProps({ ref_for: true }, slotProps, {
1700
+ default: withCtx(() => [createVNode(_sfc_main$5$2, mergeProps({ ref_for: true }, slotProps, {
1500
1701
  "data-slot": "item",
1501
1702
  class: __props.ui.item({
1502
1703
  class: [
@@ -1553,7 +1754,7 @@ var _sfc_main$1 = {
1553
1754
  "onUpdate:modelValue": ($event) => searchTerm.value = $event,
1554
1755
  "as-child": ""
1555
1756
  }, {
1556
- default: withCtx(() => [createVNode(_sfc_main$6$1, mergeProps({
1757
+ default: withCtx(() => [createVNode(_sfc_main$5, mergeProps({
1557
1758
  autofocus: "",
1558
1759
  autocomplete: "off",
1559
1760
  size: __props.size
@@ -1632,7 +1833,7 @@ var _sfc_main$1 = {
1632
1833
  "disabled",
1633
1834
  "text-value",
1634
1835
  "class"
1635
- ]), createVNode(_sfc_main$1, mergeProps({
1836
+ ]), createVNode(_sfc_main$2, mergeProps({
1636
1837
  sub: "",
1637
1838
  class: item.ui?.content,
1638
1839
  ui: __props.ui,
@@ -1702,7 +1903,7 @@ var _sfc_main$1 = {
1702
1903
  "class",
1703
1904
  "onUpdate:modelValue",
1704
1905
  "onSelect"
1705
- ])) : (openBlock(), createBlock(_sfc_main$1$2, mergeProps({
1906
+ ])) : (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
1706
1907
  key: 4,
1707
1908
  ref_for: true
1708
1909
  }, unref(pickLinkProps)(item), { custom: "" }), {
@@ -1712,7 +1913,7 @@ var _sfc_main$1 = {
1712
1913
  "text-value": unref(get)(item, props.labelKey),
1713
1914
  onSelect: item.onSelect
1714
1915
  }, {
1715
- default: withCtx(() => [createVNode(_sfc_main$2$2, mergeProps({ ref_for: true }, slotProps, {
1916
+ default: withCtx(() => [createVNode(_sfc_main$5$2, mergeProps({ ref_for: true }, slotProps, {
1716
1917
  "data-slot": "item",
1717
1918
  class: __props.ui.item({
1718
1919
  class: [
@@ -1772,7 +1973,7 @@ var _sfc_main$1 = {
1772
1973
  "onUpdate:modelValue": ($event) => searchTerm.value = $event,
1773
1974
  "as-child": ""
1774
1975
  }, {
1775
- default: withCtx(() => [createVNode(_sfc_main$6$1, mergeProps({
1976
+ default: withCtx(() => [createVNode(_sfc_main$5, mergeProps({
1776
1977
  autofocus: "",
1777
1978
  autocomplete: "off",
1778
1979
  size: __props.size
@@ -1851,7 +2052,7 @@ var _sfc_main$1 = {
1851
2052
  "disabled",
1852
2053
  "text-value",
1853
2054
  "class"
1854
- ]), createVNode(_sfc_main$1, mergeProps({
2055
+ ]), createVNode(_sfc_main$2, mergeProps({
1855
2056
  sub: "",
1856
2057
  class: item.ui?.content,
1857
2058
  ui: __props.ui,
@@ -1921,7 +2122,7 @@ var _sfc_main$1 = {
1921
2122
  "class",
1922
2123
  "onUpdate:modelValue",
1923
2124
  "onSelect"
1924
- ])) : (openBlock(), createBlock(_sfc_main$1$2, mergeProps({
2125
+ ])) : (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
1925
2126
  key: 4,
1926
2127
  ref_for: true
1927
2128
  }, unref(pickLinkProps)(item), { custom: "" }), {
@@ -1931,7 +2132,7 @@ var _sfc_main$1 = {
1931
2132
  "text-value": unref(get)(item, props.labelKey),
1932
2133
  onSelect: item.onSelect
1933
2134
  }, {
1934
- default: withCtx(() => [createVNode(_sfc_main$2$2, mergeProps({ ref_for: true }, slotProps, {
2135
+ default: withCtx(() => [createVNode(_sfc_main$5$2, mergeProps({ ref_for: true }, slotProps, {
1935
2136
  "data-slot": "item",
1936
2137
  class: __props.ui.item({
1937
2138
  class: [
@@ -1985,8 +2186,8 @@ var _sfc_main$1 = {
1985
2186
  };
1986
2187
  }
1987
2188
  };
1988
- var _sfc_setup$8 = _sfc_main$1.setup;
1989
- _sfc_main$1.setup = (props, ctx) => {
2189
+ var _sfc_setup$8 = _sfc_main$2.setup;
2190
+ _sfc_main$2.setup = (props, ctx) => {
1990
2191
  const ssrContext = useSSRContext();
1991
2192
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/DropdownMenuContent.vue");
1992
2193
  return _sfc_setup$8 ? _sfc_setup$8(props, ctx) : void 0;
@@ -2192,7 +2393,7 @@ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdropdown_menu_defau
2192
2393
  };
2193
2394
  //#endregion
2194
2395
  //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/DropdownMenu.vue
2195
- var _sfc_main = {
2396
+ var _sfc_main$1 = {
2196
2397
  __name: "UDropdownMenu",
2197
2398
  __ssrInlineRender: true,
2198
2399
  props: /*@__PURE__*/ mergeModels({
@@ -2327,7 +2528,7 @@ var _sfc_main = {
2327
2528
  _: 2
2328
2529
  }, _parent, _scopeId));
2329
2530
  else _push(`<!---->`);
2330
- _push(ssrRenderComponent(_sfc_main$1, mergeProps({
2531
+ _push(ssrRenderComponent(_sfc_main$2, mergeProps({
2331
2532
  "search-term": searchTerm.value,
2332
2533
  "onUpdate:searchTerm": ($event) => searchTerm.value = $event,
2333
2534
  class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] }),
@@ -2376,7 +2577,7 @@ var _sfc_main = {
2376
2577
  }, {
2377
2578
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", { open })]),
2378
2579
  _: 2
2379
- }, 1032, ["class", "disabled"])) : createCommentVNode("", true), createVNode(_sfc_main$1, mergeProps({
2580
+ }, 1032, ["class", "disabled"])) : createCommentVNode("", true), createVNode(_sfc_main$2, mergeProps({
2380
2581
  "search-term": searchTerm.value,
2381
2582
  "onUpdate:searchTerm": ($event) => searchTerm.value = $event,
2382
2583
  class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] }),
@@ -2429,321 +2630,13 @@ var _sfc_main = {
2429
2630
  };
2430
2631
  }
2431
2632
  };
2432
- var _sfc_setup$7 = _sfc_main.setup;
2433
- _sfc_main.setup = (props, ctx) => {
2633
+ var _sfc_setup$7 = _sfc_main$1.setup;
2634
+ _sfc_main$1.setup = (props, ctx) => {
2434
2635
  const ssrContext = useSSRContext();
2435
2636
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/DropdownMenu.vue");
2436
2637
  return _sfc_setup$7 ? _sfc_setup$7(props, ctx) : void 0;
2437
2638
  };
2438
2639
  //#endregion
2439
- //#region app/components/scenario/review/loading.vue?vue&type=script&setup=true&lang.ts
2440
- var loading_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
2441
- __name: "loading",
2442
- __ssrInlineRender: true,
2443
- setup(__props) {
2444
- const phrases = [
2445
- "Analisando os elementos da tela",
2446
- "Identificando os fluxos de navegação",
2447
- "Interpretando suas interações",
2448
- "Gerando os contextos do cenário",
2449
- "Escrevendo os passos em Gherkin",
2450
- "Traduzindo para o teste Playwright",
2451
- "Dando os retoques finais"
2452
- ];
2453
- return (_ctx, _push, _parent, _attrs) => {
2454
- _push(ssrRenderComponent(phrases_default, mergeProps({
2455
- phrases,
2456
- "data-testid": "contexto-carregando"
2457
- }, _attrs), null, _parent));
2458
- };
2459
- }
2460
- });
2461
- //#endregion
2462
- //#region app/components/scenario/review/loading.vue
2463
- var _sfc_setup$6 = loading_vue_vue_type_script_setup_true_lang_default.setup;
2464
- loading_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
2465
- const ssrContext = useSSRContext();
2466
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/scenario/review/loading.vue");
2467
- return _sfc_setup$6 ? _sfc_setup$6(props, ctx) : void 0;
2468
- };
2469
- var loading_default = Object.assign(loading_vue_vue_type_script_setup_true_lang_default, { __name: "ScenarioReviewLoading" });
2470
- //#endregion
2471
- //#region app/components/scenario/review/modal.vue?vue&type=script&setup=true&lang.ts
2472
- var modal_vue_vue_type_script_setup_true_lang_default$2 = /*@__PURE__*/ defineComponent({
2473
- __name: "modal",
2474
- __ssrInlineRender: true,
2475
- props: /*@__PURE__*/ mergeModels({
2476
- slug: {},
2477
- isPublic: {
2478
- type: Boolean,
2479
- default: false
2480
- }
2481
- }, {
2482
- "open": {
2483
- type: Boolean,
2484
- default: false
2485
- },
2486
- "openModifiers": {}
2487
- }),
2488
- emits: /*@__PURE__*/ mergeModels([
2489
- "generated",
2490
- "rerecord",
2491
- "resume"
2492
- ], ["update:open"]),
2493
- setup(__props, { emit: __emit }) {
2494
- const open = useModel(__props, "open");
2495
- const emit = __emit;
2496
- const { state, url } = useWebdriver();
2497
- function emptyDraft() {
2498
- return {
2499
- title: "",
2500
- tags: [],
2501
- domain: "",
2502
- path: "",
2503
- gherkin: "",
2504
- playwright: ""
2505
- };
2506
- }
2507
- const step = ref("review");
2508
- const draft = ref(emptyDraft());
2509
- const error = ref(null);
2510
- watch(open, (isOpen) => {
2511
- if (isOpen) {
2512
- step.value = "review";
2513
- draft.value = emptyDraft();
2514
- error.value = null;
2515
- }
2516
- });
2517
- const modalTitle = computed(() => step.value === "edit" ? "Revise os contextos" : "Revise seus eventos");
2518
- const timeline = computed(() => state.value.events.filter((event) => event.type && event.timestamp).sort((a, b) => a.timestamp - b.timestamp));
2519
- const submitting = ref(false);
2520
- const baseUrl = computed(() => {
2521
- const first = timeline.value.find((event) => event.url);
2522
- if (!first?.url) return null;
2523
- try {
2524
- return new URL(first.url).origin;
2525
- } catch {
2526
- return null;
2527
- }
2528
- });
2529
- const mappedEvents = computed(() => toRecordedEvents(timeline.value));
2530
- async function generate() {
2531
- if (!baseUrl.value) {
2532
- error.value = "Nenhuma navegação registrada na gravação.";
2533
- return;
2534
- }
2535
- error.value = null;
2536
- step.value = "loading";
2537
- try {
2538
- draft.value = await $fetch$2(`/api/projects/${__props.slug}/tests/draft`, {
2539
- method: "POST",
2540
- body: {
2541
- baseUrl: baseUrl.value,
2542
- events: mappedEvents.value,
2543
- isPublic: __props.isPublic
2544
- }
2545
- });
2546
- step.value = "edit";
2547
- } catch (err) {
2548
- error.value = extractServerError(err, "Não foi possível gerar o cenário. Tente novamente.");
2549
- step.value = "review";
2550
- }
2551
- }
2552
- async function commit() {
2553
- if (!draft.value) return;
2554
- submitting.value = true;
2555
- error.value = null;
2556
- try {
2557
- await $fetch$2(`/api/projects/${__props.slug}/tests`, {
2558
- method: "POST",
2559
- body: {
2560
- ...draft.value,
2561
- events: mappedEvents.value
2562
- }
2563
- });
2564
- open.value = false;
2565
- emit("generated");
2566
- } catch (err) {
2567
- error.value = extractServerError(err, "Não foi possível salvar o cenário. Tente novamente.");
2568
- } finally {
2569
- submitting.value = false;
2570
- }
2571
- }
2572
- function rerecord() {
2573
- open.value = false;
2574
- emit("rerecord");
2575
- }
2576
- /** Retomar do passo escolhido mantém o que veio antes dele e descarta ele e os seguintes. */
2577
- function resume(index) {
2578
- open.value = false;
2579
- emit("resume", timeline.value.slice(0, index));
2580
- }
2581
- return (_ctx, _push, _parent, _attrs) => {
2582
- const _component_BaseModal = modal_default$1$1;
2583
- const _component_ScenarioReviewLoading = loading_default;
2584
- const _component_ScenarioWarnings = warnings_default;
2585
- const _component_ScenarioReviewContexts = contexts_default;
2586
- const _component_ScenarioReviewTimeline = timeline_default;
2587
- const _component_UAlert = _sfc_main$5;
2588
- const _component_UButton = _sfc_main$6;
2589
- _push(ssrRenderComponent(_component_BaseModal, mergeProps({
2590
- open: open.value,
2591
- "onUpdate:open": ($event) => open.value = $event,
2592
- title: unref(modalTitle),
2593
- dismissable: false,
2594
- loading: unref(step) === "loading",
2595
- wide: ""
2596
- }, _attrs), {
2597
- body: withCtx((_, _push, _parent, _scopeId) => {
2598
- if (_push) {
2599
- if (unref(step) === "loading") _push(ssrRenderComponent(_component_ScenarioReviewLoading, null, null, _parent, _scopeId));
2600
- else if (unref(step) === "edit") {
2601
- _push(`<!--[-->`);
2602
- _push(ssrRenderComponent(_component_ScenarioWarnings, {
2603
- warnings: unref(draft).warnings,
2604
- slug: __props.slug,
2605
- class: "mb-4"
2606
- }, null, _parent, _scopeId));
2607
- _push(ssrRenderComponent(_component_ScenarioReviewContexts, {
2608
- draft: unref(draft),
2609
- "onUpdate:draft": ($event) => isRef(draft) ? draft.value = $event : null,
2610
- novo: ""
2611
- }, null, _parent, _scopeId));
2612
- _push(`<!--]-->`);
2613
- } else _push(ssrRenderComponent(_component_ScenarioReviewTimeline, {
2614
- events: unref(timeline),
2615
- "video-src": unref(state).videoSessionId ? `${unref(url)}/recording/${unref(state).videoSessionId}` : null,
2616
- "recording-started-at": unref(state).recordingStartedAt,
2617
- resumable: "",
2618
- onResume: resume
2619
- }, null, _parent, _scopeId));
2620
- if (unref(error)) _push(ssrRenderComponent(_component_UAlert, {
2621
- color: "error",
2622
- variant: "soft",
2623
- description: unref(error),
2624
- class: "mt-4",
2625
- "data-testid": "revisao-erro"
2626
- }, null, _parent, _scopeId));
2627
- else _push(`<!---->`);
2628
- } else return [unref(step) === "loading" ? (openBlock(), createBlock(_component_ScenarioReviewLoading, { key: 0 })) : unref(step) === "edit" ? (openBlock(), createBlock(Fragment, { key: 1 }, [createVNode(_component_ScenarioWarnings, {
2629
- warnings: unref(draft).warnings,
2630
- slug: __props.slug,
2631
- class: "mb-4"
2632
- }, null, 8, ["warnings", "slug"]), createVNode(_component_ScenarioReviewContexts, {
2633
- draft: unref(draft),
2634
- "onUpdate:draft": ($event) => isRef(draft) ? draft.value = $event : null,
2635
- novo: ""
2636
- }, null, 8, ["draft", "onUpdate:draft"])], 64)) : (openBlock(), createBlock(_component_ScenarioReviewTimeline, {
2637
- key: 2,
2638
- events: unref(timeline),
2639
- "video-src": unref(state).videoSessionId ? `${unref(url)}/recording/${unref(state).videoSessionId}` : null,
2640
- "recording-started-at": unref(state).recordingStartedAt,
2641
- resumable: "",
2642
- onResume: resume
2643
- }, null, 8, [
2644
- "events",
2645
- "video-src",
2646
- "recording-started-at"
2647
- ])), unref(error) ? (openBlock(), createBlock(_component_UAlert, {
2648
- key: 3,
2649
- color: "error",
2650
- variant: "soft",
2651
- description: unref(error),
2652
- class: "mt-4",
2653
- "data-testid": "revisao-erro"
2654
- }, null, 8, ["description"])) : createCommentVNode("", true)];
2655
- }),
2656
- footer: withCtx((_, _push, _parent, _scopeId) => {
2657
- if (_push) {
2658
- if (unref(step) === "edit") {
2659
- _push(`<!--[-->`);
2660
- _push(ssrRenderComponent(_component_UButton, {
2661
- label: "Cancelar",
2662
- color: "neutral",
2663
- variant: "ghost",
2664
- "data-testid": "contexto-cancelar",
2665
- onClick: ($event) => open.value = false
2666
- }, null, _parent, _scopeId));
2667
- _push(ssrRenderComponent(_component_UButton, {
2668
- label: "Enviar",
2669
- loading: unref(submitting),
2670
- "data-testid": "contexto-enviar",
2671
- onClick: commit
2672
- }, null, _parent, _scopeId));
2673
- _push(`<!--]-->`);
2674
- } else {
2675
- _push(`<!--[-->`);
2676
- _push(ssrRenderComponent(_component_UButton, {
2677
- label: "Gravar novamente",
2678
- color: "neutral",
2679
- variant: "soft",
2680
- class: "mr-auto",
2681
- "data-testid": "revisao-regravar",
2682
- onClick: rerecord
2683
- }, null, _parent, _scopeId));
2684
- _push(ssrRenderComponent(_component_UButton, {
2685
- label: "Cancelar",
2686
- color: "neutral",
2687
- variant: "ghost",
2688
- "data-testid": "revisao-cancelar",
2689
- onClick: ($event) => open.value = false
2690
- }, null, _parent, _scopeId));
2691
- _push(ssrRenderComponent(_component_UButton, {
2692
- label: "Gerar cenário",
2693
- "data-testid": "revisao-gerar",
2694
- onClick: generate
2695
- }, null, _parent, _scopeId));
2696
- _push(`<!--]-->`);
2697
- }
2698
- } else return [unref(step) === "edit" ? (openBlock(), createBlock(Fragment, { key: 0 }, [createVNode(_component_UButton, {
2699
- label: "Cancelar",
2700
- color: "neutral",
2701
- variant: "ghost",
2702
- "data-testid": "contexto-cancelar",
2703
- onClick: ($event) => open.value = false
2704
- }, null, 8, ["onClick"]), createVNode(_component_UButton, {
2705
- label: "Enviar",
2706
- loading: unref(submitting),
2707
- "data-testid": "contexto-enviar",
2708
- onClick: commit
2709
- }, null, 8, ["loading"])], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
2710
- createVNode(_component_UButton, {
2711
- label: "Gravar novamente",
2712
- color: "neutral",
2713
- variant: "soft",
2714
- class: "mr-auto",
2715
- "data-testid": "revisao-regravar",
2716
- onClick: rerecord
2717
- }),
2718
- createVNode(_component_UButton, {
2719
- label: "Cancelar",
2720
- color: "neutral",
2721
- variant: "ghost",
2722
- "data-testid": "revisao-cancelar",
2723
- onClick: ($event) => open.value = false
2724
- }, null, 8, ["onClick"]),
2725
- createVNode(_component_UButton, {
2726
- label: "Gerar cenário",
2727
- "data-testid": "revisao-gerar",
2728
- onClick: generate
2729
- })
2730
- ], 64))];
2731
- }),
2732
- _: 1
2733
- }, _parent));
2734
- };
2735
- }
2736
- });
2737
- //#endregion
2738
- //#region app/components/scenario/review/modal.vue
2739
- var _sfc_setup$5 = modal_vue_vue_type_script_setup_true_lang_default$2.setup;
2740
- modal_vue_vue_type_script_setup_true_lang_default$2.setup = (props, ctx) => {
2741
- const ssrContext = useSSRContext();
2742
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/scenario/review/modal.vue");
2743
- return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
2744
- };
2745
- var modal_default$2 = Object.assign(modal_vue_vue_type_script_setup_true_lang_default$2, { __name: "ScenarioReviewModal" });
2746
- //#endregion
2747
2640
  //#region app/components/scenario/empty.vue?vue&type=script&setup=true&lang.ts
2748
2641
  var empty_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
2749
2642
  __name: "empty",
@@ -2756,8 +2649,8 @@ var empty_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
2756
2649
  setup(__props, { emit: __emit }) {
2757
2650
  const emit = __emit;
2758
2651
  return (_ctx, _push, _parent, _attrs) => {
2759
- const _component_UCard = _sfc_main$7;
2760
- const _component_UIcon = _sfc_main$2$1;
2652
+ const _component_UCard = _sfc_main$6;
2653
+ const _component_UIcon = _sfc_main$8;
2761
2654
  _push(`<div${ssrRenderAttrs(mergeProps({
2762
2655
  "data-testid": "cenario-vazio",
2763
2656
  class: "py-10 text-center"
@@ -2792,11 +2685,11 @@ var empty_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
2792
2685
  });
2793
2686
  //#endregion
2794
2687
  //#region app/components/scenario/empty.vue
2795
- var _sfc_setup$4 = empty_vue_vue_type_script_setup_true_lang_default.setup;
2688
+ var _sfc_setup$6 = empty_vue_vue_type_script_setup_true_lang_default.setup;
2796
2689
  empty_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
2797
2690
  const ssrContext = useSSRContext();
2798
2691
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/scenario/empty.vue");
2799
- return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
2692
+ return _sfc_setup$6 ? _sfc_setup$6(props, ctx) : void 0;
2800
2693
  };
2801
2694
  var empty_default = Object.assign(empty_vue_vue_type_script_setup_true_lang_default, { __name: "ScenarioEmpty" });
2802
2695
  //#endregion
@@ -2834,9 +2727,9 @@ var vars_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
2834
2727
  return variable.secret && !revealed.value.includes(index) ? "password" : "text";
2835
2728
  }
2836
2729
  return (_ctx, _push, _parent, _attrs) => {
2837
- const _component_UInput = _sfc_main$6$1;
2838
- const _component_UButton = _sfc_main$6;
2839
- const _component_UTooltip = _sfc_main$8;
2730
+ const _component_UInput = _sfc_main$5;
2731
+ const _component_UButton = _sfc_main$3$2;
2732
+ const _component_UTooltip = _sfc_main$7;
2840
2733
  _push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col gap-2" }, _attrs))}><datalist${ssrRenderAttr("id", unref(keyListId))}><!--[-->`);
2841
2734
  ssrRenderList(__props.knownKeys, (key) => {
2842
2735
  _push(`<option${ssrRenderAttr("value", key)}></option>`);
@@ -2942,16 +2835,16 @@ var vars_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
2942
2835
  });
2943
2836
  //#endregion
2944
2837
  //#region app/components/project/environments/vars.vue
2945
- var _sfc_setup$3 = vars_vue_vue_type_script_setup_true_lang_default.setup;
2838
+ var _sfc_setup$5 = vars_vue_vue_type_script_setup_true_lang_default.setup;
2946
2839
  vars_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
2947
2840
  const ssrContext = useSSRContext();
2948
2841
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/project/environments/vars.vue");
2949
- return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
2842
+ return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
2950
2843
  };
2951
2844
  var vars_default = Object.assign(vars_vue_vue_type_script_setup_true_lang_default, { __name: "ProjectEnvironmentsVars" });
2952
2845
  //#endregion
2953
2846
  //#region app/components/project/environments/modal.vue?vue&type=script&setup=true&lang.ts
2954
- var modal_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineComponent({
2847
+ var modal_vue_vue_type_script_setup_true_lang_default$2 = /*@__PURE__*/ defineComponent({
2955
2848
  __name: "modal",
2956
2849
  __ssrInlineRender: true,
2957
2850
  props: /*@__PURE__*/ mergeModels({ slug: {} }, {
@@ -3092,10 +2985,10 @@ var modal_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineCo
3092
2985
  confirmingRemove.value = false;
3093
2986
  }
3094
2987
  return (_ctx, _push, _parent, _attrs) => {
3095
- const _component_BaseModal = modal_default$1$1;
3096
- const _component_UButton = _sfc_main$6;
3097
- const _component_UInput = _sfc_main$6$1;
3098
- const _component_UFormField = _sfc_main$8$1;
2988
+ const _component_BaseModal = modal_default$4;
2989
+ const _component_UButton = _sfc_main$3$2;
2990
+ const _component_UInput = _sfc_main$5;
2991
+ const _component_UFormField = _sfc_main$1$1;
3099
2992
  const _component_ProjectEnvironmentsVars = vars_default;
3100
2993
  const _component_BaseEmpty = empty_default$1;
3101
2994
  _push(ssrRenderComponent(_component_BaseModal, mergeProps({
@@ -3343,16 +3236,16 @@ var modal_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineCo
3343
3236
  });
3344
3237
  //#endregion
3345
3238
  //#region app/components/project/environments/modal.vue
3346
- var _sfc_setup$2 = modal_vue_vue_type_script_setup_true_lang_default$1.setup;
3347
- modal_vue_vue_type_script_setup_true_lang_default$1.setup = (props, ctx) => {
3239
+ var _sfc_setup$4 = modal_vue_vue_type_script_setup_true_lang_default$2.setup;
3240
+ modal_vue_vue_type_script_setup_true_lang_default$2.setup = (props, ctx) => {
3348
3241
  const ssrContext = useSSRContext();
3349
3242
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/project/environments/modal.vue");
3350
- return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
3243
+ return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
3351
3244
  };
3352
- var modal_default$1 = Object.assign(modal_vue_vue_type_script_setup_true_lang_default$1, { __name: "ProjectEnvironmentsModal" });
3245
+ var modal_default$2 = Object.assign(modal_vue_vue_type_script_setup_true_lang_default$2, { __name: "ProjectEnvironmentsModal" });
3353
3246
  //#endregion
3354
3247
  //#region app/components/project/settings/modal.vue?vue&type=script&setup=true&lang.ts
3355
- var modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
3248
+ var modal_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineComponent({
3356
3249
  __name: "modal",
3357
3250
  __ssrInlineRender: true,
3358
3251
  props: /*@__PURE__*/ mergeModels({
@@ -3406,11 +3299,11 @@ var modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
3406
3299
  }
3407
3300
  }
3408
3301
  return (_ctx, _push, _parent, _attrs) => {
3409
- const _component_BaseModal = modal_default$1$1;
3410
- const _component_UAlert = _sfc_main$5;
3411
- const _component_UFormField = _sfc_main$8$1;
3412
- const _component_UInput = _sfc_main$6$1;
3413
- const _component_UButton = _sfc_main$6;
3302
+ const _component_BaseModal = modal_default$4;
3303
+ const _component_UAlert = _sfc_main$4;
3304
+ const _component_UFormField = _sfc_main$1$1;
3305
+ const _component_UInput = _sfc_main$5;
3306
+ const _component_UButton = _sfc_main$3$2;
3414
3307
  _push(ssrRenderComponent(_component_BaseModal, mergeProps({
3415
3308
  open: open.value,
3416
3309
  "onUpdate:open": ($event) => open.value = $event,
@@ -3512,13 +3405,449 @@ var modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
3512
3405
  });
3513
3406
  //#endregion
3514
3407
  //#region app/components/project/settings/modal.vue
3408
+ var _sfc_setup$3 = modal_vue_vue_type_script_setup_true_lang_default$1.setup;
3409
+ modal_vue_vue_type_script_setup_true_lang_default$1.setup = (props, ctx) => {
3410
+ const ssrContext = useSSRContext();
3411
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/project/settings/modal.vue");
3412
+ return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
3413
+ };
3414
+ var modal_default$1 = Object.assign(modal_vue_vue_type_script_setup_true_lang_default$1, { __name: "ProjectSettingsModal" });
3415
+ //#endregion
3416
+ //#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fcollapsible.ts
3417
+ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fcollapsible_default = { "slots": {
3418
+ "root": "",
3419
+ "content": "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] data-[state=closed]:overflow-hidden"
3420
+ } };
3421
+ //#endregion
3422
+ //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Collapsible.vue
3423
+ var _sfc_main = {
3424
+ __name: "UCollapsible",
3425
+ __ssrInlineRender: true,
3426
+ props: {
3427
+ as: {
3428
+ type: null,
3429
+ required: false
3430
+ },
3431
+ class: {
3432
+ type: null,
3433
+ required: false
3434
+ },
3435
+ ui: {
3436
+ type: Object,
3437
+ required: false
3438
+ },
3439
+ defaultOpen: {
3440
+ type: Boolean,
3441
+ required: false
3442
+ },
3443
+ open: {
3444
+ type: Boolean,
3445
+ required: false
3446
+ },
3447
+ disabled: {
3448
+ type: Boolean,
3449
+ required: false
3450
+ },
3451
+ unmountOnHide: {
3452
+ type: Boolean,
3453
+ required: false,
3454
+ default: true
3455
+ }
3456
+ },
3457
+ emits: ["update:open"],
3458
+ setup(__props, { emit: __emit }) {
3459
+ const _props = __props;
3460
+ const emits = __emit;
3461
+ const slots = useSlots();
3462
+ const props = useComponentProps("collapsible", _props);
3463
+ const appConfig = useAppConfig();
3464
+ const rootProps = useForwardProps(reactivePick(props, "as", "defaultOpen", "open", "disabled", "unmountOnHide"), emits);
3465
+ const ui = computed(() => tv({
3466
+ extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fcollapsible_default,
3467
+ ...appConfig.ui?.collapsible || {}
3468
+ })());
3469
+ return (_ctx, _push, _parent, _attrs) => {
3470
+ _push(ssrRenderComponent(unref(CollapsibleRoot_default), mergeProps(unref(rootProps), {
3471
+ "data-slot": "root",
3472
+ class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] })
3473
+ }, _attrs), {
3474
+ default: withCtx(({ open }, _push, _parent, _scopeId) => {
3475
+ if (_push) {
3476
+ if (!!slots.default) _push(ssrRenderComponent(unref(CollapsibleTrigger_default), { "as-child": "" }, {
3477
+ default: withCtx((_, _push, _parent, _scopeId) => {
3478
+ if (_push) ssrRenderSlot(_ctx.$slots, "default", { open }, null, _push, _parent, _scopeId);
3479
+ else return [renderSlot(_ctx.$slots, "default", { open })];
3480
+ }),
3481
+ _: 2
3482
+ }, _parent, _scopeId));
3483
+ else _push(`<!---->`);
3484
+ _push(ssrRenderComponent(unref(CollapsibleContent_default), {
3485
+ "data-slot": "content",
3486
+ class: ui.value.content({ class: unref(props).ui?.content })
3487
+ }, {
3488
+ default: withCtx((_, _push, _parent, _scopeId) => {
3489
+ if (_push) ssrRenderSlot(_ctx.$slots, "content", {}, null, _push, _parent, _scopeId);
3490
+ else return [renderSlot(_ctx.$slots, "content")];
3491
+ }),
3492
+ _: 2
3493
+ }, _parent, _scopeId));
3494
+ } else return [!!slots.default ? (openBlock(), createBlock(unref(CollapsibleTrigger_default), {
3495
+ key: 0,
3496
+ "as-child": ""
3497
+ }, {
3498
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", { open })]),
3499
+ _: 2
3500
+ }, 1024)) : createCommentVNode("", true), createVNode(unref(CollapsibleContent_default), {
3501
+ "data-slot": "content",
3502
+ class: ui.value.content({ class: unref(props).ui?.content })
3503
+ }, {
3504
+ default: withCtx(() => [renderSlot(_ctx.$slots, "content")]),
3505
+ _: 3
3506
+ }, 8, ["class"])];
3507
+ }),
3508
+ _: 3
3509
+ }, _parent));
3510
+ };
3511
+ }
3512
+ };
3513
+ var _sfc_setup$2 = _sfc_main.setup;
3514
+ _sfc_main.setup = (props, ctx) => {
3515
+ const ssrContext = useSSRContext();
3516
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Collapsible.vue");
3517
+ return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
3518
+ };
3519
+ //#endregion
3520
+ //#region app/components/project/run-filtered/modal.vue?vue&type=script&setup=true&lang.ts
3521
+ var modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
3522
+ __name: "modal",
3523
+ __ssrInlineRender: true,
3524
+ props: /*@__PURE__*/ mergeModels({
3525
+ running: {
3526
+ type: Boolean,
3527
+ default: false
3528
+ },
3529
+ passed: {
3530
+ type: Boolean,
3531
+ default: false
3532
+ },
3533
+ tests: { default: () => [] },
3534
+ projectName: {},
3535
+ slug: {},
3536
+ filter: { default: "" },
3537
+ testedAt: { default: null },
3538
+ output: { default: null }
3539
+ }, {
3540
+ "open": {
3541
+ type: Boolean,
3542
+ default: false
3543
+ },
3544
+ "openModifiers": {}
3545
+ }),
3546
+ emits: ["update:open"],
3547
+ setup(__props) {
3548
+ const open = useModel(__props, "open");
3549
+ const testIcons = {
3550
+ waiting: "i-ic-round-radio-button-unchecked",
3551
+ running: "line-md:loading-twotone-loop",
3552
+ success: "i-ic-round-check-circle",
3553
+ failed: "i-ic-round-error"
3554
+ };
3555
+ const testColors = {
3556
+ waiting: "text-dimmed",
3557
+ running: "text-neutral",
3558
+ success: "text-success",
3559
+ failed: "text-error"
3560
+ };
3561
+ /** O teste chega em execução e só depois falha, então abrir o que falhou é reação, não estado inicial. */
3562
+ const opened = ref([]);
3563
+ watch(() => __props.tests, (current) => {
3564
+ if (!current.length) {
3565
+ opened.value = [];
3566
+ return;
3567
+ }
3568
+ const failed = current.filter((test) => test.status === "failed").map((test) => test.id);
3569
+ opened.value = [.../* @__PURE__ */ new Set([...opened.value, ...failed])];
3570
+ }, {
3571
+ deep: true,
3572
+ immediate: true
3573
+ });
3574
+ function toggle(id, open) {
3575
+ opened.value = open ? [...opened.value, id] : opened.value.filter((other) => other !== id);
3576
+ }
3577
+ function ownError(test) {
3578
+ return test.error && test.steps.every((step) => step.status !== "failed") ? test.error : null;
3579
+ }
3580
+ return (_ctx, _push, _parent, _attrs) => {
3581
+ const _component_BaseModal = modal_default$4;
3582
+ const _component_UBadge = _sfc_main$2$1;
3583
+ const _component_BaseLoadingPhrases = phrases_default;
3584
+ const _component_UAlert = _sfc_main$4;
3585
+ const _component_UCollapsible = _sfc_main;
3586
+ const _component_UButton = _sfc_main$3$2;
3587
+ const _component_ScenarioTestRunSteps = steps_default;
3588
+ _push(ssrRenderComponent(_component_BaseModal, mergeProps({
3589
+ open: open.value,
3590
+ "onUpdate:open": ($event) => open.value = $event,
3591
+ dismissable: !__props.running,
3592
+ wide: ""
3593
+ }, _attrs), createSlots({
3594
+ header: withCtx((_, _push, _parent, _scopeId) => {
3595
+ if (_push) {
3596
+ _push(`<div class="flex flex-col pt-6 gap-2"${_scopeId}>`);
3597
+ if (__props.running) _push(`<p class="text-xl font-bold"${_scopeId}> Testando cenários filtrados... </p>`);
3598
+ else {
3599
+ _push(`<!--[-->`);
3600
+ _push(ssrRenderComponent(_component_UBadge, {
3601
+ class: "self-start",
3602
+ color: __props.passed ? "success" : "error",
3603
+ icon: __props.passed ? "i-ic-round-check-circle" : "i-ic-round-error",
3604
+ label: __props.passed ? "Sucesso" : "Falha",
3605
+ "data-testid": "execucao-status"
3606
+ }, null, _parent, _scopeId));
3607
+ _push(`<p class="mt-2 text-xl font-bold"${_scopeId}> Resultado dos testes </p><!--]-->`);
3608
+ }
3609
+ _push(`</div>`);
3610
+ } else return [createVNode("div", { class: "flex flex-col pt-6 gap-2" }, [__props.running ? (openBlock(), createBlock("p", {
3611
+ key: 0,
3612
+ class: "text-xl font-bold"
3613
+ }, " Testando cenários filtrados... ")) : (openBlock(), createBlock(Fragment, { key: 1 }, [createVNode(_component_UBadge, {
3614
+ class: "self-start",
3615
+ color: __props.passed ? "success" : "error",
3616
+ icon: __props.passed ? "i-ic-round-check-circle" : "i-ic-round-error",
3617
+ label: __props.passed ? "Sucesso" : "Falha",
3618
+ "data-testid": "execucao-status"
3619
+ }, null, 8, [
3620
+ "color",
3621
+ "icon",
3622
+ "label"
3623
+ ]), createVNode("p", { class: "mt-2 text-xl font-bold" }, " Resultado dos testes ")], 64))])];
3624
+ }),
3625
+ body: withCtx((_, _push, _parent, _scopeId) => {
3626
+ if (_push) {
3627
+ if (__props.running && __props.tests.length === 0) _push(ssrRenderComponent(_component_BaseLoadingPhrases, {
3628
+ phrases: ["Iniciando a execução"],
3629
+ "data-testid": "execucao-iniciando"
3630
+ }, null, _parent, _scopeId));
3631
+ else {
3632
+ _push(`<!--[-->`);
3633
+ if (!__props.running) {
3634
+ _push(`<div class="mb-6 space-y-0.5 text-sm" data-testid="execucao-detalhes"${_scopeId}><p${_scopeId}><span class="font-semibold"${_scopeId}>Projeto:</span> ${ssrInterpolate(__props.projectName)}</p>`);
3635
+ if (__props.filter) _push(`<p${_scopeId}><span class="font-semibold"${_scopeId}>Filtro:</span> ${ssrInterpolate(__props.filter)}</p>`);
3636
+ else _push(`<!---->`);
3637
+ _push(`<p${_scopeId}><span class="font-semibold"${_scopeId}>Cenários:</span> ${ssrInterpolate(__props.tests.length)}</p>`);
3638
+ if (__props.testedAt) _push(`<p${_scopeId}><span class="font-semibold"${_scopeId}>Testado em:</span> ${ssrInterpolate(__props.testedAt)}</p>`);
3639
+ else _push(`<!---->`);
3640
+ _push(`</div>`);
3641
+ } else _push(`<!---->`);
3642
+ if (__props.output) _push(ssrRenderComponent(_component_UAlert, {
3643
+ color: "error",
3644
+ variant: "soft",
3645
+ icon: "i-ic-round-error",
3646
+ title: "A execução não chegou a começar",
3647
+ class: "mb-6",
3648
+ "data-testid": "execucao-saida"
3649
+ }, {
3650
+ description: withCtx((_, _push, _parent, _scopeId) => {
3651
+ if (_push) _push(`<p class="mb-2"${_scopeId}> O Playwright encerrou antes de rodar qualquer passo. Saída do runner: </p><code class="block whitespace-pre-wrap font-mono text-xs"${_scopeId}>${ssrInterpolate(__props.output)}</code>`);
3652
+ else return [createVNode("p", { class: "mb-2" }, " O Playwright encerrou antes de rodar qualquer passo. Saída do runner: "), createVNode("code", { class: "block whitespace-pre-wrap font-mono text-xs" }, toDisplayString(__props.output), 1)];
3653
+ }),
3654
+ _: 1
3655
+ }, _parent, _scopeId));
3656
+ else _push(`<!---->`);
3657
+ _push(`<div class="flex flex-col gap-3"${_scopeId}><!--[-->`);
3658
+ ssrRenderList(__props.tests, (test) => {
3659
+ _push(ssrRenderComponent(_component_UCollapsible, {
3660
+ key: test.id,
3661
+ open: unref(opened).includes(test.id),
3662
+ "data-testid": "execucao-teste",
3663
+ "data-status": test.status,
3664
+ "onUpdate:open": ($event) => toggle(test.id, $event)
3665
+ }, {
3666
+ content: withCtx((_, _push, _parent, _scopeId) => {
3667
+ if (_push) {
3668
+ _push(`<div class="mt-1 rounded-md bg-elevated py-3 pl-3.5 pr-3"${_scopeId}>`);
3669
+ if (ownError(test)) _push(`<p class="text-sm text-dimmed" data-testid="execucao-teste-erro"${_scopeId}><span class="font-semibold text-error"${_scopeId}>Erro:</span> ${ssrInterpolate(ownError(test))}</p>`);
3670
+ else if (test.steps.length === 0) _push(`<p class="text-sm text-dimmed"${_scopeId}> Nenhum passo reportado. </p>`);
3671
+ else _push(`<!---->`);
3672
+ _push(ssrRenderComponent(_component_ScenarioTestRunSteps, { steps: test.steps }, null, _parent, _scopeId));
3673
+ _push(`</div>`);
3674
+ } else return [createVNode("div", { class: "mt-1 rounded-md bg-elevated py-3 pl-3.5 pr-3" }, [ownError(test) ? (openBlock(), createBlock("p", {
3675
+ key: 0,
3676
+ class: "text-sm text-dimmed",
3677
+ "data-testid": "execucao-teste-erro"
3678
+ }, [createVNode("span", { class: "font-semibold text-error" }, "Erro:"), createTextVNode(" " + toDisplayString(ownError(test)), 1)])) : test.steps.length === 0 ? (openBlock(), createBlock("p", {
3679
+ key: 1,
3680
+ class: "text-sm text-dimmed"
3681
+ }, " Nenhum passo reportado. ")) : createCommentVNode("", true), createVNode(_component_ScenarioTestRunSteps, { steps: test.steps }, null, 8, ["steps"])])];
3682
+ }),
3683
+ default: withCtx((_, _push, _parent, _scopeId) => {
3684
+ if (_push) _push(ssrRenderComponent(_component_UButton, {
3685
+ block: "",
3686
+ color: "neutral",
3687
+ variant: "soft",
3688
+ icon: testIcons[test.status],
3689
+ "trailing-icon": "i-ic-round-expand-more",
3690
+ ui: {
3691
+ base: "justify-start gap-3",
3692
+ leadingIcon: testColors[test.status],
3693
+ trailingIcon: "text-dimmed"
3694
+ },
3695
+ "data-testid": "execucao-teste-abrir"
3696
+ }, {
3697
+ default: withCtx((_, _push, _parent, _scopeId) => {
3698
+ if (_push) _push(`<span class="grow truncate text-left" data-testid="execucao-teste-titulo"${_scopeId}>${ssrInterpolate(test.title)}</span>`);
3699
+ else return [createVNode("span", {
3700
+ class: "grow truncate text-left",
3701
+ "data-testid": "execucao-teste-titulo"
3702
+ }, toDisplayString(test.title), 1)];
3703
+ }),
3704
+ _: 2
3705
+ }, _parent, _scopeId));
3706
+ else return [createVNode(_component_UButton, {
3707
+ block: "",
3708
+ color: "neutral",
3709
+ variant: "soft",
3710
+ icon: testIcons[test.status],
3711
+ "trailing-icon": "i-ic-round-expand-more",
3712
+ ui: {
3713
+ base: "justify-start gap-3",
3714
+ leadingIcon: testColors[test.status],
3715
+ trailingIcon: "text-dimmed"
3716
+ },
3717
+ "data-testid": "execucao-teste-abrir"
3718
+ }, {
3719
+ default: withCtx(() => [createVNode("span", {
3720
+ class: "grow truncate text-left",
3721
+ "data-testid": "execucao-teste-titulo"
3722
+ }, toDisplayString(test.title), 1)]),
3723
+ _: 2
3724
+ }, 1032, ["icon", "ui"])];
3725
+ }),
3726
+ _: 2
3727
+ }, _parent, _scopeId));
3728
+ });
3729
+ _push(`<!--]--></div><!--]-->`);
3730
+ }
3731
+ } else return [__props.running && __props.tests.length === 0 ? (openBlock(), createBlock(_component_BaseLoadingPhrases, {
3732
+ key: 0,
3733
+ phrases: ["Iniciando a execução"],
3734
+ "data-testid": "execucao-iniciando"
3735
+ })) : (openBlock(), createBlock(Fragment, { key: 1 }, [
3736
+ !__props.running ? (openBlock(), createBlock("div", {
3737
+ key: 0,
3738
+ class: "mb-6 space-y-0.5 text-sm",
3739
+ "data-testid": "execucao-detalhes"
3740
+ }, [
3741
+ createVNode("p", null, [createVNode("span", { class: "font-semibold" }, "Projeto:"), createTextVNode(" " + toDisplayString(__props.projectName), 1)]),
3742
+ __props.filter ? (openBlock(), createBlock("p", { key: 0 }, [createVNode("span", { class: "font-semibold" }, "Filtro:"), createTextVNode(" " + toDisplayString(__props.filter), 1)])) : createCommentVNode("", true),
3743
+ createVNode("p", null, [createVNode("span", { class: "font-semibold" }, "Cenários:"), createTextVNode(" " + toDisplayString(__props.tests.length), 1)]),
3744
+ __props.testedAt ? (openBlock(), createBlock("p", { key: 1 }, [createVNode("span", { class: "font-semibold" }, "Testado em:"), createTextVNode(" " + toDisplayString(__props.testedAt), 1)])) : createCommentVNode("", true)
3745
+ ])) : createCommentVNode("", true),
3746
+ __props.output ? (openBlock(), createBlock(_component_UAlert, {
3747
+ key: 1,
3748
+ color: "error",
3749
+ variant: "soft",
3750
+ icon: "i-ic-round-error",
3751
+ title: "A execução não chegou a começar",
3752
+ class: "mb-6",
3753
+ "data-testid": "execucao-saida"
3754
+ }, {
3755
+ description: withCtx(() => [createVNode("p", { class: "mb-2" }, " O Playwright encerrou antes de rodar qualquer passo. Saída do runner: "), createVNode("code", { class: "block whitespace-pre-wrap font-mono text-xs" }, toDisplayString(__props.output), 1)]),
3756
+ _: 1
3757
+ })) : createCommentVNode("", true),
3758
+ createVNode("div", { class: "flex flex-col gap-3" }, [(openBlock(true), createBlock(Fragment, null, renderList(__props.tests, (test) => {
3759
+ return openBlock(), createBlock(_component_UCollapsible, {
3760
+ key: test.id,
3761
+ open: unref(opened).includes(test.id),
3762
+ "data-testid": "execucao-teste",
3763
+ "data-status": test.status,
3764
+ "onUpdate:open": ($event) => toggle(test.id, $event)
3765
+ }, {
3766
+ content: withCtx(() => [createVNode("div", { class: "mt-1 rounded-md bg-elevated py-3 pl-3.5 pr-3" }, [ownError(test) ? (openBlock(), createBlock("p", {
3767
+ key: 0,
3768
+ class: "text-sm text-dimmed",
3769
+ "data-testid": "execucao-teste-erro"
3770
+ }, [createVNode("span", { class: "font-semibold text-error" }, "Erro:"), createTextVNode(" " + toDisplayString(ownError(test)), 1)])) : test.steps.length === 0 ? (openBlock(), createBlock("p", {
3771
+ key: 1,
3772
+ class: "text-sm text-dimmed"
3773
+ }, " Nenhum passo reportado. ")) : createCommentVNode("", true), createVNode(_component_ScenarioTestRunSteps, { steps: test.steps }, null, 8, ["steps"])])]),
3774
+ default: withCtx(() => [createVNode(_component_UButton, {
3775
+ block: "",
3776
+ color: "neutral",
3777
+ variant: "soft",
3778
+ icon: testIcons[test.status],
3779
+ "trailing-icon": "i-ic-round-expand-more",
3780
+ ui: {
3781
+ base: "justify-start gap-3",
3782
+ leadingIcon: testColors[test.status],
3783
+ trailingIcon: "text-dimmed"
3784
+ },
3785
+ "data-testid": "execucao-teste-abrir"
3786
+ }, {
3787
+ default: withCtx(() => [createVNode("span", {
3788
+ class: "grow truncate text-left",
3789
+ "data-testid": "execucao-teste-titulo"
3790
+ }, toDisplayString(test.title), 1)]),
3791
+ _: 2
3792
+ }, 1032, ["icon", "ui"])]),
3793
+ _: 2
3794
+ }, 1032, [
3795
+ "open",
3796
+ "data-status",
3797
+ "onUpdate:open"
3798
+ ]);
3799
+ }), 128))])
3800
+ ], 64))];
3801
+ }),
3802
+ _: 2
3803
+ }, [!__props.running ? {
3804
+ name: "footer",
3805
+ fn: withCtx((_, _push, _parent, _scopeId) => {
3806
+ if (_push) {
3807
+ _push(ssrRenderComponent(_component_UButton, {
3808
+ label: "Fechar",
3809
+ color: "neutral",
3810
+ variant: "ghost",
3811
+ "data-testid": "execucao-fechar",
3812
+ onClick: ($event) => open.value = false
3813
+ }, null, _parent, _scopeId));
3814
+ _push(ssrRenderComponent(_component_UButton, {
3815
+ label: "Relatório do Playwright",
3816
+ "trailing-icon": "i-ic-round-assessment",
3817
+ to: unref(reportUrlFor)(__props.slug),
3818
+ target: "_blank",
3819
+ external: "",
3820
+ "data-testid": "execucao-relatorio"
3821
+ }, null, _parent, _scopeId));
3822
+ } else return [createVNode(_component_UButton, {
3823
+ label: "Fechar",
3824
+ color: "neutral",
3825
+ variant: "ghost",
3826
+ "data-testid": "execucao-fechar",
3827
+ onClick: ($event) => open.value = false
3828
+ }, null, 8, ["onClick"]), createVNode(_component_UButton, {
3829
+ label: "Relatório do Playwright",
3830
+ "trailing-icon": "i-ic-round-assessment",
3831
+ to: unref(reportUrlFor)(__props.slug),
3832
+ target: "_blank",
3833
+ external: "",
3834
+ "data-testid": "execucao-relatorio"
3835
+ }, null, 8, ["to"])];
3836
+ }),
3837
+ key: "0"
3838
+ } : void 0]), _parent));
3839
+ };
3840
+ }
3841
+ });
3842
+ //#endregion
3843
+ //#region app/components/project/run-filtered/modal.vue
3515
3844
  var _sfc_setup$1 = modal_vue_vue_type_script_setup_true_lang_default.setup;
3516
3845
  modal_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
3517
3846
  const ssrContext = useSSRContext();
3518
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/project/settings/modal.vue");
3847
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/project/run-filtered/modal.vue");
3519
3848
  return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
3520
3849
  };
3521
- var modal_default = Object.assign(modal_vue_vue_type_script_setup_true_lang_default, { __name: "ProjectSettingsModal" });
3850
+ var modal_default = Object.assign(modal_vue_vue_type_script_setup_true_lang_default, { __name: "ProjectRunFilteredModal" });
3522
3851
  //#endregion
3523
3852
  //#region app/pages/projects/[slug].vue?vue&type=script&setup=true&lang.ts
3524
3853
  var AUTH_SPEC = "tests/auth.setup.ts";
@@ -3670,23 +3999,23 @@ var _slug__vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
3670
3999
  }
3671
4000
  }
3672
4001
  return (_ctx, _push, _parent, _attrs) => {
3673
- const _component_UContainer = _sfc_main$3;
4002
+ const _component_UContainer = _sfc_main$3$1;
3674
4003
  const _component_BaseButtonIcon = icon_default;
3675
- const _component_UBadge = _sfc_main$4;
4004
+ const _component_UBadge = _sfc_main$2$1;
3676
4005
  const _component_ProjectRenameInline = inline_default;
3677
4006
  const _component_ProjectEnvironmentsSelect = select_default;
3678
- const _component_UAlert = _sfc_main$5;
3679
- const _component_UButton = _sfc_main$6;
3680
- const _component_UInput = _sfc_main$6$1;
3681
- const _component_UDropdownMenu = _sfc_main;
4007
+ const _component_UAlert = _sfc_main$4;
4008
+ const _component_UButton = _sfc_main$3$2;
4009
+ const _component_UInput = _sfc_main$5;
4010
+ const _component_UDropdownMenu = _sfc_main$1;
3682
4011
  const _component_WebdriverSetup = setup_default;
3683
- const _component_ScenarioReviewModal = modal_default$2;
3684
- const _component_UCard = _sfc_main$7;
4012
+ const _component_ScenarioReviewModal = modal_default$1$1;
4013
+ const _component_UCard = _sfc_main$6;
3685
4014
  const _component_ScenarioEmpty = empty_default;
3686
- const _component_ProjectEnvironmentsModal = modal_default$1;
3687
- const _component_ProjectSettingsModal = modal_default;
3688
- const _component_ProjectRunFilteredModal = modal_default$3;
3689
- const _component_ScenarioTestRunModal = modal_default$4;
4015
+ const _component_ProjectEnvironmentsModal = modal_default$2;
4016
+ const _component_ProjectSettingsModal = modal_default$1;
4017
+ const _component_ProjectRunFilteredModal = modal_default;
4018
+ const _component_ScenarioTestRunModal = modal_default$3;
3690
4019
  const _component_BaseConfirm = confirm_default;
3691
4020
  _push(ssrRenderComponent(_component_UContainer, mergeProps({
3692
4021
  "data-hydrated": unref(hydrated),
@@ -4343,4 +4672,4 @@ _slug__vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
4343
4672
  var _slug__default = _slug__vue_vue_type_script_setup_true_lang_default;
4344
4673
 
4345
4674
  export { _slug__default as default };
4346
- //# sourceMappingURL=_slug_-0Xu9aQ3b.mjs.map
4675
+ //# sourceMappingURL=_slug_-COpWNGAB.mjs.map