@ark-ui/solid 5.30.0 → 5.32.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/dist/{checkbox.anatomy-CuzDSmDj.d.ts → checkbox.anatomy-YlC7nNXs.d.ts} +1 -1
- package/dist/chunk/{G2THT6E6.js → 25QG5G6C.js} +22 -17
- package/dist/chunk/{Z5ZRFFPU.js → 37BRFTCN.js} +2 -2
- package/dist/chunk/{TWZUCWKG.js → 3EUGCOMV.js} +3 -3
- package/dist/chunk/{5QLLQM7E.js → 3P5T77QU.js} +6 -5
- package/dist/chunk/{G7BHQPOC.js → 3WVUTGI5.js} +1 -1
- package/dist/chunk/{VDRVAOKQ.js → 5ATP7B75.js} +4 -4
- package/dist/chunk/5BSMJBO7.jsx +136 -0
- package/dist/chunk/{GCEYGQPA.jsx → 5GO6NUQR.jsx} +16 -13
- package/dist/chunk/{ZYFWVVTC.js → 5IIB2LYP.js} +83 -23
- package/dist/chunk/{BX734ZD7.js → 5V7JAJ5W.js} +5 -4
- package/dist/chunk/{76KFR2EJ.jsx → 5ZAKDNMV.jsx} +6 -6
- package/dist/chunk/{UHWLTCQZ.jsx → 65QK7XXR.jsx} +6 -3
- package/dist/chunk/{UDBRICA6.js → 6C2FCXTS.js} +3 -3
- package/dist/chunk/{HVXJLFJY.jsx → 6FX4SECK.jsx} +6 -6
- package/dist/chunk/{DBNXBHAT.js → 6QV6SS6W.js} +4 -4
- package/dist/chunk/{DH3KPRGA.jsx → 77IURBLR.jsx} +9 -6
- package/dist/chunk/{OF7DNWIQ.jsx → 7YVDASKP.jsx} +5 -5
- package/dist/chunk/{J5ODILBT.jsx → 7Z6YKSMY.jsx} +15 -13
- package/dist/chunk/{6QF5SDIE.jsx → 7ZEKGJLZ.jsx} +9 -7
- package/dist/chunk/{AH5KB6LR.js → A5BBGDPW.js} +4 -4
- package/dist/chunk/{RYD4Z3LT.jsx → ABFLCPUB.jsx} +5 -5
- package/dist/chunk/{SZNFUIJQ.jsx → ACLCLMIV.jsx} +6 -6
- package/dist/chunk/{NHEM6XZR.jsx → AIK4SKXT.jsx} +7 -7
- package/dist/chunk/{P2OA7NSB.js → BGKLKY77.js} +3 -3
- package/dist/chunk/BTUFV5YJ.jsx +306 -0
- package/dist/chunk/{VRCOVKZM.jsx → BUMQJLFN.jsx} +9 -7
- package/dist/chunk/{3BRVNFB3.js → BVQ6NO6X.js} +30 -33
- package/dist/chunk/{K32NALIW.js → CBYVQ7YD.js} +3 -3
- package/dist/chunk/{2JSSDQEE.jsx → CC4VXMN5.jsx} +6 -6
- package/dist/chunk/{IYZ6XUM5.js → CXS7DDU2.js} +2 -2
- package/dist/chunk/{HWHAUHQ5.jsx → DGI75TEJ.jsx} +6 -6
- package/dist/chunk/{FDGWBBJ3.jsx → DYFALYJE.jsx} +4 -4
- package/dist/chunk/{RRFWSRAD.jsx → E54U43LI.jsx} +77 -14
- package/dist/chunk/{RVOPDSQY.js → EM5SH6A3.js} +12 -1
- package/dist/chunk/{6UXNGS66.jsx → EQKTJ63X.jsx} +1 -1
- package/dist/chunk/{OVPRCDDL.jsx → ESQ2KC4M.jsx} +7 -6
- package/dist/chunk/{IGSOSLB3.jsx → G7XBXLRA.jsx} +6 -6
- package/dist/chunk/{XH4Y4U2G.jsx → GSOOONDM.jsx} +5 -5
- package/dist/chunk/{UOOMXEJO.jsx → GYKEGNPI.jsx} +5 -5
- package/dist/chunk/{CGW54HAQ.jsx → HDGILMRT.jsx} +4 -1
- package/dist/chunk/{WUBTAV2O.js → HFIUYKXK.js} +5 -5
- package/dist/chunk/{K3TLO6S6.js → HJJ6M6JE.js} +3 -3
- package/dist/chunk/{W7YDKZGP.js → HKJ2U4GE.js} +4 -4
- package/dist/chunk/{P7BXFWK5.js → HMG7R2BF.js} +40 -38
- package/dist/chunk/{JFOWNFC7.jsx → HOPBYFHD.jsx} +20 -3
- package/dist/chunk/{NZQO4OJP.jsx → HSKAUH3N.jsx} +16 -13
- package/dist/chunk/{JLPPHEZV.js → HUB2Z2WJ.js} +3 -3
- package/dist/chunk/{B7OY6YTK.js → IKIPTYFY.js} +3 -3
- package/dist/chunk/{XXP27BHC.jsx → IPJK2PWY.jsx} +5 -5
- package/dist/chunk/{O5M2FPMH.js → IRBAVIVZ.js} +5 -4
- package/dist/chunk/{23JPD2DE.js → J6D7JUCJ.js} +2 -5
- package/dist/chunk/{FW6EZLZL.js → JBLHW7IM.js} +4 -29
- package/dist/chunk/{HI7OENS5.js → JLP6NZTO.js} +29 -6
- package/dist/chunk/{TP32AKQX.js → JR3CTJ4R.js} +4 -4
- package/dist/chunk/KWLZPDF4.jsx +6 -0
- package/dist/chunk/{4EK6Z2KK.js → KXKOMCVA.js} +2 -2
- package/dist/chunk/{CGB5YI3F.jsx → LBXPKVCB.jsx} +1 -1
- package/dist/chunk/LRDE5RNI.js +239 -0
- package/dist/chunk/{XNAQLSZW.jsx → M2R7NELL.jsx} +5 -5
- package/dist/chunk/{DR7CHNBO.jsx → MLPK6MO2.jsx} +5 -5
- package/dist/chunk/{KEZ2WH2A.jsx → MU5CM6ZP.jsx} +5 -5
- package/dist/chunk/{HYQNCIWP.js → N2ACHFKW.js} +3 -3
- package/dist/chunk/NEU4F4NG.jsx +52 -0
- package/dist/chunk/NJVZNV63.js +121 -0
- package/dist/chunk/{W33NQFXF.js → NMS6DWX3.js} +5 -4
- package/dist/chunk/{UMVZZL45.js → NMYA3JZ5.js} +1 -1
- package/dist/chunk/{S7F5ETXJ.js → NTHXB7S3.js} +5 -4
- package/dist/chunk/{2P5Y3YCK.jsx → OEGORBLT.jsx} +1 -47
- package/dist/chunk/{QGXWXVZ5.js → ONLLL7WZ.js} +4 -4
- package/dist/chunk/{4A6UNZ4T.jsx → ONZ5KPSW.jsx} +5 -5
- package/dist/chunk/ORFQCCEF.js +7 -0
- package/dist/chunk/{AQ27SOWE.jsx → ORZMPJPC.jsx} +5 -5
- package/dist/chunk/{VVD4LKC6.jsx → OWH3LOUE.jsx} +4 -1
- package/dist/chunk/{MNZUELWU.jsx → P466TCYN.jsx} +9 -7
- package/dist/chunk/{NPSTVZUG.jsx → P7K6CA55.jsx} +7 -6
- package/dist/chunk/{YENHTIT6.js → PDHNW6SC.js} +5 -4
- package/dist/chunk/{Z4EBWHQF.js → PEIMGDXM.js} +4 -4
- package/dist/chunk/{JRY66LXS.jsx → PKRIUPWN.jsx} +6 -6
- package/dist/chunk/{7HLG62OR.jsx → PPH4D7AF.jsx} +7 -7
- package/dist/chunk/{3WOFDSWV.jsx → PSH3YKBU.jsx} +4 -4
- package/dist/chunk/{UXUJ2LD6.js → PSO6FY3T.js} +5 -4
- package/dist/chunk/{FXYVJXLF.jsx → PWV2MRRH.jsx} +5 -5
- package/dist/chunk/{2V2P2JZV.js → QC2RXUV4.js} +12 -9
- package/dist/chunk/{372PVMNT.js → QUQ6VBQO.js} +4 -4
- package/dist/chunk/{UTULIPW7.js → RDZRRODO.js} +4 -4
- package/dist/chunk/{2BFJIRAK.js → RJPVNWZG.js} +5 -4
- package/dist/chunk/{SYNEPEHD.js → RL5TZPAG.js} +3 -3
- package/dist/chunk/{VH6MDPEX.jsx → RNGP6PKE.jsx} +6 -6
- package/dist/chunk/{F7OI3RZ3.js → RSDHPGPT.js} +46 -19
- package/dist/chunk/RT4GKNE7.js +1 -0
- package/dist/chunk/{ORJXW4SC.jsx → RVP446XN.jsx} +38 -18
- package/dist/chunk/{GBGTOFYC.js → S3VN2YFH.js} +2 -2
- package/dist/chunk/{B434DN6B.js → SCCZRXWX.js} +3 -3
- package/dist/chunk/{CCK5XI24.jsx → SCJBXRUZ.jsx} +9 -7
- package/dist/chunk/{2MDYHAEL.js → SU6SNXFK.js} +7 -6
- package/dist/chunk/{SH4J3NPA.jsx → TD72MSSI.jsx} +5 -5
- package/dist/chunk/{QTWOIUHU.jsx → TG3BV4FJ.jsx} +9 -9
- package/dist/chunk/{IEJ4RWIV.jsx → TPTP4FRI.jsx} +9 -7
- package/dist/chunk/{5RT2MFUK.jsx → TYHUUGLH.jsx} +3 -3
- package/dist/chunk/{WT5KEZUJ.js → UJ4FU6HV.js} +8 -12
- package/dist/chunk/{VIKFXGE5.jsx → V62PHVT3.jsx} +6 -6
- package/dist/chunk/{LNZGGTI5.js → VIERJSCF.js} +4 -4
- package/dist/chunk/{HCQSZULR.js → WGHZEJIT.js} +6 -5
- package/dist/chunk/{FDE3GI6Q.js → WLWKI62C.js} +6 -5
- package/dist/chunk/{RSWPJEWK.js → WTS7KK6L.js} +4 -4
- package/dist/chunk/{GCQCOMQH.js → WX3PPB36.js} +3 -3
- package/dist/chunk/{LQGHLGPW.jsx → WZBYH43M.jsx} +1 -1
- package/dist/chunk/X22PRPOR.js +31 -0
- package/dist/chunk/{JNBFQ7ZP.jsx → X63FZDID.jsx} +15 -13
- package/dist/chunk/{FKF6FOYL.jsx → XLKDWQZ2.jsx} +9 -7
- package/dist/chunk/{QARPXWDS.js → XNIXPFXJ.js} +2 -2
- package/dist/chunk/{HNIBOZUS.jsx → XRBGB3XP.jsx} +41 -11
- package/dist/chunk/XVU3GCCX.jsx +9 -0
- package/dist/chunk/{6HVSV6OM.js → YA3LD5QR.js} +1 -1
- package/dist/chunk/{CNHYYRWI.jsx → YLT3EBQZ.jsx} +9 -7
- package/dist/chunk/{7B5HD3HF.js → YVERN3NM.js} +3 -3
- package/dist/chunk/{2S7Z6JX4.jsx → YW4KS3S5.jsx} +6 -6
- package/dist/chunk/{52VYWTHF.js → YXEZ562D.js} +5 -5
- package/dist/chunk/{JEKNEIFC.jsx → Z253N6GA.jsx} +5 -5
- package/dist/chunk/{Z5L7ULFZ.js → ZJOFPTIM.js} +3 -3
- package/dist/chunk/{3ZDGZCBV.jsx → ZLSYUPYN.jsx} +15 -11
- package/dist/chunk/{J6B3R7PY.jsx → ZOCG4ZHL.jsx} +5 -5
- package/dist/{color-picker.anatomy-CMDtAoEh.d.ts → color-picker.anatomy-Dxw1DJ2S.d.ts} +1 -1
- package/dist/{combobox.anatomy-DBsVyPqM.d.ts → combobox.anatomy-5H6l0CJs.d.ts} +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +6 -6
- package/dist/components/anatomy.d.ts +10 -9
- package/dist/components/anatomy.js +20 -19
- package/dist/components/anatomy.jsx +58 -54
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/angle-slider/index.jsx +4 -4
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +4 -4
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.jsx +4 -4
- package/dist/components/checkbox/index.d.ts +5 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +7 -7
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/clipboard/index.jsx +4 -4
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +5 -5
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.jsx +9 -8
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.jsx +9 -8
- package/dist/components/date-picker/index.d.ts +50 -5
- package/dist/components/date-picker/index.js +2 -2
- package/dist/components/date-picker/index.jsx +14 -7
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +7 -6
- package/dist/components/download-trigger/index.js +1 -1
- package/dist/components/download-trigger/index.jsx +4 -4
- package/dist/components/drawer/index.d.ts +121 -0
- package/dist/components/drawer/index.js +2 -0
- package/dist/components/drawer/index.jsx +56 -0
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +7 -7
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +6 -6
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/fieldset/index.jsx +5 -5
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.jsx +7 -7
- package/dist/components/floating-panel/index.js +1 -1
- package/dist/components/floating-panel/index.jsx +7 -6
- package/dist/components/format/index.js +1 -1
- package/dist/components/format/index.jsx +4 -3
- package/dist/components/frame/index.js +1 -1
- package/dist/components/frame/index.jsx +4 -3
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/highlight/index.jsx +2 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +7 -6
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/image-cropper/index.jsx +4 -4
- package/dist/components/index.d.ts +16 -14
- package/dist/components/index.js +77 -74
- package/dist/components/index.jsx +582 -538
- package/dist/components/json-tree-view/index.d.ts +16 -13
- package/dist/components/json-tree-view/index.js +1 -1
- package/dist/components/json-tree-view/index.jsx +7 -7
- package/dist/components/listbox/index.d.ts +1 -1
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/index.jsx +4 -4
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/marquee/index.jsx +4 -4
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +7 -6
- package/dist/components/navigation-menu/index.d.ts +1 -1
- package/dist/components/navigation-menu/index.js +26 -20
- package/dist/components/navigation-menu/index.jsx +28 -15
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/index.jsx +7 -7
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.jsx +4 -4
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/index.jsx +7 -7
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/pin-input/index.jsx +7 -7
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +7 -6
- package/dist/components/presence/index.js +2 -1
- package/dist/components/presence/index.jsx +5 -3
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.jsx +4 -4
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/index.jsx +4 -4
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/index.jsx +6 -6
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/rating-group/index.jsx +7 -7
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/index.jsx +4 -4
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +4 -4
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.jsx +9 -8
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/signature-pad/index.jsx +7 -7
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.jsx +4 -4
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/splitter/index.jsx +4 -4
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.jsx +4 -4
- package/dist/components/swap/index.d.ts +74 -0
- package/dist/components/swap/index.js +2 -0
- package/dist/components/swap/index.jsx +28 -0
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.jsx +7 -7
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.jsx +7 -6
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/index.jsx +7 -7
- package/dist/components/timer/index.js +1 -1
- package/dist/components/timer/index.jsx +4 -4
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.jsx +4 -4
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle/index.jsx +1 -1
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/toggle-group/index.jsx +4 -4
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +7 -6
- package/dist/components/tour/index.d.ts +10 -4
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tour/index.jsx +17 -8
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/index.jsx +6 -6
- package/dist/date-picker.anatomy-DMDOrz3v.d.ts +5 -0
- package/dist/field.anatomy-BA_rbPae.d.ts +5 -0
- package/dist/{fieldset.anatomy-BHBXaVuM.d.ts → fieldset.anatomy-ByHwSFid.d.ts} +1 -1
- package/dist/index.d.ts +18 -15
- package/dist/index.js +79 -76
- package/dist/index.jsx +586 -540
- package/dist/{listbox.anatomy-CuSvGz29.d.ts → listbox.anatomy-ogRrsXMY.d.ts} +1 -1
- package/dist/providers/environment/index.js +1 -1
- package/dist/providers/environment/index.jsx +2 -1
- package/dist/providers/index.d.ts +3 -1
- package/dist/providers/index.js +2 -2
- package/dist/providers/index.jsx +5 -2
- package/dist/providers/locale/index.d.ts +10 -1
- package/dist/providers/locale/index.js +1 -1
- package/dist/providers/locale/index.jsx +4 -1
- package/dist/swap.anatomy-BTCTOTbL.d.ts +5 -0
- package/dist/{tour.anatomy-BwE3XSIU.d.ts → tour.anatomy-B2Ub0NWQ.d.ts} +1 -1
- package/package.json +81 -79
- package/dist/chunk/2R6SK2X3.js +0 -1
- package/dist/chunk/M3S2UEA7.js +0 -178
- package/dist/chunk/UOTT3RUB.jsx +0 -231
- package/dist/chunk/WMZBRARY.jsx +0 -6
- package/dist/components/bottom-sheet/index.d.ts +0 -92
- package/dist/components/bottom-sheet/index.js +0 -2
- package/dist/components/bottom-sheet/index.jsx +0 -45
- package/dist/date-picker.anatomy-C7QaSOwg.d.ts +0 -5
- package/dist/field.anatomy-BkeW0gbI.d.ts +0 -5
- /package/dist/chunk/{PJLQLDQ3.js → PMEYD5LG.js} +0 -0
- /package/dist/chunk/{EDXDNGEO.jsx → S6EAXNU4.jsx} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import {
|
|
4
|
-
import { useEnvironmentContext } from './
|
|
5
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
3
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
6
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
|
+
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
|
-
import { createComponent, mergeProps as mergeProps$1
|
|
9
|
+
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
10
10
|
import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
|
|
11
11
|
import * as signaturePad from '@zag-js/signature-pad';
|
|
12
12
|
import { For, Show, createUniqueId, createMemo } from 'solid-js';
|
|
@@ -98,38 +98,35 @@ var SignaturePadRootProvider = (props) => {
|
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
100
|
};
|
|
101
|
-
var _tmpl$ = /* @__PURE__ */ template(`<title>Signature`);
|
|
102
|
-
var _tmpl$2 = /* @__PURE__ */ template(`<svg><path></svg>`, false, true, false);
|
|
103
101
|
var SignaturePadSegment = (props) => {
|
|
104
102
|
const signaturePad2 = useSignaturePadContext();
|
|
105
103
|
const mergedProps = mergeProps(() => signaturePad2().getSegmentProps(), props);
|
|
106
|
-
return
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
104
|
+
return (
|
|
105
|
+
// biome-ignore lint/a11y/noSvgWithoutTitle: <ark.title> is used here
|
|
106
|
+
createComponent(ark.svg, mergeProps$1(mergedProps, {
|
|
107
|
+
get children() {
|
|
108
|
+
return [createComponent(ark.title, {
|
|
109
|
+
children: "Signature"
|
|
110
|
+
}), createComponent(For, {
|
|
111
|
+
get each() {
|
|
112
|
+
return signaturePad2().paths;
|
|
113
|
+
},
|
|
114
|
+
children: (path) => createComponent(ark.path, mergeProps$1(() => signaturePad2().getSegmentPathProps({
|
|
115
115
|
path
|
|
116
|
-
}))
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
})];
|
|
131
|
-
}
|
|
132
|
-
}));
|
|
116
|
+
})))
|
|
117
|
+
}), createComponent(Show, {
|
|
118
|
+
get when() {
|
|
119
|
+
return signaturePad2().currentPath;
|
|
120
|
+
},
|
|
121
|
+
get children() {
|
|
122
|
+
return createComponent(ark.path, mergeProps$1(() => signaturePad2().getSegmentPathProps({
|
|
123
|
+
path: signaturePad2().currentPath
|
|
124
|
+
})));
|
|
125
|
+
}
|
|
126
|
+
})];
|
|
127
|
+
}
|
|
128
|
+
}))
|
|
129
|
+
);
|
|
133
130
|
};
|
|
134
131
|
|
|
135
132
|
// src/components/signature-pad/signature-pad.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
|
-
import {
|
|
3
|
-
import { useEnvironmentContext } from './
|
|
4
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
2
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
3
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
5
4
|
import { runIfFn } from './DT73WLR4.js';
|
|
5
|
+
import { ark } from './EPLBB4QN.js';
|
|
6
6
|
import { createContext } from './THN5C4U6.js';
|
|
7
7
|
import { __export } from './ESLJRKWD.js';
|
|
8
8
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldsetContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./AIK4SKXT.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
ark
|
|
9
|
-
} from "./UFYZ7HLU.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
16
13
|
import {
|
|
17
14
|
runIfFn
|
|
18
15
|
} from "./KGOB2IMX.jsx";
|
|
16
|
+
import {
|
|
17
|
+
ark
|
|
18
|
+
} from "./UFYZ7HLU.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
|
-
import {
|
|
3
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
2
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
4
3
|
import { runIfFn } from './DT73WLR4.js';
|
|
4
|
+
import { ark } from './EPLBB4QN.js';
|
|
5
5
|
import { createContext } from './THN5C4U6.js';
|
|
6
6
|
import { __export } from './ESLJRKWD.js';
|
|
7
7
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./GYKEGNPI.jsx";
|
|
4
4
|
import {
|
|
5
5
|
RenderStrategyProvider,
|
|
6
6
|
splitRenderStrategyProps,
|
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
createSplitProps
|
|
11
11
|
} from "./6WEDGJKQ.jsx";
|
|
12
|
-
import {
|
|
13
|
-
ark
|
|
14
|
-
} from "./UFYZ7HLU.jsx";
|
|
15
12
|
import {
|
|
16
13
|
useEnvironmentContext
|
|
17
|
-
} from "./
|
|
14
|
+
} from "./HDGILMRT.jsx";
|
|
18
15
|
import {
|
|
19
16
|
useLocaleContext
|
|
20
|
-
} from "./
|
|
17
|
+
} from "./HOPBYFHD.jsx";
|
|
21
18
|
import {
|
|
22
19
|
runIfFn
|
|
23
20
|
} from "./KGOB2IMX.jsx";
|
|
21
|
+
import {
|
|
22
|
+
ark
|
|
23
|
+
} from "./UFYZ7HLU.jsx";
|
|
24
24
|
import {
|
|
25
25
|
createContext
|
|
26
26
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSplitProps
|
|
3
3
|
} from "./6WEDGJKQ.jsx";
|
|
4
|
-
import {
|
|
5
|
-
ark
|
|
6
|
-
} from "./UFYZ7HLU.jsx";
|
|
7
4
|
import {
|
|
8
5
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./HDGILMRT.jsx";
|
|
10
7
|
import {
|
|
11
8
|
runIfFn
|
|
12
9
|
} from "./KGOB2IMX.jsx";
|
|
10
|
+
import {
|
|
11
|
+
ark
|
|
12
|
+
} from "./UFYZ7HLU.jsx";
|
|
13
13
|
import {
|
|
14
14
|
createContext
|
|
15
15
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
datePickerAnatomy
|
|
3
|
-
} from "./6UXNGS66.jsx";
|
|
4
1
|
import {
|
|
5
2
|
PresenceProvider,
|
|
6
3
|
splitPresenceProps,
|
|
7
|
-
usePresence,
|
|
8
4
|
usePresenceContext
|
|
9
|
-
} from "./
|
|
5
|
+
} from "./NEU4F4NG.jsx";
|
|
6
|
+
import {
|
|
7
|
+
usePresence
|
|
8
|
+
} from "./OEGORBLT.jsx";
|
|
10
9
|
import {
|
|
11
10
|
composeRefs
|
|
12
11
|
} from "./PT2CJE3O.jsx";
|
|
12
|
+
import {
|
|
13
|
+
datePickerAnatomy
|
|
14
|
+
} from "./EQKTJ63X.jsx";
|
|
13
15
|
import {
|
|
14
16
|
createSplitProps
|
|
15
17
|
} from "./6WEDGJKQ.jsx";
|
|
16
|
-
import {
|
|
17
|
-
ark
|
|
18
|
-
} from "./UFYZ7HLU.jsx";
|
|
19
18
|
import {
|
|
20
19
|
useEnvironmentContext
|
|
21
|
-
} from "./
|
|
20
|
+
} from "./HDGILMRT.jsx";
|
|
22
21
|
import {
|
|
23
22
|
useLocaleContext
|
|
24
|
-
} from "./
|
|
23
|
+
} from "./HOPBYFHD.jsx";
|
|
25
24
|
import {
|
|
26
25
|
runIfFn
|
|
27
26
|
} from "./KGOB2IMX.jsx";
|
|
27
|
+
import {
|
|
28
|
+
ark
|
|
29
|
+
} from "./UFYZ7HLU.jsx";
|
|
28
30
|
import {
|
|
29
31
|
createContext
|
|
30
32
|
} from "./UZJJWJQM.jsx";
|
|
@@ -102,7 +104,9 @@ var DatePickerMonthSelect = (props) => {
|
|
|
102
104
|
const datePicker2 = useDatePickerContext();
|
|
103
105
|
const mergedProps = mergeProps6(() => datePicker2().getMonthSelectProps(), props);
|
|
104
106
|
return <ark.select {...mergedProps}>
|
|
105
|
-
<Index each={datePicker2().getMonths()}>
|
|
107
|
+
<Index each={datePicker2().getMonths()}>
|
|
108
|
+
{(month) => <ark.option value={month().value}>{month().label}</ark.option>}
|
|
109
|
+
</Index>
|
|
106
110
|
</ark.select>;
|
|
107
111
|
};
|
|
108
112
|
|
|
@@ -169,6 +173,34 @@ var DatePickerRangeText = (props) => {
|
|
|
169
173
|
return <ark.div {...mergedProps}>{visibleRangeText()}</ark.div>;
|
|
170
174
|
};
|
|
171
175
|
|
|
176
|
+
// src/components/date-picker/date-picker-value-text.tsx
|
|
177
|
+
import { For, Show as Show3 } from "solid-js";
|
|
178
|
+
var DatePickerValueText = (props) => {
|
|
179
|
+
const api = useDatePickerContext();
|
|
180
|
+
const hasValue = () => api().value.length > 0;
|
|
181
|
+
return <Show3
|
|
182
|
+
when={typeof props.children === "function"}
|
|
183
|
+
fallback={<ark.span {...datePickerAnatomy.build().valueText.attrs} {...props}>
|
|
184
|
+
{hasValue() ? api().valueAsString.join(props.separator ?? ", ") : props.placeholder}
|
|
185
|
+
</ark.span>}
|
|
186
|
+
>
|
|
187
|
+
<Show3 when={hasValue()} fallback={props.placeholder}>
|
|
188
|
+
<For each={api().value}>
|
|
189
|
+
{(value, index) => <>
|
|
190
|
+
{props.children({
|
|
191
|
+
value,
|
|
192
|
+
index: index(),
|
|
193
|
+
valueAsString: api().valueAsString[index()],
|
|
194
|
+
remove: () => {
|
|
195
|
+
api().setValue(api().value.filter((_, i) => i !== index()));
|
|
196
|
+
}
|
|
197
|
+
})}
|
|
198
|
+
</>}
|
|
199
|
+
</For>
|
|
200
|
+
</Show3>
|
|
201
|
+
</Show3>;
|
|
202
|
+
};
|
|
203
|
+
|
|
172
204
|
// src/components/date-picker/date-picker-root.tsx
|
|
173
205
|
import { mergeProps as mergeProps12 } from "@zag-js/solid";
|
|
174
206
|
|
|
@@ -211,6 +243,7 @@ var DatePickerRoot = (props) => {
|
|
|
211
243
|
"isDateUnavailable",
|
|
212
244
|
"locale",
|
|
213
245
|
"max",
|
|
246
|
+
"maxSelectedDates",
|
|
214
247
|
"maxView",
|
|
215
248
|
"min",
|
|
216
249
|
"minView",
|
|
@@ -220,7 +253,9 @@ var DatePickerRoot = (props) => {
|
|
|
220
253
|
"onOpenChange",
|
|
221
254
|
"onValueChange",
|
|
222
255
|
"onViewChange",
|
|
256
|
+
"onVisibleRangeChange",
|
|
223
257
|
"open",
|
|
258
|
+
"openOnClick",
|
|
224
259
|
"outsideDaySelectable",
|
|
225
260
|
"parse",
|
|
226
261
|
"placeholder",
|
|
@@ -228,6 +263,7 @@ var DatePickerRoot = (props) => {
|
|
|
228
263
|
"readOnly",
|
|
229
264
|
"required",
|
|
230
265
|
"selectionMode",
|
|
266
|
+
"showWeekNumbers",
|
|
231
267
|
"startOfWeek",
|
|
232
268
|
"timeZone",
|
|
233
269
|
"translations",
|
|
@@ -409,14 +445,35 @@ var DatePickerViewTrigger = (props) => {
|
|
|
409
445
|
return <ark.button {...mergedProps} />;
|
|
410
446
|
};
|
|
411
447
|
|
|
412
|
-
// src/components/date-picker/date-picker-
|
|
448
|
+
// src/components/date-picker/date-picker-week-number-cell.tsx
|
|
413
449
|
import { mergeProps as mergeProps25 } from "@zag-js/solid";
|
|
450
|
+
var splitWeekNumberCellProps = createSplitProps();
|
|
451
|
+
var DatePickerWeekNumberCell = (props) => {
|
|
452
|
+
const [cellProps, localProps] = splitWeekNumberCellProps(props, ["weekIndex", "week"]);
|
|
453
|
+
const datePicker2 = useDatePickerContext();
|
|
454
|
+
const mergedProps = mergeProps25(() => datePicker2().getWeekNumberCellProps(cellProps), localProps);
|
|
455
|
+
return <ark.td {...mergedProps} />;
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
// src/components/date-picker/date-picker-week-number-header-cell.tsx
|
|
459
|
+
import { mergeProps as mergeProps26 } from "@zag-js/solid";
|
|
460
|
+
var DatePickerWeekNumberHeaderCell = (props) => {
|
|
461
|
+
const api = useDatePickerContext();
|
|
462
|
+
const tableProps = useDatePickerTableContext();
|
|
463
|
+
const mergedProps = mergeProps26(() => api().getWeekNumberHeaderCellProps(tableProps), props);
|
|
464
|
+
return <ark.th {...mergedProps} />;
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
// src/components/date-picker/date-picker-year-select.tsx
|
|
468
|
+
import { mergeProps as mergeProps27 } from "@zag-js/solid";
|
|
414
469
|
import { Index as Index2 } from "solid-js";
|
|
415
470
|
var DatePickerYearSelect = (props) => {
|
|
416
471
|
const datePicker2 = useDatePickerContext();
|
|
417
|
-
const mergedProps =
|
|
472
|
+
const mergedProps = mergeProps27(() => datePicker2().getYearSelectProps(), props);
|
|
418
473
|
return <ark.select {...mergedProps}>
|
|
419
|
-
<Index2 each={datePicker2().getYears()}>
|
|
474
|
+
<Index2 each={datePicker2().getYears()}>
|
|
475
|
+
{(year) => <ark.option value={year().value}>{year().label}</ark.option>}
|
|
476
|
+
</Index2>
|
|
420
477
|
</ark.select>;
|
|
421
478
|
};
|
|
422
479
|
|
|
@@ -445,9 +502,12 @@ __export(date_picker_exports, {
|
|
|
445
502
|
TableHeader: () => DatePickerTableHeader,
|
|
446
503
|
TableRow: () => DatePickerTableRow,
|
|
447
504
|
Trigger: () => DatePickerTrigger,
|
|
505
|
+
ValueText: () => DatePickerValueText,
|
|
448
506
|
View: () => DatePickerView,
|
|
449
507
|
ViewControl: () => DatePickerViewControl,
|
|
450
508
|
ViewTrigger: () => DatePickerViewTrigger,
|
|
509
|
+
WeekNumberCell: () => DatePickerWeekNumberCell,
|
|
510
|
+
WeekNumberHeaderCell: () => DatePickerWeekNumberHeaderCell,
|
|
451
511
|
YearSelect: () => DatePickerYearSelect
|
|
452
512
|
});
|
|
453
513
|
|
|
@@ -465,6 +525,7 @@ export {
|
|
|
465
525
|
DatePickerPresetTrigger,
|
|
466
526
|
DatePickerPrevTrigger,
|
|
467
527
|
DatePickerRangeText,
|
|
528
|
+
DatePickerValueText,
|
|
468
529
|
useDatePicker,
|
|
469
530
|
DatePickerRoot,
|
|
470
531
|
DatePickerRootProvider,
|
|
@@ -479,6 +540,8 @@ export {
|
|
|
479
540
|
DatePickerView,
|
|
480
541
|
DatePickerViewControl,
|
|
481
542
|
DatePickerViewTrigger,
|
|
543
|
+
DatePickerWeekNumberCell,
|
|
544
|
+
DatePickerWeekNumberHeaderCell,
|
|
482
545
|
DatePickerYearSelect,
|
|
483
546
|
date_picker_exports,
|
|
484
547
|
parse
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { runIfFn } from './DT73WLR4.js';
|
|
1
2
|
import { createContext } from './THN5C4U6.js';
|
|
2
3
|
import { createComponent } from 'solid-js/web';
|
|
3
4
|
import { isRTL, createCollator, createFilter } from '@zag-js/i18n-utils';
|
|
4
5
|
import { createMemo } from 'solid-js';
|
|
6
|
+
import { DateFormatter } from '@internationalized/date';
|
|
5
7
|
|
|
6
8
|
// src/providers/locale/use-locale-context.ts
|
|
7
9
|
var [LocaleContextProvider, useLocaleContext] = createContext({
|
|
@@ -32,10 +34,19 @@ function useCollator(props = {}) {
|
|
|
32
34
|
return createCollator(locale(), options);
|
|
33
35
|
});
|
|
34
36
|
}
|
|
37
|
+
function useDateFormatter(props = {}) {
|
|
38
|
+
const env = useLocaleContext();
|
|
39
|
+
return createMemo(() => {
|
|
40
|
+
const resolvedProps = runIfFn(props);
|
|
41
|
+
const locale = resolvedProps.locale ?? env().locale;
|
|
42
|
+
const { locale: _, ...options } = resolvedProps;
|
|
43
|
+
return new DateFormatter(locale, options);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
35
46
|
function useFilter(props) {
|
|
36
47
|
const env = useLocaleContext();
|
|
37
48
|
const locale = createMemo(() => props.locale ?? env().locale);
|
|
38
49
|
return createMemo(() => createFilter({ ...props, locale: locale() }));
|
|
39
50
|
}
|
|
40
51
|
|
|
41
|
-
export { LocaleProvider, useCollator, useFilter, useLocaleContext };
|
|
52
|
+
export { LocaleProvider, useCollator, useDateFormatter, useFilter, useLocaleContext };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./PPH4D7AF.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
ark
|
|
9
|
-
} from "./UFYZ7HLU.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
16
13
|
import {
|
|
17
14
|
runIfFn
|
|
18
15
|
} from "./KGOB2IMX.jsx";
|
|
16
|
+
import {
|
|
17
|
+
ark
|
|
18
|
+
} from "./UFYZ7HLU.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./UZJJWJQM.jsx";
|
|
@@ -213,6 +213,7 @@ var FileUploadRoot = (props) => {
|
|
|
213
213
|
"onFileChange",
|
|
214
214
|
"onFileReject",
|
|
215
215
|
"preventDocumentDrop",
|
|
216
|
+
"readOnly",
|
|
216
217
|
"required",
|
|
217
218
|
"translations",
|
|
218
219
|
"transformFiles",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./PPH4D7AF.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
ark
|
|
9
|
-
} from "./UFYZ7HLU.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
16
13
|
import {
|
|
17
14
|
runIfFn
|
|
18
15
|
} from "./KGOB2IMX.jsx";
|
|
16
|
+
import {
|
|
17
|
+
ark
|
|
18
|
+
} from "./UFYZ7HLU.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./UZJJWJQM.jsx";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
ark
|
|
9
|
-
} from "./UFYZ7HLU.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
16
13
|
import {
|
|
17
14
|
runIfFn
|
|
18
15
|
} from "./KGOB2IMX.jsx";
|
|
16
|
+
import {
|
|
17
|
+
ark
|
|
18
|
+
} from "./UFYZ7HLU.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./UZJJWJQM.jsx";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
ark
|
|
9
|
-
} from "./UFYZ7HLU.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
16
13
|
import {
|
|
17
14
|
runIfFn
|
|
18
15
|
} from "./KGOB2IMX.jsx";
|
|
16
|
+
import {
|
|
17
|
+
ark
|
|
18
|
+
} from "./UFYZ7HLU.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runIfFn
|
|
3
3
|
} from "./KGOB2IMX.jsx";
|
|
4
|
+
import {
|
|
5
|
+
ark
|
|
6
|
+
} from "./UFYZ7HLU.jsx";
|
|
4
7
|
import {
|
|
5
8
|
createContext
|
|
6
9
|
} from "./UZJJWJQM.jsx";
|
|
@@ -33,7 +36,7 @@ var EnvironmentProvider = (props) => {
|
|
|
33
36
|
return <EnvironmentContextProvider value={environment}>
|
|
34
37
|
{props.children}
|
|
35
38
|
<Show when={!props.value}>
|
|
36
|
-
<span hidden ref={setSpanRef} />
|
|
39
|
+
<ark.span hidden ref={setSpanRef} />
|
|
37
40
|
</Show>
|
|
38
41
|
</EnvironmentContextProvider>;
|
|
39
42
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import {
|
|
4
|
-
import { useEnvironmentContext } from './
|
|
5
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
3
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
6
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
|
+
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
9
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -167,7 +167,7 @@ var useFileUpload = (props) => {
|
|
|
167
167
|
|
|
168
168
|
// src/components/file-upload/file-upload-root.tsx
|
|
169
169
|
var FileUploadRoot = (props) => {
|
|
170
|
-
const [fileUploadProps, localProps] = createSplitProps()(props, ["accept", "acceptedFiles", "allowDrop", "capture", "defaultAcceptedFiles", "directory", "disabled", "id", "ids", "invalid", "locale", "maxFiles", "maxFileSize", "minFileSize", "name", "onFileAccept", "onFileChange", "onFileReject", "preventDocumentDrop", "required", "translations", "transformFiles", "validate"]);
|
|
170
|
+
const [fileUploadProps, localProps] = createSplitProps()(props, ["accept", "acceptedFiles", "allowDrop", "capture", "defaultAcceptedFiles", "directory", "disabled", "id", "ids", "invalid", "locale", "maxFiles", "maxFileSize", "minFileSize", "name", "onFileAccept", "onFileChange", "onFileReject", "preventDocumentDrop", "readOnly", "required", "translations", "transformFiles", "validate"]);
|
|
171
171
|
const fileUpload2 = useFileUpload(fileUploadProps);
|
|
172
172
|
const mergedProps = mergeProps(() => fileUpload2().getRootProps(), localProps);
|
|
173
173
|
return createComponent(FileUploadProvider, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { parts } from './JHQYEBNS.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import {
|
|
4
|
-
import { useEnvironmentContext } from './
|
|
5
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
3
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
6
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
|
+
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
9
|
import { createComponent } from 'solid-js/web';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import {
|
|
4
|
-
import { useEnvironmentContext } from './
|
|
5
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
3
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
6
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
|
+
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
9
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|