@datarailsshared/datarailsshared 1.5.355 → 1.5.359
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/datarailsshared-datarailsshared-1.5.359.tgz +0 -0
- package/esm2022/lib/dr-chat/dr-chat-form/chat-form.component.mjs +10 -7
- package/esm2022/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.mjs +1 -1
- package/esm2022/lib/dr-inputs/dr-input/dr-input.component.mjs +21 -19
- package/esm2022/lib/dr-inputs/dr-select/dr-select.component.mjs +2 -2
- package/esm2022/lib/dr-inputs/dr-select-add-item/dr-select-add-item.component.mjs +1 -1
- package/esm2022/lib/dr-inputs/dr-slider/dr-slider.component.mjs +2 -2
- package/esm2022/lib/dr-tooltip/dr-tooltip.component.mjs +3 -3
- package/fesm2022/datarailsshared-datarailsshared.mjs +37 -32
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-chat/dr-chat-form/chat-form.component.d.ts +1 -0
- package/lib/dr-inputs/dr-input/dr-input.component.d.ts +20 -17
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.5.355.tgz +0 -0
|
@@ -69,6 +69,7 @@ export declare class DrChatFormComponent {
|
|
|
69
69
|
abortMessage(): void;
|
|
70
70
|
onModelChange(value: string): void;
|
|
71
71
|
getTextAreaHeight(textAreaElement: HTMLTextAreaElement): string;
|
|
72
|
+
getSendButtonPosition(textAreaElement: HTMLTextAreaElement): string;
|
|
72
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrChatFormComponent, never>;
|
|
73
74
|
static ɵcmp: i0.ɵɵComponentDeclaration<DrChatFormComponent, "dr-chat-form", never, { "message": { "alias": "message"; "required": false; }; "messagePlaceholder": { "alias": "messagePlaceholder"; "required": false; }; "dropFiles": { "alias": "dropFiles"; "required": false; }; "dropFilePlaceholder": { "alias": "dropFilePlaceholder"; "required": false; }; "waitForReply": { "alias": "waitForReply"; "required": false; }; "showDisabledButtonInsteadOfDotFlashing": { "alias": "showDisabledButtonInsteadOfDotFlashing"; "required": false; }; }, { "send": "send"; "abort": "abort"; "inputChange": "inputChange"; }, never, never, false, never>;
|
|
74
75
|
}
|
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
type ButtonOptions = {
|
|
5
|
+
show?: boolean;
|
|
6
|
+
showOnFocus?: boolean;
|
|
7
|
+
focusSet?: boolean;
|
|
8
|
+
checkFocusOut?: (target: any, element: any) => boolean;
|
|
9
|
+
text?: string;
|
|
10
|
+
};
|
|
4
11
|
export declare class DrInputComponent implements AfterViewInit, ControlValueAccessor, OnDestroy {
|
|
5
12
|
private elementRef;
|
|
6
13
|
private renderer;
|
|
7
14
|
private cdr;
|
|
8
15
|
set disabled(value: any);
|
|
9
|
-
set buttonOptions(value:
|
|
16
|
+
set buttonOptions(value: ButtonOptions);
|
|
10
17
|
set type(val: string);
|
|
11
18
|
get type(): string;
|
|
12
|
-
name: string;
|
|
13
19
|
set placeholder(val: string);
|
|
14
20
|
get placeholder(): string;
|
|
15
|
-
readonly: boolean;
|
|
16
21
|
set clearable(val: any);
|
|
22
|
+
name: string;
|
|
23
|
+
readonly: boolean;
|
|
17
24
|
min: number | string;
|
|
18
25
|
max: number | string;
|
|
19
|
-
minLength: number;
|
|
20
26
|
maxlength: number;
|
|
21
|
-
|
|
27
|
+
minlength: number;
|
|
28
|
+
pattern: string | RegExp;
|
|
29
|
+
step: string | number;
|
|
22
30
|
searchMini: boolean;
|
|
23
31
|
blur: EventEmitter<any>;
|
|
24
32
|
focused: EventEmitter<FocusEvent>;
|
|
25
33
|
modelDebounceChange: EventEmitter<any>;
|
|
34
|
+
searchHandler: EventEmitter<any>;
|
|
35
|
+
clearHandler: EventEmitter<any>;
|
|
36
|
+
buttonHandler: EventEmitter<any>;
|
|
26
37
|
mask: string;
|
|
27
38
|
suffix: string;
|
|
28
39
|
prefix: string;
|
|
29
40
|
get elementClass(): string;
|
|
30
41
|
innerValue: any;
|
|
31
|
-
_disabled:
|
|
42
|
+
_disabled: boolean | null;
|
|
32
43
|
_elementClass: string[];
|
|
33
|
-
_buttonOptions:
|
|
34
|
-
show: boolean;
|
|
35
|
-
showOnFocus: boolean;
|
|
36
|
-
focusSet: boolean;
|
|
37
|
-
checkFocusOut: (target: any, element: any) => boolean;
|
|
38
|
-
text: string;
|
|
39
|
-
};
|
|
44
|
+
_buttonOptions: ButtonOptions;
|
|
40
45
|
listenFunc: (...params: any[]) => any;
|
|
41
46
|
globalListenFunc: (...params: any[]) => any;
|
|
42
|
-
searchHandler: EventEmitter<any>;
|
|
43
|
-
clearHandler: EventEmitter<any>;
|
|
44
|
-
buttonHandler: EventEmitter<any>;
|
|
45
47
|
private readonly inputElement;
|
|
46
48
|
prefixIcon: ElementRef;
|
|
47
49
|
suffixIcon: ElementRef;
|
|
@@ -69,5 +71,6 @@ export declare class DrInputComponent implements AfterViewInit, ControlValueAcce
|
|
|
69
71
|
onClear($event: any): void;
|
|
70
72
|
focus(): void;
|
|
71
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrInputComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrInputComponent, "dr-input", never, { "disabled": { "alias": "disabled"; "required": false; }; "buttonOptions": { "alias": "buttonOptions"; "required": false; }; "type": { "alias": "type"; "required": false; }; "
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrInputComponent, "dr-input", never, { "disabled": { "alias": "disabled"; "required": false; }; "buttonOptions": { "alias": "buttonOptions"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "name": { "alias": "name"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "step": { "alias": "step"; "required": false; }; "searchMini": { "alias": "searchMini"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; }, { "blur": "blur"; "focused": "focus"; "modelDebounceChange": "modelDebounceChange"; "searchHandler": "searchHandler"; "clearHandler": "clearHandler"; "buttonHandler": "buttonHandler"; }, ["prefixIcon", "suffixIcon"], ["[prefixIcon]", "[suffixIcon]"], false, never>;
|
|
73
75
|
}
|
|
76
|
+
export {};
|
package/package.json
CHANGED
|
Binary file
|