@decaf-ts/for-angular 0.0.51 → 0.0.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/assets/i18n/en.json +203 -0
- package/assets/i18n/ew/en.json +167 -0
- package/assets/i18n/pt.json +186 -0
- package/assets/images/icons/document.svg +7 -0
- package/assets/images/icons/edit.svg +1 -0
- package/assets/images/icons/menu-collapse.svg +5 -0
- package/assets/images/icons/menu.svg +3 -0
- package/assets/images/icons/trash.svg +1 -0
- package/fesm2022/decaf-ts-for-angular.mjs +41 -13
- package/fesm2022/decaf-ts-for-angular.mjs.map +1 -1
- package/index.d.ts +11 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2896,6 +2896,7 @@ declare class CrudFieldComponent extends NgxFormFieldDirective implements OnInit
|
|
|
2896
2896
|
* @memberOf CrudFieldComponent
|
|
2897
2897
|
*/
|
|
2898
2898
|
translatable: StringOrBoolean;
|
|
2899
|
+
constructor();
|
|
2899
2900
|
/**
|
|
2900
2901
|
* @description Component initialization lifecycle method.
|
|
2901
2902
|
* @summary Initializes the field component based on the operation type and field configuration.
|
|
@@ -5782,6 +5783,7 @@ declare class ListItemComponent extends NgxComponentDirective implements OnInit,
|
|
|
5782
5783
|
* @memberOf ListItemComponent
|
|
5783
5784
|
*/
|
|
5784
5785
|
actionMenuComponent: HTMLIonPopoverElement;
|
|
5786
|
+
actionsType: 'popover' | 'inline';
|
|
5785
5787
|
/**
|
|
5786
5788
|
* @description Controls the display of lines around the list item.
|
|
5787
5789
|
* @summary Determines how lines are displayed around the list item borders.
|
|
@@ -6105,7 +6107,7 @@ declare class ListItemComponent extends NgxComponentDirective implements OnInit,
|
|
|
6105
6107
|
*/
|
|
6106
6108
|
presentActionsMenu(event: Event): void;
|
|
6107
6109
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent, never>;
|
|
6108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "ngx-decaf-list-item", never, { "lines": { "alias": "lines"; "required": false; }; "item": { "alias": "item"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSlot": { "alias": "iconSlot"; "required": false; }; "button": { "alias": "button"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "info": { "alias": "info"; "required": false; }; "subinfo": { "alias": "subinfo"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, ["[slot='end']"], true, never>;
|
|
6110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "ngx-decaf-list-item", never, { "actionsType": { "alias": "actionsType"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "item": { "alias": "item"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSlot": { "alias": "iconSlot"; "required": false; }; "button": { "alias": "button"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "info": { "alias": "info"; "required": false; }; "subinfo": { "alias": "subinfo"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, ["[slot='end']"], true, never>;
|
|
6109
6111
|
}
|
|
6110
6112
|
|
|
6111
6113
|
/**
|
|
@@ -8818,6 +8820,13 @@ declare abstract class NgxModelPageDirective extends NgxPageDirective {
|
|
|
8818
8820
|
* @param {string} [uid] - The unique identifier of the model to load; defaults to modelId
|
|
8819
8821
|
*/
|
|
8820
8822
|
refresh(uid?: EventIds): Promise<void>;
|
|
8823
|
+
/**
|
|
8824
|
+
* @description Enables CRUD operations except those specified.
|
|
8825
|
+
* @summary Sets the allowed CRUD operations for the component, excluding any operations provided in the 'except' array.
|
|
8826
|
+
*
|
|
8827
|
+
* @param {OperationKeys[]} except - Array of operations to exclude from the allowed operations.
|
|
8828
|
+
*/
|
|
8829
|
+
protected enableCrudOperations(except?: OperationKeys[]): void;
|
|
8821
8830
|
/**
|
|
8822
8831
|
* @description Generic event handler for component events.
|
|
8823
8832
|
* @summary Processes incoming events from child components and routes them to appropriate
|
|
@@ -9413,7 +9422,7 @@ declare const I18N_CONFIG_TOKEN: InjectionToken<I18nToken>;
|
|
|
9413
9422
|
* { provide: CPTKN, useValue: provideDynamicComponents(MyComponent, AnotherComponent) }
|
|
9414
9423
|
* ]
|
|
9415
9424
|
*/
|
|
9416
|
-
declare function provideDynamicComponents(...components:
|
|
9425
|
+
declare function provideDynamicComponents(...components: unknown[]): Constructor<unknown>[];
|
|
9417
9426
|
/**
|
|
9418
9427
|
* @description Retrieves the repository instance for a given model.
|
|
9419
9428
|
* @summary Creates or retrieves a DecafRepository instance for the specified model. This function
|