@depup/sanity 5.17.1-depup.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +57 -0
  3. package/bin/sanity +209 -0
  4. package/changes.json +114 -0
  5. package/lib/_chunks-dts/ActiveWorkspaceMatcherContext.d.ts +16164 -0
  6. package/lib/_chunks-dts/index.d.ts +780 -0
  7. package/lib/_chunks-dts/types.d.ts +2765 -0
  8. package/lib/_chunks-dts/types2.d.ts +656 -0
  9. package/lib/_chunks-dts/types3.d.ts +303 -0
  10. package/lib/_chunks-es/BroadcastDisplayedDocument.js +20 -0
  11. package/lib/_chunks-es/BroadcastDisplayedDocument.js.map +1 -0
  12. package/lib/_chunks-es/DisplayedDocumentBroadcaster.js +32 -0
  13. package/lib/_chunks-es/DisplayedDocumentBroadcaster.js.map +1 -0
  14. package/lib/_chunks-es/LiveQueries.js +339 -0
  15. package/lib/_chunks-es/LiveQueries.js.map +1 -0
  16. package/lib/_chunks-es/MenuGroup.js +106 -0
  17. package/lib/_chunks-es/MenuGroup.js.map +1 -0
  18. package/lib/_chunks-es/PostMessageDocuments.js +72 -0
  19. package/lib/_chunks-es/PostMessageDocuments.js.map +1 -0
  20. package/lib/_chunks-es/PostMessagePerspective.js +23 -0
  21. package/lib/_chunks-es/PostMessagePerspective.js.map +1 -0
  22. package/lib/_chunks-es/PostMessagePreviewSnapshots.js +69 -0
  23. package/lib/_chunks-es/PostMessagePreviewSnapshots.js.map +1 -0
  24. package/lib/_chunks-es/PostMessageRefreshMutations.js +74 -0
  25. package/lib/_chunks-es/PostMessageRefreshMutations.js.map +1 -0
  26. package/lib/_chunks-es/PostMessageSchema.js +502 -0
  27. package/lib/_chunks-es/PostMessageSchema.js.map +1 -0
  28. package/lib/_chunks-es/PostMessageTelemetry.js +21 -0
  29. package/lib/_chunks-es/PostMessageTelemetry.js.map +1 -0
  30. package/lib/_chunks-es/PresentationToolGrantsCheck.js +3848 -0
  31. package/lib/_chunks-es/PresentationToolGrantsCheck.js.map +1 -0
  32. package/lib/_chunks-es/QRCodeSVG.js +692 -0
  33. package/lib/_chunks-es/QRCodeSVG.js.map +1 -0
  34. package/lib/_chunks-es/StructureToolProvider.js +2360 -0
  35. package/lib/_chunks-es/StructureToolProvider.js.map +1 -0
  36. package/lib/_chunks-es/VideoPlayer.js +22 -0
  37. package/lib/_chunks-es/VideoPlayer.js.map +1 -0
  38. package/lib/_chunks-es/ViteDevServerStopped.js +52 -0
  39. package/lib/_chunks-es/ViteDevServerStopped.js.map +1 -0
  40. package/lib/_chunks-es/index.js +285 -0
  41. package/lib/_chunks-es/index.js.map +1 -0
  42. package/lib/_chunks-es/index2.js +105 -0
  43. package/lib/_chunks-es/index2.js.map +1 -0
  44. package/lib/_chunks-es/index3.js +139 -0
  45. package/lib/_chunks-es/index3.js.map +1 -0
  46. package/lib/_chunks-es/index4.js +1020 -0
  47. package/lib/_chunks-es/index4.js.map +1 -0
  48. package/lib/_chunks-es/pane.js +5 -0
  49. package/lib/_chunks-es/pane.js.map +1 -0
  50. package/lib/_chunks-es/pane2.js +5 -0
  51. package/lib/_chunks-es/pane2.js.map +1 -0
  52. package/lib/_chunks-es/presentation.js +549 -0
  53. package/lib/_chunks-es/presentation.js.map +1 -0
  54. package/lib/_chunks-es/resources.js +303 -0
  55. package/lib/_chunks-es/resources.js.map +1 -0
  56. package/lib/_chunks-es/resources2.js +459 -0
  57. package/lib/_chunks-es/resources2.js.map +1 -0
  58. package/lib/_chunks-es/resources3.js +281 -0
  59. package/lib/_chunks-es/resources3.js.map +1 -0
  60. package/lib/_chunks-es/resources4.js +184 -0
  61. package/lib/_chunks-es/resources4.js.map +1 -0
  62. package/lib/_chunks-es/resources5.js +161 -0
  63. package/lib/_chunks-es/resources5.js.map +1 -0
  64. package/lib/_chunks-es/resources6.js +141 -0
  65. package/lib/_chunks-es/resources6.js.map +1 -0
  66. package/lib/_chunks-es/resources7.js +24 -0
  67. package/lib/_chunks-es/resources7.js.map +1 -0
  68. package/lib/_chunks-es/resources8.js +603 -0
  69. package/lib/_chunks-es/resources8.js.map +1 -0
  70. package/lib/_chunks-es/resources9.js +126 -0
  71. package/lib/_chunks-es/resources9.js.map +1 -0
  72. package/lib/_chunks-es/structureTool.js +13673 -0
  73. package/lib/_chunks-es/structureTool.js.map +1 -0
  74. package/lib/_chunks-es/version.js +17 -0
  75. package/lib/_chunks-es/version.js.map +1 -0
  76. package/lib/_createContext.d.ts +12 -0
  77. package/lib/_createContext.js +38 -0
  78. package/lib/_createContext.js.map +1 -0
  79. package/lib/_internal.d.ts +9 -0
  80. package/lib/_internal.js +12 -0
  81. package/lib/_internal.js.map +1 -0
  82. package/lib/_singletons.d.ts +951 -0
  83. package/lib/_singletons.js +284 -0
  84. package/lib/_singletons.js.map +1 -0
  85. package/lib/cli.d.ts +3 -0
  86. package/lib/cli.js +9 -0
  87. package/lib/cli.js.map +1 -0
  88. package/lib/desk.d.ts +910 -0
  89. package/lib/desk.js +71 -0
  90. package/lib/desk.js.map +1 -0
  91. package/lib/index.d.ts +4 -0
  92. package/lib/index.js +92934 -0
  93. package/lib/index.js.map +1 -0
  94. package/lib/media-library.d.ts +85 -0
  95. package/lib/media-library.js +11 -0
  96. package/lib/media-library.js.map +1 -0
  97. package/lib/migrate.d.ts +1 -0
  98. package/lib/migrate.js +2 -0
  99. package/lib/migrate.js.map +1 -0
  100. package/lib/presentation.d.ts +28 -0
  101. package/lib/presentation.js +10 -0
  102. package/lib/presentation.js.map +1 -0
  103. package/lib/router.d.ts +560 -0
  104. package/lib/router.js +777 -0
  105. package/lib/router.js.map +1 -0
  106. package/lib/structure.d.ts +3 -0
  107. package/lib/structure.js +639 -0
  108. package/lib/structure.js.map +1 -0
  109. package/mock-browser-env-stub-loader.mjs +27 -0
  110. package/package.json +383 -0
  111. package/static/favicons/apple-touch-icon.png +0 -0
  112. package/static/favicons/favicon-192.png +0 -0
  113. package/static/favicons/favicon-512.png +0 -0
  114. package/static/favicons/favicon-96.png +0 -0
  115. package/static/favicons/favicon.ico +0 -0
  116. package/static/favicons/favicon.svg +12 -0
@@ -0,0 +1,281 @@
1
+ import "react/jsx-runtime";
2
+ import "react/compiler-runtime";
3
+ import "react";
4
+ import "react-i18next";
5
+ import "sanity/_singletons";
6
+ import { defineLocalesResources } from "../index.js";
7
+ import "history";
8
+ import "@sanity/icons";
9
+ import "@sanity/uuid";
10
+ import "@sanity/ui";
11
+ import "rxjs/operators";
12
+ import "react-rx";
13
+ import "rxjs";
14
+ import "@sanity/client/csm";
15
+ import "date-fns/formatRelative";
16
+ import "date-fns/isValid";
17
+ import "date-fns/parse";
18
+ import "quick-lru";
19
+ import "lodash-es/throttle.js";
20
+ import "lodash-es/isEqual.js";
21
+ import "@sanity/color";
22
+ import "color2k";
23
+ import "styled-components";
24
+ import "lodash-es/isString.js";
25
+ import "dataloader";
26
+ import "./version.js";
27
+ import "@sanity/telemetry/react";
28
+ import "date-fns/differenceInDays";
29
+ import "date-fns/differenceInHours";
30
+ import "date-fns/differenceInMinutes";
31
+ import "date-fns/differenceInMonths";
32
+ import "date-fns/differenceInSeconds";
33
+ import "date-fns/differenceInWeeks";
34
+ import "date-fns/differenceInYears";
35
+ import "lodash-es/sortBy.js";
36
+ import "@sanity/schema/_internal";
37
+ import "@portabletext/editor";
38
+ import "@sanity/util/paths";
39
+ import "./index.js";
40
+ import "@sanity/types";
41
+ import "@sanity/diff-match-patch";
42
+ import "lodash-es/flatten.js";
43
+ import "lodash-es/orderBy.js";
44
+ import "lodash-es/uniq.js";
45
+ import "lodash-es/xor.js";
46
+ import "@sanity/diff-patch";
47
+ import "@sanity/id-utils";
48
+ import "sanity/router";
49
+ import "date-fns/addHours";
50
+ import "date-fns/startOfHour";
51
+ import "date-fns/format";
52
+ import "@sanity/util/legacyDateFormat";
53
+ import "@sanity/ui/theme";
54
+ import "lodash-es/pick.js";
55
+ import "react-fast-compare";
56
+ import "lodash-es/startCase.js";
57
+ import "react-focus-lock";
58
+ import "lodash-es/debounce.js";
59
+ import "@sanity/diff";
60
+ import "mendoza";
61
+ import "@portabletext/sanity-bridge";
62
+ import "motion/react";
63
+ import "lodash-es/get.js";
64
+ import "@algorithm.ts/lcs";
65
+ import "lodash-es/intersection.js";
66
+ import "json-stable-stringify";
67
+ import "shallow-equals";
68
+ import "scroll-into-view-if-needed";
69
+ import "lodash-es/groupBy.js";
70
+ import "lodash-es/compact.js";
71
+ import "lodash-es/keyBy.js";
72
+ import "lodash-es/partition.js";
73
+ import "lodash-es/toLower.js";
74
+ import "lodash-es/union.js";
75
+ import "lodash-es/words.js";
76
+ import "lodash-es/isFinite.js";
77
+ import "observable-callback";
78
+ import "@sanity/util/content";
79
+ import "lodash-es/isPlainObject.js";
80
+ import "@sanity/insert-menu";
81
+ import "@tanstack/react-virtual";
82
+ import "speakingurl";
83
+ import "@sanity/asset-utils";
84
+ import "@sanity/image-url";
85
+ import "nanoid";
86
+ import "lodash-es/castArray.js";
87
+ import "rxjs-mergemap-array";
88
+ import "@sanity/mutator";
89
+ import "@portabletext/react";
90
+ import "lodash-es/findIndex.js";
91
+ import "@sanity/schema";
92
+ import "@sanity/util/client";
93
+ import "@sanity/util/concurrency-limiter";
94
+ import "lodash-es/uniqBy.js";
95
+ import "json-reduce";
96
+ import "rxjs-exhaustmap-with-trailing";
97
+ import "polished";
98
+ import "@sanity/client";
99
+ import "react-is";
100
+ import "exif-component";
101
+ import "lodash-es/pickBy.js";
102
+ import "use-sync-external-store/shim/index.js";
103
+ import "use-hot-module-reload";
104
+ import "lodash-es/memoize.js";
105
+ import "lodash-es/sortedIndex.js";
106
+ import "lodash-es/difference.js";
107
+ import "lodash-es/identity.js";
108
+ import "lodash-es/values.js";
109
+ import "@sanity/comlink";
110
+ import "lodash-es/omit.js";
111
+ import "@isaacs/ttlcache";
112
+ import "groq-js";
113
+ import "use-sync-external-store/with-selector";
114
+ import "raf";
115
+ import "lodash-es/escapeRegExp.js";
116
+ import "lodash-es/isEmpty.js";
117
+ import "react-dom/server";
118
+ import "lodash-es/capitalize.js";
119
+ import "lodash-es/last.js";
120
+ import "react-dom/client";
121
+ import "date-fns/addWeeks";
122
+ import "date-fns/isAfter";
123
+ import "date-fns/isBefore";
124
+ import "semver";
125
+ import "lodash-es/isObject.js";
126
+ const tasksLocaleStrings = defineLocalesResources("tasks", {
127
+ /** The label for the create task action */
128
+ "actions.create.text": "Create new task",
129
+ /** The label for the open tasks panel action */
130
+ "actions.open.text": "Tasks",
131
+ /** The label for the button to create a new task */
132
+ "buttons.create.text": "Create Task",
133
+ /** The label for the button to discard changes */
134
+ "buttons.discard.text": "Discard",
135
+ /** The label for the button to open the draft */
136
+ "buttons.draft.text": "Draft",
137
+ /** The label for the button to create a new task */
138
+ "buttons.new.text": "New task",
139
+ /** The text for tooltip in the create a new task button when mode is upsell */
140
+ "buttons.new.upsell-tooltip": "Upgrade to create tasks",
141
+ /** The label for the button that will navigate to the next task */
142
+ "buttons.next.tooltip": "Go to next task",
143
+ /** The label for the button that will previous to the next task */
144
+ "buttons.previous.tooltip": "Go to previous task",
145
+ /** Text for the remove task dialog asking for confirmation of deletion */
146
+ "dialog.remove-task.body": "Once deleted, a task cannot be recovered.",
147
+ /** The label for the cancel button on the remove task dialog */
148
+ "dialog.remove-task.buttons.cancel.text": "Cancel",
149
+ /** The label for the confirmation button on the remove task dialog */
150
+ "dialog.remove-task.buttons.confirm.text": "Delete",
151
+ /** The title for the remove task dialog */
152
+ "dialog.remove-task.title": "Delete this task?",
153
+ /** The text used as a placeholder for the footer action in a document with a single task */
154
+ "document.footer.open-tasks.placeholder_one": "Open task",
155
+ /** The text used as a placeholder for the footer action in a document with multiple tasks */
156
+ "document.footer.open-tasks.placeholder_other": "Open tasks",
157
+ /** The label used in the button in the footer action in a document with a single task */
158
+ "document.footer.open-tasks.text_one": "{{count}} open task",
159
+ /** The label used in the button in the footer action in a document with multiple tasks */
160
+ "document.footer.open-tasks.text_other": "{{count}} open tasks",
161
+ /** The heading in the tasks sidebar, in the assigned tab, when the user hasn't been assigned to any task*/
162
+ "empty-state.list.assigned.heading": "You haven't been assigned any tasks",
163
+ /** The text in the tasks sidebar, in the assigned tab, when the user hasn't been assigned to any task*/
164
+ "empty-state.list.assigned.text": "Once you're assigned tasks they'll show up here",
165
+ /** The text in the tasks sidebar button any of the empty states is rendered*/
166
+ "empty-state.list.create-new": "Create new task",
167
+ /** The heading in the tasks sidebar, in the document tab, when the document doesn't have any task*/
168
+ "empty-state.list.document.heading": "This document doesn't have any tasks yet",
169
+ /** The text in the tasks sidebar, in the document tab, when the document doesn't have any task*/
170
+ "empty-state.list.document.text": "Once a document has connected tasks, they will be shown here.",
171
+ /** The heading in the tasks sidebar, when viewing the document tab, but there is not an active document*/
172
+ "empty-state.list.no-active-document.heading": "Open a document to see its task",
173
+ /** The text in the tasks sidebar, when viewing the document tab, but there is not an active document*/
174
+ "empty-state.list.no-active-document.text": "Tasks on your active document will be shown here.",
175
+ /** The heading in the tasks sidebar, in the subscriber tab, when the user is not subscribed to any task*/
176
+ "empty-state.list.subscribed.heading": "You haven't subscribed to any tasks",
177
+ /** The text in the tasks sidebar, in the subscriber tab, when the user is not subscribed to any task*/
178
+ "empty-state.list.subscribed.text": "When you create, modify, or comment on a task you will be subscribed automatically",
179
+ /** The heading in the tasks sidebar, in the assigned tab, under the closed details, when it's empty.*/
180
+ "empty-state.status.list.closed.assigned.heading": "No completed tasks",
181
+ /** The text in the tasks sidebar, in the assigned tab, under the closed details, when it's empty.*/
182
+ "empty-state.status.list.closed.assigned.text": "Your tasks marked done will show up here",
183
+ /** The heading in the tasks sidebar, in the document tab, under the closed details, when it's empty.*/
184
+ "empty-state.status.list.closed.document.heading": "No completed tasks",
185
+ /** The heading in the tasks sidebar, in the subscribed tab, under the closed details, when it's empty.*/
186
+ "empty-state.status.list.closed.subscribed.heading": "No completed tasks",
187
+ /** The text in the tasks sidebar, in the subscribed tab, under the closed details, when it's empty.*/
188
+ "empty-state.status.list.closed.subscribed.text": "Tasks you subscribe to marked done will show up here",
189
+ /** The heading in the tasks sidebar, in the assigned tab, under the open details, when it's empty.*/
190
+ "empty-state.status.list.open.assigned.heading": "You're all caught up",
191
+ /** The text in the tasks sidebar, in the assigned tab, under the open details, when it's empty.*/
192
+ "empty-state.status.list.open.assigned.text": "New tasks assigned to you will show up here",
193
+ /** The heading in the tasks sidebar, in the document tab, under the open details, when it's empty.*/
194
+ "empty-state.status.list.open.document.heading": "No tasks on this document",
195
+ /** The heading in the tasks sidebar, in the subscribed tab, under the open details, when it's empty.*/
196
+ "empty-state.status.list.open.subscribed.heading": "No subscribed tasks",
197
+ /** The text in the tasks sidebar, in the subscribed tab, under the open details, when it's empty.*/
198
+ "empty-state.status.list.open.subscribed.text": "Tasks you subscribe to will show up here",
199
+ /** Text used in the assignee input when there is no user assigned */
200
+ "form.input.assignee.no-user-assigned.text": "Unassigned",
201
+ /** Text used in the assignee input tooltip when there is no user assigned */
202
+ "form.input.assignee.no-user-assigned.tooltip": "Set assignee",
203
+ /** Text used in the assignee input when searching and no users are found */
204
+ "form.input.assignee.search.no-users.text": "No users found",
205
+ /** Placeholder text used in the search box in the assignee input */
206
+ "form.input.assignee.search.placeholder": "Select assignee",
207
+ /** Text used in the assignee input when user is not authorized */
208
+ "form.input.assignee.unauthorized.text": "Unauthorized",
209
+ /** Text used in the assignee input tooltip when there is no user assigned */
210
+ "form.input.assignee.user-assigned.tooltip": "Change assignee",
211
+ /** Text used in the assignee input when user is not found */
212
+ "form.input.assignee.user-not-found.text": "User not found",
213
+ /** The label used in the create more toggle */
214
+ "form.input.create-more.text": "Create more",
215
+ /** The label used in the date input button tooltip when it's empty */
216
+ "form.input.date.buttons.empty.tooltip": "Set due date",
217
+ /** The label used in the date input to remove the current value */
218
+ "form.input.date.buttons.remove.text": "Remove",
219
+ /** The label used in the date input button tooltip when it has value */
220
+ "form.input.date.buttons.tooltip": "Change due date",
221
+ /** Placeholder text used in the description input */
222
+ "form.input.description.placeholder": "Add description",
223
+ /** Text used in the tooltip in the status change button */
224
+ "form.input.status.button.tooltip": "Change status",
225
+ /** The label used in the target input to remove the current value */
226
+ "form.input.target.buttons.remove.text": "Remove target content",
227
+ /** The text used in the target input when encountering a schema error */
228
+ "form.input.target.error.schema-not-found": "Schema not found",
229
+ /** The placeholder text used in the target input for the search component */
230
+ "form.input.target.search.placeholder": "Select target document",
231
+ /** The placeholder text for the title input */
232
+ "form.input.title.placeholder": "Task title",
233
+ /** The status error message presented when the user does not supply a title */
234
+ "form.status.error.title-required": "Title is required",
235
+ /** The status message upon successful creation of a task */
236
+ "form.status.success": "Task created",
237
+ /** The text displayed when no tasks are found */
238
+ "list.empty.text": "No tasks",
239
+ /** The text displayed at the bottom of the tasks list inviting users provide feedback */
240
+ "list.feedback.text": "Help us improve, <Link>share feedback on Tasks</Link> ",
241
+ /** The label for the copy link menu item */
242
+ "menuitem.copylink.text": "Copy link to task",
243
+ /** The label for the delete task menu item */
244
+ "menuitem.delete.text": "Delete task",
245
+ /** The label for the duplicate task menu item */
246
+ "menuitem.duplicate.text": "Duplicate task",
247
+ /** The text for the duplicate task menu item tooltip when mode is upsell */
248
+ "menuitem.duplicate.upsell-tooltip": "Upgrade to duplicate tasks",
249
+ /** Fragment used to construct the first entry in the activity log */
250
+ "panel.activity.created-fragment": "created this task",
251
+ /** The title of the activity section of the task */
252
+ "panel.activity.title": "Activity",
253
+ /** The text used in the activity log when unable to find the user */
254
+ "panel.activity.unknown-user": "Unknown user",
255
+ /** The tooltip for the close button for the task panel */
256
+ "panel.close.tooltip": "Close sidebar",
257
+ /** The placeholder text for the comment text box */
258
+ "panel.comment.placeholder": "Add a comment...",
259
+ /** The placeholder text for the comment text box when mode is upsell */
260
+ "panel.comment.placeholder.upsell": "Upgrade to comment on tasks",
261
+ /** The title used in the task panel when showing the create task form */
262
+ "panel.create.title": "Create",
263
+ /** The title used in the drafts pulldown */
264
+ "panel.drafts.title": "Drafts",
265
+ /** The tooltip for the task navigation component */
266
+ "panel.navigation.tooltip": "Open tasks",
267
+ /** Title of the Tasks panel */
268
+ "panel.title": "Tasks",
269
+ /** Label for the Assigned Tab */
270
+ "tab.assigned.label": "Assigned",
271
+ /** Label for the Active Document Tab */
272
+ "tab.document.label": "Active Document",
273
+ /** Label for the Subscribed Tab */
274
+ "tab.subscribed.label": "Subscribed",
275
+ /** Tooltip for the tasks navbar icon */
276
+ "toolbar.tooltip": "Tasks"
277
+ });
278
+ export {
279
+ tasksLocaleStrings as default
280
+ };
281
+ //# sourceMappingURL=resources3.js.map
@@ -0,0 +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;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;AAAA;AAAA,EAEvC,oCACE;AAAA;AAAA,EAGF,mDAAmD;AAAA;AAAA,EAEnD,gDAAgD;AAAA;AAAA,EAEhD,mDAAmD;AAAA;AAAA,EAEnD,qDAAqD;AAAA;AAAA,EAErD,kDACE;AAAA;AAAA,EAGF,iDAAiD;AAAA;AAAA,EAEjD,8CAA8C;AAAA;AAAA,EAE9C,iDAAiD;AAAA;AAAA,EAEjD,mDAAmD;AAAA;AAAA,EAEnD,gDAAgD;AAAA;AAAA,EAGhD,6CAA6C;AAAA;AAAA,EAE7C,gDAAgD;AAAA;AAAA,EAEhD,4CAA4C;AAAA;AAAA,EAE5C,0CAA0C;AAAA;AAAA,EAE1C,yCAAyC;AAAA;AAAA,EAEzC,6CAA6C;AAAA;AAAA,EAE7C,2CAA2C;AAAA;AAAA,EAE3C,+BAA+B;AAAA;AAAA,EAE/B,yCAAyC;AAAA;AAAA,EAEzC,uCAAuC;AAAA;AAAA,EAEvC,mCAAmC;AAAA;AAAA,EAEnC,sCAAsC;AAAA;AAAA,EAEtC,oCAAoC;AAAA;AAAA,EAEpC,yCAAyC;AAAA;AAAA,EAEzC,4CAA4C;AAAA;AAAA,EAE5C,wCAAwC;AAAA;AAAA,EAExC,gCAAgC;AAAA;AAAA,EAEhC,oCAAoC;AAAA;AAAA,EAEpC,uBAAuB;AAAA;AAAA,EAEvB,mBAAmB;AAAA;AAAA,EAEnB,sBAAsB;AAAA;AAAA,EAEtB,0BAA0B;AAAA;AAAA,EAE1B,wBAAwB;AAAA;AAAA,EAExB,2BAA2B;AAAA;AAAA,EAE3B,qCAAqC;AAAA;AAAA,EAErC,mCAAmC;AAAA;AAAA,EAEnC,wBAAwB;AAAA;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;"}
@@ -0,0 +1,184 @@
1
+ import "react/jsx-runtime";
2
+ import "react/compiler-runtime";
3
+ import "react";
4
+ import "react-i18next";
5
+ import "sanity/_singletons";
6
+ import { defineLocalesResources } from "../index.js";
7
+ import "history";
8
+ import "@sanity/icons";
9
+ import "@sanity/uuid";
10
+ import "@sanity/ui";
11
+ import "rxjs/operators";
12
+ import "react-rx";
13
+ import "rxjs";
14
+ import "@sanity/client/csm";
15
+ import "date-fns/formatRelative";
16
+ import "date-fns/isValid";
17
+ import "date-fns/parse";
18
+ import "quick-lru";
19
+ import "lodash-es/throttle.js";
20
+ import "lodash-es/isEqual.js";
21
+ import "@sanity/color";
22
+ import "color2k";
23
+ import "styled-components";
24
+ import "lodash-es/isString.js";
25
+ import "dataloader";
26
+ import "./version.js";
27
+ import "@sanity/telemetry/react";
28
+ import "date-fns/differenceInDays";
29
+ import "date-fns/differenceInHours";
30
+ import "date-fns/differenceInMinutes";
31
+ import "date-fns/differenceInMonths";
32
+ import "date-fns/differenceInSeconds";
33
+ import "date-fns/differenceInWeeks";
34
+ import "date-fns/differenceInYears";
35
+ import "lodash-es/sortBy.js";
36
+ import "@sanity/schema/_internal";
37
+ import "@portabletext/editor";
38
+ import "@sanity/util/paths";
39
+ import "./index.js";
40
+ import "@sanity/types";
41
+ import "@sanity/diff-match-patch";
42
+ import "lodash-es/flatten.js";
43
+ import "lodash-es/orderBy.js";
44
+ import "lodash-es/uniq.js";
45
+ import "lodash-es/xor.js";
46
+ import "@sanity/diff-patch";
47
+ import "@sanity/id-utils";
48
+ import "sanity/router";
49
+ import "date-fns/addHours";
50
+ import "date-fns/startOfHour";
51
+ import "date-fns/format";
52
+ import "@sanity/util/legacyDateFormat";
53
+ import "@sanity/ui/theme";
54
+ import "lodash-es/pick.js";
55
+ import "react-fast-compare";
56
+ import "lodash-es/startCase.js";
57
+ import "react-focus-lock";
58
+ import "lodash-es/debounce.js";
59
+ import "@sanity/diff";
60
+ import "mendoza";
61
+ import "@portabletext/sanity-bridge";
62
+ import "motion/react";
63
+ import "lodash-es/get.js";
64
+ import "@algorithm.ts/lcs";
65
+ import "lodash-es/intersection.js";
66
+ import "json-stable-stringify";
67
+ import "shallow-equals";
68
+ import "scroll-into-view-if-needed";
69
+ import "lodash-es/groupBy.js";
70
+ import "lodash-es/compact.js";
71
+ import "lodash-es/keyBy.js";
72
+ import "lodash-es/partition.js";
73
+ import "lodash-es/toLower.js";
74
+ import "lodash-es/union.js";
75
+ import "lodash-es/words.js";
76
+ import "lodash-es/isFinite.js";
77
+ import "observable-callback";
78
+ import "@sanity/util/content";
79
+ import "lodash-es/isPlainObject.js";
80
+ import "@sanity/insert-menu";
81
+ import "@tanstack/react-virtual";
82
+ import "speakingurl";
83
+ import "@sanity/asset-utils";
84
+ import "@sanity/image-url";
85
+ import "nanoid";
86
+ import "lodash-es/castArray.js";
87
+ import "rxjs-mergemap-array";
88
+ import "@sanity/mutator";
89
+ import "@portabletext/react";
90
+ import "lodash-es/findIndex.js";
91
+ import "@sanity/schema";
92
+ import "@sanity/util/client";
93
+ import "@sanity/util/concurrency-limiter";
94
+ import "lodash-es/uniqBy.js";
95
+ import "json-reduce";
96
+ import "rxjs-exhaustmap-with-trailing";
97
+ import "polished";
98
+ import "@sanity/client";
99
+ import "react-is";
100
+ import "exif-component";
101
+ import "lodash-es/pickBy.js";
102
+ import "use-sync-external-store/shim/index.js";
103
+ import "use-hot-module-reload";
104
+ import "lodash-es/memoize.js";
105
+ import "lodash-es/sortedIndex.js";
106
+ import "lodash-es/difference.js";
107
+ import "lodash-es/identity.js";
108
+ import "lodash-es/values.js";
109
+ import "@sanity/comlink";
110
+ import "lodash-es/omit.js";
111
+ import "@isaacs/ttlcache";
112
+ import "groq-js";
113
+ import "use-sync-external-store/with-selector";
114
+ import "raf";
115
+ import "lodash-es/escapeRegExp.js";
116
+ import "lodash-es/isEmpty.js";
117
+ import "react-dom/server";
118
+ import "lodash-es/capitalize.js";
119
+ import "lodash-es/last.js";
120
+ import "react-dom/client";
121
+ import "date-fns/addWeeks";
122
+ import "date-fns/isAfter";
123
+ import "date-fns/isBefore";
124
+ import "semver";
125
+ import "lodash-es/isObject.js";
126
+ const canvasLocaleStrings = defineLocalesResources("canvas", {
127
+ /** The text for the "Link to Canvas" action. */
128
+ "action.link-document": "Link to Canvas",
129
+ /** The text for the "Link to Canvas" action when the document is not in the dashboard. */
130
+ "action.link-document-disabled.not-in-dashboard": "Open this document in Dashboard to link to Canvas",
131
+ /** The text for the "Link to Canvas" action when the user doesn't have permissions to link the document to Canvas. */
132
+ "action.link-document-disabled.missing-permissions": "You don't have permissions to link this document to Canvas",
133
+ /** The text for the "Link to Canvas" action when the document is a version document. */
134
+ "action.link-document-disabled.version-document": "Version documents are not yet supported in Canvas",
135
+ /** The text for the "Link to Canvas" action when the document is not yet resolved. */
136
+ "action.link-document-disabled.initial-value-not-resolved": "Please wait until the document initial values are resolved",
137
+ /** The text for the "Unlink from Canvas" action. */
138
+ "action.unlink-document": "Unlink from Canvas",
139
+ /** The text for the "Edit in Canvas" action. */
140
+ "action.edit-document": "Edit in Canvas",
141
+ /** The text for the banner when the document is linked to Canvas. */
142
+ "banner.linked-to-canvas": "This document is linked to Canvas",
143
+ /** The text for the action button in the banner when the document is linked to Canvas. */
144
+ "banner.edit-document-in-canvas": "Edit in Canvas",
145
+ /** The title for the "Confirm document changes" dialog. */
146
+ "dialog.confirm-document-changes.title": "Confirm document changes",
147
+ /** The description for the "Confirm document changes" dialog. */
148
+ "dialog.confirm-document-changes.description": `This document needs to be updated to be compatible with Canvas.
149
+ Existing content may be edited or removed as part of this process.`,
150
+ /** The text for the "Confirm document changes" dialog confirm button. */
151
+ "dialog.confirm-document-changes.confirm": "Accept and continue",
152
+ /** The text for the "Confirm document changes" dialog cancel button. */
153
+ "dialog.confirm-document-changes.cancel": "Cancel",
154
+ /** The description for the "Confirm document changes" dialog footer. */
155
+ "dialog.confirm-document-changes.footer-description": "You can unlink from Canvas at any time",
156
+ /** The title for the "Link to Canvas" dialog. */
157
+ "dialog.link-to-canvas.title": "Link to Canvas",
158
+ /** The text for the "Link to Canvas" dialog when the document is being validated. */
159
+ "dialog.link-to-canvas.validating": "Validating",
160
+ /** The text for the "Link to Canvas" dialog when the document is being redirected. */
161
+ "dialog.link-to-canvas.redirecting": "Taking you to Canvas to complete linking...",
162
+ /** The text for the Link to Canvas dialog when there is a error. */
163
+ "dialog.link-to-canvas.error": "Failed to link to Canvas",
164
+ /** The title for the "Unlink from Canvas" dialog. */
165
+ "dialog.unlink-from-canvas.title": "Unlink from Canvas",
166
+ /** The text for the "Unlink from Canvas" dialog when the document is being unlinked. */
167
+ "dialog.unlink-from-canvas.unlinking": "You're unlinking <strong>\u201C{{documentTitle}}\u201D</strong> from Canvas.",
168
+ /** The text for the "Unlink from Canvas" dialog cancel button. */
169
+ "dialog.unlink-from-canvas.cancel": "Cancel",
170
+ /** The text for the "Unlink from Canvas" dialog unlink button. */
171
+ "dialog.unlink-from-canvas.unlink-action": "Unlink now",
172
+ /** The text for the "Unlink from Canvas" dialog description. */
173
+ "dialog.unlink-from-canvas.description": "Once unlinked, it will be editable here and future edits in Canvas will no longer automatically map to this document.",
174
+ /** The text for the "Unlink from Canvas" dialog success message. */
175
+ "dialog.unlink-from-canvas.success": "Unlinked from Canvas",
176
+ /** The text for the "Unlink from Canvas" dialog error message. */
177
+ "dialog.unlink-from-canvas.error": "Failed to unlink from Canvas",
178
+ /** The text for the "Navigate to Canvas" dialog error message. */
179
+ "navigate-to-canvas-doc.error.missing-permissions": "Missing permissions to navigate to Canvas"
180
+ });
181
+ export {
182
+ canvasLocaleStrings as default
183
+ };
184
+ //# sourceMappingURL=resources4.js.map
@@ -0,0 +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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;"}