@nubitio/react-admin 0.5.23 → 0.5.26
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 +42 -0
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +3 -3
- package/dist/style.css +336 -0
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -263,6 +263,12 @@ Object.defineProperty(exports, "IconButton", {
|
|
|
263
263
|
return _nubitio_ui.IconButton;
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
|
+
Object.defineProperty(exports, "KpiMetricRow", {
|
|
267
|
+
enumerable: true,
|
|
268
|
+
get: function() {
|
|
269
|
+
return _nubitio_ui.KpiMetricRow;
|
|
270
|
+
}
|
|
271
|
+
});
|
|
266
272
|
Object.defineProperty(exports, "LoginPage", {
|
|
267
273
|
enumerable: true,
|
|
268
274
|
get: function() {
|
|
@@ -275,12 +281,24 @@ Object.defineProperty(exports, "MercureProvider", {
|
|
|
275
281
|
return _nubitio_core.MercureProvider;
|
|
276
282
|
}
|
|
277
283
|
});
|
|
284
|
+
Object.defineProperty(exports, "PlanPanel", {
|
|
285
|
+
enumerable: true,
|
|
286
|
+
get: function() {
|
|
287
|
+
return _nubitio_admin.PlanPanel;
|
|
288
|
+
}
|
|
289
|
+
});
|
|
278
290
|
Object.defineProperty(exports, "Popover", {
|
|
279
291
|
enumerable: true,
|
|
280
292
|
get: function() {
|
|
281
293
|
return _nubitio_ui.Popover;
|
|
282
294
|
}
|
|
283
295
|
});
|
|
296
|
+
Object.defineProperty(exports, "QuotaUsageBanner", {
|
|
297
|
+
enumerable: true,
|
|
298
|
+
get: function() {
|
|
299
|
+
return _nubitio_admin.QuotaUsageBanner;
|
|
300
|
+
}
|
|
301
|
+
});
|
|
284
302
|
Object.defineProperty(exports, "RegisterPage", {
|
|
285
303
|
enumerable: true,
|
|
286
304
|
get: function() {
|
|
@@ -671,12 +689,30 @@ Object.defineProperty(exports, "parseOpenApiDoc", {
|
|
|
671
689
|
return _nubitio_hydra.parseOpenApiDoc;
|
|
672
690
|
}
|
|
673
691
|
});
|
|
692
|
+
Object.defineProperty(exports, "parseQuotaError", {
|
|
693
|
+
enumerable: true,
|
|
694
|
+
get: function() {
|
|
695
|
+
return _nubitio_admin.parseQuotaError;
|
|
696
|
+
}
|
|
697
|
+
});
|
|
674
698
|
Object.defineProperty(exports, "passwordField", {
|
|
675
699
|
enumerable: true,
|
|
676
700
|
get: function() {
|
|
677
701
|
return _nubitio_crud.passwordField;
|
|
678
702
|
}
|
|
679
703
|
});
|
|
704
|
+
Object.defineProperty(exports, "quotaErrorToastMessage", {
|
|
705
|
+
enumerable: true,
|
|
706
|
+
get: function() {
|
|
707
|
+
return _nubitio_admin.quotaErrorToastMessage;
|
|
708
|
+
}
|
|
709
|
+
});
|
|
710
|
+
Object.defineProperty(exports, "quotaUsageAboveGrid", {
|
|
711
|
+
enumerable: true,
|
|
712
|
+
get: function() {
|
|
713
|
+
return _nubitio_admin.quotaUsageAboveGrid;
|
|
714
|
+
}
|
|
715
|
+
});
|
|
680
716
|
Object.defineProperty(exports, "resolveArray", {
|
|
681
717
|
enumerable: true,
|
|
682
718
|
get: function() {
|
|
@@ -815,6 +851,12 @@ Object.defineProperty(exports, "useMercureSubscription", {
|
|
|
815
851
|
return _nubitio_core.useMercureSubscription;
|
|
816
852
|
}
|
|
817
853
|
});
|
|
854
|
+
Object.defineProperty(exports, "useQuotaUsage", {
|
|
855
|
+
enumerable: true,
|
|
856
|
+
get: function() {
|
|
857
|
+
return _nubitio_admin.useQuotaUsage;
|
|
858
|
+
}
|
|
859
|
+
});
|
|
818
860
|
Object.defineProperty(exports, "useResourceSchema", {
|
|
819
861
|
enumerable: true,
|
|
820
862
|
get: function() {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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, ColumnPreset, ColumnPresetSelector, CrudPage, DATA_GRID_EVENTS, DataGridView, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, noneField, numberField, passwordField, selectField, switchField, textField, textareaField, useColumnPreset, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
2
|
+
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, ColumnPreset, ColumnPresetSelector, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, noneField, numberField, passwordField, selectField, switchField, textField, textareaField, useColumnPreset, 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
|
-
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, FormField, FormFieldProps, IconButton, IconButtonProps, Popover, PopoverProps, 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";
|
|
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, FormField, FormFieldProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, Popover, PopoverProps, 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
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";
|
|
6
|
-
import { AdminHeader, AdminHeaderAction, AdminHeaderProps, AdminMenuItem, AdminMenuSubItem, AdminShell, AdminShellProps, AdminSidebarMenu, AdminSidebarMenuProps, AdminSidebarMenuSelectEvent, AppProfile, CreateNubitAppConfig, FeatureGate, FeatureGateProps, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, RegisterField, RegisterFieldType, RegisterPage, RegisterPageProps, RegisterSelectOption, RuntimeConfig, RuntimeConfigState, SessionContextValue, SessionFeatureEntitlement, SessionProfile, SessionProvider, SessionProviderConfig, SessionState, SessionTenant, StaticSessionProvider, ToastHost, ToastHostProps, ToastItem, UseRuntimeConfigOptions, createNubitApp, filterMenuByRoles, hasAnyRole, useAppRuntime, useFeature, useFeatureConfig, 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, type ColumnPreset, ColumnPresetSelector, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, 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, 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 Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, type OnChangeFn, type OpenApiDoc, Popover, type PopoverProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, 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, SchemaProvider, 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, 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 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, passwordField, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnPreset, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
|
6
|
+
import { AdminHeader, AdminHeaderAction, AdminHeaderProps, AdminMenuItem, AdminMenuSubItem, AdminShell, AdminShellProps, AdminSidebarMenu, AdminSidebarMenuProps, AdminSidebarMenuSelectEvent, AppProfile, CreateNubitAppConfig, FeatureGate, FeatureGateProps, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, 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, type ColumnPreset, ColumnPresetSelector, 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, 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 Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, 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, type OnChangeFn, type OpenApiDoc, 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 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, SchemaProvider, 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, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnPreset, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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, ColumnPreset, ColumnPresetSelector, CrudPage, DATA_GRID_EVENTS, DataGridView, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, noneField, numberField, passwordField, selectField, switchField, textField, textareaField, useColumnPreset, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
2
|
+
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, ColumnPreset, ColumnPresetSelector, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, noneField, numberField, passwordField, selectField, switchField, textField, textareaField, useColumnPreset, 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
|
-
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, FormField, FormFieldProps, IconButton, IconButtonProps, Popover, PopoverProps, 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";
|
|
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, FormField, FormFieldProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, Popover, PopoverProps, 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
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";
|
|
6
|
-
import { AdminHeader, AdminHeaderAction, AdminHeaderProps, AdminMenuItem, AdminMenuSubItem, AdminShell, AdminShellProps, AdminSidebarMenu, AdminSidebarMenuProps, AdminSidebarMenuSelectEvent, AppProfile, CreateNubitAppConfig, FeatureGate, FeatureGateProps, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, RegisterField, RegisterFieldType, RegisterPage, RegisterPageProps, RegisterSelectOption, RuntimeConfig, RuntimeConfigState, SessionContextValue, SessionFeatureEntitlement, SessionProfile, SessionProvider, SessionProviderConfig, SessionState, SessionTenant, StaticSessionProvider, ToastHost, ToastHostProps, ToastItem, UseRuntimeConfigOptions, createNubitApp, filterMenuByRoles, hasAnyRole, useAppRuntime, useFeature, useFeatureConfig, 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, type ColumnPreset, ColumnPresetSelector, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, 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, 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 Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, type OnChangeFn, type OpenApiDoc, Popover, type PopoverProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, 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, SchemaProvider, 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, 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 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, passwordField, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnPreset, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
|
6
|
+
import { AdminHeader, AdminHeaderAction, AdminHeaderProps, AdminMenuItem, AdminMenuSubItem, AdminShell, AdminShellProps, AdminSidebarMenu, AdminSidebarMenuProps, AdminSidebarMenuSelectEvent, AppProfile, CreateNubitAppConfig, FeatureGate, FeatureGateProps, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, 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, type ColumnPreset, ColumnPresetSelector, 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, 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 Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, 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, type OnChangeFn, type OpenApiDoc, 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 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, SchemaProvider, 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, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnPreset, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, 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, ColumnPresetSelector, CrudPage, DATA_GRID_EVENTS, DataGridView, DialogView, DrawerView, FORM_EVENTS, FieldBuilder, FormView, HydraAdapter, ResourceStoreProvider, RestAdapter, SmartCrudPage, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, noneField, numberField, passwordField, selectField, switchField, textField, textareaField, useColumnPreset, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
3
|
import { HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, SchemaProvider, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
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, FormField, IconButton, Popover, SelectField, SettingsPanel, Skeleton, StatCard, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, Timeline, TimelineItem, Toggle, UiStringsProvider, useAccentColor, useDensity, useTheme, useUiStrings } from "@nubitio/ui";
|
|
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, FormField, IconButton, KpiMetricRow, Popover, SelectField, SettingsPanel, Skeleton, StatCard, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, Timeline, TimelineItem, Toggle, UiStringsProvider, useAccentColor, useDensity, useTheme, useUiStrings } from "@nubitio/ui";
|
|
5
5
|
import { DashboardPage, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
6
|
-
import { AdminHeader, AdminShell, AdminSidebarMenu, FeatureGate, LoginPage, RegisterPage, SessionProvider, StaticSessionProvider, ToastHost, createNubitApp, filterMenuByRoles, hasAnyRole, useAppRuntime, useFeature, useFeatureConfig, useRuntimeConfig, useScreenSize, useScreenSizeClass, useSession } from "@nubitio/admin";
|
|
7
|
-
export { ACCENT_PRESETS, AdminHeader, AdminShell, AdminSidebarMenu, AppDialog, AppDropdown, AppToolbar, AuditTrailPanel, Avatar, Badge, Button, Card, Chip, CollapsibleSection, ColumnPresetSelector, ConfirmDialog, ContextMenu, CoreConfigProvider, CoreProvider, CrudPage, DATA_GRID_EVENTS, DashboardPage, DataGridView, DatePicker, DateRangePicker, DateUtils, DensityProvider, DialogView, Drawer, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FORM_EVENTS, FeatureGate, FieldBuilder, FormField, FormView, HydraAdapter, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, LoginPage, MercureProvider, Popover, RegisterPage, ResourceStoreProvider, RestAdapter, SchemaProvider, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, passwordField, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnPreset, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
|
6
|
+
import { AdminHeader, AdminShell, AdminSidebarMenu, FeatureGate, LoginPage, 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, ColumnPresetSelector, ConfirmDialog, ContextMenu, CoreConfigProvider, CoreProvider, CrudPage, DATA_GRID_EVENTS, DashboardPage, DataGridView, DatePicker, DateRangePicker, DateUtils, DensityProvider, DialogView, Drawer, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FORM_EVENTS, FeatureGate, FieldBuilder, FormField, FormView, HydraAdapter, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, KpiMetricRow, LoginPage, MercureProvider, PlanPanel, Popover, QuotaUsageBanner, RegisterPage, ResourceStoreProvider, RestAdapter, SchemaProvider, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnPreset, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/style.css
CHANGED
|
@@ -1872,6 +1872,51 @@ html[data-density=compact] .nb-context-menu__item {
|
|
|
1872
1872
|
.nb-stat-card--accented-danger {
|
|
1873
1873
|
border-left: 3px solid var(--error-color);
|
|
1874
1874
|
}
|
|
1875
|
+
.nb-kpi-metric-row {
|
|
1876
|
+
display: grid;
|
|
1877
|
+
gap: var(--space-3);
|
|
1878
|
+
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
1879
|
+
width: 100%;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
.nb-kpi-metric-card {
|
|
1883
|
+
background: var(--surface-1);
|
|
1884
|
+
border: 1px solid var(--border-subtle);
|
|
1885
|
+
border-radius: var(--radius-lg);
|
|
1886
|
+
display: flex;
|
|
1887
|
+
flex-direction: column;
|
|
1888
|
+
gap: var(--space-1);
|
|
1889
|
+
min-width: 0;
|
|
1890
|
+
padding: var(--space-3) var(--space-4);
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
.nb-kpi-metric-card__label {
|
|
1894
|
+
color: var(--text-secondary);
|
|
1895
|
+
font-size: 0.72rem;
|
|
1896
|
+
font-weight: 600;
|
|
1897
|
+
letter-spacing: 0.04em;
|
|
1898
|
+
text-transform: uppercase;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
.nb-kpi-metric-card__value {
|
|
1902
|
+
color: var(--text-primary);
|
|
1903
|
+
font-size: 1.35rem;
|
|
1904
|
+
font-variant-numeric: tabular-nums;
|
|
1905
|
+
font-weight: 700;
|
|
1906
|
+
line-height: 1.2;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
.nb-kpi-metric-card--success .nb-kpi-metric-card__value {
|
|
1910
|
+
color: var(--color-success, #16a34a);
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
.nb-kpi-metric-card--warning .nb-kpi-metric-card__value {
|
|
1914
|
+
color: var(--color-warning, #d97706);
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
.nb-kpi-metric-card--danger .nb-kpi-metric-card__value {
|
|
1918
|
+
color: var(--color-error, #dc2626);
|
|
1919
|
+
}
|
|
1875
1920
|
.nb-collapsible__header {
|
|
1876
1921
|
display: flex;
|
|
1877
1922
|
align-items: stretch;
|
|
@@ -3224,6 +3269,15 @@ html[data-density=compact] .nb-drawer__footer {
|
|
|
3224
3269
|
padding-top: var(--content-padding);
|
|
3225
3270
|
}
|
|
3226
3271
|
|
|
3272
|
+
.nb-datagrid__above-grid {
|
|
3273
|
+
display: flex;
|
|
3274
|
+
flex: 0 0 auto;
|
|
3275
|
+
flex-direction: column;
|
|
3276
|
+
gap: var(--space-3);
|
|
3277
|
+
margin-bottom: var(--space-3);
|
|
3278
|
+
min-width: 0;
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3227
3281
|
.nb-datagrid__toolbar {
|
|
3228
3282
|
align-items: center;
|
|
3229
3283
|
background: var(--surface-1);
|
|
@@ -4898,6 +4952,143 @@ html[data-density=compact] .nb-datagrid .nb-badge {
|
|
|
4898
4952
|
box-shadow: none;
|
|
4899
4953
|
}
|
|
4900
4954
|
}
|
|
4955
|
+
.nb-datagrid__row--editing {
|
|
4956
|
+
background: color-mix(in srgb, var(--accent) 6%, var(--surface-0));
|
|
4957
|
+
}
|
|
4958
|
+
.nb-datagrid__row--editing td {
|
|
4959
|
+
cursor: default;
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4962
|
+
.nb-datagrid__row--saving {
|
|
4963
|
+
opacity: 0.6;
|
|
4964
|
+
pointer-events: none;
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4967
|
+
.nb-datagrid__edit-cell {
|
|
4968
|
+
padding: 3px 4px;
|
|
4969
|
+
vertical-align: middle;
|
|
4970
|
+
}
|
|
4971
|
+
|
|
4972
|
+
.nb-inline-cell {
|
|
4973
|
+
width: 100%;
|
|
4974
|
+
}
|
|
4975
|
+
.nb-inline-cell .nb-inline-control,
|
|
4976
|
+
.nb-inline-cell .nb-inline-control input,
|
|
4977
|
+
.nb-inline-cell .nb-inline-control select,
|
|
4978
|
+
.nb-inline-cell .nb-inline-control textarea {
|
|
4979
|
+
font-size: 13px;
|
|
4980
|
+
height: 30px;
|
|
4981
|
+
min-height: 30px;
|
|
4982
|
+
padding: 0 6px;
|
|
4983
|
+
border-radius: var(--radius-sm);
|
|
4984
|
+
box-sizing: border-box;
|
|
4985
|
+
width: 100%;
|
|
4986
|
+
}
|
|
4987
|
+
.nb-inline-cell .nb-inline-control textarea {
|
|
4988
|
+
height: 56px;
|
|
4989
|
+
padding: 4px 6px;
|
|
4990
|
+
resize: none;
|
|
4991
|
+
}
|
|
4992
|
+
.nb-inline-cell .nb-form-switch,
|
|
4993
|
+
.nb-inline-cell .nb-form-checkbox {
|
|
4994
|
+
margin: 0;
|
|
4995
|
+
}
|
|
4996
|
+
.nb-inline-cell .nb-lookup__trigger {
|
|
4997
|
+
height: 30px;
|
|
4998
|
+
font-size: 13px;
|
|
4999
|
+
}
|
|
5000
|
+
.nb-inline-cell.nb-inline-cell--error .nb-inline-control,
|
|
5001
|
+
.nb-inline-cell.nb-inline-cell--error .nb-inline-control input,
|
|
5002
|
+
.nb-inline-cell.nb-inline-cell--error .nb-inline-control select {
|
|
5003
|
+
border-color: var(--color-danger);
|
|
5004
|
+
}
|
|
5005
|
+
|
|
5006
|
+
.nb-datagrid__inline-actions {
|
|
5007
|
+
display: flex;
|
|
5008
|
+
align-items: center;
|
|
5009
|
+
justify-content: center;
|
|
5010
|
+
gap: 4px;
|
|
5011
|
+
}
|
|
5012
|
+
|
|
5013
|
+
.nb-datagrid__inline-btn {
|
|
5014
|
+
display: inline-flex;
|
|
5015
|
+
align-items: center;
|
|
5016
|
+
justify-content: center;
|
|
5017
|
+
width: 30px;
|
|
5018
|
+
height: 30px;
|
|
5019
|
+
border: 1px solid transparent;
|
|
5020
|
+
border-radius: var(--radius-sm);
|
|
5021
|
+
cursor: pointer;
|
|
5022
|
+
font-size: 15px;
|
|
5023
|
+
transition: background 0.1s, color 0.1s;
|
|
5024
|
+
}
|
|
5025
|
+
.nb-datagrid__inline-btn:disabled {
|
|
5026
|
+
opacity: 0.4;
|
|
5027
|
+
cursor: default;
|
|
5028
|
+
}
|
|
5029
|
+
.nb-datagrid__inline-btn--save {
|
|
5030
|
+
background: var(--accent);
|
|
5031
|
+
color: #fff;
|
|
5032
|
+
}
|
|
5033
|
+
.nb-datagrid__inline-btn--save:hover:not(:disabled) {
|
|
5034
|
+
background: color-mix(in srgb, var(--accent) 85%, #000);
|
|
5035
|
+
}
|
|
5036
|
+
.nb-datagrid__inline-btn--cancel {
|
|
5037
|
+
background: transparent;
|
|
5038
|
+
color: var(--text-secondary);
|
|
5039
|
+
border-color: var(--border-color);
|
|
5040
|
+
}
|
|
5041
|
+
.nb-datagrid__inline-btn--cancel:hover:not(:disabled) {
|
|
5042
|
+
background: var(--surface-2);
|
|
5043
|
+
color: var(--text-primary);
|
|
5044
|
+
}
|
|
5045
|
+
|
|
5046
|
+
.nb-datagrid__batch-bar {
|
|
5047
|
+
display: flex;
|
|
5048
|
+
align-items: center;
|
|
5049
|
+
gap: var(--space-3);
|
|
5050
|
+
padding: 8px 14px;
|
|
5051
|
+
background: color-mix(in srgb, var(--accent) 10%, var(--surface-0));
|
|
5052
|
+
border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
|
|
5053
|
+
font-size: 13px;
|
|
5054
|
+
}
|
|
5055
|
+
|
|
5056
|
+
.nb-datagrid__batch-bar-label {
|
|
5057
|
+
flex: 1;
|
|
5058
|
+
color: var(--text-secondary);
|
|
5059
|
+
}
|
|
5060
|
+
|
|
5061
|
+
.nb-datagrid__batch-bar-actions {
|
|
5062
|
+
display: flex;
|
|
5063
|
+
gap: var(--space-2);
|
|
5064
|
+
}
|
|
5065
|
+
|
|
5066
|
+
.nb-datagrid__batch-bar-btn {
|
|
5067
|
+
height: 30px;
|
|
5068
|
+
padding: 0 14px;
|
|
5069
|
+
border-radius: var(--radius-sm);
|
|
5070
|
+
font-size: 13px;
|
|
5071
|
+
font-weight: 500;
|
|
5072
|
+
cursor: pointer;
|
|
5073
|
+
transition: background 0.1s;
|
|
5074
|
+
}
|
|
5075
|
+
.nb-datagrid__batch-bar-btn--save {
|
|
5076
|
+
background: var(--accent);
|
|
5077
|
+
color: #fff;
|
|
5078
|
+
border: none;
|
|
5079
|
+
}
|
|
5080
|
+
.nb-datagrid__batch-bar-btn--save:hover {
|
|
5081
|
+
background: color-mix(in srgb, var(--accent) 85%, #000);
|
|
5082
|
+
}
|
|
5083
|
+
.nb-datagrid__batch-bar-btn--discard {
|
|
5084
|
+
background: transparent;
|
|
5085
|
+
color: var(--text-secondary);
|
|
5086
|
+
border: 1px solid var(--border-color);
|
|
5087
|
+
}
|
|
5088
|
+
.nb-datagrid__batch-bar-btn--discard:hover {
|
|
5089
|
+
background: var(--surface-2);
|
|
5090
|
+
color: var(--text-primary);
|
|
5091
|
+
}
|
|
4901
5092
|
.nb-form {
|
|
4902
5093
|
color: var(--text-primary);
|
|
4903
5094
|
display: flex;
|
|
@@ -6547,6 +6738,151 @@ html[data-density=compact] .nb-crud-page-shell__footer {
|
|
|
6547
6738
|
opacity: 0;
|
|
6548
6739
|
pointer-events: none;
|
|
6549
6740
|
}
|
|
6741
|
+
.nb-quota-banner {
|
|
6742
|
+
align-items: center;
|
|
6743
|
+
background: color-mix(in srgb, var(--accent-color, #888) 8%, var(--surface-1, transparent));
|
|
6744
|
+
border: 1px solid var(--border-subtle);
|
|
6745
|
+
border-radius: var(--radius-lg);
|
|
6746
|
+
color: var(--text-primary);
|
|
6747
|
+
display: flex;
|
|
6748
|
+
gap: var(--space-3);
|
|
6749
|
+
justify-content: space-between;
|
|
6750
|
+
padding: var(--space-3) var(--space-4);
|
|
6751
|
+
width: 100%;
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6754
|
+
.nb-quota-banner--warn {
|
|
6755
|
+
background: color-mix(in srgb, var(--color-warning, #f59e0b) 10%, var(--surface-1, transparent));
|
|
6756
|
+
border-color: color-mix(in srgb, var(--color-warning, #f59e0b) 45%, var(--border-subtle));
|
|
6757
|
+
}
|
|
6758
|
+
|
|
6759
|
+
.nb-quota-banner--limit {
|
|
6760
|
+
background: color-mix(in srgb, var(--color-error, #dc2626) 8%, var(--surface-1, transparent));
|
|
6761
|
+
border-color: color-mix(in srgb, var(--color-error, #dc2626) 40%, var(--border-subtle));
|
|
6762
|
+
}
|
|
6763
|
+
|
|
6764
|
+
.nb-quota-banner__copy {
|
|
6765
|
+
display: flex;
|
|
6766
|
+
flex-direction: column;
|
|
6767
|
+
gap: 2px;
|
|
6768
|
+
font-size: 0.9rem;
|
|
6769
|
+
}
|
|
6770
|
+
|
|
6771
|
+
.nb-quota-banner__copy span {
|
|
6772
|
+
color: var(--text-secondary);
|
|
6773
|
+
}
|
|
6774
|
+
|
|
6775
|
+
.nb-quota-banner__cta {
|
|
6776
|
+
color: var(--accent-color);
|
|
6777
|
+
flex-shrink: 0;
|
|
6778
|
+
font-weight: 600;
|
|
6779
|
+
text-decoration: none;
|
|
6780
|
+
}
|
|
6781
|
+
|
|
6782
|
+
.nb-quota-banner__cta:hover {
|
|
6783
|
+
text-decoration: underline;
|
|
6784
|
+
}
|
|
6785
|
+
@charset "UTF-8";
|
|
6786
|
+
.nb-plan-panel {
|
|
6787
|
+
display: flex;
|
|
6788
|
+
flex-direction: column;
|
|
6789
|
+
gap: var(--space-4);
|
|
6790
|
+
width: 100%;
|
|
6791
|
+
}
|
|
6792
|
+
|
|
6793
|
+
.nb-plan-panel__header {
|
|
6794
|
+
display: flex;
|
|
6795
|
+
justify-content: space-between;
|
|
6796
|
+
gap: var(--space-3);
|
|
6797
|
+
}
|
|
6798
|
+
|
|
6799
|
+
.nb-plan-panel__title {
|
|
6800
|
+
font-size: 1.15rem;
|
|
6801
|
+
font-weight: 700;
|
|
6802
|
+
margin: 0;
|
|
6803
|
+
}
|
|
6804
|
+
|
|
6805
|
+
.nb-plan-panel__subtitle {
|
|
6806
|
+
color: var(--text-secondary);
|
|
6807
|
+
font-size: 0.9rem;
|
|
6808
|
+
margin: var(--space-1) 0 0;
|
|
6809
|
+
}
|
|
6810
|
+
|
|
6811
|
+
.nb-plan-panel__status {
|
|
6812
|
+
color: var(--text-secondary);
|
|
6813
|
+
font-size: 0.85rem;
|
|
6814
|
+
margin: var(--space-2) 0 0;
|
|
6815
|
+
}
|
|
6816
|
+
|
|
6817
|
+
.nb-plan-panel__grid {
|
|
6818
|
+
display: grid;
|
|
6819
|
+
gap: var(--space-3);
|
|
6820
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
6821
|
+
}
|
|
6822
|
+
|
|
6823
|
+
.nb-plan-card {
|
|
6824
|
+
background: var(--surface-1);
|
|
6825
|
+
border: 1px solid var(--border-subtle);
|
|
6826
|
+
border-radius: var(--radius-lg);
|
|
6827
|
+
display: flex;
|
|
6828
|
+
flex-direction: column;
|
|
6829
|
+
gap: var(--space-3);
|
|
6830
|
+
min-width: 0;
|
|
6831
|
+
padding: var(--space-4);
|
|
6832
|
+
}
|
|
6833
|
+
|
|
6834
|
+
.nb-plan-card--highlighted {
|
|
6835
|
+
border-color: color-mix(in srgb, var(--accent-color) 45%, var(--border-subtle));
|
|
6836
|
+
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-color) 20%, transparent);
|
|
6837
|
+
}
|
|
6838
|
+
|
|
6839
|
+
.nb-plan-card--current {
|
|
6840
|
+
background: color-mix(in srgb, var(--accent-color) 6%, var(--surface-1));
|
|
6841
|
+
}
|
|
6842
|
+
|
|
6843
|
+
.nb-plan-card__head {
|
|
6844
|
+
align-items: flex-start;
|
|
6845
|
+
display: flex;
|
|
6846
|
+
gap: var(--space-2);
|
|
6847
|
+
justify-content: space-between;
|
|
6848
|
+
}
|
|
6849
|
+
|
|
6850
|
+
.nb-plan-card__name {
|
|
6851
|
+
font-size: 1rem;
|
|
6852
|
+
font-weight: 700;
|
|
6853
|
+
margin: 0;
|
|
6854
|
+
}
|
|
6855
|
+
|
|
6856
|
+
.nb-plan-card__price {
|
|
6857
|
+
font-size: 1.35rem;
|
|
6858
|
+
font-variant-numeric: tabular-nums;
|
|
6859
|
+
font-weight: 700;
|
|
6860
|
+
margin: 0;
|
|
6861
|
+
}
|
|
6862
|
+
|
|
6863
|
+
.nb-plan-card__description {
|
|
6864
|
+
color: var(--text-secondary);
|
|
6865
|
+
font-size: 0.85rem;
|
|
6866
|
+
margin: 0;
|
|
6867
|
+
}
|
|
6868
|
+
|
|
6869
|
+
.nb-plan-card__features {
|
|
6870
|
+
color: var(--text-primary);
|
|
6871
|
+
display: flex;
|
|
6872
|
+
flex: 1;
|
|
6873
|
+
flex-direction: column;
|
|
6874
|
+
font-size: 0.85rem;
|
|
6875
|
+
gap: var(--space-1);
|
|
6876
|
+
list-style: none;
|
|
6877
|
+
margin: 0;
|
|
6878
|
+
padding: 0;
|
|
6879
|
+
}
|
|
6880
|
+
|
|
6881
|
+
.nb-plan-card__features li::before {
|
|
6882
|
+
color: var(--accent-color);
|
|
6883
|
+
content: "✓ ";
|
|
6884
|
+
font-weight: 700;
|
|
6885
|
+
}
|
|
6550
6886
|
.nb-toast-host {
|
|
6551
6887
|
position: fixed;
|
|
6552
6888
|
right: 1rem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubitio/react-admin",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.26",
|
|
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/admin": "^0.5.
|
|
54
|
-
"@nubitio/core": "^0.5.
|
|
55
|
-
"@nubitio/
|
|
56
|
-
"@nubitio/
|
|
57
|
-
"@nubitio/
|
|
58
|
-
"@nubitio/ui": "^0.5.
|
|
53
|
+
"@nubitio/admin": "^0.5.26",
|
|
54
|
+
"@nubitio/core": "^0.5.26",
|
|
55
|
+
"@nubitio/hydra": "^0.5.26",
|
|
56
|
+
"@nubitio/crud": "^0.5.26",
|
|
57
|
+
"@nubitio/dashboard": "^0.5.26",
|
|
58
|
+
"@nubitio/ui": "^0.5.26"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@tanstack/react-query": "^5.0.0",
|