sass-cms-template-common 0.0.16 → 0.0.18

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/server.d.ts CHANGED
@@ -2006,10 +2006,34 @@ export declare interface DashboardNotificationsResponse extends CmsResponse {
2006
2006
  newsTask?: DashboardNewsTask[];
2007
2007
  /** Actividades vencidas o por vencer. */
2008
2008
  expireTask?: DashboardExpireTask[];
2009
+ /** Avisos de desasignación de tarea de planning (`person_remove`). */
2010
+ unassignTask?: DashboardUnassignTask[];
2009
2011
  /** Oportunidades editoriales copilot (hasta 3, por `score` desc). NAA-4645. */
2010
2012
  copilot?: DashboardCopilotOpportunity[];
2011
2013
  }
2012
2014
 
2015
+ /**
2016
+ * Aviso de desasignación de tarea de planning presente en POST
2017
+ * /dashboard/notification (array `unassignTask`, mismos campos que `newsTask`).
2018
+ * El back lo despacha solo cuando corresponde (cambio de responsable). El autor
2019
+ * de la desasignación es OPCIONAL: puede venir como `userName` o `userCreation`,
2020
+ * con `userLogin` entre paréntesis. Si no llega ninguno, se usa el texto genérico.
2021
+ */
2022
+ export declare interface DashboardUnassignTask {
2023
+ id?: string;
2024
+ /** Título de la tarea de la que se desasignó al usuario. */
2025
+ title?: string;
2026
+ /** Autor de la desasignación (nombre). Opcional. */
2027
+ userName?: string;
2028
+ userCreation?: string;
2029
+ /** Login del autor (se muestra entre paréntesis). Opcional. */
2030
+ userLogin?: string;
2031
+ /** Timestamp del aviso (epoch ms o `{ time }`). */
2032
+ timeStamp?: unknown;
2033
+ isRead?: boolean;
2034
+ [key: string]: unknown;
2035
+ }
2036
+
2013
2037
  /** Evento de encoder de video presente en POST /dashboard/notification. */
2014
2038
  export declare interface DashboardVideoNotification {
2015
2039
  actionId?: number;
@@ -2658,6 +2682,15 @@ export declare type NavLinkItem = {
2658
2682
  accent?: 'ai';
2659
2683
  /** Si el href apunta al admin legacy (JSP/Angular), se prefija con `legacyBaseUrl`. */
2660
2684
  legacy?: boolean;
2685
+ /**
2686
+ * Si el href es una página del admin viejo JSP (OpenCMS). Estos NO se abren
2687
+ * como enlace directo: requieren el form POST autenticado
2688
+ * (`submitLegacyAdminPage`) al endpoint `adminBack/login` del CMS
2689
+ * (`cmsBaseUrl`, p. ej. `https://dev.cms-medios.com`), igual que el
2690
+ * `openExternalPage()` de cmsmedios. Abre en pestaña nueva. Tiene prioridad
2691
+ * sobre `legacy` (que apunta al Angular master).
2692
+ */
2693
+ jsp?: boolean;
2661
2694
  /**
2662
2695
  * Si la ruta del Angular master exige el id de publicación al final
2663
2696
  * (p. ej. `/admin/tags/:idPub`, `/admin/planning/:idPub`), se le agrega
package/dist/server.js CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, I as s, J as c, K as l, L as u, M as d, N as f, O as p, P as m, Q as h, R as g, S as _, T as v, V as y, X as b, Y as x, Z as S, _ as C, a as w, at as T, b as E, c as D, ct as O, d as k, et as A, f as j, g as M, h as N, i as P, it as F, j as I, k as L, l as R, lt as z, m as B, n as V, nt as H, o as U, ot as W, p as G, q as K, r as q, rt as J, s as Y, st as X, t as Z, tt as Q, u as $, ut as ee, v as te, w as ne, x as re, y as ie, z as ae } from "./services-BQ1IbdWe.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, I as s, J as c, K as l, L as u, M as d, N as f, O as p, P as m, Q as h, R as g, S as _, T as v, V as y, X as b, Y as x, Z as S, _ as C, a as w, at as T, b as E, c as D, ct as O, d as k, et as A, f as j, g as M, h as N, i as P, it as F, j as I, k as L, l as R, lt as z, m as B, n as V, nt as H, o as U, ot as W, p as G, q as K, r as q, rt as J, s as Y, st as X, t as Z, tt as Q, u as $, ut as ee, v as te, w as ne, x as re, y as ie, z as ae } from "./services-CyMIBZpF.js";
2
2
  export { i as CmsAudiosServices, t as CmsAuthLoginServices, o as CmsAuthServices, a as CmsCategoriesServices, v as CmsCkeditorServices, r as CmsCommentsServices, Z as CmsCommonServices, _ as CmsContributionsServices, ne as CmsCopilotServices, m as CmsDashboardServices, ie as CmsEventsServices, te as CmsFileExplorerServices, C as CmsGeneralServices, M as CmsImagesServices, N as CmsNewsServices, B as CmsNotificationServices, G as CmsPeopleServices, j as CmsPlanningServices, k as CmsPollsServices, p as CmsPreviewServices, E as CmsProductivityPlanServices, f as CmsProfileServices, d as CmsPublicationsServices, $ as CmsRecipesServices, re as CmsSectionsServices, I as CmsSitesServices, V as CmsTagsServices, q as CmsTranscribeServices, P as CmsTriviasServices, L as CmsUploadServices, R as CmsUsersServices, w as CmsVideosServices, U as CmsVodsServices, Y as CmsWorkpaperServices, D as CmsZonesServices, A as NETWORK_ERROR_CODES, Q as classifyNetworkError, h as cmsNetworkBridge, ee as commonErrorsEn, z as commonErrorsEs, O as commonErrorsPt, s as filterModulesByPermissions, l as findPublicationBySlug, K as findPublicationLabel, g as formatSiteDateTime, c as getAllPublications, T as getCommonError, x as getDefaultPublicationSlug, H as getNetworkErrorCodeFromResult, ae as getSiteNow, u as hasModulePermission, J as isNetworkErrorCode, F as isRetryableNetworkCode, W as normalizeErrorCode, n as parseGmtOffsetMinutes, b as parsePublicationSlug, X as resolveErrorSeverity, e as resumeAxiosOnNetworkError, y as toSiteWallClock, S as toTestId };
@@ -214,7 +214,9 @@ var r = t("", {
214
214
  }, a = {
215
215
  sm: "8px",
216
216
  md: "10px",
217
+ flyout: "12px",
217
218
  lg: "14px",
219
+ accountMenu: "16px",
218
220
  xl: "28px",
219
221
  dialog: "24px",
220
222
  pill: "999px"
@@ -222,8 +224,9 @@ var r = t("", {
222
224
  button: "0 1px 2px rgba(0, 0, 0, 0.10)",
223
225
  menu: "0px 1px 3px 0px rgba(0, 0, 0, 0.30), 0px 4px 8px 3px rgba(0, 0, 0, 0.15)",
224
226
  menuSoft: "0 10px 30px rgba(0, 0, 0, 0.18)",
227
+ accountMenu: "0 10px 30px rgba(25, 28, 32, 0.18)",
225
228
  menuDropdown: "0px 4px 4px 0px rgba(0, 0, 0, 0.30), 0px 8px 12px 6px rgba(0, 0, 0, 0.15)",
226
- flyout: "0px 8px 16px rgba(0, 0, 0, 0.18)"
229
+ flyout: "0 6px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.10)"
227
230
  }, s = {
228
231
  buttonHeight: 40,
229
232
  buttonHeightSm: 34,
@@ -356,6 +359,10 @@ var r = t("", {
356
359
  bg: i.secondary,
357
360
  on: i.onSecondaryContainer
358
361
  },
362
+ unassigned: {
363
+ bg: i.secondary,
364
+ on: i.onSecondaryContainer
365
+ },
359
366
  ...m.values
360
367
  }, h = t("editorial-opportunity", {
361
368
  accent: {
@@ -367,7 +374,7 @@ var r = t("", {
367
374
  dark: "#A9C4FF"
368
375
  },
369
376
  topicBg: {
370
- light: "#ECEDF5",
377
+ light: "#ECEDF6",
371
378
  dark: "#262A33"
372
379
  },
373
380
  topicBorder: {
@@ -375,7 +382,7 @@ var r = t("", {
375
382
  dark: "#43474E"
376
383
  },
377
384
  trending: {
378
- light: "#83521A",
385
+ light: "#8B4F00",
379
386
  dark: "#E5B87A"
380
387
  }
381
388
  }), g = h.values, _ = {
@@ -4239,4 +4246,4 @@ var J = class {
4239
4246
  //#endregion
4240
4247
  export { M as $, me as A, U as B, Se as C, re as Ct, ve as D, ye as E, J as F, P as G, L as H, q as I, R as J, z as K, pe as L, Z as M, X as N, _e as O, Y as P, j as Q, K as R, Ce as S, s as St, be as T, p as Tt, I as U, W as V, F as W, H as X, V as Y, N as Z, Oe as _, b as _t, ze as a, oe as at, Te as b, a as bt, Ie as c, C as ct, Pe as d, y as dt, T as et, Ne as f, i as ft, ke as g, c as gt, Ae as h, l as ht, Be as i, ue as it, Q as j, ge as k, Fe as l, S as lt, je as m, g as mt, He as n, de as nt, Re as o, w as ot, Me as p, te as pt, B as q, Ve as r, le as rt, Le as s, se as st, Ue as t, D as tt, $ as u, x as ut, De as v, ne as vt, xe as w, d as wt, we as x, o as xt, Ee as y, ee as yt, fe as z };
4241
4248
 
4242
- //# sourceMappingURL=services-BQ1IbdWe.js.map
4249
+ //# sourceMappingURL=services-CyMIBZpF.js.map