sanity 5.17.1-next.1 β 5.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-dts/ActiveWorkspaceMatcherContext.d.ts +1 -1
- package/lib/_chunks-es/resources.js +0 -1
- package/lib/_chunks-es/resources.js.map +1 -1
- package/lib/_chunks-es/resources3.js +0 -1
- package/lib/_chunks-es/resources3.js.map +1 -1
- package/lib/_chunks-es/resources4.js +0 -1
- package/lib/_chunks-es/resources4.js.map +1 -1
- package/lib/_chunks-es/resources5.js +0 -1
- package/lib/_chunks-es/resources5.js.map +1 -1
- package/lib/_chunks-es/resources6.js +0 -1
- package/lib/_chunks-es/resources6.js.map +1 -1
- package/lib/_chunks-es/version.js +2 -2
- package/lib/index.js +3 -4
- package/lib/index.js.map +1 -1
- package/package.json +11 -11
|
@@ -7462,8 +7462,8 @@ declare function useScheduleAction(props: DocumentActionProps): {
|
|
|
7462
7462
|
icon: react.ForwardRefExoticComponent<Omit<react.SVGProps<SVGSVGElement>, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
7463
7463
|
label: string;
|
|
7464
7464
|
title: react.JSX.Element;
|
|
7465
|
-
dialog?: undefined;
|
|
7466
7465
|
onHandle?: undefined;
|
|
7466
|
+
dialog?: undefined;
|
|
7467
7467
|
} | {
|
|
7468
7468
|
dialog: false | DocumentActionModalDialogProps;
|
|
7469
7469
|
disabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sources":["../../src/core/comments/i18n/resources.ts"],"sourcesContent":["/* eslint sort-keys: \"error\" */\nimport {defineLocalesResources} from '../../i18n'\n\n/**\n * Defined locale strings for the comments feature, in US English.\n *\n * @internal\n */\nconst commentsLocaleStrings = defineLocalesResources('comments', {\n /** The close comments button text */\n 'close-pane-button-text': 'Close comments',\n /** The aria label for the close comments button */\n 'close-pane-button-text-aria-label': 'Close comments',\n\n /** When composing a comment, the placeholder text shown when adding a comment to a field with no current comments */\n 'compose.add-comment-input-placeholder': 'Add comment to <strong>{{field}}</strong>',\n /** When composing a comment, the placeholder text shown when adding a comment to a field with no current comments and the mode is upsell */\n 'compose.add-comment-input-placeholder-upsell': 'Upgrade to add comment',\n /** When composing a comment, the placeholder text shown when the input is empty */\n 'compose.create-comment-placeholder': 'Create a new comment',\n /** When composing a comment, the aria label for the button to mention a user */\n 'compose.mention-user-aria-label': 'Mention user',\n /** When composing a comment, the tooltip text for the button to mention a user */\n 'compose.mention-user-tooltip': 'Mention user',\n /** When composing a reply, the placeholder text shown when the input is empty */\n 'compose.reply-placeholder': 'Reply',\n /** When composing a reply, the placeholder text shown when the input is empty and the mode is upsell */\n 'compose.reply-placeholder-upsell': 'Upgrade to reply',\n /** When composing a comment, the aria label for the button to send a comment */\n 'compose.send-comment-aria-label': 'Send comment',\n /** When composing a comment, the tooltip text for the button to send a comment */\n 'compose.send-comment-tooltip': 'Send comment',\n\n /** The inspector text when error copying link */\n 'copy-link-error-message': 'Unable to copy link to clipboard',\n\n /** The delete dialog body for a comment */\n 'delete-comment.body': 'Once deleted, a comment cannot be recovered.',\n /** The delete dialog confirm button text for a comment */\n 'delete-comment.confirm': 'Delete comment',\n /** The delete dialog title for a comment */\n 'delete-comment.title': 'Delete this comment?',\n /** The delete dialog error */\n 'delete-dialog.error': 'An error occurred while deleting the comment. Please try again.',\n /** The delete dialog body for a thread */\n 'delete-thread.body':\n 'This comment and its replies will be deleted, and once deleted cannot be recovered.',\n /** The delete dialog conform button text for a thread */\n 'delete-thread.confirm': 'Delete thread',\n /** The delete dialog title for a thread */\n 'delete-thread.title': 'Delete this comment thread?',\n\n /** The button text for confirming discard */\n 'discard.button-confirm': 'Discard',\n /** The header for discard comment dialog */\n 'discard.header': 'Discard comment?',\n /** The text for discard comment dialog */\n 'discard.text': 'Do you want to discard the comment?',\n\n /** Sharing feedback on the comments feature: The link title */\n 'feature-feedback.link': 'Share your feedback',\n /** Sharing feedback on the comments feature: The form title */\n 'feature-feedback.title': 'Help improve ',\n\n /** The name of the comments feature, for use in header. Capitalized, eg \"Comments\". */\n 'feature-name': 'Comments',\n\n /** Aria label for button above fields to add a comment, when the field currently do not have any comments */\n 'field-button.aria-label-add': 'Add comment',\n /** Aria label for button above fields that opens the comments for this field, when there are existing comments */\n 'field-button.aria-label-open': 'Open comments',\n /** Text shown in popover when hovering the button above fields that opens the comments panel, when there is a single comment present */\n 'field-button.content_one': 'View comment',\n /** Text shown in popover when hovering the button above fields that opens the comments panel, when there are more than one comment present */\n 'field-button.content_other': 'View comments',\n /** Text shown in popover when hovering the button above fields to add a comment, when the field currently do not have any comments */\n 'field-button.title': 'Add comment',\n\n /* The text shown in the inline comment button when the button is disabled due to overlap */\n 'inline-add-comment-button.disabled-overlap-title': 'Comments cannot overlap',\n /** The text shown in the inline comment button */\n 'inline-add-comment-button.title': 'Add comment',\n\n /** The title of the error card shown in the comments inspector */\n 'inspector-error.title': 'Something went wrong while loading comments',\n\n /** Aria label for the breadcrumb button showing the field path. `{{field}}` is the last (most specific) field. */\n 'list-item.breadcrumb-button-go-to-field-aria-label': 'Go to {{field}} field',\n /** The button tooltip content for the add reaction button */\n 'list-item.context-menu-add-reaction': 'Add reaction',\n /** The button tooltip aria label for adding a reaction */\n 'list-item.context-menu-add-reaction-aria-label': 'Add reaction',\n /** The button tooltip content for the add reaction button and mode is upsell */\n 'list-item.context-menu-add-reaction-upsell': 'Upgrade to add reaction',\n /** The action menu item for copying a comment link */\n 'list-item.copy-link': 'Copy link to comment',\n /** The action menu item for deleting a comment */\n 'list-item.delete-comment': 'Delete comment',\n /** The action menu item for editing a comment */\n 'list-item.edit-comment': 'Edit comment',\n /** The action menu item for editing a comment and the mode is upsell */\n 'list-item.edit-comment-upsell': 'Upgrade to edit comment',\n /** Aria label for the button that takes you to the field, which wraps a thread/comment */\n 'list-item.go-to-field-button.aria-label': 'Go to field',\n /**\n * The text shown below the author and timestamp of a comment including a link back to the context in which the comment was made.\n * Consists of a document title wrapped in a link, and a word or phrase to indicate that the link refers to a location:\n * eg \"on Home\", \"on Coffee Machine | Products\", \"on Pricing β Sanity\"\n */\n 'list-item.layout-context': 'on <IntentLink>{{title}}</IntentLink>',\n /** The marker to indicate that a comment has been edited in brackets */\n 'list-item.layout-edited': 'edited',\n /** The error text when sending a comment has failed */\n 'list-item.layout-failed-sent': 'Failed to send.',\n /** The loading message when posting a comment is in progress */\n 'list-item.layout-posting': 'Posting...',\n /** The text for retrying posting a comment */\n 'list-item.layout-retry': 'Retry',\n /** The text shown when the value a comment references has been deleted */\n 'list-item.missing-referenced-value-tooltip-content': 'The commented text has been deleted',\n /** The aria label for the comments menu button to open the actions menu */\n 'list-item.open-menu-aria-label': 'Open comment actions menu',\n /** The button text to re-open a resolved comment */\n 'list-item.re-open-resolved': 'Re-open',\n /** The button aria label to re-open a comment that is resolved */\n 'list-item.re-open-resolved-aria-label': 'Re-open',\n /** The button aria label to mark a comment as resolved */\n 'list-item.resolved-tooltip-aria-label': 'Mark comment as resolved',\n /** The button text to mark a comment as resolved */\n 'list-item.resolved-tooltip-content': 'Mark as resolved',\n\n /** The empty state text for open comments */\n 'list-status.empty-state-open-text': 'Open comments on this document will be shown here.',\n /** The empty state title for open comments */\n 'list-status.empty-state-open-title': 'No open comments yet',\n /** The empty state text for resolved comments */\n 'list-status.empty-state-resolved-text': 'Resolved comments on this document will be shown here.',\n /** The empty state title for resolved comments */\n 'list-status.empty-state-resolved-title': 'No resolved comments yet',\n /** The list status message for error */\n 'list-status.error': 'Something went wrong',\n /** The list status message for loading status */\n 'list-status.loading': 'Loading comments',\n\n /** Text shown when no users can be found to mention */\n 'mentions.no-users-found': 'No users found',\n /** Label/badge shown for users that are not authorized to see the document, and thus cannot be mentioned */\n 'mentions.unauthorized-user': 'Unauthorized',\n /** Aria label for the command list for users to mention */\n 'mentions.user-list-aria-label': 'List of users to mention',\n\n /** The comments onboarding popover text */\n 'onboarding.body':\n \"You can add comments to any field in a document. They'll show up here, grouped by field.\",\n /** The comments onboarding dismiss text */\n 'onboarding.dismiss': 'Got it',\n /** The comments onboarding popover header text */\n 'onboarding.header': 'Document fields now have comments',\n\n /** Tooltip for the button to add a reaction to a comment */\n 'reactions.add-reaction-tooltip': 'Add reaction',\n /** Aria label for the individual reactions you can choose from when reacting to a comment */\n 'reactions.react-with-aria-label': 'React with {{reactionName}}',\n /** When a users' name cannot be resolved, fall back to this name */\n 'reactions.user-list.unknown-user-fallback-name': 'Unknown user',\n /**\n * When showing list of users who have reacted, replaces your own name with \"you\", eg\n * \"Donna, you, James, and Tyler reacted with π\". A different key (`_leading` suffix)\n * is used when you are the first to react, eg \"You, Donna and Tyler reacted with π\".\n * Use `{{name}}` if you want to instead use the current users' actual name.\n */\n 'reactions.user-list.you': 'you',\n /**\n * When showing list of users who have reacted, replaces your own name with \"You\", eg\n * \"You, Donna, James, and Tyler reacted with π\". A different key (`_leading` suffix)\n * is used when you are not the first to react, eg \"Donna, you, James and Tyler reacted with π\".\n * Use `{{name}}` if you want to instead use the current users' actual name.\n */\n 'reactions.user-list.you_leading': 'You',\n /**\n * The text shown for the tooltip that appears when hovering over the reaction count, eg\n * \"Donna, James, and Tyler Reacted with π\". Three components are available for use:\n * - `<UserList/>` - the list of names of users who have reacted, using the locales list format\n * - `<Text>` - should be wrapped around the text describing the action (\"reacted with\")\n * - `<ReactionName/>` - the name of the reaction emoji, eg \":heavy_plus_sign:\"\n */\n 'reactions.users-reacted-with-reaction': '<UserList/> <Text>reacted with</Text> <ReactionName/>',\n\n /** Status filter: The short title describing filtering on open (non-resolved) comments */\n 'status-filter.status-open': 'Open',\n /** Status filter: The full text for describing filtering on open (non-resolved) comments */\n 'status-filter.status-open-full': 'Open comments',\n /** Status filter: The short title describing filtering on resolved comments */\n 'status-filter.status-resolved': 'Resolved',\n /** Status filter: The full text for describing filtering on resolved comments */\n 'status-filter.status-resolved-full': 'Resolved comments',\n /** Status filter: The full text for describing filtering on resolved comments and is upsell mode */\n 'status-filter.status-resolved-full-upsell': 'Upgrade to see resolved comments',\n})\n\n/**\n * @alpha\n */\nexport type CommentsLocaleResourceKeys = keyof typeof commentsLocaleStrings\n\nexport default commentsLocaleStrings\n"],"names":["commentsLocaleStrings","defineLocalesResources"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,MAAMA,wBAAwBC,uBAAuB,YAAY;AAAA;AAAA,EAE/D,0BAA0B;AAAA;AAAA,EAE1B,qCAAqC;AAAA;AAAA,EAGrC,yCAAyC;AAAA;AAAA,EAEzC,gDAAgD;AAAA;AAAA,EAEhD,sCAAsC;AAAA;AAAA,EAEtC,mCAAmC;AAAA;AAAA,EAEnC,gCAAgC;AAAA;AAAA,EAEhC,6BAA6B;AAAA;AAAA,EAE7B,oCAAoC;AAAA;AAAA,EAEpC,mCAAmC;AAAA;AAAA,EAEnC,gCAAgC;AAAA;AAAA,EAGhC,2BAA2B;AAAA;AAAA,EAG3B,uBAAuB;AAAA;AAAA,EAEvB,0BAA0B;AAAA;AAAA,EAE1B,wBAAwB;AAAA;AAAA,EAExB,uBAAuB;AAAA;AAAA,EAEvB,sBACE;AAAA;AAAA,EAEF,yBAAyB;AAAA;AAAA,EAEzB,uBAAuB;AAAA;AAAA,EAGvB,0BAA0B;AAAA;AAAA,EAE1B,kBAAkB;AAAA;AAAA,EAElB,gBAAgB;AAAA;AAAA,EAGhB,yBAAyB;AAAA;AAAA,EAEzB,0BAA0B;AAAA;AAAA,EAG1B,gBAAgB;AAAA;AAAA,EAGhB,+BAA+B;AAAA;AAAA,EAE/B,gCAAgC;AAAA;AAAA,EAEhC,4BAA4B;AAAA;AAAA,EAE5B,8BAA8B;AAAA;AAAA,EAE9B,sBAAsB;AAAA;AAAA,EAGtB,oDAAoD;AAAA;AAAA,EAEpD,mCAAmC;AAAA;AAAA,EAG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AA;AAAA,EAElC,iCAAiC;AAAA;AAAA,EAEjC,sCAAsC;AAAA;AAAA,EAEtC,6CAA6C;AAC/C,CAAC;"}
|
|
1
|
+
{"version":3,"file":"resources.js","sources":["../../src/core/comments/i18n/resources.ts"],"sourcesContent":["/* eslint sort-keys: \"error\" */\nimport {defineLocalesResources} from '../../i18n'\n\n/**\n * Defined locale strings for the comments feature, in US English.\n *\n * @internal\n */\nconst commentsLocaleStrings = defineLocalesResources('comments', {\n /** The close comments button text */\n 'close-pane-button-text': 'Close comments',\n /** The aria label for the close comments button */\n 'close-pane-button-text-aria-label': 'Close comments',\n\n /** When composing a comment, the placeholder text shown when adding a comment to a field with no current comments */\n 'compose.add-comment-input-placeholder': 'Add comment to <strong>{{field}}</strong>',\n /** When composing a comment, the placeholder text shown when adding a comment to a field with no current comments and the mode is upsell */\n 'compose.add-comment-input-placeholder-upsell': 'Upgrade to add comment',\n /** When composing a comment, the placeholder text shown when the input is empty */\n 'compose.create-comment-placeholder': 'Create a new comment',\n /** When composing a comment, the aria label for the button to mention a user */\n 'compose.mention-user-aria-label': 'Mention user',\n /** When composing a comment, the tooltip text for the button to mention a user */\n 'compose.mention-user-tooltip': 'Mention user',\n /** When composing a reply, the placeholder text shown when the input is empty */\n 'compose.reply-placeholder': 'Reply',\n /** When composing a reply, the placeholder text shown when the input is empty and the mode is upsell */\n 'compose.reply-placeholder-upsell': 'Upgrade to reply',\n /** When composing a comment, the aria label for the button to send a comment */\n 'compose.send-comment-aria-label': 'Send comment',\n /** When composing a comment, the tooltip text for the button to send a comment */\n 'compose.send-comment-tooltip': 'Send comment',\n\n /** The inspector text when error copying link */\n 'copy-link-error-message': 'Unable to copy link to clipboard',\n\n /** The delete dialog body for a comment */\n 'delete-comment.body': 'Once deleted, a comment cannot be recovered.',\n /** The delete dialog confirm button text for a comment */\n 'delete-comment.confirm': 'Delete comment',\n /** The delete dialog title for a comment */\n 'delete-comment.title': 'Delete this comment?',\n /** The delete dialog error */\n 'delete-dialog.error': 'An error occurred while deleting the comment. Please try again.',\n /** The delete dialog body for a thread */\n 'delete-thread.body':\n 'This comment and its replies will be deleted, and once deleted cannot be recovered.',\n /** The delete dialog conform button text for a thread */\n 'delete-thread.confirm': 'Delete thread',\n /** The delete dialog title for a thread */\n 'delete-thread.title': 'Delete this comment thread?',\n\n /** The button text for confirming discard */\n 'discard.button-confirm': 'Discard',\n /** The header for discard comment dialog */\n 'discard.header': 'Discard comment?',\n /** The text for discard comment dialog */\n 'discard.text': 'Do you want to discard the comment?',\n\n /** Sharing feedback on the comments feature: The link title */\n 'feature-feedback.link': 'Share your feedback',\n /** Sharing feedback on the comments feature: The form title */\n 'feature-feedback.title': 'Help improve ',\n\n /** The name of the comments feature, for use in header. Capitalized, eg \"Comments\". */\n 'feature-name': 'Comments',\n\n /** Aria label for button above fields to add a comment, when the field currently do not have any comments */\n 'field-button.aria-label-add': 'Add comment',\n /** Aria label for button above fields that opens the comments for this field, when there are existing comments */\n 'field-button.aria-label-open': 'Open comments',\n /** Text shown in popover when hovering the button above fields that opens the comments panel, when there is a single comment present */\n 'field-button.content_one': 'View comment',\n /** Text shown in popover when hovering the button above fields that opens the comments panel, when there are more than one comment present */\n 'field-button.content_other': 'View comments',\n /** Text shown in popover when hovering the button above fields to add a comment, when the field currently do not have any comments */\n 'field-button.title': 'Add comment',\n\n /* The text shown in the inline comment button when the button is disabled due to overlap */\n 'inline-add-comment-button.disabled-overlap-title': 'Comments cannot overlap',\n /** The text shown in the inline comment button */\n 'inline-add-comment-button.title': 'Add comment',\n\n /** The title of the error card shown in the comments inspector */\n 'inspector-error.title': 'Something went wrong while loading comments',\n\n /** Aria label for the breadcrumb button showing the field path. `{{field}}` is the last (most specific) field. */\n 'list-item.breadcrumb-button-go-to-field-aria-label': 'Go to {{field}} field',\n /** The button tooltip content for the add reaction button */\n 'list-item.context-menu-add-reaction': 'Add reaction',\n /** The button tooltip aria label for adding a reaction */\n 'list-item.context-menu-add-reaction-aria-label': 'Add reaction',\n /** The button tooltip content for the add reaction button and mode is upsell */\n 'list-item.context-menu-add-reaction-upsell': 'Upgrade to add reaction',\n /** The action menu item for copying a comment link */\n 'list-item.copy-link': 'Copy link to comment',\n /** The action menu item for deleting a comment */\n 'list-item.delete-comment': 'Delete comment',\n /** The action menu item for editing a comment */\n 'list-item.edit-comment': 'Edit comment',\n /** The action menu item for editing a comment and the mode is upsell */\n 'list-item.edit-comment-upsell': 'Upgrade to edit comment',\n /** Aria label for the button that takes you to the field, which wraps a thread/comment */\n 'list-item.go-to-field-button.aria-label': 'Go to field',\n /**\n * The text shown below the author and timestamp of a comment including a link back to the context in which the comment was made.\n * Consists of a document title wrapped in a link, and a word or phrase to indicate that the link refers to a location:\n * eg \"on Home\", \"on Coffee Machine | Products\", \"on Pricing β Sanity\"\n */\n 'list-item.layout-context': 'on <IntentLink>{{title}}</IntentLink>',\n /** The marker to indicate that a comment has been edited in brackets */\n 'list-item.layout-edited': 'edited',\n /** The error text when sending a comment has failed */\n 'list-item.layout-failed-sent': 'Failed to send.',\n /** The loading message when posting a comment is in progress */\n 'list-item.layout-posting': 'Posting...',\n /** The text for retrying posting a comment */\n 'list-item.layout-retry': 'Retry',\n /** The text shown when the value a comment references has been deleted */\n 'list-item.missing-referenced-value-tooltip-content': 'The commented text has been deleted',\n /** The aria label for the comments menu button to open the actions menu */\n 'list-item.open-menu-aria-label': 'Open comment actions menu',\n /** The button text to re-open a resolved comment */\n 'list-item.re-open-resolved': 'Re-open',\n /** The button aria label to re-open a comment that is resolved */\n 'list-item.re-open-resolved-aria-label': 'Re-open',\n /** The button aria label to mark a comment as resolved */\n 'list-item.resolved-tooltip-aria-label': 'Mark comment as resolved',\n /** The button text to mark a comment as resolved */\n 'list-item.resolved-tooltip-content': 'Mark as resolved',\n\n /** The empty state text for open comments */\n 'list-status.empty-state-open-text': 'Open comments on this document will be shown here.',\n /** The empty state title for open comments */\n 'list-status.empty-state-open-title': 'No open comments yet',\n /** The empty state text for resolved comments */\n 'list-status.empty-state-resolved-text': 'Resolved comments on this document will be shown here.',\n /** The empty state title for resolved comments */\n 'list-status.empty-state-resolved-title': 'No resolved comments yet',\n /** The list status message for error */\n 'list-status.error': 'Something went wrong',\n /** The list status message for loading status */\n 'list-status.loading': 'Loading comments',\n\n /** Text shown when no users can be found to mention */\n 'mentions.no-users-found': 'No users found',\n /** Label/badge shown for users that are not authorized to see the document, and thus cannot be mentioned */\n 'mentions.unauthorized-user': 'Unauthorized',\n /** Aria label for the command list for users to mention */\n 'mentions.user-list-aria-label': 'List of users to mention',\n\n /** The comments onboarding popover text */\n 'onboarding.body':\n \"You can add comments to any field in a document. They'll show up here, grouped by field.\",\n /** The comments onboarding dismiss text */\n 'onboarding.dismiss': 'Got it',\n /** The comments onboarding popover header text */\n 'onboarding.header': 'Document fields now have comments',\n\n /** Tooltip for the button to add a reaction to a comment */\n 'reactions.add-reaction-tooltip': 'Add reaction',\n /** Aria label for the individual reactions you can choose from when reacting to a comment */\n 'reactions.react-with-aria-label': 'React with {{reactionName}}',\n /** When a users' name cannot be resolved, fall back to this name */\n 'reactions.user-list.unknown-user-fallback-name': 'Unknown user',\n /**\n * When showing list of users who have reacted, replaces your own name with \"you\", eg\n * \"Donna, you, James, and Tyler reacted with π\". A different key (`_leading` suffix)\n * is used when you are the first to react, eg \"You, Donna and Tyler reacted with π\".\n * Use `{{name}}` if you want to instead use the current users' actual name.\n */\n 'reactions.user-list.you': 'you',\n /**\n * When showing list of users who have reacted, replaces your own name with \"You\", eg\n * \"You, Donna, James, and Tyler reacted with π\". A different key (`_leading` suffix)\n * is used when you are not the first to react, eg \"Donna, you, James and Tyler reacted with π\".\n * Use `{{name}}` if you want to instead use the current users' actual name.\n */\n 'reactions.user-list.you_leading': 'You',\n /**\n * The text shown for the tooltip that appears when hovering over the reaction count, eg\n * \"Donna, James, and Tyler Reacted with π\". Three components are available for use:\n * - `<UserList/>` - the list of names of users who have reacted, using the locales list format\n * - `<Text>` - should be wrapped around the text describing the action (\"reacted with\")\n * - `<ReactionName/>` - the name of the reaction emoji, eg \":heavy_plus_sign:\"\n */\n 'reactions.users-reacted-with-reaction': '<UserList/> <Text>reacted with</Text> <ReactionName/>',\n\n /** Status filter: The short title describing filtering on open (non-resolved) comments */\n 'status-filter.status-open': 'Open',\n /** Status filter: The full text for describing filtering on open (non-resolved) comments */\n 'status-filter.status-open-full': 'Open comments',\n /** Status filter: The short title describing filtering on resolved comments */\n 'status-filter.status-resolved': 'Resolved',\n /** Status filter: The full text for describing filtering on resolved comments */\n 'status-filter.status-resolved-full': 'Resolved comments',\n /** Status filter: The full text for describing filtering on resolved comments and is upsell mode */\n 'status-filter.status-resolved-full-upsell': 'Upgrade to see resolved comments',\n})\n\n/**\n * @alpha\n */\nexport type CommentsLocaleResourceKeys = keyof typeof commentsLocaleStrings\n\nexport default commentsLocaleStrings\n"],"names":["commentsLocaleStrings","defineLocalesResources"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,MAAMA,wBAAwBC,uBAAuB,YAAY;AAAA;AAAA,EAE/D,0BAA0B;AAAA;AAAA,EAE1B,qCAAqC;AAAA;AAAA,EAGrC,yCAAyC;AAAA;AAAA,EAEzC,gDAAgD;AAAA;AAAA,EAEhD,sCAAsC;AAAA;AAAA,EAEtC,mCAAmC;AAAA;AAAA,EAEnC,gCAAgC;AAAA;AAAA,EAEhC,6BAA6B;AAAA;AAAA,EAE7B,oCAAoC;AAAA;AAAA,EAEpC,mCAAmC;AAAA;AAAA,EAEnC,gCAAgC;AAAA;AAAA,EAGhC,2BAA2B;AAAA;AAAA,EAG3B,uBAAuB;AAAA;AAAA,EAEvB,0BAA0B;AAAA;AAAA,EAE1B,wBAAwB;AAAA;AAAA,EAExB,uBAAuB;AAAA;AAAA,EAEvB,sBACE;AAAA;AAAA,EAEF,yBA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iCAAiC;AAAA;AAAA,EAGjC,mBACE;AAAA;AAAA,EAEF,sBAAsB;AAAA;AAAA,EAEtB,qBAAqB;AAAA;AAAA,EAGrB,kCAAkC;AAAA;AAAA,EAElC,mCAAmC;AAAA;AAAA,EAEnC,kDAAkD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOlD,2BAA2B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAO3B,mCAAmC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQnC,yCAAyC;AAAA;AAAA,EAGzC,6BAA6B;AAAA;AAAA,EAE7B,kCAAkC;AAAA;AAAA,EAElC,iCAAiC;AAAA;AAAA,EAEjC,sCAAsC;AAAA;AAAA,EAEtC,6CAA6C;AAC/C,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources3.js","sources":["../../src/core/tasks/i18n/resources.ts"],"sourcesContent":["/* eslint sort-keys: \"error\" */\nimport {defineLocalesResources} from '../../i18n'\n\n/**\n * Defined locale strings for the task tool, in US English.\n *\n * @internal\n */\nconst tasksLocaleStrings = defineLocalesResources('tasks', {\n /** The label for the create task action */\n 'actions.create.text': 'Create new task',\n /** The label for the open tasks panel action */\n 'actions.open.text': 'Tasks',\n /** The label for the button to create a new task */\n 'buttons.create.text': 'Create Task',\n /** The label for the button to discard changes */\n 'buttons.discard.text': 'Discard',\n /** The label for the button to open the draft */\n 'buttons.draft.text': 'Draft',\n /** The label for the button to create a new task */\n 'buttons.new.text': 'New task',\n /** The text for tooltip in the create a new task button when mode is upsell */\n 'buttons.new.upsell-tooltip': 'Upgrade to create tasks',\n /** The label for the button that will navigate to the next task */\n 'buttons.next.tooltip': 'Go to next task',\n /** The label for the button that will previous to the next task */\n 'buttons.previous.tooltip': 'Go to previous task',\n /** Text for the remove task dialog asking for confirmation of deletion */\n 'dialog.remove-task.body': 'Once deleted, a task cannot be recovered.',\n /** The label for the cancel button on the remove task dialog */\n 'dialog.remove-task.buttons.cancel.text': 'Cancel',\n /** The label for the confirmation button on the remove task dialog */\n 'dialog.remove-task.buttons.confirm.text': 'Delete',\n /** The title for the remove task dialog */\n 'dialog.remove-task.title': 'Delete this task?',\n /** The text used as a placeholder for the footer action in a document with a single task */\n 'document.footer.open-tasks.placeholder_one': 'Open task',\n /** The text used as a placeholder for the footer action in a document with multiple tasks */\n 'document.footer.open-tasks.placeholder_other': 'Open tasks',\n /** The label used in the button in the footer action in a document with a single task */\n 'document.footer.open-tasks.text_one': '{{count}} open task',\n /** The label used in the button in the footer action in a document with multiple tasks */\n 'document.footer.open-tasks.text_other': '{{count}} open tasks',\n\n /** The heading in the tasks sidebar, in the assigned tab, when the user hasn't been assigned to any task*/\n 'empty-state.list.assigned.heading': \"You haven't been assigned any tasks\",\n /** The text in the tasks sidebar, in the assigned tab, when the user hasn't been assigned to any task*/\n 'empty-state.list.assigned.text': \"Once you're assigned tasks they'll show up here\",\n /** The text in the tasks sidebar button any of the empty states is rendered*/\n 'empty-state.list.create-new': 'Create new task',\n /** The heading in the tasks sidebar, in the document tab, when the document doesn't have any task*/\n 'empty-state.list.document.heading': \"This document doesn't have any tasks yet\",\n /** The text in the tasks sidebar, in the document tab, when the document doesn't have any task*/\n 'empty-state.list.document.text': 'Once a document has connected tasks, they will be shown here.',\n /** The heading in the tasks sidebar, when viewing the document tab, but there is not an active document*/\n 'empty-state.list.no-active-document.heading': 'Open a document to see its task',\n /** The text in the tasks sidebar, when viewing the document tab, but there is not an active document*/\n 'empty-state.list.no-active-document.text': 'Tasks on your active document will be shown here.',\n /** The heading in the tasks sidebar, in the subscriber tab, when the user is not subscribed to any task*/\n 'empty-state.list.subscribed.heading': \"You haven't subscribed to any tasks\",\n /** The text in the tasks sidebar, in the subscriber tab, when the user is not subscribed to any task*/\n 'empty-state.list.subscribed.text':\n 'When you create, modify, or comment on a task you will be subscribed automatically',\n\n /** The heading in the tasks sidebar, in the assigned tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.assigned.heading': 'No completed tasks',\n /** The text in the tasks sidebar, in the assigned tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.assigned.text': 'Your tasks marked done will show up here',\n /** The heading in the tasks sidebar, in the document tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.document.heading': 'No completed tasks',\n /** The heading in the tasks sidebar, in the subscribed tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.subscribed.heading': 'No completed tasks',\n /** The text in the tasks sidebar, in the subscribed tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.subscribed.text':\n 'Tasks you subscribe to marked done will show up here',\n\n /** The heading in the tasks sidebar, in the assigned tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.assigned.heading': \"You're all caught up\",\n /** The text in the tasks sidebar, in the assigned tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.assigned.text': 'New tasks assigned to you will show up here',\n /** The heading in the tasks sidebar, in the document tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.document.heading': 'No tasks on this document',\n /** The heading in the tasks sidebar, in the subscribed tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.subscribed.heading': 'No subscribed tasks',\n /** The text in the tasks sidebar, in the subscribed tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.subscribed.text': 'Tasks you subscribe to will show up here',\n\n /** Text used in the assignee input when there is no user assigned */\n 'form.input.assignee.no-user-assigned.text': 'Unassigned',\n /** Text used in the assignee input tooltip when there is no user assigned */\n 'form.input.assignee.no-user-assigned.tooltip': 'Set assignee',\n /** Text used in the assignee input when searching and no users are found */\n 'form.input.assignee.search.no-users.text': 'No users found',\n /** Placeholder text used in the search box in the assignee input */\n 'form.input.assignee.search.placeholder': 'Select assignee',\n /** Text used in the assignee input when user is not authorized */\n 'form.input.assignee.unauthorized.text': 'Unauthorized',\n /** Text used in the assignee input tooltip when there is no user assigned */\n 'form.input.assignee.user-assigned.tooltip': 'Change assignee',\n /** Text used in the assignee input when user is not found */\n 'form.input.assignee.user-not-found.text': 'User not found',\n /** The label used in the create more toggle */\n 'form.input.create-more.text': 'Create more',\n /** The label used in the date input button tooltip when it's empty */\n 'form.input.date.buttons.empty.tooltip': 'Set due date',\n /** The label used in the date input to remove the current value */\n 'form.input.date.buttons.remove.text': 'Remove',\n /** The label used in the date input button tooltip when it has value */\n 'form.input.date.buttons.tooltip': 'Change due date',\n /** Placeholder text used in the description input */\n 'form.input.description.placeholder': 'Add description',\n /** Text used in the tooltip in the status change button */\n 'form.input.status.button.tooltip': 'Change status',\n /** The label used in the target input to remove the current value */\n 'form.input.target.buttons.remove.text': 'Remove target content',\n /** The text used in the target input when encountering a schema error */\n 'form.input.target.error.schema-not-found': 'Schema not found',\n /** The placeholder text used in the target input for the search component */\n 'form.input.target.search.placeholder': 'Select target document',\n /** The placeholder text for the title input */\n 'form.input.title.placeholder': 'Task title',\n /** The status error message presented when the user does not supply a title */\n 'form.status.error.title-required': 'Title is required',\n /** The status message upon successful creation of a task */\n 'form.status.success': 'Task created',\n /** The text displayed when no tasks are found */\n 'list.empty.text': 'No tasks',\n /** The text displayed at the bottom of the tasks list inviting users provide feedback */\n 'list.feedback.text': 'Help us improve, <Link>share feedback on Tasks</Link> ',\n /** The label for the copy link menu item */\n 'menuitem.copylink.text': 'Copy link to task',\n /** The label for the delete task menu item */\n 'menuitem.delete.text': 'Delete task',\n /** The label for the duplicate task menu item */\n 'menuitem.duplicate.text': 'Duplicate task',\n /** The text for the duplicate task menu item tooltip when mode is upsell */\n 'menuitem.duplicate.upsell-tooltip': 'Upgrade to duplicate tasks',\n /** Fragment used to construct the first entry in the activity log */\n 'panel.activity.created-fragment': 'created this task',\n /** The title of the activity section of the task */\n 'panel.activity.title': 'Activity',\n /** The text used in the activity log when unable to find the user */\n 'panel.activity.unknown-user': 'Unknown user',\n /** The tooltip for the close button for the task panel */\n 'panel.close.tooltip': 'Close sidebar',\n /** The placeholder text for the comment text box */\n 'panel.comment.placeholder': 'Add a comment...',\n /** The placeholder text for the comment text box when mode is upsell */\n 'panel.comment.placeholder.upsell': 'Upgrade to comment on tasks',\n /** The title used in the task panel when showing the create task form */\n 'panel.create.title': 'Create',\n /** The title used in the drafts pulldown */\n 'panel.drafts.title': 'Drafts',\n /** The tooltip for the task navigation component */\n 'panel.navigation.tooltip': 'Open tasks',\n /** Title of the Tasks panel */\n 'panel.title': 'Tasks',\n\n /** Label for the Assigned Tab */\n 'tab.assigned.label': 'Assigned',\n /** Label for the Active Document Tab */\n 'tab.document.label': 'Active Document',\n /** Label for the Subscribed Tab */\n 'tab.subscribed.label': 'Subscribed',\n /** Tooltip for the tasks navbar icon */\n 'toolbar.tooltip': 'Tasks',\n})\n\n/**\n * @alpha\n */\nexport type TasksLocaleResourceKeys = keyof typeof tasksLocaleStrings\n\nexport default tasksLocaleStrings\n"],"names":["tasksLocaleStrings","defineLocalesResources"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,MAAMA,qBAAqBC,uBAAuB,SAAS;AAAA;AAAA,EAEzD,uBAAuB;AAAA;AAAA,EAEvB,qBAAqB;AAAA;AAAA,EAErB,uBAAuB;AAAA;AAAA,EAEvB,wBAAwB;AAAA;AAAA,EAExB,sBAAsB;AAAA;AAAA,EAEtB,oBAAoB;AAAA;AAAA,EAEpB,8BAA8B;AAAA;AAAA,EAE9B,wBAAwB;AAAA;AAAA,EAExB,4BAA4B;AAAA;AAAA,EAE5B,2BAA2B;AAAA;AAAA,EAE3B,0CAA0C;AAAA;AAAA,EAE1C,2CAA2C;AAAA;AAAA,EAE3C,4BAA4B;AAAA;AAAA,EAE5B,8CAA8C;AAAA;AAAA,EAE9C,gDAAgD;AAAA;AAAA,EAEhD,uCAAuC;AAAA;AAAA,EAEvC,yCAAyC;AAAA;AAAA,EAGzC,qCAAqC;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A;AAAA,EAExB,+BAA+B;AAAA;AAAA,EAE/B,uBAAuB;AAAA;AAAA,EAEvB,6BAA6B;AAAA;AAAA,EAE7B,oCAAoC;AAAA;AAAA,EAEpC,sBAAsB;AAAA;AAAA,EAEtB,sBAAsB;AAAA;AAAA,EAEtB,4BAA4B;AAAA;AAAA,EAE5B,eAAe;AAAA;AAAA,EAGf,sBAAsB;AAAA;AAAA,EAEtB,sBAAsB;AAAA;AAAA,EAEtB,wBAAwB;AAAA;AAAA,EAExB,mBAAmB;AACrB,CAAC;"}
|
|
1
|
+
{"version":3,"file":"resources3.js","sources":["../../src/core/tasks/i18n/resources.ts"],"sourcesContent":["/* eslint sort-keys: \"error\" */\nimport {defineLocalesResources} from '../../i18n'\n\n/**\n * Defined locale strings for the task tool, in US English.\n *\n * @internal\n */\nconst tasksLocaleStrings = defineLocalesResources('tasks', {\n /** The label for the create task action */\n 'actions.create.text': 'Create new task',\n /** The label for the open tasks panel action */\n 'actions.open.text': 'Tasks',\n /** The label for the button to create a new task */\n 'buttons.create.text': 'Create Task',\n /** The label for the button to discard changes */\n 'buttons.discard.text': 'Discard',\n /** The label for the button to open the draft */\n 'buttons.draft.text': 'Draft',\n /** The label for the button to create a new task */\n 'buttons.new.text': 'New task',\n /** The text for tooltip in the create a new task button when mode is upsell */\n 'buttons.new.upsell-tooltip': 'Upgrade to create tasks',\n /** The label for the button that will navigate to the next task */\n 'buttons.next.tooltip': 'Go to next task',\n /** The label for the button that will previous to the next task */\n 'buttons.previous.tooltip': 'Go to previous task',\n /** Text for the remove task dialog asking for confirmation of deletion */\n 'dialog.remove-task.body': 'Once deleted, a task cannot be recovered.',\n /** The label for the cancel button on the remove task dialog */\n 'dialog.remove-task.buttons.cancel.text': 'Cancel',\n /** The label for the confirmation button on the remove task dialog */\n 'dialog.remove-task.buttons.confirm.text': 'Delete',\n /** The title for the remove task dialog */\n 'dialog.remove-task.title': 'Delete this task?',\n /** The text used as a placeholder for the footer action in a document with a single task */\n 'document.footer.open-tasks.placeholder_one': 'Open task',\n /** The text used as a placeholder for the footer action in a document with multiple tasks */\n 'document.footer.open-tasks.placeholder_other': 'Open tasks',\n /** The label used in the button in the footer action in a document with a single task */\n 'document.footer.open-tasks.text_one': '{{count}} open task',\n /** The label used in the button in the footer action in a document with multiple tasks */\n 'document.footer.open-tasks.text_other': '{{count}} open tasks',\n\n /** The heading in the tasks sidebar, in the assigned tab, when the user hasn't been assigned to any task*/\n 'empty-state.list.assigned.heading': \"You haven't been assigned any tasks\",\n /** The text in the tasks sidebar, in the assigned tab, when the user hasn't been assigned to any task*/\n 'empty-state.list.assigned.text': \"Once you're assigned tasks they'll show up here\",\n /** The text in the tasks sidebar button any of the empty states is rendered*/\n 'empty-state.list.create-new': 'Create new task',\n /** The heading in the tasks sidebar, in the document tab, when the document doesn't have any task*/\n 'empty-state.list.document.heading': \"This document doesn't have any tasks yet\",\n /** The text in the tasks sidebar, in the document tab, when the document doesn't have any task*/\n 'empty-state.list.document.text': 'Once a document has connected tasks, they will be shown here.',\n /** The heading in the tasks sidebar, when viewing the document tab, but there is not an active document*/\n 'empty-state.list.no-active-document.heading': 'Open a document to see its task',\n /** The text in the tasks sidebar, when viewing the document tab, but there is not an active document*/\n 'empty-state.list.no-active-document.text': 'Tasks on your active document will be shown here.',\n /** The heading in the tasks sidebar, in the subscriber tab, when the user is not subscribed to any task*/\n 'empty-state.list.subscribed.heading': \"You haven't subscribed to any tasks\",\n /** The text in the tasks sidebar, in the subscriber tab, when the user is not subscribed to any task*/\n 'empty-state.list.subscribed.text':\n 'When you create, modify, or comment on a task you will be subscribed automatically',\n\n /** The heading in the tasks sidebar, in the assigned tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.assigned.heading': 'No completed tasks',\n /** The text in the tasks sidebar, in the assigned tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.assigned.text': 'Your tasks marked done will show up here',\n /** The heading in the tasks sidebar, in the document tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.document.heading': 'No completed tasks',\n /** The heading in the tasks sidebar, in the subscribed tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.subscribed.heading': 'No completed tasks',\n /** The text in the tasks sidebar, in the subscribed tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.subscribed.text':\n 'Tasks you subscribe to marked done will show up here',\n\n /** The heading in the tasks sidebar, in the assigned tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.assigned.heading': \"You're all caught up\",\n /** The text in the tasks sidebar, in the assigned tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.assigned.text': 'New tasks assigned to you will show up here',\n /** The heading in the tasks sidebar, in the document tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.document.heading': 'No tasks on this document',\n /** The heading in the tasks sidebar, in the subscribed tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.subscribed.heading': 'No subscribed tasks',\n /** The text in the tasks sidebar, in the subscribed tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.subscribed.text': 'Tasks you subscribe to will show up here',\n\n /** Text used in the assignee input when there is no user assigned */\n 'form.input.assignee.no-user-assigned.text': 'Unassigned',\n /** Text used in the assignee input tooltip when there is no user assigned */\n 'form.input.assignee.no-user-assigned.tooltip': 'Set assignee',\n /** Text used in the assignee input when searching and no users are found */\n 'form.input.assignee.search.no-users.text': 'No users found',\n /** Placeholder text used in the search box in the assignee input */\n 'form.input.assignee.search.placeholder': 'Select assignee',\n /** Text used in the assignee input when user is not authorized */\n 'form.input.assignee.unauthorized.text': 'Unauthorized',\n /** Text used in the assignee input tooltip when there is no user assigned */\n 'form.input.assignee.user-assigned.tooltip': 'Change assignee',\n /** Text used in the assignee input when user is not found */\n 'form.input.assignee.user-not-found.text': 'User not found',\n /** The label used in the create more toggle */\n 'form.input.create-more.text': 'Create more',\n /** The label used in the date input button tooltip when it's empty */\n 'form.input.date.buttons.empty.tooltip': 'Set due date',\n /** The label used in the date input to remove the current value */\n 'form.input.date.buttons.remove.text': 'Remove',\n /** The label used in the date input button tooltip when it has value */\n 'form.input.date.buttons.tooltip': 'Change due date',\n /** Placeholder text used in the description input */\n 'form.input.description.placeholder': 'Add description',\n /** Text used in the tooltip in the status change button */\n 'form.input.status.button.tooltip': 'Change status',\n /** The label used in the target input to remove the current value */\n 'form.input.target.buttons.remove.text': 'Remove target content',\n /** The text used in the target input when encountering a schema error */\n 'form.input.target.error.schema-not-found': 'Schema not found',\n /** The placeholder text used in the target input for the search component */\n 'form.input.target.search.placeholder': 'Select target document',\n /** The placeholder text for the title input */\n 'form.input.title.placeholder': 'Task title',\n /** The status error message presented when the user does not supply a title */\n 'form.status.error.title-required': 'Title is required',\n /** The status message upon successful creation of a task */\n 'form.status.success': 'Task created',\n /** The text displayed when no tasks are found */\n 'list.empty.text': 'No tasks',\n /** The text displayed at the bottom of the tasks list inviting users provide feedback */\n 'list.feedback.text': 'Help us improve, <Link>share feedback on Tasks</Link> ',\n /** The label for the copy link menu item */\n 'menuitem.copylink.text': 'Copy link to task',\n /** The label for the delete task menu item */\n 'menuitem.delete.text': 'Delete task',\n /** The label for the duplicate task menu item */\n 'menuitem.duplicate.text': 'Duplicate task',\n /** The text for the duplicate task menu item tooltip when mode is upsell */\n 'menuitem.duplicate.upsell-tooltip': 'Upgrade to duplicate tasks',\n /** Fragment used to construct the first entry in the activity log */\n 'panel.activity.created-fragment': 'created this task',\n /** The title of the activity section of the task */\n 'panel.activity.title': 'Activity',\n /** The text used in the activity log when unable to find the user */\n 'panel.activity.unknown-user': 'Unknown user',\n /** The tooltip for the close button for the task panel */\n 'panel.close.tooltip': 'Close sidebar',\n /** The placeholder text for the comment text box */\n 'panel.comment.placeholder': 'Add a comment...',\n /** The placeholder text for the comment text box when mode is upsell */\n 'panel.comment.placeholder.upsell': 'Upgrade to comment on tasks',\n /** The title used in the task panel when showing the create task form */\n 'panel.create.title': 'Create',\n /** The title used in the drafts pulldown */\n 'panel.drafts.title': 'Drafts',\n /** The tooltip for the task navigation component */\n 'panel.navigation.tooltip': 'Open tasks',\n /** Title of the Tasks panel */\n 'panel.title': 'Tasks',\n\n /** Label for the Assigned Tab */\n 'tab.assigned.label': 'Assigned',\n /** Label for the Active Document Tab */\n 'tab.document.label': 'Active Document',\n /** Label for the Subscribed Tab */\n 'tab.subscribed.label': 'Subscribed',\n /** Tooltip for the tasks navbar icon */\n 'toolbar.tooltip': 'Tasks',\n})\n\n/**\n * @alpha\n */\nexport type TasksLocaleResourceKeys = keyof typeof tasksLocaleStrings\n\nexport default tasksLocaleStrings\n"],"names":["tasksLocaleStrings","defineLocalesResources"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,MAAMA,qBAAqBC,uBAAuB,SAAS;AAAA;AAAA,EAEzD,uBAAuB;AAAA;AAAA,EAEvB,qBAAqB;AAAA;AAAA,EAErB,uBAAuB;AAAA;AAAA,EAEvB,wBAAwB;AAAA;AAAA,EAExB,sBAAsB;AAAA;AAAA,EAEtB,oBAAoB;AAAA;AAAA,EAEpB,8BAA8B;AAAA;AAAA,EAE9B,wBAAwB;AAAA;AAAA,EAExB,4BAA4B;AAAA;AAAA,EAE5B,2BAA2B;AAAA;AAAA,EAE3B,0CAA0C;AAAA;AAAA,EAE1C,2CAA2C;AAAA;AAAA,EAE3C,4BAA4B;AAAA;AAAA,EAE5B,8CAA8C;AAAA;AAAA,EAE9C,gDAAgD;AAAA;AAAA,EAEhD,uCAAuC;AAAA;AAAA,EAEvC,yCAAyC;AAAA;AAAA,EAGzC,qCAAqC;AAAA;AAAA,EAErC,kCAAkC;AAAA;AAAA,EAElC,+BAA+B;AAAA;AAAA,EAE/B,qCAAqC;AAAA;AAAA,EAErC,kCAAkC;AAAA;AAAA,EAElC,+CAA+C;AAAA;AAAA,EAE/C,4CAA4C;AAAA;AAAA,EAE5C,uCAAuC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;AAAA;AAAA,EAE5B,eAAe;AAAA;AAAA,EAGf,sBAAsB;AAAA;AAAA,EAEtB,sBAAsB;AAAA;AAAA,EAEtB,wBAAwB;AAAA;AAAA,EAExB,mBAAmB;AACrB,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources4.js","sources":["../../src/core/canvas/i18n/resources.ts"],"sourcesContent":["import {defineLocalesResources} from '../../i18n'\n\n/**\n * Defined locale strings for the Canvas integration feature, in US English.\n *\n * @internal\n */\nconst canvasLocaleStrings = defineLocalesResources('canvas', {\n /** The text for the \"Link to Canvas\" action. */\n 'action.link-document': 'Link to Canvas',\n\n /** The text for the \"Link to Canvas\" action when the document is not in the dashboard. */\n 'action.link-document-disabled.not-in-dashboard':\n 'Open this document in Dashboard to link to Canvas',\n /** The text for the \"Link to Canvas\" action when the user doesn't have permissions to link the document to Canvas. */\n 'action.link-document-disabled.missing-permissions':\n \"You don't have permissions to link this document to Canvas\",\n /** The text for the \"Link to Canvas\" action when the document is a version document. */\n 'action.link-document-disabled.version-document':\n 'Version documents are not yet supported in Canvas',\n /** The text for the \"Link to Canvas\" action when the document is not yet resolved. */\n 'action.link-document-disabled.initial-value-not-resolved':\n 'Please wait until the document initial values are resolved',\n /** The text for the \"Unlink from Canvas\" action. */\n 'action.unlink-document': 'Unlink from Canvas',\n /** The text for the \"Edit in Canvas\" action. */\n 'action.edit-document': 'Edit in Canvas',\n /** The text for the banner when the document is linked to Canvas. */\n 'banner.linked-to-canvas': 'This document is linked to Canvas',\n /** The text for the action button in the banner when the document is linked to Canvas. */\n 'banner.edit-document-in-canvas': 'Edit in Canvas',\n\n /** The title for the \"Confirm document changes\" dialog. */\n 'dialog.confirm-document-changes.title': 'Confirm document changes',\n /** The description for the \"Confirm document changes\" dialog. */\n 'dialog.confirm-document-changes.description':\n 'This document needs to be updated to be compatible with Canvas.\\n Existing content may be edited or removed as part of this process.',\n /** The text for the \"Confirm document changes\" dialog confirm button. */\n 'dialog.confirm-document-changes.confirm': 'Accept and continue',\n /** The text for the \"Confirm document changes\" dialog cancel button. */\n 'dialog.confirm-document-changes.cancel': 'Cancel',\n /** The description for the \"Confirm document changes\" dialog footer. */\n 'dialog.confirm-document-changes.footer-description': 'You can unlink from Canvas at any time',\n\n /** The title for the \"Link to Canvas\" dialog. */\n 'dialog.link-to-canvas.title': 'Link to Canvas',\n /** The text for the \"Link to Canvas\" dialog when the document is being validated. */\n 'dialog.link-to-canvas.validating': 'Validating',\n /** The text for the \"Link to Canvas\" dialog when the document is being redirected. */\n 'dialog.link-to-canvas.redirecting': 'Taking you to Canvas to complete linking...',\n /** The text for the Link to Canvas dialog when there is a error. */\n 'dialog.link-to-canvas.error': 'Failed to link to Canvas',\n\n /** The title for the \"Unlink from Canvas\" dialog. */\n 'dialog.unlink-from-canvas.title': 'Unlink from Canvas',\n /** The text for the \"Unlink from Canvas\" dialog when the document is being unlinked. */\n 'dialog.unlink-from-canvas.unlinking':\n \"You're unlinking <strong>β{{documentTitle}}β</strong> from Canvas.\",\n /** The text for the \"Unlink from Canvas\" dialog cancel button. */\n 'dialog.unlink-from-canvas.cancel': 'Cancel',\n /** The text for the \"Unlink from Canvas\" dialog unlink button. */\n 'dialog.unlink-from-canvas.unlink-action': 'Unlink now',\n /** The text for the \"Unlink from Canvas\" dialog description. */\n 'dialog.unlink-from-canvas.description':\n 'Once unlinked, it will be editable here and future edits in Canvas will no longer automatically map to this document.',\n /** The text for the \"Unlink from Canvas\" dialog success message. */\n 'dialog.unlink-from-canvas.success': 'Unlinked from Canvas',\n /** The text for the \"Unlink from Canvas\" dialog error message. */\n 'dialog.unlink-from-canvas.error': 'Failed to unlink from Canvas',\n /** The text for the \"Navigate to Canvas\" dialog error message. */\n 'navigate-to-canvas-doc.error.missing-permissions': 'Missing permissions to navigate to Canvas',\n})\n\n/**\n * @alpha\n */\nexport type CanvasLocaleResourceKeys = keyof typeof canvasLocaleStrings\n\nexport default canvasLocaleStrings\n"],"names":["canvasLocaleStrings","defineLocalesResources"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resources4.js","sources":["../../src/core/canvas/i18n/resources.ts"],"sourcesContent":["import {defineLocalesResources} from '../../i18n'\n\n/**\n * Defined locale strings for the Canvas integration feature, in US English.\n *\n * @internal\n */\nconst canvasLocaleStrings = defineLocalesResources('canvas', {\n /** The text for the \"Link to Canvas\" action. */\n 'action.link-document': 'Link to Canvas',\n\n /** The text for the \"Link to Canvas\" action when the document is not in the dashboard. */\n 'action.link-document-disabled.not-in-dashboard':\n 'Open this document in Dashboard to link to Canvas',\n /** The text for the \"Link to Canvas\" action when the user doesn't have permissions to link the document to Canvas. */\n 'action.link-document-disabled.missing-permissions':\n \"You don't have permissions to link this document to Canvas\",\n /** The text for the \"Link to Canvas\" action when the document is a version document. */\n 'action.link-document-disabled.version-document':\n 'Version documents are not yet supported in Canvas',\n /** The text for the \"Link to Canvas\" action when the document is not yet resolved. */\n 'action.link-document-disabled.initial-value-not-resolved':\n 'Please wait until the document initial values are resolved',\n /** The text for the \"Unlink from Canvas\" action. */\n 'action.unlink-document': 'Unlink from Canvas',\n /** The text for the \"Edit in Canvas\" action. */\n 'action.edit-document': 'Edit in Canvas',\n /** The text for the banner when the document is linked to Canvas. */\n 'banner.linked-to-canvas': 'This document is linked to Canvas',\n /** The text for the action button in the banner when the document is linked to Canvas. */\n 'banner.edit-document-in-canvas': 'Edit in Canvas',\n\n /** The title for the \"Confirm document changes\" dialog. */\n 'dialog.confirm-document-changes.title': 'Confirm document changes',\n /** The description for the \"Confirm document changes\" dialog. */\n 'dialog.confirm-document-changes.description':\n 'This document needs to be updated to be compatible with Canvas.\\n Existing content may be edited or removed as part of this process.',\n /** The text for the \"Confirm document changes\" dialog confirm button. */\n 'dialog.confirm-document-changes.confirm': 'Accept and continue',\n /** The text for the \"Confirm document changes\" dialog cancel button. */\n 'dialog.confirm-document-changes.cancel': 'Cancel',\n /** The description for the \"Confirm document changes\" dialog footer. */\n 'dialog.confirm-document-changes.footer-description': 'You can unlink from Canvas at any time',\n\n /** The title for the \"Link to Canvas\" dialog. */\n 'dialog.link-to-canvas.title': 'Link to Canvas',\n /** The text for the \"Link to Canvas\" dialog when the document is being validated. */\n 'dialog.link-to-canvas.validating': 'Validating',\n /** The text for the \"Link to Canvas\" dialog when the document is being redirected. */\n 'dialog.link-to-canvas.redirecting': 'Taking you to Canvas to complete linking...',\n /** The text for the Link to Canvas dialog when there is a error. */\n 'dialog.link-to-canvas.error': 'Failed to link to Canvas',\n\n /** The title for the \"Unlink from Canvas\" dialog. */\n 'dialog.unlink-from-canvas.title': 'Unlink from Canvas',\n /** The text for the \"Unlink from Canvas\" dialog when the document is being unlinked. */\n 'dialog.unlink-from-canvas.unlinking':\n \"You're unlinking <strong>β{{documentTitle}}β</strong> from Canvas.\",\n /** The text for the \"Unlink from Canvas\" dialog cancel button. */\n 'dialog.unlink-from-canvas.cancel': 'Cancel',\n /** The text for the \"Unlink from Canvas\" dialog unlink button. */\n 'dialog.unlink-from-canvas.unlink-action': 'Unlink now',\n /** The text for the \"Unlink from Canvas\" dialog description. */\n 'dialog.unlink-from-canvas.description':\n 'Once unlinked, it will be editable here and future edits in Canvas will no longer automatically map to this document.',\n /** The text for the \"Unlink from Canvas\" dialog success message. */\n 'dialog.unlink-from-canvas.success': 'Unlinked from Canvas',\n /** The text for the \"Unlink from Canvas\" dialog error message. */\n 'dialog.unlink-from-canvas.error': 'Failed to unlink from Canvas',\n /** The text for the \"Navigate to Canvas\" dialog error message. */\n 'navigate-to-canvas-doc.error.missing-permissions': 'Missing permissions to navigate to Canvas',\n})\n\n/**\n * @alpha\n */\nexport type CanvasLocaleResourceKeys = keyof typeof canvasLocaleStrings\n\nexport default canvasLocaleStrings\n"],"names":["canvasLocaleStrings","defineLocalesResources"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAMA,sBAAsBC,uBAAuB,UAAU;AAAA;AAAA,EAE3D,wBAAwB;AAAA;AAAA,EAGxB,kDACE;AAAA;AAAA,EAEF,qDACE;AAAA;AAAA,EAEF,kDACE;AAAA;AAAA,EAEF,4DACE;AAAA;AAAA,EAEF,0BAA0B;AAAA;AAAA,EAE1B,wBAAwB;AAAA;AAAA,EAExB,2BAA2B;AAAA;AAAA,EAE3B,kCAAkC;AAAA;AAAA,EAGlC,yCAAyC;AAAA;AAAA,EAEzC,+CACE;AAAA;AAAA;AAAA,EAEF,2CAA2C;AAAA;AAAA,EAE3C,0CAA0C;AAAA;AAAA,EAE1C,sDAAsD;AAAA;AAAA,EAGtD,+BAA+B;AAAA;AAAA,EAE/B,oCAAoC;AAAA;AAAA,EAEpC,qCAAqC;AAAA;AAAA,EAErC,+BAA+B;AAAA;AAAA,EAG/B,mCAAmC;AAAA;AAAA,EAEnC,uCACE;AAAA;AAAA,EAEF,oCAAoC;AAAA;AAAA,EAEpC,2CAA2C;AAAA;AAAA,EAE3C,yCACE;AAAA;AAAA,EAEF,qCAAqC;AAAA;AAAA,EAErC,mCAAmC;AAAA;AAAA,EAEnC,oDAAoD;AACtD,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources5.js","sources":["../../src/core/create/i18n/resources.ts"],"sourcesContent":["import {defineLocalesResources} from '../../i18n'\n\n/**\n * Defined locale strings for the Create integration feature, in US English.\n *\n * @internal\n */\nconst createLocaleStrings = defineLocalesResources('create', {\n /** CTA in \"Start writing in Create\" dialog: Learn more */\n 'start-in-create-dialog.cta.learn-more': 'Learn more.',\n /** Text for the document pane banner informing users that the document is linked to Sanity Create */\n 'studio-create-link-banner.text': 'This document is linked to Sanity Create',\n\n /** Tooltip for Create Link button */\n 'create-link-info.tooltip': 'Learn more',\n /** Text above header in Create Link info popover */\n 'create-link-info-popover.eyebrow-title': 'Sanity Create',\n /** Text in badge above header in Create Link info popover */\n 'create-link-info-popover.eyebrow-badge': 'Early access',\n /** Header in Create Link info popover */\n 'create-link-info-popover.header': 'Idea-first authoring',\n /** Informational text in Create Link info popover */\n 'create-link-info-popover.text':\n 'Write naturally in an AI-powered editor. Your content automatically maps to Studio fields as you type.',\n\n /** Edit in Create button text */\n 'edit-in-create-button.text': 'Edit with Sanity Create',\n /** Unlink document from Sanity Create button text */\n 'unlink-from-create-button.text': 'Unlink',\n\n /** Unlink from Create dialog header */\n 'unlink-from-create-dialog.header': 'Switch editing to Studio?',\n /** Unlink from Create dialog β first informational paragraph */\n 'unlink-from-create-dialog.first-paragraph':\n 'Youβre unlinking β<strong>{{title}}</strong>β from Sanity Create so it can be edited here.',\n /** Unlink from Create dialog β second informational paragraph */\n 'unlink-from-create-dialog.second-paragraph':\n 'Youβll keep your content in both places. Any new changes in Sanity Create will stop syncing to this Studio.',\n /** Unlink from Create dialog: Cancel button text */\n 'unlink-from-create-dialog.cancel.text': 'Cancel',\n /** Unlink from Create dialog: Document title used if no other title can be determined */\n 'unlink-from-create-dialog.document.untitled.text': 'Untitled',\n /** Unlink from Create dialog: Unlink button text */\n 'unlink-from-create-dialog.unlink.text': 'Unlink now',\n})\n\n/**\n * @alpha\n */\nexport type CreateLocaleResourceKeys = keyof typeof createLocaleStrings\n\nexport default createLocaleStrings\n"],"names":["createLocaleStrings","defineLocalesResources"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resources5.js","sources":["../../src/core/create/i18n/resources.ts"],"sourcesContent":["import {defineLocalesResources} from '../../i18n'\n\n/**\n * Defined locale strings for the Create integration feature, in US English.\n *\n * @internal\n */\nconst createLocaleStrings = defineLocalesResources('create', {\n /** CTA in \"Start writing in Create\" dialog: Learn more */\n 'start-in-create-dialog.cta.learn-more': 'Learn more.',\n /** Text for the document pane banner informing users that the document is linked to Sanity Create */\n 'studio-create-link-banner.text': 'This document is linked to Sanity Create',\n\n /** Tooltip for Create Link button */\n 'create-link-info.tooltip': 'Learn more',\n /** Text above header in Create Link info popover */\n 'create-link-info-popover.eyebrow-title': 'Sanity Create',\n /** Text in badge above header in Create Link info popover */\n 'create-link-info-popover.eyebrow-badge': 'Early access',\n /** Header in Create Link info popover */\n 'create-link-info-popover.header': 'Idea-first authoring',\n /** Informational text in Create Link info popover */\n 'create-link-info-popover.text':\n 'Write naturally in an AI-powered editor. Your content automatically maps to Studio fields as you type.',\n\n /** Edit in Create button text */\n 'edit-in-create-button.text': 'Edit with Sanity Create',\n /** Unlink document from Sanity Create button text */\n 'unlink-from-create-button.text': 'Unlink',\n\n /** Unlink from Create dialog header */\n 'unlink-from-create-dialog.header': 'Switch editing to Studio?',\n /** Unlink from Create dialog β first informational paragraph */\n 'unlink-from-create-dialog.first-paragraph':\n 'Youβre unlinking β<strong>{{title}}</strong>β from Sanity Create so it can be edited here.',\n /** Unlink from Create dialog β second informational paragraph */\n 'unlink-from-create-dialog.second-paragraph':\n 'Youβll keep your content in both places. Any new changes in Sanity Create will stop syncing to this Studio.',\n /** Unlink from Create dialog: Cancel button text */\n 'unlink-from-create-dialog.cancel.text': 'Cancel',\n /** Unlink from Create dialog: Document title used if no other title can be determined */\n 'unlink-from-create-dialog.document.untitled.text': 'Untitled',\n /** Unlink from Create dialog: Unlink button text */\n 'unlink-from-create-dialog.unlink.text': 'Unlink now',\n})\n\n/**\n * @alpha\n */\nexport type CreateLocaleResourceKeys = keyof typeof createLocaleStrings\n\nexport default createLocaleStrings\n"],"names":["createLocaleStrings","defineLocalesResources"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAMA,sBAAsBC,uBAAuB,UAAU;AAAA;AAAA,EAE3D,yCAAyC;AAAA;AAAA,EAEzC,kCAAkC;AAAA;AAAA,EAGlC,4BAA4B;AAAA;AAAA,EAE5B,0CAA0C;AAAA;AAAA,EAE1C,0CAA0C;AAAA;AAAA,EAE1C,mCAAmC;AAAA;AAAA,EAEnC,iCACE;AAAA;AAAA,EAGF,8BAA8B;AAAA;AAAA,EAE9B,kCAAkC;AAAA;AAAA,EAGlC,oCAAoC;AAAA;AAAA,EAEpC,6CACE;AAAA;AAAA,EAEF,8CACE;AAAA;AAAA,EAEF,yCAAyC;AAAA;AAAA,EAEzC,oDAAoD;AAAA;AAAA,EAEpD,yCAAyC;AAC3C,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources6.js","sources":["../../src/media-library/plugin/i18n/resources.ts"],"sourcesContent":["/* eslint sort-keys: \"error\" */\nimport {defineLocalesResources} from '../../../core/i18n'\n\n/**\n * Defined locale strings for the media library plugin, in US English.\n *\n * @internal\n */\nconst mediaLibraryLocaleStrings = defineLocalesResources('media-library', {\n /** Warning description for invalid video value */\n 'invalid-video-warning.description':\n 'The value of this field is not a valid video. Resetting this field will let you choose a new video.',\n /** Reset button text for invalid video warning */\n 'invalid-video-warning.reset-button.text': 'Reset value',\n /** Warning title for invalid video value */\n 'invalid-video-warning.title': 'Invalid video value',\n /** Video error fallback description */\n 'video-error.description': 'Failed to load video',\n /** Retry button text for video loading errors */\n 'video-error.retry-button.text': 'Retry',\n})\n\n/**\n * @internal\n */\nexport type MediaLibraryLocaleResourceKeys = keyof typeof mediaLibraryLocaleStrings\n\nexport default mediaLibraryLocaleStrings\n"],"names":["mediaLibraryLocaleStrings","defineLocalesResources"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resources6.js","sources":["../../src/media-library/plugin/i18n/resources.ts"],"sourcesContent":["/* eslint sort-keys: \"error\" */\nimport {defineLocalesResources} from '../../../core/i18n'\n\n/**\n * Defined locale strings for the media library plugin, in US English.\n *\n * @internal\n */\nconst mediaLibraryLocaleStrings = defineLocalesResources('media-library', {\n /** Warning description for invalid video value */\n 'invalid-video-warning.description':\n 'The value of this field is not a valid video. Resetting this field will let you choose a new video.',\n /** Reset button text for invalid video warning */\n 'invalid-video-warning.reset-button.text': 'Reset value',\n /** Warning title for invalid video value */\n 'invalid-video-warning.title': 'Invalid video value',\n /** Video error fallback description */\n 'video-error.description': 'Failed to load video',\n /** Retry button text for video loading errors */\n 'video-error.retry-button.text': 'Retry',\n})\n\n/**\n * @internal\n */\nexport type MediaLibraryLocaleResourceKeys = keyof typeof mediaLibraryLocaleStrings\n\nexport default mediaLibraryLocaleStrings\n"],"names":["mediaLibraryLocaleStrings","defineLocalesResources"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,MAAMA,4BAA4BC,uBAAuB,iBAAiB;AAAA;AAAA,EAExE,qCACE;AAAA;AAAA,EAEF,2CAA2C;AAAA;AAAA,EAE3C,+BAA+B;AAAA;AAAA,EAE/B,2BAA2B;AAAA;AAAA,EAE3B,iCAAiC;AACnC,CAAC;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var version = "5.17.1
|
|
1
|
+
var version = "5.17.1";
|
|
2
2
|
let buildVersion;
|
|
3
3
|
try {
|
|
4
4
|
buildVersion = process.env.PKG_BUILD_VERSION;
|
|
@@ -7,7 +7,7 @@ try {
|
|
|
7
7
|
try {
|
|
8
8
|
buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time
|
|
9
9
|
// and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc.
|
|
10
|
-
"5.17.1
|
|
10
|
+
"5.17.1";
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
const SANITY_VERSION = buildVersion || `${version}-dev`;
|
package/lib/index.js
CHANGED
|
@@ -94,7 +94,7 @@ import { getTheme_v2, rgba as rgba$1, parseColor, rgbToHex, screen, multiply, cr
|
|
|
94
94
|
import { Mutation, BufferedDocument, extractWithPath, arrayToJSONMatchPath } from "@sanity/mutator";
|
|
95
95
|
import omit from "lodash-es/omit.js";
|
|
96
96
|
import groupBy from "lodash-es/groupBy.js";
|
|
97
|
-
import pick
|
|
97
|
+
import pick from "lodash-es/pick.js";
|
|
98
98
|
import { useDevicePixelRatio, getDevicePixelRatio } from "use-device-pixel-ratio";
|
|
99
99
|
import { mergeMapArray } from "rxjs-mergemap-array";
|
|
100
100
|
import { useSyncExternalStore as useSyncExternalStore$1 } from "use-sync-external-store/shim/index.js";
|
|
@@ -104,7 +104,6 @@ import { diffInput, wrap as wrap$1 } from "@sanity/diff";
|
|
|
104
104
|
import { applyPatch as applyPatch$1, incremental } from "mendoza";
|
|
105
105
|
import uniqBy from "lodash-es/uniqBy.js";
|
|
106
106
|
import { motion, AnimatePresence } from "motion/react";
|
|
107
|
-
import pick from "lodash-es/pick";
|
|
108
107
|
import get from "lodash-es/get.js";
|
|
109
108
|
import { lcs_dp } from "@algorithm.ts/lcs";
|
|
110
109
|
import stringify$1 from "json-stable-stringify";
|
|
@@ -45057,7 +45056,7 @@ function prepareForPreview(rawValue, type, viewOptions = {}) {
|
|
|
45057
45056
|
return withErrors(prepareResult, type, selectedValue);
|
|
45058
45057
|
const returnValueResult = validateReturnedPreview(prepareResult);
|
|
45059
45058
|
return returnValueResult.errors.length > 0 ? withErrors(returnValueResult, type, selectedValue) : {
|
|
45060
|
-
...pick
|
|
45059
|
+
...pick(rawValue, PRESERVE_KEYS),
|
|
45061
45060
|
...prepareResult.returnValue
|
|
45062
45061
|
};
|
|
45063
45062
|
}
|
|
@@ -90677,7 +90676,7 @@ function serializeError() {
|
|
|
90677
90676
|
error,
|
|
90678
90677
|
eventId
|
|
90679
90678
|
}) => {
|
|
90680
|
-
const errorInfo = isRecord$4(error) ? pick
|
|
90679
|
+
const errorInfo = isRecord$4(error) ? pick(error, Object.getOwnPropertyNames(error)) : void 0, sanitizedErrorInfo = sanitizeErrorInfo(errorInfo);
|
|
90681
90680
|
return JSON.stringify({
|
|
90682
90681
|
error: sanitizedErrorInfo,
|
|
90683
90682
|
eventId
|