@masterteam/components 0.0.173 → 0.0.175
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/assets/i18n/ar.json +282 -282
- package/assets/i18n/en.json +282 -282
- package/fesm2022/masterteam-components-drawer.mjs +8 -4
- package/fesm2022/masterteam-components-drawer.mjs.map +1 -1
- package/fesm2022/masterteam-components-dynamic-drawer.mjs +1 -4
- package/fesm2022/masterteam-components-dynamic-drawer.mjs.map +1 -1
- package/fesm2022/masterteam-components-entities.mjs +16 -2
- package/fesm2022/masterteam-components-entities.mjs.map +1 -1
- package/fesm2022/masterteam-components-upload-field.mjs +49 -4
- package/fesm2022/masterteam-components-upload-field.mjs.map +1 -1
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/masterteam-components-drawer.d.ts +2 -0
- package/types/masterteam-components-dynamic-drawer.d.ts +0 -1
- package/types/masterteam-components-entities.d.ts +2 -0
- package/types/masterteam-components-upload-field.d.ts +1 -1
- package/types/masterteam-components.d.ts +2 -2
|
@@ -377,6 +377,7 @@ declare class EntityAttachment {
|
|
|
377
377
|
readonly uploadValue: _angular_core.Signal<string | EntityAttachmentItemValue | (string | EntityAttachmentItemValue)[] | null>;
|
|
378
378
|
readonly hasAttachments: _angular_core.Signal<boolean>;
|
|
379
379
|
readonly isMultiple: _angular_core.Signal<boolean>;
|
|
380
|
+
readonly acceptTypes: _angular_core.Signal<string | undefined>;
|
|
380
381
|
protected readonly empty = "-";
|
|
381
382
|
constructor();
|
|
382
383
|
attachmentTrackBy(index: number, attachment: EntityAttachmentItemValue): string;
|
|
@@ -396,6 +397,7 @@ declare class EntityAttachment {
|
|
|
396
397
|
private requiresMetadataRequest;
|
|
397
398
|
private isAttachmentItemValue;
|
|
398
399
|
private resolveExtension;
|
|
400
|
+
private normalizeAcceptTypes;
|
|
399
401
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityAttachment, never>;
|
|
400
402
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityAttachment, "mt-entity-attachment", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "endPoint": { "alias": "endPoint"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
401
403
|
}
|
|
@@ -14,7 +14,7 @@ declare class UploadField implements ControlValueAccessor {
|
|
|
14
14
|
readonly userImgClass: _angular_core.InputSignal<string | undefined>;
|
|
15
15
|
readonly shape: _angular_core.InputSignal<"circle" | "field" | "card">;
|
|
16
16
|
readonly multiple: _angular_core.InputSignal<boolean>;
|
|
17
|
-
readonly accept: _angular_core.InputSignal<string | undefined>;
|
|
17
|
+
readonly accept: _angular_core.InputSignal<string | string[] | undefined>;
|
|
18
18
|
readonly isDragging: _angular_core.ModelSignal<boolean>;
|
|
19
19
|
readonly fileSizeLimit: _angular_core.InputSignal<number | undefined>;
|
|
20
20
|
readonly: _angular_core.InputSignal<boolean>;
|
|
@@ -230,7 +230,7 @@ declare class UploadFileFieldConfig extends BaseFieldConfig {
|
|
|
230
230
|
userImgClass?: string;
|
|
231
231
|
shape?: string;
|
|
232
232
|
multiple?: boolean;
|
|
233
|
-
accept?: string;
|
|
233
|
+
accept?: string | string[];
|
|
234
234
|
fileSizeLimit?: number | undefined;
|
|
235
235
|
context: HttpContext | undefined;
|
|
236
236
|
title: string;
|
|
@@ -241,7 +241,7 @@ declare class UploadFileFieldConfig extends BaseFieldConfig {
|
|
|
241
241
|
userImgClass?: string;
|
|
242
242
|
shape?: string;
|
|
243
243
|
multiple?: boolean;
|
|
244
|
-
accept?: string;
|
|
244
|
+
accept?: string | string[];
|
|
245
245
|
fileSizeLimit?: number | undefined;
|
|
246
246
|
context?: HttpContext | undefined;
|
|
247
247
|
title?: string;
|