@nubitio/react-admin 1.3.1 → 2.0.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/index.cjs +6 -0
- package/dist/index.d.cts +14 -3
- package/dist/index.d.mts +14 -3
- package/dist/index.mjs +2 -2
- package/dist/style.css +174 -0
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -557,6 +557,12 @@ Object.defineProperty(exports, "TooltipProvider", {
|
|
|
557
557
|
return _nubitio_ui.TooltipProvider;
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
|
+
Object.defineProperty(exports, "TreeList", {
|
|
561
|
+
enumerable: true,
|
|
562
|
+
get: function() {
|
|
563
|
+
return _nubitio_ui.TreeList;
|
|
564
|
+
}
|
|
565
|
+
});
|
|
560
566
|
Object.defineProperty(exports, "UiStringsProvider", {
|
|
561
567
|
enumerable: true,
|
|
562
568
|
get: function() {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @nubitio/react-admin — batteries-included admin stack.
|
|
3
|
+
*
|
|
4
|
+
* Umbrella re-export for fast project bootstrap. Import everything you need
|
|
5
|
+
* for a typical API Platform admin app from this single package:
|
|
6
|
+
*
|
|
7
|
+
* import { CoreProvider, CoreConfigProvider, CrudPage, AdminShell, SchemaProvider } from '@nubitio/react-admin';
|
|
8
|
+
*
|
|
9
|
+
* Peer dependencies: react, react-dom, react-router-dom, @tanstack/react-query,
|
|
10
|
+
* i18next, react-i18next.
|
|
11
|
+
*/
|
|
1
12
|
import { CoreConfig, CoreConfigProvider, CoreConfigProviderProps, CoreHttpClient, CoreHttpClientConfig, CoreProvider, CoreProviderProps, CoreTranslationKeys, DataRecord, DateUtils, EventSubscription, MercureProvider, MercureProviderProps, buildMercureCollectionTopic, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, dispatch, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, initCoreI18n, resolveMercureTopicOrigin, useCoreConfig, useCoreHttpClient, useEvents, useMercureHub, useMercureSubscription } from "@nubitio/core";
|
|
2
|
-
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, CardViewConfig, CardViewContext, ColumnChooserButton, ColumnPreset, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsContextValue, DevToolsProvider, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FieldResolutionSource, FormDetailDiagnostics, FormDetailFieldSource, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceDiagnostics, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SchemaCrudPage, SchemaCrudPageProps, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudPageProps, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
|
-
import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, Combobox, ComboboxLoader, ComboboxOption, ComboboxPage, ComboboxProps, ConfirmDialog, ConfirmDialogProps, ContextMenu, ContextMenuItem, ContextMenuProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Density, DensityProvider, Drawer, DrawerProps, DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, EmptyStateProps, FilterPanel, FilterPanelCategorySection, FilterPanelChipOption, FilterPanelProps, FilterPanelStatusSection, FormField, FormFieldProps, HubPanel, HubPanelProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricLayout, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, MultiSelect, MultiSelectProps, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SearchableAppDropdown, SearchableAppDropdownProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, StatCard, StatCardProps, Tabs, TabsItem, TabsProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
|
|
13
|
+
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, CardViewConfig, CardViewContext, ColumnChooserButton, ColumnPreset, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsContextValue, DevToolsProvider, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FieldResolutionSource, FormDetailDiagnostics, FormDetailFieldSource, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceDiagnostics, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SchemaCrudPage, SchemaCrudPageProps, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudPageProps, SmartCrudRolesProvider, ToolbarSelect, TreeListViewConfig, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
14
|
+
import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, Combobox, ComboboxLoader, ComboboxOption, ComboboxPage, ComboboxProps, ConfirmDialog, ConfirmDialogProps, ContextMenu, ContextMenuItem, ContextMenuProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Density, DensityProvider, Drawer, DrawerProps, DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, EmptyStateProps, FilterPanel, FilterPanelCategorySection, FilterPanelChipOption, FilterPanelProps, FilterPanelStatusSection, FormField, FormFieldProps, HubPanel, HubPanelProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricLayout, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, MultiSelect, MultiSelectProps, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SearchableAppDropdown, SearchableAppDropdownProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, StatCard, StatCardProps, Tabs, TabsItem, TabsProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, TreeList, TreeListColumn, TreeListModelOptions, TreeListMoveEvent, TreeListProps, TreeNode, TreeNodeId, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
|
|
4
15
|
import { ApiDoc, HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, OpenApiDoc, RemoteDataSourceOptions, RemoteFilterDescriptor, RemoteLoadOptions, RemoteSortDescriptor, SchemaProvider, UseSchemaContextResult, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
5
16
|
import { BarChartWidgetConfig, DashboardConfig, DashboardDataResult, DashboardPage, DashboardPageProps, DashboardSection, DashboardSectionLayout, DashboardWidget, DonutChartWidgetConfig, StatIconTone, StatWidgetConfig, TableColumnConfig, TableViewAllConfig, TableWidgetConfig, TrendConfig, ValueFormat, areaChartWidget, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, lineChartWidget, progressWidget, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
6
17
|
import { AdminBottomNavigation, AdminBottomNavigationItem, AdminBottomNavigationProps, AdminHeader, AdminHeaderAction, AdminHeaderProps, AdminMenuItem, AdminMenuSubItem, AdminShell, AdminShellProps, AdminSidebarMenu, AdminSidebarMenuProps, AdminSidebarMenuSelectEvent, AppProfile, CreateNubitAppConfig, FeatureGate, FeatureGateProps, FeatureHubBanner, FeatureHubLayout, FeatureHubLayoutProps, FeatureHubTab, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, NubitDevToolsPanel, ParsedQuotaError, PlanDefinition, PlanPanel, PlanPanelLabels, PlanPanelProps, QuotaUsageBanner, QuotaUsageBannerProps, RegisterField, RegisterFieldType, RegisterPage, RegisterPageProps, RegisterSelectOption, RuntimeConfig, RuntimeConfigState, SessionContextValue, SessionFeatureEntitlement, SessionProfile, SessionProvider, SessionProviderConfig, SessionState, SessionTenant, StaticSessionProvider, ToastHost, ToastHostProps, ToastItem, UseQuotaUsageOptions, UseRuntimeConfigOptions, createNubitApp, filterMenuByRoles, hasAnyRole, parseQuotaError, quotaErrorToastMessage, quotaUsageAboveGrid, useAppRuntime, useFeature, useFeatureConfig, useQuotaUsage, useRuntimeConfig, useScreenSize, useScreenSizeClass, useSession } from "@nubitio/admin";
|
|
7
|
-
export { ACCENT_PRESETS, type AccentPreset, AdminBottomNavigation, type AdminBottomNavigationItem, type AdminBottomNavigationProps, AdminHeader, type AdminHeaderAction, type AdminHeaderProps, type AdminMenuItem, type AdminMenuSubItem, AdminShell, type AdminShellProps, AdminSidebarMenu, type AdminSidebarMenuProps, type AdminSidebarMenuSelectEvent, type ApiDoc, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, type AppProfile, AppToolbar, type AppToolbarProps, type AuditEntry, type AuditTrailConfig, AuditTrailPanel, type AuditTrailPanelProps, Avatar, type AvatarProps, type BackendAdapter, Badge, type BadgeProps, type BarChartWidgetConfig, type BulkAction, Button, type ButtonProps, Card, type CardProps, type CardViewConfig, type CardViewContext, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, Combobox, type ComboboxLoader, type ComboboxOption, type ComboboxPage, type ComboboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, type CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, type DashboardConfig, type DashboardDataResult, DashboardPage, type DashboardPageProps, type DashboardSection, type DashboardSectionLayout, type DashboardWidget, DataGridView, type DataRecord, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateUtils, type Density, DensityProvider, type DevToolsContextValue, DevToolsProvider, DialogView, type DonutChartWidgetConfig, Drawer, type DrawerProps, type DrawerSide, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, type EnumOption, type EventSubscription, FORM_EVENTS, FeatureGate, type FeatureGateProps, type FeatureHubBanner, FeatureHubLayout, type FeatureHubLayoutProps, type FeatureHubTab, type Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, type FieldResolutionSource, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelProps, type FilterPanelStatusSection, type FormDetailDiagnostics, type FormDetailFieldSource, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HubPanel, type HubPanelProps, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, MultiSelect, type MultiSelectProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, NubitDevToolsPanel, type OnChangeFn, type OpenApiDoc, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, type ParsedQuotaError, type PlanDefinition, PlanPanel, type PlanPanelLabels, type PlanPanelProps, Popover, type PopoverProps, Progress, type ProgressProps, QuotaUsageBanner, type QuotaUsageBannerProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, type ResourceDiagnostics, type ResourceFormDetail, type ResourceGridDetail, type ResourcePermissions, type ResourceRouting, type ResourceRowActions, type ResourceSchemaResolver, type ResourceStore, type ResourceStoreFactory, ResourceStoreProvider, type ResourceStoreProviderProps, type ResourceToolbar, type ResourceToolbarAction, type ResourceToolbarActionVariant, type ResourceToolbarContext, type ResourceToolbarItems, RestAdapter, type RestQueryDialect, type RuntimeConfig, type RuntimeConfigState, SchemaCrudPage, type SchemaCrudPageProps, SchemaProvider, type ScopeTabOption, ScopeTabs, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, type SessionContextValue, type SessionFeatureEntitlement, type SessionProfile, SessionProvider, type SessionProviderConfig, type SessionState, type SessionTenant, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SmartCrudFieldContract, type SmartCrudFieldOperation, type SmartCrudFieldPatch, type SmartCrudHydraFieldContract, type SmartCrudHydraFieldDirective, type SmartCrudManualField, type SmartCrudManualFieldContract, type SmartCrudOperation, SmartCrudPage, type SmartCrudPageProps, SmartCrudRolesProvider, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, Tabs, type TabsItem, type TabsProps, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
|
18
|
+
export { ACCENT_PRESETS, type AccentPreset, AdminBottomNavigation, type AdminBottomNavigationItem, type AdminBottomNavigationProps, AdminHeader, type AdminHeaderAction, type AdminHeaderProps, type AdminMenuItem, type AdminMenuSubItem, AdminShell, type AdminShellProps, AdminSidebarMenu, type AdminSidebarMenuProps, type AdminSidebarMenuSelectEvent, type ApiDoc, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, type AppProfile, AppToolbar, type AppToolbarProps, type AuditEntry, type AuditTrailConfig, AuditTrailPanel, type AuditTrailPanelProps, Avatar, type AvatarProps, type BackendAdapter, Badge, type BadgeProps, type BarChartWidgetConfig, type BulkAction, Button, type ButtonProps, Card, type CardProps, type CardViewConfig, type CardViewContext, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, Combobox, type ComboboxLoader, type ComboboxOption, type ComboboxPage, type ComboboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, type CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, type DashboardConfig, type DashboardDataResult, DashboardPage, type DashboardPageProps, type DashboardSection, type DashboardSectionLayout, type DashboardWidget, DataGridView, type DataRecord, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateUtils, type Density, DensityProvider, type DevToolsContextValue, DevToolsProvider, DialogView, type DonutChartWidgetConfig, Drawer, type DrawerProps, type DrawerSide, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, type EnumOption, type EventSubscription, FORM_EVENTS, FeatureGate, type FeatureGateProps, type FeatureHubBanner, FeatureHubLayout, type FeatureHubLayoutProps, type FeatureHubTab, type Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, type FieldResolutionSource, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelProps, type FilterPanelStatusSection, type FormDetailDiagnostics, type FormDetailFieldSource, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HubPanel, type HubPanelProps, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, MultiSelect, type MultiSelectProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, NubitDevToolsPanel, type OnChangeFn, type OpenApiDoc, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, type ParsedQuotaError, type PlanDefinition, PlanPanel, type PlanPanelLabels, type PlanPanelProps, Popover, type PopoverProps, Progress, type ProgressProps, QuotaUsageBanner, type QuotaUsageBannerProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, type ResourceDiagnostics, type ResourceFormDetail, type ResourceGridDetail, type ResourcePermissions, type ResourceRouting, type ResourceRowActions, type ResourceSchemaResolver, type ResourceStore, type ResourceStoreFactory, ResourceStoreProvider, type ResourceStoreProviderProps, type ResourceToolbar, type ResourceToolbarAction, type ResourceToolbarActionVariant, type ResourceToolbarContext, type ResourceToolbarItems, RestAdapter, type RestQueryDialect, type RuntimeConfig, type RuntimeConfigState, SchemaCrudPage, type SchemaCrudPageProps, SchemaProvider, type ScopeTabOption, ScopeTabs, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, type SessionContextValue, type SessionFeatureEntitlement, type SessionProfile, SessionProvider, type SessionProviderConfig, type SessionState, type SessionTenant, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SmartCrudFieldContract, type SmartCrudFieldOperation, type SmartCrudFieldPatch, type SmartCrudHydraFieldContract, type SmartCrudHydraFieldDirective, type SmartCrudManualField, type SmartCrudManualFieldContract, type SmartCrudOperation, SmartCrudPage, type SmartCrudPageProps, SmartCrudRolesProvider, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, Tabs, type TabsItem, type TabsProps, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, TreeList, type TreeListColumn, type TreeListModelOptions, type TreeListMoveEvent, type TreeListProps, type TreeListViewConfig, type TreeNode, type TreeNodeId, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @nubitio/react-admin — batteries-included admin stack.
|
|
3
|
+
*
|
|
4
|
+
* Umbrella re-export for fast project bootstrap. Import everything you need
|
|
5
|
+
* for a typical API Platform admin app from this single package:
|
|
6
|
+
*
|
|
7
|
+
* import { CoreProvider, CoreConfigProvider, CrudPage, AdminShell, SchemaProvider } from '@nubitio/react-admin';
|
|
8
|
+
*
|
|
9
|
+
* Peer dependencies: react, react-dom, react-router-dom, @tanstack/react-query,
|
|
10
|
+
* i18next, react-i18next.
|
|
11
|
+
*/
|
|
1
12
|
import { CoreConfig, CoreConfigProvider, CoreConfigProviderProps, CoreHttpClient, CoreHttpClientConfig, CoreProvider, CoreProviderProps, CoreTranslationKeys, DataRecord, DateUtils, EventSubscription, MercureProvider, MercureProviderProps, buildMercureCollectionTopic, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, dispatch, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, initCoreI18n, resolveMercureTopicOrigin, useCoreConfig, useCoreHttpClient, useEvents, useMercureHub, useMercureSubscription } from "@nubitio/core";
|
|
2
|
-
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, CardViewConfig, CardViewContext, ColumnChooserButton, ColumnPreset, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsContextValue, DevToolsProvider, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FieldResolutionSource, FormDetailDiagnostics, FormDetailFieldSource, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceDiagnostics, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SchemaCrudPage, SchemaCrudPageProps, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudPageProps, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
|
-
import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, Combobox, ComboboxLoader, ComboboxOption, ComboboxPage, ComboboxProps, ConfirmDialog, ConfirmDialogProps, ContextMenu, ContextMenuItem, ContextMenuProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Density, DensityProvider, Drawer, DrawerProps, DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, EmptyStateProps, FilterPanel, FilterPanelCategorySection, FilterPanelChipOption, FilterPanelProps, FilterPanelStatusSection, FormField, FormFieldProps, HubPanel, HubPanelProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricLayout, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, MultiSelect, MultiSelectProps, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SearchableAppDropdown, SearchableAppDropdownProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, StatCard, StatCardProps, Tabs, TabsItem, TabsProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
|
|
13
|
+
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, CardViewConfig, CardViewContext, ColumnChooserButton, ColumnPreset, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsContextValue, DevToolsProvider, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FieldResolutionSource, FormDetailDiagnostics, FormDetailFieldSource, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceDiagnostics, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SchemaCrudPage, SchemaCrudPageProps, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudPageProps, SmartCrudRolesProvider, ToolbarSelect, TreeListViewConfig, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
14
|
+
import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, Combobox, ComboboxLoader, ComboboxOption, ComboboxPage, ComboboxProps, ConfirmDialog, ConfirmDialogProps, ContextMenu, ContextMenuItem, ContextMenuProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Density, DensityProvider, Drawer, DrawerProps, DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, EmptyStateProps, FilterPanel, FilterPanelCategorySection, FilterPanelChipOption, FilterPanelProps, FilterPanelStatusSection, FormField, FormFieldProps, HubPanel, HubPanelProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricLayout, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, MultiSelect, MultiSelectProps, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SearchableAppDropdown, SearchableAppDropdownProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, StatCard, StatCardProps, Tabs, TabsItem, TabsProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, TreeList, TreeListColumn, TreeListModelOptions, TreeListMoveEvent, TreeListProps, TreeNode, TreeNodeId, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
|
|
4
15
|
import { ApiDoc, HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, OpenApiDoc, RemoteDataSourceOptions, RemoteFilterDescriptor, RemoteLoadOptions, RemoteSortDescriptor, SchemaProvider, UseSchemaContextResult, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
5
16
|
import { BarChartWidgetConfig, DashboardConfig, DashboardDataResult, DashboardPage, DashboardPageProps, DashboardSection, DashboardSectionLayout, DashboardWidget, DonutChartWidgetConfig, StatIconTone, StatWidgetConfig, TableColumnConfig, TableViewAllConfig, TableWidgetConfig, TrendConfig, ValueFormat, areaChartWidget, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, lineChartWidget, progressWidget, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
6
17
|
import { AdminBottomNavigation, AdminBottomNavigationItem, AdminBottomNavigationProps, AdminHeader, AdminHeaderAction, AdminHeaderProps, AdminMenuItem, AdminMenuSubItem, AdminShell, AdminShellProps, AdminSidebarMenu, AdminSidebarMenuProps, AdminSidebarMenuSelectEvent, AppProfile, CreateNubitAppConfig, FeatureGate, FeatureGateProps, FeatureHubBanner, FeatureHubLayout, FeatureHubLayoutProps, FeatureHubTab, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, NubitDevToolsPanel, ParsedQuotaError, PlanDefinition, PlanPanel, PlanPanelLabels, PlanPanelProps, QuotaUsageBanner, QuotaUsageBannerProps, RegisterField, RegisterFieldType, RegisterPage, RegisterPageProps, RegisterSelectOption, RuntimeConfig, RuntimeConfigState, SessionContextValue, SessionFeatureEntitlement, SessionProfile, SessionProvider, SessionProviderConfig, SessionState, SessionTenant, StaticSessionProvider, ToastHost, ToastHostProps, ToastItem, UseQuotaUsageOptions, UseRuntimeConfigOptions, createNubitApp, filterMenuByRoles, hasAnyRole, parseQuotaError, quotaErrorToastMessage, quotaUsageAboveGrid, useAppRuntime, useFeature, useFeatureConfig, useQuotaUsage, useRuntimeConfig, useScreenSize, useScreenSizeClass, useSession } from "@nubitio/admin";
|
|
7
|
-
export { ACCENT_PRESETS, type AccentPreset, AdminBottomNavigation, type AdminBottomNavigationItem, type AdminBottomNavigationProps, AdminHeader, type AdminHeaderAction, type AdminHeaderProps, type AdminMenuItem, type AdminMenuSubItem, AdminShell, type AdminShellProps, AdminSidebarMenu, type AdminSidebarMenuProps, type AdminSidebarMenuSelectEvent, type ApiDoc, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, type AppProfile, AppToolbar, type AppToolbarProps, type AuditEntry, type AuditTrailConfig, AuditTrailPanel, type AuditTrailPanelProps, Avatar, type AvatarProps, type BackendAdapter, Badge, type BadgeProps, type BarChartWidgetConfig, type BulkAction, Button, type ButtonProps, Card, type CardProps, type CardViewConfig, type CardViewContext, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, Combobox, type ComboboxLoader, type ComboboxOption, type ComboboxPage, type ComboboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, type CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, type DashboardConfig, type DashboardDataResult, DashboardPage, type DashboardPageProps, type DashboardSection, type DashboardSectionLayout, type DashboardWidget, DataGridView, type DataRecord, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateUtils, type Density, DensityProvider, type DevToolsContextValue, DevToolsProvider, DialogView, type DonutChartWidgetConfig, Drawer, type DrawerProps, type DrawerSide, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, type EnumOption, type EventSubscription, FORM_EVENTS, FeatureGate, type FeatureGateProps, type FeatureHubBanner, FeatureHubLayout, type FeatureHubLayoutProps, type FeatureHubTab, type Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, type FieldResolutionSource, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelProps, type FilterPanelStatusSection, type FormDetailDiagnostics, type FormDetailFieldSource, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HubPanel, type HubPanelProps, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, MultiSelect, type MultiSelectProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, NubitDevToolsPanel, type OnChangeFn, type OpenApiDoc, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, type ParsedQuotaError, type PlanDefinition, PlanPanel, type PlanPanelLabels, type PlanPanelProps, Popover, type PopoverProps, Progress, type ProgressProps, QuotaUsageBanner, type QuotaUsageBannerProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, type ResourceDiagnostics, type ResourceFormDetail, type ResourceGridDetail, type ResourcePermissions, type ResourceRouting, type ResourceRowActions, type ResourceSchemaResolver, type ResourceStore, type ResourceStoreFactory, ResourceStoreProvider, type ResourceStoreProviderProps, type ResourceToolbar, type ResourceToolbarAction, type ResourceToolbarActionVariant, type ResourceToolbarContext, type ResourceToolbarItems, RestAdapter, type RestQueryDialect, type RuntimeConfig, type RuntimeConfigState, SchemaCrudPage, type SchemaCrudPageProps, SchemaProvider, type ScopeTabOption, ScopeTabs, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, type SessionContextValue, type SessionFeatureEntitlement, type SessionProfile, SessionProvider, type SessionProviderConfig, type SessionState, type SessionTenant, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SmartCrudFieldContract, type SmartCrudFieldOperation, type SmartCrudFieldPatch, type SmartCrudHydraFieldContract, type SmartCrudHydraFieldDirective, type SmartCrudManualField, type SmartCrudManualFieldContract, type SmartCrudOperation, SmartCrudPage, type SmartCrudPageProps, SmartCrudRolesProvider, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, Tabs, type TabsItem, type TabsProps, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
|
18
|
+
export { ACCENT_PRESETS, type AccentPreset, AdminBottomNavigation, type AdminBottomNavigationItem, type AdminBottomNavigationProps, AdminHeader, type AdminHeaderAction, type AdminHeaderProps, type AdminMenuItem, type AdminMenuSubItem, AdminShell, type AdminShellProps, AdminSidebarMenu, type AdminSidebarMenuProps, type AdminSidebarMenuSelectEvent, type ApiDoc, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, type AppProfile, AppToolbar, type AppToolbarProps, type AuditEntry, type AuditTrailConfig, AuditTrailPanel, type AuditTrailPanelProps, Avatar, type AvatarProps, type BackendAdapter, Badge, type BadgeProps, type BarChartWidgetConfig, type BulkAction, Button, type ButtonProps, Card, type CardProps, type CardViewConfig, type CardViewContext, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, Combobox, type ComboboxLoader, type ComboboxOption, type ComboboxPage, type ComboboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, type CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, type DashboardConfig, type DashboardDataResult, DashboardPage, type DashboardPageProps, type DashboardSection, type DashboardSectionLayout, type DashboardWidget, DataGridView, type DataRecord, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateUtils, type Density, DensityProvider, type DevToolsContextValue, DevToolsProvider, DialogView, type DonutChartWidgetConfig, Drawer, type DrawerProps, type DrawerSide, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, type EnumOption, type EventSubscription, FORM_EVENTS, FeatureGate, type FeatureGateProps, type FeatureHubBanner, FeatureHubLayout, type FeatureHubLayoutProps, type FeatureHubTab, type Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, type FieldResolutionSource, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelProps, type FilterPanelStatusSection, type FormDetailDiagnostics, type FormDetailFieldSource, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HubPanel, type HubPanelProps, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, MultiSelect, type MultiSelectProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, NubitDevToolsPanel, type OnChangeFn, type OpenApiDoc, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, type ParsedQuotaError, type PlanDefinition, PlanPanel, type PlanPanelLabels, type PlanPanelProps, Popover, type PopoverProps, Progress, type ProgressProps, QuotaUsageBanner, type QuotaUsageBannerProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, type ResourceDiagnostics, type ResourceFormDetail, type ResourceGridDetail, type ResourcePermissions, type ResourceRouting, type ResourceRowActions, type ResourceSchemaResolver, type ResourceStore, type ResourceStoreFactory, ResourceStoreProvider, type ResourceStoreProviderProps, type ResourceToolbar, type ResourceToolbarAction, type ResourceToolbarActionVariant, type ResourceToolbarContext, type ResourceToolbarItems, RestAdapter, type RestQueryDialect, type RuntimeConfig, type RuntimeConfigState, SchemaCrudPage, type SchemaCrudPageProps, SchemaProvider, type ScopeTabOption, ScopeTabs, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, type SessionContextValue, type SessionFeatureEntitlement, type SessionProfile, SessionProvider, type SessionProviderConfig, type SessionState, type SessionTenant, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SmartCrudFieldContract, type SmartCrudFieldOperation, type SmartCrudFieldPatch, type SmartCrudHydraFieldContract, type SmartCrudHydraFieldDirective, type SmartCrudManualField, type SmartCrudManualFieldContract, type SmartCrudOperation, SmartCrudPage, type SmartCrudPageProps, SmartCrudRolesProvider, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, Tabs, type TabsItem, type TabsProps, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, TreeList, type TreeListColumn, type TreeListModelOptions, type TreeListMoveEvent, type TreeListProps, type TreeListViewConfig, type TreeNode, type TreeNodeId, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CoreConfigProvider, CoreProvider, DateUtils, MercureProvider, buildMercureCollectionTopic, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, dispatch, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, initCoreI18n, resolveMercureTopicOrigin, useCoreConfig, useCoreHttpClient, useEvents, useMercureHub, useMercureSubscription } from "@nubitio/core";
|
|
2
2
|
import { AuditTrailPanel, ColumnChooserButton, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsProvider, DialogView, DrawerView, FORM_EVENTS, FieldBuilder, FormView, HydraAdapter, ResourceStoreProvider, RestAdapter, SchemaCrudPage, SmartCrudPage, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
|
-
import { ACCENT_PRESETS, AppDialog, AppDropdown, AppToolbar, Avatar, Badge, Button, Card, Checkbox, Chip, CollapsibleSection, Combobox, ConfirmDialog, ContextMenu, DatePicker, DateRangePicker, DensityProvider, Drawer, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FilterPanel, FormField, HubPanel, IconButton, KpiMetricRow, MultiSelect, OperationCardGrid, Popover, Progress, RadioGroup, ScopeTabs, SearchableAppDropdown, SegmentedControl, SelectField, SettingsPanel, Skeleton, Spinner, StatCard, Tabs, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, TimePicker, Timeline, TimelineItem, Toggle, Tooltip, TooltipProvider, UiStringsProvider, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
|
|
3
|
+
import { ACCENT_PRESETS, AppDialog, AppDropdown, AppToolbar, Avatar, Badge, Button, Card, Checkbox, Chip, CollapsibleSection, Combobox, ConfirmDialog, ContextMenu, DatePicker, DateRangePicker, DensityProvider, Drawer, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FilterPanel, FormField, HubPanel, IconButton, KpiMetricRow, MultiSelect, OperationCardGrid, Popover, Progress, RadioGroup, ScopeTabs, SearchableAppDropdown, SegmentedControl, SelectField, SettingsPanel, Skeleton, Spinner, StatCard, Tabs, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, TimePicker, Timeline, TimelineItem, Toggle, Tooltip, TooltipProvider, TreeList, UiStringsProvider, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
|
|
4
4
|
import { HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, SchemaProvider, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
5
5
|
import { DashboardPage, areaChartWidget, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, lineChartWidget, progressWidget, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
6
6
|
import { AdminBottomNavigation, AdminHeader, AdminShell, AdminSidebarMenu, FeatureGate, FeatureHubLayout, LoginPage, NubitDevToolsPanel, PlanPanel, QuotaUsageBanner, RegisterPage, SessionProvider, StaticSessionProvider, ToastHost, createNubitApp, filterMenuByRoles, hasAnyRole, parseQuotaError, quotaErrorToastMessage, quotaUsageAboveGrid, useAppRuntime, useFeature, useFeatureConfig, useQuotaUsage, useRuntimeConfig, useScreenSize, useScreenSizeClass, useSession } from "@nubitio/admin";
|
|
7
|
-
export { ACCENT_PRESETS, AdminBottomNavigation, AdminHeader, AdminShell, AdminSidebarMenu, AppDialog, AppDropdown, AppToolbar, AuditTrailPanel, Avatar, Badge, Button, Card, Checkbox, Chip, CollapsibleSection, ColumnChooserButton, Combobox, ConfirmDialog, ContextMenu, CoreConfigProvider, CoreProvider, CrudPage, DATA_GRID_EVENTS, DashboardPage, DataGridView, DatePicker, DateRangePicker, DateUtils, DensityProvider, DevToolsProvider, DialogView, Drawer, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FORM_EVENTS, FeatureGate, FeatureHubLayout, FieldBuilder, FilterPanel, FormField, FormView, HubPanel, HydraAdapter, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, KpiMetricRow, LoginPage, MercureProvider, MultiSelect, NubitDevToolsPanel, OperationCardGrid, PlanPanel, Popover, Progress, QuotaUsageBanner, RadioGroup, RegisterPage, ResourceStoreProvider, RestAdapter, SchemaCrudPage, SchemaProvider, ScopeTabs, SearchableAppDropdown, SegmentedControl, SelectField, SessionProvider, SettingsPanel, Skeleton, SmartCrudPage, SmartCrudRolesProvider, Spinner, StatCard, StaticSessionProvider, Tabs, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, TimePicker, Timeline, TimelineItem, ToastHost, Toggle, ToolbarSelect, Tooltip, TooltipProvider, UiStringsProvider, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
|
7
|
+
export { ACCENT_PRESETS, AdminBottomNavigation, AdminHeader, AdminShell, AdminSidebarMenu, AppDialog, AppDropdown, AppToolbar, AuditTrailPanel, Avatar, Badge, Button, Card, Checkbox, Chip, CollapsibleSection, ColumnChooserButton, Combobox, ConfirmDialog, ContextMenu, CoreConfigProvider, CoreProvider, CrudPage, DATA_GRID_EVENTS, DashboardPage, DataGridView, DatePicker, DateRangePicker, DateUtils, DensityProvider, DevToolsProvider, DialogView, Drawer, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FORM_EVENTS, FeatureGate, FeatureHubLayout, FieldBuilder, FilterPanel, FormField, FormView, HubPanel, HydraAdapter, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, KpiMetricRow, LoginPage, MercureProvider, MultiSelect, NubitDevToolsPanel, OperationCardGrid, PlanPanel, Popover, Progress, QuotaUsageBanner, RadioGroup, RegisterPage, ResourceStoreProvider, RestAdapter, SchemaCrudPage, SchemaProvider, ScopeTabs, SearchableAppDropdown, SegmentedControl, SelectField, SessionProvider, SettingsPanel, Skeleton, SmartCrudPage, SmartCrudRolesProvider, Spinner, StatCard, StaticSessionProvider, Tabs, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, TimePicker, Timeline, TimelineItem, ToastHost, Toggle, ToolbarSelect, Tooltip, TooltipProvider, TreeList, UiStringsProvider, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/style.css
CHANGED
|
@@ -4768,6 +4768,156 @@ html[data-density=compact] .nb-drawer__footer {
|
|
|
4768
4768
|
.nb-time-picker__segment[data-type=literal] {
|
|
4769
4769
|
padding: 0;
|
|
4770
4770
|
}
|
|
4771
|
+
.nb-tree-list {
|
|
4772
|
+
background: var(--surface-1);
|
|
4773
|
+
border: 1px solid var(--border-color);
|
|
4774
|
+
border-radius: var(--radius-lg);
|
|
4775
|
+
color: var(--text-primary);
|
|
4776
|
+
display: flex;
|
|
4777
|
+
flex-direction: column;
|
|
4778
|
+
min-height: 0;
|
|
4779
|
+
overflow: hidden;
|
|
4780
|
+
}
|
|
4781
|
+
.nb-tree-list__toolbar {
|
|
4782
|
+
align-items: center;
|
|
4783
|
+
border-bottom: 1px solid var(--border-color);
|
|
4784
|
+
display: flex;
|
|
4785
|
+
gap: var(--space-2);
|
|
4786
|
+
padding: var(--space-2) var(--space-3);
|
|
4787
|
+
}
|
|
4788
|
+
.nb-tree-list__filter {
|
|
4789
|
+
flex: 1;
|
|
4790
|
+
min-width: 0;
|
|
4791
|
+
}
|
|
4792
|
+
.nb-tree-list__filter input {
|
|
4793
|
+
background: var(--surface-1);
|
|
4794
|
+
border: 1px solid var(--border-color);
|
|
4795
|
+
border-radius: var(--radius-md);
|
|
4796
|
+
color: var(--text-primary);
|
|
4797
|
+
min-height: 36px;
|
|
4798
|
+
padding: 0 var(--space-3);
|
|
4799
|
+
width: 100%;
|
|
4800
|
+
}
|
|
4801
|
+
.nb-tree-list__clear-filter, .nb-tree-list__retry {
|
|
4802
|
+
background: transparent;
|
|
4803
|
+
border: 0;
|
|
4804
|
+
color: var(--accent-color);
|
|
4805
|
+
cursor: pointer;
|
|
4806
|
+
font: inherit;
|
|
4807
|
+
min-height: 32px;
|
|
4808
|
+
padding: 0 var(--space-2);
|
|
4809
|
+
}
|
|
4810
|
+
.nb-tree-list__scroll {
|
|
4811
|
+
min-width: 0;
|
|
4812
|
+
overflow: auto;
|
|
4813
|
+
}
|
|
4814
|
+
.nb-tree-list__table {
|
|
4815
|
+
border-collapse: separate;
|
|
4816
|
+
border-spacing: 0;
|
|
4817
|
+
min-width: 100%;
|
|
4818
|
+
width: max-content;
|
|
4819
|
+
}
|
|
4820
|
+
.nb-tree-list__table th {
|
|
4821
|
+
background: var(--surface-2);
|
|
4822
|
+
border-bottom: 1px solid var(--border-color);
|
|
4823
|
+
color: var(--text-secondary);
|
|
4824
|
+
font-size: var(--font-size-sm);
|
|
4825
|
+
font-weight: var(--font-weight-semibold);
|
|
4826
|
+
height: 40px;
|
|
4827
|
+
padding: 0 var(--space-3);
|
|
4828
|
+
position: sticky;
|
|
4829
|
+
text-align: start;
|
|
4830
|
+
top: 0;
|
|
4831
|
+
white-space: nowrap;
|
|
4832
|
+
z-index: 1;
|
|
4833
|
+
}
|
|
4834
|
+
.nb-tree-list__table td {
|
|
4835
|
+
border-bottom: 1px solid var(--border-subtle, var(--border-color));
|
|
4836
|
+
min-height: 40px;
|
|
4837
|
+
padding: var(--space-2) var(--space-3);
|
|
4838
|
+
white-space: nowrap;
|
|
4839
|
+
}
|
|
4840
|
+
.nb-tree-list__table tbody tr {
|
|
4841
|
+
outline: none;
|
|
4842
|
+
}
|
|
4843
|
+
.nb-tree-list__table tbody tr:hover {
|
|
4844
|
+
background: var(--surface-hover, var(--surface-2));
|
|
4845
|
+
}
|
|
4846
|
+
.nb-tree-list__table tbody tr:focus-visible {
|
|
4847
|
+
box-shadow: inset 0 0 0 2px var(--accent-color);
|
|
4848
|
+
}
|
|
4849
|
+
.nb-tree-list__table tbody tr[aria-selected=true] {
|
|
4850
|
+
background: color-mix(in srgb, var(--accent-color) 9%, var(--surface-1));
|
|
4851
|
+
}
|
|
4852
|
+
.nb-tree-list__selection-cell {
|
|
4853
|
+
text-align: center !important;
|
|
4854
|
+
width: 40px;
|
|
4855
|
+
}
|
|
4856
|
+
.nb-tree-list__sort {
|
|
4857
|
+
align-items: center;
|
|
4858
|
+
background: transparent;
|
|
4859
|
+
border: 0;
|
|
4860
|
+
color: inherit;
|
|
4861
|
+
cursor: pointer;
|
|
4862
|
+
display: inline-flex;
|
|
4863
|
+
font: inherit;
|
|
4864
|
+
gap: var(--space-2);
|
|
4865
|
+
min-height: 36px;
|
|
4866
|
+
padding: 0;
|
|
4867
|
+
}
|
|
4868
|
+
.nb-tree-list__indent {
|
|
4869
|
+
align-items: center;
|
|
4870
|
+
display: inline-flex;
|
|
4871
|
+
margin-inline-end: var(--space-2);
|
|
4872
|
+
padding-inline-start: calc(var(--nb-tree-depth, 0) * 22px);
|
|
4873
|
+
vertical-align: middle;
|
|
4874
|
+
}
|
|
4875
|
+
.nb-tree-list__spacer {
|
|
4876
|
+
display: inline-block;
|
|
4877
|
+
height: 28px;
|
|
4878
|
+
width: 28px;
|
|
4879
|
+
}
|
|
4880
|
+
.nb-tree-list__align--center {
|
|
4881
|
+
text-align: center !important;
|
|
4882
|
+
}
|
|
4883
|
+
.nb-tree-list__align--end {
|
|
4884
|
+
text-align: end !important;
|
|
4885
|
+
}
|
|
4886
|
+
.nb-tree-list__actions-cell {
|
|
4887
|
+
text-align: end;
|
|
4888
|
+
width: 48px;
|
|
4889
|
+
}
|
|
4890
|
+
.nb-tree-list__empty, .nb-tree-list__loading, .nb-tree-list__error {
|
|
4891
|
+
color: var(--text-secondary);
|
|
4892
|
+
padding: var(--space-5);
|
|
4893
|
+
}
|
|
4894
|
+
.nb-tree-list__error {
|
|
4895
|
+
color: var(--status-danger-text, var(--error-color));
|
|
4896
|
+
}
|
|
4897
|
+
.nb-tree-list__sr-only {
|
|
4898
|
+
clip: rect(0, 0, 0, 0);
|
|
4899
|
+
clip-path: inset(50%);
|
|
4900
|
+
height: 1px;
|
|
4901
|
+
overflow: hidden;
|
|
4902
|
+
position: absolute;
|
|
4903
|
+
white-space: nowrap;
|
|
4904
|
+
width: 1px;
|
|
4905
|
+
}
|
|
4906
|
+
.nb-tree-list--compact .nb-tree-list__table td {
|
|
4907
|
+
padding-bottom: 2px;
|
|
4908
|
+
padding-top: 2px;
|
|
4909
|
+
}
|
|
4910
|
+
.nb-tree-list--comfortable .nb-tree-list__table td {
|
|
4911
|
+
padding-bottom: var(--space-3);
|
|
4912
|
+
padding-top: var(--space-3);
|
|
4913
|
+
}
|
|
4914
|
+
|
|
4915
|
+
@media (max-width: 640px) {
|
|
4916
|
+
.nb-tree-list__table th,
|
|
4917
|
+
.nb-tree-list__table td {
|
|
4918
|
+
padding-inline: var(--space-2);
|
|
4919
|
+
}
|
|
4920
|
+
}
|
|
4771
4921
|
|
|
4772
4922
|
/* crud/dist/style.css */
|
|
4773
4923
|
.nb-crud-dialog-root {
|
|
@@ -6548,6 +6698,30 @@ html[data-density=compact] .nb-datagrid .nb-badge {
|
|
|
6548
6698
|
border: 0;
|
|
6549
6699
|
}
|
|
6550
6700
|
}
|
|
6701
|
+
.nb-datagrid--cards-compact .nb-datagrid__cards {
|
|
6702
|
+
gap: var(--space-2);
|
|
6703
|
+
}
|
|
6704
|
+
.nb-datagrid--cards-compact .nb-datagrid__card-body,
|
|
6705
|
+
.nb-datagrid--cards-compact .nb-datagrid__card--skeleton {
|
|
6706
|
+
gap: var(--space-2);
|
|
6707
|
+
padding: var(--space-2);
|
|
6708
|
+
}
|
|
6709
|
+
.nb-datagrid--cards-compact .nb-datagrid__card--media .nb-datagrid__card-body {
|
|
6710
|
+
padding: 0;
|
|
6711
|
+
}
|
|
6712
|
+
.nb-datagrid--cards-compact .nb-datagrid__card--media .nb-datagrid__card-copy {
|
|
6713
|
+
padding: var(--space-2);
|
|
6714
|
+
}
|
|
6715
|
+
.nb-datagrid--cards-compact .nb-datagrid__card-media {
|
|
6716
|
+
height: 96px;
|
|
6717
|
+
}
|
|
6718
|
+
@media (min-width: 768px) {
|
|
6719
|
+
.nb-datagrid--cards-compact .nb-datagrid__cards {
|
|
6720
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
|
|
6721
|
+
padding: var(--space-2);
|
|
6722
|
+
}
|
|
6723
|
+
}
|
|
6724
|
+
|
|
6551
6725
|
.nb-datagrid__card-title {
|
|
6552
6726
|
color: var(--text-primary);
|
|
6553
6727
|
font-size: var(--font-size-sm);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubitio/react-admin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Batteries-included admin stack: core runtime, CRUD, Hydra adapter, and AdminShell.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,22 +50,22 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@nubitio/admin": "^
|
|
54
|
-
"@nubitio/
|
|
55
|
-
"@nubitio/
|
|
56
|
-
"@nubitio/
|
|
57
|
-
"@nubitio/
|
|
58
|
-
"@nubitio/ui": "^
|
|
53
|
+
"@nubitio/admin": "^2.0.0",
|
|
54
|
+
"@nubitio/core": "^2.0.0",
|
|
55
|
+
"@nubitio/dashboard": "^2.0.0",
|
|
56
|
+
"@nubitio/crud": "^2.0.0",
|
|
57
|
+
"@nubitio/hydra": "^2.0.0",
|
|
58
|
+
"@nubitio/ui": "^2.0.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@tanstack/react-query": "^5.0.0",
|
|
62
|
-
"i18next": "^23.0.0",
|
|
62
|
+
"i18next": "^23.0.0 || ^27.0.0",
|
|
63
63
|
"react": "^18.2.0 || ^19.0.0",
|
|
64
64
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
65
|
-
"react-i18next": "^14.0.0",
|
|
65
|
+
"react-i18next": "^14.0.0 || ^15.0.0 || ^18.0.0",
|
|
66
66
|
"react-router-dom": "^6.0.0 || ^7.0.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"react-router-dom": "^
|
|
69
|
+
"react-router-dom": "^7.18.6"
|
|
70
70
|
}
|
|
71
71
|
}
|