@decaf-ts/for-angular 0.1.33 → 0.1.35
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/fesm2022/decaf-ts-for-angular.mjs +16 -19
- package/fesm2022/decaf-ts-for-angular.mjs.map +1 -1
- package/index.d.ts +20 -22
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -397,7 +397,7 @@ interface IMenuItem {
|
|
|
397
397
|
* @description CRUD form options configuration
|
|
398
398
|
* @summary Defines the configuration options for CRUD form buttons including submit and clear buttons.
|
|
399
399
|
* Each button can be customized with text, icon, and icon position.
|
|
400
|
-
* @interface
|
|
400
|
+
* @interface ICrudFormButtons
|
|
401
401
|
* @property {Object} buttons - Configuration for form action buttons
|
|
402
402
|
* @property {Object} buttons.submit - Submit button configuration
|
|
403
403
|
* @property {string} [buttons.submit.icon] - Optional icon for the submit button
|
|
@@ -409,18 +409,16 @@ interface IMenuItem {
|
|
|
409
409
|
* @property {string} [buttons.clear.text] - Text label for the clear button
|
|
410
410
|
* @memberOf module:engine
|
|
411
411
|
*/
|
|
412
|
-
interface
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
text?: string;
|
|
423
|
-
};
|
|
412
|
+
interface ICrudFormButtons {
|
|
413
|
+
submit: {
|
|
414
|
+
icon?: string;
|
|
415
|
+
iconSlot?: 'start' | 'end';
|
|
416
|
+
text?: string;
|
|
417
|
+
};
|
|
418
|
+
clear?: {
|
|
419
|
+
icon?: string;
|
|
420
|
+
iconSlot?: 'start' | 'end';
|
|
421
|
+
text?: string;
|
|
424
422
|
};
|
|
425
423
|
}
|
|
426
424
|
/**
|
|
@@ -762,16 +760,16 @@ declare const CssClasses: {
|
|
|
762
760
|
* @summary Provides default configuration for form buttons in CRUD operations.
|
|
763
761
|
* Includes default text labels for submit and clear buttons, which can be
|
|
764
762
|
* overridden by individual form implementations.
|
|
765
|
-
* @type {
|
|
763
|
+
* @type {ICrudFormButtons}
|
|
766
764
|
* @property {Object} buttons - Configuration for form action buttons
|
|
767
765
|
* @property {Object} buttons.submit - Submit button configuration
|
|
768
766
|
* @property {string} buttons.submit.text - Default text for submit button
|
|
769
767
|
* @property {Object} buttons.clear - Clear button configuration
|
|
770
768
|
* @property {string} buttons.clear.text - Default text for clear button
|
|
771
|
-
* @const
|
|
769
|
+
* @const DefaultFormButtonsOptions
|
|
772
770
|
* @memberOf module:lib/engine/constants
|
|
773
771
|
*/
|
|
774
|
-
declare const
|
|
772
|
+
declare const DefaultFormButtonsOptions: ICrudFormButtons;
|
|
775
773
|
/**
|
|
776
774
|
* @description Mapping of select field interface types used in Ionic components.
|
|
777
775
|
* @summary Provides a set of supported select interface types for Ionic select fields,
|
|
@@ -3390,7 +3388,7 @@ declare class CrudFieldComponent extends NgxFormFieldDirective implements OnInit
|
|
|
3390
3388
|
* When true, the browser will check the spelling of the input text.
|
|
3391
3389
|
*
|
|
3392
3390
|
* @type {boolean}
|
|
3393
|
-
* @default
|
|
3391
|
+
* @default true
|
|
3394
3392
|
* @memberOf CrudFieldComponent
|
|
3395
3393
|
*/
|
|
3396
3394
|
startEmpty: boolean;
|
|
@@ -3766,9 +3764,9 @@ declare abstract class NgxFormDirective extends NgxParentComponentDirective impl
|
|
|
3766
3764
|
* validation, and behavior. These options are merged with default settings
|
|
3767
3765
|
* during component initialization to customize the form's functionality.
|
|
3768
3766
|
*
|
|
3769
|
-
* @type {
|
|
3767
|
+
* @type {ICrudFormButtons}
|
|
3770
3768
|
*/
|
|
3771
|
-
|
|
3769
|
+
buttons: ICrudFormButtons;
|
|
3772
3770
|
/**
|
|
3773
3771
|
* @description Optional action identifier for form submission context.
|
|
3774
3772
|
* @summary Specifies a custom action name that will be included in the submit event.
|
|
@@ -3891,7 +3889,7 @@ declare abstract class NgxFormDirective extends NgxParentComponentDirective impl
|
|
|
3891
3889
|
*/
|
|
3892
3890
|
protected getActivePage(page: number): UIModelMetadata | UIModelMetadata[] | FieldDefinition | undefined;
|
|
3893
3891
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxFormDirective, never>;
|
|
3894
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxFormDirective, never, never, { "parentFormId": { "alias": "parentFormId"; "required": false; }; "deepMerge": { "alias": "deepMerge"; "required": false; }; "path": { "alias": "path"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "updateOn": { "alias": "updateOn"; "required": false; }; "target": { "alias": "target"; "required": false; }; "method": { "alias": "method"; "required": false; }; "
|
|
3892
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxFormDirective, never, never, { "parentFormId": { "alias": "parentFormId"; "required": false; }; "deepMerge": { "alias": "deepMerge"; "required": false; }; "path": { "alias": "path"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "updateOn": { "alias": "updateOn"; "required": false; }; "target": { "alias": "target"; "required": false; }; "method": { "alias": "method"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "action": { "alias": "action"; "required": false; }; "operation": { "alias": "operation"; "required": true; }; "handlers": { "alias": "handlers"; "required": false; }; "rendererId": { "alias": "rendererId"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "match": { "alias": "match"; "required": false; }; }, { "submitEvent": "submitEvent"; "formGroupLoadedEvent": "formGroupLoadedEvent"; }, never, never, true, never>;
|
|
3895
3893
|
}
|
|
3896
3894
|
|
|
3897
3895
|
/**
|
|
@@ -10529,5 +10527,5 @@ declare class DecafFakerRepository<T extends Model> extends LoggedClass {
|
|
|
10529
10527
|
}
|
|
10530
10528
|
declare function getFakerData<T extends Model>(limit: number | undefined, data: Record<string, FunctionLike>, model?: string): T[];
|
|
10531
10529
|
|
|
10532
|
-
export { ActionRoles, AngularEngineKeys, BaseComponentProps, CPTKN, CardComponent, ComponentRendererComponent, ComponentsTagNames, CrudFieldComponent, CrudFormComponent, CssClasses, DB_ADAPTER_FLAVOUR_TOKEN, DB_ADAPTER_PROVIDER_TOKEN, DecafFakerRepository, DecafTooltipDirective, DecafTranslatePipe, DecafTruncatePipe,
|
|
10533
|
-
export type { ActionRole, AngularDynamicOutput, AngularFieldDefinition, AngularProvider, CheckboxOption, ComparisonValidationKey, ComponentMetadata, CrudEvent, CrudFieldOption, DecafComponentConstructor, DecafRepository, DecafRepositoryAdapter, ElementPosition, ElementSize, FieldUpdateMode, FilterCondition, FlexPosition, FormParent, FormParentGroup, FormServiceControl, FormServiceControls, FunctionLike, HTML5InputType, HTMLFormTarget, I18nResourceConfig, I18nResourceConfigType, I18nToken, IBaseCustomEvent, IComponentConfig, IComponentHolder, IComponentProperties,
|
|
10530
|
+
export { ActionRoles, AngularEngineKeys, BaseComponentProps, CPTKN, CardComponent, ComponentRendererComponent, ComponentsTagNames, CrudFieldComponent, CrudFormComponent, CssClasses, DB_ADAPTER_FLAVOUR_TOKEN, DB_ADAPTER_PROVIDER_TOKEN, DecafFakerRepository, DecafTooltipDirective, DecafTranslatePipe, DecafTruncatePipe, DefaultFormButtonsOptions, DefaultListEmptyOptions, DefaultModalOptions, Dynamic, DynamicModule, EmptyStateComponent, FieldsetComponent, FileUploadComponent, FilterComponent, ForAngularCommonModule, ForAngularComponentsModule, I18N_CONFIG_TOKEN, I18nLoader, I18nLoaderFactory, I18nParser, IconComponent, LOCALE_ROOT_TOKEN, LayoutComponent, ListComponent, ListComponentsTypes, ListItemComponent, ListItemPositions, ModalComponent, ModalConfirmComponent, ModelRendererComponent, NgxComponentDirective, NgxEventHandler, NgxFormDirective, NgxFormFieldDirective, NgxFormService, NgxMediaService, NgxModelPageDirective, NgxPageDirective, NgxParentComponentDirective, NgxRenderingEngine, NgxRouterService, NgxSvgDirective, PaginationComponent, RouteDirections, SearchbarComponent, SelectFieldInterfaces, SteppedFormComponent, TableComponent, WindowColorSchemes, cleanSpaces, dataMapper, dateFromString, decafPageTransition, filterString, formatDate, generateRandomValue, getDbAdapterFlavour, getFakerData, getInjectablesRegistry, getLocaleContext, getLocaleContextByKey, getLocaleFromClassName, getLocaleLanguage, getLogger, getMenuIcon, getModelAndRepository, getNgxInlineModal, getNgxModalComponent, getNgxModalCrudComponent, getNgxSelectOptionsModal, getOnWindow, getOnWindowDocument, getWindow, getWindowDocument, getWindowWidth, isDarkMode, isDevelopmentMode, isNotUndefined, isValidBase64, isValidDate, itemMapper, patternValidators, presentModalConfirm, presentNgxInlineModal, presentNgxLightBoxModal, provideDecafDarkMode, provideDecafDbAdapter, provideDecafDynamicComponents, provideDecafI18nConfig, provideDecafI18nLoader, provideDecafPageTransition, removeFocusTrap, setOnWindow, stringToBoolean, windowEventEmitter };
|
|
10531
|
+
export type { ActionRole, AngularDynamicOutput, AngularFieldDefinition, AngularProvider, CheckboxOption, ComparisonValidationKey, ComponentMetadata, CrudEvent, CrudFieldOption, DecafComponentConstructor, DecafRepository, DecafRepositoryAdapter, ElementPosition, ElementSize, FieldUpdateMode, FilterCondition, FlexPosition, FormParent, FormParentGroup, FormServiceControl, FormServiceControls, FunctionLike, HTML5InputType, HTMLFormTarget, I18nResourceConfig, I18nResourceConfigType, I18nToken, IBaseCustomEvent, IComponentConfig, IComponentHolder, IComponentProperties, ICrudFormButtons, ICrudFormEvent, IFieldSetItem, IFieldSetValidationEvent, IFileUploadError, IFilterQuery, IFilterQueryItem, IFormComponentProperties, IFormElement, ILayoutModelContext, IListComponentRefreshEvent, IListEmptyOptions, IListItemCustomEvent, IMenuItem, IModelComponentSubmitEvent, IPaginationCustomEvent, IRenderedModel, IRepositoryModelProps, ISortObject, ITabItem, ITooltipConfig, IWindowResizeEvent, InputOption, KeyValue, LayoutGridGap, ListItemPosition, PossibleInputTypes, PropsMapperFn, RadioOption, RawQuery, SelectOption, StringOrBoolean, WindowColorScheme };
|