@infuro/cms-core 1.0.21 → 1.0.23
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/admin.cjs +2373 -1536
- package/dist/admin.cjs.map +1 -1
- package/dist/admin.d.cts +13 -8
- package/dist/admin.d.ts +13 -8
- package/dist/admin.js +2367 -1532
- package/dist/admin.js.map +1 -1
- package/dist/api.cjs +165 -21
- package/dist/api.cjs.map +1 -1
- package/dist/api.js +166 -22
- package/dist/api.js.map +1 -1
- package/dist/index.cjs +166 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +167 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/admin.d.cts
CHANGED
|
@@ -126,13 +126,16 @@ declare function AdminCRUD({ title, apiEndpoint, columns, addEditPageUrl, custom
|
|
|
126
126
|
manageUserGroups?: boolean;
|
|
127
127
|
}): react_jsx_runtime.JSX.Element;
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
isOpen:
|
|
131
|
-
onClose:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
129
|
+
type CreateEditFormProps = {
|
|
130
|
+
isOpen: boolean;
|
|
131
|
+
onClose: () => void;
|
|
132
|
+
/** Called only after a successful POST/PUT so parents can refetch lists without reloading on cancel. */
|
|
133
|
+
onSaveSuccess?: () => void;
|
|
134
|
+
apiEndpoint: string;
|
|
135
|
+
columns: any[];
|
|
136
|
+
existingData?: Record<string, unknown> | null;
|
|
137
|
+
};
|
|
138
|
+
declare function CreateEditForm({ isOpen, onClose, onSaveSuccess, apiEndpoint, columns, existingData, }: CreateEditFormProps): react_jsx_runtime.JSX.Element | null;
|
|
136
139
|
|
|
137
140
|
declare function FormBuilder({ formId }: {
|
|
138
141
|
formId?: string;
|
|
@@ -246,6 +249,8 @@ declare function AdminPageResolver({ slug }: {
|
|
|
246
249
|
|
|
247
250
|
declare function SettingsPage(): react_jsx_runtime.JSX.Element;
|
|
248
251
|
|
|
252
|
+
declare function AdminProfilePage(): react_jsx_runtime.JSX.Element | null;
|
|
253
|
+
|
|
249
254
|
declare function LayoutSettingsPage(): react_jsx_runtime.JSX.Element;
|
|
250
255
|
|
|
251
256
|
interface PageBuilderPageProps {
|
|
@@ -296,4 +301,4 @@ declare function CmsProviders({ children }: {
|
|
|
296
301
|
children: React.ReactNode;
|
|
297
302
|
}): react_jsx_runtime.JSX.Element;
|
|
298
303
|
|
|
299
|
-
export { AdminCRUD, AdminConfigContext, DashboardPage as AdminDashboardPage, ForgotPasswordPage as AdminForgotPasswordPage, AdminHeader, InvitePage as AdminInvitePage, AdminLayout, type AdminLayoutProps, AdminPageResolver, ResetPasswordPage as AdminResetPasswordPage, SettingsPage as AdminSettingsPage, AdminShell, AdminSidebar, SigninPage as AdminSignInPage, AnalyticsCard, AnalyticsChart, AnalyticsExclusion, BlogEditor as BlogEditorPage, BrandEditPage, CategoryAutocomplete, CmsProviders, CollectionEditPage, ComponentSettings, CreateEditForm, type CustomCrudColumn, type CustomCrudConfig, type CustomNavItem, type CustomNavSection, DailyUserChart, DetailPageHeader, type DetailPageHeaderMenuItem, DetailPageLayout, FormBuilder, GeographicMap, JoditRichText, LayoutSettingsPage, NavbarEditor, PageBuilderPage, type PluginDescriptor, ProductEditPage, STORE_CRUD_CONFIGS, TagAutocomplete, type ThemeRegistryItem, UserAutocomplete, AdminLayout as default };
|
|
304
|
+
export { AdminCRUD, AdminConfigContext, DashboardPage as AdminDashboardPage, ForgotPasswordPage as AdminForgotPasswordPage, AdminHeader, InvitePage as AdminInvitePage, AdminLayout, type AdminLayoutProps, AdminPageResolver, AdminProfilePage, ResetPasswordPage as AdminResetPasswordPage, SettingsPage as AdminSettingsPage, AdminShell, AdminSidebar, SigninPage as AdminSignInPage, AnalyticsCard, AnalyticsChart, AnalyticsExclusion, BlogEditor as BlogEditorPage, BrandEditPage, CategoryAutocomplete, CmsProviders, CollectionEditPage, ComponentSettings, CreateEditForm, type CustomCrudColumn, type CustomCrudConfig, type CustomNavItem, type CustomNavSection, DailyUserChart, DetailPageHeader, type DetailPageHeaderMenuItem, DetailPageLayout, FormBuilder, GeographicMap, JoditRichText, LayoutSettingsPage, NavbarEditor, PageBuilderPage, type PluginDescriptor, ProductEditPage, STORE_CRUD_CONFIGS, TagAutocomplete, type ThemeRegistryItem, UserAutocomplete, AdminLayout as default };
|
package/dist/admin.d.ts
CHANGED
|
@@ -126,13 +126,16 @@ declare function AdminCRUD({ title, apiEndpoint, columns, addEditPageUrl, custom
|
|
|
126
126
|
manageUserGroups?: boolean;
|
|
127
127
|
}): react_jsx_runtime.JSX.Element;
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
isOpen:
|
|
131
|
-
onClose:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
129
|
+
type CreateEditFormProps = {
|
|
130
|
+
isOpen: boolean;
|
|
131
|
+
onClose: () => void;
|
|
132
|
+
/** Called only after a successful POST/PUT so parents can refetch lists without reloading on cancel. */
|
|
133
|
+
onSaveSuccess?: () => void;
|
|
134
|
+
apiEndpoint: string;
|
|
135
|
+
columns: any[];
|
|
136
|
+
existingData?: Record<string, unknown> | null;
|
|
137
|
+
};
|
|
138
|
+
declare function CreateEditForm({ isOpen, onClose, onSaveSuccess, apiEndpoint, columns, existingData, }: CreateEditFormProps): react_jsx_runtime.JSX.Element | null;
|
|
136
139
|
|
|
137
140
|
declare function FormBuilder({ formId }: {
|
|
138
141
|
formId?: string;
|
|
@@ -246,6 +249,8 @@ declare function AdminPageResolver({ slug }: {
|
|
|
246
249
|
|
|
247
250
|
declare function SettingsPage(): react_jsx_runtime.JSX.Element;
|
|
248
251
|
|
|
252
|
+
declare function AdminProfilePage(): react_jsx_runtime.JSX.Element | null;
|
|
253
|
+
|
|
249
254
|
declare function LayoutSettingsPage(): react_jsx_runtime.JSX.Element;
|
|
250
255
|
|
|
251
256
|
interface PageBuilderPageProps {
|
|
@@ -296,4 +301,4 @@ declare function CmsProviders({ children }: {
|
|
|
296
301
|
children: React.ReactNode;
|
|
297
302
|
}): react_jsx_runtime.JSX.Element;
|
|
298
303
|
|
|
299
|
-
export { AdminCRUD, AdminConfigContext, DashboardPage as AdminDashboardPage, ForgotPasswordPage as AdminForgotPasswordPage, AdminHeader, InvitePage as AdminInvitePage, AdminLayout, type AdminLayoutProps, AdminPageResolver, ResetPasswordPage as AdminResetPasswordPage, SettingsPage as AdminSettingsPage, AdminShell, AdminSidebar, SigninPage as AdminSignInPage, AnalyticsCard, AnalyticsChart, AnalyticsExclusion, BlogEditor as BlogEditorPage, BrandEditPage, CategoryAutocomplete, CmsProviders, CollectionEditPage, ComponentSettings, CreateEditForm, type CustomCrudColumn, type CustomCrudConfig, type CustomNavItem, type CustomNavSection, DailyUserChart, DetailPageHeader, type DetailPageHeaderMenuItem, DetailPageLayout, FormBuilder, GeographicMap, JoditRichText, LayoutSettingsPage, NavbarEditor, PageBuilderPage, type PluginDescriptor, ProductEditPage, STORE_CRUD_CONFIGS, TagAutocomplete, type ThemeRegistryItem, UserAutocomplete, AdminLayout as default };
|
|
304
|
+
export { AdminCRUD, AdminConfigContext, DashboardPage as AdminDashboardPage, ForgotPasswordPage as AdminForgotPasswordPage, AdminHeader, InvitePage as AdminInvitePage, AdminLayout, type AdminLayoutProps, AdminPageResolver, AdminProfilePage, ResetPasswordPage as AdminResetPasswordPage, SettingsPage as AdminSettingsPage, AdminShell, AdminSidebar, SigninPage as AdminSignInPage, AnalyticsCard, AnalyticsChart, AnalyticsExclusion, BlogEditor as BlogEditorPage, BrandEditPage, CategoryAutocomplete, CmsProviders, CollectionEditPage, ComponentSettings, CreateEditForm, type CustomCrudColumn, type CustomCrudConfig, type CustomNavItem, type CustomNavSection, DailyUserChart, DetailPageHeader, type DetailPageHeaderMenuItem, DetailPageLayout, FormBuilder, GeographicMap, JoditRichText, LayoutSettingsPage, NavbarEditor, PageBuilderPage, type PluginDescriptor, ProductEditPage, STORE_CRUD_CONFIGS, TagAutocomplete, type ThemeRegistryItem, UserAutocomplete, AdminLayout as default };
|