@nubitio/react-admin 0.5.15 → 0.5.19
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/README.md +1 -1
- package/dist/index.cjs +91 -0
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +4 -3
- package/dist/style.css +577 -484
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @nubitio/react-admin
|
|
2
2
|
|
|
3
|
-
Batteries-included admin stack for API Platform / Hydra backends. Umbrella package that re-exports [`@nubitio/core`](https://www.npmjs.com/package/@nubitio/core), [`@nubitio/ui`](https://www.npmjs.com/package/@nubitio/ui), [`@nubitio/admin`](https://www.npmjs.com/package/@nubitio/admin), [`@nubitio/crud`](https://www.npmjs.com/package/@nubitio/crud),
|
|
3
|
+
Batteries-included admin stack for API Platform / Hydra backends. Umbrella package that re-exports [`@nubitio/core`](https://www.npmjs.com/package/@nubitio/core), [`@nubitio/ui`](https://www.npmjs.com/package/@nubitio/ui), [`@nubitio/admin`](https://www.npmjs.com/package/@nubitio/admin), [`@nubitio/crud`](https://www.npmjs.com/package/@nubitio/crud), [`@nubitio/hydra`](https://www.npmjs.com/package/@nubitio/hydra), and [`@nubitio/dashboard`](https://www.npmjs.com/package/@nubitio/dashboard) from a single install.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
package/dist/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@ let _nubitio_core = require("@nubitio/core");
|
|
|
3
3
|
let _nubitio_crud = require("@nubitio/crud");
|
|
4
4
|
let _nubitio_hydra = require("@nubitio/hydra");
|
|
5
5
|
let _nubitio_ui = require("@nubitio/ui");
|
|
6
|
+
let _nubitio_dashboard = require("@nubitio/dashboard");
|
|
6
7
|
let _nubitio_admin = require("@nubitio/admin");
|
|
7
8
|
Object.defineProperty(exports, "ACCENT_PRESETS", {
|
|
8
9
|
enumerable: true,
|
|
@@ -130,6 +131,12 @@ Object.defineProperty(exports, "DATA_GRID_EVENTS", {
|
|
|
130
131
|
return _nubitio_crud.DATA_GRID_EVENTS;
|
|
131
132
|
}
|
|
132
133
|
});
|
|
134
|
+
Object.defineProperty(exports, "DashboardPage", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function() {
|
|
137
|
+
return _nubitio_dashboard.DashboardPage;
|
|
138
|
+
}
|
|
139
|
+
});
|
|
133
140
|
Object.defineProperty(exports, "DataGridView", {
|
|
134
141
|
enumerable: true,
|
|
135
142
|
get: function() {
|
|
@@ -394,6 +401,12 @@ Object.defineProperty(exports, "UiStringsProvider", {
|
|
|
394
401
|
return _nubitio_ui.UiStringsProvider;
|
|
395
402
|
}
|
|
396
403
|
});
|
|
404
|
+
Object.defineProperty(exports, "barChartWidget", {
|
|
405
|
+
enumerable: true,
|
|
406
|
+
get: function() {
|
|
407
|
+
return _nubitio_dashboard.barChartWidget;
|
|
408
|
+
}
|
|
409
|
+
});
|
|
397
410
|
Object.defineProperty(exports, "buildFields", {
|
|
398
411
|
enumerable: true,
|
|
399
412
|
get: function() {
|
|
@@ -448,6 +461,12 @@ Object.defineProperty(exports, "createCrudEvents", {
|
|
|
448
461
|
return _nubitio_crud.createCrudEvents;
|
|
449
462
|
}
|
|
450
463
|
});
|
|
464
|
+
Object.defineProperty(exports, "createNubitApp", {
|
|
465
|
+
enumerable: true,
|
|
466
|
+
get: function() {
|
|
467
|
+
return _nubitio_admin.createNubitApp;
|
|
468
|
+
}
|
|
469
|
+
});
|
|
451
470
|
Object.defineProperty(exports, "createRestResourceStore", {
|
|
452
471
|
enumerable: true,
|
|
453
472
|
get: function() {
|
|
@@ -478,6 +497,12 @@ Object.defineProperty(exports, "datetimeField", {
|
|
|
478
497
|
return _nubitio_crud.datetimeField;
|
|
479
498
|
}
|
|
480
499
|
});
|
|
500
|
+
Object.defineProperty(exports, "defineDashboard", {
|
|
501
|
+
enumerable: true,
|
|
502
|
+
get: function() {
|
|
503
|
+
return _nubitio_dashboard.defineDashboard;
|
|
504
|
+
}
|
|
505
|
+
});
|
|
481
506
|
Object.defineProperty(exports, "defineFieldContract", {
|
|
482
507
|
enumerable: true,
|
|
483
508
|
get: function() {
|
|
@@ -502,6 +527,18 @@ Object.defineProperty(exports, "dispatch", {
|
|
|
502
527
|
return _nubitio_core.dispatch;
|
|
503
528
|
}
|
|
504
529
|
});
|
|
530
|
+
Object.defineProperty(exports, "donutChartWidget", {
|
|
531
|
+
enumerable: true,
|
|
532
|
+
get: function() {
|
|
533
|
+
return _nubitio_dashboard.donutChartWidget;
|
|
534
|
+
}
|
|
535
|
+
});
|
|
536
|
+
Object.defineProperty(exports, "embeddedLinesUrl", {
|
|
537
|
+
enumerable: true,
|
|
538
|
+
get: function() {
|
|
539
|
+
return _nubitio_crud.embeddedLinesUrl;
|
|
540
|
+
}
|
|
541
|
+
});
|
|
505
542
|
Object.defineProperty(exports, "entityField", {
|
|
506
543
|
enumerable: true,
|
|
507
544
|
get: function() {
|
|
@@ -520,6 +557,18 @@ Object.defineProperty(exports, "fileField", {
|
|
|
520
557
|
return _nubitio_crud.fileField;
|
|
521
558
|
}
|
|
522
559
|
});
|
|
560
|
+
Object.defineProperty(exports, "filterMenuByRoles", {
|
|
561
|
+
enumerable: true,
|
|
562
|
+
get: function() {
|
|
563
|
+
return _nubitio_admin.filterMenuByRoles;
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
Object.defineProperty(exports, "formatDashboardValue", {
|
|
567
|
+
enumerable: true,
|
|
568
|
+
get: function() {
|
|
569
|
+
return _nubitio_dashboard.formatDashboardValue;
|
|
570
|
+
}
|
|
571
|
+
});
|
|
523
572
|
Object.defineProperty(exports, "getCoreApiBaseUrl", {
|
|
524
573
|
enumerable: true,
|
|
525
574
|
get: function() {
|
|
@@ -550,6 +599,12 @@ Object.defineProperty(exports, "getMercureTopicOrigin", {
|
|
|
550
599
|
return _nubitio_core.getMercureTopicOrigin;
|
|
551
600
|
}
|
|
552
601
|
});
|
|
602
|
+
Object.defineProperty(exports, "hasAnyRole", {
|
|
603
|
+
enumerable: true,
|
|
604
|
+
get: function() {
|
|
605
|
+
return _nubitio_admin.hasAnyRole;
|
|
606
|
+
}
|
|
607
|
+
});
|
|
553
608
|
Object.defineProperty(exports, "identityField", {
|
|
554
609
|
enumerable: true,
|
|
555
610
|
get: function() {
|
|
@@ -604,12 +659,24 @@ Object.defineProperty(exports, "passwordField", {
|
|
|
604
659
|
return _nubitio_crud.passwordField;
|
|
605
660
|
}
|
|
606
661
|
});
|
|
662
|
+
Object.defineProperty(exports, "resolveArray", {
|
|
663
|
+
enumerable: true,
|
|
664
|
+
get: function() {
|
|
665
|
+
return _nubitio_dashboard.resolveArray;
|
|
666
|
+
}
|
|
667
|
+
});
|
|
607
668
|
Object.defineProperty(exports, "resolveMercureTopicOrigin", {
|
|
608
669
|
enumerable: true,
|
|
609
670
|
get: function() {
|
|
610
671
|
return _nubitio_core.resolveMercureTopicOrigin;
|
|
611
672
|
}
|
|
612
673
|
});
|
|
674
|
+
Object.defineProperty(exports, "resolvePath", {
|
|
675
|
+
enumerable: true,
|
|
676
|
+
get: function() {
|
|
677
|
+
return _nubitio_dashboard.resolvePath;
|
|
678
|
+
}
|
|
679
|
+
});
|
|
613
680
|
Object.defineProperty(exports, "resolveRangeTag", {
|
|
614
681
|
enumerable: true,
|
|
615
682
|
get: function() {
|
|
@@ -622,12 +689,24 @@ Object.defineProperty(exports, "selectField", {
|
|
|
622
689
|
return _nubitio_crud.selectField;
|
|
623
690
|
}
|
|
624
691
|
});
|
|
692
|
+
Object.defineProperty(exports, "statWidget", {
|
|
693
|
+
enumerable: true,
|
|
694
|
+
get: function() {
|
|
695
|
+
return _nubitio_dashboard.statWidget;
|
|
696
|
+
}
|
|
697
|
+
});
|
|
625
698
|
Object.defineProperty(exports, "switchField", {
|
|
626
699
|
enumerable: true,
|
|
627
700
|
get: function() {
|
|
628
701
|
return _nubitio_crud.switchField;
|
|
629
702
|
}
|
|
630
703
|
});
|
|
704
|
+
Object.defineProperty(exports, "tableWidget", {
|
|
705
|
+
enumerable: true,
|
|
706
|
+
get: function() {
|
|
707
|
+
return _nubitio_dashboard.tableWidget;
|
|
708
|
+
}
|
|
709
|
+
});
|
|
631
710
|
Object.defineProperty(exports, "textField", {
|
|
632
711
|
enumerable: true,
|
|
633
712
|
get: function() {
|
|
@@ -670,6 +749,12 @@ Object.defineProperty(exports, "useCoreHttpClient", {
|
|
|
670
749
|
return _nubitio_core.useCoreHttpClient;
|
|
671
750
|
}
|
|
672
751
|
});
|
|
752
|
+
Object.defineProperty(exports, "useDashboardData", {
|
|
753
|
+
enumerable: true,
|
|
754
|
+
get: function() {
|
|
755
|
+
return _nubitio_dashboard.useDashboardData;
|
|
756
|
+
}
|
|
757
|
+
});
|
|
673
758
|
Object.defineProperty(exports, "useDensity", {
|
|
674
759
|
enumerable: true,
|
|
675
760
|
get: function() {
|
|
@@ -706,6 +791,12 @@ Object.defineProperty(exports, "useResourceSchema", {
|
|
|
706
791
|
return _nubitio_hydra.useResourceSchema;
|
|
707
792
|
}
|
|
708
793
|
});
|
|
794
|
+
Object.defineProperty(exports, "useRuntimeConfig", {
|
|
795
|
+
enumerable: true,
|
|
796
|
+
get: function() {
|
|
797
|
+
return _nubitio_admin.useRuntimeConfig;
|
|
798
|
+
}
|
|
799
|
+
});
|
|
709
800
|
Object.defineProperty(exports, "useSchemaContext", {
|
|
710
801
|
enumerable: true,
|
|
711
802
|
get: function() {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +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, 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, 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
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";
|
|
5
|
-
import {
|
|
6
|
-
|
|
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, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, RuntimeConfig, RuntimeConfigState, SessionContextValue, SessionFeatureEntitlement, SessionProfile, SessionProvider, SessionProviderConfig, SessionState, SessionTenant, ToastHost, ToastHostProps, ToastItem, UseRuntimeConfigOptions, createNubitApp, filterMenuByRoles, hasAnyRole, useAppRuntime, 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, 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 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, 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, useHydraMetadata, useMercureHub, useMercureSubscription, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +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, 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, 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
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";
|
|
5
|
-
import {
|
|
6
|
-
|
|
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, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, RuntimeConfig, RuntimeConfigState, SessionContextValue, SessionFeatureEntitlement, SessionProfile, SessionProvider, SessionProviderConfig, SessionState, SessionTenant, ToastHost, ToastHostProps, ToastItem, UseRuntimeConfigOptions, createNubitApp, filterMenuByRoles, hasAnyRole, useAppRuntime, 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, 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 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, 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, useHydraMetadata, useMercureHub, useMercureSubscription, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +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
|
-
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, entityField, enumField, fileField, identityField, imageField, noneField, numberField, passwordField, selectField, switchField, textField, textareaField, useColumnPreset, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
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
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";
|
|
5
|
-
import {
|
|
6
|
-
|
|
5
|
+
import { DashboardPage, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
6
|
+
import { AdminHeader, AdminShell, AdminSidebarMenu, LoginPage, SessionProvider, ToastHost, createNubitApp, filterMenuByRoles, hasAnyRole, useAppRuntime, 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, FieldBuilder, FormField, FormView, HydraAdapter, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, LoginPage, MercureProvider, Popover, ResourceStoreProvider, RestAdapter, SchemaProvider, SelectField, SessionProvider, SettingsPanel, Skeleton, SmartCrudPage, SmartCrudRolesProvider, StatCard, 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, useHydraMetadata, useMercureHub, useMercureSubscription, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|