@c80/ui 1.0.64 → 2.0.0
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 +1 -1
- package/esm2022/index.js +3 -0
- package/esm2022/index.js.map +1 -1
- package/esm2022/lib/action-list/action-list.component.js +5 -5
- package/esm2022/lib/action-list/action-list.component.js.map +1 -1
- package/esm2022/lib/action-list/action-list.types.js +0 -1
- package/esm2022/lib/card-level/card-level.component.js +12 -12
- package/esm2022/lib/card-level/card-level.component.js.map +1 -1
- package/esm2022/lib/card-level/card-level.interface.js +0 -1
- package/esm2022/lib/error-notification/error-notification.component.js +5 -5
- package/esm2022/lib/error-notification/error-notification.component.js.map +1 -1
- package/esm2022/lib/error-notification/error-notification.types.js +0 -1
- package/esm2022/lib/header/header.component.js +7 -6
- package/esm2022/lib/header/header.component.js.map +1 -1
- package/esm2022/lib/header/header.types.js +0 -1
- package/esm2022/lib/icon/icon.component.js +26 -26
- package/esm2022/lib/icon/icon.component.js.map +1 -1
- package/esm2022/lib/icon/icon.definitions.js +3 -0
- package/esm2022/lib/icon/icon.definitions.js.map +1 -1
- package/esm2022/lib/icon/icon.types.js +0 -1
- package/esm2022/lib/icon/theme.service.js +23 -8
- package/esm2022/lib/icon/theme.service.js.map +1 -1
- package/esm2022/lib/info-list/info-list.component.js +4 -4
- package/esm2022/lib/info-list/info-list.component.js.map +1 -1
- package/esm2022/lib/info-list/info-list.types.js +0 -1
- package/esm2022/lib/info-message/index.js +3 -0
- package/esm2022/lib/info-message/index.js.map +1 -0
- package/esm2022/lib/info-message/info-message.component.js +25 -0
- package/esm2022/lib/info-message/info-message.component.js.map +1 -0
- package/esm2022/lib/info-message/info-message.types.js +1 -0
- package/esm2022/lib/info-message/info-message.types.js.map +1 -0
- package/esm2022/lib/input-field/input-field.component.js +11 -11
- package/esm2022/lib/input-field/input-field.component.js.map +1 -1
- package/esm2022/lib/input-search/c80-input-search.component.js +5 -5
- package/esm2022/lib/input-search/c80-input-search.component.js.map +1 -1
- package/esm2022/lib/legal-disclaimer/index.js +2 -0
- package/esm2022/lib/legal-disclaimer/index.js.map +1 -0
- package/esm2022/lib/legal-disclaimer/legal-disclaimer.component.js +21 -0
- package/esm2022/lib/legal-disclaimer/legal-disclaimer.component.js.map +1 -0
- package/esm2022/lib/modal/modal.component.js +12 -5
- package/esm2022/lib/modal/modal.component.js.map +1 -1
- package/esm2022/lib/modal/modal.service.js +22 -10
- package/esm2022/lib/modal/modal.service.js.map +1 -1
- package/esm2022/lib/modal/modal.types.js +0 -1
- package/esm2022/lib/modal/modal.types.js.map +1 -1
- package/esm2022/lib/navigation-card/index.js +3 -0
- package/esm2022/lib/navigation-card/index.js.map +1 -0
- package/esm2022/lib/navigation-card/navigation-card.component.js +18 -0
- package/esm2022/lib/navigation-card/navigation-card.component.js.map +1 -0
- package/esm2022/lib/navigation-card/navigation-card.types.js +1 -0
- package/esm2022/lib/navigation-card/navigation-card.types.js.map +1 -0
- package/esm2022/lib/profile-stats/profile-stats.component.js +4 -4
- package/esm2022/lib/profile-stats/profile-stats.component.js.map +1 -1
- package/esm2022/lib/profile-stats/profile-stats.types.js +0 -1
- package/esm2022/lib/rating-display/rating-display.component.js +7 -7
- package/esm2022/lib/rating-display/rating-display.component.js.map +1 -1
- package/esm2022/lib/rating-stars/rating-stars.component.js +8 -8
- package/esm2022/lib/rating-stars/rating-stars.component.js.map +1 -1
- package/esm2022/lib/select/select.component.js +17 -17
- package/esm2022/lib/select/select.component.js.map +1 -1
- package/esm2022/lib/select/select.types.js +0 -1
- package/esm2022/lib/snackbar/snackbar.component.js +6 -6
- package/esm2022/lib/snackbar/snackbar.component.js.map +1 -1
- package/esm2022/lib/snackbar/snackbar.service.js +3 -3
- package/esm2022/lib/snackbar/snackbar.types.js +0 -1
- package/esm2022/lib/spinner/spinner.component.js +7 -7
- package/esm2022/lib/spinner/spinner.component.js.map +1 -1
- package/esm2022/lib/stat-card/stat-card.component.js +5 -5
- package/esm2022/lib/stat-card/stat-card.component.js.map +1 -1
- package/esm2022/lib/stat-card/stat-card.types.js +0 -1
- package/esm2022/lib/tab/c80-tab.component.js +6 -6
- package/esm2022/lib/tab/c80-tab.component.js.map +1 -1
- package/esm2022/lib/tab/c80-tab.types.js +0 -1
- package/esm2022/lib/tab/directives/c80-tab-item.directive.js +3 -3
- package/esm2022/lib/tab/directives/c80-tab-label.directive.js +3 -3
- package/esm2022/lib/table/table-column-visibility.service.js +3 -3
- package/esm2022/lib/table/table-crud-state.service.js +7 -7
- package/esm2022/lib/table/table-crud-state.service.js.map +1 -1
- package/esm2022/lib/table/table-data-converter.service.js +3 -3
- package/esm2022/lib/table/table-data-utils.service.js +3 -3
- package/esm2022/lib/table/table-dto-mapper.service.js +32 -35
- package/esm2022/lib/table/table-dto-mapper.service.js.map +1 -1
- package/esm2022/lib/table/table-pagination.service.js +10 -10
- package/esm2022/lib/table/table-pagination.service.js.map +1 -1
- package/esm2022/lib/table/table-selection.service.js +22 -22
- package/esm2022/lib/table/table-selection.service.js.map +1 -1
- package/esm2022/lib/table/table.component.js +46 -30
- package/esm2022/lib/table/table.component.js.map +1 -1
- package/esm2022/lib/table/table.types.js +0 -1
- package/esm2022/lib/table/table.utils.js +4 -3
- package/esm2022/lib/table/table.utils.js.map +1 -1
- package/index.d.ts +3 -0
- package/lib/header/header.component.d.ts +2 -1
- package/lib/icon/theme.service.d.ts +34 -0
- package/lib/info-message/index.d.ts +2 -0
- package/lib/info-message/info-message.component.d.ts +17 -0
- package/lib/info-message/info-message.types.d.ts +5 -0
- package/lib/legal-disclaimer/index.d.ts +1 -0
- package/lib/legal-disclaimer/legal-disclaimer.component.d.ts +15 -0
- package/lib/modal/modal.component.d.ts +5 -0
- package/lib/modal/modal.service.d.ts +11 -2
- package/lib/modal/modal.types.d.ts +1 -0
- package/lib/navigation-card/index.d.ts +2 -0
- package/lib/navigation-card/navigation-card.component.d.ts +10 -0
- package/lib/navigation-card/navigation-card.types.d.ts +7 -0
- package/lib/table/table-dto-mapper.service.d.ts +12 -5
- package/lib/table/table-selection.service.d.ts +1 -1
- package/lib/table/table.component.d.ts +2 -1
- package/lib/table/table.utils.d.ts +2 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.component.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/icon/icon.component.ts","../../../../../libs/ui/src/lib/icon/icon.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpG,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAG/C;;GAEG;AAUH,MAAM,OAAO,aAAa;IACP,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;IAErD,oBAAoB;IACX,IAAI,GAAG,KAAK,CAAW,OAAO,gDAAC,CAAC,CAAC,0BAA0B;IACpE,oBAAoB;IACX,KAAK,GAAG,KAAK,CAAwB,SAAS,iDAAC,CAAC,CAAC,sDAAsD;IAChH,oBAAoB;IACX,WAAW,GAAG,KAAK,CAAqB,SAAS,uDAAC,CAAC,CAAC,0CAA0C;IACvG,oBAAoB;IACX,QAAQ,GAAG,KAAK,CAAC,KAAK,oDAAC,CAAC,CAAC,uBAAuB;IACzD,oBAAoB;IACX,IAAI,GAAG,KAAK,CAA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AC,IAAI,CAAC,cAAc,EAAE,CAAC,UAAU,0DAAC,CAAC;IAElE,aAAa,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,SAAS,yDAAC,CAAC;IAEpE,eAAe,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC,WAAW,IAAI,gBAAgB,CAAC,WAAW,2DAAC,CAAC;IAE7G,qCAAqC;IAC5B,cAAc,GAAG,gBAAgB,CAAC;IAE3C;;;OAGG;IACH,aAAa,CAAC,KAAY;QACxB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC;YACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;wGApFU,aAAa;4FAAb,aAAa,u8CCjC1B,8wFAiDC,oqDDrBW,gBAAgB;;4FAKf,aAAa;kBATzB,SAAS;+BAEE,UAAU,cACR,IAAI,WACP,CAAC,gBAAgB,CAAC,mBAGV,uBAAuB,CAAC,MAAM","sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { Component, input, output, computed, ChangeDetectionStrategy, inject } from '@angular/core';\nimport {\n BASE_ICON_SIZE,\n BASE_ICON_COLORS,\n DISABLED_COLOR,\n DEFAULT_ICON_COLOR,\n DISABLED_OPACITY,\n SECONDARY_WARN_OPACITY,\n DEFAULT_OPACITY,\n OPACITY_REDUCED_COLORS,\n SVG_STROKE_ATTRS,\n THEME_DARK_COLOR,\n THEME_LIGHT_COLOR,\n} from './icon.constants';\nimport { ICON_DEFINITIONS } from './icon.definitions';\nimport type { ColorType, ButtonType, IconType } from './icon.types';\nimport { transformToBoolean, shouldIconUseFill } from './icon.utils';\nimport { ThemeService } from './theme.service';\n\n\n/**\n *\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'c80-icon',\n standalone: true,\n imports: [NgTemplateOutlet],\n templateUrl: './icon.component.html',\n styleUrls: ['./icon.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IconComponent {\n private readonly themeService = inject(ThemeService);\n\n /* v8 ignore next */\n readonly icon = input<IconType>('check'); // Tipo de icono a mostrar\n /* v8 ignore next */\n readonly color = input<ColorType | undefined>(undefined); // Color del icono (primary, secondary, warn, success)\n /* v8 ignore next */\n readonly customColor = input<string | undefined>(undefined); // Color personalizado (sobrescribe color)\n /* v8 ignore next */\n readonly disabled = input(false); // Estado deshabilitado\n /* v8 ignore next */\n readonly size = input(1); // Multiplicador de tamaño (1 = 24px)\n /* v8 ignore next */\n readonly button = input(false, { transform: transformToBoolean }); // Renderiza como botón clickeable\n /* v8 ignore next */\n readonly border = input(false, { transform: transformToBoolean }); // Agrega borde al wrapper\n /* v8 ignore next */\n readonly type = input<ButtonType>('button'); // Tipo de botón (button, submit, reset)\n /* v8 ignore next */\n readonly textLeft = input<string | undefined>(undefined); // Texto a la izquierda del icono\n /* v8 ignore next */\n readonly textRight = input<string | undefined>(undefined); // Texto a la derecha del icono\n /* v8 ignore next */\n readonly dark = input(false, { transform: transformToBoolean }); // Modo oscuro\n\n readonly iconClick = output<Event>(); // Evento emitido al hacer click (solo si button=true)\n\n readonly iconSize = computed(() => BASE_ICON_SIZE * this.size());\n\n readonly isDarkMode = computed(() => this.dark() || this.themeService.isDark());\n\n readonly iconColor = computed(() => {\n if (this.disabled()) return DISABLED_COLOR;\n\n const custom = this.customColor();\n if (custom) return custom;\n\n const colorType = this.color();\n\n // Si no hay color específico, usar color adaptativo al tema\n if (!colorType) {\n return this.themeService.isDark() ? THEME_DARK_COLOR : THEME_LIGHT_COLOR;\n }\n\n return BASE_ICON_COLORS[colorType] ?? DEFAULT_ICON_COLOR;\n });\n\n readonly iconOpacity = computed(() => {\n if (this.disabled()) return DISABLED_OPACITY;\n\n const hasCustomColor = this.customColor() !== undefined;\n const colorType = this.color();\n const isOpacityReducedColor = colorType && OPACITY_REDUCED_COLORS.includes(colorType);\n\n return !hasCustomColor && isOpacityReducedColor ? SECONDARY_WARN_OPACITY : DEFAULT_OPACITY;\n });\n\n // Optimización: Un solo lookup a ICON_DEFINITIONS\n readonly iconDefinition = computed(() => ICON_DEFINITIONS[this.icon()] ?? ICON_DEFINITIONS['default']);\n\n readonly iconPath = computed(() => this.iconDefinition().path);\n\n readonly additionalShapes = computed(() => this.iconDefinition().additionalShapes ?? []);\n\n readonly shouldFillIcon = computed(() => shouldIconUseFill(this.icon()));\n\n readonly multiColorIcon = computed(() => this.iconDefinition().multiColor);\n\n readonly hasMultiPaths = computed(() => this.multiColorIcon() !== undefined);\n\n readonly iconStrokeWidth = computed(() => this.iconDefinition().strokeWidth ?? SVG_STROKE_ATTRS.strokeWidth);\n\n // Exponer constantes SVG al template\n readonly svgStrokeAttrs = SVG_STROKE_ATTRS;\n\n /**\n *\n * @param event\n */\n onButtonClick(event: Event): void {\n if (!this.disabled()) {\n this.iconClick.emit(event);\n }\n }\n}\n","<ng-template #svgContent>\n <!-- eslint-disable-next-line @angular-eslint/template/no-inline-styles -->\n <svg [attr.width]=\"iconSize()\" [attr.height]=\"iconSize()\" viewBox=\"0 0 24 24\" fill=\"none\" [style.opacity]=\"iconOpacity()\">\n @for (shape of additionalShapes(); track $index) {\n @if (shape.type === 'circle') {\n <circle [attr.cx]=\"shape.cx\" [attr.cy]=\"shape.cy\" [attr.r]=\"shape.r\" [attr.stroke]=\"iconColor()\" [attr.stroke-width]=\"svgStrokeAttrs.strokeWidth\" [attr.fill]=\"shape.fill === 'color' ? iconColor() : 'none'\" />\n } @else if (shape.type === 'rect') {\n <rect [attr.x]=\"shape.x\" [attr.y]=\"shape.y\" [attr.width]=\"shape.width\" [attr.height]=\"shape.height\" [attr.rx]=\"shape.rx || null\" [attr.stroke]=\"iconColor()\" [attr.stroke-width]=\"svgStrokeAttrs.strokeWidth\"\n [attr.fill]=\"shape.fill === 'color' ? iconColor() : 'none'\" />\n } @else if (shape.type === 'path') {\n <path [attr.d]=\"shape.d\" [attr.stroke]=\"iconColor()\" [attr.stroke-width]=\"svgStrokeAttrs.strokeWidth\" [attr.stroke-linecap]=\"svgStrokeAttrs.strokeLinecap\" [attr.stroke-linejoin]=\"svgStrokeAttrs.strokeLinejoin\"\n [attr.fill]=\"shape.fill === 'color' ? iconColor() : 'none'\" />\n }\n }\n\n @if (hasMultiPaths()) {\n <!-- Iconos con múltiples paths y colores personalizados -->\n @for (path of multiColorIcon()!.paths; track $index) {\n <path [attr.d]=\"path\" [attr.fill]=\"multiColorIcon()!.colors[$index] || iconColor()\" stroke=\"none\" />\n }\n } @else {\n <!-- Iconos con un solo path -->\n <path [attr.d]=\"iconPath()\" [attr.stroke]=\"iconColor()\" [attr.fill]=\"shouldFillIcon() ? iconColor() : 'none'\" [attr.stroke-width]=\"iconStrokeWidth()\" [attr.stroke-linecap]=\"svgStrokeAttrs.strokeLinecap\"\n [attr.stroke-linejoin]=\"svgStrokeAttrs.strokeLinejoin\" />\n }\n </svg>\n</ng-template>\n\n<ng-template #textContent>\n @if (textLeft()) {\n <span class=\"icon-text ms-3\">{{ textLeft() }}</span>\n }\n <!-- eslint-disable-next-line @angular-eslint/template/no-inline-styles -->\n <span class=\"icon-content\" [style.width.px]=\"iconSize() + 8\" [style.height.px]=\"iconSize() + 8\">\n <ng-container *ngTemplateOutlet=\"svgContent\" />\n </span>\n @if (textRight()) {\n <span class=\"icon-text me-3\">{{ textRight() }}</span>\n }\n</ng-template>\n\n@if (button()) {\n<button [type]=\"type()\" [disabled]=\"disabled()\" class=\"icon-wrapper\" [class.icon-wrapper-border]=\"border()\" [class.dark-mode]=\"isDarkMode()\" (click)=\"onButtonClick($event)\">\n <ng-container *ngTemplateOutlet=\"textContent\" />\n</button>\n} @else {\n<span class=\"icon-wrapper\" [class.icon-wrapper-border]=\"border()\" [class.dark-mode]=\"isDarkMode()\">\n <ng-container *ngTemplateOutlet=\"textContent\" />\n</span>\n}"]}
|
|
1
|
+
{"version":3,"file":"icon.component.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/icon/icon.component.ts","../../../../../libs/ui/src/lib/icon/icon.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpG,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAG/C;;GAEG;AASH,MAAM,OAAO,aAAa;IACP,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;IAErD,oBAAoB;IACX,IAAI,GAAG,KAAK,CAAW,OAAO,2EAAC,CAAC,CAAC,0BAA0B;IACpE,oBAAoB;IACX,KAAK,GAAG,KAAK,CAAwB,SAAS,4EAAC,CAAC,CAAC,sDAAsD;IAChH,oBAAoB;IACX,WAAW,GAAG,KAAK,CAAqB,SAAS,kFAAC,CAAC,CAAC,0CAA0C;IACvG,oBAAoB;IACX,QAAQ,GAAG,KAAK,CAAC,KAAK,+EAAC,CAAC,CAAC,uBAAuB;IACzD,oBAAoB;IACX,IAAI,GAAG,KAAK,CAAC,CAAC,2EAAC,CAAC,CAAC,qCAAqC;IAC/D,oBAAoB;IACX,MAAM,GAAG,KAAK,CAAC,KAAK,8EAAI,SAAS,EAAE,kBAAkB,GAAG,CAAC,CAAC,kCAAkC;IACrG,oBAAoB;IACX,MAAM,GAAG,KAAK,CAAC,K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c,GAAG,gBAAgB,CAAC;IAE3C;;;OAGG;IACH,aAAa,CAAC,KAAY;QACxB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC;YACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;wGApFU,aAAa;4FAAb,aAAa,u8CChC1B,8sFA+CC,oqDDpBW,gBAAgB;;4FAKf,aAAa;kBARzB,SAAS;+BACE,UAAU,cACR,IAAI,WACP,CAAC,gBAAgB,CAAC,mBAGV,uBAAuB,CAAC,MAAM","sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\r\nimport { Component, input, output, computed, ChangeDetectionStrategy, inject } from '@angular/core';\r\nimport {\r\n BASE_ICON_SIZE,\r\n BASE_ICON_COLORS,\r\n DISABLED_COLOR,\r\n DEFAULT_ICON_COLOR,\r\n DISABLED_OPACITY,\r\n SECONDARY_WARN_OPACITY,\r\n DEFAULT_OPACITY,\r\n OPACITY_REDUCED_COLORS,\r\n SVG_STROKE_ATTRS,\r\n THEME_DARK_COLOR,\r\n THEME_LIGHT_COLOR,\r\n} from './icon.constants';\r\nimport { ICON_DEFINITIONS } from './icon.definitions';\r\nimport type { ColorType, ButtonType, IconType } from './icon.types';\r\nimport { transformToBoolean, shouldIconUseFill } from './icon.utils';\r\nimport { ThemeService } from './theme.service';\r\n\r\n\r\n/**\r\n *\r\n */\r\n@Component({\r\n selector: 'c80-icon',\r\n standalone: true,\r\n imports: [NgTemplateOutlet],\r\n templateUrl: './icon.component.html',\r\n styleUrls: ['./icon.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class IconComponent {\r\n private readonly themeService = inject(ThemeService);\r\n\r\n /* v8 ignore next */\r\n readonly icon = input<IconType>('check'); // Tipo de icono a mostrar\r\n /* v8 ignore next */\r\n readonly color = input<ColorType | undefined>(undefined); // Color del icono (primary, secondary, warn, success)\r\n /* v8 ignore next */\r\n readonly customColor = input<string | undefined>(undefined); // Color personalizado (sobrescribe color)\r\n /* v8 ignore next */\r\n readonly disabled = input(false); // Estado deshabilitado\r\n /* v8 ignore next */\r\n readonly size = input(1); // Multiplicador de tamaño (1 = 24px)\r\n /* v8 ignore next */\r\n readonly button = input(false, { transform: transformToBoolean }); // Renderiza como botón clickeable\r\n /* v8 ignore next */\r\n readonly border = input(false, { transform: transformToBoolean }); // Agrega borde al wrapper\r\n /* v8 ignore next */\r\n readonly type = input<ButtonType>('button'); // Tipo de botón (button, submit, reset)\r\n /* v8 ignore next */\r\n readonly textLeft = input<string | undefined>(undefined); // Texto a la izquierda del icono\r\n /* v8 ignore next */\r\n readonly textRight = input<string | undefined>(undefined); // Texto a la derecha del icono\r\n /* v8 ignore next */\r\n readonly dark = input(false, { transform: transformToBoolean }); // Modo oscuro\r\n\r\n readonly iconClick = output<Event>(); // Evento emitido al hacer click (solo si button=true)\r\n\r\n readonly iconSize = computed(() => BASE_ICON_SIZE * this.size());\r\n\r\n readonly isDarkMode = computed(() => this.dark() || this.themeService.isDark());\r\n\r\n readonly iconColor = computed(() => {\r\n if (this.disabled()) return DISABLED_COLOR;\r\n\r\n const custom = this.customColor();\r\n if (custom) return custom;\r\n\r\n const colorType = this.color();\r\n\r\n // Si no hay color específico, usar color adaptativo al tema\r\n if (!colorType) {\r\n return this.themeService.isDark() ? THEME_DARK_COLOR : THEME_LIGHT_COLOR;\r\n }\r\n\r\n return BASE_ICON_COLORS[colorType] ?? DEFAULT_ICON_COLOR;\r\n });\r\n\r\n readonly iconOpacity = computed(() => {\r\n if (this.disabled()) return DISABLED_OPACITY;\r\n\r\n const hasCustomColor = this.customColor() !== undefined;\r\n const colorType = this.color();\r\n const isOpacityReducedColor = colorType && OPACITY_REDUCED_COLORS.includes(colorType);\r\n\r\n return !hasCustomColor && isOpacityReducedColor ? SECONDARY_WARN_OPACITY : DEFAULT_OPACITY;\r\n });\r\n\r\n // Optimización: Un solo lookup a ICON_DEFINITIONS\r\n readonly iconDefinition = computed(() => ICON_DEFINITIONS[this.icon()] ?? ICON_DEFINITIONS['default']);\r\n\r\n readonly iconPath = computed(() => this.iconDefinition().path);\r\n\r\n readonly additionalShapes = computed(() => this.iconDefinition().additionalShapes ?? []);\r\n\r\n readonly shouldFillIcon = computed(() => shouldIconUseFill(this.icon()));\r\n\r\n readonly multiColorIcon = computed(() => this.iconDefinition().multiColor);\r\n\r\n readonly hasMultiPaths = computed(() => this.multiColorIcon() !== undefined);\r\n\r\n readonly iconStrokeWidth = computed(() => this.iconDefinition().strokeWidth ?? SVG_STROKE_ATTRS.strokeWidth);\r\n\r\n // Exponer constantes SVG al template\r\n readonly svgStrokeAttrs = SVG_STROKE_ATTRS;\r\n\r\n /**\r\n *\r\n * @param event\r\n */\r\n onButtonClick(event: Event): void {\r\n if (!this.disabled()) {\r\n this.iconClick.emit(event);\r\n }\r\n }\r\n}\r\n","<ng-template #svgContent>\r\n <svg [attr.width]=\"iconSize()\" [attr.height]=\"iconSize()\" viewBox=\"0 0 24 24\" fill=\"none\" [style.opacity]=\"iconOpacity()\">\r\n @for (shape of additionalShapes(); track $index) {\r\n @if (shape.type === 'circle') {\r\n <circle [attr.cx]=\"shape.cx\" [attr.cy]=\"shape.cy\" [attr.r]=\"shape.r\" [attr.stroke]=\"iconColor()\" [attr.stroke-width]=\"svgStrokeAttrs.strokeWidth\" [attr.fill]=\"shape.fill === 'color' ? iconColor() : 'none'\" />\r\n } @else if (shape.type === 'rect') {\r\n <rect [attr.x]=\"shape.x\" [attr.y]=\"shape.y\" [attr.width]=\"shape.width\" [attr.height]=\"shape.height\" [attr.rx]=\"shape.rx || null\" [attr.stroke]=\"iconColor()\" [attr.stroke-width]=\"svgStrokeAttrs.strokeWidth\"\r\n [attr.fill]=\"shape.fill === 'color' ? iconColor() : 'none'\" />\r\n } @else if (shape.type === 'path') {\r\n <path [attr.d]=\"shape.d\" [attr.stroke]=\"iconColor()\" [attr.stroke-width]=\"svgStrokeAttrs.strokeWidth\" [attr.stroke-linecap]=\"svgStrokeAttrs.strokeLinecap\" [attr.stroke-linejoin]=\"svgStrokeAttrs.strokeLinejoin\"\r\n [attr.fill]=\"shape.fill === 'color' ? iconColor() : 'none'\" />\r\n }\r\n }\r\n\r\n @if (hasMultiPaths()) {\r\n <!-- Iconos con múltiples paths y colores personalizados -->\r\n @for (path of multiColorIcon()!.paths; track $index) {\r\n <path [attr.d]=\"path\" [attr.fill]=\"multiColorIcon()!.colors[$index] || iconColor()\" stroke=\"none\" />\r\n }\r\n } @else {\r\n <!-- Iconos con un solo path -->\r\n <path [attr.d]=\"iconPath()\" [attr.stroke]=\"iconColor()\" [attr.fill]=\"shouldFillIcon() ? iconColor() : 'none'\" [attr.stroke-width]=\"iconStrokeWidth()\" [attr.stroke-linecap]=\"svgStrokeAttrs.strokeLinecap\"\r\n [attr.stroke-linejoin]=\"svgStrokeAttrs.strokeLinejoin\" />\r\n }\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #textContent>\r\n @if (textLeft()) {\r\n <span class=\"icon-text ms-3\">{{ textLeft() }}</span>\r\n }\r\n <span class=\"icon-content\" [style.width.px]=\"iconSize() + 8\" [style.height.px]=\"iconSize() + 8\">\r\n <ng-container *ngTemplateOutlet=\"svgContent\" />\r\n </span>\r\n @if (textRight()) {\r\n <span class=\"icon-text me-3\">{{ textRight() }}</span>\r\n }\r\n</ng-template>\r\n\r\n@if (button()) {\r\n<button [type]=\"type()\" [disabled]=\"disabled()\" class=\"icon-wrapper\" [class.icon-wrapper-border]=\"border()\" [class.dark-mode]=\"isDarkMode()\" (click)=\"onButtonClick($event)\">\r\n <ng-container *ngTemplateOutlet=\"textContent\" />\r\n</button>\r\n} @else {\r\n<span class=\"icon-wrapper\" [class.icon-wrapper-border]=\"border()\" [class.dark-mode]=\"isDarkMode()\">\r\n <ng-container *ngTemplateOutlet=\"textContent\" />\r\n</span>\r\n}"]}
|
|
@@ -56,6 +56,9 @@ export const ICON_DEFINITIONS = {
|
|
|
56
56
|
refresh: {
|
|
57
57
|
path: 'M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8M21 3v5h-5M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16M3 21v-5h5'
|
|
58
58
|
},
|
|
59
|
+
casino: {
|
|
60
|
+
path: 'M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z'
|
|
61
|
+
},
|
|
59
62
|
checkCircle: {
|
|
60
63
|
path: 'm9 12 2 2 4-4',
|
|
61
64
|
additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.definitions.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/icon/icon.definitions.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,GAAG,0IAA0I,CAAC;AAE9J;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA6C;IACtE,KAAK,EAAE;QACH,IAAI,EAAE,gBAAgB;KACzB;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,sBAAsB;KAC/B;IACD,IAAI,EAAE;QACF,IAAI,EAAE,0DAA0D;QAChE,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAA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AE;QACJ,IAAI,EAAE,+RAA+R;KACxS;IACD,kBAAkB,EAAE;QAChB,IAAI,EAAE,4IAA4I;KACrJ;IACD,OAAO,EAAE;QACL,IAAI,EAAE,gGAAgG;KACzG;IACD,QAAQ,EAAE;QACN,IAAI,EAAE,yGAAyG;QAC/G,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC;KACtD;IACD,OAAO,EAAE;QACL,IAAI,EAAE,sNAAsN;KAC/N;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,6aAA6a;KACtb;IACD,SAAS,EAAE;QACP,IAAI,EAAE,gZAAgZ;KACzZ;IACD,WAAW,EAAE;QACT,IAAI,EAAE,qaAAqa;KAC9a;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,iHAAiH;KAC1H;IACD,OAAO,EAAE;QACL,IAAI,EAAE,EAAE;QACR,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC;KACtE;CACK,CAAC","sourcesContent":["/* eslint-disable max-len */\n/* eslint-disable max-lines */\nimport type { IconDefinition } from './icon.types';\n\nconst HEART_PATH = 'M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z';\n\n/**\n * ICON DEFINITIONS - Estructura unificada que combina paths, shapes y multi-color\n * \n * NUEVA ARQUITECTURA: Una sola fuente de verdad para cada icono\n * - path: Path principal del SVG\n * - additionalShapes: Formas complementarias (círculos, rectángulos) \n * - multiColor: Configuración para iconos con múltiples colores específicos\n * \n * BENEFICIOS:\n * - Una búsqueda en lugar de 3 lookups separados (mejor performance)\n * - Garantiza consistencia (no hay iconos \"a medias\")\n * - Fácil mantenimiento y escalabilidad\n * - TypeScript más robusto\n */\nexport const ICON_DEFINITIONS: Readonly<Record<string, IconDefinition>> = {\n check: {\n path: 'M5 13l4 4L19 7'\n },\n cancel: {\n path: 'M6 6l12 12M6 18L18 6'\n },\n edit: {\n path: 'M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z',\n additionalShapes: [{ type: 'rect', x: '5', y: '19', width: '14', height: '2', rx: '1' }]\n },\n delete: {\n path: 'M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'\n },\n add: {\n path: 'M12 5v14M5 12h14'\n },\n remove: {\n path: 'M5 12h14'\n },\n view: {\n path: 'M12 5C7 5 2.73 8.11 1 12c1.73 3.89 6 7 11 7s9.27-3.11 11-7c-1.73-3.89-6-7-11-7z',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '3' }]\n },\n get: {\n path: 'm8.5 8.5 7 7',\n additionalShapes: [\n { type: 'circle', cx: '6', cy: '6', r: '3' },\n { type: 'circle', cx: '18', cy: '18', r: '3' },\n { type: 'path', d: 'm13 11 2 2-2 2' }\n ]\n },\n settings: {\n path: 'M12 1v6m0 6v10M3.34 7l5.2 3M15.46 14l5.2 3M3.34 17l5.2-3M15.46 10l5.2-3',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '3' }]\n },\n schedule: {\n path: 'M12 6v6l4 2',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n refresh: {\n path: 'M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8M21 3v5h-5M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16M3 21v-5h5'\n },\n checkCircle: {\n path: 'm9 12 2 2 4-4',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n cancelCircle: {\n path: 'm15 9-6 6m0-6 6 6',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n error: {\n path: 'M15 9L9 15M9 9l6 6',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n queue: {\n path: 'M3 12h18m-9-9v18',\n additionalShapes: [\n { type: 'rect', x: '2', y: '3', width: '20', height: '6', rx: '1' },\n { type: 'rect', x: '2', y: '15', width: '20', height: '6', rx: '1' }\n ]\n },\n arrowUp: {\n path: 'm18 15-6-6-6 6'\n },\n arrowDown: {\n path: 'm6 9 6 6 6-6'\n },\n toggleOn: {\n path: '',\n additionalShapes: [\n { type: 'rect', x: '2', y: '7', width: '20', height: '10', rx: '5' },\n { type: 'circle', cx: '18', cy: '12', r: '4', fill: 'color' }\n ]\n },\n toggleOff: {\n path: '',\n additionalShapes: [\n { type: 'rect', x: '2', y: '7', width: '20', height: '10', rx: '5' },\n { type: 'circle', cx: '6', cy: '12', r: '4', fill: 'color' }\n ]\n },\n search: {\n path: 'm21 21-6-6m2-5a7 7 0 1 1-14 0 7 7 0 0 1 14 0z'\n },\n upload: {\n path: 'M12 15V3m0 0l-4 4m4-4l4 4M2 17l.621 2.485A2 2 0 0 0 4.561 21h14.878a2 2 0 0 0 1.94-1.515L22 17'\n },\n image: {\n path: 'm21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21',\n additionalShapes: [\n { type: 'rect', x: '3', y: '3', width: '18', height: '18', rx: '2' },\n { type: 'circle', cx: '9', cy: '9', r: '2' }\n ]\n },\n pendingActions: {\n path: 'M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0z'\n },\n playCircle: {\n path: 'M14.752 11.168l-3.197-2.132A1 1 0 0 0 10 9.87v4.263a1 1 0 0 0 1.555.832l3.197-2.132a1 1 0 0 0 0-1.664z',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n play: {\n path: 'M8 5v14l11-7z'\n },\n stop: {\n path: 'M6 6h12v12H6z'\n },\n tune: {\n path: 'M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z'\n },\n visibility: {\n path: 'M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5z',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '3' }]\n },\n visibilityOff: {\n path: 'M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7z' +\n 'M2 4.27l2.28 2.28.46.46A11.804 11.804 0 0 0 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27z' +\n 'M7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2z' +\n 'm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z'\n },\n close: {\n path: 'M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'\n },\n record: {\n path: '',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '5', fill: 'color' }]\n },\n star: {\n path: 'M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z',\n fill: true\n },\n starFilled: {\n path: 'M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z',\n fill: true\n },\n xCircle: {\n path: 'M15 9l-6 6m0-6l6 6',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n key: {\n path: 'M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'\n },\n exclamationTriangle: {\n path: 'M12 9v4m0 4h.01',\n additionalShapes: [{ type: 'path', d: 'M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z' }]\n },\n clipboard: {\n path: 'M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'\n },\n download: {\n path: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4m4-5l5 5m0 0l5-5m-5 5V3'\n },\n shield: {\n path: 'M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z',\n fill: true\n },\n person: {\n path: 'M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z',\n fill: true\n },\n envelope: {\n path: 'M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z',\n additionalShapes: [{ type: 'path', d: 'm22 6-10 7L2 6' }]\n },\n infoCircle: {\n path: 'M12 16v-4m0-4h.01',\n strokeWidth: '3',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n info: {\n path: 'M12 11v5m0-9h.01',\n strokeWidth: '2.5'\n },\n checkSquare: {\n path: 'm9 11 3 3L22 4',\n additionalShapes: [{ type: 'rect', x: '3', y: '3', width: '18', height: '18', rx: '2' }]\n },\n square: {\n path: '',\n additionalShapes: [{ type: 'rect', x: '3', y: '3', width: '18', height: '18', rx: '2' }]\n },\n dashSquare: {\n path: 'M8 12h8',\n additionalShapes: [{ type: 'rect', x: '3', y: '3', width: '18', height: '18', rx: '2' }]\n },\n people: {\n path: 'M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3z' +\n 'm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z',\n fill: true\n },\n boxSeam: {\n path: 'M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z',\n additionalShapes: [\n { type: 'path', d: 'M21 8.5v7c0 .6-.2 1.2-.6 1.7l-7 4c-.3.2-.6.3-1 .3-.3 0-.7-.1-1-.3l-7-4c-.4-.5-.6-1.1-.6-1.7v-7c0-.6.2-1.2.6-1.7l7-4c.6-.4 1.4-.4 2 0l7 4c.4.5.6 1.1.6 1.7z' },\n { type: 'path', d: 'M3.3 7L12 12l8.7-5M12 22.5V12' }\n ]\n },\n personBadge: {\n path: 'M12 2L4 6v5c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V6l-8-4z',\n additionalShapes: [\n { type: 'circle', cx: '12', cy: '12', r: '1.5' },\n { type: 'path', d: 'M12 9.5v1m0 3v1m2.5-2.5h-1m-3 0h-1' }\n ]\n },\n listTask: {\n path: 'M9 6h12M9 12h12M9 18h12',\n additionalShapes: [\n { type: 'path', d: 'M3 5l1.5 1.5L7 4' },\n { type: 'path', d: 'M3 11l1.5 1.5L7 10' },\n { type: 'path', d: 'M3 17l1.5 1.5L7 16' }\n ]\n },\n shuffle: {\n path: 'M16 3h5v5M4 20L21 3M21 16v5h-5M15 15l6 6M4 4l5 5'\n },\n motor: {\n path: 'M9 3v3m6-3v3M9 18v3m6-3v3M3 9h3M3 15h3m12-6h3m-3 6h3',\n additionalShapes: [\n { type: 'circle', cx: '12', cy: '12', r: '8' },\n { type: 'circle', cx: '12', cy: '12', r: '3', fill: 'color' },\n { type: 'path', d: 'M12 4v2m0 12v2M4 12h2m12 0h2M7.05 7.05l1.42 1.42m7.07 7.07l1.41 1.41M7.05 16.95l1.42-1.42m7.07-7.07l1.41-1.41' }\n ]\n },\n box: {\n path: 'M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8z',\n additionalShapes: [\n { type: 'path', d: 'M12 2.7L3.3 7v9.3l8.7 5 8.7-5V7L12 2.7z' },\n { type: 'path', d: 'M12 22V12M3.3 7L12 12l8.7-5' }\n ]\n },\n bell: {\n path: 'M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9M13.73 21a2 2 0 0 1-3.46 0'\n },\n message: {\n path: 'M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'\n },\n send: {\n path: 'M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z'\n },\n file: {\n path: 'M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z',\n additionalShapes: [{ type: 'path', d: 'M13 2v7h7' }]\n },\n folder: {\n path: 'M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'\n },\n save: {\n path: 'M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z',\n additionalShapes: [\n { type: 'path', d: 'M15 3v6h4M9 21v-8h6v8' }\n ]\n },\n print: {\n path: 'M6 9V2h12v7M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2',\n additionalShapes: [{ type: 'rect', x: '6', y: '14', width: '12', height: '8', rx: '1' }]\n },\n clock: {\n path: 'M12 6v6l4 2',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n calendar: {\n path: 'M8 2v4m8-4v4M3 10h18',\n additionalShapes: [{ type: 'rect', x: '3', y: '4', width: '18', height: '18', rx: '2' }]\n },\n timer: {\n path: 'M12 8v4l2 2',\n additionalShapes: [\n { type: 'circle', cx: '12', cy: '13', r: '9' },\n { type: 'path', d: 'M9 2h6' }\n ]\n },\n lock: {\n path: 'M19 11H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2zM7 11V7a5 5 0 0 1 10 0v4'\n },\n unlock: {\n path: 'M19 11H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2zM7 11V7a5 5 0 0 1 9.9-1'\n },\n chart: {\n path: 'M3 3v18h18M7 16l4-4 4 4 6-6'\n },\n table: {\n path: 'M3 3h18v18H3zM3 9h18M3 15h18M9 3v18'\n },\n database: {\n path: 'M12 8c-4.97 0-9-1.34-9-3s4.03-3 9-3 9 1.34 9 3-4.03 3-9 3zM3 5v5c0 1.66 4.03 3 9 3s9-1.34 9-3V5M3 10v5c0 1.66 4.03 3 9 3s9-1.34 9-3v-5'\n },\n home: {\n path: 'm3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z',\n additionalShapes: [{ type: 'path', d: 'M9 22V12h6v10' }]\n },\n menu: {\n path: 'M3 12h18M3 6h18M3 18h18'\n },\n moreVert: {\n path: 'M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'\n },\n arrowLeft: {\n path: 'm15 18-6-6 6-6'\n },\n arrowRight: {\n path: 'm9 18 6-6-6-6'\n },\n arrowBack: {\n path: 'm12 19-7-7 7-7M19 12H5'\n },\n history: {\n path: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8',\n additionalShapes: [\n { type: 'path', d: 'M3 3v5h5' },\n { type: 'path', d: 'M12 7v5l4 2' }\n ]\n },\n copy: {\n path: 'M8 4v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7.242a2 2 0 0 0-.602-1.43L16.083 2.57A2 2 0 0 0 14.685 2H10a2 2 0 0 0-2 2z',\n additionalShapes: [{ type: 'rect', x: '4', y: '8', width: '12', height: '12', rx: '2' }]\n },\n filter: {\n path: 'M22 3H2l8 9.46V19l4 2v-8.54L22 3z'\n },\n sort: {\n path: 'M11 5h10M11 9h7M11 13h4M3 17l3 3m0 0l3-3m-3 3V4'\n },\n help: {\n path: 'M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3m.08 4h.01',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n warning: {\n path: 'M12 9v4',\n additionalShapes: [\n { type: 'circle', cx: '12', cy: '12', r: '10' },\n { type: 'circle', cx: '12', cy: '17', r: '0.5', fill: 'color' }\n ]\n },\n dashboard: {\n path: 'M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z'\n },\n settingsApplications: {\n path: 'M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2z' +\n 'm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8' +\n 'c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68' +\n 'l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8' +\n 'c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z'\n },\n route: {\n path: 'M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18A2.996 2.996 0 0 0 15 18c0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82z'\n },\n developerBoard: {\n path: 'M9 2v4m6-4v4M9 18v4m6-18v4M2 9h4M2 15h4m16-6h4m-4 6h4',\n additionalShapes: [\n { type: 'rect', x: '5', y: '5', width: '14', height: '14', rx: '2' },\n { type: 'rect', x: '9', y: '9', width: '6', height: '6', rx: '0.5' },\n { type: 'circle', cx: '12', cy: '12', r: '1.5', fill: 'color' }\n ]\n },\n directions: {\n path: 'm21.41 10.59-7.99-8c-.78-.78-2.05-.78-2.83 0l-8.01 8c-.78.78-.78 2.05 0 2.83l8.01 8c.78.78 2.05.78 2.83 0l7.99-8c.79-.79.79-2.05 0-2.83zM13.5 14.5V12H10v3H8v-4c0-.55.45-1 1-1h4.5V7.5L17 11l-3.5 3.5z'\n },\n category: {\n path: 'M12 2 6.5 11h11z',\n additionalShapes: [\n { type: 'circle', cx: '17.5', cy: '17.5', r: '3.5' },\n { type: 'rect', x: '3', y: '14', width: '7', height: '7', rx: '1' }\n ]\n },\n logout: {\n path: 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4m7 14 5-5m0 0-5-5m5 5H9'\n },\n heart: {\n path: HEART_PATH\n },\n heartFilled: {\n path: HEART_PATH,\n fill: true\n },\n heartBroken: {\n path: HEART_PATH,\n additionalShapes: [\n { type: 'path', d: 'M12 5.5l-1 2.5h2l-1.5 3h1.5l-1 3.5V21' }\n ]\n },\n user: {\n path: 'M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '7', r: '4' }]\n },\n sun: {\n path: 'M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1z' +\n 'M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1z' +\n 'M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06z' +\n 'm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z'\n },\n moon: {\n path: 'M9.37 5.51C9.19 6.15 9.1 6.82 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49z' +\n 'M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z'\n },\n google: {\n path: '',\n multiColor: {\n colors: [\n '#4285F4', // Azul - parte superior\n '#34A853', // Verde - parte inferior derecha\n '#FBBC05', // Amarillo - parte inferior izquierda\n '#EA4335', // Rojo - parte izquierda\n ],\n paths: [\n 'M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z',\n 'M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z',\n 'M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z',\n 'M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'\n ]\n }\n },\n local_drink: {\n path: 'M3 2l2.01 18.23C5.13 21.23 5.97 22 7 22h10c1.03 0 1.87-.77 1.99-1.77L21 2H3zm9 17c-1.66 0-3-1.34-3-3 0-2 3-5.4 3-5.4s3 3.4 3 5.4c0 1.66-1.34 3-3 3zm6.33-11H5.67l-.44-4h13.53l-.43 4z'\n },\n list: {\n path: 'M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z'\n },\n gpsFixed: {\n path: 'M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3A8.994 8.994 0 0 0 13 3.06V1h-2v2.06A8.994 8.994 0 0 0 3.06 11H1v2h2.06A8.994 8.994 0 0 0 11 20.94V23h2v-2.06A8.994 8.994 0 0 0 20.94 13H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z'\n },\n locationPin: {\n path: 'M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'\n },\n controlPoint: {\n path: 'M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7z',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n },\n photo: {\n path: 'M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'\n },\n restaurant: {\n path: 'M11 9H9V2H7v7H5V2H3v7c0 2.12 1.66 3.84 3.75 3.97V22h2.5v-9.03C11.34 12.84 13 11.12 13 9V2h-2v7zm5-3v8h2.5v8H21V2c-2.76 0-5 2.24-5 4z'\n },\n iceCream: {\n path: 'M8.79 12.4 12 20.94l3.21-8.54C16.26 12.15 17 11.2 17 10c0-1.66-1.34-3-3-3 0-.55-.45-1-1-1s-1 .45-1 1c-1.66 0-3 1.34-3 3 0 1.2.74 2.15 1.79 2.4z',\n additionalShapes: [\n { type: 'path', d: 'M14 2a3 3 0 0 1 3 3h-2a1 1 0 0 0-1-1z' },\n { type: 'path', d: 'M10 2a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1z' }\n ]\n },\n barChart: {\n path: 'M5 9.2h3V19H5V9.2zM10.6 5h2.8v14h-2.8V5zm5.6 8H19v6h-2.8v-6z'\n },\n waterDrop: {\n path: 'M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z'\n },\n cocktailGlass: {\n path: 'M21 5V3H3v2l8 9v5H6v2h12v-2h-5v-5l8-9zM7.43 7 5.66 5h12.69l-1.78 2H7.43z'\n },\n acUnit: {\n path: 'M22 11h-4.17l3.24-3.24-1.41-1.42L15 11h-2V9l4.66-4.66-1.42-1.41L13 6.17V2h-2v4.17L7.76 2.93 6.34 4.34 11 9v2H9L4.34 6.34 2.93 7.76 6.17 11H2v2h4.17l-3.24 3.24 1.41 1.42L9 13h2v2l-4.66 4.66 1.42 1.41L11 17.83V22h2v-4.17l3.24 3.24 1.42-1.41L13 15v-2h2l4.66 4.66 1.41-1.42L17.83 13H22v-2z'\n },\n formatListNumbered: {\n path: 'M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z'\n },\n widgets: {\n path: 'M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z'\n },\n contrast: {\n path: 'M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm0-18c4.42 0 8 3.58 8 8s-3.58 8-8 8z',\n additionalShapes: [{ type: 'path', d: 'M12 4v16' }]\n },\n grid3x3: {\n path: 'M20 3H4c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM8 19H5v-3h3v3zm0-5H5v-3h3v3zm0-5H5V6h3v3zm5 10h-3v-3h3v3zm0-5h-3v-3h3v3zm0-5h-3V6h3v3zm5 10h-3v-3h3v3zm0-5h-3v-3h3v3zm0-5h-3V6h3v3z'\n },\n monetizationOn: {\n path: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16z'\n },\n calculate: {\n path: 'M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM13.03 7.06 14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41-1.41-1.42zM6.25 7.72h5v1.5h-5v-1.5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2V16zm5.13.02-1.41-1.41-1.46 1.41-1.05-1.05 1.41-1.41-1.41-1.41L13.76 11l1.41 1.41 1.41-1.41 1.06 1.06-1.41 1.41 1.41 1.41-1.01 1.05z'\n },\n buildCircle: {\n path: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5.78 14.61-1.14 1.14-1.71-1.71-2.28 2.27-1.14-1.14 2.27-2.27-1.71-1.71 1.14-1.14 1.71 1.71 1.71-1.71 1.14 1.14-1.71 1.71 1.72 1.71zM15.5 7.5c0 .83-.67 1.5-1.5 1.5H8.75v3.68A2.99 2.99 0 0 0 10 9.5c1.65 0 3 1.35 3 3s-1.35 3-3 3c-1.3 0-2.4-.84-2.82-2H5.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1.68c.15-.62.51-1.16 1-1.55V7.5c0-.28.22-.5.5-.5H14c.28 0 .5.22.5.5z'\n },\n addBox: {\n path: 'M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z'\n },\n default: {\n path: '',\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\n }\n} as const;"]}
|
|
1
|
+
{"version":3,"file":"icon.definitions.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/icon/icon.definitions.ts"],"names":[],"mappings":"AAGA,MAAM,UAAU,GAAG,0IAA0I,CAAC;AAE9J;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA6C;IACtE,KAAK,EAAE;QACH,IAAI,EAAE,gBAAgB;KACzB;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,sBAAsB;KAC/B;IACD,IAAI,EAAE;QACF,IAAI,EAAE,0DAA0D;QAChE,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE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EAAE,4IAA4I;KACrJ;IACD,OAAO,EAAE;QACL,IAAI,EAAE,gGAAgG;KACzG;IACD,QAAQ,EAAE;QACN,IAAI,EAAE,yGAAyG;QAC/G,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC;KACtD;IACD,OAAO,EAAE;QACL,IAAI,EAAE,sNAAsN;KAC/N;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,6aAA6a;KACtb;IACD,SAAS,EAAE;QACP,IAAI,EAAE,gZAAgZ;KACzZ;IACD,WAAW,EAAE;QACT,IAAI,EAAE,qaAAqa;KAC9a;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,iHAAiH;KAC1H;IACD,OAAO,EAAE;QACL,IAAI,EAAE,EAAE;QACR,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC;KACtE;CACK,CAAC","sourcesContent":["/* eslint-disable max-len */\r\nimport type { IconDefinition } from './icon.types';\r\n\r\nconst HEART_PATH = 'M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z';\r\n\r\n/**\r\n * ICON DEFINITIONS - Estructura unificada que combina paths, shapes y multi-color\r\n * \r\n * NUEVA ARQUITECTURA: Una sola fuente de verdad para cada icono\r\n * - path: Path principal del SVG\r\n * - additionalShapes: Formas complementarias (círculos, rectángulos) \r\n * - multiColor: Configuración para iconos con múltiples colores específicos\r\n * \r\n * BENEFICIOS:\r\n * - Una búsqueda en lugar de 3 lookups separados (mejor performance)\r\n * - Garantiza consistencia (no hay iconos \"a medias\")\r\n * - Fácil mantenimiento y escalabilidad\r\n * - TypeScript más robusto\r\n */\r\nexport const ICON_DEFINITIONS: Readonly<Record<string, IconDefinition>> = {\r\n check: {\r\n path: 'M5 13l4 4L19 7'\r\n },\r\n cancel: {\r\n path: 'M6 6l12 12M6 18L18 6'\r\n },\r\n edit: {\r\n path: 'M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z',\r\n additionalShapes: [{ type: 'rect', x: '5', y: '19', width: '14', height: '2', rx: '1' }]\r\n },\r\n delete: {\r\n path: 'M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'\r\n },\r\n add: {\r\n path: 'M12 5v14M5 12h14'\r\n },\r\n remove: {\r\n path: 'M5 12h14'\r\n },\r\n view: {\r\n path: 'M12 5C7 5 2.73 8.11 1 12c1.73 3.89 6 7 11 7s9.27-3.11 11-7c-1.73-3.89-6-7-11-7z',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '3' }]\r\n },\r\n get: {\r\n path: 'm8.5 8.5 7 7',\r\n additionalShapes: [\r\n { type: 'circle', cx: '6', cy: '6', r: '3' },\r\n { type: 'circle', cx: '18', cy: '18', r: '3' },\r\n { type: 'path', d: 'm13 11 2 2-2 2' }\r\n ]\r\n },\r\n settings: {\r\n path: 'M12 1v6m0 6v10M3.34 7l5.2 3M15.46 14l5.2 3M3.34 17l5.2-3M15.46 10l5.2-3',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '3' }]\r\n },\r\n schedule: {\r\n path: 'M12 6v6l4 2',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n refresh: {\r\n path: 'M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8M21 3v5h-5M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16M3 21v-5h5'\r\n },\r\n casino: {\r\n path: 'M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z'\r\n },\r\n checkCircle: {\r\n path: 'm9 12 2 2 4-4',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n cancelCircle: {\r\n path: 'm15 9-6 6m0-6 6 6',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n error: {\r\n path: 'M15 9L9 15M9 9l6 6',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n queue: {\r\n path: 'M3 12h18m-9-9v18',\r\n additionalShapes: [\r\n { type: 'rect', x: '2', y: '3', width: '20', height: '6', rx: '1' },\r\n { type: 'rect', x: '2', y: '15', width: '20', height: '6', rx: '1' }\r\n ]\r\n },\r\n arrowUp: {\r\n path: 'm18 15-6-6-6 6'\r\n },\r\n arrowDown: {\r\n path: 'm6 9 6 6 6-6'\r\n },\r\n toggleOn: {\r\n path: '',\r\n additionalShapes: [\r\n { type: 'rect', x: '2', y: '7', width: '20', height: '10', rx: '5' },\r\n { type: 'circle', cx: '18', cy: '12', r: '4', fill: 'color' }\r\n ]\r\n },\r\n toggleOff: {\r\n path: '',\r\n additionalShapes: [\r\n { type: 'rect', x: '2', y: '7', width: '20', height: '10', rx: '5' },\r\n { type: 'circle', cx: '6', cy: '12', r: '4', fill: 'color' }\r\n ]\r\n },\r\n search: {\r\n path: 'm21 21-6-6m2-5a7 7 0 1 1-14 0 7 7 0 0 1 14 0z'\r\n },\r\n upload: {\r\n path: 'M12 15V3m0 0l-4 4m4-4l4 4M2 17l.621 2.485A2 2 0 0 0 4.561 21h14.878a2 2 0 0 0 1.94-1.515L22 17'\r\n },\r\n image: {\r\n path: 'm21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21',\r\n additionalShapes: [\r\n { type: 'rect', x: '3', y: '3', width: '18', height: '18', rx: '2' },\r\n { type: 'circle', cx: '9', cy: '9', r: '2' }\r\n ]\r\n },\r\n pendingActions: {\r\n path: 'M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0z'\r\n },\r\n playCircle: {\r\n path: 'M14.752 11.168l-3.197-2.132A1 1 0 0 0 10 9.87v4.263a1 1 0 0 0 1.555.832l3.197-2.132a1 1 0 0 0 0-1.664z',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n play: {\r\n path: 'M8 5v14l11-7z'\r\n },\r\n stop: {\r\n path: 'M6 6h12v12H6z'\r\n },\r\n tune: {\r\n path: 'M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z'\r\n },\r\n visibility: {\r\n path: 'M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5z',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '3' }]\r\n },\r\n visibilityOff: {\r\n path: 'M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7z' +\r\n 'M2 4.27l2.28 2.28.46.46A11.804 11.804 0 0 0 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27z' +\r\n 'M7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2z' +\r\n 'm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z'\r\n },\r\n close: {\r\n path: 'M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'\r\n },\r\n record: {\r\n path: '',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '5', fill: 'color' }]\r\n },\r\n star: {\r\n path: 'M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z',\r\n fill: true\r\n },\r\n starFilled: {\r\n path: 'M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z',\r\n fill: true\r\n },\r\n xCircle: {\r\n path: 'M15 9l-6 6m0-6l6 6',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n key: {\r\n path: 'M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'\r\n },\r\n exclamationTriangle: {\r\n path: 'M12 9v4m0 4h.01',\r\n additionalShapes: [{ type: 'path', d: 'M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z' }]\r\n },\r\n clipboard: {\r\n path: 'M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'\r\n },\r\n download: {\r\n path: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4m4-5l5 5m0 0l5-5m-5 5V3'\r\n },\r\n shield: {\r\n path: 'M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z',\r\n fill: true\r\n },\r\n person: {\r\n path: 'M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z',\r\n fill: true\r\n },\r\n envelope: {\r\n path: 'M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z',\r\n additionalShapes: [{ type: 'path', d: 'm22 6-10 7L2 6' }]\r\n },\r\n infoCircle: {\r\n path: 'M12 16v-4m0-4h.01',\r\n strokeWidth: '3',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n info: {\r\n path: 'M12 11v5m0-9h.01',\r\n strokeWidth: '2.5'\r\n },\r\n checkSquare: {\r\n path: 'm9 11 3 3L22 4',\r\n additionalShapes: [{ type: 'rect', x: '3', y: '3', width: '18', height: '18', rx: '2' }]\r\n },\r\n square: {\r\n path: '',\r\n additionalShapes: [{ type: 'rect', x: '3', y: '3', width: '18', height: '18', rx: '2' }]\r\n },\r\n dashSquare: {\r\n path: 'M8 12h8',\r\n additionalShapes: [{ type: 'rect', x: '3', y: '3', width: '18', height: '18', rx: '2' }]\r\n },\r\n people: {\r\n path: 'M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3z' +\r\n 'm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z',\r\n fill: true\r\n },\r\n boxSeam: {\r\n path: 'M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z',\r\n additionalShapes: [\r\n { type: 'path', d: 'M21 8.5v7c0 .6-.2 1.2-.6 1.7l-7 4c-.3.2-.6.3-1 .3-.3 0-.7-.1-1-.3l-7-4c-.4-.5-.6-1.1-.6-1.7v-7c0-.6.2-1.2.6-1.7l7-4c.6-.4 1.4-.4 2 0l7 4c.4.5.6 1.1.6 1.7z' },\r\n { type: 'path', d: 'M3.3 7L12 12l8.7-5M12 22.5V12' }\r\n ]\r\n },\r\n personBadge: {\r\n path: 'M12 2L4 6v5c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V6l-8-4z',\r\n additionalShapes: [\r\n { type: 'circle', cx: '12', cy: '12', r: '1.5' },\r\n { type: 'path', d: 'M12 9.5v1m0 3v1m2.5-2.5h-1m-3 0h-1' }\r\n ]\r\n },\r\n listTask: {\r\n path: 'M9 6h12M9 12h12M9 18h12',\r\n additionalShapes: [\r\n { type: 'path', d: 'M3 5l1.5 1.5L7 4' },\r\n { type: 'path', d: 'M3 11l1.5 1.5L7 10' },\r\n { type: 'path', d: 'M3 17l1.5 1.5L7 16' }\r\n ]\r\n },\r\n shuffle: {\r\n path: 'M16 3h5v5M4 20L21 3M21 16v5h-5M15 15l6 6M4 4l5 5'\r\n },\r\n motor: {\r\n path: 'M9 3v3m6-3v3M9 18v3m6-3v3M3 9h3M3 15h3m12-6h3m-3 6h3',\r\n additionalShapes: [\r\n { type: 'circle', cx: '12', cy: '12', r: '8' },\r\n { type: 'circle', cx: '12', cy: '12', r: '3', fill: 'color' },\r\n { type: 'path', d: 'M12 4v2m0 12v2M4 12h2m12 0h2M7.05 7.05l1.42 1.42m7.07 7.07l1.41 1.41M7.05 16.95l1.42-1.42m7.07-7.07l1.41-1.41' }\r\n ]\r\n },\r\n box: {\r\n path: 'M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8z',\r\n additionalShapes: [\r\n { type: 'path', d: 'M12 2.7L3.3 7v9.3l8.7 5 8.7-5V7L12 2.7z' },\r\n { type: 'path', d: 'M12 22V12M3.3 7L12 12l8.7-5' }\r\n ]\r\n },\r\n bell: {\r\n path: 'M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9M13.73 21a2 2 0 0 1-3.46 0'\r\n },\r\n message: {\r\n path: 'M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'\r\n },\r\n send: {\r\n path: 'M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z'\r\n },\r\n file: {\r\n path: 'M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z',\r\n additionalShapes: [{ type: 'path', d: 'M13 2v7h7' }]\r\n },\r\n folder: {\r\n path: 'M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'\r\n },\r\n save: {\r\n path: 'M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z',\r\n additionalShapes: [\r\n { type: 'path', d: 'M15 3v6h4M9 21v-8h6v8' }\r\n ]\r\n },\r\n print: {\r\n path: 'M6 9V2h12v7M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2',\r\n additionalShapes: [{ type: 'rect', x: '6', y: '14', width: '12', height: '8', rx: '1' }]\r\n },\r\n clock: {\r\n path: 'M12 6v6l4 2',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n calendar: {\r\n path: 'M8 2v4m8-4v4M3 10h18',\r\n additionalShapes: [{ type: 'rect', x: '3', y: '4', width: '18', height: '18', rx: '2' }]\r\n },\r\n timer: {\r\n path: 'M12 8v4l2 2',\r\n additionalShapes: [\r\n { type: 'circle', cx: '12', cy: '13', r: '9' },\r\n { type: 'path', d: 'M9 2h6' }\r\n ]\r\n },\r\n lock: {\r\n path: 'M19 11H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2zM7 11V7a5 5 0 0 1 10 0v4'\r\n },\r\n unlock: {\r\n path: 'M19 11H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2zM7 11V7a5 5 0 0 1 9.9-1'\r\n },\r\n chart: {\r\n path: 'M3 3v18h18M7 16l4-4 4 4 6-6'\r\n },\r\n table: {\r\n path: 'M3 3h18v18H3zM3 9h18M3 15h18M9 3v18'\r\n },\r\n database: {\r\n path: 'M12 8c-4.97 0-9-1.34-9-3s4.03-3 9-3 9 1.34 9 3-4.03 3-9 3zM3 5v5c0 1.66 4.03 3 9 3s9-1.34 9-3V5M3 10v5c0 1.66 4.03 3 9 3s9-1.34 9-3v-5'\r\n },\r\n home: {\r\n path: 'm3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z',\r\n additionalShapes: [{ type: 'path', d: 'M9 22V12h6v10' }]\r\n },\r\n menu: {\r\n path: 'M3 12h18M3 6h18M3 18h18'\r\n },\r\n moreVert: {\r\n path: 'M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'\r\n },\r\n arrowLeft: {\r\n path: 'm15 18-6-6 6-6'\r\n },\r\n arrowRight: {\r\n path: 'm9 18 6-6-6-6'\r\n },\r\n arrowBack: {\r\n path: 'm12 19-7-7 7-7M19 12H5'\r\n },\r\n history: {\r\n path: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8',\r\n additionalShapes: [\r\n { type: 'path', d: 'M3 3v5h5' },\r\n { type: 'path', d: 'M12 7v5l4 2' }\r\n ]\r\n },\r\n copy: {\r\n path: 'M8 4v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7.242a2 2 0 0 0-.602-1.43L16.083 2.57A2 2 0 0 0 14.685 2H10a2 2 0 0 0-2 2z',\r\n additionalShapes: [{ type: 'rect', x: '4', y: '8', width: '12', height: '12', rx: '2' }]\r\n },\r\n filter: {\r\n path: 'M22 3H2l8 9.46V19l4 2v-8.54L22 3z'\r\n },\r\n sort: {\r\n path: 'M11 5h10M11 9h7M11 13h4M3 17l3 3m0 0l3-3m-3 3V4'\r\n },\r\n help: {\r\n path: 'M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3m.08 4h.01',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n warning: {\r\n path: 'M12 9v4',\r\n additionalShapes: [\r\n { type: 'circle', cx: '12', cy: '12', r: '10' },\r\n { type: 'circle', cx: '12', cy: '17', r: '0.5', fill: 'color' }\r\n ]\r\n },\r\n dashboard: {\r\n path: 'M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z'\r\n },\r\n settingsApplications: {\r\n path: 'M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2z' +\r\n 'm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8' +\r\n 'c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68' +\r\n 'l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8' +\r\n 'c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z'\r\n },\r\n route: {\r\n path: 'M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18A2.996 2.996 0 0 0 15 18c0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82z'\r\n },\r\n developerBoard: {\r\n path: 'M9 2v4m6-4v4M9 18v4m6-18v4M2 9h4M2 15h4m16-6h4m-4 6h4',\r\n additionalShapes: [\r\n { type: 'rect', x: '5', y: '5', width: '14', height: '14', rx: '2' },\r\n { type: 'rect', x: '9', y: '9', width: '6', height: '6', rx: '0.5' },\r\n { type: 'circle', cx: '12', cy: '12', r: '1.5', fill: 'color' }\r\n ]\r\n },\r\n directions: {\r\n path: 'm21.41 10.59-7.99-8c-.78-.78-2.05-.78-2.83 0l-8.01 8c-.78.78-.78 2.05 0 2.83l8.01 8c.78.78 2.05.78 2.83 0l7.99-8c.79-.79.79-2.05 0-2.83zM13.5 14.5V12H10v3H8v-4c0-.55.45-1 1-1h4.5V7.5L17 11l-3.5 3.5z'\r\n },\r\n category: {\r\n path: 'M12 2 6.5 11h11z',\r\n additionalShapes: [\r\n { type: 'circle', cx: '17.5', cy: '17.5', r: '3.5' },\r\n { type: 'rect', x: '3', y: '14', width: '7', height: '7', rx: '1' }\r\n ]\r\n },\r\n logout: {\r\n path: 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4m7 14 5-5m0 0-5-5m5 5H9'\r\n },\r\n heart: {\r\n path: HEART_PATH\r\n },\r\n heartFilled: {\r\n path: HEART_PATH,\r\n fill: true\r\n },\r\n heartBroken: {\r\n path: HEART_PATH,\r\n additionalShapes: [\r\n { type: 'path', d: 'M12 5.5l-1 2.5h2l-1.5 3h1.5l-1 3.5V21' }\r\n ]\r\n },\r\n user: {\r\n path: 'M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '7', r: '4' }]\r\n },\r\n sun: {\r\n path: 'M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1z' +\r\n 'M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1z' +\r\n 'M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06z' +\r\n 'm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z'\r\n },\r\n moon: {\r\n path: 'M9.37 5.51C9.19 6.15 9.1 6.82 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49z' +\r\n 'M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z'\r\n },\r\n google: {\r\n path: '',\r\n multiColor: {\r\n colors: [\r\n '#4285F4', // Azul - parte superior\r\n '#34A853', // Verde - parte inferior derecha\r\n '#FBBC05', // Amarillo - parte inferior izquierda\r\n '#EA4335', // Rojo - parte izquierda\r\n ],\r\n paths: [\r\n 'M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z',\r\n 'M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z',\r\n 'M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z',\r\n 'M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'\r\n ]\r\n }\r\n },\r\n local_drink: {\r\n path: 'M3 2l2.01 18.23C5.13 21.23 5.97 22 7 22h10c1.03 0 1.87-.77 1.99-1.77L21 2H3zm9 17c-1.66 0-3-1.34-3-3 0-2 3-5.4 3-5.4s3 3.4 3 5.4c0 1.66-1.34 3-3 3zm6.33-11H5.67l-.44-4h13.53l-.43 4z'\r\n },\r\n list: {\r\n path: 'M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z'\r\n },\r\n gpsFixed: {\r\n path: 'M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3A8.994 8.994 0 0 0 13 3.06V1h-2v2.06A8.994 8.994 0 0 0 3.06 11H1v2h2.06A8.994 8.994 0 0 0 11 20.94V23h2v-2.06A8.994 8.994 0 0 0 20.94 13H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z'\r\n },\r\n locationPin: {\r\n path: 'M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'\r\n },\r\n controlPoint: {\r\n path: 'M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7z',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n },\r\n photo: {\r\n path: 'M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'\r\n },\r\n restaurant: {\r\n path: 'M11 9H9V2H7v7H5V2H3v7c0 2.12 1.66 3.84 3.75 3.97V22h2.5v-9.03C11.34 12.84 13 11.12 13 9V2h-2v7zm5-3v8h2.5v8H21V2c-2.76 0-5 2.24-5 4z'\r\n },\r\n iceCream: {\r\n path: 'M8.79 12.4 12 20.94l3.21-8.54C16.26 12.15 17 11.2 17 10c0-1.66-1.34-3-3-3 0-.55-.45-1-1-1s-1 .45-1 1c-1.66 0-3 1.34-3 3 0 1.2.74 2.15 1.79 2.4z',\r\n additionalShapes: [\r\n { type: 'path', d: 'M14 2a3 3 0 0 1 3 3h-2a1 1 0 0 0-1-1z' },\r\n { type: 'path', d: 'M10 2a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1z' }\r\n ]\r\n },\r\n barChart: {\r\n path: 'M5 9.2h3V19H5V9.2zM10.6 5h2.8v14h-2.8V5zm5.6 8H19v6h-2.8v-6z'\r\n },\r\n waterDrop: {\r\n path: 'M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z'\r\n },\r\n cocktailGlass: {\r\n path: 'M21 5V3H3v2l8 9v5H6v2h12v-2h-5v-5l8-9zM7.43 7 5.66 5h12.69l-1.78 2H7.43z'\r\n },\r\n acUnit: {\r\n path: 'M22 11h-4.17l3.24-3.24-1.41-1.42L15 11h-2V9l4.66-4.66-1.42-1.41L13 6.17V2h-2v4.17L7.76 2.93 6.34 4.34 11 9v2H9L4.34 6.34 2.93 7.76 6.17 11H2v2h4.17l-3.24 3.24 1.41 1.42L9 13h2v2l-4.66 4.66 1.42 1.41L11 17.83V22h2v-4.17l3.24 3.24 1.42-1.41L13 15v-2h2l4.66 4.66 1.41-1.42L17.83 13H22v-2z'\r\n },\r\n formatListNumbered: {\r\n path: 'M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z'\r\n },\r\n widgets: {\r\n path: 'M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z'\r\n },\r\n contrast: {\r\n path: 'M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm0-18c4.42 0 8 3.58 8 8s-3.58 8-8 8z',\r\n additionalShapes: [{ type: 'path', d: 'M12 4v16' }]\r\n },\r\n grid3x3: {\r\n path: 'M20 3H4c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM8 19H5v-3h3v3zm0-5H5v-3h3v3zm0-5H5V6h3v3zm5 10h-3v-3h3v3zm0-5h-3v-3h3v3zm0-5h-3V6h3v3zm5 10h-3v-3h3v3zm0-5h-3v-3h3v3zm0-5h-3V6h3v3z'\r\n },\r\n monetizationOn: {\r\n path: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16z'\r\n },\r\n calculate: {\r\n path: 'M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM13.03 7.06 14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41-1.41-1.42zM6.25 7.72h5v1.5h-5v-1.5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2V16zm5.13.02-1.41-1.41-1.46 1.41-1.05-1.05 1.41-1.41-1.41-1.41L13.76 11l1.41 1.41 1.41-1.41 1.06 1.06-1.41 1.41 1.41 1.41-1.01 1.05z'\r\n },\r\n buildCircle: {\r\n path: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5.78 14.61-1.14 1.14-1.71-1.71-2.28 2.27-1.14-1.14 2.27-2.27-1.71-1.71 1.14-1.14 1.71 1.71 1.71-1.71 1.14 1.14-1.71 1.71 1.72 1.71zM15.5 7.5c0 .83-.67 1.5-1.5 1.5H8.75v3.68A2.99 2.99 0 0 0 10 9.5c1.65 0 3 1.35 3 3s-1.35 3-3 3c-1.3 0-2.4-.84-2.82-2H5.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h1.68c.15-.62.51-1.16 1-1.55V7.5c0-.28.22-.5.5-.5H14c.28 0 .5.22.5.5z'\r\n },\r\n addBox: {\r\n path: 'M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z'\r\n },\r\n default: {\r\n path: '',\r\n additionalShapes: [{ type: 'circle', cx: '12', cy: '12', r: '10' }]\r\n }\r\n} as const;"]}
|
|
@@ -1,16 +1,31 @@
|
|
|
1
|
-
import { Injectable, signal } from '@angular/core';
|
|
1
|
+
import { inject, Injectable, InjectionToken, signal } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/** Clave de almacenamiento donde se persiste la preferencia de tema. */
|
|
4
|
+
export const THEME_STORAGE_KEY = 'theme';
|
|
5
|
+
/**
|
|
6
|
+
* Token del almacenamiento usado por ThemeService.
|
|
7
|
+
* El default reproduce el comportamiento histórico respaldado por localStorage.
|
|
8
|
+
*/
|
|
9
|
+
export const THEME_STORAGE = new InjectionToken('THEME_STORAGE', {
|
|
10
|
+
providedIn: 'root',
|
|
11
|
+
factory: () => ({
|
|
12
|
+
get: (key) => localStorage.getItem(key),
|
|
13
|
+
set: (key, value) => localStorage.setItem(key, value),
|
|
14
|
+
has: (key) => localStorage.getItem(key) !== null,
|
|
15
|
+
}),
|
|
16
|
+
});
|
|
3
17
|
/**
|
|
4
18
|
*
|
|
5
19
|
*/
|
|
6
20
|
export class ThemeService {
|
|
7
|
-
|
|
21
|
+
storage = inject(THEME_STORAGE);
|
|
22
|
+
isDark = signal(this.getInitialTheme(), ...(ngDevMode ? [{ debugName: "isDark" }] : /* istanbul ignore next */ []));
|
|
8
23
|
/**
|
|
9
24
|
*
|
|
10
25
|
* @returns true si el tema es oscuro
|
|
11
26
|
*/
|
|
12
27
|
getInitialTheme() {
|
|
13
|
-
const stored =
|
|
28
|
+
const stored = this.storage.get(THEME_STORAGE_KEY);
|
|
14
29
|
if (stored) {
|
|
15
30
|
return stored === 'dark';
|
|
16
31
|
}
|
|
@@ -25,7 +40,7 @@ export class ThemeService {
|
|
|
25
40
|
toggle() {
|
|
26
41
|
this.isDark.update(current => {
|
|
27
42
|
const newValue = !current;
|
|
28
|
-
|
|
43
|
+
this.storage.set(THEME_STORAGE_KEY, newValue ? 'dark' : 'light');
|
|
29
44
|
this.applyTheme(newValue);
|
|
30
45
|
return newValue;
|
|
31
46
|
});
|
|
@@ -43,16 +58,16 @@ export class ThemeService {
|
|
|
43
58
|
initialize() {
|
|
44
59
|
this.applyTheme(this.isDark());
|
|
45
60
|
globalThis.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', (e) => {
|
|
46
|
-
if (!
|
|
61
|
+
if (!this.storage.has(THEME_STORAGE_KEY)) {
|
|
47
62
|
this.isDark.set(e.matches);
|
|
48
63
|
this.applyTheme(e.matches);
|
|
49
64
|
}
|
|
50
65
|
});
|
|
51
66
|
}
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
68
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ThemeService, providedIn: 'root' });
|
|
54
69
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ThemeService, decorators: [{
|
|
56
71
|
type: Injectable,
|
|
57
72
|
args: [{ providedIn: 'root' }]
|
|
58
73
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.service.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/icon/theme.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;
|
|
1
|
+
{"version":3,"file":"theme.service.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/icon/theme.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;AAE3E,wEAAwE;AACxE,MAAM,CAAC,MAAM,iBAAiB,GAAG,OAAO,CAAC;AA4BzC;;;GAGG;AACH,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AU,CAAC,QAAQ,CAAC,CAAC;YAC1B,OAAO,QAAQ,CAAC;QACpB,CAAC,CAAC,CAAC;IACP,CAAC;IAED;;;OAGG;IACK,UAAU,CAAC,MAAe;QAC9B,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,UAAU;QACN,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;QAE/B,UAAU,CAAC,UAAU,CAAC,8BAA8B,CAAC,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;YACnF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC;gBACvC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;gBAC3B,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;YAC/B,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;wGAnDQ,YAAY;4GAAZ,YAAY,cADC,MAAM;;4FACnB,YAAY;kBADxB,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE","sourcesContent":["import { inject, Injectable, InjectionToken, signal } from '@angular/core';\n\n/** Clave de almacenamiento donde se persiste la preferencia de tema. */\nexport const THEME_STORAGE_KEY = 'theme';\n\n/**\n * Contrato mínimo de almacenamiento que necesita ThemeService.\n * Permite a las apps consumidoras inyectar su propio backend\n * (por ejemplo, un StorageService propio) sin acoplar la librería a localStorage.\n */\nexport interface ThemeStorage {\n /**\n *\n * @param key\n * @returns Valor almacenado o null si no existe\n */\n get(key: string): string | null;\n /**\n *\n * @param key\n * @param value\n */\n set(key: string, value: string): void;\n /**\n *\n * @param key\n * @returns true si hay un valor almacenado para la clave\n */\n has(key: string): boolean;\n}\n\n/**\n * Token del almacenamiento usado por ThemeService.\n * El default reproduce el comportamiento histórico respaldado por localStorage.\n */\nexport const THEME_STORAGE = new InjectionToken<ThemeStorage>('THEME_STORAGE', {\n providedIn: 'root',\n factory: (): ThemeStorage => ({\n get: (key) => localStorage.getItem(key),\n set: (key, value) => localStorage.setItem(key, value),\n has: (key) => localStorage.getItem(key) !== null,\n }),\n});\n\n/**\n *\n */\n@Injectable({ providedIn: 'root' })\nexport class ThemeService {\n private readonly storage = inject(THEME_STORAGE);\n readonly isDark = signal(this.getInitialTheme());\n\n /**\n *\n * @returns true si el tema es oscuro\n */\n private getInitialTheme(): boolean {\n const stored = this.storage.get(THEME_STORAGE_KEY);\n if (stored) {\n return stored === 'dark';\n }\n if (typeof globalThis.matchMedia !== 'function') {\n return false;\n }\n return globalThis.matchMedia('(prefers-color-scheme: dark)').matches;\n }\n\n /**\n *\n */\n toggle(): void {\n this.isDark.update(current => {\n const newValue = !current;\n this.storage.set(THEME_STORAGE_KEY, newValue ? 'dark' : 'light');\n this.applyTheme(newValue);\n return newValue;\n });\n }\n\n /**\n *\n * @param isDark\n */\n private applyTheme(isDark: boolean): void {\n document.documentElement.dataset['theme'] = isDark ? 'dark' : 'light';\n }\n\n /**\n *\n */\n initialize(): void {\n this.applyTheme(this.isDark());\n\n globalThis.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', (e) => {\n if (!this.storage.has(THEME_STORAGE_KEY)) {\n this.isDark.set(e.matches);\n this.applyTheme(e.matches);\n }\n });\n }\n}\n"]}
|
|
@@ -4,11 +4,11 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
*
|
|
5
5
|
*/
|
|
6
6
|
export class InfoListComponent {
|
|
7
|
-
items = input.required(...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
7
|
+
items = input.required(...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InfoListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: InfoListComponent, isStandalone: true, selector: "c80-info-list", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"info-list\">\n @for (item of items(); track $index) {\n @if (item.value) {\n <div class=\"info-list__item\">\n <span class=\"info-list__label\">{{ item.label }}</span>\n <span class=\"info-list__value\">{{ item.value }}</span>\n </div>\n }\n }\n</div>", styles: [".info-list{display:flex;flex-direction:column;gap:1rem;-webkit-user-select:none;user-select:none}.info-list__item{display:flex;justify-content:space-between;align-items:flex-start;padding:1rem;background:var(--color-surface);border:1px solid var(--color-border);border-radius:.5rem;gap:1rem}.info-list__label{font-size:.875rem;font-weight:500;color:var(--color-text-secondary);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.info-list__value{font-size:1rem;font-weight:500;color:var(--color-text-primary);text-align:right;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4;pointer-events:none}@media(max-width:768px){.info-list__item{flex-direction:column;align-items:flex-start;gap:.5rem;padding:.75rem}.info-list__value{text-align:left;max-width:100%}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InfoListComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'c80-info-list', standalone: true, imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"info-list\">\n @for (item of items(); track $index) {\n @if (item.value) {\n <div class=\"info-list__item\">\n <span class=\"info-list__label\">{{ item.label }}</span>\n <span class=\"info-list__value\">{{ item.value }}</span>\n </div>\n }\n }\n</div>", styles: [".info-list{display:flex;flex-direction:column;gap:1rem;-webkit-user-select:none;user-select:none}.info-list__item{display:flex;justify-content:space-between;align-items:flex-start;padding:1rem;background:var(--color-surface);border:1px solid var(--color-border);border-radius:.5rem;gap:1rem}.info-list__label{font-size:.875rem;font-weight:500;color:var(--color-text-secondary);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.info-list__value{font-size:1rem;font-weight:500;color:var(--color-text-primary);text-align:right;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4;pointer-events:none}@media(max-width:768px){.info-list__item{flex-direction:column;align-items:flex-start;gap:.5rem;padding:.75rem}.info-list__value{text-align:left;max-width:100%}}\n"] }]
|
|
14
14
|
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: true }] }] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info-list.component.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/info-list/info-list.component.ts","../../../../../libs/ui/src/lib/info-list/info-list.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;;AAG1E;;GAEG;
|
|
1
|
+
{"version":3,"file":"info-list.component.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/info-list/info-list.component.ts","../../../../../libs/ui/src/lib/info-list/info-list.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;;AAG1E;;GAEG;AASH,MAAM,OAAO,iBAAiB;IACjB,KAAK,GAAG,KAAK,CAAC,QAAQ,2EAAc,CAAC;wGADrC,iBAAiB;4FAAjB,iBAAiB,4MCd9B,0SASM;;4FDKO,iBAAiB;kBAR7B,SAAS;+BACI,eAAe,cACb,IAAI,WACP,EAAE,mBAGM,uBAAuB,CAAC,MAAM","sourcesContent":["import { Component, input, ChangeDetectionStrategy } from '@angular/core';\r\nimport type { InfoItem } from './info-list.types';\r\n\r\n/**\r\n *\r\n */\r\n@Component({\r\n selector: 'c80-info-list',\r\n standalone: true,\r\n imports: [],\r\n templateUrl: './info-list.component.html',\r\n styleUrl: './info-list.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class InfoListComponent {\r\n readonly items = input.required<InfoItem[]>();\r\n}","<div class=\"info-list\">\n @for (item of items(); track $index) {\n @if (item.value) {\n <div class=\"info-list__item\">\n <span class=\"info-list__label\">{{ item.label }}</span>\n <span class=\"info-list__value\">{{ item.value }}</span>\n </div>\n }\n }\n</div>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/info-message/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC","sourcesContent":["export * from './info-message.component';\nexport * from './info-message.types';\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
+
import { IconComponent } from '../icon';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Componente reutilizable para mostrar mensajes informativos o de advertencia
|
|
6
|
+
*/
|
|
7
|
+
export class InfoMessageComponent {
|
|
8
|
+
message = input.required(...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
|
|
9
|
+
level = input('info', ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
|
|
10
|
+
linkConfig = input(...(ngDevMode ? [undefined, { debugName: "linkConfig" }] : /* istanbul ignore next */ []));
|
|
11
|
+
/**
|
|
12
|
+
* Retorna el ícono según el nivel
|
|
13
|
+
* @returns Nombre del ícono a mostrar
|
|
14
|
+
*/
|
|
15
|
+
get icon() {
|
|
16
|
+
return this.level() === 'warn' ? 'warning' : 'infoCircle';
|
|
17
|
+
}
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InfoMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: InfoMessageComponent, isStandalone: true, selector: "c80-info-message", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: true, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, linkConfig: { classPropertyName: "linkConfig", publicName: "linkConfig", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"info-notification\" [attr.data-level]=\"level()\">\n <c80-icon [icon]=\"icon\" [size]=\"1.2\" color=\"secondary\" />\n <div class=\"info-notification__content\">\n <p>{{ message() }}</p>\n @if (linkConfig()) {\n <a [href]=\"linkConfig()!.link\" class=\"info-notification__link\" target=\"_blank\" rel=\"noopener noreferrer\">\n {{ linkConfig()!.text }}\n </a>\n }\n </div>\n</div>", styles: [".info-notification{display:flex;align-items:center;gap:var(--spacing-sm);padding:var(--spacing-md);border:1px solid;border-radius:var(--border-radius-lg);font-size:.8125rem;-webkit-user-select:none;user-select:none}.info-notification__content{flex:1;display:flex;flex-direction:column;gap:var(--spacing-xs)}.info-notification p{margin:0;line-height:1.3}.info-notification__link{font-size:.8125rem;font-weight:var(--font-weight-medium);text-decoration:underline;transition:opacity .2s}.info-notification__link:hover{opacity:.7}.info-notification c80-icon{flex-shrink:0}.info-notification[data-level=info]{background:transparent;border-color:#6366f11a;color:var(--color-text-secondary)}.info-notification[data-level=warn]{background:#f59e0b0d;border-color:#f59e0b33;color:#d97706}.info-notification[data-level=warn] c80-icon{color:#f59e0b}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "c80-icon", inputs: ["icon", "color", "customColor", "disabled", "size", "button", "border", "type", "textLeft", "textRight", "dark"], outputs: ["iconClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InfoMessageComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'c80-info-message', standalone: true, imports: [IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"info-notification\" [attr.data-level]=\"level()\">\n <c80-icon [icon]=\"icon\" [size]=\"1.2\" color=\"secondary\" />\n <div class=\"info-notification__content\">\n <p>{{ message() }}</p>\n @if (linkConfig()) {\n <a [href]=\"linkConfig()!.link\" class=\"info-notification__link\" target=\"_blank\" rel=\"noopener noreferrer\">\n {{ linkConfig()!.text }}\n </a>\n }\n </div>\n</div>", styles: [".info-notification{display:flex;align-items:center;gap:var(--spacing-sm);padding:var(--spacing-md);border:1px solid;border-radius:var(--border-radius-lg);font-size:.8125rem;-webkit-user-select:none;user-select:none}.info-notification__content{flex:1;display:flex;flex-direction:column;gap:var(--spacing-xs)}.info-notification p{margin:0;line-height:1.3}.info-notification__link{font-size:.8125rem;font-weight:var(--font-weight-medium);text-decoration:underline;transition:opacity .2s}.info-notification__link:hover{opacity:.7}.info-notification c80-icon{flex-shrink:0}.info-notification[data-level=info]{background:transparent;border-color:#6366f11a;color:var(--color-text-secondary)}.info-notification[data-level=warn]{background:#f59e0b0d;border-color:#f59e0b33;color:#d97706}.info-notification[data-level=warn] c80-icon{color:#f59e0b}\n"] }]
|
|
24
|
+
}], propDecorators: { message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: true }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], linkConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "linkConfig", required: false }] }] } });
|
|
25
|
+
//# sourceMappingURL=info-message.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-message.component.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/info-message/info-message.component.ts","../../../../../libs/ui/src/lib/info-message/info-message.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;;AAIxC;;GAEG;AASH,MAAM,OAAO,oBAAoB;IAC7B,OAAO,GAAG,KAAK,CAAC,QAAQ,6EAAU,CAAC;IACnC,KAAK,GAAG,KAAK,CAAwB,MAAM,4EAAC,CAAC;IAC7C,UAAU,GAAG,KAAK,2FAAmB,CAAC;IAEtC;;;OAGG;IACH,IAAc,IAAI;QACd,OAAO,IAAI,CAAC,KAAK,EAAE,KAAK,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC;IAC9D,CAAC;wGAXQ,oBAAoB;4FAApB,oBAAoB,odChBjC,kcAUM,i4BDCQ,aAAa;;4FAKd,oBAAoB;kBARhC,SAAS;+BACI,kBAAkB,cAChB,IAAI,WACP,CAAC,aAAa,CAAC,mBAGP,uBAAuB,CAAC,MAAM","sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\r\nimport { IconComponent } from '../icon';\r\nimport type { InfoNotificationLevel, InfoMessageLink } from './info-message.types';\r\n\r\n\r\n/**\r\n * Componente reutilizable para mostrar mensajes informativos o de advertencia\r\n */\r\n@Component({\r\n selector: 'c80-info-message',\r\n standalone: true,\r\n imports: [IconComponent],\r\n templateUrl: './info-message.component.html',\r\n styleUrl: './info-message.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class InfoMessageComponent {\r\n message = input.required<string>();\r\n level = input<InfoNotificationLevel>('info');\r\n linkConfig = input<InfoMessageLink>();\r\n\r\n /**\r\n * Retorna el ícono según el nivel\r\n * @returns Nombre del ícono a mostrar\r\n */\r\n protected get icon(): string {\r\n return this.level() === 'warn' ? 'warning' : 'infoCircle';\r\n }\r\n}\r\n","<div class=\"info-notification\" [attr.data-level]=\"level()\">\n <c80-icon [icon]=\"icon\" [size]=\"1.2\" color=\"secondary\" />\n <div class=\"info-notification__content\">\n <p>{{ message() }}</p>\n @if (linkConfig()) {\n <a [href]=\"linkConfig()!.link\" class=\"info-notification__link\" target=\"_blank\" rel=\"noopener noreferrer\">\n {{ linkConfig()!.text }}\n </a>\n }\n </div>\n</div>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=info-message.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-message.types.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/info-message/info-message.types.ts"],"names":[],"mappings":"","sourcesContent":["export type InfoNotificationLevel = 'info' | 'warn';\n\nexport interface InfoMessageLink {\n link: string;\n text: string;\n}\n"]}
|
|
@@ -4,16 +4,16 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
*
|
|
5
5
|
*/
|
|
6
6
|
export class InputFieldComponent {
|
|
7
|
-
label = signal('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
8
|
-
value = signal('', ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
9
|
-
placeholder = signal('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
10
|
-
type = signal('text', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
11
|
-
maxLength = signal(undefined, ...(ngDevMode ? [{ debugName: "maxLength" }] : []));
|
|
12
|
-
readonly = signal(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
13
|
-
required = signal(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
7
|
+
label = signal('', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
8
|
+
value = signal('', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
9
|
+
placeholder = signal('', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
10
|
+
type = signal('text', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
11
|
+
maxLength = signal(undefined, ...(ngDevMode ? [{ debugName: "maxLength" }] : /* istanbul ignore next */ []));
|
|
12
|
+
readonly = signal(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
|
|
13
|
+
required = signal(false, ...(ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []));
|
|
14
14
|
valueChange = output();
|
|
15
15
|
enterPressed = output();
|
|
16
|
-
isFocused = signal(false, ...(ngDevMode ? [{ debugName: "isFocused" }] : []));
|
|
16
|
+
isFocused = signal(false, ...(ngDevMode ? [{ debugName: "isFocused" }] : /* istanbul ignore next */ []));
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @param event
|
|
@@ -44,10 +44,10 @@ export class InputFieldComponent {
|
|
|
44
44
|
this.enterPressed.emit();
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InputFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: InputFieldComponent, isStandalone: true, selector: "c80-input-field", outputs: { valueChange: "valueChange", enterPressed: "enterPressed" }, ngImport: i0, template: "<div class=\"input-field\">\n <div class=\"input-field__item\">\n <span class=\"input-field__label\">{{ label() }}</span>\n <input class=\"input-field__input\" [class.input-field__input--focused]=\"isFocused()\" [type]=\"type()\" [value]=\"value()\" [placeholder]=\"placeholder()\" [attr.maxlength]=\"maxLength()\" [readonly]=\"readonly()\" [required]=\"required()\"\n (input)=\"onValueChange($event)\" (focus)=\"onFocus()\" (blur)=\"onBlur()\" (keydown)=\"onKeyDown($event)\" />\n </div>\n</div>", styles: [".input-field{width:100%}.input-field__item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:var(--color-surface);border-radius:.5rem;gap:1rem;transition:all var(--transition-base)}.input-field__item:hover{background:var(--color-bg-dark)}.input-field__label{color:var(--color-text-primary);min-width:fit-content;font-size:.875rem;font-weight:500}.input-field__input{flex:1;background:transparent;border:none;outline:none;color:var(--color-text-primary);text-align:right;padding:.5rem 0;min-width:0}.input-field__input::placeholder{color:var(--color-text-tertiary);font-style:italic}.input-field__input:focus{color:var(--color-primary)}.input-field__input[readonly]{cursor:default;color:var(--color-text-secondary)}.input-field__input--focused{color:var(--color-primary)}@media(max-width:768px){.input-field__item{padding:.75rem;gap:.75rem}.input-field__label,.input-field__input{font-size:.875rem}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InputFieldComponent, decorators: [{
|
|
51
51
|
type: Component,
|
|
52
52
|
args: [{ selector: 'c80-input-field', standalone: true, imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"input-field\">\n <div class=\"input-field__item\">\n <span class=\"input-field__label\">{{ label() }}</span>\n <input class=\"input-field__input\" [class.input-field__input--focused]=\"isFocused()\" [type]=\"type()\" [value]=\"value()\" [placeholder]=\"placeholder()\" [attr.maxlength]=\"maxLength()\" [readonly]=\"readonly()\" [required]=\"required()\"\n (input)=\"onValueChange($event)\" (focus)=\"onFocus()\" (blur)=\"onBlur()\" (keydown)=\"onKeyDown($event)\" />\n </div>\n</div>", styles: [".input-field{width:100%}.input-field__item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:var(--color-surface);border-radius:.5rem;gap:1rem;transition:all var(--transition-base)}.input-field__item:hover{background:var(--color-bg-dark)}.input-field__label{color:var(--color-text-primary);min-width:fit-content;font-size:.875rem;font-weight:500}.input-field__input{flex:1;background:transparent;border:none;outline:none;color:var(--color-text-primary);text-align:right;padding:.5rem 0;min-width:0}.input-field__input::placeholder{color:var(--color-text-tertiary);font-style:italic}.input-field__input:focus{color:var(--color-primary)}.input-field__input[readonly]{cursor:default;color:var(--color-text-secondary)}.input-field__input--focused{color:var(--color-primary)}@media(max-width:768px){.input-field__item{padding:.75rem;gap:.75rem}.input-field__label,.input-field__input{font-size:.875rem}}\n"] }]
|
|
53
53
|
}], propDecorators: { valueChange: [{ type: i0.Output, args: ["valueChange"] }], enterPressed: [{ type: i0.Output, args: ["enterPressed"] }] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-field.component.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/input-field/input-field.component.ts","../../../../../libs/ui/src/lib/input-field/input-field.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;AAEnF;;GAEG;
|
|
1
|
+
{"version":3,"file":"input-field.component.js","sourceRoot":"","sources":["../../../../../libs/ui/src/lib/input-field/input-field.component.ts","../../../../../libs/ui/src/lib/input-field/input-field.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;AAEnF;;GAEG;AASH,MAAM,OAAO,mBAAmB;IACnB,KAAK,GAAG,MAAM,CAAS,EAAE,4EAAC,CAAC;IAC3B,KAAK,GAAG,MAAM,CAAS,EAAE,4EAAC,CAAC;IAC3B,WAAW,GAAG,MAAM,CAAS,EAAE,kFAAC,CAAC;IACjC,IAAI,GAAG,MAAM,CAAgC,MAAM,2EAAC,CAAC;IACrD,SAAS,GAAG,MAAM,CAAqB,SAAS,gFAAC,CAAC;IAClD,QAAQ,GAAG,MAAM,CAAU,KAAK,+EAAC,CAAC;IAClC,QAAQ,GAAG,MAAM,CAAU,KAAK,+EAAC,CAAC;IAE3C,WAAW,GAAG,MAAM,EAAU,CAAC;IAC/B,YAAY,GAAG,MAAM,EAAQ,CAAC;IAEX,SAAS,GAAG,MAAM,CAAC,KAAK,gFAAC,CAAC;IAE7C;;;OAGG;IACO,aAAa,CAAC,KAAY;QAChC,MAAM,QAAQ,GAAI,KAAK,CAAC,MAA2B,CAAC,KAAK,CAAC;QAC1D,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAED;;OAEG;IACO,OAAO;QACb,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACO,MAAM;QACZ,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAED;;;OAGG;IACO,SAAS,CAAC,KAAoB;QACpC,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,EAAE,CAAC;YACxB,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;QAC7B,CAAC;IACL,CAAC;wGA9CQ,mBAAmB;4FAAnB,mBAAmB,kJCbhC,ihBAMM;;4FDOO,mBAAmB;kBAR/B,SAAS;+BACI,iBAAiB,cACf,IAAI,WACP,EAAE,mBAGM,uBAAuB,CAAC,MAAM","sourcesContent":["import { ChangeDetectionStrategy, Component, output, signal } from '@angular/core';\r\n\r\n/**\r\n *\r\n */\r\n@Component({\r\n selector: 'c80-input-field',\r\n standalone: true,\r\n imports: [],\r\n templateUrl: './input-field.component.html',\r\n styleUrl: './input-field.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class InputFieldComponent {\r\n readonly label = signal<string>('');\r\n readonly value = signal<string>('');\r\n readonly placeholder = signal<string>('');\r\n readonly type = signal<'text' | 'email' | 'password'>('text');\r\n readonly maxLength = signal<number | undefined>(undefined);\r\n readonly readonly = signal<boolean>(false);\r\n readonly required = signal<boolean>(false);\r\n\r\n valueChange = output<string>();\r\n enterPressed = output<void>();\r\n\r\n protected readonly isFocused = signal(false);\r\n\r\n /**\r\n *\r\n * @param event\r\n */\r\n protected onValueChange(event: Event): void {\r\n const newValue = (event.target as HTMLInputElement).value;\r\n this.value.set(newValue);\r\n this.valueChange.emit(newValue);\r\n }\r\n\r\n /**\r\n *\r\n */\r\n protected onFocus(): void {\r\n this.isFocused.set(true);\r\n }\r\n\r\n /**\r\n *\r\n */\r\n protected onBlur(): void {\r\n this.isFocused.set(false);\r\n }\r\n\r\n /**\r\n *\r\n * @param event\r\n */\r\n protected onKeyDown(event: KeyboardEvent): void {\r\n if (event.key === 'Enter') {\r\n this.enterPressed.emit();\r\n }\r\n }\r\n}","<div class=\"input-field\">\n <div class=\"input-field__item\">\n <span class=\"input-field__label\">{{ label() }}</span>\n <input class=\"input-field__input\" [class.input-field__input--focused]=\"isFocused()\" [type]=\"type()\" [value]=\"value()\" [placeholder]=\"placeholder()\" [attr.maxlength]=\"maxLength()\" [readonly]=\"readonly()\" [required]=\"required()\"\n (input)=\"onValueChange($event)\" (focus)=\"onFocus()\" (blur)=\"onBlur()\" (keydown)=\"onKeyDown($event)\" />\n </div>\n</div>"]}
|
|
@@ -5,8 +5,8 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
export class InputSearchComponent {
|
|
8
|
-
value = input('', ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
9
|
-
placeholder = input('Buscar...', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
8
|
+
value = input('', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
9
|
+
placeholder = input('Buscar...', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
10
10
|
inputChange = output();
|
|
11
11
|
/**
|
|
12
12
|
*
|
|
@@ -16,10 +16,10 @@ export class InputSearchComponent {
|
|
|
16
16
|
const val = event.target.value;
|
|
17
17
|
this.inputChange.emit(val);
|
|
18
18
|
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InputSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.17", type: InputSearchComponent, isStandalone: true, selector: "c80-input-search", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inputChange: "inputChange" }, ngImport: i0, template: "<div class=\"c80-input-search\">\n <c80-icon icon=\"search\" [button]=\"false\" [size]=\"1.2\" class=\"c80-input-search__icon\" />\n <input type=\"search\" class=\"c80-input-search__input\" [placeholder]=\"placeholder()\" [value]=\"value()\" (input)=\"onInput($event)\" autocomplete=\"off\" />\n</div>", styles: [".c80-input-search{display:flex;align-items:center;position:relative;background:var(--color-surface);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);padding:.25rem .75rem;border:1px solid var(--color-border);transition:box-shadow var(--transition-base);width:100%;min-height:48px}.c80-input-search__icon{margin-right:.5rem;color:var(--color-text-secondary);flex-shrink:0;font-size:1.2rem}.c80-input-search__input{border:none;outline:none;background:transparent;font-size:1rem;color:var(--color-text-primary);width:100%;padding:0;box-shadow:none;font-family:inherit}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "c80-icon", inputs: ["icon", "color", "customColor", "disabled", "size", "button", "border", "type", "textLeft", "textRight", "dark"], outputs: ["iconClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InputSearchComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'c80-input-search', standalone: true, imports: [IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"c80-input-search\">\n <c80-icon icon=\"search\" [button]=\"false\" [size]=\"1.2\" class=\"c80-input-search__icon\" />\n <input type=\"search\" class=\"c80-input-search__input\" [placeholder]=\"placeholder()\" [value]=\"value()\" (input)=\"onInput($event)\" autocomplete=\"off\" />\n</div>", styles: [".c80-input-search{display:flex;align-items:center;position:relative;background:var(--color-surface);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);padding:.25rem .75rem;border:1px solid var(--color-border);transition:box-shadow var(--transition-base);width:100%;min-height:48px}.c80-input-search__icon{margin-right:.5rem;color:var(--color-text-secondary);flex-shrink:0;font-size:1.2rem}.c80-input-search__input{border:none;outline:none;background:transparent;font-size:1rem;color:var(--color-text-primary);width:100%;padding:0;box-shadow:none;font-family:inherit}\n"] }]
|
|
25
25
|
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], inputChange: [{ type: i0.Output, args: ["inputChange"] }] } });
|