@smartbit4all/ng-client 4.2.65 → 4.2.67
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-client/smart-component-api-client.mjs +6 -4
- package/esm2022/lib/smart-component-layout/smart-component-layout.component.mjs +2 -2
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +5 -3
- package/esm2022/lib/smart-filter-editor/smart-filter-editor.service.mjs +9 -1
- package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +2 -2
- package/esm2022/lib/smart-grid/smart-grid.component.mjs +1 -1
- package/esm2022/lib/smart-table/tables/material-table/material-table.component.mjs +2 -2
- package/esm2022/lib/smart-tree/smarttree.component.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/components/action-badge/action-badge.component.mjs +2 -2
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +18 -3
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/voice-record-widget/voice-record-widget.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +79 -5
- package/fesm2022/smartbit4all-ng-client.mjs +119 -18
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +1 -1
- package/lib/smart-filter-editor/smart-filter-editor.service.d.ts +8 -0
- 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/ui-action-toolbar.component.d.ts +20 -3
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.2.67.tgz +0 -0
- package/smartbit4all-ng-client-4.2.65.tgz +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, Injector, QueryList, Renderer2 } from '@angular/core';
|
|
2
2
|
import { Subject, Subscription } from 'rxjs';
|
|
3
3
|
import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
|
|
4
|
-
import { SmartFilterEditorContentComponent } from '../smart-filter-editor/project';
|
|
5
4
|
import { SmartForm, SmartFormInvalidFields, SmartformComponent, SophisticatedValueChange } from '../smart-form/projects';
|
|
6
5
|
import { GridOptions, SmartGrid, SmartGridComponent } from '../smart-grid/projects';
|
|
7
6
|
import { SmartMapComponent } from '../smart-map/smart-map.component';
|
|
8
7
|
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
9
8
|
import { ComponentModel, ComponentModelChange, ExecuteUiActionOptions, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UiActionToolbarComponent, UseUiAction2 } from '../view-context/projects';
|
|
10
9
|
import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
|
|
10
|
+
import { SmartFilterEditorContentComponent } from '../smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component';
|
|
11
11
|
export declare abstract class SmartComponentApiClient<T> implements UseUiAction2 {
|
|
12
12
|
protected inject: Injector;
|
|
13
13
|
protected auth: SmartAuthenticationServiceInterface;
|
|
@@ -5,6 +5,7 @@ import { UiActionAdditionalParams, UiActionSpecificDemandResponse, UseUiAction }
|
|
|
5
5
|
import { UiAction } from '../view-context/api/model/uiAction';
|
|
6
6
|
import { FilterExpressionBuilderUiModel } from './api/model/filterExpressionBuilderUiModel';
|
|
7
7
|
import { FilterService } from './api/api/filter.service';
|
|
8
|
+
import { UiActionToolbarComponent } from "../view-context/smart-ui-action/ui-action-toolbar.component";
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export interface ISmartFilterEditorService extends UseUiAction {
|
|
10
11
|
config: SmartFilterEditorConfig;
|
|
@@ -12,6 +13,9 @@ export interface ISmartFilterEditorService extends UseUiAction {
|
|
|
12
13
|
modelChanged: Subject<void>;
|
|
13
14
|
submit: Subject<void>;
|
|
14
15
|
reSubscribeToChange: Subject<void>;
|
|
16
|
+
parentSmartComponent?: any;
|
|
17
|
+
getComplexToolbars(): Array<UiActionToolbarComponent>;
|
|
18
|
+
setComplexToolbars(toolbars: Array<UiActionToolbarComponent>): void;
|
|
15
19
|
load(): Promise<void>;
|
|
16
20
|
peformWidgetAction(request: UiActionRequest): void;
|
|
17
21
|
performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string | undefined, nodeId?: string | undefined): Promise<any>;
|
|
@@ -23,7 +27,11 @@ export declare class SmartFilterEditorService implements ISmartFilterEditorServi
|
|
|
23
27
|
modelChanged: Subject<void>;
|
|
24
28
|
submit: Subject<void>;
|
|
25
29
|
reSubscribeToChange: Subject<void>;
|
|
30
|
+
parentSmartComponent?: any;
|
|
31
|
+
private toolbars;
|
|
26
32
|
constructor(service: FilterService);
|
|
33
|
+
getComplexToolbars(): Array<UiActionToolbarComponent>;
|
|
34
|
+
setComplexToolbars(toolbars: Array<UiActionToolbarComponent>): void;
|
|
27
35
|
load(): Promise<void>;
|
|
28
36
|
peformWidgetAction(request: UiActionRequest): Promise<void>;
|
|
29
37
|
getModel(): FilterExpressionBuilderUiModel | undefined;
|
|
@@ -45,6 +45,8 @@ export declare class UiActionFileUploadDialogComponent implements OnDestroy {
|
|
|
45
45
|
uploadImage(files: any): void;
|
|
46
46
|
loadFilesIntoWidget(files: File[]): void;
|
|
47
47
|
widgetNeeded(type: UploadWidgetType): boolean;
|
|
48
|
+
downloadFile(file: File): void;
|
|
49
|
+
removeFile(index: number): void;
|
|
48
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionFileUploadDialogComponent, never>;
|
|
49
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionFileUploadDialogComponent, "lib-ui-action-file-upload-dialog", never, {}, {}, never, never, false, never>;
|
|
50
52
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TooltipPosition } from '@angular/material/tooltip';
|
|
3
|
-
import { IconPosition, UiActionTooltipTooltipPositionEnum } from '../api';
|
|
3
|
+
import { IconPosition, UiActionDescriptor, UiActionTooltipTooltipPositionEnum } from '../api';
|
|
4
4
|
import { UiActionDescriptorService } from './ui-action.descriptor.service';
|
|
5
5
|
import { UiActionModel } from './ui-action.model';
|
|
6
6
|
import { UiActionService } from './ui-action.service';
|
|
@@ -11,17 +11,27 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
|
|
|
11
11
|
private inject;
|
|
12
12
|
changeDetector: ChangeDetectorRef;
|
|
13
13
|
compLib: ComponentLibrary;
|
|
14
|
+
containerRef: ElementRef;
|
|
14
15
|
private _destroy$;
|
|
15
16
|
componentLibrary: typeof ComponentLibrary;
|
|
16
17
|
pressedButtonActive: boolean;
|
|
17
18
|
uiActionModels?: UiActionModel[];
|
|
18
19
|
uiActionDescriptorService?: UiActionDescriptorService;
|
|
19
20
|
id?: string;
|
|
21
|
+
scrollOnWrap: boolean;
|
|
20
22
|
uiActionModelsWithDescriptions?: UiActionModel[];
|
|
21
23
|
private manager;
|
|
22
24
|
private languageChangedSubscription?;
|
|
25
|
+
isScrollable: boolean;
|
|
26
|
+
private scrollInterval;
|
|
27
|
+
private scrollTimeout;
|
|
28
|
+
private scrollSpeed;
|
|
29
|
+
private scrollDelay;
|
|
30
|
+
private scrollHoldDelay;
|
|
23
31
|
constructor(service: UiActionService, inject: Injector, changeDetector: ChangeDetectorRef, compLib: ComponentLibrary);
|
|
24
32
|
ngOnInit(): void;
|
|
33
|
+
ngAfterViewInit(): void;
|
|
34
|
+
onResize(): void;
|
|
25
35
|
ngOnChanges(changes: SimpleChanges): void;
|
|
26
36
|
ngOnDestroy(): void;
|
|
27
37
|
private subscribeToLanguageChange;
|
|
@@ -36,6 +46,13 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
|
|
|
36
46
|
getTooltipPos(pos?: UiActionTooltipTooltipPositionEnum): TooltipPosition;
|
|
37
47
|
getTooltipDelay(delay?: number): number;
|
|
38
48
|
getTooltipHideDelay(delay?: number): number;
|
|
49
|
+
checkScrollable(): void;
|
|
50
|
+
scrollLeft(): void;
|
|
51
|
+
scrollRight(): void;
|
|
52
|
+
scrollStart(direction: 'left' | 'right'): void;
|
|
53
|
+
stopScroll(): void;
|
|
54
|
+
buttonLeft: UiActionDescriptor;
|
|
55
|
+
buttonRight: UiActionDescriptor;
|
|
39
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionToolbarComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionToolbarComponent, "smart-ui-action-toolbar", never, { "uiActionModels": { "alias": "uiActionModels"; "required": false; }; "uiActionDescriptorService": { "alias": "uiActionDescriptorService"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, false, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionToolbarComponent, "smart-ui-action-toolbar", never, { "uiActionModels": { "alias": "uiActionModels"; "required": false; }; "uiActionDescriptorService": { "alias": "uiActionDescriptorService"; "required": false; }; "id": { "alias": "id"; "required": false; }; "scrollOnWrap": { "alias": "scrollOnWrap"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
58
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|