@coreui/icons-angular 5.7.10 → 5.7.11
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
CHANGED
|
@@ -51,7 +51,7 @@ Featured CoreUI for Angular libraries:
|
|
|
51
51
|
[npm-coreui-icons-angular-v5-ng22]: https://img.shields.io/npm/v/@coreui/icons-angular/v5-ng22?style=flat-square&color=brightgreen
|
|
52
52
|
[npm-coreui-icons-angular-latest]: https://img.shields.io/npm/v/@coreui/icons-angular/latest?style=flat-square&color=brightgreen
|
|
53
53
|
[npm-coreui-icons-angular-next]: https://img.shields.io/npm/v/@coreui/icons-angular/next?style=flat-square&color=red
|
|
54
|
-
[angular-badge]: https://img.shields.io/badge/angular-^22.
|
|
54
|
+
[angular-badge]: https://img.shields.io/badge/angular-^22.1.0-lightgrey.svg?style=flat-square&logo=angular
|
|
55
55
|
|
|
56
56
|
## `cIcon` directive
|
|
57
57
|
|
|
@@ -24,10 +24,10 @@ class IconSetService {
|
|
|
24
24
|
}
|
|
25
25
|
return this.icons[name];
|
|
26
26
|
}
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0
|
|
28
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconSetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
28
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconSetService, providedIn: 'root' });
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconSetService, decorators: [{
|
|
31
31
|
type: Injectable,
|
|
32
32
|
args: [{
|
|
33
33
|
providedIn: 'root'
|
|
@@ -49,11 +49,11 @@ class IconSetModule {
|
|
|
49
49
|
]
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0
|
|
53
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0
|
|
54
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0
|
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconSetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
53
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.0", ngImport: i0, type: IconSetModule });
|
|
54
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconSetModule, providers: [IconSetService] });
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconSetModule, decorators: [{
|
|
57
57
|
type: NgModule,
|
|
58
58
|
args: [{
|
|
59
59
|
providers: [IconSetService]
|
|
@@ -184,10 +184,10 @@ class IconDirective {
|
|
|
184
184
|
return this.size() === 'custom' || addCustom ? 'custom-size' : this.size();
|
|
185
185
|
}, /* @ts-ignore */
|
|
186
186
|
...(ngDevMode ? [{ debugName: "computedSize" }] : /* istanbul ignore next */ []));
|
|
187
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0
|
|
188
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0
|
|
187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
188
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.0", type: IconDirective, isStandalone: true, selector: "svg[cIcon]", inputs: { content: { classPropertyName: "content", publicName: "cIcon", isSignal: true, isRequired: false, transformFunction: null }, customClasses: { classPropertyName: "customClasses", publicName: "customClasses", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, viewBoxInput: { classPropertyName: "viewBoxInput", publicName: "viewBox", isSignal: true, isRequired: false, transformFunction: null }, xmlns: { classPropertyName: "xmlns", publicName: "xmlns", isSignal: true, isRequired: false, transformFunction: null }, pointerEvents: { classPropertyName: "pointerEvents", publicName: "pointer-events", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "innerHtml": "innerHtml()", "class": "hostClasses()", "attr.viewBox": "viewBox()", "attr.xmlns": "xmlns()", "attr.pointer-events": "pointerEvents()", "attr.role": "role()", "attr.aria-hidden": "true" } }, exportAs: ["cIcon"], ngImport: i0 });
|
|
189
189
|
}
|
|
190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconDirective, decorators: [{
|
|
191
191
|
type: Directive,
|
|
192
192
|
args: [{
|
|
193
193
|
exportAs: 'cIcon',
|
|
@@ -244,10 +244,10 @@ class HtmlAttributesDirective {
|
|
|
244
244
|
? this.#renderer.setAttribute(this.#elementRef.nativeElement, key, value)
|
|
245
245
|
: this.#renderer.removeAttribute(this.#elementRef.nativeElement, key);
|
|
246
246
|
}
|
|
247
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0
|
|
248
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0
|
|
247
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: HtmlAttributesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
248
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.0", type: HtmlAttributesDirective, isStandalone: true, selector: "[cHtmlAttr]", inputs: { cHtmlAttr: { classPropertyName: "cHtmlAttr", publicName: "cHtmlAttr", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["cHtmlAttr"], ngImport: i0 });
|
|
249
249
|
}
|
|
250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0
|
|
250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: HtmlAttributesDirective, decorators: [{
|
|
251
251
|
type: Directive,
|
|
252
252
|
args: [{
|
|
253
253
|
selector: '[cHtmlAttr]',
|
|
@@ -343,22 +343,22 @@ class IconComponent {
|
|
|
343
343
|
return this.customClasses() ?? classes;
|
|
344
344
|
}, /* @ts-ignore */
|
|
345
345
|
...(ngDevMode ? [{ debugName: "computedClasses" }] : /* istanbul ignore next */ []));
|
|
346
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0
|
|
347
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0
|
|
346
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
347
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.0", type: IconComponent, isStandalone: true, selector: "c-icon", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, attributes: { classPropertyName: "attributes", publicName: "attributes", isSignal: true, isRequired: false, transformFunction: null }, customClasses: { classPropertyName: "customClasses", publicName: "customClasses", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, use: { classPropertyName: "use", publicName: "use", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, viewBoxInput: { classPropertyName: "viewBoxInput", publicName: "viewBox", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "ngSkipHydration": "true" }, styleAttribute: "display: none" }, viewQueries: [{ propertyName: "svgElementRef", first: true, predicate: ["svgElement"], descendants: true, isSignal: true }], exportAs: ["cIconComponent"], ngImport: i0, template: "@if (!use() && !!code()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"width()\"\n [attr.height]=\"height() || width()\"\n [attr.viewBox]=\"viewBox() || scale()\"\n [innerHtml]=\"innerHtml()\"\n [class]=\"computedClasses()\"\n [cHtmlAttr]=\"attributes()\"\n aria-hidden=\"true\"\n pointer-events=\"none\"\n role=\"img\"\n #svgElement\n >\n </svg>\n} @else if (use()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"width()\"\n [attr.height]=\"height() || width()\"\n [class]=\"computedClasses()\"\n [cHtmlAttr]=\"attributes()\"\n aria-hidden=\"true\"\n pointer-events=\"none\"\n role=\"img\"\n #svgElement\n >\n <use [attr.href]=\"use()\"></use>\n </svg>\n}\n", styles: [".icon{display:inline-block;color:inherit;text-align:center;vertical-align:-.125rem;fill:currentColor}.icon:not(.icon-c-s):not(.icon-custom-size){width:1rem;height:1rem;font-size:1rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-xxl{width:2rem;height:2rem;font-size:2rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-xl{width:1.5rem;height:1.5rem;font-size:1.5rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-lg{width:1.25rem;height:1.25rem;font-size:1.25rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-sm{width:.875rem;height:.875rem;font-size:.875rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-3xl{width:3rem;height:3rem;font-size:3rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-4xl{width:4rem;height:4rem;font-size:4rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-5xl{width:5rem;height:5rem;font-size:5rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-6xl{width:6rem;height:6rem;font-size:6rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-7xl{width:7rem;height:7rem;font-size:7rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-8xl{width:8rem;height:8rem;font-size:8rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-9xl{width:9rem;height:9rem;font-size:9rem}\n"], dependencies: [{ kind: "directive", type: HtmlAttributesDirective, selector: "[cHtmlAttr]", inputs: ["cHtmlAttr"], exportAs: ["cHtmlAttr"] }] });
|
|
348
348
|
}
|
|
349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconComponent, decorators: [{
|
|
350
350
|
type: Component,
|
|
351
|
-
args: [{ exportAs: 'cIconComponent', imports: [HtmlAttributesDirective], selector: 'c-icon', host: { ngSkipHydration: 'true', style: 'display: none' }, template: "@if (!use() && !!code()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"width()\"\n [attr.height]=\"height() || width()\"\n [attr.viewBox]=\"viewBox()
|
|
351
|
+
args: [{ exportAs: 'cIconComponent', imports: [HtmlAttributesDirective], selector: 'c-icon', host: { ngSkipHydration: 'true', style: 'display: none' }, template: "@if (!use() && !!code()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"width()\"\n [attr.height]=\"height() || width()\"\n [attr.viewBox]=\"viewBox() || scale()\"\n [innerHtml]=\"innerHtml()\"\n [class]=\"computedClasses()\"\n [cHtmlAttr]=\"attributes()\"\n aria-hidden=\"true\"\n pointer-events=\"none\"\n role=\"img\"\n #svgElement\n >\n </svg>\n} @else if (use()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"width()\"\n [attr.height]=\"height() || width()\"\n [class]=\"computedClasses()\"\n [cHtmlAttr]=\"attributes()\"\n aria-hidden=\"true\"\n pointer-events=\"none\"\n role=\"img\"\n #svgElement\n >\n <use [attr.href]=\"use()\"></use>\n </svg>\n}\n", styles: [".icon{display:inline-block;color:inherit;text-align:center;vertical-align:-.125rem;fill:currentColor}.icon:not(.icon-c-s):not(.icon-custom-size){width:1rem;height:1rem;font-size:1rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-xxl{width:2rem;height:2rem;font-size:2rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-xl{width:1.5rem;height:1.5rem;font-size:1.5rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-lg{width:1.25rem;height:1.25rem;font-size:1.25rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-sm{width:.875rem;height:.875rem;font-size:.875rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-3xl{width:3rem;height:3rem;font-size:3rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-4xl{width:4rem;height:4rem;font-size:4rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-5xl{width:5rem;height:5rem;font-size:5rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-6xl{width:6rem;height:6rem;font-size:6rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-7xl{width:7rem;height:7rem;font-size:7rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-8xl{width:8rem;height:8rem;font-size:8rem}.icon:not(.icon-c-s):not(.icon-custom-size).icon-9xl{width:9rem;height:9rem;font-size:9rem}\n"] }]
|
|
352
352
|
}], propDecorators: { content: [{ type: i0.Input, args: [{ isSignal: true, alias: "content", required: false }] }], attributes: [{ type: i0.Input, args: [{ isSignal: true, alias: "attributes", required: false }] }], customClasses: [{ type: i0.Input, args: [{ isSignal: true, alias: "customClasses", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], use: [{ type: i0.Input, args: [{ isSignal: true, alias: "use", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], viewBoxInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewBox", required: false }] }], svgElementRef: [{ type: i0.ViewChild, args: ['svgElement', { isSignal: true }] }] } });
|
|
353
353
|
|
|
354
354
|
class IconModule {
|
|
355
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0
|
|
356
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0
|
|
355
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
356
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.0", ngImport: i0, type: IconModule, imports: [IconComponent,
|
|
357
357
|
IconDirective], exports: [IconComponent,
|
|
358
358
|
IconDirective] });
|
|
359
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0
|
|
359
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconModule });
|
|
360
360
|
}
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0
|
|
361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: IconModule, decorators: [{
|
|
362
362
|
type: NgModule,
|
|
363
363
|
args: [{
|
|
364
364
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coreui-icons-angular.mjs","sources":["../../../projects/coreui-icons-angular/src/lib/icon-set/icon-set.service.ts","../../../projects/coreui-icons-angular/src/lib/icon-set/icon-set.module.ts","../../../projects/coreui-icons-angular/src/lib/icon/icon.utils.ts","../../../projects/coreui-icons-angular/src/lib/icon/icon.directive.ts","../../../projects/coreui-icons-angular/src/lib/shared/html-attr.directive.ts","../../../projects/coreui-icons-angular/src/lib/icon/icon.component.ts","../../../projects/coreui-icons-angular/src/lib/icon/icon.component.svg","../../../projects/coreui-icons-angular/src/lib/icon/icon.module.ts","../../../projects/coreui-icons-angular/src/public-api.ts","../../../projects/coreui-icons-angular/src/coreui-icons-angular.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nexport interface IIconSet {\n [iconName: string]: string[];\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class IconSetService {\n public get iconNames() {\n return this.#iconNames;\n }\n\n #iconNames: Record<string, string> = {};\n\n get icons(): IIconSet {\n return this.#icons;\n }\n\n set icons(iconSet) {\n for (const iconsKey in iconSet) {\n this.#iconNames[iconsKey] = iconsKey;\n }\n this.#icons = iconSet;\n }\n\n #icons: IIconSet = {};\n\n public getIcon(name: string): string[] {\n const icon = this.icons[name];\n if (!icon) {\n console.warn(`CoreUI WARN: Icon ${name} is not registered in IconService`);\n }\n return this.icons[name];\n }\n}\n","import { ModuleWithProviders, NgModule, inject } from '@angular/core';\n\nimport { IconSetService } from './icon-set.service';\n\n@NgModule({\n providers: [IconSetService]\n})\nexport class IconSetModule {\n constructor() {\n const parentModule = inject(IconSetModule, { optional: true, skipSelf: true });\n\n if (parentModule) {\n throw new Error(\n 'CoreUI IconSetModule is already loaded. Import it in the AppModule only');\n }\n }\n\n static forRoot(): ModuleWithProviders<IconSetModule> {\n return {\n ngModule: IconSetModule,\n providers: [\n { provide: IconSetService }\n ]\n };\n }\n}\n","export function toCamelCase(value: string) {\n return value.replace(/([-_][a-z0-9])/ig, ($1: string) => {\n return $1.toUpperCase().replace('-', '');\n });\n}\n\nexport function transformName(value: string) {\n return value && value.includes('-') ? toCamelCase(value) : value;\n}\n\nconst ESCAPE_HTML_MAP: Record<string, string> = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n};\n\nexport function escapeHtml(value: string): string {\n return String(value).replace(/[&<>\"']/g, (character) => ESCAPE_HTML_MAP[character]);\n}\n","import { computed, Directive, inject, input } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { IconSetService } from '../icon-set';\nimport { IconSize, IIcon, IPointerEvents, NgCssClass } from './icon.interface';\nimport { escapeHtml, transformName } from './icon.utils';\n\n@Directive({\n exportAs: 'cIcon',\n selector: 'svg[cIcon]',\n host: {\n '[innerHtml]': 'innerHtml()',\n '[class]': 'hostClasses()',\n '[attr.viewBox]': 'viewBox()',\n '[attr.xmlns]': 'xmlns()',\n '[attr.pointer-events]': 'pointerEvents()',\n '[attr.role]': 'role()',\n '[attr.aria-hidden]': 'true'\n }\n})\nexport class IconDirective implements IIcon {\n readonly #sanitizer = inject(DomSanitizer);\n readonly #iconSet = inject(IconSetService);\n\n /**\n * The icon itself: either its SVG content or a `[viewBox, content]` pair. Use this or\n * `name`, as it decides how the icon is imported.\n */\n readonly content = input<string | string[] | any[] | undefined>(undefined, { alias: 'cIcon' });\n\n /**\n * Overwrites the default `.icon` classes.\n */\n readonly customClasses = input<NgCssClass>();\n\n /**\n * Size of the icon.\n */\n readonly size = input<IconSize>('');\n\n /**\n * Sets the SVG `title` tag.\n */\n readonly title = input<string>();\n\n /**\n * Sets the SVG `height` attribute.\n */\n readonly height = input<string>();\n\n /**\n * Sets the SVG `width` attribute.\n */\n readonly width = input<string>();\n\n /**\n * Name of an SVG icon stored in `IconSetService`.\n */\n readonly name = input('', { transform: transformName });\n\n /**\n * Sets the SVG `viewBox` attribute.\n */\n readonly viewBoxInput = input<string | undefined>(undefined, { alias: 'viewBox' });\n\n /**\n * Sets the SVG `xmlns` attribute.\n */\n readonly xmlns = input('http://www.w3.org/2000/svg');\n\n /**\n * Sets the CSS `pointer-events` property of the icon.\n */\n readonly pointerEvents = input<IPointerEvents>('none', { alias: 'pointer-events' });\n\n /**\n * Sets the ARIA role of the icon.\n */\n readonly role = input('img');\n\n readonly hostClasses = computed<NgCssClass>(() => {\n const computedSize = this.computedSize();\n const classes = {\n icon: true,\n [`icon-${computedSize}`]: !!computedSize\n };\n return this.customClasses() ?? classes;\n });\n\n readonly viewBox = computed(() => {\n return this.viewBoxInput() ?? this.scale();\n });\n\n readonly innerHtml = computed(() => {\n const codeVal = this.code();\n const code = Array.isArray(codeVal) ? (codeVal?.[1] ?? codeVal?.[0] ?? '') : codeVal || '';\n // todo proper sanitize\n // const sanitized = this.sanitizer.sanitize(SecurityContext.HTML, code);\n return this.#sanitizer.bypassSecurityTrustHtml(this.#titleCode() + code || '');\n });\n\n readonly #titleCode = computed(() => {\n const title = this.title();\n return title ? `<title>${escapeHtml(title)}</title>` : '';\n });\n\n readonly code = computed(() => {\n const content = this.content();\n if (content) {\n return content;\n }\n const name = this.name();\n if (this.#iconSet && name) {\n return this.#iconSet.getIcon(name);\n }\n if (name && !this.#iconSet?.icons[name]) {\n console.warn(\n `cIcon directive: The '${name}' icon not found. Add it to the IconSet service for use with the 'name' property. \\n`,\n name\n );\n }\n return '';\n });\n\n readonly scale = computed(() => {\n return Array.isArray(this.code()) && (this.code()?.length ?? 0) > 1 ? `0 0 ${this.code()?.[0]}` : '0 0 64 64';\n });\n\n readonly computedSize = computed(() => {\n const addCustom = !this.size() && (this.width() || this.height());\n return this.size() === 'custom' || addCustom ? 'custom-size' : this.size();\n });\n}\n","import { Directive, effect, ElementRef, inject, input, Renderer2 } from '@angular/core';\n\n@Directive({\n selector: '[cHtmlAttr]',\n exportAs: 'cHtmlAttr'\n})\nexport class HtmlAttributesDirective {\n readonly cHtmlAttr = input<Record<string, any>>();\n\n readonly #renderer = inject(Renderer2);\n readonly #elementRef = inject(ElementRef);\n\n readonly attrEffect = effect(() => {\n const attribs = this.cHtmlAttr();\n for (const attr in attribs) {\n if (attr === 'style' && typeof attribs[attr] === 'object') {\n this.setStyle(attribs[attr]);\n } else if (attr === 'class') {\n this.addClass(attribs[attr]);\n } else {\n this.setAttrib(attr, attribs[attr]);\n }\n }\n });\n\n private setStyle(styles: Record<string, any>): void {\n for (const style in styles) {\n if (style) {\n this.#renderer.setStyle(this.#elementRef.nativeElement, style, styles[style]);\n }\n }\n }\n\n private addClass(classes: string | string[]): void {\n const classArray = Array.isArray(classes) ? classes : classes.split(' ');\n classArray\n .filter((element) => element.length > 0)\n .forEach((element) => {\n this.#renderer.addClass(this.#elementRef.nativeElement, element);\n });\n }\n\n private setAttrib(key: string, value: string | null): void {\n value !== null\n ? this.#renderer.setAttribute(this.#elementRef.nativeElement, key, value)\n : this.#renderer.removeAttribute(this.#elementRef.nativeElement, key);\n }\n}\n","import { Component, computed, effect, ElementRef, inject, input, Renderer2, viewChild } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { HtmlAttributesDirective } from '../shared/html-attr.directive';\nimport { IconSetService } from '../icon-set';\nimport { IconSize, IIcon, NgCssClass } from './icon.interface';\nimport { escapeHtml, transformName } from './icon.utils';\n\n@Component({\n exportAs: 'cIconComponent',\n imports: [HtmlAttributesDirective],\n selector: 'c-icon',\n styleUrls: ['./icon.component.scss'],\n templateUrl: './icon.component.svg',\n host: { ngSkipHydration: 'true', style: 'display: none' }\n})\nexport class IconComponent implements IIcon {\n readonly #renderer = inject(Renderer2);\n readonly #elementRef = inject(ElementRef);\n readonly #sanitizer = inject(DomSanitizer);\n readonly #iconSet = inject(IconSetService);\n\n readonly content = input<string | string[] | any[]>();\n\n readonly attributes = input<Record<string, any>>({ role: 'img' });\n readonly customClasses = input<NgCssClass>();\n readonly size = input<IconSize>('');\n readonly title = input<string>();\n readonly use = input<string>('');\n readonly height = input<string>();\n readonly width = input<string>();\n readonly name = input('', { transform: transformName });\n readonly viewBoxInput = input<string | undefined>(undefined, { alias: 'viewBox' });\n\n readonly svgElementRef = viewChild<ElementRef>('svgElement');\n\n readonly #svgElementEffect = effect(() => {\n const svgElementRef = this.svgElementRef();\n const hostElement: Element = this.#elementRef.nativeElement;\n if (svgElementRef && hostElement) {\n const svgElement = svgElementRef.nativeElement;\n hostElement.classList?.forEach((item: string) => {\n this.#renderer.addClass(svgElement, item);\n });\n const parentElement = this.#renderer.parentNode(hostElement);\n this.#renderer.insertBefore(parentElement, svgElement, hostElement);\n this.#renderer.removeChild(parentElement, hostElement);\n }\n });\n\n readonly viewBox = computed(() => {\n return this.viewBoxInput() ?? this.scale();\n });\n\n readonly innerHtml = computed(() => {\n const codeVal = this.code();\n const code = Array.isArray(codeVal) ? (codeVal?.[1] ?? codeVal?.[0] ?? '') : codeVal || '';\n // todo proper sanitize\n // const sanitized = this.sanitizer.sanitize(SecurityContext.HTML, code);\n return this.#sanitizer.bypassSecurityTrustHtml(this.#titleCode() + code || '');\n });\n\n readonly #titleCode = computed(() => {\n const title = this.title();\n return title ? `<title>${escapeHtml(title)}</title>` : '';\n });\n\n readonly code = computed(() => {\n const content = this.content();\n if (content) {\n return content;\n }\n const name = this.name();\n if (this.#iconSet && name) {\n return this.#iconSet.getIcon(name);\n }\n if (name && !this.#iconSet?.icons[name]) {\n console.warn(\n `c-icon component: The '${name}' icon not found. Add it to the IconSet service for use with the 'name' property. \\n`,\n name\n );\n }\n return '';\n });\n\n readonly scale = computed(() => {\n return Array.isArray(this.code()) && (this.code()?.length ?? 0) > 1 ? `0 0 ${this.code()?.[0]}` : '0 0 64 64';\n });\n\n readonly computedSize = computed(() => {\n const addCustom = !this.size() && (this.width() || this.height());\n return this.size() === 'custom' || addCustom ? 'custom-size' : this.size();\n });\n\n readonly computedClasses = computed(() => {\n const classes = {\n icon: true,\n [`icon-${this.computedSize()}`]: !!this.computedSize()\n };\n return this.customClasses() ?? classes;\n });\n}\n","@if (!use() && !!code()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"width()\"\n [attr.height]=\"height() || width()\"\n [attr.viewBox]=\"viewBox() ?? scale()\"\n [innerHtml]=\"innerHtml()\"\n [class]=\"computedClasses()\"\n [cHtmlAttr]=\"attributes()\"\n aria-hidden=\"true\"\n pointer-events=\"none\"\n role=\"img\"\n #svgElement\n >\n </svg>\n} @else if (use()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"width()\"\n [attr.height]=\"height() || width()\"\n [class]=\"computedClasses()\"\n [cHtmlAttr]=\"attributes()\"\n aria-hidden=\"true\"\n pointer-events=\"none\"\n role=\"img\"\n #svgElement\n >\n <use [attr.href]=\"use()\"></use>\n </svg>\n}\n","import { NgModule } from '@angular/core';\nimport { IconComponent } from './icon.component';\nimport { IconDirective } from './icon.directive';\n\n@NgModule({\n imports: [\n IconComponent,\n IconDirective\n ],\n exports: [\n IconComponent,\n IconDirective\n ]\n})\nexport class IconModule {}\n","/*\n * Public API Surface of @coreui/icons-angular\n */\nexport { IconDirective } from './lib/icon/icon.directive';\nexport { IconComponent } from './lib/icon/icon.component';\nexport { IconModule } from './lib/icon/icon.module';\nexport { IconSetService, type IIconSet } from './lib/icon-set/icon-set.service';\nexport { IconSetModule } from './lib/icon-set/icon-set.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MASa,cAAc,CAAA;AACzB,IAAA,IAAW,SAAS,GAAA;QAClB,OAAO,IAAI,CAAC,UAAU;IACxB;IAEA,UAAU,GAA2B,EAAE;AAEvC,IAAA,IAAI,KAAK,GAAA;QACP,OAAO,IAAI,CAAC,MAAM;IACpB;IAEA,IAAI,KAAK,CAAC,OAAO,EAAA;AACf,QAAA,KAAK,MAAM,QAAQ,IAAI,OAAO,EAAE;AAC9B,YAAA,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,QAAQ;QACtC;AACA,QAAA,IAAI,CAAC,MAAM,GAAG,OAAO;IACvB;IAEA,MAAM,GAAa,EAAE;AAEd,IAAA,OAAO,CAAC,IAAY,EAAA;QACzB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,IAAI,EAAE;AACT,YAAA,OAAO,CAAC,IAAI,CAAC,qBAAqB,IAAI,CAAA,iCAAA,CAAmC,CAAC;QAC5E;AACA,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;IACzB;uGA1BW,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAd,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA;;2FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;MCDY,aAAa,CAAA;AACxB,IAAA,WAAA,GAAA;AACE,QAAA,MAAM,YAAY,GAAG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A,aAAA,EAAA,MAAA,EAAA,CAAA,WAAA,CAAA,EAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAMtB,aAAa,EAAA,UAAA,EAAA,CAAA;kBARzB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAAA,OAAA,EACjB,CAAC,uBAAuB,CAAC,YACxB,QAAQ,EAAA,IAAA,EAGZ,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,EAAA,QAAA,EAAA,8vBAAA,EAAA,MAAA,EAAA,CAAA,yrCAAA,CAAA,EAAA;g/BAoBV,YAAY,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;MEpBhD,UAAU,CAAA;uGAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAV,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YARnB,aAAa;AACb,YAAA,aAAa,aAGb,aAAa;YACb,aAAa,CAAA,EAAA,CAAA;wGAGJ,UAAU,EAAA,CAAA;;2FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAVtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,aAAa;wBACb;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,aAAa;wBACb;AACD;AACF,iBAAA;;;ACbD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"coreui-icons-angular.mjs","sources":["../../../projects/coreui-icons-angular/src/lib/icon-set/icon-set.service.ts","../../../projects/coreui-icons-angular/src/lib/icon-set/icon-set.module.ts","../../../projects/coreui-icons-angular/src/lib/icon/icon.utils.ts","../../../projects/coreui-icons-angular/src/lib/icon/icon.directive.ts","../../../projects/coreui-icons-angular/src/lib/shared/html-attr.directive.ts","../../../projects/coreui-icons-angular/src/lib/icon/icon.component.ts","../../../projects/coreui-icons-angular/src/lib/icon/icon.component.svg","../../../projects/coreui-icons-angular/src/lib/icon/icon.module.ts","../../../projects/coreui-icons-angular/src/public-api.ts","../../../projects/coreui-icons-angular/src/coreui-icons-angular.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nexport interface IIconSet {\n [iconName: string]: string[];\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class IconSetService {\n public get iconNames() {\n return this.#iconNames;\n }\n\n #iconNames: Record<string, string> = {};\n\n get icons(): IIconSet {\n return this.#icons;\n }\n\n set icons(iconSet) {\n for (const iconsKey in iconSet) {\n this.#iconNames[iconsKey] = iconsKey;\n }\n this.#icons = iconSet;\n }\n\n #icons: IIconSet = {};\n\n public getIcon(name: string): string[] {\n const icon = this.icons[name];\n if (!icon) {\n console.warn(`CoreUI WARN: Icon ${name} is not registered in IconService`);\n }\n return this.icons[name];\n }\n}\n","import { ModuleWithProviders, NgModule, inject } from '@angular/core';\n\nimport { IconSetService } from './icon-set.service';\n\n@NgModule({\n providers: [IconSetService]\n})\nexport class IconSetModule {\n constructor() {\n const parentModule = inject(IconSetModule, { optional: true, skipSelf: true });\n\n if (parentModule) {\n throw new Error(\n 'CoreUI IconSetModule is already loaded. Import it in the AppModule only');\n }\n }\n\n static forRoot(): ModuleWithProviders<IconSetModule> {\n return {\n ngModule: IconSetModule,\n providers: [\n { provide: IconSetService }\n ]\n };\n }\n}\n","export function toCamelCase(value: string) {\n return value.replace(/([-_][a-z0-9])/ig, ($1: string) => {\n return $1.toUpperCase().replace('-', '');\n });\n}\n\nexport function transformName(value: string) {\n return value && value.includes('-') ? toCamelCase(value) : value;\n}\n\nconst ESCAPE_HTML_MAP: Record<string, string> = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n};\n\nexport function escapeHtml(value: string): string {\n return String(value).replace(/[&<>\"']/g, (character) => ESCAPE_HTML_MAP[character]);\n}\n","import { computed, Directive, inject, input } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { IconSetService } from '../icon-set';\nimport { IconSize, IIcon, IPointerEvents, NgCssClass } from './icon.interface';\nimport { escapeHtml, transformName } from './icon.utils';\n\n@Directive({\n exportAs: 'cIcon',\n selector: 'svg[cIcon]',\n host: {\n '[innerHtml]': 'innerHtml()',\n '[class]': 'hostClasses()',\n '[attr.viewBox]': 'viewBox()',\n '[attr.xmlns]': 'xmlns()',\n '[attr.pointer-events]': 'pointerEvents()',\n '[attr.role]': 'role()',\n '[attr.aria-hidden]': 'true'\n }\n})\nexport class IconDirective implements IIcon {\n readonly #sanitizer = inject(DomSanitizer);\n readonly #iconSet = inject(IconSetService);\n\n /**\n * The icon itself: either its SVG content or a `[viewBox, content]` pair. Use this or\n * `name`, as it decides how the icon is imported.\n */\n readonly content = input<string | string[] | any[] | undefined>(undefined, { alias: 'cIcon' });\n\n /**\n * Overwrites the default `.icon` classes.\n */\n readonly customClasses = input<NgCssClass>();\n\n /**\n * Size of the icon.\n */\n readonly size = input<IconSize>('');\n\n /**\n * Sets the SVG `title` tag.\n */\n readonly title = input<string>();\n\n /**\n * Sets the SVG `height` attribute.\n */\n readonly height = input<string>();\n\n /**\n * Sets the SVG `width` attribute.\n */\n readonly width = input<string>();\n\n /**\n * Name of an SVG icon stored in `IconSetService`.\n */\n readonly name = input('', { transform: transformName });\n\n /**\n * Sets the SVG `viewBox` attribute.\n */\n readonly viewBoxInput = input<string | undefined>(undefined, { alias: 'viewBox' });\n\n /**\n * Sets the SVG `xmlns` attribute.\n */\n readonly xmlns = input('http://www.w3.org/2000/svg');\n\n /**\n * Sets the CSS `pointer-events` property of the icon.\n */\n readonly pointerEvents = input<IPointerEvents>('none', { alias: 'pointer-events' });\n\n /**\n * Sets the ARIA role of the icon.\n */\n readonly role = input('img');\n\n readonly hostClasses = computed<NgCssClass>(() => {\n const computedSize = this.computedSize();\n const classes = {\n icon: true,\n [`icon-${computedSize}`]: !!computedSize\n };\n return this.customClasses() ?? classes;\n });\n\n readonly viewBox = computed(() => {\n return this.viewBoxInput() ?? this.scale();\n });\n\n readonly innerHtml = computed(() => {\n const codeVal = this.code();\n const code = Array.isArray(codeVal) ? (codeVal?.[1] ?? codeVal?.[0] ?? '') : codeVal || '';\n // todo proper sanitize\n // const sanitized = this.sanitizer.sanitize(SecurityContext.HTML, code);\n return this.#sanitizer.bypassSecurityTrustHtml(this.#titleCode() + code || '');\n });\n\n readonly #titleCode = computed(() => {\n const title = this.title();\n return title ? `<title>${escapeHtml(title)}</title>` : '';\n });\n\n readonly code = computed(() => {\n const content = this.content();\n if (content) {\n return content;\n }\n const name = this.name();\n if (this.#iconSet && name) {\n return this.#iconSet.getIcon(name);\n }\n if (name && !this.#iconSet?.icons[name]) {\n console.warn(\n `cIcon directive: The '${name}' icon not found. Add it to the IconSet service for use with the 'name' property. \\n`,\n name\n );\n }\n return '';\n });\n\n readonly scale = computed(() => {\n return Array.isArray(this.code()) && (this.code()?.length ?? 0) > 1 ? `0 0 ${this.code()?.[0]}` : '0 0 64 64';\n });\n\n readonly computedSize = computed(() => {\n const addCustom = !this.size() && (this.width() || this.height());\n return this.size() === 'custom' || addCustom ? 'custom-size' : this.size();\n });\n}\n","import { Directive, effect, ElementRef, inject, input, Renderer2 } from '@angular/core';\n\n@Directive({\n selector: '[cHtmlAttr]',\n exportAs: 'cHtmlAttr'\n})\nexport class HtmlAttributesDirective {\n readonly cHtmlAttr = input<Record<string, any>>();\n\n readonly #renderer = inject(Renderer2);\n readonly #elementRef = inject(ElementRef);\n\n readonly attrEffect = effect(() => {\n const attribs = this.cHtmlAttr();\n for (const attr in attribs) {\n if (attr === 'style' && typeof attribs[attr] === 'object') {\n this.setStyle(attribs[attr]);\n } else if (attr === 'class') {\n this.addClass(attribs[attr]);\n } else {\n this.setAttrib(attr, attribs[attr]);\n }\n }\n });\n\n private setStyle(styles: Record<string, any>): void {\n for (const style in styles) {\n if (style) {\n this.#renderer.setStyle(this.#elementRef.nativeElement, style, styles[style]);\n }\n }\n }\n\n private addClass(classes: string | string[]): void {\n const classArray = Array.isArray(classes) ? classes : classes.split(' ');\n classArray\n .filter((element) => element.length > 0)\n .forEach((element) => {\n this.#renderer.addClass(this.#elementRef.nativeElement, element);\n });\n }\n\n private setAttrib(key: string, value: string | null): void {\n value !== null\n ? this.#renderer.setAttribute(this.#elementRef.nativeElement, key, value)\n : this.#renderer.removeAttribute(this.#elementRef.nativeElement, key);\n }\n}\n","import { Component, computed, effect, ElementRef, inject, input, Renderer2, viewChild } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { HtmlAttributesDirective } from '../shared/html-attr.directive';\nimport { IconSetService } from '../icon-set';\nimport { IconSize, IIcon, NgCssClass } from './icon.interface';\nimport { escapeHtml, transformName } from './icon.utils';\n\n@Component({\n exportAs: 'cIconComponent',\n imports: [HtmlAttributesDirective],\n selector: 'c-icon',\n styleUrls: ['./icon.component.scss'],\n templateUrl: './icon.component.svg',\n host: { ngSkipHydration: 'true', style: 'display: none' }\n})\nexport class IconComponent implements IIcon {\n readonly #renderer = inject(Renderer2);\n readonly #elementRef = inject(ElementRef);\n readonly #sanitizer = inject(DomSanitizer);\n readonly #iconSet = inject(IconSetService);\n\n readonly content = input<string | string[] | any[]>();\n\n readonly attributes = input<Record<string, any>>({ role: 'img' });\n readonly customClasses = input<NgCssClass>();\n readonly size = input<IconSize>('');\n readonly title = input<string>();\n readonly use = input<string>('');\n readonly height = input<string>();\n readonly width = input<string>();\n readonly name = input('', { transform: transformName });\n readonly viewBoxInput = input<string | undefined>(undefined, { alias: 'viewBox' });\n\n readonly svgElementRef = viewChild<ElementRef>('svgElement');\n\n readonly #svgElementEffect = effect(() => {\n const svgElementRef = this.svgElementRef();\n const hostElement: Element = this.#elementRef.nativeElement;\n if (svgElementRef && hostElement) {\n const svgElement = svgElementRef.nativeElement;\n hostElement.classList?.forEach((item: string) => {\n this.#renderer.addClass(svgElement, item);\n });\n const parentElement = this.#renderer.parentNode(hostElement);\n this.#renderer.insertBefore(parentElement, svgElement, hostElement);\n this.#renderer.removeChild(parentElement, hostElement);\n }\n });\n\n readonly viewBox = computed(() => {\n return this.viewBoxInput() ?? this.scale();\n });\n\n readonly innerHtml = computed(() => {\n const codeVal = this.code();\n const code = Array.isArray(codeVal) ? (codeVal?.[1] ?? codeVal?.[0] ?? '') : codeVal || '';\n // todo proper sanitize\n // const sanitized = this.sanitizer.sanitize(SecurityContext.HTML, code);\n return this.#sanitizer.bypassSecurityTrustHtml(this.#titleCode() + code || '');\n });\n\n readonly #titleCode = computed(() => {\n const title = this.title();\n return title ? `<title>${escapeHtml(title)}</title>` : '';\n });\n\n readonly code = computed(() => {\n const content = this.content();\n if (content) {\n return content;\n }\n const name = this.name();\n if (this.#iconSet && name) {\n return this.#iconSet.getIcon(name);\n }\n if (name && !this.#iconSet?.icons[name]) {\n console.warn(\n `c-icon component: The '${name}' icon not found. Add it to the IconSet service for use with the 'name' property. \\n`,\n name\n );\n }\n return '';\n });\n\n readonly scale = computed(() => {\n return Array.isArray(this.code()) && (this.code()?.length ?? 0) > 1 ? `0 0 ${this.code()?.[0]}` : '0 0 64 64';\n });\n\n readonly computedSize = computed(() => {\n const addCustom = !this.size() && (this.width() || this.height());\n return this.size() === 'custom' || addCustom ? 'custom-size' : this.size();\n });\n\n readonly computedClasses = computed(() => {\n const classes = {\n icon: true,\n [`icon-${this.computedSize()}`]: !!this.computedSize()\n };\n return this.customClasses() ?? classes;\n });\n}\n","@if (!use() && !!code()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"width()\"\n [attr.height]=\"height() || width()\"\n [attr.viewBox]=\"viewBox() || scale()\"\n [innerHtml]=\"innerHtml()\"\n [class]=\"computedClasses()\"\n [cHtmlAttr]=\"attributes()\"\n aria-hidden=\"true\"\n pointer-events=\"none\"\n role=\"img\"\n #svgElement\n >\n </svg>\n} @else if (use()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"width()\"\n [attr.height]=\"height() || width()\"\n [class]=\"computedClasses()\"\n [cHtmlAttr]=\"attributes()\"\n aria-hidden=\"true\"\n pointer-events=\"none\"\n role=\"img\"\n #svgElement\n >\n <use [attr.href]=\"use()\"></use>\n </svg>\n}\n","import { NgModule } from '@angular/core';\nimport { IconComponent } from './icon.component';\nimport { IconDirective } from './icon.directive';\n\n@NgModule({\n imports: [\n IconComponent,\n IconDirective\n ],\n exports: [\n IconComponent,\n IconDirective\n ]\n})\nexport class IconModule {}\n","/*\n * Public API Surface of @coreui/icons-angular\n */\nexport { IconDirective } from './lib/icon/icon.directive';\nexport { IconComponent } from './lib/icon/icon.component';\nexport { IconModule } from './lib/icon/icon.module';\nexport { IconSetService, type IIconSet } from './lib/icon-set/icon-set.service';\nexport { IconSetModule } from './lib/icon-set/icon-set.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MASa,cAAc,CAAA;AACzB,IAAA,IAAW,SAAS,GAAA;QAClB,OAAO,IAAI,CAAC,UAAU;IACxB;IAEA,UAAU,GAA2B,EAAE;AAEvC,IAAA,IAAI,KAAK,GAAA;QACP,OAAO,IAAI,CAAC,MAAM;IACpB;IAEA,IAAI,KAAK,CAAC,OAAO,EAAA;AACf,QAAA,KAAK,MAAM,QAAQ,IAAI,OAAO,EAAE;AAC9B,YAAA,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,QAAQ;QACtC;AACA,QAAA,IAAI,CAAC,MAAM,GAAG,OAAO;IACvB;IAEA,MAAM,GAAa,EAAE;AAEd,IAAA,OAAO,CAAC,IAAY,EAAA;QACzB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;QAC7B,IAAI,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AA,CAAA;AAAV,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YARnB,aAAa;AACb,YAAA,aAAa,aAGb,aAAa;YACb,aAAa,CAAA,EAAA,CAAA;wGAGJ,UAAU,EAAA,CAAA;;2FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAVtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,aAAa;wBACb;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,aAAa;wBACb;AACD;AACF,iBAAA;;;ACbD;;AAEG;;ACFH;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/icons-angular",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.11",
|
|
4
4
|
"description": "CoreUI Icons Angular component and service",
|
|
5
5
|
"copyright": "Copyright 2026 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"url": "https://github.com/coreui/coreui-angular/issues"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@angular/common": "^22.
|
|
29
|
-
"@angular/core": "^22.
|
|
30
|
-
"@angular/platform-browser": "^22.
|
|
28
|
+
"@angular/common": "^22.1.0",
|
|
29
|
+
"@angular/core": "^22.1.0",
|
|
30
|
+
"@angular/platform-browser": "^22.1.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"tslib": "^2.3.0"
|