@aiquants/daily-report 0.38.0 → 0.40.0

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/client.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react from "react";
2
2
  import { RefObject, ReactNode, Context } from "react";
3
- import { D as DailyReportItem, a as DailyReportUser, b as DailyReportSseTerminalEvent, c as DailyReportSseMessage, d as DailyReportDetail } from "./sse-schema-byewDmZK.mjs";
3
+ import { D as DailyReportItem, a as DailyReportSseStreamAnchor, b as DailyReportUser, c as DailyReportSseTerminalEvent, d as DailyReportSseMessage, e as DailyReportDetail } from "./sse-schema-S7gXWA2N.mjs";
4
4
  import { VirtualScrollLocale, VirtualScrollLabels, VirtualScrollHandle } from "@aiquants/virtualscroll";
5
- import { D as DailyReportActionIntent, a as DailyReportSseStreamAnchor, U as UIComment } from "./comment-adapter-BsbOiHmX.mjs";
5
+ import { D as DailyReportActionIntent, U as UIComment } from "./comment-adapter-BbGh4nc0.mjs";
6
6
  import { D as DailyReportSearchFilterFacet } from "./search-filters-wire-5MWi6GWu.mjs";
7
7
  export { a as DAILY_REPORT_SEARCH_FILTER_FACETS } from "./search-filters-wire-5MWi6GWu.mjs";
8
8
  import { UseReopeningEventSourceResult } from "@aiquants/sse/react";
@@ -14,6 +14,7 @@ type DailyReportAttachmentIndicatorProps = {
14
14
  label: string;
15
15
  };
16
16
  declare const DailyReportAttachmentIndicator: ({ id, count, label }: DailyReportAttachmentIndicatorProps) => react.JSX.Element | null;
17
+ type DailyReportRows = Pick<ReadonlyArray<DailyReportItem>, "length" | "at"> & Iterable<DailyReportItem>;
17
18
  type DailyReportDetailListScrollRestore = {
18
19
  topItem: {
19
20
  reportHubId: number;
@@ -24,7 +25,7 @@ type DailyReportDetailListScrollRestore = {
24
25
  measuredHeights: Map<number, number>;
25
26
  };
26
27
  type DailyReportDetailListProps = {
27
- dailyReportItems: Pick<ReadonlyArray<DailyReportItem>, "length" | "at"> & Iterable<DailyReportItem>;
28
+ dailyReportItems: DailyReportRows;
28
29
  rowSetSize?: number;
29
30
  userId?: string | null;
30
31
  selectedItemId?: number | null;
@@ -34,7 +35,7 @@ type DailyReportDetailListProps = {
34
35
  declare const DailyReportDetailList: (props: DailyReportDetailListProps) => react.JSX.Element;
35
36
  declare const DailyReportIdsStreamStatus: () => react.JSX.Element;
36
37
  type DailyReportListProps = {
37
- dailyReportItems: Pick<ReadonlyArray<DailyReportItem>, "length" | "at"> & Iterable<DailyReportItem>;
38
+ dailyReportItems: DailyReportRows;
38
39
  rowSetSize?: number;
39
40
  autoMarkRead?: boolean;
40
41
  selectedReportHubId: number | null;
@@ -156,6 +157,8 @@ type DailyReportLabels = VirtualScrollLabels & {
156
157
  readonly searchFailed: (failure: DailyReportSearchFailure) => string;
157
158
  readonly searchMatchedKeywords: (matched: number, total: number) => string;
158
159
  readonly searchMatchedKeywordsDescription: (matched: number, total: number) => string;
160
+ readonly searchFieldMatched: (field: string) => string;
161
+ readonly searchFieldMatchedByReading: (field: string) => string;
159
162
  readonly searchFiltersToggle: (count: number) => string;
160
163
  readonly searchFiltersFailed: (failure: Exclude<DailyReportSearchFailure, "invalid">) => string;
161
164
  };
@@ -280,6 +283,8 @@ declare const DAILY_REPORT_LABEL_KEYS: readonly [
280
283
  "searchFailed",
281
284
  "searchMatchedKeywords",
282
285
  "searchMatchedKeywordsDescription",
286
+ "searchFieldMatched",
287
+ "searchFieldMatchedByReading",
283
288
  "searchFiltersToggle",
284
289
  "searchFiltersFailed"
285
290
  ];
@@ -324,7 +329,6 @@ type DailyReportSearchSettingInput = {
324
329
  type DailyReportClientConfig = {
325
330
  apiBasePath: string;
326
331
  ssePath: string;
327
- draftLabelName: string;
328
332
  locale: DailyReportLocale;
329
333
  labels: DailyReportLabels;
330
334
  sourceTypeConfigs: Record<string, SourceTypeConfig>;
@@ -341,7 +345,7 @@ type DailyReportClientConfigInput = Partial<Omit<DailyReportClientConfig, "local
341
345
  onSessionExpired: () => void;
342
346
  search?: DailyReportSearchSettingInput;
343
347
  };
344
- type DailyReportClientConfigDefaults = Readonly<Pick<DailyReportClientConfig, "apiBasePath" | "ssePath" | "draftLabelName" | "renderHeader" | "showDevControls" | "headingLevel">>;
348
+ type DailyReportClientConfigDefaults = Readonly<Pick<DailyReportClientConfig, "apiBasePath" | "ssePath" | "renderHeader" | "showDevControls" | "headingLevel">>;
345
349
  declare const defaultDailyReportClientConfig: DailyReportClientConfigDefaults;
346
350
  declare const DailyReportConfigProvider: ({ config, children }: {
347
351
  config: DailyReportClientConfigInput;
@@ -349,16 +353,25 @@ declare const DailyReportConfigProvider: ({ config, children }: {
349
353
  }) => react.JSX.Element;
350
354
  declare const useDailyReportConfig: () => DailyReportClientConfig;
351
355
  declare const resolveSourceTypeConfig: (sourceType?: string | null, sourceTypeConfigs?: Record<string, SourceTypeConfig>) => SourceTypeConfig | undefined;
352
- type DailyReportIdsStreamItemReplacement = {
353
- readonly previous: DailyReportItem;
354
- readonly next: DailyReportItem;
356
+ declare class DailyReportRowBatch {
357
+ readonly length: number;
358
+ readonly ids: Float64Array;
359
+ readonly businessDateCodes: Uint16Array;
360
+ readonly sourceTypeCodes: Uint8Array;
361
+ constructor(length: number, ids: Float64Array, businessDateCodes: Uint16Array, sourceTypeCodes: Uint8Array);
362
+ itemAt(index: number): DailyReportItem;
363
+ items(): DailyReportItem[];
364
+ }
365
+ type DailyReportIdsStreamItemReplacements = {
366
+ readonly previous: DailyReportRowBatch;
367
+ readonly next: DailyReportRowBatch;
355
368
  };
356
369
  type DailyReportIdsStreamItemsChange = {
357
370
  readonly base: number;
358
371
  readonly revision: number;
359
- readonly appended: readonly DailyReportItem[];
360
- readonly replaced: readonly DailyReportIdsStreamItemReplacement[];
361
- readonly removed: readonly DailyReportItem[];
372
+ readonly appended: DailyReportRowBatch;
373
+ readonly replaced: DailyReportIdsStreamItemReplacements;
374
+ readonly removed: DailyReportRowBatch;
362
375
  };
363
376
  type DailyReportIdsStreamPhase = "idle" | "streaming" | "retrying" | "complete" | "failed" | "auth-required";
364
377
  type DailyReportIdsStreamState = {
@@ -394,7 +407,7 @@ declare class DailyReportIdsStreamClient {
394
407
  private readonly clearTimeoutFn;
395
408
  private readonly warn;
396
409
  private readonly readStallTimeoutMs;
397
- private readonly itemMap;
410
+ private readonly rows;
398
411
  private readonly listeners;
399
412
  private state;
400
413
  private streamAnchorRevision;
@@ -405,7 +418,6 @@ declare class DailyReportIdsStreamClient {
405
418
  private disposed;
406
419
  private loopGeneration;
407
420
  private activeAbortController;
408
- private activeSeenIds;
409
421
  private readonly externalRemovalTombstones;
410
422
  private pendingForceRefresh;
411
423
  private wakeRetryWait;
@@ -414,7 +426,7 @@ declare class DailyReportIdsStreamClient {
414
426
  private publishCoalesceTimer;
415
427
  private readonly now;
416
428
  private lastItemsPublishAt;
417
- private pendingItemsChange;
429
+ private readonly pendingItemsChange;
418
430
  constructor(options?: DailyReportIdsStreamClientOptions);
419
431
  getState(): DailyReportIdsStreamState;
420
432
  subscribe(listener: () => void): () => void;
@@ -427,11 +439,13 @@ declare class DailyReportIdsStreamClient {
427
439
  applyExternalUpsert(item: DailyReportItem): void;
428
440
  applyExternalRemoval(reportHubId: number): void;
429
441
  has(reportHubId: number): boolean;
442
+ readRows(): DailyReportRowBatch;
430
443
  readItems(): DailyReportItem[];
431
444
  dispose(): void;
432
445
  private runStreamLoop;
433
446
  private pruneUnseenItems;
434
447
  private streamOnce;
448
+ private awaitResponseHeaders;
435
449
  private watchReadSilence;
436
450
  private absorbChunkLine;
437
451
  private putItem;
@@ -518,7 +532,7 @@ type DailyReportActions = DailyReportActionFunctions & DailyReportActionLedgers
518
532
  };
519
533
  type DailyReportActionState = {
520
534
  version: number;
521
- items: Pick<ReadonlyArray<DailyReportItem>, "length" | "at"> & Iterable<DailyReportItem>;
535
+ items: DailyReportRows;
522
536
  isSseEnabled: boolean;
523
537
  sseStatus: DailyReportSseConnectionStatus;
524
538
  searchInvalidation: string;
@@ -566,4 +580,4 @@ declare const createDailyReportClientLoader: <TServerData extends Record<string,
566
580
  };
567
581
  declare const LATTICE_BLOCK_QUANTUM_CLASS_NAME = "[--aqdr-lattice-block:4px] [@media(resolution:1.125dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:1.375dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:1.625dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:1.875dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:2.125dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:2.375dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:2.625dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:2.875dppx)]:[--aqdr-lattice-block:8px]";
568
582
  declare const DAILY_REPORT_LAYOUT_LATTICE_PX = 4;
569
- export { DAILY_REPORT_LABEL_CATALOGS, DAILY_REPORT_LABEL_KEYS, LATTICE_BLOCK_QUANTUM_CLASS_NAME as DAILY_REPORT_LATTICE_BLOCK_QUANTUM_CLASS_NAME, DAILY_REPORT_LAYOUT_LATTICE_PX, type ReportBusinessDate as DailyReportActionBusinessDate, type DailyReportActionContextType, type DailyReportActionFunctions, type DailyReportActionLedgers, DailyReportActionProvider, type DailyReportActionState, type DailyReportActions, DailyReportAttachmentIndicator, type DailyReportAttachmentIndicatorProps, type DailyReportClientConfig, type DailyReportClientConfigDefaults, type DailyReportClientConfigInput, DailyReportConfigProvider, DailyReportDetailList, type DailyReportDetailListProps, type DailyReportDetailListScrollRestore, type DailyReportDetailResource, type DailyReportErrorInfo, DailyReportErrorProvider, type DailyReportHeaderProps, DailyReportIdsStreamClient, type DailyReportIdsStreamClientOptions, type DailyReportIdsStreamItemReplacement, type DailyReportIdsStreamItemsChange, type DailyReportIdsStreamPhase, type DailyReportIdsStreamState, DailyReportIdsStreamStatus, type DailyReportLabelOverrides, type DailyReportLabels, type DailyReportLedgerView, DailyReportList, type ListNavigationHandle as DailyReportListNavigationHandle, type DailyReportListProps, type DailyReportLocale, type DailyReportOperation, DailyReportPage, type DailyReportPageProps, DailyReportResolvedContent, type DailyReportResolvedContentProps, type ListScrollToIndexOptions as DailyReportRevealOptions, type DailyReportSearchFailure, DailyReportSearchFilterFacet, type DailyReportSearchFilterOption, type DailyReportSearchFilterSelectProps, type DailyReportSearchFilterSelectRenderer, type DailyReportSearchSetting, type DailyReportSearchSettingInput, type DailyReportSseConnectionStatus, type ViewTestHandle as DailyReportViewTestHandle, type ViewTestReadHandle as DailyReportViewTestReadHandle, type SourceTypeConfig, type UseDailyReportSseConnectionOptions, bootstrapDailyReportIdsStreamSession, createDailyReportClientLoader, dailyReportShouldRevalidate, defaultDailyReportClientConfig, ensureDailyReportIdsStreamSession, primeDailyReportIdsStreamSession, resolveDailyReportLabels, resolveSourceTypeConfig, resyncDailyReportIdsStream, useDailyReportActionContext, useDailyReportComments, useDailyReportConfig, useDailyReportDetail, useDailyReportIdsStream, useDailyReportPrefetch, useDailyReportSseConnection };
583
+ export { DAILY_REPORT_LABEL_CATALOGS, DAILY_REPORT_LABEL_KEYS, LATTICE_BLOCK_QUANTUM_CLASS_NAME as DAILY_REPORT_LATTICE_BLOCK_QUANTUM_CLASS_NAME, DAILY_REPORT_LAYOUT_LATTICE_PX, type ReportBusinessDate as DailyReportActionBusinessDate, type DailyReportActionContextType, type DailyReportActionFunctions, type DailyReportActionLedgers, DailyReportActionProvider, type DailyReportActionState, type DailyReportActions, DailyReportAttachmentIndicator, type DailyReportAttachmentIndicatorProps, type DailyReportClientConfig, type DailyReportClientConfigDefaults, type DailyReportClientConfigInput, DailyReportConfigProvider, DailyReportDetailList, type DailyReportDetailListProps, type DailyReportDetailListScrollRestore, type DailyReportDetailResource, type DailyReportErrorInfo, DailyReportErrorProvider, type DailyReportHeaderProps, DailyReportIdsStreamClient, type DailyReportIdsStreamClientOptions, type DailyReportIdsStreamItemReplacements, type DailyReportIdsStreamItemsChange, type DailyReportIdsStreamPhase, type DailyReportIdsStreamState, DailyReportIdsStreamStatus, type DailyReportLabelOverrides, type DailyReportLabels, type DailyReportLedgerView, DailyReportList, type ListNavigationHandle as DailyReportListNavigationHandle, type DailyReportListProps, type DailyReportLocale, type DailyReportOperation, DailyReportPage, type DailyReportPageProps, DailyReportResolvedContent, type DailyReportResolvedContentProps, type ListScrollToIndexOptions as DailyReportRevealOptions, DailyReportRowBatch, type DailyReportRows, type DailyReportSearchFailure, DailyReportSearchFilterFacet, type DailyReportSearchFilterOption, type DailyReportSearchFilterSelectProps, type DailyReportSearchFilterSelectRenderer, type DailyReportSearchSetting, type DailyReportSearchSettingInput, type DailyReportSseConnectionStatus, type ViewTestHandle as DailyReportViewTestHandle, type ViewTestReadHandle as DailyReportViewTestReadHandle, type SourceTypeConfig, type UseDailyReportSseConnectionOptions, bootstrapDailyReportIdsStreamSession, createDailyReportClientLoader, dailyReportShouldRevalidate, defaultDailyReportClientConfig, ensureDailyReportIdsStreamSession, primeDailyReportIdsStreamSession, resolveDailyReportLabels, resolveSourceTypeConfig, resyncDailyReportIdsStream, useDailyReportActionContext, useDailyReportComments, useDailyReportConfig, useDailyReportDetail, useDailyReportIdsStream, useDailyReportPrefetch, useDailyReportSseConnection };
package/dist/client.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react from "react";
2
2
  import { RefObject, ReactNode, Context } from "react";
3
- import { D as DailyReportItem, a as DailyReportUser, b as DailyReportSseTerminalEvent, c as DailyReportSseMessage, d as DailyReportDetail } from "./sse-schema-byewDmZK.js";
3
+ import { D as DailyReportItem, a as DailyReportSseStreamAnchor, b as DailyReportUser, c as DailyReportSseTerminalEvent, d as DailyReportSseMessage, e as DailyReportDetail } from "./sse-schema-S7gXWA2N.js";
4
4
  import { VirtualScrollLocale, VirtualScrollLabels, VirtualScrollHandle } from "@aiquants/virtualscroll";
5
- import { D as DailyReportActionIntent, a as DailyReportSseStreamAnchor, U as UIComment } from "./comment-adapter-CldlCy1v.js";
5
+ import { D as DailyReportActionIntent, U as UIComment } from "./comment-adapter-CNti3-Dv.js";
6
6
  import { D as DailyReportSearchFilterFacet } from "./search-filters-wire-5MWi6GWu.js";
7
7
  export { a as DAILY_REPORT_SEARCH_FILTER_FACETS } from "./search-filters-wire-5MWi6GWu.js";
8
8
  import { UseReopeningEventSourceResult } from "@aiquants/sse/react";
@@ -14,6 +14,7 @@ type DailyReportAttachmentIndicatorProps = {
14
14
  label: string;
15
15
  };
16
16
  declare const DailyReportAttachmentIndicator: ({ id, count, label }: DailyReportAttachmentIndicatorProps) => react.JSX.Element | null;
17
+ type DailyReportRows = Pick<ReadonlyArray<DailyReportItem>, "length" | "at"> & Iterable<DailyReportItem>;
17
18
  type DailyReportDetailListScrollRestore = {
18
19
  topItem: {
19
20
  reportHubId: number;
@@ -24,7 +25,7 @@ type DailyReportDetailListScrollRestore = {
24
25
  measuredHeights: Map<number, number>;
25
26
  };
26
27
  type DailyReportDetailListProps = {
27
- dailyReportItems: Pick<ReadonlyArray<DailyReportItem>, "length" | "at"> & Iterable<DailyReportItem>;
28
+ dailyReportItems: DailyReportRows;
28
29
  rowSetSize?: number;
29
30
  userId?: string | null;
30
31
  selectedItemId?: number | null;
@@ -34,7 +35,7 @@ type DailyReportDetailListProps = {
34
35
  declare const DailyReportDetailList: (props: DailyReportDetailListProps) => react.JSX.Element;
35
36
  declare const DailyReportIdsStreamStatus: () => react.JSX.Element;
36
37
  type DailyReportListProps = {
37
- dailyReportItems: Pick<ReadonlyArray<DailyReportItem>, "length" | "at"> & Iterable<DailyReportItem>;
38
+ dailyReportItems: DailyReportRows;
38
39
  rowSetSize?: number;
39
40
  autoMarkRead?: boolean;
40
41
  selectedReportHubId: number | null;
@@ -156,6 +157,8 @@ type DailyReportLabels = VirtualScrollLabels & {
156
157
  readonly searchFailed: (failure: DailyReportSearchFailure) => string;
157
158
  readonly searchMatchedKeywords: (matched: number, total: number) => string;
158
159
  readonly searchMatchedKeywordsDescription: (matched: number, total: number) => string;
160
+ readonly searchFieldMatched: (field: string) => string;
161
+ readonly searchFieldMatchedByReading: (field: string) => string;
159
162
  readonly searchFiltersToggle: (count: number) => string;
160
163
  readonly searchFiltersFailed: (failure: Exclude<DailyReportSearchFailure, "invalid">) => string;
161
164
  };
@@ -280,6 +283,8 @@ declare const DAILY_REPORT_LABEL_KEYS: readonly [
280
283
  "searchFailed",
281
284
  "searchMatchedKeywords",
282
285
  "searchMatchedKeywordsDescription",
286
+ "searchFieldMatched",
287
+ "searchFieldMatchedByReading",
283
288
  "searchFiltersToggle",
284
289
  "searchFiltersFailed"
285
290
  ];
@@ -324,7 +329,6 @@ type DailyReportSearchSettingInput = {
324
329
  type DailyReportClientConfig = {
325
330
  apiBasePath: string;
326
331
  ssePath: string;
327
- draftLabelName: string;
328
332
  locale: DailyReportLocale;
329
333
  labels: DailyReportLabels;
330
334
  sourceTypeConfigs: Record<string, SourceTypeConfig>;
@@ -341,7 +345,7 @@ type DailyReportClientConfigInput = Partial<Omit<DailyReportClientConfig, "local
341
345
  onSessionExpired: () => void;
342
346
  search?: DailyReportSearchSettingInput;
343
347
  };
344
- type DailyReportClientConfigDefaults = Readonly<Pick<DailyReportClientConfig, "apiBasePath" | "ssePath" | "draftLabelName" | "renderHeader" | "showDevControls" | "headingLevel">>;
348
+ type DailyReportClientConfigDefaults = Readonly<Pick<DailyReportClientConfig, "apiBasePath" | "ssePath" | "renderHeader" | "showDevControls" | "headingLevel">>;
345
349
  declare const defaultDailyReportClientConfig: DailyReportClientConfigDefaults;
346
350
  declare const DailyReportConfigProvider: ({ config, children }: {
347
351
  config: DailyReportClientConfigInput;
@@ -349,16 +353,25 @@ declare const DailyReportConfigProvider: ({ config, children }: {
349
353
  }) => react.JSX.Element;
350
354
  declare const useDailyReportConfig: () => DailyReportClientConfig;
351
355
  declare const resolveSourceTypeConfig: (sourceType?: string | null, sourceTypeConfigs?: Record<string, SourceTypeConfig>) => SourceTypeConfig | undefined;
352
- type DailyReportIdsStreamItemReplacement = {
353
- readonly previous: DailyReportItem;
354
- readonly next: DailyReportItem;
356
+ declare class DailyReportRowBatch {
357
+ readonly length: number;
358
+ readonly ids: Float64Array;
359
+ readonly businessDateCodes: Uint16Array;
360
+ readonly sourceTypeCodes: Uint8Array;
361
+ constructor(length: number, ids: Float64Array, businessDateCodes: Uint16Array, sourceTypeCodes: Uint8Array);
362
+ itemAt(index: number): DailyReportItem;
363
+ items(): DailyReportItem[];
364
+ }
365
+ type DailyReportIdsStreamItemReplacements = {
366
+ readonly previous: DailyReportRowBatch;
367
+ readonly next: DailyReportRowBatch;
355
368
  };
356
369
  type DailyReportIdsStreamItemsChange = {
357
370
  readonly base: number;
358
371
  readonly revision: number;
359
- readonly appended: readonly DailyReportItem[];
360
- readonly replaced: readonly DailyReportIdsStreamItemReplacement[];
361
- readonly removed: readonly DailyReportItem[];
372
+ readonly appended: DailyReportRowBatch;
373
+ readonly replaced: DailyReportIdsStreamItemReplacements;
374
+ readonly removed: DailyReportRowBatch;
362
375
  };
363
376
  type DailyReportIdsStreamPhase = "idle" | "streaming" | "retrying" | "complete" | "failed" | "auth-required";
364
377
  type DailyReportIdsStreamState = {
@@ -394,7 +407,7 @@ declare class DailyReportIdsStreamClient {
394
407
  private readonly clearTimeoutFn;
395
408
  private readonly warn;
396
409
  private readonly readStallTimeoutMs;
397
- private readonly itemMap;
410
+ private readonly rows;
398
411
  private readonly listeners;
399
412
  private state;
400
413
  private streamAnchorRevision;
@@ -405,7 +418,6 @@ declare class DailyReportIdsStreamClient {
405
418
  private disposed;
406
419
  private loopGeneration;
407
420
  private activeAbortController;
408
- private activeSeenIds;
409
421
  private readonly externalRemovalTombstones;
410
422
  private pendingForceRefresh;
411
423
  private wakeRetryWait;
@@ -414,7 +426,7 @@ declare class DailyReportIdsStreamClient {
414
426
  private publishCoalesceTimer;
415
427
  private readonly now;
416
428
  private lastItemsPublishAt;
417
- private pendingItemsChange;
429
+ private readonly pendingItemsChange;
418
430
  constructor(options?: DailyReportIdsStreamClientOptions);
419
431
  getState(): DailyReportIdsStreamState;
420
432
  subscribe(listener: () => void): () => void;
@@ -427,11 +439,13 @@ declare class DailyReportIdsStreamClient {
427
439
  applyExternalUpsert(item: DailyReportItem): void;
428
440
  applyExternalRemoval(reportHubId: number): void;
429
441
  has(reportHubId: number): boolean;
442
+ readRows(): DailyReportRowBatch;
430
443
  readItems(): DailyReportItem[];
431
444
  dispose(): void;
432
445
  private runStreamLoop;
433
446
  private pruneUnseenItems;
434
447
  private streamOnce;
448
+ private awaitResponseHeaders;
435
449
  private watchReadSilence;
436
450
  private absorbChunkLine;
437
451
  private putItem;
@@ -518,7 +532,7 @@ type DailyReportActions = DailyReportActionFunctions & DailyReportActionLedgers
518
532
  };
519
533
  type DailyReportActionState = {
520
534
  version: number;
521
- items: Pick<ReadonlyArray<DailyReportItem>, "length" | "at"> & Iterable<DailyReportItem>;
535
+ items: DailyReportRows;
522
536
  isSseEnabled: boolean;
523
537
  sseStatus: DailyReportSseConnectionStatus;
524
538
  searchInvalidation: string;
@@ -566,4 +580,4 @@ declare const createDailyReportClientLoader: <TServerData extends Record<string,
566
580
  };
567
581
  declare const LATTICE_BLOCK_QUANTUM_CLASS_NAME = "[--aqdr-lattice-block:4px] [@media(resolution:1.125dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:1.375dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:1.625dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:1.875dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:2.125dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:2.375dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:2.625dppx)]:[--aqdr-lattice-block:8px] [@media(resolution:2.875dppx)]:[--aqdr-lattice-block:8px]";
568
582
  declare const DAILY_REPORT_LAYOUT_LATTICE_PX = 4;
569
- export { DAILY_REPORT_LABEL_CATALOGS, DAILY_REPORT_LABEL_KEYS, LATTICE_BLOCK_QUANTUM_CLASS_NAME as DAILY_REPORT_LATTICE_BLOCK_QUANTUM_CLASS_NAME, DAILY_REPORT_LAYOUT_LATTICE_PX, type ReportBusinessDate as DailyReportActionBusinessDate, type DailyReportActionContextType, type DailyReportActionFunctions, type DailyReportActionLedgers, DailyReportActionProvider, type DailyReportActionState, type DailyReportActions, DailyReportAttachmentIndicator, type DailyReportAttachmentIndicatorProps, type DailyReportClientConfig, type DailyReportClientConfigDefaults, type DailyReportClientConfigInput, DailyReportConfigProvider, DailyReportDetailList, type DailyReportDetailListProps, type DailyReportDetailListScrollRestore, type DailyReportDetailResource, type DailyReportErrorInfo, DailyReportErrorProvider, type DailyReportHeaderProps, DailyReportIdsStreamClient, type DailyReportIdsStreamClientOptions, type DailyReportIdsStreamItemReplacement, type DailyReportIdsStreamItemsChange, type DailyReportIdsStreamPhase, type DailyReportIdsStreamState, DailyReportIdsStreamStatus, type DailyReportLabelOverrides, type DailyReportLabels, type DailyReportLedgerView, DailyReportList, type ListNavigationHandle as DailyReportListNavigationHandle, type DailyReportListProps, type DailyReportLocale, type DailyReportOperation, DailyReportPage, type DailyReportPageProps, DailyReportResolvedContent, type DailyReportResolvedContentProps, type ListScrollToIndexOptions as DailyReportRevealOptions, type DailyReportSearchFailure, DailyReportSearchFilterFacet, type DailyReportSearchFilterOption, type DailyReportSearchFilterSelectProps, type DailyReportSearchFilterSelectRenderer, type DailyReportSearchSetting, type DailyReportSearchSettingInput, type DailyReportSseConnectionStatus, type ViewTestHandle as DailyReportViewTestHandle, type ViewTestReadHandle as DailyReportViewTestReadHandle, type SourceTypeConfig, type UseDailyReportSseConnectionOptions, bootstrapDailyReportIdsStreamSession, createDailyReportClientLoader, dailyReportShouldRevalidate, defaultDailyReportClientConfig, ensureDailyReportIdsStreamSession, primeDailyReportIdsStreamSession, resolveDailyReportLabels, resolveSourceTypeConfig, resyncDailyReportIdsStream, useDailyReportActionContext, useDailyReportComments, useDailyReportConfig, useDailyReportDetail, useDailyReportIdsStream, useDailyReportPrefetch, useDailyReportSseConnection };
583
+ export { DAILY_REPORT_LABEL_CATALOGS, DAILY_REPORT_LABEL_KEYS, LATTICE_BLOCK_QUANTUM_CLASS_NAME as DAILY_REPORT_LATTICE_BLOCK_QUANTUM_CLASS_NAME, DAILY_REPORT_LAYOUT_LATTICE_PX, type ReportBusinessDate as DailyReportActionBusinessDate, type DailyReportActionContextType, type DailyReportActionFunctions, type DailyReportActionLedgers, DailyReportActionProvider, type DailyReportActionState, type DailyReportActions, DailyReportAttachmentIndicator, type DailyReportAttachmentIndicatorProps, type DailyReportClientConfig, type DailyReportClientConfigDefaults, type DailyReportClientConfigInput, DailyReportConfigProvider, DailyReportDetailList, type DailyReportDetailListProps, type DailyReportDetailListScrollRestore, type DailyReportDetailResource, type DailyReportErrorInfo, DailyReportErrorProvider, type DailyReportHeaderProps, DailyReportIdsStreamClient, type DailyReportIdsStreamClientOptions, type DailyReportIdsStreamItemReplacements, type DailyReportIdsStreamItemsChange, type DailyReportIdsStreamPhase, type DailyReportIdsStreamState, DailyReportIdsStreamStatus, type DailyReportLabelOverrides, type DailyReportLabels, type DailyReportLedgerView, DailyReportList, type ListNavigationHandle as DailyReportListNavigationHandle, type DailyReportListProps, type DailyReportLocale, type DailyReportOperation, DailyReportPage, type DailyReportPageProps, DailyReportResolvedContent, type DailyReportResolvedContentProps, type ListScrollToIndexOptions as DailyReportRevealOptions, DailyReportRowBatch, type DailyReportRows, type DailyReportSearchFailure, DailyReportSearchFilterFacet, type DailyReportSearchFilterOption, type DailyReportSearchFilterSelectProps, type DailyReportSearchFilterSelectRenderer, type DailyReportSearchSetting, type DailyReportSearchSettingInput, type DailyReportSseConnectionStatus, type ViewTestHandle as DailyReportViewTestHandle, type ViewTestReadHandle as DailyReportViewTestReadHandle, type SourceTypeConfig, type UseDailyReportSseConnectionOptions, bootstrapDailyReportIdsStreamSession, createDailyReportClientLoader, dailyReportShouldRevalidate, defaultDailyReportClientConfig, ensureDailyReportIdsStreamSession, primeDailyReportIdsStreamSession, resolveDailyReportLabels, resolveSourceTypeConfig, resyncDailyReportIdsStream, useDailyReportActionContext, useDailyReportComments, useDailyReportConfig, useDailyReportDetail, useDailyReportIdsStream, useDailyReportPrefetch, useDailyReportSseConnection };