tailjng 0.0.44 → 0.0.46
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/cli/settings/components-list.js +1 -1
- package/cli/settings/header-generator.js +1 -1
- package/fesm2022/tailjng.mjs +8 -9
- package/fesm2022/tailjng.mjs.map +1 -1
- package/lib/interfaces/crud/crud.interface.d.ts +1 -0
- package/lib/interfaces/crud/filter.interface.d.ts +3 -0
- package/lib/services/crud/converter-crud.service.d.ts +1 -5
- package/lib/services/static/icons.service.d.ts +3 -0
- package/package.json +1 -1
- package/src/lib/components/card/card-crud-complete/complete-crud-card.component.ts +8 -0
- package/src/lib/components/checkbox/checkbox-input/input-checkbox.component.html +2 -2
- package/src/lib/components/checkbox/checkbox-input/input-checkbox.component.ts +5 -1
- package/src/lib/components/filter/filter-complete/complete-filter.component.html +2 -2
- package/src/lib/components/input/input-file/file-input.component.html +18 -5
- package/src/lib/components/input/input-file/file-input.component.ts +86 -7
- package/src/lib/components/select/select-dropdown/dropdown-select.component.ts +30 -8
- package/src/lib/components/table/table-crud-complete/complete-crud-table.component.html +13 -1
- package/src/lib/components/table/table-crud-complete/complete-crud-table.component.ts +10 -1
|
@@ -32,7 +32,7 @@ function getComponentList() {
|
|
|
32
32
|
},
|
|
33
33
|
'checkbox-input': {
|
|
34
34
|
path: "src/lib/components/checkbox/checkbox-input",
|
|
35
|
-
dependencies: ["color"],
|
|
35
|
+
dependencies: ["tooltip", "color"],
|
|
36
36
|
},
|
|
37
37
|
'checkbox-switch': {
|
|
38
38
|
path: "src/lib/components/checkbox/checkbox-switch",
|
package/fesm2022/tailjng.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { es } from 'date-fns/locale';
|
|
|
6
6
|
import { map, isObservable, firstValueFrom, forkJoin } from 'rxjs';
|
|
7
7
|
import * as i1$1 from '@angular/common/http';
|
|
8
8
|
import { HttpParams } from '@angular/common/http';
|
|
9
|
-
import { CircleAlert, Clock, Calendar, EllipsisVertical, Trash, Edit, Pencil, PencilLine, ListRestart, FileUp, Download, MonitorUp, FileSpreadsheet, Cpu, Trash2, Eraser, ArrowDownWideNarrow, Filter, ArrowBigRight, ChevronsRight, ChevronRight, ChevronLeft, ChevronsLeft, Loader2, Moon, Sun, Save, Copy, Search, SquareDashedMousePointer, ChevronsUpDown, ChevronDown, ChevronUp, Eye, Upload, ImageOff, Images, Image, Minimize2, Scan, RefreshCcw, RotateCcw, RotateCw, ZoomOut, ZoomIn, Check, X, CircleHelp, TriangleAlert, CircleX, CircleCheck, Info } from 'lucide-angular';
|
|
9
|
+
import { Link2Off, Link, Clipboard, CircleAlert, Clock, Calendar, EllipsisVertical, Trash, Edit, Pencil, PencilLine, ListRestart, FileUp, Download, MonitorUp, FileSpreadsheet, Cpu, Trash2, Eraser, ArrowDownWideNarrow, Filter, ArrowBigRight, ChevronsRight, ChevronRight, ChevronLeft, ChevronsLeft, Loader2, Moon, Sun, Save, Copy, Search, SquareDashedMousePointer, ChevronsUpDown, ChevronDown, ChevronUp, Eye, Upload, ImageOff, Images, Image, Minimize2, Scan, RefreshCcw, RotateCcw, RotateCw, ZoomOut, ZoomIn, Check, X, CircleHelp, TriangleAlert, CircleX, CircleCheck, Info } from 'lucide-angular';
|
|
10
10
|
import * as FileSaver from 'file-saver';
|
|
11
11
|
import * as ExcelJS from 'exceljs';
|
|
12
12
|
import * as XLSX from 'xlsx';
|
|
@@ -424,7 +424,7 @@ class JCalendarService {
|
|
|
424
424
|
const utc_date = new Date(Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate()));
|
|
425
425
|
let new_date = utc_date;
|
|
426
426
|
const año = new_date.getUTCFullYear();
|
|
427
|
-
const mes = new_date.getUTCMonth();
|
|
427
|
+
const mes = new_date.getUTCMonth() + 1;
|
|
428
428
|
const día = new_date.getUTCDate();
|
|
429
429
|
const díaFormateado = día < 10 ? `0${día}` : día.toString();
|
|
430
430
|
const mesFormateado = mes < 10 ? `0${mes}` : mes.toString();
|
|
@@ -776,12 +776,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
776
776
|
}], ctorParameters: () => [{ type: i1.CurrencyPipe }, { type: JCalendarService }] });
|
|
777
777
|
|
|
778
778
|
class JConverterCrudService {
|
|
779
|
-
currencyPipe;
|
|
780
|
-
calendarService;
|
|
781
779
|
transformService;
|
|
782
|
-
constructor(
|
|
783
|
-
this.currencyPipe = currencyPipe;
|
|
784
|
-
this.calendarService = calendarService;
|
|
780
|
+
constructor(transformService) {
|
|
785
781
|
this.transformService = transformService;
|
|
786
782
|
}
|
|
787
783
|
/**
|
|
@@ -873,7 +869,7 @@ class JConverterCrudService {
|
|
|
873
869
|
}
|
|
874
870
|
return cleaned;
|
|
875
871
|
}
|
|
876
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JConverterCrudService, deps: [{ token:
|
|
872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JConverterCrudService, deps: [{ token: JTransformService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
877
873
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JConverterCrudService, providedIn: 'root' });
|
|
878
874
|
}
|
|
879
875
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JConverterCrudService, decorators: [{
|
|
@@ -881,7 +877,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
881
877
|
args: [{
|
|
882
878
|
providedIn: 'root'
|
|
883
879
|
}]
|
|
884
|
-
}], ctorParameters: () => [{ type:
|
|
880
|
+
}], ctorParameters: () => [{ type: JTransformService }] });
|
|
885
881
|
|
|
886
882
|
class JParamsHttpService {
|
|
887
883
|
/**
|
|
@@ -1186,6 +1182,9 @@ class JIconsService {
|
|
|
1186
1182
|
calendar: Calendar,
|
|
1187
1183
|
clock: Clock,
|
|
1188
1184
|
circleAlert: CircleAlert,
|
|
1185
|
+
clipboard: Clipboard,
|
|
1186
|
+
link: Link,
|
|
1187
|
+
linkOff: Link2Off,
|
|
1189
1188
|
};
|
|
1190
1189
|
constructor() { }
|
|
1191
1190
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JIconsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|