@masterteam/components 0.0.195 → 0.0.197
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/i18n/ar.json +7 -11
- package/assets/i18n/en.json +7 -11
- package/fesm2022/masterteam-components-business-fields.mjs +24 -6
- package/fesm2022/masterteam-components-business-fields.mjs.map +1 -1
- package/fesm2022/masterteam-components-card.mjs +2 -2
- package/fesm2022/masterteam-components-card.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-entities.mjs +20 -18
- 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 +17 -17
- 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 +4 -4
- 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 +4 -4
- 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.mjs +3 -3
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +2 -2
- package/types/masterteam-components-business-fields.d.ts +8 -0
- package/types/masterteam-components-entities.d.ts +4 -4
- package/types/masterteam-components-formula.d.ts +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.197",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/components",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"quill": "^2.0.3",
|
|
22
22
|
"tailwindcss": "^4.2.2",
|
|
23
23
|
"tailwindcss-primeui": "^0.6.1",
|
|
24
|
-
"@masterteam/icons": "^0.0.
|
|
24
|
+
"@masterteam/icons": "^0.0.17"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -130,6 +130,14 @@ declare class SchemaConnectionField implements ControlValueAccessor {
|
|
|
130
130
|
ngControl: NgControl | null;
|
|
131
131
|
private http;
|
|
132
132
|
private destroyRef;
|
|
133
|
+
private transloco;
|
|
134
|
+
/** Active UI language, kept reactive so source labels re-resolve on switch. */
|
|
135
|
+
private readonly activeLang;
|
|
136
|
+
/**
|
|
137
|
+
* Resolve a source level's display name in the active locale, falling back
|
|
138
|
+
* to English, Arabic, then the level/module key.
|
|
139
|
+
*/
|
|
140
|
+
protected resolveSourceName(source: ConnectionSourceLevel): string;
|
|
133
141
|
/**
|
|
134
142
|
* Source levels from configuration.
|
|
135
143
|
*/
|
|
@@ -409,7 +409,7 @@ type AttachmentReference = EntityAttachmentItemValue | string;
|
|
|
409
409
|
declare class EntityAttachment {
|
|
410
410
|
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
411
411
|
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
412
|
-
readonly shape: _angular_core.InputSignal<"
|
|
412
|
+
readonly shape: _angular_core.InputSignal<"default" | "compact">;
|
|
413
413
|
readonly value: _angular_core.InputSignal<string | EntityAttachmentItemValue | EntityAttachmentValue | null | undefined>;
|
|
414
414
|
readonly endPoint: _angular_core.InputSignal<string>;
|
|
415
415
|
readonly context: _angular_core.InputSignal<HttpContext | undefined>;
|
|
@@ -539,7 +539,7 @@ declare function buildDisplayEntities(entities: EntityData[]): EntityData[];
|
|
|
539
539
|
|
|
540
540
|
declare class EntityPreview {
|
|
541
541
|
readonly data: _angular_core.InputSignal<EntityData>;
|
|
542
|
-
readonly attachmentShape: _angular_core.InputSignal<"
|
|
542
|
+
readonly attachmentShape: _angular_core.InputSignal<"default" | "compact">;
|
|
543
543
|
readonly comparisonKind: _angular_core.Signal<"Value" | "EntityList" | null>;
|
|
544
544
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPreview, never>;
|
|
545
545
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPreview, "mt-entity-preview", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -547,7 +547,7 @@ declare class EntityPreview {
|
|
|
547
547
|
|
|
548
548
|
declare class EntityPreviewBody {
|
|
549
549
|
readonly data: _angular_core.InputSignal<EntityData>;
|
|
550
|
-
readonly attachmentShape: _angular_core.InputSignal<"
|
|
550
|
+
readonly attachmentShape: _angular_core.InputSignal<"default" | "compact">;
|
|
551
551
|
readonly previewType: _angular_core.Signal<"Text" | "LongText" | "Date" | "DateTime" | "Number" | "Percentage" | "Status" | "Currency" | "Checkbox" | "User" | "Lookup" | "Attachment" | "Location" | "LookupModuleCheckList" | "LeafDetails" | "Connection" | "ScheduleItemSelector">;
|
|
552
552
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPreviewBody, never>;
|
|
553
553
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPreviewBody, "mt-entity-preview-body", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -594,7 +594,7 @@ declare class EntitiesPreview {
|
|
|
594
594
|
private readonly transloco;
|
|
595
595
|
/** Array of entity data to display */
|
|
596
596
|
readonly entities: _angular_core.InputSignal<EntityData[]>;
|
|
597
|
-
readonly attachmentShape: _angular_core.InputSignal<"
|
|
597
|
+
readonly attachmentShape: _angular_core.InputSignal<"default" | "compact">;
|
|
598
598
|
/**
|
|
599
599
|
* Set of entity keys that should appear interactive (cursor pointer,
|
|
600
600
|
* clicks emit). Pass `new Set([...])` from a computed signal in the host
|
|
@@ -553,7 +553,12 @@ declare class FormulaToolbar {
|
|
|
553
553
|
readonly operatorGroups: _angular_core.Signal<OperatorGroup[]>;
|
|
554
554
|
/** Translate an operator group header, falling back to a capitalized label */
|
|
555
555
|
operatorTypeLabel(type: string): string;
|
|
556
|
-
/**
|
|
556
|
+
/**
|
|
557
|
+
* Resolve a function category header.
|
|
558
|
+
* The backend already returns a localized `displayName`, so we render it
|
|
559
|
+
* verbatim instead of re-translating on the client (which only covered a
|
|
560
|
+
* subset of categories and left newer ones like "Task Baseline" untranslated).
|
|
561
|
+
*/
|
|
557
562
|
categoryLabel(category: FunctionCategoryGroup): string;
|
|
558
563
|
/** Total item count for current tab */
|
|
559
564
|
readonly itemCount: _angular_core.Signal<number>;
|