@assistanz/carbideui 1.0.0 → 1.0.1

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.
@@ -0,0 +1,2026 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnChanges, SimpleChanges, AfterViewInit, EventEmitter, OnDestroy, ElementRef, TemplateRef, OnInit, Renderer2, ChangeDetectorRef, AfterContentInit, QueryList, InjectionToken, PipeTransform, EnvironmentProviders } from '@angular/core';
3
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
4
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
5
+ import { Chart, BarChartOptions, StackedBarChartOptions, LineChartOptions, AreaChartOptions, PieChartOptions, DonutChartOptions, GaugeChartOptions } from '@carbon/charts';
6
+ import * as _assistanz_carbideui from '@assistanz/carbideui';
7
+
8
+ declare const ICONS: {
9
+ readonly add: {
10
+ readonly svg: "<path d=\"M17 15V7h-2v8H7v2h8v8h2v-8h8v-2h-8z\"></path>";
11
+ readonly viewBox: "0 0 32 32";
12
+ };
13
+ readonly close: {
14
+ readonly svg: "<path d=\"M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z\"></path>";
15
+ readonly viewBox: "0 0 32 32";
16
+ };
17
+ readonly edit: {
18
+ readonly svg: "<path d=\"M4 26h24v2H4zM27.7 9.3l-5-5a1 1 0 0 0-1.4 0l-14 14V24h5.7l14-14a1 1 0 0 0 0-1.4z\"></path>";
19
+ readonly viewBox: "0 0 32 32";
20
+ };
21
+ readonly view: {
22
+ readonly svg: "<path d=\"M15.5,7.8C14.3,4.7,11.3,2.6,8,2.5C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3c1.2,3.1,4.1,5.2,7.5,5.3 c3.3-0.1,6.3-2.2,7.5-5.3C15.5,8.1,15.5,7.9,15.5,7.8z M8,12.5c-2.7,0-5.4-2-6.5-4.5c1-2.5,3.8-4.5,6.5-4.5s5.4,2,6.5,4.5 C13.4,10.5,10.6,12.5,8,12.5z\"></path><path d=\"M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z M8,10c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S9.1,10,8,10z\"></path>";
23
+ readonly viewBox: "0 0 16 16";
24
+ };
25
+ readonly hide: {
26
+ readonly svg: "<path d=\"M2.6,11.3l0.7-0.7C2.6,9.8,1.9,9,1.5,8c1-2.5,3.8-4.5,6.5-4.5c0.7,0,1.4,0.1,2,0.4l0.8-0.8C9.9,2.7,9,2.5,8,2.5 C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3C1,9.3,1.7,10.4,2.6,11.3z\"></path><path d=\"M6 7.9c.1-1 .9-1.8 1.8-1.8l.9-.9C7.2 4.7 5.5 5.6 5.1 7.2 5 7.7 5 8.3 5.1 8.8L6 7.9zM15.5 7.8c-.6-1.5-1.6-2.8-2.9-3.7L15 1.7 14.3 1 1 14.3 1.7 15l2.6-2.6c1.1.7 2.4 1 3.7 1.1 3.3-.1 6.3-2.2 7.5-5.3C15.5 8.1 15.5 7.9 15.5 7.8zM10 8c0 1.1-.9 2-2 2-.3 0-.7-.1-1-.3L9.7 7C9.9 7.3 10 7.6 10 8zM8 12.5c-1 0-2.1-.3-3-.8l1.3-1.3c1.4.9 3.2.6 4.2-.8.7-1 .7-2.4 0-3.4l1.4-1.4c1.1.8 2 1.9 2.6 3.2C13.4 10.5 10.6 12.5 8 12.5z\"></path>";
27
+ readonly viewBox: "0 0 16 16";
28
+ };
29
+ readonly delete: {
30
+ readonly svg: "<path d=\"M12 12H14V24H12zM18 12H20V24H18z\"></path><path d=\"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\"></path>";
31
+ readonly viewBox: "0 0 32 32";
32
+ };
33
+ readonly warn: {
34
+ readonly svg: "<path fill=\"none\" d=\"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z\" data-icon-path=\"inner-path\"></path><path d=\"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\"></path><path d=\"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z\"></path>";
35
+ readonly viewBox: "0 0 32 32";
36
+ };
37
+ readonly error: {
38
+ readonly svg: "<path d=\"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\"></path><path d=\"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\" data-icon-path=\"inner-path\" opacity=\"0\"></path>";
39
+ readonly viewBox: "0 0 16 16";
40
+ };
41
+ readonly calendar: {
42
+ readonly svg: "<path d=\"M26,4h-4V2h-2v2h-8V2h-2v2H6C4.9,4,4,4.9,4,6v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V6C28,4.9,27.1,4,26,4z M26,26H6V12h20 V26z M26,10H6V6h4v2h2V6h8v2h2V6h4V10z\"></path>";
43
+ readonly viewBox: "0 0 32 32";
44
+ };
45
+ readonly chevron_left: {
46
+ readonly svg: "<polygon points=\"5,8 10,3 10.7,3.7 6.4,8 10.7,12.3 10,13 \"></polygon>\n\t\t\t\t<rect width=\"16\" height=\"16\" style=\"fill:none\"></rect>";
47
+ readonly viewBox: "0 0 16 16";
48
+ };
49
+ readonly chevron_right: {
50
+ readonly svg: "<polygon points=\"11,8 6,13 5.3,12.3 9.6,8 5.3,3.7 6,3 \" ></polygon>\n\t\t\t\t<rect width=\"16\" height=\"16\" style=\"fill:none\"></rect>";
51
+ readonly viewBox: "0 0 16 16";
52
+ };
53
+ readonly chevron_down: {
54
+ readonly svg: "<polygon points=\"8,11 3,6 3.7,5.3 8,9.6 12.3,5.3 13,6\"></polygon>\n <rect width=\"16\" height=\"16\" style=\"fill:none\"></rect>";
55
+ readonly viewBox: "0 0 16 16";
56
+ };
57
+ readonly chevron_up: {
58
+ readonly svg: "<polygon points=\"8,5 13,10 12.3,10.7 8,6.4 3.7,10.7 3,10\"></polygon>\n <rect width=\"16\" height=\"16\" style=\"fill:none\"></rect>";
59
+ readonly viewBox: "0 0 16 16";
60
+ };
61
+ readonly checkmark: {
62
+ readonly svg: "<path d=\"M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z\"></path>";
63
+ readonly viewBox: "0 0 32 32";
64
+ };
65
+ readonly search: {
66
+ readonly svg: "<path d=\"M15,14.3L10.7,10c1.9-2.3,1.6-5.8-0.7-7.7S4.2,0.7,2.3,3S0.7,8.8,3,10.7c2,1.7,5,1.7,7,0l4.3,4.3L15,14.3z M2,6.5 C2,4,4,2,6.5,2S11,4,11,6.5S9,11,6.5,11S2,9,2,6.5z\"></path>";
67
+ readonly viewBox: "0 0 16 16";
68
+ };
69
+ readonly sort_icon: {
70
+ readonly svg: "<path d=\"M27.6 20.6L24 24.2 24 4 22 4 22 24.2 18.4 20.6 17 22 23 28 29 22zM9 4L3 10 4.4 11.4 8 7.8 8 28 10 28 10 7.8 13.6 11.4 15 10z\"></path>";
71
+ readonly viewBox: "0 0 32 32";
72
+ };
73
+ readonly arrow_up: {
74
+ readonly svg: "<path d=\"M16 4L6 14 7.41 15.41 15 7.83 15 28 17 28 17 7.83 24.59 15.41 26 14 16 4z\"></path>";
75
+ readonly viewBox: "0 0 32 32";
76
+ };
77
+ readonly arrow_down: {
78
+ readonly svg: "<path d=\"M24.59 16.59L17 24.17 17 4 15 4 15 24.17 7.41 16.59 6 18 16 28 26 18 24.59 16.59z\"></path>";
79
+ readonly viewBox: "0 0 32 32";
80
+ };
81
+ readonly info_filled: {
82
+ readonly svg: "<path fill=\"none\" d=\"M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z\" data-icon-path=\"inner-path\"></path><path d=\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,6a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z\"></path>";
83
+ readonly viewBox: "0 0 32 32";
84
+ };
85
+ readonly error_filled: {
86
+ readonly svg: "<path d=\"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"></path><path d=\"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\" data-icon-path=\"inner-path\" opacity=\"0\"></path>";
87
+ readonly viewBox: "0 0 20 20";
88
+ };
89
+ readonly warning_filled: {
90
+ readonly svg: "<path d=\"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1 s1,0.4,1,1S10.6,16,10,16z\"></path><path d=\"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z\" data-icon-path=\"inner-path\" opacity=\"0\"></path>";
91
+ readonly viewBox: "0 0 20 20";
92
+ };
93
+ readonly success_filled: {
94
+ readonly svg: "<path d=\"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z\"></path><path fill=\"none\" d=\"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z\" data-icon-path=\"inner-path\" opacity=\"0\"></path>";
95
+ readonly viewBox: "0 0 20 20";
96
+ };
97
+ readonly star: {
98
+ readonly svg: "<path d=\"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z\"></path>";
99
+ readonly viewBox: "64 64 896 896";
100
+ };
101
+ readonly cpu: {
102
+ readonly svg: "<g fill=\"none\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M38 8H10a2 2 0 0 0-2 2v28a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2Z\"></path><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M30 18H18v12h12z\"></path><path d=\"M14.91 2v6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M14.91 2v6\"></path><path d=\"M14.91 40v6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M14.91 40v6\"></path><path d=\"M24 2v6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M24 2v6\"></path><path d=\"M24 40v6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M24 40v6\"></path><path d=\"M33.09 2v6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M33.09 2v6\"></path><path d=\"M33.09 40v6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M33.09 40v6\"></path><path d=\"M2 14.91h6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M2 14.91h6\"></path><path d=\"M40 14.91h6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M40 14.91h6\"></path><path d=\"M2 24h6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M2 24h6\"></path><path d=\"M40 24h6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M40 24h6\"></path><path d=\"M2 33.09h6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M2 33.09h6\"></path><path d=\"M40 33.09h6z\" clip-rule=\"evenodd\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M40 33.09h6\"></path></g>";
103
+ readonly viewBox: "0 0 48 48";
104
+ };
105
+ readonly memory: {
106
+ readonly svg: "<path fill=\"currentColor\" d=\"M6.5 14.5h1v-5h-1zm5 0h1v-5h-1zm5 0h1v-5h-1zM4.616 17h14.769q.23 0 .423-.192t.192-.424V7.616q0-.231-.192-.424T19.385 7H4.615q-.23 0-.423.192T4 7.616v8.769q0 .23.192.423t.423.192M4 17V7zm1.5 3v-2h-.885q-.69 0-1.153-.462T3 16.384V7.616q0-.691.463-1.153T4.615 6H5.5V4h1v2h5V4h1v2h5V4h1v2h.885q.69 0 1.152.463T21 7.616v8.769q0 .69-.463 1.153T19.385 18H18.5v2h-1v-2h-5v2h-1v-2h-5v2z\"></path>";
107
+ readonly viewBox: "0 0 24 24";
108
+ };
109
+ readonly network: {
110
+ readonly svg: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"6\" height=\"6\" x=\"16\" y=\"16\" rx=\"1\"></rect><rect width=\"6\" height=\"6\" x=\"2\" y=\"16\" rx=\"1\"></rect><rect width=\"6\" height=\"6\" x=\"9\" y=\"2\" rx=\"1\"></rect><path d=\"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3m-7-4V8\"></path></g>";
111
+ readonly viewBox: "0 0 24 24";
112
+ };
113
+ readonly disk: {
114
+ readonly svg: "<g fill=\"none\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M44 29H4v13h40z\"></path><path fill=\"currentColor\" d=\"M35.5 38a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5\"></path><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"4\" d=\"M4 29L9.038 4.999H39.02l4.98 24\"></path></g>";
115
+ readonly viewBox: "0 0 48 48";
116
+ };
117
+ readonly services: {
118
+ readonly svg: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M12.003 21c-.732.001-1.465-.438-1.678-1.317a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c1 .608 2.296.07 2.572-1.065c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c.886.215 1.325.957 1.318 1.694\"></path><path d=\"M9 12a3 3 0 1 0 6 0a3 3 0 0 0-6 0m8.001 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m2-3.5V17m0 4v1.5m3.031-5.25l-1.299.75m-3.463 2l-1.3.75m0-3.5l1.3.75m3.463 2l1.3.75\"></path></g>";
119
+ readonly viewBox: "0 0 24 24";
120
+ };
121
+ readonly notification: {
122
+ readonly svg: "<path d=\"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z\"></path>";
123
+ readonly viewBox: "64 64 896 896";
124
+ };
125
+ readonly configuration: {
126
+ readonly svg: "<path d=\"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z\"></path>";
127
+ readonly viewBox: "64 64 896 896";
128
+ };
129
+ readonly home: {
130
+ readonly svg: "<path d=\"M16.6123,2.2138a1.01,1.01,0,0,0-1.2427,0L1,13.4194l1.2427,1.5717L4,13.6209V26a2.0041,2.0041,0,0,0,2,2H26a2.0037,2.0037,0,0,0,2-2V13.63L29.7573,15,31,13.4282ZM18,26H14V18h4Zm2,0V18a2.0023,2.0023,0,0,0-2-2H14a2.002,2.002,0,0,0-2,2v8H6V12.0615l10-7.79,10,7.8005V26Z\"></path>";
131
+ readonly viewBox: "0 0 32 32";
132
+ };
133
+ readonly renew: {
134
+ readonly svg: "<path d=\"M12,10H6.78A11,11,0,0,1,27,16h2A13,13,0,0,0,6,7.68V4H4v8h8Z\"></path><path d=\"M20,22h5.22A11,11,0,0,1,5,16H3a13,13,0,0,0,23,8.32V28h2V20H20Z\"></path>";
135
+ readonly viewBox: "0 0 32 32";
136
+ };
137
+ readonly customer: {
138
+ readonly svg: "<path d=\"m26,30h-2v-5c-.0033-2.7601-2.2399-4.9967-5-5h-6c-2.7601.0033-4.9967,2.2399-5,5v5h-2v-5c.0045-3.8641,3.1359-6.9955,7-7h6c3.8641.0045,6.9955,3.1359,7,7v5Z\"></path><path d=\"m22,6v4c0,1.1025-.8972,2-2,2h-1c-.5522,0-1,.4478-1,1s.4478,1,1,1h1c2.2056,0,4-1.7944,4-4v-4h-2Z\"></path><path d=\"m16,16c-3.8599,0-7-3.1401-7-7S12.1401,2,16,2c1.9885,0,3.8901.8503,5.2173,2.3329l-1.4902,1.334c-.9482-1.0593-2.3066-1.6669-3.7271-1.6669-2.7571,0-5,2.243-5,5s2.2429,5,5,5v2Z\"></path>";
139
+ readonly viewBox: "0 0 32 32";
140
+ };
141
+ readonly user: {
142
+ readonly svg: "<path d=\"M16,4a5,5,0,1,1-5,5,5,5,0,0,1,5-5m0-2a7,7,0,1,0,7,7A7,7,0,0,0,16,2Z\"></path><path d=\"M26,30H24V25a5,5,0,0,0-5-5H13a5,5,0,0,0-5,5v5H6V25a7,7,0,0,1,7-7h6a7,7,0,0,1,7,7Z\"></path>";
143
+ readonly viewBox: "0 0 32 32";
144
+ };
145
+ readonly user_multi: {
146
+ readonly svg: "<path d=\"M30,30H28V25a5.0057,5.0057,0,0,0-5-5V18a7.0078,7.0078,0,0,1,7,7Z\"></path><path d=\"M22,30H20V25a5.0059,5.0059,0,0,0-5-5H9a5.0059,5.0059,0,0,0-5,5v5H2V25a7.0082,7.0082,0,0,1,7-7h6a7.0082,7.0082,0,0,1,7,7Z\"></path><path d=\"M20,2V4a5,5,0,0,1,0,10v2A7,7,0,0,0,20,2Z\"></path><path d=\"M12,4A5,5,0,1,1,7,9a5,5,0,0,1,5-5m0-2a7,7,0,1,0,7,7A7,7,0,0,0,12,2Z\"></path>";
147
+ readonly viewBox: "0 0 32 32";
148
+ };
149
+ readonly user_avatar: {
150
+ readonly svg: "<path d=\"M16,8a5,5,0,1,0,5,5A5,5,0,0,0,16,8Zm0,8a3,3,0,1,1,3-3A3.0034,3.0034,0,0,1,16,16Z\"></path><path d=\"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2ZM10,26.3765V25a3.0033,3.0033,0,0,1,3-3h6a3.0033,3.0033,0,0,1,3,3v1.3765a11.8989,11.8989,0,0,1-12,0Zm13.9925-1.4507A5.0016,5.0016,0,0,0,19,20H13a5.0016,5.0016,0,0,0-4.9925,4.9258,12,12,0,1,1,15.985,0Z\"></path>";
151
+ readonly viewBox: "0 0 32 32";
152
+ };
153
+ readonly user_admin: {
154
+ readonly svg: "<path d=\"M12,4A5,5,0,1,1,7,9a5,5,0,0,1,5-5m0-2a7,7,0,1,0,7,7A7,7,0,0,0,12,2Z\"></path><path d=\"M22,30H20V25a5,5,0,0,0-5-5H9a5,5,0,0,0-5,5v5H2V25a7,7,0,0,1,7-7h6a7,7,0,0,1,7,7Z\"></path><path d=\"M25 16.18 22.41 13.59 21 15 25 19 32 12 30.59 10.59 25 16.18z\"></path>";
155
+ readonly viewBox: "0 0 32 32";
156
+ };
157
+ readonly location: {
158
+ readonly svg: "<path d=\"M16,18a5,5,0,1,1,5-5A5.0057,5.0057,0,0,1,16,18Zm0-8a3,3,0,1,0,3,3A3.0033,3.0033,0,0,0,16,10Z\"></path><path d=\"M16,30,7.5645,20.0513c-.0479-.0571-.3482-.4515-.3482-.4515A10.8888,10.8888,0,0,1,5,13a11,11,0,0,1,22,0,10.8844,10.8844,0,0,1-2.2148,6.5973l-.0015.0025s-.3.3944-.3447.4474ZM8.8125,18.395c.001.0007.2334.3082.2866.3744L16,26.9079l6.91-8.15c.0439-.0552.2783-.3649.2788-.3657A8.901,8.901,0,0,0,25,13,9,9,0,1,0,7,13a8.9054,8.9054,0,0,0,1.8125,5.395Z\"></path>";
159
+ readonly viewBox: "0 0 32 32";
160
+ };
161
+ };
162
+ type NgccIconNameType = keyof typeof ICONS;
163
+
164
+ type NgccButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'danger' | 'danger_tertiary' | 'danger_ghost';
165
+ type NgccButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
166
+ type NgccButtonType = 'button' | 'submit' | 'reset';
167
+
168
+ declare class NgccButton implements OnChanges {
169
+ label: string;
170
+ variant: NgccButtonVariant;
171
+ size: NgccButtonSize;
172
+ disabled: boolean;
173
+ expressive: boolean;
174
+ className: string;
175
+ skeleton: boolean;
176
+ type: NgccButtonType;
177
+ ariaLabel: string | undefined;
178
+ ariaExpanded: boolean | undefined;
179
+ iconName: NgccIconNameType | undefined;
180
+ iconOnly: boolean;
181
+ private readonly _label;
182
+ private readonly _variant;
183
+ private readonly _size;
184
+ private readonly _disabled;
185
+ private readonly _expressive;
186
+ private readonly _className;
187
+ private readonly _skeleton;
188
+ private readonly _type;
189
+ private readonly _ariaLabel;
190
+ private readonly _ariaExpanded;
191
+ private readonly _iconName;
192
+ private readonly _iconOnly;
193
+ ngOnChanges(changes: SimpleChanges): void;
194
+ readonly classes: _angular_core.Signal<string>;
195
+ onKeydown(event: KeyboardEvent): void;
196
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccButton, never>;
197
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccButton, "ngcc-button", never, { "label": { "alias": "label"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "expressive": { "alias": "expressive"; "required": false; }; "className": { "alias": "className"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "type": { "alias": "type"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; }, {}, never, never, true, never>;
198
+ }
199
+
200
+ type IconSize = 'sm' | 'md' | 'lg' | 'xl' | number;
201
+
202
+ declare class NgccIcon implements OnChanges {
203
+ private sanitizer;
204
+ constructor(sanitizer: DomSanitizer);
205
+ name: NgccIconNameType | undefined;
206
+ size: IconSize;
207
+ color: string;
208
+ ariaLabel: string | null;
209
+ decorative: boolean;
210
+ svgClass: string | null;
211
+ private readonly _name;
212
+ private readonly _size;
213
+ private readonly _color;
214
+ private readonly _ariaLabel;
215
+ private readonly _decorative;
216
+ private readonly _svgClass;
217
+ ngOnChanges(changes: SimpleChanges): void;
218
+ private readonly sizeMap;
219
+ getColor(): string;
220
+ sizeInRem: _angular_core.Signal<number>;
221
+ viewBox: _angular_core.Signal<"0 0 32 32" | "0 0 16 16" | "0 0 20 20" | "64 64 896 896" | "0 0 48 48" | "0 0 24 24">;
222
+ svg: _angular_core.Signal<SafeHtml | null>;
223
+ className: _angular_core.Signal<string>;
224
+ effectiveAriaLabel: _angular_core.Signal<string | null>;
225
+ isDecorative: _angular_core.Signal<boolean>;
226
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccIcon, never>;
227
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccIcon, "ngcc-icon", never, { "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "decorative": { "alias": "decorative"; "required": false; }; "svgClass": { "alias": "svgClass"; "required": false; }; }, {}, never, never, true, never>;
228
+ }
229
+
230
+ declare class NgccCheckbox implements ControlValueAccessor, OnChanges, AfterViewInit {
231
+ private ngcontrol;
232
+ label: string | undefined;
233
+ required: boolean;
234
+ disabled: boolean;
235
+ skeleton: boolean;
236
+ helperText: string | undefined;
237
+ ariaLabel: string | undefined;
238
+ ariaLabelledBy: string | undefined;
239
+ indeterminate: boolean;
240
+ invalid: boolean | undefined;
241
+ errorMessage: string | undefined;
242
+ checked: boolean;
243
+ checkedChange: EventEmitter<boolean>;
244
+ change: EventEmitter<boolean>;
245
+ private readonly _label;
246
+ private readonly _required;
247
+ private readonly _disabled;
248
+ private readonly _skeleton;
249
+ private readonly _helperText;
250
+ private readonly _ariaLabel;
251
+ private readonly _ariaLabelledBy;
252
+ private readonly _indeterminate;
253
+ private readonly _invalid;
254
+ private readonly _errorMessage;
255
+ private readonly _checked;
256
+ private readonly _disabledByForm;
257
+ readonly isDisabled: _angular_core.Signal<boolean>;
258
+ private static idCounter;
259
+ readonly inputId: string;
260
+ private readonly el;
261
+ constructor(ngcontrol: NgControl);
262
+ ngOnChanges(changes: SimpleChanges): void;
263
+ ngAfterViewInit(): void;
264
+ readonly describedBy: _angular_core.Signal<string | null>;
265
+ readonly labelledBy: _angular_core.Signal<string | null>;
266
+ readonly computedAriaLabel: _angular_core.Signal<string>;
267
+ readonly invalid_value: _angular_core.Signal<boolean | undefined>;
268
+ readonly hostClasses: _angular_core.Signal<string>;
269
+ onToggle(event: Event): void;
270
+ onBlur(): void;
271
+ private onChangeFn;
272
+ private onTouchedFn;
273
+ writeValue(val: boolean): void;
274
+ registerOnChange(fn: (val: boolean) => void): void;
275
+ registerOnTouched(fn: () => void): void;
276
+ setDisabledState(isDisabled: boolean): void;
277
+ getChecked(): boolean;
278
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccCheckbox, [{ optional: true; self: true; }]>;
279
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccCheckbox, "ngcc-checkbox", never, { "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "change": "change"; }, never, never, true, never>;
280
+ }
281
+
282
+ type NgccDateFormat = 'MM/DD/YYYY' | 'DD/MM/YYYY' | 'YYYY-MM-DD';
283
+ declare class NgccDatePicker implements ControlValueAccessor, OnDestroy, OnChanges {
284
+ #private;
285
+ protected elementRef: ElementRef;
286
+ private static idCounter;
287
+ type: 'simple' | 'single' | 'range';
288
+ id: string;
289
+ hasIcon: boolean;
290
+ label: string | TemplateRef<unknown> | undefined;
291
+ startLabel: string | TemplateRef<unknown> | null;
292
+ endLabel: string | TemplateRef<unknown> | null;
293
+ placeholder: string;
294
+ pattern: string;
295
+ theme: 'light' | 'dark';
296
+ disabled: boolean;
297
+ readonly: boolean;
298
+ invalid: boolean;
299
+ invalidText: string | TemplateRef<unknown> | undefined;
300
+ warn: boolean;
301
+ warnText: string | TemplateRef<unknown> | undefined;
302
+ helperText: string | TemplateRef<unknown> | undefined;
303
+ skeleton: boolean;
304
+ size: 'sm' | 'md' | 'lg';
305
+ minDate: Date | null;
306
+ maxDate: Date | null;
307
+ disabledDates: Date[] | null;
308
+ format: NgccDateFormat;
309
+ locale: string;
310
+ emitDateObjects: boolean;
311
+ valueChange: EventEmitter<string | Date | [string, string] | [Date, Date]>;
312
+ private _type;
313
+ private _id;
314
+ private _hasIcon;
315
+ private _label;
316
+ private _startLabel;
317
+ private _endLabel;
318
+ private _placeholder;
319
+ private _pattern;
320
+ private _theme;
321
+ private _disabled;
322
+ private _readonly;
323
+ private _invalid;
324
+ private _invalidText;
325
+ private _warn;
326
+ private _warnText;
327
+ private _helperText;
328
+ private _skeleton;
329
+ private _size;
330
+ private _minDate;
331
+ private _maxDate;
332
+ private _disabledDates;
333
+ private _format;
334
+ private _locale;
335
+ private _emitDateObjects;
336
+ calendarOpen: _angular_core.WritableSignal<boolean>;
337
+ selectingRangeEnd: _angular_core.WritableSignal<boolean>;
338
+ value: _angular_core.WritableSignal<string>;
339
+ endValue: _angular_core.WritableSignal<string>;
340
+ readonly startDateForCalendar: () => Date | null;
341
+ readonly endDateForCalendar: () => Date | null;
342
+ inputEl?: ElementRef<HTMLInputElement>;
343
+ endInputEl?: ElementRef<HTMLInputElement>;
344
+ calendarContainerEl?: ElementRef<HTMLElement>;
345
+ private _docClickHandler;
346
+ constructor(elementRef: ElementRef);
347
+ ngOnDestroy(): void;
348
+ ngOnChanges(changes: SimpleChanges): void;
349
+ getType: () => string;
350
+ getId: () => string;
351
+ getHasIcon: () => boolean;
352
+ getLabel: () => string | undefined | TemplateRef<unknown>;
353
+ getStartLabel: () => string | null | TemplateRef<unknown>;
354
+ getEndLabel: () => string | null | TemplateRef<unknown>;
355
+ getPlaceholder: () => string;
356
+ getPattern: () => string;
357
+ getTheme: () => string;
358
+ getDisabled: () => boolean;
359
+ getReadonly: () => boolean;
360
+ getInvalid: () => boolean;
361
+ getInvalidText: () => string | undefined | TemplateRef<unknown>;
362
+ getWarn: () => boolean;
363
+ getWarnText: () => string | undefined | TemplateRef<unknown>;
364
+ getHelperText: () => string | undefined | TemplateRef<unknown>;
365
+ getSkeleton: () => boolean;
366
+ getSize: () => string;
367
+ getMinDate: () => Date | null;
368
+ getMaxDate: () => Date | null;
369
+ getDisabledDates: () => Date[] | null;
370
+ getFormat: () => NgccDateFormat;
371
+ getLocale: () => string;
372
+ getEmitDateObjects: () => boolean;
373
+ writeValue(value: unknown): void;
374
+ registerOnChange(fn: (value: string | [string, string] | Date | [Date, Date] | [Date | null, Date | null]) => void): void;
375
+ registerOnTouched(fn: () => void): void;
376
+ setDisabledState(isDisabled: boolean): void;
377
+ openCalendar(isEnd?: boolean): void;
378
+ closeCalendar(): void;
379
+ toggleCalendar(isEnd?: boolean): void;
380
+ onDateSelected(date: Date): void;
381
+ emitRange(final?: boolean): void;
382
+ onInputChange(ev: Event, isEnd?: boolean): void;
383
+ validateRangeTyping(): void;
384
+ validateFormat(v: string): boolean;
385
+ private pad;
386
+ private formatDateDisplay;
387
+ private displayToDate;
388
+ private dateToISO;
389
+ private isoToDate;
390
+ private isoToDisplay;
391
+ private displayToISO;
392
+ isTemplate(value: unknown): value is TemplateRef<unknown>;
393
+ displayToDatePublic(v: string): Date | null;
394
+ readonly labelTemplate: () => TemplateRef<unknown> | null;
395
+ readonly startLabelTemplate: () => TemplateRef<unknown> | null;
396
+ readonly endLabelTemplate: () => TemplateRef<unknown> | null;
397
+ readonly helperTextTemplate: () => TemplateRef<unknown> | null;
398
+ readonly invalidTextTemplate: () => TemplateRef<unknown> | null;
399
+ readonly warnTextTemplate: () => TemplateRef<unknown> | null;
400
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccDatePicker, never>;
401
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccDatePicker, "ngcc-date-picker", never, { "type": { "alias": "type"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hasIcon": { "alias": "hasIcon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "startLabel": { "alias": "startLabel"; "required": false; }; "endLabel": { "alias": "endLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidText": { "alias": "invalidText"; "required": false; }; "warn": { "alias": "warn"; "required": false; }; "warnText": { "alias": "warnText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "size": { "alias": "size"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "format": { "alias": "format"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "emitDateObjects": { "alias": "emitDateObjects"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
402
+ }
403
+
404
+ interface NgccCalendarCell {
405
+ day?: number;
406
+ date?: Date;
407
+ empty: boolean;
408
+ isToday?: boolean;
409
+ isStart?: boolean;
410
+ isEnd?: boolean;
411
+ inRange?: boolean;
412
+ disabled?: boolean;
413
+ index?: number;
414
+ }
415
+ declare class NgccDatePickerCalendar implements OnInit, OnChanges {
416
+ dateSelected: EventEmitter<Date>;
417
+ closed: EventEmitter<void>;
418
+ startDate: Date | null;
419
+ endDate: Date | null;
420
+ minDate: Date | null;
421
+ maxDate: Date | null;
422
+ disabledDates: Date[] | null;
423
+ locale: string;
424
+ format: 'MM/DD/YYYY' | 'DD/MM/YYYY' | 'YYYY-MM-DD';
425
+ emitDateObjects: boolean;
426
+ private _startDate;
427
+ private _endDate;
428
+ private _minDate;
429
+ private _maxDate;
430
+ private _disabledDates;
431
+ private _locale;
432
+ private _format;
433
+ private _emitDateObjects;
434
+ hoverDate: _angular_core.WritableSignal<Date | null>;
435
+ private now;
436
+ private yearRangeStart;
437
+ private yearRangeEnd;
438
+ readonly yearRange: _angular_core.Signal<number[]>;
439
+ currentMonth: _angular_core.WritableSignal<number>;
440
+ currentYear: _angular_core.WritableSignal<number>;
441
+ focusedIndex: _angular_core.WritableSignal<number | null>;
442
+ monthNames: string[];
443
+ weekDays: string[];
444
+ cells: _angular_core.Signal<NgccCalendarCell[]>;
445
+ weeks: _angular_core.Signal<NgccCalendarCell[][]>;
446
+ ngOnInit(): void;
447
+ ngOnChanges(changes: SimpleChanges): void;
448
+ getStartDate: () => Date | null;
449
+ getEndDate: () => Date | null;
450
+ getMinDate: () => Date | null;
451
+ getMaxDate: () => Date | null;
452
+ getDisabledDates: () => Date[] | null;
453
+ getLocale: () => string;
454
+ getFormat: () => "MM/DD/YYYY" | "DD/MM/YYYY" | "YYYY-MM-DD";
455
+ getEmitDateObjects: () => boolean;
456
+ private syncMonthYearFromStartDate;
457
+ onMonthChange(event: Event): void;
458
+ onYearChange(event: Event): void;
459
+ private initLocaleLabels;
460
+ handleKey(event: KeyboardEvent): void;
461
+ prevMonth(): void;
462
+ nextMonth(): void;
463
+ private buildNgccCalendarCells;
464
+ select(cell: NgccCalendarCell): void;
465
+ setHover(d: Date | null): void;
466
+ clearHover(): void;
467
+ goToToday(): void;
468
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccDatePickerCalendar, never>;
469
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccDatePickerCalendar, "ngcc-date-picker-calendar", never, { "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "format": { "alias": "format"; "required": false; }; "emitDateObjects": { "alias": "emitDateObjects"; "required": false; }; }, { "dateSelected": "dateSelected"; "closed": "closed"; }, never, never, true, never>;
470
+ }
471
+
472
+ type NgccInputType = 'text' | 'email' | 'password' | 'number';
473
+ type NgccInputSize = 'sm' | 'md' | 'lg';
474
+
475
+ declare class NgccInput implements ControlValueAccessor, OnChanges {
476
+ ngcontrol: NgControl;
477
+ label: string | undefined;
478
+ placeholder: string;
479
+ type: NgccInputType;
480
+ disabled: boolean;
481
+ readonly: boolean;
482
+ required: boolean;
483
+ size: NgccInputSize;
484
+ helperText: string | undefined;
485
+ ariaLabel: string | undefined;
486
+ fluid: boolean;
487
+ skeleton: boolean;
488
+ invalid: boolean | undefined;
489
+ errorMessage: string | undefined;
490
+ value: string;
491
+ valueChange: EventEmitter<string>;
492
+ private readonly _label;
493
+ private readonly _placeholder;
494
+ private readonly _type;
495
+ private readonly _disabled;
496
+ private readonly _readonly;
497
+ private readonly _required;
498
+ private readonly _size;
499
+ private readonly _helperText;
500
+ private readonly _ariaLabel;
501
+ private readonly _fluid;
502
+ private readonly _skeleton;
503
+ private readonly _invalid;
504
+ private readonly _errorMessage;
505
+ private readonly _value;
506
+ private readonly _disabledByForm;
507
+ readonly isDisabled: _angular_core.Signal<boolean>;
508
+ readonly showPassword: _angular_core.WritableSignal<boolean>;
509
+ private static idCounter;
510
+ readonly inputId: string;
511
+ private controlErrors;
512
+ private controlInvalid;
513
+ private controlTouched;
514
+ private controlDirty;
515
+ private localTouched;
516
+ constructor(ngcontrol: NgControl);
517
+ ngOnChanges(changes: SimpleChanges): void;
518
+ private syncControlState;
519
+ readonly effectiveType: _angular_core.Signal<NgccInputType>;
520
+ readonly invalid_value: _angular_core.Signal<boolean | undefined>;
521
+ readonly error_msg: _angular_core.Signal<{} | undefined>;
522
+ readonly describedBy: _angular_core.Signal<string | null>;
523
+ readonly computedAriaLabel: _angular_core.Signal<string>;
524
+ readonly hostClasses: _angular_core.Signal<string>;
525
+ private onChangeFn;
526
+ private onTouchedFn;
527
+ onInput(event: Event): void;
528
+ onBlur(): void;
529
+ togglePasswordVisibility(): void;
530
+ writeValue(val: string): void;
531
+ registerOnChange(fn: (val: string) => void): void;
532
+ registerOnTouched(fn: () => void): void;
533
+ setDisabledState(isDisabled: boolean): void;
534
+ getValue(): string | null;
535
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccInput, [{ optional: true; self: true; }]>;
536
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccInput, "ngcc-input", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "size": { "alias": "size"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
537
+ }
538
+
539
+ type NgccInputNumberSize = 'sm' | 'md' | 'lg';
540
+
541
+ type NgccTextAreaSize = 'sm' | 'md' | 'lg';
542
+
543
+ declare class NgccTextAreaComponent implements ControlValueAccessor, OnChanges {
544
+ ngcontrol: NgControl;
545
+ label: string | undefined;
546
+ placeholder: string;
547
+ disabled: boolean;
548
+ readonly: boolean;
549
+ required: boolean;
550
+ size: NgccTextAreaSize;
551
+ helperText: string | undefined;
552
+ ariaLabel: string | undefined;
553
+ fluid: boolean;
554
+ skeleton: boolean;
555
+ rows: number;
556
+ maxLength: number | undefined;
557
+ minLength: number | undefined;
558
+ invalid: boolean | undefined;
559
+ errorMessage: string | undefined;
560
+ set value(val: string);
561
+ get value(): string;
562
+ valueChange: EventEmitter<string>;
563
+ private readonly _value;
564
+ private readonly _label;
565
+ private readonly _placeholder;
566
+ private readonly _disabled;
567
+ private readonly _readonly;
568
+ private readonly _required;
569
+ private readonly _size;
570
+ private readonly _helperText;
571
+ private readonly _ariaLabel;
572
+ private readonly _fluid;
573
+ private readonly _skeleton;
574
+ private readonly _rows;
575
+ private readonly _maxLength;
576
+ private readonly _minLength;
577
+ private readonly _invalid;
578
+ private readonly _errorMessage;
579
+ ngOnChanges(changes: SimpleChanges): void;
580
+ getLabel(): string | undefined;
581
+ getPlaceholder(): string;
582
+ getDisabled(): boolean;
583
+ getReadonly(): boolean;
584
+ getRequired(): boolean;
585
+ getSize(): NgccTextAreaSize;
586
+ getHelperText(): string | undefined;
587
+ getAriaLabel(): string | undefined;
588
+ getFluid(): boolean;
589
+ getSkeleton(): boolean;
590
+ getRows(): number;
591
+ getMaxLength(): number | undefined;
592
+ getMinLength(): number | undefined;
593
+ getInvalid(): boolean | undefined;
594
+ getErrorMessage(): string | undefined;
595
+ private static idCounter;
596
+ readonly inputId: string;
597
+ private controlErrors;
598
+ private controlInvalid;
599
+ private controlTouched;
600
+ private controlDirty;
601
+ private localTouched;
602
+ constructor(ngcontrol: NgControl);
603
+ private syncControlState;
604
+ readonly invalid_value: _angular_core.Signal<boolean | undefined>;
605
+ readonly error_msg: _angular_core.Signal<string | undefined>;
606
+ readonly describedBy: _angular_core.Signal<string | null>;
607
+ readonly computedAriaLabel: _angular_core.Signal<string>;
608
+ readonly hostClasses: _angular_core.Signal<string>;
609
+ private onChangeFn;
610
+ private onTouchedFn;
611
+ onInput(event: Event): void;
612
+ onBlur(): void;
613
+ writeValue(val: string): void;
614
+ registerOnChange(fn: (val: string) => void): void;
615
+ registerOnTouched(fn: () => void): void;
616
+ setDisabledState(isDisabled: boolean): void;
617
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTextAreaComponent, [{ optional: true; self: true; }]>;
618
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTextAreaComponent, "ngcc-text-area", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "size": { "alias": "size"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
619
+ }
620
+
621
+ type NgccModalVariant = 'default' | 'passive' | 'danger';
622
+ type NgccModalSize = 'sm' | 'md' | 'lg';
623
+
624
+ declare class NgccModal implements OnDestroy, OnChanges {
625
+ private readonly renderer;
626
+ private readonly host;
627
+ open: boolean;
628
+ variant: NgccModalVariant;
629
+ size: NgccModalSize;
630
+ closeOnOverlayClick: boolean;
631
+ primaryDisabled: boolean;
632
+ title: string;
633
+ primaryLabel: string;
634
+ secondaryLabel: string;
635
+ titleId: string;
636
+ openChange: EventEmitter<boolean>;
637
+ closed: EventEmitter<void>;
638
+ submitted: EventEmitter<void>;
639
+ secondaryClicked: EventEmitter<void>;
640
+ private readonly _open;
641
+ private readonly _variant;
642
+ private readonly _size;
643
+ private readonly _closeOnOverlayClick;
644
+ private readonly _primaryDisabled;
645
+ private readonly _title;
646
+ private readonly _primaryLabel;
647
+ private readonly _secondaryLabel;
648
+ private lastFocusedElement;
649
+ private removeKeyListener?;
650
+ ngOnChanges(changes: SimpleChanges): void;
651
+ constructor();
652
+ ngOnDestroy(): void;
653
+ openModal(): void;
654
+ close(): void;
655
+ submit(): void;
656
+ onSecondaryClick(): void;
657
+ onOverlayClick(event: Event): void;
658
+ private trapFocus;
659
+ getOpen(): boolean;
660
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccModal, never>;
661
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccModal, "ngcc-modal", never, { "open": { "alias": "open"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "closeOnOverlayClick": { "alias": "closeOnOverlayClick"; "required": false; }; "primaryDisabled": { "alias": "primaryDisabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; "primaryLabel": { "alias": "primaryLabel"; "required": false; }; "secondaryLabel": { "alias": "secondaryLabel"; "required": false; }; }, { "openChange": "openChange"; "closed": "closed"; "submitted": "submitted"; "secondaryClicked": "secondaryClicked"; }, never, ["*"], true, never>;
662
+ }
663
+
664
+ type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
665
+ type TooltipAlign = 'start' | 'center' | 'end';
666
+
667
+ declare class NgccTooltip implements OnDestroy, OnChanges {
668
+ private renderer;
669
+ private static tooltipCount;
670
+ description: string | TemplateRef<unknown> | undefined;
671
+ disabled: boolean;
672
+ placement: TooltipPlacement;
673
+ align: TooltipAlign;
674
+ autoAlign: boolean;
675
+ enterDelayMs: number;
676
+ leaveDelayMs: number;
677
+ open: boolean | undefined;
678
+ private readonly _description;
679
+ private readonly _disabled;
680
+ private readonly _placement;
681
+ private readonly _align;
682
+ private readonly _autoAlign;
683
+ private readonly _enterDelayMs;
684
+ private readonly _leaveDelayMs;
685
+ private readonly _open;
686
+ readonly isOpen: _angular_core.WritableSignal<boolean>;
687
+ readonly new_placement: _angular_core.WritableSignal<TooltipPlacement>;
688
+ private timeoutId?;
689
+ private readonly id;
690
+ readonly tooltipId: () => string;
691
+ trigger: ElementRef<HTMLElement>;
692
+ tooltipRef?: ElementRef<HTMLElement>;
693
+ private hostEl;
694
+ private rafId;
695
+ private resizeObserver?;
696
+ private listenersAdded;
697
+ private unlistenResize?;
698
+ private unlistenScroll?;
699
+ private isDestroyed;
700
+ ngOnChanges(changes: SimpleChanges): void;
701
+ constructor(renderer: Renderer2);
702
+ private updateAutoPlacementBound;
703
+ private lookupElements;
704
+ private updateAutoPlacement;
705
+ private setupAutoAlignResources;
706
+ private teardownAutoAlignResources;
707
+ readonly hostClasses: _angular_core.Signal<string>;
708
+ onMouseEnter(): void;
709
+ onMouseLeave(): void;
710
+ onFocusIn(): void;
711
+ onFocusOut(): void;
712
+ onKeyUp(event: KeyboardEvent): void;
713
+ isTemplate(value: unknown): value is TemplateRef<unknown>;
714
+ readonly descriptionTemplate: () => TemplateRef<unknown> | null;
715
+ getDescription(): string | TemplateRef<unknown> | undefined;
716
+ ngOnDestroy(): void;
717
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTooltip, never>;
718
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTooltip, "ngcc-tooltip", never, { "description": { "alias": "description"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "align": { "alias": "align"; "required": false; }; "autoAlign": { "alias": "autoAlign"; "required": false; }; "enterDelayMs": { "alias": "enterDelayMs"; "required": false; }; "leaveDelayMs": { "alias": "leaveDelayMs"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, {}, never, ["*"], true, never>;
719
+ }
720
+
721
+ declare class NgccSkeleton implements OnChanges {
722
+ /** Optional width override (e.g. "100%", "150px") */
723
+ width: string | null;
724
+ /** Optional height override */
725
+ height: string | null;
726
+ radius: string | null;
727
+ /** Rounded style (for avatar-like shapes) */
728
+ rounded: boolean;
729
+ private readonly _width;
730
+ private readonly _height;
731
+ private readonly _radius;
732
+ private readonly _rounded;
733
+ ngOnChanges(changes: SimpleChanges): void;
734
+ getRounded(): boolean;
735
+ /** Normalize value: append "px" if numeric */
736
+ private normalizeSize;
737
+ /** Computed width and height (applied to host + internal element) */
738
+ protected readonly computedWidth: _angular_core.Signal<string>;
739
+ protected readonly computedHeight: _angular_core.Signal<string>;
740
+ /** Computed radius (radius > rounded > none) */
741
+ protected readonly computedRadius: _angular_core.Signal<string | null>;
742
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccSkeleton, never>;
743
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccSkeleton, "ngcc-skeleton", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; }, {}, never, never, true, never>;
744
+ }
745
+
746
+ /**
747
+ * NgccTabComponent
748
+ * -----------------------
749
+ * Represents an individual tab inside a Tabs container.
750
+ * Supports string or template headings, cached rendering, and emits when selected.
751
+ *
752
+ * Example:
753
+ * ```html
754
+ * <ngcc-tab heading="Overview">
755
+ * Tab 1 content
756
+ * </ngcc-tab>
757
+ * ```
758
+ *
759
+ * With a custom heading:
760
+ * ```html
761
+ * <ng-template #customHeading>
762
+ * <fa-icon icon="user"></fa-icon>
763
+ * Profile
764
+ * </ng-template>
765
+ *
766
+ * <ngcc-tab [heading]="customHeading">
767
+ * Profile details...
768
+ * </ngcc-tab>
769
+ * ```
770
+ */
771
+ declare class NgccTab {
772
+ private static counter;
773
+ readonly heading: _angular_core.InputSignal<string | TemplateRef<unknown>>;
774
+ readonly title: _angular_core.InputSignal<string | null>;
775
+ readonly context: _angular_core.InputSignal<unknown>;
776
+ readonly disabled: _angular_core.InputSignal<boolean>;
777
+ readonly tabIndex: _angular_core.WritableSignal<number | null>;
778
+ readonly id: _angular_core.InputSignal<string>;
779
+ readonly cacheActive: _angular_core.WritableSignal<boolean>;
780
+ readonly tabContent: _angular_core.InputSignal<TemplateRef<unknown> | null>;
781
+ readonly templateContext: _angular_core.InputSignal<unknown>;
782
+ readonly active: _angular_core.WritableSignal<boolean>;
783
+ setActive(value: boolean): void;
784
+ readonly selected: _angular_core.OutputEmitterRef<void>;
785
+ readonly headingIsTemplate: _angular_core.Signal<boolean>;
786
+ doSelect(): void;
787
+ protected shouldRender(): boolean;
788
+ protected isTemplate(value: unknown): value is TemplateRef<unknown>;
789
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTab, never>;
790
+ 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>;
791
+ }
792
+
793
+ type NgccTabPosition = 'top' | 'bottom';
794
+ type NgccTabType = 'line' | 'contained';
795
+
796
+ declare class NgccBaseTabHeader {
797
+ readonly cacheActive: _angular_core.InputSignal<boolean>;
798
+ readonly followFocus: _angular_core.InputSignal<boolean | undefined>;
799
+ readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
800
+ readonly ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
801
+ readonly contentBefore: _angular_core.InputSignal<TemplateRef<unknown> | null>;
802
+ readonly contentAfter: _angular_core.InputSignal<TemplateRef<unknown> | null>;
803
+ readonly type: _angular_core.InputSignal<NgccTabType>;
804
+ headerContainer: ElementRef<HTMLElement>;
805
+ currentSelectedTab: number;
806
+ readonly OVERFLOW_BUTTON_OFFSET = 44;
807
+ readonly longPressMultiplier = 3;
808
+ readonly clickMultiplier = 1.5;
809
+ protected longPressInterval: ReturnType<typeof setTimeout> | null;
810
+ protected tickInterval: ReturnType<typeof setInterval> | null;
811
+ protected readonly elementRef: ElementRef<any>;
812
+ protected readonly changeDetectorRef: ChangeDetectorRef;
813
+ protected readonly renderer: Renderer2;
814
+ readonly hasHorizontalOverflow: _angular_core.Signal<boolean>;
815
+ readonly leftOverflowNavButtonHidden: _angular_core.Signal<boolean>;
816
+ readonly rightOverflowNavButtonHidden: _angular_core.Signal<boolean>;
817
+ handleScroll(): void;
818
+ handleOverflowNavClick(direction: number, numOftabs?: number): void;
819
+ handleOverflowNavMouseDown(direction: number): void;
820
+ handleOverflowNavMouseUp(): void;
821
+ onTabFocus(index: number): void;
822
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccBaseTabHeader, never>;
823
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccBaseTabHeader, "ngcc-base-tab-header", never, { "cacheActive": { "alias": "cacheActive"; "required": false; "isSignal": true; }; "followFocus": { "alias": "followFocus"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "contentBefore": { "alias": "contentBefore"; "required": false; "isSignal": true; }; "contentAfter": { "alias": "contentAfter"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
824
+ }
825
+
826
+ declare class NgccTabHeaders extends NgccBaseTabHeader implements OnInit, OnChanges, AfterContentInit, AfterViewInit, OnDestroy {
827
+ tabInput: readonly NgccTab[] | null;
828
+ routerIntegration: boolean;
829
+ private readonly _tabInput;
830
+ private readonly _routerIntegration;
831
+ getTabInput(): readonly NgccTab[] | null;
832
+ getRouterIntegration(): boolean;
833
+ private readonly router;
834
+ private readonly destroyRef;
835
+ readonly firstVisibleTab = 0;
836
+ private readonly tabQuery;
837
+ private readonly allTabHeaders;
838
+ protected readonly tabs: _angular_core.WritableSignal<readonly NgccTab[] | QueryList<NgccTab> | null>;
839
+ private resizeObserver;
840
+ private readonly cdr;
841
+ private listChangesSub;
842
+ private readonly injector;
843
+ private destroyEffect?;
844
+ constructor();
845
+ ngOnInit(): void;
846
+ ngAfterViewInit(): void;
847
+ ngAfterContentInit(): void;
848
+ ngOnChanges(changes: SimpleChanges): void;
849
+ private syncWithRouter;
850
+ protected setFirstTab(): void;
851
+ protected onKeyDown(event: KeyboardEvent): void;
852
+ selectTab(tab: NgccTab, index: number): void;
853
+ private moveFocus;
854
+ get tabsArray(): NgccTab[];
855
+ getHeadingTemplate(tab: NgccTab): TemplateRef<unknown> | null;
856
+ ngOnDestroy(): void;
857
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTabHeaders, never>;
858
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTabHeaders, "ngcc-tab-headers", never, { "tabInput": { "alias": "tabInput"; "required": false; }; "routerIntegration": { "alias": "routerIntegration"; "required": false; }; }, {}, ["tabQuery"], never, true, never>;
859
+ }
860
+
861
+ declare class NgccTabs implements AfterViewInit, OnChanges {
862
+ position: NgccTabPosition;
863
+ cacheActive: boolean;
864
+ followFocus: boolean;
865
+ isNavigation: boolean;
866
+ ariaLabel: string | undefined;
867
+ ariaLabelledBy: string | undefined;
868
+ type: NgccTabType;
869
+ skeleton: boolean;
870
+ routerIntegration: boolean;
871
+ private readonly _position;
872
+ private readonly _cacheActive;
873
+ private readonly _followFocus;
874
+ private readonly _isNavigation;
875
+ private readonly _ariaLabel;
876
+ private readonly _ariaLabelledBy;
877
+ private readonly _type;
878
+ private readonly _skeleton;
879
+ private readonly _routerIntegration;
880
+ ngOnChanges(changes: SimpleChanges): void;
881
+ getPosition(): NgccTabPosition;
882
+ getCacheActive(): boolean;
883
+ getFollowFocus(): boolean;
884
+ getIsNavigation(): boolean;
885
+ getAriaLabel(): string | undefined;
886
+ getAriaLabelledBy(): string | undefined;
887
+ getType(): NgccTabType;
888
+ getSkeleton(): boolean;
889
+ getRouterIntegration(): boolean;
890
+ private readonly injector;
891
+ tabs: _angular_core.Signal<readonly NgccTab[]>;
892
+ tabHeaders: NgccTabHeaders;
893
+ private beforeTplRef?;
894
+ private afterTplRef?;
895
+ readonly beforeTpl: _angular_core.WritableSignal<TemplateRef<unknown> | null>;
896
+ readonly afterTpl: _angular_core.WritableSignal<TemplateRef<unknown> | null>;
897
+ readonly hasTabHeaders: _angular_core.Signal<boolean>;
898
+ constructor();
899
+ ngAfterViewInit(): void;
900
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTabs, never>;
901
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTabs, "ngcc-tabs", never, { "position": { "alias": "position"; "required": false; }; "cacheActive": { "alias": "cacheActive"; "required": false; }; "followFocus": { "alias": "followFocus"; "required": false; }; "isNavigation": { "alias": "isNavigation"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; }; "type": { "alias": "type"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "routerIntegration": { "alias": "routerIntegration"; "required": false; }; }, {}, ["tabs"], ["*", "[before]", "[after]"], true, never>;
902
+ }
903
+
904
+ declare class NgccTabsSkeleton implements OnChanges {
905
+ /**
906
+ * Input number of skeleton tabs to render (default 5)
907
+ */
908
+ numOftabs: number;
909
+ private readonly _numOftabs;
910
+ ngOnChanges(changes: SimpleChanges): void;
911
+ /**
912
+ * Computed array to iterate skeleton placeholders
913
+ */
914
+ readonly numOfSkeletonTabs: _angular_core.Signal<any[]>;
915
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTabsSkeleton, never>;
916
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTabsSkeleton, "ngcc-tabs-skeleton", never, { "numOftabs": { "alias": "numOftabs"; "required": false; }; }, {}, never, never, true, never>;
917
+ }
918
+
919
+ type BaseThemeNamesType = 'white' | 'g10' | 'g90' | 'g100' | 'rounded' | 'curved';
920
+
921
+ /**
922
+ * Sets the initial theme on the HTML element.
923
+ * Call this once in your consuming app or Storybook preview.
924
+ */
925
+ declare function initNgccTheme(theme?: BaseThemeNamesType): void;
926
+
927
+ /**
928
+ * WCAG 2.1 Color Accessibility Utilities
929
+ *
930
+ * Enterprise-grade color contrast and accessibility utilities
931
+ * following WCAG 2.1 AA and AAA guidelines.
932
+ *
933
+ * @see https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html
934
+ * @see https://www.w3.org/WAI/WCAG21/Understanding/contrast-enhanced.html
935
+ */
936
+ type WCAGLevel = 'AA' | 'AAA';
937
+ type TextSize = 'normal' | 'large';
938
+ interface NgccRGB {
939
+ r: number;
940
+ g: number;
941
+ b: number;
942
+ }
943
+ interface NgccHSL {
944
+ h: number;
945
+ s: number;
946
+ l: number;
947
+ }
948
+ interface NgccContrastResult {
949
+ ratio: number;
950
+ passesAA: boolean;
951
+ passesAAA: boolean;
952
+ passesAALarge: boolean;
953
+ passesAAALarge: boolean;
954
+ }
955
+ interface NgccAccessibleColorPair {
956
+ foreground: string;
957
+ background: string;
958
+ contrastRatio: number;
959
+ wcagLevel: WCAGLevel | 'fail';
960
+ adjustments?: {
961
+ originalForeground: string;
962
+ wasAdjusted: boolean;
963
+ };
964
+ }
965
+ interface NgccColorScale {
966
+ 50: string;
967
+ 100: string;
968
+ 200: string;
969
+ 300: string;
970
+ 400: string;
971
+ 500: string;
972
+ 600: string;
973
+ 700: string;
974
+ 800: string;
975
+ 900: string;
976
+ }
977
+ declare const WCAG_CONTRAST: {
978
+ readonly AA_NORMAL: 4.5;
979
+ readonly AA_LARGE: 3;
980
+ readonly AAA_NORMAL: 7;
981
+ readonly AAA_LARGE: 4.5;
982
+ };
983
+ /**
984
+ * Parse hex color to NgccRGB
985
+ */
986
+ declare function hexToRgb(hex: string): NgccRGB;
987
+ /**
988
+ * Convert NgccRGB to hex
989
+ */
990
+ declare function rgbToHex(rgb: NgccRGB): string;
991
+ /**
992
+ * Convert NgccRGB to NgccHSL
993
+ */
994
+ declare function rgbToHsl(rgb: NgccRGB): NgccHSL;
995
+ /**
996
+ * Convert NgccHSL to NgccRGB
997
+ */
998
+ declare function hslToRgb(hsl: NgccHSL): NgccRGB;
999
+ /**
1000
+ * Convert hex to NgccHSL
1001
+ */
1002
+ declare function hexToHsl(hex: string): NgccHSL;
1003
+ /**
1004
+ * Convert NgccHSL to hex
1005
+ */
1006
+ declare function hslToHex(hsl: NgccHSL): string;
1007
+ /**
1008
+ * Calculate relative luminance per WCAG 2.1 specification
1009
+ * @see https://www.w3.org/WAI/GL/wiki/Relative_luminance
1010
+ */
1011
+ declare function getRelativeLuminance(hex: string): number;
1012
+ /**
1013
+ * Calculate contrast ratio between two colors per WCAG 2.1
1014
+ * @returns Contrast ratio (1:1 to 21:1)
1015
+ */
1016
+ declare function getContrastRatio(foreground: string, background: string): number;
1017
+ /**
1018
+ * Check if contrast meets WCAG requirements
1019
+ */
1020
+ declare function checkContrast(foreground: string, background: string): NgccContrastResult;
1021
+ /**
1022
+ * Adjust a color's lightness to meet target contrast ratio
1023
+ */
1024
+ declare function adjustColorForContrast(color: string, background: string, targetRatio?: number, maxIterations?: number): string;
1025
+ /**
1026
+ * Get WCAG-compliant text color for a background
1027
+ */
1028
+ declare function getAccessibleTextColor(background: string, preferredColor?: string, level?: WCAGLevel): string;
1029
+ /**
1030
+ * Create an accessible color pair
1031
+ */
1032
+ declare function createAccessibleColorPair(foreground: string, background: string, level?: WCAGLevel): NgccAccessibleColorPair;
1033
+ /**
1034
+ * Generate a 10-step color scale from a base color
1035
+ * Ensures WCAG compliance at appropriate steps
1036
+ */
1037
+ declare function generateColorScale(baseColor: string): NgccColorScale;
1038
+ /**
1039
+ * Generate Carbon-compatible interactive color states
1040
+ */
1041
+ declare function generateInteractiveStates(baseColor: string, background: string): {
1042
+ base: string;
1043
+ hover: string;
1044
+ active: string;
1045
+ focus: string;
1046
+ disabled: string;
1047
+ textOnColor: string;
1048
+ };
1049
+ /**
1050
+ * Generate WCAG-compliant focus indicator color
1051
+ * Must have 3:1 contrast against adjacent colors
1052
+ */
1053
+ declare function getFocusIndicatorColor(adjacentColor: string, preferredColor?: string): string;
1054
+ interface NgccAccessibilityIssue {
1055
+ type: 'contrast' | 'focus' | 'color-only';
1056
+ severity: 'error' | 'warning';
1057
+ message: string;
1058
+ token: string;
1059
+ currentValue: string;
1060
+ suggestedValue?: string;
1061
+ contrastRatio?: number;
1062
+ requiredRatio?: number;
1063
+ }
1064
+ /**
1065
+ * Validate a color token against WCAG requirements
1066
+ */
1067
+ declare function validateColorToken(tokenName: string, foreground: string, background: string, level?: WCAGLevel, isLargeText?: boolean): NgccAccessibilityIssue | null;
1068
+ interface NgccDerivedColorPalette {
1069
+ primary: string;
1070
+ secondary: string;
1071
+ danger: string;
1072
+ success: string;
1073
+ warning: string;
1074
+ info: string;
1075
+ }
1076
+ /**
1077
+ * Derive a full semantic color palette from a single brand color.
1078
+ *
1079
+ * - Secondary: complementary (180° hue rotation)
1080
+ * - Danger: fixed red hue (~0°), saturation from brand
1081
+ * - Success: fixed green hue (~130°), saturation from brand
1082
+ * - Warning: fixed yellow hue (~45°), saturation from brand
1083
+ * - Info: analogous shift (30° toward blue)
1084
+ */
1085
+ declare function derivePaletteFromBrand(brandColor: string): NgccDerivedColorPalette;
1086
+
1087
+ interface NgccWCAGConfig {
1088
+ /** Target WCAG compliance level */
1089
+ level: WCAGLevel;
1090
+ /** Auto-adjust colors that don't meet contrast requirements */
1091
+ autoAdjust: boolean;
1092
+ /** Report accessibility issues to console */
1093
+ reportIssues: boolean;
1094
+ /** Minimum contrast ratio for UI elements (non-text) */
1095
+ uiContrastRatio: number;
1096
+ }
1097
+ interface NgccThemeAccessibilityReport {
1098
+ /** Overall WCAG compliance status */
1099
+ compliant: boolean;
1100
+ /** Target level checked */
1101
+ level: WCAGLevel;
1102
+ /** List of accessibility issues found */
1103
+ issues: NgccAccessibilityIssue[];
1104
+ /** Token validation results */
1105
+ tokenValidation: Record<string, NgccTokenValidationResult>;
1106
+ /** Timestamp of validation */
1107
+ timestamp: Date;
1108
+ }
1109
+ interface NgccTokenValidationResult {
1110
+ token: string;
1111
+ foreground: string;
1112
+ background: string;
1113
+ contrastRatio: number;
1114
+ passesAA: boolean;
1115
+ passesAAA: boolean;
1116
+ adjusted?: string;
1117
+ }
1118
+ interface NgccColorThemeConfig {
1119
+ /** Single brand color input */
1120
+ brandColor: string;
1121
+ /** Derived primary color (same as brandColor) */
1122
+ primary: string;
1123
+ /** Derived secondary color (complementary) */
1124
+ secondary: string;
1125
+ /** Derived danger color */
1126
+ danger: string;
1127
+ /** Derived success color */
1128
+ success: string;
1129
+ /** Derived warning color */
1130
+ warning: string;
1131
+ /** Derived info color */
1132
+ info: string;
1133
+ /** Generated color scale for primary */
1134
+ primaryScale?: NgccColorScale;
1135
+ /** Generated color scale for secondary */
1136
+ secondaryScale?: NgccColorScale;
1137
+ }
1138
+
1139
+ /**
1140
+ * Carbon Theme Metadata
1141
+ *
1142
+ * Minimal metadata for each Carbon theme. All actual base token values
1143
+ * are applied by Carbon's SCSS via the [data-carbon-theme] attribute selector
1144
+ * in custom-themes.scss. This metadata provides only what the service
1145
+ * needs for WCAG contrast calculations.
1146
+ */
1147
+ type CarbonThemeName = 'white' | 'g10' | 'g90' | 'g100';
1148
+ interface NgccThemeMetadata {
1149
+ name: CarbonThemeName;
1150
+ isDark: boolean;
1151
+ background: string;
1152
+ /** Secondary button background color (needed for text-on-button WCAG check) */
1153
+ secondaryButtonBg: string;
1154
+ }
1155
+ declare const themeMetadata: Record<CarbonThemeName, NgccThemeMetadata>;
1156
+ declare function isThemeDark(theme: CarbonThemeName): boolean;
1157
+ declare function getThemeBackground(theme: CarbonThemeName): string;
1158
+ declare function getThemeSecondaryButtonBg(theme: CarbonThemeName): string;
1159
+ declare function getAvailableThemes(): CarbonThemeName[];
1160
+
1161
+ /**
1162
+ * Color Theme Service with WCAG 2.1 Compliance
1163
+ *
1164
+ * Accepts a single brand color and auto-generates all derived colors.
1165
+ * Base theme tokens are applied by Carbon's SCSS via [data-carbon-theme].
1166
+ * Dynamic tokens (interactive, button, link, etc.) are applied as inline CSS overrides.
1167
+ */
1168
+ declare class NgccColorThemeService {
1169
+ private static readonly FALLBACK_BRAND_COLOR;
1170
+ readonly baseTheme: _angular_core.WritableSignal<CarbonThemeName>;
1171
+ readonly brandColor: _angular_core.WritableSignal<string>;
1172
+ private readonly defaultBrandColor;
1173
+ /** WCAG configuration */
1174
+ readonly wcagConfig: _angular_core.WritableSignal<NgccWCAGConfig>;
1175
+ /** Current accessibility report */
1176
+ readonly accessibilityReport: _angular_core.WritableSignal<NgccThemeAccessibilityReport | null>;
1177
+ /** Full palette derived from the single brand color */
1178
+ readonly derivedPalette: _angular_core.Signal<NgccDerivedColorPalette>;
1179
+ /** Convenience accessors derived from palette */
1180
+ readonly primaryColor: _angular_core.Signal<string>;
1181
+ readonly secondaryColor: _angular_core.Signal<string>;
1182
+ readonly dangerColor: _angular_core.Signal<string>;
1183
+ readonly successColor: _angular_core.Signal<string>;
1184
+ readonly warningccolor: _angular_core.Signal<string>;
1185
+ readonly infoColor: _angular_core.Signal<string>;
1186
+ readonly isDarkMode: _angular_core.Signal<boolean>;
1187
+ readonly backgroundColor: _angular_core.Signal<string>;
1188
+ readonly primaryScale: _angular_core.Signal<_assistanz_carbideui.NgccColorScale>;
1189
+ readonly secondaryScale: _angular_core.Signal<_assistanz_carbideui.NgccColorScale>;
1190
+ readonly availableThemes: _angular_core.WritableSignal<CarbonThemeName[]>;
1191
+ /**
1192
+ * Chart color configuration for Carbon Charts integration
1193
+ */
1194
+ readonly chartColorConfig: _angular_core.Signal<{
1195
+ theme: CarbonThemeName;
1196
+ colorScale: Record<string, string>;
1197
+ }>;
1198
+ constructor();
1199
+ private generateChartColorScale;
1200
+ setBaseTheme(theme: CarbonThemeName): void;
1201
+ /** Set the brand color. All other colors are derived automatically. */
1202
+ updateBrandColor(color: string): void;
1203
+ /** Set the default brand color used on initialization and reset. */
1204
+ setDefaultBrandColor(color: string): void;
1205
+ /** @deprecated Use updateBrandColor() instead. */
1206
+ updatePrimary(color: string): void;
1207
+ setWcagLevel(level: WCAGLevel): void;
1208
+ setAutoAdjust(enabled: boolean): void;
1209
+ getThemeConfig(): NgccColorThemeConfig;
1210
+ validateColor(color: string, isLargeText?: boolean): NgccTokenValidationResult;
1211
+ private styleElement;
1212
+ private applyTheme;
1213
+ private updateThemeStyleTag;
1214
+ resetOverrides(): void;
1215
+ private generateWcagCompliantTokens;
1216
+ private generateAccessibilityReport;
1217
+ private getVisitedLinkColor;
1218
+ private getHighlightColor;
1219
+ private chartPalette;
1220
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccColorThemeService, never>;
1221
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<NgccColorThemeService>;
1222
+ }
1223
+
1224
+ declare abstract class NgccBaseChart<TOptions extends object> implements OnDestroy, OnChanges {
1225
+ data: Record<string, unknown>[];
1226
+ options: TOptions;
1227
+ loading: boolean;
1228
+ noDataMessage: string;
1229
+ ariaLabel: string;
1230
+ protected readonly _data: _angular_core.WritableSignal<Record<string, unknown>[]>;
1231
+ protected readonly _options: _angular_core.WritableSignal<TOptions>;
1232
+ protected readonly _loading: _angular_core.WritableSignal<boolean>;
1233
+ protected readonly _noDataMessage: _angular_core.WritableSignal<string>;
1234
+ protected readonly _ariaLabel: _angular_core.WritableSignal<string>;
1235
+ protected readonly chartContainer: _angular_core.Signal<ElementRef<any> | undefined>;
1236
+ protected chart?: Chart;
1237
+ protected resizeObserver?: ResizeObserver;
1238
+ protected readonly colorThemeService: NgccColorThemeService;
1239
+ protected readonly hasData: _angular_core.Signal<boolean>;
1240
+ protected readonly chartHeight: _angular_core.Signal<string>;
1241
+ ngOnChanges(changes: SimpleChanges): void;
1242
+ constructor();
1243
+ protected observeResize(el: HTMLElement): void;
1244
+ protected destroyChart(): void;
1245
+ ngOnDestroy(): void;
1246
+ protected abstract initChart(el: HTMLElement): void;
1247
+ getData(): Record<string, unknown>[];
1248
+ getOptions(): TOptions;
1249
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccBaseChart<any>, never>;
1250
+ 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>;
1251
+ }
1252
+
1253
+ type NgccChartType = 'bar' | 'stackedBar' | 'line' | 'area' | 'pie' | 'donut';
1254
+ /**
1255
+ * Automatically maps each chart type to its Carbon option type.
1256
+ */
1257
+ interface NgccChartOptionMap {
1258
+ bar: BarChartOptions;
1259
+ stackedBar: StackedBarChartOptions;
1260
+ line: LineChartOptions;
1261
+ area: AreaChartOptions;
1262
+ pie: PieChartOptions;
1263
+ donut: DonutChartOptions;
1264
+ }
1265
+ /**
1266
+ * A type-safe way to get the right options type for the given chart type.
1267
+ */
1268
+ type NgccChartOptions<T extends NgccChartType = NgccChartType> = NgccChartOptionMap[T];
1269
+
1270
+ declare class NgccCharts<T extends NgccChartType = 'bar'> extends NgccBaseChart<NgccChartOptions<T>> implements OnChanges {
1271
+ type: T;
1272
+ private readonly _type;
1273
+ ngOnChanges(changes: SimpleChanges): void;
1274
+ constructor();
1275
+ protected initChart(el: HTMLElement): void;
1276
+ private getMergedOptions;
1277
+ getType(): T;
1278
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccCharts<any>, never>;
1279
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccCharts<any>, "ngcc-charts", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
1280
+ }
1281
+
1282
+ declare class NgccGaugeChart extends NgccBaseChart<GaugeChartOptions> {
1283
+ constructor();
1284
+ protected initChart(el: HTMLElement): void;
1285
+ private getMergedOptions;
1286
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccGaugeChart, never>;
1287
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccGaugeChart, "ngcc-gauge-chart", never, {}, {}, never, never, true, never>;
1288
+ }
1289
+
1290
+ type AccordionAlign = 'start' | 'end';
1291
+ type AccordionSize = 'sm' | 'md' | 'lg';
1292
+ declare const NGCC_ACCORDION_ALIGN: InjectionToken<() => AccordionAlign>;
1293
+
1294
+ declare class NgccAccordionItem implements AfterViewInit, OnChanges {
1295
+ private el;
1296
+ private readonly parent;
1297
+ /** Alignment provided from parent */
1298
+ readonly align: () => AccordionAlign;
1299
+ /** Title */
1300
+ title: string;
1301
+ /** Default open state */
1302
+ defaultOpen: boolean;
1303
+ /** Disabled state */
1304
+ disabled: boolean;
1305
+ /** Emits when toggled */
1306
+ toggled: EventEmitter<boolean>;
1307
+ /** Unique IDs */
1308
+ private readonly _uuid;
1309
+ readonly id: string;
1310
+ readonly contentId: string;
1311
+ private readonly _title;
1312
+ private readonly _disabled;
1313
+ private readonly _defaultOpen;
1314
+ protected readonly isOpen: _angular_core.WritableSignal<boolean>;
1315
+ protected readonly ariaExpanded: _angular_core.Signal<string>;
1316
+ protected readonly className: _angular_core.Signal<"cds--accordion__item cds--accordion__item--active" | "cds--accordion__item">;
1317
+ constructor(el: ElementRef<HTMLElement>);
1318
+ ngOnChanges(changes: SimpleChanges): void;
1319
+ ngAfterViewInit(): void;
1320
+ toggle(): void;
1321
+ syncWithContainer(openIds: Set<string>): void;
1322
+ /** Keyboard navigation */
1323
+ onKeydown(event: KeyboardEvent): void;
1324
+ /** IDs for accessibility */
1325
+ get buttonId(): string;
1326
+ get contentIdAttr(): string;
1327
+ getTitle(): string;
1328
+ getDisabled(): boolean;
1329
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccAccordionItem, never>;
1330
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccAccordionItem, "ngcc-accordion-item", never, { "title": { "alias": "title"; "required": false; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "toggled": "toggled"; }, never, ["*"], true, never>;
1331
+ }
1332
+
1333
+ declare class NgccAccordion implements AfterContentInit, OnChanges {
1334
+ /** Allow multiple items to stay open at once */
1335
+ multi: boolean;
1336
+ protected readonly items: _angular_core.Signal<readonly NgccAccordionItem[]>;
1337
+ /** alignment and size as Input decorators */
1338
+ align: AccordionAlign;
1339
+ size: AccordionSize;
1340
+ private readonly _multi;
1341
+ private readonly _align;
1342
+ private readonly _size;
1343
+ private readonly openItems;
1344
+ protected readonly containerClass: _angular_core.Signal<string>;
1345
+ /** array view of open ids */
1346
+ readonly openItemIds: _angular_core.Signal<string[]>;
1347
+ ngOnChanges(changes: SimpleChanges): void;
1348
+ ngAfterContentInit(): void;
1349
+ getAlign(): AccordionAlign;
1350
+ /** Get the current set of open item IDs (for child components) */
1351
+ getOpenItems(): Set<string>;
1352
+ toggleItem(id: string, shouldOpen: boolean): void;
1353
+ /** Programmatic API */
1354
+ openItem(id: string): void;
1355
+ closeItem(id: string): void;
1356
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccAccordion, never>;
1357
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccAccordion, "ngcc-accordion", never, { "multi": { "alias": "multi"; "required": false; }; "align": { "alias": "align"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, ["items"], ["*"], true, never>;
1358
+ }
1359
+
1360
+ type DropdownSize = 'sm' | 'md' | 'lg';
1361
+ interface NgccDropdownItem<T = unknown> {
1362
+ label: string;
1363
+ value: T;
1364
+ disabled?: boolean;
1365
+ }
1366
+
1367
+ declare class NgccDropdown<T = unknown> implements ControlValueAccessor, OnChanges {
1368
+ private ngcontrol;
1369
+ private readonly host;
1370
+ private readonly document;
1371
+ private readonly injector;
1372
+ private static idCounter;
1373
+ readonly inputId: string;
1374
+ label: string | undefined;
1375
+ readonly: boolean;
1376
+ required: boolean;
1377
+ helperText: string | undefined;
1378
+ ariaLabel: string | undefined;
1379
+ items: NgccDropdownItem<T>[];
1380
+ placeholder: string;
1381
+ size: DropdownSize;
1382
+ disabled: boolean;
1383
+ multi: boolean;
1384
+ skeleton: boolean;
1385
+ invalid: boolean | undefined;
1386
+ errorMessage: string | undefined;
1387
+ valueChange: EventEmitter<T | T[]>;
1388
+ private readonly _label;
1389
+ private readonly _readonly;
1390
+ private readonly _required;
1391
+ private readonly _helperText;
1392
+ private readonly _ariaLabel;
1393
+ private readonly _items;
1394
+ private readonly _placeholder;
1395
+ private readonly _size;
1396
+ private readonly _disabled;
1397
+ private readonly _multi;
1398
+ private readonly _skeleton;
1399
+ private readonly _invalid;
1400
+ private readonly _errorMessage;
1401
+ protected readonly searchQuery: _angular_core.WritableSignal<string>;
1402
+ protected readonly filteredItems: _angular_core.Signal<NgccDropdownItem<T>[]>;
1403
+ protected readonly filteredItemCount: _angular_core.Signal<number>;
1404
+ private localTouched;
1405
+ protected readonly isOpen: _angular_core.WritableSignal<boolean>;
1406
+ protected readonly activeIndex: _angular_core.WritableSignal<number | null>;
1407
+ protected readonly selected: _angular_core.WritableSignal<T | T[] | null>;
1408
+ protected readonly isFocused: _angular_core.WritableSignal<boolean>;
1409
+ private controlTouched;
1410
+ private controlDirty;
1411
+ private controlInvalid;
1412
+ private controlErrors;
1413
+ private internalFocus;
1414
+ private _statusSignal?;
1415
+ private _valueSignal?;
1416
+ protected readonly itemCount: _angular_core.Signal<number>;
1417
+ protected readonly isInvalid: _angular_core.Signal<boolean | undefined>;
1418
+ ngOnChanges(changes: SimpleChanges): void;
1419
+ getLabel(): string | undefined;
1420
+ getReadonly(): boolean;
1421
+ getRequired(): boolean;
1422
+ getHelperText(): string | undefined;
1423
+ getAriaLabel(): string | undefined;
1424
+ getItems(): NgccDropdownItem<T>[];
1425
+ getPlaceholder(): string;
1426
+ getSize(): DropdownSize;
1427
+ getDisabled(): boolean;
1428
+ getMulti(): boolean;
1429
+ getSkeleton(): boolean;
1430
+ getInvalid(): boolean | undefined;
1431
+ getErrorMessage(): string | undefined;
1432
+ private readonly _disabledByForm;
1433
+ readonly isDisabled: _angular_core.Signal<boolean>;
1434
+ protected readonly displayErrorMessage: _angular_core.Signal<string | null | undefined>;
1435
+ protected readonly triggerClass: _angular_core.Signal<string>;
1436
+ protected readonly computedAriaLabel: _angular_core.Signal<string>;
1437
+ protected readonly lastSelected: _angular_core.Signal<T | null>;
1438
+ constructor(ngcontrol: NgControl);
1439
+ onSearchInput(ev: Event): void;
1440
+ onSearchKeydown(ev: KeyboardEvent): void;
1441
+ toggle(): void;
1442
+ open(): void;
1443
+ close(): void;
1444
+ onItemClick(e: Event, item: NgccDropdownItem<T>): void;
1445
+ selectItem(item: NgccDropdownItem<T>): void;
1446
+ selectIndex(idx: number | null): void;
1447
+ onTriggerKeydown(ev: KeyboardEvent): void;
1448
+ onMenuKeydown(ev: KeyboardEvent): void;
1449
+ onTriggerFocus(): void;
1450
+ onTriggerBlur(_event?: FocusEvent): void;
1451
+ protected isSelected(item: NgccDropdownItem<T>): boolean;
1452
+ private _focusMenu;
1453
+ private _focusTrigger;
1454
+ private _scrollActiveIntoView;
1455
+ private _focusSearchInput;
1456
+ private _firstSelectableIndex;
1457
+ private _lastSelectableIndex;
1458
+ private _nextSelectableIndex;
1459
+ private _prevSelectableIndex;
1460
+ private _activeItemId;
1461
+ protected _isEqual(a: unknown | null, b: unknown | null): boolean;
1462
+ private onChangeFn;
1463
+ private onTouchedFn;
1464
+ writeValue(val: T | T[] | null): void;
1465
+ registerOnChange(fn: (val: T | T[] | null) => void): void;
1466
+ registerOnTouched(fn: () => void): void;
1467
+ setDisabledState(isDisabled: boolean): void;
1468
+ private syncControlState;
1469
+ protected getLabelForSelection(): string;
1470
+ protected itemId: (i: number) => string;
1471
+ /** @internal Used only for test introspection */
1472
+ get debugState(): unknown;
1473
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccDropdown<any>, [{ optional: true; self: true; }]>;
1474
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccDropdown<any>, "ngcc-dropdown", never, { "label": { "alias": "label"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "items": { "alias": "items"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
1475
+ }
1476
+
1477
+ type NotificationType = 'success' | 'error' | 'info' | 'warning';
1478
+ interface NgccNotificationConfig {
1479
+ /** Unique identifier. If omitted, service will assign */
1480
+ id?: string;
1481
+ type: NotificationType;
1482
+ title: string;
1483
+ subtitle?: string;
1484
+ caption?: string;
1485
+ /** milliseconds before auto-dismiss. 0 or negative = no auto-dismiss and sticky */
1486
+ timeout?: number;
1487
+ /** low contrast style */
1488
+ lowContrast?: boolean;
1489
+ /** whether close button is shown */
1490
+ showClose?: boolean;
1491
+ /** optional action button label & callback */
1492
+ actionLabel?: string;
1493
+ action?: () => void;
1494
+ /** Optional custom icon name (uses NgccIcon) */
1495
+ icon?: string;
1496
+ /** If true, hides the icon completely */
1497
+ hideIcon?: boolean;
1498
+ }
1499
+
1500
+ declare class NgccNotification implements OnChanges {
1501
+ cfg: NgccNotificationConfig | undefined;
1502
+ closed: EventEmitter<string>;
1503
+ private readonly _cfg;
1504
+ protected readonly isVisible: _angular_core.WritableSignal<boolean>;
1505
+ private readonly timeoutSig;
1506
+ ngOnChanges(changes: SimpleChanges): void;
1507
+ constructor();
1508
+ readonly role: _angular_core.Signal<"status" | "alert">;
1509
+ readonly ariaLive: _angular_core.Signal<"assertive" | "polite">;
1510
+ /** Determine icon name (custom or type-based) */
1511
+ readonly iconName: _angular_core.Signal<"add" | "close" | "edit" | "view" | "hide" | "delete" | "warn" | "error" | "calendar" | "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">;
1512
+ close(): void;
1513
+ onAction(): void;
1514
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccNotification, never>;
1515
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccNotification, "ngcc-notification", never, { "cfg": { "alias": "cfg"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
1516
+ }
1517
+
1518
+ declare class NgccNotificationContainer {
1519
+ private readonly notificationSvc;
1520
+ readonly notifications: _angular_core.Signal<_assistanz_carbideui.NgccNotificationConfig[]>;
1521
+ constructor();
1522
+ onClosed(id: string): void;
1523
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccNotificationContainer, never>;
1524
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccNotificationContainer, "ngcc-notification-container", never, {}, {}, never, never, true, never>;
1525
+ }
1526
+
1527
+ declare class NotificationService {
1528
+ private readonly _notifications;
1529
+ readonly notifications: _angular_core.Signal<NgccNotificationConfig[]>;
1530
+ private nextId;
1531
+ maxVisible: number;
1532
+ show(config: Partial<NgccNotificationConfig>): string;
1533
+ remove(id: string): void;
1534
+ clearAll(): void;
1535
+ private trimToMax;
1536
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NotificationService, never>;
1537
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<NotificationService>;
1538
+ }
1539
+
1540
+ type ToastType = 'success' | 'error' | 'info' | 'warning';
1541
+ interface NgccToastConfig {
1542
+ /** Unique identifier. If omitted, service will assign */
1543
+ id?: string;
1544
+ type: ToastType;
1545
+ title: string;
1546
+ subtitle?: string;
1547
+ caption?: string;
1548
+ /** milliseconds before auto-dismiss. 0 or negative = no auto-dismiss and sticky */
1549
+ timeout?: number;
1550
+ /** low contrast style */
1551
+ lowContrast?: boolean;
1552
+ /** whether close button is shown */
1553
+ showClose?: boolean;
1554
+ /** Optional custom icon name (uses NgccIcon) */
1555
+ icon?: string;
1556
+ /** If true, hides the icon completely */
1557
+ hideIcon?: boolean;
1558
+ }
1559
+
1560
+ declare class NgccToast implements OnChanges {
1561
+ cfg: NgccToastConfig | undefined;
1562
+ closed: EventEmitter<string>;
1563
+ private readonly _cfg;
1564
+ protected readonly isVisible: _angular_core.WritableSignal<boolean>;
1565
+ private readonly timeoutSig;
1566
+ ngOnChanges(changes: SimpleChanges): void;
1567
+ constructor();
1568
+ readonly role: _angular_core.Signal<"status" | "alert">;
1569
+ readonly ariaLive: _angular_core.Signal<"assertive" | "polite">;
1570
+ /** Determine icon name (custom or type-based) */
1571
+ readonly iconName: _angular_core.Signal<"add" | "close" | "edit" | "view" | "hide" | "delete" | "warn" | "error" | "calendar" | "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">;
1572
+ close(): void;
1573
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccToast, never>;
1574
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccToast, "ngcc-toast", never, { "cfg": { "alias": "cfg"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
1575
+ }
1576
+
1577
+ declare class NgccToastContainer {
1578
+ private readonly toastSvc;
1579
+ readonly toasts: _angular_core.Signal<_assistanz_carbideui.NgccToastConfig[]>;
1580
+ constructor();
1581
+ onClosed(id: string): void;
1582
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccToastContainer, never>;
1583
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccToastContainer, "ngcc-toast-container", never, {}, {}, never, never, true, never>;
1584
+ }
1585
+
1586
+ declare class ToastService {
1587
+ private readonly _toasts;
1588
+ readonly toasts: _angular_core.Signal<NgccToastConfig[]>;
1589
+ private nextId;
1590
+ maxVisible: number;
1591
+ show(config: Partial<NgccToastConfig>): string;
1592
+ remove(id: string): void;
1593
+ clearAll(): void;
1594
+ private trimToMax;
1595
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastService, never>;
1596
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ToastService>;
1597
+ }
1598
+
1599
+ type SortDirection = 'asc' | 'desc';
1600
+ interface NgccTableColumn<_T = unknown> {
1601
+ key: string;
1602
+ header: string;
1603
+ sortable?: boolean;
1604
+ width?: string | number;
1605
+ align?: 'start' | 'center' | 'end';
1606
+ }
1607
+ interface NgccTableConfig {
1608
+ pagination?: boolean;
1609
+ pageSize?: number;
1610
+ rowSelection?: 'single' | 'multiple' | 'none';
1611
+ search?: {
1612
+ enabled?: boolean;
1613
+ mode?: 'static' | 'dynamic';
1614
+ };
1615
+ }
1616
+
1617
+ declare class NgccTable<T = unknown> implements OnInit, OnChanges {
1618
+ private readonly searchService;
1619
+ columns: NgccTableColumn<T>[];
1620
+ rows: T[];
1621
+ loading: boolean;
1622
+ config: NgccTableConfig;
1623
+ set sortState(val: {
1624
+ key: string;
1625
+ dir: 'asc' | 'desc';
1626
+ } | null);
1627
+ get sortState(): {
1628
+ key: string;
1629
+ dir: 'asc' | 'desc';
1630
+ } | null;
1631
+ sortStateChange: EventEmitter<{
1632
+ key: string;
1633
+ dir: "asc" | "desc";
1634
+ } | null>;
1635
+ rowSelect: EventEmitter<T[]>;
1636
+ searchChange: EventEmitter<string>;
1637
+ private readonly _sortState;
1638
+ private readonly _columns;
1639
+ private readonly _rows;
1640
+ private readonly _loading;
1641
+ private readonly _config;
1642
+ ngOnChanges(changes: SimpleChanges): void;
1643
+ getColumns(): NgccTableColumn<T>[];
1644
+ getRows(): T[];
1645
+ getLoading(): boolean;
1646
+ getConfig(): NgccTableConfig;
1647
+ getSortStateValue(): {
1648
+ key: string;
1649
+ dir: 'asc' | 'desc';
1650
+ } | null;
1651
+ allowSelection(): boolean;
1652
+ hoveredCol: string | null;
1653
+ private readonly injector;
1654
+ private readonly service;
1655
+ protected readonly searchExpanded: _angular_core.WritableSignal<boolean>;
1656
+ protected readonly currentPage: _angular_core.WritableSignal<number>;
1657
+ protected readonly searchQuery: _angular_core.WritableSignal<string>;
1658
+ protected readonly selected: _angular_core.WritableSignal<Set<number>>;
1659
+ protected readonly processedRows: _angular_core.Signal<T[]>;
1660
+ protected readonly totalPages: _angular_core.Signal<number>;
1661
+ constructor();
1662
+ ngOnInit(): void;
1663
+ protected isSelected(indexOnPage: number): boolean;
1664
+ protected toggleRowSelect(absIndex: number, _row: T): void;
1665
+ protected isAllSelected(): boolean;
1666
+ protected toggleAllRowsSelected(): void;
1667
+ protected readonly isIndeterminate: _angular_core.Signal<boolean>;
1668
+ protected goToPage(idx: number): void;
1669
+ protected getSortIcon(colKey: string): NgccIconNameType;
1670
+ getSortAria(colKey: string): 'ascending' | 'descending' | 'none';
1671
+ getSortAriaLabel(colKey: string): string;
1672
+ protected toggleSort(colKey: string, sortable?: boolean): void;
1673
+ protected toggleSearchExpand(): void;
1674
+ protected handleSearchInput(value: string): void;
1675
+ protected stringify(value: unknown): string;
1676
+ get loadingRows(): unknown[];
1677
+ get columnPlaceholders(): unknown[];
1678
+ getColumnWidth(col: {
1679
+ width?: number | string;
1680
+ }): string | null;
1681
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTable<any>, never>;
1682
+ 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>;
1683
+ }
1684
+
1685
+ declare class NgccTableToolbar implements OnChanges {
1686
+ totalRows: number;
1687
+ searchMode: 'local' | 'remote';
1688
+ placeholder: string;
1689
+ showActions: boolean;
1690
+ searchChanged: EventEmitter<string>;
1691
+ private readonly _totalRows;
1692
+ private readonly _searchMode;
1693
+ private readonly _placeholder;
1694
+ private readonly _showActions;
1695
+ ngOnChanges(changes: SimpleChanges): void;
1696
+ getTotalRows(): number;
1697
+ getSearchMode(): 'local' | 'remote';
1698
+ getPlaceholder(): string;
1699
+ getShowActions(): boolean;
1700
+ protected readonly isExpanded: _angular_core.WritableSignal<boolean>;
1701
+ protected readonly query: _angular_core.WritableSignal<string>;
1702
+ private readonly searchService;
1703
+ protected readonly showClearButton: _angular_core.Signal<boolean>;
1704
+ constructor();
1705
+ protected toggleSearch(): void;
1706
+ protected handleInput(value: string): void;
1707
+ protected clearSearch(): void;
1708
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTableToolbar, never>;
1709
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTableToolbar, "ngcc-table-toolbar", never, { "totalRows": { "alias": "totalRows"; "required": false; }; "searchMode": { "alias": "searchMode"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; }, { "searchChanged": "searchChanged"; }, never, ["[ngcc-toolbar-actions]"], true, never>;
1710
+ }
1711
+
1712
+ declare class NgccTableSkeleton implements OnChanges {
1713
+ /** number of placeholder columns */
1714
+ columns: number;
1715
+ /** number of placeholder rows */
1716
+ rows: number;
1717
+ /** skeleton display mode */
1718
+ mode: 'full' | 'rows';
1719
+ private readonly _columns;
1720
+ private readonly _rows;
1721
+ private readonly _mode;
1722
+ ngOnChanges(changes: SimpleChanges): void;
1723
+ /** computed arrays for template iteration (avoids recreating arrays on each change detection) */
1724
+ protected readonly columnArray: _angular_core.Signal<any[]>;
1725
+ protected readonly rowArray: _angular_core.Signal<any[]>;
1726
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTableSkeleton, never>;
1727
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTableSkeleton, "ngcc-table-skeleton", never, { "columns": { "alias": "columns"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, true, never>;
1728
+ }
1729
+
1730
+ declare class NgccTableSearchDirective {
1731
+ private readonly el;
1732
+ private readonly search;
1733
+ constructor();
1734
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTableSearchDirective, never>;
1735
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgccTableSearchDirective, "[ngccTableSearch]", never, {}, {}, never, never, true, never>;
1736
+ }
1737
+
1738
+ declare class NgccTableSearchService<T = unknown> {
1739
+ readonly query: _angular_core.WritableSignal<string>;
1740
+ readonly searchResults: _angular_core.WritableSignal<T[]>;
1741
+ readonly loading: _angular_core.WritableSignal<boolean>;
1742
+ endpoint?: string;
1743
+ constructor();
1744
+ /** Public API for static local filtering (used by NgccTable) */
1745
+ filterLocal(data: T[], columns: string[]): T[];
1746
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTableSearchService<any>, never>;
1747
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<NgccTableSearchService<any>>;
1748
+ }
1749
+
1750
+ declare class NgccTableService<T = unknown> {
1751
+ readonly columns: _angular_core.WritableSignal<NgccTableColumn<T>[]>;
1752
+ readonly rows: _angular_core.WritableSignal<T[]>;
1753
+ readonly selectedRowIndexes: _angular_core.WritableSignal<Set<number>>;
1754
+ setColumns(cols: NgccTableColumn<T>[]): void;
1755
+ setRows(rows: T[]): void;
1756
+ toggleSelect(index: number): void;
1757
+ clearSelection(): void;
1758
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTableService<any>, never>;
1759
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<NgccTableService<any>>;
1760
+ }
1761
+
1762
+ declare class NgccPagination implements OnChanges {
1763
+ /** current page (1-based index) */
1764
+ page: number;
1765
+ /** total items in the dataset */
1766
+ totalItems: number;
1767
+ /** page size options */
1768
+ pageSizes: number[];
1769
+ /** currently selected page size */
1770
+ pageSize: number;
1771
+ /** optional looping behavior when using keyboard navigation */
1772
+ loopNavigation: boolean;
1773
+ /** outputs */
1774
+ pageChange: EventEmitter<number>;
1775
+ pageSizeChange: EventEmitter<number>;
1776
+ private readonly _page;
1777
+ private readonly _totalItems;
1778
+ private readonly _pageSizes;
1779
+ private readonly _pageSize;
1780
+ private readonly _loopNavigation;
1781
+ ngOnChanges(changes: SimpleChanges): void;
1782
+ /** derived state */
1783
+ protected readonly totalPages: _angular_core.Signal<number>;
1784
+ protected readonly startItem: _angular_core.Signal<number>;
1785
+ protected readonly endItem: _angular_core.Signal<number>;
1786
+ protected readonly disablePrev: _angular_core.Signal<boolean>;
1787
+ protected readonly disableNext: _angular_core.Signal<boolean>;
1788
+ /** handlers */
1789
+ protected goToPage(newPage: number): void;
1790
+ protected handlePageSizeChange(event: Event): void;
1791
+ /** ✅ fixed version for keyboard navigation */
1792
+ protected onKeydown(event: KeyboardEvent): void;
1793
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccPagination, never>;
1794
+ 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>;
1795
+ }
1796
+
1797
+ declare class NgccColorThemeSwitcher {
1798
+ private readonly colorService;
1799
+ /** Optional default brand color provided by the consumer */
1800
+ readonly defaultColor: _angular_core.InputSignal<string | undefined>;
1801
+ constructor();
1802
+ /** Signals for reactive template binding */
1803
+ protected readonly brandColor: _angular_core.Signal<string>;
1804
+ protected readonly baseTheme: _angular_core.Signal<_assistanz_carbideui.CarbonThemeName>;
1805
+ /** Derived palette colors for preview */
1806
+ protected readonly primaryColor: _angular_core.Signal<string>;
1807
+ protected readonly secondaryColor: _angular_core.Signal<string>;
1808
+ protected readonly dangerColor: _angular_core.Signal<string>;
1809
+ protected readonly successColor: _angular_core.Signal<string>;
1810
+ protected readonly warningccolor: _angular_core.Signal<string>;
1811
+ protected readonly infoColor: _angular_core.Signal<string>;
1812
+ /** Base Carbon themes */
1813
+ protected readonly themes: _angular_core.WritableSignal<readonly ["white", "g10", "g90", "g100"]>;
1814
+ /** Update handlers */
1815
+ protected onBrandColorChange(value: string): void;
1816
+ protected onBaseThemeChange(theme: 'white' | 'g10' | 'g90' | 'g100'): void;
1817
+ protected resetOverrides(): void;
1818
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccColorThemeSwitcher, never>;
1819
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccColorThemeSwitcher, "ngcc-color-theme-switcher", never, { "defaultColor": { "alias": "defaultColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1820
+ }
1821
+
1822
+ /**
1823
+ * Signals-based, SSR-safe i18n service for Angular applications.
1824
+ * Provides translation functionality with lazy loading, caching, fallback language support,
1825
+ * and parameter interpolation.
1826
+ */
1827
+ declare class NgccI18nService {
1828
+ private readonly config;
1829
+ private readonly platformId;
1830
+ currentLanguage: _angular_core.WritableSignal<string>;
1831
+ private translationCache;
1832
+ private loadingLanguages;
1833
+ constructor();
1834
+ /**
1835
+ * Get the initial language based on config and browser settings.
1836
+ */
1837
+ private getInitialLanguage;
1838
+ /**
1839
+ * Set the current language and load translations for that language if needed.
1840
+ * @param language The language code to switch to
1841
+ */
1842
+ setLanguage(language: string): Promise<void>;
1843
+ /**
1844
+ * Get the current language.
1845
+ */
1846
+ getLanguage(): string;
1847
+ /**
1848
+ * Load translations for a specific language using the configured loader.
1849
+ * @param language The language code to load
1850
+ */
1851
+ private loadLanguage;
1852
+ /**
1853
+ * Translate a key with optional parameter interpolation.
1854
+ * Supports {{paramName}} syntax for parameter substitution.
1855
+ * Falls back to fallback language if key is not found in current language.
1856
+ * @param key The translation key
1857
+ * @param params Optional object with parameters to interpolate
1858
+ * @returns The translated string or the key if not found
1859
+ */
1860
+ t(key: string, params?: Record<string, string | number | boolean>): string;
1861
+ /**
1862
+ * Interpolate parameters in a translation string.
1863
+ * Replaces {{paramName}} with the corresponding parameter value.
1864
+ * @param text The text containing {{param}} placeholders
1865
+ * @param params The parameters to substitute
1866
+ * @returns The interpolated string
1867
+ */
1868
+ private interpolate;
1869
+ /**
1870
+ * Get all loaded translations for the current language.
1871
+ * Returns an empty object if the language is not loaded.
1872
+ */
1873
+ getTranslations(): Record<string, string>;
1874
+ /**
1875
+ * Check if a translation key exists in the current language or fallback language.
1876
+ */
1877
+ has(key: string): boolean;
1878
+ /**
1879
+ * Clear the translation cache.
1880
+ */
1881
+ clearCache(): void;
1882
+ /**
1883
+ * Get the underlying translation cache (for testing or advanced use cases).
1884
+ * Use with caution in production code.
1885
+ */
1886
+ getCache(): Map<string, Record<string, string>>;
1887
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccI18nService, never>;
1888
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<NgccI18nService>;
1889
+ }
1890
+
1891
+ /**
1892
+ * Standalone i18n pipe for Angular templates.
1893
+ * Translates a key using the NgccI18nService and optionally interpolates parameters.
1894
+ * Set to pure: false to update when language changes via the service signal.
1895
+ *
1896
+ * @example
1897
+ * ```html
1898
+ * <!-- Simple translation -->
1899
+ * <p>{{ 'greeting' | ngccI18n }}</p>
1900
+ *
1901
+ * <!-- Translation with parameters -->
1902
+ * <p>{{ 'welcome' | ngccI18n: { name: 'John' } }}</p>
1903
+ * ```
1904
+ */
1905
+ declare class NgccI18nPipe implements PipeTransform {
1906
+ private readonly i18nService;
1907
+ /**
1908
+ * Transform a translation key to its translated value.
1909
+ * @param key The translation key
1910
+ * @param params Optional parameters for interpolation
1911
+ * @returns The translated string
1912
+ */
1913
+ transform(key: string, params?: Record<string, string | number | boolean>): string;
1914
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccI18nPipe, never>;
1915
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<NgccI18nPipe, "ngccI18n", true>;
1916
+ }
1917
+
1918
+ /**
1919
+ * Interface for implementing custom translation loaders.
1920
+ * Implement this interface to provide translations from any source.
1921
+ */
1922
+ interface NgccI18nLoader {
1923
+ /**
1924
+ * Load translations for a specific language.
1925
+ * @param language The language code (e.g., 'en', 'fr', 'es')
1926
+ * @returns Promise resolving to a Record of translation key-value pairs
1927
+ */
1928
+ load(language: string): Promise<Record<string, string>>;
1929
+ }
1930
+ /**
1931
+ * Configuration options for the i18n service.
1932
+ */
1933
+ interface NgccI18nConfig {
1934
+ /**
1935
+ * The initial/default language
1936
+ * @default 'en'
1937
+ */
1938
+ defaultLanguage?: string;
1939
+ /**
1940
+ * The fallback language to use if a translation is not found in the current language
1941
+ * @default 'en'
1942
+ */
1943
+ fallbackLanguage?: string;
1944
+ /**
1945
+ * The loader implementation to use for loading translations
1946
+ */
1947
+ loader: NgccI18nLoader;
1948
+ /**
1949
+ * Optional cache for storing loaded translations to avoid reloading
1950
+ * @default new Map()
1951
+ */
1952
+ cache?: Map<string, Record<string, string>>;
1953
+ /**
1954
+ * Whether to use the browser's language preference (via navigator.language)
1955
+ * @default false
1956
+ */
1957
+ useBrowserLanguage?: boolean;
1958
+ }
1959
+
1960
+ /**
1961
+ * HTTP-based translation loader that fetches translation files from a server.
1962
+ * Uses the native fetch API so it can be instantiated outside Angular's DI context.
1963
+ *
1964
+ * @example
1965
+ * ```typescript
1966
+ * // Load from JSON files
1967
+ * const loader = new HttpNgccI18nLoader('/assets/i18n');
1968
+ * // Will load from: /assets/i18n/en.json, /assets/i18n/fr.json, etc.
1969
+ *
1970
+ * // Load from API endpoint with no extension
1971
+ * const loader = new HttpNgccI18nLoader('/api/translations', '');
1972
+ * // Will load from: /api/translations/en, /api/translations/fr, etc.
1973
+ * ```
1974
+ */
1975
+ declare class HttpNgccI18nLoader implements NgccI18nLoader {
1976
+ private baseUrl;
1977
+ private fileExtension;
1978
+ /**
1979
+ * Create an HTTP loader.
1980
+ * @param baseUrl The base URL or path for translation files (without language suffix)
1981
+ * @param fileExtension The file extension to append (default: '.json')
1982
+ */
1983
+ constructor(baseUrl: string, fileExtension?: string);
1984
+ /**
1985
+ * Load translations from an HTTP endpoint using the native fetch API.
1986
+ * @param language The language code (e.g., 'en', 'fr')
1987
+ * @returns Promise resolving to the translation object
1988
+ */
1989
+ load(language: string): Promise<Record<string, string>>;
1990
+ }
1991
+
1992
+ /**
1993
+ * Provides the NgccI18n service and its configuration to the application.
1994
+ * This is the single entry point for setting up i18n — it registers both
1995
+ * the configuration token and the service itself.
1996
+ *
1997
+ * @example
1998
+ * ```typescript
1999
+ * // In main.ts for standalone apps
2000
+ * import { provideNgccI18n, HttpNgccI18nLoader } from '@carbideui/components';
2001
+ *
2002
+ * bootstrapApplication(AppComponent, {
2003
+ * providers: [
2004
+ * provideNgccI18n({
2005
+ * defaultLanguage: 'en',
2006
+ * fallbackLanguage: 'en',
2007
+ * loader: new HttpNgccI18nLoader('/assets/i18n'),
2008
+ * useBrowserLanguage: true,
2009
+ * }),
2010
+ * ],
2011
+ * });
2012
+ * ```
2013
+ *
2014
+ * @param config The i18n configuration
2015
+ * @returns EnvironmentProviders to be used with bootstrapApplication or in a providers array
2016
+ */
2017
+ declare function provideNgccI18n(config: NgccI18nConfig): EnvironmentProviders;
2018
+
2019
+ /**
2020
+ * Injection token for providing i18n configuration.
2021
+ * Use with provideNgccI18n(config) to set up the i18n service.
2022
+ */
2023
+ declare const NGCC_I18N_CONFIG: InjectionToken<NgccI18nConfig>;
2024
+
2025
+ export { HttpNgccI18nLoader, NGCC_ACCORDION_ALIGN, NGCC_I18N_CONFIG, NgccAccordion, NgccAccordionItem, NgccButton, NgccCharts, NgccCheckbox, NgccColorThemeService, NgccColorThemeSwitcher, NgccDatePicker, NgccDatePickerCalendar, NgccDropdown, NgccGaugeChart, NgccI18nPipe, NgccI18nService, NgccIcon, NgccInput, NgccModal, NgccNotification, NgccNotificationContainer, NgccPagination, NgccSkeleton, NgccTab, NgccTabHeaders, NgccTable, NgccTableSearchDirective, NgccTableSearchService, NgccTableService, NgccTableSkeleton, NgccTableToolbar, NgccTabs, NgccTabsSkeleton, NgccTextAreaComponent, NgccToast, NgccToastContainer, 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 };
2026
+ export type { AccordionAlign, AccordionSize, CarbonThemeName, DropdownSize, NgccAccessibilityIssue, NgccAccessibleColorPair, NgccCalendarCell, NgccColorScale, NgccColorThemeConfig, NgccContrastResult, NgccDateFormat, NgccDerivedColorPalette, NgccDropdownItem, NgccHSL, NgccI18nConfig, NgccI18nLoader, NgccInputNumberSize, NgccInputSize, NgccInputType, NgccNotificationConfig, NgccRGB, NgccTableColumn, NgccTableConfig, NgccTextAreaSize, NgccThemeAccessibilityReport, NgccThemeMetadata, NgccToastConfig, NgccTokenValidationResult, NgccWCAGConfig, NotificationType, SortDirection, TextSize, ToastType, WCAGLevel };