@masterteam/components 0.0.180 → 0.0.182
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/masterteam-components-drawer.mjs +2 -2
- package/fesm2022/masterteam-components-drawer.mjs.map +1 -1
- package/fesm2022/masterteam-components-dynamic-drawer.mjs.map +1 -1
- package/fesm2022/masterteam-components-entities.mjs +16 -16
- package/fesm2022/masterteam-components-entities.mjs.map +1 -1
- package/fesm2022/masterteam-components-field-validation.mjs +24 -4
- package/fesm2022/masterteam-components-field-validation.mjs.map +1 -1
- package/fesm2022/masterteam-components-location-field.mjs +4 -4
- package/fesm2022/masterteam-components-location-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-number-field.mjs +2 -2
- package/fesm2022/masterteam-components-number-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-radio-cards-field.mjs +2 -2
- package/fesm2022/masterteam-components-radio-cards-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-runtime-action.mjs.map +1 -1
- package/fesm2022/masterteam-components-select-field.mjs +2 -2
- package/fesm2022/masterteam-components-select-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-table.mjs +25 -11
- package/fesm2022/masterteam-components-table.mjs.map +1 -1
- package/fesm2022/masterteam-components-text-field.mjs +2 -2
- package/fesm2022/masterteam-components-text-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-textarea-field.mjs +2 -2
- package/fesm2022/masterteam-components-textarea-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-toggle-field.mjs +2 -2
- package/fesm2022/masterteam-components-toggle-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-user-search-field.mjs +34 -4
- package/fesm2022/masterteam-components-user-search-field.mjs.map +1 -1
- package/fesm2022/masterteam-components.mjs +3 -3
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +4 -4
- package/types/masterteam-components-field-validation.d.ts +8 -0
- package/types/masterteam-components-table.d.ts +2 -0
- package/types/masterteam-components-user-search-field.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.182",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/components",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"@angular/core": "^21.2.8",
|
|
13
13
|
"@angular/forms": "^21.2.8",
|
|
14
14
|
"@jsverse/transloco": "^8.3.0",
|
|
15
|
+
"@masterteam/icons": "^0.0.15",
|
|
15
16
|
"@primeuix/themes": "^2.0.3",
|
|
16
17
|
"@tailwindcss/postcss": "^4.2.2",
|
|
17
18
|
"monaco-editor": "^0.52.0",
|
|
@@ -20,8 +21,7 @@
|
|
|
20
21
|
"primeng": "21.1.5",
|
|
21
22
|
"quill": "^2.0.3",
|
|
22
23
|
"tailwindcss": "^4.2.2",
|
|
23
|
-
"tailwindcss-primeui": "^0.6.1"
|
|
24
|
-
"@masterteam/icons": "^0.0.15"
|
|
24
|
+
"tailwindcss-primeui": "^0.6.1"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -267,4 +267,4 @@
|
|
|
267
267
|
"module": "fesm2022/masterteam-components.mjs",
|
|
268
268
|
"typings": "types/masterteam-components.d.ts",
|
|
269
269
|
"type": "module"
|
|
270
|
-
}
|
|
270
|
+
}
|
|
@@ -6,6 +6,14 @@ declare class FieldValidation {
|
|
|
6
6
|
readonly control: _angular_core.InputSignal<AbstractControl<any, any, any> | null>;
|
|
7
7
|
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
8
8
|
isInvalid: typeof isInvalid;
|
|
9
|
+
/**
|
|
10
|
+
* Reserve the error-message line whenever the control can surface an error —
|
|
11
|
+
* i.e. it has sync/async validators, or is already showing one. This keeps the
|
|
12
|
+
* field's height constant so showing the error never pushes sibling fields or
|
|
13
|
+
* the content below the row. Re-evaluated each change-detection cycle, so it
|
|
14
|
+
* picks up validators that fields add asynchronously after init.
|
|
15
|
+
*/
|
|
16
|
+
shouldReserveSpace(): boolean;
|
|
9
17
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldValidation, never>;
|
|
10
18
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldValidation, "mt-field-validation", never, { "control": { "alias": "control"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
19
|
}
|
|
@@ -304,6 +304,8 @@ declare class Table {
|
|
|
304
304
|
onRowClick(event: MouseEvent, row: any): void;
|
|
305
305
|
protected updatePagingFromEvent(event: any): void;
|
|
306
306
|
protected emitLazyLoad(event: any): void;
|
|
307
|
+
private lazyLoadFilters;
|
|
308
|
+
private withoutGeneralSearch;
|
|
307
309
|
exportExcel(): void;
|
|
308
310
|
printPdf(): void;
|
|
309
311
|
onCellFilterClick(event: Event, row: any, column: ColumnDef): void;
|
|
@@ -45,6 +45,7 @@ declare class UserSearchField implements ControlValueAccessor, OnInit {
|
|
|
45
45
|
query: string;
|
|
46
46
|
}): void;
|
|
47
47
|
onFocus(): void;
|
|
48
|
+
onBlur(): void;
|
|
48
49
|
onSelect(event: {
|
|
49
50
|
originalEvent: Event;
|
|
50
51
|
value: User;
|
|
@@ -59,6 +60,7 @@ declare class UserSearchField implements ControlValueAccessor, OnInit {
|
|
|
59
60
|
registerOnTouched(fn: any): void;
|
|
60
61
|
setDisabledState(disabled: boolean): void;
|
|
61
62
|
getUsers(): void;
|
|
63
|
+
private getInputElement;
|
|
62
64
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserSearchField, never>;
|
|
63
65
|
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; }; "isMultiple": { "alias": "isMultiple"; "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>;
|
|
64
66
|
}
|