@solcre-org/core-ui 2.17.7 → 2.17.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2515,6 +2515,7 @@ var FileType;
|
|
|
2515
2515
|
FileType["COMPANY_TELEWORK"] = "company_remote_work";
|
|
2516
2516
|
FileType["FILE_TEMPLATE"] = "file_template";
|
|
2517
2517
|
FileType["COMPANY_EMPLOYEES_BULK"] = "company_employees_bulk";
|
|
2518
|
+
FileType["FILE_GROUP"] = "file_group";
|
|
2518
2519
|
})(FileType || (FileType = {}));
|
|
2519
2520
|
|
|
2520
2521
|
var NumberRange;
|
|
@@ -11145,7 +11146,7 @@ class TableSortService {
|
|
|
11145
11146
|
}
|
|
11146
11147
|
toggleSort(columnKey) {
|
|
11147
11148
|
const currentSorts = this.sortConfigsSubject.value;
|
|
11148
|
-
const existingSort = currentSorts.find(sort => sort.key === columnKey);
|
|
11149
|
+
const existingSort = currentSorts.find(sort => sort.key === columnKey || sort.sortKey === columnKey);
|
|
11149
11150
|
let newSorts;
|
|
11150
11151
|
if (existingSort) {
|
|
11151
11152
|
const currentDirection = existingSort.direction;
|
|
@@ -11153,7 +11154,7 @@ class TableSortService {
|
|
|
11153
11154
|
? SortDirection.DESC
|
|
11154
11155
|
: SortDirection.ASC;
|
|
11155
11156
|
if (this.tableSortConfig.multiColumn) {
|
|
11156
|
-
newSorts = currentSorts.map(sort => sort.key === columnKey
|
|
11157
|
+
newSorts = currentSorts.map(sort => (sort.key === columnKey || sort.sortKey === columnKey)
|
|
11157
11158
|
? { ...sort, direction: newDirection }
|
|
11158
11159
|
: sort);
|
|
11159
11160
|
}
|
|
@@ -11191,11 +11192,11 @@ class TableSortService {
|
|
|
11191
11192
|
this.sortConfigsSubject.next([]);
|
|
11192
11193
|
}
|
|
11193
11194
|
getColumnSortState(columnKey) {
|
|
11194
|
-
const sortConfig = this.sortConfigsSubject.value.find(sort => sort.key === columnKey);
|
|
11195
|
+
const sortConfig = this.sortConfigsSubject.value.find(sort => sort.key === columnKey || sort.sortKey === columnKey);
|
|
11195
11196
|
return sortConfig ? sortConfig.direction : null;
|
|
11196
11197
|
}
|
|
11197
11198
|
getColumnSortPriority(columnKey) {
|
|
11198
|
-
const sortConfig = this.sortConfigsSubject.value.find(sort => sort.key === columnKey);
|
|
11199
|
+
const sortConfig = this.sortConfigsSubject.value.find(sort => sort.key === columnKey || sort.sortKey === columnKey);
|
|
11199
11200
|
return sortConfig?.priority ?? null;
|
|
11200
11201
|
}
|
|
11201
11202
|
sortDataInMemory(data, columns) {
|
|
@@ -11245,7 +11246,8 @@ class TableSortService {
|
|
|
11245
11246
|
if (sort.key === MODEL_REFERENCE_SORT_KEY) {
|
|
11246
11247
|
return;
|
|
11247
11248
|
}
|
|
11248
|
-
|
|
11249
|
+
const sortKeyToUse = sort.sortKey || sort.key;
|
|
11250
|
+
params[`${paramName}[${sortKeyToUse}]`] = sort.direction;
|
|
11249
11251
|
});
|
|
11250
11252
|
return params;
|
|
11251
11253
|
}
|
|
@@ -11254,8 +11256,9 @@ class TableSortService {
|
|
|
11254
11256
|
if (firstSort.key === MODEL_REFERENCE_SORT_KEY) {
|
|
11255
11257
|
return {};
|
|
11256
11258
|
}
|
|
11259
|
+
const sortKeyToUse = firstSort.sortKey || firstSort.key;
|
|
11257
11260
|
return {
|
|
11258
|
-
[`${paramName}[${
|
|
11261
|
+
[`${paramName}[${sortKeyToUse}]`]: firstSort.direction
|
|
11259
11262
|
};
|
|
11260
11263
|
}
|
|
11261
11264
|
}
|
|
@@ -16654,12 +16657,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
16654
16657
|
// Este archivo es generado automáticamente por scripts/update-version.js
|
|
16655
16658
|
// No edites manualmente este archivo
|
|
16656
16659
|
const VERSION = {
|
|
16657
|
-
full: '2.17.
|
|
16660
|
+
full: '2.17.8',
|
|
16658
16661
|
major: 2,
|
|
16659
16662
|
minor: 17,
|
|
16660
|
-
patch:
|
|
16661
|
-
timestamp: '2025-12-
|
|
16662
|
-
buildDate: '
|
|
16663
|
+
patch: 8,
|
|
16664
|
+
timestamp: '2025-12-23T15:52:25.384Z',
|
|
16665
|
+
buildDate: '23/12/2025'
|
|
16663
16666
|
};
|
|
16664
16667
|
|
|
16665
16668
|
class MainNavComponent {
|