@dloizides/ui-tables 1.28.1 → 1.29.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.29.0
4
+
5
+ ### Added
6
+
7
+ - `PagedTableLayout`: `filters`, `pager` and `table` slots placed as one unit, with a `layout` of `toolbar` (default), `spaced`, `footer` or `panel`. Joined layouts share one frame; a `DataTable` or `FilterBar` inside drops its own outer border automatically, even behind a local wrapper component. A bare `Pager` is unchanged. PAGER-SPACE-1 "Shared pager touches the content above and below it".
8
+
3
9
  ## 1.28.1
4
10
 
5
11
  ### Fixed
package/dist/index.d.mts CHANGED
@@ -389,6 +389,20 @@ interface PagerProps {
389
389
  }
390
390
  declare function Pager({ page, pageSize, total, onPageChange, onPageSizeChange, pageSizeOptions, rowsVariant, unitLabel, unitLabelSingular, showFirstLast, responsive, stackBreakpoint, infoPrefix, boldNumbers, styleOverrides: o, testID, }: PagerProps): React.ReactElement;
391
391
 
392
+ type PagedTableLayoutKind = 'toolbar' | 'spaced' | 'footer' | 'panel';
393
+
394
+ interface PagedTableLayoutProps {
395
+ /** Filter bar, shown above the pager and table. Omit for none. */
396
+ filters?: React.ReactNode;
397
+ pager: React.ReactNode;
398
+ table: React.ReactNode;
399
+ /** How the pager joins the table. Default `toolbar`. */
400
+ layout?: PagedTableLayoutKind;
401
+ testID?: string;
402
+ }
403
+ /** Places a filter bar, a Pager and a DataTable as one unit with one spacing rule. */
404
+ declare function PagedTableLayout({ filters, pager, table, layout, testID, }: PagedTableLayoutProps): React.ReactElement;
405
+
392
406
  /**
393
407
  * Shared constants for the DataTable family (DataTable / FilterBar / Pager).
394
408
  * Keeps every literal (test ids, i18n keys, layout numbers) in one place so the
@@ -426,6 +440,7 @@ declare const TABLE_TEST_IDS: {
426
440
  /** Suffix of the banner's action: `${tableTestID}-select-banner-action`. */
427
441
  readonly selectBannerActionSuffix: "select-banner-action";
428
442
  readonly filterBar: "ui-filters";
443
+ readonly pagedLayout: "ui-paged-table-layout";
429
444
  readonly results: "ui-results";
430
445
  readonly pager: "ui-pager";
431
446
  readonly pagerInfo: "ui-pager-info";
@@ -969,4 +984,4 @@ declare const MonthStatusGrid: ({ cells, onSelect, selectedId, columns, accessib
969
984
  /** The widest allowed column count, up to `requested`, whose cells stay at least 44 px wide. */
970
985
  declare function fitMonthGridColumns(requested: MonthGridColumns, width: number, gap: number): MonthGridColumns;
971
986
 
972
- export { type BooleanFilterField, CARD_STACK_BREAKPOINT, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, type DataTableColumn, type DataTableProps, type DataTableStyleOverrides, type DateRangeFilterField, FIELD_MIN_WIDTH, FILTERS_I18N, FILTERS_TEST_ID, type FieldStrings, FilterBar, type FilterBarProps, type FilterBarStyleOverrides, type FilterDraft, type FilterField, type FilterFieldKind, type FilterOption, type FilterValue, type FilterValues, Filters, type FiltersProps, type LedgerFilter, LedgerLayout, MONTH_STATUS_GRID_TEST_ID, MonthGridColumns, type MonthStatusCell, MonthStatusGrid, type MonthStatusGridProps, type NumberFilterField, type PagedRows, Pager, type PagerProps, type PagerStyleOverrides, RelativeTime, type RelativeTimeProps, type RelativeTimeStrings, type RelativeUnitStrings, type RenderSelectArgs, STATUS_LEDGER_TEST_ID, type SelectFilterField, SortDirection, type SortValue, StatCard, type StatCardProps, StatTone, StatusLedger, type StatusLedgerColumn, type StatusLedgerLabels, type StatusLedgerProps, StatusPill, type StatusPillProps, StatusTone, TABLE_I18N, TABLE_TEST_IDS, type TextFilterField, type TimeInput, type ToneColors, type TypeaheadFilterField, type UseFilterDraftOptions, type UsePagedRowsOptions, applyTestID, clearTestID, distinctValues, fieldTestID, filterLedgerRows, fitMonthGridColumns, formatRelativeTime, isAttentionTone, ledgerSectionTestID, ledgerSortDirectionTestID, monthCellTestID, resolveStatToneColor, rowDetailTestID, rowFadeTestID, rowSelectTestID, rowTestID, selectAllTestID, sortLedgerRows, splitNeedsLook, toEpochMs, useFilterDraft, usePagedRows };
987
+ export { type BooleanFilterField, CARD_STACK_BREAKPOINT, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, type DataTableColumn, type DataTableProps, type DataTableStyleOverrides, type DateRangeFilterField, FIELD_MIN_WIDTH, FILTERS_I18N, FILTERS_TEST_ID, type FieldStrings, FilterBar, type FilterBarProps, type FilterBarStyleOverrides, type FilterDraft, type FilterField, type FilterFieldKind, type FilterOption, type FilterValue, type FilterValues, Filters, type FiltersProps, type LedgerFilter, LedgerLayout, MONTH_STATUS_GRID_TEST_ID, MonthGridColumns, type MonthStatusCell, MonthStatusGrid, type MonthStatusGridProps, type NumberFilterField, type PagedRows, PagedTableLayout, type PagedTableLayoutKind, type PagedTableLayoutProps, Pager, type PagerProps, type PagerStyleOverrides, RelativeTime, type RelativeTimeProps, type RelativeTimeStrings, type RelativeUnitStrings, type RenderSelectArgs, STATUS_LEDGER_TEST_ID, type SelectFilterField, SortDirection, type SortValue, StatCard, type StatCardProps, StatTone, StatusLedger, type StatusLedgerColumn, type StatusLedgerLabels, type StatusLedgerProps, StatusPill, type StatusPillProps, StatusTone, TABLE_I18N, TABLE_TEST_IDS, type TextFilterField, type TimeInput, type ToneColors, type TypeaheadFilterField, type UseFilterDraftOptions, type UsePagedRowsOptions, applyTestID, clearTestID, distinctValues, fieldTestID, filterLedgerRows, fitMonthGridColumns, formatRelativeTime, isAttentionTone, ledgerSectionTestID, ledgerSortDirectionTestID, monthCellTestID, resolveStatToneColor, rowDetailTestID, rowFadeTestID, rowSelectTestID, rowTestID, selectAllTestID, sortLedgerRows, splitNeedsLook, toEpochMs, useFilterDraft, usePagedRows };
package/dist/index.d.ts CHANGED
@@ -389,6 +389,20 @@ interface PagerProps {
389
389
  }
390
390
  declare function Pager({ page, pageSize, total, onPageChange, onPageSizeChange, pageSizeOptions, rowsVariant, unitLabel, unitLabelSingular, showFirstLast, responsive, stackBreakpoint, infoPrefix, boldNumbers, styleOverrides: o, testID, }: PagerProps): React.ReactElement;
391
391
 
392
+ type PagedTableLayoutKind = 'toolbar' | 'spaced' | 'footer' | 'panel';
393
+
394
+ interface PagedTableLayoutProps {
395
+ /** Filter bar, shown above the pager and table. Omit for none. */
396
+ filters?: React.ReactNode;
397
+ pager: React.ReactNode;
398
+ table: React.ReactNode;
399
+ /** How the pager joins the table. Default `toolbar`. */
400
+ layout?: PagedTableLayoutKind;
401
+ testID?: string;
402
+ }
403
+ /** Places a filter bar, a Pager and a DataTable as one unit with one spacing rule. */
404
+ declare function PagedTableLayout({ filters, pager, table, layout, testID, }: PagedTableLayoutProps): React.ReactElement;
405
+
392
406
  /**
393
407
  * Shared constants for the DataTable family (DataTable / FilterBar / Pager).
394
408
  * Keeps every literal (test ids, i18n keys, layout numbers) in one place so the
@@ -426,6 +440,7 @@ declare const TABLE_TEST_IDS: {
426
440
  /** Suffix of the banner's action: `${tableTestID}-select-banner-action`. */
427
441
  readonly selectBannerActionSuffix: "select-banner-action";
428
442
  readonly filterBar: "ui-filters";
443
+ readonly pagedLayout: "ui-paged-table-layout";
429
444
  readonly results: "ui-results";
430
445
  readonly pager: "ui-pager";
431
446
  readonly pagerInfo: "ui-pager-info";
@@ -969,4 +984,4 @@ declare const MonthStatusGrid: ({ cells, onSelect, selectedId, columns, accessib
969
984
  /** The widest allowed column count, up to `requested`, whose cells stay at least 44 px wide. */
970
985
  declare function fitMonthGridColumns(requested: MonthGridColumns, width: number, gap: number): MonthGridColumns;
971
986
 
972
- export { type BooleanFilterField, CARD_STACK_BREAKPOINT, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, type DataTableColumn, type DataTableProps, type DataTableStyleOverrides, type DateRangeFilterField, FIELD_MIN_WIDTH, FILTERS_I18N, FILTERS_TEST_ID, type FieldStrings, FilterBar, type FilterBarProps, type FilterBarStyleOverrides, type FilterDraft, type FilterField, type FilterFieldKind, type FilterOption, type FilterValue, type FilterValues, Filters, type FiltersProps, type LedgerFilter, LedgerLayout, MONTH_STATUS_GRID_TEST_ID, MonthGridColumns, type MonthStatusCell, MonthStatusGrid, type MonthStatusGridProps, type NumberFilterField, type PagedRows, Pager, type PagerProps, type PagerStyleOverrides, RelativeTime, type RelativeTimeProps, type RelativeTimeStrings, type RelativeUnitStrings, type RenderSelectArgs, STATUS_LEDGER_TEST_ID, type SelectFilterField, SortDirection, type SortValue, StatCard, type StatCardProps, StatTone, StatusLedger, type StatusLedgerColumn, type StatusLedgerLabels, type StatusLedgerProps, StatusPill, type StatusPillProps, StatusTone, TABLE_I18N, TABLE_TEST_IDS, type TextFilterField, type TimeInput, type ToneColors, type TypeaheadFilterField, type UseFilterDraftOptions, type UsePagedRowsOptions, applyTestID, clearTestID, distinctValues, fieldTestID, filterLedgerRows, fitMonthGridColumns, formatRelativeTime, isAttentionTone, ledgerSectionTestID, ledgerSortDirectionTestID, monthCellTestID, resolveStatToneColor, rowDetailTestID, rowFadeTestID, rowSelectTestID, rowTestID, selectAllTestID, sortLedgerRows, splitNeedsLook, toEpochMs, useFilterDraft, usePagedRows };
987
+ export { type BooleanFilterField, CARD_STACK_BREAKPOINT, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, type DataTableColumn, type DataTableProps, type DataTableStyleOverrides, type DateRangeFilterField, FIELD_MIN_WIDTH, FILTERS_I18N, FILTERS_TEST_ID, type FieldStrings, FilterBar, type FilterBarProps, type FilterBarStyleOverrides, type FilterDraft, type FilterField, type FilterFieldKind, type FilterOption, type FilterValue, type FilterValues, Filters, type FiltersProps, type LedgerFilter, LedgerLayout, MONTH_STATUS_GRID_TEST_ID, MonthGridColumns, type MonthStatusCell, MonthStatusGrid, type MonthStatusGridProps, type NumberFilterField, type PagedRows, PagedTableLayout, type PagedTableLayoutKind, type PagedTableLayoutProps, Pager, type PagerProps, type PagerStyleOverrides, RelativeTime, type RelativeTimeProps, type RelativeTimeStrings, type RelativeUnitStrings, type RenderSelectArgs, STATUS_LEDGER_TEST_ID, type SelectFilterField, SortDirection, type SortValue, StatCard, type StatCardProps, StatTone, StatusLedger, type StatusLedgerColumn, type StatusLedgerLabels, type StatusLedgerProps, StatusPill, type StatusPillProps, StatusTone, TABLE_I18N, TABLE_TEST_IDS, type TextFilterField, type TimeInput, type ToneColors, type TypeaheadFilterField, type UseFilterDraftOptions, type UsePagedRowsOptions, applyTestID, clearTestID, distinctValues, fieldTestID, filterLedgerRows, fitMonthGridColumns, formatRelativeTime, isAttentionTone, ledgerSectionTestID, ledgerSortDirectionTestID, monthCellTestID, resolveStatToneColor, rowDetailTestID, rowFadeTestID, rowSelectTestID, rowTestID, selectAllTestID, sortLedgerRows, splitNeedsLook, toEpochMs, useFilterDraft, usePagedRows };
package/dist/index.js CHANGED
@@ -40,6 +40,7 @@ var TABLE_TEST_IDS = {
40
40
  /** Suffix of the banner's action: `${tableTestID}-select-banner-action`. */
41
41
  selectBannerActionSuffix: "select-banner-action",
42
42
  filterBar: "ui-filters",
43
+ pagedLayout: "ui-paged-table-layout",
43
44
  results: "ui-results",
44
45
  pager: "ui-pager",
45
46
  pagerInfo: "ui-pager-info",
@@ -332,6 +333,23 @@ var chromeStyles = reactNative.StyleSheet.create({
332
333
  sizeOption: { minHeight: MIN_TARGET_PX, justifyContent: "center", paddingHorizontal: CONTROL_PAD_H, paddingVertical: MENU_OPT_PAD_V },
333
334
  sizeOptionText: { fontSize: CONTROL_FONT, fontVariant: ["tabular-nums"] }
334
335
  });
336
+
337
+ // src/DataTable/joinedFrameContext.ts
338
+ var SQUARE = 0;
339
+ var INNER_RADIUS = BORDER_RADIUS - BORDER_WIDTH;
340
+ var NO_OUTER_BORDER = { borderTopWidth: 0, borderRightWidth: 0, borderBottomWidth: 0, borderLeftWidth: 0 };
341
+ function cornerRadii(top, bottom) {
342
+ return { borderTopLeftRadius: top, borderTopRightRadius: top, borderBottomLeftRadius: bottom, borderBottomRightRadius: bottom };
343
+ }
344
+ var AT_FRAME_TOP = { ...NO_OUTER_BORDER, ...cornerRadii(INNER_RADIUS, SQUARE) };
345
+ var AT_FRAME_BOTTOM = { ...NO_OUTER_BORDER, ...cornerRadii(SQUARE, INNER_RADIUS) };
346
+ var JOINED_FRAME_STYLES = {
347
+ toolbar: { wrap: AT_FRAME_BOTTOM },
348
+ spaced: null,
349
+ footer: { wrap: AT_FRAME_TOP },
350
+ panel: { wrap: AT_FRAME_BOTTOM, filters: AT_FRAME_TOP }
351
+ };
352
+ var JoinedFrameContext = React2.createContext(null);
335
353
  function cellContent(column, row, textColor, overrides) {
336
354
  const content = column.render(row);
337
355
  if (typeof content === "string" || typeof content === "number") {
@@ -587,7 +605,7 @@ function DataTableRow({
587
605
  accessibilityRole: "summary",
588
606
  style: [tableStyles.rowDetail, { borderTopColor: colors.border, backgroundColor: colors.background }, o?.rowDetail],
589
607
  testID: rowDetailTestID(tableTestID, rowKey),
590
- children: renderRowDetail(row)
608
+ children: /* @__PURE__ */ jsxRuntime.jsx(JoinedFrameContext.Provider, { value: null, children: renderRowDetail(row) })
591
609
  }
592
610
  )
593
611
  ] });
@@ -901,6 +919,7 @@ function DataTable(props) {
901
919
  const { width } = reactNative.useWindowDimensions();
902
920
  const stacked = width < stackBreakpoint;
903
921
  const frame = { backgroundColor: colors.surface, borderColor: colors.border };
922
+ const joined = React2.useContext(JoinedFrameContext);
904
923
  const interactive = onRowPress !== void 0;
905
924
  const [hoveredKey, setHoveredKey] = React2.useState(void 0);
906
925
  const hoverTint = softBrandTint(theme.palette.primary["500"]) ?? colors.background;
@@ -935,7 +954,7 @@ function DataTable(props) {
935
954
  [rowTint, zebra, colors.background]
936
955
  );
937
956
  const rowBg = (row, index, key) => interactive && hoveredKey === key ? hoverTint : rowBackground(row, index);
938
- const stateView = (label) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [tableStyles.wrap, frame, o?.wrap], testID, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [tableStyles.state, o?.state], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [tableStyles.stateText, { color: colors.textSecondary }, o?.stateText], children: label }) }) });
957
+ const stateView = (label) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [tableStyles.wrap, frame, joined?.wrap, o?.wrap], testID, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [tableStyles.state, o?.state], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [tableStyles.stateText, { color: colors.textSecondary }, o?.stateText], children: label }) }) });
939
958
  if (rows.length === 0) {
940
959
  return stateView(loading ? loadingLabel ?? t(TABLE_I18N.loading) : emptyLabel ?? t(TABLE_I18N.empty));
941
960
  }
@@ -978,7 +997,7 @@ function DataTable(props) {
978
997
  }
979
998
  );
980
999
  if (stacked) {
981
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [tableStyles.wrap, frame, o?.wrap], testID, "aria-busy": loading, children: [
1000
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [tableStyles.wrap, frame, joined?.wrap, o?.wrap], testID, "aria-busy": loading, children: [
982
1001
  banner,
983
1002
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: tableStyles.headSentinel, testID: TABLE_TEST_IDS.head, "aria-hidden": true }),
984
1003
  rows.map((row, i) => {
@@ -999,7 +1018,7 @@ function DataTable(props) {
999
1018
  return /* @__PURE__ */ jsxRuntime.jsxs(
1000
1019
  reactNative.View,
1001
1020
  {
1002
- style: [tableStyles.wrap, frame, o?.wrap],
1021
+ style: [tableStyles.wrap, frame, joined?.wrap, o?.wrap],
1003
1022
  testID,
1004
1023
  "aria-busy": loading,
1005
1024
  ...keyboardNavigation ? { role: "grid" } : null,
@@ -1035,8 +1054,9 @@ function FilterBar({
1035
1054
  }) {
1036
1055
  const { theme, t } = uiFeedback.useUi();
1037
1056
  const { colors } = theme;
1057
+ const joined = React2.useContext(JoinedFrameContext);
1038
1058
  const word = resultsLabel ?? t(TABLE_I18N.results);
1039
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [chromeStyles.filters, { backgroundColor: colors.surface, borderColor: colors.border }, o?.filters], testID, children: [
1059
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [chromeStyles.filters, { backgroundColor: colors.surface, borderColor: colors.border }, joined?.filters, o?.filters], testID, children: [
1040
1060
  children,
1041
1061
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [chromeStyles.filtersSpacer, o?.filtersSpacer] }),
1042
1062
  typeof resultsCount === "number" && // Live region: announce the new count when filters change the result set (WCAG 4.1.3).
@@ -1428,6 +1448,47 @@ function Pager({
1428
1448
  )
1429
1449
  ] });
1430
1450
  }
1451
+ var LAYOUT_GAP = 12;
1452
+ var PAGER_SLOT_PAD_V = 8;
1453
+ var PAGER_IN_FRAME = { paddingHorizontal: ROW_PAD_H, paddingVertical: PAGER_SLOT_PAD_V };
1454
+ var FRAME = { borderWidth: BORDER_WIDTH, borderRadius: BORDER_RADIUS };
1455
+ var SLOT_STYLES = {
1456
+ toolbar: { filters: { marginBottom: LAYOUT_GAP }, pager: { ...PAGER_IN_FRAME, borderBottomWidth: BORDER_WIDTH } },
1457
+ spaced: { filters: {}, pager: { marginTop: LAYOUT_GAP, marginBottom: LAYOUT_GAP } },
1458
+ footer: { filters: { marginBottom: LAYOUT_GAP }, pager: { ...PAGER_IN_FRAME, borderTopWidth: BORDER_WIDTH } },
1459
+ panel: { filters: { borderBottomWidth: BORDER_WIDTH }, pager: { ...PAGER_IN_FRAME, borderBottomWidth: BORDER_WIDTH } }
1460
+ };
1461
+ function PagedTableLayout({
1462
+ filters,
1463
+ pager,
1464
+ table,
1465
+ layout = "toolbar",
1466
+ testID = TABLE_TEST_IDS.pagedLayout
1467
+ }) {
1468
+ const { colors } = uiFeedback.useUi().theme;
1469
+ const slots = SLOT_STYLES[layout];
1470
+ const line = { borderColor: colors.border };
1471
+ const hasFilters = filters !== void 0 && filters !== null && filters !== false;
1472
+ const filtersInFrame = layout === "panel";
1473
+ const isJoined = layout !== "spaced";
1474
+ const filtersSlot = hasFilters ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [slots.filters, line], testID: `${testID}-filters`, children: filters }) : null;
1475
+ const pagerSlot = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [slots.pager, line], testID: `${testID}-pager`, children: pager });
1476
+ const tableSlot = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { testID: `${testID}-table`, children: table });
1477
+ const pagerAndTable = layout === "footer" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1478
+ tableSlot,
1479
+ pagerSlot
1480
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1481
+ pagerSlot,
1482
+ tableSlot
1483
+ ] });
1484
+ return /* @__PURE__ */ jsxRuntime.jsx(JoinedFrameContext.Provider, { value: JOINED_FRAME_STYLES[layout], children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { testID, children: [
1485
+ filtersInFrame ? null : filtersSlot,
1486
+ isJoined ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [FRAME, line, { backgroundColor: colors.surface }], testID: `${testID}-frame`, children: [
1487
+ filtersInFrame ? filtersSlot : null,
1488
+ pagerAndTable
1489
+ ] }) : pagerAndTable
1490
+ ] }) });
1491
+ }
1431
1492
  var FIELD_GAP = 4;
1432
1493
  var SWITCH_ROW_GAP = 8;
1433
1494
  var ACTION_PAD_H = 14;
@@ -2323,6 +2384,7 @@ exports.LedgerLayout = LedgerLayout;
2323
2384
  exports.MONTH_STATUS_GRID_TEST_ID = MONTH_STATUS_GRID_TEST_ID;
2324
2385
  exports.MonthGridColumns = MonthGridColumns;
2325
2386
  exports.MonthStatusGrid = MonthStatusGrid;
2387
+ exports.PagedTableLayout = PagedTableLayout;
2326
2388
  exports.Pager = Pager;
2327
2389
  exports.RelativeTime = RelativeTime;
2328
2390
  exports.STATUS_LEDGER_TEST_ID = STATUS_LEDGER_TEST_ID;