@acorex/components 20.7.35 → 20.7.36
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/button/index.d.ts +2 -8
- package/data-table/index.d.ts +14 -14
- package/datetime-box/index.d.ts +62 -4
- package/fesm2022/acorex-components-button.mjs +9 -10
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +2 -2
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +19 -19
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +137 -9
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +6 -13
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +2 -2
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +1 -1
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +1 -1
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +5 -5
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +1 -1
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/package.json +10 -10
package/button/index.d.ts
CHANGED
|
@@ -266,15 +266,9 @@ declare class AXButtonComponent extends MXButtonBaseComponent implements AfterVi
|
|
|
266
266
|
* @ignore
|
|
267
267
|
*/
|
|
268
268
|
private get __hostClass();
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
*
|
|
272
|
-
*/
|
|
269
|
+
protected emitOnFocusEvent(e?: FocusEvent): void;
|
|
270
|
+
protected emitOnBlurEvent(e?: FocusEvent): void;
|
|
273
271
|
focus(): void;
|
|
274
|
-
/**
|
|
275
|
-
* Removes the focus style class from the button element
|
|
276
|
-
* when the button loses focus.
|
|
277
|
-
*/
|
|
278
272
|
blur(): void;
|
|
279
273
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
|
280
274
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loadingText": { "alias": "loadingText"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; "loadingText": "loadingTextChange"; }, ["loadingIcon"], ["ax-loading, ax-loading-spinner", "ax-prefix, ax-icon", "ax-content", "ax-suffix", "ax-dropdown-panel", ".tab-content", "*"], true, never>;
|
package/data-table/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ interface onColumnSizeChangedEvent extends AXEvent {
|
|
|
34
34
|
}
|
|
35
35
|
interface AXDataTableRowDbClick extends AXDataTableRowClick {
|
|
36
36
|
}
|
|
37
|
-
type
|
|
37
|
+
type AXDataTableLook = 'classic' | 'minimal';
|
|
38
38
|
declare abstract class AXBaseDataTable extends MXBaseComponent {
|
|
39
39
|
dataSource: AXDataSource<unknown>;
|
|
40
40
|
/**
|
|
@@ -614,14 +614,14 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
|
614
614
|
*/
|
|
615
615
|
declare class AXInfiniteScrollDataTableComponent extends AXBaseDataTable implements OnInit, DoCheck {
|
|
616
616
|
/**
|
|
617
|
-
* Controls the table
|
|
617
|
+
* Controls the table look.
|
|
618
618
|
*
|
|
619
|
-
* - `
|
|
620
|
-
* - `minimal` —
|
|
619
|
+
* - `classic` — classic look (default).
|
|
620
|
+
* - `minimal` — minimal look.
|
|
621
621
|
*
|
|
622
|
-
* @defaultValue `'
|
|
622
|
+
* @defaultValue `'classic'`
|
|
623
623
|
*/
|
|
624
|
-
|
|
624
|
+
look: i0.InputSignal<AXDataTableLook>;
|
|
625
625
|
private document;
|
|
626
626
|
private platformID;
|
|
627
627
|
private ngZone;
|
|
@@ -862,7 +862,7 @@ declare class AXInfiniteScrollDataTableComponent extends AXBaseDataTable impleme
|
|
|
862
862
|
*/
|
|
863
863
|
protected _handleOnScroll(): void;
|
|
864
864
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXInfiniteScrollDataTableComponent, never>;
|
|
865
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXInfiniteScrollDataTableComponent, "ax-infinite-scroll-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "
|
|
865
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXInfiniteScrollDataTableComponent, "ax-infinite-scroll-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; }, { "selectedRowsChange": "selectedRowsChange"; "onPageChanged": "onPageChanged"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "focusedRowChange": "focusedRowChange"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, ["columns"], ["ax-header", "ax-footer"], true, never>;
|
|
866
866
|
}
|
|
867
867
|
|
|
868
868
|
/**
|
|
@@ -873,14 +873,14 @@ declare class AXInfiniteScrollDataTableComponent extends AXBaseDataTable impleme
|
|
|
873
873
|
declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, AfterViewInit {
|
|
874
874
|
#private;
|
|
875
875
|
/**
|
|
876
|
-
* Controls the table
|
|
876
|
+
* Controls the table look.
|
|
877
877
|
*
|
|
878
|
-
* - `
|
|
879
|
-
* - `minimal` —
|
|
878
|
+
* - `classic` — classic look (default).
|
|
879
|
+
* - `minimal` — minimal look.
|
|
880
880
|
*
|
|
881
|
-
* @defaultValue `'
|
|
881
|
+
* @defaultValue `'classic'`
|
|
882
882
|
*/
|
|
883
|
-
|
|
883
|
+
look: i0.InputSignal<AXDataTableLook>;
|
|
884
884
|
private _unsubscriber;
|
|
885
885
|
private _zone;
|
|
886
886
|
private document;
|
|
@@ -1260,7 +1260,7 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1260
1260
|
headerOnly?: boolean;
|
|
1261
1261
|
}): void;
|
|
1262
1262
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableComponent, never>;
|
|
1263
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "parentField": { "alias": "parentField"; "required": false; }; "hasChildrenField": { "alias": "hasChildrenField"; "required": false; }; "rowDetailsTemplate": { "alias": "rowDetailsTemplate"; "required": false; }; "
|
|
1263
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "parentField": { "alias": "parentField"; "required": false; }; "hasChildrenField": { "alias": "hasChildrenField"; "required": false; }; "rowDetailsTemplate": { "alias": "rowDetailsTemplate"; "required": false; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "noDataTemplate": { "alias": "noDataTemplate"; "required": false; }; "alternative": { "alias": "alternative"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fixedHeader": { "alias": "fixedHeader"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "fixedFooter": { "alias": "fixedFooter"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "paging": { "alias": "paging"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; }, { "selectedRowsChange": "selectedRowsChange"; "focusedRowChange": "focusedRowChange"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "onColumnsOrderChanged": "onColumnsOrderChanged"; "onColumnSizeChanged": "onColumnSizeChanged"; "onPageChanged": "onPageChanged"; }, ["customDataPager", "columns"], ["ax-header", "ax-data-pager", "ax-footer"], true, never>;
|
|
1264
1264
|
}
|
|
1265
1265
|
|
|
1266
1266
|
declare class AXDataTableModule {
|
|
@@ -1270,4 +1270,4 @@ declare class AXDataTableModule {
|
|
|
1270
1270
|
}
|
|
1271
1271
|
|
|
1272
1272
|
export { AXBaseDataTable, AXBaseRowCommandColumnComponent, AXDataTableColumnComponent, AXDataTableColumnResizableDirective, AXDataTableComponent, AXDataTableModule, AXDataTableTextColumnComponent, AXInfiniteScrollDataTableComponent, AXRowCommandColumnComponent, AXRowDropdownCommandColumnComponent, AXRowExpandColumnComponent, AXRowIndexColumnComponent, AXRowSelectColumnComponent };
|
|
1273
|
-
export type { AXColumnsOrderChangedEvent,
|
|
1273
|
+
export type { AXColumnsOrderChangedEvent, AXDataTableLook, AXDataTableRowClick, AXDataTableRowDbClick, AXDataTableScrollIndexChanged, AXRowCommandItem, AXRowCommandItemClickEvent, onColumnSizeChangedEvent };
|
package/datetime-box/index.d.ts
CHANGED
|
@@ -1,13 +1,30 @@
|
|
|
1
|
+
import * as _acorex_core_date_time from '@acorex/core/date-time';
|
|
2
|
+
import { TimeUnit } from '@acorex/core/date-time';
|
|
1
3
|
import * as polytype from 'polytype';
|
|
2
4
|
import * as _angular_core from '@angular/core';
|
|
3
5
|
import { EventEmitter } from '@angular/core';
|
|
4
|
-
import { MXInputBaseValueComponent, MXLookComponent, AXEvent, AXFocusEvent } from '@acorex/cdk/common';
|
|
6
|
+
import { MXInputBaseValueComponent, MXLookComponent, AXEvent, AXFocusEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
5
7
|
import { MXCalendarBaseComponent, AXDateTimePickerType, AXCalendarNavigationLookType, AXCalendarNavigateEvent } from '@acorex/components/calendar';
|
|
6
8
|
import { AXDateTimeInputComponent } from '@acorex/components/datetime-input';
|
|
7
9
|
import { AXDateTimePickerComponent } from '@acorex/components/datetime-picker';
|
|
8
10
|
import { AXDecoratorGenericComponent } from '@acorex/components/decorators';
|
|
9
11
|
import { MXDropdownBoxBaseComponent, AXDropdownBoxComponent } from '@acorex/components/dropdown';
|
|
10
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Controls how date/time is chosen in the datetime box.
|
|
15
|
+
* - `default`: text input with calendar popup.
|
|
16
|
+
* - `classic`: inline select boxes for year, month, day, and optionally hour/minute.
|
|
17
|
+
*/
|
|
18
|
+
type AXDateTimeBoxLookType = 'default' | 'classic';
|
|
19
|
+
type AXDateTimeBoxClassicPart = Extract<TimeUnit, 'year' | 'month' | 'day' | 'hour' | 'minute'>;
|
|
20
|
+
interface AXDateTimeBoxClassicField {
|
|
21
|
+
part: AXDateTimeBoxClassicPart;
|
|
22
|
+
dropdownWidth: string;
|
|
23
|
+
maxVisibleItems: number;
|
|
24
|
+
}
|
|
25
|
+
declare const AX_DATETIME_BOX_CLASSIC_DATE_FIELDS: AXDateTimeBoxClassicField[];
|
|
26
|
+
declare const AX_DATETIME_BOX_CLASSIC_TIME_FIELDS: AXDateTimeBoxClassicField[];
|
|
27
|
+
|
|
11
28
|
declare const AXDateTimeBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
12
29
|
new (): MXInputBaseValueComponent<Date>;
|
|
13
30
|
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
@@ -55,6 +72,12 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
|
55
72
|
* Day view navigation style of the embedded calendar.
|
|
56
73
|
*/
|
|
57
74
|
readonly calendarLook: _angular_core.InputSignal<AXCalendarNavigationLookType>;
|
|
75
|
+
/**
|
|
76
|
+
* Input style of the datetime box.
|
|
77
|
+
* - `default`: text input with calendar popup.
|
|
78
|
+
* - `classic`: inline select boxes for date/time parts.
|
|
79
|
+
*/
|
|
80
|
+
readonly boxLook: _angular_core.InputSignal<AXDateTimeBoxLookType>;
|
|
58
81
|
/**
|
|
59
82
|
* @deprecated use locale & mode instead
|
|
60
83
|
*/
|
|
@@ -62,10 +85,36 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
|
62
85
|
protected _editingDateObj: _angular_core.WritableSignal<Date>;
|
|
63
86
|
protected _calendarSystem: _angular_core.WritableSignal<string>;
|
|
64
87
|
private _format;
|
|
88
|
+
protected readonly _classicDateFields: AXDateTimeBoxClassicField[];
|
|
89
|
+
protected readonly _classicTimeFields: AXDateTimeBoxClassicField[];
|
|
90
|
+
private readonly _classicTimeOptions;
|
|
91
|
+
protected _classicDate: _angular_core.Signal<_acorex_core_date_time.AXDateTime>;
|
|
92
|
+
protected _classicYearOptions: _angular_core.Signal<{
|
|
93
|
+
id: number;
|
|
94
|
+
text: string;
|
|
95
|
+
}[]>;
|
|
96
|
+
protected _classicMonthOptions: _angular_core.Signal<{
|
|
97
|
+
id: number;
|
|
98
|
+
text: string;
|
|
99
|
+
}[]>;
|
|
100
|
+
protected _classicDayOptions: _angular_core.Signal<{
|
|
101
|
+
id: number;
|
|
102
|
+
text: string;
|
|
103
|
+
}[]>;
|
|
104
|
+
protected get _classicBoxClass(): string;
|
|
105
|
+
protected get _classicHasDatePart(): boolean;
|
|
106
|
+
protected get _classicHasTimePart(): boolean;
|
|
65
107
|
/**
|
|
66
108
|
* @ignore
|
|
67
109
|
*/
|
|
68
|
-
protected
|
|
110
|
+
protected _classicPartValue(part: AXDateTimeBoxClassicPart): number | null;
|
|
111
|
+
/**
|
|
112
|
+
* @ignore
|
|
113
|
+
*/
|
|
114
|
+
protected _classicPartOptions(part: AXDateTimeBoxClassicPart): {
|
|
115
|
+
id: number;
|
|
116
|
+
text: string;
|
|
117
|
+
}[];
|
|
69
118
|
/**
|
|
70
119
|
* @ignore
|
|
71
120
|
*/
|
|
@@ -96,13 +145,21 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
|
96
145
|
* @ignore
|
|
97
146
|
*/
|
|
98
147
|
internalValueChanged(value: any): void;
|
|
148
|
+
/**
|
|
149
|
+
* @ignore
|
|
150
|
+
*/
|
|
151
|
+
protected _handleClassicPartChanged(e: AXValueChangedEvent, part: AXDateTimeBoxClassicPart): void;
|
|
152
|
+
/**
|
|
153
|
+
* @ignore
|
|
154
|
+
*/
|
|
155
|
+
private _readSelectValue;
|
|
99
156
|
/**
|
|
100
157
|
* @ignore
|
|
101
158
|
*/
|
|
102
159
|
protected _handleInputOnClick(): void;
|
|
103
160
|
private get __hostName();
|
|
104
161
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDateTimeBoxComponent, never>;
|
|
105
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimeBoxComponent, "ax-datetime-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; }; "depth": { "alias": "depth"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "allowTyping": { "alias": "allowTyping"; "required": false; "isSignal": true; }; "picker": { "alias": "picker"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "weekdays": { "alias": "weekdays"; "required": false; "isSignal": true; }; "calendarLook": { "alias": "calendarLook"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onOpened": "onOpened"; "onClosed": "onClosed"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
|
162
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimeBoxComponent, "ax-datetime-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; }; "depth": { "alias": "depth"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "allowTyping": { "alias": "allowTyping"; "required": false; "isSignal": true; }; "picker": { "alias": "picker"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "weekdays": { "alias": "weekdays"; "required": false; "isSignal": true; }; "calendarLook": { "alias": "calendarLook"; "required": false; "isSignal": true; }; "boxLook": { "alias": "boxLook"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onOpened": "onOpened"; "onClosed": "onClosed"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix", "ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
|
106
163
|
}
|
|
107
164
|
|
|
108
165
|
declare class AXDateTimeBoxModule {
|
|
@@ -111,4 +168,5 @@ declare class AXDateTimeBoxModule {
|
|
|
111
168
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXDateTimeBoxModule>;
|
|
112
169
|
}
|
|
113
170
|
|
|
114
|
-
export { AXDateTimeBoxComponent, AXDateTimeBoxModule };
|
|
171
|
+
export { AXDateTimeBoxComponent, AXDateTimeBoxModule, AX_DATETIME_BOX_CLASSIC_DATE_FIELDS, AX_DATETIME_BOX_CLASSIC_TIME_FIELDS };
|
|
172
|
+
export type { AXDateTimeBoxClassicField, AXDateTimeBoxClassicPart, AXDateTimeBoxLookType };
|
|
@@ -456,20 +456,19 @@ class AXButtonComponent extends MXButtonBaseComponent {
|
|
|
456
456
|
}
|
|
457
457
|
return list;
|
|
458
458
|
}
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
459
|
+
emitOnFocusEvent(e) {
|
|
460
|
+
this.getButton()?.classList.add('ax-state-focus');
|
|
461
|
+
super.emitOnFocusEvent(e);
|
|
462
|
+
}
|
|
463
|
+
emitOnBlurEvent(e) {
|
|
464
|
+
this.getButton()?.classList.remove('ax-state-focus');
|
|
465
|
+
super.emitOnBlurEvent(e);
|
|
466
|
+
}
|
|
463
467
|
focus() {
|
|
464
468
|
this.getButton()?.focus();
|
|
465
|
-
this.getButton().classList.add('ax-state-focus');
|
|
466
469
|
}
|
|
467
|
-
/**
|
|
468
|
-
* Removes the focus style class from the button element
|
|
469
|
-
* when the button loses focus.
|
|
470
|
-
*/
|
|
471
470
|
blur() {
|
|
472
|
-
this.getButton()
|
|
471
|
+
this.getButton()?.blur();
|
|
473
472
|
}
|
|
474
473
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
475
474
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.3", type: AXButtonComponent, isStandalone: true, selector: "ax-button", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: null }, toggleable: { classPropertyName: "toggleable", publicName: "toggleable", isSignal: false, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: false, isRequired: false, transformFunction: null }, iconOnly: { classPropertyName: "iconOnly", publicName: "iconOnly", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, loadingText: { classPropertyName: "loadingText", publicName: "loadingText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange", lookChange: "lookChange", colorChange: "colorChange", disabledChange: "disabledChange", loadingText: "loadingTextChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|