@mercurjs/dashboard-shared 2.3.8-canary.2 → 2.3.8-canary.4

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +154 -3
  2. package/dist/index.js +723 -318
  3. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { HttpTypes, AdminOrder } from '@medusajs/types';
4
4
  import { z, ZodObject } from 'zod';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import * as _mercurjs_dashboard_sdk from '@mercurjs/dashboard-sdk';
7
- import { Permission, PermissionsContextValue, PermissionMap, PermissionKey, PermissionRight, CustomFieldsConfig, NavGroupConfig, NavItemOverride, ActivityEntry, CustomFormField, CustomDisplayField, SectionAction, CustomListExtension, CustomListFilter } from '@mercurjs/dashboard-sdk';
7
+ import { Permission, PermissionsContextValue, PermissionMap, PermissionKey, PermissionRight, CustomFieldsConfig, NavGroupConfig, NavItemOverride, LayoutConfig, LayoutPreferences, ZonePreference, ActivityEntry, CustomFormField, CustomDisplayField, SectionAction, CustomListExtension, CustomListFilter, Layouts, SectionNameFor, LayoutComponentProps } from '@mercurjs/dashboard-sdk';
8
8
  import * as React$1 from 'react';
9
9
  import React__default, { ReactNode, PropsWithChildren, ComponentPropsWithoutRef, CSSProperties, ComponentType, ComponentProps, ForwardRefExoticComponent, Ref, RefAttributes, RefCallback, ReactElement, Dispatch, SetStateAction } from 'react';
10
10
  import { Tooltip, Heading, Text, DataTableColumnDef, DataTableFilter, DataTableCommand, DataTableEmptyStateProps, DataTableRowSelectionState, DataTableRow, Select, Input, Table, Drawer, FocusModal, ProgressStatus } from '@medusajs/ui';
@@ -1786,11 +1786,15 @@ type WidgetPlacement = "before" | "after";
1786
1786
  type Widget = {
1787
1787
  Component: ComponentType<{
1788
1788
  data?: unknown;
1789
+ renderDefault?: () => ReactNode;
1789
1790
  }>;
1790
1791
  zone: string[];
1791
1792
  widgetId: string;
1792
1793
  permission?: Permission[];
1793
1794
  label?: string;
1795
+ section?: string;
1796
+ order?: number;
1797
+ replace?: string;
1794
1798
  };
1795
1799
  type WidgetModule = {
1796
1800
  widgets?: Widget[];
@@ -1802,6 +1806,12 @@ type NavigationModule = {
1802
1806
  type CustomFieldsModule = {
1803
1807
  configs?: CustomFieldsConfig[];
1804
1808
  };
1809
+ type LayoutModule = {
1810
+ layouts?: LayoutConfig[];
1811
+ };
1812
+ type PreferenceModule = {
1813
+ layers?: LayoutPreferences[];
1814
+ };
1805
1815
  type ResolvedFormField = {
1806
1816
  name: string;
1807
1817
  field: CustomFormField;
@@ -1834,6 +1844,16 @@ type ZoneWidgets = {
1834
1844
  before: ResolvedWidget[];
1835
1845
  after: ResolvedWidget[];
1836
1846
  };
1847
+ /** A widget resolved for a composer page, keyed by the section it lands in. */
1848
+ type SectionWidget = {
1849
+ Component: Widget["Component"];
1850
+ /** Entry id, `widget:<id>` */
1851
+ widgetId: string;
1852
+ permission?: Permission[];
1853
+ order?: number;
1854
+ replace?: string;
1855
+ };
1856
+ type SectionWidgetMap = Record<string, SectionWidget[]>;
1837
1857
  /**
1838
1858
  * Per-panel singleton mirroring Medusa's `DashboardApp`. Built once at app root
1839
1859
  * from the aggregated `virtual:mercur/{widgets,navigation}` modules; the zone
@@ -1841,14 +1861,29 @@ type ZoneWidgets = {
1841
1861
  */
1842
1862
  declare class ExtensionRegistry {
1843
1863
  private widgets;
1864
+ private rawWidgets;
1844
1865
  private navOverrides;
1845
1866
  private navGroups;
1846
1867
  private customFields;
1868
+ private layouts;
1869
+ private preferences;
1847
1870
  constructor(input?: {
1848
1871
  widgets?: WidgetModule;
1849
1872
  navigation?: NavigationModule;
1850
1873
  customFields?: CustomFieldsModule;
1874
+ layouts?: LayoutModule;
1875
+ preferences?: PreferenceModule;
1851
1876
  });
1877
+ getLayout(id: string): LayoutConfig | undefined;
1878
+ registerLayouts(layouts: LayoutConfig[]): void;
1879
+ getLayoutPreference(zone: string): ZonePreference;
1880
+ /**
1881
+ * Widgets for a composer page, keyed by the layout section each lands in. A
1882
+ * zone is the page prefix (`product.details`) or a section under it
1883
+ * (`product.details.side`); the legacy `.before` / `.after` suffixes map to
1884
+ * the first and last order of that section. An explicit `section` wins.
1885
+ */
1886
+ getWidgetsForSections(prefix: string, sections: string[]): SectionWidgetMap;
1852
1887
  private ensureSlot;
1853
1888
  private populateWidgets;
1854
1889
  getWidgets(slot: string): ZoneWidgets;
@@ -1876,10 +1911,43 @@ declare class ExtensionRegistry {
1876
1911
  getListExtension(model: string): CustomListExtension;
1877
1912
  }
1878
1913
 
1914
+ type RenderDefaultProps = {
1915
+ renderDefault?: () => ReactNode;
1916
+ };
1917
+ type LayeredRoute = {
1918
+ Component: ComponentType<RenderDefaultProps>;
1919
+ path: string;
1920
+ children?: LayeredRoute[];
1921
+ };
1922
+ /**
1923
+ * Collapses routes emitted in layer order so the last route at a path wins and
1924
+ * receives the previous page as `renderDefault`. Parallel (modal) children at
1925
+ * the same path resolve the same way; a later route without children keeps the
1926
+ * earlier route's.
1927
+ */
1928
+ declare function resolveRouteOverrides<T extends LayeredRoute>(routes: T[]): T[];
1929
+
1930
+ /** Field-by-field merge per zone entry, later layers winning. */
1931
+ declare function mergeLayoutPreferences(layers: LayoutPreferences[]): LayoutPreferences;
1932
+ /**
1933
+ * Translates the sidebar zones of `_layouts.ts` (`nav:<path>` entries,
1934
+ * `groups`) into the override shape the sidebars already consume, layered over
1935
+ * the `_navigation.ts` overrides.
1936
+ */
1937
+ declare function navOverridesFromPreferences(navigation: {
1938
+ items: NavItemOverride<string>[];
1939
+ groups: NavGroupConfig[];
1940
+ }, zones: Array<ZonePreference | undefined>): {
1941
+ items: NavItemOverride<string>[];
1942
+ groups: NavGroupConfig[];
1943
+ };
1944
+
1879
1945
  type ExtensionProviderProps = {
1880
1946
  widgets?: WidgetModule;
1881
1947
  navigation?: NavigationModule;
1882
1948
  customFields?: CustomFieldsModule;
1949
+ layouts?: LayoutModule;
1950
+ preferences?: PreferenceModule;
1883
1951
  children: ReactNode;
1884
1952
  };
1885
1953
  /**
@@ -1888,7 +1956,7 @@ type ExtensionProviderProps = {
1888
1956
  * mounted; callers should fall back to built-in behavior when null.
1889
1957
  */
1890
1958
  declare const getExtensionRegistry: () => ExtensionRegistry | null;
1891
- declare const ExtensionProvider: ({ widgets, navigation, customFields, children, }: ExtensionProviderProps) => react_jsx_runtime.JSX.Element;
1959
+ declare const ExtensionProvider: ({ widgets, navigation, customFields, layouts, preferences, children, }: ExtensionProviderProps) => react_jsx_runtime.JSX.Element;
1892
1960
  /**
1893
1961
  * Reads the panel's extension registry. Returns an empty registry when no
1894
1962
  * provider is mounted so hosts render their built-in content untouched.
@@ -2187,6 +2255,89 @@ declare const useActionLocks: (model: string, entity: unknown) => (action: strin
2187
2255
  /** Timeline entries plugins contribute for an entity. */
2188
2256
  declare const useExtensionActivity: (model: string, entity: unknown) => _mercurjs_dashboard_sdk.ActivityEntry[];
2189
2257
 
2258
+ type LayoutEntryProps = {
2259
+ /** Stable identity for this entry; survives component renames and minification. */
2260
+ id: string;
2261
+ children: ReactNode;
2262
+ };
2263
+ declare function LayoutEntry({ children }: LayoutEntryProps): react_jsx_runtime.JSX.Element;
2264
+ declare namespace LayoutEntry {
2265
+ var displayName: string;
2266
+ }
2267
+
2268
+ type LayoutComposerProps<TLayoutId extends Layouts, TData> = {
2269
+ /** Zone prefix widgets and preferences target, e.g. `product.details`. */
2270
+ widgetsZonePrefix: string;
2271
+ /** Layout to render the page with, e.g. `core:two-column`. */
2272
+ preferredLayoutId: TLayoutId;
2273
+ /** Content per section of that layout. */
2274
+ sections: Record<SectionNameFor<TLayoutId>, ReactNode>;
2275
+ /** Passed to every widget as `data`. */
2276
+ data?: TData;
2277
+ /** Render an `Outlet` after the layout for modal child routes. @default true */
2278
+ hasOutlet?: boolean;
2279
+ /** Compose only the page's own entries; no widget is resolved for the prefix. */
2280
+ disableWidgets?: boolean;
2281
+ layoutProps?: Omit<LayoutComponentProps, "sections" | "data">;
2282
+ "data-testid"?: string;
2283
+ };
2284
+ declare const LayoutComposer: (<TLayoutId extends Layouts, TData>({ widgetsZonePrefix, preferredLayoutId, sections, data, hasOutlet, disableWidgets, layoutProps, "data-testid": testId, }: LayoutComposerProps<TLayoutId, TData>) => react_jsx_runtime.JSX.Element | null) & {
2285
+ Entry: typeof LayoutEntry;
2286
+ };
2287
+
2288
+ declare const SingleColumnLayoutComponent: ({ sections, className }: LayoutComponentProps) => react_jsx_runtime.JSX.Element;
2289
+ declare const TwoColumnLayoutComponent: ({ sections, className }: LayoutComponentProps) => react_jsx_runtime.JSX.Element;
2290
+ declare const CORE_LAYOUTS: LayoutConfig[];
2291
+
2292
+ type DetailPageDefaultsOptions = {
2293
+ metadata?: boolean;
2294
+ jsonView?: boolean;
2295
+ };
2296
+ /**
2297
+ * The sections every detail page ends with, each a stable entry so a
2298
+ * preference can hide or move them.
2299
+ */
2300
+ declare function detailPageDefaultEntries(data: object, { metadata, jsonView }?: DetailPageDefaultsOptions): ReactNode;
2301
+
2302
+ type EntryRenderer = (data: unknown) => ReactNode;
2303
+ type RawEntry = {
2304
+ entryId: string;
2305
+ render: EntryRenderer;
2306
+ naturalSection: string;
2307
+ order?: number;
2308
+ /** Entry id this one takes the place of. */
2309
+ replace?: string;
2310
+ };
2311
+ type DisplayEntry = {
2312
+ entryId: string;
2313
+ render: EntryRenderer;
2314
+ order: number;
2315
+ hidden: boolean;
2316
+ };
2317
+
2318
+ declare const CORE_ENTRY_PREFIX = "core:";
2319
+ declare function extractSectionElements(sections: Record<string, ReactNode>): Record<string, ReactElement[]>;
2320
+ /**
2321
+ * One entry per element across all sections, in source order. Duplicate ids
2322
+ * get a `#n` suffix from one counter shared across sections, so two same-named
2323
+ * entries stay distinct. The id omits the section so an entry keeps its
2324
+ * identity (and its preference) when its natural section changes in code.
2325
+ */
2326
+ declare function buildCoreEntries(elementsBySection: Record<string, ReactElement[]>): RawEntry[];
2327
+ declare function buildWidgetEntries(widgets: SectionWidgetMap): RawEntry[];
2328
+ /**
2329
+ * Lets a widget with `replace` take the slot of the entry it names: same
2330
+ * section and order, and the replaced entry becomes its `renderDefault`. A
2331
+ * target that is not on the page is reported once and the widget appends.
2332
+ */
2333
+ declare function applyReplacements(core: RawEntry[], widgets: RawEntry[]): RawEntry[];
2334
+ /**
2335
+ * Applies a zone's preference to the raw entries: effective section (a section
2336
+ * the layout does not render falls back to the natural one), order (preference,
2337
+ * then the widget's own, then 0 so source order holds) and hidden.
2338
+ */
2339
+ declare function buildDisplayEntries(raw: RawEntry[], preference: ZonePreference, validSections: Set<string>): Record<string, DisplayEntry[]>;
2340
+
2190
2341
  /**
2191
2342
  * Re-implementation of enums from `@medusajs/medusa` as they cannot be imported
2192
2343
  * directly. Shared by the admin and vendor price-list surfaces.
@@ -2280,4 +2431,4 @@ declare const RICH_TEXT_ALLOWED_ATTRIBUTES: string[];
2280
2431
  declare const isHtml: (value?: string | null) => boolean;
2281
2432
  declare const plainTextToHtml: (value?: string | null) => string;
2282
2433
 
2283
- export { type Action, type ActionGroup, ActionMenu, AddressForm, AddressSchema, type AttributeChange, type AttributeChangeKind, AttributeValueInput, BadgeListSummary, ChipGroup, ChipInput, CodeCell, CodeHeader, Combobox, type Command, ConditionalTooltip, ConfirmPrompt, type ConfirmPromptProps, type CoreNavItem, CountrySelect, CreatedAtCell, CreatedAtHeader, type CurrencyInfo, type CustomFieldsModule, CustomerInfo, DataGrid, DataTable, DateCell, DateHeader, DateRangeDisplay, DeprecatedPercentageInput, DisplayExtensionZone, type DisplayExtensionZoneProps, DisplayField, type DisplayFieldProps, DisplaySection, type DisplaySectionField, type DisplaySectionProps, type EditAttributeAttribute, EditAttributeForm, type EditAttributeFormProps, EmailCell, EmailForm, EmailHeader, EmailSchema, ErrorBoundary, type ExtendableTable, ExtensionProvider, type ExtensionProviderProps, ExtensionRegistry, type ExtractableOffer, type ExtractableOffers, type FieldDiff, FilePreview, type FileType, FileUpload, type FileUploadProps, type Filter, FilterGroup, Form, FormExtensionZone, type FormExtensionZoneProps, GeneralSectionSkeleton, HandleInput, HeadingSkeleton, IconAvatar, IconButtonSkeleton, ImageAvatar, type ImageRef, IncludesTaxTooltip, InfiniteList, JsonViewSection, JsonViewSectionSkeleton, KeyboundForm, LinkButton, ListBadge, ListSummary, Listicle, type ListicleProps, LocalizedTablePagination, type MediaDiff, MetadataForm, MetadataSection, MoneyAmountCell, NameCell, NameHeader, type NavGroup, type NavGroupItem, type NavItemGroup, type NavigationModule, NoRecords, type NoRecordsProps, NoResults, type NoResultsProps, type OnboardingStep, type OnboardingStepDefault, OrderBy, PercentageInput, PermissionAction, type PermissionActionProps, PermissionGuard, type PermissionGuardProps, type PermissionedCommand, PermissionsContext, PermissionsProvider, type PermissionsProviderProps, PlaceholderCell, PriceListDateStatus, type PriceListGridGroupRow, type PriceListGridOfferRow, type PriceListGridRow, PriceListStatus, PriceListType, type ProductAttributeBatchPayload, ProductAttributeSection, type ProductAttributeSectionProps, type ProductChangeAttribute, ProductChangePanel, type ProductChangePanelProps, type ProductChangeProduct, type ProductChangeResolvers, type ProductChangeVariant, type ProductChangeView, ProgressBar, ProvinceSelect, Query, REFERENCE_FIELDS, RICH_TEXT_ALLOWED_ATTRIBUTES, RICH_TEXT_ALLOWED_TAGS, type ReferenceField, type ResolvedAttribute, type ResolvedDisplays, type ResolvedFormField, RichText, RichTextEditor, type RichTextEditorProps, RouteDrawer, RouteFocusModal, RoutePermissionGuard, SIDEBAR_MENU_CONTENT, SIDEBAR_RAIL_FADE, SectionNoAccess, SectionRow, type SectionRowProps, SegmentedControl, type SegmentedControlOption, SidebarContext, type SidebarContextValue, SidebarLink, type SidebarLinkProps, SidebarProvider, type SidebarState, SingleColumnPage, SingleColumnPageSkeleton, Skeleton, SortableList, SortableTree, StackedDrawer, StackedFocusModal, type StaticCountry, StatusCell, SwitchBox, type TQueryKey, type TabDefinition, TabbedForm, TableFooterSkeleton, TableSectionSkeleton, TableSkeleton, TextCell, TextHeader, TextSkeleton, Thumbnail, TransferOwnershipSchema, TwoColumnPage, TwoColumnPageSkeleton, type UseExtendableFormProps, type UseExtendableTableProps, type UseQueryOptionsWrapper, type VariantGroup, VisuallyHidden, type Widget, type WidgetModule, type WidgetPlacement, type WidgetTab, type WidgetTabs, WidgetZone, type WidgetZoneProps, type ZoneWidgets, _DataTable, applyActionPermissions, applyNavGroups, applyNavOverrides, buildAdditionalDataDefaults, buildAdditionalDataSchema, buildOfferGridData, buildProductChangeView, countries, createDataGridHelper, createDataGridPriceColumns, createFormHelper, createWithPermission, currencies, extractPricesFromOffers, extractReferenceIds, filterCommandsByPermission, formatFieldValue, genericForwardRef, getCountryByIso2, getCurrencySymbol, getDecimalDigits, getExtensionRegistry, getFormattedAddress, getFormattedCountry, getLinkQuery, getLocaleAmount, getNativeSymbol, getPriceListStatus, getStylizedAmount, groupNavItems, humanizeFieldName, isAmountLessThenRoundingError, isForbidden, isHtml, isImageList, isOrderActionable, isOrderAwaitingAction, isPermitted, isPriceListGroupRow, isProductRow, isReferenceField, isSameAddress, linkFields, mergeListFilters, permissionMapAllows, plainTextToHtml, productChangeViewHasContent, queryClient, queryKeysFactory, richTextContentClasses, sanitizeRichText, toPermissionList, useActionLocks, useCan, useCollapsedSidebar, useCombinedRefs, useCommandHistory, useDataTable, useDate, useDisplayFieldOverride, useDocumentDirection, useExpandedSidebar, useExtendableForm, useExtendableTable, useExtension, useExtensionActivity, useLinkQuery, usePermissionGate, usePermissions, usePermittedCommands, useQueryParams, useResourcePermissions, useRouteModal, useSidebar, useSidebarMenuPlacement, useStackedModal, useTabManagement, useTabbedForm, useWidgetTabs, withLinkFields };
2434
+ export { type Action, type ActionGroup, ActionMenu, AddressForm, AddressSchema, type AttributeChange, type AttributeChangeKind, AttributeValueInput, BadgeListSummary, CORE_ENTRY_PREFIX, CORE_LAYOUTS, ChipGroup, ChipInput, CodeCell, CodeHeader, Combobox, type Command, ConditionalTooltip, ConfirmPrompt, type ConfirmPromptProps, type CoreNavItem, CountrySelect, CreatedAtCell, CreatedAtHeader, type CurrencyInfo, type CustomFieldsModule, CustomerInfo, DataGrid, DataTable, DateCell, DateHeader, DateRangeDisplay, DeprecatedPercentageInput, type DetailPageDefaultsOptions, type DisplayEntry, DisplayExtensionZone, type DisplayExtensionZoneProps, DisplayField, type DisplayFieldProps, DisplaySection, type DisplaySectionField, type DisplaySectionProps, type EditAttributeAttribute, EditAttributeForm, type EditAttributeFormProps, EmailCell, EmailForm, EmailHeader, EmailSchema, type EntryRenderer, ErrorBoundary, type ExtendableTable, ExtensionProvider, type ExtensionProviderProps, ExtensionRegistry, type ExtractableOffer, type ExtractableOffers, type FieldDiff, FilePreview, type FileType, FileUpload, type FileUploadProps, type Filter, FilterGroup, Form, FormExtensionZone, type FormExtensionZoneProps, GeneralSectionSkeleton, HandleInput, HeadingSkeleton, IconAvatar, IconButtonSkeleton, ImageAvatar, type ImageRef, IncludesTaxTooltip, InfiniteList, JsonViewSection, JsonViewSectionSkeleton, KeyboundForm, LayoutComposer, type LayoutComposerProps, LayoutEntry, type LayoutEntryProps, type LayoutModule, LinkButton, ListBadge, ListSummary, Listicle, type ListicleProps, LocalizedTablePagination, type MediaDiff, MetadataForm, MetadataSection, MoneyAmountCell, NameCell, NameHeader, type NavGroup, type NavGroupItem, type NavItemGroup, type NavigationModule, NoRecords, type NoRecordsProps, NoResults, type NoResultsProps, type OnboardingStep, type OnboardingStepDefault, OrderBy, PercentageInput, PermissionAction, type PermissionActionProps, PermissionGuard, type PermissionGuardProps, type PermissionedCommand, PermissionsContext, PermissionsProvider, type PermissionsProviderProps, PlaceholderCell, type PreferenceModule, PriceListDateStatus, type PriceListGridGroupRow, type PriceListGridOfferRow, type PriceListGridRow, PriceListStatus, PriceListType, type ProductAttributeBatchPayload, ProductAttributeSection, type ProductAttributeSectionProps, type ProductChangeAttribute, ProductChangePanel, type ProductChangePanelProps, type ProductChangeProduct, type ProductChangeResolvers, type ProductChangeVariant, type ProductChangeView, ProgressBar, ProvinceSelect, Query, REFERENCE_FIELDS, RICH_TEXT_ALLOWED_ATTRIBUTES, RICH_TEXT_ALLOWED_TAGS, type RawEntry, type ReferenceField, type RenderDefaultProps, type ResolvedAttribute, type ResolvedDisplays, type ResolvedFormField, RichText, RichTextEditor, type RichTextEditorProps, RouteDrawer, RouteFocusModal, RoutePermissionGuard, SIDEBAR_MENU_CONTENT, SIDEBAR_RAIL_FADE, SectionNoAccess, SectionRow, type SectionRowProps, type SectionWidget, type SectionWidgetMap, SegmentedControl, type SegmentedControlOption, SidebarContext, type SidebarContextValue, SidebarLink, type SidebarLinkProps, SidebarProvider, type SidebarState, SingleColumnLayoutComponent, SingleColumnPage, SingleColumnPageSkeleton, Skeleton, SortableList, SortableTree, StackedDrawer, StackedFocusModal, type StaticCountry, StatusCell, SwitchBox, type TQueryKey, type TabDefinition, TabbedForm, TableFooterSkeleton, TableSectionSkeleton, TableSkeleton, TextCell, TextHeader, TextSkeleton, Thumbnail, TransferOwnershipSchema, TwoColumnLayoutComponent, TwoColumnPage, TwoColumnPageSkeleton, type UseExtendableFormProps, type UseExtendableTableProps, type UseQueryOptionsWrapper, type VariantGroup, VisuallyHidden, type Widget, type WidgetModule, type WidgetPlacement, type WidgetTab, type WidgetTabs, WidgetZone, type WidgetZoneProps, type ZoneWidgets, _DataTable, applyActionPermissions, applyNavGroups, applyNavOverrides, applyReplacements, buildAdditionalDataDefaults, buildAdditionalDataSchema, buildCoreEntries, buildDisplayEntries, buildOfferGridData, buildProductChangeView, buildWidgetEntries, countries, createDataGridHelper, createDataGridPriceColumns, createFormHelper, createWithPermission, currencies, detailPageDefaultEntries, extractPricesFromOffers, extractReferenceIds, extractSectionElements, filterCommandsByPermission, formatFieldValue, genericForwardRef, getCountryByIso2, getCurrencySymbol, getDecimalDigits, getExtensionRegistry, getFormattedAddress, getFormattedCountry, getLinkQuery, getLocaleAmount, getNativeSymbol, getPriceListStatus, getStylizedAmount, groupNavItems, humanizeFieldName, isAmountLessThenRoundingError, isForbidden, isHtml, isImageList, isOrderActionable, isOrderAwaitingAction, isPermitted, isPriceListGroupRow, isProductRow, isReferenceField, isSameAddress, linkFields, mergeLayoutPreferences, mergeListFilters, navOverridesFromPreferences, permissionMapAllows, plainTextToHtml, productChangeViewHasContent, queryClient, queryKeysFactory, resolveRouteOverrides, richTextContentClasses, sanitizeRichText, toPermissionList, useActionLocks, useCan, useCollapsedSidebar, useCombinedRefs, useCommandHistory, useDataTable, useDate, useDisplayFieldOverride, useDocumentDirection, useExpandedSidebar, useExtendableForm, useExtendableTable, useExtension, useExtensionActivity, useLinkQuery, usePermissionGate, usePermissions, usePermittedCommands, useQueryParams, useResourcePermissions, useRouteModal, useSidebar, useSidebarMenuPlacement, useStackedModal, useTabManagement, useTabbedForm, useWidgetTabs, withLinkFields };