@acorex/components 18.5.16 → 18.5.17
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/action-sheet/lib/action-sheet.component.d.ts +26 -0
- package/alert/lib/alert.component.d.ts +50 -2
- package/audio-wave/lib/audio-wave.component.d.ts +48 -0
- package/avatar/lib/avatar.component.d.ts +20 -1
- package/badge/lib/badge.component.d.ts +8 -0
- package/bottom-navigation/lib/bottom-navigation.component.d.ts +16 -0
- package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +11 -0
- package/breadcrumbs/lib/breadcrumbs.component.d.ts +11 -0
- package/button/lib/button-item-list.component.d.ts +34 -0
- package/button/lib/button-item.component.d.ts +47 -0
- package/button/lib/button.component.d.ts +36 -0
- package/button-group/lib/button-group.component.d.ts +53 -0
- package/calendar/lib/calendar-range.component.d.ts +48 -0
- package/calendar/lib/calendar.component.d.ts +114 -0
- package/check-box/lib/check-box.component.d.ts +36 -0
- package/chips/lib/chips.component.d.ts +13 -0
- package/circular-progress/lib/circular-progress.component.d.ts +67 -1
- package/collapse/lib/collapse-group.component.d.ts +38 -0
- package/collapse/lib/collapse.component.d.ts +55 -0
- package/color-box/lib/color-box.component.d.ts +28 -1
- package/color-palette/lib/color-palette-input.component.d.ts +35 -0
- package/color-palette/lib/color-palette-picker.component.d.ts +53 -0
- package/color-palette/lib/color-palette-preview.component.d.ts +17 -0
- package/color-palette/lib/color-palette-swatches.component.d.ts +30 -0
- package/color-palette/lib/color-palette.component.d.ts +8 -0
- package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
- package/comment/lib/comment-item/comment-item.component.d.ts +16 -2
- package/comment/lib/comment-like/comment-like.component.d.ts +8 -0
- package/comment/lib/comment-reply/comment-reply.component.d.ts +4 -0
- package/comment/lib/comment-view/comment-view.component.d.ts +4 -0
- package/common/lib/components/base-component.class.d.ts +8 -0
- package/common/lib/components/button-base-component.class.d.ts +21 -0
- package/common/lib/components/interactive-component.class.d.ts +15 -0
- package/conversation/lib/conversation-container/conversation-container.component.d.ts +4 -0
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +79 -2
- package/conversation/lib/conversation-message/conversation-message.component.d.ts +41 -0
- package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +62 -0
- package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +34 -0
- package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +21 -0
- package/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.d.ts +11 -0
- package/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.d.ts +29 -0
- package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +11 -0
- package/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.d.ts +72 -0
- package/conversation/lib/conversation-view/conversation-view.component.d.ts +22 -0
- package/data-pager/lib/data-pager-base.component.d.ts +9 -0
- package/data-pager/lib/data-pager-info.component.d.ts +14 -0
- package/data-pager/lib/data-pager-input-selector.component.d.ts +17 -0
- package/data-pager/lib/data-pager-next-buttons.components.d.ts +20 -0
- package/data-pager/lib/data-pager-numeric-selector.component.d.ts +14 -0
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +21 -1
- package/esm2022/alert/lib/alert.component.mjs +48 -3
- package/esm2022/audio-wave/lib/audio-wave.component.mjs +43 -1
- package/esm2022/avatar/lib/avatar.component.mjs +21 -2
- package/esm2022/badge/lib/badge.component.mjs +9 -1
- package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +14 -1
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +9 -1
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +6 -1
- package/esm2022/button/lib/button-item-list.component.mjs +35 -1
- package/esm2022/button/lib/button-item.component.mjs +36 -1
- package/esm2022/button/lib/button.component.mjs +37 -1
- package/esm2022/button-group/lib/button-group.component.mjs +48 -1
- package/esm2022/calendar/lib/calendar-range.component.mjs +46 -1
- package/esm2022/calendar/lib/calendar.component.mjs +112 -1
- package/esm2022/check-box/lib/check-box.component.mjs +34 -1
- package/esm2022/chips/lib/chips.component.mjs +14 -1
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +69 -1
- package/esm2022/collapse/lib/collapse-group.component.mjs +39 -1
- package/esm2022/collapse/lib/collapse.component.mjs +53 -1
- package/esm2022/color-box/lib/color-box.component.mjs +23 -2
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +36 -1
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +54 -1
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +18 -1
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +28 -1
- package/esm2022/color-palette/lib/color-palette.component.mjs +9 -1
- package/esm2022/comment/lib/comment-container/comment-container.component.mjs +6 -1
- package/esm2022/comment/lib/comment-item/comment-item.component.mjs +15 -1
- package/esm2022/comment/lib/comment-like/comment-like.component.mjs +9 -1
- package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +5 -1
- package/esm2022/comment/lib/comment-view/comment-view.component.mjs +5 -1
- package/esm2022/common/lib/components/base-component.class.mjs +9 -1
- package/esm2022/common/lib/components/button-base-component.class.mjs +22 -1
- package/esm2022/common/lib/components/interactive-component.class.mjs +16 -1
- package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs +5 -1
- package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +75 -1
- package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +39 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +63 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +35 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.mjs +22 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.mjs +9 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.mjs +30 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.mjs +12 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +70 -1
- package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +23 -1
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +7 -1
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +9 -1
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +18 -1
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +18 -1
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +15 -1
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +20 -1
- package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +5 -1
- package/esm2022/scheduler/lib/scheduler.component.mjs +10 -1
- package/esm2022/search-box/lib/search-box.component.mjs +19 -2
- package/esm2022/select-box/lib/select-box.component.mjs +50 -2
- package/esm2022/selection-list/lib/selection-list.component.mjs +51 -1
- package/esm2022/side-menu/lib/side-menu.component.mjs +5 -1
- package/esm2022/skeleton/lib/skeleton.component.mjs +11 -1
- package/esm2022/slider/lib/slider.component.mjs +52 -2
- package/esm2022/step-wizard/lib/step-wizard.component.mjs +23 -1
- package/esm2022/switch/lib/switch-content.component.mjs +5 -1
- package/esm2022/switch/lib/switch.component.mjs +11 -1
- package/esm2022/tabs/lib/tab-item.component.mjs +24 -1
- package/esm2022/tabs/lib/tabs.component.mjs +36 -1
- package/esm2022/tag/lib/tag.component.mjs +2 -1
- package/esm2022/text-area/lib/text-area.component.mjs +8 -1
- package/esm2022/text-box/lib/text-box.component.mjs +13 -1
- package/esm2022/toast/lib/toast.component.mjs +6 -1
- package/esm2022/tooltip/lib/tooltip.component.mjs +5 -1
- package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +16 -1
- package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +5 -1
- package/esm2022/uploader/lib/uploader-list.component.mjs +8 -3
- package/esm2022/uploader/lib/uploader.models.mjs +14 -1
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +18 -1
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +106 -36
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +9 -1
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +4 -1
- package/fesm2022/acorex-components-action-sheet.mjs +20 -0
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +47 -2
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +42 -0
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +20 -1
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +8 -0
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +13 -0
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +13 -0
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +47 -0
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +105 -0
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +156 -0
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +33 -0
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +13 -0
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +68 -0
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +90 -0
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +22 -1
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +140 -0
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +35 -0
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +44 -0
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +372 -0
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +62 -0
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +32 -0
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +18 -1
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +49 -1
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +50 -0
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +4 -0
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +10 -0
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +51 -1
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +22 -0
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +14 -0
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +58 -0
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +1 -0
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -0
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +12 -0
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +5 -0
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +4 -0
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +39 -2
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +134 -35
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +31 -31
- package/scheduler/lib/scheduler-month-view.component.d.ts +20 -0
- package/scheduler/lib/scheduler-week-view.component.d.ts +4 -0
- package/scheduler/lib/scheduler.component.d.ts +10 -0
- package/search-box/lib/search-box.component.d.ts +19 -1
- package/select-box/lib/select-box.component.d.ts +78 -1
- package/selection-list/lib/selection-list.component.d.ts +55 -0
- package/side-menu/lib/side-menu.component.d.ts +4 -0
- package/skeleton/lib/skeleton.component.d.ts +10 -0
- package/slider/lib/slider.component.d.ts +51 -1
- package/step-wizard/lib/step-wizard.component.d.ts +23 -0
- package/switch/lib/switch-content.component.d.ts +4 -0
- package/switch/lib/switch.component.d.ts +14 -0
- package/tabs/lib/tab-item.component.d.ts +32 -0
- package/tabs/lib/tabs.component.d.ts +42 -0
- package/tag/lib/tag.component.d.ts +4 -0
- package/text-area/lib/text-area.component.d.ts +13 -0
- package/text-box/lib/text-box.component.d.ts +27 -0
- package/toast/lib/toast.component.d.ts +6 -0
- package/tooltip/lib/tooltip.component.d.ts +13 -0
- package/uploader/lib/uploader-dialog-container.component.d.ts +15 -0
- package/uploader/lib/uploader-drop-zone.component.d.ts +4 -0
- package/uploader/lib/uploader-list.component.d.ts +5 -0
- package/uploader/lib/uploader.models.d.ts +4 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +19 -3
- package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +61 -20
- package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +4 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +3 -0
|
@@ -8,43 +8,157 @@ declare const AXCalendarComponent_base: import("polytype").Polytype.ClusteredCon
|
|
|
8
8
|
ɵfac: unknown;
|
|
9
9
|
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXValueComponent<any>>;
|
|
10
10
|
}, typeof MXInteractiveComponent, typeof MXCalendarBaseComponent]>;
|
|
11
|
+
/**
|
|
12
|
+
* A calendar component that provides a customizable calendar view with various options for selection, navigation, and styling.
|
|
13
|
+
*
|
|
14
|
+
* @category Components
|
|
15
|
+
*/
|
|
11
16
|
export declare class AXCalendarComponent extends AXCalendarComponent_base {
|
|
12
17
|
get displayRange(): AXDateTimeRange;
|
|
18
|
+
/**
|
|
19
|
+
* @ignore
|
|
20
|
+
*/
|
|
13
21
|
private _setDisplayRange;
|
|
22
|
+
/**
|
|
23
|
+
* @ignore
|
|
24
|
+
*/
|
|
14
25
|
protected _today: AXDateTime;
|
|
26
|
+
/**
|
|
27
|
+
* @ignore
|
|
28
|
+
*/
|
|
15
29
|
private _viewStartDate;
|
|
30
|
+
/**
|
|
31
|
+
* @ignore
|
|
32
|
+
*/
|
|
16
33
|
private _navUserInteraction;
|
|
34
|
+
/**
|
|
35
|
+
* @ignore
|
|
36
|
+
*/
|
|
17
37
|
private _footPrint;
|
|
38
|
+
/**
|
|
39
|
+
* @ignore
|
|
40
|
+
*/
|
|
18
41
|
protected views: AXCalendarView[];
|
|
42
|
+
/**
|
|
43
|
+
* @ignore
|
|
44
|
+
*/
|
|
19
45
|
protected _weekdays: number[];
|
|
46
|
+
/**
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
20
49
|
private _initValues;
|
|
50
|
+
/**
|
|
51
|
+
* @ignore
|
|
52
|
+
*/
|
|
21
53
|
private _refresh;
|
|
54
|
+
/**
|
|
55
|
+
* @ignore
|
|
56
|
+
*/
|
|
22
57
|
constructor(unsubscriber: AXUnsubscriber);
|
|
58
|
+
/**
|
|
59
|
+
* @ignore
|
|
60
|
+
*/
|
|
23
61
|
protected ngOnInit(): void;
|
|
62
|
+
/**
|
|
63
|
+
* @ignore
|
|
64
|
+
*/
|
|
24
65
|
protected ngAfterViewInit(): void;
|
|
66
|
+
/**
|
|
67
|
+
* @ignore
|
|
68
|
+
*/
|
|
25
69
|
protected ngOnDestroy(): void;
|
|
26
70
|
render(): void;
|
|
71
|
+
/**
|
|
72
|
+
* @ignore
|
|
73
|
+
*/
|
|
27
74
|
protected _handlePrevClick(): void;
|
|
75
|
+
/**
|
|
76
|
+
* @ignore
|
|
77
|
+
*/
|
|
28
78
|
protected _handleNextClick(): void;
|
|
79
|
+
/**
|
|
80
|
+
* @ignore
|
|
81
|
+
*/
|
|
29
82
|
protected _handleSlotClick(e: MouseEvent, slot: AXCalendarViewSlot): void;
|
|
83
|
+
/**
|
|
84
|
+
* @ignore
|
|
85
|
+
*/
|
|
30
86
|
protected _handleNavClick(e: AXClickEvent | any, view: AXCalendarViewType): void;
|
|
31
87
|
toggleView(): void;
|
|
88
|
+
/**
|
|
89
|
+
* @ignore
|
|
90
|
+
*/
|
|
32
91
|
protected internalOptionChanged(e: MXComponentOptionChanged): void;
|
|
92
|
+
/**
|
|
93
|
+
* @ignore
|
|
94
|
+
*/
|
|
33
95
|
protected internalSetValue(value: Date): Date | null;
|
|
96
|
+
/**
|
|
97
|
+
* @ignore
|
|
98
|
+
*/
|
|
34
99
|
protected internalValueChanged(value?: Date): void;
|
|
100
|
+
/**
|
|
101
|
+
* @ignore
|
|
102
|
+
*/
|
|
35
103
|
protected _handleGoToday(): void;
|
|
104
|
+
/**
|
|
105
|
+
* Navigates to the next item.
|
|
106
|
+
* @ignore
|
|
107
|
+
*/
|
|
36
108
|
next(): void;
|
|
109
|
+
/**
|
|
110
|
+
* Navigates to the previous item.
|
|
111
|
+
* @ignore
|
|
112
|
+
*/
|
|
37
113
|
prev(): void;
|
|
114
|
+
/**
|
|
115
|
+
* Sets focus to the currently selected calendar slot or the first available slot.
|
|
116
|
+
* @ignore
|
|
117
|
+
*/
|
|
38
118
|
focus(): void;
|
|
119
|
+
/**
|
|
120
|
+
* @ignore
|
|
121
|
+
*/
|
|
39
122
|
private _navNextPrev;
|
|
123
|
+
/**
|
|
124
|
+
* Navigates to the current date.
|
|
125
|
+
* @ignore
|
|
126
|
+
*/
|
|
40
127
|
goToday(): void;
|
|
128
|
+
/**
|
|
129
|
+
* Navigates to a specified date and updates the view.
|
|
130
|
+
*
|
|
131
|
+
* @param date - The date to navigate to, which can be a `Date` object or an `AXDateTime` instance.
|
|
132
|
+
* @ignore
|
|
133
|
+
*/
|
|
41
134
|
navTo(date: Date | AXDateTime): void;
|
|
135
|
+
/**
|
|
136
|
+
* @ignore
|
|
137
|
+
*/
|
|
42
138
|
private get __hostClass();
|
|
139
|
+
/**
|
|
140
|
+
* @ignore
|
|
141
|
+
*/
|
|
43
142
|
private _setDate;
|
|
143
|
+
/**
|
|
144
|
+
* @ignore
|
|
145
|
+
*/
|
|
44
146
|
protected isDisabled(date: AXDateTime): boolean;
|
|
147
|
+
/**
|
|
148
|
+
* @ignore
|
|
149
|
+
*/
|
|
45
150
|
protected isHoliday(date: AXDateTime): boolean;
|
|
151
|
+
/**
|
|
152
|
+
* @ignore
|
|
153
|
+
*/
|
|
46
154
|
protected isWeekend(date: AXDateTime): boolean;
|
|
155
|
+
/**
|
|
156
|
+
* @ignore
|
|
157
|
+
*/
|
|
47
158
|
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
159
|
+
/**
|
|
160
|
+
* @ignore
|
|
161
|
+
*/
|
|
48
162
|
protected getMonthName(date: AXDateTime, style: 'short' | 'long'): string;
|
|
49
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
|
50
164
|
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; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "count": { "alias": "count"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "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"], false, never>;
|
|
@@ -1,15 +1,51 @@
|
|
|
1
1
|
import { MXValueComponent } from '@acorex/components/common';
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* A checkbox component that allows users to select or deselect an option.
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
4
9
|
export declare class AXCheckBoxComponent extends MXValueComponent<boolean | null> implements AfterViewInit {
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
5
13
|
private _labels;
|
|
14
|
+
/**
|
|
15
|
+
* Sets the checkbox to an indeterminate state.
|
|
16
|
+
*
|
|
17
|
+
* @defaultValue false
|
|
18
|
+
*/
|
|
6
19
|
indeterminate: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @ignore
|
|
22
|
+
*/
|
|
7
23
|
protected _stateIndeterminate: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* @ignore
|
|
26
|
+
*/
|
|
8
27
|
protected internalGetValue(value: unknown): boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
* Sets the checkbox state based on the provided value.
|
|
30
|
+
*
|
|
31
|
+
* @param value - `boolean` or `null`. Determines if the checkbox is checked, unchecked, or indeterminate.
|
|
32
|
+
*/
|
|
9
33
|
internalSetValue(value: boolean | null): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* @ignore
|
|
36
|
+
*/
|
|
10
37
|
protected ngOnInit(): void;
|
|
38
|
+
/**
|
|
39
|
+
* @ignore
|
|
40
|
+
*/
|
|
11
41
|
ngAfterViewInit(): void;
|
|
42
|
+
/**
|
|
43
|
+
* @ignore
|
|
44
|
+
*/
|
|
12
45
|
private _handleClick;
|
|
46
|
+
/**
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
13
49
|
protected _handleModelChange(value: boolean | null): void;
|
|
14
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
|
15
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], false, never>;
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
import { MXColorLookComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@acorex/components/common";
|
|
4
|
+
/**
|
|
5
|
+
* A component for displaying and managing a set of chips.
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
4
9
|
export declare class AXChipsComponent extends MXColorLookComponent {
|
|
10
|
+
/**
|
|
11
|
+
* The text displayed on the chips.
|
|
12
|
+
*
|
|
13
|
+
* @defaultValue ''
|
|
14
|
+
*/
|
|
5
15
|
text: import("@angular/core").ModelSignal<string>;
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
6
19
|
private get __hostClass();
|
|
7
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXChipsComponent, never>;
|
|
8
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXChipsComponent, "ax-chips", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "text": "textChange"; }, never, ["ax-prefix", "ax-suffix"], false, [{ directive: typeof i1.AXRippleDirective; inputs: {}; outputs: {}; }]>;
|
|
@@ -1,32 +1,98 @@
|
|
|
1
1
|
import { MXColorComponent } from '@acorex/components/common';
|
|
2
2
|
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export type AXProgressLook = 'linear' | 'circular';
|
|
4
5
|
/**
|
|
5
6
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
6
7
|
*
|
|
7
8
|
* @category Components
|
|
8
9
|
*/
|
|
9
|
-
export type AXProgressLook = 'linear' | 'circular';
|
|
10
10
|
export declare class AXCircularProgressComponent extends MXColorComponent implements AfterViewInit {
|
|
11
|
+
/**
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
11
14
|
circle: ElementRef;
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
12
18
|
strokeDashoffset: number;
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
13
22
|
circumference: number;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
14
26
|
normalizedRadius: number;
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
15
30
|
ngAfterViewInit(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Emits when the value of the circular progress changes.
|
|
33
|
+
*
|
|
34
|
+
* @event
|
|
35
|
+
*/
|
|
16
36
|
ValueChange: EventEmitter<number>;
|
|
37
|
+
/**
|
|
38
|
+
* @ignore
|
|
39
|
+
*/
|
|
17
40
|
private _progress;
|
|
41
|
+
/**
|
|
42
|
+
* Defines the current progress of the circular progress component.
|
|
43
|
+
*
|
|
44
|
+
* @param v - The percentage value to set for the progress.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
18
47
|
get progress(): number;
|
|
19
48
|
set progress(v: number);
|
|
49
|
+
/**
|
|
50
|
+
* Emitted when the stroke width of the circular progress component changes.
|
|
51
|
+
*
|
|
52
|
+
* @event
|
|
53
|
+
*/
|
|
20
54
|
strokeChange: EventEmitter<number>;
|
|
55
|
+
/**
|
|
56
|
+
* @ignore
|
|
57
|
+
*/
|
|
21
58
|
private _stroke;
|
|
59
|
+
/**
|
|
60
|
+
* Defines the stroke width of the circular progress component.
|
|
61
|
+
*
|
|
62
|
+
* @param v - The stroke width to be set for the circular progress component.
|
|
63
|
+
*/
|
|
22
64
|
get stroke(): number;
|
|
23
65
|
set stroke(v: number);
|
|
66
|
+
/**
|
|
67
|
+
* Emits when the size of the circular progress component changes.
|
|
68
|
+
*
|
|
69
|
+
* @event
|
|
70
|
+
*/
|
|
24
71
|
sizeChange: EventEmitter<number>;
|
|
72
|
+
/**
|
|
73
|
+
* @ignore
|
|
74
|
+
*/
|
|
25
75
|
private _size;
|
|
76
|
+
/**
|
|
77
|
+
* Defines the size of the circular progress component.
|
|
78
|
+
*
|
|
79
|
+
* @param v - The new size value for the circular progress component.
|
|
80
|
+
*/
|
|
26
81
|
get size(): number;
|
|
27
82
|
set size(v: number);
|
|
83
|
+
/**
|
|
84
|
+
* @ignore
|
|
85
|
+
*/
|
|
28
86
|
private get __hostClass();
|
|
87
|
+
/**
|
|
88
|
+
* Updates the circular progress size based on `size` and `stroke`.
|
|
89
|
+
* @ignore
|
|
90
|
+
*/
|
|
29
91
|
setCircularSize(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Updates the circular progress display based on the current `progress` value.
|
|
94
|
+
* @ignore
|
|
95
|
+
*/
|
|
30
96
|
updateProgress(): void;
|
|
31
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCircularProgressComponent, never>;
|
|
32
98
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCircularProgressComponent, "ax-circular-progress", never, { "color": { "alias": "color"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "ValueChange": "ValueChange"; "strokeChange": "strokeChange"; "sizeChange": "sizeChange"; }, never, ["ax-prefix", "*", "ax-suffix"], false, never>;
|
|
@@ -2,15 +2,35 @@ import { MXBaseComponent, MXLookComponent } from '@acorex/components/common';
|
|
|
2
2
|
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
declare const AXCollapseGroupComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXBaseComponent, typeof MXLookComponent]>;
|
|
5
|
+
/**
|
|
6
|
+
* Container for collapsible items with configurable styling.
|
|
7
|
+
*
|
|
8
|
+
* @category Components
|
|
9
|
+
*/
|
|
5
10
|
export declare class AXCollapseGroupComponent extends AXCollapseGroupComponent_base implements AfterViewInit, OnDestroy {
|
|
11
|
+
/**
|
|
12
|
+
* Emitted when the accordion state changes.
|
|
13
|
+
*
|
|
14
|
+
* @event
|
|
15
|
+
*/
|
|
6
16
|
accordionChange: EventEmitter<boolean>;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
7
20
|
private _accordion?;
|
|
8
21
|
/**
|
|
9
22
|
* Enables accordion behavior, allowing only one collapsible item to be expanded at a time
|
|
10
23
|
*/
|
|
11
24
|
get accordion(): boolean | undefined;
|
|
12
25
|
set accordion(value: boolean);
|
|
26
|
+
/**
|
|
27
|
+
* Emits when the active index changes.
|
|
28
|
+
* @event
|
|
29
|
+
*/
|
|
13
30
|
activeIndexChange: EventEmitter<number>;
|
|
31
|
+
/**
|
|
32
|
+
* @ignore
|
|
33
|
+
*/
|
|
14
34
|
private _activeIndex;
|
|
15
35
|
/**
|
|
16
36
|
* Index of the currently active item within the group
|
|
@@ -18,11 +38,29 @@ export declare class AXCollapseGroupComponent extends AXCollapseGroupComponent_b
|
|
|
18
38
|
get activeIndex(): number;
|
|
19
39
|
set activeIndex(value: number);
|
|
20
40
|
private _items;
|
|
41
|
+
/**
|
|
42
|
+
* @ignore
|
|
43
|
+
*/
|
|
21
44
|
private _subs;
|
|
45
|
+
/**
|
|
46
|
+
* @ignore
|
|
47
|
+
*/
|
|
22
48
|
ngAfterViewInit(): void;
|
|
49
|
+
/**
|
|
50
|
+
* @ignore
|
|
51
|
+
*/
|
|
23
52
|
private applyAccordion;
|
|
53
|
+
/**
|
|
54
|
+
* @ignore
|
|
55
|
+
*/
|
|
24
56
|
private removeAccordion;
|
|
57
|
+
/**
|
|
58
|
+
* @ignore
|
|
59
|
+
*/
|
|
25
60
|
ngOnDestroy(): void;
|
|
61
|
+
/**
|
|
62
|
+
* @ignore
|
|
63
|
+
*/
|
|
26
64
|
private get __hostClass();
|
|
27
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseGroupComponent, never>;
|
|
28
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseGroupComponent, "ax-collapse-group", never, { "look": { "alias": "look"; "required": false; }; "accordion": { "alias": "accordion"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, { "accordionChange": "accordionChange"; "activeIndexChange": "activeIndexChange"; }, ["_items"], ["ax-collapse"], false, never>;
|
|
@@ -5,40 +5,95 @@ export declare class AXCollapseClickEvent extends AXClickEvent {
|
|
|
5
5
|
handled: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare const AXCollapseComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXLookComponent]>;
|
|
8
|
+
/**
|
|
9
|
+
* A component that provides a collapsible section with animated transitions.
|
|
10
|
+
*
|
|
11
|
+
* @category Components
|
|
12
|
+
*/
|
|
8
13
|
export declare class AXCollapseComponent extends AXCollapseComponent_base {
|
|
9
14
|
private parent?;
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
10
18
|
constructor(parent?: MXLookableComponent);
|
|
11
19
|
/**
|
|
12
20
|
* Fires each time the user clicks the panel header.
|
|
13
21
|
* @event
|
|
14
22
|
*/
|
|
15
23
|
onClick: EventEmitter<AXCollapseClickEvent>;
|
|
24
|
+
/**
|
|
25
|
+
* Fires an event when the collapse state changes.
|
|
26
|
+
*
|
|
27
|
+
* @event
|
|
28
|
+
*/
|
|
16
29
|
isCollapsedChange: EventEmitter<any>;
|
|
30
|
+
/**
|
|
31
|
+
* @ignore
|
|
32
|
+
*/
|
|
17
33
|
private _isCollapsed;
|
|
18
34
|
/**
|
|
19
35
|
* Providing a boolean value for its collapse state
|
|
20
36
|
*/
|
|
21
37
|
get isCollapsed(): boolean;
|
|
22
38
|
set isCollapsed(v: boolean);
|
|
39
|
+
/**
|
|
40
|
+
* @ignore
|
|
41
|
+
*/
|
|
23
42
|
private _showHeader;
|
|
24
43
|
/**
|
|
25
44
|
* Providing a boolean value for show or hide header
|
|
26
45
|
*/
|
|
27
46
|
get showHeader(): boolean;
|
|
28
47
|
set showHeader(v: boolean);
|
|
48
|
+
/**
|
|
49
|
+
* Sets the caption for the collapse component.
|
|
50
|
+
*
|
|
51
|
+
* @defaultValue ''
|
|
52
|
+
*/
|
|
29
53
|
caption: string;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies the icon to display in the collapse component.
|
|
56
|
+
*
|
|
57
|
+
* @defaultValue ''
|
|
58
|
+
*/
|
|
30
59
|
icon: string;
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
31
63
|
private _isLoading;
|
|
32
64
|
/**
|
|
33
65
|
* Providing a boolean value for its collapse state
|
|
34
66
|
*/
|
|
35
67
|
get isLoading(): boolean;
|
|
36
68
|
set isLoading(v: boolean);
|
|
69
|
+
/**
|
|
70
|
+
* Template used for the collapse component's header.
|
|
71
|
+
*/
|
|
37
72
|
headerTemplate: TemplateRef<any>;
|
|
73
|
+
/**
|
|
74
|
+
* Handles header clicks, emitting a click event and toggling collapse state if not handled.
|
|
75
|
+
*
|
|
76
|
+
* @param e - The native mouse event.
|
|
77
|
+
*/
|
|
38
78
|
handleHeaderClick(e: MouseEvent): void;
|
|
79
|
+
/**
|
|
80
|
+
* Expands the collapse component.
|
|
81
|
+
* @ignore
|
|
82
|
+
*/
|
|
39
83
|
open(): void;
|
|
84
|
+
/**
|
|
85
|
+
* Collapses the collapse component.
|
|
86
|
+
* @ignore
|
|
87
|
+
*/
|
|
40
88
|
close(): void;
|
|
89
|
+
/**
|
|
90
|
+
* Toggles the collapse state between expanded and collapsed.
|
|
91
|
+
* @ignore
|
|
92
|
+
*/
|
|
41
93
|
toggle(): void;
|
|
94
|
+
/**
|
|
95
|
+
* @ignore
|
|
96
|
+
*/
|
|
42
97
|
get __hostClass(): string[];
|
|
43
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseComponent, [{ optional: true; host: true; }]>;
|
|
44
99
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseComponent, "ax-collapse", never, { "disabled": { "alias": "disabled"; "required": false; }; "look": { "alias": "look"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; }, { "onClick": "onClick"; "isCollapsedChange": "isCollapsedChange"; }, never, ["*"], false, never>;
|
|
@@ -8,18 +8,45 @@ declare const AXColorBoxComponent_base: import("polytype").Polytype.ClusteredCon
|
|
|
8
8
|
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
|
9
9
|
}, typeof MXColorLookComponent]>;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* A color box component that handles color selection and triggers relevant events.
|
|
12
12
|
*
|
|
13
13
|
* @category Components
|
|
14
14
|
*/
|
|
15
15
|
export declare class AXColorBoxComponent extends AXColorBoxComponent_base {
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
16
19
|
protected picker: AXColorPalleteComponent;
|
|
20
|
+
/**
|
|
21
|
+
* @ignore
|
|
22
|
+
*/
|
|
17
23
|
protected dropdown: AXDropdownBoxComponent;
|
|
24
|
+
/**
|
|
25
|
+
* @ignore
|
|
26
|
+
*/
|
|
18
27
|
protected _handleModelChange(value: string | null): void;
|
|
28
|
+
/**
|
|
29
|
+
* @ignore
|
|
30
|
+
*/
|
|
19
31
|
protected _handleArrowClickEvent(e: MouseEvent): void;
|
|
32
|
+
/**
|
|
33
|
+
* @ignore
|
|
34
|
+
*/
|
|
20
35
|
protected _handleInputClickEvent(e: MouseEvent): void;
|
|
36
|
+
/**
|
|
37
|
+
* @ignore
|
|
38
|
+
*/
|
|
21
39
|
protected _handleOnOpenedEvent(e: AXEvent): void;
|
|
40
|
+
/**
|
|
41
|
+
* @ignore
|
|
42
|
+
*/
|
|
22
43
|
protected _handleOnClosedEvent(e: AXEvent): void;
|
|
44
|
+
/**
|
|
45
|
+
* Handles changes to the internal value.
|
|
46
|
+
*
|
|
47
|
+
* @param value - The new value of the component.
|
|
48
|
+
* @ignore
|
|
49
|
+
*/
|
|
23
50
|
internalValueChanged(value?: Date): void;
|
|
24
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorBoxComponent, never>;
|
|
25
52
|
static ɵcmp: i0.ɵɵ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; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], false, never>;
|
|
@@ -4,21 +4,56 @@ import { AXUnsubscriber } from '@acorex/core/utils';
|
|
|
4
4
|
import { AfterViewInit } from '@angular/core';
|
|
5
5
|
import { AXColorPaletteParentComponent } from './color-palette.class';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Component for selecting colors from a palette.
|
|
9
|
+
*
|
|
10
|
+
* @category Components
|
|
11
|
+
*/
|
|
7
12
|
export declare class AXColorPaletteInputComponent extends MXBaseComponent implements AfterViewInit {
|
|
8
13
|
_parent: AXColorPaletteParentComponent;
|
|
9
14
|
private _unsubscriber;
|
|
10
15
|
isValid: boolean;
|
|
11
16
|
_rgba: any;
|
|
12
17
|
_hex: string;
|
|
18
|
+
/**
|
|
19
|
+
* @ignore
|
|
20
|
+
*/
|
|
13
21
|
protected _colorMode: 'hex' | 'rgba';
|
|
22
|
+
/**
|
|
23
|
+
* @ignore
|
|
24
|
+
*/
|
|
14
25
|
protected _hexMaskOptions: AXMaskOptions;
|
|
26
|
+
/**
|
|
27
|
+
* @ignore
|
|
28
|
+
*/
|
|
15
29
|
constructor(_parent: AXColorPaletteParentComponent, _unsubscriber: AXUnsubscriber);
|
|
30
|
+
/**
|
|
31
|
+
* @ignore
|
|
32
|
+
*/
|
|
16
33
|
private applyParent;
|
|
34
|
+
/**
|
|
35
|
+
* @ignore
|
|
36
|
+
*/
|
|
17
37
|
ngAfterViewInit(): void;
|
|
38
|
+
/**
|
|
39
|
+
* @ignore
|
|
40
|
+
*/
|
|
18
41
|
_handleChangeInputMode(): void;
|
|
42
|
+
/**
|
|
43
|
+
* @ignore
|
|
44
|
+
*/
|
|
19
45
|
_handleRGBAValueChanged(e: AXValueChangedEvent<number>): void;
|
|
46
|
+
/**
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
20
49
|
protected _handleHEXAValueChanged(e: AXValueChangedEvent<string>): void;
|
|
50
|
+
/**
|
|
51
|
+
* @ignore
|
|
52
|
+
*/
|
|
21
53
|
private checkValid;
|
|
54
|
+
/**
|
|
55
|
+
* @ignore
|
|
56
|
+
*/
|
|
22
57
|
private get __hostClass();
|
|
23
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteInputComponent, never>;
|
|
24
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPaletteInputComponent, "ax-color-palette-input", never, {}, {}, never, never, false, never>;
|
|
@@ -2,6 +2,11 @@ import { AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common'
|
|
|
2
2
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
3
3
|
import { AXColorPaletteParentComponent } from './color-palette.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Component for picking colors from a color palette.
|
|
7
|
+
*
|
|
8
|
+
* @category Components
|
|
9
|
+
*/
|
|
5
10
|
export declare class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
6
11
|
_parent: AXColorPaletteParentComponent;
|
|
7
12
|
private _unsubscriber;
|
|
@@ -11,24 +16,72 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
|
11
16
|
b: number;
|
|
12
17
|
a: number;
|
|
13
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
14
22
|
protected _gradient: number;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
15
26
|
protected _bgColor: string;
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
16
30
|
private readonly _gradientColors;
|
|
31
|
+
/**
|
|
32
|
+
* @ignore
|
|
33
|
+
*/
|
|
17
34
|
private readonly _gradients;
|
|
35
|
+
/**
|
|
36
|
+
* @ignore
|
|
37
|
+
*/
|
|
18
38
|
private readonly _colors;
|
|
39
|
+
/**
|
|
40
|
+
* @ignore
|
|
41
|
+
*/
|
|
19
42
|
protected dragPosition: {
|
|
20
43
|
x: number;
|
|
21
44
|
y: number;
|
|
22
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
23
49
|
constructor(_parent: AXColorPaletteParentComponent, _unsubscriber: AXUnsubscriber);
|
|
50
|
+
/**
|
|
51
|
+
* @ignore
|
|
52
|
+
*/
|
|
24
53
|
private setHSV;
|
|
54
|
+
/**
|
|
55
|
+
* @ignore
|
|
56
|
+
*/
|
|
25
57
|
private _handleParentColorChanged;
|
|
58
|
+
/**
|
|
59
|
+
* @ignore
|
|
60
|
+
*/
|
|
26
61
|
protected _handleAlphaChanged(e: AXValueChangedEvent<number>): void;
|
|
62
|
+
/**
|
|
63
|
+
* @ignore
|
|
64
|
+
*/
|
|
27
65
|
protected _handleGradientChanged(e: AXValueChangedEvent<number>): void;
|
|
66
|
+
/**
|
|
67
|
+
* @ignore
|
|
68
|
+
*/
|
|
28
69
|
protected _handleSurfaceClick(e: MouseEvent): void;
|
|
70
|
+
/**
|
|
71
|
+
* @ignore
|
|
72
|
+
*/
|
|
29
73
|
protected _handleDrag(): void;
|
|
74
|
+
/**
|
|
75
|
+
* @ignore
|
|
76
|
+
*/
|
|
30
77
|
private setColorByXY;
|
|
78
|
+
/**
|
|
79
|
+
* @ignore
|
|
80
|
+
*/
|
|
31
81
|
private setPointerByPercent;
|
|
82
|
+
/**
|
|
83
|
+
* @ignore
|
|
84
|
+
*/
|
|
32
85
|
private get __hostClass();
|
|
33
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePickerComponent, never>;
|
|
34
87
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalettePickerComponent, "ax-color-palette-picker", never, {}, {}, never, never, false, never>;
|