@assistanz/carbideui 1.2.1 → 1.4.0

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/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnChanges, SimpleChanges, EventEmitter, AfterViewInit, InjectionToken, ElementRef, AfterContentInit, QueryList, OnDestroy, TemplateRef, OnInit, Renderer2, ChangeDetectorRef, PipeTransform, EnvironmentProviders } from '@angular/core';
2
+ import { OnChanges, SimpleChanges, EventEmitter, AfterViewInit, InjectionToken, ElementRef, AfterContentInit, QueryList, OnDestroy, TemplateRef, OnInit, Renderer2, ChangeDetectorRef, EnvironmentProviders, PipeTransform } from '@angular/core';
3
3
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
4
4
  import { ControlValueAccessor, NgControl } from '@angular/forms';
5
- import { Chart, BarChartOptions, StackedBarChartOptions, LineChartOptions, AreaChartOptions, PieChartOptions, DonutChartOptions, GaugeChartOptions } from '@carbon/charts';
6
5
  import * as _assistanz_carbideui from '@assistanz/carbideui';
6
+ import { Chart, BarChartOptions, StackedBarChartOptions, LineChartOptions, AreaChartOptions, StackedAreaChartOptions, ComboChartOptions, HeatmapChartOptions, PieChartOptions, DonutChartOptions, GaugeChartOptions } from '@carbon/charts';
7
7
 
8
8
  declare const ICONS: {
9
9
  readonly add: {
@@ -182,6 +182,146 @@ declare const ICONS: {
182
182
  readonly svg: "<circle cx=\"16\" cy=\"8\" r=\"2\"></circle><circle cx=\"16\" cy=\"16\" r=\"2\"></circle><circle cx=\"16\" cy=\"24\" r=\"2\"></circle>";
183
183
  readonly viewBox: "0 0 32 32";
184
184
  };
185
+ /** Currency symbol — billing, invoices, pricing */
186
+ readonly billing: {
187
+ readonly svg: "<path d=\"M21,12V10H17V7H15v3H13a2.002,2.002,0,0,0-2,2v3a2.002,2.002,0,0,0,2,2h6v3H11v2h4v3h2V22h2a2.0023,2.0023,0,0,0,2-2V17a2.002,2.002,0,0,0-2-2H13V12Z\"/><path d=\"M16,4A12,12,0,1,1,4,16,12.0353,12.0353,0,0,1,16,4m0-2A14,14,0,1,0,30,16,14.0412,14.0412,0,0,0,16,2Z\"/>";
188
+ readonly viewBox: "0 0 32 32";
189
+ };
190
+ /** Bar chart — reports and analytics pages */
191
+ readonly reports: {
192
+ readonly svg: "<path d=\"M4,2H2V28a2,2,0,0,0,2,2H30V28H4V25H26V17H4V13H18V5H4ZM24,19v4H4V19ZM16,7v4H4V7Z\"/>";
193
+ readonly viewBox: "0 0 32 32";
194
+ };
195
+ /** Shopping catalog — marketplace / product catalog */
196
+ readonly marketplace: {
197
+ readonly svg: "<path d=\"M17 24H21V28H17z\"/><path d=\"M24 24H28V28H24z\"/><path d=\"M17 17H21V21H17z\"/><path d=\"M24 17H28V21H24z\"/><path d=\"M28,11h-6V7c0-1.7-1.3-3-3-3h-6c-1.7,0-3,1.3-3,3v4H4c-0.6,0-1,0.4-1,1c0,0.1,0,0.1,0,0.2l1.9,12.1c0.1,1,1,1.7,2,1.7H15v-2 H6.9L5.2,13H28V11z M12,7c0-0.6,0.4-1,1-1h6c0.6,0,1,0.4,1,1v4h-8V7z\"/>";
198
+ readonly viewBox: "0 0 32 32";
199
+ };
200
+ /** Question mark in circle — support and help */
201
+ readonly support: {
202
+ readonly svg: "<path d=\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\"/><circle cx=\"16\" cy=\"23.5\" r=\"1.5\"/><path d=\"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z\"/>";
203
+ readonly viewBox: "0 0 32 32";
204
+ };
205
+ /** Key / certificate — licenses and entitlements */
206
+ readonly license: {
207
+ readonly svg: "<path d=\"M10 6H22V8H10z\"/><path d=\"M10 10H22V12H10z\"/><path d=\"M10 24H16V26H10z\"/><path d=\"M10 14H16V16H10z\"/><path d=\"M24,30H8a2.0023,2.0023,0,0,1-2-2V4A2.0023,2.0023,0,0,1,8,2H24a2.0023,2.0023,0,0,1,2,2V28A2.0023,2.0023,0,0,1,24,30ZM8,4V28H24V4Z\"/>";
208
+ readonly viewBox: "0 0 32 32";
209
+ };
210
+ /** Pulse line — activity feed, audit log, health */
211
+ readonly activity: {
212
+ readonly svg: "<path d=\"M12,29a1,1,0,0,1-.92-.62L6.33,17H2V15H7a1,1,0,0,1,.92.62L12,25.28,20.06,3.65A1,1,0,0,1,21,3a1,1,0,0,1,.93.68L25.72,15H30v2H25a1,1,0,0,1-.95-.68L21,7,12.94,28.35A1,1,0,0,1,12,29Z\"/>";
213
+ readonly viewBox: "0 0 32 32";
214
+ };
215
+ /** Globe — language / region selector */
216
+ readonly globe: {
217
+ readonly svg: "<path d=\"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm5,3.1055a12.0136,12.0136,0,0,1,2.9158,1.8994L23.5034,8H21ZM13.3784,27.7026A11.9761,11.9761,0,0,1,8.1157,6.9761L9.4648,9h3.3423l-1.5,4H7.2793L5.8967,17.1475,8.4648,21h5l1.4319,2.1475ZM16,28c-.2034,0-.4016-.02-.6025-.03l1.3967-4.19a1.9876,1.9876,0,0,0-.2334-1.7412l-1.4319-2.1475A1.9962,1.9962,0,0,0,13.4648,19h-3.93L8.1033,16.8525,8.7207,15H11v2h2V14.1812l2.9363-7.83-1.8726-.7022L13.5571,7H10.5352L9.728,5.7891A11.7941,11.7941,0,0,1,19,4.395V8a2.0025,2.0025,0,0,0,2,2h2.5857A1.9865,1.9865,0,0,0,25,9.4141l.1406-.1407.2818-.68A11.9813,11.9813,0,0,1,27.3,12H22.5986a1.9927,1.9927,0,0,0-1.9719,1.665L20.03,17.1064a1.99,1.99,0,0,0,.991,2.086l2.1647,1.4638,1.4585,3.646A11.9577,11.9577,0,0,1,16,28Zm8.8145-8.6563L22.1,17.5088l-.1-.06L22.5986,14h5.2207a11.743,11.743,0,0,1-1.7441,8.4951Z\"/>";
218
+ readonly viewBox: "0 0 32 32";
219
+ };
220
+ /** Arrow leaving a door — sign out / log out */
221
+ readonly sign_out: {
222
+ readonly svg: "<path d=\"M6,30H18a2.0023,2.0023,0,0,0,2-2V25H18v3H6V4H18V7h2V4a2.0023,2.0023,0,0,0-2-2H6A2.0023,2.0023,0,0,0,4,4V28A2.0023,2.0023,0,0,0,6,30Z\"/><path d=\"M20.586 20.586 24.172 17 10 17 10 15 24.172 15 20.586 11.414 22 10 28 16 22 22 20.586 20.586z\"/>";
223
+ readonly viewBox: "0 0 32 32";
224
+ };
225
+ /** Palette — theme / appearance switcher */
226
+ readonly theme: {
227
+ readonly svg: "<circle cx=\"10\" cy=\"12\" r=\"2\"/><circle cx=\"16\" cy=\"9\" r=\"2\"/><circle cx=\"22\" cy=\"12\" r=\"2\"/><circle cx=\"23\" cy=\"18\" r=\"2\"/><circle cx=\"19\" cy=\"23\" r=\"2\"/><path d=\"M16.54,2A14,14,0,0,0,2,16a4.82,4.82,0,0,0,6.09,4.65l1.12-.31A3,3,0,0,1,13,23.24V27a3,3,0,0,0,3,3A14,14,0,0,0,30,15.46,14.05,14.05,0,0,0,16.54,2Zm8.11,22.31A11.93,11.93,0,0,1,16,28a1,1,0,0,1-1-1V23.24a5,5,0,0,0-5-5,5.07,5.07,0,0,0-1.33.18l-1.12.31A2.82,2.82,0,0,1,4,16,12,12,0,0,1,16.47,4,12.18,12.18,0,0,1,28,15.53,11.89,11.89,0,0,1,24.65,24.32Z\"/>";
228
+ readonly viewBox: "0 0 32 32";
229
+ };
230
+ /** Funnel — filter table or list data */
231
+ readonly filter: {
232
+ readonly svg: "<path d=\"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z\"/>";
233
+ readonly viewBox: "0 0 32 32";
234
+ };
235
+ /** Arrow into tray — download a file */
236
+ readonly download: {
237
+ readonly svg: "<path d=\"M26,24v4H6V24H4v4H4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2h0V24Z\"/><path d=\"M26 14 24.59 12.59 17 20.17 17 2 15 2 15 20.17 7.41 12.59 6 14 16 24 26 14z\"/>";
238
+ readonly viewBox: "0 0 32 32";
239
+ };
240
+ /** Arrow out of box — export data / share out */
241
+ readonly export: {
242
+ readonly svg: "<path d=\"M26,24v4H6V24H4v4l.0076-.0049A1.9977,1.9977,0,0,0,6,30H26a2,2,0,0,0,2-2h0V24Z\"/><path d=\"M6 12 7.411 13.405 15 5.825 15 24 17 24 17 5.825 24.591 13.405 26 12 16 2 6 12z\"/>";
243
+ readonly viewBox: "0 0 32 32";
244
+ };
245
+ /** Arrow up from tray — upload a file */
246
+ readonly upload: {
247
+ readonly svg: "<path d=\"M6 18 7.41 19.41 15 11.83 15 30 17 30 17 11.83 24.59 19.41 26 18 16 8 6 18z\"/><path d=\"M6,8V4H26V8h2V4a2,2,0,0,0-2-2H6A2,2,0,0,0,4,4V8Z\"/>";
248
+ readonly viewBox: "0 0 32 32";
249
+ };
250
+ /** Sliders — preferences and per-view settings */
251
+ readonly settings_adjust: {
252
+ readonly svg: "<path d=\"M30,8h-4.1c-0.5-2.3-2.5-4-4.9-4s-4.4,1.7-4.9,4H2v2h14.1c0.5,2.3,2.5,4,4.9,4s4.4-1.7,4.9-4H30V8z M21,12c-1.7,0-3-1.3-3-3 s1.3-3,3-3s3,1.3,3,3S22.7,12,21,12z\"/><path d=\"M2,24h4.1c0.5,2.3,2.5,4,4.9,4s4.4-1.7,4.9-4H30v-2H15.9c-0.5-2.3-2.5-4-4.9-4s-4.4,1.7-4.9,4H2V24z M11,20c1.7,0,3,1.3,3,3 s-1.3,3-3,3s-3-1.3-3-3S9.3,20,11,20z\"/>";
253
+ readonly viewBox: "0 0 32 32";
254
+ };
255
+ /** Clock — duration, scheduled, recent */
256
+ readonly time: {
257
+ readonly svg: "<path d=\"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\"/><path d=\"M20.59 22 15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z\"/>";
258
+ readonly viewBox: "0 0 32 32";
259
+ };
260
+ /** Page — documents, files, invoices */
261
+ readonly document: {
262
+ readonly svg: "<path d=\"M25.7,9.3l-7-7C18.5,2.1,18.3,2,18,2H8C6.9,2,6,2.9,6,4v24c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V10C26,9.7,25.9,9.5,25.7,9.3 z M18,4.4l5.6,5.6H18V4.4z M24,28H8V4h8v6c0,1.1,0.9,2,2,2h6V28z\"/><path d=\"M10 22H22V24H10z\"/><path d=\"M10 16H22V18H10z\"/>";
263
+ readonly viewBox: "0 0 32 32";
264
+ };
265
+ /** Chain link — copy link, external reference */
266
+ readonly link: {
267
+ readonly svg: "<path d=\"M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z\"/><path d=\"M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z\"/>";
268
+ readonly viewBox: "0 0 32 32";
269
+ };
270
+ /** Floppy disk — save changes */
271
+ readonly save: {
272
+ readonly svg: "<path d=\"M27.71,9.29l-5-5A1,1,0,0,0,22,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V10A1,1,0,0,0,27.71,9.29ZM12,6h8v4H12Zm8,20H12V18h8Zm2,0V18a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2v8H6V6h4v4a2,2,0,0,0,2,2h8a2,2,0,0,0,2-2V6.41l4,4V26Z\"/>";
273
+ readonly viewBox: "0 0 32 32";
274
+ };
275
+ /** Circular arrow — reload / retry */
276
+ readonly refresh: {
277
+ readonly svg: "<path d=\"M26,18A10,10,0,1,1,16,8h6.1821l-3.5844,3.5854L20,13l6-6L20,1,18.5977,2.414,22.1851,6H16A12,12,0,1,0,28,18Z\"/>";
278
+ readonly viewBox: "0 0 32 32";
279
+ };
280
+ /** Closed padlock — secured or restricted */
281
+ readonly lock: {
282
+ readonly svg: "<path d=\"M24,14H22V8A6,6,0,0,0,10,8v6H8a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V16A2,2,0,0,0,24,14ZM12,8a4,4,0,0,1,8,0v6H12ZM24,28H8V16H24Z\"/>";
283
+ readonly viewBox: "0 0 32 32";
284
+ };
285
+ /** Open padlock — unlocked or public */
286
+ readonly unlock: {
287
+ readonly svg: "<path d=\"M24,14H12V8a4,4,0,0,1,8,0h2A6,6,0,0,0,10,8v6H8a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V16A2,2,0,0,0,24,14Zm0,14H8V16H24Z\"/>";
288
+ readonly viewBox: "0 0 32 32";
289
+ };
290
+ /** Arrow out of square — opens in new tab */
291
+ readonly launch: {
292
+ readonly svg: "<path d=\"M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z\"/><path d=\"M20 2 20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2z\"/>";
293
+ readonly viewBox: "0 0 32 32";
294
+ };
295
+ /** Sun — light theme */
296
+ readonly light: {
297
+ readonly svg: "<path d=\"M15 2H17V7H15z\"/><path d=\"M21.668 6.854H26.625999999999998V8.854H21.668z\" transform=\"rotate(-45 24.147 7.853)\"/><path d=\"M25 15H30V17H25z\"/><path d=\"M23.147 21.668H25.147V26.625999999999998H23.147z\" transform=\"rotate(-45 24.147 24.146)\"/><path d=\"M15 25H17V30H15z\"/><path d=\"M5.375 23.147H10.333V25.147H5.375z\" transform=\"rotate(-45 7.853 24.146)\"/><path d=\"M2 15H7V17H2z\"/><path d=\"M6.854 5.375H8.854V10.333H6.854z\" transform=\"rotate(-45 7.854 7.853)\"/><path d=\"M16,12a4,4,0,1,1-4,4,4.0045,4.0045,0,0,1,4-4m0-2a6,6,0,1,0,6,6,6,6,0,0,0-6-6Z\"/>";
298
+ readonly viewBox: "0 0 32 32";
299
+ };
300
+ /** Moon — dark theme */
301
+ readonly dark: {
302
+ readonly svg: "<path d=\"M13.5025,5.4136A15.0755,15.0755,0,0,0,25.096,23.6082a11.1134,11.1134,0,0,1-7.9749,3.3893c-.1385,0-.2782.0051-.4178,0A11.0944,11.0944,0,0,1,13.5025,5.4136M14.98,3a1.0024,1.0024,0,0,0-.1746.0156A13.0959,13.0959,0,0,0,16.63,28.9973c.1641.006.3282,0,.4909,0a13.0724,13.0724,0,0,0,10.702-5.5556,1.0094,1.0094,0,0,0-.7833-1.5644A13.08,13.08,0,0,1,15.8892,4.38,1.0149,1.0149,0,0,0,14.98,3Z\"/>";
303
+ readonly viewBox: "0 0 32 32";
304
+ };
305
+ /** Envelope — email / messages */
306
+ readonly email: {
307
+ readonly svg: "<path d=\"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\"/>";
308
+ readonly viewBox: "0 0 32 32";
309
+ };
310
+ /** Tag — labels and categories */
311
+ readonly tag: {
312
+ readonly svg: "<path d=\"M10,14a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,10,14Zm0-6a2,2,0,1,0,1.998,2.0044A2.002,2.002,0,0,0,10,8Z\"/><path d=\"M16.6436,29.4145,2.5858,15.3555A2,2,0,0,1,2,13.9414V4A2,2,0,0,1,4,2h9.9413a2,2,0,0,1,1.4142.5858L29.4144,16.6436a2.0005,2.0005,0,0,1,0,2.8285l-9.9424,9.9425a2.0008,2.0008,0,0,1-2.8285,0ZM4,4v9.9417L18.0578,28,28,18.0579,13.9416,4Z\"/>";
313
+ readonly viewBox: "0 0 32 32";
314
+ };
315
+ /** Cloud — cloud resources and hosting */
316
+ readonly cloud: {
317
+ readonly svg: "<path d=\"M16,7h0a7.66,7.66,0,0,1,1.51.15,8,8,0,0,1,6.35,6.34l.26,1.35,1.35.24a5.5,5.5,0,0,1-1,10.92H7.5a5.5,5.5,0,0,1-1-10.92l1.34-.24.26-1.35A8,8,0,0,1,16,7m0-2a10,10,0,0,0-9.83,8.12A7.5,7.5,0,0,0,7.49,28h17a7.5,7.5,0,0,0,1.32-14.88,10,10,0,0,0-7.94-7.94A10.27,10.27,0,0,0,16,5Z\"/>";
318
+ readonly viewBox: "0 0 32 32";
319
+ };
320
+ /** Server rack — servers and compute */
321
+ readonly server: {
322
+ readonly svg: "<circle cx=\"9\" cy=\"6\" r=\"1\"/><path d=\"M26,10H6A2.0021,2.0021,0,0,1,4,8V4A2.0021,2.0021,0,0,1,6,2H26a2.0021,2.0021,0,0,1,2,2V8A2.0021,2.0021,0,0,1,26,10ZM6,4V8H26V4Z\"/><circle cx=\"9\" cy=\"16\" r=\"1\"/><path d=\"M26,20H6a2.0021,2.0021,0,0,1-2-2V14a2.0021,2.0021,0,0,1,2-2H26a2.0021,2.0021,0,0,1,2,2v4A2.0021,2.0021,0,0,1,26,20ZM6,14v4H26V14Z\"/><circle cx=\"9\" cy=\"26\" r=\"1\"/><path d=\"M26,30H6a2.0021,2.0021,0,0,1-2-2V24a2.0021,2.0021,0,0,1,2-2H26a2.0021,2.0021,0,0,1,2,2v4A2.0021,2.0021,0,0,1,26,30ZM6,24v4H26V24Z\"/>";
323
+ readonly viewBox: "0 0 32 32";
324
+ };
185
325
  };
186
326
  type NgccIconNameType = keyof typeof ICONS;
187
327
 
@@ -1042,6 +1182,8 @@ declare class NgccTab {
1042
1182
  readonly cacheActive: _angular_core.WritableSignal<boolean>;
1043
1183
  readonly tabContent: _angular_core.InputSignal<TemplateRef<unknown> | null>;
1044
1184
  readonly templateContext: _angular_core.InputSignal<unknown>;
1185
+ readonly queryParamKey: _angular_core.InputSignal<string | null>;
1186
+ readonly queryParamValue: _angular_core.InputSignal<string | null>;
1045
1187
  readonly active: _angular_core.WritableSignal<boolean>;
1046
1188
  setActive(value: boolean): void;
1047
1189
  readonly selected: _angular_core.OutputEmitterRef<void>;
@@ -1050,7 +1192,7 @@ declare class NgccTab {
1050
1192
  protected shouldRender(): boolean;
1051
1193
  protected isTemplate(value: unknown): value is TemplateRef<unknown>;
1052
1194
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTab, never>;
1053
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTab, "ngcc-tab", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "tabContent": { "alias": "tabContent"; "required": false; "isSignal": true; }; "templateContext": { "alias": "templateContext"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, ["*"], true, never>;
1195
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTab, "ngcc-tab", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "tabContent": { "alias": "tabContent"; "required": false; "isSignal": true; }; "templateContext": { "alias": "templateContext"; "required": false; "isSignal": true; }; "queryParamKey": { "alias": "queryParamKey"; "required": false; "isSignal": true; }; "queryParamValue": { "alias": "queryParamValue"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, ["*"], true, never>;
1054
1196
  }
1055
1197
 
1056
1198
  type NgccTabPosition = 'top' | 'bottom';
@@ -1104,6 +1246,7 @@ declare class NgccTabHeaders extends NgccBaseTabHeader implements OnInit, OnChan
1104
1246
  private listChangesSub;
1105
1247
  private readonly injector;
1106
1248
  private destroyEffect?;
1249
+ private readonly activatedRoute;
1107
1250
  constructor();
1108
1251
  ngOnInit(): void;
1109
1252
  ngAfterViewInit(): void;
@@ -1179,7 +1322,88 @@ declare class NgccTabsSkeleton implements OnChanges {
1179
1322
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTabsSkeleton, "ngcc-tabs-skeleton", never, { "numOftabs": { "alias": "numOftabs"; "required": false; }; }, {}, never, never, true, never>;
1180
1323
  }
1181
1324
 
1182
- type BaseThemeNamesType = 'white' | 'g10' | 'g90' | 'g100' | 'rounded' | 'curved';
1325
+ /** The four Carbon color themes. */
1326
+ type NgccCarbonThemeName = 'white' | 'g10' | 'g90' | 'g100';
1327
+ /** Pre-v1.3 "themes" that were really shape/alignment variants. Still accepted, then migrated. */
1328
+ type NgccLegacyThemeName = 'rounded' | 'curved' | 'centered';
1329
+ /** Everything `setTheme()` accepts. Only the Carbon four are ever applied as the color theme. */
1330
+ type BaseThemeNamesType = NgccCarbonThemeName | NgccLegacyThemeName;
1331
+ /** Shape of controls and containers. Applied as `data-corner-style`. */
1332
+ type NgccCornerStyle = 'square' | 'rounded' | 'curved';
1333
+ /** Button label alignment. Applied as `data-button-align`. */
1334
+ type NgccButtonAlign = 'left' | 'centered';
1335
+ type NgccThemeStorage = 'local' | 'session' | 'none';
1336
+ interface NgccThemeOption {
1337
+ value: NgccCarbonThemeName;
1338
+ label: string;
1339
+ description: string;
1340
+ isDark: boolean;
1341
+ /** Preview colors: page background, surface, text */
1342
+ preview: {
1343
+ background: string;
1344
+ surface: string;
1345
+ text: string;
1346
+ };
1347
+ }
1348
+ interface NgccCornerStyleOption {
1349
+ value: NgccCornerStyle;
1350
+ label: string;
1351
+ description: string;
1352
+ /** Preview radii in px: [control, container] */
1353
+ preview: {
1354
+ control: string;
1355
+ container: string;
1356
+ };
1357
+ }
1358
+ interface NgccButtonAlignOption {
1359
+ value: NgccButtonAlign;
1360
+ label: string;
1361
+ description: string;
1362
+ }
1363
+ interface NgccThemeConfig {
1364
+ /** Color theme used when nothing is persisted. Default: 'white' */
1365
+ defaultTheme: NgccCarbonThemeName;
1366
+ /** Corner style used when nothing is persisted. Default: 'square' (Carbon) */
1367
+ defaultCornerStyle: NgccCornerStyle;
1368
+ /** Button label alignment used when nothing is persisted. Default: 'left' (Carbon) */
1369
+ defaultButtonAlign: NgccButtonAlign;
1370
+ /** Where the user's choices are persisted. Default: 'local' */
1371
+ storage: NgccThemeStorage;
1372
+ /** Storage key. Default: 'ngcc-theme' */
1373
+ storageKey: string;
1374
+ /** Follow the OS light/dark preference until the user picks a color theme. Default: false */
1375
+ followSystem: boolean;
1376
+ /** Color theme applied when the OS is in light mode and followSystem is on. Default: 'white' */
1377
+ systemLightTheme: NgccCarbonThemeName;
1378
+ /** Color theme applied when the OS is in dark mode and followSystem is on. Default: 'g100' */
1379
+ systemDarkTheme: NgccCarbonThemeName;
1380
+ /** Keep multiple browser tabs in sync. Default: true */
1381
+ syncAcrossTabs: boolean;
1382
+ }
1383
+ declare const NGCC_THEME_DEFAULTS: NgccThemeConfig;
1384
+ declare const NGCC_THEME_CONFIG: InjectionToken<NgccThemeConfig>;
1385
+ declare const NGCC_THEME_OPTIONS: readonly NgccThemeOption[];
1386
+ declare const NGCC_CORNER_STYLE_OPTIONS: readonly NgccCornerStyleOption[];
1387
+ declare const NGCC_BUTTON_ALIGN_OPTIONS: readonly NgccButtonAlignOption[];
1388
+ declare const NGCC_THEME_NAMES: readonly NgccCarbonThemeName[];
1389
+ declare const NGCC_CORNER_STYLES: readonly NgccCornerStyle[];
1390
+ declare const NGCC_BUTTON_ALIGNS: readonly NgccButtonAlign[];
1391
+ /** Valid for `setTheme()`: the Carbon four plus the legacy shape names. */
1392
+ declare function isNgccThemeName(value: unknown): value is BaseThemeNamesType;
1393
+ declare function isNgccCornerStyle(value: unknown): value is NgccCornerStyle;
1394
+ declare function isNgccButtonAlign(value: unknown): value is NgccButtonAlign;
1395
+ declare function isNgccThemeDark(theme: BaseThemeNamesType): boolean;
1396
+ interface NgccResolvedLegacyTheme {
1397
+ theme: NgccCarbonThemeName;
1398
+ cornerStyle?: NgccCornerStyle;
1399
+ buttonAlign?: NgccButtonAlign;
1400
+ }
1401
+ /**
1402
+ * Splits an old combined theme name into the new independent settings:
1403
+ * rounded → white + rounded corners, curved → white + curved corners,
1404
+ * centered → white + centered button labels. Carbon names pass through.
1405
+ */
1406
+ declare function resolveNgccThemeName(name: BaseThemeNamesType): NgccResolvedLegacyTheme;
1183
1407
 
1184
1408
  /**
1185
1409
  * Sets the initial theme on the HTML element.
@@ -1187,6 +1411,198 @@ type BaseThemeNamesType = 'white' | 'g10' | 'g90' | 'g100' | 'rounded' | 'curved
1187
1411
  */
1188
1412
  declare function initNgccTheme(theme?: BaseThemeNamesType): void;
1189
1413
 
1414
+ /**
1415
+ * Single owner of the global theme attributes on `<html>`:
1416
+ *
1417
+ * | Setting | Attribute | Values |
1418
+ * | -------------- | -------------------- | ------------------------------- |
1419
+ * | Color theme | `data-carbon-theme` | white · g10 · g90 · g100 |
1420
+ * | Corner style | `data-corner-style` | square · rounded · curved |
1421
+ * | Button align | `data-button-align` | left · centered |
1422
+ *
1423
+ * The three settings are independent; any combination is valid. Components are never
1424
+ * touched: global CSS reads these attributes (see `styles/_theme-corners.scss`).
1425
+ *
1426
+ * - Signal based: bind to `theme()`, `cornerStyle()`, `buttonAlign()`, `isDark()`.
1427
+ * - Persists choices (local/session storage, configurable) and migrates older formats.
1428
+ * - Optionally follows the OS light/dark preference in real time.
1429
+ * - Keeps other browser tabs in sync. SSR safe.
1430
+ */
1431
+ declare class NgccThemeService {
1432
+ private readonly doc;
1433
+ private readonly config;
1434
+ private readonly isBrowser;
1435
+ private readonly selectedTheme;
1436
+ private readonly _followSystem;
1437
+ private readonly _cornerStyle;
1438
+ private readonly _buttonAlign;
1439
+ private readonly systemDark;
1440
+ /** True while the color theme is driven by the OS preference */
1441
+ readonly followSystem: _angular_core.Signal<boolean>;
1442
+ readonly cornerStyle: _angular_core.Signal<NgccCornerStyle>;
1443
+ readonly buttonAlign: _angular_core.Signal<NgccButtonAlign>;
1444
+ /** The Carbon color theme currently applied to the document */
1445
+ readonly theme: _angular_core.Signal<NgccCarbonThemeName>;
1446
+ readonly isDark: _angular_core.Signal<boolean>;
1447
+ constructor();
1448
+ /**
1449
+ * Pick an explicit color theme. This turns off "follow system".
1450
+ *
1451
+ * For backwards compatibility the old combined names still work and are split into the
1452
+ * independent settings: `'rounded'`/`'curved'` also set the corner style,
1453
+ * `'centered'` also sets button alignment (the color theme becomes `'white'`).
1454
+ */
1455
+ setTheme(theme: BaseThemeNamesType): void;
1456
+ getTheme(): NgccCarbonThemeName;
1457
+ setCornerStyle(style: NgccCornerStyle): void;
1458
+ setButtonAlign(align: NgccButtonAlign): void;
1459
+ /** Follow (or stop following) the OS light/dark preference. */
1460
+ setFollowSystem(enabled: boolean): void;
1461
+ /** Flip between the configured light and dark color themes. */
1462
+ toggleDarkMode(): void;
1463
+ /** Forget the persisted choices and return to configured defaults. */
1464
+ reset(): void;
1465
+ private applyDefaults;
1466
+ private apply;
1467
+ private store;
1468
+ private persist;
1469
+ /**
1470
+ * Understands every format ever written under the storage key:
1471
+ * - v2 JSON `{ version: 2, theme, followSystem, cornerStyle, buttonAlign }`
1472
+ * - v1 JSON `{ theme, followSystem }` where theme may be rounded|curved|centered
1473
+ * - a bare theme name (original format)
1474
+ * Anything invalid is ignored (returns null) so a bad value can never break theming.
1475
+ */
1476
+ private read;
1477
+ private adopt;
1478
+ private restore;
1479
+ /**
1480
+ * Pre-v1.3 builds stored a bare theme name in sessionStorage under the same key.
1481
+ * Adopt it once into the configured store so existing users keep their theme.
1482
+ */
1483
+ private migrateLegacy;
1484
+ private watchSystemPreference;
1485
+ private watchOtherTabs;
1486
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccThemeService, never>;
1487
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<NgccThemeService>;
1488
+ }
1489
+
1490
+ declare class NgccThemeSwitcher {
1491
+ private readonly themeService;
1492
+ protected readonly uid: string;
1493
+ /** Heading text. Set to an empty string to hide it. */
1494
+ readonly heading: _angular_core.InputSignal<string>;
1495
+ /** Restrict the color themes offered, e.g. `['white', 'g100']`. Defaults to all four. */
1496
+ readonly themes: _angular_core.InputSignal<readonly NgccCarbonThemeName[]>;
1497
+ /** Show the "Match system" toggle */
1498
+ readonly showFollowSystem: _angular_core.InputSignal<boolean>;
1499
+ /** Show the Corner style category */
1500
+ readonly showCornerStyle: _angular_core.InputSignal<boolean>;
1501
+ /** Show the Button label alignment category */
1502
+ readonly showButtonAlign: _angular_core.InputSignal<boolean>;
1503
+ /** Compact layout (swatch only, name as tooltip) */
1504
+ readonly compact: _angular_core.InputSignal<boolean>;
1505
+ /** Emits the resolved color theme whenever it changes through this control */
1506
+ readonly themeChange: _angular_core.OutputEmitterRef<NgccCarbonThemeName>;
1507
+ readonly cornerStyleChange: _angular_core.OutputEmitterRef<NgccCornerStyle>;
1508
+ readonly buttonAlignChange: _angular_core.OutputEmitterRef<NgccButtonAlign>;
1509
+ protected readonly currentTheme: _angular_core.Signal<NgccCarbonThemeName>;
1510
+ protected readonly followSystem: _angular_core.Signal<boolean>;
1511
+ protected readonly currentCorner: _angular_core.Signal<NgccCornerStyle>;
1512
+ protected readonly currentAlign: _angular_core.Signal<NgccButtonAlign>;
1513
+ protected readonly cornerOptions: readonly _assistanz_carbideui.NgccCornerStyleOption[];
1514
+ protected readonly alignOptions: readonly _assistanz_carbideui.NgccButtonAlignOption[];
1515
+ protected readonly cornerValues: NgccCornerStyle[];
1516
+ protected readonly alignValues: NgccButtonAlign[];
1517
+ protected readonly options: _angular_core.Signal<NgccThemeOption[]>;
1518
+ private readonly themeValues;
1519
+ protected readonly currentLabel: _angular_core.Signal<string>;
1520
+ protected readonly statusMessage: _angular_core.Signal<string>;
1521
+ protected selectTheme(theme: NgccCarbonThemeName): void;
1522
+ protected selectCorner(style: NgccCornerStyle): void;
1523
+ protected selectAlign(align: NgccButtonAlign): void;
1524
+ protected onFollowSystemChange(enabled: boolean): void;
1525
+ protected onThemeKeydown(event: KeyboardEvent): void;
1526
+ protected onCornerKeydown(event: KeyboardEvent): void;
1527
+ protected onAlignKeydown(event: KeyboardEvent): void;
1528
+ /** Roving tabindex: only the checked radio (or the first, if none) is tabbable. */
1529
+ protected tabIndex<T>(values: readonly T[], current: T, value: T): number;
1530
+ protected themeValuesList(): readonly NgccCarbonThemeName[];
1531
+ /** Arrow/Home/End navigation across a radio group. */
1532
+ private navigate;
1533
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccThemeSwitcher, never>;
1534
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccThemeSwitcher, "ngcc-theme-switcher", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "themes": { "alias": "themes"; "required": false; "isSignal": true; }; "showFollowSystem": { "alias": "showFollowSystem"; "required": false; "isSignal": true; }; "showCornerStyle": { "alias": "showCornerStyle"; "required": false; "isSignal": true; }; "showButtonAlign": { "alias": "showButtonAlign"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, { "themeChange": "themeChange"; "cornerStyleChange": "cornerStyleChange"; "buttonAlignChange": "buttonAlignChange"; }, never, never, true, never>;
1535
+ }
1536
+
1537
+ /**
1538
+ * Carbon Theme Metadata
1539
+ *
1540
+ * Minimal metadata for each Carbon theme. All actual base token values
1541
+ * are applied by Carbon's SCSS via the [data-carbon-theme] attribute selector
1542
+ * in custom-themes.scss. This metadata provides only what the service
1543
+ * needs for WCAG contrast calculations.
1544
+ */
1545
+ type CarbonThemeName = 'white' | 'g10' | 'g90' | 'g100';
1546
+ interface NgccThemeMetadata {
1547
+ name: CarbonThemeName;
1548
+ isDark: boolean;
1549
+ background: string;
1550
+ /** Secondary button background color (needed for text-on-button WCAG check) */
1551
+ secondaryButtonBg: string;
1552
+ }
1553
+ declare const themeMetadata: Record<CarbonThemeName, NgccThemeMetadata>;
1554
+ declare function isThemeDark(theme: CarbonThemeName): boolean;
1555
+ declare function getThemeBackground(theme: CarbonThemeName): string;
1556
+ declare function getThemeSecondaryButtonBg(theme: CarbonThemeName): string;
1557
+ declare function getAvailableThemes(): CarbonThemeName[];
1558
+ /**
1559
+ * Colors written straight to CSS per base theme (Carbon has a fixed value for each, so
1560
+ * "reset" has a known target).
1561
+ */
1562
+ type NgccStaticThemeColorToken = 'background' | 'layer-01' | 'layer-02' | 'text-primary' | 'text-secondary' | 'border-subtle' | 'border-strong';
1563
+ /**
1564
+ * Colors the service turns into a whole family of tokens (hover states, text-on-color, …) and
1565
+ * contrast-adjusts for the active base theme. Their default is derived from the brand color.
1566
+ */
1567
+ type NgccDerivedThemeColorToken = 'support-error' | 'support-warning' | 'support-success' | 'support-info' | 'link' | 'focus';
1568
+ /** Every color a user may adjust. */
1569
+ type NgccThemeColorToken = NgccStaticThemeColorToken | NgccDerivedThemeColorToken;
1570
+ type NgccThemeColorCategoryId = 'surface' | 'text' | 'border' | 'status' | 'interactive';
1571
+ interface NgccThemeColorCategory {
1572
+ id: NgccThemeColorCategoryId;
1573
+ label: string;
1574
+ description: string;
1575
+ }
1576
+ interface NgccThemeColorTokenDef {
1577
+ key: NgccThemeColorToken;
1578
+ label: string;
1579
+ description: string;
1580
+ category: NgccThemeColorCategoryId;
1581
+ /** Derived tokens are contrast-adjusted by the service instead of written verbatim. */
1582
+ derived: boolean;
1583
+ /** CSS custom properties this color drives. */
1584
+ cssVars: readonly string[];
1585
+ }
1586
+ declare const NGCC_THEME_COLOR_CATEGORIES: readonly NgccThemeColorCategory[];
1587
+ /** Brand color: the single input that derives buttons, interactive tokens and charts. */
1588
+ declare const NGCC_BRAND_TOKEN_NAMES: readonly string[];
1589
+ /** Overrides, kept per theme so switching theme switches to that theme's customizations. */
1590
+ type NgccThemeColorOverrides = Partial<Record<CarbonThemeName, Partial<Record<NgccThemeColorToken, string>>>>;
1591
+ /** Carbon's own values for each theme (what "Reset" returns to). Static tokens only. */
1592
+ declare const themeBaseColors: Record<CarbonThemeName, Record<NgccStaticThemeColorToken, string>>;
1593
+ declare function getThemeBaseColor(theme: CarbonThemeName, token: NgccStaticThemeColorToken): string;
1594
+ declare function isDerivedThemeColorToken(value: unknown): value is NgccDerivedThemeColorToken;
1595
+ declare function isThemeColorToken(value: unknown): value is NgccThemeColorToken;
1596
+ declare function isCarbonThemeName(value: unknown): value is CarbonThemeName;
1597
+ /**
1598
+ * CSS custom properties a *static* color writes verbatim; related tokens move together.
1599
+ * Derived colors return `{}`: the service generates (and contrast-adjusts) their tokens.
1600
+ */
1601
+ declare function themeColorCssVars(token: NgccThemeColorToken, color: string): Record<string, string>;
1602
+ declare const NGCC_THEME_COLOR_TOKENS: readonly NgccThemeColorTokenDef[];
1603
+ /** Colors written verbatim per base theme (what presets and the audit cover). */
1604
+ declare const NGCC_STATIC_THEME_COLOR_TOKENS: readonly NgccThemeColorTokenDef[];
1605
+
1190
1606
  /**
1191
1607
  * WCAG 2.1 Color Accessibility Utilities
1192
1608
  *
@@ -1347,6 +1763,54 @@ interface NgccDerivedColorPalette {
1347
1763
  */
1348
1764
  declare function derivePaletteFromBrand(brandColor: string): NgccDerivedColorPalette;
1349
1765
 
1766
+ /**
1767
+ * Ready-made color themes. Each defines a brand color plus tinted neutrals for all four
1768
+ * Carbon base themes, so switching white / g10 / g90 / g100 keeps the palette's character.
1769
+ *
1770
+ * Contrast (checked in the spec for every preset × theme):
1771
+ * - text and secondary text on background and on layers: at least 7:1 (WCAG AAA)
1772
+ * - strong (control) border on background and layer 01: at least 3:1 (AA non-text)
1773
+ * The brand color itself is contrast-adjusted per theme by NgccColorThemeService.
1774
+ */
1775
+ interface NgccColorThemePreset {
1776
+ id: string;
1777
+ name: string;
1778
+ description: string;
1779
+ brandColor: string;
1780
+ themeColors: NgccThemeColorOverrides;
1781
+ }
1782
+ declare const NGCC_COLOR_THEME_PRESETS: readonly NgccColorThemePreset[];
1783
+ interface NgccColorThemeOptions {
1784
+ /**
1785
+ * Color theme the app starts with: a built-in preset id ('ocean' | 'royal' | 'ember') or your
1786
+ * own preset object. It is used only when the user has no saved customization, and it is what
1787
+ * "Reset to Defaults" returns to.
1788
+ */
1789
+ defaultPreset?: string | NgccColorThemePreset;
1790
+ }
1791
+ declare const NGCC_COLOR_THEME_OPTIONS: InjectionToken<NgccColorThemeOptions>;
1792
+ interface NgccPresetAuditIssue {
1793
+ theme: CarbonThemeName;
1794
+ check: string;
1795
+ foreground: string;
1796
+ background: string;
1797
+ /** Measured contrast ratio (0 when a color is not valid hex). */
1798
+ ratio: number;
1799
+ required: number;
1800
+ }
1801
+ /**
1802
+ * Checks a preset's neutrals against WCAG for every base theme. Tokens you leave out fall back
1803
+ * to Carbon's value, so partial presets are audited as they will render.
1804
+ *
1805
+ * - text and secondary text on the background and on layer 01 / 02: 4.5:1 (AA) or 7:1 (AAA)
1806
+ * - control (strong) border on the background and on layer 01: 3:1 (non-text)
1807
+ *
1808
+ * Returns the failures; an empty array means the preset passes. The brand color and the status,
1809
+ * link and focus colors are not audited here: NgccColorThemeService contrast-adjusts them for
1810
+ * each base theme.
1811
+ */
1812
+ declare function auditNgccColorThemePreset(preset: NgccColorThemePreset, level?: WCAGLevel): NgccPresetAuditIssue[];
1813
+
1350
1814
  interface NgccWCAGConfig {
1351
1815
  /** Target WCAG compliance level */
1352
1816
  level: WCAGLevel;
@@ -1398,28 +1862,22 @@ interface NgccColorThemeConfig {
1398
1862
  /** Generated color scale for secondary */
1399
1863
  secondaryScale?: NgccColorScale;
1400
1864
  }
1401
-
1402
- /**
1403
- * Carbon Theme Metadata
1404
- *
1405
- * Minimal metadata for each Carbon theme. All actual base token values
1406
- * are applied by Carbon's SCSS via the [data-carbon-theme] attribute selector
1407
- * in custom-themes.scss. This metadata provides only what the service
1408
- * needs for WCAG contrast calculations.
1409
- */
1410
- type CarbonThemeName = 'white' | 'g10' | 'g90' | 'g100';
1411
- interface NgccThemeMetadata {
1412
- name: CarbonThemeName;
1413
- isDark: boolean;
1414
- background: string;
1415
- /** Secondary button background color (needed for text-on-button WCAG check) */
1416
- secondaryButtonBg: string;
1865
+ /** Persisted / exportable color settings */
1866
+ interface NgccColorThemeSnapshot {
1867
+ version: 1;
1868
+ brandColor: string;
1869
+ wcagLevel: WCAGLevel;
1870
+ autoAdjust: boolean;
1871
+ /** Per-theme base color overrides. Omitted when nothing is customized. */
1872
+ themeColors?: NgccThemeColorOverrides;
1417
1873
  }
1418
- declare const themeMetadata: Record<CarbonThemeName, NgccThemeMetadata>;
1419
- declare function isThemeDark(theme: CarbonThemeName): boolean;
1420
- declare function getThemeBackground(theme: CarbonThemeName): string;
1421
- declare function getThemeSecondaryButtonBg(theme: CarbonThemeName): string;
1422
- declare function getAvailableThemes(): CarbonThemeName[];
1874
+ interface NgccBrandPreset {
1875
+ name: string;
1876
+ color: string;
1877
+ }
1878
+ declare const NGCC_BRAND_PRESETS: readonly NgccBrandPreset[];
1879
+ /** Returns lowercase #rrggbb for a valid #rgb / #rrggbb string, otherwise null. */
1880
+ declare function normalizeHexColor(value: string): string | null;
1423
1881
 
1424
1882
  /**
1425
1883
  * Color Theme Service with WCAG 2.1 Compliance
@@ -1429,8 +1887,20 @@ declare function getAvailableThemes(): CarbonThemeName[];
1429
1887
  * Dynamic tokens (interactive, button, link, etc.) are applied as inline CSS overrides.
1430
1888
  */
1431
1889
  declare class NgccColorThemeService {
1890
+ private static readonly DEFAULT_WCAG;
1432
1891
  private static readonly FALLBACK_BRAND_COLOR;
1433
- readonly baseTheme: _angular_core.WritableSignal<CarbonThemeName>;
1892
+ private readonly themeService;
1893
+ private readonly doc;
1894
+ private readonly isBrowser;
1895
+ private readonly themeConfig;
1896
+ private readonly colorOptions;
1897
+ /** Customizations of the app's default preset (empty without one); what reset returns to. */
1898
+ private defaultThemeColors;
1899
+ /**
1900
+ * Carbon base theme. Owned by NgccThemeService (single source of truth for
1901
+ * `data-carbon-theme`). Corner style and button alignment don't affect color tokens.
1902
+ */
1903
+ readonly baseTheme: _angular_core.Signal<CarbonThemeName>;
1434
1904
  readonly brandColor: _angular_core.WritableSignal<string>;
1435
1905
  private readonly defaultBrandColor;
1436
1906
  /** WCAG configuration */
@@ -1442,15 +1912,26 @@ declare class NgccColorThemeService {
1442
1912
  /** Convenience accessors derived from palette */
1443
1913
  readonly primaryColor: _angular_core.Signal<string>;
1444
1914
  readonly secondaryColor: _angular_core.Signal<string>;
1915
+ /** Status colors: the user's override for the active theme, else derived from the brand. */
1445
1916
  readonly dangerColor: _angular_core.Signal<string>;
1446
1917
  readonly successColor: _angular_core.Signal<string>;
1918
+ readonly warningColor: _angular_core.Signal<string>;
1919
+ /** @deprecated Misspelled; use warningColor. */
1447
1920
  readonly warningccolor: _angular_core.Signal<string>;
1448
1921
  readonly infoColor: _angular_core.Signal<string>;
1449
1922
  readonly isDarkMode: _angular_core.Signal<boolean>;
1923
+ /** Effective page background of the active theme, including user customization. */
1450
1924
  readonly backgroundColor: _angular_core.Signal<string>;
1451
1925
  readonly primaryScale: _angular_core.Signal<_assistanz_carbideui.NgccColorScale>;
1452
1926
  readonly secondaryScale: _angular_core.Signal<_assistanz_carbideui.NgccColorScale>;
1453
1927
  readonly availableThemes: _angular_core.WritableSignal<CarbonThemeName[]>;
1928
+ /**
1929
+ * User adjustments to the base themes (white, g10, g90, g100), kept per theme.
1930
+ * Emitted as `:root[data-carbon-theme='…']` token blocks: global CSS, no component edits.
1931
+ */
1932
+ readonly themeColorOverrides: _angular_core.WritableSignal<Partial<Record<CarbonThemeName, Partial<Record<NgccThemeColorToken, string>>>>>;
1933
+ /** CSS custom properties currently applied to :root (for inspection / copy). */
1934
+ readonly appliedTokens: _angular_core.WritableSignal<Record<string, string>>;
1454
1935
  /**
1455
1936
  * Chart color configuration for Carbon Charts integration
1456
1937
  */
@@ -1461,8 +1942,32 @@ declare class NgccColorThemeService {
1461
1942
  constructor();
1462
1943
  private generateChartColorScale;
1463
1944
  setBaseTheme(theme: CarbonThemeName): void;
1464
- /** Set the brand color. All other colors are derived automatically. */
1465
- updateBrandColor(color: string): void;
1945
+ /** Effective color of a base-theme token: the user's override, else Carbon's value. */
1946
+ getThemeColor(theme: CarbonThemeName, token: NgccThemeColorToken): string;
1947
+ /**
1948
+ * What a token is without an override: Carbon's value for surfaces, text and borders; derived
1949
+ * from the brand color for status, link and focus (those are contrast-adjusted when applied).
1950
+ */
1951
+ defaultThemeColor(theme: CarbonThemeName, token: NgccThemeColorToken): string;
1952
+ isThemeColorOverridden(theme: CarbonThemeName, token: NgccThemeColorToken): boolean;
1953
+ /**
1954
+ * Customize one color of one base theme. Accepts #rgb / #rrggbb; returns false for anything
1955
+ * else. Setting a token back to Carbon's own value removes the override.
1956
+ */
1957
+ setThemeColor(theme: CarbonThemeName, token: NgccThemeColorToken, color: string): boolean;
1958
+ /**
1959
+ * Apply a ready-made color theme (brand color + tinted neutrals for all four base themes).
1960
+ * Replaces current customizations. Accepts a preset or its id; returns false if unknown/invalid.
1961
+ */
1962
+ applyPreset(preset: NgccColorThemePreset | string): boolean;
1963
+ /** Remove one override (token given) or every override of a theme. */
1964
+ resetThemeColors(theme: CarbonThemeName, token?: NgccThemeColorToken): void;
1965
+ private withTheme;
1966
+ /**
1967
+ * Set the brand color. All other colors are derived automatically.
1968
+ * Accepts #rgb or #rrggbb; returns false (and changes nothing) for anything else.
1969
+ */
1970
+ updateBrandColor(color: string): boolean;
1466
1971
  /** Set the default brand color used on initialization and reset. */
1467
1972
  setDefaultBrandColor(color: string): void;
1468
1973
  /** @deprecated Use updateBrandColor() instead. */
@@ -1474,7 +1979,29 @@ declare class NgccColorThemeService {
1474
1979
  private styleElement;
1475
1980
  private applyTheme;
1476
1981
  private updateThemeStyleTag;
1982
+ /** Brand tokens on :root, then one block per customized base theme. */
1983
+ private renderCss;
1984
+ /** Restore the default brand color and WCAG settings. Base theme is left alone. */
1477
1985
  resetOverrides(): void;
1986
+ private persistTimer;
1987
+ private hasPersisted;
1988
+ private get storageKey();
1989
+ private snapshot;
1990
+ /** Serializable settings, e.g. to save to a user profile on your backend. */
1991
+ exportConfig(): NgccColorThemeSnapshot;
1992
+ /** Apply settings from exportConfig(). Returns false if the payload is invalid. */
1993
+ importConfig(input: string | Partial<NgccColorThemeSnapshot>): boolean;
1994
+ /** Start from the app's default preset (provideNgccColorTheme). Saved user choices load after. */
1995
+ private initDefaultPreset;
1996
+ private sameOverrides;
1997
+ /** Persisted/imported data is untrusted: keep only known themes, tokens and valid hex colors. */
1998
+ private sanitizeOverrides;
1999
+ /** Applied tokens as a ready-to-paste CSS block. */
2000
+ toCss(): string;
2001
+ private restore;
2002
+ /** Debounced so dragging the color picker doesn't write storage on every frame. */
2003
+ private schedulePersist;
2004
+ private clearPersisted;
1478
2005
  private generateWcagCompliantTokens;
1479
2006
  private generateAccessibilityReport;
1480
2007
  private getVisitedLinkColor;
@@ -1513,15 +2040,19 @@ declare abstract class NgccBaseChart<TOptions extends object> implements OnDestr
1513
2040
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgccBaseChart<any>, never, never, { "data": { "alias": "data"; "required": false; }; "options": { "alias": "options"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "noDataMessage": { "alias": "noDataMessage"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
1514
2041
  }
1515
2042
 
1516
- type NgccChartType = 'bar' | 'stackedBar' | 'line' | 'area' | 'pie' | 'donut';
2043
+ type NgccChartType = 'bar' | 'horizontalBar' | 'stackedBar' | 'line' | 'area' | 'stackedArea' | 'combo' | 'heatmap' | 'pie' | 'donut';
1517
2044
  /**
1518
2045
  * Automatically maps each chart type to its Carbon option type.
1519
2046
  */
1520
2047
  interface NgccChartOptionMap {
1521
2048
  bar: BarChartOptions;
2049
+ horizontalBar: BarChartOptions;
1522
2050
  stackedBar: StackedBarChartOptions;
1523
2051
  line: LineChartOptions;
1524
2052
  area: AreaChartOptions;
2053
+ stackedArea: StackedAreaChartOptions;
2054
+ combo: ComboChartOptions;
2055
+ heatmap: HeatmapChartOptions;
1525
2056
  pie: PieChartOptions;
1526
2057
  donut: DonutChartOptions;
1527
2058
  }
@@ -1529,17 +2060,105 @@ interface NgccChartOptionMap {
1529
2060
  * A type-safe way to get the right options type for the given chart type.
1530
2061
  */
1531
2062
  type NgccChartOptions<T extends NgccChartType = NgccChartType> = NgccChartOptionMap[T];
2063
+ interface NgccChartsArgs {
2064
+ type: NgccChartType;
2065
+ data: Record<string, unknown>[];
2066
+ options: NgccChartOptions;
2067
+ loading?: boolean;
2068
+ noDataMessage?: string;
2069
+ thresholds?: readonly NgccChartThreshold[];
2070
+ sort?: NgccChartSort;
2071
+ limit?: number | null;
2072
+ }
2073
+ /**
2074
+ * A reference line on the value axis: a limit to stay under (capacity, quota) or a goal to reach.
2075
+ * `kind` only picks the default color: limit is red, goal is green. `color` overrides it.
2076
+ */
2077
+ interface NgccChartThreshold {
2078
+ value: number;
2079
+ label: string;
2080
+ kind?: 'limit' | 'goal';
2081
+ color?: string;
2082
+ }
2083
+ /** Converts thresholds to Carbon Charts' axis `thresholds` option. */
2084
+ declare function toCarbonThresholds(thresholds: readonly NgccChartThreshold[]): {
2085
+ value: number;
2086
+ label: string;
2087
+ fillColor: string;
2088
+ }[];
2089
+ type NgccChartSort = 'none' | 'asc' | 'desc';
2090
+ /** Sorts rows by their `value` and keeps the first `limit`, for top-N charts. */
2091
+ declare function rankChartData(rows: readonly Record<string, unknown>[], sort: NgccChartSort, limit?: number | null): Record<string, unknown>[];
2092
+ /**
2093
+ * Builds Carbon's `comboChartTypes` from series names: which groups draw as bars and which as
2094
+ * lines. Example: `ngccComboChartTypes({ bars: ['Revenue'], lines: ['Capacity'] })`.
2095
+ */
2096
+ declare function ngccComboChartTypes(series: {
2097
+ bars: readonly string[];
2098
+ lines: readonly string[];
2099
+ }): ComboChartOptions['comboChartTypes'];
1532
2100
 
1533
2101
  declare class NgccCharts<T extends NgccChartType = 'bar'> extends NgccBaseChart<NgccChartOptions<T>> implements OnChanges {
1534
2102
  type: T;
2103
+ /**
2104
+ * Reference lines on the value axis: limits (capacity, quota) and goals. Applies to bar, line,
2105
+ * area and combo charts; for `horizontalBar` the line is vertical.
2106
+ */
2107
+ thresholds: readonly NgccChartThreshold[];
2108
+ /** Sort rows by `value` before drawing (top-N / ranked charts). Default: keep input order. */
2109
+ sort: NgccChartSort;
2110
+ /** Keep only the first N rows after sorting. */
2111
+ limit: number | null;
1535
2112
  private readonly _type;
2113
+ private readonly _thresholds;
2114
+ private readonly _sort;
2115
+ private readonly _limit;
1536
2116
  ngOnChanges(changes: SimpleChanges): void;
2117
+ /** The rows actually drawn: input data, ranked when `sort` / `limit` are set. */
2118
+ protected preparedData(): Record<string, unknown>[];
1537
2119
  constructor();
1538
2120
  protected initChart(el: HTMLElement): void;
1539
2121
  private getMergedOptions;
2122
+ /**
2123
+ * Ranked list: categories on the left (first row on top), values along the bottom. Data is
2124
+ * `{ group, value }`.
2125
+ * Unlike the other axis charts, user `axes` are merged per axis rather than replacing ours.
2126
+ */
2127
+ private horizontalBarOptions;
2128
+ /** Category labels in the order they should read from the top: the order of the (ranked) rows. */
2129
+ private groupsTopDown;
2130
+ /**
2131
+ * Heat map. Data is `{ x, y, value }`: x along the bottom, y up the side, `value` as the color.
2132
+ * Carbon draws a color legend; the legend title defaults to "Value".
2133
+ */
2134
+ private heatmapOptions;
2135
+ /** Adds the `thresholds` input to the value axis, after any thresholds the options define. */
2136
+ private withThresholds;
2137
+ /**
2138
+ * Combo charts need to know which series are bars and which are lines. Without
2139
+ * `comboChartTypes` in the options, the first series draws as bars and the rest as lines.
2140
+ */
2141
+ private defaultComboTypes;
1540
2142
  getType(): T;
1541
2143
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccCharts<any>, never>;
1542
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccCharts<any>, "ngcc-charts", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
2144
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccCharts<any>, "ngcc-charts", never, { "type": { "alias": "type"; "required": false; }; "thresholds": { "alias": "thresholds"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; }, {}, never, never, true, never>;
2145
+ }
2146
+
2147
+ /**
2148
+ * The loading and empty placeholder shared by every chart panel, so they look and announce the
2149
+ * same: the library skeleton while loading, a "no data" message (same height, so the layout does
2150
+ * not jump) when there is nothing to draw. Renders nothing when neither applies.
2151
+ *
2152
+ * Use it for your own chart wrappers too:
2153
+ * `<ngcc-chart-state [loading]="loading" [empty]="!rows.length" height="300px" />`
2154
+ */
2155
+ declare class NgccChartState {
2156
+ readonly loading: _angular_core.InputSignal<boolean>;
2157
+ readonly empty: _angular_core.InputSignal<boolean>;
2158
+ readonly message: _angular_core.InputSignal<string>;
2159
+ readonly height: _angular_core.InputSignal<string>;
2160
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccChartState, never>;
2161
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccChartState, "ngcc-chart-state", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1543
2162
  }
1544
2163
 
1545
2164
  declare class NgccGaugeChart extends NgccBaseChart<GaugeChartOptions> {
@@ -1771,7 +2390,7 @@ declare class NgccNotification implements OnChanges {
1771
2390
  readonly role: _angular_core.Signal<"status" | "alert">;
1772
2391
  readonly ariaLive: _angular_core.Signal<"assertive" | "polite">;
1773
2392
  /** Determine icon name (custom or type-based) */
1774
- readonly iconName: _angular_core.Signal<"add" | "close" | "edit" | "view" | "hide" | "delete" | "warn" | "error" | "calendar" | "copy" | "chevron_left" | "chevron_right" | "chevron_down" | "chevron_up" | "checkmark" | "search" | "sort_icon" | "arrow_up" | "arrow_down" | "info_filled" | "error_filled" | "warning_filled" | "success_filled" | "star" | "cpu" | "memory" | "network" | "disk" | "services" | "notification" | "configuration" | "home" | "renew" | "customer" | "user" | "user_multi" | "user_avatar" | "user_admin" | "location" | "information" | "menu" | "app_switcher" | "overflow_menu_vertical">;
2393
+ readonly iconName: _angular_core.Signal<"add" | "close" | "edit" | "view" | "hide" | "delete" | "warn" | "error" | "calendar" | "copy" | "chevron_left" | "chevron_right" | "chevron_down" | "chevron_up" | "checkmark" | "search" | "sort_icon" | "arrow_up" | "arrow_down" | "info_filled" | "error_filled" | "warning_filled" | "success_filled" | "star" | "cpu" | "memory" | "network" | "disk" | "services" | "notification" | "configuration" | "home" | "renew" | "customer" | "user" | "user_multi" | "user_avatar" | "user_admin" | "location" | "information" | "menu" | "app_switcher" | "overflow_menu_vertical" | "billing" | "reports" | "marketplace" | "support" | "license" | "activity" | "globe" | "sign_out" | "theme" | "filter" | "download" | "export" | "upload" | "settings_adjust" | "time" | "document" | "link" | "save" | "refresh" | "lock" | "unlock" | "launch" | "light" | "dark" | "email" | "tag" | "cloud" | "server">;
1775
2394
  close(): void;
1776
2395
  onAction(): void;
1777
2396
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccNotification, never>;
@@ -1831,7 +2450,7 @@ declare class NgccToast implements OnChanges {
1831
2450
  readonly role: _angular_core.Signal<"status" | "alert">;
1832
2451
  readonly ariaLive: _angular_core.Signal<"assertive" | "polite">;
1833
2452
  /** Determine icon name (custom or type-based) */
1834
- readonly iconName: _angular_core.Signal<"add" | "close" | "edit" | "view" | "hide" | "delete" | "warn" | "error" | "calendar" | "copy" | "chevron_left" | "chevron_right" | "chevron_down" | "chevron_up" | "checkmark" | "search" | "sort_icon" | "arrow_up" | "arrow_down" | "info_filled" | "error_filled" | "warning_filled" | "success_filled" | "star" | "cpu" | "memory" | "network" | "disk" | "services" | "notification" | "configuration" | "home" | "renew" | "customer" | "user" | "user_multi" | "user_avatar" | "user_admin" | "location" | "information" | "menu" | "app_switcher" | "overflow_menu_vertical">;
2453
+ readonly iconName: _angular_core.Signal<"add" | "close" | "edit" | "view" | "hide" | "delete" | "warn" | "error" | "calendar" | "copy" | "chevron_left" | "chevron_right" | "chevron_down" | "chevron_up" | "checkmark" | "search" | "sort_icon" | "arrow_up" | "arrow_down" | "info_filled" | "error_filled" | "warning_filled" | "success_filled" | "star" | "cpu" | "memory" | "network" | "disk" | "services" | "notification" | "configuration" | "home" | "renew" | "customer" | "user" | "user_multi" | "user_avatar" | "user_admin" | "location" | "information" | "menu" | "app_switcher" | "overflow_menu_vertical" | "billing" | "reports" | "marketplace" | "support" | "license" | "activity" | "globe" | "sign_out" | "theme" | "filter" | "download" | "export" | "upload" | "settings_adjust" | "time" | "document" | "link" | "save" | "refresh" | "lock" | "unlock" | "launch" | "light" | "dark" | "email" | "tag" | "cloud" | "server">;
1835
2454
  close(): void;
1836
2455
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccToast, never>;
1837
2456
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccToast, "ngcc-toast", never, { "cfg": { "alias": "cfg"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
@@ -1859,6 +2478,35 @@ declare class ToastService {
1859
2478
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ToastService>;
1860
2479
  }
1861
2480
 
2481
+ type NgccTagType = 'red' | 'magenta' | 'purple' | 'blue' | 'cyan' | 'teal' | 'green' | 'gray' | 'cool-gray' | 'warm-gray' | 'high-contrast' | 'outline';
2482
+ type NgccTagSize = 'sm' | 'md' | 'lg';
2483
+ /** Convenience map for status badges: `<ngcc-tag [type]="NGCC_STATUS_TAG.running">`. */
2484
+ declare const NGCC_STATUS_TAG: {
2485
+ readonly running: "green";
2486
+ readonly success: "green";
2487
+ readonly pending: "blue";
2488
+ readonly warning: "purple";
2489
+ readonly error: "red";
2490
+ readonly stopped: "gray";
2491
+ readonly unknown: "cool-gray";
2492
+ };
2493
+ /**
2494
+ * Tag / status badge. `dot` adds a leading status dot (status-badge look).
2495
+ * `dismissible` shows a close button and emits `dismissed`.
2496
+ */
2497
+ declare class NgccTag {
2498
+ readonly type: _angular_core.InputSignal<NgccTagType>;
2499
+ readonly size: _angular_core.InputSignal<NgccTagSize>;
2500
+ readonly dot: _angular_core.InputSignal<boolean>;
2501
+ readonly dismissible: _angular_core.InputSignal<boolean>;
2502
+ readonly disabled: _angular_core.InputSignal<boolean>;
2503
+ readonly dismissLabel: _angular_core.InputSignal<string>;
2504
+ readonly dismissed: _angular_core.OutputEmitterRef<void>;
2505
+ protected readonly classes: _angular_core.Signal<string>;
2506
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTag, never>;
2507
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTag, "ngcc-tag", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; }, never, ["*"], true, never>;
2508
+ }
2509
+
1862
2510
  type SortDirection = 'asc' | 'desc';
1863
2511
  interface NgccTableColumn<_T = unknown> {
1864
2512
  key: string;
@@ -1866,17 +2514,36 @@ interface NgccTableColumn<_T = unknown> {
1866
2514
  sortable?: boolean;
1867
2515
  width?: string | number;
1868
2516
  align?: 'start' | 'center' | 'end';
2517
+ /**
2518
+ * `status` renders the value as a status tag (dot + text, so color is never the only signal).
2519
+ * Default `text`.
2520
+ */
2521
+ cell?: 'text' | 'status';
2522
+ /** For `cell: 'status'`: value -> tag color. Unmapped values use the built-in status names
2523
+ * (running, success, pending, warning, error, stopped) and fall back to gray. */
2524
+ statusMap?: Record<string, NgccTagType>;
1869
2525
  }
1870
2526
  interface NgccTableConfig {
1871
2527
  pagination?: boolean;
1872
2528
  pageSize?: number;
1873
2529
  rowSelection?: 'single' | 'multiple' | 'none';
2530
+ /** Set to `false` to hide the expand column even when an expanded-row template is provided. */
2531
+ expandable?: boolean;
1874
2532
  search?: {
1875
2533
  enabled?: boolean;
1876
2534
  mode?: 'static' | 'dynamic';
1877
2535
  };
1878
2536
  }
1879
2537
 
2538
+ /**
2539
+ * Marks the template shown under an expanded row:
2540
+ * `<ng-template ngccTableExpandedRow let-row let-index="index">...</ng-template>`
2541
+ */
2542
+ declare class NgccTableExpandedRowDirective {
2543
+ readonly template: TemplateRef<unknown>;
2544
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTableExpandedRowDirective, never>;
2545
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgccTableExpandedRowDirective, "ng-template[ngccTableExpandedRow]", never, {}, {}, never, never, true, never>;
2546
+ }
1880
2547
  declare class NgccTable<T = unknown> implements OnInit, OnChanges {
1881
2548
  private readonly searchService;
1882
2549
  columns: NgccTableColumn<T>[];
@@ -1897,6 +2564,14 @@ declare class NgccTable<T = unknown> implements OnInit, OnChanges {
1897
2564
  } | null>;
1898
2565
  rowSelect: EventEmitter<T[]>;
1899
2566
  searchChange: EventEmitter<string>;
2567
+ /** Emits when a row is expanded or collapsed. */
2568
+ rowExpand: EventEmitter<{
2569
+ row: T;
2570
+ expanded: boolean;
2571
+ }>;
2572
+ /** Template for the content under an expanded row. Its presence turns on the expand column. */
2573
+ protected readonly expandedTemplate: _angular_core.Signal<NgccTableExpandedRowDirective | undefined>;
2574
+ protected readonly expanded: _angular_core.WritableSignal<Set<number>>;
1900
2575
  private readonly _sortState;
1901
2576
  private readonly _columns;
1902
2577
  private readonly _rows;
@@ -1923,8 +2598,19 @@ declare class NgccTable<T = unknown> implements OnInit, OnChanges {
1923
2598
  protected readonly totalPages: _angular_core.Signal<number>;
1924
2599
  constructor();
1925
2600
  ngOnInit(): void;
1926
- protected isSelected(indexOnPage: number): boolean;
1927
- protected toggleRowSelect(absIndex: number, _row: T): void;
2601
+ /** Position of a row in the original `rows` input (selection and expansion key on this). */
2602
+ private readonly rowIndexMap;
2603
+ protected absIndex(row: T): number;
2604
+ protected isSelected(row: T): boolean;
2605
+ protected isExpandable(): boolean;
2606
+ protected isExpanded(row: T): boolean;
2607
+ protected toggleExpand(row: T): void;
2608
+ /** Columns the body spans: data + selection + expand. */
2609
+ protected columnCount(): number;
2610
+ protected statusType(col: NgccTableColumn<T>, value: unknown): NgccTagType;
2611
+ /** A click on the row selects it, unless it landed on a control inside the row. */
2612
+ protected onRowClick(event: Event, row: T): void;
2613
+ protected toggleRowSelect(row: T): void;
1928
2614
  protected isAllSelected(): boolean;
1929
2615
  protected toggleAllRowsSelected(): void;
1930
2616
  protected readonly isIndeterminate: _angular_core.Signal<boolean>;
@@ -1942,7 +2628,7 @@ declare class NgccTable<T = unknown> implements OnInit, OnChanges {
1942
2628
  width?: number | string;
1943
2629
  }): string | null;
1944
2630
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTable<any>, never>;
1945
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTable<any>, "ngcc-table", never, { "columns": { "alias": "columns"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "config": { "alias": "config"; "required": false; }; "sortState": { "alias": "sortState"; "required": false; }; }, { "sortStateChange": "sortStateChange"; "rowSelect": "rowSelect"; "searchChange": "searchChange"; }, never, ["ngcc-table-toolbar"], true, never>;
2631
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTable<any>, "ngcc-table", never, { "columns": { "alias": "columns"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "config": { "alias": "config"; "required": false; }; "sortState": { "alias": "sortState"; "required": false; }; }, { "sortStateChange": "sortStateChange"; "rowSelect": "rowSelect"; "searchChange": "searchChange"; "rowExpand": "rowExpand"; }, ["expandedTemplate"], ["ngcc-table-toolbar"], true, never>;
1946
2632
  }
1947
2633
 
1948
2634
  declare class NgccTableToolbar implements OnChanges {
@@ -2057,31 +2743,135 @@ declare class NgccPagination implements OnChanges {
2057
2743
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPagination, "ngcc-pagination", never, { "page": { "alias": "page"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "loopNavigation": { "alias": "loopNavigation"; "required": false; }; }, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; }, never, never, true, never>;
2058
2744
  }
2059
2745
 
2746
+ type NgccColorThemeTab = 'colors' | 'brand' | 'a11y' | 'output';
2060
2747
  declare class NgccColorThemeSwitcher {
2061
2748
  private readonly colorService;
2062
2749
  /** Optional default brand color provided by the consumer */
2063
2750
  readonly defaultColor: _angular_core.InputSignal<string | undefined>;
2751
+ /** Quick-pick brand colors. Pass an empty array to hide. */
2752
+ readonly presets: _angular_core.InputSignal<readonly NgccBrandPreset[]>;
2753
+ /** Show the WCAG compliance panel */
2754
+ readonly showAccessibility: _angular_core.InputSignal<boolean>;
2755
+ /** Show the applied-token preview and copy/import/export tools */
2756
+ readonly showAdvanced: _angular_core.InputSignal<boolean>;
2757
+ /** Show the editor for the active base theme's colors (background, layers, text, borders) */
2758
+ readonly showThemeColors: _angular_core.InputSignal<boolean>;
2064
2759
  constructor();
2065
- /** Signals for reactive template binding */
2066
- protected readonly brandColor: _angular_core.Signal<string>;
2067
- protected readonly baseTheme: _angular_core.Signal<_assistanz_carbideui.CarbonThemeName>;
2068
- /** Derived palette colors for preview */
2760
+ protected readonly brandColor: _angular_core.WritableSignal<string>;
2761
+ protected readonly baseTheme: _angular_core.Signal<CarbonThemeName>;
2762
+ protected readonly wcag: _angular_core.WritableSignal<_assistanz_carbideui.NgccWCAGConfig>;
2763
+ protected readonly report: _angular_core.WritableSignal<_assistanz_carbideui.NgccThemeAccessibilityReport | null>;
2069
2764
  protected readonly primaryColor: _angular_core.Signal<string>;
2070
2765
  protected readonly secondaryColor: _angular_core.Signal<string>;
2071
2766
  protected readonly dangerColor: _angular_core.Signal<string>;
2072
2767
  protected readonly successColor: _angular_core.Signal<string>;
2073
- protected readonly warningccolor: _angular_core.Signal<string>;
2768
+ protected readonly warningColor: _angular_core.Signal<string>;
2074
2769
  protected readonly infoColor: _angular_core.Signal<string>;
2075
- /** Base Carbon themes */
2076
- protected readonly themes: _angular_core.WritableSignal<readonly ["white", "g10", "g90", "g100"]>;
2077
- /** Update handlers */
2078
- protected onBrandColorChange(value: string): void;
2079
- protected onBaseThemeChange(theme: 'white' | 'g10' | 'g90' | 'g100'): void;
2770
+ protected readonly themes: readonly CarbonThemeName[];
2771
+ /** Built-in color themes offered as one-click starting points. */
2772
+ protected readonly colorPresets: readonly NgccColorThemePreset[];
2773
+ protected readonly activePreset: _angular_core.WritableSignal<string>;
2774
+ protected readonly brandTokens: readonly string[];
2775
+ /** Search over color names, descriptions and CSS token names. */
2776
+ protected readonly filter: _angular_core.WritableSignal<string>;
2777
+ protected readonly tab: _angular_core.WritableSignal<NgccColorThemeTab>;
2778
+ protected readonly tabs: _angular_core.Signal<{
2779
+ id: NgccColorThemeTab;
2780
+ label: string;
2781
+ show: boolean;
2782
+ }[]>;
2783
+ /** The chosen tab, or the first one still shown if it was switched off. */
2784
+ protected readonly activeTab: _angular_core.Signal<NgccColorThemeTab>;
2785
+ /** Every customizable color of the active base theme, with whether it has been changed. */
2786
+ private readonly allRows;
2787
+ /** Categories with their rows, narrowed by the search box. Empty categories are dropped. */
2788
+ protected readonly categories: _angular_core.Signal<{
2789
+ rows: {
2790
+ value: string;
2791
+ overridden: boolean;
2792
+ key: NgccThemeColorToken;
2793
+ label: string;
2794
+ description: string;
2795
+ category: _assistanz_carbideui.NgccThemeColorCategoryId;
2796
+ derived: boolean;
2797
+ cssVars: readonly string[];
2798
+ }[];
2799
+ modified: number;
2800
+ id: _assistanz_carbideui.NgccThemeColorCategoryId;
2801
+ label: string;
2802
+ description: string;
2803
+ }[]>;
2804
+ protected readonly nothingMatches: _angular_core.Signal<boolean>;
2805
+ protected readonly modifiedCount: _angular_core.Signal<number>;
2806
+ protected readonly themeHasOverrides: _angular_core.Signal<boolean>;
2807
+ /** The color being edited on the right. Falls back to the first listed color. */
2808
+ protected readonly selectedKey: _angular_core.WritableSignal<NgccThemeColorToken | null>;
2809
+ protected readonly selectedRow: _angular_core.Signal<{
2810
+ value: string;
2811
+ overridden: boolean;
2812
+ key: NgccThemeColorToken;
2813
+ label: string;
2814
+ description: string;
2815
+ category: _assistanz_carbideui.NgccThemeColorCategoryId;
2816
+ derived: boolean;
2817
+ cssVars: readonly string[];
2818
+ }>;
2819
+ /** A paste-ready override for the selected color (static colors only). */
2820
+ protected readonly selectedSnippet: _angular_core.Signal<string>;
2821
+ /** Arrow keys move between tabs (roving tabindex). */
2822
+ protected onTabKeydown(event: KeyboardEvent): void;
2823
+ /** Text field draft; follows the real brand color whenever it changes elsewhere. */
2824
+ protected readonly hexDraft: _angular_core.WritableSignal<string>;
2825
+ protected readonly hexInvalid: _angular_core.Signal<boolean>;
2826
+ protected readonly errorCount: _angular_core.Signal<number>;
2827
+ protected readonly warningCount: _angular_core.Signal<number>;
2828
+ /** Screen-reader announcement for the last action */
2829
+ protected readonly announcement: _angular_core.WritableSignal<string>;
2830
+ protected readonly transferText: _angular_core.WritableSignal<string>;
2831
+ protected readonly transferError: _angular_core.WritableSignal<boolean>;
2832
+ protected onPickerInput(value: string): void;
2833
+ protected onHexInput(value: string): void;
2834
+ protected selectPreset(preset: NgccBrandPreset): void;
2835
+ protected isActivePreset(preset: NgccBrandPreset): boolean;
2836
+ protected onBaseThemeChange(theme: CarbonThemeName): void;
2837
+ /** Live while dragging the picker. */
2838
+ protected onThemeColorInput(token: NgccThemeColorToken, value: string): void;
2839
+ /** Typed hex applies on commit (blur/Enter); an invalid value is reverted. */
2840
+ protected onThemeColorCommit(token: NgccThemeColorToken, event: Event): void;
2841
+ protected resetThemeColor(token: NgccThemeColorToken): void;
2842
+ protected resetThemeColors(): void;
2843
+ protected onWcagLevelChange(level: string): void;
2844
+ protected onAutoAdjustChange(enabled: boolean): void;
2080
2845
  protected resetOverrides(): void;
2846
+ protected applyColorPreset(preset: NgccColorThemePreset): void;
2847
+ protected copyToken(name: string): Promise<void>;
2848
+ protected copySnippet(): Promise<void>;
2849
+ protected copyCss(): Promise<void>;
2850
+ protected copyConfig(): Promise<void>;
2851
+ protected applyConfig(): void;
2852
+ private copy;
2853
+ private announce;
2081
2854
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccColorThemeSwitcher, never>;
2082
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccColorThemeSwitcher, "ngcc-color-theme-switcher", never, { "defaultColor": { "alias": "defaultColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2855
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccColorThemeSwitcher, "ngcc-color-theme-switcher", never, { "defaultColor": { "alias": "defaultColor"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "showAccessibility": { "alias": "showAccessibility"; "required": false; "isSignal": true; }; "showAdvanced": { "alias": "showAdvanced"; "required": false; "isSignal": true; }; "showThemeColors": { "alias": "showThemeColors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2083
2856
  }
2084
2857
 
2858
+ /**
2859
+ * Configure theming app-wide, in `app.config.ts`:
2860
+ * `providers: [provideNgccTheme({ defaultTheme: 'g10', defaultCornerStyle: 'rounded' })]`
2861
+ *
2862
+ * The theme is applied at app start-up. You don't need a switcher on the page, nothing has to
2863
+ * inject the service first.
2864
+ */
2865
+ declare function provideNgccTheme(config?: Partial<NgccThemeConfig>): EnvironmentProviders;
2866
+ /**
2867
+ * Choose the app's color theme, in `app.config.ts`:
2868
+ * `providers: [provideNgccColorTheme({ defaultPreset: 'ocean' })]`
2869
+ *
2870
+ * Applied at app start-up. A user's saved customization still wins, and "Reset to Defaults"
2871
+ * returns to this preset.
2872
+ */
2873
+ declare function provideNgccColorTheme(options?: NgccColorThemeOptions): EnvironmentProviders;
2874
+
2085
2875
  /**
2086
2876
  * Signals-based, SSR-safe i18n service for Angular applications.
2087
2877
  * Provides translation functionality with lazy loading, caching, fallback language support,
@@ -2398,6 +3188,9 @@ declare class NgccHeaderItem implements OnChanges {
2398
3188
  /** Navigation URL */
2399
3189
  href: string;
2400
3190
  private readonly _href;
3191
+ /** Angular Router route target. When provided, it takes precedence over href. */
3192
+ routerLink?: string | string[] | null;
3193
+ private readonly _routerLink;
2401
3194
  /** Marks this link as the active / current page */
2402
3195
  isCurrentPage: boolean;
2403
3196
  private readonly _isCurrentPage;
@@ -2406,10 +3199,11 @@ declare class NgccHeaderItem implements OnChanges {
2406
3199
  private readonly _tabIndex;
2407
3200
  itemClick: EventEmitter<Event>;
2408
3201
  readonly linkClasses: _angular_core.Signal<string>;
3202
+ readonly resolvedHref: _angular_core.Signal<string | string[] | null>;
2409
3203
  onClick(event: Event): void;
2410
3204
  onKeydown(event: KeyboardEvent): void;
2411
3205
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccHeaderItem, never>;
2412
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccHeaderItem, "ngcc-header-item", never, { "href": { "alias": "href"; "required": false; }; "isCurrentPage": { "alias": "isCurrentPage"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "itemClick": "itemClick"; }, never, ["*"], true, never>;
3206
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccHeaderItem, "ngcc-header-item", never, { "href": { "alias": "href"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "isCurrentPage": { "alias": "isCurrentPage"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "itemClick": "itemClick"; }, never, ["*", "*"], true, never>;
2413
3207
  }
2414
3208
 
2415
3209
  /**
@@ -2477,16 +3271,19 @@ declare class NgccHeaderMenuItem implements OnChanges {
2477
3271
  ngOnChanges(changes: SimpleChanges): void;
2478
3272
  href: string;
2479
3273
  private readonly _href;
3274
+ routerLink?: string | string[] | null;
3275
+ private readonly _routerLink;
2480
3276
  isCurrentPage: boolean;
2481
3277
  private readonly _isCurrentPage;
2482
3278
  disabled: boolean;
2483
3279
  private readonly _disabled;
2484
3280
  itemClick: EventEmitter<Event>;
2485
3281
  readonly linkClasses: _angular_core.Signal<string>;
3282
+ readonly resolvedHref: _angular_core.Signal<string | string[] | null>;
2486
3283
  onClick(event: Event): void;
2487
3284
  onKeydown(event: KeyboardEvent): void;
2488
3285
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccHeaderMenuItem, never>;
2489
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccHeaderMenuItem, "ngcc-header-menu-item", never, { "href": { "alias": "href"; "required": false; }; "isCurrentPage": { "alias": "isCurrentPage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "itemClick": "itemClick"; }, never, ["*"], true, never>;
3286
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccHeaderMenuItem, "ngcc-header-menu-item", never, { "href": { "alias": "href"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "isCurrentPage": { "alias": "isCurrentPage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "itemClick": "itemClick"; }, never, ["*", "*"], true, never>;
2490
3287
  }
2491
3288
 
2492
3289
  /**
@@ -2520,6 +3317,9 @@ declare class NgccHeaderAction implements OnChanges {
2520
3317
  active: boolean;
2521
3318
  activeChange: EventEmitter<boolean>;
2522
3319
  private readonly _active;
3320
+ /** Optional link target for actions that behave like anchors, e.g. “Switch to Legacy”. */
3321
+ href?: string | null;
3322
+ private readonly _href;
2523
3323
  /** Icon to display — any key from the NgccIcon registry */
2524
3324
  iconName: NgccIconNameType | undefined;
2525
3325
  private readonly _iconName;
@@ -2527,11 +3327,12 @@ declare class NgccHeaderAction implements OnChanges {
2527
3327
  toggleable: boolean;
2528
3328
  private readonly _toggleable;
2529
3329
  actionClick: EventEmitter<MouseEvent>;
3330
+ linkClick: EventEmitter<MouseEvent>;
2530
3331
  onClick(event: MouseEvent): void;
2531
3332
  onDocumentClick(event: MouseEvent): void;
2532
3333
  onEscape(): void;
2533
3334
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccHeaderAction, never>;
2534
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccHeaderAction, "ngcc-header-action", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "active": { "alias": "active"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; }, { "activeChange": "activeChange"; "actionClick": "actionClick"; }, never, never, true, never>;
3335
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccHeaderAction, "ngcc-header-action", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "active": { "alias": "active"; "required": false; }; "href": { "alias": "href"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; }, { "activeChange": "activeChange"; "actionClick": "actionClick"; "linkClick": "linkClick"; }, never, never, true, never>;
2535
3336
  }
2536
3337
 
2537
3338
  /**
@@ -2722,6 +3523,8 @@ declare class NgccSideNav implements NgccSideNavContext, OnChanges, AfterContent
2722
3523
  declare class NgccSideNavItem {
2723
3524
  /** Navigation URL */
2724
3525
  href: string;
3526
+ /** Angular Router route target. When provided, it takes precedence over href. */
3527
+ routerLink?: string | string[] | null;
2725
3528
  /** Marks this link as the active / current page */
2726
3529
  active: boolean;
2727
3530
  /** Optional title attribute for the anchor */
@@ -2729,11 +3532,12 @@ declare class NgccSideNavItem {
2729
3532
  /** Optional icon placed before the link text */
2730
3533
  iconName: NgccIconNameType | undefined;
2731
3534
  itemClick: EventEmitter<Event>;
2732
- get itemClasses(): string;
2733
- get linkClasses(): string;
3535
+ readonly itemClasses: _angular_core.Signal<string>;
3536
+ readonly linkClasses: _angular_core.Signal<string>;
3537
+ readonly linkHref: _angular_core.Signal<string>;
2734
3538
  onClick(event: Event): void;
2735
3539
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccSideNavItem, never>;
2736
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccSideNavItem, "ngcc-side-nav-item", never, { "href": { "alias": "href"; "required": false; }; "active": { "alias": "active"; "required": false; }; "title": { "alias": "title"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; }, { "itemClick": "itemClick"; }, never, ["*"], true, never>;
3540
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccSideNavItem, "ngcc-side-nav-item", never, { "href": { "alias": "href"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "active": { "alias": "active"; "required": false; }; "title": { "alias": "title"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; }, { "itemClick": "itemClick"; }, never, ["*"], true, never>;
2737
3541
  }
2738
3542
 
2739
3543
  /**
@@ -2813,14 +3617,17 @@ declare class NgccSideNavMenu {
2813
3617
  declare class NgccSideNavMenuItem {
2814
3618
  /** Navigation URL */
2815
3619
  href: string;
3620
+ /** Angular Router route target. When provided, it takes precedence over href. */
3621
+ routerLink?: string | string[] | null;
2816
3622
  /** Marks this link as the active / current page */
2817
3623
  active: boolean;
2818
3624
  /** Optional title attribute for the anchor */
2819
3625
  title: string;
2820
3626
  itemClick: EventEmitter<Event>;
3627
+ readonly linkHref: () => string;
2821
3628
  onClick(event: Event): void;
2822
3629
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccSideNavMenuItem, never>;
2823
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccSideNavMenuItem, "ngcc-side-nav-menu-item", never, { "href": { "alias": "href"; "required": false; }; "active": { "alias": "active"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "itemClick": "itemClick"; }, never, ["*"], true, never>;
3630
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccSideNavMenuItem, "ngcc-side-nav-menu-item", never, { "href": { "alias": "href"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "active": { "alias": "active"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "itemClick": "itemClick"; }, never, ["*"], true, never>;
2824
3631
  }
2825
3632
 
2826
3633
  /**
@@ -2838,6 +3645,18 @@ declare class NgccSideNavDivider {
2838
3645
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccSideNavDivider, "ngcc-side-nav-divider", never, {}, {}, never, never, true, never>;
2839
3646
  }
2840
3647
 
3648
+ /**
3649
+ * A simple labeled section within <ngcc-side-nav>.
3650
+ *
3651
+ * This is used for admin shell groupings like "BSS" / "OSS" where a divider is not enough,
3652
+ * but a labeled heading helps users understand the grouping.
3653
+ */
3654
+ declare class NgccSideNavSection {
3655
+ label: string;
3656
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccSideNavSection, never>;
3657
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccSideNavSection, "ngcc-side-nav-section", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
3658
+ }
3659
+
2841
3660
  type NgccCodeSnippetType = 'inline' | 'single' | 'multi';
2842
3661
 
2843
3662
  declare class NgccCodeSnippetComponent {
@@ -2893,5 +3712,650 @@ declare class NgccCodeSnippetComponent {
2893
3712
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccCodeSnippetComponent, "ngcc-code-snippet", never, { "type": { "alias": "type"; "required": false; }; "code": { "alias": "code"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideCopyButton": { "alias": "hideCopyButton"; "required": false; }; "wrapText": { "alias": "wrapText"; "required": false; }; "light": { "alias": "light"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "feedback": { "alias": "feedback"; "required": false; }; "feedbackTimeout": { "alias": "feedbackTimeout"; "required": false; }; "showMoreText": { "alias": "showMoreText"; "required": false; }; "showLessText": { "alias": "showLessText"; "required": false; }; "copyButtonDescription": { "alias": "copyButtonDescription"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "maxCollapsedNumberOfRows": { "alias": "maxCollapsedNumberOfRows"; "required": false; }; "maxExpandedNumberOfRows": { "alias": "maxExpandedNumberOfRows"; "required": false; }; }, {}, never, never, true, never>;
2894
3713
  }
2895
3714
 
2896
- export { HttpNgccI18nLoader, NGCC_ACCORDION_ALIGN, NGCC_I18N_CONFIG, NGCC_RADIO_GROUP_TOKEN, NGCC_SIDE_NAV_CONTEXT, NgccAccordion, NgccAccordionItem, NgccBreadcrumbComponent, NgccBreadcrumbItemComponent, NgccButton, NgccCharts, NgccCheckbox, NgccCodeSnippetComponent, NgccColorThemeService, NgccColorThemeSwitcher, NgccContainedList, NgccContainedListActionDirective, NgccContainedListItem, NgccContainedListItemActionDirective, NgccDatePicker, NgccDatePickerCalendar, NgccDropdown, NgccGaugeChart, NgccHamburger, NgccHeader, NgccHeaderAction, NgccHeaderGlobal, NgccHeaderItem, NgccHeaderMenu, NgccHeaderMenuItem, NgccHeaderName, NgccHeaderNavigation, NgccHeaderPanel, NgccI18nPipe, NgccI18nService, NgccIcon, NgccInput, NgccLink, NgccModal, NgccNotification, NgccNotificationContainer, NgccPagination, NgccRadio, NgccRadioGroup, NgccSideNav, NgccSideNavDivider, NgccSideNavItem, NgccSideNavMenu, NgccSideNavMenuItem, NgccSkeleton, NgccTab, NgccTabHeaders, NgccTable, NgccTableSearchDirective, NgccTableSearchService, NgccTableService, NgccTableSkeleton, NgccTableToolbar, NgccTabs, NgccTabsSkeleton, NgccTextAreaComponent, NgccToast, NgccToastContainer, NgccToggle, NgccTooltip, NotificationService, ToastService, WCAG_CONTRAST, adjustColorForContrast, checkContrast, createAccessibleColorPair, derivePaletteFromBrand, generateColorScale, generateInteractiveStates, getAccessibleTextColor, getAvailableThemes, getContrastRatio, getFocusIndicatorColor, getRelativeLuminance, getThemeBackground, getThemeSecondaryButtonBg, hexToHsl, hexToRgb, hslToHex, hslToRgb, initNgccTheme, isThemeDark, provideNgccI18n, rgbToHex, rgbToHsl, themeMetadata, validateColorToken };
2897
- export type { AccordionAlign, AccordionSize, CarbonThemeName, DropdownSize, NgccAccessibilityIssue, NgccAccessibleColorPair, NgccBreadcrumbItem, NgccBreadcrumbSize, NgccCalendarCell, NgccCodeSnippetType, NgccColorScale, NgccColorThemeConfig, NgccContainedListKind, NgccContainedListSize, NgccContrastResult, NgccDateFormat, NgccDerivedColorPalette, NgccDropdownItem, NgccHSL, NgccHeaderMenuTrigger, NgccHeaderNavItem, NgccI18nConfig, NgccI18nLoader, NgccInputNumberSize, NgccInputSize, NgccInputType, NgccLinkAriaCurrent, NgccLinkSize, NgccLinkTarget, NgccNotificationConfig, NgccRGB, NgccRadioChange, NgccRadioGroupContext, NgccRadioLabelPlacement, NgccRadioOrientation, NgccSideNavContext, NgccSideNavVariant, NgccTableColumn, NgccTableConfig, NgccTextAreaSize, NgccThemeAccessibilityReport, NgccThemeMetadata, NgccToastConfig, NgccToggleSize, NgccTokenValidationResult, NgccWCAGConfig, NotificationType, SortDirection, TextSize, ToastType, WCAGLevel };
3715
+ declare class NgccContentSwitcherOption {
3716
+ readonly name: _angular_core.InputSignal<string>;
3717
+ readonly active: _angular_core.WritableSignal<boolean>;
3718
+ readonly selectionMode: _angular_core.WritableSignal<"automatic" | "manual">;
3719
+ readonly selected: _angular_core.OutputEmitterRef<boolean>;
3720
+ readonly clicked: _angular_core.OutputEmitterRef<MouseEvent>;
3721
+ readonly focused: _angular_core.OutputEmitterRef<FocusEvent>;
3722
+ private readonly switcher;
3723
+ handleClick(event: MouseEvent): void;
3724
+ handleFocus(event: FocusEvent): void;
3725
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccContentSwitcherOption, never>;
3726
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccContentSwitcherOption, "ngcc-content-switcher-option", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "clicked": "clicked"; "focused": "focused"; }, never, ["*"], true, never>;
3727
+ }
3728
+
3729
+ interface NgccContentSwitcherContext {
3730
+ selectOption(option: unknown): void;
3731
+ }
3732
+ declare const NGCC_CONTENT_SWITCHER: InjectionToken<NgccContentSwitcherContext>;
3733
+
3734
+ declare class NgccContentSwitcher implements NgccContentSwitcherContext {
3735
+ readonly ariaLabel: _angular_core.InputSignal<string>;
3736
+ readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
3737
+ readonly lowContrast: _angular_core.InputSignal<boolean>;
3738
+ readonly selectionMode: _angular_core.InputSignal<"automatic" | "manual">;
3739
+ readonly selectedIndex: _angular_core.ModelSignal<number | undefined>;
3740
+ readonly selected: _angular_core.OutputEmitterRef<NgccContentSwitcherOption>;
3741
+ readonly options: _angular_core.Signal<readonly NgccContentSwitcherOption[]>;
3742
+ private readonly hostRef;
3743
+ readonly switcherClasses: _angular_core.Signal<string>;
3744
+ constructor();
3745
+ selectOption(option: unknown): void;
3746
+ onKeydown(event: KeyboardEvent): void;
3747
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccContentSwitcher, never>;
3748
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccContentSwitcher, "ngcc-content-switcher", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "lowContrast": { "alias": "lowContrast"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; }, { "selectedIndex": "selectedIndexChange"; "selected": "selected"; }, ["options"], ["*"], true, never>;
3749
+ }
3750
+
3751
+ /**
3752
+ * Tile / card with optional header, body, footer and action slots.
3753
+ *
3754
+ * Slots (content projection):
3755
+ * - `[ngccTileHeader]` — header content (or use the `heading` input)
3756
+ * - default — body
3757
+ * - `[ngccTileAction]` — action area in the header (e.g. an icon button)
3758
+ * - `[ngccTileFooter]` — footer content
3759
+ *
3760
+ * Set `href` to render the whole tile as a link, or `clickable` to make it a button.
3761
+ */
3762
+ declare class NgccTile {
3763
+ readonly heading: _angular_core.InputSignal<string>;
3764
+ /** Renders the tile as an anchor. */
3765
+ readonly href: _angular_core.InputSignal<string | undefined>;
3766
+ /** Renders the tile as a button. */
3767
+ readonly clickable: _angular_core.InputSignal<boolean>;
3768
+ readonly disabled: _angular_core.InputSignal<boolean>;
3769
+ /** Use on layers that already have a `$layer` background. */
3770
+ readonly light: _angular_core.InputSignal<boolean>;
3771
+ readonly activated: _angular_core.OutputEmitterRef<Event>;
3772
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTile, never>;
3773
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTile, "ngcc-tile", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "light": { "alias": "light"; "required": false; "isSignal": true; }; }, { "activated": "activated"; }, never, ["[ngccTileHeader]", "[ngccTileAction]", "*", "[ngccTileFooter]"], true, never>;
3774
+ }
3775
+
3776
+ type NgccSparklineType = 'line' | 'area' | 'bar';
3777
+ type NgccSparklineStatus = 'none' | 'success' | 'warning' | 'error' | 'info';
3778
+ /** Whether a rising series is good (revenue), bad (cost, errors) or has no judgement. */
3779
+ type NgccSparklineSentiment = 'positive-up' | 'positive-down' | 'neutral';
3780
+ type NgccSparklineTrend = 'up' | 'down' | 'flat';
3781
+
3782
+ type NgccStatTrend = 'up' | 'down' | 'flat';
3783
+ type NgccStatStatus = 'none' | 'success' | 'warning' | 'error' | 'info';
3784
+ /** Whether a rising value is good (revenue) or bad (cost, errors). */
3785
+ type NgccStatTrendSentiment = 'positive-up' | 'positive-down' | 'neutral';
3786
+ /**
3787
+ * KPI tile: label, value, optional delta with trend arrow, and a status accent bar.
3788
+ * If `trend` is omitted it is derived from the sign of a numeric `delta`.
3789
+ */
3790
+ declare class NgccStatTile {
3791
+ readonly label: _angular_core.InputSignal<string>;
3792
+ readonly value: _angular_core.InputSignal<string | number>;
3793
+ readonly unit: _angular_core.InputSignal<string>;
3794
+ /** Displayed as-is; numbers get a leading + / − and are used to infer the trend. */
3795
+ readonly delta: _angular_core.InputSignal<string | number | undefined>;
3796
+ readonly deltaCaption: _angular_core.InputSignal<string>;
3797
+ readonly trend: _angular_core.InputSignal<NgccStatTrend | undefined>;
3798
+ readonly trendSentiment: _angular_core.InputSignal<NgccStatTrendSentiment>;
3799
+ readonly status: _angular_core.InputSignal<NgccStatStatus>;
3800
+ /** A short series (oldest first) drawn under the value as a trend. */
3801
+ readonly sparkline: _angular_core.InputSignal<readonly number[]>;
3802
+ readonly sparklineType: _angular_core.InputSignal<NgccSparklineType>;
3803
+ /** Overrides the generated text alternative (e.g. "Last 12 months, revenue"). */
3804
+ readonly sparklineLabel: _angular_core.InputSignal<string>;
3805
+ readonly sparklineWidth: _angular_core.InputSignal<number>;
3806
+ readonly sparklineHeight: _angular_core.InputSignal<number>;
3807
+ protected readonly hasSparkline: _angular_core.Signal<boolean>;
3808
+ protected readonly hasDelta: _angular_core.Signal<boolean>;
3809
+ protected readonly resolvedTrend: _angular_core.Signal<NgccStatTrend>;
3810
+ protected readonly accentColor: _angular_core.Signal<string | null>;
3811
+ protected readonly deltaColor: _angular_core.Signal<"var(--cds-support-success)" | "var(--cds-support-error)" | null>;
3812
+ protected readonly deltaAriaLabel: _angular_core.Signal<string>;
3813
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccStatTile, never>;
3814
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccStatTile, "ngcc-stat-tile", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "delta": { "alias": "delta"; "required": false; "isSignal": true; }; "deltaCaption": { "alias": "deltaCaption"; "required": false; "isSignal": true; }; "trend": { "alias": "trend"; "required": false; "isSignal": true; }; "trendSentiment": { "alias": "trendSentiment"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "sparkline": { "alias": "sparkline"; "required": false; "isSignal": true; }; "sparklineType": { "alias": "sparklineType"; "required": false; "isSignal": true; }; "sparklineLabel": { "alias": "sparklineLabel"; "required": false; "isSignal": true; }; "sparklineWidth": { "alias": "sparklineWidth"; "required": false; "isSignal": true; }; "sparklineHeight": { "alias": "sparklineHeight"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3815
+ }
3816
+
3817
+ interface NgccSparklineBar {
3818
+ x: number;
3819
+ y: number;
3820
+ width: number;
3821
+ height: number;
3822
+ }
3823
+ /**
3824
+ * A tiny trend graphic for KPI tiles and table rows. Pure SVG (no chart library), so dozens can
3825
+ * sit on one dashboard cheaply. It has a text alternative generated from the data, a loading
3826
+ * skeleton, and an explicit "no data" state.
3827
+ *
3828
+ * Color: `color` wins, then `status`, then `sentiment` (up/down from the first to the last
3829
+ * value), then the theme's interactive color, so it follows any color theme.
3830
+ */
3831
+ declare class NgccSparkline {
3832
+ /** The series, oldest first. Non-finite values are ignored. */
3833
+ readonly data: _angular_core.InputSignal<readonly number[]>;
3834
+ readonly type: _angular_core.InputSignal<NgccSparklineType>;
3835
+ /** Drawing width in px; the graphic shrinks to fit narrower containers. */
3836
+ readonly width: _angular_core.InputSignal<number>;
3837
+ readonly height: _angular_core.InputSignal<number>;
3838
+ /** Fix the scale (e.g. 0–100 for percentages). Defaults to the data range. */
3839
+ readonly min: _angular_core.InputSignal<number | undefined>;
3840
+ readonly max: _angular_core.InputSignal<number | undefined>;
3841
+ readonly status: _angular_core.InputSignal<NgccSparklineStatus>;
3842
+ readonly sentiment: _angular_core.InputSignal<NgccSparklineSentiment>;
3843
+ /** Any CSS color; overrides status and sentiment. */
3844
+ readonly color: _angular_core.InputSignal<string>;
3845
+ /** Dot on the latest value (line and area). */
3846
+ readonly showLastPoint: _angular_core.InputSignal<boolean>;
3847
+ /** Accessible name. Defaults to a summary built from the data. */
3848
+ readonly label: _angular_core.InputSignal<string>;
3849
+ /** Hide from assistive technology, e.g. when the surrounding text already says it. */
3850
+ readonly decorative: _angular_core.InputSignal<boolean>;
3851
+ readonly loading: _angular_core.InputSignal<boolean>;
3852
+ readonly emptyLabel: _angular_core.InputSignal<string>;
3853
+ protected readonly values: _angular_core.Signal<number[]>;
3854
+ protected readonly isEmpty: _angular_core.Signal<boolean>;
3855
+ protected readonly trend: _angular_core.Signal<NgccSparklineTrend>;
3856
+ protected readonly resolvedColor: _angular_core.Signal<string>;
3857
+ private readonly domain;
3858
+ private y;
3859
+ private x;
3860
+ private readonly coords;
3861
+ private static round;
3862
+ protected readonly linePath: _angular_core.Signal<string>;
3863
+ protected readonly areaPath: _angular_core.Signal<string>;
3864
+ protected readonly lastPoint: _angular_core.Signal<{
3865
+ x: number;
3866
+ y: number;
3867
+ } | null>;
3868
+ protected readonly bars: _angular_core.Signal<NgccSparklineBar[]>;
3869
+ protected readonly baselineY: _angular_core.Signal<number>;
3870
+ /** Text alternative: the label, or a summary of the series. */
3871
+ protected readonly accessibleName: _angular_core.Signal<string>;
3872
+ protected readonly widthPx: _angular_core.Signal<string>;
3873
+ protected readonly heightPx: _angular_core.Signal<string>;
3874
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccSparkline, never>;
3875
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccSparkline, "ngcc-sparkline", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "sentiment": { "alias": "sentiment"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "showLastPoint": { "alias": "showLastPoint"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3876
+ }
3877
+
3878
+ /**
3879
+ * Page header: breadcrumbs, the page's one `<h1>`, a description and an action area.
3880
+ *
3881
+ * Slots (content projection):
3882
+ * - `[ngccPageActions]` — buttons on the right of the title (stack under it on narrow screens)
3883
+ * - `[ngccPageMeta]` — extra line under the description (status tag, last updated…)
3884
+ * - `[ngccPageTabs]` — tabs along the bottom edge
3885
+ *
3886
+ * Every module page should render exactly one of these, so each page has one heading and a
3887
+ * consistent place for its primary action.
3888
+ */
3889
+ declare class NgccPageHeader {
3890
+ readonly title: _angular_core.InputSignal<string>;
3891
+ readonly description: _angular_core.InputSignal<string>;
3892
+ readonly breadcrumbs: _angular_core.InputSignal<NgccBreadcrumbItem[]>;
3893
+ readonly breadcrumbLabel: _angular_core.InputSignal<string>;
3894
+ /** Shows a skeleton in place of the title while it is being fetched. */
3895
+ readonly loading: _angular_core.InputSignal<boolean>;
3896
+ /** Set when you project `[ngccPageTabs]`, so the header drops its bottom padding. */
3897
+ readonly hasTabs: _angular_core.InputSignal<boolean>;
3898
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccPageHeader, never>;
3899
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPageHeader, "ngcc-page-header", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "breadcrumbs": { "alias": "breadcrumbs"; "required": false; "isSignal": true; }; "breadcrumbLabel": { "alias": "breadcrumbLabel"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "hasTabs": { "alias": "hasTabs"; "required": false; "isSignal": true; }; }, {}, never, ["[ngccPageMeta]", "[ngccPageActions]", "[ngccPageTabs]"], true, never>;
3900
+ }
3901
+
3902
+ interface NgccStep {
3903
+ /** Stable id, used to track the step across re-renders. Defaults to the index. */
3904
+ id?: string;
3905
+ label: string;
3906
+ /** Small text under the label, e.g. "Optional". */
3907
+ secondaryLabel?: string;
3908
+ /** Marks the step as having an error; shown instead of "complete". */
3909
+ invalid?: boolean;
3910
+ disabled?: boolean;
3911
+ }
3912
+ type NgccStepState = 'complete' | 'current' | 'incomplete' | 'invalid';
3913
+
3914
+ interface NgccStepView {
3915
+ step: NgccStep;
3916
+ index: number;
3917
+ state: NgccStepState;
3918
+ reachable: boolean;
3919
+ stateLabel: string;
3920
+ key: string | number;
3921
+ }
3922
+ /**
3923
+ * Stepper / progress indicator for multi-step create flows.
3924
+ *
3925
+ * `current` is the zero-based index of the active step (two-way bindable). Steps before it are
3926
+ * complete, steps after it incomplete; a step marked `invalid` shows the error state. By default
3927
+ * (`linear`) only completed steps and the current one can be clicked; set `linear` to `false` to
3928
+ * allow jumping anywhere.
3929
+ *
3930
+ * An `invalid` step stays reachable even when it is behind the current one, so users can go back
3931
+ * and fix it. Each reachable step is a normal button in the tab order (no roving tabindex).
3932
+ *
3933
+ * Accessible: an ordered list in a labelled `nav`, `aria-current="step"` on the active step, and
3934
+ * each state is spelled out in hidden text (never color alone).
3935
+ */
3936
+ declare class NgccStepper {
3937
+ readonly steps: _angular_core.InputSignal<readonly NgccStep[]>;
3938
+ /** Zero-based index of the active step. */
3939
+ readonly current: _angular_core.ModelSignal<number>;
3940
+ readonly vertical: _angular_core.InputSignal<boolean>;
3941
+ /** Only completed steps and the current one are clickable. Turn off to allow any step. */
3942
+ readonly linear: _angular_core.InputSignal<boolean>;
3943
+ readonly ariaLabel: _angular_core.InputSignal<string>;
3944
+ /** Emits the step navigated to, whether by clicking it or through `next()` / `previous()`. */
3945
+ readonly stepChange: _angular_core.OutputEmitterRef<{
3946
+ index: number;
3947
+ step: NgccStep;
3948
+ }>;
3949
+ protected readonly views: _angular_core.Signal<NgccStepView[]>;
3950
+ /** 1-based "Step 2 of 4" text, handy for a live region or a mobile summary. */
3951
+ readonly summary: _angular_core.Signal<string>;
3952
+ protected go(view: NgccStepView): void;
3953
+ next(): void;
3954
+ previous(): void;
3955
+ private moveTo;
3956
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccStepper, never>;
3957
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccStepper, "ngcc-stepper", never, { "steps": { "alias": "steps"; "required": true; "isSignal": true; }; "current": { "alias": "current"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "current": "currentChange"; "stepChange": "stepChange"; }, never, never, true, never>;
3958
+ }
3959
+
3960
+ type NgccAvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3961
+ type NgccAvatarShape = 'circle' | 'square';
3962
+ /** Diameter in px for each size. */
3963
+ declare const NGCC_AVATAR_SIZES: Record<NgccAvatarSize, number>;
3964
+ /** "Ada Lovelace" -> "AL", "ada" -> "A", "" -> "". */
3965
+ declare function ngccInitials(name: string): string;
3966
+
3967
+ /**
3968
+ * User or client avatar: a photo when `src` loads, otherwise initials on a color that is stable
3969
+ * for that name, otherwise a person icon.
3970
+ *
3971
+ * Accessible name is the `name`. Set `decorative` when the name is printed next to it.
3972
+ */
3973
+ declare class NgccAvatar {
3974
+ readonly name: _angular_core.InputSignal<string>;
3975
+ readonly src: _angular_core.InputSignal<string>;
3976
+ readonly size: _angular_core.InputSignal<NgccAvatarSize>;
3977
+ readonly shape: _angular_core.InputSignal<NgccAvatarShape>;
3978
+ /** Hide from assistive technology, e.g. when the name is shown beside the avatar. */
3979
+ readonly decorative: _angular_core.InputSignal<boolean>;
3980
+ protected readonly failed: _angular_core.WritableSignal<boolean>;
3981
+ protected readonly px: _angular_core.Signal<number>;
3982
+ protected readonly fontPx: _angular_core.Signal<number>;
3983
+ protected readonly iconSize: _angular_core.Signal<"sm" | "lg">;
3984
+ protected readonly initials: _angular_core.Signal<string>;
3985
+ protected readonly showImage: _angular_core.Signal<boolean>;
3986
+ protected readonly background: _angular_core.Signal<"#8a3ffc" | "#6929c4" | "#9f1853" | "#005d5d" | "#0043ce" | "#00539a" | "#0e6027" | "#a2191f" | "var(--cds-icon-secondary, #525252)">;
3987
+ protected readonly accessibleName: _angular_core.Signal<string>;
3988
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccAvatar, never>;
3989
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccAvatar, "ngcc-avatar", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3990
+ }
3991
+
3992
+ type NgccPopoverPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
3993
+ /** `click` toggles on click; `hover` opens on hover and keyboard focus. */
3994
+ type NgccPopoverTrigger = 'click' | 'hover';
3995
+
3996
+ /**
3997
+ * Non-modal popover for detail panels: anchored to a trigger, no backdrop, the page stays usable.
3998
+ *
3999
+ * ```html
4000
+ * <ngcc-popover label="Cluster details" placement="bottom-start">
4001
+ * <button ngccPopoverTrigger class="cds--btn cds--btn--ghost">Details</button>
4002
+ * <p>Region eu-west-1, 12 nodes</p>
4003
+ * </ngcc-popover>
4004
+ * ```
4005
+ *
4006
+ * The element marked `ngccPopoverTrigger` gets `aria-expanded`, `aria-controls` and
4007
+ * `aria-haspopup="dialog"`. Escape and a click outside close it (Escape returns focus to the
4008
+ * trigger). The content follows the trigger in tab order, so keyboard users reach it naturally.
4009
+ * With `trigger="hover"` it also opens on keyboard focus, and the content stays open while the
4010
+ * pointer is over it.
4011
+ */
4012
+ declare class NgccPopover {
4013
+ private readonly host;
4014
+ /** Two-way: whether the popover is showing. */
4015
+ readonly open: _angular_core.ModelSignal<boolean>;
4016
+ readonly placement: _angular_core.InputSignal<NgccPopoverPlacement>;
4017
+ readonly trigger: _angular_core.InputSignal<NgccPopoverTrigger>;
4018
+ /** Accessible name of the popover content (what it is about). */
4019
+ readonly label: _angular_core.InputSignal<string>;
4020
+ readonly caret: _angular_core.InputSignal<boolean>;
4021
+ readonly closeOnOutsideClick: _angular_core.InputSignal<boolean>;
4022
+ protected readonly contentId: string;
4023
+ protected readonly hostClasses: _angular_core.Signal<string>;
4024
+ constructor();
4025
+ private triggerEl;
4026
+ private fromTrigger;
4027
+ protected onHostClick(event: Event): void;
4028
+ protected onEnter(): void;
4029
+ protected onLeave(): void;
4030
+ protected onFocusIn(): void;
4031
+ protected onFocusOut(event: FocusEvent): void;
4032
+ protected onEscape(event: Event): void;
4033
+ protected onDocumentClick(event: Event): void;
4034
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccPopover, never>;
4035
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPopover, "ngcc-popover", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "trigger": { "alias": "trigger"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "caret": { "alias": "caret"; "required": false; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, never, ["[ngccPopoverTrigger]", "*"], true, never>;
4036
+ }
4037
+
4038
+ /** Space between grid cells: condensed 0.5rem, default 1rem, wide 2rem. */
4039
+ type NgccGridGap = 'condensed' | 'default' | 'wide';
4040
+ declare const NGCC_GRID_GAPS: Record<NgccGridGap, string>;
4041
+
4042
+ /**
4043
+ * Page grid on Carbon's breakpoints: 4 columns below 672px, 8 up to 1055px, 12 above. Direct
4044
+ * children span the full row unless they carry `ngccGridSpan`.
4045
+ *
4046
+ * ```html
4047
+ * <ngcc-page-grid>
4048
+ * <ngcc-stat-tile ngccGridSpan [sm]="4" [md]="4" [lg]="3" .../>
4049
+ * <section ngccGridSpan [lg]="8">chart</section>
4050
+ * <aside ngccGridSpan [lg]="4">activity</aside>
4051
+ * </ngcc-page-grid>
4052
+ * ```
4053
+ */
4054
+ declare class NgccPageGrid {
4055
+ readonly gap: _angular_core.InputSignal<NgccGridGap>;
4056
+ protected readonly gapValue: _angular_core.Signal<string>;
4057
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccPageGrid, never>;
4058
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPageGrid, "ngcc-page-grid", never, { "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
4059
+ }
4060
+ /**
4061
+ * How many columns an item spans at each breakpoint (4 / 8 / 12 column grid). Omitted
4062
+ * breakpoints span the full row. `start` pins the first column at the large breakpoint.
4063
+ */
4064
+ declare class NgccGridSpanDirective {
4065
+ readonly sm: _angular_core.InputSignal<number | undefined>;
4066
+ readonly md: _angular_core.InputSignal<number | undefined>;
4067
+ readonly lg: _angular_core.InputSignal<number | undefined>;
4068
+ /** 1-based column the item starts at on large screens. */
4069
+ readonly start: _angular_core.InputSignal<number | undefined>;
4070
+ protected cell(span: number | undefined, start?: number): string | null;
4071
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccGridSpanDirective, never>;
4072
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgccGridSpanDirective, "[ngccGridSpan]", never, { "sm": { "alias": "sm"; "required": false; "isSignal": true; }; "md": { "alias": "md"; "required": false; "isSignal": true; }; "lg": { "alias": "lg"; "required": false; "isSignal": true; }; "start": { "alias": "start"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4073
+ }
4074
+
4075
+ /**
4076
+ * Responsive grid of panels (tiles, stat tiles, charts) that are as tall as the tallest panel in
4077
+ * their row. Columns wrap by themselves: each panel is at least `min` wide, and there are at most
4078
+ * `columns` per row.
4079
+ *
4080
+ * ```html
4081
+ * <ngcc-panel-grid [columns]="3" min="16rem">
4082
+ * <ngcc-tile>…</ngcc-tile>
4083
+ * <ngcc-stat-tile …/>
4084
+ * </ngcc-panel-grid>
4085
+ * ```
4086
+ */
4087
+ declare class NgccPanelGrid {
4088
+ /** Most panels per row. */
4089
+ readonly columns: _angular_core.InputSignal<number>;
4090
+ /** Narrowest a panel may get before it wraps to the next row. */
4091
+ readonly min: _angular_core.InputSignal<string>;
4092
+ readonly gap: _angular_core.InputSignal<NgccGridGap>;
4093
+ protected readonly gapValue: _angular_core.Signal<string>;
4094
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccPanelGrid, never>;
4095
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPanelGrid, "ngcc-panel-grid", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
4096
+ }
4097
+
4098
+ type NgccProgressBarLevel = 'normal' | 'warning' | 'critical' | 'finished';
4099
+ /**
4100
+ * Progress / meter bar. The bar changes color once the value crosses
4101
+ * `warningThreshold` and `criticalThreshold` (percent of `max`), which suits
4102
+ * usage meters (CPU, disk, quota). Set `finishAtMax` for task progress, where
4103
+ * 100% means "done" rather than "critical".
4104
+ */
4105
+ declare class NgccProgressBar {
4106
+ readonly value: _angular_core.InputSignal<number>;
4107
+ readonly max: _angular_core.InputSignal<number>;
4108
+ readonly label: _angular_core.InputSignal<string>;
4109
+ readonly helperText: _angular_core.InputSignal<string>;
4110
+ readonly size: _angular_core.InputSignal<"small" | "big">;
4111
+ readonly showValue: _angular_core.InputSignal<boolean>;
4112
+ /** Percent at which the bar turns to the warning color. */
4113
+ readonly warningThreshold: _angular_core.InputSignal<number>;
4114
+ /** Percent at which the bar turns to the critical (error) color. */
4115
+ readonly criticalThreshold: _angular_core.InputSignal<number>;
4116
+ /** Treat 100% as finished (success) instead of critical; thresholds are ignored. */
4117
+ readonly finishAtMax: _angular_core.InputSignal<boolean>;
4118
+ protected readonly labelId: string;
4119
+ protected readonly clampedValue: _angular_core.Signal<number>;
4120
+ readonly percent: _angular_core.Signal<number>;
4121
+ readonly level: _angular_core.Signal<NgccProgressBarLevel>;
4122
+ protected readonly valueText: _angular_core.Signal<string>;
4123
+ protected readonly barColor: _angular_core.Signal<"var(--cds-support-error)" | "var(--cds-support-warning)" | null>;
4124
+ protected readonly classes: _angular_core.Signal<string>;
4125
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccProgressBar, never>;
4126
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccProgressBar, "ngcc-progress-bar", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "helperText": { "alias": "helperText"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "warningThreshold": { "alias": "warningThreshold"; "required": false; "isSignal": true; }; "criticalThreshold": { "alias": "criticalThreshold"; "required": false; "isSignal": true; }; "finishAtMax": { "alias": "finishAtMax"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4127
+ }
4128
+
4129
+ type NgccEmptyStateSize = 'sm' | 'md' | 'lg';
4130
+ /**
4131
+ * Empty state: icon, title, description and action.
4132
+ * - `icon` uses the icon registry; project `[ngccEmptyIcon]` for a custom illustration.
4133
+ * - Project buttons/links into `[ngccEmptyAction]` for the call to action.
4134
+ */
4135
+ declare class NgccEmptyState {
4136
+ readonly title: _angular_core.InputSignal<string>;
4137
+ readonly description: _angular_core.InputSignal<string>;
4138
+ readonly icon: _angular_core.InputSignal<"add" | "close" | "edit" | "view" | "hide" | "delete" | "warn" | "error" | "calendar" | "copy" | "chevron_left" | "chevron_right" | "chevron_down" | "chevron_up" | "checkmark" | "search" | "sort_icon" | "arrow_up" | "arrow_down" | "info_filled" | "error_filled" | "warning_filled" | "success_filled" | "star" | "cpu" | "memory" | "network" | "disk" | "services" | "notification" | "configuration" | "home" | "renew" | "customer" | "user" | "user_multi" | "user_avatar" | "user_admin" | "location" | "information" | "menu" | "app_switcher" | "overflow_menu_vertical" | "billing" | "reports" | "marketplace" | "support" | "license" | "activity" | "globe" | "sign_out" | "theme" | "filter" | "download" | "export" | "upload" | "settings_adjust" | "time" | "document" | "link" | "save" | "refresh" | "lock" | "unlock" | "launch" | "light" | "dark" | "email" | "tag" | "cloud" | "server" | undefined>;
4139
+ readonly size: _angular_core.InputSignal<NgccEmptyStateSize>;
4140
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccEmptyState, never>;
4141
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccEmptyState, "ngcc-empty-state", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["[ngccEmptyIcon]", "[ngccEmptyAction]"], true, never>;
4142
+ }
4143
+
4144
+ type NgccActivityStatus = 'info' | 'success' | 'warning' | 'error' | 'neutral';
4145
+ type NgccActivityFeedVariant = 'feed' | 'timeline';
4146
+ interface NgccActivityItem {
4147
+ id: string | number;
4148
+ title: string;
4149
+ description?: string;
4150
+ /** Pre-formatted display text, e.g. "2 hours ago". */
4151
+ timestamp?: string;
4152
+ /** ISO string for the `<time datetime>` attribute. */
4153
+ datetime?: string;
4154
+ /** Who/what performed the action. */
4155
+ actor?: string;
4156
+ status?: NgccActivityStatus;
4157
+ }
4158
+ /**
4159
+ * Activity feed / timeline. `feed` is a compact list with status dots;
4160
+ * `timeline` adds a connecting vertical line between entries.
4161
+ */
4162
+ declare class NgccActivityFeed {
4163
+ readonly items: _angular_core.InputSignal<NgccActivityItem[]>;
4164
+ readonly variant: _angular_core.InputSignal<NgccActivityFeedVariant>;
4165
+ readonly ariaLabel: _angular_core.InputSignal<string>;
4166
+ readonly emptyText: _angular_core.InputSignal<string>;
4167
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccActivityFeed, never>;
4168
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccActivityFeed, "ngcc-activity-feed", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4169
+ }
4170
+
4171
+ interface NgccStructuredListColumn {
4172
+ key: string;
4173
+ header: string;
4174
+ }
4175
+ type NgccStructuredListRow = Record<string, string | number | null | undefined> & {
4176
+ id?: string | number;
4177
+ };
4178
+ /** Data-driven Carbon structured list (read-only, key/value style rows). */
4179
+ declare class NgccStructuredList {
4180
+ readonly columns: _angular_core.InputSignal<NgccStructuredListColumn[]>;
4181
+ readonly rows: _angular_core.InputSignal<NgccStructuredListRow[]>;
4182
+ readonly condensed: _angular_core.InputSignal<boolean>;
4183
+ readonly ariaLabel: _angular_core.InputSignal<string>;
4184
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccStructuredList, never>;
4185
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccStructuredList, "ngcc-structured-list", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "condensed": { "alias": "condensed"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4186
+ }
4187
+
4188
+ type NgccNotificationSeverity = 'info' | 'success' | 'warning' | 'error';
4189
+ interface NgccNotificationItem {
4190
+ id: string | number;
4191
+ title: string;
4192
+ message?: string;
4193
+ /** Pre-formatted display text, e.g. "5 min ago". */
4194
+ timestamp?: string;
4195
+ read?: boolean;
4196
+ severity?: NgccNotificationSeverity;
4197
+ }
4198
+ /**
4199
+ * Notification list sized for `ngcc-header-panel` (fills its width).
4200
+ * Stateless: the parent owns `items` and updates them in response to
4201
+ * `markRead`, `markAllRead`, `clear` and `dismissed`.
4202
+ */
4203
+ declare class NgccNotificationList {
4204
+ readonly items: _angular_core.InputSignal<NgccNotificationItem[]>;
4205
+ readonly heading: _angular_core.InputSignal<string>;
4206
+ readonly emptyText: _angular_core.InputSignal<string>;
4207
+ readonly itemClicked: _angular_core.OutputEmitterRef<NgccNotificationItem>;
4208
+ readonly dismissed: _angular_core.OutputEmitterRef<NgccNotificationItem>;
4209
+ readonly markAllRead: _angular_core.OutputEmitterRef<void>;
4210
+ readonly clear: _angular_core.OutputEmitterRef<void>;
4211
+ protected readonly unreadCount: _angular_core.Signal<number>;
4212
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccNotificationList, never>;
4213
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccNotificationList, "ngcc-notification-list", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; }, { "itemClicked": "itemClicked"; "dismissed": "dismissed"; "markAllRead": "markAllRead"; "clear": "clear"; }, never, never, true, never>;
4214
+ }
4215
+
4216
+ interface NgccDateRange {
4217
+ start: Date | null;
4218
+ end: Date | null;
4219
+ /** Key of the selected preset, `'custom'` for a hand-picked range, `''` when nothing is chosen. */
4220
+ preset: string;
4221
+ }
4222
+ interface NgccDatePreset {
4223
+ key: string;
4224
+ label: string;
4225
+ /** Omit for the custom preset (shows the start/end inputs). */
4226
+ range?: (today: Date) => {
4227
+ start: Date;
4228
+ end: Date;
4229
+ };
4230
+ }
4231
+ declare const NGCC_DEFAULT_DATE_PRESETS: NgccDatePreset[];
4232
+ /** Resolves a preset key to a concrete range, e.g. to seed `[(value)]`. */
4233
+ declare function ngccResolveDatePreset(key: string, today?: Date, presets?: NgccDatePreset[]): NgccDateRange;
4234
+ /**
4235
+ * Date-range picker with presets. Choosing "Custom range" reveals start/end date
4236
+ * inputs; the model only updates once both dates are set and start <= end.
4237
+ */
4238
+ declare class NgccDateRangePicker {
4239
+ private static nextId;
4240
+ protected readonly id: string;
4241
+ readonly value: _angular_core.ModelSignal<NgccDateRange>;
4242
+ readonly presets: _angular_core.InputSignal<NgccDatePreset[]>;
4243
+ readonly label: _angular_core.InputSignal<string>;
4244
+ readonly placeholder: _angular_core.InputSignal<string>;
4245
+ readonly disabled: _angular_core.InputSignal<boolean>;
4246
+ readonly minDate: _angular_core.InputSignal<Date | null>;
4247
+ readonly maxDate: _angular_core.InputSignal<Date | null>;
4248
+ /** "Today" used to resolve presets; override for tests/SSR. */
4249
+ readonly today: _angular_core.InputSignal<Date | undefined>;
4250
+ protected readonly min: _angular_core.Signal<string | null>;
4251
+ protected readonly max: _angular_core.Signal<string | null>;
4252
+ protected readonly isCustom: _angular_core.Signal<boolean>;
4253
+ protected readonly startText: _angular_core.WritableSignal<string>;
4254
+ protected readonly endText: _angular_core.WritableSignal<string>;
4255
+ protected readonly invalid: _angular_core.Signal<boolean>;
4256
+ protected onPreset(key: string): void;
4257
+ protected onCustom(which: 'start' | 'end', text: string): void;
4258
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccDateRangePicker, never>;
4259
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccDateRangePicker, "ngcc-date-range-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "today": { "alias": "today"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
4260
+ }
4261
+
4262
+ interface NgccFilterOption {
4263
+ label: string;
4264
+ value: string;
4265
+ }
4266
+ interface NgccFilterField {
4267
+ key: string;
4268
+ label: string;
4269
+ options: NgccFilterOption[];
4270
+ }
4271
+ interface NgccFilterBarValue {
4272
+ /** Free-text search. */
4273
+ query: string;
4274
+ /** Selected option values per field key. */
4275
+ filters: Record<string, string[]>;
4276
+ }
4277
+ interface NgccFilterSuggestion {
4278
+ field: NgccFilterField;
4279
+ option: NgccFilterOption;
4280
+ }
4281
+ /**
4282
+ * Filter bar: a search input that is also a combobox. Typing narrows a list of
4283
+ * `Field: Option` suggestions; picking one adds a dismissible chip. The free-text
4284
+ * `query` and the chips are both part of the two-way `value`.
4285
+ */
4286
+ declare class NgccFilterBar {
4287
+ private static nextId;
4288
+ protected readonly listId: string;
4289
+ readonly value: _angular_core.ModelSignal<NgccFilterBarValue>;
4290
+ readonly fields: _angular_core.InputSignal<NgccFilterField[]>;
4291
+ readonly placeholder: _angular_core.InputSignal<string>;
4292
+ readonly ariaLabel: _angular_core.InputSignal<string>;
4293
+ readonly maxSuggestions: _angular_core.InputSignal<number>;
4294
+ protected readonly open: _angular_core.WritableSignal<boolean>;
4295
+ protected readonly active: _angular_core.WritableSignal<number>;
4296
+ protected readonly chips: _angular_core.Signal<NgccFilterSuggestion[]>;
4297
+ protected readonly suggestions: _angular_core.Signal<NgccFilterSuggestion[]>;
4298
+ protected readonly showList: _angular_core.Signal<boolean>;
4299
+ protected readonly hasAny: _angular_core.Signal<boolean>;
4300
+ protected readonly activeId: _angular_core.Signal<string | null>;
4301
+ protected optionId(i: number): string;
4302
+ protected onInput(query: string): void;
4303
+ protected add(s: NgccFilterSuggestion): void;
4304
+ protected remove(s: NgccFilterSuggestion): void;
4305
+ protected clearAll(): void;
4306
+ protected onKeydown(ev: KeyboardEvent): void;
4307
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccFilterBar, never>;
4308
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccFilterBar, "ngcc-filter-bar", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "maxSuggestions": { "alias": "maxSuggestions"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
4309
+ }
4310
+
4311
+ interface NgccOverflowMenuItem {
4312
+ id: string | number;
4313
+ label: string;
4314
+ danger?: boolean;
4315
+ disabled?: boolean;
4316
+ /** Draws a separator line above this item. */
4317
+ divider?: boolean;
4318
+ }
4319
+ type NgccOverflowMenuSize = 'sm' | 'md' | 'lg';
4320
+ /**
4321
+ * Overflow (row action) menu. The menu is `position: fixed`, so it is not clipped by
4322
+ * table or scroll containers. Keyboard: Enter/Space/ArrowDown open, arrows/Home/End move,
4323
+ * Escape closes and returns focus to the trigger.
4324
+ */
4325
+ declare class NgccOverflowMenu {
4326
+ private readonly host;
4327
+ private readonly injector;
4328
+ private readonly options;
4329
+ readonly items: _angular_core.InputSignal<NgccOverflowMenuItem[]>;
4330
+ readonly ariaLabel: _angular_core.InputSignal<string>;
4331
+ /** Which edge of the trigger the menu lines up with. */
4332
+ readonly align: _angular_core.InputSignal<"start" | "end">;
4333
+ readonly size: _angular_core.InputSignal<NgccOverflowMenuSize>;
4334
+ readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
4335
+ readonly disabled: _angular_core.InputSignal<boolean>;
4336
+ readonly itemSelected: _angular_core.OutputEmitterRef<NgccOverflowMenuItem>;
4337
+ protected readonly open: _angular_core.WritableSignal<boolean>;
4338
+ protected readonly pos: _angular_core.WritableSignal<{
4339
+ top: number | null;
4340
+ bottom: number | null;
4341
+ left: number | null;
4342
+ right: number | null;
4343
+ }>;
4344
+ constructor();
4345
+ protected toggle(): void;
4346
+ protected close(returnFocus?: boolean): void;
4347
+ private trigger;
4348
+ private show;
4349
+ private enabledIndexes;
4350
+ /** `n` indexes into the enabled options; wraps around when `wrap`. */
4351
+ private focusOption;
4352
+ protected select(item: NgccOverflowMenuItem): void;
4353
+ protected onTriggerKeydown(ev: KeyboardEvent): void;
4354
+ protected onMenuKeydown(ev: KeyboardEvent): void;
4355
+ protected onDocumentClick(ev: MouseEvent): void;
4356
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccOverflowMenu, never>;
4357
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccOverflowMenu, "ngcc-overflow-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "itemSelected": "itemSelected"; }, never, never, true, never>;
4358
+ }
4359
+
4360
+ export { HttpNgccI18nLoader, ICONS, NGCC_ACCORDION_ALIGN, NGCC_AVATAR_SIZES, NGCC_BRAND_PRESETS, NGCC_BRAND_TOKEN_NAMES, NGCC_BUTTON_ALIGNS, NGCC_BUTTON_ALIGN_OPTIONS, NGCC_COLOR_THEME_OPTIONS, NGCC_COLOR_THEME_PRESETS, NGCC_CONTENT_SWITCHER, NGCC_CORNER_STYLES, NGCC_CORNER_STYLE_OPTIONS, NGCC_DEFAULT_DATE_PRESETS, NGCC_GRID_GAPS, NGCC_I18N_CONFIG, NGCC_RADIO_GROUP_TOKEN, NGCC_SIDE_NAV_CONTEXT, NGCC_STATIC_THEME_COLOR_TOKENS, NGCC_STATUS_TAG, NGCC_THEME_COLOR_CATEGORIES, NGCC_THEME_COLOR_TOKENS, NGCC_THEME_CONFIG, NGCC_THEME_DEFAULTS, NGCC_THEME_NAMES, NGCC_THEME_OPTIONS, NgccAccordion, NgccAccordionItem, NgccActivityFeed, NgccAvatar, NgccBreadcrumbComponent, NgccBreadcrumbItemComponent, NgccButton, NgccChartState, NgccCharts, NgccCheckbox, NgccCodeSnippetComponent, NgccColorThemeService, NgccColorThemeSwitcher, NgccContainedList, NgccContainedListActionDirective, NgccContainedListItem, NgccContainedListItemActionDirective, NgccContentSwitcher, NgccContentSwitcherOption, NgccDatePicker, NgccDatePickerCalendar, NgccDateRangePicker, NgccDropdown, NgccEmptyState, NgccFilterBar, NgccGaugeChart, NgccGridSpanDirective, NgccHamburger, NgccHeader, NgccHeaderAction, NgccHeaderGlobal, NgccHeaderItem, NgccHeaderMenu, NgccHeaderMenuItem, NgccHeaderName, NgccHeaderNavigation, NgccHeaderPanel, NgccI18nPipe, NgccI18nService, NgccIcon, NgccInput, NgccLink, NgccModal, NgccNotification, NgccNotificationContainer, NgccNotificationList, NgccOverflowMenu, NgccPageGrid, NgccPageHeader, NgccPagination, NgccPanelGrid, NgccPopover, NgccProgressBar, NgccRadio, NgccRadioGroup, NgccSideNav, NgccSideNavDivider, NgccSideNavItem, NgccSideNavMenu, NgccSideNavMenuItem, NgccSideNavSection, NgccSkeleton, NgccSparkline, NgccStatTile, NgccStepper, NgccStructuredList, NgccTab, NgccTabHeaders, NgccTable, NgccTableExpandedRowDirective, NgccTableSearchDirective, NgccTableSearchService, NgccTableService, NgccTableSkeleton, NgccTableToolbar, NgccTabs, NgccTabsSkeleton, NgccTag, NgccTextAreaComponent, NgccThemeService, NgccThemeSwitcher, NgccTile, NgccToast, NgccToastContainer, NgccToggle, NgccTooltip, NotificationService, ToastService, WCAG_CONTRAST, adjustColorForContrast, auditNgccColorThemePreset, checkContrast, createAccessibleColorPair, derivePaletteFromBrand, generateColorScale, generateInteractiveStates, getAccessibleTextColor, getAvailableThemes, getContrastRatio, getFocusIndicatorColor, getRelativeLuminance, getThemeBackground, getThemeBaseColor, getThemeSecondaryButtonBg, hexToHsl, hexToRgb, hslToHex, hslToRgb, initNgccTheme, isCarbonThemeName, isDerivedThemeColorToken, isNgccButtonAlign, isNgccCornerStyle, isNgccThemeDark, isNgccThemeName, isThemeColorToken, isThemeDark, ngccComboChartTypes, ngccInitials, ngccResolveDatePreset, normalizeHexColor, provideNgccColorTheme, provideNgccI18n, provideNgccTheme, rankChartData, resolveNgccThemeName, rgbToHex, rgbToHsl, themeBaseColors, themeColorCssVars, themeMetadata, toCarbonThresholds, validateColorToken };
4361
+ export type { AccordionAlign, AccordionSize, BaseThemeNamesType, CarbonThemeName, DropdownSize, NgccAccessibilityIssue, NgccAccessibleColorPair, NgccActivityFeedVariant, NgccActivityItem, NgccActivityStatus, NgccAvatarShape, NgccAvatarSize, NgccBrandPreset, NgccBreadcrumbItem, NgccBreadcrumbSize, NgccButtonAlign, NgccButtonAlignOption, NgccCalendarCell, NgccCarbonThemeName, NgccChartOptionMap, NgccChartOptions, NgccChartSort, NgccChartThreshold, NgccChartType, NgccChartsArgs, NgccCodeSnippetType, NgccColorScale, NgccColorThemeConfig, NgccColorThemeOptions, NgccColorThemePreset, NgccColorThemeSnapshot, NgccContainedListKind, NgccContainedListSize, NgccContentSwitcherContext, NgccContrastResult, NgccCornerStyle, NgccCornerStyleOption, NgccDateFormat, NgccDatePreset, NgccDateRange, NgccDerivedColorPalette, NgccDerivedThemeColorToken, NgccDropdownItem, NgccEmptyStateSize, NgccFilterBarValue, NgccFilterField, NgccFilterOption, NgccGridGap, NgccHSL, NgccHeaderMenuTrigger, NgccHeaderNavItem, NgccI18nConfig, NgccI18nLoader, NgccIconNameType, NgccInputNumberSize, NgccInputSize, NgccInputType, NgccLegacyThemeName, NgccLinkAriaCurrent, NgccLinkSize, NgccLinkTarget, NgccNotificationConfig, NgccNotificationItem, NgccNotificationSeverity, NgccOverflowMenuItem, NgccOverflowMenuSize, NgccPopoverPlacement, NgccPopoverTrigger, NgccPresetAuditIssue, NgccProgressBarLevel, NgccRGB, NgccRadioChange, NgccRadioGroupContext, NgccRadioLabelPlacement, NgccRadioOrientation, NgccResolvedLegacyTheme, NgccSideNavContext, NgccSideNavVariant, NgccSparklineSentiment, NgccSparklineStatus, NgccSparklineTrend, NgccSparklineType, NgccStatStatus, NgccStatTrend, NgccStatTrendSentiment, NgccStaticThemeColorToken, NgccStep, NgccStepState, NgccStructuredListColumn, NgccStructuredListRow, NgccTableColumn, NgccTableConfig, NgccTagSize, NgccTagType, NgccTextAreaSize, NgccThemeAccessibilityReport, NgccThemeColorCategory, NgccThemeColorCategoryId, NgccThemeColorOverrides, NgccThemeColorToken, NgccThemeColorTokenDef, NgccThemeConfig, NgccThemeMetadata, NgccThemeOption, NgccThemeStorage, NgccToastConfig, NgccToggleSize, NgccTokenValidationResult, NgccWCAGConfig, NotificationType, SortDirection, TextSize, ToastType, WCAGLevel };