@smartbit4all/ng-client 4.2.93 → 4.2.95

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.
Files changed (157) hide show
  1. package/esm2022/lib/smart-component-layout/api/api/api.mjs +1 -1
  2. package/esm2022/lib/smart-component-layout/api/api/default.service.mjs +1 -1
  3. package/esm2022/lib/smart-component-layout/api/api.module.mjs +1 -1
  4. package/esm2022/lib/smart-component-layout/api/configuration.mjs +1 -1
  5. package/esm2022/lib/smart-component-layout/api/encoder.mjs +1 -1
  6. package/esm2022/lib/smart-component-layout/api/index.mjs +1 -1
  7. package/esm2022/lib/smart-component-layout/api/model/componentType.mjs +1 -1
  8. package/esm2022/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
  9. package/esm2022/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
  10. package/esm2022/lib/smart-component-layout/api/param.mjs +1 -1
  11. package/esm2022/lib/smart-component-layout/api/variables.mjs +1 -1
  12. package/esm2022/lib/smart-dialog/smartdialog.component.mjs +1 -1
  13. package/esm2022/lib/smart-expandable-section/expandable-section.component.mjs +1 -1
  14. package/esm2022/lib/smart-filter-editor/smart-filter-params/components/smart-filter-param/smart-filter-param.component.mjs +1 -1
  15. package/esm2022/lib/smart-form/api/api/api.mjs +1 -1
  16. package/esm2022/lib/smart-form/api/api/default.service.mjs +1 -1
  17. package/esm2022/lib/smart-form/api/api.module.mjs +1 -1
  18. package/esm2022/lib/smart-form/api/configuration.mjs +1 -1
  19. package/esm2022/lib/smart-form/api/encoder.mjs +1 -1
  20. package/esm2022/lib/smart-form/api/index.mjs +1 -1
  21. package/esm2022/lib/smart-form/api/model/models.mjs +1 -1
  22. package/esm2022/lib/smart-form/api/model/propertyMapping.mjs +1 -1
  23. package/esm2022/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
  24. package/esm2022/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
  25. package/esm2022/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
  26. package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
  27. package/esm2022/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
  28. package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
  29. package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
  30. package/esm2022/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
  31. package/esm2022/lib/smart-form/api/model/sortDefinition.mjs +1 -1
  32. package/esm2022/lib/smart-form/api/model/textFieldProperties.mjs +1 -1
  33. package/esm2022/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
  34. package/esm2022/lib/smart-form/api/param.mjs +1 -1
  35. package/esm2022/lib/smart-form/api/variables.mjs +1 -1
  36. package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +7 -6
  37. package/esm2022/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.mjs +1 -1
  38. package/esm2022/lib/smart-grid/components/expandable-grid/expandable-grid.component.mjs +1 -1
  39. package/esm2022/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.mjs +1 -1
  40. package/esm2022/lib/smart-grid/smart-grid.component.mjs +8 -9
  41. package/esm2022/lib/smart-icon/smart-icon/smart-icon.component.mjs +38 -10
  42. package/esm2022/lib/smart-icon/smart-icon.module.mjs +5 -4
  43. package/esm2022/lib/smart-map/api/api/api.mjs +1 -1
  44. package/esm2022/lib/smart-map/api/api/geoMap.service.mjs +1 -1
  45. package/esm2022/lib/smart-map/api/api.module.mjs +1 -1
  46. package/esm2022/lib/smart-map/api/configuration.mjs +1 -1
  47. package/esm2022/lib/smart-map/api/encoder.mjs +1 -1
  48. package/esm2022/lib/smart-map/api/index.mjs +1 -1
  49. package/esm2022/lib/smart-map/api/model/gPSPosition.mjs +1 -1
  50. package/esm2022/lib/smart-map/api/model/gPSRoute.mjs +1 -1
  51. package/esm2022/lib/smart-map/api/model/geoMapChange.mjs +1 -1
  52. package/esm2022/lib/smart-map/api/model/geoMapDataLoadingMode.mjs +1 -1
  53. package/esm2022/lib/smart-map/api/model/geoMapDataSourceDescriptor.mjs +1 -1
  54. package/esm2022/lib/smart-map/api/model/geoMapDataSourceType.mjs +1 -1
  55. package/esm2022/lib/smart-map/api/model/geoMapEditingSession.mjs +1 -1
  56. package/esm2022/lib/smart-map/api/model/geoMapInteraction.mjs +1 -1
  57. package/esm2022/lib/smart-map/api/model/geoMapItem.mjs +1 -1
  58. package/esm2022/lib/smart-map/api/model/geoMapItemKind.mjs +1 -1
  59. package/esm2022/lib/smart-map/api/model/geoMapLayer.mjs +1 -1
  60. package/esm2022/lib/smart-map/api/model/geoMapLayerChange.mjs +1 -1
  61. package/esm2022/lib/smart-map/api/model/geoMapLayerDescriptor.mjs +1 -1
  62. package/esm2022/lib/smart-map/api/model/geoMapModel.mjs +1 -1
  63. package/esm2022/lib/smart-map/api/model/geoMapOperationMode.mjs +1 -1
  64. package/esm2022/lib/smart-map/api/model/geoMapSelectionMode.mjs +1 -1
  65. package/esm2022/lib/smart-map/api/model/geoMapServerModel.mjs +1 -1
  66. package/esm2022/lib/smart-map/api/model/geoMapTextType.mjs +1 -1
  67. package/esm2022/lib/smart-map/api/model/geoMapViewState.mjs +1 -1
  68. package/esm2022/lib/smart-map/api/model/geoMapViewport.mjs +1 -1
  69. package/esm2022/lib/smart-map/api/model/models.mjs +1 -1
  70. package/esm2022/lib/smart-map/api/param.mjs +1 -1
  71. package/esm2022/lib/smart-map/api/variables.mjs +1 -1
  72. package/esm2022/lib/smart-table/components/default-actions-popup/default-actions-popup.component.mjs +1 -1
  73. package/esm2022/lib/smart-table/tables/material-table/material-table.component.mjs +3 -3
  74. package/esm2022/lib/smart-table/tables/mobile-table/mobile-table.component.mjs +1 -1
  75. package/esm2022/lib/smart-tree/smarttree.component.mjs +1 -1
  76. package/esm2022/lib/view-context/api/api/api.mjs +1 -1
  77. package/esm2022/lib/view-context/api/api/view.service.mjs +1 -1
  78. package/esm2022/lib/view-context/api/api.module.mjs +1 -1
  79. package/esm2022/lib/view-context/api/configuration.mjs +1 -1
  80. package/esm2022/lib/view-context/api/encoder.mjs +1 -1
  81. package/esm2022/lib/view-context/api/index.mjs +1 -1
  82. package/esm2022/lib/view-context/api/model/backgroundProcessInfo.mjs +1 -1
  83. package/esm2022/lib/view-context/api/model/badgeDescriptor.mjs +1 -1
  84. package/esm2022/lib/view-context/api/model/clipboardData.mjs +1 -1
  85. package/esm2022/lib/view-context/api/model/closeResult.mjs +1 -1
  86. package/esm2022/lib/view-context/api/model/componentConstraint.mjs +1 -1
  87. package/esm2022/lib/view-context/api/model/componentModel.mjs +1 -1
  88. package/esm2022/lib/view-context/api/model/componentModelChange.mjs +1 -1
  89. package/esm2022/lib/view-context/api/model/dataChange.mjs +1 -1
  90. package/esm2022/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
  91. package/esm2022/lib/view-context/api/model/dataChangeKind.mjs +1 -1
  92. package/esm2022/lib/view-context/api/model/deviceInfo.mjs +1 -1
  93. package/esm2022/lib/view-context/api/model/downloadedFile.mjs +1 -1
  94. package/esm2022/lib/view-context/api/model/iconPosition.mjs +1 -1
  95. package/esm2022/lib/view-context/api/model/imageResource.mjs +1 -1
  96. package/esm2022/lib/view-context/api/model/link.mjs +1 -1
  97. package/esm2022/lib/view-context/api/model/messageData.mjs +1 -1
  98. package/esm2022/lib/view-context/api/model/messageOption.mjs +1 -1
  99. package/esm2022/lib/view-context/api/model/messageOptionType.mjs +1 -1
  100. package/esm2022/lib/view-context/api/model/messageResult.mjs +1 -1
  101. package/esm2022/lib/view-context/api/model/messageTextType.mjs +1 -1
  102. package/esm2022/lib/view-context/api/model/messageType.mjs +1 -1
  103. package/esm2022/lib/view-context/api/model/models.mjs +1 -1
  104. package/esm2022/lib/view-context/api/model/multiComboBoxElement.mjs +1 -1
  105. package/esm2022/lib/view-context/api/model/multiComboBoxModel.mjs +1 -1
  106. package/esm2022/lib/view-context/api/model/namedValidator.mjs +1 -1
  107. package/esm2022/lib/view-context/api/model/openPendingData.mjs +1 -1
  108. package/esm2022/lib/view-context/api/model/serverRequestExecutionStat.mjs +1 -1
  109. package/esm2022/lib/view-context/api/model/serverRequestTrack.mjs +1 -1
  110. package/esm2022/lib/view-context/api/model/serverRequestType.mjs +1 -1
  111. package/esm2022/lib/view-context/api/model/smartLinkData.mjs +1 -1
  112. package/esm2022/lib/view-context/api/model/smartLinkMigrationStatus.mjs +1 -1
  113. package/esm2022/lib/view-context/api/model/statisticRecord.mjs +1 -1
  114. package/esm2022/lib/view-context/api/model/style.mjs +1 -1
  115. package/esm2022/lib/view-context/api/model/uiAction.mjs +1 -1
  116. package/esm2022/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
  117. package/esm2022/lib/view-context/api/model/uiActionButtonType.mjs +1 -1
  118. package/esm2022/lib/view-context/api/model/uiActionConstraint.mjs +1 -1
  119. package/esm2022/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
  120. package/esm2022/lib/view-context/api/model/uiActionDialogDescriptor.mjs +1 -1
  121. package/esm2022/lib/view-context/api/model/uiActionFeedbackType.mjs +1 -1
  122. package/esm2022/lib/view-context/api/model/uiActionInputType.mjs +1 -1
  123. package/esm2022/lib/view-context/api/model/uiActionRequest.mjs +1 -1
  124. package/esm2022/lib/view-context/api/model/uiActionTooltip.mjs +1 -1
  125. package/esm2022/lib/view-context/api/model/uiActionUploadDescriptor.mjs +1 -1
  126. package/esm2022/lib/view-context/api/model/uploadWidgetType.mjs +1 -1
  127. package/esm2022/lib/view-context/api/model/uploadedFile.mjs +1 -1
  128. package/esm2022/lib/view-context/api/model/valueSet.mjs +1 -1
  129. package/esm2022/lib/view-context/api/model/view.mjs +1 -1
  130. package/esm2022/lib/view-context/api/model/viewApiError.mjs +1 -1
  131. package/esm2022/lib/view-context/api/model/viewConstraint.mjs +1 -1
  132. package/esm2022/lib/view-context/api/model/viewContext.mjs +1 -1
  133. package/esm2022/lib/view-context/api/model/viewContextChange.mjs +1 -1
  134. package/esm2022/lib/view-context/api/model/viewContextData.mjs +1 -1
  135. package/esm2022/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
  136. package/esm2022/lib/view-context/api/model/viewData.mjs +1 -1
  137. package/esm2022/lib/view-context/api/model/viewEventHandler.mjs +1 -1
  138. package/esm2022/lib/view-context/api/model/viewPlaceholder.mjs +1 -1
  139. package/esm2022/lib/view-context/api/model/viewState.mjs +1 -1
  140. package/esm2022/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
  141. package/esm2022/lib/view-context/api/model/viewType.mjs +1 -1
  142. package/esm2022/lib/view-context/api/param.mjs +1 -1
  143. package/esm2022/lib/view-context/api/variables.mjs +1 -1
  144. package/esm2022/lib/view-context/smart-ui-action/components/menu/menu.component.mjs +2 -2
  145. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +1 -1
  146. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-dialog-button/ui-action-dialog-button.component.mjs +1 -1
  147. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +1 -1
  148. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +1 -1
  149. package/esm2022/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.mjs +3 -3
  150. package/fesm2022/smartbit4all-ng-client.mjs +214 -190
  151. package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
  152. package/lib/smart-icon/smart-icon/smart-icon.component.d.ts +9 -4
  153. package/lib/smart-icon/smart-icon.module.d.ts +2 -1
  154. package/lib/view-context/api/model/uiActionDescriptor.d.ts +2 -0
  155. package/package.json +1 -1
  156. package/smartbit4all-ng-client-4.2.95.tgz +0 -0
  157. package/smartbit4all-ng-client-4.2.93.tgz +0 -0
@@ -2,19 +2,23 @@ import { ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { SmartIconService } from '../smart-icon.service';
3
3
  import { ComponentLibrary } from '../../view-context/utility/componentLibrary';
4
4
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
5
+ import { ImageResource, ImageResourceKindEnum } from '../../view-context/api';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class SmartIconComponent implements OnChanges {
7
8
  private service;
8
9
  changeDetector: ChangeDetectorRef;
9
10
  private sanitizer;
10
11
  compLib: ComponentLibrary;
11
- iconWithoutNamespace: string;
12
+ iconWithoutNamespace?: string;
12
13
  color?: string;
13
- icon: string;
14
+ imageResource?: ImageResource;
15
+ icon?: string;
14
16
  iconHtml?: SafeHtml;
15
17
  isCustom: boolean;
16
18
  componentLibrary: typeof ComponentLibrary;
19
+ imageResourceKind: typeof ImageResourceKindEnum;
17
20
  constructor(service: SmartIconService, changeDetector: ChangeDetectorRef, sanitizer: DomSanitizer, compLib: ComponentLibrary);
21
+ ngOnInit(): void;
18
22
  ngOnChanges(changes: SimpleChanges): void;
19
23
  getIcon(icon: string): string;
20
24
  getStyle(iconcolor?: string): {
@@ -22,7 +26,8 @@ export declare class SmartIconComponent implements OnChanges {
22
26
  display: string;
23
27
  fill: string | undefined;
24
28
  };
25
- checkIcon(): Promise<void>;
29
+ checkIcon(iconName: string): Promise<void>;
30
+ getImageResourceStyle(resource: ImageResource): any;
26
31
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartIconComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartIconComponent, "smart-icon", never, { "iconWithoutNamespace": { "alias": "icon"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartIconComponent, "smart-icon", never, { "iconWithoutNamespace": { "alias": "icon"; "required": false; }; "color": { "alias": "color"; "required": false; }; "imageResource": { "alias": "imageResource"; "required": false; }; }, {}, never, never, false, never>;
28
33
  }
@@ -4,8 +4,9 @@ import * as i2 from "@angular/platform-browser";
4
4
  import * as i3 from "@angular/material/core";
5
5
  import * as i4 from "@angular/material/icon";
6
6
  import * as i5 from "primeng/badge";
7
+ import * as i6 from "../shared/shared.module";
7
8
  export declare class SmartIconModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartIconModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartIconModule, [typeof i1.SmartIconComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.MatIconModule, typeof i5.BadgeModule], [typeof i1.SmartIconComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartIconModule, [typeof i1.SmartIconComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.MatIconModule, typeof i5.BadgeModule, typeof i6.SharedModule], [typeof i1.SmartIconComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartIconModule>;
11
12
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { UiActionTooltip } from './uiActionTooltip';
13
+ import { ImageResource } from './imageResource';
13
14
  import { IconPosition } from './iconPosition';
14
15
  import { BadgeDescriptor } from './badgeDescriptor';
15
16
  import { UiActionFeedbackType } from './uiActionFeedbackType';
@@ -23,6 +24,7 @@ export interface UiActionDescriptor {
23
24
  title: string;
24
25
  type: UiActionButtonType;
25
26
  color: string;
27
+ iconResource?: ImageResource;
26
28
  icon?: string;
27
29
  iconColor?: string;
28
30
  iconPosition?: IconPosition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "4.2.93",
3
+ "version": "4.2.95",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
6
6
  "@angular/common": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
Binary file