@tsi-developpement/tsi-shared-ui 1.9.6 → 1.9.8
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/esm2022/lib/models/import-export/import-export.mjs +1 -1
- package/esm2022/lib/tsi-components/alert-import-message/alert-import-message.component.mjs +3 -3
- package/esm2022/lib/tsi-components/create-or-edit-modele-import/create-or-edit-modele-import.component.mjs +10 -3
- package/esm2022/lib/tsi-components/manage-import-export/manage-import-export.component.mjs +6 -5
- package/esm2022/lib/tsi-components/output-components/tsi-generic-grid/tsi-generic-grid.component.mjs +3 -3
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs +17 -9
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs.map +1 -1
- package/lib/consts/app-providers.d.ts +1 -1
- package/lib/models/import-export/import-export.d.ts +3 -0
- package/lib/tsi-components/manage-import-export/manage-import-export.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3,4 +3,4 @@ import { FormStateService } from "../services/form/form-state.service";
|
|
|
3
3
|
import { PresentationDesignerBaseService } from "../services/presentation-setting/presentation-designer-base.service";
|
|
4
4
|
import { GenericValidationStateService } from "../services/validation/generic-validation-state.service";
|
|
5
5
|
import { InputRegistryService } from "../services/validation/input-registry.service";
|
|
6
|
-
export declare const appProviders: (typeof PresentationDesignerBaseService | typeof
|
|
6
|
+
export declare const appProviders: (typeof PresentationDesignerBaseService | typeof GenericValidationStateService | typeof InputRegistryService | typeof DynamicFormService | typeof FormStateService)[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare class executeImportResult {
|
|
2
2
|
numberOfAddedRows?: number;
|
|
3
|
+
numberOfUpdatedRows?: number;
|
|
3
4
|
numberOfUnusedRows?: number;
|
|
4
5
|
indexesOfUnusedRows?: number[];
|
|
5
6
|
errorsMessages: string[];
|
|
@@ -16,6 +17,7 @@ export declare class ModeleImportCreateRequest {
|
|
|
16
17
|
fileType?: string;
|
|
17
18
|
nom?: string;
|
|
18
19
|
csvFileSeparator?: string;
|
|
20
|
+
modeMiseAJour?: boolean;
|
|
19
21
|
modeleImportDetails: ModeleImportDetail[];
|
|
20
22
|
}
|
|
21
23
|
export declare class ModeleImportDetail {
|
|
@@ -25,6 +27,7 @@ export declare class ModeleImportDetail {
|
|
|
25
27
|
nomColonneFichier?: string;
|
|
26
28
|
nomColonneClefEtrangere?: string;
|
|
27
29
|
nomClasseDetail?: string;
|
|
30
|
+
clefMiseAJour?: boolean;
|
|
28
31
|
}
|
|
29
32
|
export declare class ExecuteImportRequest {
|
|
30
33
|
modeleImportUid?: string;
|
|
@@ -2,6 +2,7 @@ import { OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { FileUpload } from 'primeng/fileupload';
|
|
3
3
|
import { TsiViewGridComponent } from '../output-components/tsi-view-grid/tsi-view-grid.component';
|
|
4
4
|
import { TooltipPosition } from '../../enums/tooltipPosition.enum';
|
|
5
|
+
import { GridSortMode } from '../../enums';
|
|
5
6
|
import { GridColumn, ButtonClickResult } from '../../interfaces';
|
|
6
7
|
import { ImportResult, SearchField } from '../../models';
|
|
7
8
|
import { ModeleImportService, TsiConfirmationService, TsiNotificationService, ErrorResponseManagerService, TsiModalService } from '../../services';
|
|
@@ -37,6 +38,7 @@ export declare class ManageImportExportComponent extends TsiFormComponentBaseCom
|
|
|
37
38
|
columnsHistory: Array<GridColumn>;
|
|
38
39
|
historyGridData: any;
|
|
39
40
|
importHistoryKey: string;
|
|
41
|
+
sortModeRef: typeof GridSortMode;
|
|
40
42
|
fileType: string;
|
|
41
43
|
importResultData: Array<ImportResult>;
|
|
42
44
|
searchFields: Array<SearchField>;
|