@acorex/components 21.0.0-next.3 → 21.0.0-next.31
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 +0 -1
- package/autocomplete/index.d.ts +23 -9
- package/button/index.d.ts +38 -17
- package/chips/index.d.ts +3 -8
- package/code-editor/README.md +291 -1
- package/code-editor/index.d.ts +260 -12
- package/command/index.d.ts +1 -0
- package/conversation2/README.md +426 -0
- package/conversation2/index.d.ts +6139 -0
- package/data-table/index.d.ts +79 -7
- package/dialog/index.d.ts +1 -1
- package/drawer/README.md +2 -2
- package/drawer/index.d.ts +33 -57
- package/drawer-legacy/README.md +3 -0
- package/drawer-legacy/index.d.ts +86 -0
- package/editor/README.md +3 -0
- package/editor/index.d.ts +79 -0
- package/fesm2022/acorex-components-accordion.mjs +19 -24
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +12 -12
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +14 -14
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs +4 -4
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +12 -11
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +30 -13
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +13 -13
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +10 -10
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +12 -12
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +12 -12
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +17 -19
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +78 -29
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +18 -18
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +11 -11
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +12 -14
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +13 -11
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +494 -162
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +13 -28
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +11 -11
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +32 -32
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +18 -11
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +34 -34
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +56 -65
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +17641 -0
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -0
- package/fesm2022/acorex-components-cron-job.mjs +53 -53
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +5 -5
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +53 -41
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +462 -105
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +10 -10
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +8 -8
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +11 -11
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +96 -54
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +26 -16
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-legacy.mjs +218 -0
- package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -0
- package/fesm2022/acorex-components-drawer.mjs +66 -150
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +18 -16
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +195 -0
- package/fesm2022/acorex-components-editor.mjs.map +1 -0
- package/fesm2022/acorex-components-file-explorer.mjs +28 -28
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +18 -18
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +52 -35
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +14 -15
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +166 -126
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +10 -10
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +9 -9
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +9 -7
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +8 -8
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +9 -9
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +10 -10
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +22 -13
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +23 -23
- 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 +78 -97
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +24 -24
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs → acorex-components-modal-acorex-components-modal-BmmAkCKJ.mjs} +24 -24
- package/fesm2022/acorex-components-modal-acorex-components-modal-BmmAkCKJ.mjs.map +1 -0
- package/fesm2022/acorex-components-modal-modal-content.component-5GqTzNOs.mjs +214 -0
- package/fesm2022/acorex-components-modal-modal-content.component-5GqTzNOs.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +9 -9
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +16 -23
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-legacy.mjs +412 -0
- package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -0
- package/fesm2022/acorex-components-number-box.mjs +98 -331
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +10 -10
- 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 +35 -40
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +13 -13
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +10 -10
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +17 -17
- 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 +13 -13
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +11 -9
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +8 -8
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +9 -9
- 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 +40 -38
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +11 -11
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +20 -35
- 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 +8 -8
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +8 -8
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +111 -16
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +2339 -0
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-scheduler.mjs +52 -52
- 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 +23 -12
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +36 -17
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +10 -10
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +10 -10
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +31 -38
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +8 -8
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +11 -11
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +17 -17
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +16 -16
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +14 -14
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +20 -16
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +51 -21
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +47 -11
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +9 -9
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +13 -13
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +54 -14
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +14 -29
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +14 -14
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +9 -9
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +12 -12
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +16 -45
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-tree2.mjs +689 -0
- package/fesm2022/acorex-components-tree2.mjs.map +1 -0
- package/fesm2022/acorex-components-uploader.mjs +28 -641
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +8 -8
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +213 -462
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/form/index.d.ts +3 -3
- package/grid-layout-builder/index.d.ts +1 -2
- package/image-editor/index.d.ts +8 -5
- package/loading/index.d.ts +1 -1
- package/media-viewer/index.d.ts +2 -3
- package/notification/index.d.ts +0 -2
- package/number-box/README.md +2 -2
- package/number-box/index.d.ts +31 -171
- package/number-box-legacy/README.md +3 -0
- package/number-box-legacy/index.d.ts +191 -0
- package/package.json +53 -26
- package/paint/index.d.ts +1 -6
- package/phone-box/index.d.ts +4 -4
- package/rate-picker/index.d.ts +5 -15
- package/rrule/index.d.ts +96 -1
- package/scheduler-picker/README.md +15 -0
- package/scheduler-picker/index.d.ts +1360 -0
- package/search-box/index.d.ts +6 -1
- package/select-box/index.d.ts +15 -10
- package/side-menu/index.d.ts +3 -2
- package/tag/index.d.ts +8 -2
- package/tag-box/index.d.ts +12 -3
- package/time-duration/index.d.ts +19 -3
- package/tree2/README.md +3 -0
- package/tree2/index.d.ts +337 -0
- package/uploader/index.d.ts +4 -331
- package/wysiwyg/index.d.ts +57 -159
- package/drawer-2/README.md +0 -3
- package/drawer-2/index.d.ts +0 -62
- package/fesm2022/acorex-components-drawer-2.mjs +0 -134
- package/fesm2022/acorex-components-drawer-2.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs +0 -235
- package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs.map +0 -1
- package/fesm2022/acorex-components-number-box-2.mjs +0 -183
- package/fesm2022/acorex-components-number-box-2.mjs.map +0 -1
- package/number-box-2/README.md +0 -3
- package/number-box-2/index.d.ts +0 -41
package/form/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, AfterViewInit, EventEmitter, AfterContentChecked, WritableSignal, InjectionToken } from '@angular/core';
|
|
3
|
-
import { AXEvent,
|
|
3
|
+
import { AXEvent, MXValueComponent, AXStyleLookType, MXBaseComponent } 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';
|
|
@@ -28,7 +28,7 @@ type AXLabelMode = 'static' | 'floating' | 'over';
|
|
|
28
28
|
*
|
|
29
29
|
* @category Components
|
|
30
30
|
*/
|
|
31
|
-
declare class AXFormComponent extends
|
|
31
|
+
declare class AXFormComponent extends MXValueComponent implements OnDestroy, AfterViewInit {
|
|
32
32
|
#private;
|
|
33
33
|
/**
|
|
34
34
|
* Specifies the mode of the label in the form field.
|
|
@@ -121,7 +121,7 @@ declare class AXFormComponent extends MXBaseComponent implements OnDestroy, Afte
|
|
|
121
121
|
*/
|
|
122
122
|
ngOnDestroy(): void;
|
|
123
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXFormComponent, never>;
|
|
124
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXFormComponent, "ax-form", never, { "labelMode": { "alias": "labelMode"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "messageStyle": { "alias": "messageStyle"; "required": false; "isSignal": true; }; "updateOn": { "alias": "updateOn"; "required": false; }; }, { "onValidate": "onValidate"; "updateOnChange": "updateOnChange"; }, ["content"], ["*"], true, never>;
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXFormComponent, "ax-form", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "labelMode": { "alias": "labelMode"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "messageStyle": { "alias": "messageStyle"; "required": false; "isSignal": true; }; "updateOn": { "alias": "updateOn"; "required": false; }; }, { "onValidate": "onValidate"; "updateOnChange": "updateOnChange"; }, ["content"], ["*"], true, never>;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/**
|
|
@@ -195,10 +195,9 @@ declare class AXGridLayoutContainerComponent extends NXComponent implements OnDe
|
|
|
195
195
|
* Sets the cell height of the grid.
|
|
196
196
|
*
|
|
197
197
|
* @param val - New cell height value.
|
|
198
|
-
* @param update - Whether to update the grid immediately.
|
|
199
198
|
* @returns void - No return value. The cell height is updated.
|
|
200
199
|
*/
|
|
201
|
-
setCellHeight(val: number
|
|
200
|
+
setCellHeight(val: number): void;
|
|
202
201
|
/**
|
|
203
202
|
* Sets the number of columns in the grid.
|
|
204
203
|
*
|
package/image-editor/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ declare class AXImageEditorService {
|
|
|
29
29
|
imageBlob: _angular_core.WritableSignal<Blob[]>;
|
|
30
30
|
undoPressed: _angular_core.WritableSignal<boolean>;
|
|
31
31
|
redoPressed: _angular_core.WritableSignal<boolean>;
|
|
32
|
-
cropperRatio: _angular_core.WritableSignal<
|
|
32
|
+
cropperRatio: _angular_core.WritableSignal<string>;
|
|
33
33
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorService, never>;
|
|
34
34
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXImageEditorService>;
|
|
35
35
|
}
|
|
@@ -51,6 +51,8 @@ declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
|
|
51
51
|
private currentY;
|
|
52
52
|
private prevX;
|
|
53
53
|
private prevY;
|
|
54
|
+
private aspectWidth;
|
|
55
|
+
private aspectHeight;
|
|
54
56
|
protected renderer: Renderer2;
|
|
55
57
|
private platformID;
|
|
56
58
|
private mouseMoveEvent;
|
|
@@ -71,7 +73,6 @@ declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
|
|
71
73
|
private startHeight;
|
|
72
74
|
private startLeft;
|
|
73
75
|
private startTop;
|
|
74
|
-
protected edgeCase: boolean;
|
|
75
76
|
protected handleSelector(e: MouseEvent, value: string): void;
|
|
76
77
|
protected changeSizeHandler(e: MouseEvent): void;
|
|
77
78
|
protected clearSelector(): void;
|
|
@@ -162,6 +163,7 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
|
162
163
|
protected service: AXImageEditorService;
|
|
163
164
|
imageEditorContainer: _angular_core.Signal<ElementRef<any>>;
|
|
164
165
|
view: _angular_core.Signal<AXImageEditorViewComponent>;
|
|
166
|
+
aspectRatio: _angular_core.InputSignal<string[]>;
|
|
165
167
|
/**
|
|
166
168
|
* Saves the current edited image and commits the value to the component.
|
|
167
169
|
* If the image has been modified, it commits the image blob array. If no changes were made, it commits null.
|
|
@@ -173,7 +175,7 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
|
173
175
|
get __hostClass(): string;
|
|
174
176
|
private get __hostName();
|
|
175
177
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorContainerComponent, never>;
|
|
176
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorContainerComponent, "ax-image-editor-container", never, { "look": { "alias": "look"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onValueChanged": "onValueChanged"; }, ["view"], ["ax-header", "ax-image-editor-view", "ax-validation-rule"], true, never>;
|
|
178
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorContainerComponent, "ax-image-editor-container", never, { "look": { "alias": "look"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "aspectRatio": { "alias": "aspectRatio"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, ["view"], ["ax-header", "ax-image-editor-view", "ax-validation-rule"], true, never>;
|
|
177
179
|
}
|
|
178
180
|
|
|
179
181
|
/**
|
|
@@ -183,10 +185,11 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
|
183
185
|
declare class AXImageEditorCropComponent {
|
|
184
186
|
protected service: AXImageEditorService;
|
|
185
187
|
cropPressed: _angular_core.OutputEmitterRef<void>;
|
|
188
|
+
aspectRatio: _angular_core.InputSignal<string[]>;
|
|
186
189
|
protected cropButtonHandler(): void;
|
|
187
|
-
protected ratioHandler(r: '1:1' | '16:9'): void;
|
|
190
|
+
protected ratioHandler(r: '1:1' | '16:9' | string): void;
|
|
188
191
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorCropComponent, never>;
|
|
189
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorCropComponent, "ax-image-editor-crop", never, {}, { "cropPressed": "cropPressed"; }, never, never, true, never>;
|
|
192
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorCropComponent, "ax-image-editor-crop", never, { "aspectRatio": { "alias": "aspectRatio"; "required": false; "isSignal": true; }; }, { "cropPressed": "cropPressed"; }, never, never, true, never>;
|
|
190
193
|
}
|
|
191
194
|
|
|
192
195
|
/**
|
package/loading/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ declare class AXLoadingComponent extends MXBaseComponent implements OnInit {
|
|
|
81
81
|
/**
|
|
82
82
|
* @ignore
|
|
83
83
|
*/
|
|
84
|
-
protected
|
|
84
|
+
protected _handleAttached(ref: CdkPortalOutletAttachedRef): void;
|
|
85
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingComponent, never>;
|
|
86
86
|
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, true, never>;
|
|
87
87
|
}
|
package/media-viewer/index.d.ts
CHANGED
|
@@ -53,11 +53,12 @@ declare class AXMediaViewerContainerComponent implements OnDestroy {
|
|
|
53
53
|
protected sanitizer: DomSanitizer;
|
|
54
54
|
protected thumbnailArray: i0.WritableSignal<Thumbnail[]>;
|
|
55
55
|
protected option: i0.WritableSignal<swiper_types.SwiperOptions>;
|
|
56
|
-
protected
|
|
56
|
+
protected thumbnailOption: i0.WritableSignal<swiper_types.SwiperOptions>;
|
|
57
57
|
isFullScreen: i0.WritableSignal<boolean>;
|
|
58
58
|
private swiperRef;
|
|
59
59
|
private swiperRef2;
|
|
60
60
|
private fullScreenButton;
|
|
61
|
+
private globalOptions;
|
|
61
62
|
private setActiveIndex;
|
|
62
63
|
getActiveIndex(): number;
|
|
63
64
|
ngOnDestroy(): void;
|
|
@@ -65,8 +66,6 @@ declare class AXMediaViewerContainerComponent implements OnDestroy {
|
|
|
65
66
|
prev(): void;
|
|
66
67
|
interVal: any;
|
|
67
68
|
goToIndex(index: number, speed?: number): void;
|
|
68
|
-
update(): void;
|
|
69
|
-
init(): void;
|
|
70
69
|
protected closeHandler(): void;
|
|
71
70
|
/** @ignore */
|
|
72
71
|
get __hostClass(): string;
|
package/notification/index.d.ts
CHANGED
|
@@ -69,8 +69,6 @@ declare class AXNotificationComponent extends MXBaseComponent implements OnInit
|
|
|
69
69
|
private _initIcon;
|
|
70
70
|
/** @ignore */
|
|
71
71
|
protected _handleButtonClick(button: AXNotificationButtonItem): void;
|
|
72
|
-
/** @ignore */
|
|
73
|
-
private get __hostClass();
|
|
74
72
|
/**
|
|
75
73
|
* Closes the dialog and provides the component and HTML element for reference.
|
|
76
74
|
*/
|
package/number-box/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# @acorex/components/number-box
|
|
1
|
+
# @acorex/components/number-box-2
|
|
2
2
|
|
|
3
|
-
Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/number-box`.
|
|
3
|
+
Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/number-box-2`.
|
package/number-box/index.d.ts
CHANGED
|
@@ -1,191 +1,51 @@
|
|
|
1
1
|
import * as polytype from 'polytype';
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import * as i2 from '@acorex/cdk/input-mask';
|
|
4
|
+
import { AXInputMaskEvent } from '@acorex/cdk/input-mask';
|
|
5
5
|
import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
|
|
6
|
-
import * as i1 from '@angular/
|
|
7
|
-
import * as i2 from '@angular/forms';
|
|
6
|
+
import * as i1 from '@angular/forms';
|
|
8
7
|
import * as i3 from '@acorex/components/button';
|
|
9
8
|
import * as i4 from '@acorex/components/decorators';
|
|
10
|
-
import * as i5 from 'angular-imask';
|
|
11
9
|
|
|
12
10
|
declare const AXNumberBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
13
11
|
new (): MXInputBaseValueComponent<number>;
|
|
14
|
-
ɵfac:
|
|
15
|
-
ɵprov:
|
|
12
|
+
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
13
|
+
ɵprov: _angular_core.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
|
16
14
|
}, typeof MXLookComponent]>;
|
|
17
15
|
/**
|
|
18
16
|
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
19
17
|
*
|
|
20
18
|
* @category Components
|
|
21
19
|
*/
|
|
22
|
-
declare class AXNumberBoxComponent extends AXNumberBoxComponent_base
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
private
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* Sets the all digits of number.
|
|
43
|
-
* @param {number} v
|
|
44
|
-
*/
|
|
45
|
-
set allDigits(v: number);
|
|
46
|
-
/**
|
|
47
|
-
* A character value that specifies the separator character.
|
|
48
|
-
*/
|
|
49
|
-
get thousandsSeparator(): string;
|
|
50
|
-
/**
|
|
51
|
-
* Sets the thousands separator for formatting.
|
|
52
|
-
* @param {string} v
|
|
53
|
-
*/
|
|
54
|
-
set thousandsSeparator(v: string);
|
|
55
|
-
/** @ignore */
|
|
56
|
-
private _padDecimalZeros;
|
|
57
|
-
/**
|
|
58
|
-
* A character value that specifies the separator character.
|
|
59
|
-
*/
|
|
60
|
-
get padDecimalZeros(): boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Sets whether decimal zeros should be padded.
|
|
63
|
-
* @param {boolean} v
|
|
64
|
-
*/
|
|
65
|
-
set padDecimalZeros(v: boolean);
|
|
66
|
-
/**
|
|
67
|
-
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
68
|
-
*/
|
|
69
|
-
/**
|
|
70
|
-
* Defines the increment step value.
|
|
71
|
-
*/
|
|
72
|
-
step: number;
|
|
73
|
-
/** @ignore */
|
|
74
|
-
private _decimals;
|
|
75
|
-
/**
|
|
76
|
-
* Specifies the number of decimals that the user can enter
|
|
77
|
-
*/
|
|
78
|
-
get decimals(): number;
|
|
79
|
-
/**
|
|
80
|
-
* Sets the decimal places; defaults to 0 if not provided.
|
|
81
|
-
*/
|
|
82
|
-
set decimals(v: number);
|
|
83
|
-
/**
|
|
84
|
-
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
85
|
-
*/
|
|
86
|
-
/**
|
|
87
|
-
* Defines the step size for decimal values.
|
|
88
|
-
* @defaultvalue 'auto'
|
|
89
|
-
*/
|
|
90
|
-
decimalStep: number | 'auto';
|
|
91
|
-
/**
|
|
92
|
-
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
93
|
-
*/
|
|
94
|
-
/**
|
|
95
|
-
* Indicates whether spin buttons are displayed.
|
|
96
|
-
* @defaultvalue true
|
|
97
|
-
*/
|
|
98
|
-
showSpinButtons: boolean;
|
|
99
|
-
/** @ignore */
|
|
100
|
-
private _minValue;
|
|
101
|
-
/**
|
|
102
|
-
* Specifies the smallest value that is valid
|
|
103
|
-
*/
|
|
104
|
-
get minValue(): number;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the number of decimal places to be used.
|
|
107
|
-
* @param {number} v
|
|
108
|
-
* @defaultvalue 0
|
|
109
|
-
*/
|
|
110
|
-
set minValue(v: number);
|
|
111
|
-
/** @ignore */
|
|
112
|
-
private _maxValue;
|
|
113
|
-
/**
|
|
114
|
-
* Specifies the greatest value that is valid
|
|
115
|
-
*/
|
|
116
|
-
get maxValue(): number;
|
|
117
|
-
/**
|
|
118
|
-
* Sets the maximum allowable value, defaulting to `Number.MAX_SAFE_INTEGER` if null.
|
|
119
|
-
* @param v
|
|
120
|
-
*/
|
|
121
|
-
set maxValue(v: number);
|
|
122
|
-
/**
|
|
123
|
-
* CSS classes to apply to the component.
|
|
124
|
-
* @param classNames
|
|
125
|
-
*/
|
|
126
|
-
/**
|
|
127
|
-
* CSS classes to apply to the component.
|
|
128
|
-
*/
|
|
129
|
-
classNames: string;
|
|
130
|
-
/**
|
|
131
|
-
* @ignore
|
|
132
|
-
*/
|
|
133
|
-
_maskObj: MaskedNumber;
|
|
134
|
-
/** @ignore */
|
|
135
|
-
/** @ignore */
|
|
136
|
-
private _maskDirective;
|
|
137
|
-
/** @ignore */
|
|
138
|
-
private _onWheelFlag;
|
|
139
|
-
constructor();
|
|
140
|
-
/** @ignore */
|
|
141
|
-
ngAfterViewInit(): void;
|
|
142
|
-
/**
|
|
143
|
-
* Handles internal option changes and updates the mask accordingly.
|
|
144
|
-
*/
|
|
145
|
-
internalOptionChanged(): void;
|
|
146
|
-
/**
|
|
147
|
-
* Resets the input element to its default state and calls the parent class reset method.
|
|
148
|
-
*/
|
|
149
|
-
reset(): void;
|
|
150
|
-
/**
|
|
151
|
-
* Ensures the value is within the min-max range, returning the default if null.
|
|
152
|
-
* @param value
|
|
153
|
-
*/
|
|
154
|
-
internalSetValue(value: any): number;
|
|
155
|
-
/** @ignore */
|
|
156
|
-
private _updateMask;
|
|
157
|
-
/** @ignore */
|
|
158
|
-
_handleModelChange(value: number): void;
|
|
159
|
-
/** @ignore */
|
|
160
|
-
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
161
|
-
/** @ignore */
|
|
162
|
-
protected _handleUpDownClick(v: -1 | 1, e: Event): void;
|
|
163
|
-
/**
|
|
164
|
-
* Increases the value by the step amount, ensuring it's at least the minimum value.
|
|
165
|
-
*/
|
|
166
|
-
stepUp(u?: boolean): void;
|
|
167
|
-
/**
|
|
168
|
-
* Decreases the value by the step amount, ensuring it's at least the minimum value.
|
|
169
|
-
*/
|
|
170
|
-
stepDown(u?: boolean): void;
|
|
171
|
-
/**
|
|
172
|
-
* Increases the value by the decimal step amount, using 'auto' or a custom step value.
|
|
173
|
-
*/
|
|
174
|
-
decimalStepUp(u?: boolean): void;
|
|
175
|
-
/**
|
|
176
|
-
* Decreases the value by the decimal step amount, using 'auto' or a custom step value.
|
|
177
|
-
*/
|
|
178
|
-
decimalStepDown(u?: boolean): void;
|
|
179
|
-
onWheel(event: WheelEvent): void;
|
|
20
|
+
declare class AXNumberBoxComponent extends AXNumberBoxComponent_base {
|
|
21
|
+
#private;
|
|
22
|
+
minValue: _angular_core.InputSignal<number>;
|
|
23
|
+
maxValue: _angular_core.InputSignal<number>;
|
|
24
|
+
showSpinButtons: _angular_core.InputSignal<boolean>;
|
|
25
|
+
thousandsSeparator: _angular_core.ModelSignal<string>;
|
|
26
|
+
decimals: _angular_core.InputSignal<number>;
|
|
27
|
+
changeOnScroll: _angular_core.InputSignal<boolean>;
|
|
28
|
+
step: _angular_core.InputSignal<number>;
|
|
29
|
+
protected mode: _angular_core.WritableSignal<"digits" | "thousandsSeparator" | "decimal">;
|
|
30
|
+
private input;
|
|
31
|
+
protected stringValue: string;
|
|
32
|
+
protected internalValueChanged(value: number): void;
|
|
33
|
+
private plusValue;
|
|
34
|
+
private minusValue;
|
|
35
|
+
protected handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
36
|
+
protected handleUpClick(): void;
|
|
37
|
+
protected handleDownClick(): void;
|
|
38
|
+
protected handleOnMaskChanged(e: AXInputMaskEvent): void;
|
|
39
|
+
protected onWheel(event: WheelEvent): void;
|
|
180
40
|
private get __hostName();
|
|
181
|
-
static ɵfac:
|
|
182
|
-
static ɵcmp:
|
|
41
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
|
|
42
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "look": { "alias": "look"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "showSpinButtons": { "alias": "showSpinButtons"; "required": false; "isSignal": true; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "changeOnScroll": { "alias": "changeOnScroll"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; "thousandsSeparator": "thousandsSeparatorChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
|
183
43
|
}
|
|
184
44
|
|
|
185
45
|
declare class AXNumberBoxModule {
|
|
186
|
-
static ɵfac:
|
|
187
|
-
static ɵmod:
|
|
188
|
-
static ɵinj:
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNumberBoxModule, never>;
|
|
47
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXNumberBoxModule, never, [typeof i1.FormsModule, typeof i2.AXInputMaskDirective, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof AXNumberBoxComponent], [typeof AXNumberBoxComponent]>;
|
|
48
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXNumberBoxModule>;
|
|
189
49
|
}
|
|
190
50
|
|
|
191
51
|
export { AXNumberBoxComponent, AXNumberBoxModule };
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import * as polytype from 'polytype';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
4
|
+
import { MaskedNumber } from 'imask';
|
|
5
|
+
import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
|
|
6
|
+
import * as i1 from '@angular/common';
|
|
7
|
+
import * as i2 from '@angular/forms';
|
|
8
|
+
import * as i3 from '@acorex/components/button';
|
|
9
|
+
import * as i4 from '@acorex/components/decorators';
|
|
10
|
+
import * as i5 from 'angular-imask';
|
|
11
|
+
|
|
12
|
+
declare const AXNumberBoxLegacyComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
13
|
+
new (): MXInputBaseValueComponent<number>;
|
|
14
|
+
ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
15
|
+
ɵprov: i0.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
|
16
|
+
}, typeof MXLookComponent]>;
|
|
17
|
+
/**
|
|
18
|
+
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
19
|
+
*
|
|
20
|
+
* @category Components
|
|
21
|
+
*/
|
|
22
|
+
declare class AXNumberBoxLegacyComponent extends AXNumberBoxLegacyComponent_base implements AfterViewInit {
|
|
23
|
+
/** @ignore */
|
|
24
|
+
input: ElementRef<HTMLInputElement>;
|
|
25
|
+
/** @ignore */
|
|
26
|
+
private _thousandsSeparator;
|
|
27
|
+
/**
|
|
28
|
+
* This property determines the type of the input element (e.g., 'text', 'password', 'email', etc.). It can be dynamically bound from a parent component template to change the input field type based on different conditions or requirements.
|
|
29
|
+
*/
|
|
30
|
+
type: i0.InputSignal<string>;
|
|
31
|
+
/**
|
|
32
|
+
* boolean value that specifies the number box change step by scrolling.
|
|
33
|
+
*/
|
|
34
|
+
changeOnScroll: boolean;
|
|
35
|
+
/** @ignore */
|
|
36
|
+
private _allDigits;
|
|
37
|
+
/**
|
|
38
|
+
* A number value that specifies the all digits of number.
|
|
39
|
+
*/
|
|
40
|
+
get allDigits(): number;
|
|
41
|
+
/**
|
|
42
|
+
* Sets the all digits of number.
|
|
43
|
+
* @param {number} v
|
|
44
|
+
*/
|
|
45
|
+
set allDigits(v: number);
|
|
46
|
+
/**
|
|
47
|
+
* A character value that specifies the separator character.
|
|
48
|
+
*/
|
|
49
|
+
get thousandsSeparator(): string;
|
|
50
|
+
/**
|
|
51
|
+
* Sets the thousands separator for formatting.
|
|
52
|
+
* @param {string} v
|
|
53
|
+
*/
|
|
54
|
+
set thousandsSeparator(v: string);
|
|
55
|
+
/** @ignore */
|
|
56
|
+
private _padDecimalZeros;
|
|
57
|
+
/**
|
|
58
|
+
* A character value that specifies the separator character.
|
|
59
|
+
*/
|
|
60
|
+
get padDecimalZeros(): boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Sets whether decimal zeros should be padded.
|
|
63
|
+
* @param {boolean} v
|
|
64
|
+
*/
|
|
65
|
+
set padDecimalZeros(v: boolean);
|
|
66
|
+
/**
|
|
67
|
+
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* Defines the increment step value.
|
|
71
|
+
*/
|
|
72
|
+
step: number;
|
|
73
|
+
/** @ignore */
|
|
74
|
+
private _decimals;
|
|
75
|
+
/**
|
|
76
|
+
* Specifies the number of decimals that the user can enter
|
|
77
|
+
*/
|
|
78
|
+
get decimals(): number;
|
|
79
|
+
/**
|
|
80
|
+
* Sets the decimal places; defaults to 0 if not provided.
|
|
81
|
+
*/
|
|
82
|
+
set decimals(v: number);
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
* Defines the step size for decimal values.
|
|
88
|
+
* @defaultvalue 'auto'
|
|
89
|
+
*/
|
|
90
|
+
decimalStep: number | 'auto';
|
|
91
|
+
/**
|
|
92
|
+
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
93
|
+
*/
|
|
94
|
+
/**
|
|
95
|
+
* Indicates whether spin buttons are displayed.
|
|
96
|
+
* @defaultvalue true
|
|
97
|
+
*/
|
|
98
|
+
showSpinButtons: boolean;
|
|
99
|
+
/** @ignore */
|
|
100
|
+
private _minValue;
|
|
101
|
+
/**
|
|
102
|
+
* Specifies the smallest value that is valid
|
|
103
|
+
*/
|
|
104
|
+
get minValue(): number;
|
|
105
|
+
/**
|
|
106
|
+
* Sets the number of decimal places to be used.
|
|
107
|
+
* @param {number} v
|
|
108
|
+
* @defaultvalue 0
|
|
109
|
+
*/
|
|
110
|
+
set minValue(v: number);
|
|
111
|
+
/** @ignore */
|
|
112
|
+
private _maxValue;
|
|
113
|
+
/**
|
|
114
|
+
* Specifies the greatest value that is valid
|
|
115
|
+
*/
|
|
116
|
+
get maxValue(): number;
|
|
117
|
+
/**
|
|
118
|
+
* Sets the maximum allowable value, defaulting to `Number.MAX_SAFE_INTEGER` if null.
|
|
119
|
+
* @param v
|
|
120
|
+
*/
|
|
121
|
+
set maxValue(v: number);
|
|
122
|
+
/**
|
|
123
|
+
* CSS classes to apply to the component.
|
|
124
|
+
* @param classNames
|
|
125
|
+
*/
|
|
126
|
+
/**
|
|
127
|
+
* CSS classes to apply to the component.
|
|
128
|
+
*/
|
|
129
|
+
classNames: string;
|
|
130
|
+
/**
|
|
131
|
+
* @ignore
|
|
132
|
+
*/
|
|
133
|
+
_maskObj: MaskedNumber;
|
|
134
|
+
/** @ignore */
|
|
135
|
+
/** @ignore */
|
|
136
|
+
private _maskDirective;
|
|
137
|
+
/** @ignore */
|
|
138
|
+
private _onWheelFlag;
|
|
139
|
+
constructor();
|
|
140
|
+
/** @ignore */
|
|
141
|
+
ngAfterViewInit(): void;
|
|
142
|
+
/**
|
|
143
|
+
* Handles internal option changes and updates the mask accordingly.
|
|
144
|
+
*/
|
|
145
|
+
internalOptionChanged(): void;
|
|
146
|
+
/**
|
|
147
|
+
* Resets the input element to its default state and calls the parent class reset method.
|
|
148
|
+
*/
|
|
149
|
+
reset(): void;
|
|
150
|
+
/**
|
|
151
|
+
* Ensures the value is within the min-max range, returning the default if null.
|
|
152
|
+
* @param value
|
|
153
|
+
*/
|
|
154
|
+
internalSetValue(value: any): number;
|
|
155
|
+
/** @ignore */
|
|
156
|
+
private _updateMask;
|
|
157
|
+
/** @ignore */
|
|
158
|
+
_handleModelChange(value: number): void;
|
|
159
|
+
/** @ignore */
|
|
160
|
+
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
161
|
+
/** @ignore */
|
|
162
|
+
protected _handleUpDownClick(v: -1 | 1, e: Event): void;
|
|
163
|
+
/**
|
|
164
|
+
* Increases the value by the step amount, ensuring it's at least the minimum value.
|
|
165
|
+
*/
|
|
166
|
+
stepUp(u?: boolean): void;
|
|
167
|
+
/**
|
|
168
|
+
* Decreases the value by the step amount, ensuring it's at least the minimum value.
|
|
169
|
+
*/
|
|
170
|
+
stepDown(u?: boolean): void;
|
|
171
|
+
/**
|
|
172
|
+
* Increases the value by the decimal step amount, using 'auto' or a custom step value.
|
|
173
|
+
*/
|
|
174
|
+
decimalStepUp(u?: boolean): void;
|
|
175
|
+
/**
|
|
176
|
+
* Decreases the value by the decimal step amount, using 'auto' or a custom step value.
|
|
177
|
+
*/
|
|
178
|
+
decimalStepDown(u?: boolean): void;
|
|
179
|
+
onWheel(event: WheelEvent): void;
|
|
180
|
+
private get __hostName();
|
|
181
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxLegacyComponent, never>;
|
|
182
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxLegacyComponent, "ax-number-box-legacy", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "look": { "alias": "look"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "changeOnScroll": { "alias": "changeOnScroll"; "required": false; }; "allDigits": { "alias": "allDigits"; "required": false; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; }; "padDecimalZeros": { "alias": "padDecimalZeros"; "required": false; }; "step": { "alias": "step"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "decimalStep": { "alias": "decimalStep"; "required": false; }; "showSpinButtons": { "alias": "showSpinButtons"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "classNames": { "alias": "class"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
declare class AXNumberBoxLegacyModule {
|
|
186
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxLegacyModule, never>;
|
|
187
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxLegacyModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof i5.IMaskModule, typeof AXNumberBoxLegacyComponent], [typeof AXNumberBoxLegacyComponent]>;
|
|
188
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXNumberBoxLegacyModule>;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export { AXNumberBoxLegacyComponent, AXNumberBoxLegacyModule };
|