@uipath/apollo-wind 0.9.0 → 0.10.0-pr257.2a4b17b
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/components/forms/field-renderer.cjs +120 -69
- package/dist/components/forms/field-renderer.js +120 -69
- package/dist/components/forms/form-designer.cjs +2352 -1488
- package/dist/components/forms/form-designer.js +2353 -1489
- package/dist/components/forms/form-examples.cjs +10 -10
- package/dist/components/forms/form-examples.js +10 -10
- package/dist/components/forms/form-state-viewer.cjs +988 -433
- package/dist/components/forms/form-state-viewer.js +988 -433
- package/dist/components/forms/metadata-form.cjs +446 -170
- package/dist/components/forms/metadata-form.js +446 -170
- package/dist/components/forms/schema-viewer.cjs +173 -80
- package/dist/components/forms/schema-viewer.js +173 -80
- package/dist/components/ui/accordion.cjs +131 -27
- package/dist/components/ui/accordion.js +131 -27
- package/dist/components/ui/alert-dialog.cjs +273 -45
- package/dist/components/ui/alert-dialog.js +273 -45
- package/dist/components/ui/alert.cjs +106 -17
- package/dist/components/ui/alert.js +106 -17
- package/dist/components/ui/avatar.cjs +100 -15
- package/dist/components/ui/avatar.js +100 -15
- package/dist/components/ui/badge.cjs +36 -6
- package/dist/components/ui/badge.js +36 -6
- package/dist/components/ui/breadcrumb.cjs +258 -52
- package/dist/components/ui/breadcrumb.js +258 -52
- package/dist/components/ui/button-group.cjs +119 -19
- package/dist/components/ui/button-group.js +119 -19
- package/dist/components/ui/button.cjs +48 -8
- package/dist/components/ui/button.js +48 -8
- package/dist/components/ui/calendar.cjs +88 -30
- package/dist/components/ui/calendar.js +88 -30
- package/dist/components/ui/card.cjs +199 -30
- package/dist/components/ui/card.js +199 -30
- package/dist/components/ui/checkbox.cjs +42 -8
- package/dist/components/ui/checkbox.js +42 -8
- package/dist/components/ui/combobox.cjs +150 -53
- package/dist/components/ui/combobox.js +150 -53
- package/dist/components/ui/command.cjs +291 -53
- package/dist/components/ui/command.js +291 -53
- package/dist/components/ui/context-menu.cjs +370 -72
- package/dist/components/ui/context-menu.js +370 -72
- package/dist/components/ui/data-table.cjs +76 -39
- package/dist/components/ui/data-table.js +76 -39
- package/dist/components/ui/date-picker.cjs +179 -68
- package/dist/components/ui/date-picker.js +179 -68
- package/dist/components/ui/datetime-picker.cjs +225 -104
- package/dist/components/ui/datetime-picker.js +225 -104
- package/dist/components/ui/dialog.cjs +290 -78
- package/dist/components/ui/dialog.js +290 -78
- package/dist/components/ui/drawer.cjs +220 -39
- package/dist/components/ui/drawer.js +220 -39
- package/dist/components/ui/dropdown-menu.cjs +376 -73
- package/dist/components/ui/dropdown-menu.js +376 -73
- package/dist/components/ui/editable-cell.cjs +106 -42
- package/dist/components/ui/editable-cell.js +106 -42
- package/dist/components/ui/empty-state.cjs +106 -33
- package/dist/components/ui/empty-state.js +106 -33
- package/dist/components/ui/file-upload.cjs +405 -187
- package/dist/components/ui/file-upload.d.ts +3 -1
- package/dist/components/ui/file-upload.js +405 -187
- package/dist/components/ui/hover-card.cjs +46 -7
- package/dist/components/ui/hover-card.js +46 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/input.cjs +39 -6
- package/dist/components/ui/input.js +39 -6
- package/dist/components/ui/label.cjs +34 -5
- package/dist/components/ui/label.js +34 -5
- package/dist/components/ui/layout/column.cjs +209 -41
- package/dist/components/ui/layout/column.js +209 -41
- package/dist/components/ui/layout/grid.cjs +275 -60
- package/dist/components/ui/layout/grid.js +275 -60
- package/dist/components/ui/layout/row.cjs +209 -41
- package/dist/components/ui/layout/row.js +209 -41
- package/dist/components/ui/menubar.cjs +540 -106
- package/dist/components/ui/menubar.js +540 -106
- package/dist/components/ui/multi-select.cjs +289 -135
- package/dist/components/ui/multi-select.js +289 -135
- package/dist/components/ui/navigation-menu.cjs +244 -47
- package/dist/components/ui/navigation-menu.js +244 -47
- package/dist/components/ui/pagination.cjs +301 -65
- package/dist/components/ui/pagination.js +301 -65
- package/dist/components/ui/popover.cjs +48 -9
- package/dist/components/ui/popover.js +48 -9
- package/dist/components/ui/progress.cjs +48 -8
- package/dist/components/ui/progress.js +48 -8
- package/dist/components/ui/radio-group.cjs +74 -12
- package/dist/components/ui/radio-group.js +74 -12
- package/dist/components/ui/resizable.cjs +75 -10
- package/dist/components/ui/resizable.js +75 -10
- package/dist/components/ui/scroll-area.cjs +113 -21
- package/dist/components/ui/scroll-area.js +113 -21
- package/dist/components/ui/search.cjs +280 -98
- package/dist/components/ui/search.js +280 -98
- package/dist/components/ui/select.cjs +334 -68
- package/dist/components/ui/select.js +334 -68
- package/dist/components/ui/separator.cjs +48 -7
- package/dist/components/ui/separator.js +48 -7
- package/dist/components/ui/sheet.cjs +236 -50
- package/dist/components/ui/sheet.js +236 -50
- package/dist/components/ui/skeleton.cjs +31 -5
- package/dist/components/ui/skeleton.js +31 -5
- package/dist/components/ui/slider.cjs +71 -21
- package/dist/components/ui/slider.js +71 -21
- package/dist/components/ui/sonner.cjs +43 -15
- package/dist/components/ui/sonner.js +43 -15
- package/dist/components/ui/spinner.cjs +83 -21
- package/dist/components/ui/spinner.js +83 -21
- package/dist/components/ui/stats-card.cjs +169 -60
- package/dist/components/ui/stats-card.js +169 -60
- package/dist/components/ui/stepper.cjs +126 -57
- package/dist/components/ui/stepper.js +126 -57
- package/dist/components/ui/switch.cjs +42 -8
- package/dist/components/ui/switch.js +42 -8
- package/dist/components/ui/table.cjs +267 -42
- package/dist/components/ui/table.js +267 -42
- package/dist/components/ui/tabs.cjs +100 -15
- package/dist/components/ui/tabs.js +100 -15
- package/dist/components/ui/textarea.cjs +34 -5
- package/dist/components/ui/textarea.js +34 -5
- package/dist/components/ui/toggle-group.cjs +112 -19
- package/dist/components/ui/toggle-group.js +112 -19
- package/dist/components/ui/toggle.cjs +43 -6
- package/dist/components/ui/toggle.js +43 -6
- package/dist/components/ui/tooltip.cjs +40 -6
- package/dist/components/ui/tooltip.js +40 -6
- package/dist/examples/admin-layout-example.cjs +879 -347
- package/dist/examples/admin-layout-example.js +879 -347
- package/dist/examples/app-shell-example.cjs +14 -14
- package/dist/examples/app-shell-example.js +14 -14
- package/dist/examples/dashboard-example.cjs +495 -334
- package/dist/examples/dashboard-example.js +495 -334
- package/dist/examples/data-management-example.cjs +501 -303
- package/dist/examples/data-management-example.js +502 -304
- package/dist/examples/flow-editor-layout-example.cjs +435 -231
- package/dist/examples/flow-editor-layout-example.js +436 -232
- package/dist/examples/flow-start-example.cjs +508 -251
- package/dist/examples/flow-start-example.js +509 -252
- package/dist/examples/form-builder-example.cjs +1006 -602
- package/dist/examples/form-builder-example.js +1007 -603
- package/dist/examples/new-project-example.cjs +806 -474
- package/dist/examples/new-project-example.js +807 -475
- package/dist/examples/settings-example.cjs +792 -704
- package/dist/examples/settings-example.js +792 -704
- package/dist/examples/vscode-example.cjs +731 -236
- package/dist/examples/vscode-example.js +731 -236
- package/package.json +4 -1
|
@@ -37,6 +37,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
37
|
SheetOverlay: ()=>SheetOverlay
|
|
38
38
|
});
|
|
39
39
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
40
|
+
const compiler_runtime_namespaceObject = require("react/compiler-runtime");
|
|
40
41
|
const react_dialog_namespaceObject = require("@radix-ui/react-dialog");
|
|
41
42
|
const external_class_variance_authority_namespaceObject = require("class-variance-authority");
|
|
42
43
|
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
@@ -46,11 +47,39 @@ const Sheet = react_dialog_namespaceObject.Root;
|
|
|
46
47
|
const SheetTrigger = react_dialog_namespaceObject.Trigger;
|
|
47
48
|
const SheetClose = react_dialog_namespaceObject.Close;
|
|
48
49
|
const SheetPortal = react_dialog_namespaceObject.Portal;
|
|
49
|
-
const SheetOverlay = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
const SheetOverlay = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
51
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
52
|
+
let className;
|
|
53
|
+
let props;
|
|
54
|
+
if ($[0] !== t0) {
|
|
55
|
+
({ className, ...props } = t0);
|
|
56
|
+
$[0] = t0;
|
|
57
|
+
$[1] = className;
|
|
58
|
+
$[2] = props;
|
|
59
|
+
} else {
|
|
60
|
+
className = $[1];
|
|
61
|
+
props = $[2];
|
|
62
|
+
}
|
|
63
|
+
let t1;
|
|
64
|
+
if ($[3] !== className) {
|
|
65
|
+
t1 = (0, index_cjs_namespaceObject.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className);
|
|
66
|
+
$[3] = className;
|
|
67
|
+
$[4] = t1;
|
|
68
|
+
} else t1 = $[4];
|
|
69
|
+
let t2;
|
|
70
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
71
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Overlay, {
|
|
72
|
+
className: t1,
|
|
73
|
+
...props,
|
|
74
|
+
ref: ref
|
|
75
|
+
});
|
|
76
|
+
$[5] = props;
|
|
77
|
+
$[6] = ref;
|
|
78
|
+
$[7] = t1;
|
|
79
|
+
$[8] = t2;
|
|
80
|
+
} else t2 = $[8];
|
|
81
|
+
return t2;
|
|
82
|
+
});
|
|
54
83
|
SheetOverlay.displayName = react_dialog_namespaceObject.Overlay.displayName;
|
|
55
84
|
const sheetVariants = (0, external_class_variance_authority_namespaceObject.cva)('fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500', {
|
|
56
85
|
variants: {
|
|
@@ -65,55 +94,212 @@ const sheetVariants = (0, external_class_variance_authority_namespaceObject.cva)
|
|
|
65
94
|
side: 'right'
|
|
66
95
|
}
|
|
67
96
|
});
|
|
68
|
-
const SheetContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
97
|
+
const SheetContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
98
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(15);
|
|
99
|
+
let children;
|
|
100
|
+
let className;
|
|
101
|
+
let props;
|
|
102
|
+
let t1;
|
|
103
|
+
if ($[0] !== t0) {
|
|
104
|
+
({ side: t1, className, children, ...props } = t0);
|
|
105
|
+
$[0] = t0;
|
|
106
|
+
$[1] = children;
|
|
107
|
+
$[2] = className;
|
|
108
|
+
$[3] = props;
|
|
109
|
+
$[4] = t1;
|
|
110
|
+
} else {
|
|
111
|
+
children = $[1];
|
|
112
|
+
className = $[2];
|
|
113
|
+
props = $[3];
|
|
114
|
+
t1 = $[4];
|
|
115
|
+
}
|
|
116
|
+
const side = void 0 === t1 ? "right" : t1;
|
|
117
|
+
let t2;
|
|
118
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
119
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SheetOverlay, {});
|
|
120
|
+
$[5] = t2;
|
|
121
|
+
} else t2 = $[5];
|
|
122
|
+
let t3;
|
|
123
|
+
if ($[6] !== className || $[7] !== side) {
|
|
124
|
+
t3 = (0, index_cjs_namespaceObject.cn)(sheetVariants({
|
|
125
|
+
side
|
|
126
|
+
}), className);
|
|
127
|
+
$[6] = className;
|
|
128
|
+
$[7] = side;
|
|
129
|
+
$[8] = t3;
|
|
130
|
+
} else t3 = $[8];
|
|
131
|
+
let t4;
|
|
132
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
133
|
+
t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_dialog_namespaceObject.Close, {
|
|
134
|
+
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-secondary",
|
|
135
|
+
children: [
|
|
136
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {
|
|
137
|
+
className: "h-4 w-4"
|
|
138
|
+
}),
|
|
139
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
140
|
+
className: "sr-only",
|
|
141
|
+
children: "Close"
|
|
142
|
+
})
|
|
143
|
+
]
|
|
144
|
+
});
|
|
145
|
+
$[9] = t4;
|
|
146
|
+
} else t4 = $[9];
|
|
147
|
+
let t5;
|
|
148
|
+
if ($[10] !== children || $[11] !== props || $[12] !== ref || $[13] !== t3) {
|
|
149
|
+
t5 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(SheetPortal, {
|
|
150
|
+
children: [
|
|
151
|
+
t2,
|
|
152
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_dialog_namespaceObject.Content, {
|
|
153
|
+
ref: ref,
|
|
154
|
+
className: t3,
|
|
155
|
+
...props,
|
|
156
|
+
children: [
|
|
157
|
+
children,
|
|
158
|
+
t4
|
|
159
|
+
]
|
|
160
|
+
})
|
|
161
|
+
]
|
|
162
|
+
});
|
|
163
|
+
$[10] = children;
|
|
164
|
+
$[11] = props;
|
|
165
|
+
$[12] = ref;
|
|
166
|
+
$[13] = t3;
|
|
167
|
+
$[14] = t5;
|
|
168
|
+
} else t5 = $[14];
|
|
169
|
+
return t5;
|
|
170
|
+
});
|
|
95
171
|
SheetContent.displayName = react_dialog_namespaceObject.Content.displayName;
|
|
96
|
-
const SheetHeader = (
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
172
|
+
const SheetHeader = (t0)=>{
|
|
173
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(8);
|
|
174
|
+
let className;
|
|
175
|
+
let props;
|
|
176
|
+
if ($[0] !== t0) {
|
|
177
|
+
({ className, ...props } = t0);
|
|
178
|
+
$[0] = t0;
|
|
179
|
+
$[1] = className;
|
|
180
|
+
$[2] = props;
|
|
181
|
+
} else {
|
|
182
|
+
className = $[1];
|
|
183
|
+
props = $[2];
|
|
184
|
+
}
|
|
185
|
+
let t1;
|
|
186
|
+
if ($[3] !== className) {
|
|
187
|
+
t1 = (0, index_cjs_namespaceObject.cn)("flex flex-col space-y-2 text-center sm:text-left", className);
|
|
188
|
+
$[3] = className;
|
|
189
|
+
$[4] = t1;
|
|
190
|
+
} else t1 = $[4];
|
|
191
|
+
let t2;
|
|
192
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
193
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
194
|
+
className: t1,
|
|
195
|
+
...props
|
|
196
|
+
});
|
|
197
|
+
$[5] = props;
|
|
198
|
+
$[6] = t1;
|
|
199
|
+
$[7] = t2;
|
|
200
|
+
} else t2 = $[7];
|
|
201
|
+
return t2;
|
|
202
|
+
};
|
|
100
203
|
SheetHeader.displayName = 'SheetHeader';
|
|
101
|
-
const SheetFooter = (
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
204
|
+
const SheetFooter = (t0)=>{
|
|
205
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(8);
|
|
206
|
+
let className;
|
|
207
|
+
let props;
|
|
208
|
+
if ($[0] !== t0) {
|
|
209
|
+
({ className, ...props } = t0);
|
|
210
|
+
$[0] = t0;
|
|
211
|
+
$[1] = className;
|
|
212
|
+
$[2] = props;
|
|
213
|
+
} else {
|
|
214
|
+
className = $[1];
|
|
215
|
+
props = $[2];
|
|
216
|
+
}
|
|
217
|
+
let t1;
|
|
218
|
+
if ($[3] !== className) {
|
|
219
|
+
t1 = (0, index_cjs_namespaceObject.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className);
|
|
220
|
+
$[3] = className;
|
|
221
|
+
$[4] = t1;
|
|
222
|
+
} else t1 = $[4];
|
|
223
|
+
let t2;
|
|
224
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
225
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
226
|
+
className: t1,
|
|
227
|
+
...props
|
|
228
|
+
});
|
|
229
|
+
$[5] = props;
|
|
230
|
+
$[6] = t1;
|
|
231
|
+
$[7] = t2;
|
|
232
|
+
} else t2 = $[7];
|
|
233
|
+
return t2;
|
|
234
|
+
};
|
|
105
235
|
SheetFooter.displayName = 'SheetFooter';
|
|
106
|
-
const SheetTitle = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
236
|
+
const SheetTitle = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
237
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
238
|
+
let className;
|
|
239
|
+
let props;
|
|
240
|
+
if ($[0] !== t0) {
|
|
241
|
+
({ className, ...props } = t0);
|
|
242
|
+
$[0] = t0;
|
|
243
|
+
$[1] = className;
|
|
244
|
+
$[2] = props;
|
|
245
|
+
} else {
|
|
246
|
+
className = $[1];
|
|
247
|
+
props = $[2];
|
|
248
|
+
}
|
|
249
|
+
let t1;
|
|
250
|
+
if ($[3] !== className) {
|
|
251
|
+
t1 = (0, index_cjs_namespaceObject.cn)("text-lg font-semibold text-foreground", className);
|
|
252
|
+
$[3] = className;
|
|
253
|
+
$[4] = t1;
|
|
254
|
+
} else t1 = $[4];
|
|
255
|
+
let t2;
|
|
256
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
257
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Title, {
|
|
258
|
+
ref: ref,
|
|
259
|
+
className: t1,
|
|
260
|
+
...props
|
|
261
|
+
});
|
|
262
|
+
$[5] = props;
|
|
263
|
+
$[6] = ref;
|
|
264
|
+
$[7] = t1;
|
|
265
|
+
$[8] = t2;
|
|
266
|
+
} else t2 = $[8];
|
|
267
|
+
return t2;
|
|
268
|
+
});
|
|
111
269
|
SheetTitle.displayName = react_dialog_namespaceObject.Title.displayName;
|
|
112
|
-
const SheetDescription = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
270
|
+
const SheetDescription = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
271
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
272
|
+
let className;
|
|
273
|
+
let props;
|
|
274
|
+
if ($[0] !== t0) {
|
|
275
|
+
({ className, ...props } = t0);
|
|
276
|
+
$[0] = t0;
|
|
277
|
+
$[1] = className;
|
|
278
|
+
$[2] = props;
|
|
279
|
+
} else {
|
|
280
|
+
className = $[1];
|
|
281
|
+
props = $[2];
|
|
282
|
+
}
|
|
283
|
+
let t1;
|
|
284
|
+
if ($[3] !== className) {
|
|
285
|
+
t1 = (0, index_cjs_namespaceObject.cn)("text-sm text-muted-foreground", className);
|
|
286
|
+
$[3] = className;
|
|
287
|
+
$[4] = t1;
|
|
288
|
+
} else t1 = $[4];
|
|
289
|
+
let t2;
|
|
290
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
291
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Description, {
|
|
292
|
+
ref: ref,
|
|
293
|
+
className: t1,
|
|
294
|
+
...props
|
|
295
|
+
});
|
|
296
|
+
$[5] = props;
|
|
297
|
+
$[6] = ref;
|
|
298
|
+
$[7] = t1;
|
|
299
|
+
$[8] = t2;
|
|
300
|
+
} else t2 = $[8];
|
|
301
|
+
return t2;
|
|
302
|
+
});
|
|
117
303
|
SheetDescription.displayName = react_dialog_namespaceObject.Description.displayName;
|
|
118
304
|
exports.Sheet = __webpack_exports__.Sheet;
|
|
119
305
|
exports.SheetClose = __webpack_exports__.SheetClose;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
3
4
|
import { Close, Content, Description, Overlay, Portal, Root, Title, Trigger } from "@radix-ui/react-dialog";
|
|
4
5
|
import { cva } from "class-variance-authority";
|
|
5
6
|
import { X } from "lucide-react";
|
|
@@ -9,11 +10,39 @@ const Sheet = Root;
|
|
|
9
10
|
const SheetTrigger = Trigger;
|
|
10
11
|
const SheetClose = Close;
|
|
11
12
|
const SheetPortal = Portal;
|
|
12
|
-
const SheetOverlay = /*#__PURE__*/ forwardRef((
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
const SheetOverlay = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
14
|
+
const $ = c(9);
|
|
15
|
+
let className;
|
|
16
|
+
let props;
|
|
17
|
+
if ($[0] !== t0) {
|
|
18
|
+
({ className, ...props } = t0);
|
|
19
|
+
$[0] = t0;
|
|
20
|
+
$[1] = className;
|
|
21
|
+
$[2] = props;
|
|
22
|
+
} else {
|
|
23
|
+
className = $[1];
|
|
24
|
+
props = $[2];
|
|
25
|
+
}
|
|
26
|
+
let t1;
|
|
27
|
+
if ($[3] !== className) {
|
|
28
|
+
t1 = cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className);
|
|
29
|
+
$[3] = className;
|
|
30
|
+
$[4] = t1;
|
|
31
|
+
} else t1 = $[4];
|
|
32
|
+
let t2;
|
|
33
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
34
|
+
t2 = /*#__PURE__*/ jsx(Overlay, {
|
|
35
|
+
className: t1,
|
|
36
|
+
...props,
|
|
37
|
+
ref: ref
|
|
38
|
+
});
|
|
39
|
+
$[5] = props;
|
|
40
|
+
$[6] = ref;
|
|
41
|
+
$[7] = t1;
|
|
42
|
+
$[8] = t2;
|
|
43
|
+
} else t2 = $[8];
|
|
44
|
+
return t2;
|
|
45
|
+
});
|
|
17
46
|
SheetOverlay.displayName = Overlay.displayName;
|
|
18
47
|
const sheetVariants = cva('fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500', {
|
|
19
48
|
variants: {
|
|
@@ -28,54 +57,211 @@ const sheetVariants = cva('fixed z-50 gap-4 bg-background p-6 shadow-lg transiti
|
|
|
28
57
|
side: 'right'
|
|
29
58
|
}
|
|
30
59
|
});
|
|
31
|
-
const SheetContent = /*#__PURE__*/ forwardRef((
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
const SheetContent = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
61
|
+
const $ = c(15);
|
|
62
|
+
let children;
|
|
63
|
+
let className;
|
|
64
|
+
let props;
|
|
65
|
+
let t1;
|
|
66
|
+
if ($[0] !== t0) {
|
|
67
|
+
({ side: t1, className, children, ...props } = t0);
|
|
68
|
+
$[0] = t0;
|
|
69
|
+
$[1] = children;
|
|
70
|
+
$[2] = className;
|
|
71
|
+
$[3] = props;
|
|
72
|
+
$[4] = t1;
|
|
73
|
+
} else {
|
|
74
|
+
children = $[1];
|
|
75
|
+
className = $[2];
|
|
76
|
+
props = $[3];
|
|
77
|
+
t1 = $[4];
|
|
78
|
+
}
|
|
79
|
+
const side = void 0 === t1 ? "right" : t1;
|
|
80
|
+
let t2;
|
|
81
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
82
|
+
t2 = /*#__PURE__*/ jsx(SheetOverlay, {});
|
|
83
|
+
$[5] = t2;
|
|
84
|
+
} else t2 = $[5];
|
|
85
|
+
let t3;
|
|
86
|
+
if ($[6] !== className || $[7] !== side) {
|
|
87
|
+
t3 = cn(sheetVariants({
|
|
88
|
+
side
|
|
89
|
+
}), className);
|
|
90
|
+
$[6] = className;
|
|
91
|
+
$[7] = side;
|
|
92
|
+
$[8] = t3;
|
|
93
|
+
} else t3 = $[8];
|
|
94
|
+
let t4;
|
|
95
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
96
|
+
t4 = /*#__PURE__*/ jsxs(Close, {
|
|
97
|
+
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-secondary",
|
|
98
|
+
children: [
|
|
99
|
+
/*#__PURE__*/ jsx(X, {
|
|
100
|
+
className: "h-4 w-4"
|
|
101
|
+
}),
|
|
102
|
+
/*#__PURE__*/ jsx("span", {
|
|
103
|
+
className: "sr-only",
|
|
104
|
+
children: "Close"
|
|
105
|
+
})
|
|
106
|
+
]
|
|
107
|
+
});
|
|
108
|
+
$[9] = t4;
|
|
109
|
+
} else t4 = $[9];
|
|
110
|
+
let t5;
|
|
111
|
+
if ($[10] !== children || $[11] !== props || $[12] !== ref || $[13] !== t3) {
|
|
112
|
+
t5 = /*#__PURE__*/ jsxs(SheetPortal, {
|
|
113
|
+
children: [
|
|
114
|
+
t2,
|
|
115
|
+
/*#__PURE__*/ jsxs(Content, {
|
|
116
|
+
ref: ref,
|
|
117
|
+
className: t3,
|
|
118
|
+
...props,
|
|
119
|
+
children: [
|
|
120
|
+
children,
|
|
121
|
+
t4
|
|
122
|
+
]
|
|
123
|
+
})
|
|
124
|
+
]
|
|
125
|
+
});
|
|
126
|
+
$[10] = children;
|
|
127
|
+
$[11] = props;
|
|
128
|
+
$[12] = ref;
|
|
129
|
+
$[13] = t3;
|
|
130
|
+
$[14] = t5;
|
|
131
|
+
} else t5 = $[14];
|
|
132
|
+
return t5;
|
|
133
|
+
});
|
|
58
134
|
SheetContent.displayName = Content.displayName;
|
|
59
|
-
const SheetHeader = (
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
135
|
+
const SheetHeader = (t0)=>{
|
|
136
|
+
const $ = c(8);
|
|
137
|
+
let className;
|
|
138
|
+
let props;
|
|
139
|
+
if ($[0] !== t0) {
|
|
140
|
+
({ className, ...props } = t0);
|
|
141
|
+
$[0] = t0;
|
|
142
|
+
$[1] = className;
|
|
143
|
+
$[2] = props;
|
|
144
|
+
} else {
|
|
145
|
+
className = $[1];
|
|
146
|
+
props = $[2];
|
|
147
|
+
}
|
|
148
|
+
let t1;
|
|
149
|
+
if ($[3] !== className) {
|
|
150
|
+
t1 = cn("flex flex-col space-y-2 text-center sm:text-left", className);
|
|
151
|
+
$[3] = className;
|
|
152
|
+
$[4] = t1;
|
|
153
|
+
} else t1 = $[4];
|
|
154
|
+
let t2;
|
|
155
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
156
|
+
t2 = /*#__PURE__*/ jsx("div", {
|
|
157
|
+
className: t1,
|
|
158
|
+
...props
|
|
159
|
+
});
|
|
160
|
+
$[5] = props;
|
|
161
|
+
$[6] = t1;
|
|
162
|
+
$[7] = t2;
|
|
163
|
+
} else t2 = $[7];
|
|
164
|
+
return t2;
|
|
165
|
+
};
|
|
63
166
|
SheetHeader.displayName = 'SheetHeader';
|
|
64
|
-
const SheetFooter = (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
167
|
+
const SheetFooter = (t0)=>{
|
|
168
|
+
const $ = c(8);
|
|
169
|
+
let className;
|
|
170
|
+
let props;
|
|
171
|
+
if ($[0] !== t0) {
|
|
172
|
+
({ className, ...props } = t0);
|
|
173
|
+
$[0] = t0;
|
|
174
|
+
$[1] = className;
|
|
175
|
+
$[2] = props;
|
|
176
|
+
} else {
|
|
177
|
+
className = $[1];
|
|
178
|
+
props = $[2];
|
|
179
|
+
}
|
|
180
|
+
let t1;
|
|
181
|
+
if ($[3] !== className) {
|
|
182
|
+
t1 = cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className);
|
|
183
|
+
$[3] = className;
|
|
184
|
+
$[4] = t1;
|
|
185
|
+
} else t1 = $[4];
|
|
186
|
+
let t2;
|
|
187
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
188
|
+
t2 = /*#__PURE__*/ jsx("div", {
|
|
189
|
+
className: t1,
|
|
190
|
+
...props
|
|
191
|
+
});
|
|
192
|
+
$[5] = props;
|
|
193
|
+
$[6] = t1;
|
|
194
|
+
$[7] = t2;
|
|
195
|
+
} else t2 = $[7];
|
|
196
|
+
return t2;
|
|
197
|
+
};
|
|
68
198
|
SheetFooter.displayName = 'SheetFooter';
|
|
69
|
-
const SheetTitle = /*#__PURE__*/ forwardRef((
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
199
|
+
const SheetTitle = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
200
|
+
const $ = c(9);
|
|
201
|
+
let className;
|
|
202
|
+
let props;
|
|
203
|
+
if ($[0] !== t0) {
|
|
204
|
+
({ className, ...props } = t0);
|
|
205
|
+
$[0] = t0;
|
|
206
|
+
$[1] = className;
|
|
207
|
+
$[2] = props;
|
|
208
|
+
} else {
|
|
209
|
+
className = $[1];
|
|
210
|
+
props = $[2];
|
|
211
|
+
}
|
|
212
|
+
let t1;
|
|
213
|
+
if ($[3] !== className) {
|
|
214
|
+
t1 = cn("text-lg font-semibold text-foreground", className);
|
|
215
|
+
$[3] = className;
|
|
216
|
+
$[4] = t1;
|
|
217
|
+
} else t1 = $[4];
|
|
218
|
+
let t2;
|
|
219
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
220
|
+
t2 = /*#__PURE__*/ jsx(Title, {
|
|
221
|
+
ref: ref,
|
|
222
|
+
className: t1,
|
|
223
|
+
...props
|
|
224
|
+
});
|
|
225
|
+
$[5] = props;
|
|
226
|
+
$[6] = ref;
|
|
227
|
+
$[7] = t1;
|
|
228
|
+
$[8] = t2;
|
|
229
|
+
} else t2 = $[8];
|
|
230
|
+
return t2;
|
|
231
|
+
});
|
|
74
232
|
SheetTitle.displayName = Title.displayName;
|
|
75
|
-
const SheetDescription = /*#__PURE__*/ forwardRef((
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
233
|
+
const SheetDescription = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
234
|
+
const $ = c(9);
|
|
235
|
+
let className;
|
|
236
|
+
let props;
|
|
237
|
+
if ($[0] !== t0) {
|
|
238
|
+
({ className, ...props } = t0);
|
|
239
|
+
$[0] = t0;
|
|
240
|
+
$[1] = className;
|
|
241
|
+
$[2] = props;
|
|
242
|
+
} else {
|
|
243
|
+
className = $[1];
|
|
244
|
+
props = $[2];
|
|
245
|
+
}
|
|
246
|
+
let t1;
|
|
247
|
+
if ($[3] !== className) {
|
|
248
|
+
t1 = cn("text-sm text-muted-foreground", className);
|
|
249
|
+
$[3] = className;
|
|
250
|
+
$[4] = t1;
|
|
251
|
+
} else t1 = $[4];
|
|
252
|
+
let t2;
|
|
253
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
254
|
+
t2 = /*#__PURE__*/ jsx(Description, {
|
|
255
|
+
ref: ref,
|
|
256
|
+
className: t1,
|
|
257
|
+
...props
|
|
258
|
+
});
|
|
259
|
+
$[5] = props;
|
|
260
|
+
$[6] = ref;
|
|
261
|
+
$[7] = t1;
|
|
262
|
+
$[8] = t2;
|
|
263
|
+
} else t2 = $[8];
|
|
264
|
+
return t2;
|
|
265
|
+
});
|
|
80
266
|
SheetDescription.displayName = Description.displayName;
|
|
81
267
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger };
|
|
@@ -27,12 +27,38 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
Skeleton: ()=>Skeleton
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const compiler_runtime_namespaceObject = require("react/compiler-runtime");
|
|
30
31
|
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
31
|
-
function Skeleton(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
function Skeleton(t0) {
|
|
33
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(8);
|
|
34
|
+
let className;
|
|
35
|
+
let props;
|
|
36
|
+
if ($[0] !== t0) {
|
|
37
|
+
({ className, ...props } = t0);
|
|
38
|
+
$[0] = t0;
|
|
39
|
+
$[1] = className;
|
|
40
|
+
$[2] = props;
|
|
41
|
+
} else {
|
|
42
|
+
className = $[1];
|
|
43
|
+
props = $[2];
|
|
44
|
+
}
|
|
45
|
+
let t1;
|
|
46
|
+
if ($[3] !== className) {
|
|
47
|
+
t1 = (0, index_cjs_namespaceObject.cn)("animate-pulse rounded-md bg-muted", className);
|
|
48
|
+
$[3] = className;
|
|
49
|
+
$[4] = t1;
|
|
50
|
+
} else t1 = $[4];
|
|
51
|
+
let t2;
|
|
52
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
53
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
54
|
+
className: t1,
|
|
55
|
+
...props
|
|
56
|
+
});
|
|
57
|
+
$[5] = props;
|
|
58
|
+
$[6] = t1;
|
|
59
|
+
$[7] = t2;
|
|
60
|
+
} else t2 = $[7];
|
|
61
|
+
return t2;
|
|
36
62
|
}
|
|
37
63
|
exports.Skeleton = __webpack_exports__.Skeleton;
|
|
38
64
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|