@ryuzaki13/react-foundation-ui 3.1.0 → 3.1.2

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 (273) hide show
  1. package/COLOR_TOKENS_MIGRATION.md +8 -8
  2. package/README.md +2 -2
  3. package/dist/chunks/{TextEditorLexicalClient-D46Zed55.js → TextEditorLexicalClient-ORsHWY1s.js} +185 -152
  4. package/dist/chunks/TextEditorLexicalClient-ORsHWY1s.js.map +1 -0
  5. package/dist/chunks/ui.module-oRwY3Zli.js.map +1 -1
  6. package/dist/styles.css +1 -1
  7. package/dist/text-editor/index.js +1 -1
  8. package/dist/text-editor/lib/selection/restoreLinkDialogSelection.d.ts +9 -0
  9. package/dist/text-editor/lib/selection/restoreLinkDialogSelection.d.ts.map +1 -0
  10. package/dist/text-editor/model/hooks/useTextEditorLexicalActions.d.ts.map +1 -1
  11. package/dist/text-editor/toolbar/ToolbarControl.d.ts.map +1 -1
  12. package/package.json +1 -1
  13. package/src/styles/_tone-derived.scss +28 -10
  14. package/src/styles/themes/_interactive-surface.scss +6 -6
  15. package/src/styles/themes/_theme.scss +42 -24
  16. package/src/styles/themes/theme.test.ts +59 -18
  17. package/storybook-static/assets/{Badge-Esh85lzw.js → Badge-DZyhbbM8.js} +1 -1
  18. package/storybook-static/assets/{Badge.stories-DnU4Aj8m.js → Badge.stories-NTzzKHJp.js} +1 -1
  19. package/storybook-static/assets/{BadgeList-BxlBVt--.js → BadgeList-CyZwXD1B.js} +1 -1
  20. package/storybook-static/assets/{BarcodeScannerDialog.stories-B_KpAvZI.js → BarcodeScannerDialog.stories-DgsYBggs.js} +1 -1
  21. package/storybook-static/assets/{Button-dvkBzy21.js → Button-CH_Z6sO1.js} +1 -1
  22. package/storybook-static/assets/{Button-ZXxiD9P_.js → Button-CljTMz3I.js} +1 -1
  23. package/storybook-static/assets/{Button.stories-J4sJtC3v.js → Button.stories-BewKK-DS.js} +1 -1
  24. package/storybook-static/assets/{CalendarView-DGp2C40d.js → CalendarView--x2hpT2q.js} +1 -1
  25. package/storybook-static/assets/{CheckBox-CGIztaSc.js → CheckBox-DXh75fAR.js} +1 -1
  26. package/storybook-static/assets/{CheckBox-IWsEVvwo.js → CheckBox-LimJi0UQ.js} +1 -1
  27. package/storybook-static/assets/{CheckBox.stories-PatAgJNg.js → CheckBox.stories-o6rpfweF.js} +1 -1
  28. package/storybook-static/assets/{Color-6AOWCN3U-CObFhsdH.js → Color-6AOWCN3U-8n8FCLyC.js} +1 -1
  29. package/storybook-static/assets/{ContextMenu-PtQCIWby.js → ContextMenu-6TfxDPWB.js} +1 -1
  30. package/storybook-static/assets/{ContextMenu-BpMNIGaS.js → ContextMenu-Ck4m7ukO.js} +1 -1
  31. package/storybook-static/assets/{ContextMenu.stories-DRN3y3fq.js → ContextMenu.stories-C0bTUdLv.js} +1 -1
  32. package/storybook-static/assets/{CustomOptionButton-BypRyNBF.js → CustomOptionButton-dg-hYBoR.js} +1 -1
  33. package/storybook-static/assets/{DateInput-CtEsHpVC.js → DateInput-B_V47xx7.js} +1 -1
  34. package/storybook-static/assets/{DateInput-DMRmP2mq.js → DateInput-jn0KyIGr.js} +1 -1
  35. package/storybook-static/assets/{DateInput.stories-kwV29Z7O.js → DateInput.stories-v7jSkTQz.js} +1 -1
  36. package/storybook-static/assets/{DateRangePresetSelect-BBppsGIA.js → DateRangePresetSelect-B2r12dtb.js} +1 -1
  37. package/storybook-static/assets/{DateRangePresetSelect-BSZ8AV5V.js → DateRangePresetSelect-CSJ_ADhT.js} +1 -1
  38. package/storybook-static/assets/{DateRangePresetSelect.stories-Brt_WHDa.js → DateRangePresetSelect.stories-BkIZ7BYP.js} +1 -1
  39. package/storybook-static/assets/{Detail-DgopeQrm.js → Detail-CGNKKZy_.js} +1 -1
  40. package/storybook-static/assets/{Detail.stories-9gNYQ6_t.js → Detail.stories-C9LpPn0-.js} +1 -1
  41. package/storybook-static/assets/{Dialog-BmgaXy1U.js → Dialog-ChVT8EA-.js} +1 -1
  42. package/storybook-static/assets/{Dialog-BIMDgQGd.js → Dialog-DOZ6KRDZ.js} +1 -1
  43. package/storybook-static/assets/{Dialog.stories-gQNF3xNZ.js → Dialog.stories-_ir2h3DS.js} +1 -1
  44. package/storybook-static/assets/{Disclosure-DYkWCvOB.js → Disclosure-DhYXxm-s.js} +1 -1
  45. package/storybook-static/assets/{Disclosure.stories-BkgXZx5X.js → Disclosure.stories-d5gH0j1X.js} +1 -1
  46. package/storybook-static/assets/{DisclosureGroup-CTkOG9uF.js → DisclosureGroup-CJzrTBA5.js} +1 -1
  47. package/storybook-static/assets/{DocsRenderer-JROSPFPF-CGYd7juA.js → DocsRenderer-JROSPFPF-4c9XFCUP.js} +1 -1
  48. package/storybook-static/assets/{DropZone-BwnzxS_O.js → DropZone-CAlPFkgO.js} +1 -1
  49. package/storybook-static/assets/{DropZone-C_QHZrKt.js → DropZone-C_ONrNnf.js} +1 -1
  50. package/storybook-static/assets/{DropZone.stories-Boz52u36.js → DropZone.stories-CIa7HYSk.js} +1 -1
  51. package/storybook-static/assets/{DropdownMenu-CSMB10lt.js → DropdownMenu-DWPIbyYd.js} +1 -1
  52. package/storybook-static/assets/{ExpandableActionPanel-Bs__dpSI.js → ExpandableActionPanel-Dpv7Ogiv.js} +1 -1
  53. package/storybook-static/assets/{ExpandableActionPanel.stories-dz1gGOjf.js → ExpandableActionPanel.stories-DO_6Ariv.js} +1 -1
  54. package/storybook-static/assets/{Flex-B1k5JrkX.js → Flex-DeOiILWd.js} +1 -1
  55. package/storybook-static/assets/{Flex.stories-DCEdIXaL.js → Flex.stories-Dhs5mlVY.js} +1 -1
  56. package/storybook-static/assets/{FloatingPopover-Bcol5irF.js → FloatingPopover-0Dprr5jf.js} +1 -1
  57. package/storybook-static/assets/{FormattedTableCell-BrUuqaAr.js → FormattedTableCell-qL4-wkCE.js} +1 -1
  58. package/storybook-static/assets/{Grid-BP-ULpSq.js → Grid-C8DgxK3U.js} +1 -1
  59. package/storybook-static/assets/{Grid.stories-xZTqePJe.js → Grid.stories-BrapZKvO.js} +1 -1
  60. package/storybook-static/assets/{ImageCropper.stories-9VlHvauM.js → ImageCropper.stories-CHYm4PqH.js} +1 -1
  61. package/storybook-static/assets/{ImageRenderer-CZUio12Y.js → ImageRenderer-CbHQ_5di.js} +1 -1
  62. package/storybook-static/assets/{ImageRenderer.stories-BMJ8rG5Y.js → ImageRenderer.stories-CgFX5vX1.js} +1 -1
  63. package/storybook-static/assets/{ImageView.stories-DwbVXc_9.js → ImageView.stories-B66Y0y8Z.js} +1 -1
  64. package/storybook-static/assets/{ImageViewer.stories-N79zIcYB.js → ImageViewer.stories-Dr8hSJB4.js} +2 -2
  65. package/storybook-static/assets/{ImageViewerRuntime-eFkLooZd.js → ImageViewerRuntime-ChNDRkbL.js} +1 -1
  66. package/storybook-static/assets/{Input-fyfY8tUJ.js → Input-7Olx6bGm.js} +1 -1
  67. package/storybook-static/assets/{Input-C_pApI-f.js → Input-C3tV6aOt.js} +1 -1
  68. package/storybook-static/assets/{Input.stories-DPx50f_P.js → Input.stories-Bp7kBh2f.js} +1 -1
  69. package/storybook-static/assets/{InputDateTime-BKOW723d.js → InputDateTime-DFMMt-mf.js} +1 -1
  70. package/storybook-static/assets/{InputDateTime.stories-DJpICa-C.js → InputDateTime.stories-Dds2W8yW.js} +1 -1
  71. package/storybook-static/assets/{InputFile-BIFMqbBI.js → InputFile-Ba-RwZsI.js} +1 -1
  72. package/storybook-static/assets/{InputFile-CX8kMBfN.js → InputFile-DSu8gm8A.js} +1 -1
  73. package/storybook-static/assets/{InputFile.stories-Dpiz4AE-.js → InputFile.stories-YGXOc3DO.js} +1 -1
  74. package/storybook-static/assets/{InputFiles-B-uYeAwK.js → InputFiles-CIPsyfH5.js} +1 -1
  75. package/storybook-static/assets/{InputFiles-g6BxqKY1.js → InputFiles-DqlQJsmm.js} +1 -1
  76. package/storybook-static/assets/{InputFiles.stories-CIeEtuge.js → InputFiles.stories-BH_gwOug.js} +1 -1
  77. package/storybook-static/assets/{InputFilesList-EUw0PgRa.js → InputFilesList-BEDe42dK.js} +1 -1
  78. package/storybook-static/assets/{InputImage-G56Xrlxa.js → InputImage-BdcxBj6J.js} +1 -1
  79. package/storybook-static/assets/{InputImage-BHhhQ_DL.js → InputImage-D4D-X8Ys.js} +1 -1
  80. package/storybook-static/assets/{InputImage.stories-CzcxWNCg.js → InputImage.stories-BOW5PRM7.js} +1 -1
  81. package/storybook-static/assets/{InteractiveComponents-BwuEU-Jx.js → InteractiveComponents-hi2rc0Cm.js} +1 -1
  82. package/storybook-static/assets/{InteractiveComponents.stories-BFz-Wro0.js → InteractiveComponents.stories-5hPeC7R2.js} +1 -1
  83. package/storybook-static/assets/{LayoutPicker-XV5w8WPa.js → LayoutPicker-BO18SpK7.js} +1 -1
  84. package/storybook-static/assets/{LayoutPicker-dIhabh1s.js → LayoutPicker-BqGACXDe.js} +1 -1
  85. package/storybook-static/assets/{LayoutPicker.stories-CDt2569o.js → LayoutPicker.stories-BlN_ODG4.js} +1 -1
  86. package/storybook-static/assets/{Listbox-DaW_mGeW.js → Listbox-4PvVEZRh.js} +1 -1
  87. package/storybook-static/assets/{Listbox-Bgo-nQ9Y.js → Listbox-Bta1Rvnl.js} +1 -1
  88. package/storybook-static/assets/{Listbox.stories-CP6wE_7K.js → Listbox.stories-DtEb9pou.js} +1 -1
  89. package/storybook-static/assets/{Modal-DDvcZVCM.js → Modal-Bmxp4mLU.js} +1 -1
  90. package/storybook-static/assets/{Modal-Bqw7AE8B.js → Modal-BwdW99av.js} +1 -1
  91. package/storybook-static/assets/{Modal.stories-BX600McN.js → Modal.stories-DuNdaLN2.js} +1 -1
  92. package/storybook-static/assets/{ModalManagerProvider-CxtoDU9F.js → ModalManagerProvider-CGmNKOlv.js} +1 -1
  93. package/storybook-static/assets/{MultiSelect-BJIs_9bc.js → MultiSelect-BrHYXgvm.js} +1 -1
  94. package/storybook-static/assets/{MultiSelect-yUk0g6i1.js → MultiSelect-enRkbUVu.js} +1 -1
  95. package/storybook-static/assets/{MultiSelect.stories-DK5hmxUc.js → MultiSelect.stories-4SSQVsBu.js} +1 -1
  96. package/storybook-static/assets/{NoData-hc4EFPB8.js → NoData-Bdkk4qX-.js} +1 -1
  97. package/storybook-static/assets/{NotificationsHost-DJrgoJC_.js → NotificationsHost-epLriMYO.js} +1 -1
  98. package/storybook-static/assets/{NotificationsHost.stories-D7mi4TqE.js → NotificationsHost.stories-DvF1HMJp.js} +1 -1
  99. package/storybook-static/assets/{ODataMultiSelect-DNrfwZV0.js → ODataMultiSelect-DYrfAdLn.js} +1 -1
  100. package/storybook-static/assets/{ODataMultiSelect.stories-kL4DXKxt.js → ODataMultiSelect.stories-DVkerQKn.js} +1 -1
  101. package/storybook-static/assets/{ODataSelect-DCDQ6QDE.js → ODataSelect-DWJYlxQc.js} +1 -1
  102. package/storybook-static/assets/{ODataSelect.stories-C6kKriiF.js → ODataSelect.stories-CywUlhAN.js} +1 -1
  103. package/storybook-static/assets/{ODataTreeMultiSelect-CHVUlk_U.js → ODataTreeMultiSelect-D90IEf3K.js} +1 -1
  104. package/storybook-static/assets/{ODataTreeMultiSelect.stories-B9FhGd09.js → ODataTreeMultiSelect.stories-CadVRCl9.js} +1 -1
  105. package/storybook-static/assets/{ODataTreeSelect-BtOXQoID.js → ODataTreeSelect-DSAGCoD4.js} +1 -1
  106. package/storybook-static/assets/{ODataTreeSelect.stories-Chqlab-8.js → ODataTreeSelect.stories-BEA_Vb7u.js} +1 -1
  107. package/storybook-static/assets/{OneStepScroller-DxeS1X71.js → OneStepScroller-CCIUc14k.js} +1 -1
  108. package/storybook-static/assets/{Option-ComrvJ9s.js → Option-ByR48EZl.js} +1 -1
  109. package/storybook-static/assets/{OptionButton-DJAuLjhy.js → OptionButton-BMoBnbt6.js} +1 -1
  110. package/storybook-static/assets/{PeriodSelect-DcD82ag2.js → PeriodSelect-C-eGa-Kg.js} +1 -1
  111. package/storybook-static/assets/{PeriodSelect-RGiWiGWB.js → PeriodSelect-sUUZBBze.js} +1 -1
  112. package/storybook-static/assets/{PeriodSelect.stories-J0FBtti2.js → PeriodSelect.stories-CEPqnZQz.js} +1 -1
  113. package/storybook-static/assets/{PickerField-BamGqyTg.js → PickerField-EVQAudL9.js} +1 -1
  114. package/storybook-static/assets/{PickerTriggerActions-CrzexZv7.js → PickerTriggerActions-Da3NAgN3.js} +1 -1
  115. package/storybook-static/assets/{Popover-DA6FuPO9.js → Popover-B7-sfEHt.js} +1 -1
  116. package/storybook-static/assets/{Popover-7hIGWFil.js → Popover-MG_TKcDM.js} +1 -1
  117. package/storybook-static/assets/{Popover.stories-BGX_E2Rj.js → Popover.stories-6rqdsIci.js} +1 -1
  118. package/storybook-static/assets/{PresetRangeDateInput-DEMn-CKo.js → PresetRangeDateInput-XkeUUy4t.js} +1 -1
  119. package/storybook-static/assets/{PresetRangeDateInput-BZ5e4ulz.js → PresetRangeDateInput-oJU3yjjY.js} +1 -1
  120. package/storybook-static/assets/{PresetRangeDateInput.stories-DyQzNJiA.js → PresetRangeDateInput.stories-CYja7SlF.js} +1 -1
  121. package/storybook-static/assets/{PresetSelect-BsGseZxe.js → PresetSelect-DWW52rEr.js} +1 -1
  122. package/storybook-static/assets/{README-CwZI_nQ7.js → README-3onNI8KH.js} +1 -1
  123. package/storybook-static/assets/{README-y9Bfe8iT.js → README-8TyDLZ8m.js} +1 -1
  124. package/storybook-static/assets/{README-C1zwQgxk.js → README-B-dL4Dp1.js} +1 -1
  125. package/storybook-static/assets/{README-DvZb2tQw.js → README-B64nG4-r.js} +1 -1
  126. package/storybook-static/assets/{README-CmkOA3wW.js → README-B887wTp_.js} +1 -1
  127. package/storybook-static/assets/{README-Bup4xuqw.js → README-BGGr2zYm.js} +1 -1
  128. package/storybook-static/assets/{README-C4KUJF4d.js → README-BIp15sbA.js} +1 -1
  129. package/storybook-static/assets/{README-DHwyWwmz.js → README-BLjBIG5b.js} +1 -1
  130. package/storybook-static/assets/{README-BhxFmTpV.js → README-BSDrP24w.js} +1 -1
  131. package/storybook-static/assets/{README-4wAMpqKW.js → README-BUXHrder.js} +1 -1
  132. package/storybook-static/assets/{README-BmrxdH-B.js → README-BXK6R512.js} +1 -1
  133. package/storybook-static/assets/{README-DhOlNM3a.js → README-Bd8oZSBv.js} +1 -1
  134. package/storybook-static/assets/{README-DYrhoV2x.js → README-BeQQlzku.js} +1 -1
  135. package/storybook-static/assets/{README-CAaN4Ld-.js → README-Bk_j-FWx.js} +1 -1
  136. package/storybook-static/assets/{README-DhMfO2Dl.js → README-BqbscBiw.js} +1 -1
  137. package/storybook-static/assets/{README-UQVgPCo3.js → README-BtXLkUYG.js} +1 -1
  138. package/storybook-static/assets/{README-DP6FJt9L.js → README-BuyFnGUr.js} +1 -1
  139. package/storybook-static/assets/{README-BbONAExJ.js → README-C4aCrDhQ.js} +1 -1
  140. package/storybook-static/assets/{README-D2L5Yzv1.js → README-C5Evi_Od.js} +1 -1
  141. package/storybook-static/assets/{README-BgRQJ2S9.js → README-C5o1ee9L.js} +1 -1
  142. package/storybook-static/assets/{README-530UIsM5.js → README-C87LZz6f.js} +1 -1
  143. package/storybook-static/assets/{README-Bjq9zsXL.js → README-CNQEzBHn.js} +1 -1
  144. package/storybook-static/assets/{README-CQn8q9y9.js → README-CarOmnk7.js} +1 -1
  145. package/storybook-static/assets/{README-BrIfTQtc.js → README-CeZpJRtg.js} +1 -1
  146. package/storybook-static/assets/{README-Ld_nuS76.js → README-ChG5rY0i.js} +1 -1
  147. package/storybook-static/assets/{README-D7_WRUZg.js → README-Co2u6-Lj.js} +1 -1
  148. package/storybook-static/assets/{README-DnkpFu02.js → README-CoIps3ow.js} +1 -1
  149. package/storybook-static/assets/{README-97xTDGmC.js → README-CpE19mEd.js} +1 -1
  150. package/storybook-static/assets/{README-DtM6kMym.js → README-CzeEqZV4.js} +1 -1
  151. package/storybook-static/assets/{README-YY1Ajz1w.js → README-D8RATsxd.js} +1 -1
  152. package/storybook-static/assets/{README-BXdudd03.js → README-DCcgaFeQ.js} +1 -1
  153. package/storybook-static/assets/{README-DCJ0rsOW.js → README-DDIuwU7m.js} +1 -1
  154. package/storybook-static/assets/{README-CUhyCSGc.js → README-DGvtRCkM.js} +1 -1
  155. package/storybook-static/assets/{README-DuTHnM3g.js → README-DJnq2r66.js} +1 -1
  156. package/storybook-static/assets/{README-B71F0K0c.js → README-DM_g6PCr.js} +1 -1
  157. package/storybook-static/assets/{README-CGovAIuH.js → README-DN4AcFXT.js} +1 -1
  158. package/storybook-static/assets/{README-_oeRmsba.js → README-DS6WZRoh.js} +1 -1
  159. package/storybook-static/assets/{README-_ZkqcsGp.js → README-DgYioDAa.js} +1 -1
  160. package/storybook-static/assets/{README-BC4xt0AQ.js → README-DoB-J219.js} +1 -1
  161. package/storybook-static/assets/{README-C0GgcK-F.js → README-DoW41pj8.js} +1 -1
  162. package/storybook-static/assets/{README-DMvM0CFG.js → README-DousuaoR.js} +1 -1
  163. package/storybook-static/assets/{README-CgkwwR69.js → README-DpPmQc1C.js} +1 -1
  164. package/storybook-static/assets/{README-CFR0mu0U.js → README-HiFT84zG.js} +1 -1
  165. package/storybook-static/assets/{README-BcrNbNjI.js → README-LkMYQQZG.js} +1 -1
  166. package/storybook-static/assets/{README-mRxMTW_Z.js → README-N-t9Esrs.js} +1 -1
  167. package/storybook-static/assets/{README-D7L1Z6n9.js → README-Q6TktIyC.js} +1 -1
  168. package/storybook-static/assets/{README-DzJwLpxb.js → README-ZBSgAfUQ.js} +1 -1
  169. package/storybook-static/assets/{README-B84EaQXv.js → README-aMioowWA.js} +1 -1
  170. package/storybook-static/assets/{README-CY5Rzd4q.js → README-bp2jvuhN.js} +1 -1
  171. package/storybook-static/assets/{README-DETry3fH.js → README-dBjUPcUC.js} +1 -1
  172. package/storybook-static/assets/{README-BUa64A8D.js → README-jAXiQfWd.js} +1 -1
  173. package/storybook-static/assets/{README-C8fBLb8Q.js → README-kqacqwMO.js} +1 -1
  174. package/storybook-static/assets/{README-B7DR00fM.js → README-px0sy3mH.js} +1 -1
  175. package/storybook-static/assets/{RadioButton-AUoosUqB.js → RadioButton-CBZ-2tpg.js} +1 -1
  176. package/storybook-static/assets/{RadioButton-0axQ-WvZ.js → RadioButton-DeU7LySy.js} +1 -1
  177. package/storybook-static/assets/{RadioButton.stories-Dqe-r3lD.js → RadioButton.stories-DzBmcWYh.js} +1 -1
  178. package/storybook-static/assets/{RadioGroup-BgCjgFfe.js → RadioGroup-9L9EBmPZ.js} +1 -1
  179. package/storybook-static/assets/{RadioGroup-Biy7jsOy.js → RadioGroup-M8U_3Qu1.js} +1 -1
  180. package/storybook-static/assets/{RadioGroup.stories-CHvNWKTQ.js → RadioGroup.stories-DhaRdRnV.js} +1 -1
  181. package/storybook-static/assets/{Scrollable-BYmva3ep.js → Scrollable-DKD8_GYW.js} +1 -1
  182. package/storybook-static/assets/{Select-CZCJfh1u.js → Select-DG_lx7Rl.js} +1 -1
  183. package/storybook-static/assets/{Select-CoD4ahoj.js → Select-Dg-l0yoE.js} +1 -1
  184. package/storybook-static/assets/{Select.stories-B-PY1Sz5.js → Select.stories-D4TelGYC.js} +1 -1
  185. package/storybook-static/assets/{SerializableSelect-DE8iNPWu.js → SerializableSelect-CpitM8WL.js} +1 -1
  186. package/storybook-static/assets/{SerializableSelect.stories-Cgd2VT8m.js → SerializableSelect.stories-ZlWgKkHt.js} +1 -1
  187. package/storybook-static/assets/{SingleDateTimeInput-BzOL-IZJ.js → SingleDateTimeInput-CqocRYJY.js} +1 -1
  188. package/storybook-static/assets/{SingleDateTimeInput-BDHCGYJi.js → SingleDateTimeInput-m6jYz_r2.js} +1 -1
  189. package/storybook-static/assets/{SingleDateTimeInput.stories-yuCgjvxm.js → SingleDateTimeInput.stories-fH-iW9qA.js} +1 -1
  190. package/storybook-static/assets/{Slider-Bx2jKg6R.js → Slider-CF5lNqVZ.js} +1 -1
  191. package/storybook-static/assets/{Slider-BSYDJi1k.js → Slider-D0Qwf7EY.js} +1 -1
  192. package/storybook-static/assets/{Slider.stories-P23SMkMP.js → Slider.stories-B6QVVtrd.js} +1 -1
  193. package/storybook-static/assets/{SliderInput-AgH6kueH.js → SliderInput-Dvz_4kgc.js} +1 -1
  194. package/storybook-static/assets/{SliderInput-CfK1Mnw8.js → SliderInput-zM3jF5KD.js} +1 -1
  195. package/storybook-static/assets/{SliderInput.stories-BIZQY77N.js → SliderInput.stories-BKuUv8N2.js} +1 -1
  196. package/storybook-static/assets/{Sortable-HAt33EOU.js → Sortable-C0K_6g4P.js} +1 -1
  197. package/storybook-static/assets/{Sortable.stories-DpKHUgP7.js → Sortable.stories-Chf1sxZg.js} +1 -1
  198. package/storybook-static/assets/{Splitter-XHLzIzBV.js → Splitter-B8Ksf_xs.js} +1 -1
  199. package/storybook-static/assets/{Splitter.stories-AF5cuIrd.js → Splitter.stories-fRvGX5Jp.js} +1 -1
  200. package/storybook-static/assets/{StateSelect-D_4JId4p.js → StateSelect-CPNphBga.js} +1 -1
  201. package/storybook-static/assets/{StateSelect-Bc7THQz4.js → StateSelect-CjsviCtb.js} +1 -1
  202. package/storybook-static/assets/{StateSelect.stories-Dskb5EaO.js → StateSelect.stories-D32llZ6v.js} +1 -1
  203. package/storybook-static/assets/{StatusIndicator-DgpNsNH9.js → StatusIndicator-CKvd7tHs.js} +1 -1
  204. package/storybook-static/assets/{StatusIndicator.stories-CggWAarU.js → StatusIndicator.stories-NOvPPe_7.js} +1 -1
  205. package/storybook-static/assets/{StringToggle.stories-C0ZhO81t.js → StringToggle.stories-Bicdqe7C.js} +1 -1
  206. package/storybook-static/assets/{Switch-CknduYVb.js → Switch-Bkob6qYu.js} +1 -1
  207. package/storybook-static/assets/{Switch-f3dsucrL.js → Switch-C61_o5be.js} +1 -1
  208. package/storybook-static/assets/{Switch.stories-Chg3TrE2.js → Switch.stories-BSXuhd1n.js} +1 -1
  209. package/storybook-static/assets/{Table-A1OmUB1G.js → Table-DrI-ye5w.js} +1 -1
  210. package/storybook-static/assets/{Table.stories-F0G5NqxY.js → Table.stories-DfeiRj00.js} +1 -1
  211. package/storybook-static/assets/{TableEditor.stories-Hq1Gc1oK.js → TableEditor.stories-BsLxmTao.js} +1 -1
  212. package/storybook-static/assets/{Tabs-BmH25H7g.js → Tabs-CgalbGPu.js} +1 -1
  213. package/storybook-static/assets/{Tabs.stories-CIX0RdTF.js → Tabs.stories-BNjq8-Q7.js} +1 -1
  214. package/storybook-static/assets/{TabsBox-C1OmrVhO.js → TabsBox-CpmFgUBj.js} +1 -1
  215. package/storybook-static/assets/{TagInput-CE0_PHMq.js → TagInput-DvEYa96d.js} +1 -1
  216. package/storybook-static/assets/{TagInput.stories-CTlBOp-Y.js → TagInput.stories-j4Qd29sb.js} +1 -1
  217. package/storybook-static/assets/{Text-Dm4ZV9wd.js → Text-BZ1JvyUT.js} +1 -1
  218. package/storybook-static/assets/{Textarea-CK7tpoYG.js → Textarea-BMzsyo3c.js} +1 -1
  219. package/storybook-static/assets/{Textarea-9eR-qNKs.js → Textarea-BRdIBUkE.js} +1 -1
  220. package/storybook-static/assets/{Textarea.stories-vGi_UkyN.js → Textarea.stories-C0x425GI.js} +1 -1
  221. package/storybook-static/assets/{TimePanel-BLQrdjYw.js → TimePanel-BWqMMKMh.js} +1 -1
  222. package/storybook-static/assets/{TimePanel.stories-DOLgz23p.js → TimePanel.stories-DyU92R36.js} +1 -1
  223. package/storybook-static/assets/{Toggle-DCT7y4pb.js → Toggle-Bownsch8.js} +1 -1
  224. package/storybook-static/assets/{Toggle-d3qw-5vS.js → Toggle-ClbrIGCZ.js} +1 -1
  225. package/storybook-static/assets/{Toggle.stories-DIc66YyI.js → Toggle.stories-DsNHF5oC.js} +1 -1
  226. package/storybook-static/assets/{TreeMultiSelect-3CrIhRKl.js → TreeMultiSelect-CDg35T0c.js} +1 -1
  227. package/storybook-static/assets/{TreeMultiSelect-Buj6k0wN.js → TreeMultiSelect-D3TzNY3n.js} +1 -1
  228. package/storybook-static/assets/{TreeMultiSelect.stories-BHxIRTEy.js → TreeMultiSelect.stories-C3xbNKlw.js} +1 -1
  229. package/storybook-static/assets/{TreePickerBase-BHduNQZI.js → TreePickerBase-DwM3HHNJ.js} +1 -1
  230. package/storybook-static/assets/{TreeSelect-DfFbREJp.js → TreeSelect-BWZkUyfN.js} +1 -1
  231. package/storybook-static/assets/{TreeSelect-BO1tYVB4.js → TreeSelect-CzPMpXEN.js} +1 -1
  232. package/storybook-static/assets/{TreeSelect.stories-ZwxGVFce.js → TreeSelect.stories-Dt2iVzbQ.js} +1 -1
  233. package/storybook-static/assets/{TreeTable-CIxtOAyo.js → TreeTable-CVn34tY8.js} +1 -1
  234. package/storybook-static/assets/{TreeTable.stories-BQNgHwk9.js → TreeTable.stories-D1ufYTtN.js} +1 -1
  235. package/storybook-static/assets/{blocks-OyR7mF18.js → blocks-BIDgFZzT.js} +3 -3
  236. package/storybook-static/assets/{check-Gvk-f2eZ.js → check-Ci14Psj_.js} +1 -1
  237. package/storybook-static/assets/{chevron-down-KZidOQ8z.js → chevron-down-DbAd2qk7.js} +1 -1
  238. package/storybook-static/assets/{chevron-left-BmY0y72L.js → chevron-left-BkXE-6hJ.js} +1 -1
  239. package/storybook-static/assets/{chevron-right-DwE6c1oF.js → chevron-right--BJBL7es.js} +1 -1
  240. package/storybook-static/assets/{chunk-W22LQPXL-Dvqa6-ec.js → chunk-W22LQPXL-Ck7Hq2hD.js} +1 -1
  241. package/storybook-static/assets/{circle-alert-CWi4rINy.js → circle-alert-DZ-mqRo-.js} +1 -1
  242. package/storybook-static/assets/{circle-check-BWlhKN1l.js → circle-check-ohYPmGXF.js} +1 -1
  243. package/storybook-static/assets/{components-CoPo6nEv.js → components-BcLNCNYh.js} +3 -3
  244. package/storybook-static/assets/{contextMenu-DwYdo2Sb.js → contextMenu-CV1L1k-X.js} +1 -1
  245. package/storybook-static/assets/{download-Bqp3e16u.js → download-Cj6p8bKz.js} +1 -1
  246. package/storybook-static/assets/{floating-ui.react-Dzrc1SBT.js → floating-ui.react-BSdrfXIW.js} +1 -1
  247. package/storybook-static/assets/{foundationApi-297mfV2y.js → foundationApi-CQ7TLs4F.js} +1 -1
  248. package/storybook-static/assets/{foundationLib-CnmPNL2i.js → foundationLib-CrDmX7bX.js} +1 -1
  249. package/storybook-static/assets/{hooks-CZ-c1LQK.js → hooks-DUyI2f7Z.js} +1 -1
  250. package/storybook-static/assets/iframe-CBug5Z2-.js +1 -0
  251. package/storybook-static/assets/{iframe-t8Ol-TlS.js → iframe-CLqd5Giv.js} +3 -3
  252. package/storybook-static/assets/{info-BMddFLDT.js → info-T_PVPfD-.js} +1 -1
  253. package/storybook-static/assets/{odata-u98yP6vI.js → odata-CCaj8ulC.js} +1 -1
  254. package/storybook-static/assets/{odataStoryFixtures-BX88AmEk.js → odataStoryFixtures-Bv9BrgZv.js} +1 -1
  255. package/storybook-static/assets/{react-BwRTJdhk.js → react-Ce_aQozh.js} +1 -1
  256. package/storybook-static/assets/{refresh-cw-BSZCBW1r.js → refresh-cw-CNrDNE_N.js} +1 -1
  257. package/storybook-static/assets/{settings-2-UthslFqJ.js → settings-2-jAEe_Y9H.js} +1 -1
  258. package/storybook-static/assets/{sortable-C4MB--OV.js → sortable-kVkmtF5b.js} +1 -1
  259. package/storybook-static/assets/{syntaxhighlighter-QEQV7K2Y-DByUKVZY.js → syntaxhighlighter-QEQV7K2Y-zKIOKo3C.js} +1 -1
  260. package/storybook-static/assets/{trash-2-CPAznzsr.js → trash-2-Dt4QzFcm.js} +1 -1
  261. package/storybook-static/assets/{triangle-alert-B2jfGvCD.js → triangle-alert-BiyO16L3.js} +1 -1
  262. package/storybook-static/assets/{ui-D4-nHP5x.css → ui-DPTWro6M.css} +1 -1
  263. package/storybook-static/assets/{uiClasses-BCk2WXc4.js → uiClasses-BY4mQ-J3.js} +1 -1
  264. package/storybook-static/assets/{useODataSelectBase-C-o3n-Rn.js → useODataSelectBase-DpSBp8Rk.js} +1 -1
  265. package/storybook-static/assets/{useODataTreeData-DkF53Jgq.js → useODataTreeData-ynwGta5X.js} +1 -1
  266. package/storybook-static/assets/{usePickerQuery-D609nrEf.js → usePickerQuery-BVMhh3cw.js} +1 -1
  267. package/storybook-static/assets/{usePickerTriggerController-CiGxyPbG.js → usePickerTriggerController-TTKRTNy4.js} +1 -1
  268. package/storybook-static/assets/{x-Y6c20Jey.js → x-wBEq3sjm.js} +1 -1
  269. package/storybook-static/iframe.html +2 -2
  270. package/storybook-static/project.json +1 -1
  271. package/dist/chunks/TextEditorLexicalClient-D46Zed55.js.map +0 -1
  272. package/storybook-static/assets/iframe-3DMMfY6n.js +0 -1
  273. /package/storybook-static/assets/{ui.module-nb-nQZVN.js → ui.module-B6Lc_ii5.js} +0 -0
@@ -22,53 +22,54 @@ import { OnChangePlugin as Se } from "@lexical/react/LexicalOnChangePlugin";
22
22
  import { RichTextPlugin as Ce } from "@lexical/react/LexicalRichTextPlugin";
23
23
  import { $createHeadingNode as we, $createQuoteNode as Te, $isHeadingNode as Ee, $isQuoteNode as De, HeadingNode as Oe, QuoteNode as ke } from "@lexical/rich-text";
24
24
  import { useLexicalComposerContext as P } from "@lexical/react/LexicalComposerContext";
25
- import { $applyNodeReplacement as F, $createParagraphNode as I, $createTextNode as L, $getRoot as Ae, $getSelection as R, $isRangeSelection as z, ElementNode as je, FORMAT_ELEMENT_COMMAND as Me, FORMAT_TEXT_COMMAND as Ne, REDO_COMMAND as Pe, UNDO_COMMAND as Fe } from "lexical";
26
- import { $isLinkNode as B, LinkNode as Ie } from "@lexical/link";
27
- import { $setBlocksType as V } from "@lexical/selection";
28
- import { $findMatchingParent as Le } from "@lexical/utils";
29
- var H = {
25
+ import { $applyNodeReplacement as F, $createParagraphNode as I, $createTextNode as L, $getNodeByKey as Ae, $getRoot as R, $getSelection as z, $isElementNode as je, $isRangeSelection as B, $isTextNode as Me, $setSelection as Ne, ElementNode as Pe, FORMAT_ELEMENT_COMMAND as Fe, FORMAT_TEXT_COMMAND as Ie, HISTORY_MERGE_TAG as Le, HISTORY_PUSH_TAG as Re, REDO_COMMAND as ze, SKIP_DOM_SELECTION_TAG as Be, UNDO_COMMAND as Ve } from "lexical";
26
+ import { $isLinkNode as V, LinkNode as He } from "@lexical/link";
27
+ import { $setBlocksType as H } from "@lexical/selection";
28
+ import { $findMatchingParent as Ue } from "@lexical/utils";
29
+ var U = {
30
30
  toolbar: "shIOqq",
31
31
  groupControls: "YM-4Dq"
32
32
  };
33
33
  //#endregion
34
34
  //#region src/text-editor/toolbar/ToolbarControl.tsx
35
- function U({ isActive: t, disabled: n, style: r, title: i, icon: a, onClick: o }) {
35
+ function W({ isActive: t, disabled: n, style: r, title: i, icon: a, onClick: o }) {
36
36
  return /* @__PURE__ */ b(e, {
37
37
  title: i,
38
38
  disabled: n,
39
39
  appearance: "outline",
40
40
  tone: t ? "info" : void 0,
41
41
  onMouseDown: (e) => {
42
- e.preventDefault(), o?.(r || "");
42
+ e.preventDefault();
43
43
  },
44
+ onClick: () => o?.(r || ""),
44
45
  icon: a
45
46
  });
46
47
  }
47
48
  //#endregion
48
49
  //#region src/text-editor/toolbar/AlignmentControls.tsx
49
- function Re({ onAlignmentChange: e, activeAlignment: t }) {
50
+ function We({ onAlignmentChange: e, activeAlignment: t }) {
50
51
  return /* @__PURE__ */ x("div", {
51
- className: H.groupControls,
52
+ className: U.groupControls,
52
53
  children: [
53
- /* @__PURE__ */ b(U, {
54
+ /* @__PURE__ */ b(W, {
54
55
  title: "По левому краю",
55
56
  icon: /* @__PURE__ */ b(w, {}),
56
57
  isActive: t === "left",
57
58
  onClick: () => e("left")
58
59
  }),
59
- /* @__PURE__ */ b(U, {
60
+ /* @__PURE__ */ b(W, {
60
61
  title: "По центру",
61
62
  icon: /* @__PURE__ */ b(S, {}),
62
63
  isActive: t === "center",
63
64
  onClick: () => e("center")
64
65
  }),
65
- /* @__PURE__ */ b(U, {
66
+ /* @__PURE__ */ b(W, {
66
67
  title: "По правому краю",
67
68
  icon: /* @__PURE__ */ b(T, {}),
68
69
  isActive: t === "right",
69
70
  onClick: () => e("right")
70
71
  }),
71
- /* @__PURE__ */ b(U, {
72
+ /* @__PURE__ */ b(W, {
72
73
  title: "По ширине",
73
74
  icon: /* @__PURE__ */ b(C, {}),
74
75
  isActive: t === "justify",
@@ -79,14 +80,14 @@ function Re({ onAlignmentChange: e, activeAlignment: t }) {
79
80
  }
80
81
  //#endregion
81
82
  //#region src/text-editor/toolbar/HistoryControls.tsx
82
- function ze({ onUndo: e, onRedo: t }) {
83
+ function Ge({ onUndo: e, onRedo: t }) {
83
84
  return /* @__PURE__ */ x("div", {
84
- className: H.groupControls,
85
- children: [/* @__PURE__ */ b(U, {
85
+ className: U.groupControls,
86
+ children: [/* @__PURE__ */ b(W, {
86
87
  title: "Отменить последнее действие",
87
88
  icon: /* @__PURE__ */ b(se, {}),
88
89
  onClick: e
89
- }), /* @__PURE__ */ b(U, {
90
+ }), /* @__PURE__ */ b(W, {
90
91
  title: "Повторить предыдущее действие",
91
92
  icon: /* @__PURE__ */ b(ae, {}),
92
93
  onClick: t
@@ -95,28 +96,28 @@ function ze({ onUndo: e, onRedo: t }) {
95
96
  }
96
97
  //#endregion
97
98
  //#region src/text-editor/toolbar/LinkButtons.tsx
98
- function Be({ disabled: e, onClick: t }) {
99
+ function Ke({ disabled: e, onClick: t }) {
99
100
  return /* @__PURE__ */ x("div", {
100
- className: H.groupControls,
101
+ className: U.groupControls,
101
102
  children: [
102
- /* @__PURE__ */ b(U, {
103
+ /* @__PURE__ */ b(W, {
103
104
  title: "Добавить ссылку на статью",
104
105
  icon: /* @__PURE__ */ b(te, {}),
105
106
  onClick: () => t(f.LOCAL_LINK)
106
107
  }),
107
- /* @__PURE__ */ b(U, {
108
+ /* @__PURE__ */ b(W, {
108
109
  title: "Добавить ссылку",
109
110
  disabled: e,
110
111
  icon: /* @__PURE__ */ b(A, {}),
111
112
  onClick: () => t(f.LINK)
112
113
  }),
113
- /* @__PURE__ */ b(U, {
114
+ /* @__PURE__ */ b(W, {
114
115
  title: "Добавить телефон",
115
116
  disabled: e,
116
117
  icon: /* @__PURE__ */ b(re, {}),
117
118
  onClick: () => t(f.PHONE)
118
119
  }),
119
- /* @__PURE__ */ b(U, {
120
+ /* @__PURE__ */ b(W, {
120
121
  title: "Добавить email",
121
122
  disabled: e,
122
123
  icon: /* @__PURE__ */ b(E, {}),
@@ -127,36 +128,36 @@ function Be({ disabled: e, onClick: t }) {
127
128
  }
128
129
  //#endregion
129
130
  //#region src/text-editor/toolbar/TagButtons.tsx
130
- function Ve({ onClick: e }) {
131
+ function qe({ onClick: e }) {
131
132
  return /* @__PURE__ */ x("div", {
132
- className: H.groupControls,
133
+ className: U.groupControls,
133
134
  children: [
134
- /* @__PURE__ */ b(U, {
135
+ /* @__PURE__ */ b(W, {
135
136
  title: "Вставить Аббревиатуру",
136
137
  icon: /* @__PURE__ */ b(D, {}),
137
138
  onClick: () => e(u.abbr)
138
139
  }),
139
- /* @__PURE__ */ b(U, {
140
+ /* @__PURE__ */ b(W, {
140
141
  title: "Вставить Код языка",
141
142
  icon: /* @__PURE__ */ b(ee, {}),
142
143
  onClick: () => e(u.lang)
143
144
  }),
144
- /* @__PURE__ */ b(U, {
145
+ /* @__PURE__ */ b(W, {
145
146
  title: "Вставить Дату/время",
146
147
  icon: /* @__PURE__ */ b(k, {}),
147
148
  onClick: () => e(u.time)
148
149
  }),
149
- /* @__PURE__ */ b(U, {
150
+ /* @__PURE__ */ b(W, {
150
151
  title: "Вставить Ссылку на источник",
151
152
  icon: /* @__PURE__ */ b(ne, {}),
152
153
  onClick: () => e(u.cite)
153
154
  }),
154
- /* @__PURE__ */ b(U, {
155
+ /* @__PURE__ */ b(W, {
155
156
  title: "Вставить Удалённый фрагмент",
156
157
  icon: /* @__PURE__ */ b(oe, {}),
157
158
  onClick: () => e(u.del)
158
159
  }),
159
- /* @__PURE__ */ b(U, {
160
+ /* @__PURE__ */ b(W, {
160
161
  title: "Вставить Добавленный фрагмент",
161
162
  icon: /* @__PURE__ */ b(ie, {}),
162
163
  onClick: () => e(u.ins)
@@ -166,17 +167,17 @@ function Ve({ onClick: e }) {
166
167
  }
167
168
  //#endregion
168
169
  //#region src/text-editor/toolbar/TextEditorToolbarLexical.tsx
169
- function He({ toolbarComponents: e, state: t, onBlockStyleToggle: n, onInlineStyleToggle: r, onAlignmentChange: i, onLinkClick: a, onTagClick: o, onUndo: s, onRedo: c, onCleanTag: u }) {
170
+ function Je({ toolbarComponents: e, state: t, onBlockStyleToggle: n, onInlineStyleToggle: r, onAlignmentChange: i, onLinkClick: a, onTagClick: o, onUndo: s, onRedo: c, onCleanTag: u }) {
170
171
  let f = {
171
172
  history: !0,
172
173
  ...e || {}
173
174
  };
174
175
  return /* @__PURE__ */ x("div", {
175
- className: H.toolbar,
176
+ className: U.toolbar,
176
177
  children: [
177
178
  f.blocks && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
178
- className: H.groupControls,
179
- children: d.map((e) => /* @__PURE__ */ b(U, {
179
+ className: U.groupControls,
180
+ children: d.map((e) => /* @__PURE__ */ b(W, {
180
181
  isActive: e.style === t.blockType,
181
182
  style: e.style,
182
183
  title: e.label,
@@ -185,8 +186,8 @@ function He({ toolbarComponents: e, state: t, onBlockStyleToggle: n, onInlineSty
185
186
  }, e.style))
186
187
  }), /* @__PURE__ */ b("hr", {})] }),
187
188
  f.inline && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
188
- className: H.groupControls,
189
- children: l.map((e) => /* @__PURE__ */ b(U, {
189
+ className: U.groupControls,
190
+ children: l.map((e) => /* @__PURE__ */ b(W, {
190
191
  isActive: !!t.activeInlineStyles[e.style],
191
192
  title: e.label,
192
193
  style: e.style,
@@ -195,20 +196,20 @@ function He({ toolbarComponents: e, state: t, onBlockStyleToggle: n, onInlineSty
195
196
  onClick: r
196
197
  }, e.style))
197
198
  }), /* @__PURE__ */ b("hr", {})] }),
198
- f.alignment && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Re, {
199
+ f.alignment && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(We, {
199
200
  activeAlignment: t.activeAlignment,
200
201
  onAlignmentChange: i
201
202
  }), /* @__PURE__ */ b("hr", {})] }),
202
- f.links && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Be, {
203
+ f.links && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Ke, {
203
204
  disabled: t.isTextUnselected,
204
205
  onClick: a
205
206
  }), /* @__PURE__ */ b("hr", {})] }),
206
- f.tags && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Ve, { onClick: o }), /* @__PURE__ */ b("hr", {})] }),
207
- f.history && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(ze, {
207
+ f.tags && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(qe, { onClick: o }), /* @__PURE__ */ b("hr", {})] }),
208
+ f.history && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Ge, {
208
209
  onUndo: s,
209
210
  onRedo: c
210
211
  }), /* @__PURE__ */ b("hr", {})] }),
211
- /* @__PURE__ */ b(U, {
212
+ /* @__PURE__ */ b(W, {
212
213
  disabled: t.isTextUnselected,
213
214
  title: "Очистить выбранный тег",
214
215
  icon: /* @__PURE__ */ b(O, {}),
@@ -219,11 +220,11 @@ function He({ toolbarComponents: e, state: t, onBlockStyleToggle: n, onInlineSty
219
220
  }
220
221
  //#endregion
221
222
  //#region src/text-editor/lexical/plugins/InitialHtmlPlugin.tsx
222
- function Ue({ initialHTML: e, shouldSkip: t }) {
223
+ function Ye({ initialHTML: e, shouldSkip: t }) {
223
224
  let [n] = P(), r = g(!1);
224
225
  return m(() => {
225
226
  t || !e || r.current || typeof window > "u" || (r.current = !0, n.update(() => {
226
- let t = Ae(), r = new DOMParser().parseFromString(e, "text/html"), i = de(n, r);
227
+ let t = R(), r = new DOMParser().parseFromString(e, "text/html"), i = de(n, r);
227
228
  if (t.clear(), i.length === 0) {
228
229
  t.append(I());
229
230
  return;
@@ -238,7 +239,7 @@ function Ue({ initialHTML: e, shouldSkip: t }) {
238
239
  }
239
240
  //#endregion
240
241
  //#region src/text-editor/model/textEditorTypes.ts
241
- var W = {
242
+ var G = {
242
243
  blockType: "unstyled",
243
244
  isTextUnselected: !0,
244
245
  activeInlineStyles: {
@@ -250,7 +251,7 @@ var W = {
250
251
  CODE: !1
251
252
  },
252
253
  activeAlignment: null
253
- }, We = (e) => {
254
+ }, Xe = (e) => {
254
255
  switch (e) {
255
256
  case "h3": return "header-three";
256
257
  case "h4": return "header-four";
@@ -258,7 +259,7 @@ var W = {
258
259
  case "h6": return "header-six";
259
260
  default: return "unstyled";
260
261
  }
261
- }, Ge = (e) => {
262
+ }, Ze = (e) => {
262
263
  switch (e) {
263
264
  case "header-three": return "h3";
264
265
  case "header-four": return "h4";
@@ -266,7 +267,7 @@ var W = {
266
267
  case "header-six": return "h6";
267
268
  default: return null;
268
269
  }
269
- }, Ke = (e) => {
270
+ }, Qe = (e) => {
270
271
  switch (e) {
271
272
  case "BOLD": return "bold";
272
273
  case "ITALIC": return "italic";
@@ -276,18 +277,18 @@ var W = {
276
277
  case "CODE": return "code";
277
278
  default: return null;
278
279
  }
279
- }, qe = () => {
280
- let e = R();
281
- if (!z(e)) return "unstyled";
280
+ }, $e = () => {
281
+ let e = z();
282
+ if (!B(e)) return "unstyled";
282
283
  let t = e.anchor.getNode().getTopLevelElementOrThrow();
283
284
  if (fe(t)) {
284
285
  let e = t.getParent();
285
286
  if (M(e)) return e.getListType() === "bullet" ? "unordered-list-item" : "ordered-list-item";
286
287
  }
287
- return M(t) ? t.getListType() === "bullet" ? "unordered-list-item" : "ordered-list-item" : Ee(t) ? We(t.getTag()) : De(t) ? "blockquote" : t.getType() === "paragraph" ? "unstyled" : t.getType();
288
- }, Je = () => {
289
- let e = R();
290
- if (!z(e)) return null;
288
+ return M(t) ? t.getListType() === "bullet" ? "unordered-list-item" : "ordered-list-item" : Ee(t) ? Xe(t.getTag()) : De(t) ? "blockquote" : t.getType() === "paragraph" ? "unstyled" : t.getType();
289
+ }, et = () => {
290
+ let e = z();
291
+ if (!B(e)) return null;
291
292
  let t = e.anchor.getNode().getTopLevelElementOrThrow().getFormatType();
292
293
  switch (t) {
293
294
  case "left":
@@ -296,10 +297,10 @@ var W = {
296
297
  case "justify": return t;
297
298
  default: return null;
298
299
  }
299
- }, Ye = () => {
300
- let e = R();
301
- return z(e) ? {
302
- blockType: qe(),
300
+ }, tt = () => {
301
+ let e = z();
302
+ return B(e) ? {
303
+ blockType: $e(),
303
304
  isTextUnselected: e.isCollapsed(),
304
305
  activeInlineStyles: {
305
306
  BOLD: e.hasFormat("bold"),
@@ -309,16 +310,16 @@ var W = {
309
310
  HIGHLIGHT: e.hasFormat("highlight"),
310
311
  CODE: e.hasFormat("code")
311
312
  },
312
- activeAlignment: Je()
313
- } : W;
313
+ activeAlignment: et()
314
+ } : G;
314
315
  };
315
316
  //#endregion
316
317
  //#region src/text-editor/lexical/plugins/SelectionStatePlugin.tsx
317
- function Xe({ onEditorReady: e, onStateChange: t }) {
318
+ function nt({ onEditorReady: e, onStateChange: t }) {
318
319
  let [n] = P();
319
320
  return m(() => (e(n), n.registerUpdateListener(({ editorState: e }) => {
320
321
  e.read(() => {
321
- t(Ye());
322
+ t(tt());
322
323
  });
323
324
  })), [
324
325
  n,
@@ -328,18 +329,34 @@ function Xe({ onEditorReady: e, onStateChange: t }) {
328
329
  }
329
330
  //#endregion
330
331
  //#region src/text-editor/lib/serialization/createLexicalRaw.ts
331
- var Ze = (e) => ({
332
+ var rt = (e) => ({
332
333
  format: "lexical",
333
334
  version: 1,
334
335
  editorState: e.toJSON()
335
- }), G = (e) => {
336
+ });
337
+ //#endregion
338
+ //#region src/text-editor/lib/selection/restoreLinkDialogSelection.ts
339
+ function it(e) {
340
+ if (e && [e.anchor, e.focus].every((e) => {
341
+ let t = Ae(e.key);
342
+ return !t?.isAttached() || e.offset < 0 ? !1 : e.type === "text" ? Me(t) && e.offset <= t.getTextContentSize() : je(t) && e.offset <= t.getChildrenSize();
343
+ })) {
344
+ let t = e.clone();
345
+ return Ne(t), t;
346
+ }
347
+ let t = R();
348
+ return t.isEmpty() && t.append(I()), t.selectEnd();
349
+ }
350
+ //#endregion
351
+ //#region src/text-editor/lib/semantic/getSemanticTagDepth.ts
352
+ var K = (e) => {
336
353
  let t = 0, n = e;
337
354
  for (; n;) t += 1, n = n.getParent();
338
355
  return t;
339
- }, Qe = (e) => {
356
+ }, at = (e) => {
340
357
  if (!(e instanceof HTMLAnchorElement)) return { node: null };
341
358
  let t = e.textContent;
342
- return (t === null || t === "") && e.children.length === 0 ? { node: null } : { node: q(e.getAttribute("href") || "", {
359
+ return (t === null || t === "") && e.children.length === 0 ? { node: null } : { node: J(e.getAttribute("href") || "", {
343
360
  rel: e.getAttribute("rel"),
344
361
  target: e.getAttribute("target"),
345
362
  title: e.getAttribute("title"),
@@ -348,7 +365,7 @@ var Ze = (e) => ({
348
365
  add: null,
349
366
  text: t
350
367
  }) };
351
- }, K = class e extends Ie {
368
+ }, q = class e extends He {
352
369
  __ariaLabel;
353
370
  __qrCode;
354
371
  __add;
@@ -374,12 +391,12 @@ var Ze = (e) => ({
374
391
  }
375
392
  static importDOM() {
376
393
  return { a: () => ({
377
- conversion: Qe,
394
+ conversion: at,
378
395
  priority: 2
379
396
  }) };
380
397
  }
381
398
  static importJSON(e) {
382
- return q().updateFromJSON(e);
399
+ return J().updateFromJSON(e);
383
400
  }
384
401
  updateFromJSON(e) {
385
402
  return super.updateFromJSON(e).setAriaLabel(e.ariaLabel || null).setQrCode(!!e.qrCode).setAdd(e.add || null).setText(e.text || null);
@@ -407,7 +424,7 @@ var Ze = (e) => ({
407
424
  t instanceof HTMLAnchorElement && ((!e || e.__ariaLabel !== this.__ariaLabel) && (this.__ariaLabel ? t.setAttribute("aria-label", this.__ariaLabel) : t.removeAttribute("aria-label")), (!e || e.__qrCode !== this.__qrCode) && t.setAttribute("data-qr-code", this.__qrCode ? "true" : "false"));
408
425
  }
409
426
  insertNewAfter(e, t = !0) {
410
- let n = q(this.__url, {
427
+ let n = J(this.__url, {
411
428
  rel: this.__rel,
412
429
  target: this.__target,
413
430
  title: this.__title,
@@ -446,7 +463,7 @@ var Ze = (e) => ({
446
463
  let t = this.getWritable();
447
464
  return t.__text = e, this;
448
465
  }
449
- }, q = (e = "", t) => F(new K(e, t)), J = (e) => e instanceof K, Y = (e) => {
466
+ }, J = (e = "", t) => F(new q(e, t)), Y = (e) => e instanceof q, ot = (e) => {
450
467
  let t = {};
451
468
  return Array.from(e.attributes).forEach((e) => {
452
469
  e.name !== "class" && (t[e.name] = e.value);
@@ -463,8 +480,8 @@ var Ze = (e) => ({
463
480
  "ins"
464
481
  ].includes(t)) return { node: null };
465
482
  let n = e.textContent;
466
- return (n === null || n === "") && e.children.length === 0 ? { node: null } : { node: Q(t, Y(e), n) };
467
- }, Z = class e extends je {
483
+ return (n === null || n === "") && e.children.length === 0 ? { node: null } : { node: Q(t, ot(e), n) };
484
+ }, Z = class e extends Pe {
468
485
  __tag;
469
486
  __attributes;
470
487
  __text;
@@ -578,11 +595,11 @@ var Ze = (e) => ({
578
595
  let t = this.getWritable();
579
596
  return t.__text = e, this;
580
597
  }
581
- }, Q = (e, t = {}, n = null) => F(new Z(e, t, n)), $e = (e) => e instanceof Z;
598
+ }, Q = (e, t = {}, n = null) => F(new Z(e, t, n)), st = (e) => e instanceof Z;
582
599
  //#endregion
583
600
  //#region src/text-editor/model/hooks/useTextEditorLexicalActions.ts
584
- function et({ editor: e, toolbarState: t, hasLocalLinkDialog: n, onOpenLinkDialog: r, onOpenTagDialog: i }) {
585
- let a = p((n) => {
601
+ function ct({ editor: e, toolbarState: t, hasLocalLinkDialog: n, onOpenLinkDialog: r, onOpenTagDialog: i }) {
602
+ let a = g(null), o = p((n) => {
586
603
  if (e) {
587
604
  if (n === "unordered-list-item") {
588
605
  if (t.blockType === "unordered-list-item") {
@@ -601,44 +618,50 @@ function et({ editor: e, toolbarState: t, hasLocalLinkDialog: n, onOpenLinkDialo
601
618
  return;
602
619
  }
603
620
  e.update(() => {
604
- let e = R();
605
- if (!z(e)) return;
621
+ let e = z();
622
+ if (!B(e)) return;
606
623
  if (n === "unstyled" || n === "paragraph") {
607
- V(e, () => I());
624
+ H(e, () => I());
608
625
  return;
609
626
  }
610
627
  if (n === "blockquote") {
611
- V(e, () => Te());
628
+ H(e, () => Te());
612
629
  return;
613
630
  }
614
- let t = Ge(n);
615
- t && V(e, () => we(t));
631
+ let t = Ze(n);
632
+ t && H(e, () => we(t));
616
633
  });
617
634
  }
618
- }, [e, t.blockType]), o = p((t) => {
635
+ }, [e, t.blockType]), s = p((t) => {
619
636
  if (!e) return;
620
- let n = Ke(t);
621
- n && e.dispatchCommand(Ne, n);
622
- }, [e]), s = p((t) => {
623
- e && e.dispatchCommand(Me, t);
624
- }, [e]), c = p(() => {
625
- e && e.dispatchCommand(Fe, void 0);
637
+ let n = Qe(t);
638
+ n && e.dispatchCommand(Ie, n);
639
+ }, [e]), c = p((t) => {
640
+ e && e.dispatchCommand(Fe, t);
626
641
  }, [e]), l = p(() => {
627
- e && e.dispatchCommand(Pe, void 0);
642
+ e && e.dispatchCommand(Ve, void 0);
628
643
  }, [e]), u = p(() => {
644
+ e && e.dispatchCommand(ze, void 0);
645
+ }, [e]), d = p(() => {
629
646
  if (!e) return "";
630
647
  let t = "";
631
648
  return e.getEditorState().read(() => {
632
- let e = R();
633
- z(e) && (t = e.getTextContent());
649
+ let e = z();
650
+ B(e) && (t = e.getTextContent());
634
651
  }), t;
635
- }, [e]), d = p((t) => {
652
+ }, [e]), m = p((t) => {
636
653
  e && (e.update(() => {
637
- let e = R();
638
- if (!z(e)) return;
654
+ let t = a.current;
655
+ it(t?.editor === e ? t.selection : null), a.current = null;
656
+ }, {
657
+ discrete: !0,
658
+ tag: [Le, Be]
659
+ }), e.update(() => {
660
+ let e = z();
661
+ if (!B(e)) return;
639
662
  let n = e.getTextContent(), r = t.text.length > 0 ? t.text : n;
640
663
  if (!r.trim()) return;
641
- let i = q(t.url, {
664
+ let i = J(t.url, {
642
665
  target: "_blank",
643
666
  rel: "noopener noreferrer",
644
667
  ariaLabel: t.ariaLabel || n || r,
@@ -647,36 +670,36 @@ function et({ editor: e, toolbarState: t, hasLocalLinkDialog: n, onOpenLinkDialo
647
670
  text: r
648
671
  }), a = L(r);
649
672
  i.append(a), e.insertNodes([i]);
650
- }), requestAnimationFrame(() => {
673
+ }, { tag: Re }), requestAnimationFrame(() => {
651
674
  e.focus();
652
675
  }));
653
- }, [e]), m = p((e, t, n, r, i) => {
654
- d({
676
+ }, [e]), h = p((e, t, n, r, i) => {
677
+ m({
655
678
  url: e,
656
679
  text: t,
657
680
  add: n,
658
681
  ariaLabel: r,
659
682
  qrCode: i
660
683
  });
661
- }, [d]), h = p((e, t) => {
662
- d({
684
+ }, [m]), _ = p((e, t) => {
685
+ m({
663
686
  url: e,
664
687
  text: t,
665
688
  add: "",
666
689
  ariaLabel: "Внутренняя ссылка на статью: " + t,
667
690
  qrCode: !1
668
691
  });
669
- }, [d]), g = p(() => {
692
+ }, [m]), v = p(() => {
670
693
  if (!e) return "";
671
694
  let t = "";
672
695
  return e.getEditorState().read(() => {
673
- let e = R();
674
- if (!z(e)) {
696
+ let e = z();
697
+ if (!B(e)) {
675
698
  t = "";
676
699
  return;
677
700
  }
678
- let n = e.getTextContent(), r = e.anchor.getNode(), i = Le(r, (e) => J(e) || B(e));
679
- if (J(i)) {
701
+ let n = e.getTextContent(), r = e.anchor.getNode(), i = Ue(r, (e) => Y(e) || V(e));
702
+ if (Y(i)) {
680
703
  t = {
681
704
  url: i.getURL(),
682
705
  ariaLabel: i.getAriaLabel() || "",
@@ -686,7 +709,7 @@ function et({ editor: e, toolbarState: t, hasLocalLinkDialog: n, onOpenLinkDialo
686
709
  };
687
710
  return;
688
711
  }
689
- if (B(i)) {
712
+ if (V(i)) {
690
713
  t = {
691
714
  url: i.getURL(),
692
715
  ariaLabel: "",
@@ -698,12 +721,22 @@ function et({ editor: e, toolbarState: t, hasLocalLinkDialog: n, onOpenLinkDialo
698
721
  }
699
722
  t = n;
700
723
  }), t;
701
- }, [e]), _ = p((e) => {
702
- e === f.LOCAL_LINK && !n || r(e);
703
- }, [n, r]), v = p((t, n, r) => {
724
+ }, [e]), y = p((t) => {
725
+ t === f.LOCAL_LINK && !n || e && (e.getEditorState().read(() => {
726
+ let t = z();
727
+ a.current = {
728
+ editor: e,
729
+ selection: B(t) ? t.clone() : null
730
+ };
731
+ }), r(t));
732
+ }, [
733
+ e,
734
+ n,
735
+ r
736
+ ]), b = p((t, n, r) => {
704
737
  e && (e.update(() => {
705
- let e = R();
706
- if (!z(e)) return;
738
+ let e = z();
739
+ if (!B(e)) return;
707
740
  let i = e.getTextContent().trim(), a = n || i || r.title || r["aria-label"] || Object.values(r).join(" ") || t;
708
741
  if (!a.trim()) return;
709
742
  let o = Q(t, r, a);
@@ -713,33 +746,33 @@ function et({ editor: e, toolbarState: t, hasLocalLinkDialog: n, onOpenLinkDialo
713
746
  }));
714
747
  }, [e]);
715
748
  return {
716
- handleAddLink: m,
717
- handleAddLocalLink: h,
718
- handleAlignmentChange: s,
719
- handleBlockStyleToggle: a,
749
+ handleAddLink: h,
750
+ handleAddLocalLink: _,
751
+ handleAlignmentChange: c,
752
+ handleBlockStyleToggle: o,
720
753
  handleCleanSemanticTag: p(() => {
721
754
  e && e.update(() => {
722
- let e = R();
723
- if (!z(e) || e.isCollapsed()) return;
755
+ let e = z();
756
+ if (!B(e) || e.isCollapsed()) return;
724
757
  let t = e.getNodes(), n = /* @__PURE__ */ new Set();
725
758
  t.forEach((e) => {
726
759
  let t = e;
727
- for (; t;) $e(t) && n.add(t), t = t.getParent();
728
- }), Array.from(n).sort((e, t) => G(t) - G(e)).forEach((e) => {
760
+ for (; t;) st(t) && n.add(t), t = t.getParent();
761
+ }), Array.from(n).sort((e, t) => K(t) - K(e)).forEach((e) => {
729
762
  e.isAttached() && (e.getChildren().forEach((t) => e.insertBefore(t)), e.remove());
730
763
  });
731
764
  });
732
765
  }, [e]),
733
- handleInlineStyleToggle: o,
734
- handleLinkClick: _,
735
- handleRedo: l,
766
+ handleInlineStyleToggle: s,
767
+ handleLinkClick: y,
768
+ handleRedo: u,
736
769
  handleTagClick: p((e) => {
737
770
  i(e);
738
771
  }, [i]),
739
- handleUndo: c,
740
- getCurrentSelectionText: u,
741
- getSelectedLinkState: g,
742
- insertSemanticTagAtSelection: v
772
+ handleUndo: l,
773
+ getCurrentSelectionText: d,
774
+ getSelectedLinkState: v,
775
+ insertSemanticTagAtSelection: b
743
776
  };
744
777
  }
745
778
  var $ = {
@@ -750,7 +783,7 @@ var $ = {
750
783
  };
751
784
  //#endregion
752
785
  //#region src/text-editor/EmailDialog.tsx
753
- function tt({ onClose: t, onConfirm: o, initialState: s }) {
786
+ function lt({ onClose: t, onConfirm: o, initialState: s }) {
754
787
  let c = j(s) && typeof s == "string" ? {
755
788
  text: "",
756
789
  add: "",
@@ -815,7 +848,7 @@ function tt({ onClose: t, onConfirm: o, initialState: s }) {
815
848
  }
816
849
  //#endregion
817
850
  //#region src/text-editor/LinkDialog.tsx
818
- function nt({ onClose: s, onConfirm: c, initialState: l }) {
851
+ function ut({ onClose: s, onConfirm: c, initialState: l }) {
819
852
  let u = j(l) && typeof l == "string" ? {
820
853
  text: "",
821
854
  add: "",
@@ -891,7 +924,7 @@ function nt({ onClose: s, onConfirm: c, initialState: l }) {
891
924
  }
892
925
  //#endregion
893
926
  //#region src/text-editor/PhoneDialog.tsx
894
- function rt({ onClose: o, onConfirm: s, initialState: c }) {
927
+ function dt({ onClose: o, onConfirm: s, initialState: c }) {
895
928
  let l = j(c) && typeof c == "string" ? {
896
929
  text: "",
897
930
  add: "",
@@ -969,7 +1002,7 @@ function rt({ onClose: o, onConfirm: s, initialState: c }) {
969
1002
  }
970
1003
  //#endregion
971
1004
  //#region src/text-editor/SemanticDialog.tsx
972
- function it({ onClose: o, onConfirm: s, config: c, initialText: l = "", initialState: u = {} }) {
1005
+ function ft({ onClose: o, onConfirm: s, config: c, initialText: l = "", initialState: u = {} }) {
973
1006
  let [d, f] = _(l), [p, m] = _(() => c.fields.reduce((e, t) => (e[t.name] = u[t.name] ?? "", e), {})), [h, g] = _({}), v = (e, t) => {
974
1007
  m((n) => ({
975
1008
  ...n,
@@ -1044,7 +1077,7 @@ function it({ onClose: o, onConfirm: s, config: c, initialText: l = "", initialS
1044
1077
  }
1045
1078
  //#endregion
1046
1079
  //#region src/text-editor/semanticTagConfigs.tsx
1047
- var at = {
1080
+ var pt = {
1048
1081
  [u.abbr]: {
1049
1082
  tagName: "abbr",
1050
1083
  title: "Аббревиатура",
@@ -1180,7 +1213,7 @@ var at = {
1180
1213
  };
1181
1214
  //#endregion
1182
1215
  //#region src/text-editor/TimeDialog.tsx
1183
- function ot({ onClose: o, onConfirm: c, initialState: l }) {
1216
+ function mt({ onClose: o, onConfirm: c, initialState: l }) {
1184
1217
  let [u, d] = _(() => l?.mode ?? "date"), [f, p] = _(() => l?.from ?? ""), [m, h] = _(() => l?.to ?? ""), [g, v] = _({}), S = () => {
1185
1218
  let e = {}, t = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), n = (e) => /^\d{2}:\d{2}$/.test(e), r = (e) => /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(e), i = (e, i, a) => {
1186
1219
  if (!i) return `${e} обязательно`;
@@ -1295,7 +1328,7 @@ function ot({ onClose: o, onConfirm: c, initialState: l }) {
1295
1328
  }
1296
1329
  //#endregion
1297
1330
  //#region src/text-editor/TextEditorDialogs.tsx
1298
- function st({ linkTypeDialog: e, tagTypeDialog: t, localLinkDialogComponent: n, onCloseLinkDialog: r, onCloseTagDialog: i, onAddLink: a, onAddLocalLink: o, onInsertSemanticTag: s, getCurrentSelectionText: c, getSelectedLinkState: l }) {
1331
+ function ht({ linkTypeDialog: e, tagTypeDialog: t, localLinkDialogComponent: n, onCloseLinkDialog: r, onCloseTagDialog: i, onAddLink: a, onAddLocalLink: o, onInsertSemanticTag: s, getCurrentSelectionText: c, getSelectedLinkState: l }) {
1299
1332
  let d = n;
1300
1333
  return /* @__PURE__ */ x(y, { children: [
1301
1334
  e === f.LOCAL_LINK && d ? /* @__PURE__ */ b(d, {
@@ -1303,36 +1336,36 @@ function st({ linkTypeDialog: e, tagTypeDialog: t, localLinkDialogComponent: n,
1303
1336
  onClose: r,
1304
1337
  onConfirm: o
1305
1338
  }) : null,
1306
- e === f.LINK ? /* @__PURE__ */ b(nt, {
1339
+ e === f.LINK ? /* @__PURE__ */ b(ut, {
1307
1340
  initialState: l(),
1308
1341
  onClose: r,
1309
1342
  onConfirm: a
1310
1343
  }) : null,
1311
- e === f.PHONE ? /* @__PURE__ */ b(rt, {
1344
+ e === f.PHONE ? /* @__PURE__ */ b(dt, {
1312
1345
  initialState: l(),
1313
1346
  onClose: r,
1314
1347
  onConfirm: a
1315
1348
  }) : null,
1316
- e === f.EMAIL ? /* @__PURE__ */ b(tt, {
1349
+ e === f.EMAIL ? /* @__PURE__ */ b(lt, {
1317
1350
  initialState: l(),
1318
1351
  onClose: r,
1319
1352
  onConfirm: a
1320
1353
  }) : null,
1321
- t && (t === u.time ? /* @__PURE__ */ b(ot, {
1354
+ t && (t === u.time ? /* @__PURE__ */ b(mt, {
1322
1355
  onClose: i,
1323
1356
  onConfirm: s
1324
- }) : /* @__PURE__ */ b(it, {
1357
+ }) : /* @__PURE__ */ b(ft, {
1325
1358
  onClose: i,
1326
1359
  onConfirm: s,
1327
- config: at[t],
1360
+ config: pt[t],
1328
1361
  initialText: c()
1329
1362
  }))
1330
1363
  ] });
1331
1364
  }
1332
1365
  //#endregion
1333
1366
  //#region src/text-editor/TextEditorLexicalClient.tsx
1334
- function ct({ initialData: e, onChange: t, toolbarComponents: n, businessAdapters: r }) {
1335
- let i = r?.LocalLinkDialogComponent, [a, o] = _(!1), [s, l] = _(W), [u, d] = _(null), [f, m] = _(null), [g, y] = _(null), S = c(e?.raw) ? e.raw : null, C = !!S, w = h(() => {
1367
+ function gt({ initialData: e, onChange: t, toolbarComponents: n, businessAdapters: r }) {
1368
+ let i = r?.LocalLinkDialogComponent, [a, o] = _(!1), [s, l] = _(G), [u, d] = _(null), [f, m] = _(null), [g, y] = _(null), S = c(e?.raw) ? e.raw : null, C = !!S, w = h(() => {
1336
1369
  if (S) return JSON.stringify(S.editorState);
1337
1370
  }, [S]), T = p((e) => {
1338
1371
  console.error("Ошибка редактора Lexical", e);
@@ -1341,14 +1374,14 @@ function ct({ initialData: e, onChange: t, toolbarComponents: n, businessAdapter
1341
1374
  e.read(() => {
1342
1375
  r = ue(n, null);
1343
1376
  }), t({
1344
- raw: Ze(e),
1377
+ raw: rt(e),
1345
1378
  html: r
1346
1379
  });
1347
1380
  }, [t]), D = p((e) => {
1348
1381
  m(e);
1349
1382
  }, []), O = p((e) => {
1350
1383
  y(e);
1351
- }, []), k = et({
1384
+ }, []), k = ct({
1352
1385
  editor: u,
1353
1386
  toolbarState: s,
1354
1387
  hasLocalLinkDialog: !!i,
@@ -1371,7 +1404,7 @@ function ct({ initialData: e, onChange: t, toolbarComponents: n, businessAdapter
1371
1404
  ke,
1372
1405
  ge,
1373
1406
  he,
1374
- K,
1407
+ q,
1375
1408
  Z
1376
1409
  ],
1377
1410
  editorState: w
@@ -1383,7 +1416,7 @@ function ct({ initialData: e, onChange: t, toolbarComponents: n, businessAdapter
1383
1416
  children: /* @__PURE__ */ x(_e, {
1384
1417
  initialConfig: A,
1385
1418
  children: [
1386
- /* @__PURE__ */ b(He, {
1419
+ /* @__PURE__ */ b(Je, {
1387
1420
  toolbarComponents: n,
1388
1421
  state: s,
1389
1422
  onBlockStyleToggle: k.handleBlockStyleToggle,
@@ -1409,11 +1442,11 @@ function ct({ initialData: e, onChange: t, toolbarComponents: n, businessAdapter
1409
1442
  }),
1410
1443
  /* @__PURE__ */ b(be, {}),
1411
1444
  /* @__PURE__ */ b(xe, {}),
1412
- /* @__PURE__ */ b(Xe, {
1445
+ /* @__PURE__ */ b(nt, {
1413
1446
  onEditorReady: d,
1414
1447
  onStateChange: l
1415
1448
  }),
1416
- /* @__PURE__ */ b(Ue, {
1449
+ /* @__PURE__ */ b(Ye, {
1417
1450
  initialHTML: e?.html,
1418
1451
  shouldSkip: C
1419
1452
  }),
@@ -1423,7 +1456,7 @@ function ct({ initialData: e, onChange: t, toolbarComponents: n, businessAdapter
1423
1456
  })
1424
1457
  ]
1425
1458
  })
1426
- }), /* @__PURE__ */ b(st, {
1459
+ }), /* @__PURE__ */ b(ht, {
1427
1460
  linkTypeDialog: f,
1428
1461
  tagTypeDialog: g,
1429
1462
  localLinkDialogComponent: i,
@@ -1438,6 +1471,6 @@ function ct({ initialData: e, onChange: t, toolbarComponents: n, businessAdapter
1438
1471
  });
1439
1472
  }
1440
1473
  //#endregion
1441
- export { ct as TextEditorLexicalClient };
1474
+ export { gt as TextEditorLexicalClient };
1442
1475
 
1443
- //# sourceMappingURL=TextEditorLexicalClient-D46Zed55.js.map
1476
+ //# sourceMappingURL=TextEditorLexicalClient-ORsHWY1s.js.map