tailjng 0.0.34 → 0.0.36
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 +4 -0
- package/cli/settings/header-generator.js +2 -2
- package/fesm2022/tailjng.mjs +18 -1
- package/fesm2022/tailjng.mjs.map +1 -1
- package/lib/interfaces/crud/filter.interface.d.ts +1 -1
- package/lib/services/http/error-handler-http.service.d.ts +1 -1
- package/lib/shared/form.shared.d.ts +5 -0
- package/package.json +1 -1
- package/src/lib/components/badge/badge.component.css +0 -0
- package/src/lib/components/badge/badge.component.html +39 -0
- package/src/lib/components/badge/badge.component.ts +70 -0
- package/src/lib/components/color/colors.service.ts +55 -28
- package/src/lib/components/filter/filter-complete/complete-filter.component.ts +3 -2
- package/src/lib/components/progress-bar/progress-bar.component.html +8 -2
- package/src/lib/components/progress-bar/progress-bar.component.ts +1 -0
- package/src/lib/components/select/select-multi-table/multi-table-select.component.html +96 -63
- package/src/lib/components/select/select-multi-table/multi-table-select.component.ts +316 -114
- package/src/lib/components/table/table-complete/complete-table.component.html +2 -2
- package/src/lib/components/table/table-crud-complete/complete-crud-table.component.html +66 -67
|
@@ -14,6 +14,10 @@ function getComponentList() {
|
|
|
14
14
|
path: "src/lib/components/tooltip",
|
|
15
15
|
dependencies: [],
|
|
16
16
|
},
|
|
17
|
+
'badge': {
|
|
18
|
+
path: "src/lib/components/badge",
|
|
19
|
+
dependencies: ["tooltip"],
|
|
20
|
+
},
|
|
17
21
|
'label': {
|
|
18
22
|
path: "src/lib/components/label",
|
|
19
23
|
dependencies: ["tooltip"],
|
|
@@ -18,7 +18,7 @@ Purpose:
|
|
|
18
18
|
|
|
19
19
|
Usage:
|
|
20
20
|
To access full functionality, simply import the necessary modules and use the
|
|
21
|
-
components according to your use case. Be sure to review the official documentation for detailed examples
|
|
21
|
+
components according to your use case. Be sure to review the official documentation for detailed examples
|
|
22
22
|
on implementation and customization.
|
|
23
23
|
|
|
24
24
|
Authors:
|
|
@@ -27,7 +27,7 @@ Authors:
|
|
|
27
27
|
License:
|
|
28
28
|
This project is licensed under the BSD 3-Clause - see the LICENSE file for more details.
|
|
29
29
|
|
|
30
|
-
Version: 0.0.
|
|
30
|
+
Version: 0.0.36
|
|
31
31
|
Creation Date: 2025-01-04
|
|
32
32
|
===============================================`
|
|
33
33
|
|
package/fesm2022/tailjng.mjs
CHANGED
|
@@ -282,6 +282,21 @@ class JFormShared {
|
|
|
282
282
|
const adjustedDate = new Date(d.getTime() + d.getTimezoneOffset() * 60000);
|
|
283
283
|
return adjustedDate.toISOString().split('T')[0];
|
|
284
284
|
}
|
|
285
|
+
/**
|
|
286
|
+
* Get invalid controls in the form group
|
|
287
|
+
* @returns
|
|
288
|
+
*/
|
|
289
|
+
getInvalidControls(formGroup) {
|
|
290
|
+
const invalidControls = [];
|
|
291
|
+
Object.keys(formGroup.controls).forEach((controlName) => {
|
|
292
|
+
const control = formGroup.get(controlName);
|
|
293
|
+
if (control && control.invalid && control.touched) {
|
|
294
|
+
invalidControls.push(controlName);
|
|
295
|
+
console.error(`${controlName} es inválido. Errores:`, control.errors);
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
return invalidControls;
|
|
299
|
+
}
|
|
285
300
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JFormShared, deps: [{ token: JAlertToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
286
301
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JFormShared, providedIn: 'root' });
|
|
287
302
|
}
|
|
@@ -321,7 +336,9 @@ class JDialogShared {
|
|
|
321
336
|
}
|
|
322
337
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JDialogShared, decorators: [{
|
|
323
338
|
type: Injectable,
|
|
324
|
-
args: [{
|
|
339
|
+
args: [{
|
|
340
|
+
providedIn: 'root'
|
|
341
|
+
}]
|
|
325
342
|
}] });
|
|
326
343
|
|
|
327
344
|
class JCalendarService {
|