@acorex/components 18.9.8 → 18.10.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-qrcode.mjs","sources":["../../../../libs/components/qrcode/src/lib/qrcode.class.ts","../../../../libs/components/qrcode/src/lib/qrcode.component.ts","../../../../libs/components/qrcode/src/lib/qrcode.component.html","../../../../libs/components/qrcode/src/lib/qrcode.module.ts","../../../../libs/components/qrcode/src/acorex-components-qrcode.ts"],"sourcesContent":["export type AXQrcodeOutputType = 'canvas' | 'svg' | 'url';\nexport type AXQrcodeLevel = 'L' | 'M' | 'Q' | 'H';\n\nexport function debounce(func, delay) {\n let timeoutId;\n\n return function (...args) {\n // Clear the existing timeout if there is one\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n\n // Set a new timeout\n timeoutId = setTimeout(() => {\n func(...args);\n }, delay);\n };\n}\n","import { AXValuableComponent } from '@acorex/components/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n forwardRef,\n input,\n signal,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport QRCode from 'qrcode';\nimport { AXQrcodeLevel, AXQrcodeOutputType } from './qrcode.class';\n\n@Component({\n selector: 'ax-qrcode',\n templateUrl: './qrcode.component.html',\n styleUrls: ['./qrcode.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: AXValuableComponent, useExisting: AXQrcodeComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXQrcodeComponent),\n multi: true,\n },\n ],\n})\nexport class AXQrcodeComponent implements AfterViewInit {\n /**\n * @description Value of QR code\n */\n content = input.required<string>();\n /**\n * @description Size of the QR code\n * @default 256\n */\n size = input(256);\n /**\n * @description Error correction level can be 'L' | 'M' | 'Q' | 'H'\n * @default 'M'\n */\n level = input<AXQrcodeLevel>('M');\n /**\n * @description QR code color, can be a hex code or CSS color name\n * @default '#000000'\n */\n color = input('#000000');\n /**\n * @description QR code Background color, can be a hex code or CSS color name\n * @default '#FFFFFF'\n */\n backgroundColor = input('#FFFFFF');\n /**\n * @description Type of output can be 'canvas' | 'svg' | 'url'\n * @default 'canvas'\n */\n outputType = input<AXQrcodeOutputType>('canvas'); //\n /**\n * @ignore\n */\n /**\n * @description // Holds base64 or URL if outputType is 'url' or 'base64'\n */\n protected qrCodeUrl = signal<string | undefined>(undefined);\n /**\n * @ignore\n */\n private canvas = viewChild<ElementRef<HTMLCanvasElement>>('canvas');\n /**\n * @ignore\n */\n private svg = viewChild<ElementRef<HTMLCanvasElement>>('svg');\n /**\n * @ignore\n */\n\n constructor() {\n effect(\n () => {\n this.generateQRCode();\n },\n {\n allowSignalWrites: true,\n },\n );\n }\n // ngOnChanges(): void {\n // const debunce = debounce(this.generateQRCode, 500);\n // debunce();\n // }\n ngAfterViewInit() {\n this.generateQRCode();\n }\n\n private generateQRCode() {\n if (!this.content()) return;\n const options = {\n margin: 0,\n width: this.size(),\n errorCorrectionLevel: this.level(),\n color: {\n dark: this.color(),\n light: this.backgroundColor(),\n },\n };\n\n if (this.outputType() === 'canvas') {\n QRCode.toCanvas(this.canvas().nativeElement, this.content(), options, (error) => {\n if (error) {\n console.error(error);\n }\n });\n } else if (this.outputType() === 'svg') {\n QRCode.toString(this.content(), { ...options, type: 'svg' }, (error, svgString) => {\n if (error) {\n console.error(error);\n } else {\n this.svg().nativeElement.innerHTML = svgString;\n }\n });\n } else {\n QRCode.toDataURL(this.content(), options, (error, url) => {\n if (error) {\n console.error(error);\n } else {\n this.qrCodeUrl.set(url);\n }\n });\n }\n }\n}\n","<div class=\"qrcode\"></div>\n@if (outputType() === 'canvas') {\n <canvas #canvas></canvas>\n} @else if (outputType() === 'svg') {\n <div #svg></div>\n} @else {\n <img [src]=\"qrCodeUrl()\" alt=\"QR Code\" #img />\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXQrcodeComponent } from './qrcode.component';\n\n@NgModule({\n declarations: [AXQrcodeComponent],\n imports: [CommonModule],\n exports: [AXQrcodeComponent],\n})\nexport class QrcodeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAGgB,SAAA,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAA;AAClC,IAAA,IAAI,SAAS,CAAC;IAEd,OAAO,UAAU,GAAG,IAAI,EAAA;;QAEtB,IAAI,SAAS,EAAE;YACb,YAAY,CAAC,SAAS,CAAC,CAAC;SACzB;;AAGD,QAAA,SAAS,GAAG,UAAU,CAAC,MAAK;AAC1B,YAAA,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;SACf,EAAE,KAAK,CAAC,CAAC;AACZ,KAAC,CAAC;AACJ;;MCea,iBAAiB,CAAA;AA6C5B;;AAEG;AAEH,IAAA,WAAA,GAAA;AAhDA;;AAEG;AACH,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AACnC;;;AAGG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;AAClB;;;AAGG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAgB,GAAG,CAAC,CAAC;AAClC;;;AAGG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;AACzB;;;AAGG;AACH,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;AACnC;;;AAGG;AACH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAqB,QAAQ,CAAC,CAAC;AACjD;;AAEG;AACH;;AAEG;AACO,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAqB,SAAS,CAAC,CAAC;AAC5D;;AAEG;AACK,QAAA,IAAA,CAAA,MAAM,GAAG,SAAS,CAAgC,QAAQ,CAAC,CAAC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CAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-qrcode.mjs","sources":["../../../../libs/components/qrcode/src/lib/qrcode.class.ts","../../../../libs/components/qrcode/src/lib/qrcode.component.ts","../../../../libs/components/qrcode/src/lib/qrcode.component.html","../../../../libs/components/qrcode/src/lib/qrcode.module.ts","../../../../libs/components/qrcode/src/acorex-components-qrcode.ts"],"sourcesContent":["export type AXQrcodeOutputType = 'canvas' | 'svg' | 'url';\nexport type AXQrcodeLevel = 'L' | 'M' | 'Q' | 'H';\n\nexport function debounce(func, delay) {\n let timeoutId;\n\n return function (...args) {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n func(...args);\n }, delay);\n };\n}\n","import { generateQRCode } from '@acorex/cdk/qrcode';\nimport { AXValuableComponent } from '@acorex/components/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n forwardRef,\n input,\n signal,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { AXQrcodeLevel, AXQrcodeOutputType } from './qrcode.class';\n\n@Component({\n selector: 'ax-qrcode',\n templateUrl: './qrcode.component.html',\n styleUrls: ['./qrcode.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: AXValuableComponent, useExisting: AXQrcodeComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXQrcodeComponent),\n multi: true,\n },\n ],\n})\nexport class AXQrcodeComponent implements AfterViewInit {\n /**\n * @description Value of QR code\n */\n content = input.required<string>();\n /**\n * @description Size of the QR code\n * @default 256\n */\n size = input(256);\n /**\n * @description Error correction level can be 'L' | 'M' | 'Q' | 'H'\n * @default 'M'\n */\n level = input<AXQrcodeLevel>('M');\n /**\n * @description QR code color, can be a hex code or CSS color name\n * @default '#000000'\n */\n color = input('#000000');\n /**\n * @description QR code Background color, can be a hex code or CSS color name\n * @default '#FFFFFF'\n */\n backgroundColor = input('#FFFFFF');\n /**\n * @description Type of output can be 'canvas' | 'svg' | 'url'\n * @default 'canvas'\n */\n outputType = input<AXQrcodeOutputType>('canvas'); //\n /**\n * @ignore\n */\n /**\n * @description // Holds base64 or URL if outputType is 'url' or 'base64'\n */\n protected qrCodeUrl = signal<string | undefined>(undefined);\n /**\n * @ignore\n */\n private canvas = viewChild<ElementRef<HTMLCanvasElement>>('canvas');\n /**\n * @ignore\n */\n private svg = viewChild<ElementRef<HTMLCanvasElement>>('svg');\n /**\n * @ignore\n */\n calculateLogoSize = computed(() => {\n switch (this.level()) {\n case 'L':\n return Math.sqrt((5 / 100) * (this.size() * this.size()));\n case 'M':\n return Math.sqrt((8 / 100) * (this.size() * this.size()));\n case 'Q':\n return Math.sqrt((11 / 100) * (this.size() * this.size()));\n case 'H':\n return Math.sqrt((14 / 100) * (this.size() * this.size()));\n }\n });\n constructor() {\n effect(\n () => {\n this.generate();\n },\n {\n allowSignalWrites: true,\n },\n );\n }\n\n ngAfterViewInit() {\n this.generate();\n }\n generate() {\n generateQRCode(\n this.content(),\n this.size(),\n this.level(),\n this.color(),\n this.backgroundColor(),\n this.outputType(),\n this.canvas()?.nativeElement,\n this.svg()?.nativeElement,\n )\n .then((result) => {\n if (this.outputType() === 'url') {\n this.qrCodeUrl.set(result as string);\n }\n })\n .catch((error) => {\n console.error(error);\n });\n }\n}\n","<div class=\"qrcode\">\n @if (outputType() === 'canvas') {\n <canvas #canvas></canvas>\n } @else if (outputType() === 'svg') {\n <div #svg></div>\n } @else {\n <img [src]=\"qrCodeUrl()\" alt=\"QR Code\" />\n }\n <div class=\"logo-container\" [style.width.px]=\"calculateLogoSize()\" [style.height.px]=\"calculateLogoSize()\">\n <ng-content select=\"img\"></ng-content>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXQrcodeComponent } from './qrcode.component';\n\n@NgModule({\n declarations: [AXQrcodeComponent],\n imports: [CommonModule],\n exports: [AXQrcodeComponent],\n})\nexport class QrcodeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAGgB,SAAA,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAA;AAClC,IAAA,IAAI,SAAS,CAAC;IAEd,OAAO,UAAU,GAAG,IAAI,EAAA;QACtB,IAAI,SAAS,EAAE;YACb,YAAY,CAAC,SAAS,CAAC,CAAC;SACzB;AACD,QAAA,SAAS,GAAG,UAAU,CAAC,MAAK;AAC1B,YAAA,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;SACf,EAAE,KAAK,CAAC,CAAC;AACZ,KAAC,CAAC;AACJ;;MCmBa,iBAAiB,CAAA;AA4D5B,IAAA,WAAA,GAAA;AA3DA;;AAEG;AACH,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AACnC;;;AAGG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;AAClB;;;AAGG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAgB,GAAG,CAAC,CAAC;AAClC;;;AAGG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;AACzB;;;AAGG;AACH,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;AACnC;;;AAGG;AACH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAqB,QAAQ,CAAC,CAAC;AACjD;;AAEG;AACH;;AAEG;AACO,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAqB,SAAS,CAAC,CAAC;AAC5D;;AAEG;AACK,QAAA,IAAA,CAAA,MAAM,GAAG,SAAS,CAAgC,QAAQ,CAAC,CAAC;AACpE;;AAEG;AACK,QAAA,IAAA,CAAA,GAAG,GAAG,SAAS,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@angular/core";
8
8
  * @category Components
9
9
  */
10
10
  export declare class AXMenuItemComponent extends MXInteractiveComponent {
11
+ service: AXMenuService;
11
12
  /** @ignore */
12
13
  /** @ignore */
13
14
  private popover;
14
15
  /**
15
- * Injects the `AXMenuService` for managing menu interactions.
16
- */
16
+ * Injects the `AXMenuService` for managing menu interactions.
17
+ */
17
18
  menuService: AXMenuService;
18
19
  /**
19
- * The vertical offset for positioning, initialized to 0.
20
- */
20
+ * The vertical offset for positioning, initialized to 0.
21
+ */
21
22
  offsetY: import("@angular/core").WritableSignal<number>;
22
23
  /**
23
- * The horizontal offset for positioning, initialized to 0.
24
- */
24
+ * The horizontal offset for positioning, initialized to 0.
25
+ */
25
26
  offsetX: import("@angular/core").WritableSignal<number>;
26
27
  /**
27
- * The text content, initialized to an empty string.
28
- */
28
+ * The text content, initialized to an empty string.
29
+ */
29
30
  text: import("@angular/core").InputSignal<string>;
30
31
  /**
31
- * Indicates whether the item is active.
32
- */
32
+ * Indicates whether the item is active.
33
+ */
33
34
  active: import("@angular/core").InputSignal<boolean>;
34
35
  /**
35
- * Emitted when the active state changes.
36
- */
36
+ * Emitted when the active state changes.
37
+ */
37
38
  activeChange: import("@angular/core").OutputEmitterRef<boolean>;
38
39
  /**
39
- * Emitted when the element is clicked.
40
- */
40
+ * Emitted when the element is clicked.
41
+ */
41
42
  onClick: import("@angular/core").OutputEmitterRef<AXClickEvent>;
42
43
  /**
43
- * Indicates whether the component is a root menu item.
44
- * @defaultValue false
45
- */
44
+ * Indicates whether the component is a root menu item.
45
+ * @defaultValue false
46
+ */
46
47
  isRoot: boolean;
47
48
  /**
48
- * The parent menu item component, if any.
49
- */
49
+ * The parent menu item component, if any.
50
+ */
50
51
  parent?: AXMenuItemComponent;
51
52
  /**
52
- * Injects the root menu service.
53
- */
53
+ * Injects the root menu service.
54
+ */
54
55
  rootMenu: AXRootMenu;
55
56
  /** @ignore */
56
57
  children: QueryList<AXMenuItemComponent>;
57
58
  /** @ignore */
58
59
  constructor();
59
60
  /**
60
- * Closes the popover if it is open.
61
- */
61
+ * Closes the popover if it is open.
62
+ */
62
63
  close(): void;
63
64
  /** @ignore */
64
65
  _handleOnOpened(): void;
65
66
  /** @ignore */
66
67
  _handleOnClosed(): void;
67
68
  /**
68
- * Returns the icon based on the orientation of the root menu.
69
- */
69
+ * Returns the icon based on the orientation of the root menu.
70
+ */
70
71
  getIcon(): "ax-icon-arrow-right" | "ax-icon-arrow-down";
71
72
  /**
72
- * Determines the placement based on the root menu's orientation: 'bottom-start' for horizontal root, 'end-top' otherwise.
73
- */
73
+ * Determines the placement based on the root menu's orientation: 'bottom-start' for horizontal root, 'end-top' otherwise.
74
+ */
74
75
  getPlacement(): "bottom-start" | "end-top";
75
76
  /** @ignore */
76
77
  get __hostClass(): string[];
@@ -2,6 +2,7 @@ import { AXOrientation, MXBaseComponent } from '@acorex/components/common';
2
2
  import { AfterViewInit, QueryList } from '@angular/core';
3
3
  import { AXMenuPopoverTrigger } from './class/popover.class';
4
4
  import { AXMenuItemComponent } from './menu-item/menu-item.component';
5
+ import { AXMenuService } from './menu.service';
5
6
  import * as i0 from "@angular/core";
6
7
  /**
7
8
  * Represents a menu component that displays menu items.
@@ -10,8 +11,13 @@ import * as i0 from "@angular/core";
10
11
  export declare class AXMenuComponent extends MXBaseComponent implements AfterViewInit {
11
12
  orientation: import("@angular/core").InputSignal<AXOrientation>;
12
13
  openOn: import("@angular/core").InputSignal<AXMenuPopoverTrigger>;
14
+ service: AXMenuService;
15
+ menuHeight: import("@angular/core").WritableSignal<string>;
16
+ isMenuOpen: import("@angular/core").WritableSignal<boolean>;
13
17
  /** @ignore */
14
18
  children: QueryList<AXMenuItemComponent>;
19
+ constructor();
20
+ showMenuHandler(): void;
15
21
  /** @ignore */
16
22
  ngAfterViewInit(): void;
17
23
  /** @ignore */
@@ -7,8 +7,9 @@ import * as i5 from "@acorex/components/loading";
7
7
  import * as i6 from "@acorex/core/translation";
8
8
  import * as i7 from "@angular/cdk/overlay";
9
9
  import * as i8 from "@acorex/components/popover";
10
+ import * as i9 from "@acorex/components/button";
10
11
  export declare class AXMenuModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXMenuModule, [typeof i1.AXMenuItemComponent, typeof i2.AXMenuComponent], [typeof i3.CommonModule, typeof i4.AXDecoratorModule, typeof i5.AXLoadingModule, typeof i6.AXTranslationModule, typeof i7.OverlayModule, typeof i8.AXPopoverModule], [typeof i1.AXMenuItemComponent, typeof i2.AXMenuComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMenuModule, [typeof i1.AXMenuItemComponent, typeof i2.AXMenuComponent], [typeof i3.CommonModule, typeof i4.AXDecoratorModule, typeof i5.AXLoadingModule, typeof i6.AXTranslationModule, typeof i7.OverlayModule, typeof i8.AXPopoverModule, typeof i9.AXButtonModule], [typeof i1.AXMenuItemComponent, typeof i2.AXMenuComponent]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<AXMenuModule>;
14
15
  }
@@ -3,6 +3,10 @@ import { AXMenuItemComponent } from './menu-item/menu-item.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AXMenuService {
5
5
  activeMenus$: BehaviorSubject<AXMenuItemComponent[]>;
6
+ rightOverflow: import("@angular/core").WritableSignal<number>;
7
+ leftOverflow: import("@angular/core").WritableSignal<number>;
8
+ overflowElements: import("@angular/core").WritableSignal<HTMLElement[]>;
9
+ notOverflowElements: import("@angular/core").WritableSignal<HTMLElement[]>;
6
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuService, never>;
7
11
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMenuService>;
8
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "18.9.8",
3
+ "version": "18.10.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.2.0",
6
6
  "@angular/core": ">=18.2.0",
@@ -32,6 +32,12 @@
32
32
  "esm": "./esm2022/action-sheet/acorex-components-action-sheet.mjs",
33
33
  "default": "./fesm2022/acorex-components-action-sheet.mjs"
34
34
  },
35
+ "./alert": {
36
+ "types": "./alert/index.d.ts",
37
+ "esm2022": "./esm2022/alert/acorex-components-alert.mjs",
38
+ "esm": "./esm2022/alert/acorex-components-alert.mjs",
39
+ "default": "./fesm2022/acorex-components-alert.mjs"
40
+ },
35
41
  "./audio-wave": {
36
42
  "types": "./audio-wave/index.d.ts",
37
43
  "esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
@@ -44,30 +50,24 @@
44
50
  "esm": "./esm2022/badge/acorex-components-badge.mjs",
45
51
  "default": "./fesm2022/acorex-components-badge.mjs"
46
52
  },
47
- "./bottom-navigation": {
48
- "types": "./bottom-navigation/index.d.ts",
49
- "esm2022": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
50
- "esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
51
- "default": "./fesm2022/acorex-components-bottom-navigation.mjs"
52
- },
53
53
  "./breadcrumbs": {
54
54
  "types": "./breadcrumbs/index.d.ts",
55
55
  "esm2022": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
56
56
  "esm": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
57
57
  "default": "./fesm2022/acorex-components-breadcrumbs.mjs"
58
58
  },
59
- "./alert": {
60
- "types": "./alert/index.d.ts",
61
- "esm2022": "./esm2022/alert/acorex-components-alert.mjs",
62
- "esm": "./esm2022/alert/acorex-components-alert.mjs",
63
- "default": "./fesm2022/acorex-components-alert.mjs"
64
- },
65
59
  "./avatar": {
66
60
  "types": "./avatar/index.d.ts",
67
61
  "esm2022": "./esm2022/avatar/acorex-components-avatar.mjs",
68
62
  "esm": "./esm2022/avatar/acorex-components-avatar.mjs",
69
63
  "default": "./fesm2022/acorex-components-avatar.mjs"
70
64
  },
65
+ "./bottom-navigation": {
66
+ "types": "./bottom-navigation/index.d.ts",
67
+ "esm2022": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
68
+ "esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
69
+ "default": "./fesm2022/acorex-components-bottom-navigation.mjs"
70
+ },
71
71
  "./button": {
72
72
  "types": "./button/index.d.ts",
73
73
  "esm2022": "./esm2022/button/acorex-components-button.mjs",
@@ -170,23 +170,17 @@
170
170
  "esm": "./esm2022/datetime-picker/acorex-components-datetime-picker.mjs",
171
171
  "default": "./fesm2022/acorex-components-datetime-picker.mjs"
172
172
  },
173
- "./dialog": {
174
- "types": "./dialog/index.d.ts",
175
- "esm2022": "./esm2022/dialog/acorex-components-dialog.mjs",
176
- "esm": "./esm2022/dialog/acorex-components-dialog.mjs",
177
- "default": "./fesm2022/acorex-components-dialog.mjs"
178
- },
179
173
  "./decorators": {
180
174
  "types": "./decorators/index.d.ts",
181
175
  "esm2022": "./esm2022/decorators/acorex-components-decorators.mjs",
182
176
  "esm": "./esm2022/decorators/acorex-components-decorators.mjs",
183
177
  "default": "./fesm2022/acorex-components-decorators.mjs"
184
178
  },
185
- "./drawer": {
186
- "types": "./drawer/index.d.ts",
187
- "esm2022": "./esm2022/drawer/acorex-components-drawer.mjs",
188
- "esm": "./esm2022/drawer/acorex-components-drawer.mjs",
189
- "default": "./fesm2022/acorex-components-drawer.mjs"
179
+ "./dialog": {
180
+ "types": "./dialog/index.d.ts",
181
+ "esm2022": "./esm2022/dialog/acorex-components-dialog.mjs",
182
+ "esm": "./esm2022/dialog/acorex-components-dialog.mjs",
183
+ "default": "./fesm2022/acorex-components-dialog.mjs"
190
184
  },
191
185
  "./dropdown": {
192
186
  "types": "./dropdown/index.d.ts",
@@ -194,6 +188,12 @@
194
188
  "esm": "./esm2022/dropdown/acorex-components-dropdown.mjs",
195
189
  "default": "./fesm2022/acorex-components-dropdown.mjs"
196
190
  },
191
+ "./drawer": {
192
+ "types": "./drawer/index.d.ts",
193
+ "esm2022": "./esm2022/drawer/acorex-components-drawer.mjs",
194
+ "esm": "./esm2022/drawer/acorex-components-drawer.mjs",
195
+ "default": "./fesm2022/acorex-components-drawer.mjs"
196
+ },
197
197
  "./dropdown-button": {
198
198
  "types": "./dropdown-button/index.d.ts",
199
199
  "esm2022": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
@@ -224,30 +224,30 @@
224
224
  "esm": "./esm2022/list/acorex-components-list.mjs",
225
225
  "default": "./fesm2022/acorex-components-list.mjs"
226
226
  },
227
- "./loading": {
228
- "types": "./loading/index.d.ts",
229
- "esm2022": "./esm2022/loading/acorex-components-loading.mjs",
230
- "esm": "./esm2022/loading/acorex-components-loading.mjs",
231
- "default": "./fesm2022/acorex-components-loading.mjs"
232
- },
233
- "./loading-dialog": {
234
- "types": "./loading-dialog/index.d.ts",
235
- "esm2022": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
236
- "esm": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
237
- "default": "./fesm2022/acorex-components-loading-dialog.mjs"
238
- },
239
227
  "./media-viewer": {
240
228
  "types": "./media-viewer/index.d.ts",
241
229
  "esm2022": "./esm2022/media-viewer/acorex-components-media-viewer.mjs",
242
230
  "esm": "./esm2022/media-viewer/acorex-components-media-viewer.mjs",
243
231
  "default": "./fesm2022/acorex-components-media-viewer.mjs"
244
232
  },
233
+ "./loading": {
234
+ "types": "./loading/index.d.ts",
235
+ "esm2022": "./esm2022/loading/acorex-components-loading.mjs",
236
+ "esm": "./esm2022/loading/acorex-components-loading.mjs",
237
+ "default": "./fesm2022/acorex-components-loading.mjs"
238
+ },
245
239
  "./menu": {
246
240
  "types": "./menu/index.d.ts",
247
241
  "esm2022": "./esm2022/menu/acorex-components-menu.mjs",
248
242
  "esm": "./esm2022/menu/acorex-components-menu.mjs",
249
243
  "default": "./fesm2022/acorex-components-menu.mjs"
250
244
  },
245
+ "./loading-dialog": {
246
+ "types": "./loading-dialog/index.d.ts",
247
+ "esm2022": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
248
+ "esm": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
249
+ "default": "./fesm2022/acorex-components-loading-dialog.mjs"
250
+ },
251
251
  "./nav": {
252
252
  "types": "./nav/index.d.ts",
253
253
  "esm2022": "./esm2022/nav/acorex-components-nav.mjs",
@@ -326,18 +326,18 @@
326
326
  "esm": "./esm2022/progress-bar/acorex-components-progress-bar.mjs",
327
327
  "default": "./fesm2022/acorex-components-progress-bar.mjs"
328
328
  },
329
- "./radio": {
330
- "types": "./radio/index.d.ts",
331
- "esm2022": "./esm2022/radio/acorex-components-radio.mjs",
332
- "esm": "./esm2022/radio/acorex-components-radio.mjs",
333
- "default": "./fesm2022/acorex-components-radio.mjs"
334
- },
335
329
  "./qrcode": {
336
330
  "types": "./qrcode/index.d.ts",
337
331
  "esm2022": "./esm2022/qrcode/acorex-components-qrcode.mjs",
338
332
  "esm": "./esm2022/qrcode/acorex-components-qrcode.mjs",
339
333
  "default": "./fesm2022/acorex-components-qrcode.mjs"
340
334
  },
335
+ "./radio": {
336
+ "types": "./radio/index.d.ts",
337
+ "esm2022": "./esm2022/radio/acorex-components-radio.mjs",
338
+ "esm": "./esm2022/radio/acorex-components-radio.mjs",
339
+ "default": "./fesm2022/acorex-components-radio.mjs"
340
+ },
341
341
  "./range-slider": {
342
342
  "types": "./range-slider/index.d.ts",
343
343
  "esm2022": "./esm2022/range-slider/acorex-components-range-slider.mjs",
@@ -350,18 +350,18 @@
350
350
  "esm": "./esm2022/result/acorex-components-result.mjs",
351
351
  "default": "./fesm2022/acorex-components-result.mjs"
352
352
  },
353
- "./routing-progress": {
354
- "types": "./routing-progress/index.d.ts",
355
- "esm2022": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
356
- "esm": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
357
- "default": "./fesm2022/acorex-components-routing-progress.mjs"
358
- },
359
353
  "./scheduler": {
360
354
  "types": "./scheduler/index.d.ts",
361
355
  "esm2022": "./esm2022/scheduler/acorex-components-scheduler.mjs",
362
356
  "esm": "./esm2022/scheduler/acorex-components-scheduler.mjs",
363
357
  "default": "./fesm2022/acorex-components-scheduler.mjs"
364
358
  },
359
+ "./routing-progress": {
360
+ "types": "./routing-progress/index.d.ts",
361
+ "esm2022": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
362
+ "esm": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
363
+ "default": "./fesm2022/acorex-components-routing-progress.mjs"
364
+ },
365
365
  "./scss": {
366
366
  "types": "./scss/index.d.ts",
367
367
  "esm2022": "./esm2022/scss/acorex-components-scss.mjs",
@@ -386,6 +386,12 @@
386
386
  "esm": "./esm2022/selection-list/acorex-components-selection-list.mjs",
387
387
  "default": "./fesm2022/acorex-components-selection-list.mjs"
388
388
  },
389
+ "./slider": {
390
+ "types": "./slider/index.d.ts",
391
+ "esm2022": "./esm2022/slider/acorex-components-slider.mjs",
392
+ "esm": "./esm2022/slider/acorex-components-slider.mjs",
393
+ "default": "./fesm2022/acorex-components-slider.mjs"
394
+ },
389
395
  "./side-menu": {
390
396
  "types": "./side-menu/index.d.ts",
391
397
  "esm2022": "./esm2022/side-menu/acorex-components-side-menu.mjs",
@@ -398,12 +404,6 @@
398
404
  "esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
399
405
  "default": "./fesm2022/acorex-components-skeleton.mjs"
400
406
  },
401
- "./slider": {
402
- "types": "./slider/index.d.ts",
403
- "esm2022": "./esm2022/slider/acorex-components-slider.mjs",
404
- "esm": "./esm2022/slider/acorex-components-slider.mjs",
405
- "default": "./fesm2022/acorex-components-slider.mjs"
406
- },
407
407
  "./step-wizard": {
408
408
  "types": "./step-wizard/index.d.ts",
409
409
  "esm2022": "./esm2022/step-wizard/acorex-components-step-wizard.mjs",
@@ -49,9 +49,10 @@ export declare class AXQrcodeComponent implements AfterViewInit {
49
49
  /**
50
50
  * @ignore
51
51
  */
52
+ calculateLogoSize: import("@angular/core").Signal<number>;
52
53
  constructor();
53
54
  ngAfterViewInit(): void;
54
- private generateQRCode;
55
+ generate(): void;
55
56
  static ɵfac: i0.ɵɵFactoryDeclaration<AXQrcodeComponent, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<AXQrcodeComponent, "ax-qrcode", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; "isSignal": true; }; "outputType": { "alias": "outputType"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXQrcodeComponent, "ax-qrcode", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; "isSignal": true; }; "outputType": { "alias": "outputType"; "required": false; "isSignal": true; }; }, {}, never, ["img"], false, never>;
57
58
  }