@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
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, forwardRef, HostBinding, HostListener, ViewChild, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import { IMaskDirective, IMaskModule } from 'angular-imask';
|
|
4
|
+
import { createMask } from 'imask';
|
|
5
|
+
import { MXInputBaseValueComponent, MXLookComponent, AXComponent, AXFocusableComponent, AXClearableComponent, AXValuableComponent } from '@acorex/cdk/common';
|
|
6
|
+
import * as i1 from '@angular/forms';
|
|
7
|
+
import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
8
|
+
import { toNumber, isEmpty } from 'lodash-es';
|
|
9
|
+
import { classes } from 'polytype';
|
|
10
|
+
import { AXButtonModule } from '@acorex/components/button';
|
|
11
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
12
|
+
import { CommonModule } from '@angular/common';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
16
|
+
*
|
|
17
|
+
* @category Components
|
|
18
|
+
*/
|
|
19
|
+
class AXNumberBoxLegacyComponent extends classes((MXInputBaseValueComponent), MXLookComponent) {
|
|
20
|
+
/**
|
|
21
|
+
* A number value that specifies the all digits of number.
|
|
22
|
+
*/
|
|
23
|
+
get allDigits() {
|
|
24
|
+
return this._allDigits;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Sets the all digits of number.
|
|
28
|
+
* @param {number} v
|
|
29
|
+
*/
|
|
30
|
+
set allDigits(v) {
|
|
31
|
+
this.setOption({
|
|
32
|
+
name: 'allDigits',
|
|
33
|
+
value: v,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A character value that specifies the separator character.
|
|
38
|
+
*/
|
|
39
|
+
get thousandsSeparator() {
|
|
40
|
+
return this._thousandsSeparator;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Sets the thousands separator for formatting.
|
|
44
|
+
* @param {string} v
|
|
45
|
+
*/
|
|
46
|
+
set thousandsSeparator(v) {
|
|
47
|
+
this.setOption({
|
|
48
|
+
name: 'thousandsSeparator',
|
|
49
|
+
value: v ?? '',
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* A character value that specifies the separator character.
|
|
54
|
+
*/
|
|
55
|
+
get padDecimalZeros() {
|
|
56
|
+
return this._padDecimalZeros;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Sets whether decimal zeros should be padded.
|
|
60
|
+
* @param {boolean} v
|
|
61
|
+
*/
|
|
62
|
+
set padDecimalZeros(v) {
|
|
63
|
+
this.setOption({
|
|
64
|
+
name: 'padDecimalZeros',
|
|
65
|
+
value: v,
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the number of decimals that the user can enter
|
|
70
|
+
*/
|
|
71
|
+
get decimals() {
|
|
72
|
+
return this._decimals;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Sets the decimal places; defaults to 0 if not provided.
|
|
76
|
+
*/
|
|
77
|
+
set decimals(v) {
|
|
78
|
+
this.setOption({
|
|
79
|
+
name: 'decimals',
|
|
80
|
+
value: v ?? 0,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the smallest value that is valid
|
|
85
|
+
*/
|
|
86
|
+
get minValue() {
|
|
87
|
+
return this._minValue;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Sets the number of decimal places to be used.
|
|
91
|
+
* @param {number} v
|
|
92
|
+
* @defaultvalue 0
|
|
93
|
+
*/
|
|
94
|
+
set minValue(v) {
|
|
95
|
+
this.setOption({
|
|
96
|
+
name: 'minValue',
|
|
97
|
+
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Specifies the greatest value that is valid
|
|
102
|
+
*/
|
|
103
|
+
get maxValue() {
|
|
104
|
+
return this._maxValue;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Sets the maximum allowable value, defaulting to `Number.MAX_SAFE_INTEGER` if null.
|
|
108
|
+
* @param v
|
|
109
|
+
*/
|
|
110
|
+
set maxValue(v) {
|
|
111
|
+
this.setOption({
|
|
112
|
+
name: 'maxValue',
|
|
113
|
+
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
constructor() {
|
|
117
|
+
super();
|
|
118
|
+
/**
|
|
119
|
+
* 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.
|
|
120
|
+
*/
|
|
121
|
+
this.type = input('tel', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
122
|
+
/**
|
|
123
|
+
* boolean value that specifies the number box change step by scrolling.
|
|
124
|
+
*/
|
|
125
|
+
this.changeOnScroll = false;
|
|
126
|
+
/** @ignore */
|
|
127
|
+
this._allDigits = 0;
|
|
128
|
+
/** @ignore */
|
|
129
|
+
this._padDecimalZeros = false;
|
|
130
|
+
/**
|
|
131
|
+
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
132
|
+
*/
|
|
133
|
+
this.step = 1;
|
|
134
|
+
/** @ignore */
|
|
135
|
+
this._decimals = 0;
|
|
136
|
+
/**
|
|
137
|
+
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
138
|
+
*/
|
|
139
|
+
this.decimalStep = 'auto';
|
|
140
|
+
/**
|
|
141
|
+
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
142
|
+
*/
|
|
143
|
+
this.showSpinButtons = true;
|
|
144
|
+
/** @ignore */
|
|
145
|
+
this._minValue = Number.MIN_SAFE_INTEGER;
|
|
146
|
+
/** @ignore */
|
|
147
|
+
this._maxValue = Number.MAX_SAFE_INTEGER;
|
|
148
|
+
/** @ignore */
|
|
149
|
+
this._onWheelFlag = false;
|
|
150
|
+
this.onFocus.subscribe(() => {
|
|
151
|
+
this._onWheelFlag = true;
|
|
152
|
+
this.input.nativeElement.select();
|
|
153
|
+
});
|
|
154
|
+
this.onBlur.subscribe(() => {
|
|
155
|
+
this._onWheelFlag = false;
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
/** @ignore */
|
|
159
|
+
ngAfterViewInit() {
|
|
160
|
+
this._updateMask();
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Handles internal option changes and updates the mask accordingly.
|
|
164
|
+
*/
|
|
165
|
+
internalOptionChanged() {
|
|
166
|
+
this._updateMask();
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Resets the input element to its default state and calls the parent class reset method.
|
|
170
|
+
*/
|
|
171
|
+
reset() {
|
|
172
|
+
this.input.nativeElement.value = null;
|
|
173
|
+
super.reset(true);
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Ensures the value is within the min-max range, returning the default if null.
|
|
177
|
+
* @param value
|
|
178
|
+
*/
|
|
179
|
+
internalSetValue(value) {
|
|
180
|
+
// || (value == 0 && !this._maskObj.value)
|
|
181
|
+
if (value == null) {
|
|
182
|
+
return this.defaultValue;
|
|
183
|
+
}
|
|
184
|
+
const v = toNumber(value);
|
|
185
|
+
if (v < this.minValue)
|
|
186
|
+
return this.minValue;
|
|
187
|
+
if (v > this.maxValue)
|
|
188
|
+
return this.maxValue;
|
|
189
|
+
return v;
|
|
190
|
+
}
|
|
191
|
+
/** @ignore */
|
|
192
|
+
_updateMask() {
|
|
193
|
+
if (!this._maskObj) {
|
|
194
|
+
this._maskObj = createMask({
|
|
195
|
+
mask: Number,
|
|
196
|
+
min: this.minValue,
|
|
197
|
+
max: this.maxValue,
|
|
198
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
199
|
+
scale: this.decimals,
|
|
200
|
+
radix: '.',
|
|
201
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros,
|
|
202
|
+
});
|
|
203
|
+
this._maskObj.format = (v, m) => {
|
|
204
|
+
return !isNaN(v)
|
|
205
|
+
? v.toLocaleString('en-US', {
|
|
206
|
+
useGrouping: false,
|
|
207
|
+
maximumFractionDigits: 20,
|
|
208
|
+
})
|
|
209
|
+
: '';
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
this._maskObj.updateOptions({
|
|
214
|
+
min: this.minValue,
|
|
215
|
+
max: this.maxValue,
|
|
216
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
217
|
+
scale: this.decimals,
|
|
218
|
+
radix: '.',
|
|
219
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros,
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
this._maskDirective?.maskRef?.updateValue();
|
|
223
|
+
this._maskDirective?.maskRef?.updateControl();
|
|
224
|
+
}
|
|
225
|
+
/** @ignore */
|
|
226
|
+
_handleModelChange(value) {
|
|
227
|
+
if (value == 0 && isEmpty(this.input?.nativeElement?.value)) {
|
|
228
|
+
value = null;
|
|
229
|
+
}
|
|
230
|
+
this.commitValue(value, true);
|
|
231
|
+
}
|
|
232
|
+
/** @ignore */
|
|
233
|
+
_handleOnKeydownEvent(e) {
|
|
234
|
+
if (this.disabled || this.readonly)
|
|
235
|
+
return;
|
|
236
|
+
const ignore = () => {
|
|
237
|
+
e.preventDefault();
|
|
238
|
+
e.stopPropagation();
|
|
239
|
+
};
|
|
240
|
+
const input = e.target;
|
|
241
|
+
const valStr = input.value;
|
|
242
|
+
const decimalPointIndex = valStr.indexOf('.');
|
|
243
|
+
const _cursorPos = input.selectionStart;
|
|
244
|
+
if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
245
|
+
if (decimalPointIndex > 0 && _cursorPos > decimalPointIndex && this.decimals > 0) {
|
|
246
|
+
e.key === 'ArrowDown' ? this.decimalStepDown(true) : this.decimalStepUp(true);
|
|
247
|
+
}
|
|
248
|
+
else {
|
|
249
|
+
e.key === 'ArrowDown' ? this.stepDown(true) : this.stepUp(true);
|
|
250
|
+
}
|
|
251
|
+
ignore();
|
|
252
|
+
setTimeout(() => {
|
|
253
|
+
input.setSelectionRange(_cursorPos, _cursorPos);
|
|
254
|
+
}, 5);
|
|
255
|
+
}
|
|
256
|
+
super.emitOnKeydownEvent(e);
|
|
257
|
+
}
|
|
258
|
+
/** @ignore */
|
|
259
|
+
_handleUpDownClick(v, e) {
|
|
260
|
+
const isUserInteraction = e.isTrusted;
|
|
261
|
+
if (this.disabled || this.readonly)
|
|
262
|
+
return;
|
|
263
|
+
v == 1 ? this.stepUp(isUserInteraction) : this.stepDown(isUserInteraction);
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Increases the value by the step amount, ensuring it's at least the minimum value.
|
|
267
|
+
*/
|
|
268
|
+
stepUp(u = false) {
|
|
269
|
+
if (!this.value) {
|
|
270
|
+
this.commitValue(Math.max(this.minValue, 0), u);
|
|
271
|
+
}
|
|
272
|
+
this.commitValue(this.value + toNumber(this.step), u);
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Decreases the value by the step amount, ensuring it's at least the minimum value.
|
|
276
|
+
*/
|
|
277
|
+
stepDown(u = false) {
|
|
278
|
+
if (!this.value) {
|
|
279
|
+
this.commitValue(Math.max(this.minValue, 0), u);
|
|
280
|
+
}
|
|
281
|
+
this.commitValue(this.value - toNumber(this.step), u);
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Increases the value by the decimal step amount, using 'auto' or a custom step value.
|
|
285
|
+
*/
|
|
286
|
+
decimalStepUp(u = false) {
|
|
287
|
+
if (!this.value) {
|
|
288
|
+
this.commitValue(Math.max(this.minValue, 0), u);
|
|
289
|
+
}
|
|
290
|
+
this.commitValue(this.value + toNumber(this.decimalStep == 'auto' ? 1 / Math.pow(10, this.decimals) : this.decimalStep), u);
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Decreases the value by the decimal step amount, using 'auto' or a custom step value.
|
|
294
|
+
*/
|
|
295
|
+
decimalStepDown(u = false) {
|
|
296
|
+
if (!this.value) {
|
|
297
|
+
this.commitValue(Math.max(this.minValue, 0), u);
|
|
298
|
+
}
|
|
299
|
+
this.commitValue(this.value - toNumber(this.decimalStep == 'auto' ? 1 / Math.pow(10, this.decimals) : this.decimalStep), u);
|
|
300
|
+
}
|
|
301
|
+
onWheel(event) {
|
|
302
|
+
if (this.changeOnScroll && this._onWheelFlag) {
|
|
303
|
+
event.preventDefault();
|
|
304
|
+
if (!this.disabled && !this.readonly) {
|
|
305
|
+
if (event.deltaY > 0) {
|
|
306
|
+
this.commitValue(this.value - this.step);
|
|
307
|
+
}
|
|
308
|
+
else {
|
|
309
|
+
this.commitValue(this.value + this.step);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
get __hostName() {
|
|
315
|
+
return this.name;
|
|
316
|
+
}
|
|
317
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXNumberBoxLegacyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
318
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXNumberBoxLegacyComponent, isStandalone: true, selector: "ax-number-box-legacy", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: false, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: false, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, changeOnScroll: { classPropertyName: "changeOnScroll", publicName: "changeOnScroll", isSignal: false, isRequired: false, transformFunction: null }, allDigits: { classPropertyName: "allDigits", publicName: "allDigits", isSignal: false, isRequired: false, transformFunction: null }, thousandsSeparator: { classPropertyName: "thousandsSeparator", publicName: "thousandsSeparator", isSignal: false, isRequired: false, transformFunction: null }, padDecimalZeros: { classPropertyName: "padDecimalZeros", publicName: "padDecimalZeros", isSignal: false, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: false, isRequired: false, transformFunction: null }, decimals: { classPropertyName: "decimals", publicName: "decimals", isSignal: false, isRequired: false, transformFunction: null }, decimalStep: { classPropertyName: "decimalStep", publicName: "decimalStep", isSignal: false, isRequired: false, transformFunction: null }, showSpinButtons: { classPropertyName: "showSpinButtons", publicName: "showSpinButtons", isSignal: false, isRequired: false, transformFunction: null }, minValue: { classPropertyName: "minValue", publicName: "minValue", isSignal: false, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: false, isRequired: false, transformFunction: null }, classNames: { classPropertyName: "classNames", publicName: "class", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", readonlyChange: "readonlyChange", disabledChange: "disabledChange", onKeyDown: "onKeyDown", onKeyUp: "onKeyUp", onKeyPress: "onKeyPress" }, host: { listeners: { "wheel": "onWheel($event)" }, properties: { "attr.name": "this.__hostName" } }, providers: [
|
|
319
|
+
{ provide: AXComponent, useExisting: AXNumberBoxLegacyComponent },
|
|
320
|
+
{ provide: AXFocusableComponent, useExisting: AXNumberBoxLegacyComponent },
|
|
321
|
+
{ provide: AXClearableComponent, useExisting: AXNumberBoxLegacyComponent },
|
|
322
|
+
{ provide: AXValuableComponent, useExisting: AXNumberBoxLegacyComponent },
|
|
323
|
+
{
|
|
324
|
+
provide: NG_VALUE_ACCESSOR,
|
|
325
|
+
useExisting: forwardRef(() => AXNumberBoxLegacyComponent),
|
|
326
|
+
multi: true,
|
|
327
|
+
},
|
|
328
|
+
], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"ax-editor-container ax-default {{ classNames }} {{ look }}\"\n [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-readonly]=\"readonly\"\n>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <input\n #input\n class=\"ax-input\"\n [attr.type]=\"type()\"\n [id]=\"id\"\n [attr.placeholder]=\"placeholder\"\n [attr.autocomplete]=\"'off'\"\n [imask]=\"_maskObj\"\n [unmask]=\"'typed'\"\n [attr.min]=\"minValue\"\n [attr.max]=\"maxValue\"\n [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n (keydown)=\"_handleOnKeydownEvent($event)\"\n (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n />\n @if (input.value && !disabled && !readonly) {\n <ng-content select=\"ax-clear-button\"></ng-content>\n }\n @if (showSpinButtons) {\n <div class=\"ax-number-box-control\">\n <button\n type=\"button\"\n class=\"ax-general-button-icon\"\n [class.ax-state-disabled]=\"disabled\"\n (click)=\"_handleUpDownClick(1, $event)\"\n tabindex=\"-1\"\n [disabled]=\"disabled\"\n >\n <span class=\"ax-icon ax-icon-chevron-up ax-arrow-button\"></span>\n </button>\n <button\n type=\"button\"\n class=\"ax-general-button-icon\"\n [class.ax-state-disabled]=\"disabled\"\n (click)=\"_handleUpDownClick(-1, $event)\"\n tabindex=\"-1\"\n [disabled]=\"disabled\"\n >\n <span class=\"ax-icon ax-icon-chevron-down ax-arrow-button\"></span>\n </button>\n </div>\n }\n\n <ng-content select=\"ax-suffix\"> </ng-content>\n</div>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n<div class=\"ax-error-container\"></div>\n", styles: ["ax-number-box-legacy input::-webkit-outer-spin-button,ax-number-box-legacy input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}ax-number-box-legacy input[type=number]{-moz-appearance:textfield}ax-number-box-legacy .ax-number-box-control{--ax-comp-editor-button-height: 50%;--ax-comp-editor-button-font-size: .75rem;height:100%;display:flex;flex-direction:column}ax-number-box-legacy .ax-number-box-control button{font-size:.75rem}ax-number-box-legacy .ax-number-box-control button:first-child{align-items:flex-end;display:flex}ax-number-box-legacy .ax-number-box-control button:last-child{align-items:flex-start;display:flex}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
329
|
+
}
|
|
330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXNumberBoxLegacyComponent, decorators: [{
|
|
331
|
+
type: Component,
|
|
332
|
+
args: [{ selector: 'ax-number-box-legacy', inputs: ['disabled', 'readonly', 'tabIndex', 'placeholder', 'value', 'state', 'name', 'id', 'look'], outputs: [
|
|
333
|
+
'valueChange',
|
|
334
|
+
'stateChange',
|
|
335
|
+
'onValueChanged',
|
|
336
|
+
'onBlur',
|
|
337
|
+
'onFocus',
|
|
338
|
+
'readonlyChange',
|
|
339
|
+
'disabledChange',
|
|
340
|
+
'onKeyDown',
|
|
341
|
+
'onKeyUp',
|
|
342
|
+
'onKeyPress',
|
|
343
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
|
344
|
+
{ provide: AXComponent, useExisting: AXNumberBoxLegacyComponent },
|
|
345
|
+
{ provide: AXFocusableComponent, useExisting: AXNumberBoxLegacyComponent },
|
|
346
|
+
{ provide: AXClearableComponent, useExisting: AXNumberBoxLegacyComponent },
|
|
347
|
+
{ provide: AXValuableComponent, useExisting: AXNumberBoxLegacyComponent },
|
|
348
|
+
{
|
|
349
|
+
provide: NG_VALUE_ACCESSOR,
|
|
350
|
+
useExisting: forwardRef(() => AXNumberBoxLegacyComponent),
|
|
351
|
+
multi: true,
|
|
352
|
+
},
|
|
353
|
+
], imports: [FormsModule, IMaskDirective], template: "<div\n class=\"ax-editor-container ax-default {{ classNames }} {{ look }}\"\n [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-readonly]=\"readonly\"\n>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <input\n #input\n class=\"ax-input\"\n [attr.type]=\"type()\"\n [id]=\"id\"\n [attr.placeholder]=\"placeholder\"\n [attr.autocomplete]=\"'off'\"\n [imask]=\"_maskObj\"\n [unmask]=\"'typed'\"\n [attr.min]=\"minValue\"\n [attr.max]=\"maxValue\"\n [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n (keydown)=\"_handleOnKeydownEvent($event)\"\n (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n />\n @if (input.value && !disabled && !readonly) {\n <ng-content select=\"ax-clear-button\"></ng-content>\n }\n @if (showSpinButtons) {\n <div class=\"ax-number-box-control\">\n <button\n type=\"button\"\n class=\"ax-general-button-icon\"\n [class.ax-state-disabled]=\"disabled\"\n (click)=\"_handleUpDownClick(1, $event)\"\n tabindex=\"-1\"\n [disabled]=\"disabled\"\n >\n <span class=\"ax-icon ax-icon-chevron-up ax-arrow-button\"></span>\n </button>\n <button\n type=\"button\"\n class=\"ax-general-button-icon\"\n [class.ax-state-disabled]=\"disabled\"\n (click)=\"_handleUpDownClick(-1, $event)\"\n tabindex=\"-1\"\n [disabled]=\"disabled\"\n >\n <span class=\"ax-icon ax-icon-chevron-down ax-arrow-button\"></span>\n </button>\n </div>\n }\n\n <ng-content select=\"ax-suffix\"> </ng-content>\n</div>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n<div class=\"ax-error-container\"></div>\n", styles: ["ax-number-box-legacy input::-webkit-outer-spin-button,ax-number-box-legacy input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}ax-number-box-legacy input[type=number]{-moz-appearance:textfield}ax-number-box-legacy .ax-number-box-control{--ax-comp-editor-button-height: 50%;--ax-comp-editor-button-font-size: .75rem;height:100%;display:flex;flex-direction:column}ax-number-box-legacy .ax-number-box-control button{font-size:.75rem}ax-number-box-legacy .ax-number-box-control button:first-child{align-items:flex-end;display:flex}ax-number-box-legacy .ax-number-box-control button:last-child{align-items:flex-start;display:flex}\n"] }]
|
|
354
|
+
}], ctorParameters: () => [], propDecorators: { input: [{
|
|
355
|
+
type: ViewChild,
|
|
356
|
+
args: ['input']
|
|
357
|
+
}], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], changeOnScroll: [{
|
|
358
|
+
type: Input
|
|
359
|
+
}], allDigits: [{
|
|
360
|
+
type: Input
|
|
361
|
+
}], thousandsSeparator: [{
|
|
362
|
+
type: Input
|
|
363
|
+
}], padDecimalZeros: [{
|
|
364
|
+
type: Input
|
|
365
|
+
}], step: [{
|
|
366
|
+
type: Input
|
|
367
|
+
}], decimals: [{
|
|
368
|
+
type: Input
|
|
369
|
+
}], decimalStep: [{
|
|
370
|
+
type: Input
|
|
371
|
+
}], showSpinButtons: [{
|
|
372
|
+
type: Input
|
|
373
|
+
}], minValue: [{
|
|
374
|
+
type: Input
|
|
375
|
+
}], maxValue: [{
|
|
376
|
+
type: Input
|
|
377
|
+
}], classNames: [{
|
|
378
|
+
type: Input,
|
|
379
|
+
args: ['class']
|
|
380
|
+
}], _maskDirective: [{
|
|
381
|
+
type: ViewChild,
|
|
382
|
+
args: [IMaskDirective]
|
|
383
|
+
}], onWheel: [{
|
|
384
|
+
type: HostListener,
|
|
385
|
+
args: ['wheel', ['$event']]
|
|
386
|
+
}], __hostName: [{
|
|
387
|
+
type: HostBinding,
|
|
388
|
+
args: ['attr.name']
|
|
389
|
+
}] } });
|
|
390
|
+
|
|
391
|
+
const COMPONENT = [AXNumberBoxLegacyComponent];
|
|
392
|
+
const MODULES = [CommonModule, FormsModule, AXButtonModule, AXDecoratorModule, IMaskModule];
|
|
393
|
+
class AXNumberBoxLegacyModule {
|
|
394
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXNumberBoxLegacyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
395
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.12", ngImport: i0, type: AXNumberBoxLegacyModule, imports: [CommonModule, FormsModule, AXButtonModule, AXDecoratorModule, IMaskModule, AXNumberBoxLegacyComponent], exports: [AXNumberBoxLegacyComponent] }); }
|
|
396
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXNumberBoxLegacyModule, imports: [MODULES, COMPONENT] }); }
|
|
397
|
+
}
|
|
398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXNumberBoxLegacyModule, decorators: [{
|
|
399
|
+
type: NgModule,
|
|
400
|
+
args: [{
|
|
401
|
+
imports: [...MODULES, ...COMPONENT],
|
|
402
|
+
exports: [...COMPONENT],
|
|
403
|
+
providers: [],
|
|
404
|
+
}]
|
|
405
|
+
}] });
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* Generated bundle index. Do not edit.
|
|
409
|
+
*/
|
|
410
|
+
|
|
411
|
+
export { AXNumberBoxLegacyComponent, AXNumberBoxLegacyModule };
|
|
412
|
+
//# sourceMappingURL=acorex-components-number-box-legacy.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-components-number-box-legacy.mjs","sources":["../../../../packages/components/number-box-legacy/src/lib/number-box-legacy.component.ts","../../../../packages/components/number-box-legacy/src/lib/number-box-legacy.component.html","../../../../packages/components/number-box-legacy/src/lib/number-box-legacy.module.ts","../../../../packages/components/number-box-legacy/src/acorex-components-number-box-legacy.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n HostListener,\n Input,\n ViewChild,\n ViewEncapsulation,\n forwardRef,\n input,\n} from '@angular/core';\nimport { IMaskDirective } from 'angular-imask';\nimport { MaskedNumber, createMask } from 'imask';\n\nimport {\n AXClearableComponent,\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n MXInputBaseValueComponent,\n MXLookComponent,\n} from '@acorex/cdk/common';\nimport { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { isEmpty, toNumber } from 'lodash-es';\nimport { classes } from 'polytype';\n\n/**\n * The NumberBox is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-number-box-legacy',\n templateUrl: './number-box-legacy.component.html',\n styleUrls: ['./number-box-legacy.component.scss'],\n inputs: ['disabled', 'readonly', 'tabIndex', 'placeholder', 'value', 'state', 'name', 'id', 'look'],\n outputs: [\n 'valueChange',\n 'stateChange',\n 'onValueChanged',\n 'onBlur',\n 'onFocus',\n 'readonlyChange',\n 'disabledChange',\n 'onKeyDown',\n 'onKeyUp',\n 'onKeyPress',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: AXComponent, useExisting: AXNumberBoxLegacyComponent },\n { provide: AXFocusableComponent, useExisting: AXNumberBoxLegacyComponent },\n { provide: AXClearableComponent, useExisting: AXNumberBoxLegacyComponent },\n { provide: AXValuableComponent, useExisting: AXNumberBoxLegacyComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXNumberBoxLegacyComponent),\n multi: true,\n },\n ],\n imports: [FormsModule, IMaskDirective],\n})\nexport class AXNumberBoxLegacyComponent\n extends classes(MXInputBaseValueComponent<number>, MXLookComponent)\n implements AfterViewInit\n{\n /** @ignore */\n @ViewChild('input') input: ElementRef<HTMLInputElement>;\n\n /** @ignore */\n private _thousandsSeparator: string;\n\n /**\n * 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.\n */\n type = input('tel');\n\n /**\n * boolean value that specifies the number box change step by scrolling.\n */\n @Input()\n changeOnScroll = false;\n\n /** @ignore */\n private _allDigits = 0;\n /**\n * A number value that specifies the all digits of number.\n */\n @Input()\n /**\n * Gets the all digits of number.\n * @param {number} value\n */\n public get allDigits(): number {\n return this._allDigits;\n }\n /**\n * Sets the all digits of number.\n * @param {number} v\n */\n public set allDigits(v: number) {\n this.setOption({\n name: 'allDigits',\n value: v,\n });\n }\n\n /**\n * A character value that specifies the separator character.\n */\n @Input()\n\n /**\n * Gets the thousands separator used in the formatting.\n * @param {string} value\n */\n public get thousandsSeparator(): string {\n return this._thousandsSeparator;\n }\n\n /**\n * Sets the thousands separator for formatting.\n * @param {string} v\n */\n public set thousandsSeparator(v: string) {\n this.setOption({\n name: 'thousandsSeparator',\n value: v ?? '',\n });\n }\n\n /** @ignore */\n private _padDecimalZeros = false;\n /**\n * A character value that specifies the separator character.\n */\n @Input()\n\n /**\n * Gets whether decimal zeros are padded.\n * @param {boolean} value\n */\n public get padDecimalZeros(): boolean {\n return this._padDecimalZeros;\n }\n\n /**\n * Sets whether decimal zeros should be padded.\n * @param {boolean} v\n */\n public set padDecimalZeros(v: boolean) {\n this.setOption({\n name: 'padDecimalZeros',\n value: v,\n });\n }\n\n /**\n * Specifies the value that is used to increment or decrement the **Integer** part of number\n */\n @Input()\n\n /**\n * Defines the increment step value.\n */\n step = 1;\n\n /** @ignore */\n private _decimals = 0;\n /**\n * Specifies the number of decimals that the user can enter\n */\n @Input()\n\n /**\n * Gets the number of decimal places to be used.\n */\n public get decimals(): number {\n return this._decimals;\n }\n\n /**\n * Sets the decimal places; defaults to 0 if not provided.\n */\n public set decimals(v: number) {\n this.setOption({\n name: 'decimals',\n value: v ?? 0,\n });\n }\n\n /**\n * Specifies the value that is used to increment or decrement the **Deciaml** part of number\n */\n @Input()\n\n /**\n * Defines the step size for decimal values.\n * @defaultvalue 'auto'\n */\n decimalStep: number | 'auto' = 'auto';\n\n /**\n * Specifies whether the Up and Down spin buttons will be rendered or not\n */\n @Input()\n\n /**\n * Indicates whether spin buttons are displayed.\n * @defaultvalue true\n */\n showSpinButtons = true;\n\n /** @ignore */\n private _minValue: number = Number.MIN_SAFE_INTEGER;\n /**\n * Specifies the smallest value that is valid\n */\n @Input()\n\n /**\n * Gets the number of decimal places used.\n * @param {number} value\n */\n public get minValue(): number {\n return this._minValue;\n }\n\n /**\n * Sets the number of decimal places to be used.\n * @param {number} v\n * @defaultvalue 0\n */\n public set minValue(v: number) {\n this.setOption({\n name: 'minValue',\n value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,\n });\n }\n\n /** @ignore */\n private _maxValue: number = Number.MAX_SAFE_INTEGER;\n\n /**\n * Specifies the greatest value that is valid\n */\n @Input()\n\n /**\n * Returns the maximum allowable value.\n */\n public get maxValue(): number {\n return this._maxValue;\n }\n\n /**\n * Sets the maximum allowable value, defaulting to `Number.MAX_SAFE_INTEGER` if null.\n * @param v\n */\n public set maxValue(v: number) {\n this.setOption({\n name: 'maxValue',\n value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,\n });\n }\n\n /**\n * CSS classes to apply to the component.\n * @param classNames\n */\n @Input('class')\n\n /**\n * CSS classes to apply to the component.\n */\n classNames: string;\n\n /**\n * @ignore\n */\n _maskObj: MaskedNumber;\n\n /** @ignore */\n @ViewChild(IMaskDirective)\n\n /** @ignore */\n private _maskDirective: IMaskDirective<MaskedNumber>;\n\n /** @ignore */\n private _onWheelFlag = false;\n constructor() {\n super();\n this.onFocus.subscribe(() => {\n this._onWheelFlag = true;\n this.input.nativeElement.select();\n });\n this.onBlur.subscribe(() => {\n this._onWheelFlag = false;\n });\n }\n\n /** @ignore */\n ngAfterViewInit(): void {\n this._updateMask();\n }\n\n /**\n * Handles internal option changes and updates the mask accordingly.\n */\n override internalOptionChanged(): void {\n this._updateMask();\n }\n\n /**\n * Resets the input element to its default state and calls the parent class reset method.\n */\n override reset(): void {\n this.input.nativeElement.value = null;\n super.reset(true);\n }\n\n /**\n * Ensures the value is within the min-max range, returning the default if null.\n * @param value\n */\n override internalSetValue(value: any): number {\n // || (value == 0 && !this._maskObj.value)\n if (value == null) {\n return this.defaultValue;\n }\n const v = toNumber(value);\n if (v < this.minValue) return this.minValue;\n if (v > this.maxValue) return this.maxValue;\n return v;\n }\n\n /** @ignore */\n private _updateMask() {\n if (!this._maskObj) {\n this._maskObj = createMask({\n mask: Number,\n min: this.minValue,\n max: this.maxValue,\n thousandsSeparator: this.thousandsSeparator || '',\n scale: this.decimals,\n radix: '.',\n padFractionalZeros: this.decimals > 0 && this.padDecimalZeros,\n });\n\n this._maskObj.format = (v: number, m) => {\n return !isNaN(v)\n ? v.toLocaleString('en-US', {\n useGrouping: false,\n maximumFractionDigits: 20,\n })\n : '';\n };\n } else {\n this._maskObj.updateOptions({\n min: this.minValue,\n max: this.maxValue,\n thousandsSeparator: this.thousandsSeparator || '',\n scale: this.decimals,\n radix: '.',\n padFractionalZeros: this.decimals > 0 && this.padDecimalZeros,\n });\n }\n this._maskDirective?.maskRef?.updateValue();\n this._maskDirective?.maskRef?.updateControl();\n }\n\n /** @ignore */\n _handleModelChange(value: number) {\n if (value == 0 && isEmpty(this.input?.nativeElement?.value)) {\n value = null;\n }\n\n this.commitValue(value, true);\n }\n\n /** @ignore */\n _handleOnKeydownEvent(e: KeyboardEvent) {\n if (this.disabled || this.readonly) return;\n const ignore = () => {\n e.preventDefault();\n e.stopPropagation();\n };\n const input = e.target as HTMLInputElement;\n const valStr = input.value;\n const decimalPointIndex = valStr.indexOf('.');\n const _cursorPos = input.selectionStart!;\n\n if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {\n if (decimalPointIndex > 0 && _cursorPos > decimalPointIndex && this.decimals > 0) {\n e.key === 'ArrowDown' ? this.decimalStepDown(true) : this.decimalStepUp(true);\n } else {\n e.key === 'ArrowDown' ? this.stepDown(true) : this.stepUp(true);\n }\n ignore();\n setTimeout(() => {\n input.setSelectionRange(_cursorPos, _cursorPos);\n }, 5);\n }\n super.emitOnKeydownEvent(e);\n }\n\n /** @ignore */\n protected _handleUpDownClick(v: -1 | 1, e: Event) {\n const isUserInteraction = e.isTrusted;\n if (this.disabled || this.readonly) return;\n v == 1 ? this.stepUp(isUserInteraction) : this.stepDown(isUserInteraction);\n }\n\n /**\n * Increases the value by the step amount, ensuring it's at least the minimum value.\n */\n stepUp(u = false) {\n if (!this.value) {\n this.commitValue(Math.max(this.minValue, 0), u);\n }\n this.commitValue(this.value + toNumber(this.step), u);\n }\n\n /**\n * Decreases the value by the step amount, ensuring it's at least the minimum value.\n */\n stepDown(u = false) {\n if (!this.value) {\n this.commitValue(Math.max(this.minValue, 0), u);\n }\n this.commitValue(this.value - toNumber(this.step), u);\n }\n\n /**\n * Increases the value by the decimal step amount, using 'auto' or a custom step value.\n */\n decimalStepUp(u = false) {\n if (!this.value) {\n this.commitValue(Math.max(this.minValue, 0), u);\n }\n this.commitValue(\n this.value + toNumber(this.decimalStep == 'auto' ? 1 / Math.pow(10, this.decimals) : this.decimalStep),\n u,\n );\n }\n\n /**\n * Decreases the value by the decimal step amount, using 'auto' or a custom step value.\n */\n decimalStepDown(u = false) {\n if (!this.value) {\n this.commitValue(Math.max(this.minValue, 0), u);\n }\n this.commitValue(\n this.value - toNumber(this.decimalStep == 'auto' ? 1 / Math.pow(10, this.decimals) : this.decimalStep),\n u,\n );\n }\n\n @HostListener('wheel', ['$event'])\n onWheel(event: WheelEvent) {\n if (this.changeOnScroll && this._onWheelFlag) {\n event.preventDefault();\n if (!this.disabled && !this.readonly) {\n if (event.deltaY > 0) {\n this.commitValue(this.value - this.step);\n } else {\n this.commitValue(this.value + this.step);\n }\n }\n }\n }\n\n @HostBinding('attr.name')\n private get __hostName(): string {\n return this.name;\n }\n}\n","<div\n class=\"ax-editor-container ax-default {{ classNames }} {{ look }}\"\n [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-readonly]=\"readonly\"\n>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <input\n #input\n class=\"ax-input\"\n [attr.type]=\"type()\"\n [id]=\"id\"\n [attr.placeholder]=\"placeholder\"\n [attr.autocomplete]=\"'off'\"\n [imask]=\"_maskObj\"\n [unmask]=\"'typed'\"\n [attr.min]=\"minValue\"\n [attr.max]=\"maxValue\"\n [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n (keydown)=\"_handleOnKeydownEvent($event)\"\n (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n />\n @if (input.value && !disabled && !readonly) {\n <ng-content select=\"ax-clear-button\"></ng-content>\n }\n @if (showSpinButtons) {\n <div class=\"ax-number-box-control\">\n <button\n type=\"button\"\n class=\"ax-general-button-icon\"\n [class.ax-state-disabled]=\"disabled\"\n (click)=\"_handleUpDownClick(1, $event)\"\n tabindex=\"-1\"\n [disabled]=\"disabled\"\n >\n <span class=\"ax-icon ax-icon-chevron-up ax-arrow-button\"></span>\n </button>\n <button\n type=\"button\"\n class=\"ax-general-button-icon\"\n [class.ax-state-disabled]=\"disabled\"\n (click)=\"_handleUpDownClick(-1, $event)\"\n tabindex=\"-1\"\n [disabled]=\"disabled\"\n >\n <span class=\"ax-icon ax-icon-chevron-down ax-arrow-button\"></span>\n </button>\n </div>\n }\n\n <ng-content select=\"ax-suffix\"> </ng-content>\n</div>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n<div class=\"ax-error-container\"></div>\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { IMaskModule } from 'angular-imask';\nimport { AXNumberBoxLegacyComponent } from './number-box-legacy.component';\n\nconst COMPONENT = [AXNumberBoxLegacyComponent];\nconst MODULES = [CommonModule, FormsModule, AXButtonModule, AXDecoratorModule, IMaskModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXNumberBoxLegacyModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AA4BA;;;;AAIG;AAiCG,MAAO,0BACX,SAAQ,OAAO,EAAC,yBAAiC,GAAE,eAAe,CAAC,CAAA;AAsBnE;;AAEG;AACH,IAAA,IAKW,SAAS,GAAA;QAClB,OAAO,IAAI,CAAC,UAAU;IACxB;AACA;;;AAGG;IACH,IAAW,SAAS,CAAC,CAAS,EAAA;QAC5B,IAAI,CAAC,SAAS,CAAC;AACb,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,CAAC;AACT,SA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