@acorex/components 18.5.17 → 18.6.0

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 (135) hide show
  1. package/audio-wave/lib/audio-wave.component.d.ts +5 -0
  2. package/button-group/lib/button-group.component.d.ts +5 -2
  3. package/circular-progress/lib/circular-progress.component.d.ts +21 -57
  4. package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +28 -0
  5. package/data-pager/lib/data-pager-prev-buttons.component.d.ts +20 -0
  6. package/data-pager/lib/data-pager.component.d.ts +111 -0
  7. package/data-table/lib/columns/data-text-column.component.d.ts +58 -0
  8. package/data-table/lib/columns/row-command-column.component.d.ts +83 -0
  9. package/data-table/lib/columns/row-index-column.component.d.ts +51 -0
  10. package/data-table/lib/columns/row-select-column.component.d.ts +47 -0
  11. package/data-table/lib/data-table/data-table.component.d.ts +200 -0
  12. package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +185 -0
  13. package/datetime-box/lib/datetime-box.component.d.ts +59 -1
  14. package/datetime-input/lib/datetime-input.component.d.ts +133 -0
  15. package/datetime-picker/lib/datetime-picker.component.d.ts +95 -0
  16. package/decorators/lib/components/clear-button.component.d.ts +25 -0
  17. package/decorators/lib/components/close-button.component.d.ts +22 -0
  18. package/decorators/lib/components/generic-content.component.d.ts +4 -0
  19. package/decorators/lib/components/icon.component.d.ts +12 -0
  20. package/dialog/lib/dialog.component.d.ts +20 -0
  21. package/drawer/lib/drawer-container.component.d.ts +7 -0
  22. package/drawer/lib/drawer.component.d.ts +104 -0
  23. package/dropdown/lib/dropdown-box.component.d.ts +66 -0
  24. package/dropdown/lib/dropdown-panel.component.d.ts +85 -0
  25. package/dropdown-button/lib/dropdown-button.component.d.ts +38 -0
  26. package/esm2022/audio-wave/lib/audio-wave.component.mjs +6 -1
  27. package/esm2022/button-group/lib/button-group.component.mjs +6 -3
  28. package/esm2022/circular-progress/lib/circular-progress.component.mjs +45 -114
  29. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +23 -1
  30. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +18 -1
  31. package/esm2022/data-pager/lib/data-pager.component.mjs +109 -1
  32. package/esm2022/data-table/lib/columns/data-text-column.component.mjs +32 -1
  33. package/esm2022/data-table/lib/columns/row-command-column.component.mjs +63 -1
  34. package/esm2022/data-table/lib/columns/row-index-column.component.mjs +40 -1
  35. package/esm2022/data-table/lib/columns/row-select-column.component.mjs +39 -1
  36. package/esm2022/data-table/lib/data-table/data-table.component.mjs +183 -1
  37. package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +159 -1
  38. package/esm2022/datetime-box/lib/datetime-box.component.mjs +51 -2
  39. package/esm2022/datetime-input/lib/datetime-input.component.mjs +122 -1
  40. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +90 -1
  41. package/esm2022/decorators/lib/components/clear-button.component.mjs +26 -1
  42. package/esm2022/decorators/lib/components/close-button.component.mjs +23 -1
  43. package/esm2022/decorators/lib/components/generic-content.component.mjs +5 -1
  44. package/esm2022/decorators/lib/components/icon.component.mjs +13 -1
  45. package/esm2022/dialog/lib/dialog.component.mjs +18 -1
  46. package/esm2022/drawer/lib/drawer-container.component.mjs +8 -1
  47. package/esm2022/drawer/lib/drawer.component.mjs +102 -1
  48. package/esm2022/dropdown/lib/dropdown-box.component.mjs +58 -1
  49. package/esm2022/dropdown/lib/dropdown-panel.component.mjs +77 -1
  50. package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +36 -1
  51. package/esm2022/form/lib/form-field.component.mjs +40 -1
  52. package/esm2022/form/lib/form.component.mjs +59 -1
  53. package/esm2022/form/lib/validation-summary.component.mjs +41 -1
  54. package/esm2022/image/lib/image.component.mjs +47 -1
  55. package/esm2022/label/lib/label.component.mjs +32 -1
  56. package/esm2022/list/lib/list.component.mjs +84 -1
  57. package/esm2022/loading/lib/loading-spinner.component.mjs +17 -1
  58. package/esm2022/loading/lib/loading.component.mjs +27 -1
  59. package/esm2022/popup/lib/popup.component.mjs +2 -2
  60. package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
  61. package/esm2022/uploader/index.mjs +5 -5
  62. package/esm2022/uploader/lib/{uploader-dialog-container.component.mjs → uploader-dialog-container/uploader-dialog-container.component.mjs} +2 -2
  63. package/esm2022/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.mjs +27 -0
  64. package/esm2022/uploader/lib/uploader-list/uploader-list.component.mjs +26 -0
  65. package/esm2022/uploader/lib/uploader-zone.directive.mjs +23 -16
  66. package/esm2022/uploader/lib/uploader.models.mjs +6 -1
  67. package/esm2022/uploader/lib/uploader.module.mjs +18 -13
  68. package/esm2022/uploader/lib/uploader.service.mjs +14 -7
  69. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +50 -10
  70. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +8 -16
  71. package/fesm2022/acorex-components-audio-wave.mjs +5 -0
  72. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  73. package/fesm2022/acorex-components-button-group.mjs +5 -2
  74. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  75. package/fesm2022/acorex-components-circular-progress.mjs +44 -113
  76. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  77. package/fesm2022/acorex-components-data-pager.mjs +147 -0
  78. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  79. package/fesm2022/acorex-components-data-table.mjs +510 -0
  80. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  81. package/fesm2022/acorex-components-datetime-box.mjs +50 -1
  82. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  83. package/fesm2022/acorex-components-datetime-input.mjs +121 -0
  84. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  85. package/fesm2022/acorex-components-datetime-picker.mjs +89 -0
  86. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  87. package/fesm2022/acorex-components-decorators.mjs +63 -0
  88. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  89. package/fesm2022/acorex-components-dialog.mjs +17 -0
  90. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  91. package/fesm2022/acorex-components-drawer.mjs +108 -0
  92. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  93. package/fesm2022/acorex-components-dropdown-button.mjs +35 -0
  94. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  95. package/fesm2022/acorex-components-dropdown.mjs +133 -0
  96. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  97. package/fesm2022/acorex-components-form.mjs +137 -0
  98. package/fesm2022/acorex-components-form.mjs.map +1 -1
  99. package/fesm2022/acorex-components-image.mjs +46 -0
  100. package/fesm2022/acorex-components-image.mjs.map +1 -1
  101. package/fesm2022/acorex-components-label.mjs +31 -0
  102. package/fesm2022/acorex-components-label.mjs.map +1 -1
  103. package/fesm2022/acorex-components-list.mjs +83 -0
  104. package/fesm2022/acorex-components-list.mjs.map +1 -1
  105. package/fesm2022/acorex-components-loading.mjs +42 -0
  106. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  107. package/fesm2022/acorex-components-popup.mjs +1 -1
  108. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  109. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  110. package/fesm2022/acorex-components-uploader.mjs +63 -32
  111. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  112. package/fesm2022/acorex-components-wysiwyg.mjs +55 -25
  113. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  114. package/form/lib/form-field.component.d.ts +45 -0
  115. package/form/lib/form.component.d.ts +58 -0
  116. package/form/lib/validation-summary.component.d.ts +49 -0
  117. package/image/lib/image.component.d.ts +61 -0
  118. package/label/lib/label.component.d.ts +34 -0
  119. package/list/lib/list.component.d.ts +98 -0
  120. package/loading/lib/loading-spinner.component.d.ts +20 -0
  121. package/loading/lib/loading.component.d.ts +35 -0
  122. package/package.json +66 -66
  123. package/progress-bar/lib/progress-bar.component.d.ts +0 -1
  124. package/uploader/index.d.ts +4 -4
  125. package/uploader/lib/{uploader-drop-zone.component.d.ts → uploader-drop-zone/uploader-drop-zone.component.d.ts} +3 -1
  126. package/uploader/lib/{uploader-list.component.d.ts → uploader-list/uploader-list.component.d.ts} +1 -1
  127. package/uploader/lib/uploader-zone.directive.d.ts +1 -0
  128. package/uploader/lib/uploader.models.d.ts +5 -0
  129. package/uploader/lib/uploader.module.d.ts +4 -4
  130. package/uploader/lib/uploader.service.d.ts +2 -1
  131. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +16 -3
  132. package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +3 -4
  133. package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +0 -18
  134. package/esm2022/uploader/lib/uploader-list.component.mjs +0 -26
  135. /package/uploader/lib/{uploader-dialog-container.component.d.ts → uploader-dialog-container/uploader-dialog-container.component.d.ts} +0 -0
@@ -22,23 +22,81 @@ export type AXLabelMode = 'static' | 'floating' | 'over';
22
22
  * @category Components
23
23
  */
24
24
  export declare class AXFormComponent extends MXBaseComponent implements OnDestroy {
25
+ /**
26
+ * Specifies the mode of the label in the form field.
27
+ * @defaultValue 'static'
28
+ */
25
29
  labelMode: InputSignal<AXLabelMode>;
30
+ /**
31
+ * Determines the style of the message in the form field.
32
+ * @defaultValue 'bottom'
33
+ */
26
34
  messageStyle: InputSignal<AXFormMessageStyle>;
35
+ /**
36
+ * Emitted when the form is validated.
37
+ *
38
+ * @event
39
+ */
27
40
  onValidate: EventEmitter<AXFormValidationEvent>;
41
+ /**
42
+ * Emitted when the form's update mode changes.
43
+ *
44
+ * @event
45
+ */
28
46
  updateOnChange: EventEmitter<AXFormUpdateOn>;
47
+ /**
48
+ * @ignore
49
+ */
29
50
  private _updateOn;
51
+ /**
52
+ * Determines when the form should be updated.
53
+ */
30
54
  get updateOn(): AXFormUpdateOn;
55
+ /**
56
+ * Sets the criteria for when the form should be updated.
57
+ * @param v The criteria to set (e.g., 'change', 'blur').
58
+ */
31
59
  set updateOn(v: AXFormUpdateOn);
60
+ /**
61
+ * @ignore
62
+ */
32
63
  private _subs;
64
+ /**
65
+ * @ignore
66
+ */
33
67
  protected _handleSubmit(e: SubmitEvent): Promise<void>;
68
+ /**
69
+ * @ignore
70
+ */
34
71
  protected _handleReset(): void;
72
+ /**
73
+ * @ignore
74
+ */
35
75
  constructor();
76
+ /**
77
+ * @ignore
78
+ */
36
79
  private _clearSubs;
80
+ /**
81
+ * @ignore
82
+ */
37
83
  private get fields();
38
84
  validate(...names: string[]): Promise<AXValidationSummary>;
85
+ /**
86
+ * @ignore
87
+ */
39
88
  private _emitOnValidateEvent;
89
+ /**
90
+ * Resets all form fields without clearing errors.
91
+ */
40
92
  reset(): void;
93
+ /**
94
+ * Resets validation errors for all form fields.
95
+ */
41
96
  resetErrors(): void;
97
+ /**
98
+ * @ignore
99
+ */
42
100
  ngOnDestroy(): void;
43
101
  static ɵfac: i0.ɵɵFactoryDeclaration<AXFormComponent, never>;
44
102
  static ɵcmp: i0.ɵɵComponentDeclaration<AXFormComponent, "ax-form", never, { "labelMode": { "alias": "labelMode"; "required": false; "isSignal": true; }; "messageStyle": { "alias": "messageStyle"; "required": false; "isSignal": true; }; "updateOn": { "alias": "updateOn"; "required": false; }; }, { "onValidate": "onValidate"; "updateOnChange": "updateOnChange"; }, never, ["*"], false, never>;
@@ -4,21 +4,70 @@ import { OnDestroy } from '@angular/core';
4
4
  import { AXFormComponent } from './form.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export type AXValidationSummaryDisplayMode = 'toast' | 'alert';
7
+ /**
8
+ * Displays validation summaries in the form of an alert.
9
+ *
10
+ * @category Components
11
+ */
7
12
  export declare class AXValidationSummaryComponent extends MXBaseComponent implements OnDestroy {
8
13
  private _tosatService;
9
14
  private host;
15
+ /**
16
+ * @ignore
17
+ */
10
18
  protected _content?: string;
19
+ /**
20
+ * @ignore
21
+ */
11
22
  private _title;
23
+ /**
24
+ * The title of the validation summary alert.
25
+ */
12
26
  get title(): string;
27
+ /**
28
+ * Sets the title of the validation summary alert.
29
+ *
30
+ * @param v The title to be set.
31
+ */
13
32
  set title(v: string);
33
+ /**
34
+ * Specifies the display mode for the validation summary.
35
+ *
36
+ * @defaultValue 'toast'
37
+ */
14
38
  displayMode: AXValidationSummaryDisplayMode;
39
+ /**
40
+ * Specifies the time in milliseconds before the validation summary automatically hides.
41
+ */
15
42
  timeOut?: number;
43
+ /**
44
+ * Determines whether the validation summary should automatically hide after a specified time.
45
+ * @defaultValue false
46
+ */
16
47
  autoHide: boolean;
48
+ /**
49
+ * @ignore
50
+ */
17
51
  protected _timeOut: number;
52
+ /**
53
+ * @ignore
54
+ */
18
55
  private sub;
56
+ /**
57
+ * @ignore
58
+ */
19
59
  constructor(_tosatService: AXToastService, host: AXFormComponent);
60
+ /**
61
+ * @ignore
62
+ */
20
63
  private formatRule;
64
+ /**
65
+ * @ignore
66
+ */
21
67
  protected _handleOnDismissed(): void;
68
+ /**
69
+ * @ignore
70
+ */
22
71
  ngOnDestroy(): void;
23
72
  static ɵfac: i0.ɵɵFactoryDeclaration<AXValidationSummaryComponent, [null, { optional: true; }]>;
24
73
  static ɵcmp: i0.ɵɵComponentDeclaration<AXValidationSummaryComponent, "ax-validation-summary", never, { "title": { "alias": "title"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "timeOut": { "alias": "timeOut"; "required": false; }; "autoHide": { "alias": "autoHide"; "required": false; }; }, {}, never, never, false, never>;
@@ -1,20 +1,81 @@
1
1
  import { AXHtmlEvent, MXBaseComponent } from '@acorex/components/common';
2
2
  import { EventEmitter, OnInit } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * Displays an image with customizable settings.
6
+ *
7
+ * @category Components
8
+ */
4
9
  export declare class AXImageComponent extends MXBaseComponent implements OnInit {
10
+ /**
11
+ * Specifies when the image overlay should be shown.
12
+ *
13
+ * @defaultValue 'hover'
14
+ */
5
15
  overlayMode: 'always' | 'hover';
16
+ /**
17
+ * The URL of the image to be displayed.
18
+ *
19
+ * @defaultValue null
20
+ */
6
21
  src?: string | null;
22
+ /**
23
+ * The alternative text for the image, for accessibility purposes.
24
+ *
25
+ * @defaultValue null
26
+ */
7
27
  alt?: string | null;
28
+ /**
29
+ * Priority for image loading.
30
+ *
31
+ * @defaultValue 'auto'
32
+ */
8
33
  priority: 'low' | 'auto' | 'high';
34
+ /**
35
+ * Indicates if the image should be loaded lazily.
36
+ *
37
+ * @defaultValue false
38
+ */
9
39
  lazy: boolean;
40
+ /**
41
+ * Emits an event when the image has successfully loaded.
42
+ *
43
+ * @event
44
+ */
10
45
  onLoad: EventEmitter<AXHtmlEvent>;
46
+ /**
47
+ * Emits an event when there is an error loading the image.
48
+ *
49
+ * @event
50
+ */
11
51
  onError: EventEmitter<AXHtmlEvent<ErrorEvent>>;
52
+ /**
53
+ * @ignore
54
+ */
12
55
  protected _hasError: boolean;
56
+ /**
57
+ * @ignore
58
+ */
13
59
  protected _isLoaded: boolean;
60
+ /**
61
+ * @ignore
62
+ */
14
63
  protected _isLoading: boolean;
64
+ /**
65
+ * @ignore
66
+ */
15
67
  ngOnInit(): void;
68
+ /**
69
+ * @ignore
70
+ */
16
71
  _handleLoadImage(e: Event): void;
72
+ /**
73
+ * @ignore
74
+ */
17
75
  _handleErrorImage(e: ErrorEvent): void;
76
+ /**
77
+ * @ignore
78
+ */
18
79
  get __hostClass(): string[];
19
80
  static ɵfac: i0.ɵɵFactoryDeclaration<AXImageComponent, never>;
20
81
  static ɵcmp: i0.ɵɵComponentDeclaration<AXImageComponent, "ax-image", never, { "overlayMode": { "alias": "overlayMode"; "required": false; }; "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "priority": { "alias": "priority"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; }, { "onLoad": "onLoad"; "onError": "onError"; }, never, ["ax-overlay", "ax-placeholder, ng-content", "ax-loading, ax-loading-spinner"], false, never>;
@@ -1,13 +1,47 @@
1
1
  import { MXBaseComponent, MXValueComponent } from '@acorex/components/common';
2
2
  import { EventEmitter } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * Represents a label component that provides a way to display text labels within the application.
6
+ *
7
+ * @category Components
8
+ */
4
9
  export declare class AXLabelComponent extends MXBaseComponent {
10
+ /**
11
+ * Emitted when the `required` property changes.
12
+ *
13
+ * @event
14
+ */
5
15
  requiredChange: EventEmitter<boolean>;
16
+ /**
17
+ * @ignore
18
+ */
6
19
  private _required?;
20
+ /**
21
+ * Determines if the field is required.
22
+ *
23
+ * @defaultValue false
24
+ */
7
25
  get required(): boolean;
26
+ /**
27
+ * Sets whether the field is required.
28
+ *
29
+ * @param v - A boolean indicating if the field is required.
30
+ */
8
31
  set required(v: boolean);
32
+ /**
33
+ * @ignore
34
+ */
9
35
  private _for;
36
+ /**
37
+ * Gets the form control or component associated with the label.
38
+ */
10
39
  get for(): MXValueComponent;
40
+ /**
41
+ * Sets the form control or component associated with the label.
42
+ *
43
+ * @param v The `MXValueComponent` to associate with the label.
44
+ */
11
45
  set for(v: MXValueComponent);
12
46
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLabelComponent, never>;
13
47
  static ɵcmp: i0.ɵɵComponentDeclaration<AXLabelComponent, "ax-label", never, { "required": { "alias": "required"; "required": false; }; "for": { "alias": "for"; "required": false; }; }, { "requiredChange": "requiredChange"; }, never, ["*"], false, never>;
@@ -4,33 +4,131 @@ import * as i0 from "@angular/core";
4
4
  export interface AXListScrollIndexChanged extends AXEvent {
5
5
  index: number;
6
6
  }
7
+ /**
8
+ * provides a list control with various input options and events for user interaction.
9
+ *
10
+ * @category Components
11
+ */
7
12
  export declare class AXListComponent extends MXSelectionValueComponent implements OnInit {
13
+ /**
14
+ * Emitted when an item in the list is clicked.
15
+ *
16
+ * @event
17
+ */
8
18
  onItemClick: EventEmitter<AXItemClickEvent<any>>;
19
+ /**
20
+ * Defines the data source for the list.
21
+ *
22
+ * @defaultValue convertArrayToDataSource([])
23
+ */
9
24
  dataSource: AXDataSource<unknown>;
25
+ /**
26
+ * @ignore
27
+ */
10
28
  itemHeightSignal: WritableSignal<number | 'auto'>;
29
+ /**
30
+ * Sets the height of each item in the list.
31
+ */
11
32
  set itemHeight(v: number | 'auto');
33
+ /**
34
+ * Template for rendering individual items in the list.
35
+ */
12
36
  itemTemplate: TemplateRef<unknown>;
37
+ /**
38
+ * Template to display when the list is empty.
39
+ */
13
40
  emptyTemplate: TemplateRef<unknown>;
41
+ /**
42
+ * Template to show while the list is loading.
43
+ */
14
44
  loadingTemplate: TemplateRef<unknown>;
45
+ /**
46
+ * Emitted when the index of the scrolled item changes.
47
+ *
48
+ * @event
49
+ */
15
50
  onScrolledIndexChanged: EventEmitter<AXListScrollIndexChanged>;
51
+ /**
52
+ * Specifies whether the checkbox is enabled.
53
+ *
54
+ * @defaultValue true
55
+ */
16
56
  checkbox: boolean;
57
+ /**
58
+ * @ignore
59
+ */
17
60
  protected listDataSource: AXListDataSource<unknown>;
61
+ /**
62
+ * @ignore
63
+ */
18
64
  protected isLoading: WritableSignal<boolean>;
65
+ /**
66
+ * @ignore
67
+ */
19
68
  protected hasItems: boolean;
69
+ /**
70
+ * @ignore
71
+ */
20
72
  private lastIndex;
73
+ /**
74
+ * @ignore
75
+ */
21
76
  private postponeFocus;
77
+ /**
78
+ * @ignore
79
+ */
22
80
  private viewport;
23
81
  trackByIdx(i: any): any;
82
+ /**
83
+ * @ignore
84
+ */
24
85
  ngOnInit(): void;
86
+ /**
87
+ * @ignore
88
+ */
25
89
  _handleOnItemClick(e: MouseEvent, item: any): void;
90
+ /**
91
+ * @ignore
92
+ */
26
93
  _handleKeydown(e: KeyboardEvent): void;
94
+ /**
95
+ * @ignore
96
+ */
27
97
  private focusItemByNav;
98
+ /**
99
+ * @ignore
100
+ */
28
101
  protected _handleOnscrolledIndexChange(e: number): void;
102
+ /**
103
+ * Retrieves an item from the data source based on the provided key.
104
+ *
105
+ * @param key The key used to identify the item.
106
+ * @ignore
107
+ */
29
108
  getItemByKey(key: unknown): Promise<unknown> | unknown;
109
+ /**
110
+ * Renders the component by updating the viewport size, scrolling to the last index, and optionally focusing the element.
111
+ */
30
112
  render(): void;
113
+ /**
114
+ * Refreshes the list by clearing the selection cache and reloading the data source.
115
+ * @ignore
116
+ */
31
117
  refresh(): void;
118
+ /**
119
+ * Scrolls the viewport to the specified item index.
120
+ * @param index The index of the item to scroll to.
121
+ * @ignore
122
+ */
32
123
  scrollToIndex(index: number): void;
124
+ /**
125
+ * Sets focus to the first selectable list item. If no item is available, postpones focus.
126
+ */
33
127
  focus(): void;
128
+ /**
129
+ * Determines whether to show the empty template based on the presence of items and loading state.
130
+ * @ignore
131
+ */
34
132
  showEmptyTemplate: () => boolean;
35
133
  /**
36
134
  * @ignore
@@ -1,9 +1,29 @@
1
1
  import { AXStyleColorType } from '@acorex/components/common';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * A loading spinner component that displays a rotating spinner icon.
5
+ * @category Components
6
+ */
3
7
  export declare class AXLoadingSpinnerComponent {
8
+ /**
9
+ * The text to display alongside the spinner.
10
+ * @ignore
11
+ */
4
12
  text: string;
13
+ /**
14
+ * Color of the spinner. Can be a predefined style color or a custom color.
15
+ * @defaultValue 'ghost'
16
+ */
5
17
  color: AXStyleColorType | string;
18
+ /**
19
+ * Size of the spinner, in pixels. This determines both the width and height of the spinner.
20
+ * @defaultValue 16
21
+ */
6
22
  size: number;
23
+ /**
24
+ * Thickness of the spinner's border, in pixels. This affects the visual weight of the spinner's outline.
25
+ * @defaultValue 3
26
+ */
7
27
  stroke: number;
8
28
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingSpinnerComponent, never>;
9
29
  static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingSpinnerComponent, "ax-loading-spinner", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; }, {}, never, never, false, never>;
@@ -2,16 +2,51 @@ import { MXBaseComponent } from '@acorex/components/common';
2
2
  import { CdkPortalOutletAttachedRef, Portal } from '@angular/cdk/portal';
3
3
  import { EventEmitter, OnInit } from '@angular/core';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * A component that displays a loading indicator.
7
+ * @category Components
8
+ */
5
9
  export declare class AXLoadingComponent extends MXBaseComponent implements OnInit {
6
10
  private config;
11
+ /**
12
+ * @ignore
13
+ */
7
14
  protected _selectedPortal: Portal<unknown>;
15
+ /**
16
+ * Emits an event when the visibility state of the component changes.
17
+ * @event
18
+ */
8
19
  visibleChange: EventEmitter<boolean>;
20
+ /**
21
+ * @ignore
22
+ */
9
23
  private _visible;
24
+ /**
25
+ * Determines whether the component is visible or not.
26
+ */
10
27
  get visible(): boolean;
28
+ /**
29
+ * Sets the visibility of the component and emits a visibility change event.
30
+ *
31
+ * @param v - A boolean value indicating whether the component should be visible.
32
+ */
11
33
  set visible(v: boolean);
34
+ /**
35
+ * Specifies the type of loading indicator to display.
36
+ * @defaultValue 'spinner'
37
+ */
12
38
  type: string;
39
+ /**
40
+ * Provides additional context or data that may be used by the component.
41
+ */
13
42
  context?: unknown;
43
+ /**
44
+ * @ignore
45
+ */
14
46
  ngOnInit(): void;
47
+ /**
48
+ * @ignore
49
+ */
15
50
  protected _handleAttched(ref: CdkPortalOutletAttachedRef): void;
16
51
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingComponent, never>;
17
52
  static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingComponent, "ax-loading", never, { "visible": { "alias": "visible"; "required": false; }; "type": { "alias": "type"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, never, false, never>;