@dflat-core/web 1.7.2100 → 1.7.2101
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/dflat-core-web-core-ux.mjs +13 -2
- package/fesm2022/dflat-core-web-core-ux.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-data.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-model.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-ux.mjs +2 -2
- package/fesm2022/dflat-core-web-system-ux.mjs.map +1 -1
- package/package.json +1 -1
- package/types/dflat-core-web-core-ux.d.ts +8 -0
- package/types/dflat-core-web-system-data.d.ts +2 -2
- package/types/dflat-core-web-system-model.d.ts +4 -2
- package/types/dflat-core-web-system-ux.d.ts +3 -3
package/package.json
CHANGED
|
@@ -2502,6 +2502,14 @@ export interface ISectionConfig<T extends EntityViewModel, F extends FilterViewM
|
|
|
2502
2502
|
afterInitOverride?: (component: ISectionComponent<T>) => void;
|
|
2503
2503
|
}
|
|
2504
2504
|
export declare function filterFromId<TData extends EntityViewModel, F extends FilterViewModel>(key: keyof F): (selected: TData[]) => F;
|
|
2505
|
+
/**
|
|
2506
|
+
* Onglet d'une entité liée : l'action « add » du composant de l'onglet initialise la nouvelle ligne avec
|
|
2507
|
+
* l'Id de l'enregistrement parent, lu dans le critère `filterProperty` du filtre de l'onglet (rien si
|
|
2508
|
+
* aucun parent n'est sélectionné). Un composant qui remplace l'action « add » garde sa propre action.
|
|
2509
|
+
* @param component Composant de l'onglet.
|
|
2510
|
+
* @param filterProperty Critère du filtre de l'onglet, et propriété de la ligne, qui portent l'Id du parent.
|
|
2511
|
+
*/
|
|
2512
|
+
export declare function relatedAddParameter(component: ISectionComponent<any>, filterProperty: string): void;
|
|
2505
2513
|
export interface ISpecificSectionContext<T extends EntityViewModel, F extends FilterViewModel, P extends EntityViewModel> {
|
|
2506
2514
|
Name?: string;
|
|
2507
2515
|
IconUrl?: string;
|
|
@@ -5,7 +5,7 @@ import { ColumnDescriptor, EntityViewModelWithFields, EntityWithSpecifics, Expor
|
|
|
5
5
|
import * as i3 from "@dflat-core/web/meta-model";
|
|
6
6
|
import { MetaEntity, ParameterValueView, ParameterValueViewFilterViewModel, UploadFileResult } from "@dflat-core/web/meta-model";
|
|
7
7
|
import * as i4 from "@dflat-core/web/system-model";
|
|
8
|
-
import { AddressView, AddressViewFilterViewModel, CheckSireneInfoViewModel, CityFilterViewModel, CityView, CompanyFilterViewModel, CompanyView, Country, CountryFilterViewModel, CreatePaymentIntentViewModel, Currency, CurrencyFilterViewModel, DashboardCacheInfo, DashboardFilterFilterViewModel, DashboardFilterValuesRequest, DashboardFilterView, DashboardFilterViewModel, DashboardLoadControl, DashboardLoadProgress, DashboardView, DashboardWidgetData, DashboardWidgetDataRequest, DashboardWidgetDimensionFilterViewModel, DashboardWidgetDimensionView, DashboardWidgetFilterSelection, DashboardWidgetFilterValues, DashboardWidgetFilterValuesRequest, DashboardWidgetFilterViewModel, DashboardWidgetMeasureFilterViewModel, DashboardWidgetMeasureView, DashboardWidgetPosition, DashboardWidgetSourceField, DashboardWidgetView,
|
|
8
|
+
import { AddressView, AddressViewFilterViewModel, CheckSireneInfoViewModel, CityFilterViewModel, CityView, CompanyFilterViewModel, CompanyView, Country, CountryFilterViewModel, CreatePaymentIntentViewModel, Currency, CurrencyFilterViewModel, DashboardCacheInfo, DashboardFilterFilterViewModel, DashboardFilterValuesRequest, DashboardFilterView, DashboardFilterViewModel, DashboardLoadControl, DashboardLoadProgress, DashboardView, DashboardWidgetData, DashboardWidgetDataRequest, DashboardWidgetDimensionFilterViewModel, DashboardWidgetDimensionView, DashboardWidgetFilterSelection, DashboardWidgetFilterValues, DashboardWidgetFilterValuesRequest, DashboardWidgetFilterViewModel, DashboardWidgetMeasureFilterViewModel, DashboardWidgetMeasureView, DashboardWidgetPosition, DashboardWidgetSourceField, DashboardWidgetView, DataSourceCompanyFilterViewModel, DataSourceCompanyView, DataSourceFilterViewModel, DataSourceView, DayInfo, DayInfoFilterViewModel, ExchangeRateFilterViewModel, ExchangeRateView, ExecOperation, News, NewsFilterViewModel, NewsView, PaymentIntentViewModel, Rating, RatingFilterViewModel, RatingSummary, RatingSummaryFilterViewModel, RatingView, SirenCheckResults, SubcompanyFilterViewModel, TvaRateFilterViewModel, TvaRateView, UserAccountCompanyFilterViewModel, UserAccountCompanyView, UserAccountNews, UserAccountNewsFilterViewModel } from "@dflat-core/web/system-model";
|
|
9
9
|
import { DataService, EntityDataService } from "@dflat-core/web/core-data";
|
|
10
10
|
import { Observable } from "rxjs";
|
|
11
11
|
import { HttpEvent } from "@angular/common/http";
|
|
@@ -180,7 +180,7 @@ export declare class DayInfoDataService extends EntityDataService<DayInfo, DayIn
|
|
|
180
180
|
static ɵfac: i0.ɵɵFactoryDeclaration<DayInfoDataService, never>;
|
|
181
181
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
182
182
|
}
|
|
183
|
-
export declare class DataSourceCompanyDataService extends EntityDataService<
|
|
183
|
+
export declare class DataSourceCompanyDataService extends EntityDataService<DataSourceCompanyView, DataSourceCompanyFilterViewModel> {
|
|
184
184
|
protected dataService: DataService;
|
|
185
185
|
getEntityKey(): string;
|
|
186
186
|
constructor(dataService: DataService);
|
|
@@ -195,11 +195,13 @@ export interface DataSourceView extends EntityViewModel {
|
|
|
195
195
|
UrCode?: string;
|
|
196
196
|
UrColorMasterTypeCode?: string;
|
|
197
197
|
}
|
|
198
|
-
export interface
|
|
198
|
+
export interface DataSourceCompanyView extends EntityViewModel {
|
|
199
199
|
CompanyId?: number;
|
|
200
|
+
CompanyName?: string;
|
|
200
201
|
CreatedBy?: string;
|
|
201
202
|
CreationDate?: Date;
|
|
202
203
|
DataSourceId?: number;
|
|
204
|
+
DataSourceName?: string;
|
|
203
205
|
Id?: number;
|
|
204
206
|
ModificationDate?: Date;
|
|
205
207
|
ModifiedBy?: string;
|
|
@@ -556,7 +558,7 @@ export interface DataSourceFilterViewModel extends EntityFilterViewModel<DataSou
|
|
|
556
558
|
CompanyId?: number;
|
|
557
559
|
DataSourceName?: string;
|
|
558
560
|
}
|
|
559
|
-
export interface DataSourceCompanyFilterViewModel extends EntityFilterViewModel<
|
|
561
|
+
export interface DataSourceCompanyFilterViewModel extends EntityFilterViewModel<DataSourceCompanyView> {
|
|
560
562
|
CompanyId?: number;
|
|
561
563
|
DataSourceId?: number;
|
|
562
564
|
}
|
|
@@ -7,7 +7,7 @@ import { ActivatedRoute, Router, Routes } from "@angular/router";
|
|
|
7
7
|
import * as i59 from "@dflat-core/web/core-ux";
|
|
8
8
|
import { ActionService, AlertService, ApplicationService, BaseComponent, BaseEditorComponent, DefaultLayoutComponent, DynamicFormComponent, EntityFacade, EntitySection, EntitySectionProvider, EntitySelector, FacadeModalService, IIsCancel, ISectionConfig, ImageService, ModalService, NewEditorComponent, SelectorMapperServiceBase } from "@dflat-core/web/core-ux";
|
|
9
9
|
import * as i61 from "@dflat-core/web/system-model";
|
|
10
|
-
import { AddressView, AddressViewFilterViewModel, AggregationTypes, ChartTypes, CityFilterViewModel, CityView, CompanyFilterViewModel, CompanyView, Country, CountryFilterViewModel, Currency, CurrencyFilterViewModel, DashboardCacheInfo, DashboardFilterFilterViewModel, DashboardFilterView, DashboardFilterViewModel, DashboardLoadProgress, DashboardView, DashboardWidgetData, DashboardWidgetDataColumn, DashboardWidgetDimensionFilterViewModel, DashboardWidgetDimensionView, DashboardWidgetFilterValue, DashboardWidgetFilterViewModel, DashboardWidgetMeasureFilterViewModel, DashboardWidgetMeasureView, DashboardWidgetSourceField, DashboardWidgetView,
|
|
10
|
+
import { AddressView, AddressViewFilterViewModel, AggregationTypes, ChartTypes, CityFilterViewModel, CityView, CompanyFilterViewModel, CompanyView, Country, CountryFilterViewModel, Currency, CurrencyFilterViewModel, DashboardCacheInfo, DashboardFilterFilterViewModel, DashboardFilterView, DashboardFilterViewModel, DashboardLoadProgress, DashboardView, DashboardWidgetData, DashboardWidgetDataColumn, DashboardWidgetDimensionFilterViewModel, DashboardWidgetDimensionView, DashboardWidgetFilterValue, DashboardWidgetFilterViewModel, DashboardWidgetMeasureFilterViewModel, DashboardWidgetMeasureView, DashboardWidgetSourceField, DashboardWidgetView, DataSourceCompanyFilterViewModel, DataSourceCompanyView, DataSourceFilterViewModel, DataSourceView, DateGroupings, DayInfo, DayInfoFilterViewModel, ExchangeRateFilterViewModel, ExchangeRateView, ImageUploadEvent, News, NewsFilterViewModel, RatingFilterViewModel, RatingSummary, RatingSummaryFilterViewModel, RatingView, SubcompanyFilterViewModel, TvaRateFilterViewModel, TvaRateView, UserAccountCompanyFilterViewModel, UserAccountCompanyView, UserAccountNews, UserAccountNewsFilterViewModel, WidgetTypes } from "@dflat-core/web/system-model";
|
|
11
11
|
import * as i58 from "@dflat-core/web/core-model";
|
|
12
12
|
import { ApiError, EntityViewModel, EntityViewModelWithFields, FilterDescriptor, HistoryItem, IExternalLoginProvider, IUserCredential, ImageFormats, PropertyEditorEvent, SaveResult, Section, User } from "@dflat-core/web/core-model";
|
|
13
13
|
import * as i8 from "@dflat-core/web/core-services";
|
|
@@ -394,10 +394,10 @@ export declare class DataSourceComponent extends BaseDataSourceComponent {
|
|
|
394
394
|
static ɵcmp: i0.ɵɵComponentDeclaration<DataSourceComponent, "msw-datasource", never, {}, {}, never, ["[actionsPanelContent]", "*"], false, never>;
|
|
395
395
|
}
|
|
396
396
|
/**
|
|
397
|
-
* Recherche et édition des
|
|
397
|
+
* Recherche et édition des DataSourceCompanyView (partie générée) : titre, lien, clé d'entité et
|
|
398
398
|
* permission. Composant spécifique : DataSourceCompanyComponent.
|
|
399
399
|
*/
|
|
400
|
-
export declare abstract class BaseDataSourceCompanyComponent extends BaseComponent<DataSourceCompanyFilterViewModel,
|
|
400
|
+
export declare abstract class BaseDataSourceCompanyComponent extends BaseComponent<DataSourceCompanyFilterViewModel, DataSourceCompanyView> {
|
|
401
401
|
protected route: ActivatedRoute;
|
|
402
402
|
getTitle(): string;
|
|
403
403
|
getPath(): string;
|