@ryuzaki13/react-foundation-ui 1.0.23 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/README.md +86 -0
  2. package/dist/chunks/ImageViewerRuntime-RN49by8Y.js +225 -0
  3. package/dist/chunks/ImageViewerRuntime-RN49by8Y.js.map +1 -0
  4. package/dist/image/index.d.ts +2 -0
  5. package/dist/image/index.d.ts.map +1 -1
  6. package/dist/image/index.js +116 -103
  7. package/dist/image/index.js.map +1 -1
  8. package/dist/image/lib/buildImageViewerSlides.d.ts +8 -0
  9. package/dist/image/lib/buildImageViewerSlides.d.ts.map +1 -0
  10. package/dist/image/lib/resolveImageViewerLabels.d.ts +24 -0
  11. package/dist/image/lib/resolveImageViewerLabels.d.ts.map +1 -0
  12. package/dist/image/model/imageViewerTypes.d.ts +70 -0
  13. package/dist/image/model/imageViewerTypes.d.ts.map +1 -0
  14. package/dist/image/ui/ImageViewer.d.ts +12 -0
  15. package/dist/image/ui/ImageViewer.d.ts.map +1 -0
  16. package/dist/image/ui/ImageViewerRuntime.d.ts +11 -0
  17. package/dist/image/ui/ImageViewerRuntime.d.ts.map +1 -0
  18. package/dist/styles.css +1 -1
  19. package/package.json +6 -1
  20. package/src/styles/config/_index.scss +1 -0
  21. package/storybook-static/assets/{Badge-Dk1ppt6h.js → Badge-D4ZNwyJI.js} +1 -1
  22. package/storybook-static/assets/{Badge.stories-DGed-OBQ.js → Badge.stories-QbQZ3Lun.js} +1 -1
  23. package/storybook-static/assets/{Button-c4nDxtrg.js → Button-CO9qTYjf.js} +1 -1
  24. package/storybook-static/assets/{Button-BrdeQlDt.js → Button-dAzTo4v8.js} +1 -1
  25. package/storybook-static/assets/{Button.stories-CYjvIvUW.js → Button.stories-wcPcMM2N.js} +1 -1
  26. package/storybook-static/assets/{CheckBox-rqQjSYV-.js → CheckBox-BuWKFvO2.js} +1 -1
  27. package/storybook-static/assets/{CheckBox-6Qr3jWMy.js → CheckBox-IVs8Ft1J.js} +1 -1
  28. package/storybook-static/assets/{CheckBox.stories-Q78_xCB-.js → CheckBox.stories-B2P4Xgjx.js} +1 -1
  29. package/storybook-static/assets/{Color-KMSTOMOX-BMBFTpCU.js → Color-KMSTOMOX-DO11DnAB.js} +1 -1
  30. package/storybook-static/assets/{ContextMenu-Dy6qjxlr.js → ContextMenu-YIVSJPGZ.js} +1 -1
  31. package/storybook-static/assets/{ContextMenu.stories-ArVPg2Iz.js → ContextMenu.stories-pPfA4c51.js} +1 -1
  32. package/storybook-static/assets/{DateInput-eu7DXgSU.js → DateInput-CJjcOU3w.js} +1 -1
  33. package/storybook-static/assets/{DateInput-Dk1l_hxJ.js → DateInput-CMk0Q3-1.js} +1 -1
  34. package/storybook-static/assets/{DateInput.stories-GCltuReT.js → DateInput.stories-BeYqSTLP.js} +1 -1
  35. package/storybook-static/assets/{DateRangePresetSelect-2dHNAnUX.js → DateRangePresetSelect-CprGmjzY.js} +1 -1
  36. package/storybook-static/assets/{DateRangePresetSelect-aiAJs_u-.js → DateRangePresetSelect-HobGj82_.js} +1 -1
  37. package/storybook-static/assets/{DateRangePresetSelect.stories-BXPIK_Co.js → DateRangePresetSelect.stories-C0C1Z7Ef.js} +1 -1
  38. package/storybook-static/assets/{Detail-C-0qKqgn.js → Detail-7DE7B2fS.js} +1 -1
  39. package/storybook-static/assets/{Detail.stories-BpD2YoZq.js → Detail.stories-BI42UERO.js} +1 -1
  40. package/storybook-static/assets/{Dialog-BHOqDS4r.js → Dialog-CPl9ePpk.js} +1 -1
  41. package/storybook-static/assets/{Dialog.stories-DbY2IVcJ.js → Dialog.stories-DLlXkr6b.js} +1 -1
  42. package/storybook-static/assets/{Disclosure-BIS573Xf.js → Disclosure-DiE1KhPu.js} +1 -1
  43. package/storybook-static/assets/{Disclosure.stories-BEXgpOqT.js → Disclosure.stories-DZj3PP0E.js} +1 -1
  44. package/storybook-static/assets/{DocsRenderer-JROSPFPF-DBLxlIku.js → DocsRenderer-JROSPFPF-BarB-6yi.js} +2 -2
  45. package/storybook-static/assets/{DropZone-DCOH76_B.js → DropZone-BH0RZWxI.js} +1 -1
  46. package/storybook-static/assets/{DropZone.stories-D1SI6gcY.js → DropZone.stories-CMgWL5O8.js} +1 -1
  47. package/storybook-static/assets/{DropdownMenu-mb1Hg5Gl.js → DropdownMenu-Bg9OjuHI.js} +1 -1
  48. package/storybook-static/assets/{ExpandableActionPanel.stories-CXJMi0D0.js → ExpandableActionPanel.stories-Bs5nj5tL.js} +2 -2
  49. package/storybook-static/assets/{Flex-aMhUlmFA.js → Flex-B7YhSwT5.js} +1 -1
  50. package/storybook-static/assets/{Flex-D1ZBJLmP.js → Flex-DTualGXt.js} +1 -1
  51. package/storybook-static/assets/{Flex.stories-Cq9hTA2s.js → Flex.stories-CJZWUeDx.js} +1 -1
  52. package/storybook-static/assets/{Grid-DrwSe074.js → Grid-D3pn3Bv6.js} +1 -1
  53. package/storybook-static/assets/{Grid-D4xblGva.js → Grid-NUIGfEZg.js} +1 -1
  54. package/storybook-static/assets/{Grid.stories-CsQlxLGT.js → Grid.stories-BU3qiQ_o.js} +1 -1
  55. package/storybook-static/assets/{ImageCropper.stories-Da0fJQ1n.js → ImageCropper.stories-B8LIeZot.js} +1 -1
  56. package/storybook-static/assets/{ImageRenderer-dXWklz9J.js → ImageRenderer-D6m0TXv1.js} +1 -1
  57. package/storybook-static/assets/{ImageRenderer.stories-C2l796Hd.js → ImageRenderer.stories-Bwv7-mmo.js} +1 -1
  58. package/storybook-static/assets/{ImageView.stories-Cee_V0zr.js → ImageView.stories-B2bnEYTW.js} +1 -1
  59. package/storybook-static/assets/ImageViewer-imFO-FH3.css +1 -0
  60. package/storybook-static/assets/ImageViewer.stories-DaMTLSzl.js +72 -0
  61. package/storybook-static/assets/ImageViewerRuntime-CRmlrtpL.css +1 -0
  62. package/storybook-static/assets/ImageViewerRuntime-nB82ciX9.js +51 -0
  63. package/storybook-static/assets/{Input-DoTXagjB.js → Input-NjYnjmpA.js} +1 -1
  64. package/storybook-static/assets/Input-XmHlbTYH.js +3 -0
  65. package/storybook-static/assets/{Input.stories-mPAKrIP1.js → Input.stories-B2NJY4s9.js} +1 -1
  66. package/storybook-static/assets/{InputDateTime-BgIJNCpv.js → InputDateTime-DYx7fZqV.js} +1 -1
  67. package/storybook-static/assets/{InputDateTime.stories-Ck0MCRBJ.js → InputDateTime.stories-BP70hMlC.js} +1 -1
  68. package/storybook-static/assets/{InputFile-BZqKG2Zr.js → InputFile-cDPgb3yd.js} +1 -1
  69. package/storybook-static/assets/{InputFile.stories-QbTuArh1.js → InputFile.stories-B8l1oAAa.js} +1 -1
  70. package/storybook-static/assets/{InputFiles-BUoDhUef.js → InputFiles-C54yHWFW.js} +1 -1
  71. package/storybook-static/assets/{InputFiles-ChhwyB9P.js → InputFiles-RV5Ldp6x.js} +1 -1
  72. package/storybook-static/assets/{InputFiles.stories-PD0pr8y6.js → InputFiles.stories-DBpBymQR.js} +1 -1
  73. package/storybook-static/assets/{InputImage-YxBujSop.js → InputImage-CCz9j5pF.js} +1 -1
  74. package/storybook-static/assets/{InputImage.stories-CHjyI709.js → InputImage.stories-_p9hjvIE.js} +1 -1
  75. package/storybook-static/assets/{LayoutPicker-DJT0cL8d.js → LayoutPicker-rkC7rVNj.js} +1 -1
  76. package/storybook-static/assets/{LayoutPicker.stories-DvTvYmfw.js → LayoutPicker.stories-Dua-laJ2.js} +1 -1
  77. package/storybook-static/assets/{Listbox-D7w7HJNg.js → Listbox-C9gRtOeO.js} +1 -1
  78. package/storybook-static/assets/{Listbox.stories-D4EMWR6l.js → Listbox.stories-m8Brn-ay.js} +1 -1
  79. package/storybook-static/assets/{Modal-BCn0aKBf.js → Modal-D62mL35g.js} +1 -1
  80. package/storybook-static/assets/{Modal.stories-BgnMPuDy.js → Modal.stories-DOU0t6f-.js} +1 -1
  81. package/storybook-static/assets/{MultiSelect-D7N8euwu.js → MultiSelect-C5W7r_IH.js} +1 -1
  82. package/storybook-static/assets/{MultiSelect-CZW1VSbD.js → MultiSelect-LhGz99f4.js} +1 -1
  83. package/storybook-static/assets/{MultiSelect.stories-DV9nyDoE.js → MultiSelect.stories-DcHKp4JR.js} +1 -1
  84. package/storybook-static/assets/{NotificationsHost-DJILaEyi.js → NotificationsHost-BSH5jCG2.js} +1 -1
  85. package/storybook-static/assets/{NotificationsHost.stories-DlO0kPbm.js → NotificationsHost.stories-DTM5-qkf.js} +2 -2
  86. package/storybook-static/assets/{ODataMultiSelect-C-DKYFLx.js → ODataMultiSelect-C2S7qyv5.js} +1 -1
  87. package/storybook-static/assets/{ODataMultiSelect.stories-DypA5OPM.js → ODataMultiSelect.stories-DOzE_OKZ.js} +1 -1
  88. package/storybook-static/assets/{ODataSelect-CMrLfCwp.js → ODataSelect-BG7NWPTV.js} +1 -1
  89. package/storybook-static/assets/{ODataSelect-ANgknc8h.js → ODataSelect-lT0xOKvb.js} +1 -1
  90. package/storybook-static/assets/{ODataSelect.stories-icXU3Kk-.js → ODataSelect.stories-CKBvtx-H.js} +1 -1
  91. package/storybook-static/assets/{ODataTreeMultiSelect-C6yg6DFE.js → ODataTreeMultiSelect-u8tiVTCb.js} +1 -1
  92. package/storybook-static/assets/{ODataTreeMultiSelect.stories-CT_tBJph.js → ODataTreeMultiSelect.stories-CzH4V42Q.js} +1 -1
  93. package/storybook-static/assets/{ODataTreeSelect-hiY9TK6F.js → ODataTreeSelect-CwOHUVab.js} +1 -1
  94. package/storybook-static/assets/{ODataTreeSelect.stories-DPNG2-gB.js → ODataTreeSelect.stories-DjVMiCJ1.js} +1 -1
  95. package/storybook-static/assets/{PeriodSelect-5CQZq007.js → PeriodSelect-BFGqQf0k.js} +1 -1
  96. package/storybook-static/assets/{PeriodSelect.stories-DuwM__eX.js → PeriodSelect.stories-BG6WXQ18.js} +1 -1
  97. package/storybook-static/assets/{Popover-BuB6NaNL.js → Popover-OlRhMSrF.js} +1 -1
  98. package/storybook-static/assets/{Popover.stories-DNHTB9O2.js → Popover.stories-C5FOSas_.js} +1 -1
  99. package/storybook-static/assets/{PresetRangeDateInput-C6ke1QJN.js → PresetRangeDateInput-Dtisg-hx.js} +1 -1
  100. package/storybook-static/assets/{PresetRangeDateInput.stories-BiFR6FF_.js → PresetRangeDateInput.stories-DKW4o_cP.js} +1 -1
  101. package/storybook-static/assets/{RadioButton-bmKQ4B96.js → RadioButton-B6Kj1uHa.js} +1 -1
  102. package/storybook-static/assets/{RadioButton.stories-CZatWIEO.js → RadioButton.stories-0YupGfXc.js} +1 -1
  103. package/storybook-static/assets/{RadioGroup-diPPm8OV.js → RadioGroup-b972E4de.js} +1 -1
  104. package/storybook-static/assets/{RadioGroup-Vnr3qZKk.js → RadioGroup-g9jHDZ1a.js} +1 -1
  105. package/storybook-static/assets/{RadioGroup.stories-BY_ORcvQ.js → RadioGroup.stories-CncOV2Km.js} +1 -1
  106. package/storybook-static/assets/{Select-Cq66yRYB.js → Select-Deq1B8d4.js} +1 -1
  107. package/storybook-static/assets/Select-V5lTi2fc.js +12 -0
  108. package/storybook-static/assets/{Select.stories-CevvmTWz.js → Select.stories-ehFtiqH9.js} +1 -1
  109. package/storybook-static/assets/{SelectOptionContent-C1-duJ6s.js → SelectOptionContent-CCp1Zygd.js} +1 -1
  110. package/storybook-static/assets/{SerializableSelect-C6jj7wLf.js → SerializableSelect-CvMVlLei.js} +1 -1
  111. package/storybook-static/assets/{SerializableSelect-CnwfEnur.js → SerializableSelect-IyNh3eLS.js} +1 -1
  112. package/storybook-static/assets/{SerializableSelect.stories-DOTdXeIP.js → SerializableSelect.stories-wcj4bFZq.js} +1 -1
  113. package/storybook-static/assets/{SingleDateTimeInput-BtSG1SZF.js → SingleDateTimeInput-DyLXAP7B.js} +1 -1
  114. package/storybook-static/assets/SingleDateTimeInput.stories-WvQxqelt.js +78 -0
  115. package/storybook-static/assets/{Slider-pb7TgPmP.js → Slider-Cp8CtB-I.js} +1 -1
  116. package/storybook-static/assets/{Slider.stories-Cj9sU7k1.js → Slider.stories-BsIcLc-d.js} +1 -1
  117. package/storybook-static/assets/{SliderInput-Dp4r4RqZ.js → SliderInput-4jPJ7yM1.js} +1 -1
  118. package/storybook-static/assets/{SliderInput.stories-DKV9C_mb.js → SliderInput.stories-DPK4tJ2q.js} +1 -1
  119. package/storybook-static/assets/{Sortable-BbVzA3mH.js → Sortable-CAX_xvIn.js} +1 -1
  120. package/storybook-static/assets/{Sortable.stories-nttQ0wQV.js → Sortable.stories-Dn2kDyA2.js} +1 -1
  121. package/storybook-static/assets/{Splitter-DQip0vEb.js → Splitter-Blfeifky.js} +1 -1
  122. package/storybook-static/assets/{Splitter.stories-B7IdmITM.js → Splitter.stories-k9ZItdL9.js} +1 -1
  123. package/storybook-static/assets/{StateSelect-BZeQfOZk.js → StateSelect-CSDCsDb8.js} +1 -1
  124. package/storybook-static/assets/{StateSelect.stories-Cia0oYUX.js → StateSelect.stories-DwdGHqbu.js} +2 -2
  125. package/storybook-static/assets/{Switch-DzxseHUx.js → Switch-BUhpEhzV.js} +1 -1
  126. package/storybook-static/assets/Switch.stories-BC2DPnRn.js +26 -0
  127. package/storybook-static/assets/{Table-lzcaRxDg.js → Table-9XwMCwrN.js} +1 -1
  128. package/storybook-static/assets/{Table.stories-sckp-lho.js → Table.stories-BYXgzUfU.js} +1 -1
  129. package/storybook-static/assets/{Tabs-DyBBFEsD.js → Tabs-Bow33W8U.js} +1 -1
  130. package/storybook-static/assets/{Tabs.stories-C6-sZs4H.js → Tabs.stories-CZT7skiV.js} +1 -1
  131. package/storybook-static/assets/TagInput.stories-b8xiLHof.js +18 -0
  132. package/storybook-static/assets/{Textarea-D1fEct22.js → Textarea-DpY7S_ja.js} +1 -1
  133. package/storybook-static/assets/{Textarea.stories-ByJH2uhT.js → Textarea.stories-Dd223jGP.js} +1 -1
  134. package/storybook-static/assets/{TimePanel-B5c9MfmC.js → TimePanel-CVg_B6n6.js} +1 -1
  135. package/storybook-static/assets/{TimePanel.stories-DBgXVhz1.js → TimePanel.stories-BLQ1P0G1.js} +1 -1
  136. package/storybook-static/assets/{Toggle-CHx3ZZfu.js → Toggle-DFqklqKe.js} +1 -1
  137. package/storybook-static/assets/{Toggle.stories-g3Eq8oVl.js → Toggle.stories-Dn1ZNjzs.js} +1 -1
  138. package/storybook-static/assets/{TreeMultiSelect-CrKusouJ.js → TreeMultiSelect-CUVgAxbI.js} +1 -1
  139. package/storybook-static/assets/{TreeMultiSelect-T05Sk9sh.js → TreeMultiSelect-KJZy7baA.js} +1 -1
  140. package/storybook-static/assets/{TreeMultiSelect.stories-C85O7gDN.js → TreeMultiSelect.stories-BwgaL6Xq.js} +1 -1
  141. package/storybook-static/assets/{TreePickerBase-VJSaTBqo.js → TreePickerBase-pdzKfA0G.js} +2 -2
  142. package/storybook-static/assets/{TreeSelect-Dw-svVvg.js → TreeSelect-5pb94-io.js} +1 -1
  143. package/storybook-static/assets/{TreeSelect-DQmAaKsJ.js → TreeSelect-CVwWW2jD.js} +1 -1
  144. package/storybook-static/assets/{TreeSelect.stories-Bqv2L08v.js → TreeSelect.stories-BYqkPLt1.js} +1 -1
  145. package/storybook-static/assets/{TreeTable-JJK6sE1o.js → TreeTable-CkBy8VlX.js} +1 -1
  146. package/storybook-static/assets/{TreeTable.stories-yOu-SM17.js → TreeTable.stories-BXWFw5wG.js} +1 -1
  147. package/storybook-static/assets/{WithTooltip-7X4HQR7L-Cib98jGG.js → WithTooltip-7X4HQR7L-tzCCckGL.js} +1 -1
  148. package/storybook-static/assets/{base-table-BbenC81q.js → base-table-J0VmPU8w.js} +1 -1
  149. package/storybook-static/assets/{blocks-DsN3hykK.js → blocks-BqMyWalM.js} +6 -6
  150. package/storybook-static/assets/{button-C8nkqC6f.js → button-BOWFIeDh.js} +1 -1
  151. package/storybook-static/assets/{check-box-BRod99sY.js → check-box-CPBNfroU.js} +1 -1
  152. package/storybook-static/assets/{chunk-3LY4VQVK-DSSlp6en.js → chunk-3LY4VQVK-cdx-m4dV.js} +1 -1
  153. package/storybook-static/assets/{chunk-LITCR56V-CB95AMSh.js → chunk-LITCR56V-B9dgggkx.js} +1 -1
  154. package/storybook-static/assets/{contextMenu-iKy1R_pJ.js → contextMenu-DtwOXbRw.js} +1 -1
  155. package/storybook-static/assets/{error-ChmbU9Ma.js → error-C-yEsKLJ.js} +1 -1
  156. package/storybook-static/assets/{flex-CMA-ZjxB.js → flex-Cf2jLP1U.js} +1 -1
  157. package/storybook-static/assets/{floating-ui.react-BpBaLM_G.js → floating-ui.react-6B4p8HDR.js} +1 -1
  158. package/storybook-static/assets/formatter-L2YTDE3Q-BEJcUUWn.js +1 -0
  159. package/storybook-static/assets/{formatters-C0d3JoZj.js → formatters-DXHNQSpS.js} +1 -1
  160. package/storybook-static/assets/grid-0riWQzPS.js +1 -0
  161. package/storybook-static/assets/{hooks-BpEcTBvi.js → hooks-Cp3Hd96H.js} +1 -1
  162. package/storybook-static/assets/{iframe-D90hKkIJ.js → iframe-B1CjCwLr.js} +4 -4
  163. package/storybook-static/assets/{input-D77vjPVL.js → input-Ciguy4IH.js} +1 -1
  164. package/storybook-static/assets/lucide-react-DNKi1M4I.js +1 -0
  165. package/storybook-static/assets/{mdx-react-shim-CdXPOrRW.js → mdx-react-shim-BmHrz8Qy.js} +1 -1
  166. package/storybook-static/assets/{media-C4dafSHo.js → media-CYiNdyXU.js} +1 -1
  167. package/storybook-static/assets/misc-C0xWU5l4.js +5 -0
  168. package/storybook-static/assets/{notifications-Dt8NSgnT.js → notifications-BnIn-1bS.js} +1 -1
  169. package/storybook-static/assets/{odata-DQSm2H7O.js → odata-CBfXwTuv.js} +1 -1
  170. package/storybook-static/assets/odata-service-C5AB3b3v.js +1 -0
  171. package/storybook-static/assets/{odataStoryFixtures-D0p0XtmS.js → odataStoryFixtures-B4Ph79L8.js} +1 -1
  172. package/storybook-static/assets/{picker-9SOfvJPJ.js → picker-hyCPyMP8.js} +1 -1
  173. package/storybook-static/assets/{popover-Dph7wJ1_.js → popover-DLIoVp94.js} +1 -1
  174. package/storybook-static/assets/{preset-select-mubmWRO9.js → preset-select-BjG9VTrg.js} +1 -1
  175. package/storybook-static/assets/{react-18-CSg0VXTL.js → react-18-Bz7Vh-KR.js} +1 -1
  176. package/storybook-static/assets/{react-Cr3aZrbF.js → react-D7DXSuVH.js} +1 -1
  177. package/storybook-static/assets/{react-dom-Iu9X9_7I.js → react-dom-Wlkt-dsb.js} +1 -1
  178. package/storybook-static/assets/select-C3btTxoQ.js +1 -0
  179. package/storybook-static/assets/{slider-C8Udy6I7.js → slider-DMChsrbR.js} +1 -1
  180. package/storybook-static/assets/{sortable-xt2HCdf-.js → sortable-BPfL-XUN.js} +1 -1
  181. package/storybook-static/assets/{syntaxhighlighter-RTCFPKCB-4Ttp-ccw.js → syntaxhighlighter-RTCFPKCB-BA7fKjuW.js} +1 -1
  182. package/storybook-static/assets/{text-CwWM1WCX.js → text-9sGnwPB7.js} +1 -1
  183. package/storybook-static/assets/{theming--foXdFDq.js → theming-4yGRJc-V.js} +1 -1
  184. package/storybook-static/assets/ui-krJ8_ODv.js +1 -0
  185. package/storybook-static/assets/{useODataSelectBase-C7f1zxWc.js → useODataSelectBase-CIjzs3rn.js} +1 -1
  186. package/storybook-static/assets/{useODataTreeData-7hwK6Byp.js → useODataTreeData-BnifkleR.js} +1 -1
  187. package/storybook-static/assets/{utils-Bg8QclQy.js → utils-BY_HhyoQ.js} +1 -1
  188. package/storybook-static/iframe.html +1 -1
  189. package/storybook-static/index.json +1 -1
  190. package/storybook-static/project.json +1 -1
  191. package/storybook-static/assets/Input-B6UklXwb.js +0 -3
  192. package/storybook-static/assets/Select-BxK9yj6_.js +0 -12
  193. package/storybook-static/assets/SingleDateTimeInput.stories-CSFUpLfK.js +0 -78
  194. package/storybook-static/assets/Switch.stories-BVAIn4yd.js +0 -26
  195. package/storybook-static/assets/TagInput.stories-iI1hZ8CY.js +0 -18
  196. package/storybook-static/assets/formatter-L2YTDE3Q-tZc7M3Ad.js +0 -1
  197. package/storybook-static/assets/grid-Ck5-5Szv.js +0 -1
  198. package/storybook-static/assets/lucide-react-ClGevkpS.js +0 -1
  199. package/storybook-static/assets/misc-yRJvnOkX.js +0 -5
  200. package/storybook-static/assets/odata-service-CMTV9-cO.js +0 -1
  201. package/storybook-static/assets/select-DYXb71nn.js +0 -1
  202. package/storybook-static/assets/ui-BJnukgBU.js +0 -1
@@ -3,80 +3,80 @@ import { r as t } from "../chunks/grid-dI94AAbi.js";
3
3
  import { o as n } from "../chunks/input-CZLUUggm.js";
4
4
  import { i as r, n as i, r as a } from "../chunks/modal-Cll8YZ7b.js";
5
5
  import { t as o } from "../chunks/input-files-aB8iaqGk.js";
6
- import { useCallback as s, useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
7
- import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
8
- import h from "react-easy-crop";
6
+ import { Suspense as s, lazy as c, useCallback as l, useEffect as u, useMemo as d, useRef as f, useState as p } from "react";
7
+ import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
8
+ import _ from "react-easy-crop";
9
9
  //#region src/image/lib/buildImageSrcSet.ts
10
- function g(e) {
10
+ function v(e) {
11
11
  return e.map((e) => "width" in e ? `${e.src} ${e.width}w` : `${e.src} ${e.density}x`).join(", ");
12
12
  }
13
13
  //#endregion
14
14
  //#region src/image/lib/buildImageSources.ts
15
- function _(e, t) {
15
+ function y(e, t) {
16
16
  return (e ?? []).map((e) => ({
17
- srcSet: g(e.candidates),
17
+ srcSet: v(e.candidates),
18
18
  type: e.type,
19
19
  sizes: e.sizes ?? t
20
20
  })).filter((e) => e.srcSet.length > 0);
21
21
  }
22
22
  //#endregion
23
23
  //#region src/image/ui/ImageCropper.tsx
24
- var v = {
24
+ var b = {
25
25
  x: 0,
26
26
  y: 0
27
27
  };
28
- function y({ image: e, aspect: t = 16 / 9, width: n = "100%", className: r, style: i, crop: a, defaultCrop: o = v, zoom: c, defaultZoom: l = 1, minZoom: u = 1, maxZoom: f = 3, zoomSpeed: m = .1, objectFit: g = "contain", disabled: _ = !1, onCropChange: y, onZoomChange: b, onCropComplete: x }) {
29
- let [S, C] = d(o), [w, T] = d(l), E = a ?? S, D = c ?? w, O = s((e) => {
30
- _ || (a === void 0 && C(e), y?.(e));
28
+ function x({ image: e, aspect: t = 16 / 9, width: n = "100%", className: r, style: i, crop: a, defaultCrop: o = b, zoom: s, defaultZoom: c = 1, minZoom: u = 1, maxZoom: d = 3, zoomSpeed: f = .1, objectFit: m = "contain", disabled: g = !1, onCropChange: v, onZoomChange: y, onCropComplete: x }) {
29
+ let [S, C] = p(o), [w, T] = p(c), E = a ?? S, D = s ?? w, O = l((e) => {
30
+ g || (a === void 0 && C(e), v?.(e));
31
31
  }, [
32
32
  a,
33
- _,
34
- y
35
- ]), k = s((e) => {
36
- _ || (c === void 0 && T(e), b?.(e));
33
+ g,
34
+ v
35
+ ]), k = l((e) => {
36
+ g || (s === void 0 && T(e), y?.(e));
37
37
  }, [
38
- _,
39
- b,
40
- c
41
- ]), A = s((e, t) => {
42
- _ || x?.(t, e);
43
- }, [_, x]);
44
- return /* @__PURE__ */ p("div", {
38
+ g,
39
+ y,
40
+ s
41
+ ]), A = l((e, t) => {
42
+ g || x?.(t, e);
43
+ }, [g, x]);
44
+ return /* @__PURE__ */ h("div", {
45
45
  className: r,
46
46
  style: {
47
47
  position: "relative",
48
48
  width: n,
49
49
  aspectRatio: t,
50
- pointerEvents: _ ? "none" : void 0,
50
+ pointerEvents: g ? "none" : void 0,
51
51
  ...i
52
52
  },
53
- children: /* @__PURE__ */ p(h, {
53
+ children: /* @__PURE__ */ h(_, {
54
54
  image: e,
55
55
  crop: E,
56
56
  zoom: D,
57
57
  aspect: t,
58
58
  minZoom: u,
59
- maxZoom: f,
60
- zoomSpeed: m,
61
- objectFit: g,
59
+ maxZoom: d,
60
+ zoomSpeed: f,
61
+ objectFit: m,
62
62
  onCropChange: O,
63
63
  onZoomChange: k,
64
64
  onCropComplete: A,
65
- cropperProps: { "aria-disabled": _ || void 0 }
65
+ cropperProps: { "aria-disabled": g || void 0 }
66
66
  })
67
67
  });
68
68
  }
69
69
  //#endregion
70
70
  //#region src/image/ui/ImagePlaceholder.tsx
71
- function b({ width: e = "100%", height: t = "100%", aspectRatio: n = "16 / 9", className: r }) {
72
- return /* @__PURE__ */ p("div", {
71
+ function S({ width: e = "100%", height: t = "100%", aspectRatio: n = "16 / 9", className: r }) {
72
+ return /* @__PURE__ */ h("div", {
73
73
  style: {
74
74
  width: e,
75
75
  height: t,
76
76
  aspectRatio: n
77
77
  },
78
78
  className: r,
79
- children: /* @__PURE__ */ p("svg", {
79
+ children: /* @__PURE__ */ h("svg", {
80
80
  width: e,
81
81
  height: t,
82
82
  viewBox: "0 0 200 200",
@@ -87,31 +87,31 @@ function b({ width: e = "100%", height: t = "100%", aspectRatio: n = "16 / 9", c
87
87
  ry: "10",
88
88
  style: { display: "block" },
89
89
  "aria-label": "Изображение недоступно",
90
- children: /* @__PURE__ */ m("g", {
90
+ children: /* @__PURE__ */ g("g", {
91
91
  fill: "var(--surface-0)",
92
92
  children: [
93
- /* @__PURE__ */ p("rect", {
93
+ /* @__PURE__ */ h("rect", {
94
94
  x: "40",
95
95
  y: "50",
96
96
  width: "120",
97
97
  height: "100",
98
98
  rx: "10"
99
99
  }),
100
- /* @__PURE__ */ p("circle", {
100
+ /* @__PURE__ */ h("circle", {
101
101
  cx: "60",
102
102
  cy: "70",
103
103
  r: "8",
104
104
  fill: "var(--surface-2)"
105
105
  }),
106
- /* @__PURE__ */ p("path", {
106
+ /* @__PURE__ */ h("path", {
107
107
  d: "M50 130 L75 100 L100 130 Z",
108
108
  fill: "var(--surface-2)"
109
109
  }),
110
- /* @__PURE__ */ p("path", {
110
+ /* @__PURE__ */ h("path", {
111
111
  d: "M90 130 L120 90 L150 130 Z",
112
112
  fill: "var(--surface-2)"
113
113
  }),
114
- /* @__PURE__ */ p("line", {
114
+ /* @__PURE__ */ h("line", {
115
115
  x1: "160",
116
116
  y1: "40",
117
117
  x2: "40",
@@ -120,7 +120,7 @@ function b({ width: e = "100%", height: t = "100%", aspectRatio: n = "16 / 9", c
120
120
  strokeWidth: "15",
121
121
  strokeLinecap: "round"
122
122
  }),
123
- /* @__PURE__ */ p("line", {
123
+ /* @__PURE__ */ h("line", {
124
124
  x1: "160",
125
125
  y1: "40",
126
126
  x2: "40",
@@ -136,9 +136,9 @@ function b({ width: e = "100%", height: t = "100%", aspectRatio: n = "16 / 9", c
136
136
  }
137
137
  //#endregion
138
138
  //#region src/image/ui/ImageRenderer.tsx
139
- function x({ src: e, sources: t, alt: n, role: r, ariaLabel: i, caption: a, fallback: o, useFigure: s = !1, layout: l = "cover", width: h = "100%", height: g = "100%", aspectRatio: _, intrinsicWidth: v, intrinsicHeight: y, onLoad: x, onError: S, style: C, wrapperStyle: w, ...T }) {
140
- let E = u(null), [D, O] = d(0), [k, A] = d(!1), [j, M] = d(!1), [N, P] = d(!1);
141
- c(() => {
139
+ function C({ src: e, sources: t, alt: n, role: r, ariaLabel: i, caption: a, fallback: o, useFigure: s = !1, layout: c = "cover", width: l = "100%", height: d = "100%", aspectRatio: _, intrinsicWidth: v, intrinsicHeight: y, onLoad: b, onError: x, style: C, wrapperStyle: w, ...T }) {
140
+ let E = f(null), [D, O] = p(0), [k, A] = p(!1), [j, M] = p(!1), [N, P] = p(!1);
141
+ u(() => {
142
142
  if (typeof IntersectionObserver > "u") {
143
143
  let e = window.setTimeout(() => A(!0), 0);
144
144
  return () => window.clearTimeout(e);
@@ -154,8 +154,8 @@ function x({ src: e, sources: t, alt: n, role: r, ariaLabel: i, caption: a, fall
154
154
  });
155
155
  return E.current && e.observe(E.current), () => e.disconnect();
156
156
  }, []);
157
- let F = l === "intrinsic", I = F ? "auto" : g, L = v && y ? `${v} / ${y}` : void 0, R = F ? L ?? _ ?? "auto" : _ ?? "16 / 9", z = F && R !== "auto" && R !== "unset" ? "100%" : I, B = D ? `${D}px` : "100vw", V = /* @__PURE__ */ p(b, {
158
- width: h,
157
+ let F = c === "intrinsic", I = F ? "auto" : d, L = v && y ? `${v} / ${y}` : void 0, R = F ? L ?? _ ?? "auto" : _ ?? "16 / 9", z = F && R !== "auto" && R !== "unset" ? "100%" : I, B = D ? `${D}px` : "100vw", V = /* @__PURE__ */ h(S, {
158
+ width: l,
159
159
  height: z,
160
160
  aspectRatio: R
161
161
  }), H = F ? {
@@ -168,24 +168,24 @@ function x({ src: e, sources: t, alt: n, role: r, ariaLabel: i, caption: a, fall
168
168
  display: "block",
169
169
  width: "100%",
170
170
  height: "100%",
171
- objectFit: l,
171
+ objectFit: c,
172
172
  ...C
173
- }, U = /* @__PURE__ */ m(f, { children: [
173
+ }, U = /* @__PURE__ */ g(m, { children: [
174
174
  !j && !N && (o || V),
175
- k && !N && /* @__PURE__ */ m("picture", { children: [t?.map((e) => /* @__PURE__ */ p("source", {
175
+ k && !N && /* @__PURE__ */ g("picture", { children: [t?.map((e) => /* @__PURE__ */ h("source", {
176
176
  srcSet: e.srcSet,
177
177
  type: e.type,
178
178
  sizes: e.sizes ?? B
179
- }, `${e.type ?? "source"}-${e.srcSet}`)), /* @__PURE__ */ p("img", {
179
+ }, `${e.type ?? "source"}-${e.srcSet}`)), /* @__PURE__ */ h("img", {
180
180
  src: e,
181
181
  alt: n,
182
182
  role: r,
183
183
  "aria-label": i,
184
184
  onLoad: (e) => {
185
- M(!0), x?.(e);
185
+ M(!0), b?.(e);
186
186
  },
187
187
  onError: (e) => {
188
- P(!0), S?.(e);
188
+ P(!0), x?.(e);
189
189
  },
190
190
  style: j ? H : { display: "none" },
191
191
  "aria-busy": !j,
@@ -194,19 +194,19 @@ function x({ src: e, sources: t, alt: n, role: r, ariaLabel: i, caption: a, fall
194
194
  ...T
195
195
  })] }),
196
196
  N && V
197
- ] }), W = /* @__PURE__ */ p("div", {
197
+ ] }), W = /* @__PURE__ */ h("div", {
198
198
  ref: E,
199
199
  style: {
200
- width: h,
200
+ width: l,
201
201
  height: I,
202
202
  aspectRatio: R,
203
203
  ...w
204
204
  },
205
205
  children: U
206
206
  });
207
- return s ? /* @__PURE__ */ m("figure", {
207
+ return s ? /* @__PURE__ */ g("figure", {
208
208
  className: "relative",
209
- children: [W, a && /* @__PURE__ */ p("figcaption", {
209
+ children: [W, a && /* @__PURE__ */ h("figcaption", {
210
210
  style: {
211
211
  bottom: 2,
212
212
  right: 2,
@@ -219,27 +219,27 @@ function x({ src: e, sources: t, alt: n, role: r, ariaLabel: i, caption: a, fall
219
219
  }
220
220
  //#endregion
221
221
  //#region src/image/lib/getImageSelectionKey.ts
222
- function S(e, t) {
222
+ function w(e, t) {
223
223
  return `${e.file.meta.name}-${e.file.meta.size}-${e.file.meta.lastModified}-${t}`;
224
224
  }
225
225
  //#endregion
226
226
  //#region src/image/model/useImageSelectionState.ts
227
- var C = {
227
+ var T = {
228
228
  crop: {
229
229
  x: 0,
230
230
  y: 0
231
231
  },
232
232
  zoom: 1
233
233
  };
234
- function w({ value: e, defaultValue: t, disabled: n, onChange: r, onApply: i }) {
235
- let [a, o] = d(t ?? []), [c, u] = d(0), [f, p] = d({}), m = e ?? a, h = s((t) => {
234
+ function E({ value: e, defaultValue: t, disabled: n, onChange: r, onApply: i }) {
235
+ let [a, o] = p(t ?? []), [s, c] = p(0), [u, f] = p({}), m = e ?? a, h = l((t) => {
236
236
  let n = t(m);
237
237
  e === void 0 && o(n), r?.(n);
238
238
  }, [
239
239
  r,
240
240
  m,
241
241
  e
242
- ]), g = l(() => m.map((e) => e.file), [m]), _ = m.length === 0 ? 0 : Math.min(c, m.length - 1), v = m[_], y = v ? S(v, _) : void 0, b = y ? f[y] ?? C : C, x = m.length > 0, w = !n && x && m.every((e) => e.alt.trim() && e.crop), T = s((e) => {
242
+ ]), g = d(() => m.map((e) => e.file), [m]), _ = m.length === 0 ? 0 : Math.min(s, m.length - 1), v = m[_], y = v ? w(v, _) : void 0, b = y ? u[y] ?? T : T, x = m.length > 0, S = !n && x && m.every((e) => e.alt.trim() && e.crop), C = l((e) => {
243
243
  h((t) => e.map((e) => {
244
244
  let n = t.find((t) => t.file.file === e.file);
245
245
  return n ? {
@@ -250,26 +250,26 @@ function w({ value: e, defaultValue: t, disabled: n, onChange: r, onApply: i })
250
250
  alt: ""
251
251
  };
252
252
  }));
253
- }, [h]), E = s((e) => {
253
+ }, [h]), E = l((e) => {
254
254
  h((t) => t.map((t, n) => n === _ ? {
255
255
  ...t,
256
256
  alt: e
257
257
  } : t));
258
- }, [_, h]), D = s((e) => {
258
+ }, [_, h]), D = l((e) => {
259
259
  h((t) => t.map((t, n) => n === _ ? {
260
260
  ...t,
261
261
  crop: e
262
262
  } : t));
263
- }, [_, h]), O = s((e) => {
264
- y && p((t) => ({
263
+ }, [_, h]), O = l((e) => {
264
+ y && f((t) => ({
265
265
  ...t,
266
266
  [y]: {
267
267
  crop: e,
268
268
  zoom: t[y]?.zoom ?? 1
269
269
  }
270
270
  }));
271
- }, [y]), k = s((e) => {
272
- y && p((t) => ({
271
+ }, [y]), k = l((e) => {
272
+ y && f((t) => ({
273
273
  ...t,
274
274
  [y]: {
275
275
  crop: t[y]?.crop ?? {
@@ -287,12 +287,12 @@ function w({ value: e, defaultValue: t, disabled: n, onChange: r, onApply: i })
287
287
  activeImage: v,
288
288
  activeCropperState: b,
289
289
  hasSelected: x,
290
- canApply: w,
291
- apply: s(() => {
290
+ canApply: S,
291
+ apply: l(() => {
292
292
  i?.(m);
293
293
  }, [i, m]),
294
- setFiles: T,
295
- setActiveIndex: u,
294
+ setFiles: C,
295
+ setActiveIndex: c,
296
296
  setActiveAlt: E,
297
297
  setActiveCrop: D,
298
298
  setActiveCropperCrop: O,
@@ -301,7 +301,7 @@ function w({ value: e, defaultValue: t, disabled: n, onChange: r, onApply: i })
301
301
  }
302
302
  //#endregion
303
303
  //#region src/image/lib/getImageCropPreviewStyle.ts
304
- function T(e, t, n) {
304
+ function D(e, t, n) {
305
305
  if (!e.crop || !t) return {
306
306
  width: "100%",
307
307
  aspectRatio: n,
@@ -320,18 +320,18 @@ function T(e, t, n) {
320
320
  }
321
321
  //#endregion
322
322
  //#region src/image/ui/ImageSelectionFields.tsx
323
- var E = [
323
+ var O = [
324
324
  "image/jpeg",
325
325
  "image/png",
326
326
  "image/webp",
327
327
  "image/avif"
328
328
  ];
329
- function D({ aspect: e = 16 / 9, disabled: r, allowedMime: i = E, maxBytes: a, minimumCropWidth: s, onReadError: c, state: l }) {
330
- let u = l.activeImage?.crop, [f, h] = d({});
331
- return /* @__PURE__ */ m(t, {
329
+ function k({ aspect: e = 16 / 9, disabled: r, allowedMime: i = O, maxBytes: a, minimumCropWidth: s, onReadError: c, state: l }) {
330
+ let u = l.activeImage?.crop, [d, f] = p({});
331
+ return /* @__PURE__ */ g(t, {
332
332
  gap: "md",
333
333
  children: [
334
- /* @__PURE__ */ p(o, {
334
+ /* @__PURE__ */ h(o, {
335
335
  label: "Файл изображения",
336
336
  allowedMime: i,
337
337
  value: l.files,
@@ -340,13 +340,13 @@ function D({ aspect: e = 16 / 9, disabled: r, allowedMime: i = E, maxBytes: a, m
340
340
  disabled: r,
341
341
  onReadError: c
342
342
  }),
343
- l.hasSelected && l.activeImage && /* @__PURE__ */ m("div", { children: [
344
- /* @__PURE__ */ p(t, {
343
+ l.hasSelected && l.activeImage && /* @__PURE__ */ g("div", { children: [
344
+ /* @__PURE__ */ h(t, {
345
345
  templateColumns: "repeat(auto-fill, minmax(10em, 1fr))",
346
346
  gap: "xs",
347
347
  children: l.value.map((t, n) => {
348
- let i = S(t, n);
349
- return /* @__PURE__ */ p("button", {
348
+ let i = w(t, n);
349
+ return /* @__PURE__ */ h("button", {
350
350
  type: "button",
351
351
  disabled: r,
352
352
  onClick: () => l.setActiveIndex(n),
@@ -356,7 +356,7 @@ function D({ aspect: e = 16 / 9, disabled: r, allowedMime: i = E, maxBytes: a, m
356
356
  background: "transparent",
357
357
  cursor: r ? "default" : "pointer"
358
358
  },
359
- children: /* @__PURE__ */ p("span", {
359
+ children: /* @__PURE__ */ h("span", {
360
360
  style: {
361
361
  position: "relative",
362
362
  display: "block",
@@ -364,13 +364,13 @@ function D({ aspect: e = 16 / 9, disabled: r, allowedMime: i = E, maxBytes: a, m
364
364
  aspectRatio: e,
365
365
  overflow: "hidden"
366
366
  },
367
- children: /* @__PURE__ */ p("img", {
367
+ children: /* @__PURE__ */ h("img", {
368
368
  src: t.file.dataUrl,
369
369
  alt: t.alt || `Предпросмотр изображения ${n + 1}`,
370
- style: T(t, f[i], e),
370
+ style: D(t, d[i], e),
371
371
  onLoad: (e) => {
372
372
  let t = e.currentTarget;
373
- h((e) => ({
373
+ f((e) => ({
374
374
  ...e,
375
375
  [i]: {
376
376
  width: t.naturalWidth,
@@ -383,10 +383,10 @@ function D({ aspect: e = 16 / 9, disabled: r, allowedMime: i = E, maxBytes: a, m
383
383
  }, i);
384
384
  })
385
385
  }),
386
- /* @__PURE__ */ m("div", { children: [
386
+ /* @__PURE__ */ g("div", { children: [
387
387
  "Выберите область изображения",
388
388
  " ",
389
- u && /* @__PURE__ */ m("code", {
389
+ u && /* @__PURE__ */ g("code", {
390
390
  className: s && u.width < s ? "statusError" : "statusSuccess",
391
391
  children: [
392
392
  u.width,
@@ -396,7 +396,7 @@ function D({ aspect: e = 16 / 9, disabled: r, allowedMime: i = E, maxBytes: a, m
396
396
  ]
397
397
  })
398
398
  ] }),
399
- /* @__PURE__ */ p(y, {
399
+ /* @__PURE__ */ h(x, {
400
400
  image: l.activeImage.file.dataUrl,
401
401
  crop: l.activeCropperState.crop,
402
402
  zoom: l.activeCropperState.zoom,
@@ -405,9 +405,9 @@ function D({ aspect: e = 16 / 9, disabled: r, allowedMime: i = E, maxBytes: a, m
405
405
  onCropChange: l.setActiveCropperCrop,
406
406
  onZoomChange: l.setActiveCropperZoom,
407
407
  onCropComplete: l.setActiveCrop
408
- }, S(l.activeImage, l.activeIndex))
408
+ }, w(l.activeImage, l.activeIndex))
409
409
  ] }),
410
- /* @__PURE__ */ p(n, {
410
+ /* @__PURE__ */ h(n, {
411
411
  required: !0,
412
412
  disabled: !l.hasSelected || r,
413
413
  label: "Краткое описание изображения",
@@ -420,37 +420,37 @@ function D({ aspect: e = 16 / 9, disabled: r, allowedMime: i = E, maxBytes: a, m
420
420
  }
421
421
  //#endregion
422
422
  //#region src/image/ui/ImageSelectionModal.tsx
423
- function O({ disabled: t, isOpen: n = !0, onClose: o = () => {}, title: s = "Загрузка нового изображения", ...c }) {
424
- let l = w({
423
+ function A({ disabled: t, isOpen: n = !0, onClose: o = () => {}, title: s = "Загрузка нового изображения", ...c }) {
424
+ let l = E({
425
425
  ...c,
426
426
  disabled: t
427
427
  });
428
- return c.onApply ? /* @__PURE__ */ m(i, {
428
+ return c.onApply ? /* @__PURE__ */ g(i, {
429
429
  isOpen: n,
430
430
  onClose: o,
431
431
  title: s,
432
432
  size: "xl",
433
- children: [/* @__PURE__ */ p(a, {
433
+ children: [/* @__PURE__ */ h(a, {
434
434
  scrollable: !0,
435
- children: /* @__PURE__ */ p(D, {
435
+ children: /* @__PURE__ */ h(k, {
436
436
  ...c,
437
437
  disabled: t,
438
438
  state: l
439
439
  })
440
- }), /* @__PURE__ */ p(r, { children: /* @__PURE__ */ p(e, {
440
+ }), /* @__PURE__ */ h(r, { children: /* @__PURE__ */ h(e, {
441
441
  disabled: !l.canApply,
442
442
  tone: "success",
443
443
  onClick: l.apply,
444
444
  children: "Применить"
445
445
  }) })]
446
- }) : /* @__PURE__ */ p(i, {
446
+ }) : /* @__PURE__ */ h(i, {
447
447
  isOpen: n,
448
448
  onClose: o,
449
449
  title: s,
450
450
  size: "xl",
451
- children: /* @__PURE__ */ p(a, {
451
+ children: /* @__PURE__ */ h(a, {
452
452
  scrollable: !0,
453
- children: /* @__PURE__ */ p(D, {
453
+ children: /* @__PURE__ */ h(k, {
454
454
  ...c,
455
455
  disabled: t,
456
456
  state: l
@@ -460,8 +460,8 @@ function O({ disabled: t, isOpen: n = !0, onClose: o = () => {}, title: s = "З
460
460
  }
461
461
  //#endregion
462
462
  //#region src/image/ui/ImageSelectionPanel.tsx
463
- function k({ disabled: t, renderActions: n, ...r }) {
464
- let i = w({
463
+ function j({ disabled: t, renderActions: n, ...r }) {
464
+ let i = E({
465
465
  ...r,
466
466
  disabled: t
467
467
  }), a = {
@@ -471,11 +471,11 @@ function k({ disabled: t, renderActions: n, ...r }) {
471
471
  canApply: i.canApply,
472
472
  apply: i.apply
473
473
  };
474
- return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(D, {
474
+ return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(k, {
475
475
  ...r,
476
476
  disabled: t,
477
477
  state: i
478
- }), n ? n(a) : r.onApply && /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(e, {
478
+ }), n ? n(a) : r.onApply && /* @__PURE__ */ h("div", { children: /* @__PURE__ */ h(e, {
479
479
  disabled: !i.canApply,
480
480
  tone: "success",
481
481
  onClick: i.apply,
@@ -484,9 +484,9 @@ function k({ disabled: t, renderActions: n, ...r }) {
484
484
  }
485
485
  //#endregion
486
486
  //#region src/image/ui/ImageView.tsx
487
- function A({ image: e, alt: t, sizes: n, aspectRatio: r, ...i }) {
488
- let a = _(e.sources, n), o = e.candidates ? g(e.candidates) : void 0, s = r ?? (e.intrinsicWidth && e.intrinsicHeight ? `${e.intrinsicWidth} / ${e.intrinsicHeight}` : void 0);
489
- return /* @__PURE__ */ p(x, {
487
+ function M({ image: e, alt: t, sizes: n, aspectRatio: r, ...i }) {
488
+ let a = y(e.sources, n), o = e.candidates ? v(e.candidates) : void 0, s = r ?? (e.intrinsicWidth && e.intrinsicHeight ? `${e.intrinsicWidth} / ${e.intrinsicHeight}` : void 0);
489
+ return /* @__PURE__ */ h(C, {
490
490
  ...i,
491
491
  src: e.src,
492
492
  srcSet: o || void 0,
@@ -499,6 +499,19 @@ function A({ image: e, alt: t, sizes: n, aspectRatio: r, ...i }) {
499
499
  });
500
500
  }
501
501
  //#endregion
502
- export { y as ImageCropper, b as ImagePlaceholder, x as ImageRenderer, O as ImageSelectionModal, k as ImageSelectionPanel, A as ImageView, _ as buildImageSources, g as buildImageSrcSet };
502
+ //#region src/image/ui/ImageViewer.tsx
503
+ var N = c(() => import("../chunks/ImageViewerRuntime-RN49by8Y.js"));
504
+ function P(e) {
505
+ let [t, n] = p(!1), r = l(() => n(!0), []);
506
+ return typeof document < "u" && (e.open || t) ? /* @__PURE__ */ h(s, {
507
+ fallback: null,
508
+ children: /* @__PURE__ */ h(N, {
509
+ ...e,
510
+ onRuntimeMounted: r
511
+ })
512
+ }) : null;
513
+ }
514
+ //#endregion
515
+ export { x as ImageCropper, S as ImagePlaceholder, C as ImageRenderer, A as ImageSelectionModal, j as ImageSelectionPanel, M as ImageView, P as ImageViewer, y as buildImageSources, v as buildImageSrcSet };
503
516
 
504
517
  //# sourceMappingURL=index.js.map