@smartbit4all/ng-client 7.3.50 → 7.3.52
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/MIGRATION-7.0.md +6 -0
- package/README.md +9 -0
- package/fesm2022/smartbit4all-ng-client.mjs +46 -8
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-7.3.52.tgz +0 -0
- package/types/smartbit4all-ng-client.d.ts +11 -1
- package/smartbit4all-ng-client-7.3.50.tgz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbit4all/ng-client",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.52",
|
|
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
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
Binary file
|
|
@@ -882,6 +882,10 @@ interface UiActionDescriptor {
|
|
|
882
882
|
input2Dialog?: UiActionDialogDescriptor;
|
|
883
883
|
feedbackType?: UiActionFeedbackType;
|
|
884
884
|
feedbackText?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Optional text of the snackbar the client shows when the form validation of a submitting action fails. The placeholder {fields} is replaced by the client with the names of the invalid fields, separated by commas. If it is missing the client shows its default text.
|
|
887
|
+
*/
|
|
888
|
+
invalidFieldsText?: string;
|
|
885
889
|
badge?: BadgeDescriptor;
|
|
886
890
|
upload?: UiActionUploadDescriptor;
|
|
887
891
|
tooltip?: UiActionTooltip;
|
|
@@ -7043,6 +7047,8 @@ declare class SmartViewContextService implements OnDestroy {
|
|
|
7043
7047
|
private actionDescriptors?;
|
|
7044
7048
|
private moduleUrlsByModule?;
|
|
7045
7049
|
commonFeedbackText?: string;
|
|
7050
|
+
/** Default text of the invalid fields snackbar, used when the action's descriptor has none. */
|
|
7051
|
+
commonInvalidFieldsText?: string;
|
|
7046
7052
|
smartApiClients: Map<string, Subject$1<any>>;
|
|
7047
7053
|
constructor();
|
|
7048
7054
|
ngOnDestroy(): void;
|
|
@@ -9805,7 +9811,11 @@ declare class UiActionService implements OnDestroy {
|
|
|
9805
9811
|
private handleInputTypeUserSelect;
|
|
9806
9812
|
private performAction;
|
|
9807
9813
|
showSavedSnackbar(uiAction: UiAction): void;
|
|
9808
|
-
|
|
9814
|
+
/**
|
|
9815
|
+
* @param uiAction the submitting action: its descriptor may carry the text of the snackbar
|
|
9816
|
+
* (`invalidFieldsText`). Without it the default text is shown.
|
|
9817
|
+
*/
|
|
9818
|
+
showInvalidFieldsSnackbar(invalidFields: SmartFormInvalidFields, uiAction?: UiAction): void;
|
|
9809
9819
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionService, never>;
|
|
9810
9820
|
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionService>;
|
|
9811
9821
|
}
|
|
Binary file
|