@abpjs/ui 0.1.0 → 0.2.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/dist/ai.d.ts +494 -0
- package/dist/ai.js +1305 -0
- package/dist/ai.js.map +1 -0
- package/dist/index.d.ts +284 -3
- package/dist/index.js +1719 -1005
- package/dist/index.js.map +1 -1
- package/dist/rules.js.map +1 -1
- package/package.json +6 -1
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 {
|
|
4
|
+
import { ComponentType, ReactNode, 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';
|
|
@@ -85,6 +85,10 @@ interface AbpLabels {
|
|
|
85
85
|
sortAscending: string;
|
|
86
86
|
sortDescending: string;
|
|
87
87
|
path: string;
|
|
88
|
+
/** A form's field that's required and empty. */
|
|
89
|
+
formRequired: string;
|
|
90
|
+
/** Above a form with wrong fields, `{count}` of them (ICU plural). */
|
|
91
|
+
formFix: string;
|
|
88
92
|
queryList: QueryListLabels;
|
|
89
93
|
}
|
|
90
94
|
/** Strings of QueryableList. {name} placeholders are filled in by the component. */
|
|
@@ -189,6 +193,201 @@ declare const defaultQueryListLabels: QueryListLabels;
|
|
|
189
193
|
declare const defaultLabels: AbpLabels;
|
|
190
194
|
declare function useAbpLabels(): AbpLabels;
|
|
191
195
|
|
|
196
|
+
/**
|
|
197
|
+
* An answer the server refused, in ABP's error shape (`{ error: { code, message, details, validationErrors } }`), or
|
|
198
|
+
* a problem's title, or the status. Read as JSON whatever the content type says, as file routes answer refusals so.
|
|
199
|
+
*/
|
|
200
|
+
declare class AbpApiError extends Error {
|
|
201
|
+
status: number;
|
|
202
|
+
code: string | null;
|
|
203
|
+
details: string | null;
|
|
204
|
+
validationErrors: {
|
|
205
|
+
message: string;
|
|
206
|
+
members?: string[];
|
|
207
|
+
}[];
|
|
208
|
+
/** The error's data, e.g. { start, end } for a query error. */
|
|
209
|
+
data: Record<string, unknown> | null;
|
|
210
|
+
constructor(status: number, code: string | null, message: string, details?: string | null, validationErrors?: {
|
|
211
|
+
message: string;
|
|
212
|
+
members?: string[];
|
|
213
|
+
}[], data?: Record<string, unknown> | null);
|
|
214
|
+
}
|
|
215
|
+
/** The error for a sensitive action that needs the person to confirm who they are again. */
|
|
216
|
+
declare const STEP_UP_REQUIRED = "step_up_required";
|
|
217
|
+
declare function readAbpError(res: Response): Promise<AbpApiError>;
|
|
218
|
+
/** An error as a person reads it. */
|
|
219
|
+
declare function errorText(e: unknown): string;
|
|
220
|
+
declare const isStepUp: (e: unknown) => boolean;
|
|
221
|
+
|
|
222
|
+
/** What a call sends: its method, a JSON body (or FormData as is), headers, and a way to stop it. */
|
|
223
|
+
interface HostRequestInit {
|
|
224
|
+
method?: string;
|
|
225
|
+
body?: unknown;
|
|
226
|
+
headers?: Record<string, string>;
|
|
227
|
+
signal?: AbortSignal;
|
|
228
|
+
/** The answer as a file (a Blob and the name Content-Disposition gives) rather than JSON. */
|
|
229
|
+
as?: 'json' | 'file';
|
|
230
|
+
}
|
|
231
|
+
/** A file the server answered with. */
|
|
232
|
+
interface HostFile {
|
|
233
|
+
blob: Blob;
|
|
234
|
+
name: string | null;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* The host's way to call its server (ADR 0109): same origin, with its own session, anti-forgery header, sign-in
|
|
238
|
+
* redirect and step-up. Throws `AbpApiError` for a refusal. The screens call nothing else.
|
|
239
|
+
*/
|
|
240
|
+
type HostRequest = <T = unknown>(path: string, init?: HostRequestInit) => Promise<T>;
|
|
241
|
+
interface HostRequestOptions {
|
|
242
|
+
/** The anti-forgery cookie's name and the header it's sent in on every call that changes something. */
|
|
243
|
+
csrf?: {
|
|
244
|
+
cookie: string;
|
|
245
|
+
header: string;
|
|
246
|
+
};
|
|
247
|
+
/** A 401: the host sends the person to sign in. */
|
|
248
|
+
onUnauthorized?: () => void;
|
|
249
|
+
/**
|
|
250
|
+
* A 403 `step_up_required`: the host confirms the person again; true retries the call once. By default the step-up
|
|
251
|
+
* dialog `AbpProvider` draws asks (`requestStepUp`), and without one the call fails as the server answered.
|
|
252
|
+
*/
|
|
253
|
+
stepUp?: () => Promise<boolean>;
|
|
254
|
+
/** More headers on every call (a development user, a tenant). */
|
|
255
|
+
headers?: () => Record<string, string>;
|
|
256
|
+
fetch?: typeof fetch;
|
|
257
|
+
}
|
|
258
|
+
/** A file's name from Content-Disposition, `filename*=UTF-8''…` first. */
|
|
259
|
+
declare function fileNameOf(disposition: string | null): string | null;
|
|
260
|
+
/**
|
|
261
|
+
* A host request for a host that has none of its own: cookies for the session, the anti-forgery cookie echoed in its
|
|
262
|
+
* header, a 401 handed to the host, and one retry after a step-up (the provider's step-up dialog unless `stepUp` is given). A host with its own request passes that instead.
|
|
263
|
+
*/
|
|
264
|
+
declare function createHostRequest(options?: HostRequestOptions): HostRequest;
|
|
265
|
+
|
|
266
|
+
/** One server-sent event: its name (`message` when none), its data as JSON, and its id when it has one. */
|
|
267
|
+
type HostEventHandler = (name: string, data: Record<string, unknown>, id: string | null) => void;
|
|
268
|
+
/**
|
|
269
|
+
* The host's way to read a stream of server-sent events (ADR 0109 amendment): resumed from `lastEventId`, stopped by
|
|
270
|
+
* `signal`. Resolves with the last event's id when the stream ends; throws the host's error (a refusal, a 401, a
|
|
271
|
+
* step-up not confirmed) before it starts. Optional: a screen without it asks again every few seconds.
|
|
272
|
+
*/
|
|
273
|
+
type HostEvents = (path: string, onEvent: HostEventHandler, options?: {
|
|
274
|
+
lastEventId?: string | null;
|
|
275
|
+
signal?: AbortSignal;
|
|
276
|
+
}) => Promise<string | null>;
|
|
277
|
+
/** Reads a response's server-sent events to its end. */
|
|
278
|
+
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. */
|
|
280
|
+
declare function createHostEvents(options?: Pick<HostRequestOptions, 'onUnauthorized' | 'stepUp' | 'headers' | 'fetch'>): HostEvents;
|
|
281
|
+
|
|
282
|
+
/** A scope as a host knows it: a project, an org unit. */
|
|
283
|
+
interface HostScope {
|
|
284
|
+
id: string;
|
|
285
|
+
name: string;
|
|
286
|
+
/** Its short code (a project's key), when the host has one. */
|
|
287
|
+
code?: string;
|
|
288
|
+
parentId?: string | null;
|
|
289
|
+
}
|
|
290
|
+
/** One of the site's languages, for names by language. */
|
|
291
|
+
interface HostLanguage {
|
|
292
|
+
code: string;
|
|
293
|
+
name: string;
|
|
294
|
+
direction?: 'ltr' | 'rtl';
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* What a host gives the screens (ADR 0109 amendment): how to call its server, where each package's API is, how to
|
|
298
|
+
* move, what the person may do, its scopes and people, its languages, its words for any text, and the slots it fills.
|
|
299
|
+
*/
|
|
300
|
+
interface AbpHost {
|
|
301
|
+
/** The host's request: same origin, its session, anti-forgery header, sign-in and step-up (`createHostRequest`). */
|
|
302
|
+
request: HostRequest;
|
|
303
|
+
/** The host's reader for server-sent events (`createHostEvents`); without it, a live screen asks again every few seconds. */
|
|
304
|
+
events?: HostEvents;
|
|
305
|
+
/** The person signed in: their account's id, for "you" and for what's theirs. */
|
|
306
|
+
me?: {
|
|
307
|
+
accountId: string;
|
|
308
|
+
};
|
|
309
|
+
/** Each package's base path on this host: `{ ai: '/api/platform/ai', guard: '/api/guard', agent: '/api/agent' }`. */
|
|
310
|
+
paths: Record<string, string>;
|
|
311
|
+
/** Go to an address in the host's router. */
|
|
312
|
+
navigate?: (href: string) => void;
|
|
313
|
+
/** Whether the person may: a right in the package's own terms (`ai.scope.admin`), for one scope when given. */
|
|
314
|
+
can?: (right: string, scopeId?: string) => boolean;
|
|
315
|
+
/** The host's scopes, for pickers and for naming the ids a screen shows. */
|
|
316
|
+
scopes?: {
|
|
317
|
+
search: (text: string) => Promise<HostScope[]>;
|
|
318
|
+
name?: (ids: string[]) => Promise<Record<string, string>>;
|
|
319
|
+
};
|
|
320
|
+
/** People's names for rows that carry only an id. */
|
|
321
|
+
names?: (accountIds: string[]) => Promise<Record<string, string>>;
|
|
322
|
+
/** The site's languages, the first the default. */
|
|
323
|
+
languages?: HostLanguage[];
|
|
324
|
+
/** The host's words for any area's text, by area then language then key: `{ ai: { en: { 'models.title': 'AI models' } } }`. */
|
|
325
|
+
texts?: Record<string, Record<string, Record<string, string>>>;
|
|
326
|
+
/**
|
|
327
|
+
* Whether `AbpProvider` draws the step-up dialog (on `paths.guard`), which `createHostRequest` asks by default. On
|
|
328
|
+
* when the host gives `paths.guard`; false for a host that has its own dialog.
|
|
329
|
+
*/
|
|
330
|
+
stepUpDialog?: boolean;
|
|
331
|
+
/** What the host draws in a screen's named places (`guard.account.panels`, `guard.directory.panel`). */
|
|
332
|
+
slots?: Record<string, ComponentType<Record<string, unknown>>>;
|
|
333
|
+
}
|
|
334
|
+
declare function HostProvider({ value, children }: {
|
|
335
|
+
value?: AbpHost;
|
|
336
|
+
children: ReactNode;
|
|
337
|
+
}): react.JSX.Element;
|
|
338
|
+
/** The host, for a screen that needs it; a screen rendered without one says so. */
|
|
339
|
+
declare function useHost(): AbpHost;
|
|
340
|
+
/** The host when there is one: for parts that also work without (a slot that draws nothing). */
|
|
341
|
+
declare function useOptionalHost(): AbpHost | null;
|
|
342
|
+
/** A package's calls on this host: its base path in front of each path. */
|
|
343
|
+
declare function useAreaRequest(area: string): HostRequest;
|
|
344
|
+
interface ApiQuery<T> {
|
|
345
|
+
data: T | undefined;
|
|
346
|
+
error: string | null;
|
|
347
|
+
loading: boolean;
|
|
348
|
+
reload: () => Promise<void>;
|
|
349
|
+
setData: (value: T) => void;
|
|
350
|
+
}
|
|
351
|
+
/** GET a package's path on this host, again when the path changes; null waits. The answer to the latest call wins. */
|
|
352
|
+
declare function useApiQuery<T>(area: string, path: string | null): ApiQuery<T>;
|
|
353
|
+
/** An action's busy state and error: `run` gives what the action returns, or undefined when it failed. */
|
|
354
|
+
declare function useApiAction(): {
|
|
355
|
+
busy: boolean;
|
|
356
|
+
error: string | null;
|
|
357
|
+
setError: react.Dispatch<react.SetStateAction<string | null>>;
|
|
358
|
+
run: <R>(fn: () => Promise<R>) => Promise<R | undefined>;
|
|
359
|
+
};
|
|
360
|
+
/** A file a package's path answers with, saved in the browser under the name the server gives (or the fallback). */
|
|
361
|
+
declare function useApiDownload(area: string): (path: string, init?: HostRequestInit, fallbackName?: string) => Promise<HostFile>;
|
|
362
|
+
/**
|
|
363
|
+
* A package's stream of server-sent events on this host, or null when the host reads none (the screen then asks again
|
|
364
|
+
* every few seconds). Resolves with the last event's id, for resuming.
|
|
365
|
+
*/
|
|
366
|
+
declare function useAreaEvents(area: string): ((path: string, onEvent: HostEventHandler, options?: {
|
|
367
|
+
lastEventId?: string | null;
|
|
368
|
+
signal?: AbortSignal;
|
|
369
|
+
}) => Promise<string | null>) | null;
|
|
370
|
+
/** The person signed in, when the host says. */
|
|
371
|
+
declare function useMe(): {
|
|
372
|
+
accountId: string;
|
|
373
|
+
} | null;
|
|
374
|
+
/** Go somewhere in the host's router (a link is `AppLink`). */
|
|
375
|
+
declare function useNavigate(): (href: string) => void;
|
|
376
|
+
/** Whether the person may: false when the host says nothing (the server decides anyway). */
|
|
377
|
+
declare function useCan(): (right: string, scopeId?: string) => boolean;
|
|
378
|
+
/** The site's languages, or none. */
|
|
379
|
+
declare function useHostLanguages(): HostLanguage[];
|
|
380
|
+
/**
|
|
381
|
+
* Names for ids a screen shows (people, scopes): those the server named already stay; the host names the rest, once
|
|
382
|
+
* per set of ids.
|
|
383
|
+
*/
|
|
384
|
+
declare function useNames(kind: 'people' | 'scopes', ids: readonly string[]): Record<string, string>;
|
|
385
|
+
/** What the host draws in a screen's named place, given the screen's context; nothing when the host fills none. */
|
|
386
|
+
declare function HostSlot({ name, context }: {
|
|
387
|
+
name: string;
|
|
388
|
+
context?: Record<string, unknown>;
|
|
389
|
+
}): react.JSX.Element | null;
|
|
390
|
+
|
|
192
391
|
/**
|
|
193
392
|
* The host's router link (next/link in the shell). Components that render links use it so
|
|
194
393
|
* navigation stays client-side, without the package importing a router.
|
|
@@ -208,6 +407,8 @@ interface AbpProviderProps {
|
|
|
208
407
|
children: ReactNode;
|
|
209
408
|
/** The host's Chakra system (`createAbpSystem` with its prefix and brand); the package's own when not given. */
|
|
210
409
|
system?: SystemContext;
|
|
410
|
+
/** What the host gives the screens (`@abpjs/ui/ai` and the other areas): its requests, paths, rights and words. */
|
|
411
|
+
host?: AbpHost;
|
|
211
412
|
/** BCP 47 locale ("en", "ar"). Sets direction for every component, portals included. */
|
|
212
413
|
locale?: string;
|
|
213
414
|
/** Translated strings for the components' own text (close, cancel, sort ...). */
|
|
@@ -232,7 +433,7 @@ interface AbpProviderProps {
|
|
|
232
433
|
*
|
|
233
434
|
* The host must also set `<html lang dir>` and `suppressHydrationWarning` on <html>.
|
|
234
435
|
*/
|
|
235
|
-
declare function AbpProvider({ children, system, locale, labels, linkComponent, defaultColorMode, pluginTexts, productName, timeZone, motion }: AbpProviderProps): react.JSX.Element;
|
|
436
|
+
declare function AbpProvider({ children, system, host, locale, labels, linkComponent, defaultColorMode, pluginTexts, productName, timeZone, motion }: AbpProviderProps): react.JSX.Element;
|
|
236
437
|
|
|
237
438
|
type ColorMode = 'light' | 'dark';
|
|
238
439
|
/** next-themes, configured the way Chakra v3 expects: a `light`/`dark` class on <html>. */
|
|
@@ -273,6 +474,8 @@ declare function PluginTextsProvider({ value, product, children }: {
|
|
|
273
474
|
product?: string;
|
|
274
475
|
children: ReactNode;
|
|
275
476
|
}): react.JSX.Element;
|
|
477
|
+
/** The product's name in the current language, as the host gives it (`AbpProvider`'s `productName`). */
|
|
478
|
+
declare function useProductName(): string;
|
|
276
479
|
/**
|
|
277
480
|
* A plugin's translate function (ADR 0026). The plugin ships its texts as `messages/{language}.json` in its package
|
|
278
481
|
* and passes the same files here as `bundled`; the shell supplies the site's version (an admin may have translated
|
|
@@ -1299,6 +1502,84 @@ declare function findSettingsPage<P extends {
|
|
|
1299
1502
|
href: string;
|
|
1300
1503
|
}>(pages: P[], pathname: string): P | undefined;
|
|
1301
1504
|
|
|
1505
|
+
/** A slot's own save, run when the dialog or form holding it saves. */
|
|
1506
|
+
type SlotSave = () => Promise<void> | void;
|
|
1507
|
+
/** What a slot inside a dialog receives to join its Save: it registers its save, and gets a way to take it back. */
|
|
1508
|
+
type RegisterSlotSave = (save: SlotSave) => () => void;
|
|
1509
|
+
/**
|
|
1510
|
+
* One Save for a dialog with slots in it (ADR 0109 amendment): the host's fields inside an area's dialog (a slot) add
|
|
1511
|
+
* their own save through `register`, which the slot gets in its context; when the person saves, the area saves its own
|
|
1512
|
+
* part first, then `run()` runs every slot's save in order. A slot that throws stops the rest, and the dialog shows
|
|
1513
|
+
* the error as it shows its own.
|
|
1514
|
+
*/
|
|
1515
|
+
declare function useSlotSaves(): {
|
|
1516
|
+
register: RegisterSlotSave;
|
|
1517
|
+
run: () => Promise<void>;
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1520
|
+
/** What asks the person to confirm who they are: true once confirmed, false if they gave up. */
|
|
1521
|
+
type StepUpHandler = () => Promise<boolean>;
|
|
1522
|
+
/** The step-up dialog registers itself here (`StepUpDialog`, drawn by `AbpProvider`); null when it goes. */
|
|
1523
|
+
declare function setStepUpHandler(next: StepUpHandler | null): void;
|
|
1524
|
+
/**
|
|
1525
|
+
* Asks the person to confirm who they are, once however many calls are waiting for it (ADR 0109 amendment). False when
|
|
1526
|
+
* nothing is registered to ask with: the call then fails with the server's `step_up_required`, as it would without.
|
|
1527
|
+
*/
|
|
1528
|
+
declare function requestStepUp(): Promise<boolean>;
|
|
1529
|
+
|
|
1530
|
+
/** Whether what was typed can be a code yet: six digits (spaces between are fine), or a recovery code's ten characters. */
|
|
1531
|
+
declare function looksLikeCode(value: string, recovery: boolean): boolean;
|
|
1532
|
+
/**
|
|
1533
|
+
* Asks for the password again before a sensitive action (ADR 0109 amendment, on AbpGuard's step-up): the server answers
|
|
1534
|
+
* 403 `step_up_required`, the host's request asks here, and the call is tried again once confirmed. A person with a
|
|
1535
|
+
* second factor gives a code too, from their app, a recovery code, or one the site sends. Too many wrong passwords end
|
|
1536
|
+
* the session (401), which the host's request hands to the host. `AbpProvider` draws it when the host gives
|
|
1537
|
+
* `paths.guard`; a host with its own dialog sets `stepUpDialog: false`.
|
|
1538
|
+
*/
|
|
1539
|
+
declare function StepUpDialog(): react.JSX.Element;
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* A text with its values filled, in the subset of ICU message syntax the screens' texts use: `{name}`, plurals
|
|
1543
|
+
* (`{count, plural, =0 {none} one {# item} other {# items}}`, with Arabic's zero, two, few and many) and choices
|
|
1544
|
+
* (`{kind, select, a {…} other {…}}`), nested. No React and no i18n library; a value that's missing stays as `{name}`.
|
|
1545
|
+
*/
|
|
1546
|
+
declare function formatMessage(locale: string, pattern: string, values?: Record<string, string | number>): string;
|
|
1547
|
+
|
|
1548
|
+
/** An area's texts in one language: flat keys (`models.title`) to texts in the subset of ICU `formatMessage` reads. */
|
|
1549
|
+
type AreaTexts = Record<string, string>;
|
|
1550
|
+
/**
|
|
1551
|
+
* An area's words (ADR 0109 amendment): its own English and Arabic (and any other language), which a host overrides
|
|
1552
|
+
* key by key through `AbpHost.texts[area]`. The language is the provider's; a key missing in it falls back to its base
|
|
1553
|
+
* language (ar for ar-SA), then English, then the key itself. `{product}` is the host's product name unless `values`
|
|
1554
|
+
* gives one.
|
|
1555
|
+
*/
|
|
1556
|
+
declare function createAreaTexts(area: string, bundled: {
|
|
1557
|
+
en: AreaTexts;
|
|
1558
|
+
} & Record<string, AreaTexts>): () => (key: string, values?: Record<string, string | number>) => string;
|
|
1559
|
+
|
|
1560
|
+
interface FormDialogProps {
|
|
1561
|
+
open: boolean;
|
|
1562
|
+
onOpenChange: (open: boolean) => void;
|
|
1563
|
+
title: ReactNode;
|
|
1564
|
+
description?: ReactNode;
|
|
1565
|
+
submitLabel: ReactNode;
|
|
1566
|
+
onSubmit: () => void | Promise<void>;
|
|
1567
|
+
busy?: boolean;
|
|
1568
|
+
error?: string | null;
|
|
1569
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
1570
|
+
/** No submit button (the form inside has its own, e.g. a plugin's create view). */
|
|
1571
|
+
hideSubmit?: boolean;
|
|
1572
|
+
/** The submit button is off until what the form needs is filled in. */
|
|
1573
|
+
submitDisabled?: boolean;
|
|
1574
|
+
children: ReactNode;
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* A dialog holding a form: title, fields, the server's error message, and Cancel / submit. A field left wrong (required
|
|
1578
|
+
* and empty, or not in its shape) is marked when the person leaves it, not while they type; submitting with any wrong
|
|
1579
|
+
* lists them at the top, each a link to its field, and sends nothing.
|
|
1580
|
+
*/
|
|
1581
|
+
declare function FormDialog({ open, onOpenChange, title, description, submitLabel, onSubmit, busy, error, size, hideSubmit, submitDisabled, children }: FormDialogProps): react.JSX.Element;
|
|
1582
|
+
|
|
1302
1583
|
/** A section of a settings area (Administration, a project's settings): the host's own, or one a package or plugin adds. */
|
|
1303
1584
|
interface SettingsSection {
|
|
1304
1585
|
key: string;
|
|
@@ -2479,4 +2760,4 @@ interface TooltipProps extends Omit<Tooltip$1.RootProps, 'children'> {
|
|
|
2479
2760
|
*/
|
|
2480
2761
|
declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & react.RefAttributes<HTMLDivElement>>;
|
|
2481
2762
|
|
|
2482
|
-
export { ABP_UI_VERSION, type AbpBrand, type AbpLabels, AbpProvider, type AbpProviderProps, type AbpSystemOptions, AppLink, type AppLinkProps, AppShell, type AppShellBrand, type AppShellNavItem, type AppShellNavSection, type AppShellPlace, type AppShellProps, type AppShellSidebar, 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, FormField, type GridItem, HighlightText, 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, Reveal, RevealItem, type RevealItemProps, type RevealProps, SHOWN, 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 SortDirection, type SortableSection, SortableSections, type SortableSectionsProps, type StatusCategory, StatusPill, type StatusPillProps, type StatusTone, 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, curves, defaultBrand, defaultLabels, defaultQueryListLabels, directionOf, droppedFiles, findSettingsPage, folderOf, foldersFor, formatDateTime, formatNumber, ghostCss, groupKey, heavierFirst, hiddenPose, inSections, durations as motionDurations, notify, pageList, partsOf, pastedName, placeCards, placeItem, priorityLevel, progressOf, refusal, settingsArea, shineCss, springs, staggerDelay, targetOf, toStart, toaster, useAbpLabels, useAbpLocale, useAbpTimeZone, useArriving, useCelebrate, useColorMode, useConfirm, useDropZone, useFilesOverPage, useFormatters, useLinkComponent, useLoading, useMotionSetting, usePageDrop, usePageTitle, usePageTitleParts, usePageTitleSite, usePastedFiles, usePluginTexts, useTokenVar };
|
|
2763
|
+
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 };
|