@smartbit4all/ng-client 4.2.44 → 4.2.46
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-map/api/model/geoMapItem.mjs +1 -1
- package/esm2022/lib/smart-map/impl/leaflet-map.mjs +9 -8
- 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/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/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/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 -2
- package/esm2022/lib/view-context/api/model/valueSet.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/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/dialogs/ui-action-file-upload-dialog/photo-capture-widget/photo-capture-widget.component.mjs +14 -21
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +29 -12
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/voice-record-widget/voice-record-widget.component.mjs +42 -72
- package/esm2022/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.mjs +44 -97
- package/fesm2022/smartbit4all-ng-client.mjs +156 -228
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-map/api/model/geoMapItem.d.ts +2 -0
- package/lib/view-context/api/model/uiActionUploadDescriptor.d.ts +1 -1
- package/lib/view-context/api/model/uploadWidgetType.d.ts +0 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/photo-capture-widget/photo-capture-widget.component.d.ts +3 -3
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +2 -0
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/voice-record-widget/voice-record-widget.component.d.ts +7 -9
- package/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.d.ts +23 -30
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.2.46.tgz +0 -0
- package/smartbit4all-ng-client-4.2.44.tgz +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ComponentLibrary } from '../../../../utility/componentLibrary';
|
|
3
|
-
import {
|
|
3
|
+
import { UiActionDescriptor } from '../../../../api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PhotoCaptureWidgetComponent {
|
|
6
6
|
videoRef: ElementRef<HTMLVideoElement>;
|
|
@@ -13,8 +13,8 @@ export declare class PhotoCaptureWidgetComponent {
|
|
|
13
13
|
stream?: MediaStream;
|
|
14
14
|
compLib: ComponentLibrary;
|
|
15
15
|
componentLibrary: typeof ComponentLibrary;
|
|
16
|
-
toggleCameraButton:
|
|
17
|
-
captureButton:
|
|
16
|
+
toggleCameraButton: UiActionDescriptor;
|
|
17
|
+
captureButton: UiActionDescriptor;
|
|
18
18
|
constructor(compLib?: ComponentLibrary);
|
|
19
19
|
isMobile(): boolean;
|
|
20
20
|
startCamera(): Promise<void>;
|
|
@@ -26,6 +26,7 @@ export declare class UiActionFileUploadDialogComponent implements OnDestroy {
|
|
|
26
26
|
hasFiles?: boolean;
|
|
27
27
|
uploadedFiles: any[];
|
|
28
28
|
uploadFormatMap: Record<UploadWidgetType, string[]>;
|
|
29
|
+
cancelButton: UiActionDescriptor;
|
|
29
30
|
constructor(service: UiActionFileUploadDialogService, compLib: ComponentLibrary, manager: UiActionDescriptorService, cdr: ChangeDetectorRef);
|
|
30
31
|
ngOnDestroy(): void;
|
|
31
32
|
isMobile(): boolean;
|
|
@@ -44,6 +45,7 @@ export declare class UiActionFileUploadDialogComponent implements OnDestroy {
|
|
|
44
45
|
uploadRecording(file: any): void;
|
|
45
46
|
uploadImage(files: any): void;
|
|
46
47
|
loadFilesIntoWidget(files: File[]): void;
|
|
48
|
+
widgetNeeded(type: UploadWidgetType): boolean;
|
|
47
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionFileUploadDialogComponent, never>;
|
|
48
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionFileUploadDialogComponent, "lib-ui-action-file-upload-dialog", never, {}, {}, never, never, false, never>;
|
|
49
51
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ComponentLibrary } from '../../../../utility/componentLibrary';
|
|
3
|
-
import {
|
|
3
|
+
import { UiActionDescriptor } from '../../../../api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class VoiceRecordWidgetComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
6
6
|
waveformRef: ElementRef;
|
|
7
|
-
color?: string;
|
|
8
|
-
iconColor?: string;
|
|
9
7
|
recordingSaved: EventEmitter<Blob>;
|
|
10
8
|
private wavesurfer;
|
|
11
9
|
private record;
|
|
@@ -15,10 +13,11 @@ export declare class VoiceRecordWidgetComponent implements OnInit, AfterViewInit
|
|
|
15
13
|
recordedBlob: Blob | null;
|
|
16
14
|
time: string;
|
|
17
15
|
isPlaying: boolean;
|
|
18
|
-
micButton:
|
|
19
|
-
stopButton:
|
|
20
|
-
saveButton:
|
|
21
|
-
|
|
16
|
+
micButton: UiActionDescriptor;
|
|
17
|
+
stopButton: UiActionDescriptor;
|
|
18
|
+
saveButton: UiActionDescriptor;
|
|
19
|
+
playButton: UiActionDescriptor;
|
|
20
|
+
stopPlaybackButton: UiActionDescriptor;
|
|
22
21
|
constructor(compLib?: ComponentLibrary);
|
|
23
22
|
ngOnInit(): void;
|
|
24
23
|
ngAfterViewInit(): void;
|
|
@@ -30,7 +29,6 @@ export declare class VoiceRecordWidgetComponent implements OnInit, AfterViewInit
|
|
|
30
29
|
replayRecording(): void;
|
|
31
30
|
ngOnDestroy(): void;
|
|
32
31
|
private addAlphaToColor;
|
|
33
|
-
updatePlayStopButton(): void;
|
|
34
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<VoiceRecordWidgetComponent, [{ optional: true; }]>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VoiceRecordWidgetComponent, "voice-record-widget", never, {
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VoiceRecordWidgetComponent, "voice-record-widget", never, {}, { "recordingSaved": "recordingSaved"; }, never, never, false, never>;
|
|
36
34
|
}
|
|
@@ -1,43 +1,36 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter,
|
|
2
|
-
import { UiActionModel } from '../ui-action.model';
|
|
3
|
-
import { TooltipPosition } from '@angular/material/tooltip';
|
|
4
|
-
import { UiActionDescriptorService } from '../ui-action.descriptor.service';
|
|
5
|
-
import { UiActionService } from '../ui-action.service';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
6
2
|
import { ComponentLibrary } from '../../utility/componentLibrary';
|
|
7
3
|
import { IconPosition } from '../../api/model/iconPosition';
|
|
8
|
-
import {
|
|
4
|
+
import { UiActionDescriptor } from '../../api';
|
|
9
5
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class UiActionButtonComponent implements OnInit,
|
|
11
|
-
private service;
|
|
12
|
-
private inject;
|
|
6
|
+
export declare class UiActionButtonComponent implements OnInit, OnDestroy {
|
|
13
7
|
changeDetector: ChangeDetectorRef;
|
|
14
8
|
private _destroy$;
|
|
15
9
|
componentLibrary: typeof ComponentLibrary;
|
|
16
10
|
compLib: ComponentLibrary;
|
|
17
11
|
pressedButtonActive: boolean;
|
|
18
|
-
uiActionModel: UiActionModel;
|
|
19
|
-
uiActionDescriptorService?: UiActionDescriptorService;
|
|
20
12
|
disabled?: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
descriptor: UiActionDescriptor;
|
|
14
|
+
code?: string;
|
|
15
|
+
actionClick: EventEmitter<{
|
|
16
|
+
event: any;
|
|
17
|
+
descriptor: UiActionDescriptor;
|
|
18
|
+
code?: string | undefined;
|
|
19
|
+
}>;
|
|
20
|
+
actionDoubleClick: EventEmitter<{
|
|
21
|
+
event: any;
|
|
22
|
+
descriptor: UiActionDescriptor;
|
|
23
|
+
code?: string | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
constructor(changeDetector: ChangeDetectorRef, compLib?: ComponentLibrary);
|
|
27
26
|
ngOnInit(): void;
|
|
28
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
29
27
|
ngOnDestroy(): void;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
onActionClicked(event: any, uiActionModel: UiActionModel): Promise<void>;
|
|
33
|
-
onActionDoubleClicked(event: any, uiActionModel: UiActionModel): void;
|
|
34
|
-
getbtnClass(uiActionModel: UiActionModel): string;
|
|
35
|
-
getType(uiActionModel: UiActionModel): any;
|
|
28
|
+
onActionClicked(event: any): Promise<void>;
|
|
29
|
+
onActionDoubleClicked(event: any): void;
|
|
36
30
|
iconPosition(): typeof IconPosition;
|
|
37
|
-
isOnlyIcon(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
static
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionButtonComponent, "ui-action-button", never, { "uiActionModel": { "alias": "uiActionModel"; "required": false; }; "uiActionDescriptorService": { "alias": "uiActionDescriptorService"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "actionClick": "actionClick"; "actionDoubleClick": "actionDoubleClick"; }, never, never, false, never>;
|
|
31
|
+
isOnlyIcon(): boolean;
|
|
32
|
+
getbtnClass(): string;
|
|
33
|
+
getType(): any;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionButtonComponent, [null, { optional: true; }]>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionButtonComponent, "ui-action-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "descriptor": { "alias": "descriptor"; "required": false; }; "code": { "alias": "code"; "required": false; }; }, { "actionClick": "actionClick"; "actionDoubleClick": "actionDoubleClick"; }, never, never, false, never>;
|
|
43
36
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|