@addsign/moje-agenda-shared-lib 2.0.3 → 2.0.5
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/Dialog-BtXGfOmv.js +423 -0
- package/dist/Dialog-BtXGfOmv.js.map +1 -0
- package/dist/assets/style.css +18 -0
- package/dist/assets/tailwind.css +25 -24
- package/dist/components/datatable/DataTable.js +3 -1
- package/dist/components/datatable/DataTable.js.map +1 -1
- package/dist/components/datatable/DataTableServer.js +3 -1
- package/dist/components/datatable/DataTableServer.js.map +1 -1
- package/dist/components/form/AutocompleteSearchBar.js +3 -1
- package/dist/components/form/AutocompleteSearchBar.js.map +1 -1
- package/dist/components/form/AutocompleteSearchBarServer.js +3 -1
- package/dist/components/form/AutocompleteSearchBarServer.js.map +1 -1
- package/dist/components/form/FileInput.js +4 -2
- package/dist/components/form/FileInput.js.map +1 -1
- package/dist/components/form/FileInputMultiple.js +4 -2
- package/dist/components/form/FileInputMultiple.js.map +1 -1
- package/dist/components/form/FormField.js +3 -1
- package/dist/components/form/FormField.js.map +1 -1
- package/dist/components/form/PositionsSelectorSingle.js +3 -1
- package/dist/components/form/PositionsSelectorSingle.js.map +1 -1
- package/dist/components/form/SelectField.js +3 -1
- package/dist/components/form/SelectField.js.map +1 -1
- package/dist/components/profiles/ProfileOverview.js +3 -1
- package/dist/components/profiles/ProfileOverview.js.map +1 -1
- package/dist/components/ui/Combobox.js +18 -7
- package/dist/components/ui/Combobox.js.map +1 -1
- package/dist/components/ui/DateTimePicker.d.ts +1 -1
- package/dist/components/ui/DateTimePicker.js +25 -13
- package/dist/components/ui/DateTimePicker.js.map +1 -1
- package/dist/components/ui/Dialog.js +1 -1
- package/dist/components/ui/ScrollArea.js +2 -2
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/checkbox.js +180 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/command.js +2 -2
- package/dist/components/ui/datepicker.js +11 -0
- package/dist/components/ui/datepicker.js.map +1 -1
- package/dist/components/ui/input.js +1 -0
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/popover.js +7 -6
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/radioGroup.js +7 -5
- package/dist/components/ui/radioGroup.js.map +1 -1
- package/dist/components/ui/select.js +8 -6
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/ui/textarea.js +21 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/tooltip.js +6 -5
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/index-BLOUFOiQ.js +2266 -0
- package/dist/index-BLOUFOiQ.js.map +1 -0
- package/dist/index-CA2QNu6z.js +131 -0
- package/dist/index-CA2QNu6z.js.map +1 -0
- package/dist/index-CAxGI0Uw.js +230 -0
- package/dist/index-CAxGI0Uw.js.map +1 -0
- package/dist/index-CDCkSjVs.js +110 -0
- package/dist/index-CDCkSjVs.js.map +1 -0
- package/dist/index-CDlDRp01.js +1173 -0
- package/dist/index-CDlDRp01.js.map +1 -0
- package/dist/index-CshadhlS.js +15 -0
- package/dist/index-CshadhlS.js.map +1 -0
- package/dist/index-DFSwSCB0.js +47 -0
- package/dist/index-DFSwSCB0.js.map +1 -0
- package/dist/index-Deoi9R3y.js +15 -0
- package/dist/index-Deoi9R3y.js.map +1 -0
- package/dist/index-DjvLSytK.js +2203 -0
- package/dist/index-DjvLSytK.js.map +1 -0
- package/dist/index-E5yk6fTE.js +129 -0
- package/dist/index-E5yk6fTE.js.map +1 -0
- package/dist/index-pLFWXSOv.js +40 -0
- package/dist/index-pLFWXSOv.js.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +5 -1
- package/dist/main.js.map +1 -1
- package/lib/components/ui/Combobox.tsx +19 -7
- package/lib/components/ui/DatePicker.tsx +11 -0
- package/lib/components/ui/DateTimePicker.tsx +30 -16
- package/lib/components/ui/checkbox.tsx +30 -0
- package/lib/components/ui/input.tsx +1 -0
- package/lib/components/ui/textarea.tsx +22 -0
- package/lib/main.ts +2 -0
- package/package.json +4 -2
- package/tailwind.config.js +97 -0
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { c as createContextScope, b as composeEventHandlers, d as createContext2 } from "./index-CDCkSjVs.js";
|
|
4
|
+
import { u as useComposedRefs, S as Slot } from "./index-D9mvqz1C.js";
|
|
5
|
+
import { u as useId } from "./index-Deoi9R3y.js";
|
|
6
|
+
import { u as useControllableState } from "./index-DFSwSCB0.js";
|
|
7
|
+
import { D as DismissableLayer } from "./index-CAxGI0Uw.js";
|
|
8
|
+
import { R as ReactRemoveScroll, h as hideOthers, u as useFocusGuards, F as FocusScope, P as Portal$1 } from "./index-CDlDRp01.js";
|
|
9
|
+
import { P as Presence } from "./index-CA2QNu6z.js";
|
|
10
|
+
import { P as Primitive } from "./index-B761_inZ.js";
|
|
11
|
+
import { cn } from "./utils/utils.js";
|
|
12
|
+
import { X } from "./x-DciOkaU0.js";
|
|
13
|
+
var DIALOG_NAME = "Dialog";
|
|
14
|
+
var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
|
|
15
|
+
var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
|
|
16
|
+
var Dialog$1 = (props) => {
|
|
17
|
+
const {
|
|
18
|
+
__scopeDialog,
|
|
19
|
+
children,
|
|
20
|
+
open: openProp,
|
|
21
|
+
defaultOpen,
|
|
22
|
+
onOpenChange,
|
|
23
|
+
modal = true
|
|
24
|
+
} = props;
|
|
25
|
+
const triggerRef = React.useRef(null);
|
|
26
|
+
const contentRef = React.useRef(null);
|
|
27
|
+
const [open = false, setOpen] = useControllableState({
|
|
28
|
+
prop: openProp,
|
|
29
|
+
defaultProp: defaultOpen,
|
|
30
|
+
onChange: onOpenChange
|
|
31
|
+
});
|
|
32
|
+
return /* @__PURE__ */ jsx(
|
|
33
|
+
DialogProvider,
|
|
34
|
+
{
|
|
35
|
+
scope: __scopeDialog,
|
|
36
|
+
triggerRef,
|
|
37
|
+
contentRef,
|
|
38
|
+
contentId: useId(),
|
|
39
|
+
titleId: useId(),
|
|
40
|
+
descriptionId: useId(),
|
|
41
|
+
open,
|
|
42
|
+
onOpenChange: setOpen,
|
|
43
|
+
onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
|
|
44
|
+
modal,
|
|
45
|
+
children
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
};
|
|
49
|
+
Dialog$1.displayName = DIALOG_NAME;
|
|
50
|
+
var TRIGGER_NAME = "DialogTrigger";
|
|
51
|
+
var DialogTrigger$1 = React.forwardRef(
|
|
52
|
+
(props, forwardedRef) => {
|
|
53
|
+
const { __scopeDialog, ...triggerProps } = props;
|
|
54
|
+
const context = useDialogContext(TRIGGER_NAME, __scopeDialog);
|
|
55
|
+
const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
|
|
56
|
+
return /* @__PURE__ */ jsx(
|
|
57
|
+
Primitive.button,
|
|
58
|
+
{
|
|
59
|
+
type: "button",
|
|
60
|
+
"aria-haspopup": "dialog",
|
|
61
|
+
"aria-expanded": context.open,
|
|
62
|
+
"aria-controls": context.contentId,
|
|
63
|
+
"data-state": getState(context.open),
|
|
64
|
+
...triggerProps,
|
|
65
|
+
ref: composedTriggerRef,
|
|
66
|
+
onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
DialogTrigger$1.displayName = TRIGGER_NAME;
|
|
72
|
+
var PORTAL_NAME = "DialogPortal";
|
|
73
|
+
var [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {
|
|
74
|
+
forceMount: void 0
|
|
75
|
+
});
|
|
76
|
+
var DialogPortal$1 = (props) => {
|
|
77
|
+
const { __scopeDialog, forceMount, children, container } = props;
|
|
78
|
+
const context = useDialogContext(PORTAL_NAME, __scopeDialog);
|
|
79
|
+
return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$1, { asChild: true, container, children: child }) })) });
|
|
80
|
+
};
|
|
81
|
+
DialogPortal$1.displayName = PORTAL_NAME;
|
|
82
|
+
var OVERLAY_NAME = "DialogOverlay";
|
|
83
|
+
var DialogOverlay$1 = React.forwardRef(
|
|
84
|
+
(props, forwardedRef) => {
|
|
85
|
+
const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);
|
|
86
|
+
const { forceMount = portalContext.forceMount, ...overlayProps } = props;
|
|
87
|
+
const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);
|
|
88
|
+
return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
DialogOverlay$1.displayName = OVERLAY_NAME;
|
|
92
|
+
var DialogOverlayImpl = React.forwardRef(
|
|
93
|
+
(props, forwardedRef) => {
|
|
94
|
+
const { __scopeDialog, ...overlayProps } = props;
|
|
95
|
+
const context = useDialogContext(OVERLAY_NAME, __scopeDialog);
|
|
96
|
+
return (
|
|
97
|
+
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
98
|
+
// ie. when `Overlay` and `Content` are siblings
|
|
99
|
+
/* @__PURE__ */ jsx(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(
|
|
100
|
+
Primitive.div,
|
|
101
|
+
{
|
|
102
|
+
"data-state": getState(context.open),
|
|
103
|
+
...overlayProps,
|
|
104
|
+
ref: forwardedRef,
|
|
105
|
+
style: { pointerEvents: "auto", ...overlayProps.style }
|
|
106
|
+
}
|
|
107
|
+
) })
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
);
|
|
111
|
+
var CONTENT_NAME = "DialogContent";
|
|
112
|
+
var DialogContent$1 = React.forwardRef(
|
|
113
|
+
(props, forwardedRef) => {
|
|
114
|
+
const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);
|
|
115
|
+
const { forceMount = portalContext.forceMount, ...contentProps } = props;
|
|
116
|
+
const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
|
|
117
|
+
return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
DialogContent$1.displayName = CONTENT_NAME;
|
|
121
|
+
var DialogContentModal = React.forwardRef(
|
|
122
|
+
(props, forwardedRef) => {
|
|
123
|
+
const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
|
|
124
|
+
const contentRef = React.useRef(null);
|
|
125
|
+
const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);
|
|
126
|
+
React.useEffect(() => {
|
|
127
|
+
const content = contentRef.current;
|
|
128
|
+
if (content)
|
|
129
|
+
return hideOthers(content);
|
|
130
|
+
}, []);
|
|
131
|
+
return /* @__PURE__ */ jsx(
|
|
132
|
+
DialogContentImpl,
|
|
133
|
+
{
|
|
134
|
+
...props,
|
|
135
|
+
ref: composedRefs,
|
|
136
|
+
trapFocus: context.open,
|
|
137
|
+
disableOutsidePointerEvents: true,
|
|
138
|
+
onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {
|
|
139
|
+
var _a;
|
|
140
|
+
event.preventDefault();
|
|
141
|
+
(_a = context.triggerRef.current) == null ? void 0 : _a.focus();
|
|
142
|
+
}),
|
|
143
|
+
onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {
|
|
144
|
+
const originalEvent = event.detail.originalEvent;
|
|
145
|
+
const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;
|
|
146
|
+
const isRightClick = originalEvent.button === 2 || ctrlLeftClick;
|
|
147
|
+
if (isRightClick)
|
|
148
|
+
event.preventDefault();
|
|
149
|
+
}),
|
|
150
|
+
onFocusOutside: composeEventHandlers(
|
|
151
|
+
props.onFocusOutside,
|
|
152
|
+
(event) => event.preventDefault()
|
|
153
|
+
)
|
|
154
|
+
}
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
var DialogContentNonModal = React.forwardRef(
|
|
159
|
+
(props, forwardedRef) => {
|
|
160
|
+
const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
|
|
161
|
+
const hasInteractedOutsideRef = React.useRef(false);
|
|
162
|
+
const hasPointerDownOutsideRef = React.useRef(false);
|
|
163
|
+
return /* @__PURE__ */ jsx(
|
|
164
|
+
DialogContentImpl,
|
|
165
|
+
{
|
|
166
|
+
...props,
|
|
167
|
+
ref: forwardedRef,
|
|
168
|
+
trapFocus: false,
|
|
169
|
+
disableOutsidePointerEvents: false,
|
|
170
|
+
onCloseAutoFocus: (event) => {
|
|
171
|
+
var _a, _b;
|
|
172
|
+
(_a = props.onCloseAutoFocus) == null ? void 0 : _a.call(props, event);
|
|
173
|
+
if (!event.defaultPrevented) {
|
|
174
|
+
if (!hasInteractedOutsideRef.current)
|
|
175
|
+
(_b = context.triggerRef.current) == null ? void 0 : _b.focus();
|
|
176
|
+
event.preventDefault();
|
|
177
|
+
}
|
|
178
|
+
hasInteractedOutsideRef.current = false;
|
|
179
|
+
hasPointerDownOutsideRef.current = false;
|
|
180
|
+
},
|
|
181
|
+
onInteractOutside: (event) => {
|
|
182
|
+
var _a, _b;
|
|
183
|
+
(_a = props.onInteractOutside) == null ? void 0 : _a.call(props, event);
|
|
184
|
+
if (!event.defaultPrevented) {
|
|
185
|
+
hasInteractedOutsideRef.current = true;
|
|
186
|
+
if (event.detail.originalEvent.type === "pointerdown") {
|
|
187
|
+
hasPointerDownOutsideRef.current = true;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
const target = event.target;
|
|
191
|
+
const targetIsTrigger = (_b = context.triggerRef.current) == null ? void 0 : _b.contains(target);
|
|
192
|
+
if (targetIsTrigger)
|
|
193
|
+
event.preventDefault();
|
|
194
|
+
if (event.detail.originalEvent.type === "focusin" && hasPointerDownOutsideRef.current) {
|
|
195
|
+
event.preventDefault();
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
);
|
|
202
|
+
var DialogContentImpl = React.forwardRef(
|
|
203
|
+
(props, forwardedRef) => {
|
|
204
|
+
const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;
|
|
205
|
+
const context = useDialogContext(CONTENT_NAME, __scopeDialog);
|
|
206
|
+
const contentRef = React.useRef(null);
|
|
207
|
+
const composedRefs = useComposedRefs(forwardedRef, contentRef);
|
|
208
|
+
useFocusGuards();
|
|
209
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
210
|
+
/* @__PURE__ */ jsx(
|
|
211
|
+
FocusScope,
|
|
212
|
+
{
|
|
213
|
+
asChild: true,
|
|
214
|
+
loop: true,
|
|
215
|
+
trapped: trapFocus,
|
|
216
|
+
onMountAutoFocus: onOpenAutoFocus,
|
|
217
|
+
onUnmountAutoFocus: onCloseAutoFocus,
|
|
218
|
+
children: /* @__PURE__ */ jsx(
|
|
219
|
+
DismissableLayer,
|
|
220
|
+
{
|
|
221
|
+
role: "dialog",
|
|
222
|
+
id: context.contentId,
|
|
223
|
+
"aria-describedby": context.descriptionId,
|
|
224
|
+
"aria-labelledby": context.titleId,
|
|
225
|
+
"data-state": getState(context.open),
|
|
226
|
+
...contentProps,
|
|
227
|
+
ref: composedRefs,
|
|
228
|
+
onDismiss: () => context.onOpenChange(false)
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
}
|
|
232
|
+
),
|
|
233
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
234
|
+
/* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),
|
|
235
|
+
/* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
|
|
236
|
+
] })
|
|
237
|
+
] });
|
|
238
|
+
}
|
|
239
|
+
);
|
|
240
|
+
var TITLE_NAME = "DialogTitle";
|
|
241
|
+
var DialogTitle$1 = React.forwardRef(
|
|
242
|
+
(props, forwardedRef) => {
|
|
243
|
+
const { __scopeDialog, ...titleProps } = props;
|
|
244
|
+
const context = useDialogContext(TITLE_NAME, __scopeDialog);
|
|
245
|
+
return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
|
|
246
|
+
}
|
|
247
|
+
);
|
|
248
|
+
DialogTitle$1.displayName = TITLE_NAME;
|
|
249
|
+
var DESCRIPTION_NAME = "DialogDescription";
|
|
250
|
+
var DialogDescription$1 = React.forwardRef(
|
|
251
|
+
(props, forwardedRef) => {
|
|
252
|
+
const { __scopeDialog, ...descriptionProps } = props;
|
|
253
|
+
const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
|
|
254
|
+
return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
|
|
255
|
+
}
|
|
256
|
+
);
|
|
257
|
+
DialogDescription$1.displayName = DESCRIPTION_NAME;
|
|
258
|
+
var CLOSE_NAME = "DialogClose";
|
|
259
|
+
var DialogClose$1 = React.forwardRef(
|
|
260
|
+
(props, forwardedRef) => {
|
|
261
|
+
const { __scopeDialog, ...closeProps } = props;
|
|
262
|
+
const context = useDialogContext(CLOSE_NAME, __scopeDialog);
|
|
263
|
+
return /* @__PURE__ */ jsx(
|
|
264
|
+
Primitive.button,
|
|
265
|
+
{
|
|
266
|
+
type: "button",
|
|
267
|
+
...closeProps,
|
|
268
|
+
ref: forwardedRef,
|
|
269
|
+
onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))
|
|
270
|
+
}
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
);
|
|
274
|
+
DialogClose$1.displayName = CLOSE_NAME;
|
|
275
|
+
function getState(open) {
|
|
276
|
+
return open ? "open" : "closed";
|
|
277
|
+
}
|
|
278
|
+
var TITLE_WARNING_NAME = "DialogTitleWarning";
|
|
279
|
+
var [WarningProvider, useWarningContext] = createContext2(TITLE_WARNING_NAME, {
|
|
280
|
+
contentName: CONTENT_NAME,
|
|
281
|
+
titleName: TITLE_NAME,
|
|
282
|
+
docsSlug: "dialog"
|
|
283
|
+
});
|
|
284
|
+
var TitleWarning = ({ titleId }) => {
|
|
285
|
+
const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);
|
|
286
|
+
const MESSAGE = `\`${titleWarningContext.contentName}\` requires a \`${titleWarningContext.titleName}\` for the component to be accessible for screen reader users.
|
|
287
|
+
|
|
288
|
+
If you want to hide the \`${titleWarningContext.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
289
|
+
|
|
290
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;
|
|
291
|
+
React.useEffect(() => {
|
|
292
|
+
if (titleId) {
|
|
293
|
+
const hasTitle = document.getElementById(titleId);
|
|
294
|
+
if (!hasTitle)
|
|
295
|
+
console.error(MESSAGE);
|
|
296
|
+
}
|
|
297
|
+
}, [MESSAGE, titleId]);
|
|
298
|
+
return null;
|
|
299
|
+
};
|
|
300
|
+
var DESCRIPTION_WARNING_NAME = "DialogDescriptionWarning";
|
|
301
|
+
var DescriptionWarning = ({ contentRef, descriptionId }) => {
|
|
302
|
+
const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);
|
|
303
|
+
const MESSAGE = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${descriptionWarningContext.contentName}}.`;
|
|
304
|
+
React.useEffect(() => {
|
|
305
|
+
var _a;
|
|
306
|
+
const describedById = (_a = contentRef.current) == null ? void 0 : _a.getAttribute("aria-describedby");
|
|
307
|
+
if (descriptionId && describedById) {
|
|
308
|
+
const hasDescription = document.getElementById(descriptionId);
|
|
309
|
+
if (!hasDescription)
|
|
310
|
+
console.warn(MESSAGE);
|
|
311
|
+
}
|
|
312
|
+
}, [MESSAGE, contentRef, descriptionId]);
|
|
313
|
+
return null;
|
|
314
|
+
};
|
|
315
|
+
var Root = Dialog$1;
|
|
316
|
+
var Trigger = DialogTrigger$1;
|
|
317
|
+
var Portal = DialogPortal$1;
|
|
318
|
+
var Overlay = DialogOverlay$1;
|
|
319
|
+
var Content = DialogContent$1;
|
|
320
|
+
var Title = DialogTitle$1;
|
|
321
|
+
var Description = DialogDescription$1;
|
|
322
|
+
var Close = DialogClose$1;
|
|
323
|
+
const Dialog = Root;
|
|
324
|
+
const DialogTrigger = Trigger;
|
|
325
|
+
const DialogPortal = Portal;
|
|
326
|
+
const DialogClose = Close;
|
|
327
|
+
const DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
328
|
+
Overlay,
|
|
329
|
+
{
|
|
330
|
+
ref,
|
|
331
|
+
className: cn(
|
|
332
|
+
"fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
333
|
+
className
|
|
334
|
+
),
|
|
335
|
+
...props
|
|
336
|
+
}
|
|
337
|
+
));
|
|
338
|
+
DialogOverlay.displayName = Overlay.displayName;
|
|
339
|
+
const DialogContent = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
|
|
340
|
+
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
341
|
+
/* @__PURE__ */ jsxs(
|
|
342
|
+
Content,
|
|
343
|
+
{
|
|
344
|
+
ref,
|
|
345
|
+
className: cn(
|
|
346
|
+
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
347
|
+
className
|
|
348
|
+
),
|
|
349
|
+
...props,
|
|
350
|
+
children: [
|
|
351
|
+
children,
|
|
352
|
+
/* @__PURE__ */ jsxs(Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
353
|
+
/* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
|
|
354
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
355
|
+
] })
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
)
|
|
359
|
+
] }));
|
|
360
|
+
DialogContent.displayName = Content.displayName;
|
|
361
|
+
const DialogHeader = ({
|
|
362
|
+
className,
|
|
363
|
+
...props
|
|
364
|
+
}) => /* @__PURE__ */ jsx(
|
|
365
|
+
"div",
|
|
366
|
+
{
|
|
367
|
+
className: cn("flex flex-col space-y-1.5 sm:text-left", className),
|
|
368
|
+
...props
|
|
369
|
+
}
|
|
370
|
+
);
|
|
371
|
+
DialogHeader.displayName = "DialogHeader";
|
|
372
|
+
const DialogFooter = ({
|
|
373
|
+
className,
|
|
374
|
+
...props
|
|
375
|
+
}) => /* @__PURE__ */ jsx(
|
|
376
|
+
"div",
|
|
377
|
+
{
|
|
378
|
+
className: cn(
|
|
379
|
+
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
380
|
+
className
|
|
381
|
+
),
|
|
382
|
+
...props
|
|
383
|
+
}
|
|
384
|
+
);
|
|
385
|
+
DialogFooter.displayName = "DialogFooter";
|
|
386
|
+
const DialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
387
|
+
Title,
|
|
388
|
+
{
|
|
389
|
+
ref,
|
|
390
|
+
className: cn(
|
|
391
|
+
"text-lg font-semibold leading-none tracking-tight",
|
|
392
|
+
className
|
|
393
|
+
),
|
|
394
|
+
...props
|
|
395
|
+
}
|
|
396
|
+
));
|
|
397
|
+
DialogTitle.displayName = Title.displayName;
|
|
398
|
+
const DialogDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
399
|
+
Description,
|
|
400
|
+
{
|
|
401
|
+
ref,
|
|
402
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
403
|
+
...props
|
|
404
|
+
}
|
|
405
|
+
));
|
|
406
|
+
DialogDescription.displayName = Description.displayName;
|
|
407
|
+
export {
|
|
408
|
+
Content as C,
|
|
409
|
+
Dialog as D,
|
|
410
|
+
Overlay as O,
|
|
411
|
+
Portal as P,
|
|
412
|
+
Root as R,
|
|
413
|
+
DialogPortal as a,
|
|
414
|
+
DialogOverlay as b,
|
|
415
|
+
DialogClose as c,
|
|
416
|
+
DialogTrigger as d,
|
|
417
|
+
DialogContent as e,
|
|
418
|
+
DialogHeader as f,
|
|
419
|
+
DialogFooter as g,
|
|
420
|
+
DialogTitle as h,
|
|
421
|
+
DialogDescription as i
|
|
422
|
+
};
|
|
423
|
+
//# sourceMappingURL=Dialog-BtXGfOmv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog-BtXGfOmv.js","sources":["../node_modules/@radix-ui/react-dialog/dist/index.mjs","../lib/components/ui/Dialog.tsx"],"sourcesContent":["\"use client\";\n\n// packages/react/dialog/src/Dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\r\nimport { X } from \"lucide-react\";\r\nimport { cn } from \"../../utils/utils\";\r\n\r\nconst Dialog = DialogPrimitive.Root;\r\n\r\nconst DialogTrigger = DialogPrimitive.Trigger;\r\n\r\nconst DialogPortal = DialogPrimitive.Portal;\r\n\r\nconst DialogClose = DialogPrimitive.Close;\r\n\r\nconst DialogOverlay = React.forwardRef<\r\n React.ElementRef<typeof DialogPrimitive.Overlay>,\r\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\r\n>(({ className, ...props }, ref) => (\r\n <DialogPrimitive.Overlay\r\n ref={ref}\r\n className={cn(\r\n \"fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n));\r\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName;\r\n\r\nconst DialogContent = React.forwardRef<\r\n React.ElementRef<typeof DialogPrimitive.Content>,\r\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\r\n>(({ className, children, ...props }, ref) => (\r\n <DialogPortal>\r\n <DialogOverlay />\r\n <DialogPrimitive.Content\r\n ref={ref}\r\n className={cn(\r\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n {children}\r\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\r\n <X className=\"h-4 w-4\" />\r\n <span className=\"sr-only\">Close</span>\r\n </DialogPrimitive.Close>\r\n </DialogPrimitive.Content>\r\n </DialogPortal>\r\n));\r\nDialogContent.displayName = DialogPrimitive.Content.displayName;\r\n\r\nconst DialogHeader = ({\r\n className,\r\n ...props\r\n}: React.HTMLAttributes<HTMLDivElement>) => (\r\n <div\r\n className={cn(\"flex flex-col space-y-1.5 sm:text-left\", className)}\r\n {...props}\r\n />\r\n);\r\nDialogHeader.displayName = \"DialogHeader\";\r\n\r\nconst DialogFooter = ({\r\n className,\r\n ...props\r\n}: React.HTMLAttributes<HTMLDivElement>) => (\r\n <div\r\n className={cn(\r\n \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n);\r\nDialogFooter.displayName = \"DialogFooter\";\r\n\r\nconst DialogTitle = React.forwardRef<\r\n React.ElementRef<typeof DialogPrimitive.Title>,\r\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\r\n>(({ className, ...props }, ref) => (\r\n <DialogPrimitive.Title\r\n ref={ref}\r\n className={cn(\r\n \"text-lg font-semibold leading-none tracking-tight\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n));\r\nDialogTitle.displayName = DialogPrimitive.Title.displayName;\r\n\r\nconst DialogDescription = React.forwardRef<\r\n React.ElementRef<typeof DialogPrimitive.Description>,\r\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\r\n>(({ className, ...props }, ref) => (\r\n <DialogPrimitive.Description\r\n ref={ref}\r\n className={cn(\"text-sm text-muted-foreground\", className)}\r\n {...props}\r\n />\r\n));\r\nDialogDescription.displayName = DialogPrimitive.Description.displayName;\r\n\r\nexport {\r\n Dialog,\r\n DialogPortal,\r\n DialogOverlay,\r\n DialogClose,\r\n DialogTrigger,\r\n DialogContent,\r\n DialogHeader,\r\n DialogFooter,\r\n DialogTitle,\r\n DialogDescription,\r\n};\r\n"],"names":["Dialog","DialogTrigger","DialogPortal","PortalPrimitive","DialogOverlay","RemoveScroll","DialogContent","DialogTitle","DialogDescription","DialogClose","createContext","DialogPrimitive.Root","DialogPrimitive.Trigger","DialogPrimitive.Portal","DialogPrimitive.Close","DialogPrimitive.Overlay","DialogPrimitive.Content","DialogPrimitive.Title","DialogPrimitive.Description"],"mappings":";;;;;;;;;;;;AAmBA,IAAI,cAAc;AAClB,IAAI,CAAC,qBAAqB,iBAAiB,IAAI,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UAAC,oBAAA,GAAA,EAAE,WAAU,UAAU,CAAA;AAAA,UACtB,oBAAA,QAAA,EAAK,WAAU,WAAU,UAAK,SAAA;AAAA,QAAA,GACjC;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAAA,EAAA,CACF,CACD;AACD,cAAc,cAAcE,QAAwB;AAEpD,MAAM,eAAe,CAAC;AAAA,EACpB;AAAA,EACA,GAAG;AACL,MACE;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW,GAAG,0CAA0C,SAAS;AAAA,IAChE,GAAG;AAAA,EAAA;AACN;AAEF,aAAa,cAAc;AAE3B,MAAM,eAAe,CAAC;AAAA,EACpB;AAAA,EACA,GAAG;AACL,MACE;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,IACC,GAAG;AAAA,EAAA;AACN;AAEF,aAAa,cAAc;AAErB,MAAA,cAAc,MAAM,WAGxB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,IACC,GAAG;AAAA,EAAA;AACN,CACD;AACD,YAAY,cAAcA,MAAsB;AAE1C,MAAA,oBAAoB,MAAM,WAG9B,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,IACvD,GAAG;AAAA,EAAA;AACN,CACD;AACD,kBAAkB,cAAcA,YAA4B;","x_google_ignoreList":[0]}
|
package/dist/assets/style.css
CHANGED
|
@@ -940,6 +940,9 @@ video {
|
|
|
940
940
|
.min-h-\[500px\] {
|
|
941
941
|
min-height: 500px;
|
|
942
942
|
}
|
|
943
|
+
.min-h-\[80px\] {
|
|
944
|
+
min-height: 80px;
|
|
945
|
+
}
|
|
943
946
|
.\!w-\[100px\] {
|
|
944
947
|
width: 100px !important;
|
|
945
948
|
}
|
|
@@ -1024,6 +1027,9 @@ video {
|
|
|
1024
1027
|
.w-\[calc\(100\%-40px\)\] {
|
|
1025
1028
|
width: calc(100% - 40px);
|
|
1026
1029
|
}
|
|
1030
|
+
.w-\[var\(--radix-popover-trigger-width\)\] {
|
|
1031
|
+
width: var(--radix-popover-trigger-width);
|
|
1032
|
+
}
|
|
1027
1033
|
.w-auto {
|
|
1028
1034
|
width: auto;
|
|
1029
1035
|
}
|
|
@@ -3706,6 +3712,12 @@ video {
|
|
|
3706
3712
|
|
|
3707
3713
|
|
|
3708
3714
|
|
|
3715
|
+
.data-\[state\=checked\]\:bg-primary[data-state=checked] {
|
|
3716
|
+
background-color: var(--color-primary);
|
|
3717
|
+
}
|
|
3718
|
+
|
|
3719
|
+
|
|
3720
|
+
|
|
3709
3721
|
.data-\[state\=open\]\:bg-accent[data-state=open] {
|
|
3710
3722
|
background-color: var(--accent);
|
|
3711
3723
|
}
|
|
@@ -3718,6 +3730,12 @@ video {
|
|
|
3718
3730
|
|
|
3719
3731
|
|
|
3720
3732
|
|
|
3733
|
+
.data-\[state\=checked\]\:text-primary-foreground[data-state=checked] {
|
|
3734
|
+
color: var(--color-primary-text);
|
|
3735
|
+
}
|
|
3736
|
+
|
|
3737
|
+
|
|
3738
|
+
|
|
3721
3739
|
.data-\[state\=open\]\:text-muted-foreground[data-state=open] {
|
|
3722
3740
|
color: var(--muted-foreground);
|
|
3723
3741
|
}
|
package/dist/assets/tailwind.css
CHANGED
|
@@ -745,6 +745,9 @@ video {
|
|
|
745
745
|
.ml-5 {
|
|
746
746
|
margin-left: 1.25rem;
|
|
747
747
|
}
|
|
748
|
+
.ml-6 {
|
|
749
|
+
margin-left: 1.5rem;
|
|
750
|
+
}
|
|
748
751
|
.ml-\[1\.2rem\] {
|
|
749
752
|
margin-left: 1.2rem;
|
|
750
753
|
}
|
|
@@ -886,6 +889,9 @@ video {
|
|
|
886
889
|
.h-9 {
|
|
887
890
|
height: 2.25rem;
|
|
888
891
|
}
|
|
892
|
+
.h-\[1px\] {
|
|
893
|
+
height: 1px;
|
|
894
|
+
}
|
|
889
895
|
.h-\[300px\] {
|
|
890
896
|
height: 300px;
|
|
891
897
|
}
|
|
@@ -1006,8 +1012,8 @@ video {
|
|
|
1006
1012
|
.w-96 {
|
|
1007
1013
|
width: 24rem;
|
|
1008
1014
|
}
|
|
1009
|
-
.w-\[
|
|
1010
|
-
width:
|
|
1015
|
+
.w-\[1px\] {
|
|
1016
|
+
width: 1px;
|
|
1011
1017
|
}
|
|
1012
1018
|
.w-\[20px\] {
|
|
1013
1019
|
width: 20px;
|
|
@@ -1040,6 +1046,9 @@ video {
|
|
|
1040
1046
|
.min-w-\[180px\] {
|
|
1041
1047
|
min-width: 180px;
|
|
1042
1048
|
}
|
|
1049
|
+
.min-w-\[200px\] {
|
|
1050
|
+
min-width: 200px;
|
|
1051
|
+
}
|
|
1043
1052
|
.min-w-\[8rem\] {
|
|
1044
1053
|
min-width: 8rem;
|
|
1045
1054
|
}
|
|
@@ -1289,6 +1298,11 @@ video {
|
|
|
1289
1298
|
.overflow-x-hidden {
|
|
1290
1299
|
overflow-x: hidden;
|
|
1291
1300
|
}
|
|
1301
|
+
.truncate {
|
|
1302
|
+
overflow: hidden;
|
|
1303
|
+
text-overflow: ellipsis;
|
|
1304
|
+
white-space: nowrap;
|
|
1305
|
+
}
|
|
1292
1306
|
.text-ellipsis {
|
|
1293
1307
|
text-overflow: ellipsis;
|
|
1294
1308
|
}
|
|
@@ -1489,10 +1503,6 @@ video {
|
|
|
1489
1503
|
--tw-border-opacity: 1;
|
|
1490
1504
|
border-color: rgb(234 179 8 / var(--tw-border-opacity));
|
|
1491
1505
|
}
|
|
1492
|
-
.border-green-200 {
|
|
1493
|
-
--tw-border-opacity: 1;
|
|
1494
|
-
border-color: rgb(187 247 208 / var(--tw-border-opacity));
|
|
1495
|
-
}
|
|
1496
1506
|
.border-l-transparent {
|
|
1497
1507
|
border-left-color: transparent;
|
|
1498
1508
|
}
|
|
@@ -1894,10 +1904,6 @@ video {
|
|
|
1894
1904
|
padding-top: 1rem;
|
|
1895
1905
|
padding-bottom: 1rem;
|
|
1896
1906
|
}
|
|
1897
|
-
.py-6 {
|
|
1898
|
-
padding-top: 1.5rem;
|
|
1899
|
-
padding-bottom: 1.5rem;
|
|
1900
|
-
}
|
|
1901
1907
|
.py-\[0\.55rem\] {
|
|
1902
1908
|
padding-top: 0.55rem;
|
|
1903
1909
|
padding-bottom: 0.55rem;
|
|
@@ -1963,6 +1969,9 @@ video {
|
|
|
1963
1969
|
.pr-20 {
|
|
1964
1970
|
padding-right: 5rem;
|
|
1965
1971
|
}
|
|
1972
|
+
.pr-3 {
|
|
1973
|
+
padding-right: 0.75rem;
|
|
1974
|
+
}
|
|
1966
1975
|
.pr-8 {
|
|
1967
1976
|
padding-right: 2rem;
|
|
1968
1977
|
}
|
|
@@ -2717,6 +2726,12 @@ video {
|
|
|
2717
2726
|
|
|
2718
2727
|
|
|
2719
2728
|
|
|
2729
|
+
.hover\:bg-transparent:hover {
|
|
2730
|
+
background-color: transparent;
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
|
|
2720
2735
|
.hover\:bg-violet-600:hover {
|
|
2721
2736
|
--tw-bg-opacity: 1;
|
|
2722
2737
|
background-color: rgb(124 58 237 / var(--tw-bg-opacity));
|
|
@@ -4195,10 +4210,6 @@ video {
|
|
|
4195
4210
|
flex-direction: column;
|
|
4196
4211
|
}
|
|
4197
4212
|
|
|
4198
|
-
.lg\:border-\[120px\] {
|
|
4199
|
-
border-width: 120px;
|
|
4200
|
-
}
|
|
4201
|
-
|
|
4202
4213
|
.lg\:border-b-0 {
|
|
4203
4214
|
border-bottom-width: 0px;
|
|
4204
4215
|
}
|
|
@@ -4207,16 +4218,6 @@ video {
|
|
|
4207
4218
|
border-right-width: 1px;
|
|
4208
4219
|
}
|
|
4209
4220
|
|
|
4210
|
-
.lg\:border-green-500 {
|
|
4211
|
-
--tw-border-opacity: 1;
|
|
4212
|
-
border-color: rgb(34 197 94 / var(--tw-border-opacity));
|
|
4213
|
-
}
|
|
4214
|
-
|
|
4215
|
-
.lg\:px-12 {
|
|
4216
|
-
padding-left: 3rem;
|
|
4217
|
-
padding-right: 3rem;
|
|
4218
|
-
}
|
|
4219
|
-
|
|
4220
4221
|
.lg\:pb-0 {
|
|
4221
4222
|
padding-bottom: 0px;
|
|
4222
4223
|
}
|
|
@@ -8,7 +8,7 @@ import Spinner from "../Spinner.js";
|
|
|
8
8
|
import "../../index.esm-ifS8v9eQ.js";
|
|
9
9
|
import "../../jspdf.plugin.autotable-7hp3hM-a.js";
|
|
10
10
|
import "../../contexts/FederationContext.js";
|
|
11
|
-
import "../../Dialog-
|
|
11
|
+
import "../../Dialog-BtXGfOmv.js";
|
|
12
12
|
import "../ui/ScrollArea.js";
|
|
13
13
|
import "../ui/input.js";
|
|
14
14
|
import "../ui/form.js";
|
|
@@ -18,6 +18,8 @@ import "../ui/Combobox.js";
|
|
|
18
18
|
import "../ui/select.js";
|
|
19
19
|
import "../ui/tooltip.js";
|
|
20
20
|
import "../ui/separator.js";
|
|
21
|
+
import "../ui/textarea.js";
|
|
22
|
+
import "../ui/checkbox.js";
|
|
21
23
|
import "../ui/button.js";
|
|
22
24
|
import "../../Calendar-DWT4e7Th.js";
|
|
23
25
|
import "../ui/DateTimePicker.js";
|