@abpjs/ui 0.2.0-next.3 → 0.2.0-next.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _chakra_ui_react from '@chakra-ui/react';
2
2
  import { SystemConfig, SystemContext, LinkProps, HTMLChakraProps, SystemStyleObject, chakra, ButtonProps as ButtonProps$1, IconButtonProps as IconButtonProps$1, TableRowProps, Checkbox, Field as Field$1, NativeSelect, Switch, Alert, BoxProps as BoxProps$1, InputProps, Tooltip as Tooltip$1 } from '@chakra-ui/react';
3
3
  import * as react from 'react';
4
- import { ComponentType, ReactNode, ElementType, AnchorHTMLAttributes, ComponentProps, RefObject, ReactElement } from 'react';
4
+ import { ReactNode, ComponentType, ElementType, AnchorHTMLAttributes, ComponentProps, RefObject, ReactElement } from 'react';
5
5
  import { ThemeProviderProps } from 'next-themes';
6
6
  import { Announcements } from '@dnd-kit/core';
7
7
  import * as _ark_ui_react from '@ark-ui/react';
@@ -68,6 +68,10 @@ interface AbpLabels {
68
68
  close: string;
69
69
  cancel: string;
70
70
  confirm: string;
71
+ /** A confirm that needs a word typed first (deleting a project), `{value}` being the word. Optional: English by default. */
72
+ typeToConfirm?: string;
73
+ /** A wide form dialog's aside, what the form makes as it's filled in. Optional: English by default. */
74
+ preview?: string;
71
75
  retry: string;
72
76
  loading: string;
73
77
  noData: string;
@@ -90,7 +94,43 @@ interface AbpLabels {
90
94
  /** Above a form with wrong fields, `{count}` of them (ICU plural). */
91
95
  formFix: string;
92
96
  queryList: QueryListLabels;
97
+ translations: TranslationsLabels;
98
+ picker: PickerLabels;
99
+ }
100
+ /** Strings of SearchPicker, PersonPicker and GroupPicker. `{count}` is filled in (ICU plural). */
101
+ interface PickerLabels {
102
+ placeholder: string;
103
+ searching: string;
104
+ noMatches: string;
105
+ /** Nothing to offer when nothing can be searched. */
106
+ noKnown: string;
107
+ /** Above the options: how many match what's typed. */
108
+ matches: string;
109
+ /** Above the options when there are more than shown. */
110
+ firstMatches: string;
111
+ searchPeople: string;
112
+ /** A person picker with no search: the people on the page. */
113
+ choosePerson: string;
114
+ noPeople: string;
115
+ noKnownPeople: string;
116
+ searchGroups: string;
117
+ noGroups: string;
118
+ }
119
+ declare const defaultPickerLabels: PickerLabels;
120
+ /** Strings of TranslatedInput. {name}, {filled}, {total}, {shown} are filled in by the component. */
121
+ interface TranslationsLabels {
122
+ /** Above the other languages' fields. */
123
+ title: string;
124
+ /** The button that opens them, for a screen reader. */
125
+ open: string;
126
+ /** The button's tooltip. */
127
+ count: string;
128
+ /** Under a language left empty: which name shows instead. */
129
+ missing: string;
130
+ /** The list of names already translated. */
131
+ suggestions: string;
93
132
  }
133
+ declare const defaultTranslationsLabels: TranslationsLabels;
94
134
  /** Strings of QueryableList. {name} placeholders are filled in by the component. */
95
135
  interface QueryListLabels {
96
136
  savedView: string;
@@ -173,6 +213,8 @@ interface QueryListLabels {
173
213
  /** The pagination's name, and a page button's: "Page {page}". */
174
214
  pages: string;
175
215
  page: string;
216
+ /** The compact pagination's "Page {page} of {pages}". */
217
+ pageOf: string;
176
218
  empty: string;
177
219
  export: string;
178
220
  exportCsv: string;
@@ -191,8 +233,30 @@ interface QueryListLabels {
191
233
  }
192
234
  declare const defaultQueryListLabels: QueryListLabels;
193
235
  declare const defaultLabels: AbpLabels;
236
+ /**
237
+ * The labels a host gives: any of them, and any of a group's (the query list's, the pickers', the translations'); the
238
+ * rest are the defaults, so a group the package adds later needs nothing from a host that doesn't use it.
239
+ */
240
+ type AbpLabelsInput = Partial<Omit<AbpLabels, 'queryList' | 'translations' | 'picker'>> & {
241
+ queryList?: Partial<QueryListLabels>;
242
+ translations?: Partial<TranslationsLabels>;
243
+ picker?: Partial<PickerLabels>;
244
+ };
194
245
  declare function useAbpLabels(): AbpLabels;
195
246
 
247
+ /** A framework's hook for HTML to put in the page's head while it streams (Next's `useServerInsertedHTML`). */
248
+ type ServerInsertedHTML = (callback: () => ReactNode) => void;
249
+ /**
250
+ * Emotion's styles in the page's head on the server, so the first render matches the client's. Without it, a style
251
+ * Emotion writes during the server render (Chakra's global styles) lands inside the body where the client expects
252
+ * something else (next-themes' script), and React's hydration fails. The framework's hook comes from the host, so the
253
+ * package names no framework.
254
+ */
255
+ declare function EmotionRegistry({ useServerInsertedHTML, children }: {
256
+ useServerInsertedHTML: ServerInsertedHTML;
257
+ children: ReactNode;
258
+ }): react.JSX.Element;
259
+
196
260
  /**
197
261
  * An answer the server refused, in ABP's error shape (`{ error: { code, message, details, validationErrors } }`), or
198
262
  * a problem's title, or the status. Read as JSON whatever the content type says, as file routes answer refusals so.
@@ -218,6 +282,37 @@ declare function readAbpError(res: Response): Promise<AbpApiError>;
218
282
  /** An error as a person reads it. */
219
283
  declare function errorText(e: unknown): string;
220
284
  declare const isStepUp: (e: unknown) => boolean;
285
+ /** A strong step-up asked of someone with no strong factor yet (AbpGuard 0.7.0): they set one up, then step up. */
286
+ declare const STRONG_FACTOR_REQUIRED = "strong_factor_required";
287
+ /** A refusal the step-up dialog answers: a step-up, or a strong factor to set up first. */
288
+ declare const needsStepUp: (e: unknown) => e is AbpApiError;
289
+
290
+ /**
291
+ * What the server asked for (AbpGuard 0.7.0, ADR 0110 in the application it came from): a step-up at a level, with the
292
+ * person's ways best first, or a strong factor they don't have yet. Older servers send no level: the password level.
293
+ */
294
+ interface StepUpNeed {
295
+ /** `step_up_required`, or `strong_factor_required` when a strong step-up is asked of someone with no strong factor. */
296
+ code: string;
297
+ /** `password` (the password, with a code of a second factor when the person has one) or `strong` (a passkey, or the password and an authenticator code). */
298
+ level: 'password' | 'strong';
299
+ category: string | null;
300
+ /** The person's ways at that level, best first: `passkey`, `app`, `password`, `email`… Empty when the server doesn't say. */
301
+ methods: string[];
302
+ /** An authenticator code alone passes (the operator's setting, AbpGuard's `appCodeAlone`); else it goes with the password. */
303
+ appCodeAlone: boolean;
304
+ }
305
+ /** What asks the person to confirm who they are: true once confirmed (or a strong factor set up), false if they gave up. */
306
+ type StepUpHandler = (need: StepUpNeed) => Promise<boolean>;
307
+ /** The step-up dialog registers itself here (`StepUpDialog`, drawn by `AbpProvider`); null when it goes. */
308
+ declare function setStepUpHandler(next: StepUpHandler | null): void;
309
+ /** The need an error carries: its code, and the level and methods in its data. */
310
+ declare function stepUpNeedOf(code: string, data: Record<string, unknown> | null | undefined): StepUpNeed;
311
+ /**
312
+ * Asks the person to confirm who they are, once however many calls are waiting for it (ADR 0109 amendment). False when
313
+ * nothing is registered to ask with: the call then fails with the server's refusal, as it would without.
314
+ */
315
+ declare function requestStepUp(need?: StepUpNeed): Promise<boolean>;
221
316
 
222
317
  /** What a call sends: its method, a JSON body (or FormData as is), headers, and a way to stop it. */
223
318
  interface HostRequestInit {
@@ -227,6 +322,8 @@ interface HostRequestInit {
227
322
  signal?: AbortSignal;
228
323
  /** The answer as a file (a Blob and the name Content-Disposition gives) rather than JSON. */
229
324
  as?: 'json' | 'file';
325
+ /** False: a refusal that asks for a step-up is thrown, not asked (the step-up dialog's own calls). */
326
+ stepUp?: false;
230
327
  }
231
328
  /** A file the server answered with. */
232
329
  interface HostFile {
@@ -250,7 +347,7 @@ interface HostRequestOptions {
250
347
  * A 403 `step_up_required`: the host confirms the person again; true retries the call once. By default the step-up
251
348
  * dialog `AbpProvider` draws asks (`requestStepUp`), and without one the call fails as the server answered.
252
349
  */
253
- stepUp?: () => Promise<boolean>;
350
+ stepUp?: (need: StepUpNeed) => Promise<boolean>;
254
351
  /** More headers on every call (a development user, a tenant). */
255
352
  headers?: () => Record<string, string>;
256
353
  fetch?: typeof fetch;
@@ -276,7 +373,7 @@ type HostEvents = (path: string, onEvent: HostEventHandler, options?: {
276
373
  }) => Promise<string | null>;
277
374
  /** Reads a response's server-sent events to its end. */
278
375
  declare function readEvents(res: Response, onEvent: HostEventHandler): Promise<void>;
279
- /** Server-sent events for a host without its own reader: same origin, its headers, a 401 handed back, one step-up. */
376
+ /** Server-sent events for a host without its own reader: same origin, its headers, a 401 handed back, a step-up (the dialog's by default). */
280
377
  declare function createHostEvents(options?: Pick<HostRequestOptions, 'onUnauthorized' | 'stepUp' | 'headers' | 'fetch'>): HostEvents;
281
378
 
282
379
  /** A scope as a host knows it: a project, an org unit. */
@@ -290,9 +387,18 @@ interface HostScope {
290
387
  /** One of the site's languages, for names by language. */
291
388
  interface HostLanguage {
292
389
  code: string;
390
+ /** Its name in itself ("العربية"). */
293
391
  name: string;
392
+ /** Its name in English, shown beside `name` where they differ. */
393
+ englishName?: string;
294
394
  direction?: 'ltr' | 'rtl';
295
395
  }
396
+ /** A name someone already translated (a text of the host's, a setting's name): every language at once. */
397
+ interface NameSuggestion {
398
+ names: Record<string, string>;
399
+ /** Where it comes from, as the host words it ("Status · FIN"). */
400
+ source?: string;
401
+ }
296
402
  /**
297
403
  * What a host gives the screens (ADR 0109 amendment): how to call its server, where each package's API is, how to
298
404
  * move, what the person may do, its scopes and people, its languages, its words for any text, and the slots it fills.
@@ -321,6 +427,8 @@ interface AbpHost {
321
427
  names?: (accountIds: string[]) => Promise<Record<string, string>>;
322
428
  /** The site's languages, the first the default. */
323
429
  languages?: HostLanguage[];
430
+ /** Names already translated that start with what's typed, so a name is translated the same way everywhere. */
431
+ suggestNames?: (text: string, signal: AbortSignal) => Promise<NameSuggestion[]>;
324
432
  /** The host's words for any area's text, by area then language then key: `{ ai: { en: { 'models.title': 'AI models' } } }`. */
325
433
  texts?: Record<string, Record<string, Record<string, string>>>;
326
434
  /**
@@ -415,7 +523,7 @@ interface AbpProviderProps {
415
523
  /** BCP 47 locale ("en", "ar"). Sets direction for every component, portals included. */
416
524
  locale?: string;
417
525
  /** Translated strings for the components' own text (close, cancel, sort ...). */
418
- labels?: Partial<AbpLabels>;
526
+ labels?: AbpLabelsInput;
419
527
  /** The host router's link component (next/link in the shell). */
420
528
  linkComponent?: LinkComponent;
421
529
  /** Initial colour mode when the user has not chosen one. */
@@ -428,6 +536,12 @@ interface AbpProviderProps {
428
536
  timeZone?: string;
429
537
  /** How much the interface moves for the person (ADR 0058); as their system says when it's not given. */
430
538
  motion?: MotionSetting;
539
+ /**
540
+ * The framework's hook for HTML in the page's head while it streams (Next's `useServerInsertedHTML`): with it, Emotion's
541
+ * styles go there on the server, so the first render hydrates without a mismatch. A host that renders on the client
542
+ * only leaves it out.
543
+ */
544
+ useServerInsertedHTML?: ServerInsertedHTML;
431
545
  }
432
546
  /**
433
547
  * Chakra (with the host's system), colour mode (next-themes, class on <html>), locale and
@@ -436,7 +550,7 @@ interface AbpProviderProps {
436
550
  *
437
551
  * The host must also set `<html lang dir>` and `suppressHydrationWarning` on <html>.
438
552
  */
439
- declare function AbpProvider({ children, system, host, locale, labels, linkComponent, defaultColorMode, pluginTexts, productName, timeZone, motion }: AbpProviderProps): react.JSX.Element;
553
+ declare function AbpProvider({ children, useServerInsertedHTML, ...props }: AbpProviderProps): react.JSX.Element;
440
554
 
441
555
  type ColorMode = 'light' | 'dark';
442
556
  /** next-themes, configured the way Chakra v3 expects: a `light`/`dark` class on <html>. */
@@ -451,6 +565,226 @@ declare function ColorModeToggle({ size }: {
451
565
  size?: 'xs' | 'sm' | 'md';
452
566
  }): react.JSX.Element;
453
567
 
568
+ type NamesValue = Record<string, string>;
569
+ interface TranslatedInputProps {
570
+ /** Names by language code. */
571
+ value: NamesValue;
572
+ onChange: (value: NamesValue) => void;
573
+ /** Shown when nothing is given in a language, and the last resort for what shows (usually the object's key). */
574
+ fallback?: string;
575
+ 'aria-label'?: string;
576
+ placeholder?: string;
577
+ size?: 'xs' | 'sm' | 'md';
578
+ disabled?: boolean;
579
+ autoFocus?: boolean;
580
+ onBlur?: () => void;
581
+ /** Offer names already translated while typing (the host's `suggestNames`; default on where the host has it). */
582
+ suggest?: boolean;
583
+ }
584
+ /**
585
+ * A name in every language the site offers (the host's `languages`): the reader's language inline, the others behind a
586
+ * button that shows how many are filled in. Each language is typed in its own direction, and one left empty says which
587
+ * name shows instead. Where the host offers names already translated (`suggestNames`), typing lists them, and picking
588
+ * one fills in every language at once, so a name is translated the same way everywhere. A host with no languages gets
589
+ * one field.
590
+ */
591
+ declare function TranslatedInput({ value, onChange, fallback, 'aria-label': ariaLabel, placeholder, size, disabled, autoFocus, onBlur, suggest, }: TranslatedInputProps): react.JSX.Element;
592
+
593
+ /** What a list shows: a page of rows, sorted and narrowed (ADR 0109 amendment). */
594
+ interface ListQuery {
595
+ /** From 1. */
596
+ page: number;
597
+ pageSize: number;
598
+ /** A column's id and its direction; null for the list's own order. */
599
+ sort: {
600
+ columnId: string;
601
+ direction: 'asc' | 'desc';
602
+ } | null;
603
+ /** What's typed in the list's search. */
604
+ search: string;
605
+ /** The list's other filters by name (a status, a directory); an empty value is no filter. */
606
+ filters: Record<string, string>;
607
+ }
608
+ /** A page of a list: its rows and how many there are in all. */
609
+ interface ListPage<T> {
610
+ items: T[];
611
+ total: number;
612
+ }
613
+ /**
614
+ * Where a list's rows come from: the server package's own paging, or the host's (its query engine), which a host gives
615
+ * an area in place of the package's. `key` names what it lists: a different key is a different list, read afresh.
616
+ */
617
+ interface ListSource<T> {
618
+ key: string;
619
+ load: (query: ListQuery, signal: AbortSignal) => Promise<ListPage<T>>;
620
+ }
621
+ declare const DEFAULT_PAGE_SIZE = 25;
622
+ declare function emptyQuery(initial?: Partial<ListQuery>): ListQuery;
623
+ /** How a list's query maps onto a server's: the search's parameter, and each sortable column's field. */
624
+ interface AbpListOptions {
625
+ /** The parameter the search goes in (ABP's lists: `filter`). */
626
+ searchParam?: string;
627
+ /** A column's id to the server's field for `sorting`; a column not here sorts by its id. */
628
+ sortFields?: Record<string, string>;
629
+ /** Parameters every page asks with (a fixed scope, a kind). */
630
+ fixed?: Record<string, string>;
631
+ }
632
+ /** ABP's paging parameters for a query: `skipCount`, `maxResultCount`, `sorting` ("username desc"), the search and filters. */
633
+ declare function abpListParams(query: ListQuery, options?: AbpListOptions): URLSearchParams;
634
+ /** A list served in ABP's shape (`PagedAndSortedResultRequestDto` in, `{ totalCount, items }` out) at a path. */
635
+ declare function abpListSource<T>(request: HostRequest, path: string, options?: AbpListOptions): ListSource<T>;
636
+ /** How many pages a list has (at least one). */
637
+ declare const pageCount: (total: number, pageSize: number) => number;
638
+
639
+ interface ListState<T> {
640
+ /** The list's place: its page, size, sort, filters, and what's typed in its search (asked once typing settles). */
641
+ query: ListQuery;
642
+ /** The page's rows; undefined until the first page comes. */
643
+ rows: T[] | undefined;
644
+ total: number;
645
+ pages: number;
646
+ /** The first page is coming. */
647
+ loading: boolean;
648
+ /** Another page or a new search is coming: the rows shown are the last ones until it does. */
649
+ refreshing: boolean;
650
+ error: string | null;
651
+ setSearch: (search: string) => void;
652
+ /** One filter by name; null or '' removes it. */
653
+ setFilter: (name: string, value: string | null) => void;
654
+ setSort: (sort: ListQuery['sort']) => void;
655
+ setPage: (page: number) => void;
656
+ setPageSize: (pageSize: number) => void;
657
+ /** Reads the page again (after a change made elsewhere). */
658
+ reload: () => void;
659
+ /** For `DataTable`: the rows, the first load's placeholders, the error, and the sort, which the source applies. */
660
+ table: {
661
+ rows: T[] | undefined;
662
+ loading: boolean;
663
+ error: string | null;
664
+ sort: ListQuery['sort'];
665
+ onSortChange: (sort: ListQuery['sort']) => void;
666
+ sortMode: 'manual';
667
+ };
668
+ /** For `Pagination`: the page and how many. */
669
+ pagination: {
670
+ page: number;
671
+ pages: number;
672
+ onPage: (page: number) => void;
673
+ };
674
+ }
675
+ /**
676
+ * A list's page, search, filters and sort, read from its source (ADR 0109 amendment): a change of search, filters, sort
677
+ * or page size goes back to the first page; typing waits `searchDelay` ms; only the latest answer counts; a different
678
+ * source (its `key`) starts empty. `onQueryChange` hears every change, for a screen that keeps the list's place in its
679
+ * address.
680
+ */
681
+ declare function useListState<T>(source: ListSource<T>, options?: {
682
+ initial?: Partial<ListQuery>;
683
+ searchDelay?: number;
684
+ onQueryChange?: (query: ListQuery) => void;
685
+ }): ListState<T>;
686
+ /** An area's list served in ABP's shape at a path on this host (`/accounts/page`): the same source while the path is. */
687
+ declare function useAreaListSource<T>(area: string, path: string, options?: AbpListOptions): ListSource<T>;
688
+
689
+ /**
690
+ * How a pagination reads (UI round 10, step 73): `simple` (the default for lists: which rows of how many, then previous
691
+ * and next; people narrow a long list with search and filters, not by jumping to a page), `numbered` (the pages
692
+ * themselves, for long reports) or `compact` ("Page 3 of 200" between previous and next, for narrow places).
693
+ */
694
+ type PaginationForm = 'simple' | 'numbered' | 'compact';
695
+ /** The page buttons a form shows between its arrows: only the numbered form has any. */
696
+ declare function pagesShown(form: PaginationForm, page: number, pages: number): (number | 'gap')[];
697
+ /**
698
+ * The pages a pagination shows (UI round 9, step 67): the first and the last, the current one and its neighbours, and
699
+ * near either end the first or last four, in order, with 'gap' where pages are left out.
700
+ */
701
+ declare function pageList(page: number, pages: number): (number | 'gap')[];
702
+
703
+ /**
704
+ * A paged list's foot (`useListState`): which rows of how many show ("26–50 of 112") and the way to the others, in the
705
+ * labels' `queryList` words. `form` is `Pagination`'s, `simple` when left out (the range, then previous and next,
706
+ * centred); `numbered` puts the pages at the start and the range at the end. Nothing until the first page comes, or
707
+ * when the list is empty.
708
+ */
709
+ declare function ListFooter<T>({ list, form }: {
710
+ list: ListState<T>;
711
+ form?: PaginationForm;
712
+ }): react.JSX.Element | null;
713
+
714
+ /** A value that follows another once it has stood still for `ms` (what's typed in a search box, before it asks). */
715
+ declare function useSettledValue<T>(value: T, ms?: number): T;
716
+
717
+ /**
718
+ * A text with the part matching what was typed in bold, every match, ignoring case; as it was when nothing is typed or
719
+ * nothing matches.
720
+ */
721
+ declare function Highlight({ text, query }: {
722
+ text: string;
723
+ query: string;
724
+ }): react.JSX.Element;
725
+ interface SearchPickerMessages {
726
+ placeholder: string;
727
+ searching: string;
728
+ noMatches: string;
729
+ noKnown: string;
730
+ /** Under the list when nothing can be searched and only `known` is offered. */
731
+ limitedHint?: string;
732
+ }
733
+ interface SearchPickerProps<T> {
734
+ value: T | null;
735
+ onChange: (item: T | null) => void;
736
+ /** Searches as the person types; null when there's nothing to search, and only `known` is offered. */
737
+ search: ((text: string) => Promise<T[]>) | null;
738
+ /** Items to offer without searching (people on the page…), filtered by the text typed. */
739
+ known?: T[];
740
+ getId: (item: T) => string;
741
+ /** The text the input shows for the chosen item, and what typing filters `known` by. */
742
+ label: (item: T) => string;
743
+ /** How an option reads in the list (with what's typed, to bold its match: `Highlight`); the label, its match bold, by default. */
744
+ renderOption?: (item: T, query: string) => ReactNode;
745
+ /**
746
+ * Making a new item from the text typed, offered last when no option is called just that ("Add “Acme” as a new
747
+ * vendor"); it resolves with the item made, which is then picked, or null when it wasn't.
748
+ */
749
+ create?: {
750
+ label: (text: string) => string;
751
+ onCreate: (text: string) => Promise<T | null>;
752
+ };
753
+ /** Offer an empty choice ("Unassigned"). */
754
+ clearLabel?: string;
755
+ /** With nothing picked, the closed input shows the placeholder rather than the empty choice's words. */
756
+ emptyShowsPlaceholder?: boolean;
757
+ /** The picker's words; the labels' `picker` defaults where not given. */
758
+ messages?: Partial<SearchPickerMessages>;
759
+ disabled?: boolean;
760
+ size?: 'sm' | 'md';
761
+ 'aria-label'?: string;
762
+ id?: string;
763
+ }
764
+ /** One item picked from a searchable list: an ARIA combobox with keyboard support. */
765
+ declare function SearchPicker<T>({ value, onChange, search, known, getId, label, renderOption, create, clearLabel, emptyShowsPlaceholder, messages: own, disabled, size, id, 'aria-label': ariaLabel, }: SearchPickerProps<T>): react.JSX.Element;
766
+ /** A person to pick: an account's id, username and name, and whether it's an agent's. */
767
+ interface PickerPerson {
768
+ id: string;
769
+ username: string;
770
+ displayName?: string | null;
771
+ }
772
+ /** A group (a team) to pick. */
773
+ interface PickerGroup {
774
+ id: string;
775
+ name: string;
776
+ }
777
+ declare const personLabel: (p: PickerPerson | null | undefined) => string;
778
+ /**
779
+ * Picks one person: their name and @username, searched by `search` (the area's call, or the host's); without one, the
780
+ * people already `known` on the page. `badge` marks a person where the host has something to say (an agent's account).
781
+ */
782
+ declare function PersonPicker<P extends PickerPerson>({ badge, messages, ...rest }: Omit<SearchPickerProps<P>, 'getId' | 'label' | 'renderOption'> & {
783
+ badge?: (person: P) => ReactNode;
784
+ }): react.JSX.Element;
785
+ /** Picks one group, searched by `search` (the area's call, or the host's). */
786
+ declare function GroupPicker<G extends PickerGroup>({ messages, ...rest }: Omit<SearchPickerProps<G>, 'getId' | 'label'>): react.JSX.Element;
787
+
454
788
  type Direction = 'ltr' | 'rtl';
455
789
  /** Text direction for a BCP 47 locale ("ar", "ar-SA" -> rtl). */
456
790
  declare function directionOf(locale: string): Direction;
@@ -884,12 +1218,19 @@ interface PaginationProps {
884
1218
  /** A page button's name: "Page 4". */
885
1219
  pageLabel: (page: number) => string;
886
1220
  disabled?: boolean;
1221
+ /** How it reads; `numbered` when left out (step 67's pages). */
1222
+ form?: PaginationForm;
1223
+ /** Which rows of how many ("26–50 of 112"), drawn before the arrows in the simple form. */
1224
+ range?: string;
1225
+ /** "Page 3 of 200", drawn between the arrows in the compact form. */
1226
+ pageOf?: string;
887
1227
  }
888
1228
  /**
889
- * Pages of a list, centred under it (the canvas's v12, UI round 9 step 67): previous, the first and last pages and the
890
- * ones around the current one (gaps as "…"), next. The current page is filled. One page: nothing to show.
1229
+ * Pages of a list, centred under it (the canvas's v12). Numbered (UI round 9 step 67): previous, the first and last pages
1230
+ * and the ones around the current one (gaps as "…"), next, the current page filled. Simple (round 10 step 73): the
1231
+ * range, then previous and next. Compact: "Page 3 of 200" between them. One page: only the simple form's range, if any.
891
1232
  */
892
- declare function Pagination({ page, pages, onPage, label, previous, next, pageLabel, disabled }: PaginationProps): react.JSX.Element | null;
1233
+ declare function Pagination({ page, pages, onPage, label, previous, next, pageLabel, disabled, form, range, pageOf }: PaginationProps): react.JSX.Element | null;
893
1234
 
894
1235
  interface CommandItem {
895
1236
  id: string;
@@ -933,12 +1274,6 @@ declare function HighlightText({ text, query }: {
933
1274
  */
934
1275
  declare function CommandPalette({ open, onOpenChange, search, labels }: CommandPaletteProps): react.JSX.Element;
935
1276
 
936
- /**
937
- * The pages a pagination shows (UI round 9, step 67): the first and the last, the current one and its neighbours, and
938
- * near either end the first or last four, in order, with 'gap' where pages are left out.
939
- */
940
- declare function pageList(page: number, pages: number): (number | 'gap')[];
941
-
942
1277
  interface AvatarPerson {
943
1278
  id: string;
944
1279
  name: string;
@@ -979,9 +1314,10 @@ declare function AvatarStack({ 'aria-label': ariaLabel, people, max, moreLabel,
979
1314
  * secondary every other action (outlined neutral); the default
980
1315
  * ghost low-emphasis actions in toolbars and table rows
981
1316
  * link inline text action
1317
+ * cancel every Cancel (a dialog's, a form's, a composer's): one quiet gray fill, no border
982
1318
  * `danger` turns any of them red for destructive actions.
983
1319
  */
984
- type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'link';
1320
+ type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'link' | 'cancel';
985
1321
  type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
986
1322
  interface AbpButtonProps {
987
1323
  variant?: ButtonVariant;
@@ -994,14 +1330,57 @@ type ButtonProps = Omit<ButtonProps$1, 'variant' | 'size' | 'colorPalette'> & Ab
994
1330
  * `loading` is Chakra's: an action is running.
995
1331
  */
996
1332
  declare const Button: react.ForwardRefExoticComponent<Omit<ButtonProps$1, "colorPalette" | "size" | "variant"> & AbpButtonProps & react.RefAttributes<HTMLButtonElement>>;
1333
+ type AddButtonProps = Omit<ButtonProps, 'variant' | 'danger'>;
1334
+ /**
1335
+ * The one look for every add action (Add filter, Add column, Add condition, Add member, a create row): link-coloured
1336
+ * bold text after a plus, no fill, no border, no chevron, underlined on hover. A page's one main action stays a
1337
+ * `primary` Button; this is for the adds inside a page, a panel or a dialog.
1338
+ */
1339
+ declare const AddButton: react.ForwardRefExoticComponent<AddButtonProps & react.RefAttributes<HTMLButtonElement>>;
997
1340
  type IconButtonProps = Omit<IconButtonProps$1, 'variant' | 'size' | 'colorPalette'> & AbpButtonProps & {
998
1341
  'aria-label': string;
1342
+ /** Removing something from a list or a form (not deleting it): gray at rest, red only on hover. */
1343
+ remove?: boolean;
999
1344
  };
1000
- /** Square icon-only button. `aria-label` is required; it is also shown as the native tooltip. */
1345
+ /**
1346
+ * Square icon-only button. `aria-label` is required; it is also shown as the native tooltip. A delete (trash) icon is
1347
+ * `danger`, red at all times; taking a row out of a list is `remove`, gray until hovered.
1348
+ */
1001
1349
  declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps$1, "colorPalette" | "size" | "variant"> & AbpButtonProps & {
1002
1350
  'aria-label': string;
1351
+ /** Removing something from a list or a form (not deleting it): gray at rest, red only on hover. */
1352
+ remove?: boolean;
1003
1353
  } & react.RefAttributes<HTMLButtonElement>>;
1004
1354
 
1355
+ /** One thing a row's ⋯ menu can do. */
1356
+ interface RowMenuItem {
1357
+ id: string;
1358
+ label: ReactNode;
1359
+ icon?: ReactNode;
1360
+ onSelect?: () => void;
1361
+ /** Red text and icon: delete, and other acts that can't be taken back. */
1362
+ danger?: boolean;
1363
+ /** Shown but not chosen: the person may not do it here (say why in a `note`). */
1364
+ disabled?: boolean;
1365
+ }
1366
+ /** An entry of a row's menu: an item, a line between groups, or a quiet note (why some items are off). */
1367
+ type RowMenuEntry = RowMenuItem | {
1368
+ separator: true;
1369
+ } | {
1370
+ note: ReactNode;
1371
+ };
1372
+ interface RowMenuProps {
1373
+ /** The trigger's name, with the row in it ("More for Finance"). */
1374
+ label: string;
1375
+ items: RowMenuEntry[];
1376
+ size?: 'xs' | 'sm';
1377
+ }
1378
+ /**
1379
+ * A row's ⋯ menu (the design canvas's row menu): Open, Star, Edit, then Archive and a red Delete apart. Items the
1380
+ * person may not use stay listed, turned off, with a note saying who can.
1381
+ */
1382
+ declare function RowMenu({ label, items, size }: RowMenuProps): react.JSX.Element;
1383
+
1005
1384
  interface ConfirmOptions {
1006
1385
  title: ReactNode;
1007
1386
  description?: ReactNode;
@@ -1009,6 +1388,11 @@ interface ConfirmOptions {
1009
1388
  cancelLabel?: ReactNode;
1010
1389
  /** Red confirm button for destructive actions. */
1011
1390
  danger?: boolean;
1391
+ /**
1392
+ * A word the person types before the confirm turns on (a project's key, to delete it): for acts that can't be taken
1393
+ * back and reach a lot. Matched exactly, ignoring spaces around it.
1394
+ */
1395
+ typeToConfirm?: string;
1012
1396
  }
1013
1397
  interface ConfirmDialogProps extends ConfirmOptions {
1014
1398
  open: boolean;
@@ -1018,7 +1402,7 @@ interface ConfirmDialogProps extends ConfirmOptions {
1018
1402
  busy?: boolean;
1019
1403
  }
1020
1404
  /** An alert dialog asking the user to confirm an action. Focus starts on Cancel. */
1021
- declare function ConfirmDialog({ open, onOpenChange, onConfirm, busy, title, description, confirmLabel, cancelLabel, danger, }: ConfirmDialogProps): react.JSX.Element;
1405
+ declare function ConfirmDialog({ open, onOpenChange, onConfirm, busy, title, description, confirmLabel, cancelLabel, danger, typeToConfirm, }: ConfirmDialogProps): react.JSX.Element;
1022
1406
  type ConfirmFn = (options: ConfirmOptions) => Promise<boolean>;
1023
1407
  /** Provides `useConfirm()`. AbpProvider renders it; you rarely need it directly. */
1024
1408
  declare function ConfirmProvider({ children }: {
@@ -1339,6 +1723,32 @@ declare function CategoryProgress({ todo, inProgress, done, size, loading: own,
1339
1723
  */
1340
1724
  declare const DirectionalIcon: _chakra_ui_react.ChakraComponent<"span", {}>;
1341
1725
 
1726
+ /**
1727
+ * The empty state's drawings (the design canvas's EmptyState): a page-level illustration of the feature the empty page
1728
+ * belongs to, and small flat pieces of art for empty lists in panels and settings. Both are decorative (aria-hidden),
1729
+ * abstract (no numbers, no names) and static, and draw only with the theme's tokens, so they follow the host's brand
1730
+ * and the colour mode.
1731
+ */
1732
+ /** The feature an empty page belongs to; it picks the three cards. */
1733
+ type EmptyIllustration = 'records' | 'board' | 'views' | 'dashboards' | 'dashboard' | 'reports' | 'calendar' | 'timeline' | 'gantt' | 'backlog' | 'queue' | 'comments' | 'files';
1734
+ /**
1735
+ * The page-level illustration. `searching` adds a small search mark (nothing matches); `compact` shows the middle card
1736
+ * alone. The drawing is laid out left to right in either direction: it is a picture, not text.
1737
+ */
1738
+ declare function PageIllustration({ of, searching, scale }: {
1739
+ of: EmptyIllustration;
1740
+ searching?: boolean;
1741
+ scale?: number;
1742
+ }): react.JSX.Element;
1743
+ /** Small drawings in place of the icon: first use, no results, all done, nothing new, away, agents, couldn't load. */
1744
+ type EmptyArt = 'records' | 'search' | 'done' | 'bell' | 'handover' | 'agent' | 'error';
1745
+ /** One of the small drawings, `width` × `height` (its viewBox is 120 × 96). */
1746
+ declare function EmptyArtDrawing({ art, width, height }: {
1747
+ art: EmptyArt;
1748
+ width: string;
1749
+ height: string;
1750
+ }): react.JSX.Element;
1751
+
1342
1752
  interface EmptyStateProps {
1343
1753
  title: ReactNode;
1344
1754
  description?: ReactNode;
@@ -1361,9 +1771,21 @@ interface EmptyStateProps {
1361
1771
  size?: 'xs' | 'sm' | 'md';
1362
1772
  /** Its drawing's colour: `neutral` (the default, calm), `accent` (a place that invites a first step) or `danger`. */
1363
1773
  tone?: 'neutral' | 'accent' | 'danger';
1774
+ /**
1775
+ * `page`: the whole main content of a page is empty (no records yet, a dashboard with no widgets, nothing matches on
1776
+ * the whole page). It draws `illustration`, the feature the page is about, in place of the icon. Leave it out
1777
+ * everywhere else (panels, columns, widgets, sections), and errors never get it.
1778
+ */
1779
+ variant?: 'page';
1780
+ /** With `variant="page"`: what the empty page is about. Defaults to `records`. */
1781
+ illustration?: EmptyIllustration;
1782
+ /** A small flat drawing in place of the icon, for an empty list in a panel or a settings card. */
1783
+ art?: EmptyArt;
1784
+ /** `inline`: the drawing, the words and the action on one line, on a quiet surface (an empty list inside a settings card). */
1785
+ layout?: 'inline';
1364
1786
  }
1365
1787
  /** What a list, table or page shows when there is nothing in it: a calm drawing, what's missing, what to do, and a way on. */
1366
- declare function EmptyState({ title, description, icon, action, secondaryAction, kind, size, tone: own }: EmptyStateProps): react.JSX.Element;
1788
+ declare function EmptyState({ title, description, icon, action, secondaryAction, kind, size, tone: own, variant, illustration, art, layout, }: EmptyStateProps): react.JSX.Element;
1367
1789
 
1368
1790
  interface AttentionChipProps {
1369
1791
  count: number;
@@ -1520,27 +1942,39 @@ declare function useSlotSaves(): {
1520
1942
  run: () => Promise<void>;
1521
1943
  };
1522
1944
 
1523
- /** What asks the person to confirm who they are: true once confirmed, false if they gave up. */
1524
- type StepUpHandler = () => Promise<boolean>;
1525
- /** The step-up dialog registers itself here (`StepUpDialog`, drawn by `AbpProvider`); null when it goes. */
1526
- declare function setStepUpHandler(next: StepUpHandler | null): void;
1527
- /**
1528
- * Asks the person to confirm who they are, once however many calls are waiting for it (ADR 0109 amendment). False when
1529
- * nothing is registered to ask with: the call then fails with the server's `step_up_required`, as it would without.
1530
- */
1531
- declare function requestStepUp(): Promise<boolean>;
1532
-
1533
1945
  /** Whether what was typed can be a code yet: six digits (spaces between are fine), or a recovery code's ten characters. */
1534
1946
  declare function looksLikeCode(value: string, recovery: boolean): boolean;
1535
1947
  /**
1536
- * Asks for the password again before a sensitive action (ADR 0109 amendment, on AbpGuard's step-up): the server answers
1537
- * 403 `step_up_required`, the host's request asks here, and the call is tried again once confirmed. A person with a
1538
- * second factor gives a code too, from their app, a recovery code, or one the site sends. Too many wrong passwords end
1539
- * the session (401), which the host's request hands to the host. `AbpProvider` draws it when the host gives
1540
- * `paths.guard`; a host with its own dialog sets `stepUpDialog: false`.
1948
+ * Confirms the person before a sensitive action (ADR 0109 amendment, on AbpGuard's step-up): the server answers 403
1949
+ * `step_up_required`, the host's request asks here, and the call is tried again once confirmed.
1950
+ *
1951
+ * - At the password level: the password, and a code of their second factor when they have one (their app, a recovery
1952
+ * code, or one the site sends).
1953
+ * - At the strong level (AbpGuard 0.7.0): a passkey first when they have one, or an authenticator code: alone where the
1954
+ * server says one passes alone (`appCodeAlone`, the operator's setting), else with the password. Where a code passes
1955
+ * alone it's offered at the password level too.
1956
+ * - Asked for a strong step-up with no strong factor (`strong_factor_required`): the password, then setting up a passkey
1957
+ * or the app here (with recovery codes, shown once, for a first factor); the call then asks again, and they confirm
1958
+ * with what they set up.
1959
+ *
1960
+ * Too many wrong passwords end the session (401), which the host's request hands to the host. `AbpProvider` draws it
1961
+ * when the host gives `paths.guard`; a host with its own dialog sets `stepUpDialog: false`.
1541
1962
  */
1542
1963
  declare function StepUpDialog(): react.JSX.Element;
1543
1964
 
1965
+ /**
1966
+ * Passkeys in the browser (WebAuthn), in the browser's own JSON both ways, as AbpGuard 0.7.0 speaks it: the options come
1967
+ * as `PublicKeyCredentialCreationOptionsJSON` / `PublicKeyCredentialRequestOptionsJSON`, and the answer goes back as the
1968
+ * credential's `toJSON()`. Browsers without the JSON methods get the same through base64url here.
1969
+ */
1970
+ type Json = Record<string, unknown>;
1971
+ /** Whether this browser can use passkeys at all (a secure page with WebAuthn). */
1972
+ declare function passkeysSupported(): boolean;
1973
+ /** Makes a passkey on this device from the server's creation options; null when the person cancelled. */
1974
+ declare function createPasskey(options: Json, signal?: AbortSignal): Promise<Json | null>;
1975
+ /** Proves a passkey from the server's request options; null when the person cancelled or had none here. */
1976
+ declare function getPasskey(options: Json, signal?: AbortSignal): Promise<Json | null>;
1977
+
1544
1978
  /**
1545
1979
  * A text with its values filled, in the subset of ICU message syntax the screens' texts use: `{name}`, plurals
1546
1980
  * (`{count, plural, =0 {none} one {# item} other {# items}}`, with Arabic's zero, two, few and many) and choices
@@ -1569,11 +2003,28 @@ interface FormDialogProps {
1569
2003
  onSubmit: () => void | Promise<void>;
1570
2004
  busy?: boolean;
1571
2005
  error?: string | null;
1572
- size?: 'sm' | 'md' | 'lg' | 'xl';
2006
+ /** `wide` is the two-pane dialog with a preview: 920 px, the fields beside what they make. */
2007
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'wide';
1573
2008
  /** No submit button (the form inside has its own, e.g. a plugin's create view). */
1574
2009
  hideSubmit?: boolean;
1575
2010
  /** The submit button is off until what the form needs is filled in. */
1576
2011
  submitDisabled?: boolean;
2012
+ /**
2013
+ * What the form makes, drawn as it's filled in (a `PreviewCard`, usually): an aside at the end side beside the fields,
2014
+ * under them below `md`. With it the dialog is `wide` unless a size is given.
2015
+ */
2016
+ preview?: ReactNode;
2017
+ /** The aside's heading: the `preview` label ("Preview") unless given. */
2018
+ previewTitle?: ReactNode;
2019
+ /**
2020
+ * A destructive action at the footer's start, as a red link (Delete account). It doesn't submit the form; asking
2021
+ * whether they're sure is the caller's (a `ConfirmDialog`).
2022
+ */
2023
+ dangerAction?: {
2024
+ label: ReactNode;
2025
+ onClick: () => void;
2026
+ disabled?: boolean;
2027
+ };
1577
2028
  children: ReactNode;
1578
2029
  }
1579
2030
  /**
@@ -1581,7 +2032,22 @@ interface FormDialogProps {
1581
2032
  * and empty, or not in its shape) is marked when the person leaves it, not while they type; submitting with any wrong
1582
2033
  * lists them at the top, each a link to its field, and sends nothing.
1583
2034
  */
1584
- declare function FormDialog({ open, onOpenChange, title, description, submitLabel, onSubmit, busy, error, size, hideSubmit, submitDisabled, children }: FormDialogProps): react.JSX.Element;
2035
+ declare function FormDialog({ open, onOpenChange, title, description, submitLabel, onSubmit, busy, error, size, hideSubmit, submitDisabled, preview, previewTitle, dangerAction, children, }: FormDialogProps): react.JSX.Element;
2036
+ interface PreviewCardProps {
2037
+ /** An avatar or the thing's tile, at the start of the card's head. */
2038
+ media?: ReactNode;
2039
+ /** Its name, as typed so far. */
2040
+ title: ReactNode;
2041
+ /** A line under the name: a username or a key, which may be a `RecordKey`. */
2042
+ subtitle?: ReactNode;
2043
+ /** Its values, label then value; an empty value shows as the empty mark. */
2044
+ items?: {
2045
+ label: ReactNode;
2046
+ value?: ReactNode;
2047
+ }[];
2048
+ }
2049
+ /** What a form makes, in a `FormDialog`'s preview: a head (media, name, sub-line) and its values in a list. */
2050
+ declare function PreviewCard({ media, title, subtitle, items }: PreviewCardProps): react.JSX.Element;
1585
2051
 
1586
2052
  /** A section of a settings area (Administration, a project's settings): the host's own, or one a package or plugin adds. */
1587
2053
  interface SettingsSection {
@@ -2174,6 +2640,17 @@ interface QueryableListProps {
2174
2640
  countMatches?: (conditions: QueryConditionJson[]) => Promise<number>;
2175
2641
  /** A column before the fields' (the checkboxes of rows picked for a change, UI round 9 step 56). */
2176
2642
  leadingColumn?: DataTableColumn<QueryRow>;
2643
+ /** A column after the fields' (a row's ⋯ menu). */
2644
+ trailingColumn?: DataTableColumn<QueryRow>;
2645
+ /**
2646
+ * The rows as cards in a grid instead of a table (a projects directory's Cards view): `layout="cards"` draws each row
2647
+ * with `cards.render`. Filters, sort, saved views and pages work the same; grouping and the tree apply to the table.
2648
+ */
2649
+ cards?: {
2650
+ render: (row: QueryRow) => ReactNode;
2651
+ minWidth?: string;
2652
+ };
2653
+ layout?: 'list' | 'cards';
2177
2654
  /** A row under the toolbar, across it (picking rows, changing them). */
2178
2655
  toolbarFooter?: ReactNode;
2179
2656
  /** RQL autocomplete at the caret; without it the RQL box is a plain input. */
@@ -2183,6 +2660,11 @@ interface QueryableListProps {
2183
2660
  skip: number;
2184
2661
  take: number;
2185
2662
  onSkipChange: (skip: number) => void;
2663
+ /**
2664
+ * How its pages read (`Pagination`'s form): `simple` when left out (the range, then previous and next, centred);
2665
+ * `numbered` for a long report people page through; `compact` for a narrow place.
2666
+ */
2667
+ pagination?: PaginationForm;
2186
2668
  views?: QueryableListView[];
2187
2669
  activeViewId?: string | null;
2188
2670
  onSelectView?: (id: string | null) => void;
@@ -2267,7 +2749,7 @@ declare function basicConditions(where: QueryNodeJson | null | undefined): Query
2267
2749
  * counts, saved views and paging, over any entity the query engine serves. Controlled: the host runs the query and
2268
2750
  * keeps the state in the URL.
2269
2751
  */
2270
- declare function QueryableList({ 'aria-label': ariaLabel, fields, state, onStateChange, result, loading: own, error, renderCell, renderRow, selection, leadingColumn, toolbarFooter, countMatches, suggest, renderValueEditor, skip, take, onSkipChange, views, activeViewId, onSelectView, onSaveView, onDeleteView, onExport, actions, empty, loadFailed, leading, attention, search, renderGroupFooter, renderGroupAside, moveToGroup, tree, columnLabels, exportTarget, }: QueryableListProps): react.JSX.Element;
2752
+ declare function QueryableList({ 'aria-label': ariaLabel, fields, state, onStateChange, result, loading: own, error, renderCell, renderRow, selection, leadingColumn, trailingColumn, cards, layout, toolbarFooter, countMatches, suggest, renderValueEditor, skip, take, onSkipChange, pagination, views, activeViewId, onSelectView, onSaveView, onDeleteView, onExport, actions, empty, loadFailed, leading, attention, search, renderGroupFooter, renderGroupAside, moveToGroup, tree, columnLabels, exportTarget, }: QueryableListProps): react.JSX.Element;
2271
2753
 
2272
2754
  interface RecordKeyProps extends Omit<HTMLChakraProps<'span'>, 'children'> {
2273
2755
  /** The key, e.g. "PAY-41". Children win when both are given. */
@@ -2763,4 +3245,4 @@ interface TooltipProps extends Omit<Tooltip$1.RootProps, 'children'> {
2763
3245
  */
2764
3246
  declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & react.RefAttributes<HTMLDivElement>>;
2765
3247
 
2766
- export { ABP_UI_VERSION, AbpApiError, type AbpBrand, type AbpHost, type AbpLabels, AbpProvider, type AbpProviderProps, type AbpSystemOptions, type ApiQuery, AppLink, type AppLinkProps, AppShell, type AppShellBrand, type AppShellNavItem, type AppShellNavSection, type AppShellPlace, type AppShellProps, type AppShellSidebar, type AreaTexts, type Arrival, ArriveOnChange, type ArriveOnChangeProps, AttentionChip, type AttentionChipProps, type AvatarPerson, AvatarStack, type AvatarStackProps, Bone, type BoneProps, type BreadcrumbItem, Breadcrumbs, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarGrid, type CalendarGridProps, type CalendarItem, type CardDates, CategoryProgress, type CategoryProgressProps, type CelebrateTarget, Chart, type ChartProps, type ChartSeries, CheckboxField, type CheckboxFieldProps, Collapse, type CollapseProps, type ColorMode, ColorModeProvider, ColorModeToggle, type CommandGroup, type CommandItem, CommandPalette, type CommandPaletteProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmOptions, ConfirmProvider, CountBadge, type CountBadgeProps, Counter, type CounterProps, DashboardGrid, type DashboardGridProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSelection, type DataTableSort, type Direction, DirectionalIcon, DropHint, type DropHintProps, type DropZoneOptions, type DropZoneState, type DroppedFile, EMPTY_VALUE, EmptyState, type EmptyStateProps, FadeIn, type FadeInProps, Field, type FieldProps, FileDropArea, type FileDropAreaProps, FormDialog, type FormDialogProps, FormField, type GridItem, HighlightText, type HostEventHandler, type HostEvents, type HostFile, type HostLanguage, HostProvider, type HostRequest, type HostRequestInit, type HostRequestOptions, type HostScope, HostSlot, IconButton, type IconButtonProps, IconTile, type IconTileProps, Indicator, type IndicatorProps, InlineAlert, type InlineAlertProps, KanbanBoard, type KanbanBoardProps, type KanbanColumn, type KanbanItem, type KanbanLane, type KanbanMove, type LinkComponent, Loading, type LoadingProps, LoadingState, MotionProvider, type MotionSetting, type MotionState, Nudge, type NudgeProps, PageHeader, type PageHeaderProps, PageTitleProvider, Pagination, type PaginationProps, Panel, type PanelProps, PanelTone, type Particle, PathChips, type PathChipsProps, PersonChip, type PersonChipProps, type PlacedCard, PluginTextsProvider, type Pose, Presence, PresenceItem, type PresenceItemProps, PresenceList, type PresenceListProps, type PresenceProps, Pressable, type PressableProps, PriorityMark, type PriorityMarkProps, type PropertyItem, PropertyList, type PropertyListProps, type QueryConditionJson, type QueryExportFormat, type QueryField, type QueryGroup, type QueryJson, type QueryListLabels, type QueryNodeJson, type QueryRow, type QuerySuggestion, type QuerySuggestions, type QueryValueEditor, QueryableList, type QueryableListError, type QueryableListExport, type QueryableListProps, type QueryableListState, type QueryableListView, type QueueProgress, RecordKey, type RecordKeyProps, type RegisterSlotSave, Reveal, RevealItem, type RevealItemProps, type RevealProps, SHOWN, STEP_UP_REQUIRED, type Scale, SearchInput, type SearchInputProps, type SectionMove, SegmentedControl, type SegmentedControlProps, type SegmentedItem, SelectField, type SelectFieldProps, type SelectOption, type SettingsArea, SettingsLayout, type SettingsLayoutProps, type SettingsPage, type SettingsSection, SlideItem, type SlideItemProps, SlideList, type SlideListProps, type SlotSave, type SortDirection, type SortableSection, SortableSections, type SortableSectionsProps, type StatusCategory, StatusPill, type StatusPillProps, type StatusTone, StepUpDialog, type StepUpHandler, Swap, type SwapProps, SwitchField, type SwitchFieldProps, TITLE_SEPARATOR, TextBone, type TextBoneProps, TextSlot, type TextSlotProps, type TimelineCardItem, TimelineCards, type TimelineCardsProps, TimelineChart, type TimelineChartProps, type TimelineItem, type TimelineRow, type TimelineScale, type TitleParts, Toaster, Tooltip, type TooltipProps, UPLOADS_AT_ONCE, type UploadJob, UploadList, type UploadListProps, type UploadRow, type UploadState, abpConfig, arriveCss, asMotionSetting, avatarPalette, basicConditions, boneWidth, burst, compactLayout, compareOrdinal, composeTitle, covers, createAbpSystem, createAreaTexts, createHostEvents, createHostRequest, curves, defaultBrand, defaultLabels, defaultQueryListLabels, directionOf, droppedFiles, errorText, fileNameOf, findSettingsPage, folderOf, foldersFor, formatDateTime, formatMessage, formatNumber, ghostCss, groupKey, heavierFirst, hiddenPose, inSections, isStepUp, looksLikeCode, durations as motionDurations, notify, pageList, partsOf, pastedName, placeCards, placeItem, priorityLevel, progressOf, readAbpError, readEvents, refusal, requestStepUp, setStepUpHandler, settingsArea, shineCss, springs, staggerDelay, targetOf, toStart, toaster, useAbpLabels, useAbpLocale, useAbpTimeZone, useApiAction, useApiDownload, useApiQuery, useAreaEvents, useAreaRequest, useArriving, useCan, useCelebrate, useColorMode, useConfirm, useDropZone, useFilesOverPage, useFormatters, useHost, useHostLanguages, useLinkComponent, useLoading, useMe, useMotionSetting, useNames, useNavigate, useOptionalHost, usePageDrop, usePageTitle, usePageTitleParts, usePageTitleSite, usePastedFiles, usePluginTexts, useProductName, useSlotSaves, useTokenVar };
3248
+ export { ABP_UI_VERSION, AbpApiError, type AbpBrand, type AbpHost, type AbpLabels, type AbpLabelsInput, type AbpListOptions, AbpProvider, type AbpProviderProps, type AbpSystemOptions, AddButton, type AddButtonProps, type ApiQuery, AppLink, type AppLinkProps, AppShell, type AppShellBrand, type AppShellNavItem, type AppShellNavSection, type AppShellPlace, type AppShellProps, type AppShellSidebar, type AreaTexts, type Arrival, ArriveOnChange, type ArriveOnChangeProps, AttentionChip, type AttentionChipProps, type AvatarPerson, AvatarStack, type AvatarStackProps, Bone, type BoneProps, type BreadcrumbItem, Breadcrumbs, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarGrid, type CalendarGridProps, type CalendarItem, type CardDates, CategoryProgress, type CategoryProgressProps, type CelebrateTarget, Chart, type ChartProps, type ChartSeries, CheckboxField, type CheckboxFieldProps, Collapse, type CollapseProps, type ColorMode, ColorModeProvider, ColorModeToggle, type CommandGroup, type CommandItem, CommandPalette, type CommandPaletteProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmOptions, ConfirmProvider, CountBadge, type CountBadgeProps, Counter, type CounterProps, DEFAULT_PAGE_SIZE, DashboardGrid, type DashboardGridProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSelection, type DataTableSort, type Direction, DirectionalIcon, DropHint, type DropHintProps, type DropZoneOptions, type DropZoneState, type DroppedFile, EMPTY_VALUE, EmotionRegistry, type EmptyArt, EmptyArtDrawing, type EmptyIllustration, EmptyState, type EmptyStateProps, FadeIn, type FadeInProps, Field, type FieldProps, FileDropArea, type FileDropAreaProps, FormDialog, type FormDialogProps, FormField, type GridItem, GroupPicker, Highlight, HighlightText, type HostEventHandler, type HostEvents, type HostFile, type HostLanguage, HostProvider, type HostRequest, type HostRequestInit, type HostRequestOptions, type HostScope, HostSlot, IconButton, type IconButtonProps, IconTile, type IconTileProps, Indicator, type IndicatorProps, InlineAlert, type InlineAlertProps, KanbanBoard, type KanbanBoardProps, type KanbanColumn, type KanbanItem, type KanbanLane, type KanbanMove, type LinkComponent, ListFooter, type ListPage, type ListQuery, type ListSource, type ListState, Loading, type LoadingProps, LoadingState, MotionProvider, type MotionSetting, type MotionState, type NameSuggestion, type NamesValue, Nudge, type NudgeProps, PageHeader, type PageHeaderProps, PageIllustration, PageTitleProvider, Pagination, type PaginationForm, type PaginationProps, Panel, type PanelProps, PanelTone, type Particle, PathChips, type PathChipsProps, PersonChip, type PersonChipProps, PersonPicker, type PickerGroup, type PickerLabels, type PickerPerson, type PlacedCard, PluginTextsProvider, type Pose, Presence, PresenceItem, type PresenceItemProps, PresenceList, type PresenceListProps, type PresenceProps, Pressable, type PressableProps, PreviewCard, type PreviewCardProps, PriorityMark, type PriorityMarkProps, type PropertyItem, PropertyList, type PropertyListProps, type QueryConditionJson, type QueryExportFormat, type QueryField, type QueryGroup, type QueryJson, type QueryListLabels, type QueryNodeJson, type QueryRow, type QuerySuggestion, type QuerySuggestions, type QueryValueEditor, QueryableList, type QueryableListError, type QueryableListExport, type QueryableListProps, type QueryableListState, type QueryableListView, type QueueProgress, RecordKey, type RecordKeyProps, type RegisterSlotSave, Reveal, RevealItem, type RevealItemProps, type RevealProps, RowMenu, type RowMenuEntry, type RowMenuItem, type RowMenuProps, SHOWN, STEP_UP_REQUIRED, STRONG_FACTOR_REQUIRED, type Scale, SearchInput, type SearchInputProps, SearchPicker, type SearchPickerMessages, type SearchPickerProps, type SectionMove, SegmentedControl, type SegmentedControlProps, type SegmentedItem, SelectField, type SelectFieldProps, type SelectOption, type ServerInsertedHTML, type SettingsArea, SettingsLayout, type SettingsLayoutProps, type SettingsPage, type SettingsSection, SlideItem, type SlideItemProps, SlideList, type SlideListProps, type SlotSave, type SortDirection, type SortableSection, SortableSections, type SortableSectionsProps, type StatusCategory, StatusPill, type StatusPillProps, type StatusTone, StepUpDialog, type StepUpHandler, type StepUpNeed, Swap, type SwapProps, SwitchField, type SwitchFieldProps, TITLE_SEPARATOR, TextBone, type TextBoneProps, TextSlot, type TextSlotProps, type TimelineCardItem, TimelineCards, type TimelineCardsProps, TimelineChart, type TimelineChartProps, type TimelineItem, type TimelineRow, type TimelineScale, type TitleParts, Toaster, Tooltip, type TooltipProps, TranslatedInput, type TranslatedInputProps, type TranslationsLabels, UPLOADS_AT_ONCE, type UploadJob, UploadList, type UploadListProps, type UploadRow, type UploadState, abpConfig, abpListParams, abpListSource, arriveCss, asMotionSetting, avatarPalette, basicConditions, boneWidth, burst, compactLayout, compareOrdinal, composeTitle, covers, createAbpSystem, createAreaTexts, createHostEvents, createHostRequest, createPasskey, curves, defaultBrand, defaultLabels, defaultPickerLabels, defaultQueryListLabels, defaultTranslationsLabels, directionOf, droppedFiles, emptyQuery, errorText, fileNameOf, findSettingsPage, folderOf, foldersFor, formatDateTime, formatMessage, formatNumber, getPasskey, ghostCss, groupKey, heavierFirst, hiddenPose, inSections, isStepUp, looksLikeCode, durations as motionDurations, needsStepUp, notify, pageCount, pageList, pagesShown, partsOf, passkeysSupported, pastedName, personLabel, placeCards, placeItem, priorityLevel, progressOf, readAbpError, readEvents, refusal, requestStepUp, setStepUpHandler, settingsArea, shineCss, springs, staggerDelay, stepUpNeedOf, targetOf, toStart, toaster, useAbpLabels, useAbpLocale, useAbpTimeZone, useApiAction, useApiDownload, useApiQuery, useAreaEvents, useAreaListSource, useAreaRequest, useArriving, useCan, useCelebrate, useColorMode, useConfirm, useDropZone, useFilesOverPage, useFormatters, useHost, useHostLanguages, useLinkComponent, useListState, useLoading, useMe, useMotionSetting, useNames, useNavigate, useOptionalHost, usePageDrop, usePageTitle, usePageTitleParts, usePageTitleSite, usePastedFiles, usePluginTexts, useProductName, useSettledValue, useSlotSaves, useTokenVar };