@smartbit4all/ng-client 4.2.94 → 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.
- package/esm2022/lib/smart-component-layout/api/api/api.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/api/default.service.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/api.module.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/index.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/componentType.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/param.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/variables.mjs +1 -1
- package/esm2022/lib/smart-dialog/smartdialog.component.mjs +1 -1
- package/esm2022/lib/smart-expandable-section/expandable-section.component.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-params/components/smart-filter-param/smart-filter-param.component.mjs +1 -1
- package/esm2022/lib/smart-form/api/api/api.mjs +1 -1
- package/esm2022/lib/smart-form/api/api/default.service.mjs +1 -1
- package/esm2022/lib/smart-form/api/api.module.mjs +1 -1
- package/esm2022/lib/smart-form/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-form/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-form/api/index.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/models.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/propertyMapping.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/sortDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/textFieldProperties.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
- package/esm2022/lib/smart-form/api/param.mjs +1 -1
- package/esm2022/lib/smart-form/api/variables.mjs +1 -1
- package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +2 -2
- package/esm2022/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.mjs +1 -1
- package/esm2022/lib/smart-grid/components/expandable-grid/expandable-grid.component.mjs +1 -1
- package/esm2022/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.mjs +1 -1
- package/esm2022/lib/smart-grid/smart-grid.component.mjs +8 -9
- package/esm2022/lib/smart-icon/smart-icon/smart-icon.component.mjs +38 -10
- package/esm2022/lib/smart-icon/smart-icon.module.mjs +5 -4
- package/esm2022/lib/smart-map/api/api/api.mjs +1 -1
- package/esm2022/lib/smart-map/api/api/geoMap.service.mjs +1 -1
- package/esm2022/lib/smart-map/api/api.module.mjs +1 -1
- package/esm2022/lib/smart-map/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-map/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-map/api/index.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/gPSPosition.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/gPSRoute.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapChange.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapDataLoadingMode.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapDataSourceDescriptor.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapDataSourceType.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapEditingSession.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapInteraction.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapItem.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapItemKind.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapLayer.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapLayerChange.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapLayerDescriptor.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapModel.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapOperationMode.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapSelectionMode.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapServerModel.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapTextType.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapViewState.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapViewport.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/models.mjs +1 -1
- package/esm2022/lib/smart-map/api/param.mjs +1 -1
- package/esm2022/lib/smart-map/api/variables.mjs +1 -1
- package/esm2022/lib/smart-table/components/default-actions-popup/default-actions-popup.component.mjs +1 -1
- package/esm2022/lib/smart-table/tables/material-table/material-table.component.mjs +3 -3
- package/esm2022/lib/smart-table/tables/mobile-table/mobile-table.component.mjs +1 -1
- package/esm2022/lib/smart-tree/smarttree.component.mjs +1 -1
- package/esm2022/lib/view-context/api/api/api.mjs +1 -1
- package/esm2022/lib/view-context/api/api/view.service.mjs +1 -1
- package/esm2022/lib/view-context/api/api.module.mjs +1 -1
- package/esm2022/lib/view-context/api/configuration.mjs +1 -1
- package/esm2022/lib/view-context/api/encoder.mjs +1 -1
- package/esm2022/lib/view-context/api/index.mjs +1 -1
- package/esm2022/lib/view-context/api/model/backgroundProcessInfo.mjs +1 -1
- package/esm2022/lib/view-context/api/model/badgeDescriptor.mjs +1 -1
- package/esm2022/lib/view-context/api/model/clipboardData.mjs +1 -1
- package/esm2022/lib/view-context/api/model/closeResult.mjs +1 -1
- package/esm2022/lib/view-context/api/model/componentConstraint.mjs +1 -1
- package/esm2022/lib/view-context/api/model/componentModel.mjs +1 -1
- package/esm2022/lib/view-context/api/model/componentModelChange.mjs +1 -1
- package/esm2022/lib/view-context/api/model/dataChange.mjs +1 -1
- package/esm2022/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
- package/esm2022/lib/view-context/api/model/dataChangeKind.mjs +1 -1
- package/esm2022/lib/view-context/api/model/deviceInfo.mjs +1 -1
- package/esm2022/lib/view-context/api/model/downloadedFile.mjs +1 -1
- package/esm2022/lib/view-context/api/model/iconPosition.mjs +1 -1
- package/esm2022/lib/view-context/api/model/imageResource.mjs +1 -1
- package/esm2022/lib/view-context/api/model/link.mjs +1 -1
- package/esm2022/lib/view-context/api/model/messageData.mjs +1 -1
- package/esm2022/lib/view-context/api/model/messageOption.mjs +1 -1
- package/esm2022/lib/view-context/api/model/messageOptionType.mjs +1 -1
- package/esm2022/lib/view-context/api/model/messageResult.mjs +1 -1
- package/esm2022/lib/view-context/api/model/messageTextType.mjs +1 -1
- package/esm2022/lib/view-context/api/model/messageType.mjs +1 -1
- package/esm2022/lib/view-context/api/model/models.mjs +1 -1
- package/esm2022/lib/view-context/api/model/multiComboBoxElement.mjs +1 -1
- package/esm2022/lib/view-context/api/model/multiComboBoxModel.mjs +1 -1
- package/esm2022/lib/view-context/api/model/namedValidator.mjs +1 -1
- package/esm2022/lib/view-context/api/model/openPendingData.mjs +1 -1
- package/esm2022/lib/view-context/api/model/serverRequestExecutionStat.mjs +1 -1
- package/esm2022/lib/view-context/api/model/serverRequestTrack.mjs +1 -1
- package/esm2022/lib/view-context/api/model/serverRequestType.mjs +1 -1
- package/esm2022/lib/view-context/api/model/smartLinkData.mjs +1 -1
- package/esm2022/lib/view-context/api/model/smartLinkMigrationStatus.mjs +1 -1
- package/esm2022/lib/view-context/api/model/statisticRecord.mjs +1 -1
- package/esm2022/lib/view-context/api/model/style.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiAction.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionButtonType.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionConstraint.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionDialogDescriptor.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionFeedbackType.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionInputType.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionRequest.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionTooltip.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionUploadDescriptor.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uploadWidgetType.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uploadedFile.mjs +1 -1
- package/esm2022/lib/view-context/api/model/valueSet.mjs +1 -1
- package/esm2022/lib/view-context/api/model/view.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewApiError.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewConstraint.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewContext.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewContextChange.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewContextData.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewData.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewEventHandler.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewPlaceholder.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewState.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewType.mjs +1 -1
- package/esm2022/lib/view-context/api/param.mjs +1 -1
- package/esm2022/lib/view-context/api/variables.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/components/menu/menu.component.mjs +2 -2
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-dialog-button/ui-action-dialog-button.component.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.mjs +3 -3
- package/fesm2022/smartbit4all-ng-client.mjs +213 -189
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-icon/smart-icon/smart-icon.component.d.ts +9 -4
- package/lib/smart-icon/smart-icon.module.d.ts +2 -1
- package/lib/view-context/api/model/uiActionDescriptor.d.ts +2 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.2.95.tgz +0 -0
- package/smartbit4all-ng-client-4.2.94.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
|
|
12
|
+
iconWithoutNamespace?: string;
|
|
12
13
|
color?: string;
|
|
13
|
-
|
|
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
|
Binary file
|
|
Binary file
|