@acorex/components 5.0.47 → 5.0.50
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/esm2020/lib/base/mixin/mixin.class.mjs +2 -2
- package/esm2020/lib/base/mixin/value-mixin.class.mjs +1 -1
- package/esm2020/lib/calendar/calendar.class.mjs +19 -2
- package/esm2020/lib/calendar/calendar.component.mjs +24 -23
- package/esm2020/lib/datepicker/datepicker.component.mjs +8 -6
- package/esm2020/lib/decorators/content.component.mjs +1 -1
- package/esm2020/lib/label/label.component.mjs +8 -5
- package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
- package/esm2020/lib/tabs/tab-item.component.mjs +45 -28
- package/esm2020/lib/tabs/tabs.class.mjs +1 -1
- package/esm2020/lib/tabs/tabs.component.mjs +25 -12
- package/fesm2015/acorex-components.mjs +119 -69
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +119 -69
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/mixin/mixin.class.d.ts +1 -28
- package/lib/calendar/calendar.class.d.ts +4 -0
- package/lib/calendar/calendar.component.d.ts +4 -4
- package/lib/datepicker/datepicker.component.d.ts +2 -33
- package/lib/label/label.component.d.ts +2 -1
- package/lib/tabs/tab-item.component.d.ts +39 -6
- package/lib/tabs/tabs.class.d.ts +2 -2
- package/lib/tabs/tabs.component.d.ts +6 -3
- package/package.json +1 -1
|
@@ -143,34 +143,7 @@ export declare const AXInteractiveComponenetMixin: {
|
|
|
143
143
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
144
144
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
145
145
|
}) & typeof AXBaseComponent;
|
|
146
|
-
export declare const AXBaseClickableMixin: {
|
|
147
|
-
new (...args: any[]): {
|
|
148
|
-
size: import("./base-components.class").AXElementSize;
|
|
149
|
-
_onInternalInit(): void;
|
|
150
|
-
id: string;
|
|
151
|
-
rtl: boolean;
|
|
152
|
-
cssClass: string;
|
|
153
|
-
cssStyle: string;
|
|
154
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
155
|
-
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
156
|
-
_isInited: boolean;
|
|
157
|
-
_isRendered: boolean;
|
|
158
|
-
ngOnInit(): void;
|
|
159
|
-
ngAfterViewInit(): void;
|
|
160
|
-
ngOnDestroy(): void;
|
|
161
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
162
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
163
|
-
_onInternalViewInit(): void;
|
|
164
|
-
_onInternalDestroy(): void;
|
|
165
|
-
onInit(): void;
|
|
166
|
-
onRenderCssClass(): void;
|
|
167
|
-
onViewInit(): void;
|
|
168
|
-
onDestroy(): void;
|
|
169
|
-
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
170
|
-
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
171
|
-
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
172
|
-
};
|
|
173
|
-
} & (abstract new (...args: any[]) => {
|
|
146
|
+
export declare const AXBaseClickableMixin: (abstract new (...args: any[]) => {
|
|
174
147
|
"__#3@#disabled": boolean;
|
|
175
148
|
disabled: boolean;
|
|
176
149
|
"__#3@#tabIndex": number;
|
|
@@ -11,6 +11,10 @@ export declare class AXCalendarBaseComponent extends AXBaseComponent {
|
|
|
11
11
|
private _activeView;
|
|
12
12
|
get activeView(): AXCalendarViewType;
|
|
13
13
|
set activeView(v: AXCalendarViewType);
|
|
14
|
+
typeChange: EventEmitter<string>;
|
|
15
|
+
private _type;
|
|
16
|
+
get type(): string;
|
|
17
|
+
set type(v: string);
|
|
14
18
|
depthChange: EventEmitter<AXCalendarViewDepth>;
|
|
15
19
|
private _depth;
|
|
16
20
|
get depth(): AXCalendarViewDepth;
|
|
@@ -6,9 +6,6 @@ export declare const AXCalendarComponentMixin: any;
|
|
|
6
6
|
export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
7
7
|
private cdr;
|
|
8
8
|
private get _viewRange();
|
|
9
|
-
private _type;
|
|
10
|
-
get type(): string;
|
|
11
|
-
set type(v: string);
|
|
12
9
|
_today: AXDateTime;
|
|
13
10
|
private _viewStartDate;
|
|
14
11
|
_navText: string;
|
|
@@ -17,6 +14,8 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
17
14
|
_dayNames: string[];
|
|
18
15
|
onSlotClick: EventEmitter<AXItemClickEvent<Date>>;
|
|
19
16
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
17
|
+
private _initValues;
|
|
18
|
+
private _refresh;
|
|
20
19
|
onInit(): void;
|
|
21
20
|
private _genearteSlots;
|
|
22
21
|
_handlePrevClick(e: AXClickEvent): void;
|
|
@@ -33,9 +32,10 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
33
32
|
goToday(): void;
|
|
34
33
|
navTo(date: Date | AXDateTime): void;
|
|
35
34
|
private get __hostClass();
|
|
35
|
+
private _setDate;
|
|
36
36
|
private isDisabled;
|
|
37
37
|
private isHoliday;
|
|
38
38
|
private isWeekend;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "disabled": "disabled"; "tabIndex": "tabIndex"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "disabled": "disabled"; "tabIndex": "tabIndex"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "type": "type"; "holidayDates": "holidayDates"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "onSlotClick": "onSlotClick"; }, never, never>;
|
|
41
41
|
}
|
|
@@ -124,38 +124,6 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
124
124
|
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
125
125
|
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
126
126
|
};
|
|
127
|
-
} & {
|
|
128
|
-
new (...args: any[]): {
|
|
129
|
-
type: string;
|
|
130
|
-
placeholder: string;
|
|
131
|
-
maxLength: number;
|
|
132
|
-
autoComplete: string;
|
|
133
|
-
onKeyDown: EventEmitter<import("../base").AXHtmlEvent<KeyboardEvent>>;
|
|
134
|
-
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
135
|
-
id: string;
|
|
136
|
-
rtl: boolean;
|
|
137
|
-
cssClass: string;
|
|
138
|
-
cssStyle: string;
|
|
139
|
-
"__#1@#elementRef": ElementRef<any>;
|
|
140
|
-
_cdr: ChangeDetectorRef;
|
|
141
|
-
_isInited: boolean;
|
|
142
|
-
_isRendered: boolean;
|
|
143
|
-
ngOnInit(): void;
|
|
144
|
-
ngAfterViewInit(): void;
|
|
145
|
-
ngOnDestroy(): void;
|
|
146
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
147
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
148
|
-
_onInternalInit(): void;
|
|
149
|
-
_onInternalViewInit(): void;
|
|
150
|
-
_onInternalDestroy(): void;
|
|
151
|
-
onInit(): void;
|
|
152
|
-
onRenderCssClass(): void;
|
|
153
|
-
onViewInit(): void;
|
|
154
|
-
onDestroy(): void;
|
|
155
|
-
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
156
|
-
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
157
|
-
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
158
|
-
};
|
|
159
127
|
} & typeof AXCalendarBaseComponent;
|
|
160
128
|
export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
161
129
|
private _platform;
|
|
@@ -172,6 +140,7 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
172
140
|
private _format;
|
|
173
141
|
get format(): string;
|
|
174
142
|
set format(v: string);
|
|
143
|
+
placeholder: string;
|
|
175
144
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _platform: AXPlatform);
|
|
176
145
|
onViewInit(): void;
|
|
177
146
|
_handleArrowClickEvent(e: AXClickEvent): void;
|
|
@@ -180,5 +149,5 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
180
149
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
181
150
|
private _highlightPart;
|
|
182
151
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
|
183
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "format": "format"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "depthChange": "depthChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
152
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "format": "format"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "depthChange": "depthChange"; "typeChange": "typeChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
184
153
|
}
|
|
@@ -2,10 +2,11 @@ import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
|
2
2
|
import { AXBaseComponentMixin } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXLabelComponent extends AXBaseComponentMixin {
|
|
5
|
+
class: any;
|
|
5
6
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
7
|
private _target;
|
|
7
8
|
get target(): string;
|
|
8
9
|
set target(v: string);
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLabelComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXLabelComponent, "ax-label", never, {}, {}, never, ["*"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXLabelComponent, "ax-label", never, { "class": "class"; }, {}, never, ["*"]>;
|
|
11
12
|
}
|
|
@@ -1,18 +1,51 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef, TemplateRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AXBaseComponent, AXComponentOptionChanged } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare
|
|
4
|
+
export declare const AXBaseTabItemMixin: {
|
|
5
|
+
new (...args: any[]): {
|
|
6
|
+
onClick: EventEmitter<import("../base").AXClickEvent>;
|
|
7
|
+
_emitOnClickEvent(e: MouseEvent): void;
|
|
8
|
+
id: string;
|
|
9
|
+
rtl: boolean;
|
|
10
|
+
cssClass: string;
|
|
11
|
+
cssStyle: string;
|
|
12
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
13
|
+
_cdr: ChangeDetectorRef;
|
|
14
|
+
_isInited: boolean;
|
|
15
|
+
_isRendered: boolean;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
20
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
21
|
+
_onInternalInit(): void;
|
|
22
|
+
_onInternalViewInit(): void;
|
|
23
|
+
_onInternalDestroy(): void;
|
|
24
|
+
onInit(): void;
|
|
25
|
+
onRenderCssClass(): void;
|
|
26
|
+
onViewInit(): void;
|
|
27
|
+
onDestroy(): void;
|
|
28
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
29
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
30
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
31
|
+
};
|
|
32
|
+
} & typeof AXBaseComponent;
|
|
33
|
+
export declare class AXTabItemComponent extends AXBaseTabItemMixin {
|
|
5
34
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
35
|
text: string;
|
|
7
|
-
|
|
8
|
-
width: boolean;
|
|
36
|
+
key: string;
|
|
9
37
|
template: TemplateRef<any>;
|
|
10
38
|
headerTemplate: TemplateRef<any>;
|
|
11
39
|
activeChange: EventEmitter<boolean>;
|
|
12
40
|
private _active;
|
|
13
41
|
get active(): boolean;
|
|
14
|
-
set active(
|
|
42
|
+
set active(value: boolean);
|
|
43
|
+
disabledChange: EventEmitter<boolean>;
|
|
44
|
+
private _disabled;
|
|
45
|
+
get disabled(): boolean;
|
|
46
|
+
set disabled(value: boolean);
|
|
15
47
|
private __hostClick;
|
|
48
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
16
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabItemComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": "text"; "
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": "text"; "key": "key"; "active": "active"; "disabled": "disabled"; }, { "activeChange": "activeChange"; "disabledChange": "disabledChange"; }, ["headerTemplate"], ["ax-prefix", "ax-suffix", "ax-content"]>;
|
|
18
51
|
}
|
package/lib/tabs/tabs.class.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXEvent } from "../base";
|
|
2
2
|
import { AXTabItemComponent } from "./tab-item.component";
|
|
3
3
|
export declare class AXTabStripChangedEvent extends AXEvent {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
tab: AXTabItemComponent;
|
|
5
|
+
index: number;
|
|
6
6
|
}
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef,
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { AXTabStripChangedEvent } from './tabs.class';
|
|
3
3
|
import { AXBaseComponent } from '../base';
|
|
4
4
|
import { AXTabItemComponent } from './tab-item.component';
|
|
5
5
|
import { AXTabContentDirective } from './tab-content.directive';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AXTabsComponent extends AXBaseComponent {
|
|
8
|
-
_contentTabs
|
|
8
|
+
private _contentTabs;
|
|
9
9
|
fitParent: boolean;
|
|
10
10
|
minWidth: boolean;
|
|
11
11
|
content: AXTabContentDirective;
|
|
12
12
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
13
13
|
private _isUserInteraction;
|
|
14
|
+
get items(): AXTabItemComponent[];
|
|
15
|
+
get selectedIndex(): number;
|
|
16
|
+
get selectedItem(): AXTabItemComponent;
|
|
14
17
|
onActiveTabChanged: EventEmitter<AXTabStripChangedEvent>;
|
|
15
18
|
onRenderCssClass(): void;
|
|
16
19
|
onViewInit(): void;
|
|
17
|
-
|
|
20
|
+
select(tab: number | AXTabItemComponent): void;
|
|
18
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabsComponent, never>;
|
|
19
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "fitParent": "fitParent"; "minWidth": "minWidth"; "content": "content"; }, { "onActiveTabChanged": "onActiveTabChanged"; }, ["_contentTabs"], ["ax-tab-item"]>;
|
|
20
23
|
}
|