diff --git a/build/api/admin.api.md b/build/api/admin.api.md index 515610eb38..98d4252d3a 100644 --- a/build/api/admin.api.md +++ b/build/api/admin.api.md @@ -6,28 +6,35 @@ /// -import type { AccessorTreeState } from '@contember/binding'; +import { AccessorErrorsHolder } from '@contember/react-binding-ui'; +import type { AccessorTreeState } from '@contember/react-binding'; +import { AddEntityButtonProps } from '@contember/react-binding-ui'; import { Ancestor } from 'slate'; import { AnchorButtonProps } from '@contember/ui'; import { AnchorHTMLAttributes } from 'react'; -import type { AsyncBatchUpdatesOptions } from '@contember/binding'; +import type { AsyncBatchUpdatesOptions } from '@contember/react-binding'; import { BaseEditor } from 'slate'; import { BaseSyntheticEvent } from 'react'; import { BoxOwnProps } from '@contember/ui'; -import { BoxProps } from '@contember/ui'; import { ButtonProps } from '@contember/ui'; import { ChildrenAnalyzer } from '@contember/react-multipass-rendering'; -import { ColorInputProps } from '@contember/ui'; -import { ComponentProps } from 'react'; +import { ChoiceFieldDictionary } from '@contember/react-choice-field-ui'; import { ComponentType } from 'react'; import { ContemberClientProps } from '@contember/react-client'; -import { ControlProps } from '@contember/ui'; -import { CSSProperties } from 'react'; -import { DataBindingProviderStateComponent } from '@contember/binding'; -import { DataBindingStateComponentProps } from '@contember/binding'; -import { DateInputProps } from '@contember/ui'; -import { DateTimeInputProps } from '@contember/ui'; -import { Default } from '@contember/ui'; +import type { CreateNewEntityButtonProps } from '@contember/react-binding-ui'; +import { DataBindingProviderStateComponent } from '@contember/react-binding'; +import { DataBindingStateComponentProps } from '@contember/react-binding'; +import { DataGridCellsDictionary } from '@contember/react-datagrid-ui'; +import { DataGridColumnHidingPublicProps } from '@contember/react-datagrid-ui'; +import { DataGridContainerProps } from '@contember/react-datagrid-ui'; +import { DataGridContainerPublicProps } from '@contember/react-datagrid-ui'; +import { DataGridDictionary } from '@contember/react-datagrid-ui'; +import { DataGridFullFiltersPublicProps } from '@contember/react-datagrid-ui'; +import { DataGridLayoutControlPublicProps } from '@contember/react-datagrid-ui'; +import { DataGridProps } from '@contember/react-datagrid-ui'; +import { DataGridRenderingCommonProps } from '@contember/react-datagrid-ui'; +import { DataGridTableRowPublicProps } from '@contember/react-datagrid-ui'; +import { DataGridTilesPublicProps } from '@contember/react-datagrid-ui'; import { Descendant } from 'slate'; import type { DetailedHTMLProps } from 'react'; import { Dispatch } from 'react'; @@ -38,115 +45,92 @@ import { EditorCanvasSize } from '@contember/ui'; import { EditorInterface } from 'slate'; import { Transforms as EditorTransforms } from 'slate'; import { Element as Element_2 } from 'slate'; -import { ElementType } from 'react'; -import { EmailInputProps } from '@contember/ui'; -import { EntityAccessor } from '@contember/binding'; -import { EntityId } from '@contember/binding'; -import { EntityListAccessor } from '@contember/binding'; -import { EntityListBaseProps } from '@contember/binding'; -import { EntityListSubTreeAdditionalProps } from '@contember/binding'; -import { EntityName } from '@contember/binding'; -import { EntitySubTreeAdditionalCreationProps } from '@contember/binding'; -import { EntitySubTreeAdditionalProps } from '@contember/binding'; -import { Environment } from '@contember/binding'; -import type { ErrorAccessor } from '@contember/binding'; -import { ErrorListProps } from '@contember/ui'; +import { EmptyMessageOuterProps } from '@contember/react-binding-ui'; +import { EntityAccessor } from '@contember/react-binding'; +import { EntityId } from '@contember/react-binding'; +import { EntityListAccessor } from '@contember/react-binding'; +import { EntityListBaseProps } from '@contember/react-binding'; +import { EntityListSubTreeAdditionalProps } from '@contember/react-binding'; +import { EntitySubTreeAdditionalCreationProps } from '@contember/react-binding'; +import { EntitySubTreeAdditionalProps } from '@contember/react-binding'; +import { Environment } from '@contember/react-binding'; +import { ErrorCodeDictionary } from '@contember/react-binding-ui'; import { FC } from 'react'; -import { FieldAccessor } from '@contember/binding'; -import { FieldBasicProps } from '@contember/binding'; +import { FieldAccessor } from '@contember/react-binding'; +import { FieldBasicProps } from '@contember/react-binding'; import { FieldContainerProps } from '@contember/ui'; -import { FieldErrors } from '@contember/ui'; -import { FieldValue } from '@contember/binding'; +import { FieldValue } from '@contember/react-binding'; +import { FieldValueFormatter } from '@contember/react-form-fields-ui'; +import { FieldViewDictionary } from '@contember/react-binding-ui'; import type { FileUploader } from '@contember/client'; import type { FileUploadError } from '@contember/client'; -import { Filter } from '@contember/binding'; import type { FocusEvent as FocusEvent_2 } from 'react'; import { FunctionComponent } from 'react'; -import { default as Fuse_2 } from 'fuse.js'; import type { GraphQlClient } from '@contember/client'; import { GraphQlClientRequestOptions } from '@contember/react-client'; import { GraphQlClientVariables } from '@contember/react-client'; import { GraphQlClientVariables as GraphQlClientVariables_2 } from '@contember/client'; import { HistoryEditor } from 'slate-history'; -import { HTMLAnchorElementProps } from '@contember/ui'; -import { HTMLImageElementProps } from '@contember/ui'; -import { HTMLVideoElementProps } from '@contember/ui'; -import { IconProps } from '@contember/ui'; import { IconSourceSpecification } from '@contember/ui'; import { InputHTMLAttributes } from 'react'; -import { JsonObject } from '@contember/binding'; +import { JsonObject } from '@contember/react-binding'; import { JsonValue } from '@contember/binding'; -import { Justification } from '@contember/ui'; +import { JsonValue as JsonValue_2 } from '@contember/react-binding'; import type { KeyboardEvent as KeyboardEvent_2 } from 'react'; +import { LabelMiddleware } from '@contember/react-binding'; import { LayoutPageProps } from '@contember/ui'; import { Location as Location_2 } from 'slate'; -import { MapContainerProps } from 'react-leaflet'; -import { MarkerProps } from 'react-leaflet'; +import { MessageDictionaryByLocaleCode } from '@contember/react-i18n'; +import type { MessageFormatter } from '@contember/react-i18n'; import { MouseEvent as MouseEvent_2 } from 'react'; -import type { NamedExoticComponent } from 'react'; import { Node as Node_2 } from 'slate'; import { NodeEntry } from 'slate'; -import type { NonOptionalControlProps } from '@contember/ui'; -import { OptionallyVariableFieldValue } from '@contember/binding'; -import { OrderBy } from '@contember/binding'; +import type { OptionallyVariableFieldValue } from '@contember/react-binding'; import { Path } from 'slate'; import { PathRef } from 'slate'; -import { PersistOptions } from '@contember/binding'; -import type { PersistSuccessOptions } from '@contember/binding'; +import { PersistFeedbackDictionary } from '@contember/react-binding-ui'; +import type { PersistSuccessOptions } from '@contember/react-binding'; import { Point } from 'slate'; -import type { Props } from 'react-select'; import { PropsWithChildren } from 'react'; -import { PublicCommonReactSelectStylesProps } from '@contember/ui'; import { PureComponent } from 'react'; -import { QualifiedEntityList } from '@contember/binding'; -import type { RadioProps } from '@contember/ui'; import { Range as Range_2 } from 'slate'; -import { ReactChild } from 'react'; import { ReactEditor } from 'slate-react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; import { Ref } from 'react'; import { RefObject } from 'react'; -import { RelativeSingleField } from '@contember/binding'; -import { RemovalType } from '@contember/binding'; +import { RelativeSingleField } from '@contember/react-binding'; +import { RemovalType } from '@contember/react-binding'; import { RenderElementProps } from 'slate-react'; import { RenderLeafProps } from 'slate-react'; import { RepeaterItemContainerProps } from '@contember/ui'; import type { S3FileUploader } from '@contember/client'; import { SaveButtonProps } from '@contember/ui'; -import type { Scalar } from '@contember/binding'; -import { Schema } from '@contember/binding'; +import type { Scalar } from '@contember/react-binding'; import { Scheme } from '@contember/ui'; -import { SearchInputProps } from '@contember/ui'; +import { SelectEntityButtonProps } from '@contember/react-binding-ui'; import { Selection as Selection_2 } from 'slate'; -import { Serializable } from '@contember/react-utils'; import { SetStateAction } from 'react'; +import { SimpleRelativeSingleFieldProps } from '@contember/react-form-fields-ui'; import { Size } from '@contember/ui'; import * as Slate from 'slate'; import { SortableContainerProps } from 'react-sortable-hoc'; import { SortableElementProps } from 'react-sortable-hoc'; -import { StaticRenderProvider } from '@contember/binding'; -import { SuccessfulPersistResult } from '@contember/binding'; -import { SugarableRelativeSingleField } from '@contember/binding'; -import { SugaredFieldProps } from '@contember/binding'; -import type { SugaredFilter } from '@contember/binding'; -import type { SugaredOrderBy } from '@contember/binding'; -import { SugaredQualifiedEntityList } from '@contember/binding'; -import { SugaredQualifiedFieldList } from '@contember/binding'; -import { SugaredQualifiedSingleEntity } from '@contember/binding'; -import { SugaredRelativeEntityList } from '@contember/binding'; -import { SugaredRelativeSingleEntity } from '@contember/binding'; -import { SugaredRelativeSingleField } from '@contember/binding'; -import { SugaredUnconstrainedQualifiedSingleEntity } from '@contember/binding'; +import { StaticRenderProvider } from '@contember/react-binding'; +import { SugarableRelativeSingleField } from '@contember/react-binding'; +import { SugaredFieldProps } from '@contember/react-binding'; +import { SugaredQualifiedEntityList } from '@contember/react-binding'; +import { SugaredQualifiedFieldList } from '@contember/react-binding'; +import { SugaredQualifiedSingleEntity } from '@contember/react-binding'; +import { SugaredRelativeEntityList } from '@contember/react-binding'; +import { SugaredRelativeSingleEntity } from '@contember/react-binding'; +import { SugaredRelativeSingleField } from '@contember/react-binding'; +import { SugaredUnconstrainedQualifiedSingleEntity } from '@contember/react-binding'; import { SyntheticEvent } from 'react'; import { TableProps } from '@contember/ui'; import { TableRowProps } from '@contember/ui'; import { Text as Text_2 } from 'slate'; -import { TextareaInputProps } from '@contember/ui'; -import { TileLayerProps } from 'react-leaflet'; -import { TimeInputProps } from '@contember/ui'; -import { UnsugarableSingleEntityEventListeners } from '@contember/binding'; -import { UrlInputProps } from '@contember/ui'; +import { UnsugarableSingleEntityEventListeners } from '@contember/react-binding'; import { VisuallyDependentControlProps } from '@contember/ui'; // @public (undocumented) @@ -192,42 +176,6 @@ export const acceptImageFile: ({ file }: AcceptFileOptions) => boolean; // @public (undocumented) export const acceptVideoFile: ({ file }: AcceptFileOptions) => boolean; -// @public (undocumented) -export interface AccessorErrorMessage { - // (undocumented) - message: string; -} - -// @public (undocumented) -export type AccessorErrorMessages = [AccessorErrorMessage, ...AccessorErrorMessage[]]; - -// @public (undocumented) -export function AccessorErrors({ accessor, ...errorListProps }: AccessorErrorsProps): ReactElement | null; - -// @public (undocumented) -export interface AccessorErrorsHolder { - // (undocumented) - readonly errors: ErrorAccessor | undefined; -} - -// @public (undocumented) -export interface AccessorErrorsProps extends Omit { - // (undocumented) - accessor: FieldAccessor | EntityAccessor | EntityListAccessor; -} - -// @public (undocumented) -export interface AddEntityButtonProps { - // (undocumented) - addButtonComponent?: ComponentType; - // (undocumented) - addButtonComponentExtraProps?: {}; - // (undocumented) - addButtonProps?: CreateNewEntityButtonProps; - // (undocumented) - addButtonText?: ReactNode; -} - // @internal (undocumented) export const AddNewBlockButton: React.NamedExoticComponent; @@ -387,69 +335,6 @@ export const AudioUploadField: = PublicSingleKindUploadFieldProps & AudioFileDataExtractorProps; -// @public (undocumented) -export const AutoCell: React.NamedExoticComponent; - -// @public (undocumented) -export type AutoCellProps = { - schema: Schema; - entityName: string; - fieldName: string; - createEntityLink?: (entity: string) => RoutingLinkTarget; -}; - -// @public (undocumented) -export const AutoField: React.NamedExoticComponent; - -// @public (undocumented) -export type AutoFieldProps = { - schema: Schema; - entityName: string; - fieldName: string; - createEditLink?: (entity: string) => RoutingLinkTarget; - excludedEntities?: string[]; -}; - -// @public (undocumented) -export const AutoFields: React.NamedExoticComponent; - -// @public (undocumented) -export type AutoFieldsProps = { - createEditLink?: (entity: string) => RoutingLinkTarget; - excludedFields?: string[]; - excludedEntities?: string[]; -}; - -// @public (undocumented) -export const AutoForm: React.NamedExoticComponent; - -// @public (undocumented) -export type AutoFormProps = { - entity: string; - id?: EntityId; - onCreateSuccess?: EntityAccessor.PersistSuccessHandler | Set; - createEditLink?: (entity: string) => RoutingLinkTarget; -}; - -// @public (undocumented) -export const AutoGrid: React.NamedExoticComponent; - -// @public (undocumented) -export type AutoGridProps = DataGridContainerPublicProps & { - entities: DataGridProps['entities']; - createViewLinkTarget?: (entity: string) => RoutingLinkTarget; - createEditLinkTarget?: (entity: string) => RoutingLinkTarget; -}; - -// @public (undocumented) -export const AutoLabel: React.NamedExoticComponent; - -// @public (undocumented) -export type AutoLabelProps = { - field: string; - createLink?: (entity: string) => RoutingLinkTarget; -}; - // @public (undocumented) export const Avatar: FunctionComponent; @@ -463,19 +348,6 @@ export interface AvatarProps { size?: 1 | 2 | 3 | 4 | 5; } -// @public (undocumented) -export type BaseDynamicChoiceField = BaseDynamicChoiceFieldOptions & SelectFuseOptionsProps & { - searchByFields?: ChoiceFieldSearchByFields; - createNewForm?: ReactElement; - lazy?: LazyChoiceFieldSettings; - renderedOptionsLimit?: number; - transformOptions?: (data: ChoiceFieldData.Options, input: string | undefined) => ChoiceFieldData.Options; - sortableBy?: SugaredFieldProps['field']; -}; - -// @public (undocumented) -export type BaseDynamicChoiceFieldOptions = DynamicChoiceFieldOptionProps | DynamicChoiceFieldWithCustomLabelProps | LegacyChoiceFieldWithOptionRenderer; - // @public export const Block: FunctionComponent; @@ -591,33 +463,6 @@ export type BlockRepeaterProps = { // @public (undocumented) export const boldToolbarButton: ToolbarButtonSpec; -// @public -export const BooleanCell: FunctionComponent; - -// @public (undocumented) -export type BooleanCellProps = DataGridColumnPublicProps & BooleanFieldViewProps & { - disableOrder?: boolean; - initialOrder?: DataGridOrderDirection; - initialFilter?: BooleanFilterArtifacts; -}; - -// @public (undocumented) -export const BooleanFieldView: FunctionComponent; - -// @public (undocumented) -export type BooleanFieldViewProps = { - field: SugaredFieldProps['field']; - booleanStyle?: 'yesNo' | 'checkCross' | 'oneZero'; - format?: (date: boolean) => ReactNode; -} & FieldFallbackViewPublicProps; - -// @public (undocumented) -export type BooleanFilterArtifacts = { - includeTrue: boolean; - includeFalse: boolean; - includeNull: boolean; -}; - // @public (undocumented) export type BuiltinEditorPlugins = BuiltinElementBased | BuiltinTextBased; @@ -633,105 +478,6 @@ export const ChangePassword: FC<{}>; // @public (undocumented) export type ChangePasswordErrors = 'TOO_WEAK' | 'NOT_A_PERSON' | 'INVALID_PASSWORD'; -// @public (undocumented) -export const CheckboxField: React.NamedExoticComponent; - -// @public (undocumented) -export type CheckboxFieldProps = SimpleRelativeSingleFieldProps & ControlProps; - -// @public (undocumented) -export const ChoiceField: FunctionComponent; - -// @public (undocumented) -export namespace ChoiceFieldData { - // (undocumented) - export interface BaseChoiceMetadata { - // (undocumented) - data: Options; - // (undocumented) - errors: FieldErrors | undefined; - // (undocumented) - isLoading?: boolean; - // (undocumented) - onAddNew?: () => void; - // (undocumented) - onSearch?: (input: string) => void; - } - // (undocumented) - export interface MultiChoiceFieldProps { - // (undocumented) - children: (metadata: MultipleChoiceFieldMetadata) => ReactElement | null; - } - // (undocumented) - export interface MultipleChoiceFieldMetadata extends BaseChoiceMetadata { - // (undocumented) - currentValues: SingleOption[]; - // (undocumented) - onAdd: (option: SingleOption) => void; - // (undocumented) - onClear: () => void; - // (undocumented) - onMove?: (oldIndex: number, newIndex: number) => void; - // (undocumented) - onRemove: (option: SingleOption) => void; - } - // (undocumented) - export type Options = SingleOption[]; - // (undocumented) - export interface SingleChoiceFieldMetadata extends BaseChoiceMetadata { - // (undocumented) - currentValue: SingleOption | null; - // (undocumented) - onClear: () => void; - // (undocumented) - onSelect: (newValue: SingleOption) => void; - } - // (undocumented) - export interface SingleChoiceFieldProps { - // (undocumented) - children: (metadata: SingleChoiceFieldMetadata) => ReactElement | null; - } - // (undocumented) - export interface SingleOption { - // (undocumented) - description?: ReactNode; - // (undocumented) - key: string; - // (undocumented) - label: ReactNode; - // (undocumented) - searchKeywords: string; - // (undocumented) - value: Value; - } -} - -// @public (undocumented) -export type ChoiceFieldDictionary = typeof choiceFieldDictionary; - -// @public (undocumented) -export const choiceFieldDictionary: { - choiceField: { - createNew: { - confirmButtonText: string; - cancelButtonText: string; - dialogTitle: string; - }; - }; -}; - -// @public (undocumented) -export type ChoiceFieldOptionsAsEntityList = string | (SugaredQualifiedEntityList['entities'] & ForbidKeys) | (SugaredQualifiedEntityList & ForbidKeys); - -// @public (undocumented) -export type ChoiceFieldOptionsAsFieldList = string | (SugaredQualifiedFieldList['fields'] & ForbidKeys) | (SugaredQualifiedFieldList & ForbidKeys); - -// @public (undocumented) -export type ChoiceFieldProps = (ChoiceFieldData.SingleChoiceFieldProps & StaticSingleChoiceFieldProps) | (ChoiceFieldData.SingleChoiceFieldProps & DynamicSingleChoiceFieldProps); - -// @public (undocumented) -export type ChoiceFieldSearchByFields = SugaredRelativeSingleField['field'] | SugaredRelativeSingleField['field'][]; - // @public export const ClearFieldButton: React.NamedExoticComponent; @@ -755,40 +501,9 @@ export type ClearFieldButtonInnerPublicProps = ButtonProps; // @public (undocumented) export type ClearFieldButtonProps = SimpleRelativeSingleFieldProps & ClearFieldButtonInnerPublicProps; -// @public (undocumented) -export const CoalesceFieldView: (props: CoalesceFieldViewProps) => ReactElement; - -// @public (undocumented) -export interface CoalesceFieldViewProps extends FieldFallbackViewPublicProps { - // (undocumented) - fields: (SugarableRelativeSingleField | string)[]; - // (undocumented) - format?: (value: Persisted) => ReactNode; -} - -// @public -export const CoalesceTextCell: FC; - -// @public (undocumented) -export type CoalesceTextCellProps = DataGridColumnPublicProps & FieldFallbackViewPublicProps & CoalesceFieldViewProps & { - initialFilter?: CoalesceTextFilterArtifacts; -}; - -// @public (undocumented) -export type CoalesceTextFilterArtifacts = { - mode: 'matches' | 'matchesExactly' | 'startsWith' | 'endsWith' | 'doesNotMatch'; - query: string; -}; - // @public (undocumented) export const codeToolbarButton: ToolbarButtonSpec; -// @public (undocumented) -export const ColorField: React.NamedExoticComponent; - -// @public (undocumented) -export type ColorFieldProps = SimpleRelativeSingleFieldProps & Omit; - // @public (undocumented) export type CommonFileKindProps = PublicFileKind & FileUrlDataExtractorProps & GenericFileMetadataExtractorProps & { additionalExtractors?: FileDataExtractor[]; @@ -885,25 +600,6 @@ export interface ContentOutletProps { placeholder?: string; } -// @public -export const ControlledDataGrid: (props: ControlledDataGridProps) => ReactElement; - -// @public (undocumented) -export type ControlledDataGridProps = DataGridContainerPublicProps & { - state: DataGridState; - stateMethods: DataGridStateMethods; - dataGridKey?: string; - entities: SugaredQualifiedEntityList['entities']; - children: ReactNode; - itemsPerPage?: number | null; -} & ({} | { - component: ComponentType; - componentProps: ComponentExtraProps; -}); - -// @public (undocumented) -export type ControlValueParser = (value: ControlVal | null | undefined, field: FieldAccessor) => FieldVal | null; - // @public (undocumented) export const CreateApiKeyForm: FC; @@ -976,15 +672,6 @@ export const createEmptyTableRowElement: (columnCount?: number) => { // @public (undocumented) export const createMarkHtmlDeserializer: (markType: string, tagMatcher: (el: HTMLElement) => boolean, attributeMatcher: (el: HTMLElement) => boolean) => HtmlDeserializerPlugin; -// @public (undocumented) -export const CreateNewEntityButton: React.MemoExoticComponent<({ createNewEntity, iconProps, children, ...buttonProps }: CreateNewEntityButtonProps) => JSX.Element>; - -// @public (undocumented) -export type CreateNewEntityButtonProps = ButtonProps & { - createNewEntity: (initialize?: EntityAccessor.BatchUpdatesHandler) => void; - iconProps?: IconProps; -}; - // @public (undocumented) export const CreatePage: PageComponent<({ pageName, children, rendererProps, redirectOnSuccess, onPersistSuccess, ...entityProps }: CreatePageProps) => JSX.Element>; @@ -1076,390 +763,40 @@ export interface CustomFieldBackedElement { element: ReactNode; } -// @public (undocumented) -export interface CustomMarkPlugin { - // (undocumented) - isHotKey: (e: KeyboardEvent) => boolean; - // (undocumented) - render: FunctionComponent; - // (undocumented) - type: string; -} - -// @public (undocumented) -export const cycleOrderDirection: (direction: DataGridOrderDirection) => DataGridOrderDirection; - -// @public (undocumented) -export const DATA_GRID_DEFAULT_ITEMS_PER_PAGE = 50; - -// @public -export const DataGrid: (props: DataGridProps) => ReactElement; - -// @public (undocumented) -export interface DataGridCellPublicProps { - // (undocumented) - canBeHidden?: boolean; - // (undocumented) - hidden?: boolean; - // (undocumented) - justification?: Justification; - // (undocumented) - shrunk?: boolean; -} - -// @public (undocumented) -export type DataGridCellsDictionary = typeof dataGridCellsDictionary; - -// @public (undocumented) -export const dataGridCellsDictionary: { - dataGridCells: { - includeNull: string; - booleanCell: { - includeTrue: string; - includeFalse: string; - includeNull: string; - }; - dateCell: { - fromLabel: string; - toLabel: string; - }; - textCell: { - matches: string; - doesNotMatch: string; - matchesExactly: string; - startsWith: string; - endsWith: string; - queryPlaceholder: string; - includeNull: string; - excludeNull: string; - }; - numberCell: { - equals: string; - greaterThan: string; - lessThan: string; - }; - }; -}; - -// @public -export const DataGridColumn: (props: DataGridColumnProps) => ReactElement; - -// @public (undocumented) -export type DataGridColumnFiltering = { - enableFiltering: false; -} | { - enableFiltering?: true; - initialFilter?: FA; - getNewFilter: GetNewFilter; - emptyFilter: FA; - filterRenderer: ComponentType>; -}; - -// @public (undocumented) -export type DataGridColumnKey = string; - -// @public (undocumented) -export type DataGridColumnOrdering = { - enableOrdering: false; -} | { - enableOrdering?: true; - initialOrder?: DataGridOrderDirection; - getNewOrderBy: GetNewOrderBy; -}; - -// @public (undocumented) -export type DataGridColumnProps = DataGridColumnPublicProps & DataGridColumnFiltering & DataGridColumnOrdering; - -// @public (undocumented) -export type DataGridColumnPublicProps = DataGridHeaderCellPublicProps & DataGridCellPublicProps & { - columnKey?: string; - children?: ReactNode; -}; - -// @public (undocumented) -export type DataGridColumns = Map; - -// @public (undocumented) -export const DataGridContainer: FunctionComponent; - -// @public (undocumented) -export interface DataGridContainerOwnProps extends DataGridContainerPublicProps { - // (undocumented) - desiredState: DataGridState; - // (undocumented) - displayedState: DataGridState; - // (undocumented) - entityName: EntityName; - // (undocumented) - filter: Filter; - // (undocumented) - setFilter: DataGridSetColumnFilter; - // (undocumented) - setIsColumnHidden: DataGridSetIsColumnHidden; - // (undocumented) - setLayout: SetDataGridView; - // (undocumented) - setOrderBy: DataGridSetColumnOrderBy; - // (undocumented) - updatePaging: (action: GridPagingAction) => void; -} - -// @public (undocumented) -export interface DataGridContainerProps extends DataGridContainerOwnProps, EntityListBaseProps { -} - -// @public (undocumented) -export interface DataGridContainerPublicProps { - // (undocumented) - allowAggregateFilterControls?: boolean; - // (undocumented) - allowColumnVisibilityControls?: boolean; - // (undocumented) - emptyMessage?: ReactNode; - // (undocumented) - emptyMessageComponent?: ComponentType; - // (undocumented) - emptyMessageComponentExtraProps?: {}; - // (undocumented) - onEntityClick?: (entity: EntityAccessor) => void; - // (undocumented) - selectedEntityIds?: EntityId[]; - // (undocumented) - tile?: ReactNode; - // (undocumented) - tileSize?: number; -} - -// @public (undocumented) -export type DataGridDictionary = typeof dataGridDictionary; - -// @public (undocumented) -export const dataGridDictionary: { - dataGrid: { - emptyMessage: { - text: string; - }; - columnFiltering: { - showMenuButton: { - text: string; - }; - heading: string; - emptyMessage: { - text: string; - }; - columnColumn: { - text: string; - }; - filterColumn: { - text: string; - }; - addFilterButton: { - text: string; - }; - }; - columnHiding: { - showMenuButton: { - text: string; - }; - heading: string; - }; - paging: { - first: string; - previous: string; - next: string; - last: string; - status: { - unknownPageTotal: string; - knownPageTotal: string; - itemCount: string; - }; - }; - }; -}; - -// @public (undocumented) -export type DataGridFilterArtifact = Serializable; - -// @public (undocumented) -export type DataGridFilterArtifactStore = Record; - -// @public (undocumented) -export function DataGridHeaderCell({ ascOrderIcon, descOrderIcon, emptyFilterArtifact, environment, filterArtifact, filterRenderer, hasFilter, header, headerJustification, orderState, setFilter, setOrderBy, shrunk, }: DataGridHeaderCellProps): ReactElement; - -// @public (undocumented) -export interface DataGridHeaderCellInternalProps { - // (undocumented) - emptyFilterArtifact: DataGridFilterArtifact; - // (undocumented) - environment: Environment; - // (undocumented) - filterArtifact: DataGridFilterArtifact; - // (undocumented) - filterRenderer: ComponentType> | undefined; - // (undocumented) - hasFilter: boolean; - // (undocumented) - orderState: { - direction: Exclude; - index: number | undefined; - } | undefined; - // (undocumented) - setFilter: DataGridSetFilter; - // (undocumented) - setOrderBy: DataGridSetOrderBy; -} - -// @public (undocumented) -export interface DataGridHeaderCellProps extends DataGridHeaderCellInternalProps, DataGridHeaderCellPublicProps { -} - -// @public (undocumented) -export interface DataGridHeaderCellPublicProps { - // (undocumented) - ascOrderIcon?: ReactNode; - // (undocumented) - descOrderIcon?: ReactNode; - // (undocumented) - header?: ReactNode; - // (undocumented) - headerJustification?: Justification; - // (undocumented) - shrunk?: boolean; -} - -// @public (undocumented) -export type DataGridHiddenColumnsStateStore = Record; - -// @public (undocumented) -export type DataGridLayout = Default | 'tiles'; - -// @public (undocumented) -export type DataGridOrderDirection = 'asc' | 'desc' | null; - -// @public (undocumented) -export type DataGridOrderDirectionStore = Record>; - -// @public (undocumented) -export const DataGridPage: PageComponent<({ children, rendererProps, pageName, ...dataGridProps }: DataGridPageProps) => JSX.Element>; - -// @public (undocumented) -export type DataGridPageProps = DataGridProps<{}> & { - pageName?: string; - children?: ReactNode; - rendererProps?: Omit; -}; - -// @public (undocumented) -export const DataGridPageRenderer: React.NamedExoticComponent; - -// @public (undocumented) -export type DataGridPageRendererProps = LayoutRendererProps & DataGridContainerProps; - -// @public (undocumented) -export type DataGridProps = DataGridContainerPublicProps & { - dataGridKey?: string; - entities: SugaredQualifiedEntityList['entities']; - children: ReactNode; - itemsPerPage?: number | null; -} & ({} | { - component: ComponentType; - componentProps: ComponentExtraProps; -}); - -// @public (undocumented) -export const DataGridScope: ({ stateComponent, stateProps, ...props }: DataGridScopeProps) => JSX.Element; - -// @public (undocumented) -export type DataGridScopeProps = PropsWithChildren> & DataBindingProviderStateComponent; - -// @public (undocumented) -export type DataGridSetColumnFilter = (columnKey: DataGridColumnKey, columnFilter: FA | undefined) => void; - -// @public (undocumented) -export type DataGridSetColumnOrderBy = (columnKey: DataGridColumnKey, columnOrderBy: DataGridOrderDirection, append?: boolean) => void; - -// @public (undocumented) -export type DataGridSetFilter = (filter: FA | undefined) => void; - -// @public (undocumented) -export type DataGridSetIsColumnHidden = (columnKey: DataGridColumnKey, isHidden: boolean) => void; - -// @public (undocumented) -export type DataGridSetOrderBy = (setOrderBy: DataGridOrderDirection, append?: boolean) => void; - -// @public (undocumented) -export interface DataGridState { - columns: DataGridColumns; - entities: QualifiedEntityList; - // (undocumented) - filter: Filter; - // (undocumented) - filterArtifacts: DataGridFilterArtifactStore; - // (undocumented) - hiddenColumns: DataGridHiddenColumnsStateStore; - // (undocumented) - layout: DataGridLayout; - orderBy: OrderBy; - // (undocumented) - orderDirections: DataGridOrderDirectionStore; - paging: GridPagingState; -} - -// @public (undocumented) -export interface DataGridStateMethods { - // (undocumented) - setFilter: DataGridSetColumnFilter; - // (undocumented) - setIsColumnHidden: DataGridSetIsColumnHidden; +// @public (undocumented) +export interface CustomMarkPlugin { // (undocumented) - setLayout: SetDataGridView; + isHotKey: (e: KeyboardEvent) => boolean; // (undocumented) - setOrderBy: DataGridSetColumnOrderBy; + render: FunctionComponent; // (undocumented) - updatePaging: DispatchChangePage; + type: string; } -// @public -export const DateCell: FunctionComponent; - -// @public (undocumented) -export type DateCellProps = DataGridColumnPublicProps & DateFieldViewProps & { - disableOrder?: boolean; - initialOrder?: DataGridOrderDirection; - initialFilter?: DateRange; -}; - -// @public (undocumented) -export const DateField: React.NamedExoticComponent; - // @public (undocumented) -export type DateFieldProps = SimpleRelativeSingleFieldProps & DateInputProps; +export const DataGridPage: PageComponent<({ children, rendererProps, pageName, ...dataGridProps }: DataGridPageProps) => JSX.Element>; // @public (undocumented) -export const DateFieldView: FunctionComponent; +export type DataGridPageProps = DataGridProps & { + pageName?: string; + children?: ReactNode; + rendererProps?: Omit; +}; // @public (undocumented) -export type DateFieldViewProps = { - field: SugaredFieldProps['field']; -} & ({ - format?: ((date: Date) => ReactNode) | Intl.DateTimeFormatOptions; - locale?: never; -} | { - format?: Intl.DateTimeFormatOptions; - locale: string | string[]; -}) & FieldFallbackViewPublicProps; +export const DataGridPageRenderer: React.NamedExoticComponent | undefined; +} & DataGridTableRowPublicProps & EntityListBaseProps & DataGridTilesPublicProps & DataGridRenderingCommonProps>; // @public (undocumented) -export type DateRange = { - start: string | null; - end: string | null; -}; +export type DataGridPageRendererProps = LayoutRendererProps & DataGridContainerProps; // @public (undocumented) -export const DateTimeField: React.NamedExoticComponent; +export const DataGridScope: ({ stateComponent, stateProps, ...props }: DataGridScopeProps) => JSX.Element; // @public (undocumented) -export type DateTimeFieldProps = SimpleRelativeSingleFieldProps & DateTimeInputProps; +export type DataGridScopeProps = PropsWithChildren> & DataBindingProviderStateComponent; // @public (undocumented) export const DefaultElement: FunctionComponent; @@ -1468,15 +805,6 @@ export const DefaultElement: FunctionComponent; export interface DefaultElementProps extends RenderElementProps { } -// @public -export const DeleteEntityButton: React.MemoExoticComponent<(props: DeleteEntityButtonProps) => JSX.Element | null>; - -// @public (undocumented) -export type DeleteEntityButtonProps = { - immediatePersist?: true; - children?: ReactNode; -} & ButtonProps; - // @public (undocumented) export const DerivedFieldLink: FunctionComponent; @@ -1598,9 +926,6 @@ export type DiscriminatedFileKindsProps = SelectFi baseEntity?: string; }; -// @public (undocumented) -export type DispatchChangePage = (action: GridPagingAction) => void; - // @public (undocumented) export const DisplayTextField: React.NamedExoticComponent; @@ -1612,35 +937,9 @@ export type DisplayTextFieldProps = Omit JSX.Element; -// @public (undocumented) -export type DynamicChoiceFieldOptionProps = { - options: ChoiceFieldOptionsAsFieldList; -}; - -// @public (undocumented) -export type DynamicChoiceFieldWithCustomLabelProps = { - options: ChoiceFieldOptionsAsEntityList; - optionLabel: ReactNode; -}; - -// @public (undocumented) -export const DynamicMultiChoiceField: FunctionComponent>; - -// @public (undocumented) -export type DynamicMultipleChoiceFieldProps = SugaredRelativeEntityList & BaseDynamicChoiceField & ({} | DynamicMultipleChoiceWithConnectingEntityFieldProps); - -// @public (undocumented) -export interface DynamicMultipleChoiceWithConnectingEntityFieldProps { - // (undocumented) - connectingEntityField: string | SugaredRelativeSingleEntity; -} - // @public (undocumented) export type DynamicRequestParameters = RequestParameters; -// @public (undocumented) -export type DynamicSingleChoiceFieldProps = SugaredRelativeSingleEntity & BaseDynamicChoiceField; - // @public (undocumented) export const EditIdentity: FC; @@ -1846,12 +1145,6 @@ export interface ElementWithReference extends Element_2 { referenceId: EntityId; } -// @public (undocumented) -export const EmailField: React.NamedExoticComponent; - -// @public (undocumented) -export type EmailFieldProps = SimpleRelativeSingleFieldProps & Omit; - // @public (undocumented) export interface EmbedHandler { // (undocumented) @@ -1877,57 +1170,6 @@ export const EmbedHandlers: { Spotify: typeof SpotifyEmbedHandler; }; -// @public (undocumented) -export const EmptyMessage: React.MemoExoticComponent<({ children, component, padding, ...rest }: EmptyMessageProps) => JSX.Element>; - -// @public (undocumented) -export type EmptyMessageComponentProps = BoxProps & { - children: ReactNode; -}; - -// @public (undocumented) -export interface EmptyMessageOuterProps { - // (undocumented) - emptyMessage?: ReactNode; - // (undocumented) - emptyMessageComponent?: ComponentType; -} - -// @public (undocumented) -export type EmptyMessageProps> = ComponentProps & ComponentProps & { - children: ReactNode; - component?: C; -}; - -// @public -export const EnumCell: React.NamedExoticComponent; - -// @public (undocumented) -export type EnumCellArtifacts = { - values: string[]; - nullCondition: boolean; -}; - -// @public (undocumented) -export type EnumCellProps = DataGridColumnPublicProps & FieldFallbackViewPublicProps & NullConditionFilterPublicProps & { - field: SugaredFieldProps['field']; - options: Record; - format?: (value: string | null) => ReactNode; - initialFilter?: EnumCellArtifacts; -}; - -// @public (undocumented) -export type ErrorCodeDictionary = typeof errorCodeDictionary; - -// @public (undocumented) -export const errorCodeDictionary: { - errorCodes: { - fieldRequired: string; - notUnique: string; - unknownExecutionError: string; - }; -}; - // @public (undocumented) export function FeedbackRenderer({ accessorTreeState, children }: FeedbackRendererProps): JSX.Element | null; @@ -1942,46 +1184,6 @@ export interface FeedbackRendererProps { // @public (undocumented) export type FieldBackedElement = RichTextFieldBackedElement | PlainTextFieldBackedElement | CustomFieldBackedElement; -// @public (undocumented) -export const FieldFallbackView: FunctionComponent; - -// @public (undocumented) -export interface FieldFallbackViewProps { - // (undocumented) - fallback: ReactNode | undefined; - // (undocumented) - fallbackStyle: FieldFallbackViewStyle | undefined; -} - -// @public (undocumented) -export type FieldFallbackViewPublicProps = Partial; - -// @public (undocumented) -export type FieldFallbackViewStyle = 'n/a' | 'nothing' | 'unknown'; - -// @public (undocumented) -export type FieldValueFormatter = (value: FieldVal | null | undefined, field: FieldAccessor) => ControlVal | null; - -// @public (undocumented) -export type FieldValueRenderer = (value: FV | null | undefined, fieldAccessor: FieldAccessor) => ReactElement; - -// @public (undocumented) -export type FieldViewDictionary = typeof fieldViewDictionary; - -// @public (undocumented) -export const fieldViewDictionary: { - fieldView: { - boolean: { - yes: string; - no: string; - }; - fallback: { - unknown: string; - notAvailable: string; - }; - }; -}; - // @public (undocumented) export interface FileDataExtractor { // (undocumented) @@ -2105,14 +1307,6 @@ export interface FileUrlDataExtractorProps { urlField: SugaredFieldProps['field']; } -// @public (undocumented) -export const FileUrlFieldView: FunctionComponent; - -// @public (undocumented) -export type FileUrlFieldViewProps = { - fileUrlField: SugaredFieldProps['field']; -} & HTMLAnchorElementProps; - // @public (undocumented) export const FillResetPasswordTokenForm: FC; @@ -2122,27 +1316,6 @@ export interface FillResetPasswordTokenFormProps { resetLink: RoutingLinkTarget; } -// @public (undocumented) -export interface FilterRendererProps { - // (undocumented) - environment: Environment; - // (undocumented) - filter: FA; - // (undocumented) - setFilter: DataGridSetFilter; -} - -// @public (undocumented) -export const FloatField: React.NamedExoticComponent; - -// @public (undocumented) -export type FloatFieldProps = SimpleRelativeSingleFieldProps & ControlProps; - -// @public (undocumented) -export type ForbidKeys = { - [K in Exclude]?: never; -}; - // @public (undocumented) export type FormErrors = { [K in keyof V]?: string; @@ -2177,12 +1350,6 @@ export type FullFileKind = In extractors: FileDataExtractor[]; }; -// @public -export const GenericCell: FunctionComponent; - -// @public (undocumented) -export type GenericCellProps = DataGridColumnPublicProps; - // @public (undocumented) export interface GenericFileMetadataExtractorProps { // (undocumented) @@ -2220,12 +1387,6 @@ export type GenericToolbarButton = CommonToolbarButton & { // @public (undocumented) export const getAudioFileDataExtractor: (props: AudioFileDataExtractorProps) => FileDataExtractor; -// @public (undocumented) -export const getColumnFilter: (column: DataGridColumnProps, artifact: DataGridFilterArtifact | undefined, environment: Environment) => Filter | undefined; - -// @public (undocumented) -export const getColumnOrderBy: (columns: DataGridColumns, key: DataGridColumnKey, direction: DataGridOrderDirection, environment: Environment) => OrderBy | undefined; - // @public (undocumented) export const getDiscriminatedBlock: (blocks: NormalizedBlocks, field: FieldAccessor | FieldValue) => ResolvedDiscriminatedDatum | undefined; @@ -2241,24 +1402,6 @@ export const getGenericFileMetadataExtractor: (props: GenericFileMetadataExtract // @public (undocumented) export const getImageFileDataExtractor: (props: ImageFileDataExtractorProps) => FileDataExtractor; -// @public (undocumented) -export type GetNewFilter = (filterArtifact: FA, options: GetNewFilterOptions) => SugaredFilter | undefined; - -// @public (undocumented) -export interface GetNewFilterOptions { - // (undocumented) - environment: Environment; -} - -// @public (undocumented) -export type GetNewOrderBy = (newDirection: DataGridOrderDirection, options: GetNewOrderByOptions) => SugaredOrderBy | undefined; - -// @public (undocumented) -export interface GetNewOrderByOptions { - // (undocumented) - environment: Environment; -} - // @public (undocumented) export const getStockAnyFileKind: ({ additionalExtractors, acceptMimeTypes, acceptFile, baseEntity, children, fileSizeField, fileTypeField, lastModifiedField, fileNameField, renderFilePreview, renderUploadedFile, uploader, urlField, childrenOutsideBaseEntity, }: StockAnyFileKindProps) => FullFileKind; @@ -2283,7 +1426,7 @@ export const getVideoFileDataExtractor: (props: VideoFileDataExtractorProps) => // @public (undocumented) export namespace GQLVariable { const // (undocumented) - Json: GQLVariableType, false>; + Json: GQLVariableType, false>; const // (undocumented) String: GQLVariableType; const // (undocumented) @@ -2311,52 +1454,9 @@ export type GQLVariableValues>]?: VariableMap[K] extends GQLVariableType ? Value : never; }; -// @public (undocumented) -export type GridPagingAction = { - type: 'goToPage'; - newPageIndex: number; -} | { - type: 'setItemsPerPage'; - newItemsPerPage: number | null; -} | { - type: 'goToNextPage' | 'goToPreviousPage' | 'goToFirstPage'; -}; - -// @public (undocumented) -export type GridPagingState = { - pageIndex: number; - itemsPerPage: number | null; -}; - // @public (undocumented) export type HandleIdpResponseError = SignInIDPErrors | 'INVALID_LOCAL_STATE'; -// @public -export const HasManyAbsentCell: FunctionComponent; - -// @public (undocumented) -export type HasManyAbsentCellProps = DataGridColumnPublicProps & FieldFallbackViewPublicProps & SugaredRelativeEntityList & { - render: ComponentType; - children: ReactNode; -}; - -// @public -export const HasManySelectCell: FunctionComponent; - -// @public (undocumented) -export type HasManySelectProps = DataGridColumnPublicProps & SugaredRelativeEntityList & BaseDynamicChoiceField & FieldFallbackViewPublicProps & SugaredRelativeSingleEntity & { - renderElements?: (elements: ReactNode[]) => ReactElement; - initialFilter?: SelectCellArtifacts; -}; - -// @public -export const HasOneSelectCell: FunctionComponent; - -// @public (undocumented) -export type HasOneSelectProps = DataGridColumnPublicProps & BaseDynamicChoiceField & FieldFallbackViewPublicProps & SugaredRelativeSingleEntity & { - initialFilter?: SelectCellArtifacts; -}; - // @public (undocumented) export const HasRole: React.NamedExoticComponent; @@ -2436,14 +1536,6 @@ export const headingTwoNumberedToolbarButton: ElementToolbarButton; -// @public -export const HiddenField: React.NamedExoticComponent; - -// @public (undocumented) -export type HiddenFieldProps = FieldBasicProps & { - label?: ReactNode; -}; - // @public (undocumented) export const highlightToolbarButton: ToolbarButtonSpec; @@ -2551,23 +1643,6 @@ export interface HtmlDeserializerPlugin { // @public (undocumented) export type HybridFileKindProps = DiscriminatedFileKindsProps | SingleKindFileProps; -// @public (undocumented) -export class I18nError extends Error { -} - -// @public (undocumented) -export function I18nProvider({ localeCode, dictionaries, children }: I18nProviderProps): JSX.Element; - -// @public (undocumented) -export interface I18nProviderProps { - // (undocumented) - children: ReactNode; - // (undocumented) - dictionaries: MessageDictionaryByLocaleCode | undefined; - // (undocumented) - localeCode: string | undefined; -} - // @public (undocumented) export interface Identity { // @deprecated (undocumented) @@ -2693,17 +1768,6 @@ export type IDPResponseState = { error: HandleIdpResponseError; }; -// @public (undocumented) -export const ImageFieldView: (props: ImageFieldViewProps) => ReactElement; - -// @public (undocumented) -export type ImageFieldViewProps = { - srcField: SugaredFieldProps['field']; - altField?: SugaredFieldProps['field']; - titleField?: SugaredFieldProps['field']; - formatUrl?: (srcFieldValue: SrcField) => string; -} & FieldFallbackViewPublicProps & Omit; - // @public (undocumented) export interface ImageFileDataExtractorProps { // (undocumented) @@ -2953,18 +2017,6 @@ export type LabeledProps = { children?: string | null | undefined; }; -// @public (undocumented) -export type LabelMiddleware = (label: ReactNode, environment: Environment) => ReactNode; - -// @public (undocumented) -export const LabelMiddlewareContext: React.Context; - -// @public (undocumented) -export const LabelMiddlewareProvider: ({ value, children }: { - value: LabelMiddleware; - children: ReactChild; -}) => JSX.Element; - // @public (undocumented) export const LayoutRenderer: FunctionComponent; @@ -2972,27 +2024,9 @@ export const LayoutRenderer: FunctionComponent; export interface LayoutRendererProps extends LayoutPageProps { } -// @public (undocumented) -export type LazyChoiceFieldSettings = undefined | boolean | { - limit?: number; - initialLimit?: number; - createFilter?: (input: string) => Filter; - inputDebounceDelay?: number; -}; - // @public (undocumented) export type LazyPageModule = () => Promise; -// @public @deprecated (undocumented) -export interface LegacyChoiceFieldWithOptionRenderer { - // (undocumented) - options: string | SugaredQualifiedEntityList['entities'] | SugaredQualifiedEntityList; - // (undocumented) - optionsStaticRender: ReactElement | ((environment: Environment) => ReactElement); - // (undocumented) - renderOption: (entityAccessor: EntityAccessor) => ReactNode; -} - // @public (undocumented) export const LegacyDeprecatedEditorFormerlyKnownAsRichTextField: FunctionComponent; @@ -3113,27 +2147,6 @@ export interface ListUserQueryResult { memberships: Membership[]; } -// @public (undocumented) -export const LocationField: FunctionComponent; - -// @public (undocumented) -export interface LocationFieldProps extends Omit { - // (undocumented) - latitudeField: SugaredFieldProps['field']; - // (undocumented) - longitudeField: SugaredFieldProps['field']; - // (undocumented) - mapCenter?: [number, number]; - // (undocumented) - mapProps?: MapContainerProps; - // (undocumented) - markerProps?: MarkerProps; - // (undocumented) - tileLayerProps?: Partial; - // (undocumented) - zoom?: number; -} - // @public (undocumented) export const Login: ({ onLogin, resetLink }: LoginProps) => JSX.Element; @@ -3273,79 +2286,24 @@ export interface MeResponse { otpEnabled: boolean; }; projects: Array<{ - project: { - slug: string; - name: string; - }; - memberships: Array<{ - role: string; - variables: Array<{ - name: string; - values: string[]; - }>; - }>; - }>; - permissions: { - canCreateProject: boolean; - }; - }; -} - -// @public (undocumented) -export interface MessageDictionary { - // (undocumented) - [Key: string]: MessageDictionary | string; -} - -// @public (undocumented) -export interface MessageDictionaryByLocaleCode { - // (undocumented) - [localeCode: string]: MessageDictionary; -} - -// @public (undocumented) -export type MessageDictionaryKeys = { - [Key in keyof Dict & string]: Dict[Key] extends MessageDictionary ? `${Key}.${MessageDictionaryKeys2}` : Key; -}[keyof Dict & string]; - -// @public (undocumented) -export type MessageDictionaryKeys2 = { - [Key in keyof Dict & string]: Dict[Key] extends MessageDictionary ? `${Key}.${MessageDictionaryKeys3}` : Key; -}[keyof Dict & string]; - -// @public (undocumented) -export type MessageDictionaryKeys3 = { - [Key in keyof Dict & string]: Dict[Key] extends MessageDictionary ? `${Key}.${MessageDictionaryKeys4}` : Key; -}[keyof Dict & string]; - -// @public (undocumented) -export type MessageDictionaryKeys4 = { - [Key in keyof Dict & string]: Dict[Key] extends MessageDictionary ? `${Key}.${MessageDictionaryKeys5}` : Key; -}[keyof Dict & string]; - -// @public (undocumented) -export type MessageDictionaryKeys5 = { - [Key in keyof Dict & string]: Dict[Key] extends MessageDictionary ? string : Key; -}[keyof Dict & string]; - -// @public (undocumented) -export interface MessageFormatter { - // (undocumented) - (key: MessageDictionaryKeys, values?: Record): string; - // (undocumented) - (key: MessageDictionaryKeys, values?: Record): ReactNode; - // (undocumented) - (userSpecifiedKey: string | undefined, fallbackKey: MessageDictionaryKeys, values?: Record): string; - // (undocumented) - (userSpecifiedKey: U, fallbackKey: MessageDictionaryKeys, values?: Record): U | string; + project: { + slug: string; + name: string; + }; + memberships: Array<{ + role: string; + variables: Array<{ + name: string; + values: string[]; + }>; + }>; + }>; + permissions: { + canCreateProject: boolean; + }; + }; } -// @public (undocumented) -export type MessageFormatterFormatJSXChunk = (parts: ReactNode) => ReactNode; - -// @public (undocumented) -export type MessageFormatterPrimitiveType = string | number | boolean | null | undefined | Date; - // @public (undocumented) export const MiscPageLayout: React.NamedExoticComponent; @@ -3375,28 +2333,6 @@ export type MultiEditScopeProps, 'accessor' | 'children'>; }; -// @public (undocumented) -export const MultiSelectField: FunctionComponent; - -// @internal (undocumented) -export const MultiSelectFieldInner: ({ currentValues, data, errors, onAdd, onClear, onRemove, reactSelectProps, placeholder, menuZIndex, onAddNew, onMove, onSearch, isLoading, ...fieldContainerProps }: MultiSelectFieldInnerProps) => JSX.Element; - -// @public (undocumented) -export type MultiSelectFieldInnerProps = ChoiceFieldData.MultipleChoiceFieldMetadata & MultiSelectFieldInnerPublicProps & PublicCommonReactSelectStylesProps & { - errors: FieldErrors | undefined; -}; - -// @public (undocumented) -export interface MultiSelectFieldInnerPublicProps extends Omit { - // (undocumented) - placeholder?: string; - // (undocumented) - reactSelectProps?: Partial>; -} - -// @public (undocumented) -export type MultiSelectFieldProps = MultiSelectFieldInnerPublicProps & DynamicMultipleChoiceFieldProps; - // @public (undocumented) export const MutableEntityListPageRenderer: (props: MutableEntityListPageRendererProps) => ReactElement; @@ -3464,70 +2400,6 @@ export type NormalizedDiscriminatedData = Map; -// @public (undocumented) -export interface NormalizedStaticOption extends StaticOption { - // (undocumented) - searchKeywords: string; - // (undocumented) - value: FieldValue; -} - -// @public (undocumented) -export const NotFoundWrapper: React.NamedExoticComponent<{ - children: ReactNode; - title?: ReactNode; -}>; - -// @public (undocumented) -export type NullConditionArtifacts = { - nullCondition: boolean; -}; - -// @public (undocumented) -export const NullConditionFilter: ({ filter, setFilter, field, environment, showNullConditionFilter }: NullConditionFilterProps) => JSX.Element | null; - -// @public (undocumented) -export type NullConditionFilterProps = FilterRendererProps & NullConditionFilterPublicProps & { - field: SugaredFieldProps['field']; -}; - -// @public (undocumented) -export type NullConditionFilterPublicProps = { - showNullConditionFilter?: boolean; -}; - -// @public -export const NumberCell: FunctionComponent; - -// @public (undocumented) -export type NumberCellProps = DataGridHeaderCellPublicProps & DataGridCellPublicProps & FieldFallbackViewPublicProps & SugaredRelativeSingleField & NullConditionFilterPublicProps & { - disableOrder?: boolean; - initialOrder?: DataGridOrderDirection; - format?: (value: number) => ReactNode; - initialFilter?: NumberFilterArtifacts; -}; - -// @public (undocumented) -export const NumberField: React.NamedExoticComponent; - -// @public (undocumented) -export type NumberFieldProps = SimpleRelativeSingleFieldProps & ControlProps; - -// @public (undocumented) -export type NumberFilterArtifacts = { - mode: 'eq' | 'gte' | 'lte'; - query: number | null; - nullCondition: boolean; -}; - -// @public (undocumented) -export interface OptionallyVariableStaticOption extends StaticOption { - // (undocumented) - searchKeywords?: string; - // (undocumented) - value: OptionallyVariableFieldValue; -} - // @public (undocumented) export interface OrderedListElement extends Element_2 { // (undocumented) @@ -3602,11 +2474,6 @@ export const PageLink: React.NamedExoticComponent; // @public @deprecated (undocumented) export const PageLinkButton: React.NamedExoticComponent; -// Warning: (ae-forgotten-export) The symbol "PageLinkByIdProps" needs to be exported by the entry point index.d.ts -// -// @public @deprecated (undocumented) -export const PageLinkById: React.NamedExoticComponent; - // @public (undocumented) export interface PageModule { // (undocumented) @@ -3717,34 +2584,6 @@ export const PersistButton: React.MemoExoticComponent; -// @public (undocumented) -export type PersistFeedbackDictionary = typeof persistFeedbackDictionary; - -// @public (undocumented) -export const persistFeedbackDictionary: { - persistFeedback: { - successMessage: string; - afterPersistErrorMessage: string; - errorMessage: string; - }; -}; - -// @public (undocumented) -export interface PersistWithFeedbackOptions extends PersistOptions { - // (undocumented) - afterPersistErrorDuration?: number; - // (undocumented) - afterPersistErrorMessage?: string; - // (undocumented) - errorDuration?: number; - // (undocumented) - errorMessage?: string; - // (undocumented) - successDuration?: number; - // (undocumented) - successMessage?: string; -} - // @public (undocumented) export interface Person { // (undocumented) @@ -3851,8 +2690,6 @@ export type ProjectUserRoles = Set; // @public (undocumented) export type PublicAnchorProps = Omit, 'href'>; -export { PublicCommonReactSelectStylesProps } - // @public (undocumented) export type PublicFileKind = Partial>; @@ -3880,37 +2717,9 @@ export interface QueryRequestObject { // @public (undocumented) export type QueryRequestState = RequestStateOk | RequestStateError | RequestStateLoading; -// @public (undocumented) -export const RadioField: FunctionComponent; - -// @public (undocumented) -export const RadioFieldInner: React.MemoExoticComponent<(props: RadioFieldInnerProps) => JSX.Element>; - -// @public (undocumented) -export interface RadioFieldInnerProps extends ChoiceFieldData.SingleChoiceFieldMetadata, RadioFieldInnerPublicProps { - // (undocumented) - errors: FieldErrors | undefined; -} - -// @public (undocumented) -export interface RadioFieldInnerPublicProps extends Omit, Pick { -} - -// @public (undocumented) -export type RadioFieldProps = RadioFieldInnerPublicProps & (StaticSingleChoiceFieldProps | SimpleDynamicSingleChoiceFieldProps); - // @public (undocumented) export type ReactRenderer = (domElement: Element, reactElement: ReactElement, onRecoverableError: (e: any) => void) => void; -// @public (undocumented) -export function readEventStream(lines: AsyncIterable): AsyncIterable<{ - data: string; - lastEventId?: string; -}>; - -// @public (undocumented) -export function readLines(reader: ReadableStreamDefaultReader): AsyncIterable; - // @public (undocumented) export type RedirectOnSuccessHandler = (currentState: PageRequest, persistedId: EntityId, entity: EntityAccessor, options: PersistSuccessOptions) => IncompleteRequestState | string | undefined; @@ -3964,15 +2773,6 @@ export const renderAudioFilePreview: ({ objectUrl }: RenderFilePreviewOptions) = // @public (undocumented) export const renderByJoining: SelectedDimensionRenderer; -// @public (undocumented) -export type RenderedSimpleRelativeSingleFieldProxyExtraPropsKeys = 'className' | 'style'; - -// @public (undocumented) -export type RenderedSimpleRelativeSingleFieldProxyFieldContainerPropsKeys = 'required' | 'size' | 'errors'; - -// @public (undocumented) -export type RenderedSugaredRelativeSingleFieldKeys = 'field'; - // @public (undocumented) export interface RenderFilePreviewOptions { // (undocumented) @@ -4443,18 +3243,6 @@ export interface ScrollTargetRendererProps extends Omit; -// @public (undocumented) -export const SearchField: React.NamedExoticComponent; - -// @public (undocumented) -export type SearchFieldProps = SimpleRelativeSingleFieldProps & Omit; - -// @public (undocumented) -export type SelectCellArtifacts = { - id: EntityId[]; - nullCondition: boolean; -}; - // @public (undocumented) export interface SelectedDimension { // (undocumented) @@ -4464,42 +3252,6 @@ export interface SelectedDimension { // @public (undocumented) export type SelectedDimensionRenderer = (dimensionData: StatefulDimensionDatum[]) => ReactNode; -// @public (undocumented) -export interface SelectEntityButtonProps { - // (undocumented) - selectButtonComponent?: ComponentType; - // (undocumented) - selectButtonComponentExtraProps?: {}; - // (undocumented) - selectButtonProps?: CreateNewEntityButtonProps; - // (undocumented) - selectButtonText?: ReactNode; -} - -// @public (undocumented) -export const SelectField: FunctionComponent; - -// @internal (undocumented) -export const SelectFieldInner: React.MemoExoticComponent<({ placeholder, allowNull, currentValue, data, errors, menuZIndex, onSelect, onClear, reactSelectProps, onAddNew, onSearch, isLoading, ...fieldContainerProps }: SelectFieldInnerProps) => JSX.Element>; - -// @public (undocumented) -export type SelectFieldInnerProps = ChoiceFieldData.SingleChoiceFieldMetadata & SelectFieldInnerPublicProps & PublicCommonReactSelectStylesProps & { - errors: FieldErrors | undefined; -}; - -// @public (undocumented) -export interface SelectFieldInnerPublicProps extends Omit { - // (undocumented) - allowNull?: boolean; - // (undocumented) - placeholder?: string; - // (undocumented) - reactSelectProps?: Partial>; -} - -// @public (undocumented) -export type SelectFieldProps = SelectFieldInnerPublicProps & (StaticSingleChoiceFieldProps | DynamicSingleChoiceFieldProps); - // @public (undocumented) export type SelectFileInputPublicProps = SelectEntityButtonProps & { insertSelectedText?: string; @@ -4515,12 +3267,6 @@ export interface SelectFileInputSelectionComponentProps fileSelectionProps?: SFExtraProps; } -// @public (undocumented) -export interface SelectFuseOptionsProps { - // (undocumented) - fuseOptions?: Fuse_2.IFuseOptions> | boolean; -} - // @public (undocumented) export interface SerializableEditorNode { // (undocumented) @@ -4529,9 +3275,6 @@ export interface SerializableEditorNode { formatVersion: number; } -// @public (undocumented) -export type SetDataGridView = (layout: DataGridLayout) => void; - // @public (undocumented) export class SideDimensions extends PureComponent { // (undocumented) @@ -4635,74 +3378,11 @@ export interface SignOutResponseOk { }; } -// @public (undocumented) -export type SimpleDynamicSingleChoiceFieldProps = SugaredRelativeSingleEntity & BaseDynamicChoiceFieldOptions & Pick; - -// @public (undocumented) -export const SimpleRelativeSingleField: (render: (fieldMetadata: SimpleRelativeSingleFieldMetadata, props: SimpleRelativeSingleFieldProxyExcludeHandledProps) => ReactNode, displayName: string, defaultProps?: Partial | undefined) => NamedExoticComponent; - -// @public (undocumented) -export interface SimpleRelativeSingleFieldMetadata { - // (undocumented) - environment: Environment; - // (undocumented) - field: FieldAccessor
(render: (fieldMetadata: SimpleRelativeSingleFieldMetadata, props: SimpleRelativeSingleFieldProxyExcludeHandledProps) => ReactNode, displayName: string, defaultProps?: Partial | undefined) => NamedExoticComponent; - -// @public (undocumented) -export interface SimpleRelativeSingleFieldMetadata { - // (undocumented) - environment: Environment; - // (undocumented) - field: FieldAccessor
) => ReactNode, displayName: string, defaultProps?: Partial
| undefined) => NamedExoticComponent
; - -// @public (undocumented) -export interface SimpleRelativeSingleFieldMetadata { - // (undocumented) - environment: Environment; - // (undocumented) - field: FieldAccessor