@acorex/components 16.19.48 → 16.19.49
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/fesm2022/acorex-components.mjs +609 -230
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/auto-complete/auto-complete.component.d.ts +74 -0
- package/lib/auto-complete/auto-complete.module.d.ts +14 -0
- package/lib/calendar/calendar-box/calendar-box.component.d.ts +4 -1
- package/lib/date-picker/date-picker.component.d.ts +2 -1
- package/lib/popup/popup.component.d.ts +1 -0
- package/lib/popup/popup.service.d.ts +1 -0
- package/lib/tree-view/tree-view.component.d.ts +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -64,6 +64,8 @@ export * from './lib/menu/menu2.component';
|
|
|
64
64
|
export * from './lib/menu/menu.module';
|
|
65
65
|
export * from './lib/side-menu/side-menu.component';
|
|
66
66
|
export * from './lib/side-menu/side-menu.module';
|
|
67
|
+
export * from './lib/auto-complete/auto-complete.component';
|
|
68
|
+
export * from './lib/auto-complete/auto-complete.module';
|
|
67
69
|
export * from './lib/number-box/number-box.component';
|
|
68
70
|
export * from './lib/number-box/number-box.module';
|
|
69
71
|
export * from './lib/page/content.component';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent, AXElementSize } from '../base/element.class';
|
|
3
|
+
import { AXValueEvent } from '../base/events.class';
|
|
4
|
+
import { AXDataSourceComponent } from '../data-source/datasource.component';
|
|
5
|
+
import { AXDataSourceReadParams } from '../data-source/read-param';
|
|
6
|
+
import { AXDropdownComponent } from '../dropdown/dropdown.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class AXAutoCompleteComponent extends AXBaseComponent implements AfterViewInit, OnDestroy {
|
|
9
|
+
#private;
|
|
10
|
+
private el;
|
|
11
|
+
constructor(el: ElementRef);
|
|
12
|
+
listContainer: ElementRef<HTMLDivElement>;
|
|
13
|
+
private searchText$;
|
|
14
|
+
private searchTextSubscription;
|
|
15
|
+
private text;
|
|
16
|
+
protected resolvedItems: import("@angular/core").WritableSignal<unknown[]>;
|
|
17
|
+
private totalCount;
|
|
18
|
+
private localShowDropdownWhenClick;
|
|
19
|
+
dropdown: AXDropdownComponent;
|
|
20
|
+
isDropdownOpen: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
showDropdownWhenClick: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
value: import("@angular/core").WritableSignal<string>;
|
|
23
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
remoteOperation: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
readonly: import("@angular/core").InputSignal<boolean>;
|
|
26
|
+
allowClear: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
showDropDownButton: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
onDemandTranslate: import("@angular/core").InputSignal<boolean>;
|
|
29
|
+
rtl: import("@angular/core").InputSignal<any>;
|
|
30
|
+
dropdownWidth: import("@angular/core").InputSignal<string>;
|
|
31
|
+
size: import("@angular/core").InputSignal<AXElementSize>;
|
|
32
|
+
multiLine: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
fitParent: import("@angular/core").InputSignal<boolean>;
|
|
34
|
+
selectedItems: import("@angular/core").ModelSignal<any>;
|
|
35
|
+
onValueChanged: import("@angular/core").OutputEmitterRef<AXValueEvent<any>>;
|
|
36
|
+
mode: import("@angular/core").InputSignal<"single" | "multiple">;
|
|
37
|
+
textAlign: import("@angular/core").InputSignal<"right" | "left">;
|
|
38
|
+
textField: import("@angular/core").InputSignal<string>;
|
|
39
|
+
valueField: import("@angular/core").InputSignal<string>;
|
|
40
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
41
|
+
showCheckBox: import("@angular/core").InputSignal<boolean>;
|
|
42
|
+
showLoading: import("@angular/core").WritableSignal<boolean>;
|
|
43
|
+
currentfocusedIndex: import("@angular/core").WritableSignal<number>;
|
|
44
|
+
disabledField: import("@angular/core").InputSignal<string>;
|
|
45
|
+
allowNull: import("@angular/core").InputSignal<boolean>;
|
|
46
|
+
bufferSize: import("@angular/core").WritableSignal<number>;
|
|
47
|
+
isDbClick: import("@angular/core").WritableSignal<boolean>;
|
|
48
|
+
disabledCallback: (e: {
|
|
49
|
+
item: any;
|
|
50
|
+
index: number;
|
|
51
|
+
}) => boolean;
|
|
52
|
+
private _contentDataSource;
|
|
53
|
+
private _dataSource;
|
|
54
|
+
get dataSource(): AXDataSourceComponent;
|
|
55
|
+
set dataSource(v: AXDataSourceComponent);
|
|
56
|
+
ngAfterViewInit(): void;
|
|
57
|
+
ngOnDestroy(): void;
|
|
58
|
+
scrolled(e: Event): void;
|
|
59
|
+
handleInputBlur(): void;
|
|
60
|
+
handleClick(): void;
|
|
61
|
+
textChange(e: any): void;
|
|
62
|
+
isItemSelected(item: any): boolean;
|
|
63
|
+
isItemDisabled(item: any): boolean;
|
|
64
|
+
fetch(params?: AXDataSourceReadParams): void;
|
|
65
|
+
private translateSearch;
|
|
66
|
+
private clickTimer;
|
|
67
|
+
handleItemClick(e: MouseEvent, item: unknown): void;
|
|
68
|
+
handleItemDbClick(e: MouseEvent, item: unknown): void;
|
|
69
|
+
private handleSelectedItemsChange;
|
|
70
|
+
handleKeyPress(e: KeyboardEvent): void;
|
|
71
|
+
private scrollToFocusedItem;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutoCompleteComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXAutoCompleteComponent, "ax-auto-complete", never, { "showDropdownWhenClick": { "alias": "showDropdownWhenClick"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "remoteOperation": { "alias": "remoteOperation"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; "isSignal": true; }; "showDropDownButton": { "alias": "showDropDownButton"; "required": false; "isSignal": true; }; "onDemandTranslate": { "alias": "onDemandTranslate"; "required": false; "isSignal": true; }; "rtl": { "alias": "rtl"; "required": false; "isSignal": true; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "multiLine": { "alias": "multiLine"; "required": false; "isSignal": true; }; "fitParent": { "alias": "fitParent"; "required": false; "isSignal": true; }; "selectedItems": { "alias": "selectedItems"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showCheckBox": { "alias": "showCheckBox"; "required": false; "isSignal": true; }; "disabledField": { "alias": "disabledField"; "required": false; "isSignal": true; }; "allowNull": { "alias": "allowNull"; "required": false; "isSignal": true; }; "disabledCallback": { "alias": "disabledCallback"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, { "selectedItems": "selectedItemsChange"; "onValueChanged": "onValueChanged"; }, ["_contentDataSource"], ["[start]", "[end]"], false, never>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./auto-complete.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../dropdown/dropdown.module";
|
|
5
|
+
import * as i4 from "../textbox/textbox.module";
|
|
6
|
+
import * as i5 from "@acorex/core";
|
|
7
|
+
import * as i6 from "../checkbox/checkbox.module";
|
|
8
|
+
import * as i7 from "../loading/loading.module";
|
|
9
|
+
import * as i8 from "../searchbox/searchbox.module";
|
|
10
|
+
export declare class AXAutoCompleteModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutoCompleteModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXAutoCompleteModule, [typeof i1.AXAutoCompleteComponent], [typeof i2.CommonModule, typeof i3.AXDropdownModule, typeof i4.AXTextBoxModule, typeof i5.AXTranslatorModule, typeof i5.AXScrollModule, typeof i6.AXCheckBoxModule, typeof i7.AXLoadingModule, typeof i8.AXSearchBoxModule], [typeof i1.AXAutoCompleteComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXAutoCompleteModule>;
|
|
14
|
+
}
|
|
@@ -17,8 +17,10 @@ export interface AXCalendarWeekend {
|
|
|
17
17
|
indexDay: number;
|
|
18
18
|
}
|
|
19
19
|
export declare class AXCalendarBoxComponent implements AXBaseSizableComponent {
|
|
20
|
+
#private;
|
|
20
21
|
private cdr;
|
|
21
22
|
private ref;
|
|
23
|
+
selectedDates: import("@angular/core").InputSignal<AXDateTime[]>;
|
|
22
24
|
weekdays: string[];
|
|
23
25
|
private d;
|
|
24
26
|
numRotate: number;
|
|
@@ -80,6 +82,7 @@ export declare class AXCalendarBoxComponent implements AXBaseSizableComponent {
|
|
|
80
82
|
setFocus(date: AXDateTime): void;
|
|
81
83
|
setToday(): void;
|
|
82
84
|
trackByFn(index: any, item: any): any;
|
|
85
|
+
updateSelectedDates(): void;
|
|
83
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarBoxComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarBoxComponent, "ax-calendar-box", never, { "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "selectableHoliday": { "alias": "selectableHoliday"; "required": false; }; "dayStyle": { "alias": "dayStyle"; "required": false; }; "dayMinMaxResoan": { "alias": "dayMinMaxResoan"; "required": false; }; "showTodayButton": { "alias": "showTodayButton"; "required": false; }; "view": { "alias": "view"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "onClick": "onClick"; "valueChange": "valueChange"; }, never, never, false, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarBoxComponent, "ax-calendar-box", never, { "selectedDates": { "alias": "selectedDates"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "selectableHoliday": { "alias": "selectableHoliday"; "required": false; }; "dayStyle": { "alias": "dayStyle"; "required": false; }; "dayMinMaxResoan": { "alias": "dayMinMaxResoan"; "required": false; }; "showTodayButton": { "alias": "showTodayButton"; "required": false; }; "view": { "alias": "view"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "onClick": "onClick"; "valueChange": "valueChange"; }, never, never, false, never>;
|
|
85
88
|
}
|
|
@@ -17,6 +17,7 @@ export declare class AXDatePickerComponent extends AXValidatableComponent implem
|
|
|
17
17
|
dropdown: AXDropdownComponent;
|
|
18
18
|
calendarRef: AXCalendarBoxComponent;
|
|
19
19
|
input: AXTextBoxComponent;
|
|
20
|
+
selectedDates: import("@angular/core").InputSignal<AXDateTime[]>;
|
|
20
21
|
dayStyle: any[];
|
|
21
22
|
dayMinMaxResoan: string;
|
|
22
23
|
yyyyMMdd: string;
|
|
@@ -98,5 +99,5 @@ export declare class AXDatePickerComponent extends AXValidatableComponent implem
|
|
|
98
99
|
navigate(value: number | AXDateTime): void;
|
|
99
100
|
ngOnDestroy(): void;
|
|
100
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "dayStyle": { "alias": "dayStyle"; "required": false; }; "dayMinMaxResoan": { "alias": "dayMinMaxResoan"; "required": false; }; "validation": { "alias": "validation"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "showToday": { "alias": "showToday"; "required": false; }; "selectableHoliday": { "alias": "selectableHoliday"; "required": false; }; "dateType": { "alias": "dateType"; "required": false; }; "showTodayButton": { "alias": "showTodayButton"; "required": false; }; "openByClick": { "alias": "openByClick"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "typeChange": "typeChange"; "onValueChanged": "onValueChanged"; "valueChange": "valueChange"; }, ["_contentValidation"], ["[start]", "[end]"], false, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "selectedDates": { "alias": "selectedDates"; "required": false; "isSignal": true; }; "dayStyle": { "alias": "dayStyle"; "required": false; }; "dayMinMaxResoan": { "alias": "dayMinMaxResoan"; "required": false; }; "validation": { "alias": "validation"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "showToday": { "alias": "showToday"; "required": false; }; "selectableHoliday": { "alias": "selectableHoliday"; "required": false; }; "dateType": { "alias": "dateType"; "required": false; }; "showTodayButton": { "alias": "showTodayButton"; "required": false; }; "openByClick": { "alias": "openByClick"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "typeChange": "typeChange"; "onValueChanged": "onValueChanged"; "valueChange": "valueChange"; }, ["_contentValidation"], ["[start]", "[end]"], false, never>;
|
|
102
103
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { AXHtmlEvent, AXValueEvent } from '../base/events.class';
|
|
3
|
-
import { AXBaseComponent } from '../base/element.class';
|
|
4
|
-
import { AXContextMenuItemClickEvent, AXContextMenuPromiseFunction, AXContextMenuFunction } from '../context-menu/context-menu.directive';
|
|
5
1
|
import { AXMenuItem } from '@acorex/core';
|
|
2
|
+
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
+
import { AXBaseComponent } from '../base/element.class';
|
|
4
|
+
import { AXHtmlEvent, AXValueEvent } from '../base/events.class';
|
|
5
|
+
import { AXContextMenuFunction, AXContextMenuItemClickEvent, AXContextMenuPromiseFunction } from '../context-menu/context-menu.directive';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AXTreeViewNode {
|
|
8
8
|
children: AXTreeViewNode[];
|