@masterteam/components 0.0.249 → 0.0.251

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.
@@ -243,7 +243,8 @@
243
243
  "search": "بحث..."
244
244
  },
245
245
  "userReference": {
246
- "notLinked": "هذا المستخدم لم يعد مرتبطًا بهذا التطبيق. تم الاحتفاظ بالسجلات التاريخية للرجوع إليها."
246
+ "notLinked": "هذا المستخدم لم يعد مرتبطًا بهذا التطبيق. تم الاحتفاظ بالسجلات التاريخية للرجوع إليها.",
247
+ "showMore": "عرض {{count}} مستخدمين إضافيين"
247
248
  },
248
249
  "locationField": {
249
250
  "search": "بحث...",
@@ -243,7 +243,8 @@
243
243
  "search": "Search..."
244
244
  },
245
245
  "userReference": {
246
- "notLinked": "This user is no longer linked to this application. Historical records are kept for reference."
246
+ "notLinked": "This user is no longer linked to this application. Historical records are kept for reference.",
247
+ "showMore": "Show {{count}} more users"
247
248
  },
248
249
  "locationField": {
249
250
  "search": "Search...",
@@ -639,8 +639,12 @@ class SchedulePredecessorField {
639
639
  });
640
640
  }
641
641
  mapTaskOptions(data) {
642
- return this.flattenRecords(this.resolveRootRecords(data?.records ?? [], data?.projectionMeta?.rootIds ?? [])).map((record) => ({
643
- label: `${record.id} - ${record.name ?? record.id}`,
642
+ // Labels show the ROW NUMBER (1-based position in the same pre-order walk
643
+ // the grid's ID column numbers), not the backend id — the two surfaces
644
+ // must speak one coordinate. The option VALUE stays the real id: the
645
+ // compact predecessor string this field produces is wire format.
646
+ return this.flattenRecords(this.resolveRootRecords(data?.records ?? [], data?.projectionMeta?.rootIds ?? [])).map((record, index) => ({
647
+ label: `${index + 1} - ${record.name ?? record.id}`,
644
648
  value: String(record.id),
645
649
  }));
646
650
  }