@masterteam/components 0.0.49 → 0.0.51
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/assets/common.css +1 -1
- package/confirmation/index.d.ts +37 -0
- package/fesm2022/masterteam-components-confirmation.mjs +71 -0
- package/fesm2022/masterteam-components-confirmation.mjs.map +1 -0
- package/fesm2022/masterteam-components-module-summary-card.mjs +2 -2
- package/fesm2022/masterteam-components-module-summary-card.mjs.map +1 -1
- package/fesm2022/masterteam-components-table.mjs +12 -2
- package/fesm2022/masterteam-components-table.mjs.map +1 -1
- package/fesm2022/masterteam-components-user-search-field.mjs +42 -31
- package/fesm2022/masterteam-components-user-search-field.mjs.map +1 -1
- package/fesm2022/masterteam-components.mjs +6 -2
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/index.d.ts +4 -2
- package/package.json +57 -53
- package/table/index.d.ts +19 -3
- package/user-search-field/index.d.ts +6 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, Validators, NgControl } from '@angular/forms';
|
|
4
|
+
import { AutoComplete } from 'primeng/autocomplete';
|
|
4
5
|
import { isInvalid } from '@masterteam/components';
|
|
5
6
|
import { HttpContext } from '@angular/common/http';
|
|
6
7
|
|
|
@@ -11,7 +12,7 @@ interface User {
|
|
|
11
12
|
userName: string;
|
|
12
13
|
photo: string;
|
|
13
14
|
}
|
|
14
|
-
declare class UserSearchField implements ControlValueAccessor, OnInit
|
|
15
|
+
declare class UserSearchField implements ControlValueAccessor, OnInit {
|
|
15
16
|
readonly hint: _angular_core.InputSignal<string | undefined>;
|
|
16
17
|
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
17
18
|
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
@@ -30,7 +31,7 @@ declare class UserSearchField implements ControlValueAccessor, OnInit, OnDestroy
|
|
|
30
31
|
readonly size: _angular_core.InputSignal<"small" | "large" | undefined>;
|
|
31
32
|
filteredUsers: _angular_core.WritableSignal<User[]>;
|
|
32
33
|
private searchTerms;
|
|
33
|
-
|
|
34
|
+
readonly autocomplete: _angular_core.Signal<AutoComplete | undefined>;
|
|
34
35
|
onTouched: () => void;
|
|
35
36
|
onModelChange: (value: any) => void;
|
|
36
37
|
ngControl: NgControl | null;
|
|
@@ -38,10 +39,10 @@ declare class UserSearchField implements ControlValueAccessor, OnInit, OnDestroy
|
|
|
38
39
|
isInvalid: typeof isInvalid;
|
|
39
40
|
constructor();
|
|
40
41
|
ngOnInit(): void;
|
|
41
|
-
ngOnDestroy(): void;
|
|
42
42
|
search(event: {
|
|
43
43
|
query: string;
|
|
44
44
|
}): void;
|
|
45
|
+
onFocus(): void;
|
|
45
46
|
onSelect(event: {
|
|
46
47
|
originalEvent: Event;
|
|
47
48
|
value: User;
|
|
@@ -51,6 +52,7 @@ declare class UserSearchField implements ControlValueAccessor, OnInit, OnDestroy
|
|
|
51
52
|
registerOnChange(fn: (value: User | null) => void): void;
|
|
52
53
|
registerOnTouched(fn: any): void;
|
|
53
54
|
setDisabledState(disabled: boolean): void;
|
|
55
|
+
getUsers(): void;
|
|
54
56
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserSearchField, never>;
|
|
55
57
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserSearchField, "mt-user-search-field", never, { "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "apiUrl": { "alias": "apiUrl"; "required": true; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "paramName": { "alias": "paramName"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
56
58
|
}
|