c3-components 0.14.2 → 0.15.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.
package/index.d.ts CHANGED
@@ -18,7 +18,7 @@ import * as i14 from '@angular/material/toolbar';
18
18
  import * as c3_components from 'c3-components';
19
19
  import * as _angular_platform_browser from '@angular/platform-browser';
20
20
  import { DomSanitizer } from '@angular/platform-browser';
21
- import { AutoAnimationPlugin, AutoAnimateOptions } from '@formkit/auto-animate';
21
+ import { AutoAnimateOptions, AutoAnimationPlugin } from '@formkit/auto-animate';
22
22
  import * as i7 from '@angular/material/tooltip';
23
23
  import { FlatTreeControl } from '@angular/cdk/tree';
24
24
  import { MatTreeFlattener, MatTreeFlatDataSource } from '@angular/material/tree';
@@ -183,7 +183,7 @@ declare class C3DialogEmbedChildComponent<C> implements AfterViewInit {
183
183
  }[];
184
184
  };
185
185
  private _cdr;
186
- readonly target: Signal<ViewContainerRef>;
186
+ readonly target: Signal<ViewContainerRef | undefined>;
187
187
  createdComponent: i0.WritableSignal<ComponentRef<C> | null>;
188
188
  constructor(dialogRef: MatDialogRef<C3DialogEmbedChildComponent<C>>, data: {
189
189
  component?: ComponentType<C>;
@@ -432,6 +432,12 @@ declare class C3FileViewer {
432
432
  client: HttpClient;
433
433
  });
434
434
  createObjectURL(file: FileMetadata | VariantFile): Observable<string> | undefined;
435
+ /**
436
+ * Encode une URL de manière sûre pour éviter les problèmes avec les caractères spéciaux
437
+ * comme +, espaces, etc.
438
+ * Cette fonction encode correctement les segments du chemin et les paramètres de requête.
439
+ */
440
+ private encodeUrl;
435
441
  getFile(location: string): Observable<Blob>;
436
442
  previousImage(event: KeyboardEvent | MouseEvent): void;
437
443
  nextImage(event: KeyboardEvent | MouseEvent): void;
@@ -658,7 +664,7 @@ declare class C3ExpansionHeaderComponent {
658
664
 
659
665
  declare class C3AutoAnimateDirective implements AfterViewInit {
660
666
  private el;
661
- readonly options: i0.InputSignal<AutoAnimationPlugin | Partial<AutoAnimateOptions> | undefined>;
667
+ readonly options: i0.InputSignal<Partial<AutoAnimateOptions> | AutoAnimationPlugin | undefined>;
662
668
  constructor(el: ElementRef);
663
669
  ngAfterViewInit(): void;
664
670
  static ɵfac: i0.ɵɵFactoryDeclaration<C3AutoAnimateDirective, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c3-components",
3
- "version": "0.14.2",
3
+ "version": "0.15.1",
4
4
  "description": "C3 Components Library",
5
5
  "author": "c3ulnta0rk",
6
6
  "license": "MIT",