c3-components 0.14.1 → 0.14.2

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 (65) hide show
  1. package/fesm2022/c3-components.mjs +480 -530
  2. package/fesm2022/c3-components.mjs.map +1 -1
  3. package/index.d.ts +862 -3
  4. package/package.json +1 -1
  5. package/lib/c3-auto-animate/c3-auto-animate.directive.d.ts +0 -11
  6. package/lib/c3-dialog/c3-dialog.module.d.ts +0 -20
  7. package/lib/c3-dialog/components/c3-dialog-alert.component.d.ts +0 -15
  8. package/lib/c3-dialog/components/c3-dialog-confirm.component.d.ts +0 -23
  9. package/lib/c3-dialog/components/c3-dialog-embed-child.component.d.ts +0 -60
  10. package/lib/c3-dialog/components/c3-dialog-prompt.component.d.ts +0 -31
  11. package/lib/c3-dialog/components/c3-dialog-template/c3-dialog-template.component.d.ts +0 -9
  12. package/lib/c3-dialog/directives/c3-open-dialog.directive.d.ts +0 -11
  13. package/lib/c3-dialog/services/c3-dialog.service.d.ts +0 -82
  14. package/lib/c3-dropdown/c3-dropdown.module.d.ts +0 -10
  15. package/lib/c3-dropdown/components/c3-dropdown.component.d.ts +0 -13
  16. package/lib/c3-dropdown/directives/c3-dropdown.trigger.d.ts +0 -41
  17. package/lib/c3-expansion/c3-expansion.module.d.ts +0 -14
  18. package/lib/c3-expansion/components/c3-expansion/c3-expansion.component.d.ts +0 -17
  19. package/lib/c3-expansion/components/c3-expansion-header/c3-expansion-header.component.d.ts +0 -9
  20. package/lib/c3-file-displayer/c3-file-display-card/c3-file-display-card.component.d.ts +0 -20
  21. package/lib/c3-file-displayer/c3-file-display-grid/c3-file-display-grid.component.d.ts +0 -24
  22. package/lib/c3-file-displayer/c3-file-display-icon/c3-file-display-icon.component.d.ts +0 -8
  23. package/lib/c3-file-displayer/c3-file-display-list/c3-file-display-list-column-def.directive.d.ts +0 -21
  24. package/lib/c3-file-displayer/c3-file-display-list/c3-file-display-list.component.d.ts +0 -27
  25. package/lib/c3-file-displayer/c3-file-display-list/tokens.d.ts +0 -2
  26. package/lib/c3-file-displayer/c3-file-displayer.module.d.ts +0 -12
  27. package/lib/c3-file-viewer/c3-file-viewer.module.d.ts +0 -20
  28. package/lib/c3-file-viewer/components/c3-file-viewer-actions/c3-file-viewer-actions.component.d.ts +0 -8
  29. package/lib/c3-file-viewer/components/c3-file-viewer-default/c3-file-viewer-default.component.d.ts +0 -7
  30. package/lib/c3-file-viewer/components/c3-file-viewer-image/c3-file-viewer-image.component.d.ts +0 -9
  31. package/lib/c3-file-viewer/components/c3-file-viewer-pdf/c3-file-viewer-pdf.component.d.ts +0 -9
  32. package/lib/c3-file-viewer/components/c3-file-viewer-video/c3-file-viewer-video.component.d.ts +0 -7
  33. package/lib/c3-file-viewer/components/public/c3-file-viewer/c3-file-viewer.component.d.ts +0 -25
  34. package/lib/c3-file-viewer/components/public/c3-file-viewer-dialog/c3-file-viewer-dialog.component.d.ts +0 -12
  35. package/lib/c3-file-viewer/components/public/c3-file-viewer-dialog/c3-file-viewer-dialog.d.ts +0 -8
  36. package/lib/c3-file-viewer/consts/default.config.d.ts +0 -2
  37. package/lib/c3-file-viewer/consts/supported-type.d.ts +0 -2
  38. package/lib/c3-file-viewer/directives/full-screen.directive.d.ts +0 -12
  39. package/lib/c3-file-viewer/models/custom-file-event.model.d.ts +0 -5
  40. package/lib/c3-file-viewer/models/file-metadata.d.ts +0 -19
  41. package/lib/c3-file-viewer/models/file-viewer-config.model.d.ts +0 -50
  42. package/lib/c3-file-viewer/models/file-viewer.d.ts +0 -73
  43. package/lib/c3-file-viewer/models/http.client.d.ts +0 -14
  44. package/lib/c3-flowing-menu/c3-flowing-menu.module.d.ts +0 -10
  45. package/lib/c3-flowing-menu/components/c3-flowing-menu/c3-flowing-menu.component.d.ts +0 -12
  46. package/lib/c3-flowing-menu/components/c3-flowing-menu-item/c3-flowing-menu-item.component.d.ts +0 -9
  47. package/lib/c3-flowing-menu/components/c3-flowing-menu-item-content/c3-flowing-menu-item-content.component.d.ts +0 -5
  48. package/lib/c3-menu/c3-menu.module.d.ts +0 -11
  49. package/lib/c3-menu/components/c3-menu/c3-menu.component.d.ts +0 -7
  50. package/lib/c3-menu/components/c3-nav-item/c3-nav-item.component.d.ts +0 -14
  51. package/lib/c3-menu/services/c3-menu.service.d.ts +0 -14
  52. package/lib/c3-prevent-event/c3-prevent-click-event.directive.d.ts +0 -13
  53. package/lib/c3-prevent-event/c3-prevent-keyboard-event.directive.d.ts +0 -17
  54. package/lib/c3-prevent-event/c3-stop-click-propagation.directive.d.ts +0 -6
  55. package/lib/c3-prevent-event/index.d.ts +0 -3
  56. package/lib/c3-safe-url/pipes/c3-safe-url.pipe.d.ts +0 -10
  57. package/lib/c3-select-on-focus/c3-select-on-focus.directive.d.ts +0 -6
  58. package/lib/c3-trace-card/c3-trace-card.module.d.ts +0 -12
  59. package/lib/c3-trace-card/components/c3-trace-card/c3-trace-card.component.d.ts +0 -8
  60. package/lib/c3-trace-card/components/c3-trace-card-content/c3-trace-card-content.component.d.ts +0 -5
  61. package/lib/c3-trace-card/components/c3-trace-card-title/c3-trace-card-title.component.d.ts +0 -5
  62. package/lib/c3-trace-card/directives/align-left.directive.d.ts +0 -7
  63. package/lib/c3-trace-card/directives/align-right.directive.d.ts +0 -7
  64. package/lib/c3-tree/c3-tree.component.d.ts +0 -28
  65. package/public-api.d.ts +0 -91
package/index.d.ts CHANGED
@@ -1,5 +1,864 @@
1
+ import { HttpHeaders, HttpContext, HttpParams, HttpClient } from '@angular/common/http';
2
+ import * as i0 from '@angular/core';
3
+ import { TemplateRef, OnDestroy, ElementRef, ViewContainerRef, AfterViewInit, Signal, ComponentRef, ChangeDetectorRef, OnInit, SimpleChanges, PipeTransform, InjectionToken } from '@angular/core';
4
+ import * as i4 from '@angular/cdk/overlay';
5
+ import { Overlay } from '@angular/cdk/overlay';
6
+ import * as i3 from '@angular/common';
7
+ import * as i10 from '@angular/material/dialog';
8
+ import { MatDialogRef, MatDialogContainer, MatDialogState, MatDialogConfig, MatDialog } from '@angular/material/dialog';
9
+ import * as i8 from '@angular/forms';
10
+ import { ValidatorFn, FormControl, FormBuilder } from '@angular/forms';
11
+ import { ComponentType } from '@angular/cdk/portal';
12
+ import { Observable, BehaviorSubject } from 'rxjs';
13
+ import * as i5 from '@angular/material/button';
14
+ import * as i11 from '@angular/material/form-field';
15
+ import * as i12 from '@angular/material/icon';
16
+ import * as i13 from '@angular/material/input';
17
+ import * as i14 from '@angular/material/toolbar';
18
+ import * as c3_components from 'c3-components';
19
+ import * as _angular_platform_browser from '@angular/platform-browser';
20
+ import { DomSanitizer } from '@angular/platform-browser';
21
+ import { AutoAnimationPlugin, AutoAnimateOptions } from '@formkit/auto-animate';
22
+ import * as i7 from '@angular/material/tooltip';
23
+ import { FlatTreeControl } from '@angular/cdk/tree';
24
+ import { MatTreeFlattener, MatTreeFlatDataSource } from '@angular/material/tree';
25
+ import * as i4$1 from '@angular/router';
26
+ import * as i5$1 from '@angular/material/core';
27
+
28
+ interface HttpClientOptions {
29
+ headers?: HttpHeaders | {
30
+ [header: string]: string | string[];
31
+ };
32
+ context?: HttpContext;
33
+ observe?: 'body';
34
+ params?: HttpParams | {
35
+ [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
36
+ };
37
+ reportProgress?: boolean;
38
+ responseType: 'blob';
39
+ withCredentials?: boolean;
40
+ }
41
+
42
+ declare class C3DropdownComponent {
43
+ readonly panelClass: i0.InputSignal<string | string[] | Set<string> | {
44
+ [key: string]: any;
45
+ } | undefined>;
46
+ readonly isOpen: i0.WritableSignal<boolean>;
47
+ readonly template: i0.Signal<TemplateRef<any>>;
48
+ private readonly _changeDetectorRef;
49
+ constructor();
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3DropdownComponent, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3DropdownComponent, "c3-dropdown", never, { "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
52
+ }
53
+
54
+ declare const MAT_DROPDOWN_VALUE_ACCESSOR: any;
1
55
  /**
2
- * Generated bundle index. Do not edit.
56
+ * @description The C3DropdownTrigger directive is used to display or hide a dropdown menu
57
+ * C3DropdownComponent when an item is clicked.
58
+ * @selector [c3Dropdown]
59
+ * @exportAs c3DropdownTrigger
60
+ * @input c3Dropdown - A reference to an instance of C3DropdownComponent.
61
+ * @input c3DropdownDisabled - A boolean indicating whether the directive should be disabled.
62
+ * @input c3DropdownClass - A string, an array of strings, a set of strings or a
63
+ * object representing the CSS classes to be applied to the dropdown menu.
3
64
  */
4
- /// <amd-module name="c3-components" />
5
- export * from './public-api';
65
+ declare class C3DropdownTrigger implements OnDestroy {
66
+ private _element;
67
+ private _overlay;
68
+ private _viewContainerRef;
69
+ private overlayRef?;
70
+ private _closingActionsSubscription;
71
+ private _destroyed;
72
+ /** The dropdown menu instance */
73
+ readonly dropdown: i0.ModelSignal<C3DropdownComponent>;
74
+ /** Whether the dropdown is disabled. */
75
+ readonly dropdownDisabled: i0.InputSignal<boolean>;
76
+ /** Classes to be passed to the dropdown menu. Supports the same syntax as `ngClass`. */
77
+ readonly dropdownClass: i0.InputSignal<string | string[] | Set<string> | {
78
+ [key: string]: any;
79
+ }>;
80
+ constructor(_element: ElementRef<HTMLElement>, _overlay: Overlay, _viewContainerRef: ViewContainerRef);
81
+ onClick(): void;
82
+ ngOnDestroy(): void;
83
+ show(): void;
84
+ close(): void;
85
+ private _getOverlayConfig;
86
+ /** Returns a stream that emits whenever an action that should close the menu occurs. */
87
+ private _menuClosingActions;
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3DropdownTrigger, never>;
89
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3DropdownTrigger, "[c3DropdownTrigger]", never, { "dropdown": { "alias": "c3DropdownTrigger"; "required": true; "isSignal": true; }; "dropdownDisabled": { "alias": "dropdownDisabled"; "required": false; "isSignal": true; }; "dropdownClass": { "alias": "dropdownClass"; "required": false; "isSignal": true; }; }, { "dropdown": "c3DropdownTriggerChange"; }, never, never, false, never>;
90
+ }
91
+
92
+ declare class C3DropdownModule {
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3DropdownModule, never>;
94
+ static ɵmod: i0.ɵɵNgModuleDeclaration<C3DropdownModule, [typeof C3DropdownComponent, typeof C3DropdownTrigger], [typeof i3.CommonModule, typeof i4.OverlayModule], [typeof C3DropdownComponent, typeof C3DropdownTrigger]>;
95
+ static ɵinj: i0.ɵɵInjectorDeclaration<C3DropdownModule>;
96
+ }
97
+
98
+ interface AlertConfig {
99
+ text: string;
100
+ width?: string;
101
+ acceptText?: string;
102
+ }
103
+ declare class C3AlertDialogComponent {
104
+ dialogRef: MatDialogRef<C3AlertDialogComponent>;
105
+ data: AlertConfig;
106
+ constructor(dialogRef: MatDialogRef<C3AlertDialogComponent>, data: AlertConfig);
107
+ onNoClick(): void;
108
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3AlertDialogComponent, never>;
109
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3AlertDialogComponent, "AlertDialogComponent", never, {}, {}, never, never, false, never>;
110
+ }
111
+
112
+ interface ConfirmConfig {
113
+ text: string;
114
+ placeholder?: string;
115
+ reject?: {
116
+ color?: string;
117
+ text?: string;
118
+ };
119
+ accept?: {
120
+ color?: string;
121
+ text: string;
122
+ };
123
+ width?: string;
124
+ }
125
+ declare class ConfirmDialogComponent {
126
+ dialogRef: MatDialogRef<ConfirmDialogComponent>;
127
+ data: ConfirmConfig;
128
+ constructor(dialogRef: MatDialogRef<ConfirmDialogComponent>, data: ConfirmConfig);
129
+ onNoClick(): void;
130
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
131
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ConfirmDialogComponent", never, {}, {}, never, never, false, never>;
132
+ }
133
+
134
+ interface PromptConfig {
135
+ text: string;
136
+ defaultValue?: string;
137
+ placeholder?: string;
138
+ multiline?: boolean;
139
+ validators?: ValidatorFn | ValidatorFn[];
140
+ required?: boolean;
141
+ reject?: {
142
+ color: string;
143
+ text: string;
144
+ };
145
+ accept?: {
146
+ color: string;
147
+ text: string;
148
+ };
149
+ width?: string;
150
+ maxWidth?: string;
151
+ }
152
+ declare class C3PromptDialogComponent {
153
+ dialogRef: MatDialogRef<C3PromptDialogComponent>;
154
+ data: PromptConfig;
155
+ private _fb;
156
+ result: FormControl;
157
+ constructor(dialogRef: MatDialogRef<C3PromptDialogComponent>, data: PromptConfig, _fb: FormBuilder);
158
+ onNoClick(): void;
159
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3PromptDialogComponent, never>;
160
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3PromptDialogComponent, "PrompDialogComponent", never, {}, {}, never, never, false, never>;
161
+ }
162
+
163
+ declare class C3DialogEmbedChildComponent<C> implements AfterViewInit {
164
+ dialogRef: MatDialogRef<C3DialogEmbedChildComponent<C>>;
165
+ data: {
166
+ component?: ComponentType<C>;
167
+ templateRef?: TemplateRef<any>;
168
+ inputs?: Partial<Record<keyof C, unknown>>;
169
+ classActions?: string;
170
+ classContainer?: string;
171
+ classContent?: string;
172
+ toolbar?: {
173
+ title: string;
174
+ closeBtn?: boolean;
175
+ closeColor?: string;
176
+ color?: string;
177
+ };
178
+ actions?: {
179
+ label: string;
180
+ apperance?: 'basic' | 'raised' | 'stroked' | 'flat';
181
+ class?: string;
182
+ action: () => void;
183
+ }[];
184
+ };
185
+ private _cdr;
186
+ readonly target: Signal<ViewContainerRef>;
187
+ createdComponent: i0.WritableSignal<ComponentRef<C> | null>;
188
+ constructor(dialogRef: MatDialogRef<C3DialogEmbedChildComponent<C>>, data: {
189
+ component?: ComponentType<C>;
190
+ templateRef?: TemplateRef<any>;
191
+ inputs?: Partial<Record<keyof C, unknown>>;
192
+ classActions?: string;
193
+ classContainer?: string;
194
+ classContent?: string;
195
+ toolbar?: {
196
+ title: string;
197
+ closeBtn?: boolean;
198
+ closeColor?: string;
199
+ color?: string;
200
+ };
201
+ actions?: {
202
+ label: string;
203
+ apperance?: 'basic' | 'raised' | 'stroked' | 'flat';
204
+ class?: string;
205
+ action: () => void;
206
+ }[];
207
+ }, _cdr: ChangeDetectorRef);
208
+ ngAfterViewInit(): void;
209
+ /**
210
+ * Retourne la référence du composant créé (s’il y en a un),
211
+ * utile pour le service ou l’appelant.
212
+ */
213
+ createdComponentInstance(): ComponentRef<C> | null;
214
+ private _getInputProperties;
215
+ private _setInputs;
216
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3DialogEmbedChildComponent<any>, never>;
217
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3DialogEmbedChildComponent<any>, "C3DialogEmbedChildComponent", never, {}, {}, never, never, false, never>;
218
+ }
219
+
220
+ type C3CreateDialogFromComponentConfig<C> = MatDialogConfig<Partial<Record<keyof C, unknown>>> & {
221
+ component: ComponentType<C>;
222
+ toolbar?: {
223
+ title: string;
224
+ closeBtn?: boolean;
225
+ closeColor?: string;
226
+ color?: string;
227
+ };
228
+ classActions?: string;
229
+ classContainer?: string;
230
+ classContent?: string;
231
+ actions?: {
232
+ label: string;
233
+ class?: string;
234
+ apperance?: 'basic' | 'raised' | 'stroked' | 'flat';
235
+ action: () => void;
236
+ }[];
237
+ };
238
+ type C3CreateDialogFromComponentResult<C> = {
239
+ _containerInstance: MatDialogContainer;
240
+ rootComponentRef: ComponentRef<C3DialogEmbedChildComponent<C>> | null;
241
+ rootComponentInstance: C3DialogEmbedChildComponent<C>;
242
+ componentRef: ComponentRef<C> | null;
243
+ componentInstance: C | undefined;
244
+ id: string;
245
+ disableClose: boolean;
246
+ close: (dialogResult?: C) => void;
247
+ afterClosed: () => Observable<C | null>;
248
+ afterOpened: () => Observable<void>;
249
+ beforeClosed: () => Observable<C | null>;
250
+ backdropClick: () => Observable<MouseEvent>;
251
+ getState: () => MatDialogState;
252
+ keydownEvents: () => Observable<KeyboardEvent>;
253
+ updateSize: () => void;
254
+ updatePosition: () => void;
255
+ addPanelClass: (className: string) => void;
256
+ removePanelClass: (className: string) => void;
257
+ afterComponentMounted: () => Observable<C3CreateDialogFromComponentResult<C>>;
258
+ };
259
+ declare class C3DialogService {
260
+ #private;
261
+ private readonly _injector;
262
+ /**
263
+ * Opens a confirm dialog and returns a promise that resolves to a boolean indicating whether the user accepted or rejected the confirmation.
264
+ *
265
+ * @param {ConfirmConfig} data Configuration options for the confirm dialog. See ConfirmConfig below.
266
+ * @returns {C3ExtendedPromise<boolean>} A promise that resolves to `true` if the user accepted the confirmation, and `false` otherwise.
267
+ */
268
+ confirm(data: ConfirmConfig): Promise<boolean>;
269
+ /**
270
+ * Opens a prompt dialog and returns a promise that resolves to the value entered by the user, or `false` if the user cancelled the prompt.
271
+ *
272
+ * @param {PromptConfig} data Configuration options for the prompt dialog. See PromptConfig below.
273
+ * @returns {C3ExtendedPromise<false | T>} A promise that resolves to the value entered by the user, or `false` if the user cancelled the prompt.
274
+ */
275
+ prompt(data: PromptConfig): Promise<false | string>;
276
+ /**
277
+ * Opens a dialog with the provided component and inputs.
278
+ * @param {C3CreateDialogFromComponentConfig<C>} config Configuration options for the dialog. See MatDialogConfig below.
279
+ * @returns {MatDialogRef<C> & {component: ComponentRef<C> | undefined}} The dialog reference.
280
+ */
281
+ createDialogFromComponent<C>({ component, toolbar, data, classContainer, classContent, classActions, actions, ...config }: C3CreateDialogFromComponentConfig<C>): C3CreateDialogFromComponentResult<C>;
282
+ /**
283
+ * Ouvre un dialog à partir d'un TemplateRef.
284
+ * @param templateRef Le TemplateRef à afficher dans la boîte de dialogue.
285
+ * @param config (optionnel) Configuration pour le MatDialog (dimensions, position, etc.).
286
+ */
287
+ createDialogFromTemplate(templateRef: TemplateRef<any>, config?: MatDialogConfig): C3CreateDialogFromComponentResult<unknown>;
288
+ alert(text: string, data?: AlertConfig): Observable<any>;
289
+ private createC3DialogResult;
290
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3DialogService, never>;
291
+ static ɵprov: i0.ɵɵInjectableDeclaration<C3DialogService>;
292
+ }
293
+
294
+ declare class C3DialogTemplateComponent {
295
+ readonly templateRef: i0.Signal<TemplateRef<any> | undefined>;
296
+ readonly dialogRef: i0.WritableSignal<C3CreateDialogFromComponentResult<unknown> | null>;
297
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3DialogTemplateComponent, never>;
298
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3DialogTemplateComponent, "c3-dialog-template", never, {}, {}, never, ["*"], false, never>;
299
+ }
300
+
301
+ declare class C3OpenDialogDirective {
302
+ readonly template: i0.InputSignal<C3DialogTemplateComponent | undefined>;
303
+ readonly config: i0.InputSignal<MatDialogConfig<any> | undefined>;
304
+ private readonly _dialog;
305
+ private openDialog;
306
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3OpenDialogDirective, never>;
307
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3OpenDialogDirective, "[c3-dialog]", never, { "template": { "alias": "c3-dialog"; "required": false; "isSignal": true; }; "config": { "alias": "c3-dialog-config"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
308
+ }
309
+
310
+ declare class C3DialogModule {
311
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3DialogModule, never>;
312
+ static ɵmod: i0.ɵɵNgModuleDeclaration<C3DialogModule, [typeof C3AlertDialogComponent, typeof ConfirmDialogComponent, typeof C3PromptDialogComponent, typeof C3DialogEmbedChildComponent, typeof C3DialogTemplateComponent, typeof C3OpenDialogDirective], [typeof i3.CommonModule, typeof i8.FormsModule, typeof i5.MatButtonModule, typeof i10.MatDialogModule, typeof i11.MatFormFieldModule, typeof i12.MatIconModule, typeof i13.MatInputModule, typeof i14.MatToolbarModule, typeof i8.ReactiveFormsModule], [typeof C3DialogTemplateComponent, typeof C3OpenDialogDirective]>;
313
+ static ɵinj: i0.ɵɵInjectorDeclaration<C3DialogModule>;
314
+ }
315
+
316
+ interface C3FileViewerConfig {
317
+ btnContainerClass?: string;
318
+ btnClass?: string;
319
+ btnSubClass?: string;
320
+ zoomFactor?: number;
321
+ containerBackgroundColor?: string;
322
+ wheelZoom?: boolean;
323
+ allowFullscreen?: boolean;
324
+ allowKeyboardNavigation?: boolean;
325
+ customClient?: HttpClient['get'];
326
+ minHeight?: number | string;
327
+ minWidth?: number | string;
328
+ width?: number | string;
329
+ maxHeight?: number | string;
330
+ height?: number | string;
331
+ maxWidth?: number | string;
332
+ btnShow?: {
333
+ zoomIn?: boolean;
334
+ zoomOut?: boolean;
335
+ rotateClockwise?: boolean;
336
+ rotateCounterClockwise?: boolean;
337
+ next?: boolean;
338
+ prev?: boolean;
339
+ reset?: boolean;
340
+ download?: boolean;
341
+ };
342
+ btnIcons?: {
343
+ zoomIn?: MultiBtn['btn'];
344
+ zoomOut?: MultiBtn['btn'];
345
+ rotateClockwise?: MultiBtn['btn'];
346
+ rotateCounterClockwise?: MultiBtn['btn'];
347
+ next?: MultiBtn['btn'];
348
+ prev?: MultiBtn['btn'];
349
+ fullscreen?: MultiBtn['btn'];
350
+ reset?: MultiBtn['btn'];
351
+ download?: MultiBtn['btn'];
352
+ };
353
+ customBtns?: Array<{
354
+ name: string;
355
+ icon: MultiBtn['btn'];
356
+ }>;
357
+ }
358
+ interface MultiBtn {
359
+ btn: {
360
+ classes?: string;
361
+ text?: string;
362
+ };
363
+ }
364
+
365
+ declare class CustomFileEvent {
366
+ name: string;
367
+ fileUrl: string;
368
+ constructor(name: string, fileUrl: string);
369
+ }
370
+
371
+ type VariantFile = {
372
+ size: number;
373
+ fileName: string;
374
+ contentType: string;
375
+ location: string;
376
+ };
377
+ interface FileMetadata {
378
+ name: string;
379
+ size?: number;
380
+ type: string;
381
+ lastModified?: Date;
382
+ created?: Date;
383
+ extension?: string;
384
+ location: string;
385
+ objectUrl?: Observable<string>;
386
+ metadata?: Record<string, any>;
387
+ alternativeVersions?: VariantFile[];
388
+ }
389
+
390
+ declare class C3FileViewer {
391
+ private _config;
392
+ private client;
393
+ get config(): C3FileViewerConfig;
394
+ set config(value: C3FileViewerConfig);
395
+ config$: BehaviorSubject<C3FileViewerConfig>;
396
+ fullscreen$: BehaviorSubject<Boolean>;
397
+ customFile$: BehaviorSubject<any>;
398
+ index$: BehaviorSubject<number>;
399
+ loading: boolean;
400
+ currentIndex: number;
401
+ get currentFile(): FileMetadata;
402
+ style: {
403
+ transform: string;
404
+ msTransform: string;
405
+ oTransform: string;
406
+ webkitTransform: string;
407
+ minHeight: string;
408
+ maxHeight: string;
409
+ height: string;
410
+ minWidth: string;
411
+ maxWidth: string;
412
+ width: string;
413
+ };
414
+ styleHeight: string;
415
+ hovered: boolean;
416
+ set files(newFiles: FileMetadata[]);
417
+ get files(): FileMetadata[];
418
+ private _files;
419
+ filesObjectUrl: Array<FileMetadata & {
420
+ objectUrl?: Observable<string>;
421
+ }>;
422
+ private locationBlobMap;
423
+ private scale;
424
+ private rotation;
425
+ private translateX;
426
+ private translateY;
427
+ private prevX;
428
+ private prevY;
429
+ constructor({ config, files, client }: {
430
+ config?: C3FileViewerConfig;
431
+ files?: FileMetadata[];
432
+ client: HttpClient;
433
+ });
434
+ createObjectURL(file: FileMetadata | VariantFile): Observable<string> | undefined;
435
+ getFile(location: string): Observable<Blob>;
436
+ previousImage(event: KeyboardEvent | MouseEvent): void;
437
+ nextImage(event: KeyboardEvent | MouseEvent): void;
438
+ zoomIn(): void;
439
+ zoomOut(): void;
440
+ scrollZoom(evt: WheelEvent): boolean;
441
+ rotateClockwise(): void;
442
+ rotateCounterClockwise(): void;
443
+ onLoaded(): void;
444
+ onLoadStart(): void;
445
+ imageNotFound(file: FileMetadata): void;
446
+ onDragOver(evt: DragEvent): void;
447
+ onDragStart(evt: DragEvent): void;
448
+ toggleFullscreen(): void;
449
+ reset(): void;
450
+ getOriginalName(file?: FileMetadata): any;
451
+ private canNavigate;
452
+ private updateStyle;
453
+ private valueToCss;
454
+ private mergeConfig;
455
+ download(file?: FileMetadata): void;
456
+ private downloadFromUrl;
457
+ private downloadWithClient;
458
+ }
459
+
460
+ declare class C3FileViewerComponent implements OnInit {
461
+ moduleConfig: C3FileViewerConfig;
462
+ _http: HttpClient;
463
+ readonly screenHeightOccupied: i0.InputSignal<number | undefined>;
464
+ readonly fileViewer: i0.InputSignal<C3FileViewer>;
465
+ readonly indexChange: i0.OutputEmitterRef<number>;
466
+ readonly configChange: i0.OutputEmitterRef<C3FileViewerConfig>;
467
+ readonly customFileEvent: i0.OutputEmitterRef<CustomFileEvent>;
468
+ constructor(moduleConfig: C3FileViewerConfig, _http: HttpClient);
469
+ ngOnInit(): void;
470
+ onMouseOver(): void;
471
+ onMouseLeave(): void;
472
+ ngOnChanges(changes: SimpleChanges): void;
473
+ next(event: KeyboardEvent): void;
474
+ previous(event: KeyboardEvent): void;
475
+ defineStyleHeight(): void;
476
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerComponent, [{ optional: true; }, null]>;
477
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerComponent, "c3-file-viewer", never, { "screenHeightOccupied": { "alias": "screenHeightOccupied"; "required": false; "isSignal": true; }; "fileViewer": { "alias": "fileViewer"; "required": true; "isSignal": true; }; }, { "indexChange": "indexChange"; "configChange": "configChange"; "customFileEvent": "customFileEvent"; }, never, never, false, never>;
478
+ }
479
+
480
+ declare class C3FileViewerDialogComponent {
481
+ private _dialog;
482
+ readonly fileViewer: i0.InputSignal<C3FileViewer>;
483
+ readonly dialogConfig: i0.InputSignal<Partial<MatDialogConfig<any>>>;
484
+ constructor(_dialog: MatDialog);
485
+ openDialog(): void;
486
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerDialogComponent, never>;
487
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerDialogComponent, "c3-file-viewer-dialog", never, { "fileViewer": { "alias": "fileViewer"; "required": true; "isSignal": true; }; "dialogConfig": { "alias": "dialogConfig"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
488
+ }
489
+
490
+ declare class C3FileViewerDialog {
491
+ fileViewer: C3FileViewer;
492
+ constructor(fileViewer: C3FileViewer);
493
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerDialog, never>;
494
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerDialog, "ng-component", never, {}, {}, never, never, false, never>;
495
+ }
496
+
497
+ declare class FullScreenDirective {
498
+ private el;
499
+ readonly fullscreenState: i0.InputSignal<Boolean | null>;
500
+ readonly fullscreenStateSetter: i0.InputSignal<Boolean | null>;
501
+ private _fullscreenState;
502
+ constructor(el: ElementRef);
503
+ private defineState;
504
+ static ɵfac: i0.ɵɵFactoryDeclaration<FullScreenDirective, never>;
505
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FullScreenDirective, "[C3FullScreen], [c3-full-screen]", never, { "fullscreenState": { "alias": "c3Screenfull"; "required": false; "isSignal": true; }; "fullscreenStateSetter": { "alias": "c3-full-screen"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
506
+ }
507
+
508
+ declare class C3FileViewerActionsComponent {
509
+ readonly fileViewer: i0.InputSignal<C3FileViewer>;
510
+ get config(): c3_components.C3FileViewerConfig;
511
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerActionsComponent, never>;
512
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerActionsComponent, "c3-file-viewer-actions", never, { "fileViewer": { "alias": "fileViewer"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
513
+ }
514
+
515
+ declare class C3FileViewerImageComponent {
516
+ readonly fileViewer: i0.InputSignal<C3FileViewer>;
517
+ readonly dragstart: i0.OutputEmitterRef<DragEvent>;
518
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerImageComponent, never>;
519
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerImageComponent, "c3-file-viewer-image, [c3-file-viewer-image]", never, { "fileViewer": { "alias": "fileViewer"; "required": true; "isSignal": true; }; }, { "dragstart": "dragstart"; }, never, never, false, never>;
520
+ }
521
+
522
+ declare class C3FileViewerPdfComponent {
523
+ readonly fileViewer: i0.InputSignal<C3FileViewer>;
524
+ readonly dragstart: i0.OutputEmitterRef<DragEvent>;
525
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerPdfComponent, never>;
526
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerPdfComponent, "c3-file-viewer-pdf", never, { "fileViewer": { "alias": "fileViewer"; "required": true; "isSignal": true; }; }, { "dragstart": "dragstart"; }, never, never, false, never>;
527
+ }
528
+
529
+ declare class C3FileViewerVideoComponent {
530
+ readonly fileViewer: i0.InputSignal<C3FileViewer>;
531
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerVideoComponent, never>;
532
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerVideoComponent, "c3-file-viewer-video", never, { "fileViewer": { "alias": "fileViewer"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
533
+ }
534
+
535
+ declare class C3FileViewerDefaultComponent {
536
+ readonly fileViewer: i0.InputSignal<C3FileViewer>;
537
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerDefaultComponent, never>;
538
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerDefaultComponent, "c3-file-viewer-default", never, { "fileViewer": { "alias": "fileViewer"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
539
+ }
540
+
541
+ declare class C3SafeUrlPipe implements PipeTransform {
542
+ private sanitizer;
543
+ constructor(sanitizer: DomSanitizer);
544
+ transform(url: string | null): _angular_platform_browser.SafeResourceUrl;
545
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3SafeUrlPipe, never>;
546
+ static ɵpipe: i0.ɵɵPipeDeclaration<C3SafeUrlPipe, "c3SafeUrl", true>;
547
+ }
548
+
549
+ declare class C3FileViewerModule {
550
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerModule, never>;
551
+ static ɵmod: i0.ɵɵNgModuleDeclaration<C3FileViewerModule, [typeof FullScreenDirective, typeof C3FileViewerComponent, typeof C3FileViewerActionsComponent, typeof C3FileViewerImageComponent, typeof C3FileViewerPdfComponent, typeof C3FileViewerVideoComponent, typeof C3FileViewerDialogComponent, typeof C3FileViewerDialog, typeof C3FileViewerDefaultComponent], [typeof i3.CommonModule, typeof C3SafeUrlPipe, typeof i10.MatDialogModule, typeof i12.MatIconModule, typeof i5.MatButtonModule], [typeof FullScreenDirective, typeof C3FileViewerComponent, typeof C3FileViewerDialogComponent]>;
552
+ static ɵinj: i0.ɵɵInjectorDeclaration<C3FileViewerModule>;
553
+ }
554
+
555
+ type C3FileCardSize = '16' | '32' | '64' | '128' | '256';
556
+ declare class C3FileDisplayCardComponent {
557
+ readonly fileObjectUrl: i0.InputSignal<(FileMetadata & {
558
+ objectUrl?: Observable<string>;
559
+ }) | null>;
560
+ readonly displayFn: i0.InputSignal<(file: FileMetadata) => string>;
561
+ readonly deletable: i0.InputSignal<boolean>;
562
+ readonly size: i0.InputSignal<C3FileCardSize>;
563
+ readonly onDelete: i0.OutputEmitterRef<void>;
564
+ readonly onDownload: i0.OutputEmitterRef<void>;
565
+ readonly getFileType: i0.Signal<"image" | "application" | "video" | "unknown">;
566
+ readonly getFileObjectUrl: i0.Signal<Observable<string> | null>;
567
+ readonly getFileName: i0.Signal<string>;
568
+ readonly getDisplayName: i0.Signal<string>;
569
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileDisplayCardComponent, never>;
570
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileDisplayCardComponent, "c3-file-display-card", never, { "fileObjectUrl": { "alias": "fileObjectUrl"; "required": true; "isSignal": true; }; "displayFn": { "alias": "displayFn"; "required": false; "isSignal": true; }; "deletable": { "alias": "deletable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "onDelete": "onDelete"; "onDownload": "onDownload"; }, never, never, true, never>;
571
+ }
572
+
573
+ declare class C3FileDisplayGridComponent {
574
+ readonly files: i0.InputSignal<(FileMetadata & {
575
+ location: string;
576
+ })[]>;
577
+ readonly config: i0.InputSignal<C3FileViewerConfig | undefined>;
578
+ readonly cardSize: i0.InputSignal<C3FileCardSize>;
579
+ readonly displayFn: i0.InputSignal<(file: FileMetadata & {
580
+ location: string;
581
+ }) => string>;
582
+ readonly deletable: i0.InputSignal<boolean>;
583
+ readonly onDelete: i0.OutputEmitterRef<FileMetadata>;
584
+ readonly dialog: i0.Signal<C3FileViewerDialogComponent | undefined>;
585
+ fileViewer: C3FileViewer;
586
+ constructor();
587
+ openDialog($event: MouseEvent, index: number): void;
588
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileDisplayGridComponent, never>;
589
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileDisplayGridComponent, "c3-file-display-grid", never, { "files": { "alias": "files"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "cardSize": { "alias": "cardSize"; "required": false; "isSignal": true; }; "displayFn": { "alias": "displayFn"; "required": false; "isSignal": true; }; "deletable": { "alias": "deletable"; "required": false; "isSignal": true; }; }, { "onDelete": "onDelete"; }, never, never, true, never>;
590
+ }
591
+
592
+ declare class C3FileDisplayListColumnDefDirective {
593
+ readonly title: i0.InputSignal<string>;
594
+ readonly classList: i0.InputSignal<string[]>;
595
+ private readonly _table;
596
+ readonly headerCellDef: i0.Signal<C3FileDisplayListHeaderCellDefDirective | undefined>;
597
+ readonly cellDef: i0.Signal<C3FileDisplayListCellDefDirective | undefined>;
598
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileDisplayListColumnDefDirective, never>;
599
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3FileDisplayListColumnDefDirective, "[c3FileDisplayListColumnDef]", never, { "title": { "alias": "c3FileDisplayListColumnDef"; "required": true; "isSignal": true; }; "classList": { "alias": "classList"; "required": false; "isSignal": true; }; }, {}, ["headerCellDef", "cellDef"], never, true, never>;
600
+ }
601
+ declare class C3FileDisplayListHeaderCellDefDirective {
602
+ template: TemplateRef<any>;
603
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileDisplayListHeaderCellDefDirective, never>;
604
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3FileDisplayListHeaderCellDefDirective, "[c3FileDisplayListHeaderCellDef]", never, {}, {}, never, never, true, never>;
605
+ }
606
+ declare class C3FileDisplayListCellDefDirective {
607
+ template: TemplateRef<any>;
608
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileDisplayListCellDefDirective, never>;
609
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3FileDisplayListCellDefDirective, "[c3FileDisplayListCellDef]", never, {}, {}, never, never, true, never>;
610
+ }
611
+
612
+ declare class C3FileDisplayListComponent {
613
+ readonly files: i0.InputSignal<(FileMetadata & {
614
+ location: string;
615
+ })[]>;
616
+ readonly config: i0.InputSignal<C3FileViewerConfig | undefined>;
617
+ readonly displayFn: i0.InputSignal<(file: FileMetadata & {
618
+ location: string;
619
+ }) => string>;
620
+ readonly columns: i0.InputSignal<string[]>;
621
+ readonly deletable: i0.InputSignal<boolean>;
622
+ readonly onDelete: i0.OutputEmitterRef<FileMetadata>;
623
+ readonly dialog: i0.Signal<C3FileViewerDialogComponent | undefined>;
624
+ private readonly _columnDefs;
625
+ private readonly _viewContainer;
626
+ fileViewer: C3FileViewer;
627
+ constructor();
628
+ openDialog($event: MouseEvent, index: number): void;
629
+ getColumnDef(columnName: string): C3FileDisplayListColumnDefDirective | undefined;
630
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileDisplayListComponent, never>;
631
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileDisplayListComponent, "c3-file-display-list", never, { "files": { "alias": "files"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "displayFn": { "alias": "displayFn"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "deletable": { "alias": "deletable"; "required": false; "isSignal": true; }; }, { "onDelete": "onDelete"; }, ["_columnDefs"], ["*"], true, never>;
632
+ }
633
+
634
+ declare class C3FileDisplayIconComponent {
635
+ readonly fileType: i0.InputSignal<string>;
636
+ readonly displayedIcon: i0.Signal<"image" | "play_circle" | "picture_as_pdf" | "description" | "content_copy">;
637
+ readonly color: i0.Signal<"text-primary" | "text-secondary" | "text-error" | "text-success" | "text-gray">;
638
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileDisplayIconComponent, never>;
639
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FileDisplayIconComponent, "c3-file-display-icon", never, { "fileType": { "alias": "fileType"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
640
+ }
641
+
642
+ declare class C3FileDisplayerModule {
643
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FileDisplayerModule, never>;
644
+ static ɵmod: i0.ɵɵNgModuleDeclaration<C3FileDisplayerModule, never, [typeof i3.CommonModule, typeof C3FileDisplayGridComponent, typeof C3FileDisplayListComponent, typeof C3FileDisplayCardComponent, typeof C3FileDisplayIconComponent, typeof C3FileDisplayListColumnDefDirective, typeof C3FileDisplayListHeaderCellDefDirective, typeof C3FileDisplayListCellDefDirective], [typeof C3FileDisplayGridComponent, typeof C3FileDisplayListComponent, typeof C3FileDisplayCardComponent, typeof C3FileDisplayIconComponent, typeof C3FileDisplayListColumnDefDirective, typeof C3FileDisplayListHeaderCellDefDirective, typeof C3FileDisplayListCellDefDirective]>;
645
+ static ɵinj: i0.ɵɵInjectorDeclaration<C3FileDisplayerModule>;
646
+ }
647
+
648
+ declare const C3_FILE_DISPLAY_LIST: InjectionToken<any>;
649
+
650
+ declare class C3ExpansionHeaderComponent {
651
+ title: i0.InputSignal<string | undefined>;
652
+ isExpanded: i0.InputSignal<boolean>;
653
+ toggleExpand: i0.OutputEmitterRef<void>;
654
+ get hostClass(): string;
655
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3ExpansionHeaderComponent, never>;
656
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3ExpansionHeaderComponent, "c3-expansion-header", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; }, { "toggleExpand": "toggleExpand"; }, never, ["*"], false, never>;
657
+ }
658
+
659
+ declare class C3AutoAnimateDirective implements AfterViewInit {
660
+ private el;
661
+ readonly options: i0.InputSignal<AutoAnimationPlugin | Partial<AutoAnimateOptions> | undefined>;
662
+ constructor(el: ElementRef);
663
+ ngAfterViewInit(): void;
664
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3AutoAnimateDirective, never>;
665
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3AutoAnimateDirective, "[c3AutoAnimate]", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
666
+ }
667
+
668
+ declare class C3ExpansionComponent implements OnDestroy {
669
+ headerClass: i0.InputSignal<string>;
670
+ isExpanded: i0.ModelSignal<boolean>;
671
+ get hostClass(): string;
672
+ readonly _elementRef: ElementRef<any>;
673
+ readonly header: i0.Signal<C3ExpansionHeaderComponent | undefined>;
674
+ private expandSubsciption;
675
+ constructor();
676
+ ngOnDestroy(): void;
677
+ toggleExpand(): void;
678
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3ExpansionComponent, never>;
679
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3ExpansionComponent, "c3-expansion", never, { "headerClass": { "alias": "headerClass"; "required": false; "isSignal": true; }; "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; }, { "isExpanded": "isExpandedChange"; }, ["header"], ["c3-expansion-header", "*"], false, [{ directive: typeof C3AutoAnimateDirective; inputs: { "options": "options"; }; outputs: {}; }]>;
680
+ }
681
+
682
+ declare class C3ExpansionModule {
683
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3ExpansionModule, never>;
684
+ static ɵmod: i0.ɵɵNgModuleDeclaration<C3ExpansionModule, [typeof C3ExpansionComponent, typeof C3ExpansionHeaderComponent], [typeof i3.CommonModule, typeof C3AutoAnimateDirective, typeof i5.MatButtonModule, typeof i12.MatIconModule, typeof i7.MatTooltipModule, typeof i5.MatButtonModule, typeof i14.MatToolbarModule], [typeof C3ExpansionComponent, typeof C3ExpansionHeaderComponent]>;
685
+ static ɵinj: i0.ɵɵInjectorDeclaration<C3ExpansionModule>;
686
+ }
687
+
688
+ declare class C3SelectOnFocusDirective {
689
+ onFocus(target: HTMLInputElement): void;
690
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3SelectOnFocusDirective, never>;
691
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3SelectOnFocusDirective, "[c3SelectOnFocus]", never, {}, {}, never, never, true, never>;
692
+ }
693
+
694
+ interface TreeType<T> {
695
+ id: number;
696
+ level: number;
697
+ name: string;
698
+ ancestorId?: number;
699
+ ancestor?: TreeType<T>;
700
+ children: TreeType<T>[];
701
+ rawData: T;
702
+ }
703
+ interface FileNode<RawData> extends TreeType<RawData> {
704
+ expandable: boolean;
705
+ }
706
+ declare class C3TreeComponent<RawData, T extends TreeType<RawData> = TreeType<RawData>> {
707
+ readonly treeData: i0.ModelSignal<T[]>;
708
+ readonly isLoading: i0.ModelSignal<boolean>;
709
+ readonly treeDataSelected: i0.OutputEmitterRef<T>;
710
+ private _transformer;
711
+ constructor();
712
+ hasChild: (_: number, node: T) => boolean;
713
+ treeControl: FlatTreeControl<FileNode<RawData>, FileNode<RawData>>;
714
+ treeFlattener: MatTreeFlattener<TreeType<RawData>, FileNode<RawData>, FileNode<RawData>>;
715
+ dataSource: MatTreeFlatDataSource<TreeType<RawData>, FileNode<RawData>, FileNode<RawData>>;
716
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TreeComponent<any, any>, never>;
717
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3TreeComponent<any, any>, "c3-tree", never, { "treeData": { "alias": "treeData"; "required": true; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "treeData": "treeDataChange"; "isLoading": "isLoadingChange"; "treeDataSelected": "treeDataSelected"; }, never, ["*"], true, never>;
718
+ }
719
+
720
+ declare class C3FlowingMenuItemComponent {
721
+ readonly menuTpl: i0.Signal<TemplateRef<any> | undefined>;
722
+ readonly contentTpl: i0.Signal<TemplateRef<any> | undefined>;
723
+ readonly active: i0.WritableSignal<boolean>;
724
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FlowingMenuItemComponent, never>;
725
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FlowingMenuItemComponent, "c3-flowing-menu-item", never, {}, {}, never, ["[menu-title]", "c3-flowing-menu-item-content"], false, never>;
726
+ }
727
+
728
+ declare class C3FlowingMenuComponent {
729
+ readonly c3FlowingMenu: i0.Signal<readonly C3FlowingMenuItemComponent[]>;
730
+ private readonly targetContentRef;
731
+ readonly selectedIndex: i0.ModelSignal<number>;
732
+ constructor();
733
+ selectMenu(index: number): void;
734
+ private updateView;
735
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FlowingMenuComponent, never>;
736
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FlowingMenuComponent, "c3-flowing-menu", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; }, { "selectedIndex": "selectedIndexChange"; }, ["c3FlowingMenu"], never, false, never>;
737
+ }
738
+
739
+ declare class C3FlowingMenuItemContentComponent {
740
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FlowingMenuItemContentComponent, never>;
741
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FlowingMenuItemContentComponent, "c3-flowing-menu-item-content", never, {}, {}, never, ["*"], false, never>;
742
+ }
743
+
744
+ declare class C3FlowingMenuModule {
745
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3FlowingMenuModule, never>;
746
+ static ɵmod: i0.ɵɵNgModuleDeclaration<C3FlowingMenuModule, [typeof C3FlowingMenuComponent, typeof C3FlowingMenuItemComponent, typeof C3FlowingMenuItemContentComponent], [typeof i3.CommonModule], [typeof C3FlowingMenuComponent, typeof C3FlowingMenuItemComponent, typeof C3FlowingMenuItemContentComponent]>;
747
+ static ɵinj: i0.ɵɵInjectorDeclaration<C3FlowingMenuModule>;
748
+ }
749
+
750
+ declare class C3TraceCardComponent {
751
+ readonly align: i0.WritableSignal<"left" | "right">;
752
+ get alignLeft(): boolean;
753
+ get alignRight(): boolean;
754
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardComponent, never>;
755
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3TraceCardComponent, "c3-trace-card", never, {}, {}, never, ["c3-trace-card-content", "c3-trace-card-title"], false, never>;
756
+ }
757
+
758
+ declare class C3TraceCardTitleComponent {
759
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardTitleComponent, never>;
760
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3TraceCardTitleComponent, "c3-trace-card-title", never, {}, {}, never, ["*"], false, never>;
761
+ }
762
+
763
+ declare class C3TraceCardContentComponent {
764
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardContentComponent, never>;
765
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3TraceCardContentComponent, "c3-trace-card-content", never, {}, {}, never, ["*"], false, never>;
766
+ }
767
+
768
+ declare class C3TraceCardAlignLeftDirective {
769
+ private readonly c3CardTitle;
770
+ constructor();
771
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardAlignLeftDirective, never>;
772
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3TraceCardAlignLeftDirective, "c3-trace-card[align-left]", never, {}, {}, never, never, true, never>;
773
+ }
774
+
775
+ declare class C3TraceCardAlignRightDirective {
776
+ private readonly c3CardTitle;
777
+ constructor();
778
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardAlignRightDirective, never>;
779
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3TraceCardAlignRightDirective, "c3-trace-card[align-right]", never, {}, {}, never, never, true, never>;
780
+ }
781
+
782
+ declare class C3TraceCardModule {
783
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardModule, never>;
784
+ static ɵmod: i0.ɵɵNgModuleDeclaration<C3TraceCardModule, [typeof C3TraceCardComponent, typeof C3TraceCardTitleComponent, typeof C3TraceCardContentComponent], [typeof i3.CommonModule, typeof C3TraceCardAlignLeftDirective, typeof C3TraceCardAlignRightDirective], [typeof C3TraceCardComponent, typeof C3TraceCardTitleComponent, typeof C3TraceCardContentComponent, typeof C3TraceCardAlignLeftDirective, typeof C3TraceCardAlignRightDirective]>;
785
+ static ɵinj: i0.ɵɵInjectorDeclaration<C3TraceCardModule>;
786
+ }
787
+
788
+ /**
789
+ * A directive that prevents the default action and stops event propagation on click events.
790
+ */
791
+ declare class C3PreventClickDirective {
792
+ /**
793
+ * HostListener for the 'click' event.
794
+ * @param {MouseEvent} event - The MouseEvent object representing the click event.
795
+ */
796
+ onClick(event: MouseEvent): void;
797
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3PreventClickDirective, never>;
798
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3PreventClickDirective, "[c3-prevent-click]", never, {}, {}, never, never, true, never>;
799
+ }
800
+
801
+ /**
802
+ * A directive that prevents the default action and stops event propagation on specified keyboard events.
803
+ */
804
+ declare class C3PreventKeyboardEventDirective {
805
+ /**
806
+ * The keyboard key to prevent the default action and stop event propagation for. Defaults to 'enter'.
807
+ */
808
+ readonly key: i0.InputSignal<string>;
809
+ /**
810
+ * HostListener for the 'keydown' event.
811
+ * @param {KeyboardEvent} event - The KeyboardEvent object representing the keydown event.
812
+ */
813
+ onKeyDown(event: KeyboardEvent): void;
814
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3PreventKeyboardEventDirective, never>;
815
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3PreventKeyboardEventDirective, "[c3-prevent-keyboard-event]", never, { "key": { "alias": "key"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
816
+ }
817
+
818
+ declare class C3StopPropagationDirective {
819
+ onClick(event: MouseEvent): void;
820
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3StopPropagationDirective, never>;
821
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3StopPropagationDirective, "[c3-stop-click-propagation]", never, {}, {}, never, never, true, never>;
822
+ }
823
+
824
+ declare class C3MenuService {
825
+ selectedElement: HTMLElement | null;
826
+ currentRouteChange: Observable<string>;
827
+ readonly currentRoute: i0.WritableSignal<string>;
828
+ readonly isHeadless: i0.WritableSignal<boolean>;
829
+ private readonly _router;
830
+ private readonly _ar;
831
+ constructor();
832
+ setSelectedItem(element: HTMLElement): void;
833
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3MenuService, never>;
834
+ static ɵprov: i0.ɵɵInjectableDeclaration<C3MenuService>;
835
+ }
836
+
837
+ declare class C3MenuComponent {
838
+ readonly _c3Menu: C3MenuService;
839
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3MenuComponent, never>;
840
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3MenuComponent, "c3-menu", never, {}, {}, never, ["*"], false, never>;
841
+ }
842
+
843
+ declare class C3NavItemComponent {
844
+ readonly route: i0.InputSignal<string>;
845
+ readonly itemTitle: i0.InputSignal<string>;
846
+ readonly check: i0.InputSignal<string | null>;
847
+ readonly isExternal: i0.InputSignal<boolean>;
848
+ private readonly element;
849
+ private readonly _menu;
850
+ private readonly destroyRef;
851
+ private readonly currentRouteChangeSubscription;
852
+ constructor();
853
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3NavItemComponent, never>;
854
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3NavItemComponent, "c3-nav-item", never, { "route": { "alias": "route"; "required": true; "isSignal": true; }; "itemTitle": { "alias": "itemTitle"; "required": true; "isSignal": true; }; "check": { "alias": "check"; "required": false; "isSignal": true; }; "isExternal": { "alias": "isExternal"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
855
+ }
856
+
857
+ declare class C3MenuModule {
858
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3MenuModule, never>;
859
+ static ɵmod: i0.ɵɵNgModuleDeclaration<C3MenuModule, [typeof C3MenuComponent, typeof C3NavItemComponent], [typeof i3.CommonModule, typeof i4$1.RouterModule, typeof i5$1.MatRippleModule], [typeof C3MenuComponent, typeof C3NavItemComponent]>;
860
+ static ɵinj: i0.ɵɵInjectorDeclaration<C3MenuModule>;
861
+ }
862
+
863
+ export { C3AlertDialogComponent, C3AutoAnimateDirective, C3DialogEmbedChildComponent, C3DialogModule, C3DialogService, C3DialogTemplateComponent, C3DropdownComponent, C3DropdownModule, C3DropdownTrigger, C3ExpansionComponent, C3ExpansionHeaderComponent, C3ExpansionModule, C3FileDisplayCardComponent, C3FileDisplayGridComponent, C3FileDisplayIconComponent, C3FileDisplayListCellDefDirective, C3FileDisplayListColumnDefDirective, C3FileDisplayListComponent, C3FileDisplayListHeaderCellDefDirective, C3FileDisplayerModule, C3FileViewer, C3FileViewerComponent, C3FileViewerDialog, C3FileViewerDialogComponent, C3FileViewerModule, C3FlowingMenuComponent, C3FlowingMenuItemComponent, C3FlowingMenuItemContentComponent, C3FlowingMenuModule, C3MenuComponent, C3MenuModule, C3NavItemComponent, C3OpenDialogDirective, C3PreventClickDirective, C3PreventKeyboardEventDirective, C3PromptDialogComponent, C3SafeUrlPipe, C3SelectOnFocusDirective, C3StopPropagationDirective, C3TraceCardAlignLeftDirective, C3TraceCardAlignRightDirective, C3TraceCardComponent, C3TraceCardContentComponent, C3TraceCardModule, C3TraceCardTitleComponent, C3TreeComponent, C3_FILE_DISPLAY_LIST, ConfirmDialogComponent, CustomFileEvent, FullScreenDirective, MAT_DROPDOWN_VALUE_ACCESSOR };
864
+ export type { AlertConfig, C3CreateDialogFromComponentConfig, C3CreateDialogFromComponentResult, C3FileCardSize, C3FileViewerConfig, ConfirmConfig, FileMetadata, FileNode, HttpClientOptions, PromptConfig, TreeType, VariantFile };