@acorex/components 19.1.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 (58) hide show
  1. package/action-sheet/lib/action-sheet.class.d.ts +10 -0
  2. package/action-sheet/lib/action-sheet.component.d.ts +22 -3
  3. package/action-sheet/lib/action-sheet.service.d.ts +5 -2
  4. package/common/lib/classes/components.class.d.ts +1 -0
  5. package/decorators/lib/components/close-button.component.d.ts +2 -1
  6. package/fesm2022/acorex-components-action-sheet.mjs +225 -67
  7. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  8. package/fesm2022/acorex-components-calendar.mjs +17 -17
  9. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  10. package/fesm2022/acorex-components-common.mjs.map +1 -1
  11. package/fesm2022/acorex-components-decorators.mjs +21 -5
  12. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  13. package/fesm2022/acorex-components-grid-layout-builder.mjs +530 -0
  14. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -0
  15. package/fesm2022/acorex-components-map.mjs +0 -1
  16. package/fesm2022/acorex-components-map.mjs.map +1 -1
  17. package/fesm2022/acorex-components-media-viewer.mjs +245 -75
  18. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  19. package/fesm2022/acorex-components-notification.mjs +1 -1
  20. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  21. package/fesm2022/acorex-components-pdf-reader.mjs +39 -0
  22. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -0
  23. package/fesm2022/acorex-components-popup.mjs +1 -1
  24. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  25. package/fesm2022/acorex-components-select-box.mjs +1 -1
  26. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  27. package/fesm2022/acorex-components-tabs.mjs +9 -8
  28. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  29. package/fesm2022/acorex-components-toast.mjs +136 -123
  30. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  31. package/fesm2022/acorex-components-video-player.mjs +37 -0
  32. package/fesm2022/acorex-components-video-player.mjs.map +1 -0
  33. package/grid-layout-builder/README.md +3 -0
  34. package/grid-layout-builder/index.d.ts +4 -0
  35. package/grid-layout-builder/lib/grid-layout-builder.module.d.ts +9 -0
  36. package/grid-layout-builder/lib/grid-layout-container.component.d.ts +233 -0
  37. package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +95 -0
  38. package/grid-layout-builder/lib/types.d.ts +33 -0
  39. package/media-viewer/index.d.ts +0 -1
  40. package/media-viewer/lib/media-viewer-container/media-viewer-container.component.d.ts +21 -6
  41. package/media-viewer/lib/media-viewer-tools/file-info/file-info.component.d.ts +1 -2
  42. package/media-viewer/lib/media-viewer-tools/pdf-reader/pdf-reader.component.d.ts +3 -3
  43. package/media-viewer/lib/media-viewer-tools/video-player/video-player.component.d.ts +3 -3
  44. package/media-viewer/lib/media-viewer.module.d.ts +17 -15
  45. package/package.json +15 -2
  46. package/pdf-reader/README.md +3 -0
  47. package/pdf-reader/index.d.ts +2 -0
  48. package/pdf-reader/lib/pdf-reader/pdf-reader.component.d.ts +8 -0
  49. package/pdf-reader/lib/pdf-reader.module.d.ts +7 -0
  50. package/tabs/lib/tabs.class.d.ts +1 -1
  51. package/toast/lib/toast.class.d.ts +1 -0
  52. package/toast/lib/toast.component.d.ts +4 -0
  53. package/toast/lib/toast.service.d.ts +3 -4
  54. package/video-player/README.md +3 -0
  55. package/video-player/index.d.ts +2 -0
  56. package/video-player/lib/video-player/video-player.component.d.ts +6 -0
  57. package/video-player/lib/video-player.module.d.ts +7 -0
  58. package/media-viewer/lib/media-viewer-thumbnail/media-viewer-thumbnail.component.d.ts +0 -11
@@ -1,8 +1,8 @@
1
1
  import { AXMediaViewerBaseComponent, AXMediaViewerData } from '../../media-viewer-types';
2
2
  import * as i0 from "@angular/core";
3
- export declare class AXVideoPlayerComponent extends AXMediaViewerBaseComponent {
3
+ export declare class VideoPlayerComponent extends AXMediaViewerBaseComponent {
4
4
  dataObject: import("@angular/core").WritableSignal<AXMediaViewerData>;
5
5
  constructor();
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXVideoPlayerComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AXVideoPlayerComponent, "ax-video-player", never, {}, {}, never, never, false, never>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<VideoPlayerComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<VideoPlayerComponent, "ax-video", never, {}, {}, never, never, false, never>;
8
8
  }
@@ -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.1.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",
@@ -8,7 +8,8 @@
8
8
  "polytype": ">=0.17.0",
9
9
  "imask": ">=7.6.1",
10
10
  "angular-imask": ">=7.6.1",
11
- "qrcode": "^1.5.4"
11
+ "qrcode": "^1.5.4",
12
+ "gridstack": "^11.1.2"
12
13
  },
13
14
  "dependencies": {
14
15
  "tslib": "^2.3.0"
@@ -148,6 +149,10 @@
148
149
  "types": "./form/index.d.ts",
149
150
  "default": "./fesm2022/acorex-components-form.mjs"
150
151
  },
152
+ "./grid-layout-builder": {
153
+ "types": "./grid-layout-builder/index.d.ts",
154
+ "default": "./fesm2022/acorex-components-grid-layout-builder.mjs"
155
+ },
151
156
  "./image": {
152
157
  "types": "./image/index.d.ts",
153
158
  "default": "./fesm2022/acorex-components-image.mjs"
@@ -220,6 +225,10 @@
220
225
  "types": "./password-box/index.d.ts",
221
226
  "default": "./fesm2022/acorex-components-password-box.mjs"
222
227
  },
228
+ "./pdf-reader": {
229
+ "types": "./pdf-reader/index.d.ts",
230
+ "default": "./fesm2022/acorex-components-pdf-reader.mjs"
231
+ },
223
232
  "./phone-box": {
224
233
  "types": "./phone-box/index.d.ts",
225
234
  "default": "./fesm2022/acorex-components-phone-box.mjs"
@@ -340,6 +349,10 @@
340
349
  "types": "./uploader/index.d.ts",
341
350
  "default": "./fesm2022/acorex-components-uploader.mjs"
342
351
  },
352
+ "./video-player": {
353
+ "types": "./video-player/index.d.ts",
354
+ "default": "./fesm2022/acorex-components-video-player.mjs"
355
+ },
343
356
  "./wysiwyg": {
344
357
  "types": "./wysiwyg/index.d.ts",
345
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
- }