@smartbit4all/ng-client 4.2.41 → 4.2.42
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-dialog/smartdialog.service.mjs +7 -4
- package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +3 -3
- package/esm2022/lib/smart-grid/smart-grid.component.mjs +2 -4
- package/esm2022/lib/smart-map/impl/leaflet-map.mjs +2 -2
- package/esm2022/lib/smart-table/smarttable.model.mjs +10 -4
- package/esm2022/lib/smart-table/tables/table.mjs +7 -3
- package/esm2022/lib/view-context/api/api-default/binaryData.mjs +2 -0
- package/esm2022/lib/view-context/api/api-default/invocationError.mjs +2 -0
- package/esm2022/lib/view-context/api/api-default/invocationRequest.mjs +2 -0
- package/esm2022/lib/view-context/api/model/models.mjs +3 -1
- package/esm2022/lib/view-context/api/model/smartLinkData.mjs +1 -1
- package/esm2022/lib/view-context/api/model/smartLinkMigrationStatus.mjs +8 -0
- package/esm2022/lib/view-context/api/model/uiActionUploadDescriptor.mjs +1 -12
- package/esm2022/lib/view-context/api/model/uploadWidgetType.mjs +19 -0
- package/esm2022/lib/view-context/api/model/uploadedFile.mjs +1 -12
- package/esm2022/lib/view-context/api/model/viewEventHandler.mjs +2 -12
- package/esm2022/lib/view-context/projects.mjs +4 -1
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/photo-capture-widget/photo-capture-widget.component.mjs +127 -0
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +82 -23
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/voice-record-widget/voice-record-widget.component.mjs +156 -0
- package/esm2022/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.mjs +184 -0
- package/esm2022/lib/view-context/smart-ui-action/ui-action.service.mjs +1 -2
- package/esm2022/lib/view-context/smart-view-context.module.mjs +18 -3
- package/fesm2022/smartbit4all-ng-client.mjs +618 -112
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-dialog/smartdialog.service.d.ts +1 -1
- package/lib/smart-table/smarttable.model.d.ts +5 -7
- package/lib/view-context/api/api-default/binaryData.d.ts +2 -0
- package/lib/view-context/api/api-default/invocationError.d.ts +2 -0
- package/lib/view-context/api/api-default/invocationRequest.d.ts +2 -0
- package/lib/view-context/api/model/models.d.ts +2 -0
- package/lib/view-context/api/model/smartLinkData.d.ts +5 -0
- package/lib/view-context/api/model/smartLinkMigrationStatus.d.ts +39 -0
- package/lib/view-context/api/model/uiActionUploadDescriptor.d.ts +2 -0
- package/lib/view-context/api/model/uploadWidgetType.d.ts +17 -0
- package/lib/view-context/api/model/uploadedFile.d.ts +2 -1
- package/lib/view-context/api/model/viewEventHandler.d.ts +2 -1
- package/lib/view-context/projects.d.ts +3 -0
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/photo-capture-widget/photo-capture-widget.component.d.ts +28 -0
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +14 -4
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/voice-record-widget/voice-record-widget.component.d.ts +30 -0
- package/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.d.ts +43 -0
- package/lib/view-context/smart-view-context.module.d.ts +47 -44
- package/package.json +3 -2
- package/smartbit4all-ng-client-4.2.42.tgz +0 -0
- package/smartbit4all-ng-client-4.2.41.tgz +0 -0
|
@@ -26,5 +26,5 @@ export declare abstract class SmartdialogService {
|
|
|
26
26
|
openComponentAsDialog(component: ComponentType<any>, viewName: string): MatDialogRef<any, any> | DynamicDialogRef;
|
|
27
27
|
handleAfterClosed(result: any): void;
|
|
28
28
|
openDialog(): void;
|
|
29
|
-
closeDialog(): Promise<void>;
|
|
29
|
+
closeDialog(stopPropagate?: boolean): Promise<void>;
|
|
30
30
|
}
|
|
@@ -121,8 +121,6 @@ export interface SmartTableInterface<T> {
|
|
|
121
121
|
onAllSelection?: (selected: boolean) => Promise<void>;
|
|
122
122
|
rowExpander?: SmartTableRowExpander<T>;
|
|
123
123
|
highlightProperty?: string;
|
|
124
|
-
gridId: string;
|
|
125
|
-
serviceToUse: any;
|
|
126
124
|
}
|
|
127
125
|
export interface SmartTableGridInterface<T> {
|
|
128
126
|
type: SmartTableInterfaceTypeEnum.GRID;
|
|
@@ -153,14 +151,14 @@ export interface SmartTableGridInterface<T> {
|
|
|
153
151
|
asyncOnExpand?: boolean;
|
|
154
152
|
rowExpander?: SmartTableRowExpander<T>;
|
|
155
153
|
highlightProperty?: string;
|
|
156
|
-
gridId: string;
|
|
157
|
-
serviceToUse: any;
|
|
158
154
|
}
|
|
159
155
|
export interface SmartTableRowExpander<T> {
|
|
160
156
|
expand(rowId: number): T;
|
|
161
157
|
expandAsync(rowId: number): Promise<T>;
|
|
162
158
|
}
|
|
163
159
|
export declare class SmartTable<T> implements SmartTableInterface<T> {
|
|
160
|
+
private gridId?;
|
|
161
|
+
private serviceToUse?;
|
|
164
162
|
type: SmartTableInterfaceTypeEnum.NORMAL;
|
|
165
163
|
title?: string | undefined;
|
|
166
164
|
tableHeaders: string[];
|
|
@@ -194,11 +192,11 @@ export declare class SmartTable<T> implements SmartTableInterface<T> {
|
|
|
194
192
|
onAllSelection?: (selected: boolean) => Promise<void>;
|
|
195
193
|
rowExpander?: SmartTableRowExpander<T>;
|
|
196
194
|
highlightProperty?: string;
|
|
197
|
-
|
|
198
|
-
serviceToUse: any;
|
|
199
|
-
constructor(config: SmartTableInterface<T>);
|
|
195
|
+
constructor(config: SmartTableInterface<T>, gridId?: string | undefined, serviceToUse?: any);
|
|
200
196
|
getPropertyNamesDeeply(element: any): string[];
|
|
201
197
|
getValueDeeply(model: any, key: string): any;
|
|
202
198
|
pushOptions(): void;
|
|
203
199
|
setTableHeaders(): void;
|
|
200
|
+
getServiceToUse(): any;
|
|
201
|
+
getGridId(): string | undefined;
|
|
204
202
|
}
|
|
@@ -23,6 +23,7 @@ export * from './serverRequestExecutionStat';
|
|
|
23
23
|
export * from './serverRequestTrack';
|
|
24
24
|
export * from './serverRequestType';
|
|
25
25
|
export * from './smartLinkData';
|
|
26
|
+
export * from './smartLinkMigrationStatus';
|
|
26
27
|
export * from './statisticRecord';
|
|
27
28
|
export * from './style';
|
|
28
29
|
export * from './uiAction';
|
|
@@ -36,6 +37,7 @@ export * from './uiActionInputType';
|
|
|
36
37
|
export * from './uiActionRequest';
|
|
37
38
|
export * from './uiActionTooltip';
|
|
38
39
|
export * from './uiActionUploadDescriptor';
|
|
40
|
+
export * from './uploadWidgetType';
|
|
39
41
|
export * from './uploadedFile';
|
|
40
42
|
export * from './valueSet';
|
|
41
43
|
export * from './view';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { InvocationError } from '../api-default/invocationError';
|
|
13
|
+
/**
|
|
14
|
+
* A reference object to store if the given application is already updated the storage schema of the smartlink.
|
|
15
|
+
*/
|
|
16
|
+
export interface SmartLinkMigrationStatus {
|
|
17
|
+
status?: SmartLinkMigrationStatusStatusEnum;
|
|
18
|
+
/**
|
|
19
|
+
* The name fo the channel the migration was running on.
|
|
20
|
+
*/
|
|
21
|
+
channel?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The exact time of the migration start.
|
|
24
|
+
*/
|
|
25
|
+
startAt?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The exact time of the migration finish.
|
|
28
|
+
*/
|
|
29
|
+
finishedAt?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The error during the migration if any.
|
|
32
|
+
*/
|
|
33
|
+
error?: InvocationError;
|
|
34
|
+
}
|
|
35
|
+
export declare enum SmartLinkMigrationStatusStatusEnum {
|
|
36
|
+
RUNNING = "RUNNING",
|
|
37
|
+
FAILED = "FAILED",
|
|
38
|
+
DONE = "DONE"
|
|
39
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { UploadWidgetType } from './uploadWidgetType';
|
|
12
13
|
/**
|
|
13
14
|
* Describes the look of an upload component that is related to a specific UiAction.
|
|
14
15
|
*/
|
|
@@ -20,4 +21,5 @@ export interface UiActionUploadDescriptor {
|
|
|
20
21
|
uploadButtonTitle?: string;
|
|
21
22
|
backgroundColour?: string;
|
|
22
23
|
textColour?: string;
|
|
24
|
+
uploadWidgetType?: UploadWidgetType;
|
|
23
25
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum UploadWidgetType {
|
|
13
|
+
ALL = "ALL",
|
|
14
|
+
NORMAL = "NORMAL",
|
|
15
|
+
SOUND = "SOUND",
|
|
16
|
+
IMAGE = "IMAGE"
|
|
17
|
+
}
|
|
@@ -9,11 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BinaryData } from '../api-default/binaryData';
|
|
12
13
|
/**
|
|
13
14
|
* Information about uploaded file.
|
|
14
15
|
*/
|
|
15
16
|
export interface UploadedFile {
|
|
16
17
|
filename?: string;
|
|
17
18
|
size?: number;
|
|
18
|
-
data?:
|
|
19
|
+
data?: BinaryData;
|
|
19
20
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InvocationRequest } from '../api-default/invocationRequest';
|
|
12
13
|
/**
|
|
13
14
|
* An event handler is a special callback function to call when the given event is occurred. So the event handler can be an action as is or can be fired on a before or after event
|
|
14
15
|
*/
|
|
@@ -21,7 +22,7 @@ export interface ViewEventHandler {
|
|
|
21
22
|
/**
|
|
22
23
|
* This is the method to call when the event occurs. It\'s signature is the same as the event which it specifies, like ActionHandler or WidgetActionHandler.
|
|
23
24
|
*/
|
|
24
|
-
invocationRequest?:
|
|
25
|
+
invocationRequest?: InvocationRequest;
|
|
25
26
|
}
|
|
26
27
|
export declare enum ViewEventHandlerViewEventTypeEnum {
|
|
27
28
|
BEFORE = "before",
|
|
@@ -13,3 +13,6 @@ export * from './smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-
|
|
|
13
13
|
export * from './smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component';
|
|
14
14
|
export * from './smart-ui-action/dialogs/ui-action-dialog-button/ui-action-dialog-button.component';
|
|
15
15
|
export * from './utility/componentLibrary';
|
|
16
|
+
export * from './smart-ui-action/dialogs/ui-action-file-upload-dialog/photo-capture-widget/photo-capture-widget.component';
|
|
17
|
+
export * from './smart-ui-action/dialogs/ui-action-file-upload-dialog/voice-record-widget/voice-record-widget.component';
|
|
18
|
+
export * from './smart-ui-action/ui-action-button/ui-action-button.component';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ComponentLibrary } from '../../../../utility/componentLibrary';
|
|
3
|
+
import { UiActionModel } from '../../../ui-action.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PhotoCaptureWidgetComponent {
|
|
6
|
+
videoRef: ElementRef<HTMLVideoElement>;
|
|
7
|
+
canvasRef: ElementRef<HTMLCanvasElement>;
|
|
8
|
+
fileInputRef: ElementRef<HTMLInputElement>;
|
|
9
|
+
photoCaptured: EventEmitter<File[]>;
|
|
10
|
+
cameraActive: boolean;
|
|
11
|
+
isCaptured: boolean;
|
|
12
|
+
stream?: MediaStream;
|
|
13
|
+
compLib: ComponentLibrary;
|
|
14
|
+
componentLibrary: typeof ComponentLibrary;
|
|
15
|
+
mobileButton: UiActionModel;
|
|
16
|
+
startCameraButton: UiActionModel;
|
|
17
|
+
stopCameraButton: UiActionModel;
|
|
18
|
+
captureButton: UiActionModel;
|
|
19
|
+
constructor(compLib?: ComponentLibrary);
|
|
20
|
+
isMobile(): boolean;
|
|
21
|
+
startCamera(): Promise<void>;
|
|
22
|
+
stopCamera(): void;
|
|
23
|
+
capturePhoto(): void;
|
|
24
|
+
getPhotoDataURL(): string;
|
|
25
|
+
onFileSelected(event: Event): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhotoCaptureWidgetComponent, [{ optional: true; }]>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhotoCaptureWidgetComponent, "photo-capture-widget", never, {}, { "photoCaptured": "photoCaptured"; }, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -1,23 +1,30 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { UiActionDescriptor } from '../../../api';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { UiActionDescriptor, UploadWidgetType } from '../../../api';
|
|
3
3
|
import { UiActionDescriptorService } from '../../ui-action.descriptor.service';
|
|
4
4
|
import { UiActionFileUploadDialogService } from './ui-action-file-upload-dialog.service';
|
|
5
5
|
import { SmartFileUploaderI18n } from '../../../../smart-form/smartfileuploader/smartfileuploader.model';
|
|
6
6
|
import { ComponentLibrary } from '../../../projects';
|
|
7
|
+
import { FileUpload } from 'primeng/fileupload';
|
|
8
|
+
import { SmartfileuploaderComponent } from '../../../../smart-form/smartfileuploader/smartfileuploader.component';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
export declare class UiActionFileUploadDialogComponent implements OnDestroy {
|
|
9
11
|
private service;
|
|
10
12
|
compLib: ComponentLibrary;
|
|
11
13
|
private manager;
|
|
14
|
+
private cdr;
|
|
15
|
+
fileUploadPrime: FileUpload;
|
|
16
|
+
fileUploadMaterial: SmartfileuploaderComponent;
|
|
12
17
|
code: string;
|
|
13
18
|
dialogType: 'dialog' | 'inputDialog' | 'input2Dialog';
|
|
14
19
|
descriptor?: UiActionDescriptor;
|
|
15
20
|
componentLibrary: typeof ComponentLibrary;
|
|
21
|
+
uploadWidgetType: typeof UploadWidgetType;
|
|
16
22
|
i18n?: SmartFileUploaderI18n;
|
|
17
23
|
maxSizeMb: number;
|
|
18
24
|
fileFormats?: string[];
|
|
19
25
|
isMultiple?: boolean;
|
|
20
|
-
|
|
26
|
+
uploadedFiles: any[];
|
|
27
|
+
constructor(service: UiActionFileUploadDialogService, compLib: ComponentLibrary, manager: UiActionDescriptorService, cdr: ChangeDetectorRef);
|
|
21
28
|
ngOnDestroy(): void;
|
|
22
29
|
setUp(): Promise<void>;
|
|
23
30
|
getTitle(): string;
|
|
@@ -27,11 +34,14 @@ export declare class UiActionFileUploadDialogComponent implements OnDestroy {
|
|
|
27
34
|
getCancelButtonLabel(): string;
|
|
28
35
|
getCancelButtonColor(): string;
|
|
29
36
|
upload(files: any[]): void;
|
|
30
|
-
uploadedFiles: any[];
|
|
31
37
|
onSelect(event: any): void;
|
|
32
38
|
onRemove(event: any): void;
|
|
33
39
|
uploadFiles(event: any): void;
|
|
34
40
|
cancel(): void;
|
|
41
|
+
uploadRecording(file: any): void;
|
|
42
|
+
uploadImage(files: any): void;
|
|
43
|
+
loadFilesIntoWidget(files: File[]): void;
|
|
44
|
+
getContainsFiles(): boolean;
|
|
35
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionFileUploadDialogComponent, never>;
|
|
36
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionFileUploadDialogComponent, "lib-ui-action-file-upload-dialog", never, {}, {}, never, never, false, never>;
|
|
37
47
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ComponentLibrary } from '../../../../utility/componentLibrary';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class VoiceRecordWidgetComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
5
|
+
waveformRef: ElementRef;
|
|
6
|
+
color?: string;
|
|
7
|
+
iconColor?: string;
|
|
8
|
+
recordingSaved: EventEmitter<Blob>;
|
|
9
|
+
private wavesurfer;
|
|
10
|
+
private record;
|
|
11
|
+
compLib: ComponentLibrary;
|
|
12
|
+
componentLibrary: typeof ComponentLibrary;
|
|
13
|
+
isRecording: boolean;
|
|
14
|
+
recordedBlob: Blob | null;
|
|
15
|
+
time: string;
|
|
16
|
+
isPlaying: boolean;
|
|
17
|
+
constructor(compLib?: ComponentLibrary);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
startRecording(): Promise<void>;
|
|
21
|
+
private checkHasRecorded;
|
|
22
|
+
updateProgress(time: number): void;
|
|
23
|
+
stopRecording(): void;
|
|
24
|
+
saveRecording(): void;
|
|
25
|
+
replayRecording(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
private addAlphaToColor;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VoiceRecordWidgetComponent, [{ optional: true; }]>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VoiceRecordWidgetComponent, "voice-record-widget", never, { "color": { "alias": "color"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; }, { "recordingSaved": "recordingSaved"; }, never, never, false, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
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';
|
|
6
|
+
import { ComponentLibrary } from '../../utility/componentLibrary';
|
|
7
|
+
import { IconPosition } from '../../api/model/iconPosition';
|
|
8
|
+
import { UiActionTooltipTooltipPositionEnum } from '../../api/model/uiActionTooltip';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class UiActionButtonComponent implements OnInit, OnChanges, OnDestroy {
|
|
11
|
+
private service;
|
|
12
|
+
private inject;
|
|
13
|
+
changeDetector: ChangeDetectorRef;
|
|
14
|
+
private _destroy$;
|
|
15
|
+
componentLibrary: typeof ComponentLibrary;
|
|
16
|
+
compLib: ComponentLibrary;
|
|
17
|
+
pressedButtonActive: boolean;
|
|
18
|
+
uiActionModel: UiActionModel;
|
|
19
|
+
uiActionDescriptorService?: UiActionDescriptorService;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
actionClick: EventEmitter<UiActionModel>;
|
|
22
|
+
actionDoubleClick: EventEmitter<UiActionModel>;
|
|
23
|
+
uiActionModelsWithDescriptions?: UiActionModel[];
|
|
24
|
+
private manager;
|
|
25
|
+
private languageChangedSubscription?;
|
|
26
|
+
constructor(service: UiActionService, inject: Injector, changeDetector: ChangeDetectorRef, compLib?: ComponentLibrary);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
private subscribeToLanguageChange;
|
|
31
|
+
setUp(): Promise<void>;
|
|
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;
|
|
36
|
+
iconPosition(): typeof IconPosition;
|
|
37
|
+
isOnlyIcon(uiActionModel: UiActionModel): boolean;
|
|
38
|
+
getTooltipPos(pos?: UiActionTooltipTooltipPositionEnum): TooltipPosition;
|
|
39
|
+
getTooltipDelay(delay?: number): number;
|
|
40
|
+
getTooltipHideDelay(delay?: number): number;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionButtonComponent, [null, null, null, { optional: true; }]>;
|
|
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>;
|
|
43
|
+
}
|
|
@@ -18,51 +18,54 @@ import * as i16 from "../smart-form/smartfileuploader/large-file-snack-bar/large
|
|
|
18
18
|
import * as i17 from "../smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component";
|
|
19
19
|
import * as i18 from "../smart-form/widgets/components/smart-month-picker/smart-month-picker.component";
|
|
20
20
|
import * as i19 from "../smart-form/highlightMacthingString-pipe";
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "@angular/
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "@angular/material/
|
|
27
|
-
import * as i26 from "@angular/material/
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "@angular/material/
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "@angular/
|
|
33
|
-
import * as i32 from "
|
|
34
|
-
import * as i33 from "
|
|
35
|
-
import * as i34 from "@angular/
|
|
36
|
-
import * as i35 from "@angular/material/
|
|
37
|
-
import * as i36 from "@angular/
|
|
38
|
-
import * as i37 from "@angular/material/
|
|
39
|
-
import * as i38 from "@angular/material/
|
|
40
|
-
import * as i39 from "@angular/material
|
|
41
|
-
import * as i40 from "@angular/material/
|
|
42
|
-
import * as i41 from "@angular/material/
|
|
43
|
-
import * as i42 from "@angular/material
|
|
44
|
-
import * as i43 from "
|
|
45
|
-
import * as i44 from "@angular/
|
|
46
|
-
import * as i45 from "@angular/
|
|
47
|
-
import * as i46 from "
|
|
48
|
-
import * as i47 from "
|
|
49
|
-
import * as i48 from "
|
|
50
|
-
import * as i49 from "primeng/
|
|
51
|
-
import * as i50 from "primeng/
|
|
52
|
-
import * as i51 from "primeng/
|
|
53
|
-
import * as i52 from "primeng/
|
|
54
|
-
import * as i53 from "primeng/
|
|
55
|
-
import * as i54 from "primeng/
|
|
56
|
-
import * as i55 from "primeng/
|
|
57
|
-
import * as i56 from "primeng/
|
|
58
|
-
import * as i57 from "primeng/
|
|
59
|
-
import * as i58 from "primeng/
|
|
60
|
-
import * as i59 from "primeng/
|
|
61
|
-
import * as i60 from "primeng/
|
|
62
|
-
import * as i61 from "primeng/
|
|
63
|
-
import * as i62 from "primeng/
|
|
21
|
+
import * as i20 from "./smart-ui-action/dialogs/ui-action-file-upload-dialog/voice-record-widget/voice-record-widget.component";
|
|
22
|
+
import * as i21 from "./smart-ui-action/dialogs/ui-action-file-upload-dialog/photo-capture-widget/photo-capture-widget.component";
|
|
23
|
+
import * as i22 from "./smart-ui-action/ui-action-button/ui-action-button.component";
|
|
24
|
+
import * as i23 from "@angular/common";
|
|
25
|
+
import * as i24 from "@angular/common/http";
|
|
26
|
+
import * as i25 from "@angular/material/core";
|
|
27
|
+
import * as i26 from "@angular/material/button";
|
|
28
|
+
import * as i27 from "primeng/button";
|
|
29
|
+
import * as i28 from "@angular/material/icon";
|
|
30
|
+
import * as i29 from "@angular/material/snack-bar";
|
|
31
|
+
import * as i30 from "../smart-icon/smart-icon.module";
|
|
32
|
+
import * as i31 from "@angular/material/tooltip";
|
|
33
|
+
import * as i32 from "../shared/shared.module";
|
|
34
|
+
import * as i33 from "primeng/api";
|
|
35
|
+
import * as i34 from "@angular/platform-browser";
|
|
36
|
+
import * as i35 from "@angular/material/chips";
|
|
37
|
+
import * as i36 from "@angular/forms";
|
|
38
|
+
import * as i37 from "@angular/material/form-field";
|
|
39
|
+
import * as i38 from "@angular/material/checkbox";
|
|
40
|
+
import * as i39 from "@angular/material/select";
|
|
41
|
+
import * as i40 from "@angular/material/input";
|
|
42
|
+
import * as i41 from "@angular/material/datepicker";
|
|
43
|
+
import * as i42 from "@angular/material-moment-adapter";
|
|
44
|
+
import * as i43 from "@angular/material/radio";
|
|
45
|
+
import * as i44 from "@angular/material/slide-toggle";
|
|
46
|
+
import * as i45 from "@angular/material/autocomplete";
|
|
47
|
+
import * as i46 from "ngx-quill";
|
|
48
|
+
import * as i47 from "@angular/cdk/drag-drop";
|
|
49
|
+
import * as i48 from "@angular/youtube-player";
|
|
50
|
+
import * as i49 from "primeng/inputtext";
|
|
51
|
+
import * as i50 from "primeng/dropdown";
|
|
52
|
+
import * as i51 from "primeng/multiselect";
|
|
53
|
+
import * as i52 from "primeng/inputswitch";
|
|
54
|
+
import * as i53 from "primeng/inputnumber";
|
|
55
|
+
import * as i54 from "primeng/inputtextarea";
|
|
56
|
+
import * as i55 from "primeng/image";
|
|
57
|
+
import * as i56 from "primeng/floatlabel";
|
|
58
|
+
import * as i57 from "primeng/toast";
|
|
59
|
+
import * as i58 from "primeng/dynamicdialog";
|
|
60
|
+
import * as i59 from "primeng/fileupload";
|
|
61
|
+
import * as i60 from "primeng/chips";
|
|
62
|
+
import * as i61 from "primeng/calendar";
|
|
63
|
+
import * as i62 from "primeng/checkbox";
|
|
64
|
+
import * as i63 from "primeng/orderlist";
|
|
65
|
+
import * as i64 from "primeng/inputmask";
|
|
66
|
+
import * as i65 from "primeng/editor";
|
|
64
67
|
export declare class SmartViewContextModule {
|
|
65
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextModule, never>;
|
|
66
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.UiActionInputDialogComponent, typeof i6.UiActionConfirmDialogComponent, typeof i7.UiActionFileUploadDialogComponent, typeof i8.InvalidFieldsSnackBarComponent, typeof i9.SmartformComponent, typeof i10.UiActionDialogButtonComponent, typeof i11.SmartformwidgetComponent, typeof i12.SmartfileuploaderComponent, typeof i13.TrackCapsDirective, typeof i14.ComparableDropdownDirective, typeof i15.ComparableMultiselectDirective, typeof i16.LargeFileSnackBarComponent, typeof i17.SortableWidgetComponent, typeof i18.SmartMonthPickerComponent, typeof i19.HighlightPipe], [typeof
|
|
69
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.UiActionInputDialogComponent, typeof i6.UiActionConfirmDialogComponent, typeof i7.UiActionFileUploadDialogComponent, typeof i8.InvalidFieldsSnackBarComponent, typeof i9.SmartformComponent, typeof i10.UiActionDialogButtonComponent, typeof i11.SmartformwidgetComponent, typeof i12.SmartfileuploaderComponent, typeof i13.TrackCapsDirective, typeof i14.ComparableDropdownDirective, typeof i15.ComparableMultiselectDirective, typeof i16.LargeFileSnackBarComponent, typeof i17.SortableWidgetComponent, typeof i18.SmartMonthPickerComponent, typeof i19.HighlightPipe, typeof i20.VoiceRecordWidgetComponent, typeof i21.PhotoCaptureWidgetComponent, typeof i22.UiActionButtonComponent], [typeof i23.CommonModule, typeof i24.HttpClientModule, typeof i25.MatCommonModule, typeof i26.MatButtonModule, typeof i27.ButtonModule, typeof i28.MatIconModule, typeof i29.MatSnackBarModule, typeof i30.SmartIconModule, typeof i31.MatTooltipModule, typeof i32.SharedModule, typeof i33.SharedModule, typeof i34.BrowserModule, typeof i35.MatChipsModule, typeof i36.FormsModule, typeof i36.ReactiveFormsModule, typeof i37.MatFormFieldModule, typeof i38.MatCheckboxModule, typeof i39.MatSelectModule, typeof i40.MatInputModule, typeof i41.MatDatepickerModule, typeof i42.MatMomentDateModule, typeof i43.MatRadioModule, typeof i44.MatSlideToggleModule, typeof i45.MatAutocompleteModule, typeof i46.QuillModule, typeof i47.DragDropModule, typeof i48.YouTubePlayerModule, typeof i49.InputTextModule, typeof i50.DropdownModule, typeof i51.MultiSelectModule, typeof i36.FormsModule, typeof i52.InputSwitchModule, typeof i53.InputNumberModule, typeof i54.InputTextareaModule, typeof i55.ImageModule, typeof i56.FloatLabelModule, typeof i23.CommonModule, typeof i57.ToastModule, typeof i58.DynamicDialogModule, typeof i59.FileUploadModule, typeof i60.ChipsModule, typeof i61.CalendarModule, typeof i62.CheckboxModule, typeof i63.OrderListModule, typeof i64.InputMaskModule, typeof i65.EditorModule], [typeof i4.UiActionToolbarComponent, typeof i5.UiActionInputDialogComponent, typeof i9.SmartformComponent, typeof i11.SmartformwidgetComponent, typeof i10.UiActionDialogButtonComponent, typeof i12.SmartfileuploaderComponent, typeof i19.HighlightPipe, typeof i14.ComparableDropdownDirective, typeof i15.ComparableMultiselectDirective, typeof i20.VoiceRecordWidgetComponent, typeof i21.PhotoCaptureWidgetComponent, typeof i22.UiActionButtonComponent]>;
|
|
67
70
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartViewContextModule>;
|
|
68
71
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbit4all/ng-client",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.42",
|
|
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",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"quill": "^1.3.7",
|
|
18
18
|
"quill-emoji": "^0.2.0",
|
|
19
19
|
"rxjs": "^7.5.7",
|
|
20
|
-
"copyfiles": "^2.4.1"
|
|
20
|
+
"copyfiles": "^2.4.1",
|
|
21
|
+
"wavesurfer.js": "^7.9.5"
|
|
21
22
|
},
|
|
22
23
|
"dependencies": {
|
|
23
24
|
"tslib": "^2.3.0"
|
|
Binary file
|
|
Binary file
|