@ngxi/streamline-cyber 0.12.24 → 0.12.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3001,21 +3001,11 @@ const streamlineCyberWrenchScrewdriver = {
3001
3001
  "height": 24,
3002
3002
  "viewBox": "0 0 24 24"
3003
3003
  };
3004
- function __decorate(decorators, target, key, desc) {
3005
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3006
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3007
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3008
- return c > 3 && r && Object.defineProperty(target, key, r), r;
3009
- }
3010
- typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
3011
- var e = new Error(message);
3012
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
3013
- };
3014
3004
  class Ngxi {
3015
3005
  constructor() {
3016
3006
  this.el = inject(ElementRef);
3017
3007
  this.platformId = inject(PLATFORM_ID);
3018
- this.ngxi = input.required(...[]);
3008
+ this.icon = input.required(...[]);
3019
3009
  this.width = input(void 0, ...[{
3020
3010
  transform: numberAttribute
3021
3011
  }]);
@@ -3031,20 +3021,20 @@ class Ngxi {
3031
3021
  if (isPlatformBrowser(this.platformId)) {
3032
3022
  const svg = this.el.nativeElement;
3033
3023
  svg.innerHTML = "";
3034
- if (!this.ngxi) {
3024
+ if (!this.icon) {
3035
3025
  return;
3036
3026
  }
3037
- svg.innerHTML = this.ngxi().body;
3038
- svg.setAttribute("width", (this.width() ?? this.ngxi()?.width ?? "").toString());
3039
- svg.setAttribute("height", (this.height() ?? this.ngxi()?.height ?? "").toString());
3040
- svg.setAttribute("viewBox", this.viewBox() ?? this.ngxi()?.viewBox ?? "");
3027
+ svg.innerHTML = this.icon().body;
3028
+ svg.setAttribute("width", (this.width() ?? this.icon()?.width ?? "").toString());
3029
+ svg.setAttribute("height", (this.height() ?? this.icon()?.height ?? "").toString());
3030
+ svg.setAttribute("viewBox", this.viewBox() ?? this.icon()?.viewBox ?? "");
3041
3031
  }
3042
3032
  }
3043
3033
  static {
3044
3034
  this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: Ngxi, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3045
3035
  }
3046
3036
  static {
3047
- this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.2.2", type: Ngxi, isStandalone: true, selector: "svg[ngxi]", inputs: { ngxi: { classPropertyName: "ngxi", publicName: "ngxi", isSignal: true, isRequired: true, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, viewBox: { classPropertyName: "viewBox", publicName: "viewBox", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
3037
+ this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.2.2", type: Ngxi, isStandalone: true, selector: "svg[ngxi]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, viewBox: { classPropertyName: "viewBox", publicName: "viewBox", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
3048
3038
  }
3049
3039
  }
3050
3040
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: Ngxi, decorators: [{
@@ -3054,13 +3044,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImpor
3054
3044
  standalone: true
3055
3045
  }]
3056
3046
  }], ctorParameters: () => [] });
3057
- let NgxiStreamlineCyber = class NgxiStreamlineCyber2 {
3047
+ class NgxiStreamlineCyber {
3058
3048
  constructor() {
3059
3049
  this.ngxiStreamlineCyber = input.required(...[]);
3060
3050
  }
3061
- };
3062
- NgxiStreamlineCyber = __decorate([
3063
- Directive({
3051
+ static {
3052
+ this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NgxiStreamlineCyber, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3053
+ }
3054
+ static {
3055
+ this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.2.2", type: NgxiStreamlineCyber, isStandalone: true, selector: "svg[ngxiStreamlineCyber]", inputs: { ngxiStreamlineCyber: { classPropertyName: "ngxiStreamlineCyber", publicName: "ngxiStreamlineCyber", isSignal: true, isRequired: true, transformFunction: null } }, hostDirectives: [{ directive: Ngxi, inputs: ["icon", "ngxiStreamlineCyber", "width", "width", "height", "height", "viewBox", "viewBox"] }], ngImport: i0 });
3056
+ }
3057
+ }
3058
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NgxiStreamlineCyber, decorators: [{
3059
+ type: Directive,
3060
+ args: [{
3064
3061
  standalone: true,
3065
3062
  selector: "svg[ngxiStreamlineCyber]",
3066
3063
  hostDirectives: [
@@ -3069,8 +3066,8 @@ NgxiStreamlineCyber = __decorate([
3069
3066
  inputs: ["icon:ngxiStreamlineCyber", "width", "height", "viewBox"]
3070
3067
  }
3071
3068
  ]
3072
- })
3073
- ], NgxiStreamlineCyber);
3069
+ }]
3070
+ }] });
3074
3071
  export {
3075
3072
  NgxiStreamlineCyber,
3076
3073
  streamlineCyber3dGlasses,