@burojs/ui-shadcn 0.8.0 → 0.10.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/dist/{bulk-summary-2HLgz7Il.cjs → bulk-summary-Chc61Pyw.cjs} +9 -7
- package/dist/bulk-summary-Chc61Pyw.cjs.map +1 -0
- package/dist/{bulk-summary-D6A0ua21.js → bulk-summary-DpSQD2Fq.js} +9 -7
- package/dist/bulk-summary-DpSQD2Fq.js.map +1 -0
- package/dist/{candidates-relation-picker-CGXItMN0.js → candidates-relation-picker-DRsHKe6N.js} +3 -3
- package/dist/{candidates-relation-picker-CGXItMN0.js.map → candidates-relation-picker-DRsHKe6N.js.map} +1 -1
- package/dist/{candidates-relation-picker-C47mF260.cjs → candidates-relation-picker-GIxsp7D_.cjs} +3 -3
- package/dist/{candidates-relation-picker-C47mF260.cjs.map → candidates-relation-picker-GIxsp7D_.cjs.map} +1 -1
- package/dist/{check-confirm-dialog-BT04Mieo.cjs → check-confirm-dialog-BMSb7wFv.cjs} +76 -9
- package/dist/check-confirm-dialog-BMSb7wFv.cjs.map +1 -0
- package/dist/{check-confirm-dialog-CtiRzOAt.js → check-confirm-dialog-B_u3YVHS.js} +72 -11
- package/dist/{check-confirm-dialog-CtiRzOAt.js.map → check-confirm-dialog-B_u3YVHS.js.map} +1 -1
- package/dist/{filter-builder-z3Axzf9Y.js → filter-builder-DX-xC3Yd.js} +14 -6
- package/dist/filter-builder-DX-xC3Yd.js.map +1 -0
- package/dist/{filter-builder-ByGhxLf_.cjs → filter-builder-Dt5E8PSX.cjs} +14 -6
- package/dist/filter-builder-Dt5E8PSX.cjs.map +1 -0
- package/dist/{flow-runtime-BVFjMU5-.cjs → flow-runtime-CQ4wf8co.cjs} +3 -3
- package/dist/{flow-runtime-BVFjMU5-.cjs.map → flow-runtime-CQ4wf8co.cjs.map} +1 -1
- package/dist/{flow-runtime-DrUWyTS0.js → flow-runtime-Q2vD7R3c.js} +3 -3
- package/dist/{flow-runtime-DrUWyTS0.js.map → flow-runtime-Q2vD7R3c.js.map} +1 -1
- package/dist/{flow-screen-3fk6J33y.js → flow-screen-B1y2yizP.js} +68 -29
- package/dist/flow-screen-B1y2yizP.js.map +1 -0
- package/dist/{flow-screen-6y5E_HT6.cjs → flow-screen-sw2cP70t.cjs} +67 -28
- package/dist/flow-screen-sw2cP70t.cjs.map +1 -0
- package/dist/index.cjs +2304 -247
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +119 -12
- package/dist/index.d.ts +119 -12
- package/dist/index.js +2225 -172
- package/dist/index.js.map +1 -1
- package/dist/{inline-flow-host-C4KmZIYE.cjs → inline-flow-host-CkhoA69R.cjs} +3 -3
- package/dist/{inline-flow-host-C4KmZIYE.cjs.map → inline-flow-host-CkhoA69R.cjs.map} +1 -1
- package/dist/{inline-flow-host-YnnvWjdU.js → inline-flow-host-DqbXqcPS.js} +3 -3
- package/dist/{inline-flow-host-YnnvWjdU.js.map → inline-flow-host-DqbXqcPS.js.map} +1 -1
- package/dist/{lazy-relation-picker-dialog-DN4bvQfg.js → lazy-relation-picker-dialog-BaIEWLbF.js} +3 -52
- package/dist/lazy-relation-picker-dialog-BaIEWLbF.js.map +1 -0
- package/dist/{lazy-relation-picker-dialog-BAKBRn3V.cjs → lazy-relation-picker-dialog-CeRzOAi0.cjs} +3 -52
- package/dist/lazy-relation-picker-dialog-CeRzOAi0.cjs.map +1 -0
- package/dist/{page-flow-route-CtEfqAvU.js → page-flow-route-CP7cS7FY.js} +7 -7
- package/dist/page-flow-route-CP7cS7FY.js.map +1 -0
- package/dist/{page-flow-route-DEjAxHe3.cjs → page-flow-route-UDx8qvdM.cjs} +10 -10
- package/dist/page-flow-route-UDx8qvdM.cjs.map +1 -0
- package/dist/{place-node-Bhl8B3fF.cjs → place-node-C5ZmuHaN.cjs} +208 -55
- package/dist/place-node-C5ZmuHaN.cjs.map +1 -0
- package/dist/{place-node-BdxT-30h.js → place-node-DwWAigv0.js} +205 -58
- package/dist/place-node-DwWAigv0.js.map +1 -0
- package/dist/record-trail-store-Cjo9vtod.cjs +126 -0
- package/dist/record-trail-store-Cjo9vtod.cjs.map +1 -0
- package/dist/record-trail-store-Dn6bVry4.js +91 -0
- package/dist/record-trail-store-Dn6bVry4.js.map +1 -0
- package/dist/{related-list-cards-Bc_vfCE_.cjs → related-list-cards-BypKfm9t.cjs} +3 -3
- package/dist/{related-list-cards-Bc_vfCE_.cjs.map → related-list-cards-BypKfm9t.cjs.map} +1 -1
- package/dist/{related-list-cards-BvkD5OcC.js → related-list-cards-Dcmruy09.js} +3 -3
- package/dist/{related-list-cards-BvkD5OcC.js.map → related-list-cards-Dcmruy09.js.map} +1 -1
- package/dist/{related-list-timeline-k0DtnxTs.cjs → related-list-timeline-D-KClgKb.cjs} +4 -4
- package/dist/related-list-timeline-D-KClgKb.cjs.map +1 -0
- package/dist/{related-list-timeline-DCrwN9oO.js → related-list-timeline-DZON_qSc.js} +4 -4
- package/dist/related-list-timeline-DZON_qSc.js.map +1 -0
- package/dist/{related-rows-BW9Jr07T.cjs → related-rows-DgF05ssi.cjs} +4 -4
- package/dist/{related-rows-BW9Jr07T.cjs.map → related-rows-DgF05ssi.cjs.map} +1 -1
- package/dist/{related-rows-CPE-9FFr.js → related-rows-ETZl5CB9.js} +4 -4
- package/dist/{related-rows-CPE-9FFr.js.map → related-rows-ETZl5CB9.js.map} +1 -1
- package/dist/{relation-create-DDEYcKfw.cjs → relation-create-B8zngAcA.cjs} +82 -13
- package/dist/relation-create-B8zngAcA.cjs.map +1 -0
- package/dist/{relation-create-C43cdPQt.js → relation-create-CeCWyxIb.js} +79 -16
- package/dist/relation-create-CeCWyxIb.js.map +1 -0
- package/dist/{relation-many-picker-BlrGRwMV.js → relation-many-picker-CT7nKfE2.js} +12 -10
- package/dist/relation-many-picker-CT7nKfE2.js.map +1 -0
- package/dist/{relation-many-picker-Br-zBHxT.cjs → relation-many-picker-Cq0EHY5I.cjs} +12 -10
- package/dist/relation-many-picker-Cq0EHY5I.cjs.map +1 -0
- package/dist/{relation-picker-x7P5HKie.js → relation-picker-CCyuMeGq.js} +13 -10
- package/dist/relation-picker-CCyuMeGq.js.map +1 -0
- package/dist/{relation-picker-ADjxI_TI.cjs → relation-picker-DmwTzgsd.cjs} +13 -10
- package/dist/relation-picker-DmwTzgsd.cjs.map +1 -0
- package/dist/{relation-picker-dialog-CyKliBkN.js → relation-picker-dialog-CoWKjNv8.js} +5 -5
- package/dist/relation-picker-dialog-CoWKjNv8.js.map +1 -0
- package/dist/{relation-picker-dialog-DimVQF9Y.cjs → relation-picker-dialog-mbwyNK43.cjs} +5 -5
- package/dist/relation-picker-dialog-mbwyNK43.cjs.map +1 -0
- package/dist/{relation-select-Cr3CfNLy.cjs → relation-select-CguIo2M5.cjs} +2 -2
- package/dist/{relation-select-Cr3CfNLy.cjs.map → relation-select-CguIo2M5.cjs.map} +1 -1
- package/dist/{relation-select-B8Fq4o-t.js → relation-select-nAYxhopN.js} +2 -2
- package/dist/{relation-select-B8Fq4o-t.js.map → relation-select-nAYxhopN.js.map} +1 -1
- package/dist/{success-notices-Dl3M1fZP.cjs → success-notices-Cl4b6MLQ.cjs} +3 -2
- package/dist/success-notices-Cl4b6MLQ.cjs.map +1 -0
- package/dist/{success-notices-LDEgEkc4.js → success-notices-CrcWOGSo.js} +3 -2
- package/dist/success-notices-CrcWOGSo.js.map +1 -0
- package/dist/{use-dialog-filter-state-tNvqAAjh.cjs → use-dialog-filter-state-CpWblz3C.cjs} +2 -2
- package/dist/{use-dialog-filter-state-tNvqAAjh.cjs.map → use-dialog-filter-state-CpWblz3C.cjs.map} +1 -1
- package/dist/{use-dialog-filter-state-B_MqzHaT.js → use-dialog-filter-state-ZYxOp5WO.js} +2 -2
- package/dist/{use-dialog-filter-state-B_MqzHaT.js.map → use-dialog-filter-state-ZYxOp5WO.js.map} +1 -1
- package/dist/{use-record-subtitle-bfwIoUme.cjs → use-record-subtitle-B4lTR7pf.cjs} +5 -8
- package/dist/use-record-subtitle-B4lTR7pf.cjs.map +1 -0
- package/dist/{use-record-subtitle-gIaCGgbI.js → use-record-subtitle-pWMBqQx9.js} +5 -8
- package/dist/use-record-subtitle-pWMBqQx9.js.map +1 -0
- package/package.json +9 -9
- package/dist/bulk-summary-2HLgz7Il.cjs.map +0 -1
- package/dist/bulk-summary-D6A0ua21.js.map +0 -1
- package/dist/check-confirm-dialog-BT04Mieo.cjs.map +0 -1
- package/dist/filter-builder-ByGhxLf_.cjs.map +0 -1
- package/dist/filter-builder-z3Axzf9Y.js.map +0 -1
- package/dist/flow-screen-3fk6J33y.js.map +0 -1
- package/dist/flow-screen-6y5E_HT6.cjs.map +0 -1
- package/dist/lazy-relation-picker-dialog-BAKBRn3V.cjs.map +0 -1
- package/dist/lazy-relation-picker-dialog-DN4bvQfg.js.map +0 -1
- package/dist/page-flow-route-CtEfqAvU.js.map +0 -1
- package/dist/page-flow-route-DEjAxHe3.cjs.map +0 -1
- package/dist/place-node-BdxT-30h.js.map +0 -1
- package/dist/place-node-Bhl8B3fF.cjs.map +0 -1
- package/dist/related-list-timeline-DCrwN9oO.js.map +0 -1
- package/dist/related-list-timeline-k0DtnxTs.cjs.map +0 -1
- package/dist/relation-create-C43cdPQt.js.map +0 -1
- package/dist/relation-create-DDEYcKfw.cjs.map +0 -1
- package/dist/relation-many-picker-BlrGRwMV.js.map +0 -1
- package/dist/relation-many-picker-Br-zBHxT.cjs.map +0 -1
- package/dist/relation-picker-ADjxI_TI.cjs.map +0 -1
- package/dist/relation-picker-dialog-CyKliBkN.js.map +0 -1
- package/dist/relation-picker-dialog-DimVQF9Y.cjs.map +0 -1
- package/dist/relation-picker-x7P5HKie.js.map +0 -1
- package/dist/resource-page-router-BRpUnhay.js +0 -1958
- package/dist/resource-page-router-BRpUnhay.js.map +0 -1
- package/dist/resource-page-router-qEd2xb55.cjs +0 -2167
- package/dist/resource-page-router-qEd2xb55.cjs.map +0 -1
- package/dist/success-notices-Dl3M1fZP.cjs.map +0 -1
- package/dist/success-notices-LDEgEkc4.js.map +0 -1
- package/dist/use-record-subtitle-bfwIoUme.cjs.map +0 -1
- package/dist/use-record-subtitle-gIaCGgbI.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -382,7 +382,8 @@ interface BuildNavItemsArgs {
|
|
|
382
382
|
* instead of remounting it), label via the i18n resolvers (reactive on locale),
|
|
383
383
|
* and `active` via the spec §8.2 rule — a leaf is active when it IS the
|
|
384
384
|
* current match; a sub-group is active when it is an ANCESTOR of the match
|
|
385
|
-
* (on `match.groupChain`). Children failing `isVisible`/`entryFilter` drop
|
|
385
|
+
* (on `match.groupChain`). Children failing `isVisible`/`entryFilter` drop,
|
|
386
|
+
* and so does a sub-group with no reachable member (`groupNavHref`).
|
|
386
387
|
*/
|
|
387
388
|
declare function buildNavItems(args: BuildNavItemsArgs): NavItem[];
|
|
388
389
|
//#endregion
|
|
@@ -434,6 +435,13 @@ interface NavChromeProps {
|
|
|
434
435
|
*/
|
|
435
436
|
declare function NavChrome({ children, entryFilter, icons }: NavChromeProps): ReactElement;
|
|
436
437
|
//#endregion
|
|
438
|
+
//#region src/layout/nav-area-not-found.d.ts
|
|
439
|
+
/**
|
|
440
|
+
* The framework's 404 panel, inside the shell: a route that names nothing the app declares. Exported
|
|
441
|
+
* so an app's own catch-all route can draw the same panel (`data-testid="nav-area-not-found"`).
|
|
442
|
+
*/
|
|
443
|
+
declare function NavAreaNotFound(): ReactElement;
|
|
444
|
+
//#endregion
|
|
437
445
|
//#region src/layout/resource-page-router.d.ts
|
|
438
446
|
interface ResourcePageRouterProps {
|
|
439
447
|
match: RouteMatch;
|
|
@@ -444,6 +452,9 @@ interface ResourcePageRouterProps {
|
|
|
444
452
|
*
|
|
445
453
|
* - `{ kind: 'resource', action: 'list' }` → `<ResourceListPage>`, which
|
|
446
454
|
* self-fetches through `useResourceList`;
|
|
455
|
+
* - a collection's `create` → its members' picker (`<CollectionCreatePicker>`, REF-131 §10.6),
|
|
456
|
+
* and its show, edit and flow routes → `<CollectionRecordRoute>`, which redirects to the row's
|
|
457
|
+
* member or shows the base card of a type no member claims (§10.2, §10.5);
|
|
447
458
|
* - `show`, `edit` and `create` → `<RecordRoute>` (the
|
|
448
459
|
* component `<RecordPage>` renders), which reads with `useOne`, writes with
|
|
449
460
|
* `useUpdateOne`/`useCreateOne`, navigates after a write and renders the
|
|
@@ -1493,7 +1504,8 @@ interface CommandPaletteCreateGroupProps {
|
|
|
1493
1504
|
* Filters applied (in order):
|
|
1494
1505
|
*
|
|
1495
1506
|
* 1. Resources with no list page (`views.list.page: false`) are
|
|
1496
|
-
* excluded — they are reached through a parent's placement
|
|
1507
|
+
* excluded — they are reached through a parent's placement — and so
|
|
1508
|
+
* are collections, whose members are listed themselves.
|
|
1497
1509
|
* 2. `useResourceVisible()` (the sidebar's predicate: its `visible(ctx)`) must return true.
|
|
1498
1510
|
* Same predicate the sidebar + navigation group use, fail-closed
|
|
1499
1511
|
* on throwing predicates. Hidden in sidebar → hidden here.
|
|
@@ -1616,7 +1628,8 @@ declare function RefreshButton({ className }: RefreshButtonProps): ReactElement
|
|
|
1616
1628
|
* The app-level action strip: every `defineAppAction` entry that belongs to no resource, already
|
|
1617
1629
|
* filtered by the rule engine (`useAppActions`). Only entries that resolve to a route render: a
|
|
1618
1630
|
* `link`, or a flow hosted on a page (`hostHref`). A `modal` entry needs a presentation host and is
|
|
1619
|
-
* skipped. `disabledReason` keeps the action visible but inert, with the reason as its tooltip
|
|
1631
|
+
* skipped. `disabledReason` keeps the action visible but inert, with the reason as its tooltip; an
|
|
1632
|
+
* `undecided` one (the permission map loading) keeps its place, disabled and busy.
|
|
1620
1633
|
*/
|
|
1621
1634
|
declare function AppActions(): ReactElement | null;
|
|
1622
1635
|
//#endregion
|
|
@@ -2244,8 +2257,10 @@ interface RelationPickerProps<N extends string = string> {
|
|
|
2244
2257
|
ariaDescribedBy?: string;
|
|
2245
2258
|
/** Forwarded to the trigger button as `aria-errormessage` (WAI-ARIA 1.2). */
|
|
2246
2259
|
ariaErrorMessage?: string;
|
|
2260
|
+
/** Id of the field's label element: the option list is named by it, else by the target's name. */
|
|
2261
|
+
ariaLabelledBy?: string;
|
|
2247
2262
|
}
|
|
2248
|
-
declare function RelationPicker<const N extends string = string>({ to: toInput, value, onChange, by, searchField, pageSize, clearable, placeholder, name, id, testid, fixedFilters, createSeeds, candidatesGate, rowFits, fieldName, open: openMode, optionSubtitle, scope, disabled, required, className, ariaInvalid, ariaDescribedBy, ariaErrorMessage }: RelationPickerProps<N>): React$1.ReactElement;
|
|
2263
|
+
declare function RelationPicker<const N extends string = string>({ to: toInput, value, onChange, by, searchField, pageSize, clearable, placeholder, name, id, testid, fixedFilters, createSeeds, candidatesGate, rowFits, fieldName, open: openMode, optionSubtitle, scope, disabled, required, className, ariaInvalid, ariaDescribedBy, ariaErrorMessage, ariaLabelledBy }: RelationPickerProps<N>): React$1.ReactElement;
|
|
2249
2264
|
/**
|
|
2250
2265
|
* Form-field adapter wrapping `<RelationPicker>` for use as a default
|
|
2251
2266
|
* Input renderer in the field registry. Reads `field.meta.to` for the
|
|
@@ -2783,6 +2798,15 @@ interface DeclarativeFormProps<F extends ResourceFieldMap = ResourceFieldMap> {
|
|
|
2783
2798
|
* it is not drawn and not submitted.
|
|
2784
2799
|
*/
|
|
2785
2800
|
readonly body?: FormBody<F>;
|
|
2801
|
+
/**
|
|
2802
|
+
* `'create'` (the default): every value the form starts from counts as changed, as on a record
|
|
2803
|
+
* create. `'edit'`: `value` / `defaults` are the stored values, and a value left as it started is
|
|
2804
|
+
* untouched, as on a record edit: an enum value the enum no longer offers saves untouched (no
|
|
2805
|
+
* `enum.unavailable`), a `now` date bound judges only a changed field, `form.isDirty` compares
|
|
2806
|
+
* against them, the check surface defaults to `'edit'`, and a draft is keyed by their `id` (with
|
|
2807
|
+
* no `id`, an edit keeps no draft).
|
|
2808
|
+
*/
|
|
2809
|
+
readonly mode?: 'create' | 'edit';
|
|
2786
2810
|
/** The draft identity; `draft` without it is a development error. */
|
|
2787
2811
|
readonly formId?: string;
|
|
2788
2812
|
readonly draft?: DraftOption;
|
|
@@ -2800,7 +2824,7 @@ interface DeclarativeFormProps<F extends ResourceFieldMap = ResourceFieldMap> {
|
|
|
2800
2824
|
* mounted `<CheckConfirmDialog>`.
|
|
2801
2825
|
*/
|
|
2802
2826
|
readonly checks?: readonly Check[];
|
|
2803
|
-
/** The check surface; default `'create'
|
|
2827
|
+
/** The check surface; default `'edit'` in edit mode, `'create'` otherwise. */
|
|
2804
2828
|
readonly surface?: CheckSurface;
|
|
2805
2829
|
/** Receives the payload: the active declared fields only. */
|
|
2806
2830
|
readonly onSubmit?: (values: FormValues) => unknown | Promise<unknown>;
|
|
@@ -2962,7 +2986,9 @@ interface ExportButtonProps<N extends string = string> {
|
|
|
2962
2986
|
* system operation nor a declared `actions.item/resource/bulk` entry —
|
|
2963
2987
|
* every call would report `absent` (with a `console.error`) regardless
|
|
2964
2988
|
* of any rule. `useResourceExport` already answers the existence
|
|
2965
|
-
* question; `useCapability` is asked ONLY about permission.
|
|
2989
|
+
* question; `useCapability` is asked ONLY about permission. While the
|
|
2990
|
+
* permission map loads and a rule addresses `export`, the button is drawn
|
|
2991
|
+
* in place, disabled and `aria-busy`, until the map decides it.
|
|
2966
2992
|
*/
|
|
2967
2993
|
declare function ExportButton<const N extends string = string>({ resource: resourceInput, className }: ExportButtonProps<N>): React$1.ReactElement | null;
|
|
2968
2994
|
//#endregion
|
|
@@ -3288,6 +3314,11 @@ interface ActionOverflowProps<N extends string = string> {
|
|
|
3288
3314
|
* placement is their control on this screen.
|
|
3289
3315
|
*/
|
|
3290
3316
|
hideFlows?: (name: string) => boolean;
|
|
3317
|
+
/**
|
|
3318
|
+
* Actions of any kind this surface does not offer, by name: a collection's row under
|
|
3319
|
+
* `rowActions: 'base'` offers its member's base actions and built-ins only (REF-131).
|
|
3320
|
+
*/
|
|
3321
|
+
hideActions?: (name: string) => boolean;
|
|
3291
3322
|
/**
|
|
3292
3323
|
* A row in a narrow list: every action goes into the one menu, so the actions column is a single
|
|
3293
3324
|
* control wide. Default: {@link RowActionsCollapseContext}.
|
|
@@ -3319,7 +3350,7 @@ interface ActionOverflowProps<N extends string = string> {
|
|
|
3319
3350
|
* `ghost` used to strip a destructive standalone action of its destructive
|
|
3320
3351
|
* look.
|
|
3321
3352
|
*/
|
|
3322
|
-
declare function ActionOverflow<const N extends string = string>({ resource: resourceInput, record, surface, className, hideFlows, collapse, sources }: ActionOverflowProps<N>): React.ReactElement | null;
|
|
3353
|
+
declare function ActionOverflow<const N extends string = string>({ resource: resourceInput, record, surface, className, hideFlows, hideActions, collapse, sources }: ActionOverflowProps<N>): React.ReactElement | null;
|
|
3323
3354
|
//#endregion
|
|
3324
3355
|
//#region src/actions/action-surface.d.ts
|
|
3325
3356
|
/**
|
|
@@ -3427,6 +3458,8 @@ interface AppFlowButtonProps {
|
|
|
3427
3458
|
readonly disabledReason?: string;
|
|
3428
3459
|
/** A flow hosted on a custom page (P7 3.15): the control is a link to it, not a runner. */
|
|
3429
3460
|
readonly hostHref?: string;
|
|
3461
|
+
/** The permission map is loading and the flow's gate depends on it: drawn disabled and busy. */
|
|
3462
|
+
readonly undecided?: true;
|
|
3430
3463
|
};
|
|
3431
3464
|
readonly variant?: ButtonProps['variant'];
|
|
3432
3465
|
readonly size?: ButtonProps['size'];
|
|
@@ -5467,7 +5500,8 @@ interface CreateButtonProps<N extends string = string> {
|
|
|
5467
5500
|
/**
|
|
5468
5501
|
* Opens the create somewhere other than a route — a resource without a create page opens its
|
|
5469
5502
|
* `quick.create` (P3-19). The control is then a button, drawn when the entry gate answers
|
|
5470
|
-
* `open` (inert with its reason when `disabled`,
|
|
5503
|
+
* `open` (inert with its reason when `disabled`, disabled and busy while `undecided`, absent
|
|
5504
|
+
* otherwise).
|
|
5471
5505
|
*/
|
|
5472
5506
|
onOpen?: () => void;
|
|
5473
5507
|
/** `data-testid` for the button. */
|
|
@@ -5488,10 +5522,69 @@ interface CreateButtonProps<N extends string = string> {
|
|
|
5488
5522
|
*
|
|
5489
5523
|
* Gates itself against the availability gate (`useAvailability`): renders
|
|
5490
5524
|
* nothing for `absent`/`hidden`, a focusable `aria-disabled` control with a
|
|
5491
|
-
* toast reason for `disabled`,
|
|
5525
|
+
* toast reason for `disabled`, a natively disabled `aria-busy` control with no
|
|
5526
|
+
* reason for `undecided` (the permission map loading where a rule addresses
|
|
5527
|
+
* `create`), and the normal link for `available`.
|
|
5492
5528
|
*/
|
|
5493
5529
|
declare function CreateButton<const N extends string = string>({ resource: resourceInput, href, testid, size, variant, label, className, onOpen }: CreateButtonProps<N>): React.ReactElement | null;
|
|
5494
5530
|
//#endregion
|
|
5531
|
+
//#region src/resource/collection-create-picker.d.ts
|
|
5532
|
+
interface CollectionCreatePickerProps {
|
|
5533
|
+
/** The collection (`ns:id`, bare in `default`) whose members the picker offers. */
|
|
5534
|
+
readonly collection: string;
|
|
5535
|
+
}
|
|
5536
|
+
/**
|
|
5537
|
+
* A collection's create page (REF-131 §10.3, §10.6): a collection never creates a row
|
|
5538
|
+
* itself, so its Create opens this picker, one link per member whose `create` is available to the
|
|
5539
|
+
* viewer and that has a create page, to that member's create page, labelled by the member's
|
|
5540
|
+
* label, in the collection's member order. With none, it says so (`collection.createNone`); while
|
|
5541
|
+
* a member's gate is undecided (the permission map loading), it holds its place, busy. An adopter
|
|
5542
|
+
* whose create is two-step (a product group first, then the type) wraps this block.
|
|
5543
|
+
*/
|
|
5544
|
+
declare function CollectionCreatePicker({ collection }: CollectionCreatePickerProps): ReactElement;
|
|
5545
|
+
//#endregion
|
|
5546
|
+
//#region src/layout/collection-record-route.d.ts
|
|
5547
|
+
/** A collection's record route: its show, its edit, or one of its flows by name. */
|
|
5548
|
+
type CollectionRecordRouteProps = {
|
|
5549
|
+
/** The collection (`ns:id`, bare in `default`). */
|
|
5550
|
+
readonly collection: string;
|
|
5551
|
+
/** The record id as the URL carries it. */
|
|
5552
|
+
readonly id: string;
|
|
5553
|
+
} & ({
|
|
5554
|
+
readonly action: 'show' | 'edit';
|
|
5555
|
+
readonly flow?: never;
|
|
5556
|
+
} | {
|
|
5557
|
+
readonly action: 'flow';
|
|
5558
|
+
readonly flow: string;
|
|
5559
|
+
});
|
|
5560
|
+
/**
|
|
5561
|
+
* A collection's record route (REF-131 §10.2, §10.5, R3b-17): `/documents/:id`, `/:id/edit` and
|
|
5562
|
+
* `/:id/<flow>` of a collection read the row's discriminator with one read
|
|
5563
|
+
* (`useCollectionMember`), then replace the address with the row's member's same route, the query
|
|
5564
|
+
* string and the fragment (the adapter's `hash`, else the browser's) kept. The replace names no
|
|
5565
|
+
* origin intent: a replace that changes the pathname inherits the redirect page's origin, so the
|
|
5566
|
+
* member's card roots its trail where the link to the collection was followed and Back skips the
|
|
5567
|
+
* redirect. Nothing visible is drawn
|
|
5568
|
+
* meanwhile. A row of a type no member claims renders {@link UnknownMemberCard} for every action;
|
|
5569
|
+
* a missing row the router's not-found panel; a failed read the record's error state.
|
|
5570
|
+
*/
|
|
5571
|
+
declare function CollectionRecordRoute(props: CollectionRecordRouteProps): ReactElement | null;
|
|
5572
|
+
interface UnknownMemberCardProps {
|
|
5573
|
+
/** The collection (`ns:id`, bare in `default`) the row was opened through. */
|
|
5574
|
+
readonly collection: string;
|
|
5575
|
+
/** The record id as the URL carries it. */
|
|
5576
|
+
readonly id: string;
|
|
5577
|
+
/** The row's discriminator as read: the type no member of the collection claims. */
|
|
5578
|
+
readonly value: unknown;
|
|
5579
|
+
}
|
|
5580
|
+
/**
|
|
5581
|
+
* The card of a collection row whose type no member claims (REF-131 §10.5): the collection's show
|
|
5582
|
+
* screen, read-only, with no item actions (no edit, no delete, no flow), and the discriminator's
|
|
5583
|
+
* raw value as the type. In development a notice names the base, the value and the values its
|
|
5584
|
+
* members claim; in production only the card shows.
|
|
5585
|
+
*/
|
|
5586
|
+
declare function UnknownMemberCard({ collection, id, value }: UnknownMemberCardProps): ReactElement;
|
|
5587
|
+
//#endregion
|
|
5495
5588
|
//#region src/resource/form-context.d.ts
|
|
5496
5589
|
/**
|
|
5497
5590
|
* Minimal form-control handle exposed to field renderers so a field can update
|
|
@@ -5929,7 +6022,20 @@ type FormMessageProps = React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
|
5929
6022
|
declare const FormMessage: React$1.ForwardRefExoticComponent<FormMessageProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
5930
6023
|
//#endregion
|
|
5931
6024
|
//#region src/primitives/select.d.ts
|
|
5932
|
-
|
|
6025
|
+
type SelectProps = React$1.ComponentProps<typeof SelectPrimitive.Root>;
|
|
6026
|
+
/**
|
|
6027
|
+
* Radix's `Root`, without its echo of a value it cannot show. Inside a `<form>`, Radix mirrors
|
|
6028
|
+
* the value into a hidden native `<select>`: when the `value` prop changes it writes the new
|
|
6029
|
+
* value there, dispatches `change`, and reports what the native select reads to `onValueChange`.
|
|
6030
|
+
* When the new value's `<option>` is not mounted yet — a loader enum's items mount in the same
|
|
6031
|
+
* commit as its stored value, and so does the "current" item of a value the select does not
|
|
6032
|
+
* offer — the native select reads '', and a stored value came back as a change to ''. No item can
|
|
6033
|
+
* carry '' (Radix refuses `<SelectItem value="">`), so '' is never a pick and is not reported.
|
|
6034
|
+
*/
|
|
6035
|
+
declare function Select({ onValueChange, ...props }: SelectProps): React$1.ReactElement;
|
|
6036
|
+
declare namespace Select {
|
|
6037
|
+
var displayName: string | undefined;
|
|
6038
|
+
}
|
|
5933
6039
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
5934
6040
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
5935
6041
|
type SelectTriggerProps = React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>;
|
|
@@ -6472,7 +6578,8 @@ interface AppShellProps {
|
|
|
6472
6578
|
}
|
|
6473
6579
|
/**
|
|
6474
6580
|
* `AppLayout` with the default sidebar, header and command palette, the area chrome
|
|
6475
|
-
* (`<NavChrome>`) around its children
|
|
6581
|
+
* (`<NavChrome>`) around its children (while the permission map loads they are replaced by one
|
|
6582
|
+
* loading status, and the sidebar's nav items by a skeleton), and the brand and user context they read. Renders inside
|
|
6476
6583
|
* `BuroProvider`, a `RouterAdapter` and a `LinkComponentProvider`; it does not boot the runtime,
|
|
6477
6584
|
* own routes or guard auth.
|
|
6478
6585
|
*/
|
|
@@ -6607,5 +6714,5 @@ declare function useLanguagePaletteActions(): ActionItem[];
|
|
|
6607
6714
|
declare const PACKAGE_NAME: "@burojs/ui-shadcn";
|
|
6608
6715
|
declare const PACKAGE_VERSION: "0.0.0";
|
|
6609
6716
|
//#endregion
|
|
6610
|
-
export { ActionButton, type ActionButtonProps, type ActionItem, ActionOverflow, type ActionOverflowProps, type ActionSurface, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AppActions, AppFlowButton, type AppFlowButtonProps, AppHeader, type AppHeaderProps, AppLayout, type AppLayoutProps, AppShell, type AppShellProps, AppSidebar, type AppSidebarProps, AuthPage, type AuthPageProps, Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, BooleanDisplay, BooleanInput, BrandMark, Breadcrumbs, type BreadcrumbsProps, type BuildNavItemsArgs, BulkActionToolbar, type BulkActionToolbarProps, Button, ButtonProps, Card, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, CheckConfirmDialog, type CheckConfirmDialogProps, Checkbox, CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColumnsToggle, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandLoadingProps, CommandPalette, CommandPaletteActionsGroup, type CommandPaletteActionsGroupProps, type CommandPaletteActionsTestIdRole, CommandPaletteCreateGroup, type CommandPaletteCreateGroupProps, type CommandPaletteCreateTestIdRole, CommandPaletteDocsGroup, type CommandPaletteDocsGroupProps, CommandPaletteNavigationGroups, type CommandPaletteNavigationGroupsProps, type CommandPaletteNavigationTestIdRole, type CommandPaletteProps, CommandPaletteRecentGroup, type CommandPaletteRecentGroupProps, type CommandPaletteRecentTestIdRole, CommandPaletteRecordsGroup, type CommandPaletteRecordsGroupProps, type CommandPaletteRecordsTestIdRole, type CommandPaletteTestIdRole, CommandPaletteTrigger, type CommandPaletteTriggerProps, CommandSeparator, ContextPicker, type ContextPickerProps, CopyId, CreateButton, type CreateButtonProps, CursorLoadMore, type CursorLoadMoreProps, DEFAULT_LANGUAGE_STORAGE_KEY, DataTable, DataTableDateRangeFilter, type DataTableDateRangeFilterProps, DataTableEnumFilter, type DataTableEnumFilterProps, DataTableFacetedFilter, type DataTableFacetedFilterProps, DataTableNumRangeFilter, type DataTableNumRangeFilterProps, DataTableOperatorFilter, type DataTableOperatorFilterProps, type DataTableProps, DataTableRowActions, type DataTableRowActionsProps, DataTableTextFilter, type DataTableTextFilterProps, DataTableToolbar, type DataTableToolbarProps, DataTableViewOptions, type DataTableViewOptionsProps, DateDisplay, DateInput, DeclarativeDisplay, type DeclarativeDisplayProps, DeclarativeForm, type DeclarativeFormProps, type DeclarativeFormSlots, DefaultCommandPalette, type DefaultCommandPaletteProps, Dialog, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, type DialogFilterState, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlayProps, DialogPresentationHost, DialogPresentationShell, DialogTitle, DialogTitleProps, DialogTrigger, DisabledAction, type DisabledActionProps, DocBrowser, type DocBrowserProps, DocInfo, type DocInfoProps, DocPanel, type DocPanelProps, DocTrailHelp, type DocTrailHelpProps, DocumentTitleProvider, type DraftRemovalSignal, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENUM_PICKER_CLEAR_SENTINEL, EditPageHeader, EnumBadge, type EnumBadgeProps, EnumDisplay, EnumInput, EnumPicker, type EnumPickerProps, EnumDisplay$1 as EnumValueDisplay, type EnumDisplayProps as EnumValueDisplayProps, type EnumDisplayVariant as EnumValueDisplayVariant, ExportButton, type ExportButtonProps, ExportDialog, type ExportDialogProps, type FacetedFilterOption, FacetedFilterPicker, type FacetedFilterPickerProps, Field, FieldDisplay, type FieldDisplayProps, type FieldProps, FileDisplay, FileField, type FileFieldProps, FileInput, type FileInputProps, FilterBadges, type FilterBadgesProps, FilterBuilder, type FilterBuilderProps, type FilterOperator, FilterPanel, type FilterPanelProps, FilterRegion, FilterValueControl, type FilterValueControlProps, FlowActionButton, type FlowActionButtonProps, Form, FormActions, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormItem, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, HeaderBreadcrumbs, HelpButton, type HelpButtonProps, Icon, IconComponent, IconProps, Input, InputProps, Label, LabelProps, LanguageSubmenu, LanguageSwitch, type LanguageSwitchApi, type LanguageSwitchProps, type LinkComponent, type LinkComponentProps, LinkComponentProvider, type LinkComponentProviderProps, LinkKeysDisplay, ListBody, ListBulkBar, type ListCellRenderer, ListColumns, ListControls, ListCreate, ListErrorState, type ListErrorStateProps, ListExport, ListFilters, ListFlows, ListLive, ListSavedViews, ListSearchInput, type ListSlot, type ListSlotRegion, type LoginCredentials, LoginForm, type LoginFormProps, NavAreaPage, NavChrome, type NavChromeProps, type NavItem, type NavLayout, type NavLayoutProps, NavMain, type NavMainProps, type NavTreeEntry, type NavTreeLayout, type NavTreeSection, NavigationGuardDialog, NumberDisplay, NumberInput, PACKAGE_NAME, PACKAGE_VERSION, type PageBreadcrumbsProps, PageHeader, type PageHeaderProps, type PaletteState, PinnedFilterControls, type PinnedFilterControlsProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverPresentationHost, PopoverTrigger, type PresentationCopy, PresetFilterControls, type PresetFilterControlsProps, Progress, ProgressProps, RecordActions, RecordBreadcrumbs, RecordPage, type RecordPageProps, RecordScreen, type RecordScreenProps, RecordTitle, RefreshButton, type RefreshButtonProps, RelationDisplay, RelationField, RelationManyDisplay, RelationPicker, type RelationPickerCancelReason, LazyRelationPickerDialog as RelationPickerDialog, type RelationPickerDialogProps, type RelationPickerHandle, RelationPickerInput, type RelationPickerOpenOptions, type RelationPickerProps, type RelationPickerResult, type RelationPickerRow, type ResolvedTheme, type ResourceBreadcrumbsProps, ResourceList, ResourceListPage, type ResourceListPageProps, type ResourceListProps, ResourcePageRouter, type ResourcePageRouterProps, type RowActionDescriptor, SavedViewsDropdown, type SavedViewsDropdownProps, ScopeDimensionPicker, type ScopeDimensionPickerProps, type ScopeOption, ScopeSwitcher, type ScopeSwitcherProps, SecondarySidebarLayout, Select, SelectContent, SelectContentProps, SelectGroup, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetOverlayProps, SheetPresentationHost, SheetPresentationShell, SheetTitle, SheetTitleProps, SheetTrigger, type ShellBrand, type ShellContextValue, ShellProvider, type ShellProviderProps, type ShellUser, type ShellUserMapper, ShowPageHeader, Sidebar, SidebarBrand, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type Slot, type SpacingKey, THEME_CHOICES, THEME_STORAGE_KEY, Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsLayout, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TaskRunPanel, TaskRunPanelProps, TextDisplay, TextInput, Textarea, TextareaDisplay, TextareaInput, TextareaProps, type ThemeChoice, ThemeSubmenu, ThemeToggle, Toaster, type ToasterProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypographyKey, type UseBuroDataTableOptions, type UseDialogFilterStateOptions, type UseNavTreeOptions, type UseRelationPickerOptions, type UseThemeResult, UserMenu, type UserMenuProps, badgeVariants, buildNavItems, buroSortingToTanStack, buttonVariants, cn, defaultNavLayouts, defaultUserMapper, downloadArtifact, formatOperatorLabel, hasIcon, i18nPrefixToRef, isImage, layoutSlot, listSlot, loadLocale, localeLabel, modeForSurface, recordDisplayName, registerIcons, relationLinkClassName, resolveNavIcon, resolveUpdater, saveLocale, shadcnBlockImplementations, shadcnFieldImplementations, shadcnPresentationHosts, spacing, tanStackSortingToBuro, toast, typography, useBuroDataTable, useCurrentUser, useDialogFilterState, useDocumentTitle, useExportRunWatcher, useFormControl, useFormField, useHref, useIsMobile, useLanguagePaletteActions, useLanguageSwitch, useLayout, useLayoutResolver, useLinkComponent, useListSlot, useMatch, useNavIcon, useNavTree, useNavVisible, useOptionalSidebar, usePaletteState, usePresentationCopy, useRelationPicker, useShell, useSidebar, useTheme, useThemePaletteActions, webPlatform, wrapperEnabled };
|
|
6717
|
+
export { ActionButton, type ActionButtonProps, type ActionItem, ActionOverflow, type ActionOverflowProps, type ActionSurface, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AppActions, AppFlowButton, type AppFlowButtonProps, AppHeader, type AppHeaderProps, AppLayout, type AppLayoutProps, AppShell, type AppShellProps, AppSidebar, type AppSidebarProps, AuthPage, type AuthPageProps, Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, BooleanDisplay, BooleanInput, BrandMark, Breadcrumbs, type BreadcrumbsProps, type BuildNavItemsArgs, BulkActionToolbar, type BulkActionToolbarProps, Button, ButtonProps, Card, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, CheckConfirmDialog, type CheckConfirmDialogProps, Checkbox, CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, CollectionCreatePicker, type CollectionCreatePickerProps, CollectionRecordRoute, type CollectionRecordRouteProps, ColumnsToggle, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandLoadingProps, CommandPalette, CommandPaletteActionsGroup, type CommandPaletteActionsGroupProps, type CommandPaletteActionsTestIdRole, CommandPaletteCreateGroup, type CommandPaletteCreateGroupProps, type CommandPaletteCreateTestIdRole, CommandPaletteDocsGroup, type CommandPaletteDocsGroupProps, CommandPaletteNavigationGroups, type CommandPaletteNavigationGroupsProps, type CommandPaletteNavigationTestIdRole, type CommandPaletteProps, CommandPaletteRecentGroup, type CommandPaletteRecentGroupProps, type CommandPaletteRecentTestIdRole, CommandPaletteRecordsGroup, type CommandPaletteRecordsGroupProps, type CommandPaletteRecordsTestIdRole, type CommandPaletteTestIdRole, CommandPaletteTrigger, type CommandPaletteTriggerProps, CommandSeparator, ContextPicker, type ContextPickerProps, CopyId, CreateButton, type CreateButtonProps, CursorLoadMore, type CursorLoadMoreProps, DEFAULT_LANGUAGE_STORAGE_KEY, DataTable, DataTableDateRangeFilter, type DataTableDateRangeFilterProps, DataTableEnumFilter, type DataTableEnumFilterProps, DataTableFacetedFilter, type DataTableFacetedFilterProps, DataTableNumRangeFilter, type DataTableNumRangeFilterProps, DataTableOperatorFilter, type DataTableOperatorFilterProps, type DataTableProps, DataTableRowActions, type DataTableRowActionsProps, DataTableTextFilter, type DataTableTextFilterProps, DataTableToolbar, type DataTableToolbarProps, DataTableViewOptions, type DataTableViewOptionsProps, DateDisplay, DateInput, DeclarativeDisplay, type DeclarativeDisplayProps, DeclarativeForm, type DeclarativeFormProps, type DeclarativeFormSlots, DefaultCommandPalette, type DefaultCommandPaletteProps, Dialog, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, type DialogFilterState, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlayProps, DialogPresentationHost, DialogPresentationShell, DialogTitle, DialogTitleProps, DialogTrigger, DisabledAction, type DisabledActionProps, DocBrowser, type DocBrowserProps, DocInfo, type DocInfoProps, DocPanel, type DocPanelProps, DocTrailHelp, type DocTrailHelpProps, DocumentTitleProvider, type DraftRemovalSignal, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENUM_PICKER_CLEAR_SENTINEL, EditPageHeader, EnumBadge, type EnumBadgeProps, EnumDisplay, EnumInput, EnumPicker, type EnumPickerProps, EnumDisplay$1 as EnumValueDisplay, type EnumDisplayProps as EnumValueDisplayProps, type EnumDisplayVariant as EnumValueDisplayVariant, ExportButton, type ExportButtonProps, ExportDialog, type ExportDialogProps, type FacetedFilterOption, FacetedFilterPicker, type FacetedFilterPickerProps, Field, FieldDisplay, type FieldDisplayProps, type FieldProps, FileDisplay, FileField, type FileFieldProps, FileInput, type FileInputProps, FilterBadges, type FilterBadgesProps, FilterBuilder, type FilterBuilderProps, type FilterOperator, FilterPanel, type FilterPanelProps, FilterRegion, FilterValueControl, type FilterValueControlProps, FlowActionButton, type FlowActionButtonProps, Form, FormActions, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormItem, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, HeaderBreadcrumbs, HelpButton, type HelpButtonProps, Icon, IconComponent, IconProps, Input, InputProps, Label, LabelProps, LanguageSubmenu, LanguageSwitch, type LanguageSwitchApi, type LanguageSwitchProps, type LinkComponent, type LinkComponentProps, LinkComponentProvider, type LinkComponentProviderProps, LinkKeysDisplay, ListBody, ListBulkBar, type ListCellRenderer, ListColumns, ListControls, ListCreate, ListErrorState, type ListErrorStateProps, ListExport, ListFilters, ListFlows, ListLive, ListSavedViews, ListSearchInput, type ListSlot, type ListSlotRegion, type LoginCredentials, LoginForm, type LoginFormProps, NavAreaNotFound, NavAreaPage, NavChrome, type NavChromeProps, type NavItem, type NavLayout, type NavLayoutProps, NavMain, type NavMainProps, type NavTreeEntry, type NavTreeLayout, type NavTreeSection, NavigationGuardDialog, NumberDisplay, NumberInput, PACKAGE_NAME, PACKAGE_VERSION, type PageBreadcrumbsProps, PageHeader, type PageHeaderProps, type PaletteState, PinnedFilterControls, type PinnedFilterControlsProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverPresentationHost, PopoverTrigger, type PresentationCopy, PresetFilterControls, type PresetFilterControlsProps, Progress, ProgressProps, RecordActions, RecordBreadcrumbs, RecordPage, type RecordPageProps, RecordScreen, type RecordScreenProps, RecordTitle, RefreshButton, type RefreshButtonProps, RelationDisplay, RelationField, RelationManyDisplay, RelationPicker, type RelationPickerCancelReason, LazyRelationPickerDialog as RelationPickerDialog, type RelationPickerDialogProps, type RelationPickerHandle, RelationPickerInput, type RelationPickerOpenOptions, type RelationPickerProps, type RelationPickerResult, type RelationPickerRow, type ResolvedTheme, type ResourceBreadcrumbsProps, ResourceList, ResourceListPage, type ResourceListPageProps, type ResourceListProps, ResourcePageRouter, type ResourcePageRouterProps, type RowActionDescriptor, SavedViewsDropdown, type SavedViewsDropdownProps, ScopeDimensionPicker, type ScopeDimensionPickerProps, type ScopeOption, ScopeSwitcher, type ScopeSwitcherProps, SecondarySidebarLayout, Select, SelectContent, SelectContentProps, SelectGroup, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetOverlayProps, SheetPresentationHost, SheetPresentationShell, SheetTitle, SheetTitleProps, SheetTrigger, type ShellBrand, type ShellContextValue, ShellProvider, type ShellProviderProps, type ShellUser, type ShellUserMapper, ShowPageHeader, Sidebar, SidebarBrand, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type Slot, type SpacingKey, THEME_CHOICES, THEME_STORAGE_KEY, Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsLayout, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TaskRunPanel, TaskRunPanelProps, TextDisplay, TextInput, Textarea, TextareaDisplay, TextareaInput, TextareaProps, type ThemeChoice, ThemeSubmenu, ThemeToggle, Toaster, type ToasterProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypographyKey, UnknownMemberCard, type UnknownMemberCardProps, type UseBuroDataTableOptions, type UseDialogFilterStateOptions, type UseNavTreeOptions, type UseRelationPickerOptions, type UseThemeResult, UserMenu, type UserMenuProps, badgeVariants, buildNavItems, buroSortingToTanStack, buttonVariants, cn, defaultNavLayouts, defaultUserMapper, downloadArtifact, formatOperatorLabel, hasIcon, i18nPrefixToRef, isImage, layoutSlot, listSlot, loadLocale, localeLabel, modeForSurface, recordDisplayName, registerIcons, relationLinkClassName, resolveNavIcon, resolveUpdater, saveLocale, shadcnBlockImplementations, shadcnFieldImplementations, shadcnPresentationHosts, spacing, tanStackSortingToBuro, toast, typography, useBuroDataTable, useCurrentUser, useDialogFilterState, useDocumentTitle, useExportRunWatcher, useFormControl, useFormField, useHref, useIsMobile, useLanguagePaletteActions, useLanguageSwitch, useLayout, useLayoutResolver, useLinkComponent, useListSlot, useMatch, useNavIcon, useNavTree, useNavVisible, useOptionalSidebar, usePaletteState, usePresentationCopy, useRelationPicker, useShell, useSidebar, useTheme, useThemePaletteActions, webPlatform, wrapperEnabled };
|
|
6611
6718
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -382,7 +382,8 @@ interface BuildNavItemsArgs {
|
|
|
382
382
|
* instead of remounting it), label via the i18n resolvers (reactive on locale),
|
|
383
383
|
* and `active` via the spec §8.2 rule — a leaf is active when it IS the
|
|
384
384
|
* current match; a sub-group is active when it is an ANCESTOR of the match
|
|
385
|
-
* (on `match.groupChain`). Children failing `isVisible`/`entryFilter` drop
|
|
385
|
+
* (on `match.groupChain`). Children failing `isVisible`/`entryFilter` drop,
|
|
386
|
+
* and so does a sub-group with no reachable member (`groupNavHref`).
|
|
386
387
|
*/
|
|
387
388
|
declare function buildNavItems(args: BuildNavItemsArgs): NavItem[];
|
|
388
389
|
//#endregion
|
|
@@ -434,6 +435,13 @@ interface NavChromeProps {
|
|
|
434
435
|
*/
|
|
435
436
|
declare function NavChrome({ children, entryFilter, icons }: NavChromeProps): ReactElement;
|
|
436
437
|
//#endregion
|
|
438
|
+
//#region src/layout/nav-area-not-found.d.ts
|
|
439
|
+
/**
|
|
440
|
+
* The framework's 404 panel, inside the shell: a route that names nothing the app declares. Exported
|
|
441
|
+
* so an app's own catch-all route can draw the same panel (`data-testid="nav-area-not-found"`).
|
|
442
|
+
*/
|
|
443
|
+
declare function NavAreaNotFound(): ReactElement;
|
|
444
|
+
//#endregion
|
|
437
445
|
//#region src/layout/resource-page-router.d.ts
|
|
438
446
|
interface ResourcePageRouterProps {
|
|
439
447
|
match: RouteMatch;
|
|
@@ -444,6 +452,9 @@ interface ResourcePageRouterProps {
|
|
|
444
452
|
*
|
|
445
453
|
* - `{ kind: 'resource', action: 'list' }` → `<ResourceListPage>`, which
|
|
446
454
|
* self-fetches through `useResourceList`;
|
|
455
|
+
* - a collection's `create` → its members' picker (`<CollectionCreatePicker>`, REF-131 §10.6),
|
|
456
|
+
* and its show, edit and flow routes → `<CollectionRecordRoute>`, which redirects to the row's
|
|
457
|
+
* member or shows the base card of a type no member claims (§10.2, §10.5);
|
|
447
458
|
* - `show`, `edit` and `create` → `<RecordRoute>` (the
|
|
448
459
|
* component `<RecordPage>` renders), which reads with `useOne`, writes with
|
|
449
460
|
* `useUpdateOne`/`useCreateOne`, navigates after a write and renders the
|
|
@@ -1493,7 +1504,8 @@ interface CommandPaletteCreateGroupProps {
|
|
|
1493
1504
|
* Filters applied (in order):
|
|
1494
1505
|
*
|
|
1495
1506
|
* 1. Resources with no list page (`views.list.page: false`) are
|
|
1496
|
-
* excluded — they are reached through a parent's placement
|
|
1507
|
+
* excluded — they are reached through a parent's placement — and so
|
|
1508
|
+
* are collections, whose members are listed themselves.
|
|
1497
1509
|
* 2. `useResourceVisible()` (the sidebar's predicate: its `visible(ctx)`) must return true.
|
|
1498
1510
|
* Same predicate the sidebar + navigation group use, fail-closed
|
|
1499
1511
|
* on throwing predicates. Hidden in sidebar → hidden here.
|
|
@@ -1616,7 +1628,8 @@ declare function RefreshButton({ className }: RefreshButtonProps): ReactElement
|
|
|
1616
1628
|
* The app-level action strip: every `defineAppAction` entry that belongs to no resource, already
|
|
1617
1629
|
* filtered by the rule engine (`useAppActions`). Only entries that resolve to a route render: a
|
|
1618
1630
|
* `link`, or a flow hosted on a page (`hostHref`). A `modal` entry needs a presentation host and is
|
|
1619
|
-
* skipped. `disabledReason` keeps the action visible but inert, with the reason as its tooltip
|
|
1631
|
+
* skipped. `disabledReason` keeps the action visible but inert, with the reason as its tooltip; an
|
|
1632
|
+
* `undecided` one (the permission map loading) keeps its place, disabled and busy.
|
|
1620
1633
|
*/
|
|
1621
1634
|
declare function AppActions(): ReactElement | null;
|
|
1622
1635
|
//#endregion
|
|
@@ -2244,8 +2257,10 @@ interface RelationPickerProps<N extends string = string> {
|
|
|
2244
2257
|
ariaDescribedBy?: string;
|
|
2245
2258
|
/** Forwarded to the trigger button as `aria-errormessage` (WAI-ARIA 1.2). */
|
|
2246
2259
|
ariaErrorMessage?: string;
|
|
2260
|
+
/** Id of the field's label element: the option list is named by it, else by the target's name. */
|
|
2261
|
+
ariaLabelledBy?: string;
|
|
2247
2262
|
}
|
|
2248
|
-
declare function RelationPicker<const N extends string = string>({ to: toInput, value, onChange, by, searchField, pageSize, clearable, placeholder, name, id, testid, fixedFilters, createSeeds, candidatesGate, rowFits, fieldName, open: openMode, optionSubtitle, scope, disabled, required, className, ariaInvalid, ariaDescribedBy, ariaErrorMessage }: RelationPickerProps<N>): React$1.ReactElement;
|
|
2263
|
+
declare function RelationPicker<const N extends string = string>({ to: toInput, value, onChange, by, searchField, pageSize, clearable, placeholder, name, id, testid, fixedFilters, createSeeds, candidatesGate, rowFits, fieldName, open: openMode, optionSubtitle, scope, disabled, required, className, ariaInvalid, ariaDescribedBy, ariaErrorMessage, ariaLabelledBy }: RelationPickerProps<N>): React$1.ReactElement;
|
|
2249
2264
|
/**
|
|
2250
2265
|
* Form-field adapter wrapping `<RelationPicker>` for use as a default
|
|
2251
2266
|
* Input renderer in the field registry. Reads `field.meta.to` for the
|
|
@@ -2783,6 +2798,15 @@ interface DeclarativeFormProps<F extends ResourceFieldMap = ResourceFieldMap> {
|
|
|
2783
2798
|
* it is not drawn and not submitted.
|
|
2784
2799
|
*/
|
|
2785
2800
|
readonly body?: FormBody<F>;
|
|
2801
|
+
/**
|
|
2802
|
+
* `'create'` (the default): every value the form starts from counts as changed, as on a record
|
|
2803
|
+
* create. `'edit'`: `value` / `defaults` are the stored values, and a value left as it started is
|
|
2804
|
+
* untouched, as on a record edit: an enum value the enum no longer offers saves untouched (no
|
|
2805
|
+
* `enum.unavailable`), a `now` date bound judges only a changed field, `form.isDirty` compares
|
|
2806
|
+
* against them, the check surface defaults to `'edit'`, and a draft is keyed by their `id` (with
|
|
2807
|
+
* no `id`, an edit keeps no draft).
|
|
2808
|
+
*/
|
|
2809
|
+
readonly mode?: 'create' | 'edit';
|
|
2786
2810
|
/** The draft identity; `draft` without it is a development error. */
|
|
2787
2811
|
readonly formId?: string;
|
|
2788
2812
|
readonly draft?: DraftOption;
|
|
@@ -2800,7 +2824,7 @@ interface DeclarativeFormProps<F extends ResourceFieldMap = ResourceFieldMap> {
|
|
|
2800
2824
|
* mounted `<CheckConfirmDialog>`.
|
|
2801
2825
|
*/
|
|
2802
2826
|
readonly checks?: readonly Check[];
|
|
2803
|
-
/** The check surface; default `'create'
|
|
2827
|
+
/** The check surface; default `'edit'` in edit mode, `'create'` otherwise. */
|
|
2804
2828
|
readonly surface?: CheckSurface;
|
|
2805
2829
|
/** Receives the payload: the active declared fields only. */
|
|
2806
2830
|
readonly onSubmit?: (values: FormValues) => unknown | Promise<unknown>;
|
|
@@ -2962,7 +2986,9 @@ interface ExportButtonProps<N extends string = string> {
|
|
|
2962
2986
|
* system operation nor a declared `actions.item/resource/bulk` entry —
|
|
2963
2987
|
* every call would report `absent` (with a `console.error`) regardless
|
|
2964
2988
|
* of any rule. `useResourceExport` already answers the existence
|
|
2965
|
-
* question; `useCapability` is asked ONLY about permission.
|
|
2989
|
+
* question; `useCapability` is asked ONLY about permission. While the
|
|
2990
|
+
* permission map loads and a rule addresses `export`, the button is drawn
|
|
2991
|
+
* in place, disabled and `aria-busy`, until the map decides it.
|
|
2966
2992
|
*/
|
|
2967
2993
|
declare function ExportButton<const N extends string = string>({ resource: resourceInput, className }: ExportButtonProps<N>): React$1.ReactElement | null;
|
|
2968
2994
|
//#endregion
|
|
@@ -3288,6 +3314,11 @@ interface ActionOverflowProps<N extends string = string> {
|
|
|
3288
3314
|
* placement is their control on this screen.
|
|
3289
3315
|
*/
|
|
3290
3316
|
hideFlows?: (name: string) => boolean;
|
|
3317
|
+
/**
|
|
3318
|
+
* Actions of any kind this surface does not offer, by name: a collection's row under
|
|
3319
|
+
* `rowActions: 'base'` offers its member's base actions and built-ins only (REF-131).
|
|
3320
|
+
*/
|
|
3321
|
+
hideActions?: (name: string) => boolean;
|
|
3291
3322
|
/**
|
|
3292
3323
|
* A row in a narrow list: every action goes into the one menu, so the actions column is a single
|
|
3293
3324
|
* control wide. Default: {@link RowActionsCollapseContext}.
|
|
@@ -3319,7 +3350,7 @@ interface ActionOverflowProps<N extends string = string> {
|
|
|
3319
3350
|
* `ghost` used to strip a destructive standalone action of its destructive
|
|
3320
3351
|
* look.
|
|
3321
3352
|
*/
|
|
3322
|
-
declare function ActionOverflow<const N extends string = string>({ resource: resourceInput, record, surface, className, hideFlows, collapse, sources }: ActionOverflowProps<N>): React.ReactElement | null;
|
|
3353
|
+
declare function ActionOverflow<const N extends string = string>({ resource: resourceInput, record, surface, className, hideFlows, hideActions, collapse, sources }: ActionOverflowProps<N>): React.ReactElement | null;
|
|
3323
3354
|
//#endregion
|
|
3324
3355
|
//#region src/actions/action-surface.d.ts
|
|
3325
3356
|
/**
|
|
@@ -3427,6 +3458,8 @@ interface AppFlowButtonProps {
|
|
|
3427
3458
|
readonly disabledReason?: string;
|
|
3428
3459
|
/** A flow hosted on a custom page (P7 3.15): the control is a link to it, not a runner. */
|
|
3429
3460
|
readonly hostHref?: string;
|
|
3461
|
+
/** The permission map is loading and the flow's gate depends on it: drawn disabled and busy. */
|
|
3462
|
+
readonly undecided?: true;
|
|
3430
3463
|
};
|
|
3431
3464
|
readonly variant?: ButtonProps['variant'];
|
|
3432
3465
|
readonly size?: ButtonProps['size'];
|
|
@@ -5467,7 +5500,8 @@ interface CreateButtonProps<N extends string = string> {
|
|
|
5467
5500
|
/**
|
|
5468
5501
|
* Opens the create somewhere other than a route — a resource without a create page opens its
|
|
5469
5502
|
* `quick.create` (P3-19). The control is then a button, drawn when the entry gate answers
|
|
5470
|
-
* `open` (inert with its reason when `disabled`,
|
|
5503
|
+
* `open` (inert with its reason when `disabled`, disabled and busy while `undecided`, absent
|
|
5504
|
+
* otherwise).
|
|
5471
5505
|
*/
|
|
5472
5506
|
onOpen?: () => void;
|
|
5473
5507
|
/** `data-testid` for the button. */
|
|
@@ -5488,10 +5522,69 @@ interface CreateButtonProps<N extends string = string> {
|
|
|
5488
5522
|
*
|
|
5489
5523
|
* Gates itself against the availability gate (`useAvailability`): renders
|
|
5490
5524
|
* nothing for `absent`/`hidden`, a focusable `aria-disabled` control with a
|
|
5491
|
-
* toast reason for `disabled`,
|
|
5525
|
+
* toast reason for `disabled`, a natively disabled `aria-busy` control with no
|
|
5526
|
+
* reason for `undecided` (the permission map loading where a rule addresses
|
|
5527
|
+
* `create`), and the normal link for `available`.
|
|
5492
5528
|
*/
|
|
5493
5529
|
declare function CreateButton<const N extends string = string>({ resource: resourceInput, href, testid, size, variant, label, className, onOpen }: CreateButtonProps<N>): React.ReactElement | null;
|
|
5494
5530
|
//#endregion
|
|
5531
|
+
//#region src/resource/collection-create-picker.d.ts
|
|
5532
|
+
interface CollectionCreatePickerProps {
|
|
5533
|
+
/** The collection (`ns:id`, bare in `default`) whose members the picker offers. */
|
|
5534
|
+
readonly collection: string;
|
|
5535
|
+
}
|
|
5536
|
+
/**
|
|
5537
|
+
* A collection's create page (REF-131 §10.3, §10.6): a collection never creates a row
|
|
5538
|
+
* itself, so its Create opens this picker, one link per member whose `create` is available to the
|
|
5539
|
+
* viewer and that has a create page, to that member's create page, labelled by the member's
|
|
5540
|
+
* label, in the collection's member order. With none, it says so (`collection.createNone`); while
|
|
5541
|
+
* a member's gate is undecided (the permission map loading), it holds its place, busy. An adopter
|
|
5542
|
+
* whose create is two-step (a product group first, then the type) wraps this block.
|
|
5543
|
+
*/
|
|
5544
|
+
declare function CollectionCreatePicker({ collection }: CollectionCreatePickerProps): ReactElement;
|
|
5545
|
+
//#endregion
|
|
5546
|
+
//#region src/layout/collection-record-route.d.ts
|
|
5547
|
+
/** A collection's record route: its show, its edit, or one of its flows by name. */
|
|
5548
|
+
type CollectionRecordRouteProps = {
|
|
5549
|
+
/** The collection (`ns:id`, bare in `default`). */
|
|
5550
|
+
readonly collection: string;
|
|
5551
|
+
/** The record id as the URL carries it. */
|
|
5552
|
+
readonly id: string;
|
|
5553
|
+
} & ({
|
|
5554
|
+
readonly action: 'show' | 'edit';
|
|
5555
|
+
readonly flow?: never;
|
|
5556
|
+
} | {
|
|
5557
|
+
readonly action: 'flow';
|
|
5558
|
+
readonly flow: string;
|
|
5559
|
+
});
|
|
5560
|
+
/**
|
|
5561
|
+
* A collection's record route (REF-131 §10.2, §10.5, R3b-17): `/documents/:id`, `/:id/edit` and
|
|
5562
|
+
* `/:id/<flow>` of a collection read the row's discriminator with one read
|
|
5563
|
+
* (`useCollectionMember`), then replace the address with the row's member's same route, the query
|
|
5564
|
+
* string and the fragment (the adapter's `hash`, else the browser's) kept. The replace names no
|
|
5565
|
+
* origin intent: a replace that changes the pathname inherits the redirect page's origin, so the
|
|
5566
|
+
* member's card roots its trail where the link to the collection was followed and Back skips the
|
|
5567
|
+
* redirect. Nothing visible is drawn
|
|
5568
|
+
* meanwhile. A row of a type no member claims renders {@link UnknownMemberCard} for every action;
|
|
5569
|
+
* a missing row the router's not-found panel; a failed read the record's error state.
|
|
5570
|
+
*/
|
|
5571
|
+
declare function CollectionRecordRoute(props: CollectionRecordRouteProps): ReactElement | null;
|
|
5572
|
+
interface UnknownMemberCardProps {
|
|
5573
|
+
/** The collection (`ns:id`, bare in `default`) the row was opened through. */
|
|
5574
|
+
readonly collection: string;
|
|
5575
|
+
/** The record id as the URL carries it. */
|
|
5576
|
+
readonly id: string;
|
|
5577
|
+
/** The row's discriminator as read: the type no member of the collection claims. */
|
|
5578
|
+
readonly value: unknown;
|
|
5579
|
+
}
|
|
5580
|
+
/**
|
|
5581
|
+
* The card of a collection row whose type no member claims (REF-131 §10.5): the collection's show
|
|
5582
|
+
* screen, read-only, with no item actions (no edit, no delete, no flow), and the discriminator's
|
|
5583
|
+
* raw value as the type. In development a notice names the base, the value and the values its
|
|
5584
|
+
* members claim; in production only the card shows.
|
|
5585
|
+
*/
|
|
5586
|
+
declare function UnknownMemberCard({ collection, id, value }: UnknownMemberCardProps): ReactElement;
|
|
5587
|
+
//#endregion
|
|
5495
5588
|
//#region src/resource/form-context.d.ts
|
|
5496
5589
|
/**
|
|
5497
5590
|
* Minimal form-control handle exposed to field renderers so a field can update
|
|
@@ -5929,7 +6022,20 @@ type FormMessageProps = React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
|
5929
6022
|
declare const FormMessage: React$1.ForwardRefExoticComponent<FormMessageProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
5930
6023
|
//#endregion
|
|
5931
6024
|
//#region src/primitives/select.d.ts
|
|
5932
|
-
|
|
6025
|
+
type SelectProps = React$1.ComponentProps<typeof SelectPrimitive.Root>;
|
|
6026
|
+
/**
|
|
6027
|
+
* Radix's `Root`, without its echo of a value it cannot show. Inside a `<form>`, Radix mirrors
|
|
6028
|
+
* the value into a hidden native `<select>`: when the `value` prop changes it writes the new
|
|
6029
|
+
* value there, dispatches `change`, and reports what the native select reads to `onValueChange`.
|
|
6030
|
+
* When the new value's `<option>` is not mounted yet — a loader enum's items mount in the same
|
|
6031
|
+
* commit as its stored value, and so does the "current" item of a value the select does not
|
|
6032
|
+
* offer — the native select reads '', and a stored value came back as a change to ''. No item can
|
|
6033
|
+
* carry '' (Radix refuses `<SelectItem value="">`), so '' is never a pick and is not reported.
|
|
6034
|
+
*/
|
|
6035
|
+
declare function Select({ onValueChange, ...props }: SelectProps): React$1.ReactElement;
|
|
6036
|
+
declare namespace Select {
|
|
6037
|
+
var displayName: string | undefined;
|
|
6038
|
+
}
|
|
5933
6039
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
5934
6040
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
5935
6041
|
type SelectTriggerProps = React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>;
|
|
@@ -6472,7 +6578,8 @@ interface AppShellProps {
|
|
|
6472
6578
|
}
|
|
6473
6579
|
/**
|
|
6474
6580
|
* `AppLayout` with the default sidebar, header and command palette, the area chrome
|
|
6475
|
-
* (`<NavChrome>`) around its children
|
|
6581
|
+
* (`<NavChrome>`) around its children (while the permission map loads they are replaced by one
|
|
6582
|
+
* loading status, and the sidebar's nav items by a skeleton), and the brand and user context they read. Renders inside
|
|
6476
6583
|
* `BuroProvider`, a `RouterAdapter` and a `LinkComponentProvider`; it does not boot the runtime,
|
|
6477
6584
|
* own routes or guard auth.
|
|
6478
6585
|
*/
|
|
@@ -6607,5 +6714,5 @@ declare function useLanguagePaletteActions(): ActionItem[];
|
|
|
6607
6714
|
declare const PACKAGE_NAME: "@burojs/ui-shadcn";
|
|
6608
6715
|
declare const PACKAGE_VERSION: "0.0.0";
|
|
6609
6716
|
//#endregion
|
|
6610
|
-
export { ActionButton, type ActionButtonProps, type ActionItem, ActionOverflow, type ActionOverflowProps, type ActionSurface, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AppActions, AppFlowButton, type AppFlowButtonProps, AppHeader, type AppHeaderProps, AppLayout, type AppLayoutProps, AppShell, type AppShellProps, AppSidebar, type AppSidebarProps, AuthPage, type AuthPageProps, Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, BooleanDisplay, BooleanInput, BrandMark, Breadcrumbs, type BreadcrumbsProps, type BuildNavItemsArgs, BulkActionToolbar, type BulkActionToolbarProps, Button, ButtonProps, Card, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, CheckConfirmDialog, type CheckConfirmDialogProps, Checkbox, CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColumnsToggle, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandLoadingProps, CommandPalette, CommandPaletteActionsGroup, type CommandPaletteActionsGroupProps, type CommandPaletteActionsTestIdRole, CommandPaletteCreateGroup, type CommandPaletteCreateGroupProps, type CommandPaletteCreateTestIdRole, CommandPaletteDocsGroup, type CommandPaletteDocsGroupProps, CommandPaletteNavigationGroups, type CommandPaletteNavigationGroupsProps, type CommandPaletteNavigationTestIdRole, type CommandPaletteProps, CommandPaletteRecentGroup, type CommandPaletteRecentGroupProps, type CommandPaletteRecentTestIdRole, CommandPaletteRecordsGroup, type CommandPaletteRecordsGroupProps, type CommandPaletteRecordsTestIdRole, type CommandPaletteTestIdRole, CommandPaletteTrigger, type CommandPaletteTriggerProps, CommandSeparator, ContextPicker, type ContextPickerProps, CopyId, CreateButton, type CreateButtonProps, CursorLoadMore, type CursorLoadMoreProps, DEFAULT_LANGUAGE_STORAGE_KEY, DataTable, DataTableDateRangeFilter, type DataTableDateRangeFilterProps, DataTableEnumFilter, type DataTableEnumFilterProps, DataTableFacetedFilter, type DataTableFacetedFilterProps, DataTableNumRangeFilter, type DataTableNumRangeFilterProps, DataTableOperatorFilter, type DataTableOperatorFilterProps, type DataTableProps, DataTableRowActions, type DataTableRowActionsProps, DataTableTextFilter, type DataTableTextFilterProps, DataTableToolbar, type DataTableToolbarProps, DataTableViewOptions, type DataTableViewOptionsProps, DateDisplay, DateInput, DeclarativeDisplay, type DeclarativeDisplayProps, DeclarativeForm, type DeclarativeFormProps, type DeclarativeFormSlots, DefaultCommandPalette, type DefaultCommandPaletteProps, Dialog, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, type DialogFilterState, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlayProps, DialogPresentationHost, DialogPresentationShell, DialogTitle, DialogTitleProps, DialogTrigger, DisabledAction, type DisabledActionProps, DocBrowser, type DocBrowserProps, DocInfo, type DocInfoProps, DocPanel, type DocPanelProps, DocTrailHelp, type DocTrailHelpProps, DocumentTitleProvider, type DraftRemovalSignal, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENUM_PICKER_CLEAR_SENTINEL, EditPageHeader, EnumBadge, type EnumBadgeProps, EnumDisplay, EnumInput, EnumPicker, type EnumPickerProps, EnumDisplay$1 as EnumValueDisplay, type EnumDisplayProps as EnumValueDisplayProps, type EnumDisplayVariant as EnumValueDisplayVariant, ExportButton, type ExportButtonProps, ExportDialog, type ExportDialogProps, type FacetedFilterOption, FacetedFilterPicker, type FacetedFilterPickerProps, Field, FieldDisplay, type FieldDisplayProps, type FieldProps, FileDisplay, FileField, type FileFieldProps, FileInput, type FileInputProps, FilterBadges, type FilterBadgesProps, FilterBuilder, type FilterBuilderProps, type FilterOperator, FilterPanel, type FilterPanelProps, FilterRegion, FilterValueControl, type FilterValueControlProps, FlowActionButton, type FlowActionButtonProps, Form, FormActions, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormItem, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, HeaderBreadcrumbs, HelpButton, type HelpButtonProps, Icon, IconComponent, IconProps, Input, InputProps, Label, LabelProps, LanguageSubmenu, LanguageSwitch, type LanguageSwitchApi, type LanguageSwitchProps, type LinkComponent, type LinkComponentProps, LinkComponentProvider, type LinkComponentProviderProps, LinkKeysDisplay, ListBody, ListBulkBar, type ListCellRenderer, ListColumns, ListControls, ListCreate, ListErrorState, type ListErrorStateProps, ListExport, ListFilters, ListFlows, ListLive, ListSavedViews, ListSearchInput, type ListSlot, type ListSlotRegion, type LoginCredentials, LoginForm, type LoginFormProps, NavAreaPage, NavChrome, type NavChromeProps, type NavItem, type NavLayout, type NavLayoutProps, NavMain, type NavMainProps, type NavTreeEntry, type NavTreeLayout, type NavTreeSection, NavigationGuardDialog, NumberDisplay, NumberInput, PACKAGE_NAME, PACKAGE_VERSION, type PageBreadcrumbsProps, PageHeader, type PageHeaderProps, type PaletteState, PinnedFilterControls, type PinnedFilterControlsProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverPresentationHost, PopoverTrigger, type PresentationCopy, PresetFilterControls, type PresetFilterControlsProps, Progress, ProgressProps, RecordActions, RecordBreadcrumbs, RecordPage, type RecordPageProps, RecordScreen, type RecordScreenProps, RecordTitle, RefreshButton, type RefreshButtonProps, RelationDisplay, RelationField, RelationManyDisplay, RelationPicker, type RelationPickerCancelReason, LazyRelationPickerDialog as RelationPickerDialog, type RelationPickerDialogProps, type RelationPickerHandle, RelationPickerInput, type RelationPickerOpenOptions, type RelationPickerProps, type RelationPickerResult, type RelationPickerRow, type ResolvedTheme, type ResourceBreadcrumbsProps, ResourceList, ResourceListPage, type ResourceListPageProps, type ResourceListProps, ResourcePageRouter, type ResourcePageRouterProps, type RowActionDescriptor, SavedViewsDropdown, type SavedViewsDropdownProps, ScopeDimensionPicker, type ScopeDimensionPickerProps, type ScopeOption, ScopeSwitcher, type ScopeSwitcherProps, SecondarySidebarLayout, Select, SelectContent, SelectContentProps, SelectGroup, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetOverlayProps, SheetPresentationHost, SheetPresentationShell, SheetTitle, SheetTitleProps, SheetTrigger, type ShellBrand, type ShellContextValue, ShellProvider, type ShellProviderProps, type ShellUser, type ShellUserMapper, ShowPageHeader, Sidebar, SidebarBrand, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type Slot, type SpacingKey, THEME_CHOICES, THEME_STORAGE_KEY, Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsLayout, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TaskRunPanel, TaskRunPanelProps, TextDisplay, TextInput, Textarea, TextareaDisplay, TextareaInput, TextareaProps, type ThemeChoice, ThemeSubmenu, ThemeToggle, Toaster, type ToasterProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypographyKey, type UseBuroDataTableOptions, type UseDialogFilterStateOptions, type UseNavTreeOptions, type UseRelationPickerOptions, type UseThemeResult, UserMenu, type UserMenuProps, badgeVariants, buildNavItems, buroSortingToTanStack, buttonVariants, cn, defaultNavLayouts, defaultUserMapper, downloadArtifact, formatOperatorLabel, hasIcon, i18nPrefixToRef, isImage, layoutSlot, listSlot, loadLocale, localeLabel, modeForSurface, recordDisplayName, registerIcons, relationLinkClassName, resolveNavIcon, resolveUpdater, saveLocale, shadcnBlockImplementations, shadcnFieldImplementations, shadcnPresentationHosts, spacing, tanStackSortingToBuro, toast, typography, useBuroDataTable, useCurrentUser, useDialogFilterState, useDocumentTitle, useExportRunWatcher, useFormControl, useFormField, useHref, useIsMobile, useLanguagePaletteActions, useLanguageSwitch, useLayout, useLayoutResolver, useLinkComponent, useListSlot, useMatch, useNavIcon, useNavTree, useNavVisible, useOptionalSidebar, usePaletteState, usePresentationCopy, useRelationPicker, useShell, useSidebar, useTheme, useThemePaletteActions, webPlatform, wrapperEnabled };
|
|
6717
|
+
export { ActionButton, type ActionButtonProps, type ActionItem, ActionOverflow, type ActionOverflowProps, type ActionSurface, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AppActions, AppFlowButton, type AppFlowButtonProps, AppHeader, type AppHeaderProps, AppLayout, type AppLayoutProps, AppShell, type AppShellProps, AppSidebar, type AppSidebarProps, AuthPage, type AuthPageProps, Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, BooleanDisplay, BooleanInput, BrandMark, Breadcrumbs, type BreadcrumbsProps, type BuildNavItemsArgs, BulkActionToolbar, type BulkActionToolbarProps, Button, ButtonProps, Card, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, CheckConfirmDialog, type CheckConfirmDialogProps, Checkbox, CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, CollectionCreatePicker, type CollectionCreatePickerProps, CollectionRecordRoute, type CollectionRecordRouteProps, ColumnsToggle, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandLoadingProps, CommandPalette, CommandPaletteActionsGroup, type CommandPaletteActionsGroupProps, type CommandPaletteActionsTestIdRole, CommandPaletteCreateGroup, type CommandPaletteCreateGroupProps, type CommandPaletteCreateTestIdRole, CommandPaletteDocsGroup, type CommandPaletteDocsGroupProps, CommandPaletteNavigationGroups, type CommandPaletteNavigationGroupsProps, type CommandPaletteNavigationTestIdRole, type CommandPaletteProps, CommandPaletteRecentGroup, type CommandPaletteRecentGroupProps, type CommandPaletteRecentTestIdRole, CommandPaletteRecordsGroup, type CommandPaletteRecordsGroupProps, type CommandPaletteRecordsTestIdRole, type CommandPaletteTestIdRole, CommandPaletteTrigger, type CommandPaletteTriggerProps, CommandSeparator, ContextPicker, type ContextPickerProps, CopyId, CreateButton, type CreateButtonProps, CursorLoadMore, type CursorLoadMoreProps, DEFAULT_LANGUAGE_STORAGE_KEY, DataTable, DataTableDateRangeFilter, type DataTableDateRangeFilterProps, DataTableEnumFilter, type DataTableEnumFilterProps, DataTableFacetedFilter, type DataTableFacetedFilterProps, DataTableNumRangeFilter, type DataTableNumRangeFilterProps, DataTableOperatorFilter, type DataTableOperatorFilterProps, type DataTableProps, DataTableRowActions, type DataTableRowActionsProps, DataTableTextFilter, type DataTableTextFilterProps, DataTableToolbar, type DataTableToolbarProps, DataTableViewOptions, type DataTableViewOptionsProps, DateDisplay, DateInput, DeclarativeDisplay, type DeclarativeDisplayProps, DeclarativeForm, type DeclarativeFormProps, type DeclarativeFormSlots, DefaultCommandPalette, type DefaultCommandPaletteProps, Dialog, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, type DialogFilterState, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlayProps, DialogPresentationHost, DialogPresentationShell, DialogTitle, DialogTitleProps, DialogTrigger, DisabledAction, type DisabledActionProps, DocBrowser, type DocBrowserProps, DocInfo, type DocInfoProps, DocPanel, type DocPanelProps, DocTrailHelp, type DocTrailHelpProps, DocumentTitleProvider, type DraftRemovalSignal, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENUM_PICKER_CLEAR_SENTINEL, EditPageHeader, EnumBadge, type EnumBadgeProps, EnumDisplay, EnumInput, EnumPicker, type EnumPickerProps, EnumDisplay$1 as EnumValueDisplay, type EnumDisplayProps as EnumValueDisplayProps, type EnumDisplayVariant as EnumValueDisplayVariant, ExportButton, type ExportButtonProps, ExportDialog, type ExportDialogProps, type FacetedFilterOption, FacetedFilterPicker, type FacetedFilterPickerProps, Field, FieldDisplay, type FieldDisplayProps, type FieldProps, FileDisplay, FileField, type FileFieldProps, FileInput, type FileInputProps, FilterBadges, type FilterBadgesProps, FilterBuilder, type FilterBuilderProps, type FilterOperator, FilterPanel, type FilterPanelProps, FilterRegion, FilterValueControl, type FilterValueControlProps, FlowActionButton, type FlowActionButtonProps, Form, FormActions, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormItem, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, HeaderBreadcrumbs, HelpButton, type HelpButtonProps, Icon, IconComponent, IconProps, Input, InputProps, Label, LabelProps, LanguageSubmenu, LanguageSwitch, type LanguageSwitchApi, type LanguageSwitchProps, type LinkComponent, type LinkComponentProps, LinkComponentProvider, type LinkComponentProviderProps, LinkKeysDisplay, ListBody, ListBulkBar, type ListCellRenderer, ListColumns, ListControls, ListCreate, ListErrorState, type ListErrorStateProps, ListExport, ListFilters, ListFlows, ListLive, ListSavedViews, ListSearchInput, type ListSlot, type ListSlotRegion, type LoginCredentials, LoginForm, type LoginFormProps, NavAreaNotFound, NavAreaPage, NavChrome, type NavChromeProps, type NavItem, type NavLayout, type NavLayoutProps, NavMain, type NavMainProps, type NavTreeEntry, type NavTreeLayout, type NavTreeSection, NavigationGuardDialog, NumberDisplay, NumberInput, PACKAGE_NAME, PACKAGE_VERSION, type PageBreadcrumbsProps, PageHeader, type PageHeaderProps, type PaletteState, PinnedFilterControls, type PinnedFilterControlsProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverPresentationHost, PopoverTrigger, type PresentationCopy, PresetFilterControls, type PresetFilterControlsProps, Progress, ProgressProps, RecordActions, RecordBreadcrumbs, RecordPage, type RecordPageProps, RecordScreen, type RecordScreenProps, RecordTitle, RefreshButton, type RefreshButtonProps, RelationDisplay, RelationField, RelationManyDisplay, RelationPicker, type RelationPickerCancelReason, LazyRelationPickerDialog as RelationPickerDialog, type RelationPickerDialogProps, type RelationPickerHandle, RelationPickerInput, type RelationPickerOpenOptions, type RelationPickerProps, type RelationPickerResult, type RelationPickerRow, type ResolvedTheme, type ResourceBreadcrumbsProps, ResourceList, ResourceListPage, type ResourceListPageProps, type ResourceListProps, ResourcePageRouter, type ResourcePageRouterProps, type RowActionDescriptor, SavedViewsDropdown, type SavedViewsDropdownProps, ScopeDimensionPicker, type ScopeDimensionPickerProps, type ScopeOption, ScopeSwitcher, type ScopeSwitcherProps, SecondarySidebarLayout, Select, SelectContent, SelectContentProps, SelectGroup, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetOverlayProps, SheetPresentationHost, SheetPresentationShell, SheetTitle, SheetTitleProps, SheetTrigger, type ShellBrand, type ShellContextValue, ShellProvider, type ShellProviderProps, type ShellUser, type ShellUserMapper, ShowPageHeader, Sidebar, SidebarBrand, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type Slot, type SpacingKey, THEME_CHOICES, THEME_STORAGE_KEY, Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsLayout, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TaskRunPanel, TaskRunPanelProps, TextDisplay, TextInput, Textarea, TextareaDisplay, TextareaInput, TextareaProps, type ThemeChoice, ThemeSubmenu, ThemeToggle, Toaster, type ToasterProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypographyKey, UnknownMemberCard, type UnknownMemberCardProps, type UseBuroDataTableOptions, type UseDialogFilterStateOptions, type UseNavTreeOptions, type UseRelationPickerOptions, type UseThemeResult, UserMenu, type UserMenuProps, badgeVariants, buildNavItems, buroSortingToTanStack, buttonVariants, cn, defaultNavLayouts, defaultUserMapper, downloadArtifact, formatOperatorLabel, hasIcon, i18nPrefixToRef, isImage, layoutSlot, listSlot, loadLocale, localeLabel, modeForSurface, recordDisplayName, registerIcons, relationLinkClassName, resolveNavIcon, resolveUpdater, saveLocale, shadcnBlockImplementations, shadcnFieldImplementations, shadcnPresentationHosts, spacing, tanStackSortingToBuro, toast, typography, useBuroDataTable, useCurrentUser, useDialogFilterState, useDocumentTitle, useExportRunWatcher, useFormControl, useFormField, useHref, useIsMobile, useLanguagePaletteActions, useLanguageSwitch, useLayout, useLayoutResolver, useLinkComponent, useListSlot, useMatch, useNavIcon, useNavTree, useNavVisible, useOptionalSidebar, usePaletteState, usePresentationCopy, useRelationPicker, useShell, useSidebar, useTheme, useThemePaletteActions, webPlatform, wrapperEnabled };
|
|
6611
6718
|
//# sourceMappingURL=index.d.ts.map
|