@tensor_1/react 2.29.0 → 2.31.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/README.md +103 -0
- package/dist/components/Attachment.d.ts +55 -0
- package/dist/components/Attachment.js +69 -0
- package/dist/components/EntityPicker.d.ts +56 -0
- package/dist/components/EntityPicker.js +168 -0
- package/dist/components/FileIcon.d.ts +9 -0
- package/dist/components/FileIcon.js +17 -0
- package/dist/components/FileUpload.d.ts +87 -0
- package/dist/components/FileUpload.js +139 -0
- package/dist/components/FilterEditor.d.ts +51 -0
- package/dist/components/FilterEditor.js +175 -0
- package/dist/components/Lightbox.d.ts +45 -0
- package/dist/components/Lightbox.js +102 -0
- package/dist/components/SchedulingTimeline.d.ts +109 -0
- package/dist/components/SchedulingTimeline.js +245 -0
- package/dist/components/SearchSuggest.d.ts +6 -2
- package/dist/components/SearchSuggest.js +4 -0
- package/dist/file-model.d.ts +37 -0
- package/dist/file-model.js +50 -0
- package/dist/filter-model.d.ts +88 -0
- package/dist/filter-model.js +91 -0
- package/dist/icons/Icon.d.ts +1 -1
- package/dist/index.cjs +2532 -1365
- package/dist/index.d.cts +574 -3
- package/dist/index.d.ts +9 -0
- package/dist/index.js +58 -0
- package/dist/labels-context.d.ts +3 -0
- package/dist/scheduling-timeline-model.d.ts +71 -0
- package/dist/scheduling-timeline-model.js +108 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { RefObject, AnchorHTMLAttributes, ReactNode, ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, AriaAttributes, Ref, TextareaHTMLAttributes, SelectHTMLAttributes, MouseEvent, DetailsHTMLAttributes, TdHTMLAttributes, TableHTMLAttributes, ThHTMLAttributes,
|
|
2
|
+
import { RefObject, AnchorHTMLAttributes, ReactNode, ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, AriaAttributes, Ref, TextareaHTMLAttributes, SelectHTMLAttributes, MouseEvent, DetailsHTMLAttributes, LiHTMLAttributes, TdHTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, ReactElement } from 'react';
|
|
3
3
|
import { P as Placement } from './overlay-position-Cjv5E7mn.cjs';
|
|
4
4
|
export { A as Align, a as PositionOptions, b as PositionResult, R as Rect, S as Side, c as Size, d as computePosition } from './overlay-position-Cjv5E7mn.cjs';
|
|
5
5
|
|
|
@@ -466,6 +466,178 @@ interface DateRangePickerProps {
|
|
|
466
466
|
/** Controlled, two-month range picker using the UIx calendar language. */
|
|
467
467
|
declare function DateRangePicker({ value, onChange, visibleMonth: controlledMonth, onVisibleMonthChange, months, min, max, isDateDisabled, locale, label, invalid, invalidMessage, disabled, className, labels: labelOverrides, }: DateRangePickerProps): react.JSX.Element;
|
|
468
468
|
|
|
469
|
+
/**
|
|
470
|
+
* Pure model for `SchedulingTimeline` (HAR-1364; TENSOR C8): ticks on a time axis, where a
|
|
471
|
+
* bar sits on it, which bars in a lane overlap (and so stack and are flagged), and how a
|
|
472
|
+
* keyboard or pointer move snaps. Instants are ISO 8601 strings or epoch milliseconds; the
|
|
473
|
+
* axis is linear in real time, and only labels depend on the time zone.
|
|
474
|
+
*/
|
|
475
|
+
type TimelineScale = 'hour' | 'day' | 'week' | 'month';
|
|
476
|
+
interface TimelineRange {
|
|
477
|
+
start: string;
|
|
478
|
+
end: string;
|
|
479
|
+
}
|
|
480
|
+
interface TimelineTick {
|
|
481
|
+
/** Epoch ms of the tick. */
|
|
482
|
+
at: number;
|
|
483
|
+
/** Position on the axis, 0–100. */
|
|
484
|
+
offset: number;
|
|
485
|
+
/** A major tick starts a larger unit (a new day on an hour axis, a new month on a day axis). */
|
|
486
|
+
major: boolean;
|
|
487
|
+
}
|
|
488
|
+
interface TimelineSpan {
|
|
489
|
+
id: string;
|
|
490
|
+
start: string;
|
|
491
|
+
end: string;
|
|
492
|
+
}
|
|
493
|
+
interface PlacedSpan<T extends TimelineSpan = TimelineSpan> {
|
|
494
|
+
item: T;
|
|
495
|
+
/** 0–100, clamped to the visible range. */
|
|
496
|
+
left: number;
|
|
497
|
+
width: number;
|
|
498
|
+
/** Starts before / ends after the visible range (draw a cut edge). */
|
|
499
|
+
clippedStart: boolean;
|
|
500
|
+
clippedEnd: boolean;
|
|
501
|
+
/** Sub-row inside the lane, so overlapping bars stack instead of covering each other. */
|
|
502
|
+
row: number;
|
|
503
|
+
/** Overlaps at least one other bar in the same lane. */
|
|
504
|
+
conflict: boolean;
|
|
505
|
+
}
|
|
506
|
+
declare const HOUR = 3600000;
|
|
507
|
+
declare const DAY: number;
|
|
508
|
+
/** The default move/resize step for a scale: 15 min on an hour axis, 1 h on a day axis, 1 day otherwise. */
|
|
509
|
+
declare const defaultTimelineStep: (scale: TimelineScale) => number;
|
|
510
|
+
/**
|
|
511
|
+
* Ticks for the range at the scale's unit (hour, day, week starting `weekStartsOn`, month),
|
|
512
|
+
* aligned to wall-clock boundaries in `timeZone`. Bounded to 500 ticks; a month axis over a
|
|
513
|
+
* year walks ~8,800 hours, so keep ranges to what fits on screen.
|
|
514
|
+
*/
|
|
515
|
+
declare function timelineTicks(range: TimelineRange, scale: TimelineScale, timeZone: string, weekStartsOn?: number): TimelineTick[];
|
|
516
|
+
/** Position of one span on the axis, clamped to it; null when it is entirely outside. */
|
|
517
|
+
declare function placeSpan(span: {
|
|
518
|
+
start: string;
|
|
519
|
+
end: string;
|
|
520
|
+
}, range: TimelineRange): Omit<PlacedSpan, 'item' | 'row' | 'conflict'> | null;
|
|
521
|
+
/**
|
|
522
|
+
* Places a lane's spans: sorted by start, each in the first sub-row where it does not overlap
|
|
523
|
+
* the previous bar, and flagged `conflict` when it overlaps any other span in the lane.
|
|
524
|
+
*/
|
|
525
|
+
declare function layoutLane<T extends TimelineSpan>(items: readonly T[], range: TimelineRange): PlacedSpan<T>[];
|
|
526
|
+
/** Rounds a millisecond offset to the nearest step. */
|
|
527
|
+
declare const snapToStep: (ms: number, step: number) => number;
|
|
528
|
+
/** A span moved (both ends) or resized (end only) by `delta` ms, as ISO strings; never shorter than one step. */
|
|
529
|
+
declare function shiftSpan(span: {
|
|
530
|
+
start: string;
|
|
531
|
+
end: string;
|
|
532
|
+
}, delta: number, mode: 'move' | 'resize', step: number): {
|
|
533
|
+
start: string;
|
|
534
|
+
end: string;
|
|
535
|
+
};
|
|
536
|
+
/** Converts a horizontal pointer distance on a track of `trackWidth` px to snapped milliseconds. */
|
|
537
|
+
declare function pixelsToMs(px: number, trackWidth: number, range: TimelineRange, step: number): number;
|
|
538
|
+
|
|
539
|
+
interface SchedulingTimelineLane {
|
|
540
|
+
id: string;
|
|
541
|
+
label: ReactNode;
|
|
542
|
+
/** A quieter second line under the lane name (an owner, a count). */
|
|
543
|
+
meta?: ReactNode;
|
|
544
|
+
}
|
|
545
|
+
interface SchedulingTimelineItem {
|
|
546
|
+
id: string;
|
|
547
|
+
laneId: string;
|
|
548
|
+
title: string;
|
|
549
|
+
/** ISO 8601 instants. */
|
|
550
|
+
start: string;
|
|
551
|
+
end: string;
|
|
552
|
+
state?: SchedulingEntryState;
|
|
553
|
+
meta?: string;
|
|
554
|
+
/** `false` keeps this bar fixed even when `onMoveItem` is set. */
|
|
555
|
+
movable?: boolean;
|
|
556
|
+
}
|
|
557
|
+
type SchedulingTimelineOverlayKind = 'freeze' | 'maintenance' | 'blackout';
|
|
558
|
+
interface SchedulingTimelineOverlay {
|
|
559
|
+
id: string;
|
|
560
|
+
label: string;
|
|
561
|
+
start: string;
|
|
562
|
+
end: string;
|
|
563
|
+
kind: SchedulingTimelineOverlayKind;
|
|
564
|
+
/** Only this lane; every lane when unset. */
|
|
565
|
+
laneId?: string;
|
|
566
|
+
}
|
|
567
|
+
interface SchedulingTimelineMarker {
|
|
568
|
+
id: string;
|
|
569
|
+
label: string;
|
|
570
|
+
/** ISO 8601 instant. */
|
|
571
|
+
at: string;
|
|
572
|
+
laneId?: string;
|
|
573
|
+
}
|
|
574
|
+
interface SchedulingTimelineLabels {
|
|
575
|
+
region: string;
|
|
576
|
+
lanes: string;
|
|
577
|
+
/** `{title}`, `{state}`, `{start}`, `{end}`, `{conflict}`. */
|
|
578
|
+
item: string;
|
|
579
|
+
conflict: string;
|
|
580
|
+
moveHint: string;
|
|
581
|
+
/** Announced after a move. `{title}`, `{start}`, `{end}`. */
|
|
582
|
+
moved: string;
|
|
583
|
+
/** Announced after a resize. `{title}`, `{end}`. */
|
|
584
|
+
resized: string;
|
|
585
|
+
loading: string;
|
|
586
|
+
retry: string;
|
|
587
|
+
empty: string;
|
|
588
|
+
/** Heading of the screen-reader list of windows and markers. */
|
|
589
|
+
windows: string;
|
|
590
|
+
now: string;
|
|
591
|
+
states: Record<SchedulingEntryState, string>;
|
|
592
|
+
overlays: Record<SchedulingTimelineOverlayKind, string>;
|
|
593
|
+
}
|
|
594
|
+
declare const DEFAULT_SCHEDULING_TIMELINE_LABELS: SchedulingTimelineLabels;
|
|
595
|
+
interface SchedulingTimelineProps {
|
|
596
|
+
lanes: SchedulingTimelineLane[];
|
|
597
|
+
items: SchedulingTimelineItem[];
|
|
598
|
+
/** The visible window (ISO 8601 instants). */
|
|
599
|
+
range: TimelineRange;
|
|
600
|
+
/** Tick unit of the axis. Default `day`. */
|
|
601
|
+
scale?: TimelineScale;
|
|
602
|
+
/** IANA zone for tick boundaries and every printed time. */
|
|
603
|
+
timeZone: string;
|
|
604
|
+
locale?: string;
|
|
605
|
+
overlays?: SchedulingTimelineOverlay[];
|
|
606
|
+
markers?: SchedulingTimelineMarker[];
|
|
607
|
+
/** Draws a "now" line at this instant (pass the current time; the component keeps no clock). */
|
|
608
|
+
now?: string;
|
|
609
|
+
/** First day of a week tick (0 = Sunday). Default 1. */
|
|
610
|
+
weekStartsOn?: number;
|
|
611
|
+
/** Width of one tick, as a CSS length. Defaults: hour 3.5rem, day 7rem, week 6rem, month 8rem. */
|
|
612
|
+
tickWidth?: string;
|
|
613
|
+
/** Move/resize granularity in ms. Defaults: 15 min (hour), 1 h (day), 1 day (week, month). */
|
|
614
|
+
step?: number;
|
|
615
|
+
/** Tick label. Default: `Intl` in `locale` and `timeZone`. */
|
|
616
|
+
formatTick?: (at: Date, scale: TimelineScale) => string;
|
|
617
|
+
/** Start/end text in names and announcements. Default: `Intl` medium date + short time in `timeZone`. */
|
|
618
|
+
formatInstant?: (instant: string) => string;
|
|
619
|
+
/** Bar content. Default: the title. */
|
|
620
|
+
renderItem?: (item: SchedulingTimelineItem) => ReactNode;
|
|
621
|
+
onSelectItem?: (item: SchedulingTimelineItem) => void;
|
|
622
|
+
/** Makes bars draggable and keyboard-movable. Receives the snapped new start and end. */
|
|
623
|
+
onMoveItem?: (id: string, next: {
|
|
624
|
+
start: string;
|
|
625
|
+
end: string;
|
|
626
|
+
}) => void;
|
|
627
|
+
loading?: boolean;
|
|
628
|
+
error?: string;
|
|
629
|
+
onRetry?: () => void;
|
|
630
|
+
labels?: Partial<SchedulingTimelineLabels>;
|
|
631
|
+
className?: string;
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* Lanes of bars on a time axis (HAR-1364; TENSOR C8): change schedules, rollout Gantt rows,
|
|
635
|
+
* renewal markers. Overlapping bars in a lane stack and are hatched; freeze, maintenance and
|
|
636
|
+
* blackout windows are bands; with `onMoveItem`, bars move by drag or Shift+arrows and their
|
|
637
|
+
* end changes with Alt+Shift+arrows, snapped to `step`.
|
|
638
|
+
*/
|
|
639
|
+
declare function SchedulingTimeline({ lanes, items, range, scale, timeZone, locale, overlays, markers, now, weekStartsOn, tickWidth, step: stepProp, formatTick, formatInstant: formatInstantProp, renderItem, onSelectItem, onMoveItem, loading, error, onRetry, labels: labelOverrides, className, }: SchedulingTimelineProps): react.JSX.Element;
|
|
640
|
+
|
|
469
641
|
/**
|
|
470
642
|
* Kit chrome strings by component (HAR-1358; TENSOR C20, MOTUS executive summary #3).
|
|
471
643
|
* Each entry overrides that component's English defaults for every instance below the
|
|
@@ -513,6 +685,7 @@ interface UixLabels {
|
|
|
513
685
|
};
|
|
514
686
|
schedulingCalendar?: Partial<SchedulingCalendarLabels>;
|
|
515
687
|
dateRangePicker?: Partial<DateRangePickerLabels>;
|
|
688
|
+
schedulingTimeline?: Partial<SchedulingTimelineLabels>;
|
|
516
689
|
/** Read by `useUixLabels()` callers; `Pagination` itself is server-safe and takes `labels`. */
|
|
517
690
|
pagination?: Partial<PaginationLabels>;
|
|
518
691
|
/** Read by `useUixLabels()` callers; `BulkBar` itself is server-safe and takes `label`. */
|
|
@@ -649,6 +822,10 @@ interface SearchSuggestProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCha
|
|
|
649
822
|
autoFocus?: boolean;
|
|
650
823
|
/** Form field name of the input. */
|
|
651
824
|
name?: string;
|
|
825
|
+
/** Id of the input itself (for a `<label for>` / `Field htmlFor`); `id` stays on the wrapper. */
|
|
826
|
+
inputId?: string;
|
|
827
|
+
/** `aria-describedby` of the input (hint and error text from a `Field`). */
|
|
828
|
+
inputDescribedBy?: string;
|
|
652
829
|
}
|
|
653
830
|
/**
|
|
654
831
|
* A search field with a suggestion list underneath: the "search and jump" pattern of Windows
|
|
@@ -657,7 +834,58 @@ interface SearchSuggestProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCha
|
|
|
657
834
|
* (`aria-activedescendant`), Enter opens it (the first row when none is active), Escape closes the
|
|
658
835
|
* list and a second Escape clears the text.
|
|
659
836
|
*/
|
|
660
|
-
declare function SearchSuggest({ value, onValueChange, options, onSelect, label, placeholder, highlight, heading, headingAction, footer, loading, loadingLabel, empty, error, shortcutHint, clearLabel: clearLabelProp, status, size, open: openProp, strategy, onOpenChange, inputRef, autoFocus, name, className, onBlur, ...props }: SearchSuggestProps): react.JSX.Element;
|
|
837
|
+
declare function SearchSuggest({ value, onValueChange, options, onSelect, label, placeholder, highlight, heading, headingAction, footer, loading, loadingLabel, empty, error, shortcutHint, clearLabel: clearLabelProp, status, size, open: openProp, strategy, onOpenChange, inputRef, autoFocus, name, inputId, inputDescribedBy, className, onBlur, ...props }: SearchSuggestProps): react.JSX.Element;
|
|
838
|
+
|
|
839
|
+
interface EntityPickerLabels {
|
|
840
|
+
/** Accessible name of the search field while picking. */
|
|
841
|
+
search: string;
|
|
842
|
+
loading: string;
|
|
843
|
+
empty: string;
|
|
844
|
+
error: string;
|
|
845
|
+
retry: string;
|
|
846
|
+
/** Clears the chosen record. `{title}`. */
|
|
847
|
+
clear: string;
|
|
848
|
+
/** Names the chosen-record button that reopens the search. `{label}`, `{title}`. */
|
|
849
|
+
change: string;
|
|
850
|
+
/** Shown in the field when nothing is chosen. */
|
|
851
|
+
none: string;
|
|
852
|
+
/** Polite count after a search. `{count}`. */
|
|
853
|
+
results: string;
|
|
854
|
+
}
|
|
855
|
+
declare const DEFAULT_ENTITY_PICKER_LABELS: EntityPickerLabels;
|
|
856
|
+
interface EntityPickerProps {
|
|
857
|
+
/** The chosen record, or null. */
|
|
858
|
+
value: SearchSuggestOption | null;
|
|
859
|
+
onValueChange: (next: SearchSuggestOption | null) => void;
|
|
860
|
+
/** Finds records for the query; a rejection shows the error state with a Retry row. */
|
|
861
|
+
onSearch: (query: string) => Promise<readonly SearchSuggestOption[]>;
|
|
862
|
+
/** The field's name (the visible label usually comes from a surrounding `Field`). */
|
|
863
|
+
label: string;
|
|
864
|
+
/** Id of the control, for `Field htmlFor`/`label for`. */
|
|
865
|
+
id?: string;
|
|
866
|
+
/** Hidden form value: the chosen record's id. */
|
|
867
|
+
name?: string;
|
|
868
|
+
placeholder?: string;
|
|
869
|
+
/** Search only from this many characters. Default 0 (an empty query lists suggestions). */
|
|
870
|
+
minQueryLength?: number;
|
|
871
|
+
/** Debounce before searching, in ms. Default 250. */
|
|
872
|
+
delay?: number;
|
|
873
|
+
disabled?: boolean;
|
|
874
|
+
invalid?: boolean;
|
|
875
|
+
/** Ids of hint/error text (from `Field`). */
|
|
876
|
+
'aria-describedby'?: string;
|
|
877
|
+
/** How the chosen record shows in the field. Default: title, then the last breadcrumb. */
|
|
878
|
+
renderValue?: (option: SearchSuggestOption) => ReactNode;
|
|
879
|
+
labels?: Partial<EntityPickerLabels>;
|
|
880
|
+
className?: string;
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* A form field that holds one record found by an async search (HAR-1366; TENSOR B28/C5
|
|
884
|
+
* `entity-picker.tsx`, MOTUS B-P10): the chosen record shows as the field's value with a
|
|
885
|
+
* clear ×; choosing again or typing opens a `SearchSuggest` list with loading, empty and error
|
|
886
|
+
* states, and Retry is a list row, so the keyboard reaches it. Stale results are ignored.
|
|
887
|
+
*/
|
|
888
|
+
declare function EntityPicker({ value, onValueChange, onSearch, label, id, name, placeholder, minQueryLength, delay, disabled, invalid, 'aria-describedby': describedBy, renderValue, labels: labelOverrides, className, }: EntityPickerProps): react.JSX.Element;
|
|
661
889
|
|
|
662
890
|
/** One run of a result's text, emphasised or not. */
|
|
663
891
|
interface SearchSegment {
|
|
@@ -864,6 +1092,47 @@ interface PeekProps extends Omit<HTMLAttributes<HTMLDialogElement>, 'title'> {
|
|
|
864
1092
|
}
|
|
865
1093
|
declare function Peek({ open, onClose, title, children, footer, onNavPrev, onNavNext, hint, previousLabel: previousLabelProp, nextLabel: nextLabelProp, closeLabel: closeLabelProp, className, onClick, ...rest }: PeekProps): react.JSX.Element;
|
|
866
1094
|
|
|
1095
|
+
interface LightboxItem {
|
|
1096
|
+
src: string;
|
|
1097
|
+
/** Alternative text for an image; the video's name for a video. */
|
|
1098
|
+
alt: string;
|
|
1099
|
+
caption?: ReactNode;
|
|
1100
|
+
kind?: 'image' | 'video';
|
|
1101
|
+
/** Intrinsic size, so an SVG or a slow image keeps its box. */
|
|
1102
|
+
width?: number;
|
|
1103
|
+
height?: number;
|
|
1104
|
+
}
|
|
1105
|
+
interface LightboxLabels {
|
|
1106
|
+
region: string;
|
|
1107
|
+
previous: string;
|
|
1108
|
+
next: string;
|
|
1109
|
+
close: string;
|
|
1110
|
+
/** `{index}`, `{total}`. */
|
|
1111
|
+
counter: string;
|
|
1112
|
+
zoomIn: string;
|
|
1113
|
+
zoomOut: string;
|
|
1114
|
+
}
|
|
1115
|
+
declare const DEFAULT_LIGHTBOX_LABELS: LightboxLabels;
|
|
1116
|
+
interface LightboxProps {
|
|
1117
|
+
items: readonly LightboxItem[];
|
|
1118
|
+
/** The item on show (0-based). */
|
|
1119
|
+
index: number;
|
|
1120
|
+
onIndexChange: (index: number) => void;
|
|
1121
|
+
open: boolean;
|
|
1122
|
+
onClose: () => void;
|
|
1123
|
+
/** Wrap from the last item to the first. Default false. */
|
|
1124
|
+
loop?: boolean;
|
|
1125
|
+
labels?: Partial<LightboxLabels>;
|
|
1126
|
+
className?: string;
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* A full-screen media viewer over `.uix-lightbox` (HAR-1367; TENSOR C12 `capture-viewer.tsx`,
|
|
1130
|
+
* MOTUS C-8 programme gallery): previous/next buttons, ←/→ and Home/End, swipe on touch, an
|
|
1131
|
+
* announced "n of total" counter, a caption, and a fit/actual-size toggle. Native `<dialog>`,
|
|
1132
|
+
* so focus stays inside and Escape closes; focus returns to the control that opened it.
|
|
1133
|
+
*/
|
|
1134
|
+
declare function Lightbox({ items, index, onIndexChange, open, onClose, loop, labels: labelOverrides, className }: LightboxProps): react.JSX.Element;
|
|
1135
|
+
|
|
867
1136
|
interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
868
1137
|
title?: ReactNode;
|
|
869
1138
|
/** Element for the title — pick a real heading to slot the card into the page outline (UIX-A11Y-4). Default `div` keeps legacy rendering. */
|
|
@@ -1327,6 +1596,174 @@ interface NavFavouritesProps {
|
|
|
1327
1596
|
*/
|
|
1328
1597
|
declare function NavFavourites({ items, collapsed, onToggleCollapsed, onRemove, onReorder, labels, emptyReason, className, }: NavFavouritesProps): react.JSX.Element;
|
|
1329
1598
|
|
|
1599
|
+
/** File helpers shared by `FileUpload` and `Attachment` (HAR-984/985). Pure. */
|
|
1600
|
+
/** "1.2 MB", "340 KB", "12 B" in the locale's number format (base 1000, like file managers). */
|
|
1601
|
+
declare function formatFileSize(bytes: number, locale?: string): string;
|
|
1602
|
+
/** Whether a file matches an `accept` list (".pdf,image/*,application/zip"). An empty list accepts all. */
|
|
1603
|
+
declare function fileMatchesAccept(file: {
|
|
1604
|
+
name: string;
|
|
1605
|
+
type?: string;
|
|
1606
|
+
}, accept?: string): boolean;
|
|
1607
|
+
type FileRejectionReason = 'type' | 'size' | 'count';
|
|
1608
|
+
interface FileRejection<F = File> {
|
|
1609
|
+
file: F;
|
|
1610
|
+
reason: FileRejectionReason;
|
|
1611
|
+
}
|
|
1612
|
+
/**
|
|
1613
|
+
* Splits picked files into accepted and rejected (wrong type, over `maxSize` bytes, or beyond
|
|
1614
|
+
* `maxFiles` counting the `existing` ones). Order is kept.
|
|
1615
|
+
*/
|
|
1616
|
+
declare function partitionFiles<F extends {
|
|
1617
|
+
name: string;
|
|
1618
|
+
type?: string;
|
|
1619
|
+
size: number;
|
|
1620
|
+
}>(files: readonly F[], { accept, maxSize, maxFiles, existing }: {
|
|
1621
|
+
accept?: string;
|
|
1622
|
+
maxSize?: number;
|
|
1623
|
+
maxFiles?: number;
|
|
1624
|
+
existing?: number;
|
|
1625
|
+
}): {
|
|
1626
|
+
accepted: F[];
|
|
1627
|
+
rejected: FileRejection<F>[];
|
|
1628
|
+
};
|
|
1629
|
+
/** A coarse kind for a file icon. */
|
|
1630
|
+
declare function fileKind(file: {
|
|
1631
|
+
name: string;
|
|
1632
|
+
type?: string;
|
|
1633
|
+
}): 'image' | 'video' | 'pdf' | 'sheet' | 'archive' | 'text' | 'other';
|
|
1634
|
+
|
|
1635
|
+
type FileUploadStatus = 'queued' | 'uploading' | 'done' | 'error';
|
|
1636
|
+
interface FileUploadItem {
|
|
1637
|
+
id: string;
|
|
1638
|
+
name: string;
|
|
1639
|
+
/** Bytes. */
|
|
1640
|
+
size: number;
|
|
1641
|
+
type?: string;
|
|
1642
|
+
status: FileUploadStatus;
|
|
1643
|
+
/** 0–100 while uploading; without it the bar is indeterminate. */
|
|
1644
|
+
progress?: number;
|
|
1645
|
+
/** Why it failed (shown under the name with a Retry button). */
|
|
1646
|
+
error?: ReactNode;
|
|
1647
|
+
/** An object URL or remote URL for an image thumbnail. */
|
|
1648
|
+
previewUrl?: string;
|
|
1649
|
+
/** Alternative text, when the product asks for it (`onAltChange`). */
|
|
1650
|
+
alt?: string;
|
|
1651
|
+
}
|
|
1652
|
+
interface FileUploadLabels {
|
|
1653
|
+
/** Main line of the drop zone. */
|
|
1654
|
+
title: string;
|
|
1655
|
+
choose: string;
|
|
1656
|
+
/** Shown while a file is dragged over. */
|
|
1657
|
+
drop: string;
|
|
1658
|
+
list: string;
|
|
1659
|
+
remove: string;
|
|
1660
|
+
/** Accessible name of Retry. `{name}`. */
|
|
1661
|
+
retry: string;
|
|
1662
|
+
/** Visible text of Retry. */
|
|
1663
|
+
retryShort: string;
|
|
1664
|
+
queued: string;
|
|
1665
|
+
/** `{progress}`. */
|
|
1666
|
+
uploading: string;
|
|
1667
|
+
done: string;
|
|
1668
|
+
failed: string;
|
|
1669
|
+
/** `{name}` — set `alt` for images. */
|
|
1670
|
+
alt: string;
|
|
1671
|
+
/** `{count}` files added. */
|
|
1672
|
+
added: string;
|
|
1673
|
+
/** `{name}`, `{accept}`. */
|
|
1674
|
+
wrongType: string;
|
|
1675
|
+
/** `{name}`, `{max}`. */
|
|
1676
|
+
tooLarge: string;
|
|
1677
|
+
/** `{name}`, `{max}`. */
|
|
1678
|
+
tooMany: string;
|
|
1679
|
+
}
|
|
1680
|
+
declare const DEFAULT_FILE_UPLOAD_LABELS: FileUploadLabels;
|
|
1681
|
+
interface FileUploadProps {
|
|
1682
|
+
/** The files so far, with their upload state (controlled). */
|
|
1683
|
+
items: readonly FileUploadItem[];
|
|
1684
|
+
/**
|
|
1685
|
+
* Called with the files that passed `accept`, `maxSize` and `maxFiles`, and the ones that did
|
|
1686
|
+
* not. Add accepted files to `items` and upload them; the component never uploads.
|
|
1687
|
+
*/
|
|
1688
|
+
onFilesAdded: (accepted: File[], rejected: FileRejection[]) => void;
|
|
1689
|
+
onRemove?: (id: string) => void;
|
|
1690
|
+
onRetry?: (id: string) => void;
|
|
1691
|
+
/** Ask for alt text on image items (MOTUS photo intake). */
|
|
1692
|
+
onAltChange?: (id: string, alt: string) => void;
|
|
1693
|
+
/** Accepted types, as for `<input accept>`. */
|
|
1694
|
+
accept?: string;
|
|
1695
|
+
/** Largest file in bytes. */
|
|
1696
|
+
maxSize?: number;
|
|
1697
|
+
/** Most files in `items`. */
|
|
1698
|
+
maxFiles?: number;
|
|
1699
|
+
/** Default true. */
|
|
1700
|
+
multiple?: boolean;
|
|
1701
|
+
/** Open the camera on phones (`user` or `environment`). */
|
|
1702
|
+
capture?: 'user' | 'environment';
|
|
1703
|
+
disabled?: boolean;
|
|
1704
|
+
/** Second line of the drop zone, e.g. "PDF or images, up to 20 MB". */
|
|
1705
|
+
hint?: ReactNode;
|
|
1706
|
+
locale?: string;
|
|
1707
|
+
labels?: Partial<FileUploadLabels>;
|
|
1708
|
+
className?: string;
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* Drop zone, file picker and upload list (HAR-984; TENSOR C15, MOTUS C-7, MEDx S18/S19). The
|
|
1712
|
+
* product owns the upload: it receives validated `File`s and reports progress, success and
|
|
1713
|
+
* failure through `items`. Keyboard users get a real button; drop is an extra, not the only way.
|
|
1714
|
+
*/
|
|
1715
|
+
declare function FileUpload({ items, onFilesAdded, onRemove, onRetry, onAltChange, accept, maxSize, maxFiles, multiple, capture, disabled, hint, locale, labels: labelOverrides, className, }: FileUploadProps): react.JSX.Element;
|
|
1716
|
+
|
|
1717
|
+
interface AttachmentLabels {
|
|
1718
|
+
/** Remove button. `{name}`. */
|
|
1719
|
+
remove: string;
|
|
1720
|
+
/** Download link name when `download` is set. `{name}`. */
|
|
1721
|
+
download: string;
|
|
1722
|
+
loading: string;
|
|
1723
|
+
forbidden: string;
|
|
1724
|
+
}
|
|
1725
|
+
declare const DEFAULT_ATTACHMENT_LABELS: AttachmentLabels;
|
|
1726
|
+
interface AttachmentProps extends Omit<LiHTMLAttributes<HTMLLIElement>, 'children'> {
|
|
1727
|
+
/** File name as the user should read it (decrypted, if the product stores it encrypted). */
|
|
1728
|
+
name: string;
|
|
1729
|
+
/** Bytes. */
|
|
1730
|
+
size?: number;
|
|
1731
|
+
/** MIME type, for the file glyph. */
|
|
1732
|
+
type?: string;
|
|
1733
|
+
/** Opens or downloads the file. The name becomes the link. */
|
|
1734
|
+
href?: string;
|
|
1735
|
+
/** Download instead of opening; a string sets the saved file name. */
|
|
1736
|
+
download?: boolean | string;
|
|
1737
|
+
renderLink?: UixRenderLink;
|
|
1738
|
+
/** A quieter line: who added it and when. */
|
|
1739
|
+
meta?: ReactNode;
|
|
1740
|
+
/** A state slot after the name, e.g. `<StatusPill tone="warning">Scanning</StatusPill>`. */
|
|
1741
|
+
state?: ReactNode;
|
|
1742
|
+
/** Replaces the file glyph (e.g. an image thumbnail). */
|
|
1743
|
+
thumbnail?: ReactNode;
|
|
1744
|
+
/** Adds a remove button; confirm destructive removals in the handler (`ConfirmDialog`/`Popconfirm`). */
|
|
1745
|
+
onRemove?: () => void;
|
|
1746
|
+
/** `loading` (no link yet), `error` (shows `error`), `forbidden` (no link, a reason). */
|
|
1747
|
+
status?: 'ready' | 'loading' | 'error' | 'forbidden';
|
|
1748
|
+
error?: ReactNode;
|
|
1749
|
+
/** Extra actions at the end of the row. */
|
|
1750
|
+
actions?: ReactNode;
|
|
1751
|
+
locale?: string;
|
|
1752
|
+
labels?: Partial<AttachmentLabels>;
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* One file row (HAR-985; TENSOR C15/B12 `attachments-panel-view.tsx`, MEDx S19/S52): glyph or
|
|
1756
|
+
* thumbnail, the name as a link, size and meta, a state slot, and remove. Server-renderable.
|
|
1757
|
+
*/
|
|
1758
|
+
declare function Attachment({ name, size, type, href, download, renderLink, meta, state, thumbnail, onRemove, status, error, actions, locale, labels: labelOverrides, className, ...props }: AttachmentProps): react.JSX.Element;
|
|
1759
|
+
interface AttachmentListProps extends HTMLAttributes<HTMLUListElement> {
|
|
1760
|
+
/** Names the list, e.g. "Attachments (3)". */
|
|
1761
|
+
label?: string;
|
|
1762
|
+
children?: ReactNode;
|
|
1763
|
+
}
|
|
1764
|
+
/** A list of `Attachment` rows. */
|
|
1765
|
+
declare function AttachmentList({ label, className, children, ...props }: AttachmentListProps): react.JSX.Element;
|
|
1766
|
+
|
|
1330
1767
|
type AlertTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
|
|
1331
1768
|
interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
1332
1769
|
tone?: AlertTone;
|
|
@@ -2183,6 +2620,140 @@ type SavedViewMenuProps = SavedViewMenuBaseProps & ({
|
|
|
2183
2620
|
*/
|
|
2184
2621
|
declare function SavedViewMenu({ items, sections, onSelect, onPinChange, pinLabel, unpinLabel, onReorder, reorderLabel, emptyLabel, actions, footer }: SavedViewMenuProps): react.JSX.Element;
|
|
2185
2622
|
|
|
2623
|
+
/**
|
|
2624
|
+
* Typed column filters for `FilterEditor` (HAR-1365; TENSOR C6 `table-filter-editor.tsx`,
|
|
2625
|
+
* MOTUS C-1 "+ filter"). The value is data the product serializes into its own query; the
|
|
2626
|
+
* summary feeds a `Chip`. Pure, so a server can summarize a saved view too.
|
|
2627
|
+
*/
|
|
2628
|
+
interface FilterChoice {
|
|
2629
|
+
value: string;
|
|
2630
|
+
label: string;
|
|
2631
|
+
}
|
|
2632
|
+
type TextFilterOperator = 'contains' | 'not-contains' | 'is' | 'is-not' | 'starts-with';
|
|
2633
|
+
type NumberFilterOperator = 'eq' | 'neq' | 'lt' | 'lte' | 'gt' | 'gte' | 'between';
|
|
2634
|
+
type FilterValue = {
|
|
2635
|
+
kind: 'enum';
|
|
2636
|
+
values: string[];
|
|
2637
|
+
} | {
|
|
2638
|
+
kind: 'text';
|
|
2639
|
+
operator: TextFilterOperator;
|
|
2640
|
+
text: string;
|
|
2641
|
+
} | {
|
|
2642
|
+
kind: 'number';
|
|
2643
|
+
operator: NumberFilterOperator;
|
|
2644
|
+
value?: number;
|
|
2645
|
+
to?: number;
|
|
2646
|
+
} | {
|
|
2647
|
+
kind: 'date-range';
|
|
2648
|
+
from?: string;
|
|
2649
|
+
to?: string;
|
|
2650
|
+
} | {
|
|
2651
|
+
kind: 'boolean';
|
|
2652
|
+
value?: boolean;
|
|
2653
|
+
} | {
|
|
2654
|
+
kind: 'reference';
|
|
2655
|
+
values: FilterChoice[];
|
|
2656
|
+
};
|
|
2657
|
+
type FilterValueKind = FilterValue['kind'];
|
|
2658
|
+
interface FilterField {
|
|
2659
|
+
id: string;
|
|
2660
|
+
/** Column name, also the start of the chip summary. */
|
|
2661
|
+
label: string;
|
|
2662
|
+
kind: FilterValueKind;
|
|
2663
|
+
/** `enum`: the choices. */
|
|
2664
|
+
options?: readonly FilterChoice[];
|
|
2665
|
+
/** `reference`: finds records to pick; rejected promises show the error state. */
|
|
2666
|
+
onSearch?: (query: string) => Promise<readonly FilterChoice[]>;
|
|
2667
|
+
/** `text` / `number`: the operators offered, in order. Default: all of the kind. */
|
|
2668
|
+
operators?: readonly (TextFilterOperator | NumberFilterOperator)[];
|
|
2669
|
+
/** `number`: a unit shown after the value, e.g. "days". */
|
|
2670
|
+
unit?: string;
|
|
2671
|
+
/** `boolean`: words for true and false, e.g. Escalated / Not escalated. Default from labels. */
|
|
2672
|
+
trueLabel?: string;
|
|
2673
|
+
falseLabel?: string;
|
|
2674
|
+
}
|
|
2675
|
+
interface FilterSummaryLabels {
|
|
2676
|
+
operators: Record<TextFilterOperator | NumberFilterOperator, string>;
|
|
2677
|
+
yes: string;
|
|
2678
|
+
no: string;
|
|
2679
|
+
/** `{from}`, `{to}`; also used for a number range. */
|
|
2680
|
+
range: string;
|
|
2681
|
+
/** Only a start date. `{from}`. */
|
|
2682
|
+
from: string;
|
|
2683
|
+
/** Only an end date. `{to}`. */
|
|
2684
|
+
until: string;
|
|
2685
|
+
/** More than `maxListed` values: `{first}`, `{count}`. */
|
|
2686
|
+
more: string;
|
|
2687
|
+
}
|
|
2688
|
+
declare const DEFAULT_FILTER_SUMMARY_LABELS: FilterSummaryLabels;
|
|
2689
|
+
declare const TEXT_FILTER_OPERATORS: readonly TextFilterOperator[];
|
|
2690
|
+
declare const NUMBER_FILTER_OPERATORS: readonly NumberFilterOperator[];
|
|
2691
|
+
/** The empty value for a field kind (what Clear resets to). */
|
|
2692
|
+
declare function emptyFilterValue(kind: FilterValueKind): FilterValue;
|
|
2693
|
+
/** True when the value filters nothing (so the chip goes away). */
|
|
2694
|
+
declare function isFilterEmpty(value: FilterValue | undefined): boolean;
|
|
2695
|
+
interface SummarizeFilterOptions {
|
|
2696
|
+
labels?: Partial<FilterSummaryLabels>;
|
|
2697
|
+
/** Formats a `YYYY-MM-DD` date (a product format such as DD.MM.YYYY). Default: as given. */
|
|
2698
|
+
formatDate?: (date: string) => string;
|
|
2699
|
+
/** Formats a number. Default: `String`. */
|
|
2700
|
+
formatNumber?: (value: number) => string;
|
|
2701
|
+
/** List this many values before "+N". Default 2. */
|
|
2702
|
+
maxListed?: number;
|
|
2703
|
+
}
|
|
2704
|
+
/**
|
|
2705
|
+
* One line for the filter chip, e.g. "State: Open, Pending", "Priority ≥ 2", "Created:
|
|
2706
|
+
* 01.10.2026 – 05.10.2026", "Escalated: Yes". Empty values give an empty string.
|
|
2707
|
+
*/
|
|
2708
|
+
declare function summarizeFilter(field: FilterField, value: FilterValue | undefined, options?: SummarizeFilterOptions): string;
|
|
2709
|
+
|
|
2710
|
+
interface FilterEditorLabels {
|
|
2711
|
+
apply: string;
|
|
2712
|
+
clear: string;
|
|
2713
|
+
operator: string;
|
|
2714
|
+
value: string;
|
|
2715
|
+
from: string;
|
|
2716
|
+
to: string;
|
|
2717
|
+
/** Between two numbers: "and". */
|
|
2718
|
+
and: string;
|
|
2719
|
+
any: string;
|
|
2720
|
+
yes: string;
|
|
2721
|
+
no: string;
|
|
2722
|
+
search: string;
|
|
2723
|
+
searching: string;
|
|
2724
|
+
noMatches: string;
|
|
2725
|
+
searchFailed: string;
|
|
2726
|
+
retry: string;
|
|
2727
|
+
selectAll: string;
|
|
2728
|
+
selectNone: string;
|
|
2729
|
+
/** `{count}` chosen. */
|
|
2730
|
+
selected: string;
|
|
2731
|
+
/** Remove one chosen record. `{label}`. */
|
|
2732
|
+
remove: string;
|
|
2733
|
+
operators: Record<TextFilterOperator | NumberFilterOperator, string>;
|
|
2734
|
+
}
|
|
2735
|
+
declare const DEFAULT_FILTER_EDITOR_LABELS: FilterEditorLabels;
|
|
2736
|
+
interface FilterEditorProps {
|
|
2737
|
+
field: FilterField;
|
|
2738
|
+
/** Undefined means "not filtered yet". */
|
|
2739
|
+
value: FilterValue | undefined;
|
|
2740
|
+
onValueChange: (value: FilterValue) => void;
|
|
2741
|
+
onApply: () => void;
|
|
2742
|
+
onClear: () => void;
|
|
2743
|
+
labels?: Partial<FilterEditorLabels>;
|
|
2744
|
+
/** Show an option filter above an enum list once it has more options than this. Default 8. */
|
|
2745
|
+
searchThreshold?: number;
|
|
2746
|
+
/** Delay before a reference search runs, in ms. Default 250. */
|
|
2747
|
+
searchDelay?: number;
|
|
2748
|
+
}
|
|
2749
|
+
/**
|
|
2750
|
+
* Editor content for one typed column filter (HAR-1365; TENSOR C6, MOTUS C-1): an enum
|
|
2751
|
+
* multi-select, text or number with a condition, a date range, yes/no, or records found by
|
|
2752
|
+
* an async search. The product owns the popover trigger and the query; `summarizeFilter`
|
|
2753
|
+
* turns the applied value into the chip text. `FilterPopover` stays for the one-string case.
|
|
2754
|
+
*/
|
|
2755
|
+
declare function FilterEditor({ field, value: valueProp, onValueChange, onApply, onClear, labels: labelOverrides, searchThreshold, searchDelay }: FilterEditorProps): react.JSX.Element;
|
|
2756
|
+
|
|
2186
2757
|
interface TimelineProps extends HTMLAttributes<HTMLOListElement> {
|
|
2187
2758
|
children?: ReactNode;
|
|
2188
2759
|
}
|
|
@@ -3472,4 +4043,4 @@ declare function hsvToHex(value: HsvColor): string;
|
|
|
3472
4043
|
declare function contrastRatio(background: string, foreground: string): number | undefined;
|
|
3473
4044
|
declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
|
|
3474
4045
|
|
|
3475
|
-
export { type AccessStateProps, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, ConfirmDialog, type ConfirmDialogProps, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, CopyButton, type CopyButtonProps, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_STEP_STATE_LABELS, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, type DiffEntry, type DiffKind, type DiffResolution, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, Input, InputGroup, type InputGroupProps, type InputProps, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, Label, type LabelProps, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, LicensePositionBar, type LicensePositionBarProps, List, ListItem, type ListItemProps, type ListProps, LoadingState, type LoadingStateProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemProps, type MenuProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, Peek, type PeekProps, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, type Primitive, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleValidationIssue, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, SchedulingCalendar, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingOverlayKind, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectProps, type ShellNav, Sidebar, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, type StatTrend, type StateVariant, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, Switch, type SwitchProps, TOAST_LEAVE_MS, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, Td, type TdProps, Textarea, type TextareaProps, Th, type ThProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, addCalendarDays, addCalendarMonths, appendRuleNode, applyBrandProfile, applyFilters, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, contrastRatio, createToastApi, createToastStore, cx, enumerateDateSpan, filterComboboxOptions, findRuleNodeDepth, flattenTree, foldForSearch, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isRuleGroup, layeredNeighbor, layoutLayeredGraph, layoutRelationshipGraph, mapRuleGroup, matchFilter, meetsContrast, mergePinned, moveRuleNode, multiSort, nextSortDir, normalizeHex, parseDateValue, parseMetricValue, parseView, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, searchRows, searchSegments, selectAllState, selectRangeDate, serializeView, shouldVirtualize, startOfMonth, stepMetricValue, summarizeDiff, summarizeRule, toDateKey, toast, toggleId, togglePage, toggleSort, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useUixLabels, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan };
|
|
4046
|
+
export { type AccessStateProps, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, ConfirmDialog, type ConfirmDialogProps, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, CopyButton, type CopyButtonProps, DAY, DEFAULT_ATTACHMENT_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_STEP_STATE_LABELS, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, type DiffEntry, type DiffKind, type DiffResolution, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FileRejection, type FileRejectionReason, FileUpload, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadStatus, type FilterChoice, FilterEditor, type FilterEditorLabels, type FilterEditorProps, type FilterField, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, type FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, Input, InputGroup, type InputGroupProps, type InputProps, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, Label, type LabelProps, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LoadingState, type LoadingStateProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemProps, type MenuProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, NUMBER_FILTER_OPERATORS, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, type NumberFilterOperator, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, Peek, type PeekProps, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, type Primitive, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleValidationIssue, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, SchedulingCalendar, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingOverlayKind, SchedulingTimeline, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectProps, type ShellNav, Sidebar, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, type StatTrend, type StateVariant, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, type SummarizeFilterOptions, Switch, type SwitchProps, TEXT_FILTER_OPERATORS, TOAST_LEAVE_MS, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, Td, type TdProps, type TextFilterOperator, Textarea, type TextareaProps, Th, type ThProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, type TimelineTick, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, addCalendarDays, addCalendarMonths, appendRuleNode, applyBrandProfile, applyFilters, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, contrastRatio, createToastApi, createToastStore, cx, defaultTimelineStep, emptyFilterValue, enumerateDateSpan, fileKind, fileMatchesAccept, filterComboboxOptions, findRuleNodeDepth, flattenTree, foldForSearch, formatFileSize, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isRuleGroup, layeredNeighbor, layoutLane, layoutLayeredGraph, layoutRelationshipGraph, mapRuleGroup, matchFilter, meetsContrast, mergePinned, moveRuleNode, multiSort, nextSortDir, normalizeHex, parseDateValue, parseMetricValue, parseView, partitionFiles, pixelsToMs, placeSpan, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, searchRows, searchSegments, selectAllState, selectRangeDate, serializeView, shiftSpan, shouldVirtualize, snapToStep, startOfMonth, stepMetricValue, summarizeDiff, summarizeFilter, summarizeRule, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useUixLabels, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan };
|