ui-core-abv 0.11.3 → 0.11.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.
Files changed (25) hide show
  1. package/fesm2022/ui-core-abv.mjs +1155 -177
  2. package/fesm2022/ui-core-abv.mjs.map +1 -1
  3. package/lib/components/dynamic-form/form/dynamic-form.component.d.ts +14 -0
  4. package/lib/components/dynamic-form/form-engine.service.d.ts +6 -0
  5. package/lib/components/dynamic-form/form-validators.d.ts +12 -0
  6. package/lib/components/dynamic-form/form.models.d.ts +32 -2
  7. package/lib/components/dynamic-form/other-option.d.ts +34 -0
  8. package/lib/components/inputs/ui-chips-input/ui-chips-input.component.d.ts +55 -0
  9. package/lib/components/inputs/ui-distribution/ui-distribution.component.d.ts +62 -0
  10. package/lib/components/survey/survey.component.d.ts +59 -7
  11. package/lib/components/survey/survey.config.d.ts +52 -0
  12. package/lib/components/survey/survey.models.d.ts +6 -1
  13. package/lib/components/uic-action-button/uic-action-button.component.d.ts +9 -2
  14. package/lib/components/user-formbuilder/block-editor/field-editor/field-editor.component.d.ts +13 -2
  15. package/lib/components/user-formbuilder/form-preview/form-preview.component.d.ts +3 -0
  16. package/lib/components/user-formbuilder/formbuilder.config.d.ts +4 -1
  17. package/lib/components/user-formbuilder/user-formbuilder.component.d.ts +6 -0
  18. package/lib/components/user-formbuilder/visibility-rule-pruning.d.ts +34 -0
  19. package/lib/translate/dictionary.en.d.ts +32 -0
  20. package/lib/translate/dictionary.es.d.ts +32 -0
  21. package/package.json +1 -1
  22. package/public-api.d.ts +4 -0
  23. package/src/lib/styles/_dark.scss +113 -113
  24. package/src/lib/styles/_default_colors.scss +228 -228
  25. package/src/lib/styles/_variables.scss +140 -140
@@ -1,228 +1,228 @@
1
- $grey: (
2
- 25: #fdfdfd,
3
- 50: #fafafa,
4
- 100: #f5f5f5,
5
- 200: #e9eaeb,
6
- 300: #d5d7da,
7
- 400: #a4a7ae,
8
- 500: #717680,
9
- 600: #535862,
10
- 700: #414651,
11
- 800: #252b37,
12
- 900: #181d27,
13
- 950: #0a0d12
14
- ) !default;
15
-
16
-
17
- // ---------------------------------------------------------------------------
18
- // COLORES DE MARCA
19
- // primary y secondary usan tonos que no compiten con los colores base
20
- // (rojo, verde, azul, amarillo...) para que no se confundan con estados o categorías.
21
- // El cliente los reemplaza sobrescribiendo estos mapas (!default) o las variables --primary-*/--secondary-*.
22
- // En botones rellenos se usa el 500 con texto blanco: se eligió con contraste AA (≥ 4.5:1).
23
- // ---------------------------------------------------------------------------
24
-
25
- // Primary: marrón
26
- $primary: (
27
- 25: #fcfaf8,
28
- 50: #f8f3ee,
29
- 100: #efe4d9,
30
- 200: #e0cbb6,
31
- 300: #c9a685,
32
- 400: #a87a52,
33
- 500: #8a5a36,
34
- 600: #74492b,
35
- 700: #5e3a23,
36
- 800: #4a2e1c,
37
- 900: #382315,
38
- 950: #22150c
39
- ) !default;
40
-
41
- // Secondary: mostaza (más apagado y oscuro que el amarillo base para distinguirlos)
42
- $secondary: (
43
- 25: #fdfbf2,
44
- 50: #fbf6e2,
45
- 100: #f5eabd,
46
- 200: #ecd98a,
47
- 300: #dfc257,
48
- 400: #c9a52a,
49
- 500: #9c7a12,
50
- 600: #82650f,
51
- 700: #68510d,
52
- 800: #53410d,
53
- 900: #42340c,
54
- 950: #261d05
55
- ) !default;
56
-
57
- // ---------------------------------------------------------------------------
58
- // COLORES BASE
59
- // Tonos estándar y bien diferenciados entre sí (cada 500 es el tono "identidad").
60
- // ---------------------------------------------------------------------------
61
-
62
- $green: (
63
- 25: #f6fef9,
64
- 50: #f0fdf4,
65
- 100: #dcfce7,
66
- 200: #bbf7d0,
67
- 300: #86efac,
68
- 400: #22c55e,
69
- 500: #16a34a,
70
- 600: #15803d,
71
- 700: #166534,
72
- 800: #14532d,
73
- 900: #123f24,
74
- 950: #052e16
75
- ) !default;
76
-
77
- // Amarillo puro (antes tiraba a naranja). Sobre fondo amarillo conviene texto oscuro.
78
- $yellow: (
79
- 25: #fffef5,
80
- 50: #fefce8,
81
- 100: #fef9c3,
82
- 200: #fef08a,
83
- 300: #fde047,
84
- 400: #facc15,
85
- 500: #eab308,
86
- 600: #ca8a04,
87
- 700: #a16207,
88
- 800: #854d0e,
89
- 900: #713f12,
90
- 950: #422006
91
- ) !default;
92
-
93
- $red: (
94
- 25: #fffafa,
95
- 50: #fef2f2,
96
- 100: #fee2e2,
97
- 200: #fecaca,
98
- 300: #fca5a5,
99
- 400: #ef4444,
100
- 500: #dc2626,
101
- 600: #b91c1c,
102
- 700: #991b1b,
103
- 800: #7f1d1d,
104
- 900: #631818,
105
- 950: #450a0a
106
- ) !default;
107
-
108
- // Azul estándar (antes era un celeste lavado con 50 = blanco).
109
- $blue: (
110
- 25: #f5f9ff,
111
- 50: #eff6ff,
112
- 100: #dbeafe,
113
- 200: #bfdbfe,
114
- 300: #93c5fd,
115
- 400: #3b82f6,
116
- 500: #2563eb,
117
- 600: #1d4ed8,
118
- 700: #1e40af,
119
- 800: #1e3a8a,
120
- 900: #1a2f6b,
121
- 950: #172554
122
- ) !default;
123
-
124
-
125
-
126
- // COLORES ADICIONALES
127
- // Escala completa 25-950 para que cualquier componente pueda usar cualquier tono.
128
- $dark-green: (
129
- 25: #f3faf6,
130
- 50: #e6f4ec,
131
- 100: #c7e6d3,
132
- 200: #9dd2b3,
133
- 300: #6bb98d,
134
- 400: #3e9a68,
135
- 500: #1f7a4d,
136
- 600: #18663f,
137
- 700: #145234,
138
- 800: #11432b,
139
- 900: #0d3322,
140
- 950: #062015
141
- ) !default;
142
-
143
- $light-blue: (
144
- 25: #f5fbff,
145
- 50: #f0f9ff,
146
- 100: #e0f2fe,
147
- 200: #bae6fd,
148
- 300: #7dd3fc,
149
- 400: #38bdf8,
150
- 500: #0ea5e9,
151
- 600: #0284c7,
152
- 700: #0369a1,
153
- 800: #075985,
154
- 900: #0c4a6e,
155
- 950: #082f49
156
- ) !default;
157
-
158
- $pink: (
159
- 25: #fef6fa,
160
- 50: #fdf2f8,
161
- 100: #fce7f3,
162
- 200: #fbcfe8,
163
- 300: #f9a8d4,
164
- 400: #f472b6,
165
- 500: #ec4899,
166
- 600: #db2777,
167
- 700: #be185d,
168
- 800: #9d174d,
169
- 900: #831843,
170
- 950: #500724
171
- ) !default;
172
-
173
- // Granate (vino): se separa del rojo base hacia el magenta para no parecer un rojo más oscuro.
174
- $dark-red: (
175
- 25: #fdf5f7,
176
- 50: #fbe9ed,
177
- 100: #f5c9d2,
178
- 200: #eb9fb0,
179
- 300: #dc6f87,
180
- 400: #c04563,
181
- 500: #8e1b3a,
182
- 600: #7a1732,
183
- 700: #641329,
184
- 800: #4f0f21,
185
- 900: #3d0c19,
186
- 950: #25060e
187
- ) !default;
188
-
189
- // Naranja: el 500 es más rojizo que el amarillo para que no se confundan.
190
- $orange: (
191
- 25: #fffaf5,
192
- 50: #fff7ed,
193
- 100: #ffedd5,
194
- 200: #fed7aa,
195
- 300: #fdba74,
196
- 400: #f97316,
197
- 500: #ea580c,
198
- 600: #c2410c,
199
- 700: #9a3412,
200
- 800: #7c2d12,
201
- 900: #5f2410,
202
- 950: #431407
203
- ) !default;
204
-
205
- $teal: (
206
- 25: #f4fdfb,
207
- 50: #f0fdfa,
208
- 100: #ccfbf1,
209
- 200: #99f6e4,
210
- 300: #5eead4,
211
- 400: #2dd4bf,
212
- 500: #14b8a6,
213
- 600: #0d9488,
214
- 700: #0f766e,
215
- 800: #115e59,
216
- 900: #134e4a,
217
- 950: #042f2e
218
- ) !default;
219
-
220
- // Paletas adicionales por nombre (el nombre es el del color en la librería: --dark-green-500, btn-dark-green-filled...)
221
- $uic-extra-palettes: (
222
- 'dark-green': $dark-green,
223
- 'light-blue': $light-blue,
224
- 'pink': $pink,
225
- 'dark-red': $dark-red,
226
- 'orange': $orange,
227
- 'teal': $teal
228
- ) !default;
1
+ $grey: (
2
+ 25: #fdfdfd,
3
+ 50: #fafafa,
4
+ 100: #f5f5f5,
5
+ 200: #e9eaeb,
6
+ 300: #d5d7da,
7
+ 400: #a4a7ae,
8
+ 500: #717680,
9
+ 600: #535862,
10
+ 700: #414651,
11
+ 800: #252b37,
12
+ 900: #181d27,
13
+ 950: #0a0d12
14
+ ) !default;
15
+
16
+
17
+ // ---------------------------------------------------------------------------
18
+ // COLORES DE MARCA
19
+ // primary y secondary usan tonos que no compiten con los colores base
20
+ // (rojo, verde, azul, amarillo...) para que no se confundan con estados o categorías.
21
+ // El cliente los reemplaza sobrescribiendo estos mapas (!default) o las variables --primary-*/--secondary-*.
22
+ // En botones rellenos se usa el 500 con texto blanco: se eligió con contraste AA (≥ 4.5:1).
23
+ // ---------------------------------------------------------------------------
24
+
25
+ // Primary: marrón
26
+ $primary: (
27
+ 25: #fcfaf8,
28
+ 50: #f8f3ee,
29
+ 100: #efe4d9,
30
+ 200: #e0cbb6,
31
+ 300: #c9a685,
32
+ 400: #a87a52,
33
+ 500: #8a5a36,
34
+ 600: #74492b,
35
+ 700: #5e3a23,
36
+ 800: #4a2e1c,
37
+ 900: #382315,
38
+ 950: #22150c
39
+ ) !default;
40
+
41
+ // Secondary: mostaza (más apagado y oscuro que el amarillo base para distinguirlos)
42
+ $secondary: (
43
+ 25: #fdfbf2,
44
+ 50: #fbf6e2,
45
+ 100: #f5eabd,
46
+ 200: #ecd98a,
47
+ 300: #dfc257,
48
+ 400: #c9a52a,
49
+ 500: #9c7a12,
50
+ 600: #82650f,
51
+ 700: #68510d,
52
+ 800: #53410d,
53
+ 900: #42340c,
54
+ 950: #261d05
55
+ ) !default;
56
+
57
+ // ---------------------------------------------------------------------------
58
+ // COLORES BASE
59
+ // Tonos estándar y bien diferenciados entre sí (cada 500 es el tono "identidad").
60
+ // ---------------------------------------------------------------------------
61
+
62
+ $green: (
63
+ 25: #f6fef9,
64
+ 50: #f0fdf4,
65
+ 100: #dcfce7,
66
+ 200: #bbf7d0,
67
+ 300: #86efac,
68
+ 400: #22c55e,
69
+ 500: #16a34a,
70
+ 600: #15803d,
71
+ 700: #166534,
72
+ 800: #14532d,
73
+ 900: #123f24,
74
+ 950: #052e16
75
+ ) !default;
76
+
77
+ // Amarillo puro (antes tiraba a naranja). Sobre fondo amarillo conviene texto oscuro.
78
+ $yellow: (
79
+ 25: #fffef5,
80
+ 50: #fefce8,
81
+ 100: #fef9c3,
82
+ 200: #fef08a,
83
+ 300: #fde047,
84
+ 400: #facc15,
85
+ 500: #eab308,
86
+ 600: #ca8a04,
87
+ 700: #a16207,
88
+ 800: #854d0e,
89
+ 900: #713f12,
90
+ 950: #422006
91
+ ) !default;
92
+
93
+ $red: (
94
+ 25: #fffafa,
95
+ 50: #fef2f2,
96
+ 100: #fee2e2,
97
+ 200: #fecaca,
98
+ 300: #fca5a5,
99
+ 400: #ef4444,
100
+ 500: #dc2626,
101
+ 600: #b91c1c,
102
+ 700: #991b1b,
103
+ 800: #7f1d1d,
104
+ 900: #631818,
105
+ 950: #450a0a
106
+ ) !default;
107
+
108
+ // Azul estándar (antes era un celeste lavado con 50 = blanco).
109
+ $blue: (
110
+ 25: #f5f9ff,
111
+ 50: #eff6ff,
112
+ 100: #dbeafe,
113
+ 200: #bfdbfe,
114
+ 300: #93c5fd,
115
+ 400: #3b82f6,
116
+ 500: #2563eb,
117
+ 600: #1d4ed8,
118
+ 700: #1e40af,
119
+ 800: #1e3a8a,
120
+ 900: #1a2f6b,
121
+ 950: #172554
122
+ ) !default;
123
+
124
+
125
+
126
+ // COLORES ADICIONALES
127
+ // Escala completa 25-950 para que cualquier componente pueda usar cualquier tono.
128
+ $dark-green: (
129
+ 25: #f3faf6,
130
+ 50: #e6f4ec,
131
+ 100: #c7e6d3,
132
+ 200: #9dd2b3,
133
+ 300: #6bb98d,
134
+ 400: #3e9a68,
135
+ 500: #1f7a4d,
136
+ 600: #18663f,
137
+ 700: #145234,
138
+ 800: #11432b,
139
+ 900: #0d3322,
140
+ 950: #062015
141
+ ) !default;
142
+
143
+ $light-blue: (
144
+ 25: #f5fbff,
145
+ 50: #f0f9ff,
146
+ 100: #e0f2fe,
147
+ 200: #bae6fd,
148
+ 300: #7dd3fc,
149
+ 400: #38bdf8,
150
+ 500: #0ea5e9,
151
+ 600: #0284c7,
152
+ 700: #0369a1,
153
+ 800: #075985,
154
+ 900: #0c4a6e,
155
+ 950: #082f49
156
+ ) !default;
157
+
158
+ $pink: (
159
+ 25: #fef6fa,
160
+ 50: #fdf2f8,
161
+ 100: #fce7f3,
162
+ 200: #fbcfe8,
163
+ 300: #f9a8d4,
164
+ 400: #f472b6,
165
+ 500: #ec4899,
166
+ 600: #db2777,
167
+ 700: #be185d,
168
+ 800: #9d174d,
169
+ 900: #831843,
170
+ 950: #500724
171
+ ) !default;
172
+
173
+ // Granate (vino): se separa del rojo base hacia el magenta para no parecer un rojo más oscuro.
174
+ $dark-red: (
175
+ 25: #fdf5f7,
176
+ 50: #fbe9ed,
177
+ 100: #f5c9d2,
178
+ 200: #eb9fb0,
179
+ 300: #dc6f87,
180
+ 400: #c04563,
181
+ 500: #8e1b3a,
182
+ 600: #7a1732,
183
+ 700: #641329,
184
+ 800: #4f0f21,
185
+ 900: #3d0c19,
186
+ 950: #25060e
187
+ ) !default;
188
+
189
+ // Naranja: el 500 es más rojizo que el amarillo para que no se confundan.
190
+ $orange: (
191
+ 25: #fffaf5,
192
+ 50: #fff7ed,
193
+ 100: #ffedd5,
194
+ 200: #fed7aa,
195
+ 300: #fdba74,
196
+ 400: #f97316,
197
+ 500: #ea580c,
198
+ 600: #c2410c,
199
+ 700: #9a3412,
200
+ 800: #7c2d12,
201
+ 900: #5f2410,
202
+ 950: #431407
203
+ ) !default;
204
+
205
+ $teal: (
206
+ 25: #f4fdfb,
207
+ 50: #f0fdfa,
208
+ 100: #ccfbf1,
209
+ 200: #99f6e4,
210
+ 300: #5eead4,
211
+ 400: #2dd4bf,
212
+ 500: #14b8a6,
213
+ 600: #0d9488,
214
+ 700: #0f766e,
215
+ 800: #115e59,
216
+ 900: #134e4a,
217
+ 950: #042f2e
218
+ ) !default;
219
+
220
+ // Paletas adicionales por nombre (el nombre es el del color en la librería: --dark-green-500, btn-dark-green-filled...)
221
+ $uic-extra-palettes: (
222
+ 'dark-green': $dark-green,
223
+ 'light-blue': $light-blue,
224
+ 'pink': $pink,
225
+ 'dark-red': $dark-red,
226
+ 'orange': $orange,
227
+ 'teal': $teal
228
+ ) !default;