@acorex/components 20.1.35 → 20.1.37

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 (92) hide show
  1. package/accordion/index.d.ts +6 -5
  2. package/autocomplete/index.d.ts +6 -2
  3. package/color-box/index.d.ts +1 -0
  4. package/command/index.d.ts +13 -3
  5. package/comment/index.d.ts +6 -0
  6. package/data-list/README.md +356 -0
  7. package/data-list/index.d.ts +102 -0
  8. package/data-table/index.d.ts +58 -2
  9. package/dialog/index.d.ts +29 -4
  10. package/drawer-2/index.d.ts +15 -0
  11. package/dropdown-button/index.d.ts +7 -2
  12. package/fesm2022/acorex-components-accordion.mjs +66 -61
  13. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  14. package/fesm2022/acorex-components-autocomplete.mjs +19 -3
  15. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  16. package/fesm2022/acorex-components-color-box.mjs +4 -0
  17. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  18. package/fesm2022/acorex-components-color-palette.mjs +1 -1
  19. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  20. package/fesm2022/acorex-components-command.mjs +52 -8
  21. package/fesm2022/acorex-components-command.mjs.map +1 -1
  22. package/fesm2022/acorex-components-comment.mjs +7 -1
  23. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  24. package/fesm2022/acorex-components-cron-job.mjs +6 -6
  25. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  26. package/fesm2022/acorex-components-data-list.mjs +386 -0
  27. package/fesm2022/acorex-components-data-list.mjs.map +1 -0
  28. package/fesm2022/acorex-components-data-table.mjs +58 -2
  29. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  30. package/fesm2022/acorex-components-dialog.mjs +29 -4
  31. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  32. package/fesm2022/acorex-components-drawer-2.mjs +15 -0
  33. package/fesm2022/acorex-components-drawer-2.mjs.map +1 -1
  34. package/fesm2022/acorex-components-dropdown-button.mjs +7 -2
  35. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  36. package/fesm2022/acorex-components-form.mjs +10 -0
  37. package/fesm2022/acorex-components-form.mjs.map +1 -1
  38. package/fesm2022/acorex-components-grid-layout-builder.mjs +115 -5
  39. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  40. package/fesm2022/acorex-components-kbd.mjs +5 -5
  41. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  42. package/fesm2022/acorex-components-list.mjs +6 -14
  43. package/fesm2022/acorex-components-list.mjs.map +1 -1
  44. package/fesm2022/acorex-components-menu.mjs +12 -1
  45. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  46. package/fesm2022/{acorex-components-modal-acorex-components-modal-BdrQgtUV.mjs → acorex-components-modal-acorex-components-modal-DTUAOsgv.mjs} +12 -11
  47. package/fesm2022/{acorex-components-modal-acorex-components-modal-BdrQgtUV.mjs.map → acorex-components-modal-acorex-components-modal-DTUAOsgv.mjs.map} +1 -1
  48. package/fesm2022/{acorex-components-modal-modal-content.component-DTrjX50k.mjs → acorex-components-modal-modal-content.component-Co2yaRpp.mjs} +20 -19
  49. package/fesm2022/acorex-components-modal-modal-content.component-Co2yaRpp.mjs.map +1 -0
  50. package/fesm2022/acorex-components-modal.mjs +1 -1
  51. package/fesm2022/acorex-components-otp.mjs +2 -0
  52. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  53. package/fesm2022/acorex-components-paint.mjs +36 -1
  54. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  55. package/fesm2022/acorex-components-phone-box.mjs +31 -4
  56. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  57. package/fesm2022/acorex-components-popover.mjs +5 -5
  58. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  59. package/fesm2022/acorex-components-query-builder.mjs +1 -1
  60. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  61. package/fesm2022/acorex-components-rest-api-generator.mjs +1 -1
  62. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  63. package/fesm2022/acorex-components-rrule.mjs +1 -1
  64. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  65. package/fesm2022/acorex-components-scheduler.mjs +839 -63
  66. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  67. package/fesm2022/acorex-components-select-box.mjs +62 -19
  68. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  69. package/fesm2022/acorex-components-selection-list-2.mjs +5 -2
  70. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  71. package/fesm2022/acorex-components-selection-list.mjs +7 -4
  72. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  73. package/fesm2022/acorex-components-tabs.mjs +2 -2
  74. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  75. package/fesm2022/acorex-components-tag-box.mjs +24 -12
  76. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  77. package/fesm2022/acorex-components-text-box.mjs +10 -0
  78. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  79. package/fesm2022/acorex-components-wysiwyg.mjs +1 -1
  80. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  81. package/form/index.d.ts +10 -0
  82. package/grid-layout-builder/index.d.ts +115 -4
  83. package/list/index.d.ts +3 -9
  84. package/menu/index.d.ts +12 -0
  85. package/modal/index.d.ts +3 -2
  86. package/package.json +9 -5
  87. package/paint/index.d.ts +36 -1
  88. package/scheduler/index.d.ts +356 -242
  89. package/select-box/index.d.ts +11 -2
  90. package/tag-box/index.d.ts +2 -2
  91. package/text-box/index.d.ts +2 -0
  92. package/fesm2022/acorex-components-modal-modal-content.component-DTrjX50k.mjs.map +0 -1
package/form/index.d.ts CHANGED
@@ -93,6 +93,12 @@ declare class AXFormComponent extends MXBaseComponent implements OnDestroy, Afte
93
93
  * @ignore
94
94
  */
95
95
  private get fields();
96
+ /**
97
+ * Validates the form fields.
98
+ *
99
+ * @param names - Optional array of field names to validate.
100
+ * @returns Promise<AXValidationSummary> - Promise that resolves with validation results.
101
+ */
96
102
  validate(...names: string[]): Promise<AXValidationSummary>;
97
103
  /**
98
104
  * @ignore
@@ -100,10 +106,14 @@ declare class AXFormComponent extends MXBaseComponent implements OnDestroy, Afte
100
106
  private _emitOnValidateEvent;
101
107
  /**
102
108
  * Resets all form fields without clearing errors.
109
+ *
110
+ * @returns void - No return value. Form fields are reset to their initial values.
103
111
  */
104
112
  reset(): void;
105
113
  /**
106
114
  * Resets validation errors for all form fields.
115
+ *
116
+ * @returns void - No return value. All validation errors are cleared.
107
117
  */
108
118
  resetErrors(): void;
109
119
  /**
@@ -113,27 +113,35 @@ declare class AXGridLayoutWidgetComponent {
113
113
  options: _angular_core.InputSignal<AXGridLayoutNode>;
114
114
  /**
115
115
  * Locks or unlocks the widget (prevents dragging and resizing).
116
- * @param state - If `true`, the widget will be locked.
116
+ *
117
+ * @param state - If true, the widget will be locked.
118
+ * @returns void - No return value. The widget lock state is updated.
117
119
  */
118
120
  setLockable(state: boolean): void;
119
121
  /**
120
122
  * Enables or disables resizing of the widget.
121
- * @param state - If `true`, resizing will be enabled.
123
+ *
124
+ * @param state - If true, resizing will be enabled.
125
+ * @returns void - No return value. The widget resize state is updated.
122
126
  */
123
127
  setResizable(state: boolean): void;
124
128
  /**
125
129
  * Updates the widget options.
130
+ *
126
131
  * @param options - The new options for the widget.
132
+ * @returns void - No return value. The widget options are updated.
127
133
  */
128
134
  setOptions(options: AXGridLayoutWidget): void;
129
135
  /**
130
136
  * Returns the current options of the widget.
131
- * @returns The current widget options.
137
+ *
138
+ * @returns AXGridLayoutNode - The current widget options.
132
139
  */
133
140
  getOptions(): AXGridLayoutNode;
134
141
  /**
135
142
  * Returns the native DOM element of the widget.
136
- * @returns The native element.
143
+ *
144
+ * @returns AXGridLayoutWidgetElement - The native element.
137
145
  */
138
146
  get element(): AXGridLayoutWidgetElement;
139
147
  /**
@@ -167,21 +175,124 @@ declare class AXGridLayoutContainerComponent extends NXComponent implements OnDe
167
175
  private hookEvents;
168
176
  private unhookEvents;
169
177
  private _dispatchChangeEvent;
178
+ /**
179
+ * Adds a widget to the grid layout.
180
+ *
181
+ * @param w - Widget configuration object.
182
+ * @param withAutoArrange - Whether to compact the grid before adding the widget.
183
+ * @returns AXGridLayoutWidgetElement | undefined - The created widget element or undefined if failed.
184
+ */
170
185
  addWidget(w: AXGridLayoutWidget, withAutoArrange?: boolean): AXGridLayoutWidgetElement | undefined;
186
+ /**
187
+ * Compacts the grid layout.
188
+ *
189
+ * @param layout - Layout type for compacting ('list' or 'compact').
190
+ * @param doSort - Whether to sort items while compacting.
191
+ * @returns void - No return value. The grid layout is compacted.
192
+ */
171
193
  compact(layout?: 'list' | 'compact', doSort?: boolean): void;
194
+ /**
195
+ * Sets the cell height of the grid.
196
+ *
197
+ * @param val - New cell height value.
198
+ * @param update - Whether to update the grid immediately.
199
+ * @returns void - No return value. The cell height is updated.
200
+ */
172
201
  setCellHeight(val: number, update?: boolean): void;
202
+ /**
203
+ * Sets the number of columns in the grid.
204
+ *
205
+ * @param column - Number of columns.
206
+ * @param layout - Layout type for the change ('list', 'compact', 'moveScale', 'move', 'scale', or 'none').
207
+ * @returns void - No return value. The column count is updated.
208
+ */
173
209
  setColumn(column: number, layout?: 'list' | 'compact' | 'moveScale' | 'move' | 'scale' | 'none'): void;
210
+ /**
211
+ * Destroys the grid instance.
212
+ *
213
+ * @param removeDOM - Whether to remove DOM elements.
214
+ * @returns void - No return value. The grid instance is destroyed.
215
+ */
174
216
  destroy(removeDOM?: boolean): void;
217
+ /**
218
+ * Enables or disables moving of widgets.
219
+ *
220
+ * @param state - Whether to enable moving.
221
+ * @param recurse - Whether to apply to all child widgets.
222
+ * @returns void - No return value. The move state is updated.
223
+ */
175
224
  setMovable(state: boolean, recurse?: boolean): void;
225
+ /**
226
+ * Enables or disables resizing of widgets.
227
+ *
228
+ * @param state - Whether to enable resizing.
229
+ * @param recurse - Whether to apply to all child widgets.
230
+ * @returns void - No return value. The resize state is updated.
231
+ */
176
232
  setResizable(state: boolean, recurse?: boolean): void;
233
+ /**
234
+ * Sets the float property of the grid.
235
+ *
236
+ * @param val - Whether to enable floating widgets.
237
+ * @returns void - No return value. The float state is updated.
238
+ */
177
239
  setFloat(val: boolean): void;
240
+ /**
241
+ * Sets the margin between grid items.
242
+ *
243
+ * @param value - Margin value (number in pixels or string with units).
244
+ * @returns void - No return value. The margin is updated.
245
+ */
178
246
  setMargin(value: number | string): void;
247
+ /**
248
+ * Removes a specific widget from the grid.
249
+ *
250
+ * @param el - The widget element to remove.
251
+ * @param removeDOM - Whether to remove the DOM element.
252
+ * @param triggerEvent - Whether to trigger removal events.
253
+ * @returns void - No return value. The widget is removed.
254
+ */
179
255
  removeWidget(el: AXGridLayoutWidgetElement, removeDOM?: boolean, triggerEvent?: boolean): void;
256
+ /**
257
+ * Removes all widgets from the grid.
258
+ *
259
+ * @param removeDOM - Whether to remove DOM elements.
260
+ * @returns void - No return value. All widgets are removed.
261
+ */
180
262
  removeAll(removeDOM?: boolean): void;
263
+ /**
264
+ * Sets the animation state for the grid.
265
+ *
266
+ * @param doAnimate - Whether to enable animations.
267
+ * @returns void - No return value. The animation state is updated.
268
+ */
181
269
  setAnimation(doAnimate: boolean): void;
270
+ /**
271
+ * Sets up draggable functionality for external elements.
272
+ *
273
+ * @param dragIn - CSS selector string or array of HTML elements to make draggable.
274
+ * @param widgets - Optional widget configuration for dragged items.
275
+ * @returns Promise<void> - Promise that resolves when drag setup is complete.
276
+ */
182
277
  setupDraggable(dragIn?: string | HTMLElement[], widgets?: AXGridLayoutWidget): Promise<void>;
278
+ /**
279
+ * Gets the current grid options.
280
+ *
281
+ * @returns AXGridLayoutOptions - Current grid configuration options.
282
+ */
183
283
  getOptions(): AXGridLayoutOptions;
284
+ /**
285
+ * Gets all child widgets in the grid.
286
+ *
287
+ * @returns AXGridLayoutNode[] - Array of all child widget nodes.
288
+ */
184
289
  getChildren(): AXGridLayoutNode[];
290
+ /**
291
+ * Finds an empty space in the grid for a widget.
292
+ *
293
+ * @param input - Dimensions of the widget with height and width.
294
+ * @returns { x: number; y: number } - Object containing x and y coordinates of empty space.
295
+ */
185
296
  findEmptySpace(input: Required<Pick<AXGridLayoutPosition, 'height' | 'width'>>): Pick<AXGridLayoutPosition, 'x' | 'y'>;
186
297
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXGridLayoutContainerComponent, never>;
187
298
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXGridLayoutContainerComponent, "ax-grid-layout-container", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "isEmpty": { "alias": "isEmpty"; "required": false; "isSignal": true; }; }, { "onAdded": "onAdded"; "onRemoved": "onRemoved"; "onWidgetChange": "onWidgetChange"; "onChange": "onChange"; "onRender": "onRender"; "isEmpty": "isEmptyChange"; }, ["gridstackItems"], ["*"], true, never>;
package/list/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter, WritableSignal, TemplateRef } from '@angular/core';
3
- import { AXEvent, MXSelectionValueComponent, AXItemClickEvent, AXDataSource, AXListDataSource } from '@acorex/cdk/common';
2
+ import { OnInit, WritableSignal, TemplateRef, EventEmitter } from '@angular/core';
3
+ import { AXEvent, MXSelectionValueComponent, AXDataSource, AXListDataSource } from '@acorex/cdk/common';
4
4
 
5
5
  interface AXListScrollIndexChanged extends AXEvent {
6
6
  index: number;
@@ -23,12 +23,6 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
23
23
  * @defaultValue false
24
24
  */
25
25
  showItemTooltip: i0.InputSignal<boolean>;
26
- /**
27
- * Emitted when an item in the list is clicked.
28
- *
29
- * @event
30
- */
31
- onItemClick: EventEmitter<AXItemClickEvent<any>>;
32
26
  /**
33
27
  * Defines the data source for the list.
34
28
  *
@@ -144,7 +138,7 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
144
138
  */
145
139
  showEmptyTemplate: i0.Signal<boolean>;
146
140
  static ɵfac: i0.ɵɵFactoryDeclaration<AXListComponent, never>;
147
- static ɵcmp: i0.ɵɵComponentDeclaration<AXListComponent, "ax-list", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "disabledChange": "disabledChange"; "readonlyChange": "readonlyChange"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onItemClick": "onItemClick"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, never, ["ax-header", "ax-footer"], true, never>;
141
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXListComponent, "ax-list", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "disabledChange": "disabledChange"; "readonlyChange": "readonlyChange"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onItemClick": "onItemClick"; "onItemSelected": "onItemSelected"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, never, ["ax-header", "ax-footer"], true, never>;
148
142
  }
149
143
 
150
144
  declare class AXListModule {
package/menu/index.d.ts CHANGED
@@ -68,8 +68,20 @@ declare class AXContextMenuComponent extends NXComponent {
68
68
  /** @ignore */
69
69
  constructor();
70
70
  ngOnDestroy(): void;
71
+ /**
72
+ * Refreshes the context menu by rebinding event listeners to target elements.
73
+ */
71
74
  refresh(): void;
75
+ /**
76
+ * Shows the context menu at a specific point.
77
+ * @param point - The coordinates where the menu should appear
78
+ * @param targetElement - Optional target element for the context menu
79
+ * @param event - Optional opening event with menu items
80
+ */
72
81
  showAt(point: AXPoint, targetElement?: HTMLElement, event?: AXContextMenuOpeningEvent): void;
82
+ /**
83
+ * Closes the context menu and removes the backdrop.
84
+ */
73
85
  close(): void;
74
86
  private backdropElement;
75
87
  private originalNextSibling;
package/modal/index.d.ts CHANGED
@@ -25,6 +25,7 @@ interface AXModalOptions extends AXOverlayOptions {
25
25
  header?: boolean;
26
26
  footer?: boolean;
27
27
  panelClass?: string;
28
+ closeOnEscape?: boolean;
28
29
  }
29
30
  interface AXModalRef<TResult = any> {
30
31
  minimize: () => void;
@@ -35,13 +36,13 @@ interface AXModalRef<TResult = any> {
35
36
  onClose: Subject<TResult>;
36
37
  }
37
38
  declare abstract class AXModalComponentBase {
38
- private __modal__;
39
+ __modal__: i0.InputSignal<AXModalRef<any>>;
39
40
  close(data?: any): void;
40
41
  minimize(): void;
41
42
  restore(): void;
42
43
  maximize(): void;
43
44
  static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponentBase, never>;
44
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXModalComponentBase, never, never, { "__modal__": { "alias": "__modal__"; "required": false; }; }, {}, never, never, true, never>;
45
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXModalComponentBase, never, never, { "__modal__": { "alias": "__modal__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
45
46
  }
46
47
 
47
48
  declare class AXModalComponent extends NXComponent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "20.1.35",
3
+ "version": "20.1.37",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",
@@ -143,6 +143,10 @@
143
143
  "types": "./cron-job/index.d.ts",
144
144
  "default": "./fesm2022/acorex-components-cron-job.mjs"
145
145
  },
146
+ "./data-list": {
147
+ "types": "./data-list/index.d.ts",
148
+ "default": "./fesm2022/acorex-components-data-list.mjs"
149
+ },
146
150
  "./data-pager": {
147
151
  "types": "./data-pager/index.d.ts",
148
152
  "default": "./fesm2022/acorex-components-data-pager.mjs"
@@ -383,14 +387,14 @@
383
387
  "types": "./skeleton/index.d.ts",
384
388
  "default": "./fesm2022/acorex-components-skeleton.mjs"
385
389
  },
386
- "./sliding-item": {
387
- "types": "./sliding-item/index.d.ts",
388
- "default": "./fesm2022/acorex-components-sliding-item.mjs"
389
- },
390
390
  "./slider": {
391
391
  "types": "./slider/index.d.ts",
392
392
  "default": "./fesm2022/acorex-components-slider.mjs"
393
393
  },
394
+ "./sliding-item": {
395
+ "types": "./sliding-item/index.d.ts",
396
+ "default": "./fesm2022/acorex-components-sliding-item.mjs"
397
+ },
394
398
  "./step-wizard": {
395
399
  "types": "./step-wizard/index.d.ts",
396
400
  "default": "./fesm2022/acorex-components-step-wizard.mjs"
package/paint/index.d.ts CHANGED
@@ -37,12 +37,45 @@ declare class AXPaintContainerComponent extends AXPaintContainerComponent_base {
37
37
  protected service: AXPaintService;
38
38
  readonly editMode: _angular_core.InputSignal<boolean>;
39
39
  get __hostClass(): string;
40
+ /**
41
+ * Sets the active drawing tool.
42
+ *
43
+ * @param tool - The tool to activate: 'pen', 'highlight', or 'eraser'
44
+ */
40
45
  setActiveTool(tool: 'pen' | 'highlight' | 'eraser'): void;
46
+ /**
47
+ * Sets the pen color for drawing.
48
+ *
49
+ * @param color - The color to use for the pen tool
50
+ */
41
51
  setPenColor(color: string | CanvasGradient | CanvasPattern): void;
52
+ /**
53
+ * Sets the highlight color for highlighting.
54
+ *
55
+ * @param color - The color to use for the highlight tool
56
+ */
42
57
  setHighlightColor(color: string | CanvasGradient | CanvasPattern): void;
58
+ /**
59
+ * Sets the pen width for drawing.
60
+ *
61
+ * @param width - The width of the pen stroke in pixels
62
+ */
43
63
  setPenWidth(width: number): void;
64
+ /**
65
+ * Sets the highlight width for highlighting.
66
+ *
67
+ * @param width - The width of the highlight stroke in pixels
68
+ */
44
69
  setHighlightWidth(width: number): void;
70
+ /**
71
+ * Sets the eraser width for erasing.
72
+ *
73
+ * @param width - The width of the eraser in pixels
74
+ */
45
75
  setEraserWidth(width: number): void;
76
+ /**
77
+ * Clears the entire canvas.
78
+ */
46
79
  clear(): void;
47
80
  private get __hostName();
48
81
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPaintContainerComponent, never>;
@@ -94,7 +127,9 @@ declare class AXPaintViewComponent implements OnDestroy {
94
127
  /** @ignore */
95
128
  protected mouseUpHandler(): void;
96
129
  /**
97
- * @param e - output file type
130
+ * Exports the canvas content as an image.
131
+ *
132
+ * @param format - The image format: 'image/webp', 'image/png', or 'image/jpeg'
98
133
  */
99
134
  getOutPut(e: 'image/webp' | 'image/png' | 'image/jpeg'): void;
100
135
  get __hostClass(): string[];