@masterteam/components 0.0.209 → 0.0.211
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/README.md +70 -70
- package/assets/common.css +2 -257
- package/fesm2022/masterteam-components-business-fields.mjs +7 -6
- package/fesm2022/masterteam-components-business-fields.mjs.map +1 -1
- 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-editor-field.mjs +2 -2
- package/fesm2022/masterteam-components-editor-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-entities.mjs +27 -17
- package/fesm2022/masterteam-components-entities.mjs.map +1 -1
- package/fesm2022/masterteam-components-field-validation.mjs.map +1 -1
- package/fesm2022/masterteam-components-formula.mjs +2 -2
- package/fesm2022/masterteam-components-formula.mjs.map +1 -1
- package/fesm2022/masterteam-components-icon-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-location-field.mjs +2 -2
- package/fesm2022/masterteam-components-location-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-multi-select-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-table.mjs +5 -5
- 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-treeselect-field.mjs +2 -2
- package/fesm2022/masterteam-components-treeselect-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-user-search-field.mjs +9 -3
- package/fesm2022/masterteam-components-user-search-field.mjs.map +1 -1
- package/fesm2022/masterteam-components.mjs +5 -3
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/masterteam-components-business-fields.d.ts +4 -2
- package/types/masterteam-components-entities.d.ts +10 -1
- package/types/masterteam-components-user-search-field.d.ts +7 -1
- package/types/masterteam-components.d.ts +2 -0
package/package.json
CHANGED
|
@@ -86,8 +86,10 @@ interface SchemaConnectionConfig {
|
|
|
86
86
|
}
|
|
87
87
|
/** One selected source in the connection payload */
|
|
88
88
|
interface ConnectionSource {
|
|
89
|
-
sourceLevelId
|
|
90
|
-
sourceLevelDataId
|
|
89
|
+
sourceLevelId?: number;
|
|
90
|
+
sourceLevelDataId?: number;
|
|
91
|
+
sourceModuleId?: number;
|
|
92
|
+
sourceModuleDataId?: number;
|
|
91
93
|
}
|
|
92
94
|
/** The value shape for a connection field */
|
|
93
95
|
interface ConnectionPayload {
|
|
@@ -601,6 +601,15 @@ declare class EntitiesPreview {
|
|
|
601
601
|
/** Array of entity data to display */
|
|
602
602
|
readonly entities: _angular_core.InputSignal<EntityData[]>;
|
|
603
603
|
readonly attachmentShape: _angular_core.InputSignal<"compact" | "default">;
|
|
604
|
+
/**
|
|
605
|
+
* Soft "stack every field full-width when the host is narrower than the
|
|
606
|
+
* 24-column grid reads well" behavior (the ≤400px container-query fallback,
|
|
607
|
+
* default on). Set to `false` in wide-enough card layouts — e.g. client-list
|
|
608
|
+
* cards (~350px) — so the per-entity `size` configuration is honored instead
|
|
609
|
+
* of forcing every item to full width. A hard ≤280px stack always applies
|
|
610
|
+
* regardless, so the 24-column gap floor can never overflow the host (#1081).
|
|
611
|
+
*/
|
|
612
|
+
readonly stackOnNarrow: _angular_core.InputSignal<boolean>;
|
|
604
613
|
/**
|
|
605
614
|
* Set of entity keys that should appear interactive (cursor pointer,
|
|
606
615
|
* clicks emit). Pass `new Set([...])` from a computed signal in the host
|
|
@@ -633,7 +642,7 @@ declare class EntitiesPreview {
|
|
|
633
642
|
protected isActive(entity: EntityData): boolean;
|
|
634
643
|
protected onEntityClick(source: MouseEvent, entity: EntityData): void;
|
|
635
644
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntitiesPreview, never>;
|
|
636
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntitiesPreview, "mt-entities-preview", never, { "entities": { "alias": "entities"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; "clickableKeys": { "alias": "clickableKeys"; "required": false; "isSignal": true; }; "activeKeys": { "alias": "activeKeys"; "required": false; "isSignal": true; }; "clickableTooltip": { "alias": "clickableTooltip"; "required": false; "isSignal": true; }; "activeTooltip": { "alias": "activeTooltip"; "required": false; "isSignal": true; }; }, { "entityClick": "entityClick"; }, never, never, true, never>;
|
|
645
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntitiesPreview, "mt-entities-preview", never, { "entities": { "alias": "entities"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; "stackOnNarrow": { "alias": "stackOnNarrow"; "required": false; "isSignal": true; }; "clickableKeys": { "alias": "clickableKeys"; "required": false; "isSignal": true; }; "activeKeys": { "alias": "activeKeys"; "required": false; "isSignal": true; }; "clickableTooltip": { "alias": "clickableTooltip"; "required": false; "isSignal": true; }; "activeTooltip": { "alias": "activeTooltip"; "required": false; "isSignal": true; }; }, { "entityClick": "entityClick"; }, never, never, true, never>;
|
|
637
646
|
}
|
|
638
647
|
|
|
639
648
|
/**
|
|
@@ -19,6 +19,12 @@ interface User {
|
|
|
19
19
|
}
|
|
20
20
|
declare class UserSearchField implements ControlValueAccessor, OnInit, OnDestroy {
|
|
21
21
|
readonly hint: _angular_core.InputSignal<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Hides the "not linked to current application" indicator (the amber
|
|
24
|
+
* info badge in single-select mode and the per-chip badge in multiple
|
|
25
|
+
* mode). The control still functions; only the visual hint is suppressed.
|
|
26
|
+
*/
|
|
27
|
+
readonly hideUnlinkedHint: _angular_core.InputSignal<boolean>;
|
|
22
28
|
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
23
29
|
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
24
30
|
readonly class: _angular_core.InputSignal<string>;
|
|
@@ -89,7 +95,7 @@ declare class UserSearchField implements ControlValueAccessor, OnInit, OnDestroy
|
|
|
89
95
|
private writeInput;
|
|
90
96
|
private clearSearchState;
|
|
91
97
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserSearchField, never>;
|
|
92
|
-
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>;
|
|
98
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserSearchField, "mt-user-search-field", never, { "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "hideUnlinkedHint": { "alias": "hideUnlinkedHint"; "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>;
|
|
93
99
|
}
|
|
94
100
|
|
|
95
101
|
export { UserSearchField };
|
|
@@ -212,6 +212,7 @@ declare class UserSearchFieldConfig extends BaseFieldConfig {
|
|
|
212
212
|
apiUrl: string;
|
|
213
213
|
context: HttpContext | undefined;
|
|
214
214
|
isMultiple: boolean;
|
|
215
|
+
hideUnlinkedHint: boolean;
|
|
215
216
|
constructor(config: Omit<BaseFieldConstructorConfig, 'type'> & {
|
|
216
217
|
optionLabel?: string;
|
|
217
218
|
optionValue?: string;
|
|
@@ -221,6 +222,7 @@ declare class UserSearchFieldConfig extends BaseFieldConfig {
|
|
|
221
222
|
context?: HttpContext | undefined;
|
|
222
223
|
placeholder?: string;
|
|
223
224
|
isMultiple?: boolean;
|
|
225
|
+
hideUnlinkedHint?: boolean;
|
|
224
226
|
});
|
|
225
227
|
}
|
|
226
228
|
declare class LocationFieldConfig extends BaseFieldConfig {
|