tailjng 0.1.4 → 0.1.5
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/README.md +1 -1
- package/cli/execute/sync-app.js +192 -192
- package/cli/settings/colors-config-utils.js +188 -188
- package/cli/settings/init-packages.js +37 -39
- package/fesm2022/tailjng.mjs +84 -46
- package/fesm2022/tailjng.mjs.map +1 -1
- package/lib/services/report/upload.filter.service.d.ts +3 -0
- package/package.json +2 -4
- package/src/lib/components/colors-config/README.md +38 -38
- package/tailjng-0.1.5.tgz +0 -0
- package/tailjng-0.1.4.tgz +0 -0
|
@@ -46,6 +46,9 @@ export declare class JUploadFilterService {
|
|
|
46
46
|
* @param clearFileInputFn Function to clear the file input.
|
|
47
47
|
*/
|
|
48
48
|
processExcelUpload(file: File, columns: TableColumn<any>[], button: any, afterProcessing: (json: any[], filteredColumns: TableColumn<any>[], equivalences: Record<string, Record<string | number, string>>) => void, setLoadingFn: (value: boolean) => void, clearFileInputFn: () => void): void;
|
|
49
|
+
private parseUploadedWorkbook;
|
|
50
|
+
private readWorkbookAsRowArrays;
|
|
51
|
+
private getCellPlainValue;
|
|
49
52
|
/**
|
|
50
53
|
* Generates catalogs of valid values for select-type fields.
|
|
51
54
|
* @param results Results of the list searches.
|
package/package.json
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailjng",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.2.0",
|
|
6
6
|
"@angular/core": "^19.2.0",
|
|
7
7
|
"@angular/animations": "^19.2.0",
|
|
8
|
-
"
|
|
9
|
-
"lucide-angular": ">=0.477.0",
|
|
8
|
+
"lucide-angular": ">=0.477.0 <1.0.0",
|
|
10
9
|
"tailwindcss": ">=4.0.9",
|
|
11
10
|
"date-fns": ">=4.1.0",
|
|
12
11
|
"exceljs": ">=4.4.0",
|
|
13
|
-
"xlsx": ">=0.18.5",
|
|
14
12
|
"file-saver": ">=2.0.5"
|
|
15
13
|
},
|
|
16
14
|
"bin": {
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
# Colores Tailjng — configuración del proyecto
|
|
2
|
-
|
|
3
|
-
Carpeta generada por `init:app`, `sync:app` o `npx tailjng add colors`.
|
|
4
|
-
|
|
5
|
-
## Archivos
|
|
6
|
-
|
|
7
|
-
| Archivo | Para qué |
|
|
8
|
-
|---------|----------|
|
|
9
|
-
| `colors.config.ts` | Variantes (`primary`, `success_soft`, …) + las tuyas (`brand`, etc.) |
|
|
10
|
-
| `colors.safelist.css` | Clases Tailwind que el build debe generar (`@apply`) |
|
|
11
|
-
|
|
12
|
-
## Añadir un color propio
|
|
13
|
-
|
|
14
|
-
**1.** En `colors.config.ts`:
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
brand: 'bg-indigo-600 text-white hover:bg-indigo-700 border border-indigo-500 shadow-md',
|
|
18
|
-
brand_soft: 'bg-indigo-500/10 text-indigo-600 border border-indigo-500/20 shadow-sm',
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
**2.** En `colors.safelist.css`, dentro del bloque `@layer utilities`:
|
|
22
|
-
|
|
23
|
-
```css
|
|
24
|
-
.__tailjng_custom_colors__ {
|
|
25
|
-
@apply bg-indigo-600 text-white hover:bg-indigo-700 border-indigo-500 bg-indigo-500/10 text-indigo-600;
|
|
26
|
-
}
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
**3.** Uso en componentes:
|
|
30
|
-
|
|
31
|
-
```html
|
|
32
|
-
<JButton classes="brand" text="Guardar" />
|
|
33
|
-
<JBadge classes="brand_soft" value="N" />
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Provider
|
|
37
|
-
|
|
38
|
-
`app.config.ts` debe incluir `tailjngColorsProvider` (lo añade `init:app` / `sync:app`).
|
|
1
|
+
# Colores Tailjng — configuración del proyecto
|
|
2
|
+
|
|
3
|
+
Carpeta generada por `init:app`, `sync:app` o `npx tailjng add colors`.
|
|
4
|
+
|
|
5
|
+
## Archivos
|
|
6
|
+
|
|
7
|
+
| Archivo | Para qué |
|
|
8
|
+
|---------|----------|
|
|
9
|
+
| `colors.config.ts` | Variantes (`primary`, `success_soft`, …) + las tuyas (`brand`, etc.) |
|
|
10
|
+
| `colors.safelist.css` | Clases Tailwind que el build debe generar (`@apply`) |
|
|
11
|
+
|
|
12
|
+
## Añadir un color propio
|
|
13
|
+
|
|
14
|
+
**1.** En `colors.config.ts`:
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
brand: 'bg-indigo-600 text-white hover:bg-indigo-700 border border-indigo-500 shadow-md',
|
|
18
|
+
brand_soft: 'bg-indigo-500/10 text-indigo-600 border border-indigo-500/20 shadow-sm',
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
**2.** En `colors.safelist.css`, dentro del bloque `@layer utilities`:
|
|
22
|
+
|
|
23
|
+
```css
|
|
24
|
+
.__tailjng_custom_colors__ {
|
|
25
|
+
@apply bg-indigo-600 text-white hover:bg-indigo-700 border-indigo-500 bg-indigo-500/10 text-indigo-600;
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**3.** Uso en componentes:
|
|
30
|
+
|
|
31
|
+
```html
|
|
32
|
+
<JButton classes="brand" text="Guardar" />
|
|
33
|
+
<JBadge classes="brand_soft" value="N" />
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Provider
|
|
37
|
+
|
|
38
|
+
`app.config.ts` debe incluir `tailjngColorsProvider` (lo añade `init:app` / `sync:app`).
|
|
Binary file
|
package/tailjng-0.1.4.tgz
DELETED
|
Binary file
|