coer-elements 1.1.20 → 1.1.21
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/components/lib/coer-datebox/coer-datebox.component.d.ts +1 -1
- package/components/lib/coer-grid/coer-grid.component.d.ts +2 -2
- package/components/lib/coer-modal/coer-modal.component.d.ts +1 -1
- package/components/lib/coer-numberbox/coer-numberbox.component.d.ts +1 -1
- package/components/lib/coer-secretbox/coer-secretbox.component.d.ts +1 -1
- package/components/lib/coer-textarea/coer-textarea.component.d.ts +1 -1
- package/components/lib/coer-textbox/coer-textbox.component.d.ts +1 -1
- package/fesm2022/coer-elements-components.mjs +6 -4
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-interfaces.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +1 -1
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/interfaces/lib/option.interface.d.ts +5 -0
- package/interfaces/public-api.d.ts +1 -0
- package/package.json +1 -1
@@ -17,7 +17,7 @@ export declare class CoerDateBox extends ControlValue implements OnInit {
|
|
17
17
|
id: string;
|
18
18
|
label: import("@angular/core").InputSignal<string>;
|
19
19
|
placeholder: import("@angular/core").InputSignal<string>;
|
20
|
-
textPosition: import("@angular/core").InputSignal<"left" | "
|
20
|
+
textPosition: import("@angular/core").InputSignal<"left" | "center" | "right">;
|
21
21
|
isInvalid: import("@angular/core").InputSignal<boolean>;
|
22
22
|
isValid: import("@angular/core").InputSignal<boolean>;
|
23
23
|
isLoading: import("@angular/core").InputSignal<boolean>;
|
@@ -41,9 +41,9 @@ export declare class CoerGrid<T> extends CoerGridExtension<T> {
|
|
41
41
|
/** */
|
42
42
|
protected ClickOnRow(row: T): void;
|
43
43
|
/** Inserts new elements at the start */
|
44
|
-
Unshift(row: T): void;
|
44
|
+
Unshift(row: T, focus?: boolean): void;
|
45
45
|
/** Appends new elements to the end */
|
46
|
-
Push(row: T): void;
|
46
|
+
Push(row: T, focus?: boolean): void;
|
47
47
|
/** Delete Row By index */
|
48
48
|
DeleteRow(indexRow: number): Promise<void>;
|
49
49
|
/** Delete row list by callback */
|
@@ -13,7 +13,7 @@ export declare class CoerModal implements OnInit {
|
|
13
13
|
title: import("@angular/core").InputSignal<string>;
|
14
14
|
icon: import("@angular/core").InputSignal<string>;
|
15
15
|
showCloseButton: import("@angular/core").InputSignal<boolean>;
|
16
|
-
width: import("@angular/core").InputSignal<"
|
16
|
+
width: import("@angular/core").InputSignal<"small" | "auto" | "full">;
|
17
17
|
height: import("@angular/core").InputSignal<string>;
|
18
18
|
maxHeight: import("@angular/core").InputSignal<string>;
|
19
19
|
get isOpen(): boolean;
|
@@ -14,7 +14,7 @@ export declare class CoerNumberBox extends ControlValue implements OnInit {
|
|
14
14
|
id: string;
|
15
15
|
label: import("@angular/core").InputSignal<string>;
|
16
16
|
placeholder: import("@angular/core").InputSignal<string>;
|
17
|
-
textPosition: import("@angular/core").InputSignal<"left" | "
|
17
|
+
textPosition: import("@angular/core").InputSignal<"left" | "center" | "right">;
|
18
18
|
min: import("@angular/core").InputSignal<number>;
|
19
19
|
max: import("@angular/core").InputSignal<number>;
|
20
20
|
isInvalid: import("@angular/core").InputSignal<boolean>;
|
@@ -13,7 +13,7 @@ export declare class CoerSecretBox extends ControlValue implements OnInit {
|
|
13
13
|
id: string;
|
14
14
|
label: import("@angular/core").InputSignal<string>;
|
15
15
|
placeholder: import("@angular/core").InputSignal<string>;
|
16
|
-
textPosition: import("@angular/core").InputSignal<"left" | "
|
16
|
+
textPosition: import("@angular/core").InputSignal<"left" | "center" | "right">;
|
17
17
|
minLength: import("@angular/core").InputSignal<string | number>;
|
18
18
|
maxLength: import("@angular/core").InputSignal<string | number>;
|
19
19
|
isInvalid: import("@angular/core").InputSignal<boolean>;
|
@@ -12,7 +12,7 @@ export declare class CoerTextarea extends ControlValue implements OnInit {
|
|
12
12
|
id: string;
|
13
13
|
label: import("@angular/core").InputSignal<string>;
|
14
14
|
placeholder: import("@angular/core").InputSignal<string>;
|
15
|
-
textPosition: import("@angular/core").InputSignal<"left" | "
|
15
|
+
textPosition: import("@angular/core").InputSignal<"left" | "center" | "right">;
|
16
16
|
minLength: import("@angular/core").InputSignal<string | number>;
|
17
17
|
maxLength: import("@angular/core").InputSignal<string | number>;
|
18
18
|
isInvalid: import("@angular/core").InputSignal<boolean>;
|
@@ -13,7 +13,7 @@ export declare class CoerTextBox extends ControlValue implements OnInit {
|
|
13
13
|
id: string;
|
14
14
|
label: import("@angular/core").InputSignal<string>;
|
15
15
|
placeholder: import("@angular/core").InputSignal<string>;
|
16
|
-
textPosition: import("@angular/core").InputSignal<"left" | "
|
16
|
+
textPosition: import("@angular/core").InputSignal<"left" | "center" | "right">;
|
17
17
|
minLength: import("@angular/core").InputSignal<string | number>;
|
18
18
|
maxLength: import("@angular/core").InputSignal<string | number>;
|
19
19
|
isInvalid: import("@angular/core").InputSignal<boolean>;
|
@@ -2644,18 +2644,20 @@ class CoerGrid extends CoerGridExtension {
|
|
2644
2644
|
this.onClickRow.emit(row);
|
2645
2645
|
}
|
2646
2646
|
/** Inserts new elements at the start */
|
2647
|
-
Unshift(row) {
|
2647
|
+
Unshift(row, focus = true) {
|
2648
2648
|
const dataSource = Tools.BreakReference(this._value);
|
2649
2649
|
dataSource.unshift(row);
|
2650
2650
|
this.SetValue(dataSource);
|
2651
|
-
|
2651
|
+
if (focus)
|
2652
|
+
this.FocusInput();
|
2652
2653
|
}
|
2653
2654
|
/** Appends new elements to the end */
|
2654
|
-
Push(row) {
|
2655
|
+
Push(row, focus = true) {
|
2655
2656
|
const dataSource = Tools.BreakReference(this._value);
|
2656
2657
|
dataSource.push(row);
|
2657
2658
|
this.SetValue(dataSource);
|
2658
|
-
|
2659
|
+
if (focus)
|
2660
|
+
this.FocusInput();
|
2659
2661
|
}
|
2660
2662
|
/** Delete Row By index */
|
2661
2663
|
async DeleteRow(indexRow) {
|