flowbite-angular 0.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.
Files changed (51) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +376 -0
  3. package/esm2020/flowbite-angular.mjs +5 -0
  4. package/esm2020/index.mjs +5 -0
  5. package/esm2020/lib/components/badge/badge.component.mjs +77 -0
  6. package/esm2020/lib/components/badge/index.mjs +2 -0
  7. package/esm2020/lib/components/dark-theme-toggle/dark-theme-toggle.component.mjs +122 -0
  8. package/esm2020/lib/components/dark-theme-toggle/index.mjs +2 -0
  9. package/esm2020/lib/components/index.mjs +5 -0
  10. package/esm2020/lib/components/navbar/index.mjs +2 -0
  11. package/esm2020/lib/components/navbar/navbar.component.mjs +49 -0
  12. package/esm2020/lib/components/sidebar/index.mjs +4 -0
  13. package/esm2020/lib/components/sidebar/sidebar-item-group.component.mjs +18 -0
  14. package/esm2020/lib/components/sidebar/sidebar-item.component.mjs +73 -0
  15. package/esm2020/lib/components/sidebar/sidebar.component.mjs +50 -0
  16. package/esm2020/lib/flowbite.module.mjs +42 -0
  17. package/esm2020/lib/pipes/index.mjs +2 -0
  18. package/esm2020/lib/pipes/sanitize-html/index.mjs +2 -0
  19. package/esm2020/lib/pipes/sanitize-html/sanitize-html.pipe.mjs +21 -0
  20. package/esm2020/lib/services/index.mjs +3 -0
  21. package/esm2020/lib/services/sidebar/index.mjs +2 -0
  22. package/esm2020/lib/services/sidebar/sidebar.service.mjs +24 -0
  23. package/esm2020/lib/services/theme/index.mjs +2 -0
  24. package/esm2020/lib/services/theme/theme.service.mjs +24 -0
  25. package/fesm2015/flowbite-angular.mjs +472 -0
  26. package/fesm2015/flowbite-angular.mjs.map +1 -0
  27. package/fesm2020/flowbite-angular.mjs +471 -0
  28. package/fesm2020/flowbite-angular.mjs.map +1 -0
  29. package/flowbite-angular.d.ts +5 -0
  30. package/index.d.ts +4 -0
  31. package/lib/components/badge/badge.component.d.ts +13 -0
  32. package/lib/components/badge/index.d.ts +1 -0
  33. package/lib/components/dark-theme-toggle/dark-theme-toggle.component.d.ts +12 -0
  34. package/lib/components/dark-theme-toggle/index.d.ts +1 -0
  35. package/lib/components/index.d.ts +4 -0
  36. package/lib/components/navbar/index.d.ts +1 -0
  37. package/lib/components/navbar/navbar.component.d.ts +9 -0
  38. package/lib/components/sidebar/index.d.ts +3 -0
  39. package/lib/components/sidebar/sidebar-item-group.component.d.ts +5 -0
  40. package/lib/components/sidebar/sidebar-item.component.d.ts +11 -0
  41. package/lib/components/sidebar/sidebar.component.d.ts +10 -0
  42. package/lib/flowbite.module.d.ts +15 -0
  43. package/lib/pipes/index.d.ts +1 -0
  44. package/lib/pipes/sanitize-html/index.d.ts +1 -0
  45. package/lib/pipes/sanitize-html/sanitize-html.pipe.d.ts +10 -0
  46. package/lib/services/index.d.ts +2 -0
  47. package/lib/services/sidebar/index.d.ts +1 -0
  48. package/lib/services/sidebar/sidebar.service.d.ts +9 -0
  49. package/lib/services/theme/index.d.ts +1 -0
  50. package/lib/services/theme/theme.service.d.ts +10 -0
  51. package/package.json +59 -0
@@ -0,0 +1,471 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Input, Injectable, Pipe, NgModule } from '@angular/core';
3
+ import * as i3 from '@angular/router';
4
+ import { RouterModule } from '@angular/router';
5
+ import * as i2 from '@angular/common';
6
+ import { CommonModule } from '@angular/common';
7
+ import { BehaviorSubject } from 'rxjs';
8
+ import * as i1 from '@angular/platform-browser';
9
+
10
+ class BadgeComponent {
11
+ constructor() {
12
+ this.color = 'blue';
13
+ this.size = 'xs';
14
+ this.onlyIcon = false;
15
+ this.colorClasses = {
16
+ blue: 'bg-blue-100 text-blue-800 dark:bg-blue-200 dark:text-blue-800 group-hover:bg-blue-200 dark:group-hover:bg-blue-300',
17
+ dark: 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300 group-hover:bg-gray-200 dark:group-hover:bg-gray-600',
18
+ red: 'bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300',
19
+ green: 'bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300',
20
+ yellow: 'bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300',
21
+ indigo: 'bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900 group-hover:bg-indigo-200 dark:group-hover:bg-indigo-300',
22
+ purple: 'bg-purple-100 text-purple-800 dark:bg-purple-200 dark:text-purple-900 group-hover:bg-purple-200 dark:group-hover:bg-purple-300',
23
+ pink: 'bg-pink-100 text-pink-800 dark:bg-pink-200 dark:text-pink-900 group-hover:bg-pink-200 dark:group-hover:bg-pink-300',
24
+ };
25
+ this.sizeClasses = {
26
+ xs: 'text-xs',
27
+ sm: 'text-sm',
28
+ };
29
+ }
30
+ }
31
+ BadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
+ BadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: BadgeComponent, selector: "flowbite-badge", inputs: { color: "color", size: "size", href: "href", onlyIcon: "onlyIcon" }, ngImport: i0, template: `<span [class.group]="href">
33
+ <a
34
+ class="flex h-fit items-center gap-1 font-semibold"
35
+ [class.cursor-pointer]="href"
36
+ [ngClass]="[
37
+ colorClasses[color],
38
+ sizeClasses[size],
39
+ !onlyIcon
40
+ ? 'rounded px-2 py-0.5'
41
+ : size === 'xs'
42
+ ? 'rounded-full p-1'
43
+ : 'rounded-full p-1.5'
44
+ ]"
45
+ [routerLink]="href"
46
+ >
47
+ <ng-content></ng-content>
48
+ </a>
49
+ </span>`, isInline: true, directives: [{ type: i3.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: BadgeComponent, decorators: [{
51
+ type: Component,
52
+ args: [{
53
+ selector: 'flowbite-badge',
54
+ template: `<span [class.group]="href">
55
+ <a
56
+ class="flex h-fit items-center gap-1 font-semibold"
57
+ [class.cursor-pointer]="href"
58
+ [ngClass]="[
59
+ colorClasses[color],
60
+ sizeClasses[size],
61
+ !onlyIcon
62
+ ? 'rounded px-2 py-0.5'
63
+ : size === 'xs'
64
+ ? 'rounded-full p-1'
65
+ : 'rounded-full p-1.5'
66
+ ]"
67
+ [routerLink]="href"
68
+ >
69
+ <ng-content></ng-content>
70
+ </a>
71
+ </span>`,
72
+ }]
73
+ }], propDecorators: { color: [{
74
+ type: Input
75
+ }], size: [{
76
+ type: Input
77
+ }], href: [{
78
+ type: Input
79
+ }], onlyIcon: [{
80
+ type: Input
81
+ }] } });
82
+
83
+ class SidebarService {
84
+ constructor() {
85
+ this.$collapsed = new BehaviorSubject(false);
86
+ }
87
+ setCollapsed(collapsed) {
88
+ this.$collapsed.next(collapsed);
89
+ }
90
+ toggleCollapsed() {
91
+ const collapsed = this.$collapsed.getValue();
92
+ this.setCollapsed(!collapsed);
93
+ }
94
+ }
95
+ SidebarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
96
+ SidebarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarService, providedIn: 'root' });
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarService, decorators: [{
98
+ type: Injectable,
99
+ args: [{
100
+ providedIn: 'root',
101
+ }]
102
+ }] });
103
+
104
+ class ThemeService {
105
+ constructor() {
106
+ this.$theme = new BehaviorSubject('light');
107
+ }
108
+ setTheme(theme) {
109
+ this.$theme.next(theme);
110
+ }
111
+ toggleTheme() {
112
+ const theme = this.$theme.getValue();
113
+ this.setTheme(theme === 'dark' ? 'light' : 'dark');
114
+ }
115
+ }
116
+ ThemeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
117
+ ThemeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ThemeService, providedIn: 'root' });
118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ThemeService, decorators: [{
119
+ type: Injectable,
120
+ args: [{
121
+ providedIn: 'root',
122
+ }]
123
+ }] });
124
+
125
+ class DarkThemeToggleComponent {
126
+ constructor(themeService) {
127
+ this.themeService = themeService;
128
+ this.themeSubscription = undefined;
129
+ }
130
+ ngOnInit() {
131
+ if (localStorage.getItem('color-theme') === 'dark' ||
132
+ (!('color-theme' in localStorage) &&
133
+ 'matchMedia' in window &&
134
+ window.matchMedia('(prefers-color-scheme: dark)').matches)) {
135
+ this.themeService.setTheme('dark');
136
+ document.documentElement.classList.add('dark');
137
+ }
138
+ else {
139
+ this.themeService.setTheme('light');
140
+ document.documentElement.classList.remove('dark');
141
+ }
142
+ this.themeSubscription = this.themeService.$theme
143
+ .asObservable()
144
+ .subscribe((theme) => {
145
+ localStorage.setItem('color-theme', theme);
146
+ if (theme === 'dark') {
147
+ document.documentElement.classList.add('dark');
148
+ }
149
+ else {
150
+ document.documentElement.classList.remove('dark');
151
+ }
152
+ });
153
+ }
154
+ ngOnDestroy() {
155
+ this.themeSubscription?.unsubscribe();
156
+ }
157
+ }
158
+ DarkThemeToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: DarkThemeToggleComponent, deps: [{ token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
159
+ DarkThemeToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: DarkThemeToggleComponent, selector: "flowbite-dark-theme-toggle", ngImport: i0, template: ` <button
160
+ type="button"
161
+ class="rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700"
162
+ (click)="themeService.toggleTheme()"
163
+ >
164
+ <svg
165
+ *ngIf="themeService.$theme.getValue() === 'dark'"
166
+ stroke="currentColor"
167
+ fill="currentColor"
168
+ stroke-width="0"
169
+ viewBox="0 0 20 20"
170
+ class="h-5 w-5"
171
+ height="1em"
172
+ width="1em"
173
+ xmlns="http://www.w3.org/2000/svg"
174
+ >
175
+ <path
176
+ fill-rule="evenodd"
177
+ d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"
178
+ clip-rule="evenodd"
179
+ ></path>
180
+ </svg>
181
+ <svg
182
+ *ngIf="themeService.$theme.getValue() === 'light'"
183
+ stroke="currentColor"
184
+ fill="currentColor"
185
+ stroke-width="0"
186
+ viewBox="0 0 20 20"
187
+ class="h-5 w-5"
188
+ height="1em"
189
+ width="1em"
190
+ xmlns="http://www.w3.org/2000/svg"
191
+ >
192
+ <path
193
+ d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"
194
+ ></path>
195
+ </svg>
196
+ </button>`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: DarkThemeToggleComponent, decorators: [{
198
+ type: Component,
199
+ args: [{
200
+ selector: 'flowbite-dark-theme-toggle',
201
+ template: ` <button
202
+ type="button"
203
+ class="rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700"
204
+ (click)="themeService.toggleTheme()"
205
+ >
206
+ <svg
207
+ *ngIf="themeService.$theme.getValue() === 'dark'"
208
+ stroke="currentColor"
209
+ fill="currentColor"
210
+ stroke-width="0"
211
+ viewBox="0 0 20 20"
212
+ class="h-5 w-5"
213
+ height="1em"
214
+ width="1em"
215
+ xmlns="http://www.w3.org/2000/svg"
216
+ >
217
+ <path
218
+ fill-rule="evenodd"
219
+ d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"
220
+ clip-rule="evenodd"
221
+ ></path>
222
+ </svg>
223
+ <svg
224
+ *ngIf="themeService.$theme.getValue() === 'light'"
225
+ stroke="currentColor"
226
+ fill="currentColor"
227
+ stroke-width="0"
228
+ viewBox="0 0 20 20"
229
+ class="h-5 w-5"
230
+ height="1em"
231
+ width="1em"
232
+ xmlns="http://www.w3.org/2000/svg"
233
+ >
234
+ <path
235
+ d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"
236
+ ></path>
237
+ </svg>
238
+ </button>`,
239
+ }]
240
+ }], ctorParameters: function () { return [{ type: ThemeService }]; } });
241
+
242
+ class NavbarComponent {
243
+ constructor() {
244
+ this.extraClass = '';
245
+ this.rounded = false;
246
+ this.border = false;
247
+ this.fluid = false;
248
+ }
249
+ }
250
+ NavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: NavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
251
+ NavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: NavbarComponent, selector: "flowbite-navbar", inputs: { extraClass: "extraClass", rounded: "rounded", border: "border", fluid: "fluid" }, ngImport: i0, template: ` <nav
252
+ class="border-gray-200 bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4"
253
+ [ngClass]="[rounded ? 'rounded' : '', border ? 'border' : '', extraClass]"
254
+ >
255
+ <div
256
+ class="mx-auto flex flex-wrap items-center justify-between"
257
+ [ngClass]="{ container: !fluid }"
258
+ >
259
+ <ng-content></ng-content>
260
+ </div>
261
+ </nav>`, isInline: true, directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: NavbarComponent, decorators: [{
263
+ type: Component,
264
+ args: [{
265
+ selector: 'flowbite-navbar',
266
+ template: ` <nav
267
+ class="border-gray-200 bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4"
268
+ [ngClass]="[rounded ? 'rounded' : '', border ? 'border' : '', extraClass]"
269
+ >
270
+ <div
271
+ class="mx-auto flex flex-wrap items-center justify-between"
272
+ [ngClass]="{ container: !fluid }"
273
+ >
274
+ <ng-content></ng-content>
275
+ </div>
276
+ </nav>`,
277
+ }]
278
+ }], propDecorators: { extraClass: [{
279
+ type: Input
280
+ }], rounded: [{
281
+ type: Input
282
+ }], border: [{
283
+ type: Input
284
+ }], fluid: [{
285
+ type: Input
286
+ }] } });
287
+
288
+ class SidebarComponent {
289
+ constructor(sidebarService) {
290
+ this.sidebarService = sidebarService;
291
+ this.extraClass = '';
292
+ this.rounded = false;
293
+ }
294
+ }
295
+ SidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarComponent, deps: [{ token: SidebarService }], target: i0.ɵɵFactoryTarget.Component });
296
+ SidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: SidebarComponent, selector: "flowbite-sidebar", inputs: { extraClass: "extraClass", rounded: "rounded" }, ngImport: i0, template: `<aside
297
+ class="h-full"
298
+ [class.w-16]="sidebarService.$collapsed | async"
299
+ [class.w-64]="(sidebarService.$collapsed | async) === false"
300
+ >
301
+ <div
302
+ class="flex h-full flex-col space-y-4 divide-y divide-gray-200 overflow-y-auto bg-white py-4 px-3 dark:divide-gray-700 dark:border-gray-700 dark:bg-gray-800"
303
+ [class.rounded]="rounded"
304
+ [ngClass]="extraClass"
305
+ >
306
+ <ng-content></ng-content>
307
+ </div>
308
+ </aside>`, isInline: true, directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i2.AsyncPipe } });
309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarComponent, decorators: [{
310
+ type: Component,
311
+ args: [{
312
+ selector: 'flowbite-sidebar',
313
+ template: `<aside
314
+ class="h-full"
315
+ [class.w-16]="sidebarService.$collapsed | async"
316
+ [class.w-64]="(sidebarService.$collapsed | async) === false"
317
+ >
318
+ <div
319
+ class="flex h-full flex-col space-y-4 divide-y divide-gray-200 overflow-y-auto bg-white py-4 px-3 dark:divide-gray-700 dark:border-gray-700 dark:bg-gray-800"
320
+ [class.rounded]="rounded"
321
+ [ngClass]="extraClass"
322
+ >
323
+ <ng-content></ng-content>
324
+ </div>
325
+ </aside>`,
326
+ }]
327
+ }], ctorParameters: function () { return [{ type: SidebarService }]; }, propDecorators: { extraClass: [{
328
+ type: Input
329
+ }], rounded: [{
330
+ type: Input
331
+ }] } });
332
+
333
+ class SanitizeHtmlPipe {
334
+ constructor(_sanitizer) {
335
+ this._sanitizer = _sanitizer;
336
+ }
337
+ transform(v) {
338
+ return this._sanitizer.bypassSecurityTrustHtml(v);
339
+ }
340
+ }
341
+ SanitizeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SanitizeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
342
+ SanitizeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SanitizeHtmlPipe, name: "sanitizeHtml" });
343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SanitizeHtmlPipe, decorators: [{
344
+ type: Pipe,
345
+ args: [{
346
+ name: 'sanitizeHtml',
347
+ }]
348
+ }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
349
+
350
+ class SidebarItemComponent {
351
+ constructor(sidebarService) {
352
+ this.sidebarService = sidebarService;
353
+ }
354
+ }
355
+ SidebarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarItemComponent, deps: [{ token: SidebarService }], target: i0.ɵɵFactoryTarget.Component });
356
+ SidebarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: SidebarItemComponent, selector: "flowbite-sidebar-item", inputs: { icon: "icon", link: "link", label: "label" }, ngImport: i0, template: `<a
357
+ class="group flex cursor-pointer items-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-gray-200 dark:text-white dark:hover:bg-gray-700"
358
+ [routerLink]="link"
359
+ routerLinkActive="bg-gray-200 dark:bg-gray-700"
360
+ [routerLinkActiveOptions]="{ exact: true }"
361
+ >
362
+ <span
363
+ class="flex-shrink-0"
364
+ [innerHTML]="icon! | sanitizeHtml"
365
+ *ngIf="!!icon"
366
+ ></span>
367
+ <span
368
+ class="flex-1 whitespace-nowrap"
369
+ [class.ml-3]="!!icon"
370
+ *ngIf="(sidebarService.$collapsed | async) === false"
371
+ >
372
+ <ng-content></ng-content>
373
+ </span>
374
+ <flowbite-badge
375
+ *ngIf="(sidebarService.$collapsed | async) === false && label"
376
+ >{{ label }}</flowbite-badge
377
+ >
378
+ </a>`, isInline: true, components: [{ type: BadgeComponent, selector: "flowbite-badge", inputs: ["color", "size", "href", "onlyIcon"] }], directives: [{ type: i3.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "sanitizeHtml": SanitizeHtmlPipe, "async": i2.AsyncPipe } });
379
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarItemComponent, decorators: [{
380
+ type: Component,
381
+ args: [{
382
+ selector: 'flowbite-sidebar-item',
383
+ template: `<a
384
+ class="group flex cursor-pointer items-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-gray-200 dark:text-white dark:hover:bg-gray-700"
385
+ [routerLink]="link"
386
+ routerLinkActive="bg-gray-200 dark:bg-gray-700"
387
+ [routerLinkActiveOptions]="{ exact: true }"
388
+ >
389
+ <span
390
+ class="flex-shrink-0"
391
+ [innerHTML]="icon! | sanitizeHtml"
392
+ *ngIf="!!icon"
393
+ ></span>
394
+ <span
395
+ class="flex-1 whitespace-nowrap"
396
+ [class.ml-3]="!!icon"
397
+ *ngIf="(sidebarService.$collapsed | async) === false"
398
+ >
399
+ <ng-content></ng-content>
400
+ </span>
401
+ <flowbite-badge
402
+ *ngIf="(sidebarService.$collapsed | async) === false && label"
403
+ >{{ label }}</flowbite-badge
404
+ >
405
+ </a>`,
406
+ }]
407
+ }], ctorParameters: function () { return [{ type: SidebarService }]; }, propDecorators: { icon: [{
408
+ type: Input
409
+ }], link: [{
410
+ type: Input
411
+ }], label: [{
412
+ type: Input
413
+ }] } });
414
+
415
+ class SidebarItemGroupComponent {
416
+ }
417
+ SidebarItemGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarItemGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
418
+ SidebarItemGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: SidebarItemGroupComponent, selector: "flowbite-sidebar-item-group", ngImport: i0, template: ` <div class="flex flex-col space-y-2">
419
+ <ng-content></ng-content>
420
+ </div>`, isInline: true });
421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarItemGroupComponent, decorators: [{
422
+ type: Component,
423
+ args: [{
424
+ selector: 'flowbite-sidebar-item-group',
425
+ template: ` <div class="flex flex-col space-y-2">
426
+ <ng-content></ng-content>
427
+ </div>`,
428
+ }]
429
+ }] });
430
+
431
+ const COMPONENTS = [
432
+ BadgeComponent,
433
+ DarkThemeToggleComponent,
434
+ NavbarComponent,
435
+ SidebarComponent,
436
+ SidebarItemComponent,
437
+ SidebarItemGroupComponent,
438
+ ];
439
+ const SERVICES = [SidebarService, ThemeService];
440
+ const PIPES = [SanitizeHtmlPipe];
441
+ class FlowbiteModule {
442
+ }
443
+ FlowbiteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: FlowbiteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
444
+ FlowbiteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: FlowbiteModule, declarations: [BadgeComponent,
445
+ DarkThemeToggleComponent,
446
+ NavbarComponent,
447
+ SidebarComponent,
448
+ SidebarItemComponent,
449
+ SidebarItemGroupComponent, SanitizeHtmlPipe], imports: [CommonModule, RouterModule], exports: [BadgeComponent,
450
+ DarkThemeToggleComponent,
451
+ NavbarComponent,
452
+ SidebarComponent,
453
+ SidebarItemComponent,
454
+ SidebarItemGroupComponent, SanitizeHtmlPipe] });
455
+ FlowbiteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: FlowbiteModule, providers: [SERVICES, PIPES], imports: [[CommonModule, RouterModule]] });
456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: FlowbiteModule, decorators: [{
457
+ type: NgModule,
458
+ args: [{
459
+ imports: [CommonModule, RouterModule],
460
+ declarations: [COMPONENTS, SanitizeHtmlPipe],
461
+ exports: [COMPONENTS, SanitizeHtmlPipe],
462
+ providers: [SERVICES, PIPES],
463
+ }]
464
+ }] });
465
+
466
+ /**
467
+ * Generated bundle index. Do not edit.
468
+ */
469
+
470
+ export { BadgeComponent, DarkThemeToggleComponent, FlowbiteModule, NavbarComponent, SanitizeHtmlPipe, SidebarComponent, SidebarItemComponent, SidebarItemGroupComponent, SidebarService, ThemeService };
471
+ //# sourceMappingURL=flowbite-angular.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flowbite-angular.mjs","sources":["../../../../libs/flowbite-angular/src/lib/components/badge/badge.component.ts","../../../../libs/flowbite-angular/src/lib/services/sidebar/sidebar.service.ts","../../../../libs/flowbite-angular/src/lib/services/theme/theme.service.ts","../../../../libs/flowbite-angular/src/lib/components/dark-theme-toggle/dark-theme-toggle.component.ts","../../../../libs/flowbite-angular/src/lib/components/navbar/navbar.component.ts","../../../../libs/flowbite-angular/src/lib/components/sidebar/sidebar.component.ts","../../../../libs/flowbite-angular/src/lib/pipes/sanitize-html/sanitize-html.pipe.ts","../../../../libs/flowbite-angular/src/lib/components/sidebar/sidebar-item.component.ts","../../../../libs/flowbite-angular/src/lib/components/sidebar/sidebar-item-group.component.ts","../../../../libs/flowbite-angular/src/lib/flowbite.module.ts","../../../../libs/flowbite-angular/src/flowbite-angular.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\nexport type BadgeColor =\n | 'blue'\n | 'dark'\n | 'red'\n | 'green'\n | 'yellow'\n | 'indigo'\n | 'purple'\n | 'pink';\n\nexport type BadgeSize = 'xs' | 'sm';\n\n@Component({\n selector: 'flowbite-badge',\n template: `<span [class.group]=\"href\">\n <a\n class=\"flex h-fit items-center gap-1 font-semibold\"\n [class.cursor-pointer]=\"href\"\n [ngClass]=\"[\n colorClasses[color],\n sizeClasses[size],\n !onlyIcon\n ? 'rounded px-2 py-0.5'\n : size === 'xs'\n ? 'rounded-full p-1'\n : 'rounded-full p-1.5'\n ]\"\n [routerLink]=\"href\"\n >\n <ng-content></ng-content>\n </a>\n </span>`,\n})\nexport class BadgeComponent {\n @Input() color: BadgeColor = 'blue';\n @Input() size: BadgeSize = 'xs';\n @Input() href?: string;\n @Input() onlyIcon = false;\n\n colorClasses: Record<BadgeColor, string> = {\n blue: 'bg-blue-100 text-blue-800 dark:bg-blue-200 dark:text-blue-800 group-hover:bg-blue-200 dark:group-hover:bg-blue-300',\n dark: 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300 group-hover:bg-gray-200 dark:group-hover:bg-gray-600',\n red: 'bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300',\n green:\n 'bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300',\n yellow:\n 'bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300',\n indigo:\n 'bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900 group-hover:bg-indigo-200 dark:group-hover:bg-indigo-300',\n purple:\n 'bg-purple-100 text-purple-800 dark:bg-purple-200 dark:text-purple-900 group-hover:bg-purple-200 dark:group-hover:bg-purple-300',\n pink: 'bg-pink-100 text-pink-800 dark:bg-pink-200 dark:text-pink-900 group-hover:bg-pink-200 dark:group-hover:bg-pink-300',\n };\n\n sizeClasses: Record<BadgeSize, string> = {\n xs: 'text-xs',\n sm: 'text-sm',\n };\n}\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class SidebarService {\n $collapsed = new BehaviorSubject<boolean>(false);\n\n setCollapsed(collapsed: boolean) {\n this.$collapsed.next(collapsed);\n }\n\n toggleCollapsed() {\n const collapsed = this.$collapsed.getValue();\n this.setCollapsed(!collapsed);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\n\nexport type Theme = 'dark' | 'light';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ThemeService {\n $theme = new BehaviorSubject<Theme>('light');\n\n setTheme(theme: Theme) {\n this.$theme.next(theme);\n }\n\n toggleTheme() {\n const theme = this.$theme.getValue();\n this.setTheme(theme === 'dark' ? 'light' : 'dark');\n }\n}\n","import { Component, OnDestroy, OnInit } from '@angular/core';\n\nimport { ThemeService } from '../../services';\nimport { Subscription } from 'rxjs';\n\n@Component({\n selector: 'flowbite-dark-theme-toggle',\n template: ` <button\n type=\"button\"\n class=\"rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700\"\n (click)=\"themeService.toggleTheme()\"\n >\n <svg\n *ngIf=\"themeService.$theme.getValue() === 'dark'\"\n stroke=\"currentColor\"\n fill=\"currentColor\"\n stroke-width=\"0\"\n viewBox=\"0 0 20 20\"\n class=\"h-5 w-5\"\n height=\"1em\"\n width=\"1em\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n d=\"M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z\"\n clip-rule=\"evenodd\"\n ></path>\n </svg>\n <svg\n *ngIf=\"themeService.$theme.getValue() === 'light'\"\n stroke=\"currentColor\"\n fill=\"currentColor\"\n stroke-width=\"0\"\n viewBox=\"0 0 20 20\"\n class=\"h-5 w-5\"\n height=\"1em\"\n width=\"1em\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z\"\n ></path>\n </svg>\n </button>`,\n})\nexport class DarkThemeToggleComponent implements OnInit, OnDestroy {\n private themeSubscription: Subscription | undefined = undefined;\n\n constructor(public readonly themeService: ThemeService) {}\n\n ngOnInit(): void {\n if (\n localStorage.getItem('color-theme') === 'dark' ||\n (!('color-theme' in localStorage) &&\n 'matchMedia' in window &&\n window.matchMedia('(prefers-color-scheme: dark)').matches)\n ) {\n this.themeService.setTheme('dark');\n document.documentElement.classList.add('dark');\n } else {\n this.themeService.setTheme('light');\n document.documentElement.classList.remove('dark');\n }\n\n this.themeSubscription = this.themeService.$theme\n .asObservable()\n .subscribe((theme) => {\n localStorage.setItem('color-theme', theme);\n if (theme === 'dark') {\n document.documentElement.classList.add('dark');\n } else {\n document.documentElement.classList.remove('dark');\n }\n });\n }\n\n ngOnDestroy(): void {\n this.themeSubscription?.unsubscribe();\n }\n}\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'flowbite-navbar',\n template: ` <nav\n class=\"border-gray-200 bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4\"\n [ngClass]=\"[rounded ? 'rounded' : '', border ? 'border' : '', extraClass]\"\n >\n <div\n class=\"mx-auto flex flex-wrap items-center justify-between\"\n [ngClass]=\"{ container: !fluid }\"\n >\n <ng-content></ng-content>\n </div>\n </nav>`,\n})\nexport class NavbarComponent {\n @Input() extraClass = '';\n @Input() rounded = false;\n @Input() border = false;\n @Input() fluid = false;\n}\n","import { Component, Input } from '@angular/core';\nimport { SidebarService } from '../../services';\n\n@Component({\n selector: 'flowbite-sidebar',\n template: `<aside\n class=\"h-full\"\n [class.w-16]=\"sidebarService.$collapsed | async\"\n [class.w-64]=\"(sidebarService.$collapsed | async) === false\"\n >\n <div\n class=\"flex h-full flex-col space-y-4 divide-y divide-gray-200 overflow-y-auto bg-white py-4 px-3 dark:divide-gray-700 dark:border-gray-700 dark:bg-gray-800\"\n [class.rounded]=\"rounded\"\n [ngClass]=\"extraClass\"\n >\n <ng-content></ng-content>\n </div>\n </aside>`,\n})\nexport class SidebarComponent {\n @Input() extraClass = '';\n @Input() rounded = false;\n\n constructor(public readonly sidebarService: SidebarService) {}\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Pipe({\n name: 'sanitizeHtml',\n})\nexport class SanitizeHtmlPipe implements PipeTransform {\n constructor(private _sanitizer: DomSanitizer) {}\n\n transform(v: string): SafeHtml {\n return this._sanitizer.bypassSecurityTrustHtml(v);\n }\n}\n","import { Component, Input } from '@angular/core';\nimport { SidebarService } from '../../services';\n\n@Component({\n selector: 'flowbite-sidebar-item',\n template: `<a\n class=\"group flex cursor-pointer items-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-gray-200 dark:text-white dark:hover:bg-gray-700\"\n [routerLink]=\"link\"\n routerLinkActive=\"bg-gray-200 dark:bg-gray-700\"\n [routerLinkActiveOptions]=\"{ exact: true }\"\n >\n <span\n class=\"flex-shrink-0\"\n [innerHTML]=\"icon! | sanitizeHtml\"\n *ngIf=\"!!icon\"\n ></span>\n <span\n class=\"flex-1 whitespace-nowrap\"\n [class.ml-3]=\"!!icon\"\n *ngIf=\"(sidebarService.$collapsed | async) === false\"\n >\n <ng-content></ng-content>\n </span>\n <flowbite-badge\n *ngIf=\"(sidebarService.$collapsed | async) === false && label\"\n >{{ label }}</flowbite-badge\n >\n </a>`,\n})\nexport class SidebarItemComponent {\n @Input() icon?: string;\n @Input() link?: string;\n @Input() label?: string;\n\n constructor(public readonly sidebarService: SidebarService) {}\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'flowbite-sidebar-item-group',\n template: ` <div class=\"flex flex-col space-y-2\">\n <ng-content></ng-content>\n </div>`,\n})\nexport class SidebarItemGroupComponent {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\n\nimport {\n BadgeComponent,\n DarkThemeToggleComponent,\n NavbarComponent,\n SidebarComponent,\n SidebarItemComponent,\n SidebarItemGroupComponent,\n} from './components';\nimport { SidebarService, ThemeService } from './services';\nimport { SanitizeHtmlPipe } from './pipes';\n\nconst COMPONENTS = [\n BadgeComponent,\n DarkThemeToggleComponent,\n NavbarComponent,\n SidebarComponent,\n SidebarItemComponent,\n SidebarItemGroupComponent,\n];\n\nconst SERVICES = [SidebarService, ThemeService];\n\nconst PIPES = [SanitizeHtmlPipe];\n\n@NgModule({\n imports: [CommonModule, RouterModule],\n declarations: [COMPONENTS, SanitizeHtmlPipe],\n exports: [COMPONENTS, SanitizeHtmlPipe],\n providers: [SERVICES, PIPES],\n})\nexport class FlowbiteModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i1.ThemeService","i1.SidebarService","i2.BadgeComponent","i4","i5.SanitizeHtmlPipe"],"mappings":";;;;;;;;;MAmCa,cAAc,CAAA;AArB3B,IAAA,WAAA,GAAA;QAsBW,IAAK,CAAA,KAAA,GAAe,MAAM,CAAC;QAC3B,IAAI,CAAA,IAAA,GAAc,IAAI,CAAC;QAEvB,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;AAE1B,QAAA,IAAA,CAAA,YAAY,GAA+B;AACzC,YAAA,IAAI,EAAE,oHAAoH;AAC1H,YAAA,IAAI,EAAE,oHAAoH;AAC1H,YAAA,GAAG,EAAE,8GAA8G;AACnH,YAAA,KAAK,EACH,0HAA0H;AAC5H,YAAA,MAAM,EACJ,gIAAgI;AAClI,YAAA,MAAM,EACJ,gIAAgI;AAClI,YAAA,MAAM,EACJ,gIAAgI;AAClI,YAAA,IAAI,EAAE,oHAAoH;SAC3H,CAAC;AAEF,QAAA,IAAA,CAAA,WAAW,GAA8B;AAC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,wBAAwB;QACxB,eAAe;QACf,gBAAgB;QAChB,oBAAoB;AACpB,QAAA,yBAAyB,EAUH,gBAAgB,CAAA,EAAA,CAAA,CAAA;4GAG3B,cAAc,EAAA,SAAA,EAFd,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAA,OAAA,EAAA,CAHnB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA,EAAA,CAAA,CAAA;2FAK1B,cAAc,EAAA,UAAA,EAAA,CAAA;kBAN1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;AACrC,oBAAA,YAAY,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC;AAC5C,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC;AACvC,oBAAA,SAAS,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC;AAC7B,iBAAA,CAAA;;;ACjCD;;AAEG;;;;"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="flowbite-angular" />
5
+ export * from './index';
package/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export * from './lib/components';
2
+ export * from './lib/pipes';
3
+ export * from './lib/services';
4
+ export * from './lib/flowbite.module';
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare type BadgeColor = 'blue' | 'dark' | 'red' | 'green' | 'yellow' | 'indigo' | 'purple' | 'pink';
3
+ export declare type BadgeSize = 'xs' | 'sm';
4
+ export declare class BadgeComponent {
5
+ color: BadgeColor;
6
+ size: BadgeSize;
7
+ href?: string;
8
+ onlyIcon: boolean;
9
+ colorClasses: Record<BadgeColor, string>;
10
+ sizeClasses: Record<BadgeSize, string>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "flowbite-badge", never, { "color": "color"; "size": "size"; "href": "href"; "onlyIcon": "onlyIcon"; }, {}, never, ["*"]>;
13
+ }
@@ -0,0 +1 @@
1
+ export * from './badge.component';
@@ -0,0 +1,12 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ThemeService } from '../../services';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DarkThemeToggleComponent implements OnInit, OnDestroy {
5
+ readonly themeService: ThemeService;
6
+ private themeSubscription;
7
+ constructor(themeService: ThemeService);
8
+ ngOnInit(): void;
9
+ ngOnDestroy(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DarkThemeToggleComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DarkThemeToggleComponent, "flowbite-dark-theme-toggle", never, {}, {}, never, never>;
12
+ }
@@ -0,0 +1 @@
1
+ export * from './dark-theme-toggle.component';
@@ -0,0 +1,4 @@
1
+ export * from './badge';
2
+ export * from './dark-theme-toggle';
3
+ export * from './navbar';
4
+ export * from './sidebar';
@@ -0,0 +1 @@
1
+ export * from './navbar.component';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NavbarComponent {
3
+ extraClass: string;
4
+ rounded: boolean;
5
+ border: boolean;
6
+ fluid: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "flowbite-navbar", never, { "extraClass": "extraClass"; "rounded": "rounded"; "border": "border"; "fluid": "fluid"; }, {}, never, ["*"]>;
9
+ }
@@ -0,0 +1,3 @@
1
+ export * from './sidebar.component';
2
+ export * from './sidebar-item.component';
3
+ export * from './sidebar-item-group.component';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SidebarItemGroupComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarItemGroupComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarItemGroupComponent, "flowbite-sidebar-item-group", never, {}, {}, never, ["*"]>;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { SidebarService } from '../../services';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SidebarItemComponent {
4
+ readonly sidebarService: SidebarService;
5
+ icon?: string;
6
+ link?: string;
7
+ label?: string;
8
+ constructor(sidebarService: SidebarService);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarItemComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarItemComponent, "flowbite-sidebar-item", never, { "icon": "icon"; "link": "link"; "label": "label"; }, {}, never, ["*"]>;
11
+ }
@@ -0,0 +1,10 @@
1
+ import { SidebarService } from '../../services';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SidebarComponent {
4
+ readonly sidebarService: SidebarService;
5
+ extraClass: string;
6
+ rounded: boolean;
7
+ constructor(sidebarService: SidebarService);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "flowbite-sidebar", never, { "extraClass": "extraClass"; "rounded": "rounded"; }, {}, never, ["*"]>;
10
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/badge/badge.component";
3
+ import * as i2 from "./components/dark-theme-toggle/dark-theme-toggle.component";
4
+ import * as i3 from "./components/navbar/navbar.component";
5
+ import * as i4 from "./components/sidebar/sidebar.component";
6
+ import * as i5 from "./components/sidebar/sidebar-item.component";
7
+ import * as i6 from "./components/sidebar/sidebar-item-group.component";
8
+ import * as i7 from "./pipes/sanitize-html/sanitize-html.pipe";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@angular/router";
11
+ export declare class FlowbiteModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowbiteModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowbiteModule, [typeof i1.BadgeComponent, typeof i2.DarkThemeToggleComponent, typeof i3.NavbarComponent, typeof i4.SidebarComponent, typeof i5.SidebarItemComponent, typeof i6.SidebarItemGroupComponent, typeof i7.SanitizeHtmlPipe], [typeof i8.CommonModule, typeof i9.RouterModule], [typeof i1.BadgeComponent, typeof i2.DarkThemeToggleComponent, typeof i3.NavbarComponent, typeof i4.SidebarComponent, typeof i5.SidebarItemComponent, typeof i6.SidebarItemGroupComponent, typeof i7.SanitizeHtmlPipe]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlowbiteModule>;
15
+ }
@@ -0,0 +1 @@
1
+ export * from './sanitize-html';