@tsi-developpement/tsi-shared-ui 1.9.13 → 1.10.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/functions/currency-state.functions.mjs +203 -0
- package/esm2022/lib/interfaces/pagination/pagination-base.mjs +1 -1
- package/esm2022/lib/models/dynamic-form/colonne-personnalisee.mjs +3 -2
- package/esm2022/lib/pipes/tsi-currency.pipe.mjs +17 -19
- package/esm2022/lib/tsi-components/input-components/editable-grid/editable-grid.component.mjs +3 -3
- package/esm2022/lib/tsi-components/input-components/tsi-currency-other-input/tsi-currency-other-input.component.mjs +49 -28
- package/esm2022/lib/tsi-components/input-components/tsi-currency-societe-input/tsi-currency-societe-input.component.mjs +46 -28
- package/esm2022/lib/tsi-components/output-components/tsi-currency-other-display/tsi-currency-other-display.component.mjs +37 -10
- package/esm2022/lib/tsi-components/output-components/tsi-currency-societe-display/tsi-currency-societe-display.component.mjs +33 -40
- package/esm2022/lib/tsi-components/output-components/tsi-display-grid/tsi-display-grid.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/poc/locale-poc/locale-poc.component.mjs +68 -36
- package/esm2022/lib/tsi-components/tsi-generic-crud/tsi-generic-crud.component.mjs +35 -15
- package/esm2022/lib/tsi-components/tsi-generic-form/tsi-generic-form.component.mjs +1 -1
- package/esm2022/lib/tsi-components/tsi-kanban/tsi-kanban.component.mjs +1 -1
- package/esm2022/lib/tsi-components/tsi-search-box/tsi-search-box.component.mjs +1 -1
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs +643 -347
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs.map +1 -1
- package/lib/consts/app-providers.d.ts +1 -1
- package/lib/functions/currency-state.functions.d.ts +80 -0
- package/lib/interfaces/pagination/pagination-base.d.ts +1 -0
- package/lib/models/dynamic-form/colonne-personnalisee.d.ts +2 -1
- package/lib/pipes/tsi-currency.pipe.d.ts +6 -4
- package/lib/providers/shared-ui-tsi.provider.d.ts +1 -1
- package/lib/tsi-components/input-components/tsi-currency-other-input/tsi-currency-other-input.component.d.ts +15 -10
- package/lib/tsi-components/input-components/tsi-currency-societe-input/tsi-currency-societe-input.component.d.ts +13 -10
- package/lib/tsi-components/output-components/tsi-currency-other-display/tsi-currency-other-display.component.d.ts +16 -6
- package/lib/tsi-components/output-components/tsi-currency-societe-display/tsi-currency-societe-display.component.d.ts +12 -13
- package/lib/tsi-components/poc/locale-poc/locale-poc.component.d.ts +39 -21
- package/lib/tsi-components/tsi-generic-crud/tsi-generic-crud.component.d.ts +4 -2
- 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
|
|
6
|
+
export declare const appProviders: (typeof DynamicFormService | typeof PresentationDesignerBaseService | typeof InputRegistryService | typeof FormStateService | typeof GenericValidationStateService)[];
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal currency-state resolution shared by the four currency components
|
|
3
|
+
* (Tsi-Currency-Other-Input/Display, Tsi-Currency-Societe-Input/Display).
|
|
4
|
+
*
|
|
5
|
+
* This module is intentionally NOT re-exported from `functions/index.ts`, so it
|
|
6
|
+
* is an internal implementation detail and not part of the library public API.
|
|
7
|
+
*
|
|
8
|
+
* A currency "state" combines two independent checks:
|
|
9
|
+
* 1. Is the currency code a recognized ISO-4217 code?
|
|
10
|
+
* 2. Does the value carry more decimal places than the currency supports?
|
|
11
|
+
* The result drives a two-tier visual state in the components:
|
|
12
|
+
* - `error` → invalid/missing code, or (inputs) a value that exceeds the
|
|
13
|
+
* currency's decimals and therefore cannot be safely edited;
|
|
14
|
+
* - `warning` → (displays) a value that exceeds the currency's decimals, shown
|
|
15
|
+
* raw so no precision is hidden.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* i18n keys resolved by the host app's `LocalizePipe`. Centralized here so the
|
|
19
|
+
* components and the backend translation files (FR/EN/AR) stay in sync.
|
|
20
|
+
*/
|
|
21
|
+
export declare const CurrencyStateKeys: {
|
|
22
|
+
readonly noCurrencySupplied: "sharedUi-currency-error-noCurrencySupplied";
|
|
23
|
+
readonly invalidCurrencySupplied: "sharedUi-currency-error-invalidCurrencySupplied";
|
|
24
|
+
readonly valueExceedsDecimalsError: "sharedUi-currency-error-valueExceedsDecimals";
|
|
25
|
+
readonly valueExceedsDecimalsWarning: "sharedUi-currency-warning-valueExceedsDecimals";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Placeholders replaced when building a message, so the currency and the decimal
|
|
29
|
+
* figures are named inline. Translations must include the tokens they need
|
|
30
|
+
* (see the FR/EN/AR translation files):
|
|
31
|
+
* - `{devise}` → the currency code
|
|
32
|
+
* - `{decimals}` → the value's decimal-place count (mismatch messages only)
|
|
33
|
+
* - `{allowed}` → the decimals the currency allows (mismatch messages only)
|
|
34
|
+
*/
|
|
35
|
+
export declare const CurrencyPlaceholder = "{devise}";
|
|
36
|
+
export declare const ValueDecimalsPlaceholder = "{decimals}";
|
|
37
|
+
export declare const AllowedDecimalsPlaceholder = "{allowed}";
|
|
38
|
+
export type CurrencyStateSeverity = 'ok' | 'error' | 'warning';
|
|
39
|
+
export interface CurrencyState {
|
|
40
|
+
/** Overall severity of the current (code, value) pair. */
|
|
41
|
+
severity: CurrencyStateSeverity;
|
|
42
|
+
/** Whether the currency code itself is a recognized ISO-4217 code. */
|
|
43
|
+
isValid: boolean;
|
|
44
|
+
/** Translation key for the tooltip message (empty when severity === 'ok'). */
|
|
45
|
+
tooltipKey: string;
|
|
46
|
+
/** Fraction digits the currency supports (ISO/locale default); -1 if unknown. */
|
|
47
|
+
isoDecimals: number;
|
|
48
|
+
/** Decimal places the value carries; set only on a decimals mismatch. */
|
|
49
|
+
valueDecimals?: number;
|
|
50
|
+
/** Normalized (upper-cased) currency code, when one was supplied. */
|
|
51
|
+
currencyCode?: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns `true` when `code` is a recognized ISO-4217 currency code.
|
|
55
|
+
*
|
|
56
|
+
* Prefers the exact `Intl.supportedValuesOf('currency')` list; on older runtimes
|
|
57
|
+
* falls back to a 3-letter well-formedness check plus `Intl.NumberFormat`.
|
|
58
|
+
* Case-insensitive (the code is upper-cased before checking).
|
|
59
|
+
*/
|
|
60
|
+
export declare function isValidCurrency(code?: string): boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Resolves the display state for a (currency code, value) pair.
|
|
63
|
+
*
|
|
64
|
+
* @param code ISO-4217 currency code supplied to the component.
|
|
65
|
+
* @param value the monetary value being shown/edited.
|
|
66
|
+
* @param locale locale used to derive the currency's fraction digits.
|
|
67
|
+
* @param mismatchSeverity severity applied when the value exceeds the currency's
|
|
68
|
+
* decimals: `'error'` for inputs (renders read-only),
|
|
69
|
+
* `'warning'` for displays (renders the raw value).
|
|
70
|
+
*/
|
|
71
|
+
export declare function resolveCurrencyState(code: string | undefined, value: number | null | undefined, locale: string, mismatchSeverity: 'error' | 'warning'): CurrencyState;
|
|
72
|
+
/**
|
|
73
|
+
* Builds the tooltip message for a resolved state using the supplied `translate`
|
|
74
|
+
* callback (typically `LocalizePipe.transform`). Falls back to a built-in
|
|
75
|
+
* English message when the key resolves to itself (missing translation), so a
|
|
76
|
+
* raw key slug is never shown. Any {@link CurrencyPlaceholder} token in the
|
|
77
|
+
* message is replaced with the currency code, so the offending currency is named
|
|
78
|
+
* inline.
|
|
79
|
+
*/
|
|
80
|
+
export declare function localizeCurrencyState(state: CurrencyState, translate: (key: string) => string): string;
|
|
@@ -9,13 +9,14 @@ export declare class ColonnePersonnalisee {
|
|
|
9
9
|
groupe: string;
|
|
10
10
|
ordre: number;
|
|
11
11
|
nom: string;
|
|
12
|
+
libelle: string;
|
|
12
13
|
type: string;
|
|
13
14
|
longueur: number;
|
|
14
15
|
data: ColonnePersonnaliseeData;
|
|
15
16
|
observation?: string | undefined;
|
|
16
17
|
formule?: string | undefined;
|
|
17
18
|
requete?: string | undefined;
|
|
18
|
-
constructor(uid: string, classe: string, groupe: string, ordre: number, nom: string, type: string, longueur: number, data: ColonnePersonnaliseeData, observation?: string | undefined, formule?: string | undefined, requete?: string | undefined);
|
|
19
|
+
constructor(uid: string, classe: string, groupe: string, ordre: number, nom: string, libelle: string, type: string, longueur: number, data: ColonnePersonnaliseeData, observation?: string | undefined, formule?: string | undefined, requete?: string | undefined);
|
|
19
20
|
}
|
|
20
21
|
export declare class ColonnePersonnaliseeData {
|
|
21
22
|
uid?: string | undefined;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { CurrencyPipe } from '@angular/common';
|
|
2
1
|
import { PipeTransform } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class TsiCurrencyPipe implements PipeTransform {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
private readonly _display;
|
|
5
|
+
private _locale;
|
|
6
|
+
private _localizationService;
|
|
7
|
+
private _currencyPipe;
|
|
8
|
+
constructor();
|
|
9
|
+
transform(value: number | undefined, currencyCode: string): string | null;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiCurrencyPipe, never>;
|
|
9
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<TsiCurrencyPipe, "tsiCurrency", false>;
|
|
10
12
|
}
|
|
@@ -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
|
})[];
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { TsiInputBase } from '../../../tsi-base/tsi-input-base/tsi-input-base.component';
|
|
3
|
-
import {
|
|
3
|
+
import { CurrencyState } from '../../../functions/currency-state.functions';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TsiCurrencyOtherInputComponent extends TsiInputBase<number | undefined>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
export declare class TsiCurrencyOtherInputComponent extends TsiInputBase<number | undefined> {
|
|
6
|
+
protected currencyState: CurrencyState;
|
|
7
|
+
protected tooltipMessage: string;
|
|
8
|
+
private isValueChanged;
|
|
9
|
+
private _currency?;
|
|
10
|
+
get currency(): string | undefined;
|
|
11
|
+
set currency(value: string | undefined);
|
|
12
|
+
get inputField(): number | undefined;
|
|
13
|
+
set inputField(value: number | undefined);
|
|
9
14
|
class: any;
|
|
10
15
|
inputFieldChange: EventEmitter<number>;
|
|
11
|
-
private
|
|
12
|
-
|
|
16
|
+
private _localizePipe;
|
|
17
|
+
ngOnInit(): void;
|
|
13
18
|
valueChanged(event: any): void;
|
|
14
19
|
onChangeofOptions(): void;
|
|
15
|
-
|
|
20
|
+
private updateCurrencyState;
|
|
16
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiCurrencyOtherInputComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TsiCurrencyOtherInputComponent, "Tsi-Currency-Other-Input", never, { "
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TsiCurrencyOtherInputComponent, "Tsi-Currency-Other-Input", never, { "currency": { "alias": "currency"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "inputFieldChange": "inputFieldChange"; }, never, never, false, never>;
|
|
18
23
|
}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { TsiInputBase } from '../../../tsi-base/tsi-input-base/tsi-input-base.component';
|
|
3
|
-
import {
|
|
4
|
-
import { LocalizePipe } from '../../../pipes/localize.pipe';
|
|
3
|
+
import { CurrencyState } from '../../../functions/currency-state.functions';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TsiCurrencySocieteInputComponent extends TsiInputBase<number | undefined>
|
|
7
|
-
private
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
protected
|
|
5
|
+
export declare class TsiCurrencySocieteInputComponent extends TsiInputBase<number | undefined> {
|
|
6
|
+
private isValueChanged;
|
|
7
|
+
protected currency: string;
|
|
8
|
+
protected currencyState: CurrencyState;
|
|
9
|
+
protected tooltipMessage: string;
|
|
11
10
|
style: any;
|
|
11
|
+
get inputField(): number | undefined;
|
|
12
|
+
set inputField(value: number | undefined);
|
|
12
13
|
class: any;
|
|
13
14
|
inputFieldChange: EventEmitter<number>;
|
|
14
|
-
private
|
|
15
|
-
|
|
15
|
+
private _appSettingsService;
|
|
16
|
+
private _localizePipe;
|
|
17
|
+
constructor();
|
|
16
18
|
ngOnInit(): void;
|
|
17
19
|
valueChanged(event: any): void;
|
|
18
20
|
onChangeofOptions(): void;
|
|
21
|
+
private updateCurrencyState;
|
|
19
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiCurrencySocieteInputComponent, never>;
|
|
20
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<TsiCurrencySocieteInputComponent, "Tsi-Currency-Societe-Input", never, { "class": { "alias": "class"; "required": false; }; }, { "inputFieldChange": "inputFieldChange"; }, never, never, false, never>;
|
|
21
24
|
}
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CurrencyState } from '../../../functions/currency-state.functions';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TsiCurrencyOtherDisplayComponent {
|
|
4
|
+
export declare class TsiCurrencyOtherDisplayComponent implements OnInit {
|
|
5
|
+
protected currencyState: CurrencyState;
|
|
6
|
+
protected tooltipMessage: string;
|
|
7
|
+
private _currency?;
|
|
8
|
+
private _inputData?;
|
|
9
|
+
get currency(): string | undefined;
|
|
10
|
+
get inputData(): number | undefined;
|
|
11
|
+
set currency(value: string | undefined);
|
|
12
|
+
set inputData(value: number | undefined);
|
|
13
|
+
private _localizePipe;
|
|
4
14
|
private _localizationService;
|
|
5
|
-
|
|
15
|
+
private readonly _locale;
|
|
6
16
|
constructor();
|
|
7
|
-
|
|
8
|
-
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
private updateCurrencyState;
|
|
9
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiCurrencyOtherDisplayComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TsiCurrencyOtherDisplayComponent, "Tsi-Currency-Other-Display", never, { "
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TsiCurrencyOtherDisplayComponent, "Tsi-Currency-Other-Display", never, { "currency": { "alias": "currency"; "required": false; }; "inputData": { "alias": "inputData"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
21
|
}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { AppSettingsService } from '../../../services/settings/app-settings.service';
|
|
4
|
-
import { LocaleCode } from '../../../enums/Language';
|
|
2
|
+
import { CurrencyState } from '../../../functions/currency-state.functions';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class TsiCurrencySocieteDisplayComponent implements OnInit {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
protected currency: string;
|
|
6
|
+
protected currencyState: CurrencyState;
|
|
7
|
+
protected tooltipMessage: string;
|
|
8
|
+
private _inputData?;
|
|
9
|
+
get inputData(): number | undefined;
|
|
10
|
+
set inputData(value: number | undefined);
|
|
11
|
+
private _appSettingsService;
|
|
12
|
+
private _localizePipe;
|
|
12
13
|
private _localizationService;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
currencyTraductionKey: string;
|
|
16
|
-
constructor(localizationPipe: LocalizePipe, appSettingsService: AppSettingsService);
|
|
17
|
-
getDigitsInfo(): string;
|
|
14
|
+
private readonly _locale;
|
|
15
|
+
constructor();
|
|
18
16
|
ngOnInit(): void;
|
|
17
|
+
private updateCurrencyState;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TsiCurrencySocieteDisplayComponent, never>;
|
|
20
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<TsiCurrencySocieteDisplayComponent, "Tsi-Currency-Societe-Display", never, { "inputData": { "alias": "inputData"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
20
|
}
|
|
@@ -1,49 +1,67 @@
|
|
|
1
|
+
import { KeyValue } from '@angular/common';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
|
-
* POC component used to validate and demonstrate
|
|
4
|
-
* locale
|
|
4
|
+
* Proof-of-concept (POC) component used to validate and demonstrate
|
|
5
|
+
* the library's locale handling and numeric formatting behavior.
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
* - Enter values
|
|
8
|
-
* -
|
|
7
|
+
* This page allows testers and developers to:
|
|
8
|
+
* - Enter values through input components
|
|
9
|
+
* - Instantly observe formatted results via display components
|
|
9
10
|
*
|
|
10
|
-
*
|
|
11
|
-
* -
|
|
12
|
-
* -
|
|
13
|
-
* -
|
|
11
|
+
* Main purposes:
|
|
12
|
+
* - Manual QA validation
|
|
13
|
+
* - Locale and formatting verification
|
|
14
|
+
* - Development and debugging support
|
|
14
15
|
*
|
|
15
|
-
*
|
|
16
|
+
* Covered formatting scenarios:
|
|
16
17
|
* - Company currency
|
|
17
18
|
* - External currency
|
|
18
19
|
* - Decimal numbers
|
|
19
20
|
* - Rates / percentages
|
|
20
|
-
* - Integers
|
|
21
|
+
* - Integers (with grouping)
|
|
21
22
|
*/
|
|
22
23
|
export declare class LocalePocComponent {
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
+
* Available currencies used for testing currency inputs and displays.
|
|
26
|
+
*/
|
|
27
|
+
currencies: KeyValue<string, string>[];
|
|
28
|
+
/**
|
|
29
|
+
* Company currency code.
|
|
30
|
+
* Bound to the `Tsi-Currency-Societe-Input` component.
|
|
31
|
+
*/
|
|
32
|
+
currencySocieteCode: string;
|
|
33
|
+
/**
|
|
34
|
+
* Company currency amount.
|
|
25
35
|
* Bound to the `Tsi-Currency-Societe-Input` component.
|
|
26
36
|
*/
|
|
27
|
-
|
|
37
|
+
currencySocieteValue: number;
|
|
38
|
+
/**
|
|
39
|
+
* External currency code.
|
|
40
|
+
* Bound to the `Tsi-Currency-Other-Input` component.
|
|
41
|
+
*/
|
|
42
|
+
currencyOtherCode: string;
|
|
28
43
|
/**
|
|
29
|
-
* External currency
|
|
44
|
+
* External currency amount.
|
|
30
45
|
* Bound to the `Tsi-Currency-Other-Input` component.
|
|
31
46
|
*/
|
|
32
|
-
|
|
47
|
+
currencyOtherValue: number;
|
|
33
48
|
/**
|
|
34
|
-
* Decimal value used to validate locale-specific
|
|
35
|
-
* decimal separators
|
|
49
|
+
* Decimal value used to validate locale-specific:
|
|
50
|
+
* - decimal separators
|
|
51
|
+
* - digit grouping behavior
|
|
36
52
|
*/
|
|
37
|
-
|
|
53
|
+
decimalValue: number;
|
|
38
54
|
/**
|
|
39
55
|
* Rate value used to test percentage / rate formatting.
|
|
40
56
|
*/
|
|
41
|
-
|
|
57
|
+
rateValue: number;
|
|
42
58
|
/**
|
|
43
59
|
* Integer value used to validate thousands grouping
|
|
44
|
-
* without decimal
|
|
60
|
+
* without decimal precision.
|
|
45
61
|
*/
|
|
46
|
-
|
|
62
|
+
integerValue: number;
|
|
63
|
+
private _appSettingsService;
|
|
64
|
+
constructor();
|
|
47
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalePocComponent, never>;
|
|
48
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<LocalePocComponent, "lib-locale-poc", never, {}, {}, never, never, false, never>;
|
|
49
67
|
}
|
|
@@ -12,7 +12,6 @@ import { EntityInfo } from '../../models/entity-info/entity-info';
|
|
|
12
12
|
import { PresentationSetting } from '../../models/presentation-settings/presentation-settings';
|
|
13
13
|
import { LocalizePipe } from '../../pipes/localize.pipe';
|
|
14
14
|
import { CrudBaseService } from '../../services/base/crud-base.service';
|
|
15
|
-
import { DiscriminatorService } from '../../services/configuration/discriminator.service';
|
|
16
15
|
import { EntityConfigurationService } from '../../services/configuration/entity-configuration.service';
|
|
17
16
|
import { DialogDataService } from '../../services/dialog-data.service';
|
|
18
17
|
import { FichierUploadService } from '../../services/fichier/fichier-upload.service';
|
|
@@ -22,6 +21,8 @@ import { TsiNotificationService } from '../../services/notification/tsi-notifica
|
|
|
22
21
|
import { RecordInfoPopupService } from '../../services/record-info-popup.service';
|
|
23
22
|
import { WorkflowConfigurationService } from '../../services/workflow/workflow-configuration.service';
|
|
24
23
|
import { TsiGenericGridComponent } from '../output-components/tsi-generic-grid/tsi-generic-grid.component';
|
|
24
|
+
import { DiscriminatorService } from '../../services/configuration/discriminator.service';
|
|
25
|
+
import { ColonnePersonnaliseeService } from '../../services/dynamic-form/colonne-personnalisee.service';
|
|
25
26
|
import * as i0 from "@angular/core";
|
|
26
27
|
export declare class TsiGenericCrudComponent implements OnInit, AfterContentChecked {
|
|
27
28
|
private _messageService;
|
|
@@ -37,6 +38,7 @@ export declare class TsiGenericCrudComponent implements OnInit, AfterContentChec
|
|
|
37
38
|
private notesService;
|
|
38
39
|
private _injector;
|
|
39
40
|
private _discriminatorService;
|
|
41
|
+
private _colonnePersonnaliseeService;
|
|
40
42
|
private _dialogRef?;
|
|
41
43
|
private _formEndpoint;
|
|
42
44
|
protected filterIcon: string;
|
|
@@ -121,7 +123,7 @@ export declare class TsiGenericCrudComponent implements OnInit, AfterContentChec
|
|
|
121
123
|
currentTooltip: string;
|
|
122
124
|
viewOptions: MenuItem[];
|
|
123
125
|
page$: BehaviorSubject<any>;
|
|
124
|
-
constructor(_messageService: TsiNotificationService, msgService: MessageService, _tsiModalService: TsiModalService, _cdRef: ChangeDetectorRef, localize: LocalizePipe, dialogDataService: DialogDataService, fichierService: FichierUploadService, recordInfoPopupService: RecordInfoPopupService, _workflowConfigurationService: WorkflowConfigurationService, _entityConfigService: EntityConfigurationService, notesService: NoteService, _injector: EnvironmentInjector, _discriminatorService: DiscriminatorService);
|
|
126
|
+
constructor(_messageService: TsiNotificationService, msgService: MessageService, _tsiModalService: TsiModalService, _cdRef: ChangeDetectorRef, localize: LocalizePipe, dialogDataService: DialogDataService, fichierService: FichierUploadService, recordInfoPopupService: RecordInfoPopupService, _workflowConfigurationService: WorkflowConfigurationService, _entityConfigService: EntityConfigurationService, notesService: NoteService, _injector: EnvironmentInjector, _discriminatorService: DiscriminatorService, _colonnePersonnaliseeService: ColonnePersonnaliseeService);
|
|
125
127
|
ngAfterContentChecked(): void;
|
|
126
128
|
getState(): import("primeng/api").TableState | null | undefined;
|
|
127
129
|
restoreState(configuration: string): void;
|