sanity 6.2.0-next.113 → 6.2.0-next.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,10 @@ var resources = defineLocalesResources("presentation", {
4
4
  "document-list-pane.document-list.title": "Documents on this page",
5
5
  /** The text shown if the document list is unable to render */
6
6
  "document-list-pane.error.text": "Could not render the document list",
7
+ /** The label for the ordering that lists documents in the order they appear on the page */
8
+ "document-list-pane.ordering.by-appearance": "By appearance",
9
+ /** The label for the ordering that lists documents by when they were last edited */
10
+ "document-list-pane.ordering.last-edited": "Last edited",
7
11
  /** The status of the channel connection */
8
12
  "channel.status_connected": "Connected",
9
13
  /** The status of the channel connection */
@@ -1 +1 @@
1
- {"version":3,"file":"resources9.js","sources":["../../src/presentation/i18n/resources.ts"],"sourcesContent":["import {defineLocalesResources} from 'sanity'\n\nexport default defineLocalesResources('presentation', {\n /** The title shown above the document list */\n 'document-list-pane.document-list.title': 'Documents on this page',\n /** The text shown if the document list is unable to render */\n 'document-list-pane.error.text': 'Could not render the document list',\n /** The status of the channel connection */\n 'channel.status_connected': 'Connected',\n /** The status of the channel connection */\n 'channel.status_connecting': 'Connecting',\n /** The status of the channel connection */\n 'channel.status_disconnected': 'Disconnected',\n /** The status of the channel connection */\n 'channel.status_reconnecting': 'Reconnecting',\n /** The text shown if the document editor is unable to render */\n 'document-pane.error.text': 'Could not render the document editor',\n /** The text shown on the button for bypassing after a connection has failed */\n 'error-card.continue-button.text': 'Continue anyway',\n /** The text shown on the button for retrying after a connection has failed */\n 'error-card.retry-button.text': 'Retry',\n /** The title on the card shown after a connection has failed */\n 'error-card.title': 'An error occurred',\n /** The text shown when the document is used in a single location */\n 'locations-banner.locations-count_one': 'Used on one page',\n /** The text shown when the document is used in multiple locations */\n 'locations-banner.locations-count_other': 'Used on {{count}} pages',\n /** The text shown when a resolver exists but the document is not used in any locations */\n 'locations-banner.locations-count_zero': 'Not used on any pages',\n /** The text shown whilst the locations resolver is executing */\n 'locations-banner.resolving.text': 'Resolving locations...',\n /** The label shown on a main document in the list pane */\n 'main-document.label': 'Main document',\n /** The warning message text shown when a defined resolver fails to return a main document */\n 'main-document.missing.text': 'Missing a main document for <Code>{{path}}</Code>',\n /** The label for the tab that shows the document editor at narrow viewports */\n 'narrow-tabs.content-tab.label': 'Structure',\n /** The label for the tab that shows the navigator at narrow viewports */\n 'narrow-tabs.navigator-tab.label': 'Navigator',\n /** The label for the tab that shows the preview at narrow viewports */\n 'narrow-tabs.preview-tab.label': 'Presentation',\n /** The label for a generic error message */\n 'presentation-error.label': 'Error message',\n /** The text shown when the preview frame cannot connect to Presentation */\n 'preview-frame.connection.error.text': 'Could not connect to the preview',\n /** The title of the error toast that shows when the preview iframe times out while waiting for a connection over comlink to establish, and the root cause is discovered to be that the iframe is loading on an URL origin that's not in the allow list. */\n 'preview-frame.configuration.error.title': 'Preview URL origin mismatch',\n /** The toast description for the error message explaining that the iframe is blocked from loading due to a security mismatch. */\n 'preview-frame.configuration.error.description':\n 'The preview iframe is configured to load <Code>{{targetOrigin}}</Code>, but the reported origin is <Code>{{reportedOrigin}}</Code>. Presentation Tool is unable to connect to unknown origins for security purposes. Update your <Code>presentationTool.allowOrigins</Code> configuration to allow connecting to Visual Editing and Loaders.',\n /** The title of the error toast that shows when attempting to navigate to a preview URL origin that's not in the allow list. */\n 'preview-search-param.configuration.error.title': 'Blocked preview URL',\n /** The toast description for the error message explaining that the iframe won't navigate to the new preview URL due to an URL origin security mismatch. */\n 'preview-search-param.configuration.error.description':\n 'The router wants to navigate to <Code>{{previewSearchParam}}</Code>, but the origin <Code>{{blockedOrigin}}</Code> is not allowed. Update your <Code>presentationTool.allowOrigins</Code> configuration to allow it.',\n /** The text shown on the button for dismissing the error overlay after a timeout */\n 'preview-frame.continue-button.text': 'Continue anyway',\n /** The label for the loader's connection status */\n 'preview-frame.loader.connection-status.label': 'Loader connection status',\n /** The `aria-label` for the navigator toggle button */\n 'preview-frame.navigator.toggle-button.aria-label': 'Toggle navigator',\n /** The tooltip text for the navigator toggle button */\n 'preview-frame.navigator.toggle-button.tooltip': 'Toggle navigator',\n /** The label for the overlay's connection status */\n 'preview-frame.overlay.connection-status.label': 'Overlay connection status',\n /** The text shown on the overlay toggle button */\n 'preview-frame.overlay.toggle-button.text': 'Edit',\n /** The text shown on the overlay toggle tooltip when overlays are enabled */\n 'preview-frame.overlay.toggle-button.tooltip_disable': 'Disable edit overlay',\n /** The text shown on the overlay toggle tooltip when overlays are disabled */\n 'preview-frame.overlay.toggle-button.tooltip_enable': 'Enable edit overlay',\n /** The text description for the published perspective switcher menu item */\n 'preview-frame.perspective.published.text': 'View this page with published content',\n /** The `aria-label` for the refresh button */\n 'preview-frame.refresh-button.aria-label': 'Refresh preview',\n /** The tooltip text for the refresh button */\n 'preview-frame.refresh-button.tooltip': 'Refresh preview',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_connecting': 'Connecting.',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_loading': 'Loading.',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_refreshing': 'Refreshing.',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_reloading': 'Refreshing.',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_timeout':\n 'Unable to connect, check the browser console for more information.',\n /** The `aria-label` for the button that switches viewport size */\n 'preview-frame.viewport-button.aria-label': 'Toggle viewport size',\n /** The viewport size button tooltip text when switching to a full width viewport */\n 'preview-frame.viewport-button.tooltip_full': 'Switch to full viewport',\n /** The viewport size button tooltip text when switching to a narrow viewport */\n 'preview-frame.viewport-button.tooltip_narrow': 'Switch to narrow viewport',\n /** The validation error message shown when the preview location input is missing an origin */\n 'preview-location-input.error_missing-origin': 'URL must start with {{origin}}',\n /** The validation error message shown when the preview location input's base path matches that of the studio */\n 'preview-location-input.error_same-base-path':\n 'URL can’t have the same base path as the Studio {{basePath}}',\n /** The status of the clipboard operation when copying a URL */\n 'share-url.clipboard.status_copying': 'Copying URL to clipboard…',\n /** The status of the clipboard operation when copying a URL */\n 'share-url.clipboard.status_failed': 'Copy failed',\n /** The status of the clipboard operation when copying a URL */\n 'share-url.clipboard.status_success': 'The URL is copied to the clipboard',\n /** The status of the clipboard operation when copying a URL */\n 'share-url.clipboard.status_unsupported': 'Clipboard not supported',\n /** The share URL menu item text for opening a preview window */\n 'share-url.menu-item.open.text': 'Open preview',\n /** Error toast that notifies that URL Preview Secrets can't be generated as the user lacks ACL grants */\n 'preview-url-secret.missing-grants':\n \"You don't have permission to create URL Preview Secrets. This will likely cause the preview to fail loading.\",\n /** The `aria-label` for the button that opens the share menu */\n 'preview-frame.share-button.aria-label': 'Share this preview',\n /** The <title> for the QR Code SVG that shows a link to the current preview */\n 'share-preview-menu.qr-code.title': 'A QR Code which encodes the URL: {{url}}',\n /** Error message toast that shows the current user does not have permission to toggle sharing of the current preview */\n 'share-preview-menu.error_toggle-sharing':\n \"You don't have permission to toggle sharing of this preview\",\n /** The text shown on the sharing toggle tooltip when sharing is enabled */\n 'share-preview-menu.toggle-button.tooltip_disable': 'Disable sharing',\n /** The text shown on the sharing toggle tooltip when sharing is disabled */\n 'share-preview-menu.toggle-button.tooltip_enable': 'Enable sharing',\n /** The first line of the label that renders next to the sharing toggle, it renders on two rows */\n 'share-preview-menu.toggle-button.label_first-line': 'Share this preview',\n /** The second line of the label that renders next to the sharing toggle, it renders on two rows */\n 'share-preview-menu.toggle-button.label_second-line': 'with anyone who has the link',\n /** Placeholder message for the QR Code SVG when sharing is yet to be enabled */\n 'share-preview-menu.qr-code.placeholder': 'QR code will appear here',\n /** The text show below the QR Code SVG, with instructions on how to use it */\n 'share-preview-menu.qr-code.instructions': 'Scan the QR Code to open the preview on your phone.',\n /** Menu item in the share preview menu that allows copying the current preview URL, if sharing is enabled */\n 'share-preview-menu.copy-url.text': 'Copy preview link',\n /** Fallback message shown when the current user is not permitted to share previews */\n 'share-preview-menu.error_missing-grants': \"You don't have permission to share previews. \",\n})\n"],"names":["defineLocalesResources"],"mappings":";AAEA,IAAA,YAAeA,uBAAuB,gBAAgB;AAAA;AAAA,EAEpD,0CAA0C;AAAA;AAAA,EAE1C,iCAAiC;AAAA;AAAA,EAEjC,4BAA4B;AAAA;AAAA,EAE5B,6BAA6B;AAAA;AAAA,EAE7B,+BAA+B;AAAA;AAAA,EAE/B,+BAA+B;AAAA;AAAA,EAE/B,4BAA4B;AAAA;AAAA,EAE5B,mCAAmC;AAAA;AAAA,EAEnC,gCAAgC;AAAA;AAAA,EAEhC,oBAAoB;AAAA;AAAA,EAEpB,wCAAwC;AAAA;AAAA,EAExC,0CAA0C;AAAA;AAAA,EAE1C,yCAAyC;AAAA;AAAA,EAEzC,mCAAmC;AAAA;AAAA,EAEnC,uBAAuB;AAAA;AAAA,EAEvB,8BAA8B;AAAA;AAAA,EAE9B,iCAAiC;AAAA;AAAA,EAEjC,mCAAmC;AAAA;AAAA,EAEnC,iCAAiC;AAAA;AAAA,EAEjC,4BAA4B;AAAA;AAAA,EAE5B,uCAAuC;AAAA;AAAA,EAEvC,2CAA2C;AAAA;AAAA,EAE3C,iDACE;AAAA;AAAA,EAEF,kDAAkD;AAAA;AAAA,EAElD,wDACE;AAAA;AAAA,EAEF,sCAAsC;AAAA;AAAA,EAEtC,gDAAgD;AAAA;AAAA,EAEhD,oDAAoD;AAAA;AAAA,EAEpD,iDAAiD;AAAA;AAAA,EAEjD,iDAAiD;AAAA;AAAA,EAEjD,4CAA4C;AAAA;AAAA,EAE5C,uDAAuD;AAAA;AAAA,EAEvD,sDAAsD;AAAA;AAAA,EAEtD,4CAA4C;AAAA;AAAA,EAE5C,2CAA2C;AAAA;AAAA,EAE3C,wCAAwC;AAAA;AAAA,EAExC,mCAAmC;AAAA;AAAA,EAEnC,gCAAgC;AAAA;AAAA,EAEhC,mCAAmC;AAAA;AAAA,EAEnC,kCAAkC;AAAA;AAAA,EAElC,gCACE;AAAA;AAAA,EAEF,4CAA4C;AAAA;AAAA,EAE5C,8CAA8C;AAAA;AAAA,EAE9C,gDAAgD;AAAA;AAAA,EAEhD,+CAA+C;AAAA;AAAA,EAE/C,+CACE;AAAA;AAAA,EAEF,sCAAsC;AAAA;AAAA,EAEtC,qCAAqC;AAAA;AAAA,EAErC,sCAAsC;AAAA;AAAA,EAEtC,0CAA0C;AAAA;AAAA,EAE1C,iCAAiC;AAAA;AAAA,EAEjC,qCACE;AAAA;AAAA,EAEF,yCAAyC;AAAA;AAAA,EAEzC,oCAAoC;AAAA;AAAA,EAEpC,2CACE;AAAA;AAAA,EAEF,oDAAoD;AAAA;AAAA,EAEpD,mDAAmD;AAAA;AAAA,EAEnD,qDAAqD;AAAA;AAAA,EAErD,sDAAsD;AAAA;AAAA,EAEtD,0CAA0C;AAAA;AAAA,EAE1C,2CAA2C;AAAA;AAAA,EAE3C,oCAAoC;AAAA;AAAA,EAEpC,2CAA2C;AAC7C,CAAC;"}
1
+ {"version":3,"file":"resources9.js","sources":["../../src/presentation/i18n/resources.ts"],"sourcesContent":["import {defineLocalesResources} from 'sanity'\n\nexport default defineLocalesResources('presentation', {\n /** The title shown above the document list */\n 'document-list-pane.document-list.title': 'Documents on this page',\n /** The text shown if the document list is unable to render */\n 'document-list-pane.error.text': 'Could not render the document list',\n /** The label for the ordering that lists documents in the order they appear on the page */\n 'document-list-pane.ordering.by-appearance': 'By appearance',\n /** The label for the ordering that lists documents by when they were last edited */\n 'document-list-pane.ordering.last-edited': 'Last edited',\n /** The status of the channel connection */\n 'channel.status_connected': 'Connected',\n /** The status of the channel connection */\n 'channel.status_connecting': 'Connecting',\n /** The status of the channel connection */\n 'channel.status_disconnected': 'Disconnected',\n /** The status of the channel connection */\n 'channel.status_reconnecting': 'Reconnecting',\n /** The text shown if the document editor is unable to render */\n 'document-pane.error.text': 'Could not render the document editor',\n /** The text shown on the button for bypassing after a connection has failed */\n 'error-card.continue-button.text': 'Continue anyway',\n /** The text shown on the button for retrying after a connection has failed */\n 'error-card.retry-button.text': 'Retry',\n /** The title on the card shown after a connection has failed */\n 'error-card.title': 'An error occurred',\n /** The text shown when the document is used in a single location */\n 'locations-banner.locations-count_one': 'Used on one page',\n /** The text shown when the document is used in multiple locations */\n 'locations-banner.locations-count_other': 'Used on {{count}} pages',\n /** The text shown when a resolver exists but the document is not used in any locations */\n 'locations-banner.locations-count_zero': 'Not used on any pages',\n /** The text shown whilst the locations resolver is executing */\n 'locations-banner.resolving.text': 'Resolving locations...',\n /** The label shown on a main document in the list pane */\n 'main-document.label': 'Main document',\n /** The warning message text shown when a defined resolver fails to return a main document */\n 'main-document.missing.text': 'Missing a main document for <Code>{{path}}</Code>',\n /** The label for the tab that shows the document editor at narrow viewports */\n 'narrow-tabs.content-tab.label': 'Structure',\n /** The label for the tab that shows the navigator at narrow viewports */\n 'narrow-tabs.navigator-tab.label': 'Navigator',\n /** The label for the tab that shows the preview at narrow viewports */\n 'narrow-tabs.preview-tab.label': 'Presentation',\n /** The label for a generic error message */\n 'presentation-error.label': 'Error message',\n /** The text shown when the preview frame cannot connect to Presentation */\n 'preview-frame.connection.error.text': 'Could not connect to the preview',\n /** The title of the error toast that shows when the preview iframe times out while waiting for a connection over comlink to establish, and the root cause is discovered to be that the iframe is loading on an URL origin that's not in the allow list. */\n 'preview-frame.configuration.error.title': 'Preview URL origin mismatch',\n /** The toast description for the error message explaining that the iframe is blocked from loading due to a security mismatch. */\n 'preview-frame.configuration.error.description':\n 'The preview iframe is configured to load <Code>{{targetOrigin}}</Code>, but the reported origin is <Code>{{reportedOrigin}}</Code>. Presentation Tool is unable to connect to unknown origins for security purposes. Update your <Code>presentationTool.allowOrigins</Code> configuration to allow connecting to Visual Editing and Loaders.',\n /** The title of the error toast that shows when attempting to navigate to a preview URL origin that's not in the allow list. */\n 'preview-search-param.configuration.error.title': 'Blocked preview URL',\n /** The toast description for the error message explaining that the iframe won't navigate to the new preview URL due to an URL origin security mismatch. */\n 'preview-search-param.configuration.error.description':\n 'The router wants to navigate to <Code>{{previewSearchParam}}</Code>, but the origin <Code>{{blockedOrigin}}</Code> is not allowed. Update your <Code>presentationTool.allowOrigins</Code> configuration to allow it.',\n /** The text shown on the button for dismissing the error overlay after a timeout */\n 'preview-frame.continue-button.text': 'Continue anyway',\n /** The label for the loader's connection status */\n 'preview-frame.loader.connection-status.label': 'Loader connection status',\n /** The `aria-label` for the navigator toggle button */\n 'preview-frame.navigator.toggle-button.aria-label': 'Toggle navigator',\n /** The tooltip text for the navigator toggle button */\n 'preview-frame.navigator.toggle-button.tooltip': 'Toggle navigator',\n /** The label for the overlay's connection status */\n 'preview-frame.overlay.connection-status.label': 'Overlay connection status',\n /** The text shown on the overlay toggle button */\n 'preview-frame.overlay.toggle-button.text': 'Edit',\n /** The text shown on the overlay toggle tooltip when overlays are enabled */\n 'preview-frame.overlay.toggle-button.tooltip_disable': 'Disable edit overlay',\n /** The text shown on the overlay toggle tooltip when overlays are disabled */\n 'preview-frame.overlay.toggle-button.tooltip_enable': 'Enable edit overlay',\n /** The text description for the published perspective switcher menu item */\n 'preview-frame.perspective.published.text': 'View this page with published content',\n /** The `aria-label` for the refresh button */\n 'preview-frame.refresh-button.aria-label': 'Refresh preview',\n /** The tooltip text for the refresh button */\n 'preview-frame.refresh-button.tooltip': 'Refresh preview',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_connecting': 'Connecting.',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_loading': 'Loading.',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_refreshing': 'Refreshing.',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_reloading': 'Refreshing.',\n /** Text describing the current status of the preview frame */\n 'preview-frame.status_timeout':\n 'Unable to connect, check the browser console for more information.',\n /** The `aria-label` for the button that switches viewport size */\n 'preview-frame.viewport-button.aria-label': 'Toggle viewport size',\n /** The viewport size button tooltip text when switching to a full width viewport */\n 'preview-frame.viewport-button.tooltip_full': 'Switch to full viewport',\n /** The viewport size button tooltip text when switching to a narrow viewport */\n 'preview-frame.viewport-button.tooltip_narrow': 'Switch to narrow viewport',\n /** The validation error message shown when the preview location input is missing an origin */\n 'preview-location-input.error_missing-origin': 'URL must start with {{origin}}',\n /** The validation error message shown when the preview location input's base path matches that of the studio */\n 'preview-location-input.error_same-base-path':\n 'URL can’t have the same base path as the Studio {{basePath}}',\n /** The status of the clipboard operation when copying a URL */\n 'share-url.clipboard.status_copying': 'Copying URL to clipboard…',\n /** The status of the clipboard operation when copying a URL */\n 'share-url.clipboard.status_failed': 'Copy failed',\n /** The status of the clipboard operation when copying a URL */\n 'share-url.clipboard.status_success': 'The URL is copied to the clipboard',\n /** The status of the clipboard operation when copying a URL */\n 'share-url.clipboard.status_unsupported': 'Clipboard not supported',\n /** The share URL menu item text for opening a preview window */\n 'share-url.menu-item.open.text': 'Open preview',\n /** Error toast that notifies that URL Preview Secrets can't be generated as the user lacks ACL grants */\n 'preview-url-secret.missing-grants':\n \"You don't have permission to create URL Preview Secrets. This will likely cause the preview to fail loading.\",\n /** The `aria-label` for the button that opens the share menu */\n 'preview-frame.share-button.aria-label': 'Share this preview',\n /** The <title> for the QR Code SVG that shows a link to the current preview */\n 'share-preview-menu.qr-code.title': 'A QR Code which encodes the URL: {{url}}',\n /** Error message toast that shows the current user does not have permission to toggle sharing of the current preview */\n 'share-preview-menu.error_toggle-sharing':\n \"You don't have permission to toggle sharing of this preview\",\n /** The text shown on the sharing toggle tooltip when sharing is enabled */\n 'share-preview-menu.toggle-button.tooltip_disable': 'Disable sharing',\n /** The text shown on the sharing toggle tooltip when sharing is disabled */\n 'share-preview-menu.toggle-button.tooltip_enable': 'Enable sharing',\n /** The first line of the label that renders next to the sharing toggle, it renders on two rows */\n 'share-preview-menu.toggle-button.label_first-line': 'Share this preview',\n /** The second line of the label that renders next to the sharing toggle, it renders on two rows */\n 'share-preview-menu.toggle-button.label_second-line': 'with anyone who has the link',\n /** Placeholder message for the QR Code SVG when sharing is yet to be enabled */\n 'share-preview-menu.qr-code.placeholder': 'QR code will appear here',\n /** The text show below the QR Code SVG, with instructions on how to use it */\n 'share-preview-menu.qr-code.instructions': 'Scan the QR Code to open the preview on your phone.',\n /** Menu item in the share preview menu that allows copying the current preview URL, if sharing is enabled */\n 'share-preview-menu.copy-url.text': 'Copy preview link',\n /** Fallback message shown when the current user is not permitted to share previews */\n 'share-preview-menu.error_missing-grants': \"You don't have permission to share previews. \",\n})\n"],"names":["defineLocalesResources"],"mappings":";AAEA,IAAA,YAAeA,uBAAuB,gBAAgB;AAAA;AAAA,EAEpD,0CAA0C;AAAA;AAAA,EAE1C,iCAAiC;AAAA;AAAA,EAEjC,6CAA6C;AAAA;AAAA,EAE7C,2CAA2C;AAAA;AAAA,EAE3C,4BAA4B;AAAA;AAAA,EAE5B,6BAA6B;AAAA;AAAA,EAE7B,+BAA+B;AAAA;AAAA,EAE/B,+BAA+B;AAAA;AAAA,EAE/B,4BAA4B;AAAA;AAAA,EAE5B,mCAAmC;AAAA;AAAA,EAEnC,gCAAgC;AAAA;AAAA,EAEhC,oBAAoB;AAAA;AAAA,EAEpB,wCAAwC;AAAA;AAAA,EAExC,0CAA0C;AAAA;AAAA,EAE1C,yCAAyC;AAAA;AAAA,EAEzC,mCAAmC;AAAA;AAAA,EAEnC,uBAAuB;AAAA;AAAA,EAEvB,8BAA8B;AAAA;AAAA,EAE9B,iCAAiC;AAAA;AAAA,EAEjC,mCAAmC;AAAA;AAAA,EAEnC,iCAAiC;AAAA;AAAA,EAEjC,4BAA4B;AAAA;AAAA,EAE5B,uCAAuC;AAAA;AAAA,EAEvC,2CAA2C;AAAA;AAAA,EAE3C,iDACE;AAAA;AAAA,EAEF,kDAAkD;AAAA;AAAA,EAElD,wDACE;AAAA;AAAA,EAEF,sCAAsC;AAAA;AAAA,EAEtC,gDAAgD;AAAA;AAAA,EAEhD,oDAAoD;AAAA;AAAA,EAEpD,iDAAiD;AAAA;AAAA,EAEjD,iDAAiD;AAAA;AAAA,EAEjD,4CAA4C;AAAA;AAAA,EAE5C,uDAAuD;AAAA;AAAA,EAEvD,sDAAsD;AAAA;AAAA,EAEtD,4CAA4C;AAAA;AAAA,EAE5C,2CAA2C;AAAA;AAAA,EAE3C,wCAAwC;AAAA;AAAA,EAExC,mCAAmC;AAAA;AAAA,EAEnC,gCAAgC;AAAA;AAAA,EAEhC,mCAAmC;AAAA;AAAA,EAEnC,kCAAkC;AAAA;AAAA,EAElC,gCACE;AAAA;AAAA,EAEF,4CAA4C;AAAA;AAAA,EAE5C,8CAA8C;AAAA;AAAA,EAE9C,gDAAgD;AAAA;AAAA,EAEhD,+CAA+C;AAAA;AAAA,EAE/C,+CACE;AAAA;AAAA,EAEF,sCAAsC;AAAA;AAAA,EAEtC,qCAAqC;AAAA;AAAA,EAErC,sCAAsC;AAAA;AAAA,EAEtC,0CAA0C;AAAA;AAAA,EAE1C,iCAAiC;AAAA;AAAA,EAEjC,qCACE;AAAA;AAAA,EAEF,yCAAyC;AAAA;AAAA,EAEzC,oCAAoC;AAAA;AAAA,EAEpC,2CACE;AAAA;AAAA,EAEF,oDAAoD;AAAA;AAAA,EAEpD,mDAAmD;AAAA;AAAA,EAEnD,qDAAqD;AAAA;AAAA,EAErD,sDAAsD;AAAA;AAAA,EAEtD,0CAA0C;AAAA;AAAA,EAE1C,2CAA2C;AAAA;AAAA,EAE3C,oCAAoC;AAAA;AAAA,EAEpC,2CAA2C;AAC7C,CAAC;"}
@@ -5238,7 +5238,7 @@ function useDocumentPerspectiveList() {
5238
5238
  $[31] !== filteredVersions ? (t12 = filteredVersions.filter(_temp2$e), $[31] = filteredVersions, $[32] = t12) : t12 = $[32];
5239
5239
  const nonReleaseVersions = t12;
5240
5240
  let t13;
5241
- $[33] !== filteredVersions ? (t13 = filteredVersions.filter(_temp3$9), $[33] = filteredVersions, $[34] = t13) : t13 = $[34];
5241
+ $[33] !== filteredVersions ? (t13 = filteredVersions.filter(_temp3$a), $[33] = filteredVersions, $[34] = t13) : t13 = $[34];
5242
5242
  const variantVersions = t13, setVariant = useSetVariant();
5243
5243
  let t14;
5244
5244
  $[35] !== setVariant || $[36] !== variants2 ? (t14 = (version_3) => {
@@ -5264,7 +5264,7 @@ function useDocumentPerspectiveList() {
5264
5264
  handleVariantSelectionChange
5265
5265
  }, $[38] = filteredReleases, $[39] = getReleaseChipState, $[40] = getVersionDisplay, $[41] = handleCopyToDraftsNavigate, $[42] = handlePerspectiveChange, $[43] = handleVariantSelectionChange, $[44] = isDraftDisabled, $[45] = isDraftModelEnabled, $[46] = isDraftSelected, $[47] = isLiveEdit, $[48] = isPublishSelected, $[49] = isPublishedChipDisabled, $[50] = nonReleaseVersions, $[51] = variantVersions, $[52] = t15) : t15 = $[52], t15;
5266
5266
  }
5267
- function _temp3$9(version_2) {
5267
+ function _temp3$a(version_2) {
5268
5268
  return !!version_2._system.variant;
5269
5269
  }
5270
5270
  function _temp2$e(version_1) {
@@ -5650,7 +5650,7 @@ const HorizontalScroller = /* @__PURE__ */ styled(Card).withConfig({
5650
5650
  contextMenuNodes
5651
5651
  } = props, states = useDeferredValue(props.states);
5652
5652
  let t0;
5653
- $[0] !== states ? (t0 = states.filter(_temp3$8), $[0] = states, $[1] = t0) : t0 = $[1];
5653
+ $[0] !== states ? (t0 = states.filter(_temp3$9), $[0] = states, $[1] = t0) : t0 = $[1];
5654
5654
  let t1;
5655
5655
  return $[2] !== contextMenuNodes || $[3] !== referenceElement || $[4] !== setReferenceElement || $[5] !== t0 ? (t1 = /* @__PURE__ */ jsx(DocumentPanelHeaderActionDialog, { setReferenceElement, referenceElement, contextMenuNodes, states: t0 }), $[2] = contextMenuNodes, $[3] = referenceElement, $[4] = setReferenceElement, $[5] = t0, $[6] = t1) : t1 = $[6], t1;
5656
5656
  }), DocumentPanelHeaderActionDialog = memo(function(props) {
@@ -5677,7 +5677,7 @@ function _temp$s(p) {
5677
5677
  function _temp2$d(item) {
5678
5678
  return /* @__PURE__ */ jsx(PaneHeaderActionButton, { node: item }, item.key);
5679
5679
  }
5680
- function _temp3$8(state2) {
5680
+ function _temp3$9(state2) {
5681
5681
  return state2.action ? state2.action !== useHistoryRestoreAction.action : !0;
5682
5682
  }
5683
5683
  function SpacerButton(t0) {
@@ -6389,7 +6389,7 @@ function RenderDocumentStatusBarActions(props) {
6389
6389
  documentId
6390
6390
  } = useDocumentPane();
6391
6391
  let t0;
6392
- $[0] !== props.states ? (t0 = props.states.filter(_temp3$7), $[0] = props.states, $[1] = t0) : t0 = $[1];
6392
+ $[0] !== props.states ? (t0 = props.states.filter(_temp3$8), $[0] = props.states, $[1] = t0) : t0 = $[1];
6393
6393
  const states = t0;
6394
6394
  if (states.length === 0)
6395
6395
  return null;
@@ -6397,7 +6397,7 @@ function RenderDocumentStatusBarActions(props) {
6397
6397
  let t2;
6398
6398
  return $[2] !== documentId || $[3] !== states || $[4] !== t1 ? (t2 = /* @__PURE__ */ jsx(DocumentStatusBarActionsInner, { disabled: t1, states }, documentId), $[2] = documentId, $[3] = states, $[4] = t1, $[5] = t2) : t2 = $[5], t2;
6399
6399
  }
6400
- function _temp3$7(state2) {
6400
+ function _temp3$8(state2) {
6401
6401
  return state2.action ? state2.action !== useHistoryRestoreAction.action : !0;
6402
6402
  }
6403
6403
  const HistoryStatusBarActions = memo(function() {
@@ -6875,7 +6875,7 @@ function TimelineMenu(t0) {
6875
6875
  timelineError,
6876
6876
  ready,
6877
6877
  timelineStore
6878
- } = useDocumentPane(), [open, setOpen] = useState(!1), [button, setButton] = useState(null), [popoverRef, setPopoverRef] = useState(null), toast = useToast(), chunks = useTimelineSelector(timelineStore, _temp$n), loading = useTimelineSelector(timelineStore, _temp2$a), hasMoreChunks = useTimelineSelector(timelineStore, _temp3$6), realRevChunk = useTimelineSelector(timelineStore, _temp4$6), sinceTime = useTimelineSelector(timelineStore, _temp5$4), {
6878
+ } = useDocumentPane(), [open, setOpen] = useState(!1), [button, setButton] = useState(null), [popoverRef, setPopoverRef] = useState(null), toast = useToast(), chunks = useTimelineSelector(timelineStore, _temp$n), loading = useTimelineSelector(timelineStore, _temp2$a), hasMoreChunks = useTimelineSelector(timelineStore, _temp3$7), realRevChunk = useTimelineSelector(timelineStore, _temp4$6), sinceTime = useTimelineSelector(timelineStore, _temp5$4), {
6879
6879
  t
6880
6880
  } = useTranslation("studio");
6881
6881
  let t1;
@@ -6999,7 +6999,7 @@ function _temp5$4(state_3) {
6999
6999
  function _temp4$6(state_2) {
7000
7000
  return state_2.realRevChunk;
7001
7001
  }
7002
- function _temp3$6(state_1) {
7002
+ function _temp3$7(state_1) {
7003
7003
  return state_1.hasMoreChunks;
7004
7004
  }
7005
7005
  function _temp2$a(state_0) {
@@ -8712,7 +8712,7 @@ const DivergenceAutofocus = (t0) => {
8712
8712
  rev: params.rev,
8713
8713
  since: params.since
8714
8714
  }, $[2] = options.type, $[3] = params.rev, $[4] = params.since, $[5] = t0, $[6] = t1) : t1 = $[6];
8715
- const store = useTimelineStore(t1), onOlderRevision = useTimelineSelector(store, _temp$i), revTime = useTimelineSelector(store, _temp2$8), sinceAttributes = useTimelineSelector(store, _temp3$5), timelineDisplayed = useTimelineSelector(store, _temp4$5), timelineReady = useTimelineSelector(store, _temp5$3), isPristine = useTimelineSelector(store, _temp6$3), lastNonDeletedRevId = useTimelineSelector(store, _temp7$2), t2 = revTime?.id || null, t3 = timelineDisplayed, t4 = sinceAttributes, t5 = !!isPristine;
8715
+ const store = useTimelineStore(t1), onOlderRevision = useTimelineSelector(store, _temp$i), revTime = useTimelineSelector(store, _temp2$8), sinceAttributes = useTimelineSelector(store, _temp3$6), timelineDisplayed = useTimelineSelector(store, _temp4$5), timelineReady = useTimelineSelector(store, _temp5$3), isPristine = useTimelineSelector(store, _temp6$3), lastNonDeletedRevId = useTimelineSelector(store, _temp7$2), t2 = revTime?.id || null, t3 = timelineDisplayed, t4 = sinceAttributes, t5 = !!isPristine;
8716
8716
  let t6;
8717
8717
  $[7] !== lastNonDeletedRevId || $[8] !== onOlderRevision || $[9] !== store || $[10] !== t2 || $[11] !== t3 || $[12] !== t4 || $[13] !== t5 || $[14] !== timelineError || $[15] !== timelineReady ? (t6 = {
8718
8718
  store,
@@ -8735,7 +8735,7 @@ function _temp$i(state2) {
8735
8735
  function _temp2$8(state_0) {
8736
8736
  return state_0.revTime;
8737
8737
  }
8738
- function _temp3$5(state_1) {
8738
+ function _temp3$6(state_1) {
8739
8739
  return state_1.sinceAttributes;
8740
8740
  }
8741
8741
  function _temp4$5(state_2) {
@@ -10135,7 +10135,7 @@ const hashObject = (value) => {
10135
10135
  t8 = $[12];
10136
10136
  const initialValueTemplateItemFromMenuItems = t8;
10137
10137
  let t9;
10138
- $[15] !== initialValueTemplateItemFromMenuItems || $[16] !== initialValueTemplateItemsFromStructure ? (t9 = uniqBy([...initialValueTemplateItemFromMenuItems, ...initialValueTemplateItemsFromStructure], _temp3$4), $[15] = initialValueTemplateItemFromMenuItems, $[16] = initialValueTemplateItemsFromStructure, $[17] = t9) : t9 = $[17];
10138
+ $[15] !== initialValueTemplateItemFromMenuItems || $[16] !== initialValueTemplateItemsFromStructure ? (t9 = uniqBy([...initialValueTemplateItemFromMenuItems, ...initialValueTemplateItemsFromStructure], _temp3$5), $[15] = initialValueTemplateItemFromMenuItems, $[16] = initialValueTemplateItemsFromStructure, $[17] = t9) : t9 = $[17];
10139
10139
  const combinedInitialValueTemplates = t9;
10140
10140
  let t10;
10141
10141
  $[18] !== combinedInitialValueTemplates ? (t10 = /* @__PURE__ */ jsx(PaneHeaderCreateButton, { templateItems: combinedInitialValueTemplates }), $[18] = combinedInitialValueTemplates, $[19] = t10) : t10 = $[19];
@@ -10174,7 +10174,7 @@ function _temp2$6(t0) {
10174
10174
  schemaType: template_0.schemaType
10175
10175
  };
10176
10176
  }
10177
- function _temp3$4(item_3) {
10177
+ function _temp3$5(item_3) {
10178
10178
  return hashObject([item_3.initialDocumentId, item_3.templateId, item_3.parameters]);
10179
10179
  }
10180
10180
  function _temp4$4(node) {
@@ -11071,6 +11071,23 @@ function findStaticTypesInFilter(filter2, params = {}) {
11071
11071
  return null;
11072
11072
  }
11073
11073
  }
11074
+ const ORDER_BY_IDS_PARAM_FIELD = "__orderByIdsParam";
11075
+ function isOrderByIdsParam(sortOrder) {
11076
+ return sortOrder?.by?.length === 1 && sortOrder.by[0].field === ORDER_BY_IDS_PARAM_FIELD;
11077
+ }
11078
+ function reorderItemsByIdsParam(items, ids) {
11079
+ const indexById = ids.reduce((accumulatedIndex, id, index) => (accumulatedIndex.has(id) || accumulatedIndex.set(id, index), accumulatedIndex), /* @__PURE__ */ new Map()), positionOf = (item) => {
11080
+ const matchedIndex = indexById.get(getPublishedId(item._id));
11081
+ return matchedIndex === void 0 ? Number.MAX_SAFE_INTEGER : matchedIndex;
11082
+ };
11083
+ return items.map((item, originalIndex) => ({
11084
+ item,
11085
+ originalIndex
11086
+ })).sort((first, second) => {
11087
+ const positionDifference = positionOf(first.item) - positionOf(second.item);
11088
+ return positionDifference !== 0 ? positionDifference : first.originalIndex - second.originalIndex;
11089
+ }).map((entry) => entry.item);
11090
+ }
11074
11091
  const DocumentListLoadTimeMeasured = defineEvent({
11075
11092
  name: "Document List Load Time Measured",
11076
11093
  version: 1,
@@ -11242,7 +11259,7 @@ function useDocumentList(opts) {
11242
11259
  fromCache: data.fromCache
11243
11260
  });
11244
11261
  }, $[19] = searchQuery, $[20] = telemetry, $[21] = t72) : t72 = $[21];
11245
- const partialList$ = listenSearchQuery(listenSearchQueryArgs).pipe(measureFirstMatch(_temp3$3, t72), shareReplay({
11262
+ const partialList$ = listenSearchQuery(listenSearchQueryArgs).pipe(measureFirstMatch(_temp3$4, t72), shareReplay({
11246
11263
  refCount: !0,
11247
11264
  bufferSize: 1
11248
11265
  })), fullList$ = onFetchFullList$.pipe(withLatestFrom(partialList$), filter$1(_temp4$3), take(1), mergeMap$1(() => concat(of({
@@ -11345,7 +11362,7 @@ function _temp4$3(t0) {
11345
11362
  const [, result] = t0;
11346
11363
  return result?.documents.length === PARTIAL_PAGE_LIMIT;
11347
11364
  }
11348
- function _temp3$3(event) {
11365
+ function _temp3$4(event) {
11349
11366
  return event.connected;
11350
11367
  }
11351
11368
  function _temp2$5() {
@@ -11385,7 +11402,7 @@ const rotate = keyframes`
11385
11402
  displayName: "DelayedSubtleSpinnerIcon",
11386
11403
  componentId: "sc-1nmsicq-2"
11387
11404
  })`animation:${rotate} 1500ms linear infinite,${fadeIn} 1000ms linear;opacity:0.4;`, DocumentListPane = memo(function(props) {
11388
- const $ = c(93), {
11405
+ const $ = c(96), {
11389
11406
  childItemId,
11390
11407
  isActive,
11391
11408
  pane,
@@ -11419,23 +11436,23 @@ const rotate = keyframes`
11419
11436
  } = useI18nText(pane), [searchQuery, setSearchQuery] = useState(""), [searchInputValue, setSearchInputValue] = useState(""), [searchInputElement, setSearchInputElement] = useState(null), [searchOrderingId, setSearchOrderingId] = useState(RELEVANCE_ORDERING_ID);
11420
11437
  let t1;
11421
11438
  $[3] !== searchQuery ? (t1 = searchQuery.trim(), $[3] = searchQuery, $[4] = t1) : t1 = $[4];
11422
- const trimmedSearchQuery = t1;
11439
+ const trimmedSearchQuery = t1, orderByIdsParam = isOrderByIdsParam(sortOrderRaw);
11423
11440
  let t2;
11424
11441
  $[5] !== schema || $[6] !== sortOrderRaw || $[7] !== typeName ? (t2 = typeName && sortOrderRaw ? applyOrderingFunctions(sortOrderRaw, schema.get(typeName)) : sortOrderRaw, $[5] = schema, $[6] = sortOrderRaw, $[7] = typeName, $[8] = t2) : t2 = $[8];
11425
- const sortOrder = useUnique(t2);
11442
+ const sortOrder = useUnique(t2), fetchSortOrder = orderByIdsParam ? DEFAULT_ORDERING : sortOrder;
11426
11443
  let t3;
11427
11444
  $[9] !== pane.menuItems ? (t3 = pane.menuItems || [], $[9] = pane.menuItems, $[10] = t3) : t3 = $[10];
11428
11445
  let t4;
11429
- $[11] !== t3 ? (t4 = t3.filter(isSortOrderingMenuItem), $[11] = t3, $[12] = t4) : t4 = $[12];
11446
+ $[11] !== t3 ? (t4 = t3.filter(_temp$7), $[11] = t3, $[12] = t4) : t4 = $[12];
11430
11447
  const searchOrderings = t4, useRelevance = searchOrderingId === RELEVANCE_ORDERING_ID;
11431
11448
  let t5, t6;
11432
- if ($[13] !== schema || $[14] !== searchOrderingId || $[15] !== searchOrderings || $[16] !== sortOrder || $[17] !== typeName || $[18] !== useRelevance) {
11449
+ if ($[13] !== fetchSortOrder || $[14] !== schema || $[15] !== searchOrderingId || $[16] !== searchOrderings || $[17] !== typeName || $[18] !== useRelevance) {
11433
11450
  const selectedSearchOrdering = useRelevance ? void 0 : searchOrderings.find((ordering) => getSearchOrderingId(ordering) === searchOrderingId), searchSchemaType = typeName ? schema.get(typeName) : void 0;
11434
11451
  t5 = useUnique, t6 = selectedSearchOrdering?.params?.by ? searchSchemaType ? applyOrderingFunctions({
11435
11452
  by: selectedSearchOrdering.params.by
11436
11453
  }, searchSchemaType) : {
11437
11454
  by: selectedSearchOrdering.params.by
11438
- } : sortOrder, $[13] = schema, $[14] = searchOrderingId, $[15] = searchOrderings, $[16] = sortOrder, $[17] = typeName, $[18] = useRelevance, $[19] = t5, $[20] = t6;
11455
+ } : fetchSortOrder, $[13] = fetchSortOrder, $[14] = schema, $[15] = searchOrderingId, $[16] = searchOrderings, $[17] = typeName, $[18] = useRelevance, $[19] = t5, $[20] = t6;
11439
11456
  } else
11440
11457
  t5 = $[19], t6 = $[20];
11441
11458
  const effectiveSortOrder = t5(t6), t7 = apiVersion || DEFAULT_STUDIO_CLIENT_OPTIONS.apiVersion;
@@ -11468,91 +11485,107 @@ const rotate = keyframes`
11468
11485
  connected,
11469
11486
  onLoadFullList,
11470
11487
  onRetry
11471
- } = useDocumentList(t9), isLoading = documentListIsLoading || releases.loading;
11488
+ } = useDocumentList(t9);
11472
11489
  let t10;
11473
- $[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t10 = (event$) => event$.pipe(map(_temp$7), tap$1(setSearchInputValue), debounce(_temp2$4), tap$1(setSearchQuery)), $[31] = t10) : t10 = $[31];
11474
- const handleQueryChange = useObservableEvent(t10);
11490
+ bb1: {
11491
+ if (!orderByIdsParam || trimmedSearchQuery) {
11492
+ t10 = items;
11493
+ break bb1;
11494
+ }
11495
+ const idsParam = Array.isArray(params.ids) ? params.ids : EMPTY_ARRAY$2;
11496
+ let t112;
11497
+ $[31] !== idsParam || $[32] !== items ? (t112 = reorderItemsByIdsParam(items, idsParam), $[31] = idsParam, $[32] = items, $[33] = t112) : t112 = $[33], t10 = t112;
11498
+ }
11499
+ const orderedItems = t10, isLoading = documentListIsLoading || releases.loading;
11475
11500
  let t11;
11476
- $[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t11 = () => {
11477
- setSearchQuery(""), setSearchInputValue("");
11478
- }, $[32] = t11) : t11 = $[32];
11479
- const handleClearSearch = t11;
11501
+ $[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t11 = (event$) => event$.pipe(map(_temp2$4), tap$1(setSearchInputValue), debounce(_temp3$3), tap$1(setSearchQuery)), $[34] = t11) : t11 = $[34];
11502
+ const handleQueryChange = useObservableEvent(t11);
11480
11503
  let t12;
11481
- $[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t12 = (event_0) => {
11504
+ $[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t12 = () => {
11505
+ setSearchQuery(""), setSearchInputValue("");
11506
+ }, $[35] = t12) : t12 = $[35];
11507
+ const handleClearSearch = t12;
11508
+ let t13;
11509
+ $[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t13 = (event_0) => {
11482
11510
  event_0.key === "Escape" && handleClearSearch();
11483
- }, $[33] = t12) : t12 = $[33];
11484
- const handleSearchKeyDown = t12, [enableSearchSpinner, setEnableSearchSpinner] = useState();
11485
- let t13, t14;
11486
- $[34] !== enableSearchSpinner || $[35] !== isLoading || $[36] !== paneKey ? (t13 = () => {
11511
+ }, $[36] = t13) : t13 = $[36];
11512
+ const handleSearchKeyDown = t13, [enableSearchSpinner, setEnableSearchSpinner] = useState();
11513
+ let t14, t15;
11514
+ $[37] !== enableSearchSpinner || $[38] !== isLoading || $[39] !== paneKey ? (t14 = () => {
11487
11515
  !enableSearchSpinner && !isLoading && setEnableSearchSpinner(paneKey);
11488
- }, t14 = [enableSearchSpinner, isLoading, paneKey], $[34] = enableSearchSpinner, $[35] = isLoading, $[36] = paneKey, $[37] = t13, $[38] = t14) : (t13 = $[37], t14 = $[38]), useEffect(t13, t14);
11489
- let t15;
11490
- $[39] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t15 = () => {
11491
- handleClearSearch(), setEnableSearchSpinner();
11492
- }, $[39] = t15) : t15 = $[39];
11516
+ }, t15 = [enableSearchSpinner, isLoading, paneKey], $[37] = enableSearchSpinner, $[38] = isLoading, $[39] = paneKey, $[40] = t14, $[41] = t15) : (t14 = $[40], t15 = $[41]), useEffect(t14, t15);
11493
11517
  let t16;
11494
- $[40] !== paneKey ? (t16 = [paneKey, handleClearSearch], $[40] = paneKey, $[41] = t16) : t16 = $[41], useEffect(t15, t16);
11495
- let t17, t18;
11496
- $[42] !== trimmedSearchQuery ? (t17 = () => {
11518
+ $[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t16 = () => {
11519
+ handleClearSearch(), setEnableSearchSpinner();
11520
+ }, $[42] = t16) : t16 = $[42];
11521
+ let t17;
11522
+ $[43] !== paneKey ? (t17 = [paneKey, handleClearSearch], $[43] = paneKey, $[44] = t17) : t17 = $[44], useEffect(t16, t17);
11523
+ let t18, t19;
11524
+ $[45] !== trimmedSearchQuery ? (t18 = () => {
11497
11525
  trimmedSearchQuery || setSearchOrderingId(RELEVANCE_ORDERING_ID);
11498
- }, t18 = [trimmedSearchQuery], $[42] = trimmedSearchQuery, $[43] = t17, $[44] = t18) : (t17 = $[43], t18 = $[44]), useEffect(t17, t18);
11499
- let t19;
11500
- bb1: {
11526
+ }, t19 = [trimmedSearchQuery], $[45] = trimmedSearchQuery, $[46] = t18, $[47] = t19) : (t18 = $[46], t19 = $[47]), useEffect(t18, t19);
11527
+ let t20;
11528
+ bb2: {
11501
11529
  if (connected && isLoading && enableSearchSpinner === paneKey) {
11502
- t19 = "spinner";
11503
- break bb1;
11530
+ t20 = "spinner";
11531
+ break bb2;
11504
11532
  }
11505
11533
  if (connected && fromCache) {
11506
- t19 = "subtle";
11507
- break bb1;
11534
+ t20 = "subtle";
11535
+ break bb2;
11508
11536
  }
11509
- t19 = "initial";
11537
+ t20 = "initial";
11510
11538
  }
11511
- const loadingVariant = t19;
11512
- let t20;
11513
- bb2: {
11539
+ const loadingVariant = t20;
11540
+ let t21;
11541
+ bb3: {
11514
11542
  if (loadingVariant === "spinner") {
11515
- t20 = AnimatedSpinnerIcon;
11516
- break bb2;
11543
+ t21 = AnimatedSpinnerIcon;
11544
+ break bb3;
11517
11545
  }
11518
11546
  if (searchInputValue && loadingVariant === "subtle") {
11519
- t20 = SubtleSpinnerIcon;
11520
- break bb2;
11547
+ t21 = SubtleSpinnerIcon;
11548
+ break bb3;
11521
11549
  }
11522
- t20 = SearchIcon;
11550
+ t21 = SearchIcon;
11523
11551
  }
11524
- const textInputIcon = t20;
11552
+ const textInputIcon = t21;
11525
11553
  useReconnectingToast(!connected);
11526
- let t21;
11527
- $[45] !== t ? (t21 = t("panes.document-list-pane.search-input.aria-label"), $[45] = t, $[46] = t21) : t21 = $[46];
11528
- const t22 = !!searchQuery;
11529
- let t23;
11530
- $[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t23 = [2, 2, 1], $[47] = t23) : t23 = $[47];
11531
- const t24 = !connected || loadingVariant === "subtle" && !searchInputValue ? DelayedSubtleSpinnerIcon : null;
11532
- let t25;
11533
- $[48] !== t ? (t25 = t("panes.document-list-pane.search-input.placeholder"), $[48] = t, $[49] = t25) : t25 = $[49];
11554
+ let t22;
11555
+ $[48] !== t ? (t22 = t("panes.document-list-pane.search-input.aria-label"), $[48] = t, $[49] = t22) : t22 = $[49];
11556
+ const t23 = !!searchQuery;
11557
+ let t24;
11558
+ $[50] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t24 = [2, 2, 1], $[50] = t24) : t24 = $[50];
11559
+ const t25 = !connected || loadingVariant === "subtle" && !searchInputValue ? DelayedSubtleSpinnerIcon : null;
11534
11560
  let t26;
11535
- $[50] !== handleQueryChange || $[51] !== searchInputValue || $[52] !== t21 || $[53] !== t22 || $[54] !== t24 || $[55] !== t25 || $[56] !== textInputIcon ? (t26 = /* @__PURE__ */ jsx(TextInput, { "aria-label": t21, autoComplete: "off", border: !1, clearButton: t22, fontSize: t23, icon: textInputIcon, iconRight: t24, onChange: handleQueryChange, onClear: handleClearSearch, onKeyDown: handleSearchKeyDown, padding: 2, placeholder: t25, radius: 2, ref: setSearchInputElement, spellCheck: !1, value: searchInputValue }), $[50] = handleQueryChange, $[51] = searchInputValue, $[52] = t21, $[53] = t22, $[54] = t24, $[55] = t25, $[56] = textInputIcon, $[57] = t26) : t26 = $[57];
11561
+ $[51] !== t ? (t26 = t("panes.document-list-pane.search-input.placeholder"), $[51] = t, $[52] = t26) : t26 = $[52];
11536
11562
  let t27;
11537
- $[58] !== searchOrderingId || $[59] !== searchOrderings || $[60] !== trimmedSearchQuery ? (t27 = trimmedSearchQuery && /* @__PURE__ */ jsx(DocumentListPaneSearchOrdering, { orderings: searchOrderings, value: searchOrderingId, onChange: setSearchOrderingId }), $[58] = searchOrderingId, $[59] = searchOrderings, $[60] = trimmedSearchQuery, $[61] = t27) : t27 = $[61];
11563
+ $[53] !== handleQueryChange || $[54] !== searchInputValue || $[55] !== t22 || $[56] !== t23 || $[57] !== t25 || $[58] !== t26 || $[59] !== textInputIcon ? (t27 = /* @__PURE__ */ jsx(TextInput, { "aria-label": t22, autoComplete: "off", border: !1, clearButton: t23, fontSize: t24, icon: textInputIcon, iconRight: t25, onChange: handleQueryChange, onClear: handleClearSearch, onKeyDown: handleSearchKeyDown, padding: 2, placeholder: t26, radius: 2, ref: setSearchInputElement, spellCheck: !1, value: searchInputValue }), $[53] = handleQueryChange, $[54] = searchInputValue, $[55] = t22, $[56] = t23, $[57] = t25, $[58] = t26, $[59] = textInputIcon, $[60] = t27) : t27 = $[60];
11538
11564
  let t28;
11539
- $[62] !== t26 || $[63] !== t27 ? (t28 = /* @__PURE__ */ jsx(Box, { paddingX: 3, paddingBottom: 3, children: /* @__PURE__ */ jsxs(Stack, { space: 3, children: [
11540
- t26,
11541
- t27
11542
- ] }) }), $[62] = t26, $[63] = t27, $[64] = t28) : t28 = $[64];
11543
- const t29 = !!typeName, t30 = items.length === FULL_LIST_LIMIT, t31 = !!searchQuery, t32 = loadingVariant === "subtle";
11544
- let t33;
11545
- $[65] !== autoRetry || $[66] !== canRetry || $[67] !== childItemId || $[68] !== connected || $[69] !== error || $[70] !== isActive || $[71] !== isLoading || $[72] !== isLoadingFullList || $[73] !== isRetrying || $[74] !== items || $[75] !== layout || $[76] !== loadingVariant || $[77] !== onLoadFullList || $[78] !== onRetry || $[79] !== paneKey || $[80] !== retryCount || $[81] !== searchInputElement || $[82] !== showIcons || $[83] !== sortOrder || $[84] !== t29 || $[85] !== t30 || $[86] !== t31 || $[87] !== t32 || $[88] !== title ? (t33 = /* @__PURE__ */ jsx(DocumentListPaneContent, { childItemId, error, filterIsSimpleTypeConstraint: t29, hasMaxItems: t30, hasSearchQuery: t31, isActive, isLazyLoading: isLoadingFullList, isLoading, autoRetry, canRetry, retryCount, isRetrying, isConnected: connected, items, layout, muted: t32, loadingVariant, onEndReached: onLoadFullList, onRetry, paneTitle: title, searchInputElement, showIcons, sortOrder }, paneKey), $[65] = autoRetry, $[66] = canRetry, $[67] = childItemId, $[68] = connected, $[69] = error, $[70] = isActive, $[71] = isLoading, $[72] = isLoadingFullList, $[73] = isRetrying, $[74] = items, $[75] = layout, $[76] = loadingVariant, $[77] = onLoadFullList, $[78] = onRetry, $[79] = paneKey, $[80] = retryCount, $[81] = searchInputElement, $[82] = showIcons, $[83] = sortOrder, $[84] = t29, $[85] = t30, $[86] = t31, $[87] = t32, $[88] = title, $[89] = t33) : t33 = $[89];
11546
- let t34;
11547
- return $[90] !== t28 || $[91] !== t33 ? (t34 = /* @__PURE__ */ jsxs(Fragment, { children: [
11548
- t28,
11549
- t33
11550
- ] }), $[90] = t28, $[91] = t33, $[92] = t34) : t34 = $[92], t34;
11565
+ $[61] !== searchOrderingId || $[62] !== searchOrderings || $[63] !== trimmedSearchQuery ? (t28 = trimmedSearchQuery && /* @__PURE__ */ jsx(DocumentListPaneSearchOrdering, { orderings: searchOrderings, value: searchOrderingId, onChange: setSearchOrderingId }), $[61] = searchOrderingId, $[62] = searchOrderings, $[63] = trimmedSearchQuery, $[64] = t28) : t28 = $[64];
11566
+ let t29;
11567
+ $[65] !== t27 || $[66] !== t28 ? (t29 = /* @__PURE__ */ jsx(Box, { paddingX: 3, paddingBottom: 3, children: /* @__PURE__ */ jsxs(Stack, { space: 3, children: [
11568
+ t27,
11569
+ t28
11570
+ ] }) }), $[65] = t27, $[66] = t28, $[67] = t29) : t29 = $[67];
11571
+ const t30 = !!typeName, t31 = items.length === FULL_LIST_LIMIT, t32 = !!searchQuery, t33 = loadingVariant === "subtle", t34 = orderByIdsParam ? DEFAULT_ORDERING : sortOrder;
11572
+ let t35;
11573
+ $[68] !== autoRetry || $[69] !== canRetry || $[70] !== childItemId || $[71] !== connected || $[72] !== error || $[73] !== isActive || $[74] !== isLoading || $[75] !== isLoadingFullList || $[76] !== isRetrying || $[77] !== layout || $[78] !== loadingVariant || $[79] !== onLoadFullList || $[80] !== onRetry || $[81] !== orderedItems || $[82] !== paneKey || $[83] !== retryCount || $[84] !== searchInputElement || $[85] !== showIcons || $[86] !== t30 || $[87] !== t31 || $[88] !== t32 || $[89] !== t33 || $[90] !== t34 || $[91] !== title ? (t35 = /* @__PURE__ */ jsx(DocumentListPaneContent, { childItemId, error, filterIsSimpleTypeConstraint: t30, hasMaxItems: t31, hasSearchQuery: t32, isActive, isLazyLoading: isLoadingFullList, isLoading, autoRetry, canRetry, retryCount, isRetrying, isConnected: connected, items: orderedItems, layout, muted: t33, loadingVariant, onEndReached: onLoadFullList, onRetry, paneTitle: title, searchInputElement, showIcons, sortOrder: t34 }, paneKey), $[68] = autoRetry, $[69] = canRetry, $[70] = childItemId, $[71] = connected, $[72] = error, $[73] = isActive, $[74] = isLoading, $[75] = isLoadingFullList, $[76] = isRetrying, $[77] = layout, $[78] = loadingVariant, $[79] = onLoadFullList, $[80] = onRetry, $[81] = orderedItems, $[82] = paneKey, $[83] = retryCount, $[84] = searchInputElement, $[85] = showIcons, $[86] = t30, $[87] = t31, $[88] = t32, $[89] = t33, $[90] = t34, $[91] = title, $[92] = t35) : t35 = $[92];
11574
+ let t36;
11575
+ return $[93] !== t29 || $[94] !== t35 ? (t36 = /* @__PURE__ */ jsxs(Fragment, { children: [
11576
+ t29,
11577
+ t35
11578
+ ] }), $[93] = t29, $[94] = t35, $[95] = t36) : t36 = $[95], t36;
11551
11579
  });
11552
- function _temp$7(event) {
11580
+ function _temp$7(item) {
11581
+ return isSortOrderingMenuItem(item) && !isOrderByIdsParam({
11582
+ by: item.params.by
11583
+ });
11584
+ }
11585
+ function _temp2$4(event) {
11553
11586
  return event.target.value;
11554
11587
  }
11555
- function _temp2$4(value) {
11588
+ function _temp3$3(value) {
11556
11589
  return value === "" ? of("") : timer(300);
11557
11590
  }
11558
11591
  const PaneHeader = memo((t0) => {
@@ -11686,8 +11719,11 @@ const addIdsToMenuItems = (menuItems) => menuItems?.map((item) => item.id ? item
11686
11719
  isSortDefault,
11687
11720
  isLayoutDefault,
11688
11721
  restoreSortDisabledReason,
11689
- restoreLayoutDisabledReason
11690
- } = options, restoreDefaultSortOrderItem = {
11722
+ restoreLayoutDisabledReason,
11723
+ suppressRestoreDefaults
11724
+ } = options;
11725
+ if (suppressRestoreDefaults) return menuItems;
11726
+ const restoreDefaultSortOrderItem = {
11691
11727
  group: "sorting",
11692
11728
  action: "restoreDefaultSortOrder",
11693
11729
  i18n: {
@@ -11731,7 +11767,7 @@ function useShallowUnique(value) {
11731
11767
  return shallowEquals(previous, value) ? previous : (setPrevious(value), value);
11732
11768
  }
11733
11769
  const PaneContainer = memo(function(props) {
11734
- const $ = c(71), {
11770
+ const $ = c(72), {
11735
11771
  index,
11736
11772
  isSelected,
11737
11773
  pane,
@@ -11743,7 +11779,8 @@ const PaneContainer = memo(function(props) {
11743
11779
  initialValueTemplates: t1,
11744
11780
  menuItemGroups,
11745
11781
  menuItems,
11746
- options
11782
+ options,
11783
+ suppressRestoreDefaultMenuItems
11747
11784
  } = pane, defaultLayout = t0 === void 0 ? "default" : t0, initialValueTemplates = t1 === void 0 ? EMPTY_ARRAY$2 : t1, {
11748
11785
  defaultOrdering: t2,
11749
11786
  filter: filter2
@@ -11824,28 +11861,29 @@ const PaneContainer = memo(function(props) {
11824
11861
  $[37] !== defaultSortOrder || $[38] !== storedSortOrderRaw?.by ? (t15 = isEqual(storedSortOrderRaw?.by ?? [], toStaticSortOrder(defaultSortOrder).by), $[37] = defaultSortOrder, $[38] = storedSortOrderRaw?.by, $[39] = t15) : t15 = $[39];
11825
11862
  const isSortDefault = t15;
11826
11863
  let t16;
11827
- $[40] !== isLayoutDefault || $[41] !== isSortDefault || $[42] !== menuItemsWithSelectedState || $[43] !== t ? (t16 = appendRestoreDefaultItems({
11864
+ $[40] !== isLayoutDefault || $[41] !== isSortDefault || $[42] !== menuItemsWithSelectedState || $[43] !== suppressRestoreDefaultMenuItems || $[44] !== t ? (t16 = appendRestoreDefaultItems({
11828
11865
  menuItems: menuItemsWithSelectedState,
11829
11866
  isSortDefault,
11830
11867
  isLayoutDefault,
11831
11868
  restoreSortDisabledReason: t("menu-items.sort-by.restore-default.disabled-reason"),
11832
- restoreLayoutDisabledReason: t("menu-items.layout.restore-default.disabled-reason")
11833
- }), $[40] = isLayoutDefault, $[41] = isSortDefault, $[42] = menuItemsWithSelectedState, $[43] = t, $[44] = t16) : t16 = $[44];
11869
+ restoreLayoutDisabledReason: t("menu-items.layout.restore-default.disabled-reason"),
11870
+ suppressRestoreDefaults: suppressRestoreDefaultMenuItems
11871
+ }), $[40] = isLayoutDefault, $[41] = isSortDefault, $[42] = menuItemsWithSelectedState, $[43] = suppressRestoreDefaultMenuItems, $[44] = t, $[45] = t16) : t16 = $[45];
11834
11872
  const menuItemsWithRestoreDefaults = t16, t17 = sourceName || parentSourceName;
11835
11873
  let t18;
11836
- $[45] !== pane.source ? (t18 = _DEBUG, $[45] = pane.source, $[46] = t18) : t18 = $[46];
11874
+ $[46] !== pane.source ? (t18 = _DEBUG, $[46] = pane.source, $[47] = t18) : t18 = $[47];
11837
11875
  let t19;
11838
- $[47] !== customMenuItemState || $[48] !== handleRestoreDefaultLayout || $[49] !== handleRestoreDefaultSortOrder || $[50] !== handleSetSortOrder || $[51] !== index || $[52] !== initialValueTemplates || $[53] !== menuItemGroups || $[54] !== menuItemsWithRestoreDefaults || $[55] !== setLayout || $[56] !== title ? (t19 = /* @__PURE__ */ jsx(PaneHeader, { customMenuItemState, index, initialValueTemplates, menuItemGroups, menuItems: menuItemsWithRestoreDefaults, setLayout, setSortOrder: handleSetSortOrder, setCustomMenuItemState, restoreDefaultLayout: handleRestoreDefaultLayout, restoreDefaultSortOrder: handleRestoreDefaultSortOrder, title }), $[47] = customMenuItemState, $[48] = handleRestoreDefaultLayout, $[49] = handleRestoreDefaultSortOrder, $[50] = handleSetSortOrder, $[51] = index, $[52] = initialValueTemplates, $[53] = menuItemGroups, $[54] = menuItemsWithRestoreDefaults, $[55] = setLayout, $[56] = title, $[57] = t19) : t19 = $[57];
11876
+ $[48] !== customMenuItemState || $[49] !== handleRestoreDefaultLayout || $[50] !== handleRestoreDefaultSortOrder || $[51] !== handleSetSortOrder || $[52] !== index || $[53] !== initialValueTemplates || $[54] !== menuItemGroups || $[55] !== menuItemsWithRestoreDefaults || $[56] !== setLayout || $[57] !== title ? (t19 = /* @__PURE__ */ jsx(PaneHeader, { customMenuItemState, index, initialValueTemplates, menuItemGroups, menuItems: menuItemsWithRestoreDefaults, setLayout, setSortOrder: handleSetSortOrder, setCustomMenuItemState, restoreDefaultLayout: handleRestoreDefaultLayout, restoreDefaultSortOrder: handleRestoreDefaultSortOrder, title }), $[48] = customMenuItemState, $[49] = handleRestoreDefaultLayout, $[50] = handleRestoreDefaultSortOrder, $[51] = handleSetSortOrder, $[52] = index, $[53] = initialValueTemplates, $[54] = menuItemGroups, $[55] = menuItemsWithRestoreDefaults, $[56] = setLayout, $[57] = title, $[58] = t19) : t19 = $[58];
11839
11877
  let t20;
11840
- $[58] !== layout || $[59] !== props || $[60] !== validatedSortOrder ? (t20 = /* @__PURE__ */ jsx(DocumentListPane, { ...props, sortOrder: validatedSortOrder, layout }), $[58] = layout, $[59] = props, $[60] = validatedSortOrder, $[61] = t20) : t20 = $[61];
11878
+ $[59] !== layout || $[60] !== props || $[61] !== validatedSortOrder ? (t20 = /* @__PURE__ */ jsx(DocumentListPane, { ...props, sortOrder: validatedSortOrder, layout }), $[59] = layout, $[60] = props, $[61] = validatedSortOrder, $[62] = t20) : t20 = $[62];
11841
11879
  let t21;
11842
- $[62] !== isSelected || $[63] !== paneKey || $[64] !== t18 || $[65] !== t19 || $[66] !== t20 ? (t21 = /* @__PURE__ */ jsxs(Pane, { "data-ui": "DocumentListPane", id: paneKey, minWidth: 320, currentMaxWidth: 350, maxWidth: 640, selected: isSelected, children: [
11880
+ $[63] !== isSelected || $[64] !== paneKey || $[65] !== t18 || $[66] !== t19 || $[67] !== t20 ? (t21 = /* @__PURE__ */ jsxs(Pane, { "data-ui": "DocumentListPane", id: paneKey, minWidth: 320, currentMaxWidth: 350, maxWidth: 640, selected: isSelected, children: [
11843
11881
  t18,
11844
11882
  t19,
11845
11883
  t20
11846
- ] }), $[62] = isSelected, $[63] = paneKey, $[64] = t18, $[65] = t19, $[66] = t20, $[67] = t21) : t21 = $[67];
11884
+ ] }), $[63] = isSelected, $[64] = paneKey, $[65] = t18, $[66] = t19, $[67] = t20, $[68] = t21) : t21 = $[68];
11847
11885
  let t22;
11848
- return $[68] !== t17 || $[69] !== t21 ? (t22 = /* @__PURE__ */ jsx(SourceProvider, { name: t17, children: t21 }), $[68] = t17, $[69] = t21, $[70] = t22) : t22 = $[70], t22;
11886
+ return $[69] !== t17 || $[70] !== t21 ? (t22 = /* @__PURE__ */ jsx(SourceProvider, { name: t17, children: t21 }), $[69] = t17, $[70] = t21, $[71] = t22) : t22 = $[71], t22;
11849
11887
  });
11850
11888
  PaneContainer.displayName = "Memo(PaneContainer)";
11851
11889
  const useLiveEditBadge = (props) => {
@@ -13577,6 +13615,7 @@ export {
13577
13615
  IncomingReferencesListContainer,
13578
13616
  LOADING_PANE,
13579
13617
  LoadingPane,
13618
+ ORDER_BY_IDS_PARAM_FIELD,
13580
13619
  Pane,
13581
13620
  PaneContainer,
13582
13621
  PaneContent,