@smartbit4all/ng-client 3.2.20 → 3.2.22

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.
@@ -74,6 +74,7 @@ export interface SmartWidgetDefinition {
74
74
  direction?: SmartFormWidgetDirection;
75
75
  matrix?: SmartMatrixModel;
76
76
  hint?: SmartWidgetHint;
77
+ widgetDescription?: string;
77
78
  }
78
79
  export declare namespace SmartWidgetDefinition {
79
80
  }
@@ -1,15 +1,13 @@
1
- import { OnChanges, SimpleChanges } from "@angular/core";
2
- import { MatIconRegistry } from "@angular/material/icon";
3
- import { SmartIconService } from "../smart-icon.service";
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { SmartIconService } from '../smart-icon.service';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class SmartIconComponent implements OnChanges {
6
- private matIconRegistry;
7
5
  private service;
8
6
  iconWithoutNamespace: string;
9
7
  icon: string;
10
8
  color?: string;
11
9
  isCustom: boolean;
12
- constructor(matIconRegistry: MatIconRegistry, service: SmartIconService);
10
+ constructor(service: SmartIconService);
13
11
  ngOnChanges(changes: SimpleChanges): void;
14
12
  checkIcon(): Promise<void>;
15
13
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartIconComponent, never>;
@@ -1,5 +1,5 @@
1
- import { MatIconRegistry } from "@angular/material/icon";
2
- import { DomSanitizer } from "@angular/platform-browser";
1
+ import { MatIconRegistry } from '@angular/material/icon';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
3
  import * as i0 from "@angular/core";
4
4
  export interface SmartIconSet {
5
5
  iconSetName: string;
@@ -16,6 +16,13 @@ export declare class SmartIconService {
16
16
  iconSets(iconSets: any): void;
17
17
  private setUpIcons;
18
18
  private load;
19
+ private fullyQualifiedIconByIcon;
20
+ /**
21
+ * Returns fully qualified icon name with namespace if found in iconSets, otherwise returns undefined.
22
+ * @param iconWithoutNamespace
23
+ * @returns
24
+ */
25
+ getFullyQualifiedIcon(iconWithoutNamespace: string): Promise<string | undefined>;
19
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartIconService, never>;
20
27
  static ɵprov: i0.ɵɵInjectableDeclaration<SmartIconService>;
21
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.2.20",
3
+ "version": "3.2.22",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",
Binary file