strapi-plugin-bulk-updater 1.6.3 → 1.6.4
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/dist/_chunks/{BulkUpdater-DbCzwAQ7.js → BulkUpdater-BEhLlXOK.js} +400 -144
- package/dist/_chunks/BulkUpdater-BEhLlXOK.js.map +1 -0
- package/dist/_chunks/{BulkUpdater-B7XefFd9.mjs → BulkUpdater-C670oEo7.mjs} +400 -144
- package/dist/_chunks/BulkUpdater-C670oEo7.mjs.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/_chunks/BulkUpdater-B7XefFd9.mjs.map +0 -1
- package/dist/_chunks/BulkUpdater-DbCzwAQ7.js.map +0 -1
|
@@ -4342,6 +4342,263 @@ function getAllNestedValues(obj, path, availableAttributes) {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
return [];
|
|
4344
4344
|
}
|
|
4345
|
+
function getAvailableColumnsForCollection(col, selectedAttribute, searchAttribute) {
|
|
4346
|
+
const cols = [
|
|
4347
|
+
{
|
|
4348
|
+
key: "select",
|
|
4349
|
+
label: "Select",
|
|
4350
|
+
isPermanent: true,
|
|
4351
|
+
defaultVisible: true
|
|
4352
|
+
},
|
|
4353
|
+
{
|
|
4354
|
+
key: "identifier",
|
|
4355
|
+
label: "Identifier",
|
|
4356
|
+
sortable: !col.isSingleType,
|
|
4357
|
+
defaultVisible: true
|
|
4358
|
+
}
|
|
4359
|
+
];
|
|
4360
|
+
const candidateAttrs = col.attributes || [];
|
|
4361
|
+
candidateAttrs.forEach((attr) => {
|
|
4362
|
+
if (attr === "name" || attr === "title" || attr === selectedAttribute || searchAttribute && attr === searchAttribute) {
|
|
4363
|
+
return;
|
|
4364
|
+
}
|
|
4365
|
+
let formattedLabel = attr;
|
|
4366
|
+
if (attr === "updated_at" || attr === "updatedAt") {
|
|
4367
|
+
formattedLabel = "Updated At";
|
|
4368
|
+
} else if (attr === "created_at" || attr === "createdAt") {
|
|
4369
|
+
formattedLabel = "Created At";
|
|
4370
|
+
} else if (attr === "published_at" || attr === "publishedAt") {
|
|
4371
|
+
formattedLabel = "Published At";
|
|
4372
|
+
} else {
|
|
4373
|
+
const bracketMatch = attr.match(/^([^.[]+)\[([^\]]+)\]\.(.+)$/);
|
|
4374
|
+
if (bracketMatch) {
|
|
4375
|
+
const root = bracketMatch[1].charAt(0).toUpperCase() + bracketMatch[1].slice(1);
|
|
4376
|
+
const comp = formatComponentName(bracketMatch[2]);
|
|
4377
|
+
const sub = bracketMatch[3].split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
4378
|
+
formattedLabel = `${root} [${comp}] > ${sub}`;
|
|
4379
|
+
} else if (attr.includes(".")) {
|
|
4380
|
+
formattedLabel = attr.split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
4381
|
+
} else {
|
|
4382
|
+
formattedLabel = attr.replace(/_/g, " ").replace(/\b\w/g, (l) => l.toUpperCase());
|
|
4383
|
+
}
|
|
4384
|
+
}
|
|
4385
|
+
cols.push({
|
|
4386
|
+
key: `attr_${attr}`,
|
|
4387
|
+
label: formattedLabel,
|
|
4388
|
+
sortable: !col.isSingleType,
|
|
4389
|
+
defaultVisible: ["department", "email", "location", "updated_at", "updatedAt"].includes(attr)
|
|
4390
|
+
});
|
|
4391
|
+
});
|
|
4392
|
+
const hasUpdatedAt = candidateAttrs.some((a) => a === "updatedAt" || a === "updated_at");
|
|
4393
|
+
const hasCreatedAt = candidateAttrs.some((a) => a === "createdAt" || a === "created_at");
|
|
4394
|
+
const hasPublishedAt = candidateAttrs.some((a) => a === "publishedAt" || a === "published_at");
|
|
4395
|
+
if (!hasUpdatedAt) {
|
|
4396
|
+
cols.push({
|
|
4397
|
+
key: "attr_updatedAt",
|
|
4398
|
+
label: "Updated At",
|
|
4399
|
+
sortable: !col.isSingleType,
|
|
4400
|
+
defaultVisible: false
|
|
4401
|
+
});
|
|
4402
|
+
}
|
|
4403
|
+
if (!hasCreatedAt) {
|
|
4404
|
+
cols.push({
|
|
4405
|
+
key: "attr_createdAt",
|
|
4406
|
+
label: "Created At",
|
|
4407
|
+
sortable: !col.isSingleType,
|
|
4408
|
+
defaultVisible: false
|
|
4409
|
+
});
|
|
4410
|
+
}
|
|
4411
|
+
if (!hasPublishedAt && col.draftAndPublish) {
|
|
4412
|
+
cols.push({
|
|
4413
|
+
key: "attr_publishedAt",
|
|
4414
|
+
label: "Published At",
|
|
4415
|
+
sortable: !col.isSingleType,
|
|
4416
|
+
defaultVisible: false
|
|
4417
|
+
});
|
|
4418
|
+
}
|
|
4419
|
+
if (searchAttribute && searchAttribute !== selectedAttribute) {
|
|
4420
|
+
let formattedSearchLabel = searchAttribute;
|
|
4421
|
+
const bracketMatch = searchAttribute.match(/^([^.[]+)\[([^\]]+)\]\.(.+)$/);
|
|
4422
|
+
if (bracketMatch) {
|
|
4423
|
+
const root = bracketMatch[1].charAt(0).toUpperCase() + bracketMatch[1].slice(1);
|
|
4424
|
+
const comp = formatComponentName(bracketMatch[2]);
|
|
4425
|
+
const sub = bracketMatch[3].split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
4426
|
+
formattedSearchLabel = `${root} [${comp}] > ${sub}`;
|
|
4427
|
+
} else if (searchAttribute.includes(".")) {
|
|
4428
|
+
formattedSearchLabel = searchAttribute.split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
4429
|
+
}
|
|
4430
|
+
cols.push({
|
|
4431
|
+
key: "search_attr",
|
|
4432
|
+
label: `Search: "${formattedSearchLabel}"`,
|
|
4433
|
+
sortable: !col.isSingleType && col.attributes.includes(searchAttribute),
|
|
4434
|
+
defaultVisible: true
|
|
4435
|
+
});
|
|
4436
|
+
}
|
|
4437
|
+
if (selectedAttribute && selectedAttribute.trim()) {
|
|
4438
|
+
let formattedTargetLabel = selectedAttribute;
|
|
4439
|
+
const bracketMatch = selectedAttribute.match(/^([^.[]+)\[([^\]]+)\]\.(.+)$/);
|
|
4440
|
+
if (bracketMatch) {
|
|
4441
|
+
const root = bracketMatch[1].charAt(0).toUpperCase() + bracketMatch[1].slice(1);
|
|
4442
|
+
const comp = formatComponentName(bracketMatch[2]);
|
|
4443
|
+
const sub = bracketMatch[3].split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
4444
|
+
formattedTargetLabel = `${root} [${comp}] > ${sub}`;
|
|
4445
|
+
} else if (selectedAttribute.includes(".")) {
|
|
4446
|
+
formattedTargetLabel = selectedAttribute.split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
4447
|
+
} else {
|
|
4448
|
+
formattedTargetLabel = selectedAttribute.replace(/_/g, " ").replace(/\b\w/g, (l) => l.toUpperCase());
|
|
4449
|
+
}
|
|
4450
|
+
cols.push({
|
|
4451
|
+
key: "current_attr",
|
|
4452
|
+
label: `Current Value: "${formattedTargetLabel}"`,
|
|
4453
|
+
sortable: !col.isSingleType && col.attributes.includes(selectedAttribute),
|
|
4454
|
+
defaultVisible: true
|
|
4455
|
+
});
|
|
4456
|
+
cols.push({
|
|
4457
|
+
key: "target_attr",
|
|
4458
|
+
label: `Target Updated Value: "${formattedTargetLabel}"`,
|
|
4459
|
+
sortable: !col.isSingleType && col.attributes.includes(selectedAttribute),
|
|
4460
|
+
defaultVisible: true
|
|
4461
|
+
});
|
|
4462
|
+
}
|
|
4463
|
+
cols.push({
|
|
4464
|
+
key: "status",
|
|
4465
|
+
label: "Status",
|
|
4466
|
+
sortable: false,
|
|
4467
|
+
defaultVisible: true
|
|
4468
|
+
});
|
|
4469
|
+
return cols;
|
|
4470
|
+
}
|
|
4471
|
+
function formatFullTooltipValue(val) {
|
|
4472
|
+
if (val === void 0 || val === null || val === "") {
|
|
4473
|
+
return "(empty / not set)";
|
|
4474
|
+
}
|
|
4475
|
+
if (typeof val === "boolean") {
|
|
4476
|
+
return String(val);
|
|
4477
|
+
}
|
|
4478
|
+
if (typeof val === "number") {
|
|
4479
|
+
return String(val);
|
|
4480
|
+
}
|
|
4481
|
+
if (val instanceof Date) {
|
|
4482
|
+
return isNaN(val.getTime()) ? "(invalid date)" : val.toISOString();
|
|
4483
|
+
}
|
|
4484
|
+
if (typeof val === "string") {
|
|
4485
|
+
return val;
|
|
4486
|
+
}
|
|
4487
|
+
if (Array.isArray(val)) {
|
|
4488
|
+
if (val.length === 0) return "(empty array)";
|
|
4489
|
+
try {
|
|
4490
|
+
return JSON.stringify(val, null, 2);
|
|
4491
|
+
} catch {
|
|
4492
|
+
return String(val);
|
|
4493
|
+
}
|
|
4494
|
+
}
|
|
4495
|
+
if (typeof val === "object") {
|
|
4496
|
+
if (val.isRelation && val.display) return val.display;
|
|
4497
|
+
try {
|
|
4498
|
+
return JSON.stringify(val, null, 2);
|
|
4499
|
+
} catch {
|
|
4500
|
+
return String(val);
|
|
4501
|
+
}
|
|
4502
|
+
}
|
|
4503
|
+
return String(val);
|
|
4504
|
+
}
|
|
4505
|
+
function getCellTooltipText(colDef, entry, colAttributes, selectedAttribute, searchAttribute, recordEdits) {
|
|
4506
|
+
if (!colDef || !entry) return void 0;
|
|
4507
|
+
switch (colDef.key) {
|
|
4508
|
+
case "select":
|
|
4509
|
+
return void 0;
|
|
4510
|
+
case "identifier": {
|
|
4511
|
+
const mainText = entry.name || entry.title || `Entry #${entry.id || entry.documentId}`;
|
|
4512
|
+
const parts = [String(mainText)];
|
|
4513
|
+
if (entry.documentId) parts.push(`Document ID: ${entry.documentId}`);
|
|
4514
|
+
if (entry.id && String(entry.id) !== String(entry.documentId)) parts.push(`ID: ${entry.id}`);
|
|
4515
|
+
if (entry.email) parts.push(`Email: ${entry.email}`);
|
|
4516
|
+
return parts.join("\n");
|
|
4517
|
+
}
|
|
4518
|
+
case "status": {
|
|
4519
|
+
if (selectedAttribute && colAttributes && !colAttributes.includes(selectedAttribute)) {
|
|
4520
|
+
return "Status: Ignored (absent in schema)";
|
|
4521
|
+
}
|
|
4522
|
+
return void 0;
|
|
4523
|
+
}
|
|
4524
|
+
case "current_attr": {
|
|
4525
|
+
if (!selectedAttribute) return void 0;
|
|
4526
|
+
const rootKey = selectedAttribute.split("[")[0].split(".")[0];
|
|
4527
|
+
const hasSchemaAttr = !colAttributes || colAttributes.includes(selectedAttribute) || colAttributes.includes(rootKey);
|
|
4528
|
+
if (!hasSchemaAttr) {
|
|
4529
|
+
return "Ignored (absent in schema)";
|
|
4530
|
+
}
|
|
4531
|
+
const matches = getAllNestedValues(entry, selectedAttribute, colAttributes);
|
|
4532
|
+
if (matches.length === 0) return "(empty / not set)";
|
|
4533
|
+
if (matches.length === 1 && !matches[0].componentUid && !matches[0].path.includes("[#")) {
|
|
4534
|
+
return formatFullTooltipValue(matches[0].value);
|
|
4535
|
+
}
|
|
4536
|
+
return matches.map((m) => {
|
|
4537
|
+
const compLabel = m.componentName ? `#${m.index} ${m.componentName}${m.componentId !== void 0 ? ` (id: ${m.componentId})` : ""}` : `#${m.index}`;
|
|
4538
|
+
const valStr = formatFullTooltipValue(m.value);
|
|
4539
|
+
return `${compLabel}: ${valStr}`;
|
|
4540
|
+
}).join("\n\n");
|
|
4541
|
+
}
|
|
4542
|
+
case "target_attr": {
|
|
4543
|
+
if (!selectedAttribute) return void 0;
|
|
4544
|
+
const rootKey = selectedAttribute.split("[")[0].split(".")[0];
|
|
4545
|
+
const hasSchemaAttr = !colAttributes || colAttributes.includes(selectedAttribute) || colAttributes.includes(rootKey);
|
|
4546
|
+
if (!hasSchemaAttr) {
|
|
4547
|
+
return "Ignored (absent in schema)";
|
|
4548
|
+
}
|
|
4549
|
+
if (recordEdits?.occurrences) {
|
|
4550
|
+
const occEntries = Object.entries(recordEdits.occurrences);
|
|
4551
|
+
if (occEntries.length > 0) {
|
|
4552
|
+
return occEntries.map(([occKey, editObj]) => {
|
|
4553
|
+
const valStr = formatFullTooltipValue(editObj?.value);
|
|
4554
|
+
return `Target [${occKey}]: ${valStr}${editObj?.validationError ? ` (Error: ${editObj.validationError})` : ""}`;
|
|
4555
|
+
}).join("\n\n");
|
|
4556
|
+
}
|
|
4557
|
+
}
|
|
4558
|
+
const matches = getAllNestedValues(entry, selectedAttribute, colAttributes);
|
|
4559
|
+
if (matches.length === 0) return "(empty / not set)";
|
|
4560
|
+
if (matches.length === 1 && !matches[0].componentUid && !matches[0].path.includes("[#")) {
|
|
4561
|
+
return formatFullTooltipValue(matches[0].value);
|
|
4562
|
+
}
|
|
4563
|
+
return matches.map((m) => {
|
|
4564
|
+
const compLabel = m.componentName ? `#${m.index} ${m.componentName}${m.componentId !== void 0 ? ` (id: ${m.componentId})` : ""}` : `#${m.index}`;
|
|
4565
|
+
const valStr = formatFullTooltipValue(m.value);
|
|
4566
|
+
return `${compLabel}: ${valStr}`;
|
|
4567
|
+
}).join("\n\n");
|
|
4568
|
+
}
|
|
4569
|
+
case "search_attr": {
|
|
4570
|
+
if (!searchAttribute) return void 0;
|
|
4571
|
+
const rootKey = searchAttribute.split("[")[0].split(".")[0];
|
|
4572
|
+
const hasSchemaAttr = !colAttributes || colAttributes.includes(searchAttribute) || colAttributes.includes(rootKey);
|
|
4573
|
+
if (!hasSchemaAttr) {
|
|
4574
|
+
return "Ignored (absent in schema)";
|
|
4575
|
+
}
|
|
4576
|
+
const matches = getAllNestedValues(entry, searchAttribute, colAttributes);
|
|
4577
|
+
if (matches.length === 0) return "(empty / not set)";
|
|
4578
|
+
if (matches.length === 1 && !matches[0].componentUid && !matches[0].path.includes("[#")) {
|
|
4579
|
+
return formatFullTooltipValue(matches[0].value);
|
|
4580
|
+
}
|
|
4581
|
+
return matches.map((m) => {
|
|
4582
|
+
const compLabel = m.componentName ? `#${m.index} ${m.componentName}${m.componentId !== void 0 ? ` (id: ${m.componentId})` : ""}` : `#${m.index}`;
|
|
4583
|
+
const valStr = formatFullTooltipValue(m.value);
|
|
4584
|
+
return `${compLabel}: ${valStr}`;
|
|
4585
|
+
}).join("\n\n");
|
|
4586
|
+
}
|
|
4587
|
+
default: {
|
|
4588
|
+
const attrName = colDef.key.replace("attr_", "");
|
|
4589
|
+
const matches = getAllNestedValues(entry, attrName, colAttributes);
|
|
4590
|
+
if (matches.length === 0) return "(empty / not set)";
|
|
4591
|
+
if (matches.length === 1 && !matches[0].componentUid && !matches[0].path.includes("[#")) {
|
|
4592
|
+
return formatFullTooltipValue(matches[0].value);
|
|
4593
|
+
}
|
|
4594
|
+
return matches.map((m) => {
|
|
4595
|
+
const compLabel = m.componentName ? `#${m.index} ${m.componentName}${m.componentId !== void 0 ? ` (id: ${m.componentId})` : ""}` : `#${m.index}`;
|
|
4596
|
+
const valStr = formatFullTooltipValue(m.value);
|
|
4597
|
+
return `${compLabel}: ${valStr}`;
|
|
4598
|
+
}).join("\n\n");
|
|
4599
|
+
}
|
|
4600
|
+
}
|
|
4601
|
+
}
|
|
4345
4602
|
const DEFAULT_HEADING_ITEMS = [
|
|
4346
4603
|
{ value: "h1", label: "H1 - Main Page Title", maxAllowed: 1 },
|
|
4347
4604
|
{ value: "h2", label: "H2 - Primary Section Heading", maxAllowed: 3 },
|
|
@@ -5218,125 +5475,6 @@ const ComponentOccurrencesDrawer = React__default.default.memo(
|
|
|
5218
5475
|
);
|
|
5219
5476
|
}
|
|
5220
5477
|
);
|
|
5221
|
-
function getAvailableColumnsForCollection(col, selectedAttribute, searchAttribute) {
|
|
5222
|
-
const cols = [
|
|
5223
|
-
{
|
|
5224
|
-
key: "select",
|
|
5225
|
-
label: "Select",
|
|
5226
|
-
isPermanent: true,
|
|
5227
|
-
defaultVisible: true
|
|
5228
|
-
},
|
|
5229
|
-
{
|
|
5230
|
-
key: "identifier",
|
|
5231
|
-
label: "Identifier",
|
|
5232
|
-
sortable: !col.isSingleType,
|
|
5233
|
-
defaultVisible: true
|
|
5234
|
-
}
|
|
5235
|
-
];
|
|
5236
|
-
const candidateAttrs = col.attributes || [];
|
|
5237
|
-
candidateAttrs.forEach((attr) => {
|
|
5238
|
-
if (attr === "name" || attr === "title" || attr === selectedAttribute || searchAttribute && attr === searchAttribute) {
|
|
5239
|
-
return;
|
|
5240
|
-
}
|
|
5241
|
-
let formattedLabel = attr;
|
|
5242
|
-
if (attr === "updated_at" || attr === "updatedAt") {
|
|
5243
|
-
formattedLabel = "Updated At";
|
|
5244
|
-
} else if (attr === "created_at" || attr === "createdAt") {
|
|
5245
|
-
formattedLabel = "Created At";
|
|
5246
|
-
} else if (attr === "published_at" || attr === "publishedAt") {
|
|
5247
|
-
formattedLabel = "Published At";
|
|
5248
|
-
} else {
|
|
5249
|
-
const bracketMatch = attr.match(/^([^.[]+)\[([^\]]+)\]\.(.+)$/);
|
|
5250
|
-
if (bracketMatch) {
|
|
5251
|
-
const root = bracketMatch[1].charAt(0).toUpperCase() + bracketMatch[1].slice(1);
|
|
5252
|
-
const comp = formatComponentName(bracketMatch[2]);
|
|
5253
|
-
const sub = bracketMatch[3].split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
5254
|
-
formattedLabel = `${root} [${comp}] > ${sub}`;
|
|
5255
|
-
} else if (attr.includes(".")) {
|
|
5256
|
-
formattedLabel = attr.split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
5257
|
-
} else {
|
|
5258
|
-
formattedLabel = attr.replace(/_/g, " ").replace(/\b\w/g, (l) => l.toUpperCase());
|
|
5259
|
-
}
|
|
5260
|
-
}
|
|
5261
|
-
cols.push({
|
|
5262
|
-
key: `attr_${attr}`,
|
|
5263
|
-
label: formattedLabel,
|
|
5264
|
-
sortable: !col.isSingleType,
|
|
5265
|
-
defaultVisible: ["department", "email", "location", "updated_at", "updatedAt"].includes(attr)
|
|
5266
|
-
});
|
|
5267
|
-
});
|
|
5268
|
-
const hasUpdatedAt = candidateAttrs.some((a) => a === "updatedAt" || a === "updated_at");
|
|
5269
|
-
const hasCreatedAt = candidateAttrs.some((a) => a === "createdAt" || a === "created_at");
|
|
5270
|
-
const hasPublishedAt = candidateAttrs.some((a) => a === "publishedAt" || a === "published_at");
|
|
5271
|
-
if (!hasUpdatedAt) {
|
|
5272
|
-
cols.push({
|
|
5273
|
-
key: "attr_updatedAt",
|
|
5274
|
-
label: "Updated At",
|
|
5275
|
-
sortable: !col.isSingleType,
|
|
5276
|
-
defaultVisible: false
|
|
5277
|
-
});
|
|
5278
|
-
}
|
|
5279
|
-
if (!hasCreatedAt) {
|
|
5280
|
-
cols.push({
|
|
5281
|
-
key: "attr_createdAt",
|
|
5282
|
-
label: "Created At",
|
|
5283
|
-
sortable: !col.isSingleType,
|
|
5284
|
-
defaultVisible: false
|
|
5285
|
-
});
|
|
5286
|
-
}
|
|
5287
|
-
if (!hasPublishedAt && col.draftAndPublish) {
|
|
5288
|
-
cols.push({
|
|
5289
|
-
key: "attr_publishedAt",
|
|
5290
|
-
label: "Published At",
|
|
5291
|
-
sortable: !col.isSingleType,
|
|
5292
|
-
defaultVisible: false
|
|
5293
|
-
});
|
|
5294
|
-
}
|
|
5295
|
-
if (searchAttribute && searchAttribute !== selectedAttribute) {
|
|
5296
|
-
let formattedSearchLabel = searchAttribute;
|
|
5297
|
-
const bracketMatch = searchAttribute.match(/^([^.[]+)\[([^\]]+)\]\.(.+)$/);
|
|
5298
|
-
if (bracketMatch) {
|
|
5299
|
-
const root = bracketMatch[1].charAt(0).toUpperCase() + bracketMatch[1].slice(1);
|
|
5300
|
-
const comp = formatComponentName(bracketMatch[2]);
|
|
5301
|
-
const sub = bracketMatch[3].split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
5302
|
-
formattedSearchLabel = `${root} [${comp}] > ${sub}`;
|
|
5303
|
-
} else if (searchAttribute.includes(".")) {
|
|
5304
|
-
formattedSearchLabel = searchAttribute.split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
5305
|
-
}
|
|
5306
|
-
cols.push({
|
|
5307
|
-
key: "search_attr",
|
|
5308
|
-
label: `Search: "${formattedSearchLabel}"`,
|
|
5309
|
-
sortable: !col.isSingleType && col.attributes.includes(searchAttribute),
|
|
5310
|
-
defaultVisible: true
|
|
5311
|
-
});
|
|
5312
|
-
}
|
|
5313
|
-
if (selectedAttribute && selectedAttribute.trim()) {
|
|
5314
|
-
let formattedTargetLabel = selectedAttribute;
|
|
5315
|
-
const bracketMatch = selectedAttribute.match(/^([^.[]+)\[([^\]]+)\]\.(.+)$/);
|
|
5316
|
-
if (bracketMatch) {
|
|
5317
|
-
const root = bracketMatch[1].charAt(0).toUpperCase() + bracketMatch[1].slice(1);
|
|
5318
|
-
const comp = formatComponentName(bracketMatch[2]);
|
|
5319
|
-
const sub = bracketMatch[3].split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
5320
|
-
formattedTargetLabel = `${root} [${comp}] > ${sub}`;
|
|
5321
|
-
} else if (selectedAttribute.includes(".")) {
|
|
5322
|
-
formattedTargetLabel = selectedAttribute.split(".").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(" > ");
|
|
5323
|
-
}
|
|
5324
|
-
const targetLabel = searchAttribute && searchAttribute !== selectedAttribute ? `Update Target: "${formattedTargetLabel}"` : `Current "${formattedTargetLabel}"`;
|
|
5325
|
-
cols.push({
|
|
5326
|
-
key: "target_attr",
|
|
5327
|
-
label: targetLabel,
|
|
5328
|
-
sortable: !col.isSingleType && col.attributes.includes(selectedAttribute),
|
|
5329
|
-
defaultVisible: true
|
|
5330
|
-
});
|
|
5331
|
-
}
|
|
5332
|
-
cols.push({
|
|
5333
|
-
key: "status",
|
|
5334
|
-
label: "Status",
|
|
5335
|
-
sortable: false,
|
|
5336
|
-
defaultVisible: true
|
|
5337
|
-
});
|
|
5338
|
-
return cols;
|
|
5339
|
-
}
|
|
5340
5478
|
function getActiveSortLabel(currentSort, col) {
|
|
5341
5479
|
const f = currentSort.field;
|
|
5342
5480
|
const o = currentSort.order;
|
|
@@ -5466,7 +5604,7 @@ function renderHeaderCell(colDef, col, currentSort, selectedAttribute, searchAtt
|
|
|
5466
5604
|
if (colDef.key === "select") {
|
|
5467
5605
|
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Th, { style: { width: 48 }, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", children: "Select" }) }, "select");
|
|
5468
5606
|
}
|
|
5469
|
-
const isCurrentSorted = colDef.key === "identifier" && (currentSort.field === "name" || currentSort.field === "title" || currentSort.field === "id") || colDef.key === "search_attr" && currentSort.field === searchAttribute || colDef.key === "target_attr" && currentSort.field === selectedAttribute || colDef.key.startsWith("attr_") && (currentSort.field === colDef.key.replace("attr_", "") || currentSort.field === "updatedAt" && colDef.key === "attr_updated_at" || currentSort.field === "updated_at" && colDef.key === "attr_updatedAt" || currentSort.field === "createdAt" && colDef.key === "attr_created_at" || currentSort.field === "created_at" && colDef.key === "attr_createdAt" || currentSort.field === "publishedAt" && colDef.key === "attr_published_at" || currentSort.field === "published_at" && colDef.key === "attr_publishedAt");
|
|
5607
|
+
const isCurrentSorted = colDef.key === "identifier" && (currentSort.field === "name" || currentSort.field === "title" || currentSort.field === "id") || colDef.key === "search_attr" && currentSort.field === searchAttribute || (colDef.key === "target_attr" || colDef.key === "current_attr") && currentSort.field === selectedAttribute || colDef.key.startsWith("attr_") && (currentSort.field === colDef.key.replace("attr_", "") || currentSort.field === "updatedAt" && colDef.key === "attr_updated_at" || currentSort.field === "updated_at" && colDef.key === "attr_updatedAt" || currentSort.field === "createdAt" && colDef.key === "attr_created_at" || currentSort.field === "created_at" && colDef.key === "attr_createdAt" || currentSort.field === "publishedAt" && colDef.key === "attr_published_at" || currentSort.field === "published_at" && colDef.key === "attr_publishedAt");
|
|
5470
5608
|
const sortArrow = isCurrentSorted ? currentSort.order === "asc" ? "▲" : "▼" : "⇅";
|
|
5471
5609
|
const handleClick = () => {
|
|
5472
5610
|
if (!colDef.sortable) return;
|
|
@@ -5475,7 +5613,7 @@ function renderHeaderCell(colDef, col, currentSort, selectedAttribute, searchAtt
|
|
|
5475
5613
|
onSort(col.uid, field);
|
|
5476
5614
|
} else if (colDef.key === "search_attr") {
|
|
5477
5615
|
onSort(col.uid, searchAttribute);
|
|
5478
|
-
} else if (colDef.key === "target_attr") {
|
|
5616
|
+
} else if (colDef.key === "target_attr" || colDef.key === "current_attr") {
|
|
5479
5617
|
onSort(col.uid, selectedAttribute);
|
|
5480
5618
|
} else if (colDef.key.startsWith("attr_")) {
|
|
5481
5619
|
onSort(col.uid, colDef.key.replace("attr_", ""));
|
|
@@ -5519,7 +5657,7 @@ function formatDisplayValue(val) {
|
|
|
5519
5657
|
}
|
|
5520
5658
|
return String(val);
|
|
5521
5659
|
}
|
|
5522
|
-
function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribute, isMatch, hasAttr, isSelected, onToggleSelect, pendingBatches = [], isDzExpanded = false, onToggleExpandDz, filterQuery = "", gridCtx) {
|
|
5660
|
+
function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribute, isMatch, hasAttr, isSelected, onToggleSelect, pendingBatches = [], isDzExpanded = false, onToggleExpandDz, filterQuery = "", gridCtx, cellTooltip) {
|
|
5523
5661
|
switch (colDef.key) {
|
|
5524
5662
|
case "select":
|
|
5525
5663
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5571,6 +5709,7 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5571
5709
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5572
5710
|
designSystem.Typography,
|
|
5573
5711
|
{
|
|
5712
|
+
title: cellTooltip || displayStr,
|
|
5574
5713
|
textColor: isUnset ? "neutral500" : "primary700",
|
|
5575
5714
|
fontWeight: "semiBold",
|
|
5576
5715
|
style: {
|
|
@@ -5589,9 +5728,11 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5589
5728
|
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { direction: "column", gap: 1, alignItems: "flex-start", style: { maxWidth: 320 }, children: matches.map((m) => {
|
|
5590
5729
|
const displayStr = formatDisplayValue(m.value);
|
|
5591
5730
|
const isMatchItem = qLower && displayStr.toLowerCase().includes(qLower);
|
|
5731
|
+
const occTooltip = `#${m.index} ${m.componentName || "Item"}${m.componentId !== void 0 ? ` (id: ${m.componentId})` : ""}: ${formatFullTooltipValue(m.value)}`;
|
|
5592
5732
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5593
5733
|
designSystem.Flex,
|
|
5594
5734
|
{
|
|
5735
|
+
title: occTooltip,
|
|
5595
5736
|
gap: 1,
|
|
5596
5737
|
alignItems: "center",
|
|
5597
5738
|
style: {
|
|
@@ -5611,6 +5752,7 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5611
5752
|
designSystem.Typography,
|
|
5612
5753
|
{
|
|
5613
5754
|
variant: "pi",
|
|
5755
|
+
title: occTooltip,
|
|
5614
5756
|
fontWeight: isMatchItem ? "bold" : "normal",
|
|
5615
5757
|
textColor: isMatchItem ? "success700" : "neutral800",
|
|
5616
5758
|
style: {
|
|
@@ -5628,6 +5770,80 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5628
5770
|
);
|
|
5629
5771
|
}) });
|
|
5630
5772
|
}
|
|
5773
|
+
case "current_attr": {
|
|
5774
|
+
if (selectedAttribute && !hasAttr) {
|
|
5775
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Badge, { backgroundColor: "neutral200", textColor: "neutral600", children: "Ignored (absent in schema)" });
|
|
5776
|
+
}
|
|
5777
|
+
const matches = getAllNestedValues(entry, selectedAttribute, col?.attributes);
|
|
5778
|
+
if (matches.length === 0) {
|
|
5779
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral500", style: { fontStyle: "italic" }, children: "(empty / not set)" });
|
|
5780
|
+
}
|
|
5781
|
+
if (matches.length === 1 && !matches[0].componentUid && !matches[0].path.includes("[#")) {
|
|
5782
|
+
const displayStr = formatDisplayValue(matches[0].value);
|
|
5783
|
+
const isUnset = displayStr === "(empty / not set)" || displayStr === "(empty / unlinked)";
|
|
5784
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5785
|
+
designSystem.Typography,
|
|
5786
|
+
{
|
|
5787
|
+
title: cellTooltip || displayStr,
|
|
5788
|
+
textColor: isUnset ? "neutral500" : "neutral800",
|
|
5789
|
+
style: {
|
|
5790
|
+
fontStyle: isUnset ? "italic" : "normal",
|
|
5791
|
+
display: "inline-block",
|
|
5792
|
+
maxWidth: 260,
|
|
5793
|
+
overflow: "hidden",
|
|
5794
|
+
textOverflow: "ellipsis",
|
|
5795
|
+
whiteSpace: "nowrap"
|
|
5796
|
+
},
|
|
5797
|
+
children: displayStr
|
|
5798
|
+
}
|
|
5799
|
+
);
|
|
5800
|
+
}
|
|
5801
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { direction: "column", gap: 1, alignItems: "flex-start", style: { maxWidth: 320 }, children: matches.map((m) => {
|
|
5802
|
+
const displayStr = formatDisplayValue(m.value);
|
|
5803
|
+
const occTooltip = `#${m.index} ${m.componentName || "Item"}${m.componentId !== void 0 ? ` (id: ${m.componentId})` : ""}: ${formatFullTooltipValue(m.value)}`;
|
|
5804
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5805
|
+
designSystem.Flex,
|
|
5806
|
+
{
|
|
5807
|
+
title: occTooltip,
|
|
5808
|
+
gap: 1,
|
|
5809
|
+
alignItems: "center",
|
|
5810
|
+
style: {
|
|
5811
|
+
backgroundColor: "rgba(0, 0, 0, 0.03)",
|
|
5812
|
+
padding: "2px 6px",
|
|
5813
|
+
borderRadius: 4
|
|
5814
|
+
},
|
|
5815
|
+
children: [
|
|
5816
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Badge, { size: "S", backgroundColor: "neutral200", textColor: "neutral800", children: [
|
|
5817
|
+
"#",
|
|
5818
|
+
m.index,
|
|
5819
|
+
" ",
|
|
5820
|
+
m.componentName || "Item"
|
|
5821
|
+
] }),
|
|
5822
|
+
m.componentId !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "0.68rem" }, children: [
|
|
5823
|
+
"id:",
|
|
5824
|
+
m.componentId
|
|
5825
|
+
] }),
|
|
5826
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5827
|
+
designSystem.Typography,
|
|
5828
|
+
{
|
|
5829
|
+
variant: "pi",
|
|
5830
|
+
title: occTooltip,
|
|
5831
|
+
textColor: "neutral800",
|
|
5832
|
+
style: {
|
|
5833
|
+
maxWidth: 200,
|
|
5834
|
+
overflow: "hidden",
|
|
5835
|
+
textOverflow: "ellipsis",
|
|
5836
|
+
whiteSpace: "nowrap"
|
|
5837
|
+
},
|
|
5838
|
+
children: displayStr
|
|
5839
|
+
}
|
|
5840
|
+
)
|
|
5841
|
+
]
|
|
5842
|
+
},
|
|
5843
|
+
m.index
|
|
5844
|
+
);
|
|
5845
|
+
}) });
|
|
5846
|
+
}
|
|
5631
5847
|
case "target_attr": {
|
|
5632
5848
|
if (gridCtx?.gridEditMode) {
|
|
5633
5849
|
if (selectedAttribute && !hasAttr) {
|
|
@@ -5721,6 +5937,7 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5721
5937
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5722
5938
|
designSystem.Typography,
|
|
5723
5939
|
{
|
|
5940
|
+
title: cellTooltip || displayStr,
|
|
5724
5941
|
textColor: isUnset ? "neutral500" : "neutral800",
|
|
5725
5942
|
style: {
|
|
5726
5943
|
fontStyle: isUnset ? "italic" : "normal",
|
|
@@ -5736,9 +5953,11 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5736
5953
|
}
|
|
5737
5954
|
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { direction: "column", gap: 1, alignItems: "flex-start", style: { maxWidth: 320 }, children: matches.map((m) => {
|
|
5738
5955
|
const displayStr = formatDisplayValue(m.value);
|
|
5956
|
+
const occTooltip = `#${m.index} ${m.componentName || "Item"}${m.componentId !== void 0 ? ` (id: ${m.componentId})` : ""}: ${formatFullTooltipValue(m.value)}`;
|
|
5739
5957
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5740
5958
|
designSystem.Flex,
|
|
5741
5959
|
{
|
|
5960
|
+
title: occTooltip,
|
|
5742
5961
|
gap: 1,
|
|
5743
5962
|
alignItems: "center",
|
|
5744
5963
|
style: {
|
|
@@ -5751,12 +5970,17 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5751
5970
|
"#",
|
|
5752
5971
|
m.index,
|
|
5753
5972
|
" ",
|
|
5754
|
-
m.componentName
|
|
5973
|
+
m.componentName || "Item"
|
|
5974
|
+
] }),
|
|
5975
|
+
m.componentId !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "0.68rem" }, children: [
|
|
5976
|
+
"id:",
|
|
5977
|
+
m.componentId
|
|
5755
5978
|
] }),
|
|
5756
5979
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5757
5980
|
designSystem.Typography,
|
|
5758
5981
|
{
|
|
5759
5982
|
variant: "pi",
|
|
5983
|
+
title: occTooltip,
|
|
5760
5984
|
textColor: "neutral800",
|
|
5761
5985
|
style: {
|
|
5762
5986
|
maxWidth: 200,
|
|
@@ -5794,6 +6018,7 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5794
6018
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5795
6019
|
designSystem.Typography,
|
|
5796
6020
|
{
|
|
6021
|
+
title: cellTooltip || (displayStr === "(empty / not set)" ? void 0 : displayStr),
|
|
5797
6022
|
textColor: "neutral700",
|
|
5798
6023
|
style: { maxWidth: 200, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
|
|
5799
6024
|
children: displayStr === "(empty / not set)" ? "-" : displayStr
|
|
@@ -5802,9 +6027,11 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5802
6027
|
}
|
|
5803
6028
|
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { direction: "column", gap: 1, alignItems: "flex-start", style: { maxWidth: 320 }, children: matches.map((m, mIdx) => {
|
|
5804
6029
|
const displayStr = formatDisplayValue(m.value);
|
|
6030
|
+
const occTooltip = `#${m.index} ${m.componentName || "Item"}${m.componentId !== void 0 ? ` (id: ${m.componentId})` : ""}: ${formatFullTooltipValue(m.value)}`;
|
|
5805
6031
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5806
6032
|
designSystem.Flex,
|
|
5807
6033
|
{
|
|
6034
|
+
title: occTooltip,
|
|
5808
6035
|
gap: 1,
|
|
5809
6036
|
alignItems: "center",
|
|
5810
6037
|
style: {
|
|
@@ -5827,6 +6054,7 @@ function renderCellContent(colDef, entry, col, selectedAttribute, searchAttribut
|
|
|
5827
6054
|
designSystem.Typography,
|
|
5828
6055
|
{
|
|
5829
6056
|
variant: "pi",
|
|
6057
|
+
title: occTooltip,
|
|
5830
6058
|
textColor: "neutral800",
|
|
5831
6059
|
style: {
|
|
5832
6060
|
maxWidth: 200,
|
|
@@ -6468,8 +6696,11 @@ const BulkUpdater = () => {
|
|
|
6468
6696
|
if (selectedCollectionUid) {
|
|
6469
6697
|
setCollectionColumnVisibility((prev) => {
|
|
6470
6698
|
const existing = prev[selectedCollectionUid];
|
|
6471
|
-
if (existing
|
|
6472
|
-
|
|
6699
|
+
if (existing) {
|
|
6700
|
+
const next = [...existing];
|
|
6701
|
+
if (!next.includes("current_attr")) next.push("current_attr");
|
|
6702
|
+
if (!next.includes("target_attr")) next.push("target_attr");
|
|
6703
|
+
return { ...prev, [selectedCollectionUid]: next };
|
|
6473
6704
|
}
|
|
6474
6705
|
return prev;
|
|
6475
6706
|
});
|
|
@@ -6551,6 +6782,18 @@ const BulkUpdater = () => {
|
|
|
6551
6782
|
}
|
|
6552
6783
|
setGridEdits({});
|
|
6553
6784
|
setSelectedAttribute(newAttr);
|
|
6785
|
+
if (newAttr && selectedCollectionUid) {
|
|
6786
|
+
setCollectionColumnVisibility((prev) => {
|
|
6787
|
+
const existing = prev[selectedCollectionUid];
|
|
6788
|
+
if (existing) {
|
|
6789
|
+
const next = [...existing];
|
|
6790
|
+
if (!next.includes("current_attr")) next.push("current_attr");
|
|
6791
|
+
if (!next.includes("target_attr")) next.push("target_attr");
|
|
6792
|
+
return { ...prev, [selectedCollectionUid]: next };
|
|
6793
|
+
}
|
|
6794
|
+
return prev;
|
|
6795
|
+
});
|
|
6796
|
+
}
|
|
6554
6797
|
try {
|
|
6555
6798
|
if (newAttr) {
|
|
6556
6799
|
localStorage.setItem(LAST_ATTR_KEY, newAttr);
|
|
@@ -7269,7 +7512,7 @@ const BulkUpdater = () => {
|
|
|
7269
7512
|
if (c.key.startsWith("attr_")) {
|
|
7270
7513
|
const attr = c.key.slice(5);
|
|
7271
7514
|
if (!selectedDataAttrs.includes(attr)) selectedDataAttrs.push(attr);
|
|
7272
|
-
} else if (c.key === "target_attr" && selectedAttribute) {
|
|
7515
|
+
} else if ((c.key === "target_attr" || c.key === "current_attr") && selectedAttribute) {
|
|
7273
7516
|
if (!selectedDataAttrs.includes(selectedAttribute)) selectedDataAttrs.push(selectedAttribute);
|
|
7274
7517
|
} else if (c.key === "search_attr" && searchAttribute) {
|
|
7275
7518
|
if (!selectedDataAttrs.includes(searchAttribute)) selectedDataAttrs.push(searchAttribute);
|
|
@@ -8493,7 +8736,7 @@ const BulkUpdater = () => {
|
|
|
8493
8736
|
if (c.key.startsWith("attr_")) {
|
|
8494
8737
|
const attr = c.key.slice(5);
|
|
8495
8738
|
if (!selectedDataAttrs.includes(attr)) selectedDataAttrs.push(attr);
|
|
8496
|
-
} else if (c.key === "target_attr" && selectedAttribute) {
|
|
8739
|
+
} else if ((c.key === "target_attr" || c.key === "current_attr") && selectedAttribute) {
|
|
8497
8740
|
if (!selectedDataAttrs.includes(selectedAttribute)) selectedDataAttrs.push(selectedAttribute);
|
|
8498
8741
|
} else if (c.key === "search_attr" && searchAttribute) {
|
|
8499
8742
|
if (!selectedDataAttrs.includes(searchAttribute)) selectedDataAttrs.push(searchAttribute);
|
|
@@ -8644,22 +8887,33 @@ const BulkUpdater = () => {
|
|
|
8644
8887
|
backgroundColor: recordEdits ? "rgba(73, 69, 255, 0.10)" : isSelected ? "rgba(73, 69, 255, 0.14)" : isMatch ? "rgba(46, 213, 115, 0.08)" : void 0,
|
|
8645
8888
|
boxShadow: isSelected ? "inset 3px 0 0 0 #4945ff" : isMatch ? "inset 3px 0 0 0 #2ed573" : void 0
|
|
8646
8889
|
},
|
|
8647
|
-
children: activeColumns.map((colDef) =>
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8890
|
+
children: activeColumns.map((colDef) => {
|
|
8891
|
+
const cellTooltip = getCellTooltipText(
|
|
8892
|
+
colDef,
|
|
8893
|
+
entry,
|
|
8894
|
+
col?.attributes,
|
|
8895
|
+
selectedAttribute,
|
|
8896
|
+
searchAttribute,
|
|
8897
|
+
recordEdits
|
|
8898
|
+
);
|
|
8899
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Td, { title: cellTooltip, children: renderCellContent(
|
|
8900
|
+
colDef,
|
|
8901
|
+
entry,
|
|
8902
|
+
col,
|
|
8903
|
+
selectedAttribute,
|
|
8904
|
+
searchAttribute,
|
|
8905
|
+
isMatch,
|
|
8906
|
+
hasAttr,
|
|
8907
|
+
isSelected,
|
|
8908
|
+
() => toggleEntry(col.uid, entry.documentId),
|
|
8909
|
+
pendingBatches,
|
|
8910
|
+
isDzExpanded,
|
|
8911
|
+
onToggleExpandDz,
|
|
8912
|
+
filterQuery,
|
|
8913
|
+
gridCtx,
|
|
8914
|
+
cellTooltip
|
|
8915
|
+
) }, colDef.key);
|
|
8916
|
+
})
|
|
8663
8917
|
}
|
|
8664
8918
|
),
|
|
8665
8919
|
isDzExpanded && expandableArrayFields.map((dzKey) => {
|
|
@@ -10273,12 +10527,14 @@ const BulkUpdater = () => {
|
|
|
10273
10527
|
exports.default = BulkUpdater;
|
|
10274
10528
|
exports.formatComponentName = formatComponentName;
|
|
10275
10529
|
exports.formatDisplayValue = formatDisplayValue;
|
|
10530
|
+
exports.formatFullTooltipValue = formatFullTooltipValue;
|
|
10276
10531
|
exports.getActiveSortLabel = getActiveSortLabel;
|
|
10277
10532
|
exports.getAllNestedValues = getAllNestedValues;
|
|
10278
10533
|
exports.getAvailableColumnsForCollection = getAvailableColumnsForCollection;
|
|
10534
|
+
exports.getCellTooltipText = getCellTooltipText;
|
|
10279
10535
|
exports.getEntryLifecycleStatus = getEntryLifecycleStatus;
|
|
10280
10536
|
exports.getNestedValue = getNestedValue;
|
|
10281
10537
|
exports.getPropertyValue = getPropertyValue;
|
|
10282
10538
|
exports.getSortOptionsForCollection = getSortOptionsForCollection;
|
|
10283
10539
|
exports.parseDynamicZonePath = parseDynamicZonePath;
|
|
10284
|
-
//# sourceMappingURL=BulkUpdater-
|
|
10540
|
+
//# sourceMappingURL=BulkUpdater-BEhLlXOK.js.map
|