@acorex/components 20.2.0-next.8 → 20.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.d.ts +6 -5
- package/action-sheet/index.d.ts +57 -10
- package/alert/index.d.ts +2 -4
- package/aspect-ratio/README.md +3 -0
- package/aspect-ratio/index.d.ts +11 -0
- package/autocomplete/index.d.ts +7 -2
- package/avatar/index.d.ts +12 -6
- package/badge/index.d.ts +1 -2
- package/bottom-navigation/index.d.ts +10 -2
- package/breadcrumbs/index.d.ts +17 -4
- package/button/index.d.ts +56 -17
- package/button-group/index.d.ts +10 -6
- package/calendar/index.d.ts +32 -18
- package/check-box/index.d.ts +2 -5
- package/chips/index.d.ts +1 -2
- package/circular-progress/index.d.ts +23 -18
- package/code-editor/README.md +3 -0
- package/code-editor/index.d.ts +103 -0
- package/collapse/index.d.ts +7 -6
- package/color-box/index.d.ts +6 -8
- package/color-palette/index.d.ts +19 -24
- package/command/README.md +3 -0
- package/command/index.d.ts +60 -0
- package/comment/index.d.ts +18 -13
- package/conversation/index.d.ts +107 -78
- package/cron-job/index.d.ts +5 -4
- package/data-list/README.md +356 -0
- package/data-list/index.d.ts +102 -0
- package/data-pager/index.d.ts +22 -17
- package/data-table/index.d.ts +59 -3
- package/datetime-box/index.d.ts +12 -15
- package/datetime-input/index.d.ts +2 -4
- package/datetime-picker/index.d.ts +12 -11
- package/decorators/index.d.ts +2 -2
- package/dialog/index.d.ts +29 -4
- package/drawer-2/index.d.ts +22 -8
- package/dropdown/index.d.ts +44 -3
- package/dropdown-button/index.d.ts +7 -2
- package/fesm2022/acorex-components-accordion.mjs +74 -72
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +78 -48
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +13 -17
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs +36 -0
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -0
- package/fesm2022/acorex-components-audio-wave.mjs +7 -7
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +32 -11
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +24 -21
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +9 -11
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +18 -16
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +36 -21
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +35 -26
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +78 -38
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +76 -47
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +11 -14
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +9 -11
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +31 -26
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +591 -0
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -0
- package/fesm2022/acorex-components-collapse.mjs +21 -21
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +39 -33
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +69 -85
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +144 -0
- package/fesm2022/acorex-components-command.mjs.map +1 -0
- package/fesm2022/acorex-components-comment.mjs +51 -45
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +128 -90
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +54 -48
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +386 -0
- package/fesm2022/acorex-components-data-list.mjs.map +1 -0
- package/fesm2022/acorex-components-data-pager.mjs +41 -36
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +98 -42
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +28 -36
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +20 -18
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +92 -44
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +27 -27
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +44 -19
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-2.mjs +28 -14
- package/fesm2022/acorex-components-drawer-2.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +13 -13
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +16 -11
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +57 -13
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +40 -16
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +36 -17
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +125 -15
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +121 -92
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +8 -8
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +11 -7
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +21 -29
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +11 -15
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +23 -32
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +58 -59
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +84 -28
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +484 -112
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +37 -37
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +67 -37
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs → acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs} +117 -40
- package/fesm2022/acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs.map +1 -0
- package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs +235 -0
- package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +14 -10
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +31 -45
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-2.mjs +28 -9
- package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +16 -10
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +14 -15
- 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 +74 -33
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +21 -18
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +51 -15
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +26 -16
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +13 -18
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +10 -10
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +8 -8
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +7 -7
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +8 -8
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +26 -16
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +13 -9
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +222 -102
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +1581 -167
- 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 +13 -7
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +105 -38
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +12 -9
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +14 -11
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +98 -43
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +9 -9
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +16 -16
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +31 -32
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +12 -12
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +26 -19
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +55 -21
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +8 -8
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +17 -12
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +29 -13
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +15 -9
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +13 -10
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +59 -14
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +7 -7
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +12 -11
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +12 -12
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +252 -56
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +104 -62
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/flow-chart/index.d.ts +24 -0
- package/form/index.d.ts +27 -13
- package/grid-layout-builder/index.d.ts +115 -4
- package/image/index.d.ts +4 -4
- package/image-editor/index.d.ts +17 -14
- package/json-viewer/index.d.ts +3 -3
- package/kanban/index.d.ts +7 -3
- package/kbd/index.d.ts +11 -11
- package/label/index.d.ts +1 -2
- package/list/index.d.ts +4 -14
- package/loading/index.d.ts +59 -6
- package/loading-dialog/index.d.ts +30 -19
- package/map/index.d.ts +95 -2
- package/menu/index.d.ts +38 -13
- package/modal/index.d.ts +47 -2
- package/navbar/index.d.ts +7 -3
- package/notification/index.d.ts +1 -8
- package/number-box/index.d.ts +1 -0
- package/number-box-2/index.d.ts +2 -1
- package/otp/index.d.ts +1 -3
- package/package.json +43 -4
- package/paint/index.d.ts +43 -7
- package/password-box/index.d.ts +8 -10
- package/phone-box/index.d.ts +18 -16
- package/picker/index.d.ts +10 -8
- package/popover/index.d.ts +2 -2
- package/popup/index.d.ts +2 -2
- package/qrcode/index.d.ts +7 -7
- package/query-builder/index.d.ts +1 -1
- package/radio/index.d.ts +1 -1
- package/rail-navigation/index.d.ts +12 -3
- package/range-slider/index.d.ts +13 -13
- package/rate-picker/index.d.ts +5 -5
- package/rest-api-generator/index.d.ts +1 -1
- package/rrule/index.d.ts +40 -17
- package/scheduler/index.d.ts +541 -191
- package/search-box/index.d.ts +3 -2
- package/select-box/index.d.ts +22 -10
- package/selection-list-2/index.d.ts +3 -3
- package/side-menu/index.d.ts +24 -15
- package/sliding-item/index.d.ts +4 -5
- package/step-wizard/index.d.ts +10 -13
- package/switch/index.d.ts +0 -1
- package/tabs/index.d.ts +6 -1
- package/tag-box/index.d.ts +19 -2
- package/text-area/index.d.ts +2 -2
- package/text-box/index.d.ts +3 -0
- package/time-duration/index.d.ts +1 -0
- package/time-line/index.d.ts +3 -0
- package/toast/index.d.ts +45 -1
- package/tooltip/index.d.ts +2 -1
- package/uploader/index.d.ts +215 -5
- package/wysiwyg/index.d.ts +27 -5
- package/fesm2022/acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-DfhgA_WL.mjs +0 -218
- package/fesm2022/acorex-components-modal-modal-content.component-DfhgA_WL.mjs.map +0 -1
package/calendar/index.d.ts
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
import * as polytype from 'polytype';
|
2
2
|
import * as i0 from '@angular/core';
|
3
3
|
import { TemplateRef, EventEmitter, AfterViewInit } from '@angular/core';
|
4
|
-
import * as i5 from '@acorex/cdk/common';
|
5
4
|
import { MXBaseComponent, AXItemClickEvent, AXRangeChangedEvent, MXValueComponent, AXRange, MXInteractiveComponent, AXClickEvent, MXComponentOptionChanged } from '@acorex/cdk/common';
|
6
|
-
import * as i2 from '@acorex/core/date-time';
|
7
5
|
import { AXCalendarService, AXDateTime, AXDateTimeRange } from '@acorex/core/date-time';
|
8
6
|
import { AXLocaleService } from '@acorex/core/locale';
|
9
|
-
import * as i3 from '@acorex/core/translation';
|
10
7
|
import { AXTranslationService } from '@acorex/core/translation';
|
11
|
-
import * as i1 from '@angular/common';
|
12
|
-
import * as i4 from '@acorex/components/tooltip';
|
13
8
|
|
14
9
|
type AXCalendarViewType = 'year' | 'month' | 'day';
|
15
10
|
type AXCalendarViewDepth = AXCalendarViewType;
|
@@ -176,7 +171,7 @@ declare class AXCalendarRangeComponent extends AXCalendarRangeComponent_base imp
|
|
176
171
|
*/
|
177
172
|
private _syncNav2;
|
178
173
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarRangeComponent, never>;
|
179
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarRangeComponent, "ax-calendar-range", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "
|
174
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarRangeComponent, "ax-calendar-range", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dayCellTemplate": { "alias": "dayCellTemplate"; "required": false; }; "monthCellTemplate": { "alias": "monthCellTemplate"; "required": false; }; "yearCellTemplate": { "alias": "yearCellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; }, never, ["*"], true, never>;
|
180
175
|
}
|
181
176
|
|
182
177
|
declare const AXCalendarComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
@@ -191,8 +186,10 @@ declare const AXCalendarComponent_base: polytype.Polytype.ClusteredConstructor<[
|
|
191
186
|
*/
|
192
187
|
declare class AXCalendarComponent extends AXCalendarComponent_base implements AfterViewInit {
|
193
188
|
private formatService;
|
189
|
+
weekend: i0.InputSignal<number[]>;
|
190
|
+
weekdays: i0.InputSignal<number[]>;
|
194
191
|
protected calendar: i0.WritableSignal<string>;
|
195
|
-
get displayRange(): AXDateTimeRange;
|
192
|
+
get displayRange(): AXDateTimeRange | null;
|
196
193
|
/**
|
197
194
|
* @ignore
|
198
195
|
*/
|
@@ -277,6 +274,9 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
277
274
|
* @ignore
|
278
275
|
*/
|
279
276
|
protected _handleNavClick(e: AXClickEvent | any, view: AXCalendarViewType): void;
|
277
|
+
/**
|
278
|
+
* Toggles between different calendar views (day → month → year).
|
279
|
+
*/
|
280
280
|
toggleView(): void;
|
281
281
|
/**
|
282
282
|
* @ignore
|
@@ -295,18 +295,31 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
295
295
|
*/
|
296
296
|
protected _handleGoToday(): void;
|
297
297
|
/**
|
298
|
-
* Navigates
|
299
|
-
*
|
298
|
+
* Navigates forward in the calendar based on the current active view and the configured count.
|
299
|
+
*
|
300
|
+
* Behavior by view:
|
301
|
+
* - day view: advances by count months
|
302
|
+
* - month view: advances by count years
|
303
|
+
* - year view: advances by 10 × count years
|
304
|
+
*
|
305
|
+
* @returns void
|
300
306
|
*/
|
301
307
|
next(): void;
|
302
308
|
/**
|
303
|
-
* Navigates
|
304
|
-
*
|
309
|
+
* Navigates backward in the calendar based on the current active view and the configured count.
|
310
|
+
*
|
311
|
+
* Behavior by view:
|
312
|
+
* - day view: goes back by count months
|
313
|
+
* - month view: goes back by count years
|
314
|
+
* - year view: goes back by 10 × count years
|
315
|
+
*
|
316
|
+
* @returns void
|
305
317
|
*/
|
306
318
|
prev(): void;
|
307
319
|
/**
|
308
320
|
* Sets focus to the currently selected calendar slot or the first available slot.
|
309
|
-
*
|
321
|
+
*
|
322
|
+
* @returns void
|
310
323
|
*/
|
311
324
|
focus(): void;
|
312
325
|
/**
|
@@ -314,15 +327,16 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
314
327
|
*/
|
315
328
|
private _navNextPrev;
|
316
329
|
/**
|
317
|
-
* Navigates to the current date.
|
318
|
-
*
|
330
|
+
* Navigates to the current date and emits the navigation event.
|
331
|
+
*
|
332
|
+
* @returns void
|
319
333
|
*/
|
320
334
|
goToday(): void;
|
321
335
|
/**
|
322
336
|
* Navigates to a specified date and updates the view.
|
323
337
|
*
|
324
|
-
* @param date
|
325
|
-
* @
|
338
|
+
* @param date The date to navigate to, which can be a Date object or an AXDateTime instance.
|
339
|
+
* @returns void
|
326
340
|
*/
|
327
341
|
navTo(date: Date | AXDateTime): void;
|
328
342
|
/**
|
@@ -354,12 +368,12 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
354
368
|
*/
|
355
369
|
protected getMonthName(date: AXDateTime, style: 'short' | 'long'): string;
|
356
370
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
357
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "
|
371
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dayCellTemplate": { "alias": "dayCellTemplate"; "required": false; }; "monthCellTemplate": { "alias": "monthCellTemplate"; "required": false; }; "yearCellTemplate": { "alias": "yearCellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "count": { "alias": "count"; "required": false; }; "id": { "alias": "id"; "required": false; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "weekdays": { "alias": "weekdays"; "required": false; "isSignal": true; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "minValueChange": "minValueChange"; "maxValueChange": "maxValueChange"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; "countChange": "countChange"; }, never, ["ax-header", "ax-footer"], true, never>;
|
358
372
|
}
|
359
373
|
|
360
374
|
declare class AXCalendarModule {
|
361
375
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarModule, never>;
|
362
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, never, [typeof
|
376
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, never, [typeof AXCalendarComponent, typeof AXCalendarRangeComponent], [typeof AXCalendarComponent, typeof AXCalendarRangeComponent]>;
|
363
377
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
|
364
378
|
}
|
365
379
|
|
package/check-box/index.d.ts
CHANGED
@@ -1,9 +1,6 @@
|
|
1
1
|
import * as polytype from 'polytype';
|
2
2
|
import * as i0 from '@angular/core';
|
3
3
|
import { MXValueComponent, MXColorComponent } from '@acorex/cdk/common';
|
4
|
-
import * as i1 from '@angular/common';
|
5
|
-
import * as i2 from '@angular/forms';
|
6
|
-
import * as i3 from '@acorex/components/decorators';
|
7
4
|
|
8
5
|
declare const AXCheckBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
9
6
|
new (): MXValueComponent<boolean>;
|
@@ -63,12 +60,12 @@ declare class AXCheckBoxComponent extends AXCheckBoxComponent_base {
|
|
63
60
|
private get __hostClass();
|
64
61
|
protected changeValue(): void;
|
65
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], true, never>;
|
67
64
|
}
|
68
65
|
|
69
66
|
declare class AXCheckBoxModule {
|
70
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxModule, never>;
|
71
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCheckBoxModule, never, [typeof
|
68
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCheckBoxModule, never, [typeof AXCheckBoxComponent], [typeof AXCheckBoxComponent]>;
|
72
69
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCheckBoxModule>;
|
73
70
|
}
|
74
71
|
|
package/chips/index.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import * as i1 from '@acorex/cdk/common';
|
3
3
|
import { AXStyleLookType, AXStyleSizeType, MXColorComponent } from '@acorex/cdk/common';
|
4
|
-
import * as i1$1 from '@angular/common';
|
5
4
|
|
6
5
|
type AXChipsLookType = Extract<AXStyleLookType, 'solid' | 'outline' | 'twotone'>;
|
7
6
|
type AXChipsSizeType = Exclude<AXStyleSizeType, 'ax-xs' | 'ax-xl'>;
|
@@ -29,7 +28,7 @@ declare class AXChipsComponent extends MXColorComponent {
|
|
29
28
|
|
30
29
|
declare class AXChipsModule {
|
31
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXChipsModule, never>;
|
32
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXChipsModule, never, [typeof
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXChipsModule, never, [typeof AXChipsComponent], [typeof AXChipsComponent]>;
|
33
32
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXChipsModule>;
|
34
33
|
}
|
35
34
|
|
@@ -4,7 +4,8 @@ import { MXColorComponent } from '@acorex/cdk/common';
|
|
4
4
|
|
5
5
|
type AXCircularProgressMode = 'determinate' | 'indeterminate';
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Displays the progress of an operation in a circular form. Supports determinate and indeterminate modes,
|
8
|
+
* configurable size and stroke, and color theming.
|
8
9
|
*
|
9
10
|
* @category Components
|
10
11
|
*/
|
@@ -14,29 +15,20 @@ declare class AXCircularProgressComponent extends MXColorComponent {
|
|
14
15
|
*/
|
15
16
|
circle: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
16
17
|
/**
|
17
|
-
* Defines the
|
18
|
-
*
|
19
|
-
* Change progress mode
|
20
|
-
*
|
18
|
+
* Defines the progress calculation mode.
|
19
|
+
* Use 'determinate' to show a specific percentage or 'indeterminate' for ongoing/spinner state.
|
21
20
|
*/
|
22
21
|
mode: _angular_core.InputSignal<AXCircularProgressMode>;
|
23
22
|
/**
|
24
|
-
*
|
25
|
-
*
|
26
|
-
* The percentage value to set for the progress.
|
27
|
-
*
|
23
|
+
* The percentage value to set for the progress (0–100).
|
28
24
|
*/
|
29
25
|
progress: _angular_core.ModelSignal<number>;
|
30
26
|
/**
|
31
|
-
*
|
32
|
-
*
|
33
|
-
* The stroke width to be set for the circular progress component.
|
27
|
+
* Stroke width of the circular track, in pixels.
|
34
28
|
*/
|
35
29
|
stroke: _angular_core.ModelSignal<number>;
|
36
30
|
/**
|
37
|
-
*
|
38
|
-
*
|
39
|
-
* Circle size
|
31
|
+
* Overall diameter of the circular progress, in pixels.
|
40
32
|
*/
|
41
33
|
size: _angular_core.ModelSignal<number>;
|
42
34
|
/**
|
@@ -48,15 +40,28 @@ declare class AXCircularProgressComponent extends MXColorComponent {
|
|
48
40
|
*/
|
49
41
|
private get __hostClass();
|
50
42
|
/**
|
51
|
-
*
|
43
|
+
* Sets the CSS custom properties to reflect the current `size` and `stroke` values.
|
44
|
+
*
|
45
|
+
* Updates `--ax-comp-circular-progress-circle-size` and `--ax-comp-circular-progress-stroke-size` on the circle.
|
46
|
+
*
|
47
|
+
* @returns void - Styles are applied to the circle element when available.
|
52
48
|
*/
|
53
49
|
setCircularSize(): void;
|
54
50
|
/**
|
55
|
-
*
|
51
|
+
* Recalculates and applies the progress arc background based on the current `progress` value.
|
52
|
+
*
|
53
|
+
* Uses a conic-gradient with `--ax-comp-progress-circular-color` and `--ax-comp-progress-circular-line-color`.
|
54
|
+
* The expected range for `progress` is 0–100.
|
55
|
+
*
|
56
|
+
* @returns void - Styles are applied to the circle element when available.
|
56
57
|
*/
|
57
58
|
updateProgress(): void;
|
58
59
|
/**
|
59
|
-
*
|
60
|
+
* Applies a default visual state for the indeterminate mode when no explicit `progress` is set.
|
61
|
+
*
|
62
|
+
* If `mode` is 'indeterminate' and `progress` is not set, it sets `progress` to 65 to render a visible arc.
|
63
|
+
*
|
64
|
+
* @returns void
|
60
65
|
*/
|
61
66
|
setIndeterminateMode(): void;
|
62
67
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCircularProgressComponent, never>;
|
@@ -0,0 +1,103 @@
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
2
|
+
import { ElementRef } from '@angular/core';
|
3
|
+
import * as _codemirror_autocomplete from '@codemirror/autocomplete';
|
4
|
+
import * as _codemirror_state from '@codemirror/state';
|
5
|
+
import { MXValueComponent } from '@acorex/cdk/common';
|
6
|
+
import * as i1 from '@angular/common';
|
7
|
+
|
8
|
+
type AXCodeEditorExtensionLike = _codemirror_state.Extension;
|
9
|
+
type AXCodeEditorCompletionLike = _codemirror_autocomplete.Completion;
|
10
|
+
type AXCodeEditorCompletionSourceLike = _codemirror_autocomplete.CompletionSource;
|
11
|
+
/**
|
12
|
+
* Supported syntax highlighting modes for the editor.
|
13
|
+
*/
|
14
|
+
type AXCodeEditorSupportedLanguage = 'javascript' | 'js' | 'typescript' | 'ts' | 'json' | 'html' | 'css' | 'scss' | 'sass' | 'sql' | 'xml' | 'markdown' | 'text';
|
15
|
+
declare class AXCodeEditorComponent extends MXValueComponent<string> {
|
16
|
+
/** Active language mode. Default: 'javascript'. */
|
17
|
+
language: _angular_core.InputSignal<AXCodeEditorSupportedLanguage>;
|
18
|
+
/** When true, the editor becomes readonly (non-editable). */
|
19
|
+
readOnly: _angular_core.InputSignal<boolean>;
|
20
|
+
/** Placeholder text shown when the document is empty. */
|
21
|
+
placeholder: _angular_core.InputSignal<string>;
|
22
|
+
/** Toggle rendering of line numbers in the gutter. */
|
23
|
+
lineNumbers: _angular_core.InputSignal<boolean>;
|
24
|
+
/** Soft-wrap long lines when true. */
|
25
|
+
lineWrapping: _angular_core.InputSignal<boolean>;
|
26
|
+
/** Tab size (spaces per indent level). */
|
27
|
+
tabSize: _angular_core.InputSignal<number>;
|
28
|
+
/** When true, the Tab key indents instead of moving focus. */
|
29
|
+
indentWithTab: _angular_core.InputSignal<boolean>;
|
30
|
+
/** Fixed height for the editor (e.g., '320px'). */
|
31
|
+
height: _angular_core.InputSignal<string>;
|
32
|
+
/** Minimum height for the editor. */
|
33
|
+
minHeight: _angular_core.InputSignal<string>;
|
34
|
+
/** Maximum height for the editor. */
|
35
|
+
maxHeight: _angular_core.InputSignal<string>;
|
36
|
+
/** Additional CodeMirror extensions to apply. Reconfigures at runtime. */
|
37
|
+
extensions: _angular_core.InputSignal<readonly _codemirror_state.Extension[]>;
|
38
|
+
/** ARIA label for accessibility. */
|
39
|
+
ariaLabel: _angular_core.InputSignal<string>;
|
40
|
+
/** Focus the editor after first render. */
|
41
|
+
focusOnReady: _angular_core.InputSignal<boolean>;
|
42
|
+
/** If true, format the document via Prettier before emitting save. */
|
43
|
+
formatOnSave: _angular_core.InputSignal<boolean>;
|
44
|
+
/**
|
45
|
+
* Custom autocompletion options: either a static array of Completion items
|
46
|
+
* or a CodeMirror CompletionSource function.
|
47
|
+
*/
|
48
|
+
customCompletions: _angular_core.InputSignal<_codemirror_autocomplete.CompletionSource | readonly _codemirror_autocomplete.Completion[]>;
|
49
|
+
/** Emits when the editor is fully initialized and ready. */
|
50
|
+
ready: _angular_core.OutputEmitterRef<void>;
|
51
|
+
/** Emits when the user triggers save (Ctrl/Cmd+S). Payload is the current text. */
|
52
|
+
save: _angular_core.OutputEmitterRef<string>;
|
53
|
+
host: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
54
|
+
private platformId;
|
55
|
+
private destroyRef;
|
56
|
+
private platformService;
|
57
|
+
private editorViewSig;
|
58
|
+
private languageCompartment;
|
59
|
+
private readOnlyCompartment;
|
60
|
+
private themeCompartment;
|
61
|
+
private placeholderCompartment;
|
62
|
+
private wrappingCompartment;
|
63
|
+
private keymapExtrasCompartment;
|
64
|
+
private tabSizeCompartment;
|
65
|
+
private lineNumbersCompartment;
|
66
|
+
private cm;
|
67
|
+
private isBrowser;
|
68
|
+
constructor();
|
69
|
+
private initializeEditor;
|
70
|
+
private reconfigure;
|
71
|
+
/**
|
72
|
+
* Handles Ctrl/Cmd+S on the host. If formatOnSave is enabled, attempts
|
73
|
+
* to format the document first, then emits the saved text.
|
74
|
+
*/
|
75
|
+
onSaveShortcut(event: KeyboardEvent): Promise<void>;
|
76
|
+
private loadCodeMirrorModules;
|
77
|
+
private createCompartments;
|
78
|
+
private buildKeymaps;
|
79
|
+
private tryFormatWithPrettier;
|
80
|
+
private resolveLanguageExtension;
|
81
|
+
private resolveThemeExtension;
|
82
|
+
private buildCustomCompletionSources;
|
83
|
+
/** Programmatically focus the editor. */
|
84
|
+
focus(): void;
|
85
|
+
/** Select all text in the current document. */
|
86
|
+
selectAll(): void;
|
87
|
+
format(affect?: boolean): Promise<string | null>;
|
88
|
+
/** Returns the total number of characters in the current document. */
|
89
|
+
getTotalCharacters(): number;
|
90
|
+
/** Returns the total number of lines in the current document. */
|
91
|
+
getTotalLines(): number;
|
92
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCodeEditorComponent, never>;
|
93
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXCodeEditorComponent, "ax-code-editor", never, { "language": { "alias": "language"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "lineNumbers": { "alias": "lineNumbers"; "required": false; "isSignal": true; }; "lineWrapping": { "alias": "lineWrapping"; "required": false; "isSignal": true; }; "tabSize": { "alias": "tabSize"; "required": false; "isSignal": true; }; "indentWithTab": { "alias": "indentWithTab"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "extensions": { "alias": "extensions"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "focusOnReady": { "alias": "focusOnReady"; "required": false; "isSignal": true; }; "formatOnSave": { "alias": "formatOnSave"; "required": false; "isSignal": true; }; "customCompletions": { "alias": "customCompletions"; "required": false; "isSignal": true; }; }, { "ready": "ready"; "save": "save"; }, never, never, true, never>;
|
94
|
+
}
|
95
|
+
|
96
|
+
declare class AXCodeEditorModule {
|
97
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCodeEditorModule, never>;
|
98
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXCodeEditorModule, never, [typeof i1.CommonModule, typeof AXCodeEditorComponent], [typeof AXCodeEditorComponent]>;
|
99
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXCodeEditorModule>;
|
100
|
+
}
|
101
|
+
|
102
|
+
export { AXCodeEditorComponent, AXCodeEditorModule };
|
103
|
+
export type { AXCodeEditorCompletionLike, AXCodeEditorCompletionSourceLike, AXCodeEditorExtensionLike, AXCodeEditorSupportedLanguage };
|
package/collapse/index.d.ts
CHANGED
@@ -2,8 +2,6 @@ import * as polytype from 'polytype';
|
|
2
2
|
import { MXBaseComponent, MXLookComponent, AXClickEvent, MXInteractiveComponent } from '@acorex/cdk/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
4
|
import { AfterViewInit, OnDestroy, EventEmitter, TemplateRef } from '@angular/core';
|
5
|
-
import * as i1 from '@angular/common';
|
6
|
-
import * as i2 from '@acorex/components/loading';
|
7
5
|
|
8
6
|
declare const AXCollapseGroupComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXBaseComponent, typeof MXLookComponent]>;
|
9
7
|
/**
|
@@ -143,17 +141,20 @@ declare class AXCollapseComponent extends AXCollapseComponent_base {
|
|
143
141
|
handleHeaderClick(e: MouseEvent): void;
|
144
142
|
/**
|
145
143
|
* Expands the collapse component.
|
146
|
-
*
|
144
|
+
*
|
145
|
+
* @returns void - No return value. Sets `isCollapsed` to false and expands the body.
|
147
146
|
*/
|
148
147
|
open(): void;
|
149
148
|
/**
|
150
149
|
* Collapses the collapse component.
|
151
|
-
*
|
150
|
+
*
|
151
|
+
* @returns void - No return value. Sets `isCollapsed` to true and hides the body.
|
152
152
|
*/
|
153
153
|
close(): void;
|
154
154
|
/**
|
155
155
|
* Toggles the collapse state between expanded and collapsed.
|
156
|
-
*
|
156
|
+
*
|
157
|
+
* @returns void - No return value. Flips the `isCollapsed` state.
|
157
158
|
*/
|
158
159
|
toggle(): void;
|
159
160
|
/**
|
@@ -166,7 +167,7 @@ declare class AXCollapseComponent extends AXCollapseComponent_base {
|
|
166
167
|
|
167
168
|
declare class AXCollapseModule {
|
168
169
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseModule, never>;
|
169
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCollapseModule, never, [typeof
|
170
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCollapseModule, never, [typeof AXCollapseComponent, typeof AXCollapseGroupComponent], [typeof AXCollapseComponent, typeof AXCollapseGroupComponent]>;
|
170
171
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCollapseModule>;
|
171
172
|
}
|
172
173
|
|
package/color-box/index.d.ts
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
import * as polytype from 'polytype';
|
2
2
|
import * as _angular_core from '@angular/core';
|
3
3
|
import { MXInputBaseValueComponent, MXColorLookComponent, AXEvent } from '@acorex/cdk/common';
|
4
|
-
import
|
5
|
-
import { AXColorPalleteComponent, AXColorPalettePickerComponent } from '@acorex/components/color-palette';
|
6
|
-
import * as i4 from '@acorex/components/dropdown';
|
4
|
+
import { AXColorPaletteComponent, AXColorPalettePickerComponent } from '@acorex/components/color-palette';
|
7
5
|
import { MXDropdownBoxBaseComponent, AXDropdownBoxComponent } from '@acorex/components/dropdown';
|
8
|
-
import * as i1 from '@angular/common';
|
9
|
-
import * as i2 from '@angular/forms';
|
10
6
|
|
11
7
|
declare const AXColorBoxComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXDropdownBoxBaseComponent, {
|
12
8
|
new (): MXInputBaseValueComponent<string>;
|
@@ -26,7 +22,7 @@ declare class AXColorBoxComponent extends AXColorBoxComponent_base {
|
|
26
22
|
/**
|
27
23
|
* @ignore
|
28
24
|
*/
|
29
|
-
protected picker:
|
25
|
+
protected picker: AXColorPaletteComponent;
|
30
26
|
protected palettePicker: _angular_core.Signal<AXColorPalettePickerComponent>;
|
31
27
|
/**
|
32
28
|
* @ignore
|
@@ -59,14 +55,16 @@ declare class AXColorBoxComponent extends AXColorBoxComponent_base {
|
|
59
55
|
* @ignore
|
60
56
|
*/
|
61
57
|
internalValueChanged(value?: Date): void;
|
58
|
+
protected ngOnInit(): void;
|
62
59
|
handleKeyboardEvent(event: KeyboardEvent): void;
|
60
|
+
private get __hostName();
|
63
61
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXColorBoxComponent, never>;
|
64
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXColorBoxComponent, "ax-color-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "
|
62
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXColorBoxComponent, "ax-color-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; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
65
63
|
}
|
66
64
|
|
67
65
|
declare class AXColorBoxModule {
|
68
66
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXColorBoxModule, never>;
|
69
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXColorBoxModule, never, [typeof
|
67
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXColorBoxModule, never, [typeof AXColorBoxComponent], [typeof AXColorBoxComponent]>;
|
70
68
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXColorBoxModule>;
|
71
69
|
}
|
72
70
|
|
package/color-palette/index.d.ts
CHANGED
@@ -1,18 +1,7 @@
|
|
1
1
|
import { AXValueChangedEvent, AXOptionChangedEvent, MXBaseComponent, MXValueComponent } from '@acorex/cdk/common';
|
2
|
-
import * as i3 from '@acorex/components/text-box';
|
3
2
|
import { AXMaskOptions } from '@acorex/components/text-box';
|
4
3
|
import * as i0 from '@angular/core';
|
5
|
-
import { EventEmitter, AfterViewInit, OnDestroy,
|
6
|
-
import * as i1 from '@angular/common';
|
7
|
-
import * as i2 from '@angular/forms';
|
8
|
-
import * as i4 from '@acorex/components/label';
|
9
|
-
import * as i5 from '@acorex/components/button';
|
10
|
-
import * as i6 from '@acorex/components/decorators';
|
11
|
-
import * as i7 from '@acorex/components/number-box';
|
12
|
-
import * as i8 from '@acorex/components/range-slider';
|
13
|
-
import * as i9 from '@acorex/components/slider';
|
14
|
-
import * as i10 from '@angular/cdk/drag-drop';
|
15
|
-
import * as i11 from '@acorex/components/select-box';
|
4
|
+
import { EventEmitter, AfterViewInit, OnDestroy, ElementRef, OnInit, QueryList } from '@angular/core';
|
16
5
|
|
17
6
|
/**
|
18
7
|
* A token that specifies the display mode of datapager component.
|
@@ -46,7 +35,7 @@ declare const AXDefaultColorPalette: {
|
|
46
35
|
* @category Components
|
47
36
|
*/
|
48
37
|
declare class AXColorPaletteInputComponent extends MXBaseComponent implements AfterViewInit {
|
49
|
-
_parent: AXColorPaletteParentComponent;
|
38
|
+
protected _parent: AXColorPaletteParentComponent;
|
50
39
|
private _unsubscriber;
|
51
40
|
private colorService;
|
52
41
|
isValid: boolean;
|
@@ -80,11 +69,11 @@ declare class AXColorPaletteInputComponent extends MXBaseComponent implements Af
|
|
80
69
|
/**
|
81
70
|
* @ignore
|
82
71
|
*/
|
83
|
-
_handleChangeInputMode(): void;
|
72
|
+
protected _handleChangeInputMode(): void;
|
84
73
|
/**
|
85
74
|
* @ignore
|
86
75
|
*/
|
87
|
-
_handleRGBAValueChanged(e: AXValueChangedEvent<number>): void;
|
76
|
+
protected _handleRGBAValueChanged(e: AXValueChangedEvent<number>): void;
|
88
77
|
/**
|
89
78
|
* @ignore
|
90
79
|
*/
|
@@ -107,11 +96,11 @@ declare class AXColorPaletteInputComponent extends MXBaseComponent implements Af
|
|
107
96
|
* @category Components
|
108
97
|
*/
|
109
98
|
declare class AXColorPalettePickerComponent extends MXBaseComponent implements OnDestroy {
|
110
|
-
_parent: AXColorPaletteParentComponent;
|
99
|
+
protected _parent: AXColorPaletteParentComponent;
|
111
100
|
private _unsubscriber;
|
112
101
|
private colorService;
|
113
|
-
render
|
114
|
-
zone
|
102
|
+
private render;
|
103
|
+
private zone;
|
115
104
|
_rgba: {
|
116
105
|
r: number;
|
117
106
|
g: number;
|
@@ -163,7 +152,13 @@ declare class AXColorPalettePickerComponent extends MXBaseComponent implements O
|
|
163
152
|
*/
|
164
153
|
private setHSV;
|
165
154
|
/**
|
166
|
-
*
|
155
|
+
* Synchronizes internal RGBA and UI state with the parent palette value.
|
156
|
+
*
|
157
|
+
* Called when the parent emits onValueChanged. Updates local RGBA from the parent
|
158
|
+
* value, recalculates gradient and pointer when the user is not actively changing
|
159
|
+
* the color, and requests change detection.
|
160
|
+
*
|
161
|
+
* @returns void
|
167
162
|
*/
|
168
163
|
parentColorChanged(): void;
|
169
164
|
/**
|
@@ -275,21 +270,21 @@ declare class AXColorPaletteSwatchesComponent extends MXBaseComponent implements
|
|
275
270
|
*
|
276
271
|
* @category Components
|
277
272
|
*/
|
278
|
-
declare class
|
273
|
+
declare class AXColorPaletteComponent extends MXValueComponent<string> {
|
279
274
|
_children: QueryList<AXColorPaletteChildComponent>;
|
280
275
|
/**
|
281
276
|
* @ignore
|
282
277
|
*/
|
283
278
|
private get __hostDisabled();
|
284
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
285
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
279
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteComponent, never>;
|
280
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPaletteComponent, "ax-color-palette", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, ["_children"], ["ax-header", "ax-color-palette-preview", "ax-color-palette-picker", "ax-color-palette-swatches", "ax-color-palette-favorite", "ax-color-palette-input", "ax-footer"], true, never>;
|
286
281
|
}
|
287
282
|
|
288
283
|
declare class AXColorPaletteModule {
|
289
284
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteModule, never>;
|
290
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, never, [typeof
|
285
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, never, [typeof AXColorPaletteComponent, typeof AXColorPalettePreviewComponent, typeof AXColorPaletteSwatchesComponent, typeof AXColorPaletteInputComponent, typeof AXColorPalettePickerComponent], [typeof AXColorPaletteComponent, typeof AXColorPalettePreviewComponent, typeof AXColorPaletteSwatchesComponent, typeof AXColorPaletteInputComponent, typeof AXColorPalettePickerComponent]>;
|
291
286
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXColorPaletteModule>;
|
292
287
|
}
|
293
288
|
|
294
|
-
export { AXColorPaletteChildComponent, AXColorPaletteInputComponent, AXColorPaletteModule, AXColorPaletteParentComponent, AXColorPalettePickerComponent, AXColorPalettePreviewComponent, AXColorPaletteSwatchesComponent,
|
289
|
+
export { AXColorPaletteChildComponent, AXColorPaletteComponent, AXColorPaletteInputComponent, AXColorPaletteModule, AXColorPaletteParentComponent, AXColorPalettePickerComponent, AXColorPalettePreviewComponent, AXColorPaletteSwatchesComponent, AXDefaultColorPalette };
|
295
290
|
export type { AXColorChangedEvent, AXColorPaletteView };
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import * as polytype from 'polytype';
|
2
|
+
import * as _angular_core from '@angular/core';
|
3
|
+
import { AXEvent, MXInputBaseValueComponent, MXLookComponent, AXHtmlEvent, AXFocusEvent } from '@acorex/cdk/common';
|
4
|
+
import { AXListNavigationDirective, AXListNavigationItemDirective } from '@acorex/cdk/list-navigation';
|
5
|
+
import { AXSearchBoxComponent } from '@acorex/components/search-box';
|
6
|
+
|
7
|
+
type CommandItem = {
|
8
|
+
id: string | number;
|
9
|
+
text: string;
|
10
|
+
icon?: string;
|
11
|
+
href?: string;
|
12
|
+
children?: CommandItem[];
|
13
|
+
index?: number;
|
14
|
+
data?: any;
|
15
|
+
};
|
16
|
+
type CommandMenuItem = {
|
17
|
+
pinned?: {
|
18
|
+
title: string;
|
19
|
+
items: CommandItem[];
|
20
|
+
};
|
21
|
+
items: CommandItem[];
|
22
|
+
};
|
23
|
+
declare class AXCommandComponentEvent extends AXEvent {
|
24
|
+
data: CommandItem;
|
25
|
+
}
|
26
|
+
|
27
|
+
declare const AXCommandComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
28
|
+
new (): MXInputBaseValueComponent<CommandMenuItem>;
|
29
|
+
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
30
|
+
ɵprov: _angular_core.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
31
|
+
}, typeof MXLookComponent]>;
|
32
|
+
declare class AXCommandComponent extends AXCommandComponent_base {
|
33
|
+
protected searchValue: _angular_core.WritableSignal<string>;
|
34
|
+
protected searchBox: _angular_core.Signal<AXSearchBoxComponent>;
|
35
|
+
readonly onSubmit: _angular_core.OutputEmitterRef<AXCommandComponentEvent>;
|
36
|
+
readonly onEscape: _angular_core.OutputEmitterRef<AXHtmlEvent<KeyboardEvent>>;
|
37
|
+
readonly onSearchBoxFocus: _angular_core.OutputEmitterRef<AXHtmlEvent<FocusEvent>>;
|
38
|
+
readonly onSearchBoxBlur: _angular_core.OutputEmitterRef<AXHtmlEvent<FocusEvent>>;
|
39
|
+
protected listNavigation: _angular_core.Signal<AXListNavigationDirective>;
|
40
|
+
protected displayItems: _angular_core.Signal<CommandItem[]>;
|
41
|
+
protected focusHandler(e: AXFocusEvent): void;
|
42
|
+
protected blurHandler(e: AXFocusEvent): void;
|
43
|
+
private filterRecursive;
|
44
|
+
protected onItemClick(item: CommandItem): void;
|
45
|
+
protected keyPress(e: AXHtmlEvent<KeyboardEvent>, item: CommandItem): void;
|
46
|
+
protected searchEscapeHandler(e: AXHtmlEvent<KeyboardEvent>): void;
|
47
|
+
protected closeHandler(e: AXHtmlEvent<KeyboardEvent>): void;
|
48
|
+
protected activeHandler(l: AXListNavigationDirective, i: AXListNavigationItemDirective): void;
|
49
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCommandComponent, never>;
|
50
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXCommandComponent, "ax-command", 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; }; }, { "onSubmit": "onSubmit"; "onEscape": "onEscape"; "onSearchBoxFocus": "onSearchBoxFocus"; "onSearchBoxBlur": "onSearchBoxBlur"; }, never, never, true, never>;
|
51
|
+
}
|
52
|
+
|
53
|
+
declare class AXCommandModule {
|
54
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCommandModule, never>;
|
55
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXCommandModule, never, [typeof AXCommandComponent], [typeof AXCommandComponent]>;
|
56
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXCommandModule>;
|
57
|
+
}
|
58
|
+
|
59
|
+
export { AXCommandComponent, AXCommandComponentEvent, AXCommandModule };
|
60
|
+
export type { CommandItem, CommandMenuItem };
|