@acorex/components 21.0.0-next.5 → 21.0.0-next.51
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/button-group/index.d.ts +6 -4
- package/calendar/index.d.ts +4 -0
- package/chips/index.d.ts +3 -8
- package/code-editor/README.md +291 -1
- package/code-editor/index.d.ts +262 -20
- package/collapse/index.d.ts +4 -6
- 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 +97 -261
- 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 +25 -21
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +68 -28
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +39 -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 +532 -200
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +22 -34
- 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 +63 -47
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +509 -551
- 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 +10 -10
- 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 +20 -18
- 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 +34 -34
- 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 +62 -37
- 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 +206 -156
- 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 +29 -11
- 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 +23 -14
- 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 +290 -31
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +95 -99
- 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-BnUdtPke.mjs} +24 -24
- package/fesm2022/acorex-components-modal-acorex-components-modal-BnUdtPke.mjs.map +1 -0
- package/fesm2022/acorex-components-modal-modal-content.component-Cgq-wx_m.mjs +214 -0
- package/fesm2022/acorex-components-modal-modal-content.component-Cgq-wx_m.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 +113 -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 +14 -14
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +9 -9
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +47 -10
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +19 -19
- 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 +10 -10
- 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 +9 -9
- 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 +12 -12
- 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 +13 -13
- 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 +28 -20
- 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 +15 -20
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view-legacy.mjs +511 -0
- package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -0
- package/fesm2022/acorex-components-tree-view.mjs +2223 -437
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- 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 +229 -473
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/file-explorer/index.d.ts +6 -6
- package/form/index.d.ts +3 -3
- package/grid-layout-builder/index.d.ts +1 -2
- package/image-editor/index.d.ts +11 -13
- package/kbd/index.d.ts +13 -7
- package/loading/index.d.ts +1 -1
- package/map/index.d.ts +28 -1
- package/media-viewer/index.d.ts +7 -3
- package/notification/index.d.ts +0 -2
- package/number-box/README.md +2 -2
- package/number-box/index.d.ts +32 -171
- package/number-box-legacy/README.md +3 -0
- package/number-box-legacy/index.d.ts +191 -0
- package/package.json +42 -14
- package/paint/index.d.ts +1 -6
- package/phone-box/index.d.ts +5 -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/slider/index.d.ts +2 -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/tooltip/index.d.ts +0 -1
- package/tree-view/index.d.ts +941 -168
- package/tree-view-legacy/README.md +3 -0
- package/tree-view-legacy/index.d.ts +184 -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/file-explorer/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import * as i8 from '@acorex/components/tree-view';
|
|
3
|
-
import {
|
|
2
|
+
import * as i8 from '@acorex/components/tree-view-legacy';
|
|
3
|
+
import { AXTreeViewLegacyComponent, AXTreeItemClickBaseEventLegacy } from '@acorex/components/tree-view-legacy';
|
|
4
4
|
import { MXBaseComponent } from '@acorex/cdk/common';
|
|
5
5
|
import * as i7 from '@acorex/components/drawer';
|
|
6
6
|
import { AXDrawerComponent } from '@acorex/components/drawer';
|
|
@@ -37,7 +37,7 @@ declare class AXFileExplorerInternalService {
|
|
|
37
37
|
breadcrumbsData: i0.WritableSignal<string[]>;
|
|
38
38
|
activeFolderId: i0.WritableSignal<string | number>;
|
|
39
39
|
dataCallBack: i0.WritableSignal<(selectedItemId?: string | number, sortBy?: "name" | "date" | "type") => any>;
|
|
40
|
-
treeViewInstant: i0.WritableSignal<
|
|
40
|
+
treeViewInstant: i0.WritableSignal<AXTreeViewLegacyComponent>;
|
|
41
41
|
clickedItems: Set<unknown>;
|
|
42
42
|
findItemInNestedArray(array: any[], predicate: (item: any) => boolean): any;
|
|
43
43
|
dbClickHandler(item?: AXFileExplorerSchema, isTreeViewClicked?: boolean): Promise<void>;
|
|
@@ -75,8 +75,8 @@ declare class AXFileExplorerTreeComponent {
|
|
|
75
75
|
#private;
|
|
76
76
|
protected internalService: AXFileExplorerInternalService;
|
|
77
77
|
protected drawer: i0.Signal<AXDrawerComponent>;
|
|
78
|
-
protected treeView: i0.Signal<
|
|
79
|
-
protected openFolderOnViewHandler(e:
|
|
78
|
+
protected treeView: i0.Signal<AXTreeViewLegacyComponent>;
|
|
79
|
+
protected openFolderOnViewHandler(e: AXTreeItemClickBaseEventLegacy): void;
|
|
80
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXFileExplorerTreeComponent, never>;
|
|
81
81
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXFileExplorerTreeComponent, "ax-file-explorer-tree", never, {}, {}, never, never, true, never>;
|
|
82
82
|
}
|
|
@@ -95,7 +95,7 @@ declare class AXFileExplorerViewComponent {
|
|
|
95
95
|
|
|
96
96
|
declare class AXFileExplorerModule {
|
|
97
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXFileExplorerModule, never>;
|
|
98
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXFileExplorerModule, never, [typeof i1.AXDecoratorModule, typeof i2.AXButtonModule, typeof i3.AXBreadcrumbsModule, typeof i4.CommonModule, typeof i5.AXToolBarModule, typeof i6.AXMenuModule, typeof i7.AXDrawerModule, typeof i8.
|
|
98
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXFileExplorerModule, never, [typeof i1.AXDecoratorModule, typeof i2.AXButtonModule, typeof i3.AXBreadcrumbsModule, typeof i4.CommonModule, typeof i5.AXToolBarModule, typeof i6.AXMenuModule, typeof i7.AXDrawerModule, typeof i8.AXTreeViewLegacyModule, typeof AXFileExplorerContainerComponent, typeof AXFileExplorerViewComponent, typeof AXFileExplorerItemComponent, typeof AXFileExplorerHeaderComponent, typeof AXFileExplorerTreeComponent], [typeof AXFileExplorerContainerComponent, typeof AXFileExplorerViewComponent, typeof AXFileExplorerItemComponent, typeof AXFileExplorerHeaderComponent, typeof AXFileExplorerTreeComponent]>;
|
|
99
99
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXFileExplorerModule>;
|
|
100
100
|
}
|
|
101
101
|
|
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,9 @@ declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
|
|
51
51
|
private currentY;
|
|
52
52
|
private prevX;
|
|
53
53
|
private prevY;
|
|
54
|
+
private aspectWidth;
|
|
55
|
+
private aspectHeight;
|
|
56
|
+
private isMousePressed;
|
|
54
57
|
protected renderer: Renderer2;
|
|
55
58
|
private platformID;
|
|
56
59
|
private mouseMoveEvent;
|
|
@@ -71,7 +74,6 @@ declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
|
|
71
74
|
private startHeight;
|
|
72
75
|
private startLeft;
|
|
73
76
|
private startTop;
|
|
74
|
-
protected edgeCase: boolean;
|
|
75
77
|
protected handleSelector(e: MouseEvent, value: string): void;
|
|
76
78
|
protected changeSizeHandler(e: MouseEvent): void;
|
|
77
79
|
protected clearSelector(): void;
|
|
@@ -143,7 +145,7 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
|
|
|
143
145
|
/** @ignore */
|
|
144
146
|
protected rotateImage(): void;
|
|
145
147
|
/** @ignore */
|
|
146
|
-
protected saveImageChange(): void
|
|
148
|
+
protected saveImageChange(): Promise<void>;
|
|
147
149
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorViewComponent, never>;
|
|
148
150
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorViewComponent, "ax-image-editor-view", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
149
151
|
}
|
|
@@ -158,22 +160,17 @@ declare const AXImageEditorContainerComponent_base: polytype.Polytype.ClusteredC
|
|
|
158
160
|
* @category Components
|
|
159
161
|
*/
|
|
160
162
|
declare class AXImageEditorContainerComponent extends AXImageEditorContainerComponent_base {
|
|
163
|
+
#private;
|
|
161
164
|
/** @ignore */
|
|
162
165
|
protected service: AXImageEditorService;
|
|
163
166
|
imageEditorContainer: _angular_core.Signal<ElementRef<any>>;
|
|
164
167
|
view: _angular_core.Signal<AXImageEditorViewComponent>;
|
|
165
|
-
|
|
166
|
-
* Saves the current edited image and commits the value to the component.
|
|
167
|
-
* If the image has been modified, it commits the image blob array. If no changes were made, it commits null.
|
|
168
|
-
*
|
|
169
|
-
* @returns void - No return value. The edited image is saved and the onValueChanged event is emitted.
|
|
170
|
-
*/
|
|
171
|
-
save(): void;
|
|
168
|
+
aspectRatio: _angular_core.InputSignal<string[]>;
|
|
172
169
|
protected cropButtonHandler(): void;
|
|
173
170
|
get __hostClass(): string;
|
|
174
171
|
private get __hostName();
|
|
175
172
|
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>;
|
|
173
|
+
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
174
|
}
|
|
178
175
|
|
|
179
176
|
/**
|
|
@@ -183,10 +180,11 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
|
183
180
|
declare class AXImageEditorCropComponent {
|
|
184
181
|
protected service: AXImageEditorService;
|
|
185
182
|
cropPressed: _angular_core.OutputEmitterRef<void>;
|
|
183
|
+
aspectRatio: _angular_core.InputSignal<string[]>;
|
|
186
184
|
protected cropButtonHandler(): void;
|
|
187
|
-
protected ratioHandler(r: '1:1' | '16:9'): void;
|
|
185
|
+
protected ratioHandler(r: '1:1' | '16:9' | string): void;
|
|
188
186
|
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>;
|
|
187
|
+
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
188
|
}
|
|
191
189
|
|
|
192
190
|
/**
|
package/kbd/index.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { NXComponent } from '@acorex/cdk/common';
|
|
3
3
|
|
|
4
4
|
declare class AXKBDItemComponent extends NXComponent {
|
|
5
|
-
keys:
|
|
6
|
-
modifierKeys:
|
|
5
|
+
keys: _angular_core.InputSignal<string | string[]>;
|
|
6
|
+
modifierKeys: _angular_core.WritableSignal<string[]>;
|
|
7
|
+
join: _angular_core.InputSignal<"split" | "joined">;
|
|
8
|
+
look: _angular_core.ModelSignal<"fill" | "solid">;
|
|
9
|
+
lookClass: _angular_core.Signal<string>;
|
|
7
10
|
/**
|
|
8
11
|
* Capitalizes the first letter of the provided text.
|
|
9
12
|
*
|
|
@@ -11,13 +14,16 @@ declare class AXKBDItemComponent extends NXComponent {
|
|
|
11
14
|
* @returns The text with its first character uppercased
|
|
12
15
|
*/
|
|
13
16
|
protected capitalizeFirstLetter(text: string): string;
|
|
14
|
-
static ɵfac:
|
|
15
|
-
static ɵcmp:
|
|
17
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXKBDItemComponent, never>;
|
|
18
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXKBDItemComponent, "ax-kbd-item", never, { "keys": { "alias": "keys"; "required": false; "isSignal": true; }; "join": { "alias": "join"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; }, { "look": "lookChange"; }, never, never, true, never>;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
declare class AXKBDComponent extends NXComponent {
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
#private;
|
|
23
|
+
private kbdItem;
|
|
24
|
+
look: _angular_core.InputSignal<"fill" | "solid">;
|
|
25
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXKBDComponent, never>;
|
|
26
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXKBDComponent, "ax-kbd", never, { "look": { "alias": "look"; "required": false; "isSignal": true; }; }, {}, ["kbdItem"], ["ax-kbd-item"], true, never>;
|
|
21
27
|
}
|
|
22
28
|
|
|
23
29
|
export { AXKBDComponent, AXKBDItemComponent };
|
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/map/index.d.ts
CHANGED
|
@@ -141,6 +141,18 @@ declare class AXMapComponent extends NXComponent implements OnDestroy {
|
|
|
141
141
|
* @default false
|
|
142
142
|
*/
|
|
143
143
|
addMarkerOnTap: _angular_core.InputSignal<boolean>;
|
|
144
|
+
/**
|
|
145
|
+
* @description
|
|
146
|
+
* If true, map is movable and zoomable but all functionality (drawing, adding markers, controls) is disabled.
|
|
147
|
+
* @default false
|
|
148
|
+
*/
|
|
149
|
+
readonly: _angular_core.InputSignal<boolean>;
|
|
150
|
+
/**
|
|
151
|
+
* @description
|
|
152
|
+
* If true, disables everything including zoom, moving, drawing, and all interactions. Map becomes completely read-only.
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
155
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
144
156
|
/**
|
|
145
157
|
* @description
|
|
146
158
|
* Position of the marker control on the map.
|
|
@@ -409,7 +421,7 @@ declare class AXMapComponent extends NXComponent implements OnDestroy {
|
|
|
409
421
|
*/
|
|
410
422
|
private unsubscribeFromMapEvents;
|
|
411
423
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMapComponent, never>;
|
|
412
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMapComponent, "ax-map", never, { "zoomLevel": { "alias": "zoomLevel"; "required": false; "isSignal": true; }; "latitude": { "alias": "latitude"; "required": false; "isSignal": true; }; "longitude": { "alias": "longitude"; "required": false; "isSignal": true; }; "maxMarker": { "alias": "maxMarker"; "required": false; "isSignal": true; }; "maxPolygon": { "alias": "maxPolygon"; "required": false; "isSignal": true; }; "hasDraw": { "alias": "hasDraw"; "required": false; "isSignal": true; }; "hasLocator": { "alias": "hasLocator"; "required": false; "isSignal": true; }; "fitToDraw": { "alias": "fitToDraw"; "required": false; "isSignal": true; }; "limitDraw": { "alias": "limitDraw"; "required": false; "isSignal": true; }; "addPoiToFitDraw": { "alias": "addPoiToFitDraw"; "required": false; "isSignal": true; }; "addMarkerOnTap": { "alias": "addMarkerOnTap"; "required": false; "isSignal": true; }; "markerPlace": { "alias": "markerPlace"; "required": false; "isSignal": true; }; "locatePlace": { "alias": "locatePlace"; "required": false; "isSignal": true; }; "poiMinZoom": { "alias": "poiMinZoom"; "required": false; "isSignal": true; }; "markers": { "alias": "markers"; "required": false; "isSignal": true; }; "polygons": { "alias": "polygons"; "required": false; "isSignal": true; }; "pois": { "alias": "pois"; "required": false; "isSignal": true; }; }, { "zoomLevel": "zoomLevelChange"; "latitude": "latitudeChange"; "longitude": "longitudeChange"; "onMarkerAdded": "onMarkerAdded"; "onMarkerClick": "onMarkerClick"; "onMarkerChanged": "onMarkerChanged"; "onPolygonAdded": "onPolygonAdded"; "onPolygonClick": "onPolygonClick"; "onPolygonChanged": "onPolygonChanged"; "onLocationFound": "onLocationFound"; "onPoiChanged": "onPoiChanged"; "onPoiAdded": "onPoiAdded"; "onMapReady": "onMapReady"; "onLoadError": "onLoadError"; }, never, never, true, never>;
|
|
424
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMapComponent, "ax-map", never, { "zoomLevel": { "alias": "zoomLevel"; "required": false; "isSignal": true; }; "latitude": { "alias": "latitude"; "required": false; "isSignal": true; }; "longitude": { "alias": "longitude"; "required": false; "isSignal": true; }; "maxMarker": { "alias": "maxMarker"; "required": false; "isSignal": true; }; "maxPolygon": { "alias": "maxPolygon"; "required": false; "isSignal": true; }; "hasDraw": { "alias": "hasDraw"; "required": false; "isSignal": true; }; "hasLocator": { "alias": "hasLocator"; "required": false; "isSignal": true; }; "fitToDraw": { "alias": "fitToDraw"; "required": false; "isSignal": true; }; "limitDraw": { "alias": "limitDraw"; "required": false; "isSignal": true; }; "addPoiToFitDraw": { "alias": "addPoiToFitDraw"; "required": false; "isSignal": true; }; "addMarkerOnTap": { "alias": "addMarkerOnTap"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "markerPlace": { "alias": "markerPlace"; "required": false; "isSignal": true; }; "locatePlace": { "alias": "locatePlace"; "required": false; "isSignal": true; }; "poiMinZoom": { "alias": "poiMinZoom"; "required": false; "isSignal": true; }; "markers": { "alias": "markers"; "required": false; "isSignal": true; }; "polygons": { "alias": "polygons"; "required": false; "isSignal": true; }; "pois": { "alias": "pois"; "required": false; "isSignal": true; }; }, { "zoomLevel": "zoomLevelChange"; "latitude": "latitudeChange"; "longitude": "longitudeChange"; "onMarkerAdded": "onMarkerAdded"; "onMarkerClick": "onMarkerClick"; "onMarkerChanged": "onMarkerChanged"; "onPolygonAdded": "onPolygonAdded"; "onPolygonClick": "onPolygonClick"; "onPolygonChanged": "onPolygonChanged"; "onLocationFound": "onLocationFound"; "onPoiChanged": "onPoiChanged"; "onPoiAdded": "onPoiAdded"; "onMapReady": "onMapReady"; "onLoadError": "onLoadError"; }, never, never, true, never>;
|
|
413
425
|
}
|
|
414
426
|
|
|
415
427
|
interface AXMapConfig {
|
|
@@ -456,6 +468,9 @@ declare class AXLeafletService {
|
|
|
456
468
|
private _addMarkerOnTapEnabled;
|
|
457
469
|
private _isCurrentlyDrawing;
|
|
458
470
|
private _hasDrawControl;
|
|
471
|
+
private _isReadonly;
|
|
472
|
+
private _isDisabled;
|
|
473
|
+
private _isUpdatingCenter;
|
|
459
474
|
/**
|
|
460
475
|
* Emits when the zoom level of the map changes.
|
|
461
476
|
*/
|
|
@@ -723,6 +738,18 @@ declare class AXLeafletService {
|
|
|
723
738
|
removePolygon(locations?: AXMapPolygon | AXMapPolygon[]): void;
|
|
724
739
|
setMaxMarkers(maxMarkers: number): void;
|
|
725
740
|
setMaxPolygons(maxPolygons: number): void;
|
|
741
|
+
/**
|
|
742
|
+
* Sets the readonly state of the map.
|
|
743
|
+
* When readonly, map is movable and zoomable but all functionality (drawing, adding markers, controls) is disabled.
|
|
744
|
+
* @param readonly Whether to set the map to readonly mode
|
|
745
|
+
*/
|
|
746
|
+
setReadonly(readonly: boolean): void;
|
|
747
|
+
/**
|
|
748
|
+
* Sets the disabled state of the map.
|
|
749
|
+
* When disabled, everything is disabled including zoom, moving, drawing, and all interactions.
|
|
750
|
+
* @param disabled Whether to disable the map completely
|
|
751
|
+
*/
|
|
752
|
+
setDisabled(disabled: boolean): void;
|
|
726
753
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLeafletService, never>;
|
|
727
754
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXLeafletService>;
|
|
728
755
|
}
|
package/media-viewer/index.d.ts
CHANGED
|
@@ -24,7 +24,8 @@ type AXMediaViewerData = {
|
|
|
24
24
|
size?: string;
|
|
25
25
|
type: 'image' | 'audio' | 'pdf' | 'video';
|
|
26
26
|
url: string;
|
|
27
|
-
|
|
27
|
+
thumbnailUrl?: string;
|
|
28
|
+
tooltip?: string;
|
|
28
29
|
};
|
|
29
30
|
declare class AXMediaViewerBaseComponent {
|
|
30
31
|
message: AXMediaViewerData;
|
|
@@ -44,20 +45,23 @@ type Thumbnail = {
|
|
|
44
45
|
svg: string;
|
|
45
46
|
type: string;
|
|
46
47
|
id: string;
|
|
48
|
+
tooltip?: string;
|
|
47
49
|
};
|
|
48
50
|
declare class AXMediaViewerContainerComponent implements OnDestroy {
|
|
49
51
|
#private;
|
|
50
52
|
dataArray: i0.InputSignal<AXMediaViewerData[]>;
|
|
51
53
|
thumbnail: i0.InputSignal<boolean>;
|
|
54
|
+
pagination: i0.InputSignal<boolean>;
|
|
52
55
|
protected service: AXMediaViewerService;
|
|
53
56
|
protected sanitizer: DomSanitizer;
|
|
54
57
|
protected thumbnailArray: i0.WritableSignal<Thumbnail[]>;
|
|
55
58
|
protected option: i0.WritableSignal<swiper_types.SwiperOptions>;
|
|
56
|
-
protected
|
|
59
|
+
protected thumbnailOption: i0.WritableSignal<swiper_types.SwiperOptions>;
|
|
57
60
|
isFullScreen: i0.WritableSignal<boolean>;
|
|
58
61
|
private swiperRef;
|
|
59
62
|
private swiperRef2;
|
|
60
63
|
private fullScreenButton;
|
|
64
|
+
private globalOptions;
|
|
61
65
|
private setActiveIndex;
|
|
62
66
|
getActiveIndex(): number;
|
|
63
67
|
ngOnDestroy(): void;
|
|
@@ -69,7 +73,7 @@ declare class AXMediaViewerContainerComponent implements OnDestroy {
|
|
|
69
73
|
/** @ignore */
|
|
70
74
|
get __hostClass(): string;
|
|
71
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMediaViewerContainerComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMediaViewerContainerComponent, "ax-media-viewer-container", never, { "dataArray": { "alias": "dataArray"; "required": false; "isSignal": true; }; "thumbnail": { "alias": "thumbnail"; "required": false; "isSignal": true; }; }, {}, ["fullScreenButton"], ["ax-header", "ax-suffix", "ax-prefix"], true, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMediaViewerContainerComponent, "ax-media-viewer-container", never, { "dataArray": { "alias": "dataArray"; "required": false; "isSignal": true; }; "thumbnail": { "alias": "thumbnail"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; }, {}, ["fullScreenButton"], ["ax-header", "ax-suffix", "ax-prefix"], true, never>;
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
declare class AXMediaViewerTypeRegistryService {
|
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,52 @@
|
|
|
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
|
-
|
|
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: _angular_core.WritableSignal<string>;
|
|
32
|
+
protected internalValueChanged(value: number | undefined): 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;
|
|
40
|
+
reset(e?: boolean): void;
|
|
180
41
|
private get __hostName();
|
|
181
|
-
static ɵfac:
|
|
182
|
-
static ɵcmp:
|
|
42
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
|
|
43
|
+
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
44
|
}
|
|
184
45
|
|
|
185
46
|
declare class AXNumberBoxModule {
|
|
186
|
-
static ɵfac:
|
|
187
|
-
static ɵmod:
|
|
188
|
-
static ɵinj:
|
|
47
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNumberBoxModule, never>;
|
|
48
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXNumberBoxModule, never, [typeof i1.FormsModule, typeof i2.AXInputMaskDirective, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof AXNumberBoxComponent], [typeof AXNumberBoxComponent]>;
|
|
49
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXNumberBoxModule>;
|
|
189
50
|
}
|
|
190
51
|
|
|
191
52
|
export { AXNumberBoxComponent, AXNumberBoxModule };
|