@messaia/cdk 21.1.0-rc.21 → 21.1.0-rc.22
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
package/types/messaia-cdk.d.ts
CHANGED
|
@@ -6125,7 +6125,7 @@ declare abstract class GenericFormBaseComponent<TEntity extends IEntity, TServic
|
|
|
6125
6125
|
* Emitted when the form has been fully initialized
|
|
6126
6126
|
* and is ready to be accessed or modified.
|
|
6127
6127
|
*/
|
|
6128
|
-
formInitialized: EventEmitter<
|
|
6128
|
+
formInitialized: EventEmitter<FormGroup<any> | NgForm>;
|
|
6129
6129
|
/**
|
|
6130
6130
|
* The current date.
|
|
6131
6131
|
*/
|
|
@@ -10540,6 +10540,18 @@ declare class VdGenericFormCustomFieldDirective extends CdkPortal {
|
|
|
10540
10540
|
static ɵdir: i0.ɵɵDirectiveDeclaration<VdGenericFormCustomFieldDirective, "[vd-generic-form-custom-field]ng-template", never, { "row": { "alias": "row"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; }, {}, never, never, true, never>;
|
|
10541
10541
|
}
|
|
10542
10542
|
|
|
10543
|
+
/**
|
|
10544
|
+
* @interface VdGenericFormModifyEvent
|
|
10545
|
+
* @description The `VdGenericFormModifyEvent` interface defines the structure of the event emitted
|
|
10546
|
+
* by the `VdGenericFormComponent` when the form is initialized. It allows parent components to modify
|
|
10547
|
+
* the form group, field rows, or fields before dynamic subscriptions are attached.
|
|
10548
|
+
*/
|
|
10549
|
+
interface VdGenericFormInitEvent {
|
|
10550
|
+
formGroup?: FormGroup;
|
|
10551
|
+
fieldRows?: FormFieldDefinition[][];
|
|
10552
|
+
fields?: FormFieldDefinition[];
|
|
10553
|
+
context?: any;
|
|
10554
|
+
}
|
|
10543
10555
|
/**
|
|
10544
10556
|
* @class VdEditorDirective
|
|
10545
10557
|
* @description The `VdEditorDirective` is a custom directive that attaches a `CdkPortal`
|
|
@@ -10674,6 +10686,13 @@ declare class VdGenericFormComponent implements OnInit {
|
|
|
10674
10686
|
* @type {boolean}
|
|
10675
10687
|
*/
|
|
10676
10688
|
readonly?: boolean;
|
|
10689
|
+
/**
|
|
10690
|
+
* @property onInit
|
|
10691
|
+
* @description Emitted after fields are built and filtered, allowing parent components to mutate `formGroup`,
|
|
10692
|
+
* `fieldRows`, or `fields` before dynamic subscriptions are attached.
|
|
10693
|
+
* @type {EventEmitter<VdGenericFormInitEvent>}
|
|
10694
|
+
*/
|
|
10695
|
+
onInit: EventEmitter<VdGenericFormInitEvent>;
|
|
10677
10696
|
/**
|
|
10678
10697
|
* @property Key codes used for separating input values.
|
|
10679
10698
|
* @description The `separatorKeysCodes` is an array of key codes (e.g., for comma or enter) used for
|
|
@@ -10840,7 +10859,7 @@ declare class VdGenericFormComponent implements OnInit {
|
|
|
10840
10859
|
*/
|
|
10841
10860
|
log(message: any, ...optionalParams: any[]): void;
|
|
10842
10861
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdGenericFormComponent, never>;
|
|
10843
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdGenericFormComponent, "vd-generic-form", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "classType": { "alias": "classType"; "required": false; }; "formDefinition": { "alias": "formDefinition"; "required": false; }; "fieldGroups": { "alias": "fieldGroups"; "required": false; }; "groupName": { "alias": "groupName"; "required": false; }; "fieldSets": { "alias": "fieldSets"; "required": false; }; "context": { "alias": "context"; "required": false; }; "debugValue": { "alias": "debugValue"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "separatorKeysCodes": { "alias": "separatorKeysCodes"; "required": false; }; }, {}, ["editorTemplate", "codeTemplate", "fileTemplate", "customTemplate", "bottom", "customFields", "customFieldsTemplates"], never, true, never>;
|
|
10862
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdGenericFormComponent, "vd-generic-form", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "classType": { "alias": "classType"; "required": false; }; "formDefinition": { "alias": "formDefinition"; "required": false; }; "fieldGroups": { "alias": "fieldGroups"; "required": false; }; "groupName": { "alias": "groupName"; "required": false; }; "fieldSets": { "alias": "fieldSets"; "required": false; }; "context": { "alias": "context"; "required": false; }; "debugValue": { "alias": "debugValue"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "separatorKeysCodes": { "alias": "separatorKeysCodes"; "required": false; }; }, { "onInit": "init"; }, ["editorTemplate", "codeTemplate", "fileTemplate", "customTemplate", "bottom", "customFields", "customFieldsTemplates"], never, true, never>;
|
|
10844
10863
|
}
|
|
10845
10864
|
|
|
10846
10865
|
declare const formDefinitionMetadataKey = "custom:vdFormDefinition";
|
|
@@ -14130,4 +14149,4 @@ declare class TableStaticDataSource<TEntity> extends MatTableDataSource<TEntity>
|
|
|
14130
14149
|
}
|
|
14131
14150
|
|
|
14132
14151
|
export { AbstractMatFormField, AbstractSelectFormField, ActionItem, Api, ApiResponse, AppEvent, AppEventType, AppSetting, AppStorage, AsyncValidationDirective, AuditEntity, AuditUser, AuthHelper, AuthUser, AutofocusDirective, BaseComponent, BaseDirective, BaseEntity, BaseInterceptor, BaseService, BindPipe, CachingInterceptor, Column, ColumnObject, Common, CommonError, CommonHandlerContext, ConfirmExitGuard, ContextHelper, DIALOG_PROVIDER, DIALOG_PROVIDER_FACTORY, DataSourceFilterDirective, DataSourcePipe, DatePickerHeaderComponent, DisableControlDirective, Display, DisplayNameNumberProjection, DisplayNameProjection, DynamicBuilder, DynamicComponentCompiler, EXPORT_DIALOG_COMPONENT, EmptyStringResetDirective, EnumMetadata, EnumPipe, EnumService, EqualValidator, ErrorMessageBindingStrategy, EventQueueService, Facet, FacetValue, FieldFuncPipe, FileControlDirective, FileService, FileSizePipe, FilterClearComponent, FilterDateComponent, FilterGlue, FilterInputComponent, FilterOperator, FilterPipe, FilterSelectComponent, FirstLetterPipe, Form, FormArrayPipe, FormBuilderConfiguration, FormControlPipe, FormDefinition, FormField, FormFieldDefinition, FormFieldGroup, FormFieldGroupDefinition, FormFieldType, FormGroupPipe, FuncPipe, GenericEmbeddedListComponent, GenericFormBaseComponent, GenericFormComponent, GenericListComponent, GenericReactiveFormComponent, GenericService, GlobalRoles, Grid, GroupFilterPipe, HtmlControlTemplateDirective, IAbstractControl, Icon, ImageFileControlDirective, IpVersion, KeyValue, KeysPipe, LayoutToggle, LoadingScreenInterceptor, LoadingScreenService, MEDIA_PROVIDER, MEDIA_PROVIDER_FACTORY, MatFormFieldEditorDirective, MatFormFieldRadioDirective, MatFormFieldReadonlyDirective, Menu, MenuClient, MenuDepartment, MenuFormIncludesResolve, MenuItem, MenuItemClient, MenuItemDepartment, MenuItemFormIncludesResolve, MenuItemService, MenuItemTarget, MenuListProjectionResolve, MenuResolve, MenuScope, MenuSettings, MenuSettingsResolve, MessageType, ModifiableEntity, MonthNamePipe, MsEnumDisplayComponent, NameNumberProjection, NameProjection, NativeElementInjectorDirective, NumericValueType, OnlyNumberDirective, OrderPipe, Pagination, PaginatorIntl, ParseDecimalDirective, Permission, PlaceholderPipe, PrefixDirective, PrintService, PropertyJoinPipe, ReactiveFormConfig, ReactiveTypedFormsModule, RemoveWhitespaceDirective, ResetFormType, RxFormArray, RxFormBuilder, RxFormControl, RxFormControlDirective, RxFormGroup, RxReactiveFormsModule, RxwebFormDirective, RxwebValidators, SafeHtmlPipe, Salutation, SaveAction, SplitPipe, SubMenuResolve, SuffixButton, Table, TableColumn, TableColumnConfig, TableColumnType, TableConfig, TableDataSource, TableDefinition, TableQueryConfig, TableStaticDataSource, TaskDialogData, Templates, TimePipe, TitleCase, TitleProjection, TruncatePipe, TypedForm, TypedFormBuilder, UniqueValidatorDirective, UrlValidationType, Utils, ValidationAlphabetLocale, ValueAccessorBase, ValuesPipe, VdAlertDialogComponent, VdChipsComponent, VdCodeDirective, VdConfirmDialogComponent, VdCustomDirective, VdDelayedHoverDirective, VdDialogActionsDirective, VdDialogComponent, VdDialogContentDirective, VdDialogHeaderActionsComponent, VdDialogHeaderComponent, VdDialogMaximizeDirective, VdDialogService, VdDialogTitleDirective, VdDynamicMenuComponent, VdDynamicTableComponent, VdDynamicTableConfigDialogComponent, VdEditorDirective, VdFileDirective, VdFileInputComponent, VdFileModule, VdFilterOptionDirective, VdGenericFormComponent, VdGenericFormCustomFieldDirective, VdLayoutCardOverComponent, VdLayoutCloseDirective, VdLayoutCompactComponent, VdLayoutComponent, VdLayoutFooterComponent, VdLayoutManageListCloseDirective, VdLayoutManageListComponent, VdLayoutManageListOpenDirective, VdLayoutManageListToggleDirective, VdLayoutNavComponent, VdLayoutNavListCloseDirective, VdLayoutNavListComponent, VdLayoutNavListOpenDirective, VdLayoutNavListToggleDirective, VdLayoutOpenDirective, VdLayoutToggleDirective, VdListOptionDirective, VdListToolbarComponent, VdMediaService, VdMediaToggleDirective, VdMenuComponent, VdNavigationDrawerComponent, VdNavigationDrawerMenuDirective, VdNavigationDrawerToolbarDirective, VdPromptDialogComponent, VdSelectComponent, VdSelectOptionDirective, VdSelectTriggerDirective, VdTableFieldDirective, VdTaskDialogComponent, allOf, allOfAsync, alpha, alphaAsync, alphaNumeric, alphaNumericAsync, and, ascii, async, blacklist, choice, choiceAsync, compare, compose, contains, containsAsync, creditCard, creditCardAsync, cusip, custom, customAsync, dataUri, date, dateAsync, different, digit, disable, elementClass, email, endpointMetadataKey, endsWith, endsWithAsync, error, escape, even, extension, extensionAsync, factor, factorAsync, file, fileAsync, fileSize, fileSizeAsync, formDefinitionMetadataKey, formFieldGroupsMetadataKey, formFieldsMetadataKey, getDisplay, getEndpoint, getFormDefinition, getFormGroups, getTableDefinition, greaterThan, greaterThanAsync, greaterThanEqualTo, greaterThanEqualToAsync, grid, headerMetadataKey, hexColor, iban, ibanAsync, image, imageAsync, json, latLong, latitude, leapYear, lessThan, lessThanAsync, lessThanEqualTo, lessThanEqualToAsync, longitude, lowerCase, ltrim, mac, mask, maxDate, maxDateAsync, maxLength, maxLengthAsync, maxNumber, maxNumberAsync, maxTime, maxTimeAsync, minDate, minDateAsync, minLength, minLengthAsync, minNumber, minNumberAsync, minTime, minTimeAsync, mixinDisableRipple, mixinDisabled, model, noneOf, noneOfAsync, not, notEmpty, numeric, numericAsync, odd, oneOf, oneOfAsync, or, password, passwordAsync, pattern, patternAsync, port, prefix, primeNumber, prop, propArray, propObject, range, rangeAsync, required, requiredTrue, rtrim, rule, sanitize, startsWith, startsWithAsync, stripLow, suffix, tableColumnsMetadataKey, tableDefinitionMetadataKey, time, timeAsync, toBoolean, toDate, toDouble, toFloat, toInt, toString, trim, unique, updateOn, upperCase, url, urlAsync, vdCollapseAnimation, whitelist };
|
|
14133
|
-
export type { AppFormGroup, CanComponentDeactivate, Constructor$1 as Constructor, Delegate, DialogButtonConfig, EditorChange, EnumItem, Filter, FilterField, FormGroupExtension, IAlertConfig, IBaseComponent, ICanDisable, ICanDisableRipple, ICollapseAnimation, ICommonHandlerContext, IConfirmConfig, IDialogConfig, IEntity, IFormGroup, IGenericFormBaseComponent, IGenericListComponent, IGenericReactiveFormBaseComponent, ILayoutTogglable, IPromptConfig, Options, ShowConfirmationDialog, ShowTaskDialog };
|
|
14152
|
+
export type { AppFormGroup, CanComponentDeactivate, Constructor$1 as Constructor, Delegate, DialogButtonConfig, EditorChange, EnumItem, Filter, FilterField, FormGroupExtension, IAlertConfig, IBaseComponent, ICanDisable, ICanDisableRipple, ICollapseAnimation, ICommonHandlerContext, IConfirmConfig, IDialogConfig, IEntity, IFormGroup, IGenericFormBaseComponent, IGenericListComponent, IGenericReactiveFormBaseComponent, ILayoutTogglable, IPromptConfig, Options, ShowConfirmationDialog, ShowTaskDialog, VdGenericFormInitEvent };
|