@infuro/cms-core 1.0.46 → 1.0.50
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 +30 -16
- package/dist/admin.cjs +4568 -2716
- package/dist/admin.d.cts +18 -4
- package/dist/admin.d.ts +18 -4
- package/dist/admin.js +3475 -1625
- package/dist/api.cjs +38 -39
- package/dist/api.d.cts +9 -3
- package/dist/api.d.ts +9 -3
- package/dist/api.js +6 -7
- package/dist/auth.cjs +84 -51
- package/dist/auth.d.cts +105 -4
- package/dist/auth.d.ts +105 -4
- package/dist/auth.js +4 -3
- package/dist/chunk-2IAXTKQN.cjs +19 -0
- package/dist/chunk-3EOM4V2M.cjs +452 -0
- package/dist/{chunk-X6UQFV4X.cjs → chunk-77NUXO6A.cjs} +14 -12
- package/dist/{chunk-KFFB6EMZ.js → chunk-AYERBA7I.js} +3 -7
- package/dist/chunk-EIZKW2PF.js +13 -0
- package/dist/{chunk-CRYKVJTO.js → chunk-IPDHT2UV.js} +1420 -3
- package/dist/{chunk-UDVLFVEC.cjs → chunk-JCMOOPNX.cjs} +3820 -2907
- package/dist/{chunk-X47PBV4I.js → chunk-JE22VP6S.js} +1 -0
- package/dist/{chunk-DN65KDIA.js → chunk-JIWUVQ6B.js} +14 -13
- package/dist/{chunk-HT5DI3XW.cjs → chunk-KOTXDSQB.cjs} +1 -0
- package/dist/{chunk-UKC3HYXI.js → chunk-LT2WOPKA.js} +3733 -2813
- package/dist/chunk-RK5ETF2I.js +434 -0
- package/dist/{chunk-SPQFNIYJ.cjs → chunk-TJ2MIQUT.cjs} +3 -7
- package/dist/{chunk-TCSGFAWB.cjs → chunk-UUWAUHUW.cjs} +1451 -3
- package/dist/{chunk-57O3HZPG.js → chunk-WRKV6MHB.js} +415 -3
- package/dist/{chunk-FBKDMRQL.cjs → chunk-YV5PK4JW.cjs} +427 -7
- package/dist/cli.cjs +13 -22
- package/dist/cli.js +13 -22
- package/dist/{emit-order-notification-trigger-IVLWKKJL.js → emit-order-notification-trigger-6XX7LSC4.js} +1 -1
- package/dist/{emit-order-notification-trigger-D2N3KFHL.cjs → emit-order-notification-trigger-NASG7ZEO.cjs} +3 -3
- package/dist/{event-order-defaults-EMWBIGL3.cjs → event-order-defaults-DU7V3YND.cjs} +9 -9
- package/dist/{event-order-defaults-SDRNAZHC.js → event-order-defaults-H4RT7NMR.js} +1 -1
- package/dist/hooks.cjs +43 -0
- package/dist/hooks.d.cts +10 -1
- package/dist/hooks.d.ts +10 -1
- package/dist/hooks.js +39 -1
- package/dist/index.cjs +479 -339
- package/dist/index.d.cts +181 -20
- package/dist/index.d.ts +181 -20
- package/dist/index.js +115 -13
- package/dist/migrations/1782200000000-VendorTeamProfiles.ts +233 -0
- package/dist/migrations/1782300000000-AddTypeToOrderNotificationBindings.ts +75 -0
- package/dist/migrations/1782400000000-CreateUserDeviceTokens.ts +36 -0
- package/dist/migrations/1782500000000-AddPushToOrderNotificationBindingsChannelEnum.ts +15 -0
- package/dist/{order-notification-dispatcher-ZJZB2HUN.js → order-notification-dispatcher-3TA4ETYJ.js} +1 -2
- package/dist/{order-notification-dispatcher-SBQAMM5V.cjs → order-notification-dispatcher-ZEAZ5SHV.cjs} +7 -4
- package/dist/{rbac-debug-db-2SGNLANF.js → rbac-debug-db-6EMIVMGF.js} +1 -1
- package/dist/{rbac-debug-db-4Z6A425H.cjs → rbac-debug-db-6PWTLBEL.cjs} +2 -2
- package/dist/theme.cjs +6 -1
- package/dist/theme.d.cts +4 -1
- package/dist/theme.d.ts +4 -1
- package/dist/theme.js +3 -1
- package/package.json +1 -1
- package/src/admin/admin.css +7 -0
- package/dist/chunk-7PMHZRF3.cjs +0 -872
- package/dist/chunk-CQHXW4TR.js +0 -107
- package/dist/chunk-GUSHM5HN.js +0 -862
- package/dist/chunk-NBY4NVTY.cjs +0 -182
- package/dist/chunk-SF2XKMCI.js +0 -171
- package/dist/chunk-XMRMZ6NQ.cjs +0 -109
- package/dist/send-order-placed-emails-B5ZVJT7T.cjs +0 -15
- package/dist/send-order-placed-emails-WPI37KRZ.js +0 -6
package/dist/admin.d.cts
CHANGED
|
@@ -496,6 +496,8 @@ declare function VendorsListPage(): react_jsx_runtime.JSX.Element;
|
|
|
496
496
|
|
|
497
497
|
declare function VendorTeamPage(): react_jsx_runtime.JSX.Element;
|
|
498
498
|
|
|
499
|
+
declare function VendorRolesPage(): react_jsx_runtime.JSX.Element;
|
|
500
|
+
|
|
499
501
|
interface JobSchedulesToolProps {
|
|
500
502
|
inputIdPrefix?: string;
|
|
501
503
|
variant?: 'page' | 'embedded';
|
|
@@ -562,12 +564,24 @@ declare function resolveCategoryRelatedProductLabels(config: Record<string, Cate
|
|
|
562
564
|
}): ResolvedCategoryRelatedProductLabels;
|
|
563
565
|
|
|
564
566
|
/**
|
|
565
|
-
* Theme + toast wrapper for admin
|
|
566
|
-
*
|
|
567
|
-
* Admin is light-only; browser/OS dark preference is ignored.
|
|
567
|
+
* Theme + toast wrapper for webcore admin and application pages.
|
|
568
|
+
* Enforces light-only mode across all pages; browser/OS dark preference is ignored.
|
|
568
569
|
*/
|
|
569
570
|
declare function CmsProviders({ children }: {
|
|
570
571
|
children: React.ReactNode;
|
|
571
572
|
}): react_jsx_runtime.JSX.Element;
|
|
572
573
|
|
|
573
|
-
|
|
574
|
+
/** Component wrapper that forces light mode */
|
|
575
|
+
declare function ForceLightMode(): React$1.ReactElement;
|
|
576
|
+
/** Backward compatibility alias */
|
|
577
|
+
declare const ForceAdminLightMode: typeof ForceLightMode;
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Universally enforce light mode across all websites and admin panels using webcore.
|
|
581
|
+
* Removes `dark` class from <html> and <body> and continuously blocks system/app dark mode.
|
|
582
|
+
*/
|
|
583
|
+
declare function useForceLightMode(): void;
|
|
584
|
+
/** Backward compatibility alias */
|
|
585
|
+
declare const useForceAdminLightMode: typeof useForceLightMode;
|
|
586
|
+
|
|
587
|
+
export { AdminCRUD, AdminConfigContext, DashboardPage as AdminDashboardPage, ForgotPasswordPage as AdminForgotPasswordPage, AdminHeader, InvitePage as AdminInvitePage, AdminLayout, type AdminLayoutProps, type AdminNavItem, AdminPageResolver, AdminProfilePage, ResetPasswordPage as AdminResetPasswordPage, SettingsPage as AdminSettingsPage, AdminShell, AdminSidebar, SigninPage as AdminSignInPage, AnalyticsCard, AnalyticsChart, AnalyticsExclusion, BlogEditor as BlogEditorPage, BlogGeneratorPage, BrandEditPage, CategoryAutocomplete, type CategoryRelatedProductLabels, CmsProviders, CollectionEditPage, ComponentSettings, CreateEditForm, type CustomCrudColumn, type CustomCrudConfig, type CustomNavItem, type CustomNavSection, DEFAULT_ADMIN_NAV, DEFAULT_CATEGORY_RELATED_PRODUCT_LABELS, DailyUserChart, DetailPageHeader, type DetailPageHeaderMenuItem, DetailPageLayout, EventDetailPage, EventEditPage, ForceAdminLightMode, ForceLightMode, FormBuilder, GeographicMap, JobSchedulesTool, JoditRichText, LayoutSettingsPage, NavbarEditor, PageBuilderPage, type PluginDescriptor, ProductEditPage, type ResolvedCategoryRelatedProductLabels, STORE_CRUD_CONFIGS, SchedulesPage, TagAutocomplete, type ThemeRegistryItem, UserAutocomplete, VendorEditPage, VendorRolesPage, VendorTeamPage, VendorsListPage, AdminLayout as default, resolveCategoryRelatedProductLabels, useForceAdminLightMode, useForceLightMode };
|
package/dist/admin.d.ts
CHANGED
|
@@ -496,6 +496,8 @@ declare function VendorsListPage(): react_jsx_runtime.JSX.Element;
|
|
|
496
496
|
|
|
497
497
|
declare function VendorTeamPage(): react_jsx_runtime.JSX.Element;
|
|
498
498
|
|
|
499
|
+
declare function VendorRolesPage(): react_jsx_runtime.JSX.Element;
|
|
500
|
+
|
|
499
501
|
interface JobSchedulesToolProps {
|
|
500
502
|
inputIdPrefix?: string;
|
|
501
503
|
variant?: 'page' | 'embedded';
|
|
@@ -562,12 +564,24 @@ declare function resolveCategoryRelatedProductLabels(config: Record<string, Cate
|
|
|
562
564
|
}): ResolvedCategoryRelatedProductLabels;
|
|
563
565
|
|
|
564
566
|
/**
|
|
565
|
-
* Theme + toast wrapper for admin
|
|
566
|
-
*
|
|
567
|
-
* Admin is light-only; browser/OS dark preference is ignored.
|
|
567
|
+
* Theme + toast wrapper for webcore admin and application pages.
|
|
568
|
+
* Enforces light-only mode across all pages; browser/OS dark preference is ignored.
|
|
568
569
|
*/
|
|
569
570
|
declare function CmsProviders({ children }: {
|
|
570
571
|
children: React.ReactNode;
|
|
571
572
|
}): react_jsx_runtime.JSX.Element;
|
|
572
573
|
|
|
573
|
-
|
|
574
|
+
/** Component wrapper that forces light mode */
|
|
575
|
+
declare function ForceLightMode(): React$1.ReactElement;
|
|
576
|
+
/** Backward compatibility alias */
|
|
577
|
+
declare const ForceAdminLightMode: typeof ForceLightMode;
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Universally enforce light mode across all websites and admin panels using webcore.
|
|
581
|
+
* Removes `dark` class from <html> and <body> and continuously blocks system/app dark mode.
|
|
582
|
+
*/
|
|
583
|
+
declare function useForceLightMode(): void;
|
|
584
|
+
/** Backward compatibility alias */
|
|
585
|
+
declare const useForceAdminLightMode: typeof useForceLightMode;
|
|
586
|
+
|
|
587
|
+
export { AdminCRUD, AdminConfigContext, DashboardPage as AdminDashboardPage, ForgotPasswordPage as AdminForgotPasswordPage, AdminHeader, InvitePage as AdminInvitePage, AdminLayout, type AdminLayoutProps, type AdminNavItem, AdminPageResolver, AdminProfilePage, ResetPasswordPage as AdminResetPasswordPage, SettingsPage as AdminSettingsPage, AdminShell, AdminSidebar, SigninPage as AdminSignInPage, AnalyticsCard, AnalyticsChart, AnalyticsExclusion, BlogEditor as BlogEditorPage, BlogGeneratorPage, BrandEditPage, CategoryAutocomplete, type CategoryRelatedProductLabels, CmsProviders, CollectionEditPage, ComponentSettings, CreateEditForm, type CustomCrudColumn, type CustomCrudConfig, type CustomNavItem, type CustomNavSection, DEFAULT_ADMIN_NAV, DEFAULT_CATEGORY_RELATED_PRODUCT_LABELS, DailyUserChart, DetailPageHeader, type DetailPageHeaderMenuItem, DetailPageLayout, EventDetailPage, EventEditPage, ForceAdminLightMode, ForceLightMode, FormBuilder, GeographicMap, JobSchedulesTool, JoditRichText, LayoutSettingsPage, NavbarEditor, PageBuilderPage, type PluginDescriptor, ProductEditPage, type ResolvedCategoryRelatedProductLabels, STORE_CRUD_CONFIGS, SchedulesPage, TagAutocomplete, type ThemeRegistryItem, UserAutocomplete, VendorEditPage, VendorRolesPage, VendorTeamPage, VendorsListPage, AdminLayout as default, resolveCategoryRelatedProductLabels, useForceAdminLightMode, useForceLightMode };
|