@iblai/iblai-js 2.67.1 → 2.67.2

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.
Files changed (32) hide show
  1. package/dist/playwright/index.cjs +20 -20
  2. package/dist/playwright/index.cjs.map +1 -1
  3. package/dist/playwright/index.esm.js +20 -20
  4. package/dist/playwright/index.esm.js.map +1 -1
  5. package/dist/web-containers/source/_virtual/index2.js +2 -2
  6. package/dist/web-containers/source/_virtual/index3.js +2 -2
  7. package/dist/web-containers/source/components/profile/csv-editor.js +45 -8
  8. package/dist/web-containers/source/components/profile/csv-editor.js.map +1 -1
  9. package/dist/web-containers/source/csv-editor.js +45 -8
  10. package/dist/web-containers/source/csv-editor.js.map +1 -1
  11. package/dist/web-containers/source/index2.js +2 -2
  12. package/dist/web-containers/source/index3.js +2 -2
  13. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_react-virtual@3.14.25_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@tanstack/react-virtual/dist/esm/index.js +138 -0
  14. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_react-virtual@3.14.25_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@tanstack/react-virtual/dist/esm/index.js.map +1 -0
  15. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/index.js +1636 -0
  16. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/index.js.map +1 -0
  17. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/ios-gesture.js +122 -0
  18. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/ios-gesture.js.map +1 -0
  19. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +36 -0
  20. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js.map +1 -0
  21. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/scroll-classifier.js +82 -0
  22. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/scroll-classifier.js.map +1 -0
  23. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/utils.js +80 -0
  24. package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/utils.js.map +1 -0
  25. package/dist/web-containers/source/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
  26. package/dist/web-containers/source/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
  27. package/dist/web-containers/source/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  28. package/dist/web-containers/source/profile/csv-editor.js +45 -8
  29. package/dist/web-containers/source/profile/csv-editor.js.map +1 -1
  30. package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
  31. package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
  32. package/package.json +4 -4
@@ -1056,14 +1056,15 @@ async function shouldAddNewRowWhenClickingAddRowButton(page) {
1056
1056
  return;
1057
1057
  }
1058
1058
  const table = csvEditorDialog.locator('table');
1059
- const initialRowCount = await table.locator('tbody tr').count();
1059
+ // Rows are virtualized, so count them from the table's row count, not the DOM.
1060
+ const initialRowCount = Number(await table.getAttribute('aria-rowcount'));
1060
1061
  const addRowButton = csvEditorDialog.getByRole('button', {
1061
1062
  name: 'Add Row',
1062
1063
  });
1063
1064
  await test$1.expect(addRowButton).toBeVisible();
1064
1065
  await addRowButton.click();
1065
- const newRowCount = await table.locator('tbody tr').count();
1066
- test$1.expect(newRowCount).toBe(initialRowCount + 1);
1066
+ await test$1.expect(table).toHaveAttribute('aria-rowcount', String(initialRowCount + 1));
1067
+ const newRowCount = initialRowCount + 1;
1067
1068
  logger.info(`Added new row. Row count changed from ${initialRowCount} to ${newRowCount}`);
1068
1069
  }
1069
1070
  async function shouldSaveEditedCSVAndTriggerDownload(page) {
@@ -1256,31 +1257,30 @@ async function shouldDirectlyDownloadChatHistoryReportWithoutCSVEditor(page) {
1256
1257
  const dialogOpened = await csvEditorDialog.isVisible().catch(() => false);
1257
1258
  test$1.expect(dialogOpened).toBeFalsy();
1258
1259
  }
1260
+ // A small report keeps the run fast and the CSV editor responsive; the first card can be a
1261
+ // multi-megabyte one (e.g. the Agent Interaction Research Report).
1262
+ const SMALL_REPORT_NAME = 'Agent List Report';
1259
1263
  async function shouldDisableOtherDownloadButtonsWhileGeneratingReport(page) {
1260
1264
  const dataReportsTab = page.getByRole('tab', { name: 'Data Reports' });
1261
1265
  await test$1.expect(dataReportsTab).toBeVisible({ timeout: 120000 });
1262
1266
  await dataReportsTab.click();
1263
1267
  await waitForPageReady(page);
1264
- const downloadButtons = page.getByRole('button', {
1265
- name: 'Download report',
1266
- });
1267
- const buttonCount = await downloadButtons.count();
1268
- if (buttonCount < 2) {
1269
- logger.info('Not enough report cards to test disabled state - skipping');
1268
+ const reportCards = page.getByLabel(/ report card$/);
1269
+ const smallReportCard = page.getByLabel(`${SMALL_REPORT_NAME} report card`);
1270
+ const otherDownloadButton = reportCards
1271
+ .filter({ hasNotText: SMALL_REPORT_NAME })
1272
+ .first()
1273
+ .getByRole('button', { name: 'Download report' });
1274
+ const hasSmallReport = await smallReportCard.isVisible().catch(() => false);
1275
+ if (!hasSmallReport || (await otherDownloadButton.count()) === 0) {
1276
+ logger.info(`No ${SMALL_REPORT_NAME} card plus another report card - skipping`);
1270
1277
  test$1.skip();
1271
1278
  return;
1272
1279
  }
1273
- // Trigger generation on the first report card (preferring Regenerate when present so the
1274
- // date-range picker always shows, then confirming it).
1275
- const firstCard = page.getByLabel(/ report card$/).first();
1276
- await triggerReportFromCard(page, firstCard);
1277
- //slight timeout to wait for other download buttons to be disabled
1278
- await page.waitForTimeout(500);
1279
- const secondButton = downloadButtons.nth(1);
1280
- const isSecondDisabled = await secondButton.isDisabled();
1281
- if (isSecondDisabled) {
1282
- logger.info('Other download buttons correctly disabled during report generation');
1283
- }
1280
+ await test$1.expect(otherDownloadButton).toBeEnabled();
1281
+ await triggerReportFromCard(page, smallReportCard);
1282
+ await test$1.expect(otherDownloadButton).toBeDisabled();
1283
+ logger.info('Other download buttons correctly disabled during report generation');
1284
1284
  const csvEditorDialog = await waitForReportOutcomeOrCSVDialogOpen(page);
1285
1285
  if (!csvEditorDialog) {
1286
1286
  test$1.skip();