@acorex/components 19.2.0 → 19.3.0-next.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/common/lib/classes/components.class.d.ts +1 -0
  2. package/decorators/lib/components/close-button.component.d.ts +2 -1
  3. package/fesm2022/acorex-components-action-sheet.mjs +1 -1
  4. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  5. package/fesm2022/acorex-components-common.mjs.map +1 -1
  6. package/fesm2022/acorex-components-decorators.mjs +21 -5
  7. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  8. package/fesm2022/acorex-components-grid-layout-builder.mjs +286 -23
  9. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  10. package/fesm2022/acorex-components-media-viewer.mjs +245 -75
  11. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  12. package/fesm2022/acorex-components-notification.mjs +1 -1
  13. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  14. package/fesm2022/acorex-components-pdf-reader.mjs +39 -0
  15. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -0
  16. package/fesm2022/acorex-components-popup.mjs +1 -1
  17. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  18. package/fesm2022/acorex-components-select-box.mjs +1 -1
  19. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  20. package/fesm2022/acorex-components-tabs.mjs +9 -8
  21. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  22. package/fesm2022/acorex-components-toast.mjs +136 -123
  23. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  24. package/fesm2022/acorex-components-video-player.mjs +37 -0
  25. package/fesm2022/acorex-components-video-player.mjs.map +1 -0
  26. package/grid-layout-builder/lib/grid-layout-container.component.d.ts +183 -1
  27. package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +84 -1
  28. package/media-viewer/index.d.ts +0 -1
  29. package/media-viewer/lib/media-viewer-container/media-viewer-container.component.d.ts +21 -6
  30. package/media-viewer/lib/media-viewer-tools/file-info/file-info.component.d.ts +1 -2
  31. package/media-viewer/lib/media-viewer-tools/pdf-reader/pdf-reader.component.d.ts +3 -3
  32. package/media-viewer/lib/media-viewer-tools/video-player/video-player.component.d.ts +3 -3
  33. package/media-viewer/lib/media-viewer.module.d.ts +17 -15
  34. package/package.json +9 -1
  35. package/pdf-reader/README.md +3 -0
  36. package/pdf-reader/index.d.ts +2 -0
  37. package/pdf-reader/lib/pdf-reader/pdf-reader.component.d.ts +8 -0
  38. package/pdf-reader/lib/pdf-reader.module.d.ts +7 -0
  39. package/tabs/lib/tabs.class.d.ts +1 -1
  40. package/toast/lib/toast.class.d.ts +1 -0
  41. package/toast/lib/toast.component.d.ts +4 -0
  42. package/toast/lib/toast.service.d.ts +3 -4
  43. package/video-player/README.md +3 -0
  44. package/video-player/index.d.ts +2 -0
  45. package/video-player/lib/video-player/video-player.component.d.ts +6 -0
  46. package/video-player/lib/video-player.module.d.ts +7 -0
  47. package/media-viewer/lib/media-viewer-thumbnail/media-viewer-thumbnail.component.d.ts +0 -11
@@ -3,20 +3,22 @@ import { AXMediaViewerType } from './media-viewer-types';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "./media-viewer-container/media-viewer-container.component";
5
5
  import * as i2 from "./media-viewer-slider/media-viewer-slider.component";
6
- import * as i3 from "./media-viewer-thumbnail/media-viewer-thumbnail.component";
7
- import * as i4 from "./media-viewer-tools/audio-player/audio-player.component";
8
- import * as i5 from "./media-viewer-tools/image-viewer/image-viewer.component";
9
- import * as i6 from "./media-viewer-tools/pdf-reader/pdf-reader.component";
10
- import * as i7 from "./media-viewer-tools/video-player/video-player.component";
11
- import * as i8 from "./media-viewer-tools/file-info/file-info.component";
12
- import * as i9 from "./media-viewer-tools/full-screen/full-screen.component";
13
- import * as i10 from "@angular/common";
14
- import * as i11 from "@acorex/components/button";
15
- import * as i12 from "@acorex/components/decorators";
16
- import * as i13 from "@angular/cdk/portal";
17
- import * as i14 from "@angular/forms";
18
- import * as i15 from "@acorex/components/image";
19
- import * as i16 from "@acorex/components/loading";
6
+ import * as i3 from "./media-viewer-tools/audio-player/audio-player.component";
7
+ import * as i4 from "./media-viewer-tools/image-viewer/image-viewer.component";
8
+ import * as i5 from "./media-viewer-tools/pdf-reader/pdf-reader.component";
9
+ import * as i6 from "./media-viewer-tools/video-player/video-player.component";
10
+ import * as i7 from "./media-viewer-tools/file-info/file-info.component";
11
+ import * as i8 from "./media-viewer-tools/full-screen/full-screen.component";
12
+ import * as i9 from "@angular/common";
13
+ import * as i10 from "@acorex/components/button";
14
+ import * as i11 from "@acorex/components/decorators";
15
+ import * as i12 from "@angular/cdk/portal";
16
+ import * as i13 from "@angular/forms";
17
+ import * as i14 from "@acorex/components/image";
18
+ import * as i15 from "@acorex/components/loading";
19
+ import * as i16 from "@acorex/cdk/carousel";
20
+ import * as i17 from "@acorex/components/pdf-reader";
21
+ import * as i18 from "@acorex/components/video-player";
20
22
  export interface AXMediaViewerModuleConfig {
21
23
  types: AXMediaViewerType[];
22
24
  }
@@ -25,6 +27,6 @@ export declare class AXMediaViewerModule {
25
27
  static forRoot(config?: AXMediaViewerModuleConfig): ModuleWithProviders<AXMediaViewerModule>;
26
28
  static forChild(config?: AXMediaViewerModuleConfig): ModuleWithProviders<AXMediaViewerModule>;
27
29
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMediaViewerModule, [{ optional: true; }]>;
28
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXMediaViewerModule, [typeof i1.AXMediaViewerContainerComponent, typeof i2.AXMediaViewerSliderComponent, typeof i3.AXMediaViewerThumbnailComponent, typeof i4.AXAudioPlayerComponent, typeof i5.AXImageViewerComponent, typeof i6.AXPdfReaderComponent, typeof i7.AXVideoPlayerComponent, typeof i8.AXFileInfoComponent, typeof i9.AXFullScreenComponent], [typeof i10.CommonModule, typeof i11.AXButtonModule, typeof i12.AXDecoratorModule, typeof i13.CdkPortalOutlet, typeof i14.FormsModule, typeof i15.AXImageModule, typeof i16.AXLoadingModule], [typeof i1.AXMediaViewerContainerComponent, typeof i2.AXMediaViewerSliderComponent, typeof i3.AXMediaViewerThumbnailComponent, typeof i4.AXAudioPlayerComponent, typeof i5.AXImageViewerComponent, typeof i6.AXPdfReaderComponent, typeof i7.AXVideoPlayerComponent, typeof i8.AXFileInfoComponent, typeof i9.AXFullScreenComponent]>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMediaViewerModule, [typeof i1.AXMediaViewerContainerComponent, typeof i2.AXMediaViewerSliderComponent, typeof i3.AXAudioPlayerComponent, typeof i4.AXImageViewerComponent, typeof i5.PdfComponent, typeof i6.VideoPlayerComponent, typeof i7.AXFileInfoComponent, typeof i8.AXFullScreenComponent], [typeof i9.CommonModule, typeof i10.AXButtonModule, typeof i11.AXDecoratorModule, typeof i12.CdkPortalOutlet, typeof i13.FormsModule, typeof i14.AXImageModule, typeof i15.AXLoadingModule, typeof i16.AXCarouselDirective, typeof i17.AXPdfReaderModule, typeof i18.AXVideoPlayerModule], [typeof i1.AXMediaViewerContainerComponent, typeof i2.AXMediaViewerSliderComponent, typeof i3.AXAudioPlayerComponent, typeof i4.AXImageViewerComponent, typeof i5.PdfComponent, typeof i6.VideoPlayerComponent, typeof i7.AXFileInfoComponent, typeof i8.AXFullScreenComponent]>;
29
31
  static ɵinj: i0.ɵɵInjectorDeclaration<AXMediaViewerModule>;
30
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "19.2.0",
3
+ "version": "19.3.0-next.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=19.0.0",
6
6
  "@angular/core": ">=19.0.0",
@@ -225,6 +225,10 @@
225
225
  "types": "./password-box/index.d.ts",
226
226
  "default": "./fesm2022/acorex-components-password-box.mjs"
227
227
  },
228
+ "./pdf-reader": {
229
+ "types": "./pdf-reader/index.d.ts",
230
+ "default": "./fesm2022/acorex-components-pdf-reader.mjs"
231
+ },
228
232
  "./phone-box": {
229
233
  "types": "./phone-box/index.d.ts",
230
234
  "default": "./fesm2022/acorex-components-phone-box.mjs"
@@ -345,6 +349,10 @@
345
349
  "types": "./uploader/index.d.ts",
346
350
  "default": "./fesm2022/acorex-components-uploader.mjs"
347
351
  },
352
+ "./video-player": {
353
+ "types": "./video-player/index.d.ts",
354
+ "default": "./fesm2022/acorex-components-video-player.mjs"
355
+ },
348
356
  "./wysiwyg": {
349
357
  "types": "./wysiwyg/index.d.ts",
350
358
  "default": "./fesm2022/acorex-components-wysiwyg.mjs"
@@ -0,0 +1,3 @@
1
+ # @acorex/components/pdf-reader
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/pdf-reader`.
@@ -0,0 +1,2 @@
1
+ export * from './lib/pdf-reader.module';
2
+ export * from './lib/pdf-reader/pdf-reader.component';
@@ -0,0 +1,8 @@
1
+ import { DomSanitizer } from '@angular/platform-browser';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPdfReaderComponent {
4
+ sanitizer: DomSanitizer;
5
+ src: import("@angular/core").InputSignal<unknown>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPdfReaderComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPdfReaderComponent, "ax-pdf-reader", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pdf-reader/pdf-reader.component";
3
+ export declare class AXPdfReaderModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPdfReaderModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPdfReaderModule, [typeof i1.AXPdfReaderComponent], never, [typeof i1.AXPdfReaderComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXPdfReaderModule>;
7
+ }
@@ -4,5 +4,5 @@ export declare class AXTabStripChangedEvent extends AXEvent {
4
4
  tab: AXTabItemComponent;
5
5
  index: number;
6
6
  }
7
- export type AXTabLook = 'default' | 'pills' | 'pills-color' | 'with-line' | 'classic' | 'custom';
7
+ export type AXTabLook = 'default' | 'pills' | 'pills-color' | 'with-line' | 'with-line-color' | 'classic' | 'custom';
8
8
  export type AXTabLocation = 'top' | 'bottom' | 'start' | 'end';
@@ -18,6 +18,7 @@ export interface AXToastData {
18
18
  color: AXStyleColorType;
19
19
  timeOut?: number;
20
20
  timeOutProgress: boolean;
21
+ closeAllButton?: boolean;
21
22
  }
22
23
  export interface AXToastRef {
23
24
  close(): void;
@@ -3,6 +3,7 @@ import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/commo
3
3
  import { DialogRef } from '@angular/cdk/dialog';
4
4
  import { OnInit } from '@angular/core';
5
5
  import { AXToastData } from './toast.class';
6
+ import { AXToastService } from './toast.service';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * The Button is a component which detects user interaction and triggers a corresponding event
@@ -12,6 +13,8 @@ import * as i0 from "@angular/core";
12
13
  export declare class AXToastComponent extends MXBaseComponent implements OnInit {
13
14
  config: AXToastData;
14
15
  dialogRef: DialogRef<AXComponentCloseEvent>;
16
+ toastService: AXToastService;
17
+ createdDate: import("@angular/core").WritableSignal<number>;
15
18
  /** @ignore */
16
19
  protected _toastWidth: number;
17
20
  /** @ignore */
@@ -28,6 +31,7 @@ export declare class AXToastComponent extends MXBaseComponent implements OnInit
28
31
  private get __hostClass();
29
32
  /** @ignore */
30
33
  close(): void;
34
+ closeAll(): void;
31
35
  static ɵfac: i0.ɵɵFactoryDeclaration<AXToastComponent, never>;
32
36
  static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, {}, {}, never, never, false, never>;
33
37
  }
@@ -4,14 +4,13 @@ import * as i0 from "@angular/core";
4
4
  export declare class AXToastService {
5
5
  private readonly scrollStrategyOptions;
6
6
  private dialog;
7
- private translationService;
8
7
  private defaultConfig;
8
+ private translationService;
9
+ private reserveCounter;
9
10
  private activeToasts;
10
11
  private reservedToasts;
11
12
  private toastCounterElement;
12
- private moreToastsColor;
13
- private moreToastsLocation;
14
- private reserveCounter;
13
+ private moreToastsConfig;
15
14
  scrollStrategy: ScrollStrategy;
16
15
  constructor(scrollStrategyOptions: ScrollStrategyOptions);
17
16
  primary(content: string): void;
@@ -0,0 +1,3 @@
1
+ # @acorex/components/video-player
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/video-player`.
@@ -0,0 +1,2 @@
1
+ export * from './lib/video-player.module';
2
+ export * from './lib/video-player/video-player.component';
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXVideoPlayerComponent {
3
+ src: import("@angular/core").InputSignal<unknown>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXVideoPlayerComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXVideoPlayerComponent, "ax-video-player", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./video-player/video-player.component";
3
+ export declare class AXVideoPlayerModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXVideoPlayerModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXVideoPlayerModule, [typeof i1.AXVideoPlayerComponent], never, [typeof i1.AXVideoPlayerComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXVideoPlayerModule>;
7
+ }
@@ -1,11 +0,0 @@
1
- import { AXMediaViewerData } from '../media-viewer-types';
2
- import { AXMediaViewerService } from '../media-viewer.service';
3
- import * as i0 from "@angular/core";
4
- export declare class AXMediaViewerThumbnailComponent {
5
- protected service: AXMediaViewerService;
6
- protected data: import("@angular/core").WritableSignal<AXMediaViewerData[]>;
7
- constructor();
8
- protected clickHandler(e: MouseEvent, i: number): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMediaViewerThumbnailComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<AXMediaViewerThumbnailComponent, "ax-media-viewer-thumbnail", never, {}, {}, never, never, false, never>;
11
- }