@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.
- package/CHANGELOG.md +34 -0
- package/README.md +8 -4
- package/dist/adopt-styles-C3MfGnxE.js +20 -0
- package/dist/{async-slice-C5HfFq1M.js → async-slice-DdEr7vFx.js} +1 -1
- package/dist/{audio-player-2kKst8lH.js → audio-player-DMYszRGT.js} +3 -3
- package/dist/{audio-player-viewer-D9DsYBcy.js → audio-player-viewer-z13yCjo4.js} +2 -2
- package/dist/{autocomplete-JuRCjl48.js → autocomplete-Bgf_AJ6U.js} +11 -11
- package/dist/{avatar-CvvdaBu4.js → avatar-WvTropuJ.js} +1 -1
- package/dist/blank-placeholder-DZIFJ0DG.js +17 -0
- package/dist/{breadcrumb-DacRqg91.js → breadcrumb-DYa6pVsq.js} +5 -5
- package/dist/{button-CpUMPIdk.js → button-RsWgka2v.js} +1 -1
- package/dist/{calculator-BYgFgWHL.js → calculator-DPHCuAZy.js} +11 -11
- package/dist/calculator-field.js +6 -6
- package/dist/{calculator-segment-DCHWZy6b.js → calculator-segment-Ckn9Fua9.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/canvas-BShNj4yp.js +144 -0
- package/dist/capture-outputs-qcYUPW6K.js +174 -0
- package/dist/capture-toolbar.css +2 -0
- package/dist/capture-toolbar.js +858 -0
- package/dist/capture.js +53 -139
- package/dist/charts.js +3 -3
- package/dist/{chip-CjJPmAYO.js → chip-tyDM0lpO.js} +2 -2
- package/dist/{code-editor-nNcxtslA.js → code-editor-gHHXEwF-.js} +6 -6
- package/dist/code-editor.js +6 -6
- package/dist/{code-file-viewer-CcESl49v.js → code-file-viewer-CYQcskvt.js} +4 -4
- package/dist/{code-language-items-CW8_Si05.js → code-language-items-DDFuDf_E.js} +2 -2
- package/dist/{components-BdMaUeOm.js → components-DUvKQIBi.js} +16714 -20832
- package/dist/components.js +83 -79
- package/dist/{confirm-dialog-B2eonW2X.js → confirm-dialog-IHvPA3O2.js} +4 -4
- package/dist/{conversion-variant-DZm_xgUK.js → conversion-variant-MWTjnFnG.js} +5 -5
- package/dist/{currency-field-UIkYAlvP.js → currency-field-Bd9od1Ee.js} +5 -5
- package/dist/{detail-panel-header-CL2_tUG0.js → detail-panel-header-D2a63Sk3.js} +1 -1
- package/dist/{details-content-CPzj3vUr.js → details-content-CnN_ukTA.js} +6 -6
- package/dist/{details-header-band-D-CyB_Xx.js → details-header-band-wcgmC7qC.js} +5 -5
- package/dist/{details-host-BvYgFIWx.js → details-host-DKEaGH4P.js} +1 -1
- package/dist/{details-sheet-D4PTV_jR.js → details-sheet-CtNM4oDU.js} +2 -2
- package/dist/{details-shell-D4XoPRBu.js → details-shell-DZ80h6mN.js} +1 -1
- package/dist/{dialog-CleLsHkZ.js → dialog-DwUxG2-o.js} +1 -1
- package/dist/{dialog-app-bar-CLC990e6.js → dialog-app-bar-BsJ4UwKb.js} +2 -2
- package/dist/dist-Cb17ixQs.js +16 -0
- package/dist/dist-CyqFzDZ6.js +11 -0
- package/dist/dnd.js +1 -1
- package/dist/draw.js +1 -1
- package/dist/{drop-overlay-BTkVfscF.js → drop-overlay-B26hx0-T.js} +2 -2
- package/dist/{dropdown-menu-BoJC2DEH.js → dropdown-menu-D-PRbHaP.js} +1 -1
- package/dist/{editable-section-CTRGfbLJ.js → editable-section-DPmF1flG.js} +3 -3
- package/dist/editor.js +14 -14
- package/dist/embed-chunks/{avatar-GlGqPU7B.js → avatar-CSDtFCum.js} +1 -1
- package/dist/embed-chunks/{dist-BrYZYfsJ.js → dist-BVPJSDov.js} +2 -2
- package/dist/embed-chunks/{emoji-picker-BSYBi_C8.js → emoji-picker-CrIXB9pF.js} +23 -23
- package/dist/embed-chunks/{mention-list-NW43QcRq.js → mention-list-9hwOYNND.js} +3 -3
- package/dist/embed-chunks/{nxgt-theme-provider-B1aeqDja.js → nxgt-theme-provider-Cjl7Eb8v.js} +703 -592
- package/dist/embed-chunks/switch-control-BrwJRN_V.js +207 -0
- package/dist/embed-chunks/{tabs-root-CY-uLp1C.js → tabs-root-BvPc1aaV.js} +6 -6
- package/dist/embed-chunks/{use-shape-morph-NrJQMv7i.js → use-shape-morph-D1MOoQ4T.js} +110 -2
- package/dist/embed-chunks/{useLatest-B57qw3XH.js → useLatest-CbcU5ozz.js} +323 -323
- package/dist/embed.css +2 -2
- package/dist/embed.js +1280 -741
- package/dist/{emoji-picker-DZbTd3Fr.js → emoji-picker-DabgsEVQ.js} +7 -7
- package/dist/{empty-state-DBSJDLKL.js → empty-state-BylD7RYH.js} +1 -1
- package/dist/{error-state-kauz4If4.js → error-state-BTe_NzTC.js} +2 -2
- package/dist/fab-DUnGwNE7.js +41 -0
- package/dist/fab-dock-By2pLVh7.js +49 -0
- package/dist/{feature-popup-CcXMGFES.js → feature-popup-CW7VS2fx.js} +1 -1
- package/dist/{blank-placeholder-DeDn5Xor.js → field-box-BXN-uyrv.js} +1 -16
- package/dist/{field-group-BpV74Ttu.js → field-group-B2Ozd5Jn.js} +1 -1
- package/dist/{file-dialogs-CbdvmY__.js → file-dialogs-CgEXaCev.js} +7 -7
- package/dist/{file-manager-shell-DLaJ5Z_L.js → file-manager-shell-Tqduf5lh.js} +21 -21
- package/dist/{file-preview-host-RhZvGGqC.js → file-preview-host-CM4pV3ZD.js} +2367 -2384
- package/dist/{file-viewer-body-DM3RkXGn.js → file-viewer-body-DrWFmnp4.js} +3 -3
- package/dist/{file-viewer-dialog-impl-ei5EYj8k.js → file-viewer-dialog-impl-DZpuZZ7x.js} +2 -2
- package/dist/files-drop.js +1 -1
- package/dist/files-picker.js +8 -8
- package/dist/files.js +3 -3
- package/dist/{financial-variant-BNdOqzA5.js → financial-variant-ljdP0JL4.js} +5 -5
- package/dist/{flow-diagram-BBB6r8--.js → flow-diagram-DwUnyl0u.js} +1 -1
- package/dist/{gallery-CIIJHpmj.js → gallery-DfN2KE4Y.js} +11 -11
- package/dist/{gallery-file-viewer-DkshswFr.js → gallery-file-viewer-BfFWfLIF.js} +3 -3
- package/dist/{gl-markers-abqcNuYT.js → gl-markers-CBNFeWIk.js} +3 -3
- package/dist/{hooks-D6lOSXA5.js → hooks-DiAhgchz.js} +3 -3
- package/dist/hooks.js +3 -3
- package/dist/i18n.js +3 -3
- package/dist/{icon-button-GKYj7uC4.js → icon-button-D-gi4Plg.js} +1 -1
- package/dist/image-editor-mmhbsqs-.js +4423 -0
- package/dist/image-editor.css +1 -1
- package/dist/image-editor.js +1157 -996
- package/dist/image-markup-editor-D-QkZWKf.js +24 -0
- package/dist/input-CWf3Apid.js +18 -0
- package/dist/input-box-moFuoMt0.js +15 -0
- package/dist/{input-group-CKO68Pyi.js → input-group-Bb8sAFRF.js} +3 -2
- package/dist/{item-details-l_-rk3Hj.js → item-details-BWdHMfsS.js} +7 -7
- package/dist/keypad.js +2 -2
- package/dist/lib/capture/engine/canvas.d.ts +17 -0
- package/dist/lib/capture/engine/capture.d.ts +19 -0
- package/dist/lib/capture/engine/filters.d.ts +27 -0
- package/dist/lib/capture/engine/rect.d.ts +26 -0
- package/dist/lib/capture/engine/types.d.ts +66 -0
- package/dist/lib/capture/index.d.ts +16 -0
- package/dist/lib/capture/modes/capture-mode.d.ts +24 -0
- package/dist/lib/capture/modes/countdown.d.ts +16 -0
- package/dist/lib/capture/modes/full-page.d.ts +14 -0
- package/dist/lib/capture/modes/pick-element.d.ts +22 -0
- package/dist/lib/capture/modes/scroller.d.ts +13 -0
- package/dist/lib/capture/modes/visible.d.ts +3 -0
- package/dist/lib/capture-toolbar/index.d.ts +25 -0
- package/dist/lib/capture-toolbar/lazy-capture-outputs.d.ts +2 -0
- package/dist/lib/capture-toolbar/outputs-encode.d.ts +25 -0
- package/dist/lib/capture-toolbar/outputs.d.ts +38 -0
- package/dist/lib/capture-toolbar/partials/capture-editor.d.ts +11 -0
- package/dist/lib/capture-toolbar/partials/capture-outputs.d.ts +16 -0
- package/dist/lib/capture-toolbar/region-overlay.d.ts +15 -0
- package/dist/lib/capture-toolbar/screen-capture-toolbar.d.ts +31 -0
- package/dist/lib/capture-toolbar/types.d.ts +117 -0
- package/dist/lib/capture-toolbar/use-screen-capture.d.ts +16 -0
- package/dist/lib/components/ui/layout/account-frame/account-frame.d.ts +2 -2
- package/dist/lib/components/ui/media/attachment-list/attachment-list.d.ts +2 -2
- package/dist/lib/components/ui/media/image-editor/image-markup-editor.d.ts +11 -3
- package/dist/lib/components/ui/media/image-editor/types-edits.d.ts +7 -0
- package/dist/lib/components/ui/media/image-editor/types-session.d.ts +1 -1
- package/dist/lib/components/ui/media/image-editor/types.d.ts +8 -0
- package/dist/lib/embed/index.d.ts +6 -1
- package/dist/lib/i18n/resources/resources.d.ts +108 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/image-editor/index.d.ts +1 -1
- package/dist/lib.js +38 -56
- package/dist/{list-sheet-D22J9I-K.js → list-sheet-CejfrKJr.js} +1 -1
- package/dist/{loading-indicator-sDzxZg8f.js → loading-indicator-BBjOF25N.js} +1 -1
- package/dist/main.js +103 -98
- package/dist/{map-draw-DfbfT0eJ.js → map-draw-DyRy9SSV.js} +2 -2
- package/dist/map-draw.js +5 -5
- package/dist/map-static.js +1 -1
- package/dist/{map-view-DAx2zvV-.js → map-view-YfuYD3zS.js} +9 -9
- package/dist/map-zone-events.js +1 -1
- package/dist/map-zone-field.js +7 -7
- package/dist/map.js +10 -10
- package/dist/{marker-button-D7hEvEZD.js → marker-button-CXBaToHp.js} +1 -1
- package/dist/{marker-count-image-CWS3G-k8.js → marker-count-image-DHuzSev9.js} +1 -1
- package/dist/material.css +1 -1
- package/dist/{measure-manual-Bfvu8B_R.js → measure-manual-CcESmV1d.js} +3 -3
- package/dist/{measurement-B-OeWv7j.js → measurement-D2or6yM_.js} +1 -1
- package/dist/{media-player-DGXmWK7W.js → media-player-qW9RXFuO.js} +451 -567
- package/dist/{media-player-viewer-C3vXYcd8.js → media-player-viewer-DozPiF6T.js} +2 -2
- package/dist/{media-surface-BySonDjv.js → media-surface-BJsdNynm.js} +6 -6
- package/dist/{mention-list-BpoZHwO6.js → mention-list-z1wnlJgs.js} +2 -2
- package/dist/{native-select-Dg4bc7aC.js → native-select-BnDOVnER.js} +1 -1
- package/dist/{nxgt-theme-Ob-uFqU_.js → nxgt-theme-EYZ5aFHi.js} +6 -15
- package/dist/nxgt-theme-provider-BPXd3h82.js +40 -0
- package/dist/outputs-DF-aVqUO.js +81 -0
- package/dist/passkey.js +1 -1
- package/dist/{pdf-form-filler-DgH52W2Q.js → pdf-form-filler-Ct4eexhZ.js} +34 -34
- package/dist/pdf-form.js +2 -2
- package/dist/{pdf-reader-Bilz5foK.js → pdf-reader-khpMMEjU.js} +16 -16
- package/dist/{pdf-reader-viewer-DwQP2IpV.js → pdf-reader-viewer-B3_TdFOn.js} +2 -2
- package/dist/pdf-reader.js +2 -2
- package/dist/{percent-field-Ldc7K2wC.js → percent-field-Bu-PmCNR.js} +2 -2
- package/dist/{picker-surface-DZQbBgvA.js → picker-surface-THexE1OU.js} +3 -3
- package/dist/{popover-DwsaHFrK.js → popover-osl5duoA.js} +1 -1
- package/dist/portal-container-provider-fZFUk-ZB.js +11 -0
- package/dist/{pos-types-CKDG7pZA.js → pos-types-BPPae99i.js} +1 -1
- package/dist/{pos-variant-9nhz-ZzW.js → pos-variant-D6bDUqwV.js} +4 -4
- package/dist/print.js +1 -1
- package/dist/{programmer-variant-BzwfeMGC.js → programmer-variant-CDlFE24o.js} +2 -2
- package/dist/{progress-BBfp7sMi.js → progress-DjHnanxA.js} +2 -2
- package/dist/{progress-linear-BOJbHnzd.js → progress-linear-CTJ_U6kY.js} +1 -1
- package/dist/{public-I8nb8pCC.js → public-u9u2Osmx.js} +6 -6
- package/dist/{rendition-stage-A1nHXYrA.js → rendition-stage-BXjQpfKK.js} +2 -2
- package/dist/{rich-code-block-BJERY3N3.js → rich-code-block-DWSzyQRw.js} +5 -5
- package/dist/{scientific-variant-st2NBm1K.js → scientific-variant-DCgApH87.js} +2 -2
- package/dist/{scroll-area-B3XstZU2.js → scroll-area-BxKiT4Dn.js} +155 -164
- package/dist/{search-field-D3AOJr7s.js → search-field-Cgqa2bQf.js} +2 -2
- package/dist/{select-DhfzCkun.js → select-BGhRlBh4.js} +166 -179
- package/dist/{sheet-B8cO1T5K.js → sheet-BvNVroog.js} +1 -1
- package/dist/{signature-dialog-BNLMPgao.js → signature-dialog-x--_QWRB.js} +5 -5
- package/dist/signature.js +1 -1
- package/dist/{site-footer-cta-Cx7zsvkq.js → site-footer-cta-B3Kfqpep.js} +4 -4
- package/dist/{site-footer-link-Di8IMIw0.js → site-footer-link-SFHrO4ld.js} +1 -1
- package/dist/{size-slot-D1cKqb09.js → size-slot-Cb-W2Zm4.js} +1 -1
- package/dist/{sortable-provider-DrLnoygf.js → sortable-provider-KRScvvYx.js} +2 -2
- package/dist/{spinner-BpH9tE8R.js → spinner-DpB6XvJJ.js} +1 -1
- package/dist/switch-c_6OtXzW.js +125 -0
- package/dist/{tabs-root-BUnIfDah.js → tabs-root-C2n3K_Yv.js} +1 -1
- package/dist/{tags-form-BwqR4UVj.js → tags-form-BKB9fP03.js} +5 -5
- package/dist/{text-field-CFCHo07X.js → text-field-Dl7xTxZe.js} +2 -2
- package/dist/{textarea-B_iMDYgM.js → textarea-C3BGZELU.js} +1 -1
- package/dist/{textarea-field-DIOGxyUd.js → textarea-field-mqWhhbis.js} +2 -2
- package/dist/theme-picker.js +5 -4
- package/dist/{theme-toggle-CsBe64lm.js → theme-toggle-K-n5eq0T.js} +3 -3
- package/dist/theme-value-CD2nDrj_.js +12 -0
- package/dist/themes.js +15 -48
- package/dist/{toasts-McZnLRHP.js → toasts-DFLecXh0.js} +5 -5
- package/dist/{toggle-group-DKN1XLBS.js → toggle-group-DMDjNJWx.js} +1 -1
- package/dist/{toolbar-group-BmzGP_JO.js → toolbar-group-bttMdvg4.js} +1 -1
- package/dist/{toolbar-item-slot-BnqQLkVd.js → toolbar-item-slot-CBn3YjeE.js} +1 -1
- package/dist/{toolbar-items-C9uasXZ2.js → toolbar-items-zL5TYLf2.js} +4 -4
- package/dist/{toolbar-keep-focus-Vc5V-dX2.js → toolbar-keep-focus-C6bnzvpE.js} +2 -2
- package/dist/{tracked-layer-CjCXB_O6.js → tracked-layer-CYdLWRK-.js} +4 -4
- package/dist/{translate-material-C-qVvGLn.js → translate-material-DZNgWjYu.js} +1 -1
- package/dist/{translator-BrzI307E.js → translator-CrIFDzAz.js} +110 -2
- package/dist/{tree-DOAs456A.js → tree-CFXDccIe.js} +1 -1
- package/dist/{upload-host-ZpSSql8v.js → upload-host-DDktVohu.js} +9 -8
- package/dist/{use-calculator-keyboard-Ss25SRoM.js → use-calculator-keyboard-BWkYuIw5.js} +1 -1
- package/dist/{use-chat-composer-DopDN-zP.js → use-chat-composer-C1Qlnw2i.js} +20 -20
- package/dist/{use-file-meta-DyJX0JVs.js → use-file-meta-DcfQCh52.js} +1 -1
- package/dist/{use-heading-spy-CA2IAqMe.js → use-heading-spy-B9xEMHbZ.js} +2 -2
- package/dist/use-image-preview-BNq_RQm5.js +20 -0
- package/dist/{use-item-entries-CYbS5otl.js → use-item-entries-BKQHcWFx.js} +1 -1
- package/dist/{use-material-translation-eYySryw3.js → use-material-translation-ZEUtduro.js} +1 -1
- package/dist/{use-media-viewer-DoNdrzhN.js → use-media-viewer-DViJNx75.js} +1 -1
- package/dist/{use-text-preview-BQE4U9cT.js → use-text-preview-Ci97JKKo.js} +2 -2
- package/dist/{use-unsaved-guard-CSfDvdxd.js → use-unsaved-guard-CWlHEvjN.js} +2 -2
- package/dist/{viewer-CXF1dAv0.js → viewer-DDPJOxBt.js} +5 -5
- package/dist/{viewer-stage-class-CpyA8o-M.js → viewer-stage-class-DJ1uod4l.js} +4 -4
- package/dist/{viewer-states-BXyCdNhE.js → viewer-states-DkaPBkK4.js} +3 -3
- package/dist/{virtual-layer-rows-DHy8vAup.js → virtual-layer-rows-DKejQ_Jd.js} +1 -1
- package/dist/visible-B-IFZ4Nv.js +475 -0
- package/docs/components/media-and-files.md +1 -1
- package/docs/components/navigation-and-layout.md +2 -2
- package/docs/guides/capture.md +248 -0
- package/docs/guides/csp.md +1 -1
- package/docs/guides/embed.md +94 -2
- package/docs/roadmap.md +2 -1
- package/docs/troubleshooting.md +56 -0
- package/package.json +18 -1
- package/dist/embed-chunks/bubble-input-yXAeW84_.js +0 -29
- package/dist/embed-chunks/switch-control-ChcowM3u.js +0 -181
- package/dist/fab-dock-DqwbI-5n.js +0 -86
- package/dist/input-BaBE_MR_.js +0 -27
- /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
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
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
|
|
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:
|
|
47
|
-
findByKeyIn:
|
|
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
|
|
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
|
|
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
|
|
45
|
+
function ue(e, t) {
|
|
64
46
|
return e?.length ? e : t;
|
|
65
47
|
}
|
|
66
|
-
function
|
|
48
|
+
function de(e, t) {
|
|
67
49
|
return e?.length ? e : t;
|
|
68
50
|
}
|
|
69
|
-
function
|
|
51
|
+
function fe(e) {
|
|
70
52
|
let t = new FormData();
|
|
71
53
|
return typeof e == "object" && Object.entries(e).forEach(([e, n]) => {
|
|
72
|
-
|
|
54
|
+
v(n) || t.append(e, n);
|
|
73
55
|
}), t;
|
|
74
56
|
}
|
|
75
|
-
function
|
|
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
|
|
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
|
|
88
|
-
return
|
|
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
|
|
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
|
-
}),
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 =
|
|
207
|
+
}), a = A({
|
|
226
208
|
name: e,
|
|
227
|
-
initialState: () =>
|
|
209
|
+
initialState: () => ye(e, i),
|
|
228
210
|
reducers: (t) => ({
|
|
229
|
-
...
|
|
211
|
+
...be(t, e, i),
|
|
230
212
|
...n?.(t)
|
|
231
213
|
}),
|
|
232
214
|
selectors: { ...r }
|
|
233
215
|
});
|
|
234
|
-
return
|
|
235
|
-
},
|
|
216
|
+
return b(a, i), a;
|
|
217
|
+
}, Se = { colorFromVariable(e, t = 1) {
|
|
236
218
|
return `rgb(from var(--${e}) r g b / ${t})`;
|
|
237
|
-
} },
|
|
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 {
|
|
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-
|
|
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-
|
|
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
|