@softistx/material 3.248.0 → 3.250.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +8 -4
  3. package/dist/adopt-styles-C3MfGnxE.js +20 -0
  4. package/dist/{async-slice-C5HfFq1M.js → async-slice-DdEr7vFx.js} +1 -1
  5. package/dist/{audio-player-2kKst8lH.js → audio-player-DMYszRGT.js} +3 -3
  6. package/dist/{audio-player-viewer-D9DsYBcy.js → audio-player-viewer-z13yCjo4.js} +2 -2
  7. package/dist/{autocomplete-JuRCjl48.js → autocomplete-Bgf_AJ6U.js} +11 -11
  8. package/dist/{avatar-CvvdaBu4.js → avatar-WvTropuJ.js} +1 -1
  9. package/dist/blank-placeholder-DZIFJ0DG.js +17 -0
  10. package/dist/{breadcrumb-DacRqg91.js → breadcrumb-DYa6pVsq.js} +5 -5
  11. package/dist/{button-CpUMPIdk.js → button-RsWgka2v.js} +1 -1
  12. package/dist/{calculator-BYgFgWHL.js → calculator-DPHCuAZy.js} +11 -11
  13. package/dist/calculator-field.js +6 -6
  14. package/dist/{calculator-segment-DCHWZy6b.js → calculator-segment-Ckn9Fua9.js} +1 -1
  15. package/dist/calculator.js +1 -1
  16. package/dist/canvas-BShNj4yp.js +144 -0
  17. package/dist/capture-outputs-qcYUPW6K.js +174 -0
  18. package/dist/capture-toolbar.css +2 -0
  19. package/dist/capture-toolbar.js +858 -0
  20. package/dist/capture.js +53 -139
  21. package/dist/charts.js +3 -3
  22. package/dist/{chip-CjJPmAYO.js → chip-tyDM0lpO.js} +2 -2
  23. package/dist/{code-editor-nNcxtslA.js → code-editor-gHHXEwF-.js} +6 -6
  24. package/dist/code-editor.js +6 -6
  25. package/dist/{code-file-viewer-CcESl49v.js → code-file-viewer-CYQcskvt.js} +4 -4
  26. package/dist/{code-language-items-CW8_Si05.js → code-language-items-DDFuDf_E.js} +2 -2
  27. package/dist/{components-BdMaUeOm.js → components-DUvKQIBi.js} +16714 -20832
  28. package/dist/components.js +83 -79
  29. package/dist/{confirm-dialog-B2eonW2X.js → confirm-dialog-IHvPA3O2.js} +4 -4
  30. package/dist/{conversion-variant-DZm_xgUK.js → conversion-variant-MWTjnFnG.js} +5 -5
  31. package/dist/{currency-field-UIkYAlvP.js → currency-field-Bd9od1Ee.js} +5 -5
  32. package/dist/{detail-panel-header-CL2_tUG0.js → detail-panel-header-D2a63Sk3.js} +1 -1
  33. package/dist/{details-content-CPzj3vUr.js → details-content-CnN_ukTA.js} +6 -6
  34. package/dist/{details-header-band-D-CyB_Xx.js → details-header-band-wcgmC7qC.js} +5 -5
  35. package/dist/{details-host-BvYgFIWx.js → details-host-DKEaGH4P.js} +1 -1
  36. package/dist/{details-sheet-D4PTV_jR.js → details-sheet-CtNM4oDU.js} +2 -2
  37. package/dist/{details-shell-D4XoPRBu.js → details-shell-DZ80h6mN.js} +1 -1
  38. package/dist/{dialog-CleLsHkZ.js → dialog-DwUxG2-o.js} +1 -1
  39. package/dist/{dialog-app-bar-CLC990e6.js → dialog-app-bar-BsJ4UwKb.js} +2 -2
  40. package/dist/dist-Cb17ixQs.js +16 -0
  41. package/dist/dist-CyqFzDZ6.js +11 -0
  42. package/dist/dnd.js +1 -1
  43. package/dist/draw.js +1 -1
  44. package/dist/{drop-overlay-BTkVfscF.js → drop-overlay-B26hx0-T.js} +2 -2
  45. package/dist/{dropdown-menu-BoJC2DEH.js → dropdown-menu-D-PRbHaP.js} +1 -1
  46. package/dist/{editable-section-CTRGfbLJ.js → editable-section-DPmF1flG.js} +3 -3
  47. package/dist/editor.js +14 -14
  48. package/dist/embed-chunks/{avatar-GlGqPU7B.js → avatar-CSDtFCum.js} +1 -1
  49. package/dist/embed-chunks/{dist-BrYZYfsJ.js → dist-BVPJSDov.js} +2 -2
  50. package/dist/embed-chunks/{emoji-picker-BSYBi_C8.js → emoji-picker-CrIXB9pF.js} +23 -23
  51. package/dist/embed-chunks/{mention-list-NW43QcRq.js → mention-list-9hwOYNND.js} +3 -3
  52. package/dist/embed-chunks/{nxgt-theme-provider-B1aeqDja.js → nxgt-theme-provider-Cjl7Eb8v.js} +703 -592
  53. package/dist/embed-chunks/switch-control-BrwJRN_V.js +207 -0
  54. package/dist/embed-chunks/{tabs-root-CY-uLp1C.js → tabs-root-BvPc1aaV.js} +6 -6
  55. package/dist/embed-chunks/{use-shape-morph-NrJQMv7i.js → use-shape-morph-D1MOoQ4T.js} +110 -2
  56. package/dist/embed-chunks/{useLatest-B57qw3XH.js → useLatest-CbcU5ozz.js} +323 -323
  57. package/dist/embed.css +2 -2
  58. package/dist/embed.js +1280 -741
  59. package/dist/{emoji-picker-DZbTd3Fr.js → emoji-picker-DabgsEVQ.js} +7 -7
  60. package/dist/{empty-state-DBSJDLKL.js → empty-state-BylD7RYH.js} +1 -1
  61. package/dist/{error-state-kauz4If4.js → error-state-BTe_NzTC.js} +2 -2
  62. package/dist/fab-DUnGwNE7.js +41 -0
  63. package/dist/fab-dock-By2pLVh7.js +49 -0
  64. package/dist/{feature-popup-CcXMGFES.js → feature-popup-CW7VS2fx.js} +1 -1
  65. package/dist/{blank-placeholder-DeDn5Xor.js → field-box-BXN-uyrv.js} +1 -16
  66. package/dist/{field-group-BpV74Ttu.js → field-group-B2Ozd5Jn.js} +1 -1
  67. package/dist/{file-dialogs-CbdvmY__.js → file-dialogs-CgEXaCev.js} +7 -7
  68. package/dist/{file-manager-shell-DLaJ5Z_L.js → file-manager-shell-Tqduf5lh.js} +21 -21
  69. package/dist/{file-preview-host-RhZvGGqC.js → file-preview-host-CM4pV3ZD.js} +2367 -2384
  70. package/dist/{file-viewer-body-DM3RkXGn.js → file-viewer-body-DrWFmnp4.js} +3 -3
  71. package/dist/{file-viewer-dialog-impl-ei5EYj8k.js → file-viewer-dialog-impl-DZpuZZ7x.js} +2 -2
  72. package/dist/files-drop.js +1 -1
  73. package/dist/files-picker.js +8 -8
  74. package/dist/files.js +3 -3
  75. package/dist/{financial-variant-BNdOqzA5.js → financial-variant-ljdP0JL4.js} +5 -5
  76. package/dist/{flow-diagram-BBB6r8--.js → flow-diagram-DwUnyl0u.js} +1 -1
  77. package/dist/{gallery-CIIJHpmj.js → gallery-DfN2KE4Y.js} +11 -11
  78. package/dist/{gallery-file-viewer-DkshswFr.js → gallery-file-viewer-BfFWfLIF.js} +3 -3
  79. package/dist/{gl-markers-abqcNuYT.js → gl-markers-CBNFeWIk.js} +3 -3
  80. package/dist/{hooks-D6lOSXA5.js → hooks-DiAhgchz.js} +3 -3
  81. package/dist/hooks.js +3 -3
  82. package/dist/i18n.js +3 -3
  83. package/dist/{icon-button-GKYj7uC4.js → icon-button-D-gi4Plg.js} +1 -1
  84. package/dist/image-editor-mmhbsqs-.js +4423 -0
  85. package/dist/image-editor.css +1 -1
  86. package/dist/image-editor.js +1157 -996
  87. package/dist/image-markup-editor-D-QkZWKf.js +24 -0
  88. package/dist/input-CWf3Apid.js +18 -0
  89. package/dist/input-box-moFuoMt0.js +15 -0
  90. package/dist/{input-group-CKO68Pyi.js → input-group-Bb8sAFRF.js} +3 -2
  91. package/dist/{item-details-l_-rk3Hj.js → item-details-BWdHMfsS.js} +7 -7
  92. package/dist/keypad.js +2 -2
  93. package/dist/lib/capture/engine/canvas.d.ts +17 -0
  94. package/dist/lib/capture/engine/capture.d.ts +19 -0
  95. package/dist/lib/capture/engine/filters.d.ts +27 -0
  96. package/dist/lib/capture/engine/rect.d.ts +26 -0
  97. package/dist/lib/capture/engine/types.d.ts +66 -0
  98. package/dist/lib/capture/index.d.ts +16 -0
  99. package/dist/lib/capture/modes/capture-mode.d.ts +24 -0
  100. package/dist/lib/capture/modes/countdown.d.ts +16 -0
  101. package/dist/lib/capture/modes/full-page.d.ts +14 -0
  102. package/dist/lib/capture/modes/pick-element.d.ts +22 -0
  103. package/dist/lib/capture/modes/scroller.d.ts +13 -0
  104. package/dist/lib/capture/modes/visible.d.ts +3 -0
  105. package/dist/lib/capture-toolbar/index.d.ts +25 -0
  106. package/dist/lib/capture-toolbar/lazy-capture-outputs.d.ts +2 -0
  107. package/dist/lib/capture-toolbar/outputs-encode.d.ts +25 -0
  108. package/dist/lib/capture-toolbar/outputs.d.ts +38 -0
  109. package/dist/lib/capture-toolbar/partials/capture-editor.d.ts +11 -0
  110. package/dist/lib/capture-toolbar/partials/capture-outputs.d.ts +16 -0
  111. package/dist/lib/capture-toolbar/region-overlay.d.ts +15 -0
  112. package/dist/lib/capture-toolbar/screen-capture-toolbar.d.ts +31 -0
  113. package/dist/lib/capture-toolbar/types.d.ts +117 -0
  114. package/dist/lib/capture-toolbar/use-screen-capture.d.ts +16 -0
  115. package/dist/lib/components/ui/layout/account-frame/account-frame.d.ts +2 -2
  116. package/dist/lib/components/ui/media/attachment-list/attachment-list.d.ts +2 -2
  117. package/dist/lib/components/ui/media/image-editor/image-markup-editor.d.ts +11 -3
  118. package/dist/lib/components/ui/media/image-editor/types-edits.d.ts +7 -0
  119. package/dist/lib/components/ui/media/image-editor/types-session.d.ts +1 -1
  120. package/dist/lib/components/ui/media/image-editor/types.d.ts +8 -0
  121. package/dist/lib/embed/index.d.ts +6 -1
  122. package/dist/lib/i18n/resources/resources.d.ts +108 -0
  123. package/dist/lib/i18n/translator.d.ts +1 -1
  124. package/dist/lib/image-editor/index.d.ts +1 -1
  125. package/dist/lib.js +38 -56
  126. package/dist/{list-sheet-D22J9I-K.js → list-sheet-CejfrKJr.js} +1 -1
  127. package/dist/{loading-indicator-sDzxZg8f.js → loading-indicator-BBjOF25N.js} +1 -1
  128. package/dist/main.js +103 -98
  129. package/dist/{map-draw-DfbfT0eJ.js → map-draw-DyRy9SSV.js} +2 -2
  130. package/dist/map-draw.js +5 -5
  131. package/dist/map-static.js +1 -1
  132. package/dist/{map-view-DAx2zvV-.js → map-view-YfuYD3zS.js} +9 -9
  133. package/dist/map-zone-events.js +1 -1
  134. package/dist/map-zone-field.js +7 -7
  135. package/dist/map.js +10 -10
  136. package/dist/{marker-button-D7hEvEZD.js → marker-button-CXBaToHp.js} +1 -1
  137. package/dist/{marker-count-image-CWS3G-k8.js → marker-count-image-DHuzSev9.js} +1 -1
  138. package/dist/material.css +1 -1
  139. package/dist/{measure-manual-Bfvu8B_R.js → measure-manual-CcESmV1d.js} +3 -3
  140. package/dist/{measurement-B-OeWv7j.js → measurement-D2or6yM_.js} +1 -1
  141. package/dist/{media-player-DGXmWK7W.js → media-player-qW9RXFuO.js} +451 -567
  142. package/dist/{media-player-viewer-C3vXYcd8.js → media-player-viewer-DozPiF6T.js} +2 -2
  143. package/dist/{media-surface-BySonDjv.js → media-surface-BJsdNynm.js} +6 -6
  144. package/dist/{mention-list-BpoZHwO6.js → mention-list-z1wnlJgs.js} +2 -2
  145. package/dist/{native-select-Dg4bc7aC.js → native-select-BnDOVnER.js} +1 -1
  146. package/dist/{nxgt-theme-Ob-uFqU_.js → nxgt-theme-EYZ5aFHi.js} +6 -15
  147. package/dist/nxgt-theme-provider-BPXd3h82.js +40 -0
  148. package/dist/outputs-DF-aVqUO.js +81 -0
  149. package/dist/passkey.js +1 -1
  150. package/dist/{pdf-form-filler-DgH52W2Q.js → pdf-form-filler-Ct4eexhZ.js} +34 -34
  151. package/dist/pdf-form.js +2 -2
  152. package/dist/{pdf-reader-Bilz5foK.js → pdf-reader-khpMMEjU.js} +16 -16
  153. package/dist/{pdf-reader-viewer-DwQP2IpV.js → pdf-reader-viewer-B3_TdFOn.js} +2 -2
  154. package/dist/pdf-reader.js +2 -2
  155. package/dist/{percent-field-Ldc7K2wC.js → percent-field-Bu-PmCNR.js} +2 -2
  156. package/dist/{picker-surface-DZQbBgvA.js → picker-surface-THexE1OU.js} +3 -3
  157. package/dist/{popover-DwsaHFrK.js → popover-osl5duoA.js} +1 -1
  158. package/dist/portal-container-provider-fZFUk-ZB.js +11 -0
  159. package/dist/{pos-types-CKDG7pZA.js → pos-types-BPPae99i.js} +1 -1
  160. package/dist/{pos-variant-9nhz-ZzW.js → pos-variant-D6bDUqwV.js} +4 -4
  161. package/dist/print.js +1 -1
  162. package/dist/{programmer-variant-BzwfeMGC.js → programmer-variant-CDlFE24o.js} +2 -2
  163. package/dist/{progress-BBfp7sMi.js → progress-DjHnanxA.js} +2 -2
  164. package/dist/{progress-linear-BOJbHnzd.js → progress-linear-CTJ_U6kY.js} +1 -1
  165. package/dist/{public-I8nb8pCC.js → public-u9u2Osmx.js} +6 -6
  166. package/dist/{rendition-stage-A1nHXYrA.js → rendition-stage-BXjQpfKK.js} +2 -2
  167. package/dist/{rich-code-block-BJERY3N3.js → rich-code-block-DWSzyQRw.js} +5 -5
  168. package/dist/{scientific-variant-st2NBm1K.js → scientific-variant-DCgApH87.js} +2 -2
  169. package/dist/{scroll-area-B3XstZU2.js → scroll-area-BxKiT4Dn.js} +155 -164
  170. package/dist/{search-field-D3AOJr7s.js → search-field-Cgqa2bQf.js} +2 -2
  171. package/dist/{select-DhfzCkun.js → select-BGhRlBh4.js} +166 -179
  172. package/dist/{sheet-B8cO1T5K.js → sheet-BvNVroog.js} +1 -1
  173. package/dist/{signature-dialog-BNLMPgao.js → signature-dialog-x--_QWRB.js} +5 -5
  174. package/dist/signature.js +1 -1
  175. package/dist/{site-footer-cta-Cx7zsvkq.js → site-footer-cta-B3Kfqpep.js} +4 -4
  176. package/dist/{site-footer-link-Di8IMIw0.js → site-footer-link-SFHrO4ld.js} +1 -1
  177. package/dist/{size-slot-D1cKqb09.js → size-slot-Cb-W2Zm4.js} +1 -1
  178. package/dist/{sortable-provider-DrLnoygf.js → sortable-provider-KRScvvYx.js} +2 -2
  179. package/dist/{spinner-BpH9tE8R.js → spinner-DpB6XvJJ.js} +1 -1
  180. package/dist/switch-c_6OtXzW.js +125 -0
  181. package/dist/{tabs-root-BUnIfDah.js → tabs-root-C2n3K_Yv.js} +1 -1
  182. package/dist/{tags-form-BwqR4UVj.js → tags-form-BKB9fP03.js} +5 -5
  183. package/dist/{text-field-CFCHo07X.js → text-field-Dl7xTxZe.js} +2 -2
  184. package/dist/{textarea-B_iMDYgM.js → textarea-C3BGZELU.js} +1 -1
  185. package/dist/{textarea-field-DIOGxyUd.js → textarea-field-mqWhhbis.js} +2 -2
  186. package/dist/theme-picker.js +5 -4
  187. package/dist/{theme-toggle-CsBe64lm.js → theme-toggle-K-n5eq0T.js} +3 -3
  188. package/dist/theme-value-CD2nDrj_.js +12 -0
  189. package/dist/themes.js +15 -48
  190. package/dist/{toasts-McZnLRHP.js → toasts-DFLecXh0.js} +5 -5
  191. package/dist/{toggle-group-DKN1XLBS.js → toggle-group-DMDjNJWx.js} +1 -1
  192. package/dist/{toolbar-group-BmzGP_JO.js → toolbar-group-bttMdvg4.js} +1 -1
  193. package/dist/{toolbar-item-slot-BnqQLkVd.js → toolbar-item-slot-CBn3YjeE.js} +1 -1
  194. package/dist/{toolbar-items-C9uasXZ2.js → toolbar-items-zL5TYLf2.js} +4 -4
  195. package/dist/{toolbar-keep-focus-Vc5V-dX2.js → toolbar-keep-focus-C6bnzvpE.js} +2 -2
  196. package/dist/{tracked-layer-CjCXB_O6.js → tracked-layer-CYdLWRK-.js} +4 -4
  197. package/dist/{translate-material-C-qVvGLn.js → translate-material-DZNgWjYu.js} +1 -1
  198. package/dist/{translator-BrzI307E.js → translator-CrIFDzAz.js} +110 -2
  199. package/dist/{tree-DOAs456A.js → tree-CFXDccIe.js} +1 -1
  200. package/dist/{upload-host-ZpSSql8v.js → upload-host-DDktVohu.js} +9 -8
  201. package/dist/{use-calculator-keyboard-Ss25SRoM.js → use-calculator-keyboard-BWkYuIw5.js} +1 -1
  202. package/dist/{use-chat-composer-DopDN-zP.js → use-chat-composer-C1Qlnw2i.js} +20 -20
  203. package/dist/{use-file-meta-DyJX0JVs.js → use-file-meta-DcfQCh52.js} +1 -1
  204. package/dist/{use-heading-spy-CA2IAqMe.js → use-heading-spy-B9xEMHbZ.js} +2 -2
  205. package/dist/use-image-preview-BNq_RQm5.js +20 -0
  206. package/dist/{use-item-entries-CYbS5otl.js → use-item-entries-BKQHcWFx.js} +1 -1
  207. package/dist/{use-material-translation-eYySryw3.js → use-material-translation-ZEUtduro.js} +1 -1
  208. package/dist/{use-media-viewer-DoNdrzhN.js → use-media-viewer-DViJNx75.js} +1 -1
  209. package/dist/{use-text-preview-BQE4U9cT.js → use-text-preview-Ci97JKKo.js} +2 -2
  210. package/dist/{use-unsaved-guard-CSfDvdxd.js → use-unsaved-guard-CWlHEvjN.js} +2 -2
  211. package/dist/{viewer-CXF1dAv0.js → viewer-DDPJOxBt.js} +5 -5
  212. package/dist/{viewer-stage-class-CpyA8o-M.js → viewer-stage-class-DJ1uod4l.js} +4 -4
  213. package/dist/{viewer-states-BXyCdNhE.js → viewer-states-DkaPBkK4.js} +3 -3
  214. package/dist/{virtual-layer-rows-DHy8vAup.js → virtual-layer-rows-DKejQ_Jd.js} +1 -1
  215. package/dist/visible-B-IFZ4Nv.js +475 -0
  216. package/docs/components/media-and-files.md +1 -1
  217. package/docs/components/navigation-and-layout.md +2 -2
  218. package/docs/guides/capture.md +248 -0
  219. package/docs/guides/csp.md +1 -1
  220. package/docs/guides/embed.md +94 -2
  221. package/docs/roadmap.md +2 -1
  222. package/docs/troubleshooting.md +56 -0
  223. package/package.json +18 -1
  224. package/dist/embed-chunks/bubble-input-yXAeW84_.js +0 -29
  225. package/dist/embed-chunks/switch-control-ChcowM3u.js +0 -181
  226. package/dist/fab-dock-DqwbI-5n.js +0 -86
  227. package/dist/input-BaBE_MR_.js +0 -27
  228. /package/dist/{dist-B1qFabLJ.js → dist-B1qFabLJ2.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { t as e } from "./media-player-DGXmWK7W.js";
2
- import { t } from "./use-media-viewer-DoNdrzhN.js";
1
+ import { t as e } from "./media-player-qW9RXFuO.js";
2
+ import { t } from "./use-media-viewer-DViJNx75.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region lib/components/ui/media/media-player/media-player-viewer.tsx
5
5
  function r(r) {
@@ -1,17 +1,17 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { n as t } from "./dist-BpL4VNX6.js";
3
- import { c as n } from "./spinner-BpH9tE8R.js";
3
+ import { c as n } from "./spinner-DpB6XvJJ.js";
4
4
  import { n as r } from "./use-portal-container-DIbEFxRE.js";
5
- import { c as i, d as a, f as o, i as s, n as c, t as l } from "./dropdown-menu-BoJC2DEH.js";
5
+ import { c as i, d as a, f as o, i as s, n as c, t as l } from "./dropdown-menu-D-PRbHaP.js";
6
6
  import { t as u } from "./warn-once-DDKXeVow.js";
7
- import { t as d } from "./button-CpUMPIdk.js";
8
- import { t as f } from "./use-material-translation-eYySryw3.js";
9
- import { t as p } from "./icon-button-GKYj7uC4.js";
7
+ import { t as d } from "./button-RsWgka2v.js";
8
+ import { t as f } from "./use-material-translation-ZEUtduro.js";
9
+ import { t as p } from "./icon-button-D-gi4Plg.js";
10
10
  import { t as m } from "./use-ssr-media-query-BSBGww0x.js";
11
11
  import { t as h } from "./browser-only-DQ94lWF8.js";
12
12
  import { n as g } from "./use-slice-reducer-BGkeGtML.js";
13
13
  import { t as _ } from "./compose-refs-G4J4kaUA.js";
14
- import { c as v, l as y, n as ee, o as te, r as ne, t as re } from "./dialog-CleLsHkZ.js";
14
+ import { c as v, l as y, n as ee, o as te, r as ne, t as re } from "./dialog-DwUxG2-o.js";
15
15
  import { createContext as b, useCallback as x, useContext as S, useEffect as C, useLayoutEffect as w, useMemo as T, useReducer as ie, useRef as E, useState as D, useSyncExternalStore as ae } from "react";
16
16
  import { Fragment as oe, jsx as O, jsxs as k } from "react/jsx-runtime";
17
17
  import { createPortal as se } from "react-dom";
@@ -1,7 +1,7 @@
1
1
  import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
2
2
  import { t } from "./utils-BLfntITJ.js";
3
- import { l as n, t as r } from "./avatar-CvvdaBu4.js";
4
- import { t as i } from "./use-material-translation-eYySryw3.js";
3
+ import { l as n, t as r } from "./avatar-WvTropuJ.js";
4
+ import { t as i } from "./use-material-translation-ZEUtduro.js";
5
5
  import { t as a } from "./option-list-loading-DgP76WRu.js";
6
6
  import { t as o } from "./list-tile-A-zYNgXs.js";
7
7
  import { useId as s } from "react";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { i as t, n } from "./blank-placeholder-DeDn5Xor.js";
2
+ import { r as t, t as n } from "./field-box-BXN-uyrv.js";
3
3
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
4
4
  import { ChevronDownIcon as a } from "lucide-react";
5
5
  //#region lib/components/ui/selection/native-select/native-select.tsx
@@ -1,24 +1,15 @@
1
1
  import { t as e } from "./dist-DVRQkaTK.js";
2
2
  import { t } from "./is-production-GLw59WU8.js";
3
3
  import { t as n } from "./warn-once-DDKXeVow.js";
4
- import { n as r, r as i, t as a } from "./theme-context-CtvqH92a.js";
4
+ import { n as r, r as i } from "./theme-context-CtvqH92a.js";
5
+ import { t as a } from "./theme-value-CD2nDrj_.js";
5
6
  import { useContext as o, useMemo as s } from "react";
6
7
  import { jsx as c } from "react/jsx-runtime";
7
- //#region lib/themes/theme-value.ts
8
- function l(e, t, n) {
9
- return {
10
- name: e,
11
- theme: t,
12
- background: t?.background === !1 ? !1 : t?.background ?? a,
13
- defaultMode: n
14
- };
15
- }
16
- //#endregion
17
8
  //#region lib/themes/nxgt-theme.tsx
18
- function u({ theme: a, mode: u, asChild: d = !1, children: f, ...p }) {
19
- let m = o(i), h = typeof a == "string" ? m?.find((e) => e.name === a) : a, g = typeof a == "string" ? a : a.name;
9
+ function l({ theme: l, mode: u, asChild: d = !1, children: f, ...p }) {
10
+ let m = o(i), h = typeof l == "string" ? m?.find((e) => e.name === l) : l, g = typeof l == "string" ? l : l.name;
20
11
  !t() && m && !h && n(`theme "${g}" is not in the provider's themes; its background is the default.`, "NxgtTheme");
21
- let _ = o(r)?.defaultMode, v = s(() => l(g, h, _), [
12
+ let _ = o(r)?.defaultMode, v = s(() => a(g, h, _), [
22
13
  g,
23
14
  h,
24
15
  _
@@ -34,4 +25,4 @@ function u({ theme: a, mode: u, asChild: d = !1, children: f, ...p }) {
34
25
  });
35
26
  }
36
27
  //#endregion
37
- export { l as n, u as t };
28
+ export { l as t };
@@ -0,0 +1,40 @@
1
+ import { t as e } from "./is-production-GLw59WU8.js";
2
+ import { t } from "./warn-once-DDKXeVow.js";
3
+ import { t as n } from "./use-ssr-media-query-BSBGww0x.js";
4
+ import { c as r, i, n as a, o, r as s, s as c, t as l } from "./theme-store-XaTCr9tn.js";
5
+ import { n as u, r as d } from "./theme-context-CtvqH92a.js";
6
+ import { t as f } from "./theme-value-CD2nDrj_.js";
7
+ import { useEffect as p, useLayoutEffect as m, useMemo as h, useSyncExternalStore as g } from "react";
8
+ import { jsx as _ } from "react/jsx-runtime";
9
+ import { THEME_PRESETS as v } from "@softistx/material-core/theme/presets";
10
+ //#region lib/themes/nxgt-theme-provider.tsx
11
+ var y = () => () => {}, b = () => g(y, () => !1, () => !0);
12
+ function x({ themes: y = v, defaultTheme: x = s, defaultMode: S, children: C }) {
13
+ let w = g(l.subscribe, l.getSnapshot, l.getServerSnapshot), T = b(), E = h(() => y.map((e) => e.name), [y]);
14
+ !e() && !E.includes(x) && t(`defaultTheme "${x}" is not in themes (${E.join(", ")}).`, "NxgtThemeProvider");
15
+ let D = r(w, E, x), O = y.find((e) => e.name === D), k = S ?? O?.colorScheme ?? "system";
16
+ m(() => l.claim({
17
+ known: E,
18
+ fallback: x
19
+ }), [E, x]), p(() => {
20
+ T || o(D);
21
+ }, [D, T]);
22
+ let A = c(g(a.subscribe, a.getSnapshot, a.getServerSnapshot), n("(prefers-color-scheme: dark)", !1), k).theme;
23
+ p(() => {
24
+ T || i(A);
25
+ }, [A, T]);
26
+ let j = h(() => f(D, O, k), [
27
+ D,
28
+ O,
29
+ k
30
+ ]);
31
+ return /* @__PURE__ */ _(d.Provider, {
32
+ value: y,
33
+ children: /* @__PURE__ */ _(u.Provider, {
34
+ value: j,
35
+ children: C
36
+ })
37
+ });
38
+ }
39
+ //#endregion
40
+ export { x as t };
@@ -0,0 +1,81 @@
1
+ import { i as e, o as t, r as n } from "./canvas-BShNj4yp.js";
2
+ //#region lib/capture-toolbar/outputs-encode.ts
3
+ var r = {
4
+ png: "image/png",
5
+ webp: "image/webp",
6
+ jpeg: "image/jpeg"
7
+ }, i = {
8
+ png: "png",
9
+ webp: "webp",
10
+ jpeg: "jpg"
11
+ }, a = class extends Error {
12
+ code;
13
+ cause;
14
+ constructor(e, t, n) {
15
+ super(t), this.cause = n, this.name = "CaptureOutputError", this.code = e;
16
+ }
17
+ };
18
+ function o(e = "capture", t = "png") {
19
+ return `${e.replace(/\.(png|jpe?g|webp)$/i, "") || "capture"}.${i[t]}`;
20
+ }
21
+ async function s(i, { format: o = "png", quality: s = .92 } = {}) {
22
+ if (o === "png" && i.type === r.png) return i;
23
+ if (typeof createImageBitmap != "function") throw new a("unsupported", "This browser cannot re-encode an image");
24
+ let c = await createImageBitmap(i);
25
+ try {
26
+ let i = t(c.width, c.height), l = e(i);
27
+ o === "jpeg" && (l.fillStyle = "#fff", l.fillRect(0, 0, i.width, i.height)), l.drawImage(c, 0, 0);
28
+ let u = await n(i, r[o], Math.min(1, Math.max(0, s)));
29
+ if (u.type && u.type !== r[o]) throw new a("unsupported", `This browser cannot encode ${o}`);
30
+ return u;
31
+ } finally {
32
+ c.close?.();
33
+ }
34
+ }
35
+ //#endregion
36
+ //#region lib/capture-toolbar/outputs.ts
37
+ function c() {
38
+ return typeof ClipboardItem < "u" && typeof navigator < "u" && typeof navigator.clipboard?.write == "function";
39
+ }
40
+ async function l(e) {
41
+ if (!c()) throw new a("unsupported", "This browser cannot copy an image");
42
+ try {
43
+ let t = e.type === "image/png" ? e : await s(e);
44
+ await navigator.clipboard.write([new ClipboardItem({ "image/png": t })]);
45
+ } catch (e) {
46
+ throw new a("failed", "The copy failed", e);
47
+ }
48
+ }
49
+ function u(e, t = "capture.png") {
50
+ let n = URL.createObjectURL(e), r = document.createElement("a");
51
+ r.href = n, r.download = t, r.rel = "noopener", r.hidden = !0, document.body.append(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 1e3);
52
+ }
53
+ function d(e, t) {
54
+ return new File([e], t, { type: e.type || "image/png" });
55
+ }
56
+ function f(e, t = "capture.png") {
57
+ if (typeof navigator > "u" || typeof navigator.share != "function" || typeof navigator.canShare != "function") return !1;
58
+ try {
59
+ return navigator.canShare({ files: [d(e, t)] });
60
+ } catch {
61
+ return !1;
62
+ }
63
+ }
64
+ async function p(e, t = "capture.png", n = {}) {
65
+ if (!f(e, t)) throw new a("unsupported", "This browser cannot share an image");
66
+ try {
67
+ return await navigator.share({
68
+ ...n,
69
+ files: [d(e, t)]
70
+ }), !0;
71
+ } catch (e) {
72
+ if (e instanceof DOMException && e.name === "AbortError") return !1;
73
+ throw new a("failed", "The share failed", e);
74
+ }
75
+ }
76
+ async function m(e, t, n = "capture.png", r = {}) {
77
+ if (!e.upload) throw new a("unsupported", "This file source does not accept uploads");
78
+ return e.upload(d(t, n), r);
79
+ }
80
+ //#endregion
81
+ export { p as a, o as c, u as i, s as l, f as n, m as o, l as r, a as s, c as t };
package/dist/passkey.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./use-material-translation-eYySryw3.js";
1
+ import { t as e } from "./use-material-translation-ZEUtduro.js";
2
2
  import { useCallback as t, useEffect as n, useRef as r, useState as i } from "react";
3
3
  //#region lib/passkey/passkey-error.ts
4
4
  var a = /* @__PURE__ */ new Set(["NotAllowedError", "AbortError"]);
@@ -1,23 +1,23 @@
1
1
  import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
2
2
  import { t } from "./utils-BLfntITJ.js";
3
3
  import { t as n } from "./checkbox-D-nZpo1x.js";
4
- import { u as r } from "./dropdown-menu-BoJC2DEH.js";
5
- import { a as i, n as a, o, s, u as c } from "./select-DhfzCkun.js";
6
- import { n as l, r as u, t as d } from "./popover-DwsaHFrK.js";
4
+ import { u as r } from "./dropdown-menu-D-PRbHaP.js";
5
+ import { n as i, r as a, t as o } from "./popover-osl5duoA.js";
6
+ import { a as s, n as c, o as l, s as u, u as d } from "./select-BGhRlBh4.js";
7
7
  import { t as f } from "./icon--cTIDybi.js";
8
- import { t as p } from "./button-CpUMPIdk.js";
9
- import { t as m } from "./use-material-translation-eYySryw3.js";
10
- import { t as h } from "./icon-button-GKYj7uC4.js";
11
- import { t as g } from "./toolbar-items-C9uasXZ2.js";
8
+ import { t as p } from "./button-RsWgka2v.js";
9
+ import { t as m } from "./use-material-translation-ZEUtduro.js";
10
+ import { t as h } from "./icon-button-D-gi4Plg.js";
11
+ import { t as g } from "./toolbar-items-zL5TYLf2.js";
12
12
  import { t as _ } from "./alert-CYpJ69pZ.js";
13
13
  import { t as v } from "./live-status-BGPaN8r8.js";
14
- import { a as y, i as b, n as x, o as S, t as ee } from "./pdf-reader-Bilz5foK.js";
15
- import { a as te, c as ne, r as re, s as ie, t as ae } from "./sheet-B8cO1T5K.js";
16
- import { t as oe } from "./empty-state-DBSJDLKL.js";
14
+ import { a as y, i as b, n as x, o as S, t as ee } from "./pdf-reader-khpMMEjU.js";
15
+ import { a as te, c as ne, r as re, s as ie, t as ae } from "./sheet-BvNVroog.js";
16
+ import { t as oe } from "./empty-state-BylD7RYH.js";
17
17
  import { t as se } from "./list-tile-A-zYNgXs.js";
18
18
  import { n as ce, t as le } from "./radio-group-parts-CfrSM4OI.js";
19
- import { t as ue } from "./progress-BBfp7sMi.js";
20
- import { n as de, t as fe } from "./size-slot-D1cKqb09.js";
19
+ import { t as ue } from "./progress-DjHnanxA.js";
20
+ import { n as de, t as fe } from "./size-slot-Cb-W2Zm4.js";
21
21
  import { n as pe, r as me, t as he } from "./data-url-CtKLnvbK.js";
22
22
  import { Suspense as ge, createContext as _e, lazy as ve, useCallback as C, useContext as ye, useEffect as w, useId as be, useImperativeHandle as xe, useMemo as T, useRef as E, useState as D } from "react";
23
23
  import { Fragment as O, jsx as k, jsxs as A } from "react/jsx-runtime";
@@ -597,45 +597,45 @@ var Nt = [
597
597
  "[&_option:checked]:shadow-[inset_3px_0_0_var(--primary)]"
598
598
  ].join(" ");
599
599
  function Pt(e) {
600
- let { field: n, box: r, fontSize: l, value: u, onChange: d, readOnly: f } = e, p = n.options ?? [], m = K(e);
600
+ let { field: n, box: r, fontSize: i, value: a, onChange: o, readOnly: f } = e, p = n.options ?? [], m = K(e);
601
601
  if (n.combo && !n.multiple) {
602
- let e = typeof u == "string" ? u : "";
603
- return /* @__PURE__ */ A(c, {
602
+ let e = typeof a == "string" ? a : "";
603
+ return /* @__PURE__ */ A(d, {
604
604
  value: e,
605
- onValueChange: d,
605
+ onValueChange: o,
606
606
  disabled: f,
607
607
  required: n.required,
608
- children: [/* @__PURE__ */ k(i, {
608
+ children: [/* @__PURE__ */ k(s, {
609
609
  ...m,
610
610
  size: "sm",
611
611
  className: t(W, "h-auto min-h-0 gap-1 py-0 disabled:opacity-100", G, "[&_[data-slot=field-box-chevron]]:size-[var(--pf-well)] [&_[data-slot=field-box-chevron]_svg]:size-[var(--pf-chevron)]"),
612
612
  style: {
613
- ...q(r, l),
613
+ ...q(r, i),
614
614
  ...Mt(r.height)
615
615
  },
616
- children: /* @__PURE__ */ k(o, {})
617
- }), /* @__PURE__ */ A(s, { children: [e && !p.some((t) => t.value === e) ? /* @__PURE__ */ k(a, {
616
+ children: /* @__PURE__ */ k(l, {})
617
+ }), /* @__PURE__ */ A(u, { children: [e && !p.some((t) => t.value === e) ? /* @__PURE__ */ k(c, {
618
618
  value: e,
619
619
  children: e
620
- }) : null, p.filter((e) => e.value !== "").map((e) => /* @__PURE__ */ k(a, {
620
+ }) : null, p.filter((e) => e.value !== "").map((e) => /* @__PURE__ */ k(c, {
621
621
  value: e.value,
622
622
  children: e.label
623
623
  }, e.value))] })]
624
624
  });
625
625
  }
626
- let h = Array.isArray(u) ? u : u === null ? [] : [String(u)];
626
+ let h = Array.isArray(a) ? a : a === null ? [] : [String(a)];
627
627
  return /* @__PURE__ */ k("select", {
628
628
  ...m,
629
629
  "data-slot": "pdf-form-field",
630
630
  multiple: n.multiple || void 0,
631
631
  size: n.multiple ? void 0 : Math.max(2, p.length),
632
632
  className: t(W, Nt),
633
- style: q(r, p.length > 1 && p.length <= 6 ? Math.max(7, Math.min(l, (r.height - 6) / p.length / 1.3)) : l),
633
+ style: q(r, p.length > 1 && p.length <= 6 ? Math.max(7, Math.min(i, (r.height - 6) / p.length / 1.3)) : i),
634
634
  value: n.multiple ? h : h[0] ?? "",
635
635
  onChange: (e) => {
636
636
  if (f) return;
637
637
  let t = [...e.target.selectedOptions].map((e) => e.value);
638
- d(n.multiple ? t : t[0] ?? null);
638
+ o(n.multiple ? t : t[0] ?? null);
639
639
  },
640
640
  children: p.map((e) => /* @__PURE__ */ k("option", {
641
641
  value: e.value,
@@ -645,7 +645,7 @@ function Pt(e) {
645
645
  }
646
646
  //#endregion
647
647
  //#region lib/pdf-form/filler/partials/signature-control.tsx
648
- var Ft = ve(() => import("./signature-dialog-BNLMPgao.js").then((e) => e.n).then((e) => ({ default: e.SignatureDialog })));
648
+ var Ft = ve(() => import("./signature-dialog-x--_QWRB.js").then((e) => e.n).then((e) => ({ default: e.SignatureDialog })));
649
649
  function It(e) {
650
650
  let { t: n } = m(), { box: r, fontSize: i, readOnly: a, value: o, onChange: s } = e, [c, l] = D(!1), [u, d] = D(!1), p = K(e), h = `${e.id}-state`, g = o ? n("material.pdfForm.signed", "Signed") : n("material.pdfForm.sign", "Sign here"), _ = he(o) ? o : null;
651
651
  return /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ A("button", {
@@ -961,11 +961,11 @@ function nn({ shared: e, id: t, box: n, radioWidgets: r, transform: i }) {
961
961
  }
962
962
  //#endregion
963
963
  //#region lib/pdf-form/filler/partials/field-error.tsx
964
- function rn({ id: e, box: t, message: n, active: r = !1, placement: i = {
964
+ function rn({ id: e, box: t, message: n, active: r = !1, placement: s = {
965
965
  side: "bottom",
966
966
  offset: 8
967
- }, wide: a = !1 }) {
968
- let o = a ? {
967
+ }, wide: c = !1 }) {
968
+ let l = c ? {
969
969
  left: t.left,
970
970
  top: t.top + t.height + 1
971
971
  } : {
@@ -982,12 +982,12 @@ function rn({ id: e, box: t, message: n, active: r = !1, placement: i = {
982
982
  "aria-hidden": "true",
983
983
  "data-slot": "pdf-form-field-error",
984
984
  className: jt,
985
- style: o,
985
+ style: l,
986
986
  children: /* @__PURE__ */ k(we, { className: "size-4" })
987
987
  }),
988
- /* @__PURE__ */ A(d, {
988
+ /* @__PURE__ */ A(o, {
989
989
  open: r,
990
- children: [/* @__PURE__ */ k(l, {
990
+ children: [/* @__PURE__ */ k(i, {
991
991
  asChild: !0,
992
992
  children: /* @__PURE__ */ k("span", {
993
993
  "aria-hidden": "true",
@@ -999,12 +999,12 @@ function rn({ id: e, box: t, message: n, active: r = !1, placement: i = {
999
999
  height: t.height
1000
1000
  }
1001
1001
  })
1002
- }), /* @__PURE__ */ A(u, {
1002
+ }), /* @__PURE__ */ A(a, {
1003
1003
  arrow: !0,
1004
1004
  variant: "outlined",
1005
- side: i.side,
1005
+ side: s.side,
1006
1006
  align: "start",
1007
- sideOffset: i.offset,
1007
+ sideOffset: s.offset,
1008
1008
  "aria-hidden": "true",
1009
1009
  "data-slot": "pdf-form-error-bubble",
1010
1010
  className: "flex w-auto max-w-56 sm:max-w-64 items-start gap-2 p-3 text-sm",
package/dist/pdf-form.js CHANGED
@@ -1,6 +1,6 @@
1
- import { t as e } from "./use-material-translation-eYySryw3.js";
1
+ import { t as e } from "./use-material-translation-ZEUtduro.js";
2
2
  import { a as t, d as n, n as r, t as i, u as a } from "./use-field-blur-QH8hNCj5.js";
3
- import { C as o, S as s, T as c, _ as l, a as u, b as d, c as f, d as p, f as m, g as h, h as g, i as _, l as v, m as y, o as b, p as x, r as S, s as C, t as w, u as T, v as E, w as D, x as O, y as k } from "./pdf-form-filler-DgH52W2Q.js";
3
+ import { C as o, S as s, T as c, _ as l, a as u, b as d, c as f, d as p, f as m, g as h, h as g, i as _, l as v, m as y, o as b, p as x, r as S, s as C, t as w, u as T, v as E, w as D, x as O, y as k } from "./pdf-form-filler-Ct4eexhZ.js";
4
4
  import { useCallback as A, useMemo as j, useRef as M } from "react";
5
5
  import { jsx as N, jsxs as P } from "react/jsx-runtime";
6
6
  //#region lib/pdf-form/filler/partials/form-field-gate.ts
@@ -1,22 +1,22 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { c as t } from "./spinner-BpH9tE8R.js";
3
- import { c as n, d as r, f as i, i as a, l as o, n as s, o as c, t as l, u } from "./dropdown-menu-BoJC2DEH.js";
4
- import { t as d } from "./scroll-area-B3XstZU2.js";
5
- import { a as f, f as p, i as m, o as h } from "./toolbar-keep-focus-Vc5V-dX2.js";
6
- import { t as g } from "./button-CpUMPIdk.js";
7
- import { t as _ } from "./use-material-translation-eYySryw3.js";
8
- import { t as v } from "./icon-button-GKYj7uC4.js";
9
- import { a as y, c as b, i as ee, n as x, r as te, t as S } from "./toolbar-items-C9uasXZ2.js";
2
+ import { c as t } from "./spinner-DpB6XvJJ.js";
3
+ import { c as n, d as r, f as i, i as a, l as o, n as s, o as c, t as l, u } from "./dropdown-menu-D-PRbHaP.js";
4
+ import { t as d } from "./scroll-area-BxKiT4Dn.js";
5
+ import { a as f, f as p, i as m, o as h } from "./toolbar-keep-focus-C6bnzvpE.js";
6
+ import { t as g } from "./button-RsWgka2v.js";
7
+ import { t as _ } from "./use-material-translation-ZEUtduro.js";
8
+ import { t as v } from "./icon-button-D-gi4Plg.js";
9
+ import { a as y, c as b, i as ee, n as x, r as te, t as S } from "./toolbar-items-zL5TYLf2.js";
10
10
  import { t as ne } from "./useEvent-2fKq-6w8.js";
11
- import { t as re } from "./toolbar-group-BmzGP_JO.js";
12
- import { t as C } from "./toolbar-item-slot-BnqQLkVd.js";
13
- import { t as ie } from "./input-BaBE_MR_.js";
11
+ import { t as re } from "./toolbar-group-bttMdvg4.js";
12
+ import { t as C } from "./toolbar-item-slot-CBn3YjeE.js";
13
+ import { t as ie } from "./input-CWf3Apid.js";
14
14
  import { n as ae } from "./use-slice-reducer-BGkeGtML.js";
15
- import { c as oe, r as se, t as ce } from "./sheet-B8cO1T5K.js";
16
- import { t as le } from "./empty-state-DBSJDLKL.js";
17
- import { l as ue, r as de, t as fe } from "./dialog-CleLsHkZ.js";
18
- import { t as pe } from "./error-state-kauz4If4.js";
19
- import { n as me, t as he } from "./toggle-group-DKN1XLBS.js";
15
+ import { c as oe, r as se, t as ce } from "./sheet-BvNVroog.js";
16
+ import { t as le } from "./empty-state-BylD7RYH.js";
17
+ import { l as ue, r as de, t as fe } from "./dialog-DwUxG2-o.js";
18
+ import { t as pe } from "./error-state-BTe_NzTC.js";
19
+ import { n as me, t as he } from "./toggle-group-DMDjNJWx.js";
20
20
  import { t as ge } from "./client-only.utils-3nHNzCki.js";
21
21
  import { t as _e } from "./use-scroll-away-PQRFZkT2.js";
22
22
  import { createContext as ve, memo as ye, useCallback as w, useContext as be, useEffect as T, useId as xe, useLayoutEffect as E, useMemo as D, useReducer as Se, useRef as O, useState as k, useSyncExternalStore as Ce } from "react";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./pdf-reader-Bilz5foK.js";
2
- import { t } from "./viewer-states-BXyCdNhE.js";
1
+ import { t as e } from "./pdf-reader-khpMMEjU.js";
2
+ import { t } from "./viewer-states-DkaPBkK4.js";
3
3
  import { useState as n } from "react";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region lib/components/ui/media/pdf-reader/pdf-reader-viewer.tsx
@@ -1,10 +1,10 @@
1
- import { t as e } from "./public-I8nb8pCC.js";
1
+ import { t as e } from "./public-u9u2Osmx.js";
2
2
  import { configurePdfReader as t } from "@softistx/material-core/pdf-reader";
3
3
  //#region lib/pdf-reader/viewer.ts
4
4
  var n = {
5
5
  id: "pdf-reader",
6
6
  accepts: (e) => e.kind === "pdf" || e.family === "pdf",
7
- load: () => import("./pdf-reader-viewer-DwQP2IpV.js")
7
+ load: () => import("./pdf-reader-viewer-B3_TdFOn.js")
8
8
  };
9
9
  function r() {
10
10
  return n;
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./label-DyK0TmBd.js";
3
- import { t as n } from "./use-material-translation-eYySryw3.js";
3
+ import { t as n } from "./use-material-translation-ZEUtduro.js";
4
4
  import { n as r } from "./field-blur-context-DRjpIam5.js";
5
5
  import { t as i } from "./helper-text-BUgvZUy4.js";
6
- import { a, l as o, r as s } from "./currency-field-UIkYAlvP.js";
6
+ import { a, l as o, r as s } from "./currency-field-Bd9od1Ee.js";
7
7
  import { useId as c } from "react";
8
8
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
9
9
  import { LockIcon as d } from "lucide-react";
@@ -2,10 +2,10 @@ import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { n as t } from "./use-portal-container-DIbEFxRE.js";
3
3
  import { i as n, t as r } from "./use-inert-others-C2jaI7YC.js";
4
4
  import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d, t as f, u as p } from "./use-return-focus-DoGVhasC.js";
5
- import { i as m, o as h, r as g, t as _ } from "./popover-DwsaHFrK.js";
6
- import { t as v } from "./use-material-translation-eYySryw3.js";
5
+ import { i as m, o as h, r as g, t as _ } from "./popover-osl5duoA.js";
6
+ import { t as v } from "./use-material-translation-ZEUtduro.js";
7
7
  import { n as y } from "./icon-button.variants-CDJNrGgY.js";
8
- import { t as b } from "./icon-button-GKYj7uC4.js";
8
+ import { t as b } from "./icon-button-D-gi4Plg.js";
9
9
  import { t as x } from "./use-ssr-media-query-BSBGww0x.js";
10
10
  import { t as S } from "./button-group-reset-DcTj6GwJ.js";
11
11
  import * as ee from "react";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { o as t, r as n } from "./dist-DVRQkaTK.js";
3
3
  import { a as r, i, n as a } from "./dist-BpL4VNX6.js";
4
- import { d as o, f as s, h as c, m as l, p as u } from "./spinner-BpH9tE8R.js";
4
+ import { d as o, f as s, h as c, m as l, p as u } from "./spinner-DpB6XvJJ.js";
5
5
  import { n as d } from "./dist-xkPAZeNa.js";
6
6
  import { i as f, n as p, o as m, r as h, s as g } from "./use-portal-container-DIbEFxRE.js";
7
7
  import { c as ee, i as _, l as v, o as y, r as te, s as b, t as x } from "./use-inert-others-C2jaI7YC.js";
@@ -0,0 +1,11 @@
1
+ import { t as e } from "./use-portal-container-DIbEFxRE.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region lib/components/ui/primitives/portal-container-provider/portal-container-provider.tsx
4
+ function n({ container: n, children: r }) {
5
+ return /* @__PURE__ */ t(e.Provider, {
6
+ value: n ?? null,
7
+ children: r
8
+ });
9
+ }
10
+ //#endregion
11
+ export { n as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./use-material-translation-eYySryw3.js";
1
+ import { t as e } from "./use-material-translation-ZEUtduro.js";
2
2
  import { n as t } from "./calculator-context-BugcKuVG.js";
3
3
  import { t as n } from "./calculator-announce-2-evm09M.js";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { t } from "./use-material-translation-eYySryw3.js";
3
- import { t as n } from "./icon-button-GKYj7uC4.js";
2
+ import { t } from "./use-material-translation-ZEUtduro.js";
3
+ import { t as n } from "./icon-button-D-gi4Plg.js";
4
4
  import { n as r } from "./calculator-context-BugcKuVG.js";
5
- import { a as i, n as a, r as o, t as s } from "./pos-types-CKDG7pZA.js";
5
+ import { a as i, n as a, r as o, t as s } from "./pos-types-BPPae99i.js";
6
6
  import { o as c, r as l, t as u } from "./key-layout-D2goCDkD.js";
7
7
  import { n as d, t as f } from "./currency-VFkaXNAP.js";
8
- import { t as p } from "./calculator-segment-DCHWZy6b.js";
8
+ import { t as p } from "./calculator-segment-Ckn9Fua9.js";
9
9
  import { useId as m, useState as h } from "react";
10
10
  import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
11
11
  import { ChevronDown as y, X as b } from "lucide-react";
package/dist/print.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as e, t } from "./translate-material-C-qVvGLn.js";
1
+ import { i as e, t } from "./translate-material-DZNgWjYu.js";
2
2
  import { n, t as r } from "./module-count-CtIW8tNn.js";
3
3
  import { Children as i, createContext as a, isValidElement as o, useCallback as s, useContext as c, useEffect as l, useMemo as u, useRef as d, useState as f } from "react";
4
4
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
- import { t as e } from "./use-material-translation-eYySryw3.js";
1
+ import { t as e } from "./use-material-translation-ZEUtduro.js";
2
2
  import { t } from "./toggle-CFEnOiVR.js";
3
3
  import { n } from "./calculator-context-BugcKuVG.js";
4
4
  import { o as r, r as i, t as a } from "./key-layout-D2goCDkD.js";
5
5
  import { t as o } from "./programmer-word-CNCF7DJF.js";
6
- import { t as s } from "./calculator-segment-DCHWZy6b.js";
6
+ import { t as s } from "./calculator-segment-Ckn9Fua9.js";
7
7
  import { useId as c, useState as l } from "react";
8
8
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
9
9
  import { calculate as f, formatExpression as p, sessionOptions as m, toCanonical as h, tokenize as g } from "@softistx/material-core/calculator";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { t } from "./use-material-translation-eYySryw3.js";
3
- import { a as n, i as r, l as i, t as a } from "./progress-linear-BOJbHnzd.js";
2
+ import { t } from "./use-material-translation-ZEUtduro.js";
3
+ import { a as n, i as r, l as i, t as a } from "./progress-linear-CTJ_U6kY.js";
4
4
  import { useId as o, useMemo as s } from "react";
5
5
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
6
  //#region lib/components/ui/feedback/progress/progress-segments.ts
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { t } from "./use-material-translation-eYySryw3.js";
2
+ import { t } from "./use-material-translation-ZEUtduro.js";
3
3
  import { t as n } from "./compose-refs-G4J4kaUA.js";
4
4
  import { useEffect as r, useId as i, useMemo as a, useRef as o } from "react";
5
5
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,14 +1,14 @@
1
1
  import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
2
- import { u as t } from "./dropdown-menu-BoJC2DEH.js";
3
- import { t as n } from "./use-material-translation-eYySryw3.js";
4
- import { r } from "./toolbar-items-C9uasXZ2.js";
5
- import { c as i, r as a, t as o } from "./pdf-reader-Bilz5foK.js";
6
- import { n as s, t as c } from "./size-slot-D1cKqb09.js";
2
+ import { u as t } from "./dropdown-menu-D-PRbHaP.js";
3
+ import { t as n } from "./use-material-translation-ZEUtduro.js";
4
+ import { r } from "./toolbar-items-zL5TYLf2.js";
5
+ import { c as i, r as a, t as o } from "./pdf-reader-khpMMEjU.js";
6
+ import { n as s, t as c } from "./size-slot-Cb-W2Zm4.js";
7
7
  import { Suspense as l, lazy as u, useCallback as d, useEffect as f, useState as p } from "react";
8
8
  import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
9
9
  import { PenLine as _ } from "lucide-react";
10
10
  //#region lib/components/ui/media/pdf-reader/partials/filling-view.tsx
11
- var v = u(() => import("./pdf-form-filler-DgH52W2Q.js").then((e) => e.n).then((e) => ({ default: e.PdfFormFiller })));
11
+ var v = u(() => import("./pdf-form-filler-Ct4eexhZ.js").then((e) => e.n).then((e) => ({ default: e.PdfFormFiller })));
12
12
  function y(e, t) {
13
13
  let n = URL.createObjectURL(e), r = document.createElement("a");
14
14
  r.href = n, r.download = t, r.click(), setTimeout(() => URL.revokeObjectURL(n), 0);
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./is-production-GLw59WU8.js";
2
- import { t } from "./file-preview-host-RhZvGGqC.js";
3
- import { n, t as r } from "./viewer-states-BXyCdNhE.js";
2
+ import { t } from "./file-preview-host-CM4pV3ZD.js";
3
+ import { n, t as r } from "./viewer-states-DkaPBkK4.js";
4
4
  import { n as i } from "./file-manager-context-Cj4-ZGI5.js";
5
5
  import { useEffect as a, useState as o } from "react";
6
6
  import { jsx as s } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
- import { i as e } from "./spinner-BpH9tE8R.js";
1
+ import { i as e } from "./spinner-DpB6XvJJ.js";
2
2
  import { n as t } from "./use-portal-container-DIbEFxRE.js";
3
- import { c as n, n as r, t as i } from "./dropdown-menu-BoJC2DEH.js";
4
- import { t as a } from "./use-material-translation-eYySryw3.js";
3
+ import { c as n, n as r, t as i } from "./dropdown-menu-D-PRbHaP.js";
4
+ import { t as a } from "./use-material-translation-ZEUtduro.js";
5
5
  import { a as o, i as s, n as c } from "./languages-CW0qXNom.js";
6
- import { n as l, t as u } from "./code-language-items-CW8_Si05.js";
6
+ import { n as l, t as u } from "./code-language-items-DDFuDf_E.js";
7
7
  import { i as d, n as f, r as p, s as m } from "./dist-NniNvevh.js";
8
8
  import { t as h } from "./code-block-spec-CGLKRhwD.js";
9
9
  import { Suspense as g, lazy as _, useEffect as v, useRef as y, useState as b } from "react";
@@ -145,7 +145,7 @@ function N({ node: e, editor: t, updateAttributes: n, editable: r, wrap: i, onWr
145
145
  }
146
146
  //#endregion
147
147
  //#region lib/components/ui/widgets/editor/extensions/code/code-block-open.tsx
148
- var P = _(() => import("./code-editor-nNcxtslA.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
148
+ var P = _(() => import("./code-editor-gHHXEwF-.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
149
149
  function F() {
150
150
  let { t: e } = a();
151
151
  return /* @__PURE__ */ x("div", {