@tsi-developpement/tsi-shared-ui 1.10.0 → 1.10.3
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/index.mjs +2 -1
- package/esm2022/lib/functions/number.functions.mjs +93 -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/tsi-components/input-components/editable-grid/editable-grid.component.mjs +5 -14
- package/esm2022/lib/tsi-components/output-components/tsi-display-grid/tsi-display-grid.component.mjs +4 -6
- package/esm2022/lib/tsi-components/output-components/tsi-view-grid/tsi-view-grid.component.mjs +3 -6
- package/esm2022/lib/tsi-components/tsi-generic-crud/tsi-generic-crud.component.mjs +35 -15
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs +256 -160
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs.map +1 -1
- package/lib/consts/app-providers.d.ts +1 -1
- package/lib/functions/index.d.ts +1 -0
- package/lib/functions/number.functions.d.ts +49 -0
- package/lib/interfaces/pagination/pagination-base.d.ts +1 -0
- package/lib/models/dynamic-form/colonne-personnalisee.d.ts +2 -1
- package/lib/providers/shared-ui-tsi.provider.d.ts +1 -1
- package/lib/tsi-components/tsi-generic-crud/tsi-generic-crud.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -66,7 +66,7 @@ import * as i5$1 from 'primeng/toolbar';
|
|
|
66
66
|
import { ToolbarModule } from 'primeng/toolbar';
|
|
67
67
|
import * as i5$2 from 'primeng/treetable';
|
|
68
68
|
import { TreeTableModule } from 'primeng/treetable';
|
|
69
|
-
import * as
|
|
69
|
+
import * as i15 from 'primeng/splitbutton';
|
|
70
70
|
import { SplitButtonModule } from 'primeng/splitbutton';
|
|
71
71
|
import * as i8 from 'primeng/fileupload';
|
|
72
72
|
import { FileUploadModule } from 'primeng/fileupload';
|
|
@@ -2996,6 +2996,206 @@ const rtlModeKeys = {
|
|
|
2996
2996
|
rtlModeEnabled: 'rtlModeEnabled',
|
|
2997
2997
|
};
|
|
2998
2998
|
|
|
2999
|
+
function splitArrayIntoChunks(array, chunkSize) {
|
|
3000
|
+
const result = [];
|
|
3001
|
+
for (let i = 0; i < array.length; i += chunkSize) {
|
|
3002
|
+
result.push(array.slice(i, i + chunkSize));
|
|
3003
|
+
}
|
|
3004
|
+
return result;
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
/**
|
|
3008
|
+
* Library initializer utilities.
|
|
3009
|
+
*
|
|
3010
|
+
* This file contains functions responsible for initializing
|
|
3011
|
+
* global features required by the library at application startup.
|
|
3012
|
+
*
|
|
3013
|
+
* Typical responsibilities may include:
|
|
3014
|
+
* - Registering Angular locale data
|
|
3015
|
+
* - Registering global providers
|
|
3016
|
+
* - Configuring library services
|
|
3017
|
+
* - Performing feature bootstrapping
|
|
3018
|
+
*
|
|
3019
|
+
* These functions are intended to be called once during
|
|
3020
|
+
* application initialization (for example in `main.ts`).
|
|
3021
|
+
*/
|
|
3022
|
+
/**
|
|
3023
|
+
* Registers the locale data used by the library.
|
|
3024
|
+
*
|
|
3025
|
+
* Angular only bundles the default `en-US` locale. Any additional locales
|
|
3026
|
+
* required by pipes such as `DatePipe`, `CurrencyPipe`, `DecimalPipe`,
|
|
3027
|
+
* and `PercentPipe` must be explicitly registered at runtime.
|
|
3028
|
+
*
|
|
3029
|
+
* This function registers all locales supported by the library so that
|
|
3030
|
+
* Angular formatting pipes can correctly format dates, numbers, and
|
|
3031
|
+
* currencies according to the active locale.
|
|
3032
|
+
*
|
|
3033
|
+
* Currently registered locales:
|
|
3034
|
+
* - French (France) → `fr-FR`
|
|
3035
|
+
* - English (United Kingdom) → `en-GB`
|
|
3036
|
+
* - Arabic (Tunisia) → `ar-TN`
|
|
3037
|
+
*
|
|
3038
|
+
* This method should typically be called once during application
|
|
3039
|
+
* initialization (for example in `main.ts` or during app bootstrap).
|
|
3040
|
+
*
|
|
3041
|
+
* Example:
|
|
3042
|
+
* ```ts
|
|
3043
|
+
* import { registerLibraryLocales } from 'my-library';
|
|
3044
|
+
*
|
|
3045
|
+
* registerLibraryLocales();
|
|
3046
|
+
* ```
|
|
3047
|
+
*/
|
|
3048
|
+
function registerLibraryLocales() {
|
|
3049
|
+
registerLocaleData(localeFr, LocaleCode.Fr);
|
|
3050
|
+
registerLocaleData(localeEnGb, LocaleCode.En);
|
|
3051
|
+
registerLocaleData(localeArTn, LocaleCode.Ar);
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
/**
|
|
3055
|
+
* Determines whether a value is null, undefined, or considered "empty".
|
|
3056
|
+
*
|
|
3057
|
+
* A value is considered empty if:
|
|
3058
|
+
* - It is `null` or `undefined`
|
|
3059
|
+
* - It is a `number` and is `NaN`
|
|
3060
|
+
* - It is a `string` that is empty or contains only whitespace
|
|
3061
|
+
* - It is an `array` with no elements
|
|
3062
|
+
*
|
|
3063
|
+
* @param value - The value to evaluate.
|
|
3064
|
+
* @returns `true` if the value is null or empty; otherwise, `false`.
|
|
3065
|
+
*/
|
|
3066
|
+
function isNullOrEmpty(value) {
|
|
3067
|
+
if (value == null || value == undefined)
|
|
3068
|
+
return true;
|
|
3069
|
+
if (typeof value === 'number') {
|
|
3070
|
+
return Number.isNaN(value);
|
|
3071
|
+
}
|
|
3072
|
+
if (typeof value === 'string') {
|
|
3073
|
+
return value.trim().length === 0;
|
|
3074
|
+
}
|
|
3075
|
+
if (Array.isArray(value)) {
|
|
3076
|
+
return value.length === 0;
|
|
3077
|
+
}
|
|
3078
|
+
return false;
|
|
3079
|
+
}
|
|
3080
|
+
/**
|
|
3081
|
+
* Returns a new array containing only unique values from the input array.
|
|
3082
|
+
*
|
|
3083
|
+
* Works for all primitive types (`string`, `number`, `boolean`, `bigint`, `symbol`).
|
|
3084
|
+
* Removes duplicates while preserving the original order.
|
|
3085
|
+
*
|
|
3086
|
+
* @template T - Primitive type.
|
|
3087
|
+
* @param {T[]} values - Array of primitive values to filter.
|
|
3088
|
+
* @returns {T[]} A new array containing only distinct values.
|
|
3089
|
+
*
|
|
3090
|
+
* @example
|
|
3091
|
+
* distinct([1, 2, 1, 3]); // returns [1, 2, 3]
|
|
3092
|
+
* distinct(['a', 'b', 'a']); // returns ['a', 'b']
|
|
3093
|
+
* distinct([true, false, true]); // returns [true, false]
|
|
3094
|
+
*/
|
|
3095
|
+
function distinct(values) {
|
|
3096
|
+
return [...new Set(values)];
|
|
3097
|
+
}
|
|
3098
|
+
function lowerFirst(value) {
|
|
3099
|
+
if (!value || value.length === 0)
|
|
3100
|
+
return '';
|
|
3101
|
+
return value.charAt(0).toLowerCase() + value.slice(1);
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* Numeric helpers that avoid IEEE 754 floating-point accumulation errors.
|
|
3106
|
+
*
|
|
3107
|
+
* JavaScript's `number` is an IEEE 754 double, so decimal fractions such as
|
|
3108
|
+
* `0.1` or `0.2` have no exact binary representation. Summing them naively
|
|
3109
|
+
* (`a + b + c ...`) lets each rounding error compound, producing artifacts like
|
|
3110
|
+
* `0.1 + 0.2 === 0.30000000000000004`.
|
|
3111
|
+
*
|
|
3112
|
+
* These helpers use integer scaling: every value is scaled up to an integer by
|
|
3113
|
+
* the largest number of decimal places present, the addition is performed in the
|
|
3114
|
+
* (exact) integer domain, then the result is scaled back down. No third-party
|
|
3115
|
+
* dependency is required.
|
|
3116
|
+
*
|
|
3117
|
+
* Boundary: integer scaling can exceed `Number.MAX_SAFE_INTEGER` when summing
|
|
3118
|
+
* very large numbers at high decimal precision (e.g. 6-decimal values totalling
|
|
3119
|
+
* into the billions). For currency (2 decimals) the safe headroom is ~9e13, so
|
|
3120
|
+
* this is a non-issue in practice.
|
|
3121
|
+
*/
|
|
3122
|
+
/**
|
|
3123
|
+
* Counts the number of significant decimal places in a finite number,
|
|
3124
|
+
* correctly handling values serialized in exponential notation (e.g. `1e-7`).
|
|
3125
|
+
*
|
|
3126
|
+
* @param value - The number to inspect.
|
|
3127
|
+
* @returns The count of decimal places (0 for integers and non-finite input).
|
|
3128
|
+
*/
|
|
3129
|
+
function decimalPlaces(value) {
|
|
3130
|
+
if (!Number.isFinite(value))
|
|
3131
|
+
return 0;
|
|
3132
|
+
const text = Math.abs(value).toString();
|
|
3133
|
+
// Exponential notation, e.g. "1e-7" or "1.23e-4".
|
|
3134
|
+
const exponentIndex = text.indexOf('e-');
|
|
3135
|
+
if (exponentIndex >= 0) {
|
|
3136
|
+
const mantissa = text.slice(0, exponentIndex);
|
|
3137
|
+
const exponent = Number(text.slice(exponentIndex + 2));
|
|
3138
|
+
const mantissaDecimals = mantissa.includes('.') ? mantissa.split('.')[1].length : 0;
|
|
3139
|
+
return mantissaDecimals + exponent;
|
|
3140
|
+
}
|
|
3141
|
+
const dotIndex = text.indexOf('.');
|
|
3142
|
+
return dotIndex >= 0 ? text.length - dotIndex - 1 : 0;
|
|
3143
|
+
}
|
|
3144
|
+
/**
|
|
3145
|
+
* Sums an array of numbers without IEEE 754 accumulation error.
|
|
3146
|
+
*
|
|
3147
|
+
* Uses integer scaling for an exact decimal result. `null`, `undefined` and
|
|
3148
|
+
* non-finite entries (`NaN`, `Infinity`) are ignored (contribute `0`) so a
|
|
3149
|
+
* single missing/invalid cell cannot poison the whole total. An empty,
|
|
3150
|
+
* `null` or `undefined` input returns `0`.
|
|
3151
|
+
*
|
|
3152
|
+
* @param values - The values to sum (may contain gaps).
|
|
3153
|
+
* @returns The precise sum, or `0` when there is nothing to add.
|
|
3154
|
+
*
|
|
3155
|
+
* @example
|
|
3156
|
+
* preciseSum([0.1, 0.2]); // 0.3 (not 0.30000000000000004)
|
|
3157
|
+
* preciseSum([1.005, 2.5, 3]); // 6.505
|
|
3158
|
+
* preciseSum([10, null, undefined]); // 10
|
|
3159
|
+
* preciseSum([]); // 0
|
|
3160
|
+
*/
|
|
3161
|
+
function preciseSum(values) {
|
|
3162
|
+
if (values == null || values.length === 0)
|
|
3163
|
+
return 0;
|
|
3164
|
+
let maxDecimals = 0;
|
|
3165
|
+
for (const value of values) {
|
|
3166
|
+
if (value != null && Number.isFinite(value)) {
|
|
3167
|
+
const decimals = decimalPlaces(value);
|
|
3168
|
+
if (decimals > maxDecimals)
|
|
3169
|
+
maxDecimals = decimals;
|
|
3170
|
+
}
|
|
3171
|
+
}
|
|
3172
|
+
const scale = Math.pow(10, maxDecimals);
|
|
3173
|
+
let scaledSum = 0;
|
|
3174
|
+
for (const value of values) {
|
|
3175
|
+
if (value != null && Number.isFinite(value)) {
|
|
3176
|
+
scaledSum += Math.round(value * scale);
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
return scaledSum / scale;
|
|
3180
|
+
}
|
|
3181
|
+
/**
|
|
3182
|
+
* Adds two numbers without IEEE 754 accumulation error.
|
|
3183
|
+
*
|
|
3184
|
+
* `null`, `undefined` and non-finite operands are treated as `0`.
|
|
3185
|
+
*
|
|
3186
|
+
* @param a - First operand.
|
|
3187
|
+
* @param b - Second operand.
|
|
3188
|
+
* @returns The precise sum of `a` and `b`.
|
|
3189
|
+
*
|
|
3190
|
+
* @example
|
|
3191
|
+
* preciseAdd(0.1, 0.2); // 0.3 (not 0.30000000000000004)
|
|
3192
|
+
*/
|
|
3193
|
+
function preciseAdd(a, b) {
|
|
3194
|
+
return preciseSum([a, b]);
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
// export * from './modal-open.function'
|
|
3198
|
+
|
|
2999
3199
|
class CrudBaseService {
|
|
3000
3200
|
constructor(_httpClient, endpoint) {
|
|
3001
3201
|
this._httpClient = _httpClient;
|
|
@@ -3154,113 +3354,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
3154
3354
|
}]
|
|
3155
3355
|
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3156
3356
|
|
|
3157
|
-
function splitArrayIntoChunks(array, chunkSize) {
|
|
3158
|
-
const result = [];
|
|
3159
|
-
for (let i = 0; i < array.length; i += chunkSize) {
|
|
3160
|
-
result.push(array.slice(i, i + chunkSize));
|
|
3161
|
-
}
|
|
3162
|
-
return result;
|
|
3163
|
-
}
|
|
3164
|
-
|
|
3165
|
-
/**
|
|
3166
|
-
* Library initializer utilities.
|
|
3167
|
-
*
|
|
3168
|
-
* This file contains functions responsible for initializing
|
|
3169
|
-
* global features required by the library at application startup.
|
|
3170
|
-
*
|
|
3171
|
-
* Typical responsibilities may include:
|
|
3172
|
-
* - Registering Angular locale data
|
|
3173
|
-
* - Registering global providers
|
|
3174
|
-
* - Configuring library services
|
|
3175
|
-
* - Performing feature bootstrapping
|
|
3176
|
-
*
|
|
3177
|
-
* These functions are intended to be called once during
|
|
3178
|
-
* application initialization (for example in `main.ts`).
|
|
3179
|
-
*/
|
|
3180
|
-
/**
|
|
3181
|
-
* Registers the locale data used by the library.
|
|
3182
|
-
*
|
|
3183
|
-
* Angular only bundles the default `en-US` locale. Any additional locales
|
|
3184
|
-
* required by pipes such as `DatePipe`, `CurrencyPipe`, `DecimalPipe`,
|
|
3185
|
-
* and `PercentPipe` must be explicitly registered at runtime.
|
|
3186
|
-
*
|
|
3187
|
-
* This function registers all locales supported by the library so that
|
|
3188
|
-
* Angular formatting pipes can correctly format dates, numbers, and
|
|
3189
|
-
* currencies according to the active locale.
|
|
3190
|
-
*
|
|
3191
|
-
* Currently registered locales:
|
|
3192
|
-
* - French (France) → `fr-FR`
|
|
3193
|
-
* - English (United Kingdom) → `en-GB`
|
|
3194
|
-
* - Arabic (Tunisia) → `ar-TN`
|
|
3195
|
-
*
|
|
3196
|
-
* This method should typically be called once during application
|
|
3197
|
-
* initialization (for example in `main.ts` or during app bootstrap).
|
|
3198
|
-
*
|
|
3199
|
-
* Example:
|
|
3200
|
-
* ```ts
|
|
3201
|
-
* import { registerLibraryLocales } from 'my-library';
|
|
3202
|
-
*
|
|
3203
|
-
* registerLibraryLocales();
|
|
3204
|
-
* ```
|
|
3205
|
-
*/
|
|
3206
|
-
function registerLibraryLocales() {
|
|
3207
|
-
registerLocaleData(localeFr, LocaleCode.Fr);
|
|
3208
|
-
registerLocaleData(localeEnGb, LocaleCode.En);
|
|
3209
|
-
registerLocaleData(localeArTn, LocaleCode.Ar);
|
|
3210
|
-
}
|
|
3211
|
-
|
|
3212
|
-
/**
|
|
3213
|
-
* Determines whether a value is null, undefined, or considered "empty".
|
|
3214
|
-
*
|
|
3215
|
-
* A value is considered empty if:
|
|
3216
|
-
* - It is `null` or `undefined`
|
|
3217
|
-
* - It is a `number` and is `NaN`
|
|
3218
|
-
* - It is a `string` that is empty or contains only whitespace
|
|
3219
|
-
* - It is an `array` with no elements
|
|
3220
|
-
*
|
|
3221
|
-
* @param value - The value to evaluate.
|
|
3222
|
-
* @returns `true` if the value is null or empty; otherwise, `false`.
|
|
3223
|
-
*/
|
|
3224
|
-
function isNullOrEmpty(value) {
|
|
3225
|
-
if (value == null || value == undefined)
|
|
3226
|
-
return true;
|
|
3227
|
-
if (typeof value === 'number') {
|
|
3228
|
-
return Number.isNaN(value);
|
|
3229
|
-
}
|
|
3230
|
-
if (typeof value === 'string') {
|
|
3231
|
-
return value.trim().length === 0;
|
|
3232
|
-
}
|
|
3233
|
-
if (Array.isArray(value)) {
|
|
3234
|
-
return value.length === 0;
|
|
3235
|
-
}
|
|
3236
|
-
return false;
|
|
3237
|
-
}
|
|
3238
|
-
/**
|
|
3239
|
-
* Returns a new array containing only unique values from the input array.
|
|
3240
|
-
*
|
|
3241
|
-
* Works for all primitive types (`string`, `number`, `boolean`, `bigint`, `symbol`).
|
|
3242
|
-
* Removes duplicates while preserving the original order.
|
|
3243
|
-
*
|
|
3244
|
-
* @template T - Primitive type.
|
|
3245
|
-
* @param {T[]} values - Array of primitive values to filter.
|
|
3246
|
-
* @returns {T[]} A new array containing only distinct values.
|
|
3247
|
-
*
|
|
3248
|
-
* @example
|
|
3249
|
-
* distinct([1, 2, 1, 3]); // returns [1, 2, 3]
|
|
3250
|
-
* distinct(['a', 'b', 'a']); // returns ['a', 'b']
|
|
3251
|
-
* distinct([true, false, true]); // returns [true, false]
|
|
3252
|
-
*/
|
|
3253
|
-
function distinct(values) {
|
|
3254
|
-
return [...new Set(values)];
|
|
3255
|
-
}
|
|
3256
|
-
function lowerFirst(value) {
|
|
3257
|
-
if (!value || value.length === 0)
|
|
3258
|
-
return '';
|
|
3259
|
-
return value.charAt(0).toLowerCase() + value.slice(1);
|
|
3260
|
-
}
|
|
3261
|
-
|
|
3262
|
-
// export * from './modal-open.function'
|
|
3263
|
-
|
|
3264
3357
|
//#region example
|
|
3265
3358
|
const templateSample = `
|
|
3266
3359
|
<table style="border-collapse: collapse; font-family: Arial, sans-serif; border: 1px solid #000; width: 100%;">
|
|
@@ -8321,22 +8414,12 @@ class EditableGridComponent extends TsiInputBase {
|
|
|
8321
8414
|
}
|
|
8322
8415
|
getSummary(col) {
|
|
8323
8416
|
if (col.haveSummary == true) {
|
|
8324
|
-
|
|
8325
|
-
this.gridData.forEach((row) => {
|
|
8326
|
-
sum += row[col.field];
|
|
8327
|
-
});
|
|
8328
|
-
return sum;
|
|
8417
|
+
return preciseSum((this.gridData ?? []).map((row) => row[col.field]));
|
|
8329
8418
|
}
|
|
8330
8419
|
return 0;
|
|
8331
8420
|
}
|
|
8332
8421
|
rowSummary(row) {
|
|
8333
|
-
|
|
8334
|
-
this.columns.forEach(col => {
|
|
8335
|
-
if (col.rowSummary == true) {
|
|
8336
|
-
sum += row[col.field];
|
|
8337
|
-
}
|
|
8338
|
-
});
|
|
8339
|
-
return sum;
|
|
8422
|
+
return preciseSum(this.columns.filter(col => col.rowSummary == true).map(col => row[col.field]));
|
|
8340
8423
|
}
|
|
8341
8424
|
onRowSelected(event) {
|
|
8342
8425
|
this.selectedItem = event.data;
|
|
@@ -8587,7 +8670,7 @@ class EditableGridComponent extends TsiInputBase {
|
|
|
8587
8670
|
}
|
|
8588
8671
|
_fusionRows(row1, row2) {
|
|
8589
8672
|
this._sumAtFusionFields?.forEach(f => {
|
|
8590
|
-
row1[f]
|
|
8673
|
+
row1[f] = preciseAdd(row1[f], row2[f]);
|
|
8591
8674
|
});
|
|
8592
8675
|
}
|
|
8593
8676
|
_cancelPendingDuplicateEmit() {
|
|
@@ -13572,11 +13655,7 @@ class TsiViewGridComponent {
|
|
|
13572
13655
|
}
|
|
13573
13656
|
}
|
|
13574
13657
|
getSummary(col, gridData) {
|
|
13575
|
-
|
|
13576
|
-
gridData?.forEach((row) => {
|
|
13577
|
-
sum += row[col.field];
|
|
13578
|
-
});
|
|
13579
|
-
return sum;
|
|
13658
|
+
return preciseSum((gridData ?? []).map((row) => row[col.field]));
|
|
13580
13659
|
}
|
|
13581
13660
|
onSelectedItemsChange(event) {
|
|
13582
13661
|
this.selectedItemsChange.emit(event);
|
|
@@ -14154,6 +14233,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
14154
14233
|
}]
|
|
14155
14234
|
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
14156
14235
|
|
|
14236
|
+
class ColonnePersonnaliseeService {
|
|
14237
|
+
constructor(_httpClient) {
|
|
14238
|
+
this._httpClient = _httpClient;
|
|
14239
|
+
}
|
|
14240
|
+
getColonnesPersonnalisee(businessClass, occurrence) {
|
|
14241
|
+
return this._httpClient.get(AdministrationEndpoints.getcolonnesPersonnalisee(businessClass, occurrence));
|
|
14242
|
+
}
|
|
14243
|
+
addOrUpdateFormulaireData(colonnePersonnaliseeDataList) {
|
|
14244
|
+
return this._httpClient.post(AdministrationEndpoints.createOrUpdateFormulaireData(), colonnePersonnaliseeDataList);
|
|
14245
|
+
}
|
|
14246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14247
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, providedIn: 'root' }); }
|
|
14248
|
+
}
|
|
14249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, decorators: [{
|
|
14250
|
+
type: Injectable,
|
|
14251
|
+
args: [{
|
|
14252
|
+
providedIn: 'root'
|
|
14253
|
+
}]
|
|
14254
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
14255
|
+
|
|
14157
14256
|
class TsiGenericCrudComponent {
|
|
14158
14257
|
//#endregion
|
|
14159
14258
|
//#region Inputs
|
|
@@ -14188,6 +14287,26 @@ class TsiGenericCrudComponent {
|
|
|
14188
14287
|
this._businessClass = value;
|
|
14189
14288
|
if (this._businessClass) {
|
|
14190
14289
|
this.getWorkflowEtatFormForCurrentBusinessClass();
|
|
14290
|
+
this._colonnePersonnaliseeService.getColonnesPersonnalisee(this._businessClass).subscribe({
|
|
14291
|
+
next: (res) => {
|
|
14292
|
+
let ccs = res.flatMap(r => r.colonnes);
|
|
14293
|
+
console.log(ccs);
|
|
14294
|
+
if (this.isCustomColumnRendered == false && ccs && ccs.length > 0) {
|
|
14295
|
+
// Add custom columns to the grid
|
|
14296
|
+
ccs.forEach(col => {
|
|
14297
|
+
let customColumnGrid = {
|
|
14298
|
+
header: col.libelle,
|
|
14299
|
+
field: col.nom,
|
|
14300
|
+
filterInputType: col.type,
|
|
14301
|
+
isCustomColumn: true,
|
|
14302
|
+
translatedHeader: col.libelle,
|
|
14303
|
+
};
|
|
14304
|
+
this.selectedColumns.push(customColumnGrid);
|
|
14305
|
+
});
|
|
14306
|
+
this.isCustomColumnRendered = true;
|
|
14307
|
+
}
|
|
14308
|
+
},
|
|
14309
|
+
});
|
|
14191
14310
|
}
|
|
14192
14311
|
}
|
|
14193
14312
|
set searchOnInit(value) {
|
|
@@ -14201,7 +14320,7 @@ class TsiGenericCrudComponent {
|
|
|
14201
14320
|
get searchOnInit() {
|
|
14202
14321
|
return this._searchOnInit;
|
|
14203
14322
|
}
|
|
14204
|
-
constructor(_messageService, msgService, _tsiModalService, _cdRef, localize, dialogDataService, fichierService, recordInfoPopupService, _workflowConfigurationService, _entityConfigService, notesService, _injector, _discriminatorService) {
|
|
14323
|
+
constructor(_messageService, msgService, _tsiModalService, _cdRef, localize, dialogDataService, fichierService, recordInfoPopupService, _workflowConfigurationService, _entityConfigService, notesService, _injector, _discriminatorService, _colonnePersonnaliseeService) {
|
|
14205
14324
|
this._messageService = _messageService;
|
|
14206
14325
|
this.msgService = msgService;
|
|
14207
14326
|
this._tsiModalService = _tsiModalService;
|
|
@@ -14215,6 +14334,7 @@ class TsiGenericCrudComponent {
|
|
|
14215
14334
|
this.notesService = notesService;
|
|
14216
14335
|
this._injector = _injector;
|
|
14217
14336
|
this._discriminatorService = _discriminatorService;
|
|
14337
|
+
this._colonnePersonnaliseeService = _colonnePersonnaliseeService;
|
|
14218
14338
|
this._formEndpoint = undefined;
|
|
14219
14339
|
this.filterIcon = 'pi pi-filter';
|
|
14220
14340
|
this.filterTooltip = 'show_filter';
|
|
@@ -14549,9 +14669,7 @@ class TsiGenericCrudComponent {
|
|
|
14549
14669
|
.sort((a, b) => a.order - b.order),
|
|
14550
14670
|
...this.selectedColumns.filter(col => col.order === undefined),
|
|
14551
14671
|
];
|
|
14552
|
-
this.selectedColumns.map((column) => (column.translatedHeader = column.header
|
|
14553
|
-
? this.localize.transform(column.header)
|
|
14554
|
-
: column.header));
|
|
14672
|
+
this.selectedColumns.map((column) => (column.translatedHeader = column.header ? this.localize.transform(column.header) : column.header));
|
|
14555
14673
|
this.viewOptions = [
|
|
14556
14674
|
{
|
|
14557
14675
|
label: this.localize.transform('shared_tsi_component_grid_list_view'),
|
|
@@ -15111,13 +15229,13 @@ class TsiGenericCrudComponent {
|
|
|
15111
15229
|
}
|
|
15112
15230
|
return null;
|
|
15113
15231
|
}
|
|
15114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiGenericCrudComponent, deps: [{ token: TsiNotificationService }, { token: i2$1.MessageService }, { token: TsiModalService }, { token: i0.ChangeDetectorRef }, { token: LocalizePipe }, { token: DialogDataService }, { token: FichierUploadService }, { token: RecordInfoPopupService }, { token: WorkflowConfigurationService }, { token: EntityConfigurationService }, { token: NoteService }, { token: i0.EnvironmentInjector }, { token: DiscriminatorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15115
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: { entityInfo: "entityInfo", modalData: "modalData", columns: "columns", gridConfiguration: "gridConfiguration", cudComponent: "cudComponent", crudService: "crudService", header: "header", modalSize: "modalSize", descriminatorValue: "descriminatorValue", presentationSettings: "presentationSettings", preventAddEvent: "preventAddEvent", formEndpoint: "formEndpoint", formName: "formName", isSearchButtonDisabled: "isSearchButtonDisabled", showHeaderFilters: "showHeaderFilters", showEditButton: "showEditButton", showDeleteButton: "showDeleteButton", showAddButton: "showAddButton", showConsultButton: "showConsultButton", showUploadButton: "showUploadButton", showNoteButton: "showNoteButton", showDownloadButton: "showDownloadButton", showInfoButton: "showInfoButton", showDuplicateButton: "showDuplicateButton", showFormButton: "showFormButton", showCalenderView: "showCalenderView", showCardView: "showCardView", showImportFromOutlookButton: "showImportFromOutlookButton", showKanbanView: "showKanbanView", showKanbanViewOfWorkFlowEtat: "showKanbanViewOfWorkFlowEtat", showSearchField: "showSearchField", searchFields: "searchFields", calenderSchema: "calenderSchema", showActionButton: "showActionButton", sizingMode: "sizingMode", selectKeyOnly: "selectKeyOnly", selectionMode: "selectionMode", selectedItems: "selectedItems", key: "key", id: "id", businessClass: "businessClass", searchOnInit: "searchOnInit", showGlobalSearch: "showGlobalSearch", showExportButton: "showExportButton", showReporting: "showReporting" }, outputs: { selectedItemsChange: "selectedItemsChange", searchFieldsValueChanged: "searchFieldsValueChanged", buttonColumnClicked: "buttonColumnClicked", onImportFromOutlookClicked: "onImportFromOutlookClicked" }, host: { listeners: { "window:keydown": "handleKeyDown($event)" } }, providers: [TsiNotificationService], viewQueries: [{ propertyName: "genericGridComponent", first: true, predicate: TsiGenericGridComponent, descendants: true }], ngImport: i0, template: "<div class=\"card\">\r\n \r\n <p-toolbar styleClass=\"border-radius-7 mb-1 flex align-items-center gap-2 no-pad\" \r\n *ngIf=\"(showAddButton || searchFields || formEndpoint || businessClass) && showReporting\">\r\n\r\n <ng-template pTemplate=\"left\">\r\n <div class=\"flex gap-2 mx-2\">\r\n <div *ngIf=\"showAddButton\" presentationDesignerBase=\"add_button\">\r\n <Tsi-Button icon=\"pi pi-plus\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_add_view\" \r\n styleClass=\"p-button-success hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"openNew()\">\r\n </Tsi-Button>\r\n </div>\r\n <div *ngIf=\"searchFields\" presentationDesignerBase=\"show_search_fields_button\">\r\n <Tsi-Button icon=\"pi pi-sliders-h\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n tooltipText=\"shared_tsi_component_menu\"\r\n styleClass=\"h-2rem p-button-icon-only hover:shadow-6 {{ showSearchField ? 'p-button-secondary' : 'p-button-success' }}\"\r\n (click)=\"displaySearchFields()\">\r\n </Tsi-Button>\r\n </div>\r\n\r\n <div *ngIf=\"showImportFromOutlookButton\" presentationDesignerBase=\"importFromOutlook_button\">\r\n <Tsi-Button icon=\"pi pi-envelope\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_import_from_outlook\" \r\n styleClass=\"p-button-info hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"onImportClicked()\"> \r\n </Tsi-Button>\r\n </div>\r\n\r\n <div presentationDesignerBase=\"toggle_actions_view_button\">\r\n <p-splitButton\r\n [icon]=\"currentIcon\"\r\n [model]=\"viewOptions\"\r\n (onClick)=\"handleActionViewClick()\"\r\n [tooltip]=\"currentTooltip | localize\"\r\n class=\"p-button-icon-only p-button-rounded p-button-primary h-2rem hover:shadow-6\"\r\n />\r\n <!-- <Tsi-Button\r\n [icon]=\"currentIcon\"\r\n styleClass=\"p-element p-button-primary h-2rem p-button p-component p-button-icon-only\"\r\n (click)=\"handleActionViewClick()\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n [tooltipText]=\"currentTooltip | localize\">\r\n </Tsi-Button> -->\r\n </div>\r\n\r\n \r\n\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"right\">\r\n <app-reporting *ngIf=\"(formEndpoint || businessClass)\" \r\n [formEndpoint]=\"formEndpoint\" \r\n [formName]=\"formName\"\r\n [formEndpointBody]=\"formEndpointBody\" \r\n [isFormEndpointPaged]=\"true\"\r\n [businessClass]=\"businessClass\"\r\n [reportDiscriminator]=\"descriminatorValue\"\r\n (refreshData)=\"refresh($event)\"\r\n [filtersHtmlTemplate]=\"filtersHtmlTemplate\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [cudComponent]=\"cudComponent\" \r\n [configModeButtonId]=\"configModeButtonId\"\r\n [showNoteButton]=\"false\"\r\n [showActionButton]=\"false\"\r\n [showInfoButton]=\"false\"\r\n [showUploadButton]=\"false\"\r\n ></app-reporting>\r\n </ng-template>\r\n </p-toolbar>\r\n\r\n <div>\r\n\r\n <Tsi-Generic-Grid\r\n [formName]=\"formName\"\r\n [crudService]=\"crudService\"\r\n [showSearchField]=\"showSearchField\"\r\n [searchFields]=\"searchFields\"\r\n [descriminatorValue]=\"descriminatorValue\"\r\n [header]=\"header\"\r\n [page]=\"page\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [columns]=\"selectedColumns\"\r\n [showHeaderFilters]=\"showHeaderFilters\"\r\n [(filtersHtmlTemplate)]=\"filtersHtmlTemplate\"\r\n [presentationSettings]=\"presentationSettings\"\r\n (load)=\"load($event)\"\r\n (buttonColumnClicked)=\"handleButtonColumnClicked($event)\"\r\n [selectKeyOnly]=\"selectKeyOnly\"\r\n [selectionMode]=\"selectionMode\"\r\n [key]=\"key\"\r\n [(selectedItems)]=\"selectedItems\"\r\n (selectedItemsChange)=\"onSelectedItemsChange($event)\"\r\n (searchFieldsValueChanged)=\"searchFieldValueChanges($event)\"\r\n [searchOnInit]=\"searchOnInit\"\r\n [showExportButton]=\"showExportButton\"\r\n [showGlobalSearch]=\"showGlobalSearch\"\r\n [isSearchButtonDisabled]=\"isSearchButtonDisabled\"\r\n [showCalenderView]=\"showCalenderView\"\r\n [showCardView]=\"showCardView\"\r\n [showKanbanView]=\"showKanbanView\"\r\n [showKanbanViewOfWorkFlowEtat]=\"showKanbanViewOfWorkFlowEtat\"\r\n [businessClass]=\"businessClass\"\r\n [groupBy]=\"groupBy\"\r\n [cudComponent]=\"cudComponent\"\r\n [modalSize]=\"modalSize\" \r\n [id]=\"id\"\r\n [page$]=\"page$\"\r\n [entityInfo]=\"entityInfo\"\r\n (calendarEventClick)=\"handleCalendarEventClick($event)\"\r\n (statusFilterChanged)=\"onStatusFilterChanged($event)\"\r\n [showInfoButton]=\"true\"\r\n [showDownloadButton]=\"true\"\r\n [showUploadButton]=\"true\"\r\n [showNoteButton]=\"true\"\r\n [showActionButton]=\"true\"\r\n [sizingMode]=\"sizingMode\"\r\n ></Tsi-Generic-Grid>\r\n </div>\r\n \r\n</div>\r\n", styles: [".p-button{padding:.1rem!important}.tlbar{border:1px solid gainsboro;padding:2px;background:#f8f9fa}.hide-search-fields{background-color:#64748b!important;border-color:#64748b!important}::ng-deep .no-pad{padding:0!important}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i5$1.Toolbar, selector: "p-toolbar", inputs: ["style", "styleClass", "ariaLabelledBy"] }, { kind: "component", type: i14.SplitButton, selector: "p-splitButton", inputs: ["model", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "icon", "iconPos", "label", "tooltip", "tooltipOptions", "style", "styleClass", "menuStyle", "menuStyleClass", "appendTo", "dir", "expandAriaLabel", "showTransitionOptions", "hideTransitionOptions", "buttonProps", "menuButtonProps", "autofocus", "disabled", "tabindex", "menuButtonDisabled", "buttonDisabled"], outputs: ["onClick", "onMenuHide", "onMenuShow", "onDropdownClick"] }, { kind: "component", type: TsiGenericGridComponent, selector: "Tsi-Generic-Grid", inputs: ["cudComponent", "modalSize", "showInfoButton", "showDownloadButton", "showUploadButton", "showNoteButton", "showActionButton", "sizingMode", "formName", "id", "pagedRequest", "configuration", "page", "key", "columns", "isSearchButtonDisabled", "filteredColumns", "gridData", "isTableLoading", "parent", "showSearchBox", "showActionColumn", "showHeaderFilters", "showFilterButton", "isGridDataPagedInApi", "header", "ShowFilterColumns", "showImportExportButton", "crudService", "searchFields", "sortMode", "filtersHtmlTemplate", "presentationSettings", "selectKeyOnly", "selectionMode", "selectedItems", "searchOnInit", "showGlobalSearch", "showExportButton", "showSearchField", "showCalenderView", "calenderSchema", "showCardView", "showKanbanView", "showKanbanViewOfWorkFlowEtat", "page$", "checkedByField", "selectAll", "targetBusinessClass", "descriminatorValue", "businessClass", "groupBy", "entityInfo"], outputs: ["onSave", "editRow", "deleteRow", "load", "buttonColumnClicked", "filtersHtmlTemplateChange", "selectedItemsChange", "searchFieldsValueChanged", "calendarEventClick", "statusFilterChanged"] }, { kind: "component", type: TsiButtonComponent, selector: "Tsi-Button", inputs: ["disabled", "text", "style", "tooltipText", "tooltipPosition", "buttonType", "icon", "styleClass", "iconSrc", "id", "iconWidth", "iconClass"], outputs: ["onClick", "rightClick"] }, { kind: "component", type: ReportingComponent, selector: "app-reporting", inputs: ["showImportExportButton", "showNoteButton", "showInfoButton", "showUploadButton", "showActionButton", "isReportingToolbarDisabled", "formName", "formEndpoint", "formEndpointBody", "isFormEndpointPaged", "filtersHtmlTemplate", "optionalEndpoints", "businessClass", "cudComponent", "httpMethodType", "requestData", "customReportingMode", "pagedRequest", "reportDiscriminator", "nombreDocumentsJoints", "id", "configModeButtonId", "selectedItemUids", "fromTsiForm", "customSendMailMode", "reportingInformation"], outputs: ["onSave", "refreshData", "closedModalFileUpload", "toggleDesignMode"] }, { kind: "directive", type: PresentationDesignerDirectiveBase, selector: "[presentationDesignerBase]:not(tsi-tab-panel)", inputs: ["presentationDesigner", "presentationDesignerBase"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }] }); }
|
|
15232
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiGenericCrudComponent, deps: [{ token: TsiNotificationService }, { token: i2$1.MessageService }, { token: TsiModalService }, { token: i0.ChangeDetectorRef }, { token: LocalizePipe }, { token: DialogDataService }, { token: FichierUploadService }, { token: RecordInfoPopupService }, { token: WorkflowConfigurationService }, { token: EntityConfigurationService }, { token: NoteService }, { token: i0.EnvironmentInjector }, { token: DiscriminatorService }, { token: ColonnePersonnaliseeService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15233
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TsiGenericCrudComponent, selector: "Tsi-Generic-Crud", inputs: { entityInfo: "entityInfo", modalData: "modalData", columns: "columns", gridConfiguration: "gridConfiguration", cudComponent: "cudComponent", crudService: "crudService", header: "header", modalSize: "modalSize", descriminatorValue: "descriminatorValue", presentationSettings: "presentationSettings", preventAddEvent: "preventAddEvent", formEndpoint: "formEndpoint", formName: "formName", isSearchButtonDisabled: "isSearchButtonDisabled", showHeaderFilters: "showHeaderFilters", showEditButton: "showEditButton", showDeleteButton: "showDeleteButton", showAddButton: "showAddButton", showConsultButton: "showConsultButton", showUploadButton: "showUploadButton", showNoteButton: "showNoteButton", showDownloadButton: "showDownloadButton", showInfoButton: "showInfoButton", showDuplicateButton: "showDuplicateButton", showFormButton: "showFormButton", showCalenderView: "showCalenderView", showCardView: "showCardView", showImportFromOutlookButton: "showImportFromOutlookButton", showKanbanView: "showKanbanView", showKanbanViewOfWorkFlowEtat: "showKanbanViewOfWorkFlowEtat", showSearchField: "showSearchField", searchFields: "searchFields", calenderSchema: "calenderSchema", showActionButton: "showActionButton", sizingMode: "sizingMode", selectKeyOnly: "selectKeyOnly", selectionMode: "selectionMode", selectedItems: "selectedItems", key: "key", id: "id", businessClass: "businessClass", searchOnInit: "searchOnInit", showGlobalSearch: "showGlobalSearch", showExportButton: "showExportButton", showReporting: "showReporting" }, outputs: { selectedItemsChange: "selectedItemsChange", searchFieldsValueChanged: "searchFieldsValueChanged", buttonColumnClicked: "buttonColumnClicked", onImportFromOutlookClicked: "onImportFromOutlookClicked" }, host: { listeners: { "window:keydown": "handleKeyDown($event)" } }, providers: [TsiNotificationService], viewQueries: [{ propertyName: "genericGridComponent", first: true, predicate: TsiGenericGridComponent, descendants: true }], ngImport: i0, template: "<div class=\"card\">\r\n \r\n <p-toolbar styleClass=\"border-radius-7 mb-1 flex align-items-center gap-2 no-pad\" \r\n *ngIf=\"(showAddButton || searchFields || formEndpoint || businessClass) && showReporting\">\r\n\r\n <ng-template pTemplate=\"left\">\r\n <div class=\"flex gap-2 mx-2\">\r\n <div *ngIf=\"showAddButton\" presentationDesignerBase=\"add_button\">\r\n <Tsi-Button icon=\"pi pi-plus\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_add_view\" \r\n styleClass=\"p-button-success hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"openNew()\">\r\n </Tsi-Button>\r\n </div>\r\n <div *ngIf=\"searchFields\" presentationDesignerBase=\"show_search_fields_button\">\r\n <Tsi-Button icon=\"pi pi-sliders-h\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n tooltipText=\"shared_tsi_component_menu\"\r\n styleClass=\"h-2rem p-button-icon-only hover:shadow-6 {{ showSearchField ? 'p-button-secondary' : 'p-button-success' }}\"\r\n (click)=\"displaySearchFields()\">\r\n </Tsi-Button>\r\n </div>\r\n\r\n <div *ngIf=\"showImportFromOutlookButton\" presentationDesignerBase=\"importFromOutlook_button\">\r\n <Tsi-Button icon=\"pi pi-envelope\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_import_from_outlook\" \r\n styleClass=\"p-button-info hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"onImportClicked()\"> \r\n </Tsi-Button>\r\n </div>\r\n\r\n <div presentationDesignerBase=\"toggle_actions_view_button\">\r\n <p-splitButton\r\n [icon]=\"currentIcon\"\r\n [model]=\"viewOptions\"\r\n (onClick)=\"handleActionViewClick()\"\r\n [tooltip]=\"currentTooltip | localize\"\r\n class=\"p-button-icon-only p-button-rounded p-button-primary h-2rem hover:shadow-6\"\r\n />\r\n <!-- <Tsi-Button\r\n [icon]=\"currentIcon\"\r\n styleClass=\"p-element p-button-primary h-2rem p-button p-component p-button-icon-only\"\r\n (click)=\"handleActionViewClick()\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n [tooltipText]=\"currentTooltip | localize\">\r\n </Tsi-Button> -->\r\n </div>\r\n\r\n \r\n\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"right\">\r\n <app-reporting *ngIf=\"(formEndpoint || businessClass)\" \r\n [formEndpoint]=\"formEndpoint\" \r\n [formName]=\"formName\"\r\n [formEndpointBody]=\"formEndpointBody\" \r\n [isFormEndpointPaged]=\"true\"\r\n [businessClass]=\"businessClass\"\r\n [reportDiscriminator]=\"descriminatorValue\"\r\n (refreshData)=\"refresh($event)\"\r\n [filtersHtmlTemplate]=\"filtersHtmlTemplate\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [cudComponent]=\"cudComponent\" \r\n [configModeButtonId]=\"configModeButtonId\"\r\n [showNoteButton]=\"false\"\r\n [showActionButton]=\"false\"\r\n [showInfoButton]=\"false\"\r\n [showUploadButton]=\"false\"\r\n ></app-reporting>\r\n </ng-template>\r\n </p-toolbar>\r\n\r\n <div>\r\n\r\n <Tsi-Generic-Grid\r\n [formName]=\"formName\"\r\n [crudService]=\"crudService\"\r\n [showSearchField]=\"showSearchField\"\r\n [searchFields]=\"searchFields\"\r\n [descriminatorValue]=\"descriminatorValue\"\r\n [header]=\"header\"\r\n [page]=\"page\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [columns]=\"selectedColumns\"\r\n [showHeaderFilters]=\"showHeaderFilters\"\r\n [(filtersHtmlTemplate)]=\"filtersHtmlTemplate\"\r\n [presentationSettings]=\"presentationSettings\"\r\n (load)=\"load($event)\"\r\n (buttonColumnClicked)=\"handleButtonColumnClicked($event)\"\r\n [selectKeyOnly]=\"selectKeyOnly\"\r\n [selectionMode]=\"selectionMode\"\r\n [key]=\"key\"\r\n [(selectedItems)]=\"selectedItems\"\r\n (selectedItemsChange)=\"onSelectedItemsChange($event)\"\r\n (searchFieldsValueChanged)=\"searchFieldValueChanges($event)\"\r\n [searchOnInit]=\"searchOnInit\"\r\n [showExportButton]=\"showExportButton\"\r\n [showGlobalSearch]=\"showGlobalSearch\"\r\n [isSearchButtonDisabled]=\"isSearchButtonDisabled\"\r\n [showCalenderView]=\"showCalenderView\"\r\n [showCardView]=\"showCardView\"\r\n [showKanbanView]=\"showKanbanView\"\r\n [showKanbanViewOfWorkFlowEtat]=\"showKanbanViewOfWorkFlowEtat\"\r\n [businessClass]=\"businessClass\"\r\n [groupBy]=\"groupBy\"\r\n [cudComponent]=\"cudComponent\"\r\n [modalSize]=\"modalSize\" \r\n [id]=\"id\"\r\n [page$]=\"page$\"\r\n [entityInfo]=\"entityInfo\"\r\n (calendarEventClick)=\"handleCalendarEventClick($event)\"\r\n (statusFilterChanged)=\"onStatusFilterChanged($event)\"\r\n [showInfoButton]=\"true\"\r\n [showDownloadButton]=\"true\"\r\n [showUploadButton]=\"true\"\r\n [showNoteButton]=\"true\"\r\n [showActionButton]=\"true\"\r\n [sizingMode]=\"sizingMode\"\r\n ></Tsi-Generic-Grid>\r\n </div>\r\n \r\n</div>\r\n", styles: [".p-button{padding:.1rem!important}.tlbar{border:1px solid gainsboro;padding:2px;background:#f8f9fa}.hide-search-fields{background-color:#64748b!important;border-color:#64748b!important}::ng-deep .no-pad{padding:0!important}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i5$1.Toolbar, selector: "p-toolbar", inputs: ["style", "styleClass", "ariaLabelledBy"] }, { kind: "component", type: i15.SplitButton, selector: "p-splitButton", inputs: ["model", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "icon", "iconPos", "label", "tooltip", "tooltipOptions", "style", "styleClass", "menuStyle", "menuStyleClass", "appendTo", "dir", "expandAriaLabel", "showTransitionOptions", "hideTransitionOptions", "buttonProps", "menuButtonProps", "autofocus", "disabled", "tabindex", "menuButtonDisabled", "buttonDisabled"], outputs: ["onClick", "onMenuHide", "onMenuShow", "onDropdownClick"] }, { kind: "component", type: TsiGenericGridComponent, selector: "Tsi-Generic-Grid", inputs: ["cudComponent", "modalSize", "showInfoButton", "showDownloadButton", "showUploadButton", "showNoteButton", "showActionButton", "sizingMode", "formName", "id", "pagedRequest", "configuration", "page", "key", "columns", "isSearchButtonDisabled", "filteredColumns", "gridData", "isTableLoading", "parent", "showSearchBox", "showActionColumn", "showHeaderFilters", "showFilterButton", "isGridDataPagedInApi", "header", "ShowFilterColumns", "showImportExportButton", "crudService", "searchFields", "sortMode", "filtersHtmlTemplate", "presentationSettings", "selectKeyOnly", "selectionMode", "selectedItems", "searchOnInit", "showGlobalSearch", "showExportButton", "showSearchField", "showCalenderView", "calenderSchema", "showCardView", "showKanbanView", "showKanbanViewOfWorkFlowEtat", "page$", "checkedByField", "selectAll", "targetBusinessClass", "descriminatorValue", "businessClass", "groupBy", "entityInfo"], outputs: ["onSave", "editRow", "deleteRow", "load", "buttonColumnClicked", "filtersHtmlTemplateChange", "selectedItemsChange", "searchFieldsValueChanged", "calendarEventClick", "statusFilterChanged"] }, { kind: "component", type: TsiButtonComponent, selector: "Tsi-Button", inputs: ["disabled", "text", "style", "tooltipText", "tooltipPosition", "buttonType", "icon", "styleClass", "iconSrc", "id", "iconWidth", "iconClass"], outputs: ["onClick", "rightClick"] }, { kind: "component", type: ReportingComponent, selector: "app-reporting", inputs: ["showImportExportButton", "showNoteButton", "showInfoButton", "showUploadButton", "showActionButton", "isReportingToolbarDisabled", "formName", "formEndpoint", "formEndpointBody", "isFormEndpointPaged", "filtersHtmlTemplate", "optionalEndpoints", "businessClass", "cudComponent", "httpMethodType", "requestData", "customReportingMode", "pagedRequest", "reportDiscriminator", "nombreDocumentsJoints", "id", "configModeButtonId", "selectedItemUids", "fromTsiForm", "customSendMailMode", "reportingInformation"], outputs: ["onSave", "refreshData", "closedModalFileUpload", "toggleDesignMode"] }, { kind: "directive", type: PresentationDesignerDirectiveBase, selector: "[presentationDesignerBase]:not(tsi-tab-panel)", inputs: ["presentationDesigner", "presentationDesignerBase"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }] }); }
|
|
15116
15234
|
}
|
|
15117
15235
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TsiGenericCrudComponent, decorators: [{
|
|
15118
15236
|
type: Component,
|
|
15119
15237
|
args: [{ selector: 'Tsi-Generic-Crud', providers: [TsiNotificationService], template: "<div class=\"card\">\r\n \r\n <p-toolbar styleClass=\"border-radius-7 mb-1 flex align-items-center gap-2 no-pad\" \r\n *ngIf=\"(showAddButton || searchFields || formEndpoint || businessClass) && showReporting\">\r\n\r\n <ng-template pTemplate=\"left\">\r\n <div class=\"flex gap-2 mx-2\">\r\n <div *ngIf=\"showAddButton\" presentationDesignerBase=\"add_button\">\r\n <Tsi-Button icon=\"pi pi-plus\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_add_view\" \r\n styleClass=\"p-button-success hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"openNew()\">\r\n </Tsi-Button>\r\n </div>\r\n <div *ngIf=\"searchFields\" presentationDesignerBase=\"show_search_fields_button\">\r\n <Tsi-Button icon=\"pi pi-sliders-h\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n tooltipText=\"shared_tsi_component_menu\"\r\n styleClass=\"h-2rem p-button-icon-only hover:shadow-6 {{ showSearchField ? 'p-button-secondary' : 'p-button-success' }}\"\r\n (click)=\"displaySearchFields()\">\r\n </Tsi-Button>\r\n </div>\r\n\r\n <div *ngIf=\"showImportFromOutlookButton\" presentationDesignerBase=\"importFromOutlook_button\">\r\n <Tsi-Button icon=\"pi pi-envelope\" \r\n [tooltipPosition]=\"tooltipPosition.Top\" \r\n tooltipText=\"shared_tsi_component_import_from_outlook\" \r\n styleClass=\"p-button-info hover:shadow-6 h-2rem p-button-icon-only\" \r\n (click)=\"onImportClicked()\"> \r\n </Tsi-Button>\r\n </div>\r\n\r\n <div presentationDesignerBase=\"toggle_actions_view_button\">\r\n <p-splitButton\r\n [icon]=\"currentIcon\"\r\n [model]=\"viewOptions\"\r\n (onClick)=\"handleActionViewClick()\"\r\n [tooltip]=\"currentTooltip | localize\"\r\n class=\"p-button-icon-only p-button-rounded p-button-primary h-2rem hover:shadow-6\"\r\n />\r\n <!-- <Tsi-Button\r\n [icon]=\"currentIcon\"\r\n styleClass=\"p-element p-button-primary h-2rem p-button p-component p-button-icon-only\"\r\n (click)=\"handleActionViewClick()\"\r\n [tooltipPosition]=\"tooltipPosition.Top\"\r\n [tooltipText]=\"currentTooltip | localize\">\r\n </Tsi-Button> -->\r\n </div>\r\n\r\n \r\n\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"right\">\r\n <app-reporting *ngIf=\"(formEndpoint || businessClass)\" \r\n [formEndpoint]=\"formEndpoint\" \r\n [formName]=\"formName\"\r\n [formEndpointBody]=\"formEndpointBody\" \r\n [isFormEndpointPaged]=\"true\"\r\n [businessClass]=\"businessClass\"\r\n [reportDiscriminator]=\"descriminatorValue\"\r\n (refreshData)=\"refresh($event)\"\r\n [filtersHtmlTemplate]=\"filtersHtmlTemplate\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [cudComponent]=\"cudComponent\" \r\n [configModeButtonId]=\"configModeButtonId\"\r\n [showNoteButton]=\"false\"\r\n [showActionButton]=\"false\"\r\n [showInfoButton]=\"false\"\r\n [showUploadButton]=\"false\"\r\n ></app-reporting>\r\n </ng-template>\r\n </p-toolbar>\r\n\r\n <div>\r\n\r\n <Tsi-Generic-Grid\r\n [formName]=\"formName\"\r\n [crudService]=\"crudService\"\r\n [showSearchField]=\"showSearchField\"\r\n [searchFields]=\"searchFields\"\r\n [descriminatorValue]=\"descriminatorValue\"\r\n [header]=\"header\"\r\n [page]=\"page\"\r\n [pagedRequest]=\"pagedRequest\"\r\n [columns]=\"selectedColumns\"\r\n [showHeaderFilters]=\"showHeaderFilters\"\r\n [(filtersHtmlTemplate)]=\"filtersHtmlTemplate\"\r\n [presentationSettings]=\"presentationSettings\"\r\n (load)=\"load($event)\"\r\n (buttonColumnClicked)=\"handleButtonColumnClicked($event)\"\r\n [selectKeyOnly]=\"selectKeyOnly\"\r\n [selectionMode]=\"selectionMode\"\r\n [key]=\"key\"\r\n [(selectedItems)]=\"selectedItems\"\r\n (selectedItemsChange)=\"onSelectedItemsChange($event)\"\r\n (searchFieldsValueChanged)=\"searchFieldValueChanges($event)\"\r\n [searchOnInit]=\"searchOnInit\"\r\n [showExportButton]=\"showExportButton\"\r\n [showGlobalSearch]=\"showGlobalSearch\"\r\n [isSearchButtonDisabled]=\"isSearchButtonDisabled\"\r\n [showCalenderView]=\"showCalenderView\"\r\n [showCardView]=\"showCardView\"\r\n [showKanbanView]=\"showKanbanView\"\r\n [showKanbanViewOfWorkFlowEtat]=\"showKanbanViewOfWorkFlowEtat\"\r\n [businessClass]=\"businessClass\"\r\n [groupBy]=\"groupBy\"\r\n [cudComponent]=\"cudComponent\"\r\n [modalSize]=\"modalSize\" \r\n [id]=\"id\"\r\n [page$]=\"page$\"\r\n [entityInfo]=\"entityInfo\"\r\n (calendarEventClick)=\"handleCalendarEventClick($event)\"\r\n (statusFilterChanged)=\"onStatusFilterChanged($event)\"\r\n [showInfoButton]=\"true\"\r\n [showDownloadButton]=\"true\"\r\n [showUploadButton]=\"true\"\r\n [showNoteButton]=\"true\"\r\n [showActionButton]=\"true\"\r\n [sizingMode]=\"sizingMode\"\r\n ></Tsi-Generic-Grid>\r\n </div>\r\n \r\n</div>\r\n", styles: [".p-button{padding:.1rem!important}.tlbar{border:1px solid gainsboro;padding:2px;background:#f8f9fa}.hide-search-fields{background-color:#64748b!important;border-color:#64748b!important}::ng-deep .no-pad{padding:0!important}\n"] }]
|
|
15120
|
-
}], ctorParameters: () => [{ type: TsiNotificationService }, { type: i2$1.MessageService }, { type: TsiModalService }, { type: i0.ChangeDetectorRef }, { type: LocalizePipe }, { type: DialogDataService }, { type: FichierUploadService }, { type: RecordInfoPopupService }, { type: WorkflowConfigurationService }, { type: EntityConfigurationService }, { type: NoteService }, { type: i0.EnvironmentInjector }, { type: DiscriminatorService }], propDecorators: { entityInfo: [{
|
|
15238
|
+
}], ctorParameters: () => [{ type: TsiNotificationService }, { type: i2$1.MessageService }, { type: TsiModalService }, { type: i0.ChangeDetectorRef }, { type: LocalizePipe }, { type: DialogDataService }, { type: FichierUploadService }, { type: RecordInfoPopupService }, { type: WorkflowConfigurationService }, { type: EntityConfigurationService }, { type: NoteService }, { type: i0.EnvironmentInjector }, { type: DiscriminatorService }, { type: ColonnePersonnaliseeService }], propDecorators: { entityInfo: [{
|
|
15121
15239
|
type: Input
|
|
15122
15240
|
}], genericGridComponent: [{
|
|
15123
15241
|
type: ViewChild,
|
|
@@ -15544,26 +15662,6 @@ const Themes = {
|
|
|
15544
15662
|
LARA_LIGHT_INDIGO: 'lara-light-indigo',
|
|
15545
15663
|
};
|
|
15546
15664
|
|
|
15547
|
-
class ColonnePersonnaliseeService {
|
|
15548
|
-
constructor(_httpClient) {
|
|
15549
|
-
this._httpClient = _httpClient;
|
|
15550
|
-
}
|
|
15551
|
-
getColonnesPersonnalisee(businessClass, occurrence) {
|
|
15552
|
-
return this._httpClient.get(AdministrationEndpoints.getcolonnesPersonnalisee(businessClass, occurrence));
|
|
15553
|
-
}
|
|
15554
|
-
addOrUpdateFormulaireData(colonnePersonnaliseeDataList) {
|
|
15555
|
-
return this._httpClient.post(AdministrationEndpoints.createOrUpdateFormulaireData(), colonnePersonnaliseeDataList);
|
|
15556
|
-
}
|
|
15557
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15558
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, providedIn: 'root' }); }
|
|
15559
|
-
}
|
|
15560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColonnePersonnaliseeService, decorators: [{
|
|
15561
|
-
type: Injectable,
|
|
15562
|
-
args: [{
|
|
15563
|
-
providedIn: 'root'
|
|
15564
|
-
}]
|
|
15565
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
15566
|
-
|
|
15567
15665
|
const formType = {
|
|
15568
15666
|
string: 'STRING',
|
|
15569
15667
|
int: 'INT',
|
|
@@ -15579,12 +15677,13 @@ class ColonnePersonnaliseeGroupedResponse {
|
|
|
15579
15677
|
}
|
|
15580
15678
|
}
|
|
15581
15679
|
class ColonnePersonnalisee {
|
|
15582
|
-
constructor(uid, classe, groupe, ordre, nom, type, longueur, data, observation, formule, requete) {
|
|
15680
|
+
constructor(uid, classe, groupe, ordre, nom, libelle, type, longueur, data, observation, formule, requete) {
|
|
15583
15681
|
this.uid = uid;
|
|
15584
15682
|
this.classe = classe;
|
|
15585
15683
|
this.groupe = groupe;
|
|
15586
15684
|
this.ordre = ordre;
|
|
15587
15685
|
this.nom = nom;
|
|
15686
|
+
this.libelle = libelle;
|
|
15588
15687
|
this.type = type;
|
|
15589
15688
|
this.longueur = longueur;
|
|
15590
15689
|
this.data = data;
|
|
@@ -20879,13 +20978,10 @@ class TsiDisplayGridComponent {
|
|
|
20879
20978
|
return this.gridData ? this.gridData : [];
|
|
20880
20979
|
}
|
|
20881
20980
|
getSummary(col) {
|
|
20882
|
-
let sum = 0;
|
|
20883
20981
|
if (col.haveSummary == true) {
|
|
20884
|
-
this.gridData
|
|
20885
|
-
sum += row[col.field];
|
|
20886
|
-
});
|
|
20982
|
+
return preciseSum((this.gridData ?? []).map((row) => row[col.field]));
|
|
20887
20983
|
}
|
|
20888
|
-
return
|
|
20984
|
+
return 0;
|
|
20889
20985
|
}
|
|
20890
20986
|
onSelectedItemsChanged() {
|
|
20891
20987
|
if (this.selectKeyOnly) {
|
|
@@ -24039,5 +24135,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
24039
24135
|
* Generated bundle index. Do not edit.
|
|
24040
24136
|
*/
|
|
24041
24137
|
|
|
24042
|
-
export { ActionErpService, ActionPlacement, AdDirective, AdItem, AddReportPopupComponent, AdminGuard, AdminRoutes, AdministrationEndpoints, AdministrationSegments, AdvancedSearchComponentService, AlertImportMessageComponent, ApiDateTimeFormat, ApiExplorerService, AppBaseComponent, AppRoutes, AppSettingsService, AuthenticationGuard, AuthorizationEndpoints, AuthorizationSegments, AuthorizationService, AuthorizationTokenMapper, AutoComplete, AutoSelectDirective, BsModalRef, BusyDirective, ButtonType, ChooseChoiceMfaMethodComponent, ClaimTypes, CodeFormat, CollectionChangeAction, ComboStatusModel, Component_Modes, ContextMenuComponent, CreateOrEditDynamicFormComponent, CreateOrEditEntityInformationsComponent, CreateOrEditModeleImportComponent, CrudBaseService, CurrentUser, CurrentUserService, CutLabelPipe, DateFormat, DateFormatDisplay, DateHelper, DateHelperService, DatePickerDateFormat, DatePickerDateTimeFormat, DatePickerTimeFormat, DateTimeFormat, DateTimeFormatDisplay, DecimalFormat, DefaultSocieteDevise, Devise, DialogDataService, DisplayNestedPropComponent, DisplayTypeColors, DisplayTypes, DynamicFormListComponent, EditableGridComponent, EndpointInfos, EntityColumnDetailResponse, EntityConfigurationService, EntityInfo, EntityInfoWithRelations, EntityRelation, EntityStatusService, EntityValidationsService, ErrorResponseManagerService, ExecuteImportRequest, ExportExcelHelper, Fichier, FilterByExistingValues, FilterByProprety, FilterHelper, FilterOperatorType, FilterOperatorTypeDescriptions, FormValidationError, FormulaService, GenericFormHelper, GenericValidationStateService, GetWorkflowInstanceInformationRequest, GridSelectionMode, GridSizingMode, GridSortMode, Guid, Helpers, HtmlTemplateGeneratorService, HtmlTemplates, HttpMethodType, IdentityManagerService, IdentityPlatformAuthenticationService, IdentityPlatformEndpoints, IdentityPlatformSegments, IdentityRoutes, ImportExportEndPoints, ImportExportSegments, ImportResult, InputRegistryService, InputTypes, JournalisationApplication, JournalisationApplicationService, KeyboardShortcutService, LanguageInformations, LanguageLocale, LanguagesCodes, LayoutHelperService, LayoutOrientation, LocaleCode, LocalePocComponent, LocalizationKeys, LocalizePipe, LogoutPopupComponent, MFAEnum, MailingService, ManageImportExportComponent, ManageReportingComponent, ManageReportingRoutes, MappingHelper, ModalComponent, ModalLabelPipe, ModalLoaderComponent, ModalSizeEnum, ModeleImportCreateRequest, ModeleImportDetail, ModeleImportService, Modes, ModuleCodeService, ModuleMainParameterDirective, ModuleMainParameterService, NoteService, NumericDisplayTypes, ObjectHelper, ObservableCollection, PagedResultRequestBase, PermissionGuard, PresentationDesignerDirective, PresentationDesignerDirectiveBase, PresentationDesignerService, PresentationDesignerTabPanelDirective, PresentationSetting, PresentationSettingDetail, PresentationSettingService, ProceedLoginRequest, ProgressBarHelperService, ProgressBarResponse, ProgressBarService, ProgressBarUpdateRequest, RecordInfoPopupService, ReportingComponent, ReportingEndpoints, ReportingSegments, ReportingService, RequestTrackerInterceptor, RequestTrackerService, Segment, Segments, SeparateurDecimal, SeparateurMillier, SharedComponentReferenceHelper, SharedModule, SharedUiTsiProviders, ShortenPipe, SpinnerComponent, Status, StatusHistory, StatusHistoryService, StorageManager, SubscriptionResult, TS_ValidDateFormat, TS_ValidDateTimeFormat, TS_ValidTimeFormat, TextBoxType, Themes, TimeFormat, TimeOnly, TimeZoneLocale, ToNumberPipe, TooltipPosition, TranslationService, TsiActionErpCreateOrEditComponent, TsiActionErpListComponent, TsiBaseComponent, TsiBsModalService, TsiBubbleInfoComponent, TsiButtonComponent, TsiCalenderComponent, TsiCard, TsiCardComponent, TsiCardListComponent, TsiChangePasswordComponent, TsiCheckboxComponent, TsiCheckboxDisplayComponent, TsiCodeGeneratorComponent, TsiComponentEnum, TsiComponentFinderService, TsiConfirmationService, TsiCurrencyOtherDisplayComponent, TsiCurrencyOtherInputComponent, TsiCurrencyPipe, TsiCurrencySocieteDisplayComponent, TsiCurrencySocieteInputComponent, TsiDateDisplayComponent, TsiDatePickerComponent, TsiDecimalDisplayComponent, TsiDecimalInputComponent, TsiDecimalPipe, TsiDisplayGridComponent, TsiDividerComponent, TsiErrorMessageComponent, TsiFileManagerComponent, TsiFilePreviewComponent, TsiFormComponent, TsiFormComponentBaseComponent, TsiFormModalFooterComponent, TsiFormulaBoxComponent, TsiGenericCrudComponent, TsiGenericFormComponent, TsiGenericGridComponent, TsiImageDisplayComponent, TsiInfoMessageComponent, TsiInputBase, TsiIntegerComponent, TsiIntegerDisplayComponent, TsiKanbanComponent, TsiKanbanWorkflowEtatComponent, TsiLabelComponent, TsiLabelLegendComponent, TsiLegendComponent, TsiListBaseComponent, TsiLogEventHistoryComponent, TsiMessageService, TsiModalComponent, TsiModalFooterComponent, TsiModalHeaderComponent, TsiModalService, TsiNotesAvertirComponent, TsiNotesComponent, TsiNotesGridComponent, TsiNotificationService, TsiParagraphComponent, TsiPopupTextViewerComponent, TsiProgressBarComponent, TsiRadioButtonComponent, TsiRateDisplayComponent, TsiRateInputComponent, TsiRedirectionMessageComponent, TsiReportType, TsiSearchBoxComponent, TsiSearchComboComponent, TsiSendMailComponent, TsiSubmitButtonComponent, TsiSuccessMessageComponent, TsiTabPanelComponent, TsiTabViewComponent, TsiTemplate, TsiTenantsComponent, TsiTextAreaComponent, TsiTextBoxComponent, TsiTimeDisplayComponent, TsiTimePickerComponent, TsiTooltipComponent, TsiUploadFicheComponent, TsiUploadGridComponent, TsiViewGridComponent, TypeFichier, TypeImportEnum, TypeRegistryHelper, UpdateEntityInfoWithRelationsRequest, UserIdentityService, ValidationDirective, VerificationCodeComponent, VerificationCodeInscriptionComponent, VerificationCodeSmsComponent, WorkflowConfigurationService, WorkflowEtatForm, WorkflowEtatKanbanRequest, WorkflowEtatSuivantResponse, appProviders, authorization, dashboardConst, defaultCardHeader, distinct, executeImportResult, initSharedComponents, isNullOrEmpty, isPinnableCssSize, lengthValidator, locals, logoutReasonEnum, lowerFirst, menuItems, menuPreferences, primengDateLocalAr, primengLocaleAr, queryParamNamesConst, rangeValidator, registerLibraryLocales, requestHeaderNames, resolveCssSize, rtlModeKeys, splitArrayIntoChunks, tokenQueryParamName, updateEntityWorkflowInformation, updateEntityWorkflowInstanceResponse, userLanguage, workflowEtatDetailledResponse, workflowInstanceInformationResponse };
|
|
24138
|
+
export { ActionErpService, ActionPlacement, AdDirective, AdItem, AddReportPopupComponent, AdminGuard, AdminRoutes, AdministrationEndpoints, AdministrationSegments, AdvancedSearchComponentService, AlertImportMessageComponent, ApiDateTimeFormat, ApiExplorerService, AppBaseComponent, AppRoutes, AppSettingsService, AuthenticationGuard, AuthorizationEndpoints, AuthorizationSegments, AuthorizationService, AuthorizationTokenMapper, AutoComplete, AutoSelectDirective, BsModalRef, BusyDirective, ButtonType, ChooseChoiceMfaMethodComponent, ClaimTypes, CodeFormat, CollectionChangeAction, ComboStatusModel, Component_Modes, ContextMenuComponent, CreateOrEditDynamicFormComponent, CreateOrEditEntityInformationsComponent, CreateOrEditModeleImportComponent, CrudBaseService, CurrentUser, CurrentUserService, CutLabelPipe, DateFormat, DateFormatDisplay, DateHelper, DateHelperService, DatePickerDateFormat, DatePickerDateTimeFormat, DatePickerTimeFormat, DateTimeFormat, DateTimeFormatDisplay, DecimalFormat, DefaultSocieteDevise, Devise, DialogDataService, DisplayNestedPropComponent, DisplayTypeColors, DisplayTypes, DynamicFormListComponent, EditableGridComponent, EndpointInfos, EntityColumnDetailResponse, EntityConfigurationService, EntityInfo, EntityInfoWithRelations, EntityRelation, EntityStatusService, EntityValidationsService, ErrorResponseManagerService, ExecuteImportRequest, ExportExcelHelper, Fichier, FilterByExistingValues, FilterByProprety, FilterHelper, FilterOperatorType, FilterOperatorTypeDescriptions, FormValidationError, FormulaService, GenericFormHelper, GenericValidationStateService, GetWorkflowInstanceInformationRequest, GridSelectionMode, GridSizingMode, GridSortMode, Guid, Helpers, HtmlTemplateGeneratorService, HtmlTemplates, HttpMethodType, IdentityManagerService, IdentityPlatformAuthenticationService, IdentityPlatformEndpoints, IdentityPlatformSegments, IdentityRoutes, ImportExportEndPoints, ImportExportSegments, ImportResult, InputRegistryService, InputTypes, JournalisationApplication, JournalisationApplicationService, KeyboardShortcutService, LanguageInformations, LanguageLocale, LanguagesCodes, LayoutHelperService, LayoutOrientation, LocaleCode, LocalePocComponent, LocalizationKeys, LocalizePipe, LogoutPopupComponent, MFAEnum, MailingService, ManageImportExportComponent, ManageReportingComponent, ManageReportingRoutes, MappingHelper, ModalComponent, ModalLabelPipe, ModalLoaderComponent, ModalSizeEnum, ModeleImportCreateRequest, ModeleImportDetail, ModeleImportService, Modes, ModuleCodeService, ModuleMainParameterDirective, ModuleMainParameterService, NoteService, NumericDisplayTypes, ObjectHelper, ObservableCollection, PagedResultRequestBase, PermissionGuard, PresentationDesignerDirective, PresentationDesignerDirectiveBase, PresentationDesignerService, PresentationDesignerTabPanelDirective, PresentationSetting, PresentationSettingDetail, PresentationSettingService, ProceedLoginRequest, ProgressBarHelperService, ProgressBarResponse, ProgressBarService, ProgressBarUpdateRequest, RecordInfoPopupService, ReportingComponent, ReportingEndpoints, ReportingSegments, ReportingService, RequestTrackerInterceptor, RequestTrackerService, Segment, Segments, SeparateurDecimal, SeparateurMillier, SharedComponentReferenceHelper, SharedModule, SharedUiTsiProviders, ShortenPipe, SpinnerComponent, Status, StatusHistory, StatusHistoryService, StorageManager, SubscriptionResult, TS_ValidDateFormat, TS_ValidDateTimeFormat, TS_ValidTimeFormat, TextBoxType, Themes, TimeFormat, TimeOnly, TimeZoneLocale, ToNumberPipe, TooltipPosition, TranslationService, TsiActionErpCreateOrEditComponent, TsiActionErpListComponent, TsiBaseComponent, TsiBsModalService, TsiBubbleInfoComponent, TsiButtonComponent, TsiCalenderComponent, TsiCard, TsiCardComponent, TsiCardListComponent, TsiChangePasswordComponent, TsiCheckboxComponent, TsiCheckboxDisplayComponent, TsiCodeGeneratorComponent, TsiComponentEnum, TsiComponentFinderService, TsiConfirmationService, TsiCurrencyOtherDisplayComponent, TsiCurrencyOtherInputComponent, TsiCurrencyPipe, TsiCurrencySocieteDisplayComponent, TsiCurrencySocieteInputComponent, TsiDateDisplayComponent, TsiDatePickerComponent, TsiDecimalDisplayComponent, TsiDecimalInputComponent, TsiDecimalPipe, TsiDisplayGridComponent, TsiDividerComponent, TsiErrorMessageComponent, TsiFileManagerComponent, TsiFilePreviewComponent, TsiFormComponent, TsiFormComponentBaseComponent, TsiFormModalFooterComponent, TsiFormulaBoxComponent, TsiGenericCrudComponent, TsiGenericFormComponent, TsiGenericGridComponent, TsiImageDisplayComponent, TsiInfoMessageComponent, TsiInputBase, TsiIntegerComponent, TsiIntegerDisplayComponent, TsiKanbanComponent, TsiKanbanWorkflowEtatComponent, TsiLabelComponent, TsiLabelLegendComponent, TsiLegendComponent, TsiListBaseComponent, TsiLogEventHistoryComponent, TsiMessageService, TsiModalComponent, TsiModalFooterComponent, TsiModalHeaderComponent, TsiModalService, TsiNotesAvertirComponent, TsiNotesComponent, TsiNotesGridComponent, TsiNotificationService, TsiParagraphComponent, TsiPopupTextViewerComponent, TsiProgressBarComponent, TsiRadioButtonComponent, TsiRateDisplayComponent, TsiRateInputComponent, TsiRedirectionMessageComponent, TsiReportType, TsiSearchBoxComponent, TsiSearchComboComponent, TsiSendMailComponent, TsiSubmitButtonComponent, TsiSuccessMessageComponent, TsiTabPanelComponent, TsiTabViewComponent, TsiTemplate, TsiTenantsComponent, TsiTextAreaComponent, TsiTextBoxComponent, TsiTimeDisplayComponent, TsiTimePickerComponent, TsiTooltipComponent, TsiUploadFicheComponent, TsiUploadGridComponent, TsiViewGridComponent, TypeFichier, TypeImportEnum, TypeRegistryHelper, UpdateEntityInfoWithRelationsRequest, UserIdentityService, ValidationDirective, VerificationCodeComponent, VerificationCodeInscriptionComponent, VerificationCodeSmsComponent, WorkflowConfigurationService, WorkflowEtatForm, WorkflowEtatKanbanRequest, WorkflowEtatSuivantResponse, appProviders, authorization, dashboardConst, defaultCardHeader, distinct, executeImportResult, initSharedComponents, isNullOrEmpty, isPinnableCssSize, lengthValidator, locals, logoutReasonEnum, lowerFirst, menuItems, menuPreferences, preciseAdd, preciseSum, primengDateLocalAr, primengLocaleAr, queryParamNamesConst, rangeValidator, registerLibraryLocales, requestHeaderNames, resolveCssSize, rtlModeKeys, splitArrayIntoChunks, tokenQueryParamName, updateEntityWorkflowInformation, updateEntityWorkflowInstanceResponse, userLanguage, workflowEtatDetailledResponse, workflowInstanceInformationResponse };
|
|
24043
24139
|
//# sourceMappingURL=tsi-developpement-tsi-shared-ui.mjs.map
|