@smartbit4all/ng-client 6.0.23 → 6.0.25
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/model/componentWidgetType.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/models.mjs +2 -1
- package/esm2022/lib/smart-component-layout/api/model/toolbarAlignment.mjs +17 -0
- package/esm2022/lib/smart-component-layout/api/model/toolbarDirection.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/toolbarProperties.mjs +1 -1
- package/esm2022/lib/view-context/api/api/view.service.mjs +1 -1
- package/esm2022/lib/view-context/api/model/iconPosition.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiAction.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/file-editor-toolbar/file-editor-toolbar.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.mjs +80 -77
- package/esm2022/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +10 -4
- package/fesm2022/smartbit4all-ng-client.mjs +106 -80
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-component-layout/api/model/models.d.ts +1 -0
- package/lib/smart-component-layout/api/model/toolbarAlignment.d.ts +15 -0
- package/lib/smart-component-layout/api/model/toolbarProperties.d.ts +2 -0
- package/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.d.ts +12 -14
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +2 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-6.0.25.tgz +0 -0
- package/smartbit4all-ng-client-6.0.23.tgz +0 -0
|
@@ -4,5 +4,6 @@ export * from './layoutDefinitionDescriptor';
|
|
|
4
4
|
export * from './layoutDirection';
|
|
5
5
|
export * from './smartComponentLayoutDefinition';
|
|
6
6
|
export * from './smartComponentWidgetDefinition';
|
|
7
|
+
export * from './toolbarAlignment';
|
|
7
8
|
export * from './toolbarDirection';
|
|
8
9
|
export * from './toolbarProperties';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form layout definition
|
|
3
|
+
* Contains form layout definition objects.
|
|
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 ToolbarAlignment {
|
|
13
|
+
START = "START",
|
|
14
|
+
END = "END"
|
|
15
|
+
}
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ToolbarDirection } from './toolbarDirection';
|
|
13
|
+
import { ToolbarAlignment } from './toolbarAlignment';
|
|
13
14
|
export interface ToolbarProperties {
|
|
14
15
|
scrollable?: boolean;
|
|
15
16
|
direction?: ToolbarDirection;
|
|
17
|
+
alignment?: ToolbarAlignment;
|
|
16
18
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnDestroy
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { UiActionModel } from '../ui-action.model';
|
|
3
3
|
import { ComponentLibrary } from '../../utility/componentLibrary';
|
|
4
4
|
import { IconPosition } from '../../api/model/iconPosition';
|
|
5
5
|
import { Style, UiAction, UiActionDescriptor } from '../../api';
|
|
6
6
|
import { ButtonIconPlaceholder } from './button-icon-placeholder';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class UiActionButtonComponent implements
|
|
8
|
+
export declare class UiActionButtonComponent implements OnDestroy {
|
|
9
9
|
changeDetector: ChangeDetectorRef;
|
|
10
10
|
private _destroy$;
|
|
11
|
-
disabled
|
|
12
|
-
descriptor: UiActionDescriptor
|
|
13
|
-
code
|
|
11
|
+
disabled: import("@angular/core").InputSignal<boolean | undefined>;
|
|
12
|
+
descriptor: import("@angular/core").InputSignal<UiActionDescriptor>;
|
|
13
|
+
code: import("@angular/core").InputSignal<string | undefined>;
|
|
14
14
|
/**
|
|
15
15
|
* Server-computed three-state view-activation flag (null = not an opener, false = inactive, true =
|
|
16
16
|
* active), mapped to sb4-view-opener/-activated/-not-activated classes. Client never writes it.
|
|
17
17
|
*/
|
|
18
|
-
viewActivated
|
|
19
|
-
addedCssClass
|
|
20
|
-
addBasicClasses: boolean
|
|
21
|
-
iconPlaceholder
|
|
18
|
+
viewActivated: import("@angular/core").InputSignal<boolean | null | undefined>;
|
|
19
|
+
addedCssClass: import("@angular/core").InputSignal<string | undefined>;
|
|
20
|
+
addBasicClasses: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
iconPlaceholder: import("@angular/core").InputSignal<ButtonIconPlaceholder | undefined>;
|
|
22
22
|
actionClick: EventEmitter<{
|
|
23
23
|
event: MouseEvent;
|
|
24
24
|
descriptor?: UiActionDescriptor | undefined;
|
|
@@ -32,13 +32,11 @@ export declare class UiActionButtonComponent implements OnInit, OnDestroy {
|
|
|
32
32
|
}>;
|
|
33
33
|
componentLibrary: typeof ComponentLibrary;
|
|
34
34
|
compLib: ComponentLibrary;
|
|
35
|
-
mainActionModel: UiActionModel;
|
|
36
35
|
pressedButtonActive: boolean;
|
|
37
36
|
menuOpened: boolean;
|
|
37
|
+
effectiveDescriptor: import("@angular/core").Signal<UiActionDescriptor>;
|
|
38
|
+
mainActionModel: import("@angular/core").Signal<UiActionModel>;
|
|
38
39
|
constructor(changeDetector: ChangeDetectorRef, compLib?: ComponentLibrary);
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
-
private buildMainActionModel;
|
|
42
40
|
ngOnDestroy(): void;
|
|
43
41
|
onActionClicked(event: MouseEvent, model: UiActionModel): Promise<void>;
|
|
44
42
|
onActionDoubleClicked(event: any): void;
|
|
@@ -57,5 +55,5 @@ export declare class UiActionButtonComponent implements OnInit, OnDestroy {
|
|
|
57
55
|
getJustifyContent(): string | null;
|
|
58
56
|
getSeparatorColor(): string;
|
|
59
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionButtonComponent, [null, { optional: true; }]>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionButtonComponent, "ui-action-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "descriptor": { "alias": "descriptor"; "required":
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionButtonComponent, "ui-action-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "descriptor": { "alias": "descriptor"; "required": true; "isSignal": true; }; "code": { "alias": "code"; "required": false; "isSignal": true; }; "viewActivated": { "alias": "viewActivated"; "required": false; "isSignal": true; }; "addedCssClass": { "alias": "addedCssClass"; "required": false; "isSignal": true; }; "addBasicClasses": { "alias": "addBasicClasses"; "required": false; "isSignal": true; }; "iconPlaceholder": { "alias": "iconPlaceholder"; "required": false; "isSignal": true; }; }, { "actionClick": "actionClick"; "actionDoubleClick": "actionDoubleClick"; }, never, never, false, never>;
|
|
61
59
|
}
|
|
@@ -60,6 +60,8 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
|
|
|
60
60
|
buttonLeft: UiActionDescriptor;
|
|
61
61
|
buttonRight: UiActionDescriptor;
|
|
62
62
|
get isVertical(): boolean;
|
|
63
|
+
get isAlignedStart(): boolean;
|
|
64
|
+
get isAlignedEnd(): boolean;
|
|
63
65
|
get triggerType(): typeof MenuTriggerType;
|
|
64
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionToolbarComponent, never>;
|
|
65
67
|
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; }; "toolbarPropertes": { "alias": "toolbarPropertes"; "required": false; }; }, {}, never, never, false, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbit4all/ng-client",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.25",
|
|
4
4
|
"description": "Angular client library for the smartbit4all platform — a server-driven UI framework that renders views, pages, forms, grids, trees and dialogs from backend (ViewApi/PageApi) definitions. Provides reactive view-context state management, dynamic component layouts and OpenAPI-generated BFF clients.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
|
|
Binary file
|
|
Binary file
|