@acorex/components 20.2.0-next.21 → 20.2.0-next.22
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.
- package/accordion/index.d.ts +6 -5
- package/button-group/index.d.ts +2 -1
- package/calendar/index.d.ts +4 -2
- package/code-editor/README.md +3 -0
- package/code-editor/index.d.ts +103 -0
- package/color-box/index.d.ts +1 -0
- package/command/README.md +3 -0
- package/command/index.d.ts +60 -0
- package/comment/index.d.ts +10 -5
- package/conversation/index.d.ts +106 -78
- package/data-pager/index.d.ts +12 -12
- package/data-table/index.d.ts +59 -3
- package/datetime-box/index.d.ts +10 -8
- package/datetime-picker/index.d.ts +3 -1
- package/decorators/index.d.ts +2 -2
- package/dialog/index.d.ts +29 -4
- package/drawer-2/index.d.ts +22 -8
- package/dropdown/index.d.ts +3 -3
- package/dropdown-button/index.d.ts +7 -2
- package/fesm2022/acorex-components-accordion.mjs +74 -72
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +10 -10
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +9 -11
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +7 -7
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +7 -8
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +12 -14
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +8 -9
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +12 -14
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +10 -11
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +16 -16
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +15 -18
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +37 -25
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +7 -8
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +7 -8
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +7 -7
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +591 -0
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -0
- package/fesm2022/acorex-components-collapse.mjs +12 -14
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +13 -11
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +44 -40
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +144 -0
- package/fesm2022/acorex-components-command.mjs.map +1 -0
- package/fesm2022/acorex-components-comment.mjs +42 -36
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +121 -89
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +46 -46
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +3 -3
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +31 -31
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +97 -41
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +15 -14
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +10 -11
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +15 -14
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +27 -27
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +44 -19
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-2.mjs +28 -14
- package/fesm2022/acorex-components-drawer-2.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +13 -13
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +14 -9
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +13 -13
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +16 -16
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +26 -16
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +125 -15
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +115 -92
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +7 -7
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +3 -3
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +11 -26
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +9 -13
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +12 -15
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +28 -47
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +24 -26
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +16 -15
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +35 -35
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +39 -35
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-yzX5PZMM.mjs → acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs} +39 -41
- package/fesm2022/{acorex-components-modal-acorex-components-modal-yzX5PZMM.mjs.map → acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs.map} +1 -1
- package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs +235 -0
- package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +8 -9
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +27 -44
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-2.mjs +18 -5
- package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +7 -7
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +12 -13
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +68 -33
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +14 -17
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +37 -10
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +13 -13
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +12 -12
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +10 -10
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +7 -7
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +15 -16
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +11 -7
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +222 -102
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +1432 -106
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +8 -8
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +9 -9
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +14 -14
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +7 -7
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +15 -15
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +31 -32
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +20 -15
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +25 -9
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +8 -9
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +22 -12
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +7 -7
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +13 -10
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +57 -12
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +7 -7
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +10 -10
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +12 -12
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +252 -56
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +70 -32
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/form/index.d.ts +23 -13
- package/grid-layout-builder/index.d.ts +115 -4
- package/image/index.d.ts +4 -4
- package/image-editor/index.d.ts +16 -14
- package/kbd/index.d.ts +1 -8
- package/label/index.d.ts +1 -2
- package/list/index.d.ts +1 -5
- package/loading/index.d.ts +1 -5
- package/loading-dialog/index.d.ts +1 -8
- package/map/index.d.ts +2 -1
- package/menu/index.d.ts +19 -13
- package/modal/index.d.ts +4 -2
- package/navbar/index.d.ts +1 -2
- package/notification/index.d.ts +1 -8
- package/number-box-2/index.d.ts +1 -1
- package/otp/index.d.ts +1 -3
- package/package.json +38 -8
- package/paint/index.d.ts +41 -6
- package/password-box/index.d.ts +1 -4
- package/phone-box/index.d.ts +7 -8
- package/popover/index.d.ts +1 -1
- package/popup/index.d.ts +2 -2
- package/qrcode/index.d.ts +7 -7
- package/query-builder/index.d.ts +1 -1
- package/rail-navigation/index.d.ts +1 -3
- package/range-slider/index.d.ts +13 -13
- package/rate-picker/index.d.ts +4 -4
- package/rest-api-generator/index.d.ts +1 -1
- package/rrule/index.d.ts +40 -17
- package/scheduler/index.d.ts +415 -153
- package/search-box/index.d.ts +2 -2
- package/select-box/index.d.ts +2 -2
- package/selection-list-2/index.d.ts +3 -3
- package/side-menu/index.d.ts +9 -9
- package/sliding-item/index.d.ts +4 -5
- package/step-wizard/index.d.ts +10 -13
- package/switch/index.d.ts +0 -1
- package/tabs/index.d.ts +6 -1
- package/tag-box/index.d.ts +16 -0
- package/text-area/index.d.ts +1 -2
- package/text-box/index.d.ts +2 -0
- package/time-line/index.d.ts +3 -0
- package/toast/index.d.ts +45 -1
- package/uploader/index.d.ts +215 -5
- package/wysiwyg/index.d.ts +26 -0
- package/fesm2022/acorex-components-modal-modal-content.component-Bt8c43qi.mjs +0 -218
- package/fesm2022/acorex-components-modal-modal-content.component-Bt8c43qi.mjs.map +0 -1
package/form/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { OnDestroy, AfterViewInit,
|
3
|
-
import { MXBaseComponent, AXStyleLookType
|
2
|
+
import { OnDestroy, AfterViewInit, EventEmitter, AfterContentChecked, WritableSignal, InjectionToken } from '@angular/core';
|
3
|
+
import { AXEvent, MXBaseComponent, AXStyleLookType } from '@acorex/cdk/common';
|
4
4
|
import * as i5 from '@acorex/core/validation';
|
5
5
|
import { AXValidationSummary, AXValidationRuleOptions } from '@acorex/core/validation';
|
6
6
|
import * as i1 from '@angular/common';
|
@@ -34,14 +34,14 @@ declare class AXFormComponent extends MXBaseComponent implements OnDestroy, Afte
|
|
34
34
|
* Specifies the mode of the label in the form field.
|
35
35
|
* @defaultValue 'static'
|
36
36
|
*/
|
37
|
-
labelMode: InputSignal<AXLabelMode>;
|
38
|
-
look: InputSignal<AXStyleLookType>;
|
37
|
+
readonly labelMode: i0.InputSignal<AXLabelMode>;
|
38
|
+
readonly look: i0.InputSignal<AXStyleLookType>;
|
39
39
|
content: i0.Signal<readonly AXFormFieldComponent[]>;
|
40
40
|
/**
|
41
41
|
* Determines the style of the message in the form field.
|
42
42
|
* @defaultValue 'bottom'
|
43
43
|
*/
|
44
|
-
messageStyle: InputSignal<AXFormMessageStyle>;
|
44
|
+
readonly messageStyle: i0.InputSignal<AXFormMessageStyle>;
|
45
45
|
/**
|
46
46
|
* Emitted when the form is validated.
|
47
47
|
*
|
@@ -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
|
/**
|
@@ -124,7 +134,7 @@ declare class AXFormFieldComponent extends MXBaseComponent implements AfterConte
|
|
124
134
|
* Specifies the mode of the label in the form field.
|
125
135
|
* @defaultValue 'static'
|
126
136
|
*/
|
127
|
-
labelMode: i0.InputSignal<AXLabelMode>;
|
137
|
+
readonly labelMode: i0.InputSignal<AXLabelMode>;
|
128
138
|
/**
|
129
139
|
* @ignore
|
130
140
|
*/
|
@@ -135,12 +145,12 @@ declare class AXFormFieldComponent extends MXBaseComponent implements AfterConte
|
|
135
145
|
* @ignore
|
136
146
|
*/
|
137
147
|
private label;
|
138
|
-
form
|
139
|
-
host
|
148
|
+
private form;
|
149
|
+
private host;
|
140
150
|
/**
|
141
151
|
* @ignore
|
142
152
|
*/
|
143
|
-
prefix: HTMLElement;
|
153
|
+
protected prefix: HTMLElement;
|
144
154
|
/**
|
145
155
|
* @ignore
|
146
156
|
*/
|
@@ -150,24 +160,24 @@ declare class AXFormFieldComponent extends MXBaseComponent implements AfterConte
|
|
150
160
|
* Calculates and sets the indentation size for the label based on the width of the prefix element.
|
151
161
|
* @ignore
|
152
162
|
*/
|
153
|
-
calcIndentSize(): void;
|
163
|
+
protected calcIndentSize(): void;
|
154
164
|
/**
|
155
165
|
* Sets the required attribute for the input field based on validation rules.
|
156
166
|
* Automatically updates if validation rules change.
|
157
167
|
* @ignore
|
158
168
|
*/
|
159
|
-
setRequired(): void;
|
169
|
+
protected setRequired(): void;
|
160
170
|
/**
|
161
171
|
* Sets the label mode based on the form's label mode configuration.
|
162
172
|
* @ignore
|
163
173
|
*/
|
164
|
-
setLabelMode(): void;
|
174
|
+
protected setLabelMode(): void;
|
165
175
|
/**
|
166
176
|
* Subscribes to focus and blur events on the input element.
|
167
177
|
* Adds or removes the 'ax-state-focused' class to/from the host element based on the focus state.
|
168
178
|
* @ignone
|
169
179
|
*/
|
170
|
-
listeningEvent(): void;
|
180
|
+
protected listeningEvent(): void;
|
171
181
|
/**
|
172
182
|
* @ignore
|
173
183
|
*/
|
@@ -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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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/image/index.d.ts
CHANGED
@@ -9,8 +9,8 @@ import * as i1 from '@angular/common';
|
|
9
9
|
* @category Components
|
10
10
|
*/
|
11
11
|
declare class AXImageComponent extends MXBaseComponent implements OnInit {
|
12
|
-
width: i0.InputSignal<number>;
|
13
|
-
height: i0.InputSignal<number>;
|
12
|
+
readonly width: i0.InputSignal<number>;
|
13
|
+
readonly height: i0.InputSignal<number>;
|
14
14
|
/**
|
15
15
|
* Specifies when the image overlay should be shown.
|
16
16
|
*
|
@@ -72,11 +72,11 @@ declare class AXImageComponent extends MXBaseComponent implements OnInit {
|
|
72
72
|
/**
|
73
73
|
* @ignore
|
74
74
|
*/
|
75
|
-
_handleLoadImage(e: Event): void;
|
75
|
+
protected _handleLoadImage(e: Event): void;
|
76
76
|
/**
|
77
77
|
* @ignore
|
78
78
|
*/
|
79
|
-
_handleErrorImage(e: ErrorEvent): void;
|
79
|
+
protected _handleErrorImage(e: ErrorEvent): void;
|
80
80
|
/**
|
81
81
|
* @ignore
|
82
82
|
*/
|
package/image-editor/index.d.ts
CHANGED
@@ -24,8 +24,8 @@ declare class AXImageEditorService {
|
|
24
24
|
userInteract: boolean;
|
25
25
|
}>;
|
26
26
|
isImageLoad: _angular_core.WritableSignal<boolean>;
|
27
|
-
newImage:
|
28
|
-
initialImage:
|
27
|
+
newImage: HTMLImageElement | null;
|
28
|
+
initialImage: HTMLImageElement | null;
|
29
29
|
imageBlob: _angular_core.WritableSignal<Blob[]>;
|
30
30
|
undoPressed: _angular_core.WritableSignal<boolean>;
|
31
31
|
redoPressed: _angular_core.WritableSignal<boolean>;
|
@@ -40,7 +40,7 @@ declare class AXImageEditorService {
|
|
40
40
|
*/
|
41
41
|
declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
42
42
|
#private;
|
43
|
-
showGrid: _angular_core.InputSignal<boolean>;
|
43
|
+
readonly showGrid: _angular_core.InputSignal<boolean>;
|
44
44
|
protected service: AXImageEditorService;
|
45
45
|
private ngZone;
|
46
46
|
private selectedHandle;
|
@@ -83,15 +83,15 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
|
|
83
83
|
/**
|
84
84
|
* its change grid display state.
|
85
85
|
*/
|
86
|
-
showGrid: _angular_core.InputSignal<boolean>;
|
86
|
+
readonly showGrid: _angular_core.InputSignal<boolean>;
|
87
87
|
/**
|
88
88
|
* its change grid display state.
|
89
89
|
*/
|
90
|
-
lockRatio: _angular_core.WritableSignal<boolean>;
|
90
|
+
readonly lockRatio: _angular_core.WritableSignal<boolean>;
|
91
91
|
/**
|
92
92
|
* its receive image src.
|
93
93
|
*/
|
94
|
-
src: _angular_core.InputSignal<string>;
|
94
|
+
readonly src: _angular_core.InputSignal<string>;
|
95
95
|
/** @ignore */
|
96
96
|
protected canvasElem: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
|
97
97
|
/** @ignore */
|
@@ -109,8 +109,6 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
|
|
109
109
|
/** @ignore */
|
110
110
|
protected renderer: Renderer2;
|
111
111
|
/** @ignore */
|
112
|
-
protected imageAspect: _angular_core.Signal<number>;
|
113
|
-
/** @ignore */
|
114
112
|
protected imageEditorHistory: _angular_core.WritableSignal<HTMLImageElement[]>;
|
115
113
|
/** @ignore */
|
116
114
|
protected imageEditorHistoryPointer: _angular_core.WritableSignal<number>;
|
@@ -118,6 +116,9 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
|
|
118
116
|
private resizeEventListener;
|
119
117
|
/** @ignore */
|
120
118
|
private imageLoadEventListener;
|
119
|
+
private originalWidth;
|
120
|
+
private originalHeight;
|
121
|
+
private scale;
|
121
122
|
/** @ignore */
|
122
123
|
protected resizeWindow(): void;
|
123
124
|
/** @ignore */
|
@@ -126,15 +127,12 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
|
|
126
127
|
constructor();
|
127
128
|
/** @ignore */
|
128
129
|
ngOnDestroy(): void;
|
129
|
-
|
130
|
-
protected imageLoaded(): void;
|
130
|
+
private setInitialImage;
|
131
131
|
/** @ignore */
|
132
132
|
protected imageChanged(): void;
|
133
133
|
/** @ignore */
|
134
134
|
protected penConfigHandler(penType: 'pen' | 'highlight'): void;
|
135
135
|
/** @ignore */
|
136
|
-
protected getBoundingCanvasHandler(): DOMRect;
|
137
|
-
/** @ignore */
|
138
136
|
protected mouseDownHandler(e: MouseEvent): void;
|
139
137
|
/** @ignore */
|
140
138
|
protected mouseMoveHandler(e: MouseEvent): void;
|
@@ -146,8 +144,6 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
|
|
146
144
|
protected rotateImage(): void;
|
147
145
|
/** @ignore */
|
148
146
|
protected saveImageChange(): void;
|
149
|
-
/** @ignore */
|
150
|
-
private get __hostStyle();
|
151
147
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorViewComponent, never>;
|
152
148
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorViewComponent, "ax-image-editor-view", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
153
149
|
}
|
@@ -166,6 +162,12 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
166
162
|
protected service: AXImageEditorService;
|
167
163
|
imageEditorContainer: _angular_core.Signal<ElementRef<any>>;
|
168
164
|
view: _angular_core.Signal<AXImageEditorViewComponent>;
|
165
|
+
/**
|
166
|
+
* Saves the current edited image and commits the value to the component.
|
167
|
+
* If the image has been modified, it commits the image blob array. If no changes were made, it commits null.
|
168
|
+
*
|
169
|
+
* @returns void - No return value. The edited image is saved and the onValueChanged event is emitted.
|
170
|
+
*/
|
169
171
|
save(): void;
|
170
172
|
protected cropButtonHandler(): void;
|
171
173
|
get __hostClass(): string;
|
package/kbd/index.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { NXComponent } from '@acorex/cdk/common';
|
3
|
-
import * as i1 from '@angular/common';
|
4
3
|
|
5
4
|
declare class AXKBDItemComponent extends NXComponent {
|
6
5
|
keys: i0.InputSignal<string | string[]>;
|
@@ -21,10 +20,4 @@ declare class AXKBDComponent extends NXComponent {
|
|
21
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXKBDComponent, "ax-kbd", never, {}, {}, never, ["ax-kbd-item"], true, never>;
|
22
21
|
}
|
23
22
|
|
24
|
-
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXKBDModule, never>;
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXKBDModule, never, [typeof i1.CommonModule, typeof AXKBDComponent, typeof AXKBDItemComponent], [typeof AXKBDComponent, typeof AXKBDItemComponent]>;
|
27
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXKBDModule>;
|
28
|
-
}
|
29
|
-
|
30
|
-
export { AXKBDComponent, AXKBDItemComponent, AXKBDModule };
|
23
|
+
export { AXKBDComponent, AXKBDItemComponent };
|
package/label/index.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { MXBaseComponent, MXValueComponent } from '@acorex/cdk/common';
|
2
2
|
import * as i0 from '@angular/core';
|
3
3
|
import { EventEmitter } from '@angular/core';
|
4
|
-
import * as i1 from '@angular/common';
|
5
4
|
|
6
5
|
/**
|
7
6
|
* Represents a label component that provides a way to display text labels within the application.
|
@@ -51,7 +50,7 @@ declare class AXLabelComponent extends MXBaseComponent {
|
|
51
50
|
|
52
51
|
declare class AXLabelModule {
|
53
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLabelModule, never>;
|
54
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXLabelModule, never, [typeof
|
53
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXLabelModule, never, [typeof AXLabelComponent], [typeof AXLabelComponent]>;
|
55
54
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXLabelModule>;
|
56
55
|
}
|
57
56
|
|
package/list/index.d.ts
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { OnInit, WritableSignal, TemplateRef, EventEmitter } from '@angular/core';
|
3
3
|
import { AXEvent, MXSelectionValueComponent, AXDataSource, AXListDataSource } from '@acorex/cdk/common';
|
4
|
-
import * as i1 from '@angular/common';
|
5
|
-
import * as i2 from '@angular/cdk/scrolling';
|
6
|
-
import * as i3 from '@acorex/core/translation';
|
7
|
-
import * as i4 from '@acorex/components/tooltip';
|
8
4
|
|
9
5
|
interface AXListScrollIndexChanged extends AXEvent {
|
10
6
|
index: number;
|
@@ -147,7 +143,7 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
147
143
|
|
148
144
|
declare class AXListModule {
|
149
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXListModule, never>;
|
150
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXListModule, never, [typeof
|
146
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXListModule, never, [typeof AXListComponent], [typeof AXListComponent]>;
|
151
147
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXListModule>;
|
152
148
|
}
|
153
149
|
|
package/loading/index.d.ts
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
import { AXStyleColorType, MXBaseComponent } from '@acorex/cdk/common';
|
2
2
|
import * as i0 from '@angular/core';
|
3
3
|
import { OnInit, EventEmitter, InjectionToken, ElementRef } from '@angular/core';
|
4
|
-
import * as i4 from '@angular/cdk/portal';
|
5
4
|
import { Portal, CdkPortalOutletAttachedRef } from '@angular/cdk/portal';
|
6
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
7
|
-
import * as i1 from '@angular/common';
|
8
|
-
import * as i2 from '@angular/cdk/overlay';
|
9
|
-
import * as i3 from '@angular/cdk/dialog';
|
10
6
|
|
11
7
|
/**
|
12
8
|
* A loading spinner component that displays a rotating spinner icon.
|
@@ -198,7 +194,7 @@ declare class AXLoadingDirective {
|
|
198
194
|
|
199
195
|
declare class AXLoadingModule {
|
200
196
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingModule, never>;
|
201
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingModule, never, [typeof
|
197
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingModule, never, [typeof AXLoadingComponent, typeof AXLoadingDirective, typeof AXLoadingSpinnerComponent], [typeof AXLoadingComponent, typeof AXLoadingDirective, typeof AXLoadingSpinnerComponent]>;
|
202
198
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXLoadingModule>;
|
203
199
|
}
|
204
200
|
|
@@ -1,15 +1,8 @@
|
|
1
|
-
import * as i1 from '@acorex/cdk/common';
|
2
1
|
import { AXStyleColorType, AXStyleLookType, AXHotKeyAction, MXBaseComponent } from '@acorex/cdk/common';
|
3
2
|
import { AXDialogButtonItem } from '@acorex/components/dialog';
|
4
|
-
import * as i2 from '@acorex/components/progress-bar';
|
5
3
|
import { AXProgressMode } from '@acorex/components/progress-bar';
|
6
4
|
import * as i0 from '@angular/core';
|
7
5
|
import { WritableSignal } from '@angular/core';
|
8
|
-
import * as i3 from '@acorex/components/loading';
|
9
|
-
import * as i4 from '@acorex/components/decorators';
|
10
|
-
import * as i5 from '@acorex/components/button';
|
11
|
-
import * as i6 from '@acorex/core/translation';
|
12
|
-
import * as i7 from '@angular/common';
|
13
6
|
|
14
7
|
interface AXLoadingDialogConfig {
|
15
8
|
title: string;
|
@@ -112,7 +105,7 @@ declare class AXLoadingDialogComponent extends MXBaseComponent {
|
|
112
105
|
|
113
106
|
declare class AXLoadingDialogModule {
|
114
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogModule, never>;
|
115
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingDialogModule, never, [typeof
|
108
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingDialogModule, never, [typeof AXLoadingDialogComponent], [typeof AXLoadingDialogComponent]>;
|
116
109
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXLoadingDialogModule>;
|
117
110
|
}
|
118
111
|
|
package/map/index.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
2
2
|
import { OnDestroy, InjectionToken, EventEmitter } from '@angular/core';
|
3
|
+
import { NXComponent } from '@acorex/cdk/common';
|
3
4
|
import * as i1 from '@angular/common';
|
4
5
|
import * as leaflet from 'leaflet';
|
5
6
|
|
@@ -75,7 +76,7 @@ type AXMapControlPlace = 'topleft' | 'topright' | 'bottomleft' | 'bottomright';
|
|
75
76
|
* @example
|
76
77
|
* <ax-map [latitude]="51.505" [longitude]="-0.09" [zoomLevel]="13" [hasMarker]="true"></ax-map>
|
77
78
|
*/
|
78
|
-
declare class AXMapComponent implements OnDestroy {
|
79
|
+
declare class AXMapComponent extends NXComponent implements OnDestroy {
|
79
80
|
#private;
|
80
81
|
/**
|
81
82
|
* @description
|
package/menu/index.d.ts
CHANGED
@@ -3,12 +3,6 @@ import { WritableSignal, OutputEmitterRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import { AXStyleColorType, NXComponent, NXClickEvent, AXOrientation, NXEvent } from '@acorex/cdk/common';
|
4
4
|
import { AXPoint } from '@acorex/core/utils';
|
5
5
|
import { Subject } from 'rxjs';
|
6
|
-
import * as i1 from '@angular/common';
|
7
|
-
import * as i2 from '@acorex/components/decorators';
|
8
|
-
import * as i3 from '@acorex/components/loading';
|
9
|
-
import * as i4 from '@acorex/core/translation';
|
10
|
-
import * as i5 from '@angular/cdk/overlay';
|
11
|
-
import * as i6 from '@acorex/components/popover';
|
12
6
|
|
13
7
|
type AXMenuOpenTrigger = 'click' | 'hover';
|
14
8
|
type AXMenuCloseTrigger = 'click' | 'leave';
|
@@ -59,11 +53,11 @@ type AXContextMenuItemsClickEvent = AXMenuItemClickBaseEvent<AXContextMenuCompon
|
|
59
53
|
* @category Components
|
60
54
|
*/
|
61
55
|
declare class AXContextMenuComponent extends NXComponent {
|
62
|
-
orientation: _angular_core.InputSignal<AXOrientation>;
|
63
|
-
openOn: _angular_core.InputSignal<AXMenuOpenTrigger>;
|
64
|
-
closeOn: _angular_core.InputSignal<AXMenuCloseTrigger>;
|
65
|
-
|
66
|
-
target: _angular_core.InputSignal<string | HTMLElement | HTMLElement[]>;
|
56
|
+
readonly orientation: _angular_core.InputSignal<AXOrientation>;
|
57
|
+
readonly openOn: _angular_core.InputSignal<AXMenuOpenTrigger>;
|
58
|
+
readonly closeOn: _angular_core.InputSignal<AXMenuCloseTrigger>;
|
59
|
+
readonly originalItems: _angular_core.InputSignal<AXMenuItem[]>;
|
60
|
+
readonly target: _angular_core.InputSignal<string | HTMLElement | HTMLElement[]>;
|
67
61
|
onItemClick: _angular_core.OutputEmitterRef<AXContextMenuItemsClickEvent>;
|
68
62
|
onOpening: _angular_core.OutputEmitterRef<AXContextMenuOpeningEvent>;
|
69
63
|
hasArrow: _angular_core.WritableSignal<boolean>;
|
@@ -74,8 +68,20 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
74
68
|
/** @ignore */
|
75
69
|
constructor();
|
76
70
|
ngOnDestroy(): void;
|
71
|
+
/**
|
72
|
+
* Refreshes the context menu by rebinding event listeners to target elements.
|
73
|
+
*/
|
77
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
|
+
*/
|
78
81
|
showAt(point: AXPoint, targetElement?: HTMLElement, event?: AXContextMenuOpeningEvent): void;
|
82
|
+
/**
|
83
|
+
* Closes the context menu and removes the backdrop.
|
84
|
+
*/
|
79
85
|
close(): void;
|
80
86
|
private backdropElement;
|
81
87
|
private originalNextSibling;
|
@@ -101,7 +107,7 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
101
107
|
/** @ignore */
|
102
108
|
get __hostClass(): any;
|
103
109
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXContextMenuComponent, never>;
|
104
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "
|
110
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "originalItems": { "alias": "items"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; "onOpening": "onOpening"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
105
111
|
}
|
106
112
|
|
107
113
|
type AXMenuItemClickEvent = AXMenuItemClickBaseEvent<AXMenuItemComponent>;
|
@@ -218,7 +224,7 @@ declare class AXMenuComponent extends NXComponent {
|
|
218
224
|
|
219
225
|
declare class AXMenuModule {
|
220
226
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMenuModule, never>;
|
221
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMenuModule, never, [typeof
|
227
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMenuModule, never, [typeof AXMenuItemComponent, typeof AXMenuComponent, typeof AXContextMenuComponent], [typeof AXMenuItemComponent, typeof AXMenuComponent, typeof AXContextMenuComponent]>;
|
222
228
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMenuModule>;
|
223
229
|
}
|
224
230
|
|
package/modal/index.d.ts
CHANGED
@@ -24,6 +24,8 @@ interface AXModalOptions extends AXOverlayOptions {
|
|
24
24
|
size?: 'sm' | 'md' | 'lg' | 'full' | 'fit';
|
25
25
|
header?: boolean;
|
26
26
|
footer?: boolean;
|
27
|
+
panelClass?: string;
|
28
|
+
closeOnEscape?: boolean;
|
27
29
|
}
|
28
30
|
interface AXModalRef<TResult = any> {
|
29
31
|
minimize: () => void;
|
@@ -34,13 +36,13 @@ interface AXModalRef<TResult = any> {
|
|
34
36
|
onClose: Subject<TResult>;
|
35
37
|
}
|
36
38
|
declare abstract class AXModalComponentBase {
|
37
|
-
|
39
|
+
__modal__: i0.InputSignal<AXModalRef<any>>;
|
38
40
|
close(data?: any): void;
|
39
41
|
minimize(): void;
|
40
42
|
restore(): void;
|
41
43
|
maximize(): void;
|
42
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponentBase, never>;
|
43
|
-
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>;
|
44
46
|
}
|
45
47
|
|
46
48
|
declare class AXModalComponent extends NXComponent {
|
package/navbar/index.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import { MXLookComponent } from '@acorex/cdk/common';
|
2
2
|
import * as i0 from '@angular/core';
|
3
|
-
import * as i1 from '@angular/common';
|
4
3
|
|
5
4
|
/**
|
6
5
|
* @category Components
|
@@ -20,7 +19,7 @@ declare class AXNavbarComponent extends MXLookComponent {
|
|
20
19
|
|
21
20
|
declare class AXNavbarModule {
|
22
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNavbarModule, never>;
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXNavbarModule, never, [typeof
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXNavbarModule, never, [typeof AXNavbarComponent], [typeof AXNavbarComponent]>;
|
24
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXNavbarModule>;
|
25
24
|
}
|
26
25
|
|
package/notification/index.d.ts
CHANGED
@@ -1,15 +1,8 @@
|
|
1
1
|
import { AXStyleColorType, AXStyleLookType, AXLocation, MXBaseComponent, AXComponentCloseEvent } from '@acorex/cdk/common';
|
2
|
-
import * as i2 from '@angular/cdk/portal';
|
3
2
|
import { ComponentType, Portal } from '@angular/cdk/portal';
|
4
3
|
import * as i0 from '@angular/core';
|
5
4
|
import { TemplateRef, OnInit, InjectionToken } from '@angular/core';
|
6
|
-
import * as i4 from '@angular/cdk/dialog';
|
7
5
|
import { DialogRef } from '@angular/cdk/dialog';
|
8
|
-
import * as i1 from '@angular/common';
|
9
|
-
import * as i3 from '@acorex/components/button';
|
10
|
-
import * as i5 from '@acorex/components/loading';
|
11
|
-
import * as i6 from '@acorex/components/decorators';
|
12
|
-
import * as i7 from '@acorex/core/translation';
|
13
6
|
|
14
7
|
type AXNotificationContentType = string | TemplateRef<unknown> | ComponentType<unknown>;
|
15
8
|
interface AXNotificationButtonItem {
|
@@ -102,7 +95,7 @@ declare function notificationConfig(config?: PartialNotificationConfig): AXNotif
|
|
102
95
|
|
103
96
|
declare class AXNotificationModule {
|
104
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationModule, never>;
|
105
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXNotificationModule, never, [typeof
|
98
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXNotificationModule, never, [typeof AXNotificationComponent], [typeof AXNotificationComponent]>;
|
106
99
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXNotificationModule>;
|
107
100
|
}
|
108
101
|
|