@mieweb/ui 0.2.0 → 0.2.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.
- package/README.md +28 -0
- package/dist/ag-grid.cjs +753 -0
- package/dist/ag-grid.cjs.map +1 -0
- package/dist/ag-grid.d.cts +193 -0
- package/dist/ag-grid.d.ts +193 -0
- package/dist/ag-grid.js +698 -0
- package/dist/ag-grid.js.map +1 -0
- package/dist/brands/bluehive.css +20 -0
- package/dist/brands/enterprise-health.css +32 -4
- package/dist/brands/index.cjs +12 -7
- package/dist/brands/index.d.cts +3 -1
- package/dist/brands/index.d.ts +3 -1
- package/dist/brands/index.js +3 -2
- package/dist/brands/mieweb.css +20 -0
- package/dist/brands/ozwell.cjs +12 -0
- package/dist/brands/ozwell.cjs.map +1 -0
- package/dist/brands/ozwell.css +165 -0
- package/dist/brands/ozwell.d.cts +17 -0
- package/dist/brands/ozwell.d.ts +17 -0
- package/dist/brands/ozwell.js +3 -0
- package/dist/brands/ozwell.js.map +1 -0
- package/dist/brands/waggleline.css +46 -0
- package/dist/brands/webchart.css +20 -0
- package/dist/chunk-4DJNHPHB.js +82 -0
- package/dist/chunk-4DJNHPHB.js.map +1 -0
- package/dist/{chunk-CLJZHS7Y.cjs → chunk-B5364UWR.cjs} +3 -2
- package/dist/chunk-B5364UWR.cjs.map +1 -0
- package/dist/chunk-EYH7OUX5.js +445 -0
- package/dist/chunk-EYH7OUX5.js.map +1 -0
- package/dist/{chunk-UBRDKNLQ.js → chunk-GHRQ3ZJH.js} +178 -51
- package/dist/chunk-GHRQ3ZJH.js.map +1 -0
- package/dist/{chunk-AKTUXJPI.cjs → chunk-INFSKLXE.cjs} +178 -51
- package/dist/chunk-INFSKLXE.cjs.map +1 -0
- package/dist/chunk-KEIA2G6O.cjs +84 -0
- package/dist/chunk-KEIA2G6O.cjs.map +1 -0
- package/dist/{chunk-WN2FJE23.js → chunk-KWDTTGH2.js} +3 -3
- package/dist/{chunk-WN2FJE23.js.map → chunk-KWDTTGH2.js.map} +1 -1
- package/dist/{chunk-MKJDBXX4.cjs → chunk-PEH4ZOEM.cjs} +4 -4
- package/dist/{chunk-MKJDBXX4.cjs.map → chunk-PEH4ZOEM.cjs.map} +1 -1
- package/dist/chunk-QUA7WVHK.cjs +188 -0
- package/dist/chunk-QUA7WVHK.cjs.map +1 -0
- package/dist/{chunk-S4DK5WN6.js → chunk-RYQ5NEKH.js} +3 -2
- package/dist/chunk-RYQ5NEKH.js.map +1 -0
- package/dist/chunk-SSKI6VTW.cjs +449 -0
- package/dist/chunk-SSKI6VTW.cjs.map +1 -0
- package/dist/{chunk-SN52QMRT.js → chunk-TPGT236K.js} +28 -24
- package/dist/chunk-TPGT236K.js.map +1 -0
- package/dist/{chunk-N5EKL4DH.js → chunk-VBHPXSCV.js} +4 -4
- package/dist/{chunk-N5EKL4DH.js.map → chunk-VBHPXSCV.js.map} +1 -1
- package/dist/{chunk-B7DA35BY.cjs → chunk-VZUVYJFU.cjs} +14 -14
- package/dist/{chunk-B7DA35BY.cjs.map → chunk-VZUVYJFU.cjs.map} +1 -1
- package/dist/{chunk-KMN7JX2X.cjs → chunk-WH6I7CMP.cjs} +28 -24
- package/dist/chunk-WH6I7CMP.cjs.map +1 -0
- package/dist/chunk-Y22SOAJM.js +3 -0
- package/dist/chunk-Y22SOAJM.js.map +1 -0
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.d.cts +24 -10
- package/dist/components/AudioPlayer/index.d.ts +24 -10
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/Button/index.cjs +3 -3
- package/dist/components/Button/index.js +1 -1
- package/dist/components/DateInput/index.cjs +3 -3
- package/dist/components/DateInput/index.js +2 -2
- package/dist/index.cjs +4556 -2833
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +411 -227
- package/dist/index.d.ts +411 -227
- package/dist/index.js +4093 -2349
- package/dist/index.js.map +1 -1
- package/dist/styles.css +2 -2
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/utils/index.cjs +9 -9
- package/dist/utils/index.js +1 -1
- package/package.json +53 -38
- package/dist/chunk-AKTUXJPI.cjs.map +0 -1
- package/dist/chunk-CLJZHS7Y.cjs.map +0 -1
- package/dist/chunk-KMN7JX2X.cjs.map +0 -1
- package/dist/chunk-O7WRE2WX.js +0 -195
- package/dist/chunk-O7WRE2WX.js.map +0 -1
- package/dist/chunk-S4DK5WN6.js.map +0 -1
- package/dist/chunk-SJ3BF4BO.cjs +0 -199
- package/dist/chunk-SJ3BF4BO.cjs.map +0 -1
- package/dist/chunk-SN52QMRT.js.map +0 -1
- package/dist/chunk-UBRDKNLQ.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,14 +3,8 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { AgGridReactProps, AgGridReact } from 'ag-grid-react';
|
|
7
|
-
export { AgGridReact } from 'ag-grid-react';
|
|
8
|
-
import { RowClickedEvent, RowSelectionOptions, ColDef as ColDef$1, ICellRendererParams } from 'ag-grid-community';
|
|
9
|
-
export { ColDef as AGColDef, CellClickedEvent, CellValueChangedEvent, FilterChangedEvent, FirstDataRenderedEvent, GridApi, GridReadyEvent, RowClickedEvent, RowSelectedEvent, SelectionChangedEvent, SortChangedEvent } from 'ag-grid-community';
|
|
10
|
-
import { BrandConfig } from './brands/types.js';
|
|
11
|
-
export { BrandBorderRadius, BrandBoxShadow, BrandColors, BrandTypography, ColorScale, SemanticColors, createBrandPreset, generateBrandCSS, generateTailwindTheme } from './brands/types.js';
|
|
12
6
|
export { Alert, AlertDescription, AlertProps, AlertTitle, alertVariants } from './components/Alert/index.js';
|
|
13
|
-
export { AudioPlayer, AudioPlayerProps, AudioPlayerState, ProgressBar, audioPlayerVariants, formatAudioTime, playButtonVariants } from './components/AudioPlayer/index.js';
|
|
7
|
+
export { AudioPlayer, AudioPlayerProps, AudioPlayerRef, AudioPlayerState, ProgressBar, audioPlayerVariants, formatAudioTime, playButtonVariants } from './components/AudioPlayer/index.js';
|
|
14
8
|
export { AudioRecorder, AudioRecorderControlsRenderProps, AudioRecorderProps, AudioRecorderState, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './components/AudioRecorder/index.js';
|
|
15
9
|
export { Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, avatarVariants, getInitials } from './components/Avatar/index.js';
|
|
16
10
|
export { Badge, BadgeProps, badgeVariants } from './components/Badge/index.js';
|
|
@@ -48,7 +42,9 @@ export { KeyboardShortcutOptions, useClickOutside, useCommandK, useEscapeKey, us
|
|
|
48
42
|
export { calculateAge, cn, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, parseDateValue, unformatPhoneNumber } from './utils/index.js';
|
|
49
43
|
export { default as miewebUIPreset, miewebUISafelist } from './tailwind-preset.js';
|
|
50
44
|
export { brands, defaultBrand, enterpriseHealthBrand, miewebBrand, wagglelineBrand, webchartBrand } from './brands/index.js';
|
|
51
|
-
export {
|
|
45
|
+
export { BrandBorderRadius, BrandBoxShadow, BrandColors, BrandConfig, BrandTypography, ColorScale, SemanticColors, createBrandPreset, generateBrandCSS, generateTailwindTheme } from './brands/types.js';
|
|
46
|
+
export { bluehiveBrand } from './brands/bluehive.js';
|
|
47
|
+
export { ozwellBrand } from './brands/ozwell.js';
|
|
52
48
|
import 'clsx';
|
|
53
49
|
|
|
54
50
|
interface ContactAddress {
|
|
@@ -435,189 +431,6 @@ declare namespace AddressForm {
|
|
|
435
431
|
var displayName: string;
|
|
436
432
|
}
|
|
437
433
|
|
|
438
|
-
declare const agGridVariants: (props?: ({
|
|
439
|
-
variant?: "default" | "bordered" | "striped" | "card" | null | undefined;
|
|
440
|
-
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
441
|
-
brand?: "default" | "mieweb" | "bluehive" | "waggleline" | "webchart" | "enterprise-health" | null | undefined;
|
|
442
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
443
|
-
interface AGGridProps<TData = unknown> extends Omit<AgGridReactProps<TData>, 'className' | 'rowSelection'>, VariantProps<typeof agGridVariants> {
|
|
444
|
-
/** Additional CSS classes for the grid container */
|
|
445
|
-
className?: string;
|
|
446
|
-
/** Height of the grid container */
|
|
447
|
-
height?: string | number;
|
|
448
|
-
/** Loading state */
|
|
449
|
-
loading?: boolean;
|
|
450
|
-
/** Callback when a row is clicked */
|
|
451
|
-
onRowClick?: (event: RowClickedEvent<TData>) => void;
|
|
452
|
-
/** Reference to access the grid API */
|
|
453
|
-
gridRef?: React$1.RefObject<AgGridReact<TData> | null>;
|
|
454
|
-
/** Row selection configuration (v35+ object format or legacy string) */
|
|
455
|
-
rowSelection?: RowSelectionOptions | 'single' | 'multiple';
|
|
456
|
-
/** Brand configuration for theming */
|
|
457
|
-
brandConfig?: BrandConfig;
|
|
458
|
-
/** Show pagination controls */
|
|
459
|
-
pagination?: boolean;
|
|
460
|
-
/** Enable column resizing */
|
|
461
|
-
resizable?: boolean;
|
|
462
|
-
/** Enable sorting */
|
|
463
|
-
sortable?: boolean;
|
|
464
|
-
/** Enable filtering */
|
|
465
|
-
filterable?: boolean;
|
|
466
|
-
/** Custom empty state message */
|
|
467
|
-
noDataMessage?: string;
|
|
468
|
-
/** Custom loading message */
|
|
469
|
-
loadingMessage?: string;
|
|
470
|
-
}
|
|
471
|
-
declare const AGGrid: <TData = unknown>(props: AGGridProps<TData> & {
|
|
472
|
-
ref?: React$1.ForwardedRef<AgGridReact<TData>>;
|
|
473
|
-
}) => React$1.ReactElement;
|
|
474
|
-
|
|
475
|
-
type ColDef<TData = unknown, TValue = unknown> = ColDef$1<TData, TValue>;
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* AG Grid Cell Renderers
|
|
479
|
-
*
|
|
480
|
-
* Rich, visually appealing cell renderers for AG Grid tables.
|
|
481
|
-
* Based on Waggleline's production-tested implementations with
|
|
482
|
-
* full dark mode support and design system integration.
|
|
483
|
-
*
|
|
484
|
-
* All renderers are memoized with React.memo for performance optimization.
|
|
485
|
-
*/
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* Format a phone number with dashes for display
|
|
489
|
-
*/
|
|
490
|
-
declare function formatPhoneDisplay(phone: string | null | undefined): string;
|
|
491
|
-
interface StatusConfig {
|
|
492
|
-
label: string;
|
|
493
|
-
bgClass: string;
|
|
494
|
-
textClass: string;
|
|
495
|
-
iconName?: string;
|
|
496
|
-
}
|
|
497
|
-
declare const statusColors: Record<string, StatusConfig>;
|
|
498
|
-
interface AvatarNameRendererProps extends ICellRendererParams {
|
|
499
|
-
avatarField?: string;
|
|
500
|
-
domainField?: string;
|
|
501
|
-
}
|
|
502
|
-
/**
|
|
503
|
-
* Renders an avatar with name, suitable for contact/owner columns
|
|
504
|
-
*/
|
|
505
|
-
declare function AvatarNameRenderer(props: AvatarNameRendererProps): React$1.ReactElement;
|
|
506
|
-
interface StatusBadgeRendererProps extends ICellRendererParams {
|
|
507
|
-
/** Custom status color configuration */
|
|
508
|
-
statusConfig?: Record<string, StatusConfig>;
|
|
509
|
-
}
|
|
510
|
-
/**
|
|
511
|
-
* Renders a colorful status badge
|
|
512
|
-
*/
|
|
513
|
-
declare function StatusBadgeRenderer(props: StatusBadgeRendererProps): React$1.ReactElement;
|
|
514
|
-
/**
|
|
515
|
-
* Renders engagement score with color-coded progress bar
|
|
516
|
-
*/
|
|
517
|
-
declare function EngagementScoreRenderer(props: ICellRendererParams): React$1.ReactElement;
|
|
518
|
-
/**
|
|
519
|
-
* Renders email with mailto link
|
|
520
|
-
*/
|
|
521
|
-
declare function EmailRenderer(props: ICellRendererParams): React$1.ReactElement;
|
|
522
|
-
/**
|
|
523
|
-
* Renders phone with click-to-call
|
|
524
|
-
*/
|
|
525
|
-
declare function PhoneRenderer(props: ICellRendererParams): React$1.ReactElement;
|
|
526
|
-
/**
|
|
527
|
-
* Renders a domain/website URL with icon
|
|
528
|
-
*/
|
|
529
|
-
declare function DomainRenderer(props: ICellRendererParams): React$1.ReactElement;
|
|
530
|
-
/**
|
|
531
|
-
* Renders a LinkedIn URL with icon
|
|
532
|
-
*/
|
|
533
|
-
declare function LinkedInRenderer(props: ICellRendererParams): React$1.ReactElement;
|
|
534
|
-
/**
|
|
535
|
-
* Renders currency with proper formatting
|
|
536
|
-
*/
|
|
537
|
-
declare function CurrencyRenderer(props: ICellRendererParams): React$1.ReactElement;
|
|
538
|
-
/**
|
|
539
|
-
* Renders number with comma formatting
|
|
540
|
-
*/
|
|
541
|
-
declare function NumberRenderer(props: ICellRendererParams): React$1.ReactElement;
|
|
542
|
-
interface DateRendererProps extends ICellRendererParams {
|
|
543
|
-
format?: 'short' | 'medium' | 'long' | 'relative' | 'datetime';
|
|
544
|
-
}
|
|
545
|
-
/**
|
|
546
|
-
* Renders date with formatting options
|
|
547
|
-
*/
|
|
548
|
-
declare function DateRenderer(props: DateRendererProps): React$1.ReactElement;
|
|
549
|
-
/**
|
|
550
|
-
* Renders boolean as styled Yes/No badge
|
|
551
|
-
*/
|
|
552
|
-
declare function BooleanRenderer(props: ICellRendererParams): React$1.ReactElement;
|
|
553
|
-
interface CompanyRendererProps extends ICellRendererParams {
|
|
554
|
-
companyIdField?: string;
|
|
555
|
-
domainField?: string;
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* Renders company name with favicon
|
|
559
|
-
*/
|
|
560
|
-
declare function CompanyRenderer(props: CompanyRendererProps): React$1.ReactElement;
|
|
561
|
-
interface ProgressRendererProps extends ICellRendererParams {
|
|
562
|
-
/** Color of the progress bar */
|
|
563
|
-
barColor?: string;
|
|
564
|
-
/** Maximum value (default 100) */
|
|
565
|
-
max?: number;
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* Renders a progress bar
|
|
569
|
-
*/
|
|
570
|
-
declare function ProgressRenderer(props: ProgressRendererProps): React$1.ReactElement;
|
|
571
|
-
/**
|
|
572
|
-
* Renders an array of tags as badges
|
|
573
|
-
*/
|
|
574
|
-
declare function TagsRenderer(props: ICellRendererParams): React$1.ReactElement;
|
|
575
|
-
declare const MemoizedAvatarNameRenderer: React$1.MemoExoticComponent<typeof AvatarNameRenderer>;
|
|
576
|
-
declare const MemoizedStatusBadgeRenderer: React$1.MemoExoticComponent<typeof StatusBadgeRenderer>;
|
|
577
|
-
declare const MemoizedEngagementScoreRenderer: React$1.MemoExoticComponent<typeof EngagementScoreRenderer>;
|
|
578
|
-
declare const MemoizedEmailRenderer: React$1.MemoExoticComponent<typeof EmailRenderer>;
|
|
579
|
-
declare const MemoizedPhoneRenderer: React$1.MemoExoticComponent<typeof PhoneRenderer>;
|
|
580
|
-
declare const MemoizedLinkedInRenderer: React$1.MemoExoticComponent<typeof LinkedInRenderer>;
|
|
581
|
-
declare const MemoizedDomainRenderer: React$1.MemoExoticComponent<typeof DomainRenderer>;
|
|
582
|
-
declare const MemoizedCurrencyRenderer: React$1.MemoExoticComponent<typeof CurrencyRenderer>;
|
|
583
|
-
declare const MemoizedNumberRenderer: React$1.MemoExoticComponent<typeof NumberRenderer>;
|
|
584
|
-
declare const MemoizedDateRenderer: React$1.MemoExoticComponent<typeof DateRenderer>;
|
|
585
|
-
declare const MemoizedBooleanRenderer: React$1.MemoExoticComponent<typeof BooleanRenderer>;
|
|
586
|
-
declare const MemoizedCompanyRenderer: React$1.MemoExoticComponent<typeof CompanyRenderer>;
|
|
587
|
-
declare const MemoizedProgressRenderer: React$1.MemoExoticComponent<typeof ProgressRenderer>;
|
|
588
|
-
declare const MemoizedTagsRenderer: React$1.MemoExoticComponent<typeof TagsRenderer>;
|
|
589
|
-
declare const CellRenderers: {
|
|
590
|
-
AvatarNameRenderer: typeof AvatarNameRenderer;
|
|
591
|
-
StatusBadgeRenderer: typeof StatusBadgeRenderer;
|
|
592
|
-
EngagementScoreRenderer: typeof EngagementScoreRenderer;
|
|
593
|
-
EmailRenderer: typeof EmailRenderer;
|
|
594
|
-
PhoneRenderer: typeof PhoneRenderer;
|
|
595
|
-
LinkedInRenderer: typeof LinkedInRenderer;
|
|
596
|
-
DomainRenderer: typeof DomainRenderer;
|
|
597
|
-
CurrencyRenderer: typeof CurrencyRenderer;
|
|
598
|
-
NumberRenderer: typeof NumberRenderer;
|
|
599
|
-
DateRenderer: typeof DateRenderer;
|
|
600
|
-
BooleanRenderer: typeof BooleanRenderer;
|
|
601
|
-
CompanyRenderer: typeof CompanyRenderer;
|
|
602
|
-
ProgressRenderer: typeof ProgressRenderer;
|
|
603
|
-
TagsRenderer: typeof TagsRenderer;
|
|
604
|
-
MemoizedAvatarNameRenderer: React$1.MemoExoticComponent<typeof AvatarNameRenderer>;
|
|
605
|
-
MemoizedStatusBadgeRenderer: React$1.MemoExoticComponent<typeof StatusBadgeRenderer>;
|
|
606
|
-
MemoizedEngagementScoreRenderer: React$1.MemoExoticComponent<typeof EngagementScoreRenderer>;
|
|
607
|
-
MemoizedEmailRenderer: React$1.MemoExoticComponent<typeof EmailRenderer>;
|
|
608
|
-
MemoizedPhoneRenderer: React$1.MemoExoticComponent<typeof PhoneRenderer>;
|
|
609
|
-
MemoizedLinkedInRenderer: React$1.MemoExoticComponent<typeof LinkedInRenderer>;
|
|
610
|
-
MemoizedDomainRenderer: React$1.MemoExoticComponent<typeof DomainRenderer>;
|
|
611
|
-
MemoizedCurrencyRenderer: React$1.MemoExoticComponent<typeof CurrencyRenderer>;
|
|
612
|
-
MemoizedNumberRenderer: React$1.MemoExoticComponent<typeof NumberRenderer>;
|
|
613
|
-
MemoizedDateRenderer: React$1.MemoExoticComponent<typeof DateRenderer>;
|
|
614
|
-
MemoizedBooleanRenderer: React$1.MemoExoticComponent<typeof BooleanRenderer>;
|
|
615
|
-
MemoizedCompanyRenderer: React$1.MemoExoticComponent<typeof CompanyRenderer>;
|
|
616
|
-
MemoizedProgressRenderer: React$1.MemoExoticComponent<typeof ProgressRenderer>;
|
|
617
|
-
MemoizedTagsRenderer: React$1.MemoExoticComponent<typeof TagsRenderer>;
|
|
618
|
-
formatPhoneDisplay: typeof formatPhoneDisplay;
|
|
619
|
-
};
|
|
620
|
-
|
|
621
434
|
/**
|
|
622
435
|
* AI Component Types
|
|
623
436
|
*
|
|
@@ -1612,8 +1425,9 @@ interface DialogOverlayProps {
|
|
|
1612
1425
|
onClose: () => void;
|
|
1613
1426
|
children: React$1.ReactNode;
|
|
1614
1427
|
className?: string;
|
|
1428
|
+
titleId?: string;
|
|
1615
1429
|
}
|
|
1616
|
-
declare function DialogOverlay({ isOpen, onClose, children, className, }: DialogOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
1430
|
+
declare function DialogOverlay({ isOpen, onClose, children, className, titleId, }: DialogOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
1617
1431
|
declare function BookingDialog({ isOpen, onClose, onSubmit, onCall, provider, services, defaultValues, isLoading, className, }: BookingDialogProps): react_jsx_runtime.JSX.Element;
|
|
1618
1432
|
interface InlineBookingFormProps {
|
|
1619
1433
|
provider: BookingProvider;
|
|
@@ -2107,6 +1921,90 @@ interface UseConnectionStatusReturn {
|
|
|
2107
1921
|
*/
|
|
2108
1922
|
declare function useConnectionStatus(options?: UseConnectionStatusOptions): UseConnectionStatusReturn;
|
|
2109
1923
|
|
|
1924
|
+
declare const countBadgeVariants: (props?: ({
|
|
1925
|
+
variant?: "alert" | "default" | "success" | "info" | "warning" | "informative" | null | undefined;
|
|
1926
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1927
|
+
declare const countChipVariants: (props?: ({
|
|
1928
|
+
variant?: "alert" | "default" | "success" | "info" | "warning" | "informative" | null | undefined;
|
|
1929
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1930
|
+
/** Status options for items in the hover menu */
|
|
1931
|
+
type CountBadgeItemStatus = 'active' | 'pending' | 'overdue' | 'completed' | 'cancelled';
|
|
1932
|
+
/** A single item displayed as a row in the hover menu table */
|
|
1933
|
+
interface CountBadgeItem {
|
|
1934
|
+
/** Unique identifier for the item */
|
|
1935
|
+
id: string;
|
|
1936
|
+
/** Display label for the item */
|
|
1937
|
+
label: string;
|
|
1938
|
+
/** Current status */
|
|
1939
|
+
status: CountBadgeItemStatus;
|
|
1940
|
+
}
|
|
1941
|
+
/** Action menu item for the 3-dot overflow */
|
|
1942
|
+
interface CountBadgeAction {
|
|
1943
|
+
/** Unique key for the action */
|
|
1944
|
+
key: string;
|
|
1945
|
+
/** Display label */
|
|
1946
|
+
label: string;
|
|
1947
|
+
/** Optional icon */
|
|
1948
|
+
icon?: React$1.ReactNode;
|
|
1949
|
+
/** Visual variant */
|
|
1950
|
+
variant?: 'default' | 'danger';
|
|
1951
|
+
/** Callback when the action is clicked, receives the item */
|
|
1952
|
+
onClick: (item: CountBadgeItem) => void;
|
|
1953
|
+
}
|
|
1954
|
+
interface CountBadgeProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'children'>, VariantProps<typeof countBadgeVariants> {
|
|
1955
|
+
/** The label text displayed in the badge */
|
|
1956
|
+
label: string;
|
|
1957
|
+
/** The count number displayed in the chip */
|
|
1958
|
+
count: number;
|
|
1959
|
+
/** Optional icon before the label */
|
|
1960
|
+
icon?: React$1.ReactNode;
|
|
1961
|
+
/** Items to display in the click menu table. When provided, clicking the badge shows a popover table. */
|
|
1962
|
+
items?: CountBadgeItem[];
|
|
1963
|
+
/** Actions available in each row's 3-dot overflow menu. Defaults to View / Edit / Delete. */
|
|
1964
|
+
actions?: CountBadgeAction[];
|
|
1965
|
+
/** Callback for the default "View" action (used when `actions` is not provided) */
|
|
1966
|
+
onView?: (item: CountBadgeItem) => void;
|
|
1967
|
+
/** Callback for the default "Edit" action (used when `actions` is not provided). Called with form data when the user saves. */
|
|
1968
|
+
onEdit?: (item: CountBadgeItem, formData?: Record<string, string>) => void;
|
|
1969
|
+
/** Callback for the default "Delete" action (used when `actions` is not provided). Called after the user confirms deletion in the modal. */
|
|
1970
|
+
onDelete?: (item: CountBadgeItem) => void;
|
|
1971
|
+
/** Label used in the delete confirmation dialog (e.g. "task", "encounter"). Defaults to "item". */
|
|
1972
|
+
deleteLabel?: string;
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* A pill-shaped badge with a label and count chip, ideal for navigation
|
|
1976
|
+
* shortcuts like "Tasks 3" or "Open Enc 5".
|
|
1977
|
+
*
|
|
1978
|
+
* Supports six semantic variants: `default`, `info`, `informative`,
|
|
1979
|
+
* `success`, `warning`, and `alert`.
|
|
1980
|
+
*
|
|
1981
|
+
* When `items` are provided, clicking the badge reveals a small popover
|
|
1982
|
+
* table with one row per item, each with a 3-dot overflow menu.
|
|
1983
|
+
*
|
|
1984
|
+
* @example
|
|
1985
|
+
* ```tsx
|
|
1986
|
+
* <CountBadge label="Tasks" count={3} />
|
|
1987
|
+
* <CountBadge label="Open Enc" count={5} variant="info" />
|
|
1988
|
+
* <CountBadge label="Due List" count={4} variant="warning" />
|
|
1989
|
+
* <CountBadge label="eSign" count={7} variant="alert" />
|
|
1990
|
+
*
|
|
1991
|
+
* // With hover menu
|
|
1992
|
+
* <CountBadge
|
|
1993
|
+
* label="Tasks"
|
|
1994
|
+
* count={3}
|
|
1995
|
+
* items={[
|
|
1996
|
+
* { id: '1', label: 'Review labs', status: 'active' },
|
|
1997
|
+
* { id: '2', label: 'Sign order', status: 'pending' },
|
|
1998
|
+
* { id: '3', label: 'Update meds', status: 'overdue' },
|
|
1999
|
+
* ]}
|
|
2000
|
+
* onView={(item) => console.log('View', item)}
|
|
2001
|
+
* onEdit={(item) => console.log('Edit', item)}
|
|
2002
|
+
* onDelete={(item) => console.log('Delete', item)}
|
|
2003
|
+
* />
|
|
2004
|
+
* ```
|
|
2005
|
+
*/
|
|
2006
|
+
declare const CountBadge: React$1.ForwardRefExoticComponent<CountBadgeProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2007
|
+
|
|
2110
2008
|
interface CookieConsentLink {
|
|
2111
2009
|
/** Label for the link */
|
|
2112
2010
|
label: string;
|
|
@@ -2287,7 +2185,191 @@ interface CSVFileUploadProps {
|
|
|
2287
2185
|
}
|
|
2288
2186
|
declare function CSVFileUpload({ onFileSelect, processing, accept, className, labels, }: CSVFileUploadProps): react_jsx_runtime.JSX.Element;
|
|
2289
2187
|
|
|
2290
|
-
|
|
2188
|
+
declare const widgetVariants: (props?: ({
|
|
2189
|
+
size?: "sm" | "md" | "lg" | "full" | null | undefined;
|
|
2190
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2191
|
+
interface DashboardWidgetProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof widgetVariants> {
|
|
2192
|
+
/** Widget title displayed in the header */
|
|
2193
|
+
title: string;
|
|
2194
|
+
/** Optional icon rendered before the title */
|
|
2195
|
+
icon?: React$1.ReactNode;
|
|
2196
|
+
/** Count badge next to the title (e.g. number of items) */
|
|
2197
|
+
count?: number;
|
|
2198
|
+
/** Callback when the "+" add button is clicked — omit to hide the button */
|
|
2199
|
+
onAdd?: () => void;
|
|
2200
|
+
/** Label for the add button (accessible) */
|
|
2201
|
+
addLabel?: string;
|
|
2202
|
+
/** Optional header-right element (replaces the default "+" button) */
|
|
2203
|
+
headerAction?: React$1.ReactNode;
|
|
2204
|
+
/** Show a loading skeleton state */
|
|
2205
|
+
loading?: boolean;
|
|
2206
|
+
/** Card accent color bar */
|
|
2207
|
+
accent?: 'primary' | 'success' | 'warning' | 'destructive' | 'info';
|
|
2208
|
+
/** Optional footer content beneath the widget body */
|
|
2209
|
+
footer?: React$1.ReactNode;
|
|
2210
|
+
}
|
|
2211
|
+
/**
|
|
2212
|
+
* A composable dashboard widget container.
|
|
2213
|
+
*
|
|
2214
|
+
* Provides a consistent card wrapper with a title bar, optional count badge,
|
|
2215
|
+
* and an add/action button. Pair with the variant sub-components
|
|
2216
|
+
* (`DashboardWidgetInfo`, `DashboardWidgetTable`, `DashboardWidgetActions`,
|
|
2217
|
+
* `DashboardWidgetDataCards`) to build dashboard layouts.
|
|
2218
|
+
*
|
|
2219
|
+
* @example
|
|
2220
|
+
* ```tsx
|
|
2221
|
+
* <DashboardWidget title="Demographics" icon={<UserIcon className="h-4 w-4" />}>
|
|
2222
|
+
* <DashboardWidgetInfo items={[{ label: 'Name', value: 'Hart, William' }]} />
|
|
2223
|
+
* </DashboardWidget>
|
|
2224
|
+
* ```
|
|
2225
|
+
*/
|
|
2226
|
+
declare const DashboardWidget: React$1.ForwardRefExoticComponent<DashboardWidgetProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2227
|
+
interface InfoItem {
|
|
2228
|
+
/** Field label (e.g. "NAME", "DOB") */
|
|
2229
|
+
label: string;
|
|
2230
|
+
/** Field value — string or ReactNode for rich content */
|
|
2231
|
+
value: React$1.ReactNode;
|
|
2232
|
+
/** Span full width of the grid row */
|
|
2233
|
+
fullWidth?: boolean;
|
|
2234
|
+
/** Custom className for this item */
|
|
2235
|
+
className?: string;
|
|
2236
|
+
}
|
|
2237
|
+
interface DashboardWidgetInfoProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
2238
|
+
/** Array of label/value items to display */
|
|
2239
|
+
items: InfoItem[];
|
|
2240
|
+
/** Number of columns in the grid */
|
|
2241
|
+
columns?: 1 | 2 | 3 | 4;
|
|
2242
|
+
/** Whether labels should be rendered above values (stacked) or inline */
|
|
2243
|
+
layout?: 'stacked' | 'inline';
|
|
2244
|
+
}
|
|
2245
|
+
/**
|
|
2246
|
+
* A label/value grid for displaying static information fields.
|
|
2247
|
+
*
|
|
2248
|
+
* @example
|
|
2249
|
+
* ```tsx
|
|
2250
|
+
* <DashboardWidgetInfo
|
|
2251
|
+
* columns={2}
|
|
2252
|
+
* items={[
|
|
2253
|
+
* { label: 'Name', value: 'Hart, William' },
|
|
2254
|
+
* { label: 'DOB', value: '1948-04-03 (77 y/o)' },
|
|
2255
|
+
* { label: 'Address', value: '123 Main St\nFort Wayne, IN 46802', fullWidth: true },
|
|
2256
|
+
* ]}
|
|
2257
|
+
* />
|
|
2258
|
+
* ```
|
|
2259
|
+
*/
|
|
2260
|
+
declare const DashboardWidgetInfo: React$1.ForwardRefExoticComponent<DashboardWidgetInfoProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2261
|
+
interface WidgetTableColumn<T = Record<string, unknown>> {
|
|
2262
|
+
/** Unique column key */
|
|
2263
|
+
key: string;
|
|
2264
|
+
/** Header label — omit for a headerless table */
|
|
2265
|
+
header?: string;
|
|
2266
|
+
/** Custom cell renderer */
|
|
2267
|
+
render?: (row: T, index: number) => React$1.ReactNode;
|
|
2268
|
+
/** Alignment */
|
|
2269
|
+
align?: 'left' | 'center' | 'right';
|
|
2270
|
+
/** Header & cell className */
|
|
2271
|
+
className?: string;
|
|
2272
|
+
}
|
|
2273
|
+
interface WidgetTableAction<T = Record<string, unknown>> {
|
|
2274
|
+
/** Accessible label */
|
|
2275
|
+
label: string;
|
|
2276
|
+
/** Icon to render */
|
|
2277
|
+
icon: React$1.ReactNode;
|
|
2278
|
+
/** Click handler */
|
|
2279
|
+
onClick: (row: T, index: number) => void;
|
|
2280
|
+
/** Conditionally hide per row */
|
|
2281
|
+
hidden?: (row: T, index: number) => boolean;
|
|
2282
|
+
}
|
|
2283
|
+
interface DashboardWidgetTableProps<T = Record<string, unknown>> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
2284
|
+
/** Column definitions */
|
|
2285
|
+
columns: WidgetTableColumn<T>[];
|
|
2286
|
+
/** Row data */
|
|
2287
|
+
data: T[];
|
|
2288
|
+
/** Row-level actions (edit, delete, etc.) rendered at the end of each row */
|
|
2289
|
+
actions?: WidgetTableAction<T>[];
|
|
2290
|
+
/** Show column headers */
|
|
2291
|
+
showHeader?: boolean;
|
|
2292
|
+
/** Callback when a row is clicked */
|
|
2293
|
+
onRowClick?: (row: T, index: number) => void;
|
|
2294
|
+
/** Message when data is empty */
|
|
2295
|
+
emptyMessage?: string;
|
|
2296
|
+
/** Key extractor for stable row keys */
|
|
2297
|
+
rowKey?: (row: T, index: number) => string;
|
|
2298
|
+
}
|
|
2299
|
+
declare const DashboardWidgetTable: <T extends Record<string, unknown>>(props: DashboardWidgetTableProps<T> & {
|
|
2300
|
+
ref?: React$1.ForwardedRef<HTMLDivElement>;
|
|
2301
|
+
}) => React$1.ReactElement | null;
|
|
2302
|
+
interface WidgetAction {
|
|
2303
|
+
/** Action label */
|
|
2304
|
+
label: string;
|
|
2305
|
+
/** Icon rendered before the label */
|
|
2306
|
+
icon?: React$1.ReactNode;
|
|
2307
|
+
/** Click handler */
|
|
2308
|
+
onClick?: () => void;
|
|
2309
|
+
/** Render as a link instead of a button */
|
|
2310
|
+
href?: string;
|
|
2311
|
+
/** Color accent for the icon */
|
|
2312
|
+
color?: 'primary' | 'green' | 'red' | 'orange' | 'blue' | 'purple' | 'amber' | 'neutral';
|
|
2313
|
+
/** Disabled state */
|
|
2314
|
+
disabled?: boolean;
|
|
2315
|
+
}
|
|
2316
|
+
interface DashboardWidgetActionsProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
2317
|
+
/** Array of actions to render */
|
|
2318
|
+
actions: WidgetAction[];
|
|
2319
|
+
/** Grid columns */
|
|
2320
|
+
columns?: 1 | 2 | 3;
|
|
2321
|
+
}
|
|
2322
|
+
/**
|
|
2323
|
+
* A grid of action buttons for quick navigation / shortcuts.
|
|
2324
|
+
*
|
|
2325
|
+
* @example
|
|
2326
|
+
* ```tsx
|
|
2327
|
+
* <DashboardWidgetActions
|
|
2328
|
+
* columns={2}
|
|
2329
|
+
* actions={[
|
|
2330
|
+
* { label: 'Add Encounter', icon: <CalendarIcon />, color: 'primary', onClick: handleAdd },
|
|
2331
|
+
* { label: 'Record Vitals', icon: <HeartIcon />, color: 'red', onClick: handleVitals },
|
|
2332
|
+
* ]}
|
|
2333
|
+
* />
|
|
2334
|
+
* ```
|
|
2335
|
+
*/
|
|
2336
|
+
declare const DashboardWidgetActions: React$1.ForwardRefExoticComponent<DashboardWidgetActionsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2337
|
+
interface DataCardItem {
|
|
2338
|
+
/** Short label (e.g. "BP", "PULSE") */
|
|
2339
|
+
label: string;
|
|
2340
|
+
/** Display value */
|
|
2341
|
+
value: React$1.ReactNode;
|
|
2342
|
+
/** Optional unit suffix (e.g. "lbs", "°F") */
|
|
2343
|
+
unit?: string;
|
|
2344
|
+
/** Custom className for this card */
|
|
2345
|
+
className?: string;
|
|
2346
|
+
}
|
|
2347
|
+
interface DashboardWidgetDataCardsProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
2348
|
+
/** Array of data card items */
|
|
2349
|
+
items: DataCardItem[];
|
|
2350
|
+
/** Grid columns */
|
|
2351
|
+
columns?: 2 | 3 | 4;
|
|
2352
|
+
/** Optional footer content below the grid (e.g. a date + delete button) */
|
|
2353
|
+
footer?: React$1.ReactNode;
|
|
2354
|
+
}
|
|
2355
|
+
/**
|
|
2356
|
+
* A grid of key/value stat blocks for displaying metrics at a glance.
|
|
2357
|
+
*
|
|
2358
|
+
* @example
|
|
2359
|
+
* ```tsx
|
|
2360
|
+
* <DashboardWidgetDataCards
|
|
2361
|
+
* columns={2}
|
|
2362
|
+
* items={[
|
|
2363
|
+
* { label: 'BP', value: '128/82' },
|
|
2364
|
+
* { label: 'Pulse', value: '72' },
|
|
2365
|
+
* { label: 'Temp', value: '98.6', unit: '°F' },
|
|
2366
|
+
* ]}
|
|
2367
|
+
* />
|
|
2368
|
+
* ```
|
|
2369
|
+
*/
|
|
2370
|
+
declare const DashboardWidgetDataCards: React$1.ForwardRefExoticComponent<DashboardWidgetDataCardsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2371
|
+
|
|
2372
|
+
type DateRangePresetKey = 'today' | 'this-week' | 'this-month' | 'last-month' | 'last-24-hours' | 'last-7-days' | 'last-30-days';
|
|
2291
2373
|
interface DateRangePreset {
|
|
2292
2374
|
key: DateRangePresetKey | string;
|
|
2293
2375
|
label: string;
|
|
@@ -2305,65 +2387,43 @@ interface DateRangePickerProps {
|
|
|
2305
2387
|
presets?: DateRangePreset[];
|
|
2306
2388
|
/** Currently active preset key */
|
|
2307
2389
|
activePreset?: string;
|
|
2308
|
-
/** Whether to show print button */
|
|
2309
|
-
showPrint?: boolean;
|
|
2310
|
-
/** Callback when print is clicked */
|
|
2311
|
-
onPrint?: () => void;
|
|
2312
|
-
/** Whether to show export button */
|
|
2313
|
-
showExport?: boolean;
|
|
2314
|
-
/** Callback when export is clicked */
|
|
2315
|
-
onExport?: () => void;
|
|
2316
2390
|
/** Placeholder text for the date input */
|
|
2317
2391
|
placeholder?: string;
|
|
2318
|
-
/** Date format for display */
|
|
2319
|
-
dateFormat?: string;
|
|
2320
2392
|
/** Custom className */
|
|
2321
2393
|
className?: string;
|
|
2394
|
+
/** Whether to show the preset sidebar in the calendar popup (default: true) */
|
|
2395
|
+
showPresets?: boolean;
|
|
2396
|
+
/** Display variant: desktop (default), mobile (bottom sheet), or responsive (auto-adapts at md breakpoint) */
|
|
2397
|
+
variant?: 'desktop' | 'mobile' | 'responsive';
|
|
2322
2398
|
/** Labels for i18n */
|
|
2323
2399
|
labels?: {
|
|
2324
2400
|
today?: string;
|
|
2325
2401
|
thisWeek?: string;
|
|
2326
2402
|
thisMonth?: string;
|
|
2327
2403
|
lastMonth?: string;
|
|
2328
|
-
last15Min?: string;
|
|
2329
|
-
last30Min?: string;
|
|
2330
|
-
lastHour?: string;
|
|
2331
2404
|
last24Hours?: string;
|
|
2332
2405
|
last7Days?: string;
|
|
2333
2406
|
last30Days?: string;
|
|
2334
|
-
last90Days?: string;
|
|
2335
|
-
yearToDate?: string;
|
|
2336
|
-
thisYear?: string;
|
|
2337
|
-
lastYear?: string;
|
|
2338
2407
|
filter?: string;
|
|
2339
|
-
|
|
2340
|
-
export?: string;
|
|
2408
|
+
done?: string;
|
|
2341
2409
|
};
|
|
2342
2410
|
}
|
|
2343
2411
|
/**
|
|
2344
|
-
* Date range picker with
|
|
2345
|
-
*
|
|
2412
|
+
* Date range picker with a two-month calendar popup.
|
|
2413
|
+
* Click the date input to open a calendar for selecting a custom date range.
|
|
2414
|
+
* Select a start and end date from the calendar.
|
|
2346
2415
|
*
|
|
2347
2416
|
* @example
|
|
2348
2417
|
* ```tsx
|
|
2349
2418
|
* const [range, setRange] = useState<DateRange>({ start: null, end: null });
|
|
2350
|
-
* const [preset, setPreset] = useState<string>();
|
|
2351
2419
|
*
|
|
2352
2420
|
* <DateRangePicker
|
|
2353
2421
|
* value={range}
|
|
2354
|
-
* onChange={(newRange
|
|
2355
|
-
* setRange(newRange);
|
|
2356
|
-
* setPreset(presetKey);
|
|
2357
|
-
* }}
|
|
2358
|
-
* activePreset={preset}
|
|
2359
|
-
* showPrint
|
|
2360
|
-
* showExport
|
|
2361
|
-
* onPrint={() => window.print()}
|
|
2362
|
-
* onExport={() => exportToCSV()}
|
|
2422
|
+
* onChange={(newRange) => setRange(newRange)}
|
|
2363
2423
|
* />
|
|
2364
2424
|
* ```
|
|
2365
2425
|
*/
|
|
2366
|
-
declare function DateRangePicker({ value, onChange, presets, activePreset,
|
|
2426
|
+
declare function DateRangePicker({ value, onChange, presets, activePreset, placeholder, className, showPresets, variant, labels, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
2367
2427
|
interface DateRangeFilterProps {
|
|
2368
2428
|
/** Current date range value */
|
|
2369
2429
|
value?: DateRange$1;
|
|
@@ -3039,11 +3099,15 @@ interface CreateInvoiceModalProps {
|
|
|
3039
3099
|
currency?: string;
|
|
3040
3100
|
/** Default due date offset in days */
|
|
3041
3101
|
defaultDueDays?: number;
|
|
3102
|
+
/** Initial step for the wizard (for Storybook/testing) */
|
|
3103
|
+
initialStep?: number;
|
|
3104
|
+
/** Initial employer ID (for Storybook/testing) */
|
|
3105
|
+
initialEmployerId?: string;
|
|
3042
3106
|
}
|
|
3043
3107
|
/**
|
|
3044
3108
|
* CreateInvoiceModal provides a multi-step wizard for creating invoices.
|
|
3045
3109
|
*/
|
|
3046
|
-
declare function CreateInvoiceModal({ open, onOpenChange, onSubmit, employers, orders, onEmployerChange, isLoadingOrders, isSubmitting, errorMessage, currency, defaultDueDays, }: CreateInvoiceModalProps): react_jsx_runtime.JSX.Element;
|
|
3110
|
+
declare function CreateInvoiceModal({ open, onOpenChange, onSubmit, employers, orders, onEmployerChange, isLoadingOrders, isSubmitting, errorMessage, currency, defaultDueDays, initialStep, initialEmployerId, }: CreateInvoiceModalProps): react_jsx_runtime.JSX.Element;
|
|
3047
3111
|
|
|
3048
3112
|
interface Employee {
|
|
3049
3113
|
id: string;
|
|
@@ -5399,6 +5463,126 @@ interface PageHeaderProps {
|
|
|
5399
5463
|
*/
|
|
5400
5464
|
declare function PageHeader({ title, subtitle, icon, iconAlign, actions, children, className, bordered, size, }: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
5401
5465
|
|
|
5466
|
+
interface PatientName {
|
|
5467
|
+
first: string;
|
|
5468
|
+
last: string;
|
|
5469
|
+
middle?: string;
|
|
5470
|
+
suffix?: string;
|
|
5471
|
+
}
|
|
5472
|
+
interface AllergyItem {
|
|
5473
|
+
name: string;
|
|
5474
|
+
severity?: 'mild' | 'moderate' | 'severe';
|
|
5475
|
+
}
|
|
5476
|
+
interface MedicationItem {
|
|
5477
|
+
name: string;
|
|
5478
|
+
dose?: string;
|
|
5479
|
+
}
|
|
5480
|
+
interface PatientData {
|
|
5481
|
+
/** Patient name parts */
|
|
5482
|
+
name: PatientName;
|
|
5483
|
+
/** Medical record number */
|
|
5484
|
+
mrn: string;
|
|
5485
|
+
/** Date of birth (ISO string or display string) */
|
|
5486
|
+
dob: string;
|
|
5487
|
+
/** Patient age in years */
|
|
5488
|
+
age: number;
|
|
5489
|
+
/** Biological sex */
|
|
5490
|
+
sex: 'M' | 'F' | 'U';
|
|
5491
|
+
/** Patient status */
|
|
5492
|
+
status?: 'active' | 'inactive' | 'deceased';
|
|
5493
|
+
/** Flags such as DUPLICATE, VIP, etc. */
|
|
5494
|
+
flags?: string[];
|
|
5495
|
+
/** URL to patient photo */
|
|
5496
|
+
photo?: string;
|
|
5497
|
+
/** Patient email address */
|
|
5498
|
+
email?: string;
|
|
5499
|
+
/** Patient phone number */
|
|
5500
|
+
phone?: string;
|
|
5501
|
+
/** Employer name */
|
|
5502
|
+
employer?: string;
|
|
5503
|
+
/** Attending provider name */
|
|
5504
|
+
attendingProvider?: string;
|
|
5505
|
+
/** Family/PCP provider name */
|
|
5506
|
+
familyProvider?: string;
|
|
5507
|
+
}
|
|
5508
|
+
type PatientOverflowAction = 'edit-patient' | 'add-task' | 'add-encounter' | 'add-due-list' | 'add-order' | 'add-esign' | 'add-allergy' | 'add-medication' | 'add-alert' | 'add-condition' | 'add-vitals' | 'send-message' | 'schedule-appointment' | 'print-summary' | 'export-record';
|
|
5509
|
+
interface PatientHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
5510
|
+
/** Patient data object */
|
|
5511
|
+
patient: PatientData;
|
|
5512
|
+
/** List of known allergies */
|
|
5513
|
+
allergies?: AllergyItem[];
|
|
5514
|
+
/** List of current medications */
|
|
5515
|
+
medications?: MedicationItem[];
|
|
5516
|
+
/** Patient comments or warnings */
|
|
5517
|
+
comments?: string[];
|
|
5518
|
+
/** Stick to top of viewport */
|
|
5519
|
+
sticky?: boolean;
|
|
5520
|
+
/** Whether to show the back button (default: false) */
|
|
5521
|
+
showBackButton?: boolean;
|
|
5522
|
+
/** Called when the back button is clicked */
|
|
5523
|
+
onBack?: () => void;
|
|
5524
|
+
/** Slot for action buttons on the right */
|
|
5525
|
+
actions?: React$1.ReactNode;
|
|
5526
|
+
/** Whether to show the allergy row (default: false) */
|
|
5527
|
+
showAllergyBanner?: boolean;
|
|
5528
|
+
/** Whether to show the medication row (default: false) */
|
|
5529
|
+
showMedicationBanner?: boolean;
|
|
5530
|
+
/** Whether to show the comments row (default: false) */
|
|
5531
|
+
showCommentsBanner?: boolean;
|
|
5532
|
+
/** Show collapsible demographics detail section (default: false) */
|
|
5533
|
+
showDetails?: boolean;
|
|
5534
|
+
/** Whether demographics details are expanded initially (default: true) */
|
|
5535
|
+
detailsExpanded?: boolean;
|
|
5536
|
+
/** Maximum medications to display before "+N more" (default: 4) */
|
|
5537
|
+
maxVisibleMeds?: number;
|
|
5538
|
+
/** Show the patient-level overflow menu to the right of count badges (default: false) */
|
|
5539
|
+
showOverflowMenu?: boolean;
|
|
5540
|
+
/** Called when a patient overflow menu action is selected */
|
|
5541
|
+
onOverflowAction?: (action: PatientOverflowAction) => void;
|
|
5542
|
+
/** Called when an 'Add' modal is submitted from the overflow menu */
|
|
5543
|
+
onAddItem?: (entityType: PatientOverflowAction, formData: Record<string, string>) => void;
|
|
5544
|
+
/** Called when the Edit Patient modal is saved */
|
|
5545
|
+
onEditPatient?: (formData: Record<string, string>) => void;
|
|
5546
|
+
/** Additional CSS classes */
|
|
5547
|
+
className?: string;
|
|
5548
|
+
/** Test ID for testing */
|
|
5549
|
+
'data-testid'?: string;
|
|
5550
|
+
}
|
|
5551
|
+
/**
|
|
5552
|
+
* A patient header component displaying identifying information, demographics,
|
|
5553
|
+
* allergy/medication alerts, and action buttons.
|
|
5554
|
+
*
|
|
5555
|
+
* Reuses existing components: `Avatar`, `Badge`, `Button`, and icons from `Icons/`.
|
|
5556
|
+
*
|
|
5557
|
+
* @example
|
|
5558
|
+
* ```tsx
|
|
5559
|
+
* <PatientHeader
|
|
5560
|
+
* patient={{
|
|
5561
|
+
* name: { first: 'William', last: 'Hart' },
|
|
5562
|
+
* mrn: 'MRN-000001',
|
|
5563
|
+
* dob: '1948-04-03',
|
|
5564
|
+
* age: 77,
|
|
5565
|
+
* sex: 'M',
|
|
5566
|
+
* status: 'active',
|
|
5567
|
+
* email: 'whart@example.com',
|
|
5568
|
+
* phone: '555-867-5309',
|
|
5569
|
+
* employer: 'Better Corp.',
|
|
5570
|
+
* attendingProvider: 'Selenium Selenium',
|
|
5571
|
+
* familyProvider: 'John M. Sample, M.D.',
|
|
5572
|
+
* }}
|
|
5573
|
+
* allergies={[{ name: 'Penicillin' }, { name: 'Sulfa Drugs' }]}
|
|
5574
|
+
* medications={[
|
|
5575
|
+
* { name: 'Atorvastatin', dose: '20 mg' },
|
|
5576
|
+
* { name: 'Lisinopril', dose: '10 mg' },
|
|
5577
|
+
* ]}
|
|
5578
|
+
* showAllergyBanner
|
|
5579
|
+
* showMedicationBanner
|
|
5580
|
+
* showDetails
|
|
5581
|
+
* />
|
|
5582
|
+
* ```
|
|
5583
|
+
*/
|
|
5584
|
+
declare const PatientHeader: React$1.ForwardRefExoticComponent<PatientHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
5585
|
+
|
|
5402
5586
|
interface Payment {
|
|
5403
5587
|
id: string;
|
|
5404
5588
|
invoiceNumber: string;
|
|
@@ -8228,4 +8412,4 @@ declare namespace WebsiteInputGroup {
|
|
|
8228
8412
|
var displayName: string;
|
|
8229
8413
|
}
|
|
8230
8414
|
|
|
8231
|
-
export { AGGrid, type AGGridProps, AIChat, type AIChatCallbacks, AIChatModal, type AIChatModalProps, type AIChatProps, type AIChatSession, AIChatTrigger, type AIChatTriggerProps, AILogoIcon, type AILogoIconProps, type AIMessage, type AIMessageContent, AIMessageDisplay, type AIMessageDisplayProps, type AIMessageRole, type AIMessageStatus, type AISuggestedAction, AITypingIndicator, AccessDeniedPage, type AccessDeniedPageProps, ActionButton, type ActionButtonProps, ActionButtonsBar, type ActionButtonsBarProps, ActiveFilters, type ActiveFiltersProps, AddContactModal, type AddContactModalProps, AddServiceCard, type AddServiceCardProps, AdditionalFields, type AdditionalFieldsProps, Address, AddressCard, type AddressCardProps, AddressCompact, type AddressCompactProps, type AddressData, AddressDisplay, type AddressDisplayProps, AddressForm, type AddressFormData, type AddressFormProps, AddressInline, type AddressInlineProps, type AddressProps, AppHeader, AppHeaderActions, type AppHeaderActionsProps, AppHeaderDivider, type AppHeaderDividerProps, AppHeaderIconButton, type AppHeaderIconButtonProps, type AppHeaderProps, AppHeaderSearch, type AppHeaderSearchProps, AppHeaderSection, type AppHeaderSectionProps, AppHeaderTitle, type AppHeaderTitleProps, AppHeaderUserMenu, type AppHeaderUserMenuProps, AttachmentPicker, type AttachmentPickerProps, AttachmentPreview, AttachmentPreviewItem, type AttachmentPreviewItemProps, type AttachmentPreviewProps, type AttachmentState, type AttachmentType, AuthButtons, type AuthButtonsProps, AuthDialog, type AuthDialogProps, type AuthMode, AvatarNameRenderer, type BackgroundCheckCandidate, type BackgroundCheckReport, type BankAccountData, BookAppointmentButton, type BookAppointmentButtonProps, BookingDialog, type BookingDialogProps, type BookingFormData, type BookingProvider, type BookingService, BooleanRenderer, BrandConfig, BusinessHours, BusinessHoursEditor, type BusinessHoursEditorProps, type BusinessHoursProps, type BusinessHoursSchedule, type CSVColumn, CSVColumnMapper, type CSVColumnMapperProps, CSVFileUpload, type CSVFileUploadProps, type CalendarAppointment, CameraButton, type CameraButtonProps, type CameraPermission, CardSkeleton, type CardSkeletonProps, CellRenderers, CharacterCounter, type CharacterCounterProps, type ChartDataPoint, CheckrIntegration, type CheckrIntegrationProps, ChevronIcon, type ChevronIconProps, type ClaimFormData, ClaimListingButton, type ClaimListingButtonProps, ClaimProviderForm, type ClaimProviderFormProps, CloseIcon, type CloseIconProps, type ColDef, CommandPalette, type CommandPaletteCategory, type CommandPaletteContextValue, type CommandPaletteItem, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, CommandPaletteTrigger, type CommandPaletteTriggerProps, CompactCookieBanner, type CompactCookieBannerProps, CompactFilterBar, type CompactFilterBarProps, CompactHeader, type CompactHeaderProps, CompactHours, type CompactHoursProps, CompactProviderHeader, type CompactProviderHeaderProps, CompanyRenderer, type ConfirmationResult, type ConnectionInfo, type ConnectionState, ConnectionStatusBadge, type ConnectionStatusBadgeProps, ConnectionStatusBar, type ConnectionStatusBarProps, ConnectionStatusOverlay, type ConnectionStatusOverlayProps, ConsentSwitch, type ConsentSwitchProps, type Contact, type ContactAddress, type ContactFormData, type Conversation, ConversationHeader, type ConversationHeaderProps, ConversationListItem, type ConversationListItemProps, ConversationListSkeleton, type ConversationListSkeletonProps, type ConversationType, CookieConsentBanner, type CookieConsentBannerProps, type CookieConsentLink, CopyrightText, type CopyrightTextProps, type CreateInvoiceData, CreateInvoiceModal, type CreateInvoiceModalProps, CreateReferralModal, type CreateReferralModalProps, type CreditCardData, CurrencyRenderer, type CustomField, DEFAULT_ACCEPTED_FILE_TYPES, DEFAULT_ERROR_CONFIGS, DEFAULT_LANGUAGES, DEFAULT_MAX_FILE_SIZE_MB, DEFAULT_RADIUS_OPTIONS, DEFAULT_SOCIAL_PROVIDERS, DOTBadge, type DOTBadgeProps, type DateRange$1 as DateRange, DateRangeFilter, type DateRangeFilterProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, type DateRangePresetKey, DateRenderer, type DateRendererProps, DateSeparator, type DateSeparatorProps, type DayHours, type DaySchedule, type Department, type DetectionConfig, type DetectionMetrics, type DetectionState, DialogOverlay, type DialogOverlayProps, DisclaimerText, type DisclaimerTextProps, type DocumentBoundary, DocumentDetectionOverlay, DocumentScanner, type DocumentScannerProps, DomainRenderer, DragDropZone, type DragDropZoneProps, DropZone, type DropZoneProps, DropzoneOverlay, type DropzoneOverlayProps, EditUserRoleModal, type EditUserRoleModalProps, EmailRenderer, type Employee, type EmployeeAddress, type EmployeeData, EmployeeForm, type EmployeeFormData, type EmployeeFormProps, type EmployeePhone, EmployeeProfileCard, type EmployeeProfileCardProps, type Employer, type EmployerAccess, type EmployerAddress, type EmployerContact, EmployerContactCard, type EmployerContactCardProps, type EmployerDetails, type EmployerInvoice, EmployerList, type EmployerListProps, type EmployerOption, type EmployerOrder, EmployerPricingCard, type EmployerPricingCardProps, type EmployerServiceConfig, EmployerServiceModal, type EmployerServiceModalProps, EmployerView, type EmployerViewProps, EmptyState, type EmptyStateProps, EngagementScoreRenderer, ErrorPage, type ErrorPageConfig, type ErrorPageProps, type ErrorType, type FAQItem, type FieldOption, type FileItem, FileManager, type FileManagerProps, FilePreview, type FilePreviewProps, FloatingAIChat, type FloatingAIChatProps, FloatingInput, type FloatingInputProps, type FooterLink, type FooterLinkGroup, FooterLinkSection, type FooterLinkSectionProps, SocialMediaLinks as FooterSocialLinks, type SocialMediaLinksProps as FooterSocialLinksProps, type GeolocationStatus, type HRISProvider, HRISProviderSelector, type HRISProviderSelectorProps, HelpSupportPanel, type HelpSupportPanelProps, HeroSearchBar, type HeroSearchBarProps, HoursSummary, type HoursSummaryProps, InlineBookingForm, type InlineBookingFormProps, InputProps, type InventoryLogEntry, InventoryManager, type InventoryManagerProps, InviteUserModal, type InviteUserModalProps, type Invoice, type InvoiceLineItem$1 as InvoiceLineItem, InvoiceList, type InvoiceListProps, type InvoicePaymentDetails, InvoicePaymentPage, type InvoicePaymentPageProps, InvoiceView, type InvoiceViewProps, type KeyValueEntry, type Language, LanguageSelector, LanguageSelectorInline, type LanguageSelectorInlineProps, LanguageSelectorNative, type LanguageSelectorNativeProps, type LanguageSelectorProps, LegalLinks, type LegalLinksProps, LightboxModal, type LightboxModalProps, LinkedInRenderer, LoadMoreButton, type LoadMoreButtonProps, LoadingBar, type LoadingBarProps, LoadingDots, type LoadingDotsProps, LoadingOverlay, type LoadingOverlayProps, LoadingPage, type LoadingPageProps, LoadingSkeleton, type LoadingSkeletonProps, type MCPResource, type MCPResourceLink, type MCPToolCall, MCPToolCallDisplay, type MCPToolCallDisplayProps, type MCPToolInfo, type MCPToolParameter, type MCPToolResult, type MCPToolStatus, MaintenancePage, type MaintenancePageProps, MemoizedAvatarNameRenderer, MemoizedBooleanRenderer, MemoizedCompanyRenderer, MemoizedCurrencyRenderer, MemoizedDateRenderer, MemoizedDomainRenderer, MemoizedEmailRenderer, MemoizedEngagementScoreRenderer, MemoizedLinkedInRenderer, MemoizedNumberRenderer, MemoizedPhoneRenderer, MemoizedProgressRenderer, MemoizedStatusBadgeRenderer, MemoizedTagsRenderer, type Message, type MessageAction, type MessageAttachment, MessageAvatar, MessageBubble, type MessageBubbleProps, MessageComposer, type MessageComposerProps, type MessageGroup, MessageList, type MessageListProps, type MessageParticipant, type MessageReaction, type MessageStatus, MessageStatusIcon, type MessageStatusIconProps, type MessageStatusIndicator, MessageThread, type MessageThreadProps, type MessageType, type MessagingEventHandlers, type MessagingLoadingState, MessagingSplitView, type MessagingSplitViewProps, type MetricData, MobileBackButton, type MobileBackButtonProps, MobileMenuButton, type MobileMenuButtonProps, MobileMenuPanel, type MobileMenuPanelProps, type NavLink, NavLinks, type NavLinksProps, type NewMessage, NewsletterForm, type NewsletterFormProps, NotFoundPage, type NotFoundPageProps, type Notification, NotificationCenter, type NotificationCenterProps, NumberRenderer, OfflinePage, type OfflinePageProps, OnboardingCompletion, type OnboardingCompletionProps, type OnboardingStep, OnboardingStepQuestion, type OnboardingStepQuestionProps, OnboardingWizard, type OnboardingWizardProps, OpenStatusBadge, OrderCard, type OrderCardProps, OrderConfirmation, type OrderConfirmationProps, OrderConfirmationWizard, type OrderConfirmationWizardProps, OrderDetailSidebar, type OrderDetailSidebarProps, type OrderDetails, type OrderEmployee, type OrderEmployer, OrderList, type OrderListProps, type OrderListTab, type OrderLookupData, OrderLookupForm, type OrderLookupFormProps, type OrderOption, type OrderService, OrderSidebar, type OrderSidebarProps, type OrderSidebarTab, OrderSidebarTabs, type OrderSidebarTabsProps, type OrderStatus$1 as OrderStatus, PageHeader, type PageHeaderProps, type Payment, type PaymentFormData, PaymentHistoryTable, type PaymentHistoryTableProps, type PaymentMethod, PaymentMethodBank, type PaymentMethodBankProps, PaymentMethodCard, type PaymentMethodCardProps, PaymentMethodList, type PaymentMethodListProps, type PendingClaim, PendingClaimsTable, type PendingClaimsTableProps, type Permission, type PermissionGroup, PermissionsEditor, type PermissionsEditorProps, PhoneRenderer, type Point, type PostalCodeInfo, type PreviewFile, type PricingTier, ProductVersion, ProductVersionBadge, type ProductVersionBadgeProps, type ProductVersionProps, ProgressRenderer, type ProgressRendererProps, type Provider, type ProviderAddress$1 as ProviderAddress, Breadcrumb as ProviderBreadcrumb, type BreadcrumbItem as ProviderBreadcrumbItem, type BreadcrumbProps as ProviderBreadcrumbProps, ProviderCard, ProviderCardGrid, type ProviderCardGridProps, type ProviderCardProps, ProviderCardSkeleton, type ProviderCardSkeletonProps, type ProviderContact, type ProviderAddress as ProviderDetailAddress, type ProviderDetailData, ProviderDetailHeader, type ProviderDetailHeaderProps, ProviderDetailHeaderSkeleton, type ProviderDetailHeaderSkeletonProps, type ProviderFilters, ProviderLogo, type ProviderLogoProps, type ProviderOption, ProviderOverview, type ProviderOverviewProps, ProviderSearchBar, type ProviderSearchBarProps, ProviderSearchFilters, type ProviderSearchFiltersProps, ProviderSelector, type ProviderSelectorProps, type ProviderService, ProviderSettings, type ProviderSettingsData, type ProviderSettingsProps, SocialMediaLinks$1 as ProviderSocialLinks, type SocialMediaLinksProps$1 as ProviderSocialLinksProps, type ProviderStats, type ProviderUrls, type ProviderUser, ProviderUsersTable, type ProviderUsersTableProps, QuickBookCard, type QuickBookCardProps, type QuickLink, QuickLinksCard, type QuickLinksCardProps, type RadiusOption, type ReadReceipt, ReadReceiptIndicator, type ReadReceiptIndicatorProps, type RecentActivity, type RecurringService, RecurringServiceAddCard, type RecurringServiceAddCardProps, RecurringServiceCard, type RecurringServiceCardProps, type RecurringServiceCardState, type RecurringServiceFormData, RecurringServiceGrid, type RecurringServiceGridProps, RecurringServiceSetupModal, type RecurringServiceSetupModalProps, type ReferralData, RefreshIcon, type RefreshIconProps, RejectionModal, type RejectionModalProps, type RejectionReason, ReportDashboard, type ReportDashboardProps, ReportDatePicker, type ReportDatePickerProps, ReportLink, type ReportLinkProps, type ReportResult, ResourceLink, type ResourceLinkProps, type ResultStatus, ResultsEntryCard, type ResultsEntryData, ResultsEntryForm, type ResultsEntryFormProps, ResultsEntryModal, type ResultsEntryModalProps, type Role, type SSOConfigData, SSOConfigForm, type SSOConfigFormProps, type ScannerSource, type ScannerState, ScheduleCalendar, type ScheduleCalendarProps, type SearchResults, SearchResultsMessage, type SearchResultsMessageProps, type SelectableService, SelectedServicesBadges, type SelectedServicesBadgesProps, SendButton, type SendButtonProps, SendIcon, type SendIconProps, ServerErrorPage, type ServerErrorPageProps, ServiceAccordion, type ServiceAccordionProps, ServiceBadge, ServiceBadgeGroup, type ServiceBadgeGroupProps, type ServiceBadgeProps, ServiceCard, type ServiceCardProps, type ServiceCategory$1 as ServiceCategory, ServiceCategoryBadge, type ServiceCategoryBadgeProps, type ServiceFormData, ServiceGeneralSettings, type ServiceGeneralSettingsProps, ServiceGrid, type ServiceGridProps, type ServiceGroup, type ServiceItem, ServiceLink, ServiceList, type ServiceListProps, ServiceMultiSelect, type ServiceOption, ServicePicker, type ServicePickerProps, type ServicePrice, ServicePricingManager, type ServicePricingManagerProps, ServiceSelect, type ServiceSelectProps, ServiceShippingSettings, type ServiceShippingSettingsProps, type ServiceSubCategory, ServiceTagCloud, ServiceTagCloudBadges, type ServiceTagCloudProps as ServiceTagCloudBadgesProps, type ServiceTagCloudProps$1 as ServiceTagCloudProps, SetupServiceModal, type SetupServiceModalProps, type ShippingAddress, Sidebar, SidebarContent, type SidebarContentProps, type SidebarContextValue, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarMobileToggle, type SidebarMobileToggleProps, SidebarNav, SidebarNavGroup, type SidebarNavGroupProps, SidebarNavItem, type SidebarNavItemProps, type SidebarNavProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarSearch, type SidebarSearchProps, SidebarToggle, type SidebarToggleProps, type SignupData, SimpleFooter, type SimpleFooterProps, SiteFooter, type SiteFooterProps, SiteHeader, type SiteHeaderProps, SiteLogo, type SiteLogoProps, SkeletonMessage, type SkeletonMessageProps, type SocialLink, type SocialProvider, SparklesIcon, type SparklesIconProps, SpinnerIcon, type SpinnerIconProps, SpinnerProps, StatusBadgeRenderer, type StatusBadgeRendererProps, type StatusConfig, type Step, StepIndicator, type StepIndicatorProps, StripeBadge, type StripeBadgeProps, StripeSecureBadge, type StripeSecureBadgeProps, SuggestedActions, type SuggestedActionsProps, type SupportContact, type SystemMessageType, type SystemReport, TagsRenderer, type TimeRange, type TimeSlot, type TimelineEvent, TimelineEventList, type TimelineEventListProps, TimelineProgress, type TimelineProgressProps, type TimelineSize, type TimelineStep, type TimelineStepState, Toast, ToastContainer, type ToastContainerProps, type ToastContextValue, type ToastData, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastVariant, ToolStatusIcon, type TopItem, TypingIndicator, type TypingIndicatorProps, type TypingState, UpdateAvailableOverlay, type UpdateAvailableOverlayProps, type UpdateInfo, type UseConnectionStatusOptions, type UseConnectionStatusReturn, type UseCookieConsentOptions, type UseCookieConsentReturn, type UseDropzoneOptions, type UseDropzoneReturn, type UseMessageScrollOptions, type UseMessageScrollReturn, type UseMessagesOptions, type UseMessagesReturn, type UseReadReceiptsOptions, type UseTypingIndicatorOptions, type UseTypingIndicatorReturn, UserMenu, type UserMenuProps, type UserProfile, type UserRole, type ValidationError, VerifiedBadge, type VerifiedBadgeProps, WEBSITE_TYPES, WebChartReportViewer, type WebChartReportViewerProps, WebcamModal, type WebcamModalProps, type WebsiteEntry, WebsiteInput, WebsiteInputGroup, type WebsiteInputGroupProps, type WebsiteInputProps, type WebsiteType, bubbleVariants, create24HourSchedule, createDefaultSchedule, createWeekdaySchedule, defaultOrderTabs, formatAddressLines, formatAddressSingleLine, formatCityState, formatCityStateZip, formatDateLabel, formatFileSize, formatLastSeen, formatPhoneDisplay, generateAttachmentId, generateId, getConversationSubtitle, getConversationTitle, getFileType, getGoogleMapsSearchUrl, getGoogleMapsUrl, getToolIcon, groupMessagesByDate, headerVariants$2 as headerVariants, isSameSenderGroup, isValidUrl, sendButtonVariants, statusColors, useCamera, useCommandPalette, useConnectionStatus, useCookieConsent, useDocumentDetection, useDropzone, useFileUpload, useMessageScroll, useMessages, useReadReceipts, useSidebar, useToast, useTypingIndicator, validateFile };
|
|
8415
|
+
export { AIChat, type AIChatCallbacks, AIChatModal, type AIChatModalProps, type AIChatProps, type AIChatSession, AIChatTrigger, type AIChatTriggerProps, AILogoIcon, type AILogoIconProps, type AIMessage, type AIMessageContent, AIMessageDisplay, type AIMessageDisplayProps, type AIMessageRole, type AIMessageStatus, type AISuggestedAction, AITypingIndicator, AccessDeniedPage, type AccessDeniedPageProps, ActionButton, type ActionButtonProps, ActionButtonsBar, type ActionButtonsBarProps, ActiveFilters, type ActiveFiltersProps, AddContactModal, type AddContactModalProps, AddServiceCard, type AddServiceCardProps, AdditionalFields, type AdditionalFieldsProps, Address, AddressCard, type AddressCardProps, AddressCompact, type AddressCompactProps, type AddressData, AddressDisplay, type AddressDisplayProps, AddressForm, type AddressFormData, type AddressFormProps, AddressInline, type AddressInlineProps, type AddressProps, type AllergyItem, AppHeader, AppHeaderActions, type AppHeaderActionsProps, AppHeaderDivider, type AppHeaderDividerProps, AppHeaderIconButton, type AppHeaderIconButtonProps, type AppHeaderProps, AppHeaderSearch, type AppHeaderSearchProps, AppHeaderSection, type AppHeaderSectionProps, AppHeaderTitle, type AppHeaderTitleProps, AppHeaderUserMenu, type AppHeaderUserMenuProps, AttachmentPicker, type AttachmentPickerProps, AttachmentPreview, AttachmentPreviewItem, type AttachmentPreviewItemProps, type AttachmentPreviewProps, type AttachmentState, type AttachmentType, AuthButtons, type AuthButtonsProps, AuthDialog, type AuthDialogProps, type AuthMode, type BackgroundCheckCandidate, type BackgroundCheckReport, type BankAccountData, BookAppointmentButton, type BookAppointmentButtonProps, BookingDialog, type BookingDialogProps, type BookingFormData, type BookingProvider, type BookingService, BusinessHours, BusinessHoursEditor, type BusinessHoursEditorProps, type BusinessHoursProps, type BusinessHoursSchedule, type CSVColumn, CSVColumnMapper, type CSVColumnMapperProps, CSVFileUpload, type CSVFileUploadProps, type CalendarAppointment, CameraButton, type CameraButtonProps, type CameraPermission, CardSkeleton, type CardSkeletonProps, CharacterCounter, type CharacterCounterProps, type ChartDataPoint, CheckrIntegration, type CheckrIntegrationProps, ChevronIcon, type ChevronIconProps, type ClaimFormData, ClaimListingButton, type ClaimListingButtonProps, ClaimProviderForm, type ClaimProviderFormProps, CloseIcon, type CloseIconProps, CommandPalette, type CommandPaletteCategory, type CommandPaletteContextValue, type CommandPaletteItem, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, CommandPaletteTrigger, type CommandPaletteTriggerProps, CompactCookieBanner, type CompactCookieBannerProps, CompactFilterBar, type CompactFilterBarProps, CompactHeader, type CompactHeaderProps, CompactHours, type CompactHoursProps, CompactProviderHeader, type CompactProviderHeaderProps, type ConfirmationResult, type ConnectionInfo, type ConnectionState, ConnectionStatusBadge, type ConnectionStatusBadgeProps, ConnectionStatusBar, type ConnectionStatusBarProps, ConnectionStatusOverlay, type ConnectionStatusOverlayProps, ConsentSwitch, type ConsentSwitchProps, type Contact, type ContactAddress, type ContactFormData, type Conversation, ConversationHeader, type ConversationHeaderProps, ConversationListItem, type ConversationListItemProps, ConversationListSkeleton, type ConversationListSkeletonProps, type ConversationType, CookieConsentBanner, type CookieConsentBannerProps, type CookieConsentLink, CopyrightText, type CopyrightTextProps, CountBadge, type CountBadgeAction, type CountBadgeItem, type CountBadgeItemStatus, type CountBadgeProps, type CreateInvoiceData, CreateInvoiceModal, type CreateInvoiceModalProps, CreateReferralModal, type CreateReferralModalProps, type CreditCardData, type CustomField, DEFAULT_ACCEPTED_FILE_TYPES, DEFAULT_ERROR_CONFIGS, DEFAULT_LANGUAGES, DEFAULT_MAX_FILE_SIZE_MB, DEFAULT_RADIUS_OPTIONS, DEFAULT_SOCIAL_PROVIDERS, DOTBadge, type DOTBadgeProps, DashboardWidget, DashboardWidgetActions, type DashboardWidgetActionsProps, DashboardWidgetDataCards, type DashboardWidgetDataCardsProps, DashboardWidgetInfo, type DashboardWidgetInfoProps, type DashboardWidgetProps, DashboardWidgetTable, type DashboardWidgetTableProps, type DataCardItem, type DateRange$1 as DateRange, DateRangeFilter, type DateRangeFilterProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, type DateRangePresetKey, DateSeparator, type DateSeparatorProps, type DayHours, type DaySchedule, type Department, type DetectionConfig, type DetectionMetrics, type DetectionState, DialogOverlay, type DialogOverlayProps, DisclaimerText, type DisclaimerTextProps, type DocumentBoundary, DocumentDetectionOverlay, DocumentScanner, type DocumentScannerProps, DragDropZone, type DragDropZoneProps, DropZone, type DropZoneProps, DropzoneOverlay, type DropzoneOverlayProps, EditUserRoleModal, type EditUserRoleModalProps, type Employee, type EmployeeAddress, type EmployeeData, EmployeeForm, type EmployeeFormData, type EmployeeFormProps, type EmployeePhone, EmployeeProfileCard, type EmployeeProfileCardProps, type Employer, type EmployerAccess, type EmployerAddress, type EmployerContact, EmployerContactCard, type EmployerContactCardProps, type EmployerDetails, type EmployerInvoice, EmployerList, type EmployerListProps, type EmployerOption, type EmployerOrder, EmployerPricingCard, type EmployerPricingCardProps, type EmployerServiceConfig, EmployerServiceModal, type EmployerServiceModalProps, EmployerView, type EmployerViewProps, EmptyState, type EmptyStateProps, ErrorPage, type ErrorPageConfig, type ErrorPageProps, type ErrorType, type FAQItem, type FieldOption, type FileItem, FileManager, type FileManagerProps, FilePreview, type FilePreviewProps, FloatingAIChat, type FloatingAIChatProps, FloatingInput, type FloatingInputProps, type FooterLink, type FooterLinkGroup, FooterLinkSection, type FooterLinkSectionProps, SocialMediaLinks as FooterSocialLinks, type SocialMediaLinksProps as FooterSocialLinksProps, type GeolocationStatus, type HRISProvider, HRISProviderSelector, type HRISProviderSelectorProps, HelpSupportPanel, type HelpSupportPanelProps, HeroSearchBar, type HeroSearchBarProps, HoursSummary, type HoursSummaryProps, type InfoItem, InlineBookingForm, type InlineBookingFormProps, InputProps, type InventoryLogEntry, InventoryManager, type InventoryManagerProps, InviteUserModal, type InviteUserModalProps, type Invoice, type InvoiceLineItem$1 as InvoiceLineItem, InvoiceList, type InvoiceListProps, type InvoicePaymentDetails, InvoicePaymentPage, type InvoicePaymentPageProps, InvoiceView, type InvoiceViewProps, type KeyValueEntry, type Language, LanguageSelector, LanguageSelectorInline, type LanguageSelectorInlineProps, LanguageSelectorNative, type LanguageSelectorNativeProps, type LanguageSelectorProps, LegalLinks, type LegalLinksProps, LightboxModal, type LightboxModalProps, LoadMoreButton, type LoadMoreButtonProps, LoadingBar, type LoadingBarProps, LoadingDots, type LoadingDotsProps, LoadingOverlay, type LoadingOverlayProps, LoadingPage, type LoadingPageProps, LoadingSkeleton, type LoadingSkeletonProps, type MCPResource, type MCPResourceLink, type MCPToolCall, MCPToolCallDisplay, type MCPToolCallDisplayProps, type MCPToolInfo, type MCPToolParameter, type MCPToolResult, type MCPToolStatus, MaintenancePage, type MaintenancePageProps, type MedicationItem, type Message, type MessageAction, type MessageAttachment, MessageAvatar, MessageBubble, type MessageBubbleProps, MessageComposer, type MessageComposerProps, type MessageGroup, MessageList, type MessageListProps, type MessageParticipant, type MessageReaction, type MessageStatus, MessageStatusIcon, type MessageStatusIconProps, type MessageStatusIndicator, MessageThread, type MessageThreadProps, type MessageType, type MessagingEventHandlers, type MessagingLoadingState, MessagingSplitView, type MessagingSplitViewProps, type MetricData, MobileBackButton, type MobileBackButtonProps, MobileMenuButton, type MobileMenuButtonProps, MobileMenuPanel, type MobileMenuPanelProps, type NavLink, NavLinks, type NavLinksProps, type NewMessage, NewsletterForm, type NewsletterFormProps, NotFoundPage, type NotFoundPageProps, type Notification, NotificationCenter, type NotificationCenterProps, OfflinePage, type OfflinePageProps, OnboardingCompletion, type OnboardingCompletionProps, type OnboardingStep, OnboardingStepQuestion, type OnboardingStepQuestionProps, OnboardingWizard, type OnboardingWizardProps, OpenStatusBadge, OrderCard, type OrderCardProps, OrderConfirmation, type OrderConfirmationProps, OrderConfirmationWizard, type OrderConfirmationWizardProps, OrderDetailSidebar, type OrderDetailSidebarProps, type OrderDetails, type OrderEmployee, type OrderEmployer, OrderList, type OrderListProps, type OrderListTab, type OrderLookupData, OrderLookupForm, type OrderLookupFormProps, type OrderOption, type OrderService, OrderSidebar, type OrderSidebarProps, type OrderSidebarTab, OrderSidebarTabs, type OrderSidebarTabsProps, type OrderStatus$1 as OrderStatus, PageHeader, type PageHeaderProps, type PatientData, PatientHeader, type PatientHeaderProps, type PatientName, type PatientOverflowAction, type Payment, type PaymentFormData, PaymentHistoryTable, type PaymentHistoryTableProps, type PaymentMethod, PaymentMethodBank, type PaymentMethodBankProps, PaymentMethodCard, type PaymentMethodCardProps, PaymentMethodList, type PaymentMethodListProps, type PendingClaim, PendingClaimsTable, type PendingClaimsTableProps, type Permission, type PermissionGroup, PermissionsEditor, type PermissionsEditorProps, type Point, type PostalCodeInfo, type PreviewFile, type PricingTier, ProductVersion, ProductVersionBadge, type ProductVersionBadgeProps, type ProductVersionProps, type Provider, type ProviderAddress$1 as ProviderAddress, Breadcrumb as ProviderBreadcrumb, type BreadcrumbItem as ProviderBreadcrumbItem, type BreadcrumbProps as ProviderBreadcrumbProps, ProviderCard, ProviderCardGrid, type ProviderCardGridProps, type ProviderCardProps, ProviderCardSkeleton, type ProviderCardSkeletonProps, type ProviderContact, type ProviderAddress as ProviderDetailAddress, type ProviderDetailData, ProviderDetailHeader, type ProviderDetailHeaderProps, ProviderDetailHeaderSkeleton, type ProviderDetailHeaderSkeletonProps, type ProviderFilters, ProviderLogo, type ProviderLogoProps, type ProviderOption, ProviderOverview, type ProviderOverviewProps, ProviderSearchBar, type ProviderSearchBarProps, ProviderSearchFilters, type ProviderSearchFiltersProps, ProviderSelector, type ProviderSelectorProps, type ProviderService, ProviderSettings, type ProviderSettingsData, type ProviderSettingsProps, SocialMediaLinks$1 as ProviderSocialLinks, type SocialMediaLinksProps$1 as ProviderSocialLinksProps, type ProviderStats, type ProviderUrls, type ProviderUser, ProviderUsersTable, type ProviderUsersTableProps, QuickBookCard, type QuickBookCardProps, type QuickLink, QuickLinksCard, type QuickLinksCardProps, type RadiusOption, type ReadReceipt, ReadReceiptIndicator, type ReadReceiptIndicatorProps, type RecentActivity, type RecurringService, RecurringServiceAddCard, type RecurringServiceAddCardProps, RecurringServiceCard, type RecurringServiceCardProps, type RecurringServiceCardState, type RecurringServiceFormData, RecurringServiceGrid, type RecurringServiceGridProps, RecurringServiceSetupModal, type RecurringServiceSetupModalProps, type ReferralData, RefreshIcon, type RefreshIconProps, RejectionModal, type RejectionModalProps, type RejectionReason, ReportDashboard, type ReportDashboardProps, ReportDatePicker, type ReportDatePickerProps, ReportLink, type ReportLinkProps, type ReportResult, ResourceLink, type ResourceLinkProps, type ResultStatus, ResultsEntryCard, type ResultsEntryData, ResultsEntryForm, type ResultsEntryFormProps, ResultsEntryModal, type ResultsEntryModalProps, type Role, type SSOConfigData, SSOConfigForm, type SSOConfigFormProps, type ScannerSource, type ScannerState, ScheduleCalendar, type ScheduleCalendarProps, type SearchResults, SearchResultsMessage, type SearchResultsMessageProps, type SelectableService, SelectedServicesBadges, type SelectedServicesBadgesProps, SendButton, type SendButtonProps, SendIcon, type SendIconProps, ServerErrorPage, type ServerErrorPageProps, ServiceAccordion, type ServiceAccordionProps, ServiceBadge, ServiceBadgeGroup, type ServiceBadgeGroupProps, type ServiceBadgeProps, ServiceCard, type ServiceCardProps, type ServiceCategory$1 as ServiceCategory, ServiceCategoryBadge, type ServiceCategoryBadgeProps, type ServiceFormData, ServiceGeneralSettings, type ServiceGeneralSettingsProps, ServiceGrid, type ServiceGridProps, type ServiceGroup, type ServiceItem, ServiceLink, ServiceList, type ServiceListProps, ServiceMultiSelect, type ServiceOption, ServicePicker, type ServicePickerProps, type ServicePrice, ServicePricingManager, type ServicePricingManagerProps, ServiceSelect, type ServiceSelectProps, ServiceShippingSettings, type ServiceShippingSettingsProps, type ServiceSubCategory, ServiceTagCloud, ServiceTagCloudBadges, type ServiceTagCloudProps as ServiceTagCloudBadgesProps, type ServiceTagCloudProps$1 as ServiceTagCloudProps, SetupServiceModal, type SetupServiceModalProps, type ShippingAddress, Sidebar, SidebarContent, type SidebarContentProps, type SidebarContextValue, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarMobileToggle, type SidebarMobileToggleProps, SidebarNav, SidebarNavGroup, type SidebarNavGroupProps, SidebarNavItem, type SidebarNavItemProps, type SidebarNavProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarSearch, type SidebarSearchProps, SidebarToggle, type SidebarToggleProps, type SignupData, SimpleFooter, type SimpleFooterProps, SiteFooter, type SiteFooterProps, SiteHeader, type SiteHeaderProps, SiteLogo, type SiteLogoProps, SkeletonMessage, type SkeletonMessageProps, type SocialLink, type SocialProvider, SparklesIcon, type SparklesIconProps, SpinnerIcon, type SpinnerIconProps, SpinnerProps, type Step, StepIndicator, type StepIndicatorProps, StripeBadge, type StripeBadgeProps, StripeSecureBadge, type StripeSecureBadgeProps, SuggestedActions, type SuggestedActionsProps, type SupportContact, type SystemMessageType, type SystemReport, type TimeRange, type TimeSlot, type TimelineEvent, TimelineEventList, type TimelineEventListProps, TimelineProgress, type TimelineProgressProps, type TimelineSize, type TimelineStep, type TimelineStepState, Toast, ToastContainer, type ToastContainerProps, type ToastContextValue, type ToastData, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastVariant, ToolStatusIcon, type TopItem, TypingIndicator, type TypingIndicatorProps, type TypingState, UpdateAvailableOverlay, type UpdateAvailableOverlayProps, type UpdateInfo, type UseConnectionStatusOptions, type UseConnectionStatusReturn, type UseCookieConsentOptions, type UseCookieConsentReturn, type UseDropzoneOptions, type UseDropzoneReturn, type UseMessageScrollOptions, type UseMessageScrollReturn, type UseMessagesOptions, type UseMessagesReturn, type UseReadReceiptsOptions, type UseTypingIndicatorOptions, type UseTypingIndicatorReturn, UserMenu, type UserMenuProps, type UserProfile, type UserRole, type ValidationError, VerifiedBadge, type VerifiedBadgeProps, WEBSITE_TYPES, WebChartReportViewer, type WebChartReportViewerProps, WebcamModal, type WebcamModalProps, type WebsiteEntry, WebsiteInput, WebsiteInputGroup, type WebsiteInputGroupProps, type WebsiteInputProps, type WebsiteType, type WidgetAction, type WidgetTableAction, type WidgetTableColumn, bubbleVariants, countBadgeVariants, countChipVariants, create24HourSchedule, createDefaultSchedule, createWeekdaySchedule, defaultOrderTabs, formatAddressLines, formatAddressSingleLine, formatCityState, formatCityStateZip, formatDateLabel, formatFileSize, formatLastSeen, generateAttachmentId, generateId, getConversationSubtitle, getConversationTitle, getFileType, getGoogleMapsSearchUrl, getGoogleMapsUrl, getToolIcon, groupMessagesByDate, headerVariants$2 as headerVariants, isSameSenderGroup, isValidUrl, sendButtonVariants, useCamera, useCommandPalette, useConnectionStatus, useCookieConsent, useDocumentDetection, useDropzone, useFileUpload, useMessageScroll, useMessages, useReadReceipts, useSidebar, useToast, useTypingIndicator, validateFile, widgetVariants };
|