@acutis/cli 0.5.1 → 0.6.0

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 (108) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/4RAEZKK5.js +1 -0
  3. package/.output/public/_nuxt/B71L_ar8.js +1 -0
  4. package/.output/public/_nuxt/{CsAwRnSX.js → B8-AOuPY.js} +1 -1
  5. package/.output/public/_nuxt/BDJSpxa5.js +1 -0
  6. package/.output/public/_nuxt/BSTaqC8B.js +1 -0
  7. package/.output/public/_nuxt/BX0w1sCd.js +64 -0
  8. package/.output/public/_nuxt/BZkyScXE.js +7 -0
  9. package/.output/public/_nuxt/Bcy6XGvf.js +1 -0
  10. package/.output/public/_nuxt/BwUN2VDn.js +28 -0
  11. package/.output/public/_nuxt/C7ujW0dH.js +1 -0
  12. package/.output/public/_nuxt/CCTDX4Ow.js +1 -0
  13. package/.output/public/_nuxt/CGBjV6IE.js +3 -0
  14. package/.output/public/_nuxt/CJwIJ5vo.js +1 -0
  15. package/.output/public/_nuxt/CRRnxrgg.js +1 -0
  16. package/.output/public/_nuxt/CW-iqL9y.js +1 -0
  17. package/.output/public/_nuxt/CX9rRDYY.js +1 -0
  18. package/.output/public/_nuxt/Cc9wzr_w.js +1 -0
  19. package/.output/public/_nuxt/Cfk1Mt0g.js +1 -0
  20. package/.output/public/_nuxt/Cha4KRz0.js +1 -0
  21. package/.output/public/_nuxt/D229JSjk.js +1 -0
  22. package/.output/public/_nuxt/D24Vvzw2.js +1 -0
  23. package/.output/public/_nuxt/DRoB9fQQ.js +1 -0
  24. package/.output/public/_nuxt/DZ5wax3g.js +1 -0
  25. package/.output/public/_nuxt/DZkgJHFm.js +1 -0
  26. package/.output/public/_nuxt/PIShll5e.js +1 -0
  27. package/.output/public/_nuxt/_oJUkNQ2.js +1 -0
  28. package/.output/public/_nuxt/builds/latest.json +1 -1
  29. package/.output/public/_nuxt/builds/meta/8fa7f7b1-bb54-45e2-9cfc-6ff62eb217e3.json +1 -0
  30. package/.output/public/_nuxt/{entry.BmTN_nlL.css → entry.cOeTFjBb.css} +1 -1
  31. package/.output/public/_nuxt/jaiNplxU.js +1 -0
  32. package/.output/public/_nuxt/{Dn-SWUOQ.js → nocvyJKp.js} +1 -1
  33. package/.output/server/chunks/_/auth2.mjs +2 -2
  34. package/.output/server/chunks/_/environment.mjs +2 -2
  35. package/.output/server/chunks/_/execution.mjs +6 -4
  36. package/.output/server/chunks/_/execution.mjs.map +1 -1
  37. package/.output/server/chunks/_/generation.mjs +2 -2
  38. package/.output/server/chunks/_/project.mjs +1 -1
  39. package/.output/server/chunks/_/project.service.mjs +2 -2
  40. package/.output/server/chunks/_/scenario2.mjs +88 -6
  41. package/.output/server/chunks/_/scenario2.mjs.map +1 -1
  42. package/.output/server/chunks/build/{Alert-CGPbjyet.mjs → Alert-BJf39Ayb.mjs} +1 -1
  43. package/.output/server/chunks/build/{Alert-CGPbjyet.mjs.map → Alert-BJf39Ayb.mjs.map} +1 -1
  44. package/.output/server/chunks/build/Badge-BMpCypXw.mjs +394 -0
  45. package/.output/server/chunks/build/Badge-BMpCypXw.mjs.map +1 -0
  46. package/.output/server/chunks/build/{Container-Bw8GVIe-.mjs → Container-D0WjluxO.mjs} +1 -1
  47. package/.output/server/chunks/build/{Container-Bw8GVIe-.mjs.map → Container-D0WjluxO.mjs.map} +1 -1
  48. package/.output/server/chunks/build/ContextMenu-CC085wXq.mjs +1746 -0
  49. package/.output/server/chunks/build/ContextMenu-CC085wXq.mjs.map +1 -0
  50. package/.output/server/chunks/build/{Pagination-BF2ykxf_.mjs → Pagination-DxUglDxC.mjs} +1 -1
  51. package/.output/server/chunks/build/{Pagination-BF2ykxf_.mjs.map → Pagination-DxUglDxC.mjs.map} +1 -1
  52. package/.output/server/chunks/build/{_...scenario_-CPwSmhfV.mjs → _...scenario_-mkuUQnXV.mjs} +48 -28
  53. package/.output/server/chunks/build/_...scenario_-mkuUQnXV.mjs.map +1 -0
  54. package/.output/server/chunks/build/_run_-CURVtzqt.mjs +649 -0
  55. package/.output/server/chunks/build/_run_-CURVtzqt.mjs.map +1 -0
  56. package/.output/server/chunks/build/{_slug_-DjtFCLa7.mjs → _slug_-CCufladN.mjs} +373 -138
  57. package/.output/server/chunks/build/{_slug_-DjtFCLa7.mjs.map → _slug_-CCufladN.mjs.map} +1 -1
  58. package/.output/server/chunks/build/error-404-B5fzVPdQ.mjs +1 -1
  59. package/.output/server/chunks/build/error-500-Be62wrWs.mjs +1 -1
  60. package/.output/server/chunks/build/{modal-styles.BuQzMyBB.mjs → modal-styles.CyKDxGJQ.mjs} +3 -3
  61. package/.output/server/chunks/build/modal-styles.CyKDxGJQ.mjs.map +1 -0
  62. package/.output/server/chunks/build/{origin-D49r5-BY.mjs → origin-COKNa406.mjs} +102 -396
  63. package/.output/server/chunks/build/{origin-D49r5-BY.mjs.map → origin-COKNa406.mjs.map} +1 -1
  64. package/.output/server/chunks/build/{pages-Dve6n3fN.mjs → pages-BoaPn4t_.mjs} +171 -51
  65. package/.output/server/chunks/build/{pages-Dve6n3fN.mjs.map → pages-BoaPn4t_.mjs.map} +1 -1
  66. package/.output/server/chunks/build/plural-DvfNYUEX.mjs +93 -0
  67. package/.output/server/chunks/build/plural-DvfNYUEX.mjs.map +1 -0
  68. package/.output/server/chunks/build/report-ISc2vlII.mjs +725 -0
  69. package/.output/server/chunks/build/report-ISc2vlII.mjs.map +1 -0
  70. package/.output/server/chunks/build/run-stream-Dfh0fAdN.mjs +198 -0
  71. package/.output/server/chunks/build/run-stream-Dfh0fAdN.mjs.map +1 -0
  72. package/.output/server/chunks/build/{tags-CU5wN20i.mjs → tags-BiGI0PZP.mjs} +16 -299
  73. package/.output/server/chunks/build/tags-BiGI0PZP.mjs.map +1 -0
  74. package/.output/server/chunks/build/{telemetria-CU1QSpLB.mjs → telemetria-CXZfYngH.mjs} +3 -3
  75. package/.output/server/chunks/build/{telemetria-CU1QSpLB.mjs.map → telemetria-CXZfYngH.mjs.map} +1 -1
  76. package/.output/server/chunks/nitro/nitro.mjs +307 -228
  77. package/.output/server/chunks/routes/api/projects/_slug/run-stream.get.mjs +5 -1
  78. package/.output/server/chunks/routes/api/projects/_slug/run-stream.get.mjs.map +1 -1
  79. package/.output/server/chunks/routes/api/projects/_slug/runs.get.mjs +79 -0
  80. package/.output/server/chunks/routes/api/projects/_slug/runs.get.mjs.map +1 -0
  81. package/.output/server/chunks/routes/api/telemetry/report.post.mjs +1 -1
  82. package/.output/server/chunks/routes/renderer.mjs +3 -3
  83. package/.output/server/chunks/routes/ws.mjs +1 -1
  84. package/.output/server/chunks/virtual/entry.mjs +9336 -8497
  85. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  86. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  87. package/.output/server/chunks/virtual/styles.mjs +1 -1
  88. package/.output/server/package.json +1 -1
  89. package/package.json +1 -1
  90. package/.output/public/_nuxt/2nD-p2HC.js +0 -1
  91. package/.output/public/_nuxt/B9s6bjC6.js +0 -1
  92. package/.output/public/_nuxt/BNt3M20G.js +0 -3
  93. package/.output/public/_nuxt/BVORrxe1.js +0 -1
  94. package/.output/public/_nuxt/BWJi3RB7.js +0 -7
  95. package/.output/public/_nuxt/BZKoKeJ4.js +0 -1
  96. package/.output/public/_nuxt/BdD531YY.js +0 -1
  97. package/.output/public/_nuxt/Bim2Ilco.js +0 -1
  98. package/.output/public/_nuxt/BormXq2m.js +0 -1
  99. package/.output/public/_nuxt/Bv4T7S6_.js +0 -1
  100. package/.output/public/_nuxt/BwcOmYtM.js +0 -1
  101. package/.output/public/_nuxt/CJJvNaNU.js +0 -1
  102. package/.output/public/_nuxt/Dq_3AVr2.js +0 -1
  103. package/.output/public/_nuxt/builds/meta/44d41e51-6d69-442c-af96-a368d70732a5.json +0 -1
  104. package/.output/public/_nuxt/jEu0WM6o.js +0 -28
  105. package/.output/public/_nuxt/x-Ln6s2E.js +0 -64
  106. package/.output/server/chunks/build/_...scenario_-CPwSmhfV.mjs.map +0 -1
  107. package/.output/server/chunks/build/modal-styles.BuQzMyBB.mjs.map +0 -1
  108. package/.output/server/chunks/build/tags-CU5wN20i.mjs.map +0 -1
@@ -0,0 +1,1746 @@
1
+ import { a as useComponentProps, b as useAppConfig, v as useForwardProps, w as reactivePick, t as tv, ac as ContextMenuRoot_default, ad as ContextMenuTrigger_default, c as useLocale, Y as usePortal, Z as useForwardPropsEmits, a0 as reactiveOmit, a1 as createReusableTemplate, a2 as isArrayOfArray, e as _sfc_main$5, d as _sfc_main$3, x as get, a3 as _sfc_main$2, ae as ContextMenu, a5 as FieldGroupReset, a6 as _sfc_main$1$1, a7 as pickLinkProps, a8 as _sfc_main$2$1, a9 as omit } from '../virtual/entry.mjs';
2
+ import { useSlots, toRef, computed, unref, mergeProps, withCtx, renderSlot, createSlots, renderList, openBlock, createBlock, createCommentVNode, createVNode, createTextVNode, toDisplayString, Fragment, resolveDynamicComponent, useSSRContext } from 'vue';
3
+ import { ssrRenderComponent, ssrRenderSlot, ssrRenderClass, ssrInterpolate, ssrRenderList, ssrRenderVNode } from 'vue/server-renderer';
4
+
5
+ //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/ContextMenuContent.vue
6
+ var _sfc_main$1 = {
7
+ __name: "UContextMenuContent",
8
+ __ssrInlineRender: true,
9
+ props: {
10
+ items: {
11
+ type: null,
12
+ required: false
13
+ },
14
+ portal: {
15
+ type: [Boolean, String],
16
+ required: false,
17
+ skipCheck: true
18
+ },
19
+ sub: {
20
+ type: Boolean,
21
+ required: false
22
+ },
23
+ labelKey: {
24
+ type: null,
25
+ required: true
26
+ },
27
+ descriptionKey: {
28
+ type: null,
29
+ required: true
30
+ },
31
+ checkedIcon: {
32
+ type: null,
33
+ required: false
34
+ },
35
+ loadingIcon: {
36
+ type: null,
37
+ required: false
38
+ },
39
+ externalIcon: {
40
+ type: [Boolean, String],
41
+ required: false,
42
+ skipCheck: true
43
+ },
44
+ class: {
45
+ type: null,
46
+ required: false
47
+ },
48
+ ui: {
49
+ type: null,
50
+ required: true
51
+ },
52
+ uiOverride: {
53
+ type: null,
54
+ required: false
55
+ },
56
+ loop: {
57
+ type: Boolean,
58
+ required: false
59
+ },
60
+ memoDependencies: {
61
+ type: Array,
62
+ required: false
63
+ },
64
+ sideFlip: {
65
+ type: Boolean,
66
+ required: false
67
+ },
68
+ alignOffset: {
69
+ type: Number,
70
+ required: false
71
+ },
72
+ alignFlip: {
73
+ type: Boolean,
74
+ required: false
75
+ },
76
+ avoidCollisions: {
77
+ type: Boolean,
78
+ required: false
79
+ },
80
+ collisionBoundary: {
81
+ type: null,
82
+ required: false
83
+ },
84
+ collisionPadding: {
85
+ type: [Number, Object],
86
+ required: false
87
+ },
88
+ hideShiftedArrow: {
89
+ type: Boolean,
90
+ required: false
91
+ },
92
+ sticky: {
93
+ type: String,
94
+ required: false
95
+ },
96
+ hideWhenDetached: {
97
+ type: Boolean,
98
+ required: false
99
+ },
100
+ positionStrategy: {
101
+ type: String,
102
+ required: false
103
+ },
104
+ disableUpdateOnLayoutShift: {
105
+ type: Boolean,
106
+ required: false
107
+ },
108
+ prioritizePosition: {
109
+ type: Boolean,
110
+ required: false
111
+ },
112
+ reference: {
113
+ type: null,
114
+ required: false
115
+ }
116
+ },
117
+ emits: [
118
+ "escapeKeyDown",
119
+ "pointerDownOutside",
120
+ "focusOutside",
121
+ "interactOutside",
122
+ "closeAutoFocus"
123
+ ],
124
+ setup(__props, { emit: __emit }) {
125
+ const props = __props;
126
+ const emits = __emit;
127
+ const slots = useSlots();
128
+ const { dir } = useLocale();
129
+ const appConfig = useAppConfig();
130
+ const portalProps = usePortal(toRef(() => props.portal));
131
+ const contentProps = useForwardPropsEmits(reactiveOmit(props, "sub", "items", "portal", "labelKey", "descriptionKey", "checkedIcon", "loadingIcon", "externalIcon", "class", "ui", "uiOverride"), emits);
132
+ const getProxySlots = () => omit(slots, ["default"]);
133
+ const [DefineItemTemplate, ReuseItemTemplate] = createReusableTemplate();
134
+ const childrenIcon = computed(() => dir.value === "rtl" ? appConfig.ui.icons.chevronLeft : appConfig.ui.icons.chevronRight);
135
+ const groups = computed(() => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []);
136
+ return (_ctx, _push, _parent, _attrs) => {
137
+ _push(`<!--[-->`);
138
+ _push(ssrRenderComponent(unref(DefineItemTemplate), null, {
139
+ default: withCtx(({ item, active, index }, _push, _parent, _scopeId) => {
140
+ if (_push) ssrRenderSlot(_ctx.$slots, item.slot || "item", {
141
+ item,
142
+ index,
143
+ ui: __props.ui
144
+ }, () => {
145
+ ssrRenderSlot(_ctx.$slots, item.slot ? `${item.slot}-leading` : "item-leading", {
146
+ item,
147
+ active,
148
+ index,
149
+ ui: __props.ui
150
+ }, () => {
151
+ if (item.loading) _push(ssrRenderComponent(_sfc_main$5, {
152
+ name: __props.loadingIcon || unref(appConfig).ui.icons.loading,
153
+ "data-slot": "itemLeadingIcon",
154
+ class: __props.ui.itemLeadingIcon({
155
+ class: [__props.uiOverride?.itemLeadingIcon, item.ui?.itemLeadingIcon],
156
+ color: item?.color,
157
+ loading: true
158
+ })
159
+ }, null, _parent, _scopeId));
160
+ else if (item.icon) _push(ssrRenderComponent(_sfc_main$5, {
161
+ name: item.icon,
162
+ "data-slot": "itemLeadingIcon",
163
+ class: __props.ui.itemLeadingIcon({
164
+ class: [__props.uiOverride?.itemLeadingIcon, item.ui?.itemLeadingIcon],
165
+ color: item?.color,
166
+ active
167
+ })
168
+ }, null, _parent, _scopeId));
169
+ else if (item.avatar) _push(ssrRenderComponent(_sfc_main$3, mergeProps({ size: item.ui?.itemLeadingAvatarSize || __props.uiOverride?.itemLeadingAvatarSize || __props.ui.itemLeadingAvatarSize() }, item.avatar, {
170
+ "data-slot": "itemLeadingAvatar",
171
+ class: __props.ui.itemLeadingAvatar({
172
+ class: [__props.uiOverride?.itemLeadingAvatar, item.ui?.itemLeadingAvatar],
173
+ active
174
+ })
175
+ }), null, _parent, _scopeId));
176
+ else _push(`<!---->`);
177
+ }, _push, _parent, _scopeId);
178
+ if (unref(get)(item, props.labelKey) || !!slots[item.slot ? `${item.slot}-label` : "item-label"] || unref(get)(item, props.descriptionKey) || !!slots[item.slot ? `${item.slot}-description` : "item-description"]) {
179
+ _push(`<span data-slot="itemWrapper" class="${ssrRenderClass(__props.ui.itemWrapper({ class: [__props.uiOverride?.itemWrapper, item.ui?.itemWrapper] }))}"${_scopeId}><span data-slot="itemLabel" class="${ssrRenderClass(__props.ui.itemLabel({
180
+ class: [__props.uiOverride?.itemLabel, item.ui?.itemLabel],
181
+ active
182
+ }))}"${_scopeId}>`);
183
+ ssrRenderSlot(_ctx.$slots, item.slot ? `${item.slot}-label` : "item-label", {
184
+ item,
185
+ active,
186
+ index
187
+ }, () => {
188
+ _push(`${ssrInterpolate(unref(get)(item, props.labelKey))}`);
189
+ }, _push, _parent, _scopeId);
190
+ if (item.target === "_blank" && __props.externalIcon !== false) _push(ssrRenderComponent(_sfc_main$5, {
191
+ name: typeof __props.externalIcon === "string" ? __props.externalIcon : unref(appConfig).ui.icons.external,
192
+ "data-slot": "itemLabelExternalIcon",
193
+ class: __props.ui.itemLabelExternalIcon({
194
+ class: [__props.uiOverride?.itemLabelExternalIcon, item.ui?.itemLabelExternalIcon],
195
+ color: item?.color,
196
+ active
197
+ })
198
+ }, null, _parent, _scopeId));
199
+ else _push(`<!---->`);
200
+ _push(`</span>`);
201
+ if (unref(get)(item, props.descriptionKey) || !!slots[item.slot ? `${item.slot}-description` : "item-description"]) {
202
+ _push(`<span data-slot="itemDescription" class="${ssrRenderClass(__props.ui.itemDescription({ class: [__props.uiOverride?.itemDescription, item.ui?.itemDescription] }))}"${_scopeId}>`);
203
+ ssrRenderSlot(_ctx.$slots, item.slot ? `${item.slot}-description` : "item-description", {
204
+ item,
205
+ active,
206
+ index
207
+ }, () => {
208
+ _push(`${ssrInterpolate(unref(get)(item, props.descriptionKey))}`);
209
+ }, _push, _parent, _scopeId);
210
+ _push(`</span>`);
211
+ } else _push(`<!---->`);
212
+ _push(`</span>`);
213
+ } else _push(`<!---->`);
214
+ _push(`<span data-slot="itemTrailing" class="${ssrRenderClass(__props.ui.itemTrailing({ class: [__props.uiOverride?.itemTrailing, item.ui?.itemTrailing] }))}"${_scopeId}>`);
215
+ ssrRenderSlot(_ctx.$slots, item.slot ? `${item.slot}-trailing` : "item-trailing", {
216
+ item,
217
+ active,
218
+ index,
219
+ ui: __props.ui
220
+ }, () => {
221
+ if (item.children?.length) _push(ssrRenderComponent(_sfc_main$5, {
222
+ name: childrenIcon.value,
223
+ "data-slot": "itemTrailingIcon",
224
+ class: __props.ui.itemTrailingIcon({
225
+ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon],
226
+ color: item?.color,
227
+ active
228
+ })
229
+ }, null, _parent, _scopeId));
230
+ else if (item.kbds?.length) {
231
+ _push(`<span data-slot="itemTrailingKbds" class="${ssrRenderClass(__props.ui.itemTrailingKbds({ class: [__props.uiOverride?.itemTrailingKbds, item.ui?.itemTrailingKbds] }))}"${_scopeId}><!--[-->`);
232
+ ssrRenderList(item.kbds, (kbd, kbdIndex) => {
233
+ _push(ssrRenderComponent(_sfc_main$2, mergeProps({
234
+ key: kbdIndex,
235
+ size: item.ui?.itemTrailingKbdsSize || __props.uiOverride?.itemTrailingKbdsSize || __props.ui.itemTrailingKbdsSize()
236
+ }, { ref_for: true }, typeof kbd === "string" ? { value: kbd } : kbd), null, _parent, _scopeId));
237
+ });
238
+ _push(`<!--]--></span>`);
239
+ } else _push(`<!---->`);
240
+ }, _push, _parent, _scopeId);
241
+ _push(ssrRenderComponent(unref(ContextMenu).ItemIndicator, { "as-child": "" }, {
242
+ default: withCtx((_, _push, _parent, _scopeId) => {
243
+ if (_push) _push(ssrRenderComponent(_sfc_main$5, {
244
+ name: __props.checkedIcon || unref(appConfig).ui.icons.check,
245
+ "data-slot": "itemTrailingIcon",
246
+ class: __props.ui.itemTrailingIcon({
247
+ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon],
248
+ color: item?.color
249
+ })
250
+ }, null, _parent, _scopeId));
251
+ else return [createVNode(_sfc_main$5, {
252
+ name: __props.checkedIcon || unref(appConfig).ui.icons.check,
253
+ "data-slot": "itemTrailingIcon",
254
+ class: __props.ui.itemTrailingIcon({
255
+ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon],
256
+ color: item?.color
257
+ })
258
+ }, null, 8, ["name", "class"])];
259
+ }),
260
+ _: 2
261
+ }, _parent, _scopeId));
262
+ _push(`</span>`);
263
+ }, _push, _parent, _scopeId);
264
+ else return [renderSlot(_ctx.$slots, item.slot || "item", {
265
+ item,
266
+ index,
267
+ ui: __props.ui
268
+ }, () => [
269
+ renderSlot(_ctx.$slots, item.slot ? `${item.slot}-leading` : "item-leading", {
270
+ item,
271
+ active,
272
+ index,
273
+ ui: __props.ui
274
+ }, () => [item.loading ? (openBlock(), createBlock(_sfc_main$5, {
275
+ key: 0,
276
+ name: __props.loadingIcon || unref(appConfig).ui.icons.loading,
277
+ "data-slot": "itemLeadingIcon",
278
+ class: __props.ui.itemLeadingIcon({
279
+ class: [__props.uiOverride?.itemLeadingIcon, item.ui?.itemLeadingIcon],
280
+ color: item?.color,
281
+ loading: true
282
+ })
283
+ }, null, 8, ["name", "class"])) : item.icon ? (openBlock(), createBlock(_sfc_main$5, {
284
+ key: 1,
285
+ name: item.icon,
286
+ "data-slot": "itemLeadingIcon",
287
+ class: __props.ui.itemLeadingIcon({
288
+ class: [__props.uiOverride?.itemLeadingIcon, item.ui?.itemLeadingIcon],
289
+ color: item?.color,
290
+ active
291
+ })
292
+ }, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
293
+ key: 2,
294
+ size: item.ui?.itemLeadingAvatarSize || __props.uiOverride?.itemLeadingAvatarSize || __props.ui.itemLeadingAvatarSize()
295
+ }, item.avatar, {
296
+ "data-slot": "itemLeadingAvatar",
297
+ class: __props.ui.itemLeadingAvatar({
298
+ class: [__props.uiOverride?.itemLeadingAvatar, item.ui?.itemLeadingAvatar],
299
+ active
300
+ })
301
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
302
+ unref(get)(item, props.labelKey) || !!slots[item.slot ? `${item.slot}-label` : "item-label"] || unref(get)(item, props.descriptionKey) || !!slots[item.slot ? `${item.slot}-description` : "item-description"] ? (openBlock(), createBlock("span", {
303
+ key: 0,
304
+ "data-slot": "itemWrapper",
305
+ class: __props.ui.itemWrapper({ class: [__props.uiOverride?.itemWrapper, item.ui?.itemWrapper] })
306
+ }, [createVNode("span", {
307
+ "data-slot": "itemLabel",
308
+ class: __props.ui.itemLabel({
309
+ class: [__props.uiOverride?.itemLabel, item.ui?.itemLabel],
310
+ active
311
+ })
312
+ }, [renderSlot(_ctx.$slots, item.slot ? `${item.slot}-label` : "item-label", {
313
+ item,
314
+ active,
315
+ index
316
+ }, () => [createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)]), item.target === "_blank" && __props.externalIcon !== false ? (openBlock(), createBlock(_sfc_main$5, {
317
+ key: 0,
318
+ name: typeof __props.externalIcon === "string" ? __props.externalIcon : unref(appConfig).ui.icons.external,
319
+ "data-slot": "itemLabelExternalIcon",
320
+ class: __props.ui.itemLabelExternalIcon({
321
+ class: [__props.uiOverride?.itemLabelExternalIcon, item.ui?.itemLabelExternalIcon],
322
+ color: item?.color,
323
+ active
324
+ })
325
+ }, null, 8, ["name", "class"])) : createCommentVNode("", true)], 2), unref(get)(item, props.descriptionKey) || !!slots[item.slot ? `${item.slot}-description` : "item-description"] ? (openBlock(), createBlock("span", {
326
+ key: 0,
327
+ "data-slot": "itemDescription",
328
+ class: __props.ui.itemDescription({ class: [__props.uiOverride?.itemDescription, item.ui?.itemDescription] })
329
+ }, [renderSlot(_ctx.$slots, item.slot ? `${item.slot}-description` : "item-description", {
330
+ item,
331
+ active,
332
+ index
333
+ }, () => [createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
334
+ createVNode("span", {
335
+ "data-slot": "itemTrailing",
336
+ class: __props.ui.itemTrailing({ class: [__props.uiOverride?.itemTrailing, item.ui?.itemTrailing] })
337
+ }, [renderSlot(_ctx.$slots, item.slot ? `${item.slot}-trailing` : "item-trailing", {
338
+ item,
339
+ active,
340
+ index,
341
+ ui: __props.ui
342
+ }, () => [item.children?.length ? (openBlock(), createBlock(_sfc_main$5, {
343
+ key: 0,
344
+ name: childrenIcon.value,
345
+ "data-slot": "itemTrailingIcon",
346
+ class: __props.ui.itemTrailingIcon({
347
+ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon],
348
+ color: item?.color,
349
+ active
350
+ })
351
+ }, null, 8, ["name", "class"])) : item.kbds?.length ? (openBlock(), createBlock("span", {
352
+ key: 1,
353
+ "data-slot": "itemTrailingKbds",
354
+ class: __props.ui.itemTrailingKbds({ class: [__props.uiOverride?.itemTrailingKbds, item.ui?.itemTrailingKbds] })
355
+ }, [(openBlock(true), createBlock(Fragment, null, renderList(item.kbds, (kbd, kbdIndex) => {
356
+ return openBlock(), createBlock(_sfc_main$2, mergeProps({
357
+ key: kbdIndex,
358
+ size: item.ui?.itemTrailingKbdsSize || __props.uiOverride?.itemTrailingKbdsSize || __props.ui.itemTrailingKbdsSize()
359
+ }, { ref_for: true }, typeof kbd === "string" ? { value: kbd } : kbd), null, 16, ["size"]);
360
+ }), 128))], 2)) : createCommentVNode("", true)]), createVNode(unref(ContextMenu).ItemIndicator, { "as-child": "" }, {
361
+ default: withCtx(() => [createVNode(_sfc_main$5, {
362
+ name: __props.checkedIcon || unref(appConfig).ui.icons.check,
363
+ "data-slot": "itemTrailingIcon",
364
+ class: __props.ui.itemTrailingIcon({
365
+ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon],
366
+ color: item?.color
367
+ })
368
+ }, null, 8, ["name", "class"])]),
369
+ _: 2
370
+ }, 1024)], 2)
371
+ ])];
372
+ }),
373
+ _: 3
374
+ }, _parent));
375
+ _push(ssrRenderComponent(unref(ContextMenu).Portal, unref(portalProps), {
376
+ default: withCtx((_, _push, _parent, _scopeId) => {
377
+ if (_push) _push(ssrRenderComponent(unref(FieldGroupReset), null, {
378
+ default: withCtx((_, _push, _parent, _scopeId) => {
379
+ if (_push) ssrRenderVNode(_push, createVNode(resolveDynamicComponent(__props.sub ? unref(ContextMenu).SubContent : unref(ContextMenu).Content), mergeProps({
380
+ "data-slot": "content",
381
+ class: __props.ui.content({ class: [__props.uiOverride?.content, props.class] })
382
+ }, unref(contentProps)), {
383
+ default: withCtx((_, _push, _parent, _scopeId) => {
384
+ if (_push) {
385
+ ssrRenderSlot(_ctx.$slots, "content-top", { sub: __props.sub ?? false }, null, _push, _parent, _scopeId);
386
+ _push(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(__props.ui.viewport({ class: __props.uiOverride?.viewport }))}"${_scopeId}><!--[-->`);
387
+ ssrRenderList(groups.value, (group, groupIndex) => {
388
+ _push(ssrRenderComponent(unref(ContextMenu).Group, {
389
+ key: `group-${groupIndex}`,
390
+ "data-slot": "group",
391
+ class: __props.ui.group({ class: __props.uiOverride?.group })
392
+ }, {
393
+ default: withCtx((_, _push, _parent, _scopeId) => {
394
+ if (_push) {
395
+ _push(`<!--[-->`);
396
+ ssrRenderList(group, (item, index) => {
397
+ _push(`<!--[-->`);
398
+ if (item.type === "label") _push(ssrRenderComponent(unref(ContextMenu).Label, {
399
+ "data-slot": "label",
400
+ class: __props.ui.label({ class: [
401
+ __props.uiOverride?.label,
402
+ item.ui?.label,
403
+ item.class
404
+ ] })
405
+ }, {
406
+ default: withCtx((_, _push, _parent, _scopeId) => {
407
+ if (_push) _push(ssrRenderComponent(unref(ReuseItemTemplate), {
408
+ item,
409
+ index
410
+ }, null, _parent, _scopeId));
411
+ else return [createVNode(unref(ReuseItemTemplate), {
412
+ item,
413
+ index
414
+ }, null, 8, ["item", "index"])];
415
+ }),
416
+ _: 2
417
+ }, _parent, _scopeId));
418
+ else if (item.type === "separator") _push(ssrRenderComponent(unref(ContextMenu).Separator, {
419
+ "data-slot": "separator",
420
+ class: __props.ui.separator({ class: [
421
+ __props.uiOverride?.separator,
422
+ item.ui?.separator,
423
+ item.class
424
+ ] })
425
+ }, null, _parent, _scopeId));
426
+ else if (item?.children?.length) _push(ssrRenderComponent(unref(ContextMenu).Sub, {
427
+ open: item.open,
428
+ "default-open": item.defaultOpen
429
+ }, {
430
+ default: withCtx((_, _push, _parent, _scopeId) => {
431
+ if (_push) {
432
+ _push(ssrRenderComponent(unref(ContextMenu).SubTrigger, {
433
+ as: "button",
434
+ type: "button",
435
+ disabled: item.disabled,
436
+ "text-value": unref(get)(item, props.labelKey),
437
+ "data-slot": "item",
438
+ class: __props.ui.item({
439
+ class: [
440
+ __props.uiOverride?.item,
441
+ item.ui?.item,
442
+ item.class
443
+ ],
444
+ color: item?.color
445
+ })
446
+ }, {
447
+ default: withCtx((_, _push, _parent, _scopeId) => {
448
+ if (_push) _push(ssrRenderComponent(unref(ReuseItemTemplate), {
449
+ item,
450
+ index
451
+ }, null, _parent, _scopeId));
452
+ else return [createVNode(unref(ReuseItemTemplate), {
453
+ item,
454
+ index
455
+ }, null, 8, ["item", "index"])];
456
+ }),
457
+ _: 2
458
+ }, _parent, _scopeId));
459
+ _push(ssrRenderComponent(_sfc_main$1, mergeProps({
460
+ sub: "",
461
+ class: item.ui?.content,
462
+ ui: __props.ui,
463
+ "ui-override": __props.uiOverride,
464
+ portal: __props.portal,
465
+ items: item.children,
466
+ "align-offset": -4,
467
+ "label-key": __props.labelKey,
468
+ "description-key": __props.descriptionKey,
469
+ "checked-icon": __props.checkedIcon,
470
+ "loading-icon": __props.loadingIcon,
471
+ "external-icon": __props.externalIcon
472
+ }, { ref_for: true }, item.content), createSlots({ _: 2 }, [renderList(getProxySlots(), (_, name) => {
473
+ return {
474
+ name,
475
+ fn: withCtx((slotData, _push, _parent, _scopeId) => {
476
+ if (_push) ssrRenderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData), null, _push, _parent, _scopeId);
477
+ else return [renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))];
478
+ })
479
+ };
480
+ })]), _parent, _scopeId));
481
+ } else return [createVNode(unref(ContextMenu).SubTrigger, {
482
+ as: "button",
483
+ type: "button",
484
+ disabled: item.disabled,
485
+ "text-value": unref(get)(item, props.labelKey),
486
+ "data-slot": "item",
487
+ class: __props.ui.item({
488
+ class: [
489
+ __props.uiOverride?.item,
490
+ item.ui?.item,
491
+ item.class
492
+ ],
493
+ color: item?.color
494
+ })
495
+ }, {
496
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
497
+ item,
498
+ index
499
+ }, null, 8, ["item", "index"])]),
500
+ _: 2
501
+ }, 1032, [
502
+ "disabled",
503
+ "text-value",
504
+ "class"
505
+ ]), createVNode(_sfc_main$1, mergeProps({
506
+ sub: "",
507
+ class: item.ui?.content,
508
+ ui: __props.ui,
509
+ "ui-override": __props.uiOverride,
510
+ portal: __props.portal,
511
+ items: item.children,
512
+ "align-offset": -4,
513
+ "label-key": __props.labelKey,
514
+ "description-key": __props.descriptionKey,
515
+ "checked-icon": __props.checkedIcon,
516
+ "loading-icon": __props.loadingIcon,
517
+ "external-icon": __props.externalIcon
518
+ }, { ref_for: true }, item.content), createSlots({ _: 2 }, [renderList(getProxySlots(), (_, name) => {
519
+ return {
520
+ name,
521
+ fn: withCtx((slotData) => [renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))])
522
+ };
523
+ })]), 1040, [
524
+ "class",
525
+ "ui",
526
+ "ui-override",
527
+ "portal",
528
+ "items",
529
+ "label-key",
530
+ "description-key",
531
+ "checked-icon",
532
+ "loading-icon",
533
+ "external-icon"
534
+ ])];
535
+ }),
536
+ _: 2
537
+ }, _parent, _scopeId));
538
+ else if (item.type === "checkbox") _push(ssrRenderComponent(unref(ContextMenu).CheckboxItem, {
539
+ "model-value": item.checked,
540
+ disabled: item.disabled,
541
+ "text-value": unref(get)(item, props.labelKey),
542
+ "data-slot": "item",
543
+ class: __props.ui.item({
544
+ class: [
545
+ __props.uiOverride?.item,
546
+ item.ui?.item,
547
+ item.class
548
+ ],
549
+ color: item?.color
550
+ }),
551
+ "onUpdate:modelValue": item.onUpdateChecked,
552
+ onSelect: item.onSelect
553
+ }, {
554
+ default: withCtx((_, _push, _parent, _scopeId) => {
555
+ if (_push) _push(ssrRenderComponent(unref(ReuseItemTemplate), {
556
+ item,
557
+ index
558
+ }, null, _parent, _scopeId));
559
+ else return [createVNode(unref(ReuseItemTemplate), {
560
+ item,
561
+ index
562
+ }, null, 8, ["item", "index"])];
563
+ }),
564
+ _: 2
565
+ }, _parent, _scopeId));
566
+ else _push(ssrRenderComponent(_sfc_main$1$1, mergeProps({ ref_for: true }, unref(pickLinkProps)(item), { custom: "" }), {
567
+ default: withCtx(({ active, ...slotProps }, _push, _parent, _scopeId) => {
568
+ if (_push) _push(ssrRenderComponent(unref(ContextMenu).Item, {
569
+ "as-child": "",
570
+ disabled: item.disabled,
571
+ "text-value": unref(get)(item, props.labelKey),
572
+ onSelect: item.onSelect
573
+ }, {
574
+ default: withCtx((_, _push, _parent, _scopeId) => {
575
+ if (_push) _push(ssrRenderComponent(_sfc_main$2$1, mergeProps({ ref_for: true }, slotProps, {
576
+ "data-slot": "item",
577
+ class: __props.ui.item({
578
+ class: [
579
+ __props.uiOverride?.item,
580
+ item.ui?.item,
581
+ item.class
582
+ ],
583
+ active,
584
+ color: item?.color
585
+ })
586
+ }), {
587
+ default: withCtx((_, _push, _parent, _scopeId) => {
588
+ if (_push) _push(ssrRenderComponent(unref(ReuseItemTemplate), {
589
+ item,
590
+ active,
591
+ index
592
+ }, null, _parent, _scopeId));
593
+ else return [createVNode(unref(ReuseItemTemplate), {
594
+ item,
595
+ active,
596
+ index
597
+ }, null, 8, [
598
+ "item",
599
+ "active",
600
+ "index"
601
+ ])];
602
+ }),
603
+ _: 2
604
+ }, _parent, _scopeId));
605
+ else return [createVNode(_sfc_main$2$1, mergeProps({ ref_for: true }, slotProps, {
606
+ "data-slot": "item",
607
+ class: __props.ui.item({
608
+ class: [
609
+ __props.uiOverride?.item,
610
+ item.ui?.item,
611
+ item.class
612
+ ],
613
+ active,
614
+ color: item?.color
615
+ })
616
+ }), {
617
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
618
+ item,
619
+ active,
620
+ index
621
+ }, null, 8, [
622
+ "item",
623
+ "active",
624
+ "index"
625
+ ])]),
626
+ _: 2
627
+ }, 1040, ["class"])];
628
+ }),
629
+ _: 2
630
+ }, _parent, _scopeId));
631
+ else return [createVNode(unref(ContextMenu).Item, {
632
+ "as-child": "",
633
+ disabled: item.disabled,
634
+ "text-value": unref(get)(item, props.labelKey),
635
+ onSelect: item.onSelect
636
+ }, {
637
+ default: withCtx(() => [createVNode(_sfc_main$2$1, mergeProps({ ref_for: true }, slotProps, {
638
+ "data-slot": "item",
639
+ class: __props.ui.item({
640
+ class: [
641
+ __props.uiOverride?.item,
642
+ item.ui?.item,
643
+ item.class
644
+ ],
645
+ active,
646
+ color: item?.color
647
+ })
648
+ }), {
649
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
650
+ item,
651
+ active,
652
+ index
653
+ }, null, 8, [
654
+ "item",
655
+ "active",
656
+ "index"
657
+ ])]),
658
+ _: 2
659
+ }, 1040, ["class"])]),
660
+ _: 2
661
+ }, 1032, [
662
+ "disabled",
663
+ "text-value",
664
+ "onSelect"
665
+ ])];
666
+ }),
667
+ _: 2
668
+ }, _parent, _scopeId));
669
+ _push(`<!--]-->`);
670
+ });
671
+ _push(`<!--]-->`);
672
+ } else return [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
673
+ return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [item.type === "label" ? (openBlock(), createBlock(unref(ContextMenu).Label, {
674
+ key: 0,
675
+ "data-slot": "label",
676
+ class: __props.ui.label({ class: [
677
+ __props.uiOverride?.label,
678
+ item.ui?.label,
679
+ item.class
680
+ ] })
681
+ }, {
682
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
683
+ item,
684
+ index
685
+ }, null, 8, ["item", "index"])]),
686
+ _: 2
687
+ }, 1032, ["class"])) : item.type === "separator" ? (openBlock(), createBlock(unref(ContextMenu).Separator, {
688
+ key: 1,
689
+ "data-slot": "separator",
690
+ class: __props.ui.separator({ class: [
691
+ __props.uiOverride?.separator,
692
+ item.ui?.separator,
693
+ item.class
694
+ ] })
695
+ }, null, 8, ["class"])) : item?.children?.length ? (openBlock(), createBlock(unref(ContextMenu).Sub, {
696
+ key: 2,
697
+ open: item.open,
698
+ "default-open": item.defaultOpen
699
+ }, {
700
+ default: withCtx(() => [createVNode(unref(ContextMenu).SubTrigger, {
701
+ as: "button",
702
+ type: "button",
703
+ disabled: item.disabled,
704
+ "text-value": unref(get)(item, props.labelKey),
705
+ "data-slot": "item",
706
+ class: __props.ui.item({
707
+ class: [
708
+ __props.uiOverride?.item,
709
+ item.ui?.item,
710
+ item.class
711
+ ],
712
+ color: item?.color
713
+ })
714
+ }, {
715
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
716
+ item,
717
+ index
718
+ }, null, 8, ["item", "index"])]),
719
+ _: 2
720
+ }, 1032, [
721
+ "disabled",
722
+ "text-value",
723
+ "class"
724
+ ]), createVNode(_sfc_main$1, mergeProps({
725
+ sub: "",
726
+ class: item.ui?.content,
727
+ ui: __props.ui,
728
+ "ui-override": __props.uiOverride,
729
+ portal: __props.portal,
730
+ items: item.children,
731
+ "align-offset": -4,
732
+ "label-key": __props.labelKey,
733
+ "description-key": __props.descriptionKey,
734
+ "checked-icon": __props.checkedIcon,
735
+ "loading-icon": __props.loadingIcon,
736
+ "external-icon": __props.externalIcon
737
+ }, { ref_for: true }, item.content), createSlots({ _: 2 }, [renderList(getProxySlots(), (_, name) => {
738
+ return {
739
+ name,
740
+ fn: withCtx((slotData) => [renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))])
741
+ };
742
+ })]), 1040, [
743
+ "class",
744
+ "ui",
745
+ "ui-override",
746
+ "portal",
747
+ "items",
748
+ "label-key",
749
+ "description-key",
750
+ "checked-icon",
751
+ "loading-icon",
752
+ "external-icon"
753
+ ])]),
754
+ _: 2
755
+ }, 1032, ["open", "default-open"])) : item.type === "checkbox" ? (openBlock(), createBlock(unref(ContextMenu).CheckboxItem, {
756
+ key: 3,
757
+ "model-value": item.checked,
758
+ disabled: item.disabled,
759
+ "text-value": unref(get)(item, props.labelKey),
760
+ "data-slot": "item",
761
+ class: __props.ui.item({
762
+ class: [
763
+ __props.uiOverride?.item,
764
+ item.ui?.item,
765
+ item.class
766
+ ],
767
+ color: item?.color
768
+ }),
769
+ "onUpdate:modelValue": item.onUpdateChecked,
770
+ onSelect: item.onSelect
771
+ }, {
772
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
773
+ item,
774
+ index
775
+ }, null, 8, ["item", "index"])]),
776
+ _: 2
777
+ }, 1032, [
778
+ "model-value",
779
+ "disabled",
780
+ "text-value",
781
+ "class",
782
+ "onUpdate:modelValue",
783
+ "onSelect"
784
+ ])) : (openBlock(), createBlock(_sfc_main$1$1, mergeProps({
785
+ key: 4,
786
+ ref_for: true
787
+ }, unref(pickLinkProps)(item), { custom: "" }), {
788
+ default: withCtx(({ active, ...slotProps }) => [createVNode(unref(ContextMenu).Item, {
789
+ "as-child": "",
790
+ disabled: item.disabled,
791
+ "text-value": unref(get)(item, props.labelKey),
792
+ onSelect: item.onSelect
793
+ }, {
794
+ default: withCtx(() => [createVNode(_sfc_main$2$1, mergeProps({ ref_for: true }, slotProps, {
795
+ "data-slot": "item",
796
+ class: __props.ui.item({
797
+ class: [
798
+ __props.uiOverride?.item,
799
+ item.ui?.item,
800
+ item.class
801
+ ],
802
+ active,
803
+ color: item?.color
804
+ })
805
+ }), {
806
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
807
+ item,
808
+ active,
809
+ index
810
+ }, null, 8, [
811
+ "item",
812
+ "active",
813
+ "index"
814
+ ])]),
815
+ _: 2
816
+ }, 1040, ["class"])]),
817
+ _: 2
818
+ }, 1032, [
819
+ "disabled",
820
+ "text-value",
821
+ "onSelect"
822
+ ])]),
823
+ _: 2
824
+ }, 1040))], 64);
825
+ }), 128))];
826
+ }),
827
+ _: 2
828
+ }, _parent, _scopeId));
829
+ });
830
+ _push(`<!--]--></div>`);
831
+ ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
832
+ ssrRenderSlot(_ctx.$slots, "content-bottom", { sub: __props.sub ?? false }, null, _push, _parent, _scopeId);
833
+ } else return [
834
+ renderSlot(_ctx.$slots, "content-top", { sub: __props.sub ?? false }),
835
+ createVNode("div", {
836
+ role: "presentation",
837
+ "data-slot": "viewport",
838
+ class: __props.ui.viewport({ class: __props.uiOverride?.viewport })
839
+ }, [(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
840
+ return openBlock(), createBlock(unref(ContextMenu).Group, {
841
+ key: `group-${groupIndex}`,
842
+ "data-slot": "group",
843
+ class: __props.ui.group({ class: __props.uiOverride?.group })
844
+ }, {
845
+ default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
846
+ return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [item.type === "label" ? (openBlock(), createBlock(unref(ContextMenu).Label, {
847
+ key: 0,
848
+ "data-slot": "label",
849
+ class: __props.ui.label({ class: [
850
+ __props.uiOverride?.label,
851
+ item.ui?.label,
852
+ item.class
853
+ ] })
854
+ }, {
855
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
856
+ item,
857
+ index
858
+ }, null, 8, ["item", "index"])]),
859
+ _: 2
860
+ }, 1032, ["class"])) : item.type === "separator" ? (openBlock(), createBlock(unref(ContextMenu).Separator, {
861
+ key: 1,
862
+ "data-slot": "separator",
863
+ class: __props.ui.separator({ class: [
864
+ __props.uiOverride?.separator,
865
+ item.ui?.separator,
866
+ item.class
867
+ ] })
868
+ }, null, 8, ["class"])) : item?.children?.length ? (openBlock(), createBlock(unref(ContextMenu).Sub, {
869
+ key: 2,
870
+ open: item.open,
871
+ "default-open": item.defaultOpen
872
+ }, {
873
+ default: withCtx(() => [createVNode(unref(ContextMenu).SubTrigger, {
874
+ as: "button",
875
+ type: "button",
876
+ disabled: item.disabled,
877
+ "text-value": unref(get)(item, props.labelKey),
878
+ "data-slot": "item",
879
+ class: __props.ui.item({
880
+ class: [
881
+ __props.uiOverride?.item,
882
+ item.ui?.item,
883
+ item.class
884
+ ],
885
+ color: item?.color
886
+ })
887
+ }, {
888
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
889
+ item,
890
+ index
891
+ }, null, 8, ["item", "index"])]),
892
+ _: 2
893
+ }, 1032, [
894
+ "disabled",
895
+ "text-value",
896
+ "class"
897
+ ]), createVNode(_sfc_main$1, mergeProps({
898
+ sub: "",
899
+ class: item.ui?.content,
900
+ ui: __props.ui,
901
+ "ui-override": __props.uiOverride,
902
+ portal: __props.portal,
903
+ items: item.children,
904
+ "align-offset": -4,
905
+ "label-key": __props.labelKey,
906
+ "description-key": __props.descriptionKey,
907
+ "checked-icon": __props.checkedIcon,
908
+ "loading-icon": __props.loadingIcon,
909
+ "external-icon": __props.externalIcon
910
+ }, { ref_for: true }, item.content), createSlots({ _: 2 }, [renderList(getProxySlots(), (_, name) => {
911
+ return {
912
+ name,
913
+ fn: withCtx((slotData) => [renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))])
914
+ };
915
+ })]), 1040, [
916
+ "class",
917
+ "ui",
918
+ "ui-override",
919
+ "portal",
920
+ "items",
921
+ "label-key",
922
+ "description-key",
923
+ "checked-icon",
924
+ "loading-icon",
925
+ "external-icon"
926
+ ])]),
927
+ _: 2
928
+ }, 1032, ["open", "default-open"])) : item.type === "checkbox" ? (openBlock(), createBlock(unref(ContextMenu).CheckboxItem, {
929
+ key: 3,
930
+ "model-value": item.checked,
931
+ disabled: item.disabled,
932
+ "text-value": unref(get)(item, props.labelKey),
933
+ "data-slot": "item",
934
+ class: __props.ui.item({
935
+ class: [
936
+ __props.uiOverride?.item,
937
+ item.ui?.item,
938
+ item.class
939
+ ],
940
+ color: item?.color
941
+ }),
942
+ "onUpdate:modelValue": item.onUpdateChecked,
943
+ onSelect: item.onSelect
944
+ }, {
945
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
946
+ item,
947
+ index
948
+ }, null, 8, ["item", "index"])]),
949
+ _: 2
950
+ }, 1032, [
951
+ "model-value",
952
+ "disabled",
953
+ "text-value",
954
+ "class",
955
+ "onUpdate:modelValue",
956
+ "onSelect"
957
+ ])) : (openBlock(), createBlock(_sfc_main$1$1, mergeProps({
958
+ key: 4,
959
+ ref_for: true
960
+ }, unref(pickLinkProps)(item), { custom: "" }), {
961
+ default: withCtx(({ active, ...slotProps }) => [createVNode(unref(ContextMenu).Item, {
962
+ "as-child": "",
963
+ disabled: item.disabled,
964
+ "text-value": unref(get)(item, props.labelKey),
965
+ onSelect: item.onSelect
966
+ }, {
967
+ default: withCtx(() => [createVNode(_sfc_main$2$1, mergeProps({ ref_for: true }, slotProps, {
968
+ "data-slot": "item",
969
+ class: __props.ui.item({
970
+ class: [
971
+ __props.uiOverride?.item,
972
+ item.ui?.item,
973
+ item.class
974
+ ],
975
+ active,
976
+ color: item?.color
977
+ })
978
+ }), {
979
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
980
+ item,
981
+ active,
982
+ index
983
+ }, null, 8, [
984
+ "item",
985
+ "active",
986
+ "index"
987
+ ])]),
988
+ _: 2
989
+ }, 1040, ["class"])]),
990
+ _: 2
991
+ }, 1032, [
992
+ "disabled",
993
+ "text-value",
994
+ "onSelect"
995
+ ])]),
996
+ _: 2
997
+ }, 1040))], 64);
998
+ }), 128))]),
999
+ _: 2
1000
+ }, 1032, ["class"]);
1001
+ }), 128))], 2),
1002
+ renderSlot(_ctx.$slots, "default"),
1003
+ renderSlot(_ctx.$slots, "content-bottom", { sub: __props.sub ?? false })
1004
+ ];
1005
+ }),
1006
+ _: 3
1007
+ }), _parent, _scopeId);
1008
+ else return [(openBlock(), createBlock(resolveDynamicComponent(__props.sub ? unref(ContextMenu).SubContent : unref(ContextMenu).Content), mergeProps({
1009
+ "data-slot": "content",
1010
+ class: __props.ui.content({ class: [__props.uiOverride?.content, props.class] })
1011
+ }, unref(contentProps)), {
1012
+ default: withCtx(() => [
1013
+ renderSlot(_ctx.$slots, "content-top", { sub: __props.sub ?? false }),
1014
+ createVNode("div", {
1015
+ role: "presentation",
1016
+ "data-slot": "viewport",
1017
+ class: __props.ui.viewport({ class: __props.uiOverride?.viewport })
1018
+ }, [(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
1019
+ return openBlock(), createBlock(unref(ContextMenu).Group, {
1020
+ key: `group-${groupIndex}`,
1021
+ "data-slot": "group",
1022
+ class: __props.ui.group({ class: __props.uiOverride?.group })
1023
+ }, {
1024
+ default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1025
+ return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [item.type === "label" ? (openBlock(), createBlock(unref(ContextMenu).Label, {
1026
+ key: 0,
1027
+ "data-slot": "label",
1028
+ class: __props.ui.label({ class: [
1029
+ __props.uiOverride?.label,
1030
+ item.ui?.label,
1031
+ item.class
1032
+ ] })
1033
+ }, {
1034
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
1035
+ item,
1036
+ index
1037
+ }, null, 8, ["item", "index"])]),
1038
+ _: 2
1039
+ }, 1032, ["class"])) : item.type === "separator" ? (openBlock(), createBlock(unref(ContextMenu).Separator, {
1040
+ key: 1,
1041
+ "data-slot": "separator",
1042
+ class: __props.ui.separator({ class: [
1043
+ __props.uiOverride?.separator,
1044
+ item.ui?.separator,
1045
+ item.class
1046
+ ] })
1047
+ }, null, 8, ["class"])) : item?.children?.length ? (openBlock(), createBlock(unref(ContextMenu).Sub, {
1048
+ key: 2,
1049
+ open: item.open,
1050
+ "default-open": item.defaultOpen
1051
+ }, {
1052
+ default: withCtx(() => [createVNode(unref(ContextMenu).SubTrigger, {
1053
+ as: "button",
1054
+ type: "button",
1055
+ disabled: item.disabled,
1056
+ "text-value": unref(get)(item, props.labelKey),
1057
+ "data-slot": "item",
1058
+ class: __props.ui.item({
1059
+ class: [
1060
+ __props.uiOverride?.item,
1061
+ item.ui?.item,
1062
+ item.class
1063
+ ],
1064
+ color: item?.color
1065
+ })
1066
+ }, {
1067
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
1068
+ item,
1069
+ index
1070
+ }, null, 8, ["item", "index"])]),
1071
+ _: 2
1072
+ }, 1032, [
1073
+ "disabled",
1074
+ "text-value",
1075
+ "class"
1076
+ ]), createVNode(_sfc_main$1, mergeProps({
1077
+ sub: "",
1078
+ class: item.ui?.content,
1079
+ ui: __props.ui,
1080
+ "ui-override": __props.uiOverride,
1081
+ portal: __props.portal,
1082
+ items: item.children,
1083
+ "align-offset": -4,
1084
+ "label-key": __props.labelKey,
1085
+ "description-key": __props.descriptionKey,
1086
+ "checked-icon": __props.checkedIcon,
1087
+ "loading-icon": __props.loadingIcon,
1088
+ "external-icon": __props.externalIcon
1089
+ }, { ref_for: true }, item.content), createSlots({ _: 2 }, [renderList(getProxySlots(), (_, name) => {
1090
+ return {
1091
+ name,
1092
+ fn: withCtx((slotData) => [renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))])
1093
+ };
1094
+ })]), 1040, [
1095
+ "class",
1096
+ "ui",
1097
+ "ui-override",
1098
+ "portal",
1099
+ "items",
1100
+ "label-key",
1101
+ "description-key",
1102
+ "checked-icon",
1103
+ "loading-icon",
1104
+ "external-icon"
1105
+ ])]),
1106
+ _: 2
1107
+ }, 1032, ["open", "default-open"])) : item.type === "checkbox" ? (openBlock(), createBlock(unref(ContextMenu).CheckboxItem, {
1108
+ key: 3,
1109
+ "model-value": item.checked,
1110
+ disabled: item.disabled,
1111
+ "text-value": unref(get)(item, props.labelKey),
1112
+ "data-slot": "item",
1113
+ class: __props.ui.item({
1114
+ class: [
1115
+ __props.uiOverride?.item,
1116
+ item.ui?.item,
1117
+ item.class
1118
+ ],
1119
+ color: item?.color
1120
+ }),
1121
+ "onUpdate:modelValue": item.onUpdateChecked,
1122
+ onSelect: item.onSelect
1123
+ }, {
1124
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
1125
+ item,
1126
+ index
1127
+ }, null, 8, ["item", "index"])]),
1128
+ _: 2
1129
+ }, 1032, [
1130
+ "model-value",
1131
+ "disabled",
1132
+ "text-value",
1133
+ "class",
1134
+ "onUpdate:modelValue",
1135
+ "onSelect"
1136
+ ])) : (openBlock(), createBlock(_sfc_main$1$1, mergeProps({
1137
+ key: 4,
1138
+ ref_for: true
1139
+ }, unref(pickLinkProps)(item), { custom: "" }), {
1140
+ default: withCtx(({ active, ...slotProps }) => [createVNode(unref(ContextMenu).Item, {
1141
+ "as-child": "",
1142
+ disabled: item.disabled,
1143
+ "text-value": unref(get)(item, props.labelKey),
1144
+ onSelect: item.onSelect
1145
+ }, {
1146
+ default: withCtx(() => [createVNode(_sfc_main$2$1, mergeProps({ ref_for: true }, slotProps, {
1147
+ "data-slot": "item",
1148
+ class: __props.ui.item({
1149
+ class: [
1150
+ __props.uiOverride?.item,
1151
+ item.ui?.item,
1152
+ item.class
1153
+ ],
1154
+ active,
1155
+ color: item?.color
1156
+ })
1157
+ }), {
1158
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
1159
+ item,
1160
+ active,
1161
+ index
1162
+ }, null, 8, [
1163
+ "item",
1164
+ "active",
1165
+ "index"
1166
+ ])]),
1167
+ _: 2
1168
+ }, 1040, ["class"])]),
1169
+ _: 2
1170
+ }, 1032, [
1171
+ "disabled",
1172
+ "text-value",
1173
+ "onSelect"
1174
+ ])]),
1175
+ _: 2
1176
+ }, 1040))], 64);
1177
+ }), 128))]),
1178
+ _: 2
1179
+ }, 1032, ["class"]);
1180
+ }), 128))], 2),
1181
+ renderSlot(_ctx.$slots, "default"),
1182
+ renderSlot(_ctx.$slots, "content-bottom", { sub: __props.sub ?? false })
1183
+ ]),
1184
+ _: 3
1185
+ }, 16, ["class"]))];
1186
+ }),
1187
+ _: 3
1188
+ }, _parent, _scopeId));
1189
+ else return [createVNode(unref(FieldGroupReset), null, {
1190
+ default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(__props.sub ? unref(ContextMenu).SubContent : unref(ContextMenu).Content), mergeProps({
1191
+ "data-slot": "content",
1192
+ class: __props.ui.content({ class: [__props.uiOverride?.content, props.class] })
1193
+ }, unref(contentProps)), {
1194
+ default: withCtx(() => [
1195
+ renderSlot(_ctx.$slots, "content-top", { sub: __props.sub ?? false }),
1196
+ createVNode("div", {
1197
+ role: "presentation",
1198
+ "data-slot": "viewport",
1199
+ class: __props.ui.viewport({ class: __props.uiOverride?.viewport })
1200
+ }, [(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
1201
+ return openBlock(), createBlock(unref(ContextMenu).Group, {
1202
+ key: `group-${groupIndex}`,
1203
+ "data-slot": "group",
1204
+ class: __props.ui.group({ class: __props.uiOverride?.group })
1205
+ }, {
1206
+ default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1207
+ return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [item.type === "label" ? (openBlock(), createBlock(unref(ContextMenu).Label, {
1208
+ key: 0,
1209
+ "data-slot": "label",
1210
+ class: __props.ui.label({ class: [
1211
+ __props.uiOverride?.label,
1212
+ item.ui?.label,
1213
+ item.class
1214
+ ] })
1215
+ }, {
1216
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
1217
+ item,
1218
+ index
1219
+ }, null, 8, ["item", "index"])]),
1220
+ _: 2
1221
+ }, 1032, ["class"])) : item.type === "separator" ? (openBlock(), createBlock(unref(ContextMenu).Separator, {
1222
+ key: 1,
1223
+ "data-slot": "separator",
1224
+ class: __props.ui.separator({ class: [
1225
+ __props.uiOverride?.separator,
1226
+ item.ui?.separator,
1227
+ item.class
1228
+ ] })
1229
+ }, null, 8, ["class"])) : item?.children?.length ? (openBlock(), createBlock(unref(ContextMenu).Sub, {
1230
+ key: 2,
1231
+ open: item.open,
1232
+ "default-open": item.defaultOpen
1233
+ }, {
1234
+ default: withCtx(() => [createVNode(unref(ContextMenu).SubTrigger, {
1235
+ as: "button",
1236
+ type: "button",
1237
+ disabled: item.disabled,
1238
+ "text-value": unref(get)(item, props.labelKey),
1239
+ "data-slot": "item",
1240
+ class: __props.ui.item({
1241
+ class: [
1242
+ __props.uiOverride?.item,
1243
+ item.ui?.item,
1244
+ item.class
1245
+ ],
1246
+ color: item?.color
1247
+ })
1248
+ }, {
1249
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
1250
+ item,
1251
+ index
1252
+ }, null, 8, ["item", "index"])]),
1253
+ _: 2
1254
+ }, 1032, [
1255
+ "disabled",
1256
+ "text-value",
1257
+ "class"
1258
+ ]), createVNode(_sfc_main$1, mergeProps({
1259
+ sub: "",
1260
+ class: item.ui?.content,
1261
+ ui: __props.ui,
1262
+ "ui-override": __props.uiOverride,
1263
+ portal: __props.portal,
1264
+ items: item.children,
1265
+ "align-offset": -4,
1266
+ "label-key": __props.labelKey,
1267
+ "description-key": __props.descriptionKey,
1268
+ "checked-icon": __props.checkedIcon,
1269
+ "loading-icon": __props.loadingIcon,
1270
+ "external-icon": __props.externalIcon
1271
+ }, { ref_for: true }, item.content), createSlots({ _: 2 }, [renderList(getProxySlots(), (_, name) => {
1272
+ return {
1273
+ name,
1274
+ fn: withCtx((slotData) => [renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))])
1275
+ };
1276
+ })]), 1040, [
1277
+ "class",
1278
+ "ui",
1279
+ "ui-override",
1280
+ "portal",
1281
+ "items",
1282
+ "label-key",
1283
+ "description-key",
1284
+ "checked-icon",
1285
+ "loading-icon",
1286
+ "external-icon"
1287
+ ])]),
1288
+ _: 2
1289
+ }, 1032, ["open", "default-open"])) : item.type === "checkbox" ? (openBlock(), createBlock(unref(ContextMenu).CheckboxItem, {
1290
+ key: 3,
1291
+ "model-value": item.checked,
1292
+ disabled: item.disabled,
1293
+ "text-value": unref(get)(item, props.labelKey),
1294
+ "data-slot": "item",
1295
+ class: __props.ui.item({
1296
+ class: [
1297
+ __props.uiOverride?.item,
1298
+ item.ui?.item,
1299
+ item.class
1300
+ ],
1301
+ color: item?.color
1302
+ }),
1303
+ "onUpdate:modelValue": item.onUpdateChecked,
1304
+ onSelect: item.onSelect
1305
+ }, {
1306
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
1307
+ item,
1308
+ index
1309
+ }, null, 8, ["item", "index"])]),
1310
+ _: 2
1311
+ }, 1032, [
1312
+ "model-value",
1313
+ "disabled",
1314
+ "text-value",
1315
+ "class",
1316
+ "onUpdate:modelValue",
1317
+ "onSelect"
1318
+ ])) : (openBlock(), createBlock(_sfc_main$1$1, mergeProps({
1319
+ key: 4,
1320
+ ref_for: true
1321
+ }, unref(pickLinkProps)(item), { custom: "" }), {
1322
+ default: withCtx(({ active, ...slotProps }) => [createVNode(unref(ContextMenu).Item, {
1323
+ "as-child": "",
1324
+ disabled: item.disabled,
1325
+ "text-value": unref(get)(item, props.labelKey),
1326
+ onSelect: item.onSelect
1327
+ }, {
1328
+ default: withCtx(() => [createVNode(_sfc_main$2$1, mergeProps({ ref_for: true }, slotProps, {
1329
+ "data-slot": "item",
1330
+ class: __props.ui.item({
1331
+ class: [
1332
+ __props.uiOverride?.item,
1333
+ item.ui?.item,
1334
+ item.class
1335
+ ],
1336
+ active,
1337
+ color: item?.color
1338
+ })
1339
+ }), {
1340
+ default: withCtx(() => [createVNode(unref(ReuseItemTemplate), {
1341
+ item,
1342
+ active,
1343
+ index
1344
+ }, null, 8, [
1345
+ "item",
1346
+ "active",
1347
+ "index"
1348
+ ])]),
1349
+ _: 2
1350
+ }, 1040, ["class"])]),
1351
+ _: 2
1352
+ }, 1032, [
1353
+ "disabled",
1354
+ "text-value",
1355
+ "onSelect"
1356
+ ])]),
1357
+ _: 2
1358
+ }, 1040))], 64);
1359
+ }), 128))]),
1360
+ _: 2
1361
+ }, 1032, ["class"]);
1362
+ }), 128))], 2),
1363
+ renderSlot(_ctx.$slots, "default"),
1364
+ renderSlot(_ctx.$slots, "content-bottom", { sub: __props.sub ?? false })
1365
+ ]),
1366
+ _: 3
1367
+ }, 16, ["class"]))]),
1368
+ _: 3
1369
+ })];
1370
+ }),
1371
+ _: 3
1372
+ }, _parent));
1373
+ _push(`<!--]-->`);
1374
+ };
1375
+ }
1376
+ };
1377
+ var _sfc_setup$1 = _sfc_main$1.setup;
1378
+ _sfc_main$1.setup = (props, ctx) => {
1379
+ const ssrContext = useSSRContext();
1380
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/ContextMenuContent.vue");
1381
+ return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
1382
+ };
1383
+ //#endregion
1384
+ //#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fcontext-menu.ts
1385
+ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fcontext_menu_default = {
1386
+ "slots": {
1387
+ "content": "min-w-32 max-h-(--reka-context-menu-content-available-height) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-context-menu-content-transform-origin) flex flex-col",
1388
+ "viewport": "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
1389
+ "group": "p-1 isolate",
1390
+ "label": "w-full flex items-center font-semibold text-highlighted",
1391
+ "separator": "-mx-1 my-1 h-px bg-border",
1392
+ "item": "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",
1393
+ "itemLeadingIcon": "shrink-0",
1394
+ "itemLeadingAvatar": "shrink-0",
1395
+ "itemLeadingAvatarSize": "",
1396
+ "itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
1397
+ "itemTrailingIcon": "shrink-0",
1398
+ "itemTrailingKbds": "hidden lg:inline-flex items-center shrink-0",
1399
+ "itemTrailingKbdsSize": "",
1400
+ "itemWrapper": "flex-1 flex flex-col text-start min-w-0",
1401
+ "itemLabel": "truncate",
1402
+ "itemDescription": "truncate text-muted",
1403
+ "itemLabelExternalIcon": "inline-block size-3 align-top text-dimmed"
1404
+ },
1405
+ "variants": {
1406
+ "color": {
1407
+ "primary": "",
1408
+ "secondary": "",
1409
+ "success": "",
1410
+ "info": "",
1411
+ "warning": "",
1412
+ "error": "",
1413
+ "neutral": ""
1414
+ },
1415
+ "active": {
1416
+ "true": {
1417
+ "item": "text-highlighted before:bg-elevated",
1418
+ "itemLeadingIcon": "text-default"
1419
+ },
1420
+ "false": {
1421
+ "item": ["text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50", "transition-colors before:transition-colors"],
1422
+ "itemLeadingIcon": ["text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default", "transition-colors"]
1423
+ }
1424
+ },
1425
+ "loading": { "true": { "itemLeadingIcon": "animate-spin" } },
1426
+ "size": {
1427
+ "xs": {
1428
+ "label": "p-1 text-xs gap-1",
1429
+ "item": "p-1 text-xs gap-1",
1430
+ "itemLeadingIcon": "size-4",
1431
+ "itemLeadingAvatarSize": "3xs",
1432
+ "itemTrailingIcon": "size-4",
1433
+ "itemTrailingKbds": "gap-0.5",
1434
+ "itemTrailingKbdsSize": "sm"
1435
+ },
1436
+ "sm": {
1437
+ "label": "p-1.5 text-xs gap-1.5",
1438
+ "item": "p-1.5 text-xs gap-1.5",
1439
+ "itemLeadingIcon": "size-4",
1440
+ "itemLeadingAvatarSize": "3xs",
1441
+ "itemTrailingIcon": "size-4",
1442
+ "itemTrailingKbds": "gap-0.5",
1443
+ "itemTrailingKbdsSize": "sm"
1444
+ },
1445
+ "md": {
1446
+ "label": "p-1.5 text-sm gap-1.5",
1447
+ "item": "p-1.5 text-sm gap-1.5",
1448
+ "itemLeadingIcon": "size-5",
1449
+ "itemLeadingAvatarSize": "2xs",
1450
+ "itemTrailingIcon": "size-5",
1451
+ "itemTrailingKbds": "gap-0.5",
1452
+ "itemTrailingKbdsSize": "md"
1453
+ },
1454
+ "lg": {
1455
+ "label": "p-2 text-sm gap-2",
1456
+ "item": "p-2 text-sm gap-2",
1457
+ "itemLeadingIcon": "size-5",
1458
+ "itemLeadingAvatarSize": "2xs",
1459
+ "itemTrailingIcon": "size-5",
1460
+ "itemTrailingKbds": "gap-1",
1461
+ "itemTrailingKbdsSize": "md"
1462
+ },
1463
+ "xl": {
1464
+ "label": "p-2 text-base gap-2",
1465
+ "item": "p-2 text-base gap-2",
1466
+ "itemLeadingIcon": "size-6",
1467
+ "itemLeadingAvatarSize": "xs",
1468
+ "itemTrailingIcon": "size-6",
1469
+ "itemTrailingKbds": "gap-1",
1470
+ "itemTrailingKbdsSize": "lg"
1471
+ }
1472
+ }
1473
+ },
1474
+ "compoundVariants": [
1475
+ {
1476
+ "color": "primary",
1477
+ "active": false,
1478
+ "class": {
1479
+ "item": "text-primary data-highlighted:text-primary data-highlighted:before:bg-primary/10 data-[state=open]:before:bg-primary/10",
1480
+ "itemLeadingIcon": "text-primary/75 group-data-highlighted:text-primary group-data-[state=open]:text-primary"
1481
+ }
1482
+ },
1483
+ {
1484
+ "color": "secondary",
1485
+ "active": false,
1486
+ "class": {
1487
+ "item": "text-secondary data-highlighted:text-secondary data-highlighted:before:bg-secondary/10 data-[state=open]:before:bg-secondary/10",
1488
+ "itemLeadingIcon": "text-secondary/75 group-data-highlighted:text-secondary group-data-[state=open]:text-secondary"
1489
+ }
1490
+ },
1491
+ {
1492
+ "color": "success",
1493
+ "active": false,
1494
+ "class": {
1495
+ "item": "text-success data-highlighted:text-success data-highlighted:before:bg-success/10 data-[state=open]:before:bg-success/10",
1496
+ "itemLeadingIcon": "text-success/75 group-data-highlighted:text-success group-data-[state=open]:text-success"
1497
+ }
1498
+ },
1499
+ {
1500
+ "color": "info",
1501
+ "active": false,
1502
+ "class": {
1503
+ "item": "text-info data-highlighted:text-info data-highlighted:before:bg-info/10 data-[state=open]:before:bg-info/10",
1504
+ "itemLeadingIcon": "text-info/75 group-data-highlighted:text-info group-data-[state=open]:text-info"
1505
+ }
1506
+ },
1507
+ {
1508
+ "color": "warning",
1509
+ "active": false,
1510
+ "class": {
1511
+ "item": "text-warning data-highlighted:text-warning data-highlighted:before:bg-warning/10 data-[state=open]:before:bg-warning/10",
1512
+ "itemLeadingIcon": "text-warning/75 group-data-highlighted:text-warning group-data-[state=open]:text-warning"
1513
+ }
1514
+ },
1515
+ {
1516
+ "color": "error",
1517
+ "active": false,
1518
+ "class": {
1519
+ "item": "text-error data-highlighted:text-error data-highlighted:before:bg-error/10 data-[state=open]:before:bg-error/10",
1520
+ "itemLeadingIcon": "text-error/75 group-data-highlighted:text-error group-data-[state=open]:text-error"
1521
+ }
1522
+ },
1523
+ {
1524
+ "color": "primary",
1525
+ "active": true,
1526
+ "class": {
1527
+ "item": "text-primary before:bg-primary/10",
1528
+ "itemLeadingIcon": "text-primary"
1529
+ }
1530
+ },
1531
+ {
1532
+ "color": "secondary",
1533
+ "active": true,
1534
+ "class": {
1535
+ "item": "text-secondary before:bg-secondary/10",
1536
+ "itemLeadingIcon": "text-secondary"
1537
+ }
1538
+ },
1539
+ {
1540
+ "color": "success",
1541
+ "active": true,
1542
+ "class": {
1543
+ "item": "text-success before:bg-success/10",
1544
+ "itemLeadingIcon": "text-success"
1545
+ }
1546
+ },
1547
+ {
1548
+ "color": "info",
1549
+ "active": true,
1550
+ "class": {
1551
+ "item": "text-info before:bg-info/10",
1552
+ "itemLeadingIcon": "text-info"
1553
+ }
1554
+ },
1555
+ {
1556
+ "color": "warning",
1557
+ "active": true,
1558
+ "class": {
1559
+ "item": "text-warning before:bg-warning/10",
1560
+ "itemLeadingIcon": "text-warning"
1561
+ }
1562
+ },
1563
+ {
1564
+ "color": "error",
1565
+ "active": true,
1566
+ "class": {
1567
+ "item": "text-error before:bg-error/10",
1568
+ "itemLeadingIcon": "text-error"
1569
+ }
1570
+ }
1571
+ ],
1572
+ "defaultVariants": { "size": "md" }
1573
+ };
1574
+ //#endregion
1575
+ //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/ContextMenu.vue
1576
+ var _sfc_main = {
1577
+ __name: "UContextMenu",
1578
+ __ssrInlineRender: true,
1579
+ props: {
1580
+ size: {
1581
+ type: null,
1582
+ required: false
1583
+ },
1584
+ items: {
1585
+ type: null,
1586
+ required: false
1587
+ },
1588
+ checkedIcon: {
1589
+ type: null,
1590
+ required: false
1591
+ },
1592
+ loadingIcon: {
1593
+ type: null,
1594
+ required: false
1595
+ },
1596
+ externalIcon: {
1597
+ type: [Boolean, String],
1598
+ required: false,
1599
+ skipCheck: true,
1600
+ default: true
1601
+ },
1602
+ content: {
1603
+ type: Object,
1604
+ required: false
1605
+ },
1606
+ portal: {
1607
+ type: [Boolean, String],
1608
+ required: false,
1609
+ skipCheck: true,
1610
+ default: true
1611
+ },
1612
+ labelKey: {
1613
+ type: null,
1614
+ required: false,
1615
+ default: "label"
1616
+ },
1617
+ descriptionKey: {
1618
+ type: null,
1619
+ required: false,
1620
+ default: "description"
1621
+ },
1622
+ disabled: {
1623
+ type: Boolean,
1624
+ required: false
1625
+ },
1626
+ class: {
1627
+ type: null,
1628
+ required: false
1629
+ },
1630
+ ui: {
1631
+ type: Object,
1632
+ required: false
1633
+ },
1634
+ pressOpenDelay: {
1635
+ type: Number,
1636
+ required: false
1637
+ },
1638
+ modal: {
1639
+ type: Boolean,
1640
+ required: false,
1641
+ default: true
1642
+ }
1643
+ },
1644
+ emits: ["update:open"],
1645
+ setup(__props, { emit: __emit }) {
1646
+ const _props = __props;
1647
+ const emits = __emit;
1648
+ const slots = useSlots();
1649
+ const props = useComponentProps("contextMenu", _props);
1650
+ const appConfig = useAppConfig();
1651
+ const rootProps = useForwardProps(reactivePick(props, "modal"), emits);
1652
+ const contentProps = toRef(() => props.content);
1653
+ const getProxySlots = () => omit(slots, ["default"]);
1654
+ const ui = computed(() => tv({
1655
+ extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fcontext_menu_default,
1656
+ ...appConfig.ui?.contextMenu || {}
1657
+ })({ size: props.size }));
1658
+ return (_ctx, _push, _parent, _attrs) => {
1659
+ _push(ssrRenderComponent(unref(ContextMenuRoot_default), mergeProps(unref(rootProps), _attrs), {
1660
+ default: withCtx((_, _push, _parent, _scopeId) => {
1661
+ if (_push) {
1662
+ if (!!slots.default) _push(ssrRenderComponent(unref(ContextMenuTrigger_default), {
1663
+ "as-child": "",
1664
+ disabled: unref(props).disabled,
1665
+ class: unref(props).class
1666
+ }, {
1667
+ default: withCtx((_, _push, _parent, _scopeId) => {
1668
+ if (_push) ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
1669
+ else return [renderSlot(_ctx.$slots, "default")];
1670
+ }),
1671
+ _: 3
1672
+ }, _parent, _scopeId));
1673
+ else _push(`<!---->`);
1674
+ _push(ssrRenderComponent(_sfc_main$1, mergeProps({
1675
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] }),
1676
+ ui: ui.value,
1677
+ "ui-override": unref(props).ui
1678
+ }, contentProps.value, {
1679
+ items: unref(props).items,
1680
+ portal: unref(props).portal,
1681
+ "label-key": unref(props).labelKey,
1682
+ "description-key": unref(props).descriptionKey,
1683
+ "checked-icon": unref(props).checkedIcon,
1684
+ "loading-icon": unref(props).loadingIcon,
1685
+ "external-icon": unref(props).externalIcon
1686
+ }), createSlots({ _: 2 }, [renderList(getProxySlots(), (_, name) => {
1687
+ return {
1688
+ name,
1689
+ fn: withCtx((slotData, _push, _parent, _scopeId) => {
1690
+ if (_push) ssrRenderSlot(_ctx.$slots, name, slotData, null, _push, _parent, _scopeId);
1691
+ else return [renderSlot(_ctx.$slots, name, slotData)];
1692
+ })
1693
+ };
1694
+ })]), _parent, _scopeId));
1695
+ } else return [!!slots.default ? (openBlock(), createBlock(unref(ContextMenuTrigger_default), {
1696
+ key: 0,
1697
+ "as-child": "",
1698
+ disabled: unref(props).disabled,
1699
+ class: unref(props).class
1700
+ }, {
1701
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1702
+ _: 3
1703
+ }, 8, ["disabled", "class"])) : createCommentVNode("", true), createVNode(_sfc_main$1, mergeProps({
1704
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] }),
1705
+ ui: ui.value,
1706
+ "ui-override": unref(props).ui
1707
+ }, contentProps.value, {
1708
+ items: unref(props).items,
1709
+ portal: unref(props).portal,
1710
+ "label-key": unref(props).labelKey,
1711
+ "description-key": unref(props).descriptionKey,
1712
+ "checked-icon": unref(props).checkedIcon,
1713
+ "loading-icon": unref(props).loadingIcon,
1714
+ "external-icon": unref(props).externalIcon
1715
+ }), createSlots({ _: 2 }, [renderList(getProxySlots(), (_, name) => {
1716
+ return {
1717
+ name,
1718
+ fn: withCtx((slotData) => [renderSlot(_ctx.$slots, name, slotData)])
1719
+ };
1720
+ })]), 1040, [
1721
+ "class",
1722
+ "ui",
1723
+ "ui-override",
1724
+ "items",
1725
+ "portal",
1726
+ "label-key",
1727
+ "description-key",
1728
+ "checked-icon",
1729
+ "loading-icon",
1730
+ "external-icon"
1731
+ ])];
1732
+ }),
1733
+ _: 3
1734
+ }, _parent));
1735
+ };
1736
+ }
1737
+ };
1738
+ var _sfc_setup = _sfc_main.setup;
1739
+ _sfc_main.setup = (props, ctx) => {
1740
+ const ssrContext = useSSRContext();
1741
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/ContextMenu.vue");
1742
+ return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
1743
+ };
1744
+
1745
+ export { _sfc_main as _ };
1746
+ //# sourceMappingURL=ContextMenu-CC085wXq.mjs.map