@tensor_1/react 2.47.0 → 2.49.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 +540 -2
- package/dist/{SchedulingCalendar-B6TakO2h.d.ts → SchedulingCalendar-WWyFL3Eo.d.ts} +51 -2
- package/dist/announce.d.ts +10 -0
- package/dist/announce.js +30 -0
- package/dist/chart-analytic.cjs +33 -25
- package/dist/chart-preset.cjs +23 -15
- package/dist/chart.cjs +23 -15
- package/dist/combobox-model.d.ts +10 -1
- package/dist/combobox-model.js +15 -0
- package/dist/command-palette-model.d.ts +44 -0
- package/dist/command-palette-model.js +36 -0
- package/dist/components/AccountMenu.d.ts +44 -0
- package/dist/components/AccountMenu.js +43 -0
- package/dist/components/AppShell.d.ts +45 -2
- package/dist/components/AppShell.js +116 -5
- package/dist/components/AuditLog.d.ts +128 -0
- package/dist/components/AuditLog.js +196 -0
- package/dist/components/BrandProfiles.js +4 -3
- package/dist/components/Breadcrumbs.d.ts +9 -2
- package/dist/components/Breadcrumbs.js +3 -2
- package/dist/components/Button.d.ts +12 -5
- package/dist/components/Button.js +7 -3
- package/dist/components/Card.d.ts +18 -1
- package/dist/components/Card.js +5 -1
- package/dist/components/ChangeHighlight.d.ts +30 -0
- package/dist/components/ChangeHighlight.js +21 -0
- package/dist/components/ChartCore.js +2 -1
- package/dist/components/Checkbox.d.ts +27 -1
- package/dist/components/Checkbox.js +31 -2
- package/dist/components/Chip.d.ts +7 -3
- package/dist/components/Chip.js +2 -2
- package/dist/components/CodeDisplay.d.ts +65 -0
- package/dist/components/CodeDisplay.js +124 -0
- package/dist/components/Combobox.d.ts +27 -6
- package/dist/components/Combobox.js +195 -58
- package/dist/components/CommandPalette.d.ts +36 -1
- package/dist/components/CommandPalette.js +254 -2
- package/dist/components/ContactCard.d.ts +66 -0
- package/dist/components/ContactCard.js +74 -0
- package/dist/components/Count.d.ts +24 -0
- package/dist/components/Count.js +32 -0
- package/dist/components/DashboardCanvas.js +14 -0
- package/dist/components/DataWorkspace.d.ts +167 -0
- package/dist/components/DataWorkspace.js +380 -0
- package/dist/components/DateFieldParts.d.ts +2 -1
- package/dist/components/DateFieldParts.js +7 -0
- package/dist/components/DatePicker.d.ts +9 -2
- package/dist/components/DatePicker.js +67 -28
- package/dist/components/DateRangePicker.d.ts +12 -2
- package/dist/components/DateRangePicker.js +13 -12
- package/dist/components/DetailPage.d.ts +7 -1
- package/dist/components/DetailPage.js +2 -1
- package/dist/components/Dialogs.d.ts +71 -10
- package/dist/components/Dialogs.js +130 -30
- package/dist/components/DiffViewer.d.ts +23 -3
- package/dist/components/DiffViewer.js +26 -12
- package/dist/components/DiscardPrompt.js +16 -0
- package/dist/components/DisplayPreferences.d.ts +83 -0
- package/dist/components/DisplayPreferences.js +185 -0
- package/dist/components/EditorialHome.d.ts +23 -3
- package/dist/components/EditorialHome.js +16 -11
- package/dist/components/EntityPicker.d.ts +20 -3
- package/dist/components/EntityPicker.js +32 -13
- package/dist/components/FilterEditor.d.ts +18 -4
- package/dist/components/FilterEditor.js +141 -19
- package/dist/components/FocusOnMount.d.ts +282 -0
- package/dist/components/FocusOnMount.js +12 -0
- package/dist/components/InfoTip.js +11 -12
- package/dist/components/InlineEdit.d.ts +87 -20
- package/dist/components/InlineEdit.js +197 -54
- package/dist/components/Input.d.ts +12 -2
- package/dist/components/Input.js +5 -3
- package/dist/components/Kanban.d.ts +14 -3
- package/dist/components/Kanban.js +9 -4
- package/dist/components/Kbd.d.ts +6 -1
- package/dist/components/Kbd.js +6 -6
- package/dist/components/Lightbox.d.ts +41 -5
- package/dist/components/Lightbox.js +95 -9
- package/dist/components/MatchReview.d.ts +40 -1
- package/dist/components/MatchReview.js +130 -4
- package/dist/components/MetricInput.js +3 -2
- package/dist/components/Modal.d.ts +2 -1
- package/dist/components/Modal.js +13 -4
- package/dist/components/MotionList.d.ts +303 -0
- package/dist/components/MotionList.js +175 -0
- package/dist/components/NavFavourites.d.ts +5 -0
- package/dist/components/NavFavourites.js +7 -7
- package/dist/components/OtpInput.d.ts +33 -0
- package/dist/components/OtpInput.js +123 -0
- package/dist/components/PageHeader.d.ts +7 -1
- package/dist/components/PageHeader.js +2 -2
- package/dist/components/Pagination.js +6 -5
- package/dist/components/PasswordInput.d.ts +34 -0
- package/dist/components/PasswordInput.js +101 -0
- package/dist/components/Peek.js +3 -3
- package/dist/components/Popover.js +11 -0
- package/dist/components/PrintLayout.d.ts +63 -0
- package/dist/components/PrintLayout.js +114 -0
- package/dist/components/QrCode.d.ts +47 -0
- package/dist/components/QrCode.js +55 -0
- package/dist/components/QrScanner.d.ts +95 -0
- package/dist/components/QrScanner.js +266 -0
- package/dist/components/RelationshipGraph.d.ts +32 -1
- package/dist/components/RelationshipGraph.js +22 -6
- package/dist/components/RelationshipGraphLayered.d.ts +1 -1
- package/dist/components/RelationshipGraphLayered.js +268 -118
- package/dist/components/RelationshipGraphList.js +33 -6
- package/dist/components/RuleBuilder.js +39 -7
- package/dist/components/SchedulingAgenda.d.ts +3 -1
- package/dist/components/SchedulingCalendar.d.ts +3 -1
- package/dist/components/SchedulingCalendar.js +43 -4
- package/dist/components/SchedulingResourceDay.d.ts +57 -0
- package/dist/components/SchedulingResourceDay.js +287 -0
- package/dist/components/SchedulingTimeGrid.d.ts +3 -1
- package/dist/components/SchedulingTimeline.d.ts +3 -1
- package/dist/components/SearchSuggest.d.ts +23 -3
- package/dist/components/SearchSuggest.js +56 -18
- package/dist/components/Segmented.d.ts +39 -4
- package/dist/components/Segmented.js +39 -5
- package/dist/components/Select.d.ts +3 -2
- package/dist/components/Select.js +7 -1
- package/dist/components/ShortcutHint.d.ts +11 -10
- package/dist/components/ShortcutHint.js +44 -38
- package/dist/components/Sidebar.d.ts +36 -4
- package/dist/components/Sidebar.js +37 -12
- package/dist/components/SortableList.d.ts +45 -0
- package/dist/components/SortableList.js +147 -0
- package/dist/components/Stat.d.ts +28 -3
- package/dist/components/Stat.js +13 -3
- package/dist/components/States.d.ts +33 -1
- package/dist/components/States.js +43 -1
- package/dist/components/StatusPill.d.ts +14 -3
- package/dist/components/StatusPill.js +11 -3
- package/dist/components/Steps.js +2 -1
- package/dist/components/Table.d.ts +9 -2
- package/dist/components/Table.js +4 -2
- package/dist/components/TableControls.js +18 -58
- package/dist/components/TableOverflowProbe.d.ts +12 -0
- package/dist/components/TableOverflowProbe.js +27 -0
- package/dist/components/Tabs.d.ts +2 -1
- package/dist/components/Tabs.js +10 -2
- package/dist/components/TagInput.d.ts +67 -0
- package/dist/components/TagInput.js +342 -0
- package/dist/components/Textarea.d.ts +5 -0
- package/dist/components/Textarea.js +2 -2
- package/dist/components/TimePicker.d.ts +80 -0
- package/dist/components/TimePicker.js +347 -0
- package/dist/components/Toast.d.ts +1 -1
- package/dist/components/Toast.js +109 -4
- package/dist/components/Tooltip.d.ts +8 -4
- package/dist/components/Tooltip.js +86 -28
- package/dist/components/Tree.d.ts +8 -0
- package/dist/components/Tree.js +11 -5
- package/dist/display-preferences-model.d.ts +53 -0
- package/dist/display-preferences-model.js +64 -0
- package/dist/emoji.cjs +143 -49
- package/dist/filter-model.d.ts +59 -3
- package/dist/filter-model.js +67 -2
- package/dist/hooks/useAnchoredPosition.js +14 -2
- package/dist/hooks/useChangeHighlight.d.ts +33 -0
- package/dist/hooks/useChangeHighlight.js +44 -0
- package/dist/hooks/useDeferredReorder.d.ts +32 -0
- package/dist/hooks/useDeferredReorder.js +47 -0
- package/dist/hooks/useDialog.d.ts +5 -0
- package/dist/hooks/useDialog.js +17 -3
- package/dist/hooks/useKeyboardGrab.d.ts +58 -0
- package/dist/hooks/useKeyboardGrab.js +118 -0
- package/dist/hooks/useOptimisticValue.d.ts +51 -0
- package/dist/hooks/useOptimisticValue.js +61 -0
- package/dist/hooks/useReducedMotion.d.ts +4 -1
- package/dist/hooks/useReducedMotion.js +7 -1
- package/dist/hooks/useResolvedFilterLabels.d.ts +15 -0
- package/dist/hooks/useResolvedFilterLabels.js +34 -0
- package/dist/hooks/useSlidingIndicator.d.ts +18 -0
- package/dist/hooks/useSlidingIndicator.js +80 -0
- package/dist/hooks/useVirtualRows.d.ts +21 -2
- package/dist/hooks/useVirtualRows.js +30 -3
- package/dist/icons/Icon.d.ts +1 -1
- package/dist/index.cjs +19687 -13423
- package/dist/index.d.cts +3419 -651
- package/dist/index.d.ts +48 -18
- package/dist/index.js +153 -9
- package/dist/labels-context.d.ts +93 -3
- package/dist/motion.d.ts +11 -0
- package/dist/motion.js +35 -0
- package/dist/overlay-stack.d.ts +6 -0
- package/dist/overlay-stack.js +13 -0
- package/dist/qr-model.d.ts +65 -0
- package/dist/qr-model.js +323 -0
- package/dist/relationship-graph-model.d.ts +92 -3
- package/dist/relationship-graph-model.js +134 -15
- package/dist/reorder.d.ts +30 -0
- package/dist/reorder.js +74 -0
- package/dist/rich-text.cjs +46 -4
- package/dist/scheduling-resource-model.d.ts +76 -0
- package/dist/scheduling-resource-model.js +74 -0
- package/dist/search-suggest-model.js +3 -1
- package/dist/shell-context.d.ts +11 -0
- package/dist/shell-context.js +7 -0
- package/dist/time-field-model.d.ts +46 -0
- package/dist/time-field-model.js +152 -0
- package/dist/toast-store.d.ts +22 -3
- package/dist/toast-store.js +26 -9
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -4,23 +4,45 @@ import { useTable } from "./hooks/useTable.js";
|
|
|
4
4
|
import { useVirtualRows } from "./hooks/useVirtualRows.js";
|
|
5
5
|
import { useAnchoredPosition } from "./hooks/useAnchoredPosition.js";
|
|
6
6
|
import { useReducedMotion, prefersReducedMotion } from "./hooks/useReducedMotion.js";
|
|
7
|
+
import { DisplayPreferences, ThemeSwitcher, useDisplayPreferences, DEFAULT_DISPLAY_PREFERENCES_LABELS } from "./components/DisplayPreferences.js";
|
|
8
|
+
import {
|
|
9
|
+
DEFAULT_DISPLAY_PREFERENCES,
|
|
10
|
+
DISPLAY_PREFERENCES_STORAGE_KEY,
|
|
11
|
+
DISPLAY_PREFERENCE_OPTIONS,
|
|
12
|
+
applyDisplayAttributes,
|
|
13
|
+
displayPreferencesScript,
|
|
14
|
+
parseDisplayPreferences,
|
|
15
|
+
readSystemDisplayPreferences,
|
|
16
|
+
resolveDisplayAttributes
|
|
17
|
+
} from "./display-preferences-model.js";
|
|
7
18
|
import { useDelayedPending } from "./hooks/useDelayedPending.js";
|
|
8
19
|
import { PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, RESULT_HOLD_MS } from "./motion-timing.js";
|
|
20
|
+
import { useChangeHighlight, flashChanged } from "./hooks/useChangeHighlight.js";
|
|
21
|
+
import { useOptimisticValue } from "./hooks/useOptimisticValue.js";
|
|
22
|
+
import { announcePolite } from "./announce.js";
|
|
23
|
+
import { useDeferredReorder } from "./hooks/useDeferredReorder.js";
|
|
24
|
+
import { useSlidingIndicator } from "./hooks/useSlidingIndicator.js";
|
|
25
|
+
import { useKeyboardGrab, settleDrop, DEFAULT_KEYBOARD_GRAB_LABELS } from "./hooks/useKeyboardGrab.js";
|
|
9
26
|
import { computePosition } from "./overlay-position.js";
|
|
10
27
|
import { Button, ButtonGroup, ButtonLink } from "./components/Button.js";
|
|
11
28
|
import { UixLabelsProvider, useUixLabels } from "./labels-context.js";
|
|
12
29
|
import { renderPlainLink } from "./link.js";
|
|
13
30
|
import { Input, InputGroup } from "./components/Input.js";
|
|
31
|
+
import { PasswordInput, DEFAULT_PASSWORD_INPUT_LABELS } from "./components/PasswordInput.js";
|
|
32
|
+
import { OtpInput } from "./components/OtpInput.js";
|
|
33
|
+
import { TagInput, DEFAULT_TAG_INPUT_LABELS } from "./components/TagInput.js";
|
|
14
34
|
import { Combobox } from "./components/Combobox.js";
|
|
15
|
-
import { filterComboboxOptions } from "./combobox-model.js";
|
|
35
|
+
import { filterComboboxItems, filterComboboxOptions } from "./combobox-model.js";
|
|
16
36
|
import { SearchSuggest } from "./components/SearchSuggest.js";
|
|
17
37
|
import { SearchBar } from "./components/SearchBar.js";
|
|
18
38
|
import { EntityPicker, DEFAULT_ENTITY_PICKER_LABELS } from "./components/EntityPicker.js";
|
|
19
39
|
import { searchSegments, foldForSearch } from "./search-suggest-model.js";
|
|
20
40
|
import { Textarea } from "./components/Textarea.js";
|
|
41
|
+
import { SortableList, DEFAULT_SORTABLE_LIST_LABELS } from "./components/SortableList.js";
|
|
42
|
+
import { placeId } from "./reorder.js";
|
|
21
43
|
import { InlineEdit, DEFAULT_INLINE_EDIT_LABELS } from "./components/InlineEdit.js";
|
|
22
44
|
import { Select } from "./components/Select.js";
|
|
23
|
-
import { Checkbox } from "./components/Checkbox.js";
|
|
45
|
+
import { Checkbox, CheckboxGroup } from "./components/Checkbox.js";
|
|
24
46
|
import { Radio, RadioCard, RadioGroup } from "./components/Radio.js";
|
|
25
47
|
import { Switch } from "./components/Switch.js";
|
|
26
48
|
import { Field } from "./components/Field.js";
|
|
@@ -30,7 +52,7 @@ import { Drawer } from "./components/Drawer.js";
|
|
|
30
52
|
import { DialogClose } from "./components/DiscardPrompt.js";
|
|
31
53
|
import { Peek } from "./components/Peek.js";
|
|
32
54
|
import { Lightbox, DEFAULT_LIGHTBOX_LABELS } from "./components/Lightbox.js";
|
|
33
|
-
import { Card, CardLink } from "./components/Card.js";
|
|
55
|
+
import { Card, CardLink, Inset } from "./components/Card.js";
|
|
34
56
|
import { DashboardGrid, DashboardGridItem, dashboardGridClassName, dashboardGridItemClassName } from "./components/DashboardGrid.js";
|
|
35
57
|
import { DashboardCanvas, DEFAULT_DASHBOARD_CANVAS_LABELS } from "./components/DashboardCanvas.js";
|
|
36
58
|
import {
|
|
@@ -60,8 +82,15 @@ import { DescriptionList, DescriptionItem } from "./components/DescriptionList.j
|
|
|
60
82
|
import { Tabs, Tab, TabPanel } from "./components/Tabs.js";
|
|
61
83
|
import { AppShell } from "./components/AppShell.js";
|
|
62
84
|
import { Sidebar, SidebarSection, NavItem, NavGroup, SubNavItem } from "./components/Sidebar.js";
|
|
85
|
+
import { AccountMenu, DEFAULT_ACCOUNT_MENU_LABELS, accountInitials } from "./components/AccountMenu.js";
|
|
63
86
|
import { StarButton } from "./components/StarButton.js";
|
|
64
87
|
import { CopyButton } from "./components/CopyButton.js";
|
|
88
|
+
import { QrCode, DEFAULT_QR_CODE_LABELS } from "./components/QrCode.js";
|
|
89
|
+
import { encodeQr, qrPath, qrDataCapacity, qrVersionFor, QrCapacityError } from "./qr-model.js";
|
|
90
|
+
import { QrScanner, DEFAULT_QR_SCANNER_LABELS } from "./components/QrScanner.js";
|
|
91
|
+
import { CodeDisplay, DEFAULT_CODE_DISPLAY_LABELS, codeGroups, formatCountdown } from "./components/CodeDisplay.js";
|
|
92
|
+
import { ContactCard, DEFAULT_CONTACT_CARD_LABELS, telHref } from "./components/ContactCard.js";
|
|
93
|
+
import { PrintLayout, PrintSignature, PrintPageBreak, DEFAULT_PRINT_LAYOUT_LABELS } from "./components/PrintLayout.js";
|
|
65
94
|
import { NavFavourites } from "./components/NavFavourites.js";
|
|
66
95
|
import { FileUpload, DEFAULT_FILE_UPLOAD_LABELS } from "./components/FileUpload.js";
|
|
67
96
|
import { Attachment, AttachmentList, DEFAULT_ATTACHMENT_LABELS } from "./components/Attachment.js";
|
|
@@ -91,7 +120,7 @@ import { DEFAULT_PAGINATION_LABELS, Pagination } from "./components/Pagination.j
|
|
|
91
120
|
import { StatusPill } from "./components/StatusPill.js";
|
|
92
121
|
import { Progress } from "./components/Progress.js";
|
|
93
122
|
import { Meter } from "./components/Meter.js";
|
|
94
|
-
import { Stat } from "./components/Stat.js";
|
|
123
|
+
import { Stat, StatRow } from "./components/Stat.js";
|
|
95
124
|
import { Bullet, DEFAULT_INSIGHT_CARD_LABELS, InsightCard } from "./components/InsightCard.js";
|
|
96
125
|
import { linearFit, normalQuantile, predictionBand, quantiles, studentTQuantile } from "./chart-stats.js";
|
|
97
126
|
import { Chip, ChipGroup } from "./components/Chip.js";
|
|
@@ -99,7 +128,7 @@ import { Kbd, KbdCombo, ariaKeyShortcuts } from "./components/Kbd.js";
|
|
|
99
128
|
import { Steps, Step, DEFAULT_STEP_STATE_LABELS } from "./components/Steps.js";
|
|
100
129
|
import { Tooltip } from "./components/Tooltip.js";
|
|
101
130
|
import { InfoTip } from "./components/InfoTip.js";
|
|
102
|
-
import { EmptyState, ErrorState, ForbiddenState, NotFoundState, FilteredEmptyState, Skeleton, LoadingState } from "./components/States.js";
|
|
131
|
+
import { EmptyState, ErrorState, ForbiddenState, NotFoundState, FilteredEmptyState, Skeleton, LoadingState, SuccessState } from "./components/States.js";
|
|
103
132
|
import { RelativeTime } from "./components/RelativeTime.js";
|
|
104
133
|
import { parseDateValue, relativeTimeValue } from "./relative-time-model.js";
|
|
105
134
|
import { AsyncOperationStatus } from "./components/AsyncOperationStatus.js";
|
|
@@ -108,10 +137,14 @@ import { Avatar, AvatarGroup, PresenceDot, UserChip, DEFAULT_PRESENCE_LABELS } f
|
|
|
108
137
|
import { Comments, Comment } from "./components/Comments.js";
|
|
109
138
|
import { SaveStatus, DEFAULT_SAVE_STATUS_LABELS } from "./components/SaveStatus.js";
|
|
110
139
|
import { BusyRegion } from "./components/BusyRegion.js";
|
|
140
|
+
import { ChangeHighlight } from "./components/ChangeHighlight.js";
|
|
141
|
+
import { Count } from "./components/Count.js";
|
|
142
|
+
import { MotionList } from "./components/MotionList.js";
|
|
111
143
|
import { DEFAULT_BUTTON_RESULT_LABELS } from "./components/ButtonFeedback.js";
|
|
112
144
|
import { Composer, ComposerBar } from "./components/Composer.js";
|
|
113
|
-
import { Segmented, SegmentedOption } from "./components/Segmented.js";
|
|
145
|
+
import { Segmented, SegmentedOption, LocaleSwitcher } from "./components/Segmented.js";
|
|
114
146
|
import { ViewMenu, FilterPopover, SavedViewMenu } from "./components/TableControls.js";
|
|
147
|
+
import { DataWorkspace, DEFAULT_DATA_WORKSPACE_LABELS } from "./components/DataWorkspace.js";
|
|
115
148
|
import { FilterEditor, DEFAULT_FILTER_EDITOR_LABELS } from "./components/FilterEditor.js";
|
|
116
149
|
import {
|
|
117
150
|
DEFAULT_FILTER_SUMMARY_LABELS,
|
|
@@ -120,7 +153,11 @@ import {
|
|
|
120
153
|
emptyFilterValue,
|
|
121
154
|
isFilterEmpty,
|
|
122
155
|
matchFilterPreset,
|
|
123
|
-
summarizeFilter
|
|
156
|
+
summarizeFilter,
|
|
157
|
+
DATE_FILTER_OPERATORS,
|
|
158
|
+
dateFilterBounds,
|
|
159
|
+
isUnresolvedChoice,
|
|
160
|
+
resolveFilterLabels
|
|
124
161
|
} from "./filter-model.js";
|
|
125
162
|
import { Timeline, TimelineItem } from "./components/Timeline.js";
|
|
126
163
|
import { Pipeline, PipelineStage } from "./components/Pipeline.js";
|
|
@@ -129,8 +166,9 @@ import { Prose, Note } from "./components/Prose.js";
|
|
|
129
166
|
import { Popover } from "./components/Popover.js";
|
|
130
167
|
import { Menu, MenuItem, MenuItemRadio, MenuItemCheckbox, MenuRadioGroup, MenuGroup, MenuSeparator } from "./components/Menu.js";
|
|
131
168
|
import { CommandPalette, CommandGroup, CommandItem } from "./components/CommandPalette.js";
|
|
169
|
+
import { filterCommandItems, groupCommandItems } from "./command-palette-model.js";
|
|
132
170
|
import { Inbox, InboxList, InboxItem, InboxDetail } from "./components/Inbox.js";
|
|
133
|
-
import { Kanban, KanbanColumn, KanbanCard } from "./components/Kanban.js";
|
|
171
|
+
import { Kanban, KanbanColumn, KanbanCard, KanbanDropLine } from "./components/Kanban.js";
|
|
134
172
|
import { Tree, DEFAULT_TREE_LABELS } from "./components/Tree.js";
|
|
135
173
|
import { OrgChart, DEFAULT_ORG_CHART_LABELS, orgChartInitials, orgChartZoomStep } from "./components/OrgChart.js";
|
|
136
174
|
import { flattenTree, treeNav } from "./tree-model.js";
|
|
@@ -166,6 +204,7 @@ import {
|
|
|
166
204
|
} from "./rule-builder-model.js";
|
|
167
205
|
import { BuilderCanvas, DEFAULT_BUILDER_CANVAS_LABELS } from "./components/BuilderCanvas.js";
|
|
168
206
|
import { DEFAULT_SCHEDULING_CALENDAR_LABELS, SchedulingCalendar } from "./components/SchedulingCalendar.js";
|
|
207
|
+
import { resourceDaySlots, layoutResourceColumn, resourceDayGaps } from "./scheduling-resource-model.js";
|
|
169
208
|
import {
|
|
170
209
|
TOP_LANE_CROSS_MIDNIGHT_MINUTES,
|
|
171
210
|
itemDaySpan,
|
|
@@ -203,6 +242,20 @@ import {
|
|
|
203
242
|
splitDateTime,
|
|
204
243
|
timeZoneName
|
|
205
244
|
} from "./date-field-model.js";
|
|
245
|
+
import { TimePicker, DEFAULT_TIME_PICKER_LABELS } from "./components/TimePicker.js";
|
|
246
|
+
import {
|
|
247
|
+
formatTimeKey,
|
|
248
|
+
isOvernightRange,
|
|
249
|
+
isTimeOutOfRange,
|
|
250
|
+
isValidTimeKey,
|
|
251
|
+
minutesToTime,
|
|
252
|
+
parseTimeInput,
|
|
253
|
+
stepTime,
|
|
254
|
+
timePartEnds,
|
|
255
|
+
timeSlots,
|
|
256
|
+
timeToMinutes,
|
|
257
|
+
uses12Hour
|
|
258
|
+
} from "./time-field-model.js";
|
|
206
259
|
import {
|
|
207
260
|
addCalendarDays,
|
|
208
261
|
addCalendarMonths,
|
|
@@ -226,7 +279,8 @@ import {
|
|
|
226
279
|
zonedTimeOfDay
|
|
227
280
|
} from "./calendar-model.js";
|
|
228
281
|
import { RelationshipGraph, DEFAULT_RELATIONSHIP_GRAPH_LABELS } from "./components/RelationshipGraph.js";
|
|
229
|
-
import { boundRelationshipGraph, layoutRelationshipGraph, relationshipNeighbors, traverseRelationshipNode, classifyLayeredEdges, clusterIdFor, layeredNeighbor, layoutLayeredGraph, wrapEdgeLabel } from "./relationship-graph-model.js";
|
|
282
|
+
import { boundRelationshipGraph, layoutRelationshipGraph, relationshipNeighbors, traverseRelationshipNode, classifyLayeredEdges, clusterIdFor, layeredNeighbor, layoutLayeredGraph, wrapEdgeLabel, separateEdgeLabels, edgeLabelSize } from "./relationship-graph-model.js";
|
|
283
|
+
import { AuditLog, DEFAULT_AUDIT_LOG_LABELS } from "./components/AuditLog.js";
|
|
230
284
|
import { DEFAULT_MATCH_REVIEW_LABELS, MatchReview } from "./components/MatchReview.js";
|
|
231
285
|
import { MetricInput } from "./components/MetricInput.js";
|
|
232
286
|
import { clampMetricValue, parseMetricValue, stepMetricValue } from "./metric-model.js";
|
|
@@ -239,11 +293,13 @@ import { diffText, diffTokens, textDiffRows, tokenizeText } from "./text-diff-mo
|
|
|
239
293
|
import { ColorPicker, DEFAULT_COLOR_PICKER_LABELS } from "./components/ColorPicker.js";
|
|
240
294
|
import { contrastRatio, hexToRgb, hsvToHex, hsvToRgb, meetsContrast, normalizeHex, rgbToHex, rgbToHsv } from "./color-model.js";
|
|
241
295
|
export {
|
|
296
|
+
AccountMenu,
|
|
242
297
|
Alert,
|
|
243
298
|
AppShell,
|
|
244
299
|
AsyncOperationStatus,
|
|
245
300
|
Attachment,
|
|
246
301
|
AttachmentList,
|
|
302
|
+
AuditLog,
|
|
247
303
|
Avatar,
|
|
248
304
|
AvatarGroup,
|
|
249
305
|
BrandProfileEditor,
|
|
@@ -260,9 +316,12 @@ export {
|
|
|
260
316
|
CardLink,
|
|
261
317
|
CellStrong,
|
|
262
318
|
CellSub,
|
|
319
|
+
ChangeHighlight,
|
|
263
320
|
Checkbox,
|
|
321
|
+
CheckboxGroup,
|
|
264
322
|
Chip,
|
|
265
323
|
ChipGroup,
|
|
324
|
+
CodeDisplay,
|
|
266
325
|
CollapsibleSection,
|
|
267
326
|
ColorPicker,
|
|
268
327
|
Combobox,
|
|
@@ -274,32 +333,47 @@ export {
|
|
|
274
333
|
Composer,
|
|
275
334
|
ComposerBar,
|
|
276
335
|
ConfirmDialog,
|
|
336
|
+
ContactCard,
|
|
277
337
|
ContentList,
|
|
278
338
|
ContentListItem,
|
|
279
339
|
CopyButton,
|
|
340
|
+
Count,
|
|
280
341
|
DASHBOARD_CANVAS_COLUMNS,
|
|
342
|
+
DATE_FILTER_OPERATORS,
|
|
281
343
|
DAY,
|
|
344
|
+
DEFAULT_ACCOUNT_MENU_LABELS,
|
|
282
345
|
DEFAULT_ATTACHMENT_LABELS,
|
|
346
|
+
DEFAULT_AUDIT_LOG_LABELS,
|
|
283
347
|
DEFAULT_BRAND_PROFILE_EDITOR_LABELS,
|
|
284
348
|
DEFAULT_BUILDER_CANVAS_LABELS,
|
|
285
349
|
DEFAULT_BUTTON_RESULT_LABELS,
|
|
350
|
+
DEFAULT_CODE_DISPLAY_LABELS,
|
|
286
351
|
DEFAULT_COLOR_PICKER_LABELS,
|
|
352
|
+
DEFAULT_CONTACT_CARD_LABELS,
|
|
287
353
|
DEFAULT_DASHBOARD_CANVAS_LABELS,
|
|
354
|
+
DEFAULT_DATA_WORKSPACE_LABELS,
|
|
288
355
|
DEFAULT_DATE_PICKER_LABELS,
|
|
289
356
|
DEFAULT_DATE_RANGE_PICKER_LABELS,
|
|
290
357
|
DEFAULT_DATE_TIME_PICKER_LABELS,
|
|
291
358
|
DEFAULT_DIFF_VIEWER_LABELS,
|
|
359
|
+
DEFAULT_DISPLAY_PREFERENCES,
|
|
360
|
+
DEFAULT_DISPLAY_PREFERENCES_LABELS,
|
|
292
361
|
DEFAULT_ENTITY_PICKER_LABELS,
|
|
293
362
|
DEFAULT_FILE_UPLOAD_LABELS,
|
|
294
363
|
DEFAULT_FILTER_EDITOR_LABELS,
|
|
295
364
|
DEFAULT_FILTER_SUMMARY_LABELS,
|
|
296
365
|
DEFAULT_INLINE_EDIT_LABELS,
|
|
297
366
|
DEFAULT_INSIGHT_CARD_LABELS,
|
|
367
|
+
DEFAULT_KEYBOARD_GRAB_LABELS,
|
|
298
368
|
DEFAULT_LIGHTBOX_LABELS,
|
|
299
369
|
DEFAULT_MATCH_REVIEW_LABELS,
|
|
300
370
|
DEFAULT_ORG_CHART_LABELS,
|
|
301
371
|
DEFAULT_PAGINATION_LABELS,
|
|
372
|
+
DEFAULT_PASSWORD_INPUT_LABELS,
|
|
302
373
|
DEFAULT_PRESENCE_LABELS,
|
|
374
|
+
DEFAULT_PRINT_LAYOUT_LABELS,
|
|
375
|
+
DEFAULT_QR_CODE_LABELS,
|
|
376
|
+
DEFAULT_QR_SCANNER_LABELS,
|
|
303
377
|
DEFAULT_RELATIONSHIP_GRAPH_LABELS,
|
|
304
378
|
DEFAULT_RULE_BUILDER_LABELS,
|
|
305
379
|
DEFAULT_RULE_SUMMARY_WORDS,
|
|
@@ -307,12 +381,18 @@ export {
|
|
|
307
381
|
DEFAULT_SAVE_STATUS_LABELS,
|
|
308
382
|
DEFAULT_SCHEDULING_CALENDAR_LABELS,
|
|
309
383
|
DEFAULT_SCHEDULING_TIMELINE_LABELS,
|
|
384
|
+
DEFAULT_SORTABLE_LIST_LABELS,
|
|
310
385
|
DEFAULT_STEP_STATE_LABELS,
|
|
386
|
+
DEFAULT_TAG_INPUT_LABELS,
|
|
311
387
|
DEFAULT_TEXT_DIFF_LABELS,
|
|
388
|
+
DEFAULT_TIME_PICKER_LABELS,
|
|
312
389
|
DEFAULT_TREE_LABELS,
|
|
390
|
+
DISPLAY_PREFERENCES_STORAGE_KEY,
|
|
391
|
+
DISPLAY_PREFERENCE_OPTIONS,
|
|
313
392
|
DashboardCanvas,
|
|
314
393
|
DashboardGrid,
|
|
315
394
|
DashboardGridItem,
|
|
395
|
+
DataWorkspace,
|
|
316
396
|
DatePicker,
|
|
317
397
|
DateRangePicker,
|
|
318
398
|
DateTimePicker,
|
|
@@ -322,6 +402,7 @@ export {
|
|
|
322
402
|
DetailPage,
|
|
323
403
|
DialogClose,
|
|
324
404
|
DiffViewer,
|
|
405
|
+
DisplayPreferences,
|
|
325
406
|
Drawer,
|
|
326
407
|
EmptyState,
|
|
327
408
|
EntityPicker,
|
|
@@ -350,10 +431,12 @@ export {
|
|
|
350
431
|
InlineEdit,
|
|
351
432
|
Input,
|
|
352
433
|
InputGroup,
|
|
434
|
+
Inset,
|
|
353
435
|
InsightCard,
|
|
354
436
|
Kanban,
|
|
355
437
|
KanbanCard,
|
|
356
438
|
KanbanColumn,
|
|
439
|
+
KanbanDropLine,
|
|
357
440
|
Kbd,
|
|
358
441
|
KbdCombo,
|
|
359
442
|
Label,
|
|
@@ -363,6 +446,7 @@ export {
|
|
|
363
446
|
ListItem,
|
|
364
447
|
LiveIndicator,
|
|
365
448
|
LoadingState,
|
|
449
|
+
LocaleSwitcher,
|
|
366
450
|
Mark,
|
|
367
451
|
MatchReview,
|
|
368
452
|
Menu,
|
|
@@ -375,6 +459,7 @@ export {
|
|
|
375
459
|
Meter,
|
|
376
460
|
MetricInput,
|
|
377
461
|
Modal,
|
|
462
|
+
MotionList,
|
|
378
463
|
NUMBER_FILTER_OPERATORS,
|
|
379
464
|
NavFavourites,
|
|
380
465
|
NavGroup,
|
|
@@ -384,20 +469,28 @@ export {
|
|
|
384
469
|
Note,
|
|
385
470
|
NoticeQueue,
|
|
386
471
|
OrgChart,
|
|
472
|
+
OtpInput,
|
|
387
473
|
PENDING_DELAY_MS,
|
|
388
474
|
PENDING_MIN_VISIBLE_MS,
|
|
389
475
|
PageHeader,
|
|
390
476
|
PageIntro,
|
|
391
477
|
Pagination,
|
|
478
|
+
PasswordInput,
|
|
392
479
|
Peek,
|
|
393
480
|
Pipeline,
|
|
394
481
|
PipelineStage,
|
|
395
482
|
Popconfirm,
|
|
396
483
|
Popover,
|
|
397
484
|
PresenceDot,
|
|
485
|
+
PrintLayout,
|
|
486
|
+
PrintPageBreak,
|
|
487
|
+
PrintSignature,
|
|
398
488
|
Progress,
|
|
399
489
|
PromptDialog,
|
|
400
490
|
Prose,
|
|
491
|
+
QrCapacityError,
|
|
492
|
+
QrCode,
|
|
493
|
+
QrScanner,
|
|
401
494
|
RESULT_HOLD_MS,
|
|
402
495
|
Radio,
|
|
403
496
|
RadioCard,
|
|
@@ -422,15 +515,18 @@ export {
|
|
|
422
515
|
Sidebar,
|
|
423
516
|
SidebarSection,
|
|
424
517
|
Skeleton,
|
|
518
|
+
SortableList,
|
|
425
519
|
Spinner,
|
|
426
520
|
StarButton,
|
|
427
521
|
Stat,
|
|
428
522
|
StatLine,
|
|
523
|
+
StatRow,
|
|
429
524
|
StatusPill,
|
|
430
525
|
StatusRow,
|
|
431
526
|
Step,
|
|
432
527
|
Steps,
|
|
433
528
|
SubNavItem,
|
|
529
|
+
SuccessState,
|
|
434
530
|
Switch,
|
|
435
531
|
TEXT_FILTER_OPERATORS,
|
|
436
532
|
TOAST_LEAVE_MS,
|
|
@@ -440,10 +536,13 @@ export {
|
|
|
440
536
|
Table,
|
|
441
537
|
TableWrap,
|
|
442
538
|
Tabs,
|
|
539
|
+
TagInput,
|
|
443
540
|
Td,
|
|
444
541
|
TextDiff,
|
|
445
542
|
Textarea,
|
|
446
543
|
Th,
|
|
544
|
+
ThemeSwitcher,
|
|
545
|
+
TimePicker,
|
|
447
546
|
Timeline,
|
|
448
547
|
TimelineItem,
|
|
449
548
|
Toast,
|
|
@@ -455,11 +554,14 @@ export {
|
|
|
455
554
|
UixLabelsProvider,
|
|
456
555
|
UserChip,
|
|
457
556
|
ViewMenu,
|
|
557
|
+
accountInitials,
|
|
458
558
|
addCalendarDays,
|
|
459
559
|
addCalendarMonths,
|
|
460
560
|
addZonedDays,
|
|
561
|
+
announcePolite,
|
|
461
562
|
appendRuleNode,
|
|
462
563
|
applyBrandProfile,
|
|
564
|
+
applyDisplayAttributes,
|
|
463
565
|
ariaKeyShortcuts,
|
|
464
566
|
boundRelationshipGraph,
|
|
465
567
|
buildMonthGrid,
|
|
@@ -475,6 +577,7 @@ export {
|
|
|
475
577
|
clampMetricValue,
|
|
476
578
|
classifyLayeredEdges,
|
|
477
579
|
clusterIdFor,
|
|
580
|
+
codeGroups,
|
|
478
581
|
compactCanvas,
|
|
479
582
|
computePosition,
|
|
480
583
|
contrastRatio,
|
|
@@ -483,30 +586,44 @@ export {
|
|
|
483
586
|
cx,
|
|
484
587
|
dashboardGridClassName,
|
|
485
588
|
dashboardGridItemClassName,
|
|
589
|
+
dateFilterBounds,
|
|
486
590
|
dateOrder,
|
|
487
591
|
datePattern,
|
|
488
592
|
defaultTimelineStep,
|
|
489
593
|
diffText,
|
|
490
594
|
diffTokens,
|
|
595
|
+
displayPreferencesScript,
|
|
596
|
+
edgeLabelSize,
|
|
491
597
|
emptyFilterValue,
|
|
598
|
+
encodeQr,
|
|
492
599
|
enumerateDateKeys,
|
|
493
600
|
enumerateDateSpan,
|
|
494
601
|
fileKind,
|
|
495
602
|
fileMatchesAccept,
|
|
603
|
+
filterComboboxItems,
|
|
496
604
|
filterComboboxOptions,
|
|
605
|
+
filterCommandItems,
|
|
497
606
|
findRuleNodeDepth,
|
|
607
|
+
flashChanged,
|
|
498
608
|
flattenTree,
|
|
499
609
|
foldForSearch,
|
|
610
|
+
formatCountdown,
|
|
500
611
|
formatDateKey,
|
|
501
612
|
formatFileSize,
|
|
613
|
+
formatTimeKey,
|
|
614
|
+
groupCommandItems,
|
|
502
615
|
hexToRgb,
|
|
503
616
|
hsvToHex,
|
|
504
617
|
hsvToRgb,
|
|
505
618
|
isDateInRange,
|
|
506
619
|
isDateUnavailable,
|
|
507
620
|
isFilterEmpty,
|
|
621
|
+
isOvernightRange,
|
|
508
622
|
isRuleGroup,
|
|
623
|
+
isTimeOutOfRange,
|
|
624
|
+
isUnresolvedChoice,
|
|
509
625
|
isValidDateKey,
|
|
626
|
+
isValidTimeKey,
|
|
510
627
|
itemDaySpan,
|
|
511
628
|
joinDateTime,
|
|
512
629
|
layeredNeighbor,
|
|
@@ -515,11 +632,13 @@ export {
|
|
|
515
632
|
layoutLayeredGraph,
|
|
516
633
|
layoutMonthSpans,
|
|
517
634
|
layoutRelationshipGraph,
|
|
635
|
+
layoutResourceColumn,
|
|
518
636
|
layoutTimeGridDay,
|
|
519
637
|
linearFit,
|
|
520
638
|
mapRuleGroup,
|
|
521
639
|
matchFilterPreset,
|
|
522
640
|
meetsContrast,
|
|
641
|
+
minutesToTime,
|
|
523
642
|
moveCanvasItem,
|
|
524
643
|
moveRuleNode,
|
|
525
644
|
normalQuantile,
|
|
@@ -530,22 +649,33 @@ export {
|
|
|
530
649
|
packLanes,
|
|
531
650
|
parseDateInput,
|
|
532
651
|
parseDateValue,
|
|
652
|
+
parseDisplayPreferences,
|
|
533
653
|
parseMetricValue,
|
|
654
|
+
parseTimeInput,
|
|
534
655
|
partitionFiles,
|
|
535
656
|
pixelsToMs,
|
|
536
657
|
placeCanvasItem,
|
|
658
|
+
placeId,
|
|
537
659
|
placeSpan,
|
|
538
660
|
placesInTopLane,
|
|
539
661
|
predictionBand,
|
|
540
662
|
prefersReducedMotion,
|
|
541
663
|
proposeMove,
|
|
664
|
+
qrDataCapacity,
|
|
665
|
+
qrPath,
|
|
666
|
+
qrVersionFor,
|
|
542
667
|
quantiles,
|
|
543
668
|
rankOverflow,
|
|
669
|
+
readSystemDisplayPreferences,
|
|
544
670
|
relationshipNeighbors,
|
|
545
671
|
relativeTimeValue,
|
|
546
672
|
removeRuleNode,
|
|
547
673
|
renderPlainLink,
|
|
548
674
|
resizeCanvasItem,
|
|
675
|
+
resolveDisplayAttributes,
|
|
676
|
+
resolveFilterLabels,
|
|
677
|
+
resourceDayGaps,
|
|
678
|
+
resourceDaySlots,
|
|
549
679
|
restoreBrandProfile,
|
|
550
680
|
rgbToHex,
|
|
551
681
|
rgbToHsv,
|
|
@@ -553,17 +683,24 @@ export {
|
|
|
553
683
|
schedulingGridDays,
|
|
554
684
|
searchSegments,
|
|
555
685
|
selectRangeDate,
|
|
686
|
+
separateEdgeLabels,
|
|
556
687
|
setRuleCombinator,
|
|
688
|
+
settleDrop,
|
|
557
689
|
shiftSpan,
|
|
558
690
|
snapToStep,
|
|
559
691
|
splitDateTime,
|
|
560
692
|
startOfMonth,
|
|
561
693
|
stepMetricValue,
|
|
694
|
+
stepTime,
|
|
562
695
|
studentTQuantile,
|
|
563
696
|
summarizeDiff,
|
|
564
697
|
summarizeFilter,
|
|
565
698
|
summarizeRule,
|
|
699
|
+
telHref,
|
|
566
700
|
textDiffRows,
|
|
701
|
+
timePartEnds,
|
|
702
|
+
timeSlots,
|
|
703
|
+
timeToMinutes,
|
|
567
704
|
timeZoneName,
|
|
568
705
|
timelineRepeatedHourOffset,
|
|
569
706
|
timelineStepDelta,
|
|
@@ -575,12 +712,19 @@ export {
|
|
|
575
712
|
traverseRelationshipNode,
|
|
576
713
|
treeNav,
|
|
577
714
|
useAnchoredPosition,
|
|
715
|
+
useChangeHighlight,
|
|
716
|
+
useDeferredReorder,
|
|
578
717
|
useDelayedPending,
|
|
579
718
|
useDialog,
|
|
719
|
+
useDisplayPreferences,
|
|
720
|
+
useKeyboardGrab,
|
|
721
|
+
useOptimisticValue,
|
|
580
722
|
useReducedMotion,
|
|
723
|
+
useSlidingIndicator,
|
|
581
724
|
useTable,
|
|
582
725
|
useUixLabels,
|
|
583
726
|
useVirtualRows,
|
|
727
|
+
uses12Hour,
|
|
584
728
|
validateRuleDefinition,
|
|
585
729
|
wrapEdgeLabel,
|
|
586
730
|
zonedDateKey,
|