@tsi-developpement/tsi-shared-ui 1.7.39 → 1.8.2
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/consts/app-providers.mjs +4 -2
- package/esm2022/lib/models/common/entity-properties.mjs +1 -1
- package/esm2022/lib/services/form/form-state.service.mjs +13 -0
- package/esm2022/lib/services/validation/input-registry.service.mjs +9 -1
- package/esm2022/lib/tsi-base/components/tsi-form-base/tsi-form-base.component.mjs +44 -7
- package/esm2022/lib/tsi-base/tsi-input-base/tsi-input-base.component.mjs +16 -9
- package/esm2022/lib/tsi-components/create-or-edit-entity-informations/create-or-edit-entity-informations.component.mjs +3 -3
- package/esm2022/lib/tsi-components/create-or-edit-modele-import/create-or-edit-modele-import.component.mjs +3 -3
- package/esm2022/lib/tsi-components/input-components/editable-grid/editable-grid.component.mjs +12 -10
- package/esm2022/lib/tsi-components/input-components/tsi-checkbox/tsi-checkbox.component.mjs +2 -1
- package/esm2022/lib/tsi-components/input-components/tsi-currency-other-input/tsi-currency-other-input.component.mjs +6 -4
- package/esm2022/lib/tsi-components/input-components/tsi-currency-societe-input/tsi-currency-societe-input.component.mjs +6 -4
- package/esm2022/lib/tsi-components/input-components/tsi-date-picker/tsi-date-picker.component.mjs +8 -5
- package/esm2022/lib/tsi-components/input-components/tsi-decimal-input/tsi-decimal-input.component.mjs +6 -4
- package/esm2022/lib/tsi-components/input-components/tsi-file-manager/tsi-file-manager.component.mjs +5 -1
- package/esm2022/lib/tsi-components/input-components/tsi-formula-box/tsi-formula-box.component.mjs +5 -3
- package/esm2022/lib/tsi-components/input-components/tsi-integer/tsi-integer.component.mjs +6 -4
- package/esm2022/lib/tsi-components/input-components/tsi-radio-button/tsi-radio-button.component.mjs +2 -1
- package/esm2022/lib/tsi-components/input-components/tsi-rate-input/tsi-rate-input.component.mjs +6 -4
- package/esm2022/lib/tsi-components/input-components/tsi-search-combo/tsi-search-combo.component.mjs +2 -1
- package/esm2022/lib/tsi-components/input-components/tsi-text-area/tsi-text-area.component.mjs +2 -1
- package/esm2022/lib/tsi-components/input-components/tsi-text-box/tsi-text-box.component.mjs +4 -3
- package/esm2022/lib/tsi-components/input-components/tsi-time-picker/tsi-time-picker.component.mjs +10 -8
- package/esm2022/lib/tsi-components/manage-reporting/add-report-popup/add-report-popup.component.mjs +3 -3
- package/esm2022/lib/tsi-components/output-components/tsi-generic-grid/tsi-generic-grid.component.mjs +3 -3
- package/esm2022/lib/tsi-components/reporting/reporting.component.mjs +16 -9
- package/esm2022/lib/tsi-components/tsi-change-password/tsi-change-password.component.mjs +3 -3
- package/esm2022/lib/tsi-components/tsi-dynamic-form/create-or-edit-dynamic-form/create-or-edit-dynamic-form.component.mjs +3 -3
- package/esm2022/lib/tsi-components/tsi-form/tsi-form.component.mjs +11 -3
- package/esm2022/lib/tsi-components/tsi-generic-form/tsi-generic-form.component.mjs +3 -3
- package/esm2022/lib/tsi-components/tsi-modal-footer/tsi-modal-footer.component.mjs +20 -9
- package/esm2022/lib/tsi-components/tsi-modal-header/tsi-modal-header.component.mjs +8 -1
- package/esm2022/lib/tsi-components/tsi-notes-createoredit/tsi-notes.component.mjs +3 -3
- package/esm2022/lib/tsi-components/tsi-upload-fiche/tsi-upload-fiche.component.mjs +3 -3
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs +202 -83
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs.map +1 -1
- package/lib/consts/app-providers.d.ts +2 -1
- package/lib/models/common/entity-properties.d.ts +1 -0
- package/lib/providers/shared-ui-tsi.provider.d.ts +1 -1
- package/lib/services/form/form-state.service.d.ts +7 -0
- package/lib/services/validation/input-registry.service.d.ts +1 -0
- package/lib/tsi-base/components/tsi-form-base/tsi-form-base.component.d.ts +15 -5
- package/lib/tsi-base/tsi-input-base/tsi-input-base.component.d.ts +5 -1
- package/lib/tsi-components/input-components/editable-grid/editable-grid.component.d.ts +3 -4
- package/lib/tsi-components/input-components/tsi-currency-other-input/tsi-currency-other-input.component.d.ts +1 -1
- package/lib/tsi-components/input-components/tsi-currency-societe-input/tsi-currency-societe-input.component.d.ts +1 -1
- package/lib/tsi-components/input-components/tsi-date-picker/tsi-date-picker.component.d.ts +3 -2
- package/lib/tsi-components/input-components/tsi-decimal-input/tsi-decimal-input.component.d.ts +1 -1
- package/lib/tsi-components/input-components/tsi-integer/tsi-integer.component.d.ts +1 -1
- package/lib/tsi-components/input-components/tsi-rate-input/tsi-rate-input.component.d.ts +1 -1
- package/lib/tsi-components/input-components/tsi-time-picker/tsi-time-picker.component.d.ts +1 -1
- package/lib/tsi-components/reporting/reporting.component.d.ts +4 -1
- package/lib/tsi-components/tsi-form/tsi-form.component.d.ts +4 -1
- package/lib/tsi-components/tsi-modal-footer/tsi-modal-footer.component.d.ts +6 -2
- package/lib/tsi-components/tsi-modal-header/tsi-modal-header.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DynamicFormService } from "../services/dynamic-form/dynamic-form.service";
|
|
2
|
+
import { FormStateService } from "../services/form/form-state.service";
|
|
2
3
|
import { PresentationDesignerBaseService } from "../services/presentation-setting/presentation-designer-base.service";
|
|
3
4
|
import { GenericValidationStateService } from "../services/validation/generic-validation-state.service";
|
|
4
5
|
import { InputRegistryService } from "../services/validation/input-registry.service";
|
|
5
|
-
export declare const appProviders: (typeof GenericValidationStateService | typeof InputRegistryService | typeof
|
|
6
|
+
export declare const appProviders: (typeof PresentationDesignerBaseService | typeof GenericValidationStateService | typeof InputRegistryService | typeof DynamicFormService | typeof FormStateService)[];
|
|
@@ -2,7 +2,7 @@ import { DynamicDialogConfig, DynamicDialogRef } from "primeng/dynamicdialog";
|
|
|
2
2
|
import { TabView } from "primeng/tabview";
|
|
3
3
|
import { JwtHelperService } from "@auth0/angular-jwt";
|
|
4
4
|
import { ConfirmationService, MessageService } from "primeng/api";
|
|
5
|
-
export declare const SharedUiTsiProviders: (typeof
|
|
5
|
+
export declare const SharedUiTsiProviders: (typeof TabView | typeof DynamicDialogRef | typeof DynamicDialogConfig | typeof JwtHelperService | typeof MessageService | typeof ConfirmationService | {
|
|
6
6
|
provide: import("@angular/core").InjectionToken<unknown>;
|
|
7
7
|
useValue: import("@angular/core").InjectionToken<unknown>;
|
|
8
8
|
})[];
|
|
@@ -5,6 +5,7 @@ export declare class InputRegistryService {
|
|
|
5
5
|
register(input: TsiInputBase): void;
|
|
6
6
|
unregister(input: TsiInputBase): void;
|
|
7
7
|
getAll(): TsiInputBase[];
|
|
8
|
+
resetDirtyStatusForAllInputs(): void;
|
|
8
9
|
clear(): void;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputRegistryService, never>;
|
|
10
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<InputRegistryService>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentChecked, AfterViewChecked, AfterViewInit, ChangeDetectorRef,
|
|
1
|
+
import { AfterContentChecked, AfterViewChecked, AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { NgForm } from '@angular/forms';
|
|
3
3
|
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
@@ -16,6 +16,7 @@ import { TsiGenericCrudComponent } from '../../../tsi-components/tsi-generic-cru
|
|
|
16
16
|
import { PresentationDesignerDirective, PresentationDesignerDirectiveBase } from '../../../tsi-directives';
|
|
17
17
|
import { TsiInputBase } from '../../tsi-input-base/tsi-input-base.component';
|
|
18
18
|
import { AppBaseComponent } from '../app-base/app-base.component';
|
|
19
|
+
import { TsiModalFooterComponent } from '../../../tsi-components/tsi-modal-footer/tsi-modal-footer.component';
|
|
19
20
|
import * as i0 from "@angular/core";
|
|
20
21
|
export declare class TsiFormComponentBaseComponent extends AppBaseComponent implements OnInit, AfterContentChecked, AfterViewInit, OnDestroy, AfterViewChecked {
|
|
21
22
|
ref?: DynamicDialogRef<any> | undefined;
|
|
@@ -30,7 +31,7 @@ export declare class TsiFormComponentBaseComponent extends AppBaseComponent impl
|
|
|
30
31
|
protected set componentDescriminator(value: ComponentDescriminator | undefined);
|
|
31
32
|
protected get componentDescriminator(): ComponentDescriminator | undefined;
|
|
32
33
|
form?: TsiFormComponent;
|
|
33
|
-
modalFooter?:
|
|
34
|
+
modalFooter?: TsiModalFooterComponent | any;
|
|
34
35
|
checkbox?: Array<TsiCheckboxComponent>;
|
|
35
36
|
faultyInputs: FormValidityResult[];
|
|
36
37
|
isFormValid: boolean | undefined;
|
|
@@ -42,8 +43,10 @@ export declare class TsiFormComponentBaseComponent extends AppBaseComponent impl
|
|
|
42
43
|
formRef?: NgForm;
|
|
43
44
|
isFormDisabled: boolean;
|
|
44
45
|
cudComponent: any;
|
|
46
|
+
private _mode;
|
|
45
47
|
itemDialog: boolean;
|
|
46
|
-
mode
|
|
48
|
+
get mode(): string | undefined;
|
|
49
|
+
set mode(value: string | undefined);
|
|
47
50
|
id?: string;
|
|
48
51
|
private _isloading;
|
|
49
52
|
set isloading(value: boolean);
|
|
@@ -57,22 +60,23 @@ export declare class TsiFormComponentBaseComponent extends AppBaseComponent impl
|
|
|
57
60
|
private _viewContainerRef;
|
|
58
61
|
private _renderer;
|
|
59
62
|
private _layoutHelperService;
|
|
60
|
-
private _entityConfigurationsService;
|
|
61
63
|
private _workflowConfigurationService;
|
|
62
64
|
private _presentationSettingService;
|
|
63
65
|
private _messageInfoService;
|
|
64
66
|
private _errorResponseManager;
|
|
65
67
|
private _presentationDesignerService;
|
|
66
68
|
private _presentationDesignerBaseService;
|
|
67
|
-
private _reportingService;
|
|
68
69
|
localize?: LocalizePipe | undefined;
|
|
69
70
|
_inputRegistry: InputRegistryService;
|
|
71
|
+
private _formStateService;
|
|
72
|
+
private _colonnePersonnaliseeService;
|
|
70
73
|
private directiveElements;
|
|
71
74
|
presentationRequest: PresentationSetting;
|
|
72
75
|
_designModeFormSubscription: Subscription | undefined;
|
|
73
76
|
_saveWorkflowFormConfigurationSubscription: Subscription | undefined;
|
|
74
77
|
_addedDirectiveSubscritpion: Subscription | undefined;
|
|
75
78
|
_addedDirectiveBaseSubscritpion: Subscription | undefined;
|
|
79
|
+
savedDataSubscription?: Subscription;
|
|
76
80
|
onSave: EventEmitter<any>;
|
|
77
81
|
private _genericValidationStateService?;
|
|
78
82
|
constructor(ref?: DynamicDialogRef<any> | undefined, config?: DynamicDialogConfig<any> | undefined, cdRef?: ChangeDetectorRef | undefined);
|
|
@@ -80,6 +84,7 @@ export declare class TsiFormComponentBaseComponent extends AppBaseComponent impl
|
|
|
80
84
|
workflowInformation?: workflowInstanceInformationResponse;
|
|
81
85
|
customData?: any;
|
|
82
86
|
ngOnInit(): void;
|
|
87
|
+
_initFormSaveSubscription(): void;
|
|
83
88
|
toggleDesignMode(): void;
|
|
84
89
|
ngOnDestroy(): void;
|
|
85
90
|
ngAfterViewChecked(): void;
|
|
@@ -100,7 +105,12 @@ export declare class TsiFormComponentBaseComponent extends AppBaseComponent impl
|
|
|
100
105
|
processComboInitEvent(comboStatus: ComboStatusModel): void;
|
|
101
106
|
processComboIsLoadedEvent(comboStatus: ComboStatusModel): void;
|
|
102
107
|
areAllComboLoadedFn(): void;
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated Use the new modal handling method (resolveFiche) instead.
|
|
110
|
+
* This method directly manipulates the dialog reference and may lead to inconsistent behavior.
|
|
111
|
+
*/
|
|
103
112
|
hide(val?: any): void;
|
|
113
|
+
resolveFiche(val?: any): void;
|
|
104
114
|
getWorkflowEtatForm(): PresentationSetting | undefined;
|
|
105
115
|
addInputs(presentationRequest: PresentationSetting, applyGridConfig?: boolean, workflowEtat?: PresentationSetting, directiveElements?: (PresentationDesignerDirective | PresentationDesignerDirectiveBase)[]): void;
|
|
106
116
|
processDisabledInputs(presentationRequest: PresentationSetting, directiveElements?: (PresentationDesignerDirective | PresentationDesignerDirectiveBase)[]): void;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from "@angular/core";
|
|
2
2
|
import { TsiBaseComponent } from "../components/tsi-base/tsi-base.component";
|
|
3
3
|
import { FormValidityResult, LocaleCode } from "../../enums";
|
|
4
|
+
import { GenericValidationStateService } from "../../services/validation/generic-validation-state.service";
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare abstract class TsiInputBase<T = any> extends TsiBaseComponent implements AfterViewInit, OnDestroy {
|
|
6
7
|
protected cdRef?: ChangeDetectorRef | undefined;
|
|
7
8
|
private _entityValidationInfosLoadedSub?;
|
|
8
|
-
|
|
9
|
+
protected genericValidationStateService?: GenericValidationStateService;
|
|
9
10
|
private _formStateChangeSub?;
|
|
10
11
|
private _formState;
|
|
11
12
|
private _layoutHelperService;
|
|
12
13
|
private _inputField;
|
|
14
|
+
private _isDirty;
|
|
13
15
|
private _inputRegistry;
|
|
14
16
|
private _localizationService;
|
|
15
17
|
protected locale: LocaleCode;
|
|
@@ -17,6 +19,8 @@ export declare abstract class TsiInputBase<T = any> extends TsiBaseComponent imp
|
|
|
17
19
|
isRequired: boolean;
|
|
18
20
|
maxLength: number | undefined;
|
|
19
21
|
isSubmitted: boolean;
|
|
22
|
+
get isDirty(): boolean;
|
|
23
|
+
set isDirty(val: boolean);
|
|
20
24
|
validationStatusCssClass: string;
|
|
21
25
|
inputName: string | undefined;
|
|
22
26
|
inputId?: string;
|
|
@@ -6,8 +6,9 @@ import { ButtonType, GridSelectionMode, InputTypes, TooltipPosition } from '../.
|
|
|
6
6
|
import { CellChangedResult, GridColumn, IGridConfiguration, RowAddedResult } from '../../../interfaces';
|
|
7
7
|
import { LocalizePipe } from '../../../pipes/localize.pipe';
|
|
8
8
|
import { FormState } from '../../../models/form/form-state';
|
|
9
|
+
import { TsiInputBase } from '../../../tsi-base/tsi-input-base/tsi-input-base.component';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class EditableGridComponent implements OnInit, OnDestroy {
|
|
11
|
+
export declare class EditableGridComponent extends TsiInputBase implements OnInit, OnDestroy {
|
|
11
12
|
private _localizePipe;
|
|
12
13
|
private saveEventSubscription?;
|
|
13
14
|
private _isAutoRowNumber;
|
|
@@ -60,7 +61,6 @@ export declare class EditableGridComponent implements OnInit, OnDestroy {
|
|
|
60
61
|
selectKeyOnly: boolean;
|
|
61
62
|
selectionMode: GridSelectionMode | any;
|
|
62
63
|
showConsultButton: boolean;
|
|
63
|
-
disabled: boolean;
|
|
64
64
|
private _editableGridBusinessClass;
|
|
65
65
|
get editableGridBusinessClass(): string;
|
|
66
66
|
set editableGridBusinessClass(className: string);
|
|
@@ -86,7 +86,6 @@ export declare class EditableGridComponent implements OnInit, OnDestroy {
|
|
|
86
86
|
dt: Table | undefined;
|
|
87
87
|
id?: string;
|
|
88
88
|
private _entityValidationsService;
|
|
89
|
-
private _genericValidationStateService?;
|
|
90
89
|
constructor(_localizePipe: LocalizePipe);
|
|
91
90
|
ngOnInit(): void;
|
|
92
91
|
findColumnByKey(key: any): GridColumn | null;
|
|
@@ -126,5 +125,5 @@ export declare class EditableGridComponent implements OnInit, OnDestroy {
|
|
|
126
125
|
private _tryFindEquatable;
|
|
127
126
|
private _fusionRows;
|
|
128
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditableGridComponent, never>;
|
|
129
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditableGridComponent, "Tsi-Generic-Editable-Grid", never, { "selectedItems": { "alias": "selectedItems"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "key": { "alias": "key"; "required": false; }; "items": { "alias": "items"; "required": false; }; "saveEvent": { "alias": "events"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showDeleteButton": { "alias": "showDeleteButton"; "required": false; }; "showEditButton": { "alias": "showEditButton"; "required": false; }; "showRowSummary": { "alias": "showRowSummary"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "rowPerPage": { "alias": "rowPerPage"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "gridData": { "alias": "gridData"; "required": false; }; "isTableLoading": { "alias": "isTableLoading"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "events": { "alias": "events"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "showActionColumn": { "alias": "showActionColumn"; "required": false; }; "enableRowDisabling": { "alias": "enableRowDisabling"; "required": false; }; "rowSummaryConfig": { "alias": "rowSummaryConfig"; "required": false; }; "showHaveSumary": { "alias": "showHaveSumary"; "required": false; }; "showRowSumary": { "alias": "showRowSumary"; "required": false; }; "selectKeyOnly": { "alias": "selectKeyOnly"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "showConsultButton": { "alias": "showConsultButton"; "required": false; }; "
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditableGridComponent, "Tsi-Generic-Editable-Grid", never, { "selectedItems": { "alias": "selectedItems"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "key": { "alias": "key"; "required": false; }; "items": { "alias": "items"; "required": false; }; "saveEvent": { "alias": "events"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showDeleteButton": { "alias": "showDeleteButton"; "required": false; }; "showEditButton": { "alias": "showEditButton"; "required": false; }; "showRowSummary": { "alias": "showRowSummary"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "rowPerPage": { "alias": "rowPerPage"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "gridData": { "alias": "gridData"; "required": false; }; "isTableLoading": { "alias": "isTableLoading"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "events": { "alias": "events"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "showActionColumn": { "alias": "showActionColumn"; "required": false; }; "enableRowDisabling": { "alias": "enableRowDisabling"; "required": false; }; "rowSummaryConfig": { "alias": "rowSummaryConfig"; "required": false; }; "showHaveSumary": { "alias": "showHaveSumary"; "required": false; }; "showRowSumary": { "alias": "showRowSumary"; "required": false; }; "selectKeyOnly": { "alias": "selectKeyOnly"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "showConsultButton": { "alias": "showConsultButton"; "required": false; }; "editableGridBusinessClass": { "alias": "editableGridBusinessClass"; "required": false; }; "orderColumn": { "alias": "orderColumn"; "required": false; }; "deleteLineButtonDisabled": { "alias": "deleteLineButtonDisabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "itemsSave": "itemsSave"; "refreshEventEmitter": "refreshEventEmitter"; "saveDataEventEmitter": "saveDataEventEmitter"; "rowChangedEventEmitter": "rowChangedEventEmitter"; "selectedRowEventEmitter": "selectedRowEventEmitter"; "addedRowEventEmitter": "addedRowEventEmitter"; "focusOutEventEmitter": "focusOutEventEmitter"; "cellChanged": "cellChanged"; "rowDeletedEventEmitter": "rowDeletedEventEmitter"; "selectedItemsChange": "selectedItemsChange"; "onRowSelect": "onRowSelect"; "focusOutRow": "focusOutRow"; "onConsultClicked": "onConsultClicked"; }, never, never, false, never>;
|
|
130
129
|
}
|
|
@@ -10,7 +10,7 @@ export declare class TsiCurrencyOtherInputComponent extends TsiInputBase<number
|
|
|
10
10
|
inputFieldChange: EventEmitter<number>;
|
|
11
11
|
private isValueChanged;
|
|
12
12
|
constructor(_localizationPipe: LocalizePipe);
|
|
13
|
-
valueChanged(): void;
|
|
13
|
+
valueChanged(event: any): void;
|
|
14
14
|
onChangeofOptions(): void;
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiCurrencyOtherInputComponent, never>;
|
|
@@ -14,7 +14,7 @@ export declare class TsiCurrencySocieteInputComponent extends TsiInputBase<numbe
|
|
|
14
14
|
private isValueChanged;
|
|
15
15
|
constructor(appSettingsService: AppSettingsService, _localizationPipe: LocalizePipe);
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
-
valueChanged(): void;
|
|
17
|
+
valueChanged(event: any): void;
|
|
18
18
|
onChangeofOptions(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiCurrencySocieteInputComponent, never>;
|
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<TsiCurrencySocieteInputComponent, "Tsi-Currency-Societe-Input", never, { "class": { "alias": "class"; "required": false; }; }, { "inputFieldChange": "inputFieldChange"; }, never, never, false, never>;
|
|
@@ -24,11 +24,12 @@ export declare class TsiDatePickerComponent extends TsiInputBase<Date | undefine
|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
constructor(_datePipe: DatePipe, _dateHelperService: DateHelperService, primeNGConfig: PrimeNGConfig, _layoutService: LayoutService);
|
|
27
|
-
onFocusOut(
|
|
28
|
-
onSelect(
|
|
27
|
+
onFocusOut(): void;
|
|
28
|
+
onSelect(): void;
|
|
29
29
|
ngOnInit(): void;
|
|
30
30
|
private _toString;
|
|
31
31
|
_updateInputFieldFromStringDate(): void;
|
|
32
|
+
onModelChange(event: any): void;
|
|
32
33
|
private _handleDateChange;
|
|
33
34
|
private _createUtcDate;
|
|
34
35
|
_initArabicLocal(): void;
|
package/lib/tsi-components/input-components/tsi-decimal-input/tsi-decimal-input.component.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare class TsiDecimalInputComponent extends TsiInputBase<number | unde
|
|
|
6
6
|
class: any;
|
|
7
7
|
inputFieldChange: EventEmitter<number>;
|
|
8
8
|
private isValueChanged;
|
|
9
|
-
valueChange(): void;
|
|
9
|
+
valueChange(event: any): void;
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
onChangeofOptions(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiDecimalInputComponent, never>;
|
|
@@ -12,7 +12,7 @@ export declare class TsiIntegerComponent extends TsiInputBase<number | undefined
|
|
|
12
12
|
inputFieldChange: EventEmitter<any>;
|
|
13
13
|
infinityRef: number;
|
|
14
14
|
private isValueChanged;
|
|
15
|
-
valueChanged(): void;
|
|
15
|
+
valueChanged(event: any): void;
|
|
16
16
|
onChangeofOptions(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiIntegerComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<TsiIntegerComponent, "Tsi-Integer", never, { "class": { "alias": "class"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "delayChangeTime": { "alias": "delayChangeTime"; "required": false; }; }, { "newItemEvent": "newItemEvent"; "inputFieldChange": "inputFieldChange"; }, never, never, false, never>;
|
|
@@ -9,7 +9,7 @@ export declare class TsiRateInputComponent extends TsiInputBase<number | undefin
|
|
|
9
9
|
inputFieldChange: EventEmitter<number>;
|
|
10
10
|
private isValueChanged;
|
|
11
11
|
ngOnInit(): void;
|
|
12
|
-
valueChanged(): void;
|
|
12
|
+
valueChanged(event: any): void;
|
|
13
13
|
onChangeofOptions(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiRateInputComponent, never>;
|
|
15
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<TsiRateInputComponent, "Tsi-Rate-Input", never, { "required": { "alias": "required"; "required": false; }; "isFraction": { "alias": "isFraction"; "required": false; }; "numOfDecimal": { "alias": "numOfDecimal"; "required": false; }; }, { "newItemEvent": "newItemEvent"; "inputFieldChange": "inputFieldChange"; }, never, never, false, never>;
|
|
@@ -17,7 +17,7 @@ export declare class TsiTimePickerComponent extends TsiInputBase<TimeOnly | Date
|
|
|
17
17
|
constructor(_dateHelperService: DateHelperService);
|
|
18
18
|
onFocusOut(event: any): void;
|
|
19
19
|
onSelect(event: any): void;
|
|
20
|
-
_updateInputFieldFromStringDate(): void;
|
|
20
|
+
_updateInputFieldFromStringDate(event: any): void;
|
|
21
21
|
private _handleDateChange;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiTimePickerComponent, never>;
|
|
23
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<TsiTimePickerComponent, "tsi-time-picker", never, {}, { "inputFieldChange": "inputFieldChange"; }, never, never, false, never>;
|
|
@@ -14,6 +14,7 @@ import { ErrorResponseManagerService } from '../../services/notification/error-r
|
|
|
14
14
|
import { MailingService } from '../../services/application/mailing.service';
|
|
15
15
|
import { ReportingInformation } from '../../models/reporting/reporting-information';
|
|
16
16
|
import { TsiModalService } from '../../services/modal/tsi-modal.service';
|
|
17
|
+
import { InputRegistryService } from '../../services/validation/input-registry.service';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
export declare class ReportingComponent implements OnInit, OnDestroy {
|
|
19
20
|
private _tsiModalService;
|
|
@@ -27,6 +28,7 @@ export declare class ReportingComponent implements OnInit, OnDestroy {
|
|
|
27
28
|
_fichierService: FichierService;
|
|
28
29
|
private _injector;
|
|
29
30
|
private _mailingService;
|
|
31
|
+
private _inputRegistryService;
|
|
30
32
|
reportToPrintId: number | undefined;
|
|
31
33
|
toSendEmail: string | undefined;
|
|
32
34
|
localize?: LocalizePipe | undefined;
|
|
@@ -87,8 +89,9 @@ export declare class ReportingComponent implements OnInit, OnDestroy {
|
|
|
87
89
|
y: number;
|
|
88
90
|
};
|
|
89
91
|
tooltipPosition: TooltipPosition;
|
|
92
|
+
get enableToPrintReport(): boolean;
|
|
90
93
|
get isReportForFiche(): boolean;
|
|
91
|
-
constructor(_tsiModalService: TsiModalService, reportingService: ReportingService, identityManagerService: IdentityManagerService, notificationService: TsiNotificationService, messageService: TsiMessageService, recordInfoPopupService: RecordInfoPopupService, _errorResponseManagerService: ErrorResponseManagerService, _layoutHelperService: LayoutHelperService, _fichierService: FichierService, _injector: EnvironmentInjector, _mailingService: MailingService);
|
|
94
|
+
constructor(_tsiModalService: TsiModalService, reportingService: ReportingService, identityManagerService: IdentityManagerService, notificationService: TsiNotificationService, messageService: TsiMessageService, recordInfoPopupService: RecordInfoPopupService, _errorResponseManagerService: ErrorResponseManagerService, _layoutHelperService: LayoutHelperService, _fichierService: FichierService, _injector: EnvironmentInjector, _mailingService: MailingService, _inputRegistryService: InputRegistryService);
|
|
92
95
|
ngOnInit(): void;
|
|
93
96
|
ngOnDestroy(): void;
|
|
94
97
|
onPrintDefault(event: any): void;
|
|
@@ -52,6 +52,7 @@ export declare class TsiFormComponent implements OnInit, AfterViewInit, AfterCon
|
|
|
52
52
|
get descriminatorValue(): string | undefined;
|
|
53
53
|
set descriminatorValue(value: string | undefined);
|
|
54
54
|
entityStatusList: KeyValuePair<string, string>[];
|
|
55
|
+
statusColumnName: string;
|
|
55
56
|
nombreDocuments: number | undefined;
|
|
56
57
|
isDragOver: boolean;
|
|
57
58
|
messagePosition: {
|
|
@@ -89,7 +90,9 @@ export declare class TsiFormComponent implements OnInit, AfterViewInit, AfterCon
|
|
|
89
90
|
modalFooterComp?: TsiModalFooterComponent;
|
|
90
91
|
dynamicToolbarContainers: QueryList<ViewContainerRef>;
|
|
91
92
|
dynamicFootersContainers: QueryList<ViewContainerRef>;
|
|
92
|
-
|
|
93
|
+
private _inputTitle;
|
|
94
|
+
get inputTitle(): string | undefined;
|
|
95
|
+
set inputTitle(value: string | undefined);
|
|
93
96
|
colonnesPersonnaliseeGrouped: ColonnePersonnaliseeGroupedResponse[];
|
|
94
97
|
canShowForms: boolean;
|
|
95
98
|
formsOfBusinessClass: any[];
|
|
@@ -3,12 +3,14 @@ import { ButtonType } from '../../enums/button-type.enum';
|
|
|
3
3
|
import { LocalizePipe } from '../../pipes/localize.pipe';
|
|
4
4
|
import { LayoutService } from '../../services/application/app.layout.service';
|
|
5
5
|
import { DialogDataService } from '../../services/dialog-data.service';
|
|
6
|
+
import { FormStateService } from '../../services/form/form-state.service';
|
|
6
7
|
import { RequestTrackerService } from '../../services/request-management/request-tracker.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class TsiModalFooterComponent implements OnInit, OnDestroy {
|
|
9
10
|
private _injector;
|
|
10
11
|
private dialogDataService;
|
|
11
12
|
private _layoutService;
|
|
13
|
+
private _formStateService;
|
|
12
14
|
localize?: LocalizePipe | undefined;
|
|
13
15
|
cancelDisabled: boolean;
|
|
14
16
|
saveDisabled: boolean;
|
|
@@ -21,6 +23,7 @@ export declare class TsiModalFooterComponent implements OnInit, OnDestroy {
|
|
|
21
23
|
additionalButtonIcon: string;
|
|
22
24
|
additionalButtonDisabled: boolean;
|
|
23
25
|
showAdditionalButton: boolean;
|
|
26
|
+
showSaveAndCloseButton: boolean;
|
|
24
27
|
footerTemplateRef?: TemplateRef<any>;
|
|
25
28
|
onCancelClick: EventEmitter<void>;
|
|
26
29
|
onSaveClick: EventEmitter<void>;
|
|
@@ -34,17 +37,18 @@ export declare class TsiModalFooterComponent implements OnInit, OnDestroy {
|
|
|
34
37
|
private layoutDirectionSubscritpion?;
|
|
35
38
|
private requestTrackerStateSubscription?;
|
|
36
39
|
requestTrackerService: RequestTrackerService;
|
|
37
|
-
constructor(_injector: EnvironmentInjector, dialogDataService: DialogDataService, _layoutService: LayoutService, localize?: LocalizePipe | undefined);
|
|
40
|
+
constructor(_injector: EnvironmentInjector, dialogDataService: DialogDataService, _layoutService: LayoutService, _formStateService: FormStateService, localize?: LocalizePipe | undefined);
|
|
38
41
|
ngOnDestroy(): void;
|
|
39
42
|
l(key: string): string;
|
|
40
43
|
ngOnInit(): void;
|
|
41
44
|
isRtlModeEnabled(): void;
|
|
42
45
|
subscribeInRtlModeChange(): void;
|
|
43
46
|
onSave(): void;
|
|
47
|
+
onSaveAndClose(): void;
|
|
44
48
|
onCancel(): void;
|
|
45
49
|
onAdditionalButton(): void;
|
|
46
50
|
onFiles(): Promise<void>;
|
|
47
51
|
private _initializeRequestTrackerStateSubscription;
|
|
48
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiModalFooterComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TsiModalFooterComponent, "Tsi-Modal-Footer", never, { "cancelDisabled": { "alias": "cancelDisabled"; "required": false; }; "saveDisabled": { "alias": "saveDisabled"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "saveLabel": { "alias": "saveLabel"; "required": false; }; "isConsult": { "alias": "isConsult"; "required": false; }; "isDuplicate": { "alias": "isDuplicate"; "required": false; }; "isOnlyCreate": { "alias": "isOnlyCreate"; "required": false; }; "additionalButtonLabel": { "alias": "additionalButtonLabel"; "required": false; }; "additionalButtonIcon": { "alias": "additionalButtonIcon"; "required": false; }; "additionalButtonDisabled": { "alias": "additionalButtonDisabled"; "required": false; }; "showAdditionalButton": { "alias": "showAdditionalButton"; "required": false; }; }, { "onCancelClick": "onCancelClick"; "onSaveClick": "onSaveClick"; "onAdditionalButtonClick": "onAdditionalButtonClick"; }, never, never, false, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TsiModalFooterComponent, "Tsi-Modal-Footer", never, { "cancelDisabled": { "alias": "cancelDisabled"; "required": false; }; "saveDisabled": { "alias": "saveDisabled"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "saveLabel": { "alias": "saveLabel"; "required": false; }; "isConsult": { "alias": "isConsult"; "required": false; }; "isDuplicate": { "alias": "isDuplicate"; "required": false; }; "isOnlyCreate": { "alias": "isOnlyCreate"; "required": false; }; "additionalButtonLabel": { "alias": "additionalButtonLabel"; "required": false; }; "additionalButtonIcon": { "alias": "additionalButtonIcon"; "required": false; }; "additionalButtonDisabled": { "alias": "additionalButtonDisabled"; "required": false; }; "showAdditionalButton": { "alias": "showAdditionalButton"; "required": false; }; "showSaveAndCloseButton": { "alias": "showSaveAndCloseButton"; "required": false; }; }, { "onCancelClick": "onCancelClick"; "onSaveClick": "onSaveClick"; "onAdditionalButtonClick": "onAdditionalButtonClick"; }, never, never, false, never>;
|
|
50
54
|
}
|
|
@@ -3,8 +3,10 @@ import { LayoutService } from '../../services/application/app.layout.service';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TsiModalHeaderComponent implements OnInit, OnDestroy {
|
|
5
5
|
private _layoutService;
|
|
6
|
-
inputTitle
|
|
6
|
+
get inputTitle(): string | undefined;
|
|
7
|
+
set inputTitle(value: string | undefined);
|
|
7
8
|
toolbarTemplateHeader?: TemplateRef<any>;
|
|
9
|
+
private _inputTitle?;
|
|
8
10
|
onCloseClick: EventEmitter<void>;
|
|
9
11
|
stylePositionClass: string;
|
|
10
12
|
private layoutDirectionSubscritpion?;
|