@oomol-lab/open-flow 0.1.0-alpha.2 → 0.1.0-alpha.4

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 (31) hide show
  1. package/dist/browser/addNodeOptions-CGyTkP99.js +7272 -0
  2. package/dist/browser/{composite-7VwgfnXx.js → createLucideIcon-MmUpJrIU.js} +1570 -2087
  3. package/dist/browser/createResourceDialog-CIVfStiE.js +467 -0
  4. package/dist/browser/dist-0lWKriL5.js +252 -0
  5. package/dist/browser/field-runIpvMd.js +312 -0
  6. package/dist/browser/flowRunInputEditorStore-B49C0ZmK.js +8044 -0
  7. package/dist/browser/flowWorkspace-CGsEHe2F.js +40889 -0
  8. package/dist/browser/{markdownContent-ZZFfSRqO.js → markdownContent-BvYiwIwR.js} +1 -1
  9. package/dist/browser/project-authoring-edge.d.ts +3 -0
  10. package/dist/browser/project-authoring-flow.d.ts +4 -0
  11. package/dist/browser/project-authoring-module.d.ts +4 -0
  12. package/dist/browser/project-authoring-node.d.ts +90 -0
  13. package/dist/browser/project-authoring.d.ts +4 -0
  14. package/dist/browser/project-authoring.js +426 -0
  15. package/dist/browser/workbench-contract.d.ts +0 -1
  16. package/dist/browser/workbench.css +1 -1
  17. package/dist/browser/workbench.d.ts +1 -0
  18. package/dist/browser/workbench.js +516 -443
  19. package/dist/common/control-api-conformance.js +14 -17
  20. package/dist/common/control-api-errors.d.ts +4 -0
  21. package/dist/common/control-api.d.ts +6 -6
  22. package/dist/common/control-api.js +24 -24
  23. package/dist/common/integration-trigger.d.ts +1 -0
  24. package/dist/common/provider-triggers.js +928 -796
  25. package/dist/common/scheduler.js +3 -3
  26. package/dist/common/webhook-trigger.js +34 -0
  27. package/package.json +5 -1
  28. package/dist/browser/addNodeOptions-DqoIueCR.js +0 -33746
  29. package/dist/browser/createResourceDialog-ByuJWdSL.js +0 -439
  30. package/dist/browser/dist-n-z5HtaO.js +0 -4
  31. package/dist/browser/flowWorkspace-DwVMpcar.js +0 -22092
@@ -0,0 +1,467 @@
1
+ import { $n as e, A as t, D as n, Ft as r, Hr as i, Jn as a, Nn as o, Nt as s, O as c, Pn as l, R as u, S as d, T as f, Y as p, _ as m, _t as h, b as g, c as _, ct as v, er as y, fr as b, it as x, j as S, lr as C, lt as w, nt as T, pt as E, rr as D, st as O, t as k, v as A, vr as j, y as M } from "./createLucideIcon-MmUpJrIU.js";
2
+ import { a as N, c as P, d as ee, i as te, l as ne, n as F, o as I, r as L, s as re, t as ie, u as ae } from "./field-runIpvMd.js";
3
+ import * as R from "react";
4
+ import { useEffect as oe, useRef as z, useState as se } from "react";
5
+ import { Fragment as ce, jsx as B, jsxs as V } from "react/jsx-runtime";
6
+ //#region ../../node_modules/lucide-react/dist/esm/icons/x.js
7
+ var H = k("X", [["path", {
8
+ d: "M18 6 6 18",
9
+ key: "1bl5f8"
10
+ }], ["path", {
11
+ d: "m6 6 12 12",
12
+ key: "d8bk6v"
13
+ }]]), U = /*#__PURE__*/ R.createContext(void 0);
14
+ process.env.NODE_ENV !== "production" && (U.displayName = "DialogRootContext");
15
+ function W(e) {
16
+ let t = R.useContext(U);
17
+ if (e === !1 && t === void 0) throw Error(process.env.NODE_ENV === "production" ? b(27) : "Base UI: DialogRootContext is missing. Dialog parts must be placed within <Dialog.Root>.");
18
+ return t;
19
+ }
20
+ //#endregion
21
+ //#region ../../node_modules/@base-ui/react/esm/dialog/backdrop/DialogBackdrop.js
22
+ var le = {
23
+ ...d,
24
+ ...r
25
+ }, G = /*#__PURE__*/ R.forwardRef(function(e, t) {
26
+ let { render: n, className: r, style: i, forceRender: a = !1, ...o } = e, { store: s } = W(), c = s.useState("open"), l = s.useState("nested"), u = s.useState("mounted"), d = {
27
+ open: c,
28
+ transitionStatus: s.useState("transitionStatus")
29
+ };
30
+ return D("div", e, {
31
+ state: d,
32
+ ref: [s.context.backdropRef, t],
33
+ stateAttributesMapping: le,
34
+ props: [{
35
+ role: "presentation",
36
+ hidden: !u,
37
+ style: {
38
+ userSelect: "none",
39
+ WebkitUserSelect: "none"
40
+ }
41
+ }, o],
42
+ enabled: a || !l
43
+ });
44
+ });
45
+ process.env.NODE_ENV !== "production" && (G.displayName = "DialogBackdrop");
46
+ //#endregion
47
+ //#region ../../node_modules/@base-ui/react/esm/dialog/close/DialogClose.js
48
+ var K = /*#__PURE__*/ R.forwardRef(function(e, t) {
49
+ let { render: n, className: r, disabled: i = !1, nativeButton: a = !0, style: o, ...s } = e, { store: c } = W(), l = c.useState("open");
50
+ function u(e) {
51
+ l && c.setOpen(!1, w(E, e.nativeEvent));
52
+ }
53
+ let { getButtonProps: d, buttonRef: f } = C({
54
+ disabled: i,
55
+ native: a
56
+ });
57
+ return D("button", e, {
58
+ state: { disabled: i },
59
+ ref: [t, f],
60
+ props: [
61
+ { onClick: u },
62
+ s,
63
+ d
64
+ ]
65
+ });
66
+ });
67
+ process.env.NODE_ENV !== "production" && (K.displayName = "DialogClose");
68
+ //#endregion
69
+ //#region ../../node_modules/@base-ui/react/esm/dialog/popup/DialogPopupCssVars.js
70
+ var ue = /*#__PURE__*/ function(e) {
71
+ return e.nestedDialogs = "--nested-dialogs", e;
72
+ }({}), de = function(e) {
73
+ return e[e.open = g.open] = "open", e[e.closed = g.closed] = "closed", e[e.startingStyle = g.startingStyle] = "startingStyle", e[e.endingStyle = g.endingStyle] = "endingStyle", e.nested = "data-nested", e.nestedDialogOpen = "data-nested-dialog-open", e;
74
+ }({}), q = /*#__PURE__*/ R.createContext(void 0);
75
+ process.env.NODE_ENV !== "production" && (q.displayName = "DialogPortalContext");
76
+ function fe() {
77
+ let e = R.useContext(q);
78
+ if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? b(26) : "Base UI: <Dialog.Portal> is missing.");
79
+ return e;
80
+ }
81
+ //#endregion
82
+ //#region ../../node_modules/@base-ui/react/esm/dialog/popup/DialogPopup.js
83
+ var pe = {
84
+ ...d,
85
+ ...r,
86
+ nestedDialogOpen(e) {
87
+ return e ? { [de.nestedDialogOpen]: "" } : null;
88
+ }
89
+ }, J = /*#__PURE__*/ R.forwardRef(function(e, t) {
90
+ let { className: n, finalFocus: r, initialFocus: i, render: a, style: o, ...c } = e, { store: l } = W(), u = l.useState("descriptionElementId"), d = l.useState("disablePointerDismissal"), f = l.useState("floatingRootContext"), p = l.useState("popupProps"), m = l.useState("modal"), h = l.useState("mounted"), g = l.useState("nested"), v = l.useState("nestedOpenDialogCount"), y = l.useState("open"), b = l.useState("openMethod"), x = l.useState("titleElementId"), C = l.useState("transitionStatus"), w = l.useState("role");
91
+ fe(), s({
92
+ open: y,
93
+ ref: l.context.popupRef,
94
+ onComplete() {
95
+ y && l.context.onOpenChangeComplete?.(!0);
96
+ }
97
+ });
98
+ function T(e) {
99
+ return e !== "touch" || l.context.popupRef.current;
100
+ }
101
+ let E = i === void 0 ? T : i, O = D("div", e, {
102
+ state: {
103
+ open: y,
104
+ nested: g,
105
+ transitionStatus: C,
106
+ nestedDialogOpen: v > 0
107
+ },
108
+ props: [
109
+ p,
110
+ {
111
+ "aria-labelledby": x ?? void 0,
112
+ "aria-describedby": u ?? void 0,
113
+ role: w,
114
+ tabIndex: -1,
115
+ hidden: !h,
116
+ onKeyDown(e) {
117
+ _.has(e.key) && e.stopPropagation();
118
+ },
119
+ style: { [ue.nestedDialogs]: v }
120
+ },
121
+ c
122
+ ],
123
+ ref: [
124
+ t,
125
+ l.context.popupRef,
126
+ l.useStateSetter("popupElement")
127
+ ],
128
+ stateAttributesMapping: pe
129
+ });
130
+ return /*#__PURE__*/ B(S, {
131
+ context: f,
132
+ openInteractionType: b,
133
+ disabled: !h,
134
+ closeOnFocusOut: !d,
135
+ initialFocus: E,
136
+ returnFocus: r,
137
+ modal: m !== !1,
138
+ restoreFocus: "popup",
139
+ children: O
140
+ });
141
+ });
142
+ process.env.NODE_ENV !== "production" && (J.displayName = "DialogPopup");
143
+ //#endregion
144
+ //#region ../../node_modules/@base-ui/react/esm/dialog/portal/DialogPortal.js
145
+ var Y = /*#__PURE__*/ R.forwardRef(function(e, t) {
146
+ let { keepMounted: n = !1, ...r } = e, { store: i } = W(), a = i.useState("mounted"), o = i.useState("modal"), s = i.useState("open");
147
+ return a || n ? /*#__PURE__*/ B(q.Provider, {
148
+ value: n,
149
+ children: /*#__PURE__*/ V(u, {
150
+ ref: t,
151
+ ...r,
152
+ children: [a && o === !0 && /*#__PURE__*/ B(A, {
153
+ ref: i.context.internalBackdropRef,
154
+ inert: M(!s)
155
+ }), e.children]
156
+ })
157
+ }) : null;
158
+ });
159
+ process.env.NODE_ENV !== "production" && (Y.displayName = "DialogPortal");
160
+ //#endregion
161
+ //#region ../../node_modules/@base-ui/react/esm/dialog/root/useDialogRoot.js
162
+ function me(e) {
163
+ let { store: r, parentContext: i, actionsRef: a, isDrawer: s } = e, c = r.useState("open"), u = r.useState("disablePointerDismissal"), d = r.useState("modal"), p = r.useState("popupElement"), { openMethod: g, triggerProps: _ } = f(c);
164
+ ae(r);
165
+ let { forceUnmount: v } = ee(c, r), y = R.useCallback(() => {
166
+ r.setOpen(!1, w(h));
167
+ }, [r]);
168
+ R.useImperativeHandle(a, () => ({
169
+ unmount: v,
170
+ close: y
171
+ }), [v, y]);
172
+ let b = re({
173
+ popupStore: r,
174
+ onOpenChange: r.setOpen,
175
+ treatPopupAsFloatingElement: !0
176
+ }), [x, S] = R.useState(0), [C, T] = R.useState(0), E = x === 0, D = I(b), O = t(b, {
177
+ outsidePressEvent() {
178
+ return r.context.internalBackdropRef.current || r.context.backdropRef.current ? "intentional" : {
179
+ mouse: d === "trap-focus" ? "sloppy" : "intentional",
180
+ touch: "sloppy"
181
+ };
182
+ },
183
+ outsidePress(e) {
184
+ if (!r.context.outsidePressEnabledRef.current || "button" in e && e.button !== 0 || "touches" in e && e.touches.length !== 1) return !1;
185
+ let t = l(e);
186
+ if (E && !u) {
187
+ let e = t;
188
+ return d && (r.context.internalBackdropRef.current || r.context.backdropRef.current) ? r.context.internalBackdropRef.current === e || r.context.backdropRef.current === e || o(e, p) && !e?.hasAttribute("data-base-ui-portal") : !0;
189
+ }
190
+ return !1;
191
+ },
192
+ escapeKey: E
193
+ });
194
+ m(c && d === !0, p);
195
+ let { getReferenceProps: k, getFloatingProps: A, getTriggerProps: j } = n([D, O]);
196
+ r.useContextCallback("onNestedDialogOpen", (e, t) => {
197
+ S(e), T(t);
198
+ }), r.useContextCallback("onNestedDialogClose", () => {
199
+ S(0), T(0);
200
+ }), R.useEffect(() => (i?.onNestedDialogOpen && c && i.onNestedDialogOpen(x + 1, C + +!!s), i?.onNestedDialogClose && !c && i.onNestedDialogClose(), () => {
201
+ i?.onNestedDialogClose && c && i.onNestedDialogClose();
202
+ }), [
203
+ s,
204
+ c,
205
+ x,
206
+ C,
207
+ i
208
+ ]);
209
+ let M = R.useMemo(() => k(_), [k, _]), N = R.useMemo(() => j(_), [j, _]), P = R.useMemo(() => A(), [A]);
210
+ r.useSyncedValues({
211
+ openMethod: g,
212
+ activeTriggerProps: M,
213
+ inactiveTriggerProps: N,
214
+ popupProps: P,
215
+ floatingRootContext: b,
216
+ nestedOpenDialogCount: x,
217
+ nestedOpenDrawerCount: C
218
+ });
219
+ }
220
+ //#endregion
221
+ //#region ../../node_modules/@base-ui/react/esm/dialog/store/DialogStore.js
222
+ var he = {
223
+ ...ne,
224
+ modal: T((e) => e.modal),
225
+ nested: T((e) => e.nested),
226
+ nestedOpenDialogCount: T((e) => e.nestedOpenDialogCount),
227
+ nestedOpenDrawerCount: T((e) => e.nestedOpenDrawerCount),
228
+ disablePointerDismissal: T((e) => e.disablePointerDismissal),
229
+ openMethod: T((e) => e.openMethod),
230
+ descriptionElementId: T((e) => e.descriptionElementId),
231
+ titleElementId: T((e) => e.titleElementId),
232
+ viewportElement: T((e) => e.viewportElement),
233
+ role: T((e) => e.role)
234
+ }, ge = class e extends p {
235
+ constructor(e) {
236
+ super(_e(e), {
237
+ popupRef: /*#__PURE__*/ R.createRef(),
238
+ backdropRef: /*#__PURE__*/ R.createRef(),
239
+ internalBackdropRef: /*#__PURE__*/ R.createRef(),
240
+ outsidePressEnabledRef: { current: !0 },
241
+ triggerElements: new c(),
242
+ onOpenChange: void 0,
243
+ onOpenChangeComplete: void 0
244
+ }, he);
245
+ }
246
+ setOpen = (e, t) => {
247
+ if (t.preventUnmountOnClose = () => {
248
+ this.set("preventUnmountingOnClose", !0);
249
+ }, !e && t.trigger == null && this.state.activeTriggerId != null && (t.trigger = this.state.activeTriggerElement ?? void 0), this.context.onOpenChange?.(e, t), t.isCanceled) return;
250
+ this.state.floatingRootContext.dispatchOpenChange(e, t);
251
+ let n = { open: e }, r = t.trigger?.id ?? null;
252
+ (r || e) && (n.activeTriggerId = r, n.activeTriggerElement = t.trigger ?? null), this.update(n);
253
+ };
254
+ static useStore(t, n) {
255
+ let r = j(() => new e(n)).current;
256
+ return t ?? r;
257
+ }
258
+ };
259
+ function _e(e = {}) {
260
+ return {
261
+ ...P(),
262
+ modal: !0,
263
+ disablePointerDismissal: !1,
264
+ popupElement: null,
265
+ viewportElement: null,
266
+ descriptionElementId: void 0,
267
+ titleElementId: void 0,
268
+ openMethod: null,
269
+ nested: !1,
270
+ nestedOpenDialogCount: 0,
271
+ nestedOpenDrawerCount: 0,
272
+ role: "dialog",
273
+ ...e
274
+ };
275
+ }
276
+ //#endregion
277
+ //#region ../../node_modules/@base-ui/react/esm/dialog/root/DialogRoot.js
278
+ var X = /*#__PURE__*/ R.createContext(!1);
279
+ process.env.NODE_ENV !== "production" && (X.displayName = "IsDrawerContext");
280
+ function ve(e) {
281
+ let { children: t, open: n, defaultOpen: r = !1, onOpenChange: i, onOpenChangeComplete: a, disablePointerDismissal: o = !1, modal: s = !0, actionsRef: c, handle: l, triggerId: u, defaultTriggerId: d = null } = e, f = W(!0), p = R.useContext(X), m = !!f, h = ge.useStore(l?.store, {
282
+ open: r,
283
+ openProp: n,
284
+ activeTriggerId: d,
285
+ triggerIdProp: u,
286
+ modal: s,
287
+ disablePointerDismissal: o,
288
+ nested: m
289
+ });
290
+ x(() => {
291
+ n === void 0 && h.state.open === !1 && r === !0 && h.update({
292
+ open: !0,
293
+ activeTriggerId: d
294
+ });
295
+ }), h.useControlledProp("openProp", n), h.useControlledProp("triggerIdProp", u), h.useSyncedValues({
296
+ disablePointerDismissal: o,
297
+ nested: m,
298
+ modal: s
299
+ }), h.useContextCallback("onOpenChange", i), h.useContextCallback("onOpenChangeComplete", a);
300
+ let g = h.useState("payload");
301
+ me({
302
+ store: h,
303
+ actionsRef: c,
304
+ parentContext: f?.store.context,
305
+ isDrawer: p,
306
+ onOpenChange: i,
307
+ triggerIdProp: u
308
+ });
309
+ let _ = R.useMemo(() => ({ store: h }), [h]);
310
+ return /*#__PURE__*/ B(X.Provider, {
311
+ value: !1,
312
+ children: /*#__PURE__*/ B(U.Provider, {
313
+ value: _,
314
+ children: typeof t == "function" ? t({ payload: g }) : t
315
+ })
316
+ });
317
+ }
318
+ //#endregion
319
+ //#region ../../node_modules/@base-ui/react/esm/dialog/title/DialogTitle.js
320
+ var Z = /*#__PURE__*/ R.forwardRef(function(e, t) {
321
+ let { render: n, className: r, style: i, id: o, ...s } = e, { store: c } = W(), l = a(o);
322
+ return c.useSyncedValueWithCleanup("titleElementId", l), D("h2", e, {
323
+ ref: t,
324
+ props: [{ id: l }, s]
325
+ });
326
+ });
327
+ process.env.NODE_ENV !== "production" && (Z.displayName = "DialogTitle");
328
+ //#endregion
329
+ //#region src/ui/browser/dialog.tsx
330
+ function ye(e) {
331
+ return /* @__PURE__ */ B(ve, {
332
+ "data-slot": "dialog",
333
+ ...e
334
+ });
335
+ }
336
+ function be(e) {
337
+ return /* @__PURE__ */ B(Y, {
338
+ "data-slot": "dialog-portal",
339
+ ...e
340
+ });
341
+ }
342
+ function Q(e) {
343
+ return /* @__PURE__ */ B(K, {
344
+ "data-slot": "dialog-close",
345
+ ...e
346
+ });
347
+ }
348
+ function xe({ className: e, ...t }) {
349
+ return /* @__PURE__ */ B(G, {
350
+ "data-slot": "dialog-overlay",
351
+ className: y("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 motion-reduce:animate-none motion-reduce:transition-none", e),
352
+ ...t
353
+ });
354
+ }
355
+ function Se({ children: t, className: n, closeLabel: r = "Close", container: i, showCloseButton: a = !0, ...o }) {
356
+ return /* @__PURE__ */ V(be, {
357
+ container: i,
358
+ children: [/* @__PURE__ */ B(xe, {}), /* @__PURE__ */ V(J, {
359
+ "data-slot": "dialog-content",
360
+ className: y("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 motion-reduce:animate-none motion-reduce:transition-none", n),
361
+ ...o,
362
+ children: [t, a && /* @__PURE__ */ V(K, {
363
+ "data-slot": "dialog-close",
364
+ render: /* @__PURE__ */ B(e, {
365
+ className: "absolute top-2 right-2",
366
+ size: "icon-sm",
367
+ variant: "ghost"
368
+ }),
369
+ children: [/* @__PURE__ */ B(H, {}), /* @__PURE__ */ B("span", {
370
+ className: "sr-only",
371
+ children: r
372
+ })]
373
+ })]
374
+ })]
375
+ });
376
+ }
377
+ function Ce({ className: e, ...t }) {
378
+ return /* @__PURE__ */ B("div", {
379
+ "data-slot": "dialog-header",
380
+ className: y("flex flex-col gap-2", e),
381
+ ...t
382
+ });
383
+ }
384
+ function $({ className: e, ...t }) {
385
+ return /* @__PURE__ */ B("div", {
386
+ "data-slot": "dialog-footer",
387
+ className: y("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end", e),
388
+ ...t
389
+ });
390
+ }
391
+ function we({ className: e, ...t }) {
392
+ return /* @__PURE__ */ B(Z, {
393
+ "data-slot": "dialog-title",
394
+ className: y("text-base leading-none font-medium", e),
395
+ ...t
396
+ });
397
+ }
398
+ //#endregion
399
+ //#region src/workbench/browser/runtime/shell/createResourceDialog.tsx
400
+ function Te({ id: t, issue: n, label: r, name: a, onNameChange: o, onOpenChange: s, onSubmit: c, pending: l, title: u }) {
401
+ let d = i(), f = z(null), p = z(null), [m, h] = se(!1), g = a.length > 0 && n != null, _ = d(g ? `resource.nameIssue.${n}` : "resource.nameHint", { max: 80 }), y = `${t}-message`;
402
+ return oe(() => h(!0), []), /* @__PURE__ */ V(ce, { children: [/* @__PURE__ */ B("div", { ref: p }), /* @__PURE__ */ B(ye, {
403
+ onOpenChange: h,
404
+ onOpenChangeComplete: (e) => {
405
+ e || s(!1);
406
+ },
407
+ open: m,
408
+ children: /* @__PURE__ */ B(Se, {
409
+ container: p.current,
410
+ initialFocus: () => f.current,
411
+ showCloseButton: !1,
412
+ children: /* @__PURE__ */ V("form", {
413
+ className: "flex flex-col gap-4",
414
+ onSubmit: c,
415
+ children: [
416
+ /* @__PURE__ */ V(Ce, {
417
+ className: "flex-row items-center justify-between",
418
+ children: [/* @__PURE__ */ B(we, { children: u }), /* @__PURE__ */ B(Q, {
419
+ "aria-label": d("common.cancel"),
420
+ render: /* @__PURE__ */ B(e, {
421
+ size: "icon-sm",
422
+ variant: "ghost"
423
+ }),
424
+ type: "button",
425
+ children: /* @__PURE__ */ B(O, { name: "close" })
426
+ })]
427
+ }),
428
+ /* @__PURE__ */ B(te, { children: /* @__PURE__ */ V(ie, {
429
+ "data-invalid": g,
430
+ children: [
431
+ /* @__PURE__ */ B(N, {
432
+ htmlFor: t,
433
+ children: r
434
+ }),
435
+ /* @__PURE__ */ B(v, {
436
+ autoComplete: "off",
437
+ "aria-describedby": y,
438
+ "aria-invalid": g,
439
+ id: t,
440
+ name: "resource-name",
441
+ onChange: (e) => o(e.target.value),
442
+ ref: f,
443
+ required: !0,
444
+ value: a
445
+ }),
446
+ B(g ? L : F, {
447
+ id: y,
448
+ children: _
449
+ })
450
+ ]
451
+ }) }),
452
+ /* @__PURE__ */ V($, { children: [/* @__PURE__ */ B(Q, {
453
+ render: /* @__PURE__ */ B(e, { variant: "outline" }),
454
+ type: "button",
455
+ children: d("common.cancel")
456
+ }), /* @__PURE__ */ B(e, {
457
+ disabled: l || n != null,
458
+ type: "submit",
459
+ children: d(l ? "common.creating" : "common.create")
460
+ })] })
461
+ ]
462
+ })
463
+ })
464
+ })] });
465
+ }
466
+ //#endregion
467
+ export { Te as default };