@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
@@ -2,7 +2,7 @@
2
2
  * `@softistx/material/image-editor` — the lean entry for the photo editor in a
3
3
  * widget embedded in a third-party page, usually inside a Shadow DOM: the
4
4
  * `ImageEditor` and `ImageMarkupEditor`, a preset for annotating a screenshot
5
- * (pen, highlighter, arrow, rectangle, text and redaction; adjust, filters,
5
+ * (pen, highlighter, arrow, rectangle, text, numbered step markers and redaction; adjust, filters,
6
6
  * crop and download hidden, the image decoded with `createImageBitmap` so a
7
7
  * page whose CSP `img-src` is `'self'` can still edit a `Blob`).
8
8
  *
package/dist/lib.js CHANGED
@@ -1,38 +1,20 @@
1
1
  import { n as e, r as t, t as n } from "./ui.utils-Dcwv--mL.js";
2
2
  import { t as r } from "./utils-BLfntITJ.js";
3
3
  import { h as i, t as a } from "./get-CTzJAwfc.js";
4
- import { _ as o, a as ee, b as s, c, d as l, f as u, g as te, h as ne, i as re, l as ie, m as ae, n as oe, o as se, p as d, r as f, s as p, t as m, u as h, v as g, y as _ } from "./async-slice-C5HfFq1M.js";
5
- import { n as v, r as y, t as b } from "./use-slice-reducer-BGkeGtML.js";
6
- import { n as x, t as S } from "./date.utils-JTEIo3mM.js";
7
- import { t as C } from "./number.utils-CSueQZcv.js";
8
- import { t as w } from "./client-only.utils-3nHNzCki.js";
9
- import { useCallback as T } from "react";
10
- import { getCspNonce as E, setCspNonce as D } from "@softistx/material-core/csp-nonce";
11
- import { createSlice as O } from "@reduxjs/toolkit";
12
- import { createFormatters as k, formatAmount as A, formatDate as j, formatDateTime as M, formatTime as N } from "@softistx/material-core/print-format";
13
- import { PRINT_ATTRIBUTE as P, PRINT_TARGET_ATTRIBUTE as F, printOnly as I } from "@softistx/material-core/print-only";
14
- import { CSP_NONCE_PLACEHOLDER as L, ZOD_JITLESS_SCRIPT as ce, applyCspNonce as R, createCspNonce as z, cspHash as B, cspPolicy as V, zodJitlessTag as H } from "@softistx/material-core/csp";
15
- //#region lib/lib/adopt-styles.ts
16
- function U(e, t) {
17
- let n = W.get(e) ?? /* @__PURE__ */ new Map();
18
- W.set(e, n);
19
- let r = n.get(t);
20
- if (r) return r;
21
- let i = G(e, t), a = () => {
22
- i(), n.delete(t);
23
- };
24
- return n.set(t, a), a;
25
- }
26
- var W = /* @__PURE__ */ new WeakMap();
27
- function G(e, t) {
28
- let n = new CSSStyleSheet();
29
- return n.replaceSync(t), e.adoptedStyleSheets = [...e.adoptedStyleSheets, n], () => {
30
- e.adoptedStyleSheets = e.adoptedStyleSheets.filter((e) => e !== n);
31
- };
32
- }
33
- //#endregion
4
+ import { _ as o, a as ee, b as s, c, d as l, f as u, g as te, h as ne, i as re, l as ie, m as ae, n as oe, o as d, p as f, r as p, s as m, t as h, u as g, v as _, y as v } from "./async-slice-DdEr7vFx.js";
5
+ import { n as y, r as b, t as x } from "./use-slice-reducer-BGkeGtML.js";
6
+ import { n as S, t as C } from "./date.utils-JTEIo3mM.js";
7
+ import { t as w } from "./number.utils-CSueQZcv.js";
8
+ import { t as T } from "./client-only.utils-3nHNzCki.js";
9
+ import { t as E } from "./adopt-styles-C3MfGnxE.js";
10
+ import { useCallback as D } from "react";
11
+ import { getCspNonce as O, setCspNonce as k } from "@softistx/material-core/csp-nonce";
12
+ import { createSlice as A } from "@reduxjs/toolkit";
13
+ import { createFormatters as j, formatAmount as M, formatDate as N, formatDateTime as P, formatTime as F } from "@softistx/material-core/print-format";
14
+ import { PRINT_ATTRIBUTE as I, PRINT_TARGET_ATTRIBUTE as L, printOnly as se } from "@softistx/material-core/print-only";
15
+ import { CSP_NONCE_PLACEHOLDER as R, ZOD_JITLESS_SCRIPT as z, applyCspNonce as B, createCspNonce as V, cspHash as H, cspPolicy as U, zodJitlessTag as W } from "@softistx/material-core/csp";
34
16
  //#region lib/lib/array.utils.ts
35
- function le(e) {
17
+ function G(e) {
36
18
  return Array.from(new Set(e));
37
19
  }
38
20
  function K(e, t, n) {
@@ -43,16 +25,16 @@ function q(e, t, n) {
43
25
  }
44
26
  function J(e, t) {
45
27
  return {
46
- findByKey: T((n) => K(e, t, n), [e, t]),
47
- findByKeyIn: T((n) => q(e, t, n), [e, t])
28
+ findByKey: D((n) => K(e, t, n), [e, t]),
29
+ findByKeyIn: D((n) => q(e, t, n), [e, t])
48
30
  };
49
31
  }
50
- function ue(e) {
32
+ function ce(e) {
51
33
  return J(e, "id");
52
34
  }
53
35
  //#endregion
54
36
  //#region lib/lib/build-field-options.ts
55
- function de(e, { valueKey: t, label: n }) {
37
+ function le(e, { valueKey: t, label: n }) {
56
38
  return e.map((e) => ({
57
39
  value: a(e, t),
58
40
  label: typeof n == "function" ? n(e) : a(e, n)
@@ -60,32 +42,32 @@ function de(e, { valueKey: t, label: n }) {
60
42
  }
61
43
  //#endregion
62
44
  //#region lib/lib/format.utils.ts
63
- function fe(e, t) {
45
+ function ue(e, t) {
64
46
  return e?.length ? e : t;
65
47
  }
66
- function pe(e, t) {
48
+ function de(e, t) {
67
49
  return e?.length ? e : t;
68
50
  }
69
- function me(e) {
51
+ function fe(e) {
70
52
  let t = new FormData();
71
53
  return typeof e == "object" && Object.entries(e).forEach(([e, n]) => {
72
- _(n) || t.append(e, n);
54
+ v(n) || t.append(e, n);
73
55
  }), t;
74
56
  }
75
- function he(e) {
57
+ function pe(e) {
76
58
  let t = {};
77
59
  for (let [n, r] of e.entries()) t[n] = r;
78
60
  return t;
79
61
  }
80
62
  //#endregion
81
63
  //#region lib/lib/promise.utils.ts
82
- function ge(e) {
64
+ function me(e) {
83
65
  return new Promise((t) => setTimeout(t, e));
84
66
  }
85
67
  //#endregion
86
68
  //#region lib/lib/redux/filter-slice.ts
87
- function _e({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) {
88
- return O({
69
+ function he({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) {
70
+ return A({
89
71
  name: e,
90
72
  initialState: t,
91
73
  reducers: (e) => ({
@@ -109,7 +91,7 @@ function _e({ name: e, initialState: t, reducers: n = void 0, selectors: r = {}
109
91
  }
110
92
  //#endregion
111
93
  //#region lib/lib/redux/status-slice.ts
112
- var ve = ({ name: e, initialState: t = { status: "idle" }, reducers: n = {}, selectors: r = {} }) => O({
94
+ var ge = ({ name: e, initialState: t = { status: "idle" }, reducers: n = {}, selectors: r = {} }) => A({
113
95
  name: e,
114
96
  initialState: t,
115
97
  reducers: {
@@ -128,7 +110,7 @@ var ve = ({ name: e, initialState: t = { status: "idle" }, reducers: n = {}, sel
128
110
  ...n
129
111
  },
130
112
  selectors: { ...r }
131
- }), ye = ({ name: e, initialState: t, reducers: n = {}, selectors: r = {} }) => O({
113
+ }), _e = ({ name: e, initialState: t, reducers: n = {}, selectors: r = {} }) => A({
132
114
  name: e,
133
115
  initialState: t,
134
116
  reducers: {
@@ -179,7 +161,7 @@ function Q(e) {
179
161
  console.warn(`Failed to remove state for key "${e}":`, t);
180
162
  }
181
163
  }
182
- var be = {
164
+ var ve = {
183
165
  safeGetItem: X,
184
166
  safeSetItem: Z,
185
167
  safeRemoveItem: Q
@@ -188,7 +170,7 @@ var be = {
188
170
  step: 0,
189
171
  values: {}
190
172
  };
191
- function xe(e, t) {
173
+ function ye(e, t) {
192
174
  if (typeof localStorage > "u") return t();
193
175
  let n = X(e, null);
194
176
  if (!n || typeof n.step != "number" || typeof n.values != "object" || n.values === null) return t();
@@ -202,7 +184,7 @@ function xe(e, t) {
202
184
  }
203
185
  };
204
186
  }
205
- function Se(e, t, n) {
187
+ function be(e, t, n) {
206
188
  return {
207
189
  updateStep: e.reducer((e, n) => {
208
190
  e.step = typeof n.payload == "function" ? n.payload(e.step) : n.payload, Z(t, e);
@@ -218,27 +200,27 @@ function Se(e, t, n) {
218
200
  })
219
201
  };
220
202
  }
221
- var Ce = ({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) => {
203
+ var xe = ({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) => {
222
204
  let i = () => ({
223
205
  ...$,
224
206
  values: t ?? $.values
225
- }), a = O({
207
+ }), a = A({
226
208
  name: e,
227
- initialState: () => xe(e, i),
209
+ initialState: () => ye(e, i),
228
210
  reducers: (t) => ({
229
- ...Se(t, e, i),
211
+ ...be(t, e, i),
230
212
  ...n?.(t)
231
213
  }),
232
214
  selectors: { ...r }
233
215
  });
234
- return y(a, i), a;
235
- }, we = { colorFromVariable(e, t = 1) {
216
+ return b(a, i), a;
217
+ }, Se = { colorFromVariable(e, t = 1) {
236
218
  return `rgb(from var(--${e}) r g b / ${t})`;
237
- } }, Te = (e, t = "files") => {
219
+ } }, Ce = (e, t = "files") => {
238
220
  let n = new FormData();
239
221
  return (i(e) ? e.filter(Boolean) : [e]).forEach((e) => {
240
222
  n.append(t, e, e.name);
241
223
  }), n;
242
224
  };
243
225
  //#endregion
244
- export { L as CSP_NONCE_PLACEHOLDER, S as DATE_UTILS, be as LOCALE_STORE_UTILS, P as PRINT_ATTRIBUTE, F as PRINT_TARGET_ATTRIBUTE, ae as STRING_UTILS, we as STYLES_UTILS, ce as ZOD_JITLESS_SCRIPT, U as adoptStyles, R as applyCspNonce, de as buildFieldOptions, ie as cast, h as castAsync, l as cleanObject, w as clientOnly, r as cn, Te as convertToFormData, m as createAsyncSlice, z as createCspNonce, k as createFormatters, _e as createSliceWithFilter, ve as createStatusSlice, ye as createStatusesSlice, Ce as createStepFormSlice, B as cspHash, V as cspPolicy, ge as delay, ne as enumToKebabCase, K as findByKey, q as findByKeyIn, he as formDataToObject, A as formatAmount, j as formatDate, x as formatDateRangeFilter, M as formatDateTime, C as formatNumber, N as formatTime, E as getCspNonce, n as hasNode, pe as ifEmptyList, fe as ifEmptyString, ee as isExternalHref, te as joinTruthyParts, me as objectToFormData, u as omit, f as parsedType, d as pick, I as printOnly, e as renderSlot, b as resolveSliceState, X as safeGetItem, Q as safeRemoveItem, Z as safeSetItem, se as searchParam, p as searchParams, D as setCspNonce, o as slugify, g as splitMatch, t as titleLinesClass, le as uniqueArray, oe as useActions, ue as useFindById, J as useFindByKey, v as useSliceReducer, c as useSliceSelector, H as zodJitlessTag, re as zodLocaleError };
226
+ export { R as CSP_NONCE_PLACEHOLDER, C as DATE_UTILS, ve as LOCALE_STORE_UTILS, I as PRINT_ATTRIBUTE, L as PRINT_TARGET_ATTRIBUTE, ae as STRING_UTILS, Se as STYLES_UTILS, z as ZOD_JITLESS_SCRIPT, E as adoptStyles, B as applyCspNonce, le as buildFieldOptions, ie as cast, g as castAsync, l as cleanObject, T as clientOnly, r as cn, Ce as convertToFormData, h as createAsyncSlice, V as createCspNonce, j as createFormatters, he as createSliceWithFilter, ge as createStatusSlice, _e as createStatusesSlice, xe as createStepFormSlice, H as cspHash, U as cspPolicy, me as delay, ne as enumToKebabCase, K as findByKey, q as findByKeyIn, pe as formDataToObject, M as formatAmount, N as formatDate, S as formatDateRangeFilter, P as formatDateTime, w as formatNumber, F as formatTime, O as getCspNonce, n as hasNode, de as ifEmptyList, ue as ifEmptyString, ee as isExternalHref, te as joinTruthyParts, fe as objectToFormData, u as omit, p as parsedType, f as pick, se as printOnly, e as renderSlot, x as resolveSliceState, X as safeGetItem, Q as safeRemoveItem, Z as safeSetItem, d as searchParam, m as searchParams, k as setCspNonce, o as slugify, _ as splitMatch, t as titleLinesClass, G as uniqueArray, oe as useActions, ce as useFindById, J as useFindByKey, y as useSliceReducer, c as useSliceSelector, W as zodJitlessTag, re as zodLocaleError };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { a as t, c as n, i as r, r as i, s as a, t as o } from "./sheet-B8cO1T5K.js";
2
+ import { a as t, c as n, i as r, r as i, s as a, t as o } from "./sheet-BvNVroog.js";
3
3
  import { useState as s } from "react";
4
4
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
5
5
  //#region lib/map/selected-row.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 { formatNumber as n, morphSequence as r, shapeOutline as i, toSvgPath as a } from "@softistx/material-core/shapes";
4
4
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
5
5
  //#region lib/components/ui/feedback/loading-indicator/loading-indicator-frames.ts