asma-ui-core 3.108.2 → 3.108.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asma-ui-core.css +1 -1
- package/dist/components/feedback/dialog/StyledDialog.js +139 -96
- package/dist/components/feedback/minimizable-dialog/MinimizableDialog.js +180 -171
- package/dist/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.js +115 -106
- package/dist/datetime/components/date-picker/StyledDatePicker.js +15 -19
- package/dist/datetime/components/time-picker/StyledTimePicker.js +56 -62
- package/dist/hooks/useBackCloses.hook.js +100 -0
- package/dist/src/components/feedback/dialog/StyledDialog.d.ts +6 -1
- package/dist/src/hooks/useBackCloses.hook.d.ts +101 -0
- package/dist/src/hooks/useBackCloses.hook.test.d.ts +1 -0
- package/package.json +1 -1
- package/dist/datetime/hooks/useBackNavigationClose.hook.js +0 -10
- package/dist/src/datetime/hooks/useBackNavigationClose.hook.d.ts +0 -4
|
@@ -1,29 +1,35 @@
|
|
|
1
|
-
import { cn as
|
|
1
|
+
import { cn as f } from "../../../helpers/cn.js";
|
|
2
2
|
import { firstTabbable as me } from "../../../helpers/focusable.js";
|
|
3
|
-
import { StyledTooltip as
|
|
3
|
+
import { StyledTooltip as u } from "../../data-display/tooltip/StyledTooltip.js";
|
|
4
4
|
import { DotsVerticalIcon as he } from "../../icons/dots-vertical-icon/DotsVerticalIcon.js";
|
|
5
|
-
import { CloseIcon as
|
|
5
|
+
import { CloseIcon as K } from "../../icons/close-icon/CloseIcon.js";
|
|
6
6
|
import { MinimizeIcon as fe } from "../../icons/minimize-icon/MinimizeIcon.js";
|
|
7
7
|
import { KeyboardCapslockIcon as ue } from "../../icons/keyboard-capslock-icon/KeyboardCapslockIcon.js";
|
|
8
|
-
import { ArrowExpandIcon as
|
|
9
|
-
import { ArrowShrinkIcon as
|
|
10
|
-
import { StyledButton as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
8
|
+
import { ArrowExpandIcon as ve } from "../../icons/arrow-expand-icon/ArrowExpandIcon.js";
|
|
9
|
+
import { ArrowShrinkIcon as be } from "../../icons/arrow-shrink-icon/ArrowShrinkIcon.js";
|
|
10
|
+
import { StyledButton as r } from "../../inputs/button/StyledButton.js";
|
|
11
|
+
import { OverlayBackOwnerContext as pe, useBackCloses as ge } from "../../../hooks/useBackCloses.hook.js";
|
|
12
|
+
import { useFocusTrap as xe } from "../../../hooks/useFocusTrap.hook.js";
|
|
13
|
+
import { StyledMenu as ye } from "../../navigation/menu/StyledMenu.js";
|
|
14
|
+
import { StyledMenuItem as ke } from "../../navigation/menu/StyledMenuItem.js";
|
|
14
15
|
import T from "./MinimizableDialog.module.js";
|
|
15
|
-
import { useToggleMenuVisibility as
|
|
16
|
+
import { useToggleMenuVisibility as we } from "../../../hooks/useToggleMenuVisibility.hook.js";
|
|
16
17
|
import H from "clsx";
|
|
17
|
-
import { useLayoutEffect as
|
|
18
|
-
import { Fragment as
|
|
19
|
-
var
|
|
20
|
-
const [i,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
18
|
+
import { useLayoutEffect as ze, useRef as J, useState as Q } from "react";
|
|
19
|
+
import { Fragment as p, jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
20
|
+
var Ke = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", onFullScreenText: M = "", showCloseIcon: R = !0, showMinimizeIcon: X = !0, showExpandIcon: Y = !0, showFullScreenIcon: Z = !0, title: m, label: g, children: x, open: y, onClose: L, className: j = "", primaryButtonText: S, primaryButtonLoading: n = !1, primaryButtonDisabled: B, primaryButtonDisabledReason: ee, secondaryButtonText: k, onPrimaryButtonClick: F, onSecondaryButtonClick: _, dataTest: E, actionNode: te, extraActions: d, extraActionsText: h, btnContainerClassName: G, footerClassName: ie, footerInfo: D, locale: t = "en", enableFullscreen: le = !0, fullScreenState: O, handleFullScreenState: q }) => {
|
|
21
|
+
const [i, re] = Q(!1), [V, ne] = Q(!1), { open: de, anchorEl: ae, handleOpen: oe, handleClose: se } = we(), s = J(null), w = J(null), z = t === "en" ? "Wait until saved" : "Vent til lagringen er ferdig", b = () => {
|
|
22
|
+
if (n) return !1;
|
|
23
|
+
L();
|
|
24
|
+
}, o = O ?? V, a = o && !i;
|
|
25
|
+
if (xe(y && a, s, b), ge({
|
|
26
|
+
active: y && a,
|
|
27
|
+
requestClose: b,
|
|
28
|
+
ownerRef: s
|
|
29
|
+
}), ze(() => {
|
|
30
|
+
s.current?.toggleAttribute("inert", i), w.current?.toggleAttribute("inert", !i);
|
|
31
|
+
}, [i]), !y) return null;
|
|
32
|
+
const ce = a ? {
|
|
27
33
|
right: "auto",
|
|
28
34
|
bottom: "auto",
|
|
29
35
|
left: "50%",
|
|
@@ -31,50 +37,50 @@ var $e = ({ onCloseText: u = "", onMinimizeText: N = "", onExpandText: I = "", o
|
|
|
31
37
|
transform: "translate(-50%, -50%)",
|
|
32
38
|
width: "min(1000px, calc(100vw - 32px))",
|
|
33
39
|
height: "95dvh"
|
|
34
|
-
} : void 0,
|
|
40
|
+
} : void 0, P = o ? t === "en" ? "Exit full screen" : "Avslutt fullskjerm" : t === "en" ? "Full screen" : "Fullskjerm", U = S ?? n, W = U || k, $ = /* @__PURE__ */ l(p, { children: [k && _ && /* @__PURE__ */ e(r, {
|
|
35
41
|
dataTest: "cancel-button",
|
|
36
42
|
variant: "outlined",
|
|
37
|
-
disabled:
|
|
38
|
-
disabledReason:
|
|
43
|
+
disabled: n,
|
|
44
|
+
disabledReason: z,
|
|
39
45
|
onClick: _,
|
|
40
|
-
children:
|
|
41
|
-
}),
|
|
46
|
+
children: k
|
|
47
|
+
}), U && F && /* @__PURE__ */ e(r, {
|
|
42
48
|
dataTest: "save-button",
|
|
43
|
-
loading:
|
|
49
|
+
loading: n,
|
|
44
50
|
locale: t,
|
|
45
51
|
disabled: B,
|
|
46
52
|
disabledReason: ee,
|
|
47
53
|
onClick: F,
|
|
48
54
|
children: S
|
|
49
|
-
})] }),
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
|
|
55
|
+
})] }), A = () => {
|
|
56
|
+
const c = i ? s : w;
|
|
57
|
+
re(!i), requestAnimationFrame(() => {
|
|
58
|
+
const N = c.current;
|
|
59
|
+
N && (N.querySelector('[data-testid="minimize-button"]') ?? me(N))?.focus({ preventScroll: !0 });
|
|
54
60
|
});
|
|
55
61
|
};
|
|
56
|
-
return /* @__PURE__ */ l(
|
|
57
|
-
|
|
62
|
+
return /* @__PURE__ */ l(p, { children: [
|
|
63
|
+
a && /* @__PURE__ */ e("div", { className: "fixed inset-0 z-[51] bg-[rgb(98,110,126)] bg-opacity-70" }),
|
|
58
64
|
/* @__PURE__ */ e("div", {
|
|
59
|
-
ref:
|
|
65
|
+
ref: w,
|
|
60
66
|
style: { zIndex: 51 },
|
|
61
|
-
className:
|
|
67
|
+
className: f(T.dialog, !i && T.hidden),
|
|
62
68
|
children: /* @__PURE__ */ l("div", {
|
|
63
69
|
className: H("flex items-center justify-between", !i && "hidden"),
|
|
64
70
|
"data-testid": E,
|
|
65
71
|
children: [/* @__PURE__ */ e("div", {
|
|
66
72
|
className: "truncate text-lg font-semibold text-delta-800",
|
|
67
|
-
children:
|
|
73
|
+
children: m
|
|
68
74
|
}), /* @__PURE__ */ l("div", {
|
|
69
75
|
className: "flex items-center gap-x-1",
|
|
70
|
-
children: [Y && /* @__PURE__ */ e(
|
|
76
|
+
children: [Y && /* @__PURE__ */ e(u, {
|
|
71
77
|
title: t === "en" ? "Expand" : "Utvid",
|
|
72
|
-
children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
78
|
+
children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(r, {
|
|
73
79
|
dataTest: "minimize-button",
|
|
74
80
|
"aria-label": I ? void 0 : t === "en" ? "Expand" : "Utvid",
|
|
75
81
|
variant: "text",
|
|
76
82
|
size: "small",
|
|
77
|
-
onClick:
|
|
83
|
+
onClick: A,
|
|
78
84
|
endIcon: /* @__PURE__ */ e(ue, {
|
|
79
85
|
height: 20,
|
|
80
86
|
width: 20,
|
|
@@ -82,160 +88,163 @@ var $e = ({ onCloseText: u = "", onMinimizeText: N = "", onExpandText: I = "", o
|
|
|
82
88
|
}),
|
|
83
89
|
children: I
|
|
84
90
|
}) })
|
|
85
|
-
}),
|
|
91
|
+
}), R && /* @__PURE__ */ e(u, {
|
|
86
92
|
title: t === "en" ? "Close" : "Lukk",
|
|
87
|
-
open:
|
|
88
|
-
children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
93
|
+
open: n ? !1 : void 0,
|
|
94
|
+
children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(r, {
|
|
89
95
|
dataTest: "close-button",
|
|
90
|
-
"aria-label":
|
|
96
|
+
"aria-label": v ? void 0 : t === "en" ? "Close" : "Lukk",
|
|
91
97
|
variant: "textGray",
|
|
92
98
|
size: "small",
|
|
93
|
-
disabled:
|
|
94
|
-
disabledReason:
|
|
95
|
-
onClick:
|
|
96
|
-
endIcon: /* @__PURE__ */ e(
|
|
99
|
+
disabled: n,
|
|
100
|
+
disabledReason: z,
|
|
101
|
+
onClick: b,
|
|
102
|
+
endIcon: /* @__PURE__ */ e(K, {
|
|
97
103
|
height: 20,
|
|
98
104
|
width: 20,
|
|
99
105
|
color: "text-delta-700"
|
|
100
106
|
}),
|
|
101
|
-
children:
|
|
107
|
+
children: v
|
|
102
108
|
}) })
|
|
103
109
|
})]
|
|
104
110
|
})]
|
|
105
111
|
})
|
|
106
112
|
}),
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
-
ref:
|
|
113
|
+
/* @__PURE__ */ e("div", {
|
|
114
|
+
ref: s,
|
|
109
115
|
style: ce,
|
|
110
|
-
role:
|
|
111
|
-
"aria-modal":
|
|
112
|
-
"aria-label":
|
|
113
|
-
className:
|
|
116
|
+
role: a ? "dialog" : void 0,
|
|
117
|
+
"aria-modal": a ? !0 : void 0,
|
|
118
|
+
"aria-label": a && typeof m == "string" ? m : void 0,
|
|
119
|
+
className: f("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300", j && !i && !o ? j : "", i && "!h-0 !w-0 opacity-0 duration-0", a && "fixed duration-0"),
|
|
114
120
|
"data-testid": E,
|
|
115
|
-
children:
|
|
116
|
-
|
|
121
|
+
children: /* @__PURE__ */ l(pe.Provider, {
|
|
122
|
+
value: s,
|
|
117
123
|
children: [/* @__PURE__ */ l("div", {
|
|
118
|
-
className: "flex
|
|
119
|
-
children: [
|
|
120
|
-
className: "
|
|
121
|
-
children:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
className: "flex flex-col gap-y-2 border-b-[1px] border-delta-200 p-4",
|
|
125
|
+
children: [/* @__PURE__ */ l("div", {
|
|
126
|
+
className: "flex items-center justify-between",
|
|
127
|
+
children: [g ? /* @__PURE__ */ e("div", {
|
|
128
|
+
className: "text-sm text-delta-700",
|
|
129
|
+
children: g
|
|
130
|
+
}) : /* @__PURE__ */ e("div", {
|
|
131
|
+
className: "text-2xl font-semibold text-delta-800",
|
|
132
|
+
children: m
|
|
133
|
+
}), /* @__PURE__ */ l("div", {
|
|
134
|
+
className: "flex items-center gap-x-1",
|
|
135
|
+
children: [
|
|
136
|
+
te,
|
|
137
|
+
X && !o && /* @__PURE__ */ e(u, {
|
|
138
|
+
title: t === "en" ? "Minimize" : "Minimer",
|
|
139
|
+
children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(r, {
|
|
140
|
+
dataTest: "minimize-button",
|
|
141
|
+
"aria-label": C ? void 0 : t === "en" ? "Minimize" : "Minimer",
|
|
142
|
+
variant: "textGray",
|
|
143
|
+
size: "small",
|
|
144
|
+
onClick: A,
|
|
145
|
+
endIcon: /* @__PURE__ */ e(fe, {
|
|
146
|
+
height: 20,
|
|
147
|
+
width: 20,
|
|
148
|
+
color: "text-delta-700"
|
|
149
|
+
}),
|
|
150
|
+
children: C
|
|
151
|
+
}) })
|
|
152
|
+
}),
|
|
153
|
+
le && Z && /* @__PURE__ */ e(u, {
|
|
154
|
+
title: P,
|
|
155
|
+
children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(r, {
|
|
156
|
+
dataTest: "fullscreen-button",
|
|
157
|
+
"aria-label": M ? void 0 : P,
|
|
158
|
+
variant: "textGray",
|
|
159
|
+
size: "small",
|
|
160
|
+
onClick: () => {
|
|
161
|
+
O !== void 0 && q ? q() : ne(!V);
|
|
162
|
+
},
|
|
163
|
+
endIcon: o ? /* @__PURE__ */ e(be, {
|
|
164
|
+
width: 20,
|
|
165
|
+
height: 20,
|
|
166
|
+
color: "text-delta-700"
|
|
167
|
+
}) : /* @__PURE__ */ e(ve, {
|
|
168
|
+
width: 20,
|
|
169
|
+
height: 20,
|
|
170
|
+
color: "text-delta-700"
|
|
171
|
+
}),
|
|
172
|
+
children: M
|
|
173
|
+
}) })
|
|
174
|
+
}),
|
|
175
|
+
R && /* @__PURE__ */ e(u, {
|
|
176
|
+
title: t === "en" ? "Close" : "Lukk",
|
|
177
|
+
open: n ? !1 : void 0,
|
|
178
|
+
children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(r, {
|
|
179
|
+
dataTest: "close-button",
|
|
180
|
+
"aria-label": v ? void 0 : t === "en" ? "Close" : "Lukk",
|
|
181
|
+
variant: "textGray",
|
|
182
|
+
size: "small",
|
|
183
|
+
disabled: n,
|
|
184
|
+
disabledReason: z,
|
|
185
|
+
onClick: b,
|
|
186
|
+
endIcon: /* @__PURE__ */ e(K, {
|
|
187
|
+
height: 20,
|
|
188
|
+
width: 20,
|
|
189
|
+
color: "text-delta-700"
|
|
190
|
+
}),
|
|
191
|
+
children: v
|
|
192
|
+
}) })
|
|
193
|
+
})
|
|
194
|
+
]
|
|
195
|
+
})]
|
|
196
|
+
}), g && /* @__PURE__ */ e("div", {
|
|
197
|
+
className: "truncate text-2xl font-semibold text-delta-800",
|
|
198
|
+
children: m
|
|
199
|
+
})]
|
|
200
|
+
}), /* @__PURE__ */ l("div", {
|
|
201
|
+
className: H("flex flex-col", o && !i && "h-[87dvh]"),
|
|
202
|
+
children: [/* @__PURE__ */ e("div", {
|
|
203
|
+
className: "flex-grow overflow-y-auto overscroll-contain",
|
|
204
|
+
children: typeof x == "function" ? x({ fullScreen: o }) : x
|
|
205
|
+
}), (Array.isArray(d) && d.length || typeof d == "function") && h || D ? /* @__PURE__ */ l("div", {
|
|
206
|
+
className: f("flex items-center justify-between border-0 border-t-[1px] border-solid border-delta-200 bg-white p-4", ie),
|
|
127
207
|
children: [
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
208
|
+
Array.isArray(d) && d.length && h ? /* @__PURE__ */ l(p, { children: [/* @__PURE__ */ e(r, {
|
|
209
|
+
dataTest: "extra-actions-button",
|
|
210
|
+
variant: "textGray",
|
|
211
|
+
startIcon: /* @__PURE__ */ e(he, {
|
|
212
|
+
width: 24,
|
|
213
|
+
height: 24
|
|
214
|
+
}),
|
|
215
|
+
onClick: oe,
|
|
216
|
+
children: h
|
|
217
|
+
}), /* @__PURE__ */ e(ye, {
|
|
218
|
+
open: de,
|
|
219
|
+
anchorEl: ae,
|
|
220
|
+
onClose: se,
|
|
221
|
+
children: d.map((c) => /* @__PURE__ */ e(ke, {
|
|
222
|
+
className: c.className,
|
|
223
|
+
onClick: c.onClick,
|
|
224
|
+
children: c.label
|
|
225
|
+
}, c.label))
|
|
226
|
+
})] }) : h && typeof d == "function" && /* @__PURE__ */ e(r, {
|
|
227
|
+
dataTest: "extra-action-button",
|
|
228
|
+
variant: "text",
|
|
229
|
+
onClick: d,
|
|
230
|
+
children: h
|
|
144
231
|
}),
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
size: "small",
|
|
152
|
-
onClick: () => {
|
|
153
|
-
V !== void 0 && q ? q() : re(!O);
|
|
154
|
-
},
|
|
155
|
-
endIcon: a ? /* @__PURE__ */ e(ve, {
|
|
156
|
-
width: 20,
|
|
157
|
-
height: 20,
|
|
158
|
-
color: "text-delta-700"
|
|
159
|
-
}) : /* @__PURE__ */ e(be, {
|
|
160
|
-
width: 20,
|
|
161
|
-
height: 20,
|
|
162
|
-
color: "text-delta-700"
|
|
163
|
-
}),
|
|
164
|
-
children: C
|
|
165
|
-
}) })
|
|
166
|
-
}),
|
|
167
|
-
M && /* @__PURE__ */ e(f, {
|
|
168
|
-
title: t === "en" ? "Close" : "Lukk",
|
|
169
|
-
open: r ? !1 : void 0,
|
|
170
|
-
children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, {
|
|
171
|
-
dataTest: "close-button",
|
|
172
|
-
"aria-label": u ? void 0 : t === "en" ? "Close" : "Lukk",
|
|
173
|
-
variant: "textGray",
|
|
174
|
-
size: "small",
|
|
175
|
-
disabled: r,
|
|
176
|
-
disabledReason: k,
|
|
177
|
-
onClick: w,
|
|
178
|
-
endIcon: /* @__PURE__ */ e(P, {
|
|
179
|
-
height: 20,
|
|
180
|
-
width: 20,
|
|
181
|
-
color: "text-delta-700"
|
|
182
|
-
}),
|
|
183
|
-
children: u
|
|
184
|
-
}) })
|
|
185
|
-
})
|
|
232
|
+
" ",
|
|
233
|
+
D,
|
|
234
|
+
W ? /* @__PURE__ */ e("div", {
|
|
235
|
+
className: f("flex justify-end gap-x-2", G),
|
|
236
|
+
children: $
|
|
237
|
+
}) : null
|
|
186
238
|
]
|
|
187
|
-
})
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
239
|
+
}) : /* @__PURE__ */ e(p, { children: W ? /* @__PURE__ */ e("div", {
|
|
240
|
+
className: f("flex justify-end gap-x-2 border-t-[1px] border-delta-200 p-4", G),
|
|
241
|
+
children: $
|
|
242
|
+
}) : null })]
|
|
191
243
|
})]
|
|
192
|
-
})
|
|
193
|
-
className: H("flex flex-col", a && !i && "h-[87dvh]"),
|
|
194
|
-
children: [/* @__PURE__ */ e("div", {
|
|
195
|
-
className: "flex-grow overflow-y-auto overscroll-contain",
|
|
196
|
-
children: typeof g == "function" ? g({ fullScreen: a }) : g
|
|
197
|
-
}), (Array.isArray(d) && d.length || typeof d == "function") && m || D ? /* @__PURE__ */ l("div", {
|
|
198
|
-
className: h("flex items-center justify-between border-0 border-t-[1px] border-solid border-delta-200 bg-white p-4", ie),
|
|
199
|
-
children: [
|
|
200
|
-
Array.isArray(d) && d.length && m ? /* @__PURE__ */ l(v, { children: [/* @__PURE__ */ e(n, {
|
|
201
|
-
dataTest: "extra-actions-button",
|
|
202
|
-
variant: "textGray",
|
|
203
|
-
startIcon: /* @__PURE__ */ e(he, {
|
|
204
|
-
width: 24,
|
|
205
|
-
height: 24
|
|
206
|
-
}),
|
|
207
|
-
onClick: oe,
|
|
208
|
-
children: m
|
|
209
|
-
}), /* @__PURE__ */ e(ge, {
|
|
210
|
-
open: de,
|
|
211
|
-
anchorEl: ae,
|
|
212
|
-
onClose: se,
|
|
213
|
-
children: d.map((s) => /* @__PURE__ */ e(xe, {
|
|
214
|
-
className: s.className,
|
|
215
|
-
onClick: s.onClick,
|
|
216
|
-
children: s.label
|
|
217
|
-
}, s.label))
|
|
218
|
-
})] }) : m && typeof d == "function" && /* @__PURE__ */ e(n, {
|
|
219
|
-
dataTest: "extra-action-button",
|
|
220
|
-
variant: "text",
|
|
221
|
-
onClick: d,
|
|
222
|
-
children: m
|
|
223
|
-
}),
|
|
224
|
-
" ",
|
|
225
|
-
D,
|
|
226
|
-
$ ? /* @__PURE__ */ e("div", {
|
|
227
|
-
className: h("flex justify-end gap-x-2", G),
|
|
228
|
-
children: A
|
|
229
|
-
}) : null
|
|
230
|
-
]
|
|
231
|
-
}) : /* @__PURE__ */ e(v, { children: $ ? /* @__PURE__ */ e("div", {
|
|
232
|
-
className: h("flex justify-end gap-x-2 border-t-[1px] border-delta-200 p-4", G),
|
|
233
|
-
children: A
|
|
234
|
-
}) : null })]
|
|
235
|
-
})]
|
|
244
|
+
})
|
|
236
245
|
})
|
|
237
246
|
] });
|
|
238
247
|
};
|
|
239
248
|
export {
|
|
240
|
-
|
|
249
|
+
Ke as MinimizableDialog
|
|
241
250
|
};
|