@nubitio/react-admin 0.11.4 → 1.0.0-rc.1
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 +18 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/style.css +7 -7
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -491,6 +491,12 @@ Object.defineProperty(exports, "UiStringsProvider", {
|
|
|
491
491
|
return _nubitio_ui.UiStringsProvider;
|
|
492
492
|
}
|
|
493
493
|
});
|
|
494
|
+
Object.defineProperty(exports, "areaChartWidget", {
|
|
495
|
+
enumerable: true,
|
|
496
|
+
get: function() {
|
|
497
|
+
return _nubitio_dashboard.areaChartWidget;
|
|
498
|
+
}
|
|
499
|
+
});
|
|
494
500
|
Object.defineProperty(exports, "barChartWidget", {
|
|
495
501
|
enumerable: true,
|
|
496
502
|
get: function() {
|
|
@@ -719,6 +725,12 @@ Object.defineProperty(exports, "isDevEnvironment", {
|
|
|
719
725
|
return _nubitio_crud.isDevEnvironment;
|
|
720
726
|
}
|
|
721
727
|
});
|
|
728
|
+
Object.defineProperty(exports, "lineChartWidget", {
|
|
729
|
+
enumerable: true,
|
|
730
|
+
get: function() {
|
|
731
|
+
return _nubitio_dashboard.lineChartWidget;
|
|
732
|
+
}
|
|
733
|
+
});
|
|
722
734
|
Object.defineProperty(exports, "mapHydraSchemaToFields", {
|
|
723
735
|
enumerable: true,
|
|
724
736
|
get: function() {
|
|
@@ -761,6 +773,12 @@ Object.defineProperty(exports, "passwordField", {
|
|
|
761
773
|
return _nubitio_crud.passwordField;
|
|
762
774
|
}
|
|
763
775
|
});
|
|
776
|
+
Object.defineProperty(exports, "progressWidget", {
|
|
777
|
+
enumerable: true,
|
|
778
|
+
get: function() {
|
|
779
|
+
return _nubitio_dashboard.progressWidget;
|
|
780
|
+
}
|
|
781
|
+
});
|
|
764
782
|
Object.defineProperty(exports, "quotaErrorToastMessage", {
|
|
765
783
|
enumerable: true,
|
|
766
784
|
get: function() {
|
package/dist/index.d.cts
CHANGED
|
@@ -2,6 +2,6 @@ import { CoreConfig, CoreConfigProvider, CoreConfigProviderProps, CoreHttpClient
|
|
|
2
2
|
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, 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, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
3
|
import { ApiDoc, HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, OpenApiDoc, RemoteDataSourceOptions, RemoteFilterDescriptor, RemoteLoadOptions, RemoteSortDescriptor, SchemaProvider, UseSchemaContextResult, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
4
4
|
import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, 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, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, StatCard, StatCardProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useTheme, useUiStrings } from "@nubitio/ui";
|
|
5
|
-
import { BarChartWidgetConfig, DashboardConfig, DashboardDataResult, DashboardPage, DashboardPageProps, DashboardSection, DashboardSectionLayout, DashboardWidget, DonutChartWidgetConfig, StatIconTone, StatWidgetConfig, TableColumnConfig, TableViewAllConfig, TableWidgetConfig, TrendConfig, ValueFormat, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
5
|
+
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
6
|
import { 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, 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, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, 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, 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, QuotaUsageBanner, type QuotaUsageBannerProps, 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, 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, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
|
7
|
+
export { ACCENT_PRESETS, type AccentPreset, 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, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, 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, 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, QuotaUsageBanner, type QuotaUsageBannerProps, 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, 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, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, 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, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/index.d.mts
CHANGED
|
@@ -2,6 +2,6 @@ import { CoreConfig, CoreConfigProvider, CoreConfigProviderProps, CoreHttpClient
|
|
|
2
2
|
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, 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, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
3
|
import { ApiDoc, HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, OpenApiDoc, RemoteDataSourceOptions, RemoteFilterDescriptor, RemoteLoadOptions, RemoteSortDescriptor, SchemaProvider, UseSchemaContextResult, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
4
4
|
import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, 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, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, StatCard, StatCardProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useTheme, useUiStrings } from "@nubitio/ui";
|
|
5
|
-
import { BarChartWidgetConfig, DashboardConfig, DashboardDataResult, DashboardPage, DashboardPageProps, DashboardSection, DashboardSectionLayout, DashboardWidget, DonutChartWidgetConfig, StatIconTone, StatWidgetConfig, TableColumnConfig, TableViewAllConfig, TableWidgetConfig, TrendConfig, ValueFormat, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
5
|
+
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
6
|
import { 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, 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, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, 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, 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, QuotaUsageBanner, type QuotaUsageBannerProps, 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, 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, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
|
7
|
+
export { ACCENT_PRESETS, type AccentPreset, 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, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, 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, 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, QuotaUsageBanner, type QuotaUsageBannerProps, 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, 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, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, 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, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/index.mjs
CHANGED
|
@@ -2,6 +2,6 @@ import { CoreConfigProvider, CoreProvider, DateUtils, MercureProvider, buildMerc
|
|
|
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, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
3
|
import { HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, SchemaProvider, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
4
4
|
import { ACCENT_PRESETS, AppDialog, AppDropdown, AppToolbar, Avatar, Badge, Button, Card, Chip, CollapsibleSection, ConfirmDialog, ContextMenu, DatePicker, DateRangePicker, DensityProvider, Drawer, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FilterPanel, FormField, HubPanel, IconButton, KpiMetricRow, OperationCardGrid, Popover, ScopeTabs, SegmentedControl, SelectField, SettingsPanel, Skeleton, StatCard, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, Timeline, TimelineItem, Toggle, UiStringsProvider, useAccentColor, useDensity, useTheme, useUiStrings } from "@nubitio/ui";
|
|
5
|
-
import { DashboardPage, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
5
|
+
import { DashboardPage, areaChartWidget, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, lineChartWidget, progressWidget, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
6
6
|
import { 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, AdminHeader, AdminShell, AdminSidebarMenu, AppDialog, AppDropdown, AppToolbar, AuditTrailPanel, Avatar, Badge, Button, Card, Chip, CollapsibleSection, ColumnChooserButton, 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, NubitDevToolsPanel, OperationCardGrid, PlanPanel, Popover, QuotaUsageBanner, RegisterPage, ResourceStoreProvider, RestAdapter, SchemaCrudPage, SchemaProvider, ScopeTabs, SegmentedControl, SelectField, SessionProvider, SettingsPanel, Skeleton, SmartCrudPage, SmartCrudRolesProvider, StatCard, StaticSessionProvider, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, Timeline, TimelineItem, ToastHost, Toggle, ToolbarSelect, UiStringsProvider, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
|
7
|
+
export { ACCENT_PRESETS, AdminHeader, AdminShell, AdminSidebarMenu, AppDialog, AppDropdown, AppToolbar, AuditTrailPanel, Avatar, Badge, Button, Card, Chip, CollapsibleSection, ColumnChooserButton, 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, NubitDevToolsPanel, OperationCardGrid, PlanPanel, Popover, QuotaUsageBanner, RegisterPage, ResourceStoreProvider, RestAdapter, SchemaCrudPage, SchemaProvider, ScopeTabs, SegmentedControl, SelectField, SessionProvider, SettingsPanel, Skeleton, SmartCrudPage, SmartCrudRolesProvider, StatCard, StaticSessionProvider, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, Timeline, TimelineItem, ToastHost, Toggle, ToolbarSelect, 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, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/style.css
CHANGED
|
@@ -227,7 +227,7 @@ samp {
|
|
|
227
227
|
justify-content: center;
|
|
228
228
|
border-radius: 50%;
|
|
229
229
|
background: oklch(50% 0.14 calc(var(--avatar-hue, 218) * 1deg));
|
|
230
|
-
color:
|
|
230
|
+
color: #ffffff;
|
|
231
231
|
font-family: var(--font-family-sans);
|
|
232
232
|
font-weight: var(--font-weight-bold);
|
|
233
233
|
letter-spacing: -0.02em;
|
|
@@ -1366,7 +1366,7 @@ html[data-density=compact] .nb-dialog__footer {
|
|
|
1366
1366
|
.nb-badge--primary {
|
|
1367
1367
|
background: color-mix(in srgb, var(--accent-color) 15%, transparent);
|
|
1368
1368
|
border-color: color-mix(in srgb, var(--accent-color) 30%, transparent);
|
|
1369
|
-
color: var(--accent-
|
|
1369
|
+
color: var(--accent-on-subtle);
|
|
1370
1370
|
}
|
|
1371
1371
|
.nb-badge--success {
|
|
1372
1372
|
background: var(--status-success-bg, color-mix(in srgb, var(--success-color) 15%, transparent));
|
|
@@ -1386,7 +1386,7 @@ html[data-density=compact] .nb-dialog__footer {
|
|
|
1386
1386
|
.nb-badge--info {
|
|
1387
1387
|
background: var(--status-info-bg, color-mix(in srgb, var(--info-color) 15%, transparent));
|
|
1388
1388
|
border-color: var(--status-info-border, color-mix(in srgb, var(--info-color) 30%, transparent));
|
|
1389
|
-
color: var(--status-info-text, var(--
|
|
1389
|
+
color: var(--status-info-text, var(--accent-on-subtle));
|
|
1390
1390
|
}
|
|
1391
1391
|
.nb-badge--secondary {
|
|
1392
1392
|
background: var(--surface-2);
|
|
@@ -1655,7 +1655,7 @@ html[data-density=compact] .nb-badge--sm {
|
|
|
1655
1655
|
padding: 0.5rem 1rem;
|
|
1656
1656
|
font-size: var(--font-size-md);
|
|
1657
1657
|
}
|
|
1658
|
-
.nb-chip:hover:not(.is-active):not([aria-
|
|
1658
|
+
.nb-chip:hover:not(.is-active):not([aria-checked=true]):not(:disabled) {
|
|
1659
1659
|
background: var(--surface-2);
|
|
1660
1660
|
border-color: color-mix(in srgb, var(--accent-color) 28%, transparent);
|
|
1661
1661
|
}
|
|
@@ -1663,12 +1663,12 @@ html[data-density=compact] .nb-badge--sm {
|
|
|
1663
1663
|
outline: 2px solid var(--focus-ring-color);
|
|
1664
1664
|
outline-offset: 2px;
|
|
1665
1665
|
}
|
|
1666
|
-
.nb-chip.is-active, .nb-chip[aria-
|
|
1666
|
+
.nb-chip.is-active, .nb-chip[aria-checked=true] {
|
|
1667
1667
|
border-color: color-mix(in srgb, var(--accent-color) 28%, transparent);
|
|
1668
1668
|
background: color-mix(in srgb, var(--accent-color) 12%, transparent);
|
|
1669
|
-
color: var(--accent-
|
|
1669
|
+
color: var(--accent-on-subtle);
|
|
1670
1670
|
}
|
|
1671
|
-
.nb-chip.is-active .nb-chip__count, .nb-chip[aria-
|
|
1671
|
+
.nb-chip.is-active .nb-chip__count, .nb-chip[aria-checked=true] .nb-chip__count {
|
|
1672
1672
|
background: color-mix(in srgb, var(--accent-color) 14%, transparent);
|
|
1673
1673
|
}
|
|
1674
1674
|
.nb-chip:disabled, .nb-chip[aria-disabled=true] {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubitio/react-admin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-rc.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Batteries-included admin stack: core runtime, CRUD, Hydra adapter, and AdminShell.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@nubitio/
|
|
54
|
-
"@nubitio/
|
|
55
|
-
"@nubitio/
|
|
56
|
-
"@nubitio/
|
|
57
|
-
"@nubitio/
|
|
58
|
-
"@nubitio/
|
|
53
|
+
"@nubitio/hydra": "^1.0.0-rc.1",
|
|
54
|
+
"@nubitio/core": "^1.0.0-rc.1",
|
|
55
|
+
"@nubitio/admin": "^1.0.0-rc.1",
|
|
56
|
+
"@nubitio/ui": "^1.0.0-rc.1",
|
|
57
|
+
"@nubitio/crud": "^1.0.0-rc.1",
|
|
58
|
+
"@nubitio/dashboard": "^1.0.0-rc.1"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@tanstack/react-query": "^5.0.0",
|
|
@@ -63,6 +63,6 @@
|
|
|
63
63
|
"react": "^18.2.0 || ^19.0.0",
|
|
64
64
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
65
65
|
"react-i18next": "^14.0.0",
|
|
66
|
-
"react-router-dom": "^6.0.0"
|
|
66
|
+
"react-router-dom": "^6.0.0 || ^7.0.0"
|
|
67
67
|
}
|
|
68
68
|
}
|