@godxjp/ui 6.4.0 → 6.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.js +4 -4
- package/dist/{chunk-E7CZIMX7.js → chunk-255EBAE4.js} +1 -1
- package/dist/{chunk-GFUO67BB.js → chunk-5DZXJ3PU.js} +3 -3
- package/dist/{chunk-7W3CHMLL.js → chunk-CJVXTCYD.js} +1 -1
- package/dist/{chunk-TNIDN4OY.js → chunk-CZ55VL4M.js} +13 -4
- package/dist/{chunk-NKN2OW3G.js → chunk-E77YBOGD.js} +1 -1
- package/dist/{chunk-ULKQ3IDG.js → chunk-GEGEBHZ4.js} +1 -1
- package/dist/{chunk-5DRKN2HI.js → chunk-HGRRL34G.js} +1 -1
- package/dist/{chunk-UJFXXEM4.js → chunk-HZRNWNEA.js} +2 -2
- package/dist/{chunk-54LBVZLM.js → chunk-IBSA7LMM.js} +70 -69
- package/dist/{chunk-GXBWEOZD.js → chunk-IO3XUTIV.js} +2 -2
- package/dist/{chunk-GXKBK6N2.js → chunk-KYJMNBZI.js} +1 -1
- package/dist/{chunk-A3Q5LKWS.js → chunk-LQGSZODY.js} +1 -1
- package/dist/{chunk-EYLUVDHJ.js → chunk-NHD5XDMX.js} +1 -1
- package/dist/{chunk-MIVDO3Z3.js → chunk-QT3T2HEI.js} +2 -2
- package/dist/{chunk-RGSH6FQN.js → chunk-RP3NH5QJ.js} +1 -1
- package/dist/{chunk-6BJ2X7PA.js → chunk-TRVOPU4U.js} +9 -3
- package/dist/{chunk-WUXFOY6M.js → chunk-WM5MKEOD.js} +2 -2
- package/dist/{chunk-WHRFHVFD.js → chunk-XKBZQWYX.js} +2 -2
- package/dist/{chunk-FNZQTYAG.js → chunk-Z33J65PB.js} +2 -2
- package/dist/components/admin/index.d.ts +1 -1
- package/dist/components/admin/index.js +15 -15
- package/dist/components/data-display/index.d.ts +1 -1
- package/dist/components/data-display/index.js +3 -3
- package/dist/components/data-entry/autocomplete.js +3 -3
- package/dist/components/data-entry/cascader.js +3 -3
- package/dist/components/data-entry/color-picker.js +3 -3
- package/dist/components/data-entry/date-picker.js +3 -3
- package/dist/components/data-entry/date-range-picker.js +3 -3
- package/dist/components/data-entry/index.js +13 -13
- package/dist/components/data-entry/time-picker.js +3 -3
- package/dist/components/data-entry/transfer.js +3 -3
- package/dist/components/data-entry/tree-select.js +3 -3
- package/dist/components/data-entry/upload.js +5 -5
- package/dist/components/feedback/alert.js +4 -4
- package/dist/components/feedback/dialog.js +3 -3
- package/dist/components/feedback/index.js +5 -5
- package/dist/components/layout/index.js +2 -1
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/navigation/pagination.js +3 -3
- package/dist/components/query/index.js +5 -5
- package/dist/components/ui/index.js +13 -13
- package/dist/{data-table-Pd62B4WQ.d.ts → data-table-CnRksymA.d.ts} +5 -1
- package/dist/i18n/index.d.ts +3 -1
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -15
- package/dist/lib/datetime/index.js +1 -1
- package/dist/styles/shell-layout.css +14 -58
- package/dist/styles/table-layout.css +5 -0
- package/package.json +1 -1
package/dist/app/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useAppContext } from '../chunk-
|
|
2
|
-
export { APP_LOCALES, APP_REQUEST_HEADER_LOCALE, APP_REQUEST_HEADER_TIMEZONE, APP_TIMEZONE_OPTIONS, APP_TIMEZONE_PRESET, APP_TIME_FORMAT_OPTIONS, AppProvider, DEFAULT_STORAGE_KEY, TIMEZONE_ALIASES, formatTimezoneDisplayLabel, getAllIanaTimezones, getAppRequestHeaders, getBrowserTimezone, getTimeFormatLabel, getTimezoneCityName, getTimezoneLabel, getTimezoneOffsetLabel, isKnownAppTimezone, isValidIanaTimezone, readStoredPreferences, resetAppRequestHeaders, resetIanaTimezoneCacheForTests, resolveDefaultTimeFormat, resolveDefaultTimezone, resolveTimezoneForIntl, resolveTimezonePickerOptions, syncAppRequestHeaders, useAppContext, useAppDateFormat, useAppLocale, useAppTimeFormat, useAppTimezone, useOptionalAppContext, usePickerLocales, useTranslation, writeStoredPreferences } from '../chunk-
|
|
3
|
-
import { formatDate } from '../chunk-
|
|
4
|
-
export { APP_DATE_FORMATS, APP_DATE_FORMAT_OPTIONS, APP_LOCALE_CONFIG, APP_REQUEST_HEADER_DATE_FORMAT, APP_REQUEST_HEADER_TIME_FORMAT, APP_TIME_FORMATS, detectFormatDateKind, formatAppDate, formatAppDateLong, formatAppDateTime, formatAppRelative, formatAppTime, formatCalendarDate, formatDate, formatTimeOfDay, getDateFnsLocale, getDateFormatLabel, getDatePattern, getDateTimePattern, getDatetimeContext, getDayPickerLocale, getTimePattern, isAppDateFormat, isAppLocale, isAppTimeFormat, isFormatDateValue, isValidHhmm, normalizeHhmm, parseDateInput, resolveDefaultDateFormat, syncDatetimeContext } from '../chunk-
|
|
1
|
+
import { useAppContext } from '../chunk-NHD5XDMX.js';
|
|
2
|
+
export { APP_LOCALES, APP_REQUEST_HEADER_LOCALE, APP_REQUEST_HEADER_TIMEZONE, APP_TIMEZONE_OPTIONS, APP_TIMEZONE_PRESET, APP_TIME_FORMAT_OPTIONS, AppProvider, DEFAULT_STORAGE_KEY, TIMEZONE_ALIASES, formatTimezoneDisplayLabel, getAllIanaTimezones, getAppRequestHeaders, getBrowserTimezone, getTimeFormatLabel, getTimezoneCityName, getTimezoneLabel, getTimezoneOffsetLabel, isKnownAppTimezone, isValidIanaTimezone, readStoredPreferences, resetAppRequestHeaders, resetIanaTimezoneCacheForTests, resolveDefaultTimeFormat, resolveDefaultTimezone, resolveTimezoneForIntl, resolveTimezonePickerOptions, syncAppRequestHeaders, useAppContext, useAppDateFormat, useAppLocale, useAppTimeFormat, useAppTimezone, useOptionalAppContext, usePickerLocales, useTranslation, writeStoredPreferences } from '../chunk-NHD5XDMX.js';
|
|
3
|
+
import { formatDate } from '../chunk-TRVOPU4U.js';
|
|
4
|
+
export { APP_DATE_FORMATS, APP_DATE_FORMAT_OPTIONS, APP_LOCALE_CONFIG, APP_REQUEST_HEADER_DATE_FORMAT, APP_REQUEST_HEADER_TIME_FORMAT, APP_TIME_FORMATS, detectFormatDateKind, formatAppDate, formatAppDateLong, formatAppDateTime, formatAppRelative, formatAppTime, formatCalendarDate, formatDate, formatTimeOfDay, getDateFnsLocale, getDateFormatLabel, getDatePattern, getDateTimePattern, getDatetimeContext, getDayPickerLocale, getTimePattern, isAppDateFormat, isAppLocale, isAppTimeFormat, isFormatDateValue, isValidHhmm, normalizeHhmm, parseDateInput, resolveDefaultDateFormat, syncDatetimeContext } from '../chunk-TRVOPU4U.js';
|
|
5
5
|
import { useMemo } from 'react';
|
|
6
6
|
|
|
7
7
|
function useFormatting() {
|
|
@@ -4,7 +4,7 @@ import { Checkbox } from './chunk-E76QIYSY.js';
|
|
|
4
4
|
import { Popover, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
|
|
5
5
|
import { ScrollArea } from './chunk-3KPEZ5CF.js';
|
|
6
6
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
7
|
-
import { useTranslation } from './chunk-
|
|
7
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
8
8
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import { X, ChevronsUpDown, ChevronDown, ChevronRight } from 'lucide-react';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Slider } from './chunk-CRERCLIZ.js';
|
|
2
2
|
import { controlIconClass } from './chunk-ICM6XBST.js';
|
|
3
|
-
import { formatBytes } from './chunk-
|
|
4
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './chunk-
|
|
3
|
+
import { formatBytes } from './chunk-CJVXTCYD.js';
|
|
4
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './chunk-LQGSZODY.js';
|
|
5
5
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
6
|
-
import { useTranslation } from './chunk-
|
|
6
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
7
7
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
8
8
|
import * as React2 from 'react';
|
|
9
9
|
import { Upload as Upload$1, ImagePlus, Camera, Trash2, RotateCcw, X } from 'lucide-react';
|
|
@@ -2,7 +2,7 @@ import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from '.
|
|
|
2
2
|
import { tableCellPaddingClass, tableRowHeightClass, controlIconSmClass, toneNeutralClass, toneInfoClass, toneDestructiveClass, toneWarningClass, toneSuccessClass } from './chunk-ICM6XBST.js';
|
|
3
3
|
import { Inline, densityClass } from './chunk-S66TJXJU.js';
|
|
4
4
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
5
|
-
import { useTranslation } from './chunk-
|
|
5
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
6
6
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
7
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
8
|
import { Layers, Layers2, ArrowUp, ArrowDown, ChevronsUpDown, MoreHorizontal, XCircle, Pause, CheckCircle2, Circle, Trash2, AlertCircle, Clock, Play } from 'lucide-react';
|
|
@@ -101,6 +101,8 @@ function DataTable({
|
|
|
101
101
|
onDensityChange,
|
|
102
102
|
sort,
|
|
103
103
|
onSortChange,
|
|
104
|
+
loading = false,
|
|
105
|
+
empty,
|
|
104
106
|
className,
|
|
105
107
|
children
|
|
106
108
|
}) {
|
|
@@ -122,6 +124,7 @@ function DataTable({
|
|
|
122
124
|
else next.add(id);
|
|
123
125
|
setSelected(next);
|
|
124
126
|
};
|
|
127
|
+
const emptyColSpan = columns.length + (selectable ? 1 : 0);
|
|
125
128
|
const allSelected = data.length > 0 && data.every((r) => selected.has(getRowId(r)));
|
|
126
129
|
const someSelected = !allSelected && data.some((r) => selected.has(getRowId(r)));
|
|
127
130
|
const toggleSelectAll = () => {
|
|
@@ -142,7 +145,10 @@ function DataTable({
|
|
|
142
145
|
getRowId,
|
|
143
146
|
onRowClick,
|
|
144
147
|
sort,
|
|
145
|
-
onSortChange
|
|
148
|
+
onSortChange,
|
|
149
|
+
loading,
|
|
150
|
+
empty,
|
|
151
|
+
emptyColSpan
|
|
146
152
|
};
|
|
147
153
|
const hasContent = React.Children.toArray(children).some(
|
|
148
154
|
(c) => React.isValidElement(c) && c.type.displayName === "DataTable.Content"
|
|
@@ -244,7 +250,10 @@ DataTable.Content = function DataTableContent() {
|
|
|
244
250
|
getRowId,
|
|
245
251
|
onRowClick,
|
|
246
252
|
sort,
|
|
247
|
-
onSortChange
|
|
253
|
+
onSortChange,
|
|
254
|
+
loading,
|
|
255
|
+
empty,
|
|
256
|
+
emptyColSpan
|
|
248
257
|
} = useDataTableContext();
|
|
249
258
|
const { t } = useTranslation();
|
|
250
259
|
const rowPadding = tableRowHeightClass;
|
|
@@ -290,7 +299,7 @@ DataTable.Content = function DataTableContent() {
|
|
|
290
299
|
col.key
|
|
291
300
|
))
|
|
292
301
|
] }) }),
|
|
293
|
-
/* @__PURE__ */ jsx(TableBody, { children: data.map((row) => {
|
|
302
|
+
/* @__PURE__ */ jsx(TableBody, { children: loading ? /* @__PURE__ */ jsx(TableRow, { className: "hover:bg-transparent", children: /* @__PURE__ */ jsx(TableCell, { colSpan: emptyColSpan, className: "h-32 text-center", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: t("dataTable.loading") }) }) }) : data.length === 0 ? /* @__PURE__ */ jsx(TableRow, { className: "hover:bg-transparent", children: /* @__PURE__ */ jsx(TableCell, { colSpan: emptyColSpan, className: "ui-data-table-empty", children: empty ?? /* @__PURE__ */ jsx(EmptyState, { title: t("dataTable.empty") }) }) }) : data.map((row) => {
|
|
294
303
|
const id = getRowId(row);
|
|
295
304
|
const isSelected = selected.has(id);
|
|
296
305
|
return /* @__PURE__ */ jsxs(
|
|
@@ -3,8 +3,8 @@ import { Checkbox } from './chunk-E76QIYSY.js';
|
|
|
3
3
|
import { ScrollArea } from './chunk-3KPEZ5CF.js';
|
|
4
4
|
import { Input } from './chunk-VOHTRR5X.js';
|
|
5
5
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
6
|
-
import { useTranslation } from './chunk-EYLUVDHJ.js';
|
|
7
6
|
import { Label } from './chunk-7PWBC4BY.js';
|
|
7
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
8
8
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import { useState, useEffect } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { controlIconClass } from './chunk-ICM6XBST.js';
|
|
2
2
|
import { Input } from './chunk-VOHTRR5X.js';
|
|
3
|
-
import { useTranslation } from './chunk-
|
|
3
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
4
4
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem } from './chunk-V6UWJKZF.js';
|
|
2
2
|
import { Popover, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
|
|
3
3
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
4
|
-
import { useTranslation } from './chunk-
|
|
4
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
5
5
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ChevronsUpDown, Check } from 'lucide-react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Popover, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
|
|
2
2
|
import { Input } from './chunk-VOHTRR5X.js';
|
|
3
3
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
4
|
-
import { useTranslation } from './chunk-
|
|
5
|
-
import { normalizeHhmm, isValidHhmm } from './chunk-
|
|
4
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
5
|
+
import { normalizeHhmm, isValidHhmm } from './chunk-TRVOPU4U.js';
|
|
6
6
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Clock } from 'lucide-react';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Collapsible, CollapsibleTrigger, CollapsibleContent } from './chunk-DV52WNXO.js';
|
|
2
2
|
import { Badge } from './chunk-PIIRNAXA.js';
|
|
3
|
+
import { Popover, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
|
|
3
4
|
import { densityClass, pageContainerVariantClass, stackGapClass } from './chunk-S66TJXJU.js';
|
|
4
5
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
5
6
|
import { Link } from 'react-router-dom';
|
|
6
7
|
import { ChevronRight, PanelLeftOpen, PanelLeftClose, ChevronDown, Search, Bell, SlidersHorizontal } from 'lucide-react';
|
|
7
8
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
9
|
+
import * as React from 'react';
|
|
8
10
|
|
|
9
11
|
function PageContainer({
|
|
10
12
|
title,
|
|
@@ -201,7 +203,7 @@ function isItemActive(item, activeId) {
|
|
|
201
203
|
if (item.id === activeId) return true;
|
|
202
204
|
return (item.children ?? []).some((child) => isItemActive(child, activeId));
|
|
203
205
|
}
|
|
204
|
-
function NavLeaf({ item, activeId,
|
|
206
|
+
function NavLeaf({ item, activeId, onSelect, sub = false }) {
|
|
205
207
|
const Icon = item.icon;
|
|
206
208
|
const active = item.id === activeId;
|
|
207
209
|
return /* @__PURE__ */ jsxs(
|
|
@@ -212,57 +214,22 @@ function NavLeaf({ item, activeId, collapsed, onSelect, sub = false }) {
|
|
|
212
214
|
"data-active": active ? "true" : void 0,
|
|
213
215
|
"aria-current": active ? "page" : void 0,
|
|
214
216
|
"aria-disabled": item.disabled,
|
|
215
|
-
"aria-label": collapsed ? item.label : void 0,
|
|
216
217
|
onClick: () => {
|
|
217
218
|
if (!item.disabled) onSelect?.(item.id);
|
|
218
219
|
},
|
|
219
220
|
children: [
|
|
220
221
|
!sub ? /* @__PURE__ */ jsx("span", { className: "sb-icon", children: /* @__PURE__ */ jsx(Icon, { "aria-hidden": "true" }) }) : null,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
collapsed && !sub ? /* @__PURE__ */ jsx("span", { className: "sb-flyout", children: item.label }) : null
|
|
222
|
+
/* @__PURE__ */ jsx("span", { className: "sb-label", children: item.label }),
|
|
223
|
+
item.badge !== void 0 && item.badge !== "" ? /* @__PURE__ */ jsx("span", { className: "sb-badge", children: item.badge }) : null
|
|
224
224
|
]
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
}
|
|
228
|
-
function NavGroup({ item, activeId,
|
|
228
|
+
function NavGroup({ item, activeId, onSelect }) {
|
|
229
229
|
const Icon = item.icon;
|
|
230
230
|
const active = isItemActive(item, activeId);
|
|
231
231
|
const children = item.children ?? [];
|
|
232
|
-
|
|
233
|
-
return /* @__PURE__ */ jsxs("div", { className: "sb-nav-fly", children: [
|
|
234
|
-
/* @__PURE__ */ jsx(
|
|
235
|
-
"button",
|
|
236
|
-
{
|
|
237
|
-
type: "button",
|
|
238
|
-
className: "sb-nav-item",
|
|
239
|
-
"data-active": active ? "true" : void 0,
|
|
240
|
-
"aria-label": item.label,
|
|
241
|
-
"aria-haspopup": "menu",
|
|
242
|
-
children: /* @__PURE__ */ jsx("span", { className: "sb-icon", children: /* @__PURE__ */ jsx(Icon, { "aria-hidden": "true" }) })
|
|
243
|
-
}
|
|
244
|
-
),
|
|
245
|
-
/* @__PURE__ */ jsxs("span", { className: "sb-flyout sb-flyout--group", role: "menu", children: [
|
|
246
|
-
/* @__PURE__ */ jsx("span", { className: "sb-flyout-title", children: item.label }),
|
|
247
|
-
children.map((child) => /* @__PURE__ */ jsx(
|
|
248
|
-
"button",
|
|
249
|
-
{
|
|
250
|
-
type: "button",
|
|
251
|
-
role: "menuitem",
|
|
252
|
-
className: "sb-nav-item sb-nav-item--sub",
|
|
253
|
-
"data-active": child.id === activeId ? "true" : void 0,
|
|
254
|
-
"aria-current": child.id === activeId ? "page" : void 0,
|
|
255
|
-
onClick: () => {
|
|
256
|
-
if (!child.disabled) onSelect?.(child.id);
|
|
257
|
-
},
|
|
258
|
-
children: /* @__PURE__ */ jsx("span", { className: "sb-label", children: child.label })
|
|
259
|
-
},
|
|
260
|
-
child.id
|
|
261
|
-
))
|
|
262
|
-
] })
|
|
263
|
-
] });
|
|
264
|
-
}
|
|
265
|
-
return /* @__PURE__ */ jsxs(Collapsible, { defaultOpen: active, children: [
|
|
232
|
+
return /* @__PURE__ */ jsxs(Collapsible, { defaultOpen: active, className: "sb-nav-group", children: [
|
|
266
233
|
/* @__PURE__ */ jsxs(
|
|
267
234
|
CollapsibleTrigger,
|
|
268
235
|
{
|
|
@@ -275,17 +242,69 @@ function NavGroup({ item, activeId, collapsed, onSelect }) {
|
|
|
275
242
|
]
|
|
276
243
|
}
|
|
277
244
|
),
|
|
278
|
-
/* @__PURE__ */ jsx(CollapsibleContent, { children: /* @__PURE__ */ jsx("div", { className: "sb-nav-sub", children: children.map((child) => /* @__PURE__ */ jsx(
|
|
279
|
-
|
|
245
|
+
/* @__PURE__ */ jsx(CollapsibleContent, { children: /* @__PURE__ */ jsx("div", { className: "sb-nav-sub", children: children.map((child) => /* @__PURE__ */ jsx(NavLeaf, { item: child, activeId, onSelect, sub: true }, child.id)) }) })
|
|
246
|
+
] });
|
|
247
|
+
}
|
|
248
|
+
function CollapsedRow({ item, activeId, onSelect }) {
|
|
249
|
+
const [open, setOpen] = React.useState(false);
|
|
250
|
+
const Icon = item.icon;
|
|
251
|
+
const active = isItemActive(item, activeId);
|
|
252
|
+
const children = item.children ?? [];
|
|
253
|
+
const hasChildren = children.length > 0;
|
|
254
|
+
const show = () => setOpen(true);
|
|
255
|
+
const hide = () => setOpen(false);
|
|
256
|
+
return /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, children: [
|
|
257
|
+
/* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
258
|
+
"button",
|
|
280
259
|
{
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
260
|
+
type: "button",
|
|
261
|
+
className: "sb-nav-item",
|
|
262
|
+
"data-active": active ? "true" : void 0,
|
|
263
|
+
"aria-current": !hasChildren && active ? "page" : void 0,
|
|
264
|
+
"aria-label": item.label,
|
|
265
|
+
"aria-haspopup": hasChildren ? "menu" : void 0,
|
|
266
|
+
"aria-disabled": item.disabled,
|
|
267
|
+
onMouseEnter: show,
|
|
268
|
+
onMouseLeave: hide,
|
|
269
|
+
onFocus: show,
|
|
270
|
+
onBlur: hide,
|
|
271
|
+
onClick: () => {
|
|
272
|
+
if (!hasChildren && !item.disabled) onSelect?.(item.id);
|
|
273
|
+
},
|
|
274
|
+
children: /* @__PURE__ */ jsx("span", { className: "sb-icon", children: /* @__PURE__ */ jsx(Icon, { "aria-hidden": "true" }) })
|
|
275
|
+
}
|
|
276
|
+
) }),
|
|
277
|
+
/* @__PURE__ */ jsx(
|
|
278
|
+
PopoverContent,
|
|
279
|
+
{
|
|
280
|
+
side: "right",
|
|
281
|
+
align: "start",
|
|
282
|
+
sideOffset: 8,
|
|
283
|
+
role: hasChildren ? "menu" : void 0,
|
|
284
|
+
onMouseEnter: show,
|
|
285
|
+
onMouseLeave: hide,
|
|
286
|
+
className: cn("sb-flyout-pop", !hasChildren && "sb-flyout-pop--label"),
|
|
287
|
+
children: hasChildren ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
288
|
+
/* @__PURE__ */ jsx("div", { className: "sb-flyout-title", children: item.label }),
|
|
289
|
+
children.map((child) => /* @__PURE__ */ jsx(
|
|
290
|
+
"button",
|
|
291
|
+
{
|
|
292
|
+
type: "button",
|
|
293
|
+
role: "menuitem",
|
|
294
|
+
className: "sb-nav-item",
|
|
295
|
+
"data-active": child.id === activeId ? "true" : void 0,
|
|
296
|
+
"aria-current": child.id === activeId ? "page" : void 0,
|
|
297
|
+
onClick: () => {
|
|
298
|
+
hide();
|
|
299
|
+
if (!child.disabled) onSelect?.(child.id);
|
|
300
|
+
},
|
|
301
|
+
children: /* @__PURE__ */ jsx("span", { className: "sb-label", children: child.label })
|
|
302
|
+
},
|
|
303
|
+
child.id
|
|
304
|
+
))
|
|
305
|
+
] }) : /* @__PURE__ */ jsx("span", { className: "sb-flyout-label", children: item.label })
|
|
306
|
+
}
|
|
307
|
+
)
|
|
289
308
|
] });
|
|
290
309
|
}
|
|
291
310
|
function Sidebar({
|
|
@@ -326,25 +345,7 @@ function Sidebar({
|
|
|
326
345
|
/* @__PURE__ */ jsx("div", { className: "sb-nav-scroll", children: sections.map((section, sectionIndex) => /* @__PURE__ */ jsxs("div", { className: "sb-section", children: [
|
|
327
346
|
section.label && !collapsed ? /* @__PURE__ */ jsx("div", { className: "sb-section-label", children: section.label }) : null,
|
|
328
347
|
/* @__PURE__ */ jsx("div", { className: "sb-nav", role: "navigation", children: section.items.map(
|
|
329
|
-
(item) => item.children && item.children.length > 0 ? /* @__PURE__ */ jsx(
|
|
330
|
-
NavGroup,
|
|
331
|
-
{
|
|
332
|
-
item,
|
|
333
|
-
activeId,
|
|
334
|
-
collapsed,
|
|
335
|
-
onSelect
|
|
336
|
-
},
|
|
337
|
-
item.id
|
|
338
|
-
) : /* @__PURE__ */ jsx(
|
|
339
|
-
NavLeaf,
|
|
340
|
-
{
|
|
341
|
-
item,
|
|
342
|
-
activeId,
|
|
343
|
-
collapsed,
|
|
344
|
-
onSelect
|
|
345
|
-
},
|
|
346
|
-
item.id
|
|
347
|
-
)
|
|
348
|
+
(item) => collapsed ? /* @__PURE__ */ jsx(CollapsedRow, { item, activeId, onSelect }, item.id) : item.children && item.children.length > 0 ? /* @__PURE__ */ jsx(NavGroup, { item, activeId, onSelect }, item.id) : /* @__PURE__ */ jsx(NavLeaf, { item, activeId, onSelect }, item.id)
|
|
348
349
|
) })
|
|
349
350
|
] }, section.label ?? sectionIndex)) }),
|
|
350
351
|
footer ? /* @__PURE__ */ jsx("div", { className: "sb-footer", children: footer }) : null
|
|
@@ -2,8 +2,8 @@ import { Calendar } from './chunk-IK7I3ABN.js';
|
|
|
2
2
|
import { Popover, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
|
|
3
3
|
import { Input } from './chunk-VOHTRR5X.js';
|
|
4
4
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
5
|
-
import { useTranslation, usePickerLocales } from './chunk-
|
|
6
|
-
import { toIsoDate, parseDateInput } from './chunk-
|
|
5
|
+
import { useTranslation, usePickerLocales } from './chunk-NHD5XDMX.js';
|
|
6
|
+
import { toIsoDate, parseDateInput } from './chunk-TRVOPU4U.js';
|
|
7
7
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
8
8
|
import * as React from 'react';
|
|
9
9
|
import { CalendarIcon } from 'lucide-react';
|
|
@@ -4,7 +4,7 @@ import { Checkbox } from './chunk-E76QIYSY.js';
|
|
|
4
4
|
import { Popover, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
|
|
5
5
|
import { ScrollArea, ScrollBar } from './chunk-3KPEZ5CF.js';
|
|
6
6
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
7
|
-
import { useTranslation } from './chunk-
|
|
7
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
8
8
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import { X, ChevronsUpDown, Check, ChevronRight } from 'lucide-react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Input } from './chunk-VOHTRR5X.js';
|
|
2
2
|
import { buttonVariants, Button } from './chunk-HJEBRCXL.js';
|
|
3
|
-
import { useTranslation } from './chunk-EYLUVDHJ.js';
|
|
4
3
|
import { Label } from './chunk-7PWBC4BY.js';
|
|
4
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
5
5
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APP_TIME_FORMATS, isAppDateFormat, isAppTimeFormat, isAppLocale, translate, getDateFnsLocale, syncI18nLocale, syncDatetimeContext, disableLiveRelativeFormatting, enableLiveRelativeFormatting, getDayPickerLocale, APP_REQUEST_HEADER_DATE_FORMAT, APP_REQUEST_HEADER_TIME_FORMAT, resolveDefaultDateFormat } from './chunk-
|
|
1
|
+
import { APP_TIME_FORMATS, isAppDateFormat, isAppTimeFormat, isAppLocale, translate, getDateFnsLocale, syncI18nLocale, syncDatetimeContext, disableLiveRelativeFormatting, enableLiveRelativeFormatting, getDayPickerLocale, APP_REQUEST_HEADER_DATE_FORMAT, APP_REQUEST_HEADER_TIME_FORMAT, resolveDefaultDateFormat } from './chunk-TRVOPU4U.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-UX634MYF.js';
|
|
2
2
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
3
|
-
import { useTranslation, useOptionalAppContext, APP_LOCALES, resolveTimezonePickerOptions, getTimezoneLabel, APP_TIME_FORMAT_OPTIONS, getTimeFormatLabel } from './chunk-
|
|
4
|
-
import { APP_DATE_FORMAT_OPTIONS, getDateFormatLabel } from './chunk-
|
|
3
|
+
import { useTranslation, useOptionalAppContext, APP_LOCALES, resolveTimezonePickerOptions, getTimezoneLabel, APP_TIME_FORMAT_OPTIONS, getTimeFormatLabel } from './chunk-NHD5XDMX.js';
|
|
4
|
+
import { APP_DATE_FORMAT_OPTIONS, getDateFormatLabel } from './chunk-TRVOPU4U.js';
|
|
5
5
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
6
6
|
import { X, ChevronRight, Languages, Globe, Clock, CalendarDays } from 'lucide-react';
|
|
7
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-UX634MYF.js';
|
|
2
2
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
3
|
-
import { useTranslation } from './chunk-
|
|
3
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
4
4
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
5
5
|
import { ChevronLeft, ChevronRight, MoreHorizontal } from 'lucide-react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -198,7 +198,9 @@ var en_default = {
|
|
|
198
198
|
densityCompact: "Compact",
|
|
199
199
|
densityComfortable: "Comfortable",
|
|
200
200
|
densitySwitch: "Switch to {density} density",
|
|
201
|
-
rowActions: "Row actions"
|
|
201
|
+
rowActions: "Row actions",
|
|
202
|
+
empty: "No data",
|
|
203
|
+
loading: "Loading\u2026"
|
|
202
204
|
},
|
|
203
205
|
status: {
|
|
204
206
|
active: "Active",
|
|
@@ -376,7 +378,9 @@ var ja_default = {
|
|
|
376
378
|
densityCompact: "\u30B3\u30F3\u30D1\u30AF\u30C8",
|
|
377
379
|
densityComfortable: "\u5FEB\u9069",
|
|
378
380
|
densitySwitch: "{density} \u8868\u793A\u306B\u5207\u308A\u66FF\u3048",
|
|
379
|
-
rowActions: "\u884C\u306E\u64CD\u4F5C"
|
|
381
|
+
rowActions: "\u884C\u306E\u64CD\u4F5C",
|
|
382
|
+
empty: "\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
383
|
+
loading: "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026"
|
|
380
384
|
},
|
|
381
385
|
status: {
|
|
382
386
|
active: "\u6709\u52B9",
|
|
@@ -554,7 +558,9 @@ var vi_default = {
|
|
|
554
558
|
densityCompact: "G\u1ECDn",
|
|
555
559
|
densityComfortable: "Tho\u1EA3i m\xE1i",
|
|
556
560
|
densitySwitch: "Chuy\u1EC3n sang m\u1EADt \u0111\u1ED9 {density}",
|
|
557
|
-
rowActions: "Thao t\xE1c d\xF2ng"
|
|
561
|
+
rowActions: "Thao t\xE1c d\xF2ng",
|
|
562
|
+
empty: "Ch\u01B0a c\xF3 d\u1EEF li\u1EC7u",
|
|
563
|
+
loading: "\u0110ang t\u1EA3i\u2026"
|
|
558
564
|
},
|
|
559
565
|
status: {
|
|
560
566
|
active: "\u0110ang ho\u1EA1t \u0111\u1ED9ng",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AlertQueryError } from './chunk-
|
|
1
|
+
import { AlertQueryError } from './chunk-Z33J65PB.js';
|
|
2
2
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
3
|
-
import { useTranslation } from './chunk-
|
|
3
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
import { RefreshCw } from 'lucide-react';
|
|
@@ -2,8 +2,8 @@ import { Calendar } from './chunk-IK7I3ABN.js';
|
|
|
2
2
|
import { Popover, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
|
|
3
3
|
import { Input } from './chunk-VOHTRR5X.js';
|
|
4
4
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
5
|
-
import { useTranslation, usePickerLocales } from './chunk-
|
|
6
|
-
import { toIsoDate, parseDateInput } from './chunk-
|
|
5
|
+
import { useTranslation, usePickerLocales } from './chunk-NHD5XDMX.js';
|
|
6
|
+
import { toIsoDate, parseDateInput } from './chunk-TRVOPU4U.js';
|
|
7
7
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
8
8
|
import * as React from 'react';
|
|
9
9
|
import { CalendarIcon } from 'lucide-react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { humanError } from './chunk-
|
|
1
|
+
import { humanError } from './chunk-CJVXTCYD.js';
|
|
2
2
|
import { Inline } from './chunk-S66TJXJU.js';
|
|
3
3
|
import { Button } from './chunk-HJEBRCXL.js';
|
|
4
|
-
import { useTranslation } from './chunk-
|
|
4
|
+
import { useTranslation } from './chunk-NHD5XDMX.js';
|
|
5
5
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { CheckCircle2, TriangleAlert, AlertCircle, Info, X, RefreshCw } from 'lucide-react';
|
|
@@ -2,7 +2,7 @@ export { B as BreadcrumbItem } from '../../navigation.prop-DxBiClEH.js';
|
|
|
2
2
|
export { I as InlineProp, P as PageContainerProp, P as PageContainerProps, a as PageHeaderProp, f as StackProp } from '../../layout.prop-CjlAEWgr.js';
|
|
3
3
|
export { F as FilterBar, a as FilterGroup, P as PageHeader } from '../../filter-bar-CNEdQB7i.js';
|
|
4
4
|
export { I as Inline, P as PageContainer, S as Stack } from '../../inline-BuyFYZah.js';
|
|
5
|
-
export { C as ColumnDef, D as DataTable, a as Density, E as EmptyState, K as KeyValueGrid, S as StatusBadge } from '../../data-table-
|
|
5
|
+
export { C as ColumnDef, D as DataTable, a as Density, E as EmptyState, K as KeyValueGrid, S as StatusBadge } from '../../data-table-CnRksymA.js';
|
|
6
6
|
export { F as FormField, S as SearchInput } from '../../search-input-JWJMFVqC.js';
|
|
7
7
|
export { L as LegacyToastOptions, S as SkeletonCard, a as SkeletonDetail, b as SkeletonRows, c as SkeletonTable, t as toast, u as useToast } from '../../use-toast-Dol5bdY3.js';
|
|
8
8
|
export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from '../query/index.js';
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import '../../chunk-LDSLS6HE.js';
|
|
2
|
-
export {
|
|
3
|
-
export { FilterBar, FilterGroup, PageHeader } from '../../chunk-MIVDO3Z3.js';
|
|
4
|
-
import '../../chunk-TO33OY4L.js';
|
|
5
|
-
export { Pagination } from '../../chunk-RGSH6FQN.js';
|
|
2
|
+
export { FilterBar, FilterGroup, PageHeader } from '../../chunk-QT3T2HEI.js';
|
|
6
3
|
export { Steps } from '../../chunk-L6J44O74.js';
|
|
4
|
+
export { PageContainer, Stack } from '../../chunk-IBSA7LMM.js';
|
|
5
|
+
export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from '../../chunk-WM5MKEOD.js';
|
|
6
|
+
export { Pagination } from '../../chunk-RP3NH5QJ.js';
|
|
7
7
|
export { TabsItems } from '../../chunk-BPSKQUL2.js';
|
|
8
8
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-XG7XDYIM.js';
|
|
9
|
-
|
|
10
|
-
export { SearchInput, Transfer, useDebouncedValue, useTimeoutFlag } from '../../chunk-
|
|
11
|
-
export { TreeSelect } from '../../chunk-
|
|
12
|
-
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-
|
|
9
|
+
import '../../chunk-TO33OY4L.js';
|
|
10
|
+
export { SearchInput, Transfer, useDebouncedValue, useTimeoutFlag } from '../../chunk-E77YBOGD.js';
|
|
11
|
+
export { TreeSelect } from '../../chunk-255EBAE4.js';
|
|
12
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-5DZXJ3PU.js';
|
|
13
13
|
import '../../chunk-CRERCLIZ.js';
|
|
14
14
|
import '../../chunk-UX634MYF.js';
|
|
15
15
|
export { SkeletonCard, SkeletonDetail, SkeletonRows, SkeletonTable, toast, useToast } from '../../chunk-M64MVRLS.js';
|
|
16
16
|
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
17
|
-
export { Cascader } from '../../chunk-
|
|
17
|
+
export { Cascader } from '../../chunk-KYJMNBZI.js';
|
|
18
18
|
import '../../chunk-SMLKNECP.js';
|
|
19
19
|
import '../../chunk-V6UWJKZF.js';
|
|
20
20
|
import '../../chunk-E76QIYSY.js';
|
|
21
21
|
import '../../chunk-CQBADMFG.js';
|
|
22
|
-
export { DataTable, EmptyState, KeyValueGrid, StatusBadge } from '../../chunk-
|
|
22
|
+
export { DataTable, EmptyState, KeyValueGrid, StatusBadge } from '../../chunk-CZ55VL4M.js';
|
|
23
23
|
import '../../chunk-DV52WNXO.js';
|
|
24
24
|
import '../../chunk-PIIRNAXA.js';
|
|
25
25
|
import '../../chunk-DY5C44UP.js';
|
|
26
26
|
import '../../chunk-3KPEZ5CF.js';
|
|
27
27
|
import '../../chunk-ZS6DTAM2.js';
|
|
28
28
|
import '../../chunk-ICM6XBST.js';
|
|
29
|
-
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-
|
|
30
|
-
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from '../../chunk-
|
|
29
|
+
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-Z33J65PB.js';
|
|
30
|
+
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from '../../chunk-CJVXTCYD.js';
|
|
31
31
|
export { Inline } from '../../chunk-S66TJXJU.js';
|
|
32
|
-
export { Dialog, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from '../../chunk-
|
|
32
|
+
export { Dialog, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from '../../chunk-LQGSZODY.js';
|
|
33
33
|
import '../../chunk-VOHTRR5X.js';
|
|
34
34
|
import '../../chunk-HJEBRCXL.js';
|
|
35
|
-
import '../../chunk-EYLUVDHJ.js';
|
|
36
|
-
export { formatDate } from '../../chunk-6BJ2X7PA.js';
|
|
37
35
|
export { FormField } from '../../chunk-F7PG4OEV.js';
|
|
38
36
|
import '../../chunk-7PWBC4BY.js';
|
|
37
|
+
import '../../chunk-NHD5XDMX.js';
|
|
38
|
+
export { formatDate } from '../../chunk-TRVOPU4U.js';
|
|
39
39
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Badge, BadgeProps } from './badge.js';
|
|
2
2
|
export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardStat, CardStatProps, CardTitle } from './card.js';
|
|
3
3
|
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from './table.js';
|
|
4
|
-
export { C as ColumnDef, D as DataTable, E as EmptyState, K as KeyValueGrid, S as StatusBadge, b as StatusBadgeTone, a as TableDensity } from '../../data-table-
|
|
4
|
+
export { C as ColumnDef, D as DataTable, E as EmptyState, K as KeyValueGrid, S as StatusBadge, b as StatusBadgeTone, a as TableDensity } from '../../data-table-CnRksymA.js';
|
|
5
5
|
export { c as SortStateProp } from '../../interaction.prop-Cdn7wOtq.js';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardStat, CardTitle } from '../../chunk-GXHZAJUA.js';
|
|
2
|
-
export { DataTable, EmptyState, KeyValueGrid, StatusBadge } from '../../chunk-
|
|
2
|
+
export { DataTable, EmptyState, KeyValueGrid, StatusBadge } from '../../chunk-CZ55VL4M.js';
|
|
3
3
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../../chunk-DV52WNXO.js';
|
|
4
4
|
import { Badge } from '../../chunk-PIIRNAXA.js';
|
|
5
5
|
export { Badge } from '../../chunk-PIIRNAXA.js';
|
|
@@ -9,8 +9,8 @@ export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '.
|
|
|
9
9
|
import '../../chunk-ICM6XBST.js';
|
|
10
10
|
import '../../chunk-S66TJXJU.js';
|
|
11
11
|
import '../../chunk-HJEBRCXL.js';
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-NHD5XDMX.js';
|
|
13
|
+
import '../../chunk-TRVOPU4U.js';
|
|
14
14
|
import '../../chunk-U7N2A7A3.js';
|
|
15
15
|
import { Truck, ShoppingBag, Hash, ChevronRight, Package, Plane, CheckCircle2, ScanLine } from 'lucide-react';
|
|
16
16
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { Autocomplete } from '../../chunk-
|
|
1
|
+
export { Autocomplete } from '../../chunk-HGRRL34G.js';
|
|
2
2
|
import '../../chunk-V6UWJKZF.js';
|
|
3
3
|
import '../../chunk-DY5C44UP.js';
|
|
4
4
|
import '../../chunk-ICM6XBST.js';
|
|
5
5
|
import '../../chunk-HJEBRCXL.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-NHD5XDMX.js';
|
|
7
|
+
import '../../chunk-TRVOPU4U.js';
|
|
8
8
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Cascader } from '../../chunk-
|
|
1
|
+
export { Cascader } from '../../chunk-KYJMNBZI.js';
|
|
2
2
|
import '../../chunk-SMLKNECP.js';
|
|
3
3
|
import '../../chunk-V6UWJKZF.js';
|
|
4
4
|
import '../../chunk-E76QIYSY.js';
|
|
@@ -7,7 +7,7 @@ import '../../chunk-DY5C44UP.js';
|
|
|
7
7
|
import '../../chunk-3KPEZ5CF.js';
|
|
8
8
|
import '../../chunk-ICM6XBST.js';
|
|
9
9
|
import '../../chunk-HJEBRCXL.js';
|
|
10
|
-
import '../../chunk-EYLUVDHJ.js';
|
|
11
|
-
import '../../chunk-6BJ2X7PA.js';
|
|
12
10
|
import '../../chunk-7PWBC4BY.js';
|
|
11
|
+
import '../../chunk-NHD5XDMX.js';
|
|
12
|
+
import '../../chunk-TRVOPU4U.js';
|
|
13
13
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ColorPicker } from '../../chunk-
|
|
1
|
+
export { ColorPicker } from '../../chunk-GEGEBHZ4.js';
|
|
2
2
|
import '../../chunk-ICM6XBST.js';
|
|
3
3
|
import '../../chunk-VOHTRR5X.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-NHD5XDMX.js';
|
|
5
|
+
import '../../chunk-TRVOPU4U.js';
|
|
6
6
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { DatePicker } from '../../chunk-
|
|
1
|
+
export { DatePicker } from '../../chunk-IO3XUTIV.js';
|
|
2
2
|
import '../../chunk-IK7I3ABN.js';
|
|
3
3
|
import '../../chunk-DY5C44UP.js';
|
|
4
4
|
import '../../chunk-ICM6XBST.js';
|
|
5
5
|
import '../../chunk-VOHTRR5X.js';
|
|
6
6
|
import '../../chunk-HJEBRCXL.js';
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-NHD5XDMX.js';
|
|
8
|
+
import '../../chunk-TRVOPU4U.js';
|
|
9
9
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { DateRangePicker } from '../../chunk-
|
|
1
|
+
export { DateRangePicker } from '../../chunk-XKBZQWYX.js';
|
|
2
2
|
import '../../chunk-IK7I3ABN.js';
|
|
3
3
|
import '../../chunk-DY5C44UP.js';
|
|
4
4
|
import '../../chunk-ICM6XBST.js';
|
|
5
5
|
import '../../chunk-VOHTRR5X.js';
|
|
6
6
|
import '../../chunk-HJEBRCXL.js';
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-NHD5XDMX.js';
|
|
8
|
+
import '../../chunk-TRVOPU4U.js';
|
|
9
9
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Switch } from '../../chunk-WXW43RK5.js';
|
|
2
2
|
export { Switch } from '../../chunk-WXW43RK5.js';
|
|
3
3
|
export { Textarea } from '../../chunk-ZLK5SPT6.js';
|
|
4
|
-
export { TimePicker } from '../../chunk-
|
|
5
|
-
export { DatePicker } from '../../chunk-
|
|
6
|
-
export { DateRangePicker } from '../../chunk-
|
|
4
|
+
export { TimePicker } from '../../chunk-HZRNWNEA.js';
|
|
5
|
+
export { DatePicker } from '../../chunk-IO3XUTIV.js';
|
|
6
|
+
export { DateRangePicker } from '../../chunk-XKBZQWYX.js';
|
|
7
7
|
export { Radio, RadioGroupOptions as RadioGroup, RadioGroupRoot, RadioItem } from '../../chunk-3UGU5TYP.js';
|
|
8
|
-
export { Autocomplete } from '../../chunk-
|
|
8
|
+
export { Autocomplete } from '../../chunk-HGRRL34G.js';
|
|
9
9
|
export { Calendar } from '../../chunk-IK7I3ABN.js';
|
|
10
|
-
export { ColorPicker } from '../../chunk-
|
|
11
|
-
export { SearchInput, Transfer } from '../../chunk-
|
|
12
|
-
export { SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeSelect } from '../../chunk-
|
|
13
|
-
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-
|
|
10
|
+
export { ColorPicker } from '../../chunk-GEGEBHZ4.js';
|
|
11
|
+
export { SearchInput, Transfer } from '../../chunk-E77YBOGD.js';
|
|
12
|
+
export { SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeSelect } from '../../chunk-255EBAE4.js';
|
|
13
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-5DZXJ3PU.js';
|
|
14
14
|
export { Slider } from '../../chunk-CRERCLIZ.js';
|
|
15
15
|
import { Select, SelectTrigger, SelectValue, SelectContent, SelectGroup, SelectItem } from '../../chunk-UX634MYF.js';
|
|
16
16
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-UX634MYF.js';
|
|
17
|
-
export { Cascader } from '../../chunk-
|
|
17
|
+
export { Cascader } from '../../chunk-KYJMNBZI.js';
|
|
18
18
|
import '../../chunk-SMLKNECP.js';
|
|
19
19
|
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../../chunk-V6UWJKZF.js';
|
|
20
20
|
export { Checkbox, CheckboxGroup } from '../../chunk-E76QIYSY.js';
|
|
@@ -22,16 +22,16 @@ import '../../chunk-CQBADMFG.js';
|
|
|
22
22
|
import '../../chunk-DY5C44UP.js';
|
|
23
23
|
import '../../chunk-3KPEZ5CF.js';
|
|
24
24
|
import '../../chunk-ICM6XBST.js';
|
|
25
|
-
import '../../chunk-
|
|
25
|
+
import '../../chunk-CJVXTCYD.js';
|
|
26
26
|
import { Inline } from '../../chunk-S66TJXJU.js';
|
|
27
|
-
import '../../chunk-
|
|
27
|
+
import '../../chunk-LQGSZODY.js';
|
|
28
28
|
export { Input } from '../../chunk-VOHTRR5X.js';
|
|
29
29
|
import '../../chunk-HJEBRCXL.js';
|
|
30
|
-
import '../../chunk-EYLUVDHJ.js';
|
|
31
|
-
import '../../chunk-6BJ2X7PA.js';
|
|
32
30
|
export { FormField } from '../../chunk-F7PG4OEV.js';
|
|
33
31
|
import { Label } from '../../chunk-7PWBC4BY.js';
|
|
34
32
|
export { Label } from '../../chunk-7PWBC4BY.js';
|
|
33
|
+
import '../../chunk-NHD5XDMX.js';
|
|
34
|
+
import '../../chunk-TRVOPU4U.js';
|
|
35
35
|
import { cn } from '../../chunk-U7N2A7A3.js';
|
|
36
36
|
import { useId, useState } from 'react';
|
|
37
37
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { TimePicker } from '../../chunk-
|
|
1
|
+
export { TimePicker } from '../../chunk-HZRNWNEA.js';
|
|
2
2
|
import '../../chunk-DY5C44UP.js';
|
|
3
3
|
import '../../chunk-VOHTRR5X.js';
|
|
4
4
|
import '../../chunk-HJEBRCXL.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-NHD5XDMX.js';
|
|
6
|
+
import '../../chunk-TRVOPU4U.js';
|
|
7
7
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { Transfer } from '../../chunk-
|
|
1
|
+
export { Transfer } from '../../chunk-E77YBOGD.js';
|
|
2
2
|
import '../../chunk-SMLKNECP.js';
|
|
3
3
|
import '../../chunk-E76QIYSY.js';
|
|
4
4
|
import '../../chunk-CQBADMFG.js';
|
|
5
5
|
import '../../chunk-3KPEZ5CF.js';
|
|
6
6
|
import '../../chunk-VOHTRR5X.js';
|
|
7
7
|
import '../../chunk-HJEBRCXL.js';
|
|
8
|
-
import '../../chunk-EYLUVDHJ.js';
|
|
9
|
-
import '../../chunk-6BJ2X7PA.js';
|
|
10
8
|
import '../../chunk-7PWBC4BY.js';
|
|
9
|
+
import '../../chunk-NHD5XDMX.js';
|
|
10
|
+
import '../../chunk-TRVOPU4U.js';
|
|
11
11
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeSelect } from '../../chunk-
|
|
1
|
+
export { SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeSelect } from '../../chunk-255EBAE4.js';
|
|
2
2
|
import '../../chunk-SMLKNECP.js';
|
|
3
3
|
import '../../chunk-V6UWJKZF.js';
|
|
4
4
|
import '../../chunk-E76QIYSY.js';
|
|
@@ -7,7 +7,7 @@ import '../../chunk-DY5C44UP.js';
|
|
|
7
7
|
import '../../chunk-3KPEZ5CF.js';
|
|
8
8
|
import '../../chunk-ICM6XBST.js';
|
|
9
9
|
import '../../chunk-HJEBRCXL.js';
|
|
10
|
-
import '../../chunk-EYLUVDHJ.js';
|
|
11
|
-
import '../../chunk-6BJ2X7PA.js';
|
|
12
10
|
import '../../chunk-7PWBC4BY.js';
|
|
11
|
+
import '../../chunk-NHD5XDMX.js';
|
|
12
|
+
import '../../chunk-TRVOPU4U.js';
|
|
13
13
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-
|
|
1
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-5DZXJ3PU.js';
|
|
2
2
|
import '../../chunk-CRERCLIZ.js';
|
|
3
3
|
import '../../chunk-ICM6XBST.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-CJVXTCYD.js';
|
|
5
|
+
import '../../chunk-LQGSZODY.js';
|
|
6
6
|
import '../../chunk-VOHTRR5X.js';
|
|
7
7
|
import '../../chunk-HJEBRCXL.js';
|
|
8
|
-
import '../../chunk-EYLUVDHJ.js';
|
|
9
|
-
import '../../chunk-6BJ2X7PA.js';
|
|
10
8
|
import '../../chunk-7PWBC4BY.js';
|
|
9
|
+
import '../../chunk-NHD5XDMX.js';
|
|
10
|
+
import '../../chunk-TRVOPU4U.js';
|
|
11
11
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-Z33J65PB.js';
|
|
2
|
+
import '../../chunk-CJVXTCYD.js';
|
|
3
3
|
import '../../chunk-S66TJXJU.js';
|
|
4
4
|
import '../../chunk-HJEBRCXL.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-NHD5XDMX.js';
|
|
6
|
+
import '../../chunk-TRVOPU4U.js';
|
|
7
7
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../../chunk-
|
|
1
|
+
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../../chunk-LQGSZODY.js';
|
|
2
2
|
import '../../chunk-VOHTRR5X.js';
|
|
3
3
|
import '../../chunk-HJEBRCXL.js';
|
|
4
|
-
import '../../chunk-EYLUVDHJ.js';
|
|
5
|
-
import '../../chunk-6BJ2X7PA.js';
|
|
6
4
|
import '../../chunk-7PWBC4BY.js';
|
|
5
|
+
import '../../chunk-NHD5XDMX.js';
|
|
6
|
+
import '../../chunk-TRVOPU4U.js';
|
|
7
7
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -2,13 +2,13 @@ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHe
|
|
|
2
2
|
export { SkeletonCard, SkeletonDetail, SkeletonRows, SkeletonTable, toast, useToast } from '../../chunk-M64MVRLS.js';
|
|
3
3
|
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
4
4
|
import '../../chunk-ICM6XBST.js';
|
|
5
|
-
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-Z33J65PB.js';
|
|
6
|
+
import '../../chunk-CJVXTCYD.js';
|
|
7
7
|
import '../../chunk-S66TJXJU.js';
|
|
8
|
-
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '../../chunk-
|
|
8
|
+
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '../../chunk-LQGSZODY.js';
|
|
9
9
|
import '../../chunk-VOHTRR5X.js';
|
|
10
10
|
import '../../chunk-HJEBRCXL.js';
|
|
11
|
-
import '../../chunk-EYLUVDHJ.js';
|
|
12
|
-
import '../../chunk-6BJ2X7PA.js';
|
|
13
11
|
import '../../chunk-7PWBC4BY.js';
|
|
12
|
+
import '../../chunk-NHD5XDMX.js';
|
|
13
|
+
import '../../chunk-TRVOPU4U.js';
|
|
14
14
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { AppShell, Breadcrumb, Menu, MobileFrame, PageContainer, PageInset, ResponsiveGrid, ShellApp, Sidebar, SplitPane, Stack, Topbar } from '../../chunk-
|
|
1
|
+
export { AppShell, Breadcrumb, Menu, MobileFrame, PageContainer, PageInset, ResponsiveGrid, ShellApp, Sidebar, SplitPane, Stack, Topbar } from '../../chunk-IBSA7LMM.js';
|
|
2
2
|
import '../../chunk-DV52WNXO.js';
|
|
3
3
|
import '../../chunk-PIIRNAXA.js';
|
|
4
|
+
import '../../chunk-DY5C44UP.js';
|
|
4
5
|
import '../../chunk-ICM6XBST.js';
|
|
5
6
|
export { Inline } from '../../chunk-S66TJXJU.js';
|
|
6
7
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { DateFormatPicker, FilterBar, FilterGroup, LocalePicker, PageHeader, TimeFormatPicker, TimezonePicker } from '../../chunk-
|
|
2
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
|
|
3
|
-
export { Pagination } from '../../chunk-RGSH6FQN.js';
|
|
1
|
+
export { DateFormatPicker, FilterBar, FilterGroup, LocalePicker, PageHeader, TimeFormatPicker, TimezonePicker } from '../../chunk-QT3T2HEI.js';
|
|
4
2
|
export { Steps } from '../../chunk-L6J44O74.js';
|
|
3
|
+
export { Pagination } from '../../chunk-RP3NH5QJ.js';
|
|
5
4
|
export { TabsItems } from '../../chunk-BPSKQUL2.js';
|
|
6
5
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-XG7XDYIM.js';
|
|
6
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
|
|
7
7
|
import '../../chunk-UX634MYF.js';
|
|
8
8
|
import '../../chunk-ICM6XBST.js';
|
|
9
9
|
import '../../chunk-HJEBRCXL.js';
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-NHD5XDMX.js';
|
|
11
|
+
import '../../chunk-TRVOPU4U.js';
|
|
12
12
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Pagination } from '../../chunk-
|
|
1
|
+
export { Pagination } from '../../chunk-RP3NH5QJ.js';
|
|
2
2
|
import '../../chunk-UX634MYF.js';
|
|
3
3
|
import '../../chunk-ICM6XBST.js';
|
|
4
4
|
import '../../chunk-HJEBRCXL.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-NHD5XDMX.js';
|
|
6
|
+
import '../../chunk-TRVOPU4U.js';
|
|
7
7
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from '../../chunk-WM5MKEOD.js';
|
|
2
|
+
import '../../chunk-Z33J65PB.js';
|
|
3
|
+
import '../../chunk-CJVXTCYD.js';
|
|
4
4
|
import '../../chunk-S66TJXJU.js';
|
|
5
5
|
import '../../chunk-HJEBRCXL.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-NHD5XDMX.js';
|
|
7
|
+
import '../../chunk-TRVOPU4U.js';
|
|
8
8
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export { Switch } from '../../chunk-WXW43RK5.js';
|
|
2
2
|
export { Textarea } from '../../chunk-ZLK5SPT6.js';
|
|
3
|
-
export { TimePicker } from '../../chunk-
|
|
4
|
-
export { DatePicker } from '../../chunk-
|
|
5
|
-
export { DateRangePicker } from '../../chunk-
|
|
3
|
+
export { TimePicker } from '../../chunk-HZRNWNEA.js';
|
|
4
|
+
export { DatePicker } from '../../chunk-IO3XUTIV.js';
|
|
5
|
+
export { DateRangePicker } from '../../chunk-XKBZQWYX.js';
|
|
6
6
|
export { Radio, RadioGroupOptions as RadioGroup, RadioGroupRoot, RadioItem } from '../../chunk-3UGU5TYP.js';
|
|
7
7
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../../chunk-BHV2FUOA.js';
|
|
8
|
-
export { Autocomplete } from '../../chunk-
|
|
8
|
+
export { Autocomplete } from '../../chunk-HGRRL34G.js';
|
|
9
9
|
export { Calendar } from '../../chunk-IK7I3ABN.js';
|
|
10
|
-
export { ColorPicker } from '../../chunk-
|
|
10
|
+
export { ColorPicker } from '../../chunk-GEGEBHZ4.js';
|
|
11
11
|
export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardStat, CardTitle } from '../../chunk-GXHZAJUA.js';
|
|
12
|
-
export {
|
|
13
|
-
export { Pagination } from '../../chunk-RGSH6FQN.js';
|
|
12
|
+
export { Pagination } from '../../chunk-RP3NH5QJ.js';
|
|
14
13
|
export { TabsItems } from '../../chunk-BPSKQUL2.js';
|
|
15
14
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-XG7XDYIM.js';
|
|
16
|
-
export {
|
|
15
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
|
|
16
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-5DZXJ3PU.js';
|
|
17
17
|
export { Slider } from '../../chunk-CRERCLIZ.js';
|
|
18
18
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-UX634MYF.js';
|
|
19
19
|
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
@@ -25,13 +25,13 @@ export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHead
|
|
|
25
25
|
export { ScrollArea, ScrollBar } from '../../chunk-3KPEZ5CF.js';
|
|
26
26
|
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../../chunk-ZS6DTAM2.js';
|
|
27
27
|
import '../../chunk-ICM6XBST.js';
|
|
28
|
-
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-
|
|
29
|
-
import '../../chunk-
|
|
28
|
+
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-Z33J65PB.js';
|
|
29
|
+
import '../../chunk-CJVXTCYD.js';
|
|
30
30
|
import '../../chunk-S66TJXJU.js';
|
|
31
|
-
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../../chunk-
|
|
31
|
+
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../../chunk-LQGSZODY.js';
|
|
32
32
|
export { Input } from '../../chunk-VOHTRR5X.js';
|
|
33
33
|
export { Button, buttonVariants } from '../../chunk-HJEBRCXL.js';
|
|
34
|
-
import '../../chunk-EYLUVDHJ.js';
|
|
35
|
-
import '../../chunk-6BJ2X7PA.js';
|
|
36
34
|
export { Label } from '../../chunk-7PWBC4BY.js';
|
|
35
|
+
import '../../chunk-NHD5XDMX.js';
|
|
36
|
+
import '../../chunk-TRVOPU4U.js';
|
|
37
37
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -64,10 +64,14 @@ interface DataTableProps<T> {
|
|
|
64
64
|
onDensityChange?: (d: Density) => void;
|
|
65
65
|
sort?: SortStateProp;
|
|
66
66
|
onSortChange?: (sort: SortStateProp | undefined) => void;
|
|
67
|
+
/** Show a loading row instead of data. */
|
|
68
|
+
loading?: boolean;
|
|
69
|
+
/** Custom empty content when `data` is empty; defaults to a built-in EmptyState. */
|
|
70
|
+
empty?: React.ReactNode;
|
|
67
71
|
className?: string;
|
|
68
72
|
children?: React.ReactNode;
|
|
69
73
|
}
|
|
70
|
-
declare function DataTable<T>({ data, columns, getRowId, selectable, selected: controlledSelected, onSelectChange, onRowClick, density: controlledDensity, onDensityChange, sort, onSortChange, className, children, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
74
|
+
declare function DataTable<T>({ data, columns, getRowId, selectable, selected: controlledSelected, onSelectChange, onRowClick, density: controlledDensity, onDensityChange, sort, onSortChange, loading, empty, className, children, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
71
75
|
declare namespace DataTable {
|
|
72
76
|
var Toolbar: ({ children, className, }: {
|
|
73
77
|
children?: React.ReactNode;
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -149,7 +149,9 @@ var dataTable = {
|
|
|
149
149
|
densityCompact: "Gọn",
|
|
150
150
|
densityComfortable: "Thoải mái",
|
|
151
151
|
densitySwitch: "Chuyển sang mật độ {density}",
|
|
152
|
-
rowActions: "Thao tác dòng"
|
|
152
|
+
rowActions: "Thao tác dòng",
|
|
153
|
+
empty: "Chưa có dữ liệu",
|
|
154
|
+
loading: "Đang tải…"
|
|
153
155
|
};
|
|
154
156
|
var status = {
|
|
155
157
|
active: "Đang hoạt động",
|
package/dist/i18n/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { usePickerLocales, useTranslation } from '../chunk-
|
|
2
|
-
export { MESSAGE_CATALOG, resetI18nLocale, syncI18nLocale, translate, translateCurrent } from '../chunk-
|
|
1
|
+
export { usePickerLocales, useTranslation } from '../chunk-NHD5XDMX.js';
|
|
2
|
+
export { MESSAGE_CATALOG, resetI18nLocale, syncI18nLocale, translate, translateCurrent } from '../chunk-TRVOPU4U.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { B as BreadcrumbItem } from './navigation.prop-DxBiClEH.js';
|
|
|
2
2
|
export { I as InlineProp, P as PageContainerProp, P as PageContainerProps, a as PageHeaderProp, f as StackProp } from './layout.prop-CjlAEWgr.js';
|
|
3
3
|
export { F as FilterBar, a as FilterGroup, P as PageHeader } from './filter-bar-CNEdQB7i.js';
|
|
4
4
|
export { I as Inline, P as PageContainer, S as Stack } from './inline-BuyFYZah.js';
|
|
5
|
-
export { C as ColumnDef, D as DataTable, a as Density, E as EmptyState, K as KeyValueGrid, S as StatusBadge } from './data-table-
|
|
5
|
+
export { C as ColumnDef, D as DataTable, a as Density, E as EmptyState, K as KeyValueGrid, S as StatusBadge } from './data-table-CnRksymA.js';
|
|
6
6
|
export { F as FormField, S as SearchInput } from './search-input-JWJMFVqC.js';
|
|
7
7
|
export { L as LegacyToastOptions, S as SkeletonCard, a as SkeletonDetail, b as SkeletonRows, c as SkeletonTable, t as toast, u as useToast } from './use-toast-Dol5bdY3.js';
|
|
8
8
|
export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from './components/query/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
export { FormFieldControl, FormRoot, useZodForm } from './chunk-7WRZG2IG.js';
|
|
2
2
|
import './chunk-LDSLS6HE.js';
|
|
3
|
-
export {
|
|
4
|
-
export { FilterBar, FilterGroup, PageHeader } from './chunk-MIVDO3Z3.js';
|
|
5
|
-
import './chunk-TO33OY4L.js';
|
|
6
|
-
export { Pagination } from './chunk-RGSH6FQN.js';
|
|
3
|
+
export { FilterBar, FilterGroup, PageHeader } from './chunk-QT3T2HEI.js';
|
|
7
4
|
export { Steps } from './chunk-L6J44O74.js';
|
|
5
|
+
export { PageContainer, Stack } from './chunk-IBSA7LMM.js';
|
|
6
|
+
export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from './chunk-WM5MKEOD.js';
|
|
7
|
+
export { Pagination } from './chunk-RP3NH5QJ.js';
|
|
8
8
|
export { TabsItems } from './chunk-BPSKQUL2.js';
|
|
9
9
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-XG7XDYIM.js';
|
|
10
|
-
|
|
11
|
-
export { SearchInput, Transfer, useDebouncedValue, useTimeoutFlag } from './chunk-
|
|
12
|
-
export { TreeSelect } from './chunk-
|
|
13
|
-
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from './chunk-
|
|
10
|
+
import './chunk-TO33OY4L.js';
|
|
11
|
+
export { SearchInput, Transfer, useDebouncedValue, useTimeoutFlag } from './chunk-E77YBOGD.js';
|
|
12
|
+
export { TreeSelect } from './chunk-255EBAE4.js';
|
|
13
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from './chunk-5DZXJ3PU.js';
|
|
14
14
|
import './chunk-CRERCLIZ.js';
|
|
15
15
|
import './chunk-UX634MYF.js';
|
|
16
16
|
export { SkeletonCard, SkeletonDetail, SkeletonRows, SkeletonTable, toast, useToast } from './chunk-M64MVRLS.js';
|
|
17
17
|
export { Toaster } from './chunk-TO7URV7U.js';
|
|
18
|
-
export { Cascader } from './chunk-
|
|
18
|
+
export { Cascader } from './chunk-KYJMNBZI.js';
|
|
19
19
|
import './chunk-SMLKNECP.js';
|
|
20
20
|
import './chunk-V6UWJKZF.js';
|
|
21
21
|
import './chunk-E76QIYSY.js';
|
|
22
22
|
import './chunk-CQBADMFG.js';
|
|
23
|
-
export { DataTable, EmptyState, KeyValueGrid, StatusBadge } from './chunk-
|
|
23
|
+
export { DataTable, EmptyState, KeyValueGrid, StatusBadge } from './chunk-CZ55VL4M.js';
|
|
24
24
|
import './chunk-DV52WNXO.js';
|
|
25
25
|
import './chunk-PIIRNAXA.js';
|
|
26
26
|
import './chunk-DY5C44UP.js';
|
|
27
27
|
import './chunk-3KPEZ5CF.js';
|
|
28
28
|
import './chunk-ZS6DTAM2.js';
|
|
29
29
|
import './chunk-ICM6XBST.js';
|
|
30
|
-
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from './chunk-
|
|
31
|
-
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from './chunk-
|
|
30
|
+
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from './chunk-Z33J65PB.js';
|
|
31
|
+
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from './chunk-CJVXTCYD.js';
|
|
32
32
|
export { Inline } from './chunk-S66TJXJU.js';
|
|
33
|
-
export { Dialog, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-
|
|
33
|
+
export { Dialog, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-LQGSZODY.js';
|
|
34
34
|
import './chunk-VOHTRR5X.js';
|
|
35
35
|
import './chunk-HJEBRCXL.js';
|
|
36
|
-
import './chunk-EYLUVDHJ.js';
|
|
37
|
-
export { formatDate } from './chunk-6BJ2X7PA.js';
|
|
38
36
|
export { FormField } from './chunk-F7PG4OEV.js';
|
|
39
37
|
import './chunk-7PWBC4BY.js';
|
|
38
|
+
import './chunk-NHD5XDMX.js';
|
|
39
|
+
export { formatDate } from './chunk-TRVOPU4U.js';
|
|
40
40
|
export { cn } from './chunk-U7N2A7A3.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { calendarDateToTZDate, detectFormatDateKind, disableLiveRelativeFormatting, enableLiveRelativeFormatting, formatAppDate, formatAppDateLong, formatAppDateTime, formatAppRelative, formatAppTime, formatCalendarDate, formatDate, formatTimeOfDay, getDatetimeContext, hhmmToTZDate, isDateOnlyString, isFormatDateValue, isValidHhmm, normalizeHhmm, parseDateInput, resetDatetimeContextForTests, syncDatetimeContext, toIsoDate } from '../../chunk-
|
|
1
|
+
export { calendarDateToTZDate, detectFormatDateKind, disableLiveRelativeFormatting, enableLiveRelativeFormatting, formatAppDate, formatAppDateLong, formatAppDateTime, formatAppRelative, formatAppTime, formatCalendarDate, formatDate, formatTimeOfDay, getDatetimeContext, hhmmToTZDate, isDateOnlyString, isFormatDateValue, isValidHhmm, normalizeHhmm, parseDateInput, resetDatetimeContextForTests, syncDatetimeContext, toIsoDate } from '../../chunk-TRVOPU4U.js';
|
|
@@ -218,6 +218,7 @@
|
|
|
218
218
|
|
|
219
219
|
.sb-nav-item {
|
|
220
220
|
display: flex;
|
|
221
|
+
width: 100%;
|
|
221
222
|
height: var(--control-height);
|
|
222
223
|
min-width: 0;
|
|
223
224
|
align-items: center;
|
|
@@ -339,79 +340,34 @@
|
|
|
339
340
|
opacity: 1;
|
|
340
341
|
}
|
|
341
342
|
|
|
342
|
-
/* Collapsed
|
|
343
|
-
*
|
|
344
|
-
.sb-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
.sb-flyout {
|
|
349
|
-
display: none;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
[data-collapsed="true"] .sb-nav-item {
|
|
353
|
-
position: relative;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
[data-collapsed="true"] .sb-flyout {
|
|
357
|
-
position: absolute;
|
|
358
|
-
inset-inline-start: 100%;
|
|
359
|
-
top: 0;
|
|
360
|
-
z-index: 50;
|
|
361
|
-
margin-inline-start: var(--space-2);
|
|
343
|
+
/* Collapsed-rail flyout — PORTALED (Radix Popover) so it escapes the sidebar's overflow and is
|
|
344
|
+
* never clipped: names a leaf item (tooltip) or reveals a group's submenu on hover/focus. */
|
|
345
|
+
.sb-flyout-pop {
|
|
346
|
+
display: flex;
|
|
347
|
+
width: auto;
|
|
362
348
|
min-width: 11rem;
|
|
363
349
|
flex-direction: column;
|
|
364
350
|
gap: 2px;
|
|
365
351
|
padding: var(--space-1);
|
|
366
|
-
border: 1px solid hsl(var(--border));
|
|
367
|
-
border-radius: var(--radius);
|
|
368
|
-
background: hsl(var(--popover, var(--background)));
|
|
369
|
-
color: hsl(var(--popover-foreground, var(--foreground)));
|
|
370
|
-
box-shadow:
|
|
371
|
-
0 4px 6px -1px hsl(var(--foreground) / 0.1),
|
|
372
|
-
0 2px 4px -2px hsl(var(--foreground) / 0.1);
|
|
373
|
-
white-space: nowrap;
|
|
374
|
-
font-size: var(--font-size-sm);
|
|
375
352
|
}
|
|
376
353
|
|
|
377
|
-
|
|
378
|
-
[data-collapsed="true"] .sb-nav-item > .sb-flyout:not(.sb-flyout--group) {
|
|
379
|
-
top: 50%;
|
|
380
|
-
flex-direction: row;
|
|
381
|
-
align-items: center;
|
|
354
|
+
.sb-flyout-pop.sb-flyout-pop--label {
|
|
382
355
|
min-width: 0;
|
|
383
|
-
transform: translateY(-50%);
|
|
384
356
|
padding: var(--space-1) var(--space-2);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.sb-flyout-label {
|
|
360
|
+
white-space: nowrap;
|
|
361
|
+
font-size: var(--font-size-sm);
|
|
385
362
|
font-weight: 500;
|
|
386
363
|
}
|
|
387
364
|
|
|
388
|
-
|
|
365
|
+
.sb-flyout-title {
|
|
389
366
|
padding: var(--space-1) var(--space-2);
|
|
390
367
|
color: hsl(var(--muted-foreground));
|
|
391
368
|
font-size: var(--font-size-xs);
|
|
392
369
|
font-weight: 600;
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
/* Submenu rows inside a collapsed flyout read as normal (full) nav rows, not dotted children. */
|
|
396
|
-
[data-collapsed="true"] .sb-flyout .sb-nav-item--sub {
|
|
397
|
-
height: var(--control-height);
|
|
398
|
-
font-size: var(--font-size-sm);
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
[data-collapsed="true"] .sb-flyout .sb-nav-item--sub::before {
|
|
402
|
-
content: none;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
[data-collapsed="true"] .sb-flyout .sb-label {
|
|
406
|
-
display: inline;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
/* Reveal on hover / keyboard focus. */
|
|
410
|
-
[data-collapsed="true"] .sb-nav-item:hover > .sb-flyout,
|
|
411
|
-
[data-collapsed="true"] .sb-nav-item:focus-visible > .sb-flyout,
|
|
412
|
-
[data-collapsed="true"] .sb-nav-fly:hover .sb-flyout,
|
|
413
|
-
[data-collapsed="true"] .sb-nav-fly:focus-within .sb-flyout {
|
|
414
|
-
display: flex;
|
|
370
|
+
white-space: nowrap;
|
|
415
371
|
}
|
|
416
372
|
|
|
417
373
|
/* Footer user — circular avatar with live dot + overflow menu, design `.sb-user`. */
|
|
@@ -81,6 +81,11 @@
|
|
|
81
81
|
border-radius: var(--radius-md);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
/* Empty-state cell hosts the built-in EmptyState (which brings its own padding). */
|
|
85
|
+
.ui-data-table-empty {
|
|
86
|
+
padding: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
84
89
|
[data-slot="card-content"][data-flush] .ui-data-table-root {
|
|
85
90
|
gap: 0;
|
|
86
91
|
}
|