@wordpress/editor 14.37.0 → 14.37.1-next.79a2f3cdd.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 (1784) hide show
  1. package/CHANGELOG.md +0 -2
  2. package/LICENSE.md +1 -1
  3. package/build/bindings/api.cjs +51 -0
  4. package/build/bindings/pattern-overrides.cjs +99 -0
  5. package/build/bindings/post-data.cjs +137 -0
  6. package/build/bindings/post-meta.cjs +129 -0
  7. package/build/bindings/term-data.cjs +159 -0
  8. package/build/components/autocompleters/index.cjs +41 -0
  9. package/build/components/autocompleters/user.cjs +79 -0
  10. package/build/components/autosave-monitor/index.cjs +117 -0
  11. package/build/components/block-removal-warnings/index.cjs +96 -0
  12. package/build/components/block-settings-menu/plugin-block-settings-menu-item.cjs +55 -0
  13. package/build/components/block-visibility/index.cjs +125 -0
  14. package/build/components/blog-title/index.cjs +141 -0
  15. package/build/components/character-count/index.cjs +36 -0
  16. package/build/components/collab-sidebar/add-comment.cjs +122 -0
  17. package/build/components/collab-sidebar/comment-author-info.cjs +106 -0
  18. package/build/components/collab-sidebar/comment-form.cjs +111 -0
  19. package/build/components/collab-sidebar/comment-indicator-toolbar.cjs +100 -0
  20. package/build/components/collab-sidebar/comment-menu-item.cjs +78 -0
  21. package/build/components/collab-sidebar/comments.cjs +810 -0
  22. package/build/components/collab-sidebar/constants.cjs +37 -0
  23. package/build/components/collab-sidebar/hooks.cjs +367 -0
  24. package/build/components/collab-sidebar/hooks.cjs.map +7 -0
  25. package/build/components/collab-sidebar/index.cjs +239 -0
  26. package/build/components/collab-sidebar/utils.cjs +112 -0
  27. package/build/components/collapsible-block-toolbar/index.cjs +87 -0
  28. package/build/components/commands/index.cjs +412 -0
  29. package/build/components/deprecated.cjs +345 -0
  30. package/build/components/document-bar/index.cjs +215 -0
  31. package/build/components/document-bar/useEditedSectionDetails.cjs +95 -0
  32. package/build/components/document-outline/check.cjs +38 -0
  33. package/build/components/document-outline/index.cjs +217 -0
  34. package/build/components/document-outline/item.cjs +88 -0
  35. package/build/components/document-tools/index.cjs +177 -0
  36. package/build/components/editor/index.cjs +172 -0
  37. package/build/components/editor/index.cjs.map +7 -0
  38. package/build/components/editor-history/redo.cjs +57 -0
  39. package/build/components/editor-history/undo.cjs +56 -0
  40. package/build/components/editor-interface/index.cjs +193 -0
  41. package/build/components/editor-interface/index.cjs.map +7 -0
  42. package/build/components/editor-notices/index.cjs +80 -0
  43. package/build/components/editor-snackbars/index.cjs +47 -0
  44. package/build/components/entities-saved-states/entity-record-item.cjs +78 -0
  45. package/build/components/entities-saved-states/entity-record-item.cjs.map +7 -0
  46. package/build/components/entities-saved-states/entity-type-list.cjs +135 -0
  47. package/build/components/entities-saved-states/hooks/use-is-dirty.cjs +88 -0
  48. package/build/components/entities-saved-states/index.cjs +216 -0
  49. package/build/components/error-boundary/index.cjs +84 -0
  50. package/build/components/global-keyboard-shortcuts/index.cjs +106 -0
  51. package/build/components/global-keyboard-shortcuts/register-shortcuts.cjs +156 -0
  52. package/build/components/global-styles/block-link.cjs +72 -0
  53. package/build/components/global-styles/header.cjs +56 -0
  54. package/build/components/global-styles/hooks.cjs +178 -0
  55. package/build/components/global-styles/index.cjs +140 -0
  56. package/build/components/global-styles/menu.cjs +97 -0
  57. package/build/components/global-styles-provider/index.cjs +181 -0
  58. package/build/components/global-styles-renderer/index.cjs +57 -0
  59. package/build/components/global-styles-sidebar/default-sidebar.cjs +68 -0
  60. package/build/components/global-styles-sidebar/index.cjs +184 -0
  61. package/build/components/global-styles-sidebar/welcome-guide-image.cjs +39 -0
  62. package/build/components/global-styles-sidebar/welcome-guide.cjs +145 -0
  63. package/build/components/header/back-button.cjs +52 -0
  64. package/build/components/header/index.cjs +211 -0
  65. package/build/components/index.cjs +316 -0
  66. package/build/components/index.cjs.map +7 -0
  67. package/build/components/inserter-sidebar/index.cjs +108 -0
  68. package/build/components/keyboard-shortcut-help-modal/config.cjs +88 -0
  69. package/build/components/keyboard-shortcut-help-modal/dynamic-shortcut.cjs +69 -0
  70. package/build/components/keyboard-shortcut-help-modal/index.cjs +187 -0
  71. package/build/components/keyboard-shortcut-help-modal/shortcut.cjs +82 -0
  72. package/build/components/list-view-sidebar/index.cjs +140 -0
  73. package/build/components/list-view-sidebar/list-view-outline.cjs +62 -0
  74. package/build/components/local-autosave-monitor/index.cjs +170 -0
  75. package/build/components/media-categories/index.cjs +202 -0
  76. package/build/components/mode-switcher/index.cjs +93 -0
  77. package/build/components/more-menu/copy-content-menu-item.cjs +65 -0
  78. package/build/components/more-menu/index.cjs +190 -0
  79. package/build/components/more-menu/tools-more-menu-group.cjs +31 -0
  80. package/build/components/more-menu/view-more-menu-group.cjs +34 -0
  81. package/build/components/page-attributes/check.cjs +47 -0
  82. package/build/components/page-attributes/order.cjs +76 -0
  83. package/build/components/page-attributes/panel.cjs +60 -0
  84. package/build/components/page-attributes/parent.cjs +289 -0
  85. package/build/components/page-attributes/parent.cjs.map +7 -0
  86. package/build/components/pattern-duplicate-modal/index.cjs +77 -0
  87. package/build/components/pattern-overrides-panel/index.cjs +42 -0
  88. package/build/components/pattern-rename-modal/index.cjs +70 -0
  89. package/build/components/plugin-document-setting-panel/index.cjs +90 -0
  90. package/build/components/plugin-more-menu-item/index.cjs +42 -0
  91. package/build/components/plugin-post-publish-panel/index.cjs +51 -0
  92. package/build/components/plugin-post-status-info/index.cjs +32 -0
  93. package/build/components/plugin-pre-publish-panel/index.cjs +51 -0
  94. package/build/components/plugin-preview-menu-item/index.cjs +42 -0
  95. package/build/components/plugin-sidebar/index.cjs +39 -0
  96. package/build/components/plugin-sidebar-more-menu-item/index.cjs +38 -0
  97. package/build/components/post-actions/actions.cjs +156 -0
  98. package/build/components/post-actions/index.cjs +148 -0
  99. package/build/components/post-actions/set-as-homepage.cjs +162 -0
  100. package/build/components/post-actions/set-as-posts-page.cjs +155 -0
  101. package/build/components/post-author/check.cjs +53 -0
  102. package/build/components/post-author/combobox.cjs +59 -0
  103. package/build/components/post-author/combobox.cjs.map +7 -0
  104. package/build/components/post-author/constants.cjs +42 -0
  105. package/build/components/post-author/hook.cjs +87 -0
  106. package/build/components/post-author/index.cjs +54 -0
  107. package/build/components/post-author/panel.cjs +118 -0
  108. package/build/components/post-author/select.cjs +52 -0
  109. package/build/components/post-author/select.cjs.map +7 -0
  110. package/build/components/post-card-panel/index.cjs +142 -0
  111. package/build/components/post-comments/index.cjs +68 -0
  112. package/build/components/post-content-information/index.cjs +81 -0
  113. package/build/components/post-discussion/panel.cjs +146 -0
  114. package/build/components/post-excerpt/check.cjs +42 -0
  115. package/build/components/post-excerpt/index.cjs +87 -0
  116. package/build/components/post-excerpt/index.cjs.map +7 -0
  117. package/build/components/post-excerpt/panel.cjs +200 -0
  118. package/build/components/post-excerpt/plugin.cjs +34 -0
  119. package/build/components/post-featured-image/check.cjs +43 -0
  120. package/build/components/post-featured-image/index.cjs +308 -0
  121. package/build/components/post-featured-image/panel.cjs +76 -0
  122. package/build/components/post-fields/index.cjs +49 -0
  123. package/build/components/post-format/check.cjs +50 -0
  124. package/build/components/post-format/index.cjs +126 -0
  125. package/build/components/post-format/panel.cjs +104 -0
  126. package/build/components/post-last-edited-panel/index.cjs +47 -0
  127. package/build/components/post-last-revision/check.cjs +54 -0
  128. package/build/components/post-last-revision/index.cjs +95 -0
  129. package/build/components/post-last-revision/panel.cjs +44 -0
  130. package/build/components/post-locked-modal/index.cjs +236 -0
  131. package/build/components/post-panel-row/index.cjs +54 -0
  132. package/build/components/post-panel-section/index.cjs +43 -0
  133. package/build/components/post-pending-status/check.cjs +47 -0
  134. package/build/components/post-pending-status/index.cjs +67 -0
  135. package/build/components/post-pending-status/index.cjs.map +7 -0
  136. package/build/components/post-pingbacks/index.cjs +59 -0
  137. package/build/components/post-pingbacks/index.cjs.map +7 -0
  138. package/build/components/post-preview-button/index.cjs +180 -0
  139. package/build/components/post-publish-button/index.cjs +209 -0
  140. package/build/components/post-publish-button/label.cjs +83 -0
  141. package/build/components/post-publish-button/post-publish-button-or-toggle.cjs +91 -0
  142. package/build/components/post-publish-panel/index.cjs +194 -0
  143. package/build/components/post-publish-panel/index.cjs.map +7 -0
  144. package/build/components/post-publish-panel/maybe-category-panel.cjs +93 -0
  145. package/build/components/post-publish-panel/maybe-post-format-panel.cjs +91 -0
  146. package/build/components/post-publish-panel/maybe-tags-panel.cjs +103 -0
  147. package/build/components/post-publish-panel/maybe-upload-media.cjs +220 -0
  148. package/build/components/post-publish-panel/media-util.cjs +72 -0
  149. package/build/components/post-publish-panel/postpublish.cjs +179 -0
  150. package/build/components/post-publish-panel/postpublish.cjs.map +7 -0
  151. package/build/components/post-publish-panel/prepublish.cjs +165 -0
  152. package/build/components/post-saved-state/index.cjs +156 -0
  153. package/build/components/post-schedule/check.cjs +37 -0
  154. package/build/components/post-schedule/index.cjs +109 -0
  155. package/build/components/post-schedule/label.cjs +118 -0
  156. package/build/components/post-schedule/panel.cjs +100 -0
  157. package/build/components/post-status/index.cjs +273 -0
  158. package/build/components/post-status/index.cjs.map +7 -0
  159. package/build/components/post-sticky/check.cjs +41 -0
  160. package/build/components/post-sticky/index.cjs +58 -0
  161. package/build/components/post-sticky/index.cjs.map +7 -0
  162. package/build/components/post-sticky/panel.cjs +49 -0
  163. package/build/components/post-switch-to-draft-button/index.cjs +102 -0
  164. package/build/components/post-sync-status/index.cjs +56 -0
  165. package/build/components/post-taxonomies/check.cjs +46 -0
  166. package/build/components/post-taxonomies/flat-term-selector.cjs +247 -0
  167. package/build/components/post-taxonomies/hierarchical-term-selector.cjs +374 -0
  168. package/build/components/post-taxonomies/hierarchical-term-selector.cjs.map +7 -0
  169. package/build/components/post-taxonomies/index.cjs +76 -0
  170. package/build/components/post-taxonomies/most-used-terms.cjs +86 -0
  171. package/build/components/post-taxonomies/panel.cjs +83 -0
  172. package/build/components/post-template/block-theme.cjs +198 -0
  173. package/build/components/post-template/classic-theme.cjs +223 -0
  174. package/build/components/post-template/classic-theme.cjs.map +7 -0
  175. package/build/components/post-template/create-new-template-modal.cjs +162 -0
  176. package/build/components/post-template/create-new-template-modal.cjs.map +7 -0
  177. package/build/components/post-template/create-new-template.cjs +79 -0
  178. package/build/components/post-template/hooks.cjs +111 -0
  179. package/build/components/post-template/panel.cjs +87 -0
  180. package/build/components/post-template/reset-default-template.cjs +57 -0
  181. package/build/components/post-template/swap-template-button.cjs +117 -0
  182. package/build/components/post-template/swap-template-button.cjs.map +7 -0
  183. package/build/components/post-text-editor/index.cjs +99 -0
  184. package/build/components/post-title/constants.cjs +34 -0
  185. package/build/components/post-title/index.cjs +180 -0
  186. package/build/components/post-title/post-title-raw.cjs +91 -0
  187. package/build/components/post-title/post-title-raw.cjs.map +7 -0
  188. package/build/components/post-title/use-post-title-focus.cjs +56 -0
  189. package/build/components/post-title/use-post-title.cjs +41 -0
  190. package/build/components/post-transform-panel/hooks.cjs +103 -0
  191. package/build/components/post-transform-panel/index.cjs +103 -0
  192. package/build/components/post-trash/check.cjs +51 -0
  193. package/build/components/post-trash/index.cjs +96 -0
  194. package/build/components/post-type-support-check/index.cjs +53 -0
  195. package/build/components/post-url/check.cjs +51 -0
  196. package/build/components/post-url/index.cjs +179 -0
  197. package/build/components/post-url/label.cjs +44 -0
  198. package/build/components/post-url/panel.cjs +134 -0
  199. package/build/components/post-view-link/index.cjs +62 -0
  200. package/build/components/post-visibility/check.cjs +34 -0
  201. package/build/components/post-visibility/index.cjs +98 -0
  202. package/build/components/post-visibility/index.cjs.map +7 -0
  203. package/build/components/post-visibility/label.cjs +44 -0
  204. package/build/components/post-visibility/utils.cjs +48 -0
  205. package/build/components/posts-per-page/index.cjs +127 -0
  206. package/build/components/preferences-modal/enable-panel.cjs +56 -0
  207. package/build/components/preferences-modal/enable-plugin-document-setting-panel.cjs +45 -0
  208. package/build/components/preferences-modal/enable-publish-sidebar.cjs +46 -0
  209. package/build/components/preferences-modal/index.cjs +406 -0
  210. package/build/components/preview-dropdown/index.cjs +206 -0
  211. package/build/components/preview-dropdown/index.cjs.map +7 -0
  212. package/build/components/provider/disable-non-page-content-blocks.cjs +112 -0
  213. package/build/components/provider/index.cjs +312 -0
  214. package/build/components/provider/index.cjs.map +7 -0
  215. package/build/components/provider/navigation-block-editing-mode.cjs +45 -0
  216. package/build/components/provider/use-auto-switch-editor-sidebars.cjs +63 -0
  217. package/build/components/provider/use-block-editor-settings.cjs +359 -0
  218. package/build/components/provider/use-block-editor-settings.cjs.map +7 -0
  219. package/build/components/provider/use-hide-blocks-from-inserter.cjs +75 -0
  220. package/build/components/provider/use-post-content-blocks.cjs +55 -0
  221. package/build/components/provider/with-registry-provider.cjs +66 -0
  222. package/build/components/resizable-editor/index.cjs +111 -0
  223. package/build/components/resizable-editor/resize-handle.cjs +71 -0
  224. package/build/components/save-publish-panels/index.cjs +134 -0
  225. package/build/components/sidebar/constants.cjs +34 -0
  226. package/build/components/sidebar/header.cjs +65 -0
  227. package/build/components/sidebar/header.cjs.map +7 -0
  228. package/build/components/sidebar/index.cjs +180 -0
  229. package/build/components/sidebar/post-summary.cjs +119 -0
  230. package/build/components/site-discussion/index.cjs +144 -0
  231. package/build/components/start-page-options/index.cjs +177 -0
  232. package/build/components/start-page-options/index.cjs.map +7 -0
  233. package/build/components/start-template-options/index.cjs +209 -0
  234. package/build/components/style-book/categories.cjs +88 -0
  235. package/build/components/style-book/color-examples.cjs +66 -0
  236. package/build/components/style-book/constants.cjs +321 -0
  237. package/build/components/style-book/duotone-examples.cjs +70 -0
  238. package/build/components/style-book/examples.cjs +239 -0
  239. package/build/components/style-book/index.cjs +627 -0
  240. package/build/components/style-book/types.cjs +19 -0
  241. package/build/components/styles-canvas/index.cjs +140 -0
  242. package/build/components/styles-canvas/revisions.cjs +123 -0
  243. package/build/components/styles-canvas/style-book.cjs +70 -0
  244. package/build/components/table-of-contents/index.cjs +83 -0
  245. package/build/components/table-of-contents/panel.cjs +113 -0
  246. package/build/components/template-content-panel/index.cjs +84 -0
  247. package/build/components/template-part-content-panel/index.cjs +69 -0
  248. package/build/components/template-part-menu-items/convert-to-regular.cjs +52 -0
  249. package/build/components/template-part-menu-items/convert-to-template-part.cjs +89 -0
  250. package/build/components/template-part-menu-items/index.cjs +71 -0
  251. package/build/components/template-validation-notice/index.cjs +81 -0
  252. package/build/components/text-editor/index.cjs +82 -0
  253. package/build/components/theme-support-check/index.cjs +48 -0
  254. package/build/components/time-to-read/index.cjs +60 -0
  255. package/build/components/unsaved-changes-warning/index.cjs +49 -0
  256. package/build/components/visual-editor/edit-template-blocks-notification.cjs +91 -0
  257. package/build/components/visual-editor/index.cjs +421 -0
  258. package/build/components/visual-editor/use-edit-content-only-section-exit.cjs +64 -0
  259. package/build/components/visual-editor/use-padding-appender.cjs +75 -0
  260. package/build/components/visual-editor/use-select-nearest-editable-block.cjs +96 -0
  261. package/build/components/visual-editor/use-zoom-out-mode-exit.cjs +60 -0
  262. package/build/components/word-count/index.cjs +39 -0
  263. package/build/components/zoom-out-toggle/index.cjs +109 -0
  264. package/build/dataviews/api.cjs +71 -0
  265. package/build/dataviews/fields/content-preview/content-preview-view.cjs +95 -0
  266. package/build/dataviews/fields/content-preview/index.cjs +46 -0
  267. package/build/dataviews/store/private-actions.cjs +194 -0
  268. package/build/dataviews/store/private-selectors.cjs +44 -0
  269. package/build/dataviews/store/reducer.cjs +98 -0
  270. package/build/hooks/custom-sources-backwards-compatibility.cjs +79 -0
  271. package/build/hooks/default-autocompleters.cjs +15 -0
  272. package/build/hooks/index.cjs +11 -0
  273. package/build/hooks/media-upload.cjs +105 -0
  274. package/build/hooks/navigation-link-view-button.cjs +56 -0
  275. package/build/hooks/pattern-overrides.cjs +69 -0
  276. package/build/hooks/pattern-overrides.cjs.map +7 -0
  277. package/build/hooks/push-changes-to-global-styles/index.cjs +323 -0
  278. package/build/hooks/push-changes-to-global-styles/index.cjs.map +7 -0
  279. package/build/hooks/template-part-navigation-edit-button.cjs +90 -0
  280. package/build/hooks/use-global-styles-output.cjs +76 -0
  281. package/build/index.cjs +46 -0
  282. package/build/index.cjs.map +7 -0
  283. package/build/lock-unlock.cjs +37 -0
  284. package/build/private-apis.cjs +93 -0
  285. package/build/private-apis.cjs.map +7 -0
  286. package/build/store/actions.cjs +771 -0
  287. package/build/store/constants.cjs +83 -0
  288. package/build/store/defaults.cjs +39 -0
  289. package/build/store/index.cjs +61 -0
  290. package/build/store/local-autosave.cjs +53 -0
  291. package/build/store/private-actions.cjs +417 -0
  292. package/build/store/private-actions.cjs.map +7 -0
  293. package/build/store/private-selectors.cjs +231 -0
  294. package/build/store/reducer.cjs +313 -0
  295. package/build/store/selectors.cjs +1020 -0
  296. package/build/store/utils/is-template-revertable.cjs +33 -0
  297. package/build/store/utils/notice-builder.cjs +132 -0
  298. package/build/store/utils/notice-builder.cjs.map +7 -0
  299. package/build/utils/block-selection-path.cjs +106 -0
  300. package/build/utils/block-selection-path.cjs.map +7 -0
  301. package/build/utils/get-item-title.cjs +43 -0
  302. package/build/utils/get-template-info.cjs +53 -0
  303. package/build/utils/get-template-part-icon.cjs +46 -0
  304. package/build/utils/index.cjs +47 -0
  305. package/build/utils/media-sideload/index.cjs +30 -0
  306. package/build/utils/media-upload/index.cjs +104 -0
  307. package/build/utils/pageTypeBadge.cjs +49 -0
  308. package/build/utils/search-templates.cjs +75 -0
  309. package/build/utils/set-nested-value.cjs +45 -0
  310. package/build/utils/terms.cjs +84 -0
  311. package/build/utils/url.cjs +50 -0
  312. package/build-module/bindings/api.mjs +16 -0
  313. package/build-module/bindings/pattern-overrides.mjs +78 -0
  314. package/build-module/bindings/post-data.mjs +116 -0
  315. package/build-module/bindings/post-meta.mjs +108 -0
  316. package/build-module/bindings/term-data.mjs +134 -0
  317. package/build-module/components/autocompleters/index.mjs +6 -0
  318. package/build-module/components/autocompleters/user.mjs +54 -0
  319. package/build-module/components/autosave-monitor/index.mjs +92 -0
  320. package/build-module/components/block-removal-warnings/index.mjs +75 -0
  321. package/build-module/components/block-settings-menu/plugin-block-settings-menu-item.mjs +34 -0
  322. package/build-module/components/block-visibility/index.mjs +104 -0
  323. package/build-module/components/blog-title/index.mjs +114 -0
  324. package/build-module/components/character-count/index.mjs +15 -0
  325. package/build-module/components/collab-sidebar/add-comment.mjs +93 -0
  326. package/build-module/components/collab-sidebar/comment-author-info.mjs +90 -0
  327. package/build-module/components/collab-sidebar/comment-form.mjs +86 -0
  328. package/build-module/components/collab-sidebar/comment-indicator-toolbar.mjs +83 -0
  329. package/build-module/components/collab-sidebar/comment-menu-item.mjs +60 -0
  330. package/build-module/components/collab-sidebar/comments.mjs +793 -0
  331. package/build-module/components/collab-sidebar/constants.mjs +10 -0
  332. package/build-module/components/collab-sidebar/hooks.mjs +351 -0
  333. package/build-module/components/collab-sidebar/hooks.mjs.map +7 -0
  334. package/build-module/components/collab-sidebar/index.mjs +216 -0
  335. package/build-module/components/collab-sidebar/utils.mjs +83 -0
  336. package/build-module/components/collapsible-block-toolbar/index.mjs +60 -0
  337. package/build-module/components/commands/index.mjs +400 -0
  338. package/build-module/components/deprecated.mjs +311 -0
  339. package/build-module/components/document-bar/index.mjs +189 -0
  340. package/build-module/components/document-bar/useEditedSectionDetails.mjs +74 -0
  341. package/build-module/components/document-outline/check.mjs +17 -0
  342. package/build-module/components/document-outline/index.mjs +186 -0
  343. package/build-module/components/document-outline/item.mjs +57 -0
  344. package/build-module/components/document-tools/index.mjs +146 -0
  345. package/build-module/components/editor/index.mjs +141 -0
  346. package/build-module/components/editor/index.mjs.map +7 -0
  347. package/build-module/components/editor-history/redo.mjs +36 -0
  348. package/build-module/components/editor-history/undo.mjs +35 -0
  349. package/build-module/components/editor-interface/index.mjs +162 -0
  350. package/build-module/components/editor-interface/index.mjs.map +7 -0
  351. package/build-module/components/editor-notices/index.mjs +45 -0
  352. package/build-module/components/editor-snackbars/index.mjs +26 -0
  353. package/build-module/components/entities-saved-states/entity-record-item.mjs +57 -0
  354. package/build-module/components/entities-saved-states/entity-record-item.mjs.map +7 -0
  355. package/build-module/components/entities-saved-states/entity-type-list.mjs +104 -0
  356. package/build-module/components/entities-saved-states/hooks/use-is-dirty.mjs +63 -0
  357. package/build-module/components/entities-saved-states/index.mjs +188 -0
  358. package/build-module/components/error-boundary/index.mjs +67 -0
  359. package/build-module/components/global-keyboard-shortcuts/index.mjs +85 -0
  360. package/build-module/components/global-keyboard-shortcuts/register-shortcuts.mjs +135 -0
  361. package/build-module/components/global-styles/block-link.mjs +47 -0
  362. package/build-module/components/global-styles/header.mjs +42 -0
  363. package/build-module/components/global-styles/hooks.mjs +155 -0
  364. package/build-module/components/global-styles/index.mjs +113 -0
  365. package/build-module/components/global-styles/menu.mjs +72 -0
  366. package/build-module/components/global-styles-provider/index.mjs +156 -0
  367. package/build-module/components/global-styles-renderer/index.mjs +32 -0
  368. package/build-module/components/global-styles-sidebar/default-sidebar.mjs +50 -0
  369. package/build-module/components/global-styles-sidebar/index.mjs +153 -0
  370. package/build-module/components/global-styles-sidebar/welcome-guide-image.mjs +18 -0
  371. package/build-module/components/global-styles-sidebar/welcome-guide.mjs +114 -0
  372. package/build-module/components/header/back-button.mjs +30 -0
  373. package/build-module/components/header/index.mjs +184 -0
  374. package/build-module/components/index.mjs +193 -0
  375. package/build-module/components/inserter-sidebar/index.mjs +90 -0
  376. package/build-module/components/keyboard-shortcut-help-modal/config.mjs +63 -0
  377. package/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.mjs +38 -0
  378. package/build-module/components/keyboard-shortcut-help-modal/index.mjs +159 -0
  379. package/build-module/components/keyboard-shortcut-help-modal/shortcut.mjs +61 -0
  380. package/build-module/components/list-view-sidebar/index.mjs +112 -0
  381. package/build-module/components/list-view-sidebar/list-view-outline.mjs +31 -0
  382. package/build-module/components/local-autosave-monitor/index.mjs +142 -0
  383. package/build-module/components/media-categories/index.mjs +181 -0
  384. package/build-module/components/mode-switcher/index.mjs +72 -0
  385. package/build-module/components/more-menu/copy-content-menu-item.mjs +44 -0
  386. package/build-module/components/more-menu/index.mjs +167 -0
  387. package/build-module/components/more-menu/tools-more-menu-group.mjs +10 -0
  388. package/build-module/components/more-menu/view-more-menu-group.mjs +13 -0
  389. package/build-module/components/page-attributes/check.mjs +22 -0
  390. package/build-module/components/page-attributes/order.mjs +49 -0
  391. package/build-module/components/page-attributes/panel.mjs +29 -0
  392. package/build-module/components/page-attributes/parent.mjs +261 -0
  393. package/build-module/components/page-attributes/parent.mjs.map +7 -0
  394. package/build-module/components/pattern-duplicate-modal/index.mjs +52 -0
  395. package/build-module/components/pattern-overrides-panel/index.mjs +21 -0
  396. package/build-module/components/pattern-rename-modal/index.mjs +45 -0
  397. package/build-module/components/plugin-document-setting-panel/index.mjs +59 -0
  398. package/build-module/components/plugin-more-menu-item/index.mjs +21 -0
  399. package/build-module/components/plugin-post-publish-panel/index.mjs +30 -0
  400. package/build-module/components/plugin-post-status-info/index.mjs +11 -0
  401. package/build-module/components/plugin-pre-publish-panel/index.mjs +30 -0
  402. package/build-module/components/plugin-preview-menu-item/index.mjs +21 -0
  403. package/build-module/components/plugin-sidebar/index.mjs +18 -0
  404. package/build-module/components/plugin-sidebar-more-menu-item/index.mjs +17 -0
  405. package/build-module/components/post-actions/actions.mjs +131 -0
  406. package/build-module/components/post-actions/index.mjs +127 -0
  407. package/build-module/components/post-actions/set-as-homepage.mjs +142 -0
  408. package/build-module/components/post-actions/set-as-posts-page.mjs +135 -0
  409. package/build-module/components/post-author/check.mjs +22 -0
  410. package/build-module/components/post-author/combobox.mjs +38 -0
  411. package/build-module/components/post-author/combobox.mjs.map +7 -0
  412. package/build-module/components/post-author/constants.mjs +16 -0
  413. package/build-module/components/post-author/hook.mjs +62 -0
  414. package/build-module/components/post-author/index.mjs +23 -0
  415. package/build-module/components/post-author/panel.mjs +83 -0
  416. package/build-module/components/post-author/select.mjs +31 -0
  417. package/build-module/components/post-author/select.mjs.map +7 -0
  418. package/build-module/components/post-card-panel/index.mjs +120 -0
  419. package/build-module/components/post-comments/index.mjs +50 -0
  420. package/build-module/components/post-content-information/index.mjs +63 -0
  421. package/build-module/components/post-discussion/panel.mjs +119 -0
  422. package/build-module/components/post-excerpt/check.mjs +11 -0
  423. package/build-module/components/post-excerpt/index.mjs +66 -0
  424. package/build-module/components/post-excerpt/index.mjs.map +7 -0
  425. package/build-module/components/post-excerpt/panel.mjs +171 -0
  426. package/build-module/components/post-excerpt/plugin.mjs +13 -0
  427. package/build-module/components/post-featured-image/check.mjs +12 -0
  428. package/build-module/components/post-featured-image/index.mjs +289 -0
  429. package/build-module/components/post-featured-image/panel.mjs +45 -0
  430. package/build-module/components/post-fields/index.mjs +28 -0
  431. package/build-module/components/post-format/check.mjs +19 -0
  432. package/build-module/components/post-format/index.mjs +91 -0
  433. package/build-module/components/post-format/panel.mjs +73 -0
  434. package/build-module/components/post-last-edited-panel/index.mjs +26 -0
  435. package/build-module/components/post-last-revision/check.mjs +23 -0
  436. package/build-module/components/post-last-revision/index.mjs +60 -0
  437. package/build-module/components/post-last-revision/panel.mjs +13 -0
  438. package/build-module/components/post-locked-modal/index.mjs +221 -0
  439. package/build-module/components/post-panel-row/index.mjs +23 -0
  440. package/build-module/components/post-panel-section/index.mjs +12 -0
  441. package/build-module/components/post-pending-status/check.mjs +22 -0
  442. package/build-module/components/post-pending-status/index.mjs +32 -0
  443. package/build-module/components/post-pending-status/index.mjs.map +7 -0
  444. package/build-module/components/post-pingbacks/index.mjs +38 -0
  445. package/build-module/components/post-pingbacks/index.mjs.map +7 -0
  446. package/build-module/components/post-preview-button/index.mjs +159 -0
  447. package/build-module/components/post-publish-button/index.mjs +174 -0
  448. package/build-module/components/post-publish-button/label.mjs +62 -0
  449. package/build-module/components/post-publish-button/post-publish-button-or-toggle.mjs +60 -0
  450. package/build-module/components/post-publish-panel/index.mjs +165 -0
  451. package/build-module/components/post-publish-panel/index.mjs.map +7 -0
  452. package/build-module/components/post-publish-panel/maybe-category-panel.mjs +62 -0
  453. package/build-module/components/post-publish-panel/maybe-post-format-panel.mjs +70 -0
  454. package/build-module/components/post-publish-panel/maybe-tags-panel.mjs +72 -0
  455. package/build-module/components/post-publish-panel/maybe-upload-media.mjs +205 -0
  456. package/build-module/components/post-publish-panel/media-util.mjs +46 -0
  457. package/build-module/components/post-publish-panel/postpublish.mjs +154 -0
  458. package/build-module/components/post-publish-panel/postpublish.mjs.map +7 -0
  459. package/build-module/components/post-publish-panel/prepublish.mjs +134 -0
  460. package/build-module/components/post-saved-state/index.mjs +128 -0
  461. package/build-module/components/post-schedule/check.mjs +16 -0
  462. package/build-module/components/post-schedule/index.mjs +84 -0
  463. package/build-module/components/post-schedule/label.mjs +91 -0
  464. package/build-module/components/post-schedule/panel.mjs +69 -0
  465. package/build-module/components/post-status/index.mjs +251 -0
  466. package/build-module/components/post-status/index.mjs.map +7 -0
  467. package/build-module/components/post-sticky/check.mjs +20 -0
  468. package/build-module/components/post-sticky/index.mjs +27 -0
  469. package/build-module/components/post-sticky/index.mjs.map +7 -0
  470. package/build-module/components/post-sticky/panel.mjs +14 -0
  471. package/build-module/components/post-switch-to-draft-button/index.mjs +74 -0
  472. package/build-module/components/post-sync-status/index.mjs +25 -0
  473. package/build-module/components/post-taxonomies/check.mjs +25 -0
  474. package/build-module/components/post-taxonomies/flat-term-selector.mjs +216 -0
  475. package/build-module/components/post-taxonomies/hierarchical-term-selector.mjs +360 -0
  476. package/build-module/components/post-taxonomies/hierarchical-term-selector.mjs.map +7 -0
  477. package/build-module/components/post-taxonomies/index.mjs +41 -0
  478. package/build-module/components/post-taxonomies/most-used-terms.mjs +65 -0
  479. package/build-module/components/post-taxonomies/panel.mjs +52 -0
  480. package/build-module/components/post-template/block-theme.mjs +167 -0
  481. package/build-module/components/post-template/classic-theme.mjs +192 -0
  482. package/build-module/components/post-template/classic-theme.mjs.map +7 -0
  483. package/build-module/components/post-template/create-new-template-modal.mjs +147 -0
  484. package/build-module/components/post-template/create-new-template-modal.mjs.map +7 -0
  485. package/build-module/components/post-template/create-new-template.mjs +48 -0
  486. package/build-module/components/post-template/hooks.mjs +83 -0
  487. package/build-module/components/post-template/panel.mjs +56 -0
  488. package/build-module/components/post-template/reset-default-template.mjs +40 -0
  489. package/build-module/components/post-template/swap-template-button.mjs +96 -0
  490. package/build-module/components/post-template/swap-template-button.mjs.map +7 -0
  491. package/build-module/components/post-text-editor/index.mjs +68 -0
  492. package/build-module/components/post-title/constants.mjs +8 -0
  493. package/build-module/components/post-title/index.mjs +153 -0
  494. package/build-module/components/post-title/post-title-raw.mjs +60 -0
  495. package/build-module/components/post-title/post-title-raw.mjs.map +7 -0
  496. package/build-module/components/post-title/use-post-title-focus.mjs +35 -0
  497. package/build-module/components/post-title/use-post-title.mjs +20 -0
  498. package/build-module/components/post-transform-panel/hooks.mjs +78 -0
  499. package/build-module/components/post-transform-panel/index.mjs +85 -0
  500. package/build-module/components/post-trash/check.mjs +30 -0
  501. package/build-module/components/post-trash/index.mjs +68 -0
  502. package/build-module/components/post-type-support-check/index.mjs +32 -0
  503. package/build-module/components/post-url/check.mjs +30 -0
  504. package/build-module/components/post-url/index.mjs +165 -0
  505. package/build-module/components/post-url/label.mjs +19 -0
  506. package/build-module/components/post-url/panel.mjs +103 -0
  507. package/build-module/components/post-view-link/index.mjs +41 -0
  508. package/build-module/components/post-visibility/check.mjs +13 -0
  509. package/build-module/components/post-visibility/index.mjs +81 -0
  510. package/build-module/components/post-visibility/index.mjs.map +7 -0
  511. package/build-module/components/post-visibility/label.mjs +19 -0
  512. package/build-module/components/post-visibility/utils.mjs +23 -0
  513. package/build-module/components/posts-per-page/index.mjs +100 -0
  514. package/build-module/components/preferences-modal/enable-panel.mjs +35 -0
  515. package/build-module/components/preferences-modal/enable-plugin-document-setting-panel.mjs +14 -0
  516. package/build-module/components/preferences-modal/enable-publish-sidebar.mjs +25 -0
  517. package/build-module/components/preferences-modal/index.mjs +378 -0
  518. package/build-module/components/preview-dropdown/index.mjs +182 -0
  519. package/build-module/components/preview-dropdown/index.mjs.map +7 -0
  520. package/build-module/components/provider/disable-non-page-content-blocks.mjs +81 -0
  521. package/build-module/components/provider/index.mjs +284 -0
  522. package/build-module/components/provider/index.mjs.map +7 -0
  523. package/build-module/components/provider/navigation-block-editing-mode.mjs +24 -0
  524. package/build-module/components/provider/use-auto-switch-editor-sidebars.mjs +42 -0
  525. package/build-module/components/provider/use-block-editor-settings.mjs +336 -0
  526. package/build-module/components/provider/use-block-editor-settings.mjs.map +7 -0
  527. package/build-module/components/provider/use-hide-blocks-from-inserter.mjs +50 -0
  528. package/build-module/components/provider/use-post-content-blocks.mjs +34 -0
  529. package/build-module/components/provider/with-registry-provider.mjs +45 -0
  530. package/build-module/components/resizable-editor/index.mjs +80 -0
  531. package/build-module/components/resizable-editor/resize-handle.mjs +54 -0
  532. package/build-module/components/save-publish-panels/index.mjs +99 -0
  533. package/build-module/components/sidebar/constants.mjs +9 -0
  534. package/build-module/components/sidebar/header.mjs +44 -0
  535. package/build-module/components/sidebar/header.mjs.map +7 -0
  536. package/build-module/components/sidebar/index.mjs +162 -0
  537. package/build-module/components/sidebar/post-summary.mjs +88 -0
  538. package/build-module/components/site-discussion/index.mjs +119 -0
  539. package/build-module/components/start-page-options/index.mjs +158 -0
  540. package/build-module/components/start-page-options/index.mjs.map +7 -0
  541. package/build-module/components/start-template-options/index.mjs +188 -0
  542. package/build-module/components/style-book/categories.mjs +65 -0
  543. package/build-module/components/style-book/color-examples.mjs +38 -0
  544. package/build-module/components/style-book/constants.mjs +291 -0
  545. package/build-module/components/style-book/duotone-examples.mjs +49 -0
  546. package/build-module/components/style-book/examples.mjs +209 -0
  547. package/build-module/components/style-book/index.mjs +617 -0
  548. package/build-module/components/style-book/types.mjs +1 -0
  549. package/build-module/components/styles-canvas/index.mjs +105 -0
  550. package/build-module/components/styles-canvas/revisions.mjs +108 -0
  551. package/build-module/components/styles-canvas/style-book.mjs +39 -0
  552. package/build-module/components/table-of-contents/index.mjs +52 -0
  553. package/build-module/components/table-of-contents/panel.mjs +82 -0
  554. package/build-module/components/template-content-panel/index.mjs +63 -0
  555. package/build-module/components/template-part-content-panel/index.mjs +51 -0
  556. package/build-module/components/template-part-menu-items/convert-to-regular.mjs +31 -0
  557. package/build-module/components/template-part-menu-items/convert-to-template-part.mjs +68 -0
  558. package/build-module/components/template-part-menu-items/index.mjs +43 -0
  559. package/build-module/components/template-validation-notice/index.mjs +63 -0
  560. package/build-module/components/text-editor/index.mjs +51 -0
  561. package/build-module/components/theme-support-check/index.mjs +27 -0
  562. package/build-module/components/time-to-read/index.mjs +39 -0
  563. package/build-module/components/unsaved-changes-warning/index.mjs +28 -0
  564. package/build-module/components/visual-editor/edit-template-blocks-notification.mjs +70 -0
  565. package/build-module/components/visual-editor/index.mjs +405 -0
  566. package/build-module/components/visual-editor/use-edit-content-only-section-exit.mjs +39 -0
  567. package/build-module/components/visual-editor/use-padding-appender.mjs +50 -0
  568. package/build-module/components/visual-editor/use-select-nearest-editable-block.mjs +75 -0
  569. package/build-module/components/visual-editor/use-zoom-out-mode-exit.mjs +35 -0
  570. package/build-module/components/word-count/index.mjs +18 -0
  571. package/build-module/components/zoom-out-toggle/index.mjs +91 -0
  572. package/build-module/dataviews/api.mjs +43 -0
  573. package/build-module/dataviews/fields/content-preview/content-preview-view.mjs +76 -0
  574. package/build-module/dataviews/fields/content-preview/index.mjs +15 -0
  575. package/build-module/dataviews/store/private-actions.mjs +184 -0
  576. package/build-module/dataviews/store/private-selectors.mjs +17 -0
  577. package/build-module/dataviews/store/reducer.mjs +77 -0
  578. package/build-module/hooks/custom-sources-backwards-compatibility.mjs +77 -0
  579. package/build-module/hooks/default-autocompleters.mjs +13 -0
  580. package/build-module/hooks/index.mjs +9 -0
  581. package/build-module/hooks/media-upload.mjs +84 -0
  582. package/build-module/hooks/navigation-link-view-button.mjs +58 -0
  583. package/build-module/hooks/pattern-overrides.mjs +70 -0
  584. package/build-module/hooks/pattern-overrides.mjs.map +7 -0
  585. package/build-module/hooks/push-changes-to-global-styles/index.mjs +309 -0
  586. package/build-module/hooks/push-changes-to-global-styles/index.mjs.map +7 -0
  587. package/build-module/hooks/template-part-navigation-edit-button.mjs +91 -0
  588. package/build-module/hooks/use-global-styles-output.mjs +50 -0
  589. package/build-module/index.mjs +14 -0
  590. package/build-module/lock-unlock.mjs +11 -0
  591. package/build-module/private-apis.mjs +65 -0
  592. package/build-module/private-apis.mjs.map +7 -0
  593. package/build-module/store/actions.mjs +680 -0
  594. package/build-module/store/constants.mjs +45 -0
  595. package/build-module/store/defaults.mjs +14 -0
  596. package/build-module/store/index.mjs +25 -0
  597. package/build-module/store/local-autosave.mjs +26 -0
  598. package/build-module/store/private-actions.mjs +369 -0
  599. package/build-module/store/private-selectors.mjs +194 -0
  600. package/build-module/store/reducer.mjs +254 -0
  601. package/build-module/store/selectors.mjs +873 -0
  602. package/build-module/store/utils/is-template-revertable.mjs +12 -0
  603. package/build-module/store/utils/notice-builder.mjs +105 -0
  604. package/build-module/store/utils/notice-builder.mjs.map +7 -0
  605. package/build-module/utils/block-selection-path.mjs +80 -0
  606. package/build-module/utils/block-selection-path.mjs.map +7 -0
  607. package/build-module/utils/get-item-title.mjs +18 -0
  608. package/build-module/utils/get-template-info.mjs +28 -0
  609. package/build-module/utils/get-template-part-icon.mjs +27 -0
  610. package/build-module/utils/index.mjs +10 -0
  611. package/build-module/utils/media-sideload/index.mjs +9 -0
  612. package/build-module/utils/media-upload/index.mjs +83 -0
  613. package/build-module/utils/pageTypeBadge.mjs +28 -0
  614. package/build-module/utils/search-templates.mjs +40 -0
  615. package/build-module/utils/set-nested-value.mjs +24 -0
  616. package/build-module/utils/terms.mjs +56 -0
  617. package/build-module/utils/url.mjs +15 -0
  618. package/build-style/style-rtl.css +324 -102
  619. package/build-style/style.css +327 -101
  620. package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
  621. package/build-types/components/editor/index.d.ts +2 -1
  622. package/build-types/components/editor/index.d.ts.map +1 -1
  623. package/build-types/components/editor-interface/index.d.ts.map +1 -1
  624. package/build-types/components/entities-saved-states/entity-record-item.d.ts.map +1 -1
  625. package/build-types/components/page-attributes/parent.d.ts.map +1 -1
  626. package/build-types/components/post-author/combobox.d.ts.map +1 -1
  627. package/build-types/components/post-author/select.d.ts.map +1 -1
  628. package/build-types/components/post-excerpt/index.d.ts.map +1 -1
  629. package/build-types/components/post-locked-modal/index.d.ts +2 -2
  630. package/build-types/components/post-pending-status/index.d.ts.map +1 -1
  631. package/build-types/components/post-pingbacks/index.d.ts.map +1 -1
  632. package/build-types/components/post-publish-panel/index.d.ts.map +1 -1
  633. package/build-types/components/post-publish-panel/postpublish.d.ts.map +1 -1
  634. package/build-types/components/post-status/index.d.ts.map +1 -1
  635. package/build-types/components/post-sticky/index.d.ts.map +1 -1
  636. package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts.map +1 -1
  637. package/build-types/components/post-template/classic-theme.d.ts.map +1 -1
  638. package/build-types/components/post-template/create-new-template-modal.d.ts.map +1 -1
  639. package/build-types/components/post-visibility/index.d.ts.map +1 -1
  640. package/build-types/components/provider/index.d.ts.map +1 -1
  641. package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
  642. package/build-types/components/start-page-options/index.d.ts.map +1 -1
  643. package/build-types/dataviews/store/reducer.d.ts +1 -1
  644. package/build-types/private-apis.d.ts.map +1 -1
  645. package/build-types/store/reducer.d.ts +1 -1
  646. package/build-types/utils/block-selection-path.d.ts +16 -0
  647. package/build-types/utils/block-selection-path.d.ts.map +1 -0
  648. package/package.json +59 -48
  649. package/src/components/collab-sidebar/hooks.js +9 -3
  650. package/src/components/document-outline/style.scss +0 -2
  651. package/src/components/editor/index.js +31 -1
  652. package/src/components/editor-interface/index.js +11 -7
  653. package/src/components/entities-saved-states/entity-record-item.js +0 -1
  654. package/src/components/list-view-sidebar/style.scss +7 -1
  655. package/src/components/page-attributes/parent.js +0 -1
  656. package/src/components/post-author/combobox.js +0 -1
  657. package/src/components/post-author/select.js +0 -1
  658. package/src/components/post-excerpt/index.js +0 -1
  659. package/src/components/post-featured-image/style.scss +2 -0
  660. package/src/components/post-pending-status/index.js +0 -1
  661. package/src/components/post-pingbacks/index.js +0 -1
  662. package/src/components/post-publish-panel/index.js +0 -1
  663. package/src/components/post-publish-panel/postpublish.js +0 -1
  664. package/src/components/post-status/index.js +0 -2
  665. package/src/components/post-sticky/index.js +0 -1
  666. package/src/components/post-taxonomies/hierarchical-term-selector.js +0 -4
  667. package/src/components/post-template/classic-theme.js +0 -1
  668. package/src/components/post-template/create-new-template-modal.js +0 -1
  669. package/src/components/post-template/swap-template-button.js +0 -1
  670. package/src/components/post-text-editor/style.scss +1 -9
  671. package/src/components/post-title/post-title-raw.js +0 -1
  672. package/src/components/post-visibility/index.js +0 -1
  673. package/src/components/preview-dropdown/index.js +1 -1
  674. package/src/components/provider/index.js +2 -0
  675. package/src/components/provider/use-block-editor-settings.js +39 -3
  676. package/src/components/sidebar/header.js +9 -8
  677. package/src/components/start-page-options/index.js +7 -3
  678. package/src/hooks/pattern-overrides.js +14 -5
  679. package/src/hooks/push-changes-to-global-styles/index.js +0 -1
  680. package/src/private-apis.js +12 -5
  681. package/src/store/utils/notice-builder.js +4 -4
  682. package/src/utils/block-selection-path.js +127 -0
  683. package/build/bindings/api.js +0 -51
  684. package/build/bindings/pattern-overrides.js +0 -99
  685. package/build/bindings/post-data.js +0 -137
  686. package/build/bindings/post-meta.js +0 -129
  687. package/build/bindings/term-data.js +0 -159
  688. package/build/components/autocompleters/index.js +0 -41
  689. package/build/components/autocompleters/user.js +0 -79
  690. package/build/components/autosave-monitor/index.js +0 -117
  691. package/build/components/block-removal-warnings/index.js +0 -96
  692. package/build/components/block-settings-menu/plugin-block-settings-menu-item.js +0 -55
  693. package/build/components/block-visibility/index.js +0 -125
  694. package/build/components/blog-title/index.js +0 -141
  695. package/build/components/character-count/index.js +0 -36
  696. package/build/components/collab-sidebar/add-comment.js +0 -122
  697. package/build/components/collab-sidebar/comment-author-info.js +0 -106
  698. package/build/components/collab-sidebar/comment-form.js +0 -111
  699. package/build/components/collab-sidebar/comment-indicator-toolbar.js +0 -100
  700. package/build/components/collab-sidebar/comment-menu-item.js +0 -78
  701. package/build/components/collab-sidebar/comments.js +0 -810
  702. package/build/components/collab-sidebar/constants.js +0 -37
  703. package/build/components/collab-sidebar/hooks.js +0 -363
  704. package/build/components/collab-sidebar/hooks.js.map +0 -7
  705. package/build/components/collab-sidebar/index.js +0 -239
  706. package/build/components/collab-sidebar/utils.js +0 -112
  707. package/build/components/collapsible-block-toolbar/index.js +0 -87
  708. package/build/components/commands/index.js +0 -412
  709. package/build/components/deprecated.js +0 -345
  710. package/build/components/document-bar/index.js +0 -215
  711. package/build/components/document-bar/useEditedSectionDetails.js +0 -95
  712. package/build/components/document-outline/check.js +0 -38
  713. package/build/components/document-outline/index.js +0 -217
  714. package/build/components/document-outline/item.js +0 -88
  715. package/build/components/document-tools/index.js +0 -177
  716. package/build/components/editor/index.js +0 -148
  717. package/build/components/editor/index.js.map +0 -7
  718. package/build/components/editor-history/redo.js +0 -57
  719. package/build/components/editor-history/undo.js +0 -56
  720. package/build/components/editor-interface/index.js +0 -191
  721. package/build/components/editor-interface/index.js.map +0 -7
  722. package/build/components/editor-notices/index.js +0 -80
  723. package/build/components/editor-snackbars/index.js +0 -47
  724. package/build/components/entities-saved-states/entity-record-item.js +0 -79
  725. package/build/components/entities-saved-states/entity-record-item.js.map +0 -7
  726. package/build/components/entities-saved-states/entity-type-list.js +0 -135
  727. package/build/components/entities-saved-states/hooks/use-is-dirty.js +0 -88
  728. package/build/components/entities-saved-states/index.js +0 -216
  729. package/build/components/error-boundary/index.js +0 -84
  730. package/build/components/global-keyboard-shortcuts/index.js +0 -106
  731. package/build/components/global-keyboard-shortcuts/register-shortcuts.js +0 -156
  732. package/build/components/global-styles/block-link.js +0 -72
  733. package/build/components/global-styles/header.js +0 -56
  734. package/build/components/global-styles/hooks.js +0 -178
  735. package/build/components/global-styles/index.js +0 -140
  736. package/build/components/global-styles/menu.js +0 -97
  737. package/build/components/global-styles-provider/index.js +0 -181
  738. package/build/components/global-styles-renderer/index.js +0 -57
  739. package/build/components/global-styles-sidebar/default-sidebar.js +0 -68
  740. package/build/components/global-styles-sidebar/index.js +0 -184
  741. package/build/components/global-styles-sidebar/welcome-guide-image.js +0 -39
  742. package/build/components/global-styles-sidebar/welcome-guide.js +0 -145
  743. package/build/components/header/back-button.js +0 -52
  744. package/build/components/header/index.js +0 -211
  745. package/build/components/index.js +0 -316
  746. package/build/components/index.js.map +0 -7
  747. package/build/components/inserter-sidebar/index.js +0 -108
  748. package/build/components/keyboard-shortcut-help-modal/config.js +0 -88
  749. package/build/components/keyboard-shortcut-help-modal/dynamic-shortcut.js +0 -69
  750. package/build/components/keyboard-shortcut-help-modal/index.js +0 -187
  751. package/build/components/keyboard-shortcut-help-modal/shortcut.js +0 -82
  752. package/build/components/list-view-sidebar/index.js +0 -140
  753. package/build/components/list-view-sidebar/list-view-outline.js +0 -62
  754. package/build/components/local-autosave-monitor/index.js +0 -170
  755. package/build/components/media-categories/index.js +0 -202
  756. package/build/components/mode-switcher/index.js +0 -93
  757. package/build/components/more-menu/copy-content-menu-item.js +0 -65
  758. package/build/components/more-menu/index.js +0 -190
  759. package/build/components/more-menu/tools-more-menu-group.js +0 -31
  760. package/build/components/more-menu/view-more-menu-group.js +0 -34
  761. package/build/components/page-attributes/check.js +0 -47
  762. package/build/components/page-attributes/order.js +0 -76
  763. package/build/components/page-attributes/panel.js +0 -60
  764. package/build/components/page-attributes/parent.js +0 -290
  765. package/build/components/page-attributes/parent.js.map +0 -7
  766. package/build/components/pattern-duplicate-modal/index.js +0 -77
  767. package/build/components/pattern-overrides-panel/index.js +0 -42
  768. package/build/components/pattern-rename-modal/index.js +0 -70
  769. package/build/components/plugin-document-setting-panel/index.js +0 -90
  770. package/build/components/plugin-more-menu-item/index.js +0 -42
  771. package/build/components/plugin-post-publish-panel/index.js +0 -51
  772. package/build/components/plugin-post-status-info/index.js +0 -32
  773. package/build/components/plugin-pre-publish-panel/index.js +0 -51
  774. package/build/components/plugin-preview-menu-item/index.js +0 -42
  775. package/build/components/plugin-sidebar/index.js +0 -39
  776. package/build/components/plugin-sidebar-more-menu-item/index.js +0 -38
  777. package/build/components/post-actions/actions.js +0 -156
  778. package/build/components/post-actions/index.js +0 -148
  779. package/build/components/post-actions/set-as-homepage.js +0 -162
  780. package/build/components/post-actions/set-as-posts-page.js +0 -155
  781. package/build/components/post-author/check.js +0 -53
  782. package/build/components/post-author/combobox.js +0 -60
  783. package/build/components/post-author/combobox.js.map +0 -7
  784. package/build/components/post-author/constants.js +0 -42
  785. package/build/components/post-author/hook.js +0 -87
  786. package/build/components/post-author/index.js +0 -54
  787. package/build/components/post-author/panel.js +0 -118
  788. package/build/components/post-author/select.js +0 -53
  789. package/build/components/post-author/select.js.map +0 -7
  790. package/build/components/post-card-panel/index.js +0 -142
  791. package/build/components/post-comments/index.js +0 -68
  792. package/build/components/post-content-information/index.js +0 -81
  793. package/build/components/post-discussion/panel.js +0 -146
  794. package/build/components/post-excerpt/check.js +0 -42
  795. package/build/components/post-excerpt/index.js +0 -88
  796. package/build/components/post-excerpt/index.js.map +0 -7
  797. package/build/components/post-excerpt/panel.js +0 -200
  798. package/build/components/post-excerpt/plugin.js +0 -34
  799. package/build/components/post-featured-image/check.js +0 -43
  800. package/build/components/post-featured-image/index.js +0 -308
  801. package/build/components/post-featured-image/panel.js +0 -76
  802. package/build/components/post-fields/index.js +0 -49
  803. package/build/components/post-format/check.js +0 -50
  804. package/build/components/post-format/index.js +0 -126
  805. package/build/components/post-format/panel.js +0 -104
  806. package/build/components/post-last-edited-panel/index.js +0 -47
  807. package/build/components/post-last-revision/check.js +0 -54
  808. package/build/components/post-last-revision/index.js +0 -95
  809. package/build/components/post-last-revision/panel.js +0 -44
  810. package/build/components/post-locked-modal/index.js +0 -236
  811. package/build/components/post-panel-row/index.js +0 -54
  812. package/build/components/post-panel-section/index.js +0 -43
  813. package/build/components/post-pending-status/check.js +0 -47
  814. package/build/components/post-pending-status/index.js +0 -68
  815. package/build/components/post-pending-status/index.js.map +0 -7
  816. package/build/components/post-pingbacks/index.js +0 -60
  817. package/build/components/post-pingbacks/index.js.map +0 -7
  818. package/build/components/post-preview-button/index.js +0 -180
  819. package/build/components/post-publish-button/index.js +0 -209
  820. package/build/components/post-publish-button/label.js +0 -83
  821. package/build/components/post-publish-button/post-publish-button-or-toggle.js +0 -91
  822. package/build/components/post-publish-panel/index.js +0 -195
  823. package/build/components/post-publish-panel/index.js.map +0 -7
  824. package/build/components/post-publish-panel/maybe-category-panel.js +0 -93
  825. package/build/components/post-publish-panel/maybe-post-format-panel.js +0 -91
  826. package/build/components/post-publish-panel/maybe-tags-panel.js +0 -103
  827. package/build/components/post-publish-panel/maybe-upload-media.js +0 -220
  828. package/build/components/post-publish-panel/media-util.js +0 -72
  829. package/build/components/post-publish-panel/postpublish.js +0 -180
  830. package/build/components/post-publish-panel/postpublish.js.map +0 -7
  831. package/build/components/post-publish-panel/prepublish.js +0 -165
  832. package/build/components/post-saved-state/index.js +0 -156
  833. package/build/components/post-schedule/check.js +0 -37
  834. package/build/components/post-schedule/index.js +0 -109
  835. package/build/components/post-schedule/label.js +0 -118
  836. package/build/components/post-schedule/panel.js +0 -100
  837. package/build/components/post-status/index.js +0 -275
  838. package/build/components/post-status/index.js.map +0 -7
  839. package/build/components/post-sticky/check.js +0 -41
  840. package/build/components/post-sticky/index.js +0 -59
  841. package/build/components/post-sticky/index.js.map +0 -7
  842. package/build/components/post-sticky/panel.js +0 -49
  843. package/build/components/post-switch-to-draft-button/index.js +0 -102
  844. package/build/components/post-sync-status/index.js +0 -56
  845. package/build/components/post-taxonomies/check.js +0 -46
  846. package/build/components/post-taxonomies/flat-term-selector.js +0 -247
  847. package/build/components/post-taxonomies/hierarchical-term-selector.js +0 -378
  848. package/build/components/post-taxonomies/hierarchical-term-selector.js.map +0 -7
  849. package/build/components/post-taxonomies/index.js +0 -76
  850. package/build/components/post-taxonomies/most-used-terms.js +0 -86
  851. package/build/components/post-taxonomies/panel.js +0 -83
  852. package/build/components/post-template/block-theme.js +0 -198
  853. package/build/components/post-template/classic-theme.js +0 -224
  854. package/build/components/post-template/classic-theme.js.map +0 -7
  855. package/build/components/post-template/create-new-template-modal.js +0 -163
  856. package/build/components/post-template/create-new-template-modal.js.map +0 -7
  857. package/build/components/post-template/create-new-template.js +0 -79
  858. package/build/components/post-template/hooks.js +0 -111
  859. package/build/components/post-template/panel.js +0 -87
  860. package/build/components/post-template/reset-default-template.js +0 -57
  861. package/build/components/post-template/swap-template-button.js +0 -118
  862. package/build/components/post-template/swap-template-button.js.map +0 -7
  863. package/build/components/post-text-editor/index.js +0 -99
  864. package/build/components/post-title/constants.js +0 -34
  865. package/build/components/post-title/index.js +0 -180
  866. package/build/components/post-title/post-title-raw.js +0 -92
  867. package/build/components/post-title/post-title-raw.js.map +0 -7
  868. package/build/components/post-title/use-post-title-focus.js +0 -56
  869. package/build/components/post-title/use-post-title.js +0 -41
  870. package/build/components/post-transform-panel/hooks.js +0 -103
  871. package/build/components/post-transform-panel/index.js +0 -103
  872. package/build/components/post-trash/check.js +0 -51
  873. package/build/components/post-trash/index.js +0 -96
  874. package/build/components/post-type-support-check/index.js +0 -53
  875. package/build/components/post-url/check.js +0 -51
  876. package/build/components/post-url/index.js +0 -179
  877. package/build/components/post-url/label.js +0 -44
  878. package/build/components/post-url/panel.js +0 -134
  879. package/build/components/post-view-link/index.js +0 -62
  880. package/build/components/post-visibility/check.js +0 -34
  881. package/build/components/post-visibility/index.js +0 -99
  882. package/build/components/post-visibility/index.js.map +0 -7
  883. package/build/components/post-visibility/label.js +0 -44
  884. package/build/components/post-visibility/utils.js +0 -48
  885. package/build/components/posts-per-page/index.js +0 -127
  886. package/build/components/preferences-modal/enable-panel.js +0 -56
  887. package/build/components/preferences-modal/enable-plugin-document-setting-panel.js +0 -45
  888. package/build/components/preferences-modal/enable-publish-sidebar.js +0 -46
  889. package/build/components/preferences-modal/index.js +0 -406
  890. package/build/components/preview-dropdown/index.js +0 -206
  891. package/build/components/preview-dropdown/index.js.map +0 -7
  892. package/build/components/provider/disable-non-page-content-blocks.js +0 -112
  893. package/build/components/provider/index.js +0 -311
  894. package/build/components/provider/index.js.map +0 -7
  895. package/build/components/provider/navigation-block-editing-mode.js +0 -45
  896. package/build/components/provider/use-auto-switch-editor-sidebars.js +0 -63
  897. package/build/components/provider/use-block-editor-settings.js +0 -337
  898. package/build/components/provider/use-block-editor-settings.js.map +0 -7
  899. package/build/components/provider/use-hide-blocks-from-inserter.js +0 -75
  900. package/build/components/provider/use-post-content-blocks.js +0 -55
  901. package/build/components/provider/with-registry-provider.js +0 -66
  902. package/build/components/resizable-editor/index.js +0 -111
  903. package/build/components/resizable-editor/resize-handle.js +0 -71
  904. package/build/components/save-publish-panels/index.js +0 -134
  905. package/build/components/sidebar/constants.js +0 -34
  906. package/build/components/sidebar/header.js +0 -65
  907. package/build/components/sidebar/header.js.map +0 -7
  908. package/build/components/sidebar/index.js +0 -180
  909. package/build/components/sidebar/post-summary.js +0 -119
  910. package/build/components/site-discussion/index.js +0 -144
  911. package/build/components/start-page-options/index.js +0 -177
  912. package/build/components/start-page-options/index.js.map +0 -7
  913. package/build/components/start-template-options/index.js +0 -209
  914. package/build/components/style-book/categories.js +0 -88
  915. package/build/components/style-book/color-examples.js +0 -66
  916. package/build/components/style-book/constants.js +0 -321
  917. package/build/components/style-book/duotone-examples.js +0 -70
  918. package/build/components/style-book/examples.js +0 -239
  919. package/build/components/style-book/index.js +0 -627
  920. package/build/components/style-book/types.js +0 -19
  921. package/build/components/styles-canvas/index.js +0 -140
  922. package/build/components/styles-canvas/revisions.js +0 -123
  923. package/build/components/styles-canvas/style-book.js +0 -70
  924. package/build/components/table-of-contents/index.js +0 -83
  925. package/build/components/table-of-contents/panel.js +0 -113
  926. package/build/components/template-content-panel/index.js +0 -84
  927. package/build/components/template-part-content-panel/index.js +0 -69
  928. package/build/components/template-part-menu-items/convert-to-regular.js +0 -52
  929. package/build/components/template-part-menu-items/convert-to-template-part.js +0 -89
  930. package/build/components/template-part-menu-items/index.js +0 -71
  931. package/build/components/template-validation-notice/index.js +0 -81
  932. package/build/components/text-editor/index.js +0 -82
  933. package/build/components/theme-support-check/index.js +0 -48
  934. package/build/components/time-to-read/index.js +0 -60
  935. package/build/components/unsaved-changes-warning/index.js +0 -49
  936. package/build/components/visual-editor/edit-template-blocks-notification.js +0 -91
  937. package/build/components/visual-editor/index.js +0 -421
  938. package/build/components/visual-editor/use-edit-content-only-section-exit.js +0 -64
  939. package/build/components/visual-editor/use-padding-appender.js +0 -75
  940. package/build/components/visual-editor/use-select-nearest-editable-block.js +0 -96
  941. package/build/components/visual-editor/use-zoom-out-mode-exit.js +0 -60
  942. package/build/components/word-count/index.js +0 -39
  943. package/build/components/zoom-out-toggle/index.js +0 -109
  944. package/build/dataviews/api.js +0 -71
  945. package/build/dataviews/fields/content-preview/content-preview-view.js +0 -95
  946. package/build/dataviews/fields/content-preview/index.js +0 -46
  947. package/build/dataviews/store/private-actions.js +0 -194
  948. package/build/dataviews/store/private-selectors.js +0 -44
  949. package/build/dataviews/store/reducer.js +0 -98
  950. package/build/hooks/custom-sources-backwards-compatibility.js +0 -79
  951. package/build/hooks/default-autocompleters.js +0 -15
  952. package/build/hooks/index.js +0 -11
  953. package/build/hooks/media-upload.js +0 -105
  954. package/build/hooks/navigation-link-view-button.js +0 -56
  955. package/build/hooks/pattern-overrides.js +0 -64
  956. package/build/hooks/pattern-overrides.js.map +0 -7
  957. package/build/hooks/push-changes-to-global-styles/index.js +0 -324
  958. package/build/hooks/push-changes-to-global-styles/index.js.map +0 -7
  959. package/build/hooks/template-part-navigation-edit-button.js +0 -90
  960. package/build/hooks/use-global-styles-output.js +0 -76
  961. package/build/index.js +0 -46
  962. package/build/index.js.map +0 -7
  963. package/build/lock-unlock.js +0 -37
  964. package/build/private-apis.js +0 -89
  965. package/build/private-apis.js.map +0 -7
  966. package/build/store/actions.js +0 -771
  967. package/build/store/constants.js +0 -83
  968. package/build/store/defaults.js +0 -39
  969. package/build/store/index.js +0 -61
  970. package/build/store/local-autosave.js +0 -53
  971. package/build/store/private-actions.js +0 -417
  972. package/build/store/private-actions.js.map +0 -7
  973. package/build/store/private-selectors.js +0 -231
  974. package/build/store/reducer.js +0 -313
  975. package/build/store/selectors.js +0 -1020
  976. package/build/store/utils/is-template-revertable.js +0 -33
  977. package/build/store/utils/notice-builder.js +0 -132
  978. package/build/store/utils/notice-builder.js.map +0 -7
  979. package/build/utils/get-item-title.js +0 -43
  980. package/build/utils/get-template-info.js +0 -53
  981. package/build/utils/get-template-part-icon.js +0 -46
  982. package/build/utils/index.js +0 -47
  983. package/build/utils/media-sideload/index.js +0 -30
  984. package/build/utils/media-upload/index.js +0 -104
  985. package/build/utils/pageTypeBadge.js +0 -49
  986. package/build/utils/search-templates.js +0 -75
  987. package/build/utils/set-nested-value.js +0 -45
  988. package/build/utils/terms.js +0 -84
  989. package/build/utils/url.js +0 -50
  990. package/build-module/bindings/api.js +0 -16
  991. package/build-module/bindings/pattern-overrides.js +0 -78
  992. package/build-module/bindings/post-data.js +0 -116
  993. package/build-module/bindings/post-meta.js +0 -108
  994. package/build-module/bindings/term-data.js +0 -134
  995. package/build-module/components/autocompleters/index.js +0 -6
  996. package/build-module/components/autocompleters/user.js +0 -54
  997. package/build-module/components/autosave-monitor/index.js +0 -92
  998. package/build-module/components/block-removal-warnings/index.js +0 -75
  999. package/build-module/components/block-settings-menu/plugin-block-settings-menu-item.js +0 -34
  1000. package/build-module/components/block-visibility/index.js +0 -104
  1001. package/build-module/components/blog-title/index.js +0 -114
  1002. package/build-module/components/character-count/index.js +0 -15
  1003. package/build-module/components/collab-sidebar/add-comment.js +0 -93
  1004. package/build-module/components/collab-sidebar/comment-author-info.js +0 -90
  1005. package/build-module/components/collab-sidebar/comment-form.js +0 -86
  1006. package/build-module/components/collab-sidebar/comment-indicator-toolbar.js +0 -83
  1007. package/build-module/components/collab-sidebar/comment-menu-item.js +0 -60
  1008. package/build-module/components/collab-sidebar/comments.js +0 -793
  1009. package/build-module/components/collab-sidebar/constants.js +0 -10
  1010. package/build-module/components/collab-sidebar/hooks.js +0 -347
  1011. package/build-module/components/collab-sidebar/hooks.js.map +0 -7
  1012. package/build-module/components/collab-sidebar/index.js +0 -216
  1013. package/build-module/components/collab-sidebar/utils.js +0 -83
  1014. package/build-module/components/collapsible-block-toolbar/index.js +0 -60
  1015. package/build-module/components/commands/index.js +0 -400
  1016. package/build-module/components/deprecated.js +0 -311
  1017. package/build-module/components/document-bar/index.js +0 -189
  1018. package/build-module/components/document-bar/useEditedSectionDetails.js +0 -74
  1019. package/build-module/components/document-outline/check.js +0 -17
  1020. package/build-module/components/document-outline/index.js +0 -186
  1021. package/build-module/components/document-outline/item.js +0 -57
  1022. package/build-module/components/document-tools/index.js +0 -146
  1023. package/build-module/components/editor/index.js +0 -117
  1024. package/build-module/components/editor/index.js.map +0 -7
  1025. package/build-module/components/editor-history/redo.js +0 -36
  1026. package/build-module/components/editor-history/undo.js +0 -35
  1027. package/build-module/components/editor-interface/index.js +0 -160
  1028. package/build-module/components/editor-interface/index.js.map +0 -7
  1029. package/build-module/components/editor-notices/index.js +0 -45
  1030. package/build-module/components/editor-snackbars/index.js +0 -26
  1031. package/build-module/components/entities-saved-states/entity-record-item.js +0 -58
  1032. package/build-module/components/entities-saved-states/entity-record-item.js.map +0 -7
  1033. package/build-module/components/entities-saved-states/entity-type-list.js +0 -104
  1034. package/build-module/components/entities-saved-states/hooks/use-is-dirty.js +0 -63
  1035. package/build-module/components/entities-saved-states/index.js +0 -188
  1036. package/build-module/components/error-boundary/index.js +0 -67
  1037. package/build-module/components/global-keyboard-shortcuts/index.js +0 -85
  1038. package/build-module/components/global-keyboard-shortcuts/register-shortcuts.js +0 -135
  1039. package/build-module/components/global-styles/block-link.js +0 -47
  1040. package/build-module/components/global-styles/header.js +0 -42
  1041. package/build-module/components/global-styles/hooks.js +0 -155
  1042. package/build-module/components/global-styles/index.js +0 -113
  1043. package/build-module/components/global-styles/menu.js +0 -72
  1044. package/build-module/components/global-styles-provider/index.js +0 -156
  1045. package/build-module/components/global-styles-renderer/index.js +0 -32
  1046. package/build-module/components/global-styles-sidebar/default-sidebar.js +0 -50
  1047. package/build-module/components/global-styles-sidebar/index.js +0 -153
  1048. package/build-module/components/global-styles-sidebar/welcome-guide-image.js +0 -18
  1049. package/build-module/components/global-styles-sidebar/welcome-guide.js +0 -114
  1050. package/build-module/components/header/back-button.js +0 -30
  1051. package/build-module/components/header/index.js +0 -184
  1052. package/build-module/components/index.js +0 -193
  1053. package/build-module/components/inserter-sidebar/index.js +0 -90
  1054. package/build-module/components/keyboard-shortcut-help-modal/config.js +0 -63
  1055. package/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js +0 -38
  1056. package/build-module/components/keyboard-shortcut-help-modal/index.js +0 -159
  1057. package/build-module/components/keyboard-shortcut-help-modal/shortcut.js +0 -61
  1058. package/build-module/components/list-view-sidebar/index.js +0 -112
  1059. package/build-module/components/list-view-sidebar/list-view-outline.js +0 -31
  1060. package/build-module/components/local-autosave-monitor/index.js +0 -142
  1061. package/build-module/components/media-categories/index.js +0 -181
  1062. package/build-module/components/mode-switcher/index.js +0 -72
  1063. package/build-module/components/more-menu/copy-content-menu-item.js +0 -44
  1064. package/build-module/components/more-menu/index.js +0 -167
  1065. package/build-module/components/more-menu/tools-more-menu-group.js +0 -10
  1066. package/build-module/components/more-menu/view-more-menu-group.js +0 -13
  1067. package/build-module/components/page-attributes/check.js +0 -22
  1068. package/build-module/components/page-attributes/order.js +0 -49
  1069. package/build-module/components/page-attributes/panel.js +0 -29
  1070. package/build-module/components/page-attributes/parent.js +0 -262
  1071. package/build-module/components/page-attributes/parent.js.map +0 -7
  1072. package/build-module/components/pattern-duplicate-modal/index.js +0 -52
  1073. package/build-module/components/pattern-overrides-panel/index.js +0 -21
  1074. package/build-module/components/pattern-rename-modal/index.js +0 -45
  1075. package/build-module/components/plugin-document-setting-panel/index.js +0 -59
  1076. package/build-module/components/plugin-more-menu-item/index.js +0 -21
  1077. package/build-module/components/plugin-post-publish-panel/index.js +0 -30
  1078. package/build-module/components/plugin-post-status-info/index.js +0 -11
  1079. package/build-module/components/plugin-pre-publish-panel/index.js +0 -30
  1080. package/build-module/components/plugin-preview-menu-item/index.js +0 -21
  1081. package/build-module/components/plugin-sidebar/index.js +0 -18
  1082. package/build-module/components/plugin-sidebar-more-menu-item/index.js +0 -17
  1083. package/build-module/components/post-actions/actions.js +0 -131
  1084. package/build-module/components/post-actions/index.js +0 -127
  1085. package/build-module/components/post-actions/set-as-homepage.js +0 -142
  1086. package/build-module/components/post-actions/set-as-posts-page.js +0 -135
  1087. package/build-module/components/post-author/check.js +0 -22
  1088. package/build-module/components/post-author/combobox.js +0 -39
  1089. package/build-module/components/post-author/combobox.js.map +0 -7
  1090. package/build-module/components/post-author/constants.js +0 -16
  1091. package/build-module/components/post-author/hook.js +0 -62
  1092. package/build-module/components/post-author/index.js +0 -23
  1093. package/build-module/components/post-author/panel.js +0 -83
  1094. package/build-module/components/post-author/select.js +0 -32
  1095. package/build-module/components/post-author/select.js.map +0 -7
  1096. package/build-module/components/post-card-panel/index.js +0 -120
  1097. package/build-module/components/post-comments/index.js +0 -50
  1098. package/build-module/components/post-content-information/index.js +0 -63
  1099. package/build-module/components/post-discussion/panel.js +0 -119
  1100. package/build-module/components/post-excerpt/check.js +0 -11
  1101. package/build-module/components/post-excerpt/index.js +0 -67
  1102. package/build-module/components/post-excerpt/index.js.map +0 -7
  1103. package/build-module/components/post-excerpt/panel.js +0 -171
  1104. package/build-module/components/post-excerpt/plugin.js +0 -13
  1105. package/build-module/components/post-featured-image/check.js +0 -12
  1106. package/build-module/components/post-featured-image/index.js +0 -289
  1107. package/build-module/components/post-featured-image/panel.js +0 -45
  1108. package/build-module/components/post-fields/index.js +0 -28
  1109. package/build-module/components/post-format/check.js +0 -19
  1110. package/build-module/components/post-format/index.js +0 -91
  1111. package/build-module/components/post-format/panel.js +0 -73
  1112. package/build-module/components/post-last-edited-panel/index.js +0 -26
  1113. package/build-module/components/post-last-revision/check.js +0 -23
  1114. package/build-module/components/post-last-revision/index.js +0 -60
  1115. package/build-module/components/post-last-revision/panel.js +0 -13
  1116. package/build-module/components/post-locked-modal/index.js +0 -221
  1117. package/build-module/components/post-panel-row/index.js +0 -23
  1118. package/build-module/components/post-panel-section/index.js +0 -12
  1119. package/build-module/components/post-pending-status/check.js +0 -22
  1120. package/build-module/components/post-pending-status/index.js +0 -33
  1121. package/build-module/components/post-pending-status/index.js.map +0 -7
  1122. package/build-module/components/post-pingbacks/index.js +0 -39
  1123. package/build-module/components/post-pingbacks/index.js.map +0 -7
  1124. package/build-module/components/post-preview-button/index.js +0 -159
  1125. package/build-module/components/post-publish-button/index.js +0 -174
  1126. package/build-module/components/post-publish-button/label.js +0 -62
  1127. package/build-module/components/post-publish-button/post-publish-button-or-toggle.js +0 -60
  1128. package/build-module/components/post-publish-panel/index.js +0 -166
  1129. package/build-module/components/post-publish-panel/index.js.map +0 -7
  1130. package/build-module/components/post-publish-panel/maybe-category-panel.js +0 -62
  1131. package/build-module/components/post-publish-panel/maybe-post-format-panel.js +0 -70
  1132. package/build-module/components/post-publish-panel/maybe-tags-panel.js +0 -72
  1133. package/build-module/components/post-publish-panel/maybe-upload-media.js +0 -205
  1134. package/build-module/components/post-publish-panel/media-util.js +0 -46
  1135. package/build-module/components/post-publish-panel/postpublish.js +0 -155
  1136. package/build-module/components/post-publish-panel/postpublish.js.map +0 -7
  1137. package/build-module/components/post-publish-panel/prepublish.js +0 -134
  1138. package/build-module/components/post-saved-state/index.js +0 -128
  1139. package/build-module/components/post-schedule/check.js +0 -16
  1140. package/build-module/components/post-schedule/index.js +0 -84
  1141. package/build-module/components/post-schedule/label.js +0 -91
  1142. package/build-module/components/post-schedule/panel.js +0 -69
  1143. package/build-module/components/post-status/index.js +0 -253
  1144. package/build-module/components/post-status/index.js.map +0 -7
  1145. package/build-module/components/post-sticky/check.js +0 -20
  1146. package/build-module/components/post-sticky/index.js +0 -28
  1147. package/build-module/components/post-sticky/index.js.map +0 -7
  1148. package/build-module/components/post-sticky/panel.js +0 -14
  1149. package/build-module/components/post-switch-to-draft-button/index.js +0 -74
  1150. package/build-module/components/post-sync-status/index.js +0 -25
  1151. package/build-module/components/post-taxonomies/check.js +0 -25
  1152. package/build-module/components/post-taxonomies/flat-term-selector.js +0 -216
  1153. package/build-module/components/post-taxonomies/hierarchical-term-selector.js +0 -364
  1154. package/build-module/components/post-taxonomies/hierarchical-term-selector.js.map +0 -7
  1155. package/build-module/components/post-taxonomies/index.js +0 -41
  1156. package/build-module/components/post-taxonomies/most-used-terms.js +0 -65
  1157. package/build-module/components/post-taxonomies/panel.js +0 -52
  1158. package/build-module/components/post-template/block-theme.js +0 -167
  1159. package/build-module/components/post-template/classic-theme.js +0 -193
  1160. package/build-module/components/post-template/classic-theme.js.map +0 -7
  1161. package/build-module/components/post-template/create-new-template-modal.js +0 -148
  1162. package/build-module/components/post-template/create-new-template-modal.js.map +0 -7
  1163. package/build-module/components/post-template/create-new-template.js +0 -48
  1164. package/build-module/components/post-template/hooks.js +0 -83
  1165. package/build-module/components/post-template/panel.js +0 -56
  1166. package/build-module/components/post-template/reset-default-template.js +0 -40
  1167. package/build-module/components/post-template/swap-template-button.js +0 -97
  1168. package/build-module/components/post-template/swap-template-button.js.map +0 -7
  1169. package/build-module/components/post-text-editor/index.js +0 -68
  1170. package/build-module/components/post-title/constants.js +0 -8
  1171. package/build-module/components/post-title/index.js +0 -153
  1172. package/build-module/components/post-title/post-title-raw.js +0 -61
  1173. package/build-module/components/post-title/post-title-raw.js.map +0 -7
  1174. package/build-module/components/post-title/use-post-title-focus.js +0 -35
  1175. package/build-module/components/post-title/use-post-title.js +0 -20
  1176. package/build-module/components/post-transform-panel/hooks.js +0 -78
  1177. package/build-module/components/post-transform-panel/index.js +0 -85
  1178. package/build-module/components/post-trash/check.js +0 -30
  1179. package/build-module/components/post-trash/index.js +0 -68
  1180. package/build-module/components/post-type-support-check/index.js +0 -32
  1181. package/build-module/components/post-url/check.js +0 -30
  1182. package/build-module/components/post-url/index.js +0 -165
  1183. package/build-module/components/post-url/label.js +0 -19
  1184. package/build-module/components/post-url/panel.js +0 -103
  1185. package/build-module/components/post-view-link/index.js +0 -41
  1186. package/build-module/components/post-visibility/check.js +0 -13
  1187. package/build-module/components/post-visibility/index.js +0 -82
  1188. package/build-module/components/post-visibility/index.js.map +0 -7
  1189. package/build-module/components/post-visibility/label.js +0 -19
  1190. package/build-module/components/post-visibility/utils.js +0 -23
  1191. package/build-module/components/posts-per-page/index.js +0 -100
  1192. package/build-module/components/preferences-modal/enable-panel.js +0 -35
  1193. package/build-module/components/preferences-modal/enable-plugin-document-setting-panel.js +0 -14
  1194. package/build-module/components/preferences-modal/enable-publish-sidebar.js +0 -25
  1195. package/build-module/components/preferences-modal/index.js +0 -378
  1196. package/build-module/components/preview-dropdown/index.js +0 -182
  1197. package/build-module/components/preview-dropdown/index.js.map +0 -7
  1198. package/build-module/components/provider/disable-non-page-content-blocks.js +0 -81
  1199. package/build-module/components/provider/index.js +0 -283
  1200. package/build-module/components/provider/index.js.map +0 -7
  1201. package/build-module/components/provider/navigation-block-editing-mode.js +0 -24
  1202. package/build-module/components/provider/use-auto-switch-editor-sidebars.js +0 -42
  1203. package/build-module/components/provider/use-block-editor-settings.js +0 -314
  1204. package/build-module/components/provider/use-block-editor-settings.js.map +0 -7
  1205. package/build-module/components/provider/use-hide-blocks-from-inserter.js +0 -50
  1206. package/build-module/components/provider/use-post-content-blocks.js +0 -34
  1207. package/build-module/components/provider/with-registry-provider.js +0 -45
  1208. package/build-module/components/resizable-editor/index.js +0 -80
  1209. package/build-module/components/resizable-editor/resize-handle.js +0 -54
  1210. package/build-module/components/save-publish-panels/index.js +0 -99
  1211. package/build-module/components/sidebar/constants.js +0 -9
  1212. package/build-module/components/sidebar/header.js +0 -44
  1213. package/build-module/components/sidebar/header.js.map +0 -7
  1214. package/build-module/components/sidebar/index.js +0 -162
  1215. package/build-module/components/sidebar/post-summary.js +0 -88
  1216. package/build-module/components/site-discussion/index.js +0 -119
  1217. package/build-module/components/start-page-options/index.js +0 -155
  1218. package/build-module/components/start-page-options/index.js.map +0 -7
  1219. package/build-module/components/start-template-options/index.js +0 -188
  1220. package/build-module/components/style-book/categories.js +0 -65
  1221. package/build-module/components/style-book/color-examples.js +0 -38
  1222. package/build-module/components/style-book/constants.js +0 -291
  1223. package/build-module/components/style-book/duotone-examples.js +0 -49
  1224. package/build-module/components/style-book/examples.js +0 -209
  1225. package/build-module/components/style-book/index.js +0 -617
  1226. package/build-module/components/style-book/types.js +0 -1
  1227. package/build-module/components/styles-canvas/index.js +0 -105
  1228. package/build-module/components/styles-canvas/revisions.js +0 -108
  1229. package/build-module/components/styles-canvas/style-book.js +0 -39
  1230. package/build-module/components/table-of-contents/index.js +0 -52
  1231. package/build-module/components/table-of-contents/panel.js +0 -82
  1232. package/build-module/components/template-content-panel/index.js +0 -63
  1233. package/build-module/components/template-part-content-panel/index.js +0 -51
  1234. package/build-module/components/template-part-menu-items/convert-to-regular.js +0 -31
  1235. package/build-module/components/template-part-menu-items/convert-to-template-part.js +0 -68
  1236. package/build-module/components/template-part-menu-items/index.js +0 -43
  1237. package/build-module/components/template-validation-notice/index.js +0 -63
  1238. package/build-module/components/text-editor/index.js +0 -51
  1239. package/build-module/components/theme-support-check/index.js +0 -27
  1240. package/build-module/components/time-to-read/index.js +0 -39
  1241. package/build-module/components/unsaved-changes-warning/index.js +0 -28
  1242. package/build-module/components/visual-editor/edit-template-blocks-notification.js +0 -70
  1243. package/build-module/components/visual-editor/index.js +0 -405
  1244. package/build-module/components/visual-editor/use-edit-content-only-section-exit.js +0 -39
  1245. package/build-module/components/visual-editor/use-padding-appender.js +0 -50
  1246. package/build-module/components/visual-editor/use-select-nearest-editable-block.js +0 -75
  1247. package/build-module/components/visual-editor/use-zoom-out-mode-exit.js +0 -35
  1248. package/build-module/components/word-count/index.js +0 -18
  1249. package/build-module/components/zoom-out-toggle/index.js +0 -91
  1250. package/build-module/dataviews/api.js +0 -43
  1251. package/build-module/dataviews/fields/content-preview/content-preview-view.js +0 -76
  1252. package/build-module/dataviews/fields/content-preview/index.js +0 -15
  1253. package/build-module/dataviews/store/private-actions.js +0 -184
  1254. package/build-module/dataviews/store/private-selectors.js +0 -17
  1255. package/build-module/dataviews/store/reducer.js +0 -77
  1256. package/build-module/hooks/custom-sources-backwards-compatibility.js +0 -77
  1257. package/build-module/hooks/default-autocompleters.js +0 -13
  1258. package/build-module/hooks/index.js +0 -9
  1259. package/build-module/hooks/media-upload.js +0 -84
  1260. package/build-module/hooks/navigation-link-view-button.js +0 -58
  1261. package/build-module/hooks/pattern-overrides.js +0 -62
  1262. package/build-module/hooks/pattern-overrides.js.map +0 -7
  1263. package/build-module/hooks/push-changes-to-global-styles/index.js +0 -310
  1264. package/build-module/hooks/push-changes-to-global-styles/index.js.map +0 -7
  1265. package/build-module/hooks/template-part-navigation-edit-button.js +0 -91
  1266. package/build-module/hooks/use-global-styles-output.js +0 -50
  1267. package/build-module/index.js +0 -14
  1268. package/build-module/lock-unlock.js +0 -11
  1269. package/build-module/private-apis.js +0 -58
  1270. package/build-module/private-apis.js.map +0 -7
  1271. package/build-module/store/actions.js +0 -680
  1272. package/build-module/store/constants.js +0 -45
  1273. package/build-module/store/defaults.js +0 -14
  1274. package/build-module/store/index.js +0 -25
  1275. package/build-module/store/local-autosave.js +0 -26
  1276. package/build-module/store/private-actions.js +0 -369
  1277. package/build-module/store/private-selectors.js +0 -194
  1278. package/build-module/store/reducer.js +0 -254
  1279. package/build-module/store/selectors.js +0 -873
  1280. package/build-module/store/utils/is-template-revertable.js +0 -12
  1281. package/build-module/store/utils/notice-builder.js +0 -105
  1282. package/build-module/store/utils/notice-builder.js.map +0 -7
  1283. package/build-module/utils/get-item-title.js +0 -18
  1284. package/build-module/utils/get-template-info.js +0 -28
  1285. package/build-module/utils/get-template-part-icon.js +0 -27
  1286. package/build-module/utils/index.js +0 -10
  1287. package/build-module/utils/media-sideload/index.js +0 -9
  1288. package/build-module/utils/media-upload/index.js +0 -83
  1289. package/build-module/utils/pageTypeBadge.js +0 -28
  1290. package/build-module/utils/search-templates.js +0 -40
  1291. package/build-module/utils/set-nested-value.js +0 -24
  1292. package/build-module/utils/terms.js +0 -56
  1293. package/build-module/utils/url.js +0 -15
  1294. package/tsconfig.json +0 -39
  1295. package/tsconfig.tsbuildinfo +0 -1
  1296. /package/build/bindings/{api.js.map → api.cjs.map} +0 -0
  1297. /package/build/bindings/{pattern-overrides.js.map → pattern-overrides.cjs.map} +0 -0
  1298. /package/build/bindings/{post-data.js.map → post-data.cjs.map} +0 -0
  1299. /package/build/bindings/{post-meta.js.map → post-meta.cjs.map} +0 -0
  1300. /package/build/bindings/{term-data.js.map → term-data.cjs.map} +0 -0
  1301. /package/build/components/autocompleters/{index.js.map → index.cjs.map} +0 -0
  1302. /package/build/components/autocompleters/{user.js.map → user.cjs.map} +0 -0
  1303. /package/build/components/autosave-monitor/{index.js.map → index.cjs.map} +0 -0
  1304. /package/build/components/block-removal-warnings/{index.js.map → index.cjs.map} +0 -0
  1305. /package/build/components/block-settings-menu/{plugin-block-settings-menu-item.js.map → plugin-block-settings-menu-item.cjs.map} +0 -0
  1306. /package/build/components/block-visibility/{index.js.map → index.cjs.map} +0 -0
  1307. /package/build/components/blog-title/{index.js.map → index.cjs.map} +0 -0
  1308. /package/build/components/character-count/{index.js.map → index.cjs.map} +0 -0
  1309. /package/build/components/collab-sidebar/{add-comment.js.map → add-comment.cjs.map} +0 -0
  1310. /package/build/components/collab-sidebar/{comment-author-info.js.map → comment-author-info.cjs.map} +0 -0
  1311. /package/build/components/collab-sidebar/{comment-form.js.map → comment-form.cjs.map} +0 -0
  1312. /package/build/components/collab-sidebar/{comment-indicator-toolbar.js.map → comment-indicator-toolbar.cjs.map} +0 -0
  1313. /package/build/components/collab-sidebar/{comment-menu-item.js.map → comment-menu-item.cjs.map} +0 -0
  1314. /package/build/components/collab-sidebar/{comments.js.map → comments.cjs.map} +0 -0
  1315. /package/build/components/collab-sidebar/{constants.js.map → constants.cjs.map} +0 -0
  1316. /package/build/components/collab-sidebar/{index.js.map → index.cjs.map} +0 -0
  1317. /package/build/components/collab-sidebar/{utils.js.map → utils.cjs.map} +0 -0
  1318. /package/build/components/collapsible-block-toolbar/{index.js.map → index.cjs.map} +0 -0
  1319. /package/build/components/commands/{index.js.map → index.cjs.map} +0 -0
  1320. /package/build/components/{deprecated.js.map → deprecated.cjs.map} +0 -0
  1321. /package/build/components/document-bar/{index.js.map → index.cjs.map} +0 -0
  1322. /package/build/components/document-bar/{useEditedSectionDetails.js.map → useEditedSectionDetails.cjs.map} +0 -0
  1323. /package/build/components/document-outline/{check.js.map → check.cjs.map} +0 -0
  1324. /package/build/components/document-outline/{index.js.map → index.cjs.map} +0 -0
  1325. /package/build/components/document-outline/{item.js.map → item.cjs.map} +0 -0
  1326. /package/build/components/document-tools/{index.js.map → index.cjs.map} +0 -0
  1327. /package/build/components/editor-history/{redo.js.map → redo.cjs.map} +0 -0
  1328. /package/build/components/editor-history/{undo.js.map → undo.cjs.map} +0 -0
  1329. /package/build/components/editor-notices/{index.js.map → index.cjs.map} +0 -0
  1330. /package/build/components/editor-snackbars/{index.js.map → index.cjs.map} +0 -0
  1331. /package/build/components/entities-saved-states/{entity-type-list.js.map → entity-type-list.cjs.map} +0 -0
  1332. /package/build/components/entities-saved-states/hooks/{use-is-dirty.js.map → use-is-dirty.cjs.map} +0 -0
  1333. /package/build/components/entities-saved-states/{index.js.map → index.cjs.map} +0 -0
  1334. /package/build/components/error-boundary/{index.js.map → index.cjs.map} +0 -0
  1335. /package/build/components/global-keyboard-shortcuts/{index.js.map → index.cjs.map} +0 -0
  1336. /package/build/components/global-keyboard-shortcuts/{register-shortcuts.js.map → register-shortcuts.cjs.map} +0 -0
  1337. /package/build/components/global-styles/{block-link.js.map → block-link.cjs.map} +0 -0
  1338. /package/build/components/global-styles/{header.js.map → header.cjs.map} +0 -0
  1339. /package/build/components/global-styles/{hooks.js.map → hooks.cjs.map} +0 -0
  1340. /package/build/components/global-styles/{index.js.map → index.cjs.map} +0 -0
  1341. /package/build/components/global-styles/{menu.js.map → menu.cjs.map} +0 -0
  1342. /package/build/components/global-styles-provider/{index.js.map → index.cjs.map} +0 -0
  1343. /package/build/components/global-styles-renderer/{index.js.map → index.cjs.map} +0 -0
  1344. /package/build/components/global-styles-sidebar/{default-sidebar.js.map → default-sidebar.cjs.map} +0 -0
  1345. /package/build/components/global-styles-sidebar/{index.js.map → index.cjs.map} +0 -0
  1346. /package/build/components/global-styles-sidebar/{welcome-guide-image.js.map → welcome-guide-image.cjs.map} +0 -0
  1347. /package/build/components/global-styles-sidebar/{welcome-guide.js.map → welcome-guide.cjs.map} +0 -0
  1348. /package/build/components/header/{back-button.js.map → back-button.cjs.map} +0 -0
  1349. /package/build/components/header/{index.js.map → index.cjs.map} +0 -0
  1350. /package/build/components/inserter-sidebar/{index.js.map → index.cjs.map} +0 -0
  1351. /package/build/components/keyboard-shortcut-help-modal/{config.js.map → config.cjs.map} +0 -0
  1352. /package/build/components/keyboard-shortcut-help-modal/{dynamic-shortcut.js.map → dynamic-shortcut.cjs.map} +0 -0
  1353. /package/build/components/keyboard-shortcut-help-modal/{index.js.map → index.cjs.map} +0 -0
  1354. /package/build/components/keyboard-shortcut-help-modal/{shortcut.js.map → shortcut.cjs.map} +0 -0
  1355. /package/build/components/list-view-sidebar/{index.js.map → index.cjs.map} +0 -0
  1356. /package/build/components/list-view-sidebar/{list-view-outline.js.map → list-view-outline.cjs.map} +0 -0
  1357. /package/build/components/local-autosave-monitor/{index.js.map → index.cjs.map} +0 -0
  1358. /package/build/components/media-categories/{index.js.map → index.cjs.map} +0 -0
  1359. /package/build/components/mode-switcher/{index.js.map → index.cjs.map} +0 -0
  1360. /package/build/components/more-menu/{copy-content-menu-item.js.map → copy-content-menu-item.cjs.map} +0 -0
  1361. /package/build/components/more-menu/{index.js.map → index.cjs.map} +0 -0
  1362. /package/build/components/more-menu/{tools-more-menu-group.js.map → tools-more-menu-group.cjs.map} +0 -0
  1363. /package/build/components/more-menu/{view-more-menu-group.js.map → view-more-menu-group.cjs.map} +0 -0
  1364. /package/build/components/page-attributes/{check.js.map → check.cjs.map} +0 -0
  1365. /package/build/components/page-attributes/{order.js.map → order.cjs.map} +0 -0
  1366. /package/build/components/page-attributes/{panel.js.map → panel.cjs.map} +0 -0
  1367. /package/build/components/pattern-duplicate-modal/{index.js.map → index.cjs.map} +0 -0
  1368. /package/build/components/pattern-overrides-panel/{index.js.map → index.cjs.map} +0 -0
  1369. /package/build/components/pattern-rename-modal/{index.js.map → index.cjs.map} +0 -0
  1370. /package/build/components/plugin-document-setting-panel/{index.js.map → index.cjs.map} +0 -0
  1371. /package/build/components/plugin-more-menu-item/{index.js.map → index.cjs.map} +0 -0
  1372. /package/build/components/plugin-post-publish-panel/{index.js.map → index.cjs.map} +0 -0
  1373. /package/build/components/plugin-post-status-info/{index.js.map → index.cjs.map} +0 -0
  1374. /package/build/components/plugin-pre-publish-panel/{index.js.map → index.cjs.map} +0 -0
  1375. /package/build/components/plugin-preview-menu-item/{index.js.map → index.cjs.map} +0 -0
  1376. /package/build/components/plugin-sidebar/{index.js.map → index.cjs.map} +0 -0
  1377. /package/build/components/plugin-sidebar-more-menu-item/{index.js.map → index.cjs.map} +0 -0
  1378. /package/build/components/post-actions/{actions.js.map → actions.cjs.map} +0 -0
  1379. /package/build/components/post-actions/{index.js.map → index.cjs.map} +0 -0
  1380. /package/build/components/post-actions/{set-as-homepage.js.map → set-as-homepage.cjs.map} +0 -0
  1381. /package/build/components/post-actions/{set-as-posts-page.js.map → set-as-posts-page.cjs.map} +0 -0
  1382. /package/build/components/post-author/{check.js.map → check.cjs.map} +0 -0
  1383. /package/build/components/post-author/{constants.js.map → constants.cjs.map} +0 -0
  1384. /package/build/components/post-author/{hook.js.map → hook.cjs.map} +0 -0
  1385. /package/build/components/post-author/{index.js.map → index.cjs.map} +0 -0
  1386. /package/build/components/post-author/{panel.js.map → panel.cjs.map} +0 -0
  1387. /package/build/components/post-card-panel/{index.js.map → index.cjs.map} +0 -0
  1388. /package/build/components/post-comments/{index.js.map → index.cjs.map} +0 -0
  1389. /package/build/components/post-content-information/{index.js.map → index.cjs.map} +0 -0
  1390. /package/build/components/post-discussion/{panel.js.map → panel.cjs.map} +0 -0
  1391. /package/build/components/post-excerpt/{check.js.map → check.cjs.map} +0 -0
  1392. /package/build/components/post-excerpt/{panel.js.map → panel.cjs.map} +0 -0
  1393. /package/build/components/post-excerpt/{plugin.js.map → plugin.cjs.map} +0 -0
  1394. /package/build/components/post-featured-image/{check.js.map → check.cjs.map} +0 -0
  1395. /package/build/components/post-featured-image/{index.js.map → index.cjs.map} +0 -0
  1396. /package/build/components/post-featured-image/{panel.js.map → panel.cjs.map} +0 -0
  1397. /package/build/components/post-fields/{index.js.map → index.cjs.map} +0 -0
  1398. /package/build/components/post-format/{check.js.map → check.cjs.map} +0 -0
  1399. /package/build/components/post-format/{index.js.map → index.cjs.map} +0 -0
  1400. /package/build/components/post-format/{panel.js.map → panel.cjs.map} +0 -0
  1401. /package/build/components/post-last-edited-panel/{index.js.map → index.cjs.map} +0 -0
  1402. /package/build/components/post-last-revision/{check.js.map → check.cjs.map} +0 -0
  1403. /package/build/components/post-last-revision/{index.js.map → index.cjs.map} +0 -0
  1404. /package/build/components/post-last-revision/{panel.js.map → panel.cjs.map} +0 -0
  1405. /package/build/components/post-locked-modal/{index.js.map → index.cjs.map} +0 -0
  1406. /package/build/components/post-panel-row/{index.js.map → index.cjs.map} +0 -0
  1407. /package/build/components/post-panel-section/{index.js.map → index.cjs.map} +0 -0
  1408. /package/build/components/post-pending-status/{check.js.map → check.cjs.map} +0 -0
  1409. /package/build/components/post-preview-button/{index.js.map → index.cjs.map} +0 -0
  1410. /package/build/components/post-publish-button/{index.js.map → index.cjs.map} +0 -0
  1411. /package/build/components/post-publish-button/{label.js.map → label.cjs.map} +0 -0
  1412. /package/build/components/post-publish-button/{post-publish-button-or-toggle.js.map → post-publish-button-or-toggle.cjs.map} +0 -0
  1413. /package/build/components/post-publish-panel/{maybe-category-panel.js.map → maybe-category-panel.cjs.map} +0 -0
  1414. /package/build/components/post-publish-panel/{maybe-post-format-panel.js.map → maybe-post-format-panel.cjs.map} +0 -0
  1415. /package/build/components/post-publish-panel/{maybe-tags-panel.js.map → maybe-tags-panel.cjs.map} +0 -0
  1416. /package/build/components/post-publish-panel/{maybe-upload-media.js.map → maybe-upload-media.cjs.map} +0 -0
  1417. /package/build/components/post-publish-panel/{media-util.js.map → media-util.cjs.map} +0 -0
  1418. /package/build/components/post-publish-panel/{prepublish.js.map → prepublish.cjs.map} +0 -0
  1419. /package/build/components/post-saved-state/{index.js.map → index.cjs.map} +0 -0
  1420. /package/build/components/post-schedule/{check.js.map → check.cjs.map} +0 -0
  1421. /package/build/components/post-schedule/{index.js.map → index.cjs.map} +0 -0
  1422. /package/build/components/post-schedule/{label.js.map → label.cjs.map} +0 -0
  1423. /package/build/components/post-schedule/{panel.js.map → panel.cjs.map} +0 -0
  1424. /package/build/components/post-sticky/{check.js.map → check.cjs.map} +0 -0
  1425. /package/build/components/post-sticky/{panel.js.map → panel.cjs.map} +0 -0
  1426. /package/build/components/post-switch-to-draft-button/{index.js.map → index.cjs.map} +0 -0
  1427. /package/build/components/post-sync-status/{index.js.map → index.cjs.map} +0 -0
  1428. /package/build/components/post-taxonomies/{check.js.map → check.cjs.map} +0 -0
  1429. /package/build/components/post-taxonomies/{flat-term-selector.js.map → flat-term-selector.cjs.map} +0 -0
  1430. /package/build/components/post-taxonomies/{index.js.map → index.cjs.map} +0 -0
  1431. /package/build/components/post-taxonomies/{most-used-terms.js.map → most-used-terms.cjs.map} +0 -0
  1432. /package/build/components/post-taxonomies/{panel.js.map → panel.cjs.map} +0 -0
  1433. /package/build/components/post-template/{block-theme.js.map → block-theme.cjs.map} +0 -0
  1434. /package/build/components/post-template/{create-new-template.js.map → create-new-template.cjs.map} +0 -0
  1435. /package/build/components/post-template/{hooks.js.map → hooks.cjs.map} +0 -0
  1436. /package/build/components/post-template/{panel.js.map → panel.cjs.map} +0 -0
  1437. /package/build/components/post-template/{reset-default-template.js.map → reset-default-template.cjs.map} +0 -0
  1438. /package/build/components/post-text-editor/{index.js.map → index.cjs.map} +0 -0
  1439. /package/build/components/post-title/{constants.js.map → constants.cjs.map} +0 -0
  1440. /package/build/components/post-title/{index.js.map → index.cjs.map} +0 -0
  1441. /package/build/components/post-title/{use-post-title-focus.js.map → use-post-title-focus.cjs.map} +0 -0
  1442. /package/build/components/post-title/{use-post-title.js.map → use-post-title.cjs.map} +0 -0
  1443. /package/build/components/post-transform-panel/{hooks.js.map → hooks.cjs.map} +0 -0
  1444. /package/build/components/post-transform-panel/{index.js.map → index.cjs.map} +0 -0
  1445. /package/build/components/post-trash/{check.js.map → check.cjs.map} +0 -0
  1446. /package/build/components/post-trash/{index.js.map → index.cjs.map} +0 -0
  1447. /package/build/components/post-type-support-check/{index.js.map → index.cjs.map} +0 -0
  1448. /package/build/components/post-url/{check.js.map → check.cjs.map} +0 -0
  1449. /package/build/components/post-url/{index.js.map → index.cjs.map} +0 -0
  1450. /package/build/components/post-url/{label.js.map → label.cjs.map} +0 -0
  1451. /package/build/components/post-url/{panel.js.map → panel.cjs.map} +0 -0
  1452. /package/build/components/post-view-link/{index.js.map → index.cjs.map} +0 -0
  1453. /package/build/components/post-visibility/{check.js.map → check.cjs.map} +0 -0
  1454. /package/build/components/post-visibility/{label.js.map → label.cjs.map} +0 -0
  1455. /package/build/components/post-visibility/{utils.js.map → utils.cjs.map} +0 -0
  1456. /package/build/components/posts-per-page/{index.js.map → index.cjs.map} +0 -0
  1457. /package/build/components/preferences-modal/{enable-panel.js.map → enable-panel.cjs.map} +0 -0
  1458. /package/build/components/preferences-modal/{enable-plugin-document-setting-panel.js.map → enable-plugin-document-setting-panel.cjs.map} +0 -0
  1459. /package/build/components/preferences-modal/{enable-publish-sidebar.js.map → enable-publish-sidebar.cjs.map} +0 -0
  1460. /package/build/components/preferences-modal/{index.js.map → index.cjs.map} +0 -0
  1461. /package/build/components/provider/{disable-non-page-content-blocks.js.map → disable-non-page-content-blocks.cjs.map} +0 -0
  1462. /package/build/components/provider/{navigation-block-editing-mode.js.map → navigation-block-editing-mode.cjs.map} +0 -0
  1463. /package/build/components/provider/{use-auto-switch-editor-sidebars.js.map → use-auto-switch-editor-sidebars.cjs.map} +0 -0
  1464. /package/build/components/provider/{use-hide-blocks-from-inserter.js.map → use-hide-blocks-from-inserter.cjs.map} +0 -0
  1465. /package/build/components/provider/{use-post-content-blocks.js.map → use-post-content-blocks.cjs.map} +0 -0
  1466. /package/build/components/provider/{with-registry-provider.js.map → with-registry-provider.cjs.map} +0 -0
  1467. /package/build/components/resizable-editor/{index.js.map → index.cjs.map} +0 -0
  1468. /package/build/components/resizable-editor/{resize-handle.js.map → resize-handle.cjs.map} +0 -0
  1469. /package/build/components/save-publish-panels/{index.js.map → index.cjs.map} +0 -0
  1470. /package/build/components/sidebar/{constants.js.map → constants.cjs.map} +0 -0
  1471. /package/build/components/sidebar/{index.js.map → index.cjs.map} +0 -0
  1472. /package/build/components/sidebar/{post-summary.js.map → post-summary.cjs.map} +0 -0
  1473. /package/build/components/site-discussion/{index.js.map → index.cjs.map} +0 -0
  1474. /package/build/components/start-template-options/{index.js.map → index.cjs.map} +0 -0
  1475. /package/build/components/style-book/{categories.js.map → categories.cjs.map} +0 -0
  1476. /package/build/components/style-book/{color-examples.js.map → color-examples.cjs.map} +0 -0
  1477. /package/build/components/style-book/{constants.js.map → constants.cjs.map} +0 -0
  1478. /package/build/components/style-book/{duotone-examples.js.map → duotone-examples.cjs.map} +0 -0
  1479. /package/build/components/style-book/{examples.js.map → examples.cjs.map} +0 -0
  1480. /package/build/components/style-book/{index.js.map → index.cjs.map} +0 -0
  1481. /package/build/components/style-book/{types.js.map → types.cjs.map} +0 -0
  1482. /package/build/components/styles-canvas/{index.js.map → index.cjs.map} +0 -0
  1483. /package/build/components/styles-canvas/{revisions.js.map → revisions.cjs.map} +0 -0
  1484. /package/build/components/styles-canvas/{style-book.js.map → style-book.cjs.map} +0 -0
  1485. /package/build/components/table-of-contents/{index.js.map → index.cjs.map} +0 -0
  1486. /package/build/components/table-of-contents/{panel.js.map → panel.cjs.map} +0 -0
  1487. /package/build/components/template-content-panel/{index.js.map → index.cjs.map} +0 -0
  1488. /package/build/components/template-part-content-panel/{index.js.map → index.cjs.map} +0 -0
  1489. /package/build/components/template-part-menu-items/{convert-to-regular.js.map → convert-to-regular.cjs.map} +0 -0
  1490. /package/build/components/template-part-menu-items/{convert-to-template-part.js.map → convert-to-template-part.cjs.map} +0 -0
  1491. /package/build/components/template-part-menu-items/{index.js.map → index.cjs.map} +0 -0
  1492. /package/build/components/template-validation-notice/{index.js.map → index.cjs.map} +0 -0
  1493. /package/build/components/text-editor/{index.js.map → index.cjs.map} +0 -0
  1494. /package/build/components/theme-support-check/{index.js.map → index.cjs.map} +0 -0
  1495. /package/build/components/time-to-read/{index.js.map → index.cjs.map} +0 -0
  1496. /package/build/components/unsaved-changes-warning/{index.js.map → index.cjs.map} +0 -0
  1497. /package/build/components/visual-editor/{edit-template-blocks-notification.js.map → edit-template-blocks-notification.cjs.map} +0 -0
  1498. /package/build/components/visual-editor/{index.js.map → index.cjs.map} +0 -0
  1499. /package/build/components/visual-editor/{use-edit-content-only-section-exit.js.map → use-edit-content-only-section-exit.cjs.map} +0 -0
  1500. /package/build/components/visual-editor/{use-padding-appender.js.map → use-padding-appender.cjs.map} +0 -0
  1501. /package/build/components/visual-editor/{use-select-nearest-editable-block.js.map → use-select-nearest-editable-block.cjs.map} +0 -0
  1502. /package/build/components/visual-editor/{use-zoom-out-mode-exit.js.map → use-zoom-out-mode-exit.cjs.map} +0 -0
  1503. /package/build/components/word-count/{index.js.map → index.cjs.map} +0 -0
  1504. /package/build/components/zoom-out-toggle/{index.js.map → index.cjs.map} +0 -0
  1505. /package/build/dataviews/{api.js.map → api.cjs.map} +0 -0
  1506. /package/build/dataviews/fields/content-preview/{content-preview-view.js.map → content-preview-view.cjs.map} +0 -0
  1507. /package/build/dataviews/fields/content-preview/{index.js.map → index.cjs.map} +0 -0
  1508. /package/build/dataviews/store/{private-actions.js.map → private-actions.cjs.map} +0 -0
  1509. /package/build/dataviews/store/{private-selectors.js.map → private-selectors.cjs.map} +0 -0
  1510. /package/build/dataviews/store/{reducer.js.map → reducer.cjs.map} +0 -0
  1511. /package/build/hooks/{custom-sources-backwards-compatibility.js.map → custom-sources-backwards-compatibility.cjs.map} +0 -0
  1512. /package/build/hooks/{default-autocompleters.js.map → default-autocompleters.cjs.map} +0 -0
  1513. /package/build/hooks/{index.js.map → index.cjs.map} +0 -0
  1514. /package/build/hooks/{media-upload.js.map → media-upload.cjs.map} +0 -0
  1515. /package/build/hooks/{navigation-link-view-button.js.map → navigation-link-view-button.cjs.map} +0 -0
  1516. /package/build/hooks/{template-part-navigation-edit-button.js.map → template-part-navigation-edit-button.cjs.map} +0 -0
  1517. /package/build/hooks/{use-global-styles-output.js.map → use-global-styles-output.cjs.map} +0 -0
  1518. /package/build/{lock-unlock.js.map → lock-unlock.cjs.map} +0 -0
  1519. /package/build/store/{actions.js.map → actions.cjs.map} +0 -0
  1520. /package/build/store/{constants.js.map → constants.cjs.map} +0 -0
  1521. /package/build/store/{defaults.js.map → defaults.cjs.map} +0 -0
  1522. /package/build/store/{index.js.map → index.cjs.map} +0 -0
  1523. /package/build/store/{local-autosave.js.map → local-autosave.cjs.map} +0 -0
  1524. /package/build/store/{private-selectors.js.map → private-selectors.cjs.map} +0 -0
  1525. /package/build/store/{reducer.js.map → reducer.cjs.map} +0 -0
  1526. /package/build/store/{selectors.js.map → selectors.cjs.map} +0 -0
  1527. /package/build/store/utils/{is-template-revertable.js.map → is-template-revertable.cjs.map} +0 -0
  1528. /package/build/utils/{get-item-title.js.map → get-item-title.cjs.map} +0 -0
  1529. /package/build/utils/{get-template-info.js.map → get-template-info.cjs.map} +0 -0
  1530. /package/build/utils/{get-template-part-icon.js.map → get-template-part-icon.cjs.map} +0 -0
  1531. /package/build/utils/{index.js.map → index.cjs.map} +0 -0
  1532. /package/build/utils/media-sideload/{index.js.map → index.cjs.map} +0 -0
  1533. /package/build/utils/media-upload/{index.js.map → index.cjs.map} +0 -0
  1534. /package/build/utils/{pageTypeBadge.js.map → pageTypeBadge.cjs.map} +0 -0
  1535. /package/build/utils/{search-templates.js.map → search-templates.cjs.map} +0 -0
  1536. /package/build/utils/{set-nested-value.js.map → set-nested-value.cjs.map} +0 -0
  1537. /package/build/utils/{terms.js.map → terms.cjs.map} +0 -0
  1538. /package/build/utils/{url.js.map → url.cjs.map} +0 -0
  1539. /package/build-module/bindings/{api.js.map → api.mjs.map} +0 -0
  1540. /package/build-module/bindings/{pattern-overrides.js.map → pattern-overrides.mjs.map} +0 -0
  1541. /package/build-module/bindings/{post-data.js.map → post-data.mjs.map} +0 -0
  1542. /package/build-module/bindings/{post-meta.js.map → post-meta.mjs.map} +0 -0
  1543. /package/build-module/bindings/{term-data.js.map → term-data.mjs.map} +0 -0
  1544. /package/build-module/components/autocompleters/{index.js.map → index.mjs.map} +0 -0
  1545. /package/build-module/components/autocompleters/{user.js.map → user.mjs.map} +0 -0
  1546. /package/build-module/components/autosave-monitor/{index.js.map → index.mjs.map} +0 -0
  1547. /package/build-module/components/block-removal-warnings/{index.js.map → index.mjs.map} +0 -0
  1548. /package/build-module/components/block-settings-menu/{plugin-block-settings-menu-item.js.map → plugin-block-settings-menu-item.mjs.map} +0 -0
  1549. /package/build-module/components/block-visibility/{index.js.map → index.mjs.map} +0 -0
  1550. /package/build-module/components/blog-title/{index.js.map → index.mjs.map} +0 -0
  1551. /package/build-module/components/character-count/{index.js.map → index.mjs.map} +0 -0
  1552. /package/build-module/components/collab-sidebar/{add-comment.js.map → add-comment.mjs.map} +0 -0
  1553. /package/build-module/components/collab-sidebar/{comment-author-info.js.map → comment-author-info.mjs.map} +0 -0
  1554. /package/build-module/components/collab-sidebar/{comment-form.js.map → comment-form.mjs.map} +0 -0
  1555. /package/build-module/components/collab-sidebar/{comment-indicator-toolbar.js.map → comment-indicator-toolbar.mjs.map} +0 -0
  1556. /package/build-module/components/collab-sidebar/{comment-menu-item.js.map → comment-menu-item.mjs.map} +0 -0
  1557. /package/build-module/components/collab-sidebar/{comments.js.map → comments.mjs.map} +0 -0
  1558. /package/build-module/components/collab-sidebar/{constants.js.map → constants.mjs.map} +0 -0
  1559. /package/build-module/components/collab-sidebar/{index.js.map → index.mjs.map} +0 -0
  1560. /package/build-module/components/collab-sidebar/{utils.js.map → utils.mjs.map} +0 -0
  1561. /package/build-module/components/collapsible-block-toolbar/{index.js.map → index.mjs.map} +0 -0
  1562. /package/build-module/components/commands/{index.js.map → index.mjs.map} +0 -0
  1563. /package/build-module/components/{deprecated.js.map → deprecated.mjs.map} +0 -0
  1564. /package/build-module/components/document-bar/{index.js.map → index.mjs.map} +0 -0
  1565. /package/build-module/components/document-bar/{useEditedSectionDetails.js.map → useEditedSectionDetails.mjs.map} +0 -0
  1566. /package/build-module/components/document-outline/{check.js.map → check.mjs.map} +0 -0
  1567. /package/build-module/components/document-outline/{index.js.map → index.mjs.map} +0 -0
  1568. /package/build-module/components/document-outline/{item.js.map → item.mjs.map} +0 -0
  1569. /package/build-module/components/document-tools/{index.js.map → index.mjs.map} +0 -0
  1570. /package/build-module/components/editor-history/{redo.js.map → redo.mjs.map} +0 -0
  1571. /package/build-module/components/editor-history/{undo.js.map → undo.mjs.map} +0 -0
  1572. /package/build-module/components/editor-notices/{index.js.map → index.mjs.map} +0 -0
  1573. /package/build-module/components/editor-snackbars/{index.js.map → index.mjs.map} +0 -0
  1574. /package/build-module/components/entities-saved-states/{entity-type-list.js.map → entity-type-list.mjs.map} +0 -0
  1575. /package/build-module/components/entities-saved-states/hooks/{use-is-dirty.js.map → use-is-dirty.mjs.map} +0 -0
  1576. /package/build-module/components/entities-saved-states/{index.js.map → index.mjs.map} +0 -0
  1577. /package/build-module/components/error-boundary/{index.js.map → index.mjs.map} +0 -0
  1578. /package/build-module/components/global-keyboard-shortcuts/{index.js.map → index.mjs.map} +0 -0
  1579. /package/build-module/components/global-keyboard-shortcuts/{register-shortcuts.js.map → register-shortcuts.mjs.map} +0 -0
  1580. /package/build-module/components/global-styles/{block-link.js.map → block-link.mjs.map} +0 -0
  1581. /package/build-module/components/global-styles/{header.js.map → header.mjs.map} +0 -0
  1582. /package/build-module/components/global-styles/{hooks.js.map → hooks.mjs.map} +0 -0
  1583. /package/build-module/components/global-styles/{index.js.map → index.mjs.map} +0 -0
  1584. /package/build-module/components/global-styles/{menu.js.map → menu.mjs.map} +0 -0
  1585. /package/build-module/components/global-styles-provider/{index.js.map → index.mjs.map} +0 -0
  1586. /package/build-module/components/global-styles-renderer/{index.js.map → index.mjs.map} +0 -0
  1587. /package/build-module/components/global-styles-sidebar/{default-sidebar.js.map → default-sidebar.mjs.map} +0 -0
  1588. /package/build-module/components/global-styles-sidebar/{index.js.map → index.mjs.map} +0 -0
  1589. /package/build-module/components/global-styles-sidebar/{welcome-guide-image.js.map → welcome-guide-image.mjs.map} +0 -0
  1590. /package/build-module/components/global-styles-sidebar/{welcome-guide.js.map → welcome-guide.mjs.map} +0 -0
  1591. /package/build-module/components/header/{back-button.js.map → back-button.mjs.map} +0 -0
  1592. /package/build-module/components/header/{index.js.map → index.mjs.map} +0 -0
  1593. /package/build-module/components/{index.js.map → index.mjs.map} +0 -0
  1594. /package/build-module/components/inserter-sidebar/{index.js.map → index.mjs.map} +0 -0
  1595. /package/build-module/components/keyboard-shortcut-help-modal/{config.js.map → config.mjs.map} +0 -0
  1596. /package/build-module/components/keyboard-shortcut-help-modal/{dynamic-shortcut.js.map → dynamic-shortcut.mjs.map} +0 -0
  1597. /package/build-module/components/keyboard-shortcut-help-modal/{index.js.map → index.mjs.map} +0 -0
  1598. /package/build-module/components/keyboard-shortcut-help-modal/{shortcut.js.map → shortcut.mjs.map} +0 -0
  1599. /package/build-module/components/list-view-sidebar/{index.js.map → index.mjs.map} +0 -0
  1600. /package/build-module/components/list-view-sidebar/{list-view-outline.js.map → list-view-outline.mjs.map} +0 -0
  1601. /package/build-module/components/local-autosave-monitor/{index.js.map → index.mjs.map} +0 -0
  1602. /package/build-module/components/media-categories/{index.js.map → index.mjs.map} +0 -0
  1603. /package/build-module/components/mode-switcher/{index.js.map → index.mjs.map} +0 -0
  1604. /package/build-module/components/more-menu/{copy-content-menu-item.js.map → copy-content-menu-item.mjs.map} +0 -0
  1605. /package/build-module/components/more-menu/{index.js.map → index.mjs.map} +0 -0
  1606. /package/build-module/components/more-menu/{tools-more-menu-group.js.map → tools-more-menu-group.mjs.map} +0 -0
  1607. /package/build-module/components/more-menu/{view-more-menu-group.js.map → view-more-menu-group.mjs.map} +0 -0
  1608. /package/build-module/components/page-attributes/{check.js.map → check.mjs.map} +0 -0
  1609. /package/build-module/components/page-attributes/{order.js.map → order.mjs.map} +0 -0
  1610. /package/build-module/components/page-attributes/{panel.js.map → panel.mjs.map} +0 -0
  1611. /package/build-module/components/pattern-duplicate-modal/{index.js.map → index.mjs.map} +0 -0
  1612. /package/build-module/components/pattern-overrides-panel/{index.js.map → index.mjs.map} +0 -0
  1613. /package/build-module/components/pattern-rename-modal/{index.js.map → index.mjs.map} +0 -0
  1614. /package/build-module/components/plugin-document-setting-panel/{index.js.map → index.mjs.map} +0 -0
  1615. /package/build-module/components/plugin-more-menu-item/{index.js.map → index.mjs.map} +0 -0
  1616. /package/build-module/components/plugin-post-publish-panel/{index.js.map → index.mjs.map} +0 -0
  1617. /package/build-module/components/plugin-post-status-info/{index.js.map → index.mjs.map} +0 -0
  1618. /package/build-module/components/plugin-pre-publish-panel/{index.js.map → index.mjs.map} +0 -0
  1619. /package/build-module/components/plugin-preview-menu-item/{index.js.map → index.mjs.map} +0 -0
  1620. /package/build-module/components/plugin-sidebar/{index.js.map → index.mjs.map} +0 -0
  1621. /package/build-module/components/plugin-sidebar-more-menu-item/{index.js.map → index.mjs.map} +0 -0
  1622. /package/build-module/components/post-actions/{actions.js.map → actions.mjs.map} +0 -0
  1623. /package/build-module/components/post-actions/{index.js.map → index.mjs.map} +0 -0
  1624. /package/build-module/components/post-actions/{set-as-homepage.js.map → set-as-homepage.mjs.map} +0 -0
  1625. /package/build-module/components/post-actions/{set-as-posts-page.js.map → set-as-posts-page.mjs.map} +0 -0
  1626. /package/build-module/components/post-author/{check.js.map → check.mjs.map} +0 -0
  1627. /package/build-module/components/post-author/{constants.js.map → constants.mjs.map} +0 -0
  1628. /package/build-module/components/post-author/{hook.js.map → hook.mjs.map} +0 -0
  1629. /package/build-module/components/post-author/{index.js.map → index.mjs.map} +0 -0
  1630. /package/build-module/components/post-author/{panel.js.map → panel.mjs.map} +0 -0
  1631. /package/build-module/components/post-card-panel/{index.js.map → index.mjs.map} +0 -0
  1632. /package/build-module/components/post-comments/{index.js.map → index.mjs.map} +0 -0
  1633. /package/build-module/components/post-content-information/{index.js.map → index.mjs.map} +0 -0
  1634. /package/build-module/components/post-discussion/{panel.js.map → panel.mjs.map} +0 -0
  1635. /package/build-module/components/post-excerpt/{check.js.map → check.mjs.map} +0 -0
  1636. /package/build-module/components/post-excerpt/{panel.js.map → panel.mjs.map} +0 -0
  1637. /package/build-module/components/post-excerpt/{plugin.js.map → plugin.mjs.map} +0 -0
  1638. /package/build-module/components/post-featured-image/{check.js.map → check.mjs.map} +0 -0
  1639. /package/build-module/components/post-featured-image/{index.js.map → index.mjs.map} +0 -0
  1640. /package/build-module/components/post-featured-image/{panel.js.map → panel.mjs.map} +0 -0
  1641. /package/build-module/components/post-fields/{index.js.map → index.mjs.map} +0 -0
  1642. /package/build-module/components/post-format/{check.js.map → check.mjs.map} +0 -0
  1643. /package/build-module/components/post-format/{index.js.map → index.mjs.map} +0 -0
  1644. /package/build-module/components/post-format/{panel.js.map → panel.mjs.map} +0 -0
  1645. /package/build-module/components/post-last-edited-panel/{index.js.map → index.mjs.map} +0 -0
  1646. /package/build-module/components/post-last-revision/{check.js.map → check.mjs.map} +0 -0
  1647. /package/build-module/components/post-last-revision/{index.js.map → index.mjs.map} +0 -0
  1648. /package/build-module/components/post-last-revision/{panel.js.map → panel.mjs.map} +0 -0
  1649. /package/build-module/components/post-locked-modal/{index.js.map → index.mjs.map} +0 -0
  1650. /package/build-module/components/post-panel-row/{index.js.map → index.mjs.map} +0 -0
  1651. /package/build-module/components/post-panel-section/{index.js.map → index.mjs.map} +0 -0
  1652. /package/build-module/components/post-pending-status/{check.js.map → check.mjs.map} +0 -0
  1653. /package/build-module/components/post-preview-button/{index.js.map → index.mjs.map} +0 -0
  1654. /package/build-module/components/post-publish-button/{index.js.map → index.mjs.map} +0 -0
  1655. /package/build-module/components/post-publish-button/{label.js.map → label.mjs.map} +0 -0
  1656. /package/build-module/components/post-publish-button/{post-publish-button-or-toggle.js.map → post-publish-button-or-toggle.mjs.map} +0 -0
  1657. /package/build-module/components/post-publish-panel/{maybe-category-panel.js.map → maybe-category-panel.mjs.map} +0 -0
  1658. /package/build-module/components/post-publish-panel/{maybe-post-format-panel.js.map → maybe-post-format-panel.mjs.map} +0 -0
  1659. /package/build-module/components/post-publish-panel/{maybe-tags-panel.js.map → maybe-tags-panel.mjs.map} +0 -0
  1660. /package/build-module/components/post-publish-panel/{maybe-upload-media.js.map → maybe-upload-media.mjs.map} +0 -0
  1661. /package/build-module/components/post-publish-panel/{media-util.js.map → media-util.mjs.map} +0 -0
  1662. /package/build-module/components/post-publish-panel/{prepublish.js.map → prepublish.mjs.map} +0 -0
  1663. /package/build-module/components/post-saved-state/{index.js.map → index.mjs.map} +0 -0
  1664. /package/build-module/components/post-schedule/{check.js.map → check.mjs.map} +0 -0
  1665. /package/build-module/components/post-schedule/{index.js.map → index.mjs.map} +0 -0
  1666. /package/build-module/components/post-schedule/{label.js.map → label.mjs.map} +0 -0
  1667. /package/build-module/components/post-schedule/{panel.js.map → panel.mjs.map} +0 -0
  1668. /package/build-module/components/post-sticky/{check.js.map → check.mjs.map} +0 -0
  1669. /package/build-module/components/post-sticky/{panel.js.map → panel.mjs.map} +0 -0
  1670. /package/build-module/components/post-switch-to-draft-button/{index.js.map → index.mjs.map} +0 -0
  1671. /package/build-module/components/post-sync-status/{index.js.map → index.mjs.map} +0 -0
  1672. /package/build-module/components/post-taxonomies/{check.js.map → check.mjs.map} +0 -0
  1673. /package/build-module/components/post-taxonomies/{flat-term-selector.js.map → flat-term-selector.mjs.map} +0 -0
  1674. /package/build-module/components/post-taxonomies/{index.js.map → index.mjs.map} +0 -0
  1675. /package/build-module/components/post-taxonomies/{most-used-terms.js.map → most-used-terms.mjs.map} +0 -0
  1676. /package/build-module/components/post-taxonomies/{panel.js.map → panel.mjs.map} +0 -0
  1677. /package/build-module/components/post-template/{block-theme.js.map → block-theme.mjs.map} +0 -0
  1678. /package/build-module/components/post-template/{create-new-template.js.map → create-new-template.mjs.map} +0 -0
  1679. /package/build-module/components/post-template/{hooks.js.map → hooks.mjs.map} +0 -0
  1680. /package/build-module/components/post-template/{panel.js.map → panel.mjs.map} +0 -0
  1681. /package/build-module/components/post-template/{reset-default-template.js.map → reset-default-template.mjs.map} +0 -0
  1682. /package/build-module/components/post-text-editor/{index.js.map → index.mjs.map} +0 -0
  1683. /package/build-module/components/post-title/{constants.js.map → constants.mjs.map} +0 -0
  1684. /package/build-module/components/post-title/{index.js.map → index.mjs.map} +0 -0
  1685. /package/build-module/components/post-title/{use-post-title-focus.js.map → use-post-title-focus.mjs.map} +0 -0
  1686. /package/build-module/components/post-title/{use-post-title.js.map → use-post-title.mjs.map} +0 -0
  1687. /package/build-module/components/post-transform-panel/{hooks.js.map → hooks.mjs.map} +0 -0
  1688. /package/build-module/components/post-transform-panel/{index.js.map → index.mjs.map} +0 -0
  1689. /package/build-module/components/post-trash/{check.js.map → check.mjs.map} +0 -0
  1690. /package/build-module/components/post-trash/{index.js.map → index.mjs.map} +0 -0
  1691. /package/build-module/components/post-type-support-check/{index.js.map → index.mjs.map} +0 -0
  1692. /package/build-module/components/post-url/{check.js.map → check.mjs.map} +0 -0
  1693. /package/build-module/components/post-url/{index.js.map → index.mjs.map} +0 -0
  1694. /package/build-module/components/post-url/{label.js.map → label.mjs.map} +0 -0
  1695. /package/build-module/components/post-url/{panel.js.map → panel.mjs.map} +0 -0
  1696. /package/build-module/components/post-view-link/{index.js.map → index.mjs.map} +0 -0
  1697. /package/build-module/components/post-visibility/{check.js.map → check.mjs.map} +0 -0
  1698. /package/build-module/components/post-visibility/{label.js.map → label.mjs.map} +0 -0
  1699. /package/build-module/components/post-visibility/{utils.js.map → utils.mjs.map} +0 -0
  1700. /package/build-module/components/posts-per-page/{index.js.map → index.mjs.map} +0 -0
  1701. /package/build-module/components/preferences-modal/{enable-panel.js.map → enable-panel.mjs.map} +0 -0
  1702. /package/build-module/components/preferences-modal/{enable-plugin-document-setting-panel.js.map → enable-plugin-document-setting-panel.mjs.map} +0 -0
  1703. /package/build-module/components/preferences-modal/{enable-publish-sidebar.js.map → enable-publish-sidebar.mjs.map} +0 -0
  1704. /package/build-module/components/preferences-modal/{index.js.map → index.mjs.map} +0 -0
  1705. /package/build-module/components/provider/{disable-non-page-content-blocks.js.map → disable-non-page-content-blocks.mjs.map} +0 -0
  1706. /package/build-module/components/provider/{navigation-block-editing-mode.js.map → navigation-block-editing-mode.mjs.map} +0 -0
  1707. /package/build-module/components/provider/{use-auto-switch-editor-sidebars.js.map → use-auto-switch-editor-sidebars.mjs.map} +0 -0
  1708. /package/build-module/components/provider/{use-hide-blocks-from-inserter.js.map → use-hide-blocks-from-inserter.mjs.map} +0 -0
  1709. /package/build-module/components/provider/{use-post-content-blocks.js.map → use-post-content-blocks.mjs.map} +0 -0
  1710. /package/build-module/components/provider/{with-registry-provider.js.map → with-registry-provider.mjs.map} +0 -0
  1711. /package/build-module/components/resizable-editor/{index.js.map → index.mjs.map} +0 -0
  1712. /package/build-module/components/resizable-editor/{resize-handle.js.map → resize-handle.mjs.map} +0 -0
  1713. /package/build-module/components/save-publish-panels/{index.js.map → index.mjs.map} +0 -0
  1714. /package/build-module/components/sidebar/{constants.js.map → constants.mjs.map} +0 -0
  1715. /package/build-module/components/sidebar/{index.js.map → index.mjs.map} +0 -0
  1716. /package/build-module/components/sidebar/{post-summary.js.map → post-summary.mjs.map} +0 -0
  1717. /package/build-module/components/site-discussion/{index.js.map → index.mjs.map} +0 -0
  1718. /package/build-module/components/start-template-options/{index.js.map → index.mjs.map} +0 -0
  1719. /package/build-module/components/style-book/{categories.js.map → categories.mjs.map} +0 -0
  1720. /package/build-module/components/style-book/{color-examples.js.map → color-examples.mjs.map} +0 -0
  1721. /package/build-module/components/style-book/{constants.js.map → constants.mjs.map} +0 -0
  1722. /package/build-module/components/style-book/{duotone-examples.js.map → duotone-examples.mjs.map} +0 -0
  1723. /package/build-module/components/style-book/{examples.js.map → examples.mjs.map} +0 -0
  1724. /package/build-module/components/style-book/{index.js.map → index.mjs.map} +0 -0
  1725. /package/build-module/components/style-book/{types.js.map → types.mjs.map} +0 -0
  1726. /package/build-module/components/styles-canvas/{index.js.map → index.mjs.map} +0 -0
  1727. /package/build-module/components/styles-canvas/{revisions.js.map → revisions.mjs.map} +0 -0
  1728. /package/build-module/components/styles-canvas/{style-book.js.map → style-book.mjs.map} +0 -0
  1729. /package/build-module/components/table-of-contents/{index.js.map → index.mjs.map} +0 -0
  1730. /package/build-module/components/table-of-contents/{panel.js.map → panel.mjs.map} +0 -0
  1731. /package/build-module/components/template-content-panel/{index.js.map → index.mjs.map} +0 -0
  1732. /package/build-module/components/template-part-content-panel/{index.js.map → index.mjs.map} +0 -0
  1733. /package/build-module/components/template-part-menu-items/{convert-to-regular.js.map → convert-to-regular.mjs.map} +0 -0
  1734. /package/build-module/components/template-part-menu-items/{convert-to-template-part.js.map → convert-to-template-part.mjs.map} +0 -0
  1735. /package/build-module/components/template-part-menu-items/{index.js.map → index.mjs.map} +0 -0
  1736. /package/build-module/components/template-validation-notice/{index.js.map → index.mjs.map} +0 -0
  1737. /package/build-module/components/text-editor/{index.js.map → index.mjs.map} +0 -0
  1738. /package/build-module/components/theme-support-check/{index.js.map → index.mjs.map} +0 -0
  1739. /package/build-module/components/time-to-read/{index.js.map → index.mjs.map} +0 -0
  1740. /package/build-module/components/unsaved-changes-warning/{index.js.map → index.mjs.map} +0 -0
  1741. /package/build-module/components/visual-editor/{edit-template-blocks-notification.js.map → edit-template-blocks-notification.mjs.map} +0 -0
  1742. /package/build-module/components/visual-editor/{index.js.map → index.mjs.map} +0 -0
  1743. /package/build-module/components/visual-editor/{use-edit-content-only-section-exit.js.map → use-edit-content-only-section-exit.mjs.map} +0 -0
  1744. /package/build-module/components/visual-editor/{use-padding-appender.js.map → use-padding-appender.mjs.map} +0 -0
  1745. /package/build-module/components/visual-editor/{use-select-nearest-editable-block.js.map → use-select-nearest-editable-block.mjs.map} +0 -0
  1746. /package/build-module/components/visual-editor/{use-zoom-out-mode-exit.js.map → use-zoom-out-mode-exit.mjs.map} +0 -0
  1747. /package/build-module/components/word-count/{index.js.map → index.mjs.map} +0 -0
  1748. /package/build-module/components/zoom-out-toggle/{index.js.map → index.mjs.map} +0 -0
  1749. /package/build-module/dataviews/{api.js.map → api.mjs.map} +0 -0
  1750. /package/build-module/dataviews/fields/content-preview/{content-preview-view.js.map → content-preview-view.mjs.map} +0 -0
  1751. /package/build-module/dataviews/fields/content-preview/{index.js.map → index.mjs.map} +0 -0
  1752. /package/build-module/dataviews/store/{private-actions.js.map → private-actions.mjs.map} +0 -0
  1753. /package/build-module/dataviews/store/{private-selectors.js.map → private-selectors.mjs.map} +0 -0
  1754. /package/build-module/dataviews/store/{reducer.js.map → reducer.mjs.map} +0 -0
  1755. /package/build-module/hooks/{custom-sources-backwards-compatibility.js.map → custom-sources-backwards-compatibility.mjs.map} +0 -0
  1756. /package/build-module/hooks/{default-autocompleters.js.map → default-autocompleters.mjs.map} +0 -0
  1757. /package/build-module/hooks/{index.js.map → index.mjs.map} +0 -0
  1758. /package/build-module/hooks/{media-upload.js.map → media-upload.mjs.map} +0 -0
  1759. /package/build-module/hooks/{navigation-link-view-button.js.map → navigation-link-view-button.mjs.map} +0 -0
  1760. /package/build-module/hooks/{template-part-navigation-edit-button.js.map → template-part-navigation-edit-button.mjs.map} +0 -0
  1761. /package/build-module/hooks/{use-global-styles-output.js.map → use-global-styles-output.mjs.map} +0 -0
  1762. /package/build-module/{index.js.map → index.mjs.map} +0 -0
  1763. /package/build-module/{lock-unlock.js.map → lock-unlock.mjs.map} +0 -0
  1764. /package/build-module/store/{actions.js.map → actions.mjs.map} +0 -0
  1765. /package/build-module/store/{constants.js.map → constants.mjs.map} +0 -0
  1766. /package/build-module/store/{defaults.js.map → defaults.mjs.map} +0 -0
  1767. /package/build-module/store/{index.js.map → index.mjs.map} +0 -0
  1768. /package/build-module/store/{local-autosave.js.map → local-autosave.mjs.map} +0 -0
  1769. /package/build-module/store/{private-actions.js.map → private-actions.mjs.map} +0 -0
  1770. /package/build-module/store/{private-selectors.js.map → private-selectors.mjs.map} +0 -0
  1771. /package/build-module/store/{reducer.js.map → reducer.mjs.map} +0 -0
  1772. /package/build-module/store/{selectors.js.map → selectors.mjs.map} +0 -0
  1773. /package/build-module/store/utils/{is-template-revertable.js.map → is-template-revertable.mjs.map} +0 -0
  1774. /package/build-module/utils/{get-item-title.js.map → get-item-title.mjs.map} +0 -0
  1775. /package/build-module/utils/{get-template-info.js.map → get-template-info.mjs.map} +0 -0
  1776. /package/build-module/utils/{get-template-part-icon.js.map → get-template-part-icon.mjs.map} +0 -0
  1777. /package/build-module/utils/{index.js.map → index.mjs.map} +0 -0
  1778. /package/build-module/utils/media-sideload/{index.js.map → index.mjs.map} +0 -0
  1779. /package/build-module/utils/media-upload/{index.js.map → index.mjs.map} +0 -0
  1780. /package/build-module/utils/{pageTypeBadge.js.map → pageTypeBadge.mjs.map} +0 -0
  1781. /package/build-module/utils/{search-templates.js.map → search-templates.mjs.map} +0 -0
  1782. /package/build-module/utils/{set-nested-value.js.map → set-nested-value.mjs.map} +0 -0
  1783. /package/build-module/utils/{terms.js.map → terms.mjs.map} +0 -0
  1784. /package/build-module/utils/{url.js.map → url.mjs.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/editor/index.js"],
4
+ "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { useSelect, useDispatch } from '@wordpress/data';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { Notice } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\nimport { useEffect } from '@wordpress/element';\nimport { store as blockEditorStore } from '@wordpress/block-editor';\n\n/**\n * Internal dependencies\n */\nimport { store as editorStore } from '../../store';\nimport { TEMPLATE_POST_TYPE } from '../../store/constants';\nimport { useRestoreBlockFromPath } from '../../utils/block-selection-path';\nimport EditorInterface from '../editor-interface';\nimport { ExperimentalEditorProvider } from '../provider';\nimport Sidebar from '../sidebar';\nimport NotesSidebar from '../collab-sidebar';\nimport GlobalStylesSidebar from '../global-styles-sidebar';\nimport { GlobalStylesRenderer } from '../global-styles-renderer';\n\nfunction Editor( {\n\tpostType,\n\tpostId,\n\ttemplateId,\n\tsettings,\n\tchildren,\n\tinitialEdits,\n\tinitialSelection,\n\n\t// This could be part of the settings.\n\tonActionPerformed,\n\n\t// The following abstractions are not ideal but necessary\n\t// to account for site editor and post editor differences for now.\n\textraContent,\n\textraSidebarPanels,\n\t...props\n} ) {\n\tconst {\n\t\tpost,\n\t\ttemplate,\n\t\thasLoadedPost,\n\t\terror,\n\t\tisBlockTheme,\n\t\tshowGlobalStyles,\n\t} = useSelect(\n\t\t( select ) => {\n\t\t\tconst {\n\t\t\t\tgetEntityRecord,\n\t\t\t\tgetResolutionError,\n\t\t\t\thasFinishedResolution,\n\t\t\t\tgetCurrentTheme,\n\t\t\t\t__experimentalGetCurrentGlobalStylesId,\n\t\t\t\tcanUser,\n\t\t\t} = select( coreStore );\n\t\t\tconst { getRenderingMode, getCurrentPostType } =\n\t\t\t\tselect( editorStore );\n\n\t\t\tconst postArgs = [ 'postType', postType, postId ];\n\t\t\tconst renderingMode = getRenderingMode();\n\t\t\tconst currentPostType = getCurrentPostType();\n\t\t\tconst _isBlockTheme = getCurrentTheme()?.is_block_theme;\n\t\t\tconst globalStylesId = __experimentalGetCurrentGlobalStylesId();\n\t\t\tconst userCanEditGlobalStyles = globalStylesId\n\t\t\t\t? canUser( 'update', {\n\t\t\t\t\t\tkind: 'root',\n\t\t\t\t\t\tname: 'globalStyles',\n\t\t\t\t\t\tid: globalStylesId,\n\t\t\t\t } )\n\t\t\t\t: false;\n\n\t\t\treturn {\n\t\t\t\tpost: getEntityRecord( ...postArgs ),\n\t\t\t\ttemplate: templateId\n\t\t\t\t\t? getEntityRecord(\n\t\t\t\t\t\t\t'postType',\n\t\t\t\t\t\t\tTEMPLATE_POST_TYPE,\n\t\t\t\t\t\t\ttemplateId\n\t\t\t\t\t )\n\t\t\t\t\t: undefined,\n\t\t\t\thasLoadedPost: hasFinishedResolution(\n\t\t\t\t\t'getEntityRecord',\n\t\t\t\t\tpostArgs\n\t\t\t\t),\n\t\t\t\terror: getResolutionError( 'getEntityRecord', postArgs )\n\t\t\t\t\t?.message,\n\t\t\t\tisBlockTheme: _isBlockTheme,\n\t\t\t\tshowGlobalStyles:\n\t\t\t\t\t_isBlockTheme &&\n\t\t\t\t\tuserCanEditGlobalStyles &&\n\t\t\t\t\t( currentPostType === 'wp_template' ||\n\t\t\t\t\t\trenderingMode === 'template-locked' ),\n\t\t\t};\n\t\t},\n\t\t[ postType, postId, templateId ]\n\t);\n\n\tconst { selectBlock } = useDispatch( blockEditorStore );\n\tconst restoreBlockFromPath = useRestoreBlockFromPath();\n\n\t// Restore initial block selection if provided (e.g., from navigation)\n\tuseEffect( () => {\n\t\tif ( ! initialSelection || ! hasLoadedPost || ! post ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Use setTimeout to ensure blocks are fully rendered before selecting\n\t\tconst timeoutId = setTimeout( () => {\n\t\t\tconst clientId = restoreBlockFromPath( initialSelection );\n\t\t\tif ( clientId ) {\n\t\t\t\tselectBlock( clientId );\n\t\t\t}\n\t\t}, 0 );\n\n\t\treturn () => clearTimeout( timeoutId );\n\t}, [\n\t\tinitialSelection,\n\t\thasLoadedPost,\n\t\tpost,\n\t\tselectBlock,\n\t\trestoreBlockFromPath,\n\t] );\n\n\treturn (\n\t\t<>\n\t\t\t{ hasLoadedPost && ! post && (\n\t\t\t\t<Notice\n\t\t\t\t\tstatus={ !! error ? 'error' : 'warning' }\n\t\t\t\t\tisDismissible={ false }\n\t\t\t\t>\n\t\t\t\t\t{ ! error\n\t\t\t\t\t\t? __(\n\t\t\t\t\t\t\t\t\"You attempted to edit an item that doesn't exist. Perhaps it was deleted?\"\n\t\t\t\t\t\t )\n\t\t\t\t\t\t: error }\n\t\t\t\t</Notice>\n\t\t\t) }\n\t\t\t{ !! post && (\n\t\t\t\t<ExperimentalEditorProvider\n\t\t\t\t\tpost={ post }\n\t\t\t\t\t__unstableTemplate={ template }\n\t\t\t\t\tsettings={ settings }\n\t\t\t\t\tinitialEdits={ initialEdits }\n\t\t\t\t\tuseSubRegistry={ false }\n\t\t\t\t>\n\t\t\t\t\t<EditorInterface { ...props }>\n\t\t\t\t\t\t{ extraContent }\n\t\t\t\t\t</EditorInterface>\n\t\t\t\t\t{ children }\n\t\t\t\t\t<Sidebar\n\t\t\t\t\t\tonActionPerformed={ onActionPerformed }\n\t\t\t\t\t\textraPanels={ extraSidebarPanels }\n\t\t\t\t\t/>\n\t\t\t\t\t<NotesSidebar />\n\t\t\t\t\t{ isBlockTheme && <GlobalStylesRenderer /> }\n\t\t\t\t\t{ showGlobalStyles && <GlobalStylesSidebar /> }\n\t\t\t\t</ExperimentalEditorProvider>\n\t\t\t) }\n\t\t</>\n\t);\n}\n\nexport default Editor;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,kBAAuC;AACvC,uBAAmC;AACnC,wBAAuB;AACvB,kBAAmB;AACnB,qBAA0B;AAC1B,0BAA0C;AAK1C,mBAAqC;AACrC,uBAAmC;AACnC,kCAAwC;AACxC,8BAA4B;AAC5B,sBAA2C;AAC3C,qBAAoB;AACpB,4BAAyB;AACzB,mCAAgC;AAChC,oCAAqC;AA0GnC;AAxGF,SAAS,OAAQ;AAAA,EAChB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA,EAGA;AAAA;AAAA;AAAA,EAIA;AAAA,EACA;AAAA,EACA,GAAG;AACJ,GAAI;AACH,QAAM;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD,QAAI;AAAA,IACH,CAAE,WAAY;AACb,YAAM;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACD,IAAI,OAAQ,iBAAAA,KAAU;AACtB,YAAM,EAAE,kBAAkB,mBAAmB,IAC5C,OAAQ,aAAAC,KAAY;AAErB,YAAM,WAAW,CAAE,YAAY,UAAU,MAAO;AAChD,YAAM,gBAAgB,iBAAiB;AACvC,YAAM,kBAAkB,mBAAmB;AAC3C,YAAM,gBAAgB,gBAAgB,GAAG;AACzC,YAAM,iBAAiB,uCAAuC;AAC9D,YAAM,0BAA0B,iBAC7B,QAAS,UAAU;AAAA,QACnB,MAAM;AAAA,QACN,MAAM;AAAA,QACN,IAAI;AAAA,MACJ,CAAE,IACF;AAEH,aAAO;AAAA,QACN,MAAM,gBAAiB,GAAG,QAAS;AAAA,QACnC,UAAU,aACP;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACA,IACA;AAAA,QACH,eAAe;AAAA,UACd;AAAA,UACA;AAAA,QACD;AAAA,QACA,OAAO,mBAAoB,mBAAmB,QAAS,GACpD;AAAA,QACH,cAAc;AAAA,QACd,kBACC,iBACA,4BACE,oBAAoB,iBACrB,kBAAkB;AAAA,MACrB;AAAA,IACD;AAAA,IACA,CAAE,UAAU,QAAQ,UAAW;AAAA,EAChC;AAEA,QAAM,EAAE,YAAY,QAAI,yBAAa,oBAAAC,KAAiB;AACtD,QAAM,2BAAuB,qDAAwB;AAGrD,gCAAW,MAAM;AAChB,QAAK,CAAE,oBAAoB,CAAE,iBAAiB,CAAE,MAAO;AACtD;AAAA,IACD;AAGA,UAAM,YAAY,WAAY,MAAM;AACnC,YAAM,WAAW,qBAAsB,gBAAiB;AACxD,UAAK,UAAW;AACf,oBAAa,QAAS;AAAA,MACvB;AAAA,IACD,GAAG,CAAE;AAEL,WAAO,MAAM,aAAc,SAAU;AAAA,EACtC,GAAG;AAAA,IACF;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD,CAAE;AAEF,SACC,4EACG;AAAA,qBAAiB,CAAE,QACpB;AAAA,MAAC;AAAA;AAAA,QACA,QAAS,CAAC,CAAE,QAAQ,UAAU;AAAA,QAC9B,eAAgB;AAAA,QAEd,WAAE,YACD;AAAA,UACA;AAAA,QACA,IACA;AAAA;AAAA,IACJ;AAAA,IAEC,CAAC,CAAE,QACJ;AAAA,MAAC;AAAA;AAAA,QACA;AAAA,QACA,oBAAqB;AAAA,QACrB;AAAA,QACA;AAAA,QACA,gBAAiB;AAAA,QAEjB;AAAA,sDAAC,wBAAAC,SAAA,EAAkB,GAAG,OACnB,wBACH;AAAA,UACE;AAAA,UACF;AAAA,YAAC,eAAAC;AAAA,YAAA;AAAA,cACA;AAAA,cACA,aAAc;AAAA;AAAA,UACf;AAAA,UACA,4CAAC,sBAAAC,SAAA,EAAa;AAAA,UACZ,gBAAgB,4CAAC,sDAAqB;AAAA,UACtC,oBAAoB,4CAAC,6BAAAC,SAAA,EAAoB;AAAA;AAAA;AAAA,IAC5C;AAAA,KAEF;AAEF;AAEA,IAAO,iBAAQ;",
6
+ "names": ["coreStore", "editorStore", "blockEditorStore", "EditorInterface", "Sidebar", "NotesSidebar", "GlobalStylesSidebar"]
7
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // packages/editor/src/components/editor-history/redo.js
21
+ var redo_exports = {};
22
+ __export(redo_exports, {
23
+ default: () => redo_default
24
+ });
25
+ module.exports = __toCommonJS(redo_exports);
26
+ var import_i18n = require("@wordpress/i18n");
27
+ var import_components = require("@wordpress/components");
28
+ var import_data = require("@wordpress/data");
29
+ var import_keycodes = require("@wordpress/keycodes");
30
+ var import_icons = require("@wordpress/icons");
31
+ var import_element = require("@wordpress/element");
32
+ var import_store = require("../../store/index.cjs");
33
+ var import_jsx_runtime = require("react/jsx-runtime");
34
+ function EditorHistoryRedo(props, ref) {
35
+ const shortcut = (0, import_keycodes.isAppleOS)() ? import_keycodes.displayShortcut.primaryShift("z") : import_keycodes.displayShortcut.primary("y");
36
+ const hasRedo = (0, import_data.useSelect)(
37
+ (select) => select(import_store.store).hasEditorRedo(),
38
+ []
39
+ );
40
+ const { redo } = (0, import_data.useDispatch)(import_store.store);
41
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
42
+ import_components.Button,
43
+ {
44
+ __next40pxDefaultSize: true,
45
+ ...props,
46
+ ref,
47
+ icon: !(0, import_i18n.isRTL)() ? import_icons.redo : import_icons.undo,
48
+ label: (0, import_i18n.__)("Redo"),
49
+ shortcut,
50
+ "aria-disabled": !hasRedo,
51
+ onClick: hasRedo ? redo : void 0,
52
+ className: "editor-history__redo"
53
+ }
54
+ );
55
+ }
56
+ var redo_default = (0, import_element.forwardRef)(EditorHistoryRedo);
57
+ //# sourceMappingURL=redo.cjs.map
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // packages/editor/src/components/editor-history/undo.js
21
+ var undo_exports = {};
22
+ __export(undo_exports, {
23
+ default: () => undo_default
24
+ });
25
+ module.exports = __toCommonJS(undo_exports);
26
+ var import_i18n = require("@wordpress/i18n");
27
+ var import_components = require("@wordpress/components");
28
+ var import_data = require("@wordpress/data");
29
+ var import_keycodes = require("@wordpress/keycodes");
30
+ var import_icons = require("@wordpress/icons");
31
+ var import_element = require("@wordpress/element");
32
+ var import_store = require("../../store/index.cjs");
33
+ var import_jsx_runtime = require("react/jsx-runtime");
34
+ function EditorHistoryUndo(props, ref) {
35
+ const hasUndo = (0, import_data.useSelect)(
36
+ (select) => select(import_store.store).hasEditorUndo(),
37
+ []
38
+ );
39
+ const { undo } = (0, import_data.useDispatch)(import_store.store);
40
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
41
+ import_components.Button,
42
+ {
43
+ __next40pxDefaultSize: true,
44
+ ...props,
45
+ ref,
46
+ icon: !(0, import_i18n.isRTL)() ? import_icons.undo : import_icons.redo,
47
+ label: (0, import_i18n.__)("Undo"),
48
+ shortcut: import_keycodes.displayShortcut.primary("z"),
49
+ "aria-disabled": !hasUndo,
50
+ onClick: hasUndo ? undo : void 0,
51
+ className: "editor-history__undo"
52
+ }
53
+ );
54
+ }
55
+ var undo_default = (0, import_element.forwardRef)(EditorHistoryUndo);
56
+ //# sourceMappingURL=undo.cjs.map
@@ -0,0 +1,193 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // packages/editor/src/components/editor-interface/index.js
31
+ var editor_interface_exports = {};
32
+ __export(editor_interface_exports, {
33
+ default: () => EditorInterface
34
+ });
35
+ module.exports = __toCommonJS(editor_interface_exports);
36
+ var import_clsx = __toESM(require("clsx"));
37
+ var import_interface = require("@wordpress/interface");
38
+ var import_data = require("@wordpress/data");
39
+ var import_i18n = require("@wordpress/i18n");
40
+ var import_preferences = require("@wordpress/preferences");
41
+ var import_block_editor = require("@wordpress/block-editor");
42
+ var import_compose = require("@wordpress/compose");
43
+ var import_element = require("@wordpress/element");
44
+ var import_html_entities = require("@wordpress/html-entities");
45
+ var import_store = require("../../store/index.cjs");
46
+ var import_lock_unlock = require("../../lock-unlock.cjs");
47
+ var import_editor_notices = __toESM(require("../editor-notices/index.cjs"));
48
+ var import_header = __toESM(require("../header/index.cjs"));
49
+ var import_inserter_sidebar = __toESM(require("../inserter-sidebar/index.cjs"));
50
+ var import_list_view_sidebar = __toESM(require("../list-view-sidebar/index.cjs"));
51
+ var import_save_publish_panels = __toESM(require("../save-publish-panels/index.cjs"));
52
+ var import_text_editor = __toESM(require("../text-editor/index.cjs"));
53
+ var import_visual_editor = __toESM(require("../visual-editor/index.cjs"));
54
+ var import_styles_canvas = __toESM(require("../styles-canvas/index.cjs"));
55
+ var import_jsx_runtime = require("react/jsx-runtime");
56
+ var interfaceLabels = {
57
+ /* translators: accessibility text for the editor top bar landmark region. */
58
+ header: (0, import_i18n.__)("Editor top bar"),
59
+ /* translators: accessibility text for the editor content landmark region. */
60
+ body: (0, import_i18n.__)("Editor content"),
61
+ /* translators: accessibility text for the editor settings landmark region. */
62
+ sidebar: (0, import_i18n.__)("Editor settings"),
63
+ /* translators: accessibility text for the editor publish landmark region. */
64
+ actions: (0, import_i18n.__)("Editor publish"),
65
+ /* translators: accessibility text for the editor footer landmark region. */
66
+ footer: (0, import_i18n.__)("Editor footer")
67
+ };
68
+ function EditorInterface({
69
+ className,
70
+ children,
71
+ forceIsDirty,
72
+ contentRef,
73
+ disableIframe,
74
+ autoFocus,
75
+ customSaveButton,
76
+ customSavePanel,
77
+ forceDisableBlockTools,
78
+ iframeProps
79
+ }) {
80
+ const {
81
+ mode,
82
+ isInserterOpened,
83
+ isListViewOpened,
84
+ isDistractionFree,
85
+ isPreviewMode,
86
+ showBlockBreadcrumbs,
87
+ postTypeLabel,
88
+ stylesPath,
89
+ showStylebook
90
+ } = (0, import_data.useSelect)((select) => {
91
+ const { get } = select(import_preferences.store);
92
+ const { getEditorSettings, getPostTypeLabel } = select(import_store.store);
93
+ const { getStylesPath, getShowStylebook } = (0, import_lock_unlock.unlock)(
94
+ select(import_store.store)
95
+ );
96
+ const editorSettings = getEditorSettings();
97
+ let _mode = select(import_store.store).getEditorMode();
98
+ if (!editorSettings.richEditingEnabled && _mode === "visual") {
99
+ _mode = "text";
100
+ }
101
+ if (!editorSettings.codeEditingEnabled && _mode === "text") {
102
+ _mode = "visual";
103
+ }
104
+ return {
105
+ mode: _mode,
106
+ isInserterOpened: select(import_store.store).isInserterOpened(),
107
+ isListViewOpened: select(import_store.store).isListViewOpened(),
108
+ isDistractionFree: get("core", "distractionFree"),
109
+ isPreviewMode: editorSettings.isPreviewMode,
110
+ showBlockBreadcrumbs: get("core", "showBlockBreadcrumbs"),
111
+ postTypeLabel: getPostTypeLabel(),
112
+ stylesPath: getStylesPath(),
113
+ showStylebook: getShowStylebook()
114
+ };
115
+ }, []);
116
+ const isLargeViewport = (0, import_compose.useViewportMatch)("medium");
117
+ const secondarySidebarLabel = isListViewOpened ? (0, import_i18n.__)("Document Overview") : (0, import_i18n.__)("Block Library");
118
+ const shouldShowStylesCanvas = showStylebook || stylesPath?.startsWith("/revisions");
119
+ const [entitiesSavedStatesCallback, setEntitiesSavedStatesCallback] = (0, import_element.useState)(false);
120
+ const closeEntitiesSavedStates = (0, import_element.useCallback)(
121
+ (arg) => {
122
+ if (typeof entitiesSavedStatesCallback === "function") {
123
+ entitiesSavedStatesCallback(arg);
124
+ }
125
+ setEntitiesSavedStatesCallback(false);
126
+ },
127
+ [entitiesSavedStatesCallback]
128
+ );
129
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
130
+ import_interface.InterfaceSkeleton,
131
+ {
132
+ isDistractionFree,
133
+ className: (0, import_clsx.default)("editor-editor-interface", className, {
134
+ "is-entity-save-view-open": !!entitiesSavedStatesCallback,
135
+ "is-distraction-free": isDistractionFree && !isPreviewMode
136
+ }),
137
+ labels: {
138
+ ...interfaceLabels,
139
+ secondarySidebar: secondarySidebarLabel
140
+ },
141
+ header: !isPreviewMode && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
142
+ import_header.default,
143
+ {
144
+ forceIsDirty,
145
+ setEntitiesSavedStatesCallback,
146
+ customSaveButton,
147
+ forceDisableBlockTools
148
+ }
149
+ ),
150
+ editorNotices: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_editor_notices.default, {}),
151
+ secondarySidebar: !isPreviewMode && mode === "visual" && (isInserterOpened && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_inserter_sidebar.default, {}) || isListViewOpened && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_list_view_sidebar.default, {})),
152
+ sidebar: !isPreviewMode && !isDistractionFree && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_interface.ComplementaryArea.Slot, { scope: "core" }),
153
+ content: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
154
+ !isDistractionFree && !isPreviewMode && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_editor_notices.default, {}),
155
+ shouldShowStylesCanvas ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styles_canvas.default, {}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
156
+ !isPreviewMode && mode === "text" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
157
+ import_text_editor.default,
158
+ {
159
+ autoFocus
160
+ }
161
+ ),
162
+ !isPreviewMode && !isLargeViewport && mode === "visual" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_block_editor.BlockToolbar, { hideDragHandle: true }),
163
+ (isPreviewMode || mode === "visual") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
164
+ import_visual_editor.default,
165
+ {
166
+ contentRef,
167
+ disableIframe,
168
+ autoFocus,
169
+ iframeProps
170
+ }
171
+ ),
172
+ children
173
+ ] })
174
+ ] }),
175
+ footer: !isPreviewMode && !isDistractionFree && isLargeViewport && showBlockBreadcrumbs && mode === "visual" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
176
+ import_block_editor.BlockBreadcrumb,
177
+ {
178
+ rootLabelText: postTypeLabel ? (0, import_html_entities.decodeEntities)(postTypeLabel) : void 0
179
+ }
180
+ ),
181
+ actions: !isPreviewMode ? customSavePanel || /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
182
+ import_save_publish_panels.default,
183
+ {
184
+ closeEntitiesSavedStates,
185
+ isEntitiesSavedStatesOpen: entitiesSavedStatesCallback,
186
+ setEntitiesSavedStatesCallback,
187
+ forceIsDirtyPublishPanel: forceIsDirty
188
+ }
189
+ ) : void 0
190
+ }
191
+ );
192
+ }
193
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/editor-interface/index.js"],
4
+ "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport { InterfaceSkeleton, ComplementaryArea } from '@wordpress/interface';\nimport { useSelect } from '@wordpress/data';\nimport { __ } from '@wordpress/i18n';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport { BlockBreadcrumb, BlockToolbar } from '@wordpress/block-editor';\nimport { useViewportMatch } from '@wordpress/compose';\nimport { useState, useCallback } from '@wordpress/element';\nimport { decodeEntities } from '@wordpress/html-entities';\n\n/**\n * Internal dependencies\n */\nimport { store as editorStore } from '../../store';\nimport { unlock } from '../../lock-unlock';\nimport EditorNotices from '../editor-notices';\nimport Header from '../header';\nimport InserterSidebar from '../inserter-sidebar';\nimport ListViewSidebar from '../list-view-sidebar';\nimport SavePublishPanels from '../save-publish-panels';\nimport TextEditor from '../text-editor';\nimport VisualEditor from '../visual-editor';\nimport StylesCanvas from '../styles-canvas';\n\nconst interfaceLabels = {\n\t/* translators: accessibility text for the editor top bar landmark region. */\n\theader: __( 'Editor top bar' ),\n\t/* translators: accessibility text for the editor content landmark region. */\n\tbody: __( 'Editor content' ),\n\t/* translators: accessibility text for the editor settings landmark region. */\n\tsidebar: __( 'Editor settings' ),\n\t/* translators: accessibility text for the editor publish landmark region. */\n\tactions: __( 'Editor publish' ),\n\t/* translators: accessibility text for the editor footer landmark region. */\n\tfooter: __( 'Editor footer' ),\n};\n\nexport default function EditorInterface( {\n\tclassName,\n\tchildren,\n\tforceIsDirty,\n\tcontentRef,\n\tdisableIframe,\n\tautoFocus,\n\tcustomSaveButton,\n\tcustomSavePanel,\n\tforceDisableBlockTools,\n\tiframeProps,\n} ) {\n\tconst {\n\t\tmode,\n\t\tisInserterOpened,\n\t\tisListViewOpened,\n\t\tisDistractionFree,\n\t\tisPreviewMode,\n\t\tshowBlockBreadcrumbs,\n\t\tpostTypeLabel,\n\t\tstylesPath,\n\t\tshowStylebook,\n\t} = useSelect( ( select ) => {\n\t\tconst { get } = select( preferencesStore );\n\t\tconst { getEditorSettings, getPostTypeLabel } = select( editorStore );\n\t\tconst { getStylesPath, getShowStylebook } = unlock(\n\t\t\tselect( editorStore )\n\t\t);\n\t\tconst editorSettings = getEditorSettings();\n\n\t\tlet _mode = select( editorStore ).getEditorMode();\n\t\tif ( ! editorSettings.richEditingEnabled && _mode === 'visual' ) {\n\t\t\t_mode = 'text';\n\t\t}\n\t\tif ( ! editorSettings.codeEditingEnabled && _mode === 'text' ) {\n\t\t\t_mode = 'visual';\n\t\t}\n\n\t\treturn {\n\t\t\tmode: _mode,\n\t\t\tisInserterOpened: select( editorStore ).isInserterOpened(),\n\t\t\tisListViewOpened: select( editorStore ).isListViewOpened(),\n\t\t\tisDistractionFree: get( 'core', 'distractionFree' ),\n\t\t\tisPreviewMode: editorSettings.isPreviewMode,\n\t\t\tshowBlockBreadcrumbs: get( 'core', 'showBlockBreadcrumbs' ),\n\t\t\tpostTypeLabel: getPostTypeLabel(),\n\t\t\tstylesPath: getStylesPath(),\n\t\t\tshowStylebook: getShowStylebook(),\n\t\t};\n\t}, [] );\n\tconst isLargeViewport = useViewportMatch( 'medium' );\n\tconst secondarySidebarLabel = isListViewOpened\n\t\t? __( 'Document Overview' )\n\t\t: __( 'Block Library' );\n\tconst shouldShowStylesCanvas =\n\t\tshowStylebook || stylesPath?.startsWith( '/revisions' );\n\n\t// Local state for save panel.\n\t// Note 'truthy' callback implies an open panel.\n\tconst [ entitiesSavedStatesCallback, setEntitiesSavedStatesCallback ] =\n\t\tuseState( false );\n\tconst closeEntitiesSavedStates = useCallback(\n\t\t( arg ) => {\n\t\t\tif ( typeof entitiesSavedStatesCallback === 'function' ) {\n\t\t\t\tentitiesSavedStatesCallback( arg );\n\t\t\t}\n\t\t\tsetEntitiesSavedStatesCallback( false );\n\t\t},\n\t\t[ entitiesSavedStatesCallback ]\n\t);\n\n\treturn (\n\t\t<InterfaceSkeleton\n\t\t\tisDistractionFree={ isDistractionFree }\n\t\t\tclassName={ clsx( 'editor-editor-interface', className, {\n\t\t\t\t'is-entity-save-view-open': !! entitiesSavedStatesCallback,\n\t\t\t\t'is-distraction-free': isDistractionFree && ! isPreviewMode,\n\t\t\t} ) }\n\t\t\tlabels={ {\n\t\t\t\t...interfaceLabels,\n\t\t\t\tsecondarySidebar: secondarySidebarLabel,\n\t\t\t} }\n\t\t\theader={\n\t\t\t\t! isPreviewMode && (\n\t\t\t\t\t<Header\n\t\t\t\t\t\tforceIsDirty={ forceIsDirty }\n\t\t\t\t\t\tsetEntitiesSavedStatesCallback={\n\t\t\t\t\t\t\tsetEntitiesSavedStatesCallback\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcustomSaveButton={ customSaveButton }\n\t\t\t\t\t\tforceDisableBlockTools={ forceDisableBlockTools }\n\t\t\t\t\t/>\n\t\t\t\t)\n\t\t\t}\n\t\t\teditorNotices={ <EditorNotices /> }\n\t\t\tsecondarySidebar={\n\t\t\t\t! isPreviewMode &&\n\t\t\t\tmode === 'visual' &&\n\t\t\t\t( ( isInserterOpened && <InserterSidebar /> ) ||\n\t\t\t\t\t( isListViewOpened && <ListViewSidebar /> ) )\n\t\t\t}\n\t\t\tsidebar={\n\t\t\t\t! isPreviewMode &&\n\t\t\t\t! isDistractionFree && <ComplementaryArea.Slot scope=\"core\" />\n\t\t\t}\n\t\t\tcontent={\n\t\t\t\t<>\n\t\t\t\t\t{ ! isDistractionFree && ! isPreviewMode && (\n\t\t\t\t\t\t<EditorNotices />\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ shouldShowStylesCanvas ? (\n\t\t\t\t\t\t<StylesCanvas />\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{ ! isPreviewMode && mode === 'text' && (\n\t\t\t\t\t\t\t\t<TextEditor\n\t\t\t\t\t\t\t\t\t// We should auto-focus the canvas (title) on load.\n\t\t\t\t\t\t\t\t\t// eslint-disable-next-line jsx-a11y/no-autofocus\n\t\t\t\t\t\t\t\t\tautoFocus={ autoFocus }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t{ ! isPreviewMode &&\n\t\t\t\t\t\t\t\t! isLargeViewport &&\n\t\t\t\t\t\t\t\tmode === 'visual' && (\n\t\t\t\t\t\t\t\t\t<BlockToolbar hideDragHandle />\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t{ ( isPreviewMode || mode === 'visual' ) && (\n\t\t\t\t\t\t\t\t<VisualEditor\n\t\t\t\t\t\t\t\t\tcontentRef={ contentRef }\n\t\t\t\t\t\t\t\t\tdisableIframe={ disableIframe }\n\t\t\t\t\t\t\t\t\t// We should auto-focus the canvas (title) on load.\n\t\t\t\t\t\t\t\t\t// eslint-disable-next-line jsx-a11y/no-autofocus\n\t\t\t\t\t\t\t\t\tautoFocus={ autoFocus }\n\t\t\t\t\t\t\t\t\tiframeProps={ iframeProps }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t{ children }\n\t\t\t\t\t\t</>\n\t\t\t\t\t) }\n\t\t\t\t</>\n\t\t\t}\n\t\t\tfooter={\n\t\t\t\t! isPreviewMode &&\n\t\t\t\t! isDistractionFree &&\n\t\t\t\tisLargeViewport &&\n\t\t\t\tshowBlockBreadcrumbs &&\n\t\t\t\tmode === 'visual' && (\n\t\t\t\t\t<BlockBreadcrumb\n\t\t\t\t\t\trootLabelText={\n\t\t\t\t\t\t\tpostTypeLabel\n\t\t\t\t\t\t\t\t? decodeEntities( postTypeLabel )\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\t\t\t\t)\n\t\t\t}\n\t\t\tactions={\n\t\t\t\t! isPreviewMode\n\t\t\t\t\t? customSavePanel || (\n\t\t\t\t\t\t\t<SavePublishPanels\n\t\t\t\t\t\t\t\tcloseEntitiesSavedStates={\n\t\t\t\t\t\t\t\t\tcloseEntitiesSavedStates\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tisEntitiesSavedStatesOpen={\n\t\t\t\t\t\t\t\t\tentitiesSavedStatesCallback\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tsetEntitiesSavedStatesCallback={\n\t\t\t\t\t\t\t\t\tsetEntitiesSavedStatesCallback\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tforceIsDirtyPublishPanel={ forceIsDirty }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t )\n\t\t\t\t\t: undefined\n\t\t\t}\n\t\t/>\n\t);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,kBAAiB;AAKjB,uBAAqD;AACrD,kBAA0B;AAC1B,kBAAmB;AACnB,yBAA0C;AAC1C,0BAA8C;AAC9C,qBAAiC;AACjC,qBAAsC;AACtC,2BAA+B;AAK/B,mBAAqC;AACrC,yBAAuB;AACvB,4BAA0B;AAC1B,oBAAmB;AACnB,8BAA4B;AAC5B,+BAA4B;AAC5B,iCAA8B;AAC9B,yBAAuB;AACvB,2BAAyB;AACzB,2BAAyB;AAmGpB;AAjGL,IAAM,kBAAkB;AAAA;AAAA,EAEvB,YAAQ,gBAAI,gBAAiB;AAAA;AAAA,EAE7B,UAAM,gBAAI,gBAAiB;AAAA;AAAA,EAE3B,aAAS,gBAAI,iBAAkB;AAAA;AAAA,EAE/B,aAAS,gBAAI,gBAAiB;AAAA;AAAA,EAE9B,YAAQ,gBAAI,eAAgB;AAC7B;AAEe,SAAR,gBAAkC;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,GAAI;AACH,QAAM;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD,QAAI,uBAAW,CAAE,WAAY;AAC5B,UAAM,EAAE,IAAI,IAAI,OAAQ,mBAAAA,KAAiB;AACzC,UAAM,EAAE,mBAAmB,iBAAiB,IAAI,OAAQ,aAAAC,KAAY;AACpE,UAAM,EAAE,eAAe,iBAAiB,QAAI;AAAA,MAC3C,OAAQ,aAAAA,KAAY;AAAA,IACrB;AACA,UAAM,iBAAiB,kBAAkB;AAEzC,QAAI,QAAQ,OAAQ,aAAAA,KAAY,EAAE,cAAc;AAChD,QAAK,CAAE,eAAe,sBAAsB,UAAU,UAAW;AAChE,cAAQ;AAAA,IACT;AACA,QAAK,CAAE,eAAe,sBAAsB,UAAU,QAAS;AAC9D,cAAQ;AAAA,IACT;AAEA,WAAO;AAAA,MACN,MAAM;AAAA,MACN,kBAAkB,OAAQ,aAAAA,KAAY,EAAE,iBAAiB;AAAA,MACzD,kBAAkB,OAAQ,aAAAA,KAAY,EAAE,iBAAiB;AAAA,MACzD,mBAAmB,IAAK,QAAQ,iBAAkB;AAAA,MAClD,eAAe,eAAe;AAAA,MAC9B,sBAAsB,IAAK,QAAQ,sBAAuB;AAAA,MAC1D,eAAe,iBAAiB;AAAA,MAChC,YAAY,cAAc;AAAA,MAC1B,eAAe,iBAAiB;AAAA,IACjC;AAAA,EACD,GAAG,CAAC,CAAE;AACN,QAAM,sBAAkB,iCAAkB,QAAS;AACnD,QAAM,wBAAwB,uBAC3B,gBAAI,mBAAoB,QACxB,gBAAI,eAAgB;AACvB,QAAM,yBACL,iBAAiB,YAAY,WAAY,YAAa;AAIvD,QAAM,CAAE,6BAA6B,8BAA+B,QACnE,yBAAU,KAAM;AACjB,QAAM,+BAA2B;AAAA,IAChC,CAAE,QAAS;AACV,UAAK,OAAO,gCAAgC,YAAa;AACxD,oCAA6B,GAAI;AAAA,MAClC;AACA,qCAAgC,KAAM;AAAA,IACvC;AAAA,IACA,CAAE,2BAA4B;AAAA,EAC/B;AAEA,SACC;AAAA,IAAC;AAAA;AAAA,MACA;AAAA,MACA,eAAY,YAAAC,SAAM,2BAA2B,WAAW;AAAA,QACvD,4BAA4B,CAAC,CAAE;AAAA,QAC/B,uBAAuB,qBAAqB,CAAE;AAAA,MAC/C,CAAE;AAAA,MACF,QAAS;AAAA,QACR,GAAG;AAAA,QACH,kBAAkB;AAAA,MACnB;AAAA,MACA,QACC,CAAE,iBACD;AAAA,QAAC,cAAAC;AAAA,QAAA;AAAA,UACA;AAAA,UACA;AAAA,UAGA;AAAA,UACA;AAAA;AAAA,MACD;AAAA,MAGF,eAAgB,4CAAC,sBAAAC,SAAA,EAAc;AAAA,MAC/B,kBACC,CAAE,iBACF,SAAS,aACL,oBAAoB,4CAAC,wBAAAC,SAAA,EAAgB,KACtC,oBAAoB,4CAAC,yBAAAC,SAAA,EAAgB;AAAA,MAEzC,SACC,CAAE,iBACF,CAAE,qBAAqB,4CAAC,mCAAkB,MAAlB,EAAuB,OAAM,QAAO;AAAA,MAE7D,SACC,4EACG;AAAA,SAAE,qBAAqB,CAAE,iBAC1B,4CAAC,sBAAAF,SAAA,EAAc;AAAA,QAGd,yBACD,4CAAC,qBAAAG,SAAA,EAAa,IAEd,4EACG;AAAA,WAAE,iBAAiB,SAAS,UAC7B;AAAA,YAAC,mBAAAC;AAAA,YAAA;AAAA,cAGA;AAAA;AAAA,UACD;AAAA,UAEC,CAAE,iBACH,CAAE,mBACF,SAAS,YACR,4CAAC,oCAAa,gBAAc,MAAC;AAAA,WAE3B,iBAAiB,SAAS,aAC7B;AAAA,YAAC,qBAAAC;AAAA,YAAA;AAAA,cACA;AAAA,cACA;AAAA,cAGA;AAAA,cACA;AAAA;AAAA,UACD;AAAA,UAEC;AAAA,WACH;AAAA,SAEF;AAAA,MAED,QACC,CAAE,iBACF,CAAE,qBACF,mBACA,wBACA,SAAS,YACR;AAAA,QAAC;AAAA;AAAA,UACA,eACC,oBACG,qCAAgB,aAAc,IAC9B;AAAA;AAAA,MAEL;AAAA,MAGF,SACC,CAAE,gBACC,mBACA;AAAA,QAAC,2BAAAC;AAAA,QAAA;AAAA,UACA;AAAA,UAGA,2BACC;AAAA,UAED;AAAA,UAGA,0BAA2B;AAAA;AAAA,MAC5B,IAEA;AAAA;AAAA,EAEL;AAEF;",
6
+ "names": ["preferencesStore", "editorStore", "clsx", "Header", "EditorNotices", "InserterSidebar", "ListViewSidebar", "StylesCanvas", "TextEditor", "VisualEditor", "SavePublishPanels"]
7
+ }
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // packages/editor/src/components/editor-notices/index.js
31
+ var editor_notices_exports = {};
32
+ __export(editor_notices_exports, {
33
+ EditorNotices: () => EditorNotices,
34
+ default: () => editor_notices_default
35
+ });
36
+ module.exports = __toCommonJS(editor_notices_exports);
37
+ var import_components = require("@wordpress/components");
38
+ var import_data = require("@wordpress/data");
39
+ var import_notices = require("@wordpress/notices");
40
+ var import_template_validation_notice = __toESM(require("../template-validation-notice/index.cjs"));
41
+ var import_jsx_runtime = require("react/jsx-runtime");
42
+ function EditorNotices() {
43
+ const { notices } = (0, import_data.useSelect)(
44
+ (select) => ({
45
+ notices: select(import_notices.store).getNotices()
46
+ }),
47
+ []
48
+ );
49
+ const { removeNotice } = (0, import_data.useDispatch)(import_notices.store);
50
+ const dismissibleNotices = notices.filter(
51
+ ({ isDismissible, type }) => isDismissible && type === "default"
52
+ );
53
+ const nonDismissibleNotices = notices.filter(
54
+ ({ isDismissible, type }) => !isDismissible && type === "default"
55
+ );
56
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
57
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
58
+ import_components.NoticeList,
59
+ {
60
+ notices: nonDismissibleNotices,
61
+ className: "components-editor-notices__pinned"
62
+ }
63
+ ),
64
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
65
+ import_components.NoticeList,
66
+ {
67
+ notices: dismissibleNotices,
68
+ className: "components-editor-notices__dismissible",
69
+ onRemove: removeNotice,
70
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_template_validation_notice.default, {})
71
+ }
72
+ )
73
+ ] });
74
+ }
75
+ var editor_notices_default = EditorNotices;
76
+ // Annotate the CommonJS export names for ESM import in node:
77
+ 0 && (module.exports = {
78
+ EditorNotices
79
+ });
80
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // packages/editor/src/components/editor-snackbars/index.js
21
+ var editor_snackbars_exports = {};
22
+ __export(editor_snackbars_exports, {
23
+ default: () => EditorSnackbars
24
+ });
25
+ module.exports = __toCommonJS(editor_snackbars_exports);
26
+ var import_components = require("@wordpress/components");
27
+ var import_data = require("@wordpress/data");
28
+ var import_notices = require("@wordpress/notices");
29
+ var import_jsx_runtime = require("react/jsx-runtime");
30
+ var MAX_VISIBLE_NOTICES = -3;
31
+ function EditorSnackbars() {
32
+ const notices = (0, import_data.useSelect)(
33
+ (select) => select(import_notices.store).getNotices(),
34
+ []
35
+ );
36
+ const { removeNotice } = (0, import_data.useDispatch)(import_notices.store);
37
+ const snackbarNotices = notices.filter(({ type }) => type === "snackbar").slice(MAX_VISIBLE_NOTICES);
38
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
39
+ import_components.SnackbarList,
40
+ {
41
+ notices: snackbarNotices,
42
+ className: "components-editor-notices__snackbar",
43
+ onRemove: removeNotice
44
+ }
45
+ );
46
+ }
47
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // packages/editor/src/components/entities-saved-states/entity-record-item.js
21
+ var entity_record_item_exports = {};
22
+ __export(entity_record_item_exports, {
23
+ default: () => EntityRecordItem
24
+ });
25
+ module.exports = __toCommonJS(entity_record_item_exports);
26
+ var import_components = require("@wordpress/components");
27
+ var import_i18n = require("@wordpress/i18n");
28
+ var import_data = require("@wordpress/data");
29
+ var import_core_data = require("@wordpress/core-data");
30
+ var import_html_entities = require("@wordpress/html-entities");
31
+ var import_store = require("../../store/index.cjs");
32
+ var import_lock_unlock = require("../../lock-unlock.cjs");
33
+ var import_get_template_info = require("../../utils/get-template-info.cjs");
34
+ var import_jsx_runtime = require("react/jsx-runtime");
35
+ function EntityRecordItem({ record, checked, onChange }) {
36
+ const { name, kind, title, key } = record;
37
+ const { entityRecordTitle, hasPostMetaChanges } = (0, import_data.useSelect)(
38
+ (select) => {
39
+ if ("postType" !== kind || "wp_template" !== name) {
40
+ return {
41
+ entityRecordTitle: title,
42
+ hasPostMetaChanges: (0, import_lock_unlock.unlock)(
43
+ select(import_store.store)
44
+ ).hasPostMetaChanges(name, key)
45
+ };
46
+ }
47
+ const template = select(import_core_data.store).getEditedEntityRecord(
48
+ kind,
49
+ name,
50
+ key
51
+ );
52
+ const { default_template_types: templateTypes = [] } = select(import_core_data.store).getCurrentTheme() ?? {};
53
+ return {
54
+ entityRecordTitle: (0, import_get_template_info.getTemplateInfo)({
55
+ template,
56
+ templateTypes
57
+ }).title,
58
+ hasPostMetaChanges: (0, import_lock_unlock.unlock)(
59
+ select(import_store.store)
60
+ ).hasPostMetaChanges(name, key)
61
+ };
62
+ },
63
+ [name, kind, title, key]
64
+ );
65
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
66
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.PanelRow, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
67
+ import_components.CheckboxControl,
68
+ {
69
+ label: (0, import_html_entities.decodeEntities)(entityRecordTitle) || (0, import_i18n.__)("Untitled"),
70
+ checked,
71
+ onChange,
72
+ className: "entities-saved-states__change-control"
73
+ }
74
+ ) }),
75
+ hasPostMetaChanges && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", { className: "entities-saved-states__changes", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { children: (0, import_i18n.__)("Post Meta.") }) })
76
+ ] });
77
+ }
78
+ //# sourceMappingURL=entity-record-item.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/entities-saved-states/entity-record-item.js"],
4
+ "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { CheckboxControl, PanelRow } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\nimport { useSelect } from '@wordpress/data';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { decodeEntities } from '@wordpress/html-entities';\n\n/**\n * Internal dependencies\n */\nimport { store as editorStore } from '../../store';\nimport { unlock } from '../../lock-unlock';\nimport { getTemplateInfo } from '../../utils/get-template-info';\n\nexport default function EntityRecordItem( { record, checked, onChange } ) {\n\tconst { name, kind, title, key } = record;\n\n\t// Handle templates that might use default descriptive titles.\n\tconst { entityRecordTitle, hasPostMetaChanges } = useSelect(\n\t\t( select ) => {\n\t\t\tif ( 'postType' !== kind || 'wp_template' !== name ) {\n\t\t\t\treturn {\n\t\t\t\t\tentityRecordTitle: title,\n\t\t\t\t\thasPostMetaChanges: unlock(\n\t\t\t\t\t\tselect( editorStore )\n\t\t\t\t\t).hasPostMetaChanges( name, key ),\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tconst template = select( coreStore ).getEditedEntityRecord(\n\t\t\t\tkind,\n\t\t\t\tname,\n\t\t\t\tkey\n\t\t\t);\n\n\t\t\tconst { default_template_types: templateTypes = [] } =\n\t\t\t\tselect( coreStore ).getCurrentTheme() ?? {};\n\n\t\t\treturn {\n\t\t\t\tentityRecordTitle: getTemplateInfo( {\n\t\t\t\t\ttemplate,\n\t\t\t\t\ttemplateTypes,\n\t\t\t\t} ).title,\n\t\t\t\thasPostMetaChanges: unlock(\n\t\t\t\t\tselect( editorStore )\n\t\t\t\t).hasPostMetaChanges( name, key ),\n\t\t\t};\n\t\t},\n\t\t[ name, kind, title, key ]\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t<PanelRow>\n\t\t\t\t<CheckboxControl\n\t\t\t\t\tlabel={\n\t\t\t\t\t\tdecodeEntities( entityRecordTitle ) || __( 'Untitled' )\n\t\t\t\t\t}\n\t\t\t\t\tchecked={ checked }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t\tclassName=\"entities-saved-states__change-control\"\n\t\t\t\t/>\n\t\t\t</PanelRow>\n\t\t\t{ hasPostMetaChanges && (\n\t\t\t\t<ul className=\"entities-saved-states__changes\">\n\t\t\t\t\t<li>{ __( 'Post Meta.' ) }</li>\n\t\t\t\t</ul>\n\t\t\t) }\n\t\t</>\n\t);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAA0C;AAC1C,kBAAmB;AACnB,kBAA0B;AAC1B,uBAAmC;AACnC,2BAA+B;AAK/B,mBAAqC;AACrC,yBAAuB;AACvB,+BAAgC;AAwC9B;AAtCa,SAAR,iBAAmC,EAAE,QAAQ,SAAS,SAAS,GAAI;AACzE,QAAM,EAAE,MAAM,MAAM,OAAO,IAAI,IAAI;AAGnC,QAAM,EAAE,mBAAmB,mBAAmB,QAAI;AAAA,IACjD,CAAE,WAAY;AACb,UAAK,eAAe,QAAQ,kBAAkB,MAAO;AACpD,eAAO;AAAA,UACN,mBAAmB;AAAA,UACnB,wBAAoB;AAAA,YACnB,OAAQ,aAAAA,KAAY;AAAA,UACrB,EAAE,mBAAoB,MAAM,GAAI;AAAA,QACjC;AAAA,MACD;AAEA,YAAM,WAAW,OAAQ,iBAAAC,KAAU,EAAE;AAAA,QACpC;AAAA,QACA;AAAA,QACA;AAAA,MACD;AAEA,YAAM,EAAE,wBAAwB,gBAAgB,CAAC,EAAE,IAClD,OAAQ,iBAAAA,KAAU,EAAE,gBAAgB,KAAK,CAAC;AAE3C,aAAO;AAAA,QACN,uBAAmB,0CAAiB;AAAA,UACnC;AAAA,UACA;AAAA,QACD,CAAE,EAAE;AAAA,QACJ,wBAAoB;AAAA,UACnB,OAAQ,aAAAD,KAAY;AAAA,QACrB,EAAE,mBAAoB,MAAM,GAAI;AAAA,MACjC;AAAA,IACD;AAAA,IACA,CAAE,MAAM,MAAM,OAAO,GAAI;AAAA,EAC1B;AAEA,SACC,4EACC;AAAA,gDAAC,8BACA;AAAA,MAAC;AAAA;AAAA,QACA,WACC,qCAAgB,iBAAkB,SAAK,gBAAI,UAAW;AAAA,QAEvD;AAAA,QACA;AAAA,QACA,WAAU;AAAA;AAAA,IACX,GACD;AAAA,IACE,sBACD,4CAAC,QAAG,WAAU,kCACb,sDAAC,QAAK,8BAAI,YAAa,GAAG,GAC3B;AAAA,KAEF;AAEF;",
6
+ "names": ["editorStore", "coreStore"]
7
+ }