@decaf-ts/for-angular 0.0.67 → 0.0.69
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/index.d.ts
CHANGED
|
@@ -8114,9 +8114,11 @@ declare class NgxRouterService {
|
|
|
8114
8114
|
}
|
|
8115
8115
|
|
|
8116
8116
|
declare class TableComponent extends ListComponent implements OnInit {
|
|
8117
|
-
|
|
8118
|
-
|
|
8117
|
+
filterModel: Model | string;
|
|
8118
|
+
filterOptions: SelectOption[];
|
|
8119
|
+
filterBy: keyof Model;
|
|
8119
8120
|
filterLabel: string;
|
|
8121
|
+
filterOptionsMapper: FunctionLike;
|
|
8120
8122
|
filterValue?: string;
|
|
8121
8123
|
cols: string[];
|
|
8122
8124
|
allowOperations: boolean;
|
|
@@ -8124,13 +8126,14 @@ declare class TableComponent extends ListComponent implements OnInit {
|
|
|
8124
8126
|
injector: EnvironmentInjector;
|
|
8125
8127
|
private get _cols();
|
|
8126
8128
|
ngOnInit(): Promise<void>;
|
|
8129
|
+
protected getFilterOptions(): Promise<void>;
|
|
8127
8130
|
protected itemMapper(item: KeyValue, mapper: KeyValue, props?: KeyValue): KeyValue;
|
|
8128
8131
|
mapResults(data: KeyValue[]): KeyValue[];
|
|
8129
8132
|
handleAction(event: Event, action: CrudOperations, uid: string): Promise<void>;
|
|
8130
8133
|
openFilterSelectOptions(event: Event): Promise<void>;
|
|
8131
8134
|
handleFilterSelectClear(event: CustomEvent): Promise<void>;
|
|
8132
8135
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
8133
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ngx-decaf-table", never, { "
|
|
8136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ngx-decaf-table", never, { "filterModel": { "alias": "filterModel"; "required": false; }; "filterOptions": { "alias": "filterOptions"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "filterLabel": { "alias": "filterLabel"; "required": false; }; "filterOptionsMapper": { "alias": "filterOptionsMapper"; "required": false; }; }, {}, never, never, true, never>;
|
|
8134
8137
|
}
|
|
8135
8138
|
|
|
8136
8139
|
declare class ForAngularComponentsModule {
|
|
@@ -9277,7 +9280,6 @@ declare abstract class NgxModelPageDirective extends NgxPageDirective {
|
|
|
9277
9280
|
* @memberOf NgxModelPageDirective
|
|
9278
9281
|
*/
|
|
9279
9282
|
errorMessage: string | undefined;
|
|
9280
|
-
get pageTitle(): string;
|
|
9281
9283
|
/**
|
|
9282
9284
|
* @description Lazy-initialized repository getter with model resolution.
|
|
9283
9285
|
* @summary Creates and returns a repository instance for the specified model name.
|
|
@@ -10055,5 +10057,5 @@ declare class I18nParser extends TranslateParser {
|
|
|
10055
10057
|
*/
|
|
10056
10058
|
declare function provideDecafI18nConfig(config?: RootTranslateServiceConfig, resources?: I18nResourceConfigType, versionedSuffix?: boolean): AngularProvider[];
|
|
10057
10059
|
|
|
10058
|
-
export { ActionRoles, AngularEngineKeys, BaseComponentProps, CPTKN, CardComponent, ComponentEventNames, ComponentRendererComponent, ComponentsTagNames, CrudFieldComponent, CrudFormComponent, CssClasses, DB_ADAPTER_FLAVOUR_TOKEN, DB_ADAPTER_PROVIDER_TOKEN, DecafFakerRepository, DefaultFormReactiveOptions, DefaultListEmptyOptions, DefaultModalOptions, Dynamic, DynamicModule, ElementPositions, ElementSizes, EmptyStateComponent, FieldsetComponent, FileUploadComponent, FilterComponent, ForAngularCommonModule, ForAngularComponentsModule, FormConstants, I18N_CONFIG_TOKEN, I18nLoader, I18nLoaderFactory, I18nParser, IconComponent, LOCALE_ROOT_TOKEN, LayoutComponent, LayoutGridGaps, ListComponent, ListComponentsTypes, ListItemComponent, ListItemPositions, LoggerLevels, ModalComponent, ModelRendererComponent, NgxComponentDirective, NgxEventHandler, NgxFormDirective, NgxFormFieldDirective, NgxFormService, NgxMediaService, NgxModelPageDirective, NgxPageDirective, NgxParentComponentDirective, NgxRenderingEngine, NgxSvgDirective, PaginationComponent, RouteDirections, SearchbarComponent, SelectFieldInterfaces, SteppedFormComponent, TableComponent, WindowColorSchemes, cleanSpaces, dataMapper, 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, isValidDate, itemMapper, parseToValidDate, presentNgxInlineModal, presentNgxLightBoxModal, provideDecafDarkMode, provideDecafDbAdapter, provideDecafDynamicComponents, provideDecafI18nConfig, provideDecafI18nLoader, provideDecafPageTransition, removeFocusTrap, setOnWindow, stringToBoolean, windowEventEmitter };
|
|
10060
|
+
export { ActionRoles, AngularEngineKeys, BaseComponentProps, CPTKN, CardComponent, ComponentEventNames, ComponentRendererComponent, ComponentsTagNames, CrudFieldComponent, CrudFormComponent, CssClasses, DB_ADAPTER_FLAVOUR_TOKEN, DB_ADAPTER_PROVIDER_TOKEN, DecafFakerRepository, DefaultFormReactiveOptions, DefaultListEmptyOptions, DefaultModalOptions, Dynamic, DynamicModule, ElementPositions, ElementSizes, EmptyStateComponent, FieldsetComponent, FileUploadComponent, FilterComponent, ForAngularCommonModule, ForAngularComponentsModule, FormConstants, I18N_CONFIG_TOKEN, I18nLoader, I18nLoaderFactory, I18nParser, IconComponent, LOCALE_ROOT_TOKEN, LayoutComponent, LayoutGridGaps, ListComponent, ListComponentsTypes, ListItemComponent, ListItemPositions, LoggerLevels, ModalComponent, ModelRendererComponent, NgxComponentDirective, NgxEventHandler, NgxFormDirective, NgxFormFieldDirective, NgxFormService, NgxMediaService, NgxModelPageDirective, NgxPageDirective, NgxParentComponentDirective, NgxRenderingEngine, NgxRouterService, NgxSvgDirective, PaginationComponent, RouteDirections, SearchbarComponent, SelectFieldInterfaces, SteppedFormComponent, TableComponent, WindowColorSchemes, cleanSpaces, dataMapper, 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, isValidDate, itemMapper, parseToValidDate, presentNgxInlineModal, presentNgxLightBoxModal, provideDecafDarkMode, provideDecafDbAdapter, provideDecafDynamicComponents, provideDecafI18nConfig, provideDecafI18nLoader, provideDecafPageTransition, removeFocusTrap, setOnWindow, stringToBoolean, windowEventEmitter };
|
|
10059
10061
|
export type { ActionRole, AngularDynamicOutput, AngularFieldDefinition, AngularProvider, CheckboxOption, ComponentMetadata, CrudFieldOption, DecafRepository, DecafRepositoryAdapter, ElementPosition, ElementSize, FieldUpdateMode, FlexPosition, FormParent, FormParentGroup, FormServiceControl, FormServiceControls, FunctionLike, HTML5InputType, HTMLFormTarget, I18nResourceConfig, I18nResourceConfigType, I18nToken, IBaseCustomEvent, IComponentConfig, IComponentHolder, IComponentProperties, ICrudFormEvent, ICrudFormOptions, IFieldSetItem, IFieldSetValidationEvent, IFileUploadError, IFilterQuery, IFilterQueryItem, IFormComponentProperties, IFormElement, IFormReactiveSubmitEvent, IListComponentRefreshEvent, IListEmptyOptions, IMenuItem, IModelComponentSubmitEvent, IPaginationCustomEvent, IRenderedModel, ISortObject, ITabItem, IWindowResizeEvent, InputOption, KeyValue, LayoutGridGap, ListItemCustomEvent, ListItemPosition, PossibleInputTypes, RadioOption, RawQuery, SelectOption, StringOrBoolean, WindowColorScheme };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/for-angular",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.69",
|
|
4
4
|
"author": "Tiago Venceslau and Contributors",
|
|
5
5
|
"license": "MPL-2.0 OR AGPL-3.0",
|
|
6
6
|
"repository": {
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"npm": ">=10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@angular/animations": "^20.
|
|
16
|
-
"@angular/common": "^20.
|
|
17
|
-
"@angular/compiler": "^20.
|
|
18
|
-
"@angular/core": "^20.
|
|
19
|
-
"@angular/forms": "^20.
|
|
20
|
-
"@angular/platform-browser": "^20.
|
|
21
|
-
"@angular/platform-browser-dynamic": "^20.
|
|
22
|
-
"@angular/router": "^20.
|
|
15
|
+
"@angular/animations": "^20.3.16",
|
|
16
|
+
"@angular/common": "^20.3.16",
|
|
17
|
+
"@angular/compiler": "^20.3.16",
|
|
18
|
+
"@angular/core": "^20.3.16",
|
|
19
|
+
"@angular/forms": "^20.3.16",
|
|
20
|
+
"@angular/platform-browser": "^20.3.16",
|
|
21
|
+
"@angular/platform-browser-dynamic": "^20.3.16",
|
|
22
|
+
"@angular/router": "^20.3.16",
|
|
23
23
|
"@decaf-ts/core": "latest",
|
|
24
24
|
"@decaf-ts/db-decorators": "latest",
|
|
25
25
|
"@decaf-ts/decoration": "latest",
|