sass-cms-template-common 0.0.9 → 0.0.10
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.d.ts +8 -4
- package/dist/index.js +587 -558
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4038,6 +4038,8 @@ export declare type NavLinkItem = {
|
|
|
4038
4038
|
defaultOpen?: boolean;
|
|
4039
4039
|
/** Acento visual (p. ej. destacar un ítem generado/asistido por IA). */
|
|
4040
4040
|
accent?: 'ai';
|
|
4041
|
+
/** Si el href apunta al admin legacy (JSP/Angular), se prefija con `legacyBaseUrl`. */
|
|
4042
|
+
legacy?: boolean;
|
|
4041
4043
|
};
|
|
4042
4044
|
|
|
4043
4045
|
/** Columna del menú "Nuevo" (Frecuentes / Otros / Videos). */
|
|
@@ -6196,7 +6198,7 @@ export declare const shadows: {
|
|
|
6196
6198
|
readonly flyout: "0px 8px 16px rgba(0, 0, 0, 0.18)";
|
|
6197
6199
|
};
|
|
6198
6200
|
|
|
6199
|
-
export declare function Sidebar({ open, pathname, permissions, LinkComponent,
|
|
6201
|
+
export declare function Sidebar({ open, pathname, permissions, LinkComponent, legacyBaseUrl, selectedPublicationId, }: SidebarProps): JSX.Element;
|
|
6200
6202
|
|
|
6201
6203
|
export declare type SidebarMessageKey = keyof CmsMessages['sidebar'];
|
|
6202
6204
|
|
|
@@ -6205,7 +6207,8 @@ export declare type SidebarProps = {
|
|
|
6205
6207
|
pathname: string;
|
|
6206
6208
|
LinkComponent?: CmsLinkComponent;
|
|
6207
6209
|
permissions: Array<NavItemPermissions>;
|
|
6208
|
-
|
|
6210
|
+
/** Dominio del admin legacy (JSP/Angular) para prefijar hrefs con `item.legacy`. */
|
|
6211
|
+
legacyBaseUrl?: string;
|
|
6209
6212
|
selectedPublicationId: string;
|
|
6210
6213
|
};
|
|
6211
6214
|
|
|
@@ -6216,7 +6219,7 @@ export declare type SidebarProps = {
|
|
|
6216
6219
|
* todo. El anclado se identifica por `item.module` y persiste vía
|
|
6217
6220
|
* `profileServices.addPins`/`deletePins`/`getPins` (recurso de perfil).
|
|
6218
6221
|
*/
|
|
6219
|
-
export declare function SidebarRail({ pathname, permissions, LinkComponent,
|
|
6222
|
+
export declare function SidebarRail({ pathname, permissions, LinkComponent, legacyBaseUrl, items, profileServices, }: SidebarRailProps): JSX.Element;
|
|
6220
6223
|
|
|
6221
6224
|
/** Servicio de pines usado por el rail: solo necesita estos tres métodos. */
|
|
6222
6225
|
export declare type SidebarRailPinService = Pick<CmsProfileServices, 'addPins' | 'deletePins' | 'getPins'>;
|
|
@@ -6225,7 +6228,8 @@ export declare type SidebarRailProps = {
|
|
|
6225
6228
|
pathname: string;
|
|
6226
6229
|
LinkComponent?: CmsLinkComponent;
|
|
6227
6230
|
permissions: Array<NavItemPermissions>;
|
|
6228
|
-
|
|
6231
|
+
/** Dominio del admin legacy (JSP/Angular) para prefijar hrefs con `item.legacy`. */
|
|
6232
|
+
legacyBaseUrl?: string;
|
|
6229
6233
|
/** Ítems de navegación. Por defecto, `ACCOUNT_NAV_BLOCKS`. */
|
|
6230
6234
|
items?: NavLinkItem[];
|
|
6231
6235
|
/**
|