@memobit/libs 3.32.0 → 3.34.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/index.d.ts CHANGED
@@ -167,11 +167,21 @@ export declare interface AppFrameProps {
167
167
  nav?: AppNavItem[];
168
168
  /** Adds the account menu (theme, password, two-factor, logout) and mounts the dialogs it opens. Needs an AuthProvider above. */
169
169
  account?: UseAccountMenuOptions;
170
+ /** For apps without sign-in: adds just the Theme entry and its dialog. `account` already includes it. */
171
+ theme?: AppFrameTheme;
170
172
  /** App-specific menu entries, listed before the account ones. Page actions join them on small screens. */
171
173
  menuItems?: MenuHamburgerItem[];
174
+ /** An app-wide indicator shown beside the page menu on every page and device: a notifications bell, a monitor's health. Keep it small. */
175
+ status?: ReactNode;
172
176
  children: ReactNode;
173
177
  }
174
178
 
179
+ export declare interface AppFrameTheme {
180
+ /** Shown in the theme dialog's "For <app>" recommended filter. */
181
+ appName: string;
182
+ label?: string;
183
+ }
184
+
175
185
  export declare const AppHeader: default_2.FC<AppHeaderProps>;
176
186
 
177
187
  export declare interface AppHeaderProps {
@@ -193,6 +203,13 @@ export declare interface AppIdentity {
193
203
  onHomeClick?: () => void;
194
204
  }
195
205
 
206
+ /**
207
+ * The filters with each option counting the items it would leave, given every other applied filter. Counts follow
208
+ * the user's other choices, so an option that leads to an empty list shows 0 (and is drawn dimmed) before it is
209
+ * picked. Only `single` and `multi` filters with a predicate are recounted; pass items already narrowed by the search.
210
+ */
211
+ export declare const applyLiveCounts: <T>(filters: FilterSpec[], items: T[], values: PageFilterValues, predicates: FilterPredicates<T>) => FilterSpec[];
212
+
196
213
  /** One of the app's sections. Shown as a side list on desktop, an icon rail on tablet and a bottom tab bar on phone. */
197
214
  export declare interface AppNavItem {
198
215
  id: string;
@@ -222,6 +239,12 @@ declare interface AppVersionInfo {
222
239
  buildDate: string;
223
240
  }
224
241
 
242
+ /** A date-range filter's ends as 'YYYY-MM-DD', null where open. */
243
+ export declare const asFilterDateRange: (value: FilterValue | undefined) => {
244
+ from: string | null;
245
+ to: string | null;
246
+ };
247
+
225
248
  /** A single filter's selected key, if it is one of `allowed`. */
226
249
  export declare const asFilterKey: <K extends string | number>(value: FilterValue | undefined, allowed: readonly K[]) => K | undefined;
227
250
 
@@ -1341,6 +1364,9 @@ export declare interface DateFilterSpec extends FilterSpecBase {
1341
1364
  kind: 'date';
1342
1365
  /** Whether items on or after the date match (`since`, the default) or on or before it (`until`). */
1343
1366
  relation?: 'since' | 'until';
1367
+ /** The earliest and latest days the picker offers, as 'YYYY-MM-DD'. */
1368
+ min?: string;
1369
+ max?: string;
1344
1370
  }
1345
1371
 
1346
1372
  export declare const DatePicker: default_2.FC<DatePickerProps>;
@@ -1368,6 +1394,14 @@ declare interface DateRange {
1368
1394
  end?: string;
1369
1395
  }
1370
1396
 
1397
+ /** A span of days. Either end may stay open, e.g. a value saved from an older "from" filter. */
1398
+ export declare interface DateRangeFilterSpec extends FilterSpecBase {
1399
+ kind: 'date-range';
1400
+ /** The earliest and latest days the picker offers, as 'YYYY-MM-DD'. */
1401
+ min?: string;
1402
+ max?: string;
1403
+ }
1404
+
1371
1405
  export declare const DateRangePicker: default_2.FC<DateRangePickerProps>;
1372
1406
 
1373
1407
  export declare interface DateRangePickerProps {
@@ -1448,6 +1482,7 @@ export declare interface DayAgendaProps<T = unknown> {
1448
1482
  className?: string;
1449
1483
  }
1450
1484
 
1485
+ /** The value a filter returns to when cleared: its `defaultValue`, else its kind's empty value. */
1451
1486
  export declare const defaultFilterValue: (spec: FilterSpec) => FilterValue;
1452
1487
 
1453
1488
  declare type DiffLang = 'javascript' | 'typescript' | 'jsx' | 'tsx' | 'css' | 'scss' | 'html' | 'json' | 'python' | 'bash' | 'plaintext';
@@ -1795,7 +1830,7 @@ export declare interface FilterKeyLookup {
1795
1830
  }
1796
1831
 
1797
1832
  /** What a filter's data is. The widget is chosen from this, the option count and where the filter sits. */
1798
- export declare type FilterKind = 'single' | 'multi' | 'range' | 'rating' | 'toggle' | 'text' | 'date';
1833
+ export declare type FilterKind = 'single' | 'multi' | 'range' | 'rating' | 'toggle' | 'text' | 'date' | 'date-range';
1799
1834
 
1800
1835
  export declare interface FilterLookup {
1801
1836
  id: number;
@@ -1816,20 +1851,34 @@ export declare interface FilterOption {
1816
1851
  color?: string;
1817
1852
  }
1818
1853
 
1854
+ /**
1855
+ * Whether an item passes one filter at the given value. It must also answer for values the user hasn't picked:
1856
+ * a one-option value while counting, and the filter's empty value (null, [], 0, false), which lets every item through.
1857
+ */
1858
+ export declare type FilterPredicate<T> = (item: T, value: FilterValue | undefined) => boolean;
1859
+
1860
+ export declare type FilterPredicates<T> = Record<string, FilterPredicate<T>>;
1861
+
1819
1862
  /** `pinned` filters start open and stay in sight; `secondary` ones sit at the end. */
1820
1863
  export declare type FilterPriority = 'pinned' | 'default' | 'secondary';
1821
1864
 
1822
- export declare type FilterSpec = SingleFilterSpec | MultiFilterSpec | RangeFilterSpec | RatingFilterSpec | ToggleFilterSpec | TextFilterSpec | DateFilterSpec;
1865
+ export declare type FilterSpec = SingleFilterSpec | MultiFilterSpec | RangeFilterSpec | RatingFilterSpec | ToggleFilterSpec | TextFilterSpec | DateFilterSpec | DateRangeFilterSpec;
1823
1866
 
1824
1867
  declare interface FilterSpecBase {
1825
1868
  id: string;
1826
1869
  label: string;
1827
1870
  priority?: FilterPriority;
1871
+ /**
1872
+ * The value the page starts with, when it isn't the empty one (e.g. status "Open", "last 30 days").
1873
+ * At this value the filter doesn't count as applied and shows no chip; removing its chip returns to it.
1874
+ */
1875
+ defaultValue?: FilterValue;
1828
1876
  }
1829
1877
 
1830
1878
  /**
1831
1879
  * A filter's value. By kind: single → option value or null; multi → option values; range → [min, max]
1832
- * or null; rating → the minimum (0 for any); toggle → boolean; text → TextFilterValue; date → 'YYYY-MM-DD' or null.
1880
+ * or null; rating → the minimum (0 for any); toggle → boolean; text → TextFilterValue; date → 'YYYY-MM-DD' or null;
1881
+ * date-range → ['YYYY-MM-DD', 'YYYY-MM-DD'] with '' for an open end, or null.
1833
1882
  */
1834
1883
  export declare type FilterValue = string | number | boolean | null | Array<string | number> | TextFilterValue;
1835
1884
 
@@ -2792,6 +2841,7 @@ export declare interface MenuHamburgerItem {
2792
2841
  onClick: () => void;
2793
2842
  isActive: boolean;
2794
2843
  separator?: boolean;
2844
+ disabled?: boolean;
2795
2845
  }
2796
2846
 
2797
2847
  declare interface MenuHamburgerProps {
@@ -2983,6 +3033,8 @@ export declare interface PageAction {
2983
3033
  icon?: IconName;
2984
3034
  variant?: ButtonVariant;
2985
3035
  disabled?: boolean;
3036
+ /** A hover hint on the button, e.g. why it is disabled ("Run a scan first"). */
3037
+ tooltip?: string;
2986
3038
  /** Always listed in the page menu, never as a button: for occasional actions such as "Manage locations". */
2987
3039
  menu?: boolean;
2988
3040
  /** In the menu, draws a divider above this action to start a new group. */
@@ -3035,6 +3087,8 @@ export declare interface PagePagination {
3035
3087
  export declare interface PageSearch {
3036
3088
  value: string;
3037
3089
  placeholder?: string;
3090
+ /** Focuses the box when the page opens, for pages whose main job is searching. */
3091
+ autoFocus?: boolean;
3038
3092
  onChange: (value: string) => void;
3039
3093
  }
3040
3094
 
@@ -3066,6 +3120,10 @@ export declare interface PageShellProps {
3066
3120
  resultLabel?: (count: number) => string;
3067
3121
  /** The list's current page, shown at the top (beside the applied filters) once there is more than one. */
3068
3122
  pagination?: PagePagination;
3123
+ /** Switches between the parts of this page; drawn under the toolbar. Not for app sections, which belong in the frame's nav. */
3124
+ tabs?: PageTabs;
3125
+ /** This page's own indicator (e.g. an overdue bell), shown where the frame's `status` goes, in its place. */
3126
+ status?: ReactNode;
3069
3127
  children: ReactNode;
3070
3128
  }
3071
3129
 
@@ -3087,14 +3145,44 @@ export declare interface PageSortValue {
3087
3145
  direction: PageSortDirection;
3088
3146
  }
3089
3147
 
3090
- export declare interface PageView {
3091
- modes: Array<BuiltInViewMode | PageViewMode>;
3148
+ /** One part of a page that has several (settings tabs, dashboard sections, one car's records). */
3149
+ export declare interface PageTab {
3150
+ value: string;
3151
+ label: string;
3152
+ icon?: IconName;
3153
+ count?: number;
3154
+ /** Colours the tab while it isn't the current one, to flag what it holds (e.g. overdue items). */
3155
+ tone?: 'warning' | 'danger';
3156
+ }
3157
+
3158
+ export declare interface PageTabs {
3159
+ items: PageTab[];
3092
3160
  value: string;
3093
3161
  onChange: (value: string) => void;
3162
+ }
3163
+
3164
+ export declare interface PageView {
3165
+ /** The ways to show the list. Leave out (or pass one) for a page with a single way; the other options still show. */
3166
+ modes?: Array<BuiltInViewMode | PageViewMode>;
3167
+ value?: string;
3168
+ onChange?: (value: string) => void;
3094
3169
  /** Optional fields the user can show or hide. Listed with the view options, closed until opened. */
3095
3170
  columns?: PageColumns;
3096
3171
  groupBy?: PageGroupBy;
3097
3172
  toggles?: PageViewToggle[];
3173
+ choices?: PageViewChoice[];
3174
+ }
3175
+
3176
+ /** A display setting that always holds one of its options (currency, whose figures). Not a filter: it never counts as applied. */
3177
+ declare interface PageViewChoice {
3178
+ id: string;
3179
+ label: string;
3180
+ options: Array<{
3181
+ value: string;
3182
+ label: string;
3183
+ }>;
3184
+ value: string;
3185
+ onChange: (value: string) => void;
3098
3186
  }
3099
3187
 
3100
3188
  export declare interface PageViewMode {
@@ -3972,6 +4060,8 @@ export declare const ToggleButtons: FC<ToggleProps>;
3972
4060
 
3973
4061
  export declare interface ToggleFilterSpec extends FilterSpecBase {
3974
4062
  kind: 'toggle';
4063
+ /** How many items the toggle leaves, shown beside its label. */
4064
+ count?: number;
3975
4065
  }
3976
4066
 
3977
4067
  declare interface ToggleProps {
package/dist/index.js CHANGED
@@ -127,57 +127,58 @@ import { AppFrame as xi } from "./components/PageShell/AppFrame.js";
127
127
  import { RangeSlider as Hi } from "./components/RangeSlider/RangeSlider2.js";
128
128
  import { countActiveFilters as Ui, defaultFilterValue as wi, isFilterActive as Ki } from "./components/PageShell/filterRules.js";
129
129
  import { FilterField as Wi } from "./components/PageShell/FilterField2.js";
130
- import { asFilterKey as Qi, asFilterKeys as Gi, asFilterRange as qi, asFilterText as Yi, getStaleFilterChanges as ji } from "./components/PageShell/filterValues.js";
131
- import { PageShell as Xi } from "./components/PageShell/PageShell2.js";
132
- import { usePaging as $i } from "./components/PageShell/usePaging.js";
133
- import { usePruneStaleFilters as oe } from "./components/PageShell/usePruneStaleFilters.js";
134
- import { PieChart as me } from "./components/PieChart/PieChart2.js";
135
- import { clamp as ee, format2Digits as pe, getPercent as ae, getPercentsOf2Numbers as fe } from "./helpers/Numbers.js";
136
- import { ProgressBar as le } from "./components/ProgressBar/ProgressBar2.js";
137
- import { ProgressRing as ue } from "./components/ProgressRing/ProgressRing2.js";
138
- import { QuantitySelector as de } from "./components/QuantitySelector/QuantitySelector2.js";
139
- import { QuickAdd as ce } from "./components/QuickAdd/QuickAdd2.js";
140
- import { QuickNumberUpdate as Se } from "./components/QuickNumberUpdate/QuickNumberUpdate2.js";
141
- import { Radio as Ae } from "./components/Radio/Radio2.js";
142
- import { QuickOptionUpdate as De } from "./components/QuickOptionUpdate/QuickOptionUpdate2.js";
143
- import { ensureHtml as Me, htmlToMarkdown as Le, htmlToPlainText as Ee, splitHtmlIntoSteps as Be } from "./helpers/HtmlContent.js";
144
- import { RichTextEditor as Re } from "./components/RichTextEditor/RichTextEditor2.js";
145
- import { ScrollToTop as _e } from "./components/ScrollToTop/ScrollToTop2.js";
146
- import { useSidebar as ve } from "./components/Sidebar/useSidebar.js";
147
- import { Sidebar as xe } from "./components/Sidebar/Sidebar2.js";
148
- import { SidebarProvider as He } from "./components/Sidebar/SidebarContext.js";
149
- import { SignalStrength as Ue } from "./components/SignalStrength/SignalStrength2.js";
150
- import { Skeleton as Ke } from "./components/Skeleton/Skeleton2.js";
151
- import { SplitPanel as We } from "./components/SplitPanel/SplitPanel2.js";
152
- import { Splitter as Qe } from "./components/Splitter/Splitter2.js";
153
- import { StackedBar as qe } from "./components/StackedBar/StackedBar2.js";
154
- import { Stats as je } from "./components/Stats/Stats2.js";
155
- import { StickyBar as Xe } from "./components/StickyBar/StickyBar2.js";
156
- import { SuggestionsList as $e } from "./components/SuggestionsList/SuggestionsList2.js";
157
- import { Timeline as op } from "./components/Timeline/Timeline2.js";
158
- import { TipsOfTheDay as mp } from "./components/TipsOfTheDay/TipsOfTheDay2.js";
159
- import { Toolbar as ep } from "./components/Toolbar/Toolbar2.js";
160
- import { ToolButton as ap } from "./components/ToolButton/ToolButton2.js";
161
- import { ToolPalette as np } from "./components/ToolPalette/ToolPalette2.js";
162
- import { TourHud as sp } from "./components/TourHud/TourHud2.js";
163
- import { Transition as gp } from "./components/Transition/Transition2.js";
164
- import { Tree as Tp } from "./components/Tree/Tree2.js";
165
- import { VirtualList as Ip } from "./components/VirtualList/VirtualList2.js";
166
- import { WHtR as Pp } from "./components/WHtR/WHtR2.js";
167
- import { Login as Cp } from "./components/Auth/Login/Login2.js";
168
- import { AppPersistenceStorage as hp } from "./helpers/AppPersistenceStorage.js";
169
- import { useAppPersistence as Lp } from "./hooks/useAppPersistence.js";
170
- import { chartColors as Bp, chartTooltipStyle as Fp } from "./helpers/Charts.js";
171
- import { UNALLOCATED_FILTER_ID as kp, UNALLOCATED_FILTER_KEY as _p, UNALLOCATED_FILTER_LABEL as yp, getFilterOptions as vp, getKeyFilterOptions as bp, getMatchableFilterIds as xp, getMatchableFilterKeys as Op, matchesIdFilter as Hp, matchesKeyFilter as Np } from "./helpers/FilterOptions.js";
172
- import { formatBigNumber as wp, formatBytes as Kp, formatMoney as Vp } from "./helpers/Format.js";
173
- import { highlightText as zp } from "./helpers/Highlight.js";
174
- import { DATA_FILES_PATH as Gp, createImagePaths as qp } from "./helpers/Images.js";
175
- import { matchStringsByLogicalOperator as jp } from "./helpers/LogicalOperators.js";
176
- import { shortenText as Xp, slugify as Zp, truncateText as $p } from "./helpers/Strings.js";
177
- import { extractDomainFromUrl as oa, stripQueryString as ta, stripTrackingParams as ma } from "./helpers/Urls.js";
178
- import { LIB_BUILD_DATE as ea, LIB_BUILD_ID as pa, LIB_BUILD_NUMBER as aa, LIB_COMMIT as fa, LIB_VERSION as na } from "./version.js";
179
- import { initVersionInfo as sa } from "./helpers/VersionInfo.js";
180
- import { validateVin as ga } from "./validators/Vin.js";
130
+ import { asFilterDateRange as Qi, asFilterKey as Gi, asFilterKeys as qi, asFilterRange as Yi, asFilterText as ji, getStaleFilterChanges as Ji } from "./components/PageShell/filterValues.js";
131
+ import { applyLiveCounts as Zi } from "./components/PageShell/liveCounts.js";
132
+ import { PageShell as re } from "./components/PageShell/PageShell2.js";
133
+ import { usePaging as te } from "./components/PageShell/usePaging.js";
134
+ import { usePruneStaleFilters as ie } from "./components/PageShell/usePruneStaleFilters.js";
135
+ import { PieChart as pe } from "./components/PieChart/PieChart2.js";
136
+ import { clamp as fe, format2Digits as ne, getPercent as le, getPercentsOf2Numbers as se } from "./helpers/Numbers.js";
137
+ import { ProgressBar as ge } from "./components/ProgressBar/ProgressBar2.js";
138
+ import { ProgressRing as Te } from "./components/ProgressRing/ProgressRing2.js";
139
+ import { QuantitySelector as Ie } from "./components/QuantitySelector/QuantitySelector2.js";
140
+ import { QuickAdd as Pe } from "./components/QuickAdd/QuickAdd2.js";
141
+ import { QuickNumberUpdate as Ce } from "./components/QuickNumberUpdate/QuickNumberUpdate2.js";
142
+ import { Radio as he } from "./components/Radio/Radio2.js";
143
+ import { QuickOptionUpdate as Le } from "./components/QuickOptionUpdate/QuickOptionUpdate2.js";
144
+ import { ensureHtml as Be, htmlToMarkdown as Fe, htmlToPlainText as Re, splitHtmlIntoSteps as ke } from "./helpers/HtmlContent.js";
145
+ import { RichTextEditor as ye } from "./components/RichTextEditor/RichTextEditor2.js";
146
+ import { ScrollToTop as be } from "./components/ScrollToTop/ScrollToTop2.js";
147
+ import { useSidebar as Oe } from "./components/Sidebar/useSidebar.js";
148
+ import { Sidebar as Ne } from "./components/Sidebar/Sidebar2.js";
149
+ import { SidebarProvider as we } from "./components/Sidebar/SidebarContext.js";
150
+ import { SignalStrength as Ve } from "./components/SignalStrength/SignalStrength2.js";
151
+ import { Skeleton as ze } from "./components/Skeleton/Skeleton2.js";
152
+ import { SplitPanel as Ge } from "./components/SplitPanel/SplitPanel2.js";
153
+ import { Splitter as Ye } from "./components/Splitter/Splitter2.js";
154
+ import { StackedBar as Je } from "./components/StackedBar/StackedBar2.js";
155
+ import { Stats as Ze } from "./components/Stats/Stats2.js";
156
+ import { StickyBar as rp } from "./components/StickyBar/StickyBar2.js";
157
+ import { SuggestionsList as tp } from "./components/SuggestionsList/SuggestionsList2.js";
158
+ import { Timeline as ip } from "./components/Timeline/Timeline2.js";
159
+ import { TipsOfTheDay as pp } from "./components/TipsOfTheDay/TipsOfTheDay2.js";
160
+ import { Toolbar as fp } from "./components/Toolbar/Toolbar2.js";
161
+ import { ToolButton as lp } from "./components/ToolButton/ToolButton2.js";
162
+ import { ToolPalette as up } from "./components/ToolPalette/ToolPalette2.js";
163
+ import { TourHud as dp } from "./components/TourHud/TourHud2.js";
164
+ import { Transition as cp } from "./components/Transition/Transition2.js";
165
+ import { Tree as Sp } from "./components/Tree/Tree2.js";
166
+ import { VirtualList as Ap } from "./components/VirtualList/VirtualList2.js";
167
+ import { WHtR as Dp } from "./components/WHtR/WHtR2.js";
168
+ import { Login as Mp } from "./components/Auth/Login/Login2.js";
169
+ import { AppPersistenceStorage as Ep } from "./helpers/AppPersistenceStorage.js";
170
+ import { useAppPersistence as Fp } from "./hooks/useAppPersistence.js";
171
+ import { chartColors as kp, chartTooltipStyle as _p } from "./helpers/Charts.js";
172
+ import { UNALLOCATED_FILTER_ID as vp, UNALLOCATED_FILTER_KEY as bp, UNALLOCATED_FILTER_LABEL as xp, getFilterOptions as Op, getKeyFilterOptions as Hp, getMatchableFilterIds as Np, getMatchableFilterKeys as Up, matchesIdFilter as wp, matchesKeyFilter as Kp } from "./helpers/FilterOptions.js";
173
+ import { formatBigNumber as Wp, formatBytes as zp, formatMoney as Qp } from "./helpers/Format.js";
174
+ import { highlightText as qp } from "./helpers/Highlight.js";
175
+ import { DATA_FILES_PATH as jp, createImagePaths as Jp } from "./helpers/Images.js";
176
+ import { matchStringsByLogicalOperator as Zp } from "./helpers/LogicalOperators.js";
177
+ import { shortenText as ra, slugify as oa, truncateText as ta } from "./helpers/Strings.js";
178
+ import { extractDomainFromUrl as ia, stripQueryString as ea, stripTrackingParams as pa } from "./helpers/Urls.js";
179
+ import { LIB_BUILD_DATE as fa, LIB_BUILD_ID as na, LIB_BUILD_NUMBER as la, LIB_COMMIT as sa, LIB_VERSION as ua } from "./version.js";
180
+ import { initVersionInfo as da } from "./helpers/VersionInfo.js";
181
+ import { validateVin as ca } from "./validators/Vin.js";
181
182
  export {
182
183
  j as ADULT_RANGES,
183
184
  sr as APP_DATE_FORMAT,
@@ -190,9 +191,9 @@ export {
190
191
  $m as ApiError,
191
192
  xi as AppFrame,
192
193
  U as AppHeader,
193
- hp as AppPersistenceStorage,
194
+ Ep as AppPersistenceStorage,
194
195
  ui as AuthContext,
195
- Cp as AuthLogin,
196
+ Mp as AuthLogin,
196
197
  di as AuthProvider,
197
198
  K as AvatarInitials,
198
199
  mr as BMI,
@@ -222,7 +223,7 @@ export {
222
223
  Wo as ControlPanelProvider,
223
224
  Qo as CopyButton,
224
225
  jo as CountryWithFlag,
225
- Gp as DATA_FILES_PATH,
226
+ jp as DATA_FILES_PATH,
226
227
  ct as DataView,
227
228
  Ao as DatePicker,
228
229
  St as DateRangePicker,
@@ -264,11 +265,11 @@ export {
264
265
  _m as InputTime,
265
266
  vm as InputUrl,
266
267
  xm as JourneyWizard,
267
- ea as LIB_BUILD_DATE,
268
- pa as LIB_BUILD_ID,
269
- aa as LIB_BUILD_NUMBER,
270
- fa as LIB_COMMIT,
271
- na as LIB_VERSION,
268
+ fa as LIB_BUILD_DATE,
269
+ na as LIB_BUILD_ID,
270
+ la as LIB_BUILD_NUMBER,
271
+ sa as LIB_COMMIT,
272
+ ua as LIB_VERSION,
272
273
  $o as LIST_MOTION_KEY_ATTRIBUTE,
273
274
  I as LanguageContext,
274
275
  P as LanguageProvider,
@@ -283,92 +284,94 @@ export {
283
284
  jm as NavBar,
284
285
  Xm as NotificationPanel,
285
286
  J as PEDIATRIC_THRESHOLDS,
286
- Xi as PageShell,
287
+ re as PageShell,
287
288
  pt as Pagination,
288
- me as PieChart,
289
+ pe as PieChart,
289
290
  po as Popover,
290
- le as ProgressBar,
291
- ue as ProgressRing,
292
- de as QuantitySelector,
293
- ce as QuickAdd,
294
- Se as QuickNumberUpdate,
295
- De as QuickOptionUpdate,
296
- Ae as Radio,
291
+ ge as ProgressBar,
292
+ Te as ProgressRing,
293
+ Ie as QuantitySelector,
294
+ Pe as QuickAdd,
295
+ Ce as QuickNumberUpdate,
296
+ Le as QuickOptionUpdate,
297
+ he as Radio,
297
298
  Hi as RangeSlider,
298
299
  _o as Rating,
299
- Re as RichTextEditor,
300
+ ye as RichTextEditor,
300
301
  Qm as RollingNumber,
301
- _e as ScrollToTop,
302
+ be as ScrollToTop,
302
303
  H as Separator,
303
- xe as Sidebar,
304
- He as SidebarProvider,
305
- Ue as SignalStrength,
306
- Ke as Skeleton,
304
+ Ne as Sidebar,
305
+ we as SidebarProvider,
306
+ Ve as SignalStrength,
307
+ ze as Skeleton,
307
308
  vo as Slider,
308
- We as SplitPanel,
309
- Qe as Splitter,
310
- qe as StackedBar,
311
- je as Stats,
312
- Xe as StickyBar,
313
- $e as SuggestionsList,
309
+ Ge as SplitPanel,
310
+ Ye as Splitter,
311
+ Je as StackedBar,
312
+ Ze as Stats,
313
+ rp as StickyBar,
314
+ tp as SuggestionsList,
314
315
  Di as THEME_CONFIGS,
315
316
  s as ThemeContext,
316
317
  Bi as ThemeProvider,
317
318
  Ri as ThemeSettings,
318
319
  So as TimePicker,
319
- op as Timeline,
320
+ ip as Timeline,
320
321
  lt as TimelineMarkerDot,
321
322
  st as TimelineMarkers,
322
323
  ut as TimelineMobileSeparator,
323
- mp as TipsOfTheDay,
324
+ pp as TipsOfTheDay,
324
325
  Si as Toast,
325
326
  To as ToastContainer,
326
327
  co as ToastProvider,
327
328
  bt as ToggleButtons,
328
329
  am as ToggleSwitch,
329
- ap as ToolButton,
330
- np as ToolPalette,
331
- ep as Toolbar,
330
+ lp as ToolButton,
331
+ up as ToolPalette,
332
+ fp as Toolbar,
332
333
  B as Tooltip,
333
- sp as TourHud,
334
- gp as Transition,
335
- Tp as Tree,
336
- kp as UNALLOCATED_FILTER_ID,
337
- _p as UNALLOCATED_FILTER_KEY,
338
- yp as UNALLOCATED_FILTER_LABEL,
339
- Ip as VirtualList,
340
- Pp as WHtR,
334
+ dp as TourHud,
335
+ cp as Transition,
336
+ Sp as Tree,
337
+ vp as UNALLOCATED_FILTER_ID,
338
+ bp as UNALLOCATED_FILTER_KEY,
339
+ xp as UNALLOCATED_FILTER_LABEL,
340
+ Ap as VirtualList,
341
+ Dp as WHtR,
341
342
  gr as addDays,
342
343
  dr as addMonths,
343
- Qi as asFilterKey,
344
- Gi as asFilterKeys,
345
- qi as asFilterRange,
346
- Yi as asFilterText,
344
+ Zi as applyLiveCounts,
345
+ Qi as asFilterDateRange,
346
+ Gi as asFilterKey,
347
+ qi as asFilterKeys,
348
+ Yi as asFilterRange,
349
+ ji as asFilterText,
347
350
  wo as breakpoints,
348
351
  mi as buildRequestHeaders,
349
352
  X as calculateBMI,
350
353
  ft as calculateTimelineMarkers,
351
- Bp as chartColors,
352
- Fp as chartTooltipStyle,
353
- ee as clamp,
354
+ kp as chartColors,
355
+ _p as chartTooltipStyle,
356
+ fe as clamp,
354
357
  Ui as countActiveFilters,
355
358
  ii as createApiClient,
356
- qp as createImagePaths,
359
+ Jp as createImagePaths,
357
360
  om as cropImage,
358
361
  wi as defaultFilterValue,
359
362
  tm as encodeCanvas,
360
- Me as ensureHtml,
361
- oa as extractDomainFromUrl,
363
+ Be as ensureHtml,
364
+ ia as extractDomainFromUrl,
362
365
  Do as foldDiacritics,
363
- pe as format2Digits,
366
+ ne as format2Digits,
364
367
  Tr as formatAppDate,
365
368
  cr as formatAppDateTime,
366
- wp as formatBigNumber,
367
- Kp as formatBytes,
369
+ Wp as formatBigNumber,
370
+ zp as formatBytes,
368
371
  Ir as formatDate,
369
372
  Sr as formatDateLocale,
370
373
  Pr as formatDuration,
371
- Vp as formatMoney,
374
+ Qp as formatMoney,
372
375
  Ar as formatRelativeDuration,
373
376
  Cr as formatRelativeTime,
374
377
  Dr as formatSecondsToMediaTime,
@@ -376,26 +379,26 @@ export {
376
379
  ei as getCsrfToken,
377
380
  hr as getDaysInMonth,
378
381
  Li as getDefaultThemeForApp,
379
- vp as getFilterOptions,
382
+ Op as getFilterOptions,
380
383
  Z as getIndicatorColor,
381
384
  $ as getIndicatorPosition,
382
385
  Mr as getIsoWeek,
383
- bp as getKeyFilterOptions,
384
- xp as getMatchableFilterIds,
385
- Op as getMatchableFilterKeys,
386
+ Hp as getKeyFilterOptions,
387
+ Np as getMatchableFilterIds,
388
+ Up as getMatchableFilterKeys,
386
389
  Lr as getMonthMatrix,
387
390
  rr as getPediatricRanges,
388
- ae as getPercent,
389
- fe as getPercentsOf2Numbers,
391
+ le as getPercent,
392
+ se as getPercentsOf2Numbers,
390
393
  or as getRangeLabel,
391
394
  Xo as getResultsCount,
392
- ji as getStaleFilterChanges,
395
+ Ji as getStaleFilterChanges,
393
396
  hi as getThemeConfig,
394
397
  Er as getTodayDateString,
395
- zp as highlightText,
396
- Le as htmlToMarkdown,
397
- Ee as htmlToPlainText,
398
- sa as initVersionInfo,
398
+ qp as highlightText,
399
+ Fe as htmlToMarkdown,
400
+ Re as htmlToPlainText,
401
+ da as initVersionInfo,
399
402
  Br as isAfter,
400
403
  Fr as isBefore,
401
404
  pi as isClientErrorStatus,
@@ -408,22 +411,22 @@ export {
408
411
  yr as isWeekend,
409
412
  mm as loadImageElement,
410
413
  ni as logUnexpectedError,
411
- jp as matchStringsByLogicalOperator,
412
- Hp as matchesIdFilter,
413
- Np as matchesKeyFilter,
414
+ Zp as matchStringsByLogicalOperator,
415
+ wp as matchesIdFilter,
416
+ Kp as matchesKeyFilter,
414
417
  li as readErrorMessage,
415
418
  im as renderImageRegion,
416
419
  a as roCount,
417
420
  em as rotatedSize,
418
- Xp as shortenText,
419
- Zp as slugify,
420
- Be as splitHtmlIntoSteps,
421
- ta as stripQueryString,
422
- ma as stripTrackingParams,
423
- $p as truncateText,
421
+ ra as shortenText,
422
+ oa as slugify,
423
+ ke as splitHtmlIntoSteps,
424
+ ea as stripQueryString,
425
+ pa as stripTrackingParams,
426
+ ta as truncateText,
424
427
  _i as useAccountMenu,
425
428
  vi as useAppFrame,
426
- Lp as useAppPersistence,
429
+ Fp as useAppPersistence,
427
430
  ci as useAuth,
428
431
  n as useBodyScrollLock,
429
432
  Ko as useBreakpoint,
@@ -435,13 +438,13 @@ export {
435
438
  D as useLanguageMenuItem,
436
439
  rt as useListMotion,
437
440
  h as useMessages,
438
- $i as usePaging,
441
+ te as usePaging,
439
442
  io as usePopover,
440
- oe as usePruneStaleFilters,
441
- ve as useSidebar,
443
+ ie as usePruneStaleFilters,
444
+ Oe as useSidebar,
442
445
  At as useSwipe,
443
446
  g as useTheme,
444
447
  uo as useToast,
445
448
  gm as validateEmail,
446
- ga as validateVin
449
+ ca as validateVin
447
450
  };
package/dist/router.d.ts CHANGED
@@ -15,11 +15,21 @@ declare interface AppFrameProps {
15
15
  nav?: AppNavItem[];
16
16
  /** Adds the account menu (theme, password, two-factor, logout) and mounts the dialogs it opens. Needs an AuthProvider above. */
17
17
  account?: UseAccountMenuOptions;
18
+ /** For apps without sign-in: adds just the Theme entry and its dialog. `account` already includes it. */
19
+ theme?: AppFrameTheme;
18
20
  /** App-specific menu entries, listed before the account ones. Page actions join them on small screens. */
19
21
  menuItems?: MenuHamburgerItem[];
22
+ /** An app-wide indicator shown beside the page menu on every page and device: a notifications bell, a monitor's health. Keep it small. */
23
+ status?: ReactNode;
20
24
  children: ReactNode;
21
25
  }
22
26
 
27
+ declare interface AppFrameTheme {
28
+ /** Shown in the theme dialog's "For <app>" recommended filter. */
29
+ appName: string;
30
+ label?: string;
31
+ }
32
+
23
33
  declare interface AppIdentity {
24
34
  name: string;
25
35
  icon?: IconName;
@@ -45,6 +55,8 @@ export declare interface AppRouteNavItem {
45
55
  count?: number;
46
56
  /** Whether only the exact path counts as this section. Defaults to true for '/' and false otherwise, so '/archive/12' still lights up Archive. */
47
57
  end?: boolean;
58
+ /** Other paths that belong to this section, e.g. ['/person/:id/*'] for a People section's detail pages. */
59
+ activeOn?: string[];
48
60
  }
49
61
 
50
62
  declare interface MenuHamburgerItem {
@@ -53,6 +65,7 @@ declare interface MenuHamburgerItem {
53
65
  onClick: () => void;
54
66
  isActive: boolean;
55
67
  separator?: boolean;
68
+ disabled?: boolean;
56
69
  }
57
70
 
58
71
  export declare function ProtectedRoute({ children, loginPath }: ProtectedRouteProps): ReactElement;
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
- var I = "3.32.0", B = 659, L = "2664552", _ = "2026-11-07T19:52:13.281Z", r = "659";
1
+ var I = "3.34.0", B = 668, L = "c895360", _ = "2026-11-07T22:47:26.741Z", r = "668";
2
2
  export {
3
3
  _ as LIB_BUILD_DATE,
4
4
  r as LIB_BUILD_ID,
package/dist/version.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "3.32.0",
3
- "buildNumber": 659,
4
- "commit": "2664552",
5
- "buildDate": "2026-11-07T19:52:13.281Z"
2
+ "version": "3.34.0",
3
+ "buildNumber": 668,
4
+ "commit": "c895360",
5
+ "buildDate": "2026-11-07T22:47:26.741Z"
6
6
  }