mn-angular-lib 0.0.44 → 0.0.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/package.json
CHANGED
|
@@ -8,7 +8,7 @@ import { Observable, BehaviorSubject } from 'rxjs';
|
|
|
8
8
|
import * as mn_angular_lib from 'mn-angular-lib';
|
|
9
9
|
import * as _angular_forms from '@angular/forms';
|
|
10
10
|
import { ValidationErrors, NgControl, AbstractControl, FormGroup, FormBuilder } from '@angular/forms';
|
|
11
|
-
import { HttpClient } from '@angular/common/http';
|
|
11
|
+
import { HttpClient, HttpStatusCode, HttpHeaders, HttpErrorResponse, HttpResponse, HttpParams } from '@angular/common/http';
|
|
12
12
|
|
|
13
13
|
declare const mnAlertVariants: tailwind_variants.TVReturnType<{
|
|
14
14
|
kind: {
|
|
@@ -2827,6 +2827,10 @@ declare function provideMnConfig(url: string, debugMode?: boolean): Provider[];
|
|
|
2827
2827
|
* providers: [ provideMnComponentConfig(MY_CFG, 'my-component') ]
|
|
2828
2828
|
* Then in the component:
|
|
2829
2829
|
* readonly cfg = inject(MY_CFG)
|
|
2830
|
+
*
|
|
2831
|
+
* The returned config object is **reactive**: when the active locale changes,
|
|
2832
|
+
* all translatable values are re-resolved in place so that templates using
|
|
2833
|
+
* `cfg.someLabel` automatically reflect the new language on the next change-detection cycle.
|
|
2830
2834
|
*/
|
|
2831
2835
|
declare function provideMnComponentConfig<T extends object>(token: InjectionToken<T>, componentName: string, initial?: Partial<T>): Provider;
|
|
2832
2836
|
|
|
@@ -2853,6 +2857,297 @@ declare class MnInstanceDirective {
|
|
|
2853
2857
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MnInstanceDirective, "[mn-instance]", never, { "mnInstance": { "alias": "mn-instance"; "required": false; }; }, {}, never, never, true, never>;
|
|
2854
2858
|
}
|
|
2855
2859
|
|
|
2860
|
+
/**
|
|
2861
|
+
* A structured representation of an API error.
|
|
2862
|
+
*
|
|
2863
|
+
* Captures all relevant details — status, message, validation errors,
|
|
2864
|
+
* and retry information — so consumers can log, display, or act on
|
|
2865
|
+
* failures without inspecting the raw HTTP response.
|
|
2866
|
+
*/
|
|
2867
|
+
interface ApiError {
|
|
2868
|
+
status: HttpStatusCode | null;
|
|
2869
|
+
message: string;
|
|
2870
|
+
details?: unknown;
|
|
2871
|
+
backendMessage?: string;
|
|
2872
|
+
validationErrors?: Record<string, string[]>;
|
|
2873
|
+
url?: string | null;
|
|
2874
|
+
headers?: HttpHeaders;
|
|
2875
|
+
original: HttpErrorResponse | Error;
|
|
2876
|
+
retryable: boolean;
|
|
2877
|
+
timestamp: string;
|
|
2878
|
+
}
|
|
2879
|
+
/**
|
|
2880
|
+
* Metadata associated with an API result.
|
|
2881
|
+
*
|
|
2882
|
+
* Attached to both `SuccessResult` and `FailureResult` to provide
|
|
2883
|
+
* transport-level details such as the HTTP status code, response
|
|
2884
|
+
* headers, and the final URL after any redirects.
|
|
2885
|
+
*/
|
|
2886
|
+
interface ResultMeta {
|
|
2887
|
+
statusCode?: number;
|
|
2888
|
+
headers?: HttpHeaders;
|
|
2889
|
+
url?: string;
|
|
2890
|
+
}
|
|
2891
|
+
/**
|
|
2892
|
+
* Represents a successful API result containing the response data.
|
|
2893
|
+
*
|
|
2894
|
+
* Discriminated by `ok: true`. Use `result.ok` to narrow the union
|
|
2895
|
+
* before accessing `data`.
|
|
2896
|
+
*
|
|
2897
|
+
* @template T The type of the response data.
|
|
2898
|
+
*/
|
|
2899
|
+
interface SuccessResult<T> {
|
|
2900
|
+
ok: true;
|
|
2901
|
+
data: T;
|
|
2902
|
+
meta?: ResultMeta;
|
|
2903
|
+
}
|
|
2904
|
+
/**
|
|
2905
|
+
* Represents a failed API result containing the structured error.
|
|
2906
|
+
*
|
|
2907
|
+
* Discriminated by `ok: false`. Use `result.ok` to narrow the union
|
|
2908
|
+
* before accessing `error`.
|
|
2909
|
+
*/
|
|
2910
|
+
interface FailureResult {
|
|
2911
|
+
ok: false;
|
|
2912
|
+
error: ApiError;
|
|
2913
|
+
meta?: ResultMeta;
|
|
2914
|
+
}
|
|
2915
|
+
/**
|
|
2916
|
+
* A discriminated union representing either a successful or failed API result.
|
|
2917
|
+
*
|
|
2918
|
+
* Discriminated by `ok`. Use `result.ok` to narrow the type
|
|
2919
|
+
* before accessing `data` or `error`.
|
|
2920
|
+
*
|
|
2921
|
+
* @template T The type of the response data on success.
|
|
2922
|
+
*/
|
|
2923
|
+
type Result<T> = SuccessResult<T> | FailureResult;
|
|
2924
|
+
/**
|
|
2925
|
+
* A JavaScript primitive value.
|
|
2926
|
+
*
|
|
2927
|
+
* Used as the building block for query parameter values.
|
|
2928
|
+
*/
|
|
2929
|
+
type Primitive = string | number | boolean | null | undefined;
|
|
2930
|
+
/**
|
|
2931
|
+
* A value that can be used as a query parameter.
|
|
2932
|
+
*
|
|
2933
|
+
* Either a single primitive or an array of primitives.
|
|
2934
|
+
* Array values are appended as multiple entries for the same key.
|
|
2935
|
+
*/
|
|
2936
|
+
type QueryValue = Primitive | Primitive[];
|
|
2937
|
+
/**
|
|
2938
|
+
* A record of query parameter key-value pairs.
|
|
2939
|
+
*
|
|
2940
|
+
* Passed to CRUD service methods and converted to `HttpParams`
|
|
2941
|
+
* before the request is sent. `null` and `undefined` values
|
|
2942
|
+
* are silently skipped during conversion.
|
|
2943
|
+
*/
|
|
2944
|
+
type QueryParams = Record<string, QueryValue>;
|
|
2945
|
+
|
|
2946
|
+
/**
|
|
2947
|
+
* Configuration for a CRUD service endpoint.
|
|
2948
|
+
*
|
|
2949
|
+
* Passed to the `CrudService` constructor to define which API
|
|
2950
|
+
* resource the service operates on.
|
|
2951
|
+
*/
|
|
2952
|
+
interface CrudConfig {
|
|
2953
|
+
endpoint: string;
|
|
2954
|
+
}
|
|
2955
|
+
/**
|
|
2956
|
+
* Abstract base class for CRUD services.
|
|
2957
|
+
* Provides standard HTTP operations with typed `Result<T>` responses.
|
|
2958
|
+
*
|
|
2959
|
+
* @template TEntity The entity type returned by single-item operations.
|
|
2960
|
+
* @template TListResponse The response type for list operations (defaults to `TEntity[]`).
|
|
2961
|
+
* @template TCreatePayload The payload type for create operations (defaults to `Partial<TEntity>`).
|
|
2962
|
+
* @template TUpdatePayload The payload type for update operations (defaults to `Partial<TEntity>`).
|
|
2963
|
+
* @template TId The type of the entity identifier (defaults to `number`).
|
|
2964
|
+
* @template TGetByIdResponse The response type for getById (defaults to `TEntity`).
|
|
2965
|
+
* @template TCreateResponse The response type for create (defaults to `TEntity`).
|
|
2966
|
+
* @template TUpdateResponse The response type for update and patch (defaults to `TEntity`).
|
|
2967
|
+
* @template TDeleteResponse The response type for delete (defaults to `void`).
|
|
2968
|
+
*/
|
|
2969
|
+
declare abstract class CrudService<TEntity, TListResponse = TEntity[], TCreatePayload = Partial<TEntity>, TUpdatePayload = Partial<TEntity>, TId extends string | number = number, TGetByIdResponse = TEntity, TCreateResponse = TEntity, TUpdateResponse = TEntity, TDeleteResponse = void> {
|
|
2970
|
+
protected readonly http: HttpClient;
|
|
2971
|
+
protected readonly baseUrl: string;
|
|
2972
|
+
protected readonly endpoint: string;
|
|
2973
|
+
protected constructor(config: CrudConfig);
|
|
2974
|
+
/**
|
|
2975
|
+
* Retrieves all entities from the configured endpoint.
|
|
2976
|
+
*
|
|
2977
|
+
* Sends a GET request to the base endpoint. Query values are
|
|
2978
|
+
* converted to `HttpParams` before the request is sent.
|
|
2979
|
+
*
|
|
2980
|
+
* @param query Optional query parameters appended to the request URL.
|
|
2981
|
+
* @returns An observable emitting a `Result` with the list response or a structured failure.
|
|
2982
|
+
*/
|
|
2983
|
+
getAll(query?: QueryParams): Observable<Result<TListResponse>>;
|
|
2984
|
+
/**
|
|
2985
|
+
* Retrieves a single entity by its identifier.
|
|
2986
|
+
*
|
|
2987
|
+
* Sends a GET request to `{endpoint}/{id}`.
|
|
2988
|
+
*
|
|
2989
|
+
* @param id The unique identifier of the entity to retrieve.
|
|
2990
|
+
* @returns An observable emitting a `Result` with the entity or a structured failure.
|
|
2991
|
+
*/
|
|
2992
|
+
getById(id: TId): Observable<Result<TGetByIdResponse>>;
|
|
2993
|
+
/**
|
|
2994
|
+
* Creates a new entity at the configured endpoint.
|
|
2995
|
+
*
|
|
2996
|
+
* Sends a POST request with the provided payload as the request body.
|
|
2997
|
+
*
|
|
2998
|
+
* @param payload The data used to create the entity.
|
|
2999
|
+
* @returns An observable emitting a `Result` with the created entity or a structured failure.
|
|
3000
|
+
*/
|
|
3001
|
+
create(payload: TCreatePayload): Observable<Result<TCreateResponse>>;
|
|
3002
|
+
/**
|
|
3003
|
+
* Fully replaces an existing entity.
|
|
3004
|
+
*
|
|
3005
|
+
* Sends a PUT request to `{endpoint}/{id}` with the provided payload,
|
|
3006
|
+
* replacing the entire entity.
|
|
3007
|
+
*
|
|
3008
|
+
* @param id The unique identifier of the entity to update.
|
|
3009
|
+
* @param payload The complete data to replace the existing entity with.
|
|
3010
|
+
* @returns An observable emitting a `Result` with the updated entity or a structured failure.
|
|
3011
|
+
*/
|
|
3012
|
+
update(id: TId, payload: TUpdatePayload): Observable<Result<TUpdateResponse>>;
|
|
3013
|
+
/**
|
|
3014
|
+
* Partially updates an existing entity.
|
|
3015
|
+
*
|
|
3016
|
+
* Sends a PATCH request to `{endpoint}/{id}` with the provided payload,
|
|
3017
|
+
* merging changes into the existing entity.
|
|
3018
|
+
*
|
|
3019
|
+
* @param id The unique identifier of the entity to patch.
|
|
3020
|
+
* @param payload A partial set of fields to update on the existing entity.
|
|
3021
|
+
* @returns An observable emitting a `Result` with the updated entity or a structured failure.
|
|
3022
|
+
*/
|
|
3023
|
+
patch(id: TId, payload: Partial<TUpdatePayload>): Observable<Result<TUpdateResponse>>;
|
|
3024
|
+
/**
|
|
3025
|
+
* Deletes an entity by its identifier.
|
|
3026
|
+
*
|
|
3027
|
+
* Sends a DELETE request to `{endpoint}/{id}`.
|
|
3028
|
+
*
|
|
3029
|
+
* @param id The unique identifier of the entity to delete.
|
|
3030
|
+
* @returns An observable emitting a `Result` with the delete response or a structured failure.
|
|
3031
|
+
*/
|
|
3032
|
+
delete(id: TId): Observable<Result<TDeleteResponse>>;
|
|
3033
|
+
/**
|
|
3034
|
+
* Retrieves all entities with the full `HttpResponse` wrapper.
|
|
3035
|
+
*
|
|
3036
|
+
* Behaves like {@link getAll} but observes the complete HTTP response,
|
|
3037
|
+
* giving access to headers, status code, and URL alongside the body.
|
|
3038
|
+
*
|
|
3039
|
+
* @param query Optional query parameters appended to the request URL.
|
|
3040
|
+
* @returns An observable emitting a `Result` with the full HTTP response or a structured failure.
|
|
3041
|
+
*/
|
|
3042
|
+
getAllResponse(query?: QueryParams): Observable<Result<HttpResponse<TListResponse>>>;
|
|
3043
|
+
/**
|
|
3044
|
+
* Builds the URL for a single entity by appending the identifier to the endpoint.
|
|
3045
|
+
*
|
|
3046
|
+
* @param id The unique identifier to append.
|
|
3047
|
+
* @returns The full URL targeting the specific entity.
|
|
3048
|
+
*/
|
|
3049
|
+
protected itemUrl(id: TId): string;
|
|
3050
|
+
/**
|
|
3051
|
+
* Wraps a value in a `SuccessResult`.
|
|
3052
|
+
*
|
|
3053
|
+
* @template T The type of the response data.
|
|
3054
|
+
* @param data The response data to wrap.
|
|
3055
|
+
* @param meta Optional metadata (status code, headers, URL) to attach.
|
|
3056
|
+
* @returns A `SuccessResult` containing the provided data.
|
|
3057
|
+
*/
|
|
3058
|
+
protected success<T>(data: T, meta?: ResultMeta): SuccessResult<T>;
|
|
3059
|
+
/**
|
|
3060
|
+
* Wraps an error in a `FailureResult`.
|
|
3061
|
+
*
|
|
3062
|
+
* When no explicit metadata is provided, metadata is derived from
|
|
3063
|
+
* the `ApiError` itself (status code, headers, URL).
|
|
3064
|
+
*
|
|
3065
|
+
* @param error The structured API error.
|
|
3066
|
+
* @param meta Optional metadata to override the error-derived values.
|
|
3067
|
+
* @returns A `FailureResult` containing the error and metadata.
|
|
3068
|
+
*/
|
|
3069
|
+
protected failure(error: ApiError, meta?: ResultMeta): FailureResult;
|
|
3070
|
+
/**
|
|
3071
|
+
* Maps an unknown error into a structured `ApiError`.
|
|
3072
|
+
*
|
|
3073
|
+
* Handles both `HttpErrorResponse` instances and unexpected error types.
|
|
3074
|
+
* Extracts backend messages, validation errors, and retry information
|
|
3075
|
+
* so callers receive a consistent error shape.
|
|
3076
|
+
*
|
|
3077
|
+
* @param error The raw error caught from the HTTP pipeline.
|
|
3078
|
+
* @returns A fully populated `ApiError` object.
|
|
3079
|
+
*/
|
|
3080
|
+
protected mapHttpError(error: unknown): ApiError;
|
|
3081
|
+
/**
|
|
3082
|
+
* Extracts a human-readable message from the error response body.
|
|
3083
|
+
*
|
|
3084
|
+
* Checks common keys (`message`, `title`, `detail`, `error`) on the
|
|
3085
|
+
* body object and returns the first non-empty string found.
|
|
3086
|
+
*
|
|
3087
|
+
* @param body The parsed error response body.
|
|
3088
|
+
* @returns The extracted message, or `undefined` if none was found.
|
|
3089
|
+
*/
|
|
3090
|
+
protected extractBackendMessage(body: unknown): string | undefined;
|
|
3091
|
+
/**
|
|
3092
|
+
* Extracts field-level validation errors from the error response body.
|
|
3093
|
+
*
|
|
3094
|
+
* Expects an `errors` property on the body containing a record of
|
|
3095
|
+
* field names to error messages (string or string array).
|
|
3096
|
+
*
|
|
3097
|
+
* @param body The parsed error response body.
|
|
3098
|
+
* @returns A record mapping field names to their error messages, or `undefined` if none were found.
|
|
3099
|
+
*/
|
|
3100
|
+
protected extractValidationErrors(body: unknown): Record<string, string[]> | undefined;
|
|
3101
|
+
/**
|
|
3102
|
+
* Returns a default user-facing message for the given HTTP status code.
|
|
3103
|
+
*
|
|
3104
|
+
* Provides human-readable messages for common HTTP status codes.
|
|
3105
|
+
* Override this method to customise messages.
|
|
3106
|
+
*
|
|
3107
|
+
* @param status The HTTP status code, or `null` when unknown.
|
|
3108
|
+
* @returns A descriptive error message.
|
|
3109
|
+
*/
|
|
3110
|
+
protected defaultMessage(status: HttpStatusCode | null): string;
|
|
3111
|
+
/**
|
|
3112
|
+
* Determines whether a request with the given status can be retried.
|
|
3113
|
+
*
|
|
3114
|
+
* Timeouts, rate-limiting responses, and server errors
|
|
3115
|
+
* (5xx) are considered retryable by default.
|
|
3116
|
+
*
|
|
3117
|
+
* @param status The HTTP status code, or `null` when unknown.
|
|
3118
|
+
* @returns `true` if the request is safe to retry.
|
|
3119
|
+
*/
|
|
3120
|
+
protected isRetryable(status: HttpStatusCode | null): boolean;
|
|
3121
|
+
/**
|
|
3122
|
+
* Normalises a raw HTTP status into an `HttpStatusCode | null` value.
|
|
3123
|
+
*
|
|
3124
|
+
* Converts `undefined`, `NaN`, and `0` (network error) to `null`
|
|
3125
|
+
* so downstream code only needs to handle `HttpStatusCode | null`.
|
|
3126
|
+
*
|
|
3127
|
+
* @param status The raw status value from the HTTP response.
|
|
3128
|
+
* @returns The normalised status code, or `null` when indeterminate.
|
|
3129
|
+
*/
|
|
3130
|
+
protected normalizeStatus(status: number | null | undefined): HttpStatusCode | null;
|
|
3131
|
+
/**
|
|
3132
|
+
* Converts query parameters into Angular `HttpParams`.
|
|
3133
|
+
*
|
|
3134
|
+
* `null` and `undefined` values are silently skipped.
|
|
3135
|
+
* Array values are appended as multiple entries for the same key.
|
|
3136
|
+
*
|
|
3137
|
+
* @param query The query parameter record to convert.
|
|
3138
|
+
* @returns An `HttpParams` instance, or `undefined` when no parameters are provided.
|
|
3139
|
+
*/
|
|
3140
|
+
protected toHttpParams(query?: QueryParams): HttpParams | undefined;
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
/**
|
|
3144
|
+
* Injection token for the base URL used by all CRUD service requests.
|
|
3145
|
+
*
|
|
3146
|
+
* Provide this token at the application or module level to configure
|
|
3147
|
+
* the root API URL that `CrudService` prepends to every endpoint.
|
|
3148
|
+
*/
|
|
3149
|
+
declare const API_BASE_URL: InjectionToken<string>;
|
|
3150
|
+
|
|
2856
3151
|
/**
|
|
2857
3152
|
* A marker object used in config values to indicate that the value
|
|
2858
3153
|
* should be resolved via the MnLanguageService.
|
|
@@ -2966,5 +3261,5 @@ declare class MnTranslatePipe implements PipeTransform {
|
|
|
2966
3261
|
static ɵpipe: i0.ɵɵPipeDeclaration<MnTranslatePipe, "mnTranslate", true>;
|
|
2967
3262
|
}
|
|
2968
3263
|
|
|
2969
|
-
export { ActionStyle, BackdropMode, BaseModalBuilder, CloseMode, ColumnSortType, ConfirmationModalBuilder, ConfirmationTone, CustomModalBuilder, DEFAULT_MN_ALERT_CONFIG, FieldAppearance, FieldKind, FormLayoutMode, FormModalBuilder, KeyboardMode, MN_ALERT_CONFIG, MN_CHECKBOX_CONFIG, MN_DATETIME_CONFIG, MN_INPUT_FIELD_CONFIG, MN_INSTANCE_ID, MN_LIB_DUAL_HORIZONTAL_IMAGE, MN_MULTI_SELECT_CONFIG, MN_SECTION_PATH, MN_TEST_COMPONENT_CONFIG, MN_TEXTAREA_CONFIG, MnAlertOutletComponent, MnAlertService, MnAlertStore, MnButton, MnCheckbox, MnConfigService, MnConfirmationBodyComponent, MnCustomBodyHostComponent, MnDatetime, MnDualHorizontalImage, MnFormBodyComponent, MnInformationCard, MnInputField, MnInstanceDirective, MnLanguageService, MnModalRef, MnModalService, MnModalShellComponent, MnMultiSelect, MnSectionDirective, MnTable, MnTestComponent, MnTextarea, MnTranslatePipe, MnWizardBodyComponent, ModalBuilder, ModalCloseReason, ModalIntent, ModalKind, ModalSize, NavigationDirection, OptionState, SelectionMode, StepBuilder, StepState, SubmitMode, Test, ValidationCode, ValidationStatus, WizardFlowMode, WizardModalBuilder, dateTimeAdapter, defaultTextAdapter, isTranslatable, mnAlertVariants, mnButtonVariants, mnCheckboxVariants, mnDatetimeVariants, mnInformationCardVariants, mnInputFieldVariants, mnMultiSelectVariants, mnTextareaVariants, numberAdapter, pickAdapter, provideMnAlerts, provideMnComponentConfig, provideMnConfig, provideMnLanguage };
|
|
2970
|
-
export type { BaseModalConfig, CancellationActionConfig, CheckboxFieldConfig, ColorFieldConfig, ColumnDefinition, ConfirmationActionConfig, ConfirmationModalConfig, CursorPaginationStrategy, CustomFieldConfig, CustomModalConfig, DateFieldConfig, DatetimeFieldConfig, FieldDataSource, FieldValidator, FieldVisibilityCondition, FileFieldConfig, FormFieldConfig, FormFieldGroup, FormModalConfig, FormRow, FormRowField, FormValidator, MnAlert, MnAlertConfig, MnAlertId, MnAlertKind, MnAlertTemplateContext, MnAlertVariants, MnButtonTypes, MnButtonVariants, MnCheckboxErrorMessageData, MnCheckboxErrorMessagesData, MnCheckboxProps, MnCheckboxUIConfig, MnCheckboxVariants, MnConfigFile, MnConfigValue, MnDatetimeErrorMessageData, MnDatetimeErrorMessagesData, MnDatetimeMode, MnDatetimeProps, MnDatetimeUIConfig, MnDatetimeVariants, MnDomAttrs, MnDualHorizontalImageConfig, MnDualHorizontalImageTypes, MnErrorMessageData, MnErrorMessagesData, MnImageType, MnInformationCardBaseData, MnInformationCardData, MnInformationCardVariants, MnInputAdapter, MnInputBaseProps, MnInputDateTimeProps, MnInputFieldProps, MnInputFieldUIConfig, MnInputProps, MnInputType, MnInputVariants, MnLanguageConfig, MnMultiSelectErrorMessageData, MnMultiSelectErrorMessagesData, MnMultiSelectOption, MnMultiSelectProps, MnMultiSelectUIConfig, MnMultiSelectVariants, MnShowInput, MnTextareaErrorMessageData, MnTextareaErrorMessagesData, MnTextareaProps, MnTextareaUIConfig, MnTextareaVariants, MnTranslatable, MnTranslationMap, MnTranslations, ModalCancelHandler, ModalCloseEvent, ModalConfig, ModalFooterAction, ModalI18nLabels, ModalInputMap, ModalPollingConfig, ModalRef, ModalResultHandler, ModalStepId, MultiSelectFieldConfig, MultiSelectTableFieldConfig, NumberFieldConfig, OffsetPaginationStrategy, PaginationStrategy, PasswordFieldConfig, RatingFieldConfig, SelectFieldConfig, SelectOption, SingleSelectTableFieldConfig, SliderFieldConfig, SortState, StepBodyConfig, StepGuard, StepValidator, TableAppearance, TableDataSource, TableRowAction, TextFieldConfig, TextareaFieldConfig, ValidationResult, WizardBeforeCompleteValidator, WizardModalConfig, WizardResult, WizardStepChangeEvent, WizardStepChangeHandler, WizardStepConfig };
|
|
3264
|
+
export { API_BASE_URL, ActionStyle, BackdropMode, BaseModalBuilder, CloseMode, ColumnSortType, ConfirmationModalBuilder, ConfirmationTone, CrudService, CustomModalBuilder, DEFAULT_MN_ALERT_CONFIG, FieldAppearance, FieldKind, FormLayoutMode, FormModalBuilder, KeyboardMode, MN_ALERT_CONFIG, MN_CHECKBOX_CONFIG, MN_DATETIME_CONFIG, MN_INPUT_FIELD_CONFIG, MN_INSTANCE_ID, MN_LIB_DUAL_HORIZONTAL_IMAGE, MN_MULTI_SELECT_CONFIG, MN_SECTION_PATH, MN_TEST_COMPONENT_CONFIG, MN_TEXTAREA_CONFIG, MnAlertOutletComponent, MnAlertService, MnAlertStore, MnButton, MnCheckbox, MnConfigService, MnConfirmationBodyComponent, MnCustomBodyHostComponent, MnDatetime, MnDualHorizontalImage, MnFormBodyComponent, MnInformationCard, MnInputField, MnInstanceDirective, MnLanguageService, MnModalRef, MnModalService, MnModalShellComponent, MnMultiSelect, MnSectionDirective, MnTable, MnTestComponent, MnTextarea, MnTranslatePipe, MnWizardBodyComponent, ModalBuilder, ModalCloseReason, ModalIntent, ModalKind, ModalSize, NavigationDirection, OptionState, SelectionMode, StepBuilder, StepState, SubmitMode, Test, ValidationCode, ValidationStatus, WizardFlowMode, WizardModalBuilder, dateTimeAdapter, defaultTextAdapter, isTranslatable, mnAlertVariants, mnButtonVariants, mnCheckboxVariants, mnDatetimeVariants, mnInformationCardVariants, mnInputFieldVariants, mnMultiSelectVariants, mnTextareaVariants, numberAdapter, pickAdapter, provideMnAlerts, provideMnComponentConfig, provideMnConfig, provideMnLanguage };
|
|
3265
|
+
export type { ApiError, BaseModalConfig, CancellationActionConfig, CheckboxFieldConfig, ColorFieldConfig, ColumnDefinition, ConfirmationActionConfig, ConfirmationModalConfig, CrudConfig, CursorPaginationStrategy, CustomFieldConfig, CustomModalConfig, DateFieldConfig, DatetimeFieldConfig, FailureResult, FieldDataSource, FieldValidator, FieldVisibilityCondition, FileFieldConfig, FormFieldConfig, FormFieldGroup, FormModalConfig, FormRow, FormRowField, FormValidator, MnAlert, MnAlertConfig, MnAlertId, MnAlertKind, MnAlertTemplateContext, MnAlertVariants, MnButtonTypes, MnButtonVariants, MnCheckboxErrorMessageData, MnCheckboxErrorMessagesData, MnCheckboxProps, MnCheckboxUIConfig, MnCheckboxVariants, MnConfigFile, MnConfigValue, MnDatetimeErrorMessageData, MnDatetimeErrorMessagesData, MnDatetimeMode, MnDatetimeProps, MnDatetimeUIConfig, MnDatetimeVariants, MnDomAttrs, MnDualHorizontalImageConfig, MnDualHorizontalImageTypes, MnErrorMessageData, MnErrorMessagesData, MnImageType, MnInformationCardBaseData, MnInformationCardData, MnInformationCardVariants, MnInputAdapter, MnInputBaseProps, MnInputDateTimeProps, MnInputFieldProps, MnInputFieldUIConfig, MnInputProps, MnInputType, MnInputVariants, MnLanguageConfig, MnMultiSelectErrorMessageData, MnMultiSelectErrorMessagesData, MnMultiSelectOption, MnMultiSelectProps, MnMultiSelectUIConfig, MnMultiSelectVariants, MnShowInput, MnTextareaErrorMessageData, MnTextareaErrorMessagesData, MnTextareaProps, MnTextareaUIConfig, MnTextareaVariants, MnTranslatable, MnTranslationMap, MnTranslations, ModalCancelHandler, ModalCloseEvent, ModalConfig, ModalFooterAction, ModalI18nLabels, ModalInputMap, ModalPollingConfig, ModalRef, ModalResultHandler, ModalStepId, MultiSelectFieldConfig, MultiSelectTableFieldConfig, NumberFieldConfig, OffsetPaginationStrategy, PaginationStrategy, PasswordFieldConfig, Primitive, QueryParams, QueryValue, RatingFieldConfig, Result, ResultMeta, SelectFieldConfig, SelectOption, SingleSelectTableFieldConfig, SliderFieldConfig, SortState, StepBodyConfig, StepGuard, StepValidator, SuccessResult, TableAppearance, TableDataSource, TableRowAction, TextFieldConfig, TextareaFieldConfig, ValidationResult, WizardBeforeCompleteValidator, WizardModalConfig, WizardResult, WizardStepChangeEvent, WizardStepChangeHandler, WizardStepConfig };
|