@uibot/renderer-react 0.7.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/collection-application.js +11 -11
- package/dist/collection-editors.js +10 -10
- package/dist/collection-grid/hyperlink.d.ts +38 -0
- package/dist/collection-grid/paged-model.d.ts +1 -1
- package/dist/collection-views/field-config.d.ts +3 -1
- package/dist/collection-views/field-editor-popover.d.ts +15 -0
- package/dist/collection-views/model.d.ts +1 -1
- package/dist/collection-views/schema-editor.d.ts +10 -2
- package/dist/collection-views.js +10 -10
- package/dist/collection-workspace.d.ts +6 -1
- package/dist/collection-workspace.js +13 -13
- package/dist/index.js +12 -12
- package/dist/paged-collection-grid.d.ts +3 -0
- package/dist/paged-collection-grid.js +12 -12
- package/package.json +4 -4
|
@@ -8,6 +8,7 @@ import { type CollectionAggregateProps } from "./collection-views/aggregate.js";
|
|
|
8
8
|
export { PAGED_COLLECTION_GRID_PRESETS, resolvePagedCollectionGridFeatures, type PagedCollectionGridFeatures, type PagedCollectionGridFeaturesInput, type PagedCollectionGridPreset, } from "./collection-grid/features.js";
|
|
9
9
|
export { pickerValue, storedFromPicker, type PagedDatePickerMode, } from "./collection-grid/date-value.js";
|
|
10
10
|
export { formatPagedDate, formatPagedNumber, instantFromZoned, pagedDateFormatting, pagedDateKind, pagedNumberFormatting, pagedOptionSlot, type PagedDateKind, } from "./collection-grid/field-format.js";
|
|
11
|
+
export { PagedHyperlinkInput, PagedHyperlinkView, PagedLinkClientProvider, usePagedLinkClient, } from "./collection-grid/hyperlink.js";
|
|
11
12
|
export type { CollectionUiSlots } from "./collection-ui.js";
|
|
12
13
|
export declare function nextPagedCollectionSort(sort: NonNullable<PagedCollectionView["sort"]>, fieldId: string): NonNullable<PagedCollectionView["sort"]>;
|
|
13
14
|
export interface PagedCollectionGridProps extends CollectionActivityProps {
|
|
@@ -37,6 +38,8 @@ export interface PagedCollectionGridProps extends CollectionActivityProps {
|
|
|
37
38
|
readOnly?: boolean;
|
|
38
39
|
/** Actions for a column header: shown in a chevron menu and on right-click. */
|
|
39
40
|
fieldMenu?: (field: PagedCollectionField) => CollectionMenuItem[];
|
|
41
|
+
/** Shows a "+" button after the last column header; the host opens its new-field editor. */
|
|
42
|
+
onAddField?: () => void;
|
|
40
43
|
/** Opens a record in the host's detail surface; adds an expand button to the row number. */
|
|
41
44
|
onExpandRecord?: (row: PagedCollectionRecord) => void;
|
|
42
45
|
/** Adds a "+ Add record" row under the last record when `features.rowCreate` is on. */
|