UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

1 lines • 31.6 kB
{"version":3,"file":"desk.mjs","sources":["../src/desk/index.ts"],"sourcesContent":["/**\n * This is a _FALLBACK MODULE_ provided for backwards compatibility, and is likely to be removed\n * in Sanity v4.0.0. Please import from `sanity/structure` instead.\n *\n * @deprecated Use `sanity/structure` instead.\n */\nimport {\n type BackLinkProps as _BackLinkProps,\n type BaseGenericList as _BaseGenericList,\n type BaseIntentParams as _BaseIntentParams,\n type BaseView as _BaseView,\n type BuildableComponent as _BuildableComponent,\n type BuildableGenericList as _BuildableGenericList,\n type BuildableList as _BuildableList,\n type Builder as _Builder,\n type Child as _Child,\n type ChildLinkProps as _ChildLinkProps,\n type ChildObservable as _ChildObservable,\n type ChildResolver as _ChildResolver,\n type ChildResolverOptions as _ChildResolverOptions,\n type Collection as _Collection,\n type CollectionBuilder as _CollectionBuilder,\n type Component as _Component,\n component as _component,\n ComponentBuilder as _ComponentBuilder,\n type ComponentInput as _ComponentInput,\n type ComponentView as _ComponentView,\n ComponentViewBuilder as _ComponentViewBuilder,\n ConfirmDeleteDialog as _ConfirmDeleteDialog,\n type ConfirmDeleteDialogProps as _ConfirmDeleteDialogProps,\n createStructureBuilder as _createStructureBuilder,\n type CustomComponentPaneNode as _CustomComponentPaneNode,\n DEFAULT_INTENT_HANDLER as _DEFAULT_INTENT_HANDLER,\n type DefaultDocumentNodeContext as _DefaultDocumentNodeContext,\n type DefaultDocumentNodeResolver as _DefaultDocumentNodeResolver,\n defaultInitialValueTemplateItems as _defaultInitialValueTemplateItems,\n defaultIntentChecker as _defaultIntentChecker,\n type Divider as _Divider,\n DocumentBuilder as _DocumentBuilder,\n type DocumentFieldMenuActionNode as _DocumentFieldMenuActionNode,\n documentFromEditor as _documentFromEditor,\n documentFromEditorWithInitialValue as _documentFromEditorWithInitialValue,\n DocumentInspectorHeader as _DocumentInspectorHeader,\n type DocumentList as _DocumentList,\n DocumentListBuilder as _DocumentListBuilder,\n type DocumentListInput as _DocumentListInput,\n type DocumentListItem as _DocumentListItem,\n DocumentListItemBuilder as _DocumentListItemBuilder,\n type DocumentListItemInput as _DocumentListItemInput,\n type DocumentListOptions as _DocumentListOptions,\n DocumentListPane as _DocumentListPane,\n type DocumentListPaneNode as _DocumentListPaneNode,\n type DocumentListPaneProps as _DocumentListPaneProps,\n type DocumentNode as _DocumentNode,\n type DocumentOptions as _DocumentOptions,\n DocumentPane as _DocumentPane,\n type DocumentPaneNode as _DocumentPaneNode,\n DocumentPaneProvider as _DocumentPaneProvider,\n type DocumentPaneProviderProps as _DocumentPaneProviderProps,\n DocumentTypeListBuilder as _DocumentTypeListBuilder,\n type DocumentTypeListInput as _DocumentTypeListInput,\n type EditorNode as _EditorNode,\n type EditReferenceOptions as _EditReferenceOptions,\n form as _form,\n type FormView as _FormView,\n FormViewBuilder as _FormViewBuilder,\n type GenericList as _GenericList,\n GenericListBuilder as _GenericListBuilder,\n type GenericListInput as _GenericListInput,\n GenericViewBuilder as _GenericViewBuilder,\n getOrderingMenuItem as _getOrderingMenuItem,\n getOrderingMenuItemsForSchemaType as _getOrderingMenuItemsForSchemaType,\n getTypeNamesFromFilter as _getTypeNamesFromFilter,\n HELP_URL as _HELP_URL,\n InitialValueTemplateItemBuilder as _InitialValueTemplateItemBuilder,\n type Intent as _Intent,\n type IntentChecker as _IntentChecker,\n type IntentJsonParams as _IntentJsonParams,\n type IntentParams as _IntentParams,\n isDocumentListItem as _isDocumentListItem,\n type ItemChild as _ItemChild,\n type List as _List,\n ListBuilder as _ListBuilder,\n type ListDisplayOptions as _ListDisplayOptions,\n type ListInput as _ListInput,\n type ListItem as _ListItem,\n ListItemBuilder as _ListItemBuilder,\n type ListItemChild as _ListItemChild,\n type ListItemDisplayOptions as _ListItemDisplayOptions,\n type ListItemInput as _ListItemInput,\n type ListItemSerializeOptions as _ListItemSerializeOptions,\n type ListPaneNode as _ListPaneNode,\n maybeSerializeInitialValueTemplateItem as _maybeSerializeInitialValueTemplateItem,\n maybeSerializeMenuItem as _maybeSerializeMenuItem,\n maybeSerializeMenuItemGroup as _maybeSerializeMenuItemGroup,\n maybeSerializeView as _maybeSerializeView,\n type MenuItem as _MenuItem,\n type MenuItemActionType as _MenuItemActionType,\n MenuItemBuilder as _MenuItemBuilder,\n type MenuItemGroup as _MenuItemGroup,\n MenuItemGroupBuilder as _MenuItemGroupBuilder,\n type MenuItemParamsType as _MenuItemParamsType,\n menuItemsFromInitialValueTemplateItems as _menuItemsFromInitialValueTemplateItems,\n PaneLayout as _PaneLayout,\n type PaneListItem as _PaneListItem,\n type PaneListItemDivider as _PaneListItemDivider,\n type PaneMenuItem as _PaneMenuItem,\n type PaneMenuItemGroup as _PaneMenuItemGroup,\n type PaneNode as _PaneNode,\n type PaneNodeResolver as _PaneNodeResolver,\n type PaneRouterContextValue as _PaneRouterContextValue,\n type ParameterizedLinkProps as _ParameterizedLinkProps,\n type PartialDocumentList as _PartialDocumentList,\n type PartialDocumentListItem as _PartialDocumentListItem,\n type PartialDocumentNode as _PartialDocumentNode,\n type PartialListItem as _PartialListItem,\n type PartialMenuItem as _PartialMenuItem,\n type ReferenceChildLinkProps as _ReferenceChildLinkProps,\n type RouterPaneGroup as _RouterPaneGroup,\n type RouterPanes as _RouterPanes,\n type RouterPaneSibling as _RouterPaneSibling,\n type RouterPaneSiblingContext as _RouterPaneSiblingContext,\n type SerializablePaneNode as _SerializablePaneNode,\n SerializeError as _SerializeError,\n type SerializeOptions as _SerializeOptions,\n type SerializePath as _SerializePath,\n shallowIntentChecker as _shallowIntentChecker,\n type SortMenuItem as _SortMenuItem,\n type StructureBuilder as _StructureBuilder,\n type StructureBuilderOptions as _StructureBuilderOptions,\n type StructureContext as _StructureContext,\n structureLocaleNamespace as _structureLocaleNamespace,\n type StructureLocaleResourceKeys as _StructureLocaleResourceKeys,\n type StructureNode as _StructureNode,\n type StructureResolver as _StructureResolver,\n type StructureResolverContext as _StructureResolverContext,\n structureTool as _structureTool,\n type StructureToolContextValue as _DeskToolContextValue,\n type StructureToolFeatures as _DeskToolFeatures,\n type StructureToolMenuItem as _DeskToolMenuItem,\n type StructureToolOptions as _DeskToolOptions,\n type StructureToolPaneActionHandler as _DeskToolPaneActionHandler,\n StructureToolProvider as _DeskToolProvider,\n type StructureToolProviderProps as _DeskToolProviderProps,\n type UnresolvedPaneNode as _UnresolvedPaneNode,\n type UnserializedListItem as _UnserializedListItem,\n type UnserializedListItemChild as _UnserializedListItemChild,\n useDocumentPane as _useDocumentPane,\n useDocumentTitle as _useDocumentTitle,\n usePaneRouter as _usePaneRouter,\n type UserComponent as _UserComponent,\n type UserViewComponent as _UserViewComponent,\n useStructureTool as _useStructureTool,\n type View as _View,\n type ViewBuilder as _ViewBuilder,\n} from '../structure'\n\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BackLinkProps = _BackLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BaseGenericList = _BaseGenericList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BaseIntentParams = _BaseIntentParams\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type {BaseResolvedPaneNode} from '../structure'\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BaseView = _BaseView\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BuildableComponent = _BuildableComponent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BuildableGenericList = _BuildableGenericList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BuildableList = _BuildableList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Builder = _Builder\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Child = _Child\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildLinkProps = _ChildLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildObservable = _ChildObservable\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildResolver = _ChildResolver\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildResolverOptions = _ChildResolverOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Collection = _Collection\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type CollectionBuilder = _CollectionBuilder\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Component = _Component\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ComponentInput = _ComponentInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ComponentView = _ComponentView\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ConfirmDeleteDialogProps = _ConfirmDeleteDialogProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type CustomComponentPaneNode = _CustomComponentPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DefaultDocumentNodeContext = _DefaultDocumentNodeContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DefaultDocumentNodeResolver = _DefaultDocumentNodeResolver\n/**\n * @deprecated Import `StructureToolContextValue` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolContextValue = _DeskToolContextValue\n/**\n * @deprecated Import `StructureToolFeatures` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolFeatures = _DeskToolFeatures\n/**\n * @deprecated Import `StructureToolMenuItem` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolMenuItem = _DeskToolMenuItem\n/**\n * @deprecated Import `StructureToolOptions` from `sanity/structure` instead\n * @hidden\n * @public\n */\nexport type DeskToolOptions = _DeskToolOptions\n/**\n * @deprecated Import `StructureToolPaneActionHandler` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolPaneActionHandler = _DeskToolPaneActionHandler\n/**\n * @deprecated Import `StructureToolProviderProps` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolProviderProps = _DeskToolProviderProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Divider = _Divider\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentFieldMenuActionNode = _DocumentFieldMenuActionNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentList = _DocumentList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListInput = _DocumentListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListItem = _DocumentListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListItemInput = _DocumentListItemInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListOptions = _DocumentListOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListPaneNode = _DocumentListPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListPaneProps = _DocumentListPaneProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentNode = _DocumentNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentOptions = _DocumentOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentPaneNode = _DocumentPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentPaneProviderProps = _DocumentPaneProviderProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentTypeListInput = _DocumentTypeListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type EditReferenceOptions = _EditReferenceOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type EditorNode = _EditorNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type FormView = _FormView\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type GenericList = _GenericList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type GenericListInput = _GenericListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Intent = _Intent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type IntentChecker = _IntentChecker\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type IntentJsonParams = _IntentJsonParams\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type IntentParams = _IntentParams\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ItemChild = _ItemChild\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type List = _List\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListDisplayOptions = _ListDisplayOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListInput = _ListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItem = _ListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemChild = _ListItemChild\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemDisplayOptions = _ListItemDisplayOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemInput = _ListItemInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemSerializeOptions = _ListItemSerializeOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListPaneNode = _ListPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItem = _MenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItemActionType = _MenuItemActionType\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItemGroup = _MenuItemGroup\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItemParamsType = _MenuItemParamsType\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneListItem = _PaneListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneListItemDivider = _PaneListItemDivider\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneMenuItem = _PaneMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneMenuItemGroup = _PaneMenuItemGroup\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneNode = _PaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneNodeResolver = _PaneNodeResolver\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneRouterContextValue = _PaneRouterContextValue\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ParameterizedLinkProps = _ParameterizedLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialDocumentList = _PartialDocumentList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialDocumentListItem = _PartialDocumentListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialDocumentNode = _PartialDocumentNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialListItem = _PartialListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialMenuItem = _PartialMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ReferenceChildLinkProps = _ReferenceChildLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPaneGroup = _RouterPaneGroup\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPaneSibling = _RouterPaneSibling\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPaneSiblingContext = _RouterPaneSiblingContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPanes = _RouterPanes\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type {Serializable} from '../structure'\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SerializablePaneNode = _SerializablePaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SerializeOptions = _SerializeOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SerializePath = _SerializePath\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SortMenuItem = _SortMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureBuilder = _StructureBuilder\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureBuilderOptions = _StructureBuilderOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureContext = _StructureContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureLocaleResourceKeys = _StructureLocaleResourceKeys\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureNode = _StructureNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureResolver = _StructureResolver\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureResolverContext = _StructureResolverContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UnresolvedPaneNode = _UnresolvedPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UnserializedListItem = _UnserializedListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UnserializedListItemChild = _UnserializedListItemChild\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UserComponent = _UserComponent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UserViewComponent = _UserViewComponent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type View = _View\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ViewBuilder = _ViewBuilder\n\n/** --------- NON-TYPES FOLLOW --------- */\n\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ComponentBuilder = _ComponentBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ComponentViewBuilder = _ComponentViewBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ConfirmDeleteDialog = _ConfirmDeleteDialog\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DEFAULT_INTENT_HANDLER = _DEFAULT_INTENT_HANDLER\n/**\n * @deprecated Import `StructureToolProvider` from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DeskToolProvider = _DeskToolProvider\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentBuilder = _DocumentBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentInspectorHeader = _DocumentInspectorHeader\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentListBuilder = _DocumentListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentListItemBuilder = _DocumentListItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentListPane = _DocumentListPane\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentPane = _DocumentPane\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentPaneProvider = _DocumentPaneProvider\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentTypeListBuilder = _DocumentTypeListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const FormViewBuilder = _FormViewBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const GenericListBuilder = _GenericListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const GenericViewBuilder = _GenericViewBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const HELP_URL = _HELP_URL\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const InitialValueTemplateItemBuilder = _InitialValueTemplateItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ListBuilder = _ListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ListItemBuilder = _ListItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const MenuItemBuilder = _MenuItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const MenuItemGroupBuilder = _MenuItemGroupBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const PaneLayout = _PaneLayout\n\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const SerializeError = _SerializeError\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const component = _component\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const createStructureBuilder = _createStructureBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const defaultInitialValueTemplateItems = _defaultInitialValueTemplateItems\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const defaultIntentChecker = _defaultIntentChecker\n/**\n * @deprecated Import `structureTool` from `sanity/structure` instead!\n * @hidden\n * @public\n */\nexport const deskTool = _structureTool\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const documentFromEditor = _documentFromEditor\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const documentFromEditorWithInitialValue = _documentFromEditorWithInitialValue\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const form = _form\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const getOrderingMenuItem = _getOrderingMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const getOrderingMenuItemsForSchemaType = _getOrderingMenuItemsForSchemaType\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const getTypeNamesFromFilter = _getTypeNamesFromFilter\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const isDocumentListItem = _isDocumentListItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeInitialValueTemplateItem = _maybeSerializeInitialValueTemplateItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeMenuItem = _maybeSerializeMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeMenuItemGroup = _maybeSerializeMenuItemGroup\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeView = _maybeSerializeView\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const menuItemsFromInitialValueTemplateItems = _menuItemsFromInitialValueTemplateItems\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const shallowIntentChecker = _shallowIntentChecker\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const structureLocaleNamespace = _structureLocaleNamespace\n/**\n * @deprecated Import `useStructureTool` from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const useDeskTool = _useStructureTool\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const useDocumentPane = _useDocumentPane\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const useDocumentTitle = _useDocumentTitle\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const usePaneRouter = _usePaneRouter\n"],"names":["ComponentBuilder","_ComponentBuilder","ComponentViewBuilder","_ComponentViewBuilder","ConfirmDeleteDialog","_ConfirmDeleteDialog","DEFAULT_INTENT_HANDLER","_DEFAULT_INTENT_HANDLER","DeskToolProvider","_DeskToolProvider","DocumentBuilder","_DocumentBuilder","DocumentInspectorHeader","_DocumentInspectorHeader","DocumentListBuilder","_DocumentListBuilder","DocumentListItemBuilder","_DocumentListItemBuilder","DocumentListPane","_DocumentListPane","DocumentPane","_DocumentPane","DocumentPaneProvider","_DocumentPaneProvider","DocumentTypeListBuilder","_DocumentTypeListBuilder","FormViewBuilder","_FormViewBuilder","GenericListBuilder","_GenericListBuilder","GenericViewBuilder","_GenericViewBuilder","HELP_URL","_HELP_URL","InitialValueTemplateItemBuilder","_InitialValueTemplateItemBuilder","ListBuilder","_ListBuilder","ListItemBuilder","_ListItemBuilder","MenuItemBuilder","_MenuItemBuilder","MenuItemGroupBuilder","_MenuItemGroupBuilder","PaneLayout","_PaneLayout","SerializeError","_SerializeError","component","_component","createStructureBuilder","_createStructureBuilder","defaultInitialValueTemplateItems","_defaultInitialValueTemplateItems","defaultIntentChecker","_defaultIntentChecker","deskTool","_structureTool","documentFromEditor","_documentFromEditor","documentFromEditorWithInitialValue","_documentFromEditorWithInitialValue","form","_form","getOrderingMenuItem","_getOrderingMenuItem","getOrderingMenuItemsForSchemaType","_getOrderingMenuItemsForSchemaType","getTypeNamesFromFilter","_getTypeNamesFromFilter","isDocumentListItem","_isDocumentListItem","maybeSerializeInitialValueTemplateItem","_maybeSerializeInitialValueTemplateItem","maybeSerializeMenuItem","_maybeSerializeMenuItem","maybeSerializeMenuItemGroup","_maybeSerializeMenuItemGroup","maybeSerializeView","_maybeSerializeView","menuItemsFromInitialValueTemplateItems","_menuItemsFromInitialValueTemplateItems","shallowIntentChecker","_shallowIntentChecker","structureLocaleNamespace","_structureLocaleNamespace","useDeskTool","_useStructureTool","useDocumentPane","_useDocumentPane","useDocumentTitle","_useDocumentTitle","usePaneRouter","_usePaneRouter"],"mappings":";;;;AA+wBO,MAAMA,mBAAmBC,oBAMnBC,uBAAuBC,wBAMvBC,sBAAsBC,8BAMtBC,yBAAyBC,0BAMzBC,mBAAmBC,uBAMnBC,kBAAkBC,mBAMlBC,0BAA0BC,2BAM1BC,sBAAsBC,uBAMtBC,0BAA0BC,2BAM1BC,mBAAmBC,eAMnBC,eAAeC,gBAMfC,uBAAuBC,6BAMvBC,0BAA0BC,2BAM1BC,kBAAkBC,mBAMlBC,qBAAqBC,sBAMrBC,qBAAqBC,sBAMrBC,WAAWC,YAMXC,kCAAkCC,mCAMlCC,cAAcC,eAMdC,kBAAkBC,mBAMlBC,kBAAkBC,mBAMlBC,uBAAuBC,wBAMvBC,aAAaC,cAObC,iBAAiBC,kBAMjBC,YAAYC,aAMZC,yBAAyBC,0BAMzBC,mCAAmCC,oCAMnCC,uBAAuBC,wBAMvBC,WAAWC,eAMXC,qBAAqBC,sBAMrBC,qCAAqCC,sCAMrCC,OAAOC,QAMPC,sBAAsBC,uBAMtBC,oCAAoCC,qCAMpCC,yBAAyBC,0BAMzBC,qBAAqBC,sBAMrBC,yCAAyCC,0CAMzCC,yBAAyBC,0BAMzBC,8BAA8BC,+BAM9BC,qBAAqBC,sBAMrBC,yCAAyCC,0CAMzCC,uBAAuBC,wBAMvBC,2BAA2BC,4BAM3BC,cAAcC,kBAMdC,kBAAkBC,mBAMlBC,mBAAmBC,oBAMnBC,gBAAgBC;"}