@decaf-ts/for-angular 0.0.66 → 0.0.68
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
|
@@ -20,7 +20,6 @@ import { TranslateService, TranslateLoader, TranslationObject, TranslateParser,
|
|
|
20
20
|
import { Observable, Subject, Subscription } from 'rxjs';
|
|
21
21
|
import { HttpClient } from '@angular/common/http';
|
|
22
22
|
import { SafeHtml, DomSanitizer, Title } from '@angular/platform-browser';
|
|
23
|
-
import { SelectOption as SelectOption$1, KeyValue as KeyValue$1 } from 'src/lib/engine';
|
|
24
23
|
import { NavigationOptions } from '@ionic/angular/common/providers/nav-controller';
|
|
25
24
|
import { InjectablesRegistry } from '@decaf-ts/injectable-decorators';
|
|
26
25
|
import { LoggedClass, Logger } from '@decaf-ts/logging';
|
|
@@ -8115,9 +8114,11 @@ declare class NgxRouterService {
|
|
|
8115
8114
|
}
|
|
8116
8115
|
|
|
8117
8116
|
declare class TableComponent extends ListComponent implements OnInit {
|
|
8118
|
-
|
|
8119
|
-
|
|
8117
|
+
filterModel: Model | string;
|
|
8118
|
+
filterOptions: SelectOption[];
|
|
8119
|
+
filterBy: keyof Model;
|
|
8120
8120
|
filterLabel: string;
|
|
8121
|
+
filterOptionsMapper: FunctionLike;
|
|
8121
8122
|
filterValue?: string;
|
|
8122
8123
|
cols: string[];
|
|
8123
8124
|
allowOperations: boolean;
|
|
@@ -8125,13 +8126,14 @@ declare class TableComponent extends ListComponent implements OnInit {
|
|
|
8125
8126
|
injector: EnvironmentInjector;
|
|
8126
8127
|
private get _cols();
|
|
8127
8128
|
ngOnInit(): Promise<void>;
|
|
8128
|
-
protected
|
|
8129
|
-
|
|
8129
|
+
protected getFilterOptions(): Promise<void>;
|
|
8130
|
+
protected itemMapper(item: KeyValue, mapper: KeyValue, props?: KeyValue): KeyValue;
|
|
8131
|
+
mapResults(data: KeyValue[]): KeyValue[];
|
|
8130
8132
|
handleAction(event: Event, action: CrudOperations, uid: string): Promise<void>;
|
|
8131
8133
|
openFilterSelectOptions(event: Event): Promise<void>;
|
|
8132
8134
|
handleFilterSelectClear(event: CustomEvent): Promise<void>;
|
|
8133
8135
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
8134
|
-
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>;
|
|
8135
8137
|
}
|
|
8136
8138
|
|
|
8137
8139
|
declare class ForAngularComponentsModule {
|
|
@@ -9278,7 +9280,6 @@ declare abstract class NgxModelPageDirective extends NgxPageDirective {
|
|
|
9278
9280
|
* @memberOf NgxModelPageDirective
|
|
9279
9281
|
*/
|
|
9280
9282
|
errorMessage: string | undefined;
|
|
9281
|
-
get pageTitle(): string;
|
|
9282
9283
|
/**
|
|
9283
9284
|
* @description Lazy-initialized repository getter with model resolution.
|
|
9284
9285
|
* @summary Creates and returns a repository instance for the specified model name.
|
|
@@ -10056,5 +10057,5 @@ declare class I18nParser extends TranslateParser {
|
|
|
10056
10057
|
*/
|
|
10057
10058
|
declare function provideDecafI18nConfig(config?: RootTranslateServiceConfig, resources?: I18nResourceConfigType, versionedSuffix?: boolean): AngularProvider[];
|
|
10058
10059
|
|
|
10059
|
-
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 };
|
|
10060
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 };
|