@rededor/site-front-end-lib 20.0.11 → 20.0.13

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.
@@ -52,12 +52,114 @@ const ThemeDefault = {
52
52
  },
53
53
  };
54
54
 
55
+ /**
56
+ * Cura MaternidadeStar Theme
57
+ */
58
+ const ThemeMaternidadeStar = {
59
+ /* Colors */
60
+ color: {
61
+ primary: {
62
+ '100': '182, 141, 115',
63
+ '300': '142, 103, 79',
64
+ '500': '119, 77, 51',
65
+ '700': '78, 43, 28',
66
+ '900': '47, 22, 12',
67
+ },
68
+ secondary: {
69
+ '100': '219, 193, 178',
70
+ '300': '190, 159, 142',
71
+ '500': '175, 150, 138',
72
+ '700': '139, 112, 99',
73
+ '900': '80, 59, 49',
74
+ },
75
+ accent: {
76
+ '100': '229, 196, 158',
77
+ '300': '198, 162, 122',
78
+ '500': '145, 107, 59',
79
+ '700': '110, 72, 23',
80
+ '900': '83, 46, 6',
81
+ },
82
+ },
83
+ /* Spacing */
84
+ spacing: {
85
+ base: 4,
86
+ },
87
+ /* Fonts */
88
+ font: {
89
+ size: '14px',
90
+ color: '#4A4A4A',
91
+ body: "'SkolaSans', Arial, Helvetica, sans-serif",
92
+ heading: "'SkolaSans', Arial, Helvetica, sans-serif",
93
+ display: "'SkolaSans', Arial, Helvetica, sans-serif",
94
+ weights: {
95
+ thin: 100,
96
+ light: 300,
97
+ regular: 400,
98
+ medium: 500,
99
+ bold: 700,
100
+ black: 900,
101
+ },
102
+ },
103
+ };
104
+
105
+ /**
106
+ * Cura Star Theme
107
+ */
108
+ const ThemeStar = {
109
+ /* Colors */
110
+ color: {
111
+ primary: {
112
+ '100': '182, 141, 115',
113
+ '300': '142, 103, 79',
114
+ '500': '119, 77, 51',
115
+ '700': '78, 43, 28',
116
+ '900': '47, 22, 12',
117
+ },
118
+ secondary: {
119
+ '100': '219, 193, 178',
120
+ '300': '190, 159, 142',
121
+ '500': '175, 150, 138',
122
+ '700': '139, 112, 99',
123
+ '900': '80, 59, 49',
124
+ },
125
+ accent: {
126
+ '100': '229, 196, 158',
127
+ '300': '198, 162, 122',
128
+ '500': '145, 107, 59',
129
+ '700': '110, 72, 23',
130
+ '900': '83, 46, 6',
131
+ },
132
+ },
133
+ /* Spacing */
134
+ spacing: {
135
+ base: 4,
136
+ },
137
+ /* Fonts */
138
+ font: {
139
+ size: '14px',
140
+ color: '#4A4A4A',
141
+ body: "'SkolaSans', Arial, Helvetica, sans-serif",
142
+ heading: "'SkolaSans', Arial, Helvetica, sans-serif",
143
+ display: "'SkolaSans', Arial, Helvetica, sans-serif",
144
+ weights: {
145
+ thin: 100,
146
+ light: 300,
147
+ regular: 400,
148
+ medium: 500,
149
+ bold: 700,
150
+ black: 900,
151
+ },
152
+ },
153
+ };
154
+
55
155
  const ThemePresets = {
56
156
  default: ThemeDefault,
57
157
  // 'maternidade': ThemeMaternity,
58
158
  // 'oncologia': ThemeOncology,
59
159
  // 'richet': ThemeRichet,
60
160
  // 'legacyDefault': ThemeLegacyDefault
161
+ star: ThemeStar,
162
+ maternidadeStar: ThemeMaternidadeStar,
61
163
  };
62
164
 
63
165
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"rededor-site-front-end-lib-cura-api.mjs","sources":["../../../projects/site-front-end-lib/cura/api/theme-presets/theme-default.ts","../../../projects/site-front-end-lib/cura/api/theme-presets/theme-presets.ts","../../../projects/site-front-end-lib/cura/api/theme-presets/static.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme-colors.module.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme-spacing.module.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme-fonts.module.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme-breakpoints.module.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme.module.ts","../../../projects/site-front-end-lib/cura/api/CuraConfig.ts","../../../projects/site-front-end-lib/cura/api/cura-api.service.ts","../../../projects/site-front-end-lib/cura/api/cura-api.types.ts","../../../projects/site-front-end-lib/cura/api/rededor-site-front-end-lib-cura-api.ts"],"sourcesContent":["/**\n * Cura Default Theme\n */\nexport const ThemeDefault = {\n /* Colors */\n color: {\n primary: {\n '100': '113,197,232',\n '300': '68,142,205',\n '500': '0,61,165',\n '700': '0,48,117',\n '900': '0,40,85',\n },\n secondary: {\n '100': '245,236,227',\n '300': '221,192,162',\n '500': '204,160,116',\n '700': '136,107,77',\n '900': '41,32,23',\n },\n accent: {\n '100': '255,194,123',\n '300': '255,168,74',\n '500': '255,130,0',\n '700': '215,114,10',\n '900': '155,90,26',\n },\n },\n /* Spacing */\n spacing: {\n base: 4,\n },\n /* Fonts */\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Gotham', Arial, Helvetica, sans-serif\",\n heading: \"'Gotham', Arial, Helvetica, sans-serif\",\n display: \"'Gotham', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900,\n },\n },\n};\n","import { ThemeDefault } from './theme-default';\n\nexport const ThemePresets: { [key: string]: any } = {\n default: ThemeDefault,\n // 'maternidade': ThemeMaternity,\n // 'oncologia': ThemeOncology,\n // 'richet': ThemeRichet,\n // 'legacyDefault': ThemeLegacyDefault\n};\n","/**\n * Static theme data\n */\nexport const Static = {\n /* Colors */\n color: {\n success: {\n '100': '223,246,233',\n '300': '148,225,181',\n '500': '95,210,144',\n '700': '49,115,77',\n '900': '19,42,29',\n },\n info: {\n '100': '207,226,255',\n '300': '149,191,255',\n '500': '110,168,255',\n '700': '66,100,153',\n '900': '37,56,85',\n },\n error: {\n '100': '251,221,221',\n '300': '242,143,143',\n '500': '235,87,87',\n '700': '157,58,58',\n '900': '47,17,17',\n },\n warning: {\n '100': '252,250,196',\n '300': '248,244,137',\n '500': '245,239,78',\n '700': '108,106,32',\n '900': '49,48,16',\n },\n neutral: {\n '0': '255,255,255',\n '100': '246,246,246',\n '200': '233,233,233',\n '300': '226,226,226',\n '400': '212,212,212',\n '500': '183,183,183',\n '600': '146,146,146',\n '700': '110,110,110',\n '800': '74,74,74',\n '900': '38,38,38',\n },\n },\n breakpoints: {\n xsmall: {\n min: 0,\n max: 480,\n },\n small: {\n min: 481,\n max: 768,\n },\n medium: {\n min: 769,\n max: 992,\n },\n large: {\n min: 993,\n max: 1920,\n },\n xlarge: {\n min: 1921,\n max: 4096,\n },\n },\n};\n","import { DOCUMENT, inject, Injectable } from '@angular/core';\nimport { Static } from '../theme-presets/static';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeColorsModule {\n private document: Document = inject(DOCUMENT);\n\n private readonly neutralDepthAlias: { [key: string]: string } = {\n purewhite: '0',\n white: '100',\n pale: '200',\n lighter: '300',\n light: '400',\n base: '500',\n medium: '600',\n dark: '700',\n darker: '800',\n black: '900',\n };\n\n private readonly colorDepthAlias: { [key: string]: string } = {\n lighter: '100',\n light: '300',\n base: '500',\n dark: '700',\n darker: '900',\n };\n\n /**\n * Get theme color.\n * @param colorWithDepth string Ex.: primary-light\n * @param opacity number Opacity value (0-1)\n * @returns RGBA value.\n */\n getColor(colorWithDepth: string = 'primary-base', opacity = 1): string {\n const { color, depth } = this.splitColorDepth(colorWithDepth);\n const staticColor = this.getStatic(color, depth, opacity);\n if (staticColor) return staticColor;\n return this.getDynamic(color, depth, opacity);\n }\n\n /**\n * Internal: Look for static color by name and depth.\n * @param color Color name.\n * @param depth Depth number or alias.\n * @param opacity Opacity value.\n * @returns RGBA value.\n */\n private getStatic(color: string, depth: string, opacity = 1): string | null {\n const colorObj = (Static.color as any)[color];\n if (!colorObj) return null;\n\n const alias = color === 'neutral' ? this.neutralDepthAlias[depth] : this.colorDepthAlias[depth];\n const colorValue = colorObj[alias] || colorObj[depth];\n\n return colorValue ? `rgba(${colorValue}, ${opacity})` : null;\n }\n\n /**\n * Internal: Look for theme dynamic colors.\n * @param color Color name.\n * @param depth Color depth.\n * @param opacity Opacity value.\n * @returns RGBA value.\n */\n private getDynamic(color: string, depth: string, opacity: number): string {\n const themeVar = this.colorDepthAlias[depth] ? `--cura-color-${color}-${this.colorDepthAlias[depth]}` : `--cura-color-${color}-${depth}`;\n\n if (typeof window !== 'undefined' && typeof getComputedStyle !== 'undefined' && this.document) {\n const computedValue = getComputedStyle(this.document.documentElement).getPropertyValue(themeVar);\n return computedValue ? `rgba(var(${themeVar}), ${opacity})` : `rgba(var(--cura-color-primary-500), ${opacity})`;\n }\n\n // Fallback para SSR\n return `rgba(var(${themeVar}), ${opacity})`;\n }\n\n /**\n * Internal: Split color strings\n * @param colorWithDepth Color string [color]-[depth]. Ex.: primary-dark.\n * @returns Object { color: string, depth: string }.\n */\n private splitColorDepth(colorWithDepth: string): { color: string; depth: string } {\n const [color, depth] = colorWithDepth.toLowerCase().split(/-(.*)/);\n return { color: color ?? 'primary', depth: depth ?? 'base' };\n }\n}\n","import { DOCUMENT, inject, Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeSpacingModule {\n private document: Document = inject(DOCUMENT);\n\n private readonly curaSpacing = '--cura-spacing-base';\n /**\n * Returns the base spacing var defined in the theme\n * @returns CSS variable string or fallback value\n */\n getSpacing(): string {\n if (typeof window !== 'undefined' && typeof getComputedStyle !== 'undefined' && this.document) {\n const computedValue = getComputedStyle(this.document.body).getPropertyValue(this.curaSpacing);\n return computedValue ? `var(${this.curaSpacing})` : '4';\n }\n\n // Fallback para SSR\n return `var(${this.curaSpacing})`;\n }\n}\n","import { DOCUMENT, inject, Injectable } from '@angular/core';\nimport { ThemeDefault } from '../theme-presets/theme-default';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeFontsModule {\n private document: Document = inject(DOCUMENT);\n\n /**\n * Get the CSS variable related to the font family defined by the theme.\n * @param type 'body' | 'heading' | 'display'\n * @returns Related css variable as a string.\n */\n getFamily(type: string = 'body'): string {\n const curaFontFamilyCSSVar = `--cura-font-${type.toLowerCase()}`;\n\n if (typeof window !== 'undefined' && typeof getComputedStyle !== 'undefined' && this.document) {\n const computedValue = getComputedStyle(this.document.body).getPropertyValue(curaFontFamilyCSSVar);\n return computedValue ? `var(${curaFontFamilyCSSVar})` : 'var(--cura-font-body)';\n }\n\n // Fallback para SSR\n return `var(${curaFontFamilyCSSVar})`;\n }\n\n /**\n * Get the CSS variables related to font weights defined by the theme.\n * @returns Object with CSS vars weights definitions for thin, light, regular, medium, bold and black fonts.\n */\n getWeights(): any {\n const weights: { [key: string]: string } = {};\n Object.keys(ThemeDefault.font.weights).forEach((key) => {\n weights[key] = `var(--cura-font-weights-${key})`;\n });\n return weights;\n }\n\n /**\n * Get the CSS variable related to the font size base defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getSize(): string {\n return `var(--cura-font-size)`;\n }\n\n /**\n * Get CSS variable related to the font color defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getColor(): string {\n return `var(--cura-font-color)`;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Static } from '../theme-presets/static';\nimport { BreakpointSize, BreakpointPosition } from '../cura-api.types';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeBreakpointsModule {\n /**\n * Returns breakpoint values defined in the theme\n * @param size Breakpoint size\n * @param position Min or max position\n * @returns Breakpoint value or all breakpoints\n */\n get(size: BreakpointSize | null = null, position: BreakpointPosition | null = null): any {\n if (size) {\n const breakpoint = position ? Static.breakpoints[size][position] : Static.breakpoints[size];\n if (breakpoint || breakpoint === 0) return breakpoint;\n }\n return Static.breakpoints;\n }\n}\n","import { DOCUMENT, inject, Injectable } from '@angular/core';\nimport { ThemePresets } from '../theme-presets/theme-presets';\nimport { CuraCustomTheme } from '../cura-api.types';\nimport { CuraThemeColorsModule } from './cura-theme-colors.module';\nimport { CuraThemeSpacingModule } from './cura-theme-spacing.module';\nimport { CuraThemeFontsModule } from './cura-theme-fonts.module';\nimport { CuraThemeBreakpointsModule } from './cura-theme-breakpoints.module';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeModule {\n public colors: CuraThemeColorsModule = inject(CuraThemeColorsModule);\n public spacing: CuraThemeSpacingModule = inject(CuraThemeSpacingModule);\n public fonts: CuraThemeFontsModule = inject(CuraThemeFontsModule);\n public breakpoints: CuraThemeBreakpointsModule = inject(CuraThemeBreakpointsModule);\n private document: Document = inject(DOCUMENT);\n\n private rootElement: HTMLElement | null = null;\n private readonly prefix = '--cura';\n private groupObject: { [key: string]: any } = {};\n\n constructor() {\n if (this.document?.defaultView) {\n this.rootElement = this.document.defaultView.document.documentElement;\n }\n }\n\n /**\n * Load a theme.\n * @param theme Theme tag.\n */\n load(theme = 'default'): void {\n const preset = ThemePresets[theme] ? ThemePresets[theme] : ThemePresets['default'];\n this.buildCssVars(this.prefix, preset);\n }\n\n /**\n * Load variables for SSR\n * @param theme Theme tag\n * @returns Object with CSS variables\n */\n loadVarsSSR(theme = 'default'): { [key: string]: any } {\n const preset = ThemePresets[theme] ? ThemePresets[theme] : ThemePresets['default'];\n this.buildCssVars(this.prefix, preset, true);\n return this.groupObject;\n }\n\n /**\n * Define a custom theme\n * @param customTheme Custom theme object definition\n */\n setCustom(customTheme: CuraCustomTheme): void {\n const customTag = customTheme.name;\n if (customTag in ThemePresets) {\n console.log('Error building custom theme. Theme %s already exists. Loading default theme.', customTag);\n this.load('default');\n } else {\n const preset = customTheme.fromPreset && customTheme.fromPreset in ThemePresets ? ThemePresets[customTheme.fromPreset] : ThemePresets['default'];\n const newTheme = { ...JSON.parse(JSON.stringify(preset)) };\n this.mergeObject(customTheme.definitions, newTheme);\n ThemePresets[customTag] = newTheme;\n this.load(customTag);\n }\n }\n\n /* Private methods */\n\n /**\n * Set css var based on object structure\n */\n private setCssVar = (prop: [string, any], path: string): void => {\n if (!this.rootElement) return;\n const varName = this.groupPath(path, prop[0]);\n this.rootElement.style.setProperty(varName, prop[1]);\n };\n\n private groupPath = (a: string, b: string): string => `${a}-${b}`;\n\n private isObject = (val: any): boolean => {\n return val && typeof val === 'object' && !Array.isArray(val);\n };\n\n /**\n * Deep merge objects\n */\n private mergeObject = (from: any, to: any): void => {\n const entries = Object.entries(from);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.mergeObject(e[1], to[e[0]]);\n } else {\n to[e[0]] = e[1];\n }\n }\n };\n\n /**\n * Set css vars from preset object\n */\n private buildCssVars = (path: string, obj: any, isGroup = false): void => {\n const entries = Object.entries(obj);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.buildCssVars(this.groupPath(path, e[0]), e[1], isGroup);\n } else {\n if (isGroup) {\n const varName = this.groupPath(path, e[0]);\n this.groupObject[varName] = e[1];\n } else {\n this.setCssVar(e, path);\n }\n }\n }\n };\n}\n","import { InjectionToken } from '@angular/core';\nimport { CuraConfig } from './cura-api.types';\n\n// Configura o cura com informações especificas de cada projeto.\nexport const CURA_CONFIG = new InjectionToken<CuraConfig>('curaConfig');\n","import { Injectable, WritableSignal, inject, signal } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { CuraConfig, APIThemeFunctions, CuraCustomTheme } from './cura-api.types';\nimport { CuraThemeModule } from './modules/cura-theme.module';\nimport { CURA_CONFIG } from './CuraConfig';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraApiService {\n private curaConfig: CuraConfig = inject(CURA_CONFIG);\n private document: Document = inject(DOCUMENT);\n private themeModule: CuraThemeModule = new CuraThemeModule();\n\n theme: APIThemeFunctions;\n localAssetsPath: WritableSignal<string>;\n\n constructor() {\n this.localAssetsPath = signal(this.curaConfig?.localAssetsPath ? this.curaConfig?.localAssetsPath : `/assets`);\n\n this.theme = {\n load: (themeTag: string) => this.themeModule.load(themeTag),\n setCustom: (customThemeDefinitions: CuraCustomTheme) => this.themeModule.setCustom(customThemeDefinitions),\n colors: {\n getColor: (colorWithDepth?: string, opacity?: number) => this.themeModule.colors.getColor(colorWithDepth, opacity),\n },\n fonts: {\n getFamily: (type?: string) => this.themeModule.fonts.getFamily(type),\n getWeights: () => this.themeModule.fonts.getWeights(),\n getSize: () => this.themeModule.fonts.getSize(),\n getColor: () => this.themeModule.fonts.getColor(),\n },\n spacing: {\n getSpacing: () => this.themeModule.spacing.getSpacing(),\n },\n breakpoints: {\n get: (size?: string, position?: string) => this.themeModule.breakpoints.get(size as any, position as any),\n },\n };\n\n this.addGlobalClasses();\n\n if (this.curaConfig && this.curaConfig.customTheme) {\n this.theme.setCustom(this.curaConfig.customTheme);\n } else {\n const theme = this.curaConfig && this.curaConfig.theme ? this.curaConfig.theme : 'default';\n this.theme.load(theme);\n }\n\n // Chama callback onReady se fornecido\n if (this.curaConfig && this.curaConfig.onReady) {\n this.curaConfig.onReady(this);\n }\n }\n\n /**\n * Adiciona classes CSS globais necessárias\n */\n private addGlobalClasses(): void {\n if (!this.document) return;\n\n const styleId = 'cura_global_classes';\n let styleElement = this.document.head.querySelector(`#${styleId}`);\n\n if (!styleElement) {\n styleElement = this.document.createElement('style');\n styleElement.id = styleId;\n styleElement.textContent = `\n .cura-body-scroll-lock {\n overflow: hidden;\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n }\n `;\n this.document.head.appendChild(styleElement);\n }\n }\n\n /**\n * Método para obter variáveis CSS para SSR\n * @param theme Nome do tema\n * @returns Objeto com variáveis CSS\n */\n getSSRVars(theme = 'default'): { [key: string]: any } {\n return this.themeModule.loadVarsSSR(theme);\n }\n\n /**\n * Método utilitário para adicionar/remover classe de scroll lock\n * @param lock Se deve bloquear o scroll\n */\n toggleBodyScrollLock(lock: boolean): void {\n if (!this.document) return;\n\n const body = this.document.body;\n if (lock) {\n body.classList.add('cura-body-scroll-lock');\n } else {\n body.classList.remove('cura-body-scroll-lock');\n }\n }\n}\n","export interface CuraCustomThemeColorDepth {\n base?: string;\n depth0?: string;\n depth20?: string;\n depth40?: string;\n depth80?: string;\n depth100?: string;\n}\n\nexport interface CuraCustomThemeColors {\n primary?: CuraCustomThemeColorDepth;\n secondary?: CuraCustomThemeColorDepth;\n accent?: CuraCustomThemeColorDepth;\n}\n\nexport interface CuraCustomThemeSpacing {\n base?: string;\n}\n\nexport interface CuraCustomThemeFontFamily {\n title?: string;\n body?: string;\n}\n\nexport interface CuraCustomThemeFontSize {\n base?: string;\n}\n\nexport interface CuraCustomThemeFont {\n family?: CuraCustomThemeFontFamily;\n size?: CuraCustomThemeFontSize;\n}\n\nexport interface CuraCustomThemeDefinitions {\n colors?: CuraCustomThemeColors;\n spacing?: CuraCustomThemeSpacing;\n font?: CuraCustomThemeFont;\n}\n\nexport interface CuraCustomTheme {\n name: string;\n definitions: CuraCustomThemeDefinitions;\n fromPreset?: string;\n}\n\nexport interface CuraConfig {\n localAssetsPath?: string;\n theme?: string;\n customTheme?: CuraCustomTheme;\n onReady?(api?: any): any;\n}\n\nexport enum InterfaceModes {\n LIGHT = 'light',\n DARK = 'dark',\n}\n\nexport interface APIThemeFunctions {\n load(themeTag: string): unknown;\n setCustom(customThemeDefinitions: CuraCustomTheme): unknown;\n colors: {\n getColor(colorWithDepth?: string, opacity?: number): string;\n };\n fonts: {\n getFamily(type?: string): string;\n getWeights(): any;\n getSize(): string;\n getColor(): string;\n };\n spacing: {\n getSpacing(): string;\n };\n breakpoints: {\n get(size?: string, position?: string): any;\n };\n}\n\nexport type BreakpointSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';\nexport type BreakpointPosition = 'min' | 'max';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["DOCUMENT"],"mappings":";;;;AAAA;;AAEG;AACI,MAAM,YAAY,GAAG;;AAE1B,IAAA,KAAK,EAAE;AACL,QAAA,OAAO,EAAE;AACP,YAAA,KAAK,EAAE,aAAa;AACpB,YAAA,KAAK,EAAE,YAAY;AACnB,YAAA,KAAK,EAAE,UAAU;AACjB,YAAA,KAAK,EAAE,UAAU;AACjB,YAAA,KAAK,EAAE,SAAS;AACjB,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,KAAK,EAAE,aAAa;AACpB,YAAA,KAAK,EAAE,aAAa;AACpB,Y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AAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;IC4CW;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,cAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACf,CAAC,EAHW,cAAc,KAAd,cAAc,GAAA,EAAA,CAAA,CAAA;;ACpD1B;;AAEG;;;;"}
1
+ {"version":3,"file":"rededor-site-front-end-lib-cura-api.mjs","sources":["../../../projects/site-front-end-lib/cura/api/theme-presets/theme-default.ts","../../../projects/site-front-end-lib/cura/api/theme-presets/theme-maternidade-star.ts","../../../projects/site-front-end-lib/cura/api/theme-presets/theme-star.ts","../../../projects/site-front-end-lib/cura/api/theme-presets/theme-presets.ts","../../../projects/site-front-end-lib/cura/api/theme-presets/static.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme-colors.module.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme-spacing.module.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme-fonts.module.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme-breakpoints.module.ts","../../../projects/site-front-end-lib/cura/api/modules/cura-theme.module.ts","../../../projects/site-front-end-lib/cura/api/CuraConfig.ts","../../../projects/site-front-end-lib/cura/api/cura-api.service.ts","../../../projects/site-front-end-lib/cura/api/cura-api.types.ts","../../../projects/site-front-end-lib/cura/api/rededor-site-front-end-lib-cura-api.ts"],"sourcesContent":["/**\n * Cura Default Theme\n */\nexport const ThemeDefault = {\n /* Colors */\n color: {\n primary: {\n '100': '113,197,232',\n '300': '68,142,205',\n '500': '0,61,165',\n '700': '0,48,117',\n '900': '0,40,85',\n },\n secondary: {\n '100': '245,236,227',\n '300': '221,192,162',\n '500': '204,160,116',\n '700': '136,107,77',\n '900': '41,32,23',\n },\n accent: {\n '100': '255,194,123',\n '300': '255,168,74',\n '500': '255,130,0',\n '700': '215,114,10',\n '900': '155,90,26',\n },\n },\n /* Spacing */\n spacing: {\n base: 4,\n },\n /* Fonts */\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Gotham', Arial, Helvetica, sans-serif\",\n heading: \"'Gotham', Arial, Helvetica, sans-serif\",\n display: \"'Gotham', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900,\n },\n },\n};\n","/**\n * Cura MaternidadeStar Theme\n */\nexport const ThemeMaternidadeStar = {\n /* Colors */\n color: {\n primary: {\n '100': '182, 141, 115',\n '300': '142, 103, 79',\n '500': '119, 77, 51',\n '700': '78, 43, 28',\n '900': '47, 22, 12',\n },\n secondary: {\n '100': '219, 193, 178',\n '300': '190, 159, 142',\n '500': '175, 150, 138',\n '700': '139, 112, 99',\n '900': '80, 59, 49',\n },\n accent: {\n '100': '229, 196, 158',\n '300': '198, 162, 122',\n '500': '145, 107, 59',\n '700': '110, 72, 23',\n '900': '83, 46, 6',\n },\n },\n /* Spacing */\n spacing: {\n base: 4,\n },\n /* Fonts */\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'SkolaSans', Arial, Helvetica, sans-serif\",\n heading: \"'SkolaSans', Arial, Helvetica, sans-serif\",\n display: \"'SkolaSans', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900,\n },\n },\n};\n","/**\n * Cura Star Theme\n */\nexport const ThemeStar = {\n /* Colors */\n color: {\n primary: {\n '100': '182, 141, 115',\n '300': '142, 103, 79',\n '500': '119, 77, 51',\n '700': '78, 43, 28',\n '900': '47, 22, 12',\n },\n secondary: {\n '100': '219, 193, 178',\n '300': '190, 159, 142',\n '500': '175, 150, 138',\n '700': '139, 112, 99',\n '900': '80, 59, 49',\n },\n accent: {\n '100': '229, 196, 158',\n '300': '198, 162, 122',\n '500': '145, 107, 59',\n '700': '110, 72, 23',\n '900': '83, 46, 6',\n },\n },\n /* Spacing */\n spacing: {\n base: 4,\n },\n /* Fonts */\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'SkolaSans', Arial, Helvetica, sans-serif\",\n heading: \"'SkolaSans', Arial, Helvetica, sans-serif\",\n display: \"'SkolaSans', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900,\n },\n },\n};\n","import { ThemeDefault } from './theme-default';\nimport { ThemeMaternidadeStar } from './theme-maternidade-star';\nimport { ThemeStar } from './theme-star';\n\nexport const ThemePresets: { [key: string]: any } = {\n default: ThemeDefault,\n // 'maternidade': ThemeMaternity,\n // 'oncologia': ThemeOncology,\n // 'richet': ThemeRichet,\n // 'legacyDefault': ThemeLegacyDefault\n star: ThemeStar,\n maternidadeStar: ThemeMaternidadeStar,\n};\n","/**\n * Static theme data\n */\nexport const Static = {\n /* Colors */\n color: {\n success: {\n '100': '223,246,233',\n '300': '148,225,181',\n '500': '95,210,144',\n '700': '49,115,77',\n '900': '19,42,29',\n },\n info: {\n '100': '207,226,255',\n '300': '149,191,255',\n '500': '110,168,255',\n '700': '66,100,153',\n '900': '37,56,85',\n },\n error: {\n '100': '251,221,221',\n '300': '242,143,143',\n '500': '235,87,87',\n '700': '157,58,58',\n '900': '47,17,17',\n },\n warning: {\n '100': '252,250,196',\n '300': '248,244,137',\n '500': '245,239,78',\n '700': '108,106,32',\n '900': '49,48,16',\n },\n neutral: {\n '0': '255,255,255',\n '100': '246,246,246',\n '200': '233,233,233',\n '300': '226,226,226',\n '400': '212,212,212',\n '500': '183,183,183',\n '600': '146,146,146',\n '700': '110,110,110',\n '800': '74,74,74',\n '900': '38,38,38',\n },\n },\n breakpoints: {\n xsmall: {\n min: 0,\n max: 480,\n },\n small: {\n min: 481,\n max: 768,\n },\n medium: {\n min: 769,\n max: 992,\n },\n large: {\n min: 993,\n max: 1920,\n },\n xlarge: {\n min: 1921,\n max: 4096,\n },\n },\n};\n","import { DOCUMENT, inject, Injectable } from '@angular/core';\nimport { Static } from '../theme-presets/static';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeColorsModule {\n private document: Document = inject(DOCUMENT);\n\n private readonly neutralDepthAlias: { [key: string]: string } = {\n purewhite: '0',\n white: '100',\n pale: '200',\n lighter: '300',\n light: '400',\n base: '500',\n medium: '600',\n dark: '700',\n darker: '800',\n black: '900',\n };\n\n private readonly colorDepthAlias: { [key: string]: string } = {\n lighter: '100',\n light: '300',\n base: '500',\n dark: '700',\n darker: '900',\n };\n\n /**\n * Get theme color.\n * @param colorWithDepth string Ex.: primary-light\n * @param opacity number Opacity value (0-1)\n * @returns RGBA value.\n */\n getColor(colorWithDepth: string = 'primary-base', opacity = 1): string {\n const { color, depth } = this.splitColorDepth(colorWithDepth);\n const staticColor = this.getStatic(color, depth, opacity);\n if (staticColor) return staticColor;\n return this.getDynamic(color, depth, opacity);\n }\n\n /**\n * Internal: Look for static color by name and depth.\n * @param color Color name.\n * @param depth Depth number or alias.\n * @param opacity Opacity value.\n * @returns RGBA value.\n */\n private getStatic(color: string, depth: string, opacity = 1): string | null {\n const colorObj = (Static.color as any)[color];\n if (!colorObj) return null;\n\n const alias = color === 'neutral' ? this.neutralDepthAlias[depth] : this.colorDepthAlias[depth];\n const colorValue = colorObj[alias] || colorObj[depth];\n\n return colorValue ? `rgba(${colorValue}, ${opacity})` : null;\n }\n\n /**\n * Internal: Look for theme dynamic colors.\n * @param color Color name.\n * @param depth Color depth.\n * @param opacity Opacity value.\n * @returns RGBA value.\n */\n private getDynamic(color: string, depth: string, opacity: number): string {\n const themeVar = this.colorDepthAlias[depth] ? `--cura-color-${color}-${this.colorDepthAlias[depth]}` : `--cura-color-${color}-${depth}`;\n\n if (typeof window !== 'undefined' && typeof getComputedStyle !== 'undefined' && this.document) {\n const computedValue = getComputedStyle(this.document.documentElement).getPropertyValue(themeVar);\n return computedValue ? `rgba(var(${themeVar}), ${opacity})` : `rgba(var(--cura-color-primary-500), ${opacity})`;\n }\n\n // Fallback para SSR\n return `rgba(var(${themeVar}), ${opacity})`;\n }\n\n /**\n * Internal: Split color strings\n * @param colorWithDepth Color string [color]-[depth]. Ex.: primary-dark.\n * @returns Object { color: string, depth: string }.\n */\n private splitColorDepth(colorWithDepth: string): { color: string; depth: string } {\n const [color, depth] = colorWithDepth.toLowerCase().split(/-(.*)/);\n return { color: color ?? 'primary', depth: depth ?? 'base' };\n }\n}\n","import { DOCUMENT, inject, Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeSpacingModule {\n private document: Document = inject(DOCUMENT);\n\n private readonly curaSpacing = '--cura-spacing-base';\n /**\n * Returns the base spacing var defined in the theme\n * @returns CSS variable string or fallback value\n */\n getSpacing(): string {\n if (typeof window !== 'undefined' && typeof getComputedStyle !== 'undefined' && this.document) {\n const computedValue = getComputedStyle(this.document.body).getPropertyValue(this.curaSpacing);\n return computedValue ? `var(${this.curaSpacing})` : '4';\n }\n\n // Fallback para SSR\n return `var(${this.curaSpacing})`;\n }\n}\n","import { DOCUMENT, inject, Injectable } from '@angular/core';\nimport { ThemeDefault } from '../theme-presets/theme-default';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeFontsModule {\n private document: Document = inject(DOCUMENT);\n\n /**\n * Get the CSS variable related to the font family defined by the theme.\n * @param type 'body' | 'heading' | 'display'\n * @returns Related css variable as a string.\n */\n getFamily(type: string = 'body'): string {\n const curaFontFamilyCSSVar = `--cura-font-${type.toLowerCase()}`;\n\n if (typeof window !== 'undefined' && typeof getComputedStyle !== 'undefined' && this.document) {\n const computedValue = getComputedStyle(this.document.body).getPropertyValue(curaFontFamilyCSSVar);\n return computedValue ? `var(${curaFontFamilyCSSVar})` : 'var(--cura-font-body)';\n }\n\n // Fallback para SSR\n return `var(${curaFontFamilyCSSVar})`;\n }\n\n /**\n * Get the CSS variables related to font weights defined by the theme.\n * @returns Object with CSS vars weights definitions for thin, light, regular, medium, bold and black fonts.\n */\n getWeights(): any {\n const weights: { [key: string]: string } = {};\n Object.keys(ThemeDefault.font.weights).forEach((key) => {\n weights[key] = `var(--cura-font-weights-${key})`;\n });\n return weights;\n }\n\n /**\n * Get the CSS variable related to the font size base defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getSize(): string {\n return `var(--cura-font-size)`;\n }\n\n /**\n * Get CSS variable related to the font color defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getColor(): string {\n return `var(--cura-font-color)`;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Static } from '../theme-presets/static';\nimport { BreakpointSize, BreakpointPosition } from '../cura-api.types';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeBreakpointsModule {\n /**\n * Returns breakpoint values defined in the theme\n * @param size Breakpoint size\n * @param position Min or max position\n * @returns Breakpoint value or all breakpoints\n */\n get(size: BreakpointSize | null = null, position: BreakpointPosition | null = null): any {\n if (size) {\n const breakpoint = position ? Static.breakpoints[size][position] : Static.breakpoints[size];\n if (breakpoint || breakpoint === 0) return breakpoint;\n }\n return Static.breakpoints;\n }\n}\n","import { DOCUMENT, inject, Injectable } from '@angular/core';\nimport { ThemePresets } from '../theme-presets/theme-presets';\nimport { CuraCustomTheme } from '../cura-api.types';\nimport { CuraThemeColorsModule } from './cura-theme-colors.module';\nimport { CuraThemeSpacingModule } from './cura-theme-spacing.module';\nimport { CuraThemeFontsModule } from './cura-theme-fonts.module';\nimport { CuraThemeBreakpointsModule } from './cura-theme-breakpoints.module';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraThemeModule {\n public colors: CuraThemeColorsModule = inject(CuraThemeColorsModule);\n public spacing: CuraThemeSpacingModule = inject(CuraThemeSpacingModule);\n public fonts: CuraThemeFontsModule = inject(CuraThemeFontsModule);\n public breakpoints: CuraThemeBreakpointsModule = inject(CuraThemeBreakpointsModule);\n private document: Document = inject(DOCUMENT);\n\n private rootElement: HTMLElement | null = null;\n private readonly prefix = '--cura';\n private groupObject: { [key: string]: any } = {};\n\n constructor() {\n if (this.document?.defaultView) {\n this.rootElement = this.document.defaultView.document.documentElement;\n }\n }\n\n /**\n * Load a theme.\n * @param theme Theme tag.\n */\n load(theme = 'default'): void {\n const preset = ThemePresets[theme] ? ThemePresets[theme] : ThemePresets['default'];\n this.buildCssVars(this.prefix, preset);\n }\n\n /**\n * Load variables for SSR\n * @param theme Theme tag\n * @returns Object with CSS variables\n */\n loadVarsSSR(theme = 'default'): { [key: string]: any } {\n const preset = ThemePresets[theme] ? ThemePresets[theme] : ThemePresets['default'];\n this.buildCssVars(this.prefix, preset, true);\n return this.groupObject;\n }\n\n /**\n * Define a custom theme\n * @param customTheme Custom theme object definition\n */\n setCustom(customTheme: CuraCustomTheme): void {\n const customTag = customTheme.name;\n if (customTag in ThemePresets) {\n console.log('Error building custom theme. Theme %s already exists. Loading default theme.', customTag);\n this.load('default');\n } else {\n const preset = customTheme.fromPreset && customTheme.fromPreset in ThemePresets ? ThemePresets[customTheme.fromPreset] : ThemePresets['default'];\n const newTheme = { ...JSON.parse(JSON.stringify(preset)) };\n this.mergeObject(customTheme.definitions, newTheme);\n ThemePresets[customTag] = newTheme;\n this.load(customTag);\n }\n }\n\n /* Private methods */\n\n /**\n * Set css var based on object structure\n */\n private setCssVar = (prop: [string, any], path: string): void => {\n if (!this.rootElement) return;\n const varName = this.groupPath(path, prop[0]);\n this.rootElement.style.setProperty(varName, prop[1]);\n };\n\n private groupPath = (a: string, b: string): string => `${a}-${b}`;\n\n private isObject = (val: any): boolean => {\n return val && typeof val === 'object' && !Array.isArray(val);\n };\n\n /**\n * Deep merge objects\n */\n private mergeObject = (from: any, to: any): void => {\n const entries = Object.entries(from);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.mergeObject(e[1], to[e[0]]);\n } else {\n to[e[0]] = e[1];\n }\n }\n };\n\n /**\n * Set css vars from preset object\n */\n private buildCssVars = (path: string, obj: any, isGroup = false): void => {\n const entries = Object.entries(obj);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.buildCssVars(this.groupPath(path, e[0]), e[1], isGroup);\n } else {\n if (isGroup) {\n const varName = this.groupPath(path, e[0]);\n this.groupObject[varName] = e[1];\n } else {\n this.setCssVar(e, path);\n }\n }\n }\n };\n}\n","import { InjectionToken } from '@angular/core';\nimport { CuraConfig } from './cura-api.types';\n\n// Configura o cura com informações especificas de cada projeto.\nexport const CURA_CONFIG = new InjectionToken<CuraConfig>('curaConfig');\n","import { Injectable, WritableSignal, inject, signal } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { CuraConfig, APIThemeFunctions, CuraCustomTheme } from './cura-api.types';\nimport { CuraThemeModule } from './modules/cura-theme.module';\nimport { CURA_CONFIG } from './CuraConfig';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CuraApiService {\n private curaConfig: CuraConfig = inject(CURA_CONFIG);\n private document: Document = inject(DOCUMENT);\n private themeModule: CuraThemeModule = new CuraThemeModule();\n\n theme: APIThemeFunctions;\n localAssetsPath: WritableSignal<string>;\n\n constructor() {\n this.localAssetsPath = signal(this.curaConfig?.localAssetsPath ? this.curaConfig?.localAssetsPath : `/assets`);\n\n this.theme = {\n load: (themeTag: string) => this.themeModule.load(themeTag),\n setCustom: (customThemeDefinitions: CuraCustomTheme) => this.themeModule.setCustom(customThemeDefinitions),\n colors: {\n getColor: (colorWithDepth?: string, opacity?: number) => this.themeModule.colors.getColor(colorWithDepth, opacity),\n },\n fonts: {\n getFamily: (type?: string) => this.themeModule.fonts.getFamily(type),\n getWeights: () => this.themeModule.fonts.getWeights(),\n getSize: () => this.themeModule.fonts.getSize(),\n getColor: () => this.themeModule.fonts.getColor(),\n },\n spacing: {\n getSpacing: () => this.themeModule.spacing.getSpacing(),\n },\n breakpoints: {\n get: (size?: string, position?: string) => this.themeModule.breakpoints.get(size as any, position as any),\n },\n };\n\n this.addGlobalClasses();\n\n if (this.curaConfig && this.curaConfig.customTheme) {\n this.theme.setCustom(this.curaConfig.customTheme);\n } else {\n const theme = this.curaConfig && this.curaConfig.theme ? this.curaConfig.theme : 'default';\n this.theme.load(theme);\n }\n\n // Chama callback onReady se fornecido\n if (this.curaConfig && this.curaConfig.onReady) {\n this.curaConfig.onReady(this);\n }\n }\n\n /**\n * Adiciona classes CSS globais necessárias\n */\n private addGlobalClasses(): void {\n if (!this.document) return;\n\n const styleId = 'cura_global_classes';\n let styleElement = this.document.head.querySelector(`#${styleId}`);\n\n if (!styleElement) {\n styleElement = this.document.createElement('style');\n styleElement.id = styleId;\n styleElement.textContent = `\n .cura-body-scroll-lock {\n overflow: hidden;\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n }\n `;\n this.document.head.appendChild(styleElement);\n }\n }\n\n /**\n * Método para obter variáveis CSS para SSR\n * @param theme Nome do tema\n * @returns Objeto com variáveis CSS\n */\n getSSRVars(theme = 'default'): { [key: string]: any } {\n return this.themeModule.loadVarsSSR(theme);\n }\n\n /**\n * Método utilitário para adicionar/remover classe de scroll lock\n * @param lock Se deve bloquear o scroll\n */\n toggleBodyScrollLock(lock: boolean): void {\n if (!this.document) return;\n\n const body = this.document.body;\n if (lock) {\n body.classList.add('cura-body-scroll-lock');\n } else {\n body.classList.remove('cura-body-scroll-lock');\n }\n }\n}\n","export interface CuraCustomThemeColorDepth {\n base?: string;\n depth0?: string;\n depth20?: string;\n depth40?: string;\n depth80?: string;\n depth100?: string;\n}\n\nexport interface CuraCustomThemeColors {\n primary?: CuraCustomThemeColorDepth;\n secondary?: CuraCustomThemeColorDepth;\n accent?: CuraCustomThemeColorDepth;\n}\n\nexport interface CuraCustomThemeSpacing {\n base?: string;\n}\n\nexport interface CuraCustomThemeFontFamily {\n title?: string;\n body?: string;\n}\n\nexport interface CuraCustomThemeFontSize {\n base?: string;\n}\n\nexport interface CuraCustomThemeFont {\n family?: CuraCustomThemeFontFamily;\n size?: CuraCustomThemeFontSize;\n}\n\nexport interface CuraCustomThemeDefinitions {\n colors?: CuraCustomThemeColors;\n spacing?: CuraCustomThemeSpacing;\n font?: CuraCustomThemeFont;\n}\n\nexport interface CuraCustomTheme {\n name: string;\n definitions: CuraCustomThemeDefinitions;\n fromPreset?: string;\n}\n\nexport interface CuraConfig {\n localAssetsPath?: string;\n theme?: string;\n customTheme?: CuraCustomTheme;\n onReady?(api?: any): any;\n}\n\nexport enum InterfaceModes {\n LIGHT = 'light',\n DARK = 'dark',\n}\n\nexport interface APIThemeFunctions {\n load(themeTag: string): unknown;\n setCustom(customThemeDefinitions: CuraCustomTheme): unknown;\n colors: {\n getColor(colorWithDepth?: string, opacity?: number): string;\n };\n fonts: {\n getFamily(type?: string): string;\n getWeights(): any;\n getSize(): string;\n getColor(): string;\n };\n spacing: {\n getSpacing(): string;\n };\n breakpoints: {\n get(size?: string, position?: string): any;\n };\n}\n\nexport type BreakpointSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';\nexport type BreakpointPosition = 'min' | 'max';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["DOCUMENT"],"mappings":";;;;AAAA;;AAEG;AACI,MAAM,YAAY,GAAG;;AAE1B,IAAA,KAAK,EAAE;AACL,QAAA,OAAO,EAAE;AACP,YAAA,KAAK,EAAE,aAAa;AACpB,YAAA,KAAK,EAAE,YAAY;AACnB,YAAA,KAAK,EAAE,UAAU;AACjB,YAAA,KAAK,EAAE,UAAU;AACjB,YAAA,KAAK,EAAE,SAAS;AACjB,SAAA;AACD,QAAA,SAAS,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AAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;IC4CW;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,cAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACf,CAAC,EAHW,cAAc,KAAd,cAAc,GAAA,EAAA,CAAA,CAAA;;ACpD1B;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rededor/site-front-end-lib",
3
- "version": "20.0.11",
3
+ "version": "20.0.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",