@nxgt/material 3.32.1 → 3.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -0
- package/dist/{components-d7zwWiUr.js → components-1vjs-YVY.js} +15407 -15319
- package/dist/components.js +23 -23
- package/dist/lib/components/ui/collections/data-table/internal.d.ts +1 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-pager.d.ts +12 -0
- package/dist/lib/components/ui/collections/data-table/use-range-label.d.ts +6 -0
- package/dist/lib/components/ui/collections/index.d.ts +1 -0
- package/dist/lib/components/ui/collections/page-footer/index.d.ts +1 -0
- package/dist/lib/components/ui/collections/page-footer/page-footer.d.ts +36 -0
- package/dist/lib/components/ui/layout/app-shell/collect-chrome.d.ts +16 -0
- package/dist/lib/components/ui/layout/app-shell/shape-units.d.ts +4 -0
- package/dist/lib/components/ui/layout/app-shell/shapes-clear-content.d.ts +18 -0
- package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +11 -1
- package/dist/main.js +40 -40
- package/dist/material.css +1 -1
- package/docs/components/data-table-filter-and-lists.md +42 -0
- package/docs/guides/backgrounds.md +3 -0
- package/docs/previews/data-table-filter-lists-pagefooter.webp +0 -0
- package/package.json +2 -2
package/dist/components.js
CHANGED
|
@@ -2,26 +2,26 @@ import { $ as ee, $i as te, $t as ne, An as re, Ar as e, Br as t, Cr as n, Dr as
|
|
|
2
2
|
import { i as Xe, n as Ze, r as Qe, s as $e, t as et } from "./tooltip-CkttDIab.js";
|
|
3
3
|
import { a as tt, c as nt, f as rt, i as it, l as at, n as ot, o as st, p as ct, r as lt, s as ut, t as dt, u as ft } from "./dialog-Cp7bS5LI.js";
|
|
4
4
|
import { a as pt, c as mt, d as ht, f as gt, i as _t, l as vt, n as yt, o as bt, r as xt, s as St, t as Ct, u as wt } from "./dropdown-menu-DJNMcPZa.js";
|
|
5
|
-
import { $ as Tt, $a as Et, $c as Dt, $d as Ot, $i as kt, $l as At, $n as jt, $o as Mt, $r as Nt, $s as Pt, $t as Ft, $u as It, A as Lt, Aa as Rt, Ac as zt, Ad as Bt, Af as Vt, Ai as Ht, Al as Ut, An as Wt, Ao as Gt, Ar as Kt, As as qt, At as Jt, Au as Yt, B as Xt, Ba as Zt, Bc as Qt, Bd as $t, Bi as en, Bl as tn, Bn as nn, Bo as rn, Br as an, Bs as on, Bt as sn, Bu as cn, C as ln, Ca as un, Cc as dn, Cd as fn, Cf as pn, Ci as mn, Cl as hn, Cn as gn, Co as _n, Cr as vn, Cs as yn, Ct as bn, Cu as xn, D as Sn, Da as Cn, Dc as wn, Dd as Tn, Df as En, Di as Dn, Dl as On, Dn as kn, Do as An, Dr as jn, Ds as Mn, Dt as Nn, Du as Pn, E as Fn, Ea as In, Ec as Ln, Ed as Rn, Ef as zn, Ei as Bn, El as Vn, En as Hn, Eo as Un, Er as Wn, Es as Gn, Et as Kn, Eu as qn, F as Jn, Fa as Yn, Fc as Xn, Fd as Zn, Ff as Qn, Fi as $n, Fl as er, Fn as tr, Fo as nr, Fr as rr, Fs as ir, Ft as ar, Fu as or, G as sr, Ga as cr, Gc as lr, Gd as ur, Gi as dr, Gl as fr, Gn as pr, Go as mr, Gr as hr, Gs as gr, Gt as _r, Gu as vr, H as yr, Ha as br, Hc as xr, Hd as Sr, Hi as Cr, Hl as wr, Hn as Tr, Ho as Er, Hr as Dr, Hs as Or, Ht as kr, Hu as Ar, I as jr, Ia as Mr, Ic as Nr, Id as Pr, If as Fr, Ii as Ir, Il as Lr, In as Rr, Io as zr, Ir as Br, Is as Vr, It as Hr, Iu as Ur, J as Wr, Ja as Gr, Jc as Kr, Jd as qr, Ji as Jr, Jl as Yr, Jn as Xr, Jo as Zr, Jr as Qr, Js as $r, Jt as ei, Ju as ti, K as ni, Ka as ri, Kc as ii, Kd as ai, Ki as oi, Kl as si, Kn as ci, Ko as li, Kr as ui, Ks as di, Kt as fi, Ku as pi, L as mi, La as hi, Lc as gi, Ld as _i,
|
|
6
|
-
import { a as
|
|
7
|
-
import { i as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { a as
|
|
11
|
-
import { t as
|
|
12
|
-
import { i as
|
|
13
|
-
import { n as Q, t as
|
|
14
|
-
import { a as
|
|
15
|
-
import { a as
|
|
16
|
-
import { i as
|
|
17
|
-
import { t as
|
|
18
|
-
import { a as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { n as
|
|
22
|
-
import { a as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { _ as
|
|
26
|
-
import { t as
|
|
27
|
-
export { be as Accordion, re as AccordionCard, _ as AccordionContent, y as AccordionItem, ke as AccordionPrimitive, S as AccordionTrigger, ds as AccountMenu, je as ActionCard, dm as Activity, ui as ActivityContent, _o as ActivityLayout, ws as AlbumCard, Qc as Alert, ve as AlertDialog, ge as AlertDialogAction, X as AlertDialogCancel, Ue as AlertDialogContent, Je as AlertDialogDescription, ae as AlertDialogFooter, Ke as AlertDialogHeader, A as AlertDialogOverlay, n as AlertDialogPortal, ze as AlertDialogPrimitive, We as AlertDialogTitle, M as AlertDialogTrigger, al as AnchorHeading, Jl as ApiEndpoint, Is as ApiOperation, Br as AppBreadcrumb, Si as AppBreadcrumbItem, Wa as AppBreadcrumbSeparator, Wn as AppHeader, jn as AppSidebar, Yn as AttributeDialog, Mr as AttributeForm, hi as AttributeValueFormField, ou as AttributeValuesForm, yu as AttributeValuesFormFieldSet, In as AttributesField, co as AttributesFormField, Cn as AttributesList, ml as AudioPlayer, xp as AuthCard, H as Autocomplete, q as AutocompleteChips, So as AutocompleteFormField, he as Avatar, Y as AvatarBase, He as AvatarFallback, Oe as AvatarGroup, qe as AvatarImage, Sf as Background, Gd as Badge, Qo as BandCard, Vl as Banner, fs as Barecode, Cs as BottomAppBar, am as Breadcrumb, an as BreadcrumbEllipsis, Vo as BreadcrumbItem, Dr as BreadcrumbLink, ko as BreadcrumbList, $o as BreadcrumbPage, hr as BreadcrumbSeparator, Oo as BreakdownCard, Xm as Button, Fr as ButtonGroup, $m as CODE_LANGUAGES, kh as CSS, Da as Calendar, Ot as CalendarDayButton, $l as Camera, ec as Card, vd as CardAction, gf as CardContent, Ec as CardDescription, Nu as CardFooter, Hf as CardHeader, Rc as CardTitle, W as Carousel, Yr as CarouselAutoplayToggle, E as CarouselContent, J as CarouselIndicators, B as CarouselItem, ne as CarouselNext, fe as CarouselPrevious, Xf as ChangeHistory, zi as ChatComposer, Be as ChatComposerAttachmentChip, oe as ChatComposerAttachmentList, we as ChatComposerAttachments, Ei as ChatConversationItem, Lt as ChatInbox, Qi as ChatLayoutContext, Sn as ChatMarkdown, so as ChatMessage, ln as ChatMessageList, Ja as ChatMessageSeparator, Fn as ChatReactionGroup, Ae as ChatReplyQuote, Tp as ChatThread, dc as ChatThreadHeader, fp as ChatTypingIndicator, Rp as ChatWidget, bs as CheckCardField, wa as CheckCardFormField, f as Checkbox, Ds as CheckboxFormField, m as CheckboxGroup, rs as CheckboxGroupFormField, $r as ChecklistCard, mh as Chip, k as ChipGroupField, hs as ChipGroupFormField, cs as ChoiceCardGroup, Wr as ChoiceCardGroupFormField, zf as CircularProgress, Xc as CodeBlock, Pt as CodeGroup, tc as Collapsible, yd as CollapsibleContent, _f as CollapsibleTrigger, Ya as ColorField, Ep as ColorFormField, Sa as ColorSwatches, z as Combobox, Fe as ComboboxChip, p as ComboboxChips, U as ComboboxChipsInput, Ce as ComboboxCollection, P as ComboboxContent, c as ComboboxEmpty, Pl as ComboboxField, Hd as ComboboxFormField, e as ComboboxGroup, vs as ComboboxInput, xe as ComboboxItem, v as ComboboxLabel, L as ComboboxList, As as ComboboxPrimitive, b as ComboboxSeparator, os as ComboboxTrigger, C as ComboboxValue, Gs as Command, up as CommandDialog, vp as CommandEmpty, ap as CommandGroup, Wp as CommandInput, hn as CommandItem, _c as CommandList, jp as CommandSeparator, eo as CommandShortcut, Er as CompareCard, cf as CompareSlider, Qu as ConfirmDialog, hl as ConfirmationDialog, ep as ContactDialog, fc as ContactType, Bs as Contacts, xl as ContactsFormField, Xl as ContextMenu, Ll as ContextMenuCheckboxItem, nc as ContextMenuContent, bd as ContextMenuGroup, wl as ContextMenuItem, vf as ContextMenuLabel, Oc as ContextMenuPortal, Us as ContextMenuRadioGroup, rp as ContextMenuRadioItem, Fu as ContextMenuSeparator, Wf as ContextMenuShortcut, dl as ContextMenuSub, Nd as ContextMenuSubContent, Ju as ContextMenuSubTrigger, Bc as ContextMenuTrigger, Qn as CopyButton, ha as CopyValue, Ed as CountBadge, zu as CountdownTimer, Vf as CountryField, Mu as CountryFormField, Zd as CrewCard, hf as CurrencyField, _d as CurrencyFormField, jc as CustomAlertDialog, Ld as CustomDialog, Xa as DATE_RANGE_PRESET_IDS, Pu as DAY_GROUP_ORDER, oi as DAY_OF_WEEK_FALLBACKS, Hr as DEFAULT_ASPECT_PRESETS, un as DEFAULT_COLOR, Es as DEFAULT_FILTER_STATE, ms as DEFAULT_MAX_VISIBLE_CHIPS, Rs as DEFAULT_PERSISTENCE_CONFIG, Fa as DEFAULT_PRESET_CONFIG, It as DEFAULT_VALIDATION_RULES, Vp as DataGrid, mc as DataGridColumnsMenu, jf as DataGridMenuItem, sd as DataGridMenuLabel, af as DataGridMenuSeparator, Il as DataTable, qu as DataTableColumnHeader, np as DataTablePagination, Hs as DataTableServerFooter, Cl as DataTableViewOptions, ma as DateField, ur as DateFieldContent, mp as DateFormField, pf as DateRangeField, dn as DateRangeFormField, Dc as DayGroupedList, _l as DaySeparator, Td as DefaultDocLink, Bo as DeltaListCard, cc as Description, nu as DescriptionList, dt as Dialog, ot as DialogClose, lt as DialogContent, ut as DialogDescription, nt as DialogFooter, at as DialogHeader, it as DialogOverlay, tt as DialogPortal, Xs as DialogScrollContent, ft as DialogTitle, st as DialogTrigger, Ih as DndOverlay, Ah as DndProvider, Jd as Doc, bc as DocArticle, ci as DocChildCards, Zo as DocCopyMarkdown, pr as DocCopyPage, Do as DocEmpty, Tr as DocHeader, Cf as DocLink, sc as DocNav, bi as DocPage, nn as DocPager, jt as DocProgress, Pp as DocProvider, Gc as DocSearch, Ha as DocSeeAlso, tu as DocSidebar, fd as DocSkipLink, rl as DocToc, Aa as DocTopbar, $ as DragHandle, $ as SortableHandle, zh as Draggable, Oh as DraggableDroppable, Zn as Drawer, Pr as DrawerClose, _i as DrawerContent, Io as DrawerDescription, Sr as DrawerFooter, wo as DrawerHeader, za as DrawerOverlay, em as DrawerPortal, Jo as DrawerTitle, $t as DrawerTrigger, Ct as DropdownMenu, vt as DropdownMenuCheckboxItem, yt as DropdownMenuContent, xt as DropdownMenuGroup, wt as DropdownMenuItem, _t as DropdownMenuLabel, pt as DropdownMenuPortal, ht as DropdownMenuRadioGroup, gt as DropdownMenuRadioItem, bt as DropdownMenuSeparator, St as DropdownMenuShortcut, Gm as DropdownMenuSub, jm as DropdownMenuSubContent, Wm as DropdownMenuSubTrigger, mt as DropdownMenuTrigger, Fh as Droppable, Bp as DurationField, tp as DurationFormField, ql as EmailField, tf as EmailFormField, Re as EmojiList, Me as EmojiPicker, Th as EmptyState, pd as EnrolmentSecret, Ps as EntityHeader, Tm as ErrorState, Qs as EventCalendar, mf as EventCalendarProvider, di as EventCard, us as EventChip, Rt as ExtendedLabel, lu as FAB_TONES, Ai as FAB_VARIANTS, Zc as FILTER_CONTAINER_BREAKPOINTS, Af as FILTER_VALUE_WORDS, zt as FIRST_PAGE, Ui as Fab, Vt as FabDock, te as FabMenu, Yl as FacetGroup, gr as FeatureCard, er as Field, Ss as Figure, es as FileCard, ud as FileList, Pf as FileListField, tl as FileListFormField, Ft as FileListS3Field, Pa as FileListS3FormField, ps as FilePreview, fi as FilePreviewHttpError, Qd as FilePreviewUnsafeUrlError, _r as FilesFormField, El as Filter, uc as FilterActions, Xu as FilterBar, iu as FilterChips, du as FilterContent, Ut as FilterDialog, wu as FilterDrawer, _a as FilterField, Fd as FilterFormField, Mi as FilterGroup, Gi as FilterGroups, ia as FilterInline, On as FilterPopover, Od as FilterPresets, Ef as FilterProvider, Vn as FilterSheet, mo as FilterSheetTrigger, Mf as FormField, id as FormSection, rn as FunnelCard, G as Gallery, im as GaugeCard, Ua as GoalCard, xi as HeatweekCard, lm as HelperText, Rr as Hero, Su as HighlightText, zr as HistogramCard, mm as HoverCard, fm as HoverCardContent, pm as HoverCardTrigger, wd as HydrateLoading, sm as IMAGE_CROP_ASPECTS, ar as IMAGE_EDITOR_FILTERS, w as Icon, Zm as IconButton, gp as IconLinkButton, ah as IconSpritesProvider, Ka as ImageCropper, wi as ImageCropperDialog, Xi as ImageEditor, Li as ImageEditorDialog, ol as ImageField, gu as ImageFormField, Jt as ImageS3Field, ku as ImageS3FormField, Of as InlineEdit, Yc as InlineEditFormField, rt as Input, u as InputGroup, g as InputGroupAddon, O as InputGroupButton, kt as InputGroupField, Oa as InputGroupFormField, Ye as InputGroupInput, t as InputGroupText, F as InputGroupTextarea, Eo as InputOTP, Xo as InputOTPGroup, fr as InputOTPSeparator, si as InputOTPSlot, wf as JsonViewer, Df as Kanban, ef as KanbanProvider, V as Kbd, ca as KbdShortcut, um as Label, na as LanguageSwitcher, nr as LatencyCard, ts as LightboxGallery, fo as LinkButton, Ao as LinkCard, va as ListDetailsBack, Ki as ListDetailsDetails, Wt as ListDetailsLayout, Ni as ListDetailsList, fu as ListDetailsTrigger, pl as ListEmpty, Hc as ListPane, Lu as ListPaneItem, Vr as ListTile, pn as LoadMoreButton, Ne as LoadingIndicator, js as LocalizedTextFields, ys as LocalizedTextFormField, kf as MOONLIGHT_DARK, ad as MOONLIGHT_DAY, mr as Markdown, Or as MediaCard, ee as MediaPlayer, Nn as MediaPlayerHost, Kn as MediaPlayerLightbox, yo as MediaPlayerMini, Cp as MediaTranscript, da as MentionList, Rf as Menubar, qc as MenubarCheckboxItem, md as MenubarContent, ff as MenubarGroup, vl as MenubarItem, Bd as MenubarLabel, ru as MenubarMenu, lc as MenubarPortal, Dd as MenubarRadioGroup, td as MenubarRadioItem, Wl as MenubarSeparator, jl as MenubarShortcut, Pc as MenubarSub, Hu as MenubarSubContent, Zf as MenubarSubTrigger, Tf as MenubarTrigger, li as MermaidDiagram, Ho as MessageCard, jo as MiniGallery, Vs as MiniMonth, Go as NativeSelect, sr as NativeSelectOptGroup, ni as NativeSelectOption, Tu as NavigationRail, At as NetworkUploadField, of as NetworkUploadFormField, Tt as NonceProvider, on as NoticeCard, oc as NotificationRow, Et as Notifications, jd as NowIndicator, Va as NumberField, Po as NumberFormField, om as OfferCard, dr as OpeningHours, Yo as OpeningHoursDialog, To as OpeningHoursFormField, Ms as OptionTile, wr as OtpField, Cr as OtpFormField, Ga as OverlayCard, cl as PHONE_COUNTRIES, De as PROGRESS_THICKNESSES, Pe as PROGRESS_TONES, ya as PaceCard, zo as Pager, el as Pagination, Ea as PaginationBar, Nf as PaginationContent, ld as PaginationEllipsis, sf as PaginationFirst, Ql as PaginationItem, ic as PaginationLast, Sd as PaginationLink, bf as PaginationNext, Ac as PaginationPrevious, yp as PaneLayout, kn as PaneLayoutContent, Hn as PaneLayoutPane, ho as PaneLayoutTrigger, Na as ParamTable, en as PasswordField, tm as PasswordFormField, Dm as PdfReader, Ba as PercentField, vi as PercentFormField, An as PeriodCards, Cu as PhoneField, ra as PhoneFormField, Ci as PlaceCard, Lm as Popover, Bm as PopoverAnchor, Mm as PopoverContent, Fm as PopoverTrigger, _p as PostalAddress, mn as PostalAddressDialog, $a as PostalAddressFormField, ir as PricingCard, xa as ProfileCard, T as Progress, Ta as ProgressField, df as QRCode, Wu as QuestionCard, ju as Quiz, Yi as QuoteCard, Jn as RESERVED_TONES, s as RadioGroup, N as RadioGroupBase, I as RadioGroupField, xo as RadioGroupFormField, o as RadioGroupItem, qi as RankCard, gc as RatingField, Up as RatingFormField, Pi as RatioCard, Ii as ReceiptCard, Un as RecoveryCodes, Kc as RelativeTime, ip as RepeatableGroup, Ws as RepeatableGroupFormField, Mp as ResizableGroup, to as ResizablePanel, gn as ResizableSeparator, En as ResponsiveButton, $i as ResponsiveGrid, zn as ResponsiveLinkButton, hu as ReviewCard, qd as RichTextEditor, La as RichTextEditorFormField, as as RowMenu, ks as RowMenuTrigger, Sc as S3UploadField, Yp as S3UploadFormField, _n as SHAPE_NAMES, se as SHAPE_TONES, Te as SHAPE_VARIANTS, qt as ScoreCard, xm as ScrollArea, gm as ScrollBar, Os as ScrollProgress, Qa as ScrollToLatestButton, kp as ScrollToTop, me as SearchField, Tl as SearchFormField, vc as SectionColumns, rm as SeeAlso, Hi as Select, Bt as SelectContent, Za as SelectField, fn as SelectFieldTrigger, br as SelectFormField, hp as SelectGroup, uo as SelectItem, Rn as SelectLabel, cu as SelectScrollDownButton, ki as SelectScrollUpButton, Tn as SelectSeparator, ta as SelectTrigger, xu as SelectValue, oh as Separator, Kr as ServerTable, Le as Shape, Cm as Sheet, Em as SheetClose, _m as SheetContent, Om as SheetDescription, vm as SheetFooter, ym as SheetHeader, wm as SheetTitle, Sm as SheetTrigger, Mn as ShortcutCard, rr as Sidebar, ba as SidebarContent, Ji as SidebarFooter, Fi as SidebarHeader, sa as SidebarMenuItem, Gp as SidebarMenuLabel, Eh as Skeleton, is as SkeletonAvatar, Gr as SkeletonCard, Ud as SkeletonTable, gs as SkeletonText, uf as SkipLink, Lr as Slider, yi as SliderField, Yu as SliderFormField, Rh as Sortable, yr as SortableList, No as SortableListFormField, Hh as SortableProvider, pu as SparkbarCard, Gt as Sparkline, Jm as Spinner, K as SplitButton, Gn as SplitCard, vo as SpotlightCard, Sp as StackCard, Mt as StatCard, ja as StatCardGroup, yn as StatusCard, Ge as StatusIndicator, ri as StepDots, Dl as Stepper, Ks as StepperIndicator, Zu as Steps, Bl as StepsItem, no as SummaryData, i as Switch, r as SwitchField, Pd as SwitchFormField, Xt as Switcher, ei as TEXT_PREVIEW_MAX_BYTES, Gf as TIMEZONES, hc as TOOLBAR_TONES, gh as Table, xh as TableBody, Ch as TableCaption, _h as TableCell, bh as TableEmpty, wh as TableFooter, vh as TableHead, yh as TableHeader, Sh as TableRow, ce as Tabs, ue as TabsContent, Ve as TabsList, Ee as TabsTrigger, io as TagCard, Kp as Terminal, hh as TextField, Zt as TextFormField, Se as Textarea, x as TextareaField, Qp as TextareaFormField, uh as ThemeToggle, Id as ThreadLayout, Eu as ThresholdCard, Fp as TicketCard, hd as TimeField, ll as TimeFormField, ai as TimePicker, qs as Timeline, xc as TimelineCard, sp as TimelineItem, Iu as TimezoneField, kc as TimezoneFormField, Ff as Toast, lf as Toaster, If as Toc, le as Toggle, lh as ToggleGroup, sh as ToggleGroupItem, ch as ToggleGroupSeparator, Nm as Toolbar, Vm as ToolbarButton, Hm as ToolbarGroup, Am as ToolbarItemSlot, Rm as ToolbarMore, R as ToolbarPair, Im as ToolbarSeparator, zm as ToolbarToggle, bm as ToolbarToggleGroup, hm as ToolbarToggleItem, et as Tooltip, Ze as TooltipContent, $e as TooltipPrimitive, Qe as TooltipProvider, Xe as TooltipTrigger, Qr as TopAppBar, Zp as TransferList, Ia as TransferListFormField, lo as Tree, bu as TreeItem, mi as TreeSelectField, jr as TreeSelectFormField, oa as TrendCard, Ko as TypingIndicator, fh as Typography, od as URL_PARAM_SEPARATORS, ka as UploadField, cd as UploadFormField, rc as UrlField, Zl as UrlFormField, rf as VALIDATION_MESSAGES, Jc as VALIDATION_PATTERNS, yl as VALIDATION_PRESETS, Ol as ZonedTime, Nl as answerParts, Bf as answeredCount, l as applyMention, Ri as areFilterValuesEqual, Mh as arrayMove, qr as badgeVariants, Ym as buttonVariants, Ru as capturePhotoFromVideo, au as chatGroupPosition, po as cityLine, nm as clampNumber, Ap as clampRating, Zi as cleanFilterValues, Au as clearFromStorage, oo as clearPersistedFilterValues, Xp as clearPresets, Ph as closestCenter, Ie as collectComposerAttachments, ph as composeRefs, zp as contactTypeLabel, Di as convertAttributesToRecord, eh as copyToClipboard, Ca as countActiveFilters, Jf as countdownTone, Lc as countryOptions, ac as createCameraStore, Fs as createCodeErrorMap, su as createSorting, Vd as createValidationRule, sn as cropImageToFile, Op as dataTableFeatures, Uf as dayGroupOf, Kd as dayOfWeekLabel, zd as daySeparatorVariants, Al as daysAgo, Rl as debounce, Ma as defaultCodeOf, Oi as defineFilterModel, Mc as docActions, Bu as docSelectors, Yf as docSlice, bp as downloadText, Ht as exampleNational, Zr as expandEmojiShortcodes, Ts as fileKind, gl as filterDocNav, h as filterMentions, Rd as findActiveDocHref, Du as findActiveMenuItem, Ad as findCountry, $u as findDocChildren, Hl as findDocPager, kl as findDocSiblings, wn as findTreeNode, Vi as firstPage, Gu as flagEmoji, Js as flattenDocNav, ea as flattenVisibleTree, Bi as formatAttributeDisplayedValue, fa as formatAttributesValues, Wc as formatClock, Ys as formatDayLabel, Ls as formatFileSize, or as formatFilterValue, uu as formatInternational, ji as formatNational, ed as formatRelativeTime, il as formatStatDelta, $d as generatePresetId, Cd as getCameraDevices, cm as getDefaultValuesFromSchema, cn as getFilterField, Wo as getFilterFieldLabel, Ar as getGroupFields, Uo as getRadianAngle, Mo as getUngroupedFields, nd as getValidationError, ns as getVisibleFields, zc as groupByDay, Lf as groupSecret, xs as handleDocKeyDown, Ur as hasActiveFilters, Gl as hasValidationErrors, Ti as haveFiltersChanged, Wh as headingText, nf as highlightCode, Bh as horizontalListSortingStrategy, Q as iconButtonVariants, Q as variants, ct as inputDefaultClassNames, Vh as insertIds, bl as isAnswerCorrect, zs as isAnswered, xf as isCameraSupported, cp as isDocPathActive, ls as isDocSearchHotkey, $s as isEmail, Nt as isEmptyRequired, Km as isExternalHref, vr as isFieldVisible, qa as isFilterValueEmpty, pa as isFiltered, Kt as isMenuItemActive, lp as isNewDay, Xn as isNewQuery, Wi as isPossiblePhoneNumber, Bn as isPostalAddressEmpty, Ns as isTypingTarget, xd as isUrl, ga as isValidPhoneNumber, yc as joinTerminalLines, Kf as listPaneItemClasses, Yt as loadFromStorage, bo as loadFromUrl, xn as loadPersistedFilterValues, Cc as loadPresets, Jp as localIsoDay, ss as localizedTextErrors, pi as mapFilterFieldToFieldConfig, D as mentionQueryAt, Fl as minutesOfDay, pc as minutesToParts, qp as navLabel, Nr as nextPage, pp as normalizeHex, yf as normalizeUrl, Sl as nowPosition, Jr as openingHoursSchema, Dt as paginationItems, gi as pagingNames, Ra as paramsFromQuery, $f as parseAnswerNumber, Tc as parseCurrencyInput, $p as parseFilterQuery, qn as parseFromUrlParams, Nc as parseJsonSource, tn as parseNumberInput, $n as parsePhoneInput, mu as partitionMenu, Dp as partsToMinutes, wp as persistFilterValues, Nh as pointerWithin, Dn as postalAddressCountryName, Vu as prettyJson, Qt as previousPage, Fo as queryFromParams, xr as queryKey, Co as readCursor, go as recoveryCodesText, Dh as rectIntersection, Z as requestCameraPermissions, Qm as resolveCodeLanguage, op as resolveStepState, kr as rotateSize, _s as rowMenuColumn, Yd as sanitizeHref, Lp as savePresets, _u as saveToStorage, Ic as scoreBand, Lo as scorePassword, sl as scoreQuiz, qo as serializeFilterQuery, Pn as serializeToUrlParams, lr as serverPagination, Ou as shortcutGlyph, qm as slugify, eu as sonnerToast, ti as sortPresets, _e as splitAvatarOverflow, ie as statusToneDotClass, Ro as stepNumber, Np as stripAnsi, ii as tableFilters, Vc as timezoneLabel, fl as timezoneOffset, Ul as toDate, Ir as toE164, Ip as toPdfjsParams, ao as toPdfjsSource, dd as toast, nl as toasts, pe as toggleVariants, cr as typingIndicatorVariants, dh as typographyVariants, ua as updateUrlWithFilters, rh as useBackdropSprite, qf as useCamera, Uc as useCameraContext, ye as useChatComposerAttachments, vu as useChatLayout, $c as useCodeResolver, ul as useColumnHelpers, a as useComboboxAnchor, Md as useDeleteRowsHandler, Uh as useDndActiveId, jh as useDndItem, Xr as useDoc, ro as useDocContext, gd as useEventCalendar, wc as useEventCalendarContext, Uu as useFilter, Fc as useFilterContext, Qf as useFilterSelector, zl as useFilterUrlQuery, ih as useIconEdition, rd as useKanban, Kl as useKanbanContext, tr as useListDetails, la as useMediaPlayer, d as useMediaPlayerHost, Ku as useNow, vn as useOptionalDocContext, Xd as usePageTitleFocus, aa as usePaneLayout, bn as usePdfSource, nh as useServedStyles, th as useSpriteBase, Pm as useToolbarEntry, km as useToolbarMoreAnchor, Hp as useToolbarOverflow, Um as useToolbarSpilled, j as useTrackChapters, de as useTrackThumbnails, Ln as useTree, Ml as validateAllFilters, Zs as validateField, dp as validateFilterValue, Lh as verticalListSortingStrategy, Wd as withoutFilters, kd as wrongIds };
|
|
5
|
+
import { $ as Tt, $a as Et, $c as Dt, $d as Ot, $i as kt, $l as At, $n as jt, $o as Mt, $r as Nt, $s as Pt, $t as Ft, $u as It, A as Lt, Aa as Rt, Ac as zt, Ad as Bt, Af as Vt, Ai as Ht, Al as Ut, An as Wt, Ao as Gt, Ar as Kt, As as qt, At as Jt, Au as Yt, B as Xt, Ba as Zt, Bc as Qt, Bd as $t, Bi as en, Bl as tn, Bn as nn, Bo as rn, Br as an, Bs as on, Bt as sn, Bu as cn, C as ln, Ca as un, Cc as dn, Cd as fn, Cf as pn, Ci as mn, Cl as hn, Cn as gn, Co as _n, Cr as vn, Cs as yn, Ct as bn, Cu as xn, D as Sn, Da as Cn, Dc as wn, Dd as Tn, Df as En, Di as Dn, Dl as On, Dn as kn, Do as An, Dr as jn, Ds as Mn, Dt as Nn, Du as Pn, E as Fn, Ea as In, Ec as Ln, Ed as Rn, Ef as zn, Ei as Bn, El as Vn, En as Hn, Eo as Un, Er as Wn, Es as Gn, Et as Kn, Eu as qn, F as Jn, Fa as Yn, Fc as Xn, Fd as Zn, Ff as Qn, Fi as $n, Fl as er, Fn as tr, Fo as nr, Fr as rr, Fs as ir, Ft as ar, Fu as or, G as sr, Ga as cr, Gc as lr, Gd as ur, Gi as dr, Gl as fr, Gn as pr, Go as mr, Gr as hr, Gs as gr, Gt as _r, Gu as vr, H as yr, Ha as br, Hc as xr, Hd as Sr, Hi as Cr, Hl as wr, Hn as Tr, Ho as Er, Hr as Dr, Hs as Or, Ht as kr, Hu as Ar, I as jr, Ia as Mr, Ic as Nr, Id as Pr, If as Fr, Ii as Ir, Il as Lr, In as Rr, Io as zr, Ir as Br, Is as Vr, It as Hr, Iu as Ur, J as Wr, Ja as Gr, Jc as Kr, Jd as qr, Ji as Jr, Jl as Yr, Jn as Xr, Jo as Zr, Jr as Qr, Js as $r, Jt as ei, Ju as ti, K as ni, Ka as ri, Kc as ii, Kd as ai, Ki as oi, Kl as si, Kn as ci, Ko as li, Kr as ui, Ks as di, Kt as fi, Ku as pi, L as mi, La as hi, Lc as gi, Ld as _i, Lf as vi, Li as yi, Ll as bi, Ln as xi, Lo as Si, Lr as Ci, Ls as wi, Lt as Ti, Lu as Ei, M as Di, Ma as Oi, Mc as ki, Md as Ai, Mf as ji, Mi, Ml as Ni, Mn as Pi, Mo as Fi, Mr as Ii, Ms as Li, Mt as Ri, Mu as zi, N as Bi, Na as Vi, Nc as Hi, Nd as Ui, Nf as Wi, Ni as Gi, Nl as Ki, Nn as qi, No as Ji, Nr as Yi, Ns as Xi, Nt as Zi, Nu as Qi, O as $i, Oa as ea, Oc as ta, Od as na, Of as ra, Oi as ia, Ol as aa, On as oa, Oo as sa, Or as ca, Os as la, Ot as ua, Ou as da, P as fa, Pa as pa, Pc as ma, Pd as ha, Pf as ga, Pi as _a, Pl as va, Pn as ya, Po as ba, Pr as xa, Ps as Sa, Pt as Ca, Pu as wa, Q as Ta, Qa as Ea, Qc as Da, Qd as Oa, Qi as ka, Ql as Aa, Qn as ja, Qo as Ma, Qr as Na, Qs as Pa, Qt as Fa, Qu as Ia, R as La, Ra, Rc as za, Rd as Ba, Ri as Va, Rl as Ha, Rn as Ua, Ro as Wa, Rr as Ga, Rs as Ka, Rt as qa, Ru as Ja, S as Ya, Sa as Xa, Sc as Za, Sd as Qa, Sf as $a, Si as eo, Sl as to, Sn as no, So as ro, Sr as io, Ss as ao, St as oo, Su as so, T as co, Ta as lo, Tc as uo, Td as fo, Tf as po, Ti as mo, Tl as ho, Tn as go, To as _o, Tr as vo, Ts as yo, Tt as bo, Tu as xo, U as So, Ua as Co, Uc as wo, Ud as To, Ui as Eo, Ul as Do, Un as Oo, Uo as ko, Ur as Ao, Us as jo, Ut as Mo, Uu as No, V as Po, Va as Fo, Vc as Io, Vd as Lo, Vi as Ro, Vl as zo, Vn as Bo, Vo, Vr as Ho, Vs as Uo, Vt as Wo, Vu as Go, W as Ko, Wa as qo, Wc as Jo, Wd as Yo, Wi as Xo, Wl as Zo, Wn as Qo, Wo as $o, Wr as es, Ws as ts, Wt as ns, Wu as rs, X as is, Xa as as, Xc as os, Xd as ss, Xi as cs, Xl as ls, Xn as us, Xo as ds, Xr as fs, Xs as ps, Xt as ms, Xu as hs, Y as gs, Ya as _s, Yc as vs, Yd as ys, Yi as bs, Yl as xs, Yn as Ss, Yo as Cs, Yr as ws, Ys as Ts, Yt as Es, Yu as Ds, Z as Os, Za as ks, Zc as As, Zd as js, Zi as Ms, Zl as Ns, Zn as Ps, Zo as Fs, Zr as Is, Zs as Ls, Zt as Rs, Zu as zs, _ as Bs, _a as Vs, _c as Hs, _d as Us, _f as Ws, _i as Gs, _l as Ks, _n as qs, _o as Js, _r as Ys, _s as Xs, _t as Zs, _u as Qs, a as $s, aa as ec, ac as tc, ad as nc, af as rc, ai as ic, al as ac, an as oc, ao as sc, ar as cc, as as lc, at as uc, au as dc, b as fc, ba as pc, bc as mc, bd as hc, bf as gc, bi as _c, bl as vc, bn as yc, bo as bc, br as xc, bs as Sc, bt as Cc, bu as wc, c as Tc, ca as Ec, cc as Dc, cd as Oc, cf as kc, ci as Ac, cl as Z, cn as jc, co as Mc, cr as Nc, cs as Pc, ct as Fc, cu as Ic, d as Lc, da as Rc, dc as zc, dd as Bc, df as Vc, di as Hc, dl as Uc, dn as Wc, do as Gc, dr as Kc, ds as qc, dt as Jc, du as Yc, ea as Xc, ec as Zc, ed as Qc, ef as $c, ei as el, el as tl, en as nl, eo as rl, er as il, es as al, et as ol, eu as sl, f as cl, fa as ll, fc as ul, fd as dl, ff as fl, fi as pl, fl as ml, fn as hl, fo as gl, fr as _l, fs as vl, ft as yl, fu as bl, g as xl, ga as Sl, gc as Cl, gd as wl, gf as Tl, gi as El, gl as Dl, gn as Ol, go as kl, gr as Al, gs as jl, gt as Ml, gu as Nl, h as Pl, ha as Fl, hc as Il, hd as Ll, hf as Rl, hi as zl, hl as Bl, hn as Vl, ho as Hl, hr as Ul, hs as Wl, ht as Gl, hu as Kl, i as ql, ia as Jl, ic as Yl, id as Xl, if as Zl, ii as Ql, il as $l, in as eu, io as tu, ir as nu, is as ru, it as iu, iu as au, j as ou, ja as su, jc as cu, jd as lu, jf as uu, ji as du, jl as fu, jn as pu, jo as mu, jr as hu, js as gu, jt as _u, ju as vu, k as yu, ka as bu, kc as xu, kd as Su, kf as Cu, ki as wu, kl as Tu, kn as Eu, ko as Du, kr as Ou, ks as ku, kt as Au, ku as ju, l as Mu, la as Nu, lc as Pu, ld as Fu, lf as Iu, li as Lu, ll as Ru, ln as zu, lo as Bu, lr as Vu, ls as Hu, lt as Uu, lu as Wu, m as Gu, ma as Ku, mc as qu, md as Ju, mf as Yu, mi as Xu, ml as Zu, mn as Qu, mo as $u, mr as ed, ms as td, mt as nd, mu as rd, n as id, na as ad, nc as od, nd as sd, nf as cd, ni as ld, nl as ud, nn as dd, no as fd, nr as pd, ns as md, nt as hd, nu as gd, o as _d, oa as vd, oc as yd, od as bd, of as xd, oi as Sd, ol as Cd, on as wd, oo as Td, or as Ed, os as Dd, ot as Od, ou as kd, p as Ad, pa as jd, pc as Md, pd as Nd, pf as Pd, pi as Fd, pl as Id, pn as Ld, po as Rd, pr as zd, ps as Bd, pt as Vd, pu as Hd, q as Ud, qa as Wd, qc as Gd, qd as Kd, qi as qd, ql as Jd, qn as Yd, qo as Xd, qr as Zd, qs as Qd, qt as $d, qu as ef, r as tf, ra as nf, rc as rf, rd as af, rf as of, ri as sf, rl as cf, rn as lf, ro as uf, rr as df, rs as ff, rt as pf, ru as mf, s as hf, sa as gf, sc as _f, sd as vf, sf as yf, si as bf, sl as xf, sn as Sf, so as Cf, sr as wf, ss as Tf, st as Ef, su as Df, t as Of, ta as kf, tc as Af, td as jf, tf as Mf, ti as Nf, tl as Pf, tn as Ff, to as If, tr as Lf, ts as Rf, tt as zf, tu as Bf, u as Vf, ua as Hf, uc as Uf, ud as Wf, uf as Gf, ui as Kf, ul as qf, un as Jf, uo as Yf, ur as Xf, us as Zf, ut as Qf, uu as $f, v as ep, va as tp, vc as np, vd as rp, vf as ip, vi as ap, vl as op, vn as sp, vo as cp, vr as lp, vs as up, vt as dp, vu as fp, w as pp, wa as mp, wc as hp, wd as gp, wf as _p, wi as vp, wl as yp, wn as bp, wo as xp, wr as Sp, ws as Cp, wt as wp, wu as Tp, x as Ep, xa as Dp, xc as Op, xd as kp, xf as Ap, xi as jp, xl as Mp, xn as Np, xo as Pp, xr as Fp, xs as Ip, xt as Lp, xu as Rp, y as zp, ya as Bp, yc as Vp, yd as Hp, yf as Up, yi as Wp, yl as Gp, yn as Kp, yo as qp, yr as Jp, ys as Yp, yt as Xp, yu as Zp, z as Qp, za as $p, zc as em, zd as tm, zi as nm, zl as rm, zn as im, zo as am, zr as om, zs as sm, zt as cm, zu as lm } from "./components-1vjs-YVY.js";
|
|
6
|
+
import { a as um, i as dm } from "./field-blur-context-Cft9s7Hg.js";
|
|
7
|
+
import { i as fm, n as pm, r as mm, t as hm } from "./hover-card-C0fw2kLK.js";
|
|
8
|
+
import { _ as gm, a as _m, c as vm, d as ym, f as bm, g as xm, i as Sm, l as Cm, o as wm, p as Tm, r as Em, s as Dm, t as Om, u as km } from "./public-Cvwb2tds.js";
|
|
9
|
+
import { _ as Am, a as jm, b as Mm, c as Nm, d as Pm, g as Fm, l as Im, n as Lm, o as Rm, p as zm, r as Bm, s as Vm, t as Hm, u as Um, v as Wm, x as Gm, y as Km } from "./toolbar-items-GIaifZbx.js";
|
|
10
|
+
import { a as qm, f as Jm } from "./async-slice-Cll-4Mvg.js";
|
|
11
|
+
import { t as Ym } from "./spinner-DRGPXRNW.js";
|
|
12
|
+
import { i as Xm, t as Zm } from "./button-B47lM8a5.js";
|
|
13
|
+
import { n as Q, t as Qm } from "./icon-button-ifTpXt0A.js";
|
|
14
|
+
import { a as $m, r as eh, s as th } from "./code-language-items-COd99vab.js";
|
|
15
|
+
import { a as nh, i as rh, n as ih, r as ah, t as oh } from "./icon-sprites-CaYXzOL4.js";
|
|
16
|
+
import { i as sh, n as ch, r as lh, t as uh } from "./toggle-group-BMJNcFAC.js";
|
|
17
|
+
import { t as dh } from "./theme-toggle-CPzxOW_X.js";
|
|
18
|
+
import { a as fh, i as ph } from "./escape-owner-C4W_sOAU.js";
|
|
19
|
+
import { t as mh } from "./compose-refs-DZ0iIVF-.js";
|
|
20
|
+
import { t as hh } from "./chip-Bf80b1XT.js";
|
|
21
|
+
import { n as gh } from "./icon-badge-DEk244kn.js";
|
|
22
|
+
import { a as _h, c as vh, d as yh, f as bh, l as xh, o as Sh, p as Ch, s as wh, u as Th } from "./line-path-C5pZGC49.js";
|
|
23
|
+
import { t as Eh } from "./empty-state-Dv9AtrMw.js";
|
|
24
|
+
import { t as Dh } from "./skeleton-DSdtr2qc.js";
|
|
25
|
+
import { _ as Oh, a as kh, b as Ah, c as jh, d as Mh, f as Nh, g as Ph, h as Fh, i as Ih, l as Lh, m as Rh, n as zh, o as Bh, p as Vh, r as Hh, s as $, t as Uh, u as Wh } from "./sortable-provider-CIlK0Vuk.js";
|
|
26
|
+
import { t as Gh } from "./react-node-text-Crkpfpco.js";
|
|
27
|
+
export { be as Accordion, re as AccordionCard, _ as AccordionContent, y as AccordionItem, ke as AccordionPrimitive, S as AccordionTrigger, fs as AccountMenu, je as ActionCard, fm as Activity, ui as ActivityContent, vo as ActivityLayout, Ts as AlbumCard, Mf as Alert, ve as AlertDialog, ge as AlertDialogAction, X as AlertDialogCancel, Ue as AlertDialogContent, Je as AlertDialogDescription, ae as AlertDialogFooter, Ke as AlertDialogHeader, A as AlertDialogOverlay, n as AlertDialogPortal, ze as AlertDialogPrimitive, We as AlertDialogTitle, M as AlertDialogTrigger, ol as AnchorHeading, Yl as ApiEndpoint, Ls as ApiOperation, Br as AppBreadcrumb, Ci as AppBreadcrumbItem, Ga as AppBreadcrumbSeparator, Wn as AppHeader, jn as AppSidebar, Yn as AttributeDialog, Mr as AttributeForm, hi as AttributeValueFormField, su as AttributeValuesForm, bu as AttributeValuesFormFieldSet, In as AttributesField, lo as AttributesFormField, Cn as AttributesList, hl as AudioPlayer, Sp as AuthCard, H as Autocomplete, q as AutocompleteChips, Co as AutocompleteFormField, he as Avatar, Y as AvatarBase, He as AvatarFallback, Oe as AvatarGroup, qe as AvatarImage, Cf as Background, qr as Badge, $o as BandCard, Hl as Banner, ps as Barecode, ws as BottomAppBar, om as Breadcrumb, an as BreadcrumbEllipsis, Ho as BreadcrumbItem, Dr as BreadcrumbLink, Ao as BreadcrumbList, es as BreadcrumbPage, hr as BreadcrumbSeparator, ko as BreakdownCard, Zm as Button, vi as ButtonGroup, eh as CODE_LANGUAGES, Ah as CSS, Ot as Calendar, $c as CalendarDayButton, eu as Camera, tc as Card, yd as CardAction, _f as CardContent, Dc as CardDescription, Pu as CardFooter, Uf as CardHeader, zc as CardTitle, W as Carousel, xs as CarouselAutoplayToggle, E as CarouselContent, J as CarouselIndicators, B as CarouselItem, ne as CarouselNext, fe as CarouselPrevious, Zf as ChangeHistory, Bi as ChatComposer, Be as ChatComposerAttachmentChip, oe as ChatComposerAttachmentList, we as ChatComposerAttachments, Di as ChatConversationItem, Lt as ChatInbox, $i as ChatLayoutContext, Sn as ChatMarkdown, co as ChatMessage, ln as ChatMessageList, Ya as ChatMessageSeparator, Fn as ChatReactionGroup, Ae as ChatReplyQuote, Ep as ChatThread, fc as ChatThreadHeader, pp as ChatTypingIndicator, zp as ChatWidget, ls as CheckCardField, Ta as CheckCardFormField, f as Checkbox, Os as CheckboxFormField, m as CheckboxGroup, is as CheckboxGroupFormField, $r as ChecklistCard, hh as Chip, k as ChipGroupField, gs as ChipGroupFormField, Ns as ChoiceCardGroup, Wr as ChoiceCardGroupFormField, gd as CircularProgress, Zc as CodeBlock, Pt as CodeGroup, bd as Collapsible, vf as CollapsibleContent, Oc as CollapsibleTrigger, Xa as ColorField, Dp as ColorFormField, Ca as ColorSwatches, z as Combobox, Fe as ComboboxChip, p as ComboboxChips, U as ComboboxChipsInput, Ce as ComboboxCollection, P as ComboboxContent, c as ComboboxEmpty, Fl as ComboboxField, Ud as ComboboxFormField, e as ComboboxGroup, ss as ComboboxInput, xe as ComboboxItem, v as ComboboxLabel, L as ComboboxList, Oa as ComboboxPrimitive, b as ComboboxSeparator, js as ComboboxTrigger, C as ComboboxValue, op as Command, dp as CommandDialog, ho as CommandEmpty, Gp as CommandGroup, vc as CommandInput, yp as CommandItem, Mp as CommandList, to as CommandSeparator, hn as CommandShortcut, Er as CompareCard, lf as CompareSlider, $u as ConfirmDialog, gl as ConfirmationDialog, tp as ContactDialog, pc as ContactType, Vs as Contacts, Sl as ContactsFormField, rc as ContextMenu, Tl as ContextMenuCheckboxItem, xd as ContextMenuContent, yf as ContextMenuGroup, Ws as ContextMenuItem, kc as ContextMenuLabel, Iu as ContextMenuPortal, ip as ContextMenuRadioGroup, Up as ContextMenuRadioItem, Gf as ContextMenuSeparator, Vc as ContextMenuShortcut, Pd as ContextMenuSub, Yu as ContextMenuSubContent, Rl as ContextMenuSubTrigger, fl as ContextMenuTrigger, Fr as CopyButton, Qn as CopyValue, Dd as CountBadge, Bu as CountdownTimer, Hf as CountryField, Nu as CountryFormField, Qd as CrewCard, gf as CurrencyField, vd as CurrencyFormField, Mc as CustomAlertDialog, Rd as CustomDialog, Za as DATE_RANGE_PRESET_IDS, Wf as DAY_GROUP_ORDER, oi as DAY_OF_WEEK_FALLBACKS, Hr as DEFAULT_ASPECT_PRESETS, un as DEFAULT_COLOR, hs as DEFAULT_FILTER_STATE, zs as DEFAULT_MAX_VISIBLE_CHIPS, Ia as DEFAULT_PERSISTENCE_CONFIG, It as DEFAULT_PRESET_CONFIG, Qc as DEFAULT_VALIDATION_RULES, hc as DataGrid, kp as DataGridColumnsMenu, cd as DataGridMenuItem, of as DataGridMenuLabel, Zl as DataGridMenuSeparator, wl as DataTable, Ll as DataTableColumnHeader, Hp as DataTablePagination, rp as DataTableServerFooter, Us as DataTableViewOptions, Zn as DateField, ai as DateFieldContent, hp as DateFormField, au as DateRangeField, dn as DateRangeFormField, Fu as DayGroupedList, vl as DaySeparator, Ed as DefaultDocLink, Vo as DeltaListCard, lc as Description, ru as DescriptionList, dt as Dialog, ot as DialogClose, lt as DialogContent, ut as DialogDescription, nt as DialogFooter, at as DialogHeader, it as DialogOverlay, tt as DialogPortal, Zs as DialogScrollContent, ft as DialogTitle, st as DialogTrigger, Lh as DndOverlay, jh as DndProvider, Yd as Doc, xc as DocArticle, ci as DocChildCards, Qo as DocCopyMarkdown, pr as DocCopyPage, Oo as DocEmpty, Tr as DocHeader, wf as DocLink, cc as DocNav, xi as DocPage, nn as DocPager, jt as DocProgress, Fp as DocProvider, Kc as DocSearch, Ua as DocSeeAlso, nu as DocSidebar, pd as DocSkipLink, il as DocToc, ja as DocTopbar, $ as DragHandle, $ as SortableHandle, Bh as Draggable, kh as DraggableDroppable, Pr as Drawer, _i as DrawerClose, Ba as DrawerContent, Sr as DrawerDescription, To as DrawerFooter, Yo as DrawerHeader, tm as DrawerOverlay, $t as DrawerPortal, ur as DrawerTitle, Lo as DrawerTrigger, Ct as DropdownMenu, vt as DropdownMenuCheckboxItem, yt as DropdownMenuContent, xt as DropdownMenuGroup, wt as DropdownMenuItem, _t as DropdownMenuLabel, pt as DropdownMenuPortal, ht as DropdownMenuRadioGroup, gt as DropdownMenuRadioItem, bt as DropdownMenuSeparator, St as DropdownMenuShortcut, Km as DropdownMenuSub, Mm as DropdownMenuSubContent, Gm as DropdownMenuSubTrigger, mt as DropdownMenuTrigger, Ih as Droppable, Vp as DurationField, np as DurationFormField, Jl as EmailField, nf as EmailFormField, Re as EmojiList, Me as EmojiPicker, Eh as EmptyState, md as EnrolmentSecret, Fs as EntityHeader, Em as ErrorState, $s as EventCalendar, hf as EventCalendarProvider, di as EventCard, ds as EventChip, Rt as ExtendedLabel, ji as FAB_TONES, Wi as FAB_VARIANTS, jf as FILTER_CONTAINER_BREAKPOINTS, sd as FILTER_VALUE_WORDS, zt as FIRST_PAGE, ga as Fab, uu as FabDock, te as FabMenu, nc as FacetGroup, gr as FeatureCard, Lr as Field, Cs as Figure, ts as FileCard, dd as FileList, Ff as FileListField, nl as FileListFormField, Ft as FileListS3Field, Fa as FileListS3FormField, ms as FilePreview, fi as FilePreviewHttpError, $d as FilePreviewUnsafeUrlError, _r as FilesFormField, Ks as Filter, kd as FilterActions, Bl as FilterBar, dc as FilterChips, Ni as FilterContent, fu as FilterDialog, Ut as FilterDrawer, er as FilterField, Zu as FilterFormField, Ki as FilterGroup, va as FilterGroups, Tu as FilterInline, aa as FilterPopover, Df as FilterPresets, Ic as FilterProvider, On as FilterSheet, Vn as FilterSheetTrigger, Nf as FormField, ad as FormSection, rn as FunnelCard, G as Gallery, am as GaugeCard, Wa as GoalCard, Si as HeatweekCard, um as HelperText, Rr as Hero, Vt as HighlightText, zr as HistogramCard, hm as HoverCard, pm as HoverCardContent, mm as HoverCardTrigger, Td as HydrateLoading, cm as IMAGE_CROP_ASPECTS, ar as IMAGE_EDITOR_FILTERS, w as Icon, Qm as IconButton, po as IconLinkButton, oh as IconSpritesProvider, qa as ImageCropper, Ti as ImageCropperDialog, Zi as ImageEditor, Ri as ImageEditorDialog, Bf as ImageField, _u as ImageFormField, Jt as ImageS3Field, Au as ImageS3FormField, kf as InlineEdit, Xc as InlineEditFormField, rt as Input, u as InputGroup, g as InputGroupAddon, O as InputGroupButton, kt as InputGroupField, ka as InputGroupFormField, Ye as InputGroupInput, t as InputGroupText, F as InputGroupTextarea, Zo as InputOTP, fr as InputOTPGroup, si as InputOTPSeparator, Jd as InputOTPSlot, Tf as JsonViewer, Of as Kanban, tf as KanbanProvider, V as Kbd, la as KbdShortcut, dm as Label, Cu as LanguageSwitcher, nr as LatencyCard, ns as LightboxGallery, zn as LinkButton, jo as LinkCard, ya as ListDetailsBack, qi as ListDetailsDetails, Wt as ListDetailsLayout, Pi as ListDetailsList, pu as ListDetailsTrigger, Id as ListEmpty, ml as ListPane, qf as ListPaneItem, Vr as ListTile, _p as LoadMoreButton, Ne as LoadingIndicator, Ms as LocalizedTextFields, bs as LocalizedTextFormField, Af as MOONLIGHT_DARK, od as MOONLIGHT_DAY, mr as Markdown, Or as MediaCard, ee as MediaPlayer, Nn as MediaPlayerHost, Kn as MediaPlayerLightbox, bo as MediaPlayerMini, wp as MediaTranscript, fa as MentionList, zf as Menubar, Jc as MenubarCheckboxItem, hd as MenubarContent, pf as MenubarGroup, yl as MenubarItem, Vd as MenubarLabel, iu as MenubarMenu, uc as MenubarPortal, Od as MenubarRadioGroup, nd as MenubarRadioItem, Gl as MenubarSeparator, Ml as MenubarShortcut, Fc as MenubarSub, Uu as MenubarSubContent, Qf as MenubarSubTrigger, Ef as MenubarTrigger, li as MermaidDiagram, Uo as MessageCard, Mo as MiniGallery, Hs as MiniMonth, Ko as NativeSelect, sr as NativeSelectOptGroup, ni as NativeSelectOption, Eu as NavigationRail, sl as NetworkUploadField, sf as NetworkUploadFormField, Tt as NonceProvider, on as NoticeCard, sc as NotificationRow, Et as Notifications, Md as NowIndicator, rm as NumberField, Fo as NumberFormField, sm as OfferCard, dr as OpeningHours, Xo as OpeningHoursDialog, Eo as OpeningHoursFormField, Aa as OptionTile, Do as OtpField, Cr as OtpFormField, Ka as OverlayCard, ll as PHONE_COUNTRIES, De as PROGRESS_THICKNESSES, Pe as PROGRESS_TONES, ba as PaceCard, Ru as PageFooter, Bo as Pager, tl as Pagination, Da as PaginationBar, Pf as PaginationContent, ud as PaginationEllipsis, cf as PaginationFirst, $l as PaginationItem, ac as PaginationLast, Cd as PaginationLink, xf as PaginationNext, Z as PaginationPrevious, bp as PaneLayout, kn as PaneLayoutContent, Hn as PaneLayoutPane, go as PaneLayoutTrigger, Pa as ParamTable, en as PasswordField, nm as PasswordFormField, Om as PdfReader, Va as PercentField, yi as PercentFormField, An as PeriodCards, wu as PhoneField, ia as PhoneFormField, wi as PlaceCard, Rm as Popover, Vm as PopoverAnchor, Nm as PopoverContent, Im as PopoverTrigger, vp as PostalAddress, mn as PostalAddressDialog, eo as PostalAddressFormField, ir as PricingCard, Sa as ProfileCard, T as Progress, Ea as ProgressField, ff as QRCode, Gu as QuestionCard, Mu as Quiz, Xi as QuoteCard, Jn as RESERVED_TONES, s as RadioGroup, N as RadioGroupBase, I as RadioGroupField, So as RadioGroupFormField, o as RadioGroupItem, Ji as RankCard, _c as RatingField, Wp as RatingFormField, Fi as RatioCard, Li as ReceiptCard, Un as RecoveryCodes, qc as RelativeTime, ap as RepeatableGroup, Gs as RepeatableGroupFormField, Np as ResizableGroup, no as ResizablePanel, gn as ResizableSeparator, ra as ResponsiveButton, ea as ResponsiveGrid, En as ResponsiveLinkButton, gu as ReviewCard, Yr as RichTextEditor, Ra as RichTextEditorFormField, os as RowMenu, As as RowMenuTrigger, Cc as S3UploadField, Xp as S3UploadFormField, _n as SHAPE_NAMES, se as SHAPE_TONES, Te as SHAPE_VARIANTS, qt as ScoreCard, Sm as ScrollArea, _m as ScrollBar, ks as ScrollProgress, pn as ScrollToLatestButton, $a as ScrollToTop, me as SearchField, El as SearchFormField, yc as SectionColumns, im as SeeAlso, ha as Select, lu as SelectContent, fn as SelectField, gp as SelectFieldTrigger, br as SelectFormField, fo as SelectGroup, Rn as SelectItem, Tn as SelectLabel, Ai as SelectScrollDownButton, Ui as SelectScrollUpButton, na as SelectSeparator, Su as SelectTrigger, Bt as SelectValue, sh as Separator, Kr as ServerTable, Le as Shape, wm as Sheet, Dm as SheetClose, vm as SheetContent, km as SheetDescription, ym as SheetFooter, bm as SheetHeader, Tm as SheetTitle, Cm as SheetTrigger, Mn as ShortcutCard, rr as Sidebar, xa as SidebarContent, Yi as SidebarFooter, Ii as SidebarHeader, ca as SidebarMenuItem, Kp as SidebarMenuLabel, Dh as Skeleton, as as SkeletonAvatar, Gr as SkeletonCard, Wd as SkeletonTable, _s as SkeletonText, df as SkipLink, bi as Slider, Ha as SliderField, Xu as SliderFormField, zh as Sortable, yr as SortableList, Po as SortableListFormField, Uh as SortableProvider, mu as SparkbarCard, Gt as Sparkline, Ym as Spinner, K as SplitButton, Gn as SplitCard, yo as SpotlightCard, Cp as StackCard, Mt as StatCard, Ma as StatCardGroup, yn as StatusCard, Ge as StatusIndicator, ri as StepDots, Ol as Stepper, qs as StepperIndicator, Qu as Steps, Vl as StepsItem, ro as SummaryData, i as Switch, r as SwitchField, Fd as SwitchFormField, Xt as Switcher, ei as TEXT_PREVIEW_MAX_BYTES, Kf as TIMEZONES, Ap as TOOLBAR_TONES, _h as Table, Sh as TableBody, wh as TableCaption, vh as TableCell, xh as TableEmpty, Th as TableFooter, yh as TableHead, bh as TableHeader, Ch as TableRow, ce as Tabs, ue as TabsContent, Ve as TabsList, Ee as TabsTrigger, ao as TagCard, qp as Terminal, gh as TextField, Zt as TextFormField, Se as Textarea, x as TextareaField, $p as TextareaFormField, dh as ThemeToggle, Ld as ThreadLayout, Du as ThresholdCard, Ip as TicketCard, mf as TimeField, ul as TimeFormField, Kd as TimePicker, Js as Timeline, Sc as TimelineCard, cp as TimelineItem, Lu as TimezoneField, Ac as TimezoneFormField, If as Toast, uf as Toaster, Lf as Toc, le as Toggle, uh as ToggleGroup, ch as ToggleGroupItem, lh as ToggleGroupSeparator, Pm as Toolbar, Hm as ToolbarButton, Um as ToolbarGroup, jm as ToolbarItemSlot, zm as ToolbarMore, R as ToolbarPair, Lm as ToolbarSeparator, Bm as ToolbarToggle, xm as ToolbarToggleGroup, gm as ToolbarToggleItem, et as Tooltip, Ze as TooltipContent, $e as TooltipPrimitive, Qe as TooltipProvider, Xe as TooltipTrigger, Qr as TopAppBar, Qp as TransferList, La as TransferListFormField, uo as Tree, xu as TreeItem, mi as TreeSelectField, jr as TreeSelectFormField, sa as TrendCard, qo as TypingIndicator, ph as Typography, af as URL_PARAM_SEPARATORS, At as UploadField, ld as UploadFormField, ic as UrlField, Ql as UrlFormField, Xl as VALIDATION_MESSAGES, bl as VALIDATION_PATTERNS, Hd as VALIDATION_PRESETS, kl as ZonedTime, Pl as answerParts, Vf as answeredCount, l as applyMention, Qi as areFilterValuesEqual, Nh as arrayMove, ys as badgeVariants, Xm as buttonVariants, zu as capturePhotoFromVideo, ou as chatGroupPosition, mo as cityLine, tn as clampNumber, jp as clampRating, wa as cleanFilterValues, Yt as clearFromStorage, xn as clearPersistedFilterValues, wc as clearPresets, Fh as closestCenter, Ie as collectComposerAttachments, mh as composeRefs, Bp as contactTypeLabel, Oi as convertAttributesToRecord, th as copyToClipboard, or as countActiveFilters, Yf as countdownTone, Rc as countryOptions, oc as createCameraStore, Is as createCodeErrorMap, cu as createSorting, rd as createValidationRule, sn as cropImageToFile, Qa as dataTableFeatures, Bc as dayGroupOf, qd as dayOfWeekLabel, Bd as daySeparatorVariants, jl as daysAgo, zl as debounce, Na as defaultCodeOf, ki as defineFilterModel, Nc as docActions, Vu as docSelectors, Xf as docSlice, xp as downloadText, Ht as exampleNational, Zr as expandEmojiShortcodes, Es as fileKind, _l as filterDocNav, h as filterMentions, zd as findActiveDocHref, Ou as findActiveMenuItem, jd as findCountry, ed as findDocChildren, Ul as findDocPager, Al as findDocSiblings, wn as findTreeNode, Hi as firstPage, Ku as flagEmoji, Ys as flattenDocNav, ta as flattenVisibleTree, Vi as formatAttributeDisplayedValue, pa as formatAttributesValues, Gc as formatClock, Xs as formatDayLabel, Rs as formatFileSize, Ur as formatFilterValue, du as formatInternational, Mi as formatNational, td as formatRelativeTime, al as formatStatDelta, ti as generatePresetId, wd as getCameraDevices, cn as getDefaultValuesFromSchema, Go as getFilterField, Ar as getFilterFieldLabel, No as getGroupFields, Wo as getRadianAngle, rs as getUngroupedFields, Kl as getValidationError, vr as getVisibleFields, dl as groupByDay, Rf as groupSecret, Ss as handleDocKeyDown, Ei as hasActiveFilters, Nl as hasValidationErrors, Ja as haveFiltersChanged, Gh as headingText, rf as highlightCode, Vh as horizontalListSortingStrategy, Q as iconButtonVariants, Q as variants, ct as inputDefaultClassNames, Hh as insertIds, xl as isAnswerCorrect, Bs as isAnswered, Sf as isCameraSupported, lp as isDocPathActive, us as isDocSearchHotkey, ec as isEmail, Nt as isEmptyRequired, qm as isExternalHref, pi as isFieldVisible, lm as isFilterValueEmpty, ma as isFiltered, Kt as isMenuItemActive, up as isNewDay, Xn as isNewQuery, Gi as isPossiblePhoneNumber, Bn as isPostalAddressEmpty, Ps as isTypingTarget, Sd as isUrl, _a as isValidPhoneNumber, bc as joinTerminalLines, Uc as listPaneItemClasses, vu as loadFromStorage, qn as loadFromUrl, Tp as loadPersistedFilterValues, Rp as loadPresets, Yp as localIsoDay, cs as localizedTextErrors, ef as mapFilterFieldToFieldConfig, D as mentionQueryAt, Il as minutesOfDay, mc as minutesToParts, Jp as navLabel, Nr as nextPage, mp as normalizeHex, bf as normalizeUrl, Cl as nowPosition, Jr as openingHoursSchema, Dt as paginationItems, gi as pagingNames, za as paramsFromQuery, ep as parseAnswerNumber, Ec as parseCurrencyInput, em as parseFilterQuery, Pn as parseFromUrlParams, Pc as parseJsonSource, zo as parseNumberInput, $n as parsePhoneInput, hu as partitionMenu, Op as partsToMinutes, xo as persistFilterValues, Ph as pointerWithin, Dn as postalAddressCountryName, Hu as prettyJson, Qt as previousPage, Io as queryFromParams, xr as queryKey, wo as readCursor, _o as recoveryCodesText, Oh as rectIntersection, jc as requestCameraPermissions, $m as resolveCodeLanguage, sp as resolveStepState, kr as rotateSize, vs as rowMenuColumn, Xd as sanitizeHref, so as savePresets, zi as saveToStorage, Lc as scoreBand, Ro as scorePassword, cl as scoreQuiz, Jo as serializeFilterQuery, da as serializeToUrlParams, lr as serverPagination, ku as shortcutGlyph, Jm as slugify, tu as sonnerToast, Ds as sortPresets, _e as splitAvatarOverflow, ie as statusToneDotClass, wr as stepNumber, Pp as stripAnsi, ii as tableFilters, Hc as timezoneLabel, pl as timezoneOffset, Wl as toDate, Ir as toE164, Lp as toPdfjsParams, oo as toPdfjsSource, fd as toast, rl as toasts, pe as toggleVariants, cr as typingIndicatorVariants, fh as typographyVariants, ju as updateUrlWithFilters, ih as useBackdropSprite, Jf as useCamera, Wc as useCameraContext, ye as useChatComposerAttachments, yu as useChatLayout, el as useCodeResolver, Nd as useColumnHelpers, a as useComboboxAnchor, Ju as useDeleteRowsHandler, Wh as useDndActiveId, Mh as useDndItem, Xr as useDoc, io as useDocContext, _d as useEventCalendar, Tc as useEventCalendarContext, $f as useFilter, Wu as useFilterContext, Yc as useFilterSelector, Dl as useFilterUrlQuery, ah as useIconEdition, id as useKanban, ql as useKanbanContext, tr as useListDetails, ua as useMediaPlayer, d as useMediaPlayerHost, qu as useNow, vn as useOptionalDocContext, Zd as usePageTitleFocus, oa as usePaneLayout, bn as usePdfSource, rh as useServedStyles, nh as useSpriteBase, Fm as useToolbarEntry, Am as useToolbarMoreAnchor, gc as useToolbarOverflow, Wm as useToolbarSpilled, j as useTrackChapters, de as useTrackThumbnails, Ln as useTree, Qs as validateAllFilters, fp as validateField, Zp as validateFilterValue, Rh as verticalListSortingStrategy, Gd as withoutFilters, Ad as wrongIds };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DataTableLinkComponent, DataTableServerPagination } from '../types.js';
|
|
2
|
+
type DataTablePagerProps = {
|
|
3
|
+
pagination: DataTableServerPagination;
|
|
4
|
+
/** Rows on the page shown, to place its range. */
|
|
5
|
+
rows: number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
linkComponent?: DataTableLinkComponent;
|
|
8
|
+
};
|
|
9
|
+
/** The server footer's range ("41–60 of 133") and its Previous / Next, shared
|
|
10
|
+
* by `DataTableServerFooter` and `PageFooter`. */
|
|
11
|
+
export declare function DataTablePager({ pagination, rows, disabled, linkComponent, }: DataTablePagerProps): import("react").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DataTableServerPagination } from './types.js';
|
|
2
|
+
/** The range of rows a server page shows: "41–60 of 133", "41–60" with no
|
|
3
|
+
* total, "133 rows" with no offset; `null` when there is nothing to say,
|
|
4
|
+
* an empty result included: its empty state and the table's status say it,
|
|
5
|
+
* not "0 rows". An empty page past the last keeps the total. */
|
|
6
|
+
export declare function useRangeLabel(pagination: DataTableServerPagination | undefined, rows: number): string | null;
|
|
@@ -6,6 +6,7 @@ export * from './facet-group/index.js';
|
|
|
6
6
|
export * from './filter/index.js';
|
|
7
7
|
export * from './list-empty/index.js';
|
|
8
8
|
export * from './list-pane/index.js';
|
|
9
|
+
export * from './page-footer/index.js';
|
|
9
10
|
export * from './pagination/index.js';
|
|
10
11
|
export * from './row-menu/index.js';
|
|
11
12
|
export * from './server-table/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './page-footer.js';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CursorConnection, PagingNames } from '@nxgt/material-core/table-url';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { DataTableLinkComponent } from '../data-table/types.js';
|
|
4
|
+
export type PageFooterProps = {
|
|
5
|
+
/** The connection's page info: a next page from its `endCursor`. */
|
|
6
|
+
pageInfo: CursorConnection['pageInfo'];
|
|
7
|
+
/** Items matching the query across every page. */
|
|
8
|
+
totalCount: number;
|
|
9
|
+
/** The page's search params (the router's): the cursor trail is read from
|
|
10
|
+
* them, and every other param is kept in the Previous / Next hrefs. */
|
|
11
|
+
params: URLSearchParams;
|
|
12
|
+
pageSize: number;
|
|
13
|
+
/** Items on this page; it places the range ("21–40 of 134"). Default
|
|
14
|
+
* `pageSize`; pass it on a short last page. */
|
|
15
|
+
count?: number;
|
|
16
|
+
/** A page's href. Default ``(params) => `?${params}` ``. */
|
|
17
|
+
pageHref?: (params: URLSearchParams) => string;
|
|
18
|
+
/** The cursor's search param names. Default `after` and `trail`. */
|
|
19
|
+
pagingNames?: Partial<PagingNames>;
|
|
20
|
+
/** `'icon'`: icon-only Previous / Next with a tooltip, named "Previous
|
|
21
|
+
* page" / "Next page". Default `'labelled'`. */
|
|
22
|
+
pageControls?: 'labelled' | 'icon';
|
|
23
|
+
/** `false` renders the range as plain text instead of a polite live region. */
|
|
24
|
+
live?: boolean;
|
|
25
|
+
/** Makes Previous and Next inert (a feed that is loading). */
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
/** Your router's link; it must forward `className` and `ref`. */
|
|
28
|
+
linkComponent?: DataTableLinkComponent;
|
|
29
|
+
} & Omit<ComponentProps<'div'>, 'children'>;
|
|
30
|
+
/**
|
|
31
|
+
* The page footer of a feed that is not a table (a list of cards, a news
|
|
32
|
+
* feed) under a `FilterBar`: the range ("21–40 of 134") and Previous / Next
|
|
33
|
+
* as real links built from the URL's cursor trail, the same footer
|
|
34
|
+
* `ServerTable` draws. Renders nothing for an empty result.
|
|
35
|
+
*/
|
|
36
|
+
export declare function PageFooter({ pageInfo, totalCount, params, pageSize, count, pageHref, pagingNames, pageControls, live, disabled, linkComponent, className, ...props }: PageFooterProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Box } from './keep-shapes-inside.js';
|
|
2
|
+
/**
|
|
3
|
+
* The chrome around the content region that a control-like glyph keeps clear
|
|
4
|
+
* of (the app bar, the breadcrumb). Chrome that stays put in the viewport (a
|
|
5
|
+
* sticky or fixed bar, or any chrome while the region scrolls by itself, since
|
|
6
|
+
* it does not move with it) is `pinned`, in viewport coordinates. Chrome that
|
|
7
|
+
* scrolls with the page is `flowing`, in the content's coordinates like the
|
|
8
|
+
* rest, so `offset` is the window scroll then.
|
|
9
|
+
*/
|
|
10
|
+
export declare function collectChrome(column: Element, region: Element, offset: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
}, contained: boolean): {
|
|
14
|
+
pinned: Box[];
|
|
15
|
+
flowing: Box[];
|
|
16
|
+
};
|
|
@@ -11,6 +11,10 @@ export interface ShapeUnit {
|
|
|
11
11
|
hide: Element[];
|
|
12
12
|
/** The union box of the parts. */
|
|
13
13
|
box: Box;
|
|
14
|
+
/** The unit looks like a control (a plus, an arrow): `CONTROL_CLASS` on a part. */
|
|
15
|
+
control: boolean;
|
|
14
16
|
}
|
|
17
|
+
/** The class core's `place` gives a control-like glyph (`CONTROL_CLASS`; a spec holds the two equal, core's backgrounds are loaded lazily and not imported here). */
|
|
18
|
+
export declare const CONTROL_GLYPH = "ctl";
|
|
15
19
|
/** The units of a scene, measured now. */
|
|
16
20
|
export declare function shapeUnits(scene: Element): ShapeUnit[];
|
|
@@ -33,6 +33,14 @@ export declare const clearMode: (keepClear: KeepClear) => ClearMode;
|
|
|
33
33
|
export declare const GAP_MIN = 24;
|
|
34
34
|
/** The space a glyph keeps from the surfaces around it in a gap, in pixels. */
|
|
35
35
|
export declare const GAP_CLEARANCE = 4;
|
|
36
|
+
/**
|
|
37
|
+
* The space a control-like glyph (a plus, a bar, an arrow, a chevron; see
|
|
38
|
+
* `CONTROL_SHAPES` in core) keeps from every surface and band, in pixels. Next
|
|
39
|
+
* to a card or a header band such a glyph reads as its add or collapse button,
|
|
40
|
+
* so it is held well away: 48px is two gaps of `GAP_MIN`, past which it can no
|
|
41
|
+
* longer be taken for a control of that surface. Far from content it stays.
|
|
42
|
+
*/
|
|
43
|
+
export declare const CONTROL_CLEARANCE = 48;
|
|
36
44
|
/**
|
|
37
45
|
* The drop rule of `keepClear="gaps"`: whether a glyph must be dropped. It is
|
|
38
46
|
* dropped when it meets text, a control or a marked block (`solid`, with
|
|
@@ -42,3 +50,13 @@ export declare const GAP_CLEARANCE = 4;
|
|
|
42
50
|
* two surfaces whose free gap is `GAP_MIN` or more along either axis.
|
|
43
51
|
*/
|
|
44
52
|
export declare function hitsContentOutsideGaps(shape: Box, solid: readonly Box[], surfaces: readonly Box[], dx: number, dy: number, margin?: number): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The drop rule of a control-like glyph, in every mode but `off`: dropped when
|
|
55
|
+
* it meets text, a control or a marked block (`solid`, with `margin`), or when
|
|
56
|
+
* it lies within `CONTROL_CLEARANCE` (plus the drift the margin holds above
|
|
57
|
+
* `CONTENT_MARGIN`) of any surface or band (`surfaces`, whole boxes). It is
|
|
58
|
+
* never kept in a gap between surfaces, whatever the mode. `pinned` are the
|
|
59
|
+
* chrome boxes that stay put in the viewport (a sticky app bar), read with no
|
|
60
|
+
* scroll offset.
|
|
61
|
+
*/
|
|
62
|
+
export declare function hitsContentAsControl(shape: Box, solid: readonly Box[], surfaces: readonly Box[], dx: number, dy: number, margin?: number, pinned?: readonly Box[]): boolean;
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { Box } from './keep-shapes-inside.js';
|
|
2
2
|
import { ClearMode } from './shapes-clear-content.js';
|
|
3
|
+
/** Whether the region scrolls by itself (a contained shell), not the page. */
|
|
4
|
+
export declare function scrollsInside(region: Element): boolean;
|
|
3
5
|
/**
|
|
4
6
|
* The boxes of the text (its glyph runs), the controls and the surfaces (cards, tables, lists: whole) of the region, in the content's own coordinates.
|
|
5
7
|
* Both walks stop at `MAX_CONTENT_BOXES`: text past it is not collected.
|
|
6
8
|
*/
|
|
7
9
|
export declare function collectOccupied(region: Element, anchored?: boolean): Box[];
|
|
8
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* The occupied boxes of a region, split: the surfaces (cards, lists, tables)
|
|
12
|
+
* apart from the text, controls and marked blocks, and the bands inside the
|
|
13
|
+
* region (an `EntityHeader`, the content header), which only a control-like
|
|
14
|
+
* glyph keeps clear of whole.
|
|
15
|
+
*/
|
|
9
16
|
export declare function collectContent(region: Element, anchored?: boolean): {
|
|
10
17
|
solid: Box[];
|
|
11
18
|
surfaces: Box[];
|
|
19
|
+
bands: Box[];
|
|
12
20
|
};
|
|
13
21
|
/** A shape unit as the pass measured it: what to hide, whether the layer's edge or band already hides it, its box and its margin. */
|
|
14
22
|
export interface WatchedUnit {
|
|
@@ -17,6 +25,8 @@ export interface WatchedUnit {
|
|
|
17
25
|
/** Already `data-outside`: the content rule leaves it alone. */
|
|
18
26
|
outside: boolean;
|
|
19
27
|
box: Box;
|
|
28
|
+
/** A control-like glyph (a plus, an arrow): kept `CONTROL_CLEARANCE` from every surface and band, in every mode. */
|
|
29
|
+
control?: boolean;
|
|
20
30
|
/** The margin kept from the content: `CONTENT_MARGIN` plus the drift of a floating scene. */
|
|
21
31
|
margin: number;
|
|
22
32
|
}
|