@uva-glass/component-library 3.55.4 → 3.55.6

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 (330) hide show
  1. package/dist/{Accordion-BpnBHYIx.js → Accordion-DvblEUVu.js} +16 -17
  2. package/dist/{Accordion-BpnBHYIx.js.map → Accordion-DvblEUVu.js.map} +1 -1
  3. package/dist/ActionList-O9w1hqNg.js.map +1 -1
  4. package/dist/{AddCatalogueLinkForm-Cy6fPNvN.js → AddCatalogueLinkForm-rph4K9P0.js} +24 -25
  5. package/dist/{AddCatalogueLinkForm-Cy6fPNvN.js.map → AddCatalogueLinkForm-rph4K9P0.js.map} +1 -1
  6. package/dist/{CheckboxButtonBar-CalU0IYK.js → CheckboxButtonBar-5UMIFMKH.js} +2 -2
  7. package/dist/{CheckboxButtonBar-CalU0IYK.js.map → CheckboxButtonBar-5UMIFMKH.js.map} +1 -1
  8. package/dist/{ControlsButton-zemVxTlg.js → ControlsButton-B1XRpMUM.js} +15 -16
  9. package/dist/{ControlsButton-zemVxTlg.js.map → ControlsButton-B1XRpMUM.js.map} +1 -1
  10. package/dist/{Drawer-Ggofac6y.js → Drawer-e7UFHVg9.js} +29 -30
  11. package/dist/{Drawer-Ggofac6y.js.map → Drawer-e7UFHVg9.js.map} +1 -1
  12. package/dist/{FieldHint-D0HtbTnt.js → FieldHint-fxnEOsVZ.js} +2 -2
  13. package/dist/{FieldHint-D0HtbTnt.js.map → FieldHint-fxnEOsVZ.js.map} +1 -1
  14. package/dist/Fieldset-0LFsZ3Mz.js +22 -0
  15. package/dist/{Fieldset-CoNu_Owa.js.map → Fieldset-0LFsZ3Mz.js.map} +1 -1
  16. package/dist/{Lexical.prod-DIglXatJ.js → Lexical.prod-CqPLSi0R.js} +1225 -1120
  17. package/dist/Lexical.prod-CqPLSi0R.js.map +1 -0
  18. package/dist/LexicalClipboard.prod-BVw_sFpo.js +651 -0
  19. package/dist/LexicalClipboard.prod-BVw_sFpo.js.map +1 -0
  20. package/dist/{LexicalExtension.prod-COPHoPpX.js → LexicalExtension.prod-CUQTgbur.js} +318 -291
  21. package/dist/LexicalExtension.prod-CUQTgbur.js.map +1 -0
  22. package/dist/{LexicalLink.prod-Bf9JUdMv.js → LexicalLink.prod-DMhcqD9x.js} +212 -205
  23. package/dist/LexicalLink.prod-DMhcqD9x.js.map +1 -0
  24. package/dist/{LexicalList.prod-DRz8vsM9.js → LexicalList.prod-eYlcb5Ao.js} +295 -255
  25. package/dist/LexicalList.prod-eYlcb5Ao.js.map +1 -0
  26. package/dist/{LexicalTable.prod-D16GW-aZ.js → LexicalTable.prod-DlOxUQou.js} +717 -703
  27. package/dist/LexicalTable.prod-DlOxUQou.js.map +1 -0
  28. package/dist/LexicalUtils.prod-BqcriFWV.js +343 -0
  29. package/dist/LexicalUtils.prod-BqcriFWV.js.map +1 -0
  30. package/dist/{LinkContextMenu-m_CGQEiX.js → LinkContextMenu-ePn1iZ_z.js} +2 -2
  31. package/dist/{LinkContextMenu-m_CGQEiX.js.map → LinkContextMenu-ePn1iZ_z.js.map} +1 -1
  32. package/dist/{ModalDialog-HUkDdAJ-.js → ModalDialog-N50NGnd4.js} +2 -2
  33. package/dist/{ModalDialog-HUkDdAJ-.js.map → ModalDialog-N50NGnd4.js.map} +1 -1
  34. package/dist/MultiSelectBox-Cuh_o-A1.js.map +1 -1
  35. package/dist/{PageOverlay-D_wG2oie.js → PageOverlay-S4xsqJha.js} +2 -2
  36. package/dist/{PageOverlay-D_wG2oie.js.map → PageOverlay-S4xsqJha.js.map} +1 -1
  37. package/dist/{PasteHandlerPlugin-DjD1wryY.js → PasteHandlerPlugin-BNp8ST0q.js} +5 -5
  38. package/dist/{PasteHandlerPlugin-DjD1wryY.js.map → PasteHandlerPlugin-BNp8ST0q.js.map} +1 -1
  39. package/dist/Periods-BYETtB6R.js.map +1 -1
  40. package/dist/{RteEditor.module-Jk80F1FA.js → RteEditor.module-BJLUYSpf.js} +9 -10
  41. package/dist/{RteEditor.module-Jk80F1FA.js.map → RteEditor.module-BJLUYSpf.js.map} +1 -1
  42. package/dist/Slider-BlLyrET9.js.map +1 -1
  43. package/dist/{Sortable.module-BTUOSbOU.js → Sortable.module-8SoaHfuE.js} +6 -7
  44. package/dist/{Sortable.module-BTUOSbOU.js.map → Sortable.module-8SoaHfuE.js.map} +1 -1
  45. package/dist/{SortableProvider-Dc7hwkb5.js → SortableProvider-8HYiBXJS.js} +2 -2
  46. package/dist/{SortableProvider-Dc7hwkb5.js.map → SortableProvider-8HYiBXJS.js.map} +1 -1
  47. package/dist/Spinner-BpElTDIu.js +30 -0
  48. package/dist/{Spinner-D8tWqg9j.js.map → Spinner-BpElTDIu.js.map} +1 -1
  49. package/dist/{TableCellResizerPlugin-CgYsYsuY.js → TableCellResizerPlugin-Bc5y-Qbx.js} +36 -36
  50. package/dist/{TableCellResizerPlugin-CgYsYsuY.js.map → TableCellResizerPlugin-Bc5y-Qbx.js.map} +1 -1
  51. package/dist/{TextArea-DqKIpOfT.js → TextArea-CuASC9bX.js} +16 -17
  52. package/dist/{TextArea-DqKIpOfT.js.map → TextArea-CuASC9bX.js.map} +1 -1
  53. package/dist/{Tooltip-BzB3jznk.js → Tooltip-D27p9kh4.js} +13 -14
  54. package/dist/{Tooltip-BzB3jznk.js.map → Tooltip-D27p9kh4.js.map} +1 -1
  55. package/dist/{chunk-DeC0fbbY.js → chunk-3e0lkp8x.js} +1 -1
  56. package/dist/{chunk-SZQXB3JV-D0XG4Tlp.js → chunk-SZQXB3JV-D6GR5B4F.js} +5 -5
  57. package/dist/chunk-SZQXB3JV-D6GR5B4F.js.map +1 -0
  58. package/dist/{client-UU-mS47K.js → client-8jeXrH7N.js} +10 -10
  59. package/dist/{client-UU-mS47K.js.map → client-8jeXrH7N.js.map} +1 -1
  60. package/dist/components/Accordion/Accordion.js +1 -1
  61. package/dist/components/Accordion/Accordion.stories.js +1 -1
  62. package/dist/components/Accordion/Accordion.stories.js.map +1 -1
  63. package/dist/components/Accordion/Accordion.test.js +4 -7
  64. package/dist/components/Accordion/Accordion.test.js.map +1 -1
  65. package/dist/components/Accordion/index.js +1 -1
  66. package/dist/components/AccordionCard/AccordionCard.stories.js.map +1 -1
  67. package/dist/components/AccordionCard/AccordionCard.test.js +3 -6
  68. package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
  69. package/dist/components/ActionList/ActionList.stories.js.map +1 -1
  70. package/dist/components/ActionList/ActionList.test.js +3 -6
  71. package/dist/components/ActionList/ActionList.test.js.map +1 -1
  72. package/dist/components/AppStatusBar/AppStatusBar.stories.js.map +1 -1
  73. package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -5
  74. package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
  75. package/dist/components/Attention/Attention.stories.js.map +1 -1
  76. package/dist/components/Attention/Attention.test.js +2 -5
  77. package/dist/components/Attention/Attention.test.js.map +1 -1
  78. package/dist/components/Backdrop/Backdrop.stories.js.map +1 -1
  79. package/dist/components/Backdrop/Backdrop.test.js +2 -5
  80. package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
  81. package/dist/components/ButtonGroup/ButtonGroup.stories.js.map +1 -1
  82. package/dist/components/Buttons/Button.stories.js +1 -1
  83. package/dist/components/Buttons/Button.stories.js.map +1 -1
  84. package/dist/components/Buttons/Button.test.js +2 -5
  85. package/dist/components/Buttons/Button.test.js.map +1 -1
  86. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  87. package/dist/components/Buttons/LinkButton.stories.js.map +1 -1
  88. package/dist/components/Buttons/LinkButton.test.js +2 -5
  89. package/dist/components/Buttons/LinkButton.test.js.map +1 -1
  90. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  91. package/dist/components/Buttons/MenuButton.stories.js.map +1 -1
  92. package/dist/components/Buttons/MenuButton.test.js +2 -5
  93. package/dist/components/Buttons/MenuButton.test.js.map +1 -1
  94. package/dist/components/Card/Card.stories.js.map +1 -1
  95. package/dist/components/Card/Card.test.js +2 -5
  96. package/dist/components/Card/Card.test.js.map +1 -1
  97. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  98. package/dist/components/Checkbox/Checkbox.stories.js.map +1 -1
  99. package/dist/components/Checkbox/Checkbox.test.js +3 -6
  100. package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
  101. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +1 -1
  102. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +2 -2
  103. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js.map +1 -1
  104. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +3 -6
  105. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
  106. package/dist/components/CheckboxButtonBar/index.js +1 -1
  107. package/dist/components/CheckboxTree/CheckboxTree.js +1 -2
  108. package/dist/components/CheckboxTree/CheckboxTree.stories.js +3 -4
  109. package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
  110. package/dist/components/CheckboxTree/index.js +1 -2
  111. package/dist/components/Chip/Chip.stories.js +1 -1
  112. package/dist/components/Chip/Chip.stories.js.map +1 -1
  113. package/dist/components/ControlsButton/ControlsButton.js +1 -1
  114. package/dist/components/ControlsButton/ControlsButton.stories.js +2 -2
  115. package/dist/components/ControlsButton/ControlsButton.stories.js.map +1 -1
  116. package/dist/components/ControlsButton/index.js +1 -1
  117. package/dist/components/Drawer/Drawer.js +1 -1
  118. package/dist/components/Drawer/Drawer.stories.js +2 -2
  119. package/dist/components/Drawer/Drawer.stories.js.map +1 -1
  120. package/dist/components/Drawer/index.js +1 -1
  121. package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js.map +1 -1
  122. package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js.map +1 -1
  123. package/dist/components/FeedbackBar/FeedbackBar.stories.js.map +1 -1
  124. package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -5
  125. package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
  126. package/dist/components/FeedbackBox/FeedbackBox.stories.js.map +1 -1
  127. package/dist/components/FieldHint/FieldHint.js +1 -1
  128. package/dist/components/FieldHint/FieldHint.stories.js +1 -1
  129. package/dist/components/FieldHint/FieldHint.stories.js.map +1 -1
  130. package/dist/components/FieldHint/index.js +1 -1
  131. package/dist/components/Fieldset/Fieldset.js +1 -1
  132. package/dist/components/Fieldset/Fieldset.stories.js +1 -1
  133. package/dist/components/Fieldset/Fieldset.stories.js.map +1 -1
  134. package/dist/components/Fieldset/index.js +1 -1
  135. package/dist/components/FormField/FormField.stories.js.map +1 -1
  136. package/dist/components/FormInput/FormInput.js +1 -2
  137. package/dist/components/FormInput/FormInput.stories.js +2 -3
  138. package/dist/components/FormInput/FormInput.stories.js.map +1 -1
  139. package/dist/components/FormInput/index.js +1 -2
  140. package/dist/components/GridRow/GridRow.stories.js.map +1 -1
  141. package/dist/components/HorizontalList/HorizontalList.stories.js.map +1 -1
  142. package/dist/components/Icon/Icon.stories.js.map +1 -1
  143. package/dist/components/IconButton/IconButton.stories.js +6 -7
  144. package/dist/components/IconButton/IconButton.stories.js.map +1 -1
  145. package/dist/components/InfoBanner/InfoBanner.stories.js.map +1 -1
  146. package/dist/components/InfoMessage/InfoMessage.stories.js.map +1 -1
  147. package/dist/components/Input/Input.stories.js.map +1 -1
  148. package/dist/components/InputField/InputField.stories.js +1 -3
  149. package/dist/components/InputField/InputField.stories.js.map +1 -1
  150. package/dist/components/Label/Label.stories.js.map +1 -1
  151. package/dist/components/Label/Label.test.js +2 -5
  152. package/dist/components/Label/Label.test.js.map +1 -1
  153. package/dist/components/MenuLink/MenuLink.stories.js.map +1 -1
  154. package/dist/components/MetaDataBar/MetaDataBar.stories.js.map +1 -1
  155. package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -4
  156. package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
  157. package/dist/components/MetaDataList/MetaDataList.stories.js.map +1 -1
  158. package/dist/components/ModalDialog/ModalDialog.js +1 -1
  159. package/dist/components/ModalDialog/ModalDialog.stories.js +2 -2
  160. package/dist/components/ModalDialog/ModalDialog.stories.js.map +1 -1
  161. package/dist/components/ModalDialog/index.js +1 -1
  162. package/dist/components/MultiSelect/MultiSelect.js +1 -2
  163. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -3
  164. package/dist/components/MultiSelect/MultiSelect.stories.js.map +1 -1
  165. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -2
  166. package/dist/components/MultiSelect/index.js +1 -2
  167. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
  168. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js.map +1 -1
  169. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +2 -5
  170. package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
  171. package/dist/components/Notification/Notification.stories.js +1 -1
  172. package/dist/components/Notification/Notification.stories.js.map +1 -1
  173. package/dist/components/Notification/Notification.test.js +2 -5
  174. package/dist/components/Notification/Notification.test.js.map +1 -1
  175. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +6 -7
  176. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -1
  177. package/dist/components/OverlayStepBar/OverlayStepBar.stories.js.map +1 -1
  178. package/dist/components/PageOverlay/PageOverlay.js +1 -1
  179. package/dist/components/PageOverlay/PageOverlay.stories.js +1 -1
  180. package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
  181. package/dist/components/PageOverlay/index.js +1 -1
  182. package/dist/components/PeriodSelector/PeriodSelector.js +1 -2
  183. package/dist/components/PeriodSelector/PeriodSelector.stories.js +2 -3
  184. package/dist/components/PeriodSelector/PeriodSelector.stories.js.map +1 -1
  185. package/dist/components/PeriodSelector/index.js +1 -2
  186. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +0 -2
  187. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
  188. package/dist/components/RadioButton/RadioButton.stories.js.map +1 -1
  189. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  190. package/dist/components/RadioGroup/RadioGroup.stories.js.map +1 -1
  191. package/dist/components/RadioGroup/Radiogroup.test.js +2 -5
  192. package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
  193. package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -2
  194. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +2 -3
  195. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js.map +1 -1
  196. package/dist/components/RadioTabSelector/index.js +1 -2
  197. package/dist/components/Repeater/Repeater.stories.js.map +1 -1
  198. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -2
  199. package/dist/components/RteEditor/EditorHeader/index.js +1 -2
  200. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +5 -5
  201. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +1 -1
  202. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +1 -1
  203. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +36 -36
  204. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js.map +1 -1
  205. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +1 -2
  206. package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +1 -2
  207. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -2
  208. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  209. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +1 -2
  210. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  211. package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +1 -2
  212. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +16 -16
  213. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js.map +1 -1
  214. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +1 -1
  215. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +1 -1
  216. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +1 -1
  217. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
  218. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -2
  219. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +1 -2
  220. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +29 -29
  221. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js.map +1 -1
  222. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -2
  223. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +1 -2
  224. package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +1 -2
  225. package/dist/components/RteEditor/Plugins/index.js +3 -3
  226. package/dist/components/RteEditor/RteEditor.js +1 -2
  227. package/dist/components/RteEditor/RteEditor.stories.js +1 -2
  228. package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
  229. package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
  230. package/dist/components/RteEditor/helpers.js +5 -5
  231. package/dist/components/RteEditor/helpers.js.map +1 -1
  232. package/dist/components/RteEditor/hooks/useFlyout.js.map +1 -1
  233. package/dist/components/RteEditor/index.js +1 -2
  234. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +17 -17
  235. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js.map +1 -1
  236. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +19 -19
  237. package/dist/components/SearchField/SearcheField.stories.js.map +1 -1
  238. package/dist/components/SectionNotification/SectionNotification.stories.js.map +1 -1
  239. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  240. package/dist/components/SelectListbox/SelectListBox.stories.js.map +1 -1
  241. package/dist/components/SelectListbox/SelectProvider.js.map +1 -1
  242. package/dist/components/Slider/Slider.stories.js.map +1 -1
  243. package/dist/components/Sortable/Sortable.js +1 -1
  244. package/dist/components/Sortable/Sortable.stories.js +1 -1
  245. package/dist/components/Sortable/Sortable.stories.js.map +1 -1
  246. package/dist/components/Sortable/SortableProvider.js +1 -1
  247. package/dist/components/Sortable/components/SortableContainer.js +1 -1
  248. package/dist/components/Sortable/components/SortableHandle.js +1 -1
  249. package/dist/components/Sortable/components/SortableItem.js +2 -2
  250. package/dist/components/Spinner/Spinner.js +1 -1
  251. package/dist/components/Spinner/Spinner.stories.js +1 -1
  252. package/dist/components/Spinner/Spinner.stories.js.map +1 -1
  253. package/dist/components/Spinner/index.js +1 -1
  254. package/dist/components/StatusBadge/StatusBadge.stories.js.map +1 -1
  255. package/dist/components/StatusBadge/StatusBadge.test.js +2 -5
  256. package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
  257. package/dist/components/StatusPill/StatusPill.stories.js.map +1 -1
  258. package/dist/components/TextArea/TextArea.js +1 -1
  259. package/dist/components/TextArea/TextArea.stories.js +2 -2
  260. package/dist/components/TextArea/TextArea.stories.js.map +1 -1
  261. package/dist/components/TextArea/TextArea.test.js +4 -7
  262. package/dist/components/TextArea/TextArea.test.js.map +1 -1
  263. package/dist/components/TextArea/index.js +1 -1
  264. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  265. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js.map +1 -1
  266. package/dist/components/Tooltip/Tooltip.js +1 -1
  267. package/dist/components/Tooltip/Tooltip.stories.js +1 -1
  268. package/dist/components/Tooltip/Tooltip.stories.js.map +1 -1
  269. package/dist/components/Tooltip/index.js +1 -1
  270. package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
  271. package/dist/components/VarIndicator/VarIndicator.stories.js.map +1 -1
  272. package/dist/components/VarIndicator/VarIndicator.test.js +3 -6
  273. package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
  274. package/dist/components/WeekSelector/WeekSelector.stories.js.map +1 -1
  275. package/dist/components/index.js +12 -13
  276. package/dist/{components-MNvdQLv1.js → components-BzxAULjf.js} +495 -495
  277. package/dist/components-BzxAULjf.js.map +1 -0
  278. package/dist/{dist-2TKCXdYZ.js → dist-V_v3kC0L.js} +183 -183
  279. package/dist/dist-V_v3kC0L.js.map +1 -0
  280. package/dist/{esm-UNe_gmRA.js → esm-BwHoYxVb.js} +5 -5
  281. package/dist/{esm-UNe_gmRA.js.map → esm-BwHoYxVb.js.map} +1 -1
  282. package/dist/{helpers-BBSxTGRl.js → helpers-B1VK8xTF.js} +7 -7
  283. package/dist/{helpers-BBSxTGRl.js.map → helpers-B1VK8xTF.js.map} +1 -1
  284. package/dist/index.js +12 -13
  285. package/dist/{lib-6BbFZdI7.js → lib-BvOQt8El.js} +2 -2
  286. package/dist/{lib-6BbFZdI7.js.map → lib-BvOQt8El.js.map} +1 -1
  287. package/dist/{react-18-CRbkdI-3.js → react-18-B7MZmX_Z.js} +3 -3
  288. package/dist/{react-18-CRbkdI-3.js.map → react-18-B7MZmX_Z.js.map} +1 -1
  289. package/dist/{react.esm-CzIhAqlo.js → react.esm-D_F72rY1.js} +590 -590
  290. package/dist/react.esm-D_F72rY1.js.map +1 -0
  291. package/dist/setupTests.js +2 -3
  292. package/dist/setupTests.js.map +1 -1
  293. package/dist/storybook__react.d.js +99 -99
  294. package/dist/storybook__react.d.js.map +1 -1
  295. package/dist/{test-DQruvi8i.js → test-Pa9Lwbsq.js} +13 -11
  296. package/dist/test-Pa9Lwbsq.js.map +1 -0
  297. package/dist/{test-utils-BSs0eZfL.js → test-utils-Cmn06m_x.js} +2 -2
  298. package/dist/{test-utils-BSs0eZfL.js.map → test-utils-Cmn06m_x.js.map} +1 -1
  299. package/package.json +30 -30
  300. package/dist/Fieldset-CoNu_Owa.js +0 -23
  301. package/dist/Lexical.prod-DIglXatJ.js.map +0 -1
  302. package/dist/LexicalClipboard.prod-Bnzu0sh_.js +0 -248
  303. package/dist/LexicalClipboard.prod-Bnzu0sh_.js.map +0 -1
  304. package/dist/LexicalExtension.prod-COPHoPpX.js.map +0 -1
  305. package/dist/LexicalLink.prod-Bf9JUdMv.js.map +0 -1
  306. package/dist/LexicalList.prod-DRz8vsM9.js.map +0 -1
  307. package/dist/LexicalTable.prod-D16GW-aZ.js.map +0 -1
  308. package/dist/LexicalUtils.prod-BBTLliac.js +0 -360
  309. package/dist/LexicalUtils.prod-BBTLliac.js.map +0 -1
  310. package/dist/Spinner-D8tWqg9j.js +0 -31
  311. package/dist/chunk-SZQXB3JV-D0XG4Tlp.js.map +0 -1
  312. package/dist/components-MNvdQLv1.js.map +0 -1
  313. package/dist/dist-2TKCXdYZ.js.map +0 -1
  314. package/dist/react.esm-CzIhAqlo.js.map +0 -1
  315. package/dist/test-DQruvi8i.js.map +0 -1
  316. /package/dist/assets/favicon/{android-chrome-192x192.png → src/assets/favicon/android-chrome-192x192.png} +0 -0
  317. /package/dist/assets/favicon/{android-chrome-512x512.png → src/assets/favicon/android-chrome-512x512.png} +0 -0
  318. /package/dist/assets/favicon/{apple-touch-icon.png → src/assets/favicon/apple-touch-icon.png} +0 -0
  319. /package/dist/assets/favicon/{favicon-16x16.png → src/assets/favicon/favicon-16x16.png} +0 -0
  320. /package/dist/assets/favicon/{favicon-32x32.png → src/assets/favicon/favicon-32x32.png} +0 -0
  321. /package/dist/assets/favicon/{favicon.ico → src/assets/favicon/favicon.ico} +0 -0
  322. /package/dist/assets/favicon/{favicon.svg → src/assets/favicon/favicon.svg} +0 -0
  323. /package/dist/assets/favicon/{site.webmanifest → src/assets/favicon/site.webmanifest} +0 -0
  324. /package/dist/assets/fonts/{SourceSans3-Regular.otf.woff → src/assets/fonts/SourceSans3-Regular.otf.woff} +0 -0
  325. /package/dist/assets/fonts/{SourceSans3-Regular.otf.woff2 → src/assets/fonts/SourceSans3-Regular.otf.woff2} +0 -0
  326. /package/dist/assets/fonts/{SourceSans3-Semibold.otf.woff → src/assets/fonts/SourceSans3-Semibold.otf.woff} +0 -0
  327. /package/dist/assets/fonts/{SourceSans3-Semibold.otf.woff2 → src/assets/fonts/SourceSans3-Semibold.otf.woff2} +0 -0
  328. /package/dist/assets/{fonts.css → src/css/fonts.css} +0 -0
  329. /package/dist/assets/{globals.css → src/css/globals.css} +0 -0
  330. /package/dist/assets/{variables.css → src/css/variables.css} +0 -0
@@ -1,15 +1,18 @@
1
- import { A as e, B as t, C as n, Cn as r, D as i, Dt as a, Fn as o, Ht as s, M as c, Mt as ee, N as te, Nn as l, Ot as ne, P as re, St as u, Tt as ie, Un as d, Vn as ae, Vt as f, W as p, Wn as oe, Xt as se, Z as m, _ as ce, b as le, cn as ue, dn as de, et as fe, fn as pe, g as me, gn as he, it as ge, ln as _e, mn as ve, on as ye, ot as h, p as be, r as g, t as xe, ut as Se, w as _, y as Ce, yt as we } from "./Lexical.prod-DIglXatJ.js";
2
- import { c as Te, n as Ee, t as De, u as Oe } from "./LexicalUtils.prod-BBTLliac.js";
1
+ import { A as e, An as t, B as n, Dn as r, En as i, F as a, Gn as o, Gt as s, H as c, Ht as l, In as ee, It as te, Jn as ne, Kt as re, Lt as u, M as d, Nn as ie, On as ae, Pt as f, R as p, Rn as oe, Vt as se, W as ce, Wn as le, Xn as ue, Yt as de, Zt as fe, _t as pe, bn as me, c as he, ft as ge, g as _e, gt as ve, jn as ye, jt as be, kt as xe, ot as m, u as h, un as Se, v as g, x as Ce, yn as we, yt as Te, zt as Ee } from "./Lexical.prod-CqPLSi0R.js";
2
+ import { c as De, d as Oe, o as ke, u as Ae } from "./LexicalUtils.prod-BqcriFWV.js";
3
3
  //#region node_modules/@lexical/extension/LexicalExtension.prod.mjs
4
- var ke = Symbol.for("preact-signals");
5
- function v() {
4
+ var je = Symbol.for("preact-signals");
5
+ function _() {
6
6
  if (C > 1) return void C--;
7
7
  let e, t = !1;
8
- for (; x !== void 0;) {
9
- let n = x;
10
- for (x = void 0, w++; n !== void 0;) {
11
- let r = n.o;
12
- if (n.o = void 0, n.f &= -3, !(8 & n.f) && k(n)) try {
8
+ for (function() {
9
+ let e = S;
10
+ for (S = void 0; e !== void 0;) e.S.v === e.v && (e.S.i = e.i), e = e.o;
11
+ }(); b !== void 0;) {
12
+ let n = b;
13
+ for (b = void 0, w++; n !== void 0;) {
14
+ let r = n.u;
15
+ if (n.u = void 0, n.f &= -3, !(8 & n.f) && A(n)) try {
13
16
  n.c();
14
17
  } catch (n) {
15
18
  t ||= (e = n, !0);
@@ -19,51 +22,51 @@ function v() {
19
22
  }
20
23
  if (w = 0, C--, t) throw e;
21
24
  }
22
- function y(e) {
25
+ function v(e) {
23
26
  if (C > 0) return e();
24
- C++;
27
+ T = ++Me, C++;
25
28
  try {
26
29
  return e();
27
30
  } finally {
28
- v();
31
+ _();
29
32
  }
30
33
  }
31
- var b, x;
32
- function S(e) {
33
- let t = b;
34
- b = void 0;
34
+ var y, b;
35
+ function x(e) {
36
+ let t = y;
37
+ y = void 0;
35
38
  try {
36
39
  return e();
37
40
  } finally {
38
- b = t;
41
+ y = t;
39
42
  }
40
43
  }
41
- var C = 0, w = 0, T = 0;
42
- function E(e) {
43
- if (b === void 0) return;
44
+ var S, C = 0, w = 0, Me = 0, T = 0, E = 0;
45
+ function D(e) {
46
+ if (y === void 0) return;
44
47
  let t = e.n;
45
- return t === void 0 || t.t !== b ? (t = {
48
+ return t === void 0 || t.t !== y ? (t = {
46
49
  i: 0,
47
50
  S: e,
48
- p: b.s,
51
+ p: y.s,
49
52
  n: void 0,
50
- t: b,
53
+ t: y,
51
54
  e: void 0,
52
55
  x: void 0,
53
56
  r: t
54
- }, b.s !== void 0 && (b.s.n = t), b.s = t, e.n = t, 32 & b.f && e.S(t), t) : t.i === -1 ? (t.i = 0, t.n !== void 0 && (t.n.p = t.p, t.p !== void 0 && (t.p.n = t.n), t.p = b.s, t.n = void 0, b.s.n = t, b.s = t), t) : void 0;
55
- }
56
- function D(e, t) {
57
- this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
57
+ }, y.s !== void 0 && (y.s.n = t), y.s = t, e.n = t, 32 & y.f && e.S(t), t) : t.i === -1 ? (t.i = 0, t.n !== void 0 && (t.n.p = t.p, t.p !== void 0 && (t.p.n = t.n), t.p = y.s, t.n = void 0, y.s.n = t, y.s = t), t) : void 0;
58
58
  }
59
59
  function O(e, t) {
60
- return new D(e, t);
60
+ this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.l = 0, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
61
+ }
62
+ function k(e, t) {
63
+ return new O(e, t);
61
64
  }
62
- function k(e) {
65
+ function A(e) {
63
66
  for (let t = e.s; t !== void 0; t = t.n) if (t.S.i !== t.i || !t.S.h() || t.S.i !== t.i) return !0;
64
67
  return !1;
65
68
  }
66
- function A(e) {
69
+ function Ne(e) {
67
70
  for (let t = e.s; t !== void 0; t = t.n) {
68
71
  let n = t.S.n;
69
72
  if (n !== void 0 && (t.r = n), t.S.n = t, t.i = -1, t.n === void 0) {
@@ -72,7 +75,7 @@ function A(e) {
72
75
  }
73
76
  }
74
77
  }
75
- function j(e) {
78
+ function Pe(e) {
76
79
  let t, n = e.s;
77
80
  for (; n !== void 0;) {
78
81
  let e = n.p;
@@ -80,40 +83,40 @@ function j(e) {
80
83
  }
81
84
  e.s = t;
82
85
  }
83
- function M(e, t) {
84
- D.call(this, void 0), this.x = e, this.s = void 0, this.g = T - 1, this.f = 4, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
86
+ function j(e, t) {
87
+ O.call(this, void 0), this.x = e, this.s = void 0, this.g = E - 1, this.f = 4, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
85
88
  }
86
- function Ae(e, t) {
87
- return new M(e, t);
89
+ function Fe(e, t) {
90
+ return new j(e, t);
88
91
  }
89
- function je(e) {
90
- let t = e.u;
91
- if (e.u = void 0, typeof t == "function") {
92
+ function Ie(e) {
93
+ let t = e.m;
94
+ if (e.m = void 0, typeof t == "function") {
92
95
  C++;
93
- let n = b;
94
- b = void 0;
96
+ let n = y;
97
+ y = void 0;
95
98
  try {
96
99
  t();
97
100
  } catch (t) {
98
- throw e.f &= -2, e.f |= 8, N(e), t;
101
+ throw e.f &= -2, e.f |= 8, M(e), t;
99
102
  } finally {
100
- b = n, v();
103
+ y = n, _();
101
104
  }
102
105
  }
103
106
  }
104
- function N(e) {
107
+ function M(e) {
105
108
  for (let t = e.s; t !== void 0; t = t.n) t.S.U(t);
106
- e.x = void 0, e.s = void 0, je(e);
109
+ e.x = void 0, e.s = void 0, Ie(e);
107
110
  }
108
- function Me(e) {
109
- if (b !== this) throw Error("Out-of-order effect");
110
- j(this), b = e, this.f &= -2, 8 & this.f && N(this), v();
111
+ function Le(e) {
112
+ if (y !== this) throw Error("Out-of-order effect");
113
+ Pe(this), y = e, this.f &= -2, 8 & this.f && M(this), _();
111
114
  }
112
- function P(e, t) {
113
- this.x = e, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32, this.name = t?.name;
115
+ function N(e, t) {
116
+ this.x = e, this.m = void 0, this.s = void 0, this.u = void 0, this.f = 32, this.name = t?.name;
114
117
  }
115
- function F(e, t) {
116
- let n = new P(e, t);
118
+ function P(e, t) {
119
+ let n = new N(e, t);
117
120
  try {
118
121
  n.c();
119
122
  } catch (e) {
@@ -122,134 +125,141 @@ function F(e, t) {
122
125
  let r = n.d.bind(n);
123
126
  return r[Symbol.dispose] = r, r;
124
127
  }
125
- function I(e, t = {}) {
128
+ function F(e, t = {}) {
126
129
  let n = {};
127
130
  for (let r in e) {
128
131
  let i = t[r];
129
- n[r] = O(i === void 0 ? e[r] : i);
132
+ n[r] = k(i === void 0 ? e[r] : i);
130
133
  }
131
134
  return n;
132
135
  }
133
- D.prototype.brand = ke, D.prototype.h = function() {
136
+ O.prototype.brand = je, O.prototype.h = function() {
134
137
  return !0;
135
- }, D.prototype.S = function(e) {
138
+ }, O.prototype.S = function(e) {
136
139
  let t = this.t;
137
- t !== e && e.e === void 0 && (e.x = t, this.t = e, t === void 0 ? S(() => {
140
+ t !== e && e.e === void 0 && (e.x = t, this.t = e, t === void 0 ? x(() => {
138
141
  var e;
139
142
  (e = this.W) == null || e.call(this);
140
143
  }) : t.e = e);
141
- }, D.prototype.U = function(e) {
144
+ }, O.prototype.U = function(e) {
142
145
  if (this.t !== void 0) {
143
146
  let t = e.e, n = e.x;
144
- t !== void 0 && (t.x = n, e.e = void 0), n !== void 0 && (n.e = t, e.x = void 0), e === this.t && (this.t = n, n === void 0 && S(() => {
147
+ t !== void 0 && (t.x = n, e.e = void 0), n !== void 0 && (n.e = t, e.x = void 0), e === this.t && (this.t = n, n === void 0 && x(() => {
145
148
  var e;
146
149
  (e = this.Z) == null || e.call(this);
147
150
  }));
148
151
  }
149
- }, D.prototype.subscribe = function(e) {
150
- return F(() => {
151
- let t = this.value, n = b;
152
- b = void 0;
152
+ }, O.prototype.subscribe = function(e) {
153
+ return P(() => {
154
+ let t = this.value, n = y;
155
+ y = void 0;
153
156
  try {
154
157
  e(t);
155
158
  } finally {
156
- b = n;
159
+ y = n;
157
160
  }
158
161
  }, { name: "sub" });
159
- }, D.prototype.valueOf = function() {
162
+ }, O.prototype.valueOf = function() {
160
163
  return this.value;
161
- }, D.prototype.toString = function() {
164
+ }, O.prototype.toString = function() {
162
165
  return this.value + "";
163
- }, D.prototype.toJSON = function() {
166
+ }, O.prototype.toJSON = function() {
164
167
  return this.value;
165
- }, D.prototype.peek = function() {
166
- let e = b;
167
- b = void 0;
168
+ }, O.prototype.peek = function() {
169
+ let e = y;
170
+ y = void 0;
168
171
  try {
169
172
  return this.value;
170
173
  } finally {
171
- b = e;
174
+ y = e;
172
175
  }
173
- }, Object.defineProperty(D.prototype, "value", {
176
+ }, Object.defineProperty(O.prototype, "value", {
174
177
  get() {
175
- let e = E(this);
178
+ let e = D(this);
176
179
  return e !== void 0 && (e.i = this.i), this.v;
177
180
  },
178
181
  set(e) {
179
182
  if (e !== this.v) {
180
183
  if (w > 100) throw Error("Cycle detected");
181
- this.v = e, this.i++, T++, C++;
184
+ (function(e) {
185
+ C !== 0 && w === 0 && e.l !== T && (e.l = T, S = {
186
+ S: e,
187
+ v: e.v,
188
+ i: e.i,
189
+ o: S
190
+ });
191
+ })(this), this.v = e, this.i++, E++, C++;
182
192
  try {
183
193
  for (let e = this.t; e !== void 0; e = e.x) e.t.N();
184
194
  } finally {
185
- v();
195
+ _();
186
196
  }
187
197
  }
188
198
  }
189
- }), M.prototype = new D(), M.prototype.h = function() {
199
+ }), j.prototype = new O(), j.prototype.h = function() {
190
200
  if (this.f &= -3, 1 & this.f) return !1;
191
- if ((36 & this.f) == 32 || (this.f &= -5, this.g === T)) return !0;
192
- if (this.g = T, this.f |= 1, this.i > 0 && !k(this)) return this.f &= -2, !0;
193
- let e = b;
201
+ if ((36 & this.f) == 32 || (this.f &= -5, this.g === E)) return !0;
202
+ if (this.g = E, this.f |= 1, this.i > 0 && !A(this)) return this.f &= -2, !0;
203
+ let e = y;
194
204
  try {
195
- A(this), b = this;
205
+ Ne(this), y = this;
196
206
  let e = this.x();
197
207
  (16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
198
208
  } catch (e) {
199
209
  this.v = e, this.f |= 16, this.i++;
200
210
  }
201
- return b = e, j(this), this.f &= -2, !0;
202
- }, M.prototype.S = function(e) {
211
+ return y = e, Pe(this), this.f &= -2, !0;
212
+ }, j.prototype.S = function(e) {
203
213
  if (this.t === void 0) {
204
214
  this.f |= 36;
205
215
  for (let e = this.s; e !== void 0; e = e.n) e.S.S(e);
206
216
  }
207
- D.prototype.S.call(this, e);
208
- }, M.prototype.U = function(e) {
209
- if (this.t !== void 0 && (D.prototype.U.call(this, e), this.t === void 0)) {
217
+ O.prototype.S.call(this, e);
218
+ }, j.prototype.U = function(e) {
219
+ if (this.t !== void 0 && (O.prototype.U.call(this, e), this.t === void 0)) {
210
220
  this.f &= -33;
211
221
  for (let e = this.s; e !== void 0; e = e.n) e.S.U(e);
212
222
  }
213
- }, M.prototype.N = function() {
223
+ }, j.prototype.N = function() {
214
224
  if (!(2 & this.f)) {
215
225
  this.f |= 6;
216
226
  for (let e = this.t; e !== void 0; e = e.x) e.t.N();
217
227
  }
218
- }, Object.defineProperty(M.prototype, "value", { get() {
228
+ }, Object.defineProperty(j.prototype, "value", { get() {
219
229
  if (1 & this.f) throw Error("Cycle detected");
220
- let e = E(this);
230
+ let e = D(this);
221
231
  if (this.h(), e !== void 0 && (e.i = this.i), 16 & this.f) throw this.v;
222
232
  return this.v;
223
- } }), P.prototype.c = function() {
233
+ } }), N.prototype.c = function() {
224
234
  let e = this.S();
225
235
  try {
226
236
  if (8 & this.f || this.x === void 0) return;
227
237
  let e = this.x();
228
- typeof e == "function" && (this.u = e);
238
+ typeof e == "function" && (this.m = e);
229
239
  } finally {
230
240
  e();
231
241
  }
232
- }, P.prototype.S = function() {
242
+ }, N.prototype.S = function() {
233
243
  if (1 & this.f) throw Error("Cycle detected");
234
- this.f |= 1, this.f &= -9, je(this), A(this), C++;
235
- let e = b;
236
- return b = this, Me.bind(this, e);
237
- }, P.prototype.N = function() {
238
- 2 & this.f || (this.f |= 2, this.o = x, x = this);
239
- }, P.prototype.d = function() {
240
- this.f |= 8, 1 & this.f || N(this);
241
- }, P.prototype.dispose = function() {
244
+ this.f |= 1, this.f &= -9, Ie(this), Ne(this), C++;
245
+ let e = y;
246
+ return y = this, Le.bind(this, e);
247
+ }, N.prototype.N = function() {
248
+ 2 & this.f || (this.f |= 2, this.u = b, b = this);
249
+ }, N.prototype.d = function() {
250
+ this.f |= 8, 1 & this.f || M(this);
251
+ }, N.prototype.dispose = function() {
242
252
  this.d();
243
- }, e({
244
- build: (e, t, n) => I(t),
245
- config: h({
253
+ }, l({
254
+ build: (e, t, n) => F(t),
255
+ config: u({
246
256
  defaultSelection: "rootEnd",
247
257
  disabled: !1
248
258
  }),
249
259
  name: "@lexical/extension/AutoFocus",
250
260
  register(e, t, n) {
251
261
  let r = n.getOutput();
252
- return F(() => r.disabled.value ? void 0 : e.registerRootListener((t) => {
262
+ return P(() => r.disabled.value ? void 0 : e.registerRootListener((t) => {
253
263
  e.focus(() => {
254
264
  let e = document.activeElement;
255
265
  t === null || e !== null && t.contains(e) || t.focus({ preventScroll: !0 });
@@ -257,50 +267,61 @@ D.prototype.brand = ke, D.prototype.h = function() {
257
267
  }));
258
268
  }
259
269
  });
260
- function Ne() {
261
- let e = d(), t = g(), n = u();
262
- e.clear(), e.append(n), t !== null && n.select(), l(t) && (t.format = 0);
270
+ function Re() {
271
+ let e = f(), t = m(), n = s();
272
+ e.clear(), e.append(n), t !== null && n.select(), g(t) && (t.format = 0);
263
273
  }
264
- function Pe(e, t = Ne) {
265
- return e.registerCommand(xe, (n) => (e.update(t), !0), 0);
274
+ function ze(e, t = Re) {
275
+ return e.registerCommand(pe, (n) => (e.update(t), !0), 0);
266
276
  }
267
- e({
268
- build: (e, t, n) => I(t),
269
- config: h({ $onClear: Ne }),
277
+ l({
278
+ build: (e, t, n) => F(t),
279
+ config: u({ $onClear: Re }),
270
280
  name: "@lexical/extension/ClearEditor",
271
281
  register(e, t, n) {
272
282
  let { $onClear: r } = n.getOutput();
273
- return F(() => Pe(e, r.value));
283
+ return P(() => ze(e, r.value));
274
284
  }
275
285
  });
276
- function Fe(e) {
286
+ function Be(e) {
287
+ let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
288
+ for (let r of Ve(e)) {
289
+ let e = typeof r == "function" ? r : r.replace;
290
+ oe(e), t.add(e.getType()), n.add(e);
291
+ }
292
+ return {
293
+ nodes: n,
294
+ types: t
295
+ };
296
+ }
297
+ function Ve(e) {
277
298
  return (typeof e.nodes == "function" ? e.nodes() : e.nodes) || [];
278
299
  }
279
- var L = se("format", { parse: (e) => typeof e == "number" ? e : 0 }), Ie = class extends _ {
300
+ var I = we("format", { parse: (e) => typeof e == "number" ? e : 0 }), He = class extends p {
280
301
  $config() {
281
302
  return this.config("decorator-text", {
282
- extends: _,
303
+ extends: p,
283
304
  stateConfigs: [{
284
305
  flat: !0,
285
- stateConfig: L
306
+ stateConfig: I
286
307
  }]
287
308
  });
288
309
  }
289
310
  getFormat() {
290
- return he(this, L);
311
+ return ee(this, I);
291
312
  }
292
313
  getFormatFlags(e, t) {
293
- return m(this.getFormat(), e, t);
314
+ return he(this.getFormat(), e, t);
294
315
  }
295
316
  hasFormat(e) {
296
- let t = ae[e];
317
+ let t = ue[e];
297
318
  return (this.getFormat() & t) !== 0;
298
319
  }
299
320
  setFormat(e) {
300
- return ue(this, L, e);
321
+ return se(this, I, e);
301
322
  }
302
323
  toggleFormat(e) {
303
- let t = m(this.getFormat(), e, null);
324
+ let t = he(this.getFormat(), e, null);
304
325
  return this.setFormat(t);
305
326
  }
306
327
  isInline() {
@@ -313,21 +334,21 @@ var L = se("format", { parse: (e) => typeof e == "number" ? e : 0 }), Ie = class
313
334
  return !1;
314
335
  }
315
336
  };
316
- function Le(e) {
317
- return e instanceof Ie;
337
+ function Ue(e) {
338
+ return e instanceof He;
318
339
  }
319
- e({
340
+ l({
320
341
  name: "@lexical/extension/DecoratorText",
321
- nodes: () => [Ie],
322
- register: (e, t, n) => e.registerCommand(_e, (e) => {
323
- let t = g();
324
- if (fe(t) || l(t)) for (let n of t.getNodes()) Le(n) && n.toggleFormat(e);
342
+ nodes: () => [He],
343
+ register: (e, t, n) => e.registerCommand(o, (e) => {
344
+ let t = m();
345
+ if (a(t) || g(t)) for (let n of t.getNodes()) Ue(n) && n.toggleFormat(e);
325
346
  return !1;
326
347
  }, 1)
327
348
  });
328
- function Re(e, t) {
349
+ function We(e, t) {
329
350
  let n;
330
- return O(e(), {
351
+ return k(e(), {
331
352
  unwatched() {
332
353
  n &&= (n(), void 0);
333
354
  },
@@ -336,39 +357,39 @@ function Re(e, t) {
336
357
  }
337
358
  });
338
359
  }
339
- var R = e({
340
- build: (e) => Re(() => e.getEditorState(), (t) => e.registerUpdateListener((e) => {
360
+ var L = l({
361
+ build: (e) => We(() => e.getEditorState(), (t) => e.registerUpdateListener((e) => {
341
362
  t.value = e.editorState;
342
363
  })),
343
364
  name: "@lexical/extension/EditorState"
344
365
  });
345
- function z(e, ...t) {
366
+ function R(e, ...t) {
346
367
  let n = new URL("https://lexical.dev/docs/error"), r = new URLSearchParams();
347
368
  r.append("code", e);
348
369
  for (let e of t) r.append("v", e);
349
370
  throw n.search = r.toString(), Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
350
371
  }
351
- function ze(e, t) {
372
+ function Ge(e, t) {
352
373
  if (e && t && !Array.isArray(t) && typeof e == "object" && typeof t == "object") {
353
374
  let n = e, r = t;
354
- for (let e in r) n[e] = ze(n[e], r[e]);
375
+ for (let e in r) n[e] = Ge(n[e], r[e]);
355
376
  return e;
356
377
  }
357
378
  return t;
358
379
  }
359
- var B = 0, V = 1, Be = 2, H = 3, U = 4, W = 5, G = 6, K = 7;
360
- function q(e) {
361
- return e.id === B;
380
+ var z = 0, B = 1, Ke = 2, V = 3, H = 4, U = 5, W = 6, G = 7;
381
+ function K(e) {
382
+ return e.id === z;
362
383
  }
363
- function Ve(e) {
364
- return e.id === Be;
384
+ function qe(e) {
385
+ return e.id === Ke;
365
386
  }
366
- function He(e) {
387
+ function Je(e) {
367
388
  return function(e) {
368
- return e.id === V;
369
- }(e) || z(305, String(e.id), String(V)), Object.assign(e, { id: Be });
389
+ return e.id === B;
390
+ }(e) || R(305, String(e.id), String(B)), Object.assign(e, { id: Ke });
370
391
  }
371
- var Ue = /* @__PURE__ */ new Set(), We = class {
392
+ var Ye = /* @__PURE__ */ new Set(), Xe = class {
372
393
  builder;
373
394
  configs;
374
395
  _dependency;
@@ -377,16 +398,16 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
377
398
  state;
378
399
  _signal;
379
400
  constructor(e, t) {
380
- this.builder = e, this.extension = t, this.configs = /* @__PURE__ */ new Set(), this.state = { id: B };
401
+ this.builder = e, this.extension = t, this.configs = /* @__PURE__ */ new Set(), this.state = { id: z };
381
402
  }
382
403
  mergeConfigs() {
383
- let e = this.extension.config || {}, t = this.extension.mergeConfig ? this.extension.mergeConfig.bind(this.extension) : ee;
404
+ let e = this.extension.config || {}, t = this.extension.mergeConfig ? this.extension.mergeConfig.bind(this.extension) : me;
384
405
  for (let n of this.configs) e = t(e, n);
385
406
  return e;
386
407
  }
387
408
  init(e) {
388
409
  let t = this.state;
389
- Ve(t) || z(306, String(t.id));
410
+ qe(t) || R(306, String(t.id));
390
411
  let n = {
391
412
  getDependency: this.getInitDependency.bind(this),
392
413
  getDirectDependentNames: this.getDirectDependentNames.bind(this),
@@ -400,13 +421,13 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
400
421
  }, i = function(e, t, n) {
401
422
  return Object.assign(e, {
402
423
  config: t,
403
- id: H,
424
+ id: V,
404
425
  registerState: n
405
426
  });
406
427
  }(t, this.mergeConfigs(), n), a;
407
428
  this.state = i, this.extension.init && (a = this.extension.init(e, i.config, n)), this.state = function(e, t, n) {
408
429
  return Object.assign(e, {
409
- id: U,
430
+ id: H,
410
431
  initResult: t,
411
432
  registerState: n
412
433
  });
@@ -414,7 +435,7 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
414
435
  }
415
436
  build(e) {
416
437
  let t = this.state, n;
417
- t.id !== U && z(307, String(t.id), String(W)), this.extension.build && (n = this.extension.build(e, t.config, t.registerState));
438
+ t.id !== H && R(307, String(t.id), String(U)), this.extension.build && (n = this.extension.build(e, t.config, t.registerState));
418
439
  let r = {
419
440
  ...t.registerState,
420
441
  getOutput: () => n,
@@ -422,7 +443,7 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
422
443
  };
423
444
  this.state = function(e, t, n) {
424
445
  return Object.assign(e, {
425
- id: W,
446
+ id: U,
426
447
  output: t,
427
448
  registerState: n
428
449
  });
@@ -431,32 +452,32 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
431
452
  register(e, t) {
432
453
  this._signal = t;
433
454
  let n = this.state;
434
- n.id !== W && z(308, String(n.id), String(W));
455
+ n.id !== U && R(308, String(n.id), String(U));
435
456
  let r = this.extension.register && this.extension.register(e, n.config, n.registerState);
436
457
  return this.state = function(e) {
437
- return Object.assign(e, { id: G });
458
+ return Object.assign(e, { id: W });
438
459
  }(n), () => {
439
460
  let e = this.state;
440
- e.id !== K && z(309, String(n.id), String(K)), this.state = function(e) {
441
- return Object.assign(e, { id: W });
461
+ e.id !== G && R(309, String(n.id), String(G)), this.state = function(e) {
462
+ return Object.assign(e, { id: U });
442
463
  }(e), r && r();
443
464
  };
444
465
  }
445
466
  afterRegistration(e) {
446
467
  let t = this.state, n;
447
- return t.id !== G && z(310, String(t.id), String(G)), this.extension.afterRegistration && (n = this.extension.afterRegistration(e, t.config, t.registerState)), this.state = function(e) {
448
- return Object.assign(e, { id: K });
468
+ return t.id !== W && R(310, String(t.id), String(W)), this.extension.afterRegistration && (n = this.extension.afterRegistration(e, t.config, t.registerState)), this.state = function(e) {
469
+ return Object.assign(e, { id: G });
449
470
  }(t), n;
450
471
  }
451
472
  getSignal() {
452
- return this._signal === void 0 && z(311), this._signal;
473
+ return this._signal === void 0 && R(311), this._signal;
453
474
  }
454
475
  getInitResult() {
455
- this.extension.init === void 0 && z(312, this.extension.name);
476
+ this.extension.init === void 0 && R(312, this.extension.name);
456
477
  let e = this.state;
457
478
  return function(e) {
458
- return e.id >= U;
459
- }(e) || z(313, String(e.id), String(U)), e.initResult;
479
+ return e.id >= H;
480
+ }(e) || R(313, String(e.id), String(H)), e.initResult;
460
481
  }
461
482
  getInitPeer(e) {
462
483
  let t = this.builder.extensionNameMap.get(e);
@@ -465,8 +486,8 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
465
486
  getExtensionInitDependency() {
466
487
  let e = this.state;
467
488
  return function(e) {
468
- return e.id >= H;
469
- }(e) || z(314, String(e.id), String(H)), { config: e.config };
489
+ return e.id >= V;
490
+ }(e) || R(314, String(e.id), String(V)), { config: e.config };
470
491
  }
471
492
  getPeer(e) {
472
493
  let t = this.builder.extensionNameMap.get(e);
@@ -474,20 +495,20 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
474
495
  }
475
496
  getInitDependency(e) {
476
497
  let t = this.builder.getExtensionRep(e);
477
- return t === void 0 && z(315, this.extension.name, e.name), t.getExtensionInitDependency();
498
+ return t === void 0 && R(315, this.extension.name, e.name), t.getExtensionInitDependency();
478
499
  }
479
500
  getDependency(e) {
480
501
  let t = this.builder.getExtensionRep(e);
481
- return t === void 0 && z(315, this.extension.name, e.name), t.getExtensionDependency();
502
+ return t === void 0 && R(315, this.extension.name, e.name), t.getExtensionDependency();
482
503
  }
483
504
  getState() {
484
505
  let e = this.state;
485
506
  return function(e) {
486
- return e.id >= K;
487
- }(e) || z(316, String(e.id), String(K)), e;
507
+ return e.id >= G;
508
+ }(e) || R(316, String(e.id), String(G)), e;
488
509
  }
489
510
  getDirectDependentNames() {
490
- return this.builder.incomingEdges.get(this.extension.name) || Ue;
511
+ return this.builder.incomingEdges.get(this.extension.name) || Ye;
491
512
  }
492
513
  getPeerNameSet() {
493
514
  let e = this._peerNameSet;
@@ -497,8 +518,8 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
497
518
  if (!this._dependency) {
498
519
  let e = this.state;
499
520
  (function(e) {
500
- return e.id >= W;
501
- })(e) || z(317, this.extension.name), this._dependency = {
521
+ return e.id >= U;
522
+ })(e) || R(317, this.extension.name), this._dependency = {
502
523
  config: e.config,
503
524
  init: e.initResult,
504
525
  output: e.output
@@ -506,17 +527,17 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
506
527
  }
507
528
  return this._dependency;
508
529
  }
509
- }, Ge = { tag: a };
510
- function Ke() {
511
- let e = d();
512
- e.isEmpty() && e.append(u());
530
+ }, Ze = { tag: n };
531
+ function Qe() {
532
+ let e = f();
533
+ e.isEmpty() && e.append(s());
513
534
  }
514
- var qe = e({
515
- config: h({
516
- setOptions: Ge,
517
- updateOptions: Ge
535
+ var $e = l({
536
+ config: u({
537
+ setOptions: Ze,
538
+ updateOptions: Ze
518
539
  }),
519
- init: ({ $initialEditorState: e = Ke }) => ({
540
+ init: ({ $initialEditorState: e = Qe }) => ({
520
541
  $initialEditorState: e,
521
542
  initialized: !1
522
543
  }),
@@ -525,7 +546,7 @@ var qe = e({
525
546
  if (!i.initialized) {
526
547
  i.initialized = !0;
527
548
  let { $initialEditorState: r } = i;
528
- if (ie(r)) e.setEditorState(r, n);
549
+ if (Ce(r)) e.setEditorState(r, n);
529
550
  else if (typeof r == "function") e.update(() => {
530
551
  r(e);
531
552
  }, t);
@@ -538,21 +559,21 @@ var qe = e({
538
559
  },
539
560
  name: "@lexical/extension/InitialState",
540
561
  nodes: [
541
- re,
562
+ ve,
563
+ fe,
542
564
  ye,
543
- i,
544
- o,
545
- we
565
+ Ee,
566
+ be
546
567
  ]
547
- }), Je = Symbol.for("@lexical/extension/LexicalBuilder");
548
- function Ye() {}
549
- function Xe(e) {
568
+ }), et = Symbol.for("@lexical/extension/LexicalBuilder");
569
+ function q() {}
570
+ function tt(e) {
550
571
  throw e;
551
572
  }
552
573
  function J(e) {
553
574
  return Array.isArray(e) ? e : [e];
554
575
  }
555
- var Y = "0.42.0+prod.esm", X = class e {
576
+ var Y = "0.44.0+prod.esm", X = class e {
556
577
  roots;
557
578
  extensionNameMap;
558
579
  outgoingConfigEdges;
@@ -565,49 +586,49 @@ var Y = "0.42.0+prod.esm", X = class e {
565
586
  for (let t of e) this.addExtension(t);
566
587
  }
567
588
  static fromExtensions(t) {
568
- let n = [J(qe)];
589
+ let n = [J($e)];
569
590
  for (let e of t) n.push(J(e));
570
591
  return new e(n);
571
592
  }
572
593
  static maybeFromEditor(t) {
573
- let n = t[Je];
574
- return n && (n.PACKAGE_VERSION !== Y && z(292, n.PACKAGE_VERSION, Y), n instanceof e || z(293)), n;
594
+ let n = t[et];
595
+ return n && (n.PACKAGE_VERSION !== Y && R(292, n.PACKAGE_VERSION, Y), n instanceof e || R(293)), n;
575
596
  }
576
597
  static fromEditor(t) {
577
598
  let n = e.maybeFromEditor(t);
578
- return n === void 0 && z(294), n;
599
+ return n === void 0 && R(294), n;
579
600
  }
580
601
  constructEditor() {
581
- let { $initialEditorState: e, onError: t, ...n } = this.buildCreateEditorArgs(), r = Object.assign(s({
602
+ let { $initialEditorState: e, onError: t, ...n } = this.buildCreateEditorArgs(), r = Object.assign(ne({
582
603
  ...n,
583
604
  ...t ? { onError: (e) => {
584
605
  t(e, r);
585
606
  } } : {}
586
- }), { [Je]: this });
607
+ }), { [et]: this });
587
608
  for (let e of this.sortedExtensionReps()) e.build(r);
588
609
  return r;
589
610
  }
590
611
  buildEditor() {
591
- let e = Ye;
612
+ let e = q;
592
613
  function t() {
593
614
  try {
594
615
  e();
595
616
  } finally {
596
- e = Ye;
617
+ e = q;
597
618
  }
598
619
  }
599
620
  let n = Object.assign(this.constructEditor(), {
600
621
  dispose: t,
601
622
  [Symbol.dispose]: t
602
623
  });
603
- return e = r(this.registerEditor(n), () => n.setRootElement(null)), n;
624
+ return e = h(this.registerEditor(n), () => n.setRootElement(null)), n;
604
625
  }
605
626
  hasExtensionByName(e) {
606
627
  return this.extensionNameMap.has(e);
607
628
  }
608
629
  getExtensionRep(e) {
609
630
  let t = this.extensionNameMap.get(e.name);
610
- if (t) return t.extension !== e && z(295, e.name), t;
631
+ if (t) return t.extension !== e && R(295, e.name), t;
611
632
  }
612
633
  addEdge(e, t, n) {
613
634
  let r = this.outgoingConfigEdges.get(e);
@@ -616,15 +637,15 @@ var Y = "0.42.0+prod.esm", X = class e {
616
637
  i ? i.add(e) : this.incomingEdges.set(t, new Set([e]));
617
638
  }
618
639
  addExtension(e) {
619
- this._sortedExtensionReps !== void 0 && z(296);
640
+ this._sortedExtensionReps !== void 0 && R(296);
620
641
  let [t] = J(e);
621
- typeof t.name != "string" && z(297, typeof t.name);
642
+ typeof t.name != "string" && R(297, typeof t.name);
622
643
  let n = this.extensionNameMap.get(t.name);
623
- if (n !== void 0 && n.extension !== t && z(298, t.name), !n) {
624
- n = new We(this, t), this.extensionNameMap.set(t.name, n);
644
+ if (n !== void 0 && n.extension !== t && R(298, t.name), !n) {
645
+ n = new Xe(this, t), this.extensionNameMap.set(t.name, n);
625
646
  let e = this.conflicts.get(t.name);
626
- typeof e == "string" && z(299, t.name, e);
627
- for (let e of t.conflictsWith || []) this.extensionNameMap.has(e) && z(299, t.name, e), this.conflicts.set(e, t.name);
647
+ typeof e == "string" && R(299, t.name, e);
648
+ for (let e of t.conflictsWith || []) this.extensionNameMap.has(e) && R(299, t.name, e), this.conflicts.set(e, t.name);
628
649
  for (let e of t.dependencies || []) {
629
650
  let n = J(e);
630
651
  this.addEdge(t.name, n[0].name, n.slice(1)), this.addExtension(n);
@@ -636,49 +657,49 @@ var Y = "0.42.0+prod.esm", X = class e {
636
657
  if (this._sortedExtensionReps) return this._sortedExtensionReps;
637
658
  let e = [], t = (n, r) => {
638
659
  let i = n.state;
639
- if (Ve(i)) return;
660
+ if (qe(i)) return;
640
661
  let a = n.extension.name;
641
662
  var o;
642
- q(i) || z(300, a, r || "[unknown]"), q(o = i) || z(304, String(o.id), String(B)), i = Object.assign(o, { id: V }), n.state = i;
663
+ K(i) || R(300, a, r || "[unknown]"), K(o = i) || R(304, String(o.id), String(z)), i = Object.assign(o, { id: B }), n.state = i;
643
664
  let s = this.outgoingConfigEdges.get(a);
644
665
  if (s) for (let e of s.keys()) {
645
666
  let n = this.extensionNameMap.get(e);
646
667
  n && t(n, a);
647
668
  }
648
- i = He(i), n.state = i, e.push(n);
669
+ i = Je(i), n.state = i, e.push(n);
649
670
  };
650
- for (let e of this.extensionNameMap.values()) q(e.state) && t(e);
671
+ for (let e of this.extensionNameMap.values()) K(e.state) && t(e);
651
672
  for (let t of e) for (let [e, n] of this.outgoingConfigEdges.get(t.extension.name) || []) if (n.length > 0) {
652
673
  let t = this.extensionNameMap.get(e);
653
674
  if (t) for (let e of n) t.configs.add(e);
654
675
  }
655
676
  for (let [e, ...t] of this.roots) if (t.length > 0) {
656
677
  let n = this.extensionNameMap.get(e.name);
657
- n === void 0 && z(301, e.name);
678
+ n === void 0 && R(301, e.name);
658
679
  for (let e of t) n.configs.add(e);
659
680
  }
660
681
  return this._sortedExtensionReps = e, this._sortedExtensionReps;
661
682
  }
662
683
  registerEditor(e) {
663
- let t = this.sortedExtensionReps(), n = new AbortController(), i = [() => n.abort()], a = n.signal;
684
+ let t = this.sortedExtensionReps(), n = new AbortController(), r = [() => n.abort()], i = n.signal;
664
685
  for (let n of t) {
665
- let t = n.register(e, a);
666
- t && i.push(t);
686
+ let t = n.register(e, i);
687
+ t && r.push(t);
667
688
  }
668
689
  for (let n of t) {
669
690
  let t = n.afterRegistration(e);
670
- t && i.push(t);
691
+ t && r.push(t);
671
692
  }
672
- return r(...i);
693
+ return h(...r);
673
694
  }
674
695
  buildCreateEditorArgs() {
675
696
  let e = {}, t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = {}, a = {}, o = this.sortedExtensionReps();
676
697
  for (let s of o) {
677
698
  let { extension: o } = s;
678
- if (o.onError !== void 0 && (e.onError = o.onError), o.disableEvents !== void 0 && (e.disableEvents = o.disableEvents), o.parentEditor !== void 0 && (e.parentEditor = o.parentEditor), o.editable !== void 0 && (e.editable = o.editable), o.namespace !== void 0 && (e.namespace = o.namespace), o.$initialEditorState !== void 0 && (e.$initialEditorState = o.$initialEditorState), o.nodes) for (let e of Fe(o)) {
699
+ if (o.onError !== void 0 && (e.onError = o.onError), o.disableEvents !== void 0 && (e.disableEvents = o.disableEvents), o.parentEditor !== void 0 && (e.parentEditor = o.parentEditor), o.editable !== void 0 && (e.editable = o.editable), o.namespace !== void 0 && (e.namespace = o.namespace), o.$initialEditorState !== void 0 && (e.$initialEditorState = o.$initialEditorState), o.nodes) for (let e of Ve(o)) {
679
700
  if (typeof e != "function") {
680
701
  let t = n.get(e.replace);
681
- t && z(302, o.name, e.replace.name, t.extension.name), n.set(e.replace, s);
702
+ t && R(302, o.name, e.replace.name, t.extension.name), n.set(e.replace, s);
682
703
  }
683
704
  t.add(e);
684
705
  }
@@ -686,42 +707,48 @@ var Y = "0.42.0+prod.esm", X = class e {
686
707
  if (o.html.export) for (let [e, t] of o.html.export.entries()) r.set(e, t);
687
708
  o.html.import && Object.assign(i, o.html.import);
688
709
  }
689
- o.theme && ze(a, o.theme);
710
+ o.theme && Ge(a, o.theme);
690
711
  }
691
712
  Object.keys(a).length > 0 && (e.theme = a), t.size && (e.nodes = [...t]);
692
713
  let s = Object.keys(i).length > 0, c = r.size > 0;
693
714
  (s || c) && (e.html = {}, s && (e.html.import = i), c && (e.html.export = r));
694
715
  for (let t of o) t.init(e);
695
- return e.onError ||= Xe, e;
716
+ return e.onError ||= tt, e;
696
717
  }
697
718
  };
698
- function Ze(e, t) {
699
- let n = X.fromEditor(e).extensionNameMap.get(t);
700
- return n ? n.getExtensionDependency() : void 0;
719
+ function nt(e, t) {
720
+ let n = X.fromEditor(e).getExtensionRep(t);
721
+ return n === void 0 && R(303, t.name), n.getExtensionDependency();
722
+ }
723
+ function rt(e, t) {
724
+ let n = X.maybeFromEditor(e);
725
+ if (!n) return;
726
+ let r = n.extensionNameMap.get(t);
727
+ return r ? r.getExtensionDependency() : void 0;
701
728
  }
702
- var Qe = /* @__PURE__ */ new Set(), $e = e({
729
+ var it = /* @__PURE__ */ new Set(), at = l({
703
730
  build(e, t, n) {
704
- let r = n.getDependency(R).output, i = O({ watchedNodeKeys: /* @__PURE__ */ new Map() }), a = Re(() => {}, () => F(() => {
731
+ let r = n.getDependency(L).output, i = k({ watchedNodeKeys: /* @__PURE__ */ new Map() }), a = We(() => {}, () => P(() => {
705
732
  let e = a.peek(), { watchedNodeKeys: t } = i.value, n, o = !1;
706
733
  r.value.read(() => {
707
- if (g()) for (let [r, i] of t.entries()) {
734
+ if (m()) for (let [r, i] of t.entries()) {
708
735
  if (i.size === 0) {
709
736
  t.delete(r);
710
737
  continue;
711
738
  }
712
- let a = ge(r), s = a && a.isSelected() || !1;
739
+ let a = xe(r), s = a && a.isSelected() || !1;
713
740
  o ||= s !== (!!e && e.has(r)), s && (n ||= /* @__PURE__ */ new Set(), n.add(r));
714
741
  }
715
742
  }), !o && n && e && n.size === e.size || (a.value = n);
716
743
  }));
717
744
  return { watchNodeKey: function(e) {
718
- let t = Ae(() => (a.value || Qe).has(e)), { watchedNodeKeys: n } = i.peek(), r = n.get(e), o = r !== void 0;
745
+ let t = Fe(() => (a.value || it).has(e)), { watchedNodeKeys: n } = i.peek(), r = n.get(e), o = r !== void 0;
719
746
  return r ||= /* @__PURE__ */ new Set(), r.add(t), o || (n.set(e, r), i.value = { watchedNodeKeys: n }), t;
720
747
  } };
721
748
  },
722
- dependencies: [R],
749
+ dependencies: [L],
723
750
  name: "@lexical/extension/NodeSelection"
724
- }), et = pe("INSERT_HORIZONTAL_RULE_COMMAND"), Z = class e extends _ {
751
+ }), ot = t("INSERT_HORIZONTAL_RULE_COMMAND"), Z = class e extends p {
725
752
  static getType() {
726
753
  return "horizontalrule";
727
754
  }
@@ -733,7 +760,7 @@ var Qe = /* @__PURE__ */ new Set(), $e = e({
733
760
  }
734
761
  static importDOM() {
735
762
  return { hr: () => ({
736
- conversion: tt,
763
+ conversion: st,
737
764
  priority: 0
738
765
  }) };
739
766
  }
@@ -742,7 +769,7 @@ var Qe = /* @__PURE__ */ new Set(), $e = e({
742
769
  }
743
770
  createDOM(e) {
744
771
  let t = document.createElement("hr");
745
- return f(t, e.theme.hr), t;
772
+ return Se(t, e.theme.hr), t;
746
773
  }
747
774
  getTextContent() {
748
775
  return "\n";
@@ -754,60 +781,60 @@ var Qe = /* @__PURE__ */ new Set(), $e = e({
754
781
  return !1;
755
782
  }
756
783
  };
757
- function tt() {
784
+ function st() {
758
785
  return { node: Q() };
759
786
  }
760
787
  function Q() {
761
- return c(Z);
788
+ return de(Z);
762
789
  }
763
- function nt(e) {
790
+ function ct(e) {
764
791
  return e instanceof Z;
765
792
  }
766
- e({
767
- dependencies: [R, $e],
793
+ l({
794
+ dependencies: [L, at],
768
795
  name: "@lexical/extension/HorizontalRule",
769
796
  nodes: () => [Z],
770
- register(e, n, i) {
771
- let { watchNodeKey: a } = i.getDependency($e).output, o = O({ nodeSelections: /* @__PURE__ */ new Map() }), s = e._config.theme.hrSelected ?? "selected";
772
- return r(e.registerCommand(et, (e) => {
773
- let t = g();
774
- return l(t) ? (t.focus.getNode() !== null && Oe(Q()), !0) : !1;
775
- }, 0), e.registerCommand(ve, (e) => {
776
- if (le(e.target)) {
777
- let n = Ce(e.target);
778
- if (nt(n)) return function(e, n = !1) {
779
- let r = g(), i = e.isSelected(), a = e.getKey(), o;
780
- n && fe(r) ? o = r : (o = t(), be(o)), i ? o.delete(a) : o.add(a);
781
- }(n, e.shiftKey), !0;
797
+ register(t, n, r) {
798
+ let { watchNodeKey: o } = r.getDependency(at).output, s = k({ nodeSelections: /* @__PURE__ */ new Map() }), c = t._config.theme.hrSelected ?? "selected";
799
+ return h(t.registerCommand(ot, (e) => {
800
+ let t = m();
801
+ return g(t) ? (t.focus.getNode() !== null && De(Q()), !0) : !1;
802
+ }, 0), t.registerCommand(ie, (t) => {
803
+ if (ae(t.target)) {
804
+ let n = i(t.target);
805
+ if (ct(n)) return function(t, n = !1) {
806
+ let r = m(), i = t.isSelected(), o = t.getKey(), s;
807
+ n && a(r) ? s = r : (s = e(), re(s)), i ? s.delete(o) : s.add(o);
808
+ }(n, t.shiftKey), !0;
782
809
  }
783
810
  return !1;
784
- }, 1), e.registerMutationListener(Z, (t, n) => {
785
- y(() => {
786
- let n = !1, { nodeSelections: r } = o.peek();
787
- for (let [i, o] of t.entries()) if (o === "destroyed") r.delete(i), n = !0;
811
+ }, 1), t.registerMutationListener(Z, (e, n) => {
812
+ v(() => {
813
+ let n = !1, { nodeSelections: r } = s.peek();
814
+ for (let [i, a] of e.entries()) if (a === "destroyed") r.delete(i), n = !0;
788
815
  else {
789
- let t = r.get(i), o = e.getElementByKey(i);
790
- t ? t.domNode.value = o : (n = !0, r.set(i, {
791
- domNode: O(o),
792
- selectedSignal: a(i)
816
+ let e = r.get(i), a = t.getElementByKey(i);
817
+ e ? e.domNode.value = a : (n = !0, r.set(i, {
818
+ domNode: k(a),
819
+ selectedSignal: o(i)
793
820
  }));
794
821
  }
795
- n && (o.value = { nodeSelections: r });
822
+ n && (s.value = { nodeSelections: r });
796
823
  });
797
- }), F(() => {
824
+ }), P(() => {
798
825
  let e = [];
799
- for (let { domNode: t, selectedSignal: n } of o.value.nodeSelections.values()) e.push(F(() => {
826
+ for (let { domNode: t, selectedSignal: n } of s.value.nodeSelections.values()) e.push(P(() => {
800
827
  let e = t.value;
801
- e && (n.value ? f(e, s) : de(e, s));
828
+ e && (n.value ? Se(e, c) : le(e, c));
802
829
  }));
803
- return r(...e);
830
+ return h(...e);
804
831
  }));
805
832
  }
806
- }), e({
807
- build: (e, t) => I({ inheritEditableFromParent: t.inheritEditableFromParent }),
808
- config: h({
833
+ }), l({
834
+ build: (e, t) => F({ inheritEditableFromParent: t.inheritEditableFromParent }),
835
+ config: u({
809
836
  $getParentEditor: function() {
810
- let e = oe();
837
+ let e = te();
811
838
  return X.fromEditor(e), e;
812
839
  },
813
840
  inheritEditableFromParent: !1
@@ -817,57 +844,57 @@ e({
817
844
  e.parentEditor = r, e.theme = e.theme || r._config.theme;
818
845
  },
819
846
  name: "@lexical/extension/NestedEditor",
820
- register: (e, t, n) => F(() => {
847
+ register: (e, t, n) => P(() => {
821
848
  let t = e._parentEditor;
822
849
  if (t && n.getOutput().inheritEditableFromParent.value) return e.setEditable(t.isEditable()), t.registerEditableListener(e.setEditable.bind(e));
823
850
  })
824
- }), e({
825
- build: (e, t, n) => I(t),
826
- config: h({
851
+ }), l({
852
+ build: (e, t, n) => F(t),
853
+ config: u({
827
854
  disabled: !1,
828
855
  onReposition: void 0
829
856
  }),
830
857
  name: "@lexical/utils/SelectionAlwaysOnDisplay",
831
858
  register: (e, t, n) => {
832
859
  let r = n.getOutput();
833
- return F(() => {
834
- if (!r.disabled.value) return Te(e, r.onReposition.value);
860
+ return P(() => {
861
+ if (!r.disabled.value) return Oe(e, r.onReposition.value);
835
862
  });
836
863
  }
837
864
  });
838
865
  function $(e) {
839
866
  return e.canBeEmpty();
840
867
  }
841
- function rt(e, t, i = $) {
842
- return r(e.registerCommand(ce, (t) => {
843
- let r = g();
844
- if (!l(r)) return !1;
868
+ function lt(e, t, n = $) {
869
+ return h(e.registerCommand(_e, (t) => {
870
+ let n = m();
871
+ if (!g(n)) return !1;
845
872
  t.preventDefault();
846
873
  let i = function(e) {
847
- if (e.getNodes().filter((e) => Se(e) && e.canIndent()).length > 0) return !0;
848
- let t = e.anchor, n = e.focus, r = n.isBefore(t) ? n : t, i = Ee(r.getNode());
849
- if (i.canIndent()) {
850
- let e = i.getKey(), t = ne();
851
- if (t.anchor.set(e, 0, "element"), t.focus.set(e, 0, "element"), t = me(t), t.anchor.is(r)) return !0;
874
+ if (e.getNodes().filter((e) => Te(e) && e.canIndent()).length > 0) return !0;
875
+ let t = e.anchor, n = e.focus, i = n.isBefore(t) ? n : t, a = ke(i.getNode());
876
+ if (a.canIndent()) {
877
+ let e = a.getKey(), t = r();
878
+ if (t.anchor.set(e, 0, "element"), t.focus.set(e, 0, "element"), t = ge(t), t.anchor.is(i)) return !0;
852
879
  }
853
880
  return !1;
854
- }(r) ? t.shiftKey ? te : p : n;
881
+ }(n) ? t.shiftKey ? c : d : ce;
855
882
  return e.dispatchCommand(i, void 0);
856
- }, 0), e.registerCommand(p, () => {
883
+ }, 0), e.registerCommand(d, () => {
857
884
  let e = typeof t == "number" ? t : t ? t.peek() : null;
858
- if (!l(g())) return !1;
859
- let n = typeof i == "function" ? i : i.peek();
860
- return De((t) => {
861
- if (n(t)) {
885
+ if (!g(m())) return !1;
886
+ let r = typeof n == "function" ? n : n.peek();
887
+ return Ae((t) => {
888
+ if (r(t)) {
862
889
  let n = t.getIndent() + 1;
863
890
  (!e || n < e) && t.setIndent(n);
864
891
  }
865
892
  });
866
893
  }, 4));
867
894
  }
868
- e({
869
- build: (e, t, n) => I(t),
870
- config: h({
895
+ l({
896
+ build: (e, t, n) => F(t),
897
+ config: u({
871
898
  $canIndent: $,
872
899
  disabled: !1,
873
900
  maxIndent: null
@@ -875,12 +902,12 @@ e({
875
902
  name: "@lexical/extension/TabIndentation",
876
903
  register(e, t, n) {
877
904
  let { disabled: r, maxIndent: i, $canIndent: a } = n.getOutput();
878
- return F(() => {
879
- if (!r.value) return rt(e, i, a);
905
+ return P(() => {
906
+ if (!r.value) return lt(e, i, a);
880
907
  });
881
908
  }
882
909
  });
883
910
  //#endregion
884
- export { F as a, X as i, Ze as n, I as o, O as r, y as t };
911
+ export { X as a, nt as c, F as i, P as n, rt as o, v as r, k as s, Be as t };
885
912
 
886
- //# sourceMappingURL=LexicalExtension.prod-COPHoPpX.js.map
913
+ //# sourceMappingURL=LexicalExtension.prod-CUQTgbur.js.map